ChangeLog 174 KB
Newer Older
1 2 3 4 5 6 7
2009-03-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrendererimagefile.c
	(gimp_view_renderer_imagefile_get_icon)
	* plug-ins/print/print.c (query): removed GTK+ version checks that
	have become obsolete.

8 9 10 11 12 13 14 15
2009-03-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/file-uri/Makefile.am
	* plug-ins/file-uri/gimpmountoperation.[ch]: removed these files.

	* plug-ins/file-uri/uri-backend-gvfs.c: use GtkMountOperation
	instead of our copy of this widget.

Sven Neumann's avatar
Sven Neumann committed
16 17 18 19 20 21
2009-03-05  Sven Neumann  <sven@gimp.org>

	* configure.in: depend on GTK+ >= 2.14.4.

	* INSTALL: changed accordingly.

22 23
2009-03-05  Sven Neumann  <sven@gimp.org>

24 25 26 27
	Bug 573695  1-bit white background saved as PBM becomes all black

	* plug-ins/common/file-pnm.c: need to handle the special case that
	the image colormap has only one entry.
28

29 30 31 32 33 34 35 36 37 38 39 40
2009-03-04  Sven Neumann  <sven@gimp.org>

	Bug 574149  Can't get name/filename of files loaded from URI

	* tools/pdbgen/pdb/image.pdb: added new procedure gimp-image-get-uri.

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

	* plug-ins/pygimp/pygimp-image.c: wrap the new procedure into an
	Image attribute.

41 42 43 44 45 46 47 48
2009-03-04  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb (image_get_filename): improved docs
	for gimp-image-get-filename.

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

49 50 51 52 53 54 55 56 57 58
2009-03-04  Sven Neumann  <sven@gimp.org>

	Bug 574149 – Can't get name/filename of files loaded from URI

	* tools/pdbgen/pdb/image.pdb (image_get_name_invoker): use
	gimp_image_get_display_name().

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

59 60 61 62 63 64 65 66
2009-03-03  Sven Neumann  <sven@gimp.org>

	Bug 520078  Rotate brushes

	* app/core/gimpbrush-transform.c: applied patch from Tal that
	improves bilinear interpolation for the brush transformations and
	fixes a bug in the calculation of the transformation matrix.

67 68 69 70 71 72 73
2009-03-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpfilteredcontainer.[ch]
	* app/core/gimptag.c
	* app/core/gimptagcache.[ch]: codingstylize. Call iterator GList*
	variables simply "list" just as we call integers simply "i".

74 75 76 77 78 79
2009-03-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptagentry.c (gimp_tag_entry_expose): use
	gtk_paint_layout() instead of fiddling with a PangoRenderer
	manually.

80 81 82 83 84
2009-03-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptagentry.c (gimp_tag_entry_key_press): allow to
	leave the widget with Ctrl+Tab. Handle GDK_KP_Tab and
	GDK_ISO_Left_Tab.
85
	(gimp_tag_entry_expose): 
86

87 88 89 90 91 92 93 94 95
2009-03-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimptagged.[ch]: add gimp_tagged_set_tags() which
	takes a GList of tags.

	* app/widgets/gimptagentry.c (gimp_tag_entry_assign_tags): use it.

	(gimp_tag_entry_item_set_tags): remove.

96 97 98 99 100 101 102 103
2009-03-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcombotagentry.c
	* app/widgets/gimptagentry.c: indentation, spacing, some general
	formatting cleanup.

	(gimp_tag_entry_expose): don't leak the PangoAttrList.

104 105 106 107 108 109
2009-03-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/ripple.c: use enum GimpOrientationType instead
	of local #defines for HORIZONTAL and VERTICAL with identical
	values. Some indentation and formatting fixups.

110 111 112 113 114 115
2009-02-28  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpregioniterator.c: update the progress less often.

	* plug-ins/common/ripple.c: formatting.

116 117 118 119
2009-02-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/file-svg.c: reverted accidental commit.

120 121 122 123 124 125 126
2009-02-28  Sven Neumann  <sven@gimp.org>

	Bug 573488 – Small bug in Filter>Distorts>Ripple

	* plug-ins/common/ripple.c (ripple_vertical): fixed bug spotted in
	SMEAR mode, pointed out by Andreas Groth.

127 128 129 130 131 132 133
2009-02-28  Sven Neumann  <sven@gimp.org>

	Bug 520078 – Rotate brushes

	* app/core/gimpbrush-transform.c: applied patch from Tal that
	implements bilinear interpolation for the brush transformations.

134 135 136 137 138
2009-02-28  Martin Nordholts  <martinn@svn.gnome.org>

	* app/actions/debug-commands.c: Properly show name of image graph
	source image

139 140 141 142 143 144
2009-02-26  Sven Neumann  <sven@gimp.org>

	* app/gui/gui.c (gui_restore_callback): connect to changes of the
	"user-manual-online" gimprc property and kill the gimp-help
	plug-in as it caches the location of the help pages.

145 146 147
	* app/widgets/gimphelp.[ch]: added gimp_help_user_manual_changed()
	for this purpose.

148 149 150 151
2009-02-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/file-pcx.c: sprinkled with const qualifiers.

152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
2009-02-23  Martin Nordholts  <martinn@svn.gnome.org>

	Add a Show Image Graph item to the Debug menu that creates a new image
	showing the GEGL graph for the image. Would benefit from an enhanced
	gegl:introspect op with a clearer graph, but still quite interesting
	in its current shape.

        * app/actions/debug-actions.c
        * app/actions/debug-commands.[ch]
        * menus/image-menu.xml.in

2009-02-23  Martin Nordholts  <martinn@svn.gnome.org>

        * app/gegl/gimp-gegl-utils.[ch]: Add a GEGL utility function
	gimp_buffer_to_tiles()

168 169 170 171 172
2009-02-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (register): warn if a script uses the
	decprecated way of registering its menu location.

173 174 175 176
2009-02-22  Marco Ciampa  <ciampix@libero.it>

        * app/actions/image-actions.c: fixed duplicated keyboard shortcut

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 205 206 207 208
2009-02-21  Martin Nordholts  <martinn@svn.gnome.org>

	Rename gegl-types.h to gimp-gegl-types.h as gegl-types.h invades
	on the GEGL namespace

	* app/core/core-types.h
	* app/gegl/Makefile.am
	* app/gegl/gimp-gegl-types.h   (renamed from app/gegl/gegl-types.h)
	* app/gegl/gimp-gegl-utils.c
	* app/gegl/gimp-gegl.c
	* app/gegl/gimpbrightnesscontrastconfig.c
	* app/gegl/gimpcolorbalanceconfig.c
	* app/gegl/gimpcolorizeconfig.c
	* app/gegl/gimpcurvesconfig.c
	* app/gegl/gimpdesaturateconfig.c
	* app/gegl/gimphuesaturationconfig.c
	* app/gegl/gimplevelsconfig.c
	* app/gegl/gimpoperationcolorbalance.c
	* app/gegl/gimpoperationcolorize.c
	* app/gegl/gimpoperationcurves.c
	* app/gegl/gimpoperationdesaturate.c
	* app/gegl/gimpoperationhuesaturation.c
	* app/gegl/gimpoperationlevels.c
	* app/gegl/gimpoperationpointfilter.c
	* app/gegl/gimpoperationpointlayermode.c
	* app/gegl/gimpoperationposterize.c
	* app/gegl/gimpoperationthreshold.c
	* app/gegl/gimpoperationtilesink.c
	* app/gegl/gimpoperationtilesource.c
	* app/gegl/gimpposterizeconfig.c
	* app/gegl/gimpthresholdconfig.c

209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
2009-02-20  Michael Natterer  <mitch@gimp.org>

	Bug 572156 – top left pixel position/coordinate is not 0,0 but 1,1

	* app/display/gimpstatusbar.c
	(gimp_statusbar_push_coords)
	(gimp_statusbar_update_cursor): fix braino for
	GIMP_CURSOR_PRECISION_PIXEL_CENTER: going to the pixel's
	center doesn't need any rounding, it simply needs clipping
	the coordinates' fractional parts, gah...

	Review all tools' cursor precision:

	* app/tools/gimpblendtool.c (gimp_blend_tool_init): set cursor
	precision to SUBPIXEL.

	* app/tools/gimptexttool.c (gimp_text_tool_init)
	* app/tools/gimpmeasuretool.c (gimp_measure_tool_init)
	* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_init):
	set cursor precision to PIXEL_BORDER.

230 231 232 233 234
2009-02-19  Michael Natterer  <mitch@gimp.org>

	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_save): no need to
	g_strdup_printf() a simple string, use g_strdup() instead.

235 236 237 238 239 240 241 242
2009-02-18  Sven Neumann  <sven@gimp.org>

	Bug 99457 – Support for dynamics on tilt

	* app/tools/gimppaintoptions-gui.c
	* app/paint/gimppaintoptions.[ch]: applied patch from Alexia Death
	that allows to map tilt to the dynamic brush parameters.

243 244 245 246 247 248
2009-02-17  Aurimas Juška  <aurisj@svn.gnome.org>

	* data/tags/gimp-tags-default.xml.in: default to empty tag set.
	* data/tags/gimp-tags.dtd: changed to allow resources without tags
	assigned.

249 250 251 252 253 254 255
2009-02-17  Aurimas Juška  <aurisj@svn.gnome.org>

	* po-tags/*: got rid of extra message domain.

	* configure.in:
	* data/tags/Makefile.am: changed accordingly.

256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273
2009-02-16  Aurimas Juška  <aurisj@svn.gnome.org>

	* app/core/Makefile.am:
	* app/core/gimp-tags.c:
	* app/core/gimp-tags.h:
	* app/core/gimp-user-install.c (user_install_create_files),
	(user_install_migrate_files):
	* configure.in:
	* data/Makefile.am:
	* data/tags/Makefile.am:
	* data/tags/gimp-tags.dtd: added default tag set, support for
	  translating tags into various languages, user installation
	  and migration procedures.

	* data/tags/gimp-tags-default.xml.in: initial tag set for testing
	purposes. This has to be replaced with something else before
	translators can start their work.

274 275 276 277 278 279
2009-02-16  Aurimas Juška  <aurisj@svn.gnome.org>

	* app/widgets/gimptagentry.c (gimp_tag_entry_set_tag_string):
	fixed popup list (tag cloud) toggling by querying tags immediately
	instead of adding idle handler.

280 281 282 283 284 285
2009-02-16  Aurimas Juška  <aurisj@svn.gnome.org>

	* app/widgets/gimptagentry.c (gimp_tag_entry_commit_tags),
	(gimp_tag_entry_strip_extra_whitespace): don't cause tag query
	after focus-out. Fixes annoying bug.

286 287 288 289 290 291 292 293 294 295 296
2009-02-14  Sven Neumann  <sven@gimp.org>

	Bug 99457  Support for dynamics on tilt

	* app/core/gimpbrush.[ch]
	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrush-transform.[ch]
	* app/paint/gimpbrushcore.c
	* app/paint/gimpsmudge.c: applied patch from Alexia Death,
	separates brush scaling for x and y.

297 298 299 300 301
2009-02-14  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpdrawable.c: Remove
	gimp_drawable_update_tile_source_node(), it was not useful.

302 303 304 305 306 307 308
2009-02-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcoords-interpolate.c
	* app/display/gimpdisplayshell-coords.c: applied patch from Alexia
	Death that fixes issues with the new stroke direction code
	(bug #520078).

309 310 311 312 313 314 315 316
2009-02-14  Sven Neumann  <sven@gimp.org>

	Bug 472644  Rotate with clipping crops the whole layer

	* app/core/gimp-transform-resize.c: applied patch as attached to
	bug #472644. Supposedly fixes the problem of the disappearing
	image.

317 318 319 320 321 322 323
2009-02-13  Sven Neumann  <sven@gimp.org>

	Bug 571628  Scaling image to 25% turn background from white to grey

	* app/paint-funcs/scale-region.c (pixel_average2): fixed right-shift
	for GRAYA pixels.

324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
2009-02-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.c (gimp_drawable_sync_source_node): need
	to rip the floating selection's source node out of its layer's
	graph before using it in the floating selection sub-graph, and
	need to plug it back there when it's not a floating selection any
	longer.

	Unrelated:

	Also introduce a "fs_crop_node" that makes sure the floating
	selection stops at the drawable's boundaries.

	(gimp_drawable_visibility_changed): use item->node instead of
	gimp_item_get_node() because the latter creates the node on
	demand.

	* app/core/gimpdrawable-private.h: add fs_crop_node member.

343 344 345 346 347 348 349 350 351
2009-02-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/file-faxg3/Makefile.am
	* plug-ins/help/Makefile.am
	* plug-ins/metadata/Makefile.am: add $(libgimpconfig) to LDADD
	where it was missing. Libgimp pulls in libgimpconfig and these
	plug-ins were linking against the installed libgimpconfig under
	some #$&%*#%&%$& .la file circumstances.

352 353 354 355 356 357 358 359
2009-02-12  Michael Natterer  <mitch@gimp.org>

	Bug 567840  GIMP's GtkScaleButton conflicts with GTK's

	* app/widgets/gtkscalebutton.c: rename the type to
	"GimpGtkScaleButton" so we don't crash if the real
	GtkScaleButton type is registered too.

360 361 362 363 364 365
2009-02-11  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcoords-interpolate.c
	(gimp_coords_interpolate_catmull): applied patch from Alexia Death
	that fixes a bug that was introduced by the last commit.

366 367 368 369 370 371 372 373
2009-02-10  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcoords-interpolate.c
	* app/core/gimpbrush-transform.c
	* app/paint/gimppaintoptions.c
	* app/display/gimpdisplayshell-coords.c: applied patch from Alexia
	Death that fixes the direction of brush rotation (bug #520078).

374 375 376 377 378 379
2009-02-10  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-coords.c
	(gimp_display_shell_eval_event): applied patch from Alexia Death
	that introduces smoothing for the stroke direction (bug #520078).

380 381 382 383 384 385
2009-02-09  Sven Neumann  <sven@gimp.org>

	* app/actions/tools-commands.c (tools_paint_brush_angle_cmd_callback):
	applied patch from Alexia Death that changes the steppings of the
	newly introduced brush rotation actions as suggested in bug #520078.

386 387 388 389 390 391 392
2009-02-09  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpgegltool.c (gimp_gegl_tool_dialog): seems
	pointless to include the GIMP-specific GEGL operations as they
	can't be reasonably controlled by the generic GEGL tool user
	interface.

393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
2009-02-09  Michael Natterer  <mitch@gimp.org>

	Bug 569470  pls, introduce an option 'how many latest presets for
	color curves should be saved'

	* app/config/gimprc-blurbs.h
	* app/config/gimpguiconfig.[ch]: add integer property
	"image-map-tool-max-recent" which defaults to ten. Adding a GUI
	for this IMO needs discussion, the value of ten seems appropriate.

	* app/widgets/gimpsettingsbox.[ch]
	(gimp_settings_box_add_current): add "gint max_recent" parameter
	and limit the number of recent settings to this number.

	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_response):
	pass the new settings property to above function.

410 411 412 413 414 415
2009-02-08  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcurvestool.c (gimp_curves_tool_key_press): if the
	curve view didn't handle the key press, chain up so the normal
	GimpImageMapTool keys for reset/cancel/ok works.

416 417 418 419 420
2009-02-08  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimppaintoptions-gui.c: Fix stack overwrites in
	gimp_paint_options_gui()

421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449
2009-02-08  Michael Natterer  <mitch@gimp.org>

	Bug 520078 – Rotate brushes

	Applied a slightly modified patch from Alexia Death:

	* app/core/core-types.h (struct GimpCoords): add "direction" member.

	* app/core/gimpcoords.c: take direction into account in mix(),
	scalarprod(), length_squared(), manhattan_dist() and equal().

	* app/core/gimpcoords-interpolate.c
	(gimp_coords_interpolate_catmull): same here.
	* app/display/gimpdisplayshell-coords.c

	(gimp_display_shell_eval_event): same here.

	* app/paint/gimppaintoptions.[ch]: add properties for direction
	dynamics and adapt dynamics mixing accordingly.

	* app/paint/gimpbrushcore.c (gimp_brush_core_interpolate):
	"interpolate" direction too (in fact, just copy it from
	last_coords since it doesn't change along a straight line).

	* app/paint/gimppaintcore-stroke.c
	(gimp_paint_core_stroke_emulate_dynamics): emulate direction too.

	* app/tools/gimppaintoptions-gui.c: add GUI for direction dynamics.

450 451 452 453 454 455 456 457 458 459 460 461 462 463
2009-02-07  Michael Natterer  <mitch@gimp.org>

	Simplify floating selection handling a bit more:

	* app/core/gimpdrawable.c
	(gimp_drawable_attach_floating_sel)
	(gimp_drawable_detach_floating_sel): call
	gimp_image_set_floating_selection() from these functions.

	* app/core/gimpfloatingselundo.c (gimp_floating_sel_undo_pop)
	* app/core/gimpimage.c (gimp_image_add,remove_layer)
	* app/core/gimplayer-floating-sel.c (floating_sel_to_layer): don't
	call it here because we already call above functions.

464 465 466 467 468 469 470 471 472 473 474 475 476
2009-02-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.c
	(gimp_drawable_attach_floating_sel)
	(gimp_drawable_detach_floating_sel): call
	gimp_drawable_invalidate_boundary(floating_sel). Fixes missing
	selection update after turning a floating selection into a
	layer. It's called redundantly now when adding or deleting a
	floating selection, but that doesn't hurt much.

	* app/core/gimpfloatingselundo.c (gimp_floating_sel_undo_pop):
	don't call it here because we already call above functions.

477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498
2009-02-07  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpimagemap.c: Move undo tiles updating into a helper
	function gimp_image_map_update_undo_tiles() so the logic of
	gimp_image_map_apply() becomes clearer.

2009-02-07  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpimagemap.c: Introduce and use a local helper
	function gimp_image_map_kill_any_idle_processors() to get a rid of
	some code duplication.

2009-02-07  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpimagemap.c: Introduce and use a local helper
	function gimp_image_map_cancel_any_idle_jobs() to get a rid of
	some code duplication.

2009-02-07  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpimagemap.c: Fix misindented return statement.

Sven Neumann's avatar
Sven Neumann committed
499 500 501 502 503 504 505 506 507
2009-02-06  Sven Neumann  <sven@gimp.org>

	* app/actions/tools-commands.c
	(tools_paint_brush_angle_cmd_callback): let the brush angle wrap.

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

	* app/actions/tools-commands.c:

508 509 510 511 512
2009-02-06  Sven Neumann  <sven@gimp.org>

	* app/actions/actions.c (action_select_property): mark strings for
	translation and add translator comments for them.

513 514 515 516 517
2009-02-06  Sven Neumann  <sven@gimp.org>

	* app/actions/actions.c: prototype action_message() with format
	function attribute and move it to the bottom of the file.

518 519 520 521 522 523
2009-02-06  Sven Neumann  <sven@gimp.org>

	* app/actions/tools-commands.c
	(tools_paint_brush_angle_cmd_callback): fixed parameters passed to
	action_select_property().

524 525 526 527 528
2009-02-06  Michael Natterer  <mitch@gimp.org>

	Bug 471681  Keyboard shortcuts for brush size/params need
	feedback

529 530
	Applied patch from Stephen G. and Sven Neumann which addresses
	above bug:
531 532 533 534 535 536 537 538 539 540 541 542 543

	* app/actions/actions.[ch]: add new function action_message()
	which pushes a temp message to a display's statusbar.

	(action_select_property): add GimpDisplay* parameter and call
	action_message() for int and double property changes.

	* app/actions/tools-commands.c: pass the display to
	action_select_property().

	* app/paint/gimpinkoptions.c: add some blurbs to make it work
	for the ink blob properties.

544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570
2009-02-05  Sven Neumann  <sven@gimp.org>

	Bug 520078 – Rotate brushes

	Applied patch from Alexia Death:

	* app/core/gimpbrush.[ch]
	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrush-transform.[ch]: affine transformations for
	brushes. So far only scaling and rotation is supported. The
	transformation is done using nearest-neighbour. This is a
	regression and we need to add back interpolation before the next
	release.

	* app/paint/gimpsmudge.c
	* app/paint/gimppaintoptions.[ch]
	* app/paint/gimpbrushcore.[ch]: allow to control the brush
	rotation angle.

	* app/tools/gimppaintoptions-gui.c
	* app/tools/gimpbrushtool.c: added UI for controlling the
	brush rotation angle.

	* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]: add actions for controlling the
	brush rotation angle.

571 572 573 574 575 576 577 578 579 580
2009-02-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.h
	* app/core/gimpdrawable-preview.c: move the preview related
	members to the private struct.

	* app/core/gimpdrawable.c
	* app/core/gimpdrawable-private.h
	* app/core/gimpselection.c: changed accordingly.

581 582 583 584 585
2009-02-05  Michael Natterer  <mitch@gimp.org>

	* app/core/core-types.h: sort the types by inheritence again, but
	keep the alphabetic ordering within one level.

586 587 588 589 590 591 592 593 594 595 596 597 598
2009-02-04  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/gimpdrawable-private.h: new file which contains struct
	GimpDrawablePrivate. Move some stuff from GimpDrawable here.

	* app/core/gimpdrawable.[ch]
	* app/core/gimpdrawable-shadow.c: changed accordingly.

	* app/text/gimptextlayer-xcf.c
	* app/xcf/xcf-load.c: include the private struct for these ugly
	corner cases.

599 600 601 602 603 604
2009-02-02  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-title.c: reverted last change. It's
	not helpful to use different strings for the same information and
	space is not crucial in the window title.

605 606 607 608 609 610
2009-02-01  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-title.c: Use the dedicated image
	type strings for the image window title, the enum value strings
	are too verbose.

611 612 613 614 615 616
2009-02-01  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpdrawable.c: Collect logic to update the
	tile_source_node in a new helper function
	gimp_drawable_update_tile_source_node().

617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632
2009-02-01  Martin Nordholts  <martinn@svn.gnome.org>

	Applied patch from Alexia Death that prepares brushes for
	arbitrary transforms by renaming stuff with 'scale' to
	'transform'. Takes us one step closer to fixing bug #520078.

	* app/core/gimpbrush.[ch]
	* app/core/gimpbrushgenerated.c
	* app/paint/gimpbrushcore.[ch]
	* app/paint/gimpsmudge.c

	* app/core/gimpbrush-transform.[ch]: New names of
	* app/core/gimpbrush-scale.[ch]

	* app/core/Makefile.am: Update.

633 634 635 636 637
2009-02-01  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimplayer.[ch]: Add const qualifier to
	gimp_layer_get_floating_sel_drawable().

638 639 640 641
2009-01-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.[ch]: removed gimp_image_get_type_string()
	again.
Sven Neumann's avatar
Sven Neumann committed
642

643 644 645 646 647 648 649 650
	* app/display/gimpdisplayshell-title.c
	(gimp_display_shell_format_title): use the GimpImageBaseType enum
	instead.

	* app/tools/gimptool.c (gimp_tool_oper_update): if the image is
	empty and the tool can't handle that, display a message in the
	statusbar telling the user about this.

651 652 653 654 655 656
2009-01-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpchannel-combine.c (gimp_channel_combine_ellipse_rect):
	fixed incorrect optimization that caused glitches in the rounded
	corners on the left side of rectangular selections.

657 658 659 660 661
2009-01-28  Sven Neumann  <sven@gimp.org>

	* app/pdb/gimpprocedure.c (gimp_procedure_execute): don't set an
	error if the procedure was cancelled.

662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680
2009-01-26  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.[ch]: add new accessor
	gimp_layer_get_floating_sel_drawable() which returns the drawable
	the floating layer is attached to.

	* app/core/gimpdrawable.c
	* app/core/gimpfloatingselundo.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-quick-mask.c
	* app/core/gimpimage.c
	* app/core/gimplayer.c
	* app/core/gimplayer-floating-sel.c
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/image.pdb: use it instead of accessing
	layer->fs.drawable directly.

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

681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707
2009-01-26  Michael Natterer  <mitch@gimp.org>

	The GEGL projection does floating selections now:

	* app/core/gimpdrawable.[ch] (struct GimpDrawable): add a couple
	of GeglNodes which are used to create a sub-graph for this
	drawable's floating selection.

	(gimp_drawable_detach_floating_sel)
	(gimp_drawable_attach_floating_sel): new functions to call
	whenever a floating selection gets attached or detached.

	Change the role of the drawable's "source_node": it's no longer a
	direct tile source but an arbitrary graph. Add new internal
	function gimp_drawable_sync_source_node() which creates a
	sub-graph for the floating selection within the source node, and
	uses the new "tile_source_node" directly otherwise. Connect to
	"notify" of the floating selection and reconfigure its sub-graph
	when its properties change. This is also one more refactoring in
	the direction of layer trees.

	* app/core/gimpfloatingselundo.c
	* app/core/gimpimage.c
	* app/core/gimplayer-floating-sel.c: call the new attach/detach
	API whenever a floating selection is attached or detached from a
	drawable. This will need more refactoring i guess...

708 709 710 711 712 713 714 715 716
2009-01-26  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.c (gimp_drawable_visibility_changed):
	don't show the floating selection layer in the image graph, it
	will be shown by the drawable it is attached to. This is a temp
	special case hack, but better fits here than into the newly
	created and clean GimpDrawableStack. The floating selection will
	see the end of its days as layer soon enough anyway.

717 718 719 720 721 722
2009-01-26  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpbutton.c (gimp_button_clicked): chain up if a
	parent impl exists to be safe against future gtk versions doing
	something in GtkButton::clicked() (as happened in GTK+ trunk).

723 724 725 726 727
2009-01-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve-bend.c (p_load_pointfile): check the
	return value of fgets().

728 729 730 731 732 733
2009-01-26  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpregionselecttool.c
	(gimp_region_select_tool_button_release): move variables to local
	scope.

734 735 736 737 738 739
2009-01-25  Martin Nordholts  <martinn@svn.gnome.org>

	* app/pdb/gimpprocedure.[ch] (gimp_procedure_create_override): New
	helper function that creates a new GimpProcedure that can be used
	to override an existing procedure.

740 741 742 743 744 745 746 747 748 749
2009-01-25  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpimage.[ch] (gimp_image_get_type_string): New method
	to get a string representation of the image type.

	* app/display/gimpdisplayshell-title.c
	(gimp_display_shell_format_title): Ask the GimpImage for an image
	type string instead of making assumptions about its
	implementation.

750 751 752 753 754
2009-01-25  Martin Nordholts  <martinn@svn.gnome.org>

	* app/base/temp-buf.c (temp_buf_copy): Bail out if we fail to
	create a dest buffer.

755 756 757 758 759 760 761 762 763
2009-01-25  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/gimpparamspecs-duplicate.[ch]: new files implementing
	gimp_param_spec_duplicate() which is supposed to duplicate any
	gimp or gegl GParamSpec (but doesn't do this yet).

	* app/tools/gimpgegltool.c: remove the code form here.

764 765 766 767 768
2009-01-25  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpgegltool.c (gimp_param_spec_duplicate):
	gegl_color_get_rgba() takes pointers to doubles now, not floats.

769 770 771 772 773 774 775 776
2009-01-24  Michael Natterer  <mitch@gimp.org>

	Bug 568890 – don't rely on GtkAction implementation details

	* app/widgets/gimpuimanager.c (gimp_ui_manager_menu_item_select):
	use gtk_widget_get_action() instead of g_object_get_data(),
	which relies on the name of the data key.

777 778 779
2009-01-23  Kevin Cozens  <kcozens@cvs.gimp.org>

	* libgimpcolor/gimprgb-parse.c: Applied patch from Andreas Turtschan
780 781 782 783 784 785
	to fix more RGB colour values. Fixes bug #568909.

2009-01-23  Kevin Cozens  <kcozens@cvs.gimp.org>

	* libgimpcolor/gimprgb-parse.c: Applied patch from Andreas Turtschan
	to fix colour values for slategray and slategrey. Fixes bug #568839.
786

787 788
2009-01-22  Tor Lillqvist  <tml@iki.fi>

Sven Neumann's avatar
Sven Neumann committed
789
	Bug 559408 - Brushes dragged to the image window look strange
790 791 792 793 794 795

	* app/widgets/gimppixbuf.c (gimp_pixbuf_format_compare): Drop
	Windows-specific code to prefer BMP. The BMP format written by
	gdk-pixbuf doesn't support alpha. PNG is better. Note that the
	same bug report also takes up a different problem.

796 797 798 799 800 801
2009-01-21  Sven Neumann  <sven@gimp.org>

	Bug 568617 – "Plase" misspelled

	* app/widgets/gimpuimanager.c: fixed typo.

802 803 804 805 806 807 808 809 810
2009-01-20  Martin Nordholts  <martinn@svn.gnome.org>

	Adjust to babl API adjustment by doing
	s/babl_format_from_name/babl_format/

	* app/gegl/gimp-gegl-utils.c
	* app/gegl/gimpoperationpointlayermode.c
	* app/gegl/gimpoperationtilesource.c

811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847
2009-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/*.c
	* plug-ins/color-rotate/color-rotate.c
	* plug-ins/file-bmp/bmp.c
	* plug-ins/file-faxg3/faxg3.c
	* plug-ins/file-fits/fits.c
	* plug-ins/file-fli/fli-gimp.c
	* plug-ins/file-ico/ico.c
	* plug-ins/file-jpeg/jpeg.c
	* plug-ins/file-psd/psd-save.c
	* plug-ins/file-psd/psd.c
	* plug-ins/file-sgi/sgi.c
	* plug-ins/file-uri/uri.c
	* plug-ins/file-xjt/xjt.c
	* plug-ins/flame/flame.c
	* plug-ins/fractal-explorer/fractal-explorer.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/gradient-flare/gradient-flare.c
	* plug-ins/help-browser/help-browser.c
	* plug-ins/ifs-compose/ifs-compose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/lighting/lighting-main.c
	* plug-ins/map-object/map-object-main.c
	* plug-ins/maze/maze.c
	* plug-ins/metadata/metadata.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/print.c
	* plug-ins/pygimp/gimpfu.py
	* plug-ins/script-fu/script-fu-script.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/selection-to-path/selection-to-path.c
	* plug-ins/twain/twain.c
	* plug-ins/win-snap/winsnap.c: document the "run-mode" parameter
	as we document enums for core procedures.

848 849 850 851 852 853 854
2009-01-18  Sven Neumann  <sven@gimp.org>

	Bug 568095 – Patch to improve unsharp mask performance

	* plug-ins/common/unsharp-mask.c (box_blur_line): applied another
	patch from Winston Chang with further performance improvements.

855 856 857 858
2009-01-18  Sven Neumann  <sven@gimp.org>

	* configure.in: depend on babl >= 0.0.23 and GEGL >= 0.0.22.

859 860 861 862 863 864
2009-01-18  Sven Neumann  <sven@gimp.org>

	* configure.in (CPPFLAGS): added -DBABL_DISABLE_DEPRECATED.

	* plug-ins/common/unsharp-mask.c: formatting.

865 866 867 868 869 870 871 872
2009-01-18  Martin Nordholts  <martinn@svn.gnome.org>

	Bug 563337 – Rectangle Select Tool does not allow 1:1 fixed ratio

	* libgimpwidgets/gimpnumberpairentry.c: When testing if the value
	changed on focus-out we shall test against the current values, not
	the default values.

873 874 875 876 877 878 879 880 881
2009-01-17  Michael Natterer  <mitch@gimp.org>

	* all files with a GPL header and all COPYING files:

	Change licence to GPLv3 (and to LGPLv3 for libgimp).

	Cleaned up some copyright headers and regenerated the parsers in
	the ImageMap plugin.

882 883 884 885 886 887 888 889
2009-01-17  Sven Neumann  <sven@gimp.org>

	Bug 568095 – Patch to improve unsharp mask performance

	* plug-ins/common/unsharp-mask.c (unsharp_region): applied patch
	from Winston Chang that improves performance for larger radii by
	approximating the gaussian blur with a three-pass box blur.

890 891 892 893 894 895 896 897
2009-01-17  Martin Nordholts  <martinn@svn.gnome.org>

	Adapt to new babl API, s/babl_format/babl_format_from_name/

	* app/gegl/gimp-gegl-utils.c
	* app/gegl/gimpoperationpointlayermode.c
	* app/gegl/gimpoperationtilesource.c

898 899 900 901 902 903 904
2009-01-17  Sven Neumann  <sven@gimp.org>

	Bug 568021 – Unused code in unsharp-mask.c

	* plug-ins/common/unsharp-mask.c: applied patch from Winston Chang
	that removes unused code.

905 906 907 908 909 910 911 912
2009-01-17  Sven Neumann  <sven@gimp.org>

	Bug 568016 – Black pullout parameter of plug-in-newsprint has
	no effect

	* plug-ins/common/newsprint.c: fixed the documentation of the
	colorspace parameter.

913 914 915 916 917 918 919
2009-01-13  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* autogen.sh
	* configure.in: require intltool >= 0.40.1. Looks like that was
	the first version with support for the NC_ keyword.

920 921 922 923 924
2009-01-13  Kevin Cozens  <kcozens@cvs.gimp.org>

	* app/tools/gimpforegroundselecttool.c: Corrected spelling error
	spotted by David Gowers.

925 926 927 928 929 930
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.

931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953
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.

954 955 956 957 958 959 960
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.

961 962 963 964 965 966 967
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.

968 969 970 971 972 973 974 975 976
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.

977 978 979 980 981
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.

982 983 984 985 986 987 988 989
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.

990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022
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.

1023 1024 1025 1026 1027
2009-01-03  Martin Nordholts  <martinn@svn.gnome.org>

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

Sven Neumann's avatar
Sven Neumann committed
1028 1029 1030 1031
2009-01-01  Sven Neumann  <sven@gimp.org>

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

1032 1033 1034 1035 1036 1037 1038
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
1039 1040 1041 1042
2009-01-01  Sven Neumann  <sven@gimp.org>

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

1043 1044 1045 1046 1047 1048 1049
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
1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060
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.

1061 1062 1063 1064
2008-12-30  Sven Neumann  <sven@gimp.org>

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

1065 1066 1067 1068 1069 1070 1071
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.

1072 1073
2008-12-30  Marco Ciampa  <ciampix@libero.it>

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

1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089
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.

1090 1091 1092 1093 1094 1095 1096 1097
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.

1098 1099 1100 1101 1102 1103 1104 1105
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
1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135
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.

1136 1137 1138 1139 1140
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.

1141 1142 1143 1144 1145 1146
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.

1147 1148 1149 1150 1151 1152 1153 1154
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
1155 1156 1157 1158
2008-12-27  Sven Neumann  <sven@gimp.org>

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

1159 1160 1161 1162 1163 1164 1165 1166 1167
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.

1168 1169 1170 1171 1172 1173 1174 1175 1176 1177
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.

1178 1179 1180 1181 1182
2008-12-25  Martin Nordholts  <martinn@svn.gnome.org>

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

1183 1184 1185 1186 1187
2008-12-25  Martin Nordholts  <martinn@svn.gnome.org>

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

1188 1189
2008-12-25  Martin Nordholts  <martinn@svn.gnome.org>

1190 1191
	* app/widgets/gimpitemtreeview.[ch]: Make instance members private
	and add getters that didn't already exist.
1192 1193 1194 1195 1196 1197 1198 1199 1200 1201

	(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.

1202 1203 1204 1205 1206
2008-12-23  Sven Neumann  <sven@gimp.org>

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

1207 1208
2008-12-23  Sven Neumann  <sven@gimp.org>

1209 1210 1211
	* app/batch.c
	* tools/gimptool.c: declared functions calling exit() as
	G_GNUC_NORETURN.
1212

1213 1214 1215 1216 1217
2008-12-21  Aurimas Juška  <aurisj@svn.gnome.org>

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

1218 1219 1220 1221 1222 1223 1224
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.

1225 1226 1227 1228 1229 1230 1231
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.

1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268
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.

1269 1270 1271
	* app/core/Makefile.am
	* app/widgets/Makefile.am: Add new files.

1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282
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.

1283 1284 1285 1286 1287 1288
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
1289
	to lessen level of indirection in client code.
1290 1291 1292

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

1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304
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.

1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347
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.

1348 1349 1350 1351
2008-12-17  Sven Neumann  <sven@gimp.org>

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

1352 1353 1354 1355 1356
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.

1357 1358 1359 1360 1361 1362 1363 1364
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.

1365 1366 1367 1368 1369 1370
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.

1371 1372 1373 1374 1375 1376 1377 1378 1379 1380
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.

1381 1382 1383 1384 1385
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.

1386 1387 1388 1389 1390
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.

1391 1392 1393 1394 1395 1396 1397 1398 1399
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().

Sven Neumann's avatar
Sven Neumann committed
1400
	* app/core/gimpbrush.c:
1401 1402 1403 1404 1405 1406
	* 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().

1407 1408 1409 1410 1411 1412 1413 1414
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

1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452
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

1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472
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.

1473 1474 1475 1476 1477
2008-12-12  Martin Nordholts  <martinn@svn.gnome.org>

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

1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494
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
1495 1496 1497 1498
2008-12-11  Martin Nordholts  <martinn@svn.gnome.org>

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

1499 1500 1501 1502 1503
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.

1504 1505 1506 1507 1508
2008-12-11  Martin Nordholts  <martinn@svn.gnome.org>

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

1509 1510 1511 1512 1513 1514 1515 1516 1517
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().

1518 1519 1520 1521 1522 1523
2008-12-11  Martin Nordholts  <martinn@svn.gnome.org>

	s/gimp_tagged_get_get_tags/gimp_tagged_get_tags/

	* app/core/gimptagged.[ch]

1524 1525 1526 1527 1528
2008-12-10  Sven Neumann  <sven@gimp.org>

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

1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539
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.

1540 1541 1542 1543 1544
2008-12-04  Martin Nordholts  <martinn@svn.gnome.org>

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

1545 1546 1547 1548 1549 1550 1551
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.

1552 1553 1554 1555 1556 1557 1558 1559 1560
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.

1561 1562 1563 1564 1565
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.

1566 1567 1568 1569 1570 1571 1572 1573
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.

1574 1575 1576 1577 1578 1579 1580 1581
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.

1582 1583 1584 1585 1586 1587
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
1588 1589 1590 1591
2008-12-03  Sven Neumann  <sven@gimp.org>

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

1592 1593 1594 1595 1596 1597 1598 1599
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.
Sven Neumann's avatar
Sven Neumann committed
1600

1601 1602 1603 1604 1605
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.

1606 1607 1608 1609 1610
2008-12-03  Sven Neumann  <sven@gimp.org>

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

1611 1612 1613 1614 1615
2008-12-03  Sven Neumann  <sven@gimp.org>

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

1616 1617 1618 1619 1620
2008-12-02  Sven Neumann  <sven@gimp.org>

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

1621 1622 1623 1624
2008-12-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.def: added gimp_widgets_error_quark.

1625 1626 1627 1628 1629 1630 1631
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.

1632 1633 1634 1635 1636 1637 1638 1639
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.

1640 1641 1642 1643 1644 1645 1646 1647
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.

1648 1649 1650 1651 1652 1653 1654
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.

1655 1656 1657 1658 1659 1660 1661 1662
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.

1663 1664 1665 1666 1667 1668 1669 1670 1671
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.

1672 1673 1674 1675 1676 1677 1678 1679 1680
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.

1681 1682 1683
	* app/dialogs/image-new-dialog.c (image_new_dialog_set): ... and
	when we copy the template to the New Image dialog.

1684 1685 1686 1687 1688
2008-11-26  Sven Neumann  <sven@gimp.org>

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

1689 1690 1691 1692 1693 1694
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
1695 1696 1697 1698
2008-11-25  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpexport.c: minor code cleanup.

Martin Nordholts's avatar
Martin Nordholts committed
1699 1700 1701 1702
2008-11-24  Martin Nordholts  <martinn@svn.gnome.org>

	* libgimpwidgets/Makefile.am: Sort entries.

1703 1704 1705 1706 1707
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.

1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722
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.

1723 1724 1725 1726 1727 1728 1729
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().

1730 1731 1732 1733 1734 1735
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.

1736 1737 1738 1739 1740 1741
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.

1742 1743 1744 1745 1746
2008-11-21  Sven Neumann  <sven@gimp.org>

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

1747 1748 1749 1750 1751
2008-11-21  Sven Neumann  <sven@gimp.org>

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

1752 1753 1754 1755 1756 1757 1758
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.

1759 1760
2008-11-21  Martin Nordholts  <martinn@svn.gnome.org>

1761
	* app/widgets/gimpcolormapeditor.c
1762 1763 1764
	* app/widgets/gimpselectioneditor.c: For consistency, prefix the
	#warning:s with FIXME.

1765 1766 1767 1768 1769 1770 1771
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>
1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799

	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

1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841
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

1842 1843 1844 1845 1846
2008-11-20  Martin Nordholts  <martinn@svn.gnome.org>

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

1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860
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.

1861 1862 1863 1864 1865 1866
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".

1867 1868
2008-11-19  Sven Neumann  <sven@gimp.org>

Sven Neumann's avatar
Sven Neumann committed
1869
	Bug 558454  Plugin Map Color Range disappears from GIMP
1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880

	* 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.

1881 1882 1883 1884 1885
2008-11-19  Martin Nordholts  <martinn@svn.gnome.org>

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

1886 1887 1888 1889 1890 1891 1892
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.

1893 1894 1895 1896 1897
2008-11-18  Sven Neumann  <sven@gimp.org>

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

1898 1899 1900 1901 1902
2008-11-17  Michael Natterer  <mitch@gimp.org>

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

1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916
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.

1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931
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.

1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944
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/

1945 1946 1947 1948 1949 1950 1951 1952
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.

1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966
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.

1967 1968 1969 1970 1971 1972
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.

1973 1974 1975 1976 1977 1978 1979 1980 1981 1982
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.

1983 1984 1985 1986 1987 1988
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.

Sven Neumann's avatar
Sven Neumann committed
1989
	* app/widgets/gimpcontainertreeview.[ch]:
1990 1991 1992 1993 1994 1995 1996 1997
	* 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.

1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010
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.

2011 2012 2013 2014 2015
2008-11-15  Martin Nordholts  <martinn@svn.gnome.org>

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

2016 2017 2018 2019 2020 2021 2022 2023
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.

2024 2025 2026 2027 2028 2029
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.

2030 2031 2032 2033 2034
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.

2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052
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.

2053 2054 2055 2056 2057 2058 2059 2060 2061
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.

2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077
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
2078
	image->floating_sel manually and remove all calls to
2079 2080
	gimp_image_floating_selection_changed().

2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113
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.

2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125
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.

2126 2127 2128 2129 2130 2131
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.

2132 2133 2134 2135 2136 2137 2138
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.

2139 2140 2141 2142 2143 2144 2145
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.

2146 2147 2148 2149 2150
2008-11-13  Michael Natterer  <mitch@gimp.org>

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

2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162
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().

2163 2164 2165 2166 2167
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)
Sven Neumann's avatar
Sven Neumann committed
2168
	(gimp_pdb_image_is_not_base_type): gimp_object_get_name() may
2169 2170
	return NULL for images. Use gimp_image_get_uri() instead.

2171 2172 2173 2174
2008-11-12  Øyvind Kolås  <pippin@gimp.org>

	* app/gegl/gimpoperationtilesource.c:
	(gimp_operation_tile_source_prepare),
2175 2176 2177 2178
	(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.
2179

Sven Neumann's avatar
Sven Neumann committed
2180 2181 2182 2183 2184
2008-11-12  Sven Neumann  <sven@gimp.org>

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

2185 2186 2187 2188 2189
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.

2190 2191 2192 2193 2194 2195 2196 2197 2198
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.

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 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239
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
	*