1 2008-09-30 Sven Neumann <sven@gimp.org>
5 2008-09-30 Michael Natterer <mitch@gimp.org>
7 Bug 546924 – "New Image" misscalculating dimensions for non-pixel
10 * app/core/gimptemplate.h: added private param flag
11 GIMP_TEMPLATE_PARAM_COPY_FIRST.
13 * app/core/gimptemplate.c (gimp_template_class_init): set the flag
14 on the resolution properties.
16 * app/dialogs/image-new-dialog.c (image_new_template_changed):
17 make sure the resolution properties are copied first.
19 * libgimpconfig/gimpconfig-utils.c (gimp_config_sync): remove
20 comment about fixing the template editor. That's not true any
23 2008-09-30 Michael Natterer <mitch@gimp.org>
25 * app/tools/gimpimagemaptool.[ch]: keep a "default_config" object
26 around and use it to reset the tool if it exists.
28 (gimp_image_map_tool_edit_as): set the default_config on the new
29 tool so "reset" goes back to the values the tool was started with.
31 * app/tools/gimpcolorbalencetool.c (gimp_color_balance_tool_reset)
32 * app/tools/gimpcurvestool.c (gimp_curves_tool_reset)
33 * app/tools/gimphuesaturationtool.c (gimp_hue_saturation_tool_reset)
34 * app/tools/gimplevelstool.c (gimp_levels_tool_reset): use the
35 default config to reset the tool here too if it exists.
37 2008-09-30 Sven Neumann <sven@gimp.org>
39 * app/gui/splash.c: don't make the upper label bold. This change
40 compensates for the smaller width of the new splash screen.
42 2008-09-30 Sven Neumann <sven@gimp.org>
44 * app/widgets/gimpwidgets-utils.[ch]: added
45 gimp_pango_layout_set_scale().
47 * app/gui/splash.c: set a smaller font size on the lower label.
49 2008-09-30 Sven Neumann <sven@gimp.org>
51 * app/widgets/gimpwidgets-utils.c (gimp_pango_layout_set_weight):
52 actually use the passed weight.
54 2008-09-30 Sven Neumann <sven@gimp.org>
56 * app/config/gimpbaseconfig.c
57 * app/config/gimpguiconfig.c: reverted parts of commit 25812.
58 Restores compatibility with old gimprc files.
60 2008-09-30 Sven Neumann <sven@gimp.org>
62 * app/config/gimprc-deserialize.c (gimp_rc_deserialize): formatting.
64 2008-09-29 Sven Neumann <sven@gimp.org>
66 * README: prepared for the upcoming 2.6 release.
68 2008-09-29 Sven Neumann <sven@gimp.org>
70 * configure.in: bumped version to 2.6.0.
73 * tools/Makefile.am: changed accordingly.
76 * etc/gimprc: regenerated.
78 2008-09-29 Sven Neumann <sven@gimp.org>
80 * data/images/gimp-splash.png: splash screen for GIMP 2.6. Created
81 by Alexia Death and edited together with Ville Pätsi.
83 * authors.xml: added the two splash screen artists.
85 * AUTHORS: regenerated.
87 2008-09-29 Sven Neumann <sven@gimp.org>
89 * INSTALL: prepared for the upcoming 2.6 release.
91 2008-09-29 Martin Nordholts <martinn@svn.gnome.org>
93 Bug 554125 – Tab key doesn't hide utility windows when there is no
96 * app/widgets/gimpdialogfactory.[ch]: Add 'toggle_visibility' to
97 GimpDialogFactory and as a parameter to gimp_dialog_factory_new(),
100 (gimp_dialog_factories_hide_foreach): Don't hide dialogs belonging
101 to factories with toggle_visibility FALSE.
103 * app/display/gimpdisplayshell-callbacks.c
104 (gimp_display_shell_canvas_tool_events): Move no-image event
105 handling to a new helper function, and make pressing Tab hide
108 * app/dialogs/dialogs.c (dialogs_init): Allow toggling visibility
109 for all factories except the display-factory.
111 2008-09-29 Michael Natterer <mitch@gimp.org>
113 * app/core/gimpcurve.c (gimp_curve_copy): no need to memcpy() the
114 arrays, they are properly copied by gimp_config_sync() now. Add
115 call to gimp_data_dirty() so GimpCurvesConfig gets notified.
117 * app/gegl/gimpcurvesconfig.c (gimp_curves_config_set_property):
118 use gimp_config_copy() instead of copying the curve menually.
120 2008-09-29 Michael Natterer <mitch@gimp.org>
122 * app/widgets/gimpdialogfactory.c
123 (gimp_dialog_factories_show_foreach)
124 (gimp_dialog_factories_hide_foreach): remove some casts that were
125 always useless and are even more useless now after the recent
126 readability improvement.
128 2008-09-29 Sven Neumann <sven@gimp.org>
130 * app/display/gimpdisplayshell.c (gimp_display_shell_new): reduced
131 default window height to give a window aspect ratio of roughly 3:1
132 as requested by Peter.
134 2008-09-28 Martin Nordholts <martinn@svn.gnome.org>
136 Bug 472403 – Add bevel script fu does not work if there is no
139 * plug-ins/script-fu/scripts/add-bevel.scm (script-fu-add-bevel):
140 Applied modified patch from Barak Itkin that when there is no
141 selection makes the bevel be performed on the whole layer instead
142 of the whole image (which was broken in the first place). It also
143 fixes some bugs with setting the selection when there is no
146 2008-09-28 Martin Nordholts <martinn@svn.gnome.org>
148 * plug-ins/script-fu/scripts/add-bevel.scm (script-fu-add-bevel):
149 Rename 'select' to 'selection' since that is what it holds.
151 2008-09-28 Martin Nordholts <martinn@svn.gnome.org>
153 * app/widgets/gimpdialogfactory.c
154 (gimp_dialog_factories_show_foreach)
155 (gimp_dialog_factories_hide_foreach): Increase readability with
158 2008-09-27 Martin Nordholts <martinn@svn.gnome.org>
160 Bug 551864 – plugin Flame fails for some settings on 64bit
163 * plug-ins/flame/rect.c (render_rectangle): To handle p[0] and
164 p[1] being NaN, make sure that they are "within bounds" instead of
165 "not outside bounds".
167 2008-09-26 Michael Natterer <mitch@gimp.org>
169 * app/widgets/gimpnavigationview.c: reorder functions and add
172 2008-09-25 Michael Natterer <mitch@gimp.org>
174 * app/base/colorize.c (colorize_calculate): fix calculation of
175 final lookup table to not darken the image.
177 2008-09-25 Michael Natterer <mitch@gimp.org>
179 * app/display/gimpdisplayshell-dnd.c
180 (gimp_display_shell_drop_pixbuf): use the new helper function here
183 2008-09-25 Sven Neumann <sven@gimp.org>
185 * app/display/gimpdisplayshell-dnd.c
186 (gimp_display_shell_drop_component)
187 (gimp_display_shell_drop_drawable): moved duplicated code into a
190 2008-09-25 Michael Natterer <mitch@gimp.org>
192 * plug-ins/print/print-draw-page.c
193 (print_cairo_surface_from_drawable): free the right array.
195 2008-09-25 Sven Neumann <sven@gimp.org>
197 * plug-ins/file-jpeg/jpeg.[ch]
198 * plug-ins/file-jpeg/jpeg-save.[ch]
199 * plug-ins/file-jpeg/jpeg-settings.[ch]: introduced an enum for
200 the subsampling factor.
202 2008-09-25 Sven Neumann <sven@gimp.org>
204 Bug 553412 – JPEG sampling factors not set to 1x1 on grayscale
207 * plug-ins/file-jpeg/jpeg-save.c: always set subsampling to 1x1
208 for grayscale images and indicate this properly in the UI.
210 2008-09-25 Michael Natterer <mitch@gimp.org>
212 Bug 553530 – fatal error: Segmentation fault - when attempting to
213 bring up color-picker:
215 * modules/color-selector-wheel.c: declare gtk_hsv_get_type() if
216 not already done by GTK+. Fixes confusion about its return value
217 being 32 or 64 bit on 64 bit machines.
219 2008-09-25 Michael Natterer <mitch@gimp.org>
221 Bug 549195 – Color Wheel not working (GtkHSV):
223 * modules/color-selector-wheel.c: change packing and size requests
224 of the GtkHSV and its optional GtkAligmnent depending on the GTK+
225 version used to make it work with both the old and the new version
226 of the widget. Evil hacks, better don't look :)
228 2008-09-25 Sven Neumann <sven@gimp.org>
230 * app/core/gimp.[ch]: added a 'restored' flag to the Gimp object
231 and set it in gimp_real_restore(). Added method gimp_is_restored().
233 * app/gui/gui.c: call gui_unique_init() in gui_init() instead of
234 doing that later in gui_restore_after_callback(). By doing so we
235 start our DBus service (or message proxy window on Win32) much
236 earlier in the start process, thus reducing the time frame where
237 two instances of GIMP can be launched.
239 * app/gui/gui-unique.c
240 * app/gui/gimpdbusservice.c: wait handling the queued file-open
241 requests until GIMP is fully restored.
243 * app/gui/splash.c (splash_update): only run one iteration of the
244 main loop. Doing it in a while loop can cause us to get stuck if
245 the gimp-unique service already added an idle handler.
247 2008-09-24 Martin Nordholts <martinn@svn.gnome.org>
249 Bug 549925 – incorrect math: adding/substracting empty selection
252 * app/tools/gimprectangleselecttool.c
253 (gimp_rectangle_select_tool_execute): Be more intuitive when
254 clicking outside the current selection for the selection modes Add
255 and Subtract. More specifically, don't alter the selection mask at
258 2008-09-24 Martin Nordholts <martinn@svn.gnome.org>
260 * app/tools/gimprectangleselecttool.c: Added new utility function
261 gimp_rectangle_select_tool_get_operation(), and started using it.
263 2008-09-24 Sven Neumann <sven@gimp.org>
265 * plug-ins/pygimp/pygimp-image.c: undef GIMP_DISABLE_DEPRECATED
266 as we need the deprecated gimp_image_free_shadow() here.
268 * plug-ins/pygimp/pygimp-drawable.c: added Drawable.free_shadow().
270 2008-09-24 Sven Neumann <sven@gimp.org>
272 * plug-ins/pygimp/pygimp-drawable.c
273 * plug-ins/pygimp/pygimp-image.c: added optional interpolation
274 parameters to the image.scale() and layer.scale() methods.
276 2008-09-24 Michael Natterer <mitch@gimp.org>
278 * app/widgets/gimpcontrollereditor.c
279 (gimp_controller_editor_edit_response): call
280 gimp_controller_editor_sel_changed() with the right
281 GtkTreeSelection object (the editor's, not the action
282 list's). Fixes crash upon selecting an action for a controller
283 event. Spotted by Alexander Rabtchevich.
285 2008-09-24 Martin Nordholts <martinn@svn.gnome.org>
287 * tools/pdbgen/pdb/selection.pdb (selection_layer_alpha): Update
288 documentation, the layer does not need to have an alpha channel. A
289 layer without an alpha channel is considered opaque.
291 * app/pdb/selection-cmds.c
292 * libgimp/gimpselection_pdb.c: Regenerated.
294 2008-09-24 Sven Neumann <sven@gimp.org>
296 * tools/pdbgen/pdb/layer.pdb
297 * tools/pdbgen/pdb/image.pdb: added new scale procedures that
298 allow to specify the interpolation explicitly. Fixes bug #486977.
299 Also pass the progress parameter to the scale and rotate functions.
301 * app/pdb/image-cmds.c
302 * app/pdb/internal-procs.c
303 * app/pdb/layer-cmds.c
304 * libgimp/gimpimage_pdb.[ch]
305 * libgimp/gimplayer_pdb.[ch]: regenerated.
307 * libgimp/gimp.def: updated.
309 2008-09-24 Sven Neumann <sven@gimp.org>
311 * tools/pdbgen/pdb/image.pdb: fixed error and some typos in the
314 * app/pdb/image-cmds.c
315 * libgimp/gimpimage_pdb.c: regenerated.
317 2008-09-23 Sven Neumann <sven@gimp.org>
320 * configure.in: added --without-wmf option to disable build of the
323 2008-09-23 Sven Neumann <sven@gimp.org>
325 Move the "Use GEGL" check-box to the Colors menu (bug #548760):
327 * app/actions/Makefile.am
328 * app/actions/config-actions.[ch]
329 * app/actions/config-commands.[ch]: new files holding the "config"
330 action group that includes the "use-gegl" toggle action.
332 * app/actions/debug-actions.c
333 * app/actions/debug-commands.[ch]: removed the "use-gegl" action
337 * app/actions/actions.c: added the new action group.
339 * app/widgets/gimphelp-ids.h: added a help ID for the "use-gegl"
342 * menus/image-menu.xml.in: moved the "Use GEGL" check-box to the
345 2008-09-21 Sven Neumann <sven@gimp.org>
347 * app/actions/windows-actions.c: don't set a help ID on the
350 * app/widgets/gimphelp-ids.h: removed now unused help ID.
352 * app/menus/windows-menu.c: show a larger image preview in the
355 2008-09-21 Sven Neumann <sven@gimp.org>
357 * INSTALL: mention more explicitely that the '--without-gvfs'
358 option should be used with configure if GVfs support is missing.
360 2008-09-20 Sven Neumann <sven@gimp.org>
362 * app/dialogs/about-dialog.c: put translator comment on a single
363 line, looks better in the .po file.
365 2008-09-20 Michael Natterer <mitch@gimp.org>
367 * plug-ins/script-fu/Makefile.am
368 * plug-ins/script-fu/script-fu-utils.[ch]: new files containing
369 script_fu_stresacpe().
371 * plug-ins/script-fu/script-fu-script.c
372 * plug-ins/script-fu/script-fu-scripts.[ch]: changed accordingly.
374 2008-09-20 Simon Budig <simon@gimp.org>
376 * app/core/gimpcurve.c: whitespace fix
378 * app/gegl/gimplevelsconfig.c: make sure that the points set by
379 default gets unset before calculating the levels->curves
380 transition. We don't want stray points in the corners.
382 2008-09-19 Michael Natterer <mitch@gimp.org>
384 * plug-ins/script-fu/script-fu-types.h (struct SFScript): rename
385 "menu_path" to "menu_label". Having a full path here is just
388 * plug-ins/script-fu/script-fu-scripts.c
389 * plug-ins/script-fu/script-fu-script.[ch]: changed accordingly.
391 2008-09-19 Sven Neumann <sven@gimp.org>
393 * plug-ins/script-fu/script-fu-scripts.c: also apply the menu
394 mapping on scripts that use script-fu-menu-register to add
395 themselves to the menus.
397 2008-09-19 Michael Natterer <mitch@gimp.org>
399 * plug-ins/script-fu/scheme-wrapper.c: move variables to local
400 scopes, fix some whitespace and indentation, some misc. cleanup,
401 remove comments about array calling conventions that had lots of
402 copy and paste errors.
404 2008-09-19 Sven Neumann <sven@gimp.org>
406 * app/actions/file-actions.c: renamed "file-new-menu" to
407 "file-create-menu" and changed the menu label from "New" to "Create".
409 * app/plug-in/plug-in-menu-path.c
410 * menus/image-menu.xml.in
411 * plug-ins/common/screenshot.c
412 * plug-ins/script-fu/script-fu.c
413 * plug-ins/script-fu/scripts/*.scm
414 * plug-ins/twain/twain.c
415 * plug-ins/win-snap/winsnap.c: changed accordingly.
417 2008-09-19 Michael Natterer <mitch@gimp.org>
419 * libgimp/gimp.[ch] (gimp_destroy_paramdefs): fix docs: there is
420 no such thing as gimp_query_procedure(), the function is called
421 gimp_procedural_db_proc_info().
423 2008-09-19 Sven Neumann <sven@gimp.org>
425 * plug-ins/script-fu/scheme-wrapper.c
426 (script_fu_marshal_procedure_call): increased size of the
427 stack-allocated error string.
429 2008-09-19 Michael Natterer <mitch@gimp.org>
431 * plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
432 fix warning about missing braces around array initializer.
434 2008-09-19 Michael Natterer <mitch@gimp.org>
436 * plug-ins/script-fu/script-fu-script.[ch]: add new functions
437 script_fu_script_get_title() and script_fu_script_reset().
439 * plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
440 don't set all default values *and* values when parsing the script,
441 just set the defaults and call script_fu_script_reset() afterwards.
443 * plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
444 use the new script_fu_script_get_title().
446 (script_fu_reset): call script_fu_script_reset() and then update
447 the UI from the current values, instead of doing slightly
448 different things for each arg type.
450 2008-09-19 Sven Neumann <sven@gimp.org>
452 * plug-ins/help-browser/dialog.c (update_actions): allow to copy
453 selected text to the clipboard using Ctrl-C or the right-click
456 2008-09-19 Sven Neumann <sven@gimp.org>
458 * app/actions/plug-in-actions.c (plug_in_actions_history_changed):
459 try to use the menu label with ellipsis instead of the result of
460 gimp_plug_in_procedure_get_label() which has ellipsis and
463 2008-09-19 Sven Neumann <sven@gimp.org>
465 * app/gegl/gimplevelsconfig.c (gimp_levels_config_to_curves_config):
466 need to set the point at the index corresponding to the x value.
468 2008-09-18 Sven Neumann <sven@gimp.org>
470 * app/core/gimpcurve.c (gimp_curve_plot)
471 * app/gegl/gimplevelsconfig.c (gimp_levels_config_to_curves_config):
474 2008-09-18 Simon Budig <simon@gimp.org>
476 * app/core/gimpcurve.c: comment fix
478 * app/gegl/gimplevelsconfig.c: improve the levels->curves
479 transition. Not perfect, the result does not match a "real"
480 gamma correction, especially in the dark areas, where the
481 curves are too dark compared to the levels.
483 2008-09-18 Sven Neumann <sven@gimp.org>
485 * plug-ins/common/edge-dog.c: the plug-in can only run on layers,
486 not masks and channels. Added a check for this and bail out with
487 an error message. Fixes bug #552625.
489 * plug-ins/common/curve-bend.c: return error messages via the
490 procedure's return values.
492 2008-09-18 Sven Neumann <sven@gimp.org>
494 * app/plug-in/gimppluginprocedure.c
495 * libgimp/gimp.c: minor cleanups.
497 2008-09-18 Sven Neumann <sven@gimp.org>
499 * plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
500 don't leak the GError.
502 2008-09-18 Michael Natterer <mitch@gimp.org>
504 Bug 552785 – Script-fu run errors do not show in UI
506 * plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
507 fix the code that passes the error message back via the pipe.
509 2008-09-18 Sven Neumann <sven@gimp.org>
511 * plug-ins/script-fu/script-fu-scripts.c (script_fu_run_command):
512 plugged a memory leak.
514 * plug-ins/script-fu/script-fu-console.c
515 * plug-ins/script-fu/script-fu-server.c: minor cleanup.
517 2008-09-18 Michael Natterer <mitch@gimp.org>
519 * plug-ins/script-fu/script-fu-script.[ch]: add new functions
520 script_fu_script_collect_standard_args(),
521 script_fu_script_get_command() and
522 script_fu_script_get_command_from_params().
524 * plug-ins/script-fu/script-fu-scripts.c: remove the resp. code
525 here and use above functions instead.
527 * plug-ins/script-fu/script-fu-interface.c (script_fu_ok): changed
528 loop over args to only copy all widget content into the script's
529 values and then call script_fu_script_get_command().
531 2008-09-18 Michael Natterer <mitch@gimp.org>
533 * app/widgets/gimpdock.c (gimp_dock_style_set): reset the RC
534 styles of the dock's children after parsing the RC file snippet
535 for them. Fixes font size for detached dockables.
537 2008-09-18 Tor Lillqvist <tml@novell.com>
539 * plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
540 Fix small build break.
542 * app/plug-in/gimppluginshm.c: Use INVALID_HANDLE_VALUE instead of
543 INVALID_FILE_HANDLE which was a misunderstanding.
545 2008-09-18 Sven Neumann <sven@gimp.org>
547 * app/widgets/gimpdock.c: made the font scale factor for the docks
548 configurable in gtkrc.
550 * themes/Default/gtkrc
551 * themes/Small/gtkrc: for documentation purposes, added the
552 default value for GimpDock::font-scale here. Changed all style
553 property names to use the canonical names.
555 2008-09-18 Sven Neumann <sven@gimp.org>
557 * app/core/gimpdrawable-shadow.c (gimp_drawable_get_shadow_tiles):
558 no need to check if the drawable is attached as shadow tiles are
561 2008-09-18 Simon Budig <simon@gimp.org>
563 * app/gegl/gimpbrightnesscontrastconfig.c: fix the
564 brightness/contrast --> levels step by doing proper math (TM).
566 2008-09-18 Sven Neumann <sven@gimp.org>
568 * tools/pdbgen/pdb/drawable.pdb: gimp_drawable_mask_intersect()
569 and gimp_drawable_mask_bounds() may only be used on attached
570 drawables. Added missing checks.
572 * app/pdb/drawable-cmds.c: regenerated.
574 2008-09-18 Sven Neumann <sven@gimp.org>
576 * configure.in (CPPFLAGS): removed G*_DISABLE_SINGLE_INCLUDES until
577 we depend on newer versions of GLib and GTK+. Fixes bug #552669.
579 2008-09-18 Sven Neumann <sven@gimp.org>
581 * plug-ins/common/lcms.c (run): call gimp_displays_flush() at the
582 end of all interactive uses. Fixes bug #552104.
584 2008-09-17 Sven Neumann <sven@gimp.org>
586 * app/actions/edit-actions.c (edit_actions_update): formatting.
588 2008-09-17 Michael Natterer <mitch@gimp.org>
590 * plug-ins/script-fu/script-fu-types.h: add struct SFArg which
591 keeps all a script argument's type, label, value and default
594 (struct SFScript): replace separate arrays of type, label etc. by
595 one array of SFArg. Remove array of GimpParamDef because they are
596 only needed while registering the temp proc.
598 * plug-ins/script-fu/Makefile.am
599 * plug-ins/script-fu/script-fu-script.[ch]: new files implementing
600 script_fu_script_new(), script_fu_script_free(),
601 script_fu_script_register_proc() and
602 script_fu_script_unregister_proc().
604 * plug-ins/script-fu/script-fu-scripts.c: remove lots of code now
605 implemented in script-fu-script.c. Changed stuff according to the
606 introduction of SFArg. Moved variables to local scopes. Most
607 changes are in script_fu_add_script(), almost every line changed
608 and it's hopefully more readable now. Lots of cleanup all over the
611 * plug-ins/script-fu/script-fu-interface.c: changed stuff
612 according to the introduction of SFArg
614 2008-09-17 Sven Neumann <sven@gimp.org>
616 * plug-ins/pygimp/plug-ins/pyconsole.py: removed she-bang as this
617 file is not a plug-in. Addresses bug #552601.
619 2008-09-17 Sven Neumann <sven@gimp.org>
621 * libgimp/gimpimage.c (gimp_image_get_colormap): allow to pass
622 NULL for "num_colors".
624 * plug-ins/print/print-draw-page.c: added missing conversion
625 routines for indexed images. Fixes bug #552609.
627 2008-09-17 Michael Natterer <mitch@gimp.org>
629 * app/widgets/gimpdockable.c: cosmetic paranoia.
631 2008-09-17 Michael Natterer <mitch@gimp.org>
633 Revert the change which adds GError parameters to
634 gimp_image_add_{channel,layer,vectors}():
636 * app/actions/channels-commands.c
637 * app/actions/edit-commands.c
638 * app/actions/layers-commands.c
639 * app/actions/vectors-commands.c
640 * app/core/gimp-edit.c
641 * app/core/gimpimage-duplicate.c
642 * app/core/gimpimage-merge.c
643 * app/core/gimpimage-quick-mask.c
644 * app/core/gimpimage.[ch]
645 * app/core/gimplayer-floating-sel.c
646 * app/core/gimpselection.c
647 * app/core/gimptemplate.c
648 * app/display/gimpdisplayshell-dnd.c
649 * app/text/gimptext-compat.c
650 * app/tools/gimptexttool.c
651 * app/tools/gimpvectortool.c
652 * app/vectors/gimpvectors-import.c
653 * app/widgets/gimpchanneltreeview.c
654 * app/widgets/gimpitemtreeview.[ch]
655 * app/widgets/gimplayertreeview.c
656 * app/widgets/gimptoolbox-dnd.c
657 * app/widgets/gimpvectorstreeview.c
658 * app/xcf/xcf-load.c: revert.
660 Instead, fix it at the PDB level:
662 * app/core/gimpimage.c: turn the "added to wrong image" warning
663 into a g_return_val_if_fail() assertion.
665 * app/pdb/gimppdb-utils.[ch] (gimp_pdb_item_is_floating): add a
666 "dest_image" parameter and fail if the passed item is not for this
669 * tools/pdbgen/pdb/image.pdb
670 * tools/pdbgen/pdb/layer.pdb
671 * tools/pdbgen/pdb/paths.pdb: pass the dest image to
672 gimp_pdb_item_is_floating().
674 * app/pdb/image-cmds.c
675 * app/pdb/layer-cmds.c
676 * app/pdb/paths-cmds.c: regenerated.
678 2008-09-17 Sven Neumann <sven@gimp.org>
680 * plug-ins/script-fu/script-fu-scripts.c (script_fu_load_script):
681 tweaked error message.
683 * plug-ins/script-fu/script-fu-interface.c (script_fu_ok): set the
684 PDB error handler to GIMP_PDB_ERROR_HANDLER_PLUGIN while
685 interpreting the script.
687 2008-09-17 Michael Natterer <mitch@gimp.org>
689 * plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
692 2008-09-17 Michael Natterer <mitch@gimp.org>
694 * plug-ins/common/file-header.c
695 * plug-ins/common/file-psp.c
696 * plug-ins/common/file-xbm.c
697 * plug-ins/common/file-xpm.c
698 * plug-ins/common/hot.c
699 * plug-ins/common/mail.c: add const plus misc. cleanups.
701 2008-09-17 Michael Natterer <mitch@gimp.org>
703 * plug-ins/file-fits/fits.c
704 * plug-ins/gimpressionist/gimpressionist.h
705 * plug-ins/gimpressionist/presets.c
706 * plug-ins/gimpressionist/utils.c
707 * plug-ins/gradient-flare/gradient-flare.c
708 * plug-ins/ifs-compose/ifs-compose-storage.c
709 * plug-ins/imagemap/imap_default_dialog.[ch]
710 * plug-ins/imagemap/imap_object.h
711 * plug-ins/map-object/map-object-ui.c: add const plus some minor
714 2008-09-17 Michael Natterer <mitch@gimp.org>
716 * app/core/gimpimage.[ch]: add GError parameter to
717 gimp_image_add_{channel,layer,vectors}() and remove calls to
718 g_warning(). Changed checks to be possible failures at all.
720 * app/widgets/gimpitemtreeview.h (GimpAddItemFunc): add the GError
723 * app/actions/channels-commands.c
724 * app/actions/edit-commands.c
725 * app/actions/layers-commands.c
726 * app/actions/vectors-commands.c
727 * app/core/gimp-edit.c
728 * app/core/gimpimage-duplicate.c
729 * app/core/gimpimage-merge.c
730 * app/core/gimpimage-quick-mask.c
731 * app/core/gimplayer-floating-sel.c
732 * app/core/gimpselection.c
733 * app/core/gimptemplate.c
734 * app/display/gimpdisplayshell-dnd.c
735 * app/text/gimptext-compat.c
736 * app/tools/gimptexttool.c
737 * app/tools/gimpvectortool.c
738 * app/vectors/gimpvectors-import.c
739 * app/widgets/gimpchanneltreeview.c
740 * app/widgets/gimpitemtreeview.c
741 * app/widgets/gimplayertreeview.c
742 * app/widgets/gimptoolbox-dnd.c
743 * app/widgets/gimpvectorstreeview.c
744 * app/xcf/xcf-load.c: pass a NULL error.
746 * tools/pdbgen/pdb/image.pdb
747 * tools/pdbgen/pdb/paths.pdb: pass the error.
749 * app/pdb/image-cmds.c
750 * app/pdb/paths-cmds.c: regenerated.
752 2008-09-16 Sven Neumann <sven@gimp.org>
754 * configure.in: bumped version to 2.5.5.
756 2008-09-16 Sven Neumann <sven@gimp.org>
758 * Made 2.5.4 development release.
760 2008-09-16 Sven Neumann <sven@gimp.org>
762 * app/core/gimpimage.[ch]: added GError parameter to
763 gimp_image_{raise,lower}_{channel,layer,vectors} functions and
764 removed calls to g_message().
766 * app/actions/channels-commands.c
767 * app/actions/layers-commands.c
768 * app/actions/vectors-commands.c: pass NULL for the GError
769 parameter as these actions are insensitive if they would fail.
771 * tools/pdbgen/pdb/image.pdb: changed accordingly. Corrected the
774 * app/pdb/image-cmds.c
775 * libgimp/gimpimage_pdb.c: regenerated.
777 2008-09-16 Sven Neumann <sven@gimp.org>
779 * app/core/gimppalette-load.c (gimp_palette_load): unified error
782 2008-09-16 Michael Natterer <mitch@gimp.org>
784 * app/actions/actions.c: use the "tool options" icon for the
785 "context" action group since that's what its actions mostly
788 * app/actions/dialogs-actions.c: use the "brush", "gradient" and
789 "palette" icons also for their resp. editors since that's also the
790 icons they use in their dockable tabs.
792 2008-09-15 Michael Natterer <mitch@gimp.org>
794 * app/core/gimplayer.[ch] (gimp_layer_add_mask): add GError
795 parameter and replace g_message() by g_set_error().
797 * app/core/gimplayermaskundo.c
799 * app/actions/layers-commands.c: pass NULL errors since these
800 places know what they are doing. Ha ha...
802 * tools/pdbgen/pdb/layer.pdb
803 * tools/pdbgen/pdb/image.pdb: pass the error so we get more real
804 error messages for failed PDB calls.
806 * app/pdb/image-cmds.c
807 * app/pdb/layer-cmds.c: regenerated.
809 2008-09-15 Michael Natterer <mitch@gimp.org>
811 Bug 552413 – Script triggers Gimp-Core-CRITICAL
813 * tools/pdbgen/pdb/image.pdb
814 * tools/pdbgen/pdb/layer.pdb: add some more checks that produce
815 proper PDB error messages when adding and removing layer masks
816 instead of having the code run into assertions in the called core
817 functions. Also add some more checks when removing layers,
820 * app/pdb/image-cmds.c
821 * app/pdb/layer-cmds.c: regenerated.
823 2008-09-14 Kevin Cozens <kcozens@cvs.gnome.org>
825 * plug-ins/script-fu/tinyscheme/scheme.c (mk_vector), (opexe_2):
826 Applied changes from official version of TinyScheme which adds
827 tests for when mk_vector is out of memory. Can't rely on sc->sink.
829 2008-09-13 Michael Schumacher <schumaml@cvs.gnome.org>
831 * app/actions/edit-actions.c (edit_actions): removed double "the"
832 from translatable string. Fixes bug #552127.
834 2008-09-13 Sven Neumann <sven@gimp.org>
836 * plug-ins/common/lcms.c (lcms_image_apply_profile): flush the
837 displays after closing the undo group. Should fix bug #552104.
839 2008-09-12 Kevin Cozens <kcozens@cvs.gnome.org>
841 * plug-ins/script-fu/tinyscheme/scheme.c
842 * plug-ins/script-fu/tinyscheme/scheme.h: Applied changes from
843 official version of TinyScheme which expose more of the internals.
844 Part of making it more suitable for Scheme->C->Scheme calling.
845 See SourceForge bug #1599947.
847 2008-09-12 Sven Neumann <sven@gimp.org>
849 * plug-ins/common/guillotine.c: return the list of created images.
850 Only create displays when running in interactive mode.
852 2008-09-12 Michael Natterer <mitch@gimp.org>
854 * app/core/gimpdata.h: changed GimpBrush::get_extension() to return
855 const gchar* instead of gchar*
857 * app/core/gimpbrush.c
858 * app/core/gimpbrushgenerated.c
859 * app/core/gimpcurve.c
860 * app/core/gimpgradient.c
861 * app/core/gimppalette.c
862 * app/core/gimppattern.c: changed accordingly.
864 2008-09-11 Kevin Cozens <kcozens@cvs.gnome.org>
866 * plug-ins/script-fu/tinyscheme/CHANGES: Updating to match version
867 in official version of TinyScheme.
869 * plug-ins/script-fu/tinyscheme/scheme.c: Applied changes from
870 official version of TinyScheme which adds entry point for nested
871 calling. Part of making it more suitable for Scheme->C->Scheme
872 calling. See SourceForge bug #1599945. Updated usage information
873 using text from Manual.txt. See SourceForge bug #1825395.
875 2008-09-11 Michael Natterer <mitch@gimp.org>
877 * configure.in: forgot to remove plug-ins/script-fu/re here.
879 2008-09-11 Michael Natterer <mitch@gimp.org>
881 * plug-ins/script-fu/scheme-wrapper.[ch]: reordered and renamed
882 functions to be consistent. Got rid of file-global "register_scripts"
883 variable. Pass more "scheme *sc" pointers around to reduce usage
884 or the global variable.
886 * plug-ins/script-fu/script-fu-eval.c
887 * plug-ins/script-fu/script-fu-scripts.c
888 * plug-ins/script-fu/script-fu-server.c
889 * plug-ins/script-fu/script-fu.c: changed accordingly.
891 2008-09-11 Michael Natterer <mitch@gimp.org>
893 * app/core/gimp-modules.c (gimp_modules_unload): make a string
896 2008-09-11 Michael Natterer <mitch@gimp.org>
898 * plug-ins/script-fu/script-fu-regex.[ch]: namespace, copyright
899 headers, indentation, formatting, everything...
901 * plug-ins/script-fu/scheme-wrapper.c: changed accordingly. Some
902 formatting cleanup here too.
904 2008-09-11 Michael Natterer <mitch@gimp.org>
906 * libgimp/gimpexport.c (struct ExportAction): make string members
909 2008-09-11 Michael Natterer <mitch@gimp.org>
911 * plug-ins/script-fu/script-fu-scripts.c (script_fu_load_script):
912 convert the filename to UTF-8 before displaying it in the error
915 2008-09-11 Michael Natterer <mitch@gimp.org>
917 * plug-ins/script-fu/script-fu-scripts.c (script_fu_run_command):
918 use g_set_error() instead of g_set_error_literal() which is only
919 available in glib 2.18.
921 2008-09-11 Michael Natterer <mitch@gimp.org>
923 * plug-ins/script-fu/Makefile.am
924 * plug-ins/script-fu/re/*: removed....
926 * plug-ins/script-fu/script-fu-regex.[ch]: and replaced with a
927 few-liner using GRegex. Seems to have some issues that need to be
930 * plug-ins/script-fu/scheme-wrapper.c: changed accordingly.
932 2008-09-10 Michael Natterer <mitch@gimp.org>
934 Change Script-Fu error handling to properly use the new error
935 message passing in PDB return values:
937 * plug-ins/script-fu/script-fu-scripts.[ch]: remove function
938 script_fu_error_msg().
940 * plug-ins/script-fu/script-fu-interface.c (script_fu_ok): output
941 errors of interactive script-fu dialogs directly here with
944 * plug-ins/script-fu/script-fu-scripts.c (script_fu_run_command):
945 add GError and return the error message instead of displaying it.
947 (script_fu_load_script): show the returned error here (and make it
948 more specific than the former script_fu_error_msg() did).
950 (script_fu_script_proc): return error messages via the procedure's
953 * plug-ins/script-fu/scheme-wrapper.c
954 (script_fu_marshal_procedure_call): if an error message was
955 returned from the PDB call, pass it to foreign_error() so it ends
956 up where it should (console, text console or error string).
958 * plug-ins/script-fu/script-fu-console.c
959 * plug-ins/script-fu/script-fu-text-console.c: set the error
960 handler to PLUGIN while interpreting scheme, we handle errors
961 from calling back into the PDB ourselves now.
963 2008-09-10 Michael Natterer <mitch@gimp.org>
965 * plug-ins/script-fu/tinyscheme/scheme.h: fix prototype (foo() is
966 not a prototype, use foo(void) instead).
968 2008-09-10 Tor Lillqvist <tml@novell.com>
970 * app/gui/gui-unique.c: Untabify.
972 * app/gui/gui-unique.c (gui_unique_win32_exit): Destroy the proxy
973 window here so that gimp_unique_win32_open() in app/unique.c won't
974 find it. This is important especially in a developer version where
975 the debug output window might be left open and the proxy window
976 otherwise would still exist for a long time after the GTK+ main
977 loop of the GIMP GUI has finished. Thanks to Michael Schumacher
978 for pointing this out.
980 There is still a small race window here after GIMP has begun
981 closing down its GUI in gui_exit_callback() and before the proxy
982 window has gone away. If another GIMP starts during that interval,
983 it will find the proxy window and send it a message, which will
984 then either be ignored, or the proxy window will have been
985 destroyed before it gets the message. Let's ignore that. There is
986 a much wider time window during which multiple GIMP instances may
987 be started during GIMP startup anyway.
989 * app/gui/gui-unique.c: gui_unique_win32_message_handler() can be
990 static. Include file/file-open.h for file_open_from_command_line()
991 declaration. Fix copy/paste glitch in gui_unique_exit().
993 2008-09-10 Michael Natterer <mitch@gimp.org>
995 * app/widgets/gimpactionview.c: factor out function that selects a
996 path and scrolls to that path. Keep the selected path visible if
997 it is still there after filtering.
999 2008-09-10 Michael Natterer <mitch@gimp.org>
1001 * app/actions/context-actions.c: made action labels more
1002 consistent, use '°' instead of 'degrees'.
1004 * app/actions/context-commands.c: cosmetic change in macro
1007 2008-09-10 Michael Natterer <mitch@gimp.org>
1009 * plug-ins/file-uri/uri-backend-wget.c
1010 * plug-ins/file-xjt/xjt.c: s/while (1)/while (TRUE)/
1012 2008-09-09 Michael Natterer <mitch@gimp.org>
1014 * plug-ins/script-fu/scheme-wrapper.c
1015 (script_fu_marshal_procedure_call): remove debug arrays to map the
1016 values of registered enums to strings. Look up the strings
1017 registered with the type system instead.
1019 2008-09-09 Michael Natterer <mitch@gimp.org>
1021 * plug-ins/script-fu/scheme-wrapper.c: fix formatting of prototypes.
1023 (script_fu_marshal_procedure_call): move variables to local scopes
1024 where possible. Make this function a bit readable by indenting the
1025 debug code in DEBUG_MARSHAL normally.
1027 2008-09-09 Michael Natterer <mitch@gimp.org>
1030 * plug-ins/script-fu/Makefile.am: remove references to $(REGEXREPL).
1032 2008-09-09 Sven Neumann <sven@gimp.org>
1034 * plug-ins/file-psd/psd-save.c (create_merged_image): don't leak
1037 2008-09-09 Martin Nordholts <martinn@svn.gnome.org>
1039 * plug-ins/file-psd/psd-save.c (save_data): Formating.
1041 2008-09-08 Sven Neumann <sven@gimp.org>
1043 * authors.xml: some more updates.
1045 * AUTHORS: regenerated.
1047 2008-09-08 Sven Neumann <sven@gimp.org>
1049 * plug-ins/file-psd/psd-save.c: applied patch from Dennis Ranke as
1050 attached to bug #551231. Changes the PSD save plug-in to store
1051 transparency data in the image data section. Also fixes bug #551232
1052 (saving an indexed image with multiple layers as PSD modifies the
1055 2008-09-08 Sven Neumann <sven@gimp.org>
1057 * app/paint/gimpbrushcore.c: based on a patch from David Gowers
1058 clamp the brush scale so that the brush never becomes smaller than
1059 0.5 pixels. Fixes bug #548631.
1061 2008-09-08 Michael Natterer <mitch@gimp.org>
1063 Bug 551306 – Color picker for text tool does not show selected
1066 * app/tools/gimptexttool.c (gimp_text_tool_register): add
1067 GIMP_CONTEXT_PALETTE_MASK to the tool option's context mask so the
1068 color popup's palette follows the globally selected palette.
1070 2008-09-08 Sven Neumann <sven@gimp.org>
1072 * authors.xml: restored alphabetic order. Use real name instead of
1075 * AUTHORS: regenerated.
1077 * app/dialogs/authors.xsl: changed rule to only include
1078 contributors from the 2.6 development cycle in the About dialog.
1080 2008-09-08 Roman Joost <romanofski@gimp.org>
1082 * authors.xml: updated documenters who contributed to the user
1085 2008-09-07 Sven Neumann <sven@gimp.org>
1087 Applied 'gimp-decimate.diff' as announced on the mailing-list:
1089 * app/gimp-log.[ch]: added log domain "scale".
1091 * app/paint-funcs/scale-region.c: replaced decimation routines
1092 with box filters. Only use the decimation routines to pre-scale
1093 the image, always apply the interpolation for the final step.
1095 2008-09-07 Martin Nordholts <martinn@svn.gnome.org>
1097 * app/widgets/gimpnavigationview.c
1098 (gimp_navigation_view_set_marker): Invalidating the view renderer
1099 is just plain wrong, revert to redrawing the view. We will need to
1100 solve the flicker in some other way.
1102 2008-09-07 Martin Nordholts <martinn@svn.gnome.org>
1104 * plug-ins/common/file-raw.c (load_dialog): Set the allowed max
1105 values for Width and Height to the size of the image to load
1106 instead of an arbitrary max of 4096.
1108 2008-09-07 Martin Nordholts <martinn@svn.gnome.org>
1110 Bug 551141 – "Select all" does not work
1112 * app/core/gimpchannel.c (gimp_channel_real_all): We don't want to
1113 clear the region, we want to fill it with OPAQUE_OPACITY.
1115 2008-09-06 Martin Nordholts <martinn@svn.gnome.org>
1117 * plug-ins/file-psd/psd-load.c (add_merged_image): Use the new
1118 COMP_MODE_SIZE constant instead of a magic number.
1120 2008-09-06 Martin Nordholts <martinn@svn.gnome.org>
1122 Bug 544939 – PSD Plugin crash (maybe only PSD files created by
1125 * plug-ins/file-psd/psd-load.c (add_layers): Fix integer underflow
1126 and only attempt to read channel data if there is any channel
1129 2008-09-06 Martin Nordholts <martinn@svn.gnome.org>
1131 * plug-ins/file-psd/psd-load.c (add_layers): Also consider unknown
1132 compression methods unsupported. This gives an error message
1133 instead of a crash for PSD file attached to bug #544939. The PSD
1134 loader still fails to read the correct compression method however.
1136 2008-09-06 Michael Natterer <mitch@gimp.org>
1138 * app/gegl/gimpoperationhuesaturation.c
1139 (gimp_operation_hue_saturation_process): don't use // for comments.
1141 2008-09-06 Martin Nordholts <martinn@svn.gnome.org>
1143 * app/gegl/gimpoperationhuesaturation.c
1144 (gimp_operation_hue_saturation_process): mapped_* -> mapped_*_hue.
1146 2008-09-06 Martin Nordholts <martinn@svn.gnome.org>
1148 Bug 527085 – Hue/Saturation (working improperly)
1150 * app/gegl/gimpoperationhuesaturation.c
1151 (gimp_operation_hue_saturation_process): Properly map the
1152 secondary hue. Based on patch by Michael Deal.
1154 2008-09-05 Sven Neumann <sven@gimp.org>
1156 * app/tools/gimpgegltool.c: blacklist "color-convert" and all GIMP
1159 2008-09-05 Sven Neumann <sven@gimp.org>
1161 * app/tools/gimpgegltool.c: added a blacklist of operations that
1162 should not be shown. We may want to add more operations here.
1164 2008-09-05 Michael Natterer <mitch@gimp.org>
1166 * app/plug-in/gimpplugindebug.[ch] (gimp_plug_in_debug_argv): made
1167 the "args" parameter const.
1169 * app/plug-in/gimpplugin.c (gimp_plug_in_open): made some strings
1172 2008-09-05 Michael Natterer <mitch@gimp.org>
1174 * plug-ins/file-fits/fits-io.[ch]: add some const.
1176 2008-09-05 Michael Natterer <mitch@gimp.org>
1178 Bug 545325 – Scrollbars do not disappear automatically
1180 * app/widgets/gimpcontainertreeview.c: autosize the columns after
1181 each operation that can reduce the treeview's width.
1183 2008-09-05 Michael Natterer <mitch@gimp.org>
1185 Bug 550983 – The size displayed in the status bar isn't correct
1187 * app/tools/gimprectangletool.c: use the right precision when
1188 pushing the rectangle's size as coordinates to the statusbar.
1190 2008-09-05 Michael Natterer <mitch@gimp.org>
1192 * app/widgets/Makefile.am
1193 * app/widgets/widgets-types.h
1194 * app/widgets/gimpactioneditor.[ch]: new simple widget which
1195 contains a GimpActionView plus the search entry.
1197 * app/dialogs/keyboard-shortcuts-dialog.c: use the new widget
1198 instead of implementing the search entry here.
1200 * app/widgets/gimpcontrollereditor.c: use a GimpActionEditor
1201 instead of GimpActionView so the actions become searchable here
1204 2008-09-04 Sven Neumann <sven@gimp.org>
1206 * app/tools/gimptransformtool.c (gimp_transform_tool_initialize):
1207 expose the preview when the tool is initialized. Fixes missing
1208 redraws when the tool is selected from the menus (bug #550911).
1210 (gimp_transform_tool_motion): expose the preview after
1211 recalculating the transformation matrix.
1213 2008-09-04 Sven Neumann <sven@gimp.org>
1215 * app/display/gimpdisplayshell-dnd.c: improved the new DND code.
1217 2008-09-04 Tor Lillqvist <tml@novell.com>
1219 * app/base/base-utils.h
1220 * app/base/base-utils.c: The return type of get_pid() should be
1221 gint, not GPid. This matches also the C library on Windows, in
1222 which the return type of getpid() is int, not a pointer or
1223 intptr_t. The use for GPid in the GLib API is as a "handle" to a
1224 descendant processes, returned by the g_spawn_*() functions, and
1225 passed to the g_child_watch_*() functions, not as a "process
1228 * tools/gimptool.c: Make it compile without warnings also with gcc
1229 -Wwrite-strings. Use cmd.exe instead of command.com to execute the
1230 COPY and DEL commands on Windows.
1232 2008-09-04 Sven Neumann <sven@gimp.org>
1234 * app/display/gimpdisplayshell-dnd.c
1235 (gimp_display_shell_drop_drawable) (gimp_display_shell_drop_pixbuf):
1236 handle drops on the empty image window.
1238 2008-09-04 Sven Neumann <sven@gimp.org>
1240 * app/dialogs/keyboard-shortcuts-dialog.c: tweaked spacing between
1241 entry and button and resolved a mnemnic conflict.
1243 2008-09-04 Michael Natterer <mitch@gimp.org>
1245 * app/widgets/gimpactionview.[ch]: add a column for the casefold
1246 label of the action and filter on that.
1248 * app/dialogs/keyboard-shortcuts-dialog.c: add a button to clear
1249 the filter entry. Changed the label to "Search:".
1251 2008-09-04 Michael Natterer <mitch@gimp.org>
1253 * plug-ins/gfig/gfig-dobject.h
1254 * plug-ins/gfig/gfig-style.c: some more const.
1256 2008-09-04 Michael Natterer <mitch@gimp.org>
1258 * app/widgets/gimpactionview.[ch]: add a GtkTreeModelFilter
1259 between the GtkTreeView and the actual GtkTreeStore. Add API to
1260 set the filter which is simply a string that's matched with
1261 strstr(). Quite some things improvable here...
1263 * app/dialogs/keyboard-shortcuts-dialog.c: add a "Filter" entry
1264 and set the filter on the action view.
1266 2008-09-04 Sven Neumann <sven@gimp.org>
1268 * libgimp/gimpprocview.[ch]: made the GimpParamDef parameter in
1269 gimp_proc_view_new() const.
1271 2008-09-04 Michael Natterer <mitch@gimp.org>
1273 * tools/gimptool.c: add tons of const.
1275 2008-09-04 Michael Natterer <mitch@gimp.org>
1277 * libgimpbase/gimpreloc.c (set_gerror): made the error_message
1280 2008-09-04 Michael Natterer <mitch@gimp.org>
1282 * libgimpbase/gimpbasetypes.h
1283 (struct GimpEnumDesc)
1284 (struct GimpFlagsDesc): made the value_desc and value_help members
1285 const, just as the corresponding GEnumValue and GFlagsValue
1286 members. This is technically an API change but shouldn't hurt
1287 since it totally reflects how they are used.
1289 2008-09-04 Michael Natterer <mitch@gimp.org>
1291 * plug-ins/color-rotate/color-rotate-callbacks.c
1292 * plug-ins/common/filter-pack.c
1293 * plug-ins/common/nova.c
1294 * plug-ins/common/sample-colorize.c: get rid of calls to
1295 gdk_window_get_pointer(), use the coords from the motion event
1296 and use gdk_event_request_motions().
1298 * plug-ins/color-rotate/color-rotate-callbacks.[ch]: some
1299 unrelated cleanup while i was at it.
1301 2008-09-04 Sven Neumann <sven@gimp.org>
1303 * app/composite/make-installer.py
1304 * app/composite/ns.py
1305 * app/dialogs/tips-dialog.c
1306 * app/display/gimpdisplayshell-callbacks.c
1307 * app/display/gimpdisplayshell-scroll.c
1308 * app/display/gimpdisplayshell.c
1309 * app/display/gimpnavigationeditor.c
1310 * app/paint/gimppaintcore-stroke.c
1311 * app/tools/gimpcroptool.c
1312 * app/widgets/gtkscalebutton.c
1313 * plug-ins/common/animation-play.c
1314 * plug-ins/common/displace.c
1315 * plug-ins/common/file-raw.c
1316 * plug-ins/imagemap/imap_cern_lex.c
1317 * plug-ins/imagemap/imap_cern_parse.c
1318 * plug-ins/imagemap/imap_csim_lex.c
1319 * plug-ins/imagemap/imap_csim_parse.c
1320 * plug-ins/imagemap/imap_ncsa_lex.c
1321 * plug-ins/imagemap/imap_ncsa_parse.c
1322 * plug-ins/pygimp/gimpfu.py
1323 * plug-ins/pygimp/gimpshelf.py
1324 * plug-ins/pygimp/gimpthumbmodule.c
1325 * plug-ins/pygimp/gimpui.py
1326 * plug-ins/pygimp/gimpuimodule.c
1327 * plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
1328 * plug-ins/pygimp/plug-ins/foggify.py
1329 * plug-ins/pygimp/plug-ins/palette-offset.py
1330 * plug-ins/pygimp/plug-ins/palette-sort.py
1331 * plug-ins/pygimp/plug-ins/palette-to-gradient.py
1332 * plug-ins/pygimp/plug-ins/py-slice.py
1333 * plug-ins/pygimp/plug-ins/python-console.py
1334 * plug-ins/pygimp/plug-ins/python-eval.py
1335 * plug-ins/pygimp/plug-ins/whirlpinch.py
1336 * plug-ins/pygimp/pygimp-colors.c
1337 * plug-ins/pygimp/pygimp-drawable.c
1338 * plug-ins/pygimp/pygimp-image.c
1339 * plug-ins/script-fu/re/engine.c
1340 * plug-ins/script-fu/re/regerror.c
1341 * plug-ins/script-fu/tinyscheme/dynload.c
1342 * plug-ins/twain/tw_func.c
1343 * plug-ins/twain/tw_util.c
1344 * plug-ins/twain/tw_win.c
1345 * plug-ins/twain/twain.h
1347 * tools/gimppath2svg.py: removed trailing whitespace.
1349 2008-09-03 Lars-Peter Clausen <lars@metafoo.de>
1351 * plugin-ins/pygimp/pygimp-tile.c: Removed trailing whitespace.
1353 2008-09-03 Lars-Peter Clausen <lars@metafoo.de>
1355 * plugin-ins/pygimp/pygimp.h: define PyInt_AsSsize_t as PyInt_AsLong
1356 if the python version is smaller then 2.5.0.
1357 * configure.in: Lower required python version to 2.4.
1359 2008-09-03 Michael Natterer <mitch@gimp.org>
1361 * app/pdb/gimpprocedure.[ch] (gimp_procedure_set_static_strings):
1362 made the string parameters const.
1364 2008-09-03 Michael Natterer <mitch@gimp.org>
1366 * app/widgets/gimpcontrollerkeyboard.c (struct _KeyboardEvent)
1367 * app/widgets/gimpcontrollerwheel.c (struct _WheelEvent): made the
1370 2008-09-03 Michael Natterer <mitch@gimp.org>
1372 * app/widgets/gimpnavigationview.c
1373 (gimp_navigation_view_motion_notify): remove the call to
1374 gdk_window_get_pointer() again.
1376 (gimp_navigation_view_grab_pointer): instead, grab the pointer
1377 properly with owner_events=FALSE so all events are reported with
1378 respect to the widget's window.
1380 2008-09-03 Michael Natterer <mitch@gimp.org>
1382 * app/display/gimpdisplayshell-callbacks.c
1383 * libgimpwidgets/gimpcolorselect.c
1384 * modules/color-selector-water.c
1385 * plug-ins/ifs-compose/ifs-compose.c: instead of using
1386 gdk_window_get_pointer() if GdkEventMotion::is_hint is TRUE,
1387 simply always use the coords from the event and call
1388 gdk_event_request_motions() to ask for more motion events. This is
1389 the recommended way and also works for events from devices other
1390 than the core pointer.
1392 * plug-ins/ifs-compose/ifs-compose.c (design_area_motion): some
1393 code cleanup while i was at it.
1395 2008-09-03 Michael Natterer <mitch@gimp.org>
1397 * libgimpwidgets/gimpbutton.c: massively simplified. Don't fiddle
1398 in GtkButton's internals (like setting "in_button" and forcing
1399 redraws). Instead, simply remember the modifier state in
1400 button_press() and check it in clicked(); if the state is != 0,
1401 stop the "clicked" emission and emit "extended-clicked" instead.
1403 2008-09-03 Michael Schumacher <schumaml@cvs.gnome.org>
1405 * configure.in: bumped minimum required Python version to 2.5.0,
1406 because of PyInt_AsSsize_t. Fixes bug #550576.
1408 2008-09-03 Sven Neumann <sven@gimp.org>
1410 * README.i18n: removed lots of outdated information directed at
1411 developers and only kept the most important hints for translators.
1413 2008-09-02 Sven Neumann <sven@gimp.org>
1415 * app/plug-in/gimppluginshm.c: if INVALID_FILE_HANDLE is undefined,
1416 define it as the constant that we used to use here.
1418 2008-09-02 Aurimas Juška <aurisj@svn.gnome.org>
1420 * libgimp/gimpzoompreview.c (gimp_zoom_preview_draw_buffer),
1421 (gimp_zoom_preview_set_drawable): fixed GimpZoomPreview to handle
1422 layers with offsets and display intersection of layer and selection
1423 in the preview. (bug #156905)
1425 2008-09-02 Michael Natterer <mitch@gimp.org>
1427 * app/display/gimpstatusbar.c: use gtk_widget_get_style() instead
1430 2008-09-02 Michael Natterer <mitch@gimp.org>
1432 * libgimpwidgets/gimpruler.c: use gtk_widget_get_style() instead
1433 of widget->style. Reduce indentation by one level in
1434 gimp_ruler_draw_pos().
1436 2008-09-02 Michael Natterer <mitch@gimp.org>
1438 * app/widgets/gimpselectiondata.c: no need to set strlen(sting)+1
1439 bytes on the GtkSelectionData because gtk_selection_data_set()
1440 zero-terminates all data anyway.
1442 2008-09-02 Michael Natterer <mitch@gimp.org>
1444 * app/widgets/gimpselectiondata.c (gimp_selection_data_get_name):
1445 return a const string, no need to strdup it since it's only used
1446 temporarily in this file.
1448 (gimp_selection_data_get_image)
1449 (gimp_selection_data_get_component)
1450 (gimp_selection_data_get_item)
1451 (gimp_selection_data_get_object): changed accordingly. Move
1452 variables to local scopes and simplify.
1454 2008-09-02 Sven Neumann <sven@gimp.org>
1456 * configure.in: removed ALL_LINGUAS definition.
1458 * po*/LINGUAS: introduced LINGUAS file instead. This allows to
1459 keep individual lists of languages for each textdomain and it
1460 makes it easier for translators to add a new language.
1462 2008-09-01 Sven Neumann <sven@gimp.org>
1464 * app/plug-in/gimppluginshm.c (gimp_plug_in_shm_new): use the
1465 constant INVALID_FILE_HANDLE instead of 0xFFFFFFFF. Fixes shared
1466 memory tile transport on 64bit Windows systems.
1468 2008-09-01 Sven Neumann <sven@gimp.org>
1470 * app/paint-funcs/paint-funcs.[ch]: added clear_region().
1472 * app/base/tile-manager-crop.c
1473 * app/core/gimpchannel.c
1474 * app/core/gimpimage-merge.c
1475 * app/core/gimpmaskundo.c
1476 * app/core/gimpprojection-construct.c: use it instead of calling
1477 color_region() with a zero color.
1479 2008-09-01 Sven Neumann <sven@gimp.org>
1481 * app/core/gimpprojection-construct.c (gimp_projection_initialize):
1482 also need to initialize the projection if the layer mask could
1483 introduce transparency. Fixes bug #550024.
1485 2008-08-31 Martin Nordholts <martinn@svn.gnome.org>
1487 * app/display/gimpdisplayshell-scale.c
1488 (gimp_display_shell_set_initial_scale): We need to set the scale
1489 before using it. Fixes at least gimp_display_shell_fill() and
1490 Image -> Duplicate giving weird initial scales.
1492 2008-08-30 Michael Natterer <mitch@gimp.org>
1494 * tools/test-clipboard.c (test_clipboard_paste): fix length
1495 calculation (in fact, no calculation is needed at all).
1497 2008-08-29 Sven Neumann <sven@gimp.org>
1499 * authors.xml: fixed role of Aurore Derriennic.
1501 * AUTHORS: regenerated.
1503 2008-08-29 Michael Natterer <mitch@gimp.org>
1505 * libgimpwidgets/gimppreviewarea.c (gimp_preview_area_expose):
1506 remove g_return_val_if_fail(), this is not a public function.
1508 2008-08-29 Michael Natterer <mitch@gimp.org>
1510 * app/widgets/gimplayertreeview.c
1511 * libgimpwidgets/gimpcolorscales.c
1512 * libgimpwidgets/gimppropwidgets.c
1513 * libgimpwidgets/gimpscaleentry.c
1514 * libgimpwidgets/gimpwidgets.c: use gtk_adjustment_get_value()
1515 instead of adjustment->value.
1517 2008-08-29 Lars-Peter Clausen <lars@metafoo.de>
1519 * plug-ins/pygimp/gimpui.defs
1520 * plug-ins/pygimp/gimpui.override:
1521 Readded wrapper for the new GimpRuler.
1523 2008-08-29 Sven Neumann <sven@gimp.org>
1525 * libgimpwidgets/gimpruler.c (gimp_ruler_new): fixed gtk-doc comment.
1527 2008-08-29 Michael Natterer <mitch@gimp.org>
1529 * libgimpwidgets/Makefile.am
1530 * libgimpwidgets/gimpwidgets.h
1531 * libgimpwidgets/gimphruler.[ch]
1532 * libgimpwidgets/gimpvruler.[ch]: remove separate H/VRuler classes.
1534 * libgimpwidgets/gimpruler.[ch]: add an "orientation" property
1535 instead. Add gimp_ruler_new().
1537 * libgimpwidgets/gimpwidgets.def: changed accordingly.
1539 * app/dialogs/resolution-calibrate-dialog.c
1540 * app/display/gimpdisplayshell.c
1541 * plug-ins/gfig/gfig-preview.c
1542 * plug-ins/imagemap/imap_preview.c: ditto.
1544 2008-08-29 Lars-Peter Clausen <lars@metafoo.de>
1546 * plug-ins/pygimp/gimpui.defs
1547 * plug-ins/pygimp/gimpui.override:
1548 Removed wrappers for GimpRuler, GimpHRuler, GimpVRuler, as those
1549 are going to be removed from libgimpwidgets.
1551 2008-08-29 Michael Natterer <mitch@gimp.org>
1553 * app/widgets/gimphelp.c: #include "gimpwidgets-utils.h", not
1554 "gimpwidgets-utils.c" (eek).
1556 2008-08-28 Lars-Peter Clausen <lars@metafoo.de>
1558 * plug-ins/pygimp/gimpui.defs
1559 * plug-ins/pygimp/gimpui.override:
1560 Wrapped GimpRuler, GimpHRuler and GimpVRuler widgets.
1562 2008-08-28 Lars-Peter Clausen <lars@metafoo.de>
1564 * plug-ins/pygimp/gimpui.defs
1565 * plug-ins/pygimp/gimpui.override:
1566 Merged gimpui.{defs,override} from pygimp GSoC project.
1567 Updates gimpui module to have bindings for most widgets functions.
1569 2008-08-28 Martin Nordholts <martinn@svn.gnome.org>
1571 * app/display/gimpdisplayshell-scale.c
1572 (gimp_display_shell_scale_to): Canonically calculate scale to use
1573 for zoom-focus calculations so that it also works when not in Dot
1576 2008-08-28 Martin Nordholts <martinn@svn.gnome.org>
1578 * app/core/gimpimage.[ch]: Make the size-changed-detailed signal
1579 also contain previous image size.
1581 * app/display/gimpdisplayshell-handlers.c
1582 (gimp_display_shell_size_changed_detailed_handler): Take the
1583 previous image size into account and center the image if it starts
1584 to fit (axis indepentently) in the viewport due to the resize.
1586 * app/core/gimpundo.h
1587 * app/core/gimpimage-undo.c
1588 * app/core/gimpimageundo.[ch]
1589 * app/core/gimpimage-undo-push.[ch]: Manage the
1590 previous-size-information.
1592 * app/core/gimpimage-crop.c
1593 * app/core/gimpimage-scale.c
1594 * app/core/gimpimage-rotate.c
1595 * app/core/gimpimage-resize.c: Propagate previous size to the
1596 size-changed-detailed signal emission and the undo-system.
1598 2008-08-28 Sven Neumann <sven@gimp.org>
1600 * app/config/gimpguiconfig.[ch]: allow to disable the Wilber image
1601 shown at the top of the toolbox.
1603 * app/widgets/gimptoolbox.c: honor the new gimprc option.
1605 * app/config/gimprc-blurbs.h: document the old and new toolbox
1608 2008-08-28 Michael Natterer <mitch@gimp.org>
1610 * app/tools/gimprectangletool.c: some tiny formatting fixes.
1612 2008-08-28 Sven Neumann <sven@gimp.org>
1614 * configure.in: use echo, not $echo in the Win32-specific code
1615 that sets up the Python build variables.
1617 2008-08-28 Sven Neumann <sven@gimp.org>
1619 * app/paint-funcs/scale-region.c (scale_determine_progress):
1620 (scale_region_tile): fixed shift direction.
1622 2008-08-27 Michael Natterer <mitch@gimp.org>
1624 * app/widgets/gimpuimanager.c (gimp_ui_manager_item_key_press):
1625 try the find_widget_under_pointer() hack only if the menu item's
1626 parent is really a GtkMenu (not a GtkMenuBar). Fixes crash spotted
1629 2008-08-27 Lars-Peter Clausen <lars@metafoo.de>
1631 * plug-ins/pygimp/pygimp-tile.c
1632 (pr_subscript): Removed some unnecessary g_new/g_free and improved
1634 (pr_ass_sub): Improved range checking.
1635 (pygimp_pixel_rgn_new): Clamp pixel region size to the drawable's size.
1637 2008-08-27 Sven Neumann <sven@gimp.org>
1639 * app/core/gimp-transform-region.c: sprinkled more const qualifiers.
1641 * app/paint-funcs/scale-region.c: call the progress callback less
1644 2008-08-27 Sven Neumann <sven@gimp.org>
1646 * app/tools/gimptransformtool.c: moved hiding the dialog from
1647 gimp_transform_tool_real_transform() to gimp_transform_tool_doit().
1648 Delay undrawing the preview in doit() until the transformation is
1649 done. This removes the annoying flicker at the end.
1651 2008-08-27 Sven Neumann <sven@gimp.org>
1653 * app/tools/gimptransformtool.c (gimp_transform_tool_real_transform):
1654 hide the tool dialog before starting to perform the transformation.
1656 2008-08-27 Sven Neumann <sven@gimp.org>
1658 * app/core/gimp-transform-region.c: also use PixelSurround for the
1659 linear interpolation. Sprinkled some const qualifiers.
1661 2008-08-26 Lars-Peter Clausen <lars@metafoo.de>
1663 * plug-ins/pygimp/gimpmodule.c:
1664 Don't set tp_new for PyGimpTile_Type and PyGimpPixelRgn_Type as both
1665 don't have init functions.
1667 2008-08-26 Lars-Peter Clausen <lars@metafoo.de>
1669 * plug-ins/pygimp/pygimp-tile.c
1670 (pf_init): Ensure that the python drawables gimp drawable is set.
1671 (pf_dealloc): Don't crash if the pixel fetchers init function failed.
1673 2008-08-26 Sven Neumann <sven@gimp.org>
1675 * app/base/pixel-surround.c: updated documentation.
1677 2008-08-26 Sven Neumann <sven@gimp.org>
1679 * app/paint-funcs/scale-region.c: further simplified the code path
1680 that is executed when a brush is scaled up. We don't need to scale
1681 in several steps here.
1683 2008-08-26 Sven Neumann <sven@gimp.org>
1685 * app/paint-funcs/scale-region.c: removed some unused parameters
1686 from the code that is used for brush scaling. Added sanity checks.
1688 2008-08-26 Martin Nordholts <martinn@svn.gnome.org>
1690 * libgimpwidgets/gimpwidgets.c
1692 * plug-ins/common/file-xbm.c
1693 * plug-ins/common/file-wmf.c
1694 * plug-ins/common/file-svg.c
1695 * plug-ins/common/file-gih.c
1696 * plug-ins/common/blur-motion.c
1697 * plug-ins/file-jpeg/jpeg-save.c
1698 * plug-ins/lighting/lighting-ui.c
1699 * plug-ins/map-object/map-object-ui.c
1701 * app/tools/gimpsheartool.c
1702 * app/tools/gimpaligntool.c
1703 * app/tools/gimprotatetool.c
1704 * app/tools/gimplevelstool.c
1705 * app/dialogs/resize-dialog.c
1706 * app/dialogs/offset-dialog.c
1707 * app/widgets/gimppaletteeditor.c
1708 * app/widgets/gimpcolormapeditor.c
1709 * app/dialogs/layer-options-dialog.c
1710 * app/display/gimpdisplayshell-scale-dialog.c: Pass page_size = 0
1711 to gimp_spin_button_new() to adapt to new and correct value
1714 2008-08-26 Sven Neumann <sven@gimp.org>
1716 * app/core/gimpdrawable-colorize.c (gimp_drawable_colorize):
1717 added missing call to colorize_init().
1719 2008-08-26 Martin Nordholts <martinn@svn.gnome.org>
1721 * app/display/gimpdisplayshell-scroll.[ch]
1722 (gimp_display_shell_scroll_unoverscrollify): New function.
1724 * app/display/gimpdisplayshell-autoscroll.c
1725 (gimp_display_shell_autoscroll_timeout): Make sure the autoscroll
1726 does not result in overscroll. This more or less finalizes the
1727 implementation of the enhancement request in bug #362915.
1729 2008-08-26 Martin Nordholts <martinn@svn.gnome.org>
1731 * app/display/gimpdisplayshell-scroll.c
1732 (gimp_display_shell_scroll): If no scroll should be applied we can
1735 2008-08-26 Martin Nordholts <martinn@svn.gnome.org>
1737 * app/display/gimpdisplayshell-autoscroll.c
1738 (gimp_display_shell_autoscroll_timeout): Pass the scroll amount in
1739 variables that we can modify as we please before they actually
1740 reach gimp_display_shell_scroll().
1742 2008-08-26 Michael Natterer <mitch@gimp.org>
1744 * app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui): don't
1745 hardcode the attach coords for the fixed containing the dynamics
1746 labels but use the table's real width instead. Fixes broken table
1747 layout in the airbrush options.
1749 2008-08-26 Sven Neumann <sven@gimp.org>
1751 * app/base/pixel-surround.c: attempt to fix the newly introduced
1754 2008-08-25 Sven Neumann <sven@gimp.org>
1756 * app/paint-funcs/scale-region.c: use PixelSurround to access the
1757 source pixels in a more efficient way.
1759 2008-08-25 Sven Neumann <sven@gimp.org>
1761 * app/base/tile-manager.c (read_pixel_data_1): changed to silently
1762 return in case of out-of-bounds access. There's code that relies
1765 * app/base/pixel-surround.[ch]: added SMEAR as another edge
1766 strategy for the PixelSurround helper.
1768 * core/gimp-transform-region.c: changed accordingly.
1770 2008-08-25 Sven Neumann <sven@gimp.org>
1772 * app/paint-funcs/scale-region.c: reverted last change; it was bogus.
1774 2008-08-25 Sven Neumann <sven@gimp.org>
1776 * app/paint-funcs/scale-region.c: don't scale in several steps if
1777 interpolation is GIMP_INTERPOLATION_NONE.
1779 2008-08-25 Sven Neumann <sven@gimp.org>
1781 * app/paint-funcs/scale-region.c (gaussian_decimate)
1782 (gaussian_lanczos2): implemented uses integer arithmetic.
1783 (pixel_average): reduced rounding errors.
1785 2008-08-25 Sven Neumann <sven@gimp.org>
1787 * app/core/gimpgradient.c (gimp_gradient_get_new_preview): fixed
1788 rounding errors in color conversion.
1790 2008-08-25 Sven Neumann <sven@gimp.org>
1792 * app/base/tile-private.h: provide a macro version of
1793 tile_data_pointer().
1795 * app/base/tile.c (tile_data_pointer): turned into a wrapper
1796 around the TILE_DATA_POINTER() macro.
1798 * app/base/tile-manager.c (read_pixel_data) (read_pixel_data_1)
1799 (write_pixel_data) (write_pixel_data_1): access tile struct
1800 members directly and use the new macro to access the tile data.
1802 2008-08-25 Sven Neumann <sven@gimp.org>
1804 * app/display/gimpdisplayshell-render.c (render_image_tile_fault):
1807 2008-08-25 Sven Neumann <sven@gimp.org>
1809 * app/base/tile-manager.c (read_pixel_data_1): removed redundant
1810 check that is already performed by tile_manager_get_tile_num().
1811 Warn if an out-of-bounds read is requested, instead of silently
1814 2008-08-25 Sven Neumann <sven@gimp.org>
1816 * app/dialogs/image-scale-dialog.c: hide the Scale dialog before
1817 starting to perform the scale operation.
1819 2008-08-25 Sven Neumann <sven@gimp.org>
1821 * app/paint-funcs/scale-region.c: fixed progress feedback.
1823 2008-08-25 Sven Neumann <sven@gimp.org>
1825 * app/paint-funcs/scale-region.c: improved progress bar
1826 calculations. Still buggy though.
1828 2008-08-25 Sven Neumann <sven@gimp.org>
1830 * app/paint-funcs/scale-region.c: some more cleanups.
1832 2008-08-24 Lars-Peter Clausen <lars@metafoo.de>
1834 * plug-ins/pygimp/plug-ins/python-fu-eval.py: Moved execution into
1835 global namespace. Fixes import statements inside of evaled code.
1837 2008-08-24 Lars-Peter Clausen <lars@metafoo.de>
1839 * plug-ins/pygimp/pygimp-pdb.c (pdb_getattro): Fix wrong strcmp
1842 2008-08-24 Lars-Peter Clausen <lars@metafoo.de>
1844 * plug-ins/pygimp/pygimp-drawable.c (drw_transform_rotate,
1845 drw_transform_flip_simple): Fix method format string, so the
1846 method is actual callable in a script.
1848 2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
1850 * app/tools/gimplevelstool.c (gimp_levels_tool_dialog): Set
1851 page_size for the Ouput/Input Levels lower/upper adjustments to 0
1852 to adapt to new and more correct value clamping in GTK+.
1854 2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
1856 * authors.xml: Updated for 2.6 release.
1858 * AUTHORS: Regenerated.
1860 2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
1862 * app/display/gimpnavigationeditor.c
1863 (gimp_navigation_editor_popup): Prevent the popup from being
1864 positioned far away from the click position. This is further work
1867 2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
1869 * app/display/gimpnavigationeditor.c
1870 (gimp_navigation_editor_popup): Further clarify and simplify.
1872 2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
1874 * app/display/gimpnavigationeditor.c
1875 (gimp_navigation_editor_popup): Correct the positioning
1876 calculation (while still retaining current overall behaviour).
1878 2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
1880 * app/widgets/gimpnavigationview.c
1881 (gimp_navigation_view_draw_marker): Use a define for border width.
1883 2008-08-24 Martin Nordholts <martinn@svn.gnome.org>
1885 * app/widgets/gimpnavigationview.c
1886 (gimp_navigation_view_set_marker): Don't redraw the view, only
1887 invalidate it. This causes the redraw to occur in an idle-handler
1888 intead of each time this function is called, which reduces flicker
1889 when opening new images. Stil some flicker left though...
1891 2008-08-24 Sven Neumann <sven@gimp.org>
1893 * app/paint-funcs/scale-region.c (scale) (scale_pr): use a
1894 constant to decide if we should decimate or interpolate.
1896 2008-08-24 Sven Neumann <sven@gimp.org>
1898 * app/paint-funcs/scale-region.c (scale): instead of iterating
1899 over tiles manually and using write_pixel_data_1() to write the
1900 data, use pixel_region_process() to iterate over the destination.
1902 2008-08-24 Sven Neumann <sven@gimp.org>
1904 * app/paint-funcs/scale-region.c: added more const qualifiers.
1906 2008-08-24 Sven Neumann <sven@gimp.org>
1908 * app/paint-funcs/scale-region.c (scale): sprinkled with const
1909 qualifiers. Moved calculations out of the loops.
1911 2008-08-24 Sven Neumann <sven@gimp.org>
1913 * app/paint-funcs/scale-region.c (scale): removed optimization of
1914 the case where the source and dest regions are the same size. This
1915 should not happen any longer.
1917 2008-08-24 Sven Neumann <sven@gimp.org>
1919 * app/paint-funcs/scale-region.c (determine_scale): avoid
1920 unnecessary scaling when scaling factor is 2^n.
1921 (pixel_average): replaced with optimized pixel averager from
1922 tile-pyramid.c (from the gimp-2-4 branch with some minor
1925 2008-08-23 Sven Neumann <sven@gimp.org>
1927 * app/paint-funcs/scale-region.c (scale): replaced code that
1928 copies pixels from one tile-manager to another by a call to
1931 2008-08-23 Sven Neumann <sven@gimp.org>
1933 * plug-ins/print/print.c: return with a proper PDB status type
1934 depending on the result of gtk_print_operation_run(). When run
1935 non-interactively, pass the error message with the return values.
1937 2008-08-23 Sven Neumann <sven@gimp.org>
1939 * plug-ins/script-fu/scripts/coolmetal-logo.scm: applied patch
1940 from LightningIsMyName. Changes the script to not break if called
1941 on a floating selection (bug #327681).
1943 2008-08-23 Lars-Peter Clausen <lars@metafoo.de>
1945 * app/core/gimpgradient.c (gimp_gradient_segment_range_delete):
1946 Don't dereference final_start_seg and final_end_seg if NULL.
1948 2008-08-23 Lars-Peter Clausen <lars@metafoo.de>
1950 Fix indentation in previous patch.
1952 * tools/pdbgen/pdb/gradient.pdb
1953 * app/pdb/gradient-cmds.c
1955 2008-08-23 Lars-Peter Clausen <lars@metafoo.de>
1957 * tools/pdbgen/pdb/gradient.pdb
1958 (gimp_gradient_segment_range_blend_(colors|opacity)): Don't crash
1959 if the index of the last segment is out of range.
1961 * app/pdb/gradient-cmds.c: regenerated.
1963 2008-08-23 Sven Neumann <sven@gimp.org>
1965 * plug-ins/twain/Makefile.am: dropped use of AM_LDFLAGS completely
1966 and use target-specific LDFLAGS instead.
1968 2008-08-23 Sven Neumann <sven@gimp.org>
1970 * app/core/gimpimagemap.c (gimp_image_map_init): only create and
1971 use a timer if GIMP_UNSTABLE is defined.
1973 2008-08-22 Sven Neumann <sven@gimp.org>
1975 * app/widgets/gimpnavigationview.c
1976 * libgimpwidgets/gimpscrolledpreview.c: hardcode the colors to
1977 black and white. Using theme colors doesn't make sense here.
1979 2008-08-22 Sven Neumann <sven@gimp.org>
1981 * libgimpwidgets/gimpscrolledpreview.[ch]: draw the navigation
1982 popup using Cairo, just as we do it in the core now.
1984 2008-08-22 Sven Neumann <sven@gimp.org>
1986 * app/widgets/gimpnavigationview.c: indicate the viewport by
1987 shading the outside region using Cairo.
1989 2008-08-22 Martin Nordholts <martinn@svn.gnome.org>
1991 * app/display/gimpnavigationeditor.c: Align static function
1994 2008-08-22 Martin Nordholts <martinn@svn.gnome.org>
1996 * app/widgets/gimpnavigationview.c
1997 (gimp_navigation_view_grab_pointer): Don't confine the cursor to
1998 the navigation view window because that limitation only feels in
1999 the way with overscroll.
2001 2008-08-22 Michael Natterer <mitch@gimp.org>
2003 * app/display/gimpcanvas.h: #define GIMP_CANVAS_EVENT_MASK.
2005 * app/display/gimpcanvas.c (gimp_canvas_realize): use it here.
2007 2008-08-22 Michael Natterer <mitch@gimp.org>
2009 * app/display/gimpcanvas.[ch]: add gimp_canvas_scroll() which
2010 scrolls the canvas and makes the result visible immediately.
2012 * app/display/gimpdisplayshell-scroll.c
2013 (gimp_display_shell_scroll): use the new function.
2015 2008-08-22 Sven Neumann <sven@gimp.org>
2017 * app/widgets/gimptoolbox.c: removed the "Use GEGL" check-box
2020 * app/config/gimpcoreconfig.c: changed the default for "use-gegl"
2021 to FALSE (in preparation of the 2.6 release).
2023 * app/actions/debug-commands.[ch]
2024 * app/actions/debug-actions.c
2025 * menus/image-menu.xml.in: added a "Use GEGL" check-box to the
2026 Debug menu. Temporary solution until a final decision is made.
2028 2008-08-22 Sven Neumann <sven@gimp.org>
2030 * app/widgets/gimpaction.c
2031 * app/widgets/gimpdockable.c
2032 * app/widgets/gimpradioaction.c
2033 * app/widgets/gimpstringaction.c
2034 * app/widgets/gimptoggleaction.c: added basic support for icon
2035 names for actions and dockables. Uses the stock-id as icon name
2036 if the icon theme provides an icon under this name.
2038 * app/dialogs/dialogs.c
2039 * app/actions/documents-actions.c
2040 * app/actions/dialogs-actions.c: use the "document-open-recent"
2041 icon for the document history.
2043 2008-08-22 Martin Nordholts <martinn@svn.gnome.org>
2045 * app/widgets/gimpnavigationview.c: Adapted to play nicely with
2046 the overscroll feature. Basically remove limitations of the
2047 marker, but also draw the marker frame with an inner and outer
2048 border so it is possible to see on what side the viewport is when
2049 zoomed out and overscrolled to the max. This is further work on
2052 2008-08-21 Michael Natterer <mitch@gimp.org>
2054 * app/display/gimpcanvas.[ch]: turn into a GtkContainer subclass
2055 mainly to reduce the diff to a local hack I'm at. Also swallow
2056 some code that used to be called on the canvas widget externally.
2058 * app/display/gimpdisplayshell.c (gimp_display_shell_new): remove
2061 * app/display/gimpdisplayshell-callbacks.h: remove canvas event
2064 2008-08-21 Sven Neumann <sven@gimp.org>
2066 * configure.in: bumped version to 2.5.4.
2068 2008-08-21 Sven Neumann <sven@gimp.org>
2070 * Made 2.5.3 development release.
2072 2008-08-21 Sven Neumann <sven@gimp.org>
2074 * app/plug-in/gimppluginprocedure.[ch]
2075 * app/plug-in/gimptemporaryprocedure.c: moved error handling for
2076 asynchronous procedure calls to a central place. Use the plug-in
2077 label instead of the procedure name for the error message.
2079 2008-08-21 Sven Neumann <sven@gimp.org>
2081 * plug-ins/script-fu/script-fu-scripts.c
2082 * plug-ins/script-fu/script-fu-interface.[ch]: changed to actually
2083 return a meaningful return status when a script-fu procedure is run.
2085 2008-08-21 Sven Neumann <sven@gimp.org>
2087 * app/plug-in/gimppluginprocedure.c
2088 * app/plug-in/gimptemporaryprocedure.c: don't just free the return
2089 values when running procedures asynchronously. Instead examine
2090 them and display the error message if there's one.
2092 * app/plug-in/gimppluginmanager-call.c
2093 (gimp_plug_in_manager_call_run_temp): return NULL if
2094 procedure->plug_in is not set.
2096 * app/plug-in/gimpplugin-message.c: comment.
2098 2008-08-21 Michael Natterer <mitch@gimp.org>
2100 * configure.in: removed indentation from blocks after
2101 AC_ARG_WITH(), it's confusing otherwise because they appeared to
2102 be part of the macro. Added some newlines. Minor cleanups.
2104 2008-08-21 Sven Neumann <sven@gimp.org>
2106 * plug-ins/script-fu/Makefile.am
2107 * plug-ins/script-fu/script-fu-eval.[ch]: new files split out of
2108 script-fu-console.c[ch].
2110 * plug-ins/script-fu/script-fu-text-console.h: fixed comment.
2112 * plug-ins/script-fu/script-fu-console.[ch]: removed script-fu-eval
2115 * plug-ins/script-fu/script-fu.c: changed accordingly.
2117 2008-08-21 Sven Neumann <sven@gimp.org>
2119 * plug-ins/script-fu/script-fu.c (script_fu_run): formatting.
2121 2008-08-21 Sven Neumann <sven@gimp.org>
2123 * po-*/POTFILES.skip: added desktop/gimp.desktop.in. Seems to work
2124 around what appears to be a bug in intltool-update (version 0.40.1).
2126 2008-08-21 Sven Neumann <sven@gimp.org>
2128 * Makefile.am (EXTRA_DIST): removed 'mkinstalldirs' which is not
2129 any longer required due to the changes in the po directories.
2131 2008-08-21 Michael Natterer <mitch@gimp.org>
2133 * app/tools/gimpforegroundselecttool.c
2134 (gimp_foreground_select_tool_init): set precision back to
2135 PIXEL_CENTER because it's set to SUBPIXEL by the parent class.
2137 2008-08-20 Martin Nordholts <martinn@svn.gnome.org>
2139 * app/display/gimpdisplayshell-scroll.c: Use a constant for the
2140 minimum step amount for scrollbars.
2142 2008-08-20 Michael Natterer <mitch@gimp.org>
2144 * app/widgets/gimpuimanager.c: reindent prototypes.
2146 Steal find_widget_under_pointer() from gtktooltip.c
2148 (gimp_ui_manager_item_key_press): use the function to invoke help
2149 for the widget under the pointer if there is no selected menu
2150 item. Makes F1 work on insensitive menu items.
2152 2008-08-20 Sven Neumann <sven@gimp.org>
2154 * plug-ins/print/print.c (page_setup): use the new API to set the
2155 PDB error handler in order to suppress a warning if the temporary
2156 procedure does not exist (see bug #513291).
2158 2008-08-20 Michael Natterer <mitch@gimp.org>
2160 * app/text/gimptextlayout-render.c (gimp_text_layout_render): add
2161 PANGO_ALIGN_LEFT to the switch to fix warning about unhandled value.
2163 2008-08-20 Michael Natterer <mitch@gimp.org>
2165 Bug 496772 – Position shown in the statusbar needs more
2166 precision (for some tools)
2168 * app/display/display-enums.[ch]: add enum GimpCursorPrecision
2169 which can be one of { PIXEL_CENTER, PIXEL_BORDER, SUBPIXEL }.
2171 * app/display/gimpdisplayshell-cursor.[ch]: add "precision"
2172 parameter to gimp_display_shell_update_cursor() and pass it
2173 on to the statusbar.
2175 * app/display/gimpstatusbar.[ch]: add "precision" parameters to
2176 the cursor coordinates APIs, offset the passed coords accordingly
2177 and display them with one decimal point if SUBPIXEL is requested
2178 and the display's unit is PIXEL. Keep a second floating-point
2179 format string around at any time.
2181 * app/tools/gimptoolcontrol.[ch]: add a "precision" member and API
2182 so tools can configure the precision they need. Defalt to
2183 PIXEL_CENTER since that's right for almost all tools.
2185 * app/display/gimpdisplayshell-callbacks.c: pass the tool's
2186 precision to gimp_display_shell_update_cursor().
2188 * app/tools/gimptool.[ch]: add "precision" parameter to
2189 gimp_tool_push_status_coords() and pass it on to the statusbar.
2191 * app/tools/gimpaligntool.c
2192 * app/tools/gimpblendtool.c
2193 * app/tools/gimpcolortool.c
2194 * app/tools/gimpcroptool.c
2195 * app/tools/gimpeditselectiontool.c
2196 * app/tools/gimpfliptool.c
2197 * app/tools/gimpfreeselecttool.c
2198 * app/tools/gimpmovetool.c
2199 * app/tools/gimppainttool.c
2200 * app/tools/gimpperspectiveclonetool.c
2201 * app/tools/gimprectangleselecttool.c
2202 * app/tools/gimprectangletool.c
2203 * app/tools/gimptransformtool.c
2204 * app/tools/gimpvectortool.c: set precision in init() where
2205 needed. Adjust the precision in the fly when needed, e.g. while
2206 moving guides or when toggling hard-edge on paint tools. Also pass
2207 an appropriate precision to gimp_tool_push_status_coords(), which
2208 is not always the tool's precision as used for cursor display.
2210 2008-08-20 Sven Neumann <sven@gimp.org>
2212 * plug-ins/script-fu/script-fu-console.c (script_fu_eval_run):
2213 pass error message with the return values instead of calling
2216 2008-08-20 Michael Natterer <mitch@gimp.org>
2218 * plug-ins/common/align-layers.c
2219 * plug-ins/common/blur-gauss.c
2220 * plug-ins/common/cartoon.c
2221 * plug-ins/common/edge-dog.c
2222 * plug-ins/common/edge-neon.c
2223 * plug-ins/common/edge-sobel.c
2224 * plug-ins/common/photocopy.c
2225 * plug-ins/common/pixelize.c
2226 * plug-ins/common/softglow.c
2227 * plug-ins/gradient-flare/gradient-flare.c: pass error messages
2228 with the return values instead of calling g_message().
2230 2008-08-20 Michael Natterer <mitch@gimp.org>
2232 * plug-ins/common/file-gif-load.c: tons of cleanup: proper
2233 prototypes, s/unsigned foo/gufoo/, indentation, ...
2235 2008-08-20 Sven Neumann <sven@gimp.org>
2237 * plug-ins/common/file-cel.c
2238 * plug-ins/common/file-html-table.c
2239 * plug-ins/common/file-ps.c
2240 * plug-ins/common/file-sunras.c
2241 * plug-ins/common/file-tiff-load.c: pass error messages with the
2242 return values instead of calling g_message().
2244 2008-08-20 Sven Neumann <sven@gimp.org>
2246 * plug-ins/file-fits/fits.c
2247 * plug-ins/file-fli/fli-gimp.c: pass error messages with the
2248 return values instead of calling g_message().
2250 2008-08-20 Sven Neumann <sven@gimp.org>
2252 * plug-ins/file-xjt/xjt.c: pass error messages with the return
2253 values instead of calling g_message().
2255 2008-08-20 Sven Neumann <sven@gimp.org>
2257 * plug-ins/file-sgi/sgi.c
2258 * plug-ins/file-sgi/sgi-lib.[ch]: pass error messages with the
2259 return values instead of calling g_message().
2261 2008-08-20 Michael Natterer <mitch@gimp.org>
2263 * app/paint/gimpperspectiveclone.[ch]: make
2264 gimp_perspective_clone_get_matrix() static, add
2265 gimp_perspective_clone_set_transform().
2267 * app/tools/gimpperspectiveclonetool.c
2268 (gimp_perspective_clone_tool_mode_notify): use above set_transform()
2269 API instead of poking into the object.
2271 (gimp_perspective_clone_tool_constructor): call
2272 gimp_perspective_clone_tool_mode_notify() to set up things instead
2273 of duplicating code.
2275 2008-08-20 Michael Natterer <mitch@gimp.org>
2277 * app/tools/gimpperspectiveclonetool.[ch]: formatting.
2279 2008-08-20 Sven Neumann <sven@gimp.org>
2281 * plug-ins/file-psd/psd.c
2282 * plug-ins/file-psd/psd-load.[ch]
2283 * plug-ins/file-psd/psd-save.c
2284 * plug-ins/file-psd/psd-thumb-load.[ch]: pass error messages with
2285 the return values instead of calling g_message().
2287 2008-08-20 Sven Neumann <sven@gimp.org>
2289 * plug-ins/file-jpeg/jpeg.[ch]
2290 * plug-ins/file-jpeg/jpeg-load.[ch]
2291 * plug-ins/file-jpeg/jpeg-save.[ch]: pass error messages with the
2292 return values instead of calling g_message().
2294 2008-08-20 Sven Neumann <sven@gimp.org>
2296 * app/file/file-save.c (file_save): flush the image when done to
2297 cause the actions to be updated (in particular File->Revert).
2299 2008-08-20 Sven Neumann <sven@gimp.org>
2301 * plug-ins/file-ico/ico-save.c: create GHashTable with destroy
2304 2008-08-20 Sven Neumann <sven@gimp.org>
2306 * plug-ins/file-faxg3/faxg3.c
2307 * plug-ins/file-ico/ico.c
2308 * plug-ins/file-ico/ico-load.[ch]
2309 * plug-ins/file-ico/ico-save.[ch]: pass error messages with the
2310 return values instead of calling g_message().
2312 2008-08-19 Sven Neumann <sven@gimp.org>
2314 * app/core/gimpimage-guides.c (gimp_image_find_guide): find guides
2315 outside the image as well. This complements the change that we
2316 also draw guides outside the image now.
2318 2008-08-19 Michael Natterer <mitch@gimp.org>
2320 * app/tools/gimpgegltool.c (gimp_gegl_tool_dialog): formatting.
2322 2008-08-19 Michael Natterer <mitch@gimp.org>
2324 * app/plug-in/gimpplugin.[ch] (struct GimpPlugIn)
2325 * app/plug-in/gimppluginprocframe.[ch] (struct GimpPlugInProcFrame):
2326 move the error_handler from the plug-in to the proc-frame.
2328 * app/plug-in/gimpplugin.c
2329 * app/plug-in/gimpplugin-message.c: changed accordingly.
2331 2008-08-19 Sven Neumann <sven@gimp.org>
2333 * libgimpbase/gimpbase.def
2334 * libgimp/gimp.def: added new symbols.
2336 2008-08-19 Sven Neumann <sven@gimp.org>
2338 * plug-ins/file-bmp/bmp.[ch]
2339 * plug-ins/file-bmp/bmp-read.c
2340 * plug-ins/file-bmp/bmp-write.c: for most errors, pass the error
2341 message with the return values instead of calling g_message().
2343 2008-08-19 Sven Neumann <sven@gimp.org>
2345 Complements the fix for bug #344818:
2347 * libgimpbase/gimpbaseenums.[ch]: added new enum GimpPDBErrorHandler.
2349 * tools/pdbgen/enums.pl: regenerated.
2351 * app/plug-in/gimpplugin.[ch]: added error_handler to GimpPlugIn.
2353 * app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_proc_run):
2354 only display an error message for a failed procedure call if the
2355 plug-in's error-handler is set to GIMP_PDB_ERROR_HANDLER_INTERNAL.
2357 * tools/pdbgen/pdb/plug_in.pdb: added PDB getter and setter for
2358 the plug-in's error-handler.
2360 * app/pdb/plug-in-cmds.c
2361 * app/pdb/internal-procs.c
2362 * libgimp/gimpenums.c.tail
2363 * libgimp/gimpplugin_pdb.[ch]: regenerated.
2365 * plug-ins/common/file-compressor.c
2366 * plug-ins/file-uri/uri.c: set the error-handler to
2367 GIMP_PDB_ERROR_HANDLER_PLUGIN as these plug-ins are forwarding the
2368 error with their return values.
2370 2008-08-18 Sven Neumann <sven@gimp.org>
2372 * plug-ins/file-uri/uri.c: pass error messages with the return
2373 values instead of calling g_message().
2375 * plug-ins/file-uri/uri-backend-libcurl.c
2376 * plug-ins/file-uri/uri-backend-gnomevfs.c
2377 * plug-ins/file-uri/uri-backend-gvfs.c
2378 * plug-ins/file-uri/uri-backend-wget.c: set errors in the
2379 G_FILE_ERROR domain and other minor cleanups.
2381 2008-08-18 Sven Neumann <sven@gimp.org>
2383 * plug-ins/common/file-compressor.c: open the temporary file
2384 before forking. This allows us to return an error message if the
2385 file can't be opened. Also changed the code to not use g_message()
2386 from the child process.
2388 2008-08-18 Sven Neumann <sven@gimp.org>
2390 * plug-ins/common/file-compressor.c: pass some error message with
2391 the return values instead of calling g_message().
2393 2008-08-18 Sven Neumann <sven@gimp.org>
2395 * plug-ins/common/file-gbr.c
2396 * plug-ins/common/file-gih.c
2397 * plug-ins/common/file-pat.c
2398 * plug-ins/common/file-pix.c
2399 * plug-ins/common/file-sunras.c: for the most common errors, pass
2400 the error message with the return values instead of calling
2403 2008-08-18 Michael Natterer <mitch@gimp.org>
2405 * plug-ins/common/compressor.c: renamed...
2406 * plug-ins/common/file-compressor.c: ...to this.
2408 * plug-ins/common/plugin-defs.pl: changed accordingly.
2410 * plug-ins/common/Makefile.am: regenerated.
2412 2008-08-18 Sven Neumann <sven@gimp.org>
2414 * plug-ins/common/file-xbm.c
2415 * plug-ins/common/file-xpm.c
2416 * plug-ins/common/file-xwd.c: for the most common errors, pass the
2417 error message with the return values instead of calling g_message().
2419 2008-08-18 Sven Neumann <sven@gimp.org>
2421 * plug-ins/common/file-wmf.c: pass error message with the return
2422 values instead of calling g_message().
2424 2008-08-18 Sven Neumann <sven@gimp.org>
2426 * plug-ins/common/file-raw.c
2427 * plug-ins/common/file-tga.c
2428 * plug-ins/common/file-tiff-load.c
2429 * plug-ins/common/file-tiff-save.c: pass error messages with the
2430 return values instead of calling g_message().
2432 2008-08-18 Sven Neumann <sven@gimp.org>
2434 * plug-ins/common/file-pnm.c
2435 * plug-ins/common/file-ps.c
2436 * plug-ins/common/file-psp.c: for the most common errors, pass the
2437 error message with the return values instead of calling g_message().
2439 2008-08-18 Sven Neumann <sven@gimp.org>
2441 * plug-ins/common/file-mng.c
2442 * plug-ins/common/file-pcx.c: for the most common errors, pass the
2443 error message with the return values instead of calling g_message().
2445 * plug-ins/common/file-gif-save.c
2446 * plug-ins/common/file-pdf.c
2447 * plug-ins/common/file-png.c: minor cleanup.
2449 2008-08-17 Sven Neumann <sven@gimp.org>
2451 * plug-ins/common/file-pdf.c: in case of an error, pass the error
2452 message with the return values.
2454 2008-08-17 Sven Neumann <sven@gimp.org>
2456 * plug-ins/common/file-gif-load.c
2457 * plug-ins/common/file-gif-save.c: for the most common errors,
2458 pass the error message with the return values instead of calling
2461 * plug-ins/common/file-png.c: unmarked a string for translation.
2462 This error condition can't possibly happen.
2464 * plug-ins/common/file-svg.c: also return an error message when
2465 the thumbnail can't be loaded.
2467 2008-08-17 Sven Neumann <sven@gimp.org>
2469 * plug-ins/common/file-dicom.c: for the most common errors, pass
2470 the error message with the return values instead of calling
2473 2008-08-17 Sven Neumann <sven@gimp.org>
2475 * plug-ins/common/file-csource.c: in case of an error, pass the
2476 error message with the return values.
2478 2008-08-17 Sven Neumann <sven@gimp.org>
2480 * plug-ins/pygimp/plug-ins/whirlpinch.py: don't hardcode the tile
2481 size, use gimp.tile_width() instead.
2483 2008-08-17 Sven Neumann <sven@gimp.org>
2485 * plug-ins/common/file-desktop-link.c
2486 * plug-ins/common/file-svg.c: changed to pass error messages with
2487 the return values instead of calling g_message().
2489 2008-08-17 Sven Neumann <sven@gimp.org>
2491 * plug-ins/script-fu/scripts/frosty-logo.scm
2492 (apply-frosty-logo-effect): unmarked string for translation.
2493 Script-Fu doesn't support i18n outside the register call.
2495 2008-08-17 Sven Neumann <sven@gimp.org>
2497 * plug-ins/script-fu/scripts/glowing-logo.scm
2498 * plug-ins/script-fu/scripts/neon-logo.scm: changed the "Alpha to
2499 Logo" parts of these scripts so that the user can specify the
2500 effect size directly instead of as some multiple of the size.
2502 2008-08-17 Sven Neumann <sven@gimp.org>
2504 * plug-ins/script-fu/scripts/starscape-logo.scm: dropped the
2505 "Alpha to Logo" part of the "Starscape logo script. It had a
2506 similar problem as the Starburst script (see bug #486779).
2508 2008-08-17 Sven Neumann <sven@gimp.org>
2510 * plug-ins/script-fu/scripts/Makefile.am
2511 * plug-ins/script-fu/scripts/starburst-logo.scm: dropped the
2512 "Starburst" logo script. Fixes bug #486779.
2514 2008-08-17 Sven Neumann <sven@gimp.org>
2516 Next step towards fixing bug #344818:
2518 * app/pdb/gimpprocedure.c (gimp_procedure_execute): if the error
2519 has not already been set, construct one from the error message
2520 that is optionally passed with the return values.
2522 * plug-ins/common/file-png.c: changed to pass an error message
2523 with the return values instead of calling g_message() in case of
2526 2008-08-17 Sven Neumann <sven@gimp.org>
2528 * app/plug-in/gimppluginprocframe.[ch]: renamed
2529 gimp_plug_in_proc_frame_get_return_vals() to
2530 gimp_plug_in_proc_frame_get_return_values().
2532 * app/plug-in/gimppluginmanager-call.c: changed accordingly.
2534 2008-08-17 Sven Neumann <sven@gimp.org>
2536 * plug-ins/file-psd/psd-util.c (psd_set_error): changed to use
2539 2008-08-17 Sven Neumann <sven@gimp.org>
2541 * app/plug-in/gimpplugin-progress.c
2542 (gimp_plug_in_progress_cancel_callback): introduced a utility
2543 function to reduce code duplication.
2545 * app/pdb/gimppdb.c (gimp_pdb_execute_procedure_by_name): changed
2546 to use g_error_new_literal().
2548 2008-08-17 Martin Nordholts <martinn@svn.gnome.org>
2550 * app/display/gimpdisplayshell-callbacks.c
2551 (gimp_display_shell_canvas_size_allocate): Simplify.
2553 2008-08-17 Martin Nordholts <martinn@svn.gnome.org>
2555 * app/display/gimpdisplayshell-callbacks.c
2556 (gimp_display_shell_canvas_size_allocate): If the image ends up
2557 below or to the right of the viewport top and left edges, and the
2558 image is not centered on a given axis, align the top left image
2559 edge with the top left viewport edge. This is basically the best
2560 we can do without an API for start and end of a window resize
2561 cycle using the mouse.
2563 2008-08-17 Martin Nordholts <martinn@svn.gnome.org>
2565 * app/display/gimpdisplayshell-callbacks.c
2566 (gimp_display_shell_canvas_size_allocate): Don't apply the
2567 centering logic on zoom_on_resize.
2569 2008-08-17 Martin Nordholts <martinn@svn.gnome.org>
2571 * app/display/gimpdisplayshell.[ch]
2572 (gimp_display_shell_configure_event): When applying the centering
2573 logic we need to know the size of the new canvas, so instead of
2574 having it here, only make sure that this logic is run on the next
2575 canvas size-allocate.
2577 * app/display/gimpdisplayshell-callbacks.c
2578 (gimp_display_shell_canvas_size_allocate): If the size-allocate
2579 comes from a top level window resize, apply centering logic.
2581 2008-08-16 Martin Nordholts <martinn@svn.gnome.org>
2583 * app/display/gimpdisplayshell-scroll.c
2584 (gimp_display_shell_scroll_center_image_on_next_size_allocate):
2585 Oops, correct parameter order.
2587 2008-08-16 Martin Nordholts <martinn@svn.gnome.org>
2589 * app/display/gimpdisplayshell-scroll.[ch]
2590 (gimp_display_shell_scroll_center_image_on_next_size_allocate):
2591 Support axis independence.
2593 * app/display/gimpdisplayshell.c: Adapt.
2595 2008-08-16 Martin Nordholts <martinn@svn.gnome.org>
2597 * app/display/gimpdisplayshell-scroll.c
2598 (gimp_display_shell_scroll_center_image_on_next_size_allocate):
2599 Explain that this function needs to be used with care since it is
2602 * app/display/gimpdisplayshell.c
2603 (gimp_display_shell_new)
2604 (gimp_display_shell_fill): Clarify that it is safe to use the
2607 (gimp_display_shell_configure_event): Make proper comparisions (<=
2608 not =) and explain that usage of the risky function is safe.
2610 (gimp_display_shell_shrink_wrap): Always call
2611 gimp_display_shell_scroll_center_image() and let size-requests be
2612 handled by GimpDisplayShell::configure_event().
2614 * app/actions/view-commands.c (view_shrink_wrap_cmd_callback): No
2615 need to center anything explicitly any longer.
2617 2008-08-16 Sven Neumann <sven@gimp.org>
2619 * libgimp/gimp.c (gimp_get_pdb_error): added translator comments.
2621 2008-08-16 Sven Neumann <sven@gimp.org>
2623 * plug-ins/pygimp/pygimp-pdb.c (pf_call): also use
2624 gimp_get_pdb_error() here. Easier and safer than looking at the
2625 return values to get the error message.
2627 2008-08-16 Sven Neumann <sven@gimp.org>
2629 Next step towards fixing bug #344818:
2631 * libgimp/gimp.[ch]: keep the last error status and error message
2632 in libgimp. Added new functon gimp_get_pdb_error() that allows to
2635 * libgimp/gimp.def: updated.
2637 * plug-ins/pygimp/gimpmodule.c (pygimp_vectors_import_from_file)
2638 (pygimp_vectors_import_from_string): use the new function to get
2639 a more useful error message.
2641 2008-08-16 Sven Neumann <sven@gimp.org>
2643 * app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_proc_run):
2644 removed the term 'PDB' from the user-visible error messages.
2646 2008-08-16 Sven Neumann <sven@gimp.org>
2648 * tools/pdbgen/pdb/vectors.pdb: pass error parameter to
2649 gimp_vectors_import functions.
2651 * app/pdb/vectors-cmds.c: regenerated.
2653 2008-08-16 Martin Nordholts <martinn@svn.gnome.org>
2655 * app/display/gimpdisplayshell-callbacks.c
2656 (gimp_display_shell_canvas_size_allocate): Remove the centering
2657 logic because we do not always want to run it when the canvas size
2658 changes. For example, the canvas size changes if rulers are
2661 * app/display/gimpdisplayshell.c
2662 (gimp_display_shell_configure_event): Implement
2663 GtkWidget::configure_event() for the display shell and put the
2664 image centering logic here instead, since this class function is
2665 run when the top level window size changes. Run it only if the
2666 size (not position) of the window changes.
2668 2008-08-16 Michael Natterer <mitch@gimp.org>
2670 * app/tools/gimpdrawtool.c: remove #include "core/gimpguide.h"
2672 2008-08-16 Sven Neumann <sven@gimp.org>
2674 * app/pdb/gimppdb.c (gimp_pdb_execute_procedure_by_name): changed
2675 error message to be similar to the message thrown from
2676 gimp_procedure_validate_args().
2678 2008-08-16 Sven Neumann <sven@gimp.org>
2680 If a procedure call fails, pass a string describing the error as
2681 the second return value. First step towards fixing bug #344818.
2683 * app/pdb/gimpprocedure.[ch] (gimp_procedure_get_return_values):
2684 added a GError parameter. If it is set, pass the error message to
2687 * app/pdb/gimppdberror.h: added some more error codes.
2690 * app/xcf/xcf.c: pass errors to gimp_procedure_get_return_values().
2692 * app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_proc_run):
2693 show a different error message for execution vs. calling errors.
2695 * app/plug-in/gimpplugin-progress.c
2696 (gimp_plug_in_progress_cancel_callback): pass the error
2697 GIMP_PDB_CANCELLED to gimp_procedure_get_return_values().
2699 * app/plug-in/gimppluginmanager-call.[ch]
2700 (gimp_plug_in_manager_call_run): removed the 'destroy_return_vals'
2703 * app/plug-in/gimppluginprocedure.c: destroy the return values here.
2705 * app/plug-in/gimppluginprocframe.c: pass an error to
2706 gimp_procedure_get_return_values().
2708 * tools/pdbgen/app.pl
2709 * tools/pdbgen/pdb/fileops.pdb: generate code that passes the
2710 error to gimp_procedure_get_return_values().
2712 * app/pdb/*-cmds.c: regenerated.
2714 * plug-ins/pygimp/pygimp-pdb.c: extract the error message from the
2715 return values and pass it to the exception that is thrown.
2717 2008-08-16 Martin Nordholts <martinn@svn.gnome.org>
2719 * app/actions/view-commands.c (view_shrink_wrap_cmd_callback):
2720 Also handle the case when only the offset is wrong. Not pretty but
2723 2008-08-16 Sven Neumann <sven@gimp.org>
2725 * app/display/Makefile.am
2726 * app/display/gimpdisplayshell-scale.[ch]
2727 * app/display/gimpdisplayshell-scale-dialog.[ch]: split scale
2728 dialog into a new file.
2730 * app/actions/view-commands.c: changed accordingly.
2732 2008-08-16 Martin Nordholts <martinn@svn.gnome.org>
2734 * app/display/gimpdisplayshell-scale.c
2735 (gimp_display_shell_scale_viewport_coord_almost_centered): New
2738 (gimp_display_shell_scale): Center the image on zoom also if it is
2739 almost centered. This makes the image centered all the way when
2740 zooming out far away.
2742 2008-08-16 Sven Neumann <sven@gimp.org>
2744 * app/tools/gimpfreeselecttool.c
2745 * app/tools/gimprectangletool.c: formatting.
2747 2008-08-16 Martin Nordholts <martinn@svn.gnome.org>
2749 * app/display/gimpdisplayshell-scale.c
2750 (gimp_display_shell_scale_to): Reimplement to increase
2753 2008-08-16 Martin Nordholts <martinn@svn.gnome.org>
2755 * app/display/gimpdisplayshell-scale.c
2756 (gimp_display_shell_scale_to): Nice-ify.
2758 2008-08-16 Martin Nordholts <martinn@svn.gnome.org>
2760 * app/display/gimpdisplayshell-scale.[ch]
2761 (gimp_display_shell_scale_get_zoom_focus)
2762 (gimp_display_shell_scale_image_is_within_viewport): Support axis
2765 * app/display/gimpdisplayshell.c
2766 (gimp_display_shell_zoom_button_callback): Adapt to new
2767 gimp_display_shell_scale_image_is_within_viewport().
2769 2008-08-16 Martin Nordholts <martinn@svn.gnome.org>
2771 * app/display/gimpdisplayshell-scale.c
2772 (gimp_display_shell_scale_image_is_within_viewport): Make proper
2775 2008-08-16 Daniel Eddeland <danedde@svn.gnome.org>
2777 * app/text/gimptext.c: corrected gimp_text_set_property for
2778 "box-unit" , fixing bug #547126
2780 2008-08-15 Sven Neumann <sven@gimp.org>
2782 * plug-ins/common/pixelize.c: formatting.
2784 2008-08-15 Martin Nordholts <martinn@svn.gnome.org>
2786 * app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
2787 More elegantly deal with the 'Resize window on zoom'-case.
2789 2008-08-15 Daniel Eddeland <danedde@svn.gnome.org>
2791 * app/text/gimptextlayout-render.c: make text align correctly if
2794 2008-08-15 Michael Natterer <mitch@gimp.org>
2796 * app/paint/gimppaintcore-stroke.c
2797 (gimp_paint_core_stroke_boundary)
2798 (gimp_paint_core_stroke_vectors): when stroking multiple segments,
2799 set paint_core->cur_coords to the start of each segment. It
2800 normally gets assigned by gimp_paint_core_start(), but that's not
2801 called for subsequent segments. Fixes stroking multiple segments
2802 with the ink tool. The other tools were not affected since they
2803 plot individual brushes rather than a shape from the last to the
2804 current coordinates. Spotted by Alexia.
2806 2008-08-15 Sven Neumann <sven@gimp.org>
2808 * plug-ins/common/mosaic.c: formatting.
2810 2008-08-15 Sven Neumann <sven@gimp.org>
2812 * plug-ins/common/mosaic.c (polygon_add_point): converted a
2813 g_print() call to g_warning() and unmarked the string for
2816 2008-08-15 Sven Neumann <sven@gimp.org>
2818 * plug-ins/file-ico/ico-save.c: applied patch from Aurimas Juška
2819 that fixes an endianness issue (bug #529629).
2821 2008-08-15 Sven Neumann <sven@gimp.org>
2823 * app/display/gimpstatusbar.[ch]: added some logic to avoid that
2824 an info message replaces a warning. Allow info messages to
2825 replace other info messages.
2827 * app/display/gimpdisplay-handlers.c: changed accordingly.
2829 2008-08-15 Sven Neumann <sven@gimp.org>
2831 * app/actions/file-commands.c (file_save_cmd_callback): save new
2832 images, even if they are not marked dirty.
2834 2008-08-14 Sven Neumann <sven@gimp.org>
2836 * app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_proc_run):
2837 use G_STRFUNC in another error message that I missed earlier.
2839 2008-08-14 Michael Natterer <mitch@gimp.org>
2841 * plug-ins/help-browser/dialog.c (search_entry_key_press): search
2842 the next match when return or enter is pressed in the search
2845 2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
2847 * app/display/gimpdisplayshell-scale.c
2848 (gimp_display_shell_scale_image_starts_to_fit)
2849 (gimp_display_shell_scale_image_is_within_viewport): Make
2850 proper tests (<= not <).
2852 2008-08-14 Sven Neumann <sven@gimp.org>
2854 * app/actions/file-commands.c (file_save_cmd_callback): if we
2855 trust the dirty flag and don't save because there are no changes,
2856 display a message in the status-bar telling the user so.
2858 * app/config/gimpguiconfig.c: changed the default value for
2859 "trust-dirty-flag" to TRUE.
2861 2008-08-14 Sven Neumann <sven@gimp.org>
2863 * app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_tile_get):
2864 use G_STRFUNC to get the proper function name in the error message.
2866 2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
2868 * app/display/gimpdisplayshell-scale.c
2869 (gimp_display_shell_scale_image_stops_to_fit): New function.
2870 (gimp_display_shell_scale_get_zoom_focus): If the image stops
2871 to fit the viewport, we can already now use the mouse cursor
2872 as the zoom focus point.
2874 2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
2876 * app/display/gimpdisplayshell-draw.[ch]
2877 (gimp_display_shell_draw_get_scaled_image_size_for_scale): New
2880 * app/display/gimpdisplayshell-scale.[ch]
2881 (gimp_display_shell_scale): When zooming out and the image
2882 starts to fit the viewport on a given axis, center on that
2885 (gimp_display_shell_scale_image_starts_to_fit): New function.
2887 (gimp_display_shell_calculate_scale_x_and_y): New function.
2889 * app/display/gimpdisplayshell.c
2890 (gimp_display_shell_scale_changed): Use
2891 gimp_display_shell_calculate_scale_x_and_y().
2893 * app/display/gimpdisplayshell-scroll.c
2894 (gimp_display_shell_scroll_center_image): Bail out if neither
2895 vertical nor horizontal centering is requested.
2897 2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
2899 * app/display/gimpdisplayshell-scale.c
2900 (gimp_display_shell_scale_get_zoom_focus): When the image is
2901 within the viewport, also use the center of the image as the zoom
2902 focus point when zooming in. It feels way too weird not to do it
2905 2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
2907 * app/display/gimpdisplayshell-scale.c
2908 (gimp_display_shell_scale_get_zoom_focus): If the image is within
2909 the viewport and we are zooming out, make the focus point be the
2910 center of the image.
2912 2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
2914 * app/display/gimpdisplayshell-scale.c
2915 (gimp_display_shell_scale_to): Move calculation of the actual new
2916 scale to use from here
2917 (gimp_display_shell_scale): to here, because we need this
2918 information in order to determine what point to focus on while
2921 2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
2923 * app/display/gimpdisplayshell.c
2924 (gimp_display_shell_set_unit): No need to update scrollbars, only
2926 (gimp_display_shell_reconnect): A
2927 gimp_display_shell_scroll_clamp_and_update() makes more sense
2930 2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
2932 * app/display/gimpdisplayshell-handlers.c
2933 (gimp_display_shell_monitor_res_notify_handler): When the screen
2934 resolution changes and we are not in Dot by dot, we also need to
2935 clamp the display shell offsets.
2937 2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
2939 * app/display/gimpdisplayshell-handlers.c
2940 (gimp_display_shell_resolution_changed_handler): If we are in
2941 dot-by-dot, we only need to update the rulers, and only if the
2944 2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
2946 * app/display/gimpdisplayshell-scale.c
2947 (gimp_display_shell_update_scrollbars_and_rulers): Split this up
2948 in gimp_display_shell_scale_update_scrollbars() and
2949 gimp_display_shell_scale_update_rulers().
2951 2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
2953 * app/display/gimpdisplayshell-scroll.c
2954 (gimp_display_shell_scroll_clamp_and_update): New helper function.
2956 * app/display/gimpdisplayshell-scale.c
2957 * app/display/gimpdisplayshell-scroll.c
2958 * app/display/gimpdisplayshell-callbacks.c: Use it.
2960 2008-08-14 Sven Neumann <sven@gimp.org>
2962 * plug-ins/pygimp/plug-ins/python-console.py: renamed the dialog
2963 class to ConsoleDialog to avoid confusion with pyconsole.Console.
2965 2008-08-13 Sven Neumann <sven@gimp.org>
2967 * plug-ins/pygimp/plug-ins/python-console.py: instead of calling
2968 gimp-displays-flush twice a second, call it after each command
2969 that is committed. This is similar to what the Script-Fu console
2972 * plug-ins/script-fu/script-fu-console.c: formatting.
2974 2008-08-13 Sven Neumann <sven@gimp.org>
2976 * plug-ins/pygimp/pygimp-colors.c: fix compiler warnings.
2978 2008-08-13 Sven Neumann <sven@gimp.org>
2980 * plug-ins/help/gimphelplocale.c (gimp_help_locale_parse):
2981 reverted the last change as g_file_query_info() is now also
2982 implemented on Win32.
2984 2008-08-13 Sven Neumann <sven@gimp.org>
2986 * plug-ins/help/gimphelplocale.c (gimp_help_locale_parse):
2987 continue even if g_file_query_info() fails. We can't show proper
2988 progress information then, but we can still attempt the download.
2990 2008-08-13 Sven Neumann <sven@gimp.org>
2992 * app/paint-funcs/paint-funcs.c (replace_inten_pixels): applied
2993 patch from Luidnel Maignan (followup to bug #105568).
2995 2008-08-13 Sven Neumann <sven@gimp.org>
2997 * app/paint-funcs/scale-region.c: applied patch from Geert
2998 Jordaens to fix scaling artifacts in top row (bug #464466).
3000 2008-08-13 Martin Nordholts <martinn@svn.gnome.org>
3002 * app/display/gimpdisplayshell-scale.c
3003 (gimp_display_shell_scale_get_zoom_focus): New function
3004 responsible for deciding what viewport coordinate to focus on when
3007 2008-08-13 Martin Nordholts <martinn@svn.gnome.org>
3009 * app/display/gimpdisplayshell-scale.[ch]
3010 (gimp_display_shell_scale_to): Make this a private function
3011 because we want to be in full control over what pixel to focus on
3012 when zooming in and out.
3014 * app/display/gimpdisplayshell-callbacks.c
3015 (gimp_display_shell_canvas_tool_events): Use
3016 gimp_display_shell_scale() here instead of
3017 gimp_display_shell_scale_to(). We figure out (and can override if
3018 we wish) the coordinates that were previously passed explicitly.
3020 2008-08-13 Martin Nordholts <martinn@svn.gnome.org>
3022 * app/display/gimpdisplayshell-scale.c
3023 (gimp_display_shell_scale_image_is_within_viewport): New function.
3025 * app/display/gimpdisplayshell.c (gimp_display_shell_new): When
3026 the zoom button is toggled on, implicitly do a View -> Fit Image
3027 in Window if the (scaled) image is within the viewport.
3029 2008-08-13 Martin Nordholts <martinn@svn.gnome.org>
3031 * app/paint/gimppaintcore.c: Include gimpprojection.h for
3032 gimp_projection_get_tiles().
3034 2008-08-12 Sven Neumann <sven@gimp.org>
3036 * app/paint-funcs/paint-funcs.c (replace_inten_pixels): applied a
3037 slightly modified version of the patch from Luidnel Maignan as
3038 attached to bug #105568. Fixes incorrect alpha treatment in
3039 plug-in selection masking.
3041 2008-08-12 Sven Neumann <sven@gimp.org>
3043 * app/widgets/gimphistogrameditor.c
3044 (gimp_histogram_editor_frozen_update): don't do the background
3045 histogram unless the histogram view is actually visible.
3047 2008-08-12 Sven Neumann <sven@gimp.org>
3049 * app/paint/gimppaintcore.c (gimp_paint_core_start): use
3050 gimp_projection_get_tiles() instead of doing the same through the
3051 GimpPickable interface.
3053 2008-08-12 Sven Neumann <sven@gimp.org>
3055 * plug-ins/win-snap/Makefile.am: follow the executable name change.
3057 2008-08-12 Sven Neumann <sven@gimp.org>
3059 * app/core/gimpprojection.c (gimp_projection_paint_area): moved
3060 function calls out of CLAMP macros.
3062 2008-08-12 Sven Neumann <sven@gimp.org>
3064 * app/display/gimpdisplayshell.c (gimp_display_shell_empty):
3065 removed calls to scale the image and to update the scrollbars and
3066 rulers. Doesn't seem to make sense in an empty display and it
3069 2008-08-12 Sven Neumann <sven@gimp.org>
3071 * app/core/gimpitem.c
3072 * app/core/gimpobject.c
3073 * app/dialogs/preferences-dialog.c
3074 * plug-ins/imagemap/imap_main.c
3075 * plug-ins/imagemap/imap_selection.c
3076 * plug-ins/common/filter-pack.c
3077 * plug-ins/common/grid.c
3078 * plug-ins/common/newsprint.c
3079 * plug-ins/fractal-explorer/fractal-explorer-dialogs.c
3080 * plug-ins/fractal-explorer/fractal-explorer.c: use canonical
3083 2008-08-12 Sven Neumann <sven@gimp.org>
3085 * configure.in (sed-po-makefiles): create the stamp-it files in
3086 the po-* directories.
3088 2008-08-12 Sven Neumann <sven@gimp.org>
3090 * po-*/Makefile.in.in: corrected 'subdir' variables. Spotted by
3093 * modules/controller-midi.c: formatting.
3095 2008-08-12 Michael Natterer <mitch@gimp.org>
3097 * modules/color-selector-wheel.c: override the wheel's
3098 size-request and return a small requisition that allows
3099 it to be resized smaller again.
3101 2008-08-12 Sven Neumann <sven@gimp.org>
3103 * modules/Makefile.am: fixed library dependencies.
3105 2008-08-11 Michael Natterer <mitch@gimp.org>
3107 * plug-ins/common/cml-explorer.c
3108 * plug-ins/common/depth-merge.c
3109 * plug-ins/common/file-cel.c
3110 * plug-ins/common/oilify.c
3111 * plug-ins/file-bmp/bmp-write.c
3112 * plug-ins/file-bmp/bmp.[ch]
3113 * plug-ins/file-ico/ico-dialog.c
3114 * plug-ins/file-ico/ico-save.c
3115 * plug-ins/file-ico/ico.h
3116 * plug-ins/flame/flame.c
3117 * plug-ins/fractal-explorer/fractal-explorer-dialogs.c
3118 * plug-ins/fractal-explorer/fractal-explorer.[ch]
3119 * plug-ins/gimpressionist/gimp.c
3120 * plug-ins/gimpressionist/gimpressionist.[ch]
3121 * plug-ins/gimpressionist/orientmap.c
3122 * plug-ins/gimpressionist/presets.c
3123 * plug-ins/gimpressionist/sizemap.c
3124 * plug-ins/help-browser/dialog.[ch]
3125 * plug-ins/help-browser/help-browser.c
3126 * plug-ins/ifs-compose/ifs-compose.c
3127 * plug-ins/imagemap/imap_default_dialog.c
3128 * plug-ins/imagemap/imap_main.[ch]
3129 * plug-ins/lighting/lighting-main.[ch]
3130 * plug-ins/lighting/lighting-ui.c
3131 * plug-ins/map-object/map-object-main.[ch]
3132 * plug-ins/map-object/map-object-ui.c
3133 * plug-ins/selection-to-path/selection-to-path.c
3134 * plug-ins/win-snap/winsnap.c: use PLUG_IN_BINARY and PLUG_IN_PROC
3135 defines consistently instead of using literal strings or other
3136 random defines. Define them if not already there or move them to
3137 plugin-global places.
3139 * plug-ins/win-snap/Makefile.am: rename the binary to "win-snap".
3141 * plug-ins/win-snap/winsnap.c: changed accordingly.
3143 2008-08-11 Michael Natterer <mitch@gimp.org>
3145 * modules/Makefile.am
3146 * modules/*.c: renamed all modules to color-selector-foo.c,
3147 display-filter-foo.c and controller-foo.c
3149 2008-08-11 Sven Neumann <sven@gimp.org>
3151 * INSTALL: mention lcms in the list of recommended libraries.
3153 2008-08-11 Michael Natterer <mitch@gimp.org>
3155 * configure.in: check for lcms with PKG_CHECK_MODULES(). Remove
3156 check for <lcms.h> vs. <lsmc/lsmc.h> because the pc file should
3157 give us the right location now.
3159 * modules/cdisplay_lcms.c
3160 * modules/cdisplay_proof.c
3161 * modules/colorsel_cmyk_lcms.c
3162 * plug-ins/file-jpeg/jpeg-load.c
3163 * plug-ins/common/lcms.c: #include <lcms.h> and nothing else.
3165 * modules/Makefile.am
3166 * plug-ins/file-jpeg/Makefile.am
3167 * plug-ins/common/plugin-defs.pl: add LCMS_CFLAGS where appropriate.
3169 * plug-ins/common/Makefile.am: regenerated.
3171 2008-08-11 Sven Neumann <sven@gimp.org>
3173 Please re-run autogen.sh after this update, and let me know if
3174 there are any problems.
3176 * po-*/Makefile.in.in: updated to a version that does not require
3177 mkinstalldirs to be present.
3179 * autogen.sh: removed the call to glib-gettextize and call
3180 intltoolize without the --force command-line option. This change
3181 makes an end to the po/Makefile.in.in being overwritten.
3183 * HACKING: changed the documentation accordingly.
3185 2008-08-11 Sven Neumann <sven@gimp.org>
3187 * plug-ins/common/mkgen.pl: removed the LIBFOO hack from this
3190 * plug-ins/common/plugin-defs.pl: explicitely specify the libs in
3191 the two places where it wasn't done yet.
3193 * plug-ins/common/Makefile.am: regenerated.
3195 2008-08-11 Michael Natterer <mitch@gimp.org>
3197 * configure.in: change all LIBFOO variables to FOO_LIBS for
3198 consistency, got rid of some variables alltogether since
3199 PNG_CHECK_MODULES() already defined FOO_LIBS.
3202 * modules/Makefile.am
3203 * plug-ins/file-ico/Makefile.am
3204 * plug-ins/file-jpeg/Makefile.am
3205 * plug-ins/file-psd/Makefile.am
3206 * plug-ins/file-xjt/Makefile.am
3207 * plug-ins/common/plugin-defs.pl
3208 * plug-ins/common/mkgen.pl: changed accordingly.
3210 * plug-ins/common/Makefile.am: regenerated.
3212 2008-08-11 Michael Natterer <mitch@gimp.org>
3223 * plug-ins/xjt/*: removed these...
3225 * plug-ins/file-bmp/*
3226 * plug-ins/file-faxg3/*
3227 * plug-ins/file-fits/*
3228 * plug-ins/file-fli/*
3229 * plug-ins/file-ico/*
3230 * plug-ins/file-jpeg/*
3231 * plug-ins/file-psd/*
3232 * plug-ins/file-sgi/*
3233 * plug-ins/file-uri/*
3234 * plug-ins/file-xjt/*: and moved them here. Changed executable
3235 names to "file-foo".
3237 * plug-ins/Makefile.am: changed accordingly.
3239 * plug-ins/common/*: rename all file plug-ins to file-foo.c. Get
3240 rid of the names "poppler" and "postscript" and call them
3241 "file-pdf" and "file-ps" because the conflict with standard
3242 autofoo targets is gone.
3244 * plug-ins/common/plugin-defs.pl: changed accordingly.
3246 * plug-ins/common/mkgen.pl: make sure cflags variables are named
3247 "PLUG_IN_NAME_CFLAGS" and not "PLUG-IN-NAME_CFLAGS"
3249 * plug-ins/common/Makefile.am: regenerated.
3251 * configure.in: change folders and variable names to match above
3254 2008-08-11 Sven Neumann <sven@gimp.org>
3256 * app/tools/gimptexttool.c: minor coding style cleanups.
3258 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3260 * app/display/gimpdisplayshell-callbacks.c
3261 (gimp_display_shell_canvas_size_allocate): If the image fits
3262 within the display shell canvas on a given axis, center the image
3263 on that axis. This behaviour will certainly require a few tweaks
3264 but let's see how this feels. Feedback welcome.
3266 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3268 * app/display/gimpdisplayshell.c (gimp_display_shell_fill): Recent
3269 refactorings seems to have made the centering hack obsolete so use
3270 gimp_display_shell_scroll_center_image_on_next_size_allocate()
3273 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3275 * app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
3276 Always center the image after a wrap. I can't think of a case when
3277 that shouldn't happen.
3279 * app/display/gimpdisplayshell-handlers.c
3280 (gimp_display_shell_size_changed_detailed_handler): Centering
3281 occurs implicitly after wrapping now, no need to do it explicitly.
3283 * app/display/gimpdisplayshell-scroll.c
3284 (gimp_display_shell_scroll_center_image): Handle the no-image
3287 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3289 * app/display/gimpdisplayshell-scroll.[ch]
3290 (gimp_display_shell_scroll_set_offset): New low level function for
3291 setting display shell offset.
3293 (gimp_display_shell_scroll_center_image)
3295 * app/display/gimpdisplayshell-handlers.c
3296 (gimp_display_shell_size_changed_detailed_handler): Use it instead
3297 of gimp_display_shell_scale_by_values().
3299 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3301 * app/display/gimpdisplayshell-scale.c
3302 (gimp_display_shell_scale_handle_zoom_revert): Move the
3303 zoom-revert updating logic into this new helper function so that
3304 we can update zoom-revert from other places.
3306 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3308 * app/display/gimpdisplayshell-scale.[ch]:
3309 Rename gimp_display_shell_scale_setup() to
3310 gimp_display_shell_update_scrollbars_and_rulers(), because that's
3311 exactly what that function does.
3313 * app/display/gimpdisplayshell.c
3314 * app/display/gimpdisplayshell-scroll.c
3315 * app/display/gimpdisplayshell-handlers.c
3316 * app/display/gimpdisplayshell-callbacks.c: Adapt to new name.
3318 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3320 * app/display/gimpdisplayshell-scale.c
3321 (gimp_display_shell_scale_setup): Remove unused local variables sw
3324 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3326 * app/display/gimpdisplayshell-scroll.[ch]: Renamed
3327 gimp_display_shell_scroll_private() to gimp_display_shell_scroll()
3330 * app/display/gimpdisplayshell-private.h: Removed.
3332 * app/display/Makefile.am
3333 * app/display/gimpdisplayshell-scale.c
3334 * app/display/gimpdisplayshell-scroll.c
3335 * app/display/gimpdisplayshell-handlers.c
3336 * app/display/gimpdisplayshell-callbacks.c
3337 * app/display/gimpdisplayshell-autoscroll.c: Adapt.
3339 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3341 * app/display/gimpdisplayshell-scroll.[ch]: It makes more sense
3342 for gimp_display_shell_get_scaled_image_size() to be moved from
3345 * app/display/gimpdisplayshell-draw.[ch]: here, and rename it to
3346 gimp_display_shell_draw_get_scaled_image_size().
3348 * app/display/gimpdisplayshell.c: Adapt to name change.
3350 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3352 * app/display/gimpdisplayshell-draw.[ch]
3353 * app/display/gimpdisplayshell-render.[ch]
3354 * app/display/gimpdisplayshell-transform.[ch]
3355 * app/display/gimpdisplayshell-appearance.[ch]: Sprinkle as many
3356 const qualifiers we can without any implementation changes.
3358 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3360 * app/display/gimpdisplayshell-scroll.[ch]: gimp_display_shell_ ->
3361 gimp_display_shell_scroll_ for functions that are scroll
3362 related. Also did some other minor renamings.
3364 * app/display/gimpnavigationeditor.c
3365 * app/display/gimpdisplayshell-draw.c
3366 * app/display/gimpdisplayshell-scale.c
3367 * app/display/gimpdisplayshell-render.c
3368 * app/display/gimpdisplayshell-transform.c
3369 * app/display/gimpdisplayshell-callbacks.c: Adapt to the name
3372 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3374 * app/actions/view-commands.c (view_shrink_wrap_cmd_callback): We
3375 need to center the image after a Shrink Wrap.
3377 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3379 * app/display/gimpdisplayshell-scroll.c
3380 (gimp_display_shell_scroll_center_image): There is no need for
3381 special casing depending on image size relative to viewport size.
3383 2008-08-10 Martin Nordholts <martinn@svn.gnome.org>
3385 Put functions to center the image in the display shell where they
3386 belong, and give them proper names.
3388 * app/display/gimpdisplayshell-scale.[ch]: Get rid of functions
3389 and use the new names.
3391 * app/display/gimpdisplayshell-scroll.[ch]: Put the functions here
3392 and call them gimp_display_shell_scroll_center_image() and
3393 gimp_display_shell_scroll_center_image_on_next_size_allocate().
3395 * app/display/gimpdisplayshell.c:
3396 * app/display/gimpdisplayshell-handlers.c: Use the new names.
3398 2008-08-08 Michael Natterer <mitch@gimp.org>
3400 Bug #545990: GIMP color wheel is not antialiased
3402 * modules/colorsel_triangle.c: removed.
3404 * modules/colorsel_wheel.c: new module using the GtkHSV widget
3405 which was originally developed from above triangle selector.
3407 * modules/Makefile.am: changed accordingly.
3409 2008-08-08 Sven Neumann <sven@gimp.org>
3411 * app/base/tile-manager.c: implement
3412 tile_manager_get_tile_coordinates() by calling
3413 tile_manager_get_tile_col_row() instead of the other way around.
3414 Saves two multiplications and divisions for each call of
3415 tile_manager_get_tile_col_row().
3417 2008-08-08 Sven Neumann <sven@gimp.org>
3419 * app/base/tile-manager.c: introduced utility function
3420 tile_manager_allocate_tiles() to avoid code duplication.
3422 2008-08-08 Sven Neumann <sven@gimp.org>
3424 * app/base/tile-pyramid.c: improved a comment.
3426 2008-08-08 Sven Neumann <sven@gimp.org>
3428 * app/core/gimplayer.c (gimp_layer_new_from_tiles)
3429 (gimp_layer_new_from_pixbuf) (gimp_layer_new_from_region): allow
3430 to pass NULL for the 'name' parameter. This will be handled just
3431 like in gimp_layer_new().
3433 2008-08-07 Sven Neumann <sven@gimp.org>
3435 * plug-ins/script-fu/scripts/frosty-logo.scm: applied slightly
3436 modified version of a patch provided by LightningIsMyName.
3437 Catches some cases where the script would fail (bug #472316).
3439 2008-08-07 Sven Neumann <sven@gimp.org>
3441 * app/actions/layers-actions.c (layers_actions): added mnemonic to
3444 2008-08-07 Sven Neumann <sven@gimp.org>
3446 * app/paint-funcs/scale-region.c: sprinkled with const qualifiers.
3447 Fixed some portability problems.
3449 2008-08-07 Sven Neumann <sven@gimp.org>
3451 * app/base/tile.c (tile_attach): renamed a variable.
3453 2008-08-07 Sven Neumann <sven@gimp.org>
3455 * plug-ins/print/print.c (print_image): get rid of the
3456 gimp_export_image() hack and use the new procedure
3457 gimp-layer-new-from-visible instead. Finally we can print what the
3458 user sees (including channels).
3460 2008-08-07 Sven Neumann <sven@gimp.org>
3462 * app/core/gimpbuffer.[ch]: added gimp_buffer_get_tiles().
3464 * app/actions/edit-commands.c
3465 * app/core/gimpbrushclipboard.c
3466 * app/core/gimppatternclipboard.c: use the new accessor function.
3468 2008-08-07 Sven Neumann <sven@gimp.org>
3470 * app/core/gimplayer.c
3471 * app/actions/edit-commands.c
3472 * app/actions/layers-commands.c
3473 * tools/pdbgen/pdb/layer.pdb: corrected the GimpImageType passed
3474 to gimp_layer_new_from_tiles().
3476 * app/pdb/layer-cmds.c: regenerated.
3478 2008-08-07 Sven Neumann <sven@gimp.org>
3480 * app/actions/edit-commands.[ch]
3481 * app/actions/edit-actions.c: added new action
3482 "edit-paste-as-new-layer".
3484 * app/widgets/gimphelp-ids.h: added new help-id.
3486 * menus/image-menu.xml.in: added the new action.
3488 2008-08-07 Tor Lillqvist <tml@novell.com>
3490 * app/config/gimpbaseconfig.c (gimp_base_config_class_init): Use
3491 G_MAXSIZE instead of G_MAXULONG to limit the max tile cache size,
3492 as long is still 32 bits on Win64 but size_t is 64 bits.
3494 2008-08-07 Sven Neumann <sven@gimp.org>
3496 * tools/pdbgen/pdb/layer.pdb: added new procedure
3497 'gimp-layer-new-from-visible'.
3499 * app/pdb/layer-cmds.c
3500 * app/pdb/internal-procs.c
3501 * libgimp/gimplayer_pdb.[ch]: regenerated.
3503 * libgimp/gimp.def: updated.
3505 2008-08-07 Sven Neumann <sven@gimp.org>
3507 * app/actions/layers-actions.c
3508 * app/actions/layers-commands.[ch]: added new action
3509 "layers-new-from-visible".
3511 * app/widgets/gimphelp-ids.h: added new help-id.
3513 * menus/layers-menu.xml
3514 * menus/image-menu.xml.in: added the new action.
3516 * app/actions/edit-actions.c: improved the blurb for
3517 "edit-copy-visible".
3519 2008-08-07 Tor Lillqvist <tml@novell.com>
3521 * app/main.c: Code built by the still unstable mingw-w64 toolchain
3522 gets bogus argc and argv when built as subsystem:windows, so use
3523 __argc and __argv instead, which seem to be OK.
3525 * libgimp/gimp.h: Similar change here.
3527 2008-08-07 Sven Neumann <sven@gimp.org>
3529 * app/base/tile-manager.c (tile_manager_invalidate_tile): fixed
3530 broken copy-on-write code. The old code did not insert the new
3531 tile in the tile-manager's tile pointer array.
3533 (tile_manager_map): changed in a similar way as
3534 tile_manager_invalidate_tile(). This code was not broken, but it
3535 is easier to read now.
3537 * app/base/tile-private.h: moved a comment.
3539 * app/core/gimpselection.c (gimp_selection_extract): removed
3540 workaround for above bug.
3542 2008-08-07 Sven Neumann <sven@gimp.org>
3544 * app/core/gimpselection.c (gimp_selection_extract): aded a
3545 comment explaining why copy_region_nocow() is being used here.
3547 2008-08-07 Sven Neumann <sven@gimp.org>
3549 * app/core/gimplayer.c (gimp_layer_new_from_region): added some
3550 empty lines for readability.
3552 2008-08-07 Sven Neumann <sven@gimp.org>
3554 * app/core/gimpimage.[ch]: added gimp_image_get_projection().
3556 * app/display/gimpdisplay-handlers.c
3557 * app/display/gimpdisplayshell-render.c
3558 * app/display/gimpdisplayshell-scroll.c
3559 * app/paint/gimppaintcore.c
3560 * app/paint/gimpsourcecore.c
3561 * app/tools/gimpbycolorselecttool.c
3562 * app/tools/gimpeditselectiontool.c
3563 * app/tools/gimpimagemaptool.c
3564 * app/tools/gimpiscissorstool.c
3565 * app/tools/gimppainttool.c
3566 * app/widgets/gimpsamplepointeditor.c
3567 * tools/pdbgen/pdb/image.pdb: use the new accessor function.
3569 * app/pdb/image-cmds.c: regenerated.
3571 2008-08-07 Sven Neumann <sven@gimp.org>
3573 * app/tools/gimpcurvestool.h: fixed comment.
3575 2008-08-07 Tor Lillqvist <tml@novell.com>
3577 * configure.in: Define WIN32_LARGE_ADDRESS_AWARE as
3578 -Wl,--large-address-aware on 32-bit Windows, empty
3579 otherwise. AC_SUBST() it.
3581 * app/Makefile.am (win32_ldflags): Use WIN32_LARGE_ADDRESS_AWARE
3582 instead of hardcoding the switch, as it isn't valid, and would be
3583 pointless, when building a 64-bit GIMP.
3585 2008-08-06 Sven Neumann <sven@gimp.org>
3587 * app/core/gimpdrawable-shadow.c: removed unused include.
3589 2008-08-06 Martin Nordholts <martinn@svn.gnome.org>
3591 * app/display/gimpdisplayshell-scale.c
3592 (gimp_display_shell_center_image): The operation of centering the
3593 image in the display shell has by itself nothing to do with
3594 resizing the display shell window.
3596 2008-08-06 Sven Neumann <sven@gimp.org>
3598 * libgimp/gimppixelrgn.c (gimp_pixel_rgn_configure): fixed gtk-doc
3601 2008-08-06 Sven Neumann <sven@gimp.org>
3603 * app/gui/gimpdbusservice.c: minor cleanups.
3605 2008-08-05 Martin Nordholts <martinn@svn.gnome.org>
3607 * app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
3608 Only center on the mouse pointer when zooming if it is within the
3611 2008-08-05 Michael Natterer <mitch@gimp.org>
3613 * app/display/gimpdisplayshell-scroll.[ch]
3614 * app/display/gimpdisplayshell-draw.c
3615 * app/display/gimpdisplayshell-scale.c
3616 * app/display/gimpdisplayshell-transform.c: get rid of the "image"
3617 part in all instances of "scaled_image_viewport_offset", we call
3618 it simply "viewport" in all other places and it makes the code
3621 2008-08-05 Sven Neumann <sven@gimp.org>
3623 * app/gui/gimpdbusservice.[ch]: changed refcounting and fixed a
3624 bug that I had introduced with the latest changes.
3626 2008-08-05 Martin Nordholts <martinn@svn.gnome.org>
3628 * app/display/gimpdisplayshell-scale.c
3629 (gimp_display_shell_scale_setup): Don't setup scrollbar step
3632 * app/display/gimpdisplayshell-scroll.c
3633 (gimp_display_shell_setup_hscrollbar_with_value)
3634 (gimp_display_shell_setup_vscrollbar_with_value): Setup scrollbar
3635 step increment here and make sure that a step always scrolls at
3636 least a display shell pixel.
3638 2008-08-05 Martin Nordholts <martinn@svn.gnome.org>
3640 * app/core/gimpimage.c (gimp_image_real_size_changed_detailed):
3641 Clarify the design with a comment.
3643 2008-08-05 Sven Neumann <sven@gimp.org>
3645 * app/gui/gimpdbusservice.[ch]: keep a queue of D-Bus requests and
3646 work on them one after another instead of handling them all in
3647 parallel. Complements the fix for bug #546426.
3649 2008-08-05 Sven Neumann <sven@gimp.org>
3651 * plug-ins/common/value-propagate.c (value_propagate_body):
3652 reduced number of progress updates.
3654 * app/core/gimpchannel.c (gimp_channel_scale): don't waste CPU
3655 cycles scaling an empty channel.
3657 2008-08-05 Sven Neumann <sven@gimp.org>
3659 * app/base/tile-manager.h
3660 * app/base/tile-pyramid.h: moved a misplaced comment to the right
3663 2008-08-05 Michael Natterer <mitch@gimp.org>
3665 * app/display/gimpdisplayshell-callbacks.c: move update_range
3666 callbacks where they belong and make them static.
3668 2008-08-05 Sven Neumann <sven@gimp.org>
3670 * app/dialogs/tips-dialog.c (tips_dialog_create): added a
3671 translator comment for the "Learn more" button.
3673 2008-08-05 Sven Neumann <sven@gimp.org>
3675 * app/display/gimpdisplayshell-draw.c (gimp_display_shell_draw_guide):
3676 draw the guide all across the canvas, not limiting it to the image.
3678 * app/tools/gimpdrawtool.[ch]: added new function
3679 gimp_draw_tool_draw_guide_line().
3681 * app/tools/gimpmovetool.c (gimp_move_tool_draw): use it.
3683 2008-08-05 Sven Neumann <sven@gimp.org>
3685 * menus/image-menu.xml.in: moved the Windows menu next to the Help
3688 2008-08-05 Sven Neumann <sven@gimp.org>
3690 * app/gui/gimpdbusservice.c: open the files from an idle handler.
3691 Opening a file may take a while (in particular if it involves
3692 asking the user for input) and we need to respond to the D-Bus
3693 call before it times out.
3695 2008-08-04 Sven Neumann <sven@gimp.org>
3697 * app/paint-funcs/scale-region.c: applied patch from Geert
3698 Jordaens as attached to bug #464466. Improves quality of scaling,
3699 in particular down-scaling.
3701 2008-08-04 Michael Natterer <mitch@gimp.org>
3703 * app/core/gimpimage.[ch] (GimpImage::size-changed-detailed):
3704 change double to int in signal parameters.
3706 Remove gimp_image_emit_size_changed_signals() and call
3707 gimp_viewable_size_changed() in size-changed-detailed's default
3710 * app/core/gimpimageundo.[ch]
3711 * app/core/gimpimage-undo-push.[ch]: change double to int in
3712 previous-origin related code.
3714 * app/core/gimpimage-undo.c
3715 * app/core/gimpimage-scale.c
3716 * app/core/gimpimage-crop.c
3717 * app/core/gimpimage-rotate.c
3718 * app/core/gimpimage-resize.c: call gimp_image_size_changed_detailed()
3719 instead of the removed gimp_image_emit_size_changed_signals()
3721 * app/display/gimpdisplayshell-scroll.[ch]: remove
3722 gimp_display_shell_handle_size_changed_detailed() because it
3723 handles both scrolling and scaling and doesn't belong here.
3725 * app/display/gimpdisplayshell-handlers.c: moved its code back to
3726 gimp_display_shell_size_changed_detailed_handler() and follow the
3727 double -> int change above.
3729 2008-08-04 Michael Natterer <mitch@gimp.org>
3731 * app/core/gimpimagemapconfig.c (gimp_image_map_config_compare):
3732 clarify if() condition.
3734 2008-08-04 Martin Nordholts <martinn@svn.gnome.org>
3736 * app/core/gimpimage.c (gimp_image_emit_size_changed_signals): The
3737 parameters should be named previous_origin_[xy].
3739 2008-08-04 Sven Neumann <sven@gimp.org>
3741 * plug-ins/common/blur-motion.c (mblur_dialog): added translation
3742 context to blur-type menu (bug #546204).
3744 2008-08-04 Sven Neumann <sven@gimp.org>
3746 * plug-ins/common/value-propagate.c: applied patch from Liam Quin
3747 as attached to bug #546159. Fixes bad data access for black and
3748 white propagation and removes unneeded calls to sqrt().
3750 2008-08-04 Sven Neumann <sven@gimp.org>
3752 Applied a slightly modified patch from Róman Joost as attached to
3753 bug #545963. This add links to the user manual to the tips dialog:
3755 * data/tips/gimp-tips.dtd
3756 * data/tips/gimp-tips.xml.in: add optional help IDs to the tips.
3758 * app/dialogs/tips-dialog.c
3760 * app/dialogs/tips-parser.[ch]: parse the help IDs from the tips
3761 file and show a "Learn more" link in the tips dialog.
3763 2008-08-03 Martin Nordholts <martinn@svn.gnome.org>
3765 * app/display/gimpdisplayshell.c (gimp_display_shell_new): Center
3766 the image after connecting to it. This is required if the image we
3767 connect to is smaller than the initial canvas size.
3769 2008-08-03 Martin Nordholts <martinn@svn.gnome.org>
3771 Further work for completing bug #362915 that makes changes to the
3772 image size (e.g when cropping) be much more nicely handled by
3775 * app/core/gimpimage.[ch]: Add new signal
3776 GimpImage::size-changed-detailed that is emited whenever
3777 GimpViewable::size-changed is. The new signal provides additional
3778 information, namely the previous origin relative to the current
3779 origin. Cliens choose what specific signal to listen to depending
3780 on how much info they need.
3782 * app/display/gimpdisplayshell-handlers.c: Connect to
3783 GimpImage::size-changed-detailed instead of
3784 GimpViewable::size-changed since the shell wants information about
3785 the previous image origin.
3786 (gimp_display_shell_resolution_changed_handler): Use
3787 gimp_display_shell_scale_resize() instead to avoid display
3790 * app/display/gimpdisplayshell-scale.[ch]: Add new utility
3791 function gimp_display_shell_center_image_on_next_size_allocate().
3793 * app/display/gimpdisplayshell-scroll.[ch]
3794 (gimp_display_shell_handle_size_changed_detailed): New function
3795 that replaces logic in gimp_display_shell_handle_size_changed and
3796 that takes previous-origin of the image into account and adjusts
3797 the offset so that the image content that remains doesn't move. If
3798 the window is resized on image resize, just center the image
3801 * app/core/gimpimage-undo-push.[ch]
3802 (gimp_image_undo_push_image_size): Add previous-origin paremeters.
3804 * app/core/gimpimageundo.[ch]: Add and manage previous-origin
3805 properties so that the display shell offset can be appropriately
3806 adjusted also when undoing.
3808 * app/core/gimpundo.h
3809 * app/core/gimpimage-undo.c: Add previous_origin members to the
3810 undo accumulator and emit that information when the size of the
3811 image changes due to the undo.
3813 * app/core/gimpimage-crop.c (gimp_image_crop)
3814 * app/core/gimpimage-scale.c (gimp_image_scale)
3815 * app/core/gimpimage-rotate.c (gimp_image_rotate)
3816 * app/core/gimpimage-resize.c (gimp_image_resize_with_layers):
3817 Supply information about the previous-origin of the image to the
3818 size-changed signals and the undo system.
3820 2008-07-31 Sven Neumann <sven@gimp.org>
3822 * app/core/gimpimage-scale.c (gimp_image_scale): formatting.
3824 2008-07-30 Jakub Steiner <jimmac@ximian.com>
3826 * data/images/gimp-splash.png: new devel splash from
3827 Aurore Derriennic <aurore.d@gmail.com>
3829 2008-07-30 Sven Neumann <sven@gimp.org>
3831 * app/dialogs/file-open-dialog.c (file_open_dialog_response):
3832 attach the URI of the last opened image to the Gimp object.
3834 * app/actions/file-commands.c (file_open_dialog_show): use the
3835 last opened URI as a fallback for initializing the dialog.
3837 2008-07-29 Sven Neumann <sven@gimp.org>
3839 * plug-ins/common/Makefile.am
3840 * plug-ins/common/plugin-defs.pl
3841 * plug-ins/common/psd-save.c: removed psd-save source here ...
3843 * plug-ins/psd/Makefile.am
3844 * plug-ins/psd/psd-save.c: ... and added it back here.
3846 2008-07-29 Sven Neumann <sven@gimp.org>
3848 * tools/pdbgen/pdb/vectors.pdb: added the real name of the author
3849 of the new PDB function.
3851 * app/pdb/vectors-cmds.c: regenerated.
3853 2008-07-28 Sven Neumann <sven@gimp.org>
3855 * tools/pdbgen/pdb/edit.pdb (edit_stroke_vectors_invoker): check
3856 that the passed vectors item is attached.
3858 * app/pdb/edit-cmds.c: regenerated.
3860 2008-07-28 Sven Neumann <sven@gimp.org>
3862 * tools/pdbgen/pdb/vectors.pdb: applied patch from LightningIsMyName
3863 adding the new PDB function gimp-vectors-copy (bug #544212).
3865 * app/pdb/internal-procs.c
3866 * app/pdb/vectors-cmds.c
3867 * libgimp/gimpvectors_pdb.[ch]: regenerated.
3869 * libgimp/gimp.def: updated.
3871 2008-07-27 Sven Neumann <sven@gimp.org>
3873 * app/text/gimptext-compat.c (text_get_extents): applied the same
3874 workaround for a memory leak in PangoFT2 (bug #143542) as was
3875 applied long ago in gimptextlayout.c.
3877 2008-07-27 Sven Neumann <sven@gimp.org>
3879 * app/text/gimptext-compat.c (text_get_extents)
3880 * app/text/gimptextlayout-render.c (gimp_text_layout_render):
3881 use the readonly variant of pango_layout_iter_get_line().
3883 2008-07-27 Martin Nordholts <martinn@svn.gnome.org>
3885 * app/tools/gimprectangletool.c
3886 (gimp_rectangle_tool_synthesize_motion): Bail out if there is no
3887 pending rectangle to synthesize a motion on. Fixes bug #544181.
3889 2008-07-27 Sven Neumann <sven@gimp.org>
3891 * plug-ins/psd/Makefile.am: renamed executable to 'psd-load'.
3893 2008-07-24 Sven Neumann <sven@gimp.org>
3895 * app/widgets/gtkscalebutton.c: added missing prototypes.
3897 2008-07-24 Sven Neumann <sven@gimp.org>
3899 * plug-ins/help/gimphelplocale.c: formatting.
3901 2008-07-24 Sven Neumann <sven@gimp.org>
3903 * configure.in: minor cleanup of the checks for the URI plug-in.
3905 * plug-ins/uri/Makefile.am: changed accordingly.
3907 2008-07-24 Sven Neumann <sven@gimp.org>
3909 * plug-ins/uri/uri-backend-libcurl.c: use g_fopen().
3911 * plug-ins/uri/uri-backend-gvfs.c: formatting.
3913 2008-07-24 Sven Neumann <sven@gimp.org>
3915 * app/paint/gimppaintcore-stroke.c
3916 (gimp_paint_core_stroke_emulate_dynamics): renamed variables.
3918 2008-07-23 Sven Neumann <sven@gimp.org>
3920 * app/paint/gimppaintcore-stroke.[ch]: also implement brush
3921 dynamics emulation for stroking selections.
3923 * app/core/gimpchannel.c: pass the 'emulate-dynamics' parameter to
3924 gimp_paint_core_stroke_boundary().
3926 2008-07-23 Sven Neumann <sven@gimp.org>
3928 * app/widgets/gimpsessioninfo.c (gimp_session_info_get_geometry):
3929 don't report negative offsets, they would be interpreted wrongly.
3931 2008-07-23 Sven Neumann <sven@gimp.org>
3933 Based on a patch from Alexia Death (bug #543706):
3935 * app/paint/gimppaintcore-stroke.[ch]
3936 (gimp_paint_core_stroke_vectors): added code to emulate brush
3937 dynamics by modifying pressure and velocity along the stroke.
3939 * app/vectors/gimpvectors.c (gimp_vectors_stroke): pass the
3940 'emulate-dynamics' parameter to gimp_paint_core_stroke_vectors().
3942 2008-07-23 Sven Neumann <sven@gimp.org>
3944 * app/widgets/gimpcontrollerinfo.c
3945 * app/widgets/gimpcontrollerlist.c
3946 * app/widgets/gimpdasheditor.c
3947 * app/widgets/gimpdock.c
3948 * app/widgets/gimpeditor.c
3949 * app/widgets/gimpgrideditor.c
3950 * app/widgets/gimppdbdialog.c
3951 * app/widgets/gimppluginaction.c
3952 * app/widgets/gimpstrokeeditor.c
3953 * app/widgets/gimptemplateeditor.c
3954 * libgimpwidgets/gimpcolorprofilecombobox.c: no need to cast the
3955 return value of g_value_dup_object().
3957 2008-07-23 Sven Neumann <sven@gimp.org>
3959 * app/core/gimpguideundo.c
3960 * app/core/gimpitemundo.c
3961 * app/core/gimplayermaskundo.c
3962 * app/core/gimppdbprogress.c
3963 * app/core/gimpstrokedesc.c
3964 * app/core/gimptooloptions.c
3965 * app/core/gimptoolpresets.c
3966 * app/paint/gimppaintoptions.c
3967 * app/text/gimpfont.c
3968 * app/tools/gimptool.c
3969 * app/widgets/gimpaction.c
3970 * app/widgets/gimpcontrollereditor.c: no need to cast the return
3971 value of g_value_dup_object().
3973 2008-07-22 Sven Neumann <sven@gimp.org>
3975 * app/widgets/gimpcellrendererviewable.c: no need to cast the
3976 return value of g_value_dup_object().
3978 2008-07-22 Sven Neumann <sven@gimp.org>
3980 * plug-ins/help-browser/dialog.c (build_menu): check the return
3981 value of webkit_web_history_item_get_title() to guard us against
3982 a (reported) bug in WebKit.
3984 2008-07-22 Michael Natterer <mitch@gimp.org>
3986 * app/widgets/gimpviewrendererimagefile.c
3987 (gimp_view_renderer_imagefile_get_icon): guard against
3988 g_file_query_info() returning NULL (if the file doesn't exist or
3991 2008-07-22 Michael Natterer <mitch@gimp.org>
3993 * app/tools/gimpcolortool.c: set scroll_lock to TRUE while moving
3994 or creating sample points so the image doesn't scroll while a new
3995 sample point is dragged from the rulers and sample points can be
3996 deleted by dragging them out of image without scrolling at the
3999 2008-07-22 Sven Neumann <sven@gimp.org>
4001 * app/tools/gimpvectortool.c: only use the position from the event
4002 coordinates when creating or modifying strokes. Initialize all
4003 other GimpCoords fields with default values.
4005 2008-07-22 Sven Neumann <sven@gimp.org>
4007 * app/vectors/gimpbezierstroke.c: formatting.
4009 2008-07-22 Sven Neumann <sven@gimp.org>
4011 * app/widgets/gimpsessioninfo-aux.c
4012 (gimp_session_info_aux_new_from_props): plugged memory leak.
4014 2008-07-22 Sven Neumann <sven@gimp.org>
4016 * app/widgets/gimphistogramview.c
4017 (gimp_histogram_view_set_background): fixed refcounting issue.
4018 This plugs the memory leak I tried to fix in GimpHistogramEditor.
4020 2008-07-22 Sven Neumann <sven@gimp.org>
4022 * app/base/gimphistogram.[ch]: added new method
4023 gimp_histogram_duplicate().
4025 * app/widgets/gimphistogrameditor.c
4026 (gimp_histogram_editor_frozen_update): instead of recalculating
4027 the histogram, use a duplicate for the background histogram.
4029 2008-07-22 Sven Neumann <sven@gimp.org>
4031 * app/widgets/gimphistogrameditor.c (gimp_histogram_editor_set_image):
4032 reverted last change, it did not plug the leak.
4034 2008-07-22 Sven Neumann <sven@gimp.org>
4036 * app/gui/session.c (session_init): plugged a small memory leak.
4038 2008-07-21 Sven Neumann <sven@gimp.org>
4040 * app/widgets/gimphistogrameditor.c
4041 (gimp_histogram_editor_set_image): always unset and unref the
4042 histograms. Plugs a memory leak reported by valgrind.
4044 2008-07-21 Simon Budig <simon@gimp.org>
4046 * app/core/gimpcoords.c: incorporate the velocity.
4048 2008-07-21 Sven Neumann <sven@gimp.org>
4050 * app/tools/gimpdrawtool.c (gimp_draw_tool_on_vectors_handle):
4051 plugged a not so small memory leak.
4053 2008-07-21 Sven Neumann <sven@gimp.org>
4055 * app/actions/windows-actions.c (windows_actions_dock_notify):
4056 plugged another small memory leak.
4058 2008-07-21 Sven Neumann <sven@gimp.org>
4060 * app/menus/file-menu.c (file_menu_open_recent_query_tooltip):
4061 plugged a small memory leak.
4063 2008-07-21 Sven Neumann <sven@gimp.org>
4065 * app/core/gimpstrokedesc.[ch]: added boolean property
4066 'emulate-brush-dynamics', in preparation for bug #543706.
4068 * app/dialogs/stroke-dialog.c: added a toggle for the new parameter.
4070 2008-07-21 Sven Neumann <sven@gimp.org>
4072 * configure.in (ALL_LINGUAS): updated note to translators.
4074 2008-07-21 Michael Natterer <mitch@gimp.org>
4077 * plug-ins/common/*.c: don't use gtk_box_pack_start_defaults(),
4078 it got deprecated in GTK+ trunk.
4080 2008-07-21 Sven Neumann <sven@gimp.org>
4082 * configure.in (ALL_LINGUAS): added 'be' (Belarusian).
4084 2008-07-19 Martin Nordholts <martinn@svn.gnome.org>
4086 * app/widgets/gimpnavigationview.[ch]: Don't expose implementation
4087 details and extend the interface with trivial new functions.
4089 * app/display/gimpnavigationeditor.c
4090 (gimp_navigation_editor_popup): Use the new interface instead of
4091 directly accessing the members of the navigation view.
4093 2008-07-18 Sven Neumann <sven@gimp.org>
4095 * app/core/core-types.h: removed delta_time, delta_x, delta_y,
4096 distance and random from the GimpCoords struct. These don't need
4097 to be kept here and they can't be properly interpolated.
4099 * app/core/gimpcoords.c: changed accordingly.
4101 * app/xcf/xcf-load.c (xcf_load_vector): the size of the GimpCoords
4104 * app/display/gimpdisplayshell.[ch] (struct _GimpDisplayShell):
4105 added some members to store values from the last event that are
4106 needed in gimp_display_shell_eval_event() and which are not any
4107 longer part of GimpCoords.
4109 * app/display/gimpdisplayshell-coords.c
4110 (gimp_display_shell_eval_event): changed accordingly.
4112 * app/paint/gimppaintoptions.c: calculate a random number when one
4115 * app/paint/gimpbrushcore.c (gimp_brush_core_interpolate):
4116 GimpCoords doesn't have a "random" field any longer.
4118 2008-07-18 Sven Neumann <sven@gimp.org>
4120 * app/core/core-types.h (GIMP_COORDS_DEFAULT_VALUES): initialize
4121 all members of the GimpCoords struct.
4123 2008-07-17 Sven Neumann <sven@gimp.org>
4125 * app/core/gimpcoords.c (gimp_coords_mix): also mix in the new
4126 members of the GimpCoords struct.
4128 2008-07-17 Sven Neumann <sven@gimp.org>
4130 * app/core/gimpcoords.c (gimp_coords_mix): formatting.
4132 * app/vectors/gimpbezierstroke.c: formatting.
4134 2008-07-17 Sven Neumann <sven@gimp.org>
4136 * app/tools/gimpcolorizetool.c: fixed typo pointed out by
4139 2008-07-17 Sven Neumann <sven@gimp.org>
4141 * app/paint/gimppaintcore.[ch]: removed 'use_pressure' field from
4144 * app/paint/gimppaintoptions.[ch]: removed 'use_pressure' parameter.
4146 * app/paint/gimpairbrush.c
4147 * app/paint/gimpbrushcore.c
4148 * app/paint/gimpclone.c
4149 * app/paint/gimpconvolve.c
4150 * app/paint/gimpdodgeburn.c
4151 * app/paint/gimperaser.c
4152 * app/paint/gimpheal.c
4153 * app/paint/gimppaintbrush.c
4154 * app/paint/gimpsmudge.c
4155 * app/tools/gimppainttool.c: changed accordingly.
4157 2008-07-17 Tor Lillqvist <tml@novell.com>
4159 * app/Makefile.am (win32_ldflags): Use -Wl,--large-address-aware
4160 on Windows so that we can use more that 2 GB user data space (if
4161 available; i.e. if running on a 64-bit OS, or a 32-bit OS booted
4162 with /3GB). See discussion in bug #522073.
4164 2008-07-17 Sven Neumann <sven@gimp.org>
4166 * libgimp/gimpui.c: improved the documentation of gimpui_init().
4168 2008-07-16 Sven Neumann <sven@gimp.org>
4170 * configure.in: bumped version to 2.5.3.
4172 2008-07-16 Sven Neumann <sven@gimp.org>
4174 * Made 2.5.2 development release.
4176 2008-07-16 Sven Neumann <sven@gimp.org>
4178 * plug-ins/help-browser/dialog.c: also start the search when the
4179 slash key is pressed. Added a "find-again" feature bound to Ctrl-G.
4181 2008-07-16 Sven Neumann <sven@gimp.org>
4183 * plug-ins/help-browser/dialog.c: applied patch from Róman Joost
4184 as attached to bug #542826 (with some minor modifications). This
4185 adds a "Search in this page" feature bound to Ctrl-F.
4187 2008-07-15 Sven Neumann <sven@gimp.org>
4189 * tools/pdbgen/pdb/edit.pdb: fixed documentation (bug #542972).
4191 * app/pdb/edit-cmds.c
4192 * libgimp/gimpedit_pdb.c: regenerated.
4194 2008-07-14 Sven Neumann <sven@gimp.org>
4196 * tools/pdbgen/pdb/palette.pdb: added new PDB function
4197 gimp-palette-get-colors that retrieves all colors from a palette
4198 in a single call. Based on patches from bug #332206.
4200 * app/pdb/palette-cmds.c
4201 * app/pdb/internal-procs.c
4202 * libgimp/gimppalette_pdb.[ch]: regenerated.
4204 * libgimp/gimp.def: updated.
4206 2008-07-14 Sven Neumann <sven@gimp.org>
4208 * tools/pdbgen/app.pl: added support for color arrays.
4210 2008-07-14 Sven Neumann <sven@gimp.org>
4212 * app/pdb/gimp-pdb-compat.c (gimp_pdb_compat_arg_type_from_gtype):
4213 added mapping from GIMP_TYPE_COLOR_ARRAY to GIMP_PDB_COLORARRAY.
4215 2008-07-14 Sven Neumann <sven@gimp.org>
4217 Add new PDB data type PDB_COLORARRAY for using arrays of GimpRGB
4218 colors as argument or return value.
4220 * libgimpbase/gimpbaseenums.[ch] (enum GimpPDBArgType): replaced
4221 the unused GIMP_PDB_BOUNDARY with GIMP_PDB_COLORARRAY.
4223 * libgimpbase/gimpprotocol.h: increased GIMP_PROTOCOL_VERSION.
4224 (struct _GPParam): added d_colorarray entry to the union.
4226 * libgimpbase/gimpprotocol.c
4228 * app/pdb/gimp-pdb-compat.c
4229 * app/plug-in/plug-in-params.c
4230 * app/plug-in/gimpplugin-message.c
4231 * tools/pdbgen/pdb.pl: deal with the new data type.
4233 * tools/pdbgen/enums.pl: regenerated.
4235 * plug-ins/pygimp/pygimp-pdb.c
4236 * plug-ins/script-fu/scheme-wrapper.c: handle the new data type.
4238 2008-07-14 Sven Neumann <sven@gimp.org>
4240 * app/widgets/gimpcontrollerkeyboard.c: changed cursor key event
4241 prefix from "key-" to "cursor-".
4243 * etc/controllerrc: changed accordingly. Also removed default
4244 bindings for cursor keys without modifiers as many tools use the
4245 cursor keys already.
4247 2008-07-14 Sven Neumann <sven@gimp.org>
4249 * app/display/gimpdisplayshell-scale.c
4250 (gimp_display_shell_scale_setup): added some line breaks to
4251 improve readability.
4253 2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
4255 * app/display/gimpdisplayshell-scale.[ch]
4256 (gimp_display_shell_center_image): Allow to choose what axes to
4259 (gimp_display_shell_scale_fill)
4260 (gimp_display_shell_scale_fit_in): Explicitly center on both axes.
4262 * app/display/gimpdisplayshell.c (gimp_display_shell_fill): Center
4263 the image in the previously empty display shell. Rather hackish,
4264 but seems to work fine.
4266 2008-07-13 Sven Neumann <sven@gimp.org>
4268 * app/widgets/Makefile.am
4269 * app/widgets/gimpdbusservice.[ch]
4270 * app/widgets/dbus-service.xml: removed here ...
4272 * app/gui/Makefile.am
4273 * app/gui/gimpdbusservice.[ch]
4274 * app/gui/dbus-service.xml: ... and moved here.
4275 (gimp_dbus_service_activate): raise the first display instead of
4278 * app/gui/gui-unique.c (gui_unique_win32_idle_open): same change
4279 here, raise the display instead of the toolbox.
4281 * app/unique.c: changed accordingly.
4283 2008-07-13 Sven Neumann <sven@gimp.org>
4286 * app/gui/gui-unique.c: on Win32, if the gimp binary is started
4287 without filenames, raise the toolbox, just as we do in the DBus
4290 2008-07-13 Aurimas Juška <aurisj@svn.gnome.org>
4292 * app/unique.c (gimp_unique_win32_open): check for NULL pointer to
4293 prevent crash when there are no filenames provided.
4295 2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
4297 * app/display/gimpdisplayshell.c (gimp_display_shell_new): Get rid
4298 of non-intelligent scrollbar stepper sensitivity code.
4300 * app/display/gimpdisplayshell-scroll.c
4301 (gimp_display_shell_scroll_clamp_offsets): Add intelligent
4302 scrollbar stepper sensitivity code.
4304 2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
4306 * app/display/gimpdisplayshell-scroll.c
4307 (gimp_display_shell_setup_hscrollbar_with_value): Consistency
4310 2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
4312 * app/display/gimpdisplayshell-scale.[ch]
4313 (gimp_display_shell_center_image): New function.
4314 (gimp_display_shell_scale_fill)
4315 (gimp_display_shell_scale_fit_in): Center the image at the end.
4317 2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
4319 * app/display/gimpdisplayshell-scroll.c
4320 (gimp_display_shell_setup_hscrollbar_with_value)
4321 (gimp_display_shell_setup_vscrollbar_with_value): Use
4322 gimp_display_shell_get_scaled_image_size() instead of inaccurately
4323 calculate that information locally.
4325 2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
4327 * app/display/gimpnavigationeditor.c
4328 (gimp_navigation_editor_popup): BORDER_PEN_WIDTH is a normal
4329 constant, no need for voodoo.
4331 2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
4333 * app/display/gimpdisplayshell-scroll.[ch]
4334 (gimp_display_shell_get_scaled_image_size): New function that
4335 contains logic previously kept in gimp_display_shell_draw_area().
4337 * app/display/gimpdisplayshell-draw.c
4338 (gimp_display_shell_draw_area): Use the new function.
4340 2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
4342 * app/display/gimpdisplayshell.c (gimp_display_shell_fill): Don't
4343 ask gimp_display_shell_set_initial_scale() for display size, we
4346 2008-07-12 Martin Nordholts <martinn@svn.gnome.org>
4348 The following change is conceptually based on a patch by
4349 Alexia Death and implements the core functionality for
4352 * app/display/gimpdisplayshell-scroll.[ch]
4353 (gimp_display_shell_scroll_clamp_offsets): Clamp the offsets in
4354 such a way that allows to scroll beyond the image border.
4356 (gimp_display_shell_setup_hscrollbar_with_value)
4357 (gimp_display_shell_setup_vscrollbar_with_value): Put common
4358 scrollbar range setup code here.
4360 * app/display/gimpdisplayshell-scale.c
4361 (gimp_display_shell_scale_setup): Use above helper functions for
4362 setting up scrollbar range.
4364 * app/display/gimpdisplayshell-callbacks.c: Handle adjustment of
4365 the scrollbar range when they are about to change value.
4367 * app/display/gimpdisplayshell.c: Always keep the scrollbar
4368 steppers sensitive to user input.
4370 2008-07-12 Martin Nordholts <martinn@svn.gnome.org>
4372 * app/display/gimpdisplayshell-scroll.c:
4373 Replace gimp_display_shell_scroll() with
4374 gimp_display_shell_center_around_image_coordinate() since that is
4375 easier to map to something sensible when we allow to scroll beyond
4378 * app/display/gimpnavigationeditor.c
4379 (gimp_navigation_editor_marker_changed): Adapt to the new
4382 2008-07-12 Martin Nordholts <martinn@svn.gnome.org>
4384 * app/display/gimpdisplayshell-scroll.c
4385 (gimp_display_shell_get_viewport): Remove invalid TODO.
4387 2008-07-12 Martin Nordholts <martinn@svn.gnome.org>
4389 * app/core/gimpmarshal.list: Added
4390 VOID__DOUBLE_DOUBLE_DOUBLE_DOUBLE marshaller.
4392 * app/widgets/gimpnavigationview.c: Make the "marker-changed"
4393 signal also pass the marker width and height as parameters.
4395 * app/display/gimpnavigationeditor.c: Updated accordingly.
4397 2008-07-12 Sven Neumann <sven@gimp.org>
4399 * configure.in: fixed check for babl.
4401 2008-07-12 Martin Nordholts <martinn@svn.gnome.org>
4403 * configure.in: Prefered casing of `babl' is `babl'.
4405 2008-07-12 Martin Nordholts <martinn@svn.gnome.org>
4407 * app/display/gimpdisplayshell-scale.c
4408 (gimp_display_shell_scale_setup): The scrollbars should be setup
4409 using the new offset, not the old counterpart.
4411 2008-07-12 Sven Neumann <sven@gimp.org>
4413 * app/tools/gimprectangletool.c: formatting.
4415 2008-07-12 Sven Neumann <sven@gimp.org>
4417 * app/core/gimpparamspecs.[ch]: added GIMP_TYPE_COLOR_ARRAY and
4418 GIMP_TYPE_PARAM_COLOR_ARRAY in preparation for fixing bug #332206.
4420 2008-07-12 Martin Nordholts <martinn@svn.gnome.org>
4422 * app/display/gimpdisplayshell-scale.c
4423 (gimp_display_shell_scale_setup): Renamed the variables sx and sy
4426 2008-07-12 Martin Nordholts <martinn@svn.gnome.org>
4428 In this ChangeLog entry, disp_offset means disp_[xy]offset and
4429 offset means offset_[xy].
4431 * app/display/gimpdisplayshell.[ch]: Kill disp_offset! We now
4432 represent that by a negative offset.
4434 * app/display/gimpdisplayshell-scroll.[ch]
4435 (gimp_display_shell_scroll_clamp_offsets)
4436 (gimp_display_shell_get_scaled_image_viewport_offset): Adjust
4437 accordingly to preserve current behaviour.
4439 (gimp_display_shell_get_disp_offset): New function to get the old
4440 disp_offset based on the new offset.
4442 (gimp_display_shell_get_render_start_offset): New function to get
4443 the old offset based on the new offset.
4445 * app/display/gimpdisplayshell-draw.c
4446 * app/display/gimpdisplayshell-scale.c
4447 * app/display/gimpdisplayshell-render.c: Get rid of disp_offset
4448 and use gimp_display_shell_get_disp_offset() and
4449 gimp_display_shell_get_render_start_offset() instead.
4451 2008-07-11 Martin Nordholts <martinn@svn.gnome.org>
4453 * app/display/gimpdisplayshell-scale.c
4454 (gimp_display_shell_scale_setup): Remove #if zeroed debug output.
4456 2008-07-11 Martin Nordholts <martinn@svn.gnome.org>
4458 * app/display/gimpdisplayshell-scale.c
4459 (gimp_display_shell_scale_setup): Restructure the way the rulers
4460 are setup, partly by making use of the new nifty
4461 gimp_display_shell_get_scaled_image_viewport_offset().
4463 2008-07-11 Martin Nordholts <martinn@svn.gnome.org>
4465 * app/display/gimpdisplayshell-transform.c
4466 (gimp_display_shell_transform_xy_f)
4467 (gimp_display_shell_untransform_xy_f): We can use
4468 gimp_display_shell_get_scaled_image_viewport_offset() here
4470 * app/display/gimpdisplayshell-scroll.c
4471 (gimp_display_shell_get_scaled_viewport): and here.
4473 2008-07-11 Martin Nordholts <martinn@svn.gnome.org>
4475 * app/display/gimpdisplayshell-scroll.[ch]
4476 (gimp_display_shell_get_viewport)
4477 (gimp_display_shell_get_scaled_viewport)
4478 (gimp_display_shell_get_scaled_image_viewport_offset): const- and
4479 g_return_if_fail-ify.
4481 2008-07-11 Sven Neumann <sven@gimp.org>
4483 * app/tools/gimprotatetool.c (gimp_rotate_tool_key_press): simplified.
4485 2008-07-11 Martin Nordholts <martinn@svn.gnome.org>
4487 * app/display/gimpdisplayshell-scroll.[ch]
4488 (gimp_display_shell_get_scaled_image_viewport_offset): New
4489 function to replace any occurance of
4491 shell->disp_[xy]offset - shell->offset_[xy]
4493 that is just an implementation specific way of saying the same
4496 * app/display/gimpdisplayshell-draw.c
4497 * app/display/gimpdisplayshell-transform.c: Make the code less
4498 implementation dependant by using the new function.
4500 2008-07-11 Martin Nordholts <martinn@svn.gnome.org>
4502 * app/display/gimpdisplayshell-draw.c
4503 (gimp_display_shell_draw_area): Update comment.
4505 2008-07-11 Tor Lillqvist <tml@novell.com>
4507 * app/app.c: Drop duplicated #include <gegl.h>.
4509 * app/gui/gui-unique.c (idle_open_data_new): Fix g_slice_new()
4512 2008-07-11 Sven Neumann <sven@gimp.org>
4514 * plug-ins/selection-to-path/pxl-outline.c (append_coordinate):
4515 use g_printerr() for debug output.
4517 2008-07-11 Sven Neumann <sven@gimp.org>
4519 * app/gui/gui-unique.c: dispatch opening to an idle handler.
4521 2008-07-11 Sven Neumann <sven@gimp.org>
4523 * docs/gimp.1.in: removed reference to gimp-remote(1).
4525 2008-07-11 Sven Neumann <sven@gimp.org>
4528 * docs/Makefile.am: made the build of gimp-remote optional and
4529 disable it by default.
4531 * INSTALL: document the --enable-gimp-remote configure option.
4533 2008-07-11 Tor Lillqvist <tml@novell.com>
4535 * app/unique.c (gimp_unique_filename_to_uri): Check GError being
4537 (gimp_unique_win32_open): Add missing semicolon.
4539 * app/gui/gui-unique.c: Include <windows.h> on Windows.
4540 (gui_unique_win32_init): Drop unused variable.
4542 2008-07-11 Sven Neumann <sven@gimp.org>
4544 * app/core/gimpscanconvert.c
4545 * app/vectors/gimpbezierstroke.c
4546 * app/vectors/gimpvectors.c: include <cairo.h> instead of
4549 2008-07-11 Sven Neumann <sven@gimp.org>
4552 * app/gui/gui-unique.[ch]: merged code from bug #410439 to provide
4553 builtin gimp-win-remote functionality for Win32. This is untested
4554 and most probably doesn't even compile.
4556 2008-07-11 Sven Neumann <sven@gimp.org>
4558 * app/gui/Makefile.am
4559 * app/gui/gui-unique.[ch]: new files providing functionality to
4560 ensure a unique GUI instance of GIMP. Code split out of gui.c.
4562 * app/gui/gui.c: changed accordingly.
4564 2008-07-11 Sven Neumann <sven@gimp.org>
4567 * app/unique.[ch]: new files containing functionality to check for
4568 an already running instance of GIMP of notifying it about files to
4569 open. Code split out of main.c.
4571 * app/main.c: changed accordingly.
4573 2008-07-11 Sven Neumann <sven@gimp.org>
4575 * app/main.c (gimp_init_malloc): removed misleading comment.
4577 2008-07-11 Sven Neumann <sven@gimp.org>
4579 * app/base/color-balance.c (color_balance_create_lookup_tables):
4580 formatting, to improve readability.
4582 2008-07-11 Martin Nordholts <martinn@svn.gnome.org>
4584 * app/display/gimpdisplayshell-scroll.[ch]
4585 (gimp_display_shell_get_viewport): Extend the interface with this
4588 * app/display/gimpnavigationeditor.c
4589 (gimp_navigation_editor_update_marker): Use it here.
4591 2008-07-10 Martin Nordholts <martinn@svn.gnome.org>
4593 * app/display/gimpdisplayshell-scroll.[ch]
4594 (gimp_display_shell_get_scaled_viewport): Extend the interface
4597 * app/tools/gimprectangletool.c
4598 (gimp_rectangle_tool_update_handle_sizes): Forget anything we knew
4599 about how to interpret the icky GimpDisplayShell offset variables
4601 2008-07-10 Martin Nordholts <martinn@svn.gnome.org>
4603 * app/display/gimpdisplayshell-scroll.[ch]: Make
4604 gimp_display_shell_scroll() a sane public interface for scrolling
4605 and call the old version gimp_display_shell_scroll_private()
4607 * app/display/gimpnavigationeditor.c: Adapt to the saner version
4608 of gimp_display_shell_scroll()
4610 * app/display/gimpdisplayshell-callbacks.c:
4611 * app/display/gimpdisplayshell-autoscroll.c: Use the private
4612 version of gimp_display_shell_scroll()
4614 * app/display/Makefile.am: Added gimpdisplayshell-private.h
4616 2008-07-10 Martin Nordholts <martinn@svn.gnome.org>
4618 * app/display/gimpdisplayshell-scroll.[ch]: The return value of
4619 gimp_display_shell_scroll() is not used anywhere, make it void.
4621 2008-07-10 Manish Singh <yosh@gimp.org>
4623 * plug-ins/pygimp/pygimp-pdb.c: Allow None to be passed for
4626 2008-07-10 Sven Neumann <sven@gimp.org>
4628 * app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui):
4629 changed expander title to "Brush Dynamics".
4631 2008-07-10 Sven Neumann <sven@gimp.org>
4633 * app/widgets/gimphelp.c: some changes to the dialog that is shown
4634 if the help browser is missing.
4636 2008-07-10 Sven Neumann <sven@gimp.org>
4638 * docs/gimp.1.in: document the --help-gegl command-line option.
4640 2008-07-10 Sven Neumann <sven@gimp.org>
4642 * app/display/gimpdisplayshell-progress.c
4643 (gimp_display_shell_progress_message): swallow informational
4644 messages if there aren't handled by the statusbar.
4646 2008-07-10 Sven Neumann <sven@gimp.org>
4648 * app/core/gimpdata.[ch]: renamed gimp_data_name_compare() to
4649 gimp_data_compare() and changed it to keep the data in three
4650 groups: internal, writable and system resource files. Inside the
4651 groups the sorting order is alphabetical.
4653 * app/core/gimpdatafactory.c (gimp_data_factory_new): changed
4656 2008-07-10 Sven Neumann <sven@gimp.org>
4658 * app/core/gimpdatafactory.[ch] (gimp_data_factory_new): renamed
4661 2008-07-09 Sven Neumann <sven@gimp.org>
4663 * app/core/gimp-user-install.c (gimp_user_install_detect_old):
4664 fixed misplaced debug output.
4666 2008-07-09 Sven Neumann <sven@gimp.org>
4668 * app/display/gimpdisplayshell-close.c (gimp_display_shell_close):
4669 if a save dialog is active for this image, then don't allow to
4670 close it. Fixes bug #511965.
4672 2008-07-09 Sven Neumann <sven@gimp.org>
4674 * app/display/gimpstatusbar.c (gimp_statusbar_progress_message):
4675 don't accept a progress message if the status bar is already
4676 showing a temporary message.
4678 2008-07-09 Sven Neumann <sven@gimp.org>
4680 * plug-ins/common/tiff-load.c (tiff_warning): send warnings about
4681 unknown fields to stderr instead of using the log mechanism.
4683 2008-07-09 Sven Neumann <sven@gimp.org>
4685 * app/tools/gimppainttool.c (gimp_paint_tool_motion): don't paint
4686 while the Shift key is pressed for line drawing (bug #529434).
4688 2008-07-08 Martin Nordholts <martinn@svn.gnome.org>
4690 * plug-ins/pygimp/gimpmodule.c (gimp_methods): Remove duplicate
4691 entry of gimp.get_foreground().
4693 2008-07-08 Sven Neumann <sven@gimp.org>
4695 * plug-ins/help-browser/dialog.c (build_menu): plugged a memory leak.
4697 2008-07-08 Sven Neumann <sven@gimp.org>
4699 * plug-ins/help-browser/dialog.c (load_finished): select the
4700 current URI in the index. Pointed out by Roman Joost.
4702 2008-07-07 Sven Neumann <sven@gimp.org>
4704 * app/widgets/gimphelp.c (gimp_help_query_user_manual_online):
4705 changed button label and added an icon.
4707 2008-07-07 Sven Neumann <sven@gimp.org>
4709 * app/paint/gimppaintoptions.c
4710 (gimp_paint_options_get_dynamic_hardness): applied patch from
4711 Alexia Death fixing a cut'n'paste error.
4713 2008-07-07 Sven Neumann <sven@gimp.org>
4715 * app/tools/gimppaintoptions-gui.c (tool_has_size_dynamics): check
4716 for tools derived from GimpPaintBrushTool just as we do in
4717 tool_has_opacity_dynamics().
4718 (tool_has_hardness_dynamics): enable hardness dynamics for the
4719 eraser tool (bug #541691).
4721 2008-07-07 Sven Neumann <sven@gimp.org>
4723 * app/widgets/gimphelp.c (gimp_help_query_user_manual_online):
4724 command button labels should be capitalized in header style.
4726 2008-07-07 Sven Neumann <sven@gimp.org>
4728 * themes/Default/images/stock-user-manual-64.png: recreated from SVG.
4730 2008-07-07 Sven Neumann <sven@gimp.org>
4732 * app/composite/gimp-composite-*test.c: declared test functions as
4735 2008-07-07 Sven Neumann <sven@gimp.org>
4737 * app/widgets/gimphelp.c: use GIMP_LOG() for debug output.
4739 2008-07-06 Sven Neumann <sven@gimp.org>
4741 * app/widgets/gimphelp.c: if the user asks for help and the user
4742 manual is not locally installed, show a dialog that allows to
4743 change the preferences so that the online version is used.
4745 2008-07-06 Sven Neumann <sven@gimp.org>
4747 * plug-ins/help/gimphelpdomain.c: improved error messages.
4749 2008-07-05 Martin Nordholts <martinn@svn.gnome.org>
4751 * app/display/gimpdisplayshell-scroll.c
4752 (gimp_display_shell_scroll_clamp_offsets): Renamed the variables sx
4753 and sy to sw and sh.
4755 2008-07-05 Sven Neumann <sven@gimp.org>
4757 * app/widgets/gimphelp.c (gimp_help_user_manual_is_installed):
4758 always return TRUE if GIMP2_HELP_URI environment variable is set.
4760 2008-07-05 Sven Neumann <sven@gimp.org>
4762 * app/dialogs/preferences-dialog.c
4763 * app/widgets/gimphelp.[ch]: improved test for user manual
4764 installation and moved the code out of the prefs dialog.
4766 2008-07-05 Martin Nordholts <martinn@svn.gnome.org>
4768 * app/tools/gimprectangletool.c:
4769 * app/tools/gimpeditselectiontool.c: Simplify math.
4771 2008-07-05 Martin Nordholts <martinn@svn.gnome.org>
4773 * app/tools/gimprectangletool.c:
4774 * app/tools/gimpeditselectiontool.c: Mark the center of
4775 rectangles/bounding rectangles so that it is easier to predict and
4776 see where snapping occurs. Completes the fix for bug #527659.
4778 2008-07-05 Martin Nordholts <martinn@svn.gnome.org>
4780 * app/tools/gimpeditselectiontool.[ch]: Don't expose the icky
4781 implementation details.
4783 2008-07-05 Martin Nordholts <martinn@svn.gnome.org>
4785 * data/tips/gimp-tips.xml.in: Removed tip about how to make a
4786 circular selection. It's much more discoverable now than it was in
4787 GIMP 2.2, and the current description is faulty. (Bug #486599.)
4789 2008-07-04 Sven Neumann <sven@gimp.org>
4791 * app/widgets/gimphelp.[ch]: added a function to get the location
4792 where the user manual is expected if it is installed locally.
4794 * app/dialogs/preferences-dialog.c: inform the user about the
4795 presence or absence of the user manual.
4797 2008-07-04 Sven Neumann <sven@gimp.org>
4799 * plug-ins/help-browser/dialog.c (browser_dialog_make_index_foreach):
4800 improved order of index items with alphabetic counters.
4802 2008-07-04 Sven Neumann <sven@gimp.org>
4804 * plug-ins/help/gimphelpitem.h: document the purpose of the extra
4807 * plug-ins/help-browser/dialog.c: limit the depth of the index to 4.
4809 2008-07-04 Sven Neumann <sven@gimp.org>
4811 * app/core/gimpgrid.c: changed default grid to a 10x10 grid of
4812 solid lines (bug #539318).
4814 2008-07-03 Sven Neumann <sven@gimp.org>
4816 * app/actions/dialogs-actions.c (dialogs_toplevel_actions):
4817 changed blurb for "dialog-tips".
4819 2008-07-03 Sven Neumann <sven@gimp.org>
4821 * app/display/gimpdisplayshell-callbacks.c
4822 (gimp_display_shell_events): don't use Escape to quit full-screen
4823 mode, it collides with tools using the Escape key (bug #539949).
4825 2008-07-03 Lars-Peter Clausen <lars@metafoo.de>
4827 * plug-ins/pygimp/pygimp-drawable.c
4828 * plug-ins/pygimp/pygimp-vectors.c
4829 * plug-ins/pygimp/pygimp-display.c
4830 * plug-ins/pygimp/pygimp-image.c: Added checks to ensure that a
4831 python object only is created if its id is valid. Fixes bug #536403.
4833 * plug-ins/pygimp/pygimp-pdb.c
4834 * plug-ins/pygimp/pygimp-tile.c
4835 * plug-ins/pygimp/pygimp-colors.c
4836 * plug-ins/pygimp/pygimp.h: Fix crashing when pygimp is used with
4837 python-2.5 on 64 bit systems. Fixes bug #540629.
4839 2008-07-03 Sven Neumann <sven@gimp.org>
4841 * app/widgets/gimpsettingsbox.c (gimp_settings_box_constructor)
4842 * app/widgets/gimpsettingseditor.c (gimp_settings_editor_constructor):
4843 removed trailing period from tooltip texts.
4845 * app/config/gimprc-blurbs.h: don't mark USER_MANUAL_ONLINE_BLURB
4846 for translation, it is not used in the user interface.
4848 2008-07-03 Sven Neumann <sven@gimp.org>
4850 * INSTALL: mention the fact that intltool now needs to be
4851 installed in order to build from tarball.
4853 * HACKING: removed mentioning of intltoolize here.
4855 2008-07-02 Jakub Steiner <jimmac@ximian.com>
4857 * themes/Default/images/stock-gegl-16.png
4858 * themes/Default/images/stock-gegl-16.svg
4859 * themes/Default/images/stock-gegl-22.png
4860 * themes/Default/images/stock-gegl-22.svg
4861 * themes/Default/images/stock-gegl.svg: tweak icons to comply with
4862 tango style guidelines
4864 2008-07-01 Sven Neumann <sven@gimp.org>
4866 * themes/Default/images/stock-gegl-16.png
4867 * themes/Default/images/stock-gegl-22.png: changed GEGL stock icon
4868 based on the new GEGL logo.
4870 * themes/Default/images/stock-gegl.svg: added SVG version.
4872 2008-06-30 Michael Natterer <mitch@gimp.org>
4874 * app/widgets/gimphistogrambox.c
4875 (gimp_histogram_box_high_adj_update): don't call
4876 gtk_adjustment_get_value() on a gint.
4878 2008-06-30 Michael Natterer <mitch@gimp.org>
4880 * app/dialogs/file-open-dialog.c (file_open_dialog_response):
4881 restore code that sets the dialog back to sensitive when opening
4882 fails because it stays open. Fixes bug #540801.
4884 2008-06-29 Michael Natterer <mitch@gimp.org>
4886 * app/tools/gimpgegltool.c (gimp_gegl_tool_dialog): remove size
4887 group code because the size group doesn't exist if there is no
4890 2008-06-29 Michael Natterer <mitch@gimp.org>
4892 * app/dialogs/channel-options-dialog.c
4893 * app/dialogs/palette-import-dialog.c
4894 * app/display/gimpdisplayshell-callbacks.c
4895 * app/display/gimpnavigationeditor.c
4896 * app/tools/gimpbrightnesscontrasttool.c
4897 * app/tools/gimpcolorbalancetool.c
4898 * app/tools/gimpcolorizetool.c
4899 * app/tools/gimphuesaturationtool.c
4900 * app/tools/gimplevelstool.c
4901 * app/tools/gimpposterizetool.c
4902 * app/widgets/gimpbrusheditor.c
4903 * app/widgets/gimpbrushfactoryview.c
4904 * app/widgets/gimpbrushselect.c
4905 * app/widgets/gimpcolormapeditor.c
4906 * app/widgets/gimpcontainertreeview-dnd.c
4907 * app/widgets/gimpgradienteditor.c
4908 * app/widgets/gimphistogrambox.c
4909 * app/widgets/gimppaletteeditor.c
4910 * app/widgets/gimpscalebutton.c: replace adjustment->value by
4911 gtk_adjustment_get_value (adjustment).
4913 2008-06-29 Michael Natterer <mitch@gimp.org>
4915 * plug-ins/color-rotate/color-rotate-callbacks.c
4916 * plug-ins/gfig/gfig-grid.c
4917 * plug-ins/gimpressionist/general.c
4918 * plug-ins/gimpressionist/orientmap.c
4919 * plug-ins/gimpressionist/paper.c
4920 * plug-ins/gimpressionist/placement.c
4921 * plug-ins/gimpressionist/sizemap.c
4922 * plug-ins/gimpressionist/utils.c
4923 * plug-ins/ifs-compose/ifs-compose.c
4924 * plug-ins/imagemap/imap_grid.c
4925 * plug-ins/jpeg/jpeg-save.c
4926 * plug-ins/print/print-preview.c
4927 * plug-ins/win-snap/winsnap.c: use accessors instead of accessing
4928 members of GTK+ widgets directly.
4930 2008-06-28 Michael Natterer <mitch@gimp.org>
4934 * pygimp-colors.c: revert last patch because Py_ssize_t is
4935 undefined in some (older?) pythons. Needs more investigation.
4937 2008-06-28 Michael Natterer <mitch@gimp.org>
4939 * app/widgets/gimpviewrendererimagefile.c
4940 (gimp_view_renderer_imagefile_get_icon): add widget parameter so
4941 we can get the right icon theme for the screen. If building
4942 against GTK+ >= 2.13.4, use GFile to get proper file type icons.
4944 (gimp_view_renderer_imagefile_render): pass the widget.
4946 (get_icon_fallback): remove this unused function.
4948 2008-06-28 Martin Nordholts <martinn@svn.gnome.org>
4950 * app/widgets/gtkscalebutton.h: Remove uses of GSEAL macro to make
4951 the thing compile on systems without bleeding edge GTK+.
4953 2008-06-28 Michael Natterer <mitch@gimp.org>
4955 This is completely evil:
4957 * app/widgets/Makefile.am
4958 * app/widgets/gtkscalebutton.[ch]: copy GtkScaleButton from GTK+
4959 upstream trunk and hack around until symbol conflicts are gone
4962 * app/widgets/gimppropwidgets.c
4963 * app/widgets/gimpscalebutton.[ch]: use the hacked version instead
4964 of the one from GTK+. Set the orientation to horizontal.
4966 2008-06-28 Michael Natterer <mitch@gimp.org>
4968 * plug-ins/common/animation-play.c
4969 * plug-ins/common/cml-explorer.c
4970 * plug-ins/common/convolution-matrix.c
4971 * plug-ins/common/curve-bend.c
4972 * plug-ins/common/despeckle.c
4973 * plug-ins/common/filter-pack.c
4974 * plug-ins/common/gee-zoom.c
4975 * plug-ins/common/gee.c
4976 * plug-ins/common/lens-flare.c
4977 * plug-ins/common/newsprint.c
4978 * plug-ins/common/nova.c
4979 * plug-ins/common/postscript.c
4980 * plug-ins/common/sample-colorize.c
4981 * plug-ins/common/sphere-designer.c
4982 * plug-ins/common/tile-small.c: use accessors instead of accessing
4983 members of GTK+ widgets directly.
4985 2008-06-28 Martin Nordholts <martinn@svn.gnome.org>
4989 * pygimp-colors.c: Applied patch from Ed Swartz that makes use of
4990 Py_ssize_t:s instead of int:s to better utilize 64-bit
4991 systems. (Bug #540629.)
4993 2008-06-28 Michael Natterer <mitch@gimp.org>
4995 * app/widgets/gimpcontainertreeview.[ch]: add new function
4996 gimp_container_tree_view_connect_name_edited() which makes the
4997 name cell editable and connects a passed "edited" callback.
4999 * app/widgets/gimpdatafactoryview.c
5000 * app/widgets/gimpitemtreeview.c
5001 * app/widgets/gimpsettingseditor.c
5002 * app/widgets/gimptemplateview.c: use it instead of having the
5003 same code four times.
5005 2008-06-28 Michael Natterer <mitch@gimp.org>
5007 * app/widgets/gimpactionview.c
5008 * app/widgets/gimpblobeditor.c
5009 * app/widgets/gimpbrushfactoryview.c
5010 * app/widgets/gimpbrushselect.c
5011 * app/widgets/gimpcellrendererdashes.c
5012 * app/widgets/gimpcellrendererviewable.c
5013 * app/widgets/gimpcolorbar.c
5014 * app/widgets/gimpcoloreditor.c
5015 * app/widgets/gimpcolorframe.c
5016 * app/widgets/gimpcomponenteditor.c
5017 * app/widgets/gimpcontainerbox.c
5018 * app/widgets/gimpcontainergridview.c
5019 * app/widgets/gimpcontainerpopup.c
5020 * app/widgets/gimpcontainertreeview.c
5021 * app/widgets/gimpcurveview.c
5022 * app/widgets/gimpdasheditor.c
5023 * app/widgets/gimpdatafactoryview.c
5024 * app/widgets/gimpdock.c
5025 * app/widgets/gimpdockable.c
5026 * app/widgets/gimpdockseparator.c
5027 * app/widgets/gimpfgbgeditor.c
5028 * app/widgets/gimpfgbgview.c
5029 * app/widgets/gimpgradienteditor.c
5030 * app/widgets/gimphandlebar.c
5031 * app/widgets/gimphistogrambox.c
5032 * app/widgets/gimphistogramview.c
5033 * app/widgets/gimpitemtreeview.c
5034 * app/widgets/gimpmenudock.c
5035 * app/widgets/gimpmessagebox.c
5036 * app/widgets/gimppaletteview.c
5037 * app/widgets/gimpscalebutton.c
5038 * app/widgets/gimpsessioninfo-book.c
5039 * app/widgets/gimpsessioninfo-dock.c
5040 * app/widgets/gimpsettingseditor.c
5041 * app/widgets/gimpstrokeeditor.c
5042 * app/widgets/gimptemplateeditor.c
5043 * app/widgets/gimptemplateview.c
5044 * app/widgets/gimpthumbbox.c
5045 * app/widgets/gimptoolbox.c
5046 * app/widgets/gimptooloptionseditor.c
5047 * app/widgets/gimptoolview.c
5048 * app/widgets/gimpuimanager.c
5049 * app/widgets/gimpviewabledialog.c
5050 * app/widgets/gimpviewrenderervectors.c
5051 * app/widgets/gimpwidgets-utils.c: use accessors instead of
5052 accessing members of GTK+ widgets directly.
5054 2008-06-28 Michael Natterer <mitch@gimp.org>
5056 * plug-ins/uri/uri-backend-gvfs.c (uri_progress_callback): fix
5057 progress display by making sure gimp_progress_update() gets a
5060 2008-06-28 Michael Natterer <mitch@gimp.org>
5062 * app/actions/layers-commands.c
5063 * app/actions/view-actions.c
5064 * app/dialogs/about-dialog.c
5065 * app/dialogs/layer-options-dialog.c
5066 * app/dialogs/preferences-dialog.c
5067 * app/display/gimpcanvas.c
5068 * app/display/gimpdisplayshell-appearance.c
5069 * app/display/gimpnavigationeditor.c
5070 * modules/colorsel_water.c: use accessors instead of accessing
5071 members of GTK+ widgets directly.
5073 2008-06-28 Michael Natterer <mitch@gimp.org>
5075 * libgimp/gimpgradientselectbutton.c
5076 * libgimp/gimpmenu.c
5077 * libgimpwidgets/gimpbrowser.c
5078 * libgimpwidgets/gimpcellrenderercolor.c
5079 * libgimpwidgets/gimpcellrenderertoggle.c
5080 * libgimpwidgets/gimpchainbutton.c
5081 * libgimpwidgets/gimpcolorarea.c
5082 * libgimpwidgets/gimpcolorscale.c
5083 * libgimpwidgets/gimpcolorscales.c
5084 * libgimpwidgets/gimpcolorselect.c
5085 * libgimpwidgets/gimpenumwidgets.c
5086 * libgimpwidgets/gimpframe.c
5087 * libgimpwidgets/gimphelpui.c
5088 * libgimpwidgets/gimpoffsetarea.c
5089 * libgimpwidgets/gimppreviewarea.c
5090 * libgimpwidgets/gimppropwidgets.c
5091 * libgimpwidgets/gimpscrolledpreview.c: use accessors instead of
5092 accessing members of GTK+ widgets directly.
5094 2008-06-28 Michael Natterer <mitch@gimp.org>
5096 * app/widgets/gimplanguagestore-parser.c: include
5097 "libgimpbase/gimpbase.h" instead of "libgimpbase/gimpenv.h".
5099 2008-06-28 Michael Natterer <mitch@gimp.org>
5101 * app/widgets/gimpdbusservice.c: eek, include "gimpuimanager.h"
5102 not "gimpuimanager.c".
5104 2008-06-28 Michael Natterer <mitch@gimp.org>
5106 * app/actions/tools-commands.c (tools_activate_enum_action):
5107 simply call gimp_enum_action_selected() instead of poking around
5108 in the action's internals and calling gimp_action_activate()
5110 2008-06-28 Michael Natterer <mitch@gimp.org>
5112 * app/widgets/gimpaction.c (gimp_action_set_proxy): simplify the
5113 logic of setting "color" or "viewable" previews on menuitems.
5115 2008-06-27 Michael Natterer <mitch@gimp.org>
5117 * app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui): swap
5118 the angles of the dynamics matrix' labels in RTL and LTR mode so
5119 the beginning of the words are aligned and on bottom.
5121 2008-06-26 Michael Natterer <mitch@gimp.org>
5123 * app/widgets/gimpscalebutton.c (gimp_scale_button_init): hide the
5124 popup's plus and minus buttons, they are completely pointless.
5126 2008-06-25 Michael Natterer <mitch@gimp.org>
5128 * app/widgets/gimpsettingsbox.c: make sure the file dialog goes
5129 away when the settings box' toplevel is hidden. Set the
5130 alternative button order on the file dialog.
5132 2008-06-25 Michael Natterer <mitch@gimp.org>
5134 * app/core/gimpmarshal.list: add marshaller BOOLEAN__STRING for
5137 * app/widgets/gimpsettingsbox.[ch]: add the import/export dialogs
5138 here. Add a bunch of parameters to new() to be used by the
5139 dialogs, they are not properties yet. Changed import() and
5140 export() signals to pass the selected filename and return a
5141 boolean indicating success.
5143 * app/tools/gimpimagemaptool-settings.c: remove the dialog code
5144 here and connect the import/export functions directly to above
5145 GimpSettingsBox signals.
5147 * app/tools/gimpimagemaptool.[ch]: remove file dialog member.
5149 2008-06-25 Michael Natterer <mitch@gimp.org>
5151 * app/tools/gimpcurvestool.c (gimp_curves_tool_settings_import):
5152 parse the first line of the file manually and detect whether we
5153 are importing an old curves file or a GimpConfig one.
5155 2008-06-25 Michael Natterer <mitch@gimp.org>
5157 * app/gegl/gimpcurvesconfig.c (gimp_curves_config_load_cruft):
5158 set any parsed negative value as -1 in the curves object because
5159 that's the only negative value allowed.
5161 2008-06-25 Michael Natterer <mitch@gimp.org>
5163 * app/widgets/gimpsettingseditor.c
5164 (gimp_settings_editor_delete_clicked): select a neighboring item
5165 after deleting the selected one.
5167 2008-06-25 Michael Natterer <mitch@gimp.org>
5169 * app/widgets/gimpsettingseditor.[ch]: add dummy import and export
5170 buttons, give the list a minimum size.
5172 * app/widgets/gimpsettingsbox.c: use the correct dialog border.
5174 2008-06-25 Michael Natterer <mitch@gimp.org>
5176 * app/widgets/gimpsettingsbox.c (gimp_settings_box_constructor):
5177 tweak buttons to look the same and have no spacing between them.
5179 2008-06-25 Michael Natterer <mitch@gimp.org>
5181 * app/widgets/gimpsettingsbox.c (gimp_settings_box_constructor):
5182 move "Add to favorites" out of the menu into a small button
5183 showing a '+' icon. Add a separator between the import/export and
5184 the manage menu items.
5186 2008-06-24 Michael Natterer <mitch@gimp.org>
5188 * app/widgets/gimpsettingseditor.[ch]: enable renaming the
5189 settings objects by editing them directly in the list (renaming a
5190 recent setting moves it to the favorites section). Enable deleting
5191 settings. None of these changes is saved yet (need to trigger a
5192 save by confirming the tool or storing the current settings as
5195 2008-06-24 Michael Natterer <mitch@gimp.org>
5197 * app/widgets/gimpitemtreeview.c (gimp_item_tree_view_name_edited):
5198 don't dereference a NULL GError.
5200 2008-06-24 Michael Natterer <mitch@gimp.org>
5202 * app/widgets/gimpcontainercombobox.[ch]: made the model column
5203 enum public and namespaced it.
5205 * app/widgets/gimpsettingsbox.c: use the enum value instead of a
5208 * app/widgets/gimpsettingseditor.c: add a separator between
5209 recently used settings and favorites.
5211 2008-06-23 Martin Nordholts <martinn@svn.gnome.org>
5213 * app/tools/gimpfreeselecttool.c
5214 (gimp_free_select_tool_modifier_key): Make switching selection
5215 mode through modifier keys work again.
5217 2008-06-22 Michael Natterer <mitch@gimp.org>
5219 * app/widgets/Makefile.am
5220 * app/widgets/widgets-types.h
5221 * app/widgets/gimpsettingseditor.[ch]: skeleton of a widget to
5222 manage the list of saved settings for the image map tools. Does
5223 absolutely nothing yet apart from displaying the list of settings.
5225 * app/widgets/gimpsettingsbox.[ch]: add "Manage Settings" menu item
5226 and show a dialog containing the new widget.
5228 2008-06-21 Martin Nordholts <martinn@svn.gnome.org>
5230 * app/tools/gimpfreeselecttool.c
5231 (gimp_free_select_tool_update_motion): When applying angle
5232 constraints on the first segment vertex, base on the last segment
5233 vertex rather than not applying any constraint at all.
5235 2008-06-20 Martin Nordholts <martinn@svn.gnome.org>
5237 Make angle constraints with the Free Select Tool by using Ctrl
5238 work also when moving vertices, not only when creating new ones.
5240 * app/tools/gimpfreeselecttool.c
5241 (gimp_free_select_tool_active_modifier_key): Implement.
5243 (gimp_free_select_tool_update_motion): Put motion logic here so we
5244 can apply it from both _motion and _active_modifier_key.
5246 (gimp_free_select_tool_modifier_key): Ignore key presses from
5249 2008-06-20 Martin Nordholts <martinn@svn.gnome.org>
5251 * app/tools/gimpfreeselecttool.c: Don't alloc/free
5252 saved_points_(lower|higher)_segment on each move, instead realloc
5253 on demand and free on tool destruction, just as we do e.g. for
5256 2008-06-20 Martin Nordholts <martinn@svn.gnome.org>
5258 * app/tools/gimpfreeselecttool.c: Remove
5259 n_saved_points_(lower|higher)_segment, we don't need them.
5261 2008-06-20 Martin Nordholts <martinn@svn.gnome.org>
5263 * app/tools/gimpfreeselecttool.c (gimp_free_select_tool_finalize):
5266 2008-06-20 Michael Natterer <mitch@gimp.org>
5268 Latest GTK+ trunk deprecations showed some uglyness in gimp:
5270 * app/tools/gimpeditselectiontool.h: we were still using GTK_CHECK
5271 macros here, use proper G_TYPE type checking instead.
5273 * app/widgets/gimpuimanager.c
5274 * app/widgets/gimpdockable.c: s/GtkDestroyNotify/GDestroyNotify/.
5276 * plug-ins/help-browser/gimpthrobber.c: s/GtkType/GType/.
5278 * plug-ins/common/filter-pack.c
5279 * plug-ins/common/sample-colorize.c
5280 * plug-ins/imagemap/imap_main.c: s/GtkSignalFunc/GCallback/.
5282 2008-06-15 Michael Natterer <mitch@gimp.org>
5284 * configure.in: in the check for xfixes, add "true" as
5285 action-if-not-found so it doesn't bail out when xfixes is not
5288 There seems to be something fishy with the PKG_CHECK_MODULES()
5289 macro since adding a simple comma should also count as empty 4th
5292 2008-06-15 Sven Neumann <sven@gimp.org>
5294 * configure.in: bumped version to 2.5.2.
5296 2008-06-15 Sven Neumann <sven@gimp.org>
5298 * Made 2.5.1 development release.
5300 2008-06-14 Sven Neumann <sven@gimp.org>
5303 * configure.in (gegl_required_version)
5304 * app/sanity.c (GEGL_REQUIRED_MICRO): depend on the newest
5305 released GEGL, version 0.0.18.
5307 2008-06-13 Sven Neumann <sven@gimp.org>
5309 * app/dialogs/preferences-dialog.c: added a preliminary user
5310 interface to control the 'user-manual-online' property.
5312 2008-06-13 Martin Nordholts <martinn@svn.gnome.org>
5314 * app/tools/gimprectangletool.c (gimp_rectangle_tool_motion):
5315 Correct the improved display of the rectangle ratio.
5317 2008-06-13 Sven Neumann <sven@gimp.org>
5319 * app/tools/gimptextoptions.c (gimp_text_options_class_init):
5320 we need to define the 'highlight' property here as well.
5322 2008-06-13 Michael Natterer <mitch@gimp.org>
5324 * app/widgets/Makefile.am
5325 * app/widgets/widgets-types.h
5326 * app/widgets/gimpsettingsbox.[ch]: new widget containing the
5327 combo and menu button for the image map tool settings plus most of
5328 their logic. Has "import" and "export" signals that might go away
5329 if I figure a way to nicely abstract that. Contains some minor
5330 bugfixes and cosmetic improvements compared to the old code.
5332 * app/tools/gimpimagemaptool.[ch]
5333 * app/tools/gimpimagemaptool-settings.[ch]: changed accordingly,
5334 mostly removal of lots of code that is now in the widget.
5336 2008-06-13 Sven Neumann <sven@gimp.org>
5338 * configure.in (babl_required_version)
5339 * app/sanity.c (BABL_REQUIRED_MICRO): depend on the newest
5340 released babl, version 0.0.22.
5342 2008-06-13 Sven Neumann <sven@gimp.org>
5344 * plug-ins/help-browser/dialog.c: added a toggle action to
5345 show/hide the index sidebar, bound to Ctrl-I.
5347 2008-06-12 Sven Neumann <sven@gimp.org>
5349 Added basic support for using the online user manual:
5351 * app/widgets/gimphelp.c
5352 * plug-ins/help/gimphelp.c: moved some help logic to the core. The
5353 default help domain is now constructed in the core and passed to
5354 the help plug-ins just like the plug-in help domains.
5356 * app/config/Makefile.am
5357 * app/config/gimprc-blurbs.h
5358 * app/config/gimpguiconfig.[ch]: added gimprc properties to
5359 specify the location of the online user manual and to decide if it
5360 should be used instead of a locally installed copy.
5362 2008-06-12 Sven Neumann <sven@gimp.org>
5364 * app/tools/gimprectangletool.c (gimp_rectangle_tool_motion):
5365 try to make the display of the aspect ratio somewhat more obvious.
5367 2008-06-12 Michael Natterer <mitch@gimp.org>
5369 * app/plug-in/plug-in-menu-path.c (menu_path_mappings): also map
5370 <Toolbox>/File/Acquire to <Image>/File/New/Acquire.
5372 2008-06-12 Sven Neumann <sven@gimp.org>
5374 * plug-ins/help-browser/Makefile.am
5375 * plug-ins/help-browser/wilber-reading.svg
5376 * plug-ins/help-browser/wilber-reading.png: removed here...
5378 * themes/Default/images/Makefile.am
5379 * themes/Default/images/stock-user-manual.svg
5380 * themes/Default/images/stock-user-manual-16.png
5381 * themes/Default/images/stock-user-manual-24.png
5382 * themes/Default/images/stock-user-manual-32.png
5383 * themes/Default/images/stock-user-manual-64.png
5384 * libgimpwidgets/gimpstock.[ch]: ... and added as stock icon.
5386 * plug-ins/help-browser/dialog.c
5387 * plug-ins/help-browser/gimpthrobber.c: changed accordingly.
5388 Set the toolbar style to GTK_TOOLBAR_ICONS.
5390 2008-06-12 Michael Natterer <mitch@gimp.org>
5392 * modules/controller_midi.c: applied patch from S. Fielding which
5393 passes the right MIDI channel from the ALSA event to midi_event().
5396 2008-06-12 Sven Neumann <sven@gimp.org>
5398 * plug-ins/help-browser/dialog.c: use GTK_STOCK_HOME for the
5399 button that navigates to the index page.
5401 * plug-ins/help-browser/gimpthrobber.c
5402 (gimp_throbber_construct_contents): deal better with toolbar style
5405 2008-06-12 Sven Neumann <sven@gimp.org>
5407 * plug-ins/help-browser/dialog.c: removed the title
5408 combo-box. Instead display the title in the window title. Added
5409 "copy-location" action to the right-click menu as a replacement
5410 for the drag source that was also removed.
5412 2008-06-11 Sven Neumann <sven@gimp.org>
5414 * plug-ins/help/help.c (load_help_idle): don't show progress for
5415 local help lookups, they are fast enough.
5417 * plug-ins/help-browser/help-browser.c: added the same progress
5418 code here. Might want to move it to the dialog window later.
5420 2008-06-11 Sven Neumann <sven@gimp.org>
5422 * configure.in: reverted last change (use of IT_PO_SUBDIR).
5424 2008-06-11 Sven Neumann <sven@gimp.org>
5426 * desktop/gimp.desktop.in.in: removed deprecated field "Encoding".
5428 2008-06-11 Sven Neumann <sven@gimp.org>
5430 * app/config/Makefile.am: make test-config link properly.
5432 2008-06-11 Sven Neumann <sven@gimp.org>
5434 * configure.in: use IT_PO_SUBDIR() to define the extra po
5435 directories. Removed extra AC_CONFIG_COMMANDS that became
5436 obsolete by this change.
5438 2008-06-11 Sven Neumann <sven@gimp.org>
5440 * autogen.sh: bumped INTLTOOL_REQUIRED_VERSION to 0.35.5. We
5441 actually need 0.40.0 on the system where the tarball is rolled,
5442 however 0.35.5 should be good enough for almost everyone.
5444 * configure.in: use IT_PROG_INTLTOOL with minimum version instead
5445 of the deprecated AC_PROG_INTLTOOL.
5447 * Makefile.am (EXTRA_DIST): removed intltool-foo.in files as
5448 intltool 0.40.0 does not install these any longer. Removed them
5449 from DISTCLEANFILES as well.
5451 2008-06-11 Sven Neumann <sven@gimp.org>
5453 * configure.in: removed redundant calls to AC_MSG_RESULT() from
5454 inside PKG_CHECK_MODULES().
5456 2008-06-11 Sven Neumann <sven@gimp.org>
5458 * cursors/Makefile.am (EXTRA_DIST): added missing modifier-select
5461 2008-06-11 Sven Neumann <sven@gimp.org>
5463 * app/gegl/gimpoperationcolorbalance.c
5464 * app/gegl/gimpoperationcolorize.c
5465 * app/gegl/gimpoperationcurves.c
5466 * app/gegl/gimpoperationdesaturate.c
5467 * app/gegl/gimpoperationhuesaturation.c
5468 * app/gegl/gimpoperationlevels.c
5469 * app/gegl/gimpoperationposterize.c
5470 * app/gegl/gimpoperationthreshold.c
5471 * app/gegl/gimpoperationtilesink.c
5472 * app/gegl/gimpoperationtilesource.c: added const to GeglRectangle*
5475 2008-06-11 Sven Neumann <sven@gimp.org>
5477 * configure.in: fixed check for webkit zoom API.
5479 2008-06-10 Sven Neumann <sven@gimp.org>
5481 * plug-ins/help-browser/queue.[ch]: removed, we don't need this
5484 2008-06-10 Sven Neumann <sven@gimp.org>
5486 * configure.in: removed check for gtkhtml2 and added a check for
5489 * INSTALL: document the changed dependency.
5491 * plug-ins/help-browser/Makefile.am
5492 * plug-ins/help-browser/dialog.[ch]: ported the help-browser to
5493 webkit. Offers the same functionality as before and some more.
5495 * plug-ins/help-browser/help-browser.c: some cleanup.
5497 2008-06-10 Sven Neumann <sven@gimp.org>
5499 * plug-ins/help/gimphelplocale.c: added some sanity checks.
5501 2008-06-10 Michael Natterer <mitch@gimp.org>
5503 * app/widgets/gimpthumbbox.c (gimp_thumb_box_new): don't set a
5504 width request on the info label. It broke horizontal label
5505 positioning and didn't serve any purpose I can remember.
5507 2008-06-10 Sven Neumann <sven@gimp.org>
5509 * plug-ins/help/help.c (load_help_idle): show progress while
5510 loading the help index.
5512 2008-06-10 Sven Neumann <sven@gimp.org>
5514 * app/config/gimpguiconfig.c (DEFAULT_WEB_BROWSER): reverted
5515 change for bug #522483. 'xdg-open' doesn't do the right thing for
5518 2008-06-10 Sven Neumann <sven@gimp.org>
5520 * app/core/gimp-gui.[ch]
5521 * app/widgets/gimphelp.[ch]
5522 * app/gui/gui-vtable.c
5523 * app/gui/gui.c: added a GimpProgress parameter to gimp_help().
5525 * app/actions/help-commands.c
5526 * app/widgets/gimpuimanager.c
5527 * tools/pdbgen/pdb/help.pdb: changed accordingly.
5529 * app/pdb/help-cmds.c: regenerated.
5531 2008-06-10 Sven Neumann <sven@gimp.org>
5533 * app/plug-in/gimpplugin.c
5534 * app/plug-in/gimppluginmanager-call.c
5535 * app/widgets/gimphelp.c: formatting.
5537 2008-06-09 Michael Natterer <mitch@gimp.org>
5539 * app/paint/gimppaintoptions.c: set DEFAULT_VELOCITY_SIZE to FALSE
5540 so the paint tools behave as before and the brush outline is
5541 meaningful at least in the default setup.
5543 2008-06-05 Sven Neumann <sven@gimp.org>
5545 * app/actions/dialogs-actions.c (dialogs_dockable_actions): added
5546 actions to open/focus the brush, gradient and palette editors
5549 2008-06-04 Sven Neumann <sven@gimp.org>
5551 * plug-ins/common/red-eye-removal.c: fixed weird handling of the
5552 threshold parameter. Some unrelated minor cleanups.
5554 2008-06-04 Sven Neumann <sven@gimp.org>
5556 * plug-ins/common/tga.c: changed user interface for specifying the
5557 origin. Fixed header for origin at top-left (bug #450070).
5559 2008-06-04 Michael Natterer <mitch@gimp.org>
5561 * app/display/gimpdisplayshell-scale.c
5562 * app/gegl/gimpoperationdesaturate.h
5563 * app/tools/gimprectangletool.c
5564 * app/widgets/gimpradioaction.h
5565 * app/widgets/gimptoggleaction.h: various fixes to make gtk-doc
5568 2008-06-04 Sven Neumann <sven@gimp.org>
5570 * app/tools/gimpcropoptions.c
5571 * app/tools/gimprectangleoptions.c
5572 * app/tools/gimprectangleselectoptions.c: fixed handling of the
5573 "highlight" property that needs different default values for the
5574 Crop and Rectangle Select tools (bug #536582).
5576 2008-06-04 Sven Neumann <sven@gimp.org>
5578 * app/paint/gimpairbrushoptions.c: removed trailing whitespace.
5580 2008-06-04 Sven Neumann <sven@gimp.org>
5582 * app/core/gimpdrawable-operation.c (gimp_drawable_apply_operation):
5583 no need to check for the 'dont-cache' property now that we depend
5586 2008-06-04 Sven Neumann <sven@gimp.org>
5588 * INSTALL: updated GEGL version and also mention babl.
5590 * app/gegl/gimp-gegl.c (gimp_gegl_init): configure the GEGL tile
5591 size to match the GIMP tile size.
5593 2008-06-04 Michael Natterer <mitch@gimp.org>
5595 * configure.in: depend on GEGL >= 0.0.17, add check for
5598 * app/sanity.c: bump GEGL sanity check and add BABL check.
5600 * app/gegl/gimpoperationcolorbalance.c
5601 * app/gegl/gimpoperationcolorize.c
5602 * app/gegl/gimpoperationcurves.c
5603 * app/gegl/gimpoperationdesaturate.c
5604 * app/gegl/gimpoperationhuesaturation.c
5605 * app/gegl/gimpoperationlevels.c
5606 * app/gegl/gimpoperationposterize.c
5607 * app/gegl/gimpoperationthreshold.c: adapt to new process()
5610 2008-06-03 Sven Neumann <sven@gimp.org>
5612 * libgimp/gimpitemcombobox.c: fixed comments.
5614 2008-06-03 Sven Neumann <sven@gimp.org>
5616 * app/widgets/widgets-enums.[ch]: changed descriptions for
5617 GimpHistogramScale enum.
5619 * app/tools/gimpimagemaptool.[ch]
5621 * app/tools/gimpimagemaptool-settings.c: added a GtkSizeGroup for
5622 aligning with the "Presets" label. Added an accessor for the
5625 * app/tools/gimpbrightnesscontrasttool.c
5626 * app/tools/gimpcolorbalancetool.c
5627 * app/tools/gimpcolorizetool.c
5628 * app/tools/gimpcurvestool.c
5629 * app/tools/gimpdesaturatetool.c
5630 * app/tools/gimpgegltool.c
5631 * app/tools/gimphuesaturationtool.c
5632 * app/tools/gimplevelstool.c
5633 * app/tools/gimpposterizetool.c
5634 * app/tools/gimpthresholdtool.c: use the new accessor. Minor
5635 dialog cleanups in a few places.
5637 2008-06-02 Sven Neumann <sven@gimp.org>
5639 * app/actions/tools-actions.c: added a few more actions to set
5640 tool values to default values. Added "backslash" as the default
5641 shortcut for "tools-value-2-set-to-default", which is effectively
5642 "Reset Brush Scale" (bug #493030).
5644 2008-06-01 Martin Nordholts <martinn@svn.gnome.org>
5646 * plug-ins/common/gif-load.c (GetCode): Applied patch from
5647 Rik Snel that fixes loading of .gif files that contains 1-byte
5648 data blocks. (Bug #535888.)
5650 2008-05-31 Martin Nordholts <martinn@svn.gnome.org>
5652 Add keyboard shortcut support for reseting to default value of
5653 e.g. brush scale. Fixes bug #493030.
5655 * app/actions/actions.[ch]: Make action_select_value() take a
5656 default-parameter and add support for it. Also use default_value
5657 from gint and gdouble param specs.
5659 * app/actions/actions-types.h: Added
5660 GIMP_ACTION_SELECT_SET_TO_DEFAULT.
5662 * app/actions/tools-actions.c: Add _SET_TO_DEFAULT actions.
5664 * app/actions/view-commands.c:
5665 * app/actions/layers-commands.c:
5666 * app/actions/context-commands.c: Pass defaults to
5667 action_select_property().
5669 2008-05-31 Martin Nordholts <martinn@svn.gnome.org>
5671 * app/tools/gimprotatetool.c (gimp_rotate_tool_key_press):
5672 Implemented this function to support rotating with arrow keys. See
5675 2008-05-30 Martin Nordholts <martinn@svn.gnome.org>
5677 Made moving the selection mask in the various ways automatically
5678 commit any pending rectangle/ellipse selection. Fixes bug #349340.
5680 * app/tools/gimprectangleselecttool.c
5681 (gimp_rectangle_select_tool_oper_update): Don't disable support
5682 for moving the selection mask.
5684 (gimp_rectangle_select_tool_button_press): Handle delegation to
5687 (gimp_rectangle_select_tool_delegate_button_press): New helper
5690 (gimp_rectangle_select_tool_execute): Guard against NULL
5693 2008-05-30 Sven Neumann <sven@gimp.org>
5695 * app/dialogs/module-dialog.c: tell the user that a restart is
5696 needed for the changes to take effect.
5698 2008-05-30 Sven Neumann <sven@gimp.org>
5700 * app/dialogs/module-dialog.c: some more internal cleanups.
5702 2008-05-30 Sven Neumann <sven@gimp.org>
5704 * app/dialogs/module-dialog.c: cleaned up the UI a bit. Removed
5705 some information and a button that was not really useful. Only
5706 show the error state when there is actually an error.
5708 2008-05-29 Manish Singh <yosh@gimp.org>
5710 * plug-ins/pygimp/gimpshelf.py: fix _vectors_id to return a tuple
5711 for the ID. Spotted and fixed by Joao.
5713 2008-05-29 Sven Neumann <sven@gimp.org>
5715 * app/display/gimpscalecombobox.c (gimp_scale_combo_box_init):
5716 reverted last change.
5718 2008-05-29 Sven Neumann <sven@gimp.org>
5720 * app/display/gimpscalecombobox.c (gimp_scale_combo_box_init):
5721 unset the entry's frame instead of reducing the inner border.
5723 2008-05-29 Sven Neumann <sven@gimp.org>
5725 * themes/Default/images/Makefile.am (STOCK_TOOL_IMAGES):
5726 * themes/Default/images/tools/stock-tool-polygon-select-16.png
5727 * themes/Default/images/tools/stock-tool-polygon-select-22.png:
5728 removed unused tool icon.
5730 * libgimpwidgets/gimpstock.[ch]: don't register
5731 GIMP_STOCK_TOOL_POLYGON_SELECT.
5733 * libgimpwidgets/gimphruler.c
5734 * libgimpwidgets/gimpvruler.c: added missing API docs.
5736 2008-05-29 Sven Neumann <sven@gimp.org>
5738 * plug-ins/common/blur-gauss-selective.c (matrixmult_mmx): avoid
5739 division by zero in the grayscale code path (bug #529280).
5741 2008-05-29 Sven Neumann <sven@gimp.org>
5743 * plug-ins/imagemap/imap_preview.c (scroll_adj_changed): fixed
5746 2008-05-29 Martin Nordholts <martinn@svn.gnome.org>
5748 * app/tools/gimprectangletool.c (gimp_rectangle_tool_motion): Also
5749 show the plain aspect ratio in the status bar along with the
5750 rectangle size information. Quickfix for bug #508183.
5752 2008-05-28 Sven Neumann <sven@gimp.org>
5754 * app/display/gimpdisplayshell-scale.c
5755 (gimp_display_shell_scale_setup): set the display unit on the ruler.
5757 * libgimpwidgets/gimphruler.c (gimp_hruler_draw_ticks)
5758 * libgimpwidgets/gimpvruler.c (gimp_vruler_draw_ticks): hack around
5759 to get nicer subdivisions for rulers showing pixels.
5761 2008-05-28 Sven Neumann <sven@gimp.org>
5763 * libgimpwidgets/gimpruler.[ch]
5764 * libgimpwidgets/gimphruler.c
5765 * libgimpwidgets/gimpvruler.c: removed GimpRulerMetric struct from
5766 public API. Removed gimp_ruler_draw_pos() and gimp_ruler_draw_ticks()
5767 methods. Added a "unit" property with getter and setter.
5769 * libgimpwidgets/gimpwidgets.def: updated.
5771 2008-05-28 Sven Neumann <sven@gimp.org>
5773 * libgimpwidgets/gimpruler.[ch]: started to sanitize the ruler API.
5775 * app/dialogs/resolution-calibrate-dialog.c
5776 * app/display/gimpdisplayshell-scale.c
5777 * plug-ins/gfig/gfig-preview.c
5778 * plug-ins/imagemap/imap_preview.c: changed accordingly.
5780 * libgimpwidgets/gimpwidgets.def: updated.
5782 2008-05-28 Sven Neumann <sven@gimp.org>
5784 * libgimpwidgets/gimpruler.[ch]
5785 * libgimpwidgets/gimphruler.c
5786 * libgimpwidgets/gimpvruler.c: enlarge the array of scales to
5787 prevent ruler numbers from overlapping (bug #535039).
5789 2008-05-27 Michael Natterer <mitch@gimp.org>
5791 * plug-ins/help-browser/dialog.c: undef
5792 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES around including
5793 <libgtkhtml/gtkhtml.h>.
5795 2008-05-27 Sven Neumann <sven@gimp.org>
5797 * app/display/gimpdisplayoptions.c: reenabled rulers by default.
5799 2008-05-27 Sven Neumann <sven@gimp.org>
5801 * libgimpwidgets/gimpruler.[ch]
5802 * libgimpwidgets/gimphruler.c (gimp_hruler_draw_ticks)
5803 * libgimpwidgets/gimpvruler.c (gimp_vruler_draw_ticks): use an
5804 extra small font for the tick labels.
5806 * themes/Default/gtkrc: don't hardcode a font size for the rulers.
5808 2008-05-27 Michael Natterer <mitch@gimp.org>
5810 * configure.in: add -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES to
5813 2008-05-27 Michael Natterer <mitch@gimp.org>
5815 * app/tools/gimppaintoptions-gui.c: don't add the gradient box for
5816 the blend tool. Clean up the code by moving the checks for the
5817 tool type out of the utility functions into the main
5818 gimp_paint_options_gui() function.
5820 * app/tools/gimpblendoptions.c: add the gradient box here.
5822 2008-05-27 Sven Neumann <sven@gimp.org>
5824 * app/widgets/gimpscalebutton.c: display a tooltip showing the value.
5826 2008-05-27 Sven Neumann <sven@gimp.org>
5828 * app/widgets/gimpscalebutton.c (gimp_scale_button_image_expose):
5829 rotated the button graphics and fixed it for 'right-to-left'
5832 2008-05-27 Michael Natterer <mitch@gimp.org>
5834 * app/display/gimpdisplayshell-coords.c: revert velocity limit to
5835 1.0, this part of the patch shouldn't have been applied.
5837 2008-05-27 Sven Neumann <sven@gimp.org>
5839 * app/paint/gimpconvolve.c: make Convolve work with very thin
5840 brushes, then convolving only in one direction (bug #533791).
5842 2008-05-26 Sven Neumann <sven@gimp.org>
5844 * libgimpwidgets/Makefile.am
5845 * libgimpwidgets/gimpwidgets.h
5846 * libgimpwidgets/gimpwidgetstypes.h
5848 * libgimpwidgets/gimpruler.[ch]
5849 * libgimpwidgets/gimphruler.[ch]
5850 * libgimpwidgets/gimpvruler.[ch]: added ruler widgets. These are
5851 mostly copied from GTK+ and work as a drop-in replacement for
5852 GtkRuler and friends.
5854 * libgimpwidgets/gimpwidgets.def: updated.
5856 * app/display/gimpdisplayshell.c
5857 * app/display/gimpdisplayshell-scale.c
5858 * app/dialogs/resolution-calibrate-dialog.c
5859 * plug-ins/imagemap/imap_preview.c
5860 * plug-ins/gfig/gfig-preview.c: use the GimpRuler widgets.
5862 2008-05-26 Sven Neumann <sven@gimp.org>
5864 * libgimp/gimp.def: added gimp_drawable_free_shadow().
5866 2008-05-26 Michael Natterer <mitch@gimp.org>
5868 * app/widgets/gimpscalebutton.c (gimp_scale_button_new): use
5869 GTK_ICON_SIZE_MENU for the scale button.
5871 2008-05-26 Michael Natterer <mitch@gimp.org>
5873 Applied modified patch from Alexia Death. Addresses bug #534770:
5875 * app/paint/gimppaintoptions.[ch]: add properties for scaling
5876 the effects of pressure, velocity and hardness and honor them
5877 in the various get_dynamic_foo() functions.
5879 (gimp_paint_options_get_dynamic_size): look at
5880 pressure_options->size again, that code got lost in one of the
5883 * app/tools/gimppaintoptions-gui.c: add GimpScaleButtons to the
5884 table for the new properties.
5886 * app/display/gimpdisplayshell-coords.c: don't let "velocity"
5887 reach 1.0, use 0.9999 instead.
5889 2008-05-26 Michael Natterer <mitch@gimp.org>
5891 * app/tools/gimppaintoptions-gui.c: remove unused includes.
5893 2008-05-26 Michael Natterer <mitch@gimp.org>
5895 * app/paint/gimppaintoptions.[ch]: replace the identical
5896 GimpPressureOptions, GimpVelocityOptions and GimpRandomOptions
5897 struct by a single GimpDynamicOptions struct.
5899 * app/tools/gimppaintoptions-gui.c: don't pass the various
5900 sub-structs to the _options_gui() function because they are not
5903 2008-05-26 Michael Natterer <mitch@gimp.org>
5905 * app/gegl/gimpcolorbalanceconfig.c
5906 * app/gegl/gimpcurvesconfig.c
5907 * app/gegl/gimphuesaturationconfig.c
5908 * app/gegl/gimplevelsconfig.c (equal): sanitize local variable
5909 names: s/a_config/config_a/, s/b_config/config_b/.
5911 2008-05-26 Michael Natterer <mitch@gimp.org>
5913 * app/config/gimpbaseconfig.c
5914 * app/config/gimpguiconfig.c
5915 * app/tools/gimpcolorpickeroptions.[ch]: remove unused compat
5916 properties because the config parser silently skips unknown
5919 2008-05-26 Sven Neumann <sven@gimp.org>
5921 * app/widgets/gimppropwidgets.c
5922 * app/widgets/gimpscalebutton.[ch]: some fiddling to get the step
5923 and page sizes right.
5925 2008-05-26 Sven Neumann <sven@gimp.org>
5927 * app/widgets/gimppropwidgets.[ch]: support for GimpScaleButton.
5929 2008-05-26 Sven Neumann <sven@gimp.org>
5931 * app/widgets/Makefile.am
5932 * app/widgets/widgets-types.h
5933 * app/widgets/gimpscalebutton.[ch]: added simple scale button widget
5934 derived from GtkScaleButton.
5936 2008-05-26 Sven Neumann <sven@gimp.org>
5938 * plug-ins/jpeg/jpeg-save.c (save_image): fixed logic that decides
5939 if an EXIF block should be written (bug #529469).
5941 2008-05-25 Martin Nordholts <martinn@svn.gnome.org>
5943 * app/tools/gimpfreeselecttool.c
5944 (gimp_free_select_tool_revert_to_saved_state): Name cleanup.
5946 2008-05-25 Martin Nordholts <martinn@svn.gnome.org>
5948 * app/tools/gimpfreeselecttool.c
5949 (gimp_free_select_tool_prepare_for_move)
5950 (gimp_free_select_tool_revert_to_saved_state)
5951 (gimp_free_select_tool_move_segment_vertex_to): Handle the special
5952 case when there is only one point, so that moving segment vertices
5953 works even if there only is one.
5955 2008-05-25 Martin Nordholts <martinn@svn.gnome.org>
5957 * app/tools/gimpfreeselecttool.c: For completeness, comment on
5958 some uncommented instance-private variables.
5960 2008-05-25 Martin Nordholts <martinn@svn.gnome.org>
5962 * app/tools/gimpfreeselecttool.c
5963 (gimp_free_select_tool_cursor_update): Properly update the cursor.
5965 2008-05-25 Martin Nordholts <martinn@svn.gnome.org>
5967 Added support for supressing handles by holding Shift in the Free
5968 Select Tool so that new segments can be created where handles
5969 would otherwise obstruct.
5971 * app/tools/gimpfreeselecttool.c
5972 (gimp_free_select_tool_handle_segment_selection): Renamed, and
5973 only select segment vertices if handles are not supressed.
5975 (gimp_free_select_tool_modifier_key): Make Shift toggle supressing
5978 (gimp_free_select_tool_draw): Don't draw the handles if they are
5981 (gimp_free_select_tool_should_close): Only accept distance from
5982 start point as a reason to close the polygon if the handles are
5985 2008-05-25 Martin Nordholts <martinn@svn.gnome.org>
5987 Added support for double-clicking in the Free Select Tool. A
5988 double-click will commit the selection.
5990 * app/tools/gimpfreeselecttool.c
5991 (gimp_free_select_tool_get_double_click_info): Helper function to
5992 retrive GTK+ double-click settings.
5994 (gimp_free_select_tool_should_close): Take double-clicking into
5997 (gimp_free_select_tool_revert_to_saved_state): Bail out if needed.
5999 (gimp_free_select_tool_button_release): Pass on time when
6002 (gimp_free_select_tool_handle_click): Pass time to this function,
6003 and modify it to handle double-clicks.
6005 2008-05-25 Martin Nordholts <martinn@svn.gnome.org>
6007 * app/tools/gimpfreeselecttool.c
6008 (gimp_free_select_tool_button_release): Remove invalid comment.
6010 2008-05-25 Martin Nordholts <martinn@svn.gnome.org>
6012 * app/tools/gimpfreeselecttool.c
6013 (gimp_free_select_tool_handle_click): A click might have slightly
6014 adjusted the points, so revert before doing the selection.
6015 (gimp_free_select_tool_revert_to_saved_state): Move definition up
6018 2008-05-25 Martin Nordholts <martinn@svn.gnome.org>
6020 Make moving selection mask/pixels within the selection work for
6021 the Free Select Tool, as well as interaction with any resulting
6024 * app/tools/gimpfreeselecttool.c
6025 (gimp_free_select_tool_handle_click): Handle floating selections.
6026 (gimp_free_select_tool_status_update): Show the inital
6027 instructions until there are 3 or more segment vertices, rather
6028 than 3 or more points.
6030 (gimp_free_select_tool_oper_update): When there is no active tool,
6031 show selection tool status bar help messages instead of the tool
6034 (gimp_free_select_tool_delegate_button_press): New helper function
6035 to decide wether to delgate operation to the selection tool.
6037 (gimp_free_select_tool_button_press): Handle delegation to the
6040 2008-05-24 Michael Natterer <mitch@gimp.org>
6042 * app/tools/gimppaintoptions-gui.c: fix dynamics grid label
6043 positions for RTL mode by attaching the fixed to the table *after*
6044 the toggle buttons (eek). See comment in the code.
6046 2008-05-24 Sven Neumann <sven@gimp.org>
6048 * HACKING: note that we need intltool 0.35.5 or newer.
6050 2008-05-24 Martin Nordholts <martinn@svn.gnome.org>
6052 * menus/image-menu.xml.in: Also Remove the Polygon Select Tool
6055 2008-05-24 Martin Nordholts <martinn@svn.gnome.org>
6057 Kill the Polygon Select Tool. The Free Select Tool now provides a
6058 superset of the old Polygon Select Tool functionality. We still
6059 keep the tool icons etc around though, they might come in useful
6062 * app/tools/gimppolygonselecttool.[ch]: Removed.
6064 * app/tools/Makefile.am: Removed gimppolygonselecttool.[ch].
6066 * app/tools/gimp-tools.c (gimp_tools_init): Don't register the
6067 Polygon Select Tool.
6069 * app/widgets/gimphelp-ids.h: Remove
6070 GIMP_HELP_TOOL_POLYGON_SELECT.
6072 2008-05-23 Martin Nordholts <martinn@svn.gnome.org>
6074 * app/tools/gimpfreeselecttool.c
6075 (gimp_free_select_tool_draw): Draw handles within HANDLE_SIZE * 7
6076 distance from cursor instead of only showing the hovered handle.
6077 (gimp_free_select_tool_oper_update): Remember last coordinates
6078 given here, so we can do above calculations.
6080 2008-05-23 Michael Natterer <mitch@gimp.org>
6082 Stop including single headers from gtk+ to be prepared
6083 for the upcoming GTK_DISABLE_SINGLE_INCLUDES:
6085 * configure.in: add -DGTK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
6087 * app/display/gimpcanvas.h
6088 * app/display/gimpscalecombobox.h
6089 * app/display/gimpstatusbar.h
6091 * libgimp/gimpprogressbar.h
6092 * libgimp/gimpselectbutton.h
6093 * libgimpwidgets/*.h
6094 * libgimpwidgets/gimpstock.c
6095 * plug-ins/uri/gimpmountoperation.h: remove inclusion of parent
6096 classes and single files from gtk+.
6098 * app/widgets/gtkwrapbox.h
6099 * libgimp/gimpbrushmenu.c
6100 * libgimp/gimpfontmenu.c
6101 * libgimp/gimpgradientmenu.c
6102 * libgimp/gimppalettemenu.c
6103 * libgimp/gimppatternmenu.c
6104 * libgimp/gimpselectbutton.c: #include <gtk/gtk.h>
6106 * plug-ins/common/poppler.c: undef GTK_DISABLE_SINGLE_INCLUDES
6107 when including <poppler.h>.
6109 2008-05-23 Sven Neumann <sven@gimp.org>
6111 * app/tools/gimpimagemaptool-settings.c: string change.
6113 2008-05-23 Sven Neumann <sven@gimp.org>
6115 * app/core/gimpchannel-select.c
6116 * app/core/gimpdrawable-bucket-fill.c
6117 * app/core/gimpdrawable-transform.c
6118 * app/core/gimpimage-crop.c
6119 * app/dialogs/image-scale-dialog.c
6120 * app/tools/gimpbycolorselecttool.c
6121 * app/tools/gimpfliptool.c
6122 * app/tools/gimpforegroundselecttool.c
6123 * app/tools/gimpfreeselecttool.c
6124 * app/tools/gimpfuzzyselecttool.c
6125 * app/tools/gimpmovetool.c
6126 * app/tools/gimpperspectivetool.c
6127 * app/tools/gimppolygonselecttool.c
6128 * app/tools/gimprotatetool.c
6129 * app/tools/gimpscaletool.c
6130 * app/tools/gimpsheartool.c
6131 * libgimpwidgets/gimpcolorprofilestore.c
6132 * plug-ins/gfig/gfig-dialog.c: use C_() instead of Q_() for
6133 translations with context.
6135 2008-05-23 Sven Neumann <sven@gimp.org>
6137 * autogen.sh (GLIB_REQUIRED_VERSION): require glib-gettextize 2.16.
6139 * libgimp/libgimp-intl.h
6140 * plug-ins/pygimp/pygimp-intl.h: synced with gi18n-lib.h from glib
6141 2.16. This adds support for the C_() macro.
6143 * plug-ins/script-fu/script-fu-intl.h: just include gi18n.h instead
6144 of duplicating things from this header.
6146 2008-05-23 Michael Natterer <mitch@gimp.org>
6148 * app/tools/gimppaintoptions-gui.c: left-align the labels in the
6149 new dynamics matrix. Add some code for RTL layout that doesn't
6152 2008-05-22 Kevin Cozens <kcozens@cvs.gnome.org>
6154 * plug-ins/script-fu/tinyscheme/scheme.c: Added extra check to stop
6155 "(let x 5)" syntax from causing a segfault in Linux. See bug #508020.
6156 Removed some excess whitespace.
6158 2008-05-22 Michael Natterer <mitch@gimp.org>
6160 * app/paint/gimpbrushcore.c (gimp_brush_core_interpolate): move
6161 generating the random axis to the right place.
6163 2008-05-22 Michael Natterer <mitch@gimp.org>
6165 * app/paint/gimppaintoptions.[ch]: replace the pressure-expanded,
6166 velocity-expanded and random-expanded properties by a single
6167 dynamics-expanded property.
6169 * app/tools/gimppaintoptions-gui.c: pack the toggle matrix into an
6170 expander, some cleanup.
6172 2008-05-22 Michael Natterer <mitch@gimp.org>
6174 * app/tools/gimppaintoptions-gui.c: revert accidential change of
6175 all occurences of "hardness" to "pressure" in strings and function
6178 2008-05-22 Michael Natterer <mitch@gimp.org>
6180 * app/tools/gimppaintoptions-gui.c: factor out a utility function
6181 that creates a dynamics check button.
6183 2008-05-22 Michael Natterer <mitch@gimp.org>
6185 * app/tools/gimppaintoptions-gui.c: first version of a matrix of
6186 toggles for the dynamics parameters instead of three expanders.
6188 2008-05-22 Martin Nordholts <martinn@svn.gnome.org>
6190 * app/tools/gimpfreeselecttool.c: Base a start of a new segment on
6191 the pending point, and enable 15 degree constraints on the pending
6192 point when Ctrl is being held down.
6194 2008-05-22 Martin Nordholts <martinn@svn.gnome.org>
6196 * app/core/gimpcurve-load.c (gimp_curve_load)
6197 * app/paint/gimppaintbrush.c (_gimp_paintbrush_motion): Remove
6200 2008-05-22 Martin Nordholts <martinn@svn.gnome.org>
6202 * app/tools/gimpfreeselecttool.[ch]
6203 * app/tools/gimpforegroundselecttool.c: Fix that some
6204 gimp_free_select_tool_-functions had the wrong name.
6206 2008-05-22 Michael Natterer <mitch@gimp.org>
6208 Applied slightly modified and fixed patch from Alexia Death which
6209 adds a "random" axis to the paint dynamics and fixes some issues
6210 in the previous paint dynamics commits. Fixes bug #529431.
6212 * app/core/core-types.h: add a "random" axis to GimpCoords.
6214 * app/display/gimpdisplayshell-coords.c: set it to a random value.
6216 * app/display/gimpdisplayshell-callbacks.c: on button_press,
6217 use the dynamics from the last motion event to avoid blotches
6218 at the beginning of paint strokes.
6220 * app/paint/gimppaintoptions.[ch]: add random properties the same
6221 way we do pressure and velocity. Add get_dynamic_size(),
6222 get_dynamic_color() and get_dynamic_hardness() functions which
6223 look at all dynamic parameters of the passed coords.
6225 * app/tools/gimppaintoptions-gui.c: add gui for the random options.
6227 * app/paint/gimpbrushcore.[ch]: remove calc_brush_scale() and use
6228 gimp_paint_options_get_dynamic_size_instead().
6229 Add "dynamic_hardness" parameters to paste_canvas(),
6230 replace_canvas() and get_brush_mask().
6232 * app/paint/gimpairbrushoptions.c
6233 * app/paint/gimpclone.c
6234 * app/paint/gimpconvolve.c
6235 * app/paint/gimpdodgeburn.c
6236 * app/paint/gimperaser.c
6237 * app/paint/gimpheal.c
6238 * app/paint/gimppaintbrush.c
6239 * app/paint/gimpsmudge.c: calculate the dynamic hardness and pass
6240 it to above brush core functions. Use the get_dynamic_color() to
6241 calculate the gradient color.
6243 2008-05-22 Sven Neumann <sven@gimp.org>
6245 * app/tools/gimpposterizetool.c (gimp_posterize_tool_dialog):
6246 use a logarithmic slider.
6248 2008-05-22 Martin Nordholts <martinn@svn.gnome.org>
6250 * app/tools/gimpfreeselecttool.c: Remember the selection operation
6251 in use when the tool was started, and use that when doing the
6252 selection. Improvements are still to be made with regards to
6253 synchronizing the tool options with the selection operation
6256 2008-05-22 Michael Natterer <mitch@gimp.org>
6258 * app/tools/gimpimagemaptool.c: check if the tool class has
6259 the "settings_name" string set to decide whether to add
6262 * app/tools/gimpdesaturatetool.c
6263 * app/tools/gimpposterizetool.c: don't set any settings
6264 strings. Presets make no sense for tools with just one parameter.
6266 2008-05-22 Sven Neumann <sven@gimp.org>
6268 * app/core/gimpdrawable-operation.[ch]
6269 (gimp_drawable_apply_operation): changed order of parameters to be
6270 consistent with gimp_drawable_process().
6272 * app/core/gimpdrawable-process.[ch]: introduced a variant of
6273 gimp_drawable_process() for processing a GimpLut with
6276 * app/core/gimpdrawable-brightness-contrast.c
6277 * app/core/gimpdrawable-color-balance.c
6278 * app/core/gimpdrawable-colorize.c
6279 * app/core/gimpdrawable-curves.c
6280 * app/core/gimpdrawable-desaturate.c
6281 * app/core/gimpdrawable-equalize.c
6282 * app/core/gimpdrawable-hue-saturation.c
6283 * app/core/gimpdrawable-invert.c
6284 * app/core/gimpdrawable-levels.c
6285 * app/core/gimpdrawable-posterize.c
6286 * app/core/gimpdrawable-threshold.c: changed accordingly.
6288 2008-05-22 Michael Natterer <mitch@gimp.org>
6290 * app/tools/gimpimagemaptool.[ch]: s/save/export/g,
6291 s/load/import/g, removed button tooltip members.
6293 * app/tools/gimpimagemaptool-settings.[ch]
6294 * app/tools/gimpbrightnesscontrasttool.c
6295 * app/tools/gimpcolorbalancetool.c
6296 * app/tools/gimpcolorizetool.c
6297 * app/tools/gimpcurvestool.c
6298 * app/tools/gimpdesaturatetool.c
6299 * app/tools/gimphuesaturationtool.c
6300 * app/tools/gimplevelstool.c
6301 * app/tools/gimpposterizetool.c
6302 * app/tools/gimpthresholdtool.c: changed accordingly.
6304 * app/tools/gimpimagemaptool-settings.c: clean up menu item creation.
6306 2008-05-22 Michael Natterer <mitch@gimp.org>
6308 * app/tools/gimpfreeselecttool.c: delete trailing whitespace.
6310 2008-05-22 Sven Neumann <sven@gimp.org>
6312 * app/tools/gimp-tools.c (gimp_tools_init): added a call to
6313 gimp_tool_options_create_folder().
6315 * app/core/gimp-user-install.c (gimp_user_install_items): no need
6316 to create the tool-options folder here if we are doing that on
6319 2008-05-22 Sven Neumann <sven@gimp.org>
6321 * app/tools/gimpcurvestool.c (gimp_curves_tool_dialog): use a
6322 combo-box for the curve type.
6324 2008-05-22 Sven Neumann <sven@gimp.org>
6326 * core/gimpdrawable-brightness-contrast.c
6327 * core/gimpdrawable-color-balance.c
6328 * core/gimpdrawable-colorize.c
6329 * core/gimpdrawable-equalize.c
6330 * core/gimpdrawable-hue-saturation.c
6331 * core/gimpdrawable-posterize.c
6332 * core/gimpdrawable-threshold.c: ported to gimp_drawable_process().
6334 2008-05-22 Martin Nordholts <martinn@svn.gnome.org>
6336 * app/tools/gimpfreeselecttool.c
6337 (gimp_free_select_tool_cursor_update): Don't return in the middle
6340 2008-05-21 Martin Nordholts <martinn@svn.gnome.org>
6342 * app/tools/gimpforegroundselecttool.c
6343 (gimp_foreground_select_tool_oper_update): "Draw a rough circle
6344 around the object to extract" -> "Rougly outline the object to
6347 2008-05-21 Martin Nordholts <martinn@svn.gnome.org>
6349 * app/tools/gimpfreeselecttool.[ch]: Don't expose implementation
6352 * app/tools/gimpforegroundselecttool.c
6353 (gimp_foreground_select_tool_select): Use new
6354 gimp_free_select_get_points() functions since we don't know
6355 anything about how the Free Select Tool is implemented any longer.
6357 2008-05-21 Michael Natterer <mitch@gimp.org>
6359 * app/tools/gimpimagemaptool.[ch]
6360 * app/tools/gimpimagemaptool-settings.c: turn the ugly row of
6361 favorites options buttons into a menu that's attached to an arrow
6362 button right of the favorites combo.
6364 2008-05-21 Michael Natterer <mitch@gimp.org>
6366 * app/tools/gimpcurvestool.c: remove unused variable.
6368 2008-05-21 Martin Nordholts <martinn@svn.gnome.org>
6370 * app/core/gimpscanconvert.c (gimp_scan_convert_add_polyline):
6371 constify the points argument.
6373 2008-05-21 Michael Natterer <mitch@gimp.org>
6375 * app/base/pixel-processor.h: remove PixelProcessorFunc typedef.
6377 * app/base/base-types.h: add it here.
6379 * app/config/gimpbaseconfig.c: #include "base/base-types.h"
6381 * app/core/gimpdrawable-curves.c
6382 * app/core/gimpdrawable-desaturate.c
6383 * app/core/gimpdrawable-invert.c: remove pixel processor include.
6385 * app/core/gimpdrawable-levels.c: port to gimp_drawable_process().
6387 2008-05-21 Michael Natterer <mitch@gimp.org>
6389 * app/core/gimpdrawable-process.c (gimp_drawable_process): add
6390 missing include and missing call to gimp_drawable_mask_intersect().
6392 2008-05-21 Michael Natterer <mitch@gimp.org>
6394 * app/gegl/gimpdesaturateconfig.c: use a stock_id that exists.
6396 2008-05-21 Martin Nordholts <martinn@svn.gnome.org>
6398 Made the Foreground Select Tool work again.
6400 * app/tools/gimpforegroundselecttool.c
6401 (gimp_foreground_select_tool_control): Set tool->display =
6402 NULL when halting the tool.
6404 (gimp_foreground_select_tool_button_press): Only activate the
6405 tool control if it is not active (it might be actived already
6406 by the Free Select Tool).
6408 * app/tools/gimpfreeselecttool.c
6409 (gimp_free_select_tool_commit): Don't _halt explicitly
6410 here. If a tool implementation wants to halt in this
6411 situation, let them do that in their
6412 GimpFreeSelectTool::select() instead.
6414 2008-05-21 Sven Neumann <sven@gimp.org>
6416 * app/core/Makefile.am
6417 * app/core/gimpdrawable-process.[ch]: new file holding code to
6418 apply a PixelProcessor to the full drawable.
6420 * app/core/gimpdrawable-desaturate.c
6421 * app/core/gimpdrawable-invert.c: use the new helper function.
6423 * app/core/gimpdrawable-desaturate.[ch] (gimp_drawable_desaturate):
6424 take a GimpProgress parameter.
6426 * tools/pdbgen/pdb/color.pdb: changed accordingly.
6428 * app/pdb/color-cmds.c: regenerated.
6430 2008-05-21 Martin Nordholts <martinn@svn.gnome.org>
6432 * app/tools/gimpfreeselecttool.c
6433 (gimp_free_select_tool_status_update): Slightly improve one of
6434 the status bar messages.
6436 2008-05-21 Sven Neumann <sven@gimp.org>
6438 * menus/image-menu.xml.in: moved "tools-desaturate" to the other
6439 color tools. Added it to the "tools-color-menu".
6441 2008-05-21 Sven Neumann <sven@gimp.org>
6443 * app/base/desaturate.[ch]: changed to take a pointer as first
6444 argument like all PixelProcessor functions.
6446 * app/core/gimpdrawable-desaturate.c: changed accordingly.
6448 * app/tools/gimpdesaturatetool.[ch]: added legacy code path.
6450 2008-05-21 Sven Neumann <sven@gimp.org>
6452 * app/base/Makefile.am
6453 * app/base/desaturate.[ch]: moved legacy desaturate code here.
6455 * app/core/gimpdrawable-desaturate.c: use the code in app/base.
6457 2008-05-21 Michael Natterer <mitch@gimp.org>
6459 * app/gegl/gimpoperationdesaturate.c
6460 (gimp_operation_desaturate_process): bail out if there is no
6463 2008-05-21 Sven Neumann <sven@gimp.org>
6465 Add Desaturate as an image-map tool with live preview (bug #533808):
6467 * app/gegl/Makefile.am
6468 * app/gegl/gegl-types.h
6469 * app/gegl/gimpdesaturateconfig.[ch]: added config object for the
6470 desaturate point filter.
6472 * app/gegl/gimpoperationdesaturate.[ch]: derive from
6473 GimpOperationPointFilter. Unrolled the inner loop.
6475 * app/core/gimpdrawable-desaturate.c: changed accordingly.
6477 * app/tools/Makefile.am
6478 * app/tools/gimpdesaturatetool.[ch]: added desaturate as an
6479 imagemap tool. So far only the GEGL code path is implemented.
6481 * app/tools/gimp-tools.c: register the new tool.
6483 * app/dialogs/dialogs.c: register the new tool dialog.
6485 * app/dialogs/Makefile.am
6486 * app/dialogs/desaturate-dialog.[ch]: removed the desaturate dialog.
6488 * app/actions/drawable-actions.c
6489 * app/actions/drawable-commands.[ch]: removed action
6490 "drawable-desaturate".
6492 * app/widgets/gimphelp-ids.h: changed help IDs accordingly.
6494 * menus/image-menu.xml.in: replaced "drawable-desaturate" with
6497 * libgimpwidgets/gimpstock.h: added a define for
6498 GIMP_STOCK_TOOL_DESATURATE.
6500 2008-05-21 Sven Neumann <sven@gimp.org>
6502 * plug-ins/jpeg/jpeg-save.c (save_dialog): changed badly chosen
6503 mnemonic, resolved a conflicting mnemonic and added some more.
6505 2008-05-20 Michael Natterer <mitch@gimp.org>
6507 * app/core/Makefile.am
6508 * app/core/core-types.h
6509 * app/core/gimpimagemapconfig.[ch]: new GimpViewable subclass
6510 which has a "time" property. Sets the object's name to a date
6511 string if a time != 0 gets set. Has a compare function which first
6512 sorts the objects with a timestamp in MRU order and then the
6513 objects without timestamp by name.
6515 * app/gegl/gimpbrightnesscontrastconfig.[ch]
6516 * app/gegl/gimpcolorbalanceconfig.[ch]
6517 * app/gegl/gimpcolorizeconfig.[ch]
6518 * app/gegl/gimpcurvesconfig.[ch]
6519 * app/gegl/gimphuesaturationconfig.[ch]
6520 * app/gegl/gimplevelsconfig.[ch]
6521 * app/gegl/gimpposterizeconfig.[ch]
6522 * app/gegl/gimpthresholdconfig.[ch]: derive from GimpImageMapConfig.
6524 * app/tools/gimpimagemaptool.c: sort the settings container with
6525 above compare function.
6527 * app/tools/gimpimagemaptool-settings.c: add utility functions
6528 for loading and saving the settings container. In the settings
6529 combo, add a separator between MRU items and favorites.
6531 * app/Makefile.am: make the thing link.
6533 2008-05-20 Michael Natterer <mitch@gimp.org>
6535 * app/core/gimplist.c (gimp_list_uniquefy_name): don't crash if an
6536 object has a NULL name. Move variables to local scopes. Remove
6539 2008-05-20 Martin Nordholts <martinn@svn.gnome.org>
6541 * app/tools/gimpfreeselecttool.c: Increase handle size to 12
6542 pixels (the same size as for the Paths Tool).
6544 2008-05-20 Martin Nordholts <martinn@svn.gnome.org>
6546 Added statusbar help-messages for the Free Select Tool.
6548 * app/tools/gimpfreeselecttool.c
6549 (gimp_free_select_tool_oper_update): Don't bail out if
6550 tool->display is NULL, instead modify the underlying logic to deal
6553 2008-05-20 Michael Natterer <mitch@gimp.org>
6555 * app/tools/gimpimagemaptool.c: remove
6556 gimp_image_map_tool_add_recent()...
6558 * app/tools/gimpimagemaptool-settings.[ch]: ...and add it here.
6560 2008-05-20 Michael Natterer <mitch@gimp.org>
6562 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_add_recent):
6563 unref the new settings object after adding it to the recent
6566 * app/tools/gimpimagemaptool-settings.c: add a "Save to Favorites"
6567 button which pops a string entry dialog and saves the current
6568 settings to the recent container.
6570 2008-05-20 Michael Natterer <mitch@gimp.org>
6572 * app/tools/Makefile.am
6573 * app/tools/gimpimagemaptool-settings.[ch]: new files containing
6574 all the recent settings and settings load/save GUI and code. Got
6575 rid of shortcut loading/saving using shift+click. Added default
6576 implementations of ::settings_load() and ::settings_save().
6577 The GUI is currently horrible, work in progress!
6579 * app/tools/gimpimagemaptool.c: removed the settings code here.
6581 * app/tools/gimpcurvestool.c * app/tools/gimplevelstool.c: don't
6582 pack the load and save buttons, this is done generically for all
6585 * app/tools/gimpbrightnesscontrasttool.c
6586 * app/tools/gimpcolorbalancetool.c
6587 * app/tools/gimpcolorizetool.c
6588 * app/tools/gimphuesaturationtool.c
6589 * app/tools/gimpposterizetool.c
6590 * app/tools/gimpthresholdtool.c: set the load/save related members
6591 of GimpImageMapToolClass.
6593 2008-05-20 Sven Neumann <sven@gimp.org>
6595 * app/widgets/Makefile.am
6596 * app/widgets/gimptoggleaction.[ch]
6597 * app/widgets/gimpradioaction.[ch]: added new action types derived
6598 from GtkToggleAction and GtkRadioAction. These types override the
6599 "connect_proxy" method to enable tooltips in menus.
6601 * app/widgets/gimpactiongroup.c: use the new action types.
6603 * app/actions/dockable-actions.c: added a tooltip for the
6604 "dockable-lock-tab" action.
6606 2008-05-20 Sven Neumann <sven@gimp.org>
6608 * app/tools/gimpbrightnesscontrasttool.c
6609 * app/tools/gimplevelstool.c: fixed grammar.
6611 2008-05-19 Sven Neumann <sven@gimp.org>
6613 * app/widgets/gimpdockable.[ch]
6614 * app/widgets/gimpdockbook.[ch]: added a "locked" propery to
6615 GimpDockable. A locked dockable cannot be moved by drag-n-drop.
6616 Allows users to protect their dockables from accidental changes,
6617 mainly when working with a tablet.
6619 * app/widgets/gimpsessioninfo-dockable.[ch]: store the "locked"
6620 property in the session info.
6622 * app/actions/dockable-actions.c
6623 * app/actions/dockable-commands.[ch]: added an action for toggling
6626 * app/widgets/gimphelp-ids.h: new help-id "gimp-dock-tab-lock".
6628 * menus/dockable-menu.xml.in: show the new menu item.
6630 * app/actions/plug-in-actions.c: formatting.
6632 2008-05-19 Michael Natterer <mitch@gimp.org>
6634 Unabstract image map tool settings load/save a bit before it's
6635 turned into generic load/save for all image map tools:
6637 * app/gegl/gimpcurvesconfig.[ch]
6638 * app/gegl/gimplevelsconfig.[ch]: add GError** to save_cruft()
6641 * app/tools/gimpimagemaptool.[ch]: add GError to
6642 ::settings_save(), changed "file" parameter of ::settings_load()
6643 and ::settings_save() to "filename", removed
6644 gimp_image_map_tool_load_save() utility function and moved the
6645 code to the settings_load() and settings_save() utility functions.
6647 * app/tools/gimpcurvestool.c
6648 * app/tools/gimplevelstool.c: changed accordingly. Open and close
6649 the settings files here.
6651 2008-05-19 Sven Neumann <sven@gimp.org>
6653 * plug-ins/common/psd-save.c (save_layer_and_mask): corrected
6654 "layer mask disabled" flag in layer mask data section (bug #526811).
6656 2008-05-19 Sven Neumann <sven@gimp.org>
6658 * app/paint/gimpperspectiveclone.c: removed unused import.
6660 2008-05-19 Sven Neumann <sven@gimp.org>
6662 * tools/pdbgen/pdb/layer.pdb: corrected description of
6663 gimp-layer-set-show-mask procedure.
6665 * app/pdb/layer-cmds.c
6666 * libgimp/gimplayer_pdb.c: regenerated.
6668 2008-05-19 Michael Natterer <mitch@gimp.org>
6670 * app/core/gimpcurve.c
6671 (gimp_curve_set_n_points)
6672 (gimp_curve_set_n_samples): set "identity" to TRUE if appropriate.
6674 (gimp_curve_calculate): don't set it to TRUE when there are no
6677 2008-05-19 Sven Neumann <sven@gimp.org>
6679 * app/core/gimpcurve-map.c (gimp_curve_map_pixels): fixed the call
6680 to memcpy() in the CURVE_NONE case.
6682 2008-05-18 Kevin Cozens <kcozens@cvs.gnome.org>
6684 * plug-ins/script-fu/tinyscheme/scheme.c: Reverting previous change.
6685 I figured it would break something. It breaks the 'while' macro by
6686 preventing use of a named let.
6688 2008-05-18 Michael Natterer <mitch@gimp.org>
6690 * app/core/gimpcurve.c: implement (de)serializing of the points
6691 and samples arrays using GValueArray. Set "identity" to FALSE
6692 after deserializing.
6694 2008-05-18 Michael Natterer <mitch@gimp.org>
6696 * libgimpconfig/gimpconfig-serialize.[ch]
6697 * libgimpconfig/gimpconfig.def: add
6698 gimp_config_serialize_property_by_name().
6700 * app/gegl/gimpcolorbalanceconfig.c
6701 * app/gegl/gimpcurvesconfig.c
6702 * app/gegl/gimphuesaturationconfig.c
6703 * app/gegl/gimplevelsconfig.c: implement serialize() and
6704 deserialize() and make sure the properties which change when the
6705 channel/range property changes are handled correctly. Not too
6706 ugly but it's still a hack...
6708 2008-05-18 Michael Natterer <mitch@gimp.org>
6710 * app/tools/gimpimagemaptool.c: made the lists of recent settings
6711 persistent. Note that the settings of tools that modify multiple
6712 channels or ranges are saved incompletely because their settings
6713 still lack custom serialize() implementations. Work in progress.
6715 2008-05-18 Michael Natterer <mitch@gimp.org>
6717 * app/core/gimptoolinfo.[ch]: add
6718 gimp_tool_info_build_options_filename() which creates a filename
6719 under $GIMPDIR/tool-options/ with an optional suffix.
6721 * app/core/gimptooloptions.c
6722 * app/core/gimptoolpresets.c: use it and remove own build_filename()
6725 2008-05-18 Michael Natterer <mitch@gimp.org>
6727 * app/core/gimpstrokeoptions.[ch]: renamed public function
6728 set_dash_pattern() to take_dash_pattern() to clarify memory
6729 management of the passed GArray.
6731 * app/widgets/gimpdasheditor.c
6732 * app/widgets/gimpstrokeeditor.c: changed accordingly.
6734 2008-05-18 Michael Natterer <mitch@gimp.org>
6736 * app/core/gimpcurve.c: implement the GimpConfig interface and add
6737 the code for equal(), reset() and copy() from GimpCurvesConfig.
6739 * app/gegl/gimpcurvesconfig.c: remove the copied code and use
6740 GimpConfig methods to compare, reset and copy curve objects.
6742 2008-05-18 Michael Natterer <mitch@gimp.org>
6744 * app/paint/gimpbrushcore.c: clean up last patch.
6746 2008-05-18 Martin Nordholts <martinn@svn.gnome.org>
6748 * plug-ins/script-fu/tinyscheme/scheme.c: Commited patch from gymp
6749 that removes bogus FIXME (bug #533647).
6751 2008-05-18 Martin Nordholts <martinn@svn.gnome.org>
6753 Applied patch from Alexia Death that makes velocity dynamics
6754 controlled scale properly recalculate the brush mask when
6755 necessary (bug #533618).
6757 * app/paint/gimpbrushcore.[ch] (gimp_brush_core_scale_mask): A
6758 change in scale requires a recalculation of the cached brush mask.
6760 2008-05-18 Martin Nordholts <martinn@svn.gnome.org>
6762 Merged the Polygon Select Tool capabilities with the Free Select
6763 Tool. Among the things still to do is improved help texts, more
6764 suitable graphics, and cursor mangement, but the core
6765 functionality is in place. Thanks to Alexia Death for initial
6766 testing. It will also be neccesary to do some work to adapt the
6767 Foreground Select Tool to the new Free Select Tool implementation.
6769 Quick instructions on how the tool works:
6771 o A click adds a polygonal segment, a drag adds a free-hand
6773 o Return-key commits, Escape-key cancels, Backspace-key removes
6775 o You can grab and move segment vertices
6776 o You can cancel both a move, and the creation of a segment
6778 * app/tools/gimpfreeselecttool.[ch]: More or less
6779 reimplemented. We keep a sequential array of all the points in the
6780 polygon (including the free segments), and we have another array
6781 with point indices that we use to represent the segments. On top
6782 of this we have a few helper functions that tries to abstract away
6783 the pretty raw nature of the implementation.
6785 * app/tools/gimpforegroundselecttool.[ch]: Keep track on its own
6786 last_coord, and adjust to the new implementation of the Free
6787 Select Tool. Still needs some work, for example handling that the
6788 Free Select Tool now resets GimpTool::display.
6789 (gimp_foreground_select_tool_key_press): Pass on key event to
6790 parent class when appropriate. (Bails out too early though...)
6792 2008-05-18 Michael Natterer <mitch@gimp.org>
6794 * app/gegl/gimpcurvesconfig.c (gimp_curves_config_set_property):
6795 also copy curve->identity.
6797 2008-05-17 Sven Neumann <sven@gimp.org>
6799 * app/core/gimpimagemap.c: fixed issues with the profiling code.
6801 2008-05-17 Michael Natterer <mitch@gimp.org>
6803 * app/tools/gimpimagemaptool.[ch]: add gimp_image_map_tool_edit_as().
6805 * app/tools/gimplevelstool.c (levels_to_curves_callback): use it.
6807 * app/gegl/gimpbrightnesscontrastconfig.[ch]: add
6808 gimp_brightness_contrast_config_to_levels_config().
6810 * app/tools/gimpbrightnesscontrasttool.c: implement "Edit as Levels".
6812 2008-05-17 Øyvind Kolås <pippin@gimp.org>
6814 * app/core/gimpdrawable-operation.c:
6815 * app/core/gimpimagemap.c: Make the created GEGL graphs have the
6816 "dont-cache" property set to avoid unneeded caches.
6818 2008-05-17 Michael Natterer <mitch@gimp.org>
6820 * app/widgets/gimpwidgets-constructors.[ch]: add new function
6821 gimp_stock_button_new() which creates a button with icon and label
6822 which is *not* the stock_id's label.
6824 * app/dialogs/preferences-dialog.c (prefs_button_add)
6825 * app/tools/gimplevelstool.c (gimp_levels_tool_dialog): use it.
6827 2008-05-17 Michael Natterer <mitch@gimp.org>
6829 * app/widgets/gimphelp-ids.h: add help IDs for the stuff in the
6832 * app/actions/windows-actions.c: use them.
6834 2008-05-17 Michael Natterer <mitch@gimp.org>
6836 * app/dialogs/file-save-dialog.c (file_save_dialog_response): fix
6837 crash (don't dereference dialog after it has been destroyed). Also
6838 put back code that sets the dialog back to sensitive if it still
6841 2008-05-17 Michael Natterer <mitch@gimp.org>
6843 * app/core/gimpimagefile.c
6844 * app/tools/gimpaligntool.c
6845 * app/tools/gimpselectiontool.c
6846 * app/tools/gimpvectortool.c
6847 * plug-ins/color-rotate/color-rotate-dialog.c
6848 * plug-ins/common/noise-rgb.c
6849 * plug-ins/common/value-propagate.c
6850 * plug-ins/gfig/gfig-dialog.c
6851 * plug-ins/gfig/gfig.h
6852 * plug-ins/gimpressionist/general.c
6853 * plug-ins/gimpressionist/gimpressionist.h
6854 * plug-ins/gimpressionist/orientation.c
6855 * plug-ins/gimpressionist/size.c
6856 * plug-ins/gimpressionist/utils.c
6857 * plug-ins/gradient-flare/gradient-flare.c
6858 * plug-ins/ifs-compose/ifs-compose.c
6859 * plug-ins/imagemap/imap_main.c
6860 * plug-ins/imagemap/imap_preferences.c: in latest GLib _() returns
6861 "const gchar*" as it should. Add const qualifiers to local utility
6862 functions and some explicit casts to fix the warnings caused by
6865 2008-05-17 Michael Natterer <mitch@gimp.org>
6867 * app/actions/windows-actions.c: add tooltips to the menu items of
6868 open and recently closed docks.
6870 * app/widgets/gimpaction.c: connect to "notify::tooltip" and make
6871 sure gimp_help_set_help_data() gets called when the action's
6874 2008-05-17 Michael Natterer <mitch@gimp.org>
6876 * tools/pdbgen/pdb/gradient.pdb: applied patch from Lars-Peter
6877 Clausen which adds gimp-gradient-get-number-of-segments. Fixes
6880 * app/pdb/gradient-cmds.c
6881 * app/pdb/internal-procs.c
6882 * libgimp/gimpgradient_pdb.[ch]: regenerated.
6884 * libgimp/gimp.def: add the new symbol.
6886 2008-05-17 Michael Natterer <mitch@gimp.org>
6888 * plug-ins/twain/Makefile.am: add -framework options to
6889 twain_LDFLAGS instead of AM_LDFLAGS to make whatever layer/version
6890 of autofoo happy on all macs.
6892 2008-05-16 Sven Neumann <sven@gimp.org>
6894 * app/core/gimpimagemap.c: added some basic benchmarking code.
6895 Will become optional but for now it is enabled by default.
6897 2008-05-16 Kevin Cozens <kcozens@cvs.gnome.org>
6899 * plug-ins/script-fu/tinyscheme/scheme.c: Added extra checks to stop
6900 bad syntax in LET from causing a segmentation fault in Linux.
6903 2008-05-16 Michael Natterer <mitch@gimp.org>
6905 * app/Makefile.am: formatting.
6907 2008-05-16 Sven Neumann <sven@gimp.org>
6909 * app/display/gimpdisplayoptions.c: disable rulers by default as
6910 suggested by Peter. Please give feedback.
6912 2008-05-16 Sven Neumann <sven@gimp.org>
6914 * plug-ins/help/Makefile.am
6915 * plug-ins/help/gimphelpprogress.[ch]
6916 * plug-ins/help/gimphelpprogress-private.h: new files providing a
6917 simple framework for progress indication and cancellation.
6919 * plug-ins/help/gimphelp.[ch]
6920 * plug-ins/help/gimphelpdomain.[ch]
6921 * plug-ins/help/gimphelpitem.[ch]
6922 * plug-ins/help/gimphelplocale.[ch]
6923 * plug-ins/help/gimphelptypes.h
6924 * plug-ins/help/help.c
6925 * plug-ins/help/locales.[ch]: changed accordingly (passing NULL
6926 as progress for now). Also updated copyright headers.
6928 * plug-ins/help-browser/help-browser.c: same here.
6930 * plug-ins/help/gimp-help-lookup.c: use the new API and show some
6931 progress indication when the --verbose command-line option is used.
6933 2008-05-16 Michael Natterer <mitch@gimp.org>
6935 * app/dialogs/dialogs.c (dialogs_load_recent_docks): reverse the
6936 list after loading so it keeps its order.
6938 * app/menus/windows-menu.c (windows_menu_setup)
6939 (windows_menu_recent_add): keep the recent docks menu in MRU
6942 2008-05-16 Michael Natterer <mitch@gimp.org>
6944 Implement the presistent menu of recently closed docks, still
6945 somewhat hackish but fully functional. Fixes bug #132744.
6947 * app/actions/dialogs-actions.c
6948 * app/actions/dialogs-commands.[ch]
6949 * menus/image-menu.xml.in: remove the menu items that were
6950 creating the hardcoded preconfigured docks.
6952 * app/dialogs/dialogs.[ch]: add GimpContainer of recently closed
6953 docks and API to load and save it.
6955 * app/gui/session.c: call the recent dock load and save functions.
6957 * app/widgets/gimpsessioninfo.[ch]: implement the GimpConfig interface
6958 and (de)serialize via proper interface methods.
6961 * app/widgets/gimpdialogfactory.c: use the GimpConfig API
6962 to (de)serialize session infos and added the code that was
6963 formerly in the info's (de)serialize functions but didn't belong
6966 * app/widgets/gimpaction.[ch]: add "max-width-chars" property and
6967 set it on proxy menu item labels.
6969 * app/actions/windows-actions.[ch]
6970 * app/actions/windows-commands.[ch]
6971 * app/menus/windows-menu.c: add actions and menu of recently
6972 closed docks and code to restore the dock when the menu items are
6973 selected. Use above new action property to ensure a minimum
6976 * app/widgets/gimpmenudock.c: use '-' instead of '|' for
6977 separating notebooks in the window title. Menu items don't like '|'.
6979 * app/widgets/gimpdock.c: removed the confirmation dialog when
6980 closing docks and simply add them to the recent docks container.
6981 This code is totally misplaced and will move to another file soon.
6983 2008-05-14 Sven Neumann <sven@gimp.org>
6985 * app/core/gimpcurve.c (gimp_curve_plot): don't write over the end
6986 of the samples array. Someone should review this code. It looks
6987 as if the loop could be rewritten in a safer and cleaner way.
6989 2008-05-14 Sven Neumann <sven@gimp.org>
6991 * plug-ins/common/blur-gauss-selective.c: formatting.
6993 2008-05-14 Sven Neumann <sven@gimp.org>
6995 * app/widgets/gimpcurveview.c (gimp_curve_view_motion_notify):
6996 fixed use of uninitialized value.
6998 2008-05-14 Sven Neumann <sven@gimp.org>
7000 * app/actions/windows-actions.c (windows_actions): relabeled
7001 submenu to "Recently Closed Docks".
7003 2008-05-14 Michael Natterer <mitch@gimp.org>
7005 * app/menus/windows-menu.c
7006 * app/actions/windows-actions.c
7007 * menus/image-menu.xml.in: move the list of dockable dialogs and
7008 the list of recent docks to submenus and keep the list of open
7009 image windows and docks at the "Windows" menu toplevel. The list
7010 of recent docks doesn't exist yet, its contents are fake.
7012 2008-05-14 Michael Natterer <mitch@gimp.org>
7014 * app/gegl/gimpcurvesconfig.c (gimp_curves_config_copy): also
7015 copy curve->identity.
7017 2008-05-14 Manish Singh <yosh@gimp.org>
7019 * plug-ins/pygimp/gimpfu.py: Add PF_OPTION. Fixes bug #523142.
7021 2008-05-14 Sven Neumann <sven@gimp.org>
7023 * app/core/gimpbrushclipboard.c
7024 (gimp_brush_clipboard_buffer_changed): for an opaque buffer,
7025 initialize the brush mask with 255 instead of 0. Fixes bug #532886.
7027 2008-05-14 Sven Neumann <sven@gimp.org>
7029 * plug-ins/gradient-flare/gradient-flare.c
7030 (calc_sample_one_gradient): use G_STRUCT_OFFSET() instead of a
7031 hand-made macro which caused a compiler warning (spotted by gymp,
7034 2008-05-14 Michael Natterer <mitch@gimp.org>
7036 * app/widgets/gimpsessioninfo-book.[ch]: remove widget member from
7037 struct GimpSessionInfoBook. Return the created GimpDockbook from
7040 * app/widgets/gimpsessioninfo-dock.c (restore): use the returned
7041 book instead of the struct member.
7043 2008-05-14 Michael Natterer <mitch@gimp.org>
7045 Made session info serialization independent from widgets so it can
7046 be used on stored dock layouts which are not open:
7048 * app/widgets/gimpsessioninfo-book.[ch]
7049 * app/widgets/gimpsessioninfo-dock.[ch]
7050 * app/widgets/gimpsessioninfo-dockable.[ch]: add from_widget()
7051 functions which return newly allocated session info structs.
7052 Changed serialize() functions to take these structs instead of
7053 widgets. Changed deserialize() functions to return the structs
7054 instead of appending them to lists in their parent structs. Don't
7055 free anything in restore().
7057 * app/widgets/gimpsessioninfo-aux.[ch]
7058 (gimp_session_info_aux_serialize): take a GList of aux_info
7059 instead of a widget.
7061 * app/widgets/gimpsessioninfo.[ch]: add new functions get_info()
7062 which collects above session info details from dialogs and
7063 clear_info() which clears that info. Call clear_info() from
7064 finalize(). Don't free anything in restore().
7066 * app/widgets/gimpdialogfactory.c
7067 (gimp_dialog_factories_save_foreach): collect the session info
7068 detials from the dialogs before serializing because serialize()
7069 doesn't know about the widget any longer. Clear the infos after
7072 (gimp_dialog_factories_restore_foreach): clear the session info
7073 details after creating the dialogs because restore() doesn't clear
7074 the info by itself any longer.
7076 2008-05-13 Michael Natterer <mitch@gimp.org>
7078 * app/widgets/gimpsessioninfo.c: turn "info != NULL" checks into
7079 "GIMP_IS_SESSION_INFO (info)".
7081 2008-05-13 Michael Natterer <mitch@gimp.org>
7083 * app/widgets/gimpsessioninfo.[ch]: turn into a GimpObject
7084 subclass. No logical changes yet.
7086 * app/widgets/widgets-types.h
7087 * app/widgets/gimpdialogfactory.c: changed accordingly.
7089 2008-05-13 Michael Natterer <mitch@gimp.org>
7091 First prototype of a button in the levels tool dialog that will
7092 jump the the curves tool with the same settings:
7094 * app/gegl/gimplevelsconfig.[ch]: add new function
7095 gimp_levels_config_to_curves_config() which converts a
7096 GimpLevelsConfig to a GimpCurvesConfig. Still lacks support
7099 * app/tools/gimplevelstool.c: add "Edit this Settings as Curves"
7100 button and jump to curves when clicked. Still ugly.
7102 2008-05-13 Sven Neumann <sven@gimp.org>
7104 * app/core/gimpcurve-map.c (gimp_curve_map_pixels): use memcpy()
7105 for the CURVE_NONE case.
7107 2008-05-13 Sven Neumann <sven@gimp.org>
7109 * app/core/gimpcurve-map.[ch] (gimp_curve_map_pixels): introduced
7110 an enum to clean up the code. Optimize another not so uncommon case.
7112 2008-05-13 Sven Neumann <sven@gimp.org>
7114 * app/core/gimpcurve-map.c (gimp_curve_map_pixels): create a
7115 bitmask that represents the curves that need to be applied and
7116 optimize the most common cases.
7118 2008-05-13 Simon Budig <simon@gimp.org>
7120 * app/vectors/vectors-types.h: add a comment explaining the hack.
7122 2008-05-13 Sven Neumann <sven@gimp.org>
7124 * app/core/gimpcurve-map.c (gimp_curve_map_value): simplified the
7127 2008-05-13 Sven Neumann <sven@gimp.org>
7129 * app/core/gimpcurve.[ch]: keep a boolean flag to identify an
7130 identity mapping. Set it to TRUE when the curve is reset.
7132 * app/core/gimpcurve-map.c (gimp_curve_map_value): optimize for
7133 the case where the curve is an identity mapping.
7135 2008-05-12 Simon Budig <simon@gimp.org>
7137 * app/vectors/gimpvectors.[ch]
7138 * app/vectors/gimpstroke.[ch]
7139 * app/vectors/gimpbezierstroke.c: Implement functionality to
7140 get a bezier description a la moveto/curveto/closepath.
7142 * app/vectors/vectors-types.h: implement an evil hack to avoid
7143 the inclusion of cairo.h in most C files...
7145 * app/vectors/Makefile.am: link against cairo
7147 * app/widgets/gimpviewrenderervectors.c: use the new functionality
7148 for preview rendering.
7150 2008-05-11 Sven Neumann <sven@gimp.org>
7152 * app/core/Makefile.am
7153 * app/core/gimpcurve.[ch]:
7154 * app/core/gimpcurve-map.[ch]: split curve map functions into
7157 * app/gegl/gimpoperationcurves.c
7158 * app/tools/gimpcurvestool.c
7159 * app/widgets/gimpcurveview.c: changed accordingly.
7161 * app/Makefile.am (AM_LDFLAGS): make it link.
7163 2008-05-11 Sven Neumann <sven@gimp.org>
7165 * app/core/gimpcurve.[ch]: renamed gimp_curve_map() to
7166 gimp_curve_map_value(). Added new function gimp_curve_map_pixels()
7167 which will allow for better optimization.
7169 * app/gegl/gimpoperationcurves.c (gimp_operation_curves_process):
7170 use gimp_curve_map_pixels().
7172 * app/tools/gimpcurvestool.c
7173 * app/widgets/gimpcurveview.c: follow API change.
7175 2008-05-11 Martin Nordholts <martinn@svn.gnome.org>
7177 * app/tools/gimpcroptool.[ch]: No need to expose definitions of
7178 GimpCropTool or GimpCropToolClass.
7180 2008-05-11 Martin Nordholts <martinn@svn.gnome.org>
7182 * app/tools/gimprectangletool.c: Fix emission of
7183 rectangle-change-complete signals.
7185 * app/tools/gimpcroptool.c
7186 * app/tools/gimprectangleselecttool.c:
7187 Use the rectangle-change-complete signal to update the default
7188 aspect ratio. Fixes bug #530519.
7190 * app/tools/gimpcroptool.c
7191 (gimp_crop_tool_button_release)
7192 (gimp_crop_tool_options_notify)
7193 * app/tools/gimprectangleselecttool.c
7194 (gimp_rectangle_select_tool_button_release): No need to explicitly
7195 update option defaults since it is handled through the
7196 rectangle-change-complete signal now.
7198 2008-05-11 Sven Neumann <sven@gimp.org>
7200 * app/core/gimpcurve.[ch] (gimp_curve_map): minor cleanup.
7202 2008-05-11 Sven Neumann <sven@gimp.org>
7204 * plug-ins/common/web-browser.c (browser_open_url): improved error
7205 messages as suggested in bug #522483.
7207 2008-05-11 Sven Neumann <sven@gimp.org>
7209 * app/gegl/gimpoperationlevels.c (gimp_operation_levels_map):
7210 optimized for the case where gamma is 1.0.
7212 2008-05-11 Michael Natterer <mitch@gimp.org>
7214 * app/widgets/gimpaction.[ch]: add an "ellipsize" property that is
7215 applied to all proxy menu items' labels.
7217 * app/actions/windows-actions.c: set the dock actions to
7218 PANGO_ELLIPSIZE_END because their labels can be insanely long.
7220 2008-05-11 Michael Natterer <mitch@gimp.org>
7222 * app/widgets/gimpaction.c (gimp_action_set_proxy): small cleanup.
7224 2008-05-11 Michael Natterer <mitch@gimp.org>
7226 * app/actions/windows-commands.[ch]
7227 * app/actions/windows-actions.c
7228 * app/menus/windows-menu.c: add dynamic actions and menu items for
7229 all open docks. Present the dock when the menu item is selected.
7231 2008-05-10 Martin Nordholts <martinn@svn.gnome.org>
7233 * app/tools/gimprectangletool.c
7234 (gimp_rectangle_tool_button_press): Active the tool control
7236 (gimp_rectangle_tool_synthesize_motion): Bail out if the tool
7237 control is active, we don't want to synthesize a motion in this
7238 case as it emits unwanted rectangle-changed signals.
7240 2008-05-10 Michael Natterer <mitch@gimp.org>
7242 * app/widgets/gimpdialogfactory.[ch]: add signals "dock-added" and
7245 (gimp_dialog_factory_add_dialog)
7246 (gimp_dialog_factory_remove_dialog): emit them when docks get
7249 2008-05-10 Michael Natterer <mitch@gimp.org>
7251 * app/actions/windows-actions.c: renamed the "Create New Dock"
7252 submenu to simply "Docks". Its contents are about ti change soon.
7254 * menus/image-menu.xml.in: changed accordingly. Added a "Docks"
7255 placeholder inside and add the "show toolbox" menu item there.
7257 2008-05-10 Michael Natterer <mitch@gimp.org>
7259 * app/core/gimplist.[ch]: add boolean "append" property which
7260 makes gimp_container_add() append to the list instead of the
7263 * app/core/gimp.c: create the display list with append = TRUE so
7264 the images menu is in a proper order.
7266 2008-05-10 Michael Natterer <mitch@gimp.org>
7268 * app/actions/windows-actions.c: don't hide the empty images menu,
7269 use gimp_image_get_uri() instead of the object's name.
7271 2008-05-10 Michael Natterer <mitch@gimp.org>
7273 * app/widgets/gimpactiongroup.h: fix parameter name.
7275 2008-05-10 DindinX <dindinx@gimp.org>
7277 * plug-ins/flame/cmap.c
7278 * plug-ins/flame/libifs.c
7279 * plug-ins/flame/rect.[ch]: cleaning (mostly code reformating and
7280 converting K&R style function declarations to ansi).
7282 * plug-ins/common/pcx.c: reformated as well.
7284 2008-05-10 Michael Natterer <mitch@gimp.org>
7286 Start changing the "Dialogs" menu to "Windows", still incomplete.
7287 Addresses bug #309707.
7289 * app/actions/Makefile.am
7290 * app/actions/windows-actions.[ch]
7291 * app/actions/windows-commands.[ch]: new files which currently
7292 hold the "show toolbox" action and callback and new code which
7293 maintains automatically generated actions for accessing (raising)
7296 * app/actions/actions.c: register the new "windows" action group.
7298 * app/actions/dialogs-actions.c
7299 * app/actions/dialogs-commands.[ch]: remove "show toolbox"
7300 action and callback and also the action for the "Disalogs" menu.
7302 * app/menus/Makefile.am
7303 * app/menus/windows-menu.[ch]: new files which create and destroy
7304 the menu items for the image window actions.
7306 * app/menus/menus.c: register the "windows" action group with
7307 all UI managers that have the "dialogs" action group.
7309 * app/menus/image-menu.c (image_menu_setup): call
7310 windows_menu_setup().
7312 * app/gui/gui.c: s/dialogs_show_toolbox/windows_show_toolbox/g
7314 * menus/image-menu.xml.in: some minor s/dialogs/windows/
7315 and add the "Images" submenu.
7317 2008-05-10 Michael Natterer <mitch@gimp.org>
7319 * app/display/gimpdisplay.c (gimp_display_set_image): emit
7322 2008-05-10 Martin Nordholts <martinn@svn.gnome.org>
7324 * app/tools/gimprectangleselecttool.c
7325 (gimp_rectangle_select_tool_cancel): Don't forget updating the
7326 default aspect ratio when cancelling a rectangle select.
7328 2008-05-10 Sven Neumann <sven@gimp.org>
7330 * app/tools/gimptexttool.c (gimp_text_tool_confirm_response):
7331 rerender the text layer as suggested in bug #532078.
7332 (gimp_text_tool_confirm_dialog): minor dialog improvements.
7334 2008-05-10 Sven Neumann <sven@gimp.org>
7336 * plug-ins/flame/libifs.c: removed trailing whitespace.
7338 2008-05-10 Sven Neumann <sven@gimp.org>
7340 * app/core/gimpbrush-scale.c: formatting.
7342 2008-05-10 Sven Neumann <sven@gimp.org>
7344 * app/widgets/gimpviewrenderer.c (gimp_view_renderer_real_draw):
7345 reset the translation on the cairo context. Resurrects brush
7346 emblems which were drawn in the wrong position.
7348 * app/widgets/gimpviewrendererbrush.c (gimp_view_renderer_brush_draw):
7351 2008-05-10 Michael Natterer <mitch@gimp.org>
7353 * plug-ins/common/gtm.c: renamed...
7355 * plug-ins/common/html-table.c: ...to this and cleaned it up.
7357 * plugin-defs.pl: changed accordingly.
7358 * Makefile.am: regenerated.
7360 2008-05-10 Manish Singh <yosh@gimp.org>
7362 * plug-ins/common/poppler.c: Support poppler 0.8.x.
7364 2008-05-10 Martin Nordholts <martinn@svn.gnome.org>
7366 * app/tools/gimprectangletool.c
7367 (gimp_rectangle_tool_button_release): Don't forget updating the
7368 integer representation when reverting the rectangle after
7369 cancelling a rubber-banding.
7371 2008-05-10 Martin Nordholts <martinn@svn.gnome.org>
7373 * app/tools/gimprectangletool.c
7374 (gimp_rectangle_tool_button_release): Update the tool options
7375 after a release; the rectangle might change if a rubber-banding is
7378 2008-05-10 Sven Neumann <sven@gimp.org>
7380 * app/display/gimpdisplayshell-callbacks.c
7381 (gimp_display_shell_events) (gimp_display_shell_canvas_tool_events):
7382 don't reserve Delete for use by tools. Fixes bug #532116.
7384 * app/tools/gimpimagemaptool.c
7385 * app/tools/gimptransformtool.c: don't use Delete (you can still
7386 use the Backspace key to achieve the same).
7388 2008-05-10 Manish Singh <yosh@gimp.org>
7390 * plug-ins/imagemap/Makefile.am: tweak the rules for rebuilding the
7391 parser files from lex/yacc source so that they are explicit instead
7392 of potentially being run implicitly because the file dates are off.
7394 2008-05-10 Michael Natterer <mitch@gimp.org>
7396 * app/gimp-log.[ch]: add SHADOW_TILES log domain.
7398 * app/plug-in/gimpplugin-cleanup.c (gimp_plug_in_cleanup_item):
7399 turn commented-out g_printerr() into a GIMP_LOG()
7401 2008-05-10 Michael Natterer <mitch@gimp.org>
7403 Applied modified patch from Alexia Death which adds velocity
7404 support to paint tools in the spirit of the pressure support we
7405 already have. Fixes bug #529431.
7407 * app/display/gimpdisplayshell-coords.c
7408 (gimp_display_shell_eval_event): tweak velocity calculation to
7409 work in screen coordinates.
7411 * app/paint/gimppaintoptions.[ch]: add velocity options in the
7412 same way as there are pressure options. Add utility functions
7413 which return dynamic opatity and dynamic rate according to the
7414 option's settings and some GimpCoords' pressure and velocity.
7416 * app/tools/gimppaintoptions-gui.c: add GUI for the velocity
7419 * app/paint/gimpbrushcore.h: remove PRESSURE_SCALE define, it's
7420 now in gimppaintoptions.h.
7422 * app/paint/gimpbrushcore.c (gimp_brush_core_interpolate):
7423 inerpolate velocity too.
7425 (gimp_brush_core_calc_brush_scale): take velocity into account.
7427 (gimp_brush_core_get_brush_mask): always pressurize the mask in
7428 the GIMP_BRUSH_PRESSURE because there always is velocity (unlike
7429 pressure which is only there on tablets).
7431 * app/paint/gimpairbrush.c
7432 * app/paint/gimpclone.c
7433 * app/paint/gimpconvolve.c
7434 * app/paint/gimpdodgeburn.c
7435 * app/paint/gimperaser.c
7436 * app/paint/gimpheal.c
7437 * app/paint/gimppaintbrush.c
7438 * app/paint/gimpsmudge.c: get opacity and rate from the new paint
7439 options utility functions which take both pressure and velocity
7442 * app/paint/gimppaintbrush.c: take velocity into account when
7443 calculating the gradient color offset.
7445 * app/paint/gimpairbrush.c: do some additional fiddling with
7446 velocity in the asynchronous airbrush timeout.
7448 * app/paint/gimpairbrushoptions.c: override the velocity-size
7449 property and have it default to FALSE.
7451 2008-05-10 Martin Nordholts <martinn@svn.gnome.org>
7453 * app/tools/gimpcroptool.c: Add a GimpRectangleTool::cancel()
7454 implementation that updates default aspect ratio when cancelling a
7457 2008-05-09 Martin Nordholts <martinn@svn.gnome.org>
7459 * app/tools/gimpcroptool.[ch]: Keep track of the current image and
7460 manage a subscription to "size-changed" so that default aspect
7461 ratio is properly updated. (Bug #532057.)
7462 (gimp_crop_tool_execute): No need to explicitly call
7463 gimp_crop_tool_update_option_defaults() any longer.
7465 2008-05-09 Simon Budig <simon@gimp.org>
7467 * app/core/gimpscanconvert.[ch]: expose the internal most
7468 flexible rendering function. Make use of the miter limit
7471 2008-05-09 Sven Neumann <sven@gimp.org>
7473 * configure.in: lowered minimum required cairo version to 1.4.10.
7475 2008-05-09 Simon Budig <simon@gimp.org>
7477 * app/core/gimpscanconvert.[ch]: kind of resurrect the
7478 blending modes, although now implemented as compositing
7479 on top of the existing content of a mask.
7481 * app/tools/gimpforegroundselecttool.c: changed accordingly
7483 2008-05-09 Simon Budig <simon@gimp.org>
7485 * app/core/gimpscanconvert.c: resurrect dashed strokes.
7487 2008-05-09 Sven Neumann <sven@gimp.org>
7489 * configure.in: check for a minimum required cairo version (1.4.14).
7491 * app/core/gimpscanconvert.c: copied some code from cairo until
7492 we depend on cairo 1.6.
7494 2008-05-09 Sven Neumann <sven@gimp.org>
7497 * INSTALL: removed mentions of libart, added a link for cairo.
7499 2008-05-09 Simon Budig <simon@gimp.org>
7501 * app/core/gimpscanconvert.[ch]: removed Libart usage,
7502 replaced with Cairo. Dashed strokes do not yet work again, will
7503 happen tomorrow. Also the blending modes need a second look at.
7505 Also removed deprecated API which made it unnecessarily complicated.
7507 * app/tools/gimpiscissorstool.c: use the current API.
7509 * app/core/Makefile.am
7511 * configure.in: removed libart dependency, added cairo dependency
7514 2008-05-08 Michael Natterer <mitch@gimp.org>
7516 * app/display/gimpdisplayshell-callbacks.c
7517 (gimp_display_shell_events): don't call gtk_widget_grab_focus() here.
7519 (gimp_display_shell_canvas_tool_events): call it here instead and
7520 add comments about how BUTTON_PRESS and FOCUS_IN interact.
7522 Return TRUE from BUTTON_PRESS, BUTTON_RELEASE and MOTION_NOTIFY.
7524 2008-05-08 Sven Neumann <sven@gimp.org>
7526 * themes/Default/gtkrc
7527 * themes/Small/gtkrc: further shrink the status-bar widgets.
7529 2008-05-08 Sven Neumann <sven@gimp.org>
7531 * app/display/gimpscalecombobox.c (gimp_scale_combo_box_init):
7532 removed the entry's inner border to save some precious space in
7535 2008-05-08 Sven Neumann <sven@gimp.org>
7537 * app/display/gimpdisplayshell-callbacks.c
7538 (gimp_display_shell_events): move the focus to the canvas on
7539 button-press events.
7541 * app/widgets/gimpwindow.c (gimp_window_key_press_event): removed
7542 use of G_UNLIKELY() that was somewhat bogus here.
7544 2008-05-08 Sven Neumann <sven@gimp.org>
7546 * app/widgets/gimpfiledialog.[ch]: added infrastructure to access
7547 and set some state information of the GtkFileChooser.
7549 * app/dialogs/file-open-dialog.c
7550 * app/dialogs/file-save-dialog.c: don't keep the file-chooser
7551 dialogs around. Instead keep the state attached to the Gimp object
7552 (one state for load, one for save dialogs). Closes bug #528811.
7554 2008-05-08 Sven Neumann <sven@gimp.org>
7556 * app/widgets/widgets-types.h
7557 * app/widgets/gimpfiledialog.c: formatting.
7559 2008-05-07 Martin Nordholts <martinn@svn.gnome.org>
7561 * app/tools/gimpcroptool.c (gimp_crop_tool_image_changed): Make it
7562 feel like a class member function by G_CONNECT_SWAPPED-izing it.
7564 2008-05-07 Sven Neumann <sven@gimp.org>
7566 * app/plug-in/gimpplugin-cleanup.c (gimp_plug_in_cleanup_item):
7567 commented out debug message.
7569 2008-05-07 Sven Neumann <sven@gimp.org>
7571 * plug-ins/common/blur-gauss-selective.c: allocate temporary
7572 memory on the stack. Minor code cleanups.
7574 2008-05-06 Michael Natterer <mitch@gimp.org>
7576 * app/plug-in/gimpplugin-message.c: split
7577 gimp_plug_in_handle_tile_request() into two functions:
7578 gimp_plug_in_handle_tile_put() and gimp_plug_in_handle_tile_get().
7580 2008-05-06 Michael Natterer <mitch@gimp.org>
7582 * app/plug-in/gimpplugin-message.c
7583 (gimp_plug_in_handle_proc_install): show an error message instead
7584 of crashing when a plug-in registers a prodecure with a NULL
7585 argument or return value name. Also introduce two macros which
7586 make the utf-8 validation of all strings much more readable.
7588 2008-05-06 Sven Neumann <sven@gimp.org>
7590 * plug-ins/common/gbr.c: improved procedure blurb and help.
7592 * libgimpcolor/gimpcolorspace.c: inline gimp_hsl_value() and
7593 gimp_hsl_value_int().
7595 2008-05-06 Sven Neumann <sven@gimp.org>
7597 * plug-ins/script-fu/scripts/3d-outline.scm: applied patch from
7598 Ulf-D. Ehlert. Makes the vacated region, which is created when
7599 specifying a non-zero shadow offset, to be filled with the
7600 background color (white) instead of transparency (bug #530216).
7602 2008-05-06 Sven Neumann <sven@gimp.org>
7604 * libgimpwidgets/gimpcolorprofilestore.c
7605 (gimp_color_profile_store_load_profile): check if the file exists
7606 before adding it to the history. Fixes bug #528958.
7608 2008-05-05 Michael Natterer <mitch@gimp.org>
7610 * app/actions/drawable-commands.c
7611 (drawable_levels_stretch_cmd_callback): the second parameter of
7612 gimp_drawable_levels_stretch() is now a GimpProgress.
7614 2008-05-05 Sven Neumann <sven@gimp.org>
7616 * plug-ins/common/unsharp-mask.c (gen_convolve_matrix): fixed
7617 algorithm to calculate the center value. Fixes bug #530077.
7619 2008-05-05 Sven Neumann <sven@gimp.org>
7621 * plug-ins/common/blinds.c (MAX_FANS): increased the maximum
7622 number of blinds to 100.
7624 2008-05-05 Sven Neumann <sven@gimp.org>
7626 * app/tools/gimppainttool.c
7627 * app/display/gimpdisplayshell-coords.c: applied patch from Alexia
7628 Death which changes the maximum smoothing for paint tools to a more
7629 conservative default and adds velocity dependent smooth suppression.
7631 2008-05-05 Sven Neumann <sven@gimp.org>
7633 * configure.in (ALL_LINGUAS): added Icelandic (is).
7635 2008-05-02 Martin Nordholts <martinn@svn.gnome.org>
7638 * gimprectangletool.[ch]
7639 * gimprectangleselecttool.c: Renamed the "rectangle-changed"
7640 signal to "rectangle-change-complete" which is much better name
7641 since the signal is not emited when the rectangle is changed, but
7642 when the change is complete.
7644 2008-05-02 Martin Nordholts <martinn@svn.gnome.org>
7646 * plug-ins/flame/libifs.c: Use g_random_int() instead of rand().
7648 2008-05-01 Martin Nordholts <martinn@svn.gnome.org>
7650 * app/tools/gimprectangletool.c
7651 (gimp_rectangle_tool_active_modifier_key): Minor simplification.
7653 2008-04-30 Martin Nordholts <martinn@svn.gnome.org>
7655 * app/tools/gimpcroptool.c: Align static function prototpyes.
7657 2008-04-30 Sven Neumann <sven@gimp.org>
7659 * app/display/gimpscalecombobox.c
7660 (gimp_scale_combo_box_entry_key_press): also handle the Tab keys
7661 and call the "activate" handler when Tab is pressed.
7663 2008-04-30 Sven Neumann <sven@gimp.org>
7665 * app/display/gimpscalecombobox.c: install a "key-press-event"
7666 handler and reset the entry when the Escape key is pressed.
7668 2008-04-29 Sven Neumann <sven@gimp.org>
7670 * themes/Default/gtkrc
7671 * themes/Small/gtkrc: reduce the minimum array size for
7672 GtkComboBox widgets in the image window.
7674 2008-04-29 Sven Neumann <sven@gimp.org>
7676 * app/display/gimpscalecombobox.[ch]: added signal "entry-activated".
7678 * app/display/gimpstatusbar.c (gimp_statusbar_new): connect to the
7679 new signal and move the focus to the canvas.
7681 * app/display/gimpdisplayshell.c (gimp_display_shell_new): comment.
7683 2008-04-29 Sven Neumann <sven@gimp.org>
7685 * app/widgets/gimpwindow.c (gimp_window_key_press_event): formatting.
7687 2008-04-28 Sven Neumann <sven@gimp.org>
7689 * app/display/gimpscalecombobox.c: keep the current scale value,
7690 beep and reset the entry when the user input cannot be parsed.
7691 Also changed the input parser to interpret a single number as a
7694 2008-04-28 Joao S. O. Bueno <gwidion@mpc.com.br>
7696 * app/pdb/drawable-transform-cmds.c
7697 * app/pdb/vectors-cmds.c: regenerated
7699 2008-04-28 Sven Neumann <sven@gimp.org>
7701 * app/display/gimpscalecombobox.[ch]: derive from GtkComboBoxEntry.
7702 Needs some more work with respect to input validation and focus
7705 2008-04-28 Sven Neumann <sven@gimp.org>
7707 * app/widgets/Makefile.am
7708 * app/widgets/widgets-types.h
7709 * app/widgets/gimpwindow.[ch]: added GimpWindow class and moved
7710 key-press-event handler from GimpDock to this class.
7712 * app/widgets/gimpdock.[ch]:
7713 * app/display/gimpdisplayshell.[ch]: derive from GimpWindow.
7715 2008-04-28 Sven Neumann <sven@gimp.org>
7717 * app/base/hue-saturation.c (hue_saturation): applied patch from
7718 Michael Deal that fixes use of the overlap option (bug #527085).
7720 2008-04-28 Sven Neumann <sven@gimp.org>
7722 * menus/image-menu.xml.in: removed GEGL tool from the Colors menu
7723 and also moved it out of the color tools menu.
7725 2008-04-26 João S. O. Bueno <gwidion@mpc.com.br>
7729 * tools/pdb/stddefs.pdb: Fix my name back to single
7730 name in most important files.
7732 2008-04-26 Michael Natterer <mitch@gimp.org>
7734 * app/tools/gimpgegltool.c: clean up last commit.
7736 2008-04-26 Martin Nordholts <martinn@svn.gnome.org>
7738 * plug-ins/flame/libifs.c: Applied patch from Aurimas Juška. Use
7739 the standard rand() instead of random().
7741 2008-04-26 Øyvind Kolås <pippin@gimp.org>
7743 * app/tools/gimpgegltool.c: (gimp_get_subtype_classes),
7744 (gimp_gegl_tool_compare_operation_names), (gimp_get_geglopclasses),
7745 (gimp_gegl_tool_dialog): made the GEGL tool only show ops from
7746 relevant categories, the list of relevant categories is hard coded
7749 2008-04-26 Martin Nordholts <martinn@svn.gnome.org>
7751 * app/tools/gimprectangletool.c
7752 (gimp_rectangle_tool_options_notify): No need to bail out if there
7755 2008-04-26 Martin Nordholts <martinn@svn.gnome.org>
7757 * app/tools/gimprectangletool.c
7758 (gimp_rectangle_tool_options_notify): Some more simplifications
7761 2008-04-26 Martin Nordholts <martinn@svn.gnome.org>
7763 * app/tools/gimprectangletool.c
7764 (gimp_rectangle_tool_options_notify): Simplifications and
7767 2008-04-26 Michael Natterer <mitch@gimp.org>
7769 * menus/image-menu.xml.in: the gegl tool was missing from the
7772 2008-04-26 Martin Nordholts <martinn@svn.gnome.org>
7774 * plug-ins/flame/flame.c
7775 * plug-ins/flame/libifs.[ch]: Applied modified patch from Luis
7776 Barrancos that adds 22 new variations to the flame plugin (bug
7779 2008-04-25 Michael Natterer <mitch@gimp.org>
7781 * app/paint/gimppaintoptions.c (gimp_paint_options_get_jitter):
7782 add g_return_if_fail().
7784 * app/paint/gimpheal.c (gimp_heal_motion)
7785 * app/paint/gimpdodgeburn.c (gimp_dodge_burn_motion): free stuff
7786 right after it's not used any longer, instead of at the end of the
7789 * app/paint/gimppaintbrush.c (_gimp_paintbrush_motion): move a
7790 statement to improve consistency with other motion() functions.
7792 2008-04-25 Michael Natterer <mitch@gimp.org>
7794 * plug-ins/print/print.c (query): fix help string of the page
7797 2008-04-25 Sven Neumann <sven@gimp.org>
7800 * app/gegl/gimp-gegl.c: reverted change from 2008-01-31. Use the
7801 GEGL option group again now that GEGL provides some commmand-line
7804 2008-04-25 Michael Natterer <mitch@gimp.org>
7806 * app/paint/gimppaintoptions.[ch]: reorder jitter options stuff to
7807 be consistently ordered all over the place.
7809 2008-04-25 Michael Natterer <mitch@gimp.org>
7811 * app/widgets/gimpdock.c
7812 * libgimpwidgets/gimpcellrenderertoggle.c: minor cosmetics.
7814 2008-04-25 Sven Neumann <sven@gimp.org>
7816 * app/widgets/gimptoolbox.c: do not any longer accept
7817 middle-mouse-button paste on the toolbox buttons but use the
7818 toolbox drop area for that.
7820 2008-04-25 Sven Neumann <sven@gimp.org>
7822 * app/actions/dock-actions.c (dock_actions): removed default
7823 keyboard shortcut for "dock-close".
7825 2008-04-24 Martin Nordholts <martinn@svn.gnome.org>
7827 * app/tools/gimprectangletool.c
7828 (gimp_rectangle_tool_options_notify): Do appropriate equal and
7829 not-equal comparisons for floting point numbers. Fixes
7832 2008-04-23 Sven Neumann <sven@gimp.org>
7834 * libgimpwidgets/gimpnumberpairentry.c
7835 (gimp_number_pair_entry_modify_font): formatting.
7837 2008-04-22 Michael Natterer <mitch@gimp.org>
7839 * app/actions/view-actions.c (view_actions_update): simplify call
7840 to window_actions_update() (we already have a local "shell"
7841 variable that is NULL when there is no display).
7843 2008-04-22 Michael Natterer <mitch@gimp.org>
7845 * app/sanity.c: add check for the GEGL version.
7847 2008-04-22 Sven Neumann <sven@gimp.org>
7849 * app/display/gimpstatusbar.c (gimp_statusbar_frame_size_request):
7850 take vertical padding into account to avoid resizing the statusbar.
7852 2008-04-21 Michael Natterer <mitch@gimp.org>
7854 * app/plug-in/gimpplugin-cleanup.c: do the actual cleanup in
7855 utility functions and reduce gimp_plug_in_cleanup() to merely
7856 iterating the cleanup lists.
7858 2008-04-21 Michael Natterer <mitch@gimp.org>
7860 Move the shadow tiles from the image to the drawable.
7863 * app/core/Makefile.am
7864 * app/core/gimpdrawable-shadow.[ch]: new files implementing
7867 * app/core/gimpimage.[ch]: remove the shadow tile manager from the
7868 GimpImage struct. Remove gimp_image_get_shadow_tiles() and
7869 _free_shadow_tiles().
7871 * app/core/gimpdrawable.[ch]: add the shadow tile manager
7872 here. Remove get_shadow_tiles() and merge_shadow(). Free the
7873 shadow tiles in finalize and when the drawable gets removed from
7876 * app/core/gimpdrawable-brightness-contrast.c
7877 * app/core/gimpdrawable-color-balance.c
7878 * app/core/gimpdrawable-colorize.c
7879 * app/core/gimpdrawable-curves.c
7880 * app/core/gimpdrawable-desaturate.c
7881 * app/core/gimpdrawable-equalize.c
7882 * app/core/gimpdrawable-hue-saturation.c
7883 * app/core/gimpdrawable-invert.c
7884 * app/core/gimpdrawable-levels.c
7885 * app/core/gimpdrawable-operation.c
7886 * app/core/gimpdrawable-posterize.c
7887 * app/core/gimpdrawable-threshold.c
7888 * app/core/gimpimagemap.c: changed accordingly. Free the shadow tiles
7891 * app/plug-in/gimpplugin-cleanup.[ch]: add
7892 gimp_plug_in_cleanup_add_shadow() and _remove_shadow() which keep
7893 track of whether shadow tiles were created on behalf of a plug-in
7896 (gimp_plug_in_cleanup): free shadow tiles which were created but
7897 not destroyed by a plug-in procedure.
7899 * app/plug-in/gimpplugin-message.c (plug_in_handle_tile_request):
7900 call gimp_plug_in_cleanup_add_shadow() whenever a plug-in requests
7903 * tools/pdbgen/pdb/drawable.pdb: use the new drawable shadow
7904 API. Add new procedure gimp-drawable-free-shadow. Call
7905 gimp_plug_in_cleaup_remove_shadow() when it gets called.
7907 * tools/pdbgen/pdb/image.pdb: deprecate gimp-image-free-shadow.
7908 Calling it has no effect any longer.
7910 * app/pdb/drawable-cmds.c
7911 * app/pdb/image-cmds.c
7912 * app/pdb/internal-procs.c
7913 * libgimp/gimpimage_pdb.[ch]
7914 * libgimp/gimpdrawable_pdb.[ch]: regenerated.
7916 2008-04-21 Sven Neumann <sven@gimp.org>
7918 * plug-ins/common/psp.c: applied patch from Christoph Brill which
7919 adds enum values and typedefs used in newer versions of the PSP
7920 file format (see bug #120757).
7922 2008-04-21 Michael Natterer <mitch@gimp.org>
7924 * libgimpmath/gimpmd5.c (gimp_md5_get_digest): moving a cast to
7925 the right parameter fixes two warnings.
7927 2008-04-21 Sven Neumann <sven@gimp.org>
7929 * plug-ins/common/curve-bend.c (run): fixed handling of
7930 "argc-lower-val-y" PDB parameter.
7932 2008-04-20 Michael Natterer <mitch@gimp.org>
7934 * app/core/gimpdrawable-levels.[ch]: replaced unused parameter
7935 "context" by "progress" and pass the progress on internally.
7936 Factor common code out to gimp_drawable_levels_internal().
7938 * tools/pdbgen/pdb/color.pdb: pass progress instead of context.
7940 * app/pdb/color-cmds.c: regenerated.
7942 2008-04-19 Sven Neumann <sven@gimp.org>
7944 * plug-ins/common/psp.c: untabified.
7946 2008-04-19 Michael Natterer <mitch@gimp.org>
7948 * app/core/gimpdata.c: prototype indentation and minor declatation
7949 and function reordering for the sake of consistency.
7951 2008-04-18 Sven Neumann <sven@gimp.org>
7953 * app/tools/gimpblendtool.c (gimp_blend_tool_draw): don't draw the
7954 handles on pixel centers, we don't blend between pixel centers.
7956 2008-04-17 Michael Natterer <mitch@gimp.org>
7958 Add some infrastructure that will be used soon:
7960 * app/plug-in/gimppluginprocframe.[ch]: replace "cleanup" list
7961 by two lists "image_cleanups" and "item_cleanups" and call
7962 gimp_plug_in_cleanup() if any of them is non-NULL.
7964 * app/plug-in/gimpplugin-cleanup.c: add private new() and free()
7965 functions for GimpPlugInCleanupImage structs and add the same
7966 infrastructure for GimpPlugInCleanupItem structs which are
7969 2008-04-17 Michael Natterer <mitch@gimp.org>
7971 * configure.in: add G_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
7973 2008-04-17 Michael Natterer <mitch@gimp.org>
7975 * configure.in: remove AC_HEADER_DIRENT, we use GDir all over the
7978 2008-04-16 Michael Natterer <mitch@gimp.org>
7980 * app/display/gimpdisplayshell-coords.c
7981 (gimp_display_shell_eval_event): remove local "inertia" variable
7982 and simply modify the passed "inertia_factor" when needed.
7984 2008-04-16 Sven Neumann <sven@gimp.org>
7986 * app/config/test-config.c: initialize the units vtable in
7987 libgimpbase instead of trying to override symbols from it.
7990 2008-04-15 Michael Natterer <mitch@gimp.org>
7992 * app/display/gimpdisplayshell-coords.c
7993 (gimp_display_shell_eval_event): fix calculation of filter
7994 distance, it was missing a 1 / zoom_factor. Moved variables to
7995 local scope. Remove redundant thistime variable. Turned const
7996 gdouble into a #define.
7998 2008-04-14 Sven Neumann <sven@gimp.org>
8000 * plug-ins/pygimp/gimpfu.py (_query.make_params): strip mnemonics
8001 from parameter names before passing them to gimp.install_procedure().
8003 2008-04-14 Sven Neumann <sven@gimp.org>
8005 * app/plug-in/gimpplugin-message.c: renamed
8006 gimp_plug_in_handle_tile_req() to gimp_plug_in_handle_tile_request().
8008 2008-04-14 Michael Natterer <mitch@gimp.org>
8010 * app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_tile_req):
8011 made messages about killed plug-ins due to invalid tile requests
8012 more verbose. They are good for debugging only and not translated,
8013 so more info can't hurt. Also fail (kill the plug-in) if a tile is
8014 requested that lives on the undo stack.
8016 2008-04-14 Sven Neumann <sven@gimp.org>
8018 * app/tools/gimppolygonselecttool.c: formatting.
8020 2008-04-14 Michael Natterer <mitch@gimp.org>
8022 * app/tools/gimppolygonselecttool.c
8023 (gimp_polygon_select_tool_button_release): simplify and fix logic
8024 to do the "right" thing. Hard to describe, try youself ;)
8026 2008-04-14 Sven Neumann <sven@gimp.org>
8028 * app/display/gimpstatusbar.c: introduced a #define for the spacing
8029 between the icon and the statusbar label.
8031 2008-04-14 Michael Natterer <mitch@gimp.org>
8033 * libgimpbase/gimpmemsize.c: #undef GIMP_DISABLE_DEPRECATED so
8034 gimp_memsize_to_string() sees its own prototype.
8036 2008-04-14 Sven Neumann <sven@gimp.org>
8038 * app/display/gimpstatusbar.c (gimp_statusbar_label_expose): fixed
8039 icon placement for right-to-left render direction.
8041 2008-04-14 Sven Neumann <sven@gimp.org>
8043 * app/display/gimpstatusbar.[ch]: rewritten the code that draws
8044 the icon in the statusbar label. The new code gives nicer spacing.
8046 2008-04-14 Sven Neumann <sven@gimp.org>
8048 * plug-ins/jpeg/jpeg.h
8049 * plug-ins/jpeg/jpeg-exif.c
8050 * plug-ins/jpeg/jpeg-load.c: rotate the thumbnail according to the
8051 EXIF orientation as required by the updated thumbnail spec.
8053 2008-04-14 Sven Neumann <sven@gimp.org>
8055 * app/display/gimpdisplayshell.c (gimp_display_shell_show_tooltip)
8056 * app/display/gimpstatusbar.c (gimp_statusbar_progress_start)
8057 * app/gui/gui.c (gui_menu_show_tooltip): push a NULL stock-id.
8059 2008-04-14 Sven Neumann <sven@gimp.org>
8061 * app/display/gimpstatusbar.c (gimp_statusbar_label_expose): added
8064 * app/display/gimpdisplayshell-layer-select.c: formatting.
8066 2008-04-14 Sven Neumann <sven@gimp.org>
8068 * app/display/gimpstatusbar.[ch]: added stock-id parameters to all
8071 * app/display/gimpdisplayshell-title.c: pass NULL as stock-id.
8073 * app/tools/gimptool.c: pass the tool icon to the statusbar.
8075 * app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_start):
8076 inherit the tool-info from the parent tool.
8078 2008-04-13 Sven Neumann <sven@gimp.org>
8080 * app/tools/gimptool.h: formatting.
8082 2008-04-13 Sven Neumann <sven@gimp.org>
8084 * app/widgets/gimpunitcombobox.c: added "label-scale" style property.
8086 * app/display/gimpscalecombobox.[ch]: ditto. Also removed the
8087 support for extra action items.
8089 * app/display/gimpstatusbar.c: changed accordingly.
8091 * themes/Default/gtkrc
8092 * themes/Small/gtkrc: use a smaller font for the combo-box labels
8095 2008-04-13 Michael Natterer <mitch@gimp.org>
8097 * app/tools/gimpiscissorstool.c: minor cosmetics.
8099 * cursors/gimp-tool-cursors.xcf: add the new SELECT modifier.
8101 2008-04-12 Martin Nordholts <martinn@svn.gnome.org>
8103 Applied modified patch from Daniel Hornung that changes the mouse
8104 cursor to a "clicking will create a selection"-icon when hovering
8105 the center of a pending Scissors Select Tool selection (bug #493370)
8107 * app/tools/gimpiscissorstool.c
8108 (gimp_iscissors_tool_cursor_update): Use the new cursor icon.
8110 * cursors/modifier-select.png
8111 * cursors/xbm/modifier-select.xbm
8112 * cursors/xbm/modifier-select-mask.xbm: New cursor icon.
8114 * cursors/makefile.msc
8115 * cursors/Makefile.am
8116 * app/widgets/gimpcursor.c
8117 * app/widgets/widgets-enums.h: Changed accordingly.
8119 2008-04-12 Martin Nordholts <martinn@svn.gnome.org>
8121 * plug-ins/script-fu/scripts/3d-outline.scm
8122 * plug-ins/script-fu/scripts/alien-glow-logo.scm
8123 * plug-ins/script-fu/scripts/alien-neon-logo.scm
8124 * plug-ins/script-fu/scripts/basic1-logo.scm
8125 * plug-ins/script-fu/scripts/basic2-logo.scm
8126 * plug-ins/script-fu/scripts/blended-logo.scm
8127 * plug-ins/script-fu/scripts/bovinated-logo.scm
8128 * plug-ins/script-fu/scripts/chalk.scm
8129 * plug-ins/script-fu/scripts/chip-away.scm
8130 * plug-ins/script-fu/scripts/chrome-logo.scm
8131 * plug-ins/script-fu/scripts/comic-logo.scm
8132 * plug-ins/script-fu/scripts/coolmetal-logo.scm
8133 * plug-ins/script-fu/scripts/frosty-logo.scm
8134 * plug-ins/script-fu/scripts/glossy.scm
8135 * plug-ins/script-fu/scripts/glowing-logo.scm
8136 * plug-ins/script-fu/scripts/gradient-bevel-logo.scm
8137 * plug-ins/script-fu/scripts/neon-logo.scm
8138 * plug-ins/script-fu/scripts/script-fu-util.scm
8139 * plug-ins/script-fu/scripts/starburst-logo.scm
8140 * plug-ins/script-fu/scripts/starscape-logo.scm
8141 * plug-ins/script-fu/scripts/t-o-p-logo.scm
8142 * plug-ins/script-fu/scripts/textured-logo.scm: Applied patch from
8143 Ulf-D. Ehlert that makes the Alpha to Logo-filters more gracefully
8144 handle images with many layers (bug #498480).
8146 2008-04-12 Martin Nordholts <martinn@svn.gnome.org>
8148 * app/core/gimpimage-snap.c (gimp_image_snap_rectangle): Applied
8149 patch from Mark Locascio that makes the center point of rectangles
8152 2008-04-11 Michael Natterer <mitch@gimp.org>
8154 * app/display/gimpdisplayshell-appearance.c
8155 (gimp_display_shell_appearance_update): don't call
8156 gtk_widget_set_name() on a NULL menubar.
8158 2008-04-11 Sven Neumann <sven@gimp.org>
8160 * libgimpwidgets/gimppropwidgets.c (gimp_prop_size_entry_new):
8161 reduced spacing between entry and unit menu.
8163 2008-04-11 Sven Neumann <sven@gimp.org>
8165 * app/tools/gimptextoptions.c (gimp_text_options_gui): tweaked the
8166 layout to save a few pixels.
8168 2008-04-11 Michael Natterer <mitch@gimp.org>
8170 * app/display/gimpdisplayshell.c (gimp_display_shell_empty):
8171 unfullscreen the window before doing anything else.
8173 2008-04-11 Michael Natterer <mitch@gimp.org>
8175 * app/display/gimpdisplayshell-appearance.c
8176 (gimp_display_shell_appearance_update): don't show the status
8177 bar's resize grip in fullscreen mode.
8179 2008-04-11 Michael Natterer <mitch@gimp.org>
8181 * plug-ins/print/print-preview.c: unset the move cursor in
8182 GtkWidget::leave_notify_event() so it always gets unset when the
8183 pointer leaves the widget.
8185 2008-04-10 Sven Neumann <sven@gimp.org>
8187 * plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
8188 fixed compilation on Win32 (bug #527300).
8190 2008-04-10 Sven Neumann <sven@gimp.org>
8192 * app/display/gimpstatusbar.[ch] (gimp_statusbar_progress_message):
8193 improved the check if the message can be shown in the statusbar.
8194 Do not show messages that don't fit into the given space.
8196 * app/gui/gui-message.c (gui_message_error_dialog): if there's
8197 already an error dialog associated with a progress, then use it.
8199 2008-04-10 Michael Natterer <mitch@gimp.org>
8201 * app/widgets/gimpcomponenteditor.c: implement
8202 GimpDocked::set_context() and set the GimpViewRenderers'
8203 contexts. Unclear how this could have been missed since it
8204 warned badly about NULL contexts.
8206 2008-04-10 Michael Natterer <mitch@gimp.org>
8208 * plug-ins/pygimp/plug-ins/python-console.py
8209 * plug-ins/script-fu/scripts/ts-helloworld.scm: fix new menu paths.
8211 2008-04-09 Sven Neumann <sven@gimp.org>
8213 * data/images/gimp-splash.png: flattened splash image.
8215 2008-04-09 Sven Neumann <sven@gimp.org>
8217 * configure.in: bumped version to 2.5.1.
8219 2008-04-09 Sven Neumann <sven@gimp.org>
8221 * Made 2.5.0 development release.
8223 2008-04-09 Sven Neumann <sven@gimp.org>
8225 * app/config/Makefile.am: fixed build of test-config.
8227 2008-04-09 Sven Neumann <sven@gimp.org>
8229 * plug-ins/script-fu/scripts/ts-helloworld.scm
8230 * plug-ins/script-fu/scripts/test-sphere.scm
8231 * plug-ins/script-fu/scripts/contactsheet.scm: register in new
8234 2008-04-09 Sven Neumann <sven@gimp.org>
8236 * plug-ins/common/border-average.c: corrected parameter description.
8238 2008-04-09 Sven Neumann <sven@gimp.org>
8240 * plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
8241 * plug-ins/pygimp/plug-ins/python-console.py
8242 * plug-ins/pygimp/plug-ins/sphere.py: register in new menu locations.
8244 2008-04-09 Sven Neumann <sven@gimp.org>
8246 * plug-ins/twain/twain.c: register in new menu location.
8248 2008-04-09 Sven Neumann <sven@gimp.org>
8250 * app/plug-in/plug-in-menu-path.c (plug_in_menu_path_map): removed
8251 function name from debug output.
8253 2008-04-09 Sven Neumann <sven@gimp.org>
8255 * plug-ins/win-snap/winsnap.c
8256 * plug-ins/common/screenshot.c
8257 * plug-ins/script-fu/script-fu.c
8258 * plug-ins/script-fu/scripts/*.scm: register in new menu locations.
8260 2008-04-09 Michael Natterer <mitch@gimp.org>
8262 * app/plug-in/plug-in-menu-path.c (plug_in_menu_path_map): enable
8263 and improve debug output for mapped menu paths.
8265 2008-04-09 Sven Neumann <sven@gimp.org>
8267 * app/core/core-enums.[ch] (enum GimpUndoType): changed
8268 descriptions for the GIMP_UNDO_FS_RIGOR and GIMP_UNDO_FS_RELAX
8271 2008-04-09 Sven Neumann <sven@gimp.org>
8273 * app/widgets/gimptexteditor.c (gimp_text_editor_new): disabled
8274 the language entry until it works.
8276 2008-04-09 Sven Neumann <sven@gimp.org>
8278 * app/core/core-enums.[ch] (enum GimpUndoType): better descriptions
8279 for the GIMP_UNDO_FS_RIGOR and GIMP_UNDO_FS_RELAX undo types.
8281 * app/core/gimplayer-floating-sel.c: corrected a comment.
8283 2008-04-09 Sven Neumann <sven@gimp.org>
8285 * app/actions/edit-actions.c (edit_actions): added mnemnic for
8286 "edit-paste-as-new" menu item.
8288 2008-04-09 Michael Natterer <mitch@gimp.org>
8290 * menus/image-menu.xml.in: add "File/New" submenu and an "Acquire"
8291 placeholder inside it. Removed "File/Acquire". Removed the "Xtns"
8294 * app/plug-in/plug-in-menu-path.[ch] (plug_in_menu_path_map):
8295 add "menu_label" parameter and add support for mapping around
8296 individual menu items while preserving their translation and
8297 mnemonics. Add mappings for the known menus from "Xtns" and map
8300 Map everything else in "Xtns" to "Filters/Extensions".
8302 * app/plug-in/gimppluginmanager-menu-branch.c
8303 (gimp_plug_in_manager_add_menu_branch): pass the menu_label so
8304 menu branches can be mapped with their translation.
8306 * app/plug-in/gimppluginprocedure.c
8307 (gimp_plug_in_procedure_add_menu_path): pass NULL because mapping
8308 menu items which have no submenu makes no sense and is redundant.
8310 * app/actions/image-actions.c: remove the "Xtns" menu action.
8312 * app/actions/file-actions.c: add action for the "File/New" menu
8313 and removed the "File/Acquire" action.
8315 * app/actions/edit-actions.c: rename "Paste as New" to
8318 * menus/image-menu.xml.in: add the "From Clipboard" action to the
8321 2008-04-09 Sven Neumann <sven@gimp.org>
8323 * app/core/gimpcontainer.[ch]: added new methods
8324 gimp_container_get_{first,last}_child().
8326 * app/actions/file-actions.c (file_actions_close_all_update)
8327 * app/dialogs/layer-add-mask-dialog.c (layer_add_mask_dialog_new)
8328 * app/dialogs/palette-import-dialog.c (palette_import_image_callback)
8329 * app/gui/gui-vtable.c (gui_get_empty_display):
8330 * app/widgets/gimpmenudock.c (gimp_menu_dock_image_changed): use
8331 the new GimpContainer methods.
8333 * app/core/gimpundostack.c: use the new GimpContainer methods and
8334 cleaned up the code.
8336 2008-04-09 Sven Neumann <sven@gimp.org>
8338 * plug-ins/script-fu/scripts/Makefile.am
8339 * plug-ins/script-fu/scripts/sphere.scm: removed Sphere
8340 script. It's a nice simple example but it has no real value.
8342 * plug-ins/script-fu/script-fu.c (script_fu_extension_init):
8343 removed "<Toolbox>/Xtns/Misc".
8345 2008-04-09 Sven Neumann <sven@gimp.org>
8347 * plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
8348 marked a message for translation. Declare 'val' as const and use
8349 an extra variable where a not const variable is needed.
8351 2008-04-09 Sven Neumann <sven@gimp.org>
8353 * menus/image-menu.xml.in: moved Languages to the bottom. Removed
8354 separator from the Filters list as there was really no rule as to
8355 what goes above and what goes below.
8357 * app/actions/plug-in-actions.c: added Filters->Decor submenu.
8359 * plug-ins/script-fu/script-fu.c (script_fu_extension_init):
8360 removed registration of redundant menu branches.
8362 2008-04-08 Michael Natterer <mitch@gimp.org>
8364 * menus/image-menu.xml.in: add placeholder "Help/Programming"
8366 * plug-ins/common/plugin-browser.c
8367 * plug-ins/common/procedure-browser.c: move the plug-in and
8368 procedure browsers there.
8370 * menus/image-menu.xml.in: moved the (now by default empty)
8371 "Extensions" placeholder from "Xtns" to "Filters". Let's see what
8372 cruft shows up there.
8374 * app/plug-in/plug-in-menu-path.c: map "Xtns/Extensions" to
8375 "Filters/Extensions".
8377 2008-04-08 Michael Natterer <mitch@gimp.org>
8379 Start getting rid of the "Xtns" menu:
8381 * app/actions/dialogs-actions.c (dialogs_toplevel_actions):
8382 renamed "Module Manager" to "Modules".
8384 * menus/image-menu.xml.in: move it to "Edit/Preferences" for the
8385 time being so it doesn't block the removal of the "Xtns" menu.
8387 Move "Languages" placeholder from "Xtns" to "Filters".
8389 * app/plug-in/plug-in-menu-path.c (menu_path_mappings): map
8390 "Xtns/Languages" to "Filters/Languages".
8392 2008-04-08 Sven Neumann <sven@gimp.org>
8394 * plug-ins/common/mng.c (myalloc): removed a redundant (and wrong)
8397 2008-04-08 Sven Neumann <sven@gimp.org>
8399 * plug-ins/pygimp/plug-ins/Makefile.am
8401 * plug-ins/pygimp/plug-ins/happy-valley-relief.py: renamed to ...
8402 * plug-ins/pygimp/plug-ins/python-eval.py: ... this.
8404 * plug-ins/pygimp/plug-ins/gimpcons.py: renamed to ...
8405 * plug-ins/pygimp/plug-ins/python-console.py: ... this.
8407 2008-04-08 Michael Natterer <mitch@gimp.org>
8409 * app/widgets/gimpdialogfactory.c
8410 (gimp_dialog_factory_set_user_pos): set GDK_HINT_MIN_SIZE on
8411 dialogs which had no previous sessionrc entry. Fixes the minimum
8412 size of the very first empty display of a new GIMP installation
8413 and shouldn't have any ill effects on other windows.
8415 2008-04-07 Sven Neumann <sven@gimp.org>
8417 * app/composite/gimp-composite-3dnow-test.c
8418 * app/composite/gimp-composite-altivec-test.c
8419 * app/composite/gimp-composite-mmx-test.c
8420 * app/composite/gimp-composite-sse-test.c
8421 * app/composite/gimp-composite-sse2-test.c
8422 * app/composite/gimp-composite-vis-test.c: include <stdlib.h>
8424 2008-04-07 Michael Natterer <mitch@gimp.org>
8426 * plug-ins/common/neon.c: renamed to...
8428 * plug-ins/common/edge-neon.c: ...this. Some formatting cleanup.
8430 * plug-ins/common/plugin-defs.pl: changed accordingly.
8432 * plug-ins/common/Makefile.am: regenerated.
8434 2008-04-07 Sven Neumann <sven@gimp.org>
8436 * app/gegl/Makefile.am (libappgegl_a_SOURCES): added missing file.
8438 * app/tools/tools-enums.c: regenerated.
8440 2008-04-07 Sven Neumann <sven@gimp.org>
8442 * app/version.c (gimp_show_library_version): tweaked verbose
8445 2008-04-07 Sven Neumann <sven@gimp.org>
8447 * app/tools/gimprectangletool.[ch]
8448 * app/tools/gimptexttool.c: removed 'force-narrow' mode as it is
8449 hard to use and just looks broken.
8451 2008-04-07 Sven Neumann <sven@gimp.org>
8453 * app/tools/gimprectangletool.c: formatting.
8455 2008-04-07 Bill Skaggs <weskaggs@primate.ucdavis.edu>
8457 * app/tools/gimprectangletool.[ch]: add "force_narrow" parameter.
8459 * app/tools/gimptexttool.c: Force rectangle to always be narrow,
8460 and squash a few bugs.
8462 2008-04-07 Sven Neumann <sven@gimp.org>
8464 * plug-ins/common/compose.c: use gimp_drawable_is_valid() to check
8465 if a drawable ID is valid.
8467 2008-04-07 Sven Neumann <sven@gimp.org>
8469 * app/display/gimpdisplayshell-callbacks.c
8470 * app/display/gimpdisplayshell-coords.[ch]
8471 * app/tools/gimppainttool.c
8472 * app/tools/gimptool.[ch]: applied patch from Alexia Death as
8473 attached to bug #508639. This change makes the smoothing depend on
8476 2008-04-07 Sven Neumann <sven@gimp.org>
8478 * app/actions/templates-actions.c
8479 * app/actions/templates-commands.c: when creating an image from a
8480 template, skip the New Image dialog as suggested in bug #480802.
8482 2008-04-07 Sven Neumann <sven@gimp.org>
8484 * plug-ins/map-object/map-object-main.c (query): fixed description
8485 of 'lighttype' parameter (bug #526679).
8487 2008-04-07 Sven Neumann <sven@gimp.org>
8489 * app/display/gimpdisplay-handlers.c (gimp_display_saved_handler):
8490 use gimp_statusbar_push_temp() directly instead of going through
8491 gimp_message(). Use the GTK_STOCK_SAVE icon for the statusbar
8494 2008-04-07 Sven Neumann <sven@gimp.org>
8496 * plug-ins/print/print.[ch]: set the number of pages to one before
8497 showing the dialog. Not that it would make a difference, but it
8500 2008-04-07 Sven Neumann <sven@gimp.org>
8502 * tools/pdbgen/pdb/procedural_db.pdb (procedural_db_proc_exists):
8503 canonicalize the procedure name and also try compat names.
8505 * app/pdb/procedural-db-cmds.c: regenerated.
8507 2008-04-06 Sven Neumann <sven@gimp.org>
8509 * tools/pdbgen/pdb/procedural_db.pdb: added new procedure
8510 gimp-procedural-db-proc-exists.
8512 * app/pdb/internal-procs.c
8513 * app/pdb/procedural-db-cmds.c
8514 * libgimp/gimpproceduraldb_pdb.[ch]: regenerated.
8516 * libgimp/gimp.def: updated.
8518 * plug-ins/print/print.c (page_setup): use the new procedure.
8520 2008-04-06 Sven Neumann <sven@gimp.org>
8522 * plug-ins/print/print.c (page_setup): do a query for the
8523 temporary procedure installed by the 'file-print-gtk' procedure.
8524 Temporary solution until bug #344818 has been addressed.
8526 2008-04-06 Sven Neumann <sven@gimp.org>
8528 * app/display/gimpstatusbar.c: resurrected the icon in statusbar
8531 2008-04-05 Sven Neumann <sven@gimp.org>
8533 * app/display/gimpdisplay.[ch]: added new function
8534 gimp_display_close() which decides if gimp_display_delete() or
8535 gimp_display_empty() needs to be called.
8537 * app/display/gimpdisplay-foreach.[ch]: added new function
8538 gimp_displays_close() and removed the 'do_quit' parameter from
8539 gimp_displays_delete().
8541 * app/gui/gui.c (gui_exit_callback): changed accordingly.
8543 * app/display/gimpdisplayshell-close.c: removed
8544 gimp_display_shell_really_close() and call gimp_display_close()
8547 * app/display/gimpdisplayshell.c (gimp_display_shell_empty): moved
8548 code to update the ui managers here.
8550 * app/actions/file-commands.c (file_save_cmd_callback)
8551 (file_close_cmd_callback)
8552 * app/dialogs/file-save-dialog.c (file_save_dialog_response)
8553 * app/dialogs/quit-dialog.c (quit_close_all_dialog_response):
8554 close displays instead of deleting them.
8556 * app/gui/gui-vtable.c (gui_display_delete): call
8557 gimp_display_close().
8559 2008-04-05 Sven Neumann <sven@gimp.org>
8561 * app/widgets/gimpcolormapeditor.c (gimp_colormap_editor_draw):
8562 corrected fix for bug #511926.
8564 2008-04-04 Michael Natterer <mitch@gimp.org>
8566 * tools/pdbgen/pdb/text_layer.pdb: reorder functions so getters
8567 and setters are together, rename fontsize() functions to
8568 font_size(), fix get_color() implementation.
8570 * app/pdb/text-layer-cmds.c
8571 * libgimp/gimptextlayer_pdb.[ch]: regenerated.
8573 * libgimp/gimp.def: changed accordingly.
8575 2008-04-04 Sven Neumann <sven@gimp.org>
8577 * tools/pdbgen/pdb/vectors.pdb: added
8578 gimp_vectors_new_from_text_layer().
8580 * app/pdb/internal-procs.c
8581 * app/pdb/vectors-cmds.c
8582 * libgimp/gimpvectors_pdb.[ch]: regenerated.
8584 * libgimp/gimp.def: updated.
8586 2008-04-04 Sven Neumann <sven@gimp.org>
8588 * app/core/gimpselection.c (gimp_selection_float): clear the
8589 selection as gimp_selection_extract() doesn't do this for us any
8590 longer (see bug #510534).
8592 2008-04-04 Sven Neumann <sven@gimp.org>
8594 * plug-ins/psd/psd-load.c: marked string for translation (the same
8595 string exists in the TIFF loader already).
8597 2008-04-04 Sven Neumann <sven@gimp.org>
8599 * app/core/gimp.c: follow renaming of internal_procs.h.
8601 2008-04-04 Sven Neumann <sven@gimp.org>
8603 * HACKING: updated for name change of generated files.
8605 2008-04-04 Sven Neumann <sven@gimp.org>
8607 * tools/pdbgen/pdb/drawable.pdb: added missing include.
8609 * app/pdb/drawable-cmds.c: regenerated.
8611 2008-04-04 Sven Neumann <sven@gimp.org>
8613 * tools/pdbgen/app.pl: changed the names of the generated files.
8615 * app/pdb/Makefile.am
8616 * app/pdb/*cmds.c: renamed.
8618 2008-04-04 Sven Neumann <sven@gimp.org>
8620 * tools/pdbgen/app.pl: cosmetic change in the generated code.
8622 * app/pdb/*_cmds.c: regenerated.
8624 2008-04-04 Sven Neumann <sven@gimp.org>
8626 * tools/pdbgen/pdb/plug_in.pdb: cosmetics.
8628 * app/pdb/plug_in_cmds.c: regenerated.
8630 2008-04-04 Sven Neumann <sven@gimp.org>
8632 * app/pdb/gimppdb-utils.[ch]: added test for floating items.
8634 * tools/pdbgen/pdb/image.pdb: use it to improve error handling.
8636 * app/pdb/image_cmds.c: regenerated.
8638 2008-04-04 Sven Neumann <sven@gimp.org>
8640 * tools/pdbgen/pdb/image.pdb: improved error handling.
8642 * app/pdb/image_cmds.c: regenerated.
8644 2008-04-04 Sven Neumann <sven@gimp.org>
8646 * app/pdb/gimppdb-utils.[ch]: added utility functions to check the
8649 * tools/pdbgen/pdb/convert.pdb: use it so that we get a proper
8650 error set on failure.
8652 * app/pdb/convert_cmds.c: regenerated.
8654 2008-04-04 Sven Neumann <sven@gimp.org>
8656 * app/core/gimpimage-convert.[ch]
8657 (gimp_image_convert_set_dither_matrix): minor cleanup.
8659 * tools/pdbgen/pdb/convert.pdb: changed accordingly.
8661 * app/pdb/convert_cmds.c: regenerated.
8663 2008-04-03 Michael Natterer <mitch@gimp.org>
8665 * app/pdb/gimppdb-utils.c
8666 * tools/pdbgen/pdb/text_layer.pdb: GIMP_PDB_CALLING_ERROR and
8667 GIMP_PDB_EXECUTION_ERROR are not from the GimpPdbErrorCode
8668 enum. Use GIMP_PDB_INVALID_ARGUMENT instead.
8670 * app/pdb/text_layer_cmds.c: regenerated.
8672 2008-04-03 Michael Natterer <mitch@gimp.org>
8674 * plug-ins/help/gimphelpdomain.h: fix include guards.
8676 2008-04-03 Michael Natterer <mitch@gimp.org>
8678 * app/core/gimpimage-convert.c (gimp_image_convert): don't accept
8679 palettes with more than 256 colors.
8681 * tools/pdbgen/pdb/convert.pdb: fail here too for palettes
8682 with > 256 colors. Fixes bug #525471.
8684 * app/pdb/convert_cmds.c: regenerated.
8686 2008-04-03 Jordi Mallach <jordi@sindominio.net>
8688 * configure.in (ALL_LINGUAS): Add Valencian-Catalan (ca@valencia).
8690 2008-04-02 Bill Skaggs <weskaggs@primate.ucdavis.edu>
8692 * app/text/gimptextlayout.c
8693 * app/tools/gimptexttool.[ch]
8694 * app/tools/gimprectangletool.[ch]
8695 * app/tools/gimptextoptions.c: allow resizing of text
8696 box. This is work in progress, and needs some tweaks
8697 and fixes. See bug #122707.
8699 2008-04-02 Sven Neumann <sven@gimp.org>
8701 * libgimp/gimp.def: added new symbols.
8703 2008-04-02 Sven Neumann <sven@gimp.org>
8705 * tools/pdbgen/Makefile.am
8706 * tools/pdbgen/pdb/text_layer.pdb: new text layer PDB API created
8707 by Marcus Heese (see bug #164539).
8709 * app/pdb/Makefile.am
8710 * app/pdb/text_layer_cmds.c: new generated file.
8712 * libgimp/Makefile.am
8713 * libgimp/gimptextlayer_pdb.[ch]: new generated files.
8715 * app/pdb/internal_procs.[ch]
8716 * libgimp/gimp_pdb.h
8717 * tools/pdbgen/groups.pl: regenerated.
8719 2008-04-02 Sven Neumann <sven@gimp.org>
8721 * tools/pdbgen/app.pl: special treatment for gimppdberror.h to get
8722 a saner include order.
8724 * app/pdb/floating_sel_cmds.c
8725 * app/pdb/image_cmds.c: regenerated.
8727 2008-04-02 Sven Neumann <sven@gimp.org>
8729 * app/pdb/gimppdb-utils.[ch]: added gimp_pdb_layer_is_text_layer().
8731 2008-04-02 Sven Neumann <sven@gimp.org>
8733 * tools/pdbgen/stddefs.pdb: fixed bug in last commit.
8735 * app/pdb/drawable_cmds.c
8736 * libgimp/gimpdrawable_pdb.c: regenerated.
8738 2008-04-02 Sven Neumann <sven@gimp.org>
8740 * tools/pdbgen/stddefs.pdb: added shortcut for contributions from
8743 * tools/pdbgen/pdb/drawable.pdb: added gimp_drawable_is_text_layer(),
8744 taken from the patch attached to bug #164539.
8746 * app/pdb/internal_procs.c
8747 * app/pdb/drawable_cmds.c
8748 * libgimp/gimpdrawable_pdb.[ch]: regenerated.
8750 * libgimp/gimp.def: updated.
8752 2008-04-02 Sven Neumann <sven@gimp.org>
8754 * app/tools/gimpperspectiveclonetool.c: removed frame around the
8755 mode radio buttons (bug #525747).
8757 * app/tools/gimpdodgeburntool.c: relabelled "Mode" frame to "Range".
8759 2008-04-02 Sven Neumann <sven@gimp.org>
8761 * app/gui/splash.c: use gimp_pango_layout_set_weight().
8763 2008-04-02 Sven Neumann <sven@gimp.org>
8765 * plug-ins/help/gimp-help-lookup.c: fixed typos in descriptions of
8766 the command-line options.
8768 2008-04-02 Sven Neumann <sven@gimp.org>
8770 * plug-ins/help-browser/Makefile.am (LDADD): added GIO_LIBS.
8772 2008-04-02 Sven Neumann <sven@gimp.org>
8774 * app/actions/file-actions.c: don't set a help-id on items in the
8777 * app/menus/file-menu.c (file_menu_setup): show a larger thumbnail
8778 in the tooltips for recently used images.
8780 2008-04-02 Sven Neumann <sven@gimp.org>
8782 * plug-ins/help/Makefile.am
8783 * plug-ins/help/gimphelpdomain.[ch]
8784 * plug-ins/help/gimphelplocale.[ch]
8785 * plug-ins/help/gimphelp.[ch]
8786 * plug-ins/help/gimp-help-lookup.c: use GIO to access the help index.
8788 2008-04-01 Sven Neumann <sven@gimp.org>
8790 * app/display/gimpdisplayshell-title.c
8791 (gimp_display_shell_update_title_idle): no need to translate the
8794 2008-03-31 Sven Neumann <sven@gimp.org>
8796 * app/text/text-enums.[ch]
8797 * libgimpbase/gimpbaseenums.[ch]: as a first step towards a new
8798 text PDB API, moved GimpTextDirection and GimpTextJustification
8799 enums to libgimpbase.
8801 * libgimp/gimpenums.c.tail
8802 * tools/pdbgen/enums.pl: regenerated.
8804 * libgimpbase/gimpbase.def: updated.
8806 2008-03-31 Michael Natterer <mitch@gimp.org>
8808 * plug-ins/maze/*: renamed most files and added proper headers
8809 instead of duplicating the prototypes in each .c file that uses
8810 them. Indentation, spacing, formatting, some general cleanup.
8812 2008-03-31 Michael Natterer <mitch@gimp.org>
8814 * app/widgets/gimpbrusheditor.c (gimp_brush_editor_notify_brush):
8815 Add missing code for the "spacing" property. Spotted by Jerry Baker.
8817 2008-03-30 Martin Nordholts <martinn@svn.gnome.org>
8819 * app/widgets/gimpcontainertreeview-dnd.c
8820 (gimp_container_tree_view_drag_drop): Make all code paths result
8821 in a call to gtk_drag_finish() if we return TRUE. Fixes bug
8824 2008-03-30 Sven Neumann <sven@gimp.org>
8826 * app/core/gimparea.c (gimp_area_list_process): code cleanup.
8828 2008-03-30 Sven Neumann <sven@gimp.org>
8830 * app/core/gimparea.c (gimp_area_list_free): don't leak the memory
8831 allocated for the GSList.
8833 2008-03-30 Sven Neumann <sven@gimp.org>
8835 * app/widgets/gimpcontainertreeview.c: added a finalizer that frees
8836 the memory allocated for the cell lists.
8838 2008-03-30 Sven Neumann <sven@gimp.org>
8840 * app/xcf/xcf-load.c (xcf_load_image): don't leak the grid.
8842 2008-03-30 Sven Neumann <sven@gimp.org>
8844 * app/display/gimpdisplayshell.c (gimp_display_shell_scale_changed):
8845 never set the dest_inc and src_dec variables to zero.
8847 2008-03-30 Sven Neumann <sven@gimp.org>
8849 * app/display/gimpdisplayshell-cursor.[ch]: added new function
8850 gimp_display_shell_unset_cursor().
8851 (gimp_display_shell_real_set_cursor): deal with cursor_type -1 and
8852 change the cursor to the default desktop cursor. Fixes warnings on
8855 * app/display/gimpdisplayshell.c (gimp_display_shell_empty):
8856 use gimp_display_shell_unset_cursor().
8858 2008-03-30 Sven Neumann <sven@gimp.org>
8860 * gimpheal.c (gimp_heal_motion): applied the same cleanups as in
8861 the gimp-2-4 branch (see bug #521433).
8863 2008-03-30 Michael Natterer <mitch@gimp.org>
8865 * app/display/gimpcanvas.c
8866 * app/widgets/gimpcoloreditor.c
8867 * app/widgets/gimpcolorframe.c
8868 * app/widgets/gimpcursorview.c
8869 * app/widgets/gimpcurveview.c
8870 * app/widgets/gimpdataeditor.c
8871 * app/widgets/gimpdock.c
8872 * app/widgets/gimpdockable.c
8873 * app/widgets/gimpdockbook.c
8874 * app/widgets/gimpdockseparator.c
8875 * app/widgets/gimpeditor.c
8876 * app/widgets/gimplayertreeview.c
8877 * app/widgets/gimpmenudock.c
8878 * app/widgets/gimpsamplepointeditor.c
8879 * app/widgets/gimptoolbox.c: chain up unconditionally in
8880 GtkWidget::style_set() because it has a default implementation.
8882 2008-03-29 Michael Natterer <mitch@gimp.org>
8884 * app/widgets/gimpmenudock.c (gimp_menu_dock_auto_clicked): when
8885 the "Auto" button gets enabled, always copy both display and image
8886 to the local context (because there can be displays without image
8889 2008-03-29 Michael Natterer <mitch@gimp.org>
8891 * app/gui/gui-vtable.c (gui_display_create): remove temporary
8892 "object" variable, it's prefectly fine to say GIMP_DISPLAY() on a
8895 2008-03-29 Michael Natterer <mitch@gimp.org>
8897 * configure.in: add -Wold-style-definition to CFLAGS.
8899 2008-03-29 Sven Neumann <sven@gimp.org>
8901 * libgimp/gimpprocview.c (gimp_proc_view_new): code cleanup.
8903 2008-03-29 Sven Neumann <sven@gimp.org>
8905 * libgimpmath/gimpmd5.[ch]: removed implementation of the MD5
8906 algorithm and delegate to GChecksum instead.
8908 * libgimpmath/Makefile.am
8909 * libgimpmath/test-md5.c: removed test of the MD5 implementation.
8911 2008-03-29 Sven Neumann <sven@gimp.org>
8913 * plug-ins/common/lcms.c (lcms_calculate_checksum): fixed use of
8916 2008-03-29 Michael Natterer <mitch@gimp.org>
8918 * libgimpmath/gimpmd5.c: undef GIMP_DISABLE_DEPRECATED.
8920 2008-03-29 Michael Natterer <mitch@gimp.org>
8922 * app/gui/gui-vtable.c: <gdk/gdkx.h> needs #ifdef GDK_WINDOWING_X11.
8924 * app/gui/gui.c: remove the include i accidentially added here.
8926 2008-03-29 Mukund Sivaraman <muks@mukund.org>
8928 * app/core/gimpdrawable-operation.c: Use #warning only if
8931 2008-03-29 Mukund Sivaraman <muks@mukund.org>
8933 * plug-ins/imagemap/imap_cmd_move.c
8934 * plug-ins/imagemap/imap_cmd_object_up.c
8935 * plug-ins/imagemap/imap_cmd_move_up.c
8936 * plug-ins/imagemap/imap_cmd_move_selected.c
8937 * plug-ins/imagemap/imap_cmd_move_sash.c
8938 * plug-ins/imagemap/imap_cmd_object_move.c
8939 * plug-ins/imagemap/imap_cmd_object_down.c
8940 * plug-ins/imagemap/imap_object.c
8941 * plug-ins/imagemap/imap_cmd_move_down.c
8942 * plug-ins/map-object/map-object-shade.c
8943 * plug-ins/map-object/map-object-apply.c
8944 * plug-ins/maze/maze.h
8945 * plug-ins/maze/maze_face.c
8946 * plug-ins/selection-to-path/selection-to-path.c
8947 * plug-ins/selection-to-path/edge.c
8948 * plug-ins/selection-to-path/pxl-outline.c
8949 * plug-ins/selection-to-path/fit.c
8950 * plug-ins/xjt/xjt.c
8951 * plug-ins/metadata/xmp-parse.c
8952 * plug-ins/print/print-draw-page.c
8953 * plug-ins/print/print-settings.c
8954 * plug-ins/lighting/lighting-preview.c: Cleanups / fixes for
8955 issues reported by Sparse.
8957 2008-03-28 Mukund Sivaraman <muks@mukund.org>
8959 * plug-ins/common/sinus.c
8960 * plug-ins/common/compose.c
8961 * plug-ins/common/screenshot.c
8962 * plug-ins/common/mng.c
8963 * plug-ins/common/wind.c
8964 * plug-ins/common/gif-save.c
8965 * plug-ins/common/video.c
8966 * plug-ins/common/sphere-designer.c
8967 * plug-ins/common/hot.c
8968 * plug-ins/common/red-eye-removal.c
8969 * plug-ins/common/tile-small.c
8970 * plug-ins/common/gbr.c
8971 * plug-ins/common/jigsaw.c
8972 * plug-ins/common/glob.c
8973 * plug-ins/common/despeckle.c
8974 * plug-ins/common/noise-randomize.c
8975 * plug-ins/common/convolution-matrix.c
8976 * plug-ins/common/gif-load.c
8977 * plug-ins/common/psd-save.c
8978 * plug-ins/common/emboss.c
8979 * plug-ins/common/csource.c
8980 * plug-ins/common/cml-explorer.c
8981 * plug-ins/common/grid.c
8982 * plug-ins/common/pcx.c
8983 * plug-ins/common/engrave.c
8984 * plug-ins/common/curve-bend.c: Cleanups / fixes for issues
8987 2008-03-28 Mukund Sivaraman <muks@mukund.org>
8989 * plug-ins/common/lcms.c: gimp_md5_get_digest() is deprecated;
8990 using GChecksum instead.
8992 2008-03-28 Mukund Sivaraman <muks@mukund.org>
8994 Fixes for some Sparse reported issues in app, libgimp*/
8996 * app/gui/gui-vtable.c: Included <gdk/gdkx.h>
8998 * libgimp/gimpprocview.c: author, date, copyright are pointers.
9000 * libgimpwidgets/gimpcolorprofilestore.c: Last argument of
9001 g_scanner_scope_add_symbol() is a pointer.
9003 2008-03-28 Mukund Sivaraman <muks@mukund.org>
9005 Fixes for some Sparse reported issues in app/
9007 * app/core/gimpdrawable-operation.c: Added prototype for
9008 gegl_node_add_child().
9010 * app/core/gimpcurve.c: Remove C99 code
9012 * app/tools/gimpcurvestool.c
9013 * app/tools/gimpperspectiveclonetool.c
9014 * app/vectors/gimpstroke.c: Mark functions as static.
9016 * app/base/siox.c: state is a pointer.
9018 * app/plug-in/gimppluginprocframe.c: values is a pointer.
9020 * app/plug-in/plug-in-rc.c: plug_in_rc_parse() returns a pointer.
9022 * app/plug-in/gimpinterpreterdb.c: Check program[0] for '\0'
9023 instead of the pointer program itself.
9025 2008-03-28 Mukund Sivaraman <muks@mukund.org>
9027 * plug-ins/common/png.c: Fixed a bug where a pointer to a gint
9028 is passed to a function which expects gsize, which can cause
9029 out of bounds access.
9031 2008-03-28 Michael Natterer <mitch@gimp.org>
9033 * app/gui/gui.c: #include <gdk/gdkx.h>
9035 2008-03-28 Michael Natterer <mitch@gimp.org>
9037 * plug-ins/script-fu/scripts/guides-from-selection.scm
9038 * plug-ins/script-fu/scripts/guides-new-percent.scm
9039 * plug-ins/script-fu/scripts/guides-new.scm
9040 * plug-ins/script-fu/scripts/guides-remove-all.scm: use "*" as
9041 image type (not "") so the menu item is disabled when there is no
9044 2008-03-28 Sven Neumann <sven@gimp.org>
9046 * libgimpmath/gimpmd5.[ch]: deprecate gimp_md5_get_digest() in
9049 * libgimpmath/test-md5.c: undef GIMP_DISABLE_DEPRECATED.
9051 2008-03-28 Sven Neumann <sven@gimp.org>
9053 * libgimpthumb/gimpthumb-utils.c (gimp_thumb_png_name): use
9054 GCheckSum instead of the MD5 routine from libgimpmath.
9057 * libgimpthumb/Makefile.am: removed libgimpmath dependency from
9060 2008-03-28 Sven Neumann <sven@gimp.org>
9062 * app/sanity.c (sanity_check_glib): bumped glib version.
9064 2008-03-28 Sven Neumann <sven@gimp.org>
9066 * libgimpbase/gimpmemsize.[ch]: deprecate gimp_memsize_to_string()
9067 in favor of g_format_size_for_display().
9069 * app/actions/edit-commands.c
9070 * app/core/gimpimagefile.c
9071 * app/dialogs/image-new-dialog.c
9072 * app/dialogs/image-scale-dialog.c
9073 * app/display/gimpdisplayshell-title.c
9074 * app/widgets/gimpimagepropview.c
9075 * app/widgets/gimptemplateeditor.c
9076 * app/widgets/gimpthumbbox.c
9077 * plug-ins/uri/uri-backend-gnomevfs.c
9078 * plug-ins/uri/uri-backend-gvfs.c
9079 * plug-ins/uri/uri-backend-libcurl.c
9080 * plug-ins/uri/uri-backend-wget.c: use g_format_size_for_display()
9081 instead of gimp_memsize_to_string().
9083 2008-03-28 Sven Neumann <sven@gimp.org>
9085 * configure.in: put GIO check back in as we need it to initialize
9086 GIO_CFLAGS and GIO_LIBS. Renamed --without-gio to --without-gvfs.
9088 * INSTALL: changed accordingly.
9090 * plug-ins/uri/Makefile.am
9091 * plug-ins/uri/uri-backend-gio.c
9092 * plug-ins/uri/uri-backend-gvfs.c: renamed the gio backend to gvfs.
9094 2008-03-28 Michael Natterer <mitch@gimp.org>
9096 * plug-ins/script-fu/scripts/line-nova.scm (script-fu-line-nova):
9097 move the call to gimp-selection-save inside the undo group.
9099 (script-fu-register): use "*" as image type (not "") so the menu
9100 item is disabled when there is no image.
9102 2008-03-28 Michael Natterer <mitch@gimp.org>
9104 * configure.in: require glib >= 2.16.1. Don't warn about
9105 deprecations for glib >= 2.19.0 and gtk+ >= 2.15.0. Remove check
9106 for GIO but keep the --without-gio option for the URI plugin.
9108 2008-03-28 Sven Neumann <sven@gimp.org>
9110 * libgimpwidgets/gimphelpui.c: show a custom tooltip for menu
9111 items and inform the user that she can get more help by pressing F1.
9113 2008-03-28 Sven Neumann <sven@gimp.org>
9115 * libgimpwidgets/gimphelpui.c: updated documentation.
9117 2008-03-28 Sven Neumann <sven@gimp.org>
9119 * app/dialogs/tips-parser.[ch]
9120 * app/dialogs/tips-dialog.c: improved the creation of fallback
9121 tips in case of an error parsing the tips file.
9122 (tips_dialog_create): simplified dialog layout.
9124 * app/dialogs/preferences-dialog.c: removed the check button for
9125 the "show-tips" option.
9127 2008-03-28 Sven Neumann <sven@gimp.org>
9129 * data/tips/gimp-tips.dtd
9130 * data/tips/gimp-tips.xml.in
9131 * app/dialogs/tips-parser.[ch]: reverted some of the changes from
9132 yesterday. The simplification went too far and we inadvertently
9133 lost an important feature.
9135 2008-03-27 Sven Neumann <sven@gimp.org>
9137 * plug-ins/common/pnm.c (load_image): changed message to say
9138 "Unsupported maximum value" instead of "Invalid maximum value"
9139 as suggested in bug #149723.
9141 2008-03-27 Sven Neumann <sven@gimp.org>
9143 * data/tips/gimp-tips.dtd
9144 * data/tips/gimp-tips.xml.in: simplified the gimp-tips XML format
9145 as we do not any longer need a special welcome tip.
9147 * app/dialogs/tips-dialog.c
9148 * app/dialogs/tips-parser.[ch]: changed accordingly.
9150 2008-03-27 Sven Neumann <sven@gimp.org>
9152 * app/config/gimprc-blurbs.h: removed SHOW_TIPS_BLURB.
9154 2008-03-27 Sven Neumann <sven@gimp.org>
9156 Preparing for a revamp of the "Tip of the Day" feature:
9158 * app/config/gimpguiconfig.[ch]: removed "show-tips" property.
9160 * app/gui/gui.[ch]: removed gui_post_init() as it's only purpose was
9161 to show the tips dialog.
9163 * app/app.c: changed accordingly.
9165 * app/dialogs/tips-dialog.c: removed some stuff that we are not
9166 going to need any longer.
9168 2008-03-27 Sven Neumann <sven@gimp.org>
9170 * libgimp/gimp.c: minor improvements to the API docs.
9172 2008-03-27 Sven Neumann <sven@gimp.org>
9174 Properly pass the focus from the core to plug-in dialogs:
9176 * libgimpbase/gimpprotocol.[ch]: added a user_time member to the
9177 GimpConfig struct. Bumped the protocol version to 0x0012.
9179 * app/core/gimp-gui.[ch]
9180 * app/gui/gui-vtable.c: added gimp_get_user_time() to get the
9181 timestamp of the last user interaction.
9183 * app/plug-in/gimppluginmanager-call.c
9184 (gimp_plug_in_manager_call_run): pass the timestamp to in the
9187 * libgimp/gimp.[ch]:
9188 * libgimp/gimp.def: added method to access the timestamp as set
9189 in the config message.
9191 * libgimp/gimpui.c (gimp_ui_init): construct a fake startup ID and
9192 set the DESKTOP_STARTUP_ID environment variable.
9194 2008-03-27 Sven Neumann <sven@gimp.org>
9196 * app/widgets/gimpdockable.c (gimp_dockable_detach): open the new
9197 dock window at the mouse pointer position.
9199 2008-03-27 Sven Neumann <sven@gimp.org>
9201 * app/display/gimpdisplayshell-dnd.c
9202 (gimp_display_shell_drop_uri_list): don't flush if there's no image.
9203 (gimp_display_shell_dnd_flush): use gtk_window_present() instead of
9206 2008-03-27 Sven Neumann <sven@gimp.org>
9208 * app/display/gimpstatusbar.c: use a button with icon for the
9209 progress cancel button.
9211 2008-03-27 Sven Neumann <sven@gimp.org>
9213 * app/display/gimpdisplayshell.c (gimp_display_shell_style_set):
9214 added an arbitrary number to the minimum height.
9216 2008-03-27 Sven Neumann <sven@gimp.org>
9218 * app/display/gimpstatusbar.c: make sure that the statusbar frame
9219 requests enough space to hold it's children, also the invisible ones.
9221 * app/display/gimpdisplayshell.c (gimp_display_shell_style_set):
9222 don't add 1 pixel here, this spacing is gone.
9224 2008-03-27 Sven Neumann <sven@gimp.org>
9226 * app/display/gimpstatusbar.[ch]: derive GimpStatusbar from
9227 GtkStatusbar. Use the normal statusbar label for statusbar
9228 messages and only show the progressbar when progress is active.
9230 * app/display/gimpdisplayshell.c (gimp_display_shell_new): removed
9231 spacing from the main vertical box.
9233 2008-03-27 Sven Neumann <sven@gimp.org>
9235 * plug-ins/common/dicom.c (dicom_loader): cosmetic changes.
9237 2008-03-27 Mukund Sivaraman <muks@mukund.org>
9239 * plug-ins/common/dicom.c: Validated samples_per_pixel, changed
9240 the loop counter data type, and patched code to work on big endian
9243 2008-03-27 Sven Neumann <sven@gimp.org>
9245 * app/gui/gui.c (gui_init): disable automatic startup notification.
9246 (gui_restore_after_callback): notify the display enviroment that
9247 the application has finished loading.
9249 * app/gui/splash.c: no need to deal with startup notification here
9252 2008-03-26 Mukund Sivaraman <muks@mukund.org>
9254 * plug-ins/common/dicom.c: Forget about negative values in signed
9255 data and scale positive values appropriately. Also fixed signed
9256 values in the 8 bpp case, and added some comments.
9258 2008-03-26 Mukund Sivaraman <muks@mukund.org>
9260 * plug-ins/common/dicom.c: made the dicom plug-in a bit better.
9262 1. Parse the default little-endian encoding correctly.
9263 2. Handle signed pixel data.
9264 3. Support "bits stored" and "high bit" meta data fields.
9265 4. Throw away the bogus "max" value based metering.
9267 2008-03-26 Michael Natterer <mitch@gimp.org>
9269 * app/widgets/gimptoolbox.c: make the wilber area a bit smaller.
9271 2008-03-26 Michael Natterer <mitch@gimp.org>
9273 * app/widgets/gimptoolbox.[ch]: store the toolbox area's vbox in
9276 * app/widgets/gimptoolbox-dnd.c (gimp_toolbox_dnd_init): use it as
9277 DND target instead of the wbox with the tool buttons.
9279 2008-03-26 Michael Natterer <mitch@gimp.org>
9281 * app/widgets/gimptoolbox.[ch]: big wilber is watching you from
9282 the toolbox! Removed forgotten menubar cruft.
9284 2008-03-26 Sven Neumann <sven@gimp.org>
9286 * app/widgets/gimpcairo-wilber.[ch]:
9287 * app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): hide ugly
9288 details behind a sane API.
9290 2008-03-26 Michael Natterer <mitch@gimp.org>
9292 * app/display/gimpdisplayshell.c (gimp_display_shell_empty):
9293 improve tooltip here too.
9295 2008-03-26 Sven Neumann <sven@gimp.org>
9297 * app/widgets/gimpcairo-wilber.c: include a better Wilber path,
9300 * app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): undid
9301 scaling "fix", instead take the offset into account. Draw with
9304 2008-03-26 Michael Natterer <mitch@gimp.org>
9306 * app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): fix scaling.
9308 2008-03-26 Sven Neumann <sven@gimp.org>
9310 * app/widgets/Makefile.am
9311 * app/widgets/gimpcairo-wilber.[ch]: new files that renders a
9312 Wilber image as a Cairo path. Or at least it is supposed to do
9313 this at some point...
9315 * app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): use the
9316 scalable Wilber path. Needs more work...
9318 2008-03-26 Sven Neumann <sven@gimp.org>
9320 * data/images/Makefile.am: install wilber.png.
9322 * app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): try to
9323 load "wilber.png" from $prefix/share/gimp/2.0/images.
9325 * app/display/gimpdisplayshell.c (gimp_display_shell_new):
9328 2008-03-26 Michael Natterer <mitch@gimp.org>
9330 * app/display/gimpcanvas.[ch]: improve wilber scaling and remove
9331 the drop zone layout.
9333 * app/display/gimpdisplayshell.c: add a tooltip instead.
9335 2008-03-26 Michael Natterer <mitch@gimp.org>
9337 * app/display/gimpdisplayshell-callbacks.c
9338 (gimp_display_shell_canvas_realize): don't set an initial cursor
9339 so we get the desktop default cursor after starting GIMP.
9341 2008-03-26 Sven Neumann <sven@gimp.org>
9343 * plug-ins/common/gif-save.c
9344 * plug-ins/common/psd-save.c (save_image): improved error messages.
9346 2008-03-26 Michael Natterer <mitch@gimp.org>
9348 * app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): add
9349 wilber image to figure the proper scale behavior. Proper image
9352 2008-03-26 Sven Neumann <sven@gimp.org>
9354 * app/display/gimpdisplayshell-icon.[ch]
9355 * app/display/gimpdisplayshell-handlers.c: moved more icon code to
9358 2008-03-25 Mukund Sivaraman <muks@mukund.org>
9360 * plug-ins/common/mng.c: Cleaned up the rest of the plug-in.
9362 2008-03-25 Mukund Sivaraman <muks@mukund.org>
9364 * plug-ins/common/mng.c: More code cleanups.
9366 2008-03-25 Mukund Sivaraman <muks@mukund.org>
9368 * plug-ins/common/mng.c: More code cleanups.
9370 2008-03-25 Mukund Sivaraman <muks@mukund.org>
9372 * plug-ins/common/mng.c: More code cleanups.
9374 2008-03-25 Sven Neumann <sven@gimp.org>
9376 * app/display/Makefile.am
9377 * app/display/gimpdisplayshell-icon.[ch]: split icon code to its
9380 * app/display/gimpdisplay.c
9381 * app/display/gimpdisplayshell.c
9382 * app/display/gimpdisplayshell-handlers.c: changed accordingly.
9384 2008-03-25 Sven Neumann <sven@gimp.org>
9386 * app/display/gimpstatusbar.c (gimp_statusbar_peek): fixed
9389 * app/display/gimpdisplayshell-callbacks.c: formatting.
9391 2008-03-25 Sven Neumann <sven@gimp.org>
9393 * app/display/gimpstatusbar.[ch]: added gimp_statusbar_peek(), a
9394 method to access the contents of the statusbar.
9396 * app/display/gimpdisplayshell.c
9397 (gimp_display_shell_window_state_event): when the iconfied state
9398 changes, call gimp_display_shell_progress_window_state_changed().
9400 * app/display/gimpdisplayshell-progress.[ch]: if the image window
9401 is iconified, display the progress message in the window title so
9402 that it appears in the task bar.
9404 * app/menus/plug-in-menus.c: formatting.
9406 2008-03-25 Michael Natterer <mitch@gimp.org>
9408 * app/display/gimpdisplayshell-callbacks.[ch]: remove the window
9409 state callback here...
9411 * app/display/gimpdisplayshell.c: ...add it here and turn it into
9412 a GtkWidget::window_state_event() implementation instead of a
9415 2008-03-25 Sven Neumann <sven@gimp.org>
9417 * menus/image-menu.xml.in: added a placeholder "Menus" where
9418 plug-ins like GAP can register a top-level menu.
9420 2008-03-25 Sven Neumann <sven@gimp.org>
9422 * app/display/gimpdisplayshell-callbacks.[ch]:
9423 * app/display/gimpdisplayshell.c (gimp_display_shell_init): moved
9424 handling of window state events to a separate callback.
9426 2008-03-25 Sven Neumann <sven@gimp.org>
9428 * app/display/gimpdisplayshell.h: formatting.
9430 2008-03-25 Sven Neumann <sven@gimp.org>
9432 * app/core/gimp-gui.[ch]
9433 * app/gui/gui-vtable.c: added gimp_get_empty_display() to the vtable.
9435 * app/file/file-open.c (file_open_from_command_line): use the
9436 empty display as progress window when opening an image from the
9437 command-line or via the DBus interface.
9439 2008-03-25 Michael Natterer <mitch@gimp.org>
9441 * app/actions/image-actions.c: remove "image-new-from-image"
9444 * app/actions/image-commands.[ch]: remove its callback and made
9445 the "image-new" callback use the current image's dimensions
9448 * menus/image-menu.xml.in: use the "image-new" action.
9450 2008-03-25 Michael Natterer <mitch@gimp.org>
9452 * app/display/gimpdisplayshell.c (gimp_display_shell_style_set):
9453 fix to work without menubar, don't reset GDK_HINT_USER_POS.
9455 2008-03-25 Sven Neumann <sven@gimp.org>
9457 * app/gui/gui.c (gui_restore_after_callback): focus the image
9458 window after all docks have been created.
9460 * app/widgets/gimpdock.c (gimp_dock_init): unset focus-on-map on
9463 * app/widgets/gimpdialogfactory.c
9464 (gimp_dialog_factories_show_foreach): removed the focus hacks here
9465 as they are not any longer needed.
9467 2008-03-25 Sven Neumann <sven@gimp.org>
9469 * app/actions/file-actions.c
9470 * app/actions/file-commands.[ch]: renamed
9471 file_last_opened_cmd_callaback() to file_open_recent_cmd_callback().
9472 Use the empty display as progress object.
9474 2008-03-25 Sven Neumann <sven@gimp.org>
9476 * app/display/gimpdisplayshell.c (gimp_display_shell_new): center
9477 the empty image window on first startup.
9479 2008-03-25 Sven Neumann <sven@gimp.org>
9481 * app/gui/gui-vtable.c (gui_recent_list_load): sort the list into
9484 2008-03-25 Sven Neumann <sven@gimp.org>
9486 * app/actions/documents-commands.c: only fiddle with
9487 GtkRecentManager when "save-document-history" is enabled.
9489 * app/config/gimprc-blurbs.h
9490 * app/dialogs/preferences-dialog.c: changed description and label
9491 for the "save-document-history" option.
9493 2008-03-24 Sven Neumann <sven@gimp.org>
9495 * app/widgets/gimplanguagestore.[ch]
9496 * app/widgets/gimplanguageentry.[ch]: code cleanup.
9498 2008-03-24 Mukund Sivaraman <muks@mukund.org>
9500 * plug-ins/common/mng.c: Code cleanups.
9502 2008-03-24 Michael Natterer <mitch@gimp.org>
9506 * plug-ins/sgi/*: renamed files.
9508 2008-03-24 Mukund Sivaraman <muks@mukund.org>
9510 * plug-ins/common/mng.c:
9511 * plug-ins/jpeg/jpeg.c: Changed name of author.
9513 2008-03-24 Sven Neumann <sven@gimp.org>
9515 * plug-ins/gradient-flare/Makefile.am: fixed variable that was
9516 forgotten during the renaming.
9518 2008-03-24 Michael Natterer <mitch@gimp.org>
9520 * plug-ins/fractal-explorer/*: renamed all files.
9522 2008-03-24 Michael Natterer <mitch@gimp.org>
9524 * plug-ins/ico/*: renamed all files.
9526 2008-03-24 Michael Natterer <mitch@gimp.org>
9528 The icon plugin should simply be "ico" just as the other file
9531 * plug-ins/win-icon -> ico
9534 * plug-ins/Makefile.am: changed accordingly.
9536 2008-03-24 Michael Natterer <mitch@gimp.org>
9538 * plug-ins/color-rotate/*: renamed all files and also changed
9539 function names and stuff in some files. Only the filename change
9542 2008-03-24 Michael Natterer <mitch@gimp.org>
9544 There is no colormap involved in this plug-in, rename it again...
9546 * plug-ins/colormap-rotate -> color-rotate.
9549 * plug-ins/Makefile.am: changed accordingly.
9551 2008-03-24 Michael Natterer <mitch@gimp.org>
9553 * plug-ins/map-object
9554 * plug-ins/gradient-flare
9555 * plug-ins/ifs-compose
9556 * plug-ins/selection-to-path
9558 * plug-ins/help-browser
9559 * plug-ins/fli: rename files in these folders to have no
9560 underscores and match new names of the plug-ins.
9562 * configure.in: changed accordingly.
9564 2008-03-24 Sven Neumann <sven@gimp.org>
9566 * app/core/gimp-user-install.c (user_install_migrate_files): don't
9567 migrate "documents".
9569 * app/actions/documents-commands.c (documents_remove_cmd_callback)
9570 (documents_remove_dangling_foreach): remove from GtkRecentManager
9571 before removing the item from the documents list.
9573 2008-03-24 Sven Neumann <sven@gimp.org>
9575 * libgimpthumb/gimpthumbnail.c: don't reset the mime-type info
9576 when we can't load a thumbnail.
9578 * app/core/gimpimagefile.c (gimp_imagefile_get_new_pixbuf): don't
9579 set a stock-id depending on the state.
9581 * app/widgets/gimpviewrendererimagefile.[ch]: removed commented
9582 out hack that used to access semi-private API from GtkFilesystem.
9583 Instead lifted some code from GtkRecentManager that looks up icons
9586 2008-03-24 Michael Natterer <mitch@gimp.org>
9588 Renamed folders in plug-ins/. Unfortunately it's impossible to
9589 rename the files inside at the same time, so this is just
9592 * plug-ins/FractalExplorer -> fractal-explorer
9593 * plug-ins/Lighting -> lighting
9594 * plug-ins/MapObject -> map-object
9595 * plug-ins/gflare -> gradient-flare
9596 * plug-ins/gfli -> fli
9597 * plug-ins/helpbrowser -> help-browser
9598 * plug-ins/ifscompose -> ifs-compose
9599 * plug-ins/rcm -> colormap-rotate
9600 * plug-ins/sel2path -> selection-to-path
9601 * plug-ins/winicon -> win-icon
9602 * plug-ins/winsnap -> win-snap
9605 * plug-ins/Makefile.am: changed accordingly.
9607 2008-03-24 Michael Natterer <mitch@gimp.org>
9609 Renamed tons of plug-ins to make more sense and to be consistent:
9611 * plug-ins/common/AlienMap2.c -> alien-map.c
9612 * plug-ins/common/CEL.c -> cel.c
9613 * plug-ins/common/CML_explorer.c -> cml-explorer.c
9614 * plug-ins/common/align_layers.c -> align-layers.c
9615 * plug-ins/common/animationplay.c -> animation-play.c
9616 * plug-ins/common/animoptimize.c -> animation-optimize.c
9617 * plug-ins/common/apply_lens.c -> lens-apply.c
9618 * plug-ins/common/autocrop.c -> crop-auto.c
9619 * plug-ins/common/autostretch_hsv.c -> contrast-stretch-hsv.c
9620 * plug-ins/common/borderaverage.c -> border-average.c
9621 * plug-ins/common/bumpmap.c -> bump-map.c
9622 * plug-ins/common/c_astretch.c -> contrast-stretch.c
9623 * plug-ins/common/ccanalyze.c -> color-cube-analyze.c
9624 * plug-ins/common/channel_mixer.c -> channel-mixer.c
9625 * plug-ins/common/color_enhance.c -> color-enhance.c
9626 * plug-ins/common/colortoalpha.c -> color-to-alpha.c
9627 * plug-ins/common/convmatrix.c -> convolution-matrix.c
9628 * plug-ins/common/curve_bend.c -> curve-bend.c
9629 * plug-ins/common/depthmerge.c -> depth-merge.c
9630 * plug-ins/common/dog.c -> edge-dog.c
9631 * plug-ins/common/exchange.c -> color-exchange.c
9632 * plug-ins/common/flarefx.c -> lens-flare.c
9633 * plug-ins/common/fp.c -> filter-pack.c
9634 * plug-ins/common/fractaltrace.c -> fractal-trace.c
9635 * plug-ins/common/gauss.c -> blur-gauss.c
9636 * plug-ins/common/gee_zoom.c -> gee-zoom.c
9637 * plug-ins/common/glasstile.c -> tile-glass.c
9638 * plug-ins/common/gqbist.c -> qbist.c
9639 * plug-ins/common/gradmap.c -> gradient-map.c
9640 * plug-ins/common/laplace.c -> edge-laplace.c
9641 * plug-ins/common/lens.c -> lens-distortion.c
9642 * plug-ins/common/lic.c -> van-gogh-lic.c
9643 * plug-ins/common/max_rgb.c -> max-rgb.c
9644 * plug-ins/common/mblur.c -> blur-motion.c
9645 * plug-ins/common/nlfilt.c -> nl-filter.c
9646 * plug-ins/common/noisify.c -> noise-rgb.c
9647 * plug-ins/common/normalize.c -> contrast-normalize.c
9648 * plug-ins/common/papertile.c -> tile-paper.c
9649 * plug-ins/common/polar.c -> polar-coords.c
9650 * plug-ins/common/randomize.c -> noise-randomize.c
9651 * plug-ins/common/redeye.c -> red-eye-removal.c
9652 * plug-ins/common/retinex.c -> contrast-retinex.c
9653 * plug-ins/common/sample_colorize.c -> sample-colorize.c
9654 * plug-ins/common/scatter_hsv.c -> noise-hsv.c
9655 * plug-ins/common/sel_gauss.c -> blur-gauss-selective.c
9656 * plug-ins/common/semiflatten.c -> semi-flatten.c
9657 * plug-ins/common/smooth_palette.c -> smooth-palette.c
9658 * plug-ins/common/snoise.c -> noise-solid.c
9659 * plug-ins/common/sobel.c -> edge-sobel.c
9660 * plug-ins/common/spheredesigner.c -> sphere-designer.c
9661 * plug-ins/common/spread.c -> noise-spread.c
9662 * plug-ins/common/struc.c -> apply-canvas.c
9663 * plug-ins/common/threshold_alpha.c -> threshold-alpha.c
9664 * plug-ins/common/tileit.c -> tile-small.c
9665 * plug-ins/common/tiler.c -> tile-seamless.c
9666 * plug-ins/common/uniteditor.c -> unit-editor.c
9667 * plug-ins/common/unsharp.c -> unsharp-mask.c
9668 * plug-ins/common/vinvert.c -> value-invert.c
9669 * plug-ins/common/vpropagate.c -> value-propagate.c
9670 * plug-ins/common/webbrowser.c -> web-browser.c
9671 * plug-ins/common/whirlpinch.c -> whirl-pinch.c
9672 * plug-ins/common/zealouscrop.c -> crop-zealous.c
9674 * plug-ins/common/plugin-defs.pl: changed accordingly.
9676 * plug-ins/common/Makefile.am: regenerated.
9678 2008-03-24 Sven Neumann <sven@gimp.org>
9680 * app/actions/documents-commands.c
9681 (documents_remove_dangling_foreach): also remove the dangling item
9682 from GtkRecentManager.
9684 2008-03-24 Sven Neumann <sven@gimp.org>
9686 Do not any longer keep the document history in two places. We only
9687 use GtkRecentManager now:
9689 * app/core/Makefile.am
9690 * app/core/gimp-documents.[ch]: removed these files.
9692 * app/core/gimpdocumentlist.c: removed code to load and save the
9694 (gimp_document_list_add_uri): call gimp_recent_list_add_uri() here.
9696 * app/core/gimpimagefile.[ch]: added function to set the mime-type.
9698 * app/core/gimp.c (gimp_restore): removed code to load the
9700 (gimp_real_exit): removed code to save it.
9702 * app/core/gimp-gui.[ch]: extended the vtable with a method to
9703 populate the document list.
9705 * app/gui/gui-vtable.c: added code to populate the document history
9706 from the list of recently used files kept by GtkRecentManager.
9708 * app/gui/gui.c (gui_restore_callback): load the recent files here.
9710 * app/file/file-open.c
9711 * app/file/file-save.c: no need to call gimp_recent_list_add_uri()
9712 any longer as gimp_document_list_add_uri() does that for us now.
9714 * app/actions/documents-commands.c (documents_clear_cmd_callback):
9715 purge the items from GtkRecentManager. Also changed the dialog to
9716 emphasize that this operation now affects the document history in
9719 * docs/gimp.1.in: removed reference to "documents" file.
9721 2008-03-23 Mukund Sivaraman <muks@mukund.org>
9723 * HACKING: Updated section on getting dependencies, as we don't
9724 want to encourage using deps from svn for building GIMP.
9726 2008-03-24 Sven Neumann <sven@gimp.org>
9728 * plug-ins/common/dicom.c (dicom_loader): fixed potential crash on
9729 empty 16 bit images.
9731 2008-03-23 Michael Natterer <mitch@gimp.org>
9733 * app/widgets/gimpdialogfactory.c (gimp_dialog_factory_add_dialog):
9734 don't set the dialog's window geometry if it is already visible.
9735 Fixes empty display moving and shouldn't affect anything else
9736 since we always want to position dialogs before they are shown.
9738 2008-03-23 Michael Natterer <mitch@gimp.org>
9740 * app/display/gimpdisplayshell.c (gimp_display_shell_new): use the
9741 right GimpDisplayOptions to set the initial visibility of the
9744 2008-03-23 Michael Natterer <mitch@gimp.org>
9746 * app/display/gimpstatusbar.c: implement GtkWidget::size_request()
9747 and also consider the children which can be invisible when the
9750 * app/display/gimpdisplayshell.c (gimp_display_shell_style_set):
9751 set the minimum height of the display to menubar + statusbar
9754 2008-03-23 Sven Neumann <sven@gimp.org>
9756 * app/display/gimpdisplayshell-callbacks.c
9757 (gimp_display_shell_canvas_expose): return TRUE after calling
9758 gimp_display_shell_canvas_expose_image().
9760 2008-03-23 Sven Neumann <sven@gimp.org>
9762 * app/dialogs/dialogs.c
9763 * app/display/gimpdisplayshell.c: changed "gimp-no-image-window" to
9764 "gimp-empty-image-window".
9766 2008-03-23 Michael Natterer <mitch@gimp.org>
9768 * app/display/gimpdisplayshell-scale.c
9769 (gimp_display_shell_scale_resize): always need to fully expose the
9770 canvas now that "redisplay" was removed.
9772 2008-03-23 Michael Natterer <mitch@gimp.org>
9774 Never shrink the empty display when filling it, only grow:
9776 * app/display/gimpdisplayshell.[ch]
9777 * app/display/gimpdisplayshell-scale.[ch]: add "gboolean
9778 grow_only" parameters to shrink_wrap() APIs which restricts
9779 resizing of the window to growing.
9781 * app/display/gimpdisplayshell-scale.[ch]
9782 (gimp_displaY_shell_scale_resize): remove boolean "redisplay"
9783 parameter because is was always passed as TRUE. Add boolean
9784 "grow_only" instead and pass it on to shrink_wrap()
9786 * app/actions/view-commands.c
9787 * app/display/gimpdisplayshell-handlers.c: pass grow_only = FALSE.
9789 * app/display/gimpdisplayshell.c (gimp_display_shell_idle_fill):
9790 pass grow_only = TRUE.
9792 2008-03-23 Michael Natterer <mitch@gimp.org>
9794 * app/dialogs/dialogs.[ch]: added a dialog factory for displays
9795 and register "gimp-no-image-window" with it.
9797 * app/display/gimpdisplay.[ch]: add a GimpDialogFactory parameter
9798 to gimp_display_new() and pass it on to gimp_display_shell_new().
9800 * app/display/gimpdisplayshell.[ch]: keep the passed
9801 GimpDialogFactory around. When the shell becomes empty, add it to
9802 the dialog factory and resize it to the remembered size; when it
9803 becomes non-empty, remove it from the dialog factory again.
9805 * app/gui/gui-vtable.c: pass the display dialog factory to
9808 2008-03-23 Michael Natterer <mitch@gimp.org>
9810 * app/widgets/gimpdialogfactory.c: cleanup (move variables to
9811 local scopes), improve debugging outout.
9813 (gimp_dialog_factory_remove_dialog): disconnect signal handlers
9814 and unset any session management data which is attached to the
9815 widget, so this function can really be used to remove a dialog
9818 2008-03-23 Michael Natterer <mitch@gimp.org>
9820 * app/widgets/gimpsessioninfo.c (gimp_session_info_get_geometry):
9821 use gdk_drawable_get_size() instead of looking at
9822 widget->allocation since the latter is not yet updated if this
9823 function is called from the dialog factory's "configure-event"
9824 callback. Fixes remembering of dialog sizes within one session.
9826 2008-03-23 Michael Natterer <mitch@gimp.org>
9828 * app/core/gimpcontext.c (gimp_context_real_set_display): set the
9829 image also if it is NULL.
9831 2008-03-22 Sven Neumann <sven@gimp.org>
9833 * libgimp/gimppixbuf.c: fixed gtk-doc syntax.
9835 2008-03-22 Sven Neumann <sven@gimp.org>
9837 * themes/Default/gtkrc
9838 * app/widgets/gimpmenudock.c: reduced minimum dock width to 200
9841 * etc/sessionrc: use -0 instead of -1, just like in X geometry
9842 strings. Changed default dock sizes to be taller but less wide.
9844 * app/widgets/gimpsessioninfo.c: changed code to parse -0 from the
9845 sessionrc file and to deal more correctly with negative offsets.
9847 2008-03-22 Sven Neumann <sven@gimp.org>
9849 * app/widgets/gimpsessioninfo.c (gimp_session_info_set_geometry):
9850 deal with negative positions read from the sessionrc file and
9851 interpret them as a hint to align the window with the right,
9852 respective bottom edge of the screen.
9854 * etc/sessionrc: position the toolbox in the upper left, the
9855 additional dock in the upper right corner of the screen.
9857 2008-03-21 Sven Neumann <sven@gimp.org>
9859 * app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): tweaked
9860 opacity calculation so that the opacity is only increased with
9863 2008-03-21 Sven Neumann <sven@gimp.org>
9865 * app/core/gimptemplate.[ch]: moved defines to the header file and
9866 changed to 640x400 which is actually almost the golden mean as
9867 claimed by the comment.
9869 * app/display/gimpdisplayshell.c: use the defines here.
9871 2008-03-21 Sven Neumann <sven@gimp.org>
9873 * app/core/gimptemplate.c: increased the size of the default image
9874 (to the next Fibonacci number for the development version and to
9875 600x480 for GIMP 2.6).
9877 2008-03-21 Sven Neumann <sven@gimp.org>
9879 * etc/controllerrc: bind Alt-Cursor Key to tools-value-1 instead
9880 of context-opacity (tools-value-1 is equivalent to context-opacity
9883 2008-03-21 Sven Neumann <sven@gimp.org>
9885 * app/display/gimpdisplayshell.c (gimp_display_shell_fill_idle):
9886 gtk_window_present() the image window to make sure that images
9887 aren't opened into a minimized image window.
9889 2008-03-21 Michael Natterer <mitch@gimp.org>
9891 * configure.in: revert new glib dependency.
9893 2008-03-21 Michael Natterer <mitch@gimp.org>
9895 * configure.in: require glib >= 2.16.1. Don't warn about
9896 deprecations for glib >= 2.19.0.
9898 Also forgot to commit the removal of --enable-toolbox-menu.
9900 2008-03-21 Sven Neumann <sven@gimp.org>
9902 * app/gimp-log.[ch]: introduced log domain "menus".
9904 * app/menus/plug-in-menus.c: use gimp-log for debug output.
9906 2008-03-21 Michael Natterer <mitch@gimp.org>
9908 * app/display/gimpdisplayshell-close.c (gimp_display_shell_close):
9909 invoke the quit action instead of calling gimp_exit() so its
9910 sensitivity is taken into account.
9912 2008-03-21 Michael Natterer <mitch@gimp.org>
9914 Remove the toolbox menu:
9916 * configure.in: remove --enable-toolbox-menu option.
9919 * menus/toolbox-menu.xml.in: removed.
9921 * menus/image-menu.xml.in: add the debug menu here.
9923 * menus/menus.xsl: remove transformations depending on whether
9924 there is a toolbox menu or not.
9926 * app/menus/Makefile.am
9927 * app/menus/toolbox-menu.[ch]: removed.
9929 * app/menus/menus.c: remove the toolbox menu but keep the
9930 <Toolbox> UI manager around so we can configure its actions
9931 separate from normal docks.
9933 * app/actions/image-actions.c (image_actions): remove the action
9934 for the toolbox menubar.
9936 * app/widgets/gimptoolbox.c: remove all menu code.
9938 * app/plug-in/plug-in-menu-path.c: map plug-in registered toolbox
9939 menu items to their new location in the image menu
9942 * plug-ins/common/screenshot.c
9943 * plug-ins/common/uniteditor.c
9944 * plug-ins/script-fu/script-fu.c
9945 * plug-ins/script-fu/scripts/web-browser.scm
9946 * plug-ins/twain/twain.c
9947 * plug-ins/winsnap/winsnap.c: remove menu registrations under
9948 <Toolbox>/File and change <Toolbox>/Help to <Image>/Help. Leave
9949 <Toolbox>/Xtns untouched until its final location and name are
9952 2008-03-21 Michael Natterer <mitch@gimp.org>
9954 * app/widgets/gimpdock.h (struct GimpDock): added member "ID"
9957 * app/widgets/gimpdock.c (gimp_dock_init): assign unique IDs
9958 and set unique widget names based on the ID.
9960 (gimp_dock_style_set): set individual styles for each dock based
9961 on the widget name so docks on different screens get the correct
9962 font size. Use PANGO_SCALE_SMALL instead of a hardcoded factor of
9965 2008-03-21 Sven Neumann <sven@gimp.org>
9967 * themes/Default/images/Makefile.am
9968 * themes/Default/images/stock-gegl-24.png: removed...
9970 * themes/Default/images/stock-gegl-22.png: ... and added a cropped
9971 version that goes better with the other tool icons.
9973 * libgimpwidgets/gimpstock.c: changed accordingly.
9975 2008-03-21 Michael Natterer <mitch@gimp.org>
9977 * app/widgets/gimpdock.c (gimp_dock_style_set): some experimental
9978 and pretty evil code which reduces the font size in docks by 20%.
9980 2008-03-21 Michael Natterer <mitch@gimp.org>
9982 * app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): make sure
9983 the drop label's opacity scales with its size so we don't end up
9984 with tiny text at 10% opacity.
9986 2008-03-20 Michael Natterer <mitch@gimp.org>
9988 * app/gui/gui-vtable.c (gui_display_create): add back code that
9989 made sure the newly created display/image combo is the user
9990 context's active one.
9992 2008-03-20 Martin Nordholts <martinn@svn.gnome.org>
9994 * app/display/gimpdisplayshell-close.c
9995 (gimp_display_shell_close): gimp_exit() when closing the "no
9998 2008-03-20 Martin Nordholts <martinn@svn.gnome.org>
10000 * app/gui/gui-vtable.c: Fix stupid mistake in previous commit...
10002 2008-03-20 Martin Nordholts <martinn@svn.gnome.org>
10004 * app/gui/gui-vtable.c
10005 (gui_display_create): Make the logic clearer.
10006 (gui_get_empty_display): New helper function.
10008 2008-03-20 Sven Neumann <sven@gimp.org>
10010 * app/gui/gui.c (gui_restore_after_callback): create the empty
10011 display before the other windows.
10013 * app/display/gimpdisplayshell.c (gimp_display_shell_new): center
10014 the empty window and create additional image windows under the
10015 mouse cursor. Just an experiment ...
10017 2008-03-20 Sven Neumann <sven@gimp.org>
10019 * app/config/gimpguiconfig.c: changed default values for
10020 "toolbox-window-hint" and "dock-window-hint" to "utility".
10022 * app/widgets/gimptoolbox.c (gimp_toolbox_new): changed window
10023 title to "Toolbox".
10025 2008-03-20 Michael Natterer <mitch@gimp.org>
10027 * app/display/gimpdisplayshell.c (gimp_display_shell_new): make it
10028 work when called with display->image == NULL. Use a randomly
10029 picked canvas size for now, more later.
10031 (gimp_display_shell_fill): add missing call to
10032 gimp_display_shell_scale_changed().
10034 * app/gui/gui.c (gui_restore_after_callback): create an empty
10037 2008-03-20 Sven Neumann <sven@gimp.org>
10039 * plug-ins/uri/uri-backend-gio.c (get_protocols): guard against
10040 g_vfs_get_supported_uri_schemes() returning NULL.
10042 2008-03-20 Sven Neumann <sven@gimp.org>
10044 * app/plug-in/gimppluginprocedure.c
10045 (gimp_plug_in_procedure_set_file_proc): don't allow "file:" to be
10046 registered as prefix. This seems to happen with the uri-gio plug-in
10047 when no gvfs backends are installed.
10049 2008-03-20 Michael Natterer <mitch@gimp.org>
10051 * app/display/gimpdisplayshell.[ch]: shrink-wrap the newly filled
10052 empty display in an idle function.
10054 2008-03-20 Sven Neumann <sven@gimp.org>
10056 * plug-ins/uri/gimpmountoperation.c: make the dialogs transient to
10057 the progress window if no parent or screen has been set.
10059 2008-03-20 Sven Neumann <sven@gimp.org>
10061 * plug-ins/common/gif-save.c: added a sanity check and abort when
10062 the image is too large.
10064 2008-03-19 Michael Natterer <mitch@gimp.org>
10066 * app/display/gimpdisplayshell-callbacks.c
10067 (gimp_display_shell_canvas_tool_events): enable the right click
10068 menu on the empty display.
10070 2008-03-19 Michael Natterer <mitch@gimp.org>
10072 * app/display/gimpdisplayshell.c (gimp_display_shell_empty): use
10073 the desktop default cursor for the empty display.
10075 2008-03-19 Michael Natterer <mitch@gimp.org>
10077 * app/display/gimpdisplayshell.c (gimp_display_shell_empty): the
10078 code to reset the cursor got lost when introducing this function.
10080 * app/display/gimpdisplayshell-dnd.c
10081 (gimp_display_shell_dnd_init): remove redundant casts.
10083 2008-03-19 Michael Natterer <mitch@gimp.org>
10085 * app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): make the
10086 scale factor of the label 4/5 instead of 2/3 of the canvas and
10087 move the factor out of the MIN().
10089 2008-03-19 Michael Natterer <mitch@gimp.org>
10091 * app/display/gimpdisplay-foreach.[ch] (gimp_displays_delete): add
10092 boolean "quit" parameter and leave the empty display open when it
10095 * app/dialogs/quit-dialog.c
10096 * app/actions/file-commands.c: pass quit = FALSE for "close all".
10098 * app/gui/gui.c: pass quit = TRUE when quitting.
10100 * app/actions/file-actions.c: fix sensitivity of "Close all".
10102 * app/actions/view-actions.c: fix sensitivity of "Close".
10104 2008-03-19 Sven Neumann <sven@gimp.org>
10106 * app/display/gimpdisplayshell-callbacks.c: clean up after Martin.
10108 2008-03-19 Michael Natterer <mitch@gimp.org>
10110 * app/actions/view-commands.c: remove useless include.
10112 2008-03-19 Martin Nordholts <martinn@svn.gnome.org>
10114 * app/display/gimpdisplayshell-callbacks.c
10115 (gimp_display_shell_canvas_expose): Refactor to emphasize logic.
10116 (gimp_display_shell_canvas_expose_image)
10117 (gimp_display_shell_canvas_expose_drop_zone): New helper
10120 2008-03-19 Sven Neumann <sven@gimp.org>
10122 * app/display/gimpdisplayshell-callbacks.c
10123 (gimp_display_shell_canvas_expose): return FALSE so that the
10124 default drag highlighting works.
10126 * app/display/gimpdisplayshell-dnd.c: only set the canvas as drop
10127 target, not the whole shell.
10129 * app/display/gimpdisplayshell.c: delay the call to
10130 gimp_display_shell_dnd_init() until after the canvas has been
10133 2008-03-19 Sven Neumann <sven@gimp.org>
10135 * app/core/gimppalette-load.c (gimp_palette_load): skip empty lines.
10137 2008-03-19 Sven Neumann <sven@gimp.org>
10139 * app/display/gimpdisplayshell.c
10140 * app/display/gimpdisplayshell-title.c
10141 * app/display/gimpstatusbar.[ch]: hide/show the cursor label and
10142 the unit and scale combo-boxes.
10144 2008-03-19 Michael Natterer <mitch@gimp.org>
10146 * app/display/gimpdisplay.[ch]: add gimp_display_empty()/fill()
10147 which turns it into an empty display and back.
10149 * app/display/gimpdisplayshell.[ch]: add same api here.
10151 * app/display/gimpdisplayshell-close.c
10152 * app/gui/gui-vtable.c: use the new functions instead of having
10155 * app/display/gimpdisplayshell-selection.c
10156 (gimp_display_shell_selection_control): stop the timeout and free
10157 the segments when this function is called on an empty display.
10159 2008-03-19 Sven Neumann <sven@gimp.org>
10161 * plug-ins/uri/uri-backend-gio.c (copy_uri): fixed stupid bug.
10163 2008-03-19 Sven Neumann <sven@gimp.org>
10165 * app/paint-funcs/paint-funcs.c: minor formatting cleanup.
10167 2008-03-19 Sven Neumann <sven@gimp.org>
10169 * app/display/gimpdisplayshell-title.c: changed to only append
10170 GIMP_ACRONYM in the window title and not affect the status-bar.
10172 2008-03-19 Sven Neumann <sven@gimp.org>
10174 * app/display/gimpdisplayshell.[ch]
10175 * app/display/gimpdisplayshell-scale.[ch]: moved
10176 gimp_display_shell_set_initial_scale() to gimpdisplayshell-scale.c.
10178 * app/display/gimpdisplayoptions.c: reverted last change, we want
10179 to keep the status-bar around.
10181 2008-03-19 Michael Natterer <mitch@gimp.org>
10183 * app/display/gimpdisplayshell.[ch]
10184 (gimp_display_shell_set_initial_scale): factored out this function
10185 which calculates the zoom factor for new images. Also returns the
10186 size of the canvas for that zoom factor.
10188 * app/gui/gui-vtable.c (gui_display_create): use it to set the
10189 initial scale of images loaded into the empty display, but don't
10190 set the display's size yet.
10192 2008-03-19 Sven Neumann <sven@gimp.org>
10194 * app/display/gimpdisplayoptions.c
10195 (gimp_display_options_no_image_class_init): hide the status-bar,
10198 2008-03-19 Sven Neumann <sven@gimp.org>
10200 * app/widgets/gimpdockable.c
10201 * app/widgets/gimpwidgets-utils.[ch]: moved utility function for
10202 setting attributes on a PangoLayout out of gimpdockable.c.
10204 * app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): use a
10205 bold font and paint the layout with transparency.
10207 2008-03-19 Sven Neumann <sven@gimp.org>
10209 * app/display/gimpdisplayshell.c (gimp_display_shell_update_icon):
10210 deal with NULL image and unset the icon.
10212 * app/display/gimpdisplay.c (gimp_display_set_image): unset the
10213 icon when no image is set.
10215 * app/display/gimpdisplayshell-title.c
10216 (gimp_display_shell_format_title): use GIMP_NAME as the window
10217 title when no image is set. Append GIMP_ACRONYM otherwise.
10219 2008-03-18 Michael Natterer <mitch@gimp.org>
10221 * app/display/gimpdisplayoptions.[ch]: add new options object
10222 for the "no image" display appearance.
10224 * app/display/gimpdisplayshell.[ch]: keep one of them around.
10226 * app/display/gimpdisplayshell-appearance.[ch]: use the options
10227 object when the display is empty. Add guards against no image
10228 to some functions. Add gimp_display_shell_appearance_update()
10229 which sets all options according to the current display state
10230 (normal, fullscreen, no image).
10232 * app/actions/view-actions.c: don't allow to configure the GUI
10233 of the empty display.
10235 * app/display/gimpdisplayshell-callbacks.c: use the new appearance
10236 update function instead of doing it all here.
10238 * app/display/gimpdisplayshell-close.c
10239 * app/gui/gui-vtable.c: update the appearance when clearing or
10240 filling the display.
10242 * app/display/gimpdisplayshell-selection.c: forgot some guards
10243 against empty displays.
10245 2008-03-18 Michael Natterer <mitch@gimp.org>
10247 First draft of the "no image open" window, which is implemented as
10248 a display without image (a view with NULL model). Didn't change
10249 the display's appearance yet so I can first make sure the display
10250 without image works properly in all details before hiding these
10253 * app/core/gimp-gui.[ch]: add "gimp" parameter to display_create()
10254 and allow "image" to be NULL.
10256 * app/core/gimpcontext.c (gimp_context_real_set_display): a
10257 display's image can be NULL now.
10259 * app/display/gimpdisplay.[ch]: add Gimp and GimpDisplayConfig
10260 members. Add Gimp parameter to gimp_display_shell_new(). Changed
10261 gimp_display_reconnect() to gimp_display_set_image() and allow to
10264 * app/gui/gui-vtable.c (gui_display_create): if there is a single
10265 display without an image, call gimp_display_set_image() on that
10266 display instead of creating a new one.
10268 * app/display/gimpdisplayshell-close.c: if the last display is
10269 closed, don't close it but make it empty. Factored out that code
10270 to gimp_display_shell_really_close().
10272 * app/display/gimpdisplayshell-dnd.c: when dropping uris on an
10273 empty display, open the first one into that display and the other
10274 ones as layers of the newly opened image. This is consistent with
10275 dropping on an existing image but maybe needs some discussion.
10277 * app/display/gimpdisplayshell-callbacks.c: bail out early in the
10278 tool event callback so tools never have to deal with empty
10279 displays. In expose(), draw the drop zone on the empty display.
10281 * app/display/gimpdisplayshell-title.c: set the empty display's
10282 title to "Gimp - Drop Files".
10284 * app/display/gimpdisplay-foreach.c
10285 * app/display/gimpdisplay-handlers.c
10286 * app/display/gimpdisplayshell-appearance.c
10287 * app/display/gimpdisplayshell-autoscroll.c
10288 * app/display/gimpdisplayshell-callbacks.c
10289 * app/display/gimpdisplayshell-cursor.c
10290 * app/display/gimpdisplayshell-dnd.c
10291 * app/display/gimpdisplayshell-draw.c
10292 * app/display/gimpdisplayshell-filter-dialog.c
10293 * app/display/gimpdisplayshell-handlers.c
10294 * app/display/gimpdisplayshell-layer-select.c
10295 * app/display/gimpdisplayshell-preview.c
10296 * app/display/gimpdisplayshell-render.c
10297 * app/display/gimpdisplayshell-scale.c
10298 * app/display/gimpdisplayshell-scroll.c
10299 * app/display/gimpdisplayshell-selection.c
10300 * app/display/gimpdisplayshell-title.c
10301 * app/display/gimpdisplayshell.c
10302 * app/display/gimpnavigationeditor.c
10303 * app/display/gimpstatusbar.c: use display->gimp and
10304 display->config instead of going via the image. Guard against
10305 empty displays in some few places (most places can't be
10306 called). Where needed, use the canvas' dimensions instead of the
10307 image's dimensions so scroll offsets and scrollbars still have
10308 sane values instead of the last image's ones.
10310 * app/actions/actions.c (action_data_get_gimp)
10311 (action_data_get_context): use display->gimp instead of
10312 display->image->gimp.
10314 * app/actions/edit-commands.c (edit_paste_cmd_callback): redirect
10315 to "paste as new" if there is an empty display.
10317 * app/actions/tools-commands.c (tools_select_cmd_callback): don't
10318 initialize the new tool on an empty display.
10320 * app/actions/view-actions.c (view_actions_update): changed lots
10321 of sensitivity settings to be insensitive when there is no image
10322 (instead of no display).
10324 * app/actions/view-commands.c: use the display's config object
10327 2008-03-18 Michael Natterer <mitch@gimp.org>
10329 * app/display/gimpcanvas.[ch]: add gimp_canvas_draw_drop_zone()
10330 which simply renders a big "Drop Here" on the canvas. Replaced
10331 Gimp member and construct property by GimpDisplayConfig.
10333 * app/display/gimpdisplayshell.c (gimp_display_shell_new): changed
10336 2008-03-18 Sven Neumann <sven@gimp.org>
10338 * plug-ins/uri/uri-backend-gio.c (uri_progress_callback):
10339 corrected last change.
10341 2008-03-18 Sven Neumann <sven@gimp.org>
10343 * app/config/gimpguiconfig.c (DEFAULT_WEB_BROWSER): changed
10344 default web-browser to xdg-open. Fixes bug #522483.
10346 2008-03-18 Sven Neumann <sven@gimp.org>
10348 * plug-ins/uri/uri-backend-gio.c: only update the progress up to
10349 ten times per second.
10351 2008-03-18 Sven Neumann <sven@gimp.org>
10353 * plug-ins/uri/gimpmountoperation.c: set alternative button order
10354 on the password dialog (same change done in GTK+).
10356 2008-03-18 Sven Neumann <sven@gimp.org>
10358 * plug-ins/uri/Makefile.am
10359 * plug-ins/uri/gimpmountoperation.[ch]: added a temporary copy of
10360 GtkMountOperation until we depend on the next stable GTK+ release.
10361 Converted to GIMP namespace to avoid symbol collisions.
10363 * plug-ins/uri/uri-backend-gio.c: use the new mount operation.
10365 2008-03-17 Sven Neumann <sven@gimp.org>
10367 * plug-ins/common/png.c: formatting.
10369 2008-03-13 Michael Natterer <mitch@gimp.org>
10371 * plug-ins/common/tiff-load.c (load_image): set the original
10372 filename only if all pages were loaded as layers; if a subset was
10373 loaded, set the filename to "<filename>.tiff-n-of-m-pages" so a
10374 simple "save" won't overwrite the original file without the user
10375 changing the filename explicitely.
10377 2008-03-13 Sven Neumann <sven@gimp.org>
10379 * plug-ins/common/tiff-load.c (load_image): set a filename on the
10380 image, even when not all images are imported as layers (bug #521436).
10382 2008-03-12 Sven Neumann <sven@gimp.org>
10384 * plug-ins/uri/uri-backend-gio.c: improved password dialog.
10386 2008-03-12 Michael Natterer <mitch@gimp.org>
10388 * app/actions/data-commands.c
10389 * app/actions/debug-commands.c
10390 * app/actions/dockable-commands.c
10391 * app/dialogs/stroke-dialog.c
10392 * app/display/gimpdisplayshell-handlers.c
10393 * app/gui/gui-message.c
10395 * app/tools/gimpforegroundselectoptions.c
10396 * app/tools/gimpinkoptions-gui.c
10397 * app/widgets/gimpcolordialog.c
10398 * app/widgets/gimpcontainerpopup.c
10399 * app/widgets/gimpcontainerview-utils.c
10400 * app/widgets/gimpdock.c
10401 * app/widgets/gimpdockable.c
10402 * app/widgets/gimpsessioninfo-book.c
10403 * app/widgets/gimpsessioninfo-dock.c
10404 * app/widgets/gimptoolbox.c
10405 * app/widgets/gimpunitcombobox.c
10406 * app/widgets/gimpviewablebox.c
10407 * libgimp/gimpexport.c
10408 * libgimpmodule/gimpmodule.h
10409 * libgimpwidgets/gimpenumwidgets.c
10410 * libgimpwidgets/gimpframe.c
10411 * libgimpwidgets/gimpoldwidgets.c
10412 * libgimpwidgets/gimpwidgets.c
10413 * plug-ins/MapObject/mapobject_ui.c
10414 * plug-ins/common/papertile.c
10415 * plug-ins/common/sinus.c
10416 * plug-ins/flame/flame.c
10417 * plug-ins/helpbrowser/gimpthrobber.c
10418 * plug-ins/script-fu/scheme-wrapper.c
10419 * plug-ins/script-fu/script-fu-console.c: use accessors instead of
10420 accessing GtkBin.child and GtkPaned.child1,2 directly.
10422 2008-03-12 Sven Neumann <sven@gimp.org>
10424 * plug-ins/uri/uri-backend-gio.c: added password and question
10425 dialogs needed for mounting volumes. This code is untested.
10427 2008-03-12 Åsmund Skjæveland <aasmunds@ulrik.uio.no>
10429 * configure.in: Added nn to ALL_LINGUAS.
10431 2008-03-12 Sven Neumann <sven@gimp.org>
10433 * plug-ins/uri/uri.c: updated copyright.
10435 * plug-ins/uri/uri-backend-gio.c: ask the GVfs backend for the
10436 supported URI schemes.
10438 2008-03-11 Sven Neumann <sven@gimp.org>
10440 * plug-ins/uri/uri-backend-gio.c: improved error handling.
10442 2008-03-11 Sven Neumann <sven@gimp.org>
10445 * configure.in: added --without-gio configure option.
10447 * plug-ins/uri/Makefile.am: prefer the GIO backend.
10449 * plug-ins/uri/uri-backend-gio.c
10450 * plug-ins/uri/uri-backend-libcurl.c
10451 * plug-ins/uri/uri-backend-gnomevfs.c: improved progress messages.
10453 2008-03-11 Sven Neumann <sven@gimp.org>
10455 * configure.in: added a check for gio-2.0.
10457 * plug-ins/uri/Makefile.am
10458 * plug-ins/uri/uri-backend-gio.c: added a first draft of an URI
10459 plug-in based on GIO/GVfs.
10461 2008-03-11 Michael Natterer <mitch@gimp.org>
10463 * app/core/gimpbrushgenerated.c: reorder and rename local
10464 functions and prototypes to be consistent with other objects. Misc
10467 2008-03-10 Sven Neumann <sven@gimp.org>
10469 * app/widgets/gimpdockable.[ch]
10470 * app/widgets/gimpdockbook.c: moved code for the drag widget to
10471 GimpDockable. Use semi-bold text for the drag widget also.
10473 2008-03-10 Sven Neumann <sven@gimp.org>
10475 * app/paint/gimpink.c (gimp_ink_motion): formatting.
10477 2008-03-10 Michael Natterer <mitch@gimp.org>
10479 * app/vectors/gimpanchor.c (gimp_anchor_copy): use g_slice_dup()
10480 instead of copying the struct contents manually.
10482 2008-03-09 Michael Natterer <mitch@gimp.org>
10484 Fix mishandling of the "antialias" GParamSpec. Fixes bug #521069:
10486 * app/tools/gimpselectionoptions.c: remove
10487 gimp_selection_options_reset() which used to set the default for
10488 "antialias" depending on the tool type (which is impossible since
10489 the antialias GParamSpec only exists once, and not once for each
10492 * app/tools/gimpforegroundselectoptions.c: override the antialias
10493 property here and default to FALSE.
10495 2008-03-09 Michael Natterer <mitch@gimp.org>
10497 * app/tools/gimprectangleselecttool.[ch]
10498 * app/tools/gimprectangleselectoptions.[ch]
10499 * app/tools/gimpellipseselecttool.[ch]
10500 * app/tools/gimp-tools.c: s/Rect/Rectangle/ and s/rect/rectangle/
10501 in types and function names.
10503 2008-03-09 Michael Natterer <mitch@gimp.org>
10505 * app/tools/Makefile.am
10506 * app/tools/gimpiscissorsoptions.[ch]
10507 * app/tools/gimpregionselectoptions.[ch]: new options classes.
10509 * app/tools/gimpselectionoptions.[ch]: remove the options here.
10510 Also remove some leftover rectangle options cruft that is in its
10511 own files since long ago.
10513 * app/tools/gimpbycolorselecttool.c
10514 * app/tools/gimpfuzzyselecttool.c
10515 * app/tools/gimpiscissorstool.[ch]
10516 * app/tools/gimpregionselecttool.[ch]
10517 * app/widgets/gimpselectioneditor.c: changed accordingly.
10519 2008-03-09 Martin Nordholts <martinn@svn.gnome.org>
10521 * app/tools/gimprectangletool.c
10522 (gimp_rectangle_tool_setup_snap_offsets): Make the GimpCoords used
10523 for snap calculations depend on the precision mode of the
10524 rectangle. This gives a more pleasant experience when resizing and
10525 moving the rectangle with an image zoom factor larger than 100%.
10527 2008-03-08 Sven Neumann <sven@gimp.org>
10529 Experimental attempt to gain a little more horizontal space for
10532 * app/widgets/gimptooloptionseditor.c: removed the shadow from the
10533 viewport and the border from the vbox.
10535 * app/widgets/gimpdockable.c: use a semibold label for the title.
10537 2008-03-08 Sven Neumann <sven@gimp.org>
10539 * app/tools/gimpflipoptions.c
10540 * app/tools/gimpmoveoptions.c
10541 * app/tools/gimpselectionoptions.c
10542 * app/tools/gimptransformoptions.c: don't add the label into the
10543 stock box, use an extra hbox with 2 pixels spacing.
10545 2008-03-08 Martin Nordholts <martinn@svn.gnome.org>
10547 * app/tools/gimppolygonselecttool.c: Don't draw the handle for a
10548 vertex while it is being moved.
10550 2008-03-08 Martin Nordholts <martinn@svn.gnome.org>
10552 * app/tools/gimprectangletool.c: Added TODO on how to improve the
10553 code by changing the way the rectangle is represented internally.
10555 2008-03-07 Sven Neumann <sven@gimp.org>
10557 * etc/controllerrc: changed default mouse-wheel bindings to act on
10558 the active tool instead of controlling the context.
10560 2008-03-07 Sven Neumann <sven@gimp.org>
10562 * app/display/gimpdisplayshell-preview.c: minor optimization.
10564 2008-03-06 Michael Natterer <mitch@gimp.org>
10566 * app/display/gimpdisplayshell-callbacks.c
10567 (gimp_display_shell_canvas_tool_events): minor formatting fixes.
10569 2008-03-06 Michael Natterer <mitch@gimp.org>
10571 * app/pdb/gimppdb-utils.[ch]: add gimp_pdb_get_vectors_stroke()
10572 which is a replacement for gimp_vectors_stroke_get_by_ID() and
10573 sets an error message if the stroke doesn't exist.
10575 * tools/pdbgen/pdb/vectors.pdb: use it.
10577 * app/pdb/vectors_cmds.c: regenerated.
10579 2008-03-06 Sven Neumann <sven@gimp.org>
10581 * app/actions/tools-actions.c
10582 * app/actions/tools-commands.[ch]
10583 * app/tools/gimptransformtool.c: allow to control the preview
10584 opacity by actions (defaults to < to > keys).
10586 2008-03-06 Sven Neumann <sven@gimp.org>
10588 * app/tools/gimptransformtool.c
10589 * app/tools/gimptransformoptions.[ch]
10590 * app/display/gimpdisplayshell-preview.c: take the preview opacity
10591 from the transform tool options. Based on a patch from Tom Lechner.
10592 Closes bug #520690.
10594 2008-03-06 Sven Neumann <sven@gimp.org>
10596 * app/display/gimpdisplayshell-preview.c: don't do the blending
10597 here, just apply the opacity on the pixbuf's alpha channel.
10599 2008-03-05 Sven Neumann <sven@gimp.org>
10601 * app/display/gimpdisplayshell-preview.c: applied a modified and
10602 further optimized version of the patch from Tom Lechner as
10603 attached to bug #167926. This makes the transform preview take
10604 the layer opacity into account. Needs some more work...
10606 2008-03-05 Sven Neumann <sven@gimp.org>
10608 * app/tools/gimptransformtool.[ch]: applied some unrelated
10609 cleanups from a patch from Tom Lechner (from bug #167926).
10611 2008-03-05 Michael Natterer <mitch@gimp.org>
10613 * app/display/gimpdisplayshell.h: changed PROJ_ROUND() macros to
10614 use RINT() so they work correctly with negative numbers.
10616 * app/tools/gimpdrawtool.c
10617 (gimp_draw_tool_draw_line)
10618 (gimp_draw_tool_draw_dashed_line)
10619 (gimp_draw_tool_draw_rectangle)
10620 (gimp_draw_tool_draw_arc)
10621 (gimp_draw_tool_draw_boundary): use floating-point coordinate
10622 transform functions again. These functions were changed to use
10623 integer transform functions in 2004 (!!) which broke sub-pixel
10624 precision drawing for stuff like straight-line and blend tool
10625 and also sub-pixel drawing of the brush outline.
10627 Should be backported to 2.4 after it has shown no ill effects in
10630 2008-03-04 Sven Neumann <sven@gimp.org>
10632 * app/actions/edit-commands.c (edit_copy_visible_cmd_callback)
10633 (edit_cut_cmd_callback): added statusbar messages informing the
10634 user that pixels have been transferred to the clipboard.
10636 2008-03-04 Sven Neumann <sven@gimp.org>
10638 * app/core/gimpdrawable-transform.c (gimp_drawable_transform_cut):
10639 clear the selection after cutting it as gimp_selection_extract()
10640 doesn't do this for us any longer. See bug #510534.
10642 2008-03-02 Sven Neumann <sven@gimp.org>
10644 * app/display/gimpdisplayshell-callbacks.c
10645 * app/display/gimpdisplayshell-coords.c
10646 (gimp_display_shell_eval_event): applied slightly modified patch
10647 from Alexia Death as attached to bug #508639.
10649 2008-03-01 Martin Nordholts <martinn@svn.gnome.org>
10651 * app/tools/gimppolygonselecttool.c
10652 (gimp_polygon_select_tool_draw): Only draw the grabbed point, not
10653 all points. Drawing all points adds unnecessary clutter to the
10655 (gimp_polygon_select_tool_select_closest_point): Handle drawing of
10658 2008-02-29 Michael Natterer <mitch@gimp.org>
10660 * app/gui/ige-mac-menu.[ch]: synced copies from upstream.
10662 2008-02-28 Michael Natterer <mitch@gimp.org>
10664 * app/core/gimpcurve.[ch]: get rid of fixed-size arrays and
10665 allocate the points and curve arrays dynamically. Added "n-points"
10666 and "n-samples" CONSTRUCT_ONLY properties. Renamed member "curve"
10667 to "samples". Lots of code changes to work with dynamic limits
10668 rather than 17 and 256.
10670 * app/core/gimpdrawable-curves.c
10671 * app/gegl/gimpcurvesconfig.c
10672 * app/tools/gimpcurvestool.c
10673 * app/widgets/gimpcurveview.c: changed accordingly.
10675 2008-02-28 Michael Natterer <mitch@gimp.org>
10677 * cursors/Makefile.am
10678 * cursors/gimp-tool-cursors.xcf
10679 * cursors/tool-polygon-select.png
10680 * cursors/xbm/tool-polygon-select.xbm
10681 * cursors/xbm/tool-polygon-select-mask.xbm
10682 * app/widgets/widgets-enums.h
10683 * app/widgets/gimpcursor.c: new cursor for polygon select.
10685 * app/tools/gimppolygonselecttool.c: use it.
10687 2008-02-27 Sven Neumann <sven@gimp.org>
10690 * configure.in: depend on GEGL 0.0.16 or newer.
10692 2008-02-27 Sven Neumann <sven@gimp.org>
10694 * app/core/gimpdrawable-transform.c (gimp_drawable_transform_affine):
10695 pass the direction parameter down to
10696 gimp_drawable_transform_tiles_affine() instead of hardcoding it to
10697 GIMP_TRANSFORM_FORWARD. Fixes bug #518910.
10699 2008-02-27 Sven Neumann <sven@gimp.org>
10701 * app/gui/gui-vtable.c (gui_display_create): added a sanity check
10702 which might help to catch the problem reported in bug #518905.
10704 2008-02-26 Sven Neumann <sven@gimp.org>
10706 * app/Makefile.am (gimp_2_5_LDFLAGS): don't assume that global
10707 AM_LDFLAGS and per-target LD_FLAGS would sum up and explicitly add
10708 AM_LDFLAGS to gimp_2_5_LDFLAGS.
10710 2008-02-26 Sven Neumann <sven@gimp.org>
10712 * plug-ins/print/print.h (struct PrintData): removed unused field.
10714 * plug-ins/print/print-page-layout.c: set a minimum size of 1/100
10717 2008-02-26 Michael Natterer <mitch@gimp.org>
10719 * app/tools/gimppolygonselecttool.c: draw handles at the corners
10720 and use the MOVE cursor modifier when we are moving them. Fix draw
10721 tool pause/resume in button_press() plus some minor cleanup.
10723 2008-02-26 Sven Neumann <sven@gimp.org>
10725 * plug-ins/print/print-page-layout.[ch]
10726 * plug-ins/print/print.c: pressing F1 on the "Image Settings" tab
10727 calls the GIMP help browser.
10729 2008-02-26 Sven Neumann <sven@gimp.org>
10731 * libgimpwidgets/gimpchainbutton.c: use a private inner class
10732 directly derived from GtkWidget for drawing the lines. This saves
10733 us two input windows.
10735 2008-02-26 Sven Neumann <sven@gimp.org>
10737 * plug-ins/print/print-preview.c: take the reading direction into
10738 account and do the right thing for RTL languages.
10740 2008-02-26 Kevin Cozens <kcozens@cvs.gnome.org>
10742 * plug-ins/script-fu/scripts/frosty-logo.scm: Commited slightly
10743 modified patch from LightningIsMyName. Fixes bug #472316. The
10744 appearance of the sparkle layer could be better.
10746 2008-02-26 Michael Natterer <mitch@gimp.org>
10748 * app/display/gimpdisplayshell-transform.[ch]
10749 (gimp_display_shell_transform_points)
10750 * app/tools/gimpdrawtool.[ch] (gimp_draw_tool_draw_lines): take
10751 arrays of GimpVector2 instead of arrays of gdouble to represent
10754 * app/display/gimpdisplayshell-draw.c
10755 * app/tools/gimppolygonselecttool.c
10756 * app/tools/gimpfreeselecttool.c: don't cast the GimpVector2 arrays
10757 to double arrays when passing them to above functions.
10759 * app/tools/gimpiscissorstool.c: create a temporary GimpVector2
10760 array instead of a temporary gdouble array.
10762 2008-02-26 Michael Natterer <mitch@gimp.org>
10764 * app/tools/gimppolygonselecttool.c: rename member num_points to
10765 n_points and various small cleanups all over the place.
10767 2008-02-26 Sven Neumann <sven@gimp.org>
10769 * configure.in: use AM_PROG_CC_C_O to fix warning with automake 1.10.
10770 Removed obsolete call to AM_PROG_CC_STDC.
10772 2008-02-26 Sven Neumann <sven@gimp.org>
10774 * app/version.c (gimp_show_library_version): made the library
10775 version information easier to translate.
10777 2008-02-26 Tor Lillqvist <tml@novell.com>
10779 * app/version.c (gimp_show_library_versions): Show also GEGL
10782 2008-02-26 Sven Neumann <sven@gimp.org>
10784 * plug-ins/print/print-preview.c: create a Cairo image surface
10785 from the data returned from gimp_drawable_get_thumbnail() instead
10786 of using an intermediate GdkPixbuf. This code should eventually
10787 end up in libgimpui.
10789 2008-02-26 Sven Neumann <sven@gimp.org>
10791 * docs/gimp.1.in: document the "--version --verbose" option.
10793 2008-02-26 Tor Lillqvist <tml@novell.com>
10795 * app/version.[ch]: New files. Rename gimp_show_version() to
10796 gimp_version_show() and move here. When given both --version and
10797 --verbose, print build-time and run-time versions of the most
10798 important dependencies.
10800 * app/Makefile.am: Add them.
10802 * app/main.c: Call gimp_version_show().
10804 * app/Makefile.am: Use -mwindows only for the GUI gimp, not for
10807 2008-02-26 Sven Neumann <sven@gimp.org>
10809 * plug-ins/print/print-preview.c
10810 * plug-ins/print/print-page-layout.c: let the preview widget
10811 allocate a reasonable size.
10813 2008-02-26 Sven Neumann <sven@gimp.org>
10815 * plug-ins/print/print-preview.c: use a different cursor when
10816 dragging, just like GimpScrolledPreview.
10818 2008-02-26 Sven Neumann <sven@gimp.org>
10820 * libgimpwidgets/gimpchainbutton.c: use event boxes without
10821 visible window instead of drawing areas for the lines besides the
10822 button. Fixes the background which was drawn wrongly for many
10825 2008-02-26 Sven Neumann <sven@gimp.org>
10827 * plug-ins/print/print-preview.[ch]: derive from GtkEventBox and
10828 draw on the parent window.
10830 * plug-ins/print/print-page-layout.c: tweaked dialog layout.
10832 2008-02-25 Sven Neumann <sven@gimp.org>
10834 * plug-ins/print/Makefile.am
10835 * plug-ins/print/print-utils.[ch]: added new files with utility
10838 * plug-ins/print/print-settings.c: use the new utility
10839 functions for loading and saving GKeyFile.
10841 * plug-ins/print/print-page-setup.[ch]
10842 * plug-ins/print/print.c: also store the page setup in an image
10843 parasite. Fixes most of what remained to be done for bug #513291.
10845 2008-02-25 Sven Neumann <sven@gimp.org>
10847 * plug-ins/print/print-settings.[ch]
10848 * plug-ins/print/print.c: code cleanup.
10850 2008-02-25 Sven Neumann <sven@gimp.org>
10852 * plug-ins/print/print.c (end_print): use g_timeout_add_seconds().
10854 2008-02-24 Sven Neumann <sven@gimp.org>
10856 * app/actions/edit-actions.c: removed default keyboard shortcuts
10857 from actions that work with named buffers. Use Ctrl-Shift-V as the
10858 default keyboard shortcut for "Paste As New Image" and
10859 Ctrl-Shift-C for "Copy Visible".
10861 2008-02-24 Sven Neumann <sven@gimp.org>
10863 * plug-ins/print/print.c (print_image): added missing call to
10864 gtk_print_operation_set_unit().
10866 2008-02-22 Sven Neumann <sven@gimp.org>
10868 * plug-ins/print/print.c: use GTK_STOCK_PAGE_SETUP when compiled
10869 against GTK+ >= 2.13.0.
10871 2008-02-22 Sven Neumann <sven@gimp.org>
10873 * plug-ins/print/print-draw-page.c: added support for grayscale
10874 images so we don't need to go through an extra export step.
10876 2008-02-22 Sven Neumann <sven@gimp.org>
10878 * plug-ins/print/print.c
10879 * plug-ins/print/print-draw-page.[ch]: code cleanup.
10881 2008-02-22 Sven Neumann <sven@gimp.org>
10883 * plug-ins/common/tileit.c
10884 * plug-ins/common/warp.c
10885 * plug-ins/common/struc.c: fixed the same problem as in the Wind
10886 plug-in here as well (see bug #516369).
10888 2008-02-22 Sven Neumann <sven@gimp.org>
10890 * plug-ins/print/print-draw-page.c (draw_page_cairo): when
10891 printing an image with alpha channel, use a Cairo surface with
10892 alpha channel instead of doing a blend on a white background.
10894 2008-02-22 Sven Neumann <sven@gimp.org>
10896 * plug-ins/print/print-draw-page.c (draw_page_cairo): access the
10897 pixels tile-by-tile instead of row-by-row.
10899 2008-02-22 Sven Neumann <sven@gimp.org>
10901 * plug-ins/common/wind.c (render_wind) (render_blast): fixed calls
10902 to gimp_drawable_mask_intersect() which was causing a crash as
10903 reported in bug #516369.
10905 2008-02-21 Michael Natterer <mitch@gimp.org>
10907 * app/actions/plug-in-actions.c (plug_in_actions_history_changed):
10908 don't call plug_in_actions_update() because that updated the
10909 sensitivity of *all* plug-in actions according to the properties
10910 of the *current* image. Instead, look up the original GtkAction of
10911 the history items of *this* action group and copy the sensitivity
10912 from that action. Fixes bug #517683.
10914 2008-02-21 Sven Neumann <sven@gimp.org>
10916 * tools/pdbgen/app.pl (marshal_outargs): insert a missing newline
10917 for procedures without additional return values.
10919 * tools/pdbgen/pdb/display.pdb: cosmetics.
10921 * app/pdb/brushes_cmds.c
10922 * app/pdb/context_cmds.c
10923 * app/pdb/display_cmds.c
10924 * app/pdb/fonts_cmds.c
10925 * app/pdb/gradients_cmds.c
10926 * app/pdb/palettes_cmds.c
10927 * app/pdb/patterns_cmds.c: regenerated.
10929 2008-02-21 Sven Neumann <sven@gimp.org>
10931 * plug-ins/print/print-preview.[ch]: code cleanup.
10933 2008-02-21 Sven Neumann <sven@gimp.org>
10935 * plug-ins/print/print-preview.[ch]: provide feedback when hovering
10938 2008-02-21 Sven Neumann <sven@gimp.org>
10940 * plug-ins/print/print-preview.c (gimp_print_preview_expose_event):
10941 changed drawing so that strokes are not scaled.
10943 2008-02-20 Michael Natterer <mitch@gimp.org>
10945 * app/core/gimpcurve.c: add precondition checks.
10947 * app/core/gimpdrawable-curves.c (gimp_drawable_curves_spline):
10948 divide values by 255 before setting them on the curve. Fixes crash
10949 when using curves from the PDB.
10951 2008-02-19 Sven Neumann <sven@gimp.org>
10953 * plug-ins/print/print-preview.c (gimp_print_preview_expose_event):
10954 code cleanup. Always draw the preview.
10956 2008-02-19 Bill Skaggs <weskaggs@primate.ucdavis.edu>
10958 * plug-ins/jpeg/jpeg-exif.c: correctly record dimensions when
10959 saving an image. Fixes bug #517077.
10961 2008-02-19 Sven Neumann <sven@gimp.org>
10966 * app/gui/gui.c: use G_STRFUNC instead of hardcoding the function
10967 name in verbose output.
10969 2008-02-19 Sven Neumann <sven@gimp.org>
10971 * plug-ins/script-fu/scripts/glossy.scm: actually use the "Default
10972 Bumpmap Settings" parameter. Problem spotted by Ulf-D. Ehlert.
10974 2008-02-19 Sven Neumann <sven@gimp.org>
10976 * plug-ins/script-fu/scripts/glossy.scm: applied patch from
10977 Ulf-D. Ehlert that fixes a bug in the Glossy script when used with
10978 a pattern instead of a gradient blend (bug #517285).
10980 2008-02-19 Manish Singh <yosh@gimp.org>
10982 * plug-ins/pygimp/gimpmodule.c: add gimp.exit(), a wrapper around
10983 the PDB function gimp-quit.
10985 2008-02-18 Sven Neumann <sven@gimp.org>
10987 * app/batch.c (batch_exit_after_callback): synced cleanup
10988 procedure with app_exit_after_callback() and documented its purpose.
10990 2008-02-18 Michael Natterer <mitch@gimp.org>
10992 * app/tools/gimpgegltool.c (gimp_gegl_tool_config_get_property):
10993 clean up generic property handling of generated settings classes.
10995 2008-02-18 Michael Natterer <mitch@gimp.org>
10997 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_initialize):
10998 don't create the recent settings menu if the tool did not set a
11001 * app/tools/gimpgegltool.[ch]: pack the operation's settings in a
11002 frame and add a label when there is no operation selected.
11004 2008-02-16 Michael Natterer <mitch@gimp.org>
11006 * app/display/gimpdisplayshell-callbacks.c
11007 * app/tools/gimpforegroundselecttool.c
11008 * app/tools/gimpimagemaptool.c
11009 * app/tools/gimpiscissorstool.c
11010 * app/tools/gimppolygonselecttool.c
11011 * app/tools/gimprectangletool.c
11012 * app/tools/gimptransformtool.c
11013 * app/tools/gimpvectortool.c
11014 * app/widgets/gimpcontainerpopup.c
11015 * app/widgets/gimppaletteview.c
11016 * libgimpwidgets/gimpcolorhexentry.c
11017 * libgimpwidgets/gimpnumberpairentry.c
11018 * plug-ins/script-fu/script-fu-console.c: Unify the handling of
11019 various "Enter" and "Space" keysyms all over the place. Fixes bug
11020 #516544 (also see gtk bug #515047).
11022 2008-02-15 Kevin Cozens <kcozens@cvs.gnome.org>
11024 * configure.in: Adding a ; to the end of the list of mime types in
11025 the gimp.desktop file. Fixes 'make dist'.
11027 2008-02-14 Michael Natterer <mitch@gimp.org>
11029 * libgimpwidgets/Makefile.am
11030 * libgimpwidgets/gimpscaleentry.[ch]: cleanup.
11032 2008-02-14 Bill Skaggs <weskaggs@primate.ucdavis.edu>
11034 Merged from weskaggs branch at Mitch's request. Will
11035 need to update devel docs.
11037 Place scale entry code into separate files, no
11038 functional changes.
11040 * libgimpwidgets/gimpscaleentry.c
11041 * libgimpwidgets/gimpscaleentry.h: new files.
11043 * libgimpwidgets/gimpwidgets.[ch]
11044 * libgimpwidgets/Makefile.am: changed accordingly.
11046 2008-02-14 Sven Neumann <sven@gimp.org>
11048 * app/text/gimpfont.c (gimp_font_get_sample_string): check if the
11049 font has the glyphs from the sample string. Fixes bug #514021.
11051 2008-02-13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
11053 * plug-ins/common/vpropagate.c: change "darker" to "lighter"
11054 in blurb, in response to comment #24 in bug #156545.
11056 2008-02-13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
11058 * app/widgets/gimpcolormapeditor.c: change wording of new
11059 hint for non-indexed images.
11061 2008-02-12 Michael Natterer <mitch@gimp.org>
11063 * app/gegl/gimpoperationcolorbalance.c
11064 * app/gegl/gimpoperationcolorize.c
11065 * app/gegl/gimpoperationcurves.c
11066 * app/gegl/gimpoperationdesaturate.c
11067 * app/gegl/gimpoperationhuesaturation.c
11068 * app/gegl/gimpoperationlevels.c
11069 * app/gegl/gimpoperationposterize.c
11070 * app/gegl/gimpoperationthreshold.c
11071 * app/gegl/gimpoperationtilesink.c
11072 * app/gegl/gimpoperationtilesource.c: added categories and very
11073 lame descriptions. Dunno if the categories are good that way but
11074 at least they are not NULL now.
11076 2008-02-12 Sven Neumann <sven@gimp.org>
11078 * app/widgets/gimpcolormapeditor.[ch]: show a hint on non-indexed
11079 images. Based on a patch from Olof Frahm. Closes bug #438217.
11081 2008-02-12 Sven Neumann <sven@gimp.org>
11083 * plug-ins/gfli/fli.c: applied patch from David Capello that fixes
11084 loading of fli files that specify width and height as zero
11085 (interpreting this as 320x200). It also fixes a problem in an
11086 unused code path (writing of differential color chunks).
11088 2008-02-12 Sven Neumann <sven@gimp.org>
11090 * app/widgets/gimplanguagestore-parser.c: inverted logic; #ifdef
11091 is IMO easier to read than #ifndef.
11093 2008-02-12 Tor Lillqvist <tml@novell.com>
11095 * app/widgets/gimplanguagestore-parser.c
11096 (gimp_language_store_populate): Don't use the compile-time paths
11097 to iso-codes on Windows. Instead assume iso-codes is installed in
11098 the same location as GIMP. Make sure translated language names are
11099 in UTF-8 by calling bind_textdomain_codeset().
11101 2008-02-11 Sven Neumann <sven@gimp.org>
11103 * app/widgets/Makefile.am
11104 * app/widgets/widgets-types.h
11105 * app/widgets/gimplanguageentry.[ch]
11106 * app/widgets/gimptexteditor.c: turned language entry into a widget.
11108 2008-02-11 Michael Natterer <mitch@gimp.org>
11110 * app/widgets/gimptexteditor.c (gimp_text_editor_new): enable
11111 wrapping so the text doesn't scroll out horizontally.
11113 2008-02-11 Sven Neumann <sven@gimp.org>
11115 * plug-ins/pygimp/plug-ins/pyconsole.py: formatting.
11117 2008-02-11 Michael Natterer <mitch@gimp.org>
11119 * app/core/gimpcurve.[ch]: add gimp_curve_get_point().
11121 * app/gegl/gimpcurvesconfig.c
11122 * app/widgets/gimpcurveview.c: use it instead of accessing the
11123 points array directly.
11125 2008-02-11 Sven Neumann <sven@gimp.org>
11127 * libgimpthumb/Makefile.am (libgimpthumb_2_0_la_LIBADD):
11128 explicitly added GLIB_LIBS. Fixes bug #515566.
11130 2008-02-11 Øyvind Kolås <pippin@gimp.org>
11132 * app/gegl/gimpoperationtilesource.c: context_id argument was
11133 removed from the process() call of GeglOperationSource.
11135 2008-02-10 Michael Natterer <mitch@gimp.org>
11137 * app/widgets/gimpeditor.c: add button-relief style property which
11140 2008-02-10 Bill Skaggs <weskaggs@primate.ucdavis.edu>
11142 * app/widgets/gimpeditor.c: draw editor buttons without
11143 relief, see bug #515621.
11145 2008-02-09 Bill Skaggs <weskaggs@primate.ucdavis.edu>
11147 * plug-ins/common/ripple.c: add a "phase shift" control,
11148 for interactive use only. Fixes bug #515144.
11150 2008-02-09 Michael Natterer <mitch@gimp.org>
11152 * tools/pdbgen/pdb/color.pdb: don't include <gegl.h>
11154 * app/pdb/color_cmds.c: regenerated.
11156 2008-02-09 Øyvind Kolås <pippin@gimp.org>
11158 * app/gegl/gimpoperationtilesource.c:
11159 %s/get_defined_region/get_bounding_box/
11160 %s/adjust_result_region/get_cached_region/
11162 2008-02-09 Michael Natterer <mitch@gimp.org>
11164 * app/core/gimpcurve.[ch]: keep the anchor points as an array of
11165 GimpVector2 instead of plain doubles.
11167 * app/gegl/gimpcurvesconfig.c
11168 * app/widgets/gimpcurveview.c: changed accordingly.
11170 2008-02-09 Michael Natterer <mitch@gimp.org>
11172 * app/widgets/gimpcurveview.c (gimp_curve_view_draw_point): cleanup.
11174 2008-02-09 Michael Natterer <mitch@gimp.org>
11176 * app/widgets/gimpcurveview.[ch]: port internal cursor stuff to
11177 gdouble, fix off-by-one in curve drawing, fix drawing artefact in
11178 handle drawing by starting drawing on the handle's outline and not
11181 2008-02-09 Michael Natterer <mitch@gimp.org>
11183 * app/widgets/gimpcurveview.[ch]: port the "xpos" API
11184 to [0.0..1.0] doubles too.
11186 * app/tools/gimpcurvestool.[ch]: rename "col_value" member to
11187 "picked_color" and use gdouble instead of gint. Also use GimpCurve
11188 API to map the values instead of accessing the curve directly.
11189 Fixes setting curve anchor points by color picking.
11191 2008-02-09 Michael Natterer <mitch@gimp.org>
11193 * app/core/gimpcurve.[ch]: changed all values to be [0.0..1.0]
11194 doubles instead of [0..255] integers. Also changed the API to use
11195 doubles instead of ints. Still have the fixed-size arrays though.
11197 (gimp_curve_map): new function to map values.
11199 * app/gegl/gimpoperationcurves.c: remove private map() function
11200 and use the one from GimpCurve.
11202 * app/gegl/gimpcurvesconfig.c
11203 * app/core/gimpdrawable-curves.c: port to the new gdouble API.
11205 * app/tools/gimpcurvestool.c: use gimp_curve_get_uchar() to get
11206 the arrays for the color bars.
11208 * app/widgets/gimpcurveview.[ch]: port to gdouble and some cleanup.
11210 2008-02-08 Sven Neumann <sven@gimp.org>
11212 * app/widgets/gimptexteditor.c: use an entry with completion for
11213 language selection. Still not functional.
11215 2008-02-08 Sven Neumann <sven@gimp.org>
11217 * app/widgets/gimplanguagestore.[ch]
11218 * app/widgets/gimplanguagestore-parser.c: actually populate the
11219 language store. Still work in progress...
11221 * app/widgets/gimptexteditor.c: added a combo-box for language
11222 selection. Not functional yet; just something to play with.
11224 2008-02-08 Sven Neumann <sven@gimp.org>
11226 * app/widgets/gimplanguagestore-parser.c: implemented the parser.
11228 * app/dialogs/tips-parser.c: minor cleanup.
11230 2008-02-08 Tor Lillqvist <tml@novell.com>
11232 * libgimpconfig/gimpconfig.def: Add gimp_config_copy.
11234 2008-02-07 Michael Natterer <mitch@gimp.org>
11236 * tools/pdbgen/app.pl: add some perl evilness to make the includes
11237 in the generated files look almost like they should.
11239 * tools/pdbgen/pdb/*.pdb: remove inclusion of "core/gimp.h" where
11240 not needed, clean up lists of includes and functions and reorder
11241 some functions to make more sense. Zero logic changed.
11244 * libgimp/gimpcontext_pdb.[ch]
11245 * libgimp/gimpbrush_pdb.[ch]: regenerated.
11247 2008-02-07 Sven Neumann <sven@gimp.org>
11249 * configure.in: added configure checks for the iso-codes package.
11251 * app/widgets/Makefile.am
11252 * app/widgets/widgets-types.h
11253 * app/widgets/gimplanguagestore.[ch]:
11254 * app/widgets/gimplanguagestore-parser.[ch]: added rough outline
11255 of GtkListStore for language selection.
11257 2008-02-07 Michael Natterer <mitch@gimp.org>
11259 * app/base/base-utils.[ch]: add get_pid() which returns getpid().
11262 * app/base/tile-swap.c
11263 * app/core/gimp-utils.c
11264 * app/plug-in/gimppluginshm.c
11265 * app/widgets/gimpselectiondata.c
11266 * tools/pdbgen/pdb/misc.pdb: use it instead of getpid() and remove
11267 all the #ifdef'ed includes getpid() needs.
11269 * tools/pdbgen/app.pl: remove support for these includes. Also
11270 remove some perl cruft in the include handling which is not needed
11273 * app/pdb/misc_cmds.c: regenerated.
11275 2008-02-07 Michael Natterer <mitch@gimp.org>
11277 * app/app.c: #include <gegl.h> instead of <glib-object.h>
11279 2008-02-07 Sven Neumann <sven@gimp.org>
11281 * app/text/gimptext-parasite.c: formatting.
11283 2008-02-06 Michael Natterer <mitch@gimp.org>
11285 * app/tools/gimpgegltool.c (gimp_param_spec_duplicate)
11286 * app/widgets/gimppropwidgets.c (gimp_prop_table_new): add support
11287 for GParamSpecEnum.
11289 * app/core/gimpimagemap.c (gimp_image_map_apply): add even better
11290 checks for input and output pads of the passed operation.
11292 2008-02-06 Michael Natterer <mitch@gimp.org>
11294 * app/paint/gimpclone.c
11295 * app/paint/gimpheal.c
11296 * app/paint/gimpink.c
11297 * app/widgets/gimphistogrameditor.c: remove includes that are
11298 not needed any longer.
11300 2008-02-06 Michael Natterer <mitch@gimp.org>
11302 * app/gegl/gimpoperationposterize.c
11303 * app/gegl/gimpoperationhuesaturation.c (process): don't crash if
11304 there is no config object.
11306 2008-02-06 Michael Natterer <mitch@gimp.org>
11308 * app/core/gimpimagemap.c (gimp_image_map_apply): when using a
11309 source operation, blend its output over the original image using
11310 "over" instead of simply replacing the original image.
11312 2008-02-06 Michael Natterer <mitch@gimp.org>
11314 * app/tools/gimpgegltool.c (gimp_param_spec_duplicate)
11315 * app/widgets/gimppropwidgets.c (gimp_prop_table_new): support
11316 multiline text and file paths. The multiline support is hacked up
11317 and needs some proper solution.
11319 2008-02-05 Michael Natterer <mitch@gimp.org>
11321 * app/tools/gimpgegltool.c: don't include <gegl-plugin.h> any longer.
11323 2008-02-05 Michael Natterer <mitch@gimp.org>
11325 * app/widgets/gimppropwidgets.c (gimp_prop_table_new): don't forget
11326 the label for entry widgets.
11328 2008-02-05 Martin Nordholts <martinn@svn.gnome.org>
11330 Applied patch from Olof Frahm which makes loading of data
11331 files (brushes and so on) happen recursively (bug #514160).
11333 * app/core/gimpdatafactory.c
11334 (gimp_data_factory_data_load): Recursively search sub directories
11335 for data files using the new helper function
11336 (gimp_data_factory_load_data_recursive)
11338 2008-02-05 Sven Neumann <sven@gimp.org>
11340 * app/tools/gimpgegltool.c: spelling fix.
11342 2008-02-05 Michael Natterer <mitch@gimp.org>
11344 * app/core/gimpimagemap.c (gimp_image_map_apply): use
11345 gegl_node_get_pad() instead of gegl_node_find_property() to find
11346 out whether the node has an "input" pad.
11348 * app/tools/gimpgegltool.c: #include "core/gimpimagemap.h"
11350 2008-02-05 Sven Neumann <sven@gimp.org>
11352 * themes/Default/images/stock-gegl-24.png
11353 * themes/Default/images/stock-gegl-16.png: replaced placeholder
11354 icon by a crappy drawing of a genetically engineered goat, large.
11356 2008-02-05 Michael Natterer <mitch@gimp.org>
11358 * app/core/gimpimagemap.c (gimp_image_map_apply): do the right
11359 thing for operations without "input" pad so we can use all source
11362 * app/tools/gimpimagemaptool.[ch]: make
11363 gimp_image_map_tool_create_map() public for the time being.
11365 * app/tools/gimpgegltool.c (gimp_gegl_tool_operation_changed):
11366 recreate the GimpImageMap so we can switch from filter to source
11367 operations and back.
11369 2008-02-05 Michael Natterer <mitch@gimp.org>
11371 * app/widgets/gimppropwidgets.[ch] (gimp_prop_table_new): new
11372 function which creates a table of prop widgets for all properties
11373 of an object (pretty incomplete, does exactly what's needed in
11374 GimpGeglTool, or even less).
11376 * app/tools/gimpgegltool.c: create a proxy config class for each
11377 GegĺOperation and create a prop table on the config class'
11378 properties as GUI for the GEGL operation. Write the proxy object's
11379 properties back to the GeglNode in map().
11381 2008-02-05 Sven Neumann <sven@gimp.org>
11383 * app/display/gimpdisplayshell-transform.c: changed coordinate
11384 transformation for floats. Fixes bug #510294.
11386 2008-02-05 Sven Neumann <sven@gimp.org>
11388 * app/dialogs/image-new-dialog.c (image_new_create_image):
11389 use the user context when creating the new image. Fixes bug #514082.
11391 2008-02-05 Sven Neumann <sven@gimp.org>
11393 * plug-ins/common/mail.c: simplified code and user interface by
11394 removing the uuencode option and the comment field which only
11395 duplicated the message body.
11396 (to64): fixed a bug in the base64 encoding.
11398 2008-02-05 Sven Neumann <sven@gimp.org>
11400 * plug-ins/common/mail.c: changed menu label and dialog title to
11403 2008-02-05 Sven Neumann <sven@gimp.org>
11405 * plug-ins/print/print.c: removed ellipsis from "Page Setup" menu
11406 entry as specified in the HIG.
11408 2008-02-05 Michael Natterer <mitch@gimp.org>
11410 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_response): don't
11411 try to add a NULL config to the recent settings menu.
11413 2008-02-05 Michael Natterer <mitch@gimp.org>
11415 * themes/Default/images/Makefile.am
11416 * themes/Default/images/stock-gegl-16.png
11417 * themes/Default/images/stock-gegl-24.png
11418 * libgimpwidgets/gimpstock.[ch]: new stock icon to be replaced by
11419 somebody who can draw ;)
11421 * app/tools/gimpgegltool.c: use it.
11423 2008-02-05 Michael Natterer <mitch@gimp.org>
11425 * app/tools/Makefile.am
11426 * app/tools/gimpgegltool.[ch]: add experimental GEGL tool which
11427 will allow to try arbitrary GEGL operations. 100% unusable at the
11430 * app/tools/gimp-tools.c: register it.
11432 * app/dialogs/dialogs.c: register its dialog.
11434 * menus/image-menu.xml.in: add it to the tools menu.
11436 2008-02-05 Sven Neumann <sven@gimp.org>
11438 * plug-ins/common/psd-save.c (write_pixel_data): check if drawable
11439 is a layer before trying to access the layer mask.
11441 2008-02-04 Sven Neumann <sven@gimp.org>
11443 * app/display/gimpdisplayshell-preview.c
11444 (gimp_display_shell_trace_tri_edge): use a gint for direction, not
11445 a gchar which might be unsigned. Patch from Giuliano Pochini;
11448 2008-02-04 Sven Neumann <sven@gimp.org>
11450 * plug-ins/print/print-page-layout.c: only connect to page layout
11451 changes for the lifetime of the dialog.
11453 * plug-ins/print/print-page-setup.[ch]
11454 * plug-ins/print/print.c: use a temporary procedure to notify the
11455 Print procedure about changes to the page setup.
11457 2008-02-04 Michael Natterer <mitch@gimp.org>
11459 * app/base/gimphistogram.[ch]: add refcounting and replace free()
11460 API by ref() and unref().
11462 * app/core/gimpdrawable-equalize.c
11463 * app/core/gimpdrawable-levels.c
11464 * app/widgets/gimphistogrameditor.c
11465 * tools/pdbgen/pdb/color.pdb: replace calls to
11466 gimp_histogram_free() by gimp_histogram_unref().
11468 * app/pdb/color_cmds.c: regenerated.
11470 * app/widgets/gimphistogramview.c: reference the histograms so we
11471 don't need the widget's users to keep them around while the widget
11474 * app/tools/gimpcurvestool.[ch]: remove the histogram from the
11475 tool struct and just create one locally to set it on the histogram
11480 * app/tools/gimplevelstool.[ch]
11481 * app/tools/gimpthresholdtool.[ch]: renamed "hist" members to
11482 "histogram" plus some cleanup.
11484 2008-02-04 Michael Natterer <mitch@gimp.org>
11486 * plug-ins/script-fu/script-fu.c: rename "Script-Fu Console" menu
11487 item to simply "Console".
11489 2008-02-04 Michael Natterer <mitch@gimp.org>
11491 * app/pdb/gimppdb-utils.[ch]: add gimp_pdb_item_is_attached()
11492 which is a replacement for gimp_item_is_attached() and returns a
11493 proper error message.
11495 * tools/pdbgen/pdb/color.pdb
11496 * tools/pdbgen/pdb/drawable.pdb
11497 * tools/pdbgen/pdb/drawable_transform.pdb
11498 * tools/pdbgen/pdb/edit.pdb
11499 * tools/pdbgen/pdb/floating_sel.pdb
11500 * tools/pdbgen/pdb/layer.pdb
11501 * tools/pdbgen/pdb/paint_tools.pdb
11502 * tools/pdbgen/pdb/selection.pdb
11503 * tools/pdbgen/pdb/text_tool.pdb
11504 * tools/pdbgen/pdb/transform_tools.pdb: use it.
11506 * app/pdb/color_cmds.c
11507 * app/pdb/drawable_cmds.c
11508 * app/pdb/drawable_transform_cmds.c
11509 * app/pdb/edit_cmds.c
11510 * app/pdb/floating_sel_cmds.c
11511 * app/pdb/layer_cmds.c
11512 * app/pdb/paint_tools_cmds.c
11513 * app/pdb/selection_cmds.c
11514 * app/pdb/text_tool_cmds.c
11515 * app/pdb/transform_tools_cmds.c: regenerated.
11517 2008-02-04 Sven Neumann <sven@gimp.org>
11519 * plug-ins/print/Makefile.am
11520 * plug-ins/print/print-page-setup.[ch]: new files.
11522 * plug-ins/print/print-page-layout.c
11523 * plug-ins/print/print-settings.c
11524 * plug-ins/print/print.c: first draft of a Page Setup menu entry
11525 instead of the "Adjust Page Size" button (bug #513291).
11527 * plug-ins/print/print.h
11528 * plug-ins/print/print-draw-page.c: removed unused code.
11530 2008-02-04 Sven Neumann <sven@gimp.org>
11532 * app/paint/gimpbrushcore.c (gimp_brush_core_create_bound_segs):
11533 changed workaround to look at the brush size instead (bug #514309).
11535 2008-02-04 Michael Natterer <mitch@gimp.org>
11537 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_add_recent):
11538 use localtime() instead of localtime_r() and don't use %F in
11539 strftime(). Fixes bug #513966.
11541 2008-02-04 Michael Natterer <mitch@gimp.org>
11543 * app/core/Makefile.am
11544 * app/core/gimpdrawable-brightness-contrast.[ch]
11545 * app/core/gimpdrawable-color-balance.[ch]
11546 * app/core/gimpdrawable-colorize.[ch]
11547 * app/core/gimpdrawable-curves.[ch]
11548 * app/core/gimpdrawable-hue-saturation.[ch]
11549 * app/core/gimpdrawable-posterize.[ch]
11550 * app/core/gimpdrawable-threshold.[ch]: new files containing all
11551 the code that was in pdb/color_cmds.c. Cleaned up and GEGL-enabled
11554 * tools/pdbgen/pdb/color.pdb: remove almost all code and simply call
11557 * app/pdb/color_cmds.c: regenerated.
11559 2008-02-04 Sven Neumann <sven@gimp.org>
11561 * app/paint/gimpbrushcore.c (gimp_brush_core_create_bound_segs):
11562 only smooth the inner area of the mask so that we don't enlarge
11563 the boundary for hard brushes (bug #304798).
11565 2008-02-04 Michael Natterer <mitch@gimp.org>
11567 * app/tools/gimplevelstool.[ch]
11568 * app/tools/gimpcurvestool.[ch]: remove boolean "color" and "alpha"
11569 members from the tool structs and ask the drawable instead when
11572 2008-02-04 Michael Natterer <mitch@gimp.org>
11574 * app/gegl/gimpthresholdconfig.[ch]: add "gboolean color"
11575 parameter to gimp_threshold_config_to_cruft() and set the "color"
11576 boolean in the Threshold cruft struct.
11578 * app/tools/gimpthresholdtool.c: don't fiddle with the cruft
11579 struct any longer and pass gimp_drawable_is_rgb() to above
11582 2008-02-02 Martin Nordholts <martinn@svn.gnome.org>
11584 * INSTALL: Update GEGL dependency to GEGL trunk.
11586 2008-02-02 Martin Nordholts <martinn@svn.gnome.org>
11588 * app/tools/gimppolygonselecttool.c
11589 (gimp_polygon_select_tool_commit): Only create a selection from
11590 the polygon if there are 3 or more vertices.
11592 2008-02-02 Martin Nordholts <martinn@svn.gnome.org>
11594 * app/tools/gimppolygonselecttool.c
11595 (gimp_polygon_select_tool_oper_update): Don't hide the pending
11596 point line if we are grabbing the first point.
11597 (gimp_polygon_select_tool_motion): Also update the pending point
11598 if we are moving the first point.
11600 2008-02-02 Martin Nordholts <martinn@svn.gnome.org>
11602 * app/tools/gimppolygonselecttool.c
11603 (gimp_polygon_select_tool_remove_last): Properly halt the tool
11604 when there are no vertices left.
11606 2008-02-02 Martin Nordholts <martinn@svn.gnome.org>
11608 * app/tools/gimppolygonselecttool.c
11609 (gimp_polygon_select_tool_commit): Add a call to
11610 gimp_image_flush() so that the undo state gets updated.
11612 2008-02-01 Martin Nordholts <martinn@svn.gnome.org>
11614 * themes/Default/images/tools/stock-tool-polygon-select-22.png:
11615 Lower opacity of shadow to mimic appearance of other tool icons.
11617 2008-02-01 Michael Natterer <mitch@gimp.org>
11619 * app/tools/gimpcurvestool.c: fix various curves tool brokenness.
11620 Should behave (TM) now.
11622 2008-02-01 Michael Natterer <mitch@gimp.org>
11624 * app/core/core-types.h
11625 * app/gegl/gegl-types.h: have app/gegl know app/core's namespace.
11627 * app/gegl/gimpoperationcurves.h: remove temp hack includes.
11629 * app/gegl/gimpoperationcurves.c: include "core/gimpcurve.h"
11631 * app/gegl/gimpbrightnesscontrastconfig.[ch]
11632 * app/gegl/gimpcolorbalanceconfig.[ch]
11633 * app/gegl/gimpcolorizeconfig.[ch]
11634 * app/gegl/gimpcurvesconfig.[ch]
11635 * app/gegl/gimphuesaturationconfig.[ch]
11636 * app/gegl/gimplevelsconfig.[ch]
11637 * app/gegl/gimpoperationcurves.[ch]
11638 * app/gegl/gimpposterizeconfig.[ch]
11639 * app/gegl/gimpthresholdconfig.[ch]: derive from GimpViewable, install
11640 properties using the GimpConfig macros, add implementations of
11641 GimpConfigInterface::equal() and ::copy() where needed.
11643 * app/tools/gimpimagemaptool.[ch]: add prototype of a menu of
11644 recently used settings so the same color correction can easily be
11645 applied to many images.
11647 2008-02-01 Michael Natterer <mitch@gimp.org>
11649 * app/widgets/gimpcontainerview.c
11650 (gimp_container_view_set_container): refuse containers if their
11651 children are not GimpViewables instead of crashing later.
11653 2008-02-01 Michael Natterer <mitch@gimp.org>
11655 * app/tools/gimppolygonselecttool.h: fix include guards.
11657 2008-02-01 Michael Natterer <mitch@gimp.org>
11659 * libgimpconfig/gimpconfig-iface.[ch]: add new method
11660 GimpConfigInterface::copy() which by default calls
11661 gimp_config_sync() but is overridable for objects which are not
11662 entirely property-defined or otherwise evil.
11664 Freeze/thaw property notifications in deserialize() and reset().
11666 * libgimpconfig/gimpconfig-utils.c (gimp_config_sync): freeze/thaw
11667 property notifications on the dest object.
11669 2008-02-01 Sven Neumann <sven@gimp.org>
11671 * plug-ins/print/print.c: some minor cleanups and preparation for
11672 adding a dedicated Page Setup menu entry (bug #513291).
11674 2008-01-31 Sven Neumann <sven@gimp.org>
11676 * plug-ins/common/mail.c: string change.
11678 2008-01-31 Sven Neumann <sven@gimp.org>
11680 Delay GEGL initialisation until after the command-line parsing so
11681 that we can detect an already running GIMP instance and delegate
11682 to that without going through the GEGL and babl initialisation.
11684 * app/app.c (app_libs_init): don't add the GEGL options group
11685 here. GEGL doesn't add any command-line options and it doesn't
11686 look as if it would do that anytime soon.
11688 * app/gegl/gimp-gegl.c (gimp_gegl_init): initialize GEGL here.
11690 2008-01-31 Sven Neumann <sven@gimp.org>
11692 * plug-ins/common/iwarp.c: choose a better tile cache size.
11694 2008-01-31 Martin Nordholts <martinn@svn.gnome.org>
11696 * app/tools/gimppolygonselecttool.[ch]: Code formating overhaul.
11698 2008-01-31 Martin Nordholts <martinn@svn.gnome.org>
11700 * app/tools/gimppolygonselecttool.[ch]: Made object instance
11701 struct definition completely a private implementation detail.
11703 2008-01-31 Martin Nordholts <martinn@svn.gnome.org>
11705 * app/tools/gimppolygonselecttool.c
11706 (gimp_polygon_select_tool_real_select): Correct undo description.
11708 2008-01-30 Martin Nordholts <martinn@svn.gnome.org>
11710 Added a Polygon Select Tool which is a primitive selection tool
11711 based on Free Select Tool. Code filtered through David Gowers who
11712 also made the tool icon. This version of the tool is a for-now
11713 solution to bug #119646.
11715 * app/tools/gimppolygonselecttool.[ch]: The new tool.
11717 * app/tools/gimp-tools.c: Add the tool.
11719 * app/tools/Makefile.am: Add tool source.
11721 * app/widgets/gimphelp-ids.h: Add help id for the tool.
11723 * libgimpwidgets/gimpstock.[ch]: Setup for the new tool icon.
11725 * menus/image-menu.xml.in: Add action entry for the tool.
11727 * themes/Default/images/tools/stock-tool-polygon-select-{16,22}.png:
11728 Tool icon graphics.
11730 * themes/Default/images/Makefile.am: Add tool icon graphics.
11732 2008-01-30 Michael Natterer <mitch@gimp.org>
11734 * app/tools/gimpimagemaptool.[ch]: add "GObject **config" return
11735 value to GimpImageMapTool::get_operation() and memory-manage the
11736 config object here.
11738 Add default implementation of GimpImageMapTool::reset() which
11739 calls gimp_config_reset() on the config object.
11741 * app/tools/gimpbrightnesscontrasttool.c
11742 * app/tools/gimpcolorbalancetool.c
11743 * app/tools/gimpcolorizetool.c
11744 * app/tools/gimpcurvestool.c
11745 * app/tools/gimphuesaturationtool.c
11746 * app/tools/gimplevelstool.c
11747 * app/tools/gimpposterizetool.c
11748 * app/tools/gimpthresholdtool.c: return the config object in
11749 get_operation() and don't unref it in finalize().
11751 Connect to the config object's "notify" signal and update the GUI
11752 in the callback. Also call gimp_image_map_tool_preview() there.
11753 Removed all other GUI update functions and all calls to preview().
11755 Removed reset() implementations which only called
11756 gimp_config_reset().
11758 2008-01-30 Michael Natterer <mitch@gimp.org>
11760 * app/widgets/gimphistogramview.c
11761 (gimp_histogram_view_set_channel)
11762 (gimp_histogram_view_set_scale)
11763 (gimp_histogram_view_set_range): don't emit signals/notifications
11764 if the setting didn't change.
11766 2008-01-30 Øyvind Kolås <pippin@gimp.org>
11768 * app/gegl/gimpoperationcolorbalance.c:
11769 * app/gegl/gimpoperationcolorize.c:
11770 * app/gegl/gimpoperationcurves.c:
11771 * app/gegl/gimpoperationdesaturate.c:
11772 * app/gegl/gimpoperationhuesaturation.c:
11773 * app/gegl/gimpoperationlevels.c:
11774 * app/gegl/gimpoperationposterize.c:
11775 * app/gegl/gimpoperationthreshold.c:
11776 * app/gegl/gimpoperationtilesink.c:
11777 * app/gegl/gimpoperationtilesource.c:
11778 * app/gegl/gimpoperationdesaturate.c: stop using
11779 gegl_operation_class_set_name() for gimp gegl ops.
11781 2008-01-30 Michael Natterer <mitch@gimp.org>
11783 * app/gegl/gimpcolorbalanceconfig.c
11784 * app/gegl/gimpcurvesconfig.c
11785 * app/gegl/gimphuesaturationconfig.c
11786 * app/gegl/gimplevelsconfig.c: add missing notifications on
11789 2008-01-28 Michael Natterer <mitch@gimp.org>
11791 * app/gegl/gimpoperationtilesink.c
11792 * app/gegl/gimpoperationtilesource.c (process): return FALSE when
11793 there is no tile manager.
11795 2008-01-28 Sven Neumann <sven@gimp.org>
11797 * plug-ins/gimpressionist/*.[ch]: added missing copyright header.
11799 2008-01-28 Michael Natterer <mitch@gimp.org>
11801 * app/gegl/gimpoperationcolorbalance.c
11802 * app/gegl/gimpoperationcolorize.c
11803 * app/gegl/gimpoperationcurves.c
11804 * app/gegl/gimpoperationdesaturate.c
11805 * app/gegl/gimpoperationhuesaturation.c
11806 * app/gegl/gimpoperationlevels.c
11807 * app/gegl/gimpoperationposterize.c
11808 * app/gegl/gimpoperationthreshold.c: replace for() loops over the
11809 samples by while() loop counting down the passed "samples"
11812 2008-01-28 Michael Natterer <mitch@gimp.org>
11814 * app/gegl/gimpcolorbalanceconfig.c
11815 * app/gegl/gimpcolorizeconfig.c
11816 * app/gegl/gimpcurvesconfig.c
11817 * app/gegl/gimphuesaturationconfig.c
11818 * app/gegl/gimplevelsconfig.c
11819 * app/gegl/gimpoperationdesaturate.c
11820 * app/gegl/gimpoperationtilesink.c
11821 * app/gegl/gimpoperationtilesource.c
11822 * app/gegl/gimpposterizeconfig.c
11823 * app/gegl/gimpthresholdconfig.c: coding style paranoia: changed
11826 2008-01-28 Michael Natterer <mitch@gimp.org>
11828 * libgimpconfig/gimpconfig-serialize.c
11829 (gimp_config_serialize_property): fix API docs.
11831 2008-01-28 Michael Natterer <mitch@gimp.org>
11833 * app/gegl/gegl-types.h
11834 * app/gegl/Makefile.am
11835 * app/gegl/gimpbrightnesscontrastconfig.[ch]: new config object.
11837 * app/tools/gimpbrightnesscontrasttool.[ch]: use it.
11839 2008-01-28 Sven Neumann <sven@gimp.org>
11841 * plug-ins/common/lcms.c (lcms_dialog): fixed crash on missing
11842 profile (bug #512529).
11844 2008-01-28 Sven Neumann <sven@gimp.org>
11846 * plug-ins/common/lcms.c (lcms_load_profile)
11847 * plug-ins/common/wmf.c (load_image): fixed error messages.
11849 2008-01-28 Michael Natterer <mitch@gimp.org>
11851 * app/dialogs/keyboard-shortcuts-dialog.c
11852 (keyboard_shortcuts_dialog_new): don't show the horizontal
11853 scrollbar if it's not needed.
11855 2008-01-28 Sven Neumann <sven@gimp.org>
11857 * app/display/gimpdisplayshell.[ch] (gimp_display_shell_snap_coords):
11858 removed redundant GimpCoords parameter that use to cause valgrind
11859 warnings about overlapping memory regions in memcpy().
11861 * app/display/gimpdisplayshell-callbacks.c
11862 * app/display/gimpdisplayshell-autoscroll.c: changed accordingly.
11864 2008-01-28 Sven Neumann <sven@gimp.org>
11866 * plug-ins/common/cubism.c: minor cleanups.
11868 2008-01-28 Michael Natterer <mitch@gimp.org>
11870 * app/base/tile-manager.c
11871 * plug-ins/common/lcms.c: use G_STRLOC instead of
11872 G_GNUC_FUNCTION (which is now deprecated).
11874 2008-01-28 Tor Lillqvist <tml@novell.com>
11876 * modules/controller_dx_dinput.c: Make it compile again.
11878 2008-01-28 Sven Neumann <sven@gimp.org>
11880 * plug-ins/gimpressionist/gimp.c: minor cleanup.
11882 2008-01-27 Michael Natterer <mitch@gimp.org>
11884 * app/gegl/gimpcolorbalanceconfig.[ch]
11885 * app/gegl/gimpcolorizeconfig.[ch]
11886 * app/gegl/gimpcurvesconfig.[ch]
11887 * app/gegl/gimphuesaturationconfig.[ch]
11888 * app/gegl/gimplevelsconfig.[ch]
11889 * app/gegl/gimpposterizeconfig.[ch]
11890 * app/gegl/gimpthresholdconfig.[ch]: implement the GimpConfig
11891 interface and remove public reset() functions except special ones
11892 which reset only parts of the objects. Add lots of property
11895 * app/tools/gimpcolorbalancetool.c
11896 * app/tools/gimpcolorizetool.c
11897 * app/tools/gimpcurvestool.c
11898 * app/tools/gimphuesaturationtool.c
11899 * app/tools/gimplevelstool.c
11900 * app/tools/gimpposterizetool.c
11901 * app/tools/gimpthresholdtool.c: use gimp_config_reset(), misc.
11902 related changes and cleanups.
11904 2008-01-27 Kevin Cozens <kcozens@cvs.gnome.org>
11906 * plug-ins/imagemap/imap_cern.[ly]
11907 * plug-ins/imagemap/imap_csim.[ly]
11908 * plug-ins/imagemap/imap_ncsa.[ly]: Dynamically allocate space to
11909 hold comments, links, strings, and co-ordinate lists.
11912 * plug-ins/imagemap/imap_cern_lex.c
11913 * plug-ins/imagemap/imap_cern_parse.[ch]
11914 * plug-ins/imagemap/imap_csim_lex.c
11915 * plug-ins/imagemap/imap_csim_parse.[ch]
11916 * plug-ins/imagemap/imap_ncsa_lex.c
11917 * plug-ins/imagemap/imap_ncsa_parse.[ch]: Regenerated.
11919 2008-01-27 Sven Neumann <sven@gimp.org>
11921 * plug-ins/gimpressionist/gimp.c (gimpressionist_main): transfer
11922 the pixels to the core on a tile-by-tile basis.
11924 2008-01-27 Sven Neumann <sven@gimp.org>
11926 * plug-ins/gimpressionist/gimp.c (grabarea): changed code that
11927 retrieves the source drawable to iterate over the data tile-by-tile.
11928 Improves GIMPressionist startup time (bug #512126).
11930 2008-01-26 Manish Singh <yosh@gimp.org>
11932 * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): no
11933 need to use a temporary in tuple translation, and clamp the result.
11935 * plug-ins/pygimp/gimpmodule.c (pygimp_set_background,
11936 pygimp_set_foreground): restore support for passing in 3 args for
11937 color components, for backward compatibility.
11939 2008-01-26 Joao S. O. Bueno <gwidion@mpc.com.br>
11941 * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): fix
11942 subsequent error (calculated parameters where not used)
11944 2008-01-26 Manish Singh <yosh@gimp.org>
11946 * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): fix
11949 2008-01-25 Michael Natterer <mitch@gimp.org>
11951 * app/gegl/Makefile.am
11952 * app/gegl/gegl-types.h
11953 * app/gegl/gimpoperationpointfilter.[ch]: new parent class for all
11954 image map operations. Features a "config" member and "public"
11955 get_property() and set_property() functions to be used by
11958 * app/gegl/gimpoperationcolorbalance.[ch]
11959 * app/gegl/gimpoperationcolorize.[ch]
11960 * app/gegl/gimpoperationcurves.[ch]
11961 * app/gegl/gimpoperationhuesaturation.[ch]
11962 * app/gegl/gimpoperationlevels.[ch]
11963 * app/gegl/gimpoperationposterize.[ch]
11964 * app/gegl/gimpoperationthreshold.[ch]: derive from
11965 GimpOperationPointFilter, remove "config" members, remove
11966 finalize(), get_property() and set_property() implementations and
11967 use the ones provided by the parent class.
11969 2008-01-25 Michael Natterer <mitch@gimp.org>
11971 * app/gegl/Makefile.am
11972 * app/gegl/gegl-types.h
11973 * app/gegl/gimpposterizeconfig.[ch]: new config object.
11975 * app/gegl/gimpoperationposterize.[ch]
11976 * app/tools/gimpposterizetool.[ch]: use it.
11978 2008-01-25 Michael Natterer <mitch@gimp.org>
11980 * app/tools/gimpbrightnesscontrasttool.c
11981 * app/tools/gimpcolorbalancetool.c
11982 * app/tools/gimpcolorizetool.c
11983 * app/tools/gimpcurvestool.c
11984 * app/tools/gimphuesaturationtool.c
11985 * app/tools/gimpimagemaptool.c
11986 * app/tools/gimplevelstool.c
11987 * app/tools/gimpposterizetool.c
11988 * app/tools/gimpthresholdtool.c: remove includes which are no
11991 2008-01-25 Michael Natterer <mitch@gimp.org>
11993 * app/gegl/gimpcurvesconfig.[ch]
11994 * app/gegl/gimplevelsconfig.[ch]: add load_cruft() and
11995 save_cruft() functions which load/save the old (current) curves
11996 and levels file formats.
11998 * app/tools/gimpcurvestool.c
11999 * app/tools/gimplevelstool.c: use them here and remove a lot of
12002 2008-01-25 Michael Natterer <mitch@gimp.org>
12004 * app/tools/gimphuesaturationtool.[ch]: removed the GimpHueRange
12005 member from the tool struct and use the one from the config object
12006 instead. Also did a global s/partition/range/.
12008 2008-01-25 Michael Natterer <mitch@gimp.org>
12010 * app/gegl/Makefile.am
12011 * app/gegl/gegl-types.h
12012 * app/gegl/gimpthresholdconfig.[ch]: new config object.
12014 * app/gegl/gimpoperationthreshold.[ch]: use it.
12016 * app/tools/gimpthresholdtool.[ch]: ditto.
12018 2008-01-25 Michael Natterer <mitch@gimp.org>
12020 * app/tools/gimpcurvestool.[ch]
12021 * app/tools/gimplevelstool.[ch]: remove the "channel" member from
12022 the tool struct and use the channel from the options object
12025 2008-01-25 Sven Neumann <sven@gimp.org>
12027 * app/widgets/gimpcolormapeditor.c (gimp_colormap_editor_draw):
12028 avoid crashing when the widget allocation is small (bug #511926).
12030 2008-01-24 Sven Neumann <sven@gimp.org>
12032 * app/about.h (GIMP_COPYRIGHT): updated copyright.
12034 2008-01-24 Sven Neumann <sven@gimp.org>
12036 * themes/Default/images/stock-wilber-48.png: removed unused image.
12038 * themes/Default/images/Makefile.am
12039 * themes/Default/images/stock-wilber-22.png: moved here from
12042 * libgimpwidgets/gimpstock.c: register Wilber icon in button size.
12044 * data/images/wilber.png: moved 256x256 icon here from
12047 2008-01-24 Michael Natterer <mitch@gimp.org>
12049 * app/gegl/Makefile.am
12050 * app/gegl/gegl-types.h
12051 * app/gegl/gimpcolorbalanceconfig.[ch]: new config object.
12053 * app/gegl/gimpoperationcolorbalance.[ch]: use it.
12055 * app/tools/gimpcolorbalancetool.[ch]: port to
12056 GimpColorBalanceConfig and use the old ColorBalance cruft only in
12057 map(). The effect of the GEGL operator is now even more different
12058 from the cruft code because I removed a hack that was applying an
12059 additional factor when mapping between the ColorBalance values and
12060 the new properties, but that was only a workaround to make it look
12061 more similar anyway. Will have to fix this properly.
12063 * app/base/color-balance.[ch]: remove API that is now obsolete.
12065 2008-01-24 Sven Neumann <sven@gimp.org>
12067 * app/core/gimpimage.c
12068 * app/core/gimpimage-undo.c: fixed handling of the image undo
12069 counter for the case where the user has undone the image to a
12070 state before the last save and then pushes a new undo. Fixes
12073 2008-01-24 Michael Natterer <mitch@gimp.org>
12075 * app/gegl/gimpcolorizeconfig.[ch]: added reset() and to_cruft()
12078 * app/tools/gimpcolorizetool.c: use them.
12080 2008-01-23 Martin Nordholts <martinn@svn.gnome.org>
12082 * app/tools/gimprectangleselecttool.c
12083 (gimp_rect_select_tool_execute): Reset the automatic undo/redo
12084 mechanism so that commiting pending rectangles with Return
12085 works (bug #511599).
12087 2008-01-23 Sven Neumann <sven@gimp.org>
12089 * app/display/gimpdisplayshell-selection.c: show the selection,
12090 even if the window is flagged as invisible, but don't start the
12091 animation. Addresses bug #505758.
12093 2008-01-23 Michael Natterer <mitch@gimp.org>
12095 * app/gegl/gimphuesaturationconfig.[ch]
12096 (gimp_hue_saturation_config_to_cruft): call
12097 hue_saturation_calculate_transfers() here...
12099 * app/tools/gimphuesaturationtool.c (gimp_hue_saturation_tool_map):
12100 ...instead of here.
12102 2008-01-23 Michael Natterer <mitch@gimp.org>
12104 * app/gegl/gimplevelsconfig.[ch]: to_levels_cruft() -> to_cruft().
12106 * app/core/gimpdrawable-levels.c
12107 * app/tools/gimplevelstool.c: changed accordingly.
12109 2008-01-23 Michael Natterer <mitch@gimp.org>
12111 * app/tools/gimphuesaturationtool.c: change signature of widget
12112 callbacks to take a GimpHueSaturationTool pointer instead of
12115 * app/tools/gimpposterizetool.c: remove redundant GTK_ADJUSTMENT()
12118 2008-01-23 Sven Neumann <sven@gimp.org>
12121 * app/gui/gui.c (gui_sanity_check): minor cleanup.
12123 2008-01-23 Sven Neumann <sven@gimp.org>
12125 * app/dialogs/about-dialog.c (about_dialog_create): removed
12126 obsolete version check.
12128 2008-01-23 Sven Neumann <sven@gimp.org>
12130 * plug-ins/imagemap/imap_mru.c (mru_remove_link): gracefully
12131 handle a NULL link.
12132 (mru_destruct): plugged a memory leak.
12134 * plug-ins/imagemap/imap_about.c: use "program-name" instead
12137 2008-01-23 Michael Natterer <mitch@gimp.org>
12139 * app/tools/gimpimagemaptool.h: don't #include <gegl.h>
12141 * app/actions/tools-commands.c
12142 * app/display/gimpdisplayshell-callbacks.c
12143 * app/tools/gimp-tools.c: include it here. Whenever the build
12144 breaks because of some GEGL change in GIMP, please inlcude
12145 <gegl.h> instead of <glib-object.h> or before <gtk/gtk.h> in the
12148 2008-01-23 Michael Natterer <mitch@gimp.org>
12150 * app/gegl/Makefile.am
12151 * app/gegl/gegl-types.h
12152 * app/gegl/gimpcurvesconfig.[ch]
12153 * app/gegl/gimpoperationcurves.[ch]: add curves operation and its
12154 config object. Hack around badly to be able to use GimpCurve from
12157 * app/gegl/gimp-gegl.c: register the curves operation.
12159 * app/tools/gimpcurvestool.[ch]: added get_operation() implementation
12160 and use the new config object instead of keeping around 5 curves.
12162 2008-01-23 Michael Natterer <mitch@gimp.org>
12164 * app/gegl/gimpoperationlevels.[ch]
12165 (gimp_operation_levels_map_input): new utility function which maps
12168 * app/tools/gimplevelstool.[ch] (levels_update_adjustments): use the
12169 new function to create the input arrays for gimp_color_bar_set_buffer().
12171 Removed the Levels struct from the GimpLevelsTool struct and only
12172 use it in map() when needed.
12174 * app/base/levels.[ch]: remove obsolete API and struct members.
12176 2008-01-22 Sven Neumann <sven@gimp.org>
12178 * app/core/gimpprojection.c (gimp_projection_idle_render_init):
12179 decreased the priority of the projection idle renderer to 150,
12180 halfway between G_PRIORITY_HIGH_IDLE and G_PRIORITY_DEFAULT_IDLE.
12183 2008-01-22 Sven Neumann <sven@gimp.org>
12185 * app/paint/gimpbrushcore.c (gimp_brush_core_create_bound_segs):
12186 smooth the mask instead of dilating.
12188 2008-01-22 Sven Neumann <sven@gimp.org>
12190 * app/paint/gimpbrushcore.c (gimp_brush_core_create_bound_segs):
12191 dilate the brush mask in order to obtain a simpler boundary.
12192 Addresses bug #304798.
12194 * app/tools/gimpbrushtool.c (gimp_brush_tool_draw_brush): removed
12197 2008-01-22 Sven Neumann <sven@gimp.org>
12199 * app/base/boundary.c: minor cleanups.
12201 2008-01-22 Sven Neumann <sven@gimp.org>
12203 * plug-ins/imagemap/imap_csim.y: increased buffer size. Addresses
12206 * plug-ins/imagemap/imap_csim_parse.[ch]: regenerated.
12208 2008-01-22 Sven Neumann <sven@gimp.org>
12210 * app/display/gimpdisplayshell-callbacks.c
12211 * app/display/gimpdisplayshell-coords.[ch]: applied patch from
12212 Alexia Death with further event filter improvements (bug #508639).
12214 2008-01-22 Sven Neumann <sven@gimp.org>
12216 * plug-ins/common/pcx.c: corrected check of the bytesperline field
12217 which caused monochrome PCX images to be rejected (bug #510658).
12219 2008-01-22 Sven Neumann <sven@gimp.org>
12221 * app/core/gimp.[ch]: added new function gimp_use_gegl().
12223 * app/core/gimpdrawable-desaturate.c
12224 * app/core/gimpdrawable-levels.c
12225 * app/core/gimpdrawable-invert.c
12226 * app/tools/gimpimagemaptool.c
12227 * app/pdb/color_cmds.c
12228 * tools/pdbgen/pdb/color.pdb: use it instead of accessing the
12229 GimpCoreConfig struct directly.
12231 2008-01-22 Michael Natterer <mitch@gimp.org>
12233 * app/gegl/Makefile.am
12234 * app/gegl/gegl-types.h
12235 * app/gegl/gimphuesaturationconfig.[ch]: new config object.
12237 * app/gegl/gimpoperationhuesaturation.[ch]: remove all properties
12238 and add a "config" property. Also add API to map a single GimpRGB
12239 needed by the hue-saturation tool's color areas.
12241 * app/tools/gimphuesaturationtool.[ch]: switch to using
12242 GimpHueSaturationConfig, use the old HueSaturation struct only in
12245 * app/base/hue-saturation.[ch]: remove API that's no longer needed.
12247 2008-01-22 Øyvind Kolås <pippin@gimp.org>
12249 * app/gegl/gimpoperationcolorbalance.h:
12250 * app/gegl/gimpoperationcolorize.h:
12251 * app/gegl/gimpoperationdesaturate.h:
12252 * app/gegl/gimpoperationhuesaturation.h:
12253 * app/gegl/gimpoperationlevels.h:
12254 * app/gegl/gimpoperationposterize.h:
12255 * app/gegl/gimpoperationthreshold.h:
12256 * app/gegl/gimpoperationtilesink.h:
12257 * app/gegl/gimpoperationtilesource.h: #include <gegl-plugin.h>
12259 2008-01-21 Martin Nordholts <martinn@svn.gnome.org>
12261 * app/tools/gimprectangletool.c
12262 (gimp_rectangle_tool_set_other_side_coord): Don't foget to update
12263 the integer representation of the rectangle.
12265 2008-01-21 Martin Nordholts <martinn@svn.gnome.org>
12267 * app/tools/gimpeditselectiontool.[ch]: Moved the logic in _motion
12268 to a new helper function _update_motion that is also called in
12269 _active_modifier_key. Makes toggling Ctrl immediately apply/remove
12270 movement constraints for the Move Tool when a move has been
12271 initiated. This completes the fix for bug #78730.
12273 2008-01-21 Sven Neumann <sven@gimp.org>
12275 * app/core/gimpselection.c (gimp_selection_extract): don't clear
12276 the selection as a side-effect of "Edit->Cut" (bug #510534).
12278 2008-01-21 Michael Natterer <mitch@gimp.org>
12280 * app/widgets/gimpcolorbar.c (gimp_color_bar_class_init): fix the
12281 ID of the "histogram-channel" property.
12283 2008-01-21 Michael Natterer <mitch@gimp.org>
12285 * app/core/gimpdrawable-levels.c: port to GEGL and use the new
12286 code path when use-gegl is TRUE.
12288 * app/base/levels.[ch]: remove stretch and pick APIs which are not
12291 2008-01-21 Michael Natterer <mitch@gimp.org>
12293 * app/gegl/gimplevelsconfig.[ch]: add utility function
12294 gimp_levels_config_to_levels_cruft() which fills the old Levels
12295 struct from a GimpLevelsConfig object.
12297 * app/tools/gimplevelstool.c: use it.
12299 2008-01-21 Michael Natterer <mitch@gimp.org>
12301 * app/gegl/gimpcolorizeconfig.h
12302 * app/gegl/gimpoperationcolorize.h: add missing type macros.
12304 2008-01-19 Martin Nordholts <martinn@svn.gnome.org>
12306 * app/tools/gimpeditselectiontool.c
12307 (gimp_edit_selection_tool_motion): Reformat a bit, essentially
12308 just removed one pointless level of indentation.
12310 2008-01-18 Øyvind Kolås <pippin@gimp.org>
12312 Removed copies of GEGL headers from GIMP source, depend on installed
12313 headers instead. GIMP trunk still depends on GEGL trunk but we're
12314 moving towards a time when GIMP can depend on a GEGL tarball instead.
12316 * app/gegl/gegl/gegl-operation-filter.h:
12317 * app/gegl/gegl/gegl-operation-point-filter.h:
12318 * app/gegl/gegl/gegl-operation-sink.h:
12319 * app/gegl/gegl/gegl-operation-source.h:
12320 * app/gegl/gegl/gegl-operation.h:
12321 * app/gegl/gegl/gegl-types.h:
12322 * app/gegl/gegl/: removed.
12324 * app/gegl/gimpoperationcolorbalance.h:
12325 * app/gegl/gimpoperationcolorize.h:
12326 * app/gegl/gimpoperationdesaturate.h:
12327 * app/gegl/gimpoperationhuesaturation.h:
12328 * app/gegl/gimpoperationlevels.h:
12329 * app/gegl/gimpoperationposterize.h:
12330 * app/gegl/gimpoperationthreshold.h:
12331 * app/gegl/gimpoperationtilesink.h:
12332 * app/gegl/gimpoperationtilesource.h: modified path to parent class'
12335 2008-01-18 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12337 * app/base/lut-funcs.c (equalize_lut_func): Don't
12338 equalize the alpha channel. Fixes bug #510210.
12340 2008-01-18 Michael Natterer <mitch@gimp.org>
12342 * app/gegl/Makefile.am
12343 * app/gegl/gegl-types.h
12344 * app/gegl/gimpcolorizeconfig.[ch]: new config object.
12346 * app/gegl/gimpoperationcolorize.[ch]: remove all properties and
12347 add a "config" property.
12349 * app/tools/gimpcolorizetool.[ch]: port to GimpColorizeConfig, use
12350 the old Colorize struct only in map().
12352 2008-01-18 Michael Natterer <mitch@gimp.org>
12354 * app/gegl/gimplevelsconfig.[ch]: ported the stretch and pick
12355 functions from base/levels.c.
12357 * app/tools/gimplevelstool.[ch]: use them instead of the old
12358 stuff. Also switch to GimpLevelsConfig as primary storage for all
12359 settings and fill the old Levels struct only when needed in map().
12360 Remove all hackish fiddling with levels_tool->channel because it
12361 is now always what is set in the menu.
12363 2008-01-18 Michael Natterer <mitch@gimp.org>
12365 * app/gegl/gimpoperationtilesink.c (class_init)
12366 * app/gegl/gimpoperationcolorize.c (class_init): cosmetic.
12368 2008-01-17 Øyvind Kolås <pippin@gimp.org>
12370 * app/gegl/gimpoperationtilesink.c:
12371 * app/gegl/gimpoperationtilesource.c: Some changes due to changed
12372 location of where the various GEGL headers get installed on the
12374 * app/gegl/gegl/gegl-operation.h: synced from GEGL.
12376 2008-01-17 Martin Nordholts <martinn@svn.gnome.org>
12378 * app/tools/gimpeditselectiontool.c
12379 (gimp_edit_selection_tool_get_active_item): Use this new helper
12380 function instead of duplicating its logic.
12382 2008-01-17 Michael Natterer <mitch@gimp.org>
12384 * app/gegl/Makefile.am
12385 * app/gegl/gegl-types.h
12386 * app/gegl/gimplevelsconfig.[ch]: new config object for the levels
12387 operation's settings.
12389 * app/gegl/gimpoperationlevels.[ch]: remove all properties and add
12390 a "config" property instead.
12392 * app/tools/gimplevelstool.[ch]: keep a GimpLevelsConfig around.
12394 2008-01-17 Michael Natterer <mitch@gimp.org>
12396 * app/gegl/gimpoperationcolorize.c
12397 * app/gegl/gimpoperationhuesaturation.c (process): move some
12398 calculations and assignments out of the inner loop.
12400 2008-01-17 Michael Natterer <mitch@gimp.org>
12402 * app/tools/gimpimagemaptool.c: create the operation in
12403 GObject::constructor() so it's available during the entire tool
12404 life time (needed soon).
12406 2008-01-17 Michael Natterer <mitch@gimp.org>
12408 * app/gegl/gegl/gegl-operation.h
12409 * app/gegl/gegl/gegl-operation-filter.h: synced from GEGL.
12411 2008-01-17 Sven Neumann <sven@gimp.org>
12413 * app/core/Makefile.am
12414 * app/core/core-types.h
12415 * app/core/gimptagged.[ch]: define a simple interface for tagged
12418 * app/core/gimpdata.[ch]: implement the GimpTagged interface.
12420 2008-01-17 Sven Neumann <sven@gimp.org>
12422 * app/core/gimpviewable.h: formatting.
12424 2008-01-16 Øyvind Kolås <pippin@gimp.org>
12426 * app/gegl/gegl/gegl-operation.h: synced from GEGL.
12427 * app/gegl/gegl/graph/gegl-node-context.h: removed, since none
12428 of it's provided functionlity is any longer used by the GIMP
12430 * app/gegl/gegl/graph/: removed.
12432 2008-01-16 Øyvind Kolås <pippin@gimp.org>
12434 * app/gegl/gegl/buffer/gegl-buffer-types.h: removed.
12435 * app/gegl/gegl/buffer/: removed.
12436 * app/gegl/gegl/gegl-operation.h: synced from GEGL. Now includes
12437 the installed gegl-buffer.h which contains the public typedefs
12438 needed for implementing operations anyways.
12440 2008-01-16 Sven Neumann <sven@gimp.org>
12442 * app/base/boundary.c: minor cleanup.
12444 2008-01-16 Michael Natterer <mitch@gimp.org>
12446 Fix gegl types and includes so we can include operations from
12447 app/gegl in other gimp files (needed soon):
12449 * app/gegl/gegl/gegl-types.h: not copied from gegl any longer.
12450 Now contains only two typedefs needed by the copied operation
12453 * app/gegl/gegl-types.h: include above types file.
12455 * app/gegl/gimp-gegl.c
12456 * app/gegl/gimpoperationcolorbalance.c
12457 * app/gegl/gimpoperationcolorize.c
12458 * app/gegl/gimpoperationdesaturate.c
12459 * app/gegl/gimpoperationhuesaturation.c
12460 * app/gegl/gimpoperationlevels.c
12461 * app/gegl/gimpoperationposterize.c
12462 * app/gegl/gimpoperationthreshold.c
12463 * app/gegl/gimpoperationtilesink.c
12464 * app/gegl/gimpoperationtilesource.c: include only <gegl.h> and
12465 "gegl-types.h" from this directory, which is much more gimpish
12466 now. Include "gegl/buffer/gegl-buffer.h" in the source and sink
12469 * app/tools/gimpimagemaptool.h: warn about inclusion of <gegl.h>
12470 only if it hasn't been included before, so it only warns in the
12471 files where we still have to address this issue.
12473 2008-01-16 Sven Neumann <sven@gimp.org>
12475 * app/display/gimpdisplayshell-callbacks.c
12476 * app/display/gimpdisplayshell-coords.c: applied parts of a change
12477 from Alexia Death. This improves the event smoothing (bug #508639).
12479 2008-01-15 Martin Nordholts <martinn@svn.gnome.org>
12481 * app/tools/tools-utils.h: Added symbolic constants for common
12482 values to the n_snap_lines parameter of
12483 gimp_tool_motion_constrain.
12485 * app/tools/gimpblendtool.c:
12486 * app/tools/gimpeditselectiontool.c:
12487 * app/tools/gimpmeasuretool.c:
12488 * app/tools/gimppainttool.c: Use these new symbolic constants.
12490 2008-01-15 Martin Nordholts <martinn@svn.gnome.org>
12492 * app/tools/gimpeditselectiontool.[ch]: Made it possible to
12493 constrain movement with the Move Tool in 45 degree angles by
12494 holding Ctrl when a move has been initiated. This fixes the
12495 essential part of bug #78730.
12497 2008-01-15 Michael Natterer <mitch@gimp.org>
12499 * app/gegl/gimpoperationcolorize.[ch]
12500 * app/gegl/gimpoperationlevels.[ch]
12501 * app/gegl/gimpoperationthreshold.[ch]: changed all properties from
12504 * app/gegl/gimpoperationcolorize.c: normalized property ranges to
12505 [0.0..1.0] or [-1.0..1.0] resp.
12507 * app/tools/gimpcolorizetool.c: changed accordingly.
12509 2008-01-15 Michael Natterer <mitch@gimp.org>
12511 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_notify_preview):
12512 check for image_map_tool->image_map also when the preview is
12513 switched on, not only when it's switched off.
12515 2008-01-15 Sven Neumann <sven@gimp.org>
12517 * plug-ins/common/bumpmap.c
12518 * plug-ins/script-fu/scripts/swirltile.scm: applied patch from
12519 Ulf-D. Ehlert that catches a potential division by zero in the
12520 Bumpmap plug-in and adjusts the range of the Depth parameter in
12521 the Swirl-Tile script (bug #509608).
12523 2008-01-15 Kevin Cozens <kcozens@cvs.gnome.org>
12525 * plug-ins/script-fu/scripts/3d-outline.scm
12526 * plug-ins/script-fu/scripts/add-bevel.scm
12527 * plug-ins/script-fu/scripts/burn-in-anim.scm
12528 * plug-ins/script-fu/scripts/camo.scm
12529 * plug-ins/script-fu/scripts/circuit.scm
12530 * plug-ins/script-fu/scripts/clothify.scm
12531 * plug-ins/script-fu/scripts/coffee.scm
12532 * plug-ins/script-fu/scripts/contactsheet.scm
12533 * plug-ins/script-fu/scripts/distress-selection.scm
12534 * plug-ins/script-fu/scripts/flatland.scm
12535 * plug-ins/script-fu/scripts/font-map.scm
12536 * plug-ins/script-fu/scripts/fuzzyborder.scm
12537 * plug-ins/script-fu/scripts/glossy.scm
12538 * plug-ins/script-fu/scripts/land.scm
12539 * plug-ins/script-fu/scripts/lava.scm
12540 * plug-ins/script-fu/scripts/old-photo.scm
12541 * plug-ins/script-fu/scripts/predator.scm
12542 * plug-ins/script-fu/scripts/rendermap.scm
12543 * plug-ins/script-fu/scripts/ripply-anim.scm
12544 * plug-ins/script-fu/scripts/script-fu-set-cmap.scm
12545 * plug-ins/script-fu/scripts/select-to-brush.scm
12546 * plug-ins/script-fu/scripts/select-to-image.scm
12547 * plug-ins/script-fu/scripts/select-to-pattern.scm
12548 * plug-ins/script-fu/scripts/speed-text.scm
12549 * plug-ins/script-fu/scripts/spinning-globe.scm
12550 * plug-ins/script-fu/scripts/test-sphere.scm
12551 * plug-ins/script-fu/scripts/text-circle.scm
12552 * plug-ins/script-fu/scripts/unsharp-mask.scm
12553 * plug-ins/script-fu/scripts/xach-effect.scm: Variables in a let
12554 block must be of the form (variable value) per the R5RS.
12556 2008-01-14 Kevin Cozens <kcozens@cvs.gnome.org>
12558 * plug-ins/script-fu/scripts/script-fu-compat.init: Fixed definition
12559 of 'prog1' due to recent fixes enforcing R5RS syntax for 'let'.
12561 2008-01-15 Michael Natterer <mitch@gimp.org>
12563 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_preview):
12564 don't call map() if image_map_tool->image_map is NULL.
12566 2008-01-14 Martin Nordholts <martinn@svn.gnome.org>
12568 * app/tools/tools-utils.[ch]
12569 (gimp_tool_motion_constrain): Generalized to allow a variable
12570 number of lines for snapping, and rewritten to make snapping
12571 happen more intuitively; snap the shortest distance rather than
12572 only horizontally or vertically.
12573 (gimp_tool_utils_point_to_line_distance): New helper function.
12575 * app/tools/gimpblendtool.c
12576 * app/tools/gimpmeasuretool.c
12577 * app/tools/gimppainttool.c: Adjust to the new function signature.
12579 2008-01-14 Michael Natterer <mitch@gimp.org>
12581 * app/gegl/Makefile.am
12582 * app/gegl/gegl-types.h
12583 * app/gegl/gimpoperationhuesaturation.[ch]: new operation.
12585 * app/gegl/gimp-gegl.c: register it.
12587 * app/tools/gimphuesaturationtool.c: use it.
12589 2008-01-14 Sven Neumann <sven@gimp.org>
12591 * app/core/core-types.h
12592 * app/display/gimpdisplayshell-callbacks.c
12593 * app/display/gimpdisplayshell-coords.[ch]
12594 * app/display/gimpdisplayshell.h
12595 * app/paint/gimpink.[ch]
12596 * app/paint/gimpinkundo.[ch]: applied patch from Alexia Death that
12597 adds an event evaluation function that decides if an event is
12598 needed or can be discarded. As a side-product some useful dynamics
12599 parameters like velocity are added to the GimpCoords struct. The
12600 Ink tool is changed to use this information. See bug #508639.
12602 2008-01-13 Michael Natterer <mitch@gimp.org>
12604 * modules/colorsel_cmyk_lcms.c (colorsel_cmyk_config_changed): set
12605 a tooltip on the profile name label because it's often ellipsized.
12607 2008-01-12 Michael Natterer <mitch@gimp.org>
12609 * app/base/color-balance.c: minor formatting fix.
12611 2008-01-11 Michael Natterer <mitch@gimp.org>
12613 * modules/gimpinputdevicestore.h
12614 * modules/gimpinputdevicestore-hal.c
12615 * modules/gimpinputdevicestore-dx.c: use G_DEFINE_DYNAMIC_TYPE().
12617 * modules/controller_dx_dinput.c
12618 * modules/controller_linux_input.c: changed accordingly.
12620 2008-01-10 Manish Singh <yosh@gimp.org>
12622 * plug-ins/pygimp/pygimp-pdb.c (pdb_getattro): Handle __members__
12623 specially to return the current PDB procedure list, and pass-through
12624 any attributes that start with "_" without looking them up in the
12627 2008-01-10 Sven Neumann <sven@gimp.org>
12629 * app/widgets/gimpuimanager.c (gimp_ui_manager_ui_popup):
12630 gracefully deal with a NULL return value from
12631 gtk_ui_manager_get_widget(). This happens when the XML menu
12632 definitions are not found.
12634 2008-01-10 Sven Neumann <sven@gimp.org>
12636 * plug-ins/pygimp/plug-ins/gimpcons.py: fixed spelling of GIMP.
12638 2008-01-10 Sven Neumann <sven@gimp.org>
12640 * plug-ins/jpeg/Makefile.am: fixed conditional build of the JPEG
12643 2008-01-10 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12645 * libgimpbase/gimpenv.c: fix editing error in documentation.
12647 2008-01-10 Michael Natterer <mitch@gimp.org>
12649 Simplify things a bit and enable gegl-only color correction
12650 tools (without legacy functions).
12652 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_create_map):
12653 always create the operation if ::get_operation() is implemented
12654 and always use it when creating the GimpImageMap if there is no
12657 * app/tools/gimpbrightnesscontrasttool.c
12658 * app/tools/gimpcolorbalancetool.c
12659 * app/tools/gimpcolorizetool.c
12660 * app/tools/gimplevelstool.c
12661 * app/tools/gimpposterizetool.c
12662 * app/tools/gimpthresholdtool.c (map): set the operation's
12663 properties unconditionally since it always exists now if we also
12664 implement ::get_operation().
12666 2008-01-10 Michael Natterer <mitch@gimp.org>
12668 * app/gegl/Makefile.am
12669 * app/gegl/gegl-types.h
12670 * app/gegl/gimpoperationcolorbalance.[ch]: new operator.
12672 * app/gegl/gimp-gegl.c: register it.
12674 * app/tools/gimpcolorbalancetool.c: use it.
12676 2008-01-09 Joao S. O. Bueno <gwidion@mpc.com.br>
12678 * plug-ins/pygimp/pygimp-vectors.c: Allow Vectors.remove_stroke
12679 method to accept VectorStroke objects besides stroke IDs. Fix
12680 method names in error strings.
12682 2008-01-09 Michael Natterer <mitch@gimp.org>
12684 * modules/cdisplay_colorblind.c
12685 * modules/cdisplay_gamma.c
12686 * modules/cdisplay_highcontrast.c
12687 * modules/cdisplay_lcms.c
12688 * modules/cdisplay_proof.c
12689 * modules/colorsel_cmyk.c
12690 * modules/colorsel_triangle.c
12691 * modules/colorsel_water.c
12692 * modules/controller_dx_dinput.c
12693 * modules/controller_linux_input.c
12694 * modules/controller_midi.c: use G_DEFINE_DYNAMIC_TYPE() instead
12695 of boilerplate code.
12697 2008-01-09 Sven Neumann <sven@gimp.org>
12699 * modules/colorsel_cmyk_lcms.c (colorsel_cmyk_class_init): don't
12700 abort on errors in lcms.
12702 2008-01-09 Sven Neumann <sven@gimp.org>
12704 * app/gegl/gimpoperationtilesink.c: use the marshaller from GLib;
12705 don't include gimpmarshal.h from app/core.
12707 2008-01-09 Michael Natterer <mitch@gimp.org>
12709 * app/tools/gimplevelstool.c (gimp_levels_tool_map): fix alpha
12710 handling on greyscale images.
12712 2008-01-09 Sven Neumann <sven@gimp.org>
12714 * plug-ins/common/convmatrix.c (convolve_image): round the result
12715 of the convolution. Fixes bug #508114.
12717 2008-01-09 Michael Natterer <mitch@gimp.org>
12719 * app/core/core-types.h: add typedef GimpImageMapApplyFunc here.
12721 * app/core/gimpimagemap.[ch] (gimp_image_map_new): add apply_func
12722 and apply_data parameters.
12724 (gimp_image_map_apply): remove them here and add a GeglRectangle
12725 parameter which is the visible area of the affected drawable.
12727 * app/tools/gimpimagemaptool.[ch]: keep apply_func and apply_data
12728 around in the GimpImageMapTool struct.
12730 (gimp_image_map_tool_create_map): pass them to gimp_image_map_new().
12732 (gimp_image_map_tool_map): call gimp_image_map_apply() here and
12733 pass the drawable's visible rectangle.
12735 * app/tools/gimpbrightnesscontrasttool.c
12736 * app/tools/gimpcolorbalancetool.c
12737 * app/tools/gimpcolorizetool.c
12738 * app/tools/gimpcurvestool.c
12739 * app/tools/gimphuesaturationtool.c
12740 * app/tools/gimplevelstool.c
12741 * app/tools/gimpposterizetool.c
12742 * app/tools/gimpthresholdtool.c (init): set apply_func and
12743 apply_data in the parent instance.
12745 (map): remove calls to gimp_image_map_apply().
12747 2008-01-08 Sven Neumann <sven@gimp.org>
12749 * plug-ins/psd/psd-image-res-load.[ch]
12750 * plug-ins/psd/psd-layer-res-load.[ch]
12751 * plug-ins/psd/psd-load.c
12752 * plug-ins/psd/psd-thumb-load.c
12753 * plug-ins/psd/psd-util.[ch]
12754 * plug-ins/psd/psd.[ch]: applied a patch from John Marshall that
12755 improves error handling of the new PSD load plug-in (bug #448181).
12757 2008-01-08 Øyvind Kolås <pippin@gimp.org>
12759 * app/gegl/gimpoperationtilesink.c: removed no longer needed
12761 * app/gegl/gegl/gegl-operation-sink.h: resynced from GEGL.
12762 * app/gegl/gegl/gegl-types.h: resynced from GEGL.
12764 2008-01-08 Sven Neumann <sven@gimp.org>
12766 * app/core/gimpitem.[ch]: removed "add_alpha" parameter from
12767 gimp_item_duplicate() and gimp_item_convert(). This is a relict
12768 from the time when only the bottom layer was allowed to have no
12771 * app/actions/channels-commands.c
12772 * app/actions/layers-commands.c
12773 * app/actions/vectors-commands.c
12774 * app/core/gimpchannel.c
12775 * app/core/gimpdrawable.c
12776 * app/core/gimpimage-duplicate.c
12777 * app/core/gimpimage-merge.c
12778 * app/core/gimpimage-quick-mask.c
12779 * app/core/gimplayer.c
12780 * app/core/gimplayermask.c
12781 * app/core/gimpselection.c
12782 * app/display/gimpdisplayshell-dnd.c
12783 * app/file/file-open.c
12784 * app/pdb/channel_cmds.c
12785 * app/pdb/layer_cmds.c
12786 * app/text/gimptextlayer.c
12787 * app/vectors/gimpvectors.c
12788 * app/vectors/gimpvectorsmodundo.c
12789 * app/widgets/gimpchanneltreeview.c
12790 * app/widgets/gimpitemtreeview.c
12791 * app/widgets/gimplayertreeview.c
12792 * app/widgets/gimptoolbox-dnd.c
12793 * tools/pdbgen/pdb/channel.pdb
12794 * tools/pdbgen/pdb/layer.pdb: changed accordingly.
12796 2008-01-08 Sven Neumann <sven@gimp.org>
12798 * app/file/file-open.c (file_open_layers): moved code to a utility
12799 function, in preparation for a possible fix for bug #507116.
12801 2008-01-08 Kevin Cozens <kcozens@cvs.gnome.org>
12803 * plug-ins/script-fu/ftx/ftx.c (foreign_filetype): Test for symlink
12804 before testing for other file types. Spotted by David Martin.
12806 2008-01-07 Michael Natterer <mitch@gimp.org>
12808 * app/gegl/gimpoperationlevels.[ch]: add properties, some cleanup.
12810 * app/tools/gimplevelstool.c: use gegl_node_set() instead of
12811 accessing the operation directly.
12813 2008-01-07 Michael Natterer <mitch@gimp.org>
12815 * app/gegl/Makefile.am
12816 * app/gegl/gegl-types.h
12817 * app/gegl/gimpoperationlevels.[ch]: new operator.
12819 * app/gegl/gimp-gegl.c: register it.
12821 * app/tools/gimplevelstool.c: use it,
12823 2008-01-07 Michael Natterer <mitch@gimp.org>
12825 * app/gegl/gimpoperationcolorize.c (process): add some comments
12826 about how this code is different from base/colorize.c
12828 2008-01-07 Michael Natterer <mitch@gimp.org>
12830 * app/core/core-types.h: include gegl/gegl-types.h instead of
12833 * app/gegl/gegl/gegl-types.h: add ugly #ifdefs so we can include
12834 gegl.h and this file at the same time.
12836 2008-01-07 Michael Natterer <mitch@gimp.org>
12838 * app/core/gimplayer.c (gimp_layer_transform_color): reordered
12839 and renamed parameters to make more sense.
12841 2008-01-07 Michael Natterer <mitch@gimp.org>
12843 * app/gegl/Makefile.am (INCLUDES): remove GTK_CFLAGS.
12845 2008-01-07 Øyvind Kolås <pippin@gimp.org>
12847 * app/tools/gimpbrightnesscontrasttool.c: make the mapping between
12848 slider values and gegl-op properties more closely resemble gimp for
12849 the brightness property.
12851 2008-01-07 Michael Natterer <mitch@gimp.org>
12853 * app/gegl/gegl/gegl-operation.h: updated from GEGL.
12855 * app/gegl/gimpoperationtilesource.c: use the passed buffer in
12856 process() and add prepare() implementation which sets the format.
12858 2008-01-05 Joao S. O. Bueno <gwidion@mpc.com.br>
12860 * plug-ins/pygimp/pygimp-vectors.c: fixed incorrect function name
12861 in error message for vs_flip
12863 2008-01-07 Øyvind Kolås <pippin@gimp.org>
12865 * app/gegl/gimpoperationtilesink.c:
12866 * app/gegl/gimpoperationtilesource.c: modified to match newer API in
12869 * app/gegl/gegl/gegl-operation-sink.h:
12870 * app/gegl/gegl/gegl-operation-source.h: updated from GEGL.
12872 2008-01-06 Michael Natterer <mitch@gimp.org>
12874 * app/gegl/gegl/buffer/gegl-buffer-types.h
12875 * app/gegl/gegl/gegl-operation-filter.h
12876 * app/gegl/gegl/gegl-operation-point-filter.h
12877 * app/gegl/gegl/gegl-operation-sink.h
12878 * app/gegl/gegl/gegl-operation-source.h
12879 * app/gegl/gegl/gegl-operation.h: updated from GEGL.
12881 2008-01-06 Michael Natterer <mitch@gimp.org>
12883 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_create_map):
12884 don't call a NULL GimpImageMapToolClass::get_operation().
12886 2008-01-06 Michael Natterer <mitch@gimp.org>
12888 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_gegl_notify):
12889 toggle the image map mode only if an image map currently exists.
12890 Fixes crash when toggling "Use GEGL" while the tool is not active.
12892 2008-01-06 Sven Neumann <sven@gimp.org>
12894 * configure.in: compile a list of MIME types that GIMP can read.
12896 * desktop/gimp.desktop.in.in: use the list of MIME types as
12897 compiled by the configure script. Fixes bug #507318.
12899 * desktop/Makefile.am
12900 * desktop/gimp.applications.in
12901 * desktop/gimp.keys.in: removed; the gimp.applications and
12902 gimp.keys files are obsolete.
12904 * plug-ins/psd/psd.c (MAIN): corrected MIME type in unused code.
12906 2008-01-06 Sven Neumann <sven@gimp.org>
12908 * configure.in: applied patch from Matt Smith that adds a
12909 --without-hal configure option (bug #507595).
12911 * INSTALL: document the new option.
12913 2008-01-06 Sven Neumann <sven@gimp.org>
12916 * plug-ins/Makefile.am: fixed --without-jpeg configure option
12919 2008-01-06 Michael Natterer <mitch@gimp.org>
12921 * app/gegl/gimpoperationtilesource.c
12922 * app/gegl/gimpoperationtilesink.c: formatting.
12924 2008-01-06 Sven Neumann <sven@gimp.org>
12926 * libgimpbase/gimpchecks.c
12927 * libgimp/gimpunitcache.c
12928 * libgimpwidgets/gimppageselector.c
12929 * libgimpwidgets/gimpcolorscales.c: removed redundant checks for
12930 enum values (which are unsigned) >= 0.
12932 2008-01-06 Sven Neumann <sven@gimp.org>
12934 * plug-ins/common/convmatrix.c (convolve_image): fixed out-of-bounds
12937 2008-01-06 Sven Neumann <sven@gimp.org>
12939 * libgimpwidgets/gimpmemsizeentry.c: use G_GUINT64_CONSTANT()
12942 2008-01-06 Sven Neumann <sven@gimp.org>
12944 * plug-ins/common/tile.c (tile): update the progress less often.
12946 2008-01-05 Manish Singh <yosh@gimp.org>
12948 * plug-ins/pygimp/pygimp-image.c: new Image.new_layer() method,
12949 which is convenience for creating, filling, and attaching a new
12950 layer onto an image. Based on a idea and patch by João S. O. Bueno
12953 2008-01-05 Manish Singh <yosh@gimp.org>
12955 * app/core/gimpimagemap.c: hardcode a declaration of
12956 gegl_node_add_child() in here for now.
12958 2008-01-05 Øyvind Kolås <pippin@gimp.org>
12960 * app/gegl/gegl/gegl-operation-sink.h:
12961 * app/gegl/gegl/gegl-operation-source.h:
12962 * app/gegl/gegl/gegl-operation.h:
12963 * app/gegl/gegl/gegl-types.h:
12964 * app/gegl/gegl/graph/:
12965 * app/gegl/gegl/graph/gegl-node-context.h: synchronoised with GEGL
12968 * app/gegl/gimpoperationtilesink.c:
12969 * app/gegl/gimpoperationtilesource.c: updated to new API, where a
12970 GeglNodeContext is used in process methods instead of gpointer
12973 2008-01-04 Øyvind Kolås <pippin@gimp.org>
12975 * app/gegl/gegl/gegl-operation-sink.h:
12976 * app/gegl/gegl/gegl-operation-source.h:
12977 * app/gegl/gegl/gegl-operation.h: synchronised with GEGL headers.
12979 * app/gegl/gimpoperationtilesink.c:
12980 * app/gegl/gimpoperationtilesource.c: added const GeglRectangle
12981 *result to arguments of _process().
12983 2008-01-04 Sven Neumann <sven@gimp.org>
12985 * app/config/gimpdisplayconfig.c: changed the default marching ants
12988 2008-01-04 Hans Breuer <hans@breuer.org>
12990 **/makefile.msc app/gimpcore.def : updated so it compiles and links
12991 (almost, see bug #507298)
12993 2008-01-04 Sven Neumann <sven@gimp.org>
12995 Merged from gimp-2-4 branch:
12997 * app/display/gimpdisplayshell-selection.c:
12998 draw marching ants with G_PRIORITY_DEFAULT_IDLE; fixes bug #479875.
13000 2008-01-04 Michael Natterer <mitch@gimp.org>
13002 * tools/pdbgen/pdb/color.pdb: optionally use gegl where we already
13003 have operations (breaking the indentation to keep the diff small
13006 * app/pdb/Makefile.am: add GEGL_CFLAGS.
13008 * app/pdb/color_cmds.c: regenerated.
13010 2008-01-04 Michael Natterer <mitch@gimp.org>
13012 * app/config/gimpcoreconfig.[ch]: add "use-gegl" property but
13013 don't serialize it.
13015 * app/widgets/gimptoolbox.c: add super ugly "Use GEGL" toggle to
13016 the toolbox so we don't need to have prefs open all the time when
13017 experimenting with gegl.
13019 * app/tools/gimpimagemaptool.[ch]: remove "Use GEGL" toggle from
13020 the tool dialogs and connect to the config property instead.
13022 * app/core/gimpdrawable-desaturate.c
13023 * app/core/gimpdrawable-invert.c: made them runtime-switchable by
13024 looking at the config property.
13026 2008-01-04 Michael Natterer <mitch@gimp.org>
13028 * app/gegl/Makefile.am
13029 * app/gegl/gegl-types.h
13030 * app/gegl/gimpoperationcolorize.[ch]
13031 * app/gegl/gimpoperationposterize.[ch]: new operators which still
13032 use a lot of gimp stuff they shouldn't use, but at least the
13033 infrastructure for improving them is there now.
13035 * app/gegl/gimp-gegl.c: register them.
13037 * app/tools/gimpcolorizetool.c
13038 * app/tools/gimpposterizetool.c: use them.
13040 2008-01-04 Michael Natterer <mitch@gimp.org>
13042 * app/core/gimpimagemap.c (gimp_image_map_apply): switch tile
13043 sources and sinks to assume linear data.
13045 2008-01-04 Michael Natterer <mitch@gimp.org>
13047 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_create_map):
13048 enable disabling gegl again, which i broke with my last commit.
13050 2008-01-04 Jakub Steiner <jimmac@ximian.com>
13052 * data/images/wilber-devel-icon.png
13053 * data/images/wilber-icon.png
13054 * data/images/wilber-devel.png
13055 * data/images/gimp-logo.png: sync to the latest wilber version.
13057 2008-01-04 Jakub Steiner <jimmac@ximian.com>
13059 * libgimpwidgets/wilber-16.png:
13060 * libgimpwidgets/wilber-22.png:
13061 * libgimpwidgets/wilber-32.png:
13062 * libgimpwidgets/wilber-48.png:
13063 * libgimpwidgets/wilber-64.png:
13064 * libgimpwidgets/wilber-256.png: update app icon. Add 256x256px
13067 2008-01-04 Sven Neumann <sven@gimp.org>
13069 * app/tools/gimprotatetool.c (rotate_angle_changed): also update
13070 trans_info[REAL_ANGLE]. Fixes bug #507167.
13072 2008-01-03 Bill Skaggs <weskaggs@primate.udavis.edu>
13074 committing patch by Simon Budig to give an indication
13075 when working on a layer mask, updated to fix staleness
13076 and respond to "edit-changed". Might fix bug #132204.
13078 * app/core/core-enums.[ch]: add GIMP_SELECTION_LAYER_ON.
13080 * app/core/gimplayermask.c: add handler for "edit-changed".
13082 * app/core/gimpcanvas.[ch]: add new style
13083 GIMP_CANVAS_STYLE_LAYER_MASK_ACTIVE.
13085 * app/display/gimpdisplayshell-selection.c: use new style
13086 when layer mask is active.
13089 2008-01-03 Michael Natterer <mitch@gimp.org>
13091 * app/tools/gimpimagemaptool.[ch]: keep the central processing
13092 node around here...
13094 * app/tools/gimpbrightnesscontrasttool.[ch]
13095 * app/tools/gimpthresholdtool.[ch]: ...instead of here.
13097 2008-01-03 Michael Natterer <mitch@gimp.org>
13099 * app/core/gimpimagemap.c: quite some cleanup (use GeglRectangle
13100 more globally and don't leave stuff around if we abort for
13103 2008-01-03 Michael Natterer <mitch@gimp.org>
13105 * app/gegl/Makefile.am
13106 * app/gegl/gegl-types.h
13107 * app/gegl/gimpoperationthreshold.[ch]: gimpish threshold operator
13108 which has "low" and "high" properties.
13110 * app/gegl/gimp-gegl.c: register it.
13112 * app/gegl/gimpoperationdesaturate.[ch]: fix copyright.
13114 * app/tools/gimpthresholdtool.[ch]: use the new operator.
13116 2008-01-03 Michael Natterer <mitch@gimp.org>
13118 Some more gegl code to have some playground for experimenting.
13120 * app/gegl/Makefile.am
13121 * app/gegl/gegl-types.h
13122 * app/gegl/gimpoperationdesaturate.[ch]: ported desaturate.
13124 * app/gegl/gimp-gegl.c: register it.
13126 * app/gegl/gimpoperationtilesink.h: fix name of parent class member.
13128 * app/core/gimpdrawable-desaturate.c: use the new operator, but
13129 keep the old code around (prepared for runtime switching).
13131 * app/core/gimpdrawable-invert.c: prepare for runtime switching
13134 2008-01-03 Michael Natterer <mitch@gimp.org>
13136 * app/gegl/gegl/gegl-operation-sink.h
13137 * app/gegl/gegl/gegl-operation-source.h: updated copies from gegl.
13139 * app/gegl/gegl/gegl-operation-filter.h
13140 * app/gegl/gegl/gegl-operation-point-filter.h: new files from gegl.
13142 2008-01-03 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13144 * plug-ins/common/randomize.c: added previews for hurl,
13147 2008-01-02 Michael Natterer <mitch@gimp.org>
13149 * app/core/Makefile.am
13150 * app/core/gimpdrawable-operation.[ch]: new files containing
13151 gimp_drawable_apply_operation() which applies a gegl operation
13152 to a drawable's selected pixels using shadow tiles. Will soon
13153 be used in more places than just invert.
13155 * app/core/gimpdrawable-invert.c: use it here, makes
13156 gimp_drawable_invert() a 3-liner.
13158 2008-01-01 Martin Nordholts <martinn@svn.gnome.org>
13160 * app/tools/gimprectangletool.c (gimp_rectangle_tool_start): Use ×
13161 instead of x when initializing the rectangle size in the status
13164 2007-12-30 Sven Neumann <sven@gimp.org>
13166 * app/gegl/gimp-gegl-utils.[ch]: added new function
13167 gimp_bpp_to_babl_format_linear().
13169 * app/gegl/gimpoperationtilesink.[ch]
13170 * app/gegl/gimpoperationtilesource.[ch]: added boolean property to
13171 toggle between linear and gamma-corrected data.
13173 * app/core/gimpdrawable-invert.c: assume linear data to be closer
13174 to the original definition of the invert operation in GIMP.
13175 Enable the GEGL code path per default.
13177 2007-12-30 Sven Neumann <sven@gimp.org>
13179 * app/core/gimpdrawable-invert.c (gimp_drawable_invert): moved
13180 processing in the GEGL code path back to the main loop.
13182 2007-12-30 Michael Natterer <mitch@gimp.org>
13184 * app/tools/gimpcolorbalancetool.c
13185 * app/tools/gimpcolorizetool.c
13186 * app/tools/gimpcurvestool.c
13187 * app/tools/gimphuesaturationtool.c
13188 * app/tools/gimplevelstool.c
13189 * app/tools/gimpposterizetool.c
13190 * app/tools/gimpthresholdtool.c: #include <gegl.h>. Fixes the build.
13192 2007-12-30 Michael Natterer <mitch@gimp.org>
13194 First actual image processing with GEGL! Wheeeee :-)
13196 * app/core/gimpimagemap.[ch]: added code to use gegl instead of the
13197 old apply_func and apply_data.
13199 (gimp_image_map_new): add GeglNode parameter that, if passed,
13200 switches the whole thing to using a gegl graph with this node
13201 as central processing node.
13203 * app/tools/gimpimagemaptool.[ch]: add virtual function
13204 get_operation() which, if implemented, returns a GeglNode to pass
13205 to gimp_image_map_new(). Added a "Use GEGL" toggle so we can
13206 switch between legacy and gegl code for the migration period.
13208 * app/tools/gimpbrightnesscontrasttool.[ch]: implement
13209 get_operation() and return a brightness-contrast node.
13211 (gimp_briughtness_contrast_tool_map): set the node's properties
13214 2007-12-30 Sven Neumann <sven@gimp.org>
13216 * app/display/gimpstatusbar.[ch]
13217 * app/widgets/gimpprogressbox.[ch]: only update the GtkProgressBar
13218 if that would cause a visible change.
13220 2007-12-30 Manish Singh <yosh@gimp.org>
13222 * plug-ins/pygimp/pygimp-tile.c: subscript API for PixelFetcher.
13224 2007-12-30 Michael Natterer <mitch@gimp.org>
13226 * app/gegl/gimpoperationtilesource.c: minor cleanup.
13228 * app/gegl/gimpoperationtilesink.[ch]: add "data-written" signal
13229 that is emitted whenever pixels have been written to the tile
13232 2007-12-30 Øyvind Kolås <pippin@gimp.org>
13234 * app/core/Makefile.am: added GEGL_CFLAGS.
13235 * app/core/gimpdrawable-invert.c: added an alternate GEGL code path
13236 that can be enabled by uncommenting ENABLE_GEGL in the file.
13238 2007-12-30 Manish Singh <yosh@gimp.org>
13240 * plug-ins/pygimp/gimpmodule.c
13241 * plug-ins/pygimp/pygimp-pdb.c
13242 * plug-ins/pygimp/pygimp-colors.c
13243 * plug-ins/pygimp/pygimpcolor-api.h
13244 * plug-ins/pygimp/pygimpcolor.h: Move pygimp_rgb_from_pyobject into
13245 the gimpcolor module, and make it handle translation of sequences
13246 into colors too. Make the GimpParam translation code use it.
13248 * plug-ins/pygimp/gimpcolormodule.c: Initial wrapping of
13249 gimp_bilinear color functions.
13251 * plug-ins/pygimp/gimpenumsmodule.c
13252 * plug-ins/pygimp/gimpmodule.c
13253 * plug-ins/pygimp/pygimp.h
13254 * plug-ins/pygimp/pygimp-tile.c: Basic wrapping of GimpPixelFetcher.
13256 2007-12-30 Øyvind Kolås <pippin@gimp.org>
13258 reviewed by: <delete if not using a buddy>
13260 * app/core/Makefile.am:
13261 * app/core/gimpdrawable-invert.c: (idle_fun),
13262 (gimp_drawable_invert):
13264 2007-12-30 Øyvind Kolås <pippin@gimp.org>
13266 * app/gegl/gimpoperationtilesink.c: specify that this operation does
13267 not need the full buffer available before "flushing" the sink.
13269 * app/gegl/gegl/gegl-operation-sink.h:
13270 * app/gegl/gegl/gegl-operation.h: updated copy of headers.
13272 2007-12-30 Sven Neumann <sven@gimp.org>
13274 * plug-ins/jpeg/jpegqual.c (quant_info): added entry for Canon
13275 Digital Ixus v2 and removed duplicate entry.
13277 2007-12-30 Sven Neumann <sven@gimp.org>
13279 * plug-ins/jpeg/jpegqual.c: use G_OPTION_REMAINING to access the
13280 filenames passed as command-line arguments.
13282 2007-12-30 Sven Neumann <sven@gimp.org>
13284 * plug-ins/script-fu/scripts/chip-away.scm: applied another patch
13285 from Ulf-D. Ehlert for the parameter range (bug #506110).
13287 2007-12-29 Øyvind Kolås <pippin@gimp.org>
13289 * app/gegl/gimpoperationtilesource.c: override the default behaviour
13290 of GeglOperationSource to expand the result rect to the full have
13291 rect with a NULL (nop) implementation.
13293 2007-12-30 Sven Neumann <sven@gimp.org>
13295 * app/core/gimpdrawable-invert.[ch]: let gimp_drawable_invert()
13296 take a GimpProgress parameter.
13298 * tools/pdbgen/pdb/color.pdb
13299 * app/pdb/color_cmds.c
13300 * app/actions/drawable-commands.c: changed accordingly.
13302 2007-12-29 Michael Natterer <mitch@gimp.org>
13304 * app/actions/Makefile.am
13305 * app/core/Makefile.am
13306 * app/display/Makefile.am
13307 * app/tools/Makefile.am: use GEGL_CFLAGS.
13309 2007-12-29 Sven Neumann <sven@gimp.org>
13311 * app/gegl/gimpoperationtilesink.c
13312 * app/gegl/gimpoperationtilesource.c: formatting.
13314 2007-12-29 Øyvind Kolås <pippin@gimp.org>
13316 * app/gegl/gimpoperationtilesource.c: do not fetch the full extent
13317 of the TileManager but only the needed pixels. Pass rowstride
13318 correctly when fecting subregions.
13320 2007-12-29 Øyvind Kolås <pippin@gimp.org>
13322 * configure.in: depend on GEGL 0.0.15 (version ends in odd, thus
13323 depending on svn trunk of GEGL).
13325 * app/gegl/gimpoperationtilesource.c:
13326 (gimp_operation_tile_source_process): just use GEGL_AUTO_ROWSTRIDE for
13327 the rowstride in gegl_buffer_set for now.
13329 2007-12-29 Michael Natterer <mitch@gimp.org>
13331 * app/tools/gimpbrightnesscontrasttool.c
13332 * app/tools/gimpcolorbalancetool.c
13333 * app/tools/gimpcolorizetool.c
13334 * app/tools/gimphuesaturationtool.c
13335 * app/tools/gimplevelstool.c
13336 * app/tools/gimpthresholdtool.c: more cleanup in preparation of
13339 2007-12-29 Michael Natterer <mitch@gimp.org>
13341 * app/gegl/gimp-gegl.c
13342 * app/gegl/gimpoperationtilesource.c
13343 * app/gegl/gimpoperationtilesink.c: fixup includes a bit.
13345 2007-12-29 Øyvind Kolås <pippin@gimp.org>
13347 * app/gegl/gegl/buffer/: added.
13348 * app/gegl/gegl/buffer/gegl-buffer-types.h: added from GEGL trunk.
13350 * app/gegl/gegl/gegl-operation.h: ..
13351 * app/gegl/gegl/gegl-types.h: updated copy from GEGL trunk.
13353 * app/gegl/gimp-gegl.c:
13354 * app/gegl/gimpoperationtilesink.c:
13355 * app/gegl/gimpoperationtilesource.c: Modified to build with direct
13356 copies of GEGL headers.
13358 2007-12-29 Michael Natterer <mitch@gimp.org>
13360 * app/base/tile-manager.[ch]: add boxed type GIMP_TYPE_TILE_MANAGER.
13362 * app/gegl/gimpoperationtilesink.c
13363 * app/gegl/gimpoperationtilesource.c: use GParamSpecBoxed instead
13364 of GParamSpecPointer for the tile-manager properties and ref them
13365 properly. Some cleanup.
13367 2007-12-29 Sven Neumann <sven@gimp.org>
13369 * app/gegl/gimp-gegl-utils.h: declare gimp_bpp_to_babl_format() as
13372 2007-12-29 Michael Natterer <mitch@gimp.org>
13374 * app/gegl/gimpoperationtilesink.c (tile_sink_process): add
13375 some const that should also be in the gegl api *cough*.
13377 2007-12-29 Michael Natterer <mitch@gimp.org>
13379 * app/gegl/gimp-gegl-utils.c (gimp_bpp_to_babl_format): use
13380 g_return_val_if_fail() instead of g_warning().
13382 2007-12-29 Michael Natterer <mitch@gimp.org>
13384 * app/gegl/gimp-gegl-utils.c: new files containing
13385 gimp_bpp_to_babl_format().
13387 * app/gegl/gimpoptilesink.[ch]
13388 * app/gegl/gimpoptilesource.[ch]: renamed..
13390 * app/gegl/gimpoperationtilesink.[ch]
13391 * app/gegl/gimpoperationtilesource.[ch]: ...to these. Cleaned them
13392 up quite a bit more.
13394 * app/gegl/Makefile.am
13395 * app/gegl/gimp-gegl.c: changed accordingly.
13397 2007-12-29 Michael Natterer <mitch@gimp.org>
13401 * app/Makefile.am: change linking order.
13403 * app/main.c: move gegl initialization from here...
13405 * app/app.c: ...to here.
13407 * app/gegl/gimpops.c: removed.
13409 * app/gegl/gimp-gegl.[ch]
13410 * app/gegl/gegl-types.h: added.
13412 * app/gegl/Makefile.am: changed accordingly.
13414 * app/gegl/gimpoptilesink.[ch]
13415 * app/gegl/gimpoptilesource.[ch]: made more gimpish.
13417 2007-12-29 Øyvind Kolås <pippin@gimp.org>
13419 Added adapter GEGL operations for reading and writing to TileManagers.
13422 * app/Makefile.am: added gegl subdir.
13423 * app/gegl/Makefile.am: added.
13424 * app/gegl/gimpops.c: (gimp_gegl_ops_init):
13425 * app/gegl/gimpoptilesink.[ch]: adapter GEGL operation for writing to
13426 GIMP tile managers.
13427 * app/gegl/gimpoptilesource.[ch]: adapter GEGL operation for reading
13428 from GIMP tile managers.
13429 * app/main.c: (main): call gimp_gegl_ops_init()
13430 * app/gegl/gegl/: added some headers from GEGL that are not installed
13431 since they are not public API yet.
13433 2007-12-29 Simon Budig <simon@gimp.org>
13435 * app/display/gimpdisplayshell.c: don't use ceil, use SCALEX.
13436 * app/display/gimpdisplayshell-transform.c: Round hopefully more
13439 This probably exchanges one set of artefacts for another one...
13441 * app/display/gimpdisplayshell-render.c: minor fixes.
13442 * app/display/gimpdisplayshell-selection.c: whitespace fix
13444 2007-12-28 Sven Neumann <sven@gimp.org>
13446 * app/widgets/gimprender.h: removed GIMP_RENDER_BUF_WIDTH and
13447 GIMP_RENDER_BUF_HEIGHT definitions.
13449 * app/display/gimpdisplayshell.h: define the size of the display
13450 render buffer here.
13452 * app/display/gimpdisplayshell.c
13453 * app/display/gimpdisplayshell-draw.c
13454 * app/widgets/gimprender.c: changed accordingly.
13456 2007-12-28 Sven Neumann <sven@gimp.org>
13458 * app/widgets/gimpcolormapeditor.c: don't use the render buffer.
13459 Use a white background until this widget is rewritten.
13461 2007-12-28 Michael Natterer <mitch@gimp.org>
13463 * app/widgets/gimpsamplepointeditor.c
13464 (gimp_sample_point_editor_points_changed): fix my last commit to
13465 this file (don't access sample points of NULL images).
13467 2007-12-28 Martin Nordholts <martinn@svn.gnome.org>
13469 * app/tools/gimprectangletool.c
13470 (gimp_rectangle_tool_update_highlight): When setting the
13471 highlight, use the external rectangle representation, not the
13474 2007-12-28 Sven Neumann <sven@gimp.org>
13476 * libgimpwidgets/gimpcairo-utils.[ch]: addec const qualifiers to
13477 GimpRGB parameters.
13479 * app/widgets/gimprender.[ch]: removed global variables for
13480 checkerboard colors and introduced functions to get the
13481 checkerboard colors as pointers to GimpRGB structs.
13483 * app/actions/view-actions.c
13484 * app/display/gimpdisplayshell-appearance.c
13485 * app/widgets/gimpviewrenderer.c
13486 * app/widgets/gimpcolormapeditor.c: changed accordingly.
13488 2007-12-28 Sven Neumann <sven@gimp.org>
13490 * libgimpwidgets/gimpcairo-utils.[ch]: added light and dark check
13491 color parameters to gimp_cairo_checkerboard_create().
13493 * libgimpwidgets/gimpcellrenderercolor.c
13494 * app/widgets/gimpviewrenderer.c (gimp_view_renderer_real_draw):
13495 changed accordingly.
13497 2007-12-28 Sven Neumann <sven@gimp.org>
13499 * plug-ins/script-fu/scripts/chip-away.scm: applied patch from
13500 Ulf-D. Ehlert that fixes the range of the "Chip amount" parameter
13503 2007-12-28 Sven Neumann <sven@gimp.org>
13505 * app/widgets/gimpviewrenderer.c: cache the checkerboard pattern.
13507 2007-12-28 Sven Neumann <sven@gimp.org>
13509 * app/widgets/gimpviewrenderer.c (gimp_view_renderer_real_draw):
13510 if the surface has CAIRO_CONTENT_COLOR_ALPHA, render it on a
13511 checkerboard background.
13513 * app/widgets/gimpviewrenderergradient.[ch]: just draw the
13514 gradient with alpha-transparency instead of doing the blend on the
13517 * app/widgets/gimpcolormapeditor.c: formatting.
13519 2007-12-27 Michael Natterer <mitch@gimp.org>
13521 * app/tools/gimpcolorbalancetool.c: remove the same cruft here.
13523 2007-12-27 Michael Natterer <mitch@gimp.org>
13525 * app/tools/gimpbrightnesscontrasttool.c: remove unused cruft.
13527 2007-12-27 Sven Neumann <sven@gimp.org>
13529 * app/widgets/gimpthumbbox.c (gimp_thumb_box_new): enable line
13530 wrapping on the info label.
13532 2007-12-26 Michael Natterer <mitch@gimp.org>
13534 * app/actions/image-commands.c
13535 * app/actions/select-commands.c
13536 * app/core/gimp-edit.c
13537 * app/core/gimpdrawable-stroke.c
13538 * app/core/gimpimage-duplicate.c
13539 * app/core/gimpimage-preview.c
13540 * app/core/gimpimage-rotate.c
13541 * app/core/gimpimageundo.c
13542 * app/core/gimpitem-preview.c
13543 * app/dialogs/grid-dialog.c
13544 * app/dialogs/layer-options-dialog.c
13545 * app/dialogs/offset-dialog.c
13546 * app/dialogs/stroke-dialog.c
13547 * app/display/gimpdisplayshell-scale.c
13548 * app/display/gimpdisplayshell-title.c
13549 * app/display/gimpdisplayshell.c
13550 * app/display/gimpstatusbar.c
13551 * app/paint/gimppaintoptions.c
13552 * app/tools/gimpmagnifytool.c
13553 * app/tools/gimpmeasuretool.c
13554 * app/tools/gimppainttool.c
13555 * app/tools/gimprectangletool.c
13556 * app/tools/gimprotatetool.c
13557 * app/tools/gimpscaletool.c
13558 * app/tools/gimptexttool.c
13559 * app/vectors/gimpvectors-export.c
13560 * app/vectors/gimpvectors-import.c
13561 * app/widgets/gimpcursorview.c
13562 * app/widgets/gimpimagepropview.c
13563 * app/widgets/gimptoolbox-dnd.c
13564 * app/widgets/gimpviewrendererdrawable.c
13565 * app/widgets/gimpviewrendererimage.c
13566 * app/xcf/xcf-load.c
13567 * app/xcf/xcf-save.c: use gimp_image_get/set_resolution() instead
13568 of accessing the GimpImage members directly.
13570 2007-12-26 Sven Neumann <sven@gimp.org>
13572 * app/paint/gimpbrushcore.c: sprinkled with const qualifiers.
13574 2007-12-25 Michael Natterer <mitch@gimp.org>
13576 * app/core/gimpimage-guides.[ch]
13577 * app/core/gimpimage-sample-points.[ch]: add accessors for the lists
13578 of guides and sample points.
13580 * app/core/gimpimage-crop.c
13581 * app/core/gimpimage-duplicate.c
13582 * app/core/gimpimage-flip.c
13583 * app/core/gimpimage-resize.c
13584 * app/core/gimpimage-rotate.c
13585 * app/core/gimpimage-scale.c
13586 * app/core/gimpimage-snap.c
13587 * app/core/gimpimage.c
13588 * app/display/gimpdisplayshell-appearance.c
13589 * app/display/gimpdisplayshell-draw.c
13590 * app/display/gimpdisplayshell.c
13591 * app/widgets/gimpsamplepointeditor.c
13592 * app/xcf/xcf-save.c: use the new accessors.
13594 2007-12-25 Michael Natterer <mitch@gimp.org>
13596 * app/core/gimpimage.h (struct GimpImage):: renamed "cmap" to
13597 "colormap" and "num_cols" to "n_colors".
13599 * app/core/gimpimage.c
13600 * app/core/gimpimage-colormap.[ch]
13601 * app/widgets/gimpcolormapeditor.c: changed accordingly.
13603 2007-12-25 Michael Natterer <mitch@gimp.org>
13605 * app/actions/channels-commands.c
13606 * app/actions/colormap-actions.c
13607 * app/actions/colormap-commands.c
13608 * app/actions/image-commands.c
13609 * app/core/gimp-edit.c
13610 * app/core/gimpdrawable-preview.c
13611 * app/core/gimpimage-colorhash.c
13612 * app/core/gimpimage-colormap.c
13613 * app/core/gimpimage-convert.c
13614 * app/core/gimpimage-crop.c
13615 * app/core/gimpimage-duplicate.c
13616 * app/core/gimpimage-flip.c
13617 * app/core/gimpimage-guides.c
13618 * app/core/gimpimage-merge.c
13619 * app/core/gimpimage-preview.c
13620 * app/core/gimpimage-quick-mask.c
13621 * app/core/gimpimage-resize.c
13622 * app/core/gimpimage-rotate.c
13623 * app/core/gimpimage-sample-points.c
13624 * app/core/gimpimage-scale.c
13625 * app/core/gimpimage-snap.c
13626 * app/core/gimpimage.c
13627 * app/core/gimpimagefile.c
13628 * app/core/gimpimageundo.c
13629 * app/core/gimpitem-preview.c
13630 * app/core/gimpitem.c
13631 * app/core/gimplayer.c
13632 * app/core/gimppalette-import.c
13633 * app/core/gimpprojection-construct.c
13634 * app/core/gimpprojection.c
13635 * app/core/gimpselection.c
13636 * app/core/gimpundo.c
13637 * app/dialogs/layer-options-dialog.c
13638 * app/dialogs/print-size-dialog.c
13639 * app/display/gimpdisplay.c
13640 * app/display/gimpdisplayshell-draw.c
13641 * app/display/gimpdisplayshell-scale.c
13642 * app/display/gimpdisplayshell-scroll.c
13643 * app/display/gimpdisplayshell-title.c
13644 * app/display/gimpdisplayshell-transform.c
13645 * app/display/gimpdisplayshell.c
13646 * app/display/gimpstatusbar.c
13647 * app/file/file-open.c
13648 * app/paint/gimppaintoptions.c
13649 * app/tools/gimpaligntool.c
13650 * app/tools/gimpcolortool.c
13651 * app/tools/gimpeditselectiontool.c
13652 * app/tools/gimpiscissorstool.c
13653 * app/tools/gimpmeasuretool.c
13654 * app/tools/gimpmovetool.c
13655 * app/tools/gimpperspectiveclonetool.c
13656 * app/tools/gimprectangleselecttool.c
13657 * app/tools/gimprectangletool.c
13658 * app/tools/gimprotatetool.c
13659 * app/vectors/gimpvectors-export.c
13660 * app/vectors/gimpvectors-import.c
13661 * app/vectors/gimpvectors.c
13662 * app/widgets/gimpimagepropview.c
13663 * app/widgets/gimpnavigationview.c
13664 * app/widgets/gimpselectioneditor.c
13665 * app/widgets/gimpviewrendererdrawable.c
13666 * app/widgets/gimpviewrendererimage.c
13667 * app/xcf/xcf-load.c
13668 * app/xcf/xcf-save.c
13669 * tools/pdbgen/pdb/guides.pdb
13670 * tools/pdbgen/pdb/image.pdb: use accessors for many image properties.
13672 * app/pdb/guides_cmds.c
13673 * app/pdb/image_cmds.c: regenerated.
13675 2007-12-25 Michael Natterer <mitch@gimp.org>
13677 * app/dialogs/file-save-dialog.c: forgot to port some debug output
13680 2007-12-23 Michael Natterer <mitch@gimp.org>
13682 * app/actions/layers-commands.c
13683 * app/core/gimpchannel-combine.c
13684 * app/core/gimpchannel-select.c
13685 * app/core/gimpchannel.c
13686 * app/core/gimpdrawable-convert.c
13687 * app/core/gimpdrawable.c
13688 * app/core/gimpdrawablemodundo.c
13689 * app/core/gimpfloatingselundo.c
13690 * app/core/gimpimage-convert.c
13691 * app/core/gimpimage-merge.c
13692 * app/core/gimpimage-resize.c
13693 * app/core/gimpimage.c
13694 * app/core/gimpitem-preview.c
13695 * app/core/gimpitem.c
13696 * app/core/gimplayer-floating-sel.c
13697 * app/core/gimplayer.c
13698 * app/core/gimplayermask.c
13699 * app/core/gimplayerundo.c
13700 * app/core/gimpmaskundo.c
13701 * app/core/gimppalette-import.c
13702 * app/core/gimpprojection-construct.c
13703 * app/core/gimpselection.c
13704 * app/dialogs/offset-dialog.c
13705 * app/text/gimptextlayer-xcf.c
13706 * app/text/gimptextlayer.c
13707 * app/vectors/gimpvectors-compat.c
13708 * app/vectors/gimpvectors.c
13709 * app/vectors/gimpvectorsmodundo.c
13710 * app/widgets/gimplayertreeview.c
13711 * app/widgets/gimpviewrendererdrawable.c
13712 * app/widgets/gimpviewrenderervectors.c: use accessors for item,
13713 layer, channel and mask attributes.
13715 2007-12-22 Sven Neumann <sven@gimp.org>
13717 * app/core/gimpimage-sample-points.c
13718 (gimp_image_add_sample_point_at_pos): corrected undo description.
13720 2007-12-22 Sven Neumann <sven@gimp.org>
13722 * data/palettes/Tango.gpl: removed duplicate entry ("Untitled").
13724 2007-12-21 Michael Natterer <mitch@gimp.org>
13726 * app/tools/gimpeditselectiontool.c
13727 * app/tools/gimpiscissorstool.c
13728 * app/tools/gimptexttool.c
13729 * app/tools/gimptransformtool.c: use accessors for drawable and
13732 2007-12-21 Michael Natterer <mitch@gimp.org>
13734 * app/xcf/xcf-save.c
13735 * app/xcf/xcf-load.c: use accessors for colormap, parasites and
13736 more item, layer, channel and mask properties instead of accessing
13737 the object structs directly. Some minor style cleanups.
13739 2007-12-20 Sven Neumann <sven@gimp.org>
13741 * app/plug-in/gimppluginmanager-menu-branch.[ch]: added accessor
13742 for the list of menu branches.
13744 * app/actions/plug-in-actions.c (plug_in_actions_setup): use it.
13746 2007-12-20 Sven Neumann <sven@gimp.org>
13748 * configure.in: readded some AC_SUBST() that were removed under
13749 the wrong assumption they would not be needed any longer.
13750 Consistently use # to mark comments in configure.in.
13752 2007-12-20 Sven Neumann <sven@gimp.org>
13754 * app/app.c: call gegl_exit() on shutdown.
13756 2007-12-20 Sven Neumann <sven@gimp.org>
13759 * configure.in: require GEGL >= 0.0.14.
13762 * app/app.c: initialize the GEGL library.
13764 2007-12-20 Sven Neumann <sven@gimp.org>
13766 * app/paint/gimpink.c: minor cleanup.
13768 2007-12-20 Sven Neumann <sven@gimp.org>
13770 * authors.xml: updated last-active attribute for recent contributors.
13772 2007-12-20 Sven Neumann <sven@gimp.org>
13775 * plug-ins/Makefile.am
13776 * plug-ins/psd: added new PSD load plug-in written by John Marshall.
13777 This plug-in adds a couple of features. See bug #448181 for details.
13779 * plug-ins/common/Makefile.am
13780 * plug-ins/common/plugin-defs.pl
13781 * plug-ins/common/psd-load.c: removed old psd-load plug-in.
13783 2007-12-20 Sven Neumann <sven@gimp.org>
13785 * app/widgets/gimpprofilechooserdialog.c: added code for adding a
13786 shortcut to the default ICC profile location on Windows. Based on
13787 a patch by John Marshall (bug #503410).
13789 2007-12-20 Sven Neumann <sven@gimp.org>
13791 * app/actions/documents-commands.c (documents_clear_cmd_callback):
13792 adapt to changed gimp_documents_save() API.
13794 2007-12-19 Michael Natterer <mitch@gimp.org>
13796 * app/core/gimp-contexts.[ch]
13797 * app/core/gimp-documents.[ch]: add GErrors to save() and load().
13800 * app/tools/gimp-tools.c: handle the returned errors.
13802 2007-12-18 Sven Neumann <sven@gimp.org>
13804 * plug-ins/common/psd-load.c: applied patch from John Marshall
13805 that fixes handling of PSD files with blank layer names (bug #504149).
13807 2007-12-18 Kevin Cozens <kcozens@cvs.gnome.org>
13809 * plug-ins/script-fu/tinyscheme/scheme.c: Added extra checks to stop
13810 bad syntax in LET*, LET, and LETREC from causing a segmentation fault
13811 in Linux. See SourceForge bug #1817986.
13813 2007-12-18 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13815 * libgimpwidgets/gimpstock.h: fix typo that probably caused
13818 2007-12-18 Michael Natterer <mitch@gimp.org>
13820 * app/xcf/xcf-load.c
13821 * app/xcf/xcf-save.c: use the proper APIs to get/set many item,
13822 layer, channel and vectors properties instead of reading/writing
13823 their struct members directly.
13825 2007-12-18 Sven Neumann <sven@gimp.org>
13827 * libgimpwidgets/gimpscrolledpreview.c
13828 * libgimpwidgets/gimpcolorselect.c: don't rely on the pointer
13829 position in the GdkEventMotion struct, query the pointer instead.
13831 2007-12-18 Sven Neumann <sven@gimp.org>
13833 * app/widgets/gimpgradienteditor.c: don't rely on the pointer
13834 position in the GdkEventMotion struct, query the pointer instead.
13836 2007-12-18 Sven Neumann <sven@gimp.org>
13838 * app/display/gimpnavigationeditor.c: minor cleanup.
13840 * app/widgets/gimpnavigationview.c
13841 (gimp_navigation_view_motion_notify): fixed handling of motion
13842 events that broke when I introduced the call to
13843 gdk_event_request_motions().
13845 2007-12-18 Sven Neumann <sven@gimp.org>
13847 * app/core/gimppalette-import.c
13848 * app/core/gimppalette-load.[ch]: applied slightly modified patch
13849 from Nicola Archibald that adds import of colors from CSS files
13852 * app/core/gimppalette.c (gimp_palette_find_entry): allow to call
13853 this function on an empty palette.
13855 2007-12-18 Sven Neumann <sven@gimp.org>
13857 * app/base/tile-pyramid.c: use the coordinate parameters in
13858 tile_data_pointer() instead of adjusting the pointer manually.
13860 2007-12-18 Sven Neumann <sven@gimp.org>
13862 * app/base/tile-pyramid.c
13863 * app/paint-funcs/paint-funcs.c: sprinkled with const qualifiers.
13865 2007-12-18 Sven Neumann <sven@gimp.org>
13867 * app/base/tile-manager.[ch]: renamed tile_manager_validate() to
13868 tile_manager_validate_tile(). If no validate_proc is set,
13869 initialize the tile data to all zero when validating it. This way
13870 we never hand out uninitialized data and valgrind doesn't need to
13871 complain any longer.
13873 * app/base/tile.c: changed accordingly.
13875 * app/core/gimpselection.c: no need to set an extra validate_proc
13876 here as the default implementation now does the job for us.
13878 2007-12-18 Sven Neumann <sven@gimp.org>
13880 * app/core/gimpdrawable.[ch]: made get_tiles() a method of
13883 2007-12-18 Sven Neumann <sven@gimp.org>
13885 * app/display/gimpdisplayshell-render.c
13886 (render_image_tile_fault_nearest): added code for 1 and 3 bytes
13887 per pixel. Fixes bug #504115.
13889 2007-12-16 Bill Skaggs <weskaggs@primate.udavis.edu>
13891 * plug-ins/common/edge.c: reverted to state pre-12/16.
13893 2007-12-17 Sven Neumann <sven@gimp.org>
13895 * app/core/gimpprojection-construct.c (project_intensity): minor
13898 2007-12-17 Sven Neumann <sven@gimp.org>
13900 * libgimp/gimpregioniterator.c: code cleanup; reduced number of
13903 2007-12-16 Bill Skaggs <weskaggs@primate.udavis.edu>
13905 * plug-ins/common/edge.c: name reverted to "Edge",
13906 label in combo reverted to "Prewitt", other changes kept.
13908 2007-12-16 Bill Skaggs <weskaggs@primate.udavis.edu>
13910 * plug-ins/common/edge.c: renamed to "Sharp Edges",
13911 added "invert" option, other usability tweaks.
13913 2007-12-16 Bill Skaggs <weskaggs@primate.udavis.edu>
13915 * menus/image-menu.xml.in: missed this yesterday
13917 2007-12-16 Sven Neumann <sven@gimp.org>
13919 * plug-ins/common/plugin-defs.pl
13920 * plug-ins/common/Makefile.am: re-added psd-load. Looks like Bill
13921 accidentally removed it.
13923 2007-12-16 Sven Neumann <sven@gimp.org>
13925 * libgimpwidgets/gimpcairo-utils.[ch]: added new function
13926 gimp_cairo_set_focus_line_pattern().
13928 * libgimpwidgets/gimpcellrenderercolor.c
13929 (gimp_cell_renderer_color_render): use the focus line pattern to
13930 emphasize the selected entry.
13932 * app/widgets/gimppaletteview.c (gimp_palette_view_expose): use the
13933 new utility function.
13935 * libgimpwidgets/gimpwidgets.def: updated.
13937 2007-12-15 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13939 * app/widgets/gimphelp-ids.h
13940 * app/display/gimpdisplayshell-scale.[ch]
13941 * app/display/gimpnavigationeditor.[ch]
13942 * app/actions/view-commands.[ch]
13943 * app/actions/view-commands.c:
13945 Changed "Fit Image to Window" to "Fill Window", and changed
13946 "fit-to" to "fill" in all the related things. Fixes
13949 2007-12-15 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13951 * plug-ins/common/mapcolor.c: removed
13952 * plug-ins/common/plugin-defs.pl
13953 * plug-ins/common/Makefile.am: updated accordingly
13955 See bug #436145 for the reasons for removing this plug-in.
13957 2007-12-14 Sven Neumann <sven@gimp.org>
13959 * app/widgets/gimpfiledialog.c: added utility function to reduce
13962 2007-12-14 Kevin Cozens <kcozens@cvs.gnome.org>
13964 * plug-ins/script-fu/tinyscheme/scheme.c (eqv): Only return true
13965 when numbers are of equal value AND of the same type (ie. both
13966 exact or inexact). R5RS compliance fix.
13968 2007-12-14 Martin Nordholts <martinn@svn.gnome.org>
13970 Reverted the changes that made GimpRectangleTool keep track of its
13971 active display in GimpRectangleToolPrivate, the approach is
13974 2007-12-14 Michael Natterer <mitch@gimp.org>
13976 * tools/pdbgen/pdb/edit.pdb: use gimp_pdb_get_buffer() which
13977 sets a proper error instead of looking up the buffers manually.
13979 * app/pdb/edit_cmds.c
13980 * libgimp/gimpedit_pdb.c: regenerated.
13982 2007-12-14 Michael Natterer <mitch@gimp.org>
13984 * app/core/gimp-edit.[ch]: added GErrors when functions can fail.
13986 * app/actions/edit-commands.c: handle the returned errors.
13988 * tools/pdbgen/pdb/edit.pdb: same here (*don't* pass the error as
13989 usual since these functions never fail but have a boolean return
13990 value indicating success instead; ugly, but better than having the
13991 gimp_message() calls in the core). Also changed the named buffer
13992 cut and copy functions to do the same (never fail but return a
13993 NULL buffer name on failure), so they behave as documented.
13995 * app/pdb/edit_cmds.c: regenerated.
13997 2007-12-14 Sven Neumann <sven@gimp.org>
13999 * app/base/tile-pyramid.c: reduced rounding errors.
14001 2007-12-13 Martin Nordholts <martinn@svn.gnome.org>
14003 * app/tools/gimprectangletool.[ch]: Changed name of
14004 `gimp_rectangle_tool_is_active_at' to
14005 `gimp_rectangle_tool_is_active_on_display'.
14007 * app/tools/gimpcroptool.c
14008 * app/tools/gimprectangleselecttool.c: Use the new name.
14010 2007-12-13 Martin Nordholts <martinn@svn.gnome.org>
14012 * app/tools/gimprectangletool.[ch]: Don't use the `display' member
14013 of GimpTool for keeping track of what display the rectangle is
14014 active on. Instead store the active display in
14015 GimpRectangleToolPrivate. This change is based on a patch by Bill
14017 (gimp_rectangle_tool_is_active)
14018 (gimp_rectangle_tool_is_active_at)
14019 (gimp_rectangle_tool_get_active_display): New public functions for
14020 GimpRectangleTool active-display interaction.
14022 * app/tools/gimpcroptool.c
14023 * app/tools/gimprectangleselecttool.c
14024 * app/tools/gimpellipseselecttool.c: Use the active display of
14025 GimpRectangleTool instead of tool->display.
14027 2007-12-13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14029 * app/widgets/gimpfiledialog.c (gimp_file_dialog_new): add
14030 shortcut to user's DOCUMENTS dir, fixes bug #325294.
14032 2007-12-13 Sven Neumann <sven@gimp.org>
14034 * app/base/temp-buf.c (temp_buf_demultiply): corrected formula for
14035 demultiplying the alpha value.
14037 2007-12-13 Martin Nordholts <martinn@svn.gnome.org>
14039 * app/tools/gimprectangletool.c
14040 (gimp_rectangle_tool_button_release): Make canceling work a bit
14043 2007-12-13 Sven Neumann <sven@gimp.org>
14045 * app/base/tile-pyramid.c (tile_pyramid_write_quarter)
14046 * app/display/gimpdisplayshell-render.c
14047 (render_image_tile_fault_nearest): corrected formula used for
14048 pre-multiplying the alpha value.
14050 2007-12-13 Sven Neumann <sven@gimp.org>
14052 Speed up our display rendering code paths by keeping data with
14053 pre-multiplied alpha where possible. The projection tile-manager
14054 at 100 % zoom is not affected. So we can still always get the
14055 non-pre-multiplied pixel data.
14057 * app/core/gimpprojection.[ch]: removed
14058 gimp_projection_get_opacity(), the projection is always opaque.
14060 * app/base/tile-pyramid.[ch]: use pre-multiplied alpha for the
14061 upper levels of the pyramid. This speeds up validation of the
14062 upper levels significantly.
14064 * app/base/temp-buf.[ch]: added temp_buf_demultiply().
14066 * app/core/gimpimage-preview.c: demultiply the preview temp-buf
14067 obtained from the projection's tile tyramid.
14069 * app/display/gimpdisplayshell-draw.c
14070 * app/display/gimpdisplayshell-render.c: added code to deal with
14071 pre-multiplied data. In fact all data returned by
14072 render_image_tile_fault() is now pre-multiplied so that
14073 render_image_rgb_a() and render_image_gray_a() don't need to use
14074 the large lookup tables from gimprender.[ch] any longer.
14076 2007-12-13 Sven Neumann <sven@gimp.org>
14078 * app/widgets/gimprender.[ch]: export the light and dark check
14079 color so that places that just need this information don't have to
14080 access the gimp_render_blend_{dark,light}_check arrays.
14082 * app/actions/view-actions.c
14083 * app/display/gimpdisplayshell-appearance.c
14084 * app/widgets/gimpcolormapeditor.c: changed accordingly.
14086 2007-12-13 Sven Neumann <sven@gimp.org>
14088 * app/gimp-log.h: code cleanup.
14090 2007-12-13 Sven Neumann <sven@gimp.org>
14092 * app/base/tile-manager-crop.c (tile_manager_crop): code cleanup.
14094 2007-12-12 Tor Lillqvist <tml@novell.com>
14096 * libgimpbase/gimpenv.c (gimp_locale_directory) [Win32]: Use
14097 g_win32_locale_filename_from_utf8() instead of duplicating its
14100 2007-12-12 Martin Nordholts <martinn@svn.gnome.org>
14102 * app/tools/gimprectangletool.[ch]: Extended public interface a
14104 (gimp_rectangle_tool_point_in_rectangle): New convenience function
14105 to test if a point is within the rectangle (if active).
14106 (gimp_rectangle_tool_rectangle_is_new): New function so that
14107 clients can determine if the rectangle currently being
14108 rubber-banded was created from scatch or not.
14110 2007-12-12 Sven Neumann <sven@gimp.org>
14112 * libgimpwidgets/gimpcairo-utils.[ch]: renamed
14113 gimp_cairo_set_source_color() to gimp_cairo_set_source_rgb() and
14114 added an RGBA variant.
14116 * libgimpwidgets/gimpcellrenderercolor.c
14117 (gimp_cell_renderer_color_render)
14118 * app/widgets/gimpviewrenderer.c (gimp_view_renderer_draw): changed
14121 * libgimpwidgets/gimpwidgets.def: updated.
14123 2007-12-12 Sven Neumann <sven@gimp.org>
14125 * libgimpwidgets/gimpcairo-utils.[ch]: added new function
14126 gimp_cairo_checkerboard_create() and renamed
14127 gimp_cairo_create_surface_from_pixbuf() to
14128 gimp_cairo_surface_create_from_pixbuf().
14130 * libgimpwidgets/gimpcellrenderercolor.c
14131 (gimp_cell_renderer_color_render): use Cairo utils here.
14133 * app/widgets/gimpviewrenderer.c (gimp_view_renderer_create_pattern):
14134 changed accordingly.
14136 * libgimpwidgets/gimpwidgets.def: updated.
14138 2007-12-12 Sven Neumann <sven@gimp.org>
14140 * app/widgets/Makefile.am
14141 * app/widgets/gimpcairo-utils.[ch]: removed here...
14143 * libgimpwidgets/Makefile.am
14144 * libgimpwidgets/gimpcairo-utils.[ch]: and added here after some
14147 * libgimpwidgets/gimpwidgets.h: include gimpcairo-utils.h.
14149 * app/widgets/gimpviewrenderer.c
14150 * app/widgets/gimpviewrenderergradient.c
14151 * app/widgets/gimpviewrendererpalette.c: changed accordingly.
14153 * libgimpwidgets/gimpwidgets.def: updated for Cairo utils.
14155 * libgimp/gimp.def: added gimp_image_get_vectors_by_tattoo.
14157 2007-12-12 Michael Natterer <mitch@gimp.org>
14159 * app/core/gimpitem.[ch]: added GError to GimpItem::rename().
14161 * app/core/gimplayer.c
14162 * app/core/gimplayermask.c: set errors when renaming is impossible.
14164 * app/text/gimptextlayer.c
14165 * app/core/gimpimage-quick-mask.c: changed accordingly.
14167 * app/actions/channels-commands.c
14168 * app/actions/layers-commands.c
14169 * app/actions/vectors-commands.c
14170 * app/widgets/gimpitemtreeview.c: handle the returned errors.
14172 * tools/pdbgen/pdb/drawable.pdb
14173 * tools/pdbgen/pdb/vectors.pdb: pass the error.
14175 * app/pdb/drawable_cmds.c
14176 * app/pdb/vectors_cmds.c: regenerated.
14178 2007-12-12 Michael Natterer <mitch@gimp.org>
14180 * app/paint/gimpheal.c: no need to declare init() and class_init(),
14181 these declarations come for free with G_DEFINE_TYPE().
14183 2007-12-12 Michael Natterer <mitch@gimp.org>
14185 * app/core/gimplayer-floating-sel.c (floating_sel_to_layer): add
14186 missing return value, this is no void function any more.
14188 2007-12-12 Sven Neumann <sven@gimp.org>
14190 * plug-ins/common/whirlpinch.c: extended the range allowed for the
14191 whirl angle (bug #499398).
14193 2007-12-12 Sven Neumann <sven@gimp.org>
14197 * app/gui/gui.c (GTK_REQUIRED_MICRO): bumped minimum required
14198 version of gtk+ to 2.12.1.
14200 * app/widgets/gimpdockbook.c (gimp_dockbook_tab_drag_motion):
14201 removed unused parameter that was needed for gtk+ < 2.12.1.
14203 2007-12-12 Tor Lillqvist <tml@novell.com>
14205 * libgimpbase/gimpenv.c (gimp_toplevel_directory) [Win32]: Use the
14206 location of the libgimpbase DLL and not that of the main
14207 executable (which will be the Python interpreter in the case of
14208 python-fu) to determine the top-level GIMP installation
14211 (gimp_locale_directory) [Win32]: Guard against the possibility
14212 that we can't get the system codepage form of the locale
14213 directory, in case the installation folder contains characters not
14214 in the system codepage. In that case use the short name instead.
14216 2007-12-12 Sven Neumann <sven@gimp.org>
14218 * libgimpwidgets/gimpcellrenderercolor.c: draw using Cairo.
14220 2007-12-12 Tor Lillqvist <tml@novell.com>
14222 * app/base/tile-private.h
14223 * app/base/tile-swap.c: Move the LARGE_SEEK and LARGE_TRUNCATE
14224 macros from tile-private.h to tile-swap.c as they aren't used
14225 anywhere else, and the helper function used on Windows was static
14226 in tile-swap.c anyway. (#503124)
14228 2007-12-11 Kevin Cozens <kcozens@cvs.gnome.org>
14230 * plug-ins/script-fu/tinyscheme/scheme.c (get_consecutive_cells):
14231 Fix to prevent reporting out of memory when there should be plenty
14232 of cells still available. See SourceForge bug #1794369.
14234 2007-12-11 Kevin Cozens <kcozens@cvs.gnome.org>
14236 * plug-ins/script-fu/tinyscheme/scheme.c: Don't abort the top-level
14237 s-exp when loading a file. See SourceForge bug #1589711.
14239 2007-12-11 Kevin Cozens <kcozens@cvs.gnome.org>
14241 * plug-ins/script-fu/tinyscheme/scheme.c: Applied changes from
14242 official version of TinyScheme which fix is_integer(). See
14243 SourceForge bug #1593861.
14245 2007-12-11 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14247 * app/paint/gimpheal.c: heal from edge of brush mask
14248 instead of edges of paint area.
14250 * app/paint/gimpbrushcore.[ch]: export
14251 gimp_brush_core_get_brush_mask() to enable use of mask.
14253 2007-12-11 Michael Natterer <mitch@gimp.org>
14255 * app/pdb/Makefile.am
14256 * app/pdb/gimppdb-utils.[ch]: new utility functions which look up
14257 brushes, patterns etc. and set appropriate error messages if the
14258 objects are not found.
14260 * tools/pdbgen/pdb/brush.pdb
14261 * tools/pdbgen/pdb/brushes.pdb
14262 * tools/pdbgen/pdb/buffer.pdb
14263 * tools/pdbgen/pdb/context.pdb
14264 * tools/pdbgen/pdb/convert.pdb
14265 * tools/pdbgen/pdb/gradient.pdb
14266 * tools/pdbgen/pdb/gradients.pdb
14267 * tools/pdbgen/pdb/paint_tools.pdb
14268 * tools/pdbgen/pdb/palette.pdb
14269 * tools/pdbgen/pdb/palettes.pdb
14270 * tools/pdbgen/pdb/pattern.pdb
14271 * tools/pdbgen/pdb/patterns.pdb: use them here. Also set non_empty
14272 to TRUE for all brush, pattern etc. names.
14274 * app/pdb/brush_cmds.c
14275 * app/pdb/brushes_cmds.c
14276 * app/pdb/buffer_cmds.c
14277 * app/pdb/context_cmds.c
14278 * app/pdb/convert_cmds.c
14279 * app/pdb/gradient_cmds.c
14280 * app/pdb/gradients_cmds.c
14281 * app/pdb/paint_tools_cmds.c
14282 * app/pdb/palette_cmds.c
14283 * app/pdb/palettes_cmds.c
14284 * app/pdb/pattern_cmds.c
14285 * app/pdb/patterns_cmds.c: regenerated.
14287 2007-12-11 Sven Neumann <sven@gimp.org>
14289 * app/plug-in/gimpplugin-message.c: added sanity checks to message
14290 handlers. This doesn't keep us from crashing on invalid input, but
14291 we will at least get some warnings before that happens.
14293 * libgimpbase/gimpprotocol.c: made the code more robust against
14294 errors on the wire protocol level.
14296 2007-12-11 Sven Neumann <sven@gimp.org>
14298 * libgimpbase/gimpwire.c (_gimp_wire_read_string): use g_try_new()
14299 so a plug-in can't easily crash the core by sending an invalid
14302 2007-12-11 Sven Neumann <sven@gimp.org>
14304 * libgimpbase/gimpwire.c (gimp_wire_register): allocate
14305 GimpWireHandler structs using GSlice.
14307 2007-12-11 Sven Neumann <sven@gimp.org>
14309 * libgimpbase/gimpwire.c (_gimp_read_read_string): NULL-terminate
14310 all strings coming in over the wire protocol. Should help with bug
14312 (gimp_wire_register):
14314 2007-12-10 Sven Neumann <sven@gimp.org>
14316 * plug-ins/pygimp/gimpmodule.c (pygimp_set_background)
14317 (pygimp_set_foreground): allow the use of CSS color names and
14318 hexadecimal color notation.
14320 2007-12-10 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14322 * app/paint/gimpheal.c: make the healing brush work properly
14323 when dragged. Fixes bug #492575.
14325 2007-12-09 Hans Breuer <hans@breuer.org>
14327 * app/gimp-log.h : an ugly but working variant for no varargs macros
14329 * app/base/base-utils.c(get_physical_memory_size) : fallback to
14330 GetMemoryStatus() for older compiler/sdk
14332 * app/core/gimplayer-floating-sel.c : second argument to g_set_error()
14333 is an uint32, not a pointer
14335 * **/makefile.msc : updated and removed -GD to let msvc9 complain less
14337 2007-12-09 Martin Nordholts <martinn@svn.gnome.org>
14339 * app/tools/gimprectangletool.[ch]: Added
14340 gimp_rectangle_tool_init() (and minor code cleanup).
14342 * app/tools/gimprectangleselecttool.c
14343 (gimp_rect_select_tool_init): Call gimp_rectangle_tool_init().
14345 * app/tools/gimpcroptool.c
14346 (gimp_crop_tool_init): Call gimp_rectangle_tool_init().
14348 2007-12-08 Sven Neumann <sven@gimp.org>
14350 * plug-ins/pygimp/gimpfu.py (_run): fixed logic that decides if a
14351 dialog should be shown or not.
14353 2007-12-07 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14355 * app/core/gimpimage-snap.c: fix typo in previous commit.
14357 2007-12-07 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14359 * app/display/gimpdisplayshell-draw.c: draw grid correctly when
14360 non-integer spacing is combined with a large offset. Fixes
14363 * app/core/gimpimage-snap.c: make snapping to grid work when
14364 coord is less than the grid offset.
14366 2007-12-07 Sven Neumann <sven@gimp.org>
14368 * configure.in: fixed indentation of --help output.
14370 2007-12-07 Sven Neumann <sven@gimp.org>
14372 * plug-ins/pygimp/pygimp-colors.c
14373 * plug-ins/pygimp/gimpcolormodule.c: removed calls to PyMem_Free().
14375 2007-12-07 Sven Neumann <sven@gimp.org>
14377 * libgimpcolor/test-color-parser.c: removed unused import.
14379 2007-12-07 Michael Natterer <mitch@gimp.org>
14381 * app/display/gimpdisplayshell-callbacks.c
14382 (gimp_display_shell_tool_events): if a device change happens, make
14383 sure we update the new active tool's focus display and modifier
14384 state. Fixes most of bug #493176.
14386 2007-12-07 Michael Natterer <mitch@gimp.org>
14388 * app/gimp-log.[ch]: renamed log domain TOOLS to TOOL_EVENTS and
14389 added domain TOOL_FOCUS.
14391 * app/display/gimpdisplayshell-callbacks.c: s/TOOLS/TOOL_EVENTS/
14393 * app/tools/gimptool.c: port focus debug output to GIMP_LOG().
14395 2007-12-07 Michael Natterer <mitch@gimp.org>
14397 * app/core/gimpselection.[ch]: added GErrors to
14398 gimp_selection_extract() and gimp_selection_float().
14400 * app/core/gimp-edit.c
14401 * app/tools/gimpeditselectiontool.c
14402 * app/actions/select-commands.c: handle the returned error.
14404 * app/core/gimpdrawable-transform.c: pass NULL errors since this
14405 file knows what it does and won't get errors.
14407 * tools/pdbgen/pdb/selection.pdb: pass the error.
14409 * app/pdb/selection_cmds.c: regenerated.
14411 2007-12-07 Sven Neumann <sven@gimp.org>
14413 * plug-ins/pygimp/gimpui.py (ColorSelector.__init__): accept a
14414 string and parse it using gimpcolor.rgb_parse_css().
14416 * plug-ins/pygimp/plug-ins/sphere.py: show off the new feature.
14418 2007-12-07 Sven Neumann <sven@gimp.org>
14420 * plug-ins/pygimp/plug-ins/foggify.py: push/pop a context instead
14421 of manually restoring the background color.
14423 2007-12-07 Sven Neumann <sven@gimp.org>
14425 * app/batch.c (batch_run): only show the message about using the
14426 default batch interpreter when running in verbose mode.
14428 2007-12-06 Martin Nordholts <martinn@svn.gnome.org>
14430 * app/tools/gimprectangletool.c
14431 (gimp_rectangle_tool_set_property): Also update the integer
14432 representation of the rect when the GObject properties has been
14435 2007-12-06 Michael Natterer <mitch@gimp.org>
14437 * app/core/gimpimage-merge.[ch]
14438 * app/core/gimpimage-convert.[ch]: added GError parameters.
14440 * app/dialogs/convert-dialog.c
14441 * app/actions/image-commands.c
14442 * app/actions/vectors-commands.c: handle the returned error.
14444 * tools/pdbgen/pdb/convert.pdb: pass the error.
14446 * app/pdb/convert_cmds.c: regenerated.
14448 2007-12-06 Michael Natterer <mitch@gimp.org>
14450 * app/core/gimpdrawable-bucket-fill.[ch]: add GError parameter.
14452 * app/tools/gimpbucketfilltool.c: handle the returned error.
14454 * tools/pdbgen/pdb/edit.pdb: pass the error.
14456 * app/pdb/edit_cmds.c: regenerated.
14458 2007-12-06 Michael Natterer <mitch@gimp.org>
14460 * app/paint/gimppaintcore-stroke.[ch]: added GError arguments and
14461 fixed all functions to abort when the first call to
14462 gimp_paint_core_start() fails (it won't succeed either for the
14463 next path or whatever segemts).
14465 * app/core/gimpitem.[ch]: added GError to gimp_item_stroke()
14467 * app/core/gimpselection.c
14468 * app/core/gimpchannel.c
14469 * app/vectors/gimpvectors.c: don't gimp_message() in
14470 GimpItem::stroke() but set the error.
14472 * app/dialogs/stroke-dialog.c
14473 * app/actions/vectors-commands.c
14474 * app/actions/select-commands.c: handle the returned errors.
14476 * tools/pdbgen/pdb/edit.pdb
14477 * tools/pdbgen/pdb/paths.pdb
14478 * tools/pdbgen/pdb/paint_tools.pdb: pass the error to the stroke
14481 * app/pdb/paint_tools_cmds.c
14482 * app/pdb/edit_cmds.c
14483 * app/pdb/paths_cmds.c: regenerated.
14485 2007-12-06 Michael Natterer <mitch@gimp.org>
14487 Move some gimp_message() calls where they belong:
14489 * app/core/gimplayer-floating-sel.[ch]: removed unreachable
14490 gimp_message() in floating_sel_anchor() and added GError parameter
14491 to floating_sel_to_layer().
14493 * app/core/gimplayer.c
14494 * app/core/gimpimage-quick-mask.c
14495 * app/actions/layers-commands.c: pass NULL or an error as
14496 appropriate and show the error message.
14498 * tools/pdbgen/pdb/floating_sel.pdb: set the error when the passed
14499 layer was no floating selection.
14501 * app/pdb/floating_sel_cmds.c: regenerated.
14503 2007-12-05 Martin Nordholts <martinn@svn.gnome.org>
14505 * app/actions/tool-options-commands.c
14506 (tool_options_save_to_cmd_callback)
14507 (tool_options_restore_from_cmd_callback): Only care about
14508 GIMP_CONFIG_PARAM_SERIALIZE properties, fixes bug #498948.
14510 2007-12-05 Michael Natterer <mitch@gimp.org>
14512 * tools/pdbgen/pdb/fileops.pdb: pass the error also to
14513 file_utils_filename_to_uri().
14515 * app/pdb/fileops_cmds.c: regenerated.
14517 2007-12-05 Sven Neumann <sven@gimp.org>
14519 * modules/gimpinputdevicestore-dx.c
14520 * modules/gimpinputdevicestore-hal.c: the code for !HAVE_LIBHAL
14521 ended up in the wrong file.
14523 2007-12-05 Michael Natterer <mitch@gimp.org>
14525 * tools/pdbgen/pdb/image.pdb (set_resolution): set the error
14526 instead of using gimp_message().
14528 * app/pdb/image_cmds.c: regenerated.
14530 2007-12-05 Michael Natterer <mitch@gimp.org>
14532 * app/pdb/gimppdb-query.[ch]: added GError arguments and reduce
14533 number of labels: to one by simply checking if the regex exists
14534 before unreffing it.
14536 * tools/pdbgen/pdb/procedural_db.pdb: pass the error to the query
14539 * app/pdb/procedural_db_cmds.c: regenerated.
14541 2007-12-05 Michael Natterer <mitch@gimp.org>
14543 * configure.in: disable deprecated API also for the current
14544 develoment versions of glib, pango and gtk+, so we can fix new
14545 deprecations as soon as they pop up.
14547 2007-12-04 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14549 * tools/pdbgen/pdb/image.pdb: pass "error" instead of NULL.
14550 * app/pdb/image_cmds.c: regenerated.
14552 2007-12-04 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14554 * tools/pdbgen/pdb/gradient.pdb
14555 * tools/pdbgen/pdb/palette.pdb
14556 * tools/pdbgen/pdb/brush.pdb: use the new error arg instead
14557 of creating a GError and handling it internally.
14559 * app/pdb/palette_cmds.c
14560 * app/pdb/gradient_cmds.c
14561 * app/pdb/brush_cmds.c: regenerated.
14563 2007-12-04 Michael Natterer <mitch@gimp.org>
14565 * app/core/gimpdrawable.[ch]: added new API
14566 gimp_drawable_estimate_memsize() and virtual function
14567 GimpDrawable::estimate_memsize() which estimate the memsize of a
14568 drawable after scaling/resizing.
14570 * app/core/gimplayer.c: implement the virtual function and take
14571 the layer mask into account.
14573 * app/core/gimpimage-item-list.[ch] (gimp_image_item_list_get_list):
14574 added const qualifiers.
14576 * app/core/gimpimage-scale.c (gimp_image_scale_check): use the new
14577 function to correctly estimate the new size instead of scaling the
14578 drawables' memsizes including all constant parts. Fixes bug #329468.
14580 * app/gimp-log.[ch]: added IMAGE_SCALE log domain.
14582 * app/core/gimpimage-scale.c: use it here for debugging output.
14584 2007-12-04 Sven Neumann <sven@gimp.org>
14586 * modules/Makefile.am
14587 * modules/gimpinputdevicestore.c: split into two new files:
14589 * modules/gimpinputdevicestore-dx.c: DirectX Input implementation
14590 * modules/gimpinputdevicestore-hal.c: HAL implementation
14592 2007-12-03 Michael Natterer <mitch@gimp.org>
14594 * tools/pdbgen/pdb/fileops.pdb: pass the new error down to all
14595 file functions which take GError arguments.
14597 * app/pdb/fileops_cmds.c: regenerated.
14599 2007-12-02 Manish Singh <yosh@gimp.org>
14601 * app/dialogs/about-dialog.c (about_dialog_load_url): pass NULL
14602 GError arg to gimp_pdb_execute_procedure_by_name.
14605 * app/xcf/xcf-load.[ch]
14606 * app/xcf/xcf-save.[ch]: throw GErrors from load/save invokers instead
14609 2007-12-02 Sven Neumann <sven@gimp.org>
14611 * tools/pdbgen/app.pl: use GError for error reporting in PDB
14614 * tools/pdbgen/pdb/vectors.pdb: use the GError for the procedures
14615 introduced for bug #497159.
14617 * tools/pdbgen/pdb/fileops.pdb: use the GError from file-load and
14618 file-save procedures.
14620 * app/pdb/*_cmds.c: regenerated.
14622 * app/pdb/Makefile.am
14624 * app/pdb/gimppdberror.[ch]: new file introducing the
14625 GIMP_PDB_ERROR domain.
14627 * app/actions/plug-in-commands.c
14628 * app/actions/vectors-commands.c
14630 * app/core/gimpimagefile.c
14631 * app/core/gimppdbprogress.c
14632 * app/file/file-open.[ch]
14633 * app/file/file-save.c
14634 * app/plug-in/gimpplugin-message.c
14635 * app/plug-in/gimppluginmanager-restore.c
14636 * app/plug-in/gimppluginprocedure.c
14637 * app/plug-in/gimptemporaryprocedure.c
14638 * app/plug-in/plug-in-icc-profile.c
14639 * app/widgets/gimpbrushselect.c
14640 * app/widgets/gimpfontselect.c
14641 * app/widgets/gimpgradientselect.c
14642 * app/widgets/gimphelp.c
14643 * app/widgets/gimppaletteselect.c
14644 * app/widgets/gimppatternselect.c
14645 * app/widgets/gimppdbdialog.[ch]: changed accordingly.
14647 2007-12-02 Sven Neumann <sven@gimp.org>
14649 * plug-ins/common/tiff-load.c (load_image): removed pointless and
14650 untranslated warning.
14652 2007-12-02 Sven Neumann <sven@gimp.org>
14654 * plug-ins/jpeg/jpeg-load.c (jpeg_load_resolution): only set the
14655 resolution if X_density and Y_density are not zero. Otherwise the
14656 default resolution would be used anyway and the user sees an
14657 annoying and confusion warning.
14659 2007-12-01 Sven Neumann <sven@gimp.org>
14661 * app/core/gimpviewable.h: changed GIMP_VIEWABLE_PRIORITY_IDLE to
14662 G_PRIORITY_LOW. The reason for the very low priority was to keep
14663 it lower than the projection idle renderer.
14665 2007-12-01 Martin Nordholts <martinn@svn.gnome.org>
14667 * docs/Makefile.am: Applied patch from Jesper de Jong that removes
14668 an errant leading space in a command. Fixes bug #500826.
14670 2007-11-30 Sven Neumann <sven@gimp.org>
14672 * app/core/gimpprojection.c (gimp_projection_idle_render_init):
14673 raised the idle renderer priority even higher (bug #499150).
14675 2007-11-30 Sven Neumann <sven@gimp.org>
14677 * app/base/tile-manager.c (tile_manager_invalidate_area): if no
14678 tiles have been allocated, there's no need to invalidate any.
14679 Should fix bug #500178.
14681 2007-11-29 Sven Neumann <sven@gimp.org>
14683 * app/core/gimpprojection.c (gimp_projection_idle_render_init):
14684 raise the priority of the idle renderer to G_PRIORITY_DEFAULT_IDLE.
14685 Should fix bug #499150.
14687 2007-11-29 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14689 * plug-ins/Lighting/lighting_ui.c: make sure to update bumpmap
14690 when combo is changed. Addresses bug #500317.
14692 2007-11-28 Sven Neumann <sven@gimp.org>
14694 * app/actions/drawable-commands.c (drawable_flip_cmd_callback):
14695 fixed orientation type used for linked items (bug #499161).
14697 * app/core/gimpdrawable-transform.c
14698 (gimp_drawable_transform_tiles_flip): fixed typo in if condition
14699 and added more sanity checks.
14701 2007-11-27 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14703 * app/tools/gimprectangletool.c: initialize vars to quiet
14704 stupid compile warnings.
14706 2007-11-26 Sven Neumann <sven@gimp.org>
14708 * app/widgets/gimpwidgets-utils.c (gimp_widget_accel_changed):
14709 escape text before using it in Pango text markup.
14711 2007-11-26 Sven Neumann <sven@gimp.org>
14713 * plug-ins/common/wmf.c (load_image): improved error reporting.
14715 2007-11-26 Sven Neumann <sven@gimp.org>
14717 * plug-ins/common/wmf.c: avoid filename encoding problems by not
14718 using wmf_file_open() but mapping the file into memory with
14719 GMappedFile. Fixes bug #499329.
14721 2007-11-26 Sven Neumann <sven@gimp.org>
14723 * app/widgets/gimpblobeditor.c (gimp_blob_editor_draw_blob):
14724 corrected rendering of the blob (bug #499281).
14726 2007-11-24 Martin Nordholts <martinn@svn.gnome.org>
14728 * app/tools/gimprectangleoptions.c
14729 (gimp_rectangle_options_iface_base_init): Fix indentation.
14731 2007-11-24 Martin Nordholts <martinn@svn.gnome.org>
14733 * app/tools/gimprectangletool.[ch]: Renamed RECT_* identifiers of
14734 the GimpRectangleFunction enum to GIMP_RECTANGLE_TOOL_*.
14736 * app/tools/gimprectangleselecttool.c: Use the new names.
14738 2007-11-24 Martin Nordholts <martinn@svn.gnome.org>
14740 * app/tools/gimprectangletool.[ch]: Ported the internal
14741 representation of the rectangle to gdouble:s instead of
14742 gint:s. This solves problems like not being able to swap portrait
14743 for landscape on very small rectangles and bug #442027, as well as
14744 provides a nice base to solve other similar problems when they are
14745 discovered. It is possible to choose what precision the
14746 GimpRectangleTool:s will appear to have externally through a new
14747 GimpRectanglePrecision enum and property, but the gdouble mode
14748 still requires some work in order to be useful. Internally the
14749 rectangle always is represented using gdouble:s of course. In the
14750 processes quite some refactoring has taken place, mostly
14751 restructuring code and splitting larger functions into smaller
14752 more managable ones.
14753 (gimp_rectangle_tool_rect_rubber_banding_func)
14754 (gimp_rectangle_tool_setup_snap_offsets)
14755 (gimp_rectangle_tool_apply_fixed_rule)
14756 (gimp_rectangle_tool_update_int_rect)
14757 (gimp_rectangle_tool_get_public_rect): New helper functions.
14759 * app/tools/tools-enums.h: Added GimpRectanglePrecision.
14761 2007-11-23 Sven Neumann <sven@gimp.org>
14763 * plug-ins/flame/rect.c: reduced progress updates based on a patch
14764 from Tobias Jakobs (bug #499255). Untabified.
14766 2007-11-23 Sven Neumann <sven@gimp.org>
14768 * tools/pdbgen/pdb/procedural_db.pdb: removed outdated information
14771 * app/pdb/procedural_db_cmds.c
14772 * libgimp/gimpproceduraldb_pdb.c: regenerated.
14774 2007-11-22 Michael Natterer <mitch@gimp.org>
14776 * app/widgets/gimpcolorbar.[ch]: derive from GtkEventBox instead
14777 of GtkMisc, but use an input-only window.
14779 * app/tools/gimplevelstool.c: redirect the events of the color
14780 bars to the handle bars. The histogram dialog has this change
14781 already. Functionality should be 100% restored now.
14783 2007-11-22 Sven Neumann <sven@gimp.org>
14785 * libgimpwidgets/gimphelpui.[ch]: use
14786 gtk_widget_set_tooltip_text() from gimp_help_set_help() and added
14787 gimp_help_set_help_data_with_markup() for the cases where markup
14790 * libgimpwidgets/gimpwidgets.def: updated.
14792 * app/tools/gimpselectionoptions.c
14793 * app/widgets/gimpeditor.c
14794 * app/widgets/gimpwidgets-utils.c: use the new function where markup
14795 in tooltips is being used.
14797 * app/widgets/gimptoolbox-color-area.c: no need to escape the
14798 ampersand any longer.
14800 2007-11-22 Jakub Steiner <jimmac@ximian.com>
14802 * data/images/gimp-splash.png: New unstable splash
14803 * data/images/gimp-splash-2.4.png: looks like we keep stable
14806 2007-11-22 Michael Natterer <mitch@gimp.org>
14808 * app/tools/gimplevelstool.[ch]: use a GimpHandleBar also for the
14809 input frame, added a second adjustment for gamma and map between
14810 the linear and logarithmic gamma values in the adjustment
14811 callbacks, get rid of one GtkFrame just as in the histogram
14812 dialog. Still not finished since mouse events on the color bars
14813 are currently not handled.
14815 2007-11-21 Sven Neumann <sven@gimp.org>
14817 * app/config/gimpguiconfig.c: use "open %s" as the default
14818 web-browser command on Mac OS X.
14820 2007-11-21 Sven Neumann <sven@gimp.org>
14823 * autogen.sh: dropped support for automake 1.8 and require
14824 automake >= 1.9.6. Require libtool 1.5 for all platforms.
14826 2007-11-20 Michael Natterer <mitch@gimp.org>
14828 * app/widgets/gimpcontainercombobox.c: set the combo insensitive
14829 when it has no items. Fixes bug #498511.
14831 2007-11-20 Michael Natterer <mitch@gimp.org>
14833 * app/tools/gimplevelstool.[ch]: use a GimpHandleBar widget for
14834 the output sliders. Removes a bunch of code already, more to
14837 2007-11-20 Sven Neumann <sven@gimp.org>
14839 * plug-ins/script-fu/scripts/t-o-p-logo.scm: applied patch from
14840 Ulf-D. Ehlert that fixes the background color used in the Particle
14841 Trace filter (bug #498282).
14843 2007-11-20 Sven Neumann <sven@gimp.org>
14845 * app/widgets/gimpcolorbar.c (gimp_color_bar_expose): added const
14848 2007-11-20 Michael Natterer <mitch@gimp.org>
14850 * app/widgets/widgets-types.h
14851 * app/widgets/Makefile.am
14852 * app/widgets/gimphandlebar.[ch]: new widget implementing the slider
14853 bar known from histogram and levels.
14855 * app/widgets/gimphistogrambox.[ch]: use the new widget. General
14856 cleanup and UI streamlining.
14858 2007-11-20 Michael Natterer <mitch@gimp.org>
14860 * app/widgets/gimpcolorbar.c
14861 * app/widgets/gimphistogramview.c: cosmetic.
14863 2007-11-19 Sven Neumann <sven@gimp.org>
14865 * app/widgets/gimpcurveview.[ch]: draw a base-line with the grid.
14866 Not sure if this should stay enabled for the Curves tool...
14868 2007-11-19 Tor Lillqvist <tml@novell.com>
14870 * libgimpwidgets/gimpcolorscale.c (gimp_color_scale_render_stipple):
14871 Don't write past end of buffer (bug #399484).
14873 2007-11-18 Martin Nordholts <martinn@svn.gnome.org>
14875 * app/tools/gimprectangleselecttool.c: Cosmitics. More strictly
14876 align static function prototypes and consistently use the name
14877 rect_sel_tool for pointers to GimpRectSelectTool.
14879 2007-11-18 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14881 * libgimp/gimp.def: forgot in previous commit
14883 2007-11-18 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14885 * tools/pdbgen/pdb/vectors.pdb: add code for
14886 vectors-export-to-file and vectors-export-to-string, as
14887 requested in bug #497159.
14889 * app/pdb/vectors_cmds.c
14890 * app/pdb/internal_procs.c
14891 * libgimp/gimpvectors_pdb.c
14892 * libgimp/gimpvectors_pdb.h: rebuilt accordingly.
14894 2007-11-18 Sven Neumann <sven@gimp.org>
14896 * gimptool-2.0.in: removed.
14898 * configure.in: removed leftover references to the gimptool script.
14900 2007-11-18 Michael Natterer <mitch@gimp.org>
14902 * app/gimp-log.[ch]: add SAVE_DIALOG log domain.
14904 * app/dialogs/file-save-dialog: port debug output to GIMP_LOG().
14906 2007-11-18 Michael Natterer <mitch@gimp.org>
14908 * app/gimp-log.[ch]: add DIALOG_FACTORY log domain.
14910 * app/widgets/gimpdialogfactory.c: port debug output to GIMP_LOG().
14912 2007-11-18 Michael Natterer <mitch@gimp.org>
14914 * app/gimp-log.[ch]: changed to work with different
14915 compiler-specific ways of doing macro varargs. Also cope with no
14916 macro vararg support at all. Pointed out by Hans Breuer.
14918 2007-11-18 Michael Natterer <mitch@gimp.org>
14920 * app/display/gimpdisplayshell-callbacks.c
14921 (gimp_display_shell_canvas_tool_events): improve debug output.
14923 2007-11-17 Sven Neumann <sven@gimp.org>
14925 * app/base/base-utils.c (get_physical_memory_size): added a cast
14926 to avoid an integer overflow on 32bit machines.
14928 2007-11-17 Sven Neumann <sven@gimp.org>
14930 * tools/gimptool.c: minor cleanup, hopefully not breaking anything.
14932 2007-11-17 Sven Neumann <sven@gimp.org>
14934 * app/base/base-utils.[ch]: changed to get_physical_memory_size()
14935 and added an implementation for POSIX.2 platforms.
14937 2007-11-17 Tor Lillqvist <tml@novell.com>
14939 * tools/gimptool.c: Ignore --msvc-syntax unless on Windows. Put
14940 some Windows-only stuff inside ifdef.
14942 2007-11-16 Tor Lillqvist <tml@novell.com>
14944 Use the gimptool program on Unix, too, instead of the gimptool
14948 * Makefile.am: Drop gimptool script and gimptool-win32.c(.in)
14951 * tools/Makefile.am: Move gimptool-win32.c.in here and call it
14952 just gimptool.c. Build and install on all platforms.
14954 * tools/gimptool.c: Change accordingly.
14956 * doc/gimptool.1.in: Document the --msvc-syntax option.
14958 2007-11-16 Michael Natterer <mitch@gimp.org>
14960 * app/gimp-log.[ch]: add HELP log domain.
14962 * app/widgets/gimphelp.c: port debug output to GIMP_LOG() and
14965 2007-11-16 Tor Lillqvist <tml@novell.com>
14967 * app/base/base-utils.c
14968 * app/base/base-utils.h (get_physical_memory_size_megabytes): New
14969 function that Sven asked for. Somebody please fill in Unix
14970 implementation(s). Feel free to change the name, change to return
14971 as bytes in a gint64, etc.
14973 2007-11-16 Michael Natterer <mitch@gimp.org>
14975 * app/base/temp-buf.c
14976 * app/base/tile-manager.c
14977 * app/core/gimpobject.c: accept NULL in all get_memsize() functions.
14979 * app/core/gimp-utils.[ch]: ditto. Added gimp_string_get_memsize().
14982 * app/core/gimpbrush.c
14983 * app/core/gimpbuffer.c
14984 * app/core/gimpcontainer.c
14985 * app/core/gimpcontext.c
14986 * app/core/gimpdata.c
14987 * app/core/gimpdrawable.c
14988 * app/core/gimpdrawablemodundo.c
14989 * app/core/gimpdrawableundo.c
14990 * app/core/gimpimage.c
14991 * app/core/gimpitempropundo.c
14992 * app/core/gimplayer.c
14993 * app/core/gimpmaskundo.c
14994 * app/core/gimppalette.c
14995 * app/core/gimpparasitelist.c
14996 * app/core/gimppattern.c
14997 * app/core/gimppreviewcache.c
14998 * app/core/gimpundo.c
14999 * app/core/gimpundostack.c
15000 * app/core/gimpviewable.c
15001 * app/pdb/gimpprocedure.c
15002 * app/plug-in/gimpplugindef.c
15003 * app/plug-in/gimppluginmanager.c
15004 * app/plug-in/gimppluginprocedure.c
15005 * app/text/gimptext.c
15006 * app/text/gimptextlayer.c
15007 * app/text/gimptextundo.c
15008 * app/vectors/gimpvectorsmodundo.c: simplify
15009 GimpObject::get_memsize() implementations accordingly.
15011 * app/core/gimpimageundo.c: ditto. Always keep around colormaps in
15012 chunks of GIMP_IMAGE_COLORMAP_SIZE to be coonsistent with the
15013 other colormap handling code.
15015 2007-11-16 Sven Neumann <sven@gimp.org>
15017 * app/base/lut-funcs.c (equalize_lut_setup): make sure we don't
15018 get stuck in a loop if all pixels are transparent (bug #497291).
15020 2007-11-16 Sven Neumann <sven@gimp.org>
15022 * libgimpconfig/gimpcolorconfig.c: changed default value for using
15023 the system monitor profile. Many users seem to have broken monitor
15024 profiles and it's hard to figure out how to fix this (bug #496890).
15026 2007-11-15 Sven Neumann <sven@gimp.org>
15028 * app/tools/gimpselectionoptions.c (gimp_selection_options_gui):
15029 plugged a memory leak.
15031 * libgimpwidgets/gimpintstore.c (gimp_int_store_add_empty):
15032 initialize the iter to avoid using uninitialized memory.
15034 2007-11-15 Sven Neumann <sven@gimp.org>
15036 * plug-ins/common/screenshot.c: don't call gimp_edit_clear() if
15037 the selection mask is empty after selecting the window shape and
15038 inverting that selection. Fixes bug #493182.
15040 2007-11-15 Sven Neumann <sven@gimp.org>
15042 * plug-ins/common/tiff-save.c (save_image): fixed bug in colormap
15043 handling (bug #497103).
15045 2007-11-15 Michael Natterer <mitch@gimp.org>
15047 * app/display/gimpdisplayshell-dnd.c
15048 * app/widgets/gimpdnd-xds.c
15049 * app/widgets/gimpselectiondata.c: use GIMP_LOG(DND) here too.
15051 2007-11-15 Michael Natterer <mitch@gimp.org>
15053 * app/gimp-log.[ch]: add DND log domain.
15055 * app/widgets/gimpdnd.c: use GIMP_LOG().
15057 2007-11-15 Sven Neumann <sven@gimp.org>
15059 * app/core/gimpcurve-save.c: added sanity checks.
15061 2007-11-15 Michael Natterer <mitch@gimp.org>
15064 * app/gimp-log.[ch]: new files implementing a log facility which
15065 can be enabled using the GIMP_LOG environment variable.
15067 * app/main.c: initialize it.
15069 * app/display/gimpdisplayshell-callbacks.c: use it instead of
15070 private debugging macros that need to be enabled at compile time.
15072 2007-11-15 Michael Natterer <mitch@gimp.org>
15074 * app/core/gimpviewable.[ch]: add read-only property "frozen" and
15075 new API gimp_viewable_preview_is_fozen(). Emit property notifications.
15077 * app/widgets/gimphistogramview.[ch]: add API to show a second
15078 histogram in the background. Remove member "light_histogram" from
15079 the GimpHistogramViewClass struct.
15081 * app/widgets/gimpcurveview.c: don't set "light_histogram".
15083 * app/tools/gimpcurvestool.c: set the background histogram instead.
15085 * app/widgets/gimphistogrameditor.[ch]: connect to "notify::frozen"
15086 of the drawable and show its histogram at the freezing point in
15087 the background. This way the original histogram is visible while
15088 we are doing color corrections.
15090 2007-11-14 Michael Natterer <mitch@gimp.org>
15092 * app/display/gimpcanvas.c
15093 * app/widgets/gimpcurveview.c: free the cached PangoLayouts in
15094 GtkWidget::style_set().
15096 * app/widgets/gimppaletteview.c: draw the focus rectangle in
15097 hardcoded black/white since we also hardcode the grid color to
15100 * app/display/gimpstatusbar.c
15101 * app/widgets/gimpdockable.c: small cleanups while reviewing
15104 2007-11-14 Michael Natterer <mitch@gimp.org>
15106 * app/widgets/gimpcolorframe.[ch]: replaced the number label with
15107 a big Cairo-drawn number below the color value labels.
15109 2007-11-14 Michael Natterer <mitch@gimp.org>
15111 * app/widgets/gimppaletteview.[ch]: port to Cairo drawing.
15113 2007-11-13 Martin Nordholts <martinn@svn.gnome.org>
15115 * app/tools/gimprectangletool.c: Avoid GimpRectangleTool internals
15116 to make use of its own public interface by making
15117 gimp_rectangle_tool_get_other_side() work on pointers to members
15118 instead of GObject property names.
15119 (gimp_rectangle_tool_set_other_side_coord)
15120 (gimp_rectangle_tool_get_other_side_coord): Use
15121 gimp_rectangle_tool_get_other_side() in the new way.
15123 2007-11-13 Martin Nordholts <martinn@svn.gnome.org>
15125 Fixed warnings about negative rectangle widths/heights when
15126 toggling 'Fixed center' while rubber banding a rectangle.
15128 * app/tools/gimprectangletool.c
15129 (gimp_rectangle_tool_set_other_side_coord): Finnishing off with a
15130 call to gimp_rectangle_tool_check_function() as changing the
15131 coordinates of the opposite side might swap the orientation of the
15134 2007-11-13 Sven Neumann <sven@gimp.org>
15136 * app/core/gimpimage-merge.c (gimp_image_merge_layers): when we
15137 encounter an unsupported merge operation (merging an opaque
15138 indexed layer onto an indexed layer with alpha channel), then add
15139 an alpha channel and try again. Fixes bug #496437.
15141 2007-11-13 Michael Natterer <mitch@gimp.org>
15143 * app/widgets/gimpviewrenderer.c (gimp_view_renderer_draw): use
15144 cairo_save()/cairo_restore() around calling the virtual function
15145 instead of restoring the clipping area manually.
15147 2007-11-13 Michael Natterer <mitch@gimp.org>
15149 * app/widgets/gimpviewrenderervectors.c
15150 (gimp_view_renderer_vectors_draw): naive port to Cairo. Somebody
15151 should check if this isn't better done with proper curve_to()
15152 drawing using the original vectors data instead of interpolation.
15154 * app/widgets/gimpviewrenderer.c (gimp_view_renderer_draw): reset
15155 clipping before drawing the border because a subclass' draw()
15156 might have done additional clipping.
15158 2007-11-13 Tor Lillqvist <tml@novell.com>
15160 * gimptool-win32.c.in: Some cleanups, more coming.
15162 2007-11-13 Sven Neumann <sven@gimp.org>
15164 Fix for bug #494049 (painting doesn't update the histogram):
15166 * app/paint/gimppaintcore.c: freeze the drawable preview while we
15167 are painting. Update the drawable instead of the image.
15169 * app/widgets/gimphistogrameditor.c: use a short timeout instead
15170 of an idle handler to update the histogram.
15172 2007-11-13 Tor Lillqvist <tml@novell.com>
15174 * gimp-zip.in: Drop the timestamp from the zip file names. Add the
15175 .pc files to the developer package.
15177 2007-11-13 Michael Natterer <mitch@gimp.org>
15179 Enable brush scaling for smudge (but only before, not while
15180 painting). Fixes bug #471348.
15182 * app/paint/gimpbrushcore.[ch] (struct GimpBrushCoreClass): rename
15183 member "use_scale" to "handles_scaling_brush".
15185 (gimp_brush_core_calc_brush_scale): apply pressure scale only if
15186 both "handles_scaling_brush" and "use_pressure" are TRUE, and
15187 apply the scaling from the options unconditionally.
15189 (gimp_brush_core_get_paint_area): don't re-fetch core->scale if
15190 "handles_scaling_brush" is FALSE to keep the brush from scaling
15193 (gimp_brush_core_create_bound_segs): use the brush scale from the
15194 options unconditionally since that's always used now.
15196 * app/paint/gimpsmudge.c (gimp_smudge_brush_coords): use
15197 gimp_brush_scale_size() to figure the accum_buffer's size instead
15198 of using the brush mask's size directly.
15200 * app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui): show
15201 the brush scale controls for all brush tools.
15203 2007-11-12 Sven Neumann <sven@gimp.org>
15205 * app/core/gimp-utils.c (gimp_get_default_unit): return
15206 GIMP_UNIT_MM in case that we can't query the locale.
15208 * plug-ins/common/postscript.c: use gboolean for boolean variables.
15210 2007-11-12 Sven Neumann <sven@gimp.org>
15212 * app/core/gimpimage-merge.c (gimp_image_merge_layers): corrected
15213 the size of the pixel region passed to color_region() in case of
15214 an indexed image. Fixes bug #495990.
15216 2007-11-12 Michael Natterer <mitch@gimp.org>
15218 * app/display/gimpdisplayshell-callbacks.c
15219 (gimp_display_shell_ruler_button_press): don't let
15220 GimpImageMapTools move sample points. They fail badly and leave
15221 the display in a paused state.
15223 2007-11-12 Michael Natterer <mitch@gimp.org>
15225 * app/sanity.c: added Pango version sanity check.
15227 2007-11-12 Sven Neumann <sven@gimp.org>
15229 * plug-ins/common/tiff-load.c (run): properly handle a failure of
15230 TIFFFdOpen() instead of crashing on TIFF files we can't handle.
15232 2007-11-12 Michael Natterer <mitch@gimp.org>
15234 * app/display/gimpdisplayshell.c (gimp_display_shell_new): don't
15235 crash if gimp_display_shell_filter_new() returns NULL.
15238 2007-11-11 Kevin Cozens <kcozens@cvs.gnome.org>
15240 * plug-ins/script-fu/scripts/script-fu-compat.init: Return a list
15241 from cons-array when type is 'string.
15243 2007-11-11 Martin Nordholts <martinn@svn.gnome.org>
15245 * app/tools/gimprectangletool.[ch]: Removed
15246 gimp_rectangle_tool_get_press_coords() as it doesn't make sense
15247 for a rectangle tool interface to provide this functionality.
15248 Clients should take care of that themselves. Also adjusted
15249 internal code accordingly.
15251 * app/tools/gimprectangleselecttool.c: Remember the pressed
15252 coordinates on _button_press instead of asking GimpRectangleTool
15255 2007-11-11 Michael Natterer <mitch@gimp.org>
15257 * configure.in: depend on pango 1.18
15259 * app/text/gimpfontlist.c (gimp_font_list_add_font): remove
15260 workaround for old pango appending "Non-Rotated" to font names.
15262 2007-11-11 Martin Nordholts <martinn@svn.gnome.org>
15264 * app/tools/gimprectangleselecttool.[ch]: Don't expose private
15265 instance members, use g_type_class_add_private() instead.
15267 2007-11-11 Martin Nordholts <martinn@svn.gnome.org>
15269 * app/tools/gimprectangletool.c
15270 (gimp_rectangle_tool_update_with_coord): Updated comments to
15271 reflect current behaviour.
15273 2007-11-11 Martin Nordholts <martinn@svn.gnome.org>
15275 * app/tools/gimprectangletool.c: Lessen code bloat by removing
15276 code that manages center-[xy] properies of GimpRectangleOptions.
15277 Instead use x1, y1 and x2, y2 when working with the rectangle
15280 * app/tools/gimprectangleoptions.[ch]: Removed "center-x" and
15281 "center-y" properties.
15283 2007-11-10 Sven Neumann <sven@gimp.org>
15285 * libgimpwidgets/gimppageselector.c: formatting.
15287 2007-11-10 Sven Neumann <sven@gimp.org>
15289 * app/actions/view-actions.c (view_zoom_explicit_actions): fixed
15290 incorrect tooltip (bug #495564).
15292 * app/dialogs/preferences-dialog.c (prefs_display_options_frame_add):
15293 adapt to the changed return value of gimp_prop_enum_combo_box_new().
15295 2007-11-10 Michael Natterer <mitch@gimp.org>
15297 * libgimpwidgets/gimppropwidgets.c
15298 (gimp_prop_file_chooser_button_*): remove all sorts of workarounds
15299 for bugs of GtkFileChooserButton in GTK+ versions prior to 2.12.
15301 2007-11-10 Michael Natterer <mitch@gimp.org>
15303 * libgimpwidgets/gimppropwidgets.c: remove event boxes that were
15304 only there for the old tooltips.
15306 * modules/cdisplay_lcms.c: ditto. Also remove some code that was
15307 only needed because of the event box hack.
15309 2007-11-10 Michael Natterer <mitch@gimp.org>
15311 * app/tools/gimpairbrushtool.c (gimp_airbrush_tool_init)
15312 * app/tools/gimppenciltool.c (gimp_pencil_tool_init): don't enable
15313 color picking, it already gets enabled by the parent class.
15315 2007-11-10 Sven Neumann <sven@gimp.org>
15317 * plug-ins/helpbrowser/dialog.c (browser_dialog_make_index_foreach):
15318 deal gracefully with NULL titles.
15320 2007-11-09 Sven Neumann <sven@gimp.org>
15322 * app/widgets/gimpcurveview.c (gimp_curve_view_expose): align the
15323 overlay with the pixel grid.
15325 2007-11-09 Sven Neumann <sven@gimp.org>
15327 * app/widgets/gimpcurveview.c: draw the selected point filled and
15328 outlines for the unselected points.
15330 2007-11-09 Sven Neumann <sven@gimp.org>
15332 * app/widgets/gimpcurveview.c (gimp_curve_view_expose): draw the
15333 center grid lines slightly stronger than the other grid lines.
15335 2007-11-09 Sven Neumann <sven@gimp.org>
15337 * app/widgets/gimpcurveview.c (gimp_curve_view_expose): draw the
15338 cursor position using a translucent overlay.
15340 2007-11-09 Sven Neumann <sven@gimp.org>
15342 * app/widgets/gimpcurveview.[ch]: added construct-only properties
15343 to control the number of grid rows and columns. Increased the
15344 default values to 8.
15346 2007-11-09 Michael Natterer <mitch@gimp.org>
15348 * libgimpwidgets/gimphelpui.[ch]: use the new tooltip API instead
15349 of the old deprecated one. Removed _gimp_help_init(). Remember
15350 whether tooltips are enabled or not in a local variable that can
15351 only be altered at startup time and not after. The API now expects
15352 markup instead of plain text which might cause warnings and
15353 perhaps needs to be changed.
15355 * libgimpwidgets/gimpwidgets-private.c: don't call _gimp_help_init().
15357 * app/config/gimpguiconfig.c: made show-tooltips a
15358 GIMP_CONFIG_PARAM_RESTART property.
15360 * app/widgets/gimptoolbox-color-area.c: don't add the tooltip here...
15362 * app/widgets/gimptoolbox.c: ...but here (as for all other
15363 indicators). Also escape '&' properly because we now use markup.
15365 * app/tools/gimpselectionoptions.c
15366 * app/widgets/gimpeditor.c
15367 * app/widgets/gimpwidgets-utils.c: print modifiers and
15368 shortcuts in bold instead of in ().
15370 * app/widgets/gimpcontainertreeview.c: show tooltips on rows if
15371 gimp_viewable_get_description() returns a tip.
15373 * app/dialogs/preferences-dialog.c
15374 * plug-ins/jpeg/jpeg-save.c
15375 * plug-ins/MapObject/mapobject_ui.c
15376 * plug-ins/Lighting/lighting_ui.c
15377 * plug-ins/common/animationplay.c
15378 * plug-ins/common/warp.c: no need to add event boxes just to have
15379 tooltips, the new ones work on all widgets.
15381 2007-11-08 Sven Neumann <sven@gimp.org>
15383 * app/display/gimpstatusbar.c (gimp_statusbar_vprintf): also cut
15384 the message at a '\r' character. Fixes the remaining aspect of
15387 2007-11-08 Michael Natterer <mitch@gimp.org>
15389 * libgimp/gimpenums.c.tail: replaced by generated version.
15391 2007-11-08 Sven Neumann <sven@gimp.org>
15393 * app/display/gimpdisplayshell.c (gimp_display_shell_show_tooltip):
15394 don't directly pass a message to gimp_statusbar_push(), it expects
15395 a format string and printf-like varargs. Fixes the crash reported
15398 2007-11-08 Michael Natterer <mitch@gimp.org>
15400 * app/core/gimpimage.c (gimp_image_clean_all): pass GIMP_DIRTY_ALL
15401 to the "clean" signal instead of uninitialized memory.
15403 2007-11-06 Martin Nordholts <martinn@svn.gnome.org>
15405 * app/tools/gimprectangletool.c
15406 (gimp_rectangle_tool_update_handle_sizes): don't use any dead
15407 areas in narrow-mode, and enter narrow-mode earlier.
15409 * app/tools/gimpdrawtool.c (gimp_draw_tool_draw_corner): adjusted
15410 to always draw side handles in narrow mode without dead areas.
15412 2007-11-06 Michael Natterer <mitch@gimp.org>
15414 * configure.in: remove check for putenv().
15416 * app/composite/gimp-composite-3dnow-test.c
15417 * app/composite/gimp-composite-altivec-test.c
15418 * app/composite/gimp-composite-mmx-test.c
15419 * app/composite/gimp-composite-sse-test.c
15420 * app/composite/gimp-composite-sse2-test.c
15421 * app/composite/gimp-composite-vis-test.c
15423 * plug-ins/uri/uri-backend-wget.c
15424 * tools/gimp-remote-x11.c: use g_setenv() instead of putenv().
15426 2007-11-06 Sven Neumann <sven@gimp.org>
15428 * tools/pdbgen/pdb/plug_in.pdb: improved documentation for
15429 gimp-plugin-menu-register.
15431 * app/pdb/plug_in_cmds.c
15432 * libgimp/gimpplugin_pdb.c: regenerated.
15434 2007-11-06 Sven Neumann <sven@gimp.org>
15436 * app/widgets/gimpblobeditor.c: ported to Cairo drawing.
15438 2007-11-05 Michael Natterer <mitch@gimp.org>
15440 * app/widgets/gimpcurveview.c (gimp_curve_view_expose): translate
15441 by 0.5,0.5 instead of adding 0.5 to all coordinates (we always
15442 want to draw on pixel centers here). Some cleanup.
15444 2007-11-05 Martin Nordholts <martinn@svn.gnome.org>
15446 * app/tools/gimprectangletool.c (gimp_rectangle_tool_motion): Bail
15447 out early if the rectangle function is RECT_DEAD. This prevents
15450 2007-11-05 Martin Nordholts <martinn@svn.gnome.org>
15452 * app/tools/gimprectangletool.c: also don't show the shell
15453 highlight when a rectangle is being moved. Achieved through
15454 slightly modifying code logic and renaming variables and functions
15457 2007-11-05 Sven Neumann <sven@gimp.org>
15459 * app/widgets/gimpgradienteditor.[ch]: use Cairo to draw the controls.
15461 2007-11-05 Sven Neumann <sven@gimp.org>
15463 * configure.in: don't bail out if the XFixes extension is not
15466 2007-11-05 Sven Neumann <sven@gimp.org>
15468 * tools/pdbgen/pdb/image.pdb: create a libgimp C wrapper for
15469 gimp-image-get-vectors-by-tattoo; this function was accidentally
15470 forgotten in the 2.4 libgimp API.
15472 * app/pdb/image_cmds.c
15473 * libgimp/gimpimage_pdb.[ch]: regenerated.
15475 2007-11-05 Sven Neumann <sven@gimp.org>
15477 * app/widgets/gimpcairo-utils.h: introduced macros to set a single
15478 pixel in a Cairo surface without having to worry about endianness.
15480 * app/widgets/gimpcairo-utils.c
15481 * app/widgets/gimpviewrenderer.c
15482 * app/widgets/gimpviewrenderergradient.c
15483 * app/widgets/gimpviewrendererpalette.c: use the new macros.
15485 2007-11-05 Michael Natterer <mitch@gimp.org>
15487 * app/widgets/gimpcurveview.c (gimp_curve_view_expose): port to
15490 2007-11-05 Michael Natterer <mitch@gimp.org>
15492 * app/core/gimpcurve.[ch]: don't recalculate the curve if the data
15493 object is frozen. Recalculate on thaw instead. Made
15494 gimp_curve_calculate() private and emit some GimpData::dirty
15495 signals where appropriate.
15497 * app/tools/gimpcurvestool.c
15498 * app/widgets/gimpcurveview.c
15499 * tools/pdbgen/pdb/color.pdb: changed accodingly (connect to "dirty"
15500 instead of "notify" and added some freeze/thaw where approproate).
15502 * app/pdb/color_cmds.c: regenerated.
15504 2007-11-05 Sven Neumann <sven@gimp.org>
15506 * app/core/gimpimagemap.c (gimp_image_map_clear): update the
15507 drawable, not the image. This change was missing in the fix for
15508 bug #490182. Fixes bug #493639.
15510 2007-11-05 Michael Natterer <mitch@gimp.org>
15512 * app/widgets/gimpcurveview.[ch]: added event handling and
15513 completely edit the curve here.
15515 * app/tools/gimpcurvestool.[ch]: remove all event handling and
15516 curve editing code and only listen to curve signals.
15518 2007-11-04 Martin Nordholts <martinn@svn.gnome.org>
15520 Do not do shell darkening while GimpRectangleTool rectangles are
15521 being rubber-banded.
15523 * app/tools/gimprectangletool.c
15524 (gimp_rectangle_tool_button_press)
15525 (gimp_rectangle_tool_button_release): Maintain a variable keeping
15526 track of if the rectangle is being rubber banded or not.
15527 (gimp_rectangle_tool_update_highlight): Do not set a shell
15528 highligt if the rectangle is being rubber-banded.
15529 (gimp_rectangle_tool_rubber_banding_func): New helper function.
15531 2007-11-04 Sven Neumann <sven@gimp.org>
15533 * app/widgets/gimpviewrendererbrush.c: implement
15534 GimpViewRenderer::draw and draw the overlays with Cairo.
15536 * app/widgets/gimpviewrenderer.[ch]
15537 * app/widgets/gimpviewrenderervectors.c: minor cleanups.
15539 2007-11-04 Sven Neumann <sven@gimp.org>
15541 * app/widgets/gimpviewrenderer.[ch]: replaced the RGB buffer with
15544 * app/widgets/gimpviewrendererbuffer.c
15545 * app/widgets/gimpviewrendererbrush.c
15546 * app/widgets/gimpviewrendererdrawable.c
15547 * app/widgets/gimpviewrenderergradient.c
15548 * app/widgets/gimpviewrendererimage.c
15549 * app/widgets/gimpviewrendererpalette.c
15550 * app/widgets/gimpviewrenderervectors.c: changed accordingly. There
15551 are some loose ends here that will be fixed over the next days.
15553 * app/widgets/gimprender.c: removed gimp_render_temp_buf; it is
15554 not any longer needed.
15556 * app/core/gimpgradient.c (gimp_gradient_get_preview_size)
15557 * app/core/gimppalette.c (gimp_palette_get_preview_size): return
15558 an odd preview height to make the border align with the pixel grid.
15560 2007-11-04 Sven Neumann <sven@gimp.org>
15562 * app/tools/gimplevelstool.c (levels_input_area_event): minor cleanup.
15564 2007-11-04 Martin Nordholts <martinn@svn.gnome.org>
15566 * app/tools/gimprectangletool.c: Consistently use the name
15567 `rect_tool' instead of `rectangle' or `rectangle_tool' for
15568 pointers to GimpRectangleTool.
15570 2007-11-04 Martin Nordholts <martinn@svn.gnome.org>
15572 Put GimpRectangleTool handles on the outside of the rectangle when
15573 it has a small width or height. Some polishing left to do but the
15574 base functionality works nicely.
15576 * app/tools/gimpdrawtool.[ch] (gimp_draw_tool_draw_corner): Add a
15577 put_outside boolean parameter that if true draws the handles on
15578 the outside of the rectangle.
15580 * app/tools/gimprectangletool.c
15581 (gimp_rectangle_tool_update_handle_sizes)
15582 (gimp_rectangle_tool_coord_on_handle)
15583 (gimp_rectangle_tool_draw): Take into account if the rectangle is
15584 in narrow-mode or not.
15586 2007-11-04 Sven Neumann <sven@gimp.org>
15588 * app/widgets/gimpgradienteditor.c
15589 * app/widgets/gimpnavigationview.c: use
15590 gdk_event_request_motions() to handle motion hint events.
15592 2007-11-04 Michael Natterer <mitch@gimp.org>
15594 * app/widgets/Makefile.am
15595 * app/widgets/widgets-types.h
15596 * app/widgets/gimpcurveview.[ch]: new GimpHistogramView subclass
15597 which does all the curve stuff.
15599 * app/widgets/gimphistorgramview.[ch]: removed all curve code again.
15601 * app/tools/gimpcurvestool.c: changed accordingly.
15603 2007-11-04 Sven Neumann <sven@gimp.org>
15605 * libgimpwidgets/gimpcolorselect.c
15606 * libgimpwidgets/gimpscrolledpreview.c: use
15607 gdk_event_request_motions() to handle motion hint events.
15609 2007-11-04 Sven Neumann <sven@gimp.org>
15612 * configure.in: bumped required version of GTK+ to 2.12.0.
15614 * app/sanity.c (sanity_check_glib)
15615 * app/gui/gui.c (gui_sanity_check): updated sanity checks.
15617 2007-11-02 Michael Natterer <mitch@gimp.org>
15619 * app/widgets/gimphistogramview.[ch]: added API to set the
15622 * app/tools/gimpcurvestool.c: use it.
15624 2007-11-02 Michael Natterer <mitch@gimp.org>
15626 * app/core/gimpcurve.[ch]: added API to modify free-form curves
15627 and properties to listen to curve changes.
15629 * app/widgets/gimphistogramview.[ch]: added everything that's
15630 needed for rendering a curve with all its color and cursor
15631 indicators on top of a histogram. This code will move to a
15634 * app/tools/gimpcurvestool.[ch]: removed all curve rendering here.
15635 Also removed all explicit updating by connecting to curve signals
15636 and updating in the callback.
15638 2007-11-02 Sven Neumann <sven@gimp.org>
15640 * app/widgets/gimpcairo-utils.[ch]: added utility function to create
15641 a Cairo surface from a GdkPixbuf.
15643 * app/widgets/gimpviewrenderer.c (gimp_view_renderer_create_pattern):
15646 2007-11-02 Sven Neumann <sven@gimp.org>
15648 * core/gimplist.h: formatting.
15650 2007-11-02 Michael Natterer <mitch@gimp.org>
15652 * app/core/Makefile.am
15653 * app/core/core-types.h
15654 * app/core/gimpcurve-save.[ch]
15655 * app/core/gimpcurve-load.[ch]
15656 * app/core/gimpcurve.[ch]: new GimpData subclass which keeps a
15657 curve as known from the curves tool. Pretty much unfinished, but
15658 can do everything that used to be done by base/curves.c and more.
15660 * app/base/curves.[ch]: stripped down to plain arrays of
15661 uchar (the actual curve) and the LUT setup function. All the rest
15662 is done by GimpCurve now.
15664 * app/tools/gimpcurvestool.[ch]: use an array of GimpCurves
15665 instead of the old Curves cruft. Use Curves only for the last step
15666 of creating the LUT. Pretty much unfinished migration here too.
15668 * tools/pdbgen/pdb/color.pdb: use a GimpCurve here too.
15670 * app/pdb/color_cmds.c: regenerated.
15672 2007-11-02 Sven Neumann <sven@gimp.org>
15674 * app/widgets/gimpcairo-utils.c (gimp_cairo_set_source_color):
15675 also use the color's alpha channel. Added gtk-doc documentation.
15677 2007-11-02 Sven Neumann <sven@gimp.org>
15679 * app/widgets/Makefile.am
15680 * app/widgets/gimpcairo-utils.[ch]: new files holding Cairo
15683 * app/widgets/gimpviewrenderer.[ch]: ported partly to Cairo drawing.
15685 * app/widgets/gimpcomponenteditor.c
15686 * app/widgets/gimpcontainercombobox.c
15687 * app/widgets/gimpcontainertreeview.c
15688 * app/widgets/gimplayertreeview.c
15689 * app/widgets/gimpview.c: removed calls to
15690 gimp_view_renderer_unrealize() which are not needed anymore
15691 because we don't allocate a GC in the renderer any longer.
15693 * app/widgets/gimpcellrendererdashes.c: removed a redundant cast.
15695 2007-11-01 Sven Neumann <sven@gimp.org>
15697 * app/widgets/gimpviewrenderer.c (gimp_view_renderer_draw):
15698 removed code that draws a diagonal line across a renderer without
15699 context. Emit a warning instead; this shouldn't happen any longer.
15701 2007-11-01 Sven Neumann <sven@gimp.org>
15703 * app/widgets/gimpdasheditor.c (gimp_dash_editor_expose): draw
15706 2007-11-01 Sven Neumann <sven@gimp.org>
15708 * app/widgets/gimpcellrendererdashes.c
15709 (gimp_cell_renderer_dashes_render): draw using Cairo.
15711 2007-11-01 Sven Neumann <sven@gimp.org>
15713 * plug-ins/script-fu/scripts/Makefile.am (scripts):
15714 * plug-ins/script-fu/scripts/hsv-graph.scm: removed this script.
15717 2007-11-01 Sven Neumann <sven@gimp.org>
15719 * libgimpwidgets/gimpscrolledpreview.c: changed move cursor to
15720 GDK_HAND1 and switch to GDK_FLEUR while the mouse button is down.
15722 2007-11-01 Tor Lillqvist <tml@novell.com>
15724 * app/base/base-utils.c
15725 * app/base/base-utils.h: New files, with just one function so far,
15726 get_number_of_processors(). Include implementation also for Win32.
15728 * app/base/Makefile.am (libappbase_a_SOURCES): Add new files.
15730 * app/config/gimpbaseconfig.c (gimp_base_config_class_init): Use
15731 get_number_of_processors().
15733 2007-11-01 Manish Singh <yosh@gimp.org>
15735 * app/core/gimpcontainer-filter.c
15736 * app/pdb/gimppdb-query.c
15737 * app/plug-in/gimppluginmanager-query.c: replace usage of POSIX
15738 regex API with GRegex.
15740 * configure.in: remove check for regex support in glibc.
15743 * plug-ins/script-fu/Makefile.am: remove REGEXREPL references.
15745 * tools/pdbgen/app.pl: remove code that references HAVE_GLIBC_REGEX.
15749 * Makefile.am: remove regexrepl directory.
15751 2007-10-31 Sven Neumann <sven@gimp.org>
15753 * app/core/gimp-user-install.c: improved detection of old gimp
15754 user directories and handle migration from 2.4.
15756 2007-10-31 Michael Natterer <mitch@gimp.org>
15758 * app/core/gimpparamspecs.[ch] (GimpParamSpecString): remove
15759 member "null_ok" and use GParamSpecString's "ensure_non_null"
15762 2007-10-31 Tor Lillqvist <tml@novell.com>
15764 * README.win32: Remove. This kind of information belongs in the
15766 * Makefile.am (EXTRA_DIST): Drop from here, too.
15768 2007-10-31 Michael Natterer <mitch@gimp.org>
15770 * libgimpbase/Makefile.am
15771 * libgimpbase/xdg-user-dir.[ch]: removed.
15773 * libgimpbase/gimpbaseenums.[ch]: deprecate enum GimpUserDirectory.
15775 * libgimpbase/gimpenv.[ch]: deprecate gimp_user_directory() and make
15776 the implementation call g_get_user_special_dir().
15778 * libgimp/Makefile.am: #undef GIMP_DISABLE_DEPRECATED in gimpenums.c
15780 * app/widgets/gimpfiledialog.c: use g_get_user_special_dir() instead.
15782 * plug-ins/pygimp/gimpmodule.c: #undef GIMP_DISABLE_DEPRECATED.
15784 2007-10-31 Michael Natterer <mitch@gimp.org>
15788 * tools/Makefile.am: bump some more hardcoded 2.4 to 2.5
15790 2007-10-31 Sven Neumann <sven@gimp.org>
15792 * app/display/gimpdisplayshell-close.c
15793 (gimp_display_shell_close_dialog): use g_timeout_source_new_seconds().
15795 2007-10-31 Sven Neumann <sven@gimp.org>
15799 * NEWS: updated for 2.5.
15801 2007-10-31 Michael Natterer <mitch@gimp.org>
15803 * configure.in: depend on glib 2.14.1
15805 * app/tools/gimpdrawtool.c
15806 * app/vectors/gimpvectors-import.c: use g_slice_dup() instead of
15807 g_slice_new() and memcpy().
15809 2007-10-31 Sven Neumann <sven@gimp.org>
15811 * plug-ins/common/retinex.c: use a combo-box instead of radio
15812 buttons (bug #484838).
15814 2007-10-31 Michael Natterer <mitch@gimp.org>
15816 * app/tools/gimprectangletool.c: some general indentation, spacing
15817 and coding style convention paranoia cleanups.
15819 (gimp_rectangle_tool_get_constraints): set all return values also
15820 when bailing out early to avoid valgrind warnings about
15821 uninitialized memory.
15823 2007-10-31 Sven Neumann <sven@gimp.org>
15825 * configure.in: check for the XFIXES extension.
15827 * plug-ins/common/plugin-defs.pl
15828 * plug-ins/common/Makefile.am: use XFIXES_CFLAGS for compiling the
15829 screenshot plug-in.
15831 * plug-ins/common/screenshot.c: optionally add the mouse cursor
15832 image on an extra layer. Work in progress... (bug #490779).
15834 2007-10-31 Sven Neumann <sven@gimp.org>
15836 * configure.in: bumped version to 2.5.0.
15838 Created branch gimp-2-4 for bug-fixes in the stable 2.4 series.
15840 2007-10-31 Sven Neumann <sven@gimp.org>
15842 * Made 2.4.1 release.
15844 2007-10-30 Sven Neumann <sven@gimp.org>
15846 * app/display/gimpdisplayshell-render.c (box_filter): shift only
15847 by 4 bits instead of 8. Should still keep us from overflowing 32
15848 bit integers but reduces the rounding error and seems to really
15851 2007-10-30 Martin Nordholts <martinn@svn.gnome.org>
15853 * app/tools/gimprectangleselecttool.c
15854 (gimp_rect_select_tool_round_corners_notify): Update the selection
15855 when Rounded corners is toggled or the radius is changed as
15856 discussed in bug #418284.
15858 2007-10-30 Michael Natterer <mitch@gimp.org>
15860 * modules/cdisplay_lcms.c: applied patch from Sven Neumann and
15861 Marianne Gagnon which adds support for getting the system monitor
15862 profile on OS/X. Fixes bug #488170.
15864 2007-10-30 Sven Neumann <sven@gimp.org>
15866 * app/display/gimpdisplayshell-handlers.c: reverted change that
15867 was made for bug #490785.
15869 2007-10-30 Sven Neumann <sven@gimp.org>
15871 Fix drawing of straight lines using the Shift key and a tablet
15874 * app/tools/gimppainttool.c (gimp_paint_tool_button_press): set
15875 use_pressure to FALSE when drawing a straight line.
15877 * app/paint/gimppaintbrush.c (_gimp_paintbrush_motion): respect
15878 the use_pressure flag.
15880 2007-10-30 Sven Neumann <sven@gimp.org>
15882 * app/display/gimpdisplayshell-render.c (box_filter): reduce
15883 rounding errors. Fixes bug #491503.
15885 * app/base/tile-pyramid.c (tile_pyramid_write_quarter): reduce
15888 2007-10-29 Sven Neumann <sven@gimp.org>
15890 * libgimpcolor/gimpadaptivesupersample.c
15891 (gimp_adaptive_supersample_area): return with a warning if called
15892 with NULL render_func or put_pixel_func.
15894 2007-10-29 Sven Neumann <sven@gimp.org>
15896 Fix bug #491272 (no cursor drawn for small brush sizes):
15898 * app/tools/gimpbrushtool.[ch]
15899 (gimp_brush_tool_draw_brush): don't draw the brush outline if it
15900 becomes too small. Instead draw a small cross, but only if
15901 "draw_fallback" was passed as TRUE.
15902 (gimp_brush_tool_draw_brush): pass TRUE for "draw_fallback" if
15903 cursor drawing is disabled for the paint tools.
15905 * app/tools/gimpsourcetool.c (gimp_source_tool_draw): pass FALSE
15906 for "draw_fallback".
15908 * app/tools/gimpdrawtool.c (gimp_draw_tool_draw_cross_by_anchor):
15909 draw a symmetric cross for odd handle sizes.
15911 2007-10-29 Sven Neumann <sven@gimp.org>
15913 * app/tools/gimprectangletool.c (gimp_rectangle_tool_coord_on_handle):
15914 initialize variables to suppress a compiler warning.
15916 2007-10-28 Sven Neumann <sven@gimp.org>
15918 * app/pdb/gimppdb.c (gimp_pdb_execute_procedure_by_name): also
15919 call va_end() in the error cases.
15921 2007-10-28 Sven Neumann <sven@gimp.org>
15923 * libgimpwidgets/gimpcolorscales.c (gimp_color_scales_set_channel):
15926 2007-10-28 Sven Neumann <sven@gimp.org>
15928 * libgimpwidgets/gimpscrolledpreview.c
15929 (gimp_scrolled_preview_nav_button_press): use small-checks for the
15930 navigation popup and inherit the check-type from the preview.
15932 2007-10-27 Sven Neumann <sven@gimp.org>
15934 * app/widgets/gimpwidgets-utils.c (gimp_text_buffer_load): close
15937 2007-10-27 Sven Neumann <sven@gimp.org>
15939 * libgimpbase/gimpmemsize.c (string_to_memsize): don't just crash
15940 right away if the impossible happens.
15942 2007-10-27 Sven Neumann <sven@gimp.org>
15944 * app/dialogs/preferences-dialog.c (prefs_resolution_source_callback):
15945 g_object_get_data() should always return a size-entry here. Return
15946 with a warning if it doesn't.
15948 2007-10-27 Sven Neumann <sven@gimp.org>
15950 * libgimpconfig/gimpscanner.c (gimp_scanner_parse_color):
15951 initialize GimpRGB, just to be sure.
15953 2007-10-27 Sven Neumann <sven@gimp.org>
15955 * app/display/gimpdisplayshell-handlers.c: removed code that syncs
15956 the padding color with the default values set in the preferences.
15959 2007-10-27 Sven Neumann <sven@gimp.org>
15961 * plug-ins/common/pnm.c (pnm_load_ascii): fixed handling of
15962 truncated ascii files. Fixes bug #490827.
15964 2007-10-27 Sven Neumann <sven@gimp.org>
15966 * plug-ins/common/pnm.c: formatting.
15969 2007-10-27 Sven Neumann <sven@gimp.org>
15971 * plug-ins/common/mkgen.pl: set the svn:ignore property instead of
15972 writing a .cvsignore file.
15974 2007-10-27 Sven Neumann <sven@gimp.org>
15976 * libgimpconfig/gimpcolorconfig.h (struct _GimpColorConfig):
15977 declared the fields as public so that they show up in the API
15980 2007-10-27 Hans Breuer <hans@breuer.org>
15982 * app/base/makefile.msc app/file/makefile.msc app/gimpcore.def
15983 app/gui/makefile.msc app/plug-in/makefile.msc
15984 libgimpwidgets/makefile.msc : updated msvc build
15985 * config.h.win32 : add ENABLE_TOOLBOX_MENU, it should only
15986 vanish on Mac OSX (Quartz build)
15988 2007-10-27 Tor Lillqvist <tml@novell.com>
15990 * libgimpbase/gimpenv.c (gimp_toplevel_directory): Drop the Win9x
15991 code path here, too.
15993 * libgimpbase/gimpenv.c (gimp_locale_directory): On Windows return
15994 the pathname in system codepage and not UTF-8.
15996 2007-10-26 Sven Neumann <sven@gimp.org>
15998 * app/text/gimptext.c: increased default font size to 24.
16000 2007-10-26 Martin Nordholts <martinn@svn.gnome.org>
16002 * app/tools/gimprectangletool.c (struct GimpRectangleToolPrivate):
16003 Renamed handle_[wh] to corner_handle_[wh] since that are the
16006 2007-10-26 Martin Nordholts <martinn@svn.gnome.org>
16008 * app/tools/gimprectangletool.c (gimp_rectangle_tool_oper_update):
16009 Use new helper functions to decide if the cursor is on a
16010 handle (or outside of the rectangle + handle bounds) to ease the
16011 introduction of having handles on the outside of the pending
16013 (gimp_rectangle_tool_coord_outside)
16014 (gimp_rectangle_tool_coord_on_handle): New helper functions.
16016 2007-10-26 Sven Neumann <sven@gimp.org>
16018 * app/pdb/gimpprocedure.c (gimp_procedure_validate_args): don't pass
16019 NULL strings to gimp_message(). Fixes bug #490617.
16021 2007-10-26 Sven Neumann <sven@gimp.org>
16023 Reenabled update of the histogram while doing color corrections
16026 * app/core/gimpviewable.[ch]: added new methods preview_freeze()
16027 and preview_thaw().
16029 * app/core/gimpimagemap.c
16030 (gimp_image_map_new): freeze the drawable preview.
16031 (gimp_image_map_dispose): thaw the drawable preview.
16032 (gimp_image_map_do): update the drawable, not the image.
16034 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_response): no
16035 need to invalidate the drawable preview any longer.
16037 2007-10-26 Michael Natterer <mitch@gimp.org>
16039 * app/xcf/xcf-load.c (xcf_load_image_props): never allocate
16040 image->cmap smaller than GIMP_IMAGE_COLORMAP_SIZE. Fixes bug #490048.
16042 2007-10-26 Sven Neumann <sven@gimp.org>
16044 * app/widgets/gimphistogrameditor.c
16045 (gimp_histogram_editor_layer_changed): connect to
16046 GimpDrawable::update instead of GimpViewable::invalidate-preview.
16048 2007-10-25 Kevin Cozens <kcozens@cvs.gnome.org>
16050 * plug-ins/script-fu/tinyscheme/scheme-private.h
16051 * plug-ins/script-fu/tinyscheme/scheme.c:
16052 Allow a maximum of two calls to backchar() needed by the "case '.'"
16053 part of the switch statement in token(). Fixes bug #490198.
16055 2007-10-25 Martin Nordholts <martinn@svn.gnome.org>
16057 * app/tools/gimprectangletool.c: Aligned static function
16060 2007-10-25 Martin Nordholts <martinn@svn.gnome.org>
16062 * app/tools/gimprectangletool.c: Tiny cosmetic change on the
16063 ClampedSide enum definition.
16065 2007-10-25 Sven Neumann <sven@gimp.org>
16067 * tools/Makefile.am
16068 * tools/gimp-remote.[ch]
16069 * tools/gimp-remote-x11.c: split gimp-remote into common and X11
16072 2007-10-25 Michael Natterer <mitch@gimp.org>
16074 * configure.in: made all tests consistently use
16075 'test "x$foo" = xbar' instead of 5 variants of which some were
16076 broken. Spotted by Peter Breitenlohner, fixes bug #490068.
16078 2007-10-25 Sven Neumann <sven@gimp.org>
16080 * configure.in: bumped version to 2.4.1 (interface age 1).
16082 2007-10-25 Sven Neumann <sven@gimp.org>
16084 * app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_proc_install):
16085 set the procedure name before parsing the image types.
16088 2007-10-25 Sven Neumann <sven@gimp.org>
16090 * app/display/gimpcanvas.c (gimp_canvas_gc_new): use INVERT
16091 instead of XOR if the xor-color is configured as white.
16093 2007-10-24 Manish Singh <yosh@gimp.org>
16095 * plug-ins/common/compose.c
16096 * plug-ins/common/decompose.c: generate PDB docs from the same
16099 2007-10-24 Kevin Cozens <kcozens@cvs.gnome.org>
16101 * Makefile.am: Applied patch from Stanislav Brabec which adds
16102 NEWS.pre-2-4, ChangeLog.pre-2-2 and ChangeLog.pre-2-4 to EXTRA_DIST.
16105 2007-10-24 Simon Budig <simon@gimp.org>
16107 * app/display/gimpdisplayshell.h: change the PROJ_ROUND macro
16108 to do proper rounding. Seems to work well.
16110 2007-10-24 Sven Neumann <sven@gimp.org>
16111 Michael Natterer <mitch@gimp.org>
16113 * Made 2.4.0 release.