ChangeLog 295 KB
Newer Older
1 2 3 4 5 6 7
2008-05-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp-ids.h: add help IDs for the stuff in the
	Windows menu.

	* app/actions/windows-actions.c: use them.

8 9 10 11 12 13 14
2008-05-17  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/file-save-dialog.c (file_save_dialog_response): fix
	crash (don't dereference dialog after it has been destroyed). Also
	put back code that sets the dialog back to sensitive if it still
	exists.

15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
2008-05-17  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimagefile.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpselectiontool.c
	* app/tools/gimpvectortool.c
	* plug-ins/color-rotate/color-rotate-dialog.c
	* plug-ins/common/noise-rgb.c
	* plug-ins/common/value-propagate.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig.h
	* plug-ins/gimpressionist/general.c
	* plug-ins/gimpressionist/gimpressionist.h
	* plug-ins/gimpressionist/orientation.c
	* plug-ins/gimpressionist/size.c
	* plug-ins/gimpressionist/utils.c
	* plug-ins/gradient-flare/gradient-flare.c
	* plug-ins/ifs-compose/ifs-compose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_preferences.c: in latest GLib _() returns
	"const gchar*" as it should. Add const qualifiers to local utility
	functions and some explicit casts to fix the warnings caused by
	this.

39 40 41 42 43 44 45 46 47
2008-05-17  Michael Natterer  <mitch@gimp.org>

	* app/actions/windows-actions.c: add tooltips to the menu items of
	open and recently closed docks.

	* app/widgets/gimpaction.c: connect to "notify::tooltip" and make
	sure gimp_help_set_help_data() gets called when the action's
	tooltip changes.

48 49 50 51 52 53 54 55 56 57 58 59
2008-05-17  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/gradient.pdb: applied patch from Lars-Peter
	Clausen which adds gimp-gradient-get-number-of-segments. Fixes
	bug #533474.

	* app/pdb/gradient-cmds.c
	* app/pdb/internal-procs.c
	* libgimp/gimpgradient_pdb.[ch]: regenerated.

	* libgimp/gimp.def: add the new symbol.

60 61 62 63 64 65
2008-05-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/twain/Makefile.am: add -framework options to
	twain_LDFLAGS instead of AM_LDFLAGS to make whatever layer/version
	of autofoo happy on all macs.

66 67 68 69 70
2008-05-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagemap.c: added some basic benchmarking code.
	Will become optional but for now it is enabled by default.

71 72 73 74 75 76
2008-05-16  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Added extra checks to stop
	bad syntax in LET from causing a segmentation fault in Linux.
	See bug #508020.

Michael Natterer's avatar
Michael Natterer committed
77 78 79 80
2008-05-16  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am: formatting.

81 82 83 84 85
2008-05-16  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayoptions.c: disable rulers by default as
	suggested by Peter. Please give feedback.

86 87
2008-05-16  Sven Neumann  <sven@gimp.org>

88
	* plug-ins/help/Makefile.am
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
	* plug-ins/help/gimphelpprogress.[ch]
	* plug-ins/help/gimphelpprogress-private.h: new files providing a
	simple framework for progress indication and cancellation.

	* plug-ins/help/gimphelp.[ch]
	* plug-ins/help/gimphelpdomain.[ch]
	* plug-ins/help/gimphelpitem.[ch]
	* plug-ins/help/gimphelplocale.[ch]
	* plug-ins/help/gimphelptypes.h
	* plug-ins/help/help.c
	* plug-ins/help/locales.[ch]: changed accordingly (passing NULL
	as progress for now). Also updated copyright headers.

	* plug-ins/help-browser/help-browser.c: same here.

	* plug-ins/help/gimp-help-lookup.c: use the new API and show some
	progress indication when the --verbose command-line option is used.

107 108 109 110 111 112 113 114 115
2008-05-16  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/dialogs.c (dialogs_load_recent_docks): reverse the
	list after loading so it keeps its order.

	* app/menus/windows-menu.c (windows_menu_setup)
	(windows_menu_recent_add): keep the recent docks menu in MRU
	order.

116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
2008-05-16  Michael Natterer  <mitch@gimp.org>

	Implement the presistent menu of recently closed docks, still
	somewhat hackish but fully functional. Fixes bug #132744.

	* app/actions/dialogs-actions.c
	* app/actions/dialogs-commands.[ch]
	* menus/image-menu.xml.in: remove the menu items that were
	creating the hardcoded preconfigured docks.

	* app/dialogs/dialogs.[ch]: add GimpContainer of recently closed
	docks and API to load and save it.

	* app/gui/session.c: call the recent dock load and save functions.

	* app/widgets/gimpsessioninfo.[ch]: implement the GimpConfig interface
	and (de)serialize via proper interface methods.

	* app/gui/session.c
	* app/widgets/gimpdialogfactory.c: use the GimpConfig API
	to (de)serialize session infos and added the code that was
	formerly in the info's (de)serialize functions but didn't belong
	there.

	* app/widgets/gimpaction.[ch]: add "max-width-chars" property and
	set it on proxy menu item labels.

	* app/actions/windows-actions.[ch]
	* app/actions/windows-commands.[ch]
	* app/menus/windows-menu.c: add actions and menu of recently
	closed docks and code to restore the dock when the menu items are
	selected. Use above new action property to ensure a minimum
	width of the menu.

	* app/widgets/gimpmenudock.c: use '-' instead of '|' for
	separating notebooks in the window title. Menu items don't like	'|'.

	* app/widgets/gimpdock.c: removed the confirmation dialog when
	closing docks and simply add them to the recent docks container.
	This code is totally misplaced and will move to another file soon.

157 158 159 160 161 162
2008-05-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcurve.c (gimp_curve_plot): don't write over the end
	of the samples array.  Someone should review this code. It looks
	as if the loop could be rewritten in a safer and cleaner way.

Sven Neumann's avatar
Sven Neumann committed
163 164 165 166
2008-05-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/blur-gauss-selective.c: formatting.

167 168 169 170 171
2008-05-14  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcurveview.c (gimp_curve_view_motion_notify):
	fixed use of uninitialized value.

172 173 174 175 176
2008-05-14  Sven Neumann  <sven@gimp.org>

	* app/actions/windows-actions.c (windows_actions): relabeled
	submenu to "Recently Closed Docks".

177 178 179 180 181 182 183 184 185
2008-05-14  Michael Natterer  <mitch@gimp.org>

	* app/menus/windows-menu.c
	* app/actions/windows-actions.c
	* menus/image-menu.xml.in: move the list of dockable dialogs and
	the list of recent docks to submenus and keep the list of open
	image windows and docks at the "Windows" menu toplevel. The list
	of recent docks doesn't exist yet, its contents are fake.

Michael Natterer's avatar
Michael Natterer committed
186 187 188 189 190
2008-05-14  Michael Natterer  <mitch@gimp.org>

	* app/gegl/gimpcurvesconfig.c (gimp_curves_config_copy): also
	copy curve->identity.

191 192 193 194
2008-05-14  Manish Singh  <yosh@gimp.org>

	* plug-ins/pygimp/gimpfu.py: Add PF_OPTION. Fixes bug #523142.

195 196 197
2008-05-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrushclipboard.c
Sven Neumann's avatar
Sven Neumann committed
198 199
	(gimp_brush_clipboard_buffer_changed): for an opaque buffer,
	initialize the brush mask with 255 instead of 0.  Fixes bug #532886.
200

201 202 203 204 205 206 207
2008-05-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/gradient-flare/gradient-flare.c
	(calc_sample_one_gradient): use G_STRUCT_OFFSET() instead of a
	hand-made macro which caused a compiler warning (spotted by gymp,
	bug #532853).

208 209 210 211 212 213 214 215 216
2008-05-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsessioninfo-book.[ch]: remove widget member from
	struct GimpSessionInfoBook. Return the created GimpDockbook from
	restore().

	* app/widgets/gimpsessioninfo-dock.c (restore): use the returned
	book instead of the struct member.

217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249
2008-05-14  Michael Natterer  <mitch@gimp.org>

	Made session info serialization independent from widgets so it can
	be used on stored dock layouts which are not open:

	* app/widgets/gimpsessioninfo-book.[ch]
	* app/widgets/gimpsessioninfo-dock.[ch]
	* app/widgets/gimpsessioninfo-dockable.[ch]: add from_widget()
	functions which return newly allocated session info structs.
	Changed serialize() functions to take these structs instead of
	widgets. Changed deserialize() functions to return the structs
	instead of appending them to lists in their parent structs. Don't
	free anything in restore().

	* app/widgets/gimpsessioninfo-aux.[ch]
	(gimp_session_info_aux_serialize): take a GList of aux_info
	instead of a widget.

	* app/widgets/gimpsessioninfo.[ch]: add new functions get_info()
	which collects above session info details from dialogs and
	clear_info() which clears that info. Call clear_info() from
	finalize(). Don't free anything in restore().

	* app/widgets/gimpdialogfactory.c
	(gimp_dialog_factories_save_foreach): collect the session info
	detials from the dialogs before serializing because serialize()
	doesn't know about the widget any longer. Clear the infos after
	serializing.

	(gimp_dialog_factories_restore_foreach): clear the session info
	details after creating the dialogs because restore() doesn't clear
	the info by itself any longer.

250 251 252 253 254
2008-05-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsessioninfo.c: turn "info != NULL" checks into
	"GIMP_IS_SESSION_INFO (info)".

255 256 257 258 259 260 261 262
2008-05-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsessioninfo.[ch]: turn into a GimpObject
	subclass. No logical changes yet.

	* app/widgets/widgets-types.h
	* app/widgets/gimpdialogfactory.c: changed accordingly.

263 264 265 266 267 268 269 270 271 272 273 274 275
2008-05-13  Michael Natterer  <mitch@gimp.org>

	First prototype of a button in the levels tool dialog that will
	jump the the curves tool with the same settings:

	* app/gegl/gimplevelsconfig.[ch]: add new function
	gimp_levels_config_to_curves_config() which converts a
	GimpLevelsConfig to a GimpCurvesConfig. Still lacks support
	for gamma.

	* app/tools/gimplevelstool.c: add "Edit this Settings as Curves"
	button and jump to curves when clicked. Still ugly.

276 277 278 279 280
2008-05-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcurve-map.c (gimp_curve_map_pixels): use memcpy()
	for the CURVE_NONE case.

281 282 283 284 285
2008-05-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcurve-map.[ch] (gimp_curve_map_pixels): introduced
	an enum to clean up the code. Optimize another not so uncommon case.

286 287 288 289 290 291
2008-05-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcurve-map.c (gimp_curve_map_pixels): create a
	bitmask that represents the curves that need to be applied and
	optimize the most common cases.

292 293 294 295
2008-05-13  Simon Budig  <simon@gimp.org>

	* app/vectors/vectors-types.h: add a comment explaining the hack.

Sven Neumann's avatar
Sven Neumann committed
296 297 298 299 300 301
2008-05-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcurve-map.c (gimp_curve_map_value): simplified the
	general case.

2008-05-13  Sven Neumann  <sven@gimp.org>
302 303 304 305 306 307 308

	* app/core/gimpcurve.[ch]: keep a boolean flag to identify an
	identity mapping. Set it to TRUE when the curve is reset.

	* app/core/gimpcurve-map.c (gimp_curve_map_value): optimize for
	the case where the curve is an identity mapping.

309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
2008-05-12  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors.[ch]
	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpbezierstroke.c: Implement functionality to
	get a bezier description a la moveto/curveto/closepath.

	* app/vectors/vectors-types.h: implement an evil hack to avoid
	the inclusion of cairo.h in most C files...

	* app/vectors/Makefile.am: link against cairo

	* app/widgets/gimpviewrenderervectors.c: use the new functionality
	for preview rendering.

Sven Neumann's avatar
Sven Neumann committed
324 325 326 327 328 329 330 331 332 333 334 335 336
2008-05-11  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/gimpcurve.[ch]:
	* app/core/gimpcurve-map.[ch]: split curve map functions into
	seperate files.

	* app/gegl/gimpoperationcurves.c
	* app/tools/gimpcurvestool.c
	* app/widgets/gimpcurveview.c: changed accordingly.

	* app/Makefile.am (AM_LDFLAGS): make it link.

337 338 339 340 341 342 343 344 345 346 347 348
2008-05-11  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcurve.[ch]: renamed gimp_curve_map() to
	gimp_curve_map_value(). Added new function gimp_curve_map_pixels()
	which will allow for better optimization.

	* app/gegl/gimpoperationcurves.c (gimp_operation_curves_process):
	use gimp_curve_map_pixels().

	* app/tools/gimpcurvestool.c
	* app/widgets/gimpcurveview.c: follow API change.

349 350 351 352 353
2008-05-11  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpcroptool.[ch]: No need to expose definitions of
	GimpCropTool or GimpCropToolClass.

354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371
2008-05-11  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c: Fix emission of
	rectangle-change-complete signals.

	* app/tools/gimpcroptool.c
	* app/tools/gimprectangleselecttool.c:
	Use the rectangle-change-complete signal to update the default
	aspect ratio. Fixes bug #530519.

	* app/tools/gimpcroptool.c
	(gimp_crop_tool_button_release)
	(gimp_crop_tool_options_notify)
	* app/tools/gimprectangleselecttool.c
	(gimp_rectangle_select_tool_button_release): No need to explicitly
	update option defaults since it is handled through the
	rectangle-change-complete signal now.

Sven Neumann's avatar
Sven Neumann committed
372 373 374 375
2008-05-11  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcurve.[ch] (gimp_curve_map): minor cleanup.

376 377 378 379 380
2008-05-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/web-browser.c (browser_open_url): improved error
	messages as suggested in bug #522483.

381 382 383 384 385
2008-05-11  Sven Neumann  <sven@gimp.org>

	* app/gegl/gimpoperationlevels.c (gimp_operation_levels_map):
	optimized for the case where gamma is 1.0.

386 387 388 389 390 391 392 393
2008-05-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpaction.[ch]: add an "ellipsize" property that is
	applied to all proxy menu items' labels.

	* app/actions/windows-actions.c: set the dock actions to
	PANGO_ELLIPSIZE_END because their labels can be insanely long.

Michael Natterer's avatar
Michael Natterer committed
394 395 396 397
2008-05-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpaction.c (gimp_action_set_proxy): small cleanup.

398 399 400 401 402 403 404
2008-05-11  Michael Natterer  <mitch@gimp.org>

	* app/actions/windows-commands.[ch]
	* app/actions/windows-actions.c
	* app/menus/windows-menu.c: add dynamic actions and menu items for
	all open docks. Present the dock when the menu item is selected.

405 406 407 408 409 410 411 412 413
2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_button_press): Active the tool control
	earlier.
	(gimp_rectangle_tool_synthesize_motion): Bail out if the tool
	control is active, we don't want to synthesize a motion in this
	case as it emits unwanted rectangle-changed signals.

414 415 416 417 418 419 420 421 422
2008-05-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.[ch]: add signals "dock-added" and
	"dock-removed".

	(gimp_dialog_factory_add_dialog)
	(gimp_dialog_factory_remove_dialog): emit them when docks get
	added and removed.

423 424 425 426 427 428 429 430
2008-05-10  Michael Natterer  <mitch@gimp.org>

	* app/actions/windows-actions.c: renamed the "Create New Dock"
	submenu to simply "Docks". Its contents are about ti change soon.

	* menus/image-menu.xml.in: changed accordingly. Added a "Docks"
	placeholder inside and add the "show toolbox" menu item there.

431 432 433 434 435 436 437 438 439
2008-05-10  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplist.[ch]: add boolean "append" property which
	makes gimp_container_add() append to the list instead of the
	default prepend.

	* app/core/gimp.c: create the display list with append = TRUE so
	the images menu is in a proper order.

440 441 442 443 444
2008-05-10  Michael Natterer  <mitch@gimp.org>

	* app/actions/windows-actions.c: don't hide the empty images menu,
	use gimp_image_get_uri() instead of the object's name.

Michael Natterer's avatar
Michael Natterer committed
445 446 447 448
2008-05-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpactiongroup.h: fix parameter name.

449
2008-05-10  DindinX  <dindinx@gimp.org>
450 451 452 453 454 455 456 457

	* plug-ins/flame/cmap.c
	* plug-ins/flame/libifs.c
	* plug-ins/flame/rect.[ch]: cleaning (mostly code reformating and
	converting K&R style function declarations to ansi).

	* plug-ins/common/pcx.c: reformated as well.

458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490
2008-05-10  Michael Natterer  <mitch@gimp.org>

	Start changing the "Dialogs" menu to "Windows", still incomplete.
	Addresses bug #309707.

	* app/actions/Makefile.am
	* app/actions/windows-actions.[ch]
	* app/actions/windows-commands.[ch]: new files which currently
	hold the "show toolbox" action and callback and new code which
	maintains automatically generated actions for accessing (raising)
	all open images.

	* app/actions/actions.c: register the new "windows" action group.

	* app/actions/dialogs-actions.c
	* app/actions/dialogs-commands.[ch]: remove "show toolbox"
	action and callback and also the action for the "Disalogs" menu.

	* app/menus/Makefile.am
	* app/menus/windows-menu.[ch]: new files which create and destroy
	the menu items for the image window actions.

	* app/menus/menus.c: register the "windows" action group with
	all UI managers that have the "dialogs" action group.

	* app/menus/image-menu.c (image_menu_setup): call
	windows_menu_setup().

	* app/gui/gui.c: s/dialogs_show_toolbox/windows_show_toolbox/g

	* menus/image-menu.xml.in: some minor s/dialogs/windows/
	and add the "Images" submenu.

Michael Natterer's avatar
Michael Natterer committed
491 492 493 494 495
2008-05-10  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplay.c (gimp_display_set_image): emit
	notify::image.

496 497 498 499
2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangleselecttool.c
	(gimp_rectangle_select_tool_cancel): Don't forget updating the
500
	default aspect ratio when cancelling a rectangle select.
501

502 503 504 505 506 507
2008-05-10  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptexttool.c (gimp_text_tool_confirm_response):
	rerender the text layer as suggested in bug #532078.
	(gimp_text_tool_confirm_dialog): minor dialog improvements.

Sven Neumann's avatar
Sven Neumann committed
508 509 510 511
2008-05-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/flame/libifs.c: removed trailing whitespace.

Sven Neumann's avatar
Sven Neumann committed
512 513 514 515
2008-05-10  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrush-scale.c: formatting.

516 517 518 519 520 521 522 523 524
2008-05-10  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrenderer.c (gimp_view_renderer_real_draw):
	reset the translation on the cairo context. Resurrects brush
	emblems which were drawn in the wrong position.

	* app/widgets/gimpviewrendererbrush.c (gimp_view_renderer_brush_draw):
	formatting.

Michael Natterer's avatar
Michael Natterer committed
525 526 527 528 529 530 531 532 533
2008-05-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gtm.c: renamed...

	* plug-ins/common/html-table.c: ...to this and cleaned it up.

	* plugin-defs.pl: changed accordingly.
	* Makefile.am: regenerated.

Manish Singh's avatar
Manish Singh committed
534 535 536 537
2008-05-10  Manish Singh  <yosh@gimp.org>

	* plug-ins/common/poppler.c: Support poppler 0.8.x.

538 539 540 541 542 543 544
2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_button_release): Don't forget updating the
	integer representation when reverting the rectangle after
	cancelling a rubber-banding.

545 546 547 548 549 550 551
2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_button_release): Update the tool options
	after a release; the rectangle might change if a rubber-banding is
	cancelled.

552 553 554 555 556 557 558 559 560 561
2008-05-10  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_events) (gimp_display_shell_canvas_tool_events):
	don't reserve Delete for use by tools. Fixes bug #532116.

	* app/tools/gimpimagemaptool.c
	* app/tools/gimptransformtool.c: don't use Delete (you can still
	use the Backspace key to achieve the same).

562 563 564 565 566 567
2008-05-10  Manish Singh  <yosh@gimp.org>

	* plug-ins/imagemap/Makefile.am: tweak the rules for rebuilding the
	parser files from lex/yacc source so that they are explicit instead
	of potentially being run implicitly because the file dates are off.

568 569 570 571 572 573 574
2008-05-10  Michael Natterer  <mitch@gimp.org>

	* app/gimp-log.[ch]: add SHADOW_TILES log domain.

	* app/plug-in/gimpplugin-cleanup.c (gimp_plug_in_cleanup_item):
	turn commented-out g_printerr() into a GIMP_LOG()

575 576 577 578 579 580 581 582 583 584 585 586
2008-05-10  Michael Natterer  <mitch@gimp.org>

	Applied modified patch from Alexia Death which adds velocity
	support to paint tools in the spirit of the pressure support we
	already have. Fixes bug #529431.

	* app/display/gimpdisplayshell-coords.c
	(gimp_display_shell_eval_event): tweak velocity calculation to
	work in screen coordinates.

	* app/paint/gimppaintoptions.[ch]: add velocity options in the
	same way as there are pressure options. Add utility functions
587
	which return dynamic opatity and dynamic rate according to the
588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624
	option's settings and some GimpCoords' pressure and velocity.

	* app/tools/gimppaintoptions-gui.c: add GUI for the velocity
	options.

	* app/paint/gimpbrushcore.h: remove PRESSURE_SCALE define, it's
	now in gimppaintoptions.h.

	* app/paint/gimpbrushcore.c (gimp_brush_core_interpolate):
	inerpolate velocity too.

	(gimp_brush_core_calc_brush_scale): take velocity into account.

	(gimp_brush_core_get_brush_mask): always pressurize the mask in
	the GIMP_BRUSH_PRESSURE because there always is velocity (unlike
	pressure which is only there on tablets).

	* app/paint/gimpairbrush.c
	* app/paint/gimpclone.c
	* app/paint/gimpconvolve.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimperaser.c
	* app/paint/gimpheal.c
	* app/paint/gimppaintbrush.c
	* app/paint/gimpsmudge.c: get opacity and rate from the new paint
	options utility functions which take both pressure and velocity
	into account.

	* app/paint/gimppaintbrush.c: take velocity into account when
	calculating the gradient color offset.

	* app/paint/gimpairbrush.c: do some additional fiddling with
	velocity in the asynchronous airbrush timeout.

	* app/paint/gimpairbrushoptions.c: override the velocity-size
	property and have it default to FALSE.

625 626 627 628 629 630
2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpcroptool.c: Add a GimpRectangleTool::cancel()
	implementation that updates default aspect ratio when cancelling a
	crop.

631 632 633 634
2008-05-09  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpcroptool.[ch]: Keep track of the current image and
	manage a subscription to "size-changed" so that default aspect
635
	ratio is properly updated. (Bug #532057.)
636 637 638
	(gimp_crop_tool_execute): No need to explicitly call
	gimp_crop_tool_update_option_defaults() any longer.

639 640 641 642 643 644
2008-05-09  Simon Budig  <simon@gimp.org>

	* app/core/gimpscanconvert.[ch]: expose the internal most
	flexible rendering function. Make use of the miter limit
	again.

645 646 647 648
2008-05-09  Sven Neumann  <sven@gimp.org>

	* configure.in: lowered minimum required cairo version to 1.4.10.

649 650 651 652 653 654 655 656
2008-05-09  Simon Budig  <simon@gimp.org>

	* app/core/gimpscanconvert.[ch]: kind of resurrect the
	blending modes, although now implemented as compositing
	on top of the existing content of a mask.

	* app/tools/gimpforegroundselecttool.c: changed accordingly

Simon Budig's avatar
Simon Budig committed
657 658 659 660
2008-05-09  Simon Budig  <simon@gimp.org>

	* app/core/gimpscanconvert.c: resurrect dashed strokes.

661 662 663 664 665 666 667
2008-05-09  Sven Neumann  <sven@gimp.org>

	* configure.in: check for a minimum required cairo version (1.4.14).

	* app/core/gimpscanconvert.c: copied some code from cairo until
	we depend on cairo 1.6.

668 669 670 671 672
2008-05-09  Sven Neumann  <sven@gimp.org>

	* HACKING
	* INSTALL: removed mentions of libart, added a link for cairo.

673 674 675 676 677 678 679 680 681 682 683 684 685 686 687
2008-05-09  Simon Budig  <simon@gimp.org>

	* app/core/gimpscanconvert.[ch]: removed Libart usage,
	  replaced with Cairo. Dashed strokes do not yet work again, will
	  happen tomorrow. Also the blending modes need a second look at.

	  Also removed deprecated API which made it unnecessarily complicated.

	* app/tools/gimpiscissorstool.c: use the current API.

	* app/core/Makefile.am
	* app/Makefile.am
	* configure.in: removed libart dependency, added cairo dependency
	  where necessary.

688 689 690 691 692 693 694 695
2008-05-08  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_events): don't call gtk_widget_grab_focus() here.

	(gimp_display_shell_canvas_tool_events): call it here instead and
	add comments about how BUTTON_PRESS and FOCUS_IN interact.

696
	Return TRUE from BUTTON_PRESS, BUTTON_RELEASE and MOTION_NOTIFY.
697

698 699 700 701 702
2008-05-08  Sven Neumann  <sven@gimp.org>

	* themes/Default/gtkrc 
	* themes/Small/gtkrc: further shrink the status-bar widgets.

703 704 705 706 707 708
2008-05-08  Sven Neumann  <sven@gimp.org>

	* app/display/gimpscalecombobox.c (gimp_scale_combo_box_init):
	removed the entry's inner border to save some precious space in
	the status-bar.

709 710 711 712 713 714 715
2008-05-08  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_events): move the focus to the canvas on
	button-press events.

	* app/widgets/gimpwindow.c (gimp_window_key_press_event): removed
716
	use of G_UNLIKELY() that was somewhat bogus here.
717

718 719 720 721 722 723 724 725 726 727
2008-05-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpfiledialog.[ch]: added infrastructure to access
	and set some state information of the GtkFileChooser.

	* app/dialogs/file-open-dialog.c
	* app/dialogs/file-save-dialog.c: don't keep the file-chooser
	dialogs around. Instead keep the state attached to the Gimp object
	(one state for load, one for save dialogs). Closes bug #528811.

728 729 730 731 732
2008-05-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/widgets-types.h 
	* app/widgets/gimpfiledialog.c: formatting.

733 734 735 736 737
2008-05-07  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpcroptool.c (gimp_crop_tool_image_changed): Make it
	feel like a class member function by G_CONNECT_SWAPPED-izing it.

Sven Neumann's avatar
Sven Neumann committed
738 739 740 741 742
2008-05-07  Sven Neumann  <sven@gimp.org>

	* app/plug-in/gimpplugin-cleanup.c (gimp_plug_in_cleanup_item):
	commented out debug message.

743 744 745 746 747
2008-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/blur-gauss-selective.c: allocate temporary
	memory on the stack. Minor code cleanups.

748 749 750 751 752 753
2008-05-06  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugin-message.c: split
	gimp_plug_in_handle_tile_request() into two functions:
	gimp_plug_in_handle_tile_put() and gimp_plug_in_handle_tile_get().

754 755 756 757 758 759 760 761
2008-05-06  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugin-message.c
	(gimp_plug_in_handle_proc_install): show an error message instead
	of crashing when a plug-in registers a prodecure with a NULL
	argument or return value name. Also introduce two macros which
	make the utf-8 validation of all strings much more readable.

762 763 764 765 766 767 768
2008-05-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gbr.c: improved procedure blurb and help.

	* libgimpcolor/gimpcolorspace.c: inline gimp_hsl_value() and
	gimp_hsl_value_int().

769 770 771 772 773 774 775
2008-05-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/3d-outline.scm: applied patch from
	 Ulf-D. Ehlert. Makes the vacated region, which is created when
	 specifying a non-zero shadow offset, to be filled with the
	 background color (white) instead of transparency (bug #530216).

776 777 778 779 780 781
2008-05-06  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorprofilestore.c
	(gimp_color_profile_store_load_profile): check if the file exists
	before adding it to the history. Fixes bug #528958.

782 783 784 785 786 787
2008-05-05  Michael Natterer  <mitch@gimp.org>

	* app/actions/drawable-commands.c
	(drawable_levels_stretch_cmd_callback): the second parameter of
	gimp_drawable_levels_stretch() is now a GimpProgress.

788 789 790 791 792
2008-05-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp-mask.c (gen_convolve_matrix): fixed
	algorithm to calculate the center value. Fixes bug #530077.

793 794 795 796 797
2008-05-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/blinds.c (MAX_FANS): increased the maximum
	number of blinds to 100.

798 799 800 801
2008-05-05  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppainttool.c
	* app/display/gimpdisplayshell-coords.c: applied patch from Alexia
Sven Neumann's avatar
Sven Neumann committed
802
	Death which changes the maximum smoothing for paint tools to a more
803 804
	conservative default and adds velocity dependent smooth suppression.

Sven Neumann's avatar
Sven Neumann committed
805 806 807 808
2008-05-05  Sven Neumann  <sven@gimp.org>

	* configure.in (ALL_LINGUAS): added Icelandic (is).

Martin Nordholts's avatar
Martin Nordholts committed
809 810
2008-05-02  Martin Nordholts  <martinn@svn.gnome.org>

811 812
	* gimptexttool.[ch]
	* gimprectangletool.[ch]
Martin Nordholts's avatar
Martin Nordholts committed
813 814 815 816 817
	* gimprectangleselecttool.c: Renamed the "rectangle-changed"
	signal to "rectangle-change-complete" which is much better name
	since the signal is not emited when the rectangle is changed, but
	when the change is complete.

818 819 820 821
2008-05-02  Martin Nordholts  <martinn@svn.gnome.org>

	* plug-ins/flame/libifs.c: Use g_random_int() instead of rand().

Martin Nordholts's avatar
Martin Nordholts committed
822 823 824 825 826
2008-05-01  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_active_modifier_key): Minor simplification.

827 828 829 830
2008-04-30  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpcroptool.c: Align static function prototpyes.

831 832 833 834 835 836
2008-04-30  Sven Neumann  <sven@gimp.org>

	* app/display/gimpscalecombobox.c
	(gimp_scale_combo_box_entry_key_press): also handle the Tab keys
	and call the "activate" handler when Tab is pressed.

837 838 839 840 841
2008-04-30  Sven Neumann  <sven@gimp.org>

	* app/display/gimpscalecombobox.c: install a "key-press-event"
	handler and reset the entry when the Escape key is pressed.

842 843 844 845 846 847
2008-04-29  Sven Neumann  <sven@gimp.org>

	* themes/Default/gtkrc
	* themes/Small/gtkrc: reduce the minimum array size for
	GtkComboBox widgets in the image window.

Sven Neumann's avatar
Sven Neumann committed
848 849 850 851 852 853 854 855 856
2008-04-29  Sven Neumann  <sven@gimp.org>

	* app/display/gimpscalecombobox.[ch]: added signal "entry-activated".

	* app/display/gimpstatusbar.c (gimp_statusbar_new): connect to the
	new signal and move the focus to the canvas.

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

Sven Neumann's avatar
Sven Neumann committed
857 858 859 860
2008-04-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwindow.c (gimp_window_key_press_event): formatting.

861 862 863 864 865 866 867 868
2008-04-28  Sven Neumann  <sven@gimp.org>

	* app/display/gimpscalecombobox.c: keep the current scale value,
	beep and reset the entry when the user input cannot be parsed.
	Also changed the input parser to interpret a single number as a
	percentage.

2008-04-28  Joao S. O. Bueno  <gwidion@mpc.com.br>
869

Sven Neumann's avatar
Sven Neumann committed
870
	* app/pdb/drawable-transform-cmds.c
871 872
	* app/pdb/vectors-cmds.c: regenerated

873 874 875 876 877 878
2008-04-28  Sven Neumann  <sven@gimp.org>

	* app/display/gimpscalecombobox.[ch]: derive from GtkComboBoxEntry.
	Needs some more work with respect to input validation and focus
	handling...

879 880 881 882 883 884 885 886 887 888
2008-04-28  Sven Neumann  <sven@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpwindow.[ch]: added GimpWindow class and moved
	key-press-event handler from GimpDock to this class.

	* app/widgets/gimpdock.[ch]:
	* app/display/gimpdisplayshell.[ch]: derive from GimpWindow.

889 890 891 892 893
2008-04-28  Sven Neumann  <sven@gimp.org>

	* app/base/hue-saturation.c (hue_saturation): applied patch from
	Michael Deal that fixes use of the overlap option (bug #527085).

894 895 896 897 898
2008-04-28  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: removed GEGL tool from the Colors menu
	and also moved it out of the color tools menu.

899
2008-04-26  João S. O. Bueno  <gwidion@mpc.com.br>
900

Sven Neumann's avatar
Sven Neumann committed
901
	* AUTHORS
902 903 904 905
	* authors.xml
	* tools/pdb/stddefs.pdb: Fix my name back to single
	  name in most important files.

Michael Natterer's avatar
Michael Natterer committed
906 907 908 909
2008-04-26  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpgegltool.c: clean up last commit.

910 911 912 913 914
2008-04-26  Martin Nordholts  <martinn@svn.gnome.org>

	* plug-ins/flame/libifs.c: Applied patch from Aurimas Juška. Use
	the standard rand() instead of random().

915 916 917 918 919 920 921 922
2008-04-26  Øyvind Kolås  <pippin@gimp.org>

	* app/tools/gimpgegltool.c: (gimp_get_subtype_classes),
	(gimp_gegl_tool_compare_operation_names), (gimp_get_geglopclasses),
	(gimp_gegl_tool_dialog): made the GEGL tool only show ops from
	relevant categories, the list of relevant categories is hard coded
	for now.

923 924 925 926 927 928
2008-04-26  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_options_notify): No need to bail out if there
	is no display.

929 930 931 932 933
2008-04-26  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_options_notify): Some more simplifications
	and cleanups.
Sven Neumann's avatar
Sven Neumann committed
934

935 936 937 938 939 940
2008-04-26  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_options_notify): Simplifications and
	cleanups.

941 942 943 944 945
2008-04-26  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: the gegl tool was missing from the
	"Tools" menu.

946 947 948
2008-04-26  Martin Nordholts  <martinn@svn.gnome.org>

	* plug-ins/flame/flame.c
949 950 951
	* plug-ins/flame/libifs.[ch]: Applied modified patch from Luis
	Barrancos that adds 22 new variations to the flame plugin (bug
	#389004).
952

Michael Natterer's avatar
Michael Natterer committed
953 954 955 956 957 958 959 960 961 962 963 964 965
2008-04-25  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintoptions.c (gimp_paint_options_get_jitter):
	add g_return_if_fail().

	* app/paint/gimpheal.c (gimp_heal_motion)
	* app/paint/gimpdodgeburn.c (gimp_dodge_burn_motion): free stuff
	right after it's not used any longer, instead of at the end of the
	function.

	* app/paint/gimppaintbrush.c (_gimp_paintbrush_motion): move a
	statement to improve consistency with other motion() functions.

966 967 968 969 970
2008-04-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/print.c (query): fix help string of the page
	setup procedure.

971 972 973 974 975 976 977
2008-04-25  Sven Neumann  <sven@gimp.org>

	* app/app.c
	* app/gegl/gimp-gegl.c: reverted change from 2008-01-31. Use the
	GEGL option group again now that GEGL provides some commmand-line
	options.

978 979 980 981 982
2008-04-25  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintoptions.[ch]: reorder jitter options stuff to
	be consistently ordered all over the place.

983 984 985 986 987
2008-04-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdock.c
	* libgimpwidgets/gimpcellrenderertoggle.c: minor cosmetics.

988 989 990 991 992 993
2008-04-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptoolbox.c: do not any longer accept
	middle-mouse-button paste on the toolbox buttons but use the
	toolbox drop area for that.

994 995 996 997 998
2008-04-25  Sven Neumann  <sven@gimp.org>

	* app/actions/dock-actions.c (dock_actions): removed default
	keyboard shortcut for "dock-close".

999 1000 1001 1002
2008-04-24  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_options_notify): Do appropriate equal and
1003 1004
	not-equal comparisons for floting point numbers. Fixes
	bug #527863.
1005

Sven Neumann's avatar
Sven Neumann committed
1006 1007 1008 1009 1010
2008-04-23  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpnumberpairentry.c
	(gimp_number_pair_entry_modify_font): formatting.

1011 1012 1013 1014 1015 1016
2008-04-22  Michael Natterer  <mitch@gimp.org>

	* app/actions/view-actions.c (view_actions_update): simplify call
	to window_actions_update() (we already have a local "shell"
	variable that is NULL when there is no display).

1017 1018 1019 1020
2008-04-22  Michael Natterer  <mitch@gimp.org>

	* app/sanity.c: add check for the GEGL version.

1021 1022 1023 1024 1025
2008-04-22  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_frame_size_request):
	take vertical padding into account to avoid resizing the statusbar.

1026 1027 1028 1029 1030 1031
2008-04-21  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugin-cleanup.c: do the actual cleanup in
	utility functions and reduce gimp_plug_in_cleanup() to merely
	iterating the cleanup lists.

1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089
2008-04-21  Michael Natterer  <mitch@gimp.org>

	Move the shadow tiles from the image to the drawable.
	Fixes bug #100469.

	* app/core/Makefile.am
	* app/core/gimpdrawable-shadow.[ch]: new files implementing
	the shadow tiles.

	* app/core/gimpimage.[ch]: remove the shadow tile manager from the
	GimpImage struct. Remove gimp_image_get_shadow_tiles() and
	_free_shadow_tiles().

	* app/core/gimpdrawable.[ch]: add the shadow tile manager
	here. Remove get_shadow_tiles() and merge_shadow(). Free the
	shadow tiles in finalize and when the drawable gets removed from
	the image.

	* 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-equalize.c
	* app/core/gimpdrawable-hue-saturation.c
	* app/core/gimpdrawable-invert.c
	* app/core/gimpdrawable-levels.c
	* app/core/gimpdrawable-operation.c
	* app/core/gimpdrawable-posterize.c
	* app/core/gimpdrawable-threshold.c
	* app/core/gimpimagemap.c: changed accordingly. Free the shadow tiles
	after using them.

	* app/plug-in/gimpplugin-cleanup.[ch]: add
	gimp_plug_in_cleanup_add_shadow() and _remove_shadow() which keep
	track of whether shadow tiles were created on behalf of a plug-in
	procedure.

	(gimp_plug_in_cleanup): free shadow tiles which were created but
	not destroyed by a plug-in procedure.

	* app/plug-in/gimpplugin-message.c (plug_in_handle_tile_request):
	call gimp_plug_in_cleanup_add_shadow() whenever a plug-in requests
	shadow tiles.

	* tools/pdbgen/pdb/drawable.pdb: use the new drawable shadow
	API. Add new procedure gimp-drawable-free-shadow. Call
	gimp_plug_in_cleaup_remove_shadow() when it gets called.

	* tools/pdbgen/pdb/image.pdb: deprecate gimp-image-free-shadow.
	Calling it has no effect any longer.

	* app/pdb/drawable-cmds.c
	* app/pdb/image-cmds.c
	* app/pdb/internal-procs.c
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimpdrawable_pdb.[ch]: regenerated.

1090 1091 1092 1093 1094 1095
2008-04-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psp.c: applied patch from Christoph Brill which
	adds enum values and typedefs used in newer versions of the PSP
	file format (see bug #120757).

1096 1097 1098 1099 1100
2008-04-21  Michael Natterer  <mitch@gimp.org>

	* libgimpmath/gimpmd5.c (gimp_md5_get_digest): moving a cast to
	the right parameter fixes two warnings.

1101 1102 1103 1104 1105
2008-04-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve-bend.c (run): fixed handling of
	"argc-lower-val-y" PDB parameter.

1106 1107 1108 1109 1110 1111 1112 1113 1114 1115
2008-04-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-levels.[ch]: replaced unused parameter
	"context" by "progress" and pass the progress on internally.
	Factor common code out to gimp_drawable_levels_internal().

	* tools/pdbgen/pdb/color.pdb: pass progress instead of context.

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

Sven Neumann's avatar
Sven Neumann committed
1116 1117 1118 1119
2008-04-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psp.c: untabified.

1120 1121 1122 1123 1124
2008-04-19  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdata.c: prototype indentation and minor declatation
	and function reordering for the sake of consistency.

1125 1126 1127 1128 1129
2008-04-18  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpblendtool.c (gimp_blend_tool_draw): don't draw the
	handles on pixel centers, we don't blend between pixel centers.

1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142
2008-04-17  Michael Natterer  <mitch@gimp.org>

	Add some infrastructure that will be used soon:

	* app/plug-in/gimppluginprocframe.[ch]: replace "cleanup" list
	by two lists "image_cleanups" and "item_cleanups" and call
	gimp_plug_in_cleanup() if any of them is non-NULL.

	* app/plug-in/gimpplugin-cleanup.c: add private new() and free()
	functions for GimpPlugInCleanupImage structs and add the same
	infrastructure for GimpPlugInCleanupItem structs which are
	currently unused.

1143 1144 1145 1146
2008-04-17  Michael Natterer  <mitch@gimp.org>

	* configure.in: add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS.

1147 1148 1149 1150 1151
2008-04-17  Michael Natterer  <mitch@gimp.org>

	* configure.in: remove AC_HEADER_DIRENT, we use GDir all over the
	place now.

1152 1153 1154 1155 1156 1157
2008-04-16  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-coords.c
	(gimp_display_shell_eval_event): remove local "inertia" variable
	and simply modify the passed "inertia_factor" when needed.

1158 1159 1160 1161 1162 1163
2008-04-16  Sven Neumann  <sven@gimp.org>

	* app/config/test-config.c: initialize the units vtable in
	libgimpbase instead of trying to override symbols from it.
	Fixes bug #528160.

1164 1165 1166 1167 1168
2008-04-15  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-coords.c
	(gimp_display_shell_eval_event): fix calculation of filter
	distance, it was missing a 1 / zoom_factor. Moved variables to
Sven Neumann's avatar
Sven Neumann committed
1169
	local scope. Remove redundant thistime variable. Turned const
1170 1171
	gdouble into a #define.

1172 1173 1174 1175 1176
2008-04-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (_query.make_params): strip mnemonics
	from parameter names before passing them to gimp.install_procedure().

1177 1178 1179 1180 1181
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/plug-in/gimpplugin-message.c: renamed
	gimp_plug_in_handle_tile_req() to gimp_plug_in_handle_tile_request().

1182 1183 1184 1185 1186 1187 1188 1189
2008-04-14  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_tile_req):
	made messages about killed plug-ins due to invalid tile requests
	more verbose. They are good for debugging only and not translated,
	so more info can't hurt. Also fail (kill the plug-in) if a tile is
	requested that lives on the undo stack.

Sven Neumann's avatar
Sven Neumann committed
1190 1191 1192 1193
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppolygonselecttool.c: formatting.

1194 1195 1196 1197 1198 1199
2008-04-14  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppolygonselecttool.c
	(gimp_polygon_select_tool_button_release): simplify and fix logic
	to do the "right" thing. Hard to describe, try youself ;)

1200 1201 1202 1203 1204
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c: introduced a #define for the spacing
	between the icon and the statusbar label.

1205 1206 1207 1208 1209
2008-04-14  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpmemsize.c: #undef GIMP_DISABLE_DEPRECATED so
	gimp_memsize_to_string() sees its own prototype.

1210 1211 1212 1213 1214
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_label_expose): fixed
	icon placement for right-to-left render direction.

1215 1216 1217 1218 1219
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.[ch]: rewritten the code that draws
	the icon in the statusbar label. The new code gives nicer spacing.

1220 1221 1222 1223 1224 1225 1226
2008-04-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg.h
	* plug-ins/jpeg/jpeg-exif.c
	* plug-ins/jpeg/jpeg-load.c: rotate the thumbnail according to the
	EXIF orientation as required by the updated thumbnail spec.

1227 1228 1229 1230 1231 1232
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_show_tooltip)
	* app/display/gimpstatusbar.c (gimp_statusbar_progress_start)
	* app/gui/gui.c (gui_menu_show_tooltip): push a NULL stock-id.

Sven Neumann's avatar
Sven Neumann committed
1233 1234 1235 1236 1237 1238 1239
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_label_expose): added
	a sanity check.

	* app/display/gimpdisplayshell-layer-select.c: formatting.

1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251
2008-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.[ch]: added stock-id parameters to all
	statusbar setters.

	* app/display/gimpdisplayshell-title.c: pass NULL as stock-id.

	* app/tools/gimptool.c: pass the tool icon to the statusbar.

	* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_start):
	inherit the tool-info from the parent tool.

Sven Neumann's avatar
Sven Neumann committed
1252 1253 1254 1255
2008-04-13  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptool.h: formatting.

1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268
2008-04-13  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpunitcombobox.c: added "label-scale" style property.

	* app/display/gimpscalecombobox.[ch]: ditto. Also removed the
	support for extra action items.

	* app/display/gimpstatusbar.c: changed accordingly.

	* themes/Default/gtkrc
	* themes/Small/gtkrc: use a smaller font for the combo-box labels
	in the statusbar.

Michael Natterer's avatar
Michael Natterer committed
1269 1270 1271 1272 1273 1274
2008-04-13  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpiscissorstool.c: minor cosmetics.

	* cursors/gimp-tool-cursors.xcf: add the new SELECT modifier.

1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288
2008-04-12  Martin Nordholts  <martinn@svn.gnome.org>

	Applied modified patch from Daniel Hornung that changes the mouse
	cursor to a "clicking will create a selection"-icon when hovering
	the center of a pending Scissors Select Tool selection (bug #493370)

	* app/tools/gimpiscissorstool.c
	(gimp_iscissors_tool_cursor_update): Use the new cursor icon.

	* cursors/modifier-select.png
	* cursors/xbm/modifier-select.xbm
	* cursors/xbm/modifier-select-mask.xbm: New cursor icon.

	* cursors/makefile.msc
Sven Neumann's avatar
Sven Neumann committed
1289
	* cursors/Makefile.am
1290 1291 1292
	* app/widgets/gimpcursor.c
	* app/widgets/widgets-enums.h: Changed accordingly.

1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319
2008-04-12  Martin Nordholts  <martinn@svn.gnome.org>

	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/alien-neon-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/bovinated-logo.scm
	* plug-ins/script-fu/scripts/chalk.scm
	* plug-ins/script-fu/scripts/chip-away.scm
	* plug-ins/script-fu/scripts/chrome-logo.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/frosty-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/glowing-logo.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/neon-logo.scm
	* plug-ins/script-fu/scripts/script-fu-util.scm
	* plug-ins/script-fu/scripts/starburst-logo.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/t-o-p-logo.scm
	* plug-ins/script-fu/scripts/textured-logo.scm: Applied patch from
	Ulf-D. Ehlert that makes the Alpha to Logo-filters more gracefully
	handle images with many layers (bug #498480).

1320 1321 1322 1323 1324 1325
2008-04-12  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpimage-snap.c (gimp_image_snap_rectangle): Applied
	patch from Mark Locascio that makes the center point of rectangles
	snap (bug #527659).

1326 1327 1328 1329 1330 1331
2008-04-11  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-appearance.c
	(gimp_display_shell_appearance_update): don't call
	gtk_widget_set_name() on a NULL menubar.

1332 1333 1334 1335 1336
2008-04-11  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.c (gimp_prop_size_entry_new):
	reduced spacing between entry and unit menu.

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

	* app/tools/gimptextoptions.c (gimp_text_options_gui): tweaked the
	layout to save a few pixels.

1342 1343 1344 1345 1346
2008-04-11  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_empty):
	unfullscreen the window before doing anything else.

1347 1348 1349 1350 1351 1352
2008-04-11  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-appearance.c
	(gimp_display_shell_appearance_update): don't show the status
	bar's resize grip in fullscreen mode.

1353 1354 1355 1356 1357 1358
2008-04-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/print-preview.c: unset the move cursor in
	GtkWidget::leave_notify_event() so it always gets unset when the
	pointer leaves the widget.

1359 1360 1361 1362 1363
2008-04-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	fixed compilation on Win32 (bug #527300).

1364 1365 1366 1367 1368 1369
2008-04-10  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.[ch] (gimp_statusbar_progress_message):
	improved the check if the message can be shown in the statusbar.
	Do not show messages that don't fit into the given space.

Sven Neumann's avatar
Sven Neumann committed
1370 1371
	* app/gui/gui-message.c (gui_message_error_dialog): if there's
	already an error dialog associated with a progress, then use it.
1372

1373 1374 1375 1376 1377 1378 1379
2008-04-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcomponenteditor.c: implement
	GimpDocked::set_context() and set the GimpViewRenderers'
	contexts. Unclear how this could have been missed since it
	warned badly about NULL contexts.

1380 1381 1382 1383 1384
2008-04-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pygimp/plug-ins/python-console.py
	* plug-ins/script-fu/scripts/ts-helloworld.scm: fix new menu paths.

Sven Neumann's avatar
Sven Neumann committed
1385 1386 1387 1388
2008-04-09  Sven Neumann  <sven@gimp.org>

	* data/images/gimp-splash.png: flattened splash image.

Sven Neumann's avatar
Sven Neumann committed
1389 1390 1391 1392
2008-04-09  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.5.1.

Sven Neumann's avatar
Sven Neumann committed
1393 1394 1395 1396
2008-04-09  Sven Neumann  <sven@gimp.org>

	* Made 2.5.0 development release.

Sven Neumann's avatar
Sven Neumann committed
1397 1398 1399 1400
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am: fixed build of test-config.

1401 1402 1403 1404 1405 1406 1407
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/ts-helloworld.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/contactsheet.scm: register in new
	menu locations.

1408 1409
2008-04-09  Sven Neumann  <sven@gimp.org>

1410 1411
	* plug-ins/common/border-average.c: corrected parameter description.

1412 1413
2008-04-09  Sven Neumann  <sven@gimp.org>

1414 1415 1416 1417
	* plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
	* plug-ins/pygimp/plug-ins/python-console.py
	* plug-ins/pygimp/plug-ins/sphere.py: register in new menu locations.

Sven Neumann's avatar
Sven Neumann committed
1418 1419 1420 1421
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/twain/twain.c: register in new menu location.

1422 1423 1424 1425 1426
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-in-menu-path.c (plug_in_menu_path_map): removed
	function name from debug output.

1427 1428 1429 1430 1431 1432 1433
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/win-snap/winsnap.c
	* plug-ins/common/screenshot.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/*.scm: register in new menu locations.

1434 1435 1436 1437 1438
2008-04-09  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-menu-path.c (plug_in_menu_path_map): enable
	and improve debug output for mapped menu paths.

1439 1440 1441 1442 1443 1444
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch] (enum GimpUndoType): changed
	descriptions for the GIMP_UNDO_FS_RIGOR and GIMP_UNDO_FS_RELAX
	undo types again.

1445 1446 1447 1448 1449
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptexteditor.c (gimp_text_editor_new): disabled
	the language entry until it works.

1450 1451 1452 1453
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch] (enum GimpUndoType): better descriptions
	for the GIMP_UNDO_FS_RIGOR and GIMP_UNDO_FS_RELAX undo types.
1454

1455
	* app/core/gimplayer-floating-sel.c: corrected a comment.
1456

1457 1458 1459 1460 1461
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-actions.c (edit_actions): added mnemnic for
	"edit-paste-as-new" menu item.

1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494
2008-04-09  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: add "File/New" submenu and an "Acquire"
	placeholder inside it. Removed "File/Acquire". Removed the "Xtns"
	menu.

	* app/plug-in/plug-in-menu-path.[ch] (plug_in_menu_path_map):
	add "menu_label" parameter and add support for mapping around
	individual menu items while preserving their translation and
	mnemonics. Add mappings for the known menus from "Xtns" and map
	them to "File/New".

	Map everything else in "Xtns" to "Filters/Extensions".

	* app/plug-in/gimppluginmanager-menu-branch.c
	(gimp_plug_in_manager_add_menu_branch): pass the menu_label so
	menu branches can be mapped with their translation.

	* app/plug-in/gimppluginprocedure.c
	(gimp_plug_in_procedure_add_menu_path): pass NULL because mapping
	menu items which have no submenu makes no sense and is redundant.

	* app/actions/image-actions.c: remove the "Xtns" menu action.

	* app/actions/file-actions.c: add action for the "File/New" menu
	and removed the "File/Acquire" action.

	* app/actions/edit-actions.c: rename "Paste as New" to
	"From Clipboard".

	* menus/image-menu.xml.in: add the "From Clipboard" action to the
	"File/New" menu.

1495 1496 1497 1498 1499 1500 1501 1502
2008-04-09  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcontainer.[ch]: added new methods
	gimp_container_get_{first,last}_child().

	* app/actions/file-actions.c (file_actions_close_all_update)
	* app/dialogs/layer-add-mask-dialog.c (layer_add_mask_dialog_new)
	* app/dialogs/palette-import-dialog.c (palette_import_image_callback)
Sven Neumann's avatar
Sven Neumann committed
1503
	* app/gui/gui-vtable.c (gui_get_empty_display):
1504 1505 1506 1507 1508 1509
	* app/widgets/gimpmenudock.c (gimp_menu_dock_image_changed): use
	the new GimpContainer methods.

	* app/core/gimpundostack.c: use the new GimpContainer methods and
	cleaned up the code.

1510 1511 1512 1513 1514 1515 1516 1517 1518
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/sphere.scm: removed Sphere
	script. It's a nice simple example but it has no real value.

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
	removed "<Toolbox>/Xtns/Misc".

1519 1520 1521 1522 1523
2008-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	marked a message for translation. Declare 'val' as const and use
	an extra variable where a not const variable is needed.
Sven Neumann's avatar
Sven Neumann committed
1524

1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535
2008-04-09  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: moved Languages to the bottom.  Removed
	separator from the Filters list as there was really no rule as to
	what goes above and what goes below.

	* app/actions/plug-in-actions.c: added Filters->Decor submenu.

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
	removed registration of redundant menu branches.

1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550
2008-04-08  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: add placeholder "Help/Programming"

	* plug-ins/common/plugin-browser.c
	* plug-ins/common/procedure-browser.c: move the plug-in and
	procedure browsers there.

	* menus/image-menu.xml.in: moved the (now by default empty)
	"Extensions" placeholder from "Xtns" to "Filters". Let's see what
	cruft shows up there.

	* app/plug-in/plug-in-menu-path.c: map "Xtns/Extensions" to
	"Filters/Extensions".

1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565
2008-04-08  Michael Natterer  <mitch@gimp.org>

	Start getting rid of the "Xtns" menu:

	* app/actions/dialogs-actions.c (dialogs_toplevel_actions):
	renamed "Module Manager" to "Modules".

	* menus/image-menu.xml.in: move it to "Edit/Preferences" for the
	time being so it doesn't block the removal of the "Xtns" menu.

	Move "Languages" placeholder from "Xtns" to "Filters".

	* app/plug-in/plug-in-menu-path.c (menu_path_mappings): map
	"Xtns/Languages" to "Filters/Languages".

1566 1567 1568 1569 1570
2008-04-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (myalloc): removed a redundant (and wrong)
	cast.

1571 1572 1573 1574 1575 1576 1577 1578 1579 1580
2008-04-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/Makefile.am

	* plug-ins/pygimp/plug-ins/happy-valley-relief.py: renamed to ...
	* plug-ins/pygimp/plug-ins/python-eval.py: ... this.

	* plug-ins/pygimp/plug-ins/gimpcons.py: renamed to ...
	* plug-ins/pygimp/plug-ins/python-console.py: ... this.

1581 1582 1583 1584 1585 1586 1587 1588
2008-04-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.c
	(gimp_dialog_factory_set_user_pos): set GDK_HINT_MIN_SIZE on
	dialogs which had no previous sessionrc entry. Fixes the minimum
	size of the very first empty display of a new GIMP installation
	and shouldn't have any ill effects on other windows.

1589 1590 1591 1592 1593 1594 1595 1596 1597
2008-04-07  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-3dnow-test.c
	* app/composite/gimp-composite-altivec-test.c
	* app/composite/gimp-composite-mmx-test.c
	* app/composite/gimp-composite-sse-test.c
	* app/composite/gimp-composite-sse2-test.c
	* app/composite/gimp-composite-vis-test.c: include <stdlib.h>

Michael Natterer's avatar
Michael Natterer committed
1598 1599 1600 1601 1602 1603 1604 1605 1606 1607
2008-04-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/neon.c: renamed to...

	* plug-ins/common/edge-neon.c: ...this. Some formatting cleanup.

	* plug-ins/common/plugin-defs.pl: changed accordingly.

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

Sven Neumann's avatar
Sven Neumann committed
1608 1609 1610 1611 1612 1613
2008-04-07  Sven Neumann  <sven@gimp.org>

	* app/gegl/Makefile.am (libappgegl_a_SOURCES): added missing file.

	* app/tools/tools-enums.c: regenerated.

Sven Neumann's avatar
Sven Neumann committed
1614 1615 1616 1617 1618
2008-04-07  Sven Neumann  <sven@gimp.org>

	* app/version.c (gimp_show_library_version): tweaked verbose
	version output.

1619 1620
2008-04-07  Sven Neumann  <sven@gimp.org>

Sven Neumann's avatar
Sven Neumann committed
1621
	* app/tools/gimprectangletool.[ch]
Sven Neumann's avatar
Sven Neumann committed
1622 1623
	* app/tools/gimptexttool.c: removed 'force-narrow' mode as it is
	hard to use and just looks broken.
1624

Sven Neumann's avatar
Sven Neumann committed
1625 1626 1627 1628
2008-04-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: formatting.

1629 1630
2008-04-07  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

Sven Neumann's avatar
Sven Neumann committed
1631
	* app/tools/gimprectangletool.[ch]: add "force_narrow" parameter.
1632

Sven Neumann's avatar
Sven Neumann committed
1633 1634
	* app/tools/gimptexttool.c: Force rectangle to always be narrow,
	and squash a few bugs.
1635

1636 1637 1638 1639 1640
2008-04-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c: use gimp_drawable_is_valid() to check
	if a drawable ID is valid.

Sven Neumann's avatar
Sven Neumann committed
1641 1642 1643 1644 1645 1646 1647 1648 1649
2008-04-07  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-coords.[ch]
	* app/tools/gimppainttool.c
	* app/tools/gimptool.[ch]: applied patch from Alexia Death as
	attached to bug #508639. This change makes the smoothing depend on
	the active tool.

1650 1651
2008-04-07  Sven Neumann  <sven@gimp.org>

Sven Neumann's avatar
Sven Neumann committed
1652
	* app/actions/templates-actions.c
1653
	* app/actions/templates-commands.c: when creating an image from a
Sven Neumann's avatar
Sven Neumann committed
1654
	template, skip the New Image dialog as suggested in bug #480802.
1655

1656 1657 1658 1659 1660
2008-04-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/map-object/map-object-main.c (query): fixed description
	of 'lighttype' parameter (bug #526679).

1661 1662 1663 1664 1665 1666 1667
2008-04-07  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplay-handlers.c (gimp_display_saved_handler):
	use gimp_statusbar_push_temp() directly instead of going through
	gimp_message(). Use the GTK_STOCK_SAVE icon for the statusbar
	message.

1668 1669 1670 1671 1672 1673
2008-04-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.[ch]: set the number of pages to one before
	showing the dialog. Not that it would make a difference, but it
	could...

1674 1675 1676 1677 1678 1679 1680
2008-04-07  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/procedural_db.pdb (procedural_db_proc_exists):
	canonicalize the procedure name and also try compat names.

	* app/pdb/procedural-db-cmds.c: regenerated.

1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693
2008-04-06  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/procedural_db.pdb: added new procedure
	gimp-procedural-db-proc-exists.

	* app/pdb/internal-procs.c
	* app/pdb/procedural-db-cmds.c
	* libgimp/gimpproceduraldb_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.

	* plug-ins/print/print.c (page_setup): use the new procedure.

1694 1695 1696 1697 1698 1699
2008-04-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c (page_setup): do a query for the
	temporary procedure installed by the 'file-print-gtk' procedure.
	Temporary solution until bug #344818 has been addressed.

1700 1701 1702 1703 1704
2008-04-06  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c: resurrected the icon in statusbar
	messages.

1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732
2008-04-05  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplay.[ch]: added new function
	gimp_display_close() which decides if gimp_display_delete() or
	gimp_display_empty() needs to be called.

	* app/display/gimpdisplay-foreach.[ch]: added new function
	gimp_displays_close() and removed the 'do_quit' parameter from
	gimp_displays_delete().

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

	* app/display/gimpdisplayshell-close.c: removed
	gimp_display_shell_really_close() and call gimp_display_close()
	instead.

	* app/display/gimpdisplayshell.c (gimp_display_shell_empty): moved
	code to update the ui managers here.

	* app/actions/file-commands.c (file_save_cmd_callback)
	(file_close_cmd_callback)
	* app/dialogs/file-save-dialog.c (file_save_dialog_response)
	* app/dialogs/quit-dialog.c (quit_close_all_dialog_response):
	close displays instead of deleting them.

	* app/gui/gui-vtable.c (gui_display_delete): call
	gimp_display_close().

Sven Neumann's avatar
Sven Neumann committed
1733 1734 1735 1736 1737
2008-04-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolormapeditor.c (gimp_colormap_editor_draw):
	corrected fix for bug #511926.

1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748
2008-04-04  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/text_layer.pdb: reorder functions so getters
	and setters are together, rename fontsize() functions to
	font_size(), fix get_color() implementation.

	* app/pdb/text-layer-cmds.c
	* libgimp/gimptextlayer_pdb.[ch]: regenerated.

	* libgimp/gimp.def: changed accordingly.

1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759
2008-04-04  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: added
	gimp_vectors_new_from_text_layer().

	* app/pdb/internal-procs.c
	* app/pdb/vectors-cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.

1760 1761 1762 1763 1764 1765
2008-04-04  Sven Neumann  <sven@gimp.org>

	* app/core/gimpselection.c (gimp_selection_float): clear the
	selection as gimp_selection_extract() doesn't do this for us any
	longer (see bug #510534).

1766 1767 1768 1769 1770
2008-04-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/psd/psd-load.c: marked string for translation (the same
	string exists in the TIFF loader already).

1771 1772 1773 1774
2008-04-04  Sven Neumann  <sven@gimp.org>

	* app/core/gimp.c: follow renaming of internal_procs.h.

1775 1776 1777 1778
2008-04-04  Sven Neumann  <sven@gimp.org>

	* HACKING: updated for name change of generated files.

Sven Neumann's avatar
Sven Neumann committed
1779 1780 1781 1782 1783 1784
2008-04-04  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/drawable.pdb: added missing include.

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

1785 1786 1787 1788 1789 1790 1791
2008-04-04  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/app.pl: changed the names of the generated files.

	* app/pdb/Makefile.am
	* app/pdb/*cmds.c: renamed.

1792 1793 1794 1795 1796 1797
2008-04-04  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/app.pl: cosmetic change in the generated code.

	* app/pdb/*_cmds.c: regenerated.

Sven Neumann's avatar
Sven Neumann committed
1798 1799