ChangeLog 145 KB
Newer Older
1 2 3 4 5 6
2009-01-10  Martin Nordholts  <martinn@svn.gnome.org>

	* app/config/gimpdisplayconfig.c: Allow marching ant speeds as
	slow as one step per 10 seconds since for some remote sessions the
	minimum of 1 step per second is too fast.

7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
2009-01-10  Sven Neumann  <sven@gimp.org>

	Bug 471344  Circular brush strokes are not smooth and have corners

	Bug 127785  stroking with size linked to pressure sensitivity
	should scale the spacing

	* app/core/gimpcoords-interpolate.[ch]
	* app/display/gimpdisplayshell.[ch]
	* app/display/gimpdisplayshell-callbacks.[ch]
	* app/display/gimpdisplayshell-coords.[ch]: applied patch from
	Alexia Death that introduces a Catmul-Rom splines based event
	interpolation and also adapts the brush spacing to brush size.

2009-01-06  Sven Neumann  <sven@gimp.org>

	Bug 565046  Point snapping to guides does not work outside the
	canvas

	* app/core/gimpimage-snap.c: applied patch from Daniel Hornung
	that introduces the utility function gimp_image_snap_grid() to
	clean up and fix guide snapping.

30 31 32 33 34 35 36
2009-01-06  Sven Neumann  <sven@gimp.org>

	Bug 566498  Noise distribution error in RGB Noise and HSV Noise

	* plug-ins/common/noise-hsv.c
	* plug-ins/common/noise-rgb.c: applied patch from Marco Rossini.

37 38 39 40 41 42 43
2009-01-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcombotagentry.c
	(gimp_combo_tag_entry_constructor): connect to entry->container's
	signals with g_signal_connect_object() so the entry can be
	destroyed without warning/crashing.

44 45 46 47 48 49 50 51 52
2009-01-04  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 562818 – First image opened in GIMP offset

	* app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
	Only rely on disp_width/height for border calculation if they are
	larger than 1. If not, special-case the calculation so we don't
	get a severly mispositioned image.

53 54 55 56 57
2009-01-04  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
	Rename border_x to border_width and border_y to border_height.

58 59 60 61 62 63 64 65
2009-01-04  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 562213  Align Tool doesn't work properly if it is the active
	tool at startup

	* app/tools/gimpaligntool.c: Perform NULL-pointer dodging to avoid
	crashing.

66 67 68 69 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
2009-01-04  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpdock.[ch]: Make instance members private.

	(gimp_dock_get_context)
	(gimp_dock_get_dialog_factory)
	(gimp_dock_get_dockbooks)
	(gimp_dock_get_main_vbox)
	(gimp_dock_get_vbox)
	(gimp_dock_get_id): New getters.

	* app/actions/actions.c
	* app/actions/dockable-actions.c
	* app/actions/dockable-commands.c
	* app/actions/windows-actions.c
	* app/menus/windows-menu.c
	* app/widgets/gimpdialogfactory.c
	* app/widgets/gimpdock.c
	* app/widgets/gimpdock.h
	* app/widgets/gimpdockable.c
	* app/widgets/gimpdockbook.c
	* app/widgets/gimpdockseparator.c
	* app/widgets/gimpimagedock.c
	* app/widgets/gimpmenudock.c
	* app/widgets/gimpsessioninfo-book.c
	* app/widgets/gimpsessioninfo-dock.c
	* app/widgets/gimpsessioninfo-dockable.c
	* app/widgets/gimptoolbox-color-area.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimptoolbox-image-area.c
	* app/widgets/gimptoolbox-indicator-area.c
	* app/widgets/gimptoolbox.c: Use new getters.

99 100 101 102 103
2009-01-03  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpcontainertreeview.c: Format static function
	prototypes.

Sven Neumann's avatar
Sven Neumann committed
104 105 106 107
2009-01-01  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptexttool.c: removed unused include.

108 109 110 111 112 113 114
2009-01-01  Sven Neumann  <sven@gimp.org>

	Bug 565112 – code duplication in app/core/gimpimage-snap.c

	* app/core/gimpimage-snap.c: based on a patch from Daniel Hornung,
	add the utility function gimp_image_snap_distance().

Sven Neumann's avatar
Sven Neumann committed
115 116 117 118
2009-01-01  Sven Neumann  <sven@gimp.org>

	* app/about.h (GIMP_COPYRIGHT): Happy New Year!

119 120 121 122 123 124 125
2009-01-01  Sven Neumann  <sven@gimp.org>

	Bug 565223 – Perspective transformation jagged edges / comb effect

	* app/core/gimp-transform-region.c: reverted the code change, but
	not the cleanups, from commit r26786.

Sven Neumann's avatar
Sven Neumann committed
126 127 128 129 130 131 132 133 134 135 136
2008-12-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/widgets-enums.[ch]: added GimpTagEntryMode.

	* app/widgets/gimptagentry.[ch]: removed it here. Also did some
	code cleanup, mostly formatting.

	* app/widgets/gimpcombotagentry.[ch]
	* app/widgets/gimptagpopup.[ch]: some code cleanup, mostly
	formatting.

137 138 139 140
2008-12-30  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpitemtreeview.h: deleted trailing whitespace.

141 142 143 144 145 146 147
2008-12-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.[ch]
	* plug-ins/print/print-draw-page.c
	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print-settings.c: optionally draw crop-marks.

148 149
2008-12-30  Marco Ciampa  <ciampix@libero.it>

Sven Neumann's avatar
Sven Neumann committed
150
	* app/actions/error-console-actions.c: small typo fix.
151

152 153 154 155 156 157 158 159 160 161 162 163 164 165
2008-12-28  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpitem.c
	(gimp_item_get_offset_x)
	(gimp_item_get_offset_y): New offset getters for inline use.

	* app/core/gimpchannel.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage-resize.c
	* app/tools/gimptexttool.c: Don't access GimpItem offset members
	directly, use gimp_item_set_offset() and
	gimp_item_get_offset_[xy]() instead.

166 167 168 169 170 171 172 173
2008-12-28  Sven Neumann  <sven@gimp.org>

	Bug 563985  jpg save dialog: "cancel" is treated like "commit"
	for settings

	* plug-ins/file-jpeg/jpeg.c (run): only attach the comment and
	settings to the image if the save was successful.

174 175 176 177 178 179 180 181
2008-12-28  Sven Neumann  <sven@gimp.org>

	Bug 565362  the previously opened file is not suggested if gimp
	was started from command line

	* app/file/file-open.c (file_open_from_command_line): remember the
	opened image just as if it was opened using the file-open dialog.

Martin Nordholts's avatar
Martin Nordholts committed
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
2008-12-28  Martin Nordholts  <martinn@svn.gnome.org>

	Use gimp_item_set/get_image() instead of accessing the instance
	member directly.

	* app/core/gimpchannel.c
	* app/core/gimpdrawable-brightness-contrast.c
	* app/core/gimpdrawable-color-balance.c
	* app/core/gimpdrawable-colorize.c
	* app/core/gimpdrawable-curves.c
	* app/core/gimpdrawable-desaturate.c
	* app/core/gimpdrawable-hue-saturation.c
	* app/core/gimpdrawable-invert.c
	* app/core/gimpdrawable-levels.c
	* app/core/gimpdrawable-posterize.c
	* app/core/gimpdrawable-threshold.c
	* app/core/gimplayer.c
	* app/core/gimplayermask.c
	* app/core/gimpselection.c
	* app/dialogs/layer-add-mask-dialog.c
	* app/text/gimptextlayer-xcf.c
	* app/tools/gimprectangletool.c
	* app/tools/gimptexttool.c
	* app/tools/gimpvectortool.c
	* app/vectors/gimpvectors-preview.c
	* app/vectors/gimpvectors.c
	* tools/pdbgen/pdb/layer.pdb

	* app/pdb/layer-cmds.c: Regenerated.

212 213 214 215 216
2008-12-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpintcombobox.c (gimp_int_combo_box_init): use
	the canonical spelling for the 'stock-id' property.

217 218 219 220 221 222
2008-12-27  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintcore.c
	(gimp_paint_core_validate_saved_proj_tiles): copy-on-write from
	the projection is not any longer broken, so use it here.

223 224 225 226 227 228 229 230
2008-12-27  Sven Neumann  <sven@gimp.org>

	Bug 564087  Using clone tool on a layer with a part out of canvas
	causes crashes

	* app/paint/gimppaintcore.c (gimp_paint_core_paste): intersect the
	rectangle with the extents of the saved projection.

Sven Neumann's avatar
Sven Neumann committed
231 232 233 234
2008-12-27  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c (struct _PixelSurround): formatting.

235 236 237 238 239 240 241 242 243
2008-12-27  Sven Neumann  <sven@gimp.org>

	Bug 564593  crash when the drawable is changed while a color
	tools is active

	* app/core/gimpdrawable-shadow.c (gimp_drawable_merge_shadow_tiles):
	keep a reference to the shadow tiles because it might otherwise be
	free'd under our feet.

244 245 246 247 248 249 250 251 252 253
2008-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/file-gbr.c: let the save procedure accept a
	grayscale layer with alpha channel, as we do in the GIH save
	procedure.

	* plug-ins/common/file-gih.c: when loading a brush mask pipe,
	create grayscale layers without an alpha channel. Changed the save
	procedure to also accept layers without alpha channel.

254 255 256 257 258
2008-12-25  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimplayertreeview.[ch]: Make instance members
	private (they were not accessed from the outside).

259 260 261 262 263
2008-12-25  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpchanneltreeview.[ch]: Make instance members
	private (they were not accessed from the outside).

264 265
2008-12-25  Martin Nordholts  <martinn@svn.gnome.org>

266 267
	* app/widgets/gimpitemtreeview.[ch]: Make instance members private
	and add getters that didn't already exist.
268 269 270 271 272 273 274 275 276 277

	(gimp_item_tree_view_get_new_button)
	(gimp_item_tree_view_get_edit_button): New getters.

	* app/actions/actions.c
	* app/widgets/gimpvectorstreeview.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimpchanneltreeview.c: Use new getters.

278 279 280 281 282
2008-12-23  Sven Neumann  <sven@gimp.org>

	* configure.in: if supported, add -Wformat-security and
	-Wformat-non-literal to the compiler flags.

283 284
2008-12-23  Sven Neumann  <sven@gimp.org>

285 286 287
	* app/batch.c
	* tools/gimptool.c: declared functions calling exit() as
	G_GNUC_NORETURN.
288

289 290 291 292 293
2008-12-21  Aurimas Juška  <aurisj@svn.gnome.org>

	* app/widgets/gimptagentry.c: fixed handling of tags which contain
	non-ASCII characters.

294 295 296 297 298 299 300
2008-12-21  Sven Neumann  <sven@gimp.org>

	Bug 564869  GIMP crashes on selecting Tools->GEGL operation

	* app/tools/gimptool.c (gimp_tool_initialize): check if the tool
	has set an error.

301 302 303 304 305 306 307
2008-12-21  Sven Neumann  <sven@gimp.org>

	Bug 565138  python-fu-foggify does not check if image is in rgb mode

	* plug-ins/pygimp/plug-ins/foggify.py (foggify): fixed handling of
	grayscale images.

308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344
2008-12-20  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 555954  Merge Tagging of Gimp Resources GSoC Project

	Merge the rest of the tagging code developed on the tagging branch
	by Aurimas Juška. Development will now continue in trunk.

	* app/core/gimptag.[ch]: New files (not strictly true but almost)
	implementing the represention of a tag.

	* app/core/gimptagcache.[ch]: New files implementing functionality
	for loading and saving tags to tags.xml, and assigning loaded tags
	to tagged objects.

	* app/core/gimpfilteredcontainer.[ch]: New files implementing a
	tag filtered GimpContainer.

	* app/widgets/gimptagentry.[ch]: New files implementing a
	GtkEntry-like widget for entering tags.

	* app/widgets/gimpcombotagentry.[ch]: New files implementing a
	combobox-like widget for selecting tags.

	* app/widgets/gimptagpopup.[ch]: New files implementing a popup of
	all available tags that can be selected and combined in a
	checkbox-like way.

	* app/core/gimp.[ch]: Add a GimpTagCache member and manage tag
	assignment and saving and loading to/from tags.xml.

	* app/widgets/gimpdatafactoryview.c: Add the tag query and tag
	assignment widgets to the UI and show the tag filtered items
	instead of all items.

	* app/core/core-types.h
	* app/widgets/widgets-types.h: Add new types.

345 346 347
	* app/core/Makefile.am
	* app/widgets/Makefile.am: Add new files.

348 349 350 351 352 353 354 355 356 357 358
2008-12-20  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 555954  Merge Tagging of Gimp Resources GSoC Project

	Partial merge of code from Aurimas Juška.

	* app/widgets/gimpbrushfactoryview.c: Use the same method for
	getting the GimpContainer both when adding and when removing the
	spacing-changed handler. It was just a coincidence that the
	previously different methods retured the same GimpContainer.

359 360 361 362 363 364
2008-12-20  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpdatafactoryview.[ch]
	(gimp_data_factory_view_have)
	(gimp_data_factory_view_get_children_type)
	(gimp_data_factory_view_has_data_new_func): New helper functions
365
	to lessen level of indirection in client code.
366 367 368

	* app/actions/data-commands.c: Use them.

369 370 371 372 373 374 375 376 377 378 379 380
2008-12-20  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpdatafactoryview.[ch]: Make instance members
	private and add getters for accessed members.

	(gimp_data_factory_view_get_edit_button)
	(gimp_data_factory_view_get_duplicate_button)
	(gimp_data_factory_view_get_data_factory): New getters.

	* app/actions/data-commands.c
	* app/widgets/gimppatternfactoryview.c: Use new getters.

381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423
2008-12-19  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpdatafactory.[ch]: Make instance members private and
	add getters for required members.

	(gimp_data_factory_get_container)
	(gimp_data_factory_get_gimp)
	(gimp_data_factory_has_data_new_func): The new getters.

	* app/actions/context-commands.c
	* app/actions/data-commands.c
	* app/core/gimp-gradients.c
	* app/core/gimp.c
	* app/core/gimpcontext.c
	* app/core/gimpdatafactory.c
	* app/core/gimpdatafactory.h
	* app/dialogs/convert-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/pdb/gimppdb-utils.c
	* app/widgets/gimpbrushfactoryview.c
	* app/widgets/gimpdataeditor.c
	* app/widgets/gimpdatafactoryview.c
	* app/widgets/gimpselectiondata.c
	* app/widgets/gimpviewablebox.c
	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/palette_select.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/pattern_select.pdb
	* tools/pdbgen/pdb/patterns.pdb: Use the getters.


	* app/pdb/brush-select-cmds.c
	* app/pdb/brushes-cmds.c
	* app/pdb/gradient-select-cmds.c
	* app/pdb/gradients-cmds.c
	* app/pdb/palette-select-cmds.c
	* app/pdb/palettes-cmds.c
	* app/pdb/pattern-select-cmds.c
	* app/pdb/patterns-cmds.c: Regenerated.

424 425 426 427
2008-12-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/file-png.c: reverted last change, it was bogus.

428 429 430 431 432
2008-12-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/file-png.c (load_image) (save_image): use a tile
	cache to optimize pixel access.

433 434 435 436 437 438 439 440
2008-12-16  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/plug_in.pdb: improved docs for
	gimp-plugin-help-register.

	* app/pdb/plug-in-cmds.c
	* libgimp/gimpplugin_pdb.c: regenerated.

441 442 443 444 445 446
2008-12-16  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpgegltool.c (gimp_gegl_tool_operation_blacklisted):
	removed 'gegl:stress' from the blacklist. It was put here on wrong
	assumptions.

447 448 449 450 451 452 453 454 455 456
2008-12-15  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/pattern.pdb
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/patterns.pdb: need to do the change to
	temp_buf_get_data() here for the generated PDB code.

457 458 459 460 461
2008-12-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimp.c: reverted last change as it is totally bogus and
	the old code was correct.

462 463 464 465 466
2008-12-13  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimp.c: We shall unref in dispose() and free in
	finalize(), not vice versa.

467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482
2008-12-13  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 555954  Merge Tagging of Gimp Resources GSoC Project

	Partial merge of code from Aurimas Juška.

	* app/core/gimpdata.c: Implement GimpTagged::get_identifier() and
	GimpTagged::get_checksum().

	* app/core/gimpbrush.c: 
	* app/core/gimpgradient.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c: Implement GimpTagged::get_checksum().
	They all use the GimpData implementation of
	GimpTagged::get_identifier().

483 484 485 486 487 488 489 490
2008-12-13  Martin Nordholts  <martinn@svn.gnome.org>

	Introduce temp_buf_get_data_size() and use it.

	* app/base/temp-buf.[ch]
	* app/widgets/gimpbrushselect.c
	* app/widgets/gimppatternselect.c

491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528
2008-12-13  Martin Nordholts  <martinn@svn.gnome.org>

	s/temp_buf_data/temp_buf_get_data/

	* app/base/pixel-region.c
	* app/base/temp-buf.c
	* app/base/temp-buf.h
	* app/core/gimpbrush-load.c
	* app/core/gimpbrush-scale.c
	* app/core/gimpbrush.c
	* app/core/gimpbrushgenerated.c
	* app/core/gimpgradient.c
	* app/core/gimpimage.c
	* app/core/gimppalette.c
	* app/core/gimppattern-load.c
	* app/core/gimppattern.c
	* app/core/gimppreviewcache.c
	* app/core/gimpviewable.c
	* app/paint-funcs/paint-funcs-generic.h
	* app/paint/gimpbrushcore.c
	* app/paint/gimpclone.c
	* app/paint/gimperaser.c
	* app/paint/gimpheal.c
	* app/paint/gimpink.c
	* app/paint/gimppaintbrush.c
	* app/pdb/brush-cmds.c
	* app/pdb/brushes-cmds.c
	* app/pdb/drawable-cmds.c
	* app/pdb/image-cmds.c
	* app/pdb/pattern-cmds.c
	* app/pdb/patterns-cmds.c
	* app/text/gimpfont.c
	* app/tools/gimpiscissorstool.c
	* app/vectors/gimpvectors-preview.c
	* app/widgets/gimpbrushselect.c
	* app/widgets/gimppatternselect.c
	* app/widgets/gimpviewrenderer.c

529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548
2008-12-12  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 555954  Merge Tagging of Gimp Resources GSoC Project

	Partial merge of code from Aurimas Juška.

	* app/core/gimpdata.[ch] (gimp_data_make_internal): Add an
	'identifier' parameter/instance struct member that can be used to
	identify the internal GimpData object across sessions. It is the
	internal-object counterpart to a file path.

	* app/core/gimp.c
	* app/core/gimpcurve.c
	* app/core/gimpbrush.c
	* app/core/gimppattern.c
	* app/core/gimppalette.c
	* app/core/gimpgradient.c
	* app/core/gimp-gradients.c: Assign an identifier to the the
	internal GimpData objects.

549 550 551 552 553
2008-12-12  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimptagged.c (gimp_tagged_get_identifier): Clarify
	documentation.

554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570
2008-12-11  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 555954  Merge Tagging of Gimp Resources GSoC Project

	Partial merge of code from Aurimas Juška.

	* app/core/gimptag.c: A new minimal GimpTag type with only a
	gimp_tag_equals() class function so that we can

	* app/core/gimptagged.c
	* app/core/gimpdata.c (gimp_data_add_tag, gimp_data_remove_tag):
	Adapt these to GimpTag being an object instead of a GQuark.

	* app/core/core-types.h: Update GimpTag typedef.

	* app/core/Makefile.am: Add gimptag.[ch].

Martin Nordholts's avatar
Martin Nordholts committed
571 572 573 574
2008-12-11  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/core-types.h: Sort typedefs.

575 576 577 578 579
2008-12-11  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/core-types.h: Remove references to typedefs in
	config-types.h that are more annoying than helpful.

580 581 582 583 584
2008-12-11  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimptagged.c (gimp_tagged_add_tag): Remove weird const
	qualifier.

585 586 587 588 589 590 591 592 593
2008-12-11  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 555954  Merge Tagging of Gimp Resources GSoC Project

	Partial merge of code from Aurimas Juška.

	* app/core/gimptagged.[ch]: Added GimpTagged::get_identifier() and
	GimpTagged::get_checksum().

594 595 596 597 598 599
2008-12-11  Martin Nordholts  <martinn@svn.gnome.org>

	s/gimp_tagged_get_get_tags/gimp_tagged_get_tags/

	* app/core/gimptagged.[ch]

600 601 602 603 604
2008-12-10  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c: updated link to the color keywords
	in the SVG spec.

605 606 607 608 609 610 611 612 613 614 615
2008-12-08  Sven Neumann  <sven@gimp.org>

	* app/core/gimpchannel.c
	* app/core/gimpdrawable-operation.c
	* app/core/gimpdrawablestack.c
	* app/core/gimpimage.c
	* app/core/gimpimagemap.c
	* app/core/gimplayer.c
	* app/core/gimpprojection.c: gegl_node_add_child() and
	gegl_node_remove_child() are public API in GEGL now.

616 617 618 619 620
2008-12-04  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimp.c
	* app/widgets/gimpdatafactoryview.c: Sort #includes.

621 622 623 624 625 626 627
2008-12-04  Sven Neumann  <sven@gimp.org>

	Bug 563130  Hue selection mode does not cross the 0-360 degrees line

	* app/core/gimpimage-contiguous-region.c (pixel_difference):
	applied patch from Daniel Hornung.

628 629 630 631 632 633 634 635 636
2008-12-04  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 563179  Scrollbars not resized when we extend the canvas size

	* app/display/gimpdisplayshell-handlers.c
	(gimp_display_shell_size_changed_detailed_handler): Add explicit
	call to gimp_display_shell_scroll_clamp_and_update() at the end to
	make sure it is called.

637 638 639 640 641
2008-12-04  Martin Nordholts  <martinn@svn.gnome.org>

	* app/actions/images-actions.c (images_actions_setup): Pass
	arguments to gimp_action_group_add_actions() in the right order.

642 643 644 645 646 647 648 649
2008-12-04  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/convert.pdb: fixed an error in the documentation
	of the gimp-image-convert-rgb procedure.

	* app/pdb/convert-cmds.c
	* libgimp/gimpconvert_pdb.c: regenerated.

650 651 652 653 654 655 656 657
2008-12-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactiongroup.[ch]: also use the translation
	context for the tooltips.

	* app/actions/*.c: added translation context to all tooltips. Also
	improved some tooltips while I was on it.

658 659 660 661 662 663
2008-12-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/file-tiff-save.c (save_image)
	(image_is_monochrome): allow to save images that are plain white or
	plain black using the CCITT Fax compression methods.

Sven Neumann's avatar
Sven Neumann committed
664 665 666 667
2008-12-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/file-ps.c: minor cleanup.

668 669 670 671 672 673 674 675 676
2008-12-03  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactiongroup.[ch]: added an extra parameter for
	the translation context to all gimp_action_group_add methods.

	* app/actions/*.c: added a translation context to all action
	labels. Also unified and improved the labels and tooltips in a few
	places.
	
677 678 679 680 681
2008-12-03  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactiongroup.c: check that the action name is
	unique before adding it to a GimpActionGroup.

682 683 684 685 686
2008-12-03  Sven Neumann  <sven@gimp.org>

	* app/core/gimpitem.c (gimp_item_get_offset_node): use
	"gegl:translate" instead of "gegl:shift".

687 688 689 690 691
2008-12-03  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagemap.c: renamed GeglNode shift to translate.
	Use "gegl:translate" instead of "gegl:shift".

692 693 694 695 696
2008-12-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/file-desktop-link.c: use the G_KEY_FILE_DESKTOP
	defines from GLib.

697 698 699 700
2008-12-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.def: added gimp_widgets_error_quark.

701 702 703 704 705 706 707
2008-12-01  Martin Nordholts  <martinn@svn.gnome.org>

	* libgimpwidgets/gimpwidgets-error.h: Added 'Since: GIMP 2.8' to
	GIMP_WIDGETS_ERROR.

	* libgimpwidgets/gimpwidgets.h: Added gimpwidgets-error.h.

708 709 710 711 712 713 714 715
2008-11-30  Martin Nordholts  <martinn@svn.gnome.org>

	* libgimpwidgets/gimpwidgets-error.[ch]: New files defining
	GIMP_WIDGETS_ERROR domain with currently only a
	GIMP_WIDGETS_PARSE_ERROR error code.

	* libgimpwidgets/Makefile.am: Add the new files here.

716 717 718 719 720 721 722 723
2008-11-27  Sven Neumann  <sven@gimp.org>

	Bug 562459  PF_PALETTE: 'TypeError' when used in a plugin that is
	registered in <Image>

	* plug-ins/pygimp/gimpui.defs (gimp_palette_select_button_new):
	the 'title' parameter is optional.

724 725 726 727 728 729 730
2008-11-27  Michael Natterer  <mitch@gimp.org>

	Bug 562427  Compilation with --as-needed

	* app/Makefile.am (gimp_console_2_7_LDADD): add $(GLIB_LIBS) so
	libgthread gets pulled in explicitely.

731 732 733 734 735 736 737 738
2008-11-27  Sven Neumann  <sven@gimp.org>

	Bug 562386  PF_SLIDER and PF_SPINNER 'Step' values do not change
	consistently...

	* plug-ins/pygimp/gimpfu.py (SliderEntry): set the precision on
	the slider just as we do it for the spin-button.

739 740 741 742 743 744 745 746 747
2008-11-27  Sven Neumann  <sven@gimp.org>

	Bug 562386  PF_SLIDER and PF_SPINNER 'Step' values do not change
	consistently...

	* plug-ins/pygimp/gimpfu.py (SpinnerEntry): initialize the
	spin-button the way that gtk_spin_button_new_with_range() is
	implemented.

748 749 750 751 752 753 754 755 756
2008-11-26  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 562366  Default image dimensions are not correctly
	transferred in the file/new dialog box

	* app/dialogs/preferences-dialog.c
	(prefs_template_select_callback): We need to copy the template in
	the same way as in the New Image dialog.

757 758 759
	* app/dialogs/image-new-dialog.c (image_new_dialog_set): ... and
	when we copy the template to the New Image dialog.

760 761 762 763 764
2008-11-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-duplicate.c: split spaghetti code into lots
	of helper functions.

765 766 767 768 769 770
2008-11-25  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocbrowserdialog.c (browser_search): show the
	"invalid search term" message in the label below the list instead
	of in the pane on the right side.

Sven Neumann's avatar
Sven Neumann committed
771 772 773 774
2008-11-25  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpexport.c: minor code cleanup.

Martin Nordholts's avatar
Martin Nordholts committed
775 776 777 778
2008-11-24  Martin Nordholts  <martinn@svn.gnome.org>

	* libgimpwidgets/Makefile.am: Sort entries.

779 780 781 782 783
2008-11-22  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-dump.c: removed reference to gimp-remote
	manual page in the generated gimprc manual page.

784 785 786 787 788 789 790 791 792 793 794 795 796 797 798
2008-11-22  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpselection.[ch]: make the entire selection
	API take GimpSelection arguments, not GimpChannel.
	Clean up gimp_selection_load() a bit.

	* app/actions/select-commands.c
	* app/core/gimp-edit.c
	* app/core/gimpdrawable-transform.c
	* app/core/gimpimage-quick-mask.c
	* app/tools/gimpeditselectiontool.c
	* tools/pdbgen/pdb/selection.pdb: add the needed casts.

	* app/pdb/selection-cmds.c: regenerated.

799 800 801 802 803 804 805
2008-11-22  Sven Neumann  <sven@gimp.org>

	Bug 561899  GIMP can't save to mounted filesystem if file exists

	* plug-ins/file-uri/uri-backend-gvfs.c (copy_uri): pass the
	G_FILE_COPY_OVERWRITE flag to g_file_copy().

806 807 808 809 810 811
2008-11-21  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpdrawtool.[ch]: removed unused methods
	gimp_draw_tool_set_vectors() and gimp_draw_tool_set_transform()
	and related infrastructure.

812 813 814 815 816 817
2008-11-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrenderervectors.c
	(gimp_view_renderer_vectors_draw): inlined local variables that
	are only used once.

818 819 820 821 822
2008-11-21  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpdrawtool.c (gimp_draw_tool_real_draw): moved
	vectors drawing to its own function.

823 824 825 826 827
2008-11-21  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpdrawtool.[ch]: reordered functions to keep those
	that actually draw together.

828 829 830 831 832 833 834
2008-11-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpprojection.c (gimp_projection_get_tiles_at_level)
	cosmetics.

	* app/display/gimpdisplayshell-render.[ch]: added const qualifier.

835 836
2008-11-21  Martin Nordholts  <martinn@svn.gnome.org>

837
	* app/widgets/gimpcolormapeditor.c
838 839 840
	* app/widgets/gimpselectioneditor.c: For consistency, prefix the
	#warning:s with FIXME.

841 842 843 844 845 846 847
2008-11-21  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpcontainer.[ch]: Move the rest of the class instance
	members to GimpContainerPriv and rename the member num_children to
	n_children.

2008-11-21  Martin Nordholts  <martinn@svn.gnome.org>
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

	Use GimpContainer getters instead of poking into the class
	instance struct.

	* app/actions/context-commands.c
	* app/actions/data-commands.c
	* app/actions/plug-in-commands.c
	* app/actions/templates-commands.c
	* app/core/gimp-utils.c
	* app/core/gimpdrawablestack.c
	* app/core/gimpitemstack.c
	* app/core/gimplist.c
	* app/gui/gui-vtable.c
	* app/widgets/gimpcontainerbox.c
	* app/widgets/gimpcontainercombobox.c
	* app/widgets/gimpcontainereditor.c
	* app/widgets/gimpcontainerentry.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimpcontainertreeview-dnd.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpcontainerview-utils.c
	* app/widgets/gimpcontainerview.c
	* app/widgets/gimpdataeditor.c
	* app/widgets/gimpdatafactoryview.c
	* app/widgets/gimpsettingsbox.c
	* app/widgets/gimpviewablebutton.c

876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917
2008-11-20  Martin Nordholts  <martinn@svn.gnome.org>

	s/gimp_container_children_type/gimp_container_get_children_type/
	s/gimp_container_policy/gimp_container_get_policy/
	s/gimp_container_num_children/gimp_container_get_n_children/

	* app/actions/actions.c
	* app/actions/file-actions.c
	* app/actions/file-commands.c
	* app/actions/tool-options-actions.c
	* app/actions/tools-actions.c
	* app/actions/tools-commands.c
	* app/actions/vectors-actions.c
	* app/core/gimpcontainer-filter.c
	* app/core/gimpcontainer.c
	* app/core/gimpcontainer.h
	* app/core/gimpimage-convert.c
	* app/core/gimpimage-flip.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-undo.c
	* app/core/gimpimage.c
	* app/core/gimpimagefile.c
	* app/core/gimplist.c
	* app/core/gimpundostack.c
	* app/dialogs/palette-import-dialog.c
	* app/dialogs/quit-dialog.c
	* app/display/gimpdisplay.c
	* app/display/gimpdisplayshell-layer-select.c
	* app/display/gimpdisplayshell-title.c
	* app/gui/gui-vtable.c
	* app/menus/tool-options-menu.c
	* app/tools/gimp-tools.c
	* app/widgets/gimpcontrollerlist.c
	* app/widgets/gimpimagepropview.c
	* app/widgets/gimpsettingsbox.c
	* app/widgets/gimpviewablebutton.c
	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c

918 919 920 921 922
2008-11-20  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpcontainer.[ch]: Don't expose class instance members
	marked as private.

923 924 925 926 927 928 929 930 931 932 933 934 935 936
2008-11-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpundo.h (struct GimpUndoAccumulator): remove members
	"quick_mask_changed" and "alpha_changed" (the former was unused
	and the latter is entirely handled by the image's flush
	accumulator now.

	* app/core/gimpimage-undo.c
	* app/core/gimplayerundo.c: changed accordingly.

2008-11-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.c: add read-only "mask" property.

937 938 939 940 941 942
2008-11-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-quick-mask.c (gimp_image_get_quick_mask_state):
	image->quick_mask_state is a boolean, return it directly instead
	of "state != NULL".

943 944
2008-11-19  Sven Neumann  <sven@gimp.org>

Sven Neumann's avatar
Sven Neumann committed
945
	Bug 558454 – Plugin Map Color Range disappears from GIMP
946 947 948 949 950 951 952 953 954 955 956

	* plug-ins/script-fu/scripts/Makefile.am

	* plug-ins/script-fu/scripts/plug-in-compat.init: new file
	providing compatibility with plug-ins from older GIMP
	versions. Contains a reimplementation of plug-in-color-map based
	on ideas and code from Eric Lamarque.

	* plug-ins/script-fu/scheme-wrapper.c (tinyscheme_init): load the
	plug-in-compat.init file.

957 958 959 960 961
2008-11-19  Martin Nordholts  <martinn@svn.gnome.org>

	* README: Remove reference to the inactive gimpwin-users mailing
	list.

962 963 964 965 966 967 968
2008-11-18  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 559239 – Error while loading psd-data

	* plug-ins/file-psd/psd-layer-res-load.c (load_layer_resource):
	Layer resource data should not be padded.

969 970 971 972 973
2008-11-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unit-editor.c (columns): corrected column
	tooltip (pointed out by Cristian Secară).

974 975 976 977 978
2008-11-17  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.c (gimp_drawable_visibility_changed):
	chain up unconditionally.

979 980 981 982 983 984 985 986 987 988 989 990 991 992
2008-11-17  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.[ch]: add boolean property
	"floating-selection" which indicates if the layer is a floating
	selection. Add new API gimp_layer_set_floating_sel_drawable()
	which sets layer->fs.drawable and emits notify on the property.
	Did some minor cleanup in the existing property code.

	* app/core/gimpfloatingselundo.c: use the new function instead of
	setting layer->fs.drawable manually.

	* app/core/gimplayer-floating-sel.c: same here. Remove some
	includes and local variables that are obsolete.

993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007
2008-11-16  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpcontainertreeview.[ch]
	* app/widgets/gimpcontainertreeview-private.h: Make the
	renderer_cells and toggle_cells members private.

	(gimp_container_tree_view_set_main_column_title)
	(gimp_container_tree_view_prepend_toggle_cell_renderer)
	(gimp_container_tree_view_prepend_cell_renderer): New interface.

	* app/widgets/gimptoolview.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpcontrollerlist.c: Use new interface.

1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020
2008-11-16  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/module-dialog.c
	* app/display/gimpscalecombobox.c
	* app/tools/gimpgegltool.c
	* app/tools/gimprectangleoptions.c
	* app/widgets/gimpactionview.[ch]
	* app/widgets/gimpcomponenteditor.c
	* app/widgets/gimpcontainerentry.[ch]
	* app/widgets/gimpcontrollereditor.c
	* app/widgets/gimpcontrollerlist.c
	* app/widgets/gimpfileprocview.c: s/NUM_COLUMNS/N_COLUMNS/

1021 1022 1023 1024 1025 1026 1027 1028
2008-11-16  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpcontainertreeview.[ch]: Move container tree view
	model column enums here and call the last enum _N_COLUMNS.

	* app/widgets/widgets-enums.h: Remove the enum. It was meant only
	for the container tree view class hierarchy anyway.

1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042
2008-11-16  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpcontainertreeview.[ch]
	(gimp_container_tree_view_set_dnd_drop_to_empty): New setter
	function so that we can make the "gboolean dnd_drop_to_empty"
	class instance member private.

	* app/widgets/gimpcontainertreeview-private.h: Move member here.

	* app/widgets/gimpcontainertreeview-dnd.c: Go through priv pointer.

	* app/widgets/gimpitemtreeview.c (gimp_item_tree_view_init): Use
	the new function.

1043 1044 1045 1046 1047 1048
2008-11-16  Sven Neumann  <sven@gimp.org>

	* app/app.c
	* app/gegl/gimp-gegl.[ch] (gimp_gegl_init): set the GEGL cache size
	as large as the GIMP tile-cache.

1049 1050 1051 1052 1053 1054 1055 1056 1057 1058
2008-11-16  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.h: optimize access to
	GimpDisplayShell struct members by placing related and frequently
	accessed members like like scale and offset into the same
	cacheline.

	* app/display/gimpdisplayshell.c (gimp_display_shell_init): resort
	initialization accordingly.

1059 1060 1061 1062 1063 1064
2008-11-15  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/widgets-enums.h: Put the GimpContainerTreeView enums
	here instead of exposing them through silly class instance
	members.

1065
	* app/widgets/gimpcontainertreeview.[ch]: 
1066 1067 1068 1069 1070 1071 1072 1073
	* app/widgets/gimpcontainertreeview-dnd.c
	* app/widgets/gimpdatafactoryview.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpsettingseditor.c
	* app/widgets/gimptemplateview.c
	* app/widgets/gimptoolview.c: Clean up and use new enum names.

1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086
2008-11-15  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpcontainertreeview.[ch]: Don't expose class
	instance struct members that is currently only used within the
	GimpContainerTreeView implementation.

	* app/widgets/gimpcontainertreeview-private.h: New file containing
	the definition of the private struct.

	* app/widgets/gimpcontainertreeview-dnd.c: Change accordingly.

	* app/widgets/Makefile.am: Add new file.

1087 1088 1089 1090 1091
2008-11-15  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpcontainertreeview.h: Remove unused instance
	struct member "GQuark invalidate_preview_handler_id".

1092 1093 1094 1095 1096 1097 1098 1099
2008-11-15  Michael Natterer  <mitch@gimp.org>

	Bug 560897  Floating Selection, objects appearing in background

	* app/core/gimpdrawable.c (gimp_drawable_init_src_region): use the
	right offsets (not off_y for both x and y) when applying the
	floating selection.

1100 1101 1102 1103 1104 1105
2008-11-15  Sven Neumann  <sven@gimp.org>

	* app/actions/debug-commands.c
	(debug_benchmark_projection_cmd_callback): run the benchmark in an
	idle callback.

1106 1107 1108 1109 1110
2008-11-15  Martin Nordholts  <martinn@svn.gnome.org>

	* app/actions/debug-actions.c: Fix mnemonics for the Debug sub
	menu and the Benchmark Projection item.

1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128
2008-11-15  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 560903  Explicit zooming with e.g. '1' should handle
	zoom-focus better

	* app/display/display-enums.h: Added
	GIMP_ZOOM_FOCUS_RETAIN_CENTERING_ELSE_BEST_GUESS.

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_scale_get_zoom_focus): Take the new enum into
	account; if the image is centered, keep it centered, else use the
	best-guess method.

	* app/actions/view-commands.c (view_zoom_explicit_cmd_callback):
	Use the new enum for explicit zooming.

	* app/display/display-enums.c: Regenerated.

1129 1130 1131 1132 1133 1134 1135 1136 1137
2008-11-15  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 560245  Zoom selection always centered in the Navigation tab

	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
	Also take the image center and not only the zoom focus point into
	account when deciding whether or not to center the image after
	zoom.

1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153
2008-11-14  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.[ch] (struct GimpImageFlushAccumulator):
	add member "gboolean floating_selection_changed".

	(gimp_image_set_floating_selection): new function which sets
	the image's floating_sel pointer and sets the flag in the
	accumulator to TRUE for later signal emission on flush.

	(gimp_image_projectable_flush): emit "floating-selection-changed"
	if the flag in the accumulator is TRUE.

	* app/core/gimpimage.c (gimp_image_add,remove_layer)
	* app/core/gimpfloatingselundo.c (gimp_floating_sel_undo_pop)
	* app/core/gimplayer-floating-sel.c (floating_sel_to_layer): use
	gimp_image_set_floating_selection() instead of setting
1154
	image->floating_sel manually and remove all calls to
1155 1156
	gimp_image_floating_selection_changed().

1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189
2008-11-14  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.[ch]: rename gimp_image_floating_sel() to
	gimp_image_get_floating_selection().

	* app/actions/channels-actions.c
	* app/actions/image-actions.c
	* app/actions/layers-actions.c
	* app/actions/layers-commands.c
	* app/actions/select-actions.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage-quick-mask.c
	* app/core/gimplayer-floating-sel.c
	* app/core/gimpselection.c
	* app/display/gimpdisplayshell-layer-select.c
	* app/display/gimpdisplayshell.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimprectangleselecttool.c
	* app/tools/gimpregionselecttool.c
	* app/tools/gimpselectiontool.c
	* app/tools/gimptexttool.c
	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimplayertreeview.c
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/image.pdb: changed accordingly, replaced some
	instances of direct acces by the accessor.

	* app/pdb/image-cmds.c: regenerated.

1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201
2008-11-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scroll.[ch]: removed function
	gimp_display_shell_scroll_get_scaled_viewport_offset() as it was
	only returning -shell->offset_x and -shell->offset_y and it
	started to show up in profiles.

	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell-transform.c
	* app/display/gimpdisplayshell-scale.c: use the shell offsets
	directly.

1202 1203 1204 1205 1206 1207
2008-11-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-preview.c
	(gimp_display_shell_draw_quad): check that the resulting area has
	positive width and height.

1208 1209 1210 1211 1212 1213 1214
2008-11-13  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpcursorview.[ch]: Move the instance struct to the
	header but add a typed opaque priv pointer to it so we can avoid
	exposing implementation details. Also move the class struct to the
	header.

1215 1216 1217 1218 1219 1220 1221
2008-11-13  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/image.pdb (image_floating_sel_attached_to): get
	rid of useless casts.

	* app/pdb/image-cmds.c: regenerated.

1222 1223 1224 1225 1226
2008-11-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.c: add read-only boolean properties "visible"
	and "linked".

1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238
2008-11-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.[ch]: added gimp_image_get_display_name().

	* app/dialogs/palette-import-dialog.c
	* app/display/gimpdisplayshell-close.c
	* app/display/gimpdisplayshell-title.c
	* app/pdb/gimppdb-utils.c
	* app/widgets/gimpviewabledialog.c: use the new method instead of
	getting the image URI and mangling it with
	file_utils_uri_display_basename().

1239 1240 1241 1242 1243 1244 1245 1246
2008-11-13  Sven Neumann  <sven@gimp.org>

	Bug 559292 – SOTA Chrome cannot accept different textures

	* app/pdb/gimppdb-utils.c (gimp_pdb_image_is_base_type)
	(gimp_pdb_image_is_not_base_type): gimp_object_get_name() may 
	return NULL for images. Use gimp_image_get_uri() instead.

1247 1248 1249 1250
2008-11-12  Øyvind Kolås  <pippin@gimp.org>

	* app/gegl/gimpoperationtilesource.c:
	(gimp_operation_tile_source_prepare),
1251 1252 1253 1254
	(gimp_operation_tile_source_process): cache the data in
	babl_format ("RaGaBaA float") instead of in the tile managers
	native pixel format to allow direct tile data access at projection
	compositing time.
1255

Sven Neumann's avatar
Sven Neumann committed
1256 1257 1258 1259 1260
2008-11-12  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbase.def: sorted.
	* libgimpmodule/gimpmodule.def: updated.

1261 1262 1263 1264 1265
2008-11-12  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-path.c (gimp_config_path_expand_only):
	set the error in the GIMP_CONFIG_ERROR domain.

1266 1267 1268 1269 1270 1271 1272 1273 1274
2008-11-12  Sven Neumann  <sven@gimp.org>

	* libgimpmodule/gimpmodule.[ch]: added GIMP_MODULE_ERROR domain.

	* modules/gimpinputdevicestore-hal.c
	* modules/gimpinputdevicestore-dx.c
	* modules/controller-dx-dinput.c: use GIMP_MODULE_ERROR as error
	domain instead of 0.

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 1308 1309 1310 1311 1312 1313 1314 1315
2008-11-12  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/gimperror.[ch]: added GIMP_ERROR as general error domain.

	* app/core/gimpchannel.c
	* app/core/gimpdrawable-bucket-fill.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage.c
	* app/core/gimplayer-floating-sel.c
	* app/core/gimplayer.c
	* app/core/gimplayermask.c
	* app/core/gimpselection.c
	* app/core/gimptooloptions.c
	* app/paint/gimpbrushcore.c
	* app/paint/gimpclone.c
	* app/paint/gimpheal.c
	* app/paint/gimppaintcore-stroke.c
	* app/paint/gimpperspectiveclone.c
	* app/paint/gimpsourcecore.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpdesaturatetool.c
	* app/tools/gimpgegltool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpthresholdtool.c
	* app/vectors/gimpvectors-import.c: use GIMP_ERROR as error domain
	instead of 0, which is not accepted by g_set_error_literal().

	* app/gui/session.c
	* app/menus/menus.c
	* app/vectors/gimpvectors-export.c
	* app/widgets/gimpdevices.c: use G_FILE_ERROR as error domain for
	file errors.

1316 1317 1318 1319 1320
2008-11-12  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-in-icc-profile.c: use the GIMP_PLUG_IN_ERROR
	domain.

1321 1322 1323 1324 1325 1326 1327 1328 1329
2008-11-12  Sven Neumann  <sven@gimp.org>

	* app/pdb/gimppdberror.h
	* app/plug-in/gimppluginerror.h: added generic error codes.

	* app/pdb/gimpprocedure.c
	* app/plug-in/gimppluginprocedure.c: use the GIMP_PDB_ERROR and
	GIMP_PLUG_IN_ERROR domains.

1330 1331 1332 1333
2008-11-12  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimptransformtool.c: Align static function prototypes.

1334 1335 1336 1337 1338 1339 1340 1341
2008-11-11  Sven Neumann  <sven@gimp.org>

	Bug 557830 – PDB browser chokes as you are entering regex
	characters

	* libgimp/gimpprocbrowserdialog.c: check if the query is a valid
	regex before calling gimp_procedural_db_query().

1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353
2008-11-11  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.c: add read-only "offset-x" and "offset-y"
	properties. Call gimp_item_set_offset() from all places that set
	offset_x and offset_y in this file. Freeze and thaw GObject
	notification around all calls to virtual functions which might
	emit notify. Add missing notifications whenever width and height
	change.

	* app/core/gimpimage-rotate.c: use gimp_item_set_offset() instead
	of setting the values manually.

1354 1355 1356 1357 1358 1359 1360 1361 1362 1363
2008-11-11  Sven Neumann  <sven@gimp.org>

	Bug 560300 – Document History did not clear when "Keep record of
	used files" was unchecked
	
	* app/actions/documents-commands.c (documents_clear_cmd_callback):
	don't purge the entire GtkRecentManager, but only clear items
	added by GIMP. Do this regardless of the "save-document-history"
	gimprc option.

1364 1365 1366 1367 1368 1369 1370 1371
2008-11-11  Sven Neumann  <sven@gimp.org>

	Bug 560375  Clearing an already empty document history crashes GIMP

	* app/actions/documents-commands.c (documents_clear_cmd_callback):
	gtk_recent_manager_purge_items() may return 0 but not set an
	error.

1372 1373 1374 1375 1376 1377 1378 1379 1380
2008-11-11  Michael Natterer  <mitch@gimp.org>

	Bug 559580  Image windows need better default locations

	* app/display/gimpdisplayshell.c (gimp_display_shell_style_set):
	Only set GDK_HINT_USER_POS on the empty display because it gets a
	position set by gimp. All other displays should be placed by the
	window manager. Fixes all displays appearing at 0,0.

1381 1382 1383 1384 1385 1386 1387
2008-11-11  Sven Neumann  <sven@gimp.org>

	Bug 558797  "Export Path" doesn't remember last used folder

	* app/actions/vectors-commands.c: remember last-used folders in
	the Path Import and Export dialogs.

1388 1389 1390 1391 1392 1393 1394
2008-11-11  Sven Neumann  <sven@gimp.org>

	Bug 560283 – "Scale image..." causes distortion around edges.

	* app/paint-funcs/scale-region.c (scale): corrected fix for
	bug #556248.

1395 1396 1397 1398 1399
2008-11-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/file-pdf.c: also return image type and number of
	pages. Followup to bug #559725.

1400 1401 1402 1403 1404
2008-11-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/file-gif-load.c: return image size from the
	"file-gif-load-thumb" procedure.

1405 1406
2008-11-10  Martin Nordholts  <martinn@svn.gnome.org>

1407
	* app/display/gimpcursorview.c
1408 1409 1410 1411 1412 1413
	(gimp_cursor_view_update_cursor): Show selection info from the
	image under the cursor.

	(gimp_cursor_view_clear_cursor): Start showing selection info from
	the active image again.

1414 1415 1416 1417 1418 1419 1420
2008-11-10  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpprojection.[ch]
	* app/core/gimpprojection-construct.c: add code that keeps the
	gegl processor around across calls, but destroy it anyway until
	gegl_processor_set_rectangle() is fixed.

1421 1422 1423 1424 1425 1426 1427 1428 1429
2008-11-10  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 559716 – Changing crop size in Crop Tool Options can make UI
	unresponsive

	* app/tools/gimprectangletool.c: Accept a broader range of x, y,
	width and height values from the tool options so we don't end up
	in an infinite signal emission loop.

1430 1431 1432 1433
2008-11-10  Sven Neumann  <sven@gimp.org>

	* app/display/gimpcursorview.c: added translation context.

1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445
2008-11-10  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 138101  Pointer (Information) tab should display selection
	bounds

	* app/display/gimpcursorview.c: Show the position and size of the
	bounding box of the selection in the active image using the unit
	of the active image window.

	(gimp_cursor_view_format_as_unit): Don't add the unit abbreviation
	if the unit is px.

1446 1447 1448 1449 1450
2008-11-10  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-curves.c (gimp_drawable_curves_explicit):
	use GIMP_CURVE_FREE, not _SMOOTH. Fixes the resp. PDB call.

1451 1452 1453 1454
2008-11-10  Sven Neumann  <sven@gimp.org>

	* app/core/gimpunit.c: use NC_() to provide translation contexts.

1455 1456 1457 1458 1459
2008-11-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp-mask.c (unsharp_region): update the
	progress less often.

Sven Neumann's avatar
Sven Neumann committed
1460 1461 1462 1463 1464
2008-11-10  Sven Neumann  <sven@gimp.org>

	* app/actions/text-tool-actions.c (text_tool_actions): added
	missing mnemonic.

1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477
2008-11-10  Sven Neumann  <sven@gimp.org>

	Bug 559725 – Allow to set image-type and image-num-layers for
	thumbnail

	* app/file/file-open.[ch] (file_open_thumbnail): added parameters
	for image-type and number of layers. Try to get these from the
	procedure return values. Changes based on a patch from "tks".

	* app/core/gimpimagefile.c (gimp_imagefile_create_thumbnail)
	(gimp_thumbnail_set_info): set image-type and number of layers if
	specified.

1478 1479 1480 1481 1482 1483 1484
2008-11-10  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-foreground-extract.c
	* app/core/gimpdrawable-preview.c 
	* app/core/gimplayer-project.c: use gimp_drawable_get_colormap()
	instead of gimp_image_get_colormap().

1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496
2008-11-09  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 558549 – Stroking a single-point path with a paint tool
	crashes GIMP

	* app/paint/gimppaintcore-stroke.c
	(gimp_paint_core_stroke_vectors): Return an error message if there
	were not enough points to stroke.

	* app/dialogs/stroke-dialog.c (stroke_dialog_response): Guard
	against crashes if an implementator forgets to set an error.

1497 1498 1499 1500 1501
2008-11-09  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpnavigationeditor.c: Clean up and simplify
	little.

1502 1503 1504 1505 1506 1507 1508 1509
2008-11-09  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_scale_update_rulers): Avoid critical warnings
	when converting an image window with a unit other than pixels into
	a the empty image window. Probably fixes some of the crashes
	reported by Windows users.

1510 1511 1512 1513 1514 1515 1516
2008-11-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/widgets-types.h: move GimpCursorView typedef from
	here...

	* app/display/display-types.h: ...to here.

1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535
2008-11-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer-floating-sel.[ch]: remove
	floating_sel_remove() and reorder one function.

	* app/core/gimpimage.c (gimp_image_remove_layer): add the single
	line of special code that needs to be done when removing a
	floating selection.

	* app/core/gimpselection.c
	* app/actions/layers-commands.c
	* tools/pdbgen/pdb/floating_sel.pdb: changed accordingly.

	* app/pdb/floating-sel-cmds.c: regenerated.

	* app/core/core-enums.[ch]
	* app/core/gimpimage-undo.c: remove enum value
	GIMP_UNDO_GROUP_FS_REMOVE.

1536 1537 1538 1539 1540 1541 1542 1543 1544
2008-11-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.c
	* app/core/gimpimage-convert.c
	* app/core/gimpprojection-construct.c
	* app/tools/gimpeditselectiontool.c
	* app/widgets/gimplayertreeview.c
	* app/xcf/xcf-save.c: remove inclusion of "gimplayer-floating-sel.h"

1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560
2008-11-09  Martin Nordholts  <martinn@svn.gnome.org>

	Prepare GimpCursorView for a dependency to GimpDisplayShell.

	* app/widgets/gimpcursorview.[ch]: Move from here...

	* app/display/gimpcursorview.[ch]: ...to here.

	* app/widgets/Makefile.am
	* app/display/Makefile.am: Change accordingly.

	* app/actions/cursor-info-actions.c
	* app/dialogs/dialogs-constructors.c
	* app/actions/cursor-info-commands.c
	* app/display/gimpdisplayshell-cursor.c: Update includes.

1561 1562 1563 1564 1565 1566
2008-11-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer-floating-sel.[ch]: made
	floating_sel_composite() private and simplify it a lot by using
	gimp_rectangle_intersect().

1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611
2008-11-09  Michael Natterer  <mitch@gimp.org>

	Bye bye floating_sel_rigor() and floating_sel_relax():

	* app/core/gimpdrawable.[ch] (gimp_drawable_init_src_region):
	implement compositing the floating selection on the fly. Add
	return parameter "TileManager **temp_tiles" which returns the temp
	buffer used for compositing; the caller has to unref the tiles.

	* app/core/gimpchannel-project.c
	* app/core/gimplayer-project.c: unref the temp_tiles.

	* app/core/gimplayer.[ch]: remove members fs.backing_store and
	fs.initial.

	* app/core/gimplayer-floating-sel.[ch]: remove functions rigor(),
	relax(), store() and restore(), they are not needed any longer.
	Some minor cleanup, more to come.

	* app/core/gimpprojection-construct.c: don't composite the
	floating selection before projecting because that happens on the
	fly now.

	* app/core/core-enums.[ch]
	* app/core/gimpfloatingselundo.c
	* app/core/gimpimage-undo-push.[ch]: remove the rigor and relax
	undos.

	* app/core/gimpdrawable.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage.c
	* app/core/gimplayer.c
	* app/xcf/xcf-save.c: remove all calls to rigor and relax and all
	implementations of virtual functions that were just there to
	rigor/releax around chaining up.

	* tools/pdbgen/pdb/floating_sel.pdb: remove all code from the
	rigor and relax wrappers and deprecate the API.

	* app/pdb/floating-sel-cmds.c
	* libgimp/gimpfloatingsel_pdb.[ch]: regenerated.

	* plug-ins/file-xjt/xjt.c: don't call rigor and relax.

1612 1613 1614 1615 1616 1617 1618
2008-11-09  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpcursorview.[ch]: Don't expose implementation
	details, introduce internal helper functions, and make coordinates
	outside the image be represented with an italic font instead of
	enclosed in parenthesis.

1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639
2008-11-08  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.[ch]: add optional parameter "PixelRegion
	*destPR" to GimpDrawable::apply_region().

	* app/core/gimpdrawable-combine.[ch]: if the passed destPR is !=
	NULL, write the result of the combination into that region instead
	of the drawable's tiles. The region must have the exact size of
	the result.

	* app/core/gimp-edit.c
	* app/core/gimpchannel.c
	* app/core/gimpdrawable-blend.c
	* app/core/gimpdrawable-bucket-fill.c
	* app/core/gimpdrawable-shadow.c
	* app/core/gimpdrawable-stroke.c
	* app/core/gimpimagemap.c
	* app/core/gimplayer-floating-sel.c
	* app/paint/gimppaintcore.c: pass NULL as destPR. Code actually
	using this feature follows.

1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650
2008-11-08  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.[ch]: add new function
	gimp_drawable_init_src_region() which will initialize a
	PixelRegion on this drawable's "projection" (with the floating
	selection combined), but for now just uses drawable->tiles.

	* app/core/gimpchannel-project.c
	* app/core/gimplayer-project.c: use it instead of
	pixel_region_init() on the drawable's tiles.

Michael Natterer's avatar
Michael Natterer committed
1651 1652 1653 1654
2008-11-08  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-combine.c: cleanup.

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
2008-11-08  Michael Natterer  <mitch@gimp.org>

	Abstract the legacy projection code away into a virtual function
	of GimpDrawable:

	* app/core/gimpdrawable.[ch]: add new virtual function
	GimpDrawable::project_region() which projects an area of a
	drawable onto a passed in PixelRegion.

	* app/core/Makefile.am
	* app/core/gimpchannel-project.[ch]
	* app/core/gimplayer-project.[ch]: new files which implement it.

	* app/core/gimpchannel.c
	* app/core/gimplayer.c: hook it in.

	* app/core/gimpprojection-construct.c: get rid all the projection
	code moved to above new files and project all drawables in one
	loop.

	* app/core/gimpprojectable.[ch]: remove the legacy methods
	get_colormap() and get_components(), they are not needed any
	longer.

	* app/core/gimpimage.c: changed accordingly.

1681 1682 1683 1684 1685 1686
2008-11-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette-load.c (gimp_palette_load_aco): improved
	error handling. Fixes compiler warnings about ignoring the return
	value of read().

1687 1688 1689 1690 1691 1692 1693 1694 1695
2008-11-06  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawablestack.[ch]: move the invalidate_previews()
	API from here...

	* app/core/gimpitemstack.[ch]: ...to here.

	* app/core/gimpimage.c: changed accordingly.

1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710
2008-11-06  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpitemstack.[ch]: new GimpList subclass which (for
	now) does nothing but taking ownership of its children by the
	means of g_object_ref_sink().

	* app/core/gimpdrawablestack.[ch]: derive from GimpItemStack.

	* app/core/gimpimage.c: use a GimpItemStack instead of a plain
	GimpList for the list of vectors. Remove code which takes
	ownerships of added items from gimp_image_add_layer(),
	add_channel() and add_vectors().

Nils Philippsen's avatar
Nils Philippsen committed
1711 1712 1713 1714
2008-11-06  Nils Philippsen  <nils@redhat.com>

	* plug-ins/file-jpeg/jpeg-save.c: fix memory leak

1715
2008-11-06  Sven Neumann  <sven@gimp.org>
1716 1717 1718 1719

	* libgimpconfig/gimpconfigwriter.c (gimp_config_writer_linefeed):
	use g_set_error_literal() here as well.

1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761
2008-11-06  Sven Neumann  <sven@gimp.org>

	* tools/gimp-mkenums: use NC_() to mark enum values for translation.
	Use a lower-case short form of the type name as translation context.

	* libgimp/libgimp-intl.h: define the NC_() macro as noop.

	* libgimpbase/gimpbasetypes.[ch]
	* libgimpbase/gimpbase.def: added new functions to set and
	get a translation context on an enum type.

	* app/base/Makefile.am
	* app/core/Makefile.am
	* app/display/Makefile.am
	* app/paint/Makefile.am
	* app/plug-in/Makefile.am
	* app/text/Makefile.am
	* app/tools/Makefile.am
	* app/widgets/Makefile.am
	* libgimp/Makefile.am
	* libgimpbase/Makefile.am:
	* libgimpconfig/Makefile.am
	* libgimpthumb/Makefile.am
	* libgimpwidgets/Makefile.am: register the translation context
	with the enum types.

	* app/display/display-enums.h
	* libgimpbase/gimpbaseenums.h
	* libgimpconfig/gimpcolorconfig-enums.h: removed old-style explicit
	translation context.

	* app/base/base-enums.c
	* app/core/core-enums.c
	* app/display/display-enums.c
	* app/paint/paint-enums.c
	* app/plug-in/plug-in-enums.c
	* app/text/text-enums.c
	* app/tools/tools-enums.c
	* app/widgets/widgets-enums.c
	* libgimpbase/gimpbaseenums.c
	* libgimpconfig/gimpcolorconfig-enums.c
	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
1762

Michael Natterer's avatar
Michael Natterer committed
1763 1764 1765 1766
2008-11-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.c: some minor cleanups.

1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779
2008-11-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawablestack.[ch]: add new function
	gimp_drawable_stack_invalidate_previews() which does just what it
	says.

	* app/core/gimpimage.[ch]: merge invalidate_layer_previews() and
	invalidate_channels_previews() into a single invalidate_previews()
	and replace all calls to the old functions by calls to
	gimp_drawable_stack_invalidate_previews().

	* app/file/file-open.c: changed accordingly.

1780 1781 1782 1783 1784 1785
2008-11-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-convert.c (gimp_image_convert): remove call
	to gimp_image_invalidate_layer_previews(), they are invalidated by
	exchanging their tiles and by setting the image's colormap anyway.

1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804
2008-11-05  Michael Natterer  <mitch@gimp.org>

	This should remove any image or viewable dependency from the
	projection (apart from the projectable's get_image() method, but
	that one is not supposed to return the projection's model but
	rather the image the projection is part of).

	* app/core/gimpprojectable.[ch]: add vfunc get_size() which
	completes the API needed for GEGL projection.

	Add vfuncs get_layers(), get_channels(), get_components() and
	get_colormap() which are needed for the legacy projection code.

	* app/core/gimpimage.c: implement the new methods.

	* app/core/gimpprojection.c
	* app/core/gimpprojection-construct.c: use them and remove all
	calls to image and viewable API.

1805 1806 1807 1808 1809 1810 1811 1812 1813
2008-11-05  Sven Neumann  <sven@gimp.org>

	* po-libgimp/Makefile.in.in
	* po-plug-ins/Makefile.in.in
	* po-python/Makefile.in.in
	* po-script-fu/Makefile.in.in
	* po-tips/Makefile.in.in
	* po/Makefile.in.in: prepared for use of the NC_() macro.

1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825
2008-11-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpprojectable.[ch]: add signal "structure-changed"
	and API to emit it.

	* app/core/gimpimage.c: emit it when the image emits
	"mode-changed" and "size-changed".

	* app/core/gimpprojection.c: connect to the new signal instead of
	"mode-changed" and "size-changed" to get rid of one more image
	dependency.

1826 1827 1828 1829 1830 1831
2008-11-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-dnd.c
	(gimp_display_shell_drop_uri_list): when dropping multiple images
	to the empty image window, open them as seperate images.

1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843
2008-11-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpprojectable.[ch]: add vitrual function
	invalidate_preview().

	* app/core/gimpimage.c: implement it and redirect to
	gimp_viewable_invalidate_preview().

	* app/core/gimpprojection.c: call the new API instead of
	gimp_viewable_invalidate_preview(). Some cleanup in the disabled
	cow-projection code.

1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867
2008-11-04  Michael Natterer  <mitch@gimp.org>

	Unfinished first step to make the projection independent of
	GimpImage, also one step closer to layer grouping.

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpprojectable.[ch]: add new interface which abstracts
	something that can have a projection attached to it. Has "update"
	and "flush" signals and get_graph() and get_image()
	vfuncs. get_image() is temporary until the hack is finishes.

	* app/core/gimpimage.[ch]: implement GimpProjectableInterface,
	remove "update" and "flush" signals and made get_graph() a private
	implementation of the interface method. Moved interface method
	implementations after virtual function implementations.

	* app/core/gimpprojection.[ch]: change member "image" to
	"projectable" and use the projectable API as often as
	possible. Still some implicit dependencies on the projectable
	being an image left but it's getting close.

	* app/core/gimpprojection-construct.c: same here.

Sven Neumann's avatar
Sven Neumann committed
1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883
2008-11-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplay-foreach.c: added missing include.

	* app/actions/debug-commands.c
	* plug-ins/common/lcms.c
	* plug-ins/common/mail.c
	* plug-ins/file-bmp/bmp-write.c
	* plug-ins/file-fits/fits.c
	* plug-ins/file-jpeg/jpeg.c
	* plug-ins/file-uri/uri.c
	* plug-ins/help/gimphelpdomain.c
	* plug-ins/ifs-compose/ifs-compose.c
	* plug-ins/print/print.c: fixed use of g_message() with literal
	strings.

Sven Neumann's avatar
Sven Neumann committed
1884
2008-11-04  Sven Neumann  <sven@gimp.org>
1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 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 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003

	* configure.in: bumped minimum required version of GLib to 2.18.0.

	* INSTALL: document the updated dependency.

	* app/core/gimp.[ch]: introduced gimp_message_literal(), a variant
	of gimp_message() that takes a literal string.

	* app/errors.[ch]: removed format arguments from gimp_fatal_error()
	and gimp_terminate() and let them take a literal string instead.

	* app/tools/gimptool.[ch]: introduced gimp_tool_message_literal(),
	a variant of gimp_tool_message() that takes a literal string.

	* app/actions/documents-commands.c
	* app/actions/drawable-commands.c
	* app/actions/edit-commands.c
	* app/actions/error-console-commands.c
	* app/actions/file-commands.c
	* app/actions/gradients-commands.c
	* app/actions/image-commands.c
	* app/actions/layers-commands.c
	* app/actions/palettes-commands.c
	* app/actions/plug-in-commands.c
	* app/actions/select-commands.c
	* app/actions/vectors-commands.c
	* app/config/gimprc.c
	* app/core/gimp-modules.c
	* app/core/gimp-parasites.c
	* app/core/gimp-templates.c
	* app/core/gimp-units.c
	* app/core/gimpchannel.c
	* app/core/gimpcontainer-filter.c
	* app/core/gimpdrawable-bucket-fill.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage.c
	* app/core/gimpimagefile.c
	* app/core/gimplayer-floating-sel.c
	* app/core/gimplayer.c
	* app/core/gimpselection.c
	* app/dialogs/convert-dialog.c
	* app/dialogs/dialogs.c
	* app/dialogs/palette-import-dialog.c
	* app/dialogs/preferences-dialog.c
	* app/dialogs/quit-dialog.c
	* app/dialogs/stroke-dialog.c
	* app/display/gimpdisplayshell-dnd.c
	* app/file/file-open.c
	* app/file/file-procedure.c
	* app/file/file-save.c
	* app/file/file-utils.c
	* app/gegl/gimpcurvesconfig.c
	* app/gegl/gimplevelsconfig.c
	* app/gui/gui-message.c
	* app/gui/gui.c
	* app/gui/session.c
	* app/paint/gimpbrushcore.c
	* app/paint/gimpclone.c
	* app/paint/gimpheal.c
	* app/paint/gimpperspectiveclone.c
	* app/paint/gimpsourcecore.c
	* app/pdb/gimppdb-utils.c
	* app/pdb/gimpprocedure.c
	* app/plug-in/gimpplugin-message.c
	* app/plug-in/gimpplugin.c
	* app/plug-in/gimppluginmanager-restore.c
	* app/plug-in/gimppluginprocedure.c
	* app/text/gimptextlayer.c
	* app/tools/gimp-tools.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpdesaturatetool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpforegroundselecttool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpgegltool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpimagemaptool-settings.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimppainttool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpselectiontool.c
	* app/tools/gimpsourcetool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpactionview.c
	* app/widgets/gimpcontrollerlist.c
	* app/widgets/gimpcontrollers.c
	* app/widgets/gimpdataeditor.c
	* app/widgets/gimpdevices.c
	* app/widgets/gimpdnd-xds.c
	* app/widgets/gimperrordialog.c
	* app/widgets/gimphelp.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimppdbdialog.c
	* app/widgets/gimpsettingsbox.c
	* app/widgets/gimpvectorstreeview.c
	* app/widgets/gimpwidgets-utils.c
	* app/xcf/xcf-load.c
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/floating_sel.pdb
	* tools/pdbgen/pdb/image.pdb: use the _literal variants for
	g_set_error(), gimp_message() and gimp_tool_message().

	* app/pdb/convert-cmds.c
	* app/pdb/edit-cmds.c
	* app/pdb/floating-sel-cmds.c
	* app/pdb/image-cmds.c: regenerated.

2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017
2008-11-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpprojection.[ch]: remove public functions
	get_tiles(), get_image(), get_image_type() and get_bytes().

	* app/actions/debug-commands.c
	* app/actions/layers-commands.c
	* app/core/gimpprojection-construct.c
	* app/display/gimpdisplayshell-render.c
	* app/paint/gimppaintcore.c
	* tools/pdbgen/pdb/layer.pdb: use the GimpPickable API insatead.

	* app/pdb/layer-cmds.c: regenerated.

Sven Neumann's avatar
Sven Neumann committed
2018
2008-11-04  Sven Neumann  <sven@gimp.org>
2019 2020 2021 2022 2023 2024 2025

	* app/base/tile-pyramid.[ch] (tile_pyramid_new):
	* app/core/gimpprojection.c (gimp_projection_get_tiles_at_level):
	reverted last change as the code in tile-pyramid does care about
	the pixel format and it should continue to reject types that it
	cannot handle.

2026 2027 2028 2029 2030 2031 2032 2033 2034 2035
2008-11-04  Michael Natterer  <mitch@gimp.org>

	* app/base/tile-pyramid.[ch] (tile_pyramid_new): changed "type"
	parameter into "bytes" because tile managers don't care about
	the pixel format of their tiles. Reordered parameters to match
	tile_manager_new().

	* app/core/gimpprojection.c (gimp_projection_get_tiles_at_level):
	pass the bytes instead of the image type.

2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047
2008-11-04  Sven Neumann  <sven@gimp.org>

	* app/text/Makefile.am
	* app/text/gimptext-private.h: removed this header file.

	* app/text/gimptextlayout.[ch]: added getters to access the
	resolution, text and PangoLayout.

	* app/text/gimptextlayout-render.c
	* app/tools/gimptexttool.c: use the new getters instead of poking
	into the GimpTextLayout struct.

2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059
2008-11-04  Sven Neumann  <sven@gimp.org>

	* app/text/Makefile.am
	* app/text/gimptext-bitmap.[ch]: removed.

	* app/text/gimptext-private.h
	* app/text/gimptext-vectors.c
	* app/text/gimptextlayer.c
	* app/text/gimptextlayout-render.[ch]
	* app/text/gimptextlayout.c: removed text render abstraction as
	this is now sufficiently provided by PangoCairo.

2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086
2008-11-03  Martin Nordholts  <martinn@svn.gnome.org>

	* app/gegl/gimpoperationpointlayermode.c
	(gimp_operation_point_layer_mode_process): Reuse the blending
	formula from the legacy Soft light. (Actually the formula comes
	from legacy Overlay but legacy Overlay and Soft light blends
	pixels exactly the same.) I hereby declare the porting of the
	layer modes to this GEGL operation complete. Summary:

	Completely works the same:

	  Normal, Dissolve, Behind, Color Erase, Erase, Anti Erase

	Works the same for 100% opaque layers:

	  Lighten only, Screen, Dodge, Addition, Darken only, Multiply,
	  Dodge, Soft light, Hard light, Difference, Subtract, Grain
	  extract, Grain merge, Divide, Hue, Saturation, Color, Value

	Works different but similar:

	  Overlay now uses the SVG 1.2 overlay formula which is different
	  but similar to legacy Overlay

	  Replace needs to be externally masked to not replace too much,
	  but that is outside the scope of the layer mode porting.

2087 2088 2089 2090 2091 2092
2008-11-03  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimpwidgets-constructors.c
	(gimp_paint_mode_menu_new): Arrange layer modes into more logical
	and useful groups.

2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103
2008-11-03  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/core/Makefile.am
	* app/display/Makefile.am
	* app/paint/Makefile.am
	* app/plug-in/Makefile.am
	* app/text/Makefile.am
	* app/tools/Makefile.am
	* app/widgets/Makefile.am
	* libgimp/Makefile.am
2104
	* libgimpbase/Makefile.am:
2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121
	* libgimpconfig/Makefile.am
	* libgimpthumb/Makefile.am
	* libgimpwidgets/Makefile.am: micro-optimization in the generated
	enum registration code.

	* app/base/base-enums.c
	* app/core/core-enums.c
	* app/display/display-enums.c
	* app/paint/paint-enums.c
	* app/plug-in/plug-in-enums.c
	* app/text/text-enums.c
	* app/tools/tools-enums.c
	* app/widgets/widgets-enums.c
	* libgimpbase/gimpbaseenums.c
	* libgimpconfig/gimpcolorconfig-enums.c
	* libgimpwidgets/gimpwidgetsenums.c: regenerated.

2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142
2008-11-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-edit.c
	* app/core/gimpchannel.c
	* app/core/gimpdrawable-transform.c
	* app/core/gimpdrawable.c
	* app/core/gimpdrawablemodundo.c
	* app/core/gimplayer.c
	* app/core/gimplayermask.c
	* app/core/gimpselection.c
	* app/text/gimptext-compat.c
	* app/text/gimptextlayer-xcf.c
	* app/vectors/gimpvectorsmodundo.c
	* app/widgets/gimpviewrendererdrawable.c
	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/layer.pdb: use accessors for item->offset_x,y.
	Some minor unrelated cleanups.

	* app/pdb/layer-cmds.c: regenerated.

2143 2144 2145 2146
2008-11-03  Michael Natterer  <mitch@gimp.org>

	* app/actions/vectors-actions.c: include "gimpcontainer.h".

2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167
2008-11-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.[ch] (gimp_drawable_set_tiles): add
	"GimpImageType type" parameter because there are only a few calls
	to this function which (can easily pass the current type); however
	most calls to gimp_drawable_set_tiles_full() were just using the
	function because of the type argument and passed in the item's
	current offsets (which means peeking into the item struct or using
	temp variables).

	* app/core/gimpdrawable-offset.c (gimp_drawable_offset)
	* app/text/gimptextlayer.c (gimp_text_layer_render)
	* app/tools/gimptransformtool.c (gimp_transform_tool_doit): pass
	the type to set_tiles().

	* app/core/gimpchannel.c (gimp_channel_convert)
	* app/core/gimpimage-convert.c (gimp_image_convert)
	* app/core/gimplayer.c (gimp_layer_convert,add_alpha,flatten):
	change calls to set_tiles_full() into set_tiles() because the
	offset doesn't change.

2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178
2008-11-03  Michael Natterer  <mitch@gimp.org>

	Bug 559015  Move tool gives bad information about px moved

	* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_init):
	set cursor precision to PIXEL_BORDER because that's what the move
	tool snaps to.

	Unrelated: set CENTER_CROSS_SIZE to an odd number so it's drawn
	symmetrically.

2179 2180 2181 2182 2183 2184 2185
2008-11-03  Sven Neumann  <sven@gimp.org>

	Bug 559081  JPEG Save dialog preview should adjust size units

	* plug-ins/file-jpeg/jpeg-save.c: use g_format_size_for_display()
	to display the JPEG file size.

2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225
2008-11-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.[ch]: renamed
	gimp_item_width() to gimp_item_get_width() and
	gimp_item_height() to gimp_item_get_height().

	* app/actions/channels-commands.c
	* app/actions/drawable-commands.c
	* app/actions/layers-commands.c
	* app/core/<many>.c
	* app/dialogs/offset-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/scale-dialog.c
	* app/display/gimpdisplayshell-dnd.c
	* app/display/gimpdisplayshell.c
	* app/paint/gimpbrushcore.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimpink.c
	* app/paint/gimppaintcore.c
	* app/paint/gimpsmudge.c
	* app/text/gimptextlayer-xcf.c
	* app/text/gimptextlayer.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpforegroundselecttool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimpregionselecttool.c
	* app/tools/gimptexttool.c
	* app/vectors/gimpvectors.c
	* app/vectors/gimpvectorsmodundo.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimpviewrendererdrawable.c
	* app/widgets/gimpviewrenderervectors.c
	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/drawable.pdb: changed accordingly.

	* app/pdb/drawable-cmds.c: regenerated.

2226 2227 2228 2229 2230 2231
2008-11-03  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpitem.c: Instantiate offset_node on-demand.

	* app/core/gimpdrawable.c: Use gimp_item_set_offset().

2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262
2008-11-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.[ch]: renamed
	gimp_item_offsets() to gimp_item_get_offset() and
	gimp_item_set_offsets() to gimp_item_set_offset().

	* app/actions/drawable-commands.c
	* app/actions/layers-commands.c
	* app/core/<many>.c
	* app/display/gimpdisplayshell-dnd.c
	* app/display/gimpdisplayshell-preview.c
	* app/display/gimpdisplayshell-transform.c
	* app/display/gimpdisplayshell.c
	* app/paint/gimppaintcore-stroke.c
	* app/paint/gimppaintcore.c
	* app/paint/gimpsourcecore.c
	* app/text/gimptextlayer-xcf.c
	* app/tools/<many>.c
	* app/widgets/gimptoolbox-dnd.c
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/drawable_transform.pdb
	* tools/pdbgen/pdb/selection.pdb
	* tools/pdbgen/pdb/transform_tools.pdb
	* tools/pdbgen/pdb/vectors.pdb: changed accordingly.

	* app/pdb/drawable-cmds.c
	* app/pdb/drawable-transform-cmds.c
	* app/pdb/selection-cmds.c
	* app/pdb/vectors-cmds.c
	* app/pdb/transform-tools-cmds.c: regenerated.

2263 2264
2008-11-02  Martin Nordholts  <martinn@svn.gnome.org>

2265 2266
	* app/core/gimpitem.[ch] (gimp_item_set_offsets): New function
	that sets the offset of the item and also keeps the offset_node in
2267 2268 2269 2270 2271 2272
	sync.

	* app/core/gimpdrawable.c (gimp_drawable_real_set_tiles): Use the
	function instead of setting the offsets directly. Fixes corrupted
	display when cropping images with GEGL enabled for the projection.

2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284
2008-11-02  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpitem.[ch]: Moved the shift_node from GimpLayer to
	GimpItem, and call it offset_node. Also added
	gimp_item_get_offset_node() meant to be used in the same way as
	gimp_item_offsets().

	(gimp_item_real_translate): Keep the offset_node up to date.

	* app/core/gimplayer.[ch]: Don't manage the offset_node, get it
	from GimpItem instead.

2285 2286 2287 2288 2289 2290 2291 2292