1 2004-12-19 Sven Neumann <sven@gimp.org>
5 2004-12-18 Sven Neumann <sven@gimp.org>
7 * app/tools/gimprotatetool.c (gimp_rotate_tool_dialog): fixed label.
9 2004-12-18 Sven Neumann <sven@gimp.org>
11 * app/dialogs/resize-dialog.c: free the dialog's private data
12 struct using a weak reference, not in a "destroy" handler. Should
15 * app/dialogs/print-size-dialog.c
16 * app/dialogs/scale-dialog.c: same change here.
18 2004-12-18 Sven Neumann <sven@gimp.org>
20 * app/dialogs/quit-dialog.c: marked a message for translation that
21 had been forgotten. Fixes bug #161596.
23 2004-12-17 Sven Neumann <sven@gimp.org>
25 * autogen.sh: check for gtk-doc.m4, depend on intltool > 0.31.
27 2004-12-17 Sven Neumann <sven@gimp.org>
29 * app/tools/gimpmovetool.c (gimp_move_tool_cursor_update): don't
30 use the rect-select cursor if the tool is in move-layer mode.
31 Spotted by Joao S. O. Bueno, bug #161465.
33 2004-12-17 Simon Budig <simon@gimp.org>
35 * app/tools/gimpcurvestool.c: Kill some nonsensical code that
36 tried to set control points in a free form curve based on the
37 image coordinates (huh?). Update the Graph after adding a point.
40 2004-12-17 Sven Neumann <sven@gimp.org>
42 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_pick_color):
43 take drawable offsets into account. Fixes bug #161508.
45 2004-12-17 Sven Neumann <sven@gimp.org>
47 * docs/gimp-remote.1.in
49 * docs/gimptool.1.in: minor tweaks.
51 2004-12-17 Simon Budig <simon@gimp.org>
53 * data/images/gimp-splash.png: Added new splash by
54 Bill Luhtala <bluhtala@telus.net>.
56 * data/images/gimp-logo.png: Added new Image for the about dialog
57 by Philip Lafleur <deathpudding@gmail.com>.
59 * app/dialogs/about-dialog.c: Adjusted text colors and placement
62 * data/images/gimp2_0_logo.png
63 * data/images/gimp2_0_splash.png: Added for historical reasons.
65 * data/images/gimp_logo.png: Removed (renamed to gimp-logo.png)
66 * data/images/Makefile.am: changed accordingly.
68 2004-12-16 Bill Skaggs <weskaggs@primate.ucdavis.edu>
70 * app/core/gimpgradient-load.c: reject .ggr files whose
71 segments don't properly span the range 0-1.
74 2004-12-16 Manish Singh <yosh@gimp.org>
76 * app/widgets/gimppdbdialog.c (gimp_pdb_dialog_set_property): Cast
77 result of g_value_dup_object() to GIMP_CONTEXT().
79 2004-12-16 Bill Skaggs <weskaggs@primate.ucdavis.edu>
81 * plug-ins/script-fu/scripts/circuit.scm: don't try to
82 desaturate a grayscale layer, fixes bug #161470.
84 2004-12-16 Sven Neumann <sven@gimp.org>
86 * INSTALL: updated location of fontconfig sources.
88 2004-12-16 Sven Neumann <sven@gimp.org>
90 * app/config/gimpconfig-dump.c
91 * docs/gimp-remote.1.in
93 * docs/gimprc.5.in: hyphens revisited.
95 2004-12-16 Sven Neumann <neumann@jpk.com>
97 * app/config/gimpconfig-dump.c (dump_gimprc_manpage): escape hyphens.
99 * docs/gimp.1.in: documented the way that splash images are choosen.
101 * docs/gimprc.5.in: regenerated.
103 2004-12-16 Michael Natterer <mitch@gimp.org>
105 * app/actions/actions.c (action_data_get_*): get gimp, display or
106 image from a context only if it isn't NULL. Fixes warnings and
107 crashes when dragging around some dockables (the dockables'
108 context temporarily becomes NULL while dragging).
110 Reordered checks for the passed "data" to be consistent across the
113 Removed assertions which said "#warning: remove me before 2.2"
115 2004-12-16 Sven Neumann <neumann@jpk.com>
117 * app/dialogs/preferences-dialog.c (prefs_keyboard_shortcuts_dialog):
118 added a note on how to use the dialog, copied from the GNOME keyboard
121 2004-12-15 Sven Neumann <sven@gimp.org>
123 * tools/pdbgen/pdb/text_tool.pdb: let gimp_text() and
124 gimp_text_fontname() succeed but return -1 if no layer was created.
127 * app/pdb/text_tool_cmds.c
128 * libgimp/gimptexttool_pdb.c: regenerated.
130 2004-12-15 Michael Natterer <mitch@gimp.org>
132 * app/core/gimpdrawable-preview.[ch]: added utility function
133 gimp_drawable_preview_bytes() and use it. Some cleanup,
136 * app/widgets/gimpviewrendererdrawable.c: use
137 gimp_drawable_preview_bytes() instead of duplicating its code.
139 2004-12-15 Michael Natterer <mitch@gimp.org>
140 Sven Neumann <sven@gimp.org>
142 * app/core/gimpdrawable-preview.c (gimp_drawable_preview_scale):
143 fixed RGBA resampling by using premultiplied values for the
144 intermediate accumulation buffer. Fixes bugs #72880 and #72881.
146 2004-12-14 Michael Natterer <mitch@gimp.org>
148 * app/plug-in/plug-in-proc-frame.[ch]: added "gint ref_count" to
149 the PlugInProcFrame struct. Added new functions
150 plug_in_proc_frame_ref/unref().
152 (plug_in_proc_frame_new): set the ref_count to 1.
154 * app/plug-in/plug-in.[ch] (plug_in_proc_frame_push): return the
157 (plug_in_proc_frame_pop): use unref() instead of free().
159 * app/plug-in/plug-in-run.c (plug_in_temp_run): ref the proc_frame
160 while running its main loop. Removed the call to
161 plug_in_proc_frame_pop().
163 * app/plug-in/plug-in-message.c (plug_in_handle_temp_proc_return):
164 call plug_in_proc_frame_pop() immediately after
165 plug_in_main_loop_quit() so the proc_frame goes away from the
166 stack and can't be used accidentially if the core is too busy to
167 return to the main loop before the next command arrives on the
168 wire. Really fixes bug #161114 this time.
170 2004-12-14 Simon Budig <simon@gimp.org>
172 * app/vectors/gimpstroke.[ch]: Changed the "gradient" parameter
173 to "slope" to make it more clear what the returned result is (which
175 * tools/pdbgen/pdb/paths.pdb: changed accordingly
177 * app/pdb/paths_cmds.c
178 * libgimp/gimppaths_pdb.[ch]: regenerated.
182 2004-12-14 Maurits Rijk <m.rijk@chello.nl>
184 * plug-ins/imagemap/imap_selection.c: don't use
185 gtk_tree_selection_get_selected with GTK_SELECTION_MULTIPLE. Should
186 finally fix bug #149157.
188 2004-12-14 Sven Neumann <sven@gimp.org>
190 * libgimpwidgets/gimpstock.c (gimp_stock_init): documented.
192 2004-12-14 Sven Neumann <sven@gimp.org>
194 * plug-ins/imagemap/imap_misc.c (make_toolbar_radio_icon): don't
195 call gtk_radio_tool_button_new_with_stock_from_widget() with a
196 NULL widget. Fixes bug #161210.
198 2004-12-14 Sven Neumann <sven@gimp.org>
200 * configure.in: added GIMP_API_VERSION to the generated gimpversion.h.
202 * libgimpbase/gimpenv.c (gimp_toplevel_directory): use
203 GIMP_API_VERSION instead of GIMP_MACRO_VERSION.GIMP_MINOR_VERSION
204 when building a path to test the plug-in executable path against.
206 2004-12-14 Michael Natterer <mitch@gimp.org>
208 * tools/pdbgen/pdb/drawable.pdb: added gimp_drawable_sub_thumbnail()
209 to enable plug-ins avoiding #142074-alike bugs if they need to.
211 * app/pdb/drawable_cmds.c
212 * app/pdb/internal_procs.c
213 * libgimp/gimpdrawable_pdb.[ch]: regenerated.
215 * libgimp/gimpdrawable.[ch]
216 * libgimp/gimppixbuf.[ch]: wrap it with the same convenience
217 APIs as gimp_drawable_thumbnail().
220 * libgimp/gimpui.def: changed accordingly.
222 2004-12-13 Sven Neumann <sven@gimp.org>
226 * configure.in: switched to using gtkdocize for the build of the
229 2004-12-13 Maurits Rijk <m.rijk@chello.nl>
231 * plug-ins/imagemap/imap_selection.c: don't try do to anything when
232 selection is empty. Fixes bug #149157.
234 2004-12-13 Maurits Rijk <m.rijk@chello.nl>
236 * plug-ins/imagemap/imap_misc.[ch]
237 * plug-ins/imagemap/imap_selection.[ch]
238 * plug-ins/imagemap/imap_toolbar.[ch]
239 * plug-ins/imagemap/imap_tools.[ch]: removed need for
240 GTK_DISABLE_DEPRECATED. Looking at #149157 next...
242 2004-12-13 Sven Neumann <sven@gimp.org>
244 * app/tools/gimpcroptool.c: don't show the Crop tool window if
245 Shift is being pressed on the initial button_press event.
247 2004-12-13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
249 * plug-ins/pygimp/gimpfu.py: display PF_RADIO options vertically
250 instead of horizontally, as suggested by Joao S. O. Bueno Calligaris.
253 2004-12-13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
255 * plug-ins/gfig/gfig.c: make the "gfig" layer parasites persistent,
256 so that they will be saved in xcf files. Stop printing "GFig
257 parasite found" message.
259 2004-12-13 Michael Natterer <mitch@gimp.org>
261 * app/widgets/gimppdbdialog.[ch]: don't forget the context we
262 were created with but rmember it as pdb_dialog->caller_context.
264 * app/widgets/gimpbrushselect.c
265 * app/widgets/gimpfontselect.c
266 * app/widgets/gimpgradientselect.c
267 * app/widgets/gimppaletteselect.c
268 * app/widgets/gimppatternselect.c: use the caller_context when
269 calling the temp_proc so the temp_proc's stack frame doesn't
270 contain the dialog's private context (which is just a scratch
271 model for the container views) but the plug-in's real context
272 which is fully initialized. Fixes bug #161114.
274 2004-12-13 Sven Neumann <sven@gimp.org>
276 * libgimp/gimpdrawablecombobox.c: fixed gtk-doc comment.
278 2004-12-13 DindinX <dindinx@gimp.org>
280 * plug-ins/gfig/gfig-dialog.c
281 * plug-ins/gfig/gfig-style.c: let objects keep their own fill_style
284 2004-12-13 Sven Neumann <sven@gimp.org>
286 * app/core/gimpimage-convert.c: applied patch from Adam D. Moss with
287 more fixed dither improvements (bug #161123).
289 2004-12-13 Sven Neumann <sven@gimp.org>
291 * app/gui/splash.c: restrict splash image to screen size to guard us
292 from insanely large splash images.
294 2004-12-13 Michael Natterer <mitch@gimp.org>
296 * app/widgets/gimpdock.c (gimp_dock_delete_event): invert logic so
297 everything except GTK_RESPONSE_OK keeps the dock open
298 (e.g. hitting escape).
300 2004-12-12 Michael Natterer <mitch@gimp.org>
302 * app/core/gimpdrawable-preview.c (gimp_drawable_get_sub_preview):
303 added precondition check for the coords of the src area. Some
304 cleanup and simplification.
306 * app/widgets/gimpviewrendererdrawable.c
307 (gimp_view_renderer_drawable_render): don't request sub-previews
308 of area outside the drawable and don't reuqest previews of zero
309 width or height. Fixes crashes with the new preview code.
311 2004-12-12 Sven Neumann <sven@gimp.org>
313 Applied patch from Adam D. Moss (bug #161113):
315 * app/core/gimpimage-convert.c: Use a slower but much nicer
316 technique for finding the two best colours to dither between when
317 using fixed/positional dither methods. Makes positional dither
320 2004-12-12 Sven Neumann <sven@gimp.org>
322 * plug-ins/common/film.c (film): push a context around code that
323 changes the foreground color.
325 2004-12-12 Sven Neumann <sven@gimp.org>
327 * app/batch.c (batch_run): changed handling of the 'gimp -b -'
328 command-line. It used to spawn three instances of Script-Fu, two
329 should be more than enough.
331 2004-12-12 Bill Skaggs <weskaggs@primate.ucdavis.edu>
333 * app/widgets/gimpdataeditor.c: make Revert button insensitive
334 because revert is not yet implemented (bug #152259).
336 2004-12-12 Sven Neumann <sven@gimp.org>
338 * app/widgets/gimpdock.c: show a confirmation dialog if a dock
339 with multiple tabs is being closed. Sorry for the new strings,
340 they were carefully copied from gnome-terminal.
342 2004-12-12 Bill Skaggs <weskaggs@primate.ucdavis.edu>
344 * plug-ins/common/pnm.c: make export do the right thing when
345 saving as .pgm or .ppm. Fixes bug #160045.
347 2004-12-12 Sven Neumann <sven@gimp.org>
349 * libgimp/gimp.def: added gimp_edit_copy_visible.
351 * plug-ins/script-fu/scripts/copy-visible.scm: deprecated.
353 2004-12-12 Sven Neumann <sven@gimp.org>
355 * plug-ins/common/winclipboard.c: applied patch from Brion Vibber
356 that adds an alpha channel to the pasted layer. Fixes bug #148601.
358 2004-12-12 Sven Neumann <sven@gimp.org>
360 * app/base/tile-manager-crop.c: removed trailing whitespace.
362 * plug-ins/imagemap/imap_selection.c: need to define
363 GTK_DISABLE_DEPRECATED for gtk_toolbar_append_space().
365 2004-12-12 Michael Natterer <mitch@gimp.org>
367 * app/paint-funcs/paint-funcs.[ch]: added new function
368 copy_region_nocow() as a workaround for the fact that sharing
369 tiles with the projection is heavily broken.
371 * app/base/tile-manager.c (tile_invalidate): added a warning when
372 entering the code path that breaks badly.
374 * app/core/gimp-edit.[ch]: added gimp_edit_copy_visible(), using
375 the non-COW copying function above.
377 * app/widgets/gimphelp-ids.h: added GIMP_HELP_COPY_VISIBLE.
379 * app/actions/edit-actions.c
380 * app/actions/edit-commands.[ch]: added action & callback for
383 * menus/image-menu.xml.in: added "edit-copy-visible" to the image
386 * tools/pdbgen/pdb/edit.pdb: added gimp_edit_copy_visible()
389 * app/pdb/edit_cmds.c
390 * app/pdb/internal_procs.c
391 * libgimp/gimpedit_pdb.[ch]: regenerated.
393 * plug-ins/script-fu/scripts/copy-visible.scm: removed all code
394 and made it a backward compat wrapper around gimp-edit-copy-visible.
397 2004-12-11 Michael Natterer <mitch@gimp.org>
399 * app/core/gimpdrawable-preview.c (gimp_drawable_preview_private):
400 implement it using gimp_drawable_get_sub_preview(). Removes
401 massive code duplication introduced by yesterday's fix.
403 2004-12-11 Kevin Cozens <kcozens@cvs.gimp.org>
405 * plug-ins/script-fu/scripts/copy-visible.scm: Apply the layer mask
406 when copying a single layer with a layer mask. Fixes bug #138662.
408 * plug-ins/script-fu/scripts/t-o-p-logo.scm: Removed ' character.
410 2004-12-11 Sven Neumann <sven@gimp.org>
414 * README: updates for the GIMP 2.2.0 release.
416 2004-12-11 Sven Neumann <sven@gimp.org>
418 * plug-ins/common/unsharp.c: got rid of a global variable.
420 * plug-ins/common/bumpmap.c (dialog_bumpmap_callback): more changes
421 to restore the gimp-2.0 behaviour.
423 2004-12-11 Michael Natterer <mitch@gimp.org>
425 * app/core/gimpdrawable-preview.[ch]: added new function
426 gimp_drawable_get_sub_preview() which returns a scaled preview of
427 a part of a drawable.
429 (gimp_drawable_preview_scale): made it work with srcPR.x and
432 * app/core/gimpimage-preview.c (gimp_image_get_new_preview)
433 * app/widgets/gimpviewrendererdrawable.c
434 (gimp_view_renderer_drawable_render): if the area of the drawable
435 preview is more than 4 times larger than the drawable itself (evil
436 heuristic, but seems to work fine), use above function to get a
437 sub-preview of the drawable instead of getting an insanely large
438 preview of the whole drawable just to use a small part of it.
441 * app/core/gimpimage-preview.c (gimp_image_get_new_preview):
442 optimized by skipping layers which do not intersect with the
445 2004-12-11 Sven Neumann <sven@gimp.org>
447 * plug-ins/common/bumpmap.c (dialog_bumpmap_callback): do actually
448 change the bumpmap drawable. Fixes bug #160985, hopefully without
449 reopening bug #158494.
451 2004-12-11 Sven Neumann <sven@gimp.org>
453 * configure.in: set version to 2.2.0.
456 * tools/authorsgen/Makefile.am
457 * tools/authorsgen/authorsgen.pl
458 * tools/authorsgen/contributors: removed authorsgen, a perl script
459 that used to be used to create AUTHORS and authors.h.
463 * authors.xml: added a simple XML file that lists authors and
464 contributors and a DTD to validate it.
466 * authors.xsl: a stylesheet to generate AUTHORS from authors.xml.
468 * app/dialogs/Makefile.am
469 * app/dialogs/authors.xsl: a stylesheet to generate authors.h from
472 * app/dialogs/authors.h: regenerated.
474 * app/dialogs/about-dialog.c: added a const modifier.
476 2004-12-09 Bill Skaggs <weskaggs@primate.ucdavis.edu>
478 * app/widgets/gimphistogrameditor.c: make histogram editor,
479 and therefore histogram dialog, use the selection. Should
482 * app/core/gimpdrawable-histogram.h: remove trailing whitespace.
484 2004-12-10 Manish Singh <yosh@gimp.org>
486 * app/widgets/gimpdatafactoryview.c
487 * app/widgets/gimpitemtreeview.c: #include <string.h> for strcmp()
489 2004-12-10 Michael Natterer <mitch@gimp.org>
491 * app/widgets/gimpdatafactoryview.c
492 (gimp_data_factory_view_tree_name_edited)
493 * app/widgets/gimpitemtreeview.c
494 (gimp_item_tree_view_name_edited)
495 * app/widgets/gimptemplateview.c
496 (gimp_template_view_tree_name_edited): call gimp_object_set_name()
497 or gimp_item_rename() only if the item's name has actually changed
498 and restore the old text otherwise. Fixes one instance of "name is
499 not updated correctly after editing" for which I blamed GTK+ in
500 bug #145463 :-) The other instances should be fixed in GTK+ HEAD
501 and are imho unfixable with GTK+ 2.4.
503 2004-12-10 Michael Natterer <mitch@gimp.org>
505 * app/widgets/gimpcontainertreeview.c
506 (gimp_container_tree_view_clear_items): clear all viewable cell
507 renderers so they don't keep pointers to layers/masks which don't
508 exist any more. Fixes the additional problem in bug #148852 but
511 2004-12-09 Bill Skaggs <weskaggs@primate.ucdavis.edu>
513 * app/core/gimpbrushpipe.c (gimp_brush_pipe_select_brush):
514 Don't initialize a new random number generator every time a brush
515 is selected from a pipe. Fixes bug #148205).
517 2004-12-09 DindinX <dindinx@gimp.org>
519 * plug-ins/common/cartoon.c: marked the menu entry for translation
520 (reported by Zigomar)
522 2004-12-09 Michael Natterer <mitch@gimp.org>
524 * app/dialogs/print-size-dialog.c
525 * app/widgets/gimpsizebox.c: set a focus_chain on the size_entries
526 so the focus order is width->height->chain->unitmenu and not
527 width->chain->height->unitmenu.
529 * app/widgets/gimptemplateeditor.c: changed focus_chain code to
530 work like above (cosmetics).
532 2004-12-09 Sven Neumann <sven@gimp.org>
534 * app/gui/splash.c (splash_update): only expose the area of the
535 window that actually changed.
537 * app/plug-in/plug-in-rc.c (plug_in_rc_write): changed the header
538 and footer to be more in line with the other rc files.
540 2004-12-08 Bill Skaggs <weskaggs@primate.ucdavis.edu>
542 * app/dialogs/print-size-dialog.c (print_size_dialog_size_changed):
543 Previous fix only worked if units were inches -- now seems to
544 work for all units. (fixes #159273 ?)
546 2004-12-08 Bill Skaggs <weskaggs@primate.ucdavis.edu>
548 * plug-ins/common/randomize.c: Changed algorithm for Pick and
549 Slur to treat all channels within a pixel in the same way;
550 intended to fix bug #72852.
552 2004-12-08 Bill Skaggs <weskaggs@primate.ucdavis.edu>
554 * app/dialogs/print-size-dialog.c (print_size_dialog_size_changed):
555 fixed kludgy use of size entry, seems to fix bug #159273.
557 2004-12-08 Michael Natterer <mitch@gimp.org>
559 * app/widgets/gimpuimanager.[ch]: renamed
560 gimp_ui_manager_get_action() to gimp_ui_manager_find_action().
562 * app/widgets/gimpcolormapeditor.c
563 * app/widgets/gimpitemtreeview.c
564 * app/widgets/gimppaletteeditor.c
565 * app/widgets/gimptoolbox.c
566 * app/widgets/gimptooloptionseditor.c
567 * app/display/gimpdisplayshell-close.c: changed accordingly.
569 (this change is quite useless as it stands, but will help keeping
570 the diff between 2.2 and 2.3 small as soon as we're branched).
572 * app/widgets/gimpcolormapeditor.c
573 (gimp_colormap_preview_button_press): invoke the "edit-color", not
574 "new-color" action upon double click.
576 (palette_editor_select_entry): update the ui manager after
577 selecting the entry so the entry-specific actions become sensitive
578 if there was no entry selected before.
580 2004-12-08 Michael Natterer <mitch@gimp.org>
582 * app/widgets/gimppropwidgets.[ch]: added new prop_widget
583 gimp_prop_int_combo_box_new() which takes a pre-built GimpIntStore
584 and allows to create views on int properties with arbitrary sets
585 of values (not just enums).
587 * app/widgets/gimpcontrollereditor.c
588 (gimp_controller_editor_constructor): added support for generic
589 combo boxes controlled exclusively by controller properties: if an
590 int property "foo" is followed by an object property "foo-values"
591 and the contained object is a GimpIntStore, use that store as
592 model for selecting "foo"'s values using
593 gimp_prop_int_combo_box_new().
595 (Allows for more flexible controller configuration, the actual use
596 case in the midi controller is still work in progress).
598 2004-12-06 Sven Neumann <sven@gimp.org>
600 * tools/authorsgen/contributors: removed duplicate entry for Roman.
603 * app/dialogs/authors.h: regenerated.
605 2004-12-06 Roman Joost <romanofski@gimp.org>
607 * tools/authorsgen/contributors: added Róman Joost to
610 2004-12-06 Michael Natterer <mitch@gimp.org>
612 * app/tools/gimptransformtool.c: applied patch from Sven Neumann
613 which removes code that prevents layers with mask from being
616 * app/tools/gimptransformtool.[ch]: added "gboolean mask_empty"
617 parameter to GimpTransformTool::transform(). Needed because the
618 selection gets cleared by cutting from the drawable and we need
619 the selection's state before that cutting.
621 (gimp_transform_tool_doit): pass "mask_empty" to
622 GimpTransformTool::transform():
624 * app/tools/gimptransformtool.c (gimp_transform_tool_real_transform)
625 * app/tools/gimpfliptool.c (gimp_flip_tool_transform): when
626 transforming a layer with mask and there is no selection,
627 transform the mask just as if it was a linked item.
628 Fixes bug #143837 and bug #159697.
630 2004-12-05 Sven Neumann <sven@gimp.org>
632 * app/core/gimp-transform-utils.c (gimp_transform_matrix_flip_free):
633 applied patch from Joao S. O. Bueno that fixes bug #160339.
635 2004-12-05 Sven Neumann <sven@gimp.org>
637 * plug-ins/help/domain.c
638 * plug-ins/help/gimp-help-lookup.c
639 * plug-ins/help/help.[ch]: if the help files are not installed,
640 uninstall the temporary procedure and quit. Fixes bug #160258.
642 2004-12-05 Sven Neumann <sven@gimp.org>
644 * plug-ins/common/lic.c: applied patch from Joao S. O. Bueno that
645 sets a lower limit for the filter length (bug #160121). The patch
646 also makes the plug-in work on drawables with alpha channel.
648 2004-12-05 Sven Neumann <sven@gimp.org>
650 * plug-ins/common/wmf.c: applied patch from Karine Proot that
651 limits the size of the preview in the WMF loader (bug #133521).
653 2004-12-04 DindinX <dindinx@gimp.org>
655 * plug-ins/gfig/gfig-arc.c
656 * plug-ins/gfig/gfig-arc.h
657 * plug-ins/gfig/gfig-bezier.c
658 * plug-ins/gfig/gfig-bezier.h
659 * plug-ins/gfig/gfig-circle.c
660 * plug-ins/gfig/gfig-circle.h
661 * plug-ins/gfig/gfig-dobject.c
662 * plug-ins/gfig/gfig-dobject.h
663 * plug-ins/gfig/gfig-ellipse.c
664 * plug-ins/gfig/gfig-ellipse.h
665 * plug-ins/gfig/gfig-line.c
666 * plug-ins/gfig/gfig-line.h
667 * plug-ins/gfig/gfig-poly.c
668 * plug-ins/gfig/gfig-poly.h
669 * plug-ins/gfig/gfig-preview.c
670 * plug-ins/gfig/gfig-spiral.c
671 * plug-ins/gfig/gfig-spiral.h
672 * plug-ins/gfig/gfig-star.c
673 * plug-ins/gfig/gfig-star.h: updating a object is now a virtual
676 2004-12-03 Michael Natterer <mitch@gimp.org>
678 * app/core/gimpimage-undo-push.c (undo_pop_layer): when removing
679 the floating selection, call gimp_drawable_invalidate_boundary()
680 *before* setting gimage->floating_sel to NULL because otherwise
681 gimp_display_shell_selection_invis() won't clear the correct
682 selection bounds and leave garbage on screen. Fixes bug #160247.
684 2004-12-02 Michael Natterer <mitch@gimp.org>
686 * app/actions/tool-options-actions.c
687 (tool_options_actions_update_presets): don't forget to initialize
688 the "value_variable" boolean of GimpEnumActionEntry. Fixes myriads
689 of warnings about wrong values for boolean properties.
691 * app/actions/file-actions.c (file_actions_setup): same
692 here. Fixes nothing but is cleaner.
694 2004-12-02 Simon Budig <simon@gimp.org>
696 * app/vectors/gimpvectors.c: Fixed stupid typo that caused
697 distorted vectors on scaling after resizing. Spotted by
702 2004-12-01 Sven Neumann <sven@gimp.org>
704 * autogen.sh: rephrased the warning that is shown when the
705 intltool check fails.
707 2004-12-01 Michael Natterer <mitch@gimp.org>
709 * app/widgets/gimpuimanager.c (gimp_ui_manager_ui_get): improved
710 error message about missing XML files.
712 2004-12-01 Michael Natterer <mitch@gimp.org>
714 * app/display/gimpdisplayshell-appearance.c
715 * app/display/gimpdisplayshell.c
716 * app/widgets/gimpdockable.c
717 * app/widgets/gimptexteditor.c
718 * app/widgets/gimptoolbox.c: check if gimp_ui_manager_ui_get()
719 actually returns something. Prevents crashes caused by missing
720 ui manager xml files. Fixes bug #159346.
722 2004-12-01 Michael Natterer <mitch@gimp.org>
724 * app/widgets/gimptoolview.c (gimp_tool_view_select_item): no need
725 to update the ui manager here, the parent class already does it.
727 2004-11-30 DindinX <dindinx@gimp.org>
729 * plug-ins/gfig/README: removed some very obsolete stuff.
731 * plug-ins/gfig/gfig-arc.c
732 * plug-ins/gfig/gfig-arc.h
733 * plug-ins/gfig/gfig-bezier.c
734 * plug-ins/gfig/gfig-bezier.h
735 * plug-ins/gfig/gfig-circle.c
736 * plug-ins/gfig/gfig-circle.h
737 * plug-ins/gfig/gfig-dobject.c: small cleanups
739 2004-11-30 Michael Natterer <mitch@gimp.org>
741 * app/gui/themes.c (themes_init): use gtk_rc_parse() instead of
742 gtk_rc_add_default_file() to add ~/.gimp-2.2/themerc to the list
743 of files parsed by GTK+ because the latter works only before
744 gtk_init(). Fixes bug #155963.
746 2004-11-30 Michael Natterer <mitch@gimp.org>
748 * app/dialogs/print-size-dialog.c: reordered prototypes to match
749 order of implementations.
751 2004-11-30 Sven Neumann <sven@gimp.org>
753 * app/sanity.c: we check for the same version of freetype on all
754 platforms, no need for an ifdef here.
756 2004-11-30 Sven Neumann <sven@gimp.org>
758 * libgimp/gimpexport.c: some more HIG-ification tweaks to the
761 2004-11-30 Michael Natterer <mitch@gimp.org>
763 * app/widgets/gimpactiongroup.c
764 (gimp_action_group_set_action_color)
765 (gimp_action_group_set_action_color): allow to set color and
766 viewable to NULL, GimpAction handles this nicely. Fixes warnings
767 some foo_actions_update() functions were triggering.
769 2004-11-30 DindinX <dindinx@gimp.org>
771 * plug-ins/gfig/*[ch]: code cleanup
773 2004-11-29 Michael Natterer <mitch@gimp.org>
775 * tools/pdbgen/pdb/display.pdb: make it work as documented (fail
776 if the new_image already has a display). Also fail if the
777 old_image doesn't have any display (changed docs accordingly).
778 On success, take over the initial reference count of the new
779 image, just as the gimp_display_new() PDB wrapper does.
782 * app/pdb/display_cmds.c
783 * libgimp/gimpdisplay_pdb.c: regenerated.
785 2004-11-29 Sven Neumann <sven@gimp.org>
787 * app/file/file-save.c (file_save_as): when the image filename
788 changes, forget the filename that was last used with "save-a-copy".
790 2004-11-29 Sven Neumann <sven@gimp.org>
792 * libgimpwidgets/gimppreview.c (gimp_preview_toggle_callback):
793 change the "update" property and notify listeners (in particular
794 GimpDrawablePreview) before invalidating the preview. Plug-ins
795 might (needlessly) look at the property to decide whether they
796 need to redraw. Fixes bug #159816.
798 * plug-ins/common/unsharp.c (preview_update): no need to look at
799 the value of the "Preview" toggle. GimpPreview takes care this.
801 2004-11-29 DindinX <dindinx@gimp.org>
803 * plug-ins/gfig/gfig-dialog.c: issue a repaint after the
804 "show previous", "show next" and "show all" callbacks.
806 * plug-ins/gfig/gfig-style.c: fixed some comments.
808 2004-11-29 Sven Neumann <sven@gimp.org>
810 * plug-ins/imagemap/imap_preview.c
811 * plug-ins/imagemap/imap_selection.c: undeprecated.
813 2004-11-28 DindinX <dindinx@gimp.org>
815 * plug-ins/gfig/gfig-dobject.c: copy the style of the object when
816 pushing it to the undo stack, so undoing works as expected.
818 2004-11-28 DindinX <dindinx@gimp.org>
820 * plug-ins/gfig/gfig-style.c
821 * plug-ins/gfig/gfig-style.h: create a new function to get the current
822 style instead of using a global pointer for this
823 (gfig_context_get_current_style ())
825 * plug-ins/gfig/gfig-circle.c
826 * plug-ins/gfig/gfig-dialog.c
827 * plug-ins/gfig/gfig-dobject.c
828 * plug-ins/gfig/gfig.h: use this function everywhere it is needed. And
829 remove the current_style field from GfigContext.
832 * plug-ins/FractalExplorer/Dialogs.h
833 * plug-ins/FractalExplorer/FractalExplorer.c: small cleanups
835 2004-11-28 Sven Neumann <sven@gimp.org>
837 * plug-ins/gfig/gfig-dialog.c
838 * plug-ins/gfig/gfig-style.[ch]
839 * plug-ins/gfig/gfig.h: removed unused stack of styles. Removed
840 gimp_style from GFigContext.
842 2004-11-28 Sven Neumann <sven@gimp.org>
844 * plug-ins/gfig/gfig.c (run): push a context for GFig.
846 2004-11-28 DindinX <dindinx@gimp.org>
848 * plug-ins/gfig/gfig-dialog.[ch]
849 * plug-ins/gfig/gfig-dobject.c: renamed undo_water_mark to undo_level.
850 Fixed the style handling when clearing the whole thing and undoing in
851 some very particular cases. The undo part should certainly be redone
854 Btw, this is the revision 1.10000 of the ChangeLog, yeah!
856 2004-11-28 Bill Skaggs <weskaggs@primate.ucdavis.edu>
858 * plug-ins/gfig/gfig-style.c: make sure PaintType is saved and
859 loaded with the style.
861 2004-11-28 DindinX <dindinx@gimp.org>
863 * plug-ins/gfig/gfig-dialog.c: correctly initializes the paint_type
864 field of the default style.
866 * plug-ins/gfig/gfig-style.c: don't print an useless error message
867 where no-one can see it when loading an other with no style but use
868 the default style instead.
870 2004-11-28 Sven Neumann <sven@gimp.org>
872 * plug-ins/gfig/gfig-dialog.[ch]
873 * plug-ins/gfig/gfig-dobject.c: moved Undo and Clear to the Edit
874 menu. Added a utility function to set the sensitivity of an action
875 by name. Cleaned up action callbacks.
877 * plug-ins/gfig/gfig-style.c: minor cleanup.
879 2004-11-28 DindinX <dindinx@gimp.org>
881 * plug-ins/gfig/gfig-arc.c
882 * plug-ins/gfig/gfig-bezier.c
883 * plug-ins/gfig/gfig-circle.c
884 * plug-ins/gfig/gfig-dialog.c
885 * plug-ins/gfig/gfig-ellipse.c
886 * plug-ins/gfig/gfig-line.c
887 * plug-ins/gfig/gfig-poly.c
888 * plug-ins/gfig/gfig-spiral.c
889 * plug-ins/gfig/gfig-star.c: made the class name uppercase since it is
890 used to parse a gfig file.
892 2004-11-28 Sven Neumann <sven@gimp.org>
894 * plug-ins/gfig/gfig-dialog.c: make sure that widgets in the Grid
895 and Preferences dialogs are only accessed while the dialogs exist.
897 2004-11-28 Sven Neumann <sven@gimp.org>
899 * plug-ins/gfig/gfig-dialog.c: made the Grid and Preferences
900 dialogs singletons and declared them as transient to the GFig
901 window. Don't let them run their own main loop.
903 2004-11-28 Sven Neumann <sven@gimp.org>
905 * plug-ins/gfig/gfig-dialog.c: added a Close menu item to the
906 menubar. Removed help buttons from popup dialogs. Set the same
907 default directory in load and save filechoosers.
909 2004-11-27 Manish Singh <yosh@gimp.org>
911 * tools/pdbgen/pdb/drawable_transform.pdb: escape utf8 as hex, to
912 avoid perl trying to be so smart that it's stupid.
914 * app/pdb/drawable_transform_cmds.c: regenerated.
916 2004-11-27 Manish Singh <yosh@gimp.org>
918 * plug-ins/common/jpeg.c (save_image): thumbnail buffer variable
919 declarations should be guarded under HAVE_EXIF.
921 2004-11-27 Manish Singh <yosh@gimp.org>
923 * plug-ins/pygimp/plug-ins/colorxhtml.py: s/colorhtml/colorxhtml/,
924 so it doesn't clash with the perl version.
926 * plug-ins/pygimp/plug-ins/Makefile.am: reflect filename change.
928 2004-11-27 Sven Neumann <sven@gimp.org>
930 * plug-ins/common/jpeg.c: delay the creation of the display for
931 the export image preview until the user requests a preview. Fixes
934 2004-11-27 Øyvind Kolås <pippin@gimp.org>
936 * libgimp/gimpexport.c: minor layout adjustments for HIG compliance.
938 2004-11-27 Kevin Cozens <kcozens@cvs.gimp.org>
940 * plug-ins/script-fu/scripts/spyrogimp.scm: Force number of teeth
941 to be integer values. Changed default for Outer teeth to give a
942 more interesting image. Detabified file. Fixes bug #158448.
944 2004-11-27 Sven Neumann <sven@gimp.org>
946 * plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
947 don't look at the menu path to determine if the script is
948 image-based. Instead look at the number of parameters we are being
951 2004-11-27 Sven Neumann <sven@gimp.org>
953 * app/tools/gimpinkoptions-gui.c: made the Size scale logarithmic
954 as suggested in bug #159632.
956 2004-11-27 Sven Neumann <sven@gimp.org>
958 * plug-ins/common/tiff.c (save_image): tell the user that we can't
959 handle indexed images with alpha channel (bug #159600).
961 2004-11-27 Sven Neumann <sven@gimp.org>
964 * app/widgets/gimpenumstore.h
965 * app/widgets/gimpunitstore.c
966 * plug-ins/common/retinex.c: applied patch by Tim Mooney that
969 2004-11-27 Sven Neumann <sven@gimp.org>
971 * plug-ins/common/wmf.c (run): applied patch by Tim Mooney that
972 increase the size of values[] to accomodate the use of
973 file_wmf_load_thumb (bug #159601).
975 2004-11-27 Sven Neumann <sven@gimp.org>
977 * tools/pdbgen/pdb/drawable.pdb: minor change to the PDB docs.
979 * libgimp/gimpdrawable_pdb.c
980 * tools/pdbgen/pdb/drawable.pdb: regenerated.
982 2004-11-27 Sven Neumann <sven@gimp.org>
984 * plug-ins/winicon/icosave.c
985 * plug-ins/winicon/main.[ch]: moved code around.
987 2004-11-26 Manish Singh <yosh@gimp.org>
989 * plug-ins/common/dog.c: make sure the preview image type matches
990 the source image type.
992 2004-11-26 Sven Neumann <sven@gimp.org>
994 * plug-ins/winicon/icosave.c: don't fiddle with the source image,
995 a save plug-in should save, nothing else.
997 * plug-ins/winicon/main.[ch]: handle all sorts of image types.
1000 2004-11-26 Sven Neumann <sven@gimp.org>
1002 * tools/pdbgen/pdb/drawable.pdb: fixed docs for
1003 gimp_drawable_type_with_alpha().
1005 * app/pdb/drawable_cmds.c
1006 * libgimp/gimpdrawable_pdb.c: regenerated.
1008 2004-11-26 Sven Neumann <sven@gimp.org>
1010 * plug-ins/winicon/main.[ch] (ico_image_get_reduced_buf)
1011 * plug-ins/winicon/icodialog.c
1012 * plug-ins/winicon/icoload.c
1013 * plug-ins/winicon/icosave.c: fixed drawable handling. This
1014 plug-in is still a complete mess and needs a lot more work.
1016 2004-11-26 Sven Neumann <sven@gimp.org>
1018 * app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui): only
1019 show the Incremental toggle for tools that use it (bug #159306).
1021 2004-11-26 Sven Neumann <sven@gimp.org>
1023 * app/core/gimpdocumentlist.c (gimp_document_list_deserialize):
1024 don't add documents w/o a name to the list. Fixes bug #159510.
1026 * app/core/gimpdrawable.c (gimp_drawable_resize): extended the
1027 check to take the offsets into account as well.
1029 2004-11-25 Manish Singh <yosh@gimp.org>
1031 * plug-ins/common/dog.c: Add the temporary layers to the image, so
1032 things work. Fixes bug #158895.
1034 * plug-ins/common/iwarp.c: Fix same naughtiness as above. There's
1035 other naughtiness still though.
1037 * plug-ins/common/sunras.c: use gboolean for byte2bit invert argument.
1039 2004-11-25 Manish Singh <yosh@gimp.org>
1041 * plug-ins/common/jpeg.c: Use a jpeg_error_mgr that lives within
1042 PreviewPersistent, instead of an automatic variable in save_image.
1045 2004-11-25 Simon Budig <simon@gimp.org>
1047 * modules/controller_linux_input.c: Add some sample code to retrieve
1048 the name of the connected MIDI device (ALSA).
1049 Do not set the "name" when connected to Alsa, since snd_seq_name()
1050 returns an uninteresting name.
1052 2004-11-24 Michael Natterer <mitch@gimp.org>
1054 * app/gui/gui.c (gui_display_changed): if the active display
1055 becomes NULL (e.g. by closing a view), don't leave the user
1056 context with an image but no display. Instead, try to find another
1057 display of the same image and if that fails set the image to NULL.
1059 Prevents the various foo_actions_update() functions from being
1060 called with a NULL display while there is still an active image in
1065 (Removed #warning about being misplaced from that function because
1066 it's a typical piece of ugly glue code that belongs exactly here).
1068 2004-11-24 Simon Budig <simon@gimp.org>
1070 * modules/controller_linux_input.c: Accept >= 0 return values of the
1071 ioctl() to figure out the device name. Apparently it is the number of
1072 bytes written to the string, so we might omit the strlen() following,
1073 but I don't like to rely on that...
1075 2004-11-24 Michael Natterer <mitch@gimp.org>
1077 * libgimpwidgets/gimpcontroller.[ch]: guarded the whole header
1078 with GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION because it's no
1079 fixed API yet. Added a "state" property bacause "name" was abused
1080 as the controller's state. Added "help_domain" to the controller
1083 * libgimpwidgets/gimpwidgets.h: don't include gimpcontroller.h
1085 * modules/controller_linux_input.c
1086 * modules/controller_midi.c: set the "name" property to the name
1087 retrieved from the device, or to a default string if no name is
1088 available. Store the status in the "state" property. Added and
1089 changed some strings, but it's better to have the controller
1090 strings untranslated than to have no tooltips at all or misleading
1093 * app/widgets/gimpcontrollerkeyboard.c
1094 * app/widgets/gimpcontrollerwheel.c: set default strings for both.
1096 * app/widgets/gimpcontrollereditor.c: added a GUI for the "state"
1099 * app/widgets/gimpcontrollerkeyboard.h
1100 * app/widgets/gimpcontrollerwheel.h
1101 * app/widgets/gimpcontrollerinfo.c
1102 * app/widgets/gimpcontrollers.c: #define
1103 GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION (just as in all files
1106 * app/widgets/gimphelp-ids.h: added the IDs of all controller
1107 modules and also of all other modules. The defines are not
1108 actually used, but this file is the canonical place to collect all
1109 the core's help IDs.
1111 2004-11-23 Sven Neumann <sven@gimp.org>
1113 * app/core/gimp-templates.[ch]
1114 * app/dialogs/user-install-dialog.c: merge the migrated user
1115 templaterc with the system templaterc so the users who have used
1116 gimp-2.0 before get our changes to the default templates.
1118 2004-11-23 Michael Natterer <mitch@gimp.org>
1120 * app/widgets/gimpwidgets-utils.[ch]: added new function
1121 gimp_toggle_button_set_visible() which can be used as "toggled"
1122 callback on a GtkToggleButton and sets a widget (in)visible
1123 according to the toggle's "active" state.
1125 * app/tools/gimpblendoptions.c
1126 * app/tools/gimppaintoptions-gui.c
1127 * app/tools/gimpselectionoptions.c: use it to hide (rather than
1128 just insensitize) the seldomly used "Feather edges", "Autoshrink
1129 selection", "Adaptive supersampling", "Fade out" and "Use color
1130 from gradient" widgets when their enabling toggle is unchecked.
1131 Makes the affected tool options much less crowded and noisy in
1132 their default appearance. Fixes bug #159008.
1134 2004-11-23 Michael Natterer <mitch@gimp.org>
1136 * app/menus/plug-in-menus.c (plug_in_menus_add_proc): create
1137 dynamic sub-menus using a separate, ui-manager-global merge_id
1138 instead of the procedure's merge_id. Has the effect that the ui
1139 manager keeps around these sub-menus forever, even if the
1140 procedure that initially registered them is unregistered.
1141 Fixes menu ordering after Script-Fu->Refresh.
1143 2004-11-23 Michael Natterer <mitch@gimp.org>
1145 * app/core/gimpparasitelist.c: cosmetics, untabified.
1147 * libgimpbase/gimpparasiteio.[ch]: added g_return_if_fail()'s
1150 (gimp_pixpipe_params_parse): changed "gchar*" param to "const
1151 gchar*" (sortof API change, but these files are most probably only
1152 used by GIMP itself). Still uses strtok() on the internal copy,
1153 but at least not on the passed string.
1155 * plug-ins/common/csource.c
1156 * plug-ins/common/gif.c
1157 * plug-ins/common/gih.c
1158 * plug-ins/common/jpeg.c
1159 * plug-ins/common/png.c
1160 * plug-ins/common/tiff.c: use parasite getters instead of
1161 accessing the scruct members directly. Always use g_strndup()
1162 instead of just g_strdup() to get strings stored in parasites
1163 because there is no guarantee that they are nul-terminated.
1165 2004-11-23 Sven Neumann <sven@gimp.org>
1167 * plug-ins/imagemap/imap_file.c (do_file_save_as_dialog): do
1168 actually use a save dialog here. Fixes bug #159194.
1170 2004-11-23 Sven Neumann <sven@gimp.org>
1172 * app/core/gimpdrawable.c (gimp_drawable_resize): do nothing if
1173 the size doesn't change. This keeps text layers from being
1174 modified when an image is cropped and the layer is entirely inside
1177 * menus/image-menu.xml.in: put the Quit item back for now. We
1178 should think about this again in the next development cycle.
1180 2004-11-22 Kevin Cozens <kcozens@cvs.gimp.org>
1182 * plug-ins/script-fu/scripts/copy-visible.scm: Fixed incorrect
1183 comparison in if statement. Partial(?) fix for bug #138662.
1185 2004-11-22 Manish Singh <yosh@gimp.org>
1187 * plug-ins/pygimp/Makefile.am
1188 * plug-ins/pygimp/pygimp-logo.png: New pygimp logo, by Carol Spears.
1190 * plug-ins/pygimp/gimpfu.py: Use new external logo file, some layout
1193 2004-11-22 Michael Natterer <mitch@gimp.org>
1195 * app/widgets/gimpcontrollerinfo.c (gimp_controller_info_init):
1196 always create the event mapping table. Fixes tons of warnings and
1197 non-functional controller mapping dialog when an empty controller
1198 was deserialized from controllerrc. Spotted by drc.
1200 2004-11-22 Sven Neumann <sven@gimp.org>
1202 * app/app_procs.c (app_exit_after_callback): call base_exit()
1203 before quitting the application using exit(). Fixes bug #159019.
1205 * app/base/tile-swap.c: moved the warning about a non-empty swap
1206 file into #ifdef GIMP_UNSTABLE ... #endif.
1208 2004-11-22 DindinX <dindinx@gimp.org>
1210 * plug-ins/gfig/gfig-dialog.c: correctly initialize the Antialising
1211 check box. Reported by Zigomar.
1213 2004-11-22 Michael Natterer <mitch@gimp.org>
1215 * plug-ins/script-fu/script-fu-scripts.c: sort the SFMenu structs
1216 by their menu_paths *and* the procedure's menu_labels. Fixes menu
1217 item sorting after "Refresh".
1219 2004-11-22 Michael Natterer <mitch@gimp.org>
1221 * app/tools/gimptextoptions.[ch] (gimp_text_options_editor_new):
1222 added a "menu_factory" parameter instead of trying to get it from
1223 the toplevel GimpDock (which does not exists if the tool options
1224 dialog does not exist). Fixes bug #159071.
1226 * app/tools/gimptexttool.c (gimp_text_tool_editor): pass the
1229 * app/dialogs/dialogs.c (dialogs_init): pass the global menu
1230 factory also when constructing the "toplevel" dialog factory so
1233 2004-11-22 Michael Natterer <mitch@gimp.org>
1235 * libgimpbase/gimputils.c (gimp_any_to_utf8): use g_strndup()
1236 instead of g_strdup() if a length was passed.
1238 * app/dialogs/info-window.c: g_strndup() the comment parasite's
1239 data and pass -1 as length to gimp_any_to_utf8() so we don't
1240 encounter the questionable (buggy?) behavior of g_utf8_validate()
1241 to fail upon finding '\0' within the "length" passed.
1244 2004-11-22 Michael Natterer <mitch@gimp.org>
1246 * plug-ins/common/struc.c: applied patch from Wolfgang Hofer
1247 which makes the plug-in use its procedure name for
1248 storing the "last_vals" struct. Fixes bug #159028.
1250 * plug-ins/common/tileit.c: ditto. Fixes bug #159029.
1252 2004-11-22 DindinX <dindinx@gimp.org>
1254 * plug-ins/gfig/gfig-line.c: fixed a stupid bug which made all lines
1257 2004-11-22 Sven Neumann <sven@gimp.org>
1259 * app/dialogs/file-open-location-dialog.c: changed border-size of
1260 GimpContainerEntry to 0.
1262 2004-11-21 Sven Neumann <sven@gimp.org>
1264 * tools/gimp-remote.c: added --no-splash command-line option that
1265 is passed to gimp. Addresses Debian bug report #277989.
1267 * docs/gimp-remote.1.in: document the new option.
1269 2004-11-21 Manish Singh <yosh@gimp.org>
1271 * configure.in: reverted previous change, as not all the lv.pos are
1274 2004-11-21 Peteris Krisjanis <pecisk@gmail.com>
1276 * configure.in: Added Latvian (lv) language support to ALL_LINGUAS.
1278 2004-11-21 Kevin Cozens <kcozens@cvs.gimp.org>
1280 * plug-ins/script-fu/scripts/erase-rows.scm: Applied patch from BM
1281 which makes the script work layers that have their top-left corner
1282 at a position other than the top-left corner of the image.
1285 2004-11-21 DindinX <dindinx@gimp.org>
1287 * plug-ins/gfig/gfig-arc.c
1288 * plug-ins/gfig/gfig-bezier.c
1289 * plug-ins/gfig/gfig-circle.c
1290 * plug-ins/gfig/gfig-dialog.c
1291 * plug-ins/gfig/gfig-dobject.c
1292 * plug-ins/gfig/gfig-ellipse.c
1293 * plug-ins/gfig/gfig-line.c
1294 * plug-ins/gfig/gfig-poly.c
1295 * plug-ins/gfig/gfig-spiral.c
1296 * plug-ins/gfig/gfig-star.c
1297 * plug-ins/gfig/gfig.h: makes which object is selected more obvious by
1298 using filled handles for the selected object. Not perfect, but
1299 certainly a good hint.
1301 2004-11-21 DindinX <dindinx@gimp.org>
1303 * plug-ins/gfig/gfig-preview.c: call gfig_grid_colours() in the
1304 realize callback of the preview, so the gray gc of the grid works
1305 again. Reported by Zigomar.
1307 * plug-ins/gfig/gfig-dobject.c
1308 * plug-ins/gfig/gfig-preview.h
1309 * plug-ins/gfig/gfig-spiral.h
1310 * plug-ins/gfig/gfig-star.h
1311 * plug-ins/gfig/notes.txt: small cosmetics fixes.
1313 2004-11-21 Sven Neumann <sven@gimp.org>
1315 * plug-ins/common/compose.c
1316 * plug-ins/common/decompose.c: transfer the image resolution to
1317 newly created images.
1319 2004-11-21 Sven Neumann <sven@gimp.org>
1321 * plug-ins/gimpressionist/Brushes/snow1.pgm: reverted a change
1322 that Hans Breuer committed here, probably accidentally.
1324 * plug-ins/script-fu/script-fu.c
1325 * plug-ins/script-fu/siod-wrapper.c: reverted Hans's changes. There
1326 is indeed a Script-Fu server on Win32.
1328 2004-11-21 Sven Neumann <sven@gimp.org>
1330 * menus/image-menu.xml.in: removed "Quit" from the image menu.
1332 2004-09-21 Hans Breuer <hans@breuer.org>
1334 * app/dialogs/makefile.msc : [new file]
1335 app/dialogs/Makefile.am : added to EXTRA_DIST
1337 * **/makefile.msc app/gimpcore.def : updated
1339 * app/gimp.rc : let wilber be first
1341 * app/widgets/gimppropwidgets.c : msvc6 can't cast uint64 either
1343 * libgimpbase/gimpwin32-io.h : make up recent loss of ftruncate in GLib
1345 * libgimpthumbnail/gimpthumbnail.c : <process.h> for getpid() on win32
1347 * plug-ins/helpbrowser/dialog.c : include gimpwin32-io.h
1349 * plug-ins/script-fu/siodwrapper.c plug-ins/script-fu/script-fu.c :
1350 there is no script-fu-server on win32
1352 2004-11-21 Michael Schumacher <schumaml@cvs.gnome.org>
1354 * plug-ins/script-fu/scripts/addborder.scm: first resize the
1355 image, then add the border layer and then fill it
1357 2004-11-20 Kevin Cozens <kcozens@cvs.gimp.org>
1359 * plug-ins/script-fu/script-fu-scripts.c: Need to call gettext in
1360 script-fu_menu_compare. Spotted by Sven. Removed obsolete #define's.
1362 2004-11-20 Michael Natterer <mitch@gimp.org>
1364 * plug-ins/script-fu/script-fu-scripts.c: renamed variable
1365 "script_list" to "script_tree" because it's a GTree.
1367 (script_fu_remove_script): g_list_free() the right list (don't
1368 leak all lists of scripts at the tree leaves).
1370 2004-11-20 Sven Neumann <sven@gimp.org>
1372 * Made 2.2-pre2 release.
1374 2004-11-20 Sven Neumann <sven@gimp.org>
1376 * plug-ins/common/glob.c: added an (optional) parameter that
1377 allows to request the output in the filesystem encoding.
1379 2004-11-19 Sven Neumann <sven@gimp.org>
1381 * plug-ins/script-fu/script-fu-scripts.c (script_fu_menu_compare):
1382 compare the menu paths, not the struct pointers.
1384 2004-11-19 Sven Neumann <sven@gimp.org>
1386 * plug-ins/common/glob.c: added a naive glob() implementation
1387 which handles the most common use case and is certainly better
1388 than nothing. Closes bug #143661 again.
1390 2004-11-19 Sven Neumann <sven@gimp.org>
1392 * libgimp/gimp.c: converted a g_warning() to g_printerr().
1394 2004-11-19 Sven Neumann <sven@gimp.org>
1396 * plug-ins/common/xpm.c: just some minor code cleanup.
1398 2004-11-19 Sven Neumann <sven@gimp.org>
1400 * plug-ins/gfig/gfig-dialog.c
1401 * plug-ins/gfig/gfig-style.c: combined two "Stroke" labels into a
1404 2004-11-19 Sven Neumann <sven@gimp.org>
1406 * plug-ins/common/noisify.c: applied a (modified) patch that adds
1407 the possibility to correlate the noise with the signal. Adds the
1408 new PDB procedure "plug_in_scatter_rgb". Fixes bug #158700.
1410 * plug-ins/helpbrowser/dialog.c: set a reasonable default size.
1412 2004-11-19 Sven Neumann <sven@gimp.org>
1414 * plug-ins/common/postscript.c (skip_ps) (ps_close): fixed use of
1415 fread(). Unfortunately this slowed down the plug-in again.
1416 Disabled the code that reads the pipe to the end. This brings it
1417 back to speed. Seems to work fine for me, let's see if this causes
1418 problems for anyone...
1420 2004-11-19 Sven Neumann <sven@gimp.org>
1422 * plug-ins/script-fu/scripts/selection-round.scm: moved into the
1423 <Image>/Select/Modify menu now that we can safely use placeholders
1426 2004-11-19 Michael Natterer <mitch@gimp.org>
1428 * tools/pdbgen/lib.pl
1429 * tools/pdbgen/stddefs.pdb: added support for deprecated procedures
1430 without any replacement.
1432 * app/plug-in/plug-in-message.c (plug_in_handle_proc_run): added
1433 a special warning for procedures without replacement.
1435 * tools/pdbgen/pdb/drawable.pdb: deprecated drawable_set_image()
1436 without any replacement and made it a nop (which fails if the
1437 passed image is different from the drawable's image). It's not
1438 needed any longer since 2.0 and moreover dangerous to use.
1440 * app/pdb/drawable_cmds.c
1441 * libgimp/gimpdrawable_pdb.[ch]: regenerated.
1443 * app/core/gimpitem.c (gimp_item_set_image): replaced assertion
1444 for gimp_item_is_floating() by !gimp_item_is_attached(). The
1445 former warned when adding a layer with already added mask to the
1446 image (which is a perfectly valid operation).
1448 2004-11-18 Sven Neumann <sven@gimp.org>
1450 * plug-ins/common/wmf.c: added a thumbnail load procedure
1453 2004-11-18 Michael Natterer <mitch@gimp.org>
1455 Script-Fu string cleanup/simplification: apply the same fix for
1456 menu path translation that was done for plug-ins a while ago.
1458 * plug-ins/script-fu/script-fu.c (script_fu_auxillary_init): use
1459 gimp_plugin_menu_register() on the "Refresh" temp_proc.
1461 * plug-ins/script-fu/scripts/*.scm: ported all scripts to use
1462 script-fu-menu-register and pass just the menu label in
1463 script-fu-register. Cleaned up all register calls to share a
1464 somewhat similar formatting.
1466 2004-11-18 Sven Neumann <sven@gimp.org>
1468 * plug-ins/common/postscript.c: changed the default to load only
1469 the first page of the document and added a tooltip describing how
1470 to specify what pages to get.
1472 2004-11-18 Sven Neumann <sven@gimp.org>
1474 * app/file/file-open.c (file_open_thumbnail): fixed check for
1475 number of return values.
1477 2004-11-18 Sven Neumann <sven@gimp.org>
1479 * plug-ins/common/postscript.c: speed up loading of multi-page
1480 documents significantly by skipping in large chunks instead of using
1481 fgetc() to crawl through the stream.
1483 2004-11-18 Sven Neumann <sven@gimp.org>
1485 * app/file/file-open.c (file_open_thumbnail): check the number of
1486 return values. Only retrieve width and height if the thumbnail
1487 load procedure does actually provide this information.
1489 * plug-ins/common/postscript.c: added a procedure to load a
1490 thumbnail. For now it only renders the first page of the
1491 document at low resolution. It should be extended to load an
1492 embedded thumbnail if one is available.
1494 * plug-ins/common/jpeg.c
1495 * plug-ins/common/svg.c: no need to register a menu label for the
1496 thumbnail loaders. Allocate the return_vals array large enough to
1497 hold all return values.
1499 2004-11-18 Michael Natterer <mitch@gimp.org>
1501 * app/widgets/gimpenumaction.[ch]: added boolean property
1502 "value-variable" which specifies if the GimpEnumAction::selected()
1503 signal may be emitted with arbirtary values (value-variable = TRUE)
1504 or *only* with enum_action->value (value-variable = FALSE).
1506 * app/widgets/gimpactiongroup.[ch]: added "gboolean
1507 value_variable" to GimpEnumActionEntry and set it in
1508 gimp_action_group_add_enum_actions().
1510 * app/actions/channels-actions.c
1511 * app/actions/colormap-editor-actions.c
1512 * app/actions/context-actions.c
1513 * app/actions/drawable-actions.c
1514 * app/actions/edit-actions.c
1515 * app/actions/error-console-actions.c
1516 * app/actions/gradient-editor-actions.c
1517 * app/actions/image-actions.c
1518 * app/actions/layers-actions.c
1519 * app/actions/palette-editor-actions.c
1520 * app/actions/plug-in-actions.c
1521 * app/actions/vectors-actions.c
1522 * app/actions/view-actions.c: set "variable" to FALSE for all enum
1523 actions except those which are used with the GIMP_ACTION_SELECT_SET
1526 * app/widgets/gimpcontrollers.c (gimp_controllers_event_mapped):
1527 fall back to gtk_action_activate() if the action specified in a
1528 GIMP_CONTROLLER_EVENT_VALUE mapping is not variable. Enables
1529 triggering of enum actions from GIMP_CONTROLLER_EVENT_VALUE events
1530 (like midi note-on and note-off).
1532 2004-11-18 Michael Natterer <mitch@gimp.org>
1534 * acinclude.m4: pasted the complete alsa.m4 so compiling from
1535 CVS doesn't require alsa.m4 to be installed.
1537 * configure.in: check for alsa >= 1.0.0 and define HAVE_ALSA
1540 * modules/Makefile.am: build controller_midi with ALSA_CFLAGS
1543 * modules/controller_midi.c: s/HAVE_ALSALIB_H/HAVE_ALSA/.
1545 2004-11-18 Michael Natterer <mitch@gimp.org>
1547 * plug-ins/common/compressor.c (compressors): added back the
1548 .xcf.gz and .xcf.bz2 extensions because they are the only way
1549 to figure the special nature of this plug-in's extensions.
1551 * app/widgets/gimpfileprocview.[ch]: keep a list of "meta
1552 extensions" (extensions which have a '.' themselves).
1554 * app/widgets/gimpfiledialog.c (gimp_file_dialog_proc_changed):
1555 try to replace the whole extension if the last extension is one of
1556 the meta extensions kept by GimpFileProcView. Fixes bug #158377.
1558 2004-11-18 Sven Neumann <sven@gimp.org>
1560 * plug-ins/maze/maze.[ch]
1561 * plug-ins/maze/maze_face.c: removed the extra help button from
1562 the Maze plug-in. Fixes bug #158605.
1564 2004-11-18 Michael Natterer <mitch@gimp.org>
1566 The following fixes have no visible effect because nobody
1567 uses gimp_plugin_menu_register() on temp_procs yet:
1569 * app/actions/plug-in-actions.[ch]: added
1570 plug_in_actions_add_path() which just adds the actions needed for
1571 a given menu math, but not the procedure action itself.
1573 * app/gui/gui-vtable.c (gui_menus_create_entry): create the
1574 menu_path's actions using above function so adding of submenus to
1575 existing ui managers works.
1577 * tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register_invoker):
1578 don't add a menu if "no_interface" is TRUE.
1580 * app/pdb/plug_in_cmds.c: regenerated.
1582 * plug-ins/script-fu/script-fu-scripts.c: pass untranslated
1583 menu_paths to the core, not translated ones. Don't store the
1584 scripts directly in the "script_list" tree but use a list of
1585 scripts per key because there can be identical keys for different
1586 scripts now. Fixed sorting of menu entries and menus.
1588 2004-11-18 Simon Budig <simon@gimp.org>
1590 * modules/controller_midi.c: implemented support for ALSA-midi,
1591 currently disabled. Needs a configure-check and proper linking
1594 2004-11-17 Dave Neary <bolsh@gimp.org>
1596 * plug-ins/common/bumpmap.c: Fixed initialisation issue
1597 that was crashing the plug-in on repeat runs. Fixes bug
1600 2004-11-17 Sven Neumann <sven@gimp.org>
1602 * app/dialogs/print-size-dialog.c: added missing callbacks for the
1603 size entries. Needs some more work though...
1605 2004-11-17 Manish Singh <yosh@gimp.org>
1607 * plug-ins/dbbrowser/Makefile.am: make libgimpprocbrowser a libtooled
1610 * plug-ins/dbbrowser/gimpprocbrowser.[ch]: add a user_data pointer
1611 for GimpProcBrowserApplyCallback.
1613 * plug-ins/dbbrowser/gimpprocbrowser.c: only convert the name to
1614 scheme style if scheme_names in the proc info pane too.
1616 * plug-ins/dbbrowser/procedure-browser.c
1617 * plug-ins/script-fu/script-fu-console.c: pass NULL as user_data.
1619 * plug-ins/script-fu/Makefile.am: reference libgimpprocbrowser.la.
1621 * plug-ins/pygimp/Makefile.am
1622 * plug-ins/pygimp/procbrowser.c: new module, which wraps
1625 * plug-ins/pygimp/gimpmodule.c
1626 * plug-ins/pygimp/pygimp.h
1627 * plug-ins/pygimp/pygimp-pdb.c: export GimpPDBFunction so other
1630 * plug-ins/pygimp/plug-ins/pdbbrowse.py
1631 * plug-ins/pygimp/plug-ins/gimpcons.py: use gimpprocbrowser.
1633 2004-11-17 Sven Neumann <sven@gimp.org>
1635 * plug-ins/script-fu/script-fu-interface.c: added a utility
1636 function to reduce code duplication.
1638 2004-11-17 Michael Natterer <mitch@gimp.org>
1640 * plug-ins/script-fu/script-fu-scripts.[ch]
1641 * plug-ins/script-fu/siod-wrapper.c: appled patch from Kevin
1642 Cozens which adds (script-fu-menu-register) and allows scripts to
1643 register their menu_paths the same undeprecated way as plug-ins.
1646 * plug-ins/script-fu/scripts/test-sphere.scm: example how to use
1647 the new API. Doesn't change strings because test-shpere.scm is an
1648 untranslated example script.
1650 2004-11-17 Michael Natterer <mitch@gimp.org>
1652 Made plug-in menu registration work the same way for ordinary and
1653 temporary procedures. Addresses bug #158117.
1655 * app/core/gimp-gui.[ch]: added "const gchar *menu_path" to
1656 gimp_menus_create_entry().
1658 * app/gui/gui-vtable.c (gui_menus_create_entry): if menu_path is
1659 NULL, behave as before and create an action and its menu entries
1660 for all the procedure's menu_paths. If it is non-NULL, skip action
1661 creation and create a menu entry just for that path.
1663 * app/plug-in/plug-ins.c (plug_ins_temp_proc_def_add): call
1664 gimp_menus_create_entry() with a NULL menu path and call it if
1665 proc_def->menu_paths *or* proc_def->menu_label is non-NULL, so
1666 it creates at least the procedure's action, even if it has
1669 * tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register): check both
1670 the list of procs and temp_procs when trying to register the
1671 entry. Allow ordinary procedures and extensions to install stuff
1672 at query() and init() time and allow temp_procs to install stuff
1675 * app/pdb/plug_in_cmds.c: regenerated.
1677 2004-11-17 Michael Natterer <mitch@gimp.org>
1679 * plug-ins/dbbrowser/gimpprocbox.c
1680 * plug-ins/dbbrowser/gimpprocbrowser.[ch]
1681 * plug-ins/dbbrowser/gimpprocview.c: some cleanup in preparation
1682 of moving it to a more public place.
1684 * plug-ins/dbbrowser/procedure-browser.c
1685 * plug-ins/script-fu/script-fu-console.c: changed accordingly.
1687 2004-11-17 Sven Neumann <sven@gimp.org>
1689 * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): removed --enable-gtk-doc
1690 here since it only causes 'make distcheck' to break earlier as usual.
1692 2004-11-17 Sven Neumann <sven@gimp.org>
1694 * plug-ins/rcm/Makefile.am
1695 * plug-ins/rcm/rcm_callback.c
1696 * plug-ins/rcm/rcm_dialog.c
1697 * plug-ins/rcm/rcm_stock.[ch]: applied a patch from Karine Proot
1698 that replaces the XPM icons with stock icons (bug #140202).
1700 * plug-ins/rcm/pixmaps/*.xpm: removed.
1702 * plug-ins/Lighting/lighting_stock.c
1703 * plug-ins/MapObject/mapobject_stock.c
1704 * plug-ins/gfig/gfig-stock.c: fixed a common but harmless mistake
1705 in the icon factory code.
1707 2004-11-16 Manish Singh <yosh@gimp.org>
1709 * app/widgets/gimpvectorstreeview.c: Hide SVG drop g_print under
1712 2004-11-16 Manish Singh <yosh@gimp.org>
1714 * plug-ins/pygimp/gimpui.py: Handle placeholder defaults for gimp
1715 objects (bug #158392). Patch by Joao S. O. Bueno.
1717 2004-11-16 Manish Singh <yosh@gimp.org>
1719 * plug-ins/pygimp/gimpui.py: Use img.name if filename is not
1720 available (bug #158392). Patch by Joao S. O. Bueno.
1722 2004-11-16 Manish Singh <yosh@gimp.org>
1724 * plug-ins/pygimp/gimpfu.py
1725 * plug-ins/pygimp/gimpui.py: Add a palette selector (bug #155325).
1726 Patch by Joao S. O. Bueno.
1728 2004-11-16 Manish Singh <yosh@gimp.org>
1730 * plug-ins/pygimp/gimpfu.py: Fix -fu slider behavior (bug #155103).
1731 Patch by Joao S. O. Bueno.
1733 2004-11-16 Manish Singh <yosh@gimp.org>
1735 * plug-ins/common/glasstile.c: Remove unnecessary G_OBJECT() casts.
1737 2004-11-16 Manish Singh <yosh@gimp.org>
1740 * plug-ins/pygimp/Makefile.am: Compile pygimp with
1741 -fno-strict-aliasing if the compiler supports it.
1743 * plug-ins/pygimp/gimpui.py: Make "..." into "Browse..." for
1744 everything but the filesel, for slightly more consistency with
1745 script-fu. Addresses #124791.
1747 * plug-ins/pygimp/gimpmodule.c: Wrapped
1748 gimp_context_{get,set}_gradient and
1749 gimp_gradient_get_{uniform,custom}_samples. Deprecated the deprecated
1750 versions of these, and rewrote them in terms of the new functions.
1752 2004-11-17 Michael Natterer <mitch@gimp.org>
1754 * app/plug-in/plug-in.c (plug_in_close): replaced the
1755 while(plug_in->temp_procs) "loop" which called
1756 plug_in_proc_frame_quit() by a real for()-loop iterating over the
1757 list of PlugInProcFrames, calling g_main_loop_quit() on each main
1758 loop. The old version did not unroll the stack but looped
1759 infinitely. Spotted by Yosh.
1761 2004-11-17 Sven Neumann <sven@gimp.org>
1763 * plug-ins/imagemap/imap_selection.c
1764 * plug-ins/imagemap/imap_preferences.c: silent the compiler.
1766 2004-11-17 Michael Natterer <mitch@gimp.org>
1768 * plug-ins/common/jpeg.c: applied (modified) patch from S. Mukund
1769 which adds EXIF thumbnail loading and saving.
1770 Fixes bugs #155761 and #158190.
1772 2004-11-16 DindinX <dindinx@gimp.org>
1774 * plug-ins/gfig/gfig-arc.c
1775 * plug-ins/gfig/gfig-bezier.c
1776 * plug-ins/gfig/gfig-circle.c
1777 * plug-ins/gfig/gfig-dialog.c
1778 * plug-ins/gfig/gfig-ellipse.c
1779 * plug-ins/gfig/gfig-line.c
1780 * plug-ins/gfig/gfig-poly.c
1781 * plug-ins/gfig/gfig-spiral.c
1782 * plug-ins/gfig/gfig-star.c
1783 * plug-ins/gfig/gfig-style.c
1784 * plug-ins/gfig/gfig-style.h
1785 * plug-ins/gfig/gfig-types.h
1786 * plug-ins/gfig/gfig.h: added a toggle so we can now choose to stroke
1787 the painting or not.
1789 2004-11-16 DindinX <dindinx@gimp.org>
1791 * plug-ins/gfig/gfig-dialog.c: implemented the gradient fill, using a
1792 shapeburst blend. This is very slow, but I dont see how it could be
1795 2004-11-16 Michael Natterer <mitch@gimp.org>
1797 * app/widgets/gimpfgbgeditor.c: get rid of the
1798 gimp_fg_bg_editor_context_changed() callback and
1799 g_signal_connect_swapped() gtk_widget_queue_draw() directly.
1801 2004-11-16 Michael Natterer <mitch@gimp.org>
1803 * app/widgets/gimpchanneltreeview.c: implement
1804 GimpDockedInterface::set_context() and set the context of the
1805 embedded GimpComponentEditor. Fixes NULL-context crashes in
1806 action callbacks when invoked from the component editor.
1811 * app/widgets/gimpitemtreeview.c: get rid of the
1812 gimp_item_tree_view_context_changed() callback and
1813 g_signal_connect_swapped() gimp_item_tree_view_set_image()
1816 2004-11-16 Sven Neumann <sven@gimp.org>
1818 * plug-ins/common/jigsaw.c: added missing braces around initializer.
1820 2004-11-16 Michael Natterer <mitch@gimp.org>
1822 * tools/pdbgen/pdb/drawable_transform.pdb: renamed the new
1823 drawable_foo_defaults() functions to drawable_foo_default() to be
1824 consistent with paintbrush_default() and friends.
1826 * tools/pdbgen/pdb/transform_tools.pdb
1827 * libgimp/gimp.def: changed accordingly.
1829 * app/pdb/drawable_transform_cmds.c
1830 * app/pdb/transform_tools_cmds.c
1831 * libgimp/gimpdrawabletransform_pdb.[ch]
1832 * libgimp/gimptransformtools_pdb.c: regenerated.
1834 * plug-ins/script-fu/scripts/coolmetal-logo.scm
1835 * plug-ins/script-fu/scripts/image-structure.scm
1836 * plug-ins/script-fu/scripts/text-circle.scm: follow the API change.
1838 2004-11-16 Sven Neumann <sven@gimp.org>
1840 * app/config/gimpbaseconfig.c: increased default tile-cache-size
1843 * app/config/gimpcoreconfig.c: increased default undo size to 16MB.
1845 2004-11-16 Michael Natterer <mitch@gimp.org>
1847 * tools/pdbgen/pdb/image.pdb
1848 * tools/pdbgen/pdb/selection.pdb: entirely removed the deprecated
1849 functions "selection_clear", "image_set_cmap" and "image_get_cmap".
1851 * app/pdb/procedural_db.c: and added them to the compat hash table
1852 because they have undeprecated replacements with identical
1855 * libgimp/gimpselection.[ch]: added gimp_selection_clear() here
1856 instead because we need the symbol in libgimp.
1858 * app/pdb/image_cmds.c
1859 * app/pdb/internal_procs.c
1860 * app/pdb/selection_cmds.c
1861 * libgimp/gimpselection_pdb.[ch]: regenerated.
1863 2004-11-16 DindinX <dindinx@gimp.org>
1865 * plug-ins/gfig/gfig-dobject.h: renamed the DObject type to
1866 GfigObject, according to our common type naming. This type will
1867 certainly become an abstract class in a near future.
1869 * plug-ins/gfig/gfig-arc.c
1870 * plug-ins/gfig/gfig-bezier.c
1871 * plug-ins/gfig/gfig-bezier.h
1872 * plug-ins/gfig/gfig-circle.c
1873 * plug-ins/gfig/gfig-dialog.c
1874 * plug-ins/gfig/gfig-dobject.c
1875 * plug-ins/gfig/gfig-ellipse.c
1876 * plug-ins/gfig/gfig-line.c
1877 * plug-ins/gfig/gfig-line.h
1878 * plug-ins/gfig/gfig-poly.c
1879 * plug-ins/gfig/gfig-poly.h
1880 * plug-ins/gfig/gfig-spiral.c
1881 * plug-ins/gfig/gfig-star.c
1882 * plug-ins/gfig/gfig-types.h
1883 * plug-ins/gfig/gfig.c
1884 * plug-ins/gfig/gfig.h: changed accordingly.
1886 2004-11-16 Michael Natterer <mitch@gimp.org>
1888 * app/core/gimpitem-linked.[ch] (gimp_item_linked_get_list):
1889 removed redundant "gimage" parameter.
1891 * app/tools/gimpeditselectiontool.c: changed accordingly.
1893 2004-11-16 Michael Natterer <mitch@gimp.org>
1895 * app/core/gimpchannel-select.c
1896 * app/core/gimpchannel.c
1897 * app/core/gimpdrawable-desaturate.c
1898 * app/core/gimpdrawable-equalize.c
1899 * app/core/gimpdrawable-histogram.c
1900 * app/core/gimpdrawable-invert.c
1901 * app/core/gimpdrawable-levels.c
1902 * app/core/gimpdrawable-offset.c
1903 * app/core/gimpdrawable-stroke.c
1904 * app/core/gimpdrawable-transform.c
1905 * app/core/gimpdrawable.c
1906 * app/core/gimpitem-linked.c
1907 * app/core/gimpitem.c
1908 * app/core/gimplayer.c
1909 * app/core/gimpselection.c
1910 * app/paint/gimppaintcore-stroke.c
1911 * app/text/gimptextlayer.c: in all functions which somehow
1912 (explicitely or implicitely) touch undo, either g_return_if_fail()
1913 on gimp_item_is_attached() or simply don't push an undo step if
1914 feasible (e.g. for simple stuff like layer opacity).
1916 * tools/pdbgen/pdb/color.pdb
1917 * tools/pdbgen/pdb/drawable.pdb
1918 * tools/pdbgen/pdb/image.pdb
1919 * tools/pdbgen/pdb/layer.pdb
1920 * tools/pdbgen/pdb/paint_tools.pdb: let PDB wrappers fail
1921 accordingly so they don't run into the assertions added above.
1923 * app/pdb/color_cmds.c
1924 * app/pdb/drawable_cmds.c
1925 * app/pdb/image_cmds.c
1926 * app/pdb/layer_cmds.c
1927 * app/pdb/paint_tools_cmds.c: regenerated.
1929 2004-11-16 Sven Neumann <sven@gimp.org>
1931 * app/actions/file-commands.c
1932 * app/dialogs/file-save-dialog.c
1933 * app/file/file-save.[ch]
1934 * app/widgets/gimpfiledialog.[ch]: combined "set_uri_and_proc" and
1935 "set_image_clean" parameters into a single "save_a_copy"
1936 parameter. When saving a copy, attach the used URI to the image and
1937 let the "Save a Copy" file chooser default to the last used value.
1939 2004-11-16 Sven Neumann <sven@gimp.org>
1941 * plug-ins/script-fu/scripts/glossy.scm: fixed typo (bug #158425).
1943 2004-11-15 DindinX <dindinx@gimp.org>
1945 * plug-ins/gfig/gfig.c: added a blurb proposed by Alan Horkan.
1947 * plug-ins/gfig/gfig-line.[ch]: smallish style fix.
1949 2004-11-15 DindinX <dindinx@gimp.org>
1951 * plug-ins/gfig/images/stock-ellipse.png: better icon for the ellipse
1952 tool (a lot more elliptical) by Jimmac and Zigomar.
1954 2004-11-15 Sven Neumann <sven@gimp.org>
1956 * app/widgets/gimpfiledialog.c (gimp_file_dialog_add_filters):
1957 limit the number of file extensions that are added to the file
1958 filter menu to keep the file dialog from growing too wide.
1960 2004-11-15 Philip Lafleur <plafleur@cvs.gnome.org>
1962 * app/display/gimpdisplayshell-preview.c: Further optimization of
1963 perspective tool preview - never calculate the same vertex more
1966 2004-11-15 Sven Neumann <sven@gimp.org>
1968 * app/widgets/gimpfileprocview.c (gimp_file_proc_view_get_proc)
1969 * app/widgets/gimpfiledialog.c (gimp_file_dialog_proc_changed):
1970 better fix for bug #158369.
1972 2004-11-15 Sven Neumann <sven@gimp.org>
1974 * app/widgets/gimpfiledialog.c (gimp_file_dialog_proc_changed):
1975 return early if gimp_file_proc_view_get_proc() didn't return a file
1976 procedure. Should fix bug #158369.
1978 2004-11-15 Øyvind Kolås <pippin@gimp.org>
1980 * docs/gimp.txt: removed, outdated.
1981 * docs/make_todo: removed, unused.
1983 2004-11-15 Sven Neumann <sven@gimp.org>
1985 * app/dialogs/print-size-dialog.c: started to redo this dialog
1986 without using a GimpSizeBox. The widgets aren't connected, so it
1989 * app/widgets/gimpprogressbox.c
1990 * app/widgets/gimpprogressdialog.c
1991 * app/widgets/gimpsizebox.c: trivial cleanups.
1993 * data/images/gimp-splash.png: splash for 2.2-pre2, done by Jimmac.
1995 2004-11-14 Sven Neumann <sven@gimp.org>
1997 * app/actions/image-commands.c: converted error messages that should
1998 never appear to warnings.
2000 2004-11-14 DindinX <dindinx@gimp.org>
2002 * plug-ins/gfig/gfig-dialog.c
2003 * plug-ins/gfig/gfig-dobject.c
2004 * plug-ins/gfig/gfig-dobject.h: fixed a crash (the one triggered by
2005 this sequence: draw a line, delete it, redraw something), and
2006 corrected some ui spacing.
2008 2004-11-14 Sven Neumann <sven@gimp.org>
2010 * app/core/gimppalette-import.c: applied a (slightly modified)
2011 patch from Nickolay V. Shmyrev that changes the palette import
2012 function to not only read palettes in the RIFF format but also
2013 GIMP and Photoshop ACT palette files (bug #158297).
2015 2004-11-14 Sven Neumann <sven@gimp.org>
2017 * Makefile.am (EXTRA_DIST)
2019 * PLUGIN_MAINTAINERS
2020 * TODO.xml: removed these files from the tarball and from CVS.
2021 Doesn't make sense to keep unmaintained files around that provide
2022 outdated and in large parts wrong information.
2024 2004-11-14 Sven Neumann <sven@gimp.org>
2026 * plug-ins/gfig/gfig-dialog.c (load_button_callback): use the
2027 proper parent widget.
2029 2004-11-14 DindinX <dindinx@gimp.org>
2031 * plug-ins/gfig/gfig-dialog.c
2032 * plug-ins/gfig/gfig-types.h: small UI tweaks, suggested by Sven.
2034 2004-11-14 Sven Neumann <sven@gimp.org>
2037 * plug-ins/rcm/Makefile.am
2038 * plug-ins/rcm/images/Makefile.am
2039 * plug-ins/rcm/images/rcm-360.png
2040 * plug-ins/rcm/images/rcm-a-b.png
2041 * plug-ins/rcm/images/rcm-ccw.png
2042 * plug-ins/rcm/images/rcm-cw.png: added PNG versions of the XPM
2043 icons used by the RCM plug-in. Added rules to build a header file
2044 that can be used to get rid of the XPM files (bug #140202).
2046 2004-11-14 DindinX <dindinx@gimp.org>
2048 * plug-ins/gfig/gfig-dialog.c
2049 * plug-ins/gfig/gfig-dialog.h
2050 * plug-ins/gfig/gfig-dobject.c
2051 * plug-ins/gfig/gfig-dobject.h
2052 * plug-ins/gfig/gfig-types.h
2053 * plug-ins/gfig/gfig.c
2054 * plug-ins/gfig/gfig.h: replace the crappy DAllObjs struct by a GList.
2055 Makes the code cleaner and less error prone.
2057 2004-11-14 Sven Neumann <sven@gimp.org>
2059 * plug-ins/pagecurl/pagecurl.c: applied a patch from Karine Proot
2060 that replaces the XPM icons with pixbufs (bug #140202).
2062 * plug-ins/pagecurl/curl[0-7].xpm: removed.
2064 2004-11-14 Sven Neumann <sven@gimp.org>
2066 * plug-ins/gimpressionist/Makefile.am: fixed typo.
2068 * plug-ins/pagecurl/Makefile.am
2069 * plug-ins/pagecurl/curl[0-7].png: added PNG versions of the XPM
2070 icons used by the PageCurl plug-in. Added rules to build a header
2071 file that can be used to get rid of the XPM files (bug #140202).
2073 2004-11-14 Philip Lafleur <plafleur@cvs.gnome.org>
2075 * app/display/gimpdisplayshell-preview.c: Eliminated about 396
2076 floating-point divides per frame in the persective preview.
2078 2004-11-13 Manish Singh <yosh@gimp.org>
2080 Fix a bunch of warnings from Sparse:
2082 * app/actions/dockable-commands.c
2083 * app/actions/layers-actions.c
2084 * app/actions/view-commands.c
2085 * app/base/pixel-surround.c
2086 * app/config/gimpconfig-utils.c
2087 * app/config/gimpscanner.c
2088 * app/core/gimpbrushgenerated.c
2089 * app/core/gimpcontainer.c
2090 * app/core/gimpimage.c
2091 * app/dialogs/palette-import-dialog.c
2092 * app/file/gimprecentlist.c
2093 * app/plug-in/plug-in-params.c
2094 * app/text/gimptext-compat.c
2095 * app/text/gimptext-parasite.c
2096 * app/vectors/gimpbezierstroke.c
2097 * app/vectors/gimpstroke.c
2098 * app/widgets/gimpcellrendereraccel.c
2099 * app/widgets/gimpselectiondata.c
2102 * libgimpthumb/gimpthumb-utils.c
2103 * libgimpthumb/gimpthumbnail.c
2104 * modules/cdisplay_proof.c
2105 * plug-ins/Lighting/lighting_ui.c
2106 * plug-ins/common/csource.c
2107 * plug-ins/common/glasstile.c
2108 * plug-ins/common/nova.c
2109 * plug-ins/common/pcx.c
2110 * plug-ins/common/pnm.c
2111 * plug-ins/common/randomize.c
2112 * plug-ins/common/screenshot.c
2113 * plug-ins/common/sel_gauss.c
2114 * plug-ins/common/spheredesigner.c
2115 * plug-ins/common/wind.c
2116 * plug-ins/gfig/gfig-dialog.c
2117 * plug-ins/gfig/gfig-dobject.c
2118 * plug-ins/gimpressionist/gimpressionist.c
2119 * plug-ins/ifscompose/ifscompose.c
2120 * plug-ins/print/gimp_main_window.c
2121 * plug-ins/print/print.c: Cleanup integer vs. pointer confusion.
2123 * app/base/temp-buf.c
2124 * app/dialogs/about-dialog.c
2125 * plug-ins/common/bumpmap.c
2126 * plug-ins/common/jigsaw.c
2127 * plug-ins/gfig/gfig-dobject.c: Cosmetic cleanups.
2129 * app/config/gimpconfig-deserialize.c
2130 * app/config/gimpconfig-path.c
2131 * app/config/gimpconfigwriter.c
2132 * app/core/gimpgradient.c
2133 * app/tools/gimpdrawtool.c
2134 * plug-ins/common/nlfilt.c
2135 * plug-ins/common/unsharp.c
2136 * plug-ins/common/zealouscrop.c: Define inline functions before they
2139 * app/core/gimpdrawable-blend.c: PixelRegion definition was changed
2140 some time ago, but the initialization here didn't change. Fix it.
2142 * app/plug-in/plug-in-rc.c (plug_in_extra_deserialize): No need to
2143 assign token twice in a row.
2145 * libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories): No
2146 need to initialize file_data, since the code fills out all the fields.
2148 * plug-ins/common/CML_explorer.c
2149 * plug-ins/common/vpropagate.c: Declare function pointers fully.
2151 * plug-ins/common/grid.c (pix_composite): G_INLINE_FUNC isn't needed,
2152 we assume we can use the "inline" keyword always.
2154 * plug-ins/common/psd_save.c
2155 * plug-ins/common/vinvert.c
2156 * plug-ins/gfig/gfig-arc.c
2157 * plug-ins/gfig/gfig-bezier.c
2158 * plug-ins/gfig/gfig-circle.c
2159 * plug-ins/gfig/gfig-dialog.c
2160 * plug-ins/gfig/gfig-dobject.c
2161 * plug-ins/gfig/gfig-ellipse.c
2162 * plug-ins/gfig/gfig-line.c
2163 * plug-ins/gfig/gfig-poly.c
2164 * plug-ins/gfig/gfig-spiral.c
2165 * plug-ins/gfig/gfig-star.c
2166 * plug-ins/gfig/gfig.c
2167 * plug-ins/gimpressionist/orientmap.c
2168 * plug-ins/gimpressionist/placement.c
2169 * plug-ins/gimpressionist/sizemap.c
2170 * plug-ins/imagemap/imap_grid.c
2171 * plug-ins/imagemap/imap_main.c
2172 * plug-ins/imagemap/imap_preferences.c
2173 * plug-ins/imagemap/imap_settings.c
2174 * plug-ins/maze/maze.c
2175 * plug-ins/sel2path/curve.c
2176 * plug-ins/sel2path/fit.c
2177 * plug-ins/sel2path/pxl-outline.c
2178 * plug-ins/sel2path/spline.c
2179 * plug-ins/xjt/xjt.c: Functions with no args should be declared
2182 * plug-ins/common/retinex.c (MSRCR): Initialize max_preview to quiet
2185 2004-11-14 Sven Neumann <sven@gimp.org>
2187 * themes/Default/images/Makefile.am
2188 * themes/Default/images/stock-center-16.png
2189 * themes/Default/images/stock-center-24.png
2190 * themes/Default/images/stock-print-resolution-16.png
2191 * themes/Default/images/stock-print-resolution-24.png: new icons
2194 * libgimpwidgets/gimpstock.[ch]: registered the new icons.
2196 * app/actions/image-actions.c
2197 * app/dialogs/print-size-dialog.c
2198 * app/dialogs/resize-dialog.c
2199 * plug-ins/ifscompose/ifscompose.c: use them.
2201 2004-11-14 Sven Neumann <sven@gimp.org>
2203 * configure.in: bumped version to 2.2-pre2.
2205 2004-11-13 Manish Singh <yosh@gimp.org>
2207 * tools/pdbgen/pdb/image.pdb: Adapted Sven's code into pdbgen so
2208 that gimp_image_set_filename() validates that it is called with
2209 a filename in the filesystem encoding which can safely be converted
2210 to UTF-8 and back. Fixes #153751.
2212 * app/pdb/image_cmds.c
2213 * libgimp/gimpimage_pdb.c: Regenerated.
2215 2004-11-13 Sven Neumann <sven@gimp.org>
2217 * app/dialogs/Makefile.am
2218 * app/dialogs/print-size-dialog.[ch]: new files for the Print Size
2219 dialog that was missing. Still work in progress...
2221 * app/actions/image-actions.c
2222 * app/actions/image-commands.[ch]
2223 * app/widgets/gimphelp-ids.h
2224 * menus/image-menu.xml.in: integrate the new dialog.
2226 2004-11-13 Sven Neumann <sven@gimp.org>
2228 * tools/pdbgen/pdb/selection.pdb: deprecate gimp_selection_clear()
2229 in favor of gimp_selection_none(). Fixes bug #156765.
2231 * app/pdb/selection_cmds.c
2232 * libgimp/gimpselection_pdb.[ch]: regenerated.
2234 2004-11-13 Kevin Cozens <kcozens@cvs.gimp.org>
2236 * plug-ins/gfig/gfig.c
2237 * plug-ins/gfig/gfig-dialog.c: Changed gimp_selection_clear() to
2238 gimp_selection_none() (bug #156765).
2240 2004-11-13 Kevin Cozens <kcozens@cvs.gimp.org>
2242 * plug-ins/script-fu/scripts/gimp-headers.scm
2243 * plug-ins/script-fu/scripts/gimp-labels.scm
2244 * plug-ins/script-fu/scripts/news-text.scm
2245 * plug-ins/script-fu/scripts/speed-text.scm: Changed calls to
2246 gimp-selection-clear to use gimp-selection-none in preparation
2247 for the deprecation of -clear. (bug #156765)
2249 2004-11-13 Sven Neumann <sven@gimp.org>
2251 * tools/pdbgen/pdb/image.pdb: document the fact that
2252 gimp_image_get_filename() returns the filename in the filesystem
2253 encoding. Fixed gimp_image_get_name() to actually return the name
2256 * app/pdb/image_cmds.c
2257 * libgimp/gimpimage_pdb.c: Regenerated.
2259 * app/vectors/gimpbezierstroke.h: formatting.
2261 2004-11-13 Sven Neumann <sven@gimp.org>
2263 * app/core/gimpimagefile.[ch]
2264 * app/file/file-open.c
2265 * app/file/file-save.c: pass the MIME type from the save procedure
2266 to gimp_imagefile_save_thumbnail() so that it can be stored with
2269 * tools/pdbgen/pdb/fileops.pdb
2270 * app/pdb/fileops_cmds.c: changed accordingly.
2272 2004-11-13 Sven Neumann <sven@gimp.org>
2274 * app/plug-in/plug-in-proc-def.[ch]
2275 * app/plug-in/plug-in-rc.c
2276 * app/plug-in/plug-ins.[ch]: allow to associate a procedure for
2277 thumbnail loading with any file load procedure.
2279 * tools/pdbgen/pdb/fileops.pdb: export this functionality to the
2280 PDB as gimp_register_thumbnail_loader().
2282 * app/pdb/fileops_cmds.c
2283 * app/pdb/internal_procs.c
2284 * libgimp/gimpfileops_pdb.[ch]: regenerated.
2286 * app/core/gimpimagefile.c
2287 * app/file/file-open.[ch]: when creating a thumbnail for an image
2288 file, use a thumbnail load procedure if available.
2290 * plug-ins/common/svg.c: added "file_svg_load_thumb", a procedure
2291 that allows to load a small preview of the SVG image.
2293 2004-11-13 DindinX <dindinx@gimp.org>
2295 * app/actions/layers-actions.c: added back <control>H as a shortcut
2296 for "Anchor Layer". Spotted by Bruno Ronzani.
2298 2004-11-13 DindinX <dindinx@gimp.org>
2300 * plug-ins/common/retinex.c: use a GimpAspectPreview instead of a
2301 GimpDrawablePreview. Fixes bug #157915. Also fixed the funny behaviour
2302 of the progress bar.
2304 2004-11-13 Sven Neumann <sven@gimp.org>
2306 * libgimpbase/gimputils.c (gimp_strip_uline): changed based on a
2307 patch by Joao S. O. Bueno to remove mnemonics as used in languages
2308 like Chinese. Fixes bug #157561.
2310 2004-11-13 Sven Neumann <sven@gimp.org>
2312 * plug-ins/ifscompose/README.ifscompose: updated link to the
2313 tutorial (pointed out by Alan Horkan) and added another link.
2315 * plug-ins/ifscompose/ifscompose.c: changed plug-in name from
2316 "IfsCompose" to "IFS Fractal". Sorry for the late string changes
2317 but the old name definitely was akward and probably hard to
2318 translate anyway. Fixes bug #157135.
2320 * plug-ins/ifscompose/ifscompose_storage.c: removed trailing
2323 2004-11-13 Sven Neumann <sven@gimp.org>
2325 * plug-ins/common/retinex.c (retinex_dialog): fixed table size.
2327 2004-11-13 Simon Budig <simon@gimp.org>
2329 * app/core/gimpimage-merge.c: Return the active layer instead of
2330 the bottom layer when just merging down a floating selection.
2335 2004-11-12 Sven Neumann <sven@gimp.org>
2337 * app/config/gimpconfig-dump.c: better fix for bug #157971.
2339 * docs/gimprc.5.in: regenerated.
2341 2004-11-12 DindinX <dindinx@gimp.org>
2343 * plug-ins/gfig/images/stock-show-all.png
2344 * plug-ins/gfig/images/stock-select-object.png: new icons made by
2347 2004-11-12 Michael Natterer <mitch@gimp.org>
2349 * app/core/gimpimage-undo-push.c: disallow non-attached items
2350 to be pushed to the undo stack.
2352 2004-11-12 DindinX <dindinx@gimp.org>
2354 * plug-ins/gfig/images/stock-show-all.png
2355 * plug-ins/gfig/images/stock-select-object.png: added these two stock
2356 icons. Jimmac, these two are screaming to be redone, please.
2358 * plug-ins/gfig/images/Makefile.am: added these icons.
2360 * plug-ins/gfig/gfig-bezier.c
2361 * plug-ins/gfig/gfig-bezier.h
2362 * plug-ins/gfig/gfig-dialog.c
2363 * plug-ins/gfig/gfig-poly.c
2364 * plug-ins/gfig/gfig-poly.h
2365 * plug-ins/gfig/gfig-spiral.c
2366 * plug-ins/gfig/gfig-spiral.h
2367 * plug-ins/gfig/gfig-star.c
2368 * plug-ins/gfig/gfig-star.h
2369 * plug-ins/gfig/gfig-stock.c
2370 * plug-ins/gfig/gfig-stock.h
2371 * plug-ins/gfig/gfig.h: moved all the buttons to a GtkUIManager
2372 toolbar, which makes the code simpler and easier to read.
2374 2004-11-12 Sven Neumann <sven@gimp.org>
2376 * app/dialogs/tips-dialog.c: added icons to the Previous/Next
2377 buttons (bug #158004).
2379 2004-11-11 Sven Neumann <sven@gimp.org>
2381 * app/gui/splash.c: lowered labels a few pixels.
2383 2004-11-11 Sven Neumann <sven@gimp.org>
2385 * plug-ins/gfig/gfig-dialog.c: minor code cleanup.
2387 2004-11-11 DindinX <dindinx@gimp.org>
2389 * plug-ins/gfig/gfig-dialog.c: use a GtkUIManager for the menu and
2390 automagically have it translated! The button bar will follow the same
2391 path. Remove the now useless "Paint" button.
2393 2004-11-11 Sven Neumann <sven@gimp.org>
2395 * app/config/gimpconfig-dump.c: groff doesn't like lines to start
2396 with a single quote, we better escape it. Fixes bug #157971.
2398 * docs/gimprc.5.in: regenerated.
2400 2004-11-11 Michael Natterer <mitch@gimp.org>
2402 * app/core/gimp-edit.c
2403 * app/core/gimpdrawable-blend.c
2404 * app/core/gimpdrawable-bucket-fill.c
2405 * app/core/gimpitem.c (gimp_item_stroke): added precondition
2406 checks for gimp_item_is_attached() and removed checks for
2407 gimp_item_get_image() to actually return an image (because it
2408 always returns an image).
2410 * tools/pdbgen/pdb/edit.pdb: let all wrappers fail if the drawable
2413 * app/pdb/edit_cmds.c: regenerated.
2415 2004-11-11 Michael Natterer <mitch@gimp.org>
2417 * plug-ins/script-fu/scripts/add-bevel.scm
2418 * plug-ins/script-fu/scripts/addborder.scm
2419 * plug-ins/script-fu/scripts/carve-it.scm
2420 * plug-ins/script-fu/scripts/carved-logo.scm
2421 * plug-ins/script-fu/scripts/chip-away.scm
2422 * plug-ins/script-fu/scripts/clothify.scm
2423 * plug-ins/script-fu/scripts/font-map.scm
2424 * plug-ins/script-fu/scripts/slide.scm
2425 * plug-ins/script-fu/scripts/swirltile.scm: don't call gimp-edit-*
2426 functions on drawables which are not added to an image because
2427 this will be forbidden soon (because it can trash the image's undo
2430 2004-11-11 Michael Natterer <mitch@gimp.org>
2432 * plug-ins/script-fu/scripts/lava.scm: replaced
2433 undo-disable/enable by undo-group-start/end.
2435 2004-11-11 Michael Natterer <mitch@gimp.org>
2437 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_response):
2438 call gimp_image_flush() after committing the image_map so the
2439 menus are up-to-date. Fixes bug #157914.
2441 2004-11-11 Philip Lafleur <plafleur@cvs.gnome.org>
2443 * app/display/gimpdisplayshell-preview.c: Use the transform
2444 tool coordinates when creating subdivisions, not the
2445 texture coordinates. Fixes breakage with layers that are not
2448 2004-11-11 Jay Cox <jaycox@gimp.org>
2450 * app/base/brush-scale.c: Keep computed brush values from
2451 overflowing with large reduction factors. Fixes bug #76228.
2453 2004-11-11 Sven Neumann <sven@gimp.org>
2455 * libgimpwidgets/gimpintstore.c
2456 * app/vectors/gimpvectors-import.c: please the overly pedantic
2457 IRIX MIPSpro compiler and don't initialize structs with
2458 non-constant values.
2460 2004-11-10 Sven Neumann <sven@gimp.org>
2462 * app/file/file-open.c (file_open_layer): add the image to the
2463 list of recently used documents. Fixes bug #157879.
2465 2004-11-10 DindinX <dindinx@gimp.org>
2467 * plug-ins/gfig/gfig-dialog.c: moved the tool options closer to the
2468 tools and made the dialog a bit smaller.
2470 2004-11-10 Sven Neumann <sven@gimp.org>
2472 * plug-ins/common/mail.c: added a menu icon (compiled-in).
2474 2004-11-10 Michael Natterer <mitch@gimp.org>
2476 * app/display/gimpdisplayshell-handlers.c
2477 (gimp_display_shell_resolution_changed_handler): if dot_for_dot is
2478 off, resolution change has the same effect as size change, so call
2479 gimp_display_shell_size_changed_handler(). Fixes display garbage.
2481 2004-11-10 Michael Natterer <mitch@gimp.org>
2483 * plug-ins/winicon/icodialog.[ch]
2484 * plug-ins/winicon/icoload.[ch]
2485 * plug-ins/winicon/icosave.[ch]
2486 * plug-ins/winicon/main.[ch]: call progress functions
2487 unconditionally; removed global "interactive" variable; use
2488 standard strings for open/save progress messages; gui, indentation
2489 & coding style cleanup; untabified.
2491 2004-11-10 Michael Schumacher <schumaml@cvs.gnome.org>
2493 * plug-ins/winsnap/winsnap.c: applied a patch from Sven Neumann
2494 with some minor modifications. Fixes bug #157612
2495 Removed some unused variables.
2497 2004-11-10 Michael Natterer <mitch@gimp.org>
2499 * libgimpbase/gimputils.c (gimp_escape_uline): "Since: GIMP 2.2".
2501 2004-11-10 Sven Neumann <sven@gimp.org>
2503 * app/dialogs/preferences-dialog.c: set the padding-mode to custom
2504 color if a custom color is choosen. Fixes bug #157844.
2506 2004-11-10 Michael Natterer <mitch@gimp.org>
2508 * plug-ins/dbbrowser/plugin-browser.c (browser_dialog_new): fixed
2509 capitalization of notebook tab label.
2511 2004-11-10 Michael Natterer <mitch@gimp.org>
2513 * libgimpbase/gimputils.[ch]: renamed gimp_flags_get_value() to
2514 gimp_flags_get_first_value(). Reordered functions so enum and
2515 flags functions are grouped together. Added missing docs.
2517 * libgimpbase/gimpbase.def: changed accordingly.
2519 2004-11-09 Jay Cox <jaycox@gimp.org>
2521 * plug-ins/common/psd.c: Skip resources with unknown signatures
2522 instead of quiting. Fixes bug #142468, and bug #152728
2524 * app/core/gimpdrawable.c: in functions gimp_drawable_mask_bounds,
2525 and gimp_drawable_mask_intersect: reinitialize the return values
2526 after calling gimp_channel_bounds because gimp_channel_bounds
2527 overwrites the values even when it returns false. This fixes the
2528 bug where the gimp crashes when running color tools on layers
2529 smaller than the image, and processes only part of the image when
2530 the layer is larger than the image size.
2532 2004-11-10 Sven Neumann <sven@gimp.org>
2534 * HACKING: some updates.
2536 2004-11-10 Michael Natterer <mitch@gimp.org>
2538 * plug-ins/ifscompose/ifscompose.c: use a UI manager created
2539 toolbar instead of two rows of buttons. Added a "dummy-menubar" so
2540 the popup menu shows shortcuts again. Removed "Preview" and "Auto"
2541 buttons since the preview doesn't block the GUI and can always be
2544 2004-11-10 Michael Natterer <mitch@gimp.org>
2546 * app/display/gimpstatusbar.[ch]: added new function
2547 gimp_statusbar_push_length(), which works exactly like
2548 push_coords() but takes only one value plus a GimpOrientationType
2549 for specifying the value's axis.
2551 * app/tools/gimptool.[ch]: added the corresponding
2552 gimp_tool_push_status_length().
2554 * app/tools/gimpmovetool.c: use gimp_tool_push_status_length()
2555 so the guide position is shown in the selected display unit.
2556 Cleaned up the status message code a bit.
2558 2004-11-10 Sven Neumann <sven@gimp.org>
2560 * plug-ins/helpbrowser/dialog.c: use an idle handler to jump to the
2563 2004-11-09 Manish Singh <yosh@gimp.org>
2565 * plug-ins/common/bmpread.c: if the file has space in the colormap for
2566 more than 256 entries, ignore them instead of failing. Fixes bug
2569 2004-11-09 Manish Singh <yosh@gimp.org>
2571 * plug-ins/common/bmpread.c: Fix cut'n'paste err so grayscale images
2572 load again. Fixes bug #157764.
2574 2004-11-09 Michael Natterer <mitch@gimp.org>
2576 * app/display/gimpdisplayshell-callbacks.c
2577 (gimp_display_shell_canvas_tool_events): pass (gint)-truncated
2578 coordinates instead of RINT()-rounded ones to
2579 gimp_display_shell_update_cursor(). Restores correct coordinates
2580 display for zoomed-in display and fixes bug #153534.
2582 * app/tools/gimpmovetool.c: added statusbar messages including the
2583 (rounded) guide coordinate. Keeps bug #141719 closed.
2585 2004-11-09 Michael Natterer <mitch@gimp.org>
2587 * app/display/gimpdisplayshell.c (gimp_display_shell_new): don't
2588 connect to "event" and don't connect any canvas event to
2589 gimp_display_shell_events(). Connect all tool events separately
2590 (doesn't include "configure-event" and thus fixes bug #141543).
2592 * app/display/gimpdisplayshell-callbacks.c
2593 (gimp_display_shell_canvas_tool_events): call
2594 gimp_display_shell_events() manually before doing tool event
2597 * app/display/gimpdisplayshell.c
2598 * app/display/gimpdisplayshell-callbacks.[ch]: connect to
2599 "size_allocate" of the canvas, not to "configure_event"
2600 (suggested by Owen in bug #141543).
2602 * app/display/gimpdisplayshell-callbacks.[ch]: removed
2603 gimp_display_shell_popup_menu().
2605 (gimp_display_shell_origin_button_press): emit "popup-menu" on the
2606 shell manually instead of calling above function.
2608 * app/display/gimpdisplayshell.c: added the whole menu popup code
2611 2004-11-09 Sven Neumann <sven@gimp.org>
2613 * libgimpwidgets/gimpoffsetarea.c (gimp_offset_area_resize): queue
2614 a resize. Fixes remaining issues with bug #157495.
2616 2004-11-09 Sven Neumann <sven@gimp.org>
2618 * plug-ins/common/url.c: removed debug output.
2620 2004-11-08 Sven Neumann <sven@gimp.org>
2622 * app/dialogs/user-install-dialog.c (user_install_migrate_files):
2623 don't copy menurc, the format changed anyway.
2625 2004-11-08 Sven Neumann <sven@gimp.org>
2627 * plug-ins/script-fu/script-fu-interface.c (script_fu_ok):
2628 actually retrieve the value from the GtkEntry for SF-VALUE.
2630 2004-11-08 Michael Natterer <mitch@gimp.org>
2632 * tools/pdbgen/pdb/layer.pdb: applied modified patch from Geert
2633 Jordaens which adds the missing gimp_layer_from_mask() API.
2634 Addresses bug #138662.
2636 * app/pdb/internal_procs.c
2637 * app/pdb/layer_cmds.c
2638 * libgimp/gimplayer_pdb.[ch]. regenerated.
2640 * libgimp/gimp.def: changed accordingly.
2642 2004-11-08 Michael Natterer <mitch@gimp.org>
2644 * plug-ins/script-fu/scripts/selection-round.scm: removed garbage
2645 from beginning of file. Removed DOS line breaks.
2647 2004-11-08 Michael Natterer <mitch@gimp.org>
2649 * libgimp/gimppixelfetcher.c: added docs derived from a patch from
2650 Cai Qian (bug #156271).
2652 2004-11-08 Sven Neumann <sven@gimp.org>
2654 * plug-ins/common/screenshot.c: changed label of default action
2657 2004-11-08 Sven Neumann <sven@gimp.org>
2659 * plug-ins/common/CEL.c
2660 * plug-ins/common/CML_explorer.c
2661 * plug-ins/common/channel_mixer.c
2662 * plug-ins/common/gqbist.c
2663 * plug-ins/common/spheredesigner.c
2664 * plug-ins/flame/flame.c
2665 * plug-ins/ifscompose/ifscompose.c: don't set help-ids on plug-in
2666 file chooser dialogs. Set the default response for file dialogs.
2668 2004-11-08 Michael Natterer <mitch@gimp.org>
2670 * app/dialogs/resize-dialog.c (resize_dialog_response)
2671 * app/dialogs/scale-dialog.c (scale_dialog_response): replaced
2672 "case GTK_RESPONSE_CANCEL:" by "default:" so it also catches
2673 hitting the escape key or clicking the WM close button.
2675 2004-11-08 Øyvind Kolås <pippin@gimp.org>
2677 * plug-ins/common/gqbist.c: fixed typo in construction of file
2678 chooser, use gtk_dialog_run instead of separate callbacks for
2679 the responses of the file chooser dialog.
2681 2004-11-08 Sven Neumann <sven@gimp.org>
2683 * app/core/gimpdrawable.c (gimp_drawable_mask_bounds)
2684 (gimp_drawable_mask_intersect): initialize the return values before
2685 checking if the drawable is attached. Keeps GIMP from going mad if
2686 this assertion is ever triggered.
2688 2004-11-07 Sven Neumann <sven@gimp.org>
2690 * plug-ins/helpbrowser/dialog.c: don't connect the help browser to
2693 2004-11-07 Sven Neumann <sven@gimp.org>
2695 * plug-ins/script-fu/scripts/selection-round.scm: register the
2696 compatibility procedure with the correct name.
2698 2004-11-07 Sven Neumann <sven@gimp.org>
2700 * libgimpwidgets/gimpcolorbutton.c: fixed unused code (tooltip was
2701 taken from label field).
2703 2004-11-07 Sven Neumann <sven@gimp.org>
2705 * plug-ins/ifscompose/ifscompose.c: ported to GtkUIManager.
2707 2004-11-07 Sigurd Gartmann <sigurd-translate@brogar.org>
2709 * configure.in: Added support for the new locale nb to ALL_LINGUAS.
2711 2004-11-07 Sven Neumann <sven@gimp.org>
2713 * plug-ins/common/channel_mixer.c (query): the menu label should
2714 have three dots (bug #157580).
2716 2004-11-07 DindinX <dindinx@gimp.org>
2718 * plug-ins/gflare/gflare.c: removed #undef GTK_DISABLE_DEPRECATED and
2719 use a GtkListStore instead of the long-time deprecated GtkList. Done
2720 some small cleanups, too.
2722 2004-11-06 Sven Neumann <sven@gimp.org>
2724 * app/core/gimpbrushgenerated.c: changed minimum brush radius from
2727 * app/widgets/gimpbrusheditor.c: allow a smaller brush radius to
2728 be set in the brush editor. Fixes bug #157508.
2730 2004-11-06 Sven Neumann <sven@gimp.org>
2732 * app/dialogs/scale-dialog.c (scale_dialog_reset): same fix here.
2734 2004-11-06 Sven Neumann <sven@gimp.org>
2736 * app/dialogs/preferences-dialog.c: fixed typo (bug #157513).
2738 2004-11-06 Sven Neumann <sven@gimp.org>
2740 * app/dialogs/convert-dialog.c (convert_dialog_new): removed
2741 trailing period from check button label. Fixes bug #157511.
2743 2004-11-06 Sven Neumann <sven@gimp.org>
2745 * app/dialogs/resize-dialog.c (resize_dialog_reset): fixed most of
2746 the Reset functionality (bug #157495). The offset box is still not
2749 * app/widgets/gimpsizebox.c (gimp_size_box_update_resolution):
2750 check for availability of the size entry before accessing it.
2752 2004-11-06 Sven Neumann <sven@gimp.org>
2754 New Win32 icons contributed by Jernej Simoncic:
2759 * app/fileicon.ico: added new file icon for the Win32 build.
2761 * app/wilber.ico: nicer application icon for the Win32 build.
2763 2004-11-05 Michael Natterer <mitch@gimp.org>
2765 * plug-ins/maze/maze.c
2766 * plug-ins/maze/maze_face.c: some irrelevant cleanups while doing
2769 2004-11-05 Michael Natterer <mitch@gimp.org>
2771 * plug-ins/flame/flame.c: removed #undef GTK_DISABLE_DEPRECATED
2772 because it's no longer needed. Cleaned up #defines and
2773 declarations. Removed tabs and trailing whitespace.
2775 2004-11-04 Sven Neumann <sven@gimp.org>
2777 * app/widgets/gimpsessioninfo.c: be more tolerant and silently
2778 skip entries that the dialog factory doesn't recognize.
2780 * app/widgets/gimpdialogfactory.c: minor cleanup.
2782 2004-11-04 Sven Neumann <sven@gimp.org>
2784 * app/dialogs/user-install-dialog.c (user_install_response): don't
2785 save the (empty) gimprc after migrating the user settings.
2787 2004-11-04 Michael Natterer <mitch@gimp.org>
2789 * plug-ins/common/uniteditor.c: undeprecated by using a
2790 GtkUIManager for creating the toolbar. Some cleanup and code
2793 2004-11-04 Michael Natterer <mitch@gimp.org>
2795 * configure.in: disable the whole bunch of FOO_DISABLE_DEPRECATED
2796 only for future versions of GLib, GTK+ and Pango because the
2797 upcoming new stable versions add no new deprecations that are
2798 relevant for the GIMP source.
2800 2004-11-04 Michael Natterer <mitch@gimp.org>
2802 * plug-ins/ifscompose/ifscompose.c: some undeprecation and
2803 cleanup. Still uses GtkItemFactory.
2805 2004-11-04 Michael Natterer <mitch@gimp.org>
2807 Don't use deprecated GtkToolbar API in GimpTextEditor:
2809 * app/actions/Makefile.am
2810 * app/actions/actions.c
2811 * app/actions/text-editor-actions.[ch]
2812 * app/actions/text-editor-commands.[ch]: added acions and
2813 callbacks for the new "text-editor" action group.
2815 * app/menus/menus.c: register a "<TextEditor>" UI manager.
2818 * menus/text-editor-toolbar.xml: new file for the toolbar.
2820 * app/widgets/gimptexteditor.[ch]: use the toolbar created by the
2821 UI manager instead of constructing it using deprecated API.
2823 * app/tools/gimptextoptions.c: changed accordingly.
2825 * app/widgets/gimpwidgets-utils.[ch]: added gimp_text_buffer_load()
2826 (used by text-editor-commands.c).
2828 2004-11-04 Michael Natterer <mitch@gimp.org>
2830 * plug-ins/ifscompose/ifscompose.c: #undef GTK_DISABLE_DEPRECATED.
2832 2004-11-04 Michael Natterer <mitch@gimp.org>
2834 * libgimpwidgets/gimpcolorbutton.[ch]: use a GtkUIManager instead
2835 of a GtkItemFactory. Added virtual function ::get_action_type()
2836 and create the manager's actions manually using that action type
2837 instead of using gtk_action_group_add_actions().
2839 * app/widgets/gimpcolorpanel.c: override ::get_action_type() so it
2840 creates GimpActions (which can have a color attached) instead of
2841 GtkActions. Changed the menu item visibility and color preview
2844 * app/widgets/Makefile.am
2845 * app/widgets/gimpitemfactory.[ch]: finally removed.
2847 * configure.in: added -DGTK_DISABLE_DEPRECATED to CPPFLAGS again.
2849 2004-11-04 Michael Natterer <mitch@gimp.org>
2851 * libgimpwidgets/gimpoldwidgets.c: #undef GTK_DISABLE_DEPRECATED
2853 * libgimpwidgets/gimpunitmenu.h: #include <gtk/gtkoptionmenu.h>
2854 explicitely and #undef GTK_DISABLE_DEPRECATED only around the
2855 inclusion if it was defined before.
2857 2004-11-04 Michael Natterer <mitch@gimp.org>
2859 * libgimp/gimpunitcache.h
2860 * libgimpbase/gimpchecks.h
2861 * libgimpbase/gimpdatafiles.h
2862 * libgimpbase/gimplimits.h
2863 * libgimpbase/gimpmemsize.h
2864 * libgimpbase/gimputils.h
2865 * libgimpbase/gimpwin32-io.h
2866 * libgimpthumb/gimpthumb-enums.h
2867 * libgimpthumb/gimpthumb-error.h
2868 * libgimpwidgets/gimppreviewarea.h: added G_BEGIN_DECLS / G_END_DECLS.
2870 2004-11-04 Michael Natterer <mitch@gimp.org>
2872 * plug-ins/common/ccanalyze.c
2873 * plug-ins/common/uniteditor.c
2874 * plug-ins/gfig/gfig-dialog.c
2875 * plug-ins/gfig/gfig-preview.c
2876 * plug-ins/ifscompose/ifscompose.c
2877 * plug-ins/imagemap/imap_misc.c
2878 * plug-ins/imagemap/imap_selection.c
2879 * plug-ins/imagemap/imap_toolbar.c
2880 * plug-ins/imagemap/imap_tools.c
2881 * plug-ins/print/gimp_color_window.c: stop using deprecated
2882 functions, added some #undef GTK_DISABLE_DEPRECATED where needed.
2884 2004-11-03 Michael Natterer <mitch@gimp.org>
2886 * app/dialogs/module-dialog.c
2887 * plug-ins/dbbrowser/gimpprocbrowser.c
2888 * plug-ins/dbbrowser/plugin-browser.c: use
2889 gtk_tree_model_get_iter_first() instead of the deprecated
2892 * app/display/gimpdisplayshell-callbacks.c: don't include
2893 "widgets/gimpitemfactory.h".
2895 2004-11-03 Øyvind Kolås <pippin@gimp.org>
2897 * app/base/gimphistogram.h: %s/historgam/histogram/
2899 2004-11-03 Michael Natterer <mitch@gimp.org>
2901 * app/widgets/gimpdasheditor.c (gimp_dash_editor_finalize): don't
2902 forget to g_free(editor->segments).
2904 2004-11-03 Michael Natterer <mitch@gimp.org>
2906 * app/display/gimpscalecombobox.c
2907 (gimp_scale_combo_box_mru_remove_last)
2908 * app/widgets/gimpeditor.c (gimp_editor_add_action_button)
2909 * app/xcf/xcf-load.c (xcf_load_old_path): plugged some small leaks.
2911 2004-11-03 Sven Neumann <sven@gimp.org>
2913 * app/widgets/gimpfiledialog.c (gimp_file_dialog_add_filters):
2916 * app/widgets/gimpviewrendererimagefile.c
2917 (gimp_view_renderer_imagefile_render): don't leak the pixbuf here.
2919 * app/widgets/gimpviewrenderer-frame.c: added a comment.
2921 2004-11-03 Michael Natterer <mitch@gimp.org>
2923 * app/paint-funcs/paint-funcs.c (combine_sub_region): applied
2924 patch from Joao S. O. Bueno which moves assignments into an "else"
2925 branch and thus optimizes the (common) "if" branch. Did some
2928 2004-11-02 Michael Natterer <mitch@gimp.org>
2930 * plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
2931 don't silently return when there is already a script running but
2932 show a message instead. Unfortunately introduces two new strings,
2933 but bugs are bugs. Fixes bug #123882.
2935 2004-11-02 Sven Neumann <sven@gimp.org>
2937 * app/core/gimpimagefile.c (gimp_imagefile_save_thumb): minor
2940 * libgimpthumb/gimpthumb-utils.c (_gimp_thumbs_delete_others): do
2941 the right thing. Used to do the wrong thing when called with a
2942 thumbnail size which is not from the GimpThumbSize enum.
2944 2004-11-02 Sven Neumann <sven@gimp.org>
2946 * app/actions/image-commands.c (image_new_from_image_cmd_callback):
2947 call image_new_dialog_set() unconditionally. Fixes bug #157096.
2949 2004-11-02 Michael Natterer <mitch@gimp.org>
2951 * tools/pdbgen/pdb/drawable_transform.pdb: factored out the
2952 "invoke" bodies to two utility functions, getting rid of *tons* of
2955 * app/pdb/drawable_transform_cmds.c: regenerated (only whitespace
2956 and comments changed).
2958 2004-11-02 Michael Natterer <mitch@gimp.org>
2960 * tools/pdbgen/pdb/drawable_transform.pdb (drawable_*_defaults):
2961 renamed parameter "interpolation" to "interpolate" as suggested by
2964 * app/pdb/drawable_transform_cmds.c
2965 * libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
2967 2004-11-02 Michael Natterer <mitch@gimp.org>
2969 * app/dialogs/user-install-dialog.c (user_install_migrate_files):
2970 don't copy pluginrc* and themerc*.
2972 2004-11-02 Michael Natterer <mitch@gimp.org>
2974 * libgimp/gimpimage.h: one more s/cmap/colormap/.
2976 2004-11-02 Michael Natterer <mitch@gimp.org>
2978 * tools/pdbgen/pdb/transform_tools.pdb: deprecated all functions.
2980 * app/pdb/transform_tools_cmds.c
2981 * libgimp/gimptransformtools_pdb.[ch]: regenerated.
2983 * plug-ins/common/tiff.c
2984 * plug-ins/script-fu/scripts/3dTruchet.scm
2985 * plug-ins/script-fu/scripts/coolmetal-logo.scm
2986 * plug-ins/script-fu/scripts/image-structure.scm
2987 * plug-ins/script-fu/scripts/perspective-shadow.scm
2988 * plug-ins/script-fu/scripts/text-circle.scm
2989 * plug-ins/script-fu/scripts/truchet.scm: use the new transform API.
2991 2004-11-02 Michael Natterer <mitch@gimp.org>
2993 * tools/pdbgen/pdb/drawable_transform.pdb: added _defaults()
2994 variants (flip_defaults, rotate_defaults, ...) for all transform
2995 functions which finally call gimp_drawable_transform_affine().
2996 The _defaults() functions don't take the whole interpolation_type,
2997 supersample etc. parameter overkill, but only a "interpolation"
2998 boolean like the old PDB wrappers.
3000 * libgimp/gimp.def: changed accordingly.
3002 * app/pdb/drawable_transform_cmds.c
3003 * app/pdb/internal_procs.c
3004 * libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
3006 2004-11-02 Michael Natterer <mitch@gimp.org>
3008 * tools/pdbgen/pdb/drawable_transform.pdb: renamed flip() and
3009 rotate() to flip_simple() and rotate_simple(). Renamed flip_free()
3010 and rotate_free() to flip() and rotate() (the special cases should
3011 have a special suffix, not the general ones).
3013 * libgimp/gimp.def: changed accordingly.
3015 * app/pdb/drawable_transform_cmds.c
3016 * libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
3018 2004-11-02 Michael Natterer <mitch@gimp.org>
3020 * plug-ins/common/compressor.c (compressors): added missing bzip2
3021 command lines for Win32.
3023 2004-11-02 Michael Natterer <mitch@gimp.org>
3025 * plug-ins/bmp/bmpread.c
3026 * plug-ins/bmp/bmpwrite.c
3027 * plug-ins/common/CEL.c
3028 * plug-ins/common/animationplay.c
3029 * plug-ins/common/animoptimize.c
3030 * plug-ins/common/autostretch_hsv.c
3031 * plug-ins/common/c_astretch.c
3032 * plug-ins/common/ccanalyze.c
3033 * plug-ins/common/color_enhance.c
3034 * plug-ins/common/film.c
3035 * plug-ins/common/gee.c
3036 * plug-ins/common/gee_zoom.c
3037 * plug-ins/common/gif.c
3038 * plug-ins/common/gifload.c
3039 * plug-ins/common/grid.c
3040 * plug-ins/common/header.c
3041 * plug-ins/common/mng.c
3042 * plug-ins/common/normalize.c
3043 * plug-ins/common/pcx.c
3044 * plug-ins/common/png.c
3045 * plug-ins/common/pnm.c
3046 * plug-ins/common/postscript.c
3047 * plug-ins/common/psd.c
3048 * plug-ins/common/psd_save.c
3049 * plug-ins/common/raw.c
3050 * plug-ins/common/sunras.c
3051 * plug-ins/common/tga.c
3052 * plug-ins/common/tiff.c
3053 * plug-ins/common/tile.c
3054 * plug-ins/common/vinvert.c
3055 * plug-ins/common/winclipboard.c
3056 * plug-ins/common/winprint.c
3057 * plug-ins/common/xbm.c
3058 * plug-ins/common/xpm.c
3059 * plug-ins/common/xwd.c
3060 * plug-ins/fits/fits.c
3061 * plug-ins/gfli/gfli.c
3062 * plug-ins/imagemap/imap_preview.c
3063 * plug-ins/print/print.c
3064 * plug-ins/pygimp/pygimp-image.c
3065 * plug-ins/winicon/main.c: use the new "colormap" functions
3066 instead of the deprecated "cmap" ones.
3068 2004-11-02 Michael Natterer <mitch@gimp.org>
3070 More final API cleanup:
3072 * tools/pdbgen/pdb/image.pdb: added gimp_image_set,get_colormap()
3073 and deprecated set,get_cmap().
3075 * libgimpwidgets/gimppreviewarea.[ch]: renamed
3076 gimp_preview_area_set_cmap() to set_colormap().
3079 * libgimp/gimpdrawablepreview.c
3080 * libgimp/gimpexport.c
3081 * libgimp/gimpimage.[ch]
3082 * libgimpwidgets/gimpwidgets.def: changed accordingly.
3084 * app/pdb/image_cmds.c
3085 * app/pdb/internal_procs.c
3086 * libgimp/gimpimage_pdb.[ch]: regenerated.
3088 (undeprecation of plug-ins will follow...)
3090 2004-11-02 Michael Natterer <mitch@gimp.org>
3092 * app/tools/gimpcroptool.c (crop_recalc): added "gboolean
3093 recalc_highlight" and call gimp_display_shell_set_highlight() only
3094 when it's TRUE. Pass TRUE from all places where the crop outline
3097 (gimp_crop_tool_control): added back the call to crop_recalc() for
3098 the RESUME case so the outline gets updated on zoom/scroll, but pass
3099 recalc_highlight = FALSE because it has not changed.
3102 2004-11-02 Michael Natterer <mitch@gimp.org>
3104 * tools/pdbgen/pdb/drawable_transform.pdb (flip): renamed
3105 parameter "center" to "auto_center" and removed
3106 "transform_direction". Renamed rotate() to rotate_free() and
3107 added a "gboolean auto_center" parameter. Added new function
3108 rotate() which takes enum GimpRotationType instead of an
3109 arbiatrary angle so the flip and rotate APIs are symmetric.
3111 * libgimp/gimp.def: added the gimp_drawable_transform_* stuff.
3113 * app/pdb/drawable_transform_cmds.c
3114 * app/pdb/internal_procs.c
3115 * libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
3117 2004-11-02 Sven Neumann <sven@gimp.org>
3119 * app/dialogs/image-scale-dialog.c (image_scale_callback): actually
3120 use the choosen interpolation type. Fixes bug #157102.
3122 2004-11-02 DindinX <dindinx@gimp.org>
3124 * plug-ins/gfig/gfig-dobject.c
3125 * plug-ins/gfig/gfig-dobject.h
3126 * plug-ins/gfig/gfig-preview.c
3127 * plug-ins/gfig/gfig-style.h
3128 * plug-ins/gfig/gfig-types.h
3129 * plug-ins/gfig/gfig.h: some more cleanups. The current_style bug is
3132 2004-11-01 Øyvind Kolås <pippin@gimp.org>
3134 * app/xcf/xcf-load.c: applied patch from David Gowers, extra sanity
3135 checking for the xcf loader, colormaps read from non indexed images
3136 are discarded. Does not fix bug #134097, but prevents gimp from
3137 reloading an impossible state.
3139 2004-11-01 Michael Natterer <mitch@gimp.org>
3141 * app/core/gimpdrawable-transform.[ch]
3142 (gimp_drawable_transform_flip): renamed "center" to "auto_center".
3144 (gimp_drawable_transform_rotate): added missing parameters so it
3145 can be used for a to-be-added PDB wrapper offering a
3146 GimpRotationType based rotate API.
3148 Both functions: always clip when transforming a whole channel,
3149 since they must keep their size.
3151 (gimp_drawable_transform_affine): actually forward the passed
3152 "clip_result" to transform_tiles_affine() instead of always FALSE.
3154 2004-11-01 Øyvind Kolås <pippin@gimp.org>
3156 * app/pdb/color_cmds.c
3157 * app/pdb/internal_procs.c
3158 * libgimp/gimpcolor_pdb.c
3159 * libgimp/gimpcolor_pdb.h: regenerated
3160 * tools/pdbgen/pdb/color.pdb: added levels-stretch to @procs, removed
3161 metainformation from deprecated levels-auto.
3163 2004-11-01 Øyvind Kolås <pippin@gimp.org>
3165 * app/actions/drawable-actions.c
3166 * app/actions/drawable-commands.c
3167 * app/actions/drawable-commands.h
3170 * app/core/gimpdrawable-levels.c
3171 * app/core/gimpdrawable-levels.h
3172 * app/pdb/color_cmds.c
3173 * app/tools/gimplevelstool.c
3174 * libgimp/gimpcolor_pdb.c
3175 * menus/image-menu.xml
3176 * menus/image-menu.xml.in
3177 * tools/pdbgen/pdb/color.pdb: renamed [drawable-]levels-auto
3178 to [drawable-]levels-stretch, anticipating other ways to automatically
3179 determine levels settings, old PDB command maintained, but marked
3182 2004-11-01 Sven Neumann <sven@gimp.org>
3184 * app/widgets/gimpfiledialog.c (gimp_file_dialog_add_filters):
3185 don't check for file_proc->menu_paths. Our load and save procedure
3186 don't necessarily register a menu path any longer.
3188 * app/plug-in/plug-ins.c: minor cleanup.
3190 * app/xcf/xcf.c (xcf_init): no need for adding menu paths for the
3191 XCF load and save procedures.
3193 * tools/pdbgen/pdb/fileops.pdb: fixed outdated documentation.
3195 * app/pdb/fileops_cmds.c
3196 * libgimp/gimpfileops_pdb.c: regenerated.
3198 2004-11-01 Michael Natterer <mitch@gimp.org>
3200 * tools/pdbgen/pdb/drawable_transform.pdb: added "clip_result" to
3201 the transform_options_args() utility function and changed all
3202 wrappers accordingly. Removed "interpolation", "supersample" and
3203 "recursion_level" args from drawable_transform_flip().
3205 * app/pdb/drawable_transform_cmds.c
3206 * libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
3208 2004-11-01 Sven Neumann <sven@gimp.org>
3210 * plug-ins/common/tiff.c (query): fixed typo.
3212 2004-11-01 Michael Natterer <mitch@gimp.org>
3214 * app/actions/drawable-actions.c: trailing whitespace.
3216 * app/actions/drawable-commands.[ch]: partly revert alphabetical
3217 ordering. Instead, group them as in drawable-actions.c and order
3218 by alphabet inside the groups (different ordering in *-actions.c
3219 and *-commands.c is inconvenient for the usual workflow of editing
3220 both files at the same time).
3222 * app/core/gimpdrawable-levels.h: indentation.
3224 2004-11-01 Michael Natterer <mitch@gimp.org>
3226 * themes/Small/gtkrc: don't change GtkDialog::button_spacing and
3227 ::action_area_border because it breaks alignment with all other
3228 dialog spacings or borders (which are hardcoded).
3230 2004-11-01 DindinX <dindinx@gimp.org>
3232 * plug-ins/gfig/gfig-types.h: new file to hold the types gfig uses.
3233 This makes the sources easier to read.
3235 * plug-ins/gfig/Makefile.am: added gfig-types.h
3237 * plug-ins/gfig/gfig.h: removed some types definitions and put them
3238 in gfig-types.h and ...
3240 * plug-ins/gfig/gfig-dobject.h
3241 * plug-ins/gfig/gfig-style.h: ...into these files.
3243 2004-10-31 Sven Neumann <sven@gimp.org>
3245 * Made 2.2-pre1 release.
3247 2004-10-31 Simon Budig <simon@gimp.org>
3249 * data/images/gimp-splash.png: new splash based on a great photo
3250 (and pumpkin) by Seth Burgess <sjburges@gimp.org>.
3252 2004-10-31 Simon Budig <simon@gimp.org>
3254 * plug-ins/common/plasma.c: Fixed handling of 1x1 selection and
3255 selection out of drawable.
3257 2004-10-31 Sven Neumann <sven@gimp.org>
3259 * plug-ins/gfig/Makefile.am (EXTRA_DIST): removed pix-data.h.
3261 2004-10-31 Sven Neumann <sven@gimp.org>
3263 * configure.in: changed gimp_version to 2.2-pre1, to match the
3264 naming scheme of the 2.0 pre-releases.
3266 2004-10-31 Sven Neumann <sven@gimp.org>
3268 * plug-ins/common/newsprint.c: removed an unused variable.
3270 2004-10-31 Sven Neumann <sven@gimp.org>
3272 * app/dialogs/user-install-dialog.c: when migrating the user
3273 settings, tolerate errors and create the tmp directory that was
3274 explicitely not copied.
3276 2004-10-31 Sven Neumann <sven@gimp.org>
3278 * app/config/gimpconfig-utils.c (gimp_config_file_copy): copy the
3279 file permissions also.
3281 * app/dialogs/user-install-dialog.c: added code to migrate user
3282 settings from ~/.gimp-2.0. It copies all files (except GIMP swap
3283 files) and all subdirectories (except tmp) with all files. It
3284 doesn't recurse into subdirectories.
3286 2004-10-31 Sven Neumann <sven@gimp.org>
3288 * app/config/gimpguiconfig.c: disabled the image area by default
3289 to reduce some clutter.
3291 2004-10-31 Sven Neumann <sven@gimp.org>
3293 * app/dialogs/user-install-dialog.c: fixed page logic for migration
3294 of user settings. Still missing code to actually copy the files.
3296 2004-10-31 Sven Neumann <sven@gimp.org>
3298 * libgimpwidgets/gimpmemsizeentry.c: don't use camel case in memory
3301 2004-10-31 Sven Neumann <sven@gimp.org>
3303 * app/widgets/gimpimageeditor.c (gimp_image_editor_set_context):
3304 set the active image. Fixes bug #156942.
3306 2004-10-31 Sven Neumann <sven@gimp.org>
3308 * app/dialogs/user-install-dialog.c: started to work on migration of
3309 user settings (bug #156636). Not at all functional yet.
3311 2004-10-31 Sven Neumann <sven@gimp.org>
3313 * libgimpwidgets/gimpwidgets.c: allow for mnemonics in radio
3314 groups created with gimp_radio_group_new().
3316 2004-10-31 DindinX <dindinx@gimp.org>
3318 * plug-ins/gfig/gfig-dialog.c
3319 * plug-ins/gfig/gfig-dobject.c: some more UI improvements.
3321 2004-10-31 Sven Neumann <sven@gimp.org>
3323 * app/widgets/gimpsizebox.c: added a size entry to edit the
3324 resolution. This should close bug #151022.
3326 2004-10-31 Sven Neumann <sven@gimp.org>
3328 * app/dialogs/resize-dialog.c: connect the offset controls.
3330 2004-10-30 DindinX <dindinx@gimp.org>
3332 * plug-ins/gfig/gfig-dobject.c
3333 * plug-ins/gfig/gfig-style.c: fixed some annoying popup messages at
3334 the price of a smallish mem-leak that I will fix later.
3336 2004-10-30 Sven Neumann <sven@gimp.org>
3338 * app/composite/gimp-composite-generic.c
3339 (gimp_composite_hue_any_any_any_generic): do nothing if the color
3340 has no saturation. Patch by Joao S. Bueno. Fixes bug #123296.
3342 2004-10-30 Sven Neumann <sven@gimp.org>
3344 * app/actions/image-commands.c (image_scale_cmd_callback): destroy
3345 the scale dialog when the display is disconnected.
3347 * app/dialogs/resize-dialog.c: fixed a couple of bugs related to
3348 the offset area. Still work in progress.
3350 2004-10-30 DindinX <dindinx@gimp.org>
3352 * plug-ins/common/newsprint.c: Moved the preview to the left, as
3353 suggested by Joao S. O. Bueno.
3355 2004-10-30 DindinX <dindinx@gimp.org>
3357 * plug-ins/gfig/gfig-dialog.c
3358 * plug-ins/gfig/gfig-line.c
3359 * plug-ins/gfig/gfig-line.h
3360 * plug-ins/gfig/gfig-poly.c
3361 * plug-ins/gfig/gfig-preview.c
3362 * plug-ins/gfig/gfig-star.c
3363 * plug-ins/gfig/gfig-style.c
3364 * plug-ins/gfig/gfig-style.h: some more cleanups and UI tweaks. Still
3367 * plug-ins/gfig/pix-data.h: removed this empty, unused file.
3369 2004-10-30 Sven Neumann <sven@gimp.org>
3371 * app/config/gimpguiconfig.[ch]
3372 * app/config/gimprc-blurbs.h
3373 * app/dialogs/preferences-dialog.c
3374 * app/tools/gimpmoveoptions.[ch]
3375 * app/tools/gimpmovetool.[ch]: reverted changes for bug #156801.
3376 Instead added a gimprc option that allows to get the old behaviour
3379 2004-10-30 Sven Neumann <sven@gimp.org>
3381 * app/tools/gimpmoveoptions.[ch]
3382 * app/tools/gimpmovetool.[ch]: applied (cleaned up version of) a
3383 patch from Joao S. O. Bueno that adds a tool-option to restore the
3384 old Move tool behaviour. Fixes bug #156801.
3386 2004-10-30 Sven Neumann <sven@gimp.org>
3388 * plug-ins/common/despeckle.c: applied a patch from Geert Jordaens
3389 that improves the Despeckle algorithm. See bug #72862.
3391 2004-10-29 Kevin Cozens <kcozens@cvs.gimp.org>
3393 * plug-ins/script-fu/siod-wrapper.c (init_constants): Updated to
3394 use convert_string() to change name of constant to Scheme format.
3396 2004-10-30 Sven Neumann <sven@gimp.org>
3400 * README: updated for 2.2 pre-releases.
3402 2004-10-30 Sven Neumann <sven@gimp.org>
3404 * plug-ins/common/grid.c (run): applied patch by Joao S. O. Bueno
3405 that implements the opacity parameters the way it is documented.
3408 2004-10-30 Sven Neumann <sven@gimp.org>
3410 * plug-ins/common/glasstile.c: applied patch from Yeti, updated by
3411 Kevin Cozens and modified by me. Fixes bug #85261.
3413 2004-10-29 Øyvind Kolås <pippin@gimp.org>
3415 * tools/pdbgen/pdb/color.pdb: moved body of code from here.
3417 * app/core/gimpdrawable-levels.[ch]: to here.
3418 * app/core/Makefile.am: added gimpdrawable-levels.[ch].
3419 * app/pdb/color_cmds.c: regenerated.
3421 * app/actions/drawable-actions.c
3422 * app/actions/drawable-commands.[ch]: added drawable-layers-auto
3425 * app/widgets/gimphelp-ids.h: added GIMP_HELP_LAYER_WHITE_BALANCE.
3426 * app/menus/image-menu.xml.in: added new auto/White Balance action.
3427 * app/menus/image-menu.xml: regenerated.
3429 2004-10-29 Sven Neumann <sven@gimp.org>
3431 * app/widgets/gimpuimanager.c (gimp_ui_manager_entry_load)
3432 * app/widgets/gimpclipboard.c (gimp_clipboard_init): only be
3435 * app/plug-in/plug-in.c (plug_in_close): turned warnings into
3436 messages and respect gimp->be_verbose.
3438 2004-10-29 Øyvind Kolås <pippin@gimp.org>
3440 * app/actions/drawable-commands.[ch]
3441 * app/actions/drawable-actions.[ch]: alphabetized file pending
3444 2004-10-29 Kevin Cozens <kcozens@cvs.gimp.org>
3446 * plug-ins/script-fu/scripts/test-sphere.scm: Added notes about
3449 2004-10-29 Sven Neumann <sven@gimp.org>
3451 * plug-ins/common/jpeg.c: pass the name in filesystem encoding to
3452 gimp_image_set_filename(). Fixes bug #153751 for the JPEG plug-in.
3454 2004-10-29 Sven Neumann <sven@gimp.org>
3456 * app/file/file-utils.c (file_utils_uri_to_utf8_filename): when
3457 the filename cannot be converted to UTF-8, warn and return the URI
3458 instead. This is a workaround for the crash described in bug #153751.
3460 2004-10-29 Michael Natterer <mitch@gimp.org>
3462 * app/dialogs/dialogs.c (toplevel_entries): added foreign entries
3463 for the keyboard shortcut and the controller action dialogs.
3465 * app/dialogs/preferences-dialog.c
3466 * app/widgets/gimpcontrollereditor.c: register the dialogs with
3467 the "toplevel" dialog factory so they remember their size and
3470 2004-10-29 Michael Natterer <mitch@gimp.org>
3472 * plug-ins/dbbrowser/gimpprocbrowser.c
3473 * plug-ins/dbbrowser/plugin-browser.c: don't say "1 Procedures" or
3474 "1 Plug-In Interfaces" but use the singular form instead.
3476 2004-10-29 Michael Natterer <mitch@gimp.org>
3478 * plug-ins/common/flarefx.c
3479 * plug-ins/common/nova.c: changed preview cursors to GDK_CROSSHAIR.
3481 * plug-ins/common/iwarp.c
3482 * plug-ins/gflare/gflare.c
3483 * plug-ins/ifscompose/ifscompose.c: added GDK_CROSSHAIR preview
3484 cursors. Not quite perfect for IfsCompose (actually needs tool-
3485 and constext-sensitive cursors) but definitely better than
3486 before. Fixes bug #90519.
3488 2004-10-29 Sven Neumann <sven@gimp.org>
3490 * tools/pdbgen/pdb/edit.pdb: mention gimp_drawable_fill() in the
3491 docs for gimp_edit_fill().
3493 * app/pdb/edit_cmds.c
3494 * libgimp/gimpedit_pdb.c: regenerated.
3496 2004-10-28 DindinX <dindinx@gimp.org>
3498 * plug-ins/gfig/gfig-arc.c
3499 * plug-ins/gfig/gfig-bezier.c
3500 * plug-ins/gfig/gfig-bezier.h
3501 * plug-ins/gfig/gfig-dialog.c
3502 * plug-ins/gfig/gfig-dialog.h
3503 * plug-ins/gfig/gfig-dobject.c
3504 * plug-ins/gfig/gfig-dobject.h
3505 * plug-ins/gfig/gfig-ellipse.c
3506 * plug-ins/gfig/gfig-grid.c
3507 * plug-ins/gfig/gfig-grid.h
3508 * plug-ins/gfig/gfig.c: small cleanups
3510 2004-10-28 Sven Neumann <sven@gimp.org>
3512 * libgimp/gimpdrawablecombobox.c
3513 * libgimp/gimpimagecombobox.c: changed the API docs to suggest to
3514 use gimp_int_combo_box_connect() with these widgets. We don't want
3515 more people to be caught by bug #156659.
3517 2004-10-28 Sven Neumann <sven@gimp.org>
3519 * plug-ins/common/grid.c: fixed a long-standing cut'n'paste bug
3520 which caused the intersection color to be drawn with the wrong
3521 shade of gray when drawing on a grayscale drawable.
3523 2004-10-28 Sven Neumann <sven@gimp.org>
3525 * app/dialogs/resize-dialog.c: added the offset area back. Still
3528 2004-10-28 Sven Neumann <sven@gimp.org>
3530 * plug-ins/helpbrowser/dialog.c: only create a "Document not
3531 found" error page if the requested URL was a page to load, not a
3532 supplementary URL like an image. Fixes bug #138275.
3534 2004-10-28 Sven Neumann <sven@gimp.org>
3536 * plug-ins/bmp/bmp.c
3537 * plug-ins/common/CEL.c
3538 * plug-ins/common/aa.c
3539 * plug-ins/common/compressor.c
3540 * plug-ins/common/csource.c
3541 * plug-ins/common/dicom.c
3542 * plug-ins/common/gbr.c
3543 * plug-ins/common/gif.c
3544 * plug-ins/common/gifload.c
3545 * plug-ins/common/gih.c
3546 * plug-ins/common/gtm.c
3547 * plug-ins/common/header.c
3548 * plug-ins/common/jpeg.c
3549 * plug-ins/common/mng.c
3550 * plug-ins/common/pat.c
3551 * plug-ins/common/pcx.c
3552 * plug-ins/common/pix.c
3553 * plug-ins/common/png.c
3554 * plug-ins/common/pnm.c
3555 * plug-ins/common/postscript.c
3556 * plug-ins/common/psd.c
3557 * plug-ins/common/psd_save.c
3558 * plug-ins/common/psp.c
3559 * plug-ins/common/sunras.c
3560 * plug-ins/common/svg.c
3561 * plug-ins/common/tga.c
3562 * plug-ins/common/tiff.c
3563 * plug-ins/common/url.c
3564 * plug-ins/common/wmf.c
3565 * plug-ins/common/xbm.c
3566 * plug-ins/common/xpm.c
3567 * plug-ins/common/xwd.c
3568 * plug-ins/faxg3/faxg3.c
3569 * plug-ins/fits/fits.c
3570 * plug-ins/gfli/gfli.c
3571 * plug-ins/sgi/sgi.c
3572 * plug-ins/winicon/main.c
3573 * plug-ins/xjt/xjt.c: removed the calls to gimp_plugin_menu_register()
3574 from all plug-ins. File plug-ins don't register into a menu any longer.
3576 2004-10-28 Sven Neumann <sven@gimp.org>
3578 * plug-ins/common/raw.c (query): do not install an extension for
3579 the raw plug-in to avoid confusion with the dcraw format.
3581 2004-10-28 Sven Neumann <sven@gimp.org>
3583 * app/actions/layers-actions.c (layers_actions_update): do not set
3584 the "layers-mask-add" action insensitive if there's no alpha channel.
3586 * app/actions/layers-commands.c (layers_add_mask_response): add an
3587 alpha channel if there isn't one already. Fixes bug #156676.
3589 2004-10-28 Sven Neumann <sven@gimp.org>
3591 * plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
3592 use gimp_int_combo_box_connect() so that the initial selection
3593 causes the "changed" callback to be run. Should fix bug #156659.
3595 2004-10-28 Øyvind Kolås <pippin@gimp.org>
3597 * app/display/gimpdisplayshell-preview.c: Improve preview accuracy of
3598 perspective transform, by subdiving into a 5x5 grid.
3602 2004-10-27 Philip Lafleur <plafleur@cvs.gnome.org>
3604 * app/display/gimpdisplayshell-preview.c: Really fixed all cases
3605 of the perspective tool preview breaking with certain orientations by
3606 using triangles instead of quads.
3608 2004-10-27 Philip Lafleur <plafleur@cvs.gnome.org>
3610 * app/display/gimpdisplayshell-preview.c: Hopefully fixed all cases
3611 of the perspective tool preview breaking with certain orientations.
3613 2004-10-27 Manish Singh <yosh@gimp.org>
3615 * tools/pdbgen/enumcode.pl: Don't declare $first twice.
3617 * libgimp/Makefile.am: Be sure to distribute gimpenums.c.tail.
3619 * libgimp/gimpenums.c.tail: Added into CVS.
3621 2004-10-27 DindinX <dindinx@gimp.org>
3623 * plug-ins/gfig/gfig-bezier.[ch]: added a notebook page for the
3624 bezier tool options instead of yet another popup window.
3626 * plug-ins/gfig/gfig-dialog.c: modified accordingly and HIGed a bit.
3628 2004-10-27 Øyvind Kolås <pippin@gimp.org>
3630 * app/core/gimpdrawable-transform.c: made the fixed point used in
3631 supersampling configurable (in source) and changed from 15.16 to
3634 Fixes bug #128594 for drawables less than 2G wide.
3636 2004-10-27 Michael Schumacher <schumaml@gmx.de>
3638 * app/widgets/gimpwidgets-utils.c: fixed a typo in
3639 #include "libgimpbase/gimpwin32-io.h"
3641 2004-10-27 DindinX <dindinx@gimp.org>
3643 * plug-ins/gfig/gfig-dialog.[ch]
3644 * plug-ins/gfig/gfig-poly.[ch]
3645 * plug-ins/gfig/gfig-spiral.[ch]
3646 * plug-ins/gfig/gfig-star.[ch]
3647 * plug-ins/gfig/gfig.h: first step of moving all the hidden popup
3648 dialogs for the tool options in a GtkNotebook showing the options
3649 within one page for each tool.
3651 2004-10-27 Sven Neumann <sven@gimp.org>
3653 * tools/pdbgen/enumcode.pl: removed trailing commmas from output.
3655 2004-10-27 Sven Neumann <sven@gimp.org>
3657 * tools/pdbgen/enumcode.pl: fixed loop control in
3658 _gimp_enums_init(). This caused all plug-ins to crash immidiately.
3659 You will need to make sure that libgimp/gimpenums.c.tail is
3660 recreated and appended to libgimp/gimpenums.c
3662 2004-10-27 Michael Natterer <mitch@gimp.org>
3664 * app/core/gimp-transform-utils.[ch]. switch from x1,y1,x2,y2
3665 bounding boxes to x,y,width,height ones. Added
3666 gimp_transform_matrix_flip_free(). Renamed some parameters to be
3667 consistent with others. Some internal cleanup.
3669 * app/tools/gimpperspectivetool.c
3670 * app/tools/gimpscaletool.c
3671 * app/tools/gimpsheartool.c
3672 * tools/pdbgen/pdb/drawable_transform.pdb
3673 * tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
3675 * tools/pdbgen/pdb/drawable_transform.pdb
3676 * tools/pdbgen/pdb/transform_tools.pdb: guard all transform
3677 wrappers with if(gimp_drawable_mask_intersect(...)), also the
3678 ones which don't need the returned bounding box.
3680 * tools/pdbgen/pdb/drawable_transform.pdb: renamed some parameters
3681 and added gimp_drawable_transform_matrix() which takes the 9
3682 coefficients of a 3x3 matrix for ultimate flexibility ;)
3684 * app/pdb/drawable_transform_cmds.c
3685 * app/pdb/internal_procs.c
3686 * app/pdb/transform_tools_cmds.c
3687 * libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
3689 2004-10-27 Sven Neumann <sven@gimp.org>
3691 * app/actions/dockable-actions.c (dockable_toggle_actions): changed
3692 menu label from "Show Image Menu" to "Show Image Selection".
3694 * app/widgets/gimpsizebox.c: unmarked a string for translation.
3696 * app/dialogs/scale-dialog.c: added back the message when scaling
3699 2004-10-27 DindinX <dindinx@gimp.org>
3701 * libgimp/gimpaspectpreview.c: really use the second parameter of
3702 gimp_aspect_preview_new (), so plug-ins can now really remember the
3703 state of the preview between invocations.
3705 * libgimpwidgets/gimpscrolledpreview.c: fix a little typo
3707 * plug-ins/common/channel_mixer.c: fix a warning by using TRUE for a
3708 boolean value (initial state of the preview) instead of a weird NULL.
3710 2004-10-27 Michael Natterer <mitch@gimp.org>
3712 * modules/controller_linux_input.c
3713 * modules/controller_midi.c: don't g_free(error) but
3714 g_clear_error(&error) the GError.
3716 2004-10-27 Sven Neumann <sven@gimp.org>
3718 * app/dialogs/resize-dialog.[ch]: started to redo the Resize
3719 dialog in the style of the new Scale dialog. Only halfway done but
3720 at least the new API is there.
3722 * app/actions/image-commands.c
3723 * app/actions/layers-commands.c: changed accordingly.
3725 * app/dialogs/image-scale-dialog.c: cosmetics.
3727 2004-10-27 DindinX <dindinx@gimp.org>
3729 * plug-ins/gfig/*[ch]: preliminary cleanups: removed all trailing
3732 2004-10-26 Manish Singh <yosh@gimp.org>
3734 * tools/pdbgen/pdb/drawable_transform.pdb: removed abuse of init,
3735 called pdb_misc in all procedures.
3737 * app/pdb/drawable_transform_cmds.c
3738 * libgimp/gimpdrawabletransform_pdb.c: regenerated.
3740 2004-10-27 Sven Neumann <sven@gimp.org>
3742 * libgimp/Makefile.am (PDB_WRAPPERS_H, PDB_WRAPPERS_C): added new
3743 files gimpdrawabletranform_pdb.[ch].
3745 2004-10-27 Sven Neumann <sven@gimp.org>
3747 * app/dialogs/Makefile.am
3748 * app/dialogs/image-scale-dialog.[ch]: a wrapper around the scale
3749 dialog that takes care of verifying the user input and optionally
3750 asking for confirmation. Most of this moved out of image-commands.c.
3752 * app/actions/image-commands.c: use the new image scale dialog
3753 even though it doesn't allow to edit the resolution yet. That's a
3754 temporary regression that will get fixed soon.
3756 * app/actions/layers-commands.c: cosmetics.
3758 * app/dialogs/scale-dialog.c (scale_dialog_reset): also reset the
3761 * app/widgets/gimpsizebox.c: fixed cut'n'paste error.
3763 2004-10-27 Sven Neumann <sven@gimp.org>
3765 * app/widgets/gimpsizebox.[ch]: added a resolution label similar
3766 to one in the template editor. Prepared for editable resolution,
3769 * app/dialogs/scale-dialog.[ch]: added resolution and resolution
3770 unit parameters to ScaleDialogCallback.
3772 * app/actions/layers-commands.c: changed accordingly.
3774 2004-10-26 Sven Neumann <sven@gimp.org>
3776 * app/widgets/gimptemplateeditor.c: commented out the memory size
3777 label. The visual clutter of it's bold appearance was IMO not
3778 appropriate. I think the dialog is better without it.
3780 * app/widgets/gimpsizebox.c: added a pixel size label as in the
3783 2004-10-26 Sven Neumann <sven@gimp.org>
3785 * tools/pdbgen/enumcode.pl: added gtk-doc comment for
3786 gimp_enums_get_type_names().
3788 2004-10-26 Sven Neumann <sven@gimp.org>
3790 * plug-ins/common/retinex.c: applied patch by Geert Jordaens that
3791 lets Retinex deal with RGBA drawables. Closes bug #135594 again.
3793 2004-10-26 Sven Neumann <sven@gimp.org>
3795 Added new drawable transform API to the PDB. Largely based on
3796 patches from Joao S. O. Bueno. Fixes bug #137053.
3798 * app/core/gimpdrawable-transform.[ch]: added missing parameters
3799 to gimp_drawable_transform_flip().
3801 * tools/pdbgen/pdb/transform_tools.pdb: changed accordinly.
3803 * app/base/base-enums.h
3804 * app/core/core-enums.h: removed pdp-skip for GimpInterpolationType
3805 and GimpTransformDirection enums.
3807 * libgimp/gimpenums.h
3808 * plug-ins/pygimp/gimpenums.py
3809 * tools/pdbgen/enums.pl
3810 * tools/pdbgen/groups.pl: regenerated.
3812 * tools/pdbgen/Makefile.am
3813 * tools/pdbgen/pdb/drawable_transform.pdb: added new file defining
3816 * app/pdb/Makefile.am
3817 * app/pdb/drawable_transform_cmds.c
3818 * app/pdb/internal_procs.c
3819 * app/pdb/transform_tools_cmds.c
3820 * libgimp/gimp_pdb.h
3821 * libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
3823 2004-10-26 Michael Natterer <mitch@gimp.org>
3825 * modules/controller_linux_input.c
3826 * modules/controller_midi.c: don't enter an infinite blocking loop
3827 when the user selects an input file that can be opened, but not
3828 read (like a directory).
3830 2004-10-26 Michael Natterer <mitch@gimp.org>
3832 * app/widgets/gimpactionview.[ch] (gimp_action_view_new): added
3833 parameter "const gchar *select_action" and preselect the passed
3834 action if non-NULL. Made the column enum public to users of this
3835 widget can get data from its tree store.
3837 * app/dialogs/preferences-dialog.c (prefs_keyboard_shortcuts_dialog):
3838 pass NULL because we don't want a preselected action here.
3840 * app/widgets/gimpcontrollereditor.[ch]: added "Edit" and "Delete"
3841 buttons to change the event -> action mapping. Implement a action
3842 chooser dialog using GimpActionView. Fixes bug #106920.
3844 2004-10-26 Sven Neumann <sven@gimp.org>
3846 * app/actions/channels-commands.c
3847 * app/core/gimpchannel-select.c
3848 * app/core/gimpimagefile.c
3849 * app/core/gimpundo.c
3850 * app/widgets/gimpcomponenteditor.c: use the new enum utility
3851 functions from libgimpbase instead of accessing enum_value->value_name.
3853 2004-10-26 Michael Natterer <mitch@gimp.org>
3855 * app/dialogs/quit-dialog.c (quit_dialog_container_changed): when
3856 changing the button's label to "Quit", also make it the default
3859 2004-10-26 Michael Natterer <mitch@gimp.org>
3861 * app/widgets/Makefile.am
3862 * app/widgets/widgets-types.h
3863 * app/widgets/gimpcontrollereditor.[ch]: new widget built from
3864 preliminary code from the prefs dialog. Prerequisite for finally
3867 * app/dialogs/preferences-dialog.c: use the new widget.
3869 2004-10-26 Michael Natterer <mitch@gimp.org>
3871 * plug-ins/common/retinex.c: cleaned up the GUI and GIMP-specific
3872 code a bit. Use gimp_drawable_mask_intersect().
3874 2004-10-25 Manish Singh <yosh@gimp.org>
3876 * tools/pdbgen/enumcode.pl: Use $1 instead of deprecated \1 for
3879 2004-10-26 Michael Natterer <mitch@gimp.org>
3881 * plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
3882 my last change removed the sanity check for array_length >= 0.
3885 2004-10-26 Michael Natterer <mitch@gimp.org>
3887 * libgimpbase/gimpbase.def: updated.
3889 2004-10-25 DindinX <dindinx@gimp.org>
3891 * plug-ins/common/retinex.c: added this new plug-in.
3892 Addresses bug #135594
3894 * plug-ins/common/plugin-defs.pl: modified accordingly.
3896 * plug-ins/common/.cvsignore
3897 * plug-ins/common/Makefile.am: regenerated.
3899 * plug-ins/gfig/gfig-arc.c
3900 * plug-ins/gfig/gfig-arc.h
3901 * plug-ins/gfig/gfig-circle.c
3902 * plug-ins/gfig/gfig-circle.h
3903 * plug-ins/gfig/gfig-dialog.c: smallish style cleanups
3905 2004-10-25 Michael Natterer <mitch@gimp.org>
3907 * plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
3908 silently accept arrays which are longer than specified. Nothing
3909 bad can happen and it's common practice to resize arrays in fixed
3910 size chunks so avoid frequent resizing. Fixes bug #155359.
3912 2004-10-25 Michael Natterer <mitch@gimp.org>
3914 * plug-ins/script-fu/siod-wrapper.c (init_constants): removed
3915 debugging output i forgot.
3917 2004-10-25 Sven Neumann <sven@gimp.org>
3919 * app/dialogs/quit-dialog.c: change the action button's label to
3920 "Quit" if there are no images with unsaved changes.
3922 2004-10-25 Michael Natterer <mitch@gimp.org>
3924 * libgimpbase/gimpbaseenums.[ch]: register some missing enums.
3926 * tools/pdbgen/enumcode.pl: removed code to generate
3927 plug-ins/script-fu/script-fu-constants.c, generate code to
3928 explicitely initialize and query all of libgimp*'s enums
3929 and write it to libgimp/gimpenums.c.tail
3931 * libgimp/gimpenums.h: regenerated.
3933 * libgimp/Makefile.am: append gimpenums.c.tail to gimpenums.c
3935 * libgimp/gimp.c (gimp_main): call g_type_init() and
3938 * libgimp/gimp.def: added gimp_enums_get_type_names().
3940 * plug-ins/script-fu/Makefile.am
3941 * plug-ins/script-fu/script-fu-constants.[ch]: removed these files.
3943 * plug-ins/script-fu/siod-wrapper.c: dynamically register all
3944 constants using gimp_enums_get_type_names() and introspection.
3945 Also register the built-in unit types.
3947 * plug-ins/script-fu/script-fu.c: changed accordingly.
3949 2004-10-25 Michael Natterer <mitch@gimp.org>
3951 Don't store human readable and translatable enum/flag strings in
3952 GEnumValue's and GTypeValue's fields but attach them to their
3953 GType using separate structs and utility functions:
3955 * tools/gimp-mkenums: added params and perl voodoo to support
3956 generating a second array of values, which is used by the
3957 Makefiles below to create and register arrays of value
3960 * libgimpbase/gimpbasetypes.[ch]: added API to attach/retreive
3961 arrays of translatable strings to/from enum and flags types. Added
3962 structs GimpEnumDesc and GimpFlagsDesc for that purpose.
3964 * libgimpbase/gimputils.[ch]: changed existing enum utility
3965 functions, added new ones and added a symmetric API for flags.
3967 * app/base/Makefile.am
3968 * app/core/Makefile.am
3969 * app/display/Makefile.am
3970 * app/paint/Makefile.am
3971 * app/text/Makefile.am
3972 * app/tools/Makefile.am
3973 * app/widgets/Makefile.am
3974 * libgimp/Makefile.am
3975 * libgimpbase/Makefile.am: changed *-enums.c generation rules
3978 * app/base/base-enums.c
3979 * app/core/core-enums.c
3980 * app/display/display-enums.c
3981 * app/paint/paint-enums.c
3982 * app/text/text-enums.c
3983 * app/tools/tools-enums.c
3984 * app/widgets/widgets-enums.c
3985 * libgimpbase/gimpbaseenums.c: regenerated.
3987 * app/widgets/gimpenumstore.c
3988 * app/widgets/gimpenumwidgets.c
3989 * app/widgets/gimptemplateeditor.c
3990 * libgimpwidgets/gimppreviewarea.c: follow the enum utility
3991 function API changes.
3993 2004-10-25 Sven Neumann <sven@gimp.org>
3995 * plug-ins/imagemap/imap_cmd_gimp_guides.c
3996 * plug-ins/imagemap/imap_edit_area_info.c
3997 * plug-ins/imagemap/imap_main.c
3998 * plug-ins/imagemap/imap_menu.[ch]
3999 * plug-ins/imagemap/imap_menu_funcs.[ch]
4000 * plug-ins/imagemap/imap_misc.c
4001 * plug-ins/imagemap/imap_settings.c
4002 * plug-ins/imagemap/imap_source.c: added a menu entry for Help.
4003 Did more minor layout adjustments for HIG compliance.
4005 2004-10-25 Michael Natterer <mitch@gimp.org>
4007 * app/core/gimpobject.c: #include "libgimpbase/gimpbase.h", not
4010 2004-10-25 Michael Natterer <mitch@gimp.org>
4012 * menus/toolbox-menu.xml.in: commented out the "Debug" submenu.
4013 Should do this via an xsltproc --param actually...
4015 2004-10-25 DindinX <dindinx@gimp.org>
4017 * plug-ins/common/newsprint.c: removed debugging g_print and
4018 remove my memory fix, since it was buggy and shouldn't be done.
4019 My fix just broke this plug-in (reported by Joao S. O. Bueno
4022 2004-10-25 Simon Budig <simon@gimp.org>
4024 * app/tools/gimpvectortool.c: Switch to design mode when
4025 Escape gets pressed. Untabbified.
4027 2004-10-25 Michael Natterer <mitch@gimp.org>
4029 * app/actions/gradient-editor-commands.c
4030 * app/display/gimpdisplayshell-preview.c: irrelevant coding style
4031 and spacing cleanups.
4033 * app/widgets/gimpimageeditor.c: removed utility function
4034 gimp_image_editor_context_changed() and connect
4035 gimp_image_editor_set_image() directly using
4036 g_signal_connect_swapped().
4038 2004-10-25 Sven Neumann <sven@gimp.org>
4040 * plug-ins/imagemap/imap_circle.c
4041 * plug-ins/imagemap/imap_cmd_gimp_guides.c
4042 * plug-ins/imagemap/imap_cmd_guides.c
4043 * plug-ins/imagemap/imap_default_dialog.[ch]
4044 * plug-ins/imagemap/imap_edit_area_info.c
4045 * plug-ins/imagemap/imap_grid.c
4046 * plug-ins/imagemap/imap_main.c
4047 * plug-ins/imagemap/imap_misc.c
4048 * plug-ins/imagemap/imap_polygon.c
4049 * plug-ins/imagemap/imap_preferences.c
4050 * plug-ins/imagemap/imap_rectangle.c
4051 * plug-ins/imagemap/imap_selection.c
4052 * plug-ins/imagemap/imap_source.c
4053 * plug-ins/imagemap/imap_toolbar.c
4054 * plug-ins/imagemap/imap_tools.c: reviewed for HIG
4055 compliance. Various other minor fixes. Closes bug #150004.
4057 2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>
4059 * plug-ins/script-fu/scripts/test-sphere.scm: Added parameter
4060 missing from argument list.
4062 2004-10-25 Michael Natterer <mitch@gimp.org>
4064 * tools/pdbgen/enumcode.pl
4065 * libgimp/Makefile.am: register all enums in libgimp/gimpenums.h
4066 with the type system.
4068 * libgimp/gimpenums.h: regenerated.
4070 * libgimp/gimp.def: updated.
4072 2004-10-25 Sven Neumann <sven@gimp.org>
4074 * configure.in: gimp_user_version should be 2.2.
4076 * libgimpmodule/Makefile.am (AM_CPPFLAGS): cleanup.
4078 2004-10-25 Sven Neumann <sven@gimp.org>
4082 * tools/Makefile.am: bumped version to 2.2.0-pre1, set app version
4083 to 2.2, reset other versions to 2.0. Changed library versioning so
4084 we install with the same soname as gimp-2.0 again.
4086 2004-10-25 Sven Neumann <sven@gimp.org>
4088 * app/core/gimpimagefile.c (gimp_imagefile_get_desc_string): say
4089 "Click to create preview" if no preview is available.
4091 2004-10-25 Michael Natterer <mitch@gimp.org>
4093 * app/widgets/gimpwidgets-utils.[ch]: added gimp_text_buffer_save()
4094 which saves a GtkTextBuffer's contents to a file.
4096 * app/widgets/gimperrorconsole.c: use
4097 gimp_editor_add_action_button() and removed all "clicked"
4098 callbacks, including all file saving code.
4100 * app/actions/error-console-actions.c
4101 * app/actions/error-console-commands.[ch]: added the code removed
4102 above to the action callbacks. Use gimp_text_buffer_save().
4104 2004-10-24 Michael Natterer <mitch@gimp.org>
4106 * app/widgets/gimpgradienteditor.[ch]
4107 * app/widgets/gimppaletteeditor.[ch]: added public APIs for
4108 zooming the editors. Use gimp_editor_add_action_button() to create
4109 all buttons. Removed all button callbacks and all duplicated
4110 button sensitivity logic.
4112 * app/widgets/gimpdataeditor.c (gimp_data_editor_set_data): update
4113 the editor's UI manager if it exists.
4115 * app/actions/gradient-editor-actions.c
4116 * app/actions/gradient-editor-commands.[ch]: added zoom actions
4117 and callback and call gimp_gradient_editor_zoom(). Fixed
4118 gradient_editor_actions_update() to actually set all items'
4119 sensitivity (it was possible to modify read-only gradients and
4120 even to crash GIMP).
4122 * app/actions/palette-editor-actions.c
4123 * app/actions/palette-editor-commands.[ch]: changed "new" and
4124 "zoom" actions to actually do their job instead of calling
4125 gtk_button_clicked(editor->foo_button).
4127 2004-10-24 Michael Natterer <mitch@gimp.org>
4129 * app/widgets/gimpcolormapeditor.c: removed the "Edit Color"
4130 dialog callbacks and use gimp_editor_add_action_button() for
4131 the edit button. Removed button sensitivity logic. Hide the
4132 color dialog when the image's mode changes.
4134 * app/actions/colormap-editor-actions.c: added missing tooltip
4135 for the edit action.
4137 * app/actions/colormap-editor-commands.c: implement the dialog
4140 2004-10-24 DindinX <dindinx@gimp.org>
4142 * app/core/gimpdrawable-desaturate.c: only return early if there's
4143 nothing to desaturate.
4145 2004-10-24 Michael Natterer <mitch@gimp.org>
4147 * app/actions/vectors-commands.c: don't leak the filenames of the
4148 import and export dialogs.
4150 2004-10-24 Michael Natterer <mitch@gimp.org>
4152 * app/dialogs/Makefile.am
4153 * app/dialogs/vectors-export-dialog.[ch]
4154 * app/dialogs/vectors-import-dialog.[ch]: new files.
4156 * app/actions/vectors-commands.c: use the new dialogs and remember
4159 2004-10-23 Sven Neumann <sven@gimp.org>
4161 * app/actions/vectors-commands.c: added missing controls to the
4162 path import and export dialogs.
4164 2004-10-23 DindinX <dindinx@gimp.org>
4166 * plug-ins/common/newsprint.c: cleaned it up, fixed a (documented)
4167 memory leak and the weird behaviour of the resolution scales.
4169 2004-10-23 DindinX <dindinx@gimp.org>
4171 * plug-ins/common/newsprint.c: added a preview.
4173 2004-10-23 Michael Natterer <mitch@gimp.org>
4175 * libgimp/gimpaspectpreview.h
4176 * libgimp/gimpdrawablepreview.h
4177 * libgimp/gimpprogressbar.h
4178 * libgimpwidgets/gimpcellrenderercolor.h
4179 * libgimpwidgets/gimpcellrenderertoggle.h
4180 * libgimpwidgets/gimpframe.h
4181 * libgimpwidgets/gimpintcombobox.h
4182 * libgimpwidgets/gimpintstore.h
4183 * libgimpwidgets/gimppreview.h
4184 * libgimpwidgets/gimppreviewarea.h
4185 * libgimpwidgets/gimpscrolledpreview.h: added padding to all class
4186 structs which have been added since 2.0.
4188 2004-10-23 Michael Natterer <mitch@gimp.org>
4190 * app/actions/file-commands.c (file_save_cmd_callback): don't
4191 g_return_if_fail() if there is no active drawable, just silently
4194 * app/actions/image-commands.c: remember the last merge_type of
4195 the "Merge Visible Layers" dialog.
4197 * app/actions/layers-commands.c: remeber the last values of the
4198 "Add Layer Mask" dialog.
4200 * app/actions/select-commands.c: renamed a bunch of static
4201 variables to be consistent with other variables used to remember
4204 * app/actions/view-commands.c (view_fullscreen_cmd_callback): it's
4205 useless to update the "view-fullscreen" actions here because the
4206 "fullscreen" state of the shell changes asynchronously
4208 2004-10-23 Michael Natterer <mitch@gimp.org>
4210 * app/dialogs/image-merge-layers-dialog.c
4211 * app/dialogs/layer-add-mask-dialog.c: made them not resizable.
4213 * app/dialogs/convert-dialog.c
4214 * app/dialogs/offset-dialog.c: renamed ugly variables.
4216 * app/dialogs/image-new-dialog.c
4217 * app/dialogs/stroke-dialog.c: irrelevant pedantic code reordering.
4219 2004-10-23 Michael Natterer <mitch@gimp.org>
4221 * app/dialogs/Makefile.am
4222 * app/dialogs/image-merge-layers-dialog.[ch]: one more dialog split
4225 * app/actions/image-commands.c: removed it here. Some cleanup.
4227 2004-10-23 Sven Neumann <sven@gimp.org>
4229 * libgimpthumb/gimpthumb-utils.[ch]
4230 * libgimpthumb/gimpthumbnail.[ch]
4231 * libgimpthumb/gimpthumb.def: added missing API, mainly for deleting
4234 * app/core/gimpimagefile.[ch]: when saving a thumbnail, delete a
4235 failure thumbnail if one exists. Unless the thumbnail was created
4236 explicitely, remove all other thumbnails for this image.
4238 * app/actions/documents-commands.c: changed accordingly.
4240 * app/file/file-open.c: only save a thumbnail if there isn't a
4241 valid thumbnail already.
4243 * app/widgets/gimpthumbbox.c: before attempting to create a new
4244 thumbnail, check if there's an uptodate failure thumbnail.
4246 2004-10-23 Michael Natterer <mitch@gimp.org>
4248 * app/dialogs/Makefile.am
4249 * app/dialogs/layer-add-mask-dialog.[ch]: one more dialog split
4252 * app/actions/layers-commands.c: removed it here. Some cleanup.
4254 2004-10-23 Michael Natterer <mitch@gimp.org>
4256 * autogen.sh: don't tell nonsense by printing "I am going to run
4257 ./configure with no arguments", because we always pass at least
4258 --enable-maintainer-mode. Instead, simply always print all
4259 arguments. Also removed --copy from the calls to glib-gettextize
4262 2004-10-23 Michael Natterer <mitch@gimp.org>
4264 * libgimpwidgets/gimpstock.c: added labels ("_Stroke") to the
4265 SLEECTION_STROKE and PATH_STROKE stock items so they can be used
4268 * app/widgets/gimpstrokeeditor.c: changed mnemonic to no clash
4269 with "_Stroke" and reordered some code.
4271 * app/dialogs/stroke-dialog.[ch]: use the passed stock_id instead
4272 of GTK_STOCK_OK. Added parameters to specify the dialog's title
4273 so it doesn't say "Stroke Options".
4275 * app/actions/select-commands.c
4276 * app/actions/vectors-commands.c
4277 * app/tools/gimpvectortool.c: pass "Stroke Selection" and "Stroke
4278 Path" as dialog titles.
4280 2004-10-23 Michael Natterer <mitch@gimp.org>
4282 When there are variants of actions with and without dialog, let
4283 the dialog-less actions try to use the values from the last dialog
4286 * app/actions/channels-actions.c
4287 * app/actions/channels-commands.[ch]
4288 * app/actions/layers-actions.c
4289 * app/actions/layers-commands.[ch]
4290 * app/actions/vectors-actions.c
4291 * app/actions/vectors-commands.[ch]: renamed the foo-new-defaults
4292 actions to foo-new-last-values and use the last values entered in
4295 * app/widgets/gimpchanneltreeview.c
4296 * app/widgets/gimpitemtreeview.c
4297 * app/widgets/gimplayertreeview.c
4298 * app/widgets/gimpvectorstreeview.c: changed accordingly. Show
4299 the dialog on clicking "New" and call the last-values action on
4302 * app/actions/select-actions.c
4303 * app/actions/vectors-commands.c: renamed the foo-stroke-last-vals
4306 * app/widgets/gimpselectioneditor.c
4307 * app/widgets/gimpvectorstreeview.c: stroke with last values on
4308 <shift> clicking the stroke buttons.
4310 2004-10-23 Sven Neumann <sven@gimp.org>
4312 * libgimpthumb/gimpthumbnail.c (gimp_thumbnail_save): save to a
4313 temporary file to avoid problems with concurrent thumbnail
4316 2004-10-23 Michael Natterer <mitch@gimp.org>
4318 * app/dialogs/Makefile.am
4319 * app/dialogs/layer-options-dialog.[ch]: the new/edit layer dialog.
4321 * app/actions/layers-commands.c: use it here.
4323 2004-10-22 Sven Neumann <sven@gimp.org>
4325 * app/tools/gimpimagemaptool.[ch]
4326 * app/tools/gimpcurvestool.c
4327 * app/tools/gimplevelstool.c: allow to Shift-click the Load and
4328 Save buttons to skip the file chooser dialog and reuse the last
4329 used filename. Fixes bug #75558.
4331 2004-10-22 Michael Natterer <mitch@gimp.org>
4333 * app/dialogs/Makefile.am
4334 * app/dialogs/template-options-dialog.[ch]: the new/edit template
4337 * app/actions/templates-commands.c: removed the code here and use
4338 template_options_dialog_new(). Removed utility functions. Some
4341 2004-10-22 Michael Natterer <mitch@gimp.org>
4343 * app/widgets/gimpeditor.c (gimp_editor_ensure_button_box): make
4344 sure the button_box is always interted at the very bottom of the
4347 * app/widgets/gimpviewabledialog.c: changed the "description"
4348 property from CONSTRUCT_ONLY to CONSTRUCT.
4350 * app/widgets/gimpcolormapeditor.c: show the index of the edited
4351 color in the color dialog and use the correct icon. Replaced label
4352 "Hex triplet" by "HTML notation" to be consistent with the color
4353 dialog. Removed wrong 2 pixel border around the table below the
4356 2004-10-22 Sven Neumann <sven@gimp.org>
4358 * plug-ins/common/wmf.c: fixed non-interactive call with default
4361 2004-10-22 Sven Neumann <sven@gimp.org>
4363 * app/actions/colormap-editor-actions.c
4364 * app/actions/dialogs-actions.c
4365 * app/core/gimpimage-colormap.c
4366 * app/dialogs/convert-dialog.c
4367 * app/dialogs/dialogs.c
4368 * app/widgets/gimpcolormapeditor.c: use the term "Colormap"
4369 instead of "Indexed Palette". Fixes bug #155829.
4371 2004-10-22 Sven Neumann <sven@gimp.org>
4373 * plug-ins/common/wmf.c: applied a patch by Karine Proot that adds
4374 a preview to the load dialog and a similar UI as the SVG loader.
4375 Fixes bug #133519 and bug #133521.
4377 2004-10-22 Michael Natterer <mitch@gimp.org>
4379 * app/core/core-enums.[ch]: added new enum GimpStrokeMethod which
4380 can be one of { LIBART, PAINT_CORE }.
4382 * app/core/Makefile.am
4383 * app/core/core-types.h
4384 * app/core/gimpstrokedesc.[ch]: new object which encapsulates
4385 the params and setup logic for the different stroke methods.
4387 * app/core/gimpitem.[ch]: use it in GimpItem::stroke() and
4388 in the gimp_item_stroke() wrapper.
4390 * app/core/gimpchannel.c (gimp_channel_stroke)
4391 * app/core/gimpselection.c (gimp_selection_stroke)
4392 * app/vectors/gimpvectors.c (gimp_vectors_stroke): changed accprdingly.
4394 * app/actions/select-commands.c
4395 * app/actions/vectors-commands.c
4396 * app/dialogs/stroke-dialog.c
4397 * tools/pdbgen/pdb/edit.pdb
4398 * tools/pdbgen/pdb/paths.pdb: use GimpStrokeDesc. Simplifies the
4401 * app/pdb/edit_cmds.c
4402 * app/pdb/paths_cmds.c: regenerated.
4404 2004-10-22 Michael Natterer <mitch@gimp.org>
4406 * app/widgets/gimppropwidgets.c: remember the param_spec with each
4407 radio button instead of with the box/frame around them.
4409 2004-10-21 Kevin Cozens <kcozens@cvs.gimp.org>
4411 * plug-ins/script-fu/script-fu.c: Removed _() tag from two strings
4412 that should not have been marked for translation.
4414 2004-10-21 Kevin Cozens <kcozens@cvs.gimp.org>
4416 * plug-ins/script-fu/scripts-fu.c: Fixed spelling error.
4418 2004-10-21 Michael Natterer <mitch@gimp.org>
4420 * app/actions/select-actions.c
4421 * app/actions/select-commands.[ch]
4422 * app/actions/vectors-actions.c
4423 * app/actions/vectors-commands.[ch]: added actions and callbacks
4424 to stroke with the last values used without showing the stroke
4425 dialog. The actions have no menu entries but can be called via
4426 shortcuts. Fixes bug #135746.
4428 (Disclaimer: the uglyness of the callbacks shows the need for a
4429 stroke API overhaul).
4431 2004-10-20 Michael Natterer <mitch@gimp.org>
4433 * app/core/gimpdrawable-stroke.c
4434 (gimp_drawable_stroke_scan_convert): Replacing the call to
4435 gimp_channel_is_empty() by a simple gimp_drawable_mask_intersect()
4436 was wrong because gimp_channel_is_empty() makes sure that the
4437 selection doesn't mask itself while being stroked.
4439 2004-10-20 Michael Natterer <mitch@gimp.org>
4441 * plug-ins/common/raw.c: ported to GimpPreviewArea.
4443 2004-10-20 Michael Natterer <mitch@gimp.org>
4445 * plug-ins/common/raw.c: new plug-in from Tim Copperfield, made
4446 work with the GIMP 2.1 API by Philipp Gühring, then heavily
4447 cleaned up and undeprecated by myself. Fixes bug #144943.
4449 (still uses GtkPreview, but i wanted a sane state in cvs to diff
4450 against before replacing it)
4452 * plug-ins/common/plugin-defs.pl: changed accordingly.
4454 * plug-ins/common/Makefile.am: regenerated.
4456 2004-10-20 Michael Natterer <mitch@gimp.org>
4458 Fixed bug #155733 for libgimp:
4460 * tools/pdbgen/pdb/drawable.pdb: export drawable_mask_intersect()
4461 to the PDB and improved documentation for drawable_mask_bounds().
4463 * app/pdb/drawable_cmds.c
4464 * app/pdb/internal_procs.c
4465 * libgimp/gimpdrawable_pdb.[ch]: regenerated.
4467 * libgimp/gimp.def: changed accordingly.
4469 2004-10-20 Michael Natterer <mitch@gimp.org>
4471 * app/core/gimpdrawable.[ch]: added gimp_drawable_mask_intersect()
4472 which returns the same bounding box as gimp_drawable_mask_bounds(),
4473 but returns TRUE only if there is a non-empty intersection between
4474 the drawable and the selection, or no selection at all. It also
4475 returns the intersection as x,y,width,height instead of the
4478 * app/core/gimp-edit.c
4479 * app/core/gimpdrawable-blend.c
4480 * app/core/gimpdrawable-bucket-fill.c
4481 * app/core/gimpdrawable-desaturate.c
4482 * app/core/gimpdrawable-equalize.c
4483 * app/core/gimpdrawable-histogram.c
4484 * app/core/gimpdrawable-invert.c
4485 * app/core/gimpdrawable-stroke.c
4486 * app/core/gimpimagemap.c
4487 * app/core/gimpselection.c
4488 * tools/pdbgen/pdb/color.pdb
4489 * tools/pdbgen/pdb/transform_tools.pdb: either switch from
4490 gimp_drawable_mask_bounds() to _intersect() or check the return
4491 values of _mask_bounds() manually to avoid operations on empty
4492 areas. Return successfully because it's a nop, not a failure.
4493 Fixes bug #155733 for the core.
4495 * app/pdb/color_cmds.c
4496 * app/pdb/transform_tools_cmds.c: regenerated.
4498 2004-10-19 Michael Natterer <mitch@gimp.org>
4500 * app/tools/gimptextoptions.c (gimp_text_options_gui): removed
4501 3 mnemonics. No other tool options label has a mnemonic.
4502 Addresses bug #155861.
4504 2004-10-19 Michael Natterer <mitch@gimp.org>
4506 * app/dialogs/Makefile.am
4507 * app/dialogs/vectors-options-dialog.[ch]: one more dialog split
4510 * app/actions/vectors-commands.c: removed it here. Merged more
4511 utility functions into their only callers.
4513 * app/actions/dockable-commands.c
4514 * app/actions/edit-commands.c
4515 * app/actions/file-commands.c
4516 * app/actions/palettes-commands.c
4517 * app/actions/tool-options-commands.c
4518 * app/actions/view-commands.c: renamed "qbox" and "query_box"
4519 variables to "dialog".
4521 2004-10-19 Michael Natterer <mitch@gimp.org>
4523 * plug-ins/common/screenshot.c (shoot_dialog): don't forget to set
4524 the mnemonic widgets for the labels. Fixes bug #155811.
4526 2004-10-19 Michael Natterer <mitch@gimp.org>
4528 * app/dialogs/Makefile.am
4529 * app/dialogs/channel-options-dialog.[ch]: new files implementing
4530 the channel options dialog with a horrid number of 13 construction
4531 parameters. Still better than having the same code twice, only
4532 differing in strings used...
4534 * app/actions/channels-commands.c
4535 * app/actions/qmask-commands.c: removed the dialog code here and
4536 use channel_options_dialog_new().
4538 2004-10-19 Jay Cox <jaycox@gimp.org>
4540 * plug-ins/common/psd_save.c: don't try to save psd files that are
4541 larger than 30000 pixels in either direction. Fixed the rle code
4542 to compress more compactly. Fixed a memmory leak in
4545 2004-10-18 Michael Natterer <mitch@gimp.org>
4547 Action code review and pre-release consistency cleanup:
4549 * app/actions/*-actions.c: added some missing and resolved
4550 conflicting mnemonics, added missing help IDs. Cleaned up the
4551 *_actions_update() functions.
4553 * app/actions/channels-actions.c
4554 * app/actions/layers-actions.c
4555 * app/actions/vectors-actions.c (*_actions_update): simplified
4556 the code that figures the prev and next channel,layer,vectors.
4558 * app/actions/qmask-actions.c: use the same accelerator for
4559 "qmask-active" and "qmask-toggle". Fixed action sensitivity.
4561 * app/actions/channels-commands.c
4562 * app/actions/dockable-commands.c
4563 * app/actions/documents-commands.c
4564 * app/actions/gradients-commands.c
4565 * app/actions/layers-commands.c
4566 * app/actions/palettes-commands.c
4567 * app/actions/image-commands.c
4568 * app/actions/select-commands.c
4569 * app/actions/vectors-commands.c: folded tons of private utility
4570 functions into their only callers (they used to be public and
4571 called from outside before the switch to action based menus).
4572 Renamed functions and variables saying "query" or "qbox" to
4573 "dialog". Moved static functions to the end of the files. Misc
4576 * app/actions/drawable-actions.c
4577 * app/actions/drawable-commands.c: made the "drawable-visible" and
4578 "drawable-linked" actions affect the layer if the active drawable
4581 * app/actions/select-commands.c: added action to stroke with the
4582 last values used in an attempt to address bug #135746 but #if 0'ed
4583 it because the approach is too ugly.
4585 * app/tools/gimpiscissorstool.c: changed mnemonic from I to S.
4587 * menus/image-menu-xml.in: added more stuff to the (commented out)
4590 2004-10-17 DindinX <dindinx@gimp.org>
4592 * libgimp/gimppixelrgn.c: some more clues in the documentation
4593 (suggested by nomis)
4595 2004-10-17 DindinX <dindinx@gimp.org>
4597 * libgimp/gimppixelrgn.c: clarify some usecases for
4598 gimp_pixel_rgn_init().
4600 2004-10-17 DindinX <dindinx@gimp.org>
4602 * plug-ins/common/colortoalpha.c: Added a preview.
4604 2004-10-17 DindinX <dindinx@gimp.org>
4606 * plug-ins/common/glasstile.c: use a GimpDrawablePreview.
4608 2004-10-17 DindinX <dindinx@gimp.org>
4610 * plug-ins/common/borderaverage.c: smallish cleanups.
4612 2004-10-17 DindinX <dindinx@gimp.org>
4614 * plug-ins/common/displace.c: Added a preview and minor cleanups.
4615 Can someone provide useful testcases for this plug-in?
4617 2004-10-16 Michael Natterer <mitch@gimp.org>
4619 * app/widgets/gimpitemtreeview.[ch]: moved "item_type" and
4620 "signal_name" from GimpItemTreeView to GimpItemTreeViewClass.
4621 Removed them from gimp_item_tree_view_new(). Require the view_type
4622 instead of item_type in gimp_item_tree_view_new().
4624 * app/widgets/gimpitemtreeview.c
4625 * app/widgets/gimpdrawabletreeview.c (get_type): made them
4626 abstract base classes.
4628 * app/widgets/gimpchanneltreeview.c
4629 * app/widgets/gimplayertreeview.c
4630 * app/widgets/gimpvectorstreeview.c (class_init): set the
4631 item_type and signal_name members if GimpItemTreeViewClass.
4633 * app/dialogs/dialogs-constructors.c: changed accordingly.
4635 2004-10-16 Manish Singh <yosh@gimp.org>
4637 * autogen.sh: Add support for automake 1.9. Also rm autom4te.cache,
4638 since it might interfere with differing autoconf versions.
4640 2004-10-16 Michael Natterer <mitch@gimp.org>
4642 * app/widgets/gimpuimanager.[ch]: added utility function
4643 gimp_ui_manager_get_action() which takes "group_name" and
4646 * app/display/gimpdisplayshell-close.c
4647 * app/widgets/gimpitemtreeview.c
4648 * app/widgets/gimptoolbox.c
4649 * app/widgets/gimptooloptionseditor.c: use it.
4651 2004-10-16 Michael Natterer <mitch@gimp.org>
4653 * app/actions/channels-actions.c
4654 * app/actions/colormap-editor-actions.c
4655 * app/actions/documents-actions.c
4656 * app/actions/tool-options-actions.c
4657 * app/actions/vectors-actions.c: added more tooltips for actions
4658 which are used as extended dialog button callbacks.
4660 * app/widgets/gimpeditor.c (gimp_editor_add_action_button): keep
4661 the list of extended actions in reverse order.
4663 * app/widgets/gimpchanneltreeview.c
4664 * app/widgets/gimpcolormapeditor.c
4665 * app/widgets/gimpdocumentview.c
4666 * app/widgets/gimpitemtreeview.c
4667 * app/widgets/gimplayertreeview.c
4668 * app/widgets/gimpselectioneditor.c
4669 * app/widgets/gimptooloptionseditor.c
4670 * app/widgets/gimpvectorstreeview.c: don't set the tooltips
4671 manually. Removes another bunch of insane translatable multiline
4672 format strings. Pass the extended actions in the right order
4673 to gimp_editor_add_action_button().
4675 2004-10-16 Michael Natterer <mitch@gimp.org>
4677 * app/actions/vectors-commands.c (vectors_linked_cmd_callback):
4678 call gimp_item_set_linked(), not gimp_item_set_visible().
4681 2004-10-16 Michael Natterer <mitch@gimp.org>
4683 Ported the layers, channels and paths dialogs from
4684 gimp_editor_add_button() to gimp_editor_add_action_button(),
4685 removing a massive amount of duplicated code, sensitivity logic
4686 and confusing utility functions.
4688 * app/actions/channels-actions.c
4689 * app/actions/channels-commands.[ch]
4690 * app/actions/layers-actions.c
4691 * app/actions/layers-commands.[ch]
4692 * app/actions/vectors-actions.c
4693 * app/actions/vectors-commands.[ch]: added "foo-new-default"
4694 actions and callbacks which create items without a dialog,
4695 optionally using default values from a passed template. Removed
4696 all public utility function that were passed as function pointers
4697 to widget construtors. Added tooltips to all actions which are now
4698 used for dialog buttons.
4700 * app/widgets/gimpeditor.c (gimp_editor_add_action_button):
4701 automatically create multi-line tooltips showing the modifiers for
4702 extended action buttons. Removes the need for lots of insane
4703 format strings that need to be translated correctly.
4705 * app/widgets/gimpitemtreeview.[ch] (struct GimpItemTreeViewClass):
4706 replaced tooltip and help_id strings by action names.
4708 (struct GimpItemTreeView)
4709 (gimp_item_tree_view_new): removed "edit", "new" and "activate"
4712 (gimp_item_tree_view_constructor): create all buttons
4713 with gimp_editor_add_action_button(), using the action names
4714 from GimpItemTreeViewClass.
4716 Removed tons of "clicked" callbacks and all code which sets the
4717 buttons' sensitivity. They are not needed any longer.
4719 Require all subclasses to implement GimpItemTreeView::new_item(),
4720 a new virtual function which creates a plain new item without
4723 * app/widgets/gimpdrawabletreeview.c
4724 * app/widgets/gimpchanneltreeview.c
4725 * app/widgets/gimplayertreeview.c
4726 * app/widgets/gimpvectorstreeview.c: fill in the action names and
4727 implement GimpItemTreeView::new_item(). Removed all button
4730 * app/dialogs/dialogs-constructors.c: changed accordingly. Doesn't
4731 include anything from actions/ any more.
4733 2004-10-15 Michael Natterer <mitch@gimp.org>
4735 * tools/pdbgen/pdb/layer.pdb: fixed parameter descriptions for
4736 layer_add_mask() and layer_remove_mask().
4738 * app/pdb/layer_cmds.c
4739 * libgimp/gimplayer_pdb.c: regenerated.
4741 2004-10-15 Michael Natterer <mitch@gimp.org>
4743 * app/actions/images-commands.[ch]
4744 * app/actions/templates-commands.[ch]: made some public functions
4745 private or removed them entirely by folding their code into their
4746 callers. They used to be passed as function pointers to widgets in
4747 the pre action-based dialog buttons era.
4749 2004-10-15 Michael Natterer <mitch@gimp.org>
4751 * app/dialogs/quit-dialog.c: raise the image's displays on
4752 double-click in the dirty image list.
4754 2004-10-15 Michael Natterer <mitch@gimp.org>
4758 * app/actions/vectors-actions.c (vectors_actions_update): don't
4759 set the "selection to path" actions sensitive if there is no
4762 * app/widgets/gimpitemtreeview.c: update the UI manager after
4763 setting the view's image. Connect to GimpImage::flush() and
4764 update the UI manager in the callback, too.
4766 2004-10-15 Michael Natterer <mitch@gimp.org>
4768 * app/actions/view-actions.c (view_zoom_actions): removed
4769 duplicate "view-zoom-in" action (cut'n'paste error) and fixed the
4770 swapped "zoom in/out a lot" actions. Fixes bug #155446.
4772 2004-10-15 Sven Neumann <sven@gimp.org>
4774 * Made 2.1.7 release.
4776 2004-10-15 Sven Neumann <sven@gimp.org>
4778 * app/tools/gimptransformoptions.c: removed the "Density" label.
4779 It wasn't helpful and caused the transform options to be wider than
4782 * app/tools/gimpblendoptions.c
4783 * app/tools/gimppaintoptions-gui.c
4784 * app/tools/gimptransformoptions.c: let combo boxes expand
4785 horizontally like we do in other (all?) dialogs.
4787 * app/widgets/gimptemplateeditor.c
4788 (gimp_template_editor_aspect_callback): update the pixel size label.
4790 2004-10-15 Sven Neumann <sven@gimp.org>
4792 * data/images/gimp-splash.png: new splash by Jimmac.
4794 2004-10-15 DindinX <dindinx@gimp.org>
4796 * plug-ins/common/scatter_hsv.c: ported to GimpDrawablePreview, and
4797 removed many lines of codes.
4799 2004-10-14 Kevin Cozens <kcozens@cvs.gimp.org>
4801 * plug-ins/script-fu/scripts/neon.scm: Fixed minor error in script.
4802 (Related to bug #153900 and compatability with Tiny-Fu)
4804 2004-10-14 DindinX <dindinx@gimp.org>
4806 * plug-ins/common/neon.c: fixed the handling of drawable with alpha.
4808 2004-10-14 DindinX <dindinx@gimp.org>
4810 * plug-ins/common/nlfilt.c: Ported to GimpDrawablePreview, the
4811 previous preview was absolutely useless. Done some cleanups, too.
4813 * plug-ins/common/spread.c: remember the preview state between
4816 2004-10-14 DindinX <dindinx@gimp.org>
4818 * plug-ins/common/emboss.c: use a GimpDrawablePreview instead of a
4819 GimpAspectPreview, since this plug-in is somewhat edge-oriented and
4820 this makes the code simpler ;)
4822 2004-10-14 Michael Natterer <mitch@gimp.org>
4824 * themes/Default/images/stock-gradient-bilinear-16.png
4825 * themes/Default/images/stock-gradient-linear-16.png: rotate them
4826 by 90 degrees. All our gradient previews and icons go left->right,
4829 2004-10-14 Manish Singh <yosh@gimp.org>
4831 * plug-ins/common/bmpread.c: Make sure we have a bpp value we can
4832 handle, and fail gracefully if not. Fixes bug #155401.
4834 2004-10-14 Michael Natterer <mitch@gimp.org>
4836 * libgimpwidgets/gimpwidgets.c
4837 * app/widgets/gimpenumwidgets.[ch]
4838 * app/widgets/gimppropwidgets.c
4839 * app/actions/layers-commands.c
4840 * app/dialogs/convert-dialog.c
4841 * app/tools/gimpblendoptions.c
4842 * app/tools/gimpbucketfilloptions.c
4843 * app/tools/gimpcolorbalancetool.c
4844 * app/tools/gimpcolorizetool.c
4845 * app/tools/gimpcoloroptions.c
4846 * app/tools/gimpcurvestool.c
4847 * app/tools/gimphuesaturationtool.c
4848 * app/tools/gimpinkoptions-gui.c
4849 * app/tools/gimplevelstool.c
4850 * app/tools/gimppaintoptions-gui.c
4851 * app/tools/gimpselectionoptions.c
4852 * app/tools/gimptransformoptions.c: the child of a GimpFrame must
4853 not have any border width. Fixes many subtle misalignments.
4855 2004-10-14 Sven Neumann <sven@gimp.org>
4857 * app/core/gimpprogress.[ch]: added "message" function to the
4858 GimpProgress interface. Call gimp_message() if it is unimplemented.
4860 * app/plug-in/plug-in-progress.[ch]: added new function
4861 plug_in_progress_message() that passes the message to the current
4862 proc_frame's progress.
4864 * app/widgets/gimpthumbbox.c: implement GimpProgress::message.
4865 Just do nothing in the implementation. We don't want to see
4866 messages from file plug-ins that we use to create the thumbnails.
4868 * tools/pdbgen/pdb/message.pdb
4869 * app/pdb/message_cmds.c: if there's a current plug-in, dispatch
4870 the message by calling plug_in_progress_message().
4872 * app/display/gimpdisplayshell-close.c: fixed wrong types in
4875 2004-10-14 Michael Natterer <mitch@gimp.org>
4877 * app/widgets/gimpcolordialog.c (gimp_color_dialog_new): use
4878 GIMP_HELP_COLOR_DIALOG as help_id.
4880 2004-10-14 Michael Natterer <mitch@gimp.org>
4882 * app/actions/dialogs-commands.c: purely cosmetic.
4884 2004-10-14 Michael Natterer <mitch@gimp.org>
4886 * app/core/core-enums.[ch]: register GimpConvertPaletteType with
4889 * tools/pdbgen/enums.pl: regenerated.
4891 * app/widgets/gimpwidgets-utils.c (gimp_enum_radio_frame_add):
4892 fixed to insert the widget at the right place in the radio box.
4894 * app/dialogs/convert-dialog.c: use enum widgets and
4895 gimp_enum_radio_frame_add(), resulting in a much better looking
4896 dialog with much less lines of code.
4898 2004-10-14 Sven Neumann <sven@gimp.org>
4900 * plug-ins/helpbrowser/dialog.c: changed "Home" button to "Index".
4901 "Home" is misleading and leads to problems in some locales (see
4904 2004-10-14 Michael Natterer <mitch@gimp.org>
4906 * tools/authorsgen/contributors: correct UTF-8 spelling of
4907 João S. O. Bueno Calligaris.
4910 * app/dialogs/authors.h: regenerated.
4912 2004-10-14 Kevin Cozens <kcozens@cvs.gimp.org>
4914 * plug-ins/script-fu/scripts/circuit.scm: Fixed to allow use of
4915 script on original layer. (bug #155358) Fixed spelling error.
4917 2004-10-13 Manish Singh <yosh@gimp.org>
4919 * tools/pdbgen/Makefile.am: Remove stamp files during
4920 maintainer-clean. Addresses bug #155357. Also flesh out the
4921 dependencies some so rebuilds get triggered when all their
4922 dependent files change.
4924 2004-10-14 Sven Neumann <sven@gimp.org>
4926 * app/actions/file-commands.c (file_revert_cmd_callback): creata
4927 an UTF-8 filename from the image URI and display that instead of
4930 * app/dialogs/convert-dialog.c (convert_dialog_new): removed the
4931 palette size warning for transparent images. The number of colors
4932 is already adjusted to 255. This text was IMO more frightening
4935 2004-10-13 Kevin Cozens <kcozens@cvs.gimp.org>
4937 * plug-ins/script-fu/scripts/add-bevel.scm: two variables were
4938 not defined before first use (bug #153900).
4940 2004-10-13 Kevin Cozens <kcozens@cvs.gimp.org>
4942 * app/widgets/gimpactionview.c: Fixed a spelling error.
4944 2004-10-13 DindinX <dindinx@gimp.org>
4946 * plug-ins/common/colorify.c: Added a preview.
4948 2004-10-13 Sven Neumann <sven@gimp.org>
4950 * libgimpwidgets/gimppreview.c: removed trailing whitespace.
4952 * libgimpwidgets/gimpwidgets.def: added
4953 gimp_preview_set_default_cursor.
4955 2004-10-13 Sven Neumann <sven@gimp.org>
4957 * app/widgets/gimpmessagedialog.c: improved handling of parent
4958 widget; probably just being paranoid here.
4960 * app/actions/image-commands.c
4961 * app/dialogs/image-new-dialog.c: ported memory size confirmation
4962 dialogs to GimpMessageDialog.
4964 2004-10-13 DindinX <dindinx@gimp.org>
4966 * libgimpwidgets/gimppreview.[ch]: added a new function to set the
4967 default cursor on preview: gimp_preview_set_default_cursor().
4969 * libgimpwidgets/gimpscrolledpreview.c: changed accordlingly.
4971 * plug-ins/common/flarefx.c:
4972 * plug-ins/common/nova.c: use this function.
4974 This addresses bug #90519.
4976 2004-10-13 DindinX <dindinx@gimp.org>
4978 * plug-ins/common/cubism.c: Added a preview and done some cleanups.
4980 2004-10-13 Sven Neumann <sven@gimp.org>
4982 * app/actions/plug-in-commands.c
4983 * app/actions/templates-commands.c
4984 * app/actions/tool-options-commands.c: ported more boolean queries
4985 to GimpMessageDialog.
4987 2004-10-13 Sven Neumann <sven@gimp.org>
4989 * app/widgets/gimpmessagedialog.c: handle parent widget not being
4990 a GtkWindow by calling gtk_widget_get_toplevel().
4992 * app/actions/data-commands.c
4993 * app/actions/edit-commands.c
4994 * app/actions/file-commands.c: ported more boolean queries to
4997 2004-10-13 Sven Neumann <sven@gimp.org>
4999 * app/widgets/Makefile.am
5000 * app/widgets/widgets-types.h
5001 * app/widgets/gimpmessagedialog.[ch]: added a simple message
5002 dialog to avoid code duplication.
5004 * app/widgets/gimpmessagebox.c: set the border width to 12 pixels.
5006 * app/dialogs/file-save-dialog.c
5007 * app/dialogs/quit-dialog.c
5008 * app/display/gimpdisplayshell-close.c
5009 * app/widgets/gimperrordialog.c
5010 * app/widgets/gimphelp.c
5011 * app/widgets/gimpactionview.c: use the new GimpMessageDialog.
5013 2004-10-13 Michael Natterer <mitch@gimp.org>
5015 * app/actions/image-actions.c
5016 * menus/image-menu.xml.in: added menu branch "<Image>/Image/Guides".
5018 * plug-ins/script-fu/scripts/Makefile.am
5019 * plug-ins/script-fu/scripts/guides-from-selection.scm
5020 * plug-ins/script-fu/scripts/guides-new-percent.scm
5021 * plug-ins/script-fu/scripts/guides-new.scm
5022 * plug-ins/script-fu/scripts/guides-remove-all.scm: added new
5023 scripts from Alan Horkan. Fixes bug #119667.
5025 2004-10-13 Michael Natterer <mitch@gimp.org>
5027 * plug-ins/common/flarefx.c: cleaned up and simplified the
5028 FlareCenter code even more.
5030 * plug-ins/common/nova.c: did the same changes for the NovaCenter
5033 Also added code which sets an appropriate cursor on "realize" to
5034 fix bug #90519, but GimpPreview currently prevents this from
5035 working correctly...
5037 2004-10-13 Sven Neumann <sven@gimp.org>
5039 * app/widgets/widgets-enums.[ch]: changed the description for
5040 GIMP_HELP_BROWSER_GIMP.
5042 * app/dialogs/file-save-dialog.c:
5043 * app/widgets/gimphelp.c: use a GimpDialog embedding a
5044 GimpMessageBox instead of gimp_query_boolean_box which looks
5045 somewhat old fashioned.
5047 2004-10-13 Sven Neumann <sven@gimp.org>
5049 * app/widgets/gimphelp.c: improved error messages on missing help
5052 * libgimpthumb/gimpthumb-utils.c
5053 * libgimpthumb/gimpthumbnail.c: improved documentation.
5055 2004-10-13 Sven Neumann <sven@gimp.org>
5057 * app/display/gimpdisplayshell-close.c
5058 (gimp_display_shell_close_dialog): changed button label.
5060 2004-10-12 Kevin Cozens <kcozens@cvs.gimp.org>
5062 * plug-ins/script-fu/scripts/asc2img.scm: Fixed error in name of
5063 script used in second register line.
5065 2004-10-13 Sven Neumann <sven@gimp.org>
5067 * app/display/gimpdisplayshell-close.c: changed rounding.
5069 2004-10-13 Michael Natterer <mitch@gimp.org>
5071 * app/dialogs/image-new-dialog.c (image_new_response): don't
5072 forget to reset the template combo on RESPONSE_RESET.
5074 2004-10-13 Michael Natterer <mitch@gimp.org>
5076 * app/display/gimpdisplay-foreach.c: keep the container of dirty
5079 * app/dialogs/quit-dialog.c: fixed model/view behavior here, too.
5081 (both are still far from perfect)
5083 2004-10-13 Sven Neumann <sven@gimp.org>
5085 * app/display/gimpdisplayshell-close.c
5086 (gimp_display_shell_close_dialog): keep the time uptodate.
5088 2004-10-13 Sven Neumann <sven@gimp.org>
5090 * app/core/gimpimagefile.c (gimp_imagefile_create_thumbnail): ref
5091 the imagefile while creating the thumbnail.
5093 * app/core/gimpimagefile.[ch]
5094 * app/widgets/gimpthumbbox.c (gimp_thumb_box_auto_thumbnail): moved
5095 the tricky part about thumbnail creation into the new function
5096 gimp_imagefile_create_thumbnail_weak().
5098 2004-10-13 Michael Natterer <mitch@gimp.org>
5100 * plug-ins/pagecurl/pagecurl.c: forgot to remove N_() from
5101 gimp_plugin_menu_register().
5103 2004-10-13 Michael Natterer <mitch@gimp.org>
5105 * app/dialogs/preferences-dialog.c (prefs_dialog_new): added
5106 missing and resolved conflicting mnemonics.
5108 2004-10-12 Sven Neumann <sven@gimp.org>
5110 * plug-ins/script-fu/scripts/selection-round.scm: moved out of the
5111 "Modify" placeholder. Using placeholders from Script-Fu breaks
5112 i18n. We will need to change menu registration for scripts but
5113 this will have to wait..
5115 2004-10-12 Michael Natterer <mitch@gimp.org>
5117 * plug-ins/*/*.c: all plug-ins except script-fu: removed the
5118 translation marks from the menu paths passed to
5119 gimp_plugin_menu_register(). All default menu branches used by
5120 included plug-ins are created and translated by the core now.
5122 2004-10-12 Sven Neumann <sven@gimp.org>
5124 * app/core/gimpimage.[ch]: renamed struct member "unit" to
5127 * app/actions/image-commands.c
5128 * app/core/gimp-edit.c
5129 * app/core/gimpimage-duplicate.c
5130 * app/core/gimpimage-undo-push.c
5131 * app/dialogs/info-window.c
5132 * app/vectors/gimpvectors-export.c
5133 * app/widgets/gimptoolbox-dnd.c:
5134 * app/xcf/xcf-load.c
5135 * app/xcf/xcf-save.c: changed accordingly. Use gimp_image_get_unit()
5138 * app/core/gimptemplate.c (gimp_template_set_from_image): fixed
5139 unit handling. Don't touch the template unit, it is used as the
5140 initial display unit. This will need further changes...
5142 2004-10-12 Michael Natterer <mitch@gimp.org>
5144 * app/widgets/gimpwidgets-utils.c (gimp_enum_radio_frame_add):
5145 need to pack the widget expanding. Fixes pattern container
5148 2004-10-12 Sven Neumann <sven@gimp.org>
5150 * app/dialogs/info-window.[ch]: fixed unit handling. Right-align
5151 the labels displaying the cursor position. Renamed the "Extended"
5152 tab to "Cursor". Renamed the API accordingly.
5154 * app/display/gimpdisplayshell-cursor.c: changed accordingly.
5156 2004-10-12 Michael Natterer <mitch@gimp.org>
5158 * app/actions/drawable-commands.c (drawable_rotate_cmd_callback):
5159 if the drawable is a channel, pass clip_result as FALSE. Need to
5160 do this here for rotating only because it can't be decided
5161 generically in GimpChannel. Fixes crash when rotating channels
5164 Use the undo_desc from GimpItemClass instead of passing "Flip
5165 Layer" and "Rotate Layer".
5167 2004-10-12 Sven Neumann <sven@gimp.org>
5169 * app/file/file-open.c: minor cleanup.
5171 * app/file/file-save.c (file_save_as): no need to fiddle with the
5172 image name, the URI is taken from the imagefile anyway.
5174 2004-10-12 Sven Neumann <sven@gimp.org>
5176 * app/actions/layers-actions.c (layers_actions_update): set
5177 "layers-crop" insensitive if the selection is empty.
5179 * plug-ins/script-fu/scripts/alien-glow-button.scm
5180 * plug-ins/script-fu/scripts/alien-glow-logo.scm
5181 * plug-ins/script-fu/scripts/basic2-logo.scm
5182 * plug-ins/script-fu/scripts/gradient-bevel-logo.scm: use "Sans
5183 Bold" instead of "Futura_Poster". The underscore in the font name
5184 used to confuse intltool (bug #137029) and the freefont package
5185 isn't that widely used any longer anyway.
5187 2004-10-12 Sven Neumann <sven@gimp.org>
5189 * app/widgets/Makefile.am
5190 * app/widgets/widgets-types.h
5191 * app/widgets/gimpsizebox.[ch]: added new widget GimpSizeBox.
5193 * app/widgets/gimppropwidgets.c: the order of setting the X and Y
5194 properties does matter.
5196 * app/dialogs/Makefile.am
5197 * app/dialogs/scale-dialog.[ch]: added first version of a new
5198 Scale dialog in an attempt to address bug #151022.
5200 * app/actions/layers-commands.c: use the new scale dialog.
5202 2004-10-12 Sven Neumann <sven@gimp.org>
5204 * app/widgets/gimptemplateeditor.c: added mnemonics for the size
5207 2004-10-12 Michael Natterer <mitch@gimp.org>
5209 * libgimpwidgets/gimpwidgets.c (gimp_table_attach_aligned):
5210 instead of simply using the passed widget as mnemonic_widget for
5211 the GtkLabel, call the new utility function find_mnemonic_widget()
5212 which recursively searches the passed widget until it finds one
5213 that actually can be mnemonic-activated. Fixes lots of mnemonics
5214 where the attached widget is e.g. a GtkEventBox or GtkComboBox.
5216 2004-10-12 Michael Natterer <mitch@gimp.org>
5218 * app/tools/gimptooloptions-gui.[ch]: removed the recently added
5219 utility functions again.
5221 * app/widgets/Makefile.am
5222 * app/widgets/gimpviewablebox.[ch]
5223 * app/widgets/gimpwidgets-utils.[ch]: and added cleaned up
5226 * app/tools/gimpbucketfilloptions.c
5227 * app/tools/gimpclonetool.c
5228 * app/tools/gimppaintoptions-gui.c
5229 * app/tools/gimptextoptions.c: changed accordingly.
5231 * app/dialogs/convert-dialog.c: use gimp_palette_box_new() instead
5232 of reinventing the wheel.
5234 2004-10-12 Sven Neumann <sven@gimp.org>
5236 * app/widgets/gimpaction.c (gimp_action_set_proxy): use a larger
5237 icon size for GimpImagefile views.
5239 * themes/Default/images/stock-frame-64.png: removed the 1 pixel
5240 wide empty border around the frame.
5242 * app/widgets/gimpviewrenderer-frame.c: adjusted the hardcoded values.
5244 2004-10-12 Sven Neumann <sven@gimp.org>
5246 * Makefile.am: defined DISTCHECK_CONFIGURE_FLAGS with the
5247 configure options that are needed to run 'make dist'.
5249 2004-10-12 Sven Neumann <sven@gimp.org>
5251 * app/widgets/gimptemplateeditor.c: tweaked table spacings to get
5252 the Height label aligned with the entry again.
5254 2004-10-12 Sven Neumann <sven@gimp.org>
5256 * app/widgets/gimpprogressdialog.c (gimp_progress_dialog_new): set
5257 the "skip_taskbar_hint" and "skip_pager_hint" properties on the
5260 2004-10-11 Manish Singh <yosh@gimp.org>
5262 * plug-ins/fp/fp.c: Moved from here...
5264 * plug-ins/common/fp.c: ... to here.
5266 * plug-ins/common/plugin-defs.pl: changed accordingly.
5268 * plug-ins/common/.cvsignore
5269 * plug-ins/common/Makefile.am: regenerated.
5272 * plug-ins/Makefile.am
5273 * plug-ins/fp: Removed directory.
5275 2004-10-11 DindinX <dindinx@gimp.org>
5277 * plug-ins/common/jigsaw.c: ported to GimpAspectPreview.
5279 2004-10-11 Michael Natterer <mitch@gimp.org>
5281 * plug-ins/common/flarefx.c: use a GimpSizeEntry for specifying
5282 the flare center. Fixed flare center dragging. Lots of cleanup.
5284 2004-10-11 Michael Natterer <mitch@gimp.org>
5286 * app/dialogs/dialogs-types.h: removed ColorDialog typedef.
5288 2004-10-11 Michael Natterer <mitch@gimp.org>
5290 * app/tools/gimptooloptions-gui.[ch]: added utility functions
5291 which create a GimpViewableButton+GimpContainerEntry combo for
5292 brushes, patterns, gradients and fonts and a very ugly utility
5293 function which packs one of these combos into a GtkFrame returned
5294 by gimp_prop_enum_radio_frame_new(). This stuff does not really
5295 belong here but is too ugly to be moved to a more general place.
5297 * app/tools/gimpbucketfilloptions.c
5298 * app/tools/gimppaintoptions-gui.c
5299 * app/tools/gimptextoptions.c: use the new utility functions. Moved
5300 the pattern previews into the radio frame where using the pattern
5301 is selected. Make them insensitive if using the pattern is not
5304 2004-10-11 Sven Neumann <sven@gimp.org>
5306 * app/config/gimprc-blurbs.h: tweaked the thumbnail related blurbs.
5308 * app/dialogs/preferences-dialog.c: group the thumbnail related
5309 controls together. Could probably still be improved...
5311 2004-10-11 Sven Neumann <sven@gimp.org>
5313 * app/actions/documents-commands.c
5314 (documents_recreate_preview_cmd_callback): when recreating the
5315 thumbnail, delete old thumbnails and create it in the configured
5316 thumbnail size instead of the container view preview size.
5318 * libgimpthumb/gimpthumbnail.c (gimp_thumbnail_update_thumb):
5319 reset the image info when the thumbnail state changes.
5321 2004-10-11 Sven Neumann <sven@gimp.org>
5323 * app/widgets/gimpfiledialog.c: construct a case-insensitive glob
5324 pattern to use when filtering for file extensions.
5326 2004-10-11 Michael Natterer <mitch@gimp.org>
5328 * app/widgets/gimpthumbbox.c (gimp_thumb_box_create_thumbnails):
5329 user-visible counting starts at 1, not 0.
5331 2004-10-11 Michael Natterer <mitch@gimp.org>
5333 * tools/authorsgen/contributors: added missing contributors.
5334 Thanks to Kevin Cozens for going through ChangeLog and making a list.
5337 * app/dialogs/authors.h: regenerated.
5339 2004-10-11 Sven Neumann <sven@gimp.org>
5341 * libgimpthumb/gimpthumbnail.c: ooops, forgot to disable the debug
5344 2004-10-11 Sven Neumann <sven@gimp.org>
5346 * app/batch.c: clarified.
5348 2004-10-08 Kevin Cozens <kcozens@cvs.gimp.org>
5350 * configure.in: removed duplicate GETTEXT_PACKAGE line.
5352 2004-10-11 Sven Neumann <sven@gimp.org>
5354 * libgimpthumb/gimpthumb-utils.[ch]
5355 * libgimpthumb/gimpthumb.def: added an API to delete thumbnails.
5357 * app/widgets/gimpthumbbox.c (gimp_thumb_box_create_thumbnail):
5358 when recreating a thumbnail on user request, delete all existing
5361 * plug-ins/common/AlienMap2.c: removed unused variable.
5363 2004-10-10 Sven Neumann <sven@gimp.org>
5365 * libgimpthumb/gimpthumb-utils.[ch]
5366 * libgimpthumb/gimpthumb.def
5367 * libgimpthumb/gimpthumbnail.c: added support for local thumbnails
5368 as introduced by version 0.7 of the thumbnail spec. Untested, but
5369 at least the API is there.
5371 2004-10-10 DindinX <dindinx@gimp.org>
5373 * plug-ins/common/AlienMap2.c: ported to GimpAspectPreview, and some
5376 2004-10-10 DindinX <dindinx@gimp.org>
5378 * plug-ins/common/vpropagate.c: added a preview.
5380 2004-10-10 DindinX <dindinx@gimp.org>
5382 * plug-ins/common/flarefx.c
5383 * plug-ins/common/waves.c: cleanups and ported to GimpAspectPreview.
5385 2004-10-10 Sven Neumann <sven@gimp.org>
5387 * app/widgets/gimpcontainerview.c (gimp_container_view_lookup):
5388 handle NULL as viewable parameter as a workaround for bug #149906.
5390 * app/widgets/gimpthumbbox.c (gimp_thumb_box_auto_thumbnail): made
5391 the code more robust.
5393 * app/xcf/xcf-private.h
5394 * app/xcf/xcf.c: added a const qualifier.
5396 2004-10-09 DindinX <dindinx@gimp.org>
5398 * app/dialogs/dialogs.h: fixed a typo in the double-inclusion guard.
5400 2004-10-09 Sven Neumann <sven@gimp.org>
5403 * app/dialogs/authors.h: regenerated. Someone should look into
5404 updating the list of contributors for the 2.2 release ...
5406 2004-10-08 Kevin Cozens <kcozens@cvs.gimp.org>
5408 * tools/authorsgen/contributors: Added my name to the
5409 list of contributors.
5411 2004-10-08 Sven Neumann <sven@gimp.org>
5413 * app/widgets/gimpthumbbox.c: tweaked the text shown while
5414 updating the preview so that the dialog doesn't need to resize.
5416 2004-10-08 Sven Neumann <sven@gimp.org>
5418 * app/config/gimpcoreconfig.[ch]
5419 * app/config/gimprc-blurbs.h: added new gimprc option
5420 "thumbnail-filesize-limit" that allows to control the maximum
5421 filesize for automatic thumbnail creation.
5423 * app/dialogs/preferences-dialog.c: added a GUI for it, needs
5426 * app/core/gimpimagefile.[ch]: minor cleanups. Moved call to
5427 gimp_thumbnail_peek_image() from gimp_imagefile_save_thumb() to
5428 gimp_imagefile_save_thumbnail() to avoid it being called twice.
5430 * app/file/file-utils.[ch]: export utility function
5431 file_utils_find_proc_by_extension() that allows to check for a
5432 file plug-in by looking at the filename extension only.
5434 * app/widgets/gimpthumbbox.[ch]: automatically create or update
5435 thumbnails for image files with a known extension that are smaller
5436 than "thumbnail-filesize-limit". Fixes bug #137176.
5438 2004-10-08 Sven Neumann <sven@gimp.org>
5440 * plug-ins/common/ripple.c: handle the tile parameter identically
5441 for preview and final result. Set Edges options insensitive when
5442 "Retain tileability" is checked. Reported by Olivier.
5444 2004-10-08 Sven Neumann <sven@gimp.org>
5446 * plug-ins/common/apply_lens.c (lens_dialog): invalidate the
5447 preview when the toggle buttons are used. Reported by Olivier.
5449 * app/widgets/gimpview.c: minor cleanup.
5451 2004-10-08 Michael Natterer <mitch@gimp.org>
5453 * app/tools/gimpmeasuretool.c: implement GimpTool::key_press() and
5454 cancel the tool on GDK_Escape. Come cleanup.
5456 2004-10-08 Michael Natterer <mitch@gimp.org>
5458 Made the text options about two toolbox grid columns smaller.
5459 Addresses bug #122862.
5461 * app/widgets/gimppropwidgets.c (gimp_prop_size_entry_new): use
5462 the number of digits of the property's max_val plus two as number
5463 of chars for the sizeentry'y spinbutton (instead of always 10 as
5466 * app/tools/gimptextoptions.c (gimp_text_options_gui): GtkEntry
5467 has a minimal width of 150 pixels (eek). Set a silly small minimal
5468 width instead (the entry expands to the available width anyway).
5470 2004-10-08 Sven Neumann <sven@gimp.org>
5472 * app/file/file-utils.c: added lots of const qualifiers.
5474 2004-10-08 Michael Natterer <mitch@gimp.org>
5476 * app/tools/gimppaintoptions-gui.c: the gradient button in blend
5477 options got lost, added it back. Also moved creation of the brush,
5478 pattern and gradient buttons to utility functions and cleaned up
5479 the whole file a bit.
5481 2004-10-08 Michael Natterer <mitch@gimp.org>
5483 * app/display/gimpdisplayshell.c (gimp_display_shell_real_scaled)
5484 (gimp_display_shell_flush)
5485 * app/gui/gui-vtable.c (gui_display_create): always pass a
5486 GimpDisplay, not a GimpDisplayShell as "data" to
5487 gimp_ui_manager_update().
5489 * app/actions/actions.c (action_data_get_*): removed checks if the
5490 passed data is a GimpDisplayShell and temporarily added g_assert()
5491 to be sure. The assertions will be removed before 2.2.
5493 2004-10-07 Sven Neumann <sven@gimp.org>
5495 * libgimpthumb/gimpthumbnail.c: added some (disabled) debug output.
5497 * app/widgets/gimpviewrenderer-frame.[ch]: added a way to retrieve
5498 the size of the frame borders.
5500 * app/widgets/gimpthumbbox.c: don't set an arbitrary padding but
5501 exactly the size of the frame borders. Otherwise we get large
5502 thumbnails (scaled down) if we request normal sized ones.
5504 2004-10-07 Kevin Cozens <kcozens@cvs.gimp.org>
5506 * plug-ins/script-fu/scripts/selection-round.scm: Changed deprecated
5507 constant ADD to CHANNEL-OP-ADD.
5509 2004-10-07 Michael Natterer <mitch@gimp.org>
5511 Merged the gz and bz2 plug-ins into one generic compression
5512 handler that can be extended by adding entries to a table of
5513 compressor definitions:
5515 * configure.in: removed bz2 special casing for win32.
5517 * plug-ins/common/bz2.c
5518 * plug-ins/common/gz.c: removed.
5520 * plug-ins/common/compressor.c: new plug-in.
5522 * plug-ins/common/plugin-defs.pl: changed accordingly.
5524 * plug-ins/common/.cvsignore
5525 * plug-ins/common/Makefile.am: regenerated.
5527 2004-10-07 Simon Budig <simon@gimp.org>
5529 * app/actions/view-commands.c: fill in the formula... :-)
5532 * app/display/gimpdisplayshell-scale.c: Micro-Cleanup, untabbified.
5534 2004-10-07 Michael Natterer <mitch@gimp.org>
5536 * app/actions/view-actions.c: changed zoom actions to be
5537 GimpEnumActions using the GimpActionSelectType enum. Enables
5538 keyboard shortcuts for useless stuff like "zoom out a lot", and
5539 makes them better accessible for external controllers.
5541 * app/actions/view-commands.[ch]: renamed view_zoom_cmd_callback()
5542 to view_zoom_explicit_cmd_callback(), removed the zoom_in and
5543 zoom_out callbacks and added a new view_zoom_cmd_callback() for
5544 the new GimpActionSelectType-based actions. The implementation of
5545 the new zoom types is questionable but now there is a place where
5546 nomis can fill in nice formulas...
5548 2004-10-06 Michael Natterer <mitch@gimp.org>
5550 * app/tools/gimpeditselectiontool.[ch]: added new parameter
5551 "gboolean propagate_release" to gimp_edit_slection_tool_start()
5552 and remember it in the GimpEditSelectionTool struct. If requested,
5553 propagate GimpTool::button_release() to the tool below in the tool
5556 * app/tools/gimpselectiontool.c (gimp_selection_tool_start_edit):
5557 pass FALSE so we don't get the button_release().
5559 * app/tools/gimpmovetool.[ch]: pass TRUE so we get
5560 button_release(). If moving a layer or path in "pick active" mode,
5561 remember the old active layer/path and switch back to it in
5562 button_release(). Fixes bug #97734.
5566 * app/tools/gimpeditselectiontool.c
5567 (gimp_edit_selection_tool_motion): set "first_move" to FALSE only
5568 if a move actually happened. Fixes un-undoable moves at high zoom
5571 2004-10-06 Michael Natterer <mitch@gimp.org>
5573 * app/widgets/gimpdnd.c (gimp_dnd_data_drag_begin): remember for
5574 which GdkDragContext the icon_widget was made.
5576 (gimp_dnd_data_drag_end): destroy the icon_widget only if it was
5577 created for this GdkDragContext. Fixes broken DND icon_widgets
5578 when dragging the same source again while the old icon_widget is
5579 still floating back from an unsuccessful drop. Fixes bug #139337.
5581 2004-10-05 Manish Singh <yosh@gimp.org>
5583 * tools/pdbgen/lib.pl: Slight cleanup of doc generating code.
5585 2004-10-06 Michael Natterer <mitch@gimp.org>
5587 * tools/pdbgen/lib.pl: for deprecated procedures, create a gtk-doc
5588 comment that contains a link to the replacement procedure and
5589 doesn't contain redundant information.
5591 * tools/pdbgen/pdb/text_tool.pdb: fixed names of replacement
5594 * libgimp/gimpbrushes.c
5595 * libgimp/gimpgradients.c
5596 * libgimp/gimppalettes.c
5597 * libgimp/gimppatterns.c: made the handwritten gtk-doc comments of
5598 deprecated procedures look like the generated ones.
5600 * app/pdb/text_tool_cmds.c
5601 * libgimp/gimpbrushes_pdb.c
5602 * libgimp/gimpgradients_pdb.c
5603 * libgimp/gimppalettes_pdb.c
5604 * libgimp/gimppatterns_pdb.c
5605 * libgimp/gimptexttool_pdb.c: regenerated.
5607 2004-10-06 Michael Natterer <mitch@gimp.org>
5609 * app/tools/gimp-tools.c (gimp_tools_restore): reset the tool
5610 options before deserializing so they have the correct default
5611 values. Fixes bug #120832.
5613 * app/tools/gimpbucketfilloptions.c
5614 * app/tools/gimpmagnifyoptions.c
5615 * app/tools/gimpselectionoptions.c
5616 * app/tools/gimptransformoptions.c: removed all set_defaults()
5617 utility functions and moved their code to reset(). The change
5618 above calls them automatically so there is no need to call them
5619 from the GUI constructors any more.
5621 2004-10-06 Michael Natterer <mitch@gimp.org>
5623 * plug-ins/script-fu/scripts/selection-round.scm: use a
5624 scale_entry instead of a spinbutton, changed mnemonic from "R" to
5627 * plug-ins/script-fu/scripts/test-sphere.scm: s/SF_BRUSH/SF-BRUSH/
5630 2004-10-06 Sven Neumann <sven@gimp.org>
5632 * plug-ins/script-fu/scripts/selection-round.scm: applied patch by
5633 Alan Horkan that improves usability and usefulness of this script.
5634 Did some code cleanup and added the old procedure for backward
5635 compatibility. Fixes bug #145147.
5637 * menus/image-menu.xml.in: renamed placeholder in Image->Select
5638 from "Outline" to "Modify".
5640 2004-10-06 Sven Neumann <sven@gimp.org>
5642 * plug-ins/common/postscript.c (ps_open): tweaked error message.
5644 2004-10-06 Michael Natterer <mitch@gimp.org>
5646 * app/pdb/procedural_db.h (struct ProcRecord): changed new member
5647 "deprecated" from "gboolean" to a "gchar*" which holds the name of
5648 the replacement procedure.
5650 * tools/pdbgen/app.pl: changed accordingly.
5652 * app/plug-in/plug-in-message.c (plug_in_handle_proc_run): show
5653 the name of the replacement procedure in the warning message.
5655 * tools/pdbgen/stddefs.pdb: added utility function
5656 std_pdb_deprecated() which takes the name of the replacement
5657 procedure and fills the blurb, help, author, copyright, date and
5658 deprecated fields of the procedure definition.
5660 * tools/pdbgen/pdb/brushes.pdb
5661 * tools/pdbgen/pdb/gradients.pdb
5662 * tools/pdbgen/pdb/image.pdb
5663 * tools/pdbgen/pdb/palettes.pdb
5664 * tools/pdbgen/pdb/patterns.pdb
5665 * tools/pdbgen/pdb/text_tool.pdb: use it instead of duplicating
5666 the same code and strings for all deprecated procedures.
5669 * libgimp/gimppatterns_pdb.c
5670 * libgimp/gimptexttool_pdb.c: regenerated.
5672 2004-10-06 Michael Natterer <mitch@gimp.org>
5674 Fixed the scale constraints radio buttons:
5676 * app/tools/gimptransformoptions.c (gimp_transform_options_gui):
5677 initialize the radio group with the correct value instead of
5678 resetting the model before creating the group.
5680 (gimp_scale_options_constrain_callback): change the model
5681 only if the radio button became active.
5683 (gimp_scale_options_constrain_notify): new callback which makes
5684 the radio buttons a real view on the model again (fixes GUI
5685 updates on modifier press/release).
5687 2004-10-06 Sven Neumann <sven@gimp.org>
5689 * app/actions/plug-in-actions.c (plug_in_actions_update): an image
5690 doesn't necessarily have a drawable. Handle the case when it doesn't.
5692 2004-10-06 Sven Neumann <sven@gimp.org>
5694 * app/app_procs.[ch]
5696 * app/main.c: added new command-line option "--batch-interpreter"
5697 that allows to specify the procedure to use to process batch
5698 commands. Removed the perl-server hack but kept Script-Fu as the
5699 default for backward compatibility.
5701 * docs/gimp.1.in: documented the new option.
5703 2004-10-06 Michael Natterer <mitch@gimp.org>
5705 * app/actions/file-commands.c (file_revert_confirm_callback):
5706 removed the code which sets the new image on all contexts where
5707 the old image was set...
5709 * app/display/gimpdisplay-foreach.c (gimp_displays_reconnect):
5710 ...and added it here so it happens for all calls of this function,
5711 also from the PDB. Fixes bug #154638.
5713 2004-10-06 Sven Neumann <sven@gimp.org>
5715 * libgimp/gimp.def: updated.
5717 2004-10-06 Michael Natterer <mitch@gimp.org>
5719 * tools/pdbgen/pdb/brush.pdb: return the mask's bpp and the
5720 brush's pixmap data if it has one.
5722 * tools/pdbgen/pdb/pattern.pdb: cleaned up.
5724 * tools/pdbgen/pdb/image.pdb: added $deprecated = 1 to deprecated
5725 functions even if they are not exported to libgimp any more.
5727 * app/pdb/procedural_db.h (struct ProcRecord): added member
5728 "gboolean deprecated".
5730 * tools/pdbgen/app.pl
5731 * app/xcf/xcf.c: fill it accordingly.
5733 * app/plug-in/plug-in-message.c (plug_in_handle_proc_run): warn
5734 not only for deprecated procedured which are in the compat hach
5735 table, but also for procedures with deprecated flag set to TRUE.
5738 * libgimp/gimpbrush_pdb.[ch]
5739 * libgimp/gimppattern_pdb.[ch]: regenerated.
5741 * libgimp/gimpbrushmenu.c
5742 * plug-ins/gfig/gfig-style.c: changed accordingly.
5744 2004-10-05 Manish Singh <yosh@gimp.org>
5746 * tools/pdbgen/lib.pl: Fix array return value generation when there
5747 are more args after it.
5749 2004-10-06 Sven Neumann <sven@gimp.org>
5751 * configure.in: bumped version number to 2.1.7.
5753 2004-10-06 Sven Neumann <sven@gimp.org>
5755 * tools/pdbgen/lib.pl: put subsequent deprecated prototypes into
5756 a single #ifndef ... #endif pair.
5758 * libgimp/gimpbrushes_pdb.h
5759 * libgimp/gimpgradients_pdb.h
5760 * libgimp/gimppalettes_pdb.h
5761 * libgimp/gimppatterns_pdb.h
5762 * libgimp/gimptexttool_pdb.h: regenerated.
5764 2004-10-06 Sven Neumann <sven@gimp.org>
5766 * app/core/gimpimage.[ch]: store the time when the image is first
5769 * app/display/gimpdisplayshell-close.c: tell the user what time
5770 period of changes will be lost when the image is not saved.
5772 2004-10-06 Michael Natterer <mitch@gimp.org>
5774 * tools/pdbgen/pdb/brushes.pdb (brushes_get_brush_data)
5775 * tools/pdbgen/pdb/gradients.pdb (gradients_sample_uniform)
5776 (gradients_sample_custom) (gradients_get_gradient_data)
5777 * tools/pdbgen/pdb/patterns.pdb (patterns_get_pattern_data):
5780 * tools/pdbgen/pdb/brush.pdb
5781 * tools/pdbgen/pdb/gradient.pdb
5782 * tools/pdbgen/pdb/palette.pdb
5783 * tools/pdbgen/pdb/pattern.pdb: added replacements for the
5784 deprecated functions. Removed the silly feature that passing NULL
5785 as name operates on the current brush, pattern etc.
5787 * app/pdb/brush_cmds.c
5788 * app/pdb/brushes_cmds.c
5789 * app/pdb/gradient_cmds.c
5790 * app/pdb/gradients_cmds.c
5791 * app/pdb/internal_procs.c
5792 * app/pdb/palette_cmds.c
5793 * app/pdb/pattern_cmds.c
5794 * app/pdb/patterns_cmds.c
5795 * libgimp/gimpbrush_pdb.[ch]
5796 * libgimp/gimpbrushes_pdb.[ch]
5797 * libgimp/gimpgradient_pdb.[ch]
5798 * libgimp/gimpgradients_pdb.[ch]
5799 * libgimp/gimppalette_pdb.c
5800 * libgimp/gimppattern_pdb.[ch]
5801 * libgimp/gimppatterns_pdb.[ch]: regenerated.
5803 * libgimp/gimpbrushmenu.c
5804 * libgimp/gimpgradientmenu.c
5805 * libgimp/gimppatternmenu.c
5806 * plug-ins/FractalExplorer/Dialogs.c
5807 * plug-ins/common/gradmap.c
5808 * plug-ins/common/sample_colorize.c
5809 * plug-ins/flame/flame.c
5810 * plug-ins/gfig/gfig-style.c
5811 * plug-ins/gflare/gflare.c
5812 * plug-ins/pagecurl/pagecurl.c
5813 * plug-ins/script-fu/scripts/spyrogimp.scm: changed accordingly.
5815 2004-10-06 Sven Neumann <sven@gimp.org>
5817 * plug-ins/common/spheredesigner.c: improved the dialog a bit,
5820 2004-10-05 Sven Neumann <sven@gimp.org>
5822 * plug-ins/script-fu/scripts/addborder.scm: simple change to make
5823 the script work on all image types, not only RGB.
5825 2004-10-05 Sven Neumann <sven@gimp.org>
5827 * Made 2.1.6 release.
5829 2004-10-05 Sven Neumann <sven@gimp.org>
5831 * plug-ins/helpbrowser/dialog.c: added a close button. Launch the
5832 browser with the HTML focused.
5834 2004-10-05 Sven Neumann <sven@gimp.org>
5836 * libgimpwidgets/gimpwidgets.c (gimp_table_attach_aligned):
5837 left-justify the label.
5839 * libgimpwidgets/gimpdialog.c: if a button with GTK_RESPONSE_HELP
5840 is being added, hide the automatically added help button.
5842 * plug-ins/script-fu/script-fu-interface.c: five buttons are too
5843 much for the action area. Renamed the About button to Help and
5844 resurrected the help button in the about dialog as a way to get to
5845 the actual help pages (pressing F1 will get you there as well).
5847 2004-10-05 Sven Neumann <sven@gimp.org>
5849 * app/widgets/gimpfiledialog.c: added a help button.
5851 2004-10-05 Michael Natterer <mitch@gimp.org>
5853 * plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
5854 - check the number of elements of array parameters against
5855 the actually passed array and spit a proper error message
5856 instead of trashing the wire. Fixes bug #154266.
5857 - g_strdup()/g_free() the proc_name so it doesn't get mungled
5858 by convert_string().
5859 - added missing implementation of INT16ARRAY return values.
5860 - cleaned up STRINGARRAY value implementations to work like
5861 all other array values.
5863 2004-10-04 Sven Neumann <sven@gimp.org>
5865 * plug-ins/script-fu/script-fu-interface.c (script_fu_reset):
5866 fixed reset for SF_TEXT values.
5868 2004-10-04 Sven Neumann <sven@gimp.org>
5870 * plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
5871 oops, didn't meant to remove that line.
5873 2004-10-04 Sven Neumann <sven@gimp.org>
5875 * plug-ins/imagemap/Makefile.am (imagemap_SOURCES): removed pix-data.h.
5877 2004-10-04 Sven Neumann <sven@gimp.org>
5879 * libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_area):
5880 take drawable offsets into account when masking the preview with
5883 2004-10-04 Michael Natterer <mitch@gimp.org>
5885 * tools/pdbgen/pdb/gimprc.pdb (gimprc_query, gimprc_set): disallow
5886 the empty string as token. Spotted by Kevin Cozens.
5888 * app/pdb/gimprc_cmds.c: regenerated.
5890 2004-10-04 Sven Neumann <sven@gimp.org>
5892 * libgimp/gimpaspectpreview.c (gimp_aspect_preview_draw_buffer):
5893 no need to set bpp before calling gimp_drawable_get_thumbnail_data().
5895 2004-10-04 DindinX <dindinx@gimp.org>
5897 * libgimp/gimpaspectpreview.c: (gimp_aspect_preview_draw_buffer):
5898 only apply the effect inside the current selection. This, together
5899 with my previous commit fixes bug #132194.
5901 2004-10-04 DindinX <dindinx@gimp.org>
5903 * plug-ins/common/channel_mixer.c: Ported to GimpAspectPreview. This
5904 addresses but not totally fixes bug #132194.
5906 2004-10-04 Sven Neumann <sven@gimp.org>
5908 * app/config/gimpguiconfig.[ch]
5909 * app/config/gimprc-blurbs.h: added gimprc option "show-help-button".
5911 * app/dialogs/preferences-dialog.c: added a GUI for it.
5913 * app/dialogs/file-save-dialog.c
5914 * app/dialogs/image-new-dialog.c
5915 * app/dialogs/quit-dialog.c
5916 * app/display/gimpdisplayshell-close.c
5917 * app/widgets/gimphelp-ids.h: don't set help-ids on confirmation
5920 * libgimpbase/gimpprotocol.[ch]
5921 * libgimp/gimp.[ch]: added boolean "show_help_button" to the
5924 * app/plug-in/plug-in-run.c: pass the new preference to the plug-in.
5926 * libgimpwidgets/gimpdialog.[ch]: added new function that allows to
5927 set whether new dialogs should get a help button added.
5930 * libgimp/gimpui.c: call gimp_dialogs_show_help_button() according
5931 to the gimprc settings.
5933 2004-10-04 Sven Neumann <sven@gimp.org>
5935 * plug-ins/script-fu/script-fu-interface.c (script_fu_about): set
5936 the help_func again (but not the help_id).
5938 2004-10-04 Sven Neumann <sven@gimp.org>
5940 * plug-ins/script-fu/script-fu-interface.c (script_fu_about):
5941 enabled line wrapping on labels.
5942 (script_fu_interface): substitute underscores by hyphens to
5943 generate the help-id from the procedure name.
5945 2004-10-04 Michael Natterer <mitch@gimp.org>
5947 * libgimpbase/gimpwire.c: added assertions to make sure "count" is
5948 always >= 0. Turns the crash described in bug #154266 into a
5949 warning plus corrupted wire state :) Real fix (in script-fu) will
5952 2004-10-04 Michael Natterer <mitch@gimp.org>
5954 * libgimpwidgets/gimphelpui.c: untabified.
5956 (gimp_help_callback): use GIMP_HELP_ID instead of "gimp-help-id".
5958 2004-10-04 Sven Neumann <sven@gimp.org>
5960 * plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
5961 set a minimum width for the color button again.
5962 (script_fu_about): don't set help_func and help_id on the about
5965 2004-10-04 Michael Natterer <mitch@gimp.org>
5967 * tools/pdbgen/pdb/brush.pdb
5968 * tools/pdbgen/pdb/gradient.pdb
5969 * tools/pdbgen/pdb/palette.pdb: disallow the empty string for
5970 new brushes, gradients and palettes and check the return value
5971 of gimp_data_factory_data_new(). Cleanup.
5973 * app/core/gimpbrushgenerated.c (gimp_brush_generated_new)
5974 * app/core/gimpgradient.c (gimp_gradient_new)
5975 * app/core/gimpdatafactory.c (gimp_data_factory_data_new): same
5976 here. Fixes bug #154264.
5978 * app/core/gimpdata.[ch] (gimp_data_set_filename): added boolean
5979 "deletable" parameter because it's not derivable from "writable".
5981 * app/core/gimpdatafactory.c (gimp_data_factory_load_data): need
5982 to figure "deletable" separately from "writable" to be able to
5983 delete unsavable stuff in the user-writable data directories.
5986 (gimp_data_factory_data_save_single): cleaned up.
5988 * app/pdb/brush_cmds.c
5989 * app/pdb/gradient_cmds.c
5990 * app/pdb/palette_cmds.c
5991 * libgimp/gimpbrush_pdb.c
5992 * libgimp/gimpgradient_pdb.c
5993 * libgimp/gimppalette_pdb.c: regenerated.
5995 2004-10-04 Sven Neumann <sven@gimp.org>
5997 * plug-ins/script-fu/scripts/asc2img.scm: a cleaned up version of
5998 the script contributed by Kevin Cozens (see bug #153900).
6000 * plug-ins/script-fu/scripts/predator.scm: applied patch by Kevin
6001 Cozens that fixes use of the script on original layer (bug #152678).
6003 2004-10-04 Sven Neumann <sven@gimp.org>
6005 * plug-ins/script-fu/scripts/3d-outline.scm
6006 * plug-ins/script-fu/scripts/blended-logo.scm
6007 * plug-ins/script-fu/scripts/camo.scm
6008 * plug-ins/script-fu/scripts/clothify.scm
6009 * plug-ins/script-fu/scripts/flatland.scm
6010 * plug-ins/script-fu/scripts/glossy.scm
6011 * plug-ins/script-fu/scripts/land.scm
6012 * plug-ins/script-fu/scripts/predator.scm
6013 * plug-ins/script-fu/scripts/rendermap.scm
6014 * plug-ins/script-fu/scripts/ripply-anim.scm
6015 * plug-ins/script-fu/scripts/speed-text.scm
6016 * plug-ins/script-fu/scripts/spinning-globe.scm: applied patches
6017 from Kevin Cozens that define variables before first use (bug
6020 2004-10-04 Sven Neumann <sven@gimp.org>
6022 * libgimp/gimpgradientmenu.c: handle allocation > requisition for
6023 the gradient preview.
6025 * plug-ins/script-fu/script-fu-interface.c: added a horizontal
6026 size group for the left-aligned controls.
6028 2004-10-03 DindinX <dindinx@gimp.org>
6030 * plug-ins/common/destripe.c: ported to GimpDrawablePreview.
6032 2004-10-03 DindinX <dindinx@gimp.org>
6034 * plug-ins/common/nova.c: ported to GimpAspectPreview.
6036 2004-10-03 DindinX <dindinx@gimp.org>
6038 * plug-ins/common/max_rgb.c: ported to GimpAspectPreview.
6040 2004-10-03 Michael Schumacher <schumaml@gmx.de>
6042 * plug-ins/dbbrowser/Makefile.am
6043 * plug-ins/script-fu/Makefile.am: moved the libgimpprocbrowser to
6044 the beginning of LDADD
6046 2004-10-03 DindinX <dindinx@gimp.org>
6048 * libgimp/gimpaspectpreview.c: limit the size of the preview to 512
6049 pixels. This prevents plug-ins using gimp_drawable_get_thumbnail_data
6052 2004-10-03 DindinX <dindinx@gimp.org>
6054 * plug-ins/common/emboss.c: ported to GimpAspectPreview and made some
6055 cleanups so this plug-in now use the same naming scheme as other
6058 2004-10-03 DindinX <dindinx@gimp.org>
6060 * plug-ins/common/whirlpinch.c: ported to GimpAspectPreview.
6062 2004-10-03 Sven Neumann <sven@gimp.org>
6064 * tools/pdbgen/pdb/color.pdb: export the Colorize tool to the PDB.
6067 * app/pdb/color_cmds.c
6068 * app/pdb/internal_procs.c
6069 * libgimp/gimpcolor_pdb.[ch]: regenerated.
6071 2004-10-03 DindinX <dindinx@gimp.org>
6073 * plug-ins/common/blinds.c: use a GimpAspectPreview to make the
6076 2004-10-03 DindinX <dindinx@gimp.org>
6078 * plug-ins/common/ripple.c: Added a preview.
6080 2004-10-02 DindinX <dindinx@gimp.org>
6082 * plug-ins/common/polar.c: use a GimpAspectPreview.
6084 2004-10-02 DindinX <dindinx@gimp.org>
6086 * plug-ins/common/mapcolor.c: use a GimpAspectPreview and made the
6089 2004-10-02 DindinX <dindinx@gimp.org>
6091 * plug-ins/common/illusion.c: use a GimpAspectPreview so the preview
6094 2004-10-02 DindinX <dindinx@gimp.org>
6096 * plug-ins/common/apply_lens.c: added a preview. This plug-in still
6099 2004-10-01 Michael Natterer <mitch@gimp.org>
6101 * app/display/gimpdisplayshell-callbacks.c
6102 (gimp_display_shell_tool_events): dispatch GDK_Escape to
6103 GimpTool::key_press().
6105 * app/tools/gimpcroptool.c (gimp_crop_tool_key_press)
6106 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_key_press):
6107 * app/tools/gimptransformtool.c (gimp_transform_tool_key_press):
6108 cancel the tool on <Escape>.
6110 2004-10-01 Sven Neumann <sven@gimp.org>
6112 * plug-ins/dbbrowser/plugin-browser.c: it's Plug-In, not Plugin.
6114 2004-10-01 Sven Neumann <sven@gimp.org>
6116 * app/tools/gimpcroptool.c (crop_response): destroy the info
6117 dialog instead of hiding it. Fixes session management.
6119 2004-10-01 Sven Neumann <sven@gimp.org>
6121 * app/tools/gimpcroptool.c: unset the highlight from
6122 crop_response() so it gets called when cropping is cancelled.
6124 * app/dialogs/info-dialog.c (info_dialog_show): do what the
6125 function name says, show the window, but don't present it.
6126 Fixes bugs #128833 and #138816.
6128 2004-10-01 Sven Neumann <sven@gimp.org>
6130 * themes/Default/images/stock-frame-64.png: replaced the obtrusive
6131 drop-shadow by a thin white frame with a subtle shadow. Taken from
6132 a mockup done by Jimmac.
6134 * app/widgets/gimpviewrenderer-frame.c: changed the hardcoded
6135 offsets for the new frame image :(
6137 2004-10-01 Sven Neumann <sven@gimp.org>
6139 * app/display/gimpdisplayshell-callbacks.c: no need to include
6140 gimpdisplayshell-render.h here.
6142 * app/display/gimpdisplayshell-draw.c
6143 * app/display/gimpdisplayshell-render.[ch]
6145 * app/display/gimpdisplayshell.[ch]: added an API to highlight a
6146 rectangle (specified in image coordinates). Actually it doesn't
6147 highlight but dims the area outside the rectangle.
6149 * app/tools/gimpcroptool.c: use the new functionality to show the
6150 area to be cropped. Fixes bug #93360.
6152 2004-09-30 Michael Natterer <mitch@gimp.org>
6154 * plug-ins/script-fu/script-fu-types.h (struct SFScript): renamed
6155 member "decription" to "menu_path".
6157 * plug-ins/script-fu/script-fu-interface.c: changed accordingly.
6159 * plug-ins/script-fu/script-fu-scripts.c: ditto. Don't pass the
6160 menu_path as "blurb" to gimp_install_temp_proc(). Instead,
6161 pass "help" as "blurb" and nothing as "help".
6163 * plug-ins/script-fu/scripts/test-sphere.scm: shortened overly
6164 long and useless help text.
6166 2004-09-30 Michael Natterer <mitch@gimp.org>
6168 * plug-ins/dbbrowser/gimpprocbox.c: don't include
6169 "libgimp/stdplugins-intl.h".
6171 * plug-ins/dbbrowser/gimpprocbrowser.c
6172 * plug-ins/dbbrowser/plugin-browser.c: use gimp_destroy_paramdefs()
6173 so we don't leak all param names and descriptions.
6175 * plug-ins/dbbrowser/gimpprocview.c: don't show empty rows or
6176 redundant information (help == blurb for deprecated procedures).
6178 2004-09-30 Michael Natterer <mitch@gimp.org>
6180 * plug-ins/dbbrowser/Makefile.am
6181 * plug-ins/dbbrowser/gimpprocbox.c: new files holding more common
6182 code from the two browsers.
6184 * plug-ins/dbbrowser/gimpprocbrowser.c: use it.
6186 * plug-ins/dbbrowser/plugin-browser.c: ditto. Re-enabled sorting
6187 by all columns in both views. More cleanup.
6189 2004-09-30 Sven Neumann <sven@gimp.org>
6191 * README: added missing linebreak.
6193 * plug-ins/imagemap/imap_about.c (do_about_dialog): should not
6194 mark email address for translation.
6196 2004-09-30 Daniel Egger <degger@fhm.edu>
6198 * README: Applied proofreading patch from Jonathan Levi
6199 <drjlevi@netonecom.net>.
6201 2004-09-30 Michael Natterer <mitch@gimp.org>
6203 Cleaned up the DB Browser and Plugin Details code and GUI. It's
6204 not perfect yet but at least they don't look like crap any more.
6207 * plug-ins/common/plugin-defs.pl
6208 * plug-ins/common/plugindetails.c: removed this plugin.
6210 * plug-ins/common/.cvsignore
6211 * plug-ins/common/Makefile.am: regenerated.
6213 * plug-ins/dbbrowser/Makefile.am
6214 * plug-ins/dbbrowser/dbbrowser.c
6215 * plug-ins/dbbrowser/dbbrowser_utils.[ch]: removed these files.
6217 * plug-ins/dbbrowser/gimpprocbrowser.[ch]
6218 * plug-ins/dbbrowser/gimpprocview.[ch]: new cleaned up files.
6220 * plug-ins/dbbrowser/plugin-browser.c: the former plugindetails.
6221 * plug-ins/dbbrowser/procedure-browser.c: the former dbbrowser.
6223 * plug-ins/script-fu/Makefile.am: link against the new library
6224 libgimpprocbrowser.a
6226 * plug-ins/script-fu/script-fu-console.c: changed #includes
6227 accordingly. Minor cleanup.
6229 * tools/pdbgen/pdb/plug_in.pdb (plugins_query): fixed menu_path
6230 return value. Was broken since the plug-in menu registering
6233 * app/pdb/plug_in_cmds.c: regenerated.
6235 2004-09-30 Sven Neumann <sven@gimp.org>
6237 * app/widgets/gimphelp.c (gimp_help_get_locales): fixed brokeness
6238 I introduced with my last cleanup.
6240 2004-09-29 Manish Singh <yosh@gimp.org>
6242 * plug-ins/pygimp/plug-ins/gimpfu.py: applied slightly tweaked patch
6243 from Joao S. O. Bueno, which adds a mutliline text field (PF_TEXT) and
6244 untabbifies things. Closes bug #153921.
6246 * plug-ins/pygimp/plug-ins/gimpplugin.py
6247 * plug-ins/pygimp/plug-ins/gimpshelf.py
6248 * plug-ins/pygimp/plug-ins/gimpui.py: Untabbify.
6250 2004-09-29 Manish Singh <yosh@gimp.org>
6252 * plug-ins/pygimp/plug-ins/gtkcons.py: minor tweak to history
6255 * plug-ins/pygimp/plug-ins/clothify.py
6256 * plug-ins/pygimp/plug-ins/foggify.py
6257 * plug-ins/pygimp/plug-ins/gimpcons.py
6258 * plug-ins/pygimp/plug-ins/gtkcons.py
6259 * plug-ins/pygimp/plug-ins/pdbbrowse.py
6260 * plug-ins/pygimp/plug-ins/shadow_bevel.py
6261 * plug-ins/pygimp/plug-ins/sphere.py
6262 * plug-ins/pygimp/plug-ins/whirlpinch.py: Untabbify.
6264 2004-09-29 Sven Neumann <sven@gimp.org>
6266 * app/tools/gimpcropoptions.c (gimp_crop_options_gui): plugged a
6267 tiny memleak spotted by Olivier.
6269 2004-09-29 Sven Neumann <sven@gimp.org>
6271 * libgimpwidgets/gimppreview.[ch]
6272 * libgimpwidgets/gimpwidgets.def: added gimp_preview_draw_buffer().
6274 * libgimp/gimpaspectpreview.[ch]
6275 * libgimp/gimpdrawablepreview.[ch]
6276 * libgimp/gimpui.def: removed the public draw_buffer API.
6277 Implement the virtual GimpPreview::draw_buffer method instead.
6279 * plug-ins/common/cartoon.c
6280 * plug-ins/common/deinterlace.c
6281 * plug-ins/common/despeckle.c
6282 * plug-ins/common/dog.c
6283 * plug-ins/common/edge.c
6284 * plug-ins/common/engrave.c
6285 * plug-ins/common/exchange.c
6286 * plug-ins/common/gauss.c
6287 * plug-ins/common/grid.c
6288 * plug-ins/common/neon.c
6289 * plug-ins/common/noisify.c
6290 * plug-ins/common/oilify.c
6291 * plug-ins/common/photocopy.c
6292 * plug-ins/common/plasma.c
6293 * plug-ins/common/sel_gauss.c
6294 * plug-ins/common/sharpen.c
6295 * plug-ins/common/shift.c
6296 * plug-ins/common/snoise.c
6297 * plug-ins/common/sobel.c
6298 * plug-ins/common/spread.c
6299 * plug-ins/common/struc.c: changed accordingly. Don't pass the
6300 preview around as GimpDrawablePreview or GimpAspectPreview. It
6301 should whenever possible be accessed as GimpPreview.
6303 2004-09-29 Sven Neumann <sven@gimp.org>
6305 * libgimpwidgets/gimppreview.[ch]
6306 * libgimpwidgets/gimpscrolledpreview.[ch]
6307 * libgimpwidgets/gimpwidgets.def: moved the offsets and the
6308 draw_thumb method back to the GimpPreview class.
6310 * libgimp/gimpdrawablepreview.c: changed accordingly.
6312 * plug-ins/common/bumpmap.c
6313 * plug-ins/common/cartoon.c
6314 * plug-ins/common/deinterlace.c
6315 * plug-ins/common/despeckle.c
6316 * plug-ins/common/dog.c
6317 * plug-ins/common/edge.c
6318 * plug-ins/common/engrave.c
6319 * plug-ins/common/exchange.c
6320 * plug-ins/common/gauss.c
6321 * plug-ins/common/grid.c
6322 * plug-ins/common/mblur.c
6323 * plug-ins/common/neon.c
6324 * plug-ins/common/noisify.c
6325 * plug-ins/common/oilify.c
6326 * plug-ins/common/photocopy.c
6327 * plug-ins/common/sel_gauss.c
6328 * plug-ins/common/sharpen.c
6329 * plug-ins/common/shift.c
6330 * plug-ins/common/sobel.c
6331 * plug-ins/common/softglow.c
6332 * plug-ins/common/spread.c
6333 * plug-ins/common/struc.c
6334 * plug-ins/common/unsharp.c
6335 * plug-ins/common/wind.c: back to using gimp_preview_get_position().
6337 * libgimp/gimpregioniterator.c (gimp_rgn_iterator_new): corrected
6340 2004-09-29 DindinX <dindinx@gimp.org>
6342 * plug-ins/common/snoise.c: Use a GimpAspectPreview here, so the
6343 preview is resizable.
6345 2004-09-29 Sven Neumann <sven@gimp.org>
6347 * libgimp/gimpui.def
6348 * libgimpwidgets/gimpwidgets.def: updated.
6350 2004-09-29 DindinX <dindinx@gimp.org>
6352 * libgimpwidgets/gimppreview.c
6353 * libgimpwidgets/gimppreview.h: split this widget into itself (more
6354 abstract now) and ...
6356 * libgimpwidgets/gimpscrolledpreview.c
6357 * libgimpwidgets/gimpscrolledpreview.h: this widget which also have
6358 some scrollbars and a nagivation preview.
6360 * libgimpwidgets/Makefile.am
6361 * libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
6363 * libgimp/gimpaspectpreview.c
6364 * libgimp/gimpaspectpreview.h: Added this widget, derived from
6365 GimpPreview, which has always the same ratio has the given drawable.
6366 This widget has almost the same api as GimpDrawablePreview, and is
6367 useful for plug-ins that show the whole (scaled) drawable in their
6370 * libgimp/gimpdrawablepreview.c
6371 * libgimp/gimpdrawablepreview.h: GimpDrawablePreview is now derived
6372 from GimpScrolledPreview.
6374 * libgimp/Makefile.am
6376 * libgimp/gimpuitypes.h: changed accordingly.
6378 * plug-ins/common/plasma.c: use a GimpAspectPreview.
6380 * plug-ins/common/bumpmap.c
6381 * plug-ins/common/cartoon.c
6382 * plug-ins/common/deinterlace.c
6383 * plug-ins/common/despeckle.c
6384 * plug-ins/common/dog.c
6385 * plug-ins/common/edge.c
6386 * plug-ins/common/engrave.c
6387 * plug-ins/common/exchange.c
6388 * plug-ins/common/gauss.c
6389 * plug-ins/common/grid.c
6390 * plug-ins/common/mblur.c
6391 * plug-ins/common/neon.c
6392 * plug-ins/common/noisify.c
6393 * plug-ins/common/oilify.c
6394 * plug-ins/common/photocopy.c
6395 * plug-ins/common/sel_gauss.c
6396 * plug-ins/common/sharpen.c
6397 * plug-ins/common/shift.c
6398 * plug-ins/common/sobel.c
6399 * plug-ins/common/softglow.c
6400 * plug-ins/common/spread.c
6401 * plug-ins/common/struc.c
6402 * plug-ins/common/unsharp.c
6403 * plug-ins/common/wind.c: use gimp_scrolled_preview_get_position
6404 instead of gimp_preview_get_position.
6406 2004-09-29 Michael Natterer <mitch@gimp.org>
6408 * libgimp/gimpregioniterator.[ch]: renamed the "run_mode"
6409 parameters to "unused" and remode the rum_mode member from the
6410 private GimpRgbIterator struct.
6412 * plug-ins/common/AlienMap2.c
6413 * plug-ins/common/autostretch_hsv.c
6414 * plug-ins/common/c_astretch.c
6415 * plug-ins/common/color_enhance.c
6416 * plug-ins/common/colorify.c
6417 * plug-ins/common/colortoalpha.c
6418 * plug-ins/common/gradmap.c
6419 * plug-ins/common/mapcolor.c
6420 * plug-ins/common/max_rgb.c
6421 * plug-ins/common/noisify.c
6422 * plug-ins/common/normalize.c
6423 * plug-ins/common/sample_colorize.c
6424 * plug-ins/common/scatter_hsv.c
6425 * plug-ins/common/semiflatten.c
6426 * plug-ins/common/threshold_alpha.c
6427 * plug-ins/common/vinvert.c
6428 * plug-ins/fp/fp.c: made "run_mode" a private variable of run()
6429 and pass 0 to gimp_rgn_iterate*(). Minor cleanups.
6431 2004-09-29 Sven Neumann <sven@gimp.org>
6434 * libgimp/gimpui.def
6435 * libgimpwidgets/gimpwidgets.def: updated.
6437 2004-09-29 Michael Natterer <mitch@gimp.org>
6439 * tools/pdbgen/Makefile.am
6440 * tools/pdbgen/groups.pl: renamed group "gradient_edit" to
6441 "gradient" and added "brush", "palette" and "pattern" groups.
6443 * tools/pdbgen/pdb/gradient_edit.pdb: removed.
6445 * tools/pdbgen/pdb/brush.pdb
6446 * tools/pdbgen/pdb/gradient.pdb
6447 * tools/pdbgen/pdb/palette.pdb
6448 * tools/pdbgen/pdb/pattern.pdb: new files containing functions
6449 which create, duplicate, rename, delete, query and manipulate
6450 a single brush, pattern etc.
6452 * tools/pdbgen/pdb/brushes.pdb
6453 * tools/pdbgen/pdb/gradients.pdb
6454 * tools/pdbgen/pdb/palettes.pdb
6455 * tools/pdbgen/pdb/patterns.pdb: deprecated stuff that is obsolete
6456 now and simply removed the procedures that were added after 2.0.
6458 * app/pdb/gradient_edit_cmds.c
6459 * libgimp/gimpgradientedit_pdb.[ch]: removed.
6461 * app/pdb/brush_cmds.c
6462 * app/pdb/gradient_cmds.c
6463 * app/pdb/palette_cmds.c
6464 * app/pdb/pattern_cmds.c
6465 * libgimp/gimpbrush_pdb.[ch]
6466 * libgimp/gimpgradient_pdb.[ch]
6467 * libgimp/gimppalette_pdb.[ch]
6468 * libgimp/gimppattern_pdb.[ch]: new files.
6470 * app/pdb/brushes_cmds.c
6471 * app/pdb/gradients_cmds.c
6472 * app/pdb/internal_procs.c
6473 * app/pdb/palettes_cmds.c
6474 * app/pdb/patterns_cmds.c
6475 * libgimp/gimp_pdb.h
6476 * libgimp/gimpbrushes_pdb.[ch]
6477 * libgimp/gimpgradients_pdb.[ch]
6478 * libgimp/gimppalettes_pdb.[ch]
6479 * libgimp/gimppatterns_pdb.[ch]: regenerated.
6481 * app/pdb/Makefile.am
6482 * libgimp/Makefile.am
6483 * plug-ins/gfig/gfig-style.c: changed accordingly.
6485 2004-09-28 Sven Neumann <sven@gimp.org>
6487 * app/file/gimprecentlist.c (gimp_recent_list_write): don't write
6490 * app/file/gimprecentlist.c: disabled the code for the win32
6491 platform. It doesn't make much sense there anyway. If someone
6492 wants to contribute a win32 specific implementation, we'd welcome
6493 that. A Mac OS X implementation would be nice to have as well.
6495 2004-09-28 Sven Neumann <sven@gimp.org>
6497 * etc/ps-menurc: updated for GIMP 2.1 by Eric Pierce.
6499 2004-09-28 Maurits Rijk <m.rijk@chello.nl>
6501 * plug-ins/imagemap/imap_circle.c:
6502 * plug-ins/imagemap/imap_cmd_gimp_guides.c
6503 * plug-ins/imagemap/imap_edit_area_info.c
6504 * plug-ins/imagemap/imap_grid.c
6505 * plug-ins/imagemap/imap_polygon.c
6506 * plug-ins/imagemap/imap_rectangle.c
6507 * plug-ins/imagemap/imap_settings.c: first set of changes to make
6508 imagemap fully HIG compliant. More to come.
6510 2004-09-28 Sven Neumann <sven@gimp.org>
6512 * app/file/gimprecentlist.c: seek to the start of the file before
6515 2004-09-28 Maurits Rijk <m.rijk@chello.nl>
6517 * plug-ins/common/borderaverage.c: added size entry. Fixes #143156
6518 (Use size entry widget in Borderaverage plug-in)
6520 2004-09-28 Sven Neumann <sven@gimp.org>
6522 * docs/gimp.1.in: updated name of the splash image.
6524 2004-09-28 Michael Natterer <mitch@gimp.org>
6526 * app/core/gimppalette.c: code review / cleanup.
6528 (gimp_palette_delete_entry): don't add "Black" when the last color
6529 gets removed, a palette can easily live with zero colors.
6531 * app/widgets/gimppaletteeditor.c
6532 (palette_editor_invalidate_preview): also update the entry which
6533 shows the palette_entry's name.
6535 2004-09-28 Sven Neumann <sven@gimp.org>
6537 * app/file/gimprecentlist.c (gimp_recent_list_write_raw): handle
6538 EINTR while writing.
6540 2004-09-28 Sven Neumann <sven@gimp.org>
6542 * app/config/gimpxmlparser.[ch]: added new convenience function
6543 gimp_xml_parser_parse_fd().
6545 * app/file/Makefile.am
6546 * app/file/gimprecentitem.[ch]
6547 * app/file/gimprecentlist.[ch]: added an implementation of the
6548 recent-files spec as found on freedesktop.org. This code is taken
6549 from libegg and has been edited to fit the GIMP needs.
6551 * app/file/file-open.c
6552 * app/file/file-save.c: update the ~/.recently-used file. Fixes
6555 2004-09-28 Michael Natterer <mitch@gimp.org>
6557 * app/widgets/gimpcontainerbox.c (gimp_container_box_get_preview):
6558 removed hack which strcmp()s the property name to figure the
6559 preview's border_width and use the container view's
6560 preview_border_width instead.
6562 2004-09-28 Sven Neumann <sven@gimp.org>
6564 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_settings_dialog):
6565 simplified code and removed a compiler warning.
6567 2004-09-28 Carol Spears <carol@gimp.org>
6569 * data/images/gimp-splash.png there was a white spot that was making
6570 me crazy. It is gone now.
6572 2004-09-28 Sven Neumann <sven@gimp.org>
6574 * app/widgets/gimpaction.c (gimp_action_set_proxy): added a hack
6575 to get rid of the border drawn around thumbnails in the "Open Recent"
6578 2004-09-28 Sven Neumann <sven@gimp.org>
6580 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_settings_dialog):
6581 add a shortcut to the filechooser that points to the user's folder.
6583 * app/actions/vectors-commands.c: added a file filter to the SVG
6586 2004-09-27 Sven Neumann <sven@gimp.org>
6588 * app/widgets/gimpthumbbox.c (gimp_thumb_box_new): added some
6589 padding for the shadow frame to avoid scaling the thumbnail.
6591 2004-09-27 Sven Neumann <sven@gimp.org>
6593 * themes/Default/images/Makefile.am
6594 * themes/Default/images/stock-frame-64.png: added a stock icon
6595 that shows a simple drop shadow but could be exchanged for other
6598 * libgimpwidgets/gimpstock.[ch]: register the new icon.
6600 * app/widgets/Makefile.am
6601 * app/widgets/gimpviewrenderer-frame.[ch]: new file that holds some
6602 ugly code to draw a frame around a preview pixbuf.
6604 * app/widgets/gimpviewrenderer.[ch]: the frame pixbuf is attached
6605 to the GimpViewRenderer class so it can be shared by all renderers.
6607 * app/widgets/gimpviewrendererimagefile.c: use the new functionality
6608 to draw a nice frame around imagefile previews.
6610 * app/widgets/gimpcontainerbox.c: draw imagefile preview w/o a border.
6612 2004-09-27 Michael Natterer <mitch@gimp.org>
6614 * app/actions/data-commands.c: cleanup.
6616 * app/actions/vectors-commands.c
6617 * app/display/gimpdisplayshell.c
6618 * tools/pdbgen/pdb/paint_tools.pdb: removed unused #includes.
6620 * app/text/gimptext-bitmap.c
6621 * app/text/gimptext-parasite.c
6622 * app/text/gimptext-vectors.c
6623 * app/text/gimptext-xlfd.c
6624 * app/text/gimptext.c
6625 * app/text/gimptextlayer-xcf.c: include "text-types.h" instead
6626 of "text/text-types.h".
6628 * app/widgets/gimppatternselect.c: create a GimpPatternFactoryView
6629 instead of GimpDataFactoryView.
6631 * app/pdb/paint_tools_cmds.c: regenerated.
6633 2004-09-27 Michael Natterer <mitch@gimp.org>
6635 * app/actions/brushes-actions.c
6636 * app/actions/gradients-actions.c
6637 * app/actions/palettes-actions.c
6638 * app/actions/patterns-actions.c: made the "foo-edit" actions
6639 GimpStringActions and pass the identifier of the editor dialog
6642 * app/actions/data-commands.[ch] (data_edit_data_cmd_callback):
6643 show the editor dialog here instead of calling view->edit_func().
6645 * app/dialogs/dialogs-constructors.[ch]: removed the brush,
6646 gradient and palette edit_funcs.
6648 * app/widgets/widgets-types.h: removed typedef GimpDataEditFunc.
6650 * app/widgets/gimpdatafactoryview.[ch]: removed the edit_func
6651 member and parameters and create the edit button unconditionally.
6653 * app/widgets/gimpbrushfactoryview.[ch]
6654 * app/widgets/gimppatternfactoryview.[ch]: changed accordingly.
6656 * app/widgets/Makefile.am
6657 * app/widgets/gimpdataselect.[ch]: removed this class, it's not
6660 * app/widgets/gimpbrushselect.[ch]
6661 * app/widgets/gimpgradientselect.[ch]
6662 * app/widgets/gimppaletteselect.[ch]
6663 * app/widgets/gimppatternselect.[ch]: derive them from GimpPdbDialog
6664 and follow the edit_func removal.
6666 * app/gui/gui-vtable.c (gui_pdb_dialog_new): removed edit_func
6669 * app/widgets/gimpcontainereditor.c: minor unrelated cleanup.
6671 2004-09-27 Michael Natterer <mitch@gimp.org>
6673 * app/dialogs/dialogs-constrcutors.[ch]: renamed some constructors
6674 for consistency and added a (useless) template grid.
6676 * app/dialogs/dialogs.c: make the arrays of GimpDialogFactoryEntries
6677 more readable by using macros to define them.
6679 2004-09-27 Sven Neumann <sven@gimp.org>
6681 * app/core/gimpimagefile.c: removed conversion to TempBuf.
6682 Instead implement GimpViewable::get_new_pixbuf by compositing the
6683 thumbnail on a checkerboard.
6685 * app/widgets/gimpviewrenderer.[ch]: renamed the no_view_pixbuf
6686 struct member to pixbuf.
6687 (gimp_view_renderer_real_render): try gimp_viewable_get_pixbuf()
6688 and render the pixbuf before falling back to the TempBuf preview.
6689 (gimp_view_renderer_render_pixbuf): new function that sets a
6690 pixbuf for the renderer and flushes the render_buffer.
6692 * app/widgets/gimpviewrendererimagefile.c
6693 (gimp_view_renderer_imagefile_render): render the pixbuf.
6695 * app/dialogs/dialogs-constructors.c: create the document history
6696 dockable with a zero borderwidth.
6698 2004-09-27 Sven Neumann <sven@gimp.org>
6700 * tools/pdbgen/pdb/fileops.pdb (file_load_thumbnail_invoker): use
6701 the GIMP_CHECK_SIZE_SM define, not the enum value
6702 GIMP_CHECK_SIZE_SMALL_CHECKS which is 0 (eeek!).
6704 * app/pdb/fileops_cmds.c: regenerated.
6706 * app/widgets/gimphelp.c (gimp_help_get_locales): minor cleanup.
6708 2004-09-26 Michael Natterer <mitch@gimp.org>
6710 * app/widgets/gimpdataeditor.[ch]: added "data" property.
6712 * app/widgets/gimpbrusheditor.c
6713 * app/widgets/gimpgradienteditor.c
6714 * app/widgets/gimppaletteeditor.c: pass the current data to
6715 g_object_new() so we never end up with initially empty editors.
6717 2004-09-26 Michael Natterer <mitch@gimp.org>
6719 * app/widgets/gimpdataeditor.[ch]: added CONSTRUCT_ONLY
6720 "data-factory" property. Removed gimp_data_editor_construct().
6722 * app/widgets/gimpbrusheditor.c
6723 * app/widgets/gimpgradienteditor.c
6724 * app/widgets/gimppaletteeditor.c: pass the construct parameters
6727 2004-09-26 Sven Neumann <sven@gimp.org>
6729 * app/widgets/gimpcolorframe.c: changed label alignment to be more
6730 HIG conformant and consistent with the rest of the user interface.
6732 2004-09-26 Michael Natterer <mitch@gimp.org>
6734 * app/widgets/gimpdialogfactory.[ch]: added "name", "blurb",
6735 "stock_id" and "help_id" to struct GimpDialogFactoryEntry and to
6736 gimp_dialog_factory_dialog_register(). Added typedef
6737 GimpDialogConstructor which takes a GimpDialogFactoryEntry in
6738 addition to the parameters GimpDialogNewFunc takes. Added a
6739 constructor function pointer to GimpDialogFactory which defaults
6740 to a function that just returns entry->new_func(). Use that
6741 constructor instead of entry->new_func() for creating
6742 dialogs. Added public API gimp_dialog_factory_set_constructor().
6744 * app/dialogs/dialogs.c: register name, blurb, stock_id and
6745 help_id for all dockables so all the dialog info lives in one huge
6746 ugly table now. For the global_toolbox_factory and the
6747 global_dock_factory, set a constructor which creates a dockable
6748 around the widget returned by entry->new_func().
6750 * app/dialogs/dialogs-constructors.[ch]: don't create the dockable
6751 in each dialog constructor. Removes tons of code and reduces most
6752 constructors to a "return gimp_foo_new(...)" one-liner. Got rid of
6753 all static variables, they were from a time when GimpDialogFactory
6754 was unable to manage singletons.
6756 * app/widgets/gimpbrusheditor.[ch]
6757 * app/widgets/gimpgradienteditor.[ch]
6758 * app/widgets/gimppaletteeditor.[ch]: return GtkWidget, not
6759 GimpDataEditor from gimp_foo_editor_new().
6761 * app/widgets/gimpdataeditor.c: minor cleanups.
6763 2004-09-26 Michael Natterer <mitch@gimp.org>
6765 * app/widgets/gimpcolordialog.c: moved stuff from new() to init().
6767 2004-09-26 Michael Natterer <mitch@gimp.org>
6769 Ported GimpNavigationView to use actions for its buttons:
6771 * app/menus/menus.c (menus_init): register a <GimpNavigationEditor>
6772 UI manager containing the "view" action group.
6774 * app/actions/actions.c (action_data_get_foo): handle "data" being
6775 a GimpNavigationEditor.
6777 * app/actions/view-actions.c (view_actions): added tooltips for
6778 the actions used in the editor.
6780 (view_actions_update): use action_data_get_display() instead of
6781 checking the type of "data" manually.
6783 * app/widgets/gimpeditor.c (gimp_editor_add_action_button): use
6784 a GtkToggleButton instead of GimpButton for GtkToggleActions.
6786 * app/display/gimpnavigationeditor.[ch]: added a GimpMenuFactory
6787 parameter to the public constructor and removed all other
6788 parameters. Simplified gimp_navigation_editor_new_private() and
6789 use gimp_editor_add_action_button() instead of just add_button()
6790 for creating the buttons. Made gimp_navigation_view_set_shell()
6791 private. Update the UI manager when the shell zooms or scrolls.
6793 * app/dialogs/dialogs-constructors.c (dialogs_navigation_view_new):
6794 pass the menu_factory to gimp_navigation_editor_new().
6796 Removed #includes which are not needed any more.
6798 2004-09-26 DindinX <dindinx@gimp.org>
6800 * plug-ins/common/exchange.c: use the same preview as in all other
6803 2004-09-25 Sven Neumann <sven@gimp.org>
6805 * plug-ins/imagemap/imap_stock.c: removed C++ style comment.
6807 2004-09-25 Maurits Rijk <m.rijk@chello.nl>
6809 * plug-ins/imagemap/imap_stock.[ch]
6810 * plug-ins/imagemap/Makefile.am
6811 * plug-ins/imagemap/*.xpm: get rid of all .xpm images
6814 * plug-ins/imagemap/images/*: and add them as .png here
6816 * plug-ins/imagemap/imap_browse.c: remove unused include.
6818 2004-09-25 Sven Neumann <sven@gimp.org>
6820 * app/widgets/gimpviewrenderer.h: removed trailing whitespace.
6822 2004-09-25 Sven Neumann <sven@gimp.org>
6824 * app/display/gimpdisplayshell-close.c: changed mnemonic so that
6825 you can close an image w/o saving it by using Ctrl-W Alt-W.
6827 2004-09-25 Michael Natterer <mitch@gimp.org>
6829 * app/core/gimpimage-qmask.h: added comment about not changing the
6830 silly "Qmask" string because it is used to identify the Quick Mask
6833 * app/core/gimpchannel.c: implement GimpViewable::get_description()
6834 and return "Quick Mask" if it's the Quick Mask.
6836 * app/actions/qmask-actions.c
6837 * app/actions/qmask-commands.c
6838 * app/core/core-enums.[ch]
6839 * app/core/gimpimage-qmask.c
6840 * app/display/gimpdisplayshell.c: s/QuickMask/Quick Mask/.
6842 2004-09-25 DindinX <dindinx@gimp.org>
6844 * plug-ins/common/engrave.c: Added a preview and #if'ed out some
6847 2004-09-25 Michael Natterer <mitch@gimp.org>
6849 * app/core/gimppickable.[ch]: added new vitrual function
6850 GimpPickableInterface::get_image()
6852 * app/core/gimpdrawable.c
6853 * app/core/gimpimagemap.c
6854 * app/core/gimpprojection.[ch]: implement it.
6856 2004-09-25 Michael Natterer <mitch@gimp.org>
6858 * app/widgets/gimpcolormapeditor.[ch]
6859 * app/widgets/gimphistogrameditor.[ch]
6860 * app/widgets/gimpselectioneditor.[ch]: removed redundant "gimage"
6861 parameters from public constructors. They are all GimpImageEditor
6862 widgets which get their image via gimp_docked_set_context() and
6863 gimp_image_editor_set_image() later anyway. Fixes uglyness as well
6864 as problems where the editors had an image but no context, causing
6865 strange behavior in their foo_actions_update() functions.
6867 * app/dialogs/dialogs-constructors.c: changed accordingly. Removed
6868 redundant calls to gimp_dockable_set_context() on newly created
6869 dockables because they will get a context when added to their
6872 2004-09-25 Michael Natterer <mitch@gimp.org>
6874 * app/widgets/gimpcolormapeditor.c: moved stuff from
6875 gimp_colormap_editor_new() to
6876 gimp_colormap_editor_init(). Untabified.
6878 2004-09-25 DindinX <dindinx@gimp.org>
6880 * plug-ins/common/dog.c: made the preview behave like in all other
6881 plug-ins by using a GimpDrawablePreview. This allowed to remove a
6882 bunch of complicated code.
6884 2004-09-25 Sven Neumann <sven@gimp.org>
6886 * app/widgets/gimptemplateeditor.[ch]: added resolution and image
6887 type information which is usually hidden in the Advanced Options.
6889 2004-09-25 DindinX <dindinx@gimp.org>
6891 * plug-ins/common/oilify.c: Added a preview and made some small
6894 2004-09-24 Sven Neumann <sven@gimp.org>
6896 * app/config/gimprc-blurbs.h (LAYER_PREVIEW_SIZE_BLURB): try to
6897 improve the tooltip for the layer-preview-size gimprc setting.
6898 Addresses bug #153603.
6900 2004-09-24 Michael Natterer <mitch@gimp.org>
6902 * app/core/gimpimage-undo-push.c (undo_pop_fs_to_layer): factored
6903 common code out of the UNDO amd REDO cases. Use gimp_drawable_update()
6904 instead of gimp_viewable_invalidate_preview() so the projection
6905 gets updated correctly. Fixes bug #149558.
6907 * app/core/gimplayer-floating-sel.c (floating_sel_to_layer):
6908 removed unused variables and their assignments.
6910 2004-09-24 Sven Neumann <sven@gimp.org>
6912 * app/widgets/gimptemplateeditor.[ch]: added a label that shows
6913 the pixel size (as in the initial mockup done by Jimmac).
6915 2004-09-24 Michael Natterer <mitch@gimp.org>
6917 * app/tools/gimpimagemaptool.c
6918 (gimp_image_map_tool_settings_dialog): set the folder using
6919 gtk_file_chooser_set_current_folder(), not set_filename().
6921 2004-09-24 Sven Neumann <sven@gimp.org>
6923 * app/base/curves.[ch]
6924 * app/tools/gimpcurvestool.c: defined CURVES_NUM_POINTS and use it.
6926 * tools/pdbgen/pdb/color.pdb (curves_spline_invoker): unset the
6927 last control point which got initialized to (255,255) by
6928 curves_init(). Fixes bug #153635.
6930 * app/pdb/color_cmds.c: regenerated.
6932 2004-09-24 Sven Neumann <sven@gimp.org>
6934 * app/plug-in/plug-in-message.c: removed a linebreak from a
6937 2004-09-24 Michael Natterer <mitch@gimp.org>
6939 * app/paint/gimpairbrushoptions.c
6940 * app/paint/gimpcloneoptions.c
6941 * app/paint/gimpconvolveoptions.c
6942 * app/paint/gimpdodgeburnoptions.c
6943 * app/paint/gimperaseroptions.c
6944 * app/paint/gimpinkoptions.c
6945 * app/paint/gimppaintoptions.c
6946 * app/paint/gimppenciloptions.c
6947 * app/paint/gimpsmudgeoptions.c
6948 * app/tools/gimpblendoptions.c
6949 * app/tools/gimpbucketfilloptions.c
6950 * app/tools/gimpcoloroptions.c
6951 * app/tools/gimpcolorpickeroptions.c
6952 * app/tools/gimpcropoptions.c
6953 * app/tools/gimpflipoptions.c
6954 * app/tools/gimphistogramoptions.c
6955 * app/tools/gimpimagemapoptions.c
6956 * app/tools/gimpmagnifyoptions.c
6957 * app/tools/gimpmeasureoptions.c
6958 * app/tools/gimpmoveoptions.c
6959 * app/tools/gimppaintoptions-gui.c
6960 * app/tools/gimpselectionoptions.c
6961 * app/tools/gimptextoptions.c
6962 * app/tools/gimptransformoptions.c
6963 * app/tools/gimpvectoroptions.c: code cleanup: untabified and
6964 trailing whitespace removal, removed empty instance_init()
6965 funcions, cleaned up variable declarations/initializations.
6967 2004-09-23 Michael Natterer <mitch@gimp.org>
6969 * app/tools/gimpairbrushtool.c (gimp_airbrush_tool_register)
6970 * app/tools/gimppenciltool.c (gimp_pencil_tool_register):
6971 add GIMP_CONTEXT_GRADIENT_MASK to the tools' context_props because
6972 these tools use the current gradient. Fixes bug #153584.
6974 2004-09-23 Michael Natterer <mitch@gimp.org>
6976 * app/dialogs/Makefile.am
6977 * app/dialogs/color-dialog.[ch]: removed...
6979 * app/widgets/Makefile.am
6980 * app/widgets/widgets-types.h
6981 * app/widgets/gimpcolordialog.[ch]: ...and added as widget.
6983 * app/core/gimpmarshal.list: new marshaller VOID__BOXED_ENUM.
6985 * app/widgets/widgets-enums.[ch]: new enum GimpColorDialogState.
6987 * app/widgets/gimpcolormapeditor.[ch]
6988 * app/widgets/gimpcolorpanel.[ch]
6989 * app/widgets/gimpgradienteditor.[ch]
6990 * app/widgets/gimppaletteeditor.[ch]
6991 * app/widgets/gimptoolbox-color-area.c
6992 * app/actions/gradient-editor-commands.c
6993 * app/actions/view-commands.c: ported to GimpColorDialog. Removes
6994 a whole bunch of ugly widgets/ -> dialogs/ dependencies.
6996 2004-09-23 Sven Neumann <sven@gimp.org>
6998 * plug-ins/script-fu/script-fu-interface.c: put the text view into
6999 a scrolled window. Removed "changed" callbacks for GtkEntry and
7000 GtkTextView. Instead retrieve the final string when the dialog is
7003 * plug-ins/script-fu/scripts/carved-logo.scm
7004 * plug-ins/script-fu/scripts/chrome-it.scm
7005 * plug-ins/script-fu/scripts/crystal-logo.scm
7006 * plug-ins/script-fu/scripts/sota-chrome-logo.scm: use
7007 gimp-data-directory instead of the deprecated constant
7010 * plug-ins/script-fu/scripts/mkbrush.scm: unmarked strings for
7011 translation that I marked yesterday. Won't work unfortunately.
7013 2004-09-23 Sven Neumann <sven@gimp.org>
7015 * plug-ins/script-fu/scripts/blended-logo.scm: fixed context
7018 2004-09-23 Sven Neumann <sven@gimp.org>
7020 * plug-ins/script-fu/script-fu-enums.h
7021 * plug-ins/script-fu/script-fu-interface.c
7022 * plug-ins/script-fu/script-fu-scripts.c
7023 * plug-ins/script-fu/siod-wrapper.c: applied a patch by Kevin
7024 Cozens, based on a patch by Dov Grobgeld. Implements multi-line
7025 text input in Script-Fu (bug #124394).
7027 * plug-ins/script-fu/scripts/test-sphere.scm: test the new SF-TEXT
7030 2004-09-23 Sven Neumann <sven@gimp.org>
7032 * libgimp/gimppixbuf.c (gimp_drawable_get_thumbnail,
7033 gimp_image_get_thumbnail): use the exported symbols from
7034 libgimp, not the private _gimp_drawable_thumbnail()
7035 and _gimp_image_thumbnail() functions.
7037 * libgimp/gimp.def: added new symbols, removed
7038 _gimp_image_thumbnail and _gimp_drawable_thumbnail.
7040 2004-09-23 Michael Natterer <mitch@gimp.org>
7042 * tools/pdbgen/pdb/brushes.pdb
7043 * tools/pdbgen/pdb/gradients.pdb
7044 * tools/pdbgen/pdb/palettes.pdb
7045 * tools/pdbgen/pdb/patterns.pdb: removed the foos_set_foo()
7046 procedures and marked the foos_get_foo() ones as deprecated. For
7047 brushes, patterns and palettes, added foos_get_foo_info()
7048 procedures which work like foos_get_foo_data() but return just the
7049 properties, not the actual data. Allow NULL or "" to be passed
7050 as name to all functions (use the current brush, pattern etc.
7053 * tools/pdbgen/pdb/fonts.pdb: cleanup.
7055 * app/pdb/procedural_db.c: added the removed ones to the compat
7058 * libgimp/Makefile.am
7059 * libgimp/gimpbrushes.[ch]
7060 * libgimp/gimpgradients.[ch]
7061 * libgimp/gimppalettes.[ch]
7062 * libgimp/gimppatterns.[ch]: new files with compat functions
7063 wich call the resp. gimp_context_*() functions.
7065 * libgimp/gimp.h: changed accordingly.
7067 * app/pdb/brushes_cmds.c
7068 * app/pdb/gradients_cmds.c
7069 * app/pdb/internal_procs.c
7070 * app/pdb/palettes_cmds.c
7071 * app/pdb/patterns_cmds.c
7072 * libgimp/gimpbrushes_pdb.[ch]
7073 * libgimp/gimpgradients_pdb.[ch]
7074 * libgimp/gimppalettes_pdb.[ch]
7075 * libgimp/gimppatterns_pdb.[ch]: regenerated.
7077 * plug-ins/FractalExplorer/Dialogs.c
7078 * plug-ins/gfig/gfig-dialog.c
7079 * plug-ins/gfig/gfig-style.[ch]
7080 * plug-ins/gflare/gflare.c: changed accordingly.
7082 2004-09-23 Michael Natterer <mitch@gimp.org>
7084 * plug-ins/common/bumpmap.c (bumpmap_dialog): added a GtkPaned for
7085 packing preview and controls so the controls are resizable again.
7087 2004-09-23 Michael Natterer <mitch@gimp.org>
7089 * plug-ins/script-fu/scripts/3d-outline.scm
7090 * plug-ins/script-fu/scripts/beveled-pattern-arrow.scm
7091 * plug-ins/script-fu/scripts/beveled-pattern-bullet.scm
7092 * plug-ins/script-fu/scripts/beveled-pattern-button.scm
7093 * plug-ins/script-fu/scripts/beveled-pattern-heading.scm
7094 * plug-ins/script-fu/scripts/beveled-pattern-hrule.scm
7095 * plug-ins/script-fu/scripts/blended-logo.scm
7096 * plug-ins/script-fu/scripts/carve-it.scm
7097 * plug-ins/script-fu/scripts/carved-logo.scm
7098 * plug-ins/script-fu/scripts/chip-away.scm
7099 * plug-ins/script-fu/scripts/chrome-it.scm
7100 * plug-ins/script-fu/scripts/coffee.scm
7101 * plug-ins/script-fu/scripts/comic-logo.scm
7102 * plug-ins/script-fu/scripts/coolmetal-logo.scm
7103 * plug-ins/script-fu/scripts/crystal-logo.scm
7104 * plug-ins/script-fu/scripts/frosty-logo.scm
7105 * plug-ins/script-fu/scripts/glossy.scm
7106 * plug-ins/script-fu/scripts/hsv-graph.scm
7107 * plug-ins/script-fu/scripts/land.scm
7108 * plug-ins/script-fu/scripts/lava.scm
7109 * plug-ins/script-fu/scripts/mkbrush.scm
7110 * plug-ins/script-fu/scripts/rendermap.scm
7111 * plug-ins/script-fu/scripts/select-to-brush.scm
7112 * plug-ins/script-fu/scripts/select-to-pattern.scm
7113 * plug-ins/script-fu/scripts/sota-chrome-logo.scm
7114 * plug-ins/script-fu/scripts/spyrogimp.scm
7115 * plug-ins/script-fu/scripts/starburst-logo.scm
7116 * plug-ins/script-fu/scripts/starscape-logo.scm
7117 * plug-ins/script-fu/scripts/t-o-p-logo.scm
7118 * plug-ins/script-fu/scripts/test-sphere.scm
7119 * plug-ins/script-fu/scripts/textured-logo.scm: use the new
7120 opacity, paint_mode, brush, pattern, gradient, palette and font
7123 2004-09-23 Sven Neumann <sven@gimp.org>
7125 Converted the last bunch of scripts to the new context API:
7127 * plug-ins/script-fu/scripts/[s-z]*.scm
7129 2004-09-23 Sven Neumann <sven@gimp.org>
7131 Converted more scripts to the new context API:
7133 * plug-ins/script-fu/scripts/glossy.scm
7134 * plug-ins/script-fu/scripts/hsv-graph.scm
7135 * plug-ins/script-fu/scripts/image-structure.scm
7136 * plug-ins/script-fu/scripts/perspective-shadow.scm
7137 * plug-ins/script-fu/scripts/pupi-button.scm
7138 * plug-ins/script-fu/scripts/rendermap.scm
7139 * plug-ins/script-fu/scripts/ripply-anim.scm
7141 2004-09-23 Sven Neumann <sven@gimp.org>
7143 * plug-ins/script-fu/scripts/hsv-graph.scm:
7145 * tools/pdbgen/pdb/context.pdb: oops, should probably pop, not
7146 push a context in gimp_context_pop().
7148 * app/pdb/context_cmds.c: regenerated.
7150 * plug-ins/script-fu/scripts/mkbrush.scm: don't fiddle with the
7151 brush description, simply use the name choosen by the user.
7153 2004-09-23 Sven Neumann <sven@gimp.org>
7155 Converted the next bunch of scripts to the new context API:
7157 * plug-ins/script-fu/scripts/[d-n]*.scm: push and pop a context.
7158 Removed code that used to restore the context values changed by
7161 2004-09-23 Michael Natterer <mitch@gimp.org>
7163 * app/plug-in/plug-in-message.c (plug_in_handle_proc_return_priv):
7164 removed warning about entering a dead code path. That path is not
7167 2004-09-23 Michael Natterer <mitch@gimp.org>
7169 * tools/pdbgen/pdb/context.pdb: added accessors for the context's
7170 brush, pattern, gradient, palette and brush. Deprecation of old
7171 functions will follow. Fixes gimp-context-set-background wrapper.
7174 * tools/pdbgen/pdb/patterns.pdb
7175 * libgimp/gimpbrushes.h: minor fixes.
7177 * app/pdb/context_cmds.c
7178 * app/pdb/internal_procs.c
7179 * app/pdb/patterns_cmds.c
7180 * libgimp/gimpcontext_pdb.[ch]: regenerated.
7182 2004-09-23 Sven Neumann <sven@gimp.org>
7184 * plug-ins/common/bumpmap.c (bumpmap_dialog): cosmetics.
7186 2004-09-22 Kevin Turner <acapnotic@twistedmatrix.com>
7188 * plug-ins/pygimp/gimpfu.py (register): clean up errors in
7191 2004-09-22 Michael Natterer <mitch@gimp.org>
7193 * tools/pdbgen/pdb/brushes.pdb: removed the opacity and paint_mode
7196 * tools/pdbgen/pdb/context.pdb: ...and added them here.
7198 * app/pdb/procedural_db.c: added them to the pdb_compat hash table.
7200 * libgimp/Makefile.am
7201 * libgimp/gimpbrushes.[ch]: new files with compat functions
7202 which call the gimp_context_*() functions.
7204 * libgimp/gimp.h: changed accordingly.
7206 * app/pdb/brushes_cmds.c
7207 * app/pdb/context_cmds.c
7208 * app/pdb/internal_procs.c
7209 * libgimp/gimpbrushes_pdb.[ch]
7210 * libgimp/gimpcontext_pdb.[ch]: regenerated.
7212 2004-09-22 Michael Natterer <mitch@gimp.org>
7214 * tools/pdbgen/Makefile.am
7215 * tools/pdbgen/groups.pl
7216 * tools/pdbgen/pdb/palette.pdb: removed the "Palette" pdb group...
7218 * tools/pdbgen/pdb/context.pdb: and added its functions to the
7219 "Context" namespace instead.
7221 * app/pdb/Makefile.am
7222 * app/pdb/palette_cmds.c: removed.
7224 * app/pdb/procedural_db.c: added them to the pdb_compat hash table.
7226 * libgimp/Makefile.am
7227 * libgimp/gimppalette_pdb.[ch]: removed.
7229 * libgimp/gimppalette.[ch]: new files holding compat functions
7230 which call gimp_context_*() functions.
7233 * libgimp/gimpui.c: changed accordingly.
7235 * app/pdb/context_cmds.c
7236 * app/pdb/internal_procs.c
7237 * libgimp/gimp_pdb.h
7238 * libgimp/gimpcontext_pdb.[ch]: regenerated.
7240 * plug-ins/MapObject/mapobject_image.c
7241 * plug-ins/MapObject/mapobject_preview.c
7242 * plug-ins/common/apply_lens.c
7243 * plug-ins/common/blinds.c
7244 * plug-ins/common/borderaverage.c
7245 * plug-ins/common/checkerboard.c
7246 * plug-ins/common/colortoalpha.c
7247 * plug-ins/common/cubism.c
7248 * plug-ins/common/exchange.c
7249 * plug-ins/common/film.c
7250 * plug-ins/common/gif.c
7251 * plug-ins/common/grid.c
7252 * plug-ins/common/mapcolor.c
7253 * plug-ins/common/mblur.c
7254 * plug-ins/common/mng.c
7255 * plug-ins/common/mosaic.c
7256 * plug-ins/common/papertile.c
7257 * plug-ins/common/png.c
7258 * plug-ins/common/polar.c
7259 * plug-ins/common/semiflatten.c
7260 * plug-ins/common/sinus.c
7261 * plug-ins/common/sparkle.c
7262 * plug-ins/common/vpropagate.c
7263 * plug-ins/common/warp.c
7264 * plug-ins/common/whirlpinch.c
7265 * plug-ins/gfig/gfig-style.c
7266 * plug-ins/gfli/gfli.c
7267 * plug-ins/ifscompose/ifscompose.c
7268 * plug-ins/maze/handy.c
7269 * plug-ins/pagecurl/pagecurl.c
7270 * plug-ins/pygimp/gimpmodule.c
7271 * plug-ins/script-fu/scripts/*.scm: changed accordingly.
7273 2004-09-22 Sven Neumann <sven@gimp.org>
7275 * app/actions/view-actions.c (view_zoom_actions): mark menu label
7276 as translatable (bug #153456).
7278 2004-09-22 Sven Neumann <sven@gimp.org>
7280 * plug-ins/script-fu/siod-wrapper.c
7281 * plug-ins/script-fu/scripts/mkbrush.scm
7282 * plug-ins/script-fu/scripts/select-to-brush.scm
7283 * plug-ins/script-fu/scripts/select-to-pattern.scm: applied a
7284 patch from Kevin Cozens that adds constants for the directory
7285 names exposed by libgimpbase. Fixes bug #153327.
7287 2004-09-22 Sven Neumann <sven@gimp.org>
7289 Converted the first bunch of Script-Fu to the new context API:
7291 * plug-ins/script-fu/scripts/[3a-c]*.scm: push and pop a context.
7292 Removed code that used to restore the context values changed by
7295 2004-09-22 Michael Natterer <mitch@gimp.org>
7297 * app/plug-in/plug-in-proc-frame.[ch] (plug_in_proc_frame_init):
7298 removed assertion about proc_rec != NULL because that happens
7299 when query()ing and init()int plug-ins.
7301 Replaced "context" by "main_context" plus "context_stack".
7303 * app/plug-in/plug-in-context.c: implement plug_in_context_push()
7304 and plug_in_context_pop().
7306 * app/plug-in/plug-in-message.c
7307 * app/plug-in/plug-in-progress.c: changed accordingly.
7309 * tools/pdbgen/pdb/context.pdb: use the return values of
7310 plug_in_context_push() and _pop().
7312 * app/pdb/context_cmds.c: regenerated.
7314 * plug-ins/script-fu/scripts/test-sphere.scm: use
7315 gimp-context-push and gimp-context-pop instead of remembering the
7316 old values for FG, BG etc.
7318 2004-09-22 Sven Neumann <sven@gimp.org>
7320 * tools/pdbgen/Makefile.am
7321 * tools/pdbgen/pdb/context.pdb: new files that will hold context
7322 related PDB functions.
7324 * tools/pdbgen/groups.pl
7325 * app/pdb/Makefile.am
7326 * app/pdb/context_cmds.c
7327 * app/pdb/internal_procs.c
7328 * app/pdb/progress_cmds.c
7329 * libgimp/gimp_pdb.h
7330 * libgimp/gimpcontext_pdb.[ch]: (re)generated.
7332 * app/plug-in/Makefile.am
7333 * app/plug-in/plug-in-context.[ch]: new files that will hold code
7334 that implements a context stack in the plug-in's proc-frame.
7336 * app/plug-in/plug-in.[ch]: new function plug_in_get_proc_frame().
7338 * app/plug-in/plug-in-message.c
7339 * app/plug-in/plug-in-progress.c: use the new function instead of
7340 duplicating it all over the place.
7342 2004-09-22 Michael Natterer <mitch@gimp.org>
7344 * app/plug-in/Makefile.am
7345 * app/plug-in/plug-in-proc.[ch]: removed...
7346 * app/plug-in/plug-in-proc-def.[ch]: ...and added with a new name.
7348 * app/plug-in/plug-in-def.[ch]
7349 * app/plug-in/plug-in-message.[ch]
7350 * app/plug-in/plug-in-progress.[ch]
7351 * app/plug-in/plug-in-rc.[ch]
7352 * app/plug-in/plug-in-run.[ch]
7353 * app/plug-in/plug-in.[ch]
7354 * app/plug-in/plug-ins.[ch]
7355 * app/actions/plug-in-actions.c
7356 * app/actions/plug-in-commands.c
7357 * app/file/file-open.[ch]
7358 * app/file/file-save.[ch]
7359 * app/file/file-utils.[ch]
7360 * app/gui/gui-vtable.c
7361 * app/menus/plug-in-menus.c
7362 * app/widgets/gimpfiledialog.c
7363 * app/widgets/gimpfileprocview.c
7364 * app/widgets/gimppluginaction.c
7366 * tools/pdbgen/pdb/fileops.pdb
7367 * tools/pdbgen/pdb/plug_in.pdb: changed accordingly plus some
7368 minor cosmetic cleanups.
7370 * app/pdb/fileops_cmds.c
7371 * app/pdb/plug_in_cmds.c: regenerated.
7373 2004-09-22 Michael Natterer <mitch@gimp.org>
7375 * app/widgets/gimplayertreeview.c
7376 (gimp_layer_tree_view_floating_selection_changed): removed the
7377 hack that was displaying "Floating Selection" instead of the
7378 floating layer's real name.
7380 * app/core/gimplayer.c: implement GimpViewable::get_description()
7381 instead and special case floating selections with a two-line
7382 text that contains "Floating Selection".
7384 * app/core/gimplayer-floating-sel.c
7385 * app/core/gimpimage-undo-push.c: emit "name_changed" on the layer
7386 when it changes its state from floating to normal or vice versa
7387 so the views can update accordingly.
7389 * app/core/gimpselection.c: s/"Selection"/"Floated Layer"/.
7391 * app/tools/gimpeditselectiontool.c:
7392 s/"Floating Layer"/"Floating Selection"/.
7394 2004-09-22 Michael Natterer <mitch@gimp.org>
7396 * app/plug-in/Makefile.am
7397 * app/plug-in/plug-in-proc-frame.[ch]: new files containing
7398 utility functions for initializing/freeing PlugInProcFrames.
7399 Added the progress stuff to the proc_frame.
7401 * app/plug-in/plug-in.[ch]: removed the progress stuff from the
7402 PlugIn struct and use the new proc_frame utility functions.
7404 * app/plug-in/plug-in-message.c
7405 * app/plug-in/plug-in-progress.c
7406 * app/plug-in/plug-in-run.c: changed accordingly.
7408 2004-09-22 Michael Natterer <mitch@gimp.org>
7410 Prepare for enabling private contexts for plug-ins and scripts:
7412 * app/plug-in/plug-in.[ch]: removed the "context" member from
7413 the PlugIn struct and added it to PlugInProcFrame instead.
7415 * app/plug-in/plug-in-message.c
7416 * app/plug-in/plug-in-progress.c
7417 * app/plug-in/plug-in-run.c: changed accordingly.
7419 2004-09-22 Sven Neumann <sven@gimp.org>
7421 * plug-ins/common/bumpmap.c: moved the preview to the left.
7423 2004-09-22 Michael Natterer <mitch@gimp.org>
7425 * app/plug-in/plug-in-types.h
7426 * app/plug-in/plug-in.[ch]: added struct PlugInProcFrame which
7427 contains the ProcRecord, the proc's GMainLoop and its return
7430 Use the same struct for the plug-in's main proc and its
7431 temp_procs, so we finally have one set of return values per call
7432 frame, and not just one per plug-in.
7434 Added plug_in_proc_frame_push()/pop() and changed
7435 plug_in_main_loop[_quit]() accordingly.
7437 * app/plug-in/plug-in-message.c
7438 * app/plug-in/plug-in-progress.c
7439 * app/plug-in/plug-in-run.c: changed accordingly.
7441 2004-09-22 Sven Neumann <sven@gimp.org>
7443 * app/text/gimptextlayout.c (gimp_text_get_pango_context):
7444 workaround Pango bug #143542 (PangoFT2Fontmap leak, see also bug
7445 #148997). Based on a patch by Robert Ögren.
7447 2004-09-22 Sven Neumann <sven@gimp.org>
7449 * app/widgets/gimpviewabledialog.c: removed the prelit event box
7450 from the header frame, use a smaller font for the subtitle,
7451 removed the separator.
7453 * app/dialogs/preferences-dialog.c: removed the prelit event box
7454 from the header frame. Perhaps we should have subtitles here with
7455 a more verbose description of the settings page?
7457 2004-09-21 Michael Natterer <mitch@gimp.org>
7459 * app/actions/file-actions.c (file_actions): resolved conflicting
7462 2004-09-21 Sven Neumann <sven@gimp.org>
7464 * data/images/Makefile.am (imagedata_DATA): renamed gimp_splash.png
7467 * data/images/gimp-splash.png: new splash, courtesy of Dave Neary.
7469 * app/gui/splash.c: look for gimp-splash.png in the users
7470 directory, then in the systemwide images directory.
7472 2004-09-21 Sven Neumann <sven@gimp.org>
7474 * plug-ins/script-fu/script-fu-server.c: got rid of two the global
7475 file descriptor sets. Use the client hash-table instead.
7477 2004-09-21 Sven Neumann <sven@gimp.org>
7479 * plug-ins/script-fu/script-fu-server.c: enabled build of the
7480 Script-Fu server for the Win32 platform using the winsock API.
7482 * plug-ins/script-fu/Makefile.am: link with -lwsock32 on Win32.
7484 * plug-ins/script-fu/script-fu-console.c
7485 * plug-ins/script-fu/script-fu.c
7486 * plug-ins/script-fu/siod-wrapper.c: removed Win32 specific code
7487 that isn't needed any longer.
7489 2004-09-21 Michael Natterer <mitch@gimp.org>
7491 For the sake of completeness, added a GUI for the hidden
7492 "Open as Layer" feature:
7494 * app/actions/file-actions.c
7495 * app/actions/file-commands.[ch]: added "file-open-as-layer"
7496 action and callback. Abuse the "gimage" field of GimpFileDialog to
7497 indicate layer opening (it's otherwise unused for file-open).
7499 * app/dialogs/file-open-dialog.c: if dialog->gimage is non-NULL,
7500 open the selected files as layers for that image.
7502 * app/widgets/gimphelp-ids.h: added GIMP_HELP_FILE_OPEN_AS_LAYER.
7504 * menus/image-menu.xml.in: added it to the menu.
7506 2004-09-21 Sven Neumann <sven@gimp.org>
7508 * plug-ins/common/jpeg.c (save_dialog): let the dialog collapse
7509 with the expander by making it not resizable.
7511 2004-09-21 Sven Neumann <sven@gimp.org>
7513 * app/display/gimpdisplayshell-close.c
7514 (gimp_display_shell_close_dialog): resolved a mnemonics collision.
7516 2004-09-21 Dave Neary <bolsh@gimp.org>
7518 * plug-ins/common/psd.c: Correctly set overlay, hard light and
7519 soft light modes from .psd files. Fixes bug #153229.
7521 2004-09-21 Sven Neumann <sven@gimp.org>
7523 * plug-ins/common/svg.c (SVG_DEFAULT_RESOLUTION): set to 90dpi as
7524 a workaround for bug #143300.
7526 2004-09-20 Maurits Rijk <m.rijk@chello.nl>
7528 * plug-ins/imagemap/imap_cmd_guides.c
7529 * plug-ins/imagemap/imap_default_dialog.c
7530 * plug-ins/imagemap/imap_menu.c
7531 * plug-ins/imagemap/imap_preferences.c
7532 * plug-ins/imagemap/imap_tools.c: disabled functionality that doesn't
7533 fully work yet. Bug #136713 now becomes an enhancement request.
7535 2004-09-20 Sven Neumann <sven@gimp.org>
7537 * plug-ins/common/bumpmap.c: added tooltips, enabled "Compensate
7538 for darkening" by default, some minor cleanups.
7540 2004-09-20 Michael Natterer <mitch@gimp.org>
7542 * app/dialogs/dialogs-constructors.c: removed useless #includes.
7544 2004-09-20 Michael Natterer <mitch@gimp.org>
7546 * app/actions/buffers-commands.c
7547 * app/actions/file-commands.c
7548 * app/actions/layers-commands.c
7549 * app/actions/plug-in-actions.c
7550 * app/actions/tools-actions.c: removed useless #includes, cleanup.
7552 2004-09-20 Michael Natterer <mitch@gimp.org>
7554 * app/dialogs/dialogs.[ch] (dialogs_init): added GimpMenuFactory
7555 parameter and removed inclusion on "menus/menus.h".
7557 * app/menus/menus.[ch] (menus_init): added GimpActionFactory
7558 parameter and removed inclusion of "actions/actions.h".
7560 * app/gui/gui.c (gui_restore_callback): pass the factories to the
7563 2004-09-20 Sven Neumann <sven@gimp.org>
7565 * configure.in: bumped version number to 2.1.6.
7567 2004-09-20 DindinX <dindinx@gimp.org>
7569 * plug-ins/common/deinterlace.c: added a preview. Not sure if it is
7572 2004-09-20 DindinX <dindinx@gimp.org>
7574 * plug-ins/common/shift.c: added a preview.
7576 2004-09-20 Michael Natterer <mitch@gimp.org>
7578 * libgimpwidgets/gimpcolorselect.c (gimp_color_select_xy_events):
7579 removed "case GDK_CONFIGURE" because it's not needed and did
7580 "break" instead of "return FALSE", causing random color changes
7581 when resizing and initially showing the widget.
7583 2004-09-20 Sven Neumann <sven@gimp.org>
7585 * Made 2.1.5 release.
7587 2004-09-20 Michael Natterer <mitch@gimp.org>
7589 * app/Makefile.am (gimp_2_1_LDFLAGS): removed all -u hacks.
7592 (gimp_console_2_1_LDADD): reordered .a files correctly. The core
7593 seems to be cleaned up enough to have proper dependencies now.
7595 2004-09-20 Michael Natterer <mitch@gimp.org>
7597 * app/actions/channels-commands.c
7598 * app/actions/vectors-commands.c: removed massive code duplication
7599 by factoring out the code that creates the "New Channel/Path" and
7600 "Edit Channel/Path Attributes" dialogs out to utility functions.
7601 GUI spacing and Code cleanup.
7603 * app/actions/layers-commands.c: minor GUI spacing and code
7606 2004-09-19 Sven Neumann <sven@gimp.org>
7608 * app/base/tile-manager.c (tile_manager_get_memsize): count valid
7609 tiles, not dirty ones.
7611 2004-09-19 Sven Neumann <sven@gimp.org>
7613 * plug-ins/common/bumpmap.c: some tweaks to the dialog layout.
7615 2004-09-19 Michael Natterer <mitch@gimp.org>
7617 * app/actions/qmask-commands.c (qmask_invert_cmd_callback): is a
7618 GtkRadioAction callback but behaved like a GtkToggleAction
7619 callback. Fixes bug #152948.
7621 2004-09-19 DindinX <dindinx@gimp.org>
7623 * plug-ins/common/bumpmap.c: use a GimpDrawablePreview instead of a
7624 very complicated homemade preview. Many small changes in the code
7625 too, and some cleanups. I hope I didn't break anything.
7627 2004-09-19 Bill Skaggs <weskaggs@primate.ucdavis.edu>
7629 * app/tools/gimppaintoptions-gui.c: clean up ugliness introduced
7630 by my previous commit -- no functional change.
7632 2004-09-19 Sven Neumann <sven@gimp.org>
7634 Improved undo memory calculation for paint operations (bug #153035):
7636 * app/base/tile-manager.[ch] (tile_manager_get_memsize): added a
7637 "gboolean sparse" parameter to get more accurate results for
7638 sparse tile-managers.
7640 * app/core/gimpbuffer.c
7641 * app/core/gimpdrawable.c
7642 * app/core/gimpimage-undo-push.c
7643 * app/core/gimpimage.c
7644 * app/core/gimplayer.c
7645 * app/core/gimpprojection.c: changed accordingly.
7647 2004-09-19 Sven Neumann <sven@gimp.org>
7649 * app/dialogs/Makefile.am (libappdialogs_a_SOURCES): added authors.h.
7651 2004-09-19 Bill Skaggs <weskaggs@primate.ucdavis.edu>
7653 * app/tools/gimppaintoptions-gui.c: rearrange tool options as
7654 described in bug #153014.
7656 2004-09-19 Sven Neumann <sven@gimp.org>
7658 * app/widgets/gimperrordialog.c (gimp_error_dialog_add): fixed
7659 handling of too many error messages.
7661 2004-09-19 Sven Neumann <sven@gimp.org>
7663 Try to make floating selections more obvious:
7665 * app/widgets/gimplayertreeview.c
7666 (gimp_layer_tree_view_floating_selection_changed): always display
7667 "Floating Selection" as the name for a floating selection.
7669 * app/core/gimpselection.c (gimp_selection_float): call the new
7670 layer "Selection" instead of "Floating Selection". This is what
7671 will be displayed if the FS is turned into a layer.
7673 * app/actions/layers-commands.c (layers_edit_layer_query): don't
7674 special case floating selections here.
7676 * app/core/gimplayer-floating-sel.c: cosmetics.
7678 2004-09-19 Sven Neumann <sven@gimp.org>
7680 * plug-ins/common/postscript.c (ps_open): applied a patch by Peter
7681 Kirchgessner that solves a problem with the recognition of the
7682 bounding box. Fixes bug #152829.
7684 2004-09-19 Sven Neumann <sven@gimp.org>
7686 * libgimpcolor/gimprgb-parse.c (gimp_rgb_parse_hex): fixed gtk-doc
7689 2004-09-18 Simon Budig <simon@gimp.org>
7691 * libgimpwidgets/gimpcolorhexentry.c: Removed check for len % 3 == 0,
7692 so that the entry accepts hex colors starting with "#" again.
7695 2004-09-18 Manish Singh <yosh@gimp.org>
7697 * app/Makefile.am: remove LDFLAGS references to now private
7698 file_open_dialog_show, file_open_location_dialog_show, and
7699 file_save_dialog_show.
7701 2004-09-18 Sven Neumann <sven@gimp.org>
7703 * app/actions/qmask-commands.c
7704 * libgimpcolor/gimprgb.c (gimp_rgba_distance): just some cleanup.
7706 * app/core/gimpimage-qmask.c (gimp_image_set_qmask_color): always
7707 set gimage->qmask_color regardless of the qmask state.
7709 * libgimpwidgets/gimpcolorbutton.c (gimp_color_button_new): set
7710 the type before setting the color.
7712 2004-09-17 Michael Natterer <mitch@gimp.org>
7714 * app/widgets/gimpcomponenteditor.c
7715 (gimp_component_editor_renderer_update): use
7716 gimp_component_editor_get_iter() instead of duplicating its code.
7718 2004-09-17 Simon Budig <simon@gimp.org>
7720 * app/widgets/gimpbrusheditor.[ch]: Added a slider for the
7721 brush spacing to the brush editor. Should make it more obvious
7724 2004-09-17 Sven Neumann <sven@gimp.org>
7726 * app/core/gimp-edit.c (gimp_edit_paste): based on a patch from
7727 Joao S. O. Bueno: Ensure that the pasted layer is always within
7728 the image, if it fits and aligned at top left if it doesn't.
7731 2004-09-16 Sven Neumann <sven@gimp.org>
7735 2004-09-16 Sven Neumann <sven@gimp.org>
7737 * libgimpwidgets/gimpwidgets.c (gimp_scale_entry_set_logarithmic):
7738 applied a patch by Joao S. O. Bueno that fixes bug #152820.
7740 2004-09-16 Dave Neary <bolsh@gimp.org>
7742 * plug-ins/script-fu/scripts/burn-in-anim.scm: patch from Kevin
7743 Cozens which reinstates corona. Fixes bug #142282.
7745 2004-09-16 Michael Natterer <mitch@gimp.org>
7747 * configure.in: depend on GLib >= 2.4.5 and GTK+ >= 2.4.4.
7749 * app/gui/gui.c: changed accordingly.
7751 * app/sanity.c: ditto. Added check for GLib and put each check
7752 into its own utility function. Enabled #if 0'ed check for
7755 * app/widgets/gimpactiongroup.c
7756 * app/widgets/gimpcursor.c
7757 * app/widgets/gimpselectiondata.c
7758 * app/widgets/gimpuimanager.c
7759 * app/widgets/gimpwidgets-utils.c: removed workarounds for library
7760 versions we refuse to start with.
7762 2004-09-16 Michael Natterer <mitch@gimp.org>
7764 * app/widgets/gimpdnd.c (gimp_dnd_uri_list_dest_add): reverse
7765 order of DND dests so "text/uri-list" is preferred again after my
7766 DND change of 2004-06-29. Fixes dropping of multiple files.
7768 2004-09-16 Michael Natterer <mitch@gimp.org>
7770 * app/widgets/gimpcomponenteditor.[ch]: set the viewable
7771 renderer's "renderer" property to NULL when clearing the
7772 view to work around bug #149906.
7774 2004-09-16 Sven Neumann <sven@gimp.org>
7776 * app/core/gimpscanconvert.c (VALUE_TO_PIXEL): replaced a bitshift
7777 with a binary and. Should be unnoticeably faster ;)
7779 2004-09-16 Michael Natterer <mitch@gimp.org>
7781 * app/pdb/procedural_db.c: removed #if 0'ed code, took assignments
7782 out of if()-conditions, minor cleanup.
7784 2004-09-16 Simon Budig <simon@gimp.org>
7786 * app/core/gimpscanconvert.c: Implemented an own rendering
7787 callback for libart and use it instead of art_gray_svp_aa().
7788 This now handles non-antialiased scan conversions itself. It
7789 also basically shows the way to implement a LUT for the
7792 2004-09-16 Sven Neumann <sven@gimp.org>
7794 * app/dialogs/quit-dialog.c: removed code that isn't needed any
7795 longer now that the dialog is a singleton.
7797 2004-09-15 DindinX <david@dindinx.org>
7799 * plug-ins/common/mblur.c: fix the preview for the zoom blur mode.
7801 2004-09-15 Sven Neumann <sven@gimp.org>
7803 * libgimpwidgets/gimppreviewarea.c
7804 (gimp_preview_area_[draw|blend|mask]): fixed code that handles
7805 drawing outside of the preview area.
7807 * plug-ins/common/unsharp.c (preview_update): draw the preview
7808 directly from the pixel region.
7810 2004-09-15 Manish Singh <yosh@gimp.org>
7812 * modules/controller_linux_input.c: use guint16 instead of __u16.
7813 Should fix bug #152746.
7815 2004-09-15 Sven Neumann <sven@gimp.org>
7817 * libgimp/gimpdrawablepreview.[ch]
7818 * libgimp/gimpui.def: renamed gimp_drawable_preview_draw() to
7819 gimp_drawable_preview_draw_buffer() and added a rowstride
7820 parameter. Added new functions gimp_drawable_preview_get_drawable()
7821 and gimp_drawable_preview_draw_region().
7823 * plug-ins/common/mblur.c: added a preview that uses the
7824 shadow tiles as the preview buffer and draws using the new
7825 gimp_drawable_preview_draw_region() API.
7827 * plug-ins/common/photocopy.c
7828 * plug-ins/common/softglow.c: use gimp_drawable_preview_draw_region().
7830 * plug-ins/common/cartoon.c
7831 * plug-ins/common/despeckle.c
7832 * plug-ins/common/edge.c
7833 * plug-ins/common/gauss.c
7834 * plug-ins/common/grid.c
7835 * plug-ins/common/neon.c
7836 * plug-ins/common/noisify.c
7837 * plug-ins/common/sel_gauss.c
7838 * plug-ins/common/sharpen.c
7839 * plug-ins/common/sobel.c
7840 * plug-ins/common/spread.c
7841 * plug-ins/common/struc.c
7842 * plug-ins/common/unsharp.c
7843 * plug-ins/common/wind.c: use gimp_drawable_preview_draw_buffer().
7845 2004-09-15 Michael Natterer <mitch@gimp.org>
7847 * app/widgets/gimphelp-ids.h: added help IDs for the drawable- and
7848 vectors-visible and -liked actions as well as for the layer mask
7851 * app/actions/drawable-actions.c
7852 * app/actions/vectors-actions.c: use them.
7854 * app/actions/layers-actions.c
7855 * app/actions/layers-commands.[ch]: ditto. Use
7856 GIMP_STOCK_TRANSPARENCY for all layer opacity actions. Replaced
7857 "paint_mode" by "mode" in all action and function/variable names
7858 because this is the layer mode, not a paint mode.
7860 * app/actions/channels-commands.c
7861 * app/actions/layers-commands.c
7862 * app/actions/vectors-commands.c: set the "activates-default"
7863 property on the name entry in all "New Foo" and "Edit Foo
7864 Attributes" dialogs except in the "New Layer" dialog.
7865 Addresses bug #148026.
7867 * menus/image-menu.xml.in: added a (commented out) layer
7868 properties menu containing all the new actions.
7870 2004-09-15 Michael Natterer <mitch@gimp.org>
7872 * app/actions/layers-actions.c
7873 * app/actions/layers-commands.[ch]: added actions and callbacks
7874 "layers-preserve-transparency" and
7875 "layers-paint-mode-first,last,previous,next". Update the "active"
7876 state of the recently added layer mask property actions in
7877 layers_actions_update().
7879 * app/actions/drawable-actions.c
7880 * app/actions/drawable-commands.[ch]: added actions and callbacks
7881 for "drawable-visible" and "drawable-linked". Fixes bug #152597.
7883 * app/actions/vectors-actions.c
7884 * app/actions/vectors-commands.[ch]: same here ("vectors-visible"
7885 and "vectors-linked").
7887 * app/widgets/gimplayertreeview.c
7888 (gimp_layer_tree_view_preserve_button_toggled): flush the image
7889 so the new actions are updated. Compress preserve_trans undos.
7891 * menus/image-menu.xml.in: added the layer mask property actions
7892 to the Layers/Mask submenu.
7894 * menus/layers-menu.xml: reordered the mask property actions
7895 to have the same order as in the image menu.
7897 2004-09-15 Sven Neumann <sven@gimp.org>
7899 * app/widgets/gimpcontainertreeview.c
7900 (gimp_container_tree_view_menu_position): improved the fix for bug
7901 #152662 and removed trailing whitespace.
7903 2004-09-15 Nathan Summers <rock@gimp.org>
7905 * app/widgets/gimpcontainertreeview.c
7906 (gimp_container_tree_view_menu_position): clamp the popup menu's Y
7907 position to the visible area of the GtkTreeView. Fixes #152662.
7909 2004-09-14 Michael Natterer <mitch@gimp.org>
7911 * libgimpwidgets/gimpquerybox.c: set the "activates-default"
7912 property on the entries in all query boxes so hitting "return"
7913 confirms them. Addresses bug #148026.
7915 2004-09-14 Michael Natterer <mitch@gimp.org>
7917 * app/widgets/gimpbufferview.c: simplified the code which deals
7918 with the global_buffer's preview. The new buffer view renderer
7919 does the aspect ratio magic all by itself now.
7921 * app/actions/image-commands.h: removed trailing whitespace.
7923 2004-09-14 Michael Natterer <mitch@gimp.org>
7925 * app/widgets/Makefile.am
7926 * app/widgets/widgets-types.h
7927 * app/widgets/gimpviewrendererbuffer.[ch]: added a view renderer
7928 which knows how to preserve a GimpBuffer's aspect ratio if the
7929 view's aspect ratio is different.
7931 * app/widgets/gimpviewrenderer-utils.c
7932 (gimp_view_renderer_type_from_viewable_type): use it for viewables
7933 of type GimpBuffer. Fixes bug #152531
7935 2004-09-14 Sven Neumann <sven@gimp.org>
7937 * plug-ins/common/flarefx.c
7938 * plug-ins/common/nova.c: embed the preview into a sunken frame
7939 and put it into the upper left corner of the dialog.
7941 2004-09-14 Sven Neumann <sven@gimp.org>
7943 * app/dialogs/dialogs-constructors.[ch]
7944 * app/dialogs/dialogs.c
7945 * app/gui/gui.c: let the dialog factory handle the quit dialog
7946 as singleton. Fixes bug #151914.
7948 * app/dialogs/quit-dialog.c: added a warning here. We need a
7949 container of dirty images for the above change to work correctly.
7951 2004-09-13 Sven Neumann <sven@gimp.org>
7953 * plug-ins/common/jpeg.c (save_dialog): make the "Save EXIF data"
7954 toggle insensitive when no EXIF data is present (bug #140042).
7956 * app/display/gimpdisplayshell-close.c: as suggested by the HIG,
7957 ask the user to save the image when the last display is being
7958 closed. Addresses some issues raised in bug #106726.
7960 2004-09-13 Michael Natterer <mitch@gimp.org>
7962 * app/app_procs.c (app_run): install the message handler for the
7963 "Gimp-Dialogs" domain.
7965 2004-09-13 Michael Natterer <mitch@gimp.org>
7967 * app/actions/file-commands.c: resurrected file_open_dialog_show()
7968 and file_save_dialog_show() as private utility functions to get
7969 rid of code duplication.
7971 2004-09-13 Michael Natterer <mitch@gimp.org>
7973 Manage the file-save dialog using the dialog factory and stop
7974 making menu items insensitive while it is open. Fixes bug #81407.
7976 * app/dialogs/Makefile.am
7977 * app/dialogs/file-dialog-utils.[ch]: removed these files.
7979 * app/dialogs/file-save-dialog.[ch]: removed functions
7980 file_save_dialog_show() and file_save_a_copy_dialog_show() and
7981 changed internal function file_save_dialog_create() to
7982 file_save_dialog_new().
7984 * app/dialogs/dialogs.c
7985 * app/dialogs/dialogs-constructors.[ch]: made it completely
7986 managed by the dialog factory.
7988 * app/actions/file-commands.c: create it using the dialog
7989 factory. Attach it to the image so we open only one save
7992 * app/dialogs/file-open-dialog.c: added precondition checks
7993 to file_open_dialog_new().
7995 2004-09-13 Sven Neumann <sven@gimp.org>
7997 * plug-ins/common/jpeg.c: some code cleanup.
7999 2004-09-13 Michael Natterer <mitch@gimp.org>
8001 * app/dialogs/file-open-dialog.[ch]: removed function
8002 file_open_dialog_show() and changed internal function
8003 file_open_dialog_create() to file_open_dialog_new().
8005 * app/dialogs/dialogs.c
8006 * app/dialogs/dialogs-constructors.[ch]: made it completely
8007 managed by the dialog factory.
8009 * app/actions/file-commands.c: create it using the dialog factory.
8011 2004-09-13 Michael Natterer <mitch@gimp.org>
8014 * app/Makefile.am: added new directory app/dialogs and link
8015 libappdialogs.c into the gimp binary.
8017 * app/gui/Makefile.am
8018 * app/gui/gui-types.h
8019 * app/gui/gui-vtable.c
8022 * app/gui/about-dialog.[ch]
8024 * app/gui/color-notebook.[ch]
8025 * app/gui/convert-dialog.[ch]
8026 * app/gui/dialogs-constructors.[ch]
8027 * app/gui/dialogs.[ch]
8028 * app/gui/file-dialog-utils.[ch]
8029 * app/gui/file-new-dialog.[ch]
8030 * app/gui/file-open-dialog.[ch]
8031 * app/gui/file-open-location-dialog.[ch]
8032 * app/gui/file-save-dialog.[ch]
8033 * app/gui/grid-dialog.[ch]
8034 * app/gui/info-dialog.[ch]
8035 * app/gui/info-window.[ch]
8036 * app/gui/module-browser.[ch]
8037 * app/gui/offset-dialog.[ch]
8038 * app/gui/palette-import-dialog.[ch]
8039 * app/gui/preferences-dialog.[ch]
8040 * app/gui/quit-dialog.[ch]
8041 * app/gui/resize-dialog.[ch]
8042 * app/gui/resolution-calibrate-dialog.[ch]
8043 * app/gui/stroke-dialog.[ch]
8044 * app/gui/tips-dialog.[ch]
8045 * app/gui/tips-parser.[ch]
8046 * app/gui/user-install-dialog.[ch]: removed these files...
8048 * app/dialogs/Makefile.am
8049 * app/dialogs/dialogs-types.h
8051 * app/dialogs/*.[ch]: ...and added them here. Changed some
8052 filenames like module-browser -> module-dialog.
8055 * app/actions/actions-types.h
8056 * app/actions/actions.c
8057 * app/actions/dialogs-actions.c
8058 * app/actions/dialogs-commands.c
8059 * app/actions/dockable-commands.c
8060 * app/actions/drawable-commands.c
8061 * app/actions/edit-commands.c
8062 * app/actions/file-commands.c
8063 * app/actions/gradient-editor-commands.c
8064 * app/actions/image-commands.c
8065 * app/actions/layers-commands.c
8066 * app/actions/palettes-commands.c
8067 * app/actions/select-commands.c
8068 * app/actions/templates-commands.c
8069 * app/actions/templates-commands.h
8070 * app/actions/vectors-commands.c
8071 * app/actions/view-commands.c
8072 * app/display/gimpdisplayshell-cursor.c
8073 * app/display/gimpdisplayshell-title.c
8074 * app/display/gimpdisplayshell.[ch]
8075 * app/tools/gimpcroptool.c
8076 * app/tools/gimpperspectivetool.c
8077 * app/tools/gimprotatetool.c
8078 * app/tools/gimpscaletool.c
8079 * app/tools/gimpsheartool.c
8080 * app/tools/gimptransformtool.[ch]
8081 * app/tools/gimpvectortool.c
8082 * app/widgets/gimpcolormapeditor.[ch]
8083 * app/widgets/gimpcolorpanel.c
8084 * app/widgets/gimpgradienteditor.[ch]
8085 * app/widgets/gimppaletteeditor.[ch]
8086 * app/widgets/gimptoolbox-color-area.c
8087 * menus/toolbox-menu.xml.in
8088 * tools/authorsgen/authorsgen.pl: changed accordingly.
8090 2004-09-13 Michael Natterer <mitch@gimp.org>
8092 Restore binary compatibility of the wire protocol that was
8093 broken by the recent GPConfig changes:
8095 * libgimpbase/gimpprotocol.[ch] (struct _GPConfig)
8097 (_gp_config_write): argh, we can't use the two bytes padding
8098 because that's just a binary compatible struct change, but inserts
8099 two bytes into the byte stream that goes over the wire. Use the
8100 first two bytes of the former "gdouble gamma" instead.
8102 * app/plug-in/plug-in-run.c (plug_in_run)
8103 * libgimp/gimp.c (gimp_config): changed accordingly.
8105 2004-09-13 Sven Neumann <sven@gimp.org>
8107 * app/widgets/gimphelp.c: simulate the behaviour of GNU gettext and
8108 look at the LANGUAGE environment variable if the locale is not "C".
8110 2004-09-13 Simon Budig <simon@gimp.org>
8112 * app/tools/gimpcroptool.c: Fix trailing whitespace introduced by me.
8113 /me hides embarrassed in a corner... :)
8115 2004-09-13 Simon Budig <simon@gimp.org>
8117 * app/tools/gimpcroptool.c: Fix warnings and coding style.
8119 2004-09-12 Nathan Summers <rock@gimp.org>
8121 * app/tools/gimpcroptool.c: disable crop and resize buttons while the
8122 operation is being processed. Fixes #152372.
8124 2004-09-12 Sven Neumann <sven@gimp.org>
8126 * plug-ins/common/aa.c (aa_dialog): use a combo box for format
8129 2004-09-12 Sven Neumann <sven@gimp.org>
8131 * libgimp/gimppixelrgn.c: fixed gtk-doc comments, removed trailing
8134 2004-09-12 DindinX <david@dindinx.org>
8136 * libgimp/gimppixelrgn.c: some more fixes by nomis.
8138 2004-09-12 DindinX <david@dindinx.org>
8140 * libgimp/gimppixelrgn.c: nomis helped me to make some correction to
8143 2004-09-12 DindinX <david@dindinx.org>
8145 * libgimp/gimppixelrgn.c: more documentation.
8147 2004-09-11 DindinX <david@dindinx.org>
8149 * plug-ins/common/edge.c: added a default value (TRUE) for the
8150 update_preview toggle.
8152 * plug-ins/common/wind.c: ported to GimpPreviewArea, so the preview is
8153 much more useful now.
8155 2004-09-11 DindinX <david@dindinx.org>
8157 * libgimp/gimppixelrgn.c: added some gtk-doc documentation to pixel
8158 region related functions. (work in progress)
8160 2004-09-11 Simon Budig <simon@gimp.org>
8162 * app/widgets/gimpdialogfactory.[ch]: Added boolean parameter to
8163 gimp_dialog_factories_toggle to make it possible to ensure a visible
8166 * app/actions/dialogs-commands.c: Use the new parameter to ensure
8167 toolbox visibility after the last image window closes.
8169 * app/display/gimpdisplayshell-callbacks.c: Changed accordingly.
8171 Fixes bug #137057 (the discussion is in bug #152285)
8173 2004-09-11 DindinX <david@dindinx.org>
8175 * plug-ins/common/edge.c: ported to GimpPreviewArea. 100 less lines of
8176 code and much more features!
8178 2004-09-11 DindinX <david@dindinx.org>
8180 * plug-ins/common/oilify.c: some code cleanup and small optimisations.
8182 2004-09-10 Sven Neumann <sven@gimp.org>
8184 * plug-ins/common/xpm.c (query): fixed spelling.
8186 2004-09-10 Bill Skaggs <weskaggs@primate.ucdavis.edu>
8188 * app/widgets/gimperrorconsole.c: fix typo
8190 2004-09-10 Michael Natterer <mitch@gimp.org>
8192 * libgimpwidgets/gimpcolorselect.c: untabified, removed useless
8193 inclusion of <gdk/gdkkeysyms.h>.
8195 2004-09-10 Sven Neumann <sven@gimp.org>
8197 * libgimpwidgets/gimpcolorselect.c: ported to GimpPreviewArea.
8198 Destroy the GdkGC in unrealize() instead of in finalize().
8200 2004-09-10 Michael Natterer <mitch@gimp.org>
8202 * app/widgets/gimpcontainertreeview-dnd.c
8203 (gimp_container_tree_view_drop_status): always call
8204 gdk_drag_status() before returning FALSE.
8206 (gimp_container_tree_view_drag_motion): never return FALSE, an
8207 impossible drop location is now reported by calling
8208 gdk_drag_status() above. Always returning TRUE makes sure
8209 gimp_container_tree_view_drag_leave() is called unconditionally
8210 and can remove the scroll_timeout set in drag_motion().
8212 Fixes bug #152193 and many other obscure DND crashes caused by the
8213 scroll_timeout being invoked after the widget is destroyed.
8215 2004-09-10 Sven Neumann <sven@gimp.org>
8217 * plug-ins/common/xpm.c: improved PDB blurb and help. Very loosely
8218 based on a patch attached to bug #151912.
8220 2004-09-10 Sven Neumann <sven@gimp.org>
8222 * libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_thumb):
8223 also handle GRAY and GRAYA thumbnails.
8225 * tools/pdbgen/pdb/drawable.pdb
8226 * tools/pdbgen/pdb/image.pdb: corrected documentation for
8227 _gimp_drawable_thumbnail() and _gimp_image_thumbnail().
8229 * app/pdb/drawable_cmds.c
8230 * app/pdb/image_cmds.c
8231 * libgimp/gimpdrawable_pdb.c
8232 * libgimp/gimpimage_pdb.c: regenerated.
8234 2004-09-10 Sven Neumann <sven@gimp.org>
8236 * libgimpwidgets/gimppreview.c: fixed positioning of the
8237 navigation marker and handling of motion events.
8239 2004-09-10 Sven Neumann <sven@gimp.org>
8241 * libgimpwidgets/gimppreview.c
8242 * libgimpwidgets/gimppreviewarea.c: documented new functions.
8244 2004-09-09 Sven Neumann <sven@gimp.org>
8246 * libgimp/gimpdrawablepreview.c
8247 * libgimpwidgets/gimppreview.[ch]: added a navigation popup
8248 similar to the one in the image window. Needs some more work.
8250 2004-09-09 DindinX <david@dindinx.org>
8252 * libgimpwidgets/gimppreviewarea.c: added a utility function
8253 gimp_preview_area_queue_draw(), which queue the right part of the
8254 preview to be redrawn. And use it in all the drawing functions. This
8255 fix a problem where the preview wasn't updated correctly after a
8258 2004-09-09 Michael Natterer <mitch@gimp.org>
8260 * plug-ins/common/cartoon.c
8261 * plug-ins/common/despeckle.c
8262 * plug-ins/common/gauss.c
8263 * plug-ins/common/grid.c
8264 * plug-ins/common/neon.c
8265 * plug-ins/common/noisify.c
8266 * plug-ins/common/photocopy.c
8267 * plug-ins/common/sel_gauss.c
8268 * plug-ins/common/sharpen.c
8269 * plug-ins/common/sobel.c
8270 * plug-ins/common/softglow.c
8271 * plug-ins/common/spread.c
8272 * plug-ins/common/struc.c
8273 * plug-ins/common/unsharp.c: pack all drawable previews expanding.
8274 Also did some general cleanups like consistently naming the dialog
8275 variable "dialog" and the main vbox "main_vbox".
8277 2004-09-09 Sven Neumann <sven@gimp.org>
8279 * libgimpwidgets/gimppreview.[ch]: right-align the preview for RTL
8282 2004-09-09 Sven Neumann <sven@gimp.org>
8284 * libgimpwidgets/gimppreviewarea.[ch]: allow to set a maximum size
8285 and center the preview area if its allocation extends the maximum.
8287 * libgimpwidgets/gimppreview.[ch]: derive from GtkVBox, moved the
8288 toggle button out of the table and put the table into an aspect
8289 frame. Added an API to set the preview boundaries. Set the maximum
8290 size of the GimpPreviewArea from that function.
8292 * libgimpwidgets/gimpwidgets.def: added new entries.
8294 * libgimp/gimpdrawablepreview.c: use gimp_preview_set_bounds().
8296 * plug-ins/common/gauss.c: pack the preview widget so that it
8297 resizes with the dialog.
8299 2004-09-09 DindinX <david@dindinx.org>
8301 * libgimpwidgets/gimppreviewarea.c (gimp_preview_area_blend)
8302 (gimp_preview_area_mask): optimized the case where both buffers have
8303 the same alpha for a given pixel.
8305 2004-09-09 Michael Natterer <mitch@gimp.org>
8307 * app/widgets/gimpviewrendererbrush.c
8308 * app/widgets/gimpviewrendererdrawable.c
8309 * app/widgets/gimpviewrenderergradient.c
8310 * app/widgets/gimpviewrendererimage.c
8311 * app/widgets/gimpviewrendererimagefile.c
8312 * app/widgets/gimpviewrendererlayer.c
8313 * app/widgets/gimpviewrenderervectors.c: purely cosmetic cleanup.
8315 2004-09-09 Michael Natterer <mitch@gimp.org>
8317 * app/widgets/gimppdbdialog.c (gimp_pdb_dialog_constructor): use
8318 g_type_name(dialog_type) instead of just "pdb dialog" as name for
8319 the dialog's private context.
8321 2004-09-09 Michael Natterer <mitch@gimp.org>
8323 * app/gui/convert-dialog.[ch] (convert_dialog_new): changed
8324 GimpDisplay* parameter to GimpProgress* because that's what it's
8327 * app/actions/image-commands.c (image_convert_cmd_callback):
8328 changed accordingly.
8330 * app/gui/convert-dialog.c: massively cleaned up internals. Use a
8331 GimpViewableButton + GimpContainerEntry combo as in text options
8332 for selecting the custom palette. Use a filtered container which
8333 contains only palettes with a maximum of 256 colors.
8336 2004-09-09 Michael Natterer <mitch@gimp.org>
8338 * app/gui/file-open-location-dialog.[ch]: changed
8339 file_open_location_dialog_show() to
8340 file_open_location_dialog_new() and return the dialog.
8343 * app/gui/dialogs-constructors.[ch]: added a constructor for it
8344 and let the dialog factory manage it entirely.
8346 * app/actions/file-commands.c
8347 (file_open_location_dialog_cmd_callback): use the dialog factory
8350 2004-09-09 Michael Natterer <mitch@gimp.org>
8352 * app/widgets/gimpdialogfactory.c
8353 (gimp_dialog_factory_dialog_new_internal): renamed parameter
8354 "gboolean raise_if_found" to "return_existing" and added
8355 additional parameter "gboolean present".
8357 (gimp_dialog_factory_dialog_new)
8358 (gimp_dialog_factory_dialog_raise)
8359 (gimp_dialog_factory_dockable_new): pass both parameters (passing
8360 "present" as "raise_if_found" was not quite correct).
8362 2004-09-08 DindinX <david@dindinx.org>
8364 * libgimpwidgets/gimppreviewarea.c: fixed a stupid typo.
8366 2004-09-08 Sven Neumann <sven@gimp.org>
8368 * libgimpwidgets/gimppreviewarea.c (gimp_preview_area_fill):
8369 optimized solid color fills.
8371 2004-09-08 Sven Neumann <sven@gimp.org>
8373 * libgimpwidgets/gimppreviewarea.c: factored out common code.
8374 Reduced indentation level by closing a switch earlier.
8376 2004-09-08 DindinX <david@dindinx.org>
8378 * libgimpwidgets/gimppreviewarea.c: (gimp_preview_area_blend)
8379 use gimp_preview_area_draw when the opacity is 0 or 255, instead of
8382 2004-09-07 Sven Neumann <sven@gimp.org>
8384 * libgimpwidgets/gimpwidgets.def: added new entries.
8386 * libgimpwidgets/test-preview-area.c: fit output into 80 columns.
8388 * libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw): some
8391 2004-09-07 DindinX <david@dindinx.org>
8393 * libgimpwidgets/test-preview-area.c: added some tests for
8394 gimp_preview_area_blend() and gimp_preview_area_mask().
8396 2004-09-07 DindinX <david@dindinx.org>
8398 * libgimpwidgets/gimppreviewarea.c
8399 * libgimpwidgets/gimppreviewarea.h: added two functions:
8400 gimp_preview_area_blend() to draw the blending of two buffers with
8401 an opacity parameter, and gimp_preview_area_mask() to draw the
8402 blending of two buffers, with a mask buffer. The code still needs some
8405 * libgimp/gimpdrawablepreview.c
8406 * libgimp/gimpdrawablepreview.h: use gimp_preview_area_mask() in
8407 gimp_drawable_preview_draw(), so the previews are now much more
8408 accurate (respecting the selection, if any).
8410 Also made the buf parameter of gimp_drawable_preview_draw() a pointer
8413 2004-09-07 Michael Natterer <mitch@gimp.org>
8415 * app/display/gimpdisplayshell-draw.c
8416 (gimp_display_shell_draw_grid): #define the constant crosshair
8417 size for the INTERSECTION grid style instead of using an eeky
8420 2004-09-07 Michael Natterer <mitch@gimp.org>
8422 * app/gui/dialogs.c (toplevel_entries): added a foreign entry
8423 "gimp-file-open-loaction-dialog".
8425 * app/gui/file-open-location-dialog.c: register the dialog
8426 with the toplevel dialog factory so it remembers its position.
8428 2004-09-07 Michael Natterer <mitch@gimp.org>
8430 * app/actions/context-actions.c
8431 * app/actions/context-commands.[ch]: applied a heavily modified
8432 patch from David Gowers which adds actions to modify the context's
8433 paint_mode. Fixes bug #151471.
8435 * menus/image-menu.xml.in: added them to the (commentd out)
8438 2004-09-07 Michael Natterer <mitch@gimp.org>
8440 * plug-ins/common/edge.c: indentation and whitespace cleanup.
8442 * plug-ins/common/struc.c: minor coding style issues.
8444 2004-09-07 Michael Natterer <mitch@gimp.org>
8446 * plug-ins/common/xwd.c (query): applied patch from Alan Horkan
8447 which improves the blurb and help texts. Fixes bug #151912.
8449 Unrelated: did coding style / indentation cleanup in the whole file.
8451 2004-09-07 Michael Natterer <mitch@gimp.org>
8453 * app/widgets/gimpfiledialog.c (gimp_file_dialog_set_uri):
8454 simplified the code that selects an image file by its URI.
8456 2004-09-07 Simon Budig <simon@gimp.org>
8458 * app/widgets/gimpviewrendererbrush.c: Added an indicator for
8459 generated brushes. Pretty straightforward, suggestions for
8460 improvements are welcome.
8462 2004-09-06 DindinX <david@dindinx.org>
8464 * plug-ins/common/struc.c: added a preview.
8466 2004-09-06 Simon Budig <simon@gimp.org>
8468 * app/tools/gimpcroptool.c: reordered info_dialog_hide() and
8469 crop_tool_crop_image(), which avoids the repeated popping up
8470 of the info dialog and avoids a crash.
8474 2004-09-05 DindinX <david@dindinx.org>
8476 * plug-ins/common/cartoon.c: use gimp_preview_invalidate() where
8479 * plug-ins/common/photocopy.c: Added a preview.
8481 2004-09-05 Sven Neumann <sven@gimp.org>
8483 * configure.in: bumped version number to 2.1.5.
8485 * app/widgets/gimpfiledialog.c (gimp_file_dialog_set_uri): select
8486 the image file, not only the folder it lives in. Fixes bug #151638.
8488 2004-09-05 DindinX <david@dindinx.org>
8490 * plug-ins/common/cartoon.c: Added a preview.
8492 2004-09-05 Simon Budig <simon@gimp.org>
8494 * plug-ins/common/autocrop.c: fix handling of layers with an
8495 offset. Resize the image before cropping when the covered area
8496 of a layer is partially outside the image area. Make math more
8499 2004-09-05 Sven Neumann <sven@gimp.org>
8501 * plug-ins/common/convmatrix.c
8502 * plug-ins/common/smooth_palette.c
8503 * plug-ins/flame/flame.c: renamed functions from doit() to
8504 something less silly.
8506 2004-09-05 Sven Neumann <sven@gimp.org>
8508 * Made 2.1.4 release.
8510 2004-09-05 Simon Budig <simon@gimp.org>
8512 * tools/pdbgen/pdb/image.pdb: improved documentation for
8513 gimp_image_resize_to_layers
8515 * libgimp/gimp.def: added gimp_image_resize_to_layers
8517 * app/pdb/image_cmds.c
8518 * libgimp/gimpimage_pdb.c: regenerated
8520 2004-09-05 Simon Budig <simon@gimp.org>
8522 * app/core/gimpimage-resize.[ch]: Implement function to resize
8523 the image to contain all layers completely. Untabified.
8525 * app/actions/image-actions.c
8526 * app/actions/image-commands.[ch]
8527 * app/widgets/gimphelp-ids.h
8528 * menus/image-menu.xml.in: Make it available in the GUI.
8530 * tools/pdbgen/pdb/image.pdb: Make it available in the PDB.
8532 * app/pdb/image_cmds.c
8533 * app/pdb/internal_procs.c
8534 * libgimp/gimpimage_pdb.[ch]: regenerated.
8536 2004-09-04 DindinX <david@dindinx.org>
8538 * plug-ins/common/noisify.c: ported to GimpDrawablePreview.
8540 2004-09-04 Michael Schumacher <schumaml@cvs.gnome.org>
8543 * libgimpbase/gimpbase.def
8544 * libgimpwidgets/gimpwidgets.def: added the check(erboard) related
8547 2004-09-04 Sven Neumann <sven@gimp.org>
8549 * libgimpwidgets/gimppreviewarea.[ch]: pass a GdkEventButton to
8550 gimp_preview_area_menu_popup().
8552 * libgimpwidgets/gimppreview.c: implement GtkWidget::popup_menu().
8554 2004-09-04 DindinX <david@dindinx.org>
8556 * libgimpwidgets/gimppreview.c: Changed the way we attach the preview
8557 area frame to the table so very small drawables don't cause a
8560 2004-09-04 DindinX <david@dindinx.org>
8562 * plug-ins/common/sel_gauss.c: ported to GimpDrawablePreview.
8564 2004-09-04 DindinX <david@dindinx.org>
8566 * plug-ins/common/sharpen.c: ported to GimpDrawablePreview.
8568 2004-09-03 Sven Neumann <sven@gimp.org>
8570 * libgimpwidgets/gimppreviewarea.[ch]: added
8571 gimp_preview_area_menu_popup(). Not completely finished yet...
8573 * libgimpwidgets/gimppreview.c: use the new function.
8575 2004-09-03 Sven Neumann <sven@gimp.org>
8577 * libgimp/gimpdrawablepreview.c (gimp_drawable_preview_set_drawable):
8578 take care of setting the colormap for indexed drawables.
8580 * libgimpwidgets/gimppreview.c (gimp_preview_area_event): pan with
8581 the first mouse button only. We will need the other buttons.
8583 2004-09-03 Sven Neumann <sven@gimp.org>
8585 * plug-ins/common/grid.c: ported to GimpDrawablePreview.
8587 2004-09-03 Sven Neumann <sven@gimp.org>
8589 * plug-ins/common/plasma.c (plasma_dialog): left-align the preview.
8591 * plug-ins/common/grid.c (dialog): pack the preview as in other
8592 plug-in dialogs and embed it into a GtkFrame.
8594 2004-09-03 Michael Natterer <mitch@gimp.org>
8596 * app/widgets/gimpdevicestatus.c: removed "Configure input
8597 devices" button. Fixes bug #150177.
8599 2004-09-03 Simon Budig <simon@gimp.org>
8601 * app/gui/info-window.c: Applied modified patch by Kevin Cozens
8602 that implements a "Comments" tab in the image info dialog.
8606 2004-09-03 Sven Neumann <sven@gimp.org>
8608 * libgimpwidgets/gimppreviewarea.c (CHECK_COLOR): swapped light
8609 and gray checks to get a checkerboard that matches the image window.
8611 2004-09-03 Michael Natterer <mitch@gimp.org>
8613 * libgimpbase/gimpprotocol.h (struct _GPConfig): replaced the
8614 never used "gdouble gamma" with 8 reserved gint8 and stuffed two
8615 gint8 behind "gint8 show_tool_tips" where they fit in in a binary
8616 compatible way due to 32bit aligning of the following "gint32
8617 min_colors". Use the latter ones for "check_size" and
8620 * libgimpbase/gimpprotocol.c (_gp_config_read,write): changed
8621 accordingly to pass the new stuff over the wire.
8623 * app/plug-in/plug-in-run.c: ditto. Pass the transpareny values
8624 from GimpDisplayConfig to plug-ins.
8626 * libgimp/gimp.[ch] (gimp_config): remember the new config values.
8627 (gimp_check_size,type): new functions returning the new config values.
8629 * libgimp/gimpdrawablepreview.c (gimp_drawable_preview_init):
8630 use the new values to configure preview->area accordingly.
8632 2004-09-03 Sven Neumann <sven@gimp.org>
8634 * libgimpbase/gimpchecks.h
8635 * libgimpbase/gimplimits.h: moved check size and check color
8636 defines. It makes a lot more sense to keep them in gimpchecks.h.
8638 * libgimpbase/gimpchecks.c (gimp_checks_get_shades): documented.
8640 * libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw):
8641 added a sanity check so we don't crash if the drawable pointer
8642 should ever be NULL here.
8644 2004-09-02 Helvetix Victorinox <helvetix@gimp.org>
8646 * app/composite/gimp-composite-*test.c: a regression test now
8647 iterates over 8388625 pixels per pass.
8649 * app/composite/gimp-composite-mmx.c
8650 * app/composite/gimp-composite-sse.c
8651 * app/composite/gimp-composite-sse2.c:
8652 Ensured that a clobbered condition code register is reflected in
8653 the clobbered register list for each asm() statement.
8654 This should FIX bug #147013.
8656 2004-09-03 Sven Neumann <sven@gimp.org>
8658 * libgimpbase/Makefile.am
8659 * libgimpbase/gimpchecks.[ch] added gimp_checks_get_shades().
8661 * app/base/temp-buf.c
8662 * app/display/gimpdisplayshell-render.c
8663 * libgimpwidgets/gimppreviewarea.c: use the new function instead
8664 of replicating these numbers in three different places.
8666 2004-09-03 DindinX <david@dindinx.org>
8668 * plug-ins/gimpressionist/*.c: made the code much more readable by
8669 applying the gimp's coding standard (intentation, space, etc.), and
8670 remove the GTK_DISABLE_DEPRECATED warnings, since these files don't use
8671 any deprecated stuff anymore.
8673 2004-09-02 Michael Schumacher <schumaml@cvs.gnome.org>
8675 * libgimp/gimpui.def
8676 * libgimpbase/gimpbase.def
8677 * libgimpwidgets/gimpwidgets.def: added the preview and progress
8680 2004-09-02 Michael Natterer <mitch@gimp.org>
8682 * plug-ins/common/neon.c
8683 * plug-ins/common/noisify.c
8684 * plug-ins/common/sobel.c
8685 * plug-ins/common/softglow.c
8686 * plug-ins/common/spread.c
8687 * plug-ins/common/unsharp.c: fixed various coding style and naming
8688 issues and added some missing signal connections to update the new
8691 2004-09-02 DindinX <david@dindinx.org>
8693 * plug-ins/common/despeckle.c: don't assume the preview has always the
8694 same size, and do the memory allocation in preview_update(). As a side
8695 effect, this fix a segfault :-). Also save the preview toggle state
8696 between invocations.
8698 2004-09-02 Sven Neumann <sven@gimp.org>
8700 * app/display/gimpdisplayshell-render.c (check_combos): light and
8701 dark check color were swapped for GIMP_CHECK_TYPE_GRAY_CHECKS.
8703 * libgimpwidgets/gimppreviewarea.[ch]: added "check-size" and
8704 "check-type" properties and draw the checkerboard accordingly.
8706 2004-09-02 Sven Neumann <sven@gimp.org>
8708 * app/base/base-enums.[ch]
8709 * libgimpbase/gimpbaseenums.[ch]: moved GimpCheckSize and
8710 GimpCheckType enums to libgimpbase. Correctly prefix the enum
8713 * app/base/temp-buf.c
8714 * app/config/gimpdisplayconfig.c
8715 * app/display/gimpdisplayshell-render.c
8716 * app/pdb/fileops_cmds.c
8717 * tools/pdbgen/pdb/fileops.pdb: changed accordingly.
8719 2004-09-02 Michael Natterer <mitch@gimp.org>
8721 * plug-ins/script-fu/script-fu-interface.c (script_fu_ok)
8722 * plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
8723 use a GString for assembling the commands string instead of
8724 g_sprintf()ing into a buffer. Removes the need for a separate loop
8725 over all args to determine the buffer's length and makes the
8726 remaining code smaller and more readable.
8728 2004-09-02 Sven Neumann <sven@gimp.org>
8730 * libgimpwidgets/gimppreview.[ch]: made gimp_preview_draw() public,
8731 added some gtk-doc comments.
8732 (gimp_preview_toggle_callback): immidiately invalidate the preview.
8734 * plug-ins/common/gauss.c (gauss): fixed (and simplified) handling
8735 of zero radii by using the new GimpPreview API.
8737 2004-09-01 Helvetix Victorinox <helvetix@gimp.org>
8739 * app/composite/gimp-composite-mmx.[ch]: Added
8740 gimp_composite_addition_va8_va8_va8_mmx().
8742 * app/composite/make-installer.py: Regression tests now include
8743 printing the image type for each test.
8745 * app/composite/gimp-composite-mmx-test.c
8746 * app/composite/gimp-composite-regression.c
8747 * app/composite/gimp-composite-sse-test.c
8748 * app/composite/gimp-composite-sse2-test.c
8749 * app/composite/gimp-composite-x86.h: regenerated.
8751 2004-09-02 Sven Neumann <sven@gimp.org>
8753 * plug-ins/common/borderaverage.c
8754 * plug-ins/common/checkerboard.c
8755 * plug-ins/common/diffraction.c
8756 * plug-ins/common/illusion.c
8757 * plug-ins/common/polar.c
8758 * plug-ins/common/ripple.c
8759 * plug-ins/common/spread.c
8760 * plug-ins/common/video.c: don't pass run_mode to
8761 gimp_rgn_iterator_new(), it's unused. Removes the need for it being
8764 2004-09-01 Michael Natterer <mitch@gimp.org>
8766 * app/display/gimpdisplay.c
8767 * app/widgets/gimpprogressdialog.c: gracefully handle progress
8768 calls after the widget is destroyed. Re-fixes bug #150194.
8770 2004-09-01 Sven Neumann <sven@gimp.org>
8772 * libgimp/gimpdrawablepreview.[ch]
8773 * libgimpwidgets/gimppreview.[ch]: always show the "Preview" check
8774 button. Simplified the preview APIs, moved the "size" style
8775 property to the GimpPreview class.
8777 * etc/gtkrc: changed the example accordingly.
8779 * plug-ins/common/despeckle.c
8780 * plug-ins/common/gauss.c
8781 * plug-ins/common/neon.c
8782 * plug-ins/common/sobel.c
8783 * plug-ins/common/softglow.c
8784 * plug-ins/common/spread.c
8785 * plug-ins/common/unsharp.c: follow change in GimpDrawablePreview API.
8787 2004-09-01 Michael Natterer <mitch@gimp.org>
8789 * plug-ins/script-fu/script-fu-types.h (struct SFOption): changed
8790 "guint history" to "gint history".
8792 * plug-ins/script-fu/script-fu-interface.c: added callbacks for
8793 string entries and combo boxes and connect *all* widgets to callbacks.
8795 (script_fu_ok): don't touch the widgets at all but get the values
8796 directly now that the callbacks correctly write them to their
8799 (script_fu_reset): don't copy the default values manually but
8800 simply set the default values on the widgets; their callbacks will
8803 * plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
8804 added some line breaks and spaces to make it more readable.
8806 2004-09-01 Michael Natterer <mitch@gimp.org>
8808 * libgimp/Makefile.am
8810 * libgimp/gimpuitypes.h
8811 * libgimp/gimpprogressbar.[ch]: new widget GimpProgressBar which
8812 automatically redirects any progress calls to itself while
8815 * plug-ins/script-fu/script-fu-interface.c: removed all progress
8816 callbacks and simply use a GimpProgressBar.
8818 2004-09-01 Sven Neumann <sven@gimp.org>
8820 * libgimpwidgets/gimppreview.[ch]: set a busy cursor while the
8821 preview is being recalculated.
8823 * libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_original):
8824 do nothing if there's no drawable.
8826 2004-09-01 Sven Neumann <sven@gimp.org>
8828 * libgimpwidgets/gimppreviewarea.c (CHECK_COLOR): oops, swapped x
8831 * libgimpwidgets/gimppreview.c: some minor changes, mainly cleanup.
8833 2004-09-01 Manish Singh <yosh@gimp.org>
8835 * plug-ins/pygimp/gimpfu.py
8836 * plug-ins/pygimp/gimpmodule.c: Hacked up support for the new
8837 progress interface. Emphasis on hacked.
8839 * plug-ins/pygimp/gimpmodule.c: Wrapped gimp_extension_enable(). Minor
8842 * plug-ins/pygimp/pygimp-image.c
8843 * plug-ins/pygimp/pygimp-tile.c: Minor cleanups.
8845 2004-08-31 Manish Singh <yosh@gimp.org>
8847 * plug-ins/pygimp/plug-ins/gimpcons.py
8848 * plug-ins/pygimp/plug-ins/pdbbrowse.py: remove deprecated mainloop
8851 2004-09-01 Sven Neumann <sven@gimp.org>
8853 * libgimp/gimpdrawablepreview.c: increased default preview size to
8854 150 pixels. Added a border of 2 pixels around the bounding box of
8857 * libgimpwidgets/gimppreview.[ch]: only show the GDK_FLEUR cursor
8858 if there's something to pan. Set the correct page size on the
8859 scrollbar adjustments.
8861 2004-09-01 Sven Neumann <sven@gimp.org>
8863 * libgimpwidgets/gimppreviewarea.[ch]: added new function
8864 gimp_preview_area_set_offsets().
8866 * libgimpwidgets/gimppreview.c: use the new function to let the
8867 checkerboard scroll with the preview.
8869 2004-09-01 Sven Neumann <sven@gimp.org>
8871 * libgimpwidgets/gimppreview.[ch]: delay the emission of the
8872 "invalidated" signal using a timeout. Removed hack that used to
8873 invalidate the preview on button-release.
8875 * plug-ins/common/unsharp.c: no need to fiddle with the slider
8876 update policies any longer.
8878 2004-09-01 Sven Neumann <sven@gimp.org>
8880 * app/widgets/gimpdialogfactory.[ch]: added a boolean parameter to
8881 gimp_dialog_factory_dialog_new() to let the caller decide whether
8882 the window should be presented or not.
8884 * app/actions/dialogs-commands.c
8885 * app/actions/image-commands.c
8886 * app/actions/templates-commands.c
8887 * app/gui/gui-vtable.c
8889 * app/widgets/gimpsessioninfo.c: changed accordingly. Do not let
8890 gimp_dialog_factory_dialog_new() present the dialog if we need to
8891 change it after creation. This avoids annoying resizes, noticeable
8892 especially with the error dialog.
8894 2004-08-31 Sven Neumann <sven@gimp.org>
8896 * app/widgets/gimpdockable.c
8897 * libgimp/gimpdrawablepreview.c: converted tabs to spaces.
8899 2004-08-31 Sven Neumann <sven@gimp.org>
8901 * libgimp/gimpdrawablepreview.c: added a style property for the
8904 * etc/gtkrc: show how to adjust the size of GimpDrawablePreviews.
8906 2004-08-31 Michael Natterer <mitch@gimp.org>
8908 * app/widgets/gimpdatafactoryview.c
8909 (gimp_data_factory_view_activate_item): emit "clicked" on the
8910 edit_button only if it exists and is sensitive. Fixes bug #151343.
8912 2004-08-31 Manish Singh <yosh@gimp.org>
8914 * app/plug-in/plug-in.c (plug_in_open): cast plug_in_recv_message
8917 2004-08-31 Sven Neumann <sven@gimp.org>
8919 * libgimpwidgets/gimppreview.c: handle the widget size dynamically.
8920 Hide scrollbars when there's nothing to scroll.
8922 * libgimp/gimpdrawablepreview.c: simplified a lot. The scrollbars
8923 are handled completely in the GimpPreview widget now.
8925 2004-08-31 Sven Neumann <sven@gimp.org>
8927 * libgimpwidgets/gimppreview.c: removed the hardcoded preview size,
8928 removed some redundant assertions.
8930 2004-08-31 Michael Natterer <mitch@gimp.org>
8932 * plug-ins/script-fu/script-fu-scripts.[ch]: removed the GUI code...
8933 Also did some minor cleanups.
8935 * plug-ins/script-fu/script-fu-interface.[ch]: ...and added it here.
8937 * plug-ins/script-fu/script-fu-types.h: new file keeping the
8938 various struct defs needed by both the above files.
8940 * plug-ins/script-fu/Makefile.am
8941 * plug-ins/script-fu/siod-wrapper.c: changed accordingly.
8943 2004-08-31 Michael Natterer <mitch@gimp.org>
8945 * libgimpwidgets/gimppreview.c (gimp_preview_toggle_callback):
8946 notify the "update" property on the preview, not the toggle.
8948 2004-08-31 Sven Neumann <sven@gimp.org>
8950 * libgimpwidgets/gimppreview.c: allow to pan the preview with all
8951 mouse buttons. Set a cursor to indicate that panning is possible.
8953 2004-08-31 DindinX <david@dindinx.org>
8955 * libgimpwidgets/gimppreview.c
8956 * libgimpwidgets/gimppreview.h: renamed the "updated" signal to
8957 "invalidated" and the confusing "update" virtual function to "draw".
8959 Gave the properties saner names, too.
8961 Removed _get_width and _get_height functions in favor of a _get_size
8964 Added gimp_preview_invalidate function that emits the "invalidated"
8967 * libgimp/gimpdrawablepreview.c
8968 * libgimp/gimpdrawablepreview.h: modified accordingly and fixed the
8971 * plug-ins/common/despeckle.c
8972 * plug-ins/common/gauss.c
8973 * plug-ins/common/neon.c
8974 * plug-ins/common/sobel.c
8975 * plug-ins/common/softglow.c
8976 * plug-ins/common/spread.c
8977 * plug-ins/common/unsharp.c: modified accordingly.
8979 2004-08-31 Michael Natterer <mitch@gimp.org>
8981 * plug-ins/script-fu/script-fu-scripts.c: removed the script title
8982 label and moved the "About" button to the action_area. Minor
8985 2004-08-31 Michael Natterer <mitch@gimp.org>
8987 * app/core/gimpdrawable-transform.[ch]: added GimpProgress
8988 parameter to gimp_drawable_transform_affine().
8990 * tools/pdbgen/pdb/edit.pdb
8991 * tools/pdbgen/pdb/transform_tools.pdb: show progress for "blend"
8992 and all transform functions.
8994 * app/pdb/edit_cmds.c
8995 * app/pdb/transform_tools_cmds.c: regenerated.
8997 2004-08-31 Sven Neumann <sven@gimp.org>
8999 * plug-ins/common/curve_bend.c: don't use GDK_TOP_LEFT_ARROW
9000 to restore the default cursor, simply pass NULL to
9001 gdk_window_set_cursor().
9003 2004-08-31 Michael Natterer <mitch@gimp.org>
9005 * app/paint/gimppaintoptions.[ch]: added "GimpPaintInfo *paint_info"
9006 member and construct property. Changed gimp_paint_options_new()
9007 to take only a GimpPaintInfo parameter.
9009 * app/core/gimpitem.c (gimp_item_stroke)
9010 * app/core/gimppaintinfo.c (gimp_paint_info_new): changed accordingly.
9012 * app/core/gimpchannel.c (gimp_channel_stroke)
9013 * app/vectors/gimpvectors.c (gimp_vectors_stroke): use
9014 paint_options->paint_info->paint_type directly instead of casting
9015 to GimpToolOptions and using
9016 tool_options->tool_info->paint_info->paint_type (eek). Fixes crash
9017 when stroking via the PDB because newly created GimpToolOptions
9018 instances have no "tool_info" pointer yet.
9020 * tools/pdbgen/pdb/paint_tools.pdb: changed all paint PDB wrappers
9023 * app/pdb/paint_tools_cmds.c: regenerated.
9025 2004-08-31 Michael Natterer <mitch@gimp.org>
9027 * app/config/gimpconfig.c (gimp_config_iface_duplicate): set
9028 construct_param->foo, not construct_param*s*->foo, so we don't set
9029 the first construct param again and crash.
9031 2004-08-31 Michael Natterer <mitch@gimp.org>
9033 * plug-ins/common/cubism.c: added "..." to the progress text.
9035 2004-08-31 Michael Natterer <mitch@gimp.org>
9037 * app/actions/file-actions.c (file_actions): added "..." to "Revert".
9039 2004-08-31 Sven Neumann <sven@gimp.org>
9041 * libgimp/gimpuitypes.h
9042 * libgimpwidgets/gimpwidgetstypes.h: moved the GimpDrawablePreview
9043 typedef to the header file that it belongs to.
9045 * libgimp/gimpdrawablepreview.[ch]: minor include cleanups and
9048 2004-08-31 Sven Neumann <sven@gimp.org>
9050 * plug-ins/common/gauss.c (gauss_dialog): update the preview when
9051 the blur radius is being changed. gimp_coordinates_new() seems to
9052 be broken though; there shouldn't be two signal connections needed
9055 2004-08-31 Sven Neumann <sven@gimp.org>
9057 * libgimp/gimpdrawablepreview.[ch]
9058 * libgimpwidgets/gimppreview.[ch]: minor code cleanup, fixes to
9059 gtk-doc comments and to the handling of object properties.
9061 2004-08-31 DindinX <david@dindinx.org>
9063 * libgimpwidgets/gimppreview.c
9064 * libgimpwidgets/gimppreview.h: added a GimpPreview widget, abstract
9065 base for a GimpDrawablePreview.
9067 * libgimpwidgets/Makefile.am
9068 * libgimpwidgets/gimpwidgets.h
9069 * libgimpwidgets/gimpwidgetstypes.h: modified accordingly.
9071 * libgimp/gimpdrawablepreview.c
9072 * libgimp/gimpdrawablepreview.h: added a GimpDrawablePreview widget
9073 to ease the use of previews by plug-ins.
9075 * libgimp/Makefile.am
9076 * libgimp/gimpui.h: Changed accordingly.
9078 * plug-ins/common/despeckle.c
9079 * plug-ins/common/gauss.c
9080 * plug-ins/common/neon.c
9081 * plug-ins/common/sobel.c
9082 * plug-ins/common/softglow.c
9083 * plug-ins/common/spread.c
9084 * plug-ins/common/unsharp.c: use a GimpDrawablePreview with these
9087 2004-08-30 Michael Natterer <mitch@gimp.org>
9089 * app/plug-in/plug-in-progress.[ch]: added boolean return values
9090 to plug_in_progress_install(), uninstall() and cancel(). Added
9091 checks to make sure the installed progress_callback exists, has
9092 the correct signature and was installed by this plug-in.
9094 * tools/pdbgen/pdb/progress.pdb: use the return values to let the
9095 PDB wrappers succeed/fail.
9097 * app/pdb/progress_cmds.c: regenerated.
9099 2004-08-30 Michael Schumacher <schumaml@cvs.gnome.org>
9101 * libgimp/gimp.def: added gimp_progress_install &
9102 gimp_progress_uninstall
9104 2004-08-30 Sven Neumann <sven@gimp.org>
9106 * libgimp/gimpregioniterator.c: document the fact that "run_mode"
9107 is unused. Also did some code cleanup.
9109 2004-08-30 Michael Natterer <mitch@gimp.org>
9111 * libgimp/gimpregioniterator.c: always update the progress.
9112 Makes all "run_mode" parameters useless.
9114 2004-08-30 Michael Natterer <mitch@gimp.org>
9116 * plug-ins/common/gauss.c: add "..." to the progress text.
9118 2004-08-30 Sven Neumann <sven@gimp.org>
9120 * libgimp/gimpprogress.c: added some gtk-doc comments, could be
9123 2004-08-30 Sven Neumann <sven@gimp.org>
9125 * plug-ins/common/colortoalpha.c
9126 * plug-ins/common/compose.c
9127 * plug-ins/common/decompose.c
9128 * plug-ins/common/film.c
9129 * plug-ins/fits/fits.c: always use the progress API, not doing it
9130 in non-interactive mode has always been wrong.
9132 2004-08-30 Manish Singh <yosh@gimp.org>
9134 * libgimp/gimpprogress.[ch] (gimp_progress_uninstall): return the
9135 user_data pointer on uninstall. Eases language binding work.
9137 2004-08-30 Sven Neumann <sven@gimp.org>
9139 * libgimp/gimpbrushmenu.c (gimp_brush_select_preview_draw): fixed
9140 drawing of brushes that extend beyond the preview.
9142 2004-08-30 Sven Neumann <sven@gimp.org>
9144 * app/tools/gimpvectortool.[ch] (gimp_vector_tool_status_set):
9145 avoid excessive use of strdup() and strcmp(). The strings are all
9148 2004-08-30 Michael Natterer <mitch@gimp.org>
9150 Brought the PDB progress into a working state. Fixes bug #6010,
9151 addresses bugs #97266 and #135185 and unfortunately reopens bug
9152 #150194 (will fix that later).
9154 * libgimpbase/gimpbaseenums.h: added enum GimpProgressCommand.
9156 * app/core/gimppdbprogress.c
9157 * libgimp/gimpprogress.c: use the enum instead of integer
9158 constants for the different progress commands. Cleanup.
9160 * app/plug-in/plug-in-progress.c
9161 * app/plug-in/plug-in-run.c
9162 * app/plug-in/plug-in.c: switch back to real refcounting for
9163 plug_in->progress (reopens bug #150194) and enabled the PDB
9166 * plug-ins/script-fu/script-fu-scripts.c: cleaned up the
9167 progress stuff and the script-fu interface a bit.
9169 * plug-ins/pygimp/gimpenums.py
9170 * plug-ins/script-fu/script-fu-constants.c
9171 * tools/pdbgen/enums.pl: regenerated.
9173 2004-08-29 Manish Singh <yosh@gimp.org>
9175 * app/plug-in/plug-in.c (plug_in_open): set can_recurse on the
9176 recv_message watch, so we don't block on recursive calls to the
9177 handler. plug_in_recv_message needs some refcounting help now
9180 2004-08-29 Helvetix Victorinox <helvetix@gimp.org>
9182 * app/composite/gimp-composite-x86.h
9183 * app/composite/gimp-composite-sse.c
9184 * app/composite/gimp-composite-sse2.c: Fixed a bunch of
9185 warnings due to bad type casting.
9187 * app/composite/gimp-composite-mmx.c
9188 * app/composite/gimp-composite-sse.c
9189 * app/composite/gimp-composite-x86.h
9190 * app/composite/gimp-composite-sse2.c:
9191 The last changes to fix the the clobber registers bug #147013.
9192 Commented out some dead code to be reviewed later.
9194 2004-08-29 Michael Natterer <mitch@gimp.org>
9196 Added an API to allow plug-ins to embed the progress for the
9197 actions they trigger into their own GUI (attention: half-done and
9198 broken code ahead...)
9200 * app/core/Makefile.am
9201 * app/core/core-types.h
9202 * app/core/gimppdbprogress.[ch]: new object implementing dispatching
9203 progress calls to a temporary PDB procedure in a plug-in.
9205 * app/Makefile.am: force to link gimppdbprogress.o, bah!
9207 * app/plug-in/plug-in-progress.[ch]: added API to install,
9208 uninstall and cancel a PDB progress for this plug-in, but disabled
9209 the implementation because it doesn't work yet.
9211 * tools/pdbgen/pdb/progress.pdb: added pdb wrappers for the new
9212 install, uninstall and cancel functions.
9214 * libgimp/Makefile.am
9216 * libgimp/gimpprogress.[ch]: added an API around the PDB progress
9219 * app/pdb/internal_procs.c
9220 * app/pdb/progress_cmds.c
9221 * libgimp/gimpprogress_pdb.[ch]: regenerated.
9223 * plug-ins/script-fu/script-fu-scripts.c: use the new API to show
9224 the progress in the script-fu dialog.
9226 2004-08-29 Michael Schumacher <schumaml@cvs.gnome.org>
9228 * libgimpwidgets/gimpwidgets.def: added
9229 gimp_scale_entry_set_logarithmic
9231 2004-08-29 Sven Neumann <sven@gimp.org>
9233 * app/config/gimpconfigwriter.c: don't emit critical warnings
9234 about a messed up state of GimpConfigWriter if the writer is
9235 disabled because of a write error that occured earlier.
9237 2004-08-29 DindinX <david@dindinx.org>
9239 * app/core/core-enums.h: Renamed GimpPreviewSize to GimpViewSize.
9241 * app/core/core-enums.c: Regenerated.
9243 * app/actions/dockable-actions.c
9245 * app/config/gimpcoreconfig.c
9246 * app/config/gimpcoreconfig.h
9247 * app/config/gimpdisplayconfig.c
9248 * app/config/gimpdisplayconfig.h
9250 * app/core/gimpundo.c
9252 * app/display/gimpnavigationeditor.c
9255 * app/gui/file-open-location-dialog.c
9257 * app/tools/gimppaintoptions-gui.c
9258 * app/tools/gimptextoptions.c
9260 * app/widgets/gimpbrushselect.c
9261 * app/widgets/gimpcontainerpopup.c
9262 * app/widgets/gimpcontainerview.c
9263 * app/widgets/gimpdialogfactory.c
9264 * app/widgets/gimpfontselect.c
9265 * app/widgets/gimpgradientselect.c
9266 * app/widgets/gimppaletteselect.c
9267 * app/widgets/gimppatternselect.c
9268 * app/widgets/gimpselectioneditor.c
9269 * app/widgets/gimpsessioninfo.c
9270 * app/widgets/gimptemplateeditor.c
9271 * app/widgets/gimpundoeditor.c
9272 * app/widgets/gimpundoeditor.h
9273 * app/widgets/gimpviewablebutton.c: Changed accordingly.
9275 2004-08-28 Helvetix Victorinox <helvetix@gimp.org>
9277 * app/composite/gimp-composite-sse.c
9278 * app/composite/gimp-composite-sse2.c: More updates to accomodate
9279 the clobber registers. Additional progress against bug #147013.
9281 * app/composite/gimp-composite-sse.h: Fixed a bug where the wrong
9282 manifest constant definition caused sse2 instructions to never be
9285 2004-08-28 Sven Neumann <sven@gimp.org>
9287 * plug-ins/common/vpropagate.c (run): fixed confusion about which
9288 mode to use when being run with last values (bug #151308).
9290 2004-08-28 Simon Budig <simon@gimp.org>
9292 * plug-ins/common/plugindetails.c: workaround to avoid a warning
9293 by gcc about the use of "%c" in the format string for strftime.
9295 2004-08-28 Sven Neumann <sven@gimp.org>
9297 * libgimpwidgets/gimpwidgets.[ch]: applied a patch from Joao
9298 S. O. Bueno which adds an API that allows to make the scale widget
9299 of a GimpScaleEntry behave logarithmic. Fixes bug #149420.
9301 * app/widgets/gimpbrusheditor.c: use the new functionality for the
9304 2004-08-28 Sven Neumann <sven@gimp.org>
9306 * plug-ins/common/compose.c (compose_dialog): applied patch from
9307 Markus Triska that improves which layers are choosen by
9308 default (bug #148172).
9310 2004-08-28 Sven Neumann <sven@gimp.org>
9312 * app/core/gimpimage-contiguous-region.c
9313 (find_contiguous_region_helper): applied a patch from Eric Cheung
9314 that changes the function to use a GQueue to implement recursion
9315 instead of recursive function calls. Fixes bug #151124.
9317 * plug-ins/common/noisify.c (noisify_dialog): left-align the
9320 2004-08-28 Sven Neumann <sven@gimp.org>
9322 * app/widgets/gimphelp-ids.h
9323 * app/widgets/gimptoolbox.c (toolbox_create_image_area): added a
9324 help-id for the image area.
9326 2004-08-27 Michael Natterer <mitch@gimp.org>
9328 Moved the gimp_progress_init() and gimp_progress_update() PDB
9329 functions to their own group because they don't belong to the
9330 "Plug-In" namespace and will soon get more functions.
9332 * tools/pdbgen/pdb/plug_in.pdb: removed the progress stuff...
9334 * tools/pdbgen/pdb/progress.pdb: ...and added it here.
9336 * tools/pdbgen/Makefile.am
9337 * tools/pdbgen/groups.pl
9338 * app/pdb/Makefile.am
9339 * libgimp/Makefile.am: changed accordingly.
9341 * app/pdb/progress_cmds.c
9342 * libgimp/gimpprogress_pdb.[ch]: new generated files.
9344 * app/pdb/internal_procs.c
9345 * app/pdb/plug_in_cmds.c
9346 * libgimp/gimp_pdb.h
9347 * libgimp/gimpplugin_pdb.[ch]: regenerated.
9349 2004-08-27 Michael Natterer <mitch@gimp.org>
9351 * app/widgets/gimpcontainereditor.c
9352 (gimp_container_editor_construct): call
9353 gimp_container_editor_select_item() manually at construction time
9354 so views show the initially selected object's state correctly
9355 (e.g. the brush spacing). Fixes bug #151227.
9357 2004-08-27 DindinX <david@dindinx.org>
9359 * app/widgets/gimpnavigationpreview.c
9360 * app/widgets/gimpnavigationpreview.h: renamed these files to ...
9362 * app/widgets/gimpnavigationview.c
9363 * app/widgets/gimpnavigationview.h: to these.
9364 And renamed the GimpNavigationPreview type to GimpNavigationView.
9366 Hopefully, this is the last change in file names for the Preview->View
9369 * app/display/gimpnavigationeditor.c
9371 * app/widgets/Makefile.am
9372 * app/widgets/widgets-types.h: Changed accordingly.
9374 2004-08-26 Michael Natterer <mitch@gimp.org>
9376 * app/core/gimpitem.[ch]: removed "gboolean use_default_values"
9377 from GimpItem::stroke().
9379 * app/core/gimpchannel.c
9380 * app/core/gimpselection.c
9381 * app/vectors/gimpvectors.c: changed accordingly.
9383 2004-08-26 Michael Natterer <mitch@gimp.org>
9385 * app/core/gimpitem.c (gimp_item_stroke): implement the whole
9386 paint_options fiddling here instead of in each subclass and pass
9387 either GimpStrokeOptions or GimpPaintOptions (instead of
9388 GimpStrokeOptions or GimpPaintInfo) to GimpItem::stroke().
9390 Also copied code (that needs to be abstracted to a utility
9391 function) from the tool_manager which makes sure we really use the
9392 global brush, pattern etc. if these options are checked in prefs.
9395 * app/core/gimpchannel.c (gimp_channel_stroke)
9396 * app/vectors/gimpvectors.c (gimp_vectors_stroke): removed the
9397 duplicated code mentioned above and simply use the paint_options
9400 2004-08-26 DindinX <david@dindinx.org>
9402 * app/widgets/gimpviewrenderervectors.h: GimpViewRendererVector is
9403 really derived from GimpViewRenderer and not from
9404 GimpViewRendererDrawable.
9406 2004-08-26 DindinX <david@dindinx.org>
9408 * app/widgets/gimppreviewrenderer-utils.c
9409 * app/widgets/gimppreviewrenderer-utils.h
9410 * app/widgets/gimppreviewrendererbrush.c
9411 * app/widgets/gimppreviewrendererbrush.h
9412 * app/widgets/gimppreviewrendererdrawable.c
9413 * app/widgets/gimppreviewrendererdrawable.h
9414 * app/widgets/gimppreviewrenderergradient.c
9415 * app/widgets/gimppreviewrenderergradient.h
9416 * app/widgets/gimppreviewrendererimage.c
9417 * app/widgets/gimppreviewrendererimage.h
9418 * app/widgets/gimppreviewrendererimagefile.c
9419 * app/widgets/gimppreviewrendererimagefile.h
9420 * app/widgets/gimppreviewrendererlayer.c
9421 * app/widgets/gimppreviewrendererlayer.h
9422 * app/widgets/gimppreviewrenderervectors.c
9423 * app/widgets/gimppreviewrenderervectors.h: Renamed all these files...
9425 * app/widgets/gimpviewrenderer-utils.c
9426 * app/widgets/gimpviewrenderer-utils.h
9427 * app/widgets/gimpviewrendererbrush.c
9428 * app/widgets/gimpviewrendererbrush.h
9429 * app/widgets/gimpviewrendererdrawable.c
9430 * app/widgets/gimpviewrendererdrawable.h
9431 * app/widgets/gimpviewrenderergradient.c
9432 * app/widgets/gimpviewrenderergradient.h
9433 * app/widgets/gimpviewrendererimage.c
9434 * app/widgets/gimpviewrendererimage.h
9435 * app/widgets/gimpviewrendererimagefile.c
9436 * app/widgets/gimpviewrendererimagefile.h
9437 * app/widgets/gimpviewrendererlayer.c
9438 * app/widgets/gimpviewrendererlayer.h
9439 * app/widgets/gimpviewrenderervectors.c
9440 * app/widgets/gimpviewrenderervectors.h: ... to these names. And also
9441 changed all the GimpPreviewRenderer* types to GimpViewRenderer* ones.
9443 * app/tools/gimppaintoptions-gui.c
9445 * app/widgets/Makefile.am
9446 * app/widgets/gimpcomponenteditor.c
9447 * app/widgets/gimpfiledialog.c
9448 * app/widgets/gimpgradienteditor.c
9449 * app/widgets/gimpview.c
9450 * app/widgets/widgets-types.h
9451 * app/widgets/gimpviewrenderer.c
9452 * app/widgets/gimpviewrenderer.h: modified accordingly.
9454 2004-08-26 Sven Neumann <sven@gimp.org>
9456 * app/sanity.c (sanity_check_filename_encoding): try to convert
9457 the result of gimp_directory() to UTF-8 and bail out with a
9458 moderately helpful error message if this conversion fails. Works
9459 around bug #150917. Also marked these strings for translation.
9461 2004-08-26 Sven Neumann <sven@gimp.org>
9463 * app/tools/gimp-tools.c (gimp_tools_register): set the paintbrush
9464 as the default tool as suggested in bug #151091.
9466 2004-08-26 DindinX <david@dindinx.org>
9468 * app/widgets/gimppreview-popup.c
9469 * app/widgets/gimppreview-popup.h
9470 * app/widgets/gimppreviewrenderer.c
9471 * app/widgets/gimppreviewrenderer.h: really removed these files from
9474 2004-08-25 Manish Singh <yosh@gimp.org>
9476 * plug-ins/common/gifload.c: Guard against bogus logical screen
9477 dimensions. Fixes bug #151053.
9479 2004-08-26 DindinX <david@dindinx.org>
9481 * app/widgets/gimppreview-popup.c
9482 * app/widgets/gimppreview-popup.h: renamed these files...
9484 * app/widgets/gimpview-popup.c
9485 * app/widgets/gimpview-popup.h: .. to these files, and changed the
9486 GimpPreviewPopup type to GimpViewPopup.
9488 * app/widgets/gimppreviewrenderer.c
9489 * app/widgets/gimppreviewrenderer.h: renamed these files...
9491 * app/widgets/gimpviewrenderer.c
9492 * app/widgets/gimpviewrenderer.h: .. to these files, and changed
9493 GimpPreviewRenderer to GimpViewRenderer.
9495 This is the second step of the great Preview->View renaming process.
9497 * app/display/gimpdisplayshell-layer-select.c
9498 * app/display/gimpnavigationeditor.c
9500 * app/widgets/Makefile.am
9501 * app/widgets/gimpbrushfactoryview.c
9502 * app/widgets/gimpbufferview.c
9503 * app/widgets/gimpcellrendererviewable.c
9504 * app/widgets/gimpcellrendererviewable.h
9505 * app/widgets/gimpcomponenteditor.c
9506 * app/widgets/gimpcontainerbox.c
9507 * app/widgets/gimpcontainercombobox.c
9508 * app/widgets/gimpcontainereditor.c
9509 * app/widgets/gimpcontainerentry.c
9510 * app/widgets/gimpcontainergridview.c
9511 * app/widgets/gimpcontainerpopup.c
9512 * app/widgets/gimpcontainertreeview-dnd.c
9513 * app/widgets/gimpcontainertreeview.c
9514 * app/widgets/gimpcontainerview.c
9515 * app/widgets/gimpdatafactoryview.c
9516 * app/widgets/gimpitemtreeview.c
9517 * app/widgets/gimplayertreeview.c
9518 * app/widgets/gimpnavigationpreview.c
9519 * app/widgets/gimppatternfactoryview.c
9520 * app/widgets/gimppreviewrenderer-utils.c
9521 * app/widgets/gimppreviewrendererbrush.c
9522 * app/widgets/gimppreviewrendererbrush.h
9523 * app/widgets/gimppreviewrendererdrawable.c
9524 * app/widgets/gimppreviewrendererdrawable.h
9525 * app/widgets/gimppreviewrenderergradient.c
9526 * app/widgets/gimppreviewrenderergradient.h
9527 * app/widgets/gimppreviewrendererimage.c
9528 * app/widgets/gimppreviewrendererimage.h
9529 * app/widgets/gimppreviewrendererimagefile.c
9530 * app/widgets/gimppreviewrendererimagefile.h
9531 * app/widgets/gimppreviewrendererlayer.c
9532 * app/widgets/gimppreviewrenderervectors.c
9533 * app/widgets/gimpselectioneditor.c
9534 * app/widgets/gimptemplateview.c
9535 * app/widgets/gimptooloptionseditor.c
9536 * app/widgets/gimptoolview.c
9537 * app/widgets/gimpview.c
9538 * app/widgets/gimpview.h
9539 * app/widgets/gimpviewablebutton.c
9540 * app/widgets/widgets-enums.h
9541 * app/widgets/widgets-types.h: Modified accordingly.
9543 2004-08-25 Sven Neumann <sven@gimp.org>
9545 * app/widgets/gimperrordialog.[ch] (gimp_error_dialog_add): stop
9546 adding message boxes and redirect messages to stderr if there are
9549 2004-08-25 Bill Skaggs <weskaggs@primate.ucdavis.edu>
9551 * devel-docs/ggr.txt: fix incorrect statement, add note re SVG.
9553 2004-08-25 Sven Neumann <sven@gimp.org>
9555 * app/widgets/gimpmessagebox.[ch]: added gimp_message_box_repeat().
9557 * app/widgets/Makefile.am
9558 * app/widgets/widgets-types.h
9559 * app/widgets/gimperrordialog.[ch]: added new dialog that adds a new
9560 GimpMessageBox for each message added. Fixes bug #92604.
9562 * app/widgets/gimpwidgets-utils.[ch]: removed old gimp_message_box()
9565 * app/gui/gui.c (gui_abort): use a GimpMessageBox in a GimpDialog.
9567 * app/gui/dialogs-constructors.[ch]
9568 * app/gui/dialogs.c: manage GimpErrorDialog as singleton.
9570 * app/gui/gui-vtable.c (gui_message): use the new error dialog.
9572 * app/core/gimp-gui.c (gimp_message): substitue "GIMP" for a NULL
9575 * app/widgets/gimperrorconsole.c (gimp_error_console_add): fail
9576 when being called with a NULL domain.
9578 2004-08-25 DindinX <david@dindinx.org>
9580 * app/display/gimpnavigationeditor.[ch]: eradicate some more previews
9583 2004-08-25 Bill Skaggs <weskaggs@primate.ucdavis.edu>
9585 * devel-docs/Makefile.am
9586 * devel-docs/ggr.txt: added new file decribing the ggr (Gimp
9587 gradient) file format.
9589 2004-08-25 DindinX <david@dindinx.org>
9591 * app/display/gimpnavigationview.c
9592 * app/display/gimpnavigationview.h: renamed these files to...
9594 * app/display/gimpnavigationeditor.c
9595 * app/display/gimpnavigationeditor.h: ... these files, and of course
9596 changed GimpNavigationView to GimpNavigationEditor since it is really
9597 inherited from GimpEditor anyway.
9599 This will leave the gimp_navigation_view namespace for the renaming
9600 from gimp_navigation_preview.
9602 * app/display/Makefile.am
9603 * app/display/display-types.h
9604 * app/display/gimpdisplayshell-callbacks.c
9605 * app/gui/dialogs-constructors.c: Changed accordlingly.
9607 2004-08-25 Michael Natterer <mitch@gimp.org>
9609 * app/display/gimpdisplayshell-title.c
9610 (gimp_display_shell_format_title): print bad '%' sequences
9611 literally instead of warning (g_warning() is for programming
9612 errors only and must never be triggered by bad or intermediate
9613 user input). Fixes bug #150676
9615 2004-08-24 Sven Neumann <sven@gimp.org>
9617 * app/widgets/gimpmessagebox.c: put the icon to the right for RTL
9620 * app/display/gimpdisplayshell-close.c
9621 * app/gui/quit-dialog.c: use a GimpMessageBox.
9623 2004-08-24 Sven Neumann <sven@gimp.org>
9625 * app/widgets/gimpmessagebox.[ch]: added API to change the labels.
9626 Modeled after the proposed new API for GtkMessageDialog.
9628 * app/widgets/gimpwidgets-utils.c: changed accordingly.
9630 2004-08-24 DindinX <david@dindinx.org>
9632 * app/widgets/gimppreview.c
9633 * app/widgets/gimppreview.h: renamed these two files to...
9635 * app/widgets/gimpview.c
9636 * app/widgets/gimpview.h: ... these files.
9638 Also renamed GimpPreview to GimpView.
9639 This is the first step of the great Preview->View renaming process.
9641 * app/actions/palettes-commands.c
9643 * app/display/gimpdisplayshell-layer-select.c
9644 * app/display/gimpnavigationview.c
9646 * app/gui/palette-import-dialog.c
9648 * app/tools/gimppaintoptions-gui.c
9650 * app/widgets/Makefile.am
9651 * app/widgets/gimpaction.c
9652 * app/widgets/gimpactiongroup.c
9653 * app/widgets/gimpbrusheditor.c
9654 * app/widgets/gimpbufferview.c
9655 * app/widgets/gimpcontainerbox.c
9656 * app/widgets/gimpcontainergridview.c
9657 * app/widgets/gimpcontainergridview.h
9658 * app/widgets/gimpdevicestatus.c
9659 * app/widgets/gimpdnd.c
9660 * app/widgets/gimpdockbook.c
9661 * app/widgets/gimpfiledialog.c
9662 * app/widgets/gimpgradienteditor.c
9663 * app/widgets/gimpnavigationpreview.c
9664 * app/widgets/gimpnavigationpreview.h
9665 * app/widgets/gimppaletteeditor.c
9666 * app/widgets/gimppreview-popup.c
9667 * app/widgets/gimppropwidgets.c
9668 * app/widgets/gimpselectioneditor.c
9669 * app/widgets/gimpthumbbox.c
9670 * app/widgets/gimptoolbox-image-area.c
9671 * app/widgets/gimptoolbox-indicator-area.c
9672 * app/widgets/gimptooloptionseditor.c
9673 * app/widgets/gimpviewabledialog.c
9674 * app/widgets/widgets-types.h: changed accordingly.
9676 2004-08-24 Sven Neumann <sven@gimp.org>
9678 * app/widgets/Makefile.am
9679 * app/widgets/widgets-types.h
9680 * app/widgets/gimpmessagebox.[ch]: added new widget GimpMessageBox.
9682 * app/widgets/gimpwidgets-utils.c: use it for message dialogs.
9684 2004-08-23 Sven Neumann <sven@gimp.org>
9686 * app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image): unset
9687 the filename if gtk_file_chooser_set_uri() failed.
9689 * app/actions/file-commands.c
9690 * app/gui/file-save-dialog.c: trivial cleanups.
9692 * app/widgets/gimpwidgets-utils.c: removed an unused extern
9693 variable declaration.
9695 2004-08-23 DindinX <david@dindinx.org>
9697 * app/tools/tools-utils.c: fixed a typo that broke the build.
9699 2004-08-22 Sven Neumann <sven@gimp.org>
9701 * app/tools/Makefile.am
9702 * app/tools/tools-utils.[ch]: added gimp_tool_motion_constrain(),
9704 * app/paint/gimppaintcore.[ch]: removed gimp_paint_core_constrain().
9706 * app/tools/gimppainttool.c: changed accordingly.
9708 * app/tools/gimpblendtool.[ch]: use gimp_tool_motion_constrain()
9709 instead of duplicating that functionality.
9711 * app/tools/gimpmeasuretool.c: use gimp_tool_motion_constrain()
9712 instead of implementing completely different constraints.
9714 2004-08-22 Simon Budig <simon@gimp.org>
9716 * app/vectors/gimpbezierstroke.c: Implemented the ellipse basic
9717 shape differently to avoid possible rounding issues with
9718 the _arcto () command.
9720 * app/vectors/gimpvectors-import.c: properly close the rounded
9723 2004-08-21 Sven Neumann <sven@gimp.org>
9725 * app/vectors/gimpvectors-import.c (parse_svg_transform): support
9726 optional center coordinates for the "rotate" transformations.
9727 (parse_svg_transform): apply transformations in reverse order. The
9728 SVG spec is rather confusing here.
9730 2004-08-21 Sven Neumann <sven@gimp.org>
9732 * app/vectors/gimpbezierstroke.c (gimp_bezier_stroke_arcto): fixed
9733 a bug I introduced with my last commit.
9735 * app/vectors/gimpvectors-import.c: added support for the basic
9736 SVG shape "rect". Fixed handling of SVG lengths in basic shapes.
9738 2004-08-21 Sven Neumann <sven@gimp.org>
9740 * app/vectors/gimpbezierstroke.[ch]: added new function
9741 gimp_bezier_stroke_new_ellipse() that provides a simple API to
9742 create a bezier stroke that represents an ellipse.
9744 * app/vectors/gimpvectors-import.c: added support for the basic
9745 SVG shapes "circle" and "ellipse".
9747 2004-08-21 Simon Budig <simon@gimp.org>
9749 * plug-ins/common/gih.c: Fix some GUI issues. Make the relation
9750 between the dimension parameter and the rank thingies more clear
9751 also changed to a nicer layout.
9753 2004-08-21 Sven Neumann <sven@gimp.org>
9755 * app/vectors/gimpvectors-import.c: added support for the basic
9756 SVG shapes "polyline" and "polygon".
9758 2004-08-21 Sven Neumann <sven@gimp.org>
9760 * app/vectors/gimpvectors-import.c: added support for importing
9761 the basic SVG shape "line". Other shapes will follow...
9763 2004-08-21 Sven Neumann <sven@gimp.org>
9765 * app/actions/layers-actions.[ch]
9766 * app/actions/layers-commands.[ch]
9767 * app/widgets/gimplayertreeview.c: added actions to handle layer
9768 masks as suggested in bug #150446.
9770 * menus/layers-menu.xml: added menu entries for new actions,
9771 commented out raise/lower menu entries.
9773 2004-08-20 Sven Neumann <sven@gimp.org>
9775 * modules/controller_linux_input.c: declare local function as static.
9777 2004-08-19 Michael Schumacher <schumaml@cvs.gnome.org>
9779 * plug-ins/common/guillotine.c: modified the coordinate insertion
9780 into the file name to leave the file extension intact, changed the
9781 format of the coordinates. Fixes bug #101901.
9783 2004-08-18 Manish Singh <yosh@gimp.org>
9785 * app/widgets/gimpcellrendereraccel.c
9786 * app/widgets/gimphistogrambox.c
9787 * plug-ins/gfig/gfig-dialog.c: Get rid of some unnecessary casts.
9789 2004-08-18 Sven Neumann <sven@gimp.org>
9791 * app/gui/color-notebook.c: no need to set a size_request here.
9793 * libgimpwidgets/gimpcolorselection.c: HIG-ified spacings.
9795 * libgimpwidgets/gimpcolorscales.c
9796 * modules/colorsel_cmyk.c: don't set a minimum width on the color
9797 scales. Improves behaviour for narrow color dockables.
9799 2004-08-18 Sven Neumann <sven@gimp.org>
9801 * modules/colorsel_triangle.c: fixed crashes that occured with
9802 small sizes, some code cleanups and a simple optimization.
9804 2004-08-18 Sven Neumann <sven@gimp.org>
9806 * app/widgets/gimphelp-ids.h: define GIMP_HELP_DOCK_SEPARATOR.
9808 * app/widgets/gimpdock.c
9809 * app/widgets/gimpdockable.c: help-ids are never used directly,
9810 use the defines from app/widgets/gimphelp-ids.h instead.
9812 2004-08-17 Simon Budig <simon@gimp.org>
9814 * modules/colorsel_triangle.c: Made the triangle colorselector
9815 resizeable. Removed minimum size request (would probably need some
9816 testing for *very* small sizes though).
9818 2004-08-17 Bill Skaggs <weskaggs@primate.ucdavis.edu>
9820 * app/widgets/gimpdock.c
9821 * app/widgets/gimpdockable.c: add help-ids.
9823 2004-08-17 Sven Neumann <sven@gimp.org>
9825 * app/plug-in/plug-in-progress.c (plug_in_progress_start): reset
9826 the "cancel" signal handler id when a new progress is set.
9828 2004-08-17 Sven Neumann <sven@gimp.org>
9830 * modules/colorsel_cmyk.c: minor cleanups.
9832 * modules/colorsel_water.c: let the widget take the available
9833 space, don't set a minimum size.
9835 2004-08-17 Sven Neumann <sven@gimp.org>
9837 * app/plug-in/plug-in-progress.c
9838 * app/plug-in/plug-in-run.c
9839 * app/plug-in/plug-in.c: don't keep a strong reference to the
9840 GimpProgress object, instead use a weak reference and deal with
9841 the progress being destroyed while the plug-in is running.
9844 2004-08-16 Sven Neumann <sven@gimp.org>
9846 * app/widgets/gimpcolorframe.c (gimp_color_frame_update): fixed
9847 labels in CMYK mode. Fixes bug #150213.
9849 2004-08-16 DindinX <david@dindinx.org>
9851 * plug-ins/common/iwarp.c: fixed a typo preventing the preview to be
9852 redrawn correctly in some case. Reported by AndyFitz.
9854 2004-08-15 Sven Neumann <sven@gimp.org>
9856 * modules/colorsel_triangle.c: minor cleanups.
9858 * modules/colorsel_water.c: GimpPreviewArea seems like overkill
9859 here, use a GtkDrawingArea instead.
9861 2004-08-15 DindinX <david@dindinx.org>
9863 * modules/colorsel_triangle.c
9864 * modules/colorsel_water.c: Replaced the GtkPreviews by
9867 2004-08-14 Manish Singh <yosh@gimp.org>
9869 * libgimpbase/gimpprotocol.c (_gp_params_read): make sure array
9870 length values are not negative, to prevent bad calls to g_new.
9871 Addresses bug #150154.
9873 2004-08-14 Sven Neumann <sven@gimp.org>
9875 * plug-ins/help/Makefile.am: no need to link gimp-help-lookup with
9878 * plug-ins/help/domain.[ch]: allow to specify the location of the
9879 index files independently from the base URL.
9881 * plug-ins/help/help.c: changed accordingly.
9883 * plug-ins/help/gimp-help-lookup.c: added command-line options to
9884 specify base URI and root directory for index files.
9886 2004-08-14 Sven Neumann <sven@gimp.org>
9888 * plug-ins/help/locales.c (locales_parse): don't mess up the order
9891 * plug-ins/help/gimp-help-lookup.c: parse command-line options,
9892 added --help output.
9894 2004-08-14 Sven Neumann <sven@gimp.org>
9896 * plug-ins/help/help.[ch]: moved some defines to the header file.
9898 * plug-ins/help/domain.c: trivial change to remove the libgimpbase
9901 * plug-ins/help/Makefile.am
9902 * plug-ins/help/gimp-help-lookup.c: added a very simple
9903 command-line tool that allows to lookup a help-id.
9905 2004-08-13 DindinX <david@dindinx.org>
9907 * plug-ins/common/edge.c: update the preview when the user choose a
9908 different algorithm from the combo box. This was one of the main
9909 reasons to have a preview here, after all.
9911 2004-08-13 Sven Neumann <sven@gimp.org>
9913 * plug-ins/common/edge.c (edge_dialog): use a combo box instead of
9914 too many radio buttons.
9916 2004-08-12 Michael Natterer <mitch@gimp.org>
9918 * app/widgets/gimpmenufactory.c (gimp_menu_factory_manager_new):
9919 make sure that all actions, even if they have no menu proxy, can
9920 be invoked by their accelerators. Fixes bug #149938.
9922 * app/widgets/gimpimagedock.c (gimp_image_dock_constructor):
9923 removed the same code here.
9925 * app/widgets/gimpactionview.[ch] (gimp_action_view_dispose): new
9926 function which disconnects from "accel_changed" of the accel_group
9927 before upchaining (== before emitting "destroy").
9929 The above changes make this one redundant, but since the crash in
9930 bug #149938 was triggered by "accel_changed" emitted in the middle
9931 of g_object_unref(tree_model), it feels better to be paranoic here
9932 (fiddling with objects in destruction is no fun).
9934 (gimp_action_view_accel_edited): don't warn if assigning the same
9935 accel to the same action again.
9937 (gimp_action_view_new): don't leak all accel_closures.
9939 2004-08-12 DindinX <david@dindinx.org>
9941 * plug-ins/common/edge.c: added a preview.
9943 2004-08-12 Sven Neumann <sven@gimp.org>
9945 * plug-ins/common/sel_gauss.c
9946 * plug-ins/common/unsharp.c: place the preview widget into the
9947 upper left corner like all other plug-ins do.
9949 * plug-ins/help/domain.c: added some (disabled) debug output.
9951 2004-08-12 DindinX <david@dindinx.org>
9953 * plug-ins/common/sel_gauss.c: added a preview.
9955 * plug-ins/common/unsharp.c: removed unused variables.
9957 2004-08-12 Sven Neumann <sven@gimp.org>
9959 * app/actions/context-actions.c: changed the icons to indicate
9960 what part of the context is affected by the action. Looks better
9961 in the shortcut editor.
9963 2004-08-11 Michael Natterer <mitch@gimp.org>
9965 * plug-ins/common/cartoon.c
9966 * plug-ins/common/neon.c
9967 * plug-ins/common/photocopy.c
9968 * plug-ins/common/softglow.c: added four new plug-ins contributed
9969 by Spencer Kimball. Ported them from 1.2 to 2.1 APIs.
9971 * plug-ins/common/plugin-defs.pl: added them here.
9973 * plug-ins/common/mkgen.pl: removed tab insanity now that
9974 libgimpoldpreview is gone.
9976 * plug-ins/common/.cvsignore
9977 * plug-ins/common/Makefile.am: regenerated.
9979 2004-08-11 DindinX <david@dindinx.org>
9981 Bad DindinX! Don't break the build!
9984 * plug-ins/common/mkgen.pl
9985 * plug-ins/common/plugin-defs.pl: removed libgimpoldpreview from
9988 * plug-ins/common/Makefile.am: regenerated.
9990 2004-08-11 DindinX <david@dindinx.org>
9992 Removed the GimpOldPreview stuff. Die, crap, die!
9994 * plug-ins/libgimpoldpreview/*: removed.
9996 * plug-ins/Makefile.am
9997 * plug-ins/common/Makefile.am: changed accordingly.
9999 * plug-ins/common/max_rgb.c
10000 * plug-ins/common/noisify.c
10001 * plug-ins/common/tileit.c: removed last forgotten
10002 #include "libgimpoldpreview.h".
10004 2004-08-11 Michael Natterer <mitch@gimp.org>
10006 * app/widgets/gimpcontainercombobox.[ch]
10007 * app/widgets/gimpcontainertreeview.c: when removing the last item
10008 from the view, manually clear all GimpCellRendererViewables'
10009 "renderer" properties; otherwise we have stale GimpPreviewRenderers
10010 with still-refed viewables hanging around in the cells.
10011 Works around GTK+ bug #149906.
10013 2004-08-11 Michael Natterer <mitch@gimp.org>
10016 * app/core/gimpimagefile.c: converted tabs to spaces, cosmetic
10019 2004-08-11 DindinX <david@dindinx.org>
10021 * plug-ins/common/waves.c: GimpPreviewArea-ified.
10023 2004-08-11 Michael Natterer <mitch@gimp.org>
10025 Restored sane sorting order for menus which are created
10026 entirely by plug-ins (like Xtns/Script-Fu/...).
10028 * app/menus/plug-in-menus.c (plug_in_menus_build_path): made it
10029 return the built path. For each sub-menu created, add a "Menus"
10030 placeholder and a separator. Make sure all sub-menus end up in the
10031 "Menus" placeholder. More readable because we can use the path
10032 returned by the recursive invocation now.
10034 (plug_in_menus_add_proc): simplified by using the path
10035 plug_in_menus_build_path() returns.
10037 2004-08-11 Michael Natterer <mitch@gimp.org>
10039 * app/core/gimpprogress.[ch]: added virtual function
10040 gboolean GimpProgressInterface::is_active().
10042 * app/display/gimpdisplay.c
10043 * app/display/gimpstatusbar.c
10044 * app/widgets/gimpfiledialog.c
10045 * app/widgets/gimpprogressbox.c
10046 * app/widgets/gimpprogressdialog.c
10047 * app/widgets/gimpthumbbox.c: implement it.
10049 * app/plug-in/plug-in.h: removed "gboolean progress_active" and
10050 added "gulong progress_cancel_id" instead.
10052 * app/plug-in/plug-in-progress.c: changed accordingly. Make sure
10053 we correctly handle the "cancel" connections of progress instances
10054 passed from other plug-ins.
10056 2004-08-11 Michael Natterer <mitch@gimp.org>
10058 * app/plug-in/plug-in-message.c
10059 * app/plug-in/plug-in-run.c (plug_in_temp_run)
10060 * libgimp/gimp.c (gimp_temp_proc_run): removed ENABLE_TEMP_RETURN
10061 #define and all code which was in #ifndef ENABLE_TEMP_RETURN.
10063 2004-08-11 Michael Natterer <mitch@gimp.org>
10065 * app/core/gimp-gui.[ch]: added "display_ID" to gimp_new_progress().
10067 * app/gui/gui-vtable.c: changed accordingly.
10069 * app/plug-in/plug-in-progress.[ch]: reenabled showing the
10070 progress in a particular display.
10072 2004-08-11 Michael Natterer <mitch@gimp.org>
10074 * etc/controllerrc: added a commented-out midi controller entry
10075 with some example mappings.
10077 2004-08-11 DindinX <david@dindinx.org>
10079 * plug-ins/common/plasma.c: converted to GimpPreviewArea.
10081 2004-08-11 DindinX <david@dindinx.org>
10083 * plug-ins/common/noisify.c: converted to GimpPreviewArea. Also added
10084 scrollbars to move around. The preview was rather useless without
10087 2004-08-11 Michael Natterer <mitch@gimp.org>
10089 * app/core/gimpdrawable-blend.c
10090 * app/core/gimpprogress.c: some progress cleanup.
10092 * app/display/gimpstatusbar.c (gimp_statusbar_progress_start): no
10093 need to warn if there is already a progress active, just silently
10094 return NULL as all other GimpProgressInterface implementors.
10096 * app/plug-in/plug-in-progress.c: several progress fixes.
10099 * plug-ins/common/url.c: don't show progress depending on
10100 run_mode. Run the actual file plug-in with the same run_mode we
10103 2004-08-11 Sven Neumann <sven@gimp.org>
10105 * app/gui/file-open-location-dialog.c
10106 * app/widgets/gimpprogressbox.c: increased horizontal size request
10107 to reduce resizing.
10109 2004-08-11 Michael Natterer <mitch@gimp.org>
10111 * app/widgets/gimpthumbbox.c (gimp_thumb_box_create_thumbnails):
10112 fixed annoying resizing when thumbnailing exactly one image.
10114 2004-08-11 Michael Natterer <mitch@gimp.org>
10116 * app/widgets/Makefile.am
10117 * app/widgets/widgets-types.h
10118 * app/widgets/gimpprogressbox.[ch]: new GtkVBox subclass featuring
10119 a label and a progressbar. Implements GimpProgressIterface.
10121 * app/widgets/gimpprogressdialog.[ch]: replaced label and progress
10122 by a GimpProgressBox. Delegate most progress functionality to it.
10124 * app/widgets/gimpwidgets-utils.[ch]: factored out utility
10125 function gimp_dialog_set_sensitive().
10127 * app/widgets/gimpfiledialog.c (gimp_file_dialog_set_sensitive):
10130 * app/gui/file-open-location-dialog.c (file_open_location_response):
10131 embed the called file procedure's progress using a GimpProgressBox.
10133 2004-08-10 Michael Natterer <mitch@gimp.org>
10135 * app/widgets/gimpfiledialog.[ch]
10136 (gimp_file_dialog_set_sensitive): new function which works on all
10137 widgets in the dialog except the cancel button.
10139 Remember if the active progress is cancelable and added two
10140 booleans "busy" and "canceled". Added GtkDialog::response()
10141 implementation which, if the dialog is busy, cancels the active
10142 progress and sets the dialog's "canceled" state.
10144 Moved the progress bar right above the action area so it is next
10145 to the cancel button and in the same place for both open and save
10148 * app/gui/file-open-dialog.c
10149 * app/gui/file-save-dialog.c: use the new API to make image loading
10150 and saving cancelable again.
10152 * app/widgets/gimpthumbbox.c: use the same stuff to make
10153 thumbnailing cancelable. Increased the minimum height a bit so it
10154 doesn't resize when the progress bars are shown.
10156 2004-08-10 Michael Natterer <mitch@gimp.org>
10158 Redid the whole internal progress stuff: don't pass around
10159 progress_callback and progress_data; instead, provide a
10160 pointer to a GimpProgressInterface which can be implemented
10161 by a variety of backends.
10163 Addresses (but not yet fixes) bugs #6010, #97266 and #135185.
10165 * app/display/Makefile.am
10166 * app/display/gimpprogress.[ch]: removed the old progress hack.
10168 * app/core/Makefile.am
10169 * app/core/core-types.h
10170 * app/core/gimpprogress.[ch]: implement GimpProgressInterface.
10172 * app/widgets/Makefile.am
10173 * app/widgets/widgets-types.h
10174 * app/widgets/gimpprogressdialog.[ch]: the standalone progress
10175 dialog as widget implementing GimpProgressInterface.
10177 * app/display/gimpdisplay.c
10178 * app/display/gimpstatusbar.[ch]
10179 * app/widgets/gimpfiledialog.[ch]
10180 * app/widgets/gimpthumbbox.[ch]: added GimpProgressInterface
10181 implementation to these classes.
10183 * app/core/gimp-gui.[ch]
10184 * app/gui/gui-vtable.c: replaced the old progress vtable entries
10185 by two new to create and destroy a GimpProgressDialog in case
10186 no other progress is available.
10188 * app/pdb/procedural_db.[ch]
10189 * app/plug-in/plug-in-run.[ch]
10190 * tools/pdbgen/app.pl: pass a GimpProgress to all PDB wrappers and
10193 * app/plug-in/plug-in.[ch]
10194 * app/plug-in/plug-ins.c
10195 * app/plug-in/plug-in-message.c
10196 * app/plug-in/plug-in-progress.c: handle the case there the
10197 plug-in was crated with a progress as well as the case where it
10203 * app/file/file-open.[ch]
10204 * app/file/file-save.[ch]
10205 * app/widgets/gimphelp.c
10206 * app/widgets/gimpbrushselect.c
10207 * app/widgets/gimpfontselect.c
10208 * app/widgets/gimpgradientselect.c
10209 * app/widgets/gimppaletteselect.c
10210 * app/widgets/gimppatternselect.c: changed accordingly.
10212 * app/core/gimpimagefile.[ch]
10213 * app/display/gimpdisplayshell-dnd.c
10214 * app/gui/file-open-dialog.c
10215 * app/gui/file-open-location-dialog.c
10216 * app/gui/file-save-dialog.c
10217 * app/widgets/gimplayertreeview.c
10218 * app/widgets/gimptoolbox-dnd.c: pass a GimpProgress to all file
10219 related functions. Embed the progress in the file dialog where
10222 * app/core/gimpdrawable-blend.[ch]
10223 * app/core/gimpdrawable-transform.[ch]
10224 * app/core/gimpimage-convert.[ch]
10225 * app/core/gimpimage-flip.[ch]
10226 * app/core/gimpimage-resize.[ch]
10227 * app/core/gimpimage-rotate.[ch]
10228 * app/core/gimpimage-scale.[ch]
10229 * app/core/gimpitem-linked.[ch]
10230 * app/core/gimpitem.[ch]
10231 * app/core/gimpchannel.c
10232 * app/core/gimpdrawable.c
10233 * app/core/gimplayer.c
10234 * app/core/gimpselection.c
10235 * app/vectors/gimpvectors.c: replaced callback/data by GimpProgress.
10237 * app/tools/gimpblendtool.c
10238 * app/tools/gimptransformtool.c
10239 * app/gui/convert-dialog.c
10240 * app/actions/documents-commands.c
10241 * app/actions/file-commands.c
10242 * app/actions/image-commands.c
10243 * app/actions/layers-commands.c
10244 * app/actions/plug-in-commands.c
10245 * app/actions/vectors-commands.c
10246 * tools/pdbgen/pdb/convert.pdb
10247 * tools/pdbgen/pdb/edit.pdb
10248 * tools/pdbgen/pdb/image.pdb
10249 * tools/pdbgen/pdb/layer.pdb: changed callers accordingly.
10251 * app/pdb/*_cmds.c: regenerated.
10253 2004-08-10 DindinX <david@dindinx.org>
10255 * plug-ins/common/blinds.c: GimpPreviewArea-ified.
10257 2004-08-10 DindinX <david@dindinx.org>
10259 * plug-ins/common/AlienMap2.c: Ported to GimpPreviewArea, use an enum
10260 for the color model instead of some defines and use gboolean instead
10261 of gint where appropriate.
10263 2004-08-10 Sven Neumann <sven@gimp.org>
10265 * app/core/gimpbrushgenerated.c (gimp_brush_generated_load):
10266 plugged more file descriptor leaks.
10268 2004-08-10 DindinX <david@dindinx.org>
10270 * app/core/gimpbrushgenerated.c: don't leak a file descriptor when
10271 reading a bad .vbr file.
10273 2004-08-10 Sven Neumann <sven@gimp.org>
10275 * plug-ins/common/unsharp.c: don't show progress on the image
10276 window while updating the preview.
10278 2004-08-09 Sven Neumann <sven@gimp.org>
10280 * plug-ins/common/unsharp.c (unsharp_region): reset the progress
10281 when done; some code cleanup.
10283 2004-08-09 DindinX <david@dindinx.org>
10285 * plug-ins/common/unsharp.c: continuously show the (original) image
10286 during a scrollbar movement. This makes it easier to navigate.
10288 2004-08-09 Michael Natterer <mitch@gimp.org>
10290 Applied (slightly modified) patch from Shlomi Fish which adds a
10291 progress bar to the RGB -> INDEXED conversion. Fixes bug #145274
10292 and shows that we really really need a GimpProgressInterface in
10293 the core to give progress users full access to the progress API.
10295 * app/core/gimpimage-convert.[ch]: added special
10296 GimpImageConvertProgress function typedef to cope with the
10297 different stages of converting. Support passing such a callback &
10298 data to gimp_image_convert() and update the progress accordingly.
10300 * app/gui/convert-dialog.[ch]: added a convert progress callback
10301 and pass it to gimp_image_convert().
10303 * app/actions/image-commands.c
10304 * tools/pdbgen/pdb/convert.pdb: changed accordingly.
10306 * app/pdb/convert_cmds.c: regenerated.
10308 2004-08-09 Sven Neumann <sven@gimp.org>
10310 * data/misc/gimp.desktop.in.in: added GenericName and Version,
10311 updated Categories.
10313 2004-08-09 Michael Natterer <mitch@gimp.org>
10315 * app/plug-in/plug-ins.c
10316 (plug_ins_file_register_magic)
10317 (plug_ins_file_register_mime): don't dereference
10318 gimp->current_plug_in->plug_in_def if it's NULL.
10321 (plug_ins_file_register_mime): moved returning the proc_def inside
10322 the right if() statement.
10324 2004-08-09 Hans Breuer <hans@breuer.org>
10326 * app/core/gimp-edit.c (gimp_edit_paste_as_new):
10327 gimp_create_display() with the right parameters order
10329 * app/widgets/gimpwidgets-utils.c (gimp_message_box_set_icons)
10330 handle gtk_style_lookup_icon_set() returnig NULL
10332 * app/gimpcore.def app/widgets/makefile.msc
10333 themes/default/images/makefile.msc : updated
10335 2004-08-09 Sven Neumann <sven@gimp.org>
10337 * plug-ins/common/postscript.c (save_ps_header): use the basename
10338 as Title, not the full filename. Fixes bug #149669.
10340 2004-08-08 Sven Neumann <sven@gimp.org>
10342 * plug-ins/script-fu/siod/sliba.c (array_prin1): when printing a
10343 character array, don't flush the buffer for each byte but wait
10344 until it is filled.
10346 2004-08-08 Sven Neumann <sven@gimp.org>
10348 * plug-ins/script-fu/siod-wrapper.[ch] (siod_output_string): use
10349 g_strdup_vprintf() instead of guessing the string length. Also
10350 declare the function using G_GNUC_PRINTF().
10352 2004-08-08 Bill Skaggs <weskaggs@primate.ucdavis.edu>
10354 * plug-ins/ifscompose/README.ifscompose: fix out of date info,
10355 pointed out by the author.
10357 2004-08-08 Sven Neumann <sven@gimp.org>
10359 * libgimpwidgets/Makefile.am: do not build test-preview-area by
10360 default, put it into EXTRA_PROGRAMS. Fixes parallel builds.
10362 2004-08-08 Michael Natterer <mitch@gimp.org>
10364 * app/plug-in/plug-in-proc.[ch] (plug_in_proc_def_get_sensitive):
10365 new function which checks a GimpImageType against the
10366 proc_def->image_types_val mask.
10368 * app/actions/plug-in-actions.c: use the new function here. Also
10369 separated setting the "Repeat last" and "Reshow last" actions'
10370 labels from setting their sensitivity and made them use the same
10371 sensitivity logic as all other plug-in actions. Fixes bug #149567.
10373 2004-08-07 Simon Budig <simon@gimp.org>
10375 * libgimpwidgets/gimpcolorscales.c: emit the COLOR_CHANGED signal
10376 when the hex entry is changed.
10378 2004-08-07 Sven Neumann <sven@gimp.org>
10380 * app/sanity.c: abort if the configured filename encoding can't be
10381 converted to UTF-8. Fixes bug #149464 for the HEAD branch.
10383 2004-08-07 Sven Neumann <sven@gimp.org>
10385 * libgimp/gimpgradientmenu.c (gimp_gradient_select_preview_expose):
10386 corrected dither offset.
10388 2004-08-07 DindinX <david@dindinx.org>
10390 * plug-ins/common/max_rgb.c: use a GimpPreviewArea instead of
10393 2004-08-07 Sven Neumann <sven@gimp.org>
10395 * libgimp/gimpgradientmenu.c: use a GtkDrawingArea instead of
10398 * libgimp/gimpbrushmenu.c
10399 * libgimp/gimppatternmenu.c: minor cleanup.
10401 2004-08-07 DindinX <david@dindinx.org>
10403 * plug-ins/common/jigsaw.c: ported to GimpPreviewArea, did some
10404 cleanup and removed tabs.
10406 2004-08-07 Sven Neumann <sven@gimp.org>
10408 * configure.in: bumped version number to 2.1.4.
10410 2004-08-07 DindinX <david@dindinx.org>
10412 * plug-ins/common/illusion.c: ported to GimpPreviewArea.
10414 2004-08-07 DindinX <david@dindinx.org>
10416 * libgimpwidgets/gimppreviewarea.c: fixed the rendering for INDEXED
10417 and INDEXEDA image types.
10419 * plug-ins/common/grid.c: ported to GimpPreviewArea.
10421 2004-08-06 DindinX <david@dindinx.org>
10423 * plug-ins/common/glasstile.c: ported to GimpPreviewArea.
10425 2004-08-06 DindinX <david@dindinx.org>
10427 * plug-ins/common/nlfilt.c: ported to GimpPreviewArea.
10429 2004-08-06 Michael Natterer <mitch@gimp.org>
10431 * app/tools/gimptransformtool.h: removed the recently added
10432 "gdouble aspect_ratio"...
10434 * app/tools/gimpscaletool.[ch]: ...and added it where it belongs.
10436 2004-08-06 Michael Natterer <mitch@gimp.org>
10438 Transform tool cleanup:
10440 * app/tools/gimptransformtool.[ch]: added new virtual function
10441 GimpTransformTool::dialog_update().
10442 Made wrapper for ::recalc() public and function
10443 transform_bounding_box() private.
10444 Call ::dialog_update() and transform_bounding_box() from the
10445 ::recalc() wrapper.
10447 * app/tools/gimpperspectivetool.[ch]
10448 * app/tools/gimprotatetool.[ch]
10449 * app/tools/gimpscaletool.[ch]
10450 * app/tools/gimpsheartool.[ch]: turned all info_dialog update
10451 functions into GimpTransformTool::dialog_update() implementations
10452 and don't call them from ::recalc(), also removed calls to
10453 transform_bounding_box(); both functions are called by the parent
10454 class now. Call gimp_transform_tool_recalc() when dialog values
10455 were changed, not the tool's internal function.
10456 Moved all static variables to the instance structs.
10458 2004-08-06 Michael Natterer <mitch@gimp.org>
10460 * app/tools/gimpsheartool.[ch]: applied (modified) patch from Ari
10461 Pollak which enables controlling the shear direction from the
10462 dialog and changing the shear direction without hitting "Reset".
10465 Also moved all static variables to the GimpShearTool struct and
10466 converted tabs to spaces.
10468 2004-08-06 DindinX <david@dindinx.org>
10470 * plug-ins/common/nova.c: ported to GimpPreviewArea.
10472 2004-08-06 Sven Neumann <sven@gimp.org>
10474 * Made 2.1.3 release.
10476 2004-08-06 DindinX <david@dindinx.org>
10478 * plug-ins/common/polar.c: ported to GimpPreviewArea (from
10481 2004-08-06 Sven Neumann <sven@gimp.org>
10483 * libgimpcolor/test-color-parser.c: include <glib-object.h>.
10485 2004-08-06 Sven Neumann <sven@gimp.org>
10487 * plug-ins/common/depthmerge.c:
10488 * plug-ins/common/despeckle.c: removed unused variables.
10490 2004-08-06 DindinX <david@dindinx.org>
10492 * plug-ins/common/flarefx.c: ported to GimpPreviewArea (from
10495 2004-08-06 Sven Neumann <sven@gimp.org>
10497 * plug-ins/twain/Makefile.am (EXTRA_DIST): forgot to remove
10500 2004-08-05 DindinX <david@dindinx.org>
10502 * plug-ins/common/wind.c: ported to GimpPreviewArea (from
10505 2004-08-05 Michael Natterer <mitch@gimp.org>
10507 * app/tools/gimpiscissorstool.c: increased the handle size from 8
10508 to 9 pixels (which is the same as in the path tool) as suggested
10511 2004-08-05 Michael Natterer <mitch@gimp.org>
10513 * app/display/gimpstatusbar.c: make the cursor coordinates label
10514 insensitive when displaying out-of-image coordinates.
10516 2004-08-05 Michael Natterer <mitch@gimp.org>
10518 * app/config/gimprc-blurbs.h (INSTALL_COLORMAP_BLURB):
10519 s/pseudocolor visuals/8-bit (256 colors) displays/.
10522 2004-08-05 Michael Natterer <mitch@gimp.org>
10524 Enabled previewing items without selecting them in all list and
10525 grid views using mouse button 2. Implicitly enables previewing of
10526 items in container popups and thus fixes bug #121011:
10528 * app/widgets/gimppreview.c (gimp_preview_button_press_event)
10529 * app/widgets/gimpcellrendererviewable.c
10530 (gimp_cell_renderer_viewable_clicked): show the preview also on
10531 mouse button 2 click.
10533 * app/widgets/gimpcontainertreeview.c
10534 (gimp_container_tree_view_button_press): dispatch mouse button 2
10535 clicks to GimpCellRendererViewable, but don't select or change
10536 anything in the tree_view.
10540 * app/widgets/gimppreview.c (gimp_preview_button_press_event):
10541 don't offset bevent->x,y by widget->allocation.x,y before calling
10542 gimp_preview_popup_show() ...
10544 * app/widgets/gimppreview-popup.c (gimp_preview_popup_show):
10545 ... instead, do it here generically (check if the parent widget is
10546 GTK_WIDGET_NO_WINDOW()).
10548 2004-08-05 Michael Natterer <mitch@gimp.org>
10550 * libgimpwidgets/gimpintstore.c (gimp_int_store_add_empty):
10551 allocate the empty_iter using g_new0(). Fixes valgrind warnings
10552 about reads from uninitialized memory.
10554 2004-08-05 Michael Natterer <mitch@gimp.org>
10556 * app/actions/context-actions.c: use GTK_STOCK_JUMP_TO for
10557 all "Set" actions (like context-foreground-red-set).
10559 2004-08-05 Michael Natterer <mitch@gimp.org>
10561 * app/tools/gimpscaletool.c
10562 * app/tools/gimptransformtool.h: applied patch from Jordi Gay
10563 (attached to bug #131111) which adds an aspect ratio spinbutton to
10564 the scale dialog and keeps the aspect ratio intact when width or
10565 height are changed using the dialog. Fixes bug #132274.
10567 * app/tools/gimpcroptool.c
10568 * app/tools/gimpscaletool.c: don't set the aspect spinbuttons to
10569 "wrap" and decrease their climb_rate.
10571 2004-08-05 Michael Natterer <mitch@gimp.org>
10573 * app/actions/context-actions.c
10574 * app/actions/context-commands.[ch]
10575 * menus/image-menu.xml.in: added actions, callbacks and menu items
10576 for the brush shape and spikes.
10578 2004-08-04 Simon Budig <simon@gimp.org>
10580 * plug-ins/common/grid.c: changed the default colors for the
10581 first invocation to the current foregroud color which is more
10582 likely to be useful than the blue shades.
10584 2004-08-04 Sven Neumann <sven@gimp.org>
10586 * themes/Default/images/Makefile.am
10587 * themes/Default/images/stock-brush-generated-*-16.png: removed ...
10589 * themes/Default/images/stock-shape-*-16.png: ... and added back
10590 with more generic names.
10592 * libgimpwidgets/gimpstock.[ch]
10593 * app/widgets/gimpbrusheditor.c: changed accordingly.
10595 * app/tools/gimpinkoptions-gui.c: use the new stock icons here as
10598 * app/widgets/Makefile.am
10599 * app/widgets/widgets-types.h
10600 * app/widgets/gimpblobeditor.[ch]: added a simple blob shape
10601 editor widget factored out of app/tools/gimpinkoptions-gui.c.
10603 2004-08-04 Simon Budig <simon@gimp.org>
10605 * app/core/gimpbrushgenerated.c: Enhanced the range of the hardness
10606 parameter to make more soft brushes possible. Please note that this
10607 makes existing generated brushes look more soft. But since people
10608 apparently rarely use more than one or two generated brushes and
10609 these get changed frequently I guess it should be OK.
10611 2004-08-04 Michael Natterer <mitch@gimp.org>
10613 Allow URI drops from apps linked against GLib < 2.4.4 to GIMP
10614 linked against GLib >= 2.4.5. Fixes bug #148140.
10616 * app/core/gimp-utils.[ch]: added gimp_check_glib_version().
10618 * app/widgets/gimpselectiondata.c: added runtime check for GLib
10619 versions that encode file:// URIs correctly (>= 2.4.5). For older
10620 (broken) GLibs, leave the code path as is, for newer (fixed) ones,
10621 perform an additional check if the dropped URI is in the (broken)
10622 escaped-UTF-8 format and convert it to local filename encoding.
10624 * app/gui/gui.c: warn the user that non-ASCII filenames can't
10625 be used when linked against GLib 2.4.4.
10627 2004-08-04 Michael Natterer <mitch@gimp.org>
10629 * app/core/gimp.[ch]: changed member "ProcRecord *last_plug_in"
10630 to "PlugInProcDef *last_plug_in". Added function
10631 gimp_set_last_plug_in() and signal Gimp::last-plug-in-changed.
10633 * app/actions/plug-in-commands.c
10634 * app/plug-in/plug-in-run.c: changed accordingly.
10636 * app/actions/plug-in-actions.c: factored out updating of the
10637 "Reshow Last" and "Rerun Last" actions to a private function.
10638 Connect each "plug-in" action group to Gimp::last-plug-in-changed
10639 and update the actions' label and sensitivity in the
10640 callback. Fixes bug #149139.
10642 2004-08-04 Michael Natterer <mitch@gimp.org>
10644 * app/widgets/gimplayertreeview.c: #include "core/gimpimage-undo.h"
10646 2004-08-04 Manish Singh <yosh@gimp.org>
10648 * configure.in: Really really really really fix WINDRES logic.
10650 2004-08-03 DindinX <david@dindinx.org>
10652 * plug-ins/winicon/icodialog.c: ported to GimpPreviewArea. Still needs
10655 2004-08-03 Michael Natterer <mitch@gimp.org>
10657 * app/widgets/gimpcontainergridview.c
10658 (gimp_container_grid_view_item_context): ref/unref the view around
10659 the calls to gimp_container_view_item_selected() and _item_context()
10660 because the former may destroy the view which leads to a crash
10661 when trying the latter. Fixes bug #148955.
10663 2004-08-03 Michael Natterer <mitch@gimp.org>
10665 * app/core/gimpimage-undo.[ch] (gimp_image_undo_can_compress):
10666 new function which checks if undo compression is possible:
10668 (1) is the image dirty? Fixes bug #148853.
10669 (2) is redo stack empty?
10670 (3) do both the passed undo object_type and undo_type
10671 match the top undo item?
10673 Consistently name the GType and GimpUndoType passed to undo
10674 functions "object_type" and "undo_type" to avoid confusion.
10676 * app/actions/layers-commands.c
10677 * app/tools/gimpeditselectiontool.c
10678 * app/tools/gimptexttool.c
10679 * app/widgets/gimpitemtreeview.c
10680 * app/widgets/gimplayertreeview.c: use the new utility function
10681 instead of checking the above conditions manually.
10683 2004-08-03 Michael Natterer <mitch@gimp.org>
10685 * app/core/gimpbrushgenerated.c (gimp_brush_generated_load): don't
10686 leak the brush's name if parsing the shape fails.
10688 (gimp_brush_generated_dirty): shut up bogus compiler warnings
10689 about uninitialized variables.
10691 2004-08-03 Shlomi Fish <shlomif@iglu.org.il>
10693 * plug-ins/imagemap/imap_preview.c
10694 * plug-ins/imagemap/imap_preview.h: ported to GimpPreviewArea.
10696 2004-08-03 DindinX <david@dindinx.org>
10698 * plug-ins/ifscompose/ifscompose.c: ported to GimpPreviewArea.
10700 2004-08-03 DindinX <david@dindinx.org>
10702 * plug-ins/fp/fp.c: converted to GimpPreviewArea.
10704 2004-08-03 DindinX <david@dindinx.org>
10706 * plug-ins/rcm/rcm_callback.c
10707 * plug-ins/rcm/rcm_dialog.c
10708 * plug-ins/rcm/rcm_misc.c: Ported to GimpPreviewArea.
10710 2004-08-02 Simon Budig <simon@gimp.org>
10712 * app/widgets/gimpbrusheditor.c: Fixed brush spacing for brushes
10713 with >= 2 spikes. Spotted by Joao S. O. Bueno.
10717 2004-08-02 DindinX <david@dindinx.org>
10719 * plug-ins/common/whirlpinch.c: ported to GimpPreviewArea.
10721 2004-08-02 DindinX <david@dindinx.org>
10723 * plug-ins/common/video.c: ported to GimpPreviewArea.
10725 2004-08-02 DindinX <david@dindinx.org>
10727 * plug-ins/common/unsharp.c: ported to GimpPreviewArea. Centered the
10730 2004-08-01 DindinX <david@dindinx.org>
10732 * plug-ins/common/tileit.c: ported to GimpPreviewArea.
10734 2004-08-01 DindinX <david@dindinx.org>
10736 * plug-ins/common/sinus.c: ported to GimpPreviewArea.
10738 2004-08-01 Manish Singh <yosh@gimp.org>
10740 * configure.in: Really really really fix WINDRES logic.
10742 2004-08-01 Manish Singh <yosh@gimp.org>
10744 * plug-ins/common/mkgen.pl: update install-% rule to match newer
10747 * plug-ins/common/Makefile.am: regenerated.
10749 2004-08-01 Manish Singh <yosh@gimp.org>
10751 * configure.in: Really really fix WINDRES logic.
10753 2004-08-01 Manish Singh <yosh@gimp.org>
10755 * configure.in: Really fix WINDRES logic.
10757 2004-08-01 DindinX <david@dindinx.org>
10759 * plug-ins/common/scatter_hsv.c: ported to GimpPreviewArea.
10761 2004-08-01 Hans Breuer <hans@breuer.org>
10763 * app/display/makefile.msc app/widgets/makefile.msc : build
10764 but *dont link* display-enums.obj, widget-enums.obj and
10765 gimpdisplayoptions.obj. They must be in the dll
10766 * app/makefile.msc : build gimp.exe and gimp-console.exe both
10767 using the same gimp-core.dll
10768 * app/gimpcore.def : new file, exports for gimp-core.dll
10769 * app/Makefile.am : added to EXTRA_DIST
10771 * cursors/makefile.msc : new file to create gimp-tool-cursors.h
10772 * cursors/Makefile.am : added to EXTRA_DIST
10774 * **/makefile.msc : updated
10776 * app/main.c app/app_procs.c : moved code to close the console
10777 from the former to the later. It only is to be used if The Gimp
10778 is not build as console app.
10780 * plug-ins/gfig/gfig.c : dont gimp_drawable_detach() the same
10782 * plug-ins/gfig-dialog.c() : added a g_return_if_fail() to avoid
10783 crashing on File/Import
10785 2004-08-01 Simon Budig <simon@gimp.org>
10787 * app/widgets/gimpbrusheditor.c: Fixed oversight that accidentially
10788 reset the number of spikes to 2.
10790 2004-08-01 Simon Budig <simon@gimp.org>
10792 * app/core/gimpbrushgenerated.[ch]: Added optional spikes for
10793 the generated brushes, enabling star shaped generated brushes.
10795 * app/widgets/gimpbrusheditor.[ch]: GUI for this.
10797 * app/core/gimpbrush.c: changed accordingly.
10799 2004-08-01 DindinX <david@dindinx.org>
10801 * plug-ins/common/mapcolor.c
10802 * plug-ins/common/sample_colorize.c: ported to GimpPreviewArea.
10804 * plug-ins/common/newsprint.c: ported to GimpPreviewArea, even though
10805 it should use some pngs instead.
10807 2004-08-01 Michael Schumacher <schumaml@cvs.gnome.org>
10809 * configure.in: modified the checks. hopefully it works on all
10810 platforms this time.
10812 2004-08-01 Michael Schumacher <schumaml@cvs.gnome.org>
10814 * configure.in: move an AM_CONDITIONAL out of an if block
10816 2004-08-01 Michael Schumacher <schumaml@cvs.gnome.org>
10818 * configure.in: added checks for windres. Fixes bug #148443
10819 together with my last commit.
10821 2004-08-01 Michael Schumacher <schumaml@cvs.gnome.org>
10823 * app/Makefile.am: added checks and rules to build and link the
10824 win32 icon resource if the resource compiler windres is found by
10825 configure. First part of a fix for bug #148443.
10827 2004-08-01 Michael Schumacher <schumaml@cvs.gnome.org>
10829 * libgimpwidgets/gimpwidgets.def: added gimp_preview_area_fill
10831 2004-08-01 Shlomi Fish <shlomif@iglu.org.il>
10833 * plug-ins/flame/flame.c: ported to GimpPreviewArea.
10835 2004-08-01 Simon Budig <simon@gimp.org>
10837 * app/core/core-enums.h
10838 * app/core/gimpbrushgenerated.[ch]: Implement three different
10839 brush shapes for generated brushes.
10841 * app/core/gimpbrush.c: changed accordingly.
10842 * app/core/core-enums.c: regenerated.
10844 * app/widgets/gimpbrusheditor.[ch]: Add toggles for the shape.
10845 * themes/Default/images/stock-brush-generated-*-16.png: New stock
10846 icons for the brush shapes.
10848 * themes/Default/images/Makefile.am
10849 * libgimpwidgets/gimpstock.[ch]: changed accordingly
10851 untabified the files touched.
10853 2004-08-01 DindinX <david@dindinx.org>
10855 * plug-ins/common/iwarp.c: ported to GimpPreviewArea.
10857 2004-07-31 DindinX <david@dindinx.org>
10859 * plug-ins/common/gqbist.c: ported to GimpPreviewArea.
10861 2004-07-31 DindinX <david@dindinx.org>
10863 * plug-ins/common/fractaltrace.c: ported to GimpPreviewArea.
10865 2004-07-31 DindinX <david@dindinx.org>
10867 * plug-ins/common/exchange.c: ported to GimpPreviewArea.
10869 2004-07-31 DindinX <david@dindinx.org>
10871 * plug-ins/common/emboss.c: ported to GimpPreviewArea.
10873 2004-07-31 DindinX <david@dindinx.org>
10875 * plug-ins/common/diffraction.c: ported to GimpPreviewArea.
10877 2004-07-31 DindinX <david@dindinx.org>
10879 * plug-ins/common/despeckle.c: use even more GimpPreviewArea's
10882 * plug-ins/common/destripe.c: ported to GimpPreviewArea.
10884 2004-07-31 Shlomi Fish <shlomif@iglu.org.il>
10886 * plug-ins/gflare/gflare.c: ported to GimpPreviewArea.
10888 2004-07-31 DindinX <david@dindinx.org>
10890 * plug-ins/common/despeckle.c: ported to GimpPreviewArea.
10892 2004-07-31 Shlomi Fish <shlomif@iglu.org.il>
10894 * plug-ins/gimpressionist/brush.c
10895 * plug-ins/gimpressionist/orientmap.c
10896 * plug-ins/gimpressionist/paper.c
10897 * plug-ins/gimpressionist/preview.c
10898 * plug-ins/gimpressionist/size.c:
10899 Converted the code from using GtkPreview to GimpPreviewArea.
10901 2004-07-30 Seth Burgess <sjburges@gimp.org>
10903 * plug-ins/common/gauss.c: added some non-interactive modes (if called
10904 from the pdb with RUN_INTERACTIVE).
10906 2004-07-31 Sven Neumann <sven@gimp.org>
10908 * libgimpwidgets/gimpcolorselect.c: minor cleanup.
10910 2004-07-31 Sven Neumann <sven@gimp.org>
10912 * libgimp/gimppatternmenu.c: ported to GimpPreviewArea.
10914 * libgimp/gimpbrushmenu.c: some small changes for consistency.
10916 2004-07-31 Sven Neumann <sven@gimp.org>
10918 * libgimpwidgets/gimppreviewarea.[ch]: added new function
10919 gimp_preview_area_fill().
10921 * libgimpwidgets/test-preview-area.c: added a test for new function.
10923 * libgimp/gimpbrushmenu.c: ported to GimpPreviewArea.
10925 2004-07-31 DindinX <david@dindinx.org>
10927 * plug-ins/common/depthmerge.c: use a GimpPreviewArea instead of a
10928 GtkPreview. Some code cleanup, too.
10930 2004-07-31 Sven Neumann <sven@gimp.org>
10932 * libgimp/gimpmenu.c (gimp_menu_make_preview): use a GtkImage and
10933 a GdkPixbuf instead of the deprecated GtkPreview widget.
10935 2004-07-30 DindinX <david@dindinx.org>
10937 * plug-ins/common/curve_bend.c: Use a GimpPreviewArea instead of
10940 2004-07-30 Sven Neumann <sven@gimp.org>
10942 Applied a bunch of small changes contributed by Tim Mooney to fix
10943 stack corruption on Tru64 and Aix (bug #129867).
10946 * plug-ins/script-fu/Makefile.am: changed the dependency order so
10947 that $(REGEXREPL) is linked earlier.
10949 * regexrepl/regex.[ch]: fixed check for __STDC__, merged upstream
10950 fix for re_max_failures value.
10952 2004-07-30 Sven Neumann <sven@gimp.org>
10954 * configure.in: always do the check for perl and use the
10955 substituted perl executable name in the call for gimp-mkenums.
10956 Fixes the build on platforms where perl is not available as
10957 /usr/bin/perl. Closes bug #148813.
10959 * app/widgets/gimpenumstore.c: added missing include.
10961 2004-07-30 DindinX <david@dindinx.org>
10963 * plug-ins/common/channel_mixer.c: GtkPreview->GtkDrawingArea, plus
10964 some minor code cleanups.
10966 2004-07-30 DindinX <david@dindinx.org>
10968 * plug-ins/common/CML_explorer.c: Transformed one GtkPreview to a
10969 GimpPreviewArea and the other to a simple GtkDrawingArea, since this
10970 makes the code simpler.
10972 2004-07-30 Shlomi Fish <shlomif@iglu.org.il>
10974 * libgimpwidgets/gimppreviewarea.c (gimp_preview_area_draw):
10975 corrected a typo causing mayhem in previews of non-alpha grayscale
10976 images. Fixes bug #148873.
10978 2004-07-30 Sven Neumann <sven@gimp.org>
10980 * plug-ins/common/ccanalyze.c (fillPreview): optimized preview
10981 filling a little bit, removed trailing whitespace.
10983 2004-07-30 DindinX <david@dindinx.org>
10985 * plug-ins/common/ccanalyze.c: converted to use a GimpPreviewArea,
10986 and some small cleanups (g_malloc to g_new, removing tabs)
10988 2004-07-30 Sven Neumann <sven@gimp.org>
10990 * libgimpwidgets/gimppreviewarea.c (gimp_preview_area_draw):
10991 optimized alpha blending.
10993 2004-07-30 Sven Neumann <sven@gimp.org>
10995 Applied a bunch of AIX portability fixes (bug #148813):
10997 * configure.in: when testing for Xmu library, link with -lXt -lX11.
10999 * app/gui/tips-parser.c
11000 * app/gui/user-install-dialog.c
11001 * app/tools/tools-enums.h
11002 * app/widgets/gimpdasheditor.c
11003 * app/widgets/widgets-enums.h
11004 * libgimpthumb/gimpthumb-error.h
11005 * libgimpwidgets/gimpcolorbutton.c
11006 * plug-ins/common/edge.c: removed trailing commas from enums.
11008 * plug-ins/common/snoise.c: renamed defines to avoid collision
11009 with system headers.
11011 * plug-ins/imagemap/imap_cmd_move.c: no C++ style comments.
11013 * app/paint-funcs/paint-funcs-generic.h
11014 * app/paint-funcs/paint-funcs.c: use integers for bit fields.
11016 2004-07-30 Sven Neumann <sven@gimp.org>
11018 * plug-ins/common/bumpmap.c: removed preview code that isn't used
11021 2004-07-30 DindinX <david@dindinx.org>
11023 * plug-ins/common/bumpmap.c: use GimpPreviewArea instead of
11024 GtkPreview (which leads to much simpler code)
11026 2004-07-29 Sven Neumann <sven@gimp.org>
11028 * libgimpwidgets/gimppreviewarea.c: only invalidate the buffer
11029 on size_allocate; allocate a new one on the next call to
11030 gimp_preview_area_draw(). Fixed buffer offset in expose method.
11032 * libgimpwidgets/Makefile.am
11033 * libgimpwidgets/test-preview-area.c: more a benchmark than a
11034 test; quite similar to testrgb from the GTK+ source tree.
11036 2004-07-29 DindinX <david@dindinx.org>
11038 * plug-ins/FractalExplorer/Dialogs.c: converted all GtkPreview
11039 widgets to GimpPreviewArea.
11041 2004-07-29 Michael Natterer <mitch@gimp.org>
11043 * libgimpmodule/gimpmoduledb.c: converted tabs to spaces, removed
11044 unused #if 0'ed prototype and unused #includes, minor cleanups.
11046 2004-07-29 Shlomi Fish <shlomif@iglu.org.il>
11048 * plug-ins/gimpressionist/*.[ch]: normalized the names of the fields
11049 of gimpressionist_vals_t.
11051 2004-07-29 Sven Neumann <sven@gimp.org>
11053 * libgimpwidgets/Makefile.am
11054 * libgimpwidgets/gimpwidgets.def
11055 * libgimpwidgets/gimpwidgets.h
11056 * libgimpwidgets/gimpwidgetstypes.h
11057 * libgimpwidgets/gimppreviewarea.[ch]: added GimpPreviewArea, a
11058 replacement for GtkPreview, loosely based on patches from Geert
11059 Jordaens and David Odin. Fixes bug #144759.
11061 * plug-ins/common/sharpen.c: use the new widget instead of a
11062 GtkPreview; saves about 100 lines of rather complex code :)
11064 2004-07-29 Michael Natterer <mitch@gimp.org>
11066 * etc/controllerrc: changed default configuration of the keyboard
11067 controller: scroll the display one step on cursor_key, scroll by
11068 one page on <shift>+cursor_key and scroll to top/bottom/left/right
11069 on <control>+cursor_key. Fixes bug #53988.
11071 Moved the old opacity-modifying actions to <alt>+cursor_key.
11073 2004-07-29 Michael Natterer <mitch@gimp.org>
11075 Replaced the concept of having a boolean indicating if an undo
11076 step dirties the image by a bitfield indicating which parts
11077 of the image are dirtied:
11079 * app/core/core-enums.[ch]: reordered two values in enum
11080 GimpUndoType, added GIMP_DIRTY_IMAGE_SIZE to enum GimpDirtyMask.
11082 The values of GimpDirtyMask are still questionable and will
11085 * app/core/gimpimage.[ch]: removed signal "undo_start" and added
11086 a GimpDirtyMask parameter to the "dirty" and "clean" signals.
11088 * app/core/gimpimage-undo.[ch] (gimp_image_undo_push): replaced
11089 "gboolean dirties_image" by "GimpDirtyMask dirty_mask" and pass
11090 it to gimp_image_dirty().
11092 (gimp_image_undo_group_start): added *ugly* code which tries to
11093 figure GimpDirtyMask from the group's GimpUndoType and store it in
11094 the GimpUndoGroup. Call gimp_image_dirty() instead of the removed
11095 gimp_image_undo_start(). This means the undo group now dirties the
11096 image just like one of its undo steps, but that's no problem since
11097 undoing cleans it in the same way.
11099 * app/core/gimpundo.[ch]: s/dirties_image/dirty_mask/g
11101 (gimp_undo_pop): emit clean/dirty signals *before* performing the
11102 actual undo step so listeners can detach from the image before it
11103 is changed by undo.
11105 * app/core/gimpimage-undo-push.c (gimp_image_undo_push_*): pass a
11106 GimpDirtyMask instead of TRUE/FALSE to gimp_image_undo_push().
11108 * app/core/gimpimagemap.[ch]: removed "gboolean interactive"
11109 because it makes no sense to use GimpImageMap noninteractively.
11110 Don't freeze()/thaw() undo while the image_map is active which
11111 fixes many ways of trashing the image's undo state but probably
11112 introduces new ways of doing evil things.
11114 * app/display/gimpdisplay-foreach.c
11115 * app/display/gimpdisplayshell-handlers.c: changed according
11116 to the GimpImage::clean()/dirty() signal changes. Small fixes
11117 in the quit dialog's dirty image container.
11119 * app/tools/gimptoolcontrol.[ch]: added member and API to
11120 set/get the dirty_mask.
11122 * app/tools/gimpcroptool.c
11123 * app/tools/gimpimagemaptool.c
11124 * app/tools/gimpiscissorstool.c
11125 * app/tools/gimptexttool.c
11126 * app/tools/gimptransformtool.c: whenever setting "preserve" to
11127 FALSE, also set a "dirty_mask" which specifies on which image
11128 changes the tool wants to be canceled.
11130 * app/tools/tool_manager.c: removed "undo_start" connection and
11131 connect to both "dirty" *and* "clean" to check if the active_tool
11132 needs to be canceled. Cancel the tool only if the dirty_mask
11133 passed in the signal has common bits with the tool's dirty_mask.
11135 Fixes bug #109561 and probably opens some new ones...
11137 2004-07-29 Michael Schumacher <schumaml@cvs.gnome.org>
11140 * libgimp/gimpui.def: added some missing symbols
11142 2004-07-29 Sven Neumann <sven@gimp.org>
11144 * libgimpbase/gimpbase.def: added new symbols.
11146 2004-07-29 Michael Natterer <mitch@gimp.org>
11148 Added support for motion event history as provided by some input
11149 device drivers. If you have a tablet driver supporting this,
11150 please try and report back.
11152 * app/display/gimpdisplayshell.h (struct GimpDisplayShell): added
11153 member "guint32 last_motion_time".
11155 * app/display/gimpdisplayshell-callbacks.c
11156 (gimp_display_shell_tool_events): remember the last_motion_time on
11157 button_press() and after motion() and ask the current device for
11158 its motion history; in motion(), if the active_tool asks for exact
11159 motions, check if the input device recorded a motion history and
11160 process the history instead of the motion event.
11162 (gimp_display_shell_get_time_coords): new utility function which
11163 gets GimpCoords from a GdkTimeCoord struct as used by the motion
11166 2004-07-29 Shlomi Fish <shlomif@iglu.org.il>
11168 * plug-ins/gimpressionist/repaint.c: converted a multiple if into
11171 2004-07-29 Sven Neumann <sven@gimp.org>
11173 * app/core/core-enums.h: removed enums GimpImageType and
11174 GimpImageBaseType ...
11176 * libgimpbase/gimpbaseenums.h: ... and added them here. Also moved
11177 all enums from gimpbasetypes.h to this new file.
11179 * libgimpbase/Makefile.am
11180 * tools/pdbgen/Makefile.am: changed accordingly.
11182 * app/core/core-enums.c
11183 * libgimp/gimpenums.h
11184 * libgimpbase/gimpbaseenums.c
11185 * tools/pdbgen/enums.pl: regenerated.
11187 * libgimpbase/gimpparasite.c
11188 * libgimpbase/gimpprotocol.c
11189 * libgimp/gimp.c: include <glib-object.h>
11191 * libgimpbase/gimpbasetypes.[ch]: added API to set and get a
11192 translation domain on a GType. This is used for translatable enum
11195 * libgimpbase/gimputils.[ch]: added API to retrieve the translated
11196 name for an enum value.
11198 * app/widgets/gimpenumstore.c
11199 * app/widgets/gimpenumwidgets.c: use the new API in libgimpbase.
11201 2004-07-29 Sven Neumann <sven@gimp.org>
11203 * libgimp/gimpdrawable.c: fixed gtk-doc comments.
11205 2004-07-29 Dave Neary <bolsh@gimp.org>
11207 * app/core/gimpdrawable-transform.c: Stop signed ints overflowing
11208 while getting the mean by replacing (a + b) / 2 with a / 2 + b / 2.
11209 Fixes bug #128594 for drawables less than 32K wide.
11211 2004-07-29 Michael Natterer <mitch@gimp.org>
11213 * app/gui/preferences-dialog.c: renamed "Cleared saved foobar now"
11214 buttons to "Reset saves foobar to default values". Fixes bug #5673.
11215 Added mnemonics for all the configure/save/reset buttons.
11217 2004-07-29 Sven Neumann <sven@gimp.org>
11219 * plug-ins/script-fu/script-fu-scripts.c (script_fu_free_script):
11220 applied patch by Kevin Cozens that moves a g_free() to the right
11221 place (bug #148729).
11223 2004-07-28 Michael Natterer <mitch@gimp.org>
11225 * app/actions/actions.c (action_groups): register the
11226 GIMP_STOCK_VISIBLE icon with the "view" action group.
11228 2004-07-28 Shlomi Fish <shlomif@iglu.org.il>
11230 * plug-ins/gimpressionist/brush.c: removed a redundant parameter
11231 from one of the internal functions.
11232 * plug-ins/gimpressionist/utils.c: Made sure that resources that
11233 are selected by the presets will position their list views
11236 2004-07-28 Sven Neumann <sven@gimp.org>
11238 * autogen.sh: if the check for libtoolize fails, try glibtoolize.
11240 2004-07-28 Shlomi Fish <shlomif@iglu.org.il>
11242 * plug-ins/gimpressionist/presets.c: created a base function for
11243 two functions with duplicate code.
11245 2004-07-28 Sven Neumann <sven@gimp.org>
11247 * plug-ins/imagemap/imap_default_dialog.c: no need to include
11248 "libgimp/stdplugins-intl.h" here.
11250 2004-07-28 Michael Natterer <mitch@gimp.org>
11252 * app/gui/preferences-dialog.c (prefs_dialog_new): reordered
11253 buttons in the Interface -> Keyboard Shortcuts section to be
11254 consistent with other sections which provide configure/save/clear
11257 2004-07-28 Michael Natterer <mitch@gimp.org>
11259 * app/tools/gimpbycolorselecttool.c (gimp_by_color_select_tool_init)
11260 * app/tools/gimpcolorpickertool.c (gimp_color_picker_tool_init):
11261 don't call gimp_tool_control_set_preserve (tool->control, FALSE)
11262 because these tools don't cache any image state and don't care
11263 about the image changing under their feet.
11265 2004-07-28 Michael Natterer <mitch@gimp.org>
11267 * app/display/gimpdisplayshell.c (gimp_display_shell_reconnect):
11268 emit "reconnect" *before* emitting scale and scroll events so
11269 listeners (the navigation view) can switch to the new image at the
11272 2004-07-28 Sven Neumann <sven@gimp.org>
11274 Applied a patch from Brion Vibber that makes the TWAIN plug-in
11275 available on Mac OS X (bug #147962):
11278 * plug-ins/Makefile.am: check for Mac OS X twain support.
11280 * plug-ins/twain/Makefile.am
11281 * plug-ins/twain/tw_local.h
11282 * plug-ins/twain/tw_mac.c
11283 * plug-ins/twain/tw_platform.h
11284 * plug-ins/twain/tw_win.c: new files with platform specific code.
11286 * plug-ins/twain/README
11287 * plug-ins/twain/tw_dump.[ch]
11288 * plug-ins/twain/tw_func.[ch]
11289 * plug-ins/twain/tw_util.[ch]
11290 * plug-ins/twain/twain.c: changed accordingly.
11292 * plug-ins/twain/gimp-twain.png: twain application icon used by
11295 * plug-ins/twain/tw_sess.c: removed, doesn't seem to be used.
11297 2004-07-28 Michael Natterer <mitch@gimp.org>
11299 * tools/pdbgen/pdb/image.pdb (image_is_dirty): fix typo in
11300 parameter description.
11302 * app/pdb/image_cmds.c
11303 * libgimp/gimpimage_pdb.c: regenerated.
11305 2004-07-28 DindinX <david.odin@cpe.fr>
11307 * plug-ins/common/unsharp.c: Added a toggle button to enable/disable
11308 preview updating. Should fix #144972.
11310 2004-07-28 DindinX <david.odin@cpe.fr>
11312 * plug-ins/common/shift.c
11313 * plug-ins/common/sinus.c
11314 * plug-ins/common/snoise.c
11315 * plug-ins/common/spheredesigner.c: added missing calls to
11316 g_rand_free (), remove tabs while I was at it.
11318 * plug-ins/common/smooth_palette.c: minor cleanup
11320 * plug-ins/common/spread.c: removed tabs.
11322 2004-07-28 Michael Natterer <mitch@gimp.org>
11324 * app/core/core-enums.h: added still unused flags type
11327 * app/base/Makefile.am
11328 * app/core/Makefile.am
11329 * app/display/Makefile.am
11330 * app/paint/Makefile.am
11331 * app/text/Makefile.am
11332 * app/tools/Makefile.am
11333 * app/widgets/Makefile.am
11334 * libgimpthumb/Makefile.am: changed calls to gimp-mkenums to
11335 support GTypeFlags and to make the value arrays private to the
11336 get_type() functions.
11338 * app/base/base-enums.c
11339 * app/core/core-enums.c
11340 * app/display/display-enums.c
11341 * app/paint/paint-enums.c
11342 * app/text/text-enums.c
11343 * app/tools/tools-enums.c
11344 * app/widgets/widgets-enums.c: regenerated.
11346 2004-07-28 Michael Natterer <mitch@gimp.org>
11348 * app/paint/gimpclone.c: converted tabs to spaces.
11350 2004-07-28 DindinX <david.odin@cpe.fr>
11352 * plug-ins/common/spread.c: fix a smallish memory leak.
11354 2004-07-28 Sven Neumann <sven@gimp.org>
11356 * tools/gimp-mkenums: synced with glib-mkenums (execept for the
11357 newly added template feature).
11359 2004-07-28 Michael Natterer <mitch@gimp.org>
11361 * libgimp/gimpbrushselect.c
11362 * libgimp/gimpfontselect.c
11363 * libgimp/gimpgradientselect.c
11364 * libgimp/gimppalettemenu.c
11365 * libgimp/gimppaletteselect.c
11366 * libgimp/gimppatternselect.c (gimp_*_select_destroy): don't
11367 leak the selected object's name and its data (brush mask etc).
11369 * libgimp/gimpfontmenu.c: moved the icon to the left side of the
11372 * libgimp/gimppalettemenu.c: ditto. Added "Since: GIMP 2.2" to
11375 2004-07-28 Michael Natterer <mitch@gimp.org>
11377 * app/widgets/gimpactiongroup.c
11378 (gimp_action_group_set_action_label): forgot to strip mnemonics
11381 2004-07-28 Michael Natterer <mitch@gimp.org>
11383 Enabled disabling all menu mnemonics. Addresses bug #120034:
11385 * app/config/gimpguiconfig.[ch]
11386 * app/config/gimprc-blurbs.h: added boolean RESTART property
11389 * app/gui/preferences-dialog.c: added a GUI for it.
11391 * app/widgets/gimpactiongroup.[ch]: added boolean CONSTRUCT_ONLY
11392 property "mnemonics".
11394 (gimp_action_group_add_*_actions): call gimp_strip_uline() on
11395 the actions' labels if mnemonics is FALSE.
11397 * app/widgets/gimpactionfactory.[ch]
11398 * app/actions/actions.c: pass gui_config->menu_menmonics to
11401 2004-07-27 Sven Neumann <sven@gimp.org>
11403 * menus/image-menu.xml.in: commented out "Context" menu now that
11404 we have a shortcut editor.
11406 2004-07-27 Sven Neumann <sven@gimp.org>
11408 * app/core/gimpgradient-load.c: don't leak empty SVG gradients.
11410 2004-07-27 Sven Neumann <sven@gimp.org>
11412 * app/actions/image-commands.c: include "libgimpbase/gimpbase.h",
11413 not an individual header out of libgimpbase.
11415 2004-07-27 Sven Neumann <sven@gimp.org>
11417 * libgimpbase/Makefile.am
11418 * libgimpbase/gimpbase.h
11419 * libgimpbase/gimpbase.def
11420 * libgimpbase/gimpmemsize.[ch]: added new files with memsize
11421 related functions (moved here from gimputil.c) and
11422 GIMP_TYPE_MEMSIZE (moved here from app/config/gimpconfig-types.[ch]).
11424 * libgimpbase/gimputils.[ch]: removed gimp_memsize_to_string() here.
11426 * libgimpbase/gimpunit.[ch]: added GIMP_TYPE_UNIT (moved here from
11427 app/config/gimpconfig-types.[ch]).
11429 * libgimpbase/gimpbase-private.c
11430 * libgimp/gimptile.c
11431 * libgimp/gimpunitcache.c
11432 * plug-ins/help/domain.c
11433 * app/xcf/xcf-read.c: need to include glib-object.h.
11435 * plug-ins/common/uniteditor.c: use GIMP_TYPE_UNIT.
11437 * app/config/gimpconfig-types.[ch]: removed code that lives in
11440 * app/config/gimpconfig-deserialize.c: changed accordingly.
11442 * app/config/gimpbaseconfig.c
11443 * app/config/gimpdisplayconfig.c
11444 * app/core/gimpcontext.c
11445 * app/gui/grid-dialog.c
11446 * app/tools/gimpcolortool.c
11447 * app/widgets/gimpaction.c
11448 * app/widgets/gimpunitstore.c: no need to include gimpconfig-types.h
11451 004-07-27 Michael Natterer <mitch@gimp.org>
11453 * libgimp/Makefile.am
11456 * libgimp/gimppalettemenu.[ch]
11457 * libgimp/gimppaletteselect.[ch]: added palette select wrapper and
11458 widget (straight copy & string replace of the font select stuff).
11461 * plug-ins/script-fu/script-fu-enums.h
11462 * plug-ins/script-fu/script-fu-scripts.c
11463 * plug-ins/script-fu/siod-wrapper.c: added SF_PALETTE so it can
11464 be used in scripts.
11466 * plug-ins/script-fu/scripts/test-sphere.scm: added a palette
11467 parameter to the test script.
11469 2004-07-27 Michael Natterer <mitch@gimp.org>
11471 * app/core/gimpimage.c (gimp_image_finalize): remove the image
11472 from the image hash table and set its "gimp" pointer to NULL
11473 *after* all layers, channels, vectors and the selection are
11474 finalized; otherwise these items have no chance of removing
11475 themselves from the item hash table (because image->gimp is
11476 already NULL). Spotted by pgimeno and nomis.
11477 (should be backported after it got some testing)
11479 2004-07-27 Sven Neumann <sven@gimp.org>
11481 * app/widgets/gimpfiledialog.c (gimp_file_dialog_new): string change.
11483 2004-07-27 Michael Natterer <mitch@gimp.org>
11485 * app/widgets/gimpfiledialog.c (gimp_file_dialog_set_uri): make
11486 sure we always set a non-null URI.
11488 2004-07-27 Sven Neumann <sven@gimp.org>
11490 * app/widgets/gimphelp-ids.h removed unused help IDs
11491 GIMP_HELP_FILE_OPEN_XCF and GIMP_HELP_FILE_SAVE_XCF. The help IDs
11492 for these entries are generated from the procedure names.
11494 2004-07-27 Sven Neumann <sven@gimp.org>
11496 * app/widgets/gimphelp.c (gimp_help): print the help-id and
11497 help-domain to stdout if gimp was started with the --verbose
11498 command-line option.
11500 2004-07-27 Sven Neumann <sven@gimp.org>
11502 * app/widgets/gimpfiledialog.c (gimp_file_dialog_add_filters):
11503 show extensions in the filters menu. Is this a good idea at all?
11505 2004-07-27 Sven Neumann <sven@gimp.org>
11507 * libgimp/gimpbrushmenu.c
11508 * libgimp/gimppatternmenu.c: attempt to make the brush and pattern
11509 selectors look less like buttons (supposed to fix bug #147777).
11511 2004-07-27 Sven Neumann <sven@gimp.org>
11513 * libgimpwidgets/gimpcolorhexentry.c (gimp_color_hex_entry_events):
11514 also accept the short hexadecimal notation (3 hex digits).
11516 2004-07-26 Sven Neumann <sven@gimp.org>
11518 * libgimpwidgets/Makefile.am (libgimpwidgetsinclude_HEADERS):
11521 2004-07-26 Sven Neumann <sven@gimp.org>
11523 * app/widgets/Makefile.am
11524 * app/widgets/gimpcellrenderertoggle.[ch]: moved to libgimpwidgets.
11526 * app/widgets/gimpcomponenteditor.c
11527 * app/widgets/gimpcontainertreeview.c
11528 * app/widgets/gimpitemtreeview.c
11529 * app/widgets/gimplayertreeview.c
11530 * app/widgets/gimptoolview.c
11531 * app/widgets/widgets-types.h: changed accordingly.
11533 * libgimpwidgets/Makefile.am
11534 * libgimpwidgets/gimpwidgets.def
11535 * libgimpwidgets/gimpwidgets.h
11536 * libgimpwidgets/gimpwidgetsmarshal.list
11537 * libgimpwidgets/gimpwidgetstypes.h
11538 * libgimpwidgets/gimpcellrenderertoggle.[ch]: custom toggle cell
11539 renderer moved here from app/widgets.
11541 * libgimpwidgets/gimpcellrenderercolor.[ch]: unified code with the
11542 new toggle cell renderer.
11544 2004-07-26 Michael Natterer <mitch@gimp.org>
11546 * app/pdb/procedural_db.[ch] (procedural_db_free_data): new
11547 function which clears the whole list of data set by plug-ins.
11549 (procedural_db_free): use it.
11551 * app/actions/plug-in-actions.c
11552 * app/actions/plug-in-commands.[ch]: added action, callback and
11553 confirmation dialog for "Reset all filters to default values".
11554 Somehow addresses bug #81015.
11556 * app/widgets/gimphelp-ids.h: added a help ID for the new action.
11558 * menus/image-menu.xml.in: added it to the "Filters" submenu.
11560 2004-07-26 Sven Neumann <sven@gimp.org>
11562 * libgimpwidgets/gimpcellrenderercolor.c
11563 (gimp_cell_renderer_color_get_size): fine-tuning.
11565 2004-07-26 Michael Natterer <mitch@gimp.org>
11567 * app/config/gimpconfig-types.h: removed GIMP_TYPE_COLOR.
11569 * app/config/gimpconfig-params.[ch]: renamed GimpParamSpecColor
11570 to GimpParamSpecRGB.
11572 * app/config/gimpconfig-deserialize.c
11573 * app/config/gimpconfig-dump.c
11574 * app/config/gimpconfig-serialize.c
11575 * app/config/gimpscanner.c
11576 * app/core/gimp-utils.c
11577 * app/core/gimpcontext.c
11578 * app/core/gimpgrid.c
11579 * app/display/gimpdisplayoptions.c
11580 * app/text/gimptext.c
11581 * app/tools/gimpcolortool.c
11582 * app/widgets/gimpaction.c
11583 * app/widgets/gimpcolorbar.c
11584 * app/widgets/gimppropwidgets.c: changed accordingly.
11586 2004-07-26 Shlomi Fish <shlomif@iglu.org.il>
11588 * plug-ins/gimpressionist/: added a de-allocation to the PPM's
11589 allocated by the size map dialog.
11591 2004-07-26 Sven Neumann <sven@gimp.org>
11593 * app/core/gimpgradient-load.c: load all linear gradients from an
11594 SVG file, not only the first one.
11596 2004-07-26 Michael Natterer <mitch@gimp.org>
11598 * app/core/gimpdatafactory.h: added "gboolean writable" to the
11599 GimpDataFactoryLoaderEntry struct. Return a GList* instead of
11600 GimpData* from GimpDataLoadFunc so it's possible to load more than
11601 one data object from one file.
11603 * app/core/gimpdatafactory.c (gimp_data_factory_load_data):
11604 changed accordingly: add all items of the returned lists to the
11605 data factory. Make the data object writable only if it's in the
11606 writable path *and* its loader entry says it's a writable format
11607 *and* the returned list contains exactly one element.
11609 * app/core/gimp.c (gimp_real_initialize): declare all loader
11610 entries as writable where we have code to read and write exactly
11611 one object per file; all others are not writable.
11613 * app/core/gimpbrush.[ch]
11614 * app/core/gimpbrushgenerated.[ch]
11615 * app/core/gimpbrushpipe.[ch]
11616 * app/core/gimpgradient-load.[ch]
11617 * app/core/gimppalette.[ch]
11618 * app/core/gimppattern.[ch] (all load functions): return a list
11619 containing the loaded object instead of the object itself.
11621 2004-07-26 Sven Neumann <sven@gimp.org>
11623 * libgimpwidgets/Makefile.am
11624 * libgimpwidgets/gimpwidgets.def
11625 * libgimpwidgets/gimpwidgets.h
11626 * libgimpwidgets/gimpwidgetstypes.h
11627 * libgimpwidgets/gimpcellrenderercolor.[ch]: added a GimpRGB cell
11630 * libgimpwidgets/gimpcolorarea.[ch]: exported the function that
11631 renders the color to a buffer for internal use in libgimpwidgets.
11633 * libgimpwidgets/gimpcolorhexentry.c: use the new cell renderer
11634 for the completion popup.
11636 2004-07-26 Sven Neumann <sven@gimp.org>
11638 * libgimpcolor/gimpcolor.def
11639 * libgimpwidgets/gimpwidgets.def: added new symbols.
11641 2004-07-26 Sven Neumann <sven@gimp.org>
11643 * libgimpcolor/gimprgb.[ch]: register GimpRGB as a boxed type.
11645 * libgimpcolor/gimpadaptivesupersample.c
11646 * libgimpcolor/gimpcolorspace.c
11647 * libgimpcolor/gimprgb-parse.c
11648 * libgimp/gimp.h: include <glib-object.h> instead of <glib.h>.
11650 2004-07-26 Shlomi Fish <shlomif@iglu.org.il>
11652 * plug-ins/gimpressionist/: placed all the orientation map-related
11653 public functions in orientmap.h. Now we're freeing the PPM's that it
11654 is allocating by a call to orientation_map_free_resources().
11656 2004-07-26 Michael Natterer <mitch@gimp.org>
11658 * app/core/core-types.h: removed unused typedef
11659 GimpDataObjectLoaderFunc.
11661 2004-07-26 Sven Neumann <sven@gimp.org>
11663 * libgimpcolor/gimprgb-parse.c
11664 * libgimpcolor/gimprgb.h: added new function gimp_rgb_list_names()
11665 that gives access to the list of SVG color keywords.
11667 * libgimpwidgets/Makefile.am
11668 * libgimpwidgets/gimpwidgets.h
11669 * libgimpwidgets/gimpwidgetstypes.h
11670 * libgimpwidgets/gimpcolorhexentry.[ch]: added new widget that
11671 allows to enter colors in hex notation or by using color names.
11673 * libgimpwidgets/gimpcolorscales.c: use a GimpColorHexEntry.
11675 2004-07-26 Michael Natterer <mitch@gimp.org>
11677 * app/tools/gimpeditselectiontool.[ch]: renamed init_edit_selection()
11678 to gimp_edit_selection_tool_start(). Removed enum EditType.
11680 * app/tools/tools-enums.h: added enum GimpTranslateMode instead.
11682 * app/tools/gimpmovetool.c: changed accordingly.
11684 * app/tools/gimpselectiontool.[ch]: added protected utility
11685 function gimp_selection_tool_start_edit().
11687 * app/tools/gimpfreeselecttool.c
11688 * app/tools/gimpfuzzyselecttool.c
11689 * app/tools/gimprectselecttool.c: use the new function instead of
11690 duplicating the same code three times, don't include
11691 "gimpeditselectiontool.h".
11693 * app/tools/gimpiscissorstool.c: don't include
11694 "gimpeditselectiontool.h".
11696 2004-07-26 Michael Natterer <mitch@gimp.org>
11698 * app/tools/gimpeditselectiontool.c: don't freeze()/thaw() the
11699 image's undo to prevent live-movement from ending up on the undo
11700 stack. Instead, just stop pushing undo steps after the initial
11701 movement. Simplifies edit_select's undo code quite a bit and fixes
11704 2004-07-26 Sven Neumann <sven@gimp.org>
11706 * libgimpwidgets/gimpcolorscales.c (gimp_color_scales_hex_events):
11707 accept SVG color names in the hex entry. Not very intuitive but
11708 probably a nice experts feature and it can be improved later.
11710 2004-07-26 Michael Natterer <mitch@gimp.org>
11712 * app/main.c (main): use #ifdef GIMP_UNSTABLE instead of looking
11713 at GIMP_MINOR_VERSION.
11715 * app/app_procs.c: don't #include "tools/gimp-tools.h".
11717 2004-07-26 Sven Neumann <sven@gimp.org>
11719 * plug-ins/bmp/bmp.h
11720 * plug-ins/bmp/bmpread.c: applied a patch by Brion Vibber that
11721 fixes extra data overflow, nonstandard 16bpp field arrangement
11722 and unrecognized compression (bug #143682).
11724 2004-07-25 Bill Skaggs <weskaggs@primate.ucdavis.edu>
11726 * plug-ins/common/decompose.c: clamp results of LAB decomposition
11727 so that out-of-gamut conversions do not overflow and get badly
11728 distorted. Fixes bug #147603. Note that it would probably be a
11729 good idea to do similar things for other conversion types.
11731 2004-07-25 Shlomi Fish <shlomif@iglu.org.il>
11733 * plug-ins/gimpressionist/: converted checks for initialization of
11734 ppm's done by checking the "col" buffer, to macro calls.
11736 2004-07-25 Shlomi Fish <shlomif@iglu.org.il>
11738 * plug-ins/gimpressionist/: fixed bug #148088: ("Gimpressioinst
11739 crashes if given malicious presets with out of range values, in
11740 the radio buttons group numeric values: "placetype", "orienttype",
11743 This was done by adding clamps to the relevant values in the preset.
11745 2004-07-25 Raphaël Quinet <quinet@gamers.org>
11747 * INSTALL: Minor fixes and improvements. Suggest using a
11748 different prefix and setting PKG_CONFIG_LIBDIR if old versions of
11749 GTK+ libs are found and cannot be removed without breaking other
11752 2004-07-23 Shlomi Fish <shlomif@iglu.org.il>
11754 * plug-ins/gimpressionist/: created a header "orientation.h"
11755 for the Orientation tab specific declarations.
11757 2004-07-23 Sven Neumann <sven@gimp.org>
11759 * libgimp/gimppixbuf.c (gimp_pixbuf_from_data): added missing code
11760 for grayscale previews.
11762 2004-07-23 Sven Neumann <sven@gimp.org>
11764 * app/core/gimpgradient-load.c (svg_parser_end_element): fixed
11765 handling of the last gradient segment and did some code cleanup.
11767 2004-07-23 Sven Neumann <sven@gimp.org>
11769 * app/core/gimpgradient-load.c (gimp_gradient_load_svg): improved
11771 (svg_parser_end_element): don't crash on empty gradient definitions.
11773 2004-07-23 Sven Neumann <sven@gimp.org>
11775 * libgimpcolor/test-color-parser.c: added more test samples.
11777 * libgimpcolor/gimprgb-parse.c: fixed a bug that I found with the
11780 * app/core/gimpgradient-load.c: changed SVG parser to handle
11781 gradients that are defined more deeply in the SVG hierarchy. Added
11782 a simplistic CSS style parser to deal with gradient definitions
11783 that use CSS to define the gradient stop properties (closes bug
11786 2004-07-23 Sven Neumann <sven@gimp.org>
11788 * app/core/gimpdatafactory.c: some newlines to improve error
11791 * app/core/gimpgradient-load.c (gimp_gradient_load_svg): fixed
11794 2004-07-23 Sven Neumann <sven@gimp.org>
11796 * libgimpcolor/Makefile.am
11797 * libgimpcolor/test-color-parser.c: added a simple unit test
11798 framework for the color parser.
11800 * libgimpcolor/gimprgb-parse.c: fixed parsing of rgba() values.
11802 * libgimpmath/test-md5.c: minor cleanup.
11804 2004-07-23 Sven Neumann <sven@gimp.org>
11806 * libgimpcolor/gimprgb-parse.c (gimp_rgba_parse_css): added support
11807 for the "transparent" color name.
11809 2004-07-22 Sven Neumann <sven@gimp.org>
11811 * libgimpcolor/gimprgb-parse.c
11812 * libgimpcolor/gimprgb.h: improved the CSS color parser code,
11813 added new function gimp_rgba_parse_css(), added support for HSL
11816 2004-07-22 Sven Neumann <sven@gimp.org>
11818 * libgimpcolor/gimprgb-parse.c
11819 * libgimpcolor/gimprgb.h: use a signed integer to pass the string
11820 length to the new parser functions. The API explicitely asks for
11824 * app/core/gimpgradient-load.[ch]
11825 * app/core/gimpgradient.h: added preliminary support for loading
11826 simple SVG gradients (see bug #148127). Be careful with this new
11827 feature; editing the loaded gradient will cause the SVG file to be
11828 overwritten! Work in progress...
11830 2004-07-22 Sven Neumann <sven@gimp.org>
11832 * app/core/Makefile.am
11833 * app/core/gimpgradient-load.[ch]
11834 * app/core/gimpgradient-save.[ch]
11835 * app/core/gimpgradient.[ch]: moved gradient file handling out of
11836 gimpgradient.c to new files.
11839 * app/actions/gradients-commands.c: changed accordingly.
11841 * libgimpcolor/gimpcolor.def: added gimp_rgb_parse_name.
11843 2004-07-22 Michael Natterer <mitch@gimp.org>
11845 * data/misc/gimp.desktop.in.in (MimeType): image/g -> image/g3fax.
11847 2004-07-22 Sven Neumann <sven@gimp.org>
11849 * app/widgets/gimpactionview.c: rephrased the text for the dialog
11850 that appears if a new shortcut collides with an existing one.
11852 * libgimpcolor/gimprgb.[ch]: added new function gimp_rgb_parse_name()
11853 which accepts RGB colors in hexadecimal notation or as SVG color
11856 2004-07-22 Michael Natterer <mitch@gimp.org>
11858 * app/display/gimpdisplayshell.c (gimp_display_shell_resume):
11859 s/pause/resume/ in the API docs.
11861 2004-07-22 Michael Natterer <mitch@gimp.org>
11863 * tools/gimp-remote.c (main): correctly convert relative paths to
11864 URIs. Append the resulting URI only if it's not NULL.
11866 2004-07-22 Michael Natterer <mitch@gimp.org>
11868 * app/widgets/gimptoolbox.c (toolbox_create_tools): connect to
11869 "accel-changed" of the accel_group using connect_object(), not
11870 just connect() so we don't crash when it's emitted after the
11871 toolbox is destroyed.
11873 2004-07-21 Ray Strode <rstrode@redhat.com>
11875 * gimp/data/misc/gimp.desktop.in.in: Add MimeType line to desktop
11876 file for new MIME system.
11878 2004-07-21 Sven Neumann <sven@gimp.org>
11880 * plug-ins/common/gif.c: declared global const variable as static.
11881 Fixes compiler warnings seen with gcc 3.4.1 (don't ask me why).
11883 2004-07-21 Michael Natterer <mitch@gimp.org>
11885 * app/widgets/gimptemplateeditor.c
11886 * plug-ins/common/gif.c
11887 * plug-ins/common/jpeg.c: set GTK_SHADOW_IN on scrolled windows of
11888 text views. Fixes bug #148025.
11890 2004-07-21 Michael Natterer <mitch@gimp.org>
11892 Enabled the various "Clear saved foobar now" buttons in prefs:
11894 * app/gui/session.[ch]
11895 * app/menus/menus.[ch]
11896 * app/widgets/gimpdevices.[ch]: implemented the _clear()
11897 functions: unlink() the rc file and set an internal flag that it
11898 has been deleted. Added "gboolean always_save" parameter to the
11899 _save() functions and don't save anything if it is FALSE and the
11900 internal deletion flag has been set.
11903 * app/widgets/gimpdevicestatus.c: changed accordingly.
11905 * app/gui/preferences-dialog.c: added callbacks for all "Save now"
11906 and "Clear now" buttons and show error messages if clearing fails.
11907 Inform the user that she has to restart GIMP to see the effect of
11910 2004-07-21 Michael Natterer <mitch@gimp.org>
11912 * app/core/gimpmarshal.list
11913 * app/widgets/gimpcellrendereraccel.[ch]: added "gboolean delete"
11914 parameter to the GimpCellRendererAccel::accel_edited() signal.
11916 * app/widgets/gimpactionview.c: distinguish between deletion of an
11917 accelerator and the user entering an invalid accelerator.
11919 2004-07-21 Shlomi Fish <shlomif@iglu.org.il>
11921 * plug-ins/gimpressionist/: normalized the identifiers in
11924 2004-07-21 Michael Natterer <mitch@gimp.org>
11926 * app/actions/context-actions.c: changed names of actions which
11927 select brushes, patterns etc. from e.g. "context-brush-first" to
11928 "context-brush-select-first".
11930 * menus/image-menu.xml.in: changed accordingly.
11932 2004-07-21 Michael Natterer <mitch@gimp.org>
11934 * app/gui/preferences-dialog.c: remember the keyboard shortcut
11935 dialog and show it only once.
11937 * app/widgets/gimpactionview.c
11938 * app/widgets/gimpcellrendereraccel.c: minor cleanups.
11940 Seems to work pretty well now and thus fixes bug #142922.
11942 2004-07-21 Michael Natterer <mitch@gimp.org>
11944 * app/core/gimpmarshal.list
11945 * app/widgets/Makefile.am
11946 * app/widgets/widgets-types.h
11947 * app/widgets/gimpcellrendereraccel.[ch]: new cell renderer
11948 which displays an accelerator and allows to edit it (ripped
11949 out of libegg and modified).
11951 * app/widgets/gimpactionview.c: use the new renderer and connect
11952 to its "accel-edited" signal (its callback is one huge mess that
11953 needs to be cleaned up). Added ugly hack to work around GTK+ API
11954 limitation that seems to prevent implementing a shortcut editor in
11957 * app/actions/file-actions.c
11958 * app/actions/image-actions.c
11959 * app/actions/tools-actions.c: added ugly hacks here, too.
11961 * app/gui/preferences-dialog.c: relaced Cancel/Ok in the shortcut
11964 2004-07-20 Sven Neumann <sven@gimp.org>
11966 * configure.in (ALL_LINGUAS): added back "pa" for Punjabi now that
11967 the missing po files have been added (tips/pa.po is still missing
11970 2004-07-20 Michael Natterer <mitch@gimp.org>
11972 * app/widgets/gimpactionfactory.[ch]
11973 * app/widgets/gimpactiongroup.[ch]: added "label" and "stock-id"
11974 properties to GtkActionGroup and allow to register them in the
11977 * app/actions/actions.c: register user visible labels and icons
11978 with all action groups.
11980 * app/widgets/Makefile.am
11981 * app/widgets/widgets-types.h
11982 * app/widgets/gimpactionview.[ch]: new widget which shows a
11983 treeview of action groups and their actions & shortcuts.
11985 * app/widgets/gimpaction.[ch]: added gimp_action_name_compare()
11988 * app/widgets/gimpwidgets-utils.[ch]: added
11989 gimp_get_accel_string() utility function.
11991 * app/widgets/gimpcontrollers.[ch]: added
11992 gimp_controllers_get_ui_manager() which will be used for setting
11993 up the controller mapping dialog.
11995 * app/gui/preferences-dialog.c: added a "Configure Keyboard
11996 Shortcuts" button which pops up a GimpActionView. Work in
11999 2004-07-20 Michael Natterer <mitch@gimp.org>
12001 * app/actions/image-actions.c: make sure that the "image-new" and
12002 "image-new-from-image" actions always have the same shortcut.
12004 2004-07-20 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12006 * plug-ins/Lighting/lighting_main.c
12007 * plug-ins/Lighting/lighting_main.h
12008 * plug-ins/Lighting/lighting_preview.c
12009 * plug-ins/Lighting/lighting_preview.h
12010 * plug-ins/Lighting/lighting_shade.c
12011 * plug-ins/Lighting/lighting_ui.c: completely reworked UI for
12012 lighting page. Now supports up to 6 lights (more is trivial).
12013 Added ability to temporarily isolate selected light. Added
12014 light intensity controls. Can interactively position each light
12015 (does not quite work yet for directional lights).
12017 2004-07-20 Michael Natterer <mitch@gimp.org>
12019 * app/actions/tools-actions.c: added an icon to the
12020 "tools-visibility" action.
12022 2004-07-20 Sven Neumann <sven@gimp.org>
12024 * app/composite/gimp-composite.c (gimp_composite_init): now that
12025 the output depends on --verbose, enable it for stable releases also.
12027 2004-07-20 Shlomi Fish <shlomif@iglu.org.il>
12029 * plug-ins/gimpressionist/presets.c: fixed the incorrect strings
12030 for input and output of the preset's fields. (a relic of an
12031 irresponsible search-and-replace script).
12033 * plug-ins/gimpressionist/: normalized the identifiers of
12036 2004-07-20 Helvetix Victorinox <helvetix@gimp.org>
12038 * app/composite/Makefile.am (regenerate): Updated make-installer.py
12039 command line to take advantage of the new compile time method of
12040 determining which instruction set to compile.
12042 * app/composite/gimp-composite.c (gimp_composite_init): Print the
12043 list of active instruction sets if the --verbose command line
12044 switch is ON (via be_verbose)
12046 * app/composite/gimp-composite-x86.h: Factored code from the mmx,
12047 and sse implementations.
12049 * app/composite/make-installer.py: Raised the number of test
12050 iterations from 1 to 10.
12052 * app/composite/gimp-composite-3dnow.[ch]
12053 * app/composite/gimp-composite-3dnow-test.c
12054 * app/composite/gimp-composite-3dnow-installer.c
12055 * app/composite/gimp-composite-altivec.[ch]
12056 * app/composite/gimp-composite-altivec-test.c
12057 * app/composite/gimp-composite-altivec-installer.c
12058 * app/composite/gimp-composite-mmx.[ch]
12059 * app/composite/gimp-composite-altivec-test.c
12060 * app/composite/gimp-composite-altivec-installer.c
12061 * app/composite/gimp-composite-sse.[ch]
12062 * app/composite/gimp-composite-sse-test.c
12063 * app/composite/gimp-composite-sse-installer.c
12064 * app/composite/gimp-composite-sse2.[ch]
12065 * app/composite/gimp-composite-sse2-test.c
12066 * app/composite/gimp-composite-sse2-installer.c
12067 * app/composite/gimp-composite-vis.[ch]
12068 * app/composite/gimp-composite-vis-test.c:
12069 Regenerated sources via make-installer.py
12071 2004-07-20 Sven Neumann <sven@gimp.org>
12074 * app/base/base.[ch]
12075 * app/composite/gimp-composite.[ch]: pass "be_verbose" to the base
12076 and composite subsystems.
12078 2004-07-20 Sven Neumann <sven@gimp.org>
12080 * autogen.sh: added some empty lines to improve readability of the
12081 output in case of problems.
12083 * configure.in: bumped version number to 2.1.3.
12085 2004-07-19 Helvetix Victorinox <helvetix@gimp.org>
12087 * app/composite/gimp-composite-mmx.c
12088 (xxxgimp_composite_dodge_rgba8_rgba8_rgba8_mmx)
12089 * app/composite/gimp-composite-mmx.c
12090 (xxxgimp_composite_divide_rgba8_rgba8_rgba8_mmx)
12091 * app/composite/gimp-composite-mmx.c
12092 (gimp_composite_difference_rgba8_rgba8_rgba8_mmx)
12093 * app/composite/gimp-composite-mmx.c
12094 (gimp_composite_darken_rgba8_rgba8_rgba8_mmx): More clobber
12095 register corrections.
12097 2004-07-20 Sven Neumann <sven@gimp.org>
12099 * Made 2.1.2 release.
12101 2004-07-20 Sven Neumann <sven@gimp.org>
12103 * plug-ins/winicon/icoload.c
12104 * plug-ins/winicon/icosave.c: added explicit casts to please the
12107 2004-07-20 Sven Neumann <sven@gimp.org>
12109 * plug-ins/gimpressionist/Makefile.am (gimpressionist_sources):
12112 * plug-ins/MapObject/Makefile.am (MapObject_SOURCES): added back
12115 * plug-ins/MapObject/mapobject_main.c
12116 * plug-ins/MapObject/mapobject_preview.c: no need to include
12119 * plug-ins/gfig/Makefile.am (SUBDIRS): added back gfig-examples
12121 * plug-ins/gfig/gfig-examples/Makefile.am: cleanup.
12123 2004-07-20 Sven Neumann <sven@gimp.org>
12125 * plug-ins/Lighting/lighting_ui.c: fixed some GUI issues:
12126 left-align labels, use stock buttons, added line-breaks to make
12127 the code fit into 80 columns.
12129 2004-07-19 Sven Neumann <sven@gimp.org>
12131 * plug-ins/Lighting/lighting_ui.c: fixed a couple of issues with
12132 the new code: don't include individual glib headers, never ever
12133 use sprintf(), mark user-visible strings for translations, use
12134 default messages, removed trailing whitespace.
12136 2004-07-19 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12138 * plug-ins/Lighting/lighting_ui.c: added ability to save and load
12139 presets for lights.
12141 2004-07-19 Shlomi Fish <shlomif@iglu.org.il>
12143 * plug-ins/gimpressionist/orientation.c: normalized some variables
12144 in the module and fixed some indentation.
12146 2004-07-19 Helvetix Victorinox <helvetix@gimp.org>
12148 * app/composite/gimp-composite-mmx.c
12149 (gimp_composite_addition_rgba8_rgba8_rgba8_mmx)
12150 * app/composite/gimp-composite-mmx.c
12151 (gimp_composite_burn_rgba8_rgba8_rgba8_mmx)
12152 * app/composite/gimp-composite-x86.h: Correction of clobbered
12153 register lists, as additional progress against bug #147013.
12155 2004-07-19 Michael Natterer <mitch@gimp.org>
12157 * app/core/gimpmarshal.list: removed unused VOID:UINT,STRING.
12159 2004-07-19 Michael Natterer <mitch@gimp.org>
12161 * app/gui/file-open-location-dialog.c
12162 (file_open_location_dialog_show): added the "web" icon left of
12165 2004-07-19 Michael Natterer <mitch@gimp.org>
12167 * app/paint/gimppaintcore.h: removed enum GimpPaintCoreState.
12169 * app/paint/paint-enums.h: added enum GimpPaintState (with values
12170 that have a name space).
12172 * app/paint/gimppaintcore.[ch]
12173 * app/paint/gimpairbrush.c
12174 * app/paint/gimpbrushcore.c
12175 * app/paint/gimpclone.c
12176 * app/paint/gimpconvolve.c
12177 * app/paint/gimpdodgeburn.c
12178 * app/paint/gimperaser.c
12179 * app/paint/gimpink.c
12180 * app/paint/gimppaintbrush.c
12181 * app/paint/gimppaintcore-stroke.c
12182 * app/paint/gimpsmudge.c
12183 * app/tools/gimppainttool.c: changed accordingly.
12185 * app/tools/gimpinktool.c: removed unused #include.
12187 2004-07-19 Sven Neumann <sven@gimp.org>
12189 * app/core/gimpchannel-combine.c (gimp_channel_combine_ellipse):
12190 moved variable declarations to the scope they are being used in,
12191 removed trailing whitespace, minor cleanups.
12193 2004-07-19 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12195 * app/core/gimpchannel-combine.c: put in two lines accidentally
12196 omitted in previous change, improve doc comment.
12198 2004-07-19 Michael Natterer <mitch@gimp.org>
12200 * libgimpbase/gimpwin32-io.h: added copyright header, added
12201 #defines for access(), F_OK, R_OK and X_OK.
12203 * app/core/gimpdata.c: include the above instead of defining
12204 the workarounds here.
12206 * app/base/tile-swap.c
12207 * app/config/gimpconfig-dump.c
12208 * libgimpthumb/gimpthumb-utils.c
12209 * libgimpthumb/gimpthumbnail.c: for consistency, #include
12210 gimpwin32-io.h with "" instead of <>.
12212 2004-07-19 Michael Natterer <mitch@gimp.org>
12214 * app/core/gimpchannel-combine.c (gimp_channel_combine_ellipse):
12215 comments not intended for gtk-doc must not start with '/**'.
12217 2004-07-19 Michael Natterer <mitch@gimp.org>
12219 * app/plug-in/plug-in.h (struct _PlugIn): removed obsolete
12220 compile-time check for GLIB >= 2.3.5.
12222 2004-07-19 Shlomi Fish <shlomif@iglu.org.il>
12224 * ChangeLog: Fixed a copy-and-paste error with the dates of my commits.
12225 * plug-ins/gimpressionist/ppmtool.c: removed a few commented-out
12226 asserts, and the function that was used to implement them.
12228 2004-07-19 Michael Natterer <mitch@gimp.org>
12230 * app/widgets/widgets-types.h: reordered and commented to match
12233 2004-07-19 Sven Neumann <sven@gimp.org>
12235 * plug-ins/imagemap/imap_browse.[ch]: renamed struct member
12236 file_selection to file_chooser.
12238 2004-07-19 Michael Natterer <mitch@gimp.org>
12240 * app/config/config-types.h: removed GimpConfigInterface typedef,
12241 added comments to typedefs which don't belong here.
12243 * app/config/gimpconfig.h: added GimpConfigInterface typedef.
12245 * app/core/core-types.h
12246 * app/display/display-types.h: added commented out typedefs for
12247 types that live in config-types.h for obscure reasons.
12249 * app/core/core-types.h: reordered stuff to match the order in the
12250 API docs (makes keeping stuff in sync much easier).
12252 2004-07-19 Shlomi Fish <shlomif@iglu.org.il>
12254 * plug-ins/gimpressionist/repaint.c: replaced a few if's+destructors
12255 pairs for ppm_ with just the destructors.
12257 2004-07-19 Shlomi Fish <shlomif@iglu.org.il>
12259 * plug-ins/gimpressionist/repaint.c: normalized some identifiers of
12260 repaint.c, and corrected some indentation there.
12262 2004-07-18 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12264 * app/core/gimpchannel-combine.c: improve anti-aliasing for
12265 elliptical selections, as described in bug #147836.
12267 2004-07-18 Sven Neumann <sven@gimp.org>
12269 * app/composite/gimp-composite-mmx.h: don't start a comment with
12270 /** unless it's meant to be parsed by gtk-doc.
12272 * app/actions/Makefile.am:
12273 * app/actions/file-dialog-commands.[ch]: removed, not used any
12276 2004-07-18 Philip Lafleur <plafleur@cvs.gnome.org>
12278 * app/paint/gimpink-blob.c (blob_make_convex): Check if the
12279 array index is legal before using it, not the other way around.
12282 2004-07-17 Philip Lafleur <plafleur@cvs.gnome.org>
12284 * plug-ins/common/polar.c (dialog_update_preview): Fixed a
12285 write to unallocated memory that was causing crashes in various
12288 2004-07-17 Philip Lafleur <plafleur@cvs.gnome.org>
12290 * plug-ins/common/polar.c (polarize_func): moved array
12291 initialization out of variable declaration. Fixes bug #147799.
12293 2004-07-17 Michael Natterer <mitch@gimp.org>
12295 * app/widgets/gimphelp-ids.h: added the removed help IDs back.
12297 * app/widgets/gimpfileprocview.[ch]: cache all file_procs' help
12298 IDs and added gimp_file_proc_view_get_help_id() which returns the
12299 selected item's help ID.
12301 * app/widgets/gimpfiledialog.c: added a custom help func which
12302 shows the help for the selected file_proc if the proc_view has the
12305 2004-07-17 Sven Neumann <sven@gimp.org>
12307 * app/actions/file-actions.c (file_actions): use GIMP_STOCK_WEB
12308 for "file-open-location".
12310 * app/widgets/gimpfiledialog.c: create the scrolled window with
12311 shadow_type GTK_SHADOW_IN.
12313 * app/widgets/gimpfileprocview.c (gimp_file_proc_view_new): skip
12314 procedures that register a prefix (the URL loader).
12316 * app/widgets/gimphelp-ids.h: removed help IDs that used to be
12317 used from the file-open and file-save menus.
12319 * plug-ins/common/xwd.c (query): "X window dump" seems to be more
12320 appropriate than "X window image".
12322 2004-07-17 Sven Neumann <sven@gimp.org>
12324 * app/actions/Makefile.am
12325 * app/actions/file-dialog-actions.[ch]
12326 * app/actions/file-open-actions.[ch]
12327 * app/actions/file-save-actions.[ch]: these aren't needed any
12330 * app/actions/actions.c: changed accordingly.
12332 * app/menus/Makefile.am
12333 * app/menus/file-dialog-menu.[ch]
12334 * app/menus/file-open-menu.[ch]
12335 * app/menus/file-save-menu.[ch]: these aren't needed any longer.
12337 * app/menus/menus.c: changed accordingly.
12339 * menus/Makefile.am
12340 * menus/file-open-menu.xml
12341 * menus/file-save-menu.xml: these are also not needed any longer.
12343 2004-07-17 Philip Lafleur <plafleur@cvs.gnome.org>
12345 * plug-ins/bmp/bmpwrite.c (WriteImage): Applied a patch from
12346 Brion Vibber that fixes corruption when saving RLE-encoded
12347 BMPs on big endian hosts. Fixes bug #147759.
12349 2004-07-17 Shlomi Fish <shlomif@iglu.org.il>
12351 * plug-ins/gimpressionist/: normalized the identifiers of
12352 general.c and general.h. Also, renamed a callback from _store
12353 to simply _callback to avoid confusion with the _store methods.
12354 Some of the member variables of the pcvals struct were changed
12357 2004-07-16 Helvetix Victorinox <helvetix@gimp.org>
12359 * app/composite/gimp-composite-mmx.[ch]
12360 * app/composite/gimp-composite-sse.[ch]
12361 * app/composite/gimp-composite-sse2.[ch]:
12363 We've had trouble compiling with the Intel compiler which
12364 identifies itself as GCC, but doesn't support the same extended
12365 assembly features/misfeatures as GCC. With the help of the Intel
12366 compiler group, we've determined that the Intel compiler can be
12367 identified at compile time by the definition of the preprocessor
12368 variable __INTEL_COMPILER.
12370 These changes make all of the assembly code currently written to
12371 simply avoid the Intel compiler.
12373 This is an interim solution to get a build working despite the
12374 Intel compiler. A more correct solution has been identified, see
12375 the discussion of bug #147013 for more information.
12377 2004-07-17 Sven Neumann <sven@gimp.org>
12379 * app/xcf/xcf.c (xcf_init): also register the internal XCF
12380 handlers according to the new scheme.
12382 * plug-ins/common/Makefile.am
12383 * plug-ins/common/plugin-defs.pl
12384 * plug-ins/common/hrz.c: removed the HRZ file plug-in since it
12385 doesn't seem to be very useful.
12387 2004-07-17 Sven Neumann <sven@gimp.org>
12389 * app/plug-in/plug-ins.c (plug_ins_temp_proc_def_add)
12390 (plug_ins_init_file): use g_slist_prepend() instead of
12393 * plug-ins/common/url.c (query): ported to the new PDB registration
12396 2004-07-16 Sven Neumann <sven@gimp.org>
12398 * app/plug-in/plug-ins.c (plug_ins_init): sort the file procedures
12399 by their menu labels.
12401 * app/widgets/gimpfileprocview.c: removed the sort function here.
12403 2004-07-16 Sven Neumann <sven@gimp.org>
12405 * app/widgets/Makefile.am
12406 * app/widgets/widgets-types.h
12407 * app/widgets/gimpfileprocview.[ch]: added new widget that offers
12408 a treeview on file procedures.
12410 * app/widgets/gimpfiledialog.[ch]: replaced the file type option
12411 menu with the new GimpFileProcView widget.
12412 (gimp_file_dialog_set_image): reset the file type to Automatic
12413 (fixes bug #141535).
12415 * app/actions/file-commands.c
12416 * app/gui/file-open-dialog.[ch]
12417 * app/gui/file-save-dialog.[ch]: changed accordingly.
12419 * plug-ins/common/bz2.c
12420 * plug-ins/common/gz.c: don't register "xcf.gz" and "xcf.bz2"
12421 extension. It's redundant and breaks the code that sets the
12422 extension from the selected file-type.
12424 * plug-ins/common/dicom.c: register a shorter menu label.
12426 * plug-ins/common/gbr.c
12427 * plug-ins/common/gih.c
12428 * plug-ins/common/pat.c
12429 * plug-ins/common/url.c: register stock icons.
12431 2004-07-16 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12433 * plug-ins/Lighting/lighting_main.[ch]
12434 * plug-ins/Lighting/lighting_preview.[ch]
12435 * plug-ins/Lighting/lighting_shade.c
12436 * plug-ins/Lighting/lighting_ui.c: Made this plug-in support
12437 multiple light sources; implemented three, architecture now
12438 supports any number. Changed material properties to more intuitve
12439 names; added "metallic" property. Cleaned out some unused,
12440 commented-out code.
12442 2004-07-16 Michael Natterer <mitch@gimp.org>
12444 * tools/pdbgen/pdb.pl: include "libgimpbase/gimpbase.h" instead of
12445 "libgimpbase/gimpparasite.h" for getting the GimpParasite type.
12447 * tools/pdbgen/app.pl
12448 * tools/pdbgen/pdb/drawable.pdb
12449 * tools/pdbgen/pdb/edit.pdb
12450 * tools/pdbgen/pdb/gradients.pdb
12451 * tools/pdbgen/pdb/guides.pdb
12452 * tools/pdbgen/pdb/image.pdb: removed redundant #includes.
12454 * tools/pdbgen/pdb/plug_in.pdb: standardized "success" logic.
12455 Consistently fail if there is no currently queried plugin.
12457 * app/pdb/*.c: regenerated.
12459 2004-07-16 Michael Natterer <mitch@gimp.org>
12461 * app/display/gimpdisplayshell-transform.c: made gtk-doc even
12462 happier; clarified meaning of the "use_offsets" parameter.
12464 2004-07-16 Sven Neumann <sven@gimp.org>
12466 * app/core/gimpdata.c:
12467 * app/display/gimpcanvas.c:
12468 * app/display/gimpdisplayshell.c
12469 * app/display/gimpdisplayshell-transform.c: corrected API
12470 documentation, removed trailing whitespace.
12472 Please do always build the documentation if you add or change any
12475 2004-07-15 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12477 * app/display/gimpcanvas.c:
12478 * app/display/gimpdisplayshell-transform.c: added gtk-doc
12479 comments for all public functions that lack them.
12481 * app/display/gimpdisplayshell.c: added a couple of
12484 2004-07-15 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12486 * app/core/gimpdata.c: added gtk-doc comments for
12489 2004-07-15 Shlomi Fish <shlomif@iglu.org.il>
12491 * plug-ins/gimpressionist/: normalized the identifiers of
12492 paper.c and paper.h. Made one variable local to the function
12493 instead of module static.
12495 2004-07-15 Shlomi Fish <shlomif@iglu.org.il>
12497 * plug-ins/gimpressionist/: normalized the ppmtools.c and
12498 ppmtool.h identifiers. Also fixed some (but not all) of the
12501 2004-07-15 Philip Lafleur <plafleur@cvs.gnome.org>
12503 * plug-ins/winicon/icoload.c:
12504 * plug-ins/winicon/icosave.c: Applied a patch from Brion Vibber
12505 that fixes byte-swapping on big endian hosts. Fixes bug #147610.
12507 2004-07-15 Sven Neumann <sven@gimp.org>
12509 * plug-ins/helpbrowser/dialog.c
12510 * plug-ins/helpbrowser/uri.c: don't warn if no help pages are
12511 installed and the Home button is clicked.
12513 2004-07-15 Michael Natterer <mitch@gimp.org>
12515 * app/file/file-open.c (file_open_layer): don't crash if no
12516 layer or only one layer is visible. Fixes bug #143804.
12518 * app/app_procs.c (app_run): fixed log domain registration.
12520 2004-07-15 Michael Natterer <mitch@gimp.org>
12522 * app/core/gimpviewable.[ch]: corrected API docs and fixed
12523 function parameter names to silent gtk-doc warnings.
12525 2004-07-15 Michael Natterer <mitch@gimp.org>
12527 * app/app_procs.c (app_run): register a log handler for the
12528 "Gimp-Menus" domain.
12530 2004-07-15 Philip Lafleur <plafleur@cvs.gnome.org>
12532 * plug-ins/common/mng.c: cleanup.
12534 2004-07-15 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12536 * app/core/gimpviewable.c: added gtk-doc comments for public
12539 2004-07-15 Michael Natterer <mitch@gimp.org>
12541 * app/actions/file-commands.h: reordered to match the .c file.
12543 * app/core/gimpitem.c
12544 * app/vectors/gimpvectors-import.c: fixed API docs.
12546 2004-07-14 Philip Lafleur <plafleur@cvs.gnome.org>
12548 * plug-ins/common/png.c:
12549 * plug-ins/common/mng.c: Fixed erroneously reported warning
12550 message when saving indexed layers with an alpha channel but
12551 no transparent pixels.
12553 2004-07-14 Sven Neumann <sven@gimp.org>
12555 * app/app_procs.c (app_run): register a log handler for the
12556 "Gimp-Actions" domain.
12558 2004-07-14 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12560 * devel-docs/objects.txt: . . . and removed because it is
12561 redundant with devel-docs/app/app.hierarchy.
12563 2004-07-14 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12565 * devel-docs/objects.txt: added file containing a map of Gimp's
12566 GObject hierarchy .
12568 2004-07-14 Michael Natterer <mitch@gimp.org>
12570 * app/display/gimpstatusbar.[ch]: massively changed: removed
12571 message_ids, the message mem chunk and all signals. Added new
12572 function gimp_statusbar_replace() which updates a message without
12573 moving it to the top of the stack. Fixes bug #120175.
12575 * app/display/gimpdisplayshell-title.[ch]: renamed
12576 gimp_display_shell_update_title() to
12577 gimp_display_shell_title_update() and switched from pop()/push()
12578 to replace() so the title message keeps its place in the stack.
12579 Added new function gimp_display_shell_title_init() which push()es
12580 the title message to the stack.
12582 * app/display/gimpdisplayshell.c (gimp_display_shell_new): call
12583 gimp_display_shell_title_init() so the "title" message is at the
12584 bottom of the stack.
12586 * app/display/gimpdisplayshell-callbacks.c
12587 * app/display/gimpdisplayshell-handlers.c: changed accordingly.
12589 2004-07-14 Sven Neumann <sven@gimp.org>
12591 * plug-ins/script-fu/script-fu-console.[ch]
12592 * plug-ins/script-fu/script-fu.c
12593 * plug-ins/script-fu/siod-wrapper.[ch]
12594 * plug-ins/script-fu/siod/slib.c: applied a patch from Kevin
12595 Cozens that removes an unneeded pipe which was causing problems
12596 on long output from the SIOD interpreter (bug #139200). Also
12597 shortened the welcome message.
12599 2004-07-14 Sven Neumann <sven@gimp.org>
12601 * plug-ins/pagecurl/pagecurl.c: GUI polishing.
12603 2004-07-14 Shlomi Fish <shlomif@iglu.org.il>
12605 * plug-ins/gimpressionist/: Added more underscores to identifiers.
12606 Fixed some of the style issues (added whitespace before the '(' in
12609 2004-07-14 Philip Lafleur <plafleur@cvs.gnome.org>
12611 * plug-ins/common/mng.c: Now writes a global palette chunk, and
12612 empty palette chunks for the frames that use it. This saves a
12615 2004-07-14 Michael Natterer <mitch@gimp.org>
12617 * app/core/gimpimage.c: added properties "gimp", "id", "width",
12618 "height" and "base-type". Moved all code from gimp_image_new()
12619 to GObject::constructor().
12621 * app/core/gimpimage-convert.c
12622 * app/core/gimpimage-crop.c
12623 * app/core/gimpimage-resize.c
12624 * app/core/gimpimage-rotate.c
12625 * app/core/gimpimage-scale.c
12626 * app/core/gimpimage-undo-push.c: set "width", "height" and
12627 "base-type" with g_object_set() so "notify" is emitted on the
12630 * app/core/gimpimage-undo.c (gimp_image_undo_pop_stack):
12631 freeze/thaw property notifications around undoing/redoing so they
12632 are not emitted in the middle of the undo operation.
12634 2004-07-14 Michael Natterer <mitch@gimp.org>
12636 * app/core/gimpitem.c: converted tabs to spaces, cleanup,
12637 reviewed new API docs.
12639 2004-07-14 Sven Neumann <sven@gimp.org>
12641 * plug-ins/common/tiff.c: applied a patch done by Brion Vibber
12642 and Philip Lafleur that fixes loading of CMYK TIFF images on
12643 big-endian hardware (bug #147328).
12645 2004-07-14 Philip Lafleur <plafleur@cvs.gnome.org>
12647 * plug-ins/common/mng.c (respin_cmap): Properly check the return
12648 value of find_unused_ia_color(). The plugin will now save indexed
12649 MNGs correctly; fixes bug #139947. Also converted tabs to spaces.
12651 2004-07-14 Michael Natterer <mitch@gimp.org>
12653 Code review & cleanup:
12655 * app/config/gimpguiconfig.[ch]: removed transparency-size,
12656 transparency-type and snap-distance properties...
12658 * app/config/gimpdisplayconfig.[ch]: ...and added them here.
12660 * app/display/gimpdisplayshell.c
12661 * app/tools/gimpmovetool.c: changed accordingly.
12663 * app/core/gimpimage-scale.[ch] (gimp_layer_scale_check): added a
12664 "max_memsize" parameter instead of looking it up in GimpGuiConfig.
12666 * app/actions/image-commands.c: changed accordingly.
12668 * app/core/gimparea.c
12669 * app/core/gimpdrawable.c: converted tabs to spaces, cleanup.
12671 * app/core/gimpprojection.[ch]: renamed IdleRenderStruct to
12672 GimpProjectionIdleRender, reordered functions, cleanup.
12674 * app/display/gimpdisplay-handlers.c
12675 * app/display/gimpdisplay.c: removed unused #includes.
12677 * app/display/gimpdisplayshell.[ch]
12678 * app/display/gimpdisplayshell-close.c: renamed
12679 shell->warning_dialog to shell->close_dialog, some random
12682 * app/display/gimpdisplayshell-handlers.c
12683 * app/widgets/gimpselectioneditor.c: minor coding style cleanup.
12685 2004-07-13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12687 * app/core/gimpitem.c: added documentation comments to some
12690 2004-07-14 Michael Natterer <mitch@gimp.org>
12692 * app/display/Makefile.am
12693 * app/display/gimpdisplayshell-close.[ch]: new files for
12694 gimp_display_shell_close() and its dialog & callback.
12696 * app/display/gimpdisplayshell.[ch]: removed from here.
12698 * app/actions/view-actions.c (view_close_view_cmd_callback):
12699 changed accordingly.
12701 2004-07-14 Sven Neumann <sven@gimp.org>
12703 * plug-ins/pagecurl/pagecurl.c: code cleanup. Use enums instead of
12704 a plethora of booleans. Added some macros for readability. Allow
12705 to use a reversed gradient for colorizing the curl.
12707 2004-07-14 Michael Natterer <mitch@gimp.org>
12709 * app/core/Makefile.am
12710 * app/core/core-types.h
12711 * app/core/gimppickable.[ch]: new interface which has
12712 get_image_type(), get_tiles() and get_color_at() methods.
12714 * app/core/gimpdrawable.[ch]
12715 * app/core/gimpimagemap.[ch]
12716 * app/core/gimpprojection.[ch]: implement GimpPickableInterface
12717 and removed public get_colot_at() functions.
12719 * app/core/gimpimage-pick-color.[ch]: removed typedef
12720 GimpImagePickColorFunc and gimp_image_pick_color_by_func(). Use
12721 gimp_pickable_pick_color() instead.
12723 * app/core/gimpimage-contiguous-region.c
12724 * app/core/gimpimage-crop.c
12725 * app/gui/info-window.c
12726 * app/paint/gimpconvolve.c
12727 * app/paint/gimpsmudge.c
12728 * app/tools/gimpbycolorselecttool.c
12729 * app/tools/gimpimagemaptool.c
12730 * app/widgets/gimpselectioneditor.c: use GimpPickable functions
12731 instead of the various get_color_at() functions. Simplifies code
12732 which has a "sample_merged" boolean. Various cleanups.
12734 2004-07-13 Shlomi Fish <shlomif@iglu.org.il>
12736 * plug-ins/gimpressionist/presets.c: Added underscores between
12737 words in function names according to the GIMP's (and common
12740 2004-07-13 Shlomi Fish <shlomif@iglu.org.il>
12742 * plug-ins/gimpressionist/: Moved the global declarations of
12743 img_has_alpha and create_colorpage to more specialized headers.
12745 2004-07-13 Shlomi Fish <shlomif@iglu.org.il>
12747 * plug-ins/gimpressionist/: Added the paper.h header for the functions
12748 defined in the paper.c module. (thus removing more declarations
12749 from gimpressionist.h)
12751 2004-07-13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
12753 * plug-ins/gfig/gfig-dialog.c
12754 * plug-ins/gfig/gfig-preview.[ch}
12755 * plug-ins/gfig/gfig.h: Made Cancel work properly. Moved "show grid",
12756 "snap to grid", and "show image" checkbuttons back onto main
12757 interface. Eliminated GtkPreview and removed undef of
12758 GTK_DISABLE_DEPRECATED from gfig-preview.c. Removed some
12761 2004-07-13 Sven Neumann <sven@gimp.org>
12763 * plug-ins/gflare/gflare.c (preview_handle_idle): use
12764 gtk_widget_queue_draw_area() instead of the deprecated
12765 gtk_widget_draw() routine.
12767 * plug-ins/gimpressionist/orientmap.c
12768 * plug-ins/gimpressionist/paper.c
12769 * plug-ins/gimpressionist/sizemap.c: use gtk_widget_queue_draw()
12770 instead of the deprecated gtk_widget_draw() routine.
12772 2004-07-13 Shlomi Fish <shlomif@iglu.org.il>
12774 * plug-ins/gimpressionist/preview.c
12775 * plug-ins/gimpressionist/sizemap.c:
12776 eliminated two compile-time warnings.
12778 2004-07-13 Michael Natterer <mitch@gimp.org>
12780 Added a GimpProjection object which maintains the idle projection
12781 logic that was in GimpDisplay and takes care of constructing the
12782 projection even without any display open. Makes color picking and
12783 other reads from the projection work without display and fixes the
12784 major bug that we were constructing the projection n times (!)
12787 * app/core/Makefile.am
12788 * app/core/gimpimage-projection.[ch]: removed.
12790 * app/core/core-types.h
12791 * app/core/gimpmarshal.list
12792 * app/core/gimparea.[ch]
12793 * app/core/gimpprojection.[ch]
12794 * app/core/gimpprojection-construct.[ch]: new files assembled from
12795 the pieces of gimpdisplay.c and gimpimage-projection.c.
12797 * app/core/gimpimage.[ch]: create a GimpProjection.
12798 Removed explicit projection realloc calls because the projection
12799 connects to the relevant GimpImage signals now.
12800 Added gimp_image_coords_in_active_drawable().
12802 * app/display/Makefile.am
12803 * app/display/gimpdisplay-area.[ch]: removed.
12805 * app/display/gimpdisplay.[ch]: stripped away the idle render stuff
12806 and just keep a list of update_areas which is painted on flush().
12807 Removed gimp_display_coords_in_active_drawable().
12809 * app/display/gimpdisplay-foreach.[ch]: removed
12810 gimp_display_finish_draw().
12812 * app/core/gimpchannel.c
12813 * app/core/gimpimage-contiguous-region.c
12814 * app/core/gimpimage-convert.c
12815 * app/core/gimpimage-crop.c
12816 * app/core/gimpimage-merge.c
12817 * app/core/gimpimage-pick-color.c
12818 * app/core/gimpimage-scale.c
12819 * app/core/gimppalette-import.c
12820 * app/display/gimpdisplay-handlers.c
12821 * app/display/gimpdisplayshell-render.c
12822 * app/display/gimpdisplayshell.c
12823 * app/gui/info-window.c
12824 * app/tools/gimpbucketfilltool.c
12825 * app/tools/gimpbycolorselecttool.c
12826 * app/tools/gimpclonetool.c
12827 * app/tools/gimpcolortool.c
12828 * app/tools/gimpeditselectiontool.c
12829 * app/tools/gimpfliptool.c
12830 * app/tools/gimpimagemaptool.c
12831 * app/tools/gimpiscissorstool.c
12832 * app/tools/gimppainttool.c
12833 * app/tools/gimpselectiontool.c
12834 * app/tools/gimptransformtool.c
12835 * app/widgets/gimpselectioneditor.c: changed accordingly.
12837 2004-07-13 Sven Neumann <sven@gimp.org>
12839 * libgimpwidgets/gimppixmap.[ch]: declared GimpPixmap as deprecated.
12841 * libgimpwidgets/gimpwidgets.[ch]: ditto for gimp_pixmap_button_new().
12843 * plug-ins/Lighting/ChangeLog: removed outdated and unused ChangeLog.
12845 * plug-ins/Lighting/Makefile.am
12846 * plug-ins/Lighting/*.xpm: removed XPM files...
12849 * plug-ins/Lighting/images: ... and added them as PNG images here.
12850 These should be redone with antialiased edges.
12852 * plug-ins/Lighting/lighting_stock.[ch]
12853 * plug-ins/Lighting/lighting_ui.c: register stock icons and use
12854 those instead of GimpPixmaps.
12856 * plug-ins/MapObject/Makefile.am
12857 * plug-ins/MapObject/*.xpm: removed duplicated XPM files.
12859 * plug-ins/MapObject/mapobject_stock.[ch]: register stock icons
12860 reusing the generated header from the Lighting plug-in.
12862 * plug-ins/MapObject/mapobject_ui.c: use them.
12864 * plug-ins/pagecurl/pagecurl.c: undef GIMP_DISABLE_DEPRECATED until
12865 GimpPixmap has been replaced here as well.
12867 2004-07-13 Shlomi Fish <shlomif@iglu.org.il>
12869 * plug-ins/gimpressionist/presets.c: fixed bug #147483 (gimpressionist
12870 will delete global presets if the user running GIMP has priviliges to
12871 do so). This was done by creating a function to check if a preset is
12872 global, and by making sure the delete button is in-sensitive when
12875 2004-07-13 Sven Neumann <sven@gimp.org>
12877 * libgimpwidgets/gimpcolorbutton.c
12878 * libgimpwidgets/gimpcolornotebook.c
12879 * libgimpwidgets/gimpcolorscale.c
12880 * libgimpwidgets/gimpcolorscales.c
12881 * libgimpwidgets/gimpcolorselect.c
12882 * libgimpwidgets/gimpcolorselection.c
12883 * libgimpwidgets/gimpframe.c
12884 * libgimpwidgets/gimppickbutton.c
12885 * libgimpwidgets/gimpunitmenu.c: some code review and cosmetics.
12887 2004-07-13 Shlomi Fish <shlomif@iglu.org.il>
12889 * plug-ins/gimpressionist/*.[ch]: normalized some of brush.c's
12890 identifiers (= variable names and function name)
12892 2004-07-13 Sven Neumann <sven@gimp.org>
12894 * app/core/gimp-utils.c (gimp_g_value_get_memsize): handle NULL
12897 2004-07-13 Sven Neumann <sven@gimp.org>
12899 * plug-ins/common/jpeg.c: override the output_message error
12900 handler in order to propagate warnings to the user interface
12901 (related to bug #145212).
12903 2004-07-13 Sven Neumann <sven@gimp.org>
12905 * app/core/gimp-utils.[ch]: added new function
12906 gimp_g_value_get_memsize() that attempts to calculate the memory
12907 requirements for a GValue.
12909 * app/text/gimptextundo.c (gimp_text_undo_get_memsize): use the
12910 new function to obtain a better estimate for the size of the text
12913 2004-07-13 Sven Neumann <sven@gimp.org>
12915 * app/tools/gimptexttool.c (gimp_text_tool_create_layer): plugged
12916 a tiny memory leak.
12918 2004-07-13 Sven Neumann <sven@gimp.org>
12920 * app/core/gimpimage-undo.c: resurrected some bit-rotting debug
12921 code. Might become useful one day.
12923 2004-07-13 Sven Neumann <sven@gimp.org>
12925 * autogen.sh: when automake 1.8 is being used, require at least
12926 version 1.8.3. Earlier versions of the automake-1.8 series don't
12927 handle gimp-console correctly.
12929 2004-07-13 Michael Natterer <mitch@gimp.org>
12931 * app/config/gimpconfig-dump.c
12932 * app/display/gimpdisplayshell-title.c
12933 (gimp_display_shell_format_title): applied patch from Dave Neary
12934 which adds %B which expands to (modified) if the image is
12935 dirty. Also added %A which expands to (clean) because we also have
12936 a short indicator for the clean image. Fixes bug #130943.
12938 2004-07-13 Sven Neumann <sven@gimp.org>
12940 * app/Makefile.am: removed hack for gimp-console compilation.
12941 automake seems to handle it correctly all by itself.
12943 2004-07-12 Michael Schumacher <schumaml@cvs.gnome.org>
12945 * app/app_procs.c: added
12947 #include <windows.h>
12950 2004-07-12 Michael Natterer <mitch@gimp.org>
12952 * app/widgets/gimpbufferview.[ch]: added a preview of the global
12955 2004-07-12 Sven Neumann <sven@gimp.org>
12957 * app/Makefile.am: make sure that gimp-console is enabled for
12958 'make dist'. Use it to dump the system gimprc and gimprc man-page.
12960 2004-07-12 Michael Natterer <mitch@gimp.org>
12962 * app/text/gimptextundo.[ch]: removed member "guint time"...
12964 * app/core/gimpundo.[ch]: ...and added it here.
12966 * app/tools/gimptexttool.c (gimp_text_tool_apply): changed
12967 accordingly. Reordered undo compression code to look like other
12968 pieces of code which do undo compression.
12970 2004-07-12 Michael Natterer <mitch@gimp.org>
12972 * app/core/gimpundo.[ch]
12973 * app/core/gimpitemundo.[ch]
12974 * app/text/gimptextundo.[ch]: removed all _new() functions and
12975 added properties and GObject::constructor() implementations
12978 * app/core/gimpimage-undo.[ch] (gimp_image_undo_push): added
12979 "GType undo_gtype" parameter and allow to pass name-value pairs as
12980 "...". Use the new GParameter utility functions to construct the
12981 appropriate undo step with g_object_newv().
12983 (gimp_image_undo_push_item): removed.
12985 (gimp_image_undo_push_undo): removed. Merged its code back into
12986 gimp_image_undo_push(), where it originally came from.
12988 * app/core/gimpimage-undo-push.c
12989 * app/core/gimpundostack.c
12990 * app/paint/gimppaintcore-undo.c
12991 * app/tools/gimptransformtool-undo.c
12992 * app/widgets/gimpundoeditor.c: changed accordingly.
12994 2004-07-12 Sven Neumann <sven@gimp.org>
12996 * plug-ins/gfig/gfig-dialog.c
12997 * plug-ins/gfig/gfig-preview.c
12998 * plug-ins/gfig/gfig-style.c
12999 * plug-ins/gfig/gfig.c: some include cleanups. Use
13000 libgimpbase/gimpwin32-io.h instead of defining W_OK explicitely.
13001 Don't undef GTK_DISABLE_DEPRECATED except for gfig-preview.c.
13003 2004-07-12 Michael Natterer <mitch@gimp.org>
13005 * plug-ins/script-fu/scripts/round-corners.scm: applied patch from
13006 Dave Neary that changes the behavior from undo disable/enable to
13007 using an undo group if the script doesn't work on a copy of the
13008 image. Fixes bug #146344.
13010 2004-07-12 Michael Natterer <mitch@gimp.org>
13012 * menus/toolbox-menu.xml.in: applied patch from Brion Vibber
13013 which adds <Toolbox>/Acquire/Paste as new. Fixes bug #147358.
13015 2004-07-12 Michael Natterer <mitch@gimp.org>
13017 * app/core/gimp-modules.c: don't do anything if gimp->no_interface
13020 2004-07-12 Michael Natterer <mitch@gimp.org>
13022 Made the gimp-console binary compile.
13023 Finishes core/GUI separation and fixes bug #71514:
13025 * configure.in: removed the crazy-hacker warning for
13026 --enable-gimp-console.
13028 * app/Makefile.am: for gimp-console, copy app_procs.c to
13029 app_procs_console.c and compile it instead of app_procs.c with
13030 -DGIMP_CONSOLE_COMPILATION
13032 * app/app_procs.[ch]: added some #ifndef GIMP_CONSOLE_COMPILATION
13033 to skip GUI stuff for the gimp-console case.
13034 Renamed app_gui_libs_init() to app_libs_init(), renamed
13035 app_gui_abort() to app_abort() and added app_exit() so everything
13036 that needs #ifdefs lives here now.
13038 * app/main.c: changed accordingly.
13040 * app/gui/gui.c (gui_abort): really abort (call exit()).
13042 2004-07-12 Sven Neumann <sven@gimp.org>
13044 * INSTALL: made the suggestion to use binary packages more
13045 prominent, mention --enable-gimp-console.
13047 2004-07-12 Sven Neumann <sven@gimp.org>
13049 * app/sanity.[ch]: removed the gtk+ sanity check here ...
13051 * app/gui/gui.c: ... and do it here from gui_libs_init().
13053 * app/main.c: changed accordingly.
13055 2004-07-12 Sven Neumann <sven@gimp.org>
13057 * app/app_procs.s: don't use gtk_main() / gtk_main_quit() but run
13058 our own main-loop like we already used to do when being run
13061 2004-07-12 Michael Natterer <mitch@gimp.org>
13063 * app/widgets/gimpdialogfactory.c
13064 (gimp_dialog_factories_set_busy_foreach)
13065 (gimp_dialog_factories_unset_busy_foreach): set/unset the busy
13066 cursor on all windows which have widget->window, not only for
13067 those which are GTK_WIDGET_VISIBLE. Fixes stale busy cursors when
13068 dialogs are hidden while the busy cursor is active and later shown
13071 2004-07-12 Michael Natterer <mitch@gimp.org>
13073 * app/display/gimpdisplay.c: added an "id" CONSTRUCT_ONLY
13074 property. Some minor cleanup.
13076 2004-07-12 Michael Natterer <mitch@gimp.org>
13078 * app/core/Makefile.am
13079 * app/core/gimp-gui.[ch]: new files defining a GimpGui vtable
13080 struct and contianing all the vtable wrapper functions. Reordered
13081 and renamed some functions for consistency.
13083 * app/core/gimp.[ch]: removed all the vtable code.
13085 * app/gui/gui-vtable.c: changed accordingly.
13087 2004-07-12 Sven Neumann <sven@gimp.org>
13089 * app/display/gimpdisplay-foreach.c
13090 (gimp_displays_get_dirty_images): remove images from the
13091 container when they become clean. Should move to the Gimp object.
13093 * app/gui/quit-dialog.c: some cosmetic changes.
13095 2004-07-12 Sven Neumann <sven@gimp.org>
13097 * plug-ins/common/tiff.c: applied a patch from Brion Vibber that
13098 sets the 'Save color values from transparent pixels' insensitive
13099 when there's no alpha channel.
13101 2004-07-11 Hans Breuer <hans@breuer.org>
13103 * **/makefile.msc : updated
13104 app/actions/makefile.msc app/menus/makefile.msc : (new files)
13105 app/actions/Makefile.msc app/menus/Makefile.am : added to EXTRA_DIST
13107 * libgimpbase/gimputils.c libgimpwidgets/gimpmemsizeentry.c
13108 app/widgets/gimppropwidgets.c : bumped compiler version check,
13109 msvc6 still can't cast from unsigned __int64 to double
13111 * app/actions/debug-actions.c : only use debug_*_callback
13112 and thus debug_action if ENABLE_DEBUG_MENU
13114 * app/core/gimpalette-import.c : added gimpwin32-io.h
13116 * plug-ins/common/convmatrix.c : s/snprintf/g_snprintf/
13118 * plug-ins/common/screenshot.c : make it compile with msvc,
13119 but still no win32 specific implementation ...
13121 2004-07-11 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13123 * plug-ins/gfig/gfig-dobject.h: fix commit error that
13126 2004-07-11 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13128 * plug-ins/gfig/gfig-dialog.c
13129 * plug-ins/gfig/gfig-dobject.[ch]
13130 * plug-ins/gfig/gfig.c: added buttons to select an object, and
13131 raise or lower the selected object; also a few minor cleanups.
13133 2004-07-11 Philip Lafleur <plafleur@cvs.gnome.org>
13135 * app/widgets/gimpdevices.c (gimp_devices_check_change): Applied a
13136 patch from Robert Ögren, moved here from toolbox_check_device().
13137 Only change devices if the event came from a widget that accepts
13138 extension events. Fixes bug #115774.
13140 2004-07-11 Michael Natterer <mitch@gimp.org>
13142 * app/core/gimp-utils.[ch] (gimp_parameters_append)
13143 (gimp_parameters_append_valist)
13144 (gimp_parameters_free): new utility functions which create and
13145 destroy GParameter arrays for g_object_newv().
13147 * app/gui/gui-vtable.c (gui_pdb_dialog_new): use them.
13149 2004-07-10 Michael Natterer <mitch@gimp.org>
13151 Removed any remaining GUI dependency from the PDB wrappers:
13153 * app/core/gimp.[ch]: added vtable entries for the display and
13156 * app/widgets/gimphelp.[ch]: renamed gimp_help() to
13159 * app/gui/gui-vtable.c: implement the new display and help vtable
13162 * tools/pdbgen/pdb.pl
13163 * tools/pdbgen/pdb/display.pdb
13164 * tools/pdbgen/pdb/help.pdb: use the new functions of the Gimp
13165 object instead of using stuff from display/ and widgets/.
13167 * tools/pdbgen/app.pl: removed bad hacks which enabled including
13168 stuff from gui/, display/ and widgets/.
13170 * app/Makefile.am: link widgets-enums.o, display-enums.o and
13171 gimpdisplayoptions.o into the gimp-console binary because they are
13172 needed for the config system and don't depend on any GUI stuff.
13174 * app/pdb/Makefile.am: s/GTK_CFLAGS/GDK_PIXBUF_CFLAGS/
13176 * app/pdb/display_cmds.c
13177 * app/pdb/help_cmds.c: regenerated.
13179 2004-07-10 Sven Neumann <sven@gimp.org>
13181 * app/gui/quit-dialog.c (quit_dialog_new): let the labels line-wrap.
13183 2004-07-10 Sven Neumann <sven@gimp.org>
13185 * app/display/gimpdisplay-foreach.[ch]: added new function
13186 gimp_displays_get_dirty_images().
13188 * app/gui/quit-dialog.c: show a container treeview of all dirty
13189 images in the quit dialog. Still work in progress...
13191 2004-07-09 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13193 * gimp/plug-ins/gfig/gfig-circle.c
13194 * gimp/plug-ins/gfig/gfig-dialog.c
13195 * gimp/plug-ins/gfig/gfig-dobject.c
13196 * gimp/plug-ins/gfig/gfig-ellipse.c
13197 * gimp/plug-ins/gfig/gfig-poly.c
13198 * gimp/plug-ins/gfig/gfig-preview.c
13199 * gimp/plug-ins/gfig/gfig-star.c
13200 * gimp/plug-ins/gfig/gfig-style.c
13201 * gimp/plug-ins/gfig/gfig-style.h
13202 * gimp/plug-ins/gfig/gfig.c
13203 * gimp/plug-ins/gfig/gfig.h: Made FG, BG, and pattern fill work for
13204 fillable objects; other miscellaneous cleanups and minor fixes.
13206 2004-07-09 Sven Neumann <sven@gimp.org>
13208 * app/gui/gui.c: removed the quit dialog code here.
13210 * app/gui/Makefile.am
13211 * app/gui/quit-dialog.[ch]: added new files that hold the old code
13214 2004-07-09 Michael Natterer <mitch@gimp.org>
13216 * app/pdb/procedural_db.c: #include <glib-object.h> instead of
13219 2004-07-09 Michael Natterer <mitch@gimp.org>
13221 * app/gui/Makefile.am
13222 * app/gui/brush-select.[ch]
13223 * app/gui/font-select.[ch]
13224 * app/gui/gradient-select.[ch]
13225 * app/gui/palette-select.[ch]
13226 * app/gui/pattern-select.[ch]: removed...
13228 * app/widgets/Makefile.am
13229 * app/widgets/widgets-types.h
13230 * app/widgets/gimppdbdialog.[ch]
13231 * app/widgets/gimpdataselect.[ch]
13232 * app/widgets/gimpbrushselect.[ch]
13233 * app/widgets/gimpgradientselect.[ch]
13234 * app/widgets/gimppaletteselect.[ch]
13235 * app/widgets/gimppatternselect.[ch]
13236 * app/widgets/gimpfontselect.[ch]: ...and added here as a
13237 hierarchy of widgets.
13239 * app/widgets/gimpdatafactoryview.h: removed typdef
13240 GimpDataEditFunc, it's in widgets-types.h now.
13242 * app/gui/convert-dialog.c: changed accordingly.
13244 * app/core/gimp.[ch]: added vtable entries for creating, closing
13245 and setting PDB dialogs.
13247 * app/gui/gui-vtable.c: implement the vtable entries using the new
13250 * tools/pdbgen/pdb/brush_select.pdb
13251 * tools/pdbgen/pdb/font_select.pdb
13252 * tools/pdbgen/pdb/gradient_select.pdb
13253 * tools/pdbgen/pdb/palette_select.pdb
13254 * tools/pdbgen/pdb/pattern_select.pdb: use the new functions of
13255 the Gimp object to create / manage the selection dialogs. The
13256 generated files don't depend on GUI stuff any longer.
13258 * app/pdb/brush_select_cmds.c
13259 * app/pdb/font_select_cmds.c
13260 * app/pdb/gradient_select_cmds.c
13261 * app/pdb/palette_select_cmds.c
13262 * app/pdb/pattern_select_cmds.c: regenerated.
13264 2004-07-09 Sven Neumann <sven@gimp.org>
13266 * app/gui/file-save-dialog.c (file_save_overwrite): improved text
13269 2004-07-09 Sven Neumann <sven@gimp.org>
13271 * libgimpwidgets/gimpdialog.c (gimp_dialog_class_init): document
13272 that "help-func" and "help-id" properties have been added for 2.2.
13274 2004-07-09 Sven Neumann <sven@gimp.org>
13276 * app/widgets/gimphistogrameditor.c
13277 (gimp_histogram_editor_menu_update): reverted my last change.
13278 (gimp_histogram_editor_item_visible): fix the problem here instead.
13280 2004-07-08 Michael Natterer <mitch@gimp.org>
13282 * libgimpwidgets/gimpdialog.c: removed "role" property because
13283 GtkWindow has an equivalent property now. Added "help-func" and
13284 "help-id" construct properties.
13286 * app/widgets/gimptexteditor.c
13287 * app/widgets/gimptooldialog.c
13288 * app/widgets/gimpviewabledialog.c: removed calls to
13289 gimp_help_connect() and pass help_func and help_id to
13292 2004-07-08 Michael Natterer <mitch@gimp.org>
13294 * libgimpwidgets/gimphelpui.c (gimp_context_help): fixed typo in
13297 2004-07-08 Shlomi Fish <shlomif@iglu.org.il>
13299 * plug-ins/gimpressionist/Presets: converted the newlines in the
13300 descriptions to whitespaces, so they'll simply wrap (in accordance
13301 with making the description label wrappable).
13303 2004-07-08 Shlomi Fish <shlomif@iglu.org.il>
13305 * plug-ins/gimpressionist: Various Gimpressionist Cleanups. Made most
13306 remaining non-static global variables static, and created functions
13307 that manipulate them. Created new headers. Renamed some variables and
13308 functions to make their names more menanigful.
13310 2004-07-08 Sven Neumann <sven@gimp.org>
13312 * app/widgets/gimphistogrameditor.c
13313 (gimp_histogram_editor_menu_update): set the active item of the
13314 combo-box after changing the visibility filter.
13316 2004-07-08 Michael Natterer <mitch@gimp.org>
13318 * app/widgets/gimppropwidgets.c (gimp_prop_boolean_combo_box_notify):
13321 2004-07-08 Sven Neumann <sven@gimp.org>
13323 * app/widgets/gimppropwidgets.c (gimp_prop_enum_combo_box_notify):
13324 block gimp_prop_enum_combo_box_callback() before changing the
13327 2004-07-08 Sven Neumann <sven@gimp.org>
13329 * app/widgets/gimpsessioninfo.c: only write aux-info for properties
13330 that have been changed from their default values.
13332 * app/widgets/gimphistogrameditor.c: some code cleanup.
13334 2004-07-08 Michael Natterer <mitch@gimp.org>
13336 * app/widgets/gimpselectiondata.[ch]: added a "const gchar *format"
13337 parameter to gimp_selection_data_set_pixbuf() which selects the
13338 format in which to encode the pixbuf (was defaulting to "png"
13341 * app/widgets/gimpclipboard.c: when copying, offer all formats which
13342 are savable with GdkPixbuf. Added a GimpClipboard struct which is
13343 attached to the Gimp and which stores all the persistent data
13344 needed by the clipboard. Renamed some private functions.
13346 (unfortunately this change breaks pasting to AbiWord:
13347 http://bugzilla.abisource.com/show_bug.cgi?id=7068)
13349 2004-07-08 Sven Neumann <sven@gimp.org>
13350 * app/config/gimpconfig-deserialize.c
13351 * app/config/gimpconfig-serialize.c: removed redundant casts.
13353 * app/widgets/gimpsessioninfo.[ch]: added convenience functions to
13354 get and set aux-info based on object properties.
13356 * app/widgets/gimphistogrameditor.c: use the new functions to save
13357 a histogram's channel and scale in the sessionrc.
13359 2004-07-07 Sven Neumann <sven@gimp.org>
13361 * app/widgets/gimpclipboard.c: sort the list of pixbuf formats so
13362 that PNG is the preferred format and GIF and JPEG come last.
13364 2004-07-07 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13366 * plug-ins/gfig/*.[ch]: Use single centralized functions to
13367 create, load, and save objects, instead of separate functions
13368 for each type of object. A few other miscellaneous fixes.
13370 2004-07-07 Michael Natterer <mitch@gimp.org>
13372 * app/widgets/gimpclipboard.[ch]: changed to allow pasting any
13373 GdkPixbuf supported format (makes pasting from OpenOffice
13374 work). Cleaned up a bit to perpare pasting of SVG data.
13376 2004-07-07 Sven Neumann <sven@gimp.org>
13378 * app/core/gimplayer.c (gimp_layer_new_from_tiles): add an alpha
13379 channel if the src tile-manager doesn't have one. Warn on
13380 unsupported type conversions instead of silently doing the wrong
13381 thing. Fixes bug #145482.
13383 * app/core/gimpbuffer.c: cosmetics.
13385 2004-07-07 Michael Natterer <mitch@gimp.org>
13387 * app/gui/Makefile.am
13388 * app/gui/clipboard.[ch]: removed...
13390 * app/widgets/Makefile.am
13391 * app/widgets/gimpclipboard.[ch]: ...and added here.
13393 * app/actions/edit-commands.c
13394 * app/gui/gui.c: changed accordingly.
13396 2004-07-07 Michael Natterer <mitch@gimp.org>
13398 Made the undo system robust against the currently pushed undo
13399 being too large according to prefs settings. Fixes bug #145379.
13401 * app/core/gimpimage-undo.[ch] (gimp_image_undo_push_undo)
13402 (gimp_image_undo_group_end): emit "undo-event" *before* calling
13403 gimp_image_undo_free_space() so the undo history doesn't try to
13404 remove an item that has never been added.
13406 (gimp_image_undo_push_undo): added boolean return value indicating
13407 if the undo could be pushed (FALSE means the undo was to large
13408 and was discarded right away).
13410 (gimp_image_undo_push_item): return NULL if the above returned
13413 * app/core/gimpimage-undo-push.c (gimp_image_undo_push_text_layer):
13414 changed accordingly.
13416 2004-07-07 Manish Singh <yosh@gimp.org>
13418 * plug-ins/common/jpeg.c: Don't try to load EXIF data if any warnings
13419 happened, cause that likely means corruption and libexif doesn't
13420 handle that very happily. Addresses bug #145212. Perhaps the error and
13421 warning messages should be propagated to the user in the GUI somehow,
13422 currently they are not.
13424 2004-07-07 Michael Natterer <mitch@gimp.org>
13426 * app/actions/edit-actions.c (edit_actions): added "..." to "Clear
13427 undo history" because it has a confirmation dialog.
13429 * app/actions/edit-commands.c: cleanup: moved static functions to
13430 the end of the file and prototyped them.
13432 2004-07-07 Sven Neumann <sven@gimp.org>
13434 * app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
13435 fixed a drawing bug I introduced earlier today.
13437 2004-07-07 Michael Natterer <mitch@gimp.org>
13439 * app/actions/view-actions.c
13440 * app/actions/view-commands.[ch]: added actions and callbacks for
13441 scrolling the view. Not used in menus but useful for controllers.
13443 2004-07-07 Sven Neumann <sven@gimp.org>
13445 * app/tools/gimpeditselectiontool.c
13446 (gimp_edit_selection_tool_key_press): adapt the arrow key velocity
13447 to the display scale factor. Please test and complain if you
13448 dislike this behaviour.
13450 * themes/Default/images/Makefile.am
13451 * themes/Default/images/stock-color-pick-from-screen-16.png: new
13452 icon drawn by Jimmac.
13454 * libgimpwidgets/gimpstock.[ch]: register the new icon.
13456 * libgimpwidgets/gimppickbutton.c: use it for the screen color
13457 picker instead of reusing the color picker tool icon.
13459 2004-07-06 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13461 * plug-ins/gfig/*.[ch]: a bunch of code clean-up and
13462 debugging. Created "classes" for the objects, and
13463 attached functions to classes rather than objects.
13465 2004-07-06 Sven Neumann <sven@gimp.org>
13467 Added an RGB histogram based on a patch by Tor Lillqvist. Fixes
13470 * app/base/base-enums.[ch]: added GIMP_HISTOGRAM_RGB, don't export
13473 * app/base/gimphistogram.c: implemented histogram functions for
13476 * app/base/levels.c
13477 * app/tools/gimpcurvestool.c
13478 * app/tools/gimplevelstool.c
13479 * app/widgets/gimpcolorbar.c
13480 * app/widgets/gimphistogrameditor.c: handle the new enum value.
13482 * app/widgets/gimphistogramview.c: for GIMP_HISTOGRAM_RGB mode,
13483 draw a histogram that shows the RGB channels simultaneously
13485 2004-07-06 Sven Neumann <sven@gimp.org>
13487 * libgimpmodule/gimpmodule.c: comply with C99 aliasing rules.
13489 2004-07-06 Michael Natterer <mitch@gimp.org>
13491 * app/widgets/gimpwidgets-utils.c (gimp_menu_position)
13492 (gimp_button_menu_position): call gtk_menu_set_monitor() only
13493 for GTK+ < 2.4.4 and added a #warning about it.
13495 2004-07-06 Sven Neumann <sven@gimp.org>
13497 * plug-ins/gimpressionist: applied patch from Shlomi Fish that
13498 fixes confusion of filenames and user-visible object names (bug
13499 #132621). Also removed function remove_trailing_whitespace() that
13500 used to duplicate functionality from GLib and updated
13501 preset_create_filename().
13503 2004-07-06 Michael Natterer <mitch@gimp.org>
13505 * app/widgets/gimppreviewrenderer.c
13506 (gimp_preview_renderer_set_viewable): queue an idle update when
13507 setting the viewable to NULL so the view gets cleared correctly.
13509 (gimp_preview_renderer_idle_update): call
13510 gimp_preview_renderer_update() even if renderer->viewable is NULL
13511 so clearing the viewable gets propagated to the GUI.
13513 Moved clearing the viewable and removing the idle from
13514 GObject::finalize() to GObject::dispose() because calling
13515 set_viewable() with a NULL viewable triggers typechecking casts
13516 and queuing idle functions, which is not nice in finalize().
13518 2004-07-06 Sven Neumann <sven@gimp.org>
13520 * modules/Makefile.am (libcdisplay_proof_la_LIBADD): added back
13521 $(LCMS_LIBS) that I had accidentally removed.
13523 2004-07-06 Sven Neumann <sven@gimp.org>
13525 * app/widgets/gimpvectorstreeview.c (gimp_vectors_tree_view_drag_svg):
13526 return the proper type.
13528 2004-07-06 Michael Natterer <mitch@gimp.org>
13530 * app/widgets/gimpcontainertreeview.c: connect to
13531 "editing-canceled" of the name cell renderer and restore the
13532 original text in the callback. Doesn't work reliably until GTK+
13533 bug #145463 is fixed.
13535 2004-07-05 Sven Neumann <sven@gimp.org>
13537 * app/plug-in/plug-in-rc.c (plug_in_icon_deserialize): fixed a
13540 * plug-ins/common/dog.c: removed some redundant casts and other
13543 2004-07-06 Michael Natterer <mitch@gimp.org>
13545 * libgimpwidgets/gimpcontroller.h: removed #define
13546 GIMP_CONTROLLER_PARAM_SERIALIZE.
13548 * libgimpmodule/gimpmoduletypes.h: added
13549 GIMP_MODULE_PARAM_SERIALIZE instead.
13551 * modules/controller_linux_input.c
13552 * modules/controller_midi.c: changed accordingly.
13554 * modules/cdisplay_colorblind.c
13555 * modules/cdisplay_gamma.c
13556 * modules/cdisplay_highcontrast.c
13557 * modules/cdisplay_proof.c: made the new properties serializable.
13559 2004-07-05 Michael Natterer <mitch@gimp.org>
13561 * tools/pdbgen/Makefile.am (enum_headers): don't scan
13562 app/paint-funcs/paint-funcs-types.h for enums.
13564 * app/paint-funcs/paint-funcs-types.h: removed /*< pdb-skip >*/
13566 * app/core/core-types.h: reordered opaque typedefs to somehow
13567 match the categories in the comments.
13569 2004-07-05 Michael Natterer <mitch@gimp.org>
13571 * app/core/core-types.h: removed enum SizeType.
13573 * app/text/text-enums.h: added it as enum GimpSizeType and added
13574 comment that it's for backward compatibility only.
13576 * tools/pdbgen/Makefile.am
13577 * tools/pdbgen/pdb/text_tool.pdb: changed accordingly.
13579 * libgimp/gimpenums.h
13580 * plug-ins/pygimp/gimpenums.py
13581 * plug-ins/script-fu/script-fu-constants.c
13582 * tools/pdbgen/enums.pl: regenerated (pdbgen insisted on
13583 reordering the enums).
13585 2004-07-05 Michael Natterer <mitch@gimp.org>
13587 * app/core/core-types.h: #define MIN and MAX values for
13588 GimpCoords.pressure, .tilt and .wheel.
13590 * app/display/gimpdisplayshell-callbacks.c
13591 (gimp_display_shell_get_event_coords)
13592 (gimp_display_shell_get_device_coords): use the #defines instead
13593 of hardcoded magic values when CLAMP()ing event or device values.
13595 2004-07-05 Sven Neumann <sven@gimp.org>
13597 * modules/Makefile.am: link all modules with libgimpmodule.
13599 2004-07-05 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13601 * plug-ins/common/dog.c: improved defaults. use gimp_invert()
13602 instead of rolling own. Use nasty hack to get previews to
13603 work with grayscale images. Accept grayscale images.
13605 2004-07-05 Sven Neumann <sven@gimp.org>
13607 * app/core/gimpdata.[ch] (gimp_data_create_filename): Removed the
13608 basename parameter and use the object name instead. Convert it to
13609 the filesystem encoding.
13611 * app/core/gimpdatafactory.c: changed accordingly.
13613 2004-07-05 Sven Neumann <sven@gimp.org>
13615 * plug-ins/gimpressionist: applied patch from Shlomi Fish that
13616 fixes a number of bugs in the gimpressionst plug-in (bug #145309).
13618 Also added some const qualifiers, cleaned up includes and removed
13619 degtorad() and radtodeg() functions that used to duplicate
13620 functionality from libgimpmath.
13622 2004-07-05 Michael Natterer <mitch@gimp.org>
13624 * app/widgets/gimptemplateview.c
13625 (gimp_template_view_tree_name_edited): removed unused local variables.
13627 2004-07-05 Sven Neumann <sven@gimp.org>
13629 * plug-ins/gfig/gfig-dialog.c: don't g_free() a GdkPixbuf, it's an
13630 object. Removed trailing whitespace.
13632 * plug-ins/gfig/gfig-preview.c (draw_background): fixed declaration.
13634 2004-07-05 Michael Natterer <mitch@gimp.org>
13636 * app/tools/gimpcolorizetool.c (gimp_colorize_tool_initialize):
13637 return TRUE if initialization was successful. Makes the
13638 tool->drawable pointer being set correctly by the calling code and
13639 fixes bugs where colorize was leaving the drawable in a modified
13640 but non-undoable state when cancelling or changing images.
13642 2004-07-05 Sven Neumann <sven@gimp.org>
13644 * modules/cdisplay_proof.c: use object properties for the
13645 configurable values.
13647 2004-07-05 Michael Natterer <mitch@gimp.org>
13649 * app/core/gimpchannel.[ch]: added signal "color-changed" and emit
13650 it in gimp_channel_set_color() and gimp_channel_set_opacity().
13652 * app/core/gimpimage-qmask.[ch]: added new functions
13653 gimp_image_set,get_qmask_color().
13655 * app/core/gimpimage.[ch]: install a "color-changed" handler on
13656 gimage->channels and update gimage->qmask_color when the qmask's
13657 color changes. Fixes bug #145361.
13659 * app/actions/qmask-commands.c: use the new qmask color API.
13661 2004-07-04 Simon Budig <simon@gimp.org>
13663 * app/actions/dialogs-commands.c
13664 * app/display/gimpdisplayshell-dnd.c
13665 * app/gui/preferences-dialog.c
13666 * app/tools/gimppainttool.c
13667 * app/widgets/gimpdeviceinfo.c
13668 * app/widgets/gimpitemtreeview.c
13669 * plug-ins/imagemap/imap_selection.c
13670 * tools/pdbgen/pdb/gradients.pdb: Small changes to make GIMP
13671 CVS compile with gcc 2.95 again. Mostly double semicolons and
13672 variable declarations after other stuff. Spotted by Martin
13675 * app/pdb/gradients_cmds.c: regenerated.
13677 (there is one issue left, see his patch at
13678 http://old.homeip.net/martin/gcc-2.95.diff, I did not
13679 copy the #define va_copy __va_copy, since I don't know
13680 what happens here.)
13682 2004-07-04 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13684 * plug-ins/gfig/gfig-dialog.[ch]:
13685 * plug-ins/gfig/gfig-style.[ch]:
13686 * plug-ins/gfig/notes.txt: New files.
13687 * plug-ins/gfig/*.[ch]: Complete reworking of the gfig plug-in.
13688 See 'notes.txt' for a summary of what has changed, and how to use
13689 it now. Plenty of bugs have been introduced, which will take a
13690 while to straighten out.
13692 2004-07-04 Tor Lillqvist <tml@iki.fi>
13694 * app/core/gimpdrawable-equalize.c (gimp_drawable_equalize): Drop
13695 a couple of unused variables.
13697 * libgimpmodule/gimpmodule.def: Add gimp_module_register_enum.
13699 2004-07-04 Sven Neumann <sven@gimp.org>
13701 * libgimpmodule/gimpmodule.[ch]: added gimp_module_register_enum(),
13702 a function to register an enum type for a GTypeModule.
13704 * modules/cdisplay_colorblind.c: use an object property for the
13705 color deficiency enum.
13707 2004-07-04 Sven Neumann <sven@gimp.org>
13709 * plug-ins/common/channel_mixer.c: don't attempt to store a
13710 pointer to the last used filename in the plug-in parameter
13711 struct. Fixes bug #145380.
13713 2004-07-04 Sven Neumann <sven@gimp.org>
13715 * modules/cdisplay_gamma.c
13716 * modules/cdisplay_highcontrast.c: added object properties for
13717 configurable values.
13719 * app/widgets/gimpcolordisplayeditor.c
13720 * libgimpwidgets/gimpcolordisplaystack.c
13721 * modules/cdisplay_colorblind.c
13722 * modules/cdisplay_proof.c: cosmetic changes.
13724 2004-07-03 Michael Natterer <mitch@gimp.org>
13726 * app/core/gimpcontext.[ch]: added context->serialize_props mask
13727 which enables specifying exactly which properties will be
13728 serialized. Also fixes a bug that prevented undefined properties
13729 from being serialized, breaking tool_options and device status
13732 * app/core/gimptoolinfo.c (gimp_tool_info_new): make only the
13733 properties in the tool_info->context_props mask serializable, also
13734 configure/initialize tool_info->tool_options.
13736 * app/tools/gimp-tools.c (gimp_tools_register): removed
13737 tool_options initialization that is now done in
13738 gimp_tool_info_new().
13740 * app/widgets/gimpdeviceinfo.c: make only the properties in
13741 GIMP_DEVICE_INFO_CONTEXT_MASK serializable.
13743 * app/widgets/gimpdevicestatus.c: add the device table to its
13744 parent container again. Fixes "missing" devices.
13746 * app/core/gimptooloptions.c
13747 * app/widgets/gimpdevices.c: cleanup / code review.
13749 2004-07-03 Michael Natterer <mitch@gimp.org>
13751 * app/tools/gimppainttool.c (gimp_paint_tool_cursor_update): if
13752 the color tool is enabled, skip cursor hiding entirely.
13754 2004-07-03 Sven Neumann <sven@gimp.org>
13756 * plug-ins/common/dog.c (dog): removed #ifdef'ed code that isn't
13759 2004-07-02 Philip Lafleur <plafleur@cvs.gnome.org>
13761 * app/tools/gimptransformoptions.[ch]:
13762 * app/tools/gimptransformtool.c:
13763 * app/tools/tools-enums.[ch]: Replaced "Preview" checkbutton with
13764 a combobox with options "Outline", "Grid", "Image", and
13765 "Image + Grid". Addresses bug #108172.
13767 2004-07-02 Sven Neumann <sven@gimp.org>
13769 * app/actions/edit-actions.c: don't let the Paste menu items
13770 sensitivity depend on the availability of clipboard data because
13771 we aren't notified when the GDK clipboard changes.
13773 2004-07-02 Sven Neumann <sven@gimp.org>
13775 * app/gui/Makefile.am
13776 * app/gui/clipboard.[ch]: new files implementing a clipboard for
13777 image data based on GDK_SELECTION_CLIPBOARD (bug #133247).
13779 * app/actions/edit-actions.c
13780 * app/actions/edit-commands.c: use the new clipboard API.
13782 * app/gui/gui.c: initialize and shutdown the clipboard.
13784 * app/core/gimpbuffer.c: cosmetics.
13786 * app/actions/actions.c
13787 * app/menus/menus.c: added sanity checks to exit functions.
13789 * app/display/gimpdisplayshell-dnd.[ch]: let
13790 gimp_display_shell_drop_svg() take a guchar * buffer.
13792 * app/widgets/gimpselectiondata.c (gimp_selection_data_get_pixbuf):
13793 fixed the implementation.
13795 2004-07-02 Michael Natterer <mitch@gimp.org>
13797 * plug-ins/gimpressionist/Makefile.am
13798 * plug-ins/gimpressionist/*.[ch]: applied patch from Shlomi Fish
13799 that massively cleans up gimppressionist (touching all files and
13800 addding some new ones) and adds a simple PDB interface for
13801 selecting one of the previously created presets.
13802 Fixes bugs #145191, #144913 and #144922.
13804 2004-07-01 Sven Neumann <sven@gimp.org>
13806 * configure.in: bumped version number to 2.1.2.
13808 2004-07-01 Michael Schumacher <schumaml@cvs.gnome.org>
13810 * plug-ins/common/align_layers.c: there seems to be no reason why
13811 this plug-in should not work on INDEXED* images, added it to the
13812 registered image types
13814 2004-07-01 Roman Joost <roman@bromeco.de>
13816 * plug-ins/script-fu/scripts/blend-anim.scm
13817 * plug-ins/script-fu/scripts/glossy.scm
13818 * plug-ins/script-fu/scripts/test-sphere.scm: fixed typos
13820 2004-07-01 Sven Neumann <sven@gimp.org>
13822 * app/widgets/gimpselectiondata.[ch]: added (yet unused) functions
13823 gimp_selection_data_[get|set]_pixbuf().
13825 2004-07-01 Michael Natterer <mitch@gimp.org>
13827 * app/widgets/gimpfgbgarea.[ch]: implement GtkWidget::drag_motion()
13828 and set the FG/BG depending on where the color was dropped. Also
13829 set the drag status accordingly so the cursor indicates whether
13830 dropping will have an effect or not. Fixes bug #145219.
13832 2004-07-01 Sven Neumann <sven@gimp.org>
13834 * app/core/gimptemplate.c: do like Liam taught us and use the
13835 golden ratio as default for new images.
13837 2004-06-30 Philip Lafleur <plafleur@cvs.gnome.org>
13839 * app/tools/gimppainttool.c (gimp_paint_tool_cursor_update):
13840 Chain up if the color tool is enabled. This fixes the problem of
13841 the color picker cursor not appearing when using a paint tool
13842 in color picking mode while "Show Paint Tool Cursor" is off.
13844 2004-06-30 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13846 * libgimp/gimpdrawable.c: moved call to
13847 _gimp_tile_cache_flush_drawable() from gimp_drawable_detach() to
13848 gimp_drawable_flush(), to resolve problem described in bug
13851 2004-06-30 Michael Natterer <mitch@gimp.org>
13853 * app/plug-in/plug-ins.[ch] (plug_ins_init): added a GimpContext
13854 parameter and use it to start plug-ins.
13856 * app/core/gimp.c (gimp_real_restore): pass the user context.
13857 Restores script-fu's access to the global FG, FG, brush, ...
13859 2004-06-30 Sven Neumann <sven@gimp.org>
13861 * app/core/core-enums.c
13862 * app/display/display-enums.c
13863 * app/paint/paint-enums.c
13864 * app/text/text-enums.c
13865 * app/widgets/widgets-enums.c: regenerated.
13867 2004-06-30 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13869 * app/actions/file-commands.c: revert previous change that was
13870 intended to fix bug #141971.
13872 2004-06-30 Bill Skaggs <weskaggs@primate.ucdavis.edu>
13874 * app/*/*-enums.h: did HIG-compliant capitalization in the right
13875 place, instead of the auto-generated *-enums.c files.
13877 2004-06-30 Michael Natterer <mitch@gimp.org>
13879 * app/widgets/gimpdnd.[ch]
13880 * app/widgets/gimpselectiondata.[ch]
13881 * app/widgets/gimpcontainertreeview.[ch]: changed "files" and "uris"
13882 to "uri_list" in all function names, parameters and typedefs.
13884 * app/widgets/gimpcontainertreeview-dnd.c
13885 * app/widgets/gimpdocumentview.c
13886 * app/widgets/gimplayertreeview.c
13887 * app/widgets/gimptoolbox-dnd.c
13888 * app/display/gimpdisplayshell-dnd.[ch]
13889 * app/display/gimpdisplayshell.c: changed accordingly.
13891 2004-06-30 Sven Neumann <sven@gimp.org>
13893 * plug-ins/maze/maze_face.c: made the dialog look a little less
13896 2004-06-30 Sven Neumann <sven@gimp.org>
13898 * tools/pdbgen/pdb/drawable.pdb
13899 * libgimp/gimppixbuf.c: raised the maximum size for thumbnails
13900 from 256 to 512 pixels.
13902 * app/pdb/drawable_cmds.c
13903 * libgimp/gimpdrawable_pdb.c: regenerated.
13905 * plug-ins/gfig/gfig-preview.c
13906 * plug-ins/gfig/gfig.c: redone Bill's fix using
13907 gimp_image_get_thumbnail(). A lot simpler, renders the alpha
13908 checkerboard and also works for grayscale images.
13910 2004-06-30 Michael Natterer <mitch@gimp.org>
13912 Fixed a 1.2 -> 2.0 regression that was forgotten:
13914 * app/widgets/widgets-enums.[ch]: added enum GimpColorPickState
13915 which can be one of { NEW, UPDATE }.
13917 * app/widgets/gimppaletteeditor.[ch]: changed #if 0'ed function
13918 gimp_palette_editor_update_color() to
13919 gimp_palette_editor_pick_color() and restored the functionality of
13920 creating/updating colors via this API
13922 Changed button_press handler to only edit the color on double
13923 click if it's really a double click on the same color.
13926 * app/tools/gimpcolorpickeroptions.[ch]: added boolean property
13927 "add-to-palette" and a GUI for it.
13929 * app/core/gimpmarshal.list
13930 * app/tools/gimpcolortool.[ch]: added a GimpColorPickState
13931 parameter to the "color_picked" signal. Pass NEW on button_press
13932 and UPDATE on motion.
13934 * app/tools/gimpcurvestool.c (gimp_curves_tool_color_picked)
13935 * app/tools/gimplevelstool.c (gimp_levels_tool_color_picked)
13936 * app/tools/gimppainttool.c (gimp_paint_tool_color_picked):
13937 changed accordingly
13939 * app/tools/gimpcolorpickertool.c (gimp_color_picker_tool_picked):
13940 If "add-to-palette" is TRUE, get the palette editor and call
13941 gimp_palette_editor_pick_color().
13943 2004-06-30 Sven Neumann <sven@gimp.org>
13945 * app/widgets/gimpselectiondata.[ch]: renamed the SVG related
13946 functions so that they deal with an anonymous data stream that
13947 could as well be a PNG image.
13949 * app/widgets/gimpdnd.[ch]
13950 * app/widgets/gimpcontainertreeview-dnd.c: changed accordingly.
13952 * app/display/gimpdisplayshell-dnd.[ch]
13953 * app/vectors/gimpvectors-import.[ch]
13954 * app/widgets/gimpcontainertreeview-dnd.c
13955 * app/widgets/gimpvectorstreeview.c: use gsize for the length of
13958 * app/widgets/gimpdnd.[ch]
13959 * app/widgets/widgets-enums.[ch]: added GIMP_DND_TYPE_PNG which isn't
13962 2004-06-30 Michael Natterer <mitch@gimp.org>
13964 * app/core/gimppalette.[ch] (gimp_palette_add_entry): take
13965 const GimpRGB* instead of just GimpRGB*.
13966 Converted tabs to spaces.
13968 2004-06-30 Michael Natterer <mitch@gimp.org>
13970 * widgets/gimpselectiondata.[ch] (gimp_selection_data_get_svg):
13971 changed return value from gchar* to const gchar*. Renamed
13972 parameters to be consistent with other SVG functions.
13974 * widgets/gimpcontainertreeview-dnd.c
13975 * widgets/gimpdnd.c: changed accordingly.
13977 2004-06-30 Simon Budig <simon@gimp.org>
13979 * app/vectors/gimpstroke.[ch]
13980 * tools/pdbgen/pdb/paths.pdb: Applied a modified patch from
13981 Geert Jordaens that implements the gimp-path-get-point-at-dist
13982 PDB function (fixes bug #138754).
13984 * app/pdb/paths_cmds.c: regenerated.
13986 2004-06-30 Michael Natterer <mitch@gimp.org>
13988 * app/widgets/gimptoolbox.c (gimp_toolbox_button_accel_changed):
13989 do like GtkAccelLabel does and turn underscores in accels into
13990 spaces so e.g. "Page_Up" becomes "Page Up".
13992 2004-06-29 Michael Natterer <mitch@gimp.org>
13994 * app/display/gimpdisplayshell.c: reordered drop destinations
13995 so vectors are preferred over SVG.
13997 * app/vectors/gimpvectors-import.[ch]: added "gint position"
13998 parameter to all import functions so the imported vectors can be
13999 added at any position in the vectors stack.
14001 * app/actions/vectors-commands.c
14002 * app/display/gimpdisplayshell-dnd.c
14003 * tools/pdbgen/pdb/paths.pdb: changed accordingly (pass -1 as
14006 * app/pdb/paths_cmds.c: regenerated.
14008 * app/widgets/gimpvectorstreeview.c: implemented SVG DND from and
14009 to the paths dialog.
14011 2004-06-29 Michael Natterer <mitch@gimp.org>
14013 * app/widgets/gimpcontainertreeview-dnd.c: don't free the SVG data
14014 after dropping, it's owned by GtkSelectionData.
14016 2004-06-29 Michael Natterer <mitch@gimp.org>
14018 * app/widgets/gimpdnd.c: use gtk_target_list_add() instead of
14019 gtk_target_list_add_table() because the latter prepends the
14020 targets to the internal list which screws the order (== priority)
14023 * app/widgets/gimpselectiondata.c: added some more checks for
14024 failed drops (selection_data->length < 0).
14026 2004-06-29 Philip Lafleur <plafleur@cvs.gnome.org>
14028 * plug-ins/common/unsharp.c: The preview's row buffer was
14029 accidentally made way too large.
14031 2004-06-29 Michael Natterer <mitch@gimp.org>
14033 * app/widgets/gimpwidgets-utils.[ch]: added new function
14034 gimp_get_mod_string() which takes a GdkModifierType and returns
14035 correctly formated strings for all shift,control,alt combinations.
14037 * app/tools/gimpbucketfilloptions.c
14038 * app/tools/gimpcolorpickeroptions.c
14039 * app/tools/gimpconvolvetool.c
14040 * app/tools/gimpcropoptions.c
14041 * app/tools/gimpdodgeburntool.c
14042 * app/tools/gimperasertool.c
14043 * app/tools/gimpflipoptions.c
14044 * app/tools/gimpmagnifyoptions.c
14045 * app/tools/gimpmoveoptions.c
14046 * app/tools/gimptransformoptions.c
14047 * app/tools/gimpvectoroptions.c
14048 * app/widgets/gimpchanneltreeview.c
14049 * app/widgets/gimpcolormapeditor.c
14050 * app/widgets/gimpdocumentview.c
14051 * app/widgets/gimperrorconsole.c
14052 * app/widgets/gimpgradienteditor.c
14053 * app/widgets/gimpitemtreeview.c
14054 * app/widgets/gimppaletteeditor.c
14055 * app/widgets/gimpselectioneditor.c
14056 * app/widgets/gimpthumbbox.c
14057 * app/widgets/gimptooloptionseditor.c
14058 * app/widgets/gimpvectorstreeview.c: use the new function instead
14059 of gimp_get_mod_name_shift(),control(),alt(),separator(). This
14060 kindof addresses the issue of configurable modifier keys but is
14061 actually indended to ease translation of format strings ("%s" is
14062 easier to get right than "%s%s%s").
14064 2004-06-28 Michael Natterer <mitch@gimp.org>
14066 Allow all sorts of things to be dropped on or in between the
14067 items of a GimpContainerTreeView:
14069 * app/widgets/gimpcontainertreeview.[ch]: added more parameters to
14070 GimpContainerTreeView::drop_possible() to specify where ecactly
14071 the drop should take place (between or into items) and to support
14072 dropping all sorts of things.
14074 Renamed ::drop() to ::drop_viewable() and added ::drop_color(),
14075 ::drop_files() and ::drop_svg(), which cover all possible drop
14078 * app/widgets/gimpcontainertreeview-dnd.[ch]: changed accordingly.
14079 Dispatch all kinds of drops to the resp. virtual functions.
14081 * app/widgets/gimpitemtreeview.c: changed accordingly.
14083 * app/widgets/gimplayertreeview.c: allow to drop URIs, colors
14084 and patterns to the layers dialog. Fixes bugs #119506 and #139246.
14086 2004-06-28 Michael Natterer <mitch@gimp.org>
14088 * app/file/file-open.[ch] (file_open_layer): new utility function
14089 which opens an image, flattens it if needed and returns the only
14090 layer, converted for a passed destination image.
14092 * app/display/gimpdisplayshell-dnd.c
14093 (gimp_display_shell_drop_files): use the new function.
14095 2004-06-28 Michael Natterer <mitch@gimp.org>
14097 * app/widgets/Makefile.am
14098 * app/widgets/gimpselectiondata.[ch]: new files containing the
14099 code which encodes/decodes all sorts of stuff to/from its
14100 GtkSelectionData representation. Used to live in gimpdnd.c
14102 * app/widgets/gimpdnd.c: use the new functions (unclutters the
14103 file quite a bit), converted tabs to spaces.
14105 2004-06-28 Michael Natterer <mitch@gimp.org>
14107 * app/widgets/gimpcontainergridview.c:
14108 #include "libgimpwidgets/gimpwidgets.h"
14110 2004-06-28 Michael Natterer <mitch@gimp.org>
14112 Fixed bug #141930 while keeping bug #132322 fixed:
14114 * app/base/curves.c (curves_lut_func)
14115 * app/base/levels.c (levels_lut_func): changed meaning of channel
14116 slots for GRAYA images: just as for GRAY images, expect the value
14117 channel in slot 0 and the alpha channel in slot 1, so it matches
14118 the meaning of slots of GimpHistogram (before this change, only
14119 GRAY images had their value in slot 0 and GRAYA images had it in
14120 slot 1, whereas the histogram had the value channel in slot 0,
14121 which was breaking auto levels for GRAYA images).
14123 * app/tools/gimpcurvestool.c
14124 * app/tools/gimplevelstool.c
14125 * tools/pdbgen/pdb/color.pdb: adjusted channel fiddling for GRAY
14126 and GRAYA images accordingly.
14128 * app/tools/gimpcurvestool.c (curves_update)
14129 * app/tools/gimplevelstool.c (levels_update): call
14130 gimp_color_bar_set_buffers() with the right buffers.
14132 * app/pdb/color_cmds.c: regenerated.
14134 2004-06-28 Sven Neumann <sven@gimp.org>
14136 * app/gui/gui.c (gui_initialize_after_callback): select the
14139 * app/tools/tool_manager.c: cosmetics.
14141 2004-06-28 Michael Natterer <mitch@gimp.org>
14143 * app/tools/gimplevelstool.c: reverted fix for bug #141930. These
14144 hacks are there because the enum used in levels doesn't match
14145 the enum used by the combo box and the histogram widget.
14147 2004-06-28 Michael Natterer <mitch@gimp.org>
14149 * app/tools/gimpclonetool.c (gimp_clone_tool_button_release):
14150 removed again (tools must not draw outside GimpDrawTool::draw()).
14152 (gimp_clone_tool_draw): removed check for gimp_draw_tool_is_active()
14153 because the draw function would not be called if the draw tool was
14154 inactive. Simplified check for whether or not to draw the src
14157 * app/tools/gimppainttool.c (gimp_paint_tool_button_release):
14158 pause/resume the draw tool across all button_release actions so
14159 tools (clone) have a chance to draw different things depending on
14160 gimp_tool_control_is_active(tool->control). Fixes bug #145022.
14162 2004-06-28 Sven Neumann <sven@gimp.org>
14164 * app/actions/actions.c (action_select_object): added missing
14167 2004-06-28 Sven Neumann <sven@gimp.org>
14169 * plug-ins/common/dog.c: applied HIG rules to the GUI and slightly
14170 rearranged it to get a more compact layout. Applied GIMP coding
14173 2004-06-28 Sven Neumann <sven@gimp.org>
14175 * libgimp/gimpdrawable.c: removed wrong note about using
14176 _gimp_tile_cache_flush_drawable() from the API docs.
14178 2004-06-28 Sven Neumann <sven@gimp.org>
14180 * plug-ins/common/dog.c (dog): ifdef'ed out calls to
14181 _gimp_tile_cache_flush_drawable() since it can't be used from a
14182 plug-in. Removed trailing whitespace and redundant includes.
14184 * libgimp/gimp.def: removed _gimp_tile_cache_flush_drawable again.
14186 2004-06-28 Simon Budig <simon@gimp.org>
14188 * app/tools/gimpvectortool.c: fixed drawing code to properly
14189 update after deleting nodes via BackSpace/Delete.
14191 2004-06-27 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14193 * app/tools/gimplevelstool.c: removed two small chunks of code.
14194 Fixes bug #141930. Possibly unfixes bug #132322.
14196 2004-06-27 Michael Schumacher <schumaml@cvs.gnome.org>
14198 * libgimp/gimp.def: added _gimp_tile_cache_flush_drawable because
14199 it is used in a plug-in. See bug #145051.
14201 2004-06-26 Philip Lafleur <plafleur@cvs.gnome.org>
14203 * plug-ins/common/unsharp.c: Preview now works correctly with
14204 RGBA and grayscale-alpha images. Fixes bug #144971.
14206 2004-06-26 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14208 * app/tools/gimpclonetool.c: added button_release callback
14209 to fix bug #145022.
14211 2004-06-26 Philip Lafleur <plafleur@cvs.gnome.org>
14213 * plug-ins/common/unsharp.c: Use GTK_PREVIEW_GRAYSCALE if source
14214 is grayscale or grayscale-alpha. Partial fix for bug #144971.
14216 2004-06-25 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14218 * plug-ins/common/unsharp.c: speed up preview by allocating tile
14219 cache before creating dialog. Should fix bug #144972.
14221 2004-06-25 Philip Lafleur <plafleur@cvs.gnome.org>
14223 * plug-ins/common/zealouscrop.c: Moved Zealous Crop from
14224 <Image>/Layer/Crop to <Image>/Image/Crop because it affects the
14227 2004-06-25 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14229 * plug-ins/common/dog.c: added Difference of Gaussians edge
14232 * plug-ins/common/plugin-defs.pl:
14233 * plug-ins/common/Makefile.am: added dog and regenerated
14236 2004-06-25 Michael Natterer <mitch@gimp.org>
14238 * app/actions/context-actions.c: added GIMP_ACTION_SELECT_SET
14239 actions which set a generated brush's properties directly.
14241 * app/actions/context-commands.c: adjust the range of possible
14242 brush radius and aspect_ratio values to be actually usable.
14244 2004-06-25 Michael Natterer <mitch@gimp.org>
14246 * app/core/gimpbrushgenerated.[ch]: reordered parameters and
14247 members to be consistent with other places where generated
14248 brushes are used. Check for errors when loading a brush and
14249 utf8-validate its name. Cleanup.
14251 * app/core/gimpbrush.c
14252 * app/core/gimpbrushpipe.c: cleanup.
14254 2004-06-25 Michael Natterer <mitch@gimp.org>
14256 * app/gui/preferences-dialog.c (prefs_dialog_new): work around
14257 GTK+ bug #143270 (set the cursor on the selected model path
14258 instead of selecting the iter in the selection). Fixes random
14259 theme switching when selecting the "Theme" page.
14261 2004-06-25 Michael Natterer <mitch@gimp.org>
14263 * app/core/gimpbrushgenerated.c: added properties for all brush
14266 * app/widgets/gimpbrusheditor.c: listen to property changes of the
14267 edited brush and update the scales accordingly.
14269 2004-06-25 Michael Natterer <mitch@gimp.org>
14271 * app/gui/preferences-dialog.c: more work on the controller page,
14272 made integer controller properties editable.
14274 * modules/controller_midi.c: allow to specify the MIDI channel to
14275 generate events from. Default to -1 (all channels).
14277 2004-06-24 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14279 * plug-ins/gfig/gfig.[ch]:
14280 * plug-ins/gfig/gfig-preview.c: Let gfig use a thumbnail of the
14281 image as background for its preview, if the image is RGB and "Show
14282 image" is checked in the Options tab. (Next best thing to
14283 previewing in the image.)
14285 2004-06-25 Michael Natterer <mitch@gimp.org>
14287 * app/widgets/gimpcontrollerinfo.[ch]: added a boolean property
14288 "debug-events" and honor it when printing debugging output.
14289 Should add an event console window so the user doesn't need to
14290 have a terminal to inspect input module output.
14292 * app/gui/prefereces-dialog.c: HIGified some forgotten labels.
14293 Renamed the "Pointer Movement Feedback" frame to "Mouse Cursors".
14294 Replaced some forgotten "Dir" with "Folder".
14295 Made more GimpControllerInfo and GimpController properties
14296 editable and cleaned up the controller page.
14298 2004-06-25 Michael Natterer <mitch@gimp.org>
14300 * app/widgets/gimppropwidgets.[ch]: added gimp_prop_label_new().
14302 * app/widgets/gimpgrideditor.c: HIGified capitalization.
14304 2004-06-25 Michael Natterer <mitch@gimp.org>
14306 * modules/controller_linux_input.c
14307 * modules/controller_midi.c: remember the source ID returned by
14308 g_io_add_watch() and remove it when changing the device, so the
14309 file descritor gets actually closed. Minor cleanups.
14311 2004-06-24 Michael Natterer <mitch@gimp.org>
14313 * app/widgets/gimpcontrollerwheel.[ch]: renamed function
14314 gimp_controller_wheel_scrolled() to
14315 gimp_controller_wheel_scroll().
14317 * app/display/gimpdisplayshell-callbacks.c
14318 (gimp_display_shell_canvas_tool_events): changed accordingly.
14320 2004-06-24 Michael Natterer <mitch@gimp.org>
14322 * etc/controllerrc: fix typo in wheel controller mapping.
14324 2004-06-24 Michael Natterer <mitch@gimp.org>
14326 * app/tools/gimptool.[ch]
14327 * app/tools/tool_manager.[ch]: added boolean return value to
14328 GimpTool::key_press() which indicates if the event was handled.
14330 * app/tools/gimpcroptool.c
14331 * app/tools/gimpeditselectiontool.[ch]
14332 * app/tools/gimptransformtool.c
14333 * app/tools/gimpvectortool.c: return TRUE if the key event was handled.
14335 * app/tools/gimppainttool.c: removed key_press() implementation.
14337 * app/widgets/Makefile.am
14338 * app/widgets/widgets-types.h
14339 * app/widgets/gimpcontrollerkeyboard.[ch]: new controller class
14340 which takes GdkEventKey and emits controller events for all
14341 combinations of modifiers and cursor keys.
14343 * app/widgets/gimpcontrollers.[ch]: added new function
14344 gimp_controllers_get_keyboard().
14346 * app/display/gimpdisplayshell-callbacks.c: if a key event was not
14347 handled by the active tool, dispatch it to the keyboard controller.
14349 * etc/controllerrc: add a keyboard controller which is configured
14350 to do the same as the removed gimp_paint_tool_key_press().
14352 2004-06-23 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14354 * libgimp/gimpdrawable.c: added some documentation for
14355 a few important functions with no API docs.
14357 2004-06-24 Sven Neumann <sven@gimp.org>
14359 * Made 2.1.1 release.
14361 2004-06-23 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14363 * app/actions/file-commands.c: make "Revert" only ask for
14364 confirmation if image is dirty. Fixes bug #141971.
14366 2004-06-23 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14370 * etc/templaterc: HIGify capitalization. Should finish bug #123699
14371 except for everything I missed or got wrong.
14373 2004-06-24 Sven Neumann <sven@gimp.org>
14375 * etc/controllerrc: commented out the linux_input controller
14378 2004-06-23 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14380 * app/tools/*.c: HIGify capitalization for dialogs. More
14381 progress on bug #123699.
14383 2004-06-23 Michael Natterer <mitch@gimp.org>
14385 * modules/controller_midi.c: added utility function midi_event()
14386 which assembles a GimpControllerEventValue and emits it.
14388 2004-06-23 Michael Natterer <mitch@gimp.org>
14390 * app/widgets/gimpenumaction.[ch]
14391 * app/widgets/gimppluginaction.[ch]
14392 * app/widgets/gimpstringaction.[ch]: added parameters to the
14393 gimp_*_action_selected() function so the "selected" signal can be
14394 emitted with value != action->value. Changed GtkAction::activate()
14395 implementations accordingly (pass action->value).
14397 * app/widgets/gimpcontrollers.c: call gimp_enum_action_selected()
14398 and pass the value of the GimpControllerEventValue instead of
14399 temporarily replacing action->value and calling
14400 gtk_action_activate().
14402 * app/widgets/gimpcontrollerinfo.c: fixed debugging output.
14404 2004-06-23 Michael Natterer <mitch@gimp.org>
14406 * app/paint/gimpbrushcore.[ch]: added signal "set-brush" which is
14407 G_SIGNAL_RUN_LAST so we can connect before and after the default
14408 implementation. Moved the brush setting and outline invalidation
14409 stuff to its default implementation. Also remember the outline's
14410 width and height. Call gimp_brush_core_set_brush() from
14411 gimp_brush_core_invalidate_cache() so "set-brush" is emitted
14412 whenever a generated brush becomes dirty.
14414 * app/tools/gimppainttool.c (gimp_paint_tool_button_press): don't
14415 pause/resume but rather stop/start the draw_tool. Fixes straight
14416 line preview aretefacts.
14418 (gimp_paint_tool_oper_update): set the brush_core's brush before
14419 starting the draw_tool.
14421 (gimp_paint_tool_draw): never free the brush_core's cached brush
14422 outline because the brush_core does that by itself now.
14424 (gimp_paint_tool_set_brush)
14425 (gimp_paint_tool_set_brush_after): new callbacks which pause and
14426 resume the draw_tool. Fixes brush outline artefacts when modifying
14427 the current brush e.g. by using the mouse wheel.
14429 2004-06-23 Michael Natterer <mitch@gimp.org>
14431 * app/actions/context-commands.h: removed enum GimpContextSelectType.
14433 * app/actions/actions-types.h: added enum GimpActionSelectType.
14435 * app/actions/actions.[ch]: added utility functions
14436 action_select_value() and action_select_object().
14438 * app/actions/context-actions.c
14439 * app/actions/context-commands.c: changed accordingly.
14441 * app/actions/layers-actions.c
14442 * app/actions/layers-commands.[ch]: merged the layer select
14443 callbacks into one using the GimpActionSelectType functions. Added
14444 actions and callbacks for modifying the active layer's opacity.
14446 * app/menus/menus-types.h: #incude "actions/action-types.h".
14448 * app/gui/gui-types.h: #incude "menus/menus-types.h".
14450 * app/gui/preferences-dialog.c: allow to enable/disable input
14453 2004-06-22 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14455 * app/tools/gimpcurvestool.c: try again to revert.
14457 2004-06-22 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14459 * app/tools/gimpcurvestool.c: reverted.
14461 2004-06-22 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14463 * plug-ins/script-fu/scripts: HIG-ified capitalization on
14464 all. Finishes this for everything in plug-ins. Bug #123699 is
14467 2004-06-22 Sven Neumann <sven@gimp.org>
14469 * app/composite/gimp-composite-regression.c: define timersub()
14470 macro in case it's undefined. Patch by Tim Mooney, fixes 'make
14471 check' on Tru64 (bug #144780).
14473 2004-06-22 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14475 * app/tools/gimpcurvestool.c: added Store/Recall buttons for
14476 one-click saving and loading of curves. Should create stock
14477 labels for them. Hopefully resolves bug #75558.
14479 2004-06-22 Michael Natterer <mitch@gimp.org>
14481 * app/actions/view-actions.c
14482 * app/actions/view-commands.[ch]: added actions & callbacks to
14483 configure the canvas padding color.
14485 * app/widgets/gimphelp-ids.h
14486 * menus/image-menu.xml.in: added the actions' help IDs and menu entries.
14488 * app/display/display-enums.h: added /*< skip >*/'ed enum value
14489 GIMP_CANVAS_PADDING_MODE_RESET.
14491 * app/display/gimpdisplayshell-appearance.c
14492 * app/display/gimpdisplayshell-callbacks.[ch]
14493 * app/display/gimpdisplayshell-handlers.c
14494 * app/display/gimpdisplayshell.[ch]: removed the canvas padding
14495 button and its popup menu (fixes bug #142996). Instead, added a
14496 toggle button which allows to zoom the image when the window is
14497 resized (as known from sodipodi, except it doesn't work as nice
14498 yet :-) improvements to the algorithm are welcome).
14499 Cleaned up the GimpDisplayShell struct a bit and renamed some
14502 * libgimpwidgets/gimpstock.[ch]
14503 * themes/Default/images/Makefile.am
14504 * themes/Default/images/stock-zoom-follow-window-12.png: added new
14505 icon for the new display toggle button.
14507 2004-06-22 Michael Natterer <mitch@gimp.org>
14509 * app/tools/gimpclonetool.c (gimp_clone_tool_draw): chain up
14510 unconditionally now that we draw the brush outline while
14511 painting. Fixes brush outline artefacts on button_press and
14512 button_release. Spotted by sjburges.
14514 2004-06-22 Sven Neumann <sven@gimp.org>
14516 * app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image): unset
14517 the filename if the image is unnamed.
14520 * app/sanity.c: depend on gtk+ >= 2.4.1.
14522 * app/widgets/gimpthumbbox.[ch]: changed gimp_thumb_box_set_uris()
14523 to gimp_thumb_box_take_uris() since the function takes ownership
14526 * app/widgets/gimpfiledialog.c: changed accordingly. Removed code
14527 that worked around a problem in gtk+ < 2.4.1.
14529 2004-06-22 Sven Neumann <sven@gimp.org>
14531 * libgimpwidgets/gimpcolorarea.c (gimp_color_area_set_color): use
14532 gimp_rgb_distance() for flat color areas. Fixes bug #144786.
14534 2004-06-22 Sven Neumann <sven@gimp.org>
14536 * tools/pdbgen/pdb/fileops.pdb: app/pdb/fileops_cmds.c is a
14537 generated file, need to do the documentation change here.
14539 * app/pdb/fileops_cmds.c
14540 * libgimp/gimpfileops_pdb.c: regenerated.
14542 2004-06-21 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14544 * app/tools/gimptransformoptions.c: use radio buttons
14545 for constraint options. Makes all options visible,
14546 should resolve bug #68106.
14548 2004-06-21 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14550 * app/gui/file-save-dialog.c: to reduce clutter, hide overwrite
14551 query dialog after user has responded.
14553 2004-06-21 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14555 * plug-ins/common/noisify.c: changed handling of alpha
14556 channel in an attempt to deal with bug #72853.
14557 Changed menu entry from "Noisify" to "Scatter RGB".
14559 2004-06-21 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14561 * app/pdb/fileops_cmds.c: fixed incorrect documentation for
14562 gimp_file_load, which was the root cause of bug #118811.
14564 2004-06-21 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14566 * plug-ins: finish implementing HIG capitalization in dialogs.
14567 Scripts remain to be done. More progress on bug #123699.
14569 2004-06-21 Michael Natterer <mitch@gimp.org>
14571 * app/widgets/widgets-enums.[ch] (enum GimpCursorFormat): removed
14572 value GIMP_CURSOR_FORMAT_PIXBUF_PREMULTIPLY because it's the job
14573 of GDK to do that (it was GDK that was broken, not some of the X
14576 * app/widgets/gimpcursor.c (gimp_cursor_new): premultiply the
14577 cursor's pixels for GTK+ < 2.4.4.
14579 2004-06-21 Sven Neumann <sven@gimp.org>
14581 * app/gui/gui.c (gui_exit_callback): improved message in quit
14582 dialog just in case that we don't manage to redo this dialog
14585 2004-06-21 Sven Neumann <sven@gimp.org>
14587 * libgimpwidgets/gimpwidgets.[ch]
14588 * libgimpwidgets/gimpwidgets.def: added new utility function
14589 gimp_label_set_attributes().
14591 * app/display/gimpdisplayshell.c
14592 * app/gui/preferences-dialog.c
14593 * app/gui/resolution-calibrate-dialog.c
14594 * app/widgets/gimpviewabledialog.c
14595 * app/widgets/gimpwidgets-utils.c: use the new function.
14597 * app/widgets/gimpcontainergridview.c
14598 * app/widgets/gimphistogrameditor.c: display the name in italic.
14600 * plug-ins/common/jpeg.c: display the file size in italic.
14602 2004-06-20 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14604 * plug-ins/common/url.c: if url does not end in a recognized
14605 extension, open it as an unnamed image. Fixes bug #118811.
14607 2004-06-20 Sven Neumann <sven@gimp.org>
14609 * app/widgets/gimphistogrambox.[ch]: removed the label between the
14610 spinbuttons, it looks silly. Converted tabs to spaces, removed
14611 trailing whitespace.
14613 * app/widgets/gimphistogrameditor.c
14614 * app/tools/gimpthresholdtool.c: changed accordingly.
14616 2004-06-19 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14618 * plug-ins: changed dialogs to follow HIG capitalization style
14619 wherever they didn't. Scripts remain to be done. Partially
14622 2004-06-19 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14624 * app/widgets/gimphistogrambox.[ch]:
14625 * app/tools/gimpthresholdtool.c: Changed the threshold tool dialog
14626 so that it uses a two-triangle-slider scale of the sort used in the
14627 levels tool. Almost all of the changes are actually in the
14628 histogram-box widget code, which is only used by the threshold
14629 tool. Fixes bug #137521.
14631 2004-06-20 Sven Neumann <sven@gimp.org>
14633 * plug-ins/common/jpeg.c: removed redundant hboxes and other
14636 2004-06-20 Philip Lafleur <plafleur@cvs.gnome.org>
14638 * app/display/gimpdisplayshell-scale.[ch]:
14639 * app/display/gimpnavigationview.[ch]:
14640 * app/actions/view-actions.c:
14641 * app/actions/view-commands.[ch]:
14642 * app/widgets/gimphelp-ids.h:
14643 * menus/image-menu.xml.in: Changed "Zoom to Fit Window" command
14644 to "Fit Image in Window" and added another command, "Fit Image
14645 to Window", that zooms according to the opposite dimension. Fixes
14648 2004-06-19 Michael Schumacher <schumaml@cvs.gnome.org>
14650 * libgimpwidgets/gimpwidgets.def: added missing
14651 gimp_controller_* entries
14653 2004-06-19 Michael Schumacher <schumaml@cvs.gnome.org>
14655 * modules/controller_midi.c: #ifdef G_OS_WIN32 for an O_NONBLOCK
14657 2004-06-19 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14659 * plug-ins/common/jpeg.c: more changes to save dialog. Moved
14660 comment field to Advanced area. Don't set restart marker
14661 frequency stuff insensitive. Changed range for quality
14662 scale from 0-1 to 0-100 to follow the jpeg spec (but left
14663 allowable range for pdb at 0-1 to avoid breaking anything).
14665 2004-06-19 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14667 * app/tools/gimpscaletool.c: fixed my fix for bug # 68106, which
14668 worked incorrectly for two of the control points.
14670 2004-06-19 Michael Natterer <mitch@gimp.org>
14672 * modules/controller_midi.c (midi_read_event): simplified
14673 swallowing of SysEx messages and unwanted data bytes. Reordered
14674 and commented stuff to be more readable.
14676 2004-06-19 Michael Natterer <mitch@gimp.org>
14678 * modules/Makefile.am
14679 * modules/controller_midi.c: new controller for MIDI input. Maps
14680 all note on and note off events and all MIDI controllers to
14681 GimpContollerEvents. Should parse any MIDI stream. Code based on
14682 blinkenmedia stuff from Daniel Mack.
14684 2004-06-19 Sven Neumann <sven@gimp.org>
14686 Applied a patch from Geert Jordaens that implements the
14687 GtkStatusbar functionality in GimpStatusbar so that we can redo it
14688 in order to fix bug #120175:
14690 * app/core/gimpmarshal.list: added VOID: UINT, STRING.
14692 * app/display/gimpstatusbar.[ch]: copied GtkStatusbar code.
14694 * app/display/gimpdisplayshell.c: changed accordingly.
14696 2004-06-19 Sven Neumann <sven@gimp.org>
14698 * plug-ins/ifscompose/ifscompose_utils.c (create_brush): use
14699 G_SQRT2; some coding style cleanups.
14701 2004-06-19 Sven Neumann <sven@gimp.org>
14703 * app/vectors/gimpbezierstroke.c (arcto_ellipsesegment): moved
14704 array initialization out of variable declaration (bug #144632).
14706 2004-06-19 Sven Neumann <sven@gimp.org>
14708 * app/vectors/gimpbezierstroke.c (arcto_ellipsesegment): use
14709 G_SQRT2 to make circlemagic a constant value so we can initialize
14710 the array on declaration. Fixes bug #144632.
14712 2004-06-19 Sven Neumann <sven@gimp.org>
14714 * devel-docs/parasites.txt: document "exif-data" parasite.
14716 2004-06-18 Manish Singh <yosh@gimp.org>
14718 * plug-ins/common/film.c: Don't use deprecated gimp_text functions,
14719 clean up font name string handling a bit, default is now "Monospace"
14720 instead of "Courier".
14722 2004-06-19 Michael Natterer <mitch@gimp.org>
14724 * app/widgets/gimpcontrollers.c (gimp_controllers_event_mapped):
14725 start supporting GIMP_CONTROLLER_EVENT_VALUE of type gdouble.
14726 Assume the double value is in a [0.0..1.0] range and temporarily
14727 change the value of the called GimpEnumAction to a range of
14728 [0..1000] when invoking it. All still very hackish...
14730 2004-06-19 Michael Natterer <mitch@gimp.org>
14732 * app/widgets/gimpcontrollerinfo.c (gimp_controller_info_event):
14733 more debugging output.
14735 2004-06-18 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14737 * app/tools/gimpscaletool.c: changed algorithm for scaling when
14738 aspect ratio is constrained, to fix strange behavior described
14741 2004-06-18 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14743 * plug-ins/common/jpeg.c: redid save dialog along lines suggested
14746 Only create an exif data parasite on loading file if the file actually
14747 contains exif data.
14749 Call exif data parasite "exif-data" instead of "jpeg-exif-data",
14750 because it should be interchangeable with TIFF exif data.
14752 2004-06-18 Michael Natterer <mitch@gimp.org>
14754 * app/actions/context-actions.c
14755 * app/actions/context-commands.[ch]: added tons of new actions to
14756 modify the current FG/BG color's RGB components.
14758 Added new enum value GIMP_CONTEXT_SELECT_SET which allows to set
14759 values, not only increase/decrease them.
14761 Changed context_select_value() utility function to interpret
14762 GimpEnumAction::value being >= GIMP_CONTEXT_SELECT_SET as settings
14763 in a range from 0 to 1000. Yes, that's a hack...
14765 2004-06-18 Philip Lafleur <plafleur@cvs.gnome.org>
14767 * app/tools/gimptransformtool.c: reverted my fix to bug #144570.
14769 2004-06-18 Philip Lafleur <plafleur@cvs.gnome.org>
14771 * app/tools/gimpfuzzyselecttool.c: Fix fuzzy select menu label.
14773 2004-06-18 Philip Lafleur <plafleur@cvs.gnome.org>
14775 * app/tools/gimptransformtool.c (gimp_transform_tool_bounds):
14776 If transforming a path, use the path bounds rather than the mask
14777 bounds. Fixes bug #144570.
14779 2004-06-17 Michael Natterer <mitch@gimp.org>
14781 * app/core/gimp-utils.[ch]: added gimp_boolean_handled_accum().
14784 * app/widgets/gimpcontrollerinfo.c: use it.
14786 2004-06-17 Michael Natterer <mitch@gimp.org>
14788 * app/core/gimpcontainer.c (gimp_container_deserialize): add newly
14789 created children to the container *after* deserializing them so
14790 GimpContainer::add() callbacks get the already deserialized
14793 * app/widgets/gimpcontrollers.c: connect to "add" and "remove" of
14794 the controller list and remember / clear the wheel controller when
14795 it appears / disappears.
14797 2004-06-17 Sven Neumann <sven@gimp.org>
14799 * autogen.sh: check for xsltproc and mention that the intltool
14800 version mismatch is harmless.
14802 2004-06-17 Pedro Gimeno <pggimeno@wanadoo.es>
14804 * tools/pdbgen/pdb/paths.pdb: Fix typos and improve documentation.
14805 Addresses bug #144267.
14807 * app/pdb/paths_cmds.c
14808 * libgimp/gimppaths_pdb.c: regenerated.
14810 2004-06-17 Michael Natterer <mitch@gimp.org>
14812 * libgimpwidgets/gimpcontroller.[ch]: removed "enabled"
14813 property. Removed GIMP_CONTROLLER_PARAM_SERIALIZE from the "name"
14814 property because it's the hardware-determined name of this
14815 controller instance.
14817 * app/widgets/gimpcontrollerwheel.c
14818 * modules/controller_linux_input.c: set the name.
14820 * libgimpwidgets/gimpwidgets.h: #include gimpcontroller.h.
14822 * app/widgets/gimpcontrollerinfo.[ch]: added "enabled" here
14823 instead. Don't dispatch events if the controller is
14824 disabled. Made everything work (not crash) with info->mapping
14827 * etc/controllerrc: updated again with the changed format.
14829 * app/widgets/gimpcontrollers.[ch]: added
14830 gimp_controllers_get_list() which returns the container of
14833 * app/widgets/gimphelp-ids.h
14834 * app/gui/preferences-dialog.c: added controller configuration
14835 (can't change anything yet, just view the current settings).
14836 Resurrected the "Input Devices" page and removed the "Session"
14837 page by moving its widgets to other pages. Pack the various
14838 "Save now"/"Clear now" buttons vertically, not horizontally.
14841 * themes/Default/images/preferences/Makefile.am
14842 * themes/Default/images/preferences/controllers.png
14843 * themes/Default/images/preferences/theme.png: new icons for new
14844 prefs pages. Someone needs to make them nice...
14846 2004-06-17 Michael Natterer <mitch@gimp.org>
14848 * app/display/gimpdisplayshell.c: GtkUIManager makes the menu bar
14849 visible by default, hide it if options->show_menubar is FALSE.
14852 2004-06-17 Sven Neumann <sven@gimp.org>
14854 * configure.in: bumped version to 2.1.1. Allow to disable the
14855 build of the linux_input controller module.
14857 2004-06-17 Philip Lafleur <plafleur@cvs.gnome.org>
14859 * app/core/gimpdrawable-transform.c
14860 (gimp_drawable_transform_tiles_affine): Make transforms (most
14861 notably perspective transforms) conform exactly to specified
14862 edges. Includes a patch by David Gowers. Fixes bug #144352.
14864 2004-06-16 Manish Singh <yosh@gimp.org>
14866 * modules/controller_linux_input.c: put BTN_{WHEEL,GEAR_DOWN,GEAR_UP}
14867 usage in #ifdefs, since pre-2.6 kernels do not have them.
14869 * modules/controller_linux_input.c (linux_input_read_event): n_bytes
14872 2004-06-16 Michael Natterer <mitch@gimp.org>
14874 * app/actions/context-actions.c
14875 * app/actions/context-commands.[ch]: added actions & callback
14876 to select the first/last/prev/next tool.
14878 2004-06-16 Simon Budig <simon@gimp.org>
14880 * modules/controller_linux_input.c: removed BTN_MISC,
14881 since it is the same as BTN_0 in the input.h header file.
14883 2004-06-16 Michael Natterer <mitch@gimp.org>
14885 * libgimpwidgets/gimpcontroller.c (gimp_controller_get_event_name)
14886 (gimp_controller_get_event_blurb): always return a non-NULL
14887 string (return "<invalid event id>" as fallback).
14889 * modules/controller_linux_input.c: reenabled button event
14892 * app/widgets/gimpcontrollerinfo.c: fixed debugging output.
14894 2004-06-16 Simon Budig <simon@gimp.org>
14896 * modules/controller_linux_input.c: break out of the
14897 loop after we handled the first matching rel_event.
14899 2004-06-16 Michael Natterer <mitch@gimp.org>
14901 * libgimpwidgets/gimpcontroller.[ch]: added #define
14902 GIMP_CONTROLLER_PARAM_SERIALIZE. Made all properties serializable.
14904 * modules/controller_linux_input.c: made "device-name"
14907 * app/config/gimpconfig-params.h: added macro
14908 GIMP_CONFIG_INSTALL_PROP_POINTER() which needs to be handled
14909 by custom (de)serialize_property() implementations.
14911 * app/config/gimpconfig-deserialize.c
14912 * app/config/gimpconfig-serialize.c: made object (de)serialization
14913 work for object properties which are *not* GIMP_PARAM_AGGREGATE.
14914 Write/parse the exact type of the object to create to enable this.
14916 * app/core/gimpmarshal.list: new marshaller for GimpControllerInfo.
14918 * app/widgets/gimpcontrollerinfo.[ch]: implement GimpConfigInterface
14919 and add "controller" and "mapping" properties. Add "event-mapped"
14920 signal which carries the action_name.
14922 * app/widgets/gimpcontrollers.c: removed all deserialization code
14923 and simply (de)serialize the controller container. Install a
14924 container handler for "event-mapped" and do the action_name ->
14925 action mapping in the callback.
14927 * etc/controllerrc: regenerated with new syntax. Delete your old one!
14929 2004-06-16 Sven Neumann <sven@gimp.org>
14931 * app/widgets/gimpcontrollerwheel.c
14932 (gimp_controller_wheel_get_event_name): don't use gettext() here.
14934 * modules/controller_linux_input.c: added more button events, set
14935 the device name, some cleanup.
14937 2004-06-16 Sven Neumann <sven@gimp.org>
14939 * plug-ins/common/plugin-defs.pl: changed dependencies for blur.
14941 * plug-ins/common/Makefile.am: regenerated.
14943 * plug-ins/common/blur.c: no need to include libgimpui.h any longer.
14945 2004-06-16 Bill Skaggs <weskaggs@primate.ucdavis.edu>
14947 * plug-ins/common/blur.c: removed randomize and repeat options;
14948 made to run without popping a dialog. (bug #142318)
14950 2004-06-16 Simon Budig <simon@gimp.org>
14952 * modules/controller_linux_input.c: enable dial-events for
14953 e.g. the powermate. Fixed typo.
14955 2004-06-16 Sven Neumann <sven@gimp.org>
14957 * menus/image-menu.xml.in: added missing menu entries (bug #144449).
14959 2004-06-16 Michael Natterer <mitch@gimp.org>
14961 * libgimpwidgets/gimpcontroller.[ch]: added
14962 GimpController::get_event_blurb() which returns the strings that
14963 were returned by get_event_name(). The latter returns
14964 untranslatable event identifiers now.
14966 * app/widgets/gimpcontrollerwheel.c
14967 * modules/controller_linux_input.c: changed accordingly.
14969 * app/widgets/gimpcontrollerinfo.c
14970 * app/widgets/gimpcontrollers.c: changed the event mapping from
14971 event-id -> action-name to event-name -> action-name.
14973 * etc/controllerrc: changed accordingly (finally readable now).
14975 2004-06-16 Michael Natterer <mitch@gimp.org>
14977 * app/widgets/Makefile.am
14978 * app/widgets/widgets-types.h
14979 * app/widgets/gimpcontrollerinfo.[ch]: made an object out of
14980 the GimpControllerInfo struct.
14982 * app/widgets/gimpcontrollers.c: changed accordingly.
14984 2004-06-16 Jakub Steiner <jimmac@ximian.com>
14986 * etc/controllerrc: fix typo
14988 2004-06-16 Sven Neumann <sven@gimp.org>
14990 * modules/controller_linux_input.c
14991 * etc/controllerrc: preliminary wheel event support.
14993 2004-06-16 Michael Natterer <mitch@gimp.org>
14995 * app/widgets/gimpcontrollers.c: better debugging output.
14997 2004-06-16 Sven Neumann <sven@gimp.org>
14999 * app/widgets/gimpcontrollers.c: bug fix.
15001 * configure.in: check for linux/input.h.
15003 * modules/Makefile.am
15004 * modules/controller_linux_input.c: added a prototype controller
15005 module using the linux input event interface.
15007 * etc/controllerrc: added example config for linux input device.
15009 2004-06-16 Michael Natterer <mitch@gimp.org>
15011 * app/widgets/gimpcontrollers.c: load the controller's
15012 properties from the controllerrc file.
15014 * etc/controllerrc: set the wheel's properties.
15016 2004-06-16 Michael Natterer <mitch@gimp.org>
15018 * etc/controllerrc: use the 10% actions for opacity.
15020 2004-06-16 Michael Natterer <mitch@gimp.org>
15022 * app/widgets/gimpcontrollers.c: ref the actions when putting
15023 them in the mapping table.
15025 * app/actions/context-actions.c: added actions to change the
15026 opacity in 10% steps.
15028 2004-06-16 Michael Natterer <mitch@gimp.org>
15030 * libgimpwidgets/gimpcontroller.[ch]: added a "name" property.
15031 Dispatch events only if the controller is enabled.
15033 * app/widgets/gimpcontrollerwheel.c: added controller events for
15034 all possible modifier combinations.
15037 * etc/controllerrc: default controllerrc which maps all unused
15038 wheel+modifier combinations to more-or-less usefull stuff.
15040 2004-06-16 Michael Natterer <mitch@gimp.org>
15042 Started to fix bug #106920 in a more genreral way:
15044 * libgimpwidgets/Makefile.am
15045 * libgimpwidgets/gimpwidgetstypes.h
15046 * libgimpwidgets/gimpwidgetsmarshal.list
15047 * libgimpwidgets/gimpcontroller.[ch]: new abstract base class
15048 which provides an API for pluggable input controller modules
15049 (mouse wheel, usb/midi stuff etc.).
15051 * app/widgets/Makefile.am
15052 * app/widgets/widgets-types.h
15053 * app/widgets/gimpcontrollerwheel.[ch]: subclass of the above
15054 which maps wheel mouse scroll events to controller events.
15056 * app/widgets/gimpcontrollers.[ch]: manager for controllers.
15057 reads $(gimpdir)/controllerrc and keeps a mapping of controller
15058 events to GtkActions.
15060 * app/gui/gui.c: initialize and shut down the controller stuff.
15062 * app/display/gimpdisplayshell-callbacks.c
15063 (gimp_display_shell_canvas_tool_events): if a wheel controller
15064 exists, dispatch GdkEventScroll to it first and return if it was
15067 2004-06-15 Sven Neumann <sven@gimp.org>
15069 * tools/pdbgen/pdb/text_tool.pdb: deprecate the XLFD-based API
15070 gimp_text() and gimp_text_get_extents().
15072 * app/pdb/text_tool_cmds.c
15073 * libgimp/gimptexttool_pdb.[ch]: regenerated.
15075 2004-06-15 Manish Singh <yosh@gimp.org>
15077 * tools/pdbgen/pdbgen.pl
15078 * tools/pdbgen/lib.pl: some simplistic code to add a $deprecated
15079 flag to pdb definitions, which translates into GIMP_DISABLE_DEPRECATED
15080 guards in lib headers.
15082 2004-06-15 Michael Natterer <mitch@gimp.org>
15084 * app/actions/Makefile.am
15085 * app/actions/context-actions.[ch]
15086 * app/actions/context-commands.[ch]: added new action group to
15087 modify all GimpContext properties. So far there are actions to
15088 cycle through the lists of brushes, patterns etc., to change the
15089 opacity, to swap and default colors and to edit generated brushes.
15091 * app/actions/actions.c: register the new "context" action group.
15093 * app/actions/tools-actions.c
15094 * app/actions/tools-commands.[ch]: removed "tools-default-colors"
15095 and "tools-swap-colors" actions and callbacks because they are
15096 in the "context" action group now.
15098 * app/menus/menus.c: add the "context" group to the <Image> and
15099 <Dock> UI managers.
15101 * menus/image-menu.xml.in: changed accordingly. Added a temporary
15102 "Context" menu to test and debug the new actions.
15104 2004-06-15 Philip Lafleur <plafleur@cvs.gnome.org>
15106 * app/tools/gimpcroptool.c (crop_selection_callback): Force
15107 aspect ratio to match selection when 'From Selection' is clicked.
15108 Fixes bug #144361. Also converted tabs to spaces.
15110 2004-06-15 Sven Neumann <sven@gimp.org>
15112 * plug-ins/common/mng.c (respin_cmap): applied the fix for empty
15113 colormaps (bug #143009) here as well.
15115 2004-06-15 Philip Lafleur <plafleur@cvs.gnome.org>
15117 * app/core/gimpdrawable-transform.c
15118 (gimp_drawable_transform_tiles_affine): Don't round texture
15119 coordinates when not using interpolation. Fixes bug #144352 for
15120 the nearest neighbor case only.
15122 2004-06-14 Sven Neumann <sven@gimp.org>
15124 * app/paint/gimpinkoptions.c: replaced some arbitrary values with
15125 larger but still arbitrary values (default and limit for ink size).
15127 2004-06-14 Michael Natterer <mitch@gimp.org>
15129 * app/paint/gimppaintcore.[ch]: removed PRETRACE_PAINT and
15130 POSTTRACE_PAINT from the GimpPaintCoreState enum. Removed
15131 "gboolean traces_on_window" from GimpPaintCoreClass.
15133 * app/paint/gimpclone.[ch]
15134 * app/paint/gimpink.c
15135 * app/tools/gimpclonetool.c: changed accordingly.
15137 * app/tools/gimppainttool.c: ditto. Show the brush outline
15138 while painting. Fixes bug #118348.
15140 2004-06-14 Michael Natterer <mitch@gimp.org>
15142 * app/tools/gimptransformtool.c: use gimp_draw_tool_is_active()
15143 instead of GIMP_IS_DISPLAY(draw_tool->gdisp).
15145 2004-06-14 Michael Natterer <mitch@gimp.org>
15147 * app/widgets/gimpactiongroup.c (gimp_action_group_add_*_actions):
15148 do the workaround for "" accelerators only if the GTK+ version
15149 is smaller than 2.4.3. Fixes bug #144342 for GTK+ >= 2.4.3.
15151 2004-06-14 Sven Neumann <sven@gimp.org>
15153 * app/core/gimpdrawable-transform.c: declared
15154 gimp_drawable_transform_cubic() as inline function. Makes
15155 sample_cubic() run about 10% faster and causes a 7% speedup on
15156 cubic transformations.
15158 * app/paint-funcs/paint-funcs.c (border_region): avoid an
15159 unnecessary memory allocation.
15161 2004-06-14 Philip Lafleur <plafleur@cvs.gnome.org>
15163 * app/tools/gimptransformtool.c: Disable preview in corrective
15164 mode, and notify preview when switching transform type and
15167 2004-06-14 Michael Natterer <mitch@gimp.org>
15169 * app/paint/gimppaintcore.[ch]: added new virtual function
15170 GimpPaintCore::post_paint() and call it after calling
15171 GimpPaintCore::paint().
15173 * app/paint/gimpbrushcore.[ch]: renamed brush_core->grr_brush
15174 to brush_core->main_brush and reset brush_core->brush
15175 to brush_core->main_brush in GimpPaintCore::post_paint().
15177 * app/paint/gimpbrushcore.c
15178 * app/paint/gimppaintcore-stroke.c
15179 * app/tools/gimppainttool.c: removed all code which restores
15180 the brush_core's old brush after painting since post_paint()
15181 does this automatically now.
15183 * app/paint/gimpclone.[ch]: moved static variables to the
15186 2004-06-14 Sven Neumann <sven@gimp.org>
15188 * app/paint-funcs/paint-funcs-generic.h (color_pixels): some code
15189 cleanup I did while attempting to optimize this code further.
15191 2004-06-14 Henrik Brix Andersen <brix@gimp.org>
15193 * app/plug-in/plug-in-run.c: let extensions run synchronously when
15194 called via PDB. Fixes bug #140112.
15196 2004-06-14 Philip Lafleur <plafleur@cvs.gnome.org>
15198 * app/tools/gimptransformtool.c: Preview is now only used for
15199 layer transformations.
15201 2004-06-14 Michael Natterer <mitch@gimp.org>
15203 * app/tools/gimpperspectivetool.c
15204 * app/tools/gimprotatetool.c
15205 * app/tools/gimpscaletool.c
15206 * app/tools/gimpsheartool.c: removed calls to
15207 gimp_transform_tool_expose_preview() from all
15208 GimpTransformTool::motion() implementations...
15210 * app/tools/gimptransformtool.c: ...and call it after calling
15211 tr_tool_class->preview().
15213 2004-06-14 Michael Natterer <mitch@gimp.org>
15215 * app/display/gimpdisplayshell.[ch]: remember the last used
15216 GimpCursorFormat so changing the format in prefs applies
15217 instantly, and not after the next tool change.
15219 * app/display/gimpdisplayshell-cursor.[ch]
15220 * app/tools/gimptool.[ch]
15221 * app/tools/gimptoolcontrol.[ch]
15222 * app/tools/gimpclonetool.c
15223 * app/tools/gimpcolortool.c
15224 * app/tools/gimpcroptool.c
15225 * app/tools/gimpcurvestool.c
15226 * app/tools/gimpiscissorstool.c
15227 * app/tools/gimpmeasuretool.c
15228 * app/tools/gimpmovetool.c
15229 * app/tools/gimptransformtool.c: s/GdkCursorType/GimpCursorType/g
15231 2004-06-14 Philip Lafleur <plafleur@cvs.gnome.org>
15233 * app/tools/gimptransformtool.c (gimp_transform_tool_doit): Preview
15234 wasn't being turned off before performing a transformation. Also
15235 converted tabs to spaces.
15237 2004-06-14 Philip Lafleur <plafleur@cvs.gnome.org>
15239 * app/display/gimpdisplayshell-preview.c: Transformation previews now
15240 use the selection mask if it is present.
15242 2004-06-13 Manish Singh <yosh@gimp.org>
15244 * configure.in: Make sure PangoFT2 is using a recent enough fontconfig
15245 since many people have broken and confused setups.
15247 2004-06-13 Manish Singh <yosh@gimp.org>
15249 * tools/pdbgen/pdb/gradient_edit.pdb: cleans ups so generated
15250 output doesn't warn about uninitialize variable use, and whitespace
15253 * app/pdb/gradient_edit_cmds.c: regenerated.
15255 2004-06-13 Manish Singh <yosh@gimp.org>
15257 * app/base/cpu-accel.c: Reorged, to address bug #142907 and
15258 bug #143069. Accel implementations #define HAVE_ACCEL, and cpu_accel()
15259 keys on that. Both PPC and X86 implementations check for __GNUC__.
15260 X86 stuff is only used with USE_MMX is defined. The SSE OS check
15261 is now checked in arch_accel(), not cpu_accel(). Finally, the
15262 arch x86_64 checks now are EM64T aware (which didn't matter in
15265 2004-06-13 Philip Lafleur <plafleur@cvs.gnome.org>
15267 * app/display/gimpdisplayshell-preview.c: use drawable_mask_bounds()
15268 for texture coordinates instead of the drawable's width and height.
15270 2004-06-13 Sven Neumann <sven@gimp.org>
15272 * app/paint-funcs/paint-funcs.c (shapeburst_region): don't call
15273 tile_ewidth() three times from the inner loop.
15275 * app/base/tile-manager.c (tile_manager_get): don't call
15276 tile_size() twice on the same tile.
15278 * app/base/tile-private.h: added tile_size_inline(), an inline
15279 version of the tile_size() function.
15281 * app/base/tile-cache.c
15282 * app/base/tile-manager.c
15283 * app/base/tile-swap.c
15284 * app/base/tile.c: use tile_size_inline() from inside the tile
15287 2004-06-13 Simon Budig <simon@gimp.org>
15289 * app/tools/gimpiscissorstool.c: Minor tweaks to two macros.
15290 Shouldn't change anything.
15292 2004-06-13 Jakub Steiner <jimmac@ximian.com>
15294 * cursors/tool-zoom.png:
15295 * cursors/cursor-zoom.png: minor fsckup
15297 2004-06-13 Jakub Steiner <jimmac@ximian.com>
15299 * cursors/gimp-tool-cursors.xcf
15300 * cursors/tool-burn.png: the burn tool doesn't really have an
15303 2004-06-13 Sven Neumann <sven@gimp.org>
15305 * app/paint-funcs/paint-funcs.[ch] (shapeburst_region): added
15308 * app/core/gimpdrawable-blend.c: show a progress while calculating
15309 the Shapeburst. Not perfect but better than not showing any
15312 2004-06-13 Michael Natterer <mitch@gimp.org>
15314 * app/widgets/widgets-enums.[ch]: added enum GimpCursorFormat
15315 which can be one of { BITMAP, PIXBUF, PIXBUF-PREMULTIPLY } to
15316 work around broken X servers.
15318 * app/config/gimpguiconfig.[ch]
15319 * app/config/gimprc-blurbs.h: added GimpGuiConfig::cursor-format.
15321 * app/gui/preferences-dialog.c: added a GUI for the new option.
15323 * app/widgets/gimpcursor.[ch]: added cursor_format parameter
15324 to gimp_cursor_new() and _set().
15326 * app/display/gimpdisplayshell-cursor.c
15327 * app/tools/gimpcurvestool.c
15328 * app/widgets/gimpdialogfactory.c: pass an appropriate cursor_mode.
15330 2004-06-12 Philip Lafleur <plafleur@cvs.gnome.org>
15332 * app/core/gimpdrawable-blend.c: added missing semicolon.
15334 2004-06-12 Philip Lafleur <plafleur@cvs.gnome.org>
15336 * app/display/gimpdisplayshell-callbacks.c: Fixed incorrect logic that
15337 caused perfect-but-slow pointer tracking to be used in tools that
15338 don't request exact mode.
15340 * app/display/Makefile.am:
15341 * app/display/gimpdisplayshell-appearance.[ch]:
15342 * app/display/gimpdisplayshell-callbacks.c:
15343 * app/display/gimpdisplayshell.[ch]:
15344 * app/display/gimpdisplayshell-preview.[ch]: added
15345 * app/tools/gimpperspectivetool.c:
15346 * app/tools/gimprotatetool.c:
15347 * app/tools/gimpscaletool.c:
15348 * app/tools/gimpsheartool.c:
15349 * app/tools/gimptransformoptions.[ch]:
15350 * app/tools/gimptransformtool.[ch]: Implemented live transformation
15351 previews, available through tool options. Fixes bug #108172.
15353 2004-06-13 Sven Neumann <sven@gimp.org>
15355 * app/core/gimpdrawable-blend.c (gradient_render_pixel): inline
15356 the repeat functions.
15358 * app/core/gimpgradient.c: inline the curve functions.
15360 2004-06-13 Jakub Steiner <jimmac@ximian.com>
15362 * cursors/gimp-tool-cursors.xcf
15363 * cursors/tool-zoom.png: make more transparent
15365 2004-06-13 Jakub Steiner <jimmac@ximian.com>
15367 * cursors/gimp-tool-cursors.xcf
15368 * cursors/tool-blur.png
15369 * cursors/tool-bucket-fill.png
15370 * cursors/tool-dodge.png
15371 * cursors/tool-eraser.png
15372 * cursors/tool-hand.png: fix a few problems hidden by low opacity
15374 2004-06-13 Jakub Steiner <jimmac@ximian.com>
15376 * cursor/*png: updated the cursors
15378 2004-06-13 Michael Natterer <mitch@gimp.org>
15380 * cursors/gimp-tool-cursors.xcf: added nice new antialiased
15381 cursor layers made by Jimmac.
15383 2004-06-13 Sven Neumann <sven@gimp.org>
15385 * app/core/gimppalette.c (gimp_palette_load): don't use the rather
15386 inefficient gimp_palette_add_entry() when loading a palette.
15388 2004-06-13 Michael Natterer <mitch@gimp.org>
15390 * app/core/gimpdata.[ch]: added "gint freeze_count" and
15391 gimp_data_freeze()/thaw() functions. Emit "dirty" only if
15392 freeze_count either is 0 or drops to 0.
15394 * app/core/gimpbrushgenerated.[ch]
15395 * app/core/gimpgradient.[ch]: removed freeze/thaw stuff that
15396 was duplicated in these two subclasses and use the new
15397 GimpData API instead.
15399 * app/widgets/gimpbrusheditor.c
15400 * app/widgets/gimpgradienteditor.c: changed accordingly.
15402 2004-06-12 Sven Neumann <sven@gimp.org>
15404 * app/widgets/gimpcolorbar.c (gimp_color_bar_expose): don't copy
15405 the first row onto itself.
15407 2004-06-12 Simon Budig <simon@gimp.org>
15409 * app/tools/gimptransformtool.c: Make Enter/Return apply the
15410 transformation, Backspace/Delete resets the transformation.
15412 * app/tools/gimpcroptool.c: Simplify the key_press callback.
15414 2004-06-12 Simon Budig <simon@gimp.org>
15416 * app/tools/gimpcroptool.c: Make the Enter/Return key do
15419 * app/tools/gimpeditselectiontool.c
15420 * app/tools/gimpvectortool.c: Make the _key_press functions
15421 safe for non-arrow keys.
15423 2004-06-12 Sven Neumann <sven@gimp.org>
15425 * app/composite/gimp-composite.[ch]: just some cleanup.
15427 2004-06-12 Michael Natterer <mitch@gimp.org>
15429 * app/display/gimpdisplayshell-callbacks.c
15430 (gimp_display_shell_events): ported some forgotten #if 0'ed
15431 GtkItemFactory stuff to GtkUIManager.
15433 2004-06-12 Simon Budig <simon@gimp.org>
15435 * app/tools/gimptool.[ch]: renamed the "arrow_key" member
15436 to "key_press", since it is now no longer about just the arrow
15439 * app/tools/gimpcroptool.c
15440 * app/tools/gimpeditselectiontool.c
15441 * app/tools/gimpeditselectiontool.h
15442 * app/tools/gimpmovetool.c
15443 * app/tools/gimppainttool.c
15444 * app/tools/gimpselectiontool.c
15445 * app/tools/gimptexttool.c
15446 * app/tools/gimpvectortool.c
15447 * app/tools/tool_manager.c: Changed accordingly.
15449 2004-06-12 Michael Natterer <mitch@gimp.org>
15451 * app/display/gimpdisplayshell.c (gimp_display_shell_init): add
15452 the file DND destination before all others so the DND code will
15453 implicitly use its destination properties. Works around Konqueror
15454 offering only file MOVE, not COPY and fixes bug #144168.
15456 2004-06-12 Sven Neumann <sven@gimp.org>
15458 * plug-ins/common/sample_colorize.c: reindented, some minor cleanup.
15460 2004-06-12 Simon Budig <simon@gimp.org>
15462 * app/tools/tool_manager.[ch]: renamed
15463 tool_manager_arrow_key_active to tool_manager_key_press_active.
15465 * app/display/gimpdisplayshell-callbacks.c: Also dispatch
15466 GDK_Return/KP_Enter/BackSpace/Delete to the tools, the
15467 "arrow_key" member of GimpTool probably should be renamed.
15469 * app/tools/gimpvectortool.c: Use Enter/Return to convert the
15470 current path to a selection, use Backspace/Delete to delete the
15471 currently active anchors in a path.
15473 Implemented on Jimmacs request - thanks to him and Iva for being
15476 2004-06-12 Sven Neumann <sven@gimp.org>
15478 * app/widgets/gimphistogrameditor.c (gimp_histogram_editor_init):
15479 set the initially selected channel on the histogram combobox.
15482 2004-06-12 Philip Lafleur <plafleur@cvs.gnome.org>
15484 * app/paint/gimppaintoptions.[ch]: renamed all "pressure-pressure"
15485 variables to "pressure-hardness".
15487 * app/paint/gimpairbrush.c:
15488 * app/tools/gimppaintoptions-gui.c: changed accordingly.
15490 2004-06-10 Michael Natterer <mitch@gimp.org>
15492 * libgimpwidgets/gimpcolorarea.c: replaced destroy() by
15493 finalize(), converted tabs to spaces, cleanup.
15495 2004-06-10 Michael Natterer <mitch@gimp.org>
15497 * app/widgets/gimpthumbbox.c (gimp_thumb_box_new): line-wrap the
15498 filename label if it's too long instead of cutting it off.
15500 2004-06-10 Michael Natterer <mitch@gimp.org>
15502 * app/widgets/widgets-enums.h (enum GimpCursorModifier):
15503 s/GIMP_LAST_CURSOR_MODIFIER_ENTRY/GIMP_CURSOR_MODIFIER_LAST/.
15505 * app/widgets/gimpcursor.c: changed accordingly. Renamed struct
15506 GimpBitmapCursor to GimpCursor. More cleanup.
15508 2004-06-10 Michael Natterer <mitch@gimp.org>
15510 * app/actions/image-actions.c
15511 * app/actions/image-commands.[ch]
15512 * app/actions/layers-actions.c
15513 * app/actions/layers-commands.[ch]: made the
15514 "image-convert-rgb/grayscale/indexed" and the
15515 "layers-mask-apply/delete" actions GimpEnumActions and merged
15518 2004-06-10 Philip Lafleur <plafleur@cvs.gnome.org>
15520 * app/gui/preferences-dialog.c: restored the 'Show Paint Tool
15521 Cursor' option that was removed during clean-up.
15523 2004-06-10 Philip Lafleur <plafleur@cvs.gnome.org>
15525 * app/paint/gimpbrushcore.c (gimp_brush_core_pressurize_mask):
15526 avoided some redundant calculations.
15528 2004-06-10 Sven Neumann <sven@gimp.org>
15530 * app/gui/user-install-dialog.c: removed the monitor calibration
15531 from the user installation process. It's not a vital setting and
15532 can be done from the Preferences dialog later.
15534 * app/gui/resolution-calibrate-dialog.[ch]: simplified the
15535 resolution calibration dialog by removing the hacks that were
15536 needed for drawing it in the user-installation style.
15538 * app/gui/preferences-dialog.c: changed accordingly. Also removed
15539 the separator from the Display page.
15541 2004-06-10 Sven Neumann <sven@gimp.org>
15543 * app/widgets/gimptemplateeditor.[ch]: added an API to
15544 expand/collapse the "Advanced Options" frame.
15546 * app/gui/preferences-dialog.c
15547 * app/widgets/gimphelp-ids.h: applied a patch done by William
15548 Skaggs that cleans up and reorganizes the Preferences dialog
15551 2004-06-09 Simon Budig <simon@gimp.org>
15553 * app/core/gimpcoords.[ch]: renamed gimp_coords_length2 to
15554 gimp_coords_length_squared.
15556 * app/vectors/gimpbezierstroke.c: Changed accordingly
15558 2004-06-09 Sven Neumann <sven@gimp.org>
15560 * app/tools/gimppenciltool.c (gimp_pencil_tool_init): no need to
15561 request GIMP_MOTION_MODE_EXACT here since the parent class does
15564 * app/tools/gimpinktool.c (gimp_ink_tool_init): ditto. Enable the
15565 color picker feature for the ink tool.
15567 2004-06-09 Sven Neumann <sven@gimp.org>
15569 * menus/image-menu.xml.in: added "Selection Editor" to the
15570 Selection menu. Still hoping for the great menu reorganization
15573 * app/actions/select-actions.c (select_actions_update): "Save to
15574 Channel" makes sense without a selection also, so don't set it
15577 2004-06-07 Sven Neumann <sven@gimp.org>
15579 * plug-ins/common/glob.c: the glob(3) function is not available on
15580 Win32 and also isn't necessarily UTF-8 safe. Started to add an
15581 alternative implementation. Right now there's just some code taken
15582 from GTK+ (an UTF-8 save fnmatch() implementation) and the plug-in
15583 does nothing useful. I will add some stripped-down glob code based
15584 on the code in glibc later.
15586 2004-06-07 Michael Natterer <mitch@gimp.org>
15588 * app/core/gimplayer.c (gimp_layer_set_tiles): don't set
15589 layer->mask's offsets. It is wrong because GimpDrawable::set_tiles()
15590 is a lowlevel function which is used by stuff like scale and
15591 resize which keep the mask in sync explicitely and don't expect it
15592 to be moved in the middle of chaining up. Fixes bug #143860.
15594 2004-06-07 Michael Natterer <mitch@gimp.org>
15596 * app/actions/view-actions.c
15597 * app/actions/view-commands.[ch]: added separate callback for
15598 "view-zoom-other" and connect GtkAction::activate manually so
15599 "Other..." can be selected even if it's the active item in the
15600 zoom radio group. Fixes bug #143850.
15602 2004-06-07 Sven Neumann <sven@gimp.org>
15604 * plug-ins/common/tileit.c (tileit_dialog): fixed a typo.
15606 2004-06-07 Sven Neumann <sven@gimp.org>
15608 * app/menus/plug-in-menus.c (plug_in_menus_setup): sort the menus
15609 by the translated menu path stripped from underscores.
15611 2004-06-06 Sven Neumann <sven@gimp.org>
15613 * plug-ins/common/gauss.c (gauss): fixed a stupid cut'n'paste bug
15614 I introduced yesterday.
15616 2004-06-06 Sven Neumann <sven@gimp.org>
15618 * plug-ins/common/gauss.c (query): register the menu entry the new
15619 way and install a mnemonic for Gaussian Blur.
15621 2004-06-05 Sven Neumann <sven@gimp.org>
15623 * plug-ins/common/curve_bend.c: applied a patch from Henrik Brix
15624 Andersen that tells the user that Curve Bend cannot operate on
15625 layers with masks instead of silently applying the mask
15628 2004-06-05 Sven Neumann <sven@gimp.org>
15630 * plug-ins/common/plugin-defs.pl
15631 * plug-ins/common/Makefile.am
15632 * plug-ins/common/gauss_iir.c
15633 * plug-ins/common/gauss_rle.c: removed the two gaussian blur
15636 * plug-ins/common/gauss.c: and added a merged version done by
15637 William Skaggs. Fixes bug #134088.
15639 2004-06-05 Sven Neumann <sven@gimp.org>
15641 * plug-ins/sgi/sgi.c: applied a patch from Philip Lafleur that
15642 makes the plug-in handle images with more than 4 channels. At the
15643 moment the extra information is discarded (bug #143673).
15645 2004-06-05 Sven Neumann <sven@gimp.org>
15647 * plug-ins/common/unsharp.c: applied a modified patch from Geert
15648 Jordaens that adds a preview to the Unsharp Mask plug-in. Fixes
15651 2004-06-05 Sven Neumann <sven@gimp.org>
15653 * app/paint/gimppaintcore.c
15654 * app/paint-funcs/paint-funcs-generic.h
15655 * app/paint-funcs/paint-funcs.[ch]: applied a patch from Philip
15656 Lafleur that changes the way that paint is applied during a paint
15657 stroke. Fixes bug #124225.
15659 2004-06-05 Sven Neumann <sven@gimp.org>
15661 * plug-ins/common/Makefile.am
15662 * plug-ins/common/plugin-defs.pl
15663 * plug-ins/common/glob.c: added a simple glob plug-in based on
15664 some old code by George Hartz. This plug-in is very useful when
15665 you need to do batch processing, especially from Script-Fu.
15668 2004-06-05 Sven Neumann <sven@gimp.org>
15670 * app/widgets/gimpgradienteditor.c: applied a patch from David
15671 Gowers that makes the gradient editor display the perceptual
15672 intensity of the color under the cursor (bug #135037).
15674 2004-06-05 Sven Neumann <sven@gimp.org>
15676 * plug-ins/common/snoise.c: applied a modifed patch from Yeti that
15677 adds a preview to the Solid Noise plug-in (bug #142587).
15679 2004-06-05 Sven Neumann <sven@gimp.org>
15681 * plug-ins/common/tiff.c: save the proper value for type of alpha
15682 channel. Fixes bug #143522; patch by Philip Lafleur.
15684 2004-06-05 Manish Singh <yosh@gimp.org>
15686 * app/gui/preferences-dialog.c (prefs_dialog_new): update call
15687 to prefs_spin_button_add for num-processors too.
15689 2004-06-05 Sven Neumann <sven@gimp.org>
15691 * plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
15692 left align toggle buttons.
15694 2004-06-05 Sven Neumann <sven@gimp.org>
15696 * app/text/gimptextlayer-transform.[ch]: updated the (still unused)
15697 text transformation code.
15699 * app/text/gimptext-bitmap.c: removed a redundant transformation.
15701 2004-06-05 Michael Natterer <mitch@gimp.org>
15703 * cursors/Makefile.am
15704 * cursors/cursor-none.png
15705 * cursors/xbm/cursor-none.xbm: new empty cursor images.
15707 * app/config/gimpdisplayconfig.[ch]
15708 * app/config/gimprc-blurbs.h
15709 * app/widgets/widgets-enums.h
15710 * app/widgets/gimpcursor.c
15711 * app/display/gimpdisplayshell-cursor.c
15712 * app/tools/gimppainttool.[ch]
15713 * app/tools/gimpinktool.c
15714 * app/gui/preferences-dialog.c: applied patches from Philip
15715 Lafleur which implement hiding the cursor completely for paint
15716 tools. Changed the name of the config option from
15717 "hide-paint-tool-cursor" to "show-paint-tool-cursor" and default
15718 to TRUE because this needs the brush outline being visible while
15719 painting to be really usable. Fixes bug #132163.
15721 * app/widgets/widgets-enums.h: renamed all GimpCursorType and
15722 GimpToolCursorType enum values to GIMP_CURSOR_* and
15723 GIMP_TOOL_CURSOR_*.
15725 * app/widgets/gimpcursor.c
15726 * app/display/gimpdisplayshell-callbacks.c
15727 * app/display/gimpdisplayshell-cursor.c
15728 * app/tools/gimp*tool.c; changed accordingly.
15730 2004-06-04 Michael Natterer <mitch@gimp.org>
15732 * app/widgets/gimpcursor.c: changed create_cursor_foo() utility
15733 functions to get_cursor_foo() and use them as accessors instead of
15734 using cursor->member. Use gdk_pixbuf_copy() instead of compositing
15735 the initial image onto an empty pixbuf.
15737 2004-06-04 Sven Neumann <sven@gimp.org>
15739 * app/widgets/gimptexteditor.c (gimp_text_editor_new): set the
15740 focus on the text area.
15742 2004-06-04 Sven Neumann <sven@gimp.org>
15744 * app/tools/gimptexttool.c (gimp_text_tool_class_init): allow to
15745 move a text layer using the cursor keys.
15747 2004-06-04 Michael Natterer <mitch@gimp.org>
15749 * cursors/*.xbm: removed...
15751 * cursors/xbm/*.xbm: ...and added here instead. Renamed them
15752 all to match the PNG file names.
15754 * cursors/Makefile.am: changed accordingly.
15756 * app/widget/gimpcursor.c: ditto. Merged the two cursor creating
15757 functions again because they duplicated too much code.
15759 2004-06-04 Sven Neumann <sven@gimp.org>
15761 * app/menus/plug-in-menus.c (plug_in_menus_setup): populate the
15762 tree with collation keys and use strcmp() instead of
15763 g_utf8_collate() as the tree's sort function.
15765 2004-06-04 Sven Neumann <sven@gimp.org>
15767 * app/paint/gimppaintoptions.c (DEFAULT_PRESSURE_PRESSURE):
15768 applied a patch by Philip Lafleur that changes the default to
15769 FALSE. Fixes bug #143626.
15771 2004-06-03 Michael Natterer <mitch@gimpmp.org>
15773 * app/widgets/gimptoolbox.c (gimp_toolbox_size_allocate): use
15774 gtk_widget_size_request() instead of _get_child_requisition()
15775 because we need to know the size of the toolbox' areas
15776 even if they are invisible. Fixes SIGFPE spotted by Jimmac.
15778 2004-06-03 Michael Natterer <mitch@gimp.org>
15780 * app/widgets/gimpcursor.c: some cleanup. Make the tool_cursor
15781 and cursor_modifier components slightly transparent.
15783 * cursors/cursor-mouse.png: was the wrong image.
15785 2004-06-03 Michael Natterer <mitch@gimp.org>
15787 * cursors/Makefile.am
15788 * cursors/*.png: added PNG version of all cursors.
15790 * cursors/gimp-tool-cursors.xcf: reordered and renamed all layers
15791 to match the new PNG filenames.
15793 * app/widgets/gimpcursor.[ch]: create cursors with alpha and color
15794 if the GdkDisplay supports it. Fall back to the old stuff
15797 2004-06-03 Sven Neumann <sven@gimp.org>
15799 * app/core/gimppattern.c (gimp_pattern_load_pixbuf): if a Title is
15800 set, use that as the pattern name.
15802 2004-06-03 Sven Neumann <sven@gimp.org>
15804 * app/core/gimpdatafactory.c (gimp_data_factory_load_data):
15805 removed commented-out message.
15807 * app/core/gimppattern.[ch]: fixed handling of errors and PNG
15808 comments in new pattern loader. Renamed functions for consistency
15809 with other data loaders.
15811 * app/core/gimp.c: changed accordingly.
15813 2004-06-03 Dave Neary <bolsh@gimp.org>
15816 * app/core/gimpdatafactory.c:
15817 * app/core/gimppattern.[ch]: Add support for GdkPixbuf patterns,
15818 so now all of png, jpex, pnm, xbm, bmp, gif, ico, pcx, ras, tga,
15819 xpm and tiff can be used for patterns.
15821 2004-06-03 Michael Natterer <mitch@gimp.org>
15823 * app/actions/vectors-actions.c: added alternative actions
15824 "vectors-selection-from-vectors" and
15825 "vectors-selection-to-vectors-short" with different labels suited
15826 for the "Select" menu.
15828 * app/actions/select-actions.c: removed "select-from-vectors"
15829 and "select-to-vectors" (to vectors was crashing anyway).
15831 * app/actions/select-commands.[ch]: removed
15832 select_from_vectors_cmd_callback(). Fixes code dupliction.
15834 * menus/image-menu.xml.in
15835 * menus/selection-editor-menu.xml: changed accordingly.
15837 2004-06-03 Michael Natterer <mitch@gimp.org>
15839 * app/widgets/gimpgradienteditor.c (control_motion): use the newly
15840 added GimpGradient API to set the segment's handles instead of
15841 setting the values directly. Dirties the gradient correctly and
15842 makes the preview update instantly again. Fixes bug #143605.
15844 2004-06-03 Sven Neumann <sven@gimp.org>
15846 * app/gui/file-open-location-dialog.c
15847 (file_open_location_completion): check for NULL pointer before
15848 passing it to g_utf8_normalize(). Just a workaround for a problem
15849 in GimpContainerView.
15851 2004-06-02 Sven Neumann <sven@gimp.org>
15853 * INSTALL: more updates.
15855 2004-06-02 Sven Neumann <sven@gimp.org>
15857 * Made 2.1.0 development release.
15859 2004-06-02 Sven Neumann <sven@gimp.org>
15861 * app/display/gimpdisplayshell-scale.c
15862 * app/gui/info-window.c
15863 * app/gui/preferences-dialog.c
15864 * app/gui/resize-dialog.c
15865 * app/tools/gimpcolorbalancetool.c
15866 * app/tools/gimpcurvestool.c
15867 * app/tools/gimphuesaturationtool.c
15868 * app/tools/gimplevelstool.c
15869 * app/tools/gimpthresholdtool.c
15870 * app/widgets/gimpdockable.c
15871 * app/widgets/gimpfiledialog.c
15872 * app/widgets/gimpgradienteditor.c
15873 * app/widgets/gimphistogrambox.c
15874 * app/widgets/gimplayertreeview.c
15875 * app/widgets/gimpstrokeeditor.c: tweaked some spacings for
15876 consistency and better HIG compliance.
15878 2004-06-02 Michael Natterer <mitch@gimp.org>
15880 * tools/pdbgen/pdb/gradient_edit.pdb: set_blending_function() and
15881 set_coloring_type() work on segment ranges, renamed them
15882 accordingly. Spotted by Shlomi Fish.
15884 * app/pdb/gradient_edit_cmds.c
15885 * libgimp/gimpgradientedit_pdb.[ch]: regenerated.
15887 2004-06-02 Michael Natterer <mitch@gimp.org>
15889 * app/widgets/gimpdnd.[ch]: removed utility funtion
15890 gimp_dnd_open_files().
15892 * app/widgets/gimptoolbox-dnd.c: added gimp_toolbox_drop_files()
15895 * app/display/gimpdisplayshell-dnd.c (gimp_display_shell_drop_files):
15896 show the error message if opening a dropped file fails.
15898 2004-06-02 Sven Neumann <sven@gimp.org>
15900 * libgimpthumb/gimpthumbnail.c: plugged a small memory leak.
15902 2004-06-02 Michael Natterer <mitch@gimp.org>
15904 * app/widgets/gimpdnd.h: removed enum GimpDndType...
15906 * app/widgets/widgets-enums.h: ...and added it here.
15908 * app/widgets/gimpdnd.c: added more g_return_if_fail(). Allow
15909 all gimp_dnd_foo_dest_add() functions to be called without
15910 callback (just add the target if callback is NULL).
15912 (gimp_dnd_open_files): removed the checks for validity of the
15913 passed filenames/uris...
15915 (gimp_dnd_set_file_data): ...and added it here so all callbacks
15916 get an already sanitized list of strings.
15918 2004-06-02 Sven Neumann <sven@gimp.org>
15920 * app/actions/Makefile.am (EXTRA_DIST)
15921 * app/menus/Makefile.am (EXTRA_DIST): removed makefile.msc until
15922 they have been added.
15924 2004-06-02 Sven Neumann <sven@gimp.org>
15926 * app/widgets/gimpcontainerview.c: create the hash table when
15927 inserting items; removes redundant create/destroy cycles and plugs
15930 2004-06-02 Sven Neumann <sven@gimp.org>
15932 * INSTALL: updated for gimp-2.1. Suggest to use gimp-print
15933 version 4.2.7-pre1 in case of problems (see bug #138273).
15935 2004-06-02 Michael Natterer <mitch@gimp.org>
15937 * app/display/gimpdisplayshell-dnd.c
15938 (gimp_display_shell_drop_files): copy the merged layer, not the
15939 first one. Preserve the type of the layer to make e.g. dropping an
15940 XCF with a single text layer work.
15942 2004-06-02 Sven Neumann <sven@gimp.org>
15947 2004-06-02 Michael Natterer <mitch@gimp.org>
15949 * app/display/gimpdisplayshell.c (gimp_display_shell_init): accept
15952 * app/display/gimpdisplayshell-dnd.[ch]
15953 (gimp_display_shell_drop_files): open any kind of image and turn
15954 it into a single layer which is added to the image (suggested by
15955 Antenne Springborn).
15957 2004-06-02 Sven Neumann <sven@gimp.org>
15959 * tools/pdbgen/pdb/gradient_edit.pdb
15960 * tools/pdbgen/pdb/gradients.pdb: mark new API as new using $since.
15962 * libgimp/gimpgradientedit_pdb.c
15963 * libgimp/gimpgradients_pdb.c: regenerated.
15965 2004-06-02 Michael Natterer <mitch@gimp.org>
15967 * tools/pdbgen/pdb/gradient_edit.pdb: forgot two more s/int32/enum/.
15969 * app/pdb/gradient_edit_cmds.c
15970 * libgimp/gimpgradientedit_pdb.[ch]: regenerated.
15972 2004-06-01 Sven Neumann <sven@gimp.org>
15974 * tools/pdbgen/pdb/image.pdb
15975 * app/pdb/image_cmds.c
15976 * app/core/gimpimage.[ch]: reverted changes I did to the image
15977 unit earlier. As in 2.0, it will continue to not accept pixels.
15978 This makes the PDB API and the XCF format compatible again and
15979 fixes bug #142961 (and to some extent bug #137704).
15981 * app/core/Makefile.am
15982 * app/core/gimpimage-unit.[ch]: removed these files. The
15983 convenience accessors defined here aren't commonly used any
15986 * app/display/gimpdisplay.[ch]
15987 * app/display/gimpdisplayshell.[ch]: added a unit parameter to
15988 gimp_display_new(). Made "unit" and "scale" properties of
15991 * app/actions/image-commands.c
15992 * app/actions/images-commands.c
15993 * app/actions/layers-commands.c
15994 * app/actions/select-commands.c
15995 * app/actions/view-commands.c
15996 * app/core/gimp-edit.c
15997 * app/core/gimp.[ch]
15998 * app/core/gimptemplate.c
15999 * app/display/gimpdisplayshell-handlers.c
16000 * app/display/gimpdisplayshell-scale.c
16001 * app/display/gimpdisplayshell-title.c
16002 * app/display/gimpstatusbar.c
16003 * app/file/file-open.c
16004 * app/gui/gui-vtable.c
16005 * app/gui/info-window.c
16006 * app/gui/offset-dialog.c
16007 * app/gui/resize-dialog.[ch]
16008 * app/pdb/display_cmds.c
16009 * app/tools/gimpcroptool.c
16010 * app/tools/gimpmeasuretool.c
16011 * app/tools/gimppainttool.c
16012 * app/tools/gimprectselecttool.c
16013 * app/tools/gimprotatetool.c
16014 * app/tools/gimpscaletool.c
16015 * app/vectors/gimpvectors-export.c
16016 * app/widgets/gimptoolbox-dnd.c
16017 * tools/pdbgen/pdb/display.pdb: changed accordingly. Use the
16018 display unit where the image unit was used before.
16020 2004-06-01 Michael Natterer <mitch@gimp.org>
16022 * tools/pdbgen/pdb/gradient_edit.pdb: use enums instead of
16025 * app/pdb/gradient_edit_cmds.c
16026 * libgimp/gimpgradientedit_pdb.[ch]: regenerated.
16028 2004-06-01 Michael Natterer <mitch@gimp.org>
16030 * app/core/gimpdatafactory.[ch]: added new function
16031 gimp_data_factory_data_delete().
16033 * app/actions/data-commands.c (data_delete_callback): use it.
16035 * tools/pdbgen/pdb/gradients.pdb: applied (slightly modified)
16036 patch from Shlomi Fish which adds PDB wrappers to create, delete,
16037 duplicate and rename gradients. Fixes bug #143528.
16039 * app/pdb/gradients_cmds.c
16040 * app/pdb/internal_procs.c
16041 * libgimp/gimpgradients_pdb.[ch]: regenerated.
16043 2004-06-01 Michael Natterer <mitch@gimp.org>
16045 * app/core/core-enums.h: renamed the values of the
16046 GimpGradientSegment* enums from GIMP_GRAD_* to
16047 GIMP_GRADIENT_SEGMENT_* because they are exported now.
16049 * app/core/gimp-gradients.c
16050 * app/core/gimpgradient.c
16051 * app/actions/gradient-editor-actions.c: changed accordingly.
16053 * libgimp/gimpenums.h
16054 * plug-ins/pygimp/gimpenums.py
16055 * plug-ins/script-fu/script-fu-constants.c
16056 * tools/pdbgen/enums.pl: regenerated.
16058 2004-06-01 Sven Neumann <sven@gimp.org>
16060 * plug-ins/common/tiff.c: don't call gtk_entry_set_text() with a
16063 2004-06-01 Michael Natterer <mitch@gimp.org>
16065 * app/widgets/gimpcontainertreeview-dnd.c
16066 * app/widgets/gimpitemtreeview.c: some cleanup in the tree view
16069 2004-06-01 Michael Natterer <mitch@gimp.org>
16071 * app/widgets/gimpsessioninfo.c (gimp_session_info_restore): added
16072 a horrible hack that sets the paned's position after the first
16073 "size-allocate" after "map". Makes position remembering work for
16074 the toolbox and fixes bug #142697.
16076 * app/widgets/gimpdockable.[ch]: added new function
16077 gimp_dockable_set_tab_style()
16079 * app/actions/dockable-commands.c (dockable_tab_style_cmd_callback)
16080 * app/widgets/gimpsessioninfo.c (gimp_session_info_restore):
16081 use gimp_dockable_set_tab_style().
16083 2004-06-01 Michael Natterer <mitch@gimp.org>
16085 * app/widgets/gimptoolbox.c (toolbox_area_notify): removed
16088 2004-06-01 Sven Neumann <sven@gimp.org>
16090 * plug-ins/common/autocrop.c (query): register as "Autocrop Image"
16091 and "Autocrop Layer".
16093 2004-06-01 Sven Neumann <sven@gimp.org>
16095 * app/actions/image-commands.c (image_new_cmd_callback):
16096 initialize the dialog by calling file_new_dialog_set(). Fixes bug
16099 2004-05-31 Sven Neumann <sven@gimp.org>
16101 * app/widgets/gimpcontainerentry.[ch]: export the column enum.
16103 * app/gui/file-open-location-dialog.c: use a GimpContainerEntry
16104 on the documents list. Use a custom match function that matches
16105 without the leading protocol part.
16107 2004-05-31 Michael Natterer <mitch@gimp.org>
16109 * app/widgets/Makefile.am
16110 * app/widgets/gimptoolbox-image-area.[ch]: new toolbox area which
16111 shows the active image.
16113 * app/config/gimpguiconfig.[ch]
16114 * app/config/gimprc-blurbs.h: added config options to control the
16115 visibility of the toolbox' color, indicator and image areas.
16117 * app/widgets/gimptoolbox.[ch]: added the image area and honor the
16118 new config options. Put the various areas into their own wrap box.
16120 * app/widgets/gimptoolbox-dnd.c: changed accordingly.
16122 * app/widgets/gimphelp-ids.h: added a help ID for the image area.
16124 * app/widgets/gimptoolbox-indicator-area.c: made the previews
16125 a bit larger, cleanup.
16127 * app/gui/preferences-dialog.c: added a "Toolbox" page as GUI for
16128 the new config options.
16130 * themes/Default/images/preferences/Makefile.am
16131 * themes/Default/images/preferences/toolbox.png: a (wrong) icon
16132 for the "Toolbox" prefs page. Needs to be replaced.
16134 2004-05-31 Sven Neumann <sven@gimp.org>
16136 * app/widgets/Makefile.am
16137 * app/widgets/widgets-types.h
16138 * app/widgets/gimpcontainerentry.[ch]: added new widget
16139 GimpContainerEntry, a GtkEntry with completion that implements the
16140 GimpContainerView interface.
16142 * app/tools/gimptextoptions.c (gimp_text_options_gui): added a
16143 GimpContainerEntry to select the font.
16145 2004-05-31 Sven Neumann <sven@gimp.org>
16148 * app/actions/file-actions.c
16149 * app/actions/file-commands.[ch]
16150 * app/gui/Makefile.am
16151 * app/gui/file-open-location-dialog.[ch]
16152 * app/widgets/gimphelp-ids.h
16153 * menus/image-menu.xml.in
16154 * menus/toolbox-menu.xml.in: added a rudimentary "Open Location"
16157 2004-05-31 Sven Neumann <sven@gimp.org>
16159 * plug-ins/common/mblur.c (mblur_zoom): push pixels outwards not
16160 to the center as suggested by Chad Daelhousen (bug #142968).
16162 2004-05-31 Sven Neumann <sven@gimp.org>
16164 * plug-ins/common/mblur.c: applied patch from William Skaggs that
16165 adds the possibility to choose the center of radial and zoom
16166 motion blurs (bug #113711).
16168 2004-05-31 Sven Neumann <sven@gimp.org>
16170 * app/paint/gimpconvolve.c
16171 * app/paint-funcs/paint-funcs.[ch]
16172 * app/tools/gimpiscissorstool.c: reverted last change and applied
16173 new patch instead (bug #72878).
16175 2004-05-31 Sven Neumann <sven@gimp.org>
16177 * app/paint/gimpconvolve.c
16178 * app/paint-funcs/paint-funcs.[ch]
16179 * app/tools/gimpiscissorstool.c: applied a patch from Philip
16180 Lafleur that fixes RGBA resampling in Convolve tool (bug #72878).
16182 2004-05-31 Sven Neumann <sven@gimp.org>
16184 * plug-ins/imagemap/imap_cmd_gimp_guides.c
16185 * plug-ins/imagemap/imap_edit_area_info.c
16186 * plug-ins/imagemap/imap_preferences.c
16187 * plug-ins/imagemap/imap_settings.c: need to include gimpwidgets.h.
16189 2004-05-31 Michael Natterer <mitch@gimp.org>
16191 * app/core/core-enums.h
16192 * app/core/gimpgradient.[ch]
16193 * app/pdb/Makefile.am
16194 * app/widgets/gimpgradienteditor.c
16195 * tools/pdbgen/Makefile.am
16196 * tools/pdbgen/groups.pl
16197 * tools/pdbgen/pdb/gradient_edit.pdb: applied a patch from Shlomi
16198 Fish that adds lots of gradient edit functions to
16199 gimpgradient.[ch] and makes them available through the PDB.
16200 Fixes bug #129675 and bug #129678.
16202 Did some cleanups / enhancments to the patch:
16204 * app/core/gimpgradient.[ch]: changed the naming scheme of the new
16205 functions and changed old functions to match the new scheme.
16206 Introduce a "freeze_count" and public freeze()/thaw() API which
16207 enables subsequent gradient changes without "dirty" being emitted
16208 all the time. Added GimpGradient parameters to all functions
16209 which modify the gradient.
16211 * app/widgets/gimpgradienteditor.c: use the new freeze/thaw
16212 stuff to keep the gradient from updating when not in
16213 "Instant Update" mode.
16215 * app/actions/gradient-editor-commands.c: removed all gradient
16216 editing code and call the new core functions.
16218 * libgimp/Makefile.am
16219 * tools/pdbgen/pdb/gradient_edit.pdb: changed the namespace of all
16220 added functions. Generate libgimp wrappers for them..
16222 * app/pdb/gradient_edit_cmds.c
16223 * app/pdb/internal_procs.c
16224 * libgimp/gimp_pdb.h
16225 * libgimp/gimpenums.h
16226 * libgimp/gimpgradientedit_pdb.[ch]
16227 * plug-ins/pygimp/gimpenums.py
16228 * plug-ins/script-fu/script-fu-constants.c
16229 * tools/pdbgen/enums.pl: (re)generated.
16231 2004-05-29 Sven Neumann <sven@gimp.org>
16233 * plug-ins/common/autocrop.c: applied patch from Philip Lafleur
16234 that makes Autocrop register a new procedure that autocrops a
16235 single layer as requested in bug #142618.
16237 * tools/pdbgen/pdb/layer.pdb
16238 * app/pdb/layer_cmds.c
16239 * libgimp/gimplayer_pdb.c: fixed documentation for gimp_resize_layer.
16240 Patch provided by Philip Lafleur (bug #142618).
16242 2004-05-29 Sven Neumann <sven@gimp.org>
16244 * app/widgets/gimptemplateeditor.c
16245 (gimp_template_editor_constructor): add the spinbuttons to the
16246 size entry in the correct order. Fixes bug #143347.
16248 2004-05-28 Michael Natterer <mitch@gimp.org>
16250 * app/widgets/gimpdnd.c (gimp_dnd_open_files): if the dropped
16251 stuff is a local filename (no file URI), convert it to an
16252 URI instead of forwarding it unmodified.
16254 2004-05-28 Michael Natterer <mitch@gimp.org>
16256 * app/widgets/gimppreview.c (gimp_preview_button_press_event):
16257 don't invoke the popup preview if there is no viewable.
16259 2004-05-28 Sven Neumann <sven@gimp.org>
16261 * app/widgets/gimppropwidgets.c: same workaround for tooltips on
16264 2004-05-28 Sven Neumann <sven@gimp.org>
16266 * plug-ins/Lighting/lighting_ui.c
16267 * plug-ins/MapObject/mapobject_ui.c
16268 * plug-ins/common/warp.c
16269 * plug-ins/gfig/gfig.c: tooltips can't be set on a GtkComboBox so
16270 we need to pack it into a GtkEventBox when a tooltip is needed.
16272 2004-05-28 Michael Natterer <mitch@gimp.org>
16274 * app/text/gimpfont.c (gimp_font_get_popup_size)
16275 (gimp_font_get_new_preview): take both logical and ink rectangle
16276 into account to avoid clipping away parts of the font preview.
16279 2004-05-28 Michael Natterer <mitch@gimp.org>
16281 * app/widgets/gimpcontainerview.[ch]: added "preview-size" and
16282 "preview-border-width" properties. Cleanup.
16284 * app/widgets/gimpcontainerbox.c
16285 * app/widgets/gimpcontainercombobox.c: implement them.
16287 2004-05-28 Michael Natterer <mitch@gimp.org>
16289 * app/widgets/gimpcontainergridview.[ch]
16290 * app/widgets/gimpcontainertreeview.[ch]: removed "reorderable"
16291 from gimp_container_foo_view_new().
16293 * app/widgets/gimpcontainereditor.[ch]: removed "reorderable" from
16294 gimp_container_editor_construct(). Automatically set the view to
16295 reorderable if the viewed container has no sort_func.
16297 * app/widgets/gimpbufferview.c
16298 * app/widgets/gimpdatafactoryview.c
16299 * app/widgets/gimpdocumentview.c
16300 * app/widgets/gimpimageview.c
16301 * app/widgets/gimptemplateview.c
16302 * app/widgets/gimptoolview.c
16303 * app/widgets/gimpundoeditor.c: removed reoderable stuff because
16304 GimpContainerEditor does this generically now.
16306 * app/widgets/gimpcontainerpopup.c
16307 * app/widgets/gimpfontview.c: set reorderable to FALSE because
16308 they should not be reodered even if they don't have a sort_func.
16310 * app/gui/font-select.c: removed reorderable stuff. Some cleanup.
16312 * app/gui/brush-select.c
16313 * app/gui/gradient-select.c
16314 * app/gui/palette-select.c
16315 * app/gui/pattern-select.c: same cleanups as in font-select.c
16317 2004-05-28 Michael Natterer <mitch@gimp.org>
16319 * app/paint/gimpbrushcore.c
16320 * app/paint/gimpdodgeburn.c
16321 * app/paint/gimppaintcore.[ch]
16322 * app/tools/gimpairbrushtool.c
16323 * app/tools/gimpclonetool.c
16324 * app/tools/gimpconvolvetool.c
16325 * app/tools/gimpdodgeburntool.c
16326 * app/tools/gimpinktool.c
16327 * app/tools/gimppaintbrushtool.c
16328 * app/tools/gimppenciltool.c
16329 * app/tools/gimpsmudgetool.c: code review / cleanup.
16331 2004-05-28 Sven Neumann <sven@gimp.org>
16333 * plug-ins/common/CML_explorer.c
16334 * plug-ins/maze/maze_face.c: added size groups.
16336 * plug-ins/common/sinus.c: HIG-ified.
16338 2004-05-28 Sven Neumann <sven@gimp.org>
16340 * plug-ins/Lighting/lighting_ui.c: tuned dialog layout for
16343 * plug-ins/common/warp.c: added size groups to nicely align the
16346 2004-05-27 Michael Natterer <mitch@gimp.org>
16348 * app/paint/gimp-paint.c (gimp_paint_init): register ink between
16349 airbrush and clone so the stroke dialog's menu of paint functions
16350 has the same order as the default toolbox order.
16352 2004-05-27 Michael Natterer <mitch@gimp.org>
16354 * app/paint/gimppaintcore.[ch]: removed enum GimpPaintCoreFlags
16355 and member GimpPaintCore::flags. Added "gboolean traces_on_window"
16356 to GimpPaintCoreClass (defaults to FALSE).
16358 * app/paint/gimpclone.c: set traces_on_window = TRUE.
16360 * app/paint/gimpbrushcore.[ch]: added
16361 "gboolean handles_changing_brush" to GimpBrushCoreClass (defaults
16364 * app/paint/gimpclone.c
16365 * app/paint/gimpdodgeburn.c
16366 * app/paint/gimperaser.c
16367 * app/paint/gimppaintbrush.c
16368 * app/paint/gimppaintcore.c: set handles_changing_brush = TRUE.
16370 * app/tools/gimppainttool.c: changed accordingly.
16372 2004-05-27 Maurits Rijk <m.rijk@chello.nl>
16374 * plug-ins/common/ccanalyze.c: code clean-up. Improved speed a lot
16375 (500 percent for 1000 x 1000 RGB image) by replacing O(n^2) algorithm
16378 * plug-ins/common/gif.c
16379 * plug-ins/common/gih.c
16380 * plug-ins/common/glasstile.c
16381 * plug-ins/common/gqbist.c
16382 * plug-ins/common/gradmap.c
16383 * plug-ins/common/gtm.c
16384 * plug-ins/common/guillotine.c: Use HIG capitalization style plus
16385 minor code clean-up.
16387 2004-05-27 Sven Neumann <sven@gimp.org>
16389 * plug-ins/common/png.c (respin_cmap): handle an empty colormap.
16392 2004-05-27 Sven Neumann <sven@gimp.org>
16394 * libgimpwidgets/gimppickbutton.c: applied patch from Philip
16395 Lafleur that fixes color picking for XInput devices (bug #143166).
16397 2004-05-27 Sven Neumann <sven@gimp.org>
16399 * app/display/gimpdisplayshell-draw.c (gimp_display_shell_draw_grid):
16400 fixed handling of grid offsets in the grid drawing routine.
16402 2004-05-27 Michael Natterer <mitch@gimp.org>
16404 * app/widgets/widgets-enums.[ch]: added enum GimpActiveColor which
16405 can be one of { FOREGROUND, BACKGROUND }.
16407 * app/widgets/Makefile.am
16408 * app/widgets/gimpfgbgeditor.[ch]: new widget implementing the
16409 FG/BG/Swap/Default color area known from the toolbox.
16411 * app/widgets/gimptoolbox-color-area.c: use the new widget.
16413 * app/widgets/gimpcoloreditor.[ch]: replaced the FG/BG buttons and
16414 the color area by a GimpFgBgEditor.
16416 2004-05-27 Michael Natterer <mitch@gimp.org>
16418 * app/widgets/gimpdocumentview.c (gimp_document_view_new):
16419 gimp_editor_add_action_button() takes a va_list, terminate
16420 it with NULL. Fixes bug #143258.
16422 2004-05-26 Michael Natterer <mitch@gimp.org>
16424 * app/paint/gimpink.c: restored old time/speed sensitivity
16425 behaviour by doing nothing except figuring if we draw a straight
16426 line in INIT_PAINT. Instead, do all the Blob creating in
16427 MOTION_PAINT and special case the initial (null) "motion"
16430 2004-05-26 Maurits Rijk <m.rijk@chello.nl>
16432 * plug-ins/common/video.c: code clean-up. Twice as fast now.
16434 * plug-ins/common/flarefx.c: removed timing stuff.
16436 2004-05-26 Sven Neumann <sven@gimp.org>
16438 * app/core/core-enums.[ch]: shorter names for the gradient types
16439 to reduce the width of the blend tool options.
16441 2004-05-26 Maurits Rijk <m.rijk@chello.nl>
16443 * plug-ins/common/decompose.c
16444 * plug-ins/common/deinterlace.c
16445 * plug-ins/common/depthmerge.c
16446 * plug-ins/common/despeckle.c
16447 * plug-ins/common/destripe.c
16448 * plug-ins/common/diffraction.c
16449 * plug-ins/common/displace.c
16450 * plug-ins/common/edge.c
16451 * plug-ins/common/emboss.c
16452 * plug-ins/common/engrave.c
16453 * plug-ins/common/exchange.c
16454 * plug-ins/common/film.c
16455 * plug-ins/common/flarefx.c: Use HIG capitalization style.
16456 Added GPL license in a few places. Minor code clean-up.
16458 2004-05-26 Sven Neumann <sven@gimp.org>
16460 * app/widgets/gimpcolordisplayeditor.c
16461 * modules/cdisplay_colorblind.c
16462 * modules/cdisplay_gamma.c
16463 * modules/cdisplay_highcontrast.c
16464 * modules/cdisplay_proof.c: HIG-ified color display filters.
16466 2004-05-26 Michael Natterer <mitch@gimp.org>
16468 * app/paint/gimppaintcore.[ch]: added "guint32 time" parameters
16469 to GimpPaintCore::paint() and ::interpolate().
16471 * app/paint/gimpairbrush.c
16472 * app/paint/gimpbrushcore.c
16473 * app/paint/gimpclone.c
16474 * app/paint/gimpconvolve.c
16475 * app/paint/gimpdodgeburn.c
16476 * app/paint/gimperaser.c
16477 * app/paint/gimppaintbrush.c
16478 * app/paint/gimpsmudge.c: changed accordingly.
16480 * app/paint/gimpink.c: ditto and use the passed time instead of
16481 hardcoded dummy values.
16483 * app/paint/gimppaintcore-stroke.c: pass '0' as time.
16485 * app/tools/gimppainttool.c: pass the GdkEvent time.
16487 2004-05-26 Michael Natterer <mitch@gimp.org>
16489 * app/paint/Makefile.am
16490 * app/paint/gimpink-blob.[ch]
16491 * app/paint/gimpink.[ch]
16492 * app/paint/gimpinkoptions.[ch]: new files. Ported the ink tool
16493 to be a direct GimpPaintCore subclass without any GUI.
16495 * app/paint/gimp-paint.c: register GimpInk with the list of paint
16498 * app/tools/Makefile.am
16499 * app/tools/gimpinkoptions.[ch]
16500 * app/tools/gimpinktool-blob.[ch]: removed these files.
16502 * app/tools/gimpinkoptions-gui.[ch]: new files containing only
16503 the GUI for GimpInkOptions.
16505 * app/tools/gimpinktool.[ch]: reduced to some few lines which
16506 implement a simple GimpPaintTool subclass.
16508 * app/tools/gimp-tools.c: associate the GimpInk paint_core with
16511 2004-05-26 Michael Natterer <mitch@gimp.org>
16513 * app/paint/gimppaintcore-stroke.c: check if we really have
16514 a GimpBrushCore before casting and accessing its members.
16516 2004-05-26 Michael Natterer <mitch@gimp.org>
16518 * app/paint/gimpbrushcore.h
16519 * app/paint/gimppaintcore.h: some cleanup.
16521 2004-05-26 Sven Neumann <sven@gimp.org>
16523 * app/display/gimpdisplayshell-layer-select.c
16524 * app/display/gimpprogress.c
16525 * app/gui/brush-select.c
16526 * app/gui/color-notebook.c
16527 * app/gui/convert-dialog.c
16528 * app/gui/font-select.c
16529 * app/gui/gradient-select.c
16530 * app/gui/info-dialog.c
16531 * app/gui/offset-dialog.c
16532 * app/gui/palette-select.c
16533 * app/gui/pattern-select.c
16534 * app/gui/stroke-dialog.c
16535 * app/gui/tips-dialog.c
16536 * app/tools/gimpmeasuretool.c
16537 * app/tools/gimptexttool.c
16538 * app/widgets/gimpcolordisplayeditor.c
16539 * app/widgets/gimpcolorframe.c
16540 * app/widgets/gimpdevicestatus.c
16541 * app/widgets/gimpviewabledialog.c: adjusted dialog spacings.
16543 2004-05-26 Michael Natterer <mitch@gimp.org>
16545 * app/paint/gimppaintcore.c: don't do special stuff if a virtual
16546 function doesn't exist. Instead, added default implementations
16547 which do the special stuff and call the virtual functions
16550 * app/tools/gimppainttool.c: some stylistic cleanup.
16552 2004-05-26 Michael Natterer <mitch@gimp.org>
16554 * app/paint/gimppaintcore.[ch] (gimp_paint_core_paste)
16555 (gimp_paint_core_replace): replaced the "MaskBuf *paint_mask"
16556 parameters by "PixelRegion *mask_bufPR", so subclasses can pass in
16557 any kind of paint_mask buffer and are not restricted to MaskBufs.
16559 Also removes implicit knowledge about the MaskBuf originating from
16560 a brush in paint_mask_to_canvas_buf() and _to_canvas_tiles() which
16561 don't need to offset the mask by width/2 height/2 any more.
16563 Made gimp_paint_core_validate_undo_tiles() and
16564 gimp_paint_core_validate_canvas_tiles() protected functions.
16566 * app/paint/gimpbrushcore.c (gimp_brush_core_paste_canvas)
16567 (gimp_brush_core_replace_canvas): create correctly positioned
16568 PixelRegions from the MaskBufs before passing them to the
16571 2004-05-26 Michael Natterer <mitch@gimp.org>
16573 * app/paint/gimppaintcore.[ch]: removed "gdouble scale" parameter
16574 and added "GimpPaintOptions" in GimpPaintCore::get_paint_area().
16575 Check if virtual functions exist befoe calling them.
16577 * app/paint/gimpbrushcore.[ch]: added "gdouble scale" to GimpBrushCore
16578 and "gboolean use_scale" to GimpBrushCoreClass (defaults to TRUE).
16579 Set scale from paint_options in GimpPaintCore::get_paint_area().
16580 Removed "scale" parameter from gimp_brush_core_paste_canvas()
16581 and _replace_canvas().
16583 * app/paint/gimpsmudge.c (gimp_smudge_class_init): set use_scale
16586 * app/paint/gimpclone.c
16587 * app/paint/gimpconvolve.c
16588 * app/paint/gimpdodgeburn.c
16589 * app/paint/gimperaser.c
16590 * app/paint/gimppaintbrush.c: removed all scale calculations and
16591 simply pass paint_options to GimpPaintCore::get_paint_area().
16593 2004-05-26 Michael Natterer <mitch@gimp.org>
16595 * app/tools/gimppainttool.c (gimp_paint_tool_button_press): check
16596 if the GimpPaintCore really is a GimpBrushCore before casting and
16597 fiddling with internaly.
16599 2004-05-25 Michael Natterer <mitch@gimp.org>
16601 * app/paint/Makefile.am
16602 * app/paint/gimpbrushcore-kernels.h
16603 * app/paint/gimpbrushcore.[ch]: new GimpPaintCore subclass
16604 containing all the brush painting specific stuff.
16606 * app/paint/gimppaintcore-kernels.h: removed this file.
16608 * app/paint/gimppaintcore.[ch]: removed all brush stuff.
16610 * app/paint/gimpairbrush.c
16611 * app/paint/gimpclone.[ch]
16612 * app/paint/gimpconvolve.[ch]
16613 * app/paint/gimpdodgeburn.[ch]
16614 * app/paint/gimperaser.[ch]
16615 * app/paint/gimppaintbrush.[ch]
16616 * app/paint/gimppencil.c
16617 * app/paint/gimpsmudge.[ch]: changed accordingly. Derive all
16618 classes which used to derive directly from GimpPaintCore from
16619 GimpBrushCore now. Lots of cleanup.
16621 * app/paint/paint-types.h
16622 * app/paint/gimp-paint.c
16623 * app/paint/gimppaintcore-stroke.c
16624 * app/tools/gimppainttool.c
16625 * tools/kernelgen.c: changed accordingly.
16627 2004-05-25 Maurits Rijk <m.rijk@chello.nl>
16629 * plug-ins/common/align_layers.c
16630 * plug-ins/common/animoptimize.c
16631 * plug-ins/common/animationplay.c
16632 * plug-ins/common/apply_lens.c
16633 * plug-ins/common/autocrop.c
16634 * plug-ins/common/autostretch_hsv.c
16635 * plug-ins/common/blinds.c
16636 * plug-ins/common/blur.c
16637 * plug-ins/common/borderaverage.c
16638 * plug-ins/common/bz2.c
16639 * plug-ins/common/c_astretch.c
16640 * plug-ins/common/ccanalyze.c
16641 * plug-ins/common/channel_mixer.c
16642 * plug-ins/common/color_enhance.c
16643 * plug-ins/common/colorify.c
16644 * plug-ins/common/colortoalpha.c
16645 * plug-ins/common/csource.c
16646 * plug-ins/common/cubism.c
16647 * plug-ins/common/curve_bend.c: Use HIG capitalization style.
16648 Added GPL license in a few places. Minor code clean-up.
16650 2004-05-25 Sven Neumann <sven@gimp.org>
16652 Sorry, couldn't resist to finish this task...
16654 * plug-ins/script-fu/script-fu-console.c
16655 * plug-ins/script-fu/script-fu-scripts.c
16656 * plug-ins/script-fu/script-fu-server.c: HIG-ified.
16658 2004-05-25 Sven Neumann <sven@gimp.org>
16660 * plug-ins/gimpressionist/brush.c
16661 * plug-ins/gimpressionist/color.c
16662 * plug-ins/gimpressionist/general.c
16663 * plug-ins/gimpressionist/gimpressionist.[ch]
16664 * plug-ins/gimpressionist/orientation.c
16665 * plug-ins/gimpressionist/orientmap.c
16666 * plug-ins/gimpressionist/paper.c
16667 * plug-ins/gimpressionist/placement.c
16668 * plug-ins/gimpressionist/presets.c
16669 * plug-ins/gimpressionist/preview.c
16670 * plug-ins/gimpressionist/size.c
16671 * plug-ins/gimpressionist/sizemap.c: HIG-ified.
16673 2004-05-25 Michael Natterer <mitch@gimp.org>
16675 * app/widgets/gimpitemtreeview.h: added GimpContext parameters
16676 to GimpActivateItemFunc, GimpNewItemFunc and GimpEditItemFunc.
16678 * app/widgets/gimpdrawabletreeview.c
16679 * app/widgets/gimpitemtreeview.c: pass the view's context to
16682 * app/actions/actions.c (action_data_get_context): return
16683 gimp_get_user_context() if "data" is a Gimp.
16685 * app/actions/channels-commands.[ch]
16686 * app/actions/layers-commands.[ch]
16687 * app/actions/vectors-commands.[ch]: added GimpContext parameters
16688 to the resp. activate, new and edit functions and use the passed
16689 context instead of gimp_get_user_context().
16691 * app/actions/layers-commands.[ch]: removed the merge and flatten
16694 * app/actions/image-commands.[ch]: made public layer merge utility
16695 function private and cleaned the whole file up a lot.
16697 * app/actions/layers-actions.c: use the callbacks from
16698 image-commands.c for merge and flatten.
16700 * app/actions/edit-commands.c
16701 * app/actions/file-commands.c
16702 * app/actions/select-commands.c: use action_data_get_context()
16703 instead of gimp_get_user_context().
16705 * app/actions/edit-actions.c: some cleanup.
16707 2004-05-25 Sven Neumann <sven@gimp.org>
16709 * plug-ins/common/plugindetails.c
16710 * plug-ins/dbbrowser/dbbrowser_utils.c
16711 * plug-ins/pagecurl/pagecurl.c: HIG-ified.
16713 2004-05-25 Sven Neumann <sven@gimp.org>
16715 * plug-ins/print/gimp_color_window.c
16716 * plug-ins/print/gimp_main_window.c: HIG-ified and ported to
16719 * plug-ins/ifscompose/ifscompose.c (ifsfile_load_response): ported
16720 forgotten callback to GtkFileChooser.
16722 * plug-ins/imagemap/imap_browse.c
16723 * plug-ins/imagemap/imap_file.c: finished port to GtkFileChooser.
16725 2004-05-25 Michael Natterer <mitch@gimp.org>
16727 * app/actions/file-actions.c
16728 * app/actions/file-commands.[ch]: removed action "file-new", added
16729 action "file-open-from-image".
16731 * app/actions/image-actions.c
16732 * app/actions/image-commands.[ch]: added actions "image-new" and
16733 "image-new-from-image".
16735 * menus/image-menu.xml.in: use the "-from-image" variants of
16736 the "new" and "open" actions so the dialogs are preconfigured
16737 from the image they were invoked from (regression fix).
16739 * menus/toolbox-menu.xml.in: s/file-new/image-new/.
16741 2004-05-24 Sven Neumann <sven@gimp.org>
16743 * plug-ins/rcm/rcm.h
16744 * plug-ins/rcm/rcm_dialog.[ch]: rearranged and HIG-ified dialog.
16746 2004-05-24 Michael Natterer <mitch@gimp.org>
16748 * app/widgets/gimptoolbox.c (toolbox_create_tools): added an evil
16749 hack as workaround for the missing gtk_action_get_accel_closure().
16750 Re-enables accelerator display in the tool button tooltips.
16752 2004-05-24 Michael Natterer <mitch@gimp.org>
16754 * app/vectors/Makefile.am
16755 * app/vectors/gimpcoordmath.[ch]: removed...
16757 * app/core/Makefile.am
16758 * app/core/gimpcoords.[ch]: ...and added without the "bezier"
16761 * app/vectors/gimpbezierstroke.c: changed accordingly.
16763 * app/Makefile.am: force it to link gimpcoords.o
16765 2004-05-24 Michael Natterer <mitch@gimp.org>
16767 * app/config/gimpconfigwriter.c
16768 * app/core/gimpstrokeoptions.c
16769 * app/widgets/gimpactiongroup.c
16770 * app/widgets/gimpcolorframe.h
16771 * app/widgets/gimpcolorpanel.h
16772 * app/widgets/gimpcontainerview.[ch]
16773 * app/widgets/gimptooldialog.h
16774 * app/widgets/gimpuimanager.c
16775 * app/widgets/widgets-types.h: fixed various small issues I
16776 stumbled across when updating the API reference for app/.
16778 2004-05-24 Sven Neumann <sven@gimp.org>
16780 * app/display/gimpscalecombobox.c
16781 (gimp_scale_combo_box_mru_remove_last): removed debugging output.
16783 2004-05-24 Sven Neumann <sven@gimp.org>
16785 * app/core/gimptoolinfo.[ch]: derive GimpToolInfo from
16786 GimpViewable, it doesn't make sense for it to be a GimpData.
16788 * app/widgets/gimptooloptionseditor.c
16789 (gimp_tool_options_editor_get_title): do not append " Options" to
16790 the tool name. Fixes bug #142280.
16792 2004-05-24 Sven Neumann <sven@gimp.org>
16794 * plug-ins/common/mblur.c: fixed range check of blur type
16795 parameter (bug #142965).
16797 2004-05-24 Sven Neumann <sven@gimp.org>
16799 * plug-ins/maze/maze_face.c: fixed a compiler warning.
16801 2004-05-24 Sven Neumann <sven@gimp.org>
16803 Applied a patch from Philip Lafleur (bug #142808):
16805 * app/paint/gimppaintcore.h: define PRESSURE_SCALE to 1.5
16807 * app/paint/gimpairbrush.c
16808 * app/paint/gimpclone.c
16809 * app/paint/gimpconvolve.c
16810 * app/paint/gimpdodgeburn.c
16811 * app/paint/gimperaser.c
16812 * app/paint/gimppaintbrush.c
16813 * app/paint/gimpsmudge.c: use the PRESSURE_SCALE constant.
16815 2004-05-24 Michael Natterer <mitch@gimp.org>
16817 Long overdue core container cleanup:
16819 * app/core/gimplist.[ch]: added "unique-names" and "sort-func"
16820 properties and merged the resp. code from GimpDataList into
16821 GimpList. Removed "policy" parameters from gimp_list_new() and
16822 added "unique_names". Added new constructor gimp_list_new_weak().
16823 Made public function gimp_list_uniquefy_name() private.
16825 * app/core/Makefile.am
16826 * app/core/core-types.h
16827 * app/core/gimpdatalist.[ch]: removed. Its functionality is
16828 entirely in GimpList now.
16830 * app/core/gimpdata.[ch]: added gimp_data_name_compare() which
16831 used to live in GimpDataList.
16834 * app/core/gimpdatafactory.c
16835 * app/core/gimpimage.c
16836 * app/core/gimptoolinfo.c
16837 * app/core/gimpundostack.c
16838 * app/paint/gimp-paint.c
16839 * app/tools/gimp-tools.c
16840 * app/widgets/gimpdevices.c
16841 * app/widgets/gimptemplateeditor.c
16842 * app/widgets/gimpundoeditor.c: changed list creation accordingly.
16844 Made gimp->templates, gimp->named_buffers, tool_info->presets and
16845 the image's lists of layers, channels and vectors automatically
16846 ensure unique names.
16848 * app/widgets/gimptemplateview.c
16849 * app/actions/file-commands.c
16850 * app/actions/templates-commands.c
16851 * app/actions/tool-options-commands.c: removed calls to
16852 gimp_list_uniquefy_name().
16854 * app/core/gimpitem.c: removed major insanity where the items
16855 themselves where ensuring their unique names. Bah!
16857 * app/core/gimplayer.c (gimp_layer_name_changed): chain up
16860 * app/core/gimplayermask.c (gimp_layer_mask_name_changed): removed
16861 because there is no need any more to keep the parent
16862 implementation from being invoked.
16864 2004-05-23 Sven Neumann <sven@gimp.org>
16866 More fixes for bug #142996:
16868 * plug-ins/common/postscript.c
16869 * plug-ins/common/sparkle.c
16870 * plug-ins/common/sunras.c
16871 * plug-ins/common/uniteditor.c
16872 * plug-ins/fits/fits.c: fixed typos.
16874 2004-05-23 Sven Neumann <sven@gimp.org>
16876 Fixes for bug #142996:
16878 * app/gui/preferences-dialog.c: added missing gettext call.
16880 * app/config/gimprc-blurbs.h
16881 * app/core/gimptemplate.c
16882 * app/gui/gradient-editor-menu.c: fixed typos.
16884 2004-05-23 Michael Natterer <mitch@gimp.org>
16886 * app/core/gimpdatalist.c: code cleanup, no logic changed.
16888 2004-05-23 Henrik Brix Andersen <brix@gimp.org>
16890 * app/config/gimprc-blurbs.h
16891 * plug-ins/gfig/gfig-spiral.c (spiral_button_press)
16892 * plug-ins/gimpressionist/orientation.c (create_orientationpage)
16893 * plug-ins/common/diffraction.c (diffraction_dialog)
16894 * plug-ins/common/bumpmap.c (bumpmap_dialog)
16895 * plug-ins/maze/maze.h
16896 * plug-ins/MapObject/mapobject_apply.c (compute_image)
16897 * app/tools/gimpmeasuretool.c (gimp_measure_tool_dialog_update)
16898 * plug-ins/print/gimp_main_window.c (create_scaling_frame): marked
16899 strings for translation, corrected small typos. Fixes part of bug
16902 2004-05-23 Žygimantas Beručka <uid0@akl.lt>
16904 * configure.in: Added "lt" to ALL_LINGUAS.
16906 2004-05-23 Michael Schumacher <schumaml@cvs.gnome.org>
16908 * libgimp/gimp.def: gimp_register_file_handler_mime added
16910 2004-05-23 Michael Natterer <mitch@gimp.org>
16912 * app/widgets/widgets-types.h: reoedered to somehow reflect the
16915 Some dockable context handling cleanup:
16917 * app/widgets/gimpdocked.[ch]: removed "prev_context" parameter
16918 from GimpDocked::set_context(). Widgets which need the old context
16919 to disconnect from should remember it themselves.
16921 * app/widgets/gimpdockable.c (gimp_dockable_set_context): don't
16922 pass the old context to gimp_docked_set_context().
16925 * app/widgets/gimpcontainerbox.c
16926 * app/widgets/gimpcontainereditor.c: changed accordingly.
16928 * app/display/gimpnavigationview.[ch]
16929 * app/widgets/gimpimageeditor.[ch]
16930 * app/widgets/gimpitemtreeview.[ch]: added a "context" member
16931 which holds the context set by GimpDocked::set_context().
16933 * app/widgets/gimpdrawabletreeview.c: use the view's context
16934 instead of gimp_get_user_context().
16936 * app/widgets/gimpcoloreditor.[ch]: removed separate API to
16937 set the context because it implements the GimpDockedInterface.
16939 * app/widgets/gimpcomponenteditor.c
16940 * app/widgets/gimperrorconsole.c: pass "menu-factory",
16941 "menu-identifier" and "ui-path" to g_object_new() instead of
16942 calling gimp_editor_create_menu() later.
16944 Action cleanup partly related to the context stuff above:
16946 * app/actions/actions.c (action_data_get_gimp): get the Gimp from
16947 context->gimp, not gimage->gimp because gimage may be NULL.
16949 (action_data_get_context): changed to use the new context members
16952 * app/actions/channels-actions.c (channels_actions_update): cleanup.
16954 * app/actions/edit-actions.c (edit_actions_update): fixed
16955 sensitivity of "edit-undo-clear".
16957 * app/actions/vectors-actions.c (vectors_actions_update): make
16958 "vectors-merge-visible" sensitive only if there is more than one
16959 GimpVectors in the image.
16961 * app/actions/colormap-editor-actions.c
16962 * app/actions/gradient-editor-actions.c
16963 * app/actions/palette-editor-actions.c: added FG/BG color previews
16964 to actions which take colors from them. Changed code to be safe
16965 against "context" being NULL.
16967 * app/actions/drawable-commands.c:
16968 s/active_drawable/drawable/g. Makes the code more readable.
16970 * app/actions/select-commands.[ch]
16971 * app/actions/vectors-commands.[ch]: removed public stroke utility
16972 functions and other stuff which is not needed any more because
16973 dialog buttons invoke the correct actions now. Moved the
16974 functions' code to the resp. action callbacks.
16976 2004-05-21 Nathan Summers <rock@gimp.org>
16978 Somehow some of the changes from my commit on 2004-05-18 seem to have
16979 gotten lost, including the addition to the ChangeLog. Sorry about that.
16982 * NEWS: Clarified end-user visible features.
16983 Made sundry small grammar and consistancy fixes.
16984 Reorganized list of changes slightly.
16986 2004-05-21 Sven Neumann <sven@gimp.org>
16988 * app/paint/gimppaintcore.c (gimp_paint_core_interpolate): better
16989 fix for bug #123811; patch provided by Philip Lafleur.
16991 2004-05-21 Sven Neumann <sven@gimp.org>
16993 * app/gui/preferences-dialog.c: added some GtkSizeGroups and
16994 changed spacings to improve the dialog layout.
16996 * app/gui/file-new-dialog.c
16997 * app/widgets/gimpgrideditor.c
16998 * app/widgets/gimptemplateeditor.c: minor changes for consistency.
17000 2004-05-21 Sven Neumann <sven@gimp.org>
17002 * plug-ins/gflare/gflare.c
17003 * plug-ins/gfli/gfli.c
17004 * plug-ins/ifscompose/ifscompose.c
17005 * plug-ins/sel2path/sel2path.c
17006 * plug-ins/sel2path/sel2path_adv_dialog.c
17007 * plug-ins/sgi/sgi.c
17008 * plug-ins/winicon/icodialog.c: HIG-ification.
17010 2004-05-21 Michael Natterer <mitch@gimp.org>
17012 * app/actions/data-commands.c (data_delete_callback): eek, delete
17013 the data only if "OK" was pressed.
17015 2004-05-21 Michael Natterer <mitch@gimp.org>
17017 * app/widgets/gimperrorconsole.c
17018 (gimp_error_console_save_ext_clicked): use
17019 gtk_widget_get_screen(), not window_get_screen() on a button.
17021 2004-05-20 Maurits Rijk <m.rijk@chello.nl>
17023 * plug-ins/imagemap/imap_*.[ch]: (partly) HIG-ified, replaced
17024 deprecated widget GtkCList by GtkTreeModel/View (also fixes #136893),
17025 use file choosers instead of file selectors, minor clean-up.
17027 2004-05-20 Sven Neumann <sven@gimp.org>
17029 * plug-ins/Lighting/lighting_ui.c
17030 * plug-ins/MapObject/mapobject_ui.c
17031 * plug-ins/bmp/bmpwrite.c
17032 * plug-ins/fits/fits.c
17033 * plug-ins/flame/flame.c
17035 * plug-ins/gfig/gfig-preview.c
17036 * plug-ins/gfig/gfig.c: HIG-ified.
17038 2004-05-20 Sven Neumann <sven@gimp.org>
17040 * plug-ins/FractalExplorer/Dialogs.c
17041 * plug-ins/FractalExplorer/FractalExplorer.c: HIG-ification and
17044 2004-05-19 Manish Singh <yosh@gimp.org>
17046 * plug-ins/pygimp/gimpfu.py: Actually return values from the run
17047 function. Fixes #141338.
17049 2004-05-20 Sven Neumann <sven@gimp.org>
17051 * plug-ins/maze/maze_face.c
17052 * plug-ins/xjt/xjt.c: HIG-ified. Say goodbye to "Parameter Settings".
17054 2004-05-20 Sven Neumann <sven@gimp.org>
17056 * plug-ins/common/warp.c
17057 * plug-ins/common/whirlpinch.c
17058 * plug-ins/common/wmf.c
17059 * plug-ins/common/xbm.c
17060 * plug-ins/common/xpm.c: HIG-ified.
17062 2004-05-19 Manish Singh <yosh@gimp.org>
17064 * app/actions/file-actions.c: remove unnecessary G_OBJECT() casts.
17066 * tools/pdbgen/pdb/help.pdb
17067 * tools/pdbgen/pdb/image.pdb
17068 * tools/pdbgen/pdb/paths.pdb
17069 * tools/pdbgen/pdb/plug_in.pdb: a bit of quoting clean up.
17071 * tools/pdbgen/pdb/plug_in.pdb: handle icon_data_length properly.
17073 * app/pdb/plug_in_cmds.c: regenerated.
17075 2004-05-20 Sven Neumann <sven@gimp.org>
17077 * plug-ins/common/tga.c
17078 * plug-ins/common/threshold_alpha.c
17079 * plug-ins/common/tiff.c
17080 * plug-ins/common/tile.c
17081 * plug-ins/common/tileit.c
17082 * plug-ins/common/uniteditor.c
17083 * plug-ins/common/unsharp.c
17084 * plug-ins/common/video.c
17085 * plug-ins/common/vpropagate.c: HIG-ified.
17087 2004-05-20 Sven Neumann <sven@gimp.org>
17089 * plug-ins/common/randomize.c
17090 * plug-ins/common/ripple.c
17091 * plug-ins/common/sample_colorize.c
17092 * plug-ins/common/scatter_hsv.c
17093 * plug-ins/common/sel_gauss.c
17094 * plug-ins/common/sharpen.c
17095 * plug-ins/common/shift.c
17096 * plug-ins/common/smooth_palette.c
17097 * plug-ins/common/snoise.c
17098 * plug-ins/common/sobel.c
17099 * plug-ins/common/sparkle.c
17100 * plug-ins/common/spread.c
17101 * plug-ins/common/struc.c
17102 * plug-ins/common/sunras.c
17103 * plug-ins/common/svg.c: HIG-ified.
17105 2004-05-19 Michael Natterer <mitch@gimp.org>
17107 * app/widgets/Makefile.am
17108 * app/widgets/widgets-types.h
17109 * app/widgets/gimpaction.[ch]: new GtkAction subclass which can
17110 show either a color or viewable preview in GtkImageMenuItem
17113 * app/widgets/gimpenumaction.[ch]
17114 * app/widgets/gimppluginaction.[ch]
17115 * app/widgets/gimpstringaction.[ch]: derive them from GimpAction.
17117 * app/widgets/gimpactiongroup.c (gimp_action_group_add_actions):
17118 add GimpActions, not GtkActions.
17120 (gimp_action_group_set_action_color)
17121 (gimp_action_group_set_action_viewable): removed all hacks and
17122 simply set the "color" or "viewable" properties of the GimpAction
17123 to change. Fixes color/viewable previews in menus.
17125 * app/actions/file-actions.c: show previews in the "Open Recent"
17130 * app/widgets/widgets-types.h: removed GimpDockedInterface typedef...
17132 * app/widgets/gimpdocked.h: ...and added it here. We don't have
17133 class struct typedefs in the types header either.
17135 * app/actions/edit-actions.c: added <Ctrl>+semicolon as shortcut
17136 for "edit-fill-pattern".
17138 * app/actions/gradient-editor-actions.c: added some stock IDs.
17141 2004-05-19 Sven Neumann <sven@gimp.org>
17143 * plug-ins/common/papertile.c
17144 * plug-ins/common/pat.c
17145 * plug-ins/common/pixelize.c
17146 * plug-ins/common/png.c
17147 * plug-ins/common/postscript.c
17148 * plug-ins/common/psp.c: HIG-ified.
17150 2004-05-19 Sven Neumann <sven@gimp.org>
17152 * plug-ins/common/mapcolor.c
17153 * plug-ins/common/mblur.c
17154 * plug-ins/common/mng.c
17155 * plug-ins/common/mosaic.c
17156 * plug-ins/common/newsprint.c
17157 * plug-ins/common/oilify.c: HIG-ified.
17159 2004-05-19 Sven Neumann <sven@gimp.org>
17161 * plug-ins/common/hot.c
17162 * plug-ins/common/iwarp.c
17163 * plug-ins/common/jpeg.c
17164 * plug-ins/common/lic.c
17165 * plug-ins/common/mail.c: HIG-ified.
17167 2004-05-19 Sven Neumann <sven@gimp.org>
17169 * plug-ins/common/gauss_iir.c
17170 * plug-ins/common/gauss_rle.c
17171 * plug-ins/common/gbr.c
17172 * plug-ins/common/gee.c
17173 * plug-ins/common/gee_zoom.c
17174 * plug-ins/common/gif.c
17175 * plug-ins/common/gih.c
17176 * plug-ins/common/glasstile.c
17177 * plug-ins/common/gtm.c: HIG-ified.
17179 2004-05-19 Sven Neumann <sven@gimp.org>
17181 * plug-ins/common/exchange.c: fixed minor dialog layout issues.
17183 * plug-ins/common/screenshot.c: added the camera icon to the dialog.
17185 * plug-ins/common/film.c
17186 * plug-ins/common/fractaltrace.c: HIG-ified.
17188 2004-05-19 Sven Neumann <sven@gimp.org>
17190 * app/paint/gimppaintcore.c (gimp_paint_core_interpolate): make
17191 sure that pressure never becomes negative. Fixes bug #123811;
17192 thanks to Philip Lafleur for investigating this problem.
17194 2004-05-19 Sven Neumann <sven@gimp.org>
17196 * plug-ins/common/channel_mixer.c: added some stock icons.
17198 * plug-ins/common/edge.c
17199 * plug-ins/common/emboss.c
17200 * plug-ins/common/engrave.c
17201 * plug-ins/common/exchange.c: HIG-ified.
17203 * plug-ins/common/sel_gauss.c: tiny changes for a more consistent
17206 2004-05-19 Michael Natterer <mitch@gimp.org>
17208 * tools/pdbgen/pdb/plug_in.pdb: made plugin_icon_register() an
17209 underscore-prefixed function which needs to be wrapped.
17211 * libgimp/gimpplugin_pdb.[ch]: regenerated.
17213 * libgimp/Makefile.am
17215 * libgimp/gimpplugin.[ch]: new files containing
17216 gimp_plugin_icon_register() which has no "icon_data_length"
17217 parameter and determines it from the passed icon data.
17219 * libgimp/gimp.def: added gimp_plugin_icon_register.
17221 * plug-ins/common/plugindetails.c
17222 * plug-ins/common/screenshot.c
17223 * plug-ins/common/uniteditor.c
17224 * plug-ins/print/print.c: don't pass the icon_data_length.
17226 2004-05-18 Sven Neumann <sven@gimp.org>
17228 * plug-ins/common/checkerboard.c
17229 * plug-ins/common/colorify.c
17230 * plug-ins/common/colortoalpha.c
17231 * plug-ins/common/compose.c
17232 * plug-ins/common/convmatrix.c
17233 * plug-ins/common/csource.c
17234 * plug-ins/common/cubism.c
17235 * plug-ins/common/decompose.c
17236 * plug-ins/common/deinterlace.c
17237 * plug-ins/common/depthmerge.c
17238 * plug-ins/common/despeckle.c
17239 * plug-ins/common/destripe.c
17240 * plug-ins/common/diffraction.c
17241 * plug-ins/common/displace.c: HIG-ified.
17243 2004-05-18 Michael Natterer <mitch@gimp.org>
17245 Allow plug-ins to register menu icons. Fixes bug #120500.
17247 * app/core/core-enums.[ch]: added enum GimpIconType which can
17248 be one of { STOCK_ID, IMAGE_FILE, INLINE_PIXBUF }.
17250 * app/config/gimpconfigwriter.[ch] (gimp_config_writer_data)
17251 * app/config/gimpscanner.[ch] (gimp_scanner_parse_data): new
17252 functions which write/parse raw binary data. Needed for storing
17253 inline pixbufs in pluginrc.
17255 * app/config/gimpconfigwriter.[ch] (gimp_config_writer_identifier):
17256 new function which writes out an unquoted and unescaped string.
17258 * app/plug-in/plug-in-proc.[ch] (struct PlugInProcDef): added
17259 new members "icon_type", "icon_data_length" and "icon_data".
17260 Reordered members so file_proc specific stuff is at the end.
17262 (plug_in_proc_def_get_stock_id)
17263 (plug_in_proc_def_get_pixbuf): new functions to access the
17266 * app/plug-in/plug-in-rc.c: save/restore the registered icons.
17268 * app/actions/file-dialog-actions.c
17269 * app/actions/plug-in-actions.c: set the action's stock ID from
17270 the procedure's stock ID.
17272 * app/widgets/gimppluginaction.c
17273 (gimp_plug_in_action_connect_proxy): if the procedure provides a
17274 pixbuf, set it as icon for the menu item.
17276 * app/menus/file-dialog-menu.[ch]
17277 * app/menus/file-open-menu.c
17278 * app/menus/file-save-menu.c
17279 * app/xcf/xcf.c: changed accordingly.
17281 * tools/pdbgen/pdb/plug_in.pdb (plugin_icon_register): new PDB
17282 function which can be called during query().
17284 * tools/pdbgen/enums.pl
17285 * app/pdb/internal_procs.c
17286 * app/pdb/plug_in_cmds.c
17287 * libgimp/gimpenums.h
17288 * libgimp/gimpplugin_pdb.c
17289 * libgimp/gimpplugin_pdb.h
17290 * plug-ins/pygimp/gimpenums.py
17291 * plug-ins/script-fu/script-fu-constants.c: regenerated.
17293 * plug-ins/common/plugindetails.c
17294 * plug-ins/common/uniteditor.c
17295 * plug-ins/print/print.c: register stock_id icons.
17297 * plug-ins/common/screenshot.c: register an inline_pixbuf icon for
17298 testing purposes (used emblem-camera.png from gnome-icon-theme).
17300 * app/actions/dialogs-actions.c
17301 * app/actions/file-actions.c: unrelated: added some more icons
17304 2004-05-18 Maurits Rijk <m.rijk@chello.nl>
17306 * plug-ins/common/sel_gauss.c: HIGified, fixed indendation, speed
17307 improvement (around 70 %).
17309 2004-05-18 Sven Neumann <sven@gimp.org>
17311 * plug-ins/common/blur.c
17312 * plug-ins/common/borderaverage.c
17313 * plug-ins/common/bumpmap.c
17314 * plug-ins/common/ccanalyze.c: HIG-ified.
17316 2004-05-18 Sven Neumann <sven@gimp.org>
17318 * libgimpwidgets/gimpsizeentry.[ch] (gimp_size_entry_attach_label):
17319 return the created label widget so that it can for example be put
17320 into a GtkSizeGroup.
17322 * plug-ins/libgimpoldpreview/gimpoldpreview.[ch]: removed the
17323 optional "Preview" frame. Always put the preview into a sunken
17326 * plug-ins/common/AlienMap2.c
17327 * plug-ins/common/blinds.c
17328 * plug-ins/common/flarefx.c
17329 * plug-ins/common/glasstile.c
17330 * plug-ins/common/grid.c
17331 * plug-ins/common/illusion.c
17332 * plug-ins/common/jigsaw.c
17333 * plug-ins/common/max_rgb.c
17334 * plug-ins/common/nlfilt.c
17335 * plug-ins/common/noisify.c
17336 * plug-ins/common/nova.c
17337 * plug-ins/common/plasma.c
17338 * plug-ins/common/polar.c
17339 * plug-ins/common/waves.c
17340 * plug-ins/common/wind.c: changed accordingly, HIG-ified.
17342 2004-05-18 Sven Neumann <sven@gimp.org>
17344 * plug-ins/common/aa.c
17345 * plug-ins/common/align_layers.c
17346 * plug-ins/common/animationplay.c
17347 * plug-ins/common/apply_lens.c: HIG-ified.
17349 2004-05-18 Michael Natterer <mitch@gimp.org>
17351 * app/core/gimptoolinfo.c: made the "visible" property serializable.
17353 * app/tools/gimp-tools.c: store the tools' order and visibility
17354 in a new config file called "toolrc".
17356 2004-05-18 Sven Neumann <sven@gimp.org>
17358 * plug-ins/gimpressionist/brush.c: ported to GtkFileChooser.
17360 * plug-ins/gimpressionist/gimpressionist.h
17361 * plug-ins/gimpressionist/ppmtool.[ch]: sprinkled some const
17364 2004-05-18 Sven Neumann <sven@gimp.org>
17366 * plug-ins/common/curve_bend.c
17367 * plug-ins/ifscompose/ifscompose.c: ported to GtkFileChooser and
17370 2004-05-18 Sven Neumann <sven@gimp.org>
17372 * plug-ins/common/channel_mixer.c
17373 * plug-ins/common/gqbist.c: ported to GtkFileChooser and
17376 * plug-ins/common/spheredesigner.c: ditto, but needs more love.
17378 2004-05-18 Michael Natterer <mitch@gimp.org>
17380 * app/plug-in/plug-in-proc.[ch] (plug_in_proc_def_get_label): new
17381 function which returns a newly allocated string which is the menu
17382 item's name stripped of mnemonics an ellipses.
17384 * app/actions/plug-in-actions.c (plug_in_actions_update)
17385 * app/plug-in/plug-in.c (plug_in_get_undo_desc): use the function
17386 instead of implementing the same twice slightly different.
17388 2004-05-17 Sven Neumann <sven@gimp.org>
17390 * plug-ins/common/CEL.c
17391 * plug-ins/common/CML_explorer.c: ported to GtkFileChooser and
17394 2004-05-17 Sven Neumann <sven@gimp.org>
17396 * plug-ins/common/AlienMap2.c: HIG-ified (more or less).
17398 2004-05-17 Michael Natterer <mitch@gimp.org>
17400 * menus/menus.xsl: put the image popup menu into a dummy menubar
17401 to work around the silly GtkUIManager restriction that popup menus
17402 can't have tearoff items.
17404 * app/menus/menus.c
17405 * app/menus/image-menu.c
17406 * app/display/gimpdisplayshell-callbacks.c
17407 * app/gui/gui-vtable.c
17408 * app/menus/plug-in-menus.c: changed accordingly.
17410 * app/gui/gui.c (gui_restore_after_callback): connect to
17411 "notify::tearoff-menus" of GimpGuiConfig and reconfigure the
17412 global image UI manager accordingly.
17414 * app/config/gimpguiconfig.c: removed GIMP_PARAM_RESTART from the
17415 "tearoff-menus" property because GtkUIManager can change this on
17418 * app/display/gimpdisplayshell.[ch]: added the menubar to the
17419 GimpDisplayShell struct. Some cleanup in gimp_display_shell_new().
17421 * app/display/gimpdisplayshell-appearance.c
17422 (gimp_display_shell_set_show_menubar): use shell->menubar instead
17423 of asking the UI manager.
17425 * app/widgets/gimpuimanager.[ch]: changed gimp_ui_manager_ui_get()
17426 to transparently load the XML files even if a sub-widget was
17427 requested. Reordered parameters of gimp_ui_manager_ui_popup().
17428 Lots of internal cleanups.
17430 * app/widgets/gimpdockable.c
17431 * app/widgets/gimptooloptionseditor.c: simplified accordingly.
17433 * app/widgets/gimpeditor.[ch]: added new function
17434 gimp_editor_popup_menu() which takes a GimpMenuPositionFunc and
17435 updates/shows the editor's menu.
17437 * app/widgets/gimpcolormapeditor.c
17438 * app/widgets/gimpcomponenteditor.c
17439 * app/widgets/gimpcontainereditor.c
17440 * app/widgets/gimpcontainergridview.c
17441 * app/widgets/gimpcontainertreeview.c
17442 * app/widgets/gimperrorconsole.c
17443 * app/widgets/gimpgradienteditor.c
17444 * app/widgets/gimpitemtreeview.c
17445 * app/widgets/gimppaletteeditor.c: use gimp_editor_popup_menu().
17447 * app/widgets/gimptoolbox.c: moved all code from
17448 gimp_toolbox_new() to GObject::constructor().
17450 2004-05-17 Michael Natterer <mitch@gimp.org>
17452 * app/actions/tool-options-actions.c: added icons to the Save,
17453 Load, Rename and Delete submenus.
17455 2004-05-17 Michael Natterer <mitch@gimp.org>
17457 * app/actions/edit-actions.c (edit_actions_update): don't forget
17458 to set the sensitivity of "edit-named-copy".
17460 2004-05-17 Sven Neumann <sven@gimp.org>
17462 * app/core/gimpimage.c (gimp_image_init): initialize the image
17463 unit to GIMP_UNIT_PIXEL.
17465 * app/pdb/image_cmds.c
17466 * tools/pdbgen/pdb/image.pdb: allow GIMP_UNIT_PIXEL to be used
17467 in the gimp_image_set_unit() PDB call.
17469 2004-05-16 Sven Neumann <sven@gimp.org>
17471 * plug-ins/script-fu/scripts/old-photo.scm: fixed wrong use of
17472 layer ID; bug #142326.
17474 2004-05-15 Sven Neumann <sven@gimp.org>
17476 * app/tools/gimpcurvestool.c: fixed position of vertical line
17477 indicating the picked color. Patch from William Skaggs and
17478 Søren Wedel Nielsen; fixes bug #142506.
17480 2004-05-15 Michael Natterer <mitch@gimp.org>
17482 * app/plug-in/plug-in-params.c (plug_in_proc_args_check): changed
17483 warnings to include the invalid menu path. Added check that makes
17484 sure menu paths are either "<Prefix>" or "<Prefix>/foo" but *not*
17487 * app/actions/plug-in-actions.c: added function
17488 plug_in_actions_check_translation() which validates both the
17489 original and translated menu paths and spits detailed error
17490 messages if any of them is broken. Made action creation simpler
17491 (?) and more robust.
17493 * app/menus/plug-in-menus.c: argh, the translated menu path must
17494 be a sorting criteria *only*. Fixed the whole stuff to always use
17495 the original menu path because translation is done entirely by
17496 plug-in-actions.c. Fixes bad crashes for all locales. Added
17497 boolean return value to plug_in_menus_build_path() and don't try
17498 to create the menu item in an invalid location if creating the
17501 2004-05-14 Sven Neumann <sven@gimp.org>
17503 * app/menus/file-dialog-menu.c: check if the file procedure
17504 registered a menu path at all. The menu should probably be created
17505 from the registered menu path, not from gimp->[load|save]_procs.
17507 * app/plug-in/plug-in-proc.[ch]
17508 * app/plug-in/plug-ins.c: removed broken code that used to sort
17509 the file procedures.
17511 * plug-ins/common/CEL.c
17512 * plug-ins/common/bz2.c
17513 * plug-ins/common/gz.c
17514 * plug-ins/common/pcx.c
17515 * plug-ins/common/pix.c
17516 * plug-ins/common/sunras.c
17517 * plug-ins/sgi/sgi.c
17518 * plug-ins/xjt/xjt.c: register a mimetype, set a translatable
17519 action name (mostly taken from shared-mime-info) and register to
17520 the <Load> and <Save> menus using gimp_plugin_menu_register().
17522 2004-05-14 Michael Natterer <mitch@gimp.org>
17524 * app/pdb/fileops_cmds.c
17525 * libgimp/gimpfileops_pdb.c: regenerated.
17527 2004-05-14 Michael Natterer <mitch@gimp.org>
17529 * app/actions/select-actions.c (select_actions_update): don't
17530 make "select-invert" insensitive if there is no selection.
17532 2004-05-14 Sven Neumann <sven@gimp.org>
17534 * plug-ins/common/aa.c
17535 * plug-ins/common/gbr.c
17536 * plug-ins/common/gih.c
17537 * plug-ins/common/gtm.c
17538 * plug-ins/common/header.c
17539 * plug-ins/common/pat.c
17540 * plug-ins/common/pnm.c
17541 * plug-ins/common/psp.c
17542 * plug-ins/fits/fits.c
17543 * plug-ins/gfli/gfli.c: register a mimetype, set a translatable
17544 action name (mostly taken from shared-mime-info) and register to
17545 the <Load> and <Save> menus using gimp_plugin_menu_register().
17547 2004-05-14 Sven Neumann <sven@gimp.org>
17549 * tools/pdbgen/pdb/fileops.pdb: added new PDB function
17550 gimp_register_file_handler_mime() that allows to associate a MIME
17551 type with a file procecdurre.
17553 * app/pdb/fileops_cmds.c
17554 * app/pdb/internal_procs.c
17555 * libgimp/gimpfileops_pdb.[ch]: regenerated.
17557 * app/plug-in/plug-in-proc.[ch]
17558 * app/plug-in/plug-in-rc.c
17559 * app/plug-in/plug-ins.[ch]: store a mimetype with file procedures.
17561 * app/actions/file-commands.c
17562 * app/core/gimpdocumentlist.[ch]
17563 * app/core/gimpimagefile.[ch]
17564 * app/file/file-open.[ch]
17565 * app/file/file-save.c: set the thumbnail's mimetype from the file
17566 procedure used to load/save the image.
17569 * plug-ins/bmp/bmp.c
17570 * plug-ins/common/csource.c
17571 * plug-ins/common/dicom.c
17572 * plug-ins/common/gif.c
17573 * plug-ins/common/gifload.c
17574 * plug-ins/common/jpeg.c
17575 * plug-ins/common/mng.c
17576 * plug-ins/common/png.c
17577 * plug-ins/common/postscript.c
17578 * plug-ins/common/psd.c
17579 * plug-ins/common/psd_save.c
17580 * plug-ins/common/sunras.c
17581 * plug-ins/common/svg.c
17582 * plug-ins/common/tga.c
17583 * plug-ins/common/tiff.c
17584 * plug-ins/common/wmf.c
17585 * plug-ins/common/xbm.c
17586 * plug-ins/common/xpm.c
17587 * plug-ins/common/xwd.c
17588 * plug-ins/faxg3/faxg3.c
17589 * plug-ins/winicon/main.c: register a mimetype, set a translatable
17590 action name (taken from shared-mime-info) and register to the <Load>
17591 and <Save> menus using gimp_plugin_menu_register().
17593 2004-05-13 Sven Neumann <sven@gimp.org>
17595 * tools/pdbgen/lib.pl
17596 * tools/pdbgen/pdbgen.pl: added new procedure variable 'since'
17597 that allows to specify when a new function was added. Use that
17598 info to generate an appropriate gtk-doc comment.
17600 * tools/pdbgen/pdb/plug_in.pdb: set since = '2.2' for the new
17601 function gimp_plugin_menu_register().
17603 * libgimp/gimpplugin_pdb.c: regenerated.
17605 2004-05-13 Michael Natterer <mitch@gimp.org>
17607 * menus/tool-options-menu.xml: added "name" attributes to all
17610 * app/menus/tool-options-menu.c: use the menu names instead of the
17611 overly long action names.
17613 * app/actions/colormap-editor-commands.c
17614 * app/actions/tool-options-commands.c: added some callback
17617 * app/widgets/gimpcolormapeditor.c
17618 * app/widgets/gimptooloptionseditor.c: removed the callbacks here
17619 and use action buttons.
17621 * app/actions/actions.c
17622 * app/actions/colormap-editor-actions.c
17623 * app/actions/edit-actions.c: code review / cleanup.
17625 2004-05-13 Michael Natterer <mitch@gimp.org>
17627 * app/core/gimpcontainer.c (gimp_container_add_handler): don't
17628 try to lookup detailed "notify::foo" signal specs.
17630 2004-05-13 Michael Natterer <mitch@gimp.org>
17632 * app/widgets/gimptoolview.[ch]: if in list mode, add an "eye"
17633 column which toggles tool visibility.
17635 2004-05-13 Michael Natterer <mitch@gimp.org>
17637 * app/actions/tools-actions.c (tools_actions_update): don't use
17638 action_data_get_context() to update the "tools" action group
17639 because it may return NULL. Use gimp_get_user_context() instead
17640 because the active tool is global regardless of the action group's
17641 context. Fixes accidential tool hiding when closing the last
17644 2004-05-13 Sven Neumann <sven@gimp.org>
17646 * libgimpthumb/gimpthumbnail.c (gimp_thumbnail_save_thumb): oops.
17648 2004-05-13 Michael Natterer <mitch@gimp.org>
17650 Added GimpViewable infrastructure which enables migrating from
17651 TempBuf to GdkPixbuf for both providing and getting previews:
17653 * app/core/gimpviewable.[ch]: added new virtual functions
17654 GimpViewable::get_pixbuf() and GimpViewable::get_new_pixbuf()
17655 which are implemented exactly as get_preview() and
17656 get_new_preview() except that get_new_pixbuf() has a default
17657 implementation which creates the pixbuf from a TempBuf.
17659 Renamed public functions _get_preview_pixbuf() and
17660 _get_new_preview_pixbuf() to _get_pixbuf() and _get_new_pixbuf().
17662 Added gimp_viewable_get_dummy_pixbuf() and use it from
17663 gimp_viewable_get_dummy_preview().
17665 * app/core/gimpimagefile.c (gimp_imagefile_save_thumb)
17666 * app/display/gimpdisplayshell.c (gimp_display_shell_update_icon)
17667 * app/gui/resize-dialog.c (resize_dialog_new): changed accordingly.
17669 2004-05-13 Sven Neumann <sven@gimp.org>
17671 * libgimpthumb/gimpthumbnail.[ch]: added mime-type support.
17673 2004-05-13 Michael Natterer <mitch@gimp.org>
17675 * app/menus/Makefile.am: added file-menu.[ch] and
17676 file-dialog-menu.[ch]
17678 * app/menus/menus.[ch]: removed menus_open_recent_add()...
17680 * app/menus/file-menu.[ch]: ...and added it here as file_menu_setup().
17682 * app/menus/image-menu.c
17683 * app/menus/toolbox-menu.c: changed accordingly.
17685 * app/menus/file-dialog-menu.[ch]: added factored out code from the
17686 file-open and file-save menus as file_dialog_menu_setup().
17688 * app/menus/file-open-menu.c
17689 * app/menus/file-save-menu.c: call file_dialog_menu_setup().
17691 2004-05-12 Michael Natterer <mitch@gimp.org>
17693 * app/actions/documents-actions.c
17694 * app/actions/documents-commands.c
17695 * app/actions/edit-actions.c
17696 * app/actions/edit-commands.[ch]
17697 * app/actions/layers-actions.c
17698 * app/actions/layers-commands.c
17699 * app/actions/select-actions.c
17700 * app/actions/select-commands.[ch]
17701 * app/actions/vectors-actions.c
17702 * app/actions/vectors-commands.[ch]: added tooltips for actions
17703 which are now used for dialog buttons, added callback
17704 implementations which formerly lived in various widgets, moved
17705 some actions around and did some general cleanups.
17707 * menus/image-menu.xml.in: s/edit-stroke/select-stroke/
17709 * menus/Makefile.am
17710 * menus/selection-editor-menu.xml: new popup menu.
17712 * app/menus/menus.c: register <SelectionEditor> and <UndoEditor>
17715 * app/widgets/gimpeditor.[ch]: added construct properties
17716 "menu-factory", "menu-identifier", "ui-path" and "popup-data".
17717 Implement GObject::constructor() and create the UI manager
17718 if all needed properties were set. Enables creating action
17719 buttons at widget construction time because they need a
17722 (gimp_editor_add_action_button): extended to take a va_list of
17723 "extended" actions which are invoked if the resp. button emits
17724 "extended_clicked". Store the actions and their modifier masks in
17725 a list attached to the button.
17727 * app/widgets/gimpcontainerview.c
17728 (gimp_container_view_item_selected): if the view has container
17729 *and* context, simply change the context and return.
17731 (gimp_container_view_context_changed): don't emit "select_item"
17732 manually but simply call gimp_container_view_select_item().
17734 (gimp_container_view_viewable_dropped): use
17735 gimp_container_view_item_selected() instead of changing the
17738 * app/widgets/gimpcontainereditor.c
17739 (gimp_container_editor_select_item): update the UI manager.
17741 * app/widgets/gimpdockable.c: don't try to fiddle with the
17742 dialog's menu if it doesn't have a ui_path (happens if the UI
17743 manager is just a collection of actions for the dialog buttons and
17744 has no menu registered).
17746 * app/widgets/gimpimageeditor.c: connect to the image's "flush"
17747 signal and update the UI manager in the callback.
17749 * app/widgets/gimpitemtreeview.c: use GimpEditor's construct
17750 properties to create the UI manager so GimpItemTreeView subclasses
17751 can have action buttons. Update the UI manager in
17752 gimp_item_tree_view_select_item().
17754 * app/widgets/gimpbufferview.c
17755 * app/widgets/gimpcolormapeditor.c
17756 * app/widgets/gimpcontainergridview.c
17757 * app/widgets/gimpdatafactoryview.c
17758 * app/widgets/gimpfontview.c
17759 * app/widgets/gimpimageview.c
17760 * app/widgets/gimptemplateview.c
17761 * app/widgets/gimptoolview.c: changed calls to
17762 gimp_editor_add_action_button() accordingly and removed some
17763 unneeded select_item() implementations.
17765 * app/widgets/gimpchanneltreeview.c
17766 * app/widgets/gimpvectorstreeview.[ch]
17767 * app/widgets/gimpdocumentview.[ch]
17768 * app/widgets/gimplayertreeview.c
17769 * app/widgets/gimpselectioneditor.[ch]
17770 * app/widgets/gimpundoeditor.[ch]: use action buttons and removed
17771 lots of callbacks which went to the resp. action callbacks.
17773 * app/widgets/widgets-types.h: removed some now unneeded function
17776 * app/gui/dialogs-constructors.c: changed (simplified) many dialog
17777 constructors accordingly.
17779 2004-05-12 Sven Neumann <sven@gimp.org>
17781 * libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal)
17782 * app/widgets/gimpwidgets-utils.c (gimp_table_attach_stock):
17783 left-align the label.
17785 * app/actions/channels-commands.c
17786 * app/actions/layers-commands.c
17787 * app/actions/qmask-commands.c
17788 * app/actions/vectors-commands.c
17789 * app/display/gimpdisplayshell-scale.c
17790 * app/gui/brush-select.c
17791 * app/gui/file-new-dialog.c
17792 * app/gui/info-dialog.c
17793 * app/gui/info-window.c
17794 * app/gui/module-browser.c
17795 * app/gui/offset-dialog.c
17796 * app/gui/palette-import-dialog.c
17797 * app/gui/preferences-dialog.c
17798 * app/gui/resize-dialog.c
17799 * app/tools/gimpblendoptions.c
17800 * app/tools/gimpcroptool.c
17801 * app/tools/gimpmeasuretool.c
17802 * app/tools/gimppaintoptions-gui.c
17803 * app/tools/gimpscaletool.c
17804 * app/tools/gimpselectionoptions.c
17805 * app/tools/gimpsheartool.c
17806 * app/tools/gimptextoptions.c
17807 * app/widgets/gimpcolormapeditor.c
17808 * app/widgets/gimpgrideditor.c
17809 * app/widgets/gimphistogrameditor.c
17810 * app/widgets/gimplayertreeview.c
17811 * app/widgets/gimpstrokeeditor.c
17812 * app/widgets/gimpwidgets-utils.c: left-align labels as suggested
17815 2004-05-12 Michael Natterer <mitch@gimp.org>
17817 * app/config/gimpconfig-deserialize.c
17818 * app/config/gimpscanner.c
17819 * app/core/gimp-edit.c
17820 * app/core/gimpchannel-combine.c
17821 * app/core/gimpcontainer.c
17822 * app/core/gimpdrawable-bucket-fill.c
17823 * app/core/gimpdrawable-combine.c
17824 * app/core/gimpdrawable.c
17825 * app/core/gimpgradient.c
17826 * app/core/gimpimage-flip.c
17827 * app/core/gimpimage-merge.c
17828 * app/core/gimpimage-projection.c
17829 * app/core/gimpimage.c
17830 * app/display/gimpdisplay-handlers.c
17831 * app/display/gimpdisplayshell-callbacks.c
17832 * app/display/gimpprogress.c
17833 * app/gui/info-dialog.c
17834 * app/gui/module-browser.c
17835 * app/gui/offset-dialog.c
17836 * app/plug-in/plug-in.c
17837 * app/tools/gimpdrawtool.c
17838 * app/tools/tool_manager.c
17839 * app/widgets/gimpactiongroup.c
17840 * app/widgets/gimpdialogfactory.c
17841 * app/widgets/gimpgradienteditor.c
17842 * app/widgets/gimpitemfactory.c
17843 * app/widgets/gimppropwidgets.c
17844 * app/widgets/gimpwidgets-utils.c
17845 * app/xcf/xcf-save.c
17846 * libgimp/gimpexport.c
17847 * libgimpwidgets/gimphelpui.c
17848 * libgimpwidgets/gimppixmap.c
17849 * libgimpwidgets/gimpunitmenu.c: replaced G_GNUC_FUNCTION,
17850 G_GNUC_PRETTY_FUNCTION, G_STRLOC and hardcoded function names in
17851 g_warning()s by G_STRFUNC.
17853 2004-05-12 Michael Natterer <mitch@gimp.org>
17855 * app/actions/gradients-actions.c
17856 * app/actions/palettes-actions.c
17857 * app/actions/patterns-actions.c: added/fixed tooltips.
17859 2004-05-11 Michael Natterer <mitch@gimp.org>
17861 * configure.in: define G*_DISABLE_DEPRECATED for all G* modules
17862 except GTK+. Don't do so if compiling against GLib, GTK+ >= 2.5.0
17865 * libgimpwidgets/gimpoffsetarea.c: s/gdk_gc_unref/g_object_unref/
17867 * app/config/gimpconfig-deserialize.c
17868 * app/widgets/gimpdeviceinfo.c:
17869 s/g_value_set_foo_take_ownership/g_value_take_foo/
17871 * app/text/gimptext-vectors.c
17872 * app/text/gimptext-bitmap.c:
17873 s/pango_ft2_font_get_face/pango_fc_font_lock,unlock_face/
17875 2004-05-11 Michael Natterer <mitch@gimp.org>
17877 * app/actions/images-commands.c: added missing #includes.
17879 2004-05-11 Michael Natterer <mitch@gimp.org>
17881 * app/widgets/Makefile.am
17882 * app/widgets/widgets-types.h
17883 * app/widgets/gimpcontainermenu.[ch]
17884 * app/widgets/gimpcontainermenuimpl.[ch]
17885 * app/widgets/gimpmenuitem.[ch]: removed. Obsoleted by
17886 GimpContainerViewInterface implemented by GimpContainerComboBox.
17888 2004-05-11 Michael Natterer <mitch@gimp.org>
17890 * app/actions/actions.[ch]: added action_data_get_context() and
17891 macro return_if_no_context().
17893 * app/actions/brushes-actions.c
17894 * app/actions/buffers-actions.c
17895 * app/actions/buffers-commands.c
17896 * app/actions/data-commands.c
17897 * app/actions/fonts-actions.c
17898 * app/actions/fonts-commands.c
17899 * app/actions/gradients-actions.c
17900 * app/actions/images-actions.c
17901 * app/actions/images-commands.c
17902 * app/actions/palettes-actions.c
17903 * app/actions/patterns-actions.c
17904 * app/actions/templates-actions.c
17905 * app/actions/templates-commands.[ch]
17906 * app/actions/tools-actions.c
17907 * app/actions/tools-commands.c: moved lots of code from widgets/
17908 to the resp. action callbacks.
17910 * app/widgets/gimpeditor.[ch]: added gimp_editor_add_action_button()
17911 which creates a GtkButton connected to the resp. action.
17913 * app/widgets/gimpdatafactoryview.[ch]: added "action_group"
17914 parameters so we can distinguish brushes, patterns etc. actions.
17916 * app/widgets/gimpimageview.[ch]
17917 * app/widgets/gimpbrushfactoryview.c
17918 * app/widgets/gimpbufferview.c
17919 * app/widgets/gimpfontview.c
17920 * app/widgets/gimpgradienteditor.c
17921 * app/widgets/gimppatternfactoryview.c
17922 * app/widgets/gimptemplateview.[ch]
17923 * app/widgets/gimptoolview.c: removed tons of GtkButton::clicked()
17924 callbacks and use gimp_editor_add_action_button() instead
17925 of simply _add_button().
17927 * app/gui/dialogs-constructors.c
17928 * app/gui/gradient-select.c
17929 * app/gui/palette-select.c
17930 * app/gui/pattern-select.c: changed accordingly.
17932 2004-05-11 Michael Natterer <mitch@gimp.org>
17934 * app/widgets/gimpcontainercombobox.c: correctly get the default
17935 GimpContainerViewInterface implementation and chain up to it for
17936 clear_items(). Update the preview renderers on "update", enable
17937 deselecting everything.
17939 * app/widgets/gimpimagedock.[ch]
17940 * app/gui/file-new-dialog.c
17941 * app/gui/palette-import-dialog.c
17942 * app/gui/preferences-dialog.c
17943 * app/gui/stroke-dialog.c: use GimpContainerComboBox instead of
17944 GimpContainerMenuImpl.
17946 * app/gui/palette-import-dialog.c: cleanup.
17948 2004-05-11 Sven Neumann <sven@gimp.org>
17950 * docs/gimptool.1.in: fixed spelling.
17952 2004-05-11 Sven Neumann <sven@gimp.org>
17954 * app/widgets/gimpcontainertreeview.c: minor cleanup.
17956 2004-05-11 Michael Schumacher <schumaml@cvs.gnome.org>
17959 * libgimpbase/gimpbase.def: updated
17961 2004-05-11 Sven Neumann <sven@gimp.org>
17963 * app/gui/user-install-dialog.c: removed the "Aborting
17964 Installation" page. We added it as a nice little gimmick but
17965 obviously people don't understand it's purpose. Fixes bug #142281.
17967 2004-05-11 Sven Neumann <sven@gimp.org>
17969 * app/widgets/Makefile.am
17970 * app/widgets/widgets-types.h
17971 * app/widgets/gimpcontainercombobox.[ch]: added new widget, almost
17974 * app/widgets/gimpcontainerview.[ch]: added convenience functions
17975 to get and set the GimpContainerView properties.
17977 * app/widgets/gimpcontainerbox.c: use the convenience functions.
17979 * app/gui/file-new-dialog.c: use the new GimpContainerComboBox.
17981 * etc/templaterc: use "pixels" as the unit for pixel sized templates.
17983 2004-05-11 Michael Natterer <mitch@gimp.org>
17985 * app/widgets/gimpchanneltreeview.c
17986 * app/widgets/gimpcontainerbox.[ch]
17987 * app/widgets/gimpcontainereditor.c
17988 * app/widgets/gimpcontainergridview.[ch]
17989 * app/widgets/gimpcontainerpopup.c
17990 * app/widgets/gimpcontainertreeview.[ch]
17991 * app/widgets/gimpdatafactoryview.c
17992 * app/widgets/gimpdocumentview.c
17993 * app/widgets/gimpfontview.c
17994 * app/widgets/gimpimageview.c
17995 * app/widgets/gimpitemtreeview.c
17996 * app/widgets/gimplayertreeview.c
17997 * app/widgets/gimppatternfactoryview.c
17998 * app/widgets/gimptemplateview.c
17999 * app/widgets/gimpvectorstreeview.c: code review / cleanup.
18001 2004-05-11 Michael Natterer <mitch@gimp.org>
18003 * app/widgets/widgets-types.h
18004 * app/widgets/gimpcontainerview.[ch]: made GimpContainerView an
18005 interface. Added accessors for all members in the private struct
18006 and made it really private.
18008 * app/widgets/gimpcontainerbox.[ch]: derive it from GimpEditor and
18009 implement GimpContainerViewInterface and its properties.
18011 * app/widgets/gimpchanneltreeview.c
18012 * app/widgets/gimpcontainergridview.c
18013 * app/widgets/gimpcontainertreeview.c
18014 * app/widgets/gimpcontainertreeview-dnd.c
18015 * app/widgets/gimpdrawabletreeview.c
18016 * app/widgets/gimpitemtreeview.c
18017 * app/widgets/gimplayertreeview.c
18018 * app/widgets/gimpvectorstreeview.c: implement
18019 GimpContainerViewInterface and use the new accessor functions.
18021 * app/widgets/gimpcontainerpopup.c
18022 * app/widgets/gimpdocumentview.c: changed accordingly.
18024 * app/widgets/gimptemplateview.c
18025 * app/widgets/gimpcontainereditor.c
18026 * app/widgets/gimpundoeditor.c
18027 * app/actions/palettes-commands.c: #include "gimpcontainerview.h"
18029 2004-05-11 Sven Neumann <sven@gimp.org>
18032 * libgimp/gimpui.def
18033 * libgimpbase/gimpbase.def
18034 * libgimpwidgets/gimpwidgets.def: updated.
18036 2004-05-10 Sven Neumann <sven@gimp.org>
18038 * libgimpwidgets/gimpframe.c (gimp_frame_style_set): removed a
18039 redundant call to gtk_widget_queue_resize().
18041 2004-05-10 Sven Neumann <sven@gimp.org>
18043 * app/xcf/xcf-save.c (xcf_save_prop): fixed size of colormap
18044 property. Patch by Daniel Kobras, fixes bug #142149.
18046 2004-05-10 Henrik Brix Andersen <brix@gimp.org>
18048 * plug-ins/common/screenshot.c (shoot_dialog): fixed the spacing
18049 of the dialog, thanks to Sven for pointing out my mistake.
18051 2004-05-10 Sven Neumann <sven@gimp.org>
18053 * app/widgets/gimptexteditor.c (gimp_text_editor_set_direction):
18054 don't call gtk_widget_set_direction() on a non-existant widget.
18057 2004-05-10 Sven Neumann <sven@gimp.org>
18059 * app/gui/tips-dialog.c: added missing newline in error message.
18061 2004-05-10 Michael Natterer <mitch@gimp.org>
18063 More GimpContainerView chopping:
18065 * app/widgets/gimpcontainerview.[ch]: added
18066 GimpContainerViewPrivate struct (which is currently public :-) and
18067 removed all members from the GimpContainerView struct. Added
18068 accessors for "context", "container" and "preview_size /
18069 preview_border_width". Added macro to get the private struct
18070 (*not* via G_TYPE_INSTANCE_GET_PRIVATE because that's unavailable
18073 * app/widgets/gimpbrushfactoryview.c
18074 * app/widgets/gimpbufferview.c
18075 * app/widgets/gimpchanneltreeview.c
18076 * app/widgets/gimpcontainerbox.c
18077 * app/widgets/gimpcontainereditor.c
18078 * app/widgets/gimpcontainergridview.c
18079 * app/widgets/gimpcontainerpopup.c
18080 * app/widgets/gimpcontainertreeview-dnd.c
18081 * app/widgets/gimpcontainertreeview.c
18082 * app/widgets/gimpdatafactoryview.c
18083 * app/widgets/gimpdocumentview.c
18084 * app/widgets/gimpfontview.c
18085 * app/widgets/gimpimageview.c
18086 * app/widgets/gimpitemtreeview.c
18087 * app/widgets/gimplayertreeview.c
18088 * app/widgets/gimpsessioninfo.c
18089 * app/widgets/gimptemplateview.c
18090 * app/widgets/gimptoolview.c
18091 * app/actions/brushes-actions.c
18092 * app/actions/buffers-actions.c
18093 * app/actions/dockable-actions.c
18094 * app/actions/dockable-commands.c
18095 * app/actions/documents-actions.c
18096 * app/actions/fonts-actions.c
18097 * app/actions/gradients-actions.c
18098 * app/actions/gradients-commands.c
18099 * app/actions/images-actions.c
18100 * app/actions/palettes-actions.c
18101 * app/actions/palettes-commands.c
18102 * app/actions/patterns-actions.c
18103 * app/actions/templates-actions.c
18104 * app/actions/tools-actions.c
18105 * app/actions/tools-commands.c: changed accordingly.
18107 2004-05-10 Sven Neumann <sven@gimp.org>
18109 * app/tools/gimpmagnifyoptions.[ch]
18110 * app/tools/gimpmagnifytool.c: applied a patch from William Skaggs
18111 that changes a misleading option label. Fixes bug #137508.
18113 2004-05-10 Sven Neumann <sven@gimp.org>
18115 * app/config/gimpdisplayconfig.c (DEFAULT_IMAGE_TITLE_FORMAT):
18116 removed the display scale from the default image title because
18117 it's now displayed in the statusbar. Show the image pixel size
18120 * app/gui/preferences-dialog.c: include a preset for the title
18121 format string that shows the image size (bug #141720).
18123 2004-05-10 Michael Natterer <mitch@gimp.org>
18125 Prepare for making an interface out of GimpContainerView:
18127 * app/widgets/Makefile.am
18128 * app/widgets/widgets-types.h
18129 * app/widgets/gimpcontainerbox.[ch]: new GimpContainerView
18130 subclass which implements GimpDocked interface and contains the
18131 vbox-with-scrolled-window stuff common to GimpContainerGridView
18132 and GimpContainerTreeView.
18134 * app/widgets/gimpcontainerview.[ch]: removed that functionality
18137 * app/widgets/gimpcontainergridview.[ch]
18138 * app/widgets/gimpcontainertreeview.[ch]: derive them from
18141 * app/gui/brush-select.c
18142 * app/gui/font-select.c
18143 * app/gui/gradient-select.c
18144 * app/gui/palette-select.c
18145 * app/gui/pattern-select.c
18146 * app/widgets/gimpcontainerpopup.c: changed accordingly.
18148 2004-05-10 Sven Neumann <sven@gimp.org>
18150 * app/actions/view-actions.c: added a stock icon for "view-zoom-1-1".
18152 * app/widgets/gimpunitcombobox.[ch]: added functions to get and
18153 set the active unit.
18155 * app/widgets/gimpunitstore.c (gimp_unit_store_tree_model_get_value):
18156 need to special case GIMP_UNIT_PIXEL.
18158 * app/display/Makefile.am
18159 * app/display/display-types.h
18160 * app/display/gimpscalecombobox.[ch]: new widget to be used in the
18161 display's statusbar.
18163 * app/display/gimpdisplayshell-cursor.[ch]: always display the
18164 cursor position, not only if the cursor is inside the image. Added
18165 new function gimp_display_shell_clear_cursor() to clear the cursor
18168 * app/display/gimpdisplayshell-callbacks.c: changed accordingly.
18170 * app/display/gimpstatusbar.[ch]
18171 * app/display/gimpdisplayshell.c
18172 * app/display/gimpdisplayshell-handlers.c
18173 * app/display/gimpdisplayshell-scale.c: do not explicitely resize
18174 the statusbar cursor label, connect to GimpDisplayShell::scaled
18175 instead. Added a GimpScaleComboBox to the status bar.
18177 2004-05-10 Michael Natterer <mitch@gimp.org>
18179 Started making the toolbox configurable.
18180 Addresses bug #105764. Not finished yet.
18182 * app/core/gimptoolinfo.[ch]: renamed "in_toolbox" to "visible"
18183 and made it a GObject property.
18185 * app/tools/gimp-tools.[ch]: added new function
18186 gimp_tools_get_default_order() which returns a GList of tool
18189 * app/actions/tools-actions.c
18190 * app/actions/tools-commands.[ch]: added actions & callbacks for
18191 toggling the "visible" boolean and for resetting all tools.
18193 * app/widgets/Makefile.am
18194 * app/widgets/widgets-types.h
18195 * app/widgets/gimptoolview.[ch]: new widget which allows to
18196 toggle a tool's visibility and to reorder the tools.
18198 * app/widgets/gimptoolbox.[ch]: removed member "GtkWidget *trash"
18199 and pack all tool buttons into the same wrap box. Connect to
18200 "reoder" of the tool container and to "notify::visible" of all
18201 tool infos and update the toolbox accordingly.
18203 * app/gui/dialogs-constructors.c: create a GimpToolView for the
18206 * app/menus/menus.c: register a <Tools> menu for the dialog above.
18208 * menus/Makefile.am
18209 * menus/tools-menu.xml: added the menu.
18211 2004-05-10 Michael Natterer <mitch@gimp.org>
18213 * app/widgets/gimpuimanager.c: re-added help for menu items. Still
18214 incomplete because there is no fallback help ID yet when pressing
18215 F1 over a menu item which has a submenu. Added evil workaround and
18216 version check for signal brokenness of GtkUIManager in GTK+ 2.4.1.
18218 2004-05-09 Hans Breuer <hans@breuer.org>
18220 Merge from stable branch :
18222 * plug-ins/common/winclipboard.c : support gray images;
18225 * plug-ins/common/winprint.c : dito; fixes bug #141145
18227 2004-05-09 Maurits Rijk <m.rijk@chello.nl>
18229 * plug-ins/common/aa.c
18230 * plug-ins/common/apply_lens.c
18231 * plug-ins/common/autocrop.c
18232 * plug-ins/common/autostretch_hsv.c: HIGified, GPL license added in
18233 some plug-ins, minor code clean-up.
18235 2004-05-08 Maurits Rijk <m.rijk@chello.nl>
18237 * plug-ins/common/spread.c: HIGified, simplified and fixes #141733
18239 2004-05-08 Henrik Brix Andersen <brix@gimp.org>
18241 * plug-ins/common/screenshot.c (shoot_dialog): HIGify the
18242 screenshot plug-in. Fixes part of bug #141772.
18244 2004-05-08 Sven Neumann <sven@gimp.org>
18246 * app/display/gimpstatusbar.c (gimp_statusbar_resize_cursor):
18247 added 1 pixel horizontal padding around the label.
18249 2004-05-08 Sven Neumann <sven@gimp.org>
18251 * app/display/gimpstatusbar.[ch]: renamed struct member combo to
18252 unit_combo. Place the combobox into the cursor frame.
18254 2004-05-08 Sven Neumann <sven@gimp.org>
18256 * app/widgets/Makefile.am
18257 * app/widgets/widgets-types.h
18258 * app/widgets/gimpunitcombobox.[ch]
18259 * app/widgets/gimpunitstore.[ch]: added a prototype of a unit menu
18260 based on GtkComboBox. Will move this to libgimpwidgets later...
18262 * app/display/gimpstatusbar.[ch]: use the new GimpUnitComboBox and
18265 * themes/Default/gtkrc
18266 * themes/Small/gtkrc: hardcode the appearance of the
18267 GimpUnitComboBox. It uses a hack that doesn't work in list mode.
18269 2004-05-07 Sven Neumann <sven@gimp.org>
18271 * app/core/gimpimage-colormap.[ch]: added a const qualifier.
18273 Changed how the image unit and dot-for-dot mode is handled. Might
18274 break things and certainly needs more changes (mainly in tools):
18276 * app/core/gimptemplate.c: allow GIMP_UNIT_PIXEL as image unit.
18278 * app/display/gimpdisplayshell-handlers.c
18279 * app/display/gimpdisplayshell-scale.c
18280 * app/display/gimpdisplayshell-title.c
18281 * app/display/gimpstatusbar.c: always use the image unit for the
18282 rulers and to display lengths.
18284 * app/widgets/gimptemplateeditor.c: redone GimpTemplateEditor
18285 based on a dialog mockup from Jimmac and Tigert.
18287 * app/core/core-enums.[ch]: changed some descriptions used by the
18290 2004-05-07 Michael Natterer <mitch@gimp.org>
18292 * plug-ins/common/AlienMap2.c
18293 * plug-ins/common/CML_explorer.c
18294 * plug-ins/common/animationplay.c
18295 * plug-ins/common/despeckle.c
18297 * plug-ins/gfig/gfig.c
18298 * plug-ins/gflare/gflare.c
18299 * plug-ins/script-fu/script-fu.c
18300 * plug-ins/twain/twain.c: forgot some gimp_plugin_menu_register().
18302 2004-05-07 Michael Natterer <mitch@gimp.org>
18304 * plug-ins/FractalExplorer/FractalExplorer.c
18305 * plug-ins/Lighting/lighting_main.c
18306 * plug-ins/MapObject/mapobject_main.c
18307 * plug-ins/dbbrowser/dbbrowser.c
18308 * plug-ins/flame/flame.c
18309 * plug-ins/gimpressionist/gimp.c
18310 * plug-ins/ifscompose/ifscompose.c
18311 * plug-ins/imagemap/imap_main.c
18312 * plug-ins/maze/maze.c
18313 * plug-ins/pagecurl/pagecurl.c
18314 * plug-ins/print/print.c
18315 * plug-ins/rcm/rcm.c
18316 * plug-ins/winsnap/winsnap.c
18317 * plug-ins/common/[g-z]*.c: use gimp_plugin_menu_register(). Some
18318 formatting cleanups in some query() functions.
18320 2004-05-07 Michael Natterer <mitch@gimp.org>
18322 * app/plug-in/plug-in-proc.[ch]: removed member "accelerator".
18323 It was never set and this is the conceptually wrong place to store
18326 * app/actions/file-dialog-actions.c
18327 * app/actions/plug-in-actions.c
18328 * app/plug-in/plug-in-message.c
18329 * app/xcf/xcf.c: changed accordingly.
18331 * tools/pdbgen/pdb/plug_in.pdb (plugins_query): always return NULL
18332 as accelerator. Cleaned up the function a bit and made it aware of
18333 proc_def->menu_label added below.
18335 * app/pdb/plug_in_cmds.c: regenerated.
18337 2004-05-07 Michael Natterer <mitch@gimp.org>
18339 Changed plug-in menu registration again to allow passing just the
18340 menu item's label (not the full path) in gimp_install_procedure()
18341 and only the path (excluding the item's label) in
18342 gimp_plugin_menu_register(). Matches the internal action system
18343 better and makes translating the menu paths much easier.
18345 (Of yourse it's still possible to use the old syntax for backward
18348 * app/plug-in/plug-in-proc.[ch]: added "gchar *menu_label".
18350 * app/plug-in/plug-in-params.[ch]: added new functions
18351 plug_in_param_defs_check() and plug_in_proc_args_check() which
18352 check if a procedure's parameters match its menu location
18353 (e.g. <Image> needs RUN-MODE, IMAGE, DRAWABLE).
18355 * app/plug-in/plug-in-message.c (plug_in_handle_proc_install): if
18356 registering an old-style (full) menu_path, use
18357 plug_in_param_defs_check(), set proc_def->menu_label otherwise.
18359 * tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register): use
18360 plug_in_proc_args_check() on the passed menu_path and make sure
18361 old and new style menu registration are not mixed.
18363 * app/pdb/plug_in_cmds.c: regenerated.
18365 * app/plug-in/plug-in-rc.c: save/restore "menu_label".
18367 * app/actions/file-dialog-actions.c
18368 * app/actions/plug-in-actions.c
18369 * app/menus/plug-in-menus.c: changed action/menu creation
18370 accordingly. Some hacks needed to allow both old and new style
18371 menu_label/menu_paths.
18373 * app/plug-in/plug-in.c
18374 * app/widgets/gimpfiledialog.c
18375 * app/xcf/xcf.c: changed accordingly.
18377 * plug-ins/common/align_layers.c
18378 * plug-ins/common/animationplay.c
18379 * plug-ins/common/animoptimize.c
18380 * plug-ins/common/apply_lens.c
18381 * plug-ins/common/autocrop.c
18382 * plug-ins/common/autostretch_hsv.c
18383 * plug-ins/common/blinds.c
18384 * plug-ins/common/blur.c
18385 * plug-ins/common/borderaverage.c
18386 * plug-ins/common/bumpmap.c
18387 * plug-ins/common/c_astretch.c
18388 * plug-ins/common/ccanalyze.c
18389 * plug-ins/common/channel_mixer.c
18390 * plug-ins/common/checkerboard.c
18391 * plug-ins/common/color_enhance.c
18392 * plug-ins/common/colorify.c
18393 * plug-ins/common/colortoalpha.c
18394 * plug-ins/common/compose.c
18395 * plug-ins/common/convmatrix.c
18396 * plug-ins/common/cubism.c
18397 * plug-ins/common/curve_bend.c
18398 * plug-ins/common/decompose.c
18399 * plug-ins/common/deinterlace.c
18400 * plug-ins/common/depthmerge.c
18401 * plug-ins/common/destripe.c
18402 * plug-ins/common/diffraction.c
18403 * plug-ins/common/displace.c
18404 * plug-ins/common/edge.c
18405 * plug-ins/common/emboss.c
18406 * plug-ins/common/engrave.c
18407 * plug-ins/common/exchange.c
18408 * plug-ins/common/film.c
18409 * plug-ins/common/flarefx.c
18410 * plug-ins/common/fractaltrace.c
18411 * plug-ins/common/screenshot.c: ported the first few plug-ins
18412 to the new registration scheme.
18414 2004-05-06 Manish Singh <yosh@gimp.org>
18416 * tools/pdbgen/pdb/app.pl: make libgimp* headers always included
18417 before any app headers.
18419 * tools/pdbgen/pdb/paint_tools.pdb: Fix silly "Dodgebure" typo.
18421 * app/pdb/*_cmds.c: regenerated.
18423 2004-05-06 Sven Neumann <sven@gimp.org>
18425 * app/core/gimpdrawable-preview.c
18426 * app/core/gimpimage-projection.c: added sanity so we don't just
18427 plain crash when an indexed image doesn't have a colormap.
18429 * plug-ins/common/png.c: keep at least one entry in the colormap.
18432 2004-05-06 Maurits Rijk <m.rijk@chello.nl>
18434 * plug-ins/common/sobel.c: replaced RMS macro by smarter one,
18435 resulting in a doubling in speed for this plug-in.
18437 * plug-ins/fp/fp.c: include stdlib for free, malloc and abs.
18439 2004-05-06 Maurits Rijk <m.rijk@chello.nl>
18441 * plug-ins/fp/fp_gdk.c
18442 * plug-ins/fp/fp_gtk.c
18443 * plug-ins/fp/fp_misc.c
18444 * plug-ins/fp/fp.h: removed
18446 * plug-ins/fp/Makefile.am: changed accordingly
18448 * plug-ins/fp/fp.c: merged into one single file to get rid of all
18449 global variables and functions. Major clean-up. Still more to come.
18451 2004-05-06 Sven Neumann <sven@gimp.org>
18453 * app/gui/about-dialog.c: center the about dialog on the monitor,
18454 not on the screen. Fixes window position on xinerama setups.
18456 2004-05-06 Michael Natterer <mitch@gimp.org>
18458 * tools/pdbgen/pdb/plug_in.pdb: renamed gimp_plugin_menu_add() to
18459 gimp_plugin_menu_register() for consistency with other
18460 gimp_plugin_foo_register() functions which can be called during
18463 * app/pdb/plug_in_cmds.c
18464 * libgimp/gimpplugin_pdb.[ch]: regenerated.
18466 * plug-ins/common/ccanalyze.c
18467 * plug-ins/common/colortoalpha.c
18468 * plug-ins/common/screenshot.c
18469 * plug-ins/winsnap/winsnap.c: changed accordingly.
18471 2004-05-06 Michael Natterer <mitch@gimp.org>
18473 Enabled multiple menu entries per plug-in procedure:
18475 * app/plug-in/plug-in-proc.[ch]: changed "gchar *menu_path" to
18476 "GList *menu_paths".
18478 * app/plug-in/plug-in-message.c
18479 * app/plug-in/plug-in-rc.c
18480 * app/plug-in/plug-in.c
18481 * app/plug-in/plug-ins.c
18482 * app/menus/menus.c
18483 * app/widgets/gimpfiledialog.c
18484 * app/xcf/xcf.c: changed accordingly.
18486 * app/actions/file-dialog-actions.c
18487 * app/actions/plug-in-actions.c: create an action for the first
18488 element of proc_def->menu_paths.
18490 * app/gui/gui-vtable.c
18491 * app/menus/plug-in-menus.[ch]: create proxy widgets for each
18492 element of proc_def->menu_paths.
18494 * tools/pdbgen/pdb/plug_in.pdb: added new function
18495 gimp_plugin_menu_add() which can be called during query() and adds
18496 a menu path to a procedure registered by the calling plugin.
18498 * app/pdb/internal_procs.c
18499 * app/pdb/plug_in_cmds.c
18500 * libgimp/gimpplugin_pdb.[ch]: regenerated.
18502 * menus/image-menu.xml.in
18503 * menus/toolbox-menu.xml.in: added lots of <placeholder>s for
18504 logical groups (like Image/Resize, Image/Scale, Image/Crop
18505 etc.). Added empty placeholder File/Send for stuff like print and
18506 mail. Added an "Acquire" menu under <Image>/File
18508 * plug-ins/common/mail.c
18509 * plug-ins/print/print.c
18510 * plug-ins/common/winprint.c: register under File/Send.
18512 * plug-ins/common/screenshot.c
18513 * plug-ins/winsnap/winsnap.c: also register under
18514 <Image>/File/Acquire.
18516 * plug-ins/common/autocrop.c
18517 * plug-ins/common/ccanalyze.c
18518 * plug-ins/common/colortoalpha.c
18519 * plug-ins/common/threshold_alpha.c
18520 * plug-ins/common/zealouscrop.c: register additional menu entries
18521 under placeholders in the "Image" and "Layer" menus. This is not
18522 meant to be final but just a hint to keep in mind when
18523 reorganizing the plug-in menus.
18525 2004-05-06 Sven Neumann <sven@gimp.org>
18527 * app/gui/resize-dialog.[ch]: cleaned up variable names and
18528 external API. Still quite a mess.
18531 * app/actions/image-commands.c
18532 * app/actions/layers-commands.c: changed accordingly.
18534 2004-05-06 Sven Neumann <sven@gimp.org>
18536 * app/menus/menus.c: no need for including gimp-intl.h.
18538 2004-05-06 Michael Natterer <mitch@gimp.org>
18542 * app/menus/.cvsignore
18543 * app/menus/Makefile.am
18544 * app/menus/menus-types.h
18545 * app/menus/menus.[ch]
18546 * app/menus/file-open-menu.[ch]
18547 * app/menus/file-save-menu.[ch]
18548 * app/menus/image-menu.[ch]
18549 * app/menus/plug-in-menus.[ch]
18550 * app/menus/tool-options-menu.[ch]
18551 * app/menus/toolbox-menu.[ch]: moved all menus files to their
18554 * app/gui/Makefile.am
18555 * app/gui/menus.[ch]
18556 * app/gui/file-open-menu.[ch]
18557 * app/gui/file-save-menu.[ch]
18558 * app/gui/image-menu.[ch]
18559 * app/gui/plug-in-menus.[ch]
18560 * app/gui/tool-options-menu.[ch]
18561 * app/gui/toolbox-menu.[ch]: removed them here.
18563 * app/actions/debug-commands.c
18564 * app/actions/file-commands.c
18565 * app/gui/brush-select.c
18566 * app/gui/dialogs.c
18567 * app/gui/font-select.c
18568 * app/gui/gradient-select.c
18569 * app/gui/gui-vtable.c
18571 * app/gui/palette-select.c
18572 * app/gui/pattern-select.c
18573 * app/gui/preferences-dialog.c: changed #includes accordingly.
18575 2004-05-05 Sven Neumann <sven@gimp.org>
18577 * app/gui/file-new-dialog.c: use a normal GimpDialog instead of a
18578 GimpViewableDialog that never has a viewable set.
18580 2004-05-05 Michael Natterer <mitch@gimp.org>
18582 * app/gui/brush-select.[ch] (brush_select_new): reordered parameters
18583 so the first four are the same for all foo_select_new() functions.
18585 * tools/pdbgen/pdb/brush_select.pdb: changed accordingly.
18587 * app/pdb/brush_select_cmds.c: regenerated.
18589 * app/gui/font-select.c (font_select_new): set the vbox'
18590 border width to 6 to match the other foo_select dialogs.
18592 2004-05-05 Michael Natterer <mitch@gimp.org>
18594 * app/actions/debug-actions.c
18595 * app/actions/debug-commands.[ch]
18596 * menus/toolbox-menu.xml.in: added action & callback which XML-dump
18599 2004-05-05 Michael Natterer <mitch@gimp.org>
18601 * app/actions/plug-in-actions.c (plug_in_actions_add_proc): fixed
18602 bug which would have leaked broken menu translations.
18604 * app/gui/plug-in-menus.c: removed useless #includes.
18606 2004-05-05 Michael Natterer <mitch@gimp.org>
18608 * app/actions/file-actions.c
18609 * app/actions/file-commands.[ch]: remove "file-close" action and
18612 * app/actions/view-actions.c
18613 * app/actions/view-commands.[ch]: ...and added it here as
18614 "view-close" because that's what it does.
18616 * app/actions/qmask-actions.c
18617 * app/actions/qmask-commands.c: s/QMask/QuickMask/g
18619 * app/gui/menus.c: add the "channels" action group to the <Image>
18620 and <Dock> UI managers, renamed UI manager <Dialogs> to
18623 * app/widgets/gimpdockbook.c: s/<Dialogs>/<Dockable>/.
18625 * menus/image-menu.xml.in: s/file-close/view-close/, added
18626 separators at the end of most menus, moved the bottom group of the
18627 "View" menu after the zoom group.
18629 2004-05-05 Michael Natterer <mitch@gimp.org>
18631 * app/actions/select-actions.c: removed action "select-by-color".
18633 * app/tools/gimpbycolorselecttool.c: add the shortcut here.
18635 * app/actions/tools-actions.c: added alternative tool actions for
18636 "by-color-select" and "rotate" which are identical to the ones
18637 generated from the GimpToolInfo except for their label. Make sure
18638 they have the same accelerators as the generated ones.
18640 * menus/image-menu.xml.in: use the alternative actions for
18641 "<Image>/Select/By Color" and
18642 "<Layer>/Transform/Arbitrary Rotation...".
18644 2004-05-05 Sven Neumann <sven@gimp.org>
18646 * libgimpwidgets/gimphelpui.c: documentation.
18648 2004-05-05 Michael Natterer <mitch@gimp.org>
18650 Finally enable global accelerators in all docks:
18652 * app/widgets/gimpimagedock.c (gimp_image_dock_constructor):
18653 iterate all of the UI manager's actions and enable their
18654 accelerators manually. Fixes bug #119878.
18656 2004-05-05 Sven Neumann <sven@gimp.org>
18658 * app/widgets/gimpviewabledialog.c: added construct properties to
18659 make it possible to derive from GimpViewableDialog.
18661 * app/widgets/gimptooldialog.[ch]: make GimpToolDialog a real
18662 object, not just a convenience constructor.
18664 * themes/Default/gtkrc
18665 * themes/Small/gtkrc: set a smaller border_width of 6 pixels for
18666 the action area of tool dialogs.
18668 * app/tools/gimpcolorpickertool.c
18669 * app/tools/gimpimagemaptool.c: set a smaller border_width of 6
18670 pixels on tool dialogs to make them more compact.
18672 2004-05-05 Michael Natterer <mitch@gimp.org>
18674 * libgimpwidgets/gimpoffsetarea.[ch]: added new function
18675 gimp_offset_area_set_pixbuf(). Started to clean up the
18678 * app/gui/resize-dialog.c (resize_widget_new): use the new feature
18679 and set a preview of the image. Fixes bug #78733.
18681 2004-05-05 Sven Neumann <sven@gimp.org>
18683 * app/gui/info-dialog.c
18684 * app/tools/gimpcolorbalancetool.c
18685 * app/tools/gimpcolorizetool.c
18686 * app/tools/gimpcurvestool.c
18687 * app/tools/gimphuesaturationtool.c
18688 * app/tools/gimpimagemaptool.c
18689 * app/tools/gimplevelstool.c: use GimpFrame widgets, changed spacings.
18691 * app/widgets/gimptexteditor.c: tweaked.
18693 2004-05-05 Jakub Steiner <jimmac@ximian.com>
18695 * data/images/gimp_splash.png: ustable splash
18697 2004-05-04 Michael Natterer <mitch@gimp.org>
18699 * app/gui/menus.c: register a <Dock> UI manager which has all
18700 action groups <Image> has except "view".
18702 * app/widgets/gimpimagedock.[ch]: re-enabled the global shortcuts,
18703 using UI manager instead of item factory. Unfortunately actions
18704 without proxy widgets can't be activated so this change is pretty
18705 useless. Oh well, will find a hack to work around this later...
18707 2004-05-04 Sven Neumann <sven@gimp.org>
18709 * app/tools/gimpblendoptions.c
18710 * app/tools/gimpbucketfilloptions.c
18711 * app/tools/gimpcoloroptions.c
18712 * app/tools/gimpinkoptions.c
18713 * app/tools/gimppaintoptions-gui.c
18714 * app/tools/gimpselectionoptions.c
18715 * app/tools/gimptooloptions-gui.c
18716 * app/tools/gimptransformoptions.c: use GimpFrames where GtkFrame
18717 was used. Put "Pressure Sensitivity" frame into a GtkExpander.
18719 2004-05-04 Sven Neumann <sven@gimp.org>
18721 * libgimpwidgets/gimpframe.c: added a style property to control
18722 boldening of the frame title.
18724 * themes/Default/gtkrc
18725 * themes/Small/gtkrc: suppress the bold title for GimpFrames in
18728 2004-05-04 Sven Neumann <sven@gimp.org>
18730 * libgimpwidgets/gimpframe.c (gimp_frame_size_allocate): allocate
18731 the full width for the label widget, looks better and is more
18732 convenient to use with activatable widgets such as toggle buttons.
18734 2004-05-04 Michael Natterer <mitch@gimp.org>
18736 * app/widgets/gimpfiledialog.c: removed debugging output, added
18737 #warning about runtime version check that can be removed as soon
18738 as we depend on GTK+ 2.4.1.
18740 2004-05-04 Michael Natterer <mitch@gimp.org>
18742 * app/actions/file-dialog-actions.c (file_dialog_actions_setup):
18743 don't forget to set the action's accelerator.
18745 2004-05-04 Sven Neumann <sven@gimp.org>
18747 * app/actions/channels-commands.c
18748 * app/actions/gradient-editor-commands.c
18749 * app/actions/image-commands.c
18750 * app/actions/layers-commands.c
18751 * app/actions/qmask-commands.c
18752 * app/actions/templates-commands.c
18753 * app/actions/vectors-commands.c
18754 * app/display/gimpdisplayshell-filter-dialog.c
18755 * app/gui/convert-dialog.c
18756 * app/gui/module-browser.c
18757 * app/gui/offset-dialog.c
18758 * app/gui/palette-import-dialog.c
18759 * app/gui/resize-dialog.c
18760 * app/gui/resolution-calibrate-dialog.c
18761 * app/gui/tips-dialog.c
18762 * app/gui/user-install-dialog.c
18763 * app/widgets/gimpwidgets-utils.c
18764 * libgimpwidgets/gimpquerybox.c: set dialog border spacing to 12.
18766 2004-05-04 Sven Neumann <sven@gimp.org>
18768 * app/gui/preferences-dialog.c
18769 * app/widgets/widgets-enums.[ch]
18770 * app/widgets/gimpwidgets-utils.c (gimp_window_set_hint): added
18771 new window hint "keep-above" to force toolbox and/or dock windows
18772 to be kept above (if the WM supports this hint). Fixes bug #131672.
18774 2004-05-04 Michael Natterer <mitch@gimp.org>
18778 * app/tools/gimpmovetool.c (gimp_move_tool_motion): use RINT()
18779 instead of ROUND() to round double coords to guide positions.
18781 * app/display/gimpdisplayshell-callbacks.c
18782 (gimp_display_shell_canvas_tool_events): pass RINT()-rounded
18783 coords to gimp_display_shell_update_cursor() instead of implicitly
18784 truncating by casting to int.
18786 2004-05-04 Michael Natterer <mitch@gimp.org>
18788 * app/widgets/gimpundoeditor.c: removed code duplication by adding
18789 utility function gimp_undo_editor_update_buttons(), some general
18792 2004-05-04 Michael Natterer <mitch@gimp.org>
18794 * app/core/gimpimage.c (gimp_image_undo_freeze,thaw): emit the
18795 "undo-freeze" and "undo-thaw" signals only on the first freeze and
18796 last thaw, not on any of them.
18798 * app/widgets/gimphelp-ids.h: added GIMP_HELP_EDIT_UNDO_CLEAR.
18800 * app/widgets/gimpundoeditor.[ch]: added a "Clear Undo History"
18801 button. Fixes bug #136300.
18803 Also don't attach to the image's undo stack if the image's undo is
18804 disabled and set the buttons' sensitivity accordingly. Should fix
18805 all kinds of unpredictable undo history brokenness.
18807 2004-05-04 Michael Natterer <mitch@gimp.org>
18809 Treat FG/BG just like all other context properties:
18811 * app/paint/gimppaintoptions.h: added GIMP_CONTEXT_FOREGROUND_MASK
18812 and _BACKGROUND_MASK to GIMP_PAINT_OPTIONS_CONTEXT_MASK to specify
18813 that they are used by GimpPaintOptions (automatically affects all
18816 * app/tools/gimpblendtool.c
18817 * app/tools/gimpbucketfilltool.c
18818 * app/tools/gimpinktool.c: set FOREGROUND_MASK and BACKGROUND_MASK
18821 * app/tools/tool_manager.c (tool_manager_tool_changed): decide
18822 about the globality of FG and BG at the same place where we decide
18823 about the brush's, pattern's etc. globality, but hardcode them to
18824 global = TRUE instead of looking at GimpConfig.
18828 2004-05-04 Sven Neumann <sven@gimp.org>
18830 * plug-ins/common/sobel.c (sobel_dialog): removed frame, adjusted
18831 spacing, fixes bug #141773.
18833 2004-05-04 Sven Neumann <sven@gimp.org>
18835 * app/gui/stroke-dialog.c:
18836 * app/widgets/gimpstrokeeditor.c: moved line style options into a
18837 GtkExpander. Changed dialog spacings.
18839 2004-05-03 Manish Singh <yosh@gimp.org>
18841 * app/actions/qmask-actions.c: initialize is_active for qmask-toggle.
18843 * app/actions/tools-actions.c: set entry help_id from tool_info,
18844 since gimp_action_group_add_string_actions expects it to be there
18847 2004-05-03 Sven Neumann <sven@gimp.org>
18849 * libgimpwidgets/gimpframe.c (gimp_frame_new): added a hack that
18850 allows to get the label_spacing but no label. Useful when the frame
18851 is packed into a GtkExpander.
18853 * app/widgets/gimptemplateeditor.c: pack the "Image Comment" frame
18854 into a GtkExpander to reduce clutter and dialog size.
18856 2004-05-03 Michael Natterer <mitch@gimp.org>
18858 * libgimpwidgets/gimphelpui.[ch]: added gimp_help_id_quark()
18859 which is G_GNUC_CONST and a new macro GIMP_HELP_ID as shortcut.
18861 * app/widgets/gimpactiongroup.c (gimp_action_group_add_*_actions):
18862 attach the help ID to the action using the new quark key. Call
18863 gtk_action_group_add_action() instead of the _with_accel() variant
18864 if the accel is the empty string (== if we explicitely want no
18865 accel even if the stock item specifies one). Fixes warning flood
18868 2004-05-03 Sven Neumann <sven@gimp.org>
18870 * libgimpwidgets/gimpframe.c: if the label_widget is a button, set
18871 the button label as bold. Cache the indentation instead of
18872 calculating it over and over again.
18874 * themes/Default/gtkrc: set HIG-compliant spacing for the
18877 * app/widgets/gimppropwidgets.[ch]: added
18878 gimp_prop_enum_radio_box_new() for a radio group that is no
18879 embedded in a frame.
18881 * app/widgets/gimpstrokeeditor.c: use a frame-less radio box for
18884 * app/gui/file-new-dialog.c
18885 * app/gui/grid-dialog.c
18886 * app/gui/stroke-dialog.c: HIG-compliant spacings.
18888 2004-05-03 Michael Natterer <mitch@gimp.org>
18890 * app/widgets/gimpdock.c (gimp_dock_key_press_event): new function
18891 which overrides GtkWindow's default handler in order to give the
18892 focus widget precedence over accelerators for keys without any
18893 modifier or with <Shift> modifier. Enables e.g. having a <Shift>+s
18894 accelerator while still being able to enter 'S' in an entry.
18895 Thanks to Tim Janik for the code.
18897 2004-05-03 Michael Natterer <mitch@gimp.org>
18899 * app/actions/actions.h. added the various return_if_no_foo()
18902 * app/actions/channels-commands.c
18903 * app/actions/dialogs-commands.c
18904 * app/actions/drawable-commands.c
18905 * app/actions/edit-commands.c
18906 * app/actions/file-commands.c
18907 * app/actions/image-commands.c
18908 * app/actions/layers-commands.c
18909 * app/actions/qmask-commands.c
18910 * app/actions/select-commands.c
18911 * app/actions/vectors-commands.c
18912 * app/actions/view-commands.c: removed them here. Some cleanup.
18914 2004-05-03 Michael Natterer <mitch@gimp.org>
18916 * app/actions/actions.[ch]: added some utility functions to get a
18917 Gimp, GimpImage, GimpDisplay and GtkWidget from the "data" pointer
18918 passed to action callbacks.
18920 * app/actions/channels-actions.c
18921 * app/actions/channels-commands.c
18922 * app/actions/drawable-actions.c
18923 * app/actions/drawable-commands.c
18924 * app/actions/edit-actions.c
18925 * app/actions/edit-commands.c
18926 * app/actions/file-actions.c
18927 * app/actions/file-commands.c
18928 * app/actions/help-commands.c
18929 * app/actions/image-actions.c
18930 * app/actions/image-commands.c
18931 * app/actions/layers-actions.c
18932 * app/actions/layers-commands.c
18933 * app/actions/plug-in-actions.c
18934 * app/actions/plug-in-commands.c
18935 * app/actions/qmask-actions.c
18936 * app/actions/qmask-commands.c
18937 * app/actions/select-actions.c
18938 * app/actions/select-commands.c
18939 * app/actions/tools-commands.c
18940 * app/actions/vectors-actions.c
18941 * app/actions/vectors-commands.c
18942 * app/actions/view-commands.c: use the new functions instead of
18943 duplicating insane macros and if() constructs over and over again.
18945 2004-05-03 Sven Neumann <sven@gimp.org>
18947 * libgimpwidgets/gimpwidgets.c: use a GimpFrame for
18948 gimp_radio_group_new() and friends.
18950 * themes/Default/gtkrc
18951 * themes/Small/gtkrc: set a smaller label_spacing for GimpFrame
18952 widgets in GimpDockables. Lame hack to keep the tool options
18955 * app/actions/image-commands.c: changed spacing.
18957 * app/gui/offset-dialog.c: merged check and radio buttons into a
18958 single radio button group; changed spacing.
18960 2004-05-03 Sven Neumann <sven@gimp.org>
18962 * libgimpwidgets/gimpframe.c (gimp_frame_size_allocate): respect
18963 the frame's border width.
18965 * app/widgets/gimpcolorframe.[ch]: derive from GimpFrame.
18967 * app/gui/convert-dialog.c
18968 * app/gui/info-window.c
18969 * app/gui/palette-import-dialog.c
18970 * app/gui/resize-dialog.c: use GimpFrames, changed some spacings.
18972 2004-05-03 Michael Natterer <mitch@gimp.org>
18974 * app/actions/dockable-commands.c (dockable_add_tab_cmd_callback):
18975 truncate the passed dialog identifier at the first '|'. Fixes
18976 creating brushes, paterns etc. dialogs from the dockables'
18979 2004-05-02 Sven Neumann <sven@gimp.org>
18981 * libgimpwidgets/gimpframe.c (gimp_frame_size_request): take the
18982 left margin into account.
18984 * app/widgets/gimpgrideditor.c
18985 * app/widgets/gimptemplateeditor.c: removed container borders that
18986 aren't needed any longer.
18988 2004-05-02 Sven Neumann <sven@gimp.org>
18990 * app/widgets/gimpenumwidgets.c
18991 * app/widgets/gimpgrideditor.c
18992 * app/widgets/gimptemplateeditor.c: use the GimpFrame widget,
18993 changed some spacings to better comply with the HIG.
18995 2004-05-02 Sven Neumann <sven@gimp.org>
18997 * libgimpwidgets/Makefile.am
18998 * libgimpwidgets/gimpwidgets.h
18999 * libgimpwidgets/gimpwidgetstypes.h
19000 * libgimpwidgets/gimpframe.[ch]: added new widget GimpFrame, a HIG
19001 compliant variant of GtkFrame.
19003 * app/gui/preferences-dialog.c: enable the HIG compliant mode by
19004 default and use the new GimpFrame widget for it.
19006 * themes/Small/gtkrc: set a smaller spacing between the GimpFrame
19007 title label and the frame content.
19009 2004-05-02 Michael Natterer <mitch@gimp.org>
19011 * app/actions/qmask-actions.c: renamed action "qmask-toggle" to
19012 "qmask-active" and added new action "qmask-toggle" with a label
19013 and shortcut suited for the "Select" menu.
19015 * app/actions/select-actions.c: removed "select-toggle-qmask".
19017 * app/actions/select-commands.[ch]: removed callback
19018 select_toggle_quickmask_cmd_callback().
19020 * app/actions/channels-actions.c (channels_actions_update)
19021 * app/actions/vectors-actions.c (vectors_actions_update): handle
19022 "data" being both GimpDisplay and GimpDisplayShell so the actions
19023 can be used in the image menu.
19025 * menus/image-menu.xml.in: s/select-toggle-qmask/qmask-toggle/.
19027 * menus/qmask-menu.xml: s/qmask-toggle/qmask-active/.
19029 2004-05-02 Sven Neumann <sven@gimp.org>
19031 * menus/image-menu.xml.in
19032 * menus/tool-options-menu.xml
19033 * menus/toolbox-menu.xml.in: use empty elements for empty menus.
19034 Makes the XML somewhat easier to read.
19036 2004-05-02 Sven Neumann <sven@gimp.org>
19038 * menus/Makefile.am
19039 * menus/dialogs-menuitems.xml: new file that holds menuitems that
19040 appear in several places.
19042 * menus/dockable-menu.xml.in: new file used to generate
19045 * menus/toolbox-menu.xml.in: new file used to generate
19048 * menus/image-menu.xml.in: include dialogs-menuitems.xml.
19050 * menus/menus.xsl: allow inclusion of menuitems using XInclude.
19052 2004-05-02 Michael Natterer <mitch@gimp.org>
19054 * app/actions/Makefile.am
19055 * app/actions/file-dialog-actions.[ch]: new files containing
19056 factored out code to set up the <Load> and <Save> actions.
19057 Use GimpPlugInActions instead of just GtkActions.
19059 * app/actions/file-dialog-commands.[ch]: new files containing
19060 file_dialog_type_cmd_callback() which is a
19061 GimpPlugInAction::selected() callback now.
19063 * app/actions/file-commands.[ch]: removed the callback here.
19065 * app/actions/file-open-actions.c
19066 * app/actions/file-save-actions.c: removed code duplication and
19067 use file_dialog_actions_setup() instead.
19069 2004-05-02 Michael Natterer <mitch@gimp.org>
19071 * app/actions/*-actions.c: added help IDs to all actions
19072 representing the toplevel popups and menus (as fallbacks for the
19073 still-to-be-written help system intrgration of GimpUIManager).
19075 * app/display/gimpdisplayshell.c (gimp_display_shell_new): removed
19076 call to gtk_ui_manager_ensure_update() because that's done by
19077 gimp_ui_manager_ui_get() now.
19079 * app/widgets/gimpmenufactory.[ch]: removed API to register and
19080 create item factories.
19082 * app/gui/menus.c: changed accordingly.
19084 * app/gui/dialogs.c
19085 * app/actions/plug-in-commands.c
19086 * app/gui/file-dialog-utils.c
19087 * app/gui/file-save-dialog.c
19088 * app/widgets/gimpdataeditor.c
19089 * app/widgets/gimpdockable.c
19090 * app/widgets/gimpdockbook.[ch]
19091 * app/widgets/gimpimagedock.c
19092 * app/widgets/gimpitemtreeview.c: removed leftover item factory
19095 * app/widgets/widgets-types.h: removed item factory typedefs...
19097 * app/widgets/gimpitemfactory.h: ...and added them here.
19099 * app/widgets/gimpactiongroup.[ch]: added new function
19100 gimp_action_group_add_plug_in_actions().
19102 * app/actions/plug-in-actions.c: use it here instead of adding
19103 the actions manually.
19105 * app/widgets/gimptoolbox.c: ported the code which dynamically
19106 updates the tool button tooltips on accelerator changes to
19107 GtkAction. Disabled the whole stuff because GTK+ lacks
19108 gtk_action_get_accel_closure().
19110 2004-05-02 Sven Neumann <sven@gimp.org>
19112 * menus/Makefile.am: added a rule to generate gtkuimanager XML
19113 files using an XSL transformation.
19115 * menus/menus.xsl: a simple XSLT to generate a menubar and a popup
19116 menu with identical content.
19118 * menus/image-menu.xml: removed this file from CVS ...
19120 * menus/image-menu.xml.in: ... and added this instead.
19122 * HACKING: xsltproc is now needed to build from CVS.
19124 2004-05-01 Sven Neumann <sven@gimp.org>
19126 * configure.in: check for xmllint and xsltproc but don't require
19129 * menus/Makefile.am
19130 * tips/Makefile.am: simplified "validate" targets.
19132 2004-04-30 Pedro Gimeno <pggimeno@wanadoo.es>
19134 * app/tools/gimprectselecttool.c: Cleanups.
19135 (gimp_rect_select_tool_coords_to_integer): Undo my bogus fix for
19136 bug #138103, which led to bug #140649.
19138 * app/pdb/procedural_db.c (procedural_db_init_procs): Add missing
19139 compat procs: gimp_channel_ops_duplicate, gimp_channel_ops_offset.
19141 2004-04-30 Sven Neumann <sven@gimp.org>
19143 * app/gui/tool-options-menu.c: added casts to please the compiler.
19145 2004-04-30 Michael Natterer <mitch@gimp.org>
19147 * app/widgets/gimpuimanager.[ch]: added signal "update" which
19148 is G_SIGNAL_RUN_LAST, so handlers can hook in before and after
19149 the default implementation. Update the action groups
19150 in the default implementations.
19152 (gimp_ui_manager_ui_get): make sure we always return a widget
19153 by calling gtk_ui_manager_ensure_update().
19155 * app/widgets/gimpdockable.c (gimp_dockable_show_menu): make
19156 sure the dockable menu is loaded before trying to access its
19159 Resurrected the dynamic tool options menus:
19161 * app/actions/tool-options-actions.c: dynamically destroy/create
19162 actions for the tool options' presets.
19164 * app/actions/tool-options-commands.[ch]: all callbacks are
19165 GimpEnumAction::selected() callbacks now.
19167 * app/gui/tool-options-menu.[ch]: connect and connect_after to
19168 GimpUIManager::update(). Remove the old preset menu items
19169 in the former callback, create the new ones in the latter.
19170 Removed the last item factory entries.
19173 * app/widgets/gimptooloptionseditor.c: changed accordingly.
19175 2004-04-29 Simon Budig <simon@gimp.org>
19177 * app/main.c: when glibc is used, call mallopt, so that memory
19178 chunks >= 4k (= 64*64 pixels, 1bpp - the smallest full tile)
19179 get allocated via mmap. This ensures that after closing an image
19180 the memory allocated for image data gets returned to the system.
19182 Thanks to Phil Blundell <pb@nexus.co.uk> for bringing mallopt
19185 Please watch closely for performance problems.
19187 2004-04-29 Michael Natterer <mitch@gimp.org>
19189 * app/actions/Makefile.am
19190 * app/actions/file-open-actions.[ch]
19191 * app/actions/file-save-actions.[ch]: actions for the <Load> and
19194 * menus/Makefile.am
19195 * menus/file-open-menu.xml
19196 * menus/file-save-menu.xml: ...and the menus.
19198 * app/gui/file-open-menu.[ch]
19199 * app/gui/file-save-menu.[ch]: ported to UI Manager.
19201 * app/widgets/gimpfiledialog.[ch]: ditto.
19203 * app/actions/actions.c
19205 * app/gui/file-open-dialog.c
19206 * app/gui/file-save-dialog.c: changed accordingly.
19208 * app/widgets/gimpuimanager.c: removed debugging code which
19209 automatically loaded all registered menus. They are now loaded on
19212 2004-04-29 Michael Natterer <mitch@gimp.org>
19214 * libgimpbase/gimputils.[ch] (gimp_escape_uline): new function
19215 which does the opposite of gimp_strip_uline().
19217 * app/actions/file-actions.c (file_actions_last_opened_update):
19218 escape ulines in filenames so they don't end up as mnemonics.
19219 Spotted by Pedro Gimeno.
19221 2004-04-29 Manish Singh <yosh@gimp.org>
19223 * plug-ins/pygimp/plug-ins/py-slice.py: Quick fix to make uppercase
19224 tags work properly.
19226 2004-04-29 Michael Natterer <mitch@gimp.org>
19228 * app/tools/gimp*tool.c (gimp_*_tool_register): stripped the menu
19229 paths from the "menu_path". Will be renamed to "action_name" or
19232 * plug-ins/dbbrowser/dbbrowser.c
19233 * plug-ins/common/plugindetails.c
19234 * plug-ins/common/uniteditor.c: register under the new
19235 "Extensions" placeholder.
19237 2004-04-29 Michael Natterer <mitch@gimp.org>
19239 Switch from GtkItemFactory to GtkUIManager. The migration is
19240 almost complete, still stuff missing/incomplete, definitely added
19241 a bunch of new bugs...
19243 * app/actions/*-commands.[ch]: converted all callback from
19244 GtkItemFactory callbacks to GtkAction callbacks.
19246 * app/actions/debug-actions.c
19247 * app/actions/gradient-editor-actions.c
19248 * app/actions/help-actions.c
19249 * app/actions/plug-in-actions.c
19250 * app/actions/qmask-actions.c
19251 * app/actions/tool-options-actions.c: various fixes.
19253 * app/display/gimpdisplay.[ch]
19254 * app/display/gimpdisplayshell-appearance.[ch]
19255 * app/display/gimpdisplayshell-callbacks.c
19256 * app/display/gimpdisplayshell.[ch]: move everything from
19257 GtkItemFactory to GtkUIManager.
19259 * app/gui/dialogs.[ch]: added new function dialogs_get_toolbox().
19260 Needed because the action callbacks don't have a widget parameter
19261 and sometimes we need a parent window for showing dialogs.
19263 * app/gui/Makefile.am
19264 * app/gui/brushes-menu.[ch]
19265 * app/gui/buffers-menu.[ch]
19266 * app/gui/channels-menu.[ch]
19267 * app/gui/colormap-editor-menu.[ch]
19268 * app/gui/dialogs-menu.[ch]
19269 * app/gui/documents-menu.[ch]
19270 * app/gui/error-console-menu.[ch]
19271 * app/gui/fonts-menu.[ch]
19272 * app/gui/gradient-editor-menu.[ch]
19273 * app/gui/gradients-menu.[ch]
19274 * app/gui/images-menu.[ch]
19275 * app/gui/layers-menu.[ch]
19276 * app/gui/palette-editor-menu.[ch]
19277 * app/gui/palettes-menu.[ch]
19278 * app/gui/patterns-menu.[ch]
19279 * app/gui/qmask-menu.[ch]
19280 * app/gui/templates-menu.[ch]
19281 * app/gui/vectors-menu.[ch]: removed these files.
19283 * app/gui/gui.c: create a global UI manager for the image popup
19284 menu and the toolbox menubar.
19286 * app/gui/menus.[ch]: removed all GtkItemFactory code.
19288 * app/gui/image-menu.[ch]
19289 * app/gui/toolbox-menu.[ch]: removed everything except the trivial
19292 * app/gui/file-open-menu.c
19293 * app/gui/file-save-menu.c
19294 * app/gui/tool-options-menu.c: don't use the macros from menus.h
19295 any more, they are gone.
19297 * app/gui/gui-vtable.c
19298 * app/gui/plug-in-menus.[ch]: create/destroy the dynamic plug-in
19301 * app/tools/gimpimagemaptool.c: s/gimp_item_factory_update/
19302 gimp_ui_manager_update/g
19304 * app/widgets/gimpuimanager.[ch]: added API to get an action
19307 * app/widgets/gimpmenufactory.c: don't choke on the item_factory
19308 entries being NULL.
19310 * app/widgets/gimpactiongroup.c: make sure booleans set using
19311 g_object_set() only have TRUE or FALSE values.
19313 * app/widgets/gimpcolormapeditor.c
19314 * app/widgets/gimpcomponenteditor.c
19315 * app/widgets/gimpcontainereditor.[ch]
19316 * app/widgets/gimpcontainergridview.c
19317 * app/widgets/gimpcontainertreeview.c
19318 * app/widgets/gimpdockable.[ch]
19319 * app/widgets/gimpdocked.[ch]
19320 * app/widgets/gimpeditor.[ch]
19321 * app/widgets/gimperrorconsole.c
19322 * app/widgets/gimpgradienteditor.c
19323 * app/widgets/gimpitemtreeview.c
19324 * app/widgets/gimppaletteeditor.c
19325 * app/widgets/gimptoolbox.c
19326 * app/widgets/gimptooloptionseditor.c: removed all GtkItemFactory
19327 code and enable the #if 0'ed UI manager stuff.
19329 * menus/gradient-editor-menu.xml: fixed typos.
19331 * menus/image-menu.xml: duplicate everything so we have both
19332 an image menubar and an image popup menu. Badly cries for an
19335 * menus/toolbox-menu.xml: added an "Extensions" placeholder.
19337 2004-04-27 Michael Natterer <mitch@gimp.org>
19339 * app/widgets/Makefile.am
19340 * app/widgets/widgets-types.h
19341 * app/widgets/gimppluginaction.[ch]: new GtkAction subclass which
19342 remembers the PlugInProcDef.
19344 * app/widgets/gimpactiongroup.[ch]: added "gpointer user_data" to
19345 the GimpActionGroup struct and to gimp_action_group_new(). Removed
19346 the user_data parameter from gimp_action_group_add_*_actions().
19348 * app/widgets/gimpactionfactory.[ch]: changed accordingly.
19350 * app/actions/*-actions.[ch]: removed user_data from all setup_funcs.
19352 * app/actions/plug-in-actions.c: use a GimpPlugInAction and
19353 finally use the right user_data for the callback so plug-in
19354 callbacks have a proper context.
19356 * app/gui/plug-in-menus.[ch]: renamed plug_in_menus_create2() to
19357 plug_in_menus_setup().
19359 * app/gui/image-menu.c
19360 * app/gui/toolbox-menu.c: changed accordingly.
19362 2004-04-27 Michael Natterer <mitch@gimp.org>
19364 * app/widgets/gimpactiongroup.[ch]: removed "translation-domain"
19365 property and simply use gettext(). Plug-In domains are handled
19366 by plug-in-actions.c
19368 The following change finally starts breaking the old menu system
19369 while the new one is not fully in place yet. Have fun:
19371 * menus/image-menu.xml: added several <placeholder>s for plug-ins
19372 to register their menu entries in the middle of already existing
19376 * plug-ins/common/mail.c
19377 * plug-ins/print/print.c
19378 * plug-ins/script-fu/scripts/copy-visible.scm: use the new
19379 placeholders to register menu entries.
19381 2004-04-27 Michael Natterer <mitch@gimp.org>
19383 Correctly translated & sorted plug-in actions & menu entries:
19385 * app/widgets/gimpuimanager.[ch]: added a "gchar *name" property
19386 and a hash table which keeps all created UI managers (similar to
19387 GimpActionGroup's hash table). Added function
19388 gimp_ui_managers_from_name() which returns a list of all managers
19389 with the given name.
19391 * app/widgets/gimpmenufactory.c: register a name per UI manager
19392 and pass the name to gimp_ui_manager_new().
19394 * app/actions/plug-in-actions.c: added code which correctly
19395 translates the created plug-in actions and also creates translated
19396 menu actions for the plug-in's menu_path elements.
19398 * app/gui/plug-in-menus.[ch]: sort the plug-ins' menu entries
19399 using a GTree. For each entry, recursivlely create submenus
19400 from the dynamic menu actions created above before creating
19401 the plug-in's menu entry itself.
19403 * app/gui/image-menu.c (image_menu_setup2)
19404 * app/gui/toolbox-menu.c (toolbox_menu_setup2): call
19405 plug_in_menus_create2().
19407 * app/gui/gui-vtable.c (gui_menus_create_entry)
19408 (gui_menus_delete_entry): added some uglyness which maps old <Prefix>
19409 menu identifiers to new-style UI manager plus ui_path tuples and
19410 call plug_in_menus_add,remove_proc() accordingly.
19412 * menus/image-menu.xml
19413 * menus/toolbox-menu.xml: added name="Foo" attributes to all menus
19414 so plug-in entries find their place.
19416 2004-04-27 Michael Natterer <mitch@gimp.org>
19418 * app/gui/gui.c (gui_restore_callback): call actions_init()
19419 (gui_exit_after_callback): call actions_exit().
19421 * app/gui/menus.c (menus_init)
19422 (menu_exit): don't call them here.
19424 2004-04-26 Michael Natterer <mitch@gimp.org>
19426 * app/widgets/widgets-types.h: added GimpUIManagerSetupFunc typedef.
19428 * app/widgets/gimpuimanager.[ch]: added the setup_func to the
19429 GimpUIManagerUIEntry struct and to gimp_ui_manager_ui_register().
19430 Call the setup_func after creating the UI. Replaced the term
19431 "identifier" by "ui_path".
19433 * app/widgets/gimpmenufactory.c: ditto.
19435 * app/gui/menus.c (menus_init): register the new setup_funcs below.
19437 * app/gui/menus.[ch] (menus_open_recent_add)
19438 * app/gui/image-menu.[ch] (image_menu_setup2)
19439 * app/gui/toolbox-menu.[ch] (toolbox_menu_setup2): new setup_funcs
19440 which add the "Open Recent" menu items.
19442 * app/actions/file-actions.c: removed "file-open-recent-empty"
19443 action because it's not needed.
19445 * menus/image-menu.xml
19446 * menus/toolbox-menu.xml: removed "file-open-recent-empty" menu
19447 items and added <placeholder>s for the "Open Recent" menu items.
19449 2004-04-26 Michael Natterer <mitch@gimp.org>
19451 * app/core/gimp.[ch]: removed "locale_domain" and "help_domain"
19452 parameters from GimpMenusCreateFunc.
19454 * app/plug-in/plug-ins.c (plug_ins_temp_proc_def_add)
19455 * app/actions/plug-in-actions.[ch] (plug_in_actions_add_proc_def):
19456 changed accordingly.
19458 * app/widgets/gimpactiongroup.[ch]: remember all created action
19459 groups is a hash table in GimpActionGroupClass. Added
19460 gimp_action_groups_from_name() which returns a GList of all groups
19461 with the given name.
19463 * app/actions/plug-in-actions.[ch] (plug_in_actions_setup):
19464 removed the tree sorting code. Actions don't need to be ordered
19467 (plug_in_actions_update): copied & ported plug_in_menus_update().
19469 * app/gui/gui-vtable.c (gui_menus_create,delete_entry):
19470 dynamically add/remove plug-in actions in all "plug-in" action
19473 2004-04-25 Michael Natterer <mitch@gimp.org>
19475 * app/core/gimp.[ch]: changed GimpMenusDeleteFunc to take
19476 a PlugInProcDef* instead of a const gchar*.
19478 * app/plug-in/plug-ins.c
19479 * app/gui/gui-vtable.c
19480 * app/gui/plug-in-menus.[ch]: changed accordingly.
19482 2004-04-25 Sven Neumann <sven@gimp.org>
19484 * plug-ins/common/AlienMap2.c: some UI improvements based on a
19485 patch by William Skaggs (bug #140079).
19487 2004-04-22 Sven Neumann <sven@gimp.org>
19489 * app/gui/dialogs-constructors.c
19490 * app/gui/preferences-dialog.c: silent the compiler.
19492 * plug-ins/winicon/icodialog.c: simplified by using a
19495 2004-04-22 Michael Natterer <mitch@gimp.org>
19497 * app/widgets/gimpuimanager.[ch]: remember and ref the created
19498 widgets. Added gimp_ui_manager_ui_popup() which pops up a GtkMenu
19499 with a custom GimpMenuPositionFunc and a GtkDestroyNotify which is
19502 * app/widgets/gimpmenufactory.c (gimp_menu_factory_finalize):
19503 don't forget to free the list of managed UIs.
19505 * app/widgets/gimpdockable.[ch]
19506 * app/widgets/gimpdockbook.[ch]
19507 * app/widgets/gimpdocked.[ch]
19508 * app/widgets/gimpeditor.[ch]: added GimpUIManager stuff parallel
19509 to the to-be-removed GtkItemFactory stuff.
19511 * app/widgets/gimpcolormapeditor.c
19512 * app/widgets/gimpcomponenteditor.c
19513 * app/widgets/gimpcontainereditor.c
19514 * app/widgets/gimpcontainergridview.c
19515 * app/widgets/gimpcontainertreeview.c
19516 * app/widgets/gimperrorconsole.c
19517 * app/widgets/gimpgradienteditor.c
19518 * app/widgets/gimpitemtreeview.c
19519 * app/widgets/gimppaletteeditor.c
19520 * app/widgets/gimptooloptionseditor.c: changed accordingly and added
19521 #if 0'ed code which actually uses all the UI managers.
19523 * app/display/gimpdisplay.c
19524 * app/display/gimpdisplayshell.c
19525 * app/gui/gui-vtable.c: disabled some gimp_ui_manager_update()
19526 calls because they were invoking toggle and radio callbacks
19527 which still have the wrong signature.
19529 2004-04-22 Sven Neumann <sven@gimp.org>
19531 * plug-ins/gflare/gflare.c: ported the last plug-in from
19532 GtkOptionMenu to GimpIntComboBox.
19534 * plug-ins/common/newsprint.c: changed a comment that was still
19535 talking about option menus.
19537 2004-04-22 Michael Natterer <mitch@gimp.org>
19539 * app/gui/menus.c (menus_init): fixed some typos in the UI Manager
19542 2004-04-22 Michael Natterer <mitch@gimp.org>
19544 * app/widgets/gimpactiongroup.[ch]: implemented
19545 gimp_action_group_set_action_color() and
19546 gimp_action_group_set_action_viewable().
19548 * app/actions/*-actions.c: added stock IDs to all actions which
19549 represent toplevel popup menus. Fixed typos.
19551 * menus/brushes-menu.xml
19552 * menus/colormap-editor-menu.xml
19553 * menus/dockable-menu.xml
19554 * menus/gradients-menu.xml
19555 * menus/patterns-menu.xml
19556 * menus/toolbox-menu.xml: fixed typos.
19558 2004-04-22 Sven Neumann <sven@gimp.org>
19560 * plug-ins/rcm/rcm_callback.[ch]
19561 * plug-ins/rcm/rcm_dialog.c: ported from GtkOptionMenu to
19564 2004-04-22 Sven Neumann <sven@gimp.org>
19566 * libgimpwidgets/gimpintstore.[ch]: automatically add an "(Empty)"
19567 item if the store is empty and remove it as soon as other items
19570 * libgimp/gimpdrawablecombobox.c
19571 * libgimp/gimpimagecombobox.c: removed handling of the empty list;
19572 the store does this for us now.
19574 2004-04-22 Sven Neumann <sven@gimp.org>
19576 * libgimpwidgets/gimpintcombobox.c (gimp_int_combo_box_new):
19577 removed the check for first_label != NULL. Passing a NULL label
19578 makes a perfect empty combo_box.
19580 * plug-ins/common/newsprint.c
19581 * plug-ins/common/spheredesigner.c: ported from GtkOptioMenu to
19584 2004-04-22 Sven Neumann <sven@gimp.org>
19586 * plug-ins/flame/flame.c
19587 * plug-ins/gimpressionist/brush.c: ported the last two users of
19588 gimpmenu.h to GimpDrawableComboBox.
19590 * libgimp/gimpmenu.[ch]: declared the functions found here as
19593 * plug-ins/common/plugindetails.c
19594 * plug-ins/ifscompose/ifscompose.c: silent the compiler.
19596 2004-04-21 Sven Neumann <sven@gimp.org>
19598 * libgimp/gimpdrawablecombobox.c
19599 * libgimp/gimpimagecombobox.c
19600 * libgimp/gimpmenu.c: changed the label for the empty menu from
19601 "None" to "Empty" since that's what GTK+ uses.
19603 * libgimpwidgets/gimpintcombobox.[ch]: added convenience function
19604 gimp_int_combo_box_connect().
19606 * plug-ins/common/bumpmap.c
19607 * plug-ins/common/compose.c
19608 * plug-ins/common/depthmerge.c
19609 * plug-ins/common/displace.c
19610 * plug-ins/common/lic.c
19611 * plug-ins/common/warp.c: ported to GimpDrawableComboBox.
19613 * plug-ins/Lighting/lighting_ui.c
19614 * plug-ins/MapObject/mapobject_ui.c
19615 * plug-ins/common/sample_colorize.c: use
19616 gimp_int_combo_box_connect(). This restores the correct behaviour
19617 of setting the drawable_ID to the first drawable from the list if
19620 2004-04-21 Michael Natterer <mitch@gimp.org>
19622 * app/widgets/Makefile.am
19623 * app/widgets/widgets-types.h
19624 * app/widgets/gimpuimanager.[ch]: new GtkUIManager subclass. Adds
19625 API to update all action groups and knows which UIs it can create
19626 from which XML files.
19628 * app/widgets/gimpmenufactory.[ch]: register the XML file
19629 basenames along with path of their toplevel menus. Create
19630 GimpUIManagers instead of GtkUIManagers and register the
19631 XML files and menu paths with them.
19633 * app/gui/menus.c: register all XML files and their toplevel
19636 * app/widgets/gimpeditor.[ch]: also create a GimpUIManager when
19637 creating the GtkItemFactory. Added "const gchar *ui_identifier"
19638 parameter to gimp_editor_create_menu().
19640 * app/widgets/gimpcontainereditor.[ch]
19641 * app/widgets/gimpdataeditor.[ch]
19642 * app/widgets/gimpdatafactoryview.[ch]
19643 * app/widgets/gimpitemtreeview.[ch]: added "ui_identifier"
19644 parameters to all constructors.
19646 * app/widgets/gimpbrusheditor.c
19647 * app/widgets/gimpbrushfactoryview.c
19648 * app/widgets/gimpbufferview.c
19649 * app/widgets/gimpcolormapeditor.c
19650 * app/widgets/gimpcomponenteditor.c
19651 * app/widgets/gimpcontainerpopup.c
19652 * app/widgets/gimpdocumentview.c
19653 * app/widgets/gimperrorconsole.c
19654 * app/widgets/gimpfontview.c
19655 * app/widgets/gimpgradienteditor.c
19656 * app/widgets/gimpimageview.c
19657 * app/widgets/gimppaletteeditor.c
19658 * app/widgets/gimppatternfactoryview.c
19659 * app/widgets/gimptemplateview.c
19660 * app/widgets/gimptooloptionseditor.c
19661 * app/gui/dialogs-constructors.c
19662 * app/gui/gradient-select.c
19663 * app/gui/palette-select.c
19664 * app/gui/pattern-select.c: pass UI identifiers to the changed
19667 * app/display/gimpdisplayshell.[ch]: added a GimpUIManager for
19668 the menubar (menubar creating code still commented out).
19670 * app/display/gimpdisplay.c
19671 * app/gui/gui-vtable.c: update the ui manager.
19673 2004-04-21 Michael Natterer <mitch@gimp.org>
19675 * app/actions/actions.c: forgot to register the "patterns" actions.
19677 * app/actions/*-actions.c: added actions representing the toplevel
19678 menus (popups and menubars). Fixed some typos.
19680 * menus/*-menu.xml: added action="foo" attributes to all toplevel
19681 menus. Fixed typos here too.
19683 * menus/gtkuimanager.dtd: fixed possible attributes.
19685 2004-04-21 Sven Neumann <sven@gimp.org>
19687 * libgimp/gimpmenu.c (gimp_menu_add_none): use the same label as
19688 in the new combo_box widgets.
19690 * libgimpwidgets/gimpintcombobox.[ch]
19691 * libgimpwidgets/gimpintstore.[ch]: use LibGIMP copyright headers.
19693 2004-04-21 Sven Neumann <sven@gimp.org>
19695 * libgimp/gimpdrawablecombobox.c
19696 * libgimp/gimpimagecombobox.c
19697 * libgimp/gimppixbuf.c
19698 * libgimpwidgets/gimpintcombobox.c
19699 * libgimpwidgets/gimpintstore.c: API documentation.
19701 2004-04-21 Sven Neumann <sven@gimp.org>
19703 * libgimpwidgets/gimpintcombobox.[ch]: added new functions
19704 gimp_int_combo_box_[prepend|append].
19706 * plug-ins/common/sample_colorize.c: ported to GimpDrawableComboBox.
19708 2004-04-21 Michael Natterer <mitch@gimp.org>
19710 * app/actions/qmask-actions.c
19711 * app/actions/qmask-commands.c: prepared qmask_actions_update()
19712 and the qmask callbacks to be merged into the image ui manager.
19714 * app/actions/dialogs-actions.c
19715 * app/actions/edit-actions.c
19716 * app/actions/file-actions.c
19717 * app/actions/image-actions.c
19718 * app/actions/layers-actions.c
19719 * app/actions/plug-in-actions.c
19720 * app/actions/tools-actions.c
19721 * app/actions/view-actions.c: fixed lots of typos and buglets
19722 spotted in my first test run.
19724 * app/gui/menus.c: register the needed action groups with the
19727 * app/tools/gimp-tools.c
19728 * app/tools/gimpdodgeburntool.[ch]
19729 * app/tools/gimppaintoptions-gui.c: s/dodgeburn/dodge_burn/g.
19731 * app/widgets/gimpactionfactory.c
19732 * app/widgets/gimpmenufactory.[ch]: s/G_GNUC_FUNCTION/G_STRFUNC/g,
19733 updated copyright header.
19735 * menus/image-menu.xml: fixed typos and added the "Filters"
19738 2004-04-21 Michael Natterer <mitch@gimp.org>
19740 More unused action stuff:
19742 * app/widgets/Makefile.am
19743 * app/widgets/widgets-types.h
19744 * app/widgets/gimpactionfactory.[ch]: added a simple factory which
19745 produces GimpActionGroups.
19747 * app/widgets/gimpactiongroup.[ch]: added an "update_func" member
19748 to the GimpActionGroup struct. Added it as parameter to
19749 gimp_action_group_new(). Added function gimp_action_group_update().
19751 * app/widgets/gimpmenufactory.[ch]: added an "action_factory"
19752 member and constructor parameter. Added code to create
19753 GtkUIManagers from registered action group identifiers.
19755 * app/actions/Makefile.am
19756 * app/actions/actions.[ch]: new files: create a
19757 "global_action_factory" and register all action groups with it.
19759 * app/actions/edit-actions.c: s/edit_action_update/edit_actions_update/
19761 * app/actions/plug-in-actions.[ch]: added API to add/remove
19762 plug-in procedure actions dynamically (unfinished).
19764 * app/gui/menus.c (menus_init): call actions_init().
19765 (menus_exit): call actions_exit().
19767 2004-04-21 Sven Neumann <sven@gimp.org>
19769 * plug-ins/Lighting/lighting_ui.c
19770 * plug-ins/MapObject/mapobject_ui.c: ported to the new API.
19772 2004-04-21 Sven Neumann <sven@gimp.org>
19774 * libgimp/Makefile.am
19776 * libgimp/gimppixbuf.[ch]: new file that holds pixbuf accessors
19777 to gimp data (drawable and image thumbnails for now).
19779 * libgimp/gimpdrawablecombobox.[ch]
19780 * libgimp/gimpimagecombobox.[ch]: new files with GimpIntComboBox
19781 constructors for image, drawable, channel and layer menus.
19783 * plug-ins/script-fu/script-fu-scripts.c: use the new functions
19784 instead of the gimpmenu API that is about to be deprecated.
19786 2004-04-20 Sven Neumann <sven@gimp.org>
19788 * tools/pdbgen/pdb/fileops.pdb (file_load_thumbnail): removed
19789 color cast. Merged from stable branch.
19791 * app/pdb/fileops_cmds.c: regenerated.
19793 2004-04-20 Sven Neumann <sven@gimp.org>
19795 * libgimpwidgets/Makefile.am
19796 * libgimpwidgets/gimpwidgets.h
19797 * libgimpwidgets/gimpwidgetstypes.h
19798 * libgimpwidgets/gimpintstore.[ch]: added a GimpIntStore, derived
19799 from GtkListStore, to be used by GimpIntComboBox and also by the
19800 image and drawable menus.
19802 * libgimpwidgets/gimpintcombobox.c: use the new GimpIntStore.
19804 * app/widgets/gimpenumstore.[ch]: derive from GimpIntStore,
19805 removed API that is provided by the parent class.
19807 * app/widgets/gimpenumcombobox.[ch]: derive from GimpIntComboBox,
19808 removed API that is provided by the parent class.
19810 * app/gui/resize-dialog.c
19811 * app/tools/gimpcurvestool.c
19812 * app/tools/gimplevelstool.c
19813 * app/widgets/gimpcolorframe.c
19814 * app/widgets/gimphistogrameditor.c
19815 * app/widgets/gimppropwidgets.c
19816 * app/widgets/gimpstrokeeditor.c: changed accordingly.
19818 2004-04-20 Sven Neumann <sven@gimp.org>
19820 * app/widgets/gimpenumstore.[ch]
19821 * app/widgets/gimpenumcombobox.c: let the pixbuf renderer take care
19822 of rendering the pixbuf from the stock_id.
19824 2004-04-20 Sven Neumann <sven@gimp.org>
19826 * libgimpwidgets/gimpmemsizeentry.c
19827 * modules/cdisplay_colorblind.c
19828 * modules/cdisplay_proof.c: ported to GimpIntComboBox.
19830 * libgimpwidgets/gimpwidgets.[ch]: declared the gimp option_menu
19831 API as deprecated and removed the code here.
19833 * libgimpwidgets/Makefile.am
19834 * libgimpwidgets/gimpoldwidgets.[ch]: new files with deprecated
19835 code, guarded with #ifndef GIMP_DISABLE_DEPRECATED ... #endif.
19837 * libgimpwidgets/gimpintcombobox.h: added G_BEGIN_DECLS, G_END_DECLS.
19839 * configure.in (CPP_FLAGS): added -DGIMP_DISABLE_DEPRECATED.
19841 * app/widgets/gimpwidgets-constructors.c: added a #warning and
19842 #undef GIMP_DISABLE_DEPRECATED. The paint mode menu is the last
19843 remaining user of gimp_int_option_menu_new().
19845 2004-04-20 Michael Natterer <mitch@gimp.org>
19847 * app/gui/convert-dialog.[ch]: renamed convert_to_indexed()
19848 to convert_dialog_new() and return the dialog. Removed
19849 convert_to_rgb() and convert_to_grayscale().
19851 * app/gui/offset-dialog.[ch]: renamed offset_dialog_create()
19852 to offset_dialog_new() and return the dialog.
19855 * app/actions/drawable-commands.c
19856 * app/actions/image-commands.c: changed accordingly.
19858 2004-04-20 Michael Natterer <mitch@gimp.org>
19860 * app/gui/*-commands.[ch]: removed...
19862 * app/actions/*-commands.[ch]: ...and added here.
19864 * app/gui/Makefile.am
19866 * app/gui/dialogs-constructors.c
19869 * app/actions/Makefile.am
19870 * app/actions/*-actions.c: changed accordingly.
19872 * app/actions/plug-in-actions.[ch]
19873 * app/actions/tools-actions.[ch]: new files.
19875 * app/Makefile.am: had to add more -u evilness because gui/
19876 and actions/ have cyclic dependencies.
19878 * menus/image-menu.xml: added some more items.
19880 2004-04-20 Sven Neumann <sven@gimp.org>
19882 * app/widgets/gimpwidgets-constructors.[ch]: added new function
19883 gimp_paint_mode_menu_set_history().
19885 * app/gui/brush-select.c
19886 * app/widgets/gimplayertreeview.c
19887 * app/widgets/gimppropwidgets.c: use the new function instead of
19888 the deprecated gimp_int_option_menu API.
19890 2004-04-20 Sven Neumann <sven@gimp.org>
19892 * plug-ins/common/align_layers.c
19893 * plug-ins/common/borderaverage.c
19894 * plug-ins/common/channel_mixer.c
19895 * plug-ins/common/gif.c
19896 * plug-ins/common/mng.c
19897 * plug-ins/flame/flame.c
19898 * plug-ins/gfig/gfig.c: ported remaining plug-ins to GimpIntComboBox.
19900 2004-04-20 Sven Neumann <sven@gimp.org>
19902 * plug-ins/common/iwarp.c (iwarp_get_pixel): check tile != NULL
19903 before unrefing it. Fixes bug #140554; merged from stable branch.
19905 2004-04-20 Sven Neumann <sven@gimp.org>
19907 * app/widgets/gimpenumcombobox.c: added more sanity checks.
19909 * libgimpwidgets/gimpintcombobox.[ch]: added another GimpIntComboBox
19910 constructor: gimp_int_combo_box_new_array().
19912 * plug-ins/Lighting/lighting_ui.c
19913 * plug-ins/MapObject/mapobject_ui.c
19914 * plug-ins/common/CML_explorer.c: ported to GimpIntComboBox.
19916 2004-04-20 Sven Neumann <sven@gimp.org>
19918 * libgimpwidgets/Makefile.am
19919 * libgimpwidgets/gimpwidgets.h
19920 * libgimpwidgets/gimpwidgetstypes.h
19921 * libgimpwidgets/gimpintcombobox.[ch]: added new widget
19922 GimpIntComboBox, a GtkComboBox with a simple list store to hold a
19923 label and an associated integer value. This is going to replace
19924 gimp_int_option_menu.
19926 * plug-ins/common/jpeg.c
19927 * plug-ins/print/gimp_main_window.c: ported these two plug-ins to
19928 the newly added widget.
19930 2004-04-20 Sven Neumann <sven@gimp.org>
19932 * plug-ins/gfig/gfig.c: removed unused return locations for menu
19935 2004-04-19 Sven Neumann <sven@gimp.org>
19937 * configure.in: set gimp_plugin_version, gimp_sysconf_version and
19938 gimp_data_version to 2.1 so that the development version is
19939 clearly separated from stable gimp 2.0.
19941 2004-04-19 Michael Natterer <mitch@gimp.org>
19943 * menus/Makefile.am
19944 * menus/image-menu.xml
19945 * menus/tool-options-menu.xml: more menus.
19947 2004-04-19 Sven Neumann <sven@gimp.org>
19949 * app/widgets/gimpactiongroup.c
19950 * app/widgets/gimpenumcombobox.c
19951 * app/widgets/gimpenumstore.c: fixed inline docs.
19953 * app/widgets/gimpenumaction.c: fixed property declaration.
19955 2004-04-19 Michael Natterer <mitch@gimp.org>
19957 * app/gui/colormap-editor-commands.[ch]
19958 * app/gui/debug-commands.[ch]
19959 * app/gui/dockable-commands.[ch]
19960 * app/gui/error-console-commands.[ch]
19961 * app/gui/file-commands.[ch]
19962 * app/gui/gradient-editor-commands.[ch]
19963 * app/gui/help-commands.[ch]
19964 * app/gui/qmask-commands.[ch]
19965 * app/gui/tool-options-commands.[ch]: removed "guint action"
19966 parameter from all callbacks which don't need it.
19968 2004-04-19 Sven Neumann <sven@gimp.org>
19970 * menus/Makefile.am
19971 * menus/gtkuimanager.dtd: added a DTD (basically copied from the
19972 GTK+ API docs). Added a "validate" rule that allows to easily
19973 validate the XML files.
19975 * menus/*.xml: added a DOCTYPE declaration that refers to the
19978 * app/widgets/gimpenumstore.[ch]:
19979 * app/widgets/gimpenumcombobox.c: documented the new API.
19981 2004-04-19 Michael Natterer <mitch@gimp.org>
19983 * app/actions/Makefile.am
19984 * app/actions/actions-types.h: oops, forgot to commit this one.
19986 2004-04-19 Michael Natterer <mitch@gimp.org>
19988 * menus/Makefile.am
19989 * menus/toolbox-menu.xml: added the toolbox menu.
19991 2004-04-19 Michael Natterer <mitch@gimp.org>
19993 More GtkAction stuff (still unused):
19995 * configure.in: added new directories menus/ and app/actions/
19997 * Makefile.am: build menus/
20000 * menus/Makefile.am
20001 * menus/*-menu.xml: new files: XML menu descriptions for each menu
20002 which is now defined in gui/*-menu.c.
20004 * app/widgets/widgets-types.h: some typedefs for GimpActionGroup.
20006 * app/widgets/gimpactiongroup.[ch]: added a "Gimp" construct-only
20007 property. Added APIs to set actions visible/sensitive/active
20008 and an unimplemented stub for setting the action's color.
20010 * app/Makefile.am: build actions/ and link libappactions.a
20012 * app/actions/.cvsignore
20013 * app/actions/Makefile.am
20014 * app/actions/*-actions.[ch]: new files: GtkActions for each
20015 *-commands.c file in gui/. Ported all "update" functions from the
20017 (everything completely unused, untested and partly #if 0'ed)
20019 * app/core/gimpimage.[ch]: for reasons of (action-) symmetry, added
20020 API to raise/lower channels/vectors to top/bottom.
20022 * app/gui/channels-commands.[ch]
20023 * app/gui/vectors-commands.[ch]: added callbacks for the new
20024 to top/bottom functions.
20026 * app/gui/Makefile.am
20027 * app/gui/dockable-commands.[ch]: new files split out of
20028 dialogs-commands.[ch].
20030 * app/gui/dialogs-commands.[ch]
20031 * app/gui/dialogs-menu.c: changed accordingly.
20033 * app/gui/edit-commands.[ch]: added edit_paste_into_cmd_callback()
20034 and remove usage of "guint action".
20036 * app/gui/image-menu.c: changed accordingly.
20038 * app/gui/palette-editor-commands.[ch]: split
20039 +palette_editor_new_color_cmd_callback() into separate callbacks
20040 for adding from FG and BG.
20042 * app/gui/palette-editor-menu.c: changed accordingly.
20044 2004-04-19 Henrik Brix Andersen <brix@gimp.org>
20046 * plug-ins/script-fu/scripts/gimp-headers.scm
20047 * plug-ins/script-fu/scripts/gimp-labels.scm: applied a patch from
20048 William Skaggs which changes the sub menu title for the gimp web
20049 theme to classic.gimp.org. Fixes bug #137036.
20051 2004-04-19 Sven Neumann <sven@gimp.org>
20053 * app/widgets/gimpdrawabletreeview.c: removed unused includes.
20055 2004-04-19 Sven Neumann <sven@gimp.org>
20057 * app/widgets/gimppropwidgets.[ch]
20058 * app/gui/preferences-dialog.c: replaced
20059 gimp_prop_boolean_option_menu_new() with
20060 gimp_prop_boolean_combo_box_new().
20062 2004-04-19 Sven Neumann <sven@gimp.org>
20064 * app/widgets/gimpenumstore.[ch]: avoid unnecessary casts.
20066 * app/widgets/gimpenumcombobox.[ch]: added an API that inserts a
20067 GtkTreeModelFilter to make items invisible. This is a kludge to
20068 workaround bug #135875.
20070 * app/tools/gimpcurvestool.c
20071 * app/tools/gimplevelstool.c
20072 * app/widgets/gimphistogrameditor.c: use the new function to hide
20073 channels that are not available.
20075 2004-04-18 Henrik Brix Andersen <brix@gimp.org>
20077 * app/widgets/gimptemplateeditor.c
20078 (gimp_template_editor_constructor): use g_signal_connect_object()
20079 instead of g_signal_connect(). Fixes bug #140315.
20081 2004-04-18 Pedro Gimeno <pggimeno@wanadoo.es>
20083 * plug-ins/common/gauss_rle.c (gauss_rle): Oops, fixed my fix.
20085 2004-04-18 Pedro Gimeno <pggimeno@wanadoo.es>
20087 * plug-ins/common/gauss_iir.c: Change tabs to spaces all over the
20088 file, in preparation for other changes. Minor cleanup.
20090 * plug-ins/common/gauss_rle.c (gauss_rle): Plug a leak with the
20091 returned value from make_curve().
20093 * plug-ins/common/tga.c (load_image): Fix a condition which was
20094 preventing GRAYA images from loading.
20096 2004-04-18 Sven Neumann <sven@gimp.org>
20098 * app/widgets/Makefile.am
20099 * app/widgets/widgets-types.h
20100 * app/widgets/gimpenummenu.[ch]: removed GimpEnumMenu.
20102 * app/widgets/gimpenumwidgets.[ch]: moved widget constructors that
20103 don't use GimpEnumMenu from gimpenummenu.[ch] to these new files.
20105 * app/widgets/gimpenumcombobox.[ch]: added a GtkComboBox widget
20106 using GimpEnumStore; replaces GimpEnumMenu.
20108 * app/widgets/gimpenumstore.[ch]: added new function
20109 gimp_enum_store_lookup_by_value().
20111 * app/widgets/gimppropwidgets.[ch]: replaced
20112 gimp_prop_enum_option_menu_new() with gimp_prop_enum_combo_box_new().
20114 * app/gui/brush-select.[ch]
20115 * app/gui/convert-dialog.c
20116 * app/gui/layers-commands.c
20117 * app/gui/preferences-dialog.c
20118 * app/gui/resize-dialog.c
20119 * app/tools/gimpblendoptions.c
20120 * app/tools/gimpcolorbalancetool.c
20121 * app/tools/gimpcroptool.c
20122 * app/tools/gimpcurvestool.c
20123 * app/tools/gimplevelstool.c
20124 * app/tools/gimpmagnifytool.c
20125 * app/tools/gimppaintoptions-gui.c
20126 * app/tools/gimpselectionoptions.c
20127 * app/tools/gimptransformoptions.c
20128 * app/widgets/gimpcolorframe.c
20129 * app/widgets/gimpeditor.c
20130 * app/widgets/gimpgrideditor.c
20131 * app/widgets/gimphistogrameditor.c
20132 * app/widgets/gimpstrokeeditor.c
20133 * app/widgets/gimptemplateeditor.c
20134 * app/widgets/gimptexteditor.c: ported to GimpEnumComboBox.
20136 2004-04-18 Sven Neumann <sven@gimp.org>
20138 * app/widgets/Makefile.am
20139 * app/widgets/widgets-types.h
20140 * app/widgets/gimpenumstore.[ch]: added (yet unused) GimpEnumStore,
20141 a GtkListStore for enum values.
20143 2004-04-18 Sven Neumann <sven@gimp.org>
20145 * plug-ins/print/gimp_main_window.c: replaced wrong use of
20146 gimp_option_menu with gimp_int_option_menu.
20148 2004-04-18 Sven Neumann <sven@gimp.org>
20150 * plug-ins/script-fu/script-fu-scripts.c: use a GtkComboBox for
20153 2004-04-18 Sven Neumann <sven@gimp.org>
20155 * plug-ins/winicon/icodialog.c
20156 * plug-ins/winicon/icosave.c: ported GtkOptionMenu to GtkComboBox.
20158 2004-04-17 Sven Neumann <sven@gimp.org>
20160 * app/widgets/gimpwidgets-constructors.[ch]:
20161 s/GtkSignalFunc/GCallback/
20163 2004-04-17 Henrik Brix Andersen <brix@gimp.org>
20165 * app/tools/gimphuesaturationtool.c
20166 (gimp_hue_saturation_tool_dialog): resolved conflicting
20167 mnemonic. Fixes bug #139868.
20169 2004-04-17 Henrik Brix Andersen <brix@gimp.org>
20171 * plug-ins/common/jpeg.c (save_dialog): live preview doesn't
20172 modify the undo history of the image anymore, label changed
20173 accordingly. Fixes bug #140296.
20175 2004-04-16 Pedro Gimeno <pggimeno@wanadoo.es>
20177 * plug-ins/common/tile.c (tile): changed a call to
20178 gimp_image_undo_enable to _undo_disable which was obviously the
20179 intention of the author. Added a call to gimp_drawable_update to
20180 get the previews refreshed.
20182 2004-04-16 Sven Neumann <sven@gimp.org>
20184 * app/tools/gimpcolorpickertool.c
20185 * app/tools/gimpmeasuretool.c: don't use gtk_window_present() to
20186 raise the tool dialog since it also moves the focus away from the
20187 image window. Fixes the problem described in bug #139349.
20189 2004-04-16 Sven Neumann <sven@gimp.org>
20191 * app/tools/gimpcroptool.c: some code cleanup that I forgot to do
20192 when applying the patch.
20194 2004-04-16 Sven Neumann <sven@gimp.org>
20196 * plug-ins/helpbrowser/dialog.c (browser_dialog_load): present the
20197 help browser window.
20199 2004-04-16 Sven Neumann <sven@gimp.org>
20201 * plug-ins/helpbrowser/dialog.c: use a GtkComboBox instead of
20202 GtkCombo and keep the history in a GtkListStore.
20204 2004-04-16 Michael Natterer <mitch@gimp.org>
20206 * app/core/gimpmarshal.list: new marshaller VOID:STRING
20208 * app/widgets/Makefile.am
20209 * app/widgets/widgets-types.h
20210 * app/widgets/gimpactiongroup.[ch]
20211 * app/widgets/gimpenumaction.[ch]
20212 * app/widgets/gimpstringaction.[ch]: added some completely unused
20213 GtkAction infrastructure.
20215 2004-04-15 Manish Singh <yosh@gimp.org>
20217 * tools/Makefile.am
20219 * configure.in: app, tools, and user dir bumped to version 2.1 names.
20221 * app/text/gimpfontlist.c: since we now depend on pango 1.4, we can
20222 use pango_fc_font_description_from_pattern() instead of our
20223 cut-n-paste function, gimp_font_list_font_desc_from_pattern().
20225 2004-04-15 Tor Lillqvist <tml@iki.fi>
20227 * app/plug-in/plug-in-message.c (plug_in_handle_proc_install)
20228 * app/plug-in/plug-in-proc.h (struct _PlugInProcDef)
20229 * app/plug-in/plug-in-rc.c (plug_in_rc_write)
20230 * app/plug-in/plug-ins.c (plug_ins_init): Make PDB procedures
20231 (including their menu entries) installed during a plug-ins init()
20232 phase show up. Add a flag to PlugInProcDef that tells whether the
20233 proc was installed during the init() phase. Such procs aren't
20234 saved to the pluginrc. Move the code that initializes plug-ins
20235 that need initialization earlier, before the procs are added to
20236 the PDB and menus are built. Fixes bug #139969.
20238 2004-04-16 Sven Neumann <sven@gimp.org>
20240 * plug-ins/common/Makefile.am
20241 * plug-ins/common/plugin-defs.pl
20242 * plug-ins/common/AlienMap.c: removed the AlienMap plug-in since
20243 AlienMap2 duplicates its functionality.
20245 * plug-ins/common/AlienMap2.c: applied patch from William Skaggs
20246 with a couple of user interface improvements (bug #140079).
20248 2004-04-15 Tor Lillqvist <tml@iki.fi>
20250 * libgimpthumb/Makefile.am: For Win32, install gimpthumb.def, like
20251 the .def files of the other libgimp* libs.
20253 * app/Makefile.am (INCLUDES): Add PANGOFT2_CFLAGS.
20255 * gimp-zip.in: Put also libgimpthumb in the developer package.
20257 2004-04-15 Sven Neumann <sven@gimp.org>
20259 * plug-ins/winicon/icodialog.c: fixed gtk+ includes, added a
20260 warning that deprecated widgets are being used.
20262 2004-04-15 Sven Neumann <sven@gimp.org>
20265 * plug-ins/Makefile.am
20266 * plug-ins/winicon/Makefile.am
20267 * plug-ins/winicon/icodialog.[ch]
20268 * plug-ins/winicon/icoload.[ch]
20269 * plug-ins/winicon/icosave.[ch]
20270 * plug-ins/winicon/main.[ch]: added plug-in to load and save
20271 Windows icon files. Plug-in written by Christian Kreibich, port to
20272 GIMP-2.0 API by Gregor Riepl, massive code cleanup by me. Fixes
20275 2004-04-15 Michael Natterer <mitch@gimp.org>
20277 * app/widgets/gimpdnd.c (gimp_dnd_data_source_add)
20278 (gimp_dnd_data_source_remove): use the new dynamic GtkTargetList
20279 based API for changing the widget's drag source types.
20281 * app/widgets/gimpdocumentview.c (gimp_document_view_new): simply
20282 call gimp_dnd_file_source_add() instead of duplicating the whole
20283 GtkTargetEntry array insanity just for adding one source type.
20285 2004-04-15 Michael Natterer <mitch@gimp.org>
20287 * plug-ins/FractalExplorer/Dialogs.c
20288 * plug-ins/flame/flame.c
20289 * plug-ins/gfig/gfig.c: first plug-ins ported to GtkFileChooser.
20291 2004-04-15 Michael Natterer <mitch@gimp.org>
20293 * app/display/gimpdisplayshell-callbacks.c
20294 * app/display/gimpdisplayshell.c
20295 * app/widgets/gimpcontainertreeview.c: removed runtime version
20296 checks and workarounds for bugs which are fixed in GTK+ 2.4.
20298 * app/widgets/gimpfiledialog.c
20299 (gimp_file_dialog_selection_changed): added runtime check for GTK+
20300 2.4.1 and work around GtkFileChooser's missing "update_preview"
20301 functionality for multiple selections if the dependency is not
20304 * app/widgets/gimpwidgets-utils.c (gimp_menu_position)
20305 (gimp_menu_button_position): call gtk_menu_set_monitor() until
20306 bug #139187 is fixed.
20308 2004-04-15 Michael Natterer <mitch@gimp.org>
20310 * app/widgets/gimpfiledialog.[ch]: derive it from GtkFileChooser
20311 instead of GtkFileSelection.
20313 * app/gui/file-dialog-utils.c
20314 * app/gui/file-open-dialog.c
20315 * app/gui/file-save-dialog.c
20316 * app/widgets/gimpthumbbox.c: changed accordingly.
20318 * app/gui/gradients-commands.c
20319 * app/gui/vectors-commands.c
20320 * app/tools/gimpimagemaptool.c
20321 * app/widgets/gimperrorconsole.c
20322 * app/widgets/gimptexteditor.c
20323 * libgimpwidgets/gimpfileentry.c: use file choosers instead of
20326 2004-04-15 Michael Natterer <mitch@gimp.org>
20328 * configure.in: depend on glib 2.4.0, gtk+ 2.4.0, pangoft2 1.4.0
20330 * app/sanity.c: changed accordingly.
20332 2004-04-15 Sven Neumann <sven@gimp.org>
20334 * app/tools/gimpcropoptions.[ch]
20335 * app/tools/gimpcroptool.[ch]: applied a patch from Jordi Gay that
20336 allows to keep the aspect ratio fixed.
20338 2004-04-15 Michael Natterer <mitch@gimp.org>
20340 * app/core/gimplayermask.c (gimp_layer_mask_class_init): set
20341 translate_desc to "Move Layer Mask".
20343 * app/tools/gimpeditselectiontool.c: take the undo desc
20344 from the moved item's class instead of duplicating all
20347 2004-04-15 Sven Neumann <sven@gimp.org>
20349 * app/core/gimppalette-import.[ch]
20350 * app/gui/palette-import-dialog.c: added palette import from RIFF
20351 palette files based on a patch from ÃRDI Gergõ (bug #129788).
20353 2004-04-15 Michael Natterer <mitch@gimp.org>
20355 * app/xcf/xcf.c (xcf_save_invoker) (xcf_load_invoker): forgot
20356 to add context parameters to this non-generated PDB invokers.
20357 Fixes XCF loading/saving.
20359 2004-04-15 Michael Natterer <mitch@gimp.org>
20361 * app/core/gimpitem.[ch]: added "const gchar *stroke_desc" to
20362 the GimpItemClass struct and always push an undo group
20363 around GimpItem::stroke().
20365 * app/core/gimpchannel.c
20366 * app/core/gimpselection.c
20367 * app/vectors/gimpvectors.c: set the stroke_desc accordingly
20368 and don't push undo groups.
20370 * app/text/gimptextlayer.c (gimp_text_layer_class_init): set
20371 all of GimpItemClass' undo_descs.
20373 * app/text/gimptextlayer-transform.c: don't push undo groups here.
20375 2004-04-15 Sven Neumann <sven@gimp.org>
20377 * libgimpcolor/gimpcolorspace.c (gimp_rgb_to_hsv): applied patch
20378 from Marco Munari that removes a redundant "if" (bug #133540).
20380 2004-04-15 Sven Neumann <sven@gimp.org>
20382 * plug-ins/ifscompose/ifscompose.c: applied patch from Yeti that
20383 adds spinbuttons instead of simple text entries (bug #138132).
20385 2004-04-15 Sven Neumann <sven@gimp.org>
20387 * plug-ins/common/Makefile.am
20388 * plug-ins/common/plugin-defs.pl
20389 * plug-ins/common/gicon.c: removed the GIcon plug-in (addresses
20390 one aspect of bug #139160).
20392 2004-04-15 Michael Natterer <mitch@gimp.org>
20394 Context cleanup continued:
20396 * app/core/gimpitem.[ch]: added context parameter to
20397 GimpItem::stroke().
20399 * app/core/gimpchannel.c (gimp_channel_stroke)
20400 * app/vectors/gimpvectors.c (gimp_vectors_stroke): use it to get
20401 default values from instead of gimp_get_user_context().
20403 * app/core/gimpselection.c
20404 * app/gui/stroke-dialog.c
20405 * tools/pdbgen/pdb/edit.pdb
20406 * tools/pdbgen/pdb/paths.pdb: changed accordingly.
20408 * app/pdb/edit_cmds.c
20409 * app/pdb/paths_cmds.c: regenerated.
20411 * app/plug-in/plug-in.[ch]: added GimpContext member to the PlugIn
20412 struct. Added context parameter to plug_in_new(),
20413 plug_in_call_query() and plug_in_call_init().
20415 * app/plug-in/plug-in-run.[ch]: added context parameters to
20416 plug_in_run() and plug_in_repeat().
20418 * app/gui/plug-in-commands.c
20419 * app/gui/vectors-commands.c
20420 * app/pdb/procedural_db.c
20421 * app/widgets/gimphelp.c: pass a context to plug_in_run() and
20424 * app/plug-in/plug-in-message.c (plug_in_handle_proc_run): call
20425 procedures with the plug-in's context.
20427 * app/plug-in/plug-ins.c: use a temporary context for running the
20428 plug-ins' query() and init() functions. Use the same context for
20429 running automatic extensions. This temporarily separates the main
20430 Script-Fu extension from the user context (i.e. scripts have no
20431 way of setting/getting the global FG, BG, brush etc.).
20433 2004-04-15 Sven Neumann <sven@gimp.org>
20436 * README: mention that this is the development branch.
20438 2004-04-15 Sven Neumann <sven@gimp.org>
20440 * app/paint-funcs/paint-funcs.[ch]:
20441 * app/paint-funcs/paint-funcs-generic.h: header cleanup, added
20442 some const qualifiers, converted tabs to spaces. Fixes bug #140115
20443 for the HEAD branch.
20445 2004-04-15 Michael Natterer <mitch@gimp.org>
20447 Get rid of the "current_context" which was in fact just a bunch of
20448 global variables. Instead, pass the needed context all the way
20449 from the GUI and the PDB to the core. This is a prerequisite for
20450 macro recording and generally helps separating the various
20451 subsystems from each other. Work in progress...
20453 * app/core/gimp.[ch]: removed member "current_context" and
20454 gimp_[get|set]_current_context().
20456 * app/core/gimp-edit.[ch]
20457 * app/core/gimpdrawable-blend.[ch]
20458 * app/core/gimpdrawable-bucket-fill.[ch]
20459 * app/core/gimpdrawable-offset.[ch]
20460 * app/core/gimpdrawable-transform.[ch]
20461 * app/core/gimpimage-crop.[ch]
20462 * app/core/gimpimage-flip.[ch]
20463 * app/core/gimpimage-merge.[ch]
20464 * app/core/gimpimage-resize.[ch]
20465 * app/core/gimpimage-rotate.[ch]
20466 * app/core/gimpimage.[ch]
20467 * app/core/gimpimagefile.[ch]
20468 * app/core/gimpitem-linked.[ch]
20469 * app/core/gimpitem.[ch]
20470 * app/core/gimplayer.[ch]
20471 * app/core/gimpselection.[ch]
20472 * app/core/gimptemplate.[ch]
20473 * app/file/file-open.[ch]
20474 * app/file/file-save.[ch]
20475 * app/pdb/procedural_db.[ch]
20476 * app/text/gimptext-compat.[ch]
20477 * app/text/gimptextlayer-transform.[ch]
20478 * app/gui/brush-select.[ch]
20479 * app/gui/font-select.[ch]
20480 * app/gui/gradient-select.[ch]
20481 * app/gui/palette-select.[ch]
20482 * app/gui/pattern-select.[ch]: added tons of "GimpContext *context"
20483 parameters and use the passed context instead of
20484 gimp_get_current_context().
20488 * app/core/gimpchannel.c
20489 * app/core/gimpdrawable.c
20490 * app/paint/gimperaser.c
20491 * app/paint/gimppaintbrush.c
20492 * app/plug-in/plug-in-message.c
20493 * app/plug-in/plug-ins.c
20494 * app/text/gimptextlayer.c
20495 * app/tools/gimpblendtool.c
20496 * app/tools/gimpbucketfilltool.c
20497 * app/tools/gimpcroptool.c
20498 * app/tools/gimpeditselectiontool.c
20499 * app/tools/gimpfliptool.c
20500 * app/tools/gimpinktool.c
20501 * app/tools/gimptransformtool.c
20502 * app/vectors/gimpvectors.c
20503 * app/gui/convert-dialog.c
20504 * app/gui/drawable-commands.c
20505 * app/gui/edit-commands.c
20506 * app/gui/file-commands.c
20507 * app/gui/file-new-dialog.c
20508 * app/gui/file-open-dialog.c
20509 * app/gui/file-save-dialog.c
20510 * app/gui/image-commands.c
20511 * app/gui/layers-commands.c
20512 * app/gui/offset-dialog.c
20513 * app/gui/select-commands.c
20514 * app/gui/vectors-commands.c
20515 * app/widgets/gimpdnd.c
20516 * app/widgets/gimpdocumentview.c
20517 * app/widgets/gimphelp.c
20518 * app/widgets/gimpthumbbox.c: pass gimp_get_user_context() or
20519 GIMP_CONTEXT(tool_options) or whatever is the right context
20520 to the changed core functions.
20522 * tools/pdbgen/app.pl: pass "GimpContext *context" to all
20523 generated PDB invokers.
20525 * tools/pdbgen/pdb/brush_select.pdb
20526 * tools/pdbgen/pdb/brushes.pdb
20527 * tools/pdbgen/pdb/drawable.pdb
20528 * tools/pdbgen/pdb/edit.pdb
20529 * tools/pdbgen/pdb/font_select.pdb
20530 * tools/pdbgen/pdb/gradient_select.pdb
20531 * tools/pdbgen/pdb/gradients.pdb
20532 * tools/pdbgen/pdb/image.pdb
20533 * tools/pdbgen/pdb/layer.pdb
20534 * tools/pdbgen/pdb/paint_tools.pdb
20535 * tools/pdbgen/pdb/palette.pdb
20536 * tools/pdbgen/pdb/palette_select.pdb
20537 * tools/pdbgen/pdb/palettes.pdb
20538 * tools/pdbgen/pdb/paths.pdb
20539 * tools/pdbgen/pdb/pattern_select.pdb
20540 * tools/pdbgen/pdb/patterns.pdb
20541 * tools/pdbgen/pdb/selection.pdb
20542 * tools/pdbgen/pdb/text_tool.pdb
20543 * tools/pdbgen/pdb/transform_tools.pdb: pass the new context
20544 parameter to the changed core functions.
20546 * app/pdb/*_cmds.c: regenerated.
20548 2004-04-14 Raphaël Quinet <quinet@gamers.org>
20550 * plug-ins/script-fu/scripts/copy-visible.scm: New version of the
20551 script that works on a temporary copy of the image instead of
20552 copying the visible layers. Fixes bug #139989.
20554 2004-04-14 Sven Neumann <sven@gimp.org>
20556 * plug-ins/common/film.c: fixed typo (bug #140039).
20558 2004-04-14 Sven Neumann <sven@gimp.org>
20560 * configure.in: bumped version to 2.1.0, interface age 0, binary
20561 age 0. Changed library versioning to include gimp_minor_version
20562 similar to how gtk+ does it.
20564 2004-04-14 Sven Neumann <sven@gimp.org>
20566 * Made 2.0.1 release.
20568 2004-04-13 Raphaël Quinet <quinet@gamers.org>
20570 * plug-ins/common/mng.c (query, run): Workaround for bug #139947:
20571 do not register the plug-in for INDEXED* modes and do not declare
20572 that it can handle INDEXED images in gimp_export_image(). This
20573 forces a conversion to RGB instead of generating broken indexed
20574 images. The generation of correct indexed MNG files is likely to
20575 require a newer release of libmng.
20576 (mng_data): Set default compression level to 9 instead of 6.
20578 2004-04-13 Sven Neumann <sven@gimp.org>
20580 * plug-ins/imagemap/imap_cern_parse.c
20581 * plug-ins/imagemap/imap_csim_parse.c
20582 * plug-ins/imagemap/imap_ncsa_parse.c: regenerated using GNU Bison
20583 version 1.875a. Fixes bug #139894.
20585 2004-04-13 Sven Neumann <sven@gimp.org>
20587 * tools/gimp-remote.c: reverted last change and go back to the
20588 solution using fork(). Hopefully fixes bug #139158 this time.
20590 2004-04-13 Sven Neumann <sven@gimp.org>
20592 * app/core/gimp-utils.[ch] (gimp_get_default_language): added a
20593 category parameter to make this function more flexible.
20595 * app/text/gimptext.c: changed accordingly.
20597 * app/widgets/gimphelp.c (gimp_help): localize the help pages
20598 according to the value of LC_MESSAGES. Fixes bug #139917.
20600 2004-04-13 Michael Natterer <mitch@gimp.org>
20602 Moved the calls to floating_sel_relax()/rigor() from various
20603 places to two single spots in the core where they are actually
20604 needed. Fixes bug #138356 (which was caused by the projection
20605 being triggered in the middle of changing the floating selection's
20606 size or the size of the drawable it is attached to). This commit
20607 effectively removes floating selection fiddling from the core's
20610 * app/core/gimpdrawable.[ch] (gimp_drawable_has_floating_sel): new
20611 function which returns TRUE if there is a floating selection
20612 attached to the drawable.
20614 * app/core/gimpdrawable.c (gimp_drawable_translate)
20615 (gimp_drawable_set_tiles_full): if the drawable *has* a floating
20616 selection, relax/rigor it before/after modifying the drawable.
20618 * app/core/gimplayer.c (gimp_layer_translate)
20619 (gimp_layer_set_tiles): if the layer *is* the floating selection,
20620 relax/rigor it before/after modifying it.
20622 * app/core/gimpdrawable-transform.c
20623 * app/core/gimpimage-convert.c
20624 * app/core/gimpimage-crop.c
20625 * app/core/gimpimage-flip.c
20626 * app/core/gimpimage-resize.c
20627 * app/core/gimpimage-rotate.c
20628 * app/core/gimpimage-scale.c
20629 * app/gui/layers-commands.c
20630 * app/tools/gimpeditselectiontool.c
20631 * tools/pdbgen/pdb/layer.pdb: removed calls to
20632 floating_sel_rigor()/relax() all over the place. Also removed
20633 lots of undo groups which are obsolete now.
20635 * app/pdb/layer_cmds.c: regenerated.
20637 2004-04-13 Sven Neumann <sven@gimp.org>
20639 * plug-ins/imagemap/imap_file.c (do_file_error_dialog): convert
20640 the filename to UTF-8 before displaying it.
20642 2004-04-13 Michael Natterer <mitch@gimp.org>
20644 GimpItem undo group cleanup in preparation of fixing bug #138356:
20646 * app/core/core-enums.[ch]: renamed LAYER_SCALE and LAYER_RESIZE
20647 undo groups to ITEM_SCALE and ITEM_RESIZE.
20649 * app/core/gimpitem.[ch]: always push undo groups around
20650 GimpItem::translate(), scale(), resize(), flip(), rotate() and
20651 transform(). Added the resp. undo_desc strings to GimpItemClass.
20653 * app/core/gimpchannel.[ch]
20654 * app/core/gimpdrawable.[ch]
20655 * app/core/gimplayer.c: removed all undo groups from
20656 implementations of the above methods. Removed the undo_desc
20657 strings which were moved to GimpItemClass.
20659 * app/core/gimpimage-crop.c
20660 * app/core/gimpselection.c
20661 * app/gui/layers-commands.c
20662 * app/vectors/gimpvectors.c
20663 * tools/pdbgen/pdb/layer.pdb: changed accordingly.
20665 * app/pdb/layer_cmds.c: regenerated.
20667 2004-04-12 Sven Neumann <sven@gimp.org>
20669 * configure.in: cleaned up the check for Xmu. Include <gdk/gdkx.h>
20670 when testing for Xmu.h. Fixes bug #139803.
20672 2004-04-12 Sven Neumann <sven@gimp.org>
20674 * libgimpmath/Makefile.am: remove test-md5 on make clean.
20676 2004-04-11 Manish Singh <yosh@gimp.org>
20678 * plug-ins/pygimp/plug-ins/py-slice.py: When using a separate dir for
20679 images, actually prepend the dir to the img srcs in the html. Allow
20680 only horizontal or vertical guides in an image, do not require both.
20681 A bit smarter path handling. Addresses most of bug #138714.
20683 2004-04-11 Hans Breuer <hans@breuer.org>
20685 * app/makefile.msc : build sanity.obj
20686 app/text/makefile.msc : gimptextundo.obj
20687 app/widgets/makefile.msc : gimppatternfactoryview.obj
20689 * plug-ins/common/winclipboard.c : don't call
20690 gimp_image_undo_enable() when it's not switched off.
20691 Otherwise the undo history would be destroyed with
20692 Gimp-Core-CRITICAL **: file gimpimage.c: line 1579: assertion
20693 `gimage->undo_freeze_count > 0' failed
20695 2004-04-10 Sven Neumann <sven@gimp.org>
20697 * app/tools/gimptexttool.c (gimp_text_tool_apply): push an undo
20698 group only when it's needed. This resurrects text undo compression
20699 that broke when bug #137767 got fixed.
20701 2004-04-10 Sven Neumann <sven@gimp.org>
20703 * docs/gimp-remote.1.in: updated example URL.
20705 2004-04-10 Pedro Gimeno <pggimeno@wanadoo.es>
20707 * app/core/gimpdrawable-transform.c
20708 (gimp_drawable_transform_tiles_affine): Applied patch from William
20709 Skaggs that addresses bug #120490.
20711 * app/sanity.c (sanity_check): Modified the message that reports
20712 an old version of Fontconfig in an attempt to make it more
20715 2004-04-10 Sven Neumann <sven@gimp.org>
20717 * tools/gimp-remote.c (start_new_gimp): reverted the last change
20718 and did a different fix that involves closing the X display before
20719 starting gimp (bug #139158).
20721 2004-04-09 Manish Singh <yosh@gimp.org>
20723 * plug-ins/common/jpeg.c: Uglier workaround for bug #138357, since
20724 the previous one did break error handling. Fixes bug #139571.
20726 2004-04-09 Henrik Brix Andersen <brix@gimp.org>
20728 * README.i18n: s/14/20/ plus whitespace clean-up.
20730 2004-04-08 Sven Neumann <sven@gimp.org>
20732 * plug-ins/script-fu/siod-wrapper.c: applied a patch from Kevin
20733 Cozens that makes the Script-Fu PDB marshaller handle NULL
20734 strings. Some minor code cleanup. Fixes bug #139386.
20736 2004-04-08 Sven Neumann <sven@gimp.org>
20738 * tools/gimp-remote.c (start_new_gimp): applied a patch from
20739 Michael Matz that calls fork() before starting gimp. This is to
20740 avoid X server authentification problems (bug #139158).
20742 2004-04-07 Henrik Brix Andersen <brix@gimp.org>
20744 * configure.in (ALL_LINGUAS): revert addition of "is" until all
20745 .po files are there.
20747 2004-04-07 Samúel Jón Gunnarsson <sammi@techattack.nu>
20749 * configure.in: Added "is" to ALL_LINGUAS
20751 2004-04-06 Iñaki Larrañaga <dooteo@euskalgnu.org>
20753 * configure.in: Added "eu" (Basque) to ALL_LINGUAS.
20755 2004-04-05 Pedro Gimeno <pggimeno@wanadoo.es>
20757 * plug-ins/script-fu/scripts/copy-visible.scm: Use
20758 gimp-image-get-active-layer/channel instead of the passed
20759 drawable for later restoring the initially active layer/channel.
20760 Addresses bug #138662.
20762 * plug-ins/script-fu/scripts/drop-shadow.scm: Add a call to
20763 gimp-image-set-active-layer in order for it to fail early instead
20764 of failing with the undo group open in case the drawable is not
20765 suitable for applying the effect.
20767 2004-04-05 Michael Natterer <mitch@gimp.org>
20769 * app/core/gimpimage.c (gimp_image_real_mode_changed): update the
20772 * app/display/gimpdisplay-handlers.c: removed obsolete
20773 "mode_changed" and "colormap_changed" handlers because GimpImage's
20774 default handlers already update the whole image.
20776 2004-04-05 Pedro Gimeno <pggimeno@wanadoo.es>
20778 Sanitize rectangle and ellipse selection handling (bug #138237
20781 * app/tools/gimprectselecttool.h
20782 * app/tools/gimprectselecttool.c (GimpRectSelectTool): new
20783 member "moved" indicating whether the cursor was moved after
20785 (gimp_rect_select_tool_coords_to_integer): New function for
20786 consistent conversion of the rectangle FP coords to pixels.
20787 (gimp_rect_select_tool_button_press,
20788 gimp_rect_select_tool_button_release,
20789 gimp_rect_select_tool_motion, gimp_rect_select_tool_draw): use
20790 it instead of fiddling with the FP coordinates. Update "moved"
20791 and use it to detect whether the selection needs to be cleared.
20793 * app/tools/gimpellipseselecttool.c
20794 (gimp_ellipse_select_tool_draw): use the new coords_to_integer
20797 2004-04-05 Sven Neumann <sven@gimp.org>
20799 * plug-ins/Lighting/lighting_ui.c: applied the second patch
20800 attached to bug #138788 by William Skaggs. Removes some user
20801 interface elements that have no corresponding implementation and
20802 fixes preview updates.
20804 2004-04-04 Sven Neumann <sven@gimp.org>
20807 * NEWS.pre-2-0: moved old NEWS to this new file.
20809 * NEWS: list bugs fixed since 2.0.0.
20811 2004-04-04 Sven Neumann <sven@gimp.org>
20814 * docs/Makefile.am: don't install gimptool symlinks to
20815 gimptool-2.0 and its manpage. gimp.m4 as installed with gimp-1.2
20816 looks for gimptool (bug #139024).
20818 2004-04-04 Sven Neumann <sven@gimp.org>
20820 * app/display/gimpdisplayshell-callbacks.c
20821 * app/display/gimpdisplayshell-draw.[ch] pass the bounding box of
20822 the exposed area to gimp_display_shell_draw_grid() and draw only
20823 the relevant part of the grid. Fixes bug #138081.
20825 2004-04-04 Sven Neumann <sven@gimp.org>
20827 Cache the GC for drawing the grid as suggested in bug #138081:
20829 * app/display/gimpdisplayshell.[ch]: added a grid_gc member to
20832 * app/display/gimpdisplayshell-handlers.c
20833 (gimp_display_shell_grid_notify_handler)
20834 (gimp_display_shell_disconnect): invalidate the grid GC.
20836 * app/display/gimpdisplayshell-draw.c (gimp_display_shell_draw_grid):
20837 use the cached grid_gc. Also applied the fix that Pedro Gimeno did
20840 2004-04-04 Sven Neumann <sven@gimp.org>
20842 * app/core/gimpundo.c (gimp_undo_type_to_name): added a missing
20843 call to gettext(). Fixes bug #139000.
20845 2004-04-03 Manish Singh <yosh@gimp.org>
20847 * gimptool-2.0.in: Create any directories in the install path that do
20848 not already exist. Fixes bug #138980.
20850 * docs/gimptool.1.in: s/dont/don't/g
20852 2004-04-04 Sven Neumann <sven@gimp.org>
20854 * app/core/gimpimagemap.c (gimp_image_map_apply): do nothing if the
20855 selection is empty. Fixes bug #138973.
20857 2004-04-03 Sven Neumann <sven@gimp.org>
20859 * app/text/gimptextlayer.c (gimp_text_layer_new): create the
20860 initial text layer with a size of 1 x 1 since tile_manager_new()
20861 does not any longer accept 0 x 0.
20863 * app/core/gimpdrawable.c (gimp_drawable_configure): check that
20864 width and height are > 0.
20866 2004-04-03 Sven Neumann <sven@gimp.org>
20868 * plug-ins/Lighting/lighting_main.c
20869 * plug-ins/Lighting/lighting_shade.c: applied the first of two
20870 patches attached to bug #138788 by William Skaggs.
20872 2004-04-02 Simon Budig <simon@gimp.org>
20874 * plug-ins/common/whirlpinch.c: set a proper pixelfetcher
20875 edge mode for bigger radii. Avoids getting garbage at the
20878 2004-04-02 Dave Neary <bolsh@gimp.org>
20880 * plug-ins/common/jpeg.c: Added .jpe to the list of extensions
20881 that the jpeg plug-in recognises. Fixes bug #138776.
20883 2004-04-01 Sven Neumann <sven@gimp.org>
20885 * app/gui/user-install-dialog.c: unset the bg_pixmap and tweak
20886 style colors for all states. Sort of ugly but makes the dialog
20887 work better with more obscure themes (bug #138379).
20889 2004-04-01 Sven Neumann <sven@gimp.org>
20891 * tools/kernelgen.c: updated a comment.
20893 2004-04-01 Michael Natterer <mitch@gimp.org>
20895 * app/core/core-enums.[ch] (enum GimpUndoType): added undo type
20896 GIMP_UNDO_TEXT_LAYER_MODIFIED and undo group types
20897 GIMP_UNDO_GROUP_DRAWABLE and GIMP_UNDO_GROUP_DRAWABLE_MOD.
20899 * app/core/gimpimage-undo-push.[ch]: added new new function
20900 gimp_image_undo_push_text_layer_modified() which makes
20901 modifications of the text_layer's "modified" boolean undoable.
20903 * app/core/gimpdrawable.[ch]: added new virtual function
20904 GimpDrawable::push_undo() and moved the actual undo pushing into
20905 the default implementation gimp_drawable_real_push_undo().
20907 * app/text/gimptextlayer.c (gimp_text_layer_push_undo): new
20908 function. Pushes the text_layer's modified state to the undo stack
20909 after upchaining and sets modified to TRUE.
20911 (gimp_text_layer_set_tiles): ditto.
20913 (gimp_lext_layer_apply_region)
20914 (gimp_text_layer_replace_region): removed because their default
20915 implementations already call gimp_drawable_push_undo().
20917 (gimp_text_layer_swap_pixels): removed because swap_pixels() is
20918 used by undo only and doesn't need to care about the text_layer's
20921 (gimp_text_layer_render): don't set modified to FALSE here because
20922 we can't push an undo step here.
20924 (gimp_text_layer_set): push the modified state to the undo stack
20925 and set it to FALSE here. Also push the layer's tiles if the
20926 layer was modified.
20928 * app/tools/gimptexttool.c (gimp_text_tool_apply): push "modified"
20929 to the undo stack and set it to FALSE here, too.
20933 2004-03-31 Simon Budig <simon@gimp.org>
20935 * app/tools/gimptransformtool.c: One really should use braces
20936 when mixing additions and multiplication and the operator
20937 precedence is not the desired one...
20939 I feel stupid... :-)
20941 2004-03-31 Michael Natterer <mitch@gimp.org>
20943 * app/core/gimp-transform-utils.c
20944 (gimp_transform_matrix_perspective): make sure 0.0/0.0 results
20947 * app/core/gimpdrawable-transform.c
20948 (gimp_drawable_transform_tiles_affine): instead of returning NULL
20949 if the transformation shrinks the tiles completely away, return at
20950 least the pixel (or the row or column of pixels) which best covers
20951 the sub-pixel area of the transform result:
20953 - Changed rounding of the transformed coordinates from RINT()
20954 to floor()/ceil() so we don't cut off sub-pixel portions of the
20956 - Force the minimal size if the changed rounding didn't help.
20960 Also added paranoia code which falls back to clip_result if the
20961 passed matrix produces NaN coordinates (copied the FINITE() macro
20962 from image_cmds.c).
20964 2004-03-30 Sven Neumann <sven@gimp.org>
20966 * plug-ins/script-fu/scripts/grid-system.scm: define "map" here,
20967 the script used to take the definition from alien-glow-arrow.scm
20968 or beveled-pattern-arrow.scm. Also added an undo group around all
20969 operations. Fixes bug #138524.
20971 2004-03-30 Michael Natterer <mitch@gimp.org>
20974 * app/sanity.[ch]: new files implementing sanity_check() for
20975 run-time checking library versions. Added a check for FreeType but
20976 disabled it until we figured if and how freetype causes some of
20979 * app/main.c (main): call it and abort if it fails.
20981 * app/app_procs.[ch]: added app_gui_abort() so main.c doesn't
20982 need to #include "gui/gui.h"
20984 * app/gui/gui.[ch] (gui_libs_init): removed library sanity checking.
20986 (gui_abort): new function which shows the abort message.
20988 2004-03-30 Michael Natterer <mitch@gimp.org>
20990 * configure.in (ALL_LINGUAS): revert addition of "pa" until
20991 all .po files are there.
20993 2004-03-20 Guntupalli Karunakar <karunakar@freedomink.org>
20995 * configure.in: Added "pa" for Punjabi to ALL_LINGUAS.
20997 2004-03-29 Manish Singh <yosh@gimp.org>
20999 * plug-ins/common/jpeg.c (struct my_error_mgr): Move setjump_buffer
21000 to the beginning of the structure, to make sure it is aligned on a
21001 16-byte boundary for ia64, even with icc. Fixes #138357.
21003 2004-03-29 Sven Neumann <sven@gimp.org>
21005 * app/config/gimpguiconfig.c: changed the default for "help-locales"
21006 from NULL to an empty string. Fixes the generated gimprc man-page.
21008 * app/config/gimprc-blurbs.h (HELP_LOCALES_BLURB): added missing
21011 * app/widgets/gimphelp.c: use the user's locale if "help-locales"
21012 is NULL or the empty string.
21015 * etc/gimprc: regenerated.
21017 2004-03-29 Michael Natterer <mitch@gimp.org>
21019 * app/core/core-enums.[ch] (enum GimpUndoType): added new group
21020 GIMP_UNDO_GROUP_FS_REMOVE.
21022 * app/core/gimplayer-floating-sel.c (floating_sel_remove): push an
21023 undo group. Fixes undo corruption spotted by Pedro Gimeno.
21025 2004-03-29 Michael Natterer <mitch@gimp.org>
21027 * plug-ins/common/guillotine.c (guillotine): Don't just skip
21028 guides at the image edges but any guide which is at a position we
21029 already remembered. Should catch all instances of bug #138312 this
21032 2004-03-28 Sven Neumann <sven@gimp.org>
21034 * plug-ins/ifscompose/ifscompose.c: applied patch from David Necas
21035 that updates the sensitivity of the Delete button and menu entry.
21038 2004-03-28 Sven Neumann <sven@gimp.org>
21040 * plug-ins/MapObject/mapobject_main.c: fixed non-interactive call.
21042 * plug-ins/script-fu/scripts/spinning-globe.scm: pass -1 as
21043 drawable ID for unused drawables. Fixes bug #138253.
21045 2004-03-28 Sven Neumann <sven@gimp.org>
21047 * app/text/gimpfontlist.c (gimp_font_list_add_font): validate the
21048 font name. This should work around the crashes that Windows users
21049 were experiencing on startup (bug #132366). The real problem needs
21050 to be fixed elsewhere though.
21052 2004-03-28 Michael Natterer <mitch@gimp.org>
21054 * app/core/gimpimage-undo-push.c (undo_pop_layer): when re-adding
21055 a layer with mask, don't forget to set layer->mask->removed to FALSE.
21057 2004-03-28 Michael Natterer <mitch@gimp.org>
21059 * app/core/gimpitem.[ch]: added "gboolean removed" to the GimpItem
21060 struct. Defaults to FALSE. Set it to TRUE in gimp_item_removed().
21061 Added public function gimp_item_is_removed().
21063 * app/core/gimpimage-undo-push.c (undo_pop_layer)
21064 (undo_pop_layer_mask) (undo_pop_channel) (undo_pop_vectors):
21065 set it to FALSE manually when re-adding something from the
21068 * tools/pdbgen/app.pl
21069 * tools/pdbgen/pdb.pl: don't allow any operation on items which
21070 are removed from the image (and exist on the undo stack only).
21073 * app/pdb/channel_cmds.c
21074 * app/pdb/color_cmds.c
21075 * app/pdb/drawable_cmds.c
21076 * app/pdb/edit_cmds.c
21077 * app/pdb/floating_sel_cmds.c
21078 * app/pdb/image_cmds.c
21079 * app/pdb/layer_cmds.c
21080 * app/pdb/paint_tools_cmds.c
21081 * app/pdb/parasite_cmds.c
21082 * app/pdb/selection_cmds.c
21083 * app/pdb/selection_tools_cmds.c
21084 * app/pdb/transform_tools_cmds.c: regenerated.
21086 2004-03-28 Sven Neumann <sven@gimp.org>
21088 * plug-ins/script-fu/scripts/slide.scm: applied a (modified) patch
21089 from Nils Philippsen that fixes bug #138310.
21091 2004-03-28 Michael Natterer <mitch@gimp.org>
21093 * plug-ins/common/guillotine.c (guillotine): applied a (modified)
21094 patch from Joao S. O. Bueno which removes any guides from the
21095 cropped images. Fixes bug #138314.
21097 Skip guides which are at the image's edges because the algorithm
21098 already assumes that there are always guides at these positions.
21101 2004-03-27 Tor Lillqvist <tml@iki.fi>
21103 * plug-ins/help/Makefile.am (AM_LDFLAGS): Use -mwindows on Windows
21104 to avoid a console window popping up.
21106 2004-03-26 Manish Singh <yosh@gimp.org>
21108 * tools/pdbgen/app.pl: don't generate code with tabs.
21110 * tools/pdbgen/pdb/procedural_db.pdb: convert tabs to spaces in
21111 helper function declaration.
21113 * app/pdb/procedural_db.c: convert tabs to spaces.
21115 * app/pdb/*.c: regenerated, no code changes, only tabs->spaces.
21117 2004-03-26 Manish Singh <yosh@gimp.org>
21119 * tools/pdbgen/app.pl: kill whitespace in blank lines.
21121 * app/pdb/*.c: regenerated, no code changes, only whitespace.
21123 2004-03-26 Michael Natterer <mitch@gimp.org>
21125 * app/core/gimpdrawable-transform.c
21126 (gimp_drawable_transform_tiles_affine): return NULL tiles if the
21127 matrix would transform the drawable into nothing. Fixes the
21128 core-crashing part of bug #138117 and makes the script fail
21129 with an execution error.
21131 2004-03-25 Sven Neumann <sven@gimp.org>
21133 * README: mention the gimp-perl pre-release and provide a link.
21135 2004-03-25 Michael Natterer <mitch@gimp.org>
21137 * app/base/tile-manager.c (tile_manager_new): g_return_if_fail()
21138 on width, height or bpp <= 0. Doesn't fix anything but badly
21139 warns (and helps debugging) on bug #138117.
21141 2004-03-25 Michael Natterer <mitch@gimp.org>
21143 * app/tools/gimpvectortool.c (gimp_vector_tool_button_release):
21144 fixed condition which triggers the path tool's undo hack. Fixes
21145 bug #138086. Also g_object_unref() the undo step.
21147 Removed trailing whitespace.
21149 2004-03-25 Manish Singh <yosh@gimp.org>
21152 * app/plug-in/plug-in-shm.c: close the shm_open fd in the POSIX
21153 shm case. We were leaking an fd here.
21155 * app/tools/gimptexttool.c (gimp_text_tool_connect): remove
21156 unnecessary G_OBJECT() cast in g_object_set() call.
21158 2004-03-23 Michael Natterer <mitch@gimp.org>
21160 * autogen.sh: be verbose about AUTOGEN_CONFIGURE_ARGS in the
21161 message that is printed if no arguments were passed.
21163 2004-03-23 Sven Neumann <sven@gimp.org>
21164 Michael Natterer <mitch@gimp.org>
21166 * Made 2.0.0 release.