ChangeLog 198 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
2005-04-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdataeditor.[ch]: implement
	GimpDocked::get_title() and add "(read only)" to the dialog's
	title if the data is not editable. Fixes bug #164003.

	(gimp_data_editor_real_set_data): call gimp_docked_title_changed()
	when the editable state changes.

	(struct GimpDataEditorClass): added "const gchar *title" member.

	* app/widgets/gimpbrusheditor.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimppaletteeditor.c (class_init): set titles.

16 17 18 19
2005-04-16  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbase.def: added gimp_desaturate_mode_get_type.

20 21 22 23 24 25
2005-04-16  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: use a GimpFileEntry to
	configure the web-browser setting. GtkFileChooserButton just
	doesn't work for it.

26 27 28 29 30 31 32 33 34
2005-04-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/dialog.c: removed the "Close" button and
	added a "Wilber" button instead which opens the online docs in the
	web browser. Added accelerators ctrl+w and ctrl+q which close the
	help browser.

	* plug-ins/helpbrowser/queue.[ch]: updated my email address.

35 36 37 38 39 40 41 42
2005-04-16  Sven Neumann  <sven@gimp.org>

	* app/dialogs/desaturate-dialog.c: added an icon to the action
	button.

	* app/vectors/gimpvectors-import.c: reduce the number of string
	comparisons by using switches on the first character.

43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
2005-04-16  Sven Neumann  <sven@gimp.org>

	Applied a patch (with minor modifications) from Karine Delvare
	that makes it possible to choose between various ways to remove
	color from a drawable (bug #155507):

	* libgimpbase/gimpbaseenums.h: added new enum GimpDesaturateMode.

	* libgimpbase/gimpbaseenums.c
	* libgimp/gimpenums.c.tail
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl: regenerated.

	* app/core/gimpdrawable-desaturate.[ch]: implement other formulas
	to remove colors from a drawable.

	* tools/pdbgen/pdb/color.pdb: let gimp_desaturate() call
	gimp_drawable_desaturate() with GIMP_DESATURATE_LIGHTNESS so that
	it behaves like it always did.

	* app/pdb/color_cmds.c: regenerated.

	* app/dialogs/Makefile.am
	* app/dialogs/desaturate-dialog.[ch]: new files that define a simple
	dialog to choose a mode for desaturation.

	* app/actions/drawable-actions.[ch]: use the new dialog.

71 72 73 74 75 76 77
2005-04-16  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: let pdbgen create the code to
	initialize the variables.

	* app/pdb/vectors_cmds.c: regenerated.

78 79 80 81 82
2005-04-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c
	* plug-ins/helpbrowser/queue.[ch]: finished menu implementation.

83 84 85 86 87
2005-04-15  Manish Singh  <yosh@gimp.org>

	* plug-ins/helpbrowser/queue.c: call has_next/prev functions with
	arguments.

88 89 90 91 92 93
2005-04-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c
	* plug-ins/helpbrowser/queue.[ch]: added menu toolbar buttons; not
	functional yet.

94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
2005-04-15  Michael Natterer  <mitch@gimp.org>

	Added loading of Photoshop brushes. Fixes bug #163047:

	* app/core/Makefile.am
	* app/core/gimpbrush-load.[ch]: new files holding all brush
	loading code. Added .abr loader based on a patch by Adrian
	Likins. Didn't add a new brush subclass as in the original patch,
	but only a loading function which loads the brushes into standard
	GimpBrush objects. Did misc fixes to the code, needs further
	cleanup.

	* app/core/gimpbrush.[ch]: removed brush loading code here.

	* app/core/gimpbrushpipe.c: changed #includes accordingly.

	* app/core/gimp.c (gimp_real_initialize): register the new load
	functions and their extensions with the brush factory.

113 114 115 116 117
2005-04-15  Simon Budig  <simon@gimp.org>

	* app/tools/gimpnewrectselecttool.c: NULLified the Keyboard
	Shortcut for the new rect select tool (clash with the Crop tool).

118 119 120 121
2005-04-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: added a simple right-click menu.

122 123 124 125 126 127 128
2005-04-14  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_cmd_unselect_all.c 
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_object_popup.c: removed bunch of
	compilation warnings (spotted by Sven Neumann).

129 130 131 132 133 134
2005-04-14  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawable.[ch] (gimp_drawable_get_tile)
	(gimp_drawable_get_tile2): cleanup gint/gboolean confusion (spotted
	by Maurits Rijk).

135 136 137 138 139 140 141
2005-04-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: use a GtkUIManager to construct the
	toolbar.

	* plug-ins/ifscompose/ifscompose.c: use gtk_action_set_sensitive().

142 143 144 145 146 147 148
2005-04-14  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/dialogs/image-new-dialog.c
	* app/dialogs/image-scale-dialog.c
	* app/widgets/gtkhwrapbox.c
	* app/widgets/gtkvwrapbox.c: s/choosen/chosen/g; fixes bug #300608.

149 150 151 152 153 154 155 156 157 158
2005-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_set_property):
	don't call gimp_display_shell_scale() if the display isn't
	completely setup yet.

	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
	hack around to find out whether we should pass the pointer location
	or the center of the display to gimp_display_shell_scale_to().

159 160 161 162 163 164
2005-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
	changed to use the location of the pointer instead of the display
	center. This is the behaviour requested in bug #79384.

165 166 167 168 169
2005-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-scale.[ch]: reduced code duplication.

170 171 172 173 174 175
2005-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale_to): 
	changed to keep the point under the mouse at the same location,
	rather than to center it. Also added API docs.

176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
2005-04-14  Simon Budig  <simon@gimp.org>

	Started a PDB api for vectors/strokes. Not yet functional, this
	commit is to get the infrastructure up and running.

	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpvectors.[ch]: Added IDs to the strokes
	
	* tools/pdbgen/pdb.pl: corrected "vectors" type, deleted "path" type.
	* tools/pdbgen/pdb/image.pdb: added gimp_image_get_vectors()
	* tools/pdbgen/pdb/vectors.pdb: New file for the vectors API
	(just a stub for now)

	* tools/pdbgen/Makefile.am: Added vectors.pdb
	* tools/pdbgen/groups.pl: regenerated.

	* plug-ins/script-fu/siod-wrapper.c: Enable the Path/Vectors type.

	* libgimp/gimpvectors_pdb.[ch]
	* app/pdb/vectors_cmds.c: new autogenerated files.
	
	* libgimp/Makefile.am
	* app/pdb/Makefile.am: Added new autogenerated file.

	* libgimp/gimp_pdb.h
	* libgimp/gimpimage_pdb.[ch]
	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c: regenerated.

Sven Neumann's avatar
Sven Neumann committed
205 206 207 208
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimplayer.c: fixed gtk-doc comment.

209 210 211 212 213 214
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-scale.[ch]: when using Ctrl-wheel
	to zoom in/out, center on the mouse position (bug #79384).

215 216 217 218
2005-04-13  Adi Attar  <aattar@cvs.gnome.org>

	* configure.in: Added "xh" to ALL_LINGUAS.

219 220 221 222 223 224 225 226 227 228 229 230 231
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/config/gimpcoreconfig.c: set GIMP_CONFIG_PARAM_CONFIRM on
	the "font-path" property. Set GIMP_CONFIG_PARAM_IGNORE for
	"font-path-writable".

	* app/dialogs/preferences-dialog.c: don't use "font-path-writable".

	* app/core/gimp.c (gimp_restore)
	* app/text/gimp-fonts.c: handle --no-fonts similar to --no-data
	and allow to load the fonts later by pressing "Refresh" in the
	fonts dialog.

232 233 234 235 236 237 238 239 240 241
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/app_procs.c: register handler for the "GimpPaint" log domain.

	* app/core/gimpdatafactory.c (gimp_data_factory_init): don't load
	any data if TRUE is passed for no_data.

	* app/tools/gimppainttool.c (gimp_paint_tool_draw): handle a NULL
	brush gracefully.

242 243 244 245 246 247 248 249 250 251 252 253 254 255
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert.c (gimp_image_convert): handle a NULL
	palette with GIMP_CUSTOM_PALETTE type, use the builtin mono
	palette as fallback.

	* app/dialogs/convert-dialog.c: handle empty palette container.

	* app/gui/gui-vtable.c (gui_pdb_dialog_new): removed unused code.

	* tools/pdbgen/pdb/convert.pdb: don't load the palettes implicitely.

	* app/pdb/convert_cmds.c: regenerated.

256 257 258 259 260
2005-04-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpimagedock.c (gimp_image_dock_image_changed):
	don't use the image container as display container.

261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdatafactory.[ch]: added gimp_data_factory_refresh().

	* app/actions/data-commands.c
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb: use the new function.

	* app/pdb/brushes_cmds.c
	* app/pdb/convert_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/palettes_cmds.c
	* app/pdb/patterns_cmds.c: regenerated.

278 279 280 281 282 283 284 285 286 287
2005-04-12  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcontainer.[ch]: added gimp_container_is_empty().

	* app/core/gimpcontext.c
	* app/core/gimpimage.c
	* app/dialogs/palette-import-dialog.c
	* app/text/gimptextlayer.c
	* app/widgets/gimpimagedock.c: use the new function.

288 289 290 291 292 293
2005-04-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-transform-utils.c
	(gimp_transform_matrix_perspective): undo the "cosmetic changes"
	of 2005-03-20. Fixes bug #300269.

294 295 296 297 298 299 300 301 302 303 304 305 306 307
2005-04-12  Raphaël Quinet  <raphael@gimp.org>

	* configure.in: updated test for libjpeg so that it requires
	version 6b (27-Mar-1998) or later.

	* plug-ins/jpeg/jpeg.h
	* plug-ins/jpeg/jpeg.c
	* plug-ins/jpeg/jpeg-load.c
	* plug-ins/jpeg/jpeg-save.h
	* plug-ins/jpeg/jpeg-save.c: added support for loading and saving
	XMP packets in JPEG APP1 markers, simplified the code that reads
	comments from COM markers and removed #ifdef HAVE_PROGRESSIVE_JPEG
	because we require jpeg-6b, which includes progressive support.

308 309 310 311 312 313
2005-04-11  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/Lighting/lighting_shade.c:  Fix typo responsible for
	bug #300122, also revise env-mapping code to make it perform
	better.

David Odin's avatar
David Odin committed
314 315 316 317
2005-04-11  DindinX  <dindinx@gimp.org>

	* plug-ins/common/convmatrix.c: small cleanups, more will come.

318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
2005-04-11  Michael Natterer  <mitch@gimp.org>

	Let the user decide whether tool options are persistant or not as
	suggested in bug #165078:

	* app/config/gimprc-blurbs.h
	* app/config/gimpguiconfig.[ch]: added "gboolean save_tool_options".

	* app/tools/gimp-tools.[ch]: implement the same logic as for
	devicerc and essionrc: added gimp_tools_clear() which deletes the
	stored tool options and added "save_tool_options" and
	"always_save" parameters to gimp_tools_save(). Everything affects
	just the primary tool options, *not* the separately saved presets
	for each tool.

	* app/gui/gui.c (gui_exit_callback): changed accordingly.

	* app/dialogs/preferences-dialog.c: added GUI for the stuff above
	in the style of the devicerc and seccionrc prefs GUIs.

338 339 340 341 342 343
2005-04-11  Raphaël Quinet  <raphael@gimp.org>

	* plug-ins/metadata/base64.h
	* plug-ins/metadata/base64.c: Added implementation of
	base64_decode(), use gsize or gssize for sizes.

344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
2005-04-11  Raphaël Quinet  <raphael@gimp.org>

	* plug-ins/metadata/metadata.c: Register plug_in_metadata_import
	and plug_in_metadata_export in the PDB.

	* plug-ins/metadata/Makefile.am
	* plug-ins/metadata/base64.h
	* plug-ins/metadata/base64.c: Added base64 decoder, needed for
	reading the thumbnail images (base64 encoded inside XML element).
	
	* plug-ins/metadata/xmp-parse.h
	* plug-ins/metadata/xmp-parse.c: Added XMP_PTYPE_ALT_THUMBS for
	parsing a list of thumbnail images.  Decode and store the base64
	encoded images.

	* plug-ins/metadata/xmpdump.c
	* plug-ins/metadata/xmp-model.h
	* plug-ins/metadata/xmp-model.c: Added support for thumbnails,
	defined global symbols for standard XMP schema URIs.

	* plug-ins/metadata/interface.c: Preliminary support for widget
	cross-references just for testing - it does not save anything yet.
	Added thumbnail tab, although the thumbnail image is not displayed
	yet.

369 370 371 372
2005-04-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpclipboard.c: don't include "core/gimpviewable.h"

373 374 375 376 377
2005-04-11  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpfuzzyselecttool.c: added a hint to the statusbar.
	Closes bug #300125.

378 379 380 381 382
2005-04-10  DindinX  <dindinx@gimp.org>

	* plug-ins/common/convmatrix.c: added a preview, but this plug-in
	certainly need some more work.

383 384 385 386 387
2005-04-10  DindinX  <dindinx@gimp.org>

	* plug-ins/common/convmatrix.c: preliminary cleanup before
	implementing a preview.

388 389 390 391 392
2005-04-10  Sven Neumann  <sven@gimp.org>

	* app/actions/drawable-commands.h: removed duplicate function
	declarations (spotted by Karine Delvare).

Sven Neumann's avatar
Sven Neumann committed
393 394 395 396 397 398 399
2005-04-10  Sven Neumann  <sven@gimp.org>

	Merged from gimp-2-2 branch:

	* plug-ins/print/print.c: reverted the previous change, it was wrong
	(see bug #169909).

400 401 402 403 404 405 406
2005-04-10  Michael Natterer  <mitch@gimp.org>

	* app/file/file-utils.c
	* app/tools/gimpfliptool.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimppaletteselect.c: removed unneeded base/ includes.

Sven Neumann's avatar
Sven Neumann committed
407 408 409 410 411 412 413 414
2005-04-09  Sven Neumann  <sven@gimp.org>

	Merged from gimp-2-2 branch:

	* menus/Makefile.am
	* tips/Makefile.am: changed the validate rules to work with srcdir
	!= builddir.

415 416 417 418 419 420 421
2005-04-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbuffer.[ch]: added gimp_buffer_new_from_pixbuf().

	* app/widgets/gimpclipboard.c: removed
	tile_manager_new_from_pixbuf() and base/ dependency.

422 423 424 425 426
2005-04-09  Manish Singh  <yosh@gimp.org>

	* app/widgets/gimppixbuf.c: #include <string.h> for strcmp, and
	fix gdk_atom_intern usage.

427 428 429 430 431
2005-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: quote the shell command passed to execl().
	Fixes bug #169909.

432 433 434 435 436 437
2005-04-09  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/tools/gimpnewrectselecttool.[ch]
	* app/tools/gimprectangletool.[ch]: more work on rectangle
	tool ui.
	
438 439
2005-04-09  Michael Natterer  <mitch@gimp.org>

Sven Neumann's avatar
typos  
Sven Neumann committed
440 441
	Implement dragging and dropping in any GdkPixbuf supported format.
	Fixes bug #172794 and bug #172795.
442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465

	* app/core/gimplayer.[ch] (gimp_layer_new_from_region): new
	function which contains all stuff that was in
	gimp_layer_new_from_tiles().

	(gimp_layer_new_from_tiles): use above function.
	(gimp_layer_new_from_pixbuf): new function.

	* app/widgets/Makefile.am
	* app/widgets/gimppixbuf.[ch]: new files containing GdkPixbuf
	utility functions for clipboard and DnD.

	* app/widgets/gimpselectiondata.[ch]: removed
	gimp_selection_data_set,get_pixbuf(), GTK+ provides the same API.
	Also removed GdkAtom parameters all over the place because it's
	always the same as selection_data->target.

	* app/widgets/gimpclipboard.c: use the new pixbuf utility
	functions and gtk_selection_data_set,get_pixbuf().

	* app/widgets/widgets-enums.h
	* app/widgets/gimpdnd.[ch]: removed never-implemented
	GIMP_DND_TYPE_PNG and added a generic GIMP_DND_TYPE_PIXBUF
	instead. Added API to drag and drop GdkPixbufs which transparently
Sven Neumann's avatar
typos  
Sven Neumann committed
466
	converts from/to any GdkPixbuf-supported image format. Removed
467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483
	passing around of GdkAtoms, since they were always the same
	as selection_data->target.

	* app/widgets/gimpdnd-xds.[ch]: follow GdkAtom parameter removal.

	* app/widgets/gimpcontainertreeview.[ch]: added virtual function
	GimpContainerTreeView::drop_pixbuf().

	* app/widgets/gimpcontainertreeview-dnd.c: dispatch drop_pixbuf().

	* app/widgets/gimplayertreeview.c: implement drop_pixbuf().

	* app/widgets/gimpdrawabletreeview.c: allow to drag all drawables
	as pixbufs.

	* app/display/gimpdisplayshell-dnd.c: allow dropping of pixbufs.

484
2005-04-09  Bill Skaggs  <weskaggs@primate.ucdavis.edu>
485 486 487 488 489

	* plug-ins/common/screenshot.c: Change default back to Window
	rather than Root.  When shooting window, delay after instead
	of before selecting, so shooting menus etc becomes possible.

490 491 492 493 494 495
2005-04-09  Manish Singh  <yosh@gimp.org>

	* plug-ins/common/gifload.c (GetCode): GetDataBlock returns -1 on
	error, so count should be an int, not an unsigned char. Fixes
	bug #173119.

496 497 498 499 500 501
2005-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icosave.c: implement color counting without
	changing the image-type to RGB. A save plug-in must not change the
	image.

502 503 504 505 506 507 508 509
2005-04-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icodialog.c: rewrote preview code to use
	GtkImage and pixbufs. The previous implementation was severily
	broken.

	* plug-ins/winicon/icosave.c: cosmetics.

Sven Neumann's avatar
Sven Neumann committed
510 511 512 513
2005-04-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c: code cleanup, no real changes.

514 515 516 517 518
2005-04-08  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.[ch]: Applied Patch by Sven Neumann
	to use the new statusbar functionality.

Sven Neumann's avatar
Sven Neumann committed
519 520 521 522
2005-04-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: coding style, no real changes.

Sven Neumann's avatar
Sven Neumann committed
523
2005-04-08  Sven Neumann  <sven@gimp.org>
524 525 526 527

	* plug-ins/common/gauss.c: fixed preview for zero blur radii
	(bug #173039).

528 529 530 531
2005-04-08  Sven Neumann  <sven@gimp.org>

	* app/base/base.c: include libgimpbase/gimpwin32-io.h.

Sven Neumann's avatar
Sven Neumann committed
532 533 534 535
2005-04-07  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-path.c: added API documentation.

536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562
2005-04-07  Sven Neumann  <sven@gimp.org>

	* app/config/gimpcoreconfig.c
	* app/config/gimpguiconfig.c
	* app/config/gimppluginconfig.c: need to free the return value of
	gimp_config_build_foo_path() now that gimp_param_spec_path() is
	sane and doesn't take ownership of the passed string any longer.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/utils.c: use gimp_config_build_data_path().

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_browse.c
	* plug-ins/imagemap/imap_file.c
	* plug-ins/print/gimp_main_window.c: set alternative button order
	on file-chooser dialogs (as well as default response where missing).

563 564 565 566
2005-04-07  Sven Neumann  <sven@gimp.org>

	* docs/gimp.1.in: fixed typos and improved explanation of parasiterc.

567 568
2005-04-07  Sven Neumann  <sven@gimp.org>

569 570
	* app/widgets/gimpcolorframe.c
	(gimp_color_frame_set_color) (gimp_color_frame_set_invalid): only
571 572
	update the view if there's actually a change.

573 574 575 576 577 578 579 580 581 582 583 584
2005-04-07  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-utils.[ch]: changed GimpConfig utility
	functions to take GObject variables instead of GimpConfig. There's
	nothing GimpConfig specific about these utilities.

	* app/actions/templates-commands.c
	* app/actions/tool-options-commands.c
	* app/base/base.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpdisplayconfig.c
	* app/config/gimprc.c
585
	* app/config/gimprc-serialize.c
586 587 588 589 590 591
	* app/core/gimpimage-grid.c
	* app/core/gimpimage-new.c
	* app/core/gimpstrokedesc.c
	* app/dialogs/grid-dialog.c
	* app/dialogs/image-new-dialog.c
	* app/dialogs/stroke-dialog.c
592
	* app/dialogs/preferences-dialog.c
593 594 595 596
	* app/display/gimpdisplayshell.c
	* app/text/gimptextlayer.c
	* app/text/gimptextundo.c
	* app/tools/gimptextoptions.c
597
	* app/tools/gimptexttool.c: 
598 599
	* libgimpconfig/gimpconfig-iface.c: changed accordingly.

600 601 602 603 604 605 606
2005-04-07  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c (plug_in_actions_add_branch)
	* app/core/gimpinterpreterdb.c (resolve_extension)
	* app/widgets/gimpcolorframe.c (gimp_color_frame_update): plugged
	memleaks.

Sven Neumann's avatar
Sven Neumann committed
607 608 609 610 611 612 613
2005-04-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpmessagebox.c: plugged a small memleak.

	* libgimpwidgets/gimpcontroller.c: added a finalizer and free the
	allocated strings.

614 615 616 617 618 619 620 621 622 623 624
2005-04-06  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-utils.[ch]: added new function to reset
	a single property to its default value.

	* libgimpconfig/gimpconfig.def: updated.

	* app/config/gimpbaseconfig.[ch]: reverted last change.

	* app/base/base.c: use gimp_config_reset_property() instead.

625 626 627 628
2005-04-06  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am: don't use -mwindows when linking gimp-console.

629 630 631 632 633 634 635 636 637 638 639 640 641
2005-04-06  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-path.[ch] (gimp_param_spec_config_path):
	declare default_value as const and allocate a copy.

	* app/config/gimpbaseconfig.[ch]: gives access to the default values
	for temp and swap path.

	* app/base/base.c (base_init): create the temp directory if it
	doesn't exist (bug #172682).

	* plug-ins/uri/uri-backend-gnomevfs.c: fixed path in error message.

642 643 644 645 646 647 648
2005-04-06  Sven Neumann  <sven@gimp.org>

	* docs/Makefile.am: install a link to the gimp(1) man-page for
	gimp-console(1).

	* docs/gimp.1.in: mention gimp-console.

Sven Neumann's avatar
Sven Neumann committed
649 650 651 652 653 654
2005-04-06  Sven Neumann  <sven@gimp.org>

	* app/main.c: improved "--help" output.

	* docs/gimp.1.in: updated.

655 656 657 658 659
2005-04-05  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: build and install gimp-console by default.

660 661 662 663 664 665 666 667 668 669 670
2005-04-05  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/Makefile.am
	* app/plug-in/plug-ins-query.[ch]: new files containing
	plug_ins_query().

	* tools/pdbgen/pdb/plug_in.pdb (plugins_query): remove all code
	and use above function.

	* app/pdb/plug_in_cmds.c: regenerated.

671 672 673 674 675 676 677 678
2005-04-05  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/plug_in.pdb (plugins_query): strip the menu
	strings from underlines before matching. Fixed function to not
	match all procedures twice.

	* app/pdb/plug_in_cmds.c: regenerated.

Sven Neumann's avatar
Sven Neumann committed
679 680 681 682 683 684 685
2005-04-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/dbbrowser/gimpprocbrowser.c: s/Blurb/Description/

	* plug-ins/dbbrowser/gimpprocview.c: allow to select the menu path
	label.

Sven Neumann's avatar
Sven Neumann committed
686 687 688 689
2005-04-05  Sven Neumann  <sven@gimp.org>

	* app/dialogs/image-properties-dialog.c: shorter dialog title.

Sven Neumann's avatar
Sven Neumann committed
690 691 692 693
2005-04-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptemplateeditor.c: s/Colorspace/Color space/

694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711
2005-04-05  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/info-window.[ch]: removed.

	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]
	* menus/image-menu.xml.in: removed its action and menu stuff.

	* app/display/gimpdisplayshell-cursor.c
	* app/display/gimpdisplayshell-title.c
	* app/display/gimpdisplayshell.[ch]: removed info window stuff.
	This was the last display -> dialogs dependency.

	* app/dialogs/dialogs.c: added ugly hack that references
	info_dialog. Otherwise the still existing tools -> dialogs
	dependency breaks the build.

712 713 714 715 716 717 718 719 720
2005-04-05  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]
	* app/core/gimpimage.c
	(gimp_image_remove_layer, gimp_image_remove_channel): handle a
	floating selection attached to the layer or channel that is being
	removed.  Fixes bug #168582 but doesn't handle floating selections
	attached to layer masks.

721 722 723 724 725 726 727 728 729 730
2005-04-05  Sven Neumann  <sven@gimp.org>

	* configure.in: renamed localedir to gimplocaledir.

	* libgimpbase/Makefile.am (AM_CPPFLAGS)
	* tools/Makefile.am (AM_CPPFLAGS): changed accordingly.

	* gimp.pc.in: added gimplocaledir to the pkg-config file to give
	plug-ins a chance to get gimp_locale_directory() at compile time.

731 732 733 734 735
2005-04-05  Sven Neumann  <sven@gimp.org>

	* configure.in: select localedir according to the format of the
	gettext message catalogs. Closes bug #169274 again.

736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754
2005-04-05  Michael Natterer  <mitch@gimp.org>

	More unfinished replacement for the info window:

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpimagepropview.[ch]: new widget showing an image's
	size, resolution, mode, memsize etc.

	* app/dialogs/Makefile.am
	* app/dialogs/image-properties-dialog.[ch]: a dialog keeping the
	widget.

	* app/widgets/gimphelp-ids.h: a help ID for the dialog.

	* app/actions/image-actions.c
	* app/actions/image-commands.[ch]
	* menus/image-menu.xml.in: action and menu entry for the dialog.

Sven Neumann's avatar
Sven Neumann committed
755 756 757 758 759
2005-04-04  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpclonetool.c (gimp_clone_tool_oper_update): check
	for options->clone_type.

760 761 762 763 764 765
2005-04-04  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppainttool.[ch] export paint tool statusbar API.
	
	* app/tools/gimpclonetool.c: added statusbar hint.

766 767 768 769 770
2005-04-04  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpenv.c (gimp_directory): use g_ascii_isalnum()
	instead of isalnum(). Rephrased some comments.

771 772 773 774 775 776 777 778 779 780 781 782
2005-04-04  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_edit_area_info.c
	* plug-ins/imagemap/imap_menu.c
	* plug-ins/imagemap/imap_stock.c: replaced 2 icons by GIMP stock
	icons

	* plug-ins/imagemap/images/Makefile.am: changed accordingly
	
	* plug-ins/imagemap/images/stock-arrow.png
	* plug-ins/imagemap/images/stock-link.png: removed accordingly
	
783 784 785 786 787
2005-04-04  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c (gimp_data_create_filename): return early if
	called for an internal data object. Fixes bug #172581.

788 789 790 791 792
2005-04-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/deinterlace.c (deinterlace): fixed boundary
	conditions that led to incorrect preview (bug #172589).

793 794 795 796 797 798 799 800
2005-04-04  Tor Lillqvist  <tml@novell.com>

	* app/widgets/gimpclipboard.c (gimp_clipboard_format_compare): On
	Win32, move the "bmp" format to the front. Means less conversion
	in most cases, as other apps on Win32 typically provide/want the
	BMP format on the Clipboard. (Actually CF_DIB, but that's the
	same, just without the BMP file header.) See also bug #168173.

801 802 803 804 805
2005-04-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c: fixed typo that
	caused a crash when deleting a fractal from the list (bug #172347).

Sven Neumann's avatar
Sven Neumann committed
806 807 808 809
2005-04-03  Sven Neumann  <sven@gimp.org>

	* configure.in (ALL_LINGUAS): readded "rw" (Kinyarwanda).

810 811 812 813 814 815
2005-04-03  Jakub Steiner <jimmac@ximian.com>

	* themes/Default/images/stock-cursor-16.png
	* themes/Default/images/stock-cursor-24.png
	* themes/Default/images/stock-sample-point-16.png
	* themes/Default/images/stock-sample-point-24.png: touch up a
Sven Neumann's avatar
Sven Neumann committed
816
	little.
817

818 819 820 821 822 823 824 825 826 827
2005-04-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcursorview.[ch]: fixed spacings and update them
	in GtkWidget::style_set(). Removed lots of cruft from the widget
	this files were copied from, including the GimpContext param
	to gimp_cursor_view_new(). Remember the state of the two color
	frames as aux-info in sessionrc.

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

828 829 830 831 832 833
2005-04-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorframe.c (gimp_color_frame_init): switch
	from a table to a vbox containing hboxes, so the widget's width is
	not determined by the longest label *plus* the longest value.

834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875
2005-04-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.[ch]: added new signals "sample-point-added"
	and "sample-point-removed" and public functions to emit them.

	* app/core/gimpimage-sample-points.c (gimp_image_add_sample_point)
	(gimp_image_remove_sample_point): emit them accordingly.

	* app/core/gimpimage-undo-push.c (undo_pop_image_sample_point):
	ditto.

	(undo_pop_image_guide)
	(undo_pop_image_sample_point): added comments why we add/remove
	stuff manually instead of using the GimpImage APIs.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcursorview.[ch]
	* app/widgets/gimpsamplepointeditor.[ch]: new widgets.
	GimpCursorView is a replacement for the info window's "Cursor"
	page, GimpSamplePointEditor is a view on an image's sample points.
	The sample point editor does nothing yet except keeping a 2x2 grid
	of GimpColorFrames. Addresses bug #137776.

	* app/dialogs/dialogs.c
	* app/dialogs/dialogs-constructors.[ch]: register the new widgets
	as dockable dialogs.

	* app/actions/dialogs-actions.c (dialogs_dockable_actions)
	* menus/dialogs-menuitems.xml: added actions and menu items for
	the new dialogs.

	* app/display/gimpdisplayshell-cursor.c
	(gimp_display_shell_update_cursor)
	(gimp_display_shell_clear_cursor): update the new cursor view.

	* app/widgets/gimphelp-ids.h: help IDs for the new dialogs.

	* app/widgets/widgets-enums.[ch] (enum GimpColorFrameMode):
	changed description "Pixel values" to "Pixel" because the former
	was too long.

876 877 878 879 880 881 882 883 884 885 886 887
2005-04-02  Michael Natterer  <mitch@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-cursor-16.png
	* themes/Default/images/stock-cursor-24.png
	* themes/Default/images/stock-sample-point-16.png
	* themes/Default/images/stock-sample-point-24.png: new icons for
	new dockables which are about to be added. Jimmac, I made them
	as ugly as possible, as you said :)

	* libgimpwidgets/gimpstock.[ch]: add them as stock icons.

888 889 890 891 892
2005-04-01  Michael Natterer  <mitch@gimp.org>

	* configure.in: revert previous commit because not all po files
	were added and the ALL_LINGUAS change was broken too.

893 894
2005-04-01  Steve Murphy  <murf@e-tools.com>

Sven Neumann's avatar
Sven Neumann committed
895
	* configure.in: Added "rw" to ALL_LINGUAS.
896

897 898 899 900 901
2005-04-01  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_push): do nothing if
	this message is at the top of the stack already.

902 903 904 905 906
2005-04-01  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppainttool.c: added a statusbar message suggesting
	to use Shift to draw a straight line.

907 908 909 910 911
2005-04-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/rcm/rcm_dialog.c: keep the previews from expanding. Fixes
	bug #172284.

912 913
2005-04-01  Sven Neumann  <sven@gimp.org>

Sven Neumann's avatar
Sven Neumann committed
914
	* configure.in (ALL_LINGUAS): removed "sl" until all required files
915 916
	have been added to CVS.

917 918 919 920 921
2005-03-31  Manish Singh  <yosh@gimp.org>

	* app/dialogs/quit-dialog.c (quit_dialog_new): cast to
	GIMP_CONTAINER_VIEW for gimp_container_view_get_dnd_widget()

922 923 924 925 926 927 928 929 930 931 932 933 934
2005-03-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/gimpfgbgview.[ch]
	* app/widgets/widgets-types.h: added new widget GimpFgBgView;
	somewhat similar to GimpFgBgEditor but a lot simpler.

	* app/widgets/gimpcoloreditor.c: use GimpFgBgView as preview widget.
	Closes bug #168592.

	* app/widgets/gimpfgbgeditor.c: gracefully handle a very small
	size allocation.

935 936 937 938 939
2005-03-31  Sven Neumann  <sven@gimp.org>

	* app/dialogs/quit-dialog.c: enable save via DND from the image
	list in the quit dialog.

940 941 942 943 944
2005-03-31  Sven Neumann  <sven@gimp.org>

	* app/dialogs/quit-dialog.c: use GTK_STOCK_DELETE for the "Discard
	Changes" button.

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

	* app/display/gimpdisplayshell-close.c
	(gimp_display_shell_close_dialog): use GTK_STOCK_DELETE for the
	"Don't Save" button.

951 952 953 954 955
2005-03-30  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_label_set_attributes): fixed
	copy-n-paste bug that affected PANGO_ATTR_SIZE.

956 957 958 959 960
2005-03-30  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpvectortool.c (gimp_vector_tool_status_update):
	set a different help message in polygonal mode. Fixes bug #172051.

961 962
2005-03-30  Sven Neumann  <sven@gimp.org>

Sven Neumann's avatar
Sven Neumann committed
963 964
	* app/widgets/gimpclipboard.c: when GIMP exits and a clipboard
	manager is available, store the clipboard content.
965

966 967 968 969 970
2005-03-28  Sven Neumann  <sven@gimp.org>

	* app/dialogs/resize-dialog.c (resize_dialog_new): handle
	gimp_viewable_get_pixbuf() returning NULL. Fixes bug #171827.

971 972 973 974 975 976 977 978 979 980 981
2005-03-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_find_scripts):
	removed menu branch registering here (this function is called on
	each refresh).

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
	renamed from script_fu_auxillary_init(), this function is only
	called once when the extension starts up. Register the menu
	branches here.

982 983 984 985 986
2005-03-26  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_colorblind.c (lut_lookup): actually do a binary
	search, not a linear search starting in the middle.

987 988 989 990 991 992
2005-03-26  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-close.c
	(gimp_display_shell_close_dialog): added an icon to the "Don't Save"
	button.

993 994 995 996 997 998
2005-03-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c: don't add the same target multiple times.
	This used to happen when  gimp_dnd_foo_source_add() is called
	after calling gimp_dnd_drag_source_set_by_type().

999 1000 1001 1002 1003
2005-03-26  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablecombobox.c
	* libgimp/gimpimagecombobox.c: accept DND of image / drawable IDs.

1004 1005 1006 1007 1008
2005-03-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptoolbox-image-area.c: added a hint about XDS to
	the tooltip, but only if compiled for X11.

1009 1010 1011 1012 1013 1014
2005-03-26  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_colorblind.c: use the same LUT for all color
	channels. Do a binary search in the LUT for the backward
	transformation.

1015 1016 1017 1018 1019 1020 1021
2005-03-26  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_colorblind.c: applied a modified version of
	a patch by Gautier Portet that introduces a LUT for the gamma
	correction (bug #101256). Also moved constants out of the
	CdisplayColorblind struct.

1022 1023 1024 1025 1026
2005-03-26  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c: disconnect from the config in dispose
	instead of in finalize.

1027 1028 1029 1030
2005-03-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpread.c: better error message (bug #171646).

1031 1032 1033
2005-03-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.c (gimp_dockable_add): initialize the
Sven Neumann's avatar
Sven Neumann committed
1034
	tab style to a supported one. Fixes bug #171567.
1035

1036 1037 1038 1039 1040
2005-03-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpread.c: applied patch from David Costanzo that
	initializes unspecified pixels in RLE bitmaps. Fixes bug #171562.

1041 1042 1043 1044 1045 1046 1047 1048 1049 1050
2005-03-25  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-save-dialog.c
	* app/widgets/gimpfiledialog.[ch]: moved overwrite confirmation
	dialog to app/widgets.

	* app/widgets/gimpdnd-xds.c: set "Untitled.xcf" as default name
	for untitled images; ask for confirmation before overwriting a
	local file.

1051 1052 1053 1054 1055 1056
2005-03-25  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/common/emboss.c: fix usage of RGBA data,
	change to premultiplied alpha for embossing, hopefully
	fixes bug #72864.

Sven Neumann's avatar
Sven Neumann committed
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066
2005-03-25  Sven Neumann  <sven@gimp.org>

	* app/core/gimpmarshal.list: added VOID: OBJECT, OBJECT.

	* app/widgets/gimpview.[ch]: pass old and new viewable in the
	"set-viewable" signal.

	* app/widgets/gimptoolbox-image-area.c: don't add the XDS drag source
	more than once.

1067 1068 1069 1070 1071
2005-03-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd-xds.c (gimp_dnd_xds_save_image): in case of
	an error, answer with E (error) instead of F (failure).

1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082
2005-03-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpview.[ch]: virtualized GimpView::set_viewable.

	* app/widgets/gimptoolbox-image-area.c: hook into "set_viewable"
	and add an XDS drag source.

	* app/widgets/gimpdnd-xds.c
	* app/widgets/gimpdnd.c: unset the XdndDirectSave0 property when
	the drag ends, minor cleanups.

1083 1084
	* app/widgets/gimpimageview.c: removed unused function prototype.

1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096
2005-03-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/gimpdnd-xds.[ch]: new files.

	* app/widgets/gimpdnd.[ch]
	* app/widgets/widgets-enums.h: added a basic XDS (Direct Save
	Protocol) implementation.

	* app/widgets/gimpimageview.c: allow to save images by dragging
	them from the Images dialog to an XDS capable file manager.

1097 1098 1099 1100 1101
2005-03-25  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/common/displace.c: Fixed off-by-one error in check for
	number of passed parameters.

1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112
2005-03-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.[ch]: added
	gimp_prop_file_chooser_button_new(), a convenience constructor for
	GtkFileChooserButton.

	* libgimpwidgets/gimpwidgets.def: updated.

	* app/dialogs/preferences-dialog.c: use the new prop widget on the
	color management page.

1113 1114 1115 1116 1117 1118 1119
2005-03-24  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* configure.in
	* plug-ins/common/screenshot.c: allow option of screenshot
	without decorations if libXmu is present (fixes bug #133626),
	clean up code a bit.

1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134
2005-03-24  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]
	* app/core/gimpimage-undo-push.[ch]
	* app/core/gimplayermask.[ch]: eek, my fault... removed
	GIMP_UNDO_LAYER_MASK_EDIT stuff again because that just determines
	the active drawable, which must not affect undo.

	* app/pdb/pdb_glue.h
	* app/actions/layers-commands.c (layers_mask_edit_cmd_callback):
	changed accordingly.

	(layers_mask_disable_cmd_callback): reverted last change. the old
	code was correct.

1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147
2005-03-24  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch] (enum GimpUndoType) : reordered values
	so layer and layer mask undos are grouped together.

	* app/core/gimpimage-undo-push.[ch]: same here. Changed the new
	layer mask undos to have 3 simple push functions for the 3
	properties, just as the layer property undos. Also made the code
	look like the layer properties undo stuff.

	* app/core/gimplayermask.c (gimp_layer_mask_set_apply,edit,show):
	changed accordingly.

1148 1149 1150 1151 1152 1153 1154
2005-03-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.h (Bitmap_Head_Struct)
	* plug-ins/bmp/bmpread.c: use a signed long for width and height
	and check that width is > 0 (negative height is allowed and
	handled by our code). Fixes bug #171453.

1155 1156 1157 1158 1159
2005-03-24  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/core/gimpimage-undo-push.[ch]
	* app/core/gimplayermask.c: fix compile warnings. 

1160 1161 1162
2005-03-24  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_push_coords) 
Sven Neumann's avatar
Sven Neumann committed
1163
	(gimp_statusbar_set_cursor): use RINT() instead of ROUND() to get
1164 1165
	proper rounding of negative values. Fixes bug #171497.

1166 1167 1168 1169 1170 1171 1172 1173 1174
2005-03-24  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/core/core-enums.[ch]
	* app/core/gimpimage-undo-push.[ch]
	* app/core/gimplayermask.[ch]: 
	* app/pdb/pdb_glue.h
	* app/actions/layers-commands.c: try again from clean tree;
	hopefully will work this time.  (bug #148852)
	
1175 1176 1177 1178 1179 1180
2005-03-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/*.scm: don't mark menu branches for
	translation; the translatable branch name is registered by the
	Script-Fu extension.

1181 1182 1183 1184 1185 1186 1187 1188 1189
2005-03-24  Michael Natterer  <mitch@gimp.org>

	Added API to explicitly register dynamic menu items hierarchies.
	Fixes bug #170623.

	* app/core/gimp.h: added "GSList *plug_in_menu_branches".

	* app/plug-in/plug-in-types.h
	* app/plug-in/plug-ins.[ch]: added API to register plug-in menu
1190
	branches, just as for locale and help domains. Cleaned up handling
1191 1192 1193 1194 1195 1196 1197 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
	of locale and help domains.

	(plug_ins_exit): free the registered menu branches.

	* app/actions/plug-in-actions.[ch] (plug_in_actions_add_branch):
	new function to explicitly add a menu branch action.

	(plug_in_actions_setup): add the registered menu branches to each
	new action group.

	(plug_in_actions_build_path): always strip the untranslated menu
	path from underlines before using it as hash table key or action
	name.

	* app/menus/plug-in-menus.c (plug_in_menus_add_proc): changed
	accordingly: strip underlines from untranslated menu paths before
	passing them to plug_in_menus_build_path().

	* app/core/gimp-gui.[ch]: added gimp_menus_create_branch() plus
	vtable entry to access the new stuff from the core. Renamed the
	functions desling with items from gimp_foo_entry() to
	gimp_foo_item().

	* app/gui/gui-vtable.c: implement create_branch() and add the
	branch action to all existing "plug-in" action groups. Note that
	we don't need to create any menus because that happens implicitly
	when adding menu items.

	* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_branch_register): new
	PDB wrapper to access branch registering from plug-ins.

	* app/pdb/internal_procs.c
	* app/pdb/plug_in_cmds.c
	* libgimp/gimpplugin_pdb.[ch]: regenerated.

	* libgimp/gimp.def: changed accordingly.

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_find_scripts):
	register the menu branches for all included scripts.

Sven Neumann's avatar
Sven Neumann committed
1231 1232 1233 1234
2005-03-24  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolormapeditor.c: use a GimpColorHexEntry widget.

1235 1236 1237 1238 1239 1240
2005-03-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpread.c: applied a patch from David Costanzo that
	fixes handling of odd-length pixel encodings in "absolute mode" of
	RLE4 compressed data (bug #171306).

Sven Neumann's avatar
Sven Neumann committed
1241 1242 1243 1244 1245 1246 1247 1248
2005-03-24  Sven Neumann  <sven@gimp.org>

	Merged from gimp-2-2 branch:

	* app/widgets/gimphistogrameditor.c: change to the Value channel
	if the current channel becomes invalid due to an image mode change.
	Fixes bug #170116.

1249 1250 1251 1252 1253 1254 1255
2005-03-24  Sven Neumann  <sven@gimp.org>

	* app/actions/layers-commands.c
	* app/core/core-enums.[ch]
	* app/core/gimpimage-undo-push.[ch]
	* app/pdb/pdb_glue.h: reverted Bill's changes to fix the build.

1256 1257 1258 1259 1260 1261 1262 1263 1264
2005-03-23  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/core/core-enums.[ch]
	* app/core/gimpimage-undo-push.[ch]
	* app/pdb/pdb_glue.h
	* app/actions/layers-commands.c: make layer mask property changes
	undoable, should fix bug #148852.  Note that a little shape-layer
	stuff is in core-enums, will be needed shortly.
	
1265 1266 1267 1268 1269 1270
2005-03-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: seperated platform specific code into
	individual functions; should make it easier to contribute the missing
	platform specific code ...

1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294
2005-03-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/alien-neon-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/bovinated-logo.scm
	* plug-ins/script-fu/scripts/chalk.scm
	* plug-ins/script-fu/scripts/chip-away.scm
	* plug-ins/script-fu/scripts/chrome-logo.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/frosty-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/neon-logo.scm
	* plug-ins/script-fu/scripts/starburst-logo.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/t-o-p-logo.scm
	* plug-ins/script-fu/scripts/textured-logo.scm: no need to set the
	text as name of the text layer. The text layer is created with that
	name already.

1295 1296 1297 1298 1299
2005-03-24  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpmessagebox.h
	* libgimpconfig/gimpconfigwriter.h: added G_GNUC_PRINTF attributes.

1300 1301 1302 1303 1304
2005-03-23  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/common/screenshot.c: add ability to define region
	by pointer-dragging.  UI may need tweaking.

1305 1306 1307 1308 1309
2005-03-23  Sven Neumann  <sven@gimp.org>

	* app/display/gimpcanvas.[ch] (gimp_canvas_draw_text): fixed
	gtk-doc comments; added G_GNUC_PRINTF attribute.

1310 1311 1312 1313 1314 1315 1316
2005-03-23  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpselectiondata.c (gimp_selection_data_get_image)
	(gimp_selection_data_get_component)
	(gimp_selection_data_get_item): same fix as below for ID-based DND
	types.

1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328
2005-03-23  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppalettemenu.c
	* libgimp/gimppatternmenu.c: accept names passed over DND no matter
	whether they are NULL-terminated or not.

	* app/widgets/gimpselectiondata.c: same change here, also
	UTF8-validate the selection data before accepting it.

1329 1330 1331 1332 1333 1334 1335 1336 1337
2005-03-23  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppalettemenu.c
	* libgimp/gimppatternmenu.c: accept drops on selection widgets as
	requested in bug #10677.

1338 1339 1340 1341 1342
2005-03-23  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpmenu.c: added gtk-doc comments explaining what
	functions to use instead of these deprecated ones.

1343 1344 1345 1346 1347 1348 1349 1350
2005-03-23  Sven Neumann  <sven@gimp.org>

	* app/base/tile-swap.c (tile_swap_init): create the swap directory
	if it doesn't exist. Will still fail if the parent directory is not
	available. Still good enough to close bug #167506.

	* app/app_procs.c: tweaked error message.

1351 1352 1353
2005-03-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colortoalpha.c: unset "Keep transparency", it is
1354
	not what the user wants if this plug-in is being used (bug #151910).
1355

1356 1357 1358 1359 1360 1361
2005-03-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: removed global variables; added a
	short delay after destroying the dialog so that the root window
	gets redrawn; moved camera icon to the action button.

1362 1363 1364 1365 1366
2005-03-22  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/common/screenshot.c: always derive image from root
	window, fixes bug #144788.
	
1367 1368 1369 1370 1371 1372 1373
2005-03-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactiongroup.c
	* app/widgets/gimpcolorpanel.c: use gtk_action_set_sensitive()
	and gtk_action_set_visible() instead of setting the respective
	properties.

1374 1375 1376 1377 1378 1379
2005-03-22  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* configure.in: raise required librsvg version to 2.8.0
	* plug-ins/common/svg.c: change deprecated librsvg api,
	fixes bug #147662.
	
1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390
2005-03-21  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/common/sparkle.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/struc.c
	* plug-ins/common/tileit.c
	* plug-ins/common/warp.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/common/wind.c: handle situation where intersection
	of selection and drawable is empty; progress on bug #155733.

1391 1392 1393 1394 1395 1396 1397 1398
2005-03-21  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/tools/gimptransformtool.c
	* app/tools/gimpfliptool.c
	* app/core/gimpdrawabletransform.c: avoid messages and critical
	error when transforming a drawable that does not intersect
	the selection.  

1399 1400 1401 1402 1403 1404
2005-03-21  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpink.c: changed time-smoother code to use guint32
	time values externally, guint64 internally. Proper fix for bug
	#164272.

1405 1406 1407
2005-03-21  Sven Neumann  <sven@gimp.org>

	* app/actions/dialogs-actions.h: bail out if
Sven Neumann's avatar
typo  
Sven Neumann committed
1408
	widgets/gimpactiongroup.h has not been included beforehand.
1409

Sven Neumann's avatar
typo  
Sven Neumann committed
1410
	* app/actions/actions.c: include widgets/gimpactiongroup.h. Fixes
1411 1412
	build with amd64/gcc-4.0 (Debian bug report #300227).

1413 1414 1415 1416 1417
2005-03-21  Sven Neumann  <sven@gimp.org>

	* etc/controllerrc: fixed defaults for mouse wheel controller (bug
	#171083, fix spotted by Michael Schumacher).

1418 1419 1420 1421 1422 1423
2005-03-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_constructor): disable search for tree
	views so that treeview typeahead doesn't collide with global
	accelerators. Fixes bug #169339 and would suck less if bug #170435
1424
	was fixed.
1425

1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443
2005-03-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-utils.[ch]: changed all transform
	utilities to modify the passed transform matrix instead of
	creating a new one.

	* app/text/gimptextlayer-transform.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/vectors/gimpvectors.c
	* tools/pdbgen/pdb/drawable_transform.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.

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

1444 1445 1446 1447 1448
2005-03-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icosave.c (ico_create_palette): fixed parameter
	check, NULL is valid for an empty palette. Fixes bug #170812.

1449 1450 1451 1452 1453 1454 1455 1456
2005-03-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert.c (gimp_image_convert): added missing
	period in newly added message.

	* app/dialogs/convert-dialog.c (convert_dialog_palette_filter): don't
	show empty palettes (bug #170973).

1457 1458 1459 1460 1461 1462
2005-03-21  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpmeasuretool.[ch]: added width and height to the
	info displayed in the statusbar and the info window.
	Fixes bug #165275.

1463 1464 1465 1466 1467
2005-03-20  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* libgimpwidgets/gimpcolorscales.c (gimp_color_scales_update_scales):
	Block callback when updating hex entry, fixes bug #169882.
	
1468 1469 1470 1471 1472 1473
2005-03-20  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/core/gimpimage-convert.c: check for non-empty palette
	before converting to indexed using custom palette, otherwise
	show warning and abort;	fixes bug #170973.

1474 1475 1476 1477 1478 1479
2005-03-20  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/core/gimpimage-convert.c: applied patch from Adam
	Moss converning gray->indexed conversion,
	fixes bug #170825.

1480 1481 1482 1483 1484 1485
2005-03-20  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext.[ch]
	* app/text/gimptextlayer-transform.[ch]: some infrastructure for
	text transforms.

Sven Neumann's avatar
Sven Neumann committed
1486 1487 1488 1489 1490 1491 1492 1493
2005-03-20  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-utils.c (gimp_transform_matrix_perspective):
	cosmetic changes.

	* libgimpmath/gimpmatrix.[ch]
	* libgimpmath/gimpmath.def: added gimp_matrix_is_affine().

1494 1495 1496 1497 1498 1499 1500 1501 1502 1503
2005-03-19  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-sample-points.c
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell.c
	* app/tools/gimpcolortool.c: make sure sample points always have
	coordinates in the range [0..width/height-1], also added lots of
	+0.5 because they live at the pixels' centers, not at their
	borders. Fixed drawing of sample points at the display borders.

1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516
2005-03-19  Manish Singh  <yosh@gimp.org>

	* app/config/Makefile.am: actually link test program with
	libgimpconfig.

	* app/Makefile.am
	* libgimpwidgets/Makefile.am: reordered library link order to be
	consistent with shared library dependencies.

	* plug-ins/common/mkgen.pl: Cosmetic fix to the generated Makefile.am.

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

Manish Singh's avatar
Manish Singh committed
1517 1518 1519 1520
2005-03-19  Manish Singh  <yosh@gimp.org>

	* gimp.spec.in: Remove outdated file.

1521 1522 1523 1524 1525 1526 1527 1528 1529
2005-03-19  Manish Singh  <yosh@gimp.org>

	* app/composite/gimp-composite-altivec.[ch]: More accelerated functions
	(screen, grain_merge, grain_extract, divide, dodge) from Frederic
	Leroy.

	* app/composite/gimp-composite-altivec-installer.c
	* app/composite/gimp-composite-altivec-test.c: regenerated.

1530 1531 1532 1533 1534 1535 1536 1537
2005-03-19  Manish Singh  <yosh@gimp.org>

	* app/composite/gimp-composite-altivec.[ch]: More accelerated functions
	(multiply, blend) from Frederic Leroy.

	* app/composite/gimp-composite-altivec-installer.c
	* app/composite/gimp-composite-altivec-test.c: regenerated.

1538 1539 1540 1541 1542 1543
2005-03-18  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/common/fp.c: use callbacks to handle
	"size-allocate" for preview size changes, fixes 
	bug #160032.
	
1544 1545 1546 1547 1548 1549
2005-03-18  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/core/gimpimage-convert.c:  when converting grayscale
	to mono, treat the palette as gray rather than rgb, giving
	more than tenfold speedup.  Fixes bug #170801.

1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563
2005-03-18  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainerview.c: make "preview-size" and
	"preview-border-width" construct properties. Fixes creation
	using g_object_new().

	* app/widgets/gimpcontainerentry.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimplayertreeview.c (set_preview_size): handle
	unset model and/or view gracefully.

	* app/dialogs/image-new-dialog.c: unset "focus-on-click" on the
	template combo-box.

1564 1565 1566 1567 1568
2005-03-17  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/common/fp.c:  major code cleanup, make it
	Repeat and Re-Show properly.  Should fix bug #141032.

1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581
2005-03-17  Sven Neumann  <sven@gimp.org>

	* app/actions/layers-actions.c
	* app/actions/plug-in-actions.c
	* app/actions/view-actions.c
	* plug-ins/common/compose.c
	* plug-ins/common/dog.c
	* plug-ins/pygimp/plug-ins/py-slice.py
	* plug-ins/script-fu/scripts/i26-gunya2.scm
	* plug-ins/script-fu/scripts/news-text.scm
	* plug-ins/script-fu/scripts/text-circle.scm: applied patch from
	Michael Terry that adds missing mnemonics (bug #106991).

1582 1583 1584 1585 1586
2005-03-16  Sven Neumann  <sven@gimp.org>

	* app/base/gimphistogram.c: fixed checks for uncalculated histogram.
	Fixes bug #170570.

1587 1588 1589 1590 1591 1592
2005-03-14  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/tools/gimpnewrectselecttool.c
	* app/tools/gimprectangletool.[ch]: improve cursor handling and
	other aspects of ui for rectangle tools.

1593 1594 1595 1596
2005-03-14  Shlomi Fish  <shlomif@iglu.org.il>

	* app/paint-funcs/paint-funcs.c
	* app/paint-funcs/paint-funcs-generic.h: fix bug #143315. When the
1597 1598
	visibility of the Alpha channel is turned off, it should make
	alpha=255.
1599

1600 1601 1602 1603 1604 1605 1606 1607
2005-03-13  Manish Singh  <yosh@gimp.org>

	* app/composite/gimp-composite-altivec.[ch]: More accelerated functions
	from Frederic Leroy.

	* app/composite/gimp-composite-altivec-installer.c
	* app/composite/gimp-composite-altivec-test.c: regenerated.

1608 1609 1610 1611 1612
2005-03-13  Sven Neumann  <sven@gimp.org>

	* app/dialogs/print-size-dialog.c (print_size_dialog_response):
	handle the resolution unit correctly, fixes bug #170200.

1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626
2005-03-13  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/drawable_transform.pdb
	(drawable_transform_scale)
	(drawable_transform_scale_default): applied fix from Theodor de
	Ment which fixes a wrong precondition check which made certain
	scale operations impossible. Fixes bug #170195.

	* tools/pdbgen/pdb/transform_tools.pdb (scale): fixed the same
	copy & paste bug here.

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

1627 1628 1629 1630 1631 1632 1633
2005-03-12  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/common/winclipboard.c: applied a patch from 
	Sven Neumann that removes the paste functionality from the
	plug-in. Since GTK+ 2.6.x, this isn't needed anymore. 
	Fixes bug #168488.  

1634 1635 1636 1637 1638 1639 1640 1641
2005-03-12  Sven Neumann  <sven@gimp.org>

	* app/base/hue-saturation.[ch]
	* app/tools/gimphuesaturationtool.[ch]: applied a patch from Joao
	S. O. Bueno Calligaris and modified it a little. This adds a way
	to control the overlap between hue ranges in the Hue Saturation
	tool (bug #166628).

1642 1643 1644 1645 1646 1647 1648
2005-03-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/despeckle.c: test intensity against white and
	black level, not only the red channel. Improved border behavior.
	Iterate over the pixels row-by-row, instead of jumping through the
	data column-wise.

1649 1650 1651 1652 1653 1654
2005-03-11  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/core/gimpstrokedesc.h
	* app/core/gimpstrokedesc.c (gimp_stroke_desc_duplicate):
	New function, will be needed for shape layers.
	
1655