ChangeLog 445 KB
Newer Older
1 2 3 4
2005-10-04  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: small optimization by Tobias Lenz.

5 6 7 8 9
2005-10-03  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppainttool.c (gimp_paint_tool_color_picked):
	fix compile warning by adding default: for unused enum values.

10 11 12 13 14 15 16 17 18 19 20 21 22
2005-10-03  Bill Skaggs <weskaggs@primate.ucdavis.edu>

	* gimp/app/paint/gimpbrushcore.c
	* gimp/app/paint/gimpbrushcore.h
	* gimp/app/paint/gimpclone.c
	* gimp/app/paint/gimppaintbrush.c
	* gimp/app/paint/gimppaintoptions.c
	* gimp/app/paint/gimppaintoptions.h
	* gimp/app/tools/gimppaintoptions-gui.c: Apply patch from
	Adrian Likins to add "jitter" to paint tools (bug #163049),
	with small fixes for coding style and default jitter set
	to 0.2 instead of 0.0.
	
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
2005-10-02  DindinX  <dindinx@gimp.org>

	* libgimp/gimpzoompreview.[ch]: added a new function:
	gimp_zoom_preview_get_factor(), which is a proxy to get the zoom
	factor of the zoom model used by the zoom preview.
	Also renamed the zoom field of the private data of gimpzoompreview to
	model, since it is a gimpzoommodel.

	* libgimp/gimpui.def: added gimp_zoom_preview_get_factor.

	* plug-ins/common/nova.c: use gimp_zoom_preview_get_factor to
	correctly handle the position of the nova at various zoom level.
	There still are problems if there is a selection before when running
	this plugin.

38 39 40 41 42 43
2005-10-02  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpbezierstroke.c: fixed the bogus snaps. One
	should not calculate tangents for points beyond the end of the
	array...

Simon Budig's avatar
Simon Budig committed
44 45
	Don't leak lots of g_arrays...

46 47 48 49 50 51 52 53 54
2005-10-02  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpbezierstroke.c: a segment doesn't necessarily
	have a matching tangent. Check for this when iterating over all
	segments of a path...

	* app/vectors/gimpstroke.c: fix the dispatch of
	_nearest_intersection_get().

55 56 57 58 59
2005-10-02  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpbezierstroke.c: correctly pass back the
	nearest coordinate. Snapping sortof works.

Simon Budig's avatar
Simon Budig committed
60 61 62 63 64 65 66 67 68 69
2005-10-02  Simon Budig  <simon@gimp.org>

	* app/core/gimpcoords.c: use ABS instead of fabs.

	* app/core/gimpimage-snap.c: Use proper default values for the
	coordinates.

	* app/vectors/gimpbezierstroke.c: Fix a bug plus add some debug
	output. For some reason does not snap yet.

70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
2005-10-02  Sven Neumann  <sven@gimp.org>

	* app/file/file-utils.[ch]: introduced variants of
	file_utils_uri_to_utf8_filename() and
	file_utils_uri_to_utf8_basename() that use g_filename_display_name()
	and g_filename_display_basename().

	* app/actions/data-commands.c
	* app/actions/documents-commands.c
	* app/actions/file-actions.c
	* app/actions/file-commands.c
	* app/core/gimpimage.c
	* app/core/gimpimagefile.c
	* app/dialogs/file-open-dialog.c
	* app/dialogs/file-open-location-dialog.c
	* app/dialogs/file-save-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/display/gimpdisplayshell-close.c
	* app/display/gimpdisplayshell-dnd.c
	* app/display/gimpdisplayshell-title.c
	* app/file/file-open.c
	* app/widgets/gimpdnd-xds.c
	* app/widgets/gimpfiledialog.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpthumbbox.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimpviewabledialog.c: use the new functions.

	* plug-ins/help/domain.c: use g_filename_display_name().

Michael Natterer's avatar
Michael Natterer committed
101 102 103 104
2005-10-01  Michael Natterer  <mitch@gimp.org>

	* app/sanity.c (sanity_check_glib): we require 2.8.0 now.

105 106 107 108 109 110 111 112 113 114 115 116 117
2005-10-01  DindinX  <dindinx@gimp.org>

	* libgimpwidgets/gimpwidgetsmarshal.list: added VOID__DOUBLE_DOUBLE
	marshaller.

	* libgimpwidgets/gimpzoommodel.[ch]: new signal: "zoomed", emitted
	when the zoom factor changes.  This signal have the old factor and the
	new factor as argument.

	* libgimp/gimpzoompreview.c: use the "zoomed" signal instead of the
	"notify::value" one. This allow to use the old and new factors to keep
	the preview centered on the same point.

118 119 120 121 122 123
2005-10-01  DindinX  <dindinx@gimp.org>

	* libgimp/gimpzoompreview.c: call gtk_adjustment_value_changed in
	addition to gtk_adjustment_changed, so the offsets are correctly
	updated.

124 125 126 127 128 129 130 131 132
2005-09-30  Manish Singh  <yosh@gimp.org>

	* plug-ins/pygimp/pygimp-pdb.c (pf_call): use canonical name for
	run-mode.

	* plug-ins/pygimp/plug-ins/clothify.py
	* plug-ins/pygimp/plug-ins/foggify.py: revert the below, since
	we eat the run-mode parameter again.

133 134 135
2005-09-30  Carol Spears  <carol@gimp.org>

	* plug-ins/pygimp/plug-ins/clothify.py  
136 137
	* plug-ins/pygimp/plug-ins/foggify.py: Added run_mode parameter.

138 139 140 141 142 143 144 145 146 147 148 149 150
2005-10-01  Simon Budig  <simon@gimp.org>

	* app/core/gimpcoords.[ch]: Added small utility function for the
	manhattan metric.

	* app/vectors/gimpstroke.[ch]: virtualized stubs provided by mitch

	* app/vectors/gimpbezierstroke.c: Reworked some internal functions
	to make it easier to access the parameters for the coordinates of an
	stroke interpolation. Simplified the straight line test. Added an
	implementation of the _nearest_tangent_get () function that does
	not yet seem to work properly. Not sure where the problem is.

151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* app/actions/image-commands.c
	* app/actions/layers-commands.c
	* app/actions/view-actions.c
	* app/core/gimpdrawable-foreground-extract.c
	* app/core/gimpimagefile.c
	* app/core/gimpprogress.c
	* app/dialogs/convert-dialog.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimptransformtool.c
	* app/widgets/gimpthumbbox.c
	* tools/pdbgen/pdb/drawable_transform.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: removed '...' from
	progress messages. Removed spaces between the text and the '...'
	in some other places.

	* app/pdb/drawable_transform_cmds.c
	* app/pdb/edit_cmds.c
	* app/pdb/transform_tools_cmds.c: regenerated.

177 178 179 180 181
2005-09-30  Carol Spears  <carol@gimp.org>

	* plug-ins/pygimp/gimpfu.py: removed code that limited plug-in 
        registration.

182 183 184 185 186 187 188
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* app/vectors/gimpstroke.[ch]: added stubs of two new snapping
	functions.

	* app/core/gimpimage-snap.c: removed their #defines here.

189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
2005-09-30  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]
	* libgimpbase/gimpbaseenums.[ch]: moved GimpGridStyle enum to
	libgimpbase.

	* app/core/gimpimage-grid.h: indentation.

	* app/pdb/Makefile.am
	* libgimp/Makefile.am
	* tools/pdbgen/Makefile.am
	* tools/pdbgen/pdb/grid.pdb: applied slightly modified patch by
	Sylvain FORET that adds a PDB API for the image grid.

	* app/pdb/grid_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpenums.c.tail
	* libgimp/gimpgrid_pdb.[ch]
	* tools/pdbgen/enums.pl
	* tools/pdbgen/groups.pl: (re)generated.

	* libgimp/gimp.def
	* libgimpbase/gimpbase.def: updated.

214 215 216 217 218
2005-09-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gbr.c (save_image): handle RGB drawables and
	implicitely add the alpha channel.

219 220 221 222 223 224
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* app/actions/dialogs-actions.c (dialogs_toplevel_actions): use
	GIMP_STOCK_CHAR_PICKER for the keyboard shortcuts dialog. Not
	quite right but at least greppable when we have a proper icon.

225 226 227 228 229
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/dialog.c: removed forgotten foreign registration of
	"gimp-keyboard-shortcuts-dialog".

230 231 232 233 234 235 236
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*/*.c: removed '...' from progress messages. They are
	redundant because we are already in a progress. Ported some more
	g_strdup_printf()/gimp_progress_init() to
	gimp_progress_init_printf(). Core will follow...

237 238 239 240 241 242 243 244
2005-09-29  Manish Singh  <yosh@gimp.org>

	* plug-ins/uri/uri-backend-wget.c: Finish porting to new progress
	API (and make it build).

	* plug-ins/uri/uri-backend-gnomevfs.c: Convert a g_strdup_printf
	gimp_progress_set_text pair to gimp_progress_set_text_printf.

245 246 247 248 249 250 251 252 253 254 255 256 257
2005-09-30  Sven Neumann  <sven@gimp.org>

	* app/actions/dialogs-actions.c
	* app/dialogs/dialogs-constructors.[ch]
	* app/dialogs/dialogs.c
	* app/dialogs/keyboard-shortcuts-dialog.[ch]: register the keyboard
	shortcut dialog with the dialog factory as singleton toplevel dialog.

	* app/dialogs/preferences-dialog.c: changed accordingly.

	* menus/image-menu.xml.in: added a "Keyboard Shortcuts" entry to
	the Edit menu.

258 259 260 261 262 263 264 265
2005-09-30  Sven Neumann  <sven@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/keyboard-shortcuts-dialog.[ch]
	* app/dialogs/preferences-dialog.c
	* app/widgets/gimphelp-ids.h: moved Keyboard Shortcuts dialog into
	it's own file.

Akkana Peck's avatar
Akkana Peck committed
266 267 268 269 270 271
2005-09-29  Akkana Peck  <akkana@cvs.gnome.org>

	* plug-ins/common/autocrop.c:
	It was cropping too much, eliminating the first non-background
	row/column on each edge.

272 273 274 275 276 277 278
2005-09-29  Sven Neumann  <sven@gimp.org>

	* app/base/tile-cache.c
	* app/base/tile-manager.c
	* app/base/tile-private.h
	* app/base/tile-swap.c
	* app/base/tile.c: keep the data size of a tile in the Tile struct
Sven Neumann's avatar
Sven Neumann committed
279 280
	instead of recalculating it over and over again. Adds an overhead
	of 4 bytes per tile but speeds up the tile cache significantly.
281

Sven Neumann's avatar
Sven Neumann committed
282 283 284 285
2005-09-29  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: optimizations by Tobias Lenz.

286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
2005-09-29  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/progress.pdb: removed the "wrap" from
	gimp_progress_set_text() so it shows up as libgimp function again.

	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* libgimp/gimpprogress.[ch]: changed the old
	gimp_progress_set_text() to gimp_progress_set_text_printf() and
	added gimp_progress_init_printf(). (did this because the method of
	calling init(NULL) followed by set_text("foo") caused popup
	progress windows to be resized after they were shown).

	* libgimp/gimp.def: changed accordingly.

	* plug-ins/*/*.c: use gimp_progress_init_printf() instead of
	init(NULL) plus set_text(foo) and changed users of set_text() to
	use set_text_printf().	

305 306 307 308 309
2005-09-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: removed the frame
	around the progress bar.

310 311
2005-09-29  Akkana Peck  <akkana@cvs.gnome.org>

312
	* plug-ins/common/zealouscrop.c:
313 314
	Update every 20 steps, instead of 19 out of every 20.

315 316 317 318 319 320
2005-09-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c
	(script_fu_browse_callback): don't set the procedure browser
	transient to the script-fu console.

321 322 323 324 325 326 327 328 329
2005-09-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpprogressbox.c
	* plug-ins/script-fu/script-fu-interface.c: made progress bars HIG
	compliant (with italic label below).

	* app/widgets/gimpfiledialog.[ch]: use a GimpProgressBox intead of
	implementing the progress bar again.

330 331 332 333 334 335
2005-09-28  Michael Natterer  <mitch@gimp.org>

	* app/actions/dialogs-actions.c (dialogs_dockable_actions): fixed
	action parameter to match both the palette list and grid.
	Fixes bug #317435.

336 337 338 339 340
2005-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpscanner.c (gimp_scanner_new_file): mmap the
	config file using GMappedFile. Let's see how well this works...

341 342 343 344 345 346 347 348
2005-08-28  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/chrome-it.scm: Removed extraneous -
	in register block left when script was renamed.

	* plug-ins/script-fu/scripts/text-circle.scm: Fixed minor errors
	in comments.

Tor Lillqvist's avatar
Tor Lillqvist committed
349 350 351 352
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* libgimp/gimp.def: Fix typo.

353 354 355 356 357
2005-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gqbist.c: use a single random number generator
	for the lifetime of the plug-in. Fixes bug #317355.

358 359 360 361 362 363 364 365
2005-09-28  Sven Neumann  <sven@gimp.org>

	* docs/Makefile.am
	* docs/keybindings.txt
	* docs/quick_reference.ps
	* docs/quick_reference.tar.gz: removed outdated documentation that
	is now being maintained in the user manual (bug #316423).

366 367 368 369 370 371
2005-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpscrolledpreview.c
	(gimp_scrolled_preview_nav_popup_expose): draw the rectangle
	according to the scrollbar adjustments.

372 373 374 375 376 377 378
2005-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpscrolledpreview.[ch]
	(gimp_scrolled_preview_set_position): must not set the adjustment
	value directly. Instead make sure that the scrollbar adjustments
	are uptodate and use gtk_adjustment_set_value().

379 380 381 382 383 384 385 386 387 388 389 390 391 392
2005-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: renamed newly added function to
	gimp_preview_get_controls(). Increased row padding for controls.

	* libgimpwidgets/gimpwidgets.def
	* libgimp/gimpzoompreview.c: changed accordingly.

	* libgimpbase/gimputils.c (gimp_enum_get_value): ref the enum
	class instead of only peeking at it.

	* libgimpwidgets/gimpzoommodel.c (gimp_zoom_button_new): set a
	tooltip on zoom buttons that only show an icon.

393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408
2005-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: added a hbox to the table and
	the "Update Preview" checkbutton there. Added a function to access
	this control box. Increased default size to 200.

	* libgimpwidgets/gimpscrolledpreview.[ch]: added function
	gimp_scrolled_preview_set_policy() to control when the scrollbars
	should be shown.

	* libgimpwidgets/gimpwidgets.def: updated.

	* libgimp/gimpzoompreview.c: pack the zoom buttons into the
	preview's control box. Commented out the label, it shows a bogus
	zoom factor. Set scrollbar policy to ALWAYS to avoid resizing.

409 410 411 412 413
2005-09-28  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogrameditor.[ch]: do not calculate the
	histogram if the histogram dock is invisible.

414 415 416
2005-09-28  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs-generic.h (swap_pixels): replaced
417 418 419 420 421
	binary operations with a naive but faster implementation using a
	local variable.

	* app/composite/gimp-composite-generic.c
	(gimp_composite_swap_any_any_any_generic): same change here.
422

423 424 425 426
2005-09-27  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: minor code cleanups by Tobias Lenz.

427 428 429 430 431 432 433 434 435 436 437 438 439 440 441
2005-09-27  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpintcombobox.c: document how to construct an
	empty GimpIntComboBox using g_object_new().

	* plug-ins/common/aa.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/gflare/gflare.c
	* plug-ins/pagecurl/pagecurl.c: use g_object_new() to construct an
	empty GimpIntComboBox. The old way of doing it caused warnings.

442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459
2005-09-27  Michael Natterer  <mitch@gimp.org>

	* app/actions/data-commands.c
	* app/actions/file-commands.c
	* app/actions/templates-commands.c
	* app/dialogs/image-scale-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/vectors-options-dialog.c
	* app/tools/gimptexttool.c
	* libgimpwidgets/gimpcolorbutton.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/aa.c
	* plug-ins/gimpressionist/orientmap.c
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/xjt/xjt.c: fixed indentation in calls to
	gtk_dialog_set_alternative_button_order().

460 461 462 463 464 465 466 467 468 469 470
2005-09-27  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/buffer.pdb: added gimp-buffers-get-list,
	should probably get its own PDB group.

	* libgimp/gimp.def: changed accordingly.

	* app/pdb/buffer_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpbuffer_pdb.[ch]: regenerated.

471 472 473 474 475 476 477 478 479 480 481 482 483 484
2005-09-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-gui.h
	* app/core/gimp-utils.h
	* app/core/gimpimage-undo.h
	* app/text/gimptextlayer.h
	* app/widgets/gimpeditor.h
	* app/widgets/gimpmenufactory.h
	* app/widgets/gimpmessagedialog.h
	* app/widgets/gimpsessioninfo.h
	* app/widgets/gimptooldialog.h
	* app/widgets/gimpviewabledialog.h: use G_GNUC_NULL_TERMINATED
	where appropriate.

485 486 487 488 489 490 491 492 493 494 495 496 497
2005-09-27  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocbrowserdialog.h
	* libgimpwidgets/gimpbrowser.h
	* libgimpwidgets/gimpdialog.h
	* libgimpwidgets/gimpintcombobox.h
	* libgimpwidgets/gimpoldwidgets.h
	* libgimpwidgets/gimpwidgets.h: use G_GNUC_NULL_TERMINATED where
	appropriate.

	* libgimp/gimpprocbrowserdialog.c
	* libgimpwidgets/gimpbrowser.c: added missing API docs.

498 499 500 501 502 503 504 505 506 507
2005-09-27  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocbrowserdialog.[ch]: let
	gimp_proc_browser_dialog_new() take standard dialog parameters,
	similar to gimp_dialog_new().

	* plug-ins/common/procedure-browser.c
	* plug-ins/pygimp/procbrowser.c
	* plug-ins/script-fu/script-fu-console.c: changed accordingly.

508 509 510 511 512
2005-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	use GTK_STOCK_ABOUT for the About button (bug #317339).

513 514 515 516 517 518 519 520 521 522 523 524
2005-09-27  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbuffer.[ch]: added gimp_buffer_get_bytes()
	and gimp_buffer_get_image_type().

	* tools/pdbgen/pdb/edit.pdb: removed edit_named_rename() and
	edit_named_delete().

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/buffer.pdb: new PDB group featuring
	buffer_rename(), delete(), get_width(), get_height(), get_bytes(),
525
	get_image_type(). Fixes bug #315130.
526 527 528 529 530 531 532 533 534 535 536 537

	* app/pdb/Makefile.am
	* libgimp/Makefile.am
	* libgimp/gimp.def: changed accordingly.

	* app/pdb/buffer_cmds.c
	* app/pdb/edit_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpbuffer_pdb.[ch]
	* libgimp/gimpedit_pdb.[ch]: (re)generated.

538 539 540 541 542
2005-09-27  DindinX  <dindinx@gimp.org>

	* libgimpwidgets/gimpzoommodel.c: zooming out more is zooming out
	three times, not zooming in. Fixes bug #155446.

543 544 545 546 547 548 549 550 551
2005-09-26  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_new): applied
	patch from Robert Ögren that works around problem creating guides
	with a tablet on Windows by enabling extension events for the
	rulers.  Fixes the first problem described in bug #168516.

	* configure.in: bumped version to 2.3.5.

Sven Neumann's avatar
Sven Neumann committed
552 553 554 555
2005-09-26  Sven Neumann  <sven@gimp.org>

	* Made 2.3.4 development release.

556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576
2005-09-26  Michael Natterer  <mitch@gimp.org>

	Allow to disable the color picker info dialog. Fixes bug #315011:

	* app/tools/tools-enums.[ch] (enum GimpColorPickerMode): added
	value GIMP_COLOR_PICK_MODE_PALETTE.

	* app/tools/gimpcolorpickeroptions.[ch]: deprecated property
	"add-to-palette" and added property "use-info-window". Changed
	tool options GUI accordingly.

	* app/tools/gimpcolorpickertool.c
	(gimp_color_picker_tool_modifier_key): made <shift> toggle
	the use-info-window property.

	(gimp_color_picker_tool_picked): moved palette picking code
	into the pick_mode switch() statement.

	* app/tools/gimpcolortool.c (gimp_color_tool_cursor_update):
	show a "plus" cursor when adding to the palette.

577 578 579 580 581
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	set "activates-default" on all entries.

582 583 584 585 586
2005-09-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: removed some frames
	from the Script-Fu dialogs.

Michael Natterer's avatar
Michael Natterer committed
587 588 589 590 591
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* app/actions/debug-commands.c (debug_dump_menus_cmd_callback)
	(debug_dump_menus_recurse_menu): resurrected.

592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620
2005-09-26  Michael Natterer  <mitch@gimp.org>

	Allow plug-ins to register menu entries in the <Brushes>,
	<Gradients>, <Palettes>, <Patterns> and <Fonts> menus:

	* app/actions/actions.c (action_data_get_gimp): return a Gimp
	also if "data" is a GimpContainerView or GimpContainerEditor.

	* app/gui/gui-vtable.c (gui_menus_add_proc)
	* app/plug-in/plug-in-params.c (plug_in_proc_args_check): support
	the new plug-in menu locations.

	* app/menus/menus.c (menus_init): add the "plug-in" action group
	to the resp. UI managers.

	* menus/brushes-menu.xml
	* menus/buffers-menu.xml
	* menus/fonts-menu.xml
	* menus/gradients-menu.xml
	* menus/palettes-menu.xml
	* menus/patterns-menu.xml: added separators at the end of the menus.

	* plug-ins/script-fu/scripts/font-map.scm: -> <Fonts>
	* plug-ins/script-fu/scripts/gradient-example.scm: -> <Gradients>
	* plug-ins/script-fu/scripts/mkbrush.scm: -> <Brushes>

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init): don't
	register the "Make Brush" menu branch.

621 622
2005-09-26  Sven Neumann  <sven@gimp.org>

623
	* tools/gimp-remote.c
624 625
	* tools/test-clipboard.c: use G_OPTION_FLAG_NO_ARG where needed.

626 627 628 629 630
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/paste-as-brush.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: cleanup.

631 632 633 634 635 636 637 638
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* app/actions/edit-actions.c: renamed action back to "Paste as
	New" and added a second action with the "New Image" label. The
	original label is needed for <Toolbox>/File/Acquire.

	* menus/image-menu.xml.in: changed accordingly.

639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-params.c (plug_in_proc_args_check): drop the
	restriction that plug-ins registered in <Image> must have
	RUN-MODE, IMAGE, DRAWABLE parameters because everything but
	RUN-MODE is actually treated as optional be the rest of the code.

	* plug-ins/script-fu/scripts/paste-as-brush.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: removed IMAGE
	and DRAWABLE parameters.

	* plug-ins/common/screenshot.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: register menu entries in
	<Image>/File/Acquire

Sven Neumann's avatar
Sven Neumann committed
655 656 657 658
2005-09-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gqbist.c: minor dialog tweak.

659 660 661 662 663 664 665 666 667 668 669 670
2005-09-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c
	* app/file/file-save.c
	* app/file/file-open.c: use g_access() from gstdio.h.

	* app/config/gimpconfig-file.c (gimp_config_file_copy)
	* libgimpthumb/gimpthumbnail.c: use g_chmod() from gstdio.h.

	* app/file/gimprecentlist.c
	* libgimpconfig/gimpconfigwriter.c: use g_creat() from gstdio.h.

671 672 673 674 675 676
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: added Colors/Modify placeholder.

	* plug-ins/common/vinvert.c: moved to Colors/Modify/Invert.

677 678 679 680 681
2005-09-26  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: bumped the required version of glib to 2.8.

682 683
	* app/main.c: use G_OPTION_FLAG_NO_ARG with callback options that
	take no argument. Fixes command-line options needed for 'make
684 685
	dist', such as '--dump-gimprc'

686 687 688 689 690 691 692 693 694
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/carve-it.scm
	* plug-ins/script-fu/scripts/chrome-it.scm: renamed to "Stencil Carve"
	and "Stencil Chrome" and moved to Filters/Decor.

	* plug-ins/script-fu/script-fu.c: don't register menu branches
	"Filters/Selection" and "Filters/Decor/Stencil Ops".

695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715
2005-09-25  Carol Spears  <carol@gimp.org>

	* plug-ins/common/max_rgb.c moved menu entry from Colors to
        Colors/Modify.

	* plug-ins/common/borderaverage.c moved menu entry from Colors to
        Colors/Info and added some vital information to the registration
        information.

	* plug-ins/common/channel_mixer.c moved menu entry from Colors to
        Colors/Modify.

	* plug-ins/common/colorify.c moved menu entry from Colors to
        Colors/Modify.

	* plug-ins/common/fp.c moved menu entry from Colors to
        Colors/Modify.

	* plug-ins/common/retinex.c moved menu entry from Colors to
        Colors/Modify.

716 717 718 719 720
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/fade-outline.scm: renamed to
	"Fade to Layer Mask..." and moved to the Select menu.

721 722 723 724 725
2005-09-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/max_rgb.c: moved it back, the plug-in changes
	the image. Renamed to "Maximum RGB".

726 727 728 729 730 731 732 733 734 735 736 737
2005-09-25  Carol Spears  <carol@gimp.org>

	* plug-ins/common/max_rgb.c moved menu entry from Colors to
        Colors/Info.

	* plug-ins/common/smooth_palette.c moved menu entry from Colors to
        Colors/Info.

	* plug-ins/common/semiflatten.c removed menu entry from Colors and
        added it to Filters/Web

	* plug-ins/pygimp/plug-ins/py-slice.py added the patch from
738
        Joao S. O. Bueno Calligaris that was attached to bug #159564.
739

740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* app/actions/edit-actions.c
	* menus/image-menu.xml.in: added "Edit/Paste as" submenu and moved
	"Paste as new" there (renamed to "New Image").

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/paste-as-brush.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: new scripts
	roughly derived from select-to-brush and select-to-pattern.

	* plug-ins/script-fu/scripts/select-to-brush.scm
	* plug-ins/script-fu/scripts/select-to-image.scm
	* plug-ins/script-fu/scripts/select-to-pattern.scm: don't register
	menu entries.

756 757 758 759 760 761 762 763 764
2005-09-25  Sven Neumann  <sven@gimp.org>

	* app/base/siox.[ch]: applied patch from Gerald Friedland and
	Tobias Lenz. Introduces a hash table to speed up the algorithm
	and changes the post-processing so that multiple disjunct objects
	can be selected.

	* app/tools/gimpforegroundselecttool.c: changed tooltip, the tool
	doesn't any longer extract single objects only.
Sven Neumann's avatar
Sven Neumann committed
765

Sven Neumann's avatar
Sven Neumann committed
766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785
2005-09-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgetsenums.[ch]: removed GimpZoomWidgetType.

	* libgimpwidgets/gimpzoommodel.[ch]: removed gimp_zoom_widget_new()
	in favor of gimp_zoom_button_new().

	* libgimp/gimpzoompreview.c: changed accordingly.

	* libgimpwidgets/gimpwidgets.def: updated.

	* plug-ins/MapObject/mapobject_main.[ch]
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_ui.c: use a GimpZoomModel and let
	it create the zoom buttons.

	* plug-ins/MapObject/mapobject_apply.c
	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/MapObject/mapobject_shade.c: include "gimp/gimpui.h".

786 787 788 789 790
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help/Makefile.am (gimp_help_lookup_LDADD): link
	against libgimpbase now that we use gimp_data_directory().

791 792 793
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/distress-selection.scm: renamed to
794
	"Distort..." and moved to Select/Modify.
795

Hans Breuer's avatar
updated  
Hans Breuer committed
796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817
2005-09-24  Hans Breuer  <hans@breuer.org>

	* **makefile.msc : updated
	
	* app/dialogs/user-install-dialog.c : only add the migrate page if
	there is something to migrate from. Avoids on version being NULL.
	
	* app/dialogs/file-save-dialog.c : the g_print() output was crashing
	on the assumption that ->menu_label != NULL. It is for colorhtml.py.
	
	* app/widgets/gimpselectiondata.c : use HAVE_UNISTD_H and move 
	* process.h definition by G_OS_WIN32 below it being defined
	* app/widgets/gimpwidgets-utils.c(gimp_window_get_native) : cast
	return value to (GdkNativeWindow) it is not necessary an int.
	
	* libgimpwidgets/gimpwidgets.def : added gimp_zoom_type_get_type
	
	* plug-ins/help/gimp-help-lookup.c : dynamic lookup of help_root
	instead of hard-coding DATADIR/GIMP_HELP_PREFIX
	
	* plug-ins/xjt/xjt.c : there is no pid_t with msvc, typedef one.
	
818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* app/actions/plug-in-actions.c
	* menus/image-menu.xml.in: get rid of Filters/Effects because it
	doesn't mean anything. Added Filters/Generic and Filters/Combine
	back instead. Not perfect either but more meaningful.

	* plug-ins/common/depthmerge.c
	* plug-ins/common/film.c: -> Filters/Combine

	* plug-ins/common/convmatrix.c
	* plug-ins/common/vpropagate.c: -> Filters/Generic

	* plug-ins/script-fu/scripts/erase-rows.scm: -> Filters/Distorts

	* plug-ins/script-fu/scripts/predator.scm: -> Filters/Artistic

835 836 837 838 839 840
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/convert-dialog.c
	* app/dialogs/palette-import-dialog.c: added icons to the
	affirmative action buttons.

841 842 843 844 845 846
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* app/actions/view-actions.c (view_zoom_actions): use
	GIMP_STOCK_CHAR_PICKER for the actions which are only there for
	keyboard shortcuts. Not perfect but better than before.

847 848 849 850 851
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* app/actions/file-actions.c (file_actions): made Shift+Ctrl+W the
	shortcut for "Close all".

852 853 854 855 856 857 858
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/psd.c: massively indented and de-uglyfied,
	(not many lines unmodified). Still not the incarnation of
	beautiful code, but more readable for an eye used to Gimp code.
	No logic changes, just formatting.

859 860 861 862 863 864
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c (run): set "is_ID" to TRUE, not FALSE
	when decoding the "compose-data" parasite. Fixes Recompose.
	Return error, not success if recomposing fails. Misc cleanups.

865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885
2005-09-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpzoommodel.[ch]: added gimp_zoom_model_zoom()
	and changed gimp_zoom_model_get_fraction() to take a model instead
	of the zoom factor.

	* app/display/gimpdisplayshell.[ch]: use a GimpZoomModel for the
	display scale factor.

	* app/actions/image-commands.c
	* app/actions/view-actions.c
	* app/actions/view-commands.c
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpdisplayshell-title.c
	* app/display/gimpnavigationeditor.c
	* app/display/gimpstatusbar.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpmagnifytool.c: changed accordingly.

886 887 888 889 890
2005-09-25  Karine Delvare  <kdelvare@nerim.net>

	* app/tools/gimpcroptool.c: fixed assignment of local variable
	"rectangle_exists".

891 892 893 894 895
2005-09-25  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpnewrectselecttool.c: fixed assignment of local
	variable "rectangle_exists".

896 897 898 899 900 901 902
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): reordered checks for
	the modifiers pressed on <Tab> so NumLock and friends don't
	interfere. Fixes bug #317118.

903
2005-09-25  Sven Neumann  <sven@gimp.org>
904 905 906 907 908 909 910 911 912 913 914 915

	* libgimpwidgets/gimpwidgetsenums.h: added more values to the
	GimpZoomType enum.

	* libgimpwidgets/gimpzoommodel.c (gimp_zoom_model_zoom_step):
	handle the new enum values.

	* app/actions/view-commands.c (view_zoom_cmd_callback) use the new
	values.

	* app/display/gimpdisplayshell.c (gimp_display_shell_new): cosmetics. 

Sven Neumann's avatar
Sven Neumann committed
916 917 918 919
2005-09-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpzoommodel.[ch]: minor cleanup, documentation.

920 921 922 923 924 925 926
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/quit-dialog.c (quit_close_all_dialog_new): another
	patch from Sylvain Foret that fixes the dialog title for the close
	all dialog. Fixes bug #317137. Also pass the right help IDs to
	gimp_message_dialog_new().

927 928 929 930 931 932 933 934 935 936 937 938 939
2005-09-24  DindinX  <dindinx@gimp.org>

	* libgimpwidgets/gimpwidgetsenums.h: remove the GIMP_ZOOM_LABEL value
	from GimpZoomWidgetType.

	* libgimpwidgets/gimpwidgetsenums.c: regenerated.

	* libgimp/gimpzoompreview.c: provides two read only properties,
	"fraction" and "percentage" to be used with prop widgets.

	* libgimpwidgets/gimpzoommodel.c: use a gimp_prop_label to show the
	zoom fraction.

940 941 942 943 944
2005-09-24  Michael Natterer  <mitch@gimp.org>

	* app/actions/file-actions.c: set "Close all" insensitive when
	there are no displays.

945 946 947 948 949 950
2005-09-24  Michael Natterer  <mitch@gimp.org>

	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]: de-uglify callback names for
	"new" and "close".

951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969
2005-09-24  Michael Natterer  <mitch@gimp.org>

	Applied (slightly modified) patch from Sylvain Foret which adds
	"Close All" menu entries and dialog. Fixes bug #163532.

	* app/actions/file-actions.c
	* app/actions/file-commands.[ch]: added "file-close-all" action
	and callback.

	* app/dialogs/dialogs-constructors.[ch]
	* app/dialogs/dialogs.c
	* app/dialogs/quit-dialog.[ch]: added close all dialog which is a
	modified quit dialog.

	* app/widgets/gimphelp-ids.h: added help ID.

	* menus/image-menu.xml.in
	* menus/toolbox-menu.xml.in: add close all next to quit.

970 971 972 973 974 975
2005-09-24  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_scale_dialog): set "activates-default" on all
	spinbuttons.

976 977 978 979 980 981 982
2005-09-24  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c: fixed some brokenness caused by my
	last "cleanup". Should work as before now.

	* plug-ins/common/decompose.c: cleaned up GUI and code.

983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012
2005-09-24  DindinX  <dindinx@gimp.org>

	* app/widgets/widgets-enums.h: Moved the GimpZoomType enum from
	here...

	* libgimpwidgets/gimpwidgetsenums.h: ...to here.

	* app/widgets/widgets-enums.c
	* libgimpwidgets/gimpwidgetsenums.c: regenerated.

	* app/display/gimpdisplayshell-scale.[ch]: removed
	gimp_display_shell_scale_zoom_step and
	gimp_display_shell_scale_get_fraction from here...

	* libgimpwidgets/gimpzoommodel.[ch]: ... to here so we can use these
	utility functions in plug-ins and in the core.
	Also removed the step-size property since the zoom-model now use
	gimp_zoom_model_zoom_step.

	* app/actions/view-commands.c
	* app/display/gimpdisplayshell-title.c
	* app/display/gimpdisplayshell.c
	* app/tools/gimpmagnifytool.c: modified accordingly.

	* libgimp/gimpzoompreview.c: don't pass any argument to the
	gimp_zoom_model_new function.

	* libgimpwidgets/gimpwidgets.def: added gimp_zoom_model_zoom_step
	(gimp_zoom_model_get_fraction was already there)

1013 1014 1015 1016 1017 1018
2005-09-24  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore.h
	* app/tools/gimpimagemaptool.c
	* tools/test-clipboard.c: indentation fixes.

1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030
2005-09-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpactiongroup.c
	(gimp_action_group_set_action_hide_empty): renamed from
	set_action_important(). Set the "hide-if-empty" property so
	showing an insensitive "Empty" item instead of hiding the submenu
	works again (did this ever work?).

	* app/actions/tool-options-actions.c (tool_options_actions_setup):
	changed accordingly. Keeps the tool options submenus from
	disappearing.

1031 1032 1033
2005-09-23  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: reordered submenus and placeholders
1034
	so stuff is not grouped that randomly any longer.
1035 1036 1037 1038

	* plug-ins/script-fu/scripts/hsv-graph.scm: move it to the "Info"
	placeholder so it is next to histogram and ccanalyze.

1039 1040 1041 1042 1043
2005-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-save.c: added a tooltip that explains how to
	obtain the file size.

1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055
2005-09-22  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: added a check for libgnomeprintui.

	* plug-ins/common/gnomeprint.c: added a simple Print plug-in that
	uses libgnomeprint and libgnomeprintui. Needs more work.

	* plug-ins/common/plugin-defs.pl: added the new plug-in.

	* plug-ins/common/Makefile.am: regenerated.

1056 1057 1058 1059 1060 1061 1062
2005-09-22  DindinX  <dindinx@gimp.org>

	* libgimpwidgets/gimpzoommodel.c: renamed the properties "value",
	"minimum" and "maximum".

	* libgimp/gimpzoompreview.c: modified accordingly.

1063 1064 1065 1066
2005-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: canonicalize procedure name and parameters.

1067 1068 1069 1070
2005-09-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c: reorganized and cleaned up GUI and code.

1071 1072 1073 1074 1075
2005-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c: don't hardcode unit conversion factors.

1076 1077 1078 1079 1080 1081 1082
2005-09-21  Jay Cox  <jaycox@gimp.org>

	* plug-ins/common/psd.c: Load the resolution properly when it is
	specified in px/cm.
	* plug-ins/common/psd_save.c: Save the resolution of the image in
	the file.  Fixes bug #310426
	
Sven Neumann's avatar
Sven Neumann committed
1083 1084 1085 1086
2005-09-21  Sven Neumann  <sven@gimp.org>

	* HACKING: minor update.

1087 1088 1089 1090 1091
2005-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: update the preview from an
	idle handler. Removed obsolete "Update Preview" button.

1092 1093 1094 1095 1096 1097
2005-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: more compact dialog layout,
	renamed "Textures" to "Layers" and make sure that one is always
	selected.

1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111
2005-09-21  Michael Natterer  <mitch@gimp.org>

	Separated the global buffer logic from the clipboard
	implementation:

	* app/widgets/gimpclipboard.[ch]: removed all knowledge about
	gimp->global_buffer. Removed the Gimp::buffer-changed callback.
	Made gimp_clipboard_set_buffer() public and remember the set
	buffer in the GimpClipboard struct. Fixed the has_buffer() and
	has_svg() functions.

	* app/gui/gui.c: connect to Gimp::buffer-changed here and call
	gimp_clipboard_set_buffer() from the callback.

Sven Neumann's avatar
Sven Neumann committed
1112 1113 1114 1115
2005-09-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c: use ngettext for plural forms.

Sven Neumann's avatar
Sven Neumann committed
1116 1117 1118 1119 1120 1121
2005-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/cubism.c: initialize variables.

	* plug-ins/common/depthmerge.c: declare all functions as static.

1122 1123
2005-09-20  DindinX  <dindinx@gimp.org>

Sven Neumann's avatar
Sven Neumann committed
1124 1125 1126
	* libgimp/gimpzoompreview.[ch]: make use of private data instead
	of struct members. Added a gimp_zoom_preview_get_drawable so we
	can still get the drawable from a preview in plug-ins.
1127

Sven Neumann's avatar
Sven Neumann committed
1128 1129 1130
	Also changed gimp_zoom_preview_get_data() to
	gimp_zoom_preview_get_source(), to make it more obvious what it
	returns.
1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148

	* libgimp/gimpui.def
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/colorify.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/illusion.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/nova.c
	* plug-ins/common/polar.c
	* plug-ins/common/retinex.c
	* plug-ins/common/waves.c
	* plug-ins/common/whirlpinch.c: changed accordingly.

1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160
2005-09-20  DindinX  <dindinx@gimp.org>

	* libgimpwidgets/gimpzoommodel.[ch]: use private data instead of
	struct members. Added min-factor and max-factor properties so we can
	set the zoom range. These can be set by a new utility function:
	gimp_zoom_model_set_range.

	* libgimpwidgets/gimpwidgets.def: added gimp_zoom_model_set_range.

	* libgimp/gimpzoompreview.c: use gimp_zoom_model_set_range so we can
	only zoom in.

1161 1162 1163 1164 1165
2005-09-20  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c (erode_region, dilate_region):
	fixed bug in buffer initialization, spotted by Tobias Lenz.
	
1166 1167 1168 1169
2005-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: corrected version check (bug #314400).

1170 1171 1172 1173 1174 1175
2005-09-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorscale.c: invalidate the buffer when the
	widget's sensitivity changes. Draw a stipple pattern on the
	insensitive color scale.

Sven Neumann's avatar
Sven Neumann committed
1176 1177 1178 1179
2005-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/raw.c (query): fixed capitalization.

1180 1181 1182 1183 1184 1185
2005-09-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c: applied patch from Sylvain Foret
	which allows to use fixed greyscale values instead of drawables
	for color components. Fixes bug #309112.

1186 1187 1188 1189 1190
2005-09-20  Sven Neumann  <sven@gimp.org>

	* app/core/gimpitem.c: added read-only properties for id, width
	and height.

1191 1192 1193 1194 1195 1196 1197
2005-09-20  DindinX  <dindinx@gimp.org>

	* libgimp/gimpui.def: added the functions from gimpzoompreview.h

	* libgimpwidgets/gimpwidgets.def: added the functions from
	gimpzoommodel.h

1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239
2005-09-20  DindinX  <dindinx@gimp.org>

	* libgimpwidgets/gimpzoommodel.[ch]: New object to handle zoom
	factor, and create widgets to control or view this value.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h: Added gimpzoommodel.[ch].

	* libgimpwidgets/gimpwidgetsenums.h: new enum: GimpZoomWidgetType.
	This enumerate which knid of widget you can created from the zoom
	model.

	* libgimpwidgets/gimpwidgetsenums.c
	* libgimpwidgets/gimpwidgetstypes.h: regenerated.

	* libgimpwidgets/gimppreview.c: move the update toggle to the bottom
	of the box.

	* libgimp/Makefile.am
	* libgimp/gimpui.h
	* libgimp/gimpuitypes.h
	* libgimp/gimpzoompreview.[ch]: New widget, derivated from
	GimpScrolledPreview, which offer the same functionnalities as the
	GimpAspectPreview widget plus zoom facilities.

	* plug-ins/common/AlienMap2.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/colorify.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/illusion.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/nova.c
	* plug-ins/common/polar.c
	* plug-ins/common/retinex.c
	* plug-ins/common/waves.c
	* plug-ins/common/whirlpinch.c: use a GimpZoomPreview instead of a
	GimpAspectPreview.

1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259
2005-09-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpclipboard.[ch]: added new public function
	gimp_clipboard_set_svg() and internal stuff to offer and transfer
	the svg data to the clipboard.

	* app/actions/vectors-commands.c (vectors_copy_cmd_callback)
	(vectors_paste_cmd_callback): implement copy/paste of vectors as
	SVG. Fixes bug #316547.

	* app/widgets/gimpvectorstreeview.c
	(gimp_vectors_tree_view_drag_svg): don't add the terminating
	nul-byte of the svg string to svg_data_length, it confuses the XML
	parser.

	* app/actions/vectors-actions.c
	* app/actions/vectors-commands.[ch]
	* menus/vectors-menu.xml: reordered export/import so they are in
	the same order as copy/paste.

Sven Neumann's avatar
Sven Neumann committed
1260 1261 1262 1263
2005-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: moved toolbar out of main vbox.

1264 1265 1266 1267 1268 1269 1270 1271 1272
2005-09-19  Sven Neumann  <sven@gimp.org>

	* autogen.sh
	* configure.in
	* app/main.c
	* app/widgets/gimptoolbox.c
	* plug-ins/script-fu/scripts/web-browser.scm: changed "The GIMP"
	to "GNU Image Manipulation Program" or just "GIMP".

1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307
2005-09-19  Sven Neumann  <sven@gimp.org>

	* app/actions/actions.c: use GTK_STOCK_FILE for File actions.

	* app/actions/dialogs-actions.c
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/print/gimp_main_window.c: use GTK_STOCK_ABOUT for About
	dialogs.

	* app/actions/actions.c
	* app/actions/brushes-actions.c
	* app/actions/channels-actions.c
	* app/actions/channels-commands.c
	* app/actions/colormap-editor-actions.c
	* app/actions/gradients-actions.c
	* app/actions/layers-actions.c
	* app/actions/layers-commands.c
	* app/actions/palette-editor-actions.c
	* app/actions/palettes-actions.c
	* app/actions/patterns-actions.c
	* app/actions/templates-actions.c
	* app/actions/templates-commands.c
	* app/actions/text-editor-actions.c
	* app/actions/tool-options-actions.c
	* app/actions/vectors-actions.c
	* app/actions/vectors-commands.c
	* app/tools/gimptexttool.c
	* app/widgets/gimpcontrollereditor.c
	* app/widgets/gimpcontrollerlist.c
	* plug-ins/flame/flame.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/orientation.c
	* plug-ins/gimpressionist/size.c
	* plug-ins/metadata/interface.c: s/GIMP_STOCK_EDIT/GTK_STOCK_EDIT/

1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345
2005-09-19  Michael Natterer  <mitch@gimp.org>

	Did a global s/qmask/quick-mask/:

	* app/actions/qmask-actions.[ch]
	* app/actions/qmask-commands.[ch]
	* app/core/gimpimage-qmask.[ch]
	* menus/qmask-menu.xml
	* themes/Default/images/stock-qmask-off-16.png
	* themes/Default/images/stock-qmask-on-16.png: removed.

	* app/actions/quick-mask-actions.[ch]
	* app/actions/quick-mask-commands.[ch]
	* app/core/gimpimage-quick-mask.[ch]
	* menus/quick-mask-menu.xml
	* themes/Default/images/stock-quick-mask-off-16.png
	* themes/Default/images/stock-quick-mask-on-16.png: added.

	* app/actions/Makefile.am
	* app/actions/actions.c
	* app/core/Makefile.am
	* app/core/core-enums.[ch]
	* app/core/gimpchannel.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-undo.c
	* app/core/gimpimage.[ch]
	* app/core/gimpundo.[ch]
	* app/display/gimpdisplayshell-appearance.c
	* app/display/gimpdisplayshell-callbacks.[ch]
	* app/display/gimpdisplayshell-handlers.c
	* app/display/gimpdisplayshell.[ch]
	* app/menus/menus.c
	* app/widgets/gimphelp-ids.h
	* libgimpwidgets/gimpstock.[ch]
	* menus/Makefile.am
	* menus/image-menu.xml.in
	* themes/Default/images/Makefile.am: changed accordingly.

1346 1347 1348 1349 1350
2005-09-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_get_new_pixbuf): use
	GTK_STOCK_DIRECTORY for GIMP_THUMB_STATE_FOLDER.

Sven Neumann's avatar
Sven Neumann committed
1351 1352 1353 1354
2005-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: replaced buttons with toolbar.

1355 1356 1357 1358 1359 1360 1361 1362
2005-09-18  Michael Natterer  <mitch@gimp.org>

	* app/actions/view-actions.c (view_zoom_actions): added stock IDs
	and help IDs to the new zoom actions.

	* menus/image-menu.xml.in: removed the <accelerator .../> lines
	again. Actions don't need a visible proxy to be activatable.

1363 1364 1365 1366 1367 1368
2005-09-18  Sven Neumann  <sven@gimp.org>

	* app/actions/view-actions.c (view_zoom_actions): 
	* menus/image-menu.xml.in: added extra Zoom In/Out actions and
	bind them to the Add/Subtract keys on the keypad (bug #316555).

1369 1370
2005-09-17  Michael Natterer  <mitch@gimp.org>

1371
	We don't need two labels for "Toggle Quick Mask":
1372 1373 1374 1375 1376

	* app/actions/qmask-actions.c: removed "qmask-active" action.

	* menus/qmask-menu.xml: use "qmask-toggle" instead.

1377 1378 1379
	* app/actions/actions.c (action_groups): s/QuickMask/Quick Mask/
	Fixes bug #316569.

1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399
2005-09-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpactionview.c (gimp_action_view_new): skip
	actions if their name starts with '<' (menu actions created by
	plug-ins have names like "<Image>/Foo/Bar"). Scroll the
	pre-selected action to the center of the view, not to the top.

	* app/widgets/gimpcontrollereditor.c
	(gimp_controller_editor_edit_clicked): make the action editor
	transient to the controller editor. Show the edited event's name
	in the controller editor's header.

	* app/widgets/gimpcontrollerwheel.c: use gimp_get_mod_string()
	instead of hardcoding the modifiers in tons of translatable
	strings. Don't call gettext() in GimpController::get_blurb(),
	the strings are already translated.

	* app/widgets/gimpcontrollerkeyboard.c: removed call to gettext()
	here too.

1400 1401 1402 1403 1404 1405
2005-09-16  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_initialize):
	set the imagemap tool dialogs transient to the image window. See
	comments in bug #316521.

1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417
2005-09-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch] (gimp_widget_set_accel_help):
	mis-named and mis-placed function that sets a widget's tooltip to
	the action's tooltip plus the action's keyboard shortcut.

	* app/widgets/gimptoolbox.c: at least the code is not here any
	more.

	* app/actions/tools-actions.c: use tool_info->help, not ->blurb
	as the action's tooltip so the above works.

1418 1419 1420 1421 1422 1423 1424 1425
2005-09-13  Karine Delvare  <kdelvare@nerim.net>

	* app/tools/gimpcroptool.c
	* app/tools/gimprectangleoptions.c
	* app/tools/gimprectangletool.c
	* app/tools/gimpnewrectselecttool.c: changed the way we stay inside
	images boundaries so each tool decides whether it does or not.

Michael Natterer's avatar
Michael Natterer committed
1426 1427 1428 1429 1430
2005-09-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox.c (gimp_toolbox_substitute_underscores):
	removed.

1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459
2005-09-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-utils.c (gimp_get_mod_name_*): removed
	"<>" around modifiers.

	* app/tools/gimpbucketfilloptions.c
	* app/tools/gimpcolorpickeroptions.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpcropoptions.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimperasertool.c
	* app/tools/gimpflipoptions.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpmagnifyoptions.c
	* app/tools/gimpmoveoptions.c
	* app/tools/gimpselectionoptions.c
	* app/tools/gimptransformoptions.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimpthumbbox.c: added "()" around the whole modifier
	string where appropriate.

	* app/widgets/gimptoolbox.c (gimp_toolbox_button_accel_changed):
	use gimp_get_mod_string() instead of homebrewn variant of the same
	code.

	* app/widgets/gimpcontrollerkeyboard.c: replaced tons of static
	translatable strings containing modifiers by generated ones using
	gimp_get_mod_string() (traded for some more memory consumption).

1460 1461 1462 1463 1464 1465 1466 1467 1468
2005-09-13  Michael Natterer  <mitch@gimp.org>

	* app/actions/dockable-actions.c (dockable_actions_update): don't
	make "Detach Tab" insensitive if there are other dockbooks in the
	dock.

	* app/widgets/gimpdock.[ch]
	* app/widgets/gimpdockseparator.[ch]: cleanup.

1469 1470 1471 1472 1473
2005-09-13  Karine Delvare  <kdelvare@nerim.net>

	* app/tools/gimprectangletool.c: don't modify the rectangle while
	moving, and stick to edges when going out of image boundaries.

1474 1475 1476 1477 1478 1479 1480 1481 1482
2005-09-13  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-actions.c: use "Undo History" instead of "Undo
	Editor" in user-visible string. Removed wrongly used ellipsis.

	* app/dialogs/offset-dialog.c: added translator comment.

	* app/dialogs/quit-dialog.c: string change.

1483 1484 1485 1486 1487
2005-09-13  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: allow to disable build of the poppler plug-in.

Sven Neumann's avatar
Sven Neumann committed
1488 1489 1490 1491 1492
2005-09-13  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-close.c (gimp_time_since): use
	ngettext for plural forms.

Sven Neumann's avatar
Sven Neumann committed
1493 1494 1495 1496
2005-09-13  Sven Neumann  <sven@gimp.org>

	* modules/colorsel_cmyk.c: added comments for translators.

1497 1498 1499 1500 1501
2005-09-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette-import.c (gimp_palette_import_from_image):
	ignore transparent pixels as suggested in bug #316212.

1502 1503 1504 1505 1506
2005-09-13  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpbucketfilloptions.c: reorder options as suggested
	in bug #316150.

Sven Neumann's avatar
Sven Neumann committed
1507 1508 1509 1510 1511 1512 1513
2005-09-13  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-title.c
	(gimp_display_shell_format_title): use ngettext for plural form.

	* app/dialogs/user-install-dialog.c: string fix (bug #316148).

Michael Natterer's avatar
Michael Natterer committed
1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532
2005-09-12  Michael Natterer  <mitch@gimp.org>

	Really fix bug #150593:

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpdockseparator.[ch]: new widget implementing the
	droppable separator bar in docks.

	* app/widgets/gimpdock.c: use it and removed local separator
	utility functions.

	* app/widgets/gimptoolbox.c: use GimpDockSeparator API to show/hide
	the label. Expand the separator initially.

	* themes/Default/gtkrc
	* themes/Small/gtkrc: the separator height style property moved
	from GimpDock to GimpDockSeparator.

1533 1534 1535 1536 1537 1538 1539
2005-09-12  Akkana Peck  <akkana@cvs.gnome.org>

	* menus/image-menu.xml.in
	* app/actions/image-actions.c: Move Mode menu from Colors
	back to Image, and rename it back to Mode, as per consensus
	on #gimp.

1540 1541 1542 1543 1544
2005-09-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptoolbox.c: set the label style italic. Moved
	separator code into utility functions.

1545 1546 1547 1548 1549 1550 1551
2005-09-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox.c (gimp_toolbox_book_added)
	(gimp_toolbox_book_removed): if there is no dockbook added, expand
	the separator and add a label telling the user that she can drop
	dockables there. Fixes bug #150593.

1552 1553
2005-09-11  Michael Natterer  <mitch@gimp.org>

Michael Natterer's avatar
Michael Natterer committed
1554
	* app/core/core-enums.[ch] (enum GimpUndoType): replaced lots of
1555 1556 1557 1558
	bogus strings by properly translatable ones. Many of them are
	fallbacks anyway, but they should be presentable to the user.
	Fixes bug #315964.

1559 1560 1561 1562 1563
2005-09-11  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpstatusbar.c: don't include "core/gimpmarshal.h",
	replaced '_' by '-' in property name.

1564 1565 1566 1567 1568 1569
2005-09-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_response):
	bail out if the action_area is insensitive. Ignores attempts to
	close the window while the script is running. Fixes bug #308662.

1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588
2005-09-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerbox.c
	(gimp_container_box_set_size_request): take the container's
	border_width into account.

	* app/widgets/gimpcontainergridview.c
	(gimp_container_grid_view_init): make sure GTK_SHADOW_IN is set on
	the scrolled window, not on the viewport, so we get the same
	results for list and grid views when using
	gimp_container_box_set_size_request().

	* app/widgets/gimpcontainerpopup.[ch]: added setters and getters
	for view_type and preview_size, don't allow the preview to grow
	larger than the popup.

	* app/widgets/gimpviewablebutton.[ch]: added "popup-view-type" and
	"popup-preview-size" properties and setters/getters.

1589 1590 1591 1592 1593 1594 1595 1596
2005-09-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpviewablebox.c: factored out common code in
	preparation of fixing bug #315443.

	* app/widgets/gimpviewablebutton.h (struct GimpViewableButton):
	"popup_preview_size" is a gint, not a GimpViewType.

1597 1598 1599 1600 1601 1602 1603
2005-09-10  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpiscissorstool.c	(gimp_iscissors_tool_button_release):
	use gimp_draw_tool_on_handle() to figure if we need to close the
	path. Makes sure that the anchor's sensitive area matches its size
	on screen. Fixes bug #134250.

1604 1605 1606 1607 1608 1609 1610 1611
2005-09-10  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbase-private.h: GimpUnitVTable -> GimpUnitVtable

	* libgimpbase/gimpbase-private.c
	* libgimp/gimp.c (gimp_main)
	* app/units.c (units_init): changed accordingly.

1612 1613 1614
2005-09-10  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpclonetool.c (gimp_clone_options_gui): moved the
1615 1616
	"Sample merged" toggle below the "Image source" radio button.
	Also fixed capitalization of "Sample merged".
1617

1618 1619 1620 1621
2005-09-10  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprogress.h: match parameter name in .c file.

1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647
2005-09-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/aa.c
	* plug-ins/common/csource.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gih.c
	* plug-ins/common/gtm.c
	* plug-ins/common/mng.c
	* plug-ins/common/pat.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psp.c
	* plug-ins/common/raw.c
	* plug-ins/common/sunras.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/gfli/gfli.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/sgi/sgi.c
	* plug-ins/winicon/icodialog.c: actually call
	gimp_window_set_transient() on save dialogs.
	Really fixes bug #62988.

1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709
2005-09-09  Michael Natterer  <mitch@gimp.org>

	Added parent window API to the GimpProgress interface and to
	the libgimp progress stuff. Might look strange, but does
	the right thing in almost all cases (image window, file dialog,
	script-fu dialog etc). Fixes bug #62988.

	* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
	which should return a toplevel window ID if the progress is in a
	window that wants to be the transient parent of plug-in dialogs.

	* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
	function which returns the window handle of a GtkWindow's GdkWindow.

	* app/widgets/gimpfiledialog.c: implement ::get_window().

	* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.

	* app/gui/gui-vtable.c: changed accordingly.

	* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
	added GIMP_PROGRESS_COMMAND_GET_WINDOW.

	* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
	new function. Also renamed some functions to match the
	GimpProgress interface, and not the legacy PDB procedure names.

	* tools/pdbgen/pdb/progress.pdb
	* app/core/gimppdbprogress.c: implement get_window() on both
	sides of the wire, keeping backward compatibility (hopefully).

	* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
	and added gimp_progress_install_vtable() which takes a vtable with
	padding to be extensible. Added get_window() vtable entry and
	dispatch it accordingly. Also added pulse() which was implemented
	in a hackish way before. Everything is of course backward
	compatible.

	* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
	so a plug-in dialog containing a progress can be the transient
	parent of another dialog in another plug-in.

	* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
	which returns a foreign GdkWindow of this plug-ins progress
	window.

	Renamed gimp_window_set_transient_for_default_display() to
	gimp_window_set_transient() and make it use the progress' window
	handle instead of the display's (which is the right thing to do in
	almost all cases).

	* libgimp/gimp.def
	* libgimp/gimpui.def: add the new functions.

	* tools/pdbgen/enums.pl
	* app/pdb/internal_procs.c
	* app/pdb/progress_cmds.c
	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* libgimp/gimpexport.c
	* plug-ins/*/*.c: follow API change.

1710 1711
2005-09-09  Tor Lillqvist  <tml@novell.com>

1712 1713 1714
	* gimptool-win32.c.in (get_prefix, maybe_append_exe)
	* libgimpbase/gimpdatafiles.c (is_script): Practice what I preach
	and use g_ascii_strcasecmp() instead of g_strcasecmp().
1715

1716 1717 1718 1719 1720
2005-09-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c (printrc_load): use g_ascii_strcasecmp()
	instead of strcasecmp().

1721 1722 1723 1724
2005-09-09  Michael Natterer  <mitch@gimp.org>

	* configure.in: Removed 'hi' again until all po files are there.

1725 1726 1727 1728
2005-09-09  Rajesh Ranjan  <rajeshkajha@yahoo.com>

	* configure.in: Added 'hi' to ALL_LINGUAS.

1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741
2005-09-08  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer-floating-sel.c (floating_sel_boundary): if
	the floating selection has no alpha, manually create BoundSegs of
	its outline instead of calling boundary_find() (which creates a
	boundary of the last channel). Fixes bug #145373.

	* app/widgets/gimplayertreeview.c
	(gimp_layer_tree_view_floating_selection_changed): update all
	layer names' text attributes, not only for layers with alpha.
	Fixes layer name display when making a new layer out of a floating
	selection without alpha.

1742 1743 1744 1745 1746 1747
2005-09-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainertreeview.c: allow to popup the context
	menu from the views' empty area. Fixes bug #314719.

1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761
2005-09-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel-combine.c (gimp_channel_combine_ellipse):
	use gimp_rectangle_intersect() instead of just looking at the
	passed in w,h to figure whether nothing needs to be done. While
	the algorithm does nicely with an entirely out-of-image ellipse,
	the channel's bounds were set to a rectangle of zero width or
	height, which caused subsequent calls to gimp_channel_bounds() to
	return broken bounds. Fixes bug #315417.

	(gimp_channel_combine_rect)
	(gimp_channel_combine_mask): use gimp_rectangle_intersect() here
	too instead of the usual unclear CLAMPing on x1,y1,x2,y2.

1762 1763 1764 1765
2005-09-07  Ankit Patel  <ankit644@yahoo.com>

	* configure.in: Added 'gu' to ALL_LINGUAS.

1766 1767 1768 1769 1770 1771 1772
2005-09-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimperrordialog.[ch]: don't set a window icon, the
	dialog should be transient anyway.

	* app/dialogs/dialogs-constructors.c: changed accordingly.

1773 1774 1775 1776 1777 1778
2005-09-06  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/paint-funcs/paint-funcs-generic.h (blend_pixels): change 
	variables from unsigned to signed -- fixes problem described
	in comment 17 of bug #163721.
	
1779 1780 1781 1782 1783
2005-09-06  Sven Neumann  <sven@gimp.org>

	* app/dialogs/stroke-dialog.c (stroke_dialog_new): use
	gtk_object_sink() to destroy a floating widget.

1784 1785 1786 1787 1788 1789
2005-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins: Call gimp_window_set_transient_for_default_display()
	for most plug-in dialogs. Not yet done are load and save dialogs
	and dialogs created from language bindings.

Sven Neumann's avatar
Sven Neumann committed
1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811
2005-09-05  Sven Neumann  <sven@gimp.org>

	Address bug #307971:

	* app/core/gimp-gui.[ch]
	* app/display/gimpdisplay.[ch]
	* app/gui/gui-vtable.c
	* tools/pdbgen/pdb/display.pdb: added PDB function to obtain a
	window handle on an image display.

	* app/pdb/display_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpdisplay_pdb.[ch]: regenerated.

	* libgimp/gimpui.[ch]: added functions to set a GtkWindow transient
	to an image display.

	* plug-ins/common/gauss.c: use the new function exemplarily.

	* libgimp/gimp.def
	* libgimp/gimpui.def: updated.

1812 1813 1814 1815 1816 1817 1818 1819
2005-09-05  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-actions.c
	* app/menus/menus.c
	* app/widgets/gimpundoeditor.c
	* menus/Makefile.am
	* menus/undo-editor-menu.xml: added menu for undo editor.

1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831
2005-09-05  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/edit.pdb: applied patch from David Gowers which
	adds "gimp-edit-named-delete". Addresses bug #315130. Added
	"gimp-edit-named-rename" additionally.

	* libgimp/gimp.def: changed accordingly.

	* app/pdb/edit_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpedit_pdb.[ch]: regenerated.

1832 1833 1834 1835 1836
2005-09-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-edit.c: don't let named cut/copy affect the global
	buffer. Fixes bug #315225. Also make "Global Buffer" translatable.

1837 1838 1839 1840 1841 1842 1843
2005-09-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimp.[ch]
	* app/core/gimpimage-new.c: removed the confusing and redundant
	feature of having the New Image dialog default to the size of the
	global buffer. Please use Paste as New instead. Fixes bug #315106.

1844 1845 1846 1847 1848
2005-09-05  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: terminate variable argument list.
	Fixes bug #315255.

1849 1850 1851 1852 1853 1854 1855 1856
2005-09-05  Michael Natterer  <mitch@gimp.org>

	* app/actions/edit-actions.c
	* app/actions/edit-commands.[ch]
	* menus/image-menu.xml.in: applied modified patch from David
	Gowers which adds an "edit-named-copy-visible" actions and its
	menu item. Addresses bug #315130.

Karine Delvare's avatar
Karine Delvare committed
1857 1858 1859 1860
2005-09-04  Karine Delvare  <kdelvare@nerim.net>

	* app/tools/gimprectangleoptions.c: evil => GIMP_MAX_IMAGE_SIZE.

Karine Delvare's avatar
Karine Delvare committed
1861 1862 1863 1864
2005-09-04  Karine Delvare  <kdelvare@nerim.net>

	* app/tools/gimprectangletool.c: stay within image boundaries.

1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891
2005-09-04  Michael Natterer  <mitch@gimp.org>

	Cleaned up and fixed the order in which default tool options and
	user context values are initialized, and added loading / saving of
	the global user context.  Fixes bug #165078.

	* app/core/Makefile.am
	* app/core/gimp-contexts.[ch]: new files which manage the global
	contexts. Contains gimp_contexts_init/exit/load/save/clear().

	* app/core/gimp.c: use the new init/exit functions instead of
	implementing the stuff here.

	* app/tools/gimp-tools.c: load/save/clear the user context from
	here so it follows the same logic as the tool options. Reset all
	tool options before loading the user context and copy the user
	context's property to all tool options before loading tool
	options.

	* app/core/gimptoolinfo.c (gimp_tool_info_new): don't initialize
	the tool options with the users context's properties. It's way too
	early here and they will be overwritten later.

	* app/widgets/gimpdevices.c (gimp_devices_restore): initialize all
	device contexts with the user context's properties before loading
	the devices and copying the active one back to the user context.

1892 1893 1894 1895 1896 1897 1898 1899 1900
2005-09-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/fade-outline.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/select-to-pattern.scm: string fixes as
	pointed out in bug #315211.

1901 1902 1903 1904 1905
2005-09-03  Michael Natterer  <mitch@gimp.org>

	* app/base/temp-buf.c (temp_buf_resize): do new_size calculation
	only when needed.

1906 1907 1908 1909 1910 1911 1912 1913
2005-09-03  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore.c (gimp_paint_core_get_orig_image)
	(gimp_paint_core_get_orig_proj): replaced manual calculation of
	the offset of a pixel in a tile (marked as /* dubious... */ for a
	reason) by simply using the offset parameters of tile_data_pointer().

2005-09-03  Karine Delvare  <kdelvare@nerim.net>
1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924

	* app/tools/gimprectangletool.[ch]
	* app/tools/gimprectangleoptions.[ch]: code cleanup, replace
	virtualization functions with interface properties.

	* app/tools/gimpcroptool.[ch]
	* app/tools/gimpnewrectselecttool.[ch]
	* app/tools/gimpcropoptions.[ch]
	* app/tools/gimpnewrectselectoptions.[ch]: code cleanup, use said
	interface properties.

Michael Natterer's avatar
Michael Natterer committed
1925 1926 1927 1928
2005-09-03  Michael Natterer  <mitch@gimp.org>

	* app/base/pixel-surround.c: s/row_stride/rowstride/g.

Michael Natterer's avatar
Michael Natterer committed
1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975
2005-09-03  Michael Natterer  <mitch@gimp.org>

	* app/base/pixel-region.[ch]: some general cleanup.

	(pixel_region_init_temp_buf)
	(pixel_region_init_data): new functions which initialize pixel
	regions on TempBufs and on raw contiguous arrays of pixel data.

	(pixel_region_configure): fixed a bug that has probably been there
	forever: when processing contiguous (non-tiled) data, interpret
	the original x and y coordinates of the region as offsets into
	the data. Before this fix, the initial x and y were simply ignored
	(by using them in a broken way), thus always forcing the upper
	left corner of the region being the beginning of the passed data.

	Lots of code was working around this problem by setting the
	pixel_region's data pointer to the proper starting pixel of the
	region in the middle the buffer.

	* libgimp/gimppixelrgn.c: some general cleanup.

	(gimp_pixel_rgn_configure): same fix as above. Fortunately, nobody
	seems to know that libgimp pixel regions can be used on arrays of
	data, just as core ones. Only two plug-ins were using this
	feature, and they are antique and written by spencer and federico,
	respectively. They both don't use offsets into the buffers and are
	not affected by this change. It's highly unlikely that anybody out
	there knows/uses this feature, so it can IMHO be safely changed.

	* app/base/temp-buf.c
	* app/core/gimpbuffer.c
	* app/core/gimpdrawable-combine.c
	* app/core/gimpdrawable-preview.c
	* app/core/gimpimage-preview.c
	* app/core/gimplayer.c
	* app/paint/gimpbrushcore.c
	* app/paint/gimpclone.c
	* app/paint/gimpconvolve.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimppaintcore.c
	* app/paint/gimpsmudge.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimppainttool.c: use the pixel_region_init_foo()
	functions instead of initializing regions of TempBufs and raw data
	manually. Removed lots of workarounds for the broken offset
	handling. The changed places of code are much more readable now.

1976 1977 1978 1979
2005-09-03  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimphuesaturationtool.c
1980
	* app/tools/gimptextoptions.c: minor string changes.
1981

1982 1983 1984 1985 1986 1987 1988 1989
2005-09-03  Seth Burgess <sjburges@gimp.org>
	
	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimphuesaturationtool.c: change the update policy to 
	GTK_UPDATE_CONTINUOUS for considerably better responsiveness
	
1990 1991 1992 1993 1994 1995 1996 1997