1 2004-03-23 Sven Neumann <sven@gimp.org>
2 Michael Natterer <mitch@gimp.org>
6 2004-03-23 Sven Neumann <sven@gimp.org>
8 * libgimpbase/gimpprotocol.h
9 * libgimpmodule/gimpmodule.h: incremented GIMP_PROTOCOL_VERSION
10 and GIMP_MODULE_ABI_VERSION. This means that plug-ins or modules
11 built for gimp-1.3 will not work with GIMP 2.0.
13 2004-03-23 Simon Budig <simon@gimp.org>
15 * plug-ins/script-fu/scripts/alien-glow-arrow.scm
16 * plug-ins/script-fu/scripts/beveled-pattern-arrow.scm: Make
17 helper functions local to the scripts. The better fix for
18 bug #136868. Should also be done for a lot of other scripts,
19 but is too likely to introduce new bugs to do this now.
21 2004-03-23 Sven Neumann <sven@gimp.org>
25 * README: updated for the 2.0 release.
27 2004-03-23 Simon Budig <simon@gimp.org>
29 * plug-ins/script-fu/scripts/alien-glow-arrow.scm: fixed
30 utility function rotate-points. Only worked sometimes by
31 accident, probably because beveled-pattern-arrow.scm implemented
32 a function of the same name correctly and all scripts share
37 2004-03-23 Michael Natterer <mitch@gimp.org>
39 The floating_sel code is really from the stone age:
41 * app/core/gimplayer-floating-sel.c (floating_sel_attach): call
42 gimp_image_floating_sel() once and work on the return value
43 instead of accessing gimage->floating_sel directly twice and
44 calling gimp_image_floating_sel() for the thrid access.
46 * app/core/gimpimage.c (gimp_image_floating_sel): no need to
47 return NULL if gimage->floating_sel is NULL, just always return
50 2004-03-22 Sven Neumann <sven@gimp.org>
52 * app/core/gimplayer-floating-sel.c (floating_sel_attach): don't
53 do a type-checking cast on an object that was released a few lines
54 above. Fixes bug #137957.
56 2004-03-22 Tor Lillqvist <tml@iki.fi>
58 * app/plug-in/plug-in.c (plug_in_recv_message): Win32-only
59 workaround for bug #137968.
61 2004-03-22 Sven Neumann <sven@gimp.org>
63 * app/tools/gimptexttool.c: keep the text editor open as long as
64 the text tool is connected to a text layer. Open the text editor
65 when a text layer is activated in the layers dialog.
67 2004-03-22 Sven Neumann <sven@gimp.org>
69 * app/tools/gimptexttool.[ch]: preserve the text tool on image
70 changes. Instead connect to the text layer's "notify::modified"
71 signal and disconnect from the layer when it is modified.
74 2004-03-22 Michael Natterer <mitch@gimp.org>
76 * app/file/file-open.c (file_open_with_proc_and_display): removed
77 the undo clearing/sanitizing code...
79 (file_open_image): ...and added it here so *all* newly opened
80 images start with a clean and sane undo state.
82 * app/gui/file-commands.c (file_revert_confirm_callback): removed
83 (incomplete) undo sanitizing here too.
85 2004-03-22 Sven Neumann <sven@gimp.org>
87 * tools/gimp-remote.c: use putenv(); setenv() isn't available
88 everywhere (bug #137930).
90 2004-03-22 Michael Natterer <mitch@gimp.org>
92 * app/display/gimpdisplayshell.c (gimp_display_shell_reconnect):
93 call gimp_display_shell_expose_full() so the whole canvas gets
94 cleared when reverting the image.
96 2004-03-22 Sven Neumann <sven@gimp.org>
98 * libgimpbase/gimpparasiteio.c (gimp_pixpipe_params_parse): clamp
99 the pixpipe dimension to the allowed range. Fixes bug #137902.
101 2004-03-22 Sven Neumann <sven@gimp.org>
103 * app/text/gimptextlayer.c (gimp_text_layer_duplicate): put some
104 code back in that I removed accidentally.
105 (gimp_text_layer_render) freeze/thaw notifications to avoid that
106 two "notify::modified" signals are emitted.
108 2004-03-22 Raphaƫl Quinet <quinet@gamers.org>
110 * autogen.sh: Added a test for the version of intltool because
111 some of the recent versions are known to break the Tips file.
112 This fixes bug #137502. The message should be updated when a new
113 version of intltool is released.
115 2004-03-22 Simon Budig <simon@gimp.org>
117 * app/widgets/gimpdock.c: set the minimum of the
118 "default_heigt" property range to -1, this enables users
119 to disable this feature via gtkrc.
121 2004-03-22 Sven Neumann <sven@gimp.org>
123 * app/widgets/gimpdock.c: added a style property "default_height"
124 and set a window default size for new docks. Fixes bug #137876.
126 * themes/Default/gtkrc: document the default dock height.
128 * themes/Small/gtkrc: set a smaller default dock height here.
130 2004-03-21 Sven Neumann <sven@gimp.org>
132 * app/core/gimpundo.[ch]: added gimp_undo_type_to_name() a similar
133 function used to live in gimpimage-undo.[ch].
135 * app/core/gimpitemundo.c (gimp_item_undo_new): allow NULL as name
136 and generate it from the undo_type then.
138 * app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_undu(),
139 new function that allows to push an undo on the image.
141 * app/text/Makefile.am
142 * app/text/text-types.h
143 * app/text/gimptextundo.[ch]: added GimpTextUndo, derived from
146 * app/core/gimpimage-undo-push.c (gimp_image_undo_push_text_layer):
147 use the new code and simply push a text undo here.
149 * app/tools/gimptexttool.c: compress text undos by peeking at the
150 undo stack. Fixes bug #137766.
152 2004-03-21 Michael Natterer <mitch@gimp.org>
154 * libgimpbase/makefile.msc:
155 * libgimpmodule/makefile.msc: s/1.3/2.0/g
157 2004-03-21 Michael Natterer <mitch@gimp.org>
159 * app/display/gimpdisplayshell-callbacks.c
160 (gimp_display_shell_events): added run-time version
161 check and do the workaround for bug #136636 only if
162 the Gtk+ version is < 2.2.5.
164 * m4macros/gimp-2.0.m4: require gimp >= 2.0.0
166 2004-03-21 Sven Neumann <sven@gimp.org>
168 * plug-ins/helpbrowser/dialog.c: fixed check that suppresses
169 unnecessary reloads of the current page.
171 2004-03-21 Sven Neumann <sven@gimp.org>
173 * app/gui/debug-commands.h: corrected #define for the debug menu.
175 2004-03-21 Michael Natterer <mitch@gimp.org>
177 * app/widgets/gimpthumbbox.c: modify the event_box and preview
178 styles in GtkWidget::style_set() instead of in
179 gimp_thumb_box_new() so they follow theme changes correctly and
180 the labels stay visible when switching to an "inverse" theme.
182 2004-03-20 Sven Neumann <sven@gimp.org>
184 * Made 2.0rc1 release.
186 2004-03-20 Simon Budig <simon@gimp.org>
190 * tools/.cvsignore: updated to ignore 2.0 stuff :-)
192 2004-03-20 Pedro Gimeno <pggimeno@wanadoo.es>
194 Fixed several off-by-one problems in display:
196 * app/display/gimpdisplayshell.h (PROJ_ROUND): New macro to apply
197 to a float the same rounding method as the one used when rendering.
198 (SCALEX, SCALEY): Use PROJ_ROUND instead of truncating.
200 * app/display/gimpdisplayshell-transform.c
201 (gimp_display_shell_transform_xy): Accept gdouble image coordinates
202 even if the returned screen coordinates are integer. Use PROJ_ROUND
203 instead of (gint) to apply proper rounding. Fixes bug #137566.
205 * app/display/gimpdisplayshell-transform.h
206 (gimp_display_shell_transform_xy): changed accordingly.
208 * app/display/gimpdisplayshell-draw.c
209 * app/tools/gimpdrawtool.c: make sure everywhere that PROJ_ROUND
210 is used either directly or through gimp_display_shell_transform_xy,
211 instead of using arbitrary rounding methods.
213 2004-03-20 Sven Neumann <sven@gimp.org>
215 * configure.in: set version number to 2.0.0, version string to
219 * libgimp/Makefile.am
220 * libgimpbase/Makefile.am
221 * libgimpcolor/Makefile.am
222 * libgimpmath/Makefile.am
223 * libgimpmodule/Makefile.am
224 * libgimpthumb/Makefile.am
225 * libgimpwidgets/Makefile.am
226 * tools/Makefile.am: changed 1.3 to 2.0 all over the place.
229 * NEWS: updated for the 2.0rc1 release.
231 2004-03-20 Sven Neumann <sven@gimp.org>
233 * app/text/gimptextlayer.c: it wasn't such a good idea to let
234 GimpConfig take care of the text when duplicating a text layer; it
235 didn't create a copy. Do that manually again; fixes bug #137786.
237 2004-03-20 Sven Neumann <sven@gimp.org>
239 * app/tools/gimptexttool.c (gimp_text_tool_create_vectors): don't
240 take the image from tool->gdisp, this might be a NULL pointer.
242 * app/core/gimpimage-undo-push.c: removed debugging output.
244 2004-03-20 Sven Neumann <sven@gimp.org>
246 * app/widgets/gimppropwidgets.c (gimp_prop_size_entry_callback):
247 avoid to set the unit property with every size change; only set it
248 if it actually changed.
250 * app/core/gimpimage-undo-push.c (gimp_image_undo_push_text_layer):
251 allow to pass a GParamSpec that identifies a single text property
252 to be changed. In this case, don't store a GimpText object on the
253 undo stack but only the changed value.
255 * app/tools/gimptexttool.c: use the new undo feature to reduce the
256 memory footprint of text undo for the common case.
258 * app/text/gimptextlayer.c: changed accordingly.
260 2004-03-20 Simon Budig <simon@gimp.org>
262 * app/core/gimpimage-qmask.c: Applied slightly modified patch
263 from Sven. When the quickmask has a floating selection, anchor
264 it before loading the selection and deleting the qmask channel.
268 2004-03-20 Simon Budig <simon@gimp.org>
270 * app/gui/select-commands.[ch]: new callbacks to convert the
271 current vector to the selection.
273 * app/gui/image-menu.c: hook it into the menu. Default shortcut
278 2004-03-20 Sven Neumann <sven@gimp.org>
280 * app/text/gimptextlayer.c (gimp_text_layer_set): use the same
281 undo group logic as in the text tool. Not really necessary since
282 this function must not be called on modified text layers, but it's
283 more consistent this way.
285 2004-03-20 Simon Budig <simon@gimp.org>
287 * app/tools/gimpvectortool.c: Assigned "b" as the default shortcut
288 for the path tool ("Bezier").
292 2004-03-20 Sven Neumann <sven@gimp.org>
294 * app/tools/gimptexttool.c: update the text editor when the text
295 changes (for example when undoing text changes). Push a drawable
296 undo when applying text changes to a modified text layer.
298 2004-03-20 Simon Budig <simon@gimp.org>
300 * docs/gimp.1.in: fixed a mangeled entry and described
303 2004-03-20 Sven Neumann <sven@gimp.org>
305 * app/text/gimptextlayer.c (gimp_text_layer_render): don't fiddle
306 with the item size, gimp_drawable_set_tiles() does the right thing.
308 2004-03-20 Sven Neumann <sven@gimp.org>
310 * plug-ins/common/jigsaw.c: pack and show the "Jigsaw Style" radio
311 buttons. Fixes bug #137737.
313 2004-03-20 Simon Budig <simon@gimp.org>
315 * app/core/gimpundo.[ch]: Make it possible to refresh the preview
318 * app/tools/gimpeditselectiontool.c
319 * app/widgets/gimpitemtreeview.c
320 * app/widgets/gimplayertreeview.c: refresh the preview when
321 compressing undos. This ensures that the last preview in the undo
322 history always reflects the current state of the image.
324 2004-03-20 Sven Neumann <sven@gimp.org>
326 * app/core/gimpimage-undo-push.c (undo_pop_text_layer): fixed a
327 bug that Mitch spotted.
329 2004-03-20 Sven Neumann <sven@gimp.org>
331 * app/core/gimpimage-undo-push.c (undo_pop_text_layer): don't
332 exchange the text_layer's text object but sync it with the text
333 object from the undo step.
335 * app/text/gimptextlayer.c (gimp_text_layer_set): in case the
336 layer has a mask, push an undo group around the text modifications.
338 * app/tools/gimptexttool.c (gimp_text_tool_idle_apply): push a
339 text layer undo before applying the text changes.
341 2004-03-19 Sven Neumann <sven@gimp.org>
343 * plug-ins/common/spread.c: don't call g_rand_int_range() with
346 2004-03-19 Sven Neumann <sven@gimp.org>
348 * app/text/gimptextlayer.[ch]: added gimp_text_layer_set(), a
349 function that calls g_object_set() on the text-layer's text object
350 and pushes an undo step.
352 * app/display/gimpdisplayshell-dnd.c (gimp_display_shell_bucket_fill):
353 use the new function.
355 2004-03-19 Sven Neumann <sven@gimp.org>
357 * HACKING: some minor updates.
359 2004-03-19 Sven Neumann <sven@gimp.org>
361 * app/text/gimptextlayer.c (gimp_text_layer_render): if there's a
362 layer mask, resize it with the layer.
364 * app/tools/gimptexttool.c: don't change text_tool->layer before
365 calling gimp_text_tool_connect().
367 2004-03-19 Sven Neumann <sven@gimp.org>
369 * etc/ps-menurc: updated PS keybindings contributed by Eric Pierce.
371 2004-03-19 Sven Neumann <sven@gimp.org>
373 * app/tools/gimptexttool.[ch]: added a confirmation dialog that is
374 shown when the user attempts to modify a modified text layer.
376 2004-03-19 Michael Natterer <mitch@gimp.org>
378 * themes/Default/gtkrc
379 * themes/Small/gtkrc: don't set the height of GtkHScales to 11px
380 any longer. This modification was added only because at some time
381 GTK+ 1.3.x (!!!) looked strange with the default size.
383 2004-03-19 Sven Neumann <sven@gimp.org>
385 * libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal): if
386 a tooltip is given, put the label into an eventbox (bug #137612).
388 2004-03-19 Michael Natterer <mitch@gimp.org>
390 * app/display/gimpdisplayshell.c (gimp_display_shell_new): added
391 runtime check for GTK+ >= 2.4.0 and make sure the menubar's accels
392 can be invoked even if the menubar is invisible (workaround for
395 2004-03-19 Michael Natterer <mitch@gimp.org>
397 * app/gui/color-notebook.c (color_notebook_new)
398 * app/tools/gimpcroptool.c (crop_info_create)
399 * app/tools/gimptransformtool.c (gimp_transform_tool_dialog):
400 explicitely set a default response for dialog buttons which were
401 created using gtk_dialog_add_buttons().
403 2004-03-18 Sven Neumann <sven@gimp.org>
405 * app/tools/gimptexttool.[ch]: cleaned up text tool logic.
407 2004-03-18 Michael Natterer <mitch@gimp.org>
409 * app/widgets/gimpitemtreeview.c: simplified visibility and linked
410 undo compression by passing an UNDO type, not an UNDO_GROUP type.
412 Fixed (made weird) compression of "exclusive visible/linked" undos
413 to only compress undos of the same item type (only compress layer
414 visibility if we pushed a *layer* visibility before, not a channel
415 or vectors visibility). Even worse, we need to push the
416 visibility/linked state of *all* items when pushing an exclusive
417 group, otherwise compression won't work.
419 2004-03-18 Manish Singh <yosh@gimp.org>
421 * libgimp/gimptypes.h: removed obsolete GimpParamColor typedef.
423 2004-03-18 Sven Neumann <sven@gimp.org>
425 * plug-ins/script-fu/script-fu-console.c: applied a patch from
426 Kevin Cozens that slightly alters the Script-Fu console output.
428 2004-03-18 Sven Neumann <sven@gimp.org>
430 * app/gui/layers-commands.c (layers_text_tool)
431 * app/gui/layers-menu.c (layers_menu_update): treat modified text
432 layers like normal layers.
434 * app/gui/layers-commands.c (layers_edit_layer_query): added a
435 check button that gives access to the "auto-rename" property of a
438 * app/text/gimptextlayer.c: typo.
440 * app/widgets/gimppreviewrendererlayer.c
441 (gimp_preview_renderer_layer_render): show the text layer icon for
442 unmodified text layers only.
444 2004-03-18 Simon Budig <simon@gimp.org>
446 * app/widgets/gimpitemtreeview.c: compress visibility and linked
449 2004-03-18 Sven Neumann <sven@gimp.org>
451 * app/display/gimpdisplayshell-dnd.c (gimp_display_shell_bucket_fill):
452 added a missing call to gimp_image_flush().
454 * app/tools/gimptexttool.c: propagate text changes to the tool
457 * app/text/gimptextlayer.c: made "text", "auto-rename" and
458 "modified" properties of the text layer and copy them when
459 duplicating a text layer.
461 * app/text/gimptextlayer-xcf.[ch]: added utility functions to
462 convert the new properties to flags to be saved in the XCF file.
465 * app/xcf/xcf-private.h
466 * app/xcf/xcf-save.c: load and save text layer properties.
467 Disabled warnings about unknown properties for stable branches.
469 2004-03-18 Simon Budig <simon@gimp.org>
471 * app/gui/layers-commands.c: Initialize a new layer
472 unconditionally. Spotted by Roman Joost.
474 2004-03-18 Sven Neumann <sven@gimp.org>
476 * app/widgets/gimphelp.c: disabled debug output.
478 * plug-ins/help/domain.[ch]
479 * plug-ins/help/help.[ch]
480 * plug-ins/help/locales.c: improved error reporting, fixed bugs
481 and disabled debug output.
483 2004-03-18 Michael Natterer <mitch@gimp.org>
485 * plug-ins/common/CML_explorer.c
486 * plug-ins/common/gtm.c: changed procedure names to be all
487 lowercase so 2.0 ships with a sane namespace and doesn't give bad
488 examples to plug-in authors.
490 2004-03-18 Sven Neumann <sven@gimp.org>
492 Added support for localized help (bug #136996). Will need some
493 minor touches to improve error reporting but basically it works.
495 * plug-ins/help/Makefile.am
496 * plug-ins/help/help.h: new file with common defines.
498 * plug-ins/help/help.c
499 * plug-ins/help/locales.c: include help.h, made debugging output
502 * plug-ins/help/domain.[ch]: added a hash table with locales for
505 2004-03-18 Sven Neumann <sven@gimp.org>
507 * plug-ins/help/Makefile.am
508 * plug-ins/help/locales.[ch]: new files with code to handle locales.
510 * plug-ins/help/help.c: changed accordingly.
512 * plug-ins/help/domain.[ch]: added support for a fallback URL to
513 handle missing help content. I18n support is missing still.
515 2004-03-17 Simon Budig <simon@gimp.org>
517 * app/core/gimpbrushpipe.c: ensure that each rank of a
522 2004-03-17 Sven Neumann <sven@gimp.org>
524 * app/widgets/gimpbrushfactoryview.c
525 * app/widgets/gimpdatafactoryview.c
526 * app/widgets/gimppatternfactoryview.c: removed redundant code.
528 2004-03-17 Simon Budig <simon@gimp.org>
530 * app/gui/channels-commands.c
531 * app/gui/layers-commands.c
532 * app/gui/vectors-commands.c
533 * app/widgets/gimpitemtreeview.c: shuffled some
534 gimp_image_flush()'es around.
536 2004-03-17 Simon Budig <simon@gimp.org>
538 * app/gui/channels-commands.c
539 * app/gui/layers-commands.c
540 * app/gui/vectors-commands.c: Make sure that non-dialog creation
541 of layer/channels/vectors properly updates the image. Also
542 clear the new channel unconditionally.
544 Change the name of the newly created item to not include the "Copy".
547 * app/widgets/gimpitemtreeview.c: Don't try to assemble translated
550 * app/widgets/gimpchanneltreeview.c
551 * app/widgets/gimplayertreeview.c
552 * app/widgets/gimpvectorstreeview.c: properly overwrite the
553 tooltip for the "New" button.
555 Sorry, some real string changes ahere, but they were necessary.
557 2004-03-17 Michael Natterer <mitch@gimp.org>
559 * app/core/gimpdrawable-transform.c
560 (gimp_drawable_transform_paste): push the undo group around all
561 operations, not just around some of them. Pulled common code
562 out of the if() { } else { } construct. Cleanup.
564 2004-03-17 Simon Budig <simon@gimp.org>
566 * app/gui/plug-in-menus.c: Sort the plugin menu entries with
567 the mnemonics stripped. Avoids weird ordering in the "C" and
572 * app/widgets/gimpitemtreeview.c: make a simple click on the
573 "New" Button use defaults and use shift-click for the new-dialog
576 Some more useless button cleanup:
578 * app/widgets/gimpdatafactoryview.c: only create an Edit button
579 when the edit_function is set.
581 * app/core/gimp.c: don't set an edit func for the patterns.
583 * app/gui/patterns-menu.c: Don't create the "New", "Edit" and
584 "Duplicate" Menu entries for the patterns.
586 * app/widgets/Makefile.am
587 * app/widgets/widgets-types.h
588 * app/widgets/gimppatternfactoryview.[ch]: New widget:
589 gimp_pattern_factory_view. Necessary to be able to hide the
590 "duplicate" button...
592 * app/gui/dialogs-constructors.c: Use it.
594 2004-03-17 Sven Neumann <sven@gimp.org>
596 Changes for help i18n in the core, the rest will take place in the
599 * app/text/gimptext.[ch]: removed gimp_text_get_default_language()
601 * app/core/gimp-utils.[ch]: ... and added it here as
602 gimp_get_default_language().
604 * app/config/gimprc-blurbs.h
605 * app/config/gimpdisplayconfig.[ch]: added property "help-locales".
607 * app/widgets/gimphelp.c: use the new property and pass it to the
610 * app/core/gimpselection.c (gimp_selection_invalidate_boundary):
611 removed unused variable.
613 2004-03-17 Simon Budig <simon@gimp.org>
615 * app/widgets/gimplayertreeview.c
616 * app/widgets/gimpvectorstreeview.c
617 * app/widgets/gimpdatafactoryview.c: remove basically useless
618 edit buttons in the layers, vectors and patterns dialog.
620 * app/widgets/gimpitemtreeview.c: Make Shift-Click on the "New"
621 button create a new item using defaults.
623 2004-03-16 Michael Natterer <mitch@gimp.org>
625 * app/core/gimpdrawable.c (gimp_drawable_set_tiles): ref new
626 tiles before unrefing the old ones.
628 * app/core/gimpimage-undo-push.c: keep undo memsize exact by
629 adjusting undo->size when the stored data changes.
631 * app/core/gimpchannel.[ch] (gimp_channel_new_from_alpha)
632 * app/core/gimpchannel-select.[ch] (gimp_channel_select_alpha):
633 replaced "layer" parameter by "drawable".
635 * app/gui/layers-commands.c
636 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
638 * app/pdb/selection_cmds.c: regenerated.
640 * app/core/gimpchannel.c
641 * app/core/gimplayer.c
642 * app/core/gimplayermask.[ch]
643 * app/core/gimpselection.c: remdom cleanup & code review.
645 2004-03-16 Michael Natterer <mitch@gimp.org>
647 * app/core/gimplist.c (gimp_list_dispose): removed this function.
648 It was removing all items without freezing the container first,
649 which caused excessive signal handler activity in GimpContext.
651 Cleaned up the whole file a bit.
653 * app/core/gimpcontainer.c (gimp_container_dispose): call
654 gimp_container_clear() which does the right thing and e.g. speeds
655 up quitting significantly when gimp->documents is huge.
658 2004-03-16 Simon Budig <simon@gimp.org>
660 * app/gui/plug-in-commands.c: Update the Plugin Menu immediately
661 after setting the last invoked plugin. Fixes inconsistencies
662 between name shown and plugin invoked.
664 Fixes #136909, #137242 and #81479 (again, the fix in
665 lightening_main.c only probably was bogus, since this must not
666 rely on correctly written plugins).
668 * plug-ins/common/compose.c
669 * plug-ins/common/decompose.c
670 * plug-ins/common/film.c
671 * plug-ins/common/screenshot.c
672 * plug-ins/common/smooth_palette.c
673 * plug-ins/common/tile.c
674 * plug-ins/fits/fits.c: Ensure that each gimp_image_undo_enable()
675 had a gimp_image_undo_disable() first...
677 2004-03-16 Michael Natterer <mitch@gimp.org>
679 * app/core/gimpimage-undo-push.c: removed unused #includes.
681 2004-03-15 Sven Neumann <sven@gimp.org>
683 * app/tools/gimptexttool.c (gimp_text_tool_apply): look ahead in
684 the queue of pending changes and compress changes to the same
685 property. Fixed a couple of smaller issues.
687 * app/widgets/gimpwidgets-utils.c: corrected indentation.
689 2004-03-16 Michael Natterer <mitch@gimp.org>
691 * app/widgets/gimpthumbbox.c (gimp_thumb_box_new): set a fixed
692 width on the "filename" and "info" labels so they clip their texts
693 rather than expand the thumb_box when the text is too wide
694 (spotted by Jonathan Blandford).
696 2004-03-15 Michael Natterer <mitch@gimp.org>
698 * app/core/core-enums.[ch] (enum GimpUndoType): replaced
699 GIMP_UNDO_LAYER_MOD and GIMP_UNDO_CHANNEL_MOD by
700 GIMP_UNDO_DRAWABLE_MOD.
702 * app/core/gimpimage-undo-push.[ch]: ditto: replaced
703 gimp_image_undo_push_layer_mod() and
704 gimp_image_undo_push_channel_mod() by
705 gimp_image_undo_push_drawable_mod().
707 * app/core/gimpdrawable.[ch]: added undo_desc strings for "resize"
708 and "scale" to the GimpDrawableClass struct.
710 (gimp_drawable_scale)
711 (gimp_drawable_resize): pass push_undo = TRUE to
712 gimp_drawable_set_tiles_full() and use the undo_desc from the
715 (gimp_drawable_real_set_tiles): push a GIMP_UNDO_DRAWABLE_MOD here...
717 * app/core/gimpchannel.c
718 * app/core/gimplayer.c: ...and don't push undos in
719 GimpItem::scale(), GimpItem::resize(), GimpDrawable::set_tiles().
721 * app/core/gimpchannel.c: Removed even more bounds_known = FALSE
722 assignments from functions which already call
723 gimp_drawable_set_tiles().
725 2004-03-15 Michael Natterer <mitch@gimp.org>
727 * app/core/gimpdrawable.c (gimp_drawable_set_tiles_full): emit
728 "update" signals from the drawable before and after setting tiles
731 * app/core/gimpdrawable-offset.c (gimp_drawable_offset)
732 * app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste)
733 * app/core/gimpimage-undo-push.c (undo_pop_layer_mod, _channel_mod)
734 * app/text/gimptextlayer.c (gimp_text_layer_render)
735 * app/tools/gimptransformtool.c (gimp_transform_tool_doit):
736 removed calls to gimp_drawable_update().
738 * app/core/gimpdrawable-offset.c (gimp_drawable_offset): don't
739 push an undo step before calling gimp_drawable_set_tiles()
740 but simply pass push_undo == TRUE and the undo_desc.
742 2004-03-15 Michael Natterer <mitch@gimp.org>
744 * app/core/gimpdrawable.[ch]: added "offset_x" and "offset_y"
745 parameters to GimpDrawable::set_tiles().
747 (gimp_drawable_set_tiles): removed the "GimpImageType" parameter.
749 (gimp_drawable_set_tiles_full): new function adding type, offset_x
750 and offset_y parameters.
752 (gimp_drawable_real_set_tiles): set the drawable's offsets from
753 the offset parameters and its size from the passed TileManager's
754 size. Emit "size_changed" accordingly.
756 * app/core/gimpchannel.c
757 * app/core/gimpdrawable-offset.c
758 * app/core/gimpdrawable-transform.c
759 * app/core/gimpimage-convert.c
760 * app/core/gimpimage-undo-push.c
761 * app/core/gimplayer.c
762 * app/text/gimptextlayer.c
763 * app/tools/gimptransformtool.c: changed accordingly: removed
764 calls to gimp_viewable_size_changed() and all sorts of hackish
765 assignments of the drawable's width/height/offset_x/offset_y
768 2004-03-15 Michael Natterer <mitch@gimp.org>
770 * app/text/gimptextlayer.c (gimp_text_layer_render): don't call
773 * app/tools/gimpxttool.c (gimp_text_tool_apply): call it here
776 Now that we have a common place that exchanges drawable->tiles,
777 we can abstract away boundary invalidation for this operation:
779 * app/core/gimpdrawable.c (gimp_drawable_real_set_tiles):
780 call gimp_drawable_invalidate_boundary() before setting
783 * app/core/gimpchannel.c (gimp_channel_set_tiles)
784 * app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste)
785 * app/core/gimpimage-undo-push.c (undo_pop_layer_mod)
786 * app/core/gimplayer.c (gimp_layer_scale) (gimp_layer_resize)
787 (gimp_layer_flip) (gimp_layer_rotate) (gimp_layer_transform)
788 * app/text/gimptextlayer.c (gimp_text_layer_render): removed
789 calls to gimp_drawable_invalidate_boundary() from all functions
790 which finally call gimp_drawable_real_set_tiles().
792 * app/tools/gimptransformtool.c (gimp_transform_tool_doit): no
793 need to set channel->bounds_known to FALSE, because
794 gimp_drawable_set_tiles() already did this.
796 2004-03-15 Sven Neumann <sven@gimp.org>
798 * app/gui/splash.c: moved global variables to a struct and
799 optimized the area exposed from splash_update().
801 2004-03-15 Michael Natterer <mitch@gimp.org>
803 * app/core/gimpimage.[ch]: added "gboolean alpha_changed" to
804 GimpImageFlushAccumulator. Install an "alpha_changed" handler
805 on gimage->layers and set flush_accum.alpha_changed = TRUE
806 whenever the image's *only* layer changed its alpha.
808 * app/core/gimpimage-undo-push.c (undo_pop_layer_mod)
809 * app/core/gimplayer.c (gimp_layer_add_alpha): removed
810 explicit calls to gimp_image_alpha_changed().
812 2004-03-15 Simon Budig <simon@gimp.org>
814 * app/base/tile-swap.[ch]: Applied a modified version of a patch
815 from Raphaƫl, that implements a test if a swap file can be
816 created. Also make the failure message more verbose.
818 * app/base/base.[ch]: extend base_init() with a boolean return
819 to indicate if the test to create a swap file was OK.
821 * app/app_procs.c: Display a warning message at startup when the
826 2004-03-15 Michael Natterer <mitch@gimp.org>
828 * app/core/gimpdrawable.c (gimp_drawable_real_set_tiles): emit
829 "alpha_changed" if the drawable got/lost an alpha channel by
830 setting the new tiles.
832 * app/core/gimpimage-undo-push.c (undo_pop_layer_mod)
833 * app/core/gimplayer.c (gimp_layer_add_alpha): removed explicit
834 calls to gimp_drawable_alpha_changed().
836 2004-03-15 Michael Natterer <mitch@gimp.org>
838 Closer to text layer undo:
840 * app/core/gimpchannel.c (gimp_channel_set_tiles): invalidate the
841 channel's boundary and bounds.
843 * app/text/gimptextlayer.c: implement GimpDrawable::swap_pixels()
844 and set text_layer->modified = TRUE after upchaining.
846 (gimp_text_layer_render): use gimp_drawable_set_tiles() and
847 set text_layer->modified = FALSE afterwards.
849 * app/core/gimpimage-undo-push.c: cleaned up variable declarations
853 (undo_pop_channel_mod): use gimp_drawable_set_tiles() instead of
854 touching drawable->tiles manually. Now all pixel manipulation
855 (at least on layers) should be virtualized and can be detected by
858 2004-03-15 Michael Natterer <mitch@gimp.org>
860 Prepare the undo system for proper text layer undo:
862 * app/core/core-enums.[ch] (enum GimpUndoType): replaced
863 GIMP_UNDO_IMAGE and GIMP_UNDO_IMAGE_MOD by GIMP_UNDO_DRAWABLE.
865 * app/core/gimpimage-undo-push.[ch]: ditto: replaced
866 gimp_image_undo_push_image() and gimp_image_undo_push_image_mod()
867 by gimp_image_undo_push_drawable() which *always* expects to get a
868 TileManager passed. Also added g_return_if_fail()s to check if the
869 passed in tile manager follows the semantics of the "sparse"
872 (undo_pop_drawable): removed all code and call the new
873 gimp_drawable_swap_pixels() instead (see below).
875 * app/core/gimpdrawable.[ch] (gimp_drawable_push_undo): if tiles
876 are NULL, create a copy of the area here and always pass tiles to
877 gimp_image_undo_push_drawable(). Added lots of g_return_if_fail()
880 Added new vitrual function GimpDrawable::swap_pixels() which
881 does what undo_pop_drawable() did.
883 * app/core/gimpchannel.c: implement swap_pixels() and invalidate
884 the channel's bounds and boundary.
886 2004-03-15 Sven Neumann <sven@gimp.org>
888 * app/gui/preferences-dialog.c: don't show a web-browser setting
889 on win32, it's not used there (see bug #137173).
891 2004-03-15 Sven Neumann <sven@gimp.org>
893 * data/images/gimp_splash.png: splash image for GIMP 2.0 by Jimmac.
895 * app/gui/splash.[ch]: draw the text on the splash image, not
901 * docs/gimp.1.in: dropped support for the --no-splash-image
902 command-line option (not to be confused with --no-splash). It was
903 never very useful and makes even less sense in times where startup
904 notification is available.
906 2004-03-15 Simon Budig <simon@gimp.org>
908 * app/core/gimpimage.[ch]
909 * app/core/gimpimage-undo.c: renamed gimage->freeze_count
910 to gimage->undo_freeze_count (more explicit).
912 * app/file/file-open.c: Ensure that the undo system is enabled
913 after loading an image (to protect against broken loaders).
915 2004-03-14 Sven Neumann <sven@gimp.org>
917 * app/tools/gimpcolorpickertool.c
918 * app/tools/gimpcroptool.c
919 * app/tools/gimpimagemaptool.c
920 * app/tools/gimpmeasuretool.c
921 * app/tools/gimptransformtool.c: don't set tool dialogs transient
922 to the image window. Fixes bug #128833.
924 2004-03-14 Sven Neumann <sven@gimp.org>
926 * app/gui/about-dialog.c: don't abuse the SPLASHSCREEN window type
927 hint, instead make the about dialog a popup window and center it
930 2004-03-14 Sven Neumann <sven@gimp.org>
932 * app/widgets/gimptooldialog.c (gimp_tool_dialog_new): allow to
933 pass NULL as parent widget.
935 2004-03-14 Sven Neumann <sven@gimp.org>
937 * app/gui/splash.c: some code cleanup.
939 * app/gui/about_dialog.c: typo.
941 2004-03-14 Simon Budig <simon@gimp.org>
943 * plug-ins/common/jpeg.c: No need to use an undo_group *and*
944 freeze/thaw an image. Just using the latter keeps the undo
945 history ok in both directions. Also call gimp_displays_flush()
946 to make sure the undo keyboard shortcuts are enabled after the
949 2004-03-14 Simon Budig <simon@gimp.org>
951 * app/core/gimpimage.[ch]
952 * app/core/gimpimage-undo.c: introduced a freeze counter, so
953 that undo_freeze(); undo_freeze(); undo_thaw(); no longer
954 results in an thawed undo stack.
958 This might reveal other places in the code where
959 gimp_image_undo_freeze/thaw or gimp_image_undo_disable/enable
960 were used in an inconsistent (not-paired) manner.
962 * app/file/file-open.c: e.g. here, where _enable was called on
963 the new image. The intention was to free a potential undo stack,
964 so now call gimp_image_undo_free() instead.
966 2004-03-14 Sven Neumann <sven@gimp.org>
968 * app/text/gimptextlayer.[ch]: removed all idle handling here.
969 Changes to the text-layer's text object all applied synchronously.
971 * app/display/gimpdisplayshell-dnd.c
972 * app/text/gimptextlayer-transform.c: removed now obsolete calls
973 to gimp_text_layer_flush().
975 * app/tools/gimptexttool.[ch]: queue up changes to the proxy text
976 object and apply them in one go from a low-priority idle handler.
977 This is basically what GimpTextLayer used to do.
979 2004-03-14 Sven Neumann <sven@gimp.org>
981 * app/tools/gimptextoptions.[ch]
982 * app/tools/gimptexttool.[ch]: introduced a proxy GimpText object
983 that is tied to the GimpTextOptions for the lifetime of the text
984 tool. Brings us one step closer to text undo...
986 2004-03-14 Michael Natterer <mitch@gimp.org>
988 * app/core/gimpdrawable-offset.c (gimp_drawable_offset)
989 * app/core/gimpdrawable.c (gimp_drawable_scale) (gimp_drawable_resize)
990 * app/core/gimplayer.c (gimp_layer_convert) (gimp_layer_add_alpha):
991 use gimp_drawable_set_tiles() instead of fiddling with
992 drawable->tiles, ->bytes etc. manually.
994 2004-03-13 Michael Natterer <mitch@gimp.org>
996 * app/widgets/gimpdialogfactory.[ch]: made enum
997 GimpDialogVisibilityState and GIMP_DIALOG_VISIBILITY_KEY public.
999 * app/widgets/gimpsessioninfo.c (gimp_session_info_get_geometry):
1000 only look at GTK_WIDGET_VISIBLE(info->widget) if the dialog's
1001 visibility state is GIMP_DIALOG_VISIBILITY_UNKNOWN and map the
1002 visibility state to info->open otherwise.
1006 2004-03-13 Sven Neumann <sven@gimp.org>
1008 * app/core/gimpdrawable-blend.c (gradient_calc_shapeburst_*):
1009 applied a patch from Pedro Gimeno that fixes the crash reported in
1012 2004-03-13 Michael Natterer <mitch@gimp.org>
1014 Completed the fix for bug #136702:
1016 * app/core/gimpitem.[ch]: added "gboolean supersample" and
1017 "gint recursion_level" to GimpItem::transform().
1019 * app/core/gimpitem-linked.[ch] (gimp_item_linked_transform): ditto.
1021 * app/core/gimpdrawable-transform.[ch]: added "recursion_level"
1022 parameters and removed the RECURSION_LEVEL #define.
1024 * app/core/gimpchannel.c
1025 * app/core/gimpdrawable.c
1026 * app/core/gimplayer.c
1027 * app/vectors/gimpvectors.c: changed accordingly.
1029 * app/tools/gimptransformoptions.[ch]: added new property
1030 "recursion_level" which is not serializable and has no GUI. Pretty
1031 useless, but it's IMHO better to hardcode the default value here
1032 than in gimpdrawable-transform.c
1034 * app/tools/gimptransformtool.c: changed accordingly.
1036 * tools/pdbgen/pdb/transform_tools.pdb: hardcode "recursion_level"
1039 * app/pdb/transform_tools_cmds.c: regenerated.
1041 2004-03-13 Simon Budig <simon@gimp.org>
1043 * app/widgets/widgets-enums.h
1044 * app/widgets/gimppreviewrenderer.[ch]: New function
1045 gimp_preview_renderer_set_border_type that takes an enum instead
1046 of an color to set the color of the border.
1048 * app/widgets/gimpcellrendererviewable.c: check for the
1049 current border_type and change it to black when it is white and
1050 the cell is unselected. This should be solved in a better way
1055 * app/widgets/gimplayertreeview.c
1056 * app/widgets/gimpcontainergridview.c: changed to use the new
1059 2004-03-13 Pedro Gimeno <pggimeno@wanadoo.es>
1061 * plug-ins/script-fu/scripts/carve-it.scm
1062 * plug-ins/script-fu/scripts/chrome-it.scm
1063 * plug-ins/script-fu/scripts/crystal-logo.scm
1064 * plug-ins/script-fu/scripts/sota-chrome-logo.scm: Fixed to avoid
1065 pasting to a layer that was not added to any image. This was causing
1066 the scripts to abort, because gimp-edit-paste is now failing in that
1069 2004-03-13 Sven Neumann <sven@gimp.org>
1071 * app/tools/gimpblendoptions.c: override the "gradient_repeat"
1072 property inherited from GimpPaintOptions and set the default to
1073 GIMP_REPEAT_NONE. Seems more appropriate for the blend tool.
1075 2004-03-13 Sven Neumann <sven@gimp.org>
1077 * app/text/gimptextlayer.[ch]: implement GimpDrawable functions
1078 that affect the tiles and mark the text layer as modified. Added
1079 new function gimp_drawable_is_text_layer() that checks whether a
1080 drawable is an unmodified text layer.
1082 * app/display/gimpdisplayshell-dnd.c (gimp_display_shell_bucket_fill):
1083 use gimp_drawable_is_text_layer() and only set the text color if the
1084 text layer is unmodified. Fixes bug #136623.
1086 2004-03-13 Sven Neumann <sven@gimp.org>
1088 * app/core/gimpdrawable.[ch]: added new virtual function
1089 GimpDrawable::set_tiles().
1091 * app/core/gimpchannel.c
1092 * app/core/gimplayer.c: push an undo before chaining up in
1095 * app/core/gimpdrawable-transform.c
1096 * app/core/gimpimage-convert.c
1097 * app/tools/gimptransformtool.c: use gimp_drawable_set_tiles()
1098 instead of fiddling with the drawable's tile manager directly.
1100 2004-03-13 Sven Neumann <sven@gimp.org>
1102 * app/tools/gimptransformoptions.c (gimp_transform_options_gui): for
1103 consistency, changed the label from "Supersample" to "Supersampling".
1105 2004-03-13 Sven Neumann <sven@gimp.org>
1107 * app/paint-funcs/paint-funcs.c: use g_printerr() for debug output.
1109 * app/base/tile-manager.c: cleaned up stone-old debug output.
1111 2004-03-13 Raphaƫl Quinet <quinet@gamers.org>
1113 * app/tools/gimptransformoptions.[ch]: added new "supersample"
1114 property to GimpTransformOptions and added corresponding check
1115 button in the option dialog for the transform tools.
1117 * app/core/gimpdrawable-transform.[ch],
1118 * app/core/gimpdrawable.c,
1119 * app/tools/gimptransformtool.c: new "gboolean supersample"
1120 parameter added to gimp_drawable_transform_tiles_affine() and
1121 gimp_drawable_transform_affine().
1123 * tools/pdbgen/pdb/transform_tools.pdb: ditto. For the PDB calls,
1124 the supersample parameter is set to FALSE for "rotate" and "shear"
1125 and set to TRUE for "perspective", "scale" and "transform_2d".
1127 * app/pdb/transform_tools_cmds.c: regenerated.
1129 The new "supersample" option lets the user decide if the
1130 transformations should use supersampling (RECURSION_LEVEL 3) or
1131 not. This fixes both bug #136702 and bug #109817. Hopefully for
1134 2004-03-13 Raphaƫl Quinet <quinet@gamers.org>
1136 * app/tools/gimptexttool.c (gimp_text_tool_set_layer): added
1137 missing semicolon that was breaking the build.
1139 2004-03-13 Sven Neumann <sven@gimp.org>
1141 * app/tools/gimptexttool.c (gimp_text_tool_set_layer): bugfix.
1143 2004-03-13 Sven Neumann <sven@gimp.org>
1145 * app/widgets/gimpcontainermenuimpl.c: marked missing string for
1146 translation (spotted by Branko Collin).
1148 2004-03-13 Sven Neumann <sven@gimp.org>
1150 * app/tools/gimptextoptions.[ch]: use a GimpSizeEntry for the
1153 * app/tools/gimptexttool.c: set the size entry's resolution to the
1154 image resolution. Fixes bug #118356.
1156 2004-03-13 Sven Neumann <sven@gimp.org>
1158 * app/tools/gimptexttool.[ch]: keep a pointer on the active text
1159 layer and let the tool follow the active layer. Fixes bug #124970.
1161 * app/gui/layers-commands.c: changed accordingly.
1163 2004-03-12 Michael Natterer <mitch@gimp.org>
1165 Cleaned up the remaining libgimp API issues:
1167 * libgimp/gimppixelfetcher.[ch] (enum GimpPixelFetcherEdgeMode):
1168 added new enum value GIMP_PIXEL_FETCHER_EDGE_BACKGROUND so we
1169 can actually use the bg_color feature of the GimpPixelFetcher.
1171 (gimp_pixel_fetcher_new): added "gboolean shadow" parameter
1172 because it must not change while the GimpPixelFetcher exists.
1174 (gimp_pixel_fetcher_set_shadow): removed.
1176 (gimp_pixel_fetcher_set_bg_color): added "GimpRGB *color"
1177 parameter and don't call gimp_palette_get_foreground().
1179 (gimp_pixel_fetcher_get_pixel): handle BACKGROUND mode. Cleaned up
1182 (gimp_get_bg_guchar)
1183 (gimp_get_fg_guchar): removed these functions...
1185 * libgimp/gimpdrawable.[ch]: ...and added
1186 gimp_drawable_get_color_uchar() instead.
1189 * plug-ins/common/blinds.c
1190 * plug-ins/common/checkerboard.c
1191 * plug-ins/common/cubism.c
1192 * plug-ins/common/curve_bend.c
1193 * plug-ins/common/displace.c
1194 * plug-ins/common/edge.c
1195 * plug-ins/common/illusion.c
1196 * plug-ins/common/mblur.c
1197 * plug-ins/common/mosaic.c
1198 * plug-ins/common/plasma.c
1199 * plug-ins/common/polar.c
1200 * plug-ins/common/ripple.c
1201 * plug-ins/common/shift.c
1202 * plug-ins/common/spread.c
1203 * plug-ins/common/tileit.c
1204 * plug-ins/common/whirlpinch.c
1205 * plug-ins/gflare/gflare.c
1206 * plug-ins/libgimpoldpreview/gimpoldpreview.c: changed accordingly.
1208 (Didn't test the changed plug-ins because I wanted to get this
1209 API change into CVS as soon as possible)
1211 2004-03-12 Raphaƫl Quinet <quinet@gamers.org>
1213 * app/core/gimpdrawable-transform.c (RECURSION_LEVEL): Set to 0 in
1214 order to avoid nasty blurring effects. Fixes bug #136702, but
1215 re-opens bug #109817. This is the best compromise for 2.0.
1216 Later, we will have to make the supersampling optional as
1217 suggested in the original patch to bug #109817.
1219 2004-03-12 Sven Neumann <sven@gimp.org>
1221 * plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
1222 applied a patch from Kevin Cozens that improves Script-Fu error
1223 reporting (addresses bug #73610).
1225 2004-03-12 Sven Neumann <sven@gimp.org>
1227 * data/misc/gimp.keys.in: removed category entry. This would have
1228 to be translated and it's not our job to define where image/jpeg
1231 2004-03-12 Sven Neumann <sven@gimp.org>
1233 * app/tools/gimpcurvestool.c
1234 * app/tools/gimpinktool.c
1235 * app/tools/gimptool.c: print debug output to stderr.
1237 2004-03-12 Simon Budig <simon@gimp.org>
1239 * libgimp/gimppixelfetcher.c: fixed off-by-one error
1240 in gimp_pixel_fetcher_get_pixel () for EDGE_BLACK mode.
1244 2004-03-12 Sven Neumann <sven@gimp.org>
1246 * app/display/gimpdisplayshell-dnd.c (gimp_display_shell_bucket_fill):
1247 only set the text layer's color if a color is being dropped. Fixes
1248 crash on pattern drops (bug #136645).
1250 2004-03-12 Sven Neumann <sven@gimp.org>
1252 * app/tools/gimptexttool.c (gimp_text_tool_editor): always connect
1253 the "text_changed" signal so text layers can be edited again.
1255 2004-03-12 Sven Neumann <sven@gimp.org>
1257 * app/gui/tool-options-menu.c (tool_options_menu_entries): added
1258 explicit menu branches to allow them to be translated (bug #136937).
1260 2004-03-11 Sven Neumann <sven@gimp.org>
1262 * app/tools/gimptextoptions.c (gimp_text_options_create_text):
1263 set the color of the new text from the context foreground color.
1265 2004-03-11 Sven Neumann <sven@gimp.org>
1267 * app/tools/gimptextoptions.[ch]: redid the color handling.
1268 Still not perfect, but it is somewhat cleaner.
1270 2004-03-11 Sven Neumann <sven@gimp.org>
1272 * app/core/gimpcontext.c: reverted a small change that I didn't
1273 want to commit at all.
1275 2004-03-11 Sven Neumann <sven@gimp.org>
1277 * app/config/gimpconfig-utils.c: made gimp_config_sync() and
1278 gimp_config_connect() also work on objects of different types.
1279 Properties with the same name and the same type are synced /
1282 * app/core/gimpcontext.[ch]: added convenience functions to get/set
1285 * app/tools/gimptextoptions.[ch]: don't hold a GimpText object
1286 that duplicates properties like font and color which are in
1287 GimpContext already. Instead added all text properties that are
1288 controlled from the text tool options. Handling of the foreground
1289 color is somewhat broken and needs a GimpContext wizard (Mitch!).
1291 * app/text/gimptext.c: blurbs are not any longer needed now that
1292 the property widgets are created from the GimpTextOptions.
1294 * app/tools/gimptexttool.c: changed accordingly.
1296 * app/widgets/gimptexteditor.[ch]: use an internal GtkTextBuffer
1297 and emit "text-changed" when it changes.
1299 2004-03-11 Sven Neumann <sven@gimp.org>
1301 * plug-ins/common/colortoalpha.c: when running in interactive
1302 mode, get the foreground color after restoring the parameters from
1305 2004-03-11 Sven Neumann <sven@gimp.org>
1307 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_initialize):
1308 connect to notify::preview using g_signal_connect_object().
1311 2004-03-10 Manish Singh <yosh@gimp.org>
1313 * data/misc/gimp.applications.in: GIMP_VISIBLE_NAME doesn't exist
1314 anymore. Just use "The GIMP".
1316 2004-03-10 Manish Singh <yosh@gimp.org>
1318 * acinclude.m4: #include <string.h> for gimp-print test. Fixes
1321 2004-03-10 Michael Natterer <mitch@gimp.org>
1323 * app/display/gimpdisplayshell-callbacks.c
1324 (gimp_display_shell_canvas_tool_events): redid last change so it
1325 calls tool_manager_cursor_update_active() *before*
1326 tool_manager_button_press_active(). Removes the ugly
1327 "force_cursor_updating" boolean again and adds even more ugly code
1328 duplication instead.
1330 2004-03-10 Michael Natterer <mitch@gimp.org>
1332 * app/display/gimpdisplayshell-callbacks.c
1333 (gimp_display_shell_canvas_tool_events): added new local state
1334 "gboolean force_cursor_updating" which makes the function call
1335 tool_manger_cursor_update_active() even though a mouse button is
1336 pressed. Fixes tool cursors in click-to-focus mode. Reported by
1339 2004-03-10 Michael Natterer <mitch@gimp.org>
1341 * app/display/gimpdisplayshell-callbacks.c
1342 (gimp_display_shell_events): work around bug #136636 (Win32 only)
1343 and ask the current device for its modifier state in order to fill
1344 in the missing GDK_BUTTON*_MASK bits in GdkEventKey::state.
1346 2004-03-10 Ville PƤtsi <drc@gimp.org>
1349 * configure.in: Removed gimp.spec creation and distribution.
1351 2004-03-10 Michael Natterer <mitch@gimp.org>
1353 * app/display/gimpdisplayshell-callbacks.c: disabled debugging
1354 output when pushing/popping the move too using <space>.
1356 2004-03-10 Simon Budig <simon@gimp.org>
1358 * app/base/cpu-accel.c
1359 * app/display/gimpdisplayshell-dnd.c
1360 * app/tools/gimpvectortool.c
1361 * app/vectors/gimpbezierstroke.c
1362 * app/vectors/gimpvectors-import.c: Removed, disabled or
1363 conditionalized some debug output.
1365 There still is debug output when pushing/popping the move tool
1366 via space bar. Mitch wanted to look at that.
1368 2004-03-10 Simon Budig <simon@gimp.org>
1370 * app/widgets/gimpdnd.c: Disabled debug output and made it
1371 conditional with DEBUG_DND.
1373 2004-03-10 Michael Natterer <mitch@gimp.org>
1375 * app/paint-funcs/paint-funcs.h
1376 * libgimpwidgets/gimphelpui.c: fixed prototypes to match function
1377 definitions. Fixes bug #136343.
1379 * app/base/temp-buf.c (temp_buf_new): remove unused variable.
1381 2004-03-10 Michael Natterer <mitch@gimp.org>
1383 * app/tools/gimpdrawtool.c
1384 * app/tools/gimpselectiontool.c
1385 * app/tools/gimptool.c
1386 * app/tools/gimptransformtool.c: minor cleanup.
1388 2004-03-10 Michael Natterer <mitch@gimp.org>
1390 * app/tools/tool_manager.c (tool_manager_image_dirty): don't
1391 reinitialize the tool when the image becomes dirty but just cancel
1392 it (fixes bug #131965). Also, only cancel the tool if the tool is
1393 operating on one of the dirtied image's displays (fixes bug #12253).
1395 2004-03-10 Sven Neumann <sven@gimp.org>
1397 * plug-ins/imagemap/imap_object_popup.c: marked missing strings
1398 for localization (bug #136713).
1400 * plug-ins/imagemap/imap_stock.c (imap_stock_items): fixed bogus
1401 translation domain for stock item (bug #136713).
1403 2004-03-10 Michael Natterer <mitch@gimp.org>
1405 * tools/pdbgen/pdb/edit.pdb (edit_cut, edit_copy): added boolean
1406 return value indicating whether the cut/copy was successful.
1409 * app/pdb/edit_cmds.c
1410 * libgimp/gimpedit_pdb.c: regenerated.
1412 2004-03-10 Sven Neumann <sven@gimp.org>
1414 * plug-ins/ifscompose/ifscompose.c: added missing localization for
1415 popup menu (bug #136706).
1417 2004-03-10 Michael Natterer <mitch@gimp.org>
1419 * app/gui/file-save-dialog.c (file_save_dialog_save_image): added
1420 boolean return value and don't hide the file dialog on success but
1423 (file_save_dialog_response)
1424 (file_save_overwrite_callback): hide the file dialog here instead.
1426 2004-03-09 Michael Natterer <mitch@gimp.org>
1428 * app/tools/gimpmovetool.c (gimp_move_tool_button_press): redid my
1429 last layer_mask vs. layer move fix by reordering the whole
1430 function: now we first check if we can pick a path, guide or layer
1431 and bail out early if we can't; do the actual init_edit_selection()
1432 calls in a trivial unconditional switch() after that picking
1433 check. Removes code duplication and makes the whole function less
1436 Cleaned up the whole file a bit.
1438 2004-03-09 Sven Neumann <sven@gimp.org>
1440 * app/widgets/gimphelp.c (gimp_help_internal): call
1441 procedural_db_destroy_args() with the correct nargs.
1443 2004-03-09 Simon Budig <simon@gimp.org>
1445 * app/gui/preferences-dialog.c: Resurrect the "Save"-Button
1446 in the input-devices dialog, to avoid to confuse the users
1447 as described in bug #128588. This is not a proper fix though,
1448 since the input device configuration should be independant
1449 from the tool configuration. However, we can bump this bug
1452 2004-03-09 Sven Neumann <sven@gimp.org>
1454 * plug-ins/gimpressionist/general.c: fixed typo (bug #136610).
1456 2004-03-09 Sven Neumann <sven@gimp.org>
1458 Finished some work that Brix started on the help system. It's
1459 now possibly to use an external web-browser for context help
1463 * plug-ins/Makefile.am
1464 * plug-ins/help/Makefile.am
1465 * plug-ins/help/domain.[ch]
1466 * plug-ins/help/help.c: new plug-in that does the help domain
1467 management. Most of this used to live in the helpbrowser plug-in.
1469 * plug-ins/helpbrowser/Makefile.am
1470 * plug-ins/helpbrowser/domain.[ch]: removed these two files here.
1472 * plug-ins/helpbrowser/helpbrowser.c: changed accordingly.
1474 * app/widgets/gimphelp.c: use the new help plug-in.
1476 2004-03-08 Sven Neumann <sven@gimp.org>
1478 * app/gui/convert-dialog.c (indexed_palette_select_palette): added
1479 a message explaining that GIMP cannot convert to a palette with
1480 more than 256 colors. Should actually not list palettes that don't
1481 match this criteria, but we'll leave that change for later (see
1484 2004-03-08 Manish Singh <yosh@gimp.org>
1486 * app/plug-in/plug-in.h: Use GPid with newer glib so that we work
1487 cleanly with the new API.
1489 2004-03-08 Sven Neumann <sven@gimp.org>
1491 * app/display/gimpdisplayshell.c: redone this change. We should
1492 probably add a GimpMessageDialog to avoid duplicating this code
1495 2004-03-08 Dave Neary <bolsh@gimp.org>
1497 * app/display/gimpdisplayshell.c: First attempt to resolve bug
1498 #107009. This changes the wording on the buttons to "Discard
1499 changes" and "Cancel" when closing an insaved image. However I
1500 think the absence of icons is a but ugly. I would like to add
1501 respectively the icons from GTK_STOCK_DELETE and GTK_STOCK_CANCEL
1502 to these two buttons.
1504 2004-03-08 Sven Neumann <sven@gimp.org>
1506 * plug-ins/common/svg.c (run): added missing call to INIT_I18N()
1507 (spotted by Yuheng Xie, bug #136535).
1509 2004-03-08 Manish Singh <yosh@gimp.org>
1511 * plug-ins/pygimp/plug-ins/shadow_bevel.py: don't pass extra
1512 parameters to undo group functions. Fixes #136524.
1514 2004-03-08 Sven Neumann <sven@gimp.org>
1516 * plug-ins/common/mng.c (run): added missing call to INIT_I18N()
1517 (spotted by iiccii@hotmail.com).
1519 2004-03-07 Sven Neumann <sven@gimp.org>
1521 * tools/pdbgen/pdb/edit.pdb (gimp-edit-copy, gimp-edit-cut)
1522 removed some comments that dated back to the time when these
1523 functions used to take image and drawable parameters.
1525 * app/pdb/edit_cmds.c
1526 * libgimp/gimpedit_pdb.c: regenerated.
1528 2004-03-07 Michael Natterer <mitch@gimp.org>
1530 * app/core/gimp-edit.c (gimp_edit_extract): fixed bug added when
1531 factoring out gimp_edit_extract(): check if tile_manager_crop()
1532 cropped away the whole TileManager before making a GimpBuffer from
1535 2004-03-07 Sven Neumann <sven@gimp.org>
1537 * gimp.spec.in: removed references to static libraries. These
1538 are not any longer built by default.
1540 2004-03-07 Sven Neumann <sven@gimp.org>
1542 * libgimp/gimpfontmenu.c (gimp_font_select_widget_new): use
1543 GIMP_STOCK_FONT instead of GTK_STOCK_SELECT_FONT.
1545 2004-03-07 Sven Neumann <sven@gimp.org>
1547 Made size of undo previews configurable. Not dynamic for now, but
1548 at least not hardcoded any longer. Fixes bug #119905:
1550 * app/config/gimpcoreconfig.[ch]
1551 * app/config/gimprc-blurbs.h: added "undo-preview-size" property.
1553 * app/core/gimpundo.[ch]: use the new property instead of a
1556 * app/widgets/gimpundoeditor.[ch]: added a "preview-size"
1559 * app/gui/dialogs-constructors.c: changed accordingly.
1561 * app/gui/preferences-dialog.c: added a widget to control the undo
1564 2004-03-07 Sven Neumann <sven@gimp.org>
1566 * tools/gimp-remote.c: more cleanup.
1568 2004-03-07 Sven Neumann <sven@gimp.org>
1570 * tools/Makefile.am (AM_CPPFLAGS): define GIMP_APP_VERSION
1572 * tools/gimp-remote.c: when starting a new gimp, make sure the
1573 desktop-startup-id gets passed to it. Makes startup notification
1574 work correctly again.
1576 2004-03-06 Sven Neumann <sven@gimp.org>
1578 * plug-ins/common/tiff.c (run): corrected check for number of PDB
1579 parameters. Fxes bug #136403.
1581 * app/widgets/gimpfontview.c: removed unused variables.
1583 2004-03-06 Sven Neumann <sven@gimp.org>
1585 * libgimpwidgets/gimpquerybox.c (query_box_disconnect): disconnect
1586 the response handler to avoid that the query_box callback is being
1587 called multiple times. Fixes bug #136371.
1589 2004-03-05 Sven Neumann <sven@gimp.org>
1591 * plug-ins/common/plasma.c (add_random): check random range before
1592 calling g_rand_int_range(). Fixes bug #136321.
1594 2004-03-05 Sven Neumann <sven@gimp.org>
1596 * plug-ins/libgimpoldpreview/gimpoldpreview.c: include
1597 stdplugins-intl.h so that "Preview" ends up in the plug-in
1598 translation domain (bug #136303).
1600 2004-03-05 Sven Neumann <sven@gimp.org>
1602 * app/tools/gimplevelstool.c: compute the slider positions in the
1603 expose event handler so that the sliders get positioned correctly
1604 when the dialog is resized.
1606 2004-03-05 Sven Neumann <sven@gimp.org>
1608 * libgimpwidgets/gimpwidgets.c (gimp_random_seed_new): resurrected
1609 a mnemonic that was lost lately (1.88 -> 1.89) but still exists in
1612 2004-03-05 Michael Natterer <mitch@gimp.org>
1614 * app/tools/gimpcurvestool.c: #include "widgets/gimppropwidgets.h"
1616 2004-03-05 Sven Neumann <sven@gimp.org>
1618 * app/tools/gimpcurvestool.c
1619 * app/tools/gimplevelstool.c
1620 * app/tools/gimpthresholdtool.c: added buttons to toggle the
1621 histogram scale from the tool dialogs. Fixes bug #136227.
1623 2004-03-04 Michael Natterer <mitch@gimp.org>
1625 * app/tools/gimpmovetool.c (gimp_move_tool_button_press): if we
1626 pick a layer to move and this layer has a mask which is being
1627 edited (active), start moving the mask, not the layer.
1629 2004-03-04 Sven Neumann <sven@gimp.org>
1631 * app/config/gimprc-blurbs.h: marked new strings for translation.
1633 * libgimpwidgets/gimpstock.h: added #defines for missing icons.
1634 This allows us to replace them later without changing the API.
1636 * app/gui/dialogs-constructors.c
1637 * app/gui/dialogs-menu.c
1638 * app/gui/gradient-editor-commands.c
1639 * app/gui/image-menu.c
1640 * app/gui/toolbox-menu.c
1641 * app/tools/gimppaintoptions-gui.c
1642 * app/tools/gimptextoptions.c
1643 * app/widgets/gimppaletteeditor.c: use the new stock icon names
1644 instead of abusing GTK+ and GIMP tool stock icons.
1646 * app/gui/preferences-dialog.c (prefs_dialog_new): added icons
1647 to the new check buttons.
1649 2004-03-04 Simon Budig <simon@gimp.org>
1651 * app/gui/preferences-dialog.c: remove the widgets for
1652 global-font and global-palette, since these are no options
1653 for multiple tools and have no visible effect for the user.
1655 2004-03-04 Sven Neumann <sven@gimp.org>
1657 * autogen.sh: follow the changes done for other modules such as
1658 glib, pango and gtk+:
1660 - exit with $? instead of 1 in case of failure
1661 - exit with $? if ./configure failed
1662 - removed --enable-gtk-doc option
1663 - added $AUTOGEN_CONFIGURE_ARGS
1665 * HACKING: document the new behaviour.
1667 2004-03-04 Michael Natterer <mitch@gimp.org>
1669 * app/config/gimpcoreconfig.[ch]
1670 * app/config/gimprc-blurbs.h: added boolean properties
1671 "global-brush", "global-pattern" etc.
1673 * app/gui/preferences-dialog.c: added GUI for them to the
1674 "Tool Options" page.
1676 * app/tools/tool_manager.c (tool_manager_tool_changed): honor the
1677 new prefs options when copying the new tool's properties.
1680 2004-03-04 Michael Natterer <mitch@gimp.org>
1682 * app/core/gimptoolinfo.c: minor cleanup.
1684 2004-03-04 Michael Natterer <mitch@gimp.org>
1686 * app/widgets/gimpfiledialog.c (gimp_file_dialog_init): eek, the
1687 separator crept back in while hacking GimpFileDialog. Removed it
1690 2004-03-04 Sven Neumann <sven@gimp.org>
1692 * app/widgets/gimpwidgets-utils.c (gimp_message_box): set the
1693 window icon to the icon displayed in the message dialog.
1695 2004-03-04 Simon Budig <simon@gimp.org>
1697 * plug-ins/common/animationplay.c: Display Frame numbers from
1698 1 to n instead of 0 to n-1. Less confusing for the user.
1702 2004-03-04 Sven Neumann <sven@gimp.org>
1704 * Made 2.0pre4 release.
1706 2004-03-04 Simon Budig <simon@gimp.org>
1708 * app/widgets/gimpimagedock.[ch]: #ifdef'ed the code for
1709 the global shortcuts and disabled it.
1713 2004-03-03 Sven Neumann <sven@gimp.org>
1715 * app/vectors/gimpvectors-import.c (gimp_vectors_import): better
1716 error reporting in case of a parser error.
1718 2004-03-03 Simon Budig <simon@gimp.org>
1720 * app/xcf/xcf-load.c: make the path-loading debug output conditional.
1722 2004-03-03 Sven Neumann <sven@gimp.org>
1724 * app/core/gimpimagefile.c (gimp_imagefile_get_new_preview):
1725 let GdkPixbuf scale the thumbnail. It does a nicer job than
1728 2004-03-03 Michael Natterer <mitch@gimp.org>
1730 * app/widgets/gimpcolormapeditor.c (gimp_colormap_editor_class_init):
1731 GDK_TYPE_MODIFIER_TYPE are flags, not enum values, use the
1732 right marshaller for the "selected" signal.
1734 2004-03-03 Michael Natterer <mitch@gimp.org>
1736 * app/widgets/gimppreviewrendererimagefile.[ch]: moved the
1737 (disabled) ENABLE_FILE_SYSTEM_ICONS from the .c to the .h file and
1738 #ifdef the "gpointer file_system" member with it.
1740 2004-03-03 Simon Budig <simon@gimp.org>
1742 * app/vectors/gimpvectors.c: fixed offset handling. Vectors
1743 objects always have 0,0 as offsets and image->width,
1744 image->height as their dimensions.
1748 2004-03-03 Michael Natterer <mitch@gimp.org>
1750 * libgimpthumb/gimpthumb-utils.[ch] (gimp_thumb_file_test):
1751 return the "errno" of a failed stat() call.
1753 * libgimpthumb/gimpthumbnail.[ch]: added member
1754 "image_not_found_errno" which contains the errno as returned by
1755 gimp_thumb_file_test() if thumbnail->image_state is
1756 GIMP_THUMB_STATE_NOT_FOUND.
1758 * app/core/gimpimagefile.c (gimp_imagefile_get_desc_string): display
1759 the real error as specified by thumbnail->image_not_found_errno
1760 instead of just "Could not open".
1762 2004-03-03 Michael Natterer <mitch@gimp.org>
1764 * app/widgets/Makefile.am
1765 * app/widgets/widgets-types.h
1766 * app/widgets/gimppreviewrendererimagefile.[ch]: added new preview
1767 renderer class (has some disabled code from my GtkFileChooser tree
1768 and behaves exactly as the default implementation).
1770 * app/widgets/gimppreviewrenderer-utils.c: use it for GimpImagefiles.
1772 2004-03-02 Manish Singh <yosh@gimp.org>
1774 * plug-ins/pygimp/gimpfu.py: Disable PF_*ARRAY for now. Addresses
1777 2004-03-02 Michael Natterer <mitch@gimp.org>
1779 * app/tools/gimpeditselectiontool.c
1780 * app/widgets/gimplayertreeview.c: compress undo steps only
1781 if the redo stack is empty.
1783 2004-03-02 Pedro Gimeno <pggimeno@wanadoo.es>
1785 * plug-ins/common/bumpmap.c (bumpmap): Fix handling of positive Y
1786 displacements of the bumpmap. Thanks to Joao S.O. Bueno for
1787 tracking this. Fixes bug #135866.
1789 2004-03-01 Manish Singh <yosh@gimp.org>
1791 * configure.in: define a gimp_stable symbol based on the version
1792 number (to complement gimp_unstable) and use it as a default for
1793 --enable-default-binary.
1795 2004-03-01 Sven Neumann <sven@gimp.org>
1797 * app/config/test-config.c: added simple test for gimp_config_diff().
1799 2004-03-01 Michael Natterer <mitch@gimp.org>
1801 * app/widgets/gimpfiledialog.[ch] (gimp_file_dialog_set_uri):
1802 new function which configures the dialog to load an image.
1804 * app/gui/file-open-dialog.c: use it. Don't use file-dialog-utils
1805 any more and allow setting the uri of an already visible file open
1808 * app/gui/file-dialog-utils.c: took the file open menu entries out
1809 of that insane logic that makes the menus insensitive while any
1810 file dialog is open.
1812 2004-03-01 Michael Natterer <mitch@gimp.org>
1814 * app/widgets/gimpfiledialog.[ch] (gimp_file_dialog_set_image):
1815 new function which configures the dialog to save an image.
1817 * app/gui/file-save-dialog.c: use it.
1819 * app/gui/file-open-dialog.c
1820 * app/gui/file-save-dialog.c: removed useless #inlcudes.
1822 2004-03-01 Michael Natterer <mitch@gimp.org>
1824 * app/widgets/gimpfiledialog.[ch] (gimp_file_dialog_new): added
1825 unused "GSList *file_procs" parameter.
1827 * app/gui/file-open-dialog.c: pass gimp->load_procs.
1828 * app/gui/file-save-dialog.c: pass gimp->save_procs.
1830 2004-02-29 Sven Neumann <sven@gimp.org>
1832 * app/tools/gimpblendoptions.c: changed the upper limit for the
1833 supersampling depth from 10 to 6 (as a workaround for bug #133266).
1835 2004-02-29 Sven Neumann <sven@gimp.org>
1837 * libgimpwidgets/gimpunitmenu.c (gimp_unit_menu_create_selection):
1838 no need to connect to "destroy", GTK_DIALOG_DESTROY_WITH_PARENT
1839 does this for us already.
1841 2004-02-28 Sven Neumann <sven@gimp.org>
1843 * libgimpwidgets/gimpdialog.c: removed the call to
1844 gtk_widget_get_toplevel() again.
1845 Implement the GTK_DIALOG_DESTROY_WITH_PARENT behaviour in a way
1846 that works for GimpDialog.
1848 * app/gui/resolution-calibrate-dialog.c: pass the toplevel window
1849 to gimp_dialog_new ().
1851 2004-02-28 Michael Natterer <mitch@gimp.org>
1853 * app/widgets/gimpcellrendererviewable.c: some general cleanup.
1855 (gimp_cell_renderer_viewable_set_property): ref the new renderer
1856 before unrefing the old one. Fixes potential crash when setting
1857 the same renderer again.
1859 2004-02-28 Michael Natterer <mitch@gimp.org>
1861 * app/core/gimplayer.c (gimp_layer_apply_mask): when deleting the
1862 mask, use "Delete Layer Mask" instead of "Apply Layer Mask" as
1865 2004-02-28 Sven Neumann <sven@gimp.org>
1867 * libgimpwidgets/gimpdialog.c (gimp_dialog_new_valist): if the
1868 parent widget is not a GtkWindow, use gtk_widget_get_toplevel()
1869 to get a pointer to the window the widget lives in.
1871 * app/gui/resolution-calibrate-dialog.c: don't make the dialog
1872 modal. It was a bad idea to do that, leading to problems spotted
1873 by Pedro Gimeno (bug #135630).
1875 2004-02-27 Michael Natterer <mitch@gimp.org>
1877 * libgimpwidgets/gimpfileentry.c: removed useless #includes.
1879 2004-02-27 Michael Natterer <mitch@gimp.org>
1881 * app/gui/file-dialog-utils.c
1882 * app/widgets/gimpfiledialog.c
1883 * libgimpwidgets/gimpfileentry.[ch]: some irrelevant micro changes
1884 to make that patch smaller.
1886 2004-02-27 Michael Natterer <mitch@gimp.org>
1888 * app/gui/file-open-dialog.c
1889 * app/gui/file-save-dialog.c: merged some small fixes/changes
1890 from my HEAD tree so the file chooser patch becomes smaller.
1892 2004-02-27 Sven Neumann <sven@gimp.org>
1894 * app/core/gimpimagefile.c (gimp_imagefile_save_thumb): peek the
1895 image to make sure that mtime and filesize are written correctly.
1897 2004-02-27 Michael Natterer <mitch@gimp.org>
1899 * app/gui/file-open-dialog.c: removed the thumbnail box.
1901 * app/widgets/gimpfiledialog.c: and added it here.
1903 2004-02-27 Michael Natterer <mitch@gimp.org>
1905 * app/gui/file-dialog-utils.[ch]: renamed parameters and removed
1908 2004-02-27 Michael Natterer <mitch@gimp.org>
1910 * app/widgets/Makefile.am
1911 * app/widgets/widgets-types.h
1912 * app/widgets/gimpfiledialog.[ch]: new widget swallowing most
1913 of file-dialog-utils.[ch]'s functionality.
1915 * app/widgets/widgets-types.h: added "gpointer callback_data" to
1916 GimpItemFactorySetupFunc so the setup_funcs can create items in
1917 the same context as the item factory's default items.
1919 * app/widgets/gimpmenufactory.c (gimp_menu_factory_menu_new):
1920 pass "callback_data" to setup_func().
1922 * app/gui/file-open-menu.[ch]
1923 * app/gui/file-save-menu.[ch]: use the passed callback_data
1924 when creating the menus and attach the file_proc to the
1925 menu items using g_object_set_data().
1927 * app/gui/file-commands.[ch]: merged separate file type callbacks
1928 for open and save dialogs into one callback which simply
1929 calls gimp_file_dialog_set_file_proc().
1931 * app/gui/file-dialog-utils.[ch]: removed file_dialog_new()
1932 and file_dialog_set_proc().
1934 * app/gui/file-open-dialog.[ch]
1935 * app/gui/file-save-dialog.[ch]: use the new widget and removed
1936 global variables except the dialog pointer itself.
1938 * app/gui/image-menu.[ch]
1939 * app/gui/tool-options-menu.[ch]
1940 * app/gui/toolbox-menu.[ch]: changed accordingly.
1942 2004-02-26 Sven Neumann <sven@gimp.org>
1944 * INSTALL: improved help on missing libraries at run-time.
1946 2004-02-26 Michael Natterer <mitch@gimp.org>
1948 * app/gui/file-dialog-utils.[ch] (file_dialog_hide): changed
1949 return value from gboolean to void because the function is no
1950 longer used as "delete_event" callback.
1952 * app/gui/file-open-dialog.c
1953 * app/gui/file-save-dialog.c: removed unused #includes.
1955 2004-02-26 Michael Natterer <mitch@gimp.org>
1957 * app/file/file-open.c (file_open_image): added missing cast.
1959 * app/widgets/gimperrorconsole.[ch]
1960 * app/widgets/gimptexteditor.[ch]: renamed members so my file
1961 chooser patch becomes smaller ;)
1963 2004-02-26 Pedro Gimeno <pggimeno@wanadoo.es>
1965 * app/file/file-open.c (file_open_image): Applied a fix by
1966 Michael Natterer addressing a problem with the preview in the
1967 open images list when loading a file.
1969 2004-02-26 Michael Natterer <mitch@gimp.org>
1971 * app/widgets/gimpthumbbox.[ch]: renamed some members, cleanup.
1973 2004-02-26 Sven Neumann <sven@gimp.org>
1975 * app/display/gimpprogress.c (gimp_progress_end): check
1976 display->shell before using it. It might be NULL if the function
1977 is being called from gimp_exit().
1979 * app/app_procs.c (app_exit_after_callback): added back the call
1980 to exit() but only for stable releases. See my comments in the
1981 code to understand the reasons.
1983 2004-02-26 Michael Natterer <mitch@gimp.org>
1985 * app/widgets/Makefile.am
1986 * app/widgets/widgets-types.h
1987 * app/widgets/gimpthumbbox.[ch]: new widget ripped out of the file
1990 * app/gui/file-open-dialog.c: use it.
1992 2004-02-26 Sven Neumann <sven@gimp.org>
1994 * libgimpthumb/gimpthumbnail.c: fixed my fixes.
1996 2004-02-25 Sven Neumann <sven@gimp.org>
1998 * libgimpthumb/gimpthumbnail.c (gimp_thumbnail_load_thumb): never
1999 return a failed pixbuf.
2001 (gimp_thumbnail_save_failure) (gimp_thumbnail_save_thumb): set the
2002 thumb_state when saving a thumbnail.
2004 2004-02-25 Michael Natterer <mitch@gimp.org>
2006 Changed libgimpthumb API in a way that will make GtkFileChooser
2007 integration possible without doing major hacks:
2009 * libgimpthumb/gimpthumb-enums.h: added GimpThumbFileType enum
2010 and extended GimpThumbState enum.
2012 * libgimpthumb/gimpthumb-utils.[ch]: return GimpThumbFileType
2013 instead of gboolean from gimp_thumb_file_test().
2015 * libgimpthumb/gimpthumbnail.c
2016 * app/core/gimpimagefile.c: changed accordingly (the icons
2017 used for REMOTE, FOLDER and SPECIAL need to be changed).
2019 2004-02-25 Michael Natterer <mitch@gimp.org>
2021 * app/tools/gimpimagemaptool.c: cleanup.
2023 * app/tools/gimplevelstool.c (gimp_levels_tool_dialog): added 2px
2024 spacing between the pick buttons and their entries.
2026 2004-02-25 Michael Natterer <mitch@gimp.org>
2028 * app/tools/gimpimagemaptool.[ch]: moved "shell_desc" from
2029 GimpImageMapTool to GimpImageMapToolClass and added
2030 "load_dialog_title" and "save_dialog_title". Create the
2031 load/save buttons in gimp_image_map_tool_initialize() and
2032 remember them in the GimpImageMapTool struct. Moved the
2033 whole load/save button/dialog logic into private functions.
2035 * app/tools/gimpcurvestool.c
2036 * app/tools/gimplevelstool.c: changed accordingly, removed
2037 load/save callbacks, inlined the load/save functions into
2038 GimpImageMapTool's virtual function implementations.
2040 * app/tools/gimpbrightnesscontrasttool.c
2041 * app/tools/gimpcolorbalancetool.c
2042 * app/tools/gimpcolorizetool.c
2043 * app/tools/gimphuesaturationtool.c
2044 * app/tools/gimpposterizetool.c
2045 * app/tools/gimpthresholdtool.c: changed accordingly.
2047 2004-02-25 Sven Neumann <sven@gimp.org>
2049 * app/tools/gimpcurvestool.[ch]
2050 * app/tools/gimplevelstool.h: removed obsoleted variables.
2052 2004-02-25 Sven Neumann <sven@gimp.org>
2054 * app/tools/gimpcurvestool.[ch]
2055 * app/tools/gimpimagemapoptions.[ch]
2056 * app/tools/gimpimagemaptool.[ch]
2057 * app/tools/gimplevelstool.[ch]: moved the settings file dialog
2058 that was duplicated in the curves and levels tools to the
2059 GimpImageMapTool class. Store the last used filename in the
2060 GimpImageMapOptions (proper fix for bug #135059).
2062 2004-02-24 Dave Neary <bolsh@gimp.org>
2064 * app/tools/gimpcurvestool.c: Revert to 1.2 behaviour of hiding
2065 rather than destroying the curves load/save dialog. This makes
2066 the last selected curve be selected when the dialog is
2067 re-opened, and fixes bug #135059.
2069 Also append G_DIR_SEPARATOR_S to the end of the filename we
2070 build while creating the dialog, rather than ".".
2072 2004-02-24 Michael Natterer <mitch@gimp.org>
2074 * libgimpwidgets/gimpfileentry.[ch]: renamed member
2075 "file_selection" to "file_dialog" because the former refers to the
2076 currently used implementation, while the latter is neutral.
2078 2004-02-23 Adam Weinberger <adamw@FreeBSD.org>
2080 * configure.in: added "en_CA" (Canadian English) to ALL_LINGUAS.
2082 2004-02-23 Michael Natterer <mitch@gimp.org>
2084 * app/core/core-types.h: added #defines for GimpCoords' default
2085 pressure, tilt and wheel values.
2087 * app/display/gimpdisplayshell-callbacks.c
2088 * app/paint/gimppaintcore-stroke.c
2089 * app/text/gimptext-vectors.c
2090 * app/vectors/gimpvectors-compat.c
2091 * tools/pdbgen/pdb/paint_tools.pdb: use them. Fixes lots more
2092 buggy default values for tilt (in fact all of them were wrong).
2094 * app/pdb/paint_tools_cmds.c: regenerated.
2096 2004-02-23 Simon Budig <simon@gimp.org>
2098 * app/display/gimpdisplayshell-callbacks.c: corrected the
2099 value ranges and default values for GDK_AXIS_XTILT and
2100 GDK_AXIS_YTILT. Now the ink-tool behaves sane with a mouse
2103 2004-02-23 Simon Budig <simon@gimp.org>
2105 * app/tools/gimpinktool-blob.c: don't access the array before
2106 checking if the index is within the valid bounds...
2108 2004-02-23 Michael Natterer <mitch@gimp.org>
2110 * app/core/gimpimage-snap.[ch]: return the snapped coordinates as
2111 gdouble, not gint because we must not round the unsnapped axis
2112 if only one axis snapped.
2114 * app/display/gimpdisplayshell.[ch] (gimp_display_shell_snap_coords):
2115 changed accordingly. Added boolean return value indicating "snapped".
2117 * app/display/gimpdisplayshell-cursor.[ch]
2118 (gimp_display_shell_update_cursor): take both display_x and _x and
2119 (possibly snapped) image_x and _y. Use the snapped values for the
2120 statusbar and the unsnapped ones for updating the info_window.
2122 * app/display/gimpdisplayshell-callbacks.c
2123 (gimp_display_shell_canvas_tool_events): applied modified patch
2124 from Simon Budig which moves guide/grid snapping out of the
2125 button_press/motion/button_release handlers and *always* snaps
2126 the image_coords if the active_tool wants them to be snapped.
2127 Makes sure that e.g. the brush preview is drawn at the right
2128 place and fixes bug #134284.
2130 Also pass both display_coords and image_coords to
2131 gimp_display_shell_update_cursor().
2133 2004-02-23 Simon Budig <simon@gimp.org>
2135 * app/core/gimp.[ch]: removed unused member "standard_context"
2136 from the Gimp struct.
2138 2004-02-22 Sven Neumann <sven@gimp.org>
2140 Let all GimpImageMap tools remember the state of the preview toggle
2143 * app/tools/Makefile.am
2144 * app/tools/gimpimagemapoptions.[ch]
2145 * app/tools/tools-types.h: added new GimpToolOptions class to hold
2146 the preview setting.
2148 * app/tools/gimpbrightnesscontrasttool.c
2149 * app/tools/gimpcolorbalancetool.c
2150 * app/tools/gimpcolorizetool.c
2151 * app/tools/gimpcoloroptions.[ch]
2152 * app/tools/gimphuesaturationtool.c
2153 * app/tools/gimpimagemaptool.[ch]
2154 * app/tools/gimpposterizetool.c
2155 * app/tools/tools-types.h: use the new class.
2157 2004-02-21 Manish Singh <yosh@gimp.org>
2159 * app/widgets/gimpenummenu.c (gimp_enum_stock_box_set_child_padding):
2160 Add GTK_MISC cast for bin->child.
2162 2004-02-21 Simon Budig <simon@gimp.org>
2164 * app/tools/gimpdrawtool.[ch]: added "use_offsets" parameter
2165 to gimp_draw_tool_draw_boundary() for consistency.
2167 * app/tools/gimpeditselectiontool.c: Changed accordingly.
2169 * app/tools/gimppainttool.c: when drawing straight lines draw
2170 the brush preview at the end of the line.
2172 2004-02-20 Sven Neumann <sven@gimp.org>
2174 * app/tools/gimplevelstool.[ch]: put the color bars into an event
2175 box and draw the sliders on the event box window.
2177 * app/widgets/gimpcolorbar.[ch]: removed support for input events
2178 which is no longer needed. For consistency, renamed "channel"
2179 property to "histogram-channel".
2181 * app/widgets/gimphistogrambox.c: changed accordingly.
2183 * app/widgets/gimpenummenu.[ch]: added new function
2184 gimp_enum_stock_box_set_child_padding().
2186 * app/tools/gimpcurvestool.c: let the graph widget expand with the
2187 dialog plus some other dialog tweaks.
2189 * app/widgets/gimphistogrameditor.c: let the channel menu shrink
2190 as in the other dialogs.
2192 * libgimpwidgets/gimpcolorselect.c (gimp_color_select_image_fill):
2193 allocate temporary buffer on the stack.
2195 2004-02-20 Manish Singh <yosh@gimp.org>
2197 * plug-ins/common/pygimp/plug-ins/sphere.py: Moved to the Test menu,
2198 to clarify its station in life.
2200 2004-02-20 Manish Singh <yosh@gimp.org>
2202 * plug-ins/common/pygimp/gimpfu.py: Do some simple validation on the
2203 GUI input. Arrays are still kinda hokey though. Based on Dave Neary's
2204 patch, addresses bug #122049.
2206 * plug-ins/common/pygimp/plug-ins/sphere.py: Make sure radius is at
2207 least 1. Thanks to Florian Traverse for noticing. (Also in #122049)
2209 2004-02-20 Simon Budig <simon@gimp.org>
2211 * plug-ins/common/lic.c: fixed crash when the effect image
2212 is smaller than the target drawable. Major code overhaul (not
2213 yet fully completed), removed global variables, removed
2214 micro-functions that itself just invoke micro-functions, use
2215 more libgimpcolor functions.
2217 Slightly improved the algorithm by adding small random
2218 distorsions to the effect image. This avoids artefacts in plain
2221 2004-02-19 Sven Neumann <sven@gimp.org>
2223 * app/widgets/Makefile.am
2224 * app/widgets/widgets-types.h
2225 * app/widgets/gimpcolorbar.[ch]: added new widget GimpColorBar.
2227 * app/tools/gimpcurvestool.c
2228 * app/tools/gimplevelstool.c
2229 * app/widgets/gimphistogrambox.[ch]: use GimpColorBar widgets.
2231 * app/widgets/gimpcolorframe.[ch]: fixed typos.
2233 2004-02-19 Michael Natterer <mitch@gimp.org>
2235 * themes/Default/images/Makefile.am
2236 * themes/Default/images/stock-display-filter-16.png
2237 * themes/Default/images/stock-display-filter-24.png
2238 * libgimpwidgets/gimpstock.[ch]: added Jimmac's glasses.
2240 * app/display/gimpdisplayshell-filter-dialog.c
2241 * app/gui/image-menu.c: and use them.
2243 2004-02-19 Michael Natterer <mitch@gimp.org>
2245 * app/widgets/gimpdasheditor.[ch]: removed static variables, don't
2246 use GIMP_CONFIG_INSTALL_PROP_FOO() for non-config classes,
2247 trailing whitespace, cleanup.
2249 2004-02-19 Simon Budig <simon@gimp.org>
2251 * plug-ins/common/lic.c: fixed gimp_dialog_new invocation.
2252 Also fixed a blatant error in the algorithm (GimpRGB has a
2253 range from 0..1 for each component...) and now the plugin
2254 actually does something useful.
2256 2004-02-19 Sven Neumann <sven@gimp.org>
2258 * app/tools/gimpcurvestool.c (gimp_curves_tool_dialog): follow
2259 some of the levels tool dialog changes for consistency.
2261 2004-02-19 Michael Natterer <mitch@gimp.org>
2263 * app/core/gimpimage-qmask.c (gimp_image_get_qmask): new function
2264 which returns the image's QMask.
2266 * app/core/gimpimage.c (gimp_image_channel_name_changed)
2267 * app/gui/qmask-commands.c (qmask_query_response): use it.
2269 2004-02-19 Michael Natterer <mitch@gimp.org>
2271 * app/core/gimp.[ch]: added new signal "buffer_changed" and new
2272 function gimp_set_global_buffer() which emits it when the global
2275 * app/core/gimp-edit.c (gimp_edit_extract): use it instead
2276 of fiddling with gimp->global_buffer manually.
2278 * app/gui/image-menu.c: connect to "buffer_changed" and set the
2279 "Paste" menu entries sensitive. Fixes bug #134752.
2281 (image_menu_update): changed accordingly. Also changed a lot of
2282 buggy SET_SENSITIVE() lines which made menu items which work fine
2283 on any drawable insensitive when there were no layers (instead
2286 * app/gui/edit-commands.c: added new macro return_if_no_drawable()
2287 and use it instead of return_if_no_image() so we don't run
2288 into assertions if there is no active drawable.
2290 (cut,copy_named_buffer_callback): unfortunately had to introduce
2291 two new translated messages about not being able to cut/copy when
2292 there is no active drawable.
2294 2004-02-19 Michael Natterer <mitch@gimp.org>
2296 * app/config/gimpconfig-serialize.c
2297 (gimp_config_serialize_property)
2298 * app/config/gimpconfig-deserialize.c
2299 (gimp_config_deserialize_property): Reverted my last "cleanup" and
2300 put the "obsolete" check for the exact owner class of the property
2301 back. It appears that if a subclass does *not* implement
2302 GimpConfigInterface *itself*, it still inherits
2303 serialize_property()/deserialize_property().
2305 2004-02-19 Sven Neumann <sven@gimp.org>
2307 * app/tools/gimplevelstool.c: more dialog tweaking, fixed
2308 positioning of slider triangles.
2310 2004-02-19 Sven Neumann <sven@gimp.org>
2312 * app/tools/gimplevelstool.c (gimp_levels_tool_dialog): applied
2313 patch from Dave Neary that removes gray point pickers for
2314 individual channels (bug #125303). Let the levels widgets expand
2317 2004-02-18 Simon Budig <simon@gimp.org>
2319 * app/config/gimpguiconfig.[ch]
2320 * app/config/gimprc-blurbs.h: Added new GUI option: snapping distance
2322 * app/gui/preferences-dialog.c: add a preferences widget
2324 * app/tools/gimpmovetool.c
2325 * app/display/gimpdisplayshell.c: use it for snapping.
2327 2004-02-18 Simon Budig <simon@gimp.org>
2329 * app/display/gimpdisplayshell.c
2330 * app/tools/gimpmovetool.c: Adjusted snapping distance
2331 to 8 pixels, probably should be a preferences option.
2333 * app/tools/gimppainttool.c: Do not center the start and end
2334 of a straight line to the center of an image-pixel unless
2335 the brush mode is GIMP_BRUSH_HARD. Fixes bug #134410.
2337 2004-02-18 Sven Neumann <sven@gimp.org>
2339 * app/base/tile-cache.c
2340 * app/base/tile-private.h
2341 * app/base/tile.[ch]: removed trailing whitespace, added some
2342 newlines, let tile_is_valid() return a gboolean instead of a gint.
2344 * app/core/gimpimage-projection.c
2345 * app/core/gimpimage-undo-push.c
2346 * app/paint/gimppaintcore.c
2347 * app/tools/gimpinktool.c: use the return value from tile_is_valid()
2350 2004-02-18 Sven Neumann <sven@gimp.org>
2352 * app/base/tile.h: exchanged TILEROWHINT_UNKNOWN and
2353 TILEROWHINT_BROKEN so that TILEROWHINT_UNKNOWN becomes 0. This
2354 allows to use calloc() to allocate and initialize the rowhint
2357 * app/base/tile.c (tile_sanitize_rowhints): reimplemented by a
2360 * app/base/tile-manager.c (tile_manager_get): use g_memdup() to
2361 duplicate the rowhints when creating a tile copy.
2363 2004-02-18 Michael Natterer <mitch@gimp.org>
2367 * app/config/gimpconfig-deserialize.c
2368 * app/config/gimpconfig-serialize.c: removed obsolete code which
2369 made sure serialize_property()/deserialize_property() are only
2370 called for properties of the correct class. We do it the right way
2371 for quite a while now and clear the inherited function pointers in
2372 gimp_config_iface_base_init().
2374 * app/config/gimprc.c (gimp_rc_dispose): don't forget to chain up.
2376 * app/base/gimplut.c
2377 * app/base/lut-funcs.c
2378 * app/config/gimpconfig-deserialize.c
2379 * app/config/gimpconfig-serialize.c
2380 * app/config/gimpconfig-types.c
2381 * app/config/gimprc.c
2382 * app/core/gimp-modules.c
2383 * app/core/gimpbrush.c
2384 * app/core/gimpcontainer.c
2385 * app/core/gimpdocumentlist.c
2386 * app/core/gimpitem.c
2387 * app/gui/about-dialog.c
2388 * app/gui/color-notebook.c
2390 * app/gui/tips-dialog.c
2391 * app/paint/gimppaintcore.c
2392 * app/paint-funcs/paint-funcs.c
2393 * app/widgets/gimpcolorpanel.c
2394 * app/widgets/gimpcontainergridview.c
2395 * app/widgets/gimpcontainermenuimpl.c
2396 * app/widgets/gimpselectioneditor.c: removed I/O includes from
2397 files which don't use lowlevel APIs any more. Also removes
2398 a whole bunch of G_OS_WIN32 special casing. Removed trailing
2399 whitespace. Misc tiny cleanups.
2401 2004-02-18 Michael Natterer <mitch@gimp.org>
2403 * app/display/gimpdisplayshell-handlers.c
2404 (gimp_display_shell_disconnect): disconnect from the correct
2405 config objects. Fixes bug #134694.
2407 2004-02-17 Sven Neumann <sven@gimp.org>
2409 * app/widgets/gimpeditor.c (gimp_editor_add_stock_box): cannot
2410 gtk_widget_destroy() a floating widget, sink it instead.
2412 * libgimpwidgets/gimppatheditor.c (gimp_path_editor_set_path):
2413 plugged a small memleak.
2415 2004-02-17 Pedro Gimeno <pggimeno@wanadoo.es>
2417 * plug-ins/pagecurl/pagecurl.c: Corrected the pairing of
2418 gimp_drawable_get/gimp_drawable_detach and other cleanups.
2419 (do_curl_effect): Fixed a bug spotted by Simon Budig: uninitialized
2420 data could be exposed when applying the effect to non-rectangular
2423 2004-02-17 Michael Natterer <mitch@gimp.org>
2425 * app/core/gimpviewable.c (gimp_viewable_calc_preview_size): argh,
2426 take the resolution into account if "dot_for_dot" is FALSE, not
2429 2004-02-17 Sven Neumann <sven@gimp.org>
2431 * app/core/gimpimage-scale.c (gimp_image_scale_check): exclude the
2432 size of the undo stacks so that the memory size is comparable with
2433 the value displayed in the "New Image" dialog. Fixes bug #134512.
2435 2004-02-17 Sven Neumann <sven@gimp.org>
2437 * libgimpbase/gimpprotocol.[ch]: changed wm_name to app_name in
2438 the GimpConfig struct; increased GIMP_PROTOCOL_VERSION.
2440 * app/plug-in/plug-in-run.c (plug_in_run): pass the return value
2441 of g_get_application_name() to the plug-ins.
2443 * libgimp/gimp.[ch]: removed function gimp_wm_name(). Set the
2444 plug-in's application name if an app_name is passed in the config
2447 * libgimp/gimpui.c: removed usage of gimp_wm_name(); it was wrong
2448 to do it this way and caused all plug-ins claim to be the gimp-1.3
2449 executable in their error messages.
2451 * libgimp/gimp.def: removed symbol gimp_wm_name.
2453 * configure.in: reset gimp_binary_age and gimp_interface_age.
2455 * app/core/gimpimage.c (gimp_image_name_changed): removed unused
2458 2004-02-17 Michael Natterer <mitch@gimp.org>
2460 Make sure each GimpItem emits "removed" when it is removed from
2461 the image so dialogs have a chance to close themselves:
2463 * app/core/gimplayer.c (gimp_layer_apply_mask): emit "removed"
2466 (gimp_layer_removed): new function which emits "removed" from
2467 the layer's mask when the layer gets removed from the image.
2469 * app/core/gimpimage.c (gimp_image_dispose): emit "removed"
2470 from all layers, channels and vectors.
2472 * app/gui/layers-commands.c (layers_scale_layer_query)
2473 (layers_resize_layer_query): removed recently added connections to
2474 "removed" because GimpViewableDialog does this automatically.
2476 2004-02-16 Michael Natterer <mitch@gimp.org>
2478 * libgimp/gimptile.[ch] (_gimp_tile_cache_flush_drawable): new
2479 inernal function which removes all tiles from a given drawable
2482 * libgimp/gimpdrawable.c (gimp_drawable_detach): call the new
2483 function before freeing the tiles. Fixes bug #134562.
2485 2004-02-16 Michael Natterer <mitch@gimp.org>
2487 * libgimp/gimppixelrgn.c: cleaned up a bit: added missing
2488 g_return_if_fail()s, iterate lists using for() loops, indentation.
2490 2004-02-16 Sven Neumann <sven@gimp.org>
2492 * libgimp/gimptile.c (gimp_tile_cache_insert): partly rewritten.
2493 Instead of removing the list element from the hash table, freeing
2494 it, allocating a new one and inserting it again, simply move it to
2495 the end of the list without touching the hash table at all.
2497 2004-02-16 Sven Neumann <sven@gimp.org>
2499 * app/config/gimpxmlparser.c (gimp_xml_parser_parse_io_channel):
2500 set the GIOChannel encoding to NULL here instead of doing it in
2501 gimp_xml_parser_parse_file().
2503 2004-02-16 Sven Neumann <sven@gimp.org>
2505 * plug-ins/gfig/gfig.c (gfig_response): set the Undo button
2506 insensitive, not the whole dialog (bug #134419). Also start the
2507 dialog with the Undo button set insensitive.
2509 2004-02-16 Sven Neumann <sven@gimp.org>
2511 * app/tools/gimpcroptool.c (crop_info_create): use limits from
2512 libgimpbase instead of arbitrary numbers. Don't allow a crop width
2513 or height smaller than 1 (or GIMP_MIN_IMAGE_SIZE actually).
2515 2004-02-16 Sven Neumann <sven@gimp.org>
2517 * app/display/gimpcanvas.c (gimp_canvas_gc_new): fixed my last
2518 change here; of course only the guide GCs need a stipple pattern.
2520 2004-02-16 Sven Neumann <sven@gimp.org>
2522 * app/config/gimpxmlparser.c (gimp_xml_parser_parse_io_channel):
2523 unset the GIOChannel's encoding before trying to locate and parse
2526 2004-02-15 Michael Natterer <mitch@gimp.org>
2528 * libgimp/gimpdrawable.c (gimp_drawable_get): warn and return NULL
2529 instead of a meaningless struct for invalid drawable_IDs. Will
2530 make buggy plug-ins crash earlier and more reliably.
2532 Replaced all if(drawable) by g_return_if_fail(drawable != NULL)
2534 * libgimp/gimptile.c (gimp_tile_ref): replaced if(tile)
2535 by g_return_if_fail(tile != NULL)
2537 (gimp_tile_unref): g_return_if_fail(tile->ref_count > 0)
2539 2004-02-15 Sven Neumann <sven@gimp.org>
2541 * plug-ins/common/gif.c: only call gimp_ui_init() when being run
2542 in interactively. Should fix bug #134423.
2544 2004-02-15 Michael Natterer <mitch@gimp.org>
2546 * app/core/gimpdata.c (gimp_data_init): using
2547 FOO_GET_CLASS(instance) in a GInstanceInitFunc doesn't work
2548 because during instance init, the object's class is always set to
2549 be the class of the currently called init function. Use the second
2550 parameter of GInstanceInitFunc instead, which is the instance's
2551 real class. Fixes bug #134274.
2553 2004-02-14 Michael Natterer <mitch@gimp.org>
2555 Fixed lots of QuickMask brokenness by letting the image adjust
2556 its qmask_state automatically:
2558 * app/core/gimpimage-qmask.h: #define GIMP_IMAGE_QMASK_NAME "Qmask".
2559 Use the define in all files below.
2561 * app/core/gimpimage.[ch]: split gimp_image_drawable_add,_remove()
2562 into separate handlers for layers and channels. Added a
2563 "name_changed" handler for all channels. In the channel "add",
2564 "remove" and "name_changed" handlers, check if it was a channel
2565 named "Qmask" that was added, removed or renamed and call
2566 gimp_image_set_qmask_state() accordingly.
2568 * app/core/core-enums.[ch]
2569 * app/core/gimpimage-undo-push.[ch]
2570 * app/core/gimpundo.c: removed all Qmask undo code because the image
2571 does the right thing without undo interaction now.
2573 * app/core/gimpimage-qmask.c (gimp_image_set_qmask_state): set
2574 gimage->qmask_state early so we can return early when called
2575 recursively. Removed calls to gimp_image_undo_push_image_qmask().
2576 Returned "removed" callback (it was utterly broken the way it was
2579 * app/display/gimpdisplayshell-callbacks.c
2580 (gimp_display_shell_qmask_toggled): check if the image's
2581 qmask state needs to be changed before changing it.
2583 * app/xcf/xcf-load.c (xcf_load_channel): removed code which
2584 recognized the qmask. GimpImage does this automatically now.
2586 * app/gui/qmask-commands.c: cleanup.
2588 * app/widgets/gimpimagedock.c (gimp_image_dock_constructor):
2589 destroy the "/Select/By Color" and "/Select/Toggle QuickMask" menu
2592 * app/widgets/image-menu.c (image_menu_update): changed accordingly.
2594 2004-02-13 Manish Singh <yosh@gimp.org>
2596 * plug-ins/common/psd.c (load_image): Initialize dest to NULL,
2597 make it so the temp variable use for PANOTOOLS_FIX is only declared
2600 2004-02-13 Manish Singh <yosh@gimp.org>
2602 * app/base/temp-buf.c (temp_buf_get_memsize)
2603 * core/gimpviewable.c (gimp_viewable_get_memsize): Add some casts
2604 to gsize for ints to prevent overflows.
2606 * app/base/tile-manager.c (tile_manager_get_memsize): Same as above,
2607 except cast to gint64.
2609 2004-02-13 Simon Budig <simon@gimp.org>
2611 * app/core/gimpimage-guides.[ch]: make a similar fix as in my
2612 last commit for snapping the guides.
2614 * app/tools/gimpmovetool.c: use the fixed version.
2616 2004-02-13 Simon Budig <simon@gimp.org>
2618 * app/core/gimpimage-snap.[ch]: make the snapping width a
2619 parameter of the snapping functions.
2621 * app/display/gimpdisplayshell.c: make sure that the snapping
2622 width always is 5 pixels in the view coordinates.
2626 2004-02-13 Michael Natterer <mitch@gimp.org>
2628 * app/core/gimp-units.c (gimp_units_init, _exit): removed
2629 redundant g_return_if_fail()s.
2631 2004-02-13 Michael Natterer <mitch@gimp.org>
2633 Fixed GimpData's default "writable" and "deletable" behaviour:
2635 * app/core/gimpdata.c (gimp_data_init): default to writable and
2636 deletable == TRUE (something that has no filename was never loaded
2637 from disk and can't be undeletable or read-only).
2640 * app/core/gimpdata.[ch]: added new function
2641 gimp_data_make_internal() which frees the filename and sets the
2642 data's flags accordingly.
2644 * app/core/gimp-gradients.c (gimp_gradients_add_gradient)
2645 * app/core/gimpbrush.c (gimp_brush_get_standard)
2646 * app/core/gimpgradient.c (gimp_gradient_get_standard)
2647 * app/core/gimppalette.c (gimp_palette_get_standard)
2648 * app/core/gimppattern.c (gimp_pattern_get_standard): use the
2649 new function for internal data objects.
2651 * app/core/gimpdata.c (gimp_data_save, gimp_data_delete_from_disk)
2652 * app/core/gimpdatafactory.c (gimp_data_factory_save_single):
2653 bail out with g_return_if_fail() is the data is not writable
2656 * app/widgets/gimpdataeditor.c
2657 * app/widgets/gimpdatafactoryview.c: changed accordingly.
2659 2004-02-12 Sven Neumann <sven@gimp.org>
2661 * app/display/gimpcanvas.c (gimp_canvas_gc_new): use
2662 GDK_CAP_NOT_LAST as the cap_style for all canvas drawing.
2664 2004-02-12 Adam D. Moss <adam@gimp.org>
2666 * plug-ins/common/psd.c:
2667 - Disable one of the PanoTools fixes by default, since it causes
2668 regressions in some ordinary PSD file loading.
2669 - Fix a twisted utf8-obsessive bug diagnosed by Piotr Krysiuk
2670 - Fix another one...
2671 - Fix from Daniel Rogers: GIMP crashes on 0x0 layers, so we skip them.
2672 - Also try to avoid 0-sized drawables (including channels)
2674 2004-02-12 Michael Natterer <mitch@gimp.org>
2676 * app/core/gimpimage-convert.c (gimp_image_convert): call
2677 gimp_image_colormap_changed() after installing the colormap.
2679 * app/tools/gimphistogramoptions.h: fixed typedef of
2680 GimpHistogramOptionsClass.
2682 2004-02-12 Michael Natterer <mitch@gimp.org>
2684 * app/widgets/gimphistogramview.c (gimp_histogram_view_button_press):
2685 ignore double clicks so we don't grab the pointer away from the
2686 curves dialog. Fixes bug #132356.
2688 * app/tools/gimpcurvestool.c (curves_graph_events): ignore button
2689 press and release events from all buttons except the first one.
2691 2004-02-12 Michael Natterer <mitch@gimp.org>
2693 Make sure that non-indexed images never have a colormap.
2696 * app/core/gimpimage-colormap.c (gimp_image_set_colormap): set
2697 image->cmap to NULL when called with a NULL colormap.
2699 * app/core/gimpimage-undo-push.c: made colormap undo/redo aware
2702 * app/core/gimpimage-convert.c (gimp_image_convert): remove the
2703 colormap using gimp_image_set_colormap() instead of freeing it
2706 * app/widgets/gimpcolormapeditor.c: always check if the image
2707 is INDEXED *and* has a colormap before accessing the colormap.
2709 (need this new check because the fixed behaviour of colormap undo
2710 produces undo groups which, when being popped, make the image have
2711 no colormap while still being INDEXED in the small time frame
2712 between the emission of "colormap_changed" and "mode_changed").
2714 2004-02-12 Sven Neumann <sven@gimp.org>
2716 * app/tools/gimptexttool.[ch]: derive the text tool from GimpTool
2717 directly. Doesn't look like we are going to use draw_tool
2718 functionality for 2.0.
2720 2004-02-11 Sven Neumann <sven@gimp.org>
2722 * app/display/gimpdisplayshell-dnd.c
2723 (gimp_display_shell_bucket_fill): when dropping a color on a text
2724 layer, change the text color. This is a quick hack; we should make
2725 filling a drawable a virtual method that can be overridden by the
2728 2004-02-11 Sven Neumann <sven@gimp.org>
2730 * configure.in (GIMP_DESKTOP_ICON): fixed icon names.
2732 2004-02-11 Sven Neumann <sven@gimp.org>
2734 * app/tools/gimptexttool.c: repaired broken text tool logic
2737 2004-02-11 Sven Neumann <sven@gimp.org>
2739 * app/plug-in/plug-ins.c (plug_ins_init)
2740 * app/plug-in/plug-in.c (plug_in_close): changed g_warning() to
2741 g_printerr() in a few places where the problem is not an error in
2742 GIMP but a misbehaving plug-in. Suppress some of this output in
2745 2004-02-10 Sven Neumann <sven@gimp.org>
2747 * app/gui/preferences-dialog.c (prefs_dialog_new): removed "Default"
2748 prefix from "Navigation Preview Size" label again.
2750 2004-02-10 Henrik Brix Andersen <brix@gimp.org>
2752 * app/gui/preferences-dialog.c (prefs_dialog_new): prefix preview
2753 size labels with "Default" to avoid misunderstandings.
2755 2004-02-10 Sven Neumann <sven@gimp.org>
2757 * themes/Default/images/Makefile.am (CORE_IMAGES): use the
2758 question stock icon instead of the warning one.
2760 * app/core/gimpviewable.c (gimp_viewable_get_dummy_preview):
2761 return a question icon as dummy preview.
2763 2004-02-10 Sven Neumann <sven@gimp.org>
2765 * themes/Default/images/Makefile.am: added a rule to create a
2766 header containing a warning pixbuf that we can use from the core.
2768 * app/base/temp-buf.c (temp_buf_new): rewritten an optimisation so
2769 that it works for any number of bytes per pixel.
2771 2004-02-10 Michael Natterer <mitch@gimp.org>
2773 * app/core/gimpviewable.[ch]: added new function
2774 gimp_viewable_get_dummy_preview() which currently returns a
2775 completely white and opaque TempBuf of the requested size. Added
2776 this useless function because this is the place where to implement
2777 a nicer preview if someone volunteers.
2779 * tools/pdbgen/pdb/drawable.pdb
2780 * tools/pdbgen/pdb/image.pdb: use the new function if
2781 gimp->config->layer_previews is FALSE instead of returning no
2782 preview at all. Fixes bug #112012.
2784 Cleaned up the preview functions a bit and raised
2785 the limit for drawable previews from 128x128 to 256x256.
2787 * app/pdb/drawable_cmds.c
2788 * app/pdb/image_cmds.c
2789 * libgimp/gimpdrawable_pdb.c: regenerated.
2791 2004-02-10 Sven Neumann <sven@gimp.org>
2793 * configure.in: warn when gimpprint is older than version 4.2.6.
2794 It's probably too late to introduce a dependency on that version
2795 but we would like people to update in order to avoid bug #125283.
2797 2004-02-10 Sven Neumann <sven@gimp.org>
2799 * app/widgets/gimpcolorframe.c (gimp_color_frame_init): make the
2800 value labels selectable as suggested by Mariano SuƔrez-Alvarez in
2803 2004-02-10 Sven Neumann <sven@gimp.org>
2805 * configure.in: bumped version to 1.3.27 (interface_age 1,
2806 binary_age 1). Added GIMP_DESKTOP_ICON variable and set it
2807 depending on GIMP_UNSTABLE.
2809 * data/images/Makefile.am
2810 * data/images/wilber-devel-icon.png
2811 * data/images/wilber-icon.png: renamed the development icon and
2812 added one for the stable version.
2814 * data/misc/gimp.desktop.in.in: use @GIMP_DESKTOP_ICON@.
2816 2004-02-10 Sven Neumann <sven@gimp.org>
2818 * app/tools/gimptexttool.c (gimp_text_tool_register): set
2819 GIMP_CONTEXT_FONT_MASK. Fixes bug #133067.
2821 2004-02-09 Simon Budig <simon@gimp.org>
2823 * plug-ins/script-fu/scripts/add-bevel.scm: Fixed Undo
2824 handling, make sure that the bumpmap is big enough to
2829 2004-02-09 Michael Natterer <mitch@gimp.org>
2831 * app/gui/gui.c (gui_libs_init): added runtime check for
2832 fontconfig > 2.2.0 and abort with a dialog box telling the
2833 user to upgrade fontconfig if the requirement is not met.
2834 Fixes all bugs like #133818.
2836 2004-02-09 Sven Neumann <sven@gimp.org>
2838 * plug-ins/common/curve_bend.c: applied patch from Wolfgang Hofer
2839 that fixes bug #133244.
2841 2004-02-09 Sven Neumann <sven@gimp.org>
2843 * app/Makefile.am: some updates to the gimp-console rules so that
2844 it fails less badly.
2846 2004-02-09 Manish Singh <yosh@gimp.org>
2848 * app/file/Makefile.am
2849 * app/paint/Makefile.am
2850 * app/text/Makefile.am
2851 * app/xcf/Makefile.am: changed GTK_CFLAGS to GDK_PIXBUF_CFLAGS, since
2852 we don't use any gtk/gdk functions here. This especially helps in the
2853 text directory, since it avoids problems on broken setups with old
2854 fontconfig stuff in the X11 directory lying around.
2856 2004-02-09 Sven Neumann <sven@gimp.org>
2858 * plug-ins/script-fu/scripts/text-circle.scm: removed some workarounds
2859 for bugs in the GIMP 1.2 text functions that don't exist any longer.
2861 2004-02-09 Sven Neumann <sven@gimp.org>
2863 * app/core/gimpimage-undo-push.c (undo_pop_layer) (undo_push_layer)
2864 * app/paint-funcs/paint-funcs.c (scale_region): ifdef'ed out debug
2867 2004-02-09 Sven Neumann <sven@gimp.org>
2869 * app/core/gimpitem.[ch]: added progress callback pointers to
2870 gimp_item_scale() and its variants.
2872 * app/core/gimpchannel.c
2873 * app/core/gimpdrawable.c
2874 * app/core/gimpimage-scale.c
2875 * app/core/gimplayer.c
2876 * app/core/gimpselection.c
2877 * app/gui/layers-commands.c
2878 * app/paint-funcs/paint-funcs.[ch]
2879 * app/vectors/gimpvectors.c
2880 * tools/pdbgen/pdb/layer.pdb: changed accordingly. Fixes bug #97999.
2882 * app/pdb/layer_cmds.c: regenerated.
2884 2004-02-08 Sven Neumann <sven@gimp.org>
2886 * app/tools/gimpiscissorstool.c (gimp_iscissors_tool_button_press):
2887 don't activate the iscissors tool if it's already active
2890 2004-02-08 Sven Neumann <sven@gimp.org>
2892 * app/tools/gimptexttool.c (gimp_text_tool_set_layer): implemented
2893 so that double-clicking a text layer now only activates the text
2894 tool but also set the layer's text on the tool options.
2896 2004-02-08 Sven Neumann <sven@gimp.org>
2898 * app/tools/gimptoolcontrol.c (gimp_tool_control_activate)
2899 (gimp_tool_control_halt): put overly picky sanity checks into
2900 #ifdef GIMP_UNSTABLE ... #endif so we won't get these harmless
2901 tool warnings from the stable version (bug #121074).
2903 2004-02-08 Hans Breuer <hans@breuer.org>
2905 * plug-ins/common/nova.c : access dest[alpha] only if (has_alpha);
2906 remove stray semicolon, fixes bug #132503
2908 2004-02-08 Sven Neumann <sven@gimp.org>
2910 * app/plug-in/plug-in-rc.c (plug_in_rc_parse): return FALSE if the
2913 * app/plug-in/plug-ins.c (plug_ins_init): don't output the error
2914 message from plug_in_rc_parse() if it failed for file not found.
2918 2004-02-08 Sven Neumann <sven@gimp.org>
2920 * libgimpwidgets/gimppickbutton.c: some code cleanup, no changes.
2922 2004-02-08 Michael Natterer <mitch@gimp.org>
2924 * tools/pdbgen/pdb/image.pdb (image_rotate): fixed typo:
2925 s/spacified/specified/. Spotted by Kevin Cozens.
2927 * app/pdb/image_cmds.c
2928 * libgimp/gimpimage_pdb.c: regenerated.
2930 2004-02-08 DindinX <david@dindinx.org>
2932 * plug-ins/common/tiff.c: applied a modified patch from Pablo
2933 d'Angelo, which add support for tiff layer names when the name is 7
2938 2004-02-07 Manish Singh <yosh@gimp.org>
2940 * configure.in: fix use of EXEEXT in tiff checks. Fixes bug #133763.
2942 2004-02-07 Hans Breuer <hans@breuer.org>
2944 * gimpdefs.msc : new file to keep common definitions for the msc build
2945 * **/makefile.msc : use common defintions, e.g. GIMP_VER
2946 * Makefile.am : add the former to EXTRA_DIST
2948 2004-02-07 Pedro Gimeno <pggimeno@wanadoo.es>
2950 * app/core/gimpimage-convert.c (median_cut_pass2_no_dither_rgb):
2951 Corrected position for alpha_pix in the case of grayscale images
2952 with custom or mono palette and no dither. Fixes bug #133642.
2954 (median_cut_pass2_fixed_dither_rgb): Ditto for fixed dither
2955 (Positioned Color Dither).
2957 2004-02-07 Michael Natterer <mitch@gimp.org>
2959 * app/display/gimpdisplayshell-draw.c
2960 (gimp_display_shell_draw_area): intersect the passed in area with
2961 the real area of the image in display coordinates and render the
2962 projection only if there actually is an intersection.
2963 Use gimp_rectangle_intersect() instead of handmade CLAMP()
2964 constructs. Fixes bug #113142.
2966 2004-02-07 Sven Neumann <sven@gimp.org>
2968 * app/plug-in/plug-in-shm.c (plug_in_shm_get_ID): don't
2969 g_return_if_fail() if gimp->plug_in_shm is NULL; return -1 instead.
2970 This allows to run gimp with --no-shm again.
2972 2004-02-07 Michael Natterer <mitch@gimp.org>
2974 * app/display/gimpdisplayshell.[ch]: removed all drawing functions.
2975 The file was still too large.
2977 * app/display/Makefile.am
2978 * app/display/gimpdisplayshell-draw.[ch]: new files containing
2979 the drawing functions.
2981 * app/display/gimpdisplayshell-callbacks.c
2982 * app/display/gimpdisplayshell-handlers.c
2983 * app/tools/gimpmovetool.c: changed #includes accordingly.
2985 * app/display/gimpdisplay-handlers.c
2986 (gimp_display_size_changed_handler): added some #if 0'ed code I'm
2987 not sure about. Actually, some of the handlers in this file could
2988 need the same code, so it could be abstracted as
2989 gimp_display_stop_draw() or something. Please have a look.
2991 2004-02-06 Sven Neumann <sven@gimp.org>
2993 * libgimpwidgets/gimpcolorselect.c: let the color selector widget
2994 expand. Removes the ugly empty spaces and improves the color
2995 selection experience ;)
2997 2004-02-05 Michael Natterer <mitch@gimp.org>
2999 * app/display/gimpdisplayshell.c (gimp_display_shell_mask_bounds):
3000 fixed integer/boolean confusion: s/0/FALSE/.
3002 (gimp_display_shell_draw_cursor): draw the cursor only if
3003 shell->have_cursor is TRUE.
3005 * app/display/gimpdisplayshell-callbacks.c
3006 (gimp_display_shell_canvas_expose): call the above unconditionally.
3008 2004-02-05 Michael Natterer <mitch@gimp.org>
3010 Disallow editing of data objects which have no save functionality.
3011 Also fixed the misassumption that "deletable" is always equal to
3012 "writable". Fixes bug #133456.
3014 * app/core/gimpdata.[ch]: added a "deletable" property which is
3015 always equal to "writable" except when the data class does not
3016 implement GimpData::save() (then deletable may be TRUE but
3017 writable is always FALSE).
3019 * app/gui/brushes-menu.c
3020 * app/gui/gradients-menu.c
3021 * app/gui/palettes-menu.c
3022 * app/gui/patterns-menu.c
3023 * app/widgets/gimpdatafactoryview.c: look at data->deletable when
3024 setting the sensitivity of the "Delete" buttons and menu items.
3026 * app/widgets/gimpdatafactoryview.c
3027 (gimp_data_factory_view_tree_name_edited): rename the data
3028 only if it's writable and restore the old name otherwise.
3030 * app/widgets/gimpdataeditor.c: no need to look at data->internal
3031 for figuring if the data is editable, data->editable is enough.
3033 All files above: s/writeable/writable/g
3035 * app/widgets/gimpbrusheditor.c (gimp_brush_editor_set_data):
3038 2004-02-05 Michael Natterer <mitch@gimp.org>
3040 * tools/pdbgen/pdb/edit.pdb (edit_paste): don't call
3041 gimp_edit_paste() with a NULL buffer. Instead, return an execution
3042 error if there is no global buffer to paste. Fixes the warning
3043 triggered by bug #133244 (but not the bug itself of course).
3045 * app/pdb/edit_cmds.c: regenerated.
3047 2004-02-05 Sven Neumann <sven@gimp.org>
3049 * plug-ins/imagemap/imap_main.c (dialog): quit the main loop when
3050 the dialog is destroyed. Fixes bug #133532.
3052 2004-02-05 DindinX <david@dindinx.org>
3054 * plug-ins/script-fu/scripts/text-circle.scm: Fixes the layout of the
3059 2004-02-05 Michael Natterer <mitch@gimp.org>
3061 * app/core/gimpimage-crop.c: removed trailing whitespace.
3063 * app/gui/debug-commands.[ch]
3064 * app/gui/toolbox-menu.c: renamed ENABLE_DEBUG_ENTRIES to
3065 ENABLE_DEBUG_MENU and #define it to be equal to GIMP_UNSTABLE.
3067 2004-02-05 Michael Natterer <mitch@gimp.org>
3069 * app/tools/gimprectselecttool.c
3070 (gimp_rect_select_tool_rect_select): don't try to CLAMP() the
3071 passed in rectangle to valid image/drawable coordinates manually
3072 when auto-shrinking the selection. Instead, use
3073 gimp_rectangle_intersect(). Also honor the active drawable's
3074 offsets. Fixes bug #133467.
3076 2004-02-05 Manish Singh <yosh@gimp.org>
3078 * plug-ins/pygimp/pygimp-pdb.c (pygimp_param_from_tuple): Translate
3079 None to NULL when passing strings.
3081 * plug-ins/pygimp/gimpui.py: Pass None for brush, pattern, and
3082 gradient get_list so they work. Redo selection list to use a
3083 TreeView. Quickie solution for now, it could be much better.
3085 2004-02-04 Manish Singh <yosh@gimp.org>
3087 * configure.in: Resurrected several autoconf substitutions relating
3088 to versions, so the .spec file can use them.
3090 2004-02-05 Raphaƫl Quinet <quinet@gamers.org>
3092 * configure.in: Added a conditional definition of the preprocessor
3093 symbol GIMP_UNSTABLE if the autoconf symbol GIMP_UNSTABLE is
3096 * app/errors.c (gimp_errors_init): Replaced the #if test on
3097 GIMP_MINOR_VERSION modulo 2 by #ifdef GIMP_UNSTABLE.
3099 * app/composite/gimp-composite.c (gimp_composite_init): Print the
3100 init messages only in unstable versions. Split the messages in
3101 two lines and mention "supported by gimp_composite" in order to
3102 give a hint that the availability of some features depends also on
3103 what code has been written. Fixes bug #128825.
3105 2004-02-04 Sven Neumann <sven@gimp.org>
3107 * app/core/gimpchannel.c
3108 * app/tools/gimptexttool.c
3109 * app/vectors/gimpvectors.c
3110 * app/widgets/gimpbufferview.c: removed double semicolons.
3112 2004-02-04 Sven Neumann <sven@gimp.org>
3114 * app/Makefile.am (dist-hook): create an unversioned gimprc manpage.
3116 2004-02-04 Sven Neumann <sven@gimp.org>
3118 * Made 2.0pre3 release.
3120 2004-02-04 Sven Neumann <sven@gimp.org>
3122 * docs/Makefile.am (EXTRA_DIST): removed redundant entries that
3123 became invalid when the change to unversioned files was made.
3125 2004-02-04 Michael Natterer <mitch@gimp.org>
3127 * app/display/gimpdisplayshell-render.c (struct RenderInfo)
3128 (render_image_accelerate_scaling): use gdouble instead of gfloat
3129 for x and y scale factors so gfloat's limited precision can't add
3130 up to off-by-one pixel errors. Fixes display artefacts (missing
3131 updates) at the bottom and right sides of updated areas at certain
3132 irrational zoom factors like 1:3.
3134 2004-02-04 Sven Neumann <sven@gimp.org>
3136 * app/gui/image-menu.c (image_menu_entries): added percentages to
3137 the View->Zoom menu entries as suggested in bug #131563.
3139 2004-02-04 Sven Neumann <sven@gimp.org>
3141 * app/config/gimprc.[ch]: added the new function
3142 gimp_rc_set_unknown_token() to get autosave working for unknown
3145 * app/config/gimpconfig.c: indentation.
3147 * tools/pdbgen/pdb/gimprc.pdb: gimp->edit_config was used for a
3148 good reason, it's the one that's saved. Reverted a change I did
3149 about a month ago. Use gimp_rc_set_unknown_token() so unknown
3150 tokens get saved. This really fixes gimp_gimprc_set().
3152 * app/pdb/gimprc_cmds.c: regenerated.
3154 2004-02-03 Manish Singh <yosh@gimp.org>
3156 * configure.in: Allow generated files with versions.
3159 * gimpthumb-2.0.pc.in
3161 * docs/gimp-1.3.1.in
3162 * docs/gimp-remote-1.3.1.in
3163 * docs/gimprc-1.3.5.in
3164 * docs/gimptool-2.0.1.in: renamed to unversioned files.
3166 I left gimptool-2.0.in alone since I didn't want to screw with
3167 other branches history. It'll be obsolete post-2.0 anyway.
3169 2004-02-03 Manish Singh <yosh@gimp.org>
3171 * plug-ins/maze/maze_face.c (maze_dialog): remove unused variable
3174 2004-02-03 Manish Singh <yosh@gimp.org>
3176 * gimptool-2.0.in: use GIMP_API_VERSION.
3178 2004-02-03 Sven Neumann <sven@gimp.org>
3180 * app/display/gimpdisplayshell-scale.c
3181 (gimp_display_shell_scale_dialog): improved dialog layout.
3183 2004-02-03 Sven Neumann <sven@gimp.org>
3185 * app/gui/image-menu.c (image_menu_set_zoom): don't mark weird
3186 format strings as translatable.
3188 * data/misc/gimp.desktop.in.in (_Name): use "The GIMP" without an
3189 "(unstable)" suffix. Should give translators the chance to update
3190 their translations before the final 2.0 release.
3192 * configure.in: removed now unused GIMP_VISIBLE_NAME variable.
3194 2004-02-03 Michael Natterer <mitch@gimp.org>
3196 * app/plug-in/plug-ins.c (plug_ins_init): use g_clear_error()
3197 instead of g_error_free() and re-use the same GError location for
3198 pluginrc parsing and writing.
3200 (plug_ins_proc_def_insert): when overriding a PlugInProcDef, don't
3201 take over the menu_path and menu_accel of the overridden proc
3202 because (a) it's just plain wrong and (b) we don't need to
3203 preserve the proc_defs' order any more (see below).
3205 2004-02-03 Michael Natterer <mitch@gimp.org>
3207 * app/plug-in/plug-in-proc.[ch]: added new function
3208 plug_in_proc_def_compare_menu_path() which is a GCompareDataFunc.
3209 (uses g_utf8_collate() on the translated menu paths).
3211 * app/plug-in/plug-ins.c (plug_ins_init): sort gimp->load_procs
3212 and gimp->save_procs using the new compare function above.
3215 (plug_ins_locale_domain)
3216 (plug_ins_help_domain): don't g_return_if_fail() on a NULL
3217 prog_name but return the default locale and help domains
3220 (plug_ins_proc_def_insert): removed obsolete and broken (not
3221 locale and UTF-8 aware) code which tried to insert new plug-in
3222 menu entries in alphabetical order (was unused except for load
3227 * app/plug-in/plug-in-proc.[ch]: added const qualifiers.
3229 * app/file/file-open.c
3230 * app/file/file-save.c
3231 * tools/pdbgen/pdb/fileops.pdb: changed accordingly (constify
3234 * app/pdb/fileops_cmds.c: regenerated.
3236 2004-02-03 Michael Natterer <mitch@gimp.org>
3238 * plug-ins/script-fu/scripts/*.scm: applied patch from Kevin
3239 Cozens <kcozens@interlog.com> which removes the use of deprecated
3240 constants in all scripts. Fixes bug #133270.
3242 2004-02-03 Michael Natterer <mitch@gimp.org>
3244 * plug-ins/script-fu/script-fu-scripts.c (script_fu_free_script):
3245 call gimp_uninstall_temp_proc() with script->pdb_name, not
3246 script->script_name. Fixes bug #133280.
3248 2004-02-02 DindinX <david@dindinx.org>
3250 * app/display/gimpcanvas.c: gimp_canvas_draw_segments():
3251 Do not call gdk_draw_segments() with more than 32000 segments at a
3252 time, because XDrawSegments should never be called with more
3253 segments than that. This should really be fixed at the gdk level,
3256 This fixes bug #122026.
3258 2004-02-02 Sven Neumann <sven@gimp.org>
3260 * libgimpthumb/gimpthumbnail.c (gimp_thumbnail_save_thumb): use
3261 the UTF-encoded URI in error messages, not the filename.
3263 * app/Makefile.am: use $(EXEEXT) for dist-hook binary dependency.
3265 * tools/gimp-remote.c: include <unistd.h> conditionally.
3267 2004-02-02 Michael Natterer <mitch@gimp.org>
3269 * app/widgets/gimpimagedock.c (gimp_image_dock_constructor):
3270 also destroy the <Image> factory's "Tools" submenu because menu
3271 shortcuts with no or <shift> modifier prevent this key to be
3272 entered in text entries. This really badly baldy cries for
3273 GTK+ 2.4's GtkActions...
3275 2004-02-01 Michael Natterer <mitch@gimp.org>
3277 * app/config/gimpconfig-path.c (gimp_config_path_expand_only):
3278 when calculating the length of the expanded path, add the length
3279 of the UTF-8 converted substitution, not its length in filesystem
3280 encoding. Finally enables GIMP2_DIRECTORY containing non-ascii
3281 chars (at least on linux). Should fix bug #130118.
3283 2004-02-01 Michael Natterer <mitch@gimp.org>
3285 Disallow to rename the layer mask. Instead, always name the mask
3286 "<layer name> mask". Fixes bug #133112 along with some other
3289 * app/core/gimpitem.[ch]: added a boolean return value indicating
3290 success to GimpItem::rename().
3292 (gimp_item_real_rename): push an undo step only if the item is
3295 * app/core/gimplayer.c (gimp_layer_rename): refuse renaming if
3296 the layer is a floating selection floated from a channel
3297 (renaming a layer's floating selection makes a new layer out
3298 of the floating selection).
3300 (gimp_layer_duplicate): use gimp_layer_add_mask() to attach the
3301 mask's duplicate. Fixes mask refcount brokenness for duplicated
3304 (gimp_layer_name_changed): new function. Automatically renames the
3305 layer mask when the layer's name changes.
3307 * app/core/gimplayermask.c (gimp_layer_mask_rename): new function
3308 which refuses renaming.
3310 (gimp_layer_mask_name_changed): skip the unique name voodoo
3311 GimpItem does by not chaining up.
3313 (gimp_layer_mask_set_layer): change the mask's name whenever it is
3314 attached to a layer.
3316 * app/text/gimptextlayer.c (gimp_text_layer_rename): fiddle with
3317 text_layer->auto_rename only if renaming was successful.
3319 * app/widgets/gimpitemtreeview.c (gimp_item_tree_view_name_edited):
3320 restore the old name if renaming failed.
3322 * tools/pdbgen/pdb/drawable.pdb (set_name): return an execution
3323 error if renaming failed.
3325 * app/pdb/drawable_cmds.c: regenerated.
3327 2004-02-01 Michael Natterer <mitch@gimp.org>
3329 * app/xcf/xcf-load.c (xcf_load_layer): no need to set the layer
3330 mask's offsets, gimp_layer_add_mask() does this for us. Simplified
3331 mask property assignments.
3333 2004-02-01 Michael Natterer <mitch@gimp.org>
3335 Reworked random seed handling once more:
3337 * libgimpwidgets/gimpwidgets.c (gimp_random_seed_new): make sure
3338 the displayed random seed value is always the one which will be
3339 used, whether "Randomize" is checked or not.
3341 * plug-ins/common/blur.c
3342 * plug-ins/common/plasma.c
3343 * plug-ins/common/randomize.c
3344 * plug-ins/common/sinus.c
3345 * plug-ins/common/snoise.c
3346 * plug-ins/maze/algorithms.c
3347 * plug-ins/maze/maze.c: if running interactively, always take
3348 the seed value produced by the gimp_random_seed widget and don't
3349 touch it because the widgets honors the "randomize" toggle
3352 For noninteractive and last_vals runs, look at the "randomize"
3353 boolean and generate a seed if it is TRUE.
3355 Initialize the random number generators from the seed determined
3356 by either of the above ways and don't fiddle with it in the inner
3359 * plug-ins/gflare/gflare.c (plugin_run): initialize the GRand
3360 from the seed unconditionally.
3362 (ed_make_page_sflare): no need to get the entry from the random
3363 seed widget to get its adjustment. Instead get the adjustment
3366 (The random handling code of gflare looks somewhat broken, but
3367 that applies to the whole plug-in).
3369 2004-02-01 Michael Natterer <mitch@gimp.org>
3371 * app/plug-in/plug-ins.c (plug_ins_init): when removing a
3372 duplicate PDB procedure, also remove it from gimp->load_procs and
3373 gimp->save_procs. Fixes bug #133099.
3375 Some general cleanup like moving variables to local scopes.
3377 2004-01-31 Manish Singh <yosh@gimp.org>
3379 * plug-ins/common/tiff.c (tiff_warning): use G_VA_COPY for copying
3382 2004-02-01 Simon Budig <simon@gimp.org>
3384 * app/display/gimpdisplayshell-scale.c: initialize variable
3385 to avoid stupid compiler warning.
3387 2004-02-01 Dave Neary <bolsh@gimp.org>
3389 * libgimpwidgets/gimpwidgets.c
3390 * libgimpwidgets/gimpwidgets.h: Modify random seed widget to
3391 allow the user to specify that a seed should be chosen
3392 randomly for them (useful to allow re-running random plug-ins
3393 several times to get several different results).
3395 * plug-ins/common/blur.c
3396 * plug-ins/common/plasma.c
3397 * plug-ins/common/randomize.c
3398 * plug-ins/common/sinus.c
3399 * plug-ins/common/snoise.c
3400 * plug-ins/gflare/gflare.c
3401 * plug-ins/maze/algorithms.c
3402 * plug-ins/maze/maze.c
3403 * plug-ins/maze/maze.h
3404 * plug-ins/maze/maze_face.c: Changed appropriately.
3406 This fixes bug #129529.
3408 2004-01-31 Raphaƫl Quinet <quinet@gamers.org>
3410 * plug-ins/common/tiff.c (tiff_warning, tiff_error): Do not
3411 display the warning message about unknown tags for unregistered
3412 private tags (>= 32768). Fixes bug #131975. Do not display the
3413 error message about random access not supported for images using
3414 JPEG compression. Fixes bug #132297. It would be better to allow
3415 the user to customize which messages should be displayed or not,
3416 but this can be done in a future release.
3418 2004-01-31 Michael Natterer <mitch@gimp.org>
3420 Use the global <Image> accel_group in all docks except the
3421 toolbox (the latter needs GTK+ 2.4's new menu features).
3422 Addresses bug #119878:
3424 * app/gui/buffers-commands.c
3425 * app/gui/channels-commands.c
3426 * app/gui/data-commands.c
3427 * app/gui/documents-commands.c
3428 * app/gui/drawable-commands.c
3429 * app/gui/edit-commands.c
3430 * app/gui/file-commands.c
3431 * app/gui/gradients-commands.c
3432 * app/gui/image-commands.c
3433 * app/gui/layers-commands.c
3434 * app/gui/plug-in-commands.c
3435 * app/gui/select-commands.c
3436 * app/gui/tool-options-commands.c
3437 * app/gui/tools-commands.c
3438 * app/gui/vectors-commands.c
3439 * app/gui/view-commands.c: changed the various return_if_no_foo()
3440 macros to also accept a GimpDock as user_data.
3442 * app/gui/image-menu.c (image_menu_update): don't update the
3443 display related menu items if they don't exist (see below).
3445 * app/gui/gui.c (gui_display_changed): simplified.
3447 * app/widgets/gimpimagedock.[ch]: create an "<Image>" item_factory
3448 and attach its accel_group to the dock. Destroy all display
3449 related menu items. Destroy the layer stack navigation items
3450 because their default shortcuts interfere with tree and grid view
3451 keybindings. Connect to "image_changed" of the dock's private
3452 context and to "flush" of the image container to update the
3453 item_factory's state.
3455 2004-01-31 Michael Natterer <mitch@gimp.org>
3457 * app/gui/dialogs.c: added some g_return_if_fail().
3459 2004-01-31 Michael Natterer <mitch@gimp.org>
3461 * app/widgets/gimpdock.c (gimp_dock_constructor): g_assert() that
3462 we got the essential construct properties.
3464 2004-01-31 Michael Natterer <mitch@gimp.org>
3466 * app/core/gimpimage-convert.[ch]: use gboolean instead of gint
3467 for "alpha_dither" and "remove_dups" in all public and private
3468 functions. Properly prototyped private functions. Minor cleanup.
3470 * app/gui/convert-dialog.c: pass FALSE instead of 0.
3472 * tools/pdbgen/pdb/convert.pdb: ditto. Also cleaned up a bit: use
3473 generated checks and documentation for enums, removed duplicate
3474 check for enum range (spotted by Kevin Cozens).
3476 * app/pdb/convert_cmds.c
3477 * libgimp/gimpconvert_pdb.c: regenerated.
3479 2004-01-31 Manish Singh <yosh@gimp.org>
3481 * app/base/cpu-accel.c: Make the assembly PIC safe. Fixes #132999.
3483 * app/composite/Makefile.am
3484 * app/composite/gimp-composite-3dnow.c
3485 * app/composite/gimp-composite-mmx.c
3486 * app/composite/gimp-composite-sse.c
3487 * app/composite/gimp-composite-sse2.c: Disable code when compiling
3488 for PIC on ia32, since it'll barf things. These can be fixed later.
3490 * app/composite/gimp-composite-3dnow-test.c
3491 * app/composite/gimp-composite-mmx-installer.c
3492 * app/composite/gimp-composite-mmx-test.c
3493 * app/composite/gimp-composite-sse-installer.c
3494 * app/composite/gimp-composite-sse-test.c
3495 * app/composite/gimp-composite-sse2-installer.c
3496 * app/composite/gimp-composite-sse2-test.c: Regenerated.
3498 2004-01-31 Manish Singh <yosh@gimp.org>
3500 * configure.in: define ARCH_X86_64 globally.
3502 * app/base/cpu-accel.c: remove local definition.
3504 2004-01-30 Michael Natterer <mitch@gimp.org>
3506 * app/widgets/gimptooloptionseditor.[ch]: added the scrolled
3507 window to the GimpToolOptionsEditor struct.
3509 (gimp_tool_options_editor_tool_changed): set the active tool's
3510 help ID on the scrolled window. Fixes bug #132969.
3512 2004-01-30 Sven Neumann <sven@gimp.org>
3514 * plug-ins/helpbrowser/dialog.c: map the Home button to
3515 "index.html" and removed the Index button for now.
3517 2004-01-30 Michael Natterer <mitch@gimp.org>
3519 * plug-ins/rcm/rcm_dialog.c (rcm_dialog): fixed help ID.
3521 * plug-ins/rcm/rcm.[ch]
3522 * plug-ins/rcm/rcm_callback.[ch]
3523 * plug-ins/rcm/rcm_dialog.[ch]
3524 * plug-ins/rcm/rcm_gdk.[ch]
3525 * plug-ins/rcm/rcm_misc.[ch]: completely reindented, removed
3526 overly long /*---...---*/ comment lines, fixed spacing.
3528 2004-01-30 Michael Schumacher <schumaml@cvs.gnome.org>
3530 * libgimpwidgets/gimpwidgets.def: added missing symbols.
3531 * README.win32: Sven fixed the EXEEXT problem in
3532 plug-ins/common. Updated README.win32 accordingly.
3534 2004-01-29 Simon Budig <simon@gimp.org>
3536 * app/display/gimpdisplayshell.[ch]: Store the zoom factor as
3537 float, not as a ratio.
3539 * app/display/gimpdisplayshell-scale.[ch]: change the API to
3540 expose the Float instead a weirdly encoded integer. Implement
3541 functions to get a ratio from the scale factor. Implement a set
3542 as presets as discussed on the mailinglist. Changed Zoom->Other
3543 dialog to enable entering a float.
3545 * app/display/gimpdisplayshell-title.c
3546 * app/display/gimpnavigationview.c
3547 * app/gui/image-menu.c
3548 * app/gui/info-window.c
3549 * app/tools/gimpmagnifytool.c: changed accordingly.
3551 * app/core/gimp.[ch]
3552 * app/display/gimpdisplay.[ch]
3553 * app/gui/gui-vtable.c
3554 * app/widgets/widgets-enums.h: Made the various display-creating
3555 functions accept a float for the scale. Introduce a new
3556 GimpZoomType: GIMP_ZOOM_TO. Generally adjust the API to use
3557 floats instead of weird integers.
3559 * app/core/gimp-edit.c
3560 * app/core/gimptemplate.c
3561 * app/display/gimpdisplayshell-callbacks.c
3562 * app/file/file-open.c
3563 * app/gui/image-commands.c
3564 * app/gui/view-commands.[ch]
3565 * tools/pdbgen/pdb/display.pdb
3566 * app/widgets/gimpimageview.c
3567 * app/widgets/gimptoolbox-dnd.c: changed accordingly
3569 * app/pdb/display_cmds.c: regenerated
3571 Fixes bug #131964 and makes bug #131563 easy to resolve.
3573 2004-01-29 Michael Natterer <mitch@gimp.org>
3575 * app/core/gimpcontext.[ch]: removed the last artefact of context
3576 signal handling from 1.2:
3578 GimpContext used to connect to e.g. the current brush's
3579 "invalidate_preview" and "name_changed" signals and emitted
3580 "brush_changed" when the callback was invoked. This was needed to
3581 make 1.2 work, but is conceptually broken with the real model <->
3582 view approach implemented in the current code.
3583 This change also optimizes things quite a bit because lots of
3584 signal emissions are saved.
3586 Added utility function which finds a container's current object
3587 after a freeze/thaw.
3589 * app/widgets/gimpcontainerview.[ch]: added new virtual function
3590 GimpContainerView::rename_item(). Connect to "name_changed" of the
3591 corrent container's children and invoke rename_item() accordingly.
3593 * app/widgets/gimpcontainertreeview.[ch]: removed name_changed
3594 handler and implement GimpContainerView::rename_item().
3596 * app/widgets/gimpcontainergridview.c: ditto. the grid view was
3597 still relying on the removed GimpContext behaviour for updating
3598 the label showing the sleected item's name.
3600 2004-01-29 Michael Natterer <mitch@gimp.org>
3602 GimpData code review:
3604 * app/core/gimpdata.c (gimp_data_init): default to
3605 writable = FALSE and dirty = TRUE.
3607 * app/core/gimpbrushgenerated.[ch]: added "const gchar *name" to
3608 gimp_brush_generated_new().
3610 * app/core/gimpbrush.c
3611 * app/core/gimpbrushgenerated.c
3612 * app/core/gimpbrushpipe.c
3613 * app/core/gimpgradient.c
3614 * app/core/gimppalette.c
3615 * app/core/gimppattern.c: set all standard datas to clean and
3616 internal, check for g_path_is_absolute() in all load functions,
3617 pass the data's name as construct property to g_object_new()
3618 instead of calling gimp_object_set_name() after creation, fixed
3619 some UTF-8 handling, spacing, indentation, coding style, general
3622 2004-01-29 Sven Neumann <sven@gimp.org>
3624 * app/tools/gimpcurvestool.c
3625 * app/tools/gimpinkoptions.c
3626 * app/tools/gimplevelstool.c: removed explicit grabs. The pointer
3627 is already implicitely grabbed while the button is pressed.
3629 2004-01-29 Michael Natterer <mitch@gimp.org>
3631 * configure.in: reset binary age because of struct changes below.
3632 * m4macros/gimp-2.0.m4: require GIMP 1.3.26.
3634 * libgimpmodule/gimpmodule.h
3635 * libgimpmodule/gimpmoduledb.h
3636 * libgimpthumb/gimpthumbnail.h
3637 * libgimpwidgets/gimpbutton.h
3638 * libgimpwidgets/gimpchainbutton.h
3639 * libgimpwidgets/gimpcolorarea.h
3640 * libgimpwidgets/gimpcolorbutton.h
3641 * libgimpwidgets/gimpcolordisplay.h
3642 * libgimpwidgets/gimpcolordisplaystack.h
3643 * libgimpwidgets/gimpcolornotebook.h
3644 * libgimpwidgets/gimpcolorscale.h
3645 * libgimpwidgets/gimpcolorselection.h
3646 * libgimpwidgets/gimpcolorselector.h
3647 * libgimpwidgets/gimpdialog.h
3648 * libgimpwidgets/gimpfileentry.h
3649 * libgimpwidgets/gimpmemsizeentry.h
3650 * libgimpwidgets/gimpoffsetarea.h
3651 * libgimpwidgets/gimppickbutton.h
3652 * libgimpwidgets/gimppixmap.h
3653 * libgimpwidgets/gimpsizeentry.h
3654 * libgimpwidgets/gimpunitmenu.h: added 4 function pointers padding
3655 to all class structures.
3657 2004-01-28 Michael Natterer <mitch@gimp.org>
3659 Added infrastructure to make sure we don't write to the global
3660 brush, pattern etc. directories. Needed to make this configurable
3661 because we can't rely on the global directories being read-only,
3662 having certain names or being otherwise detectable at runtime in a
3663 sane way. Fixes bug #132214.
3665 * libgimpbase/gimpdatafiles.[ch]: added "const gchar *dirname" to
3666 the GimpDataFileData struct so callbacks don't need to call
3667 g_path_get_dirname() for each file.
3669 * libgimpwidgets/gimpfileentry.c: made it work with non UTF-8
3672 * libgimpwidgets/gimppatheditor.[ch]: ditto. Added GUI and API for
3673 setting/getting a second "writable_path". The widget makes sure
3674 that the writable_path is always a subset of the path.
3676 * app/config/gimpconfig-utils.[ch]: added new function
3677 gimp_config_build_writable_path().
3679 * app/config/gimpcoreconfig.[ch]: added separate properties for
3680 the writable brush, pattern, gradient, palette and font paths.
3682 * app/config/gimprc-blurbs.h: added (still empty) blurbs for the
3685 * app/core/gimpdata.[ch] (gimp_data_set_filename): added parameter
3686 "gboolean writable". Set data->writable to FALSE by default. If
3687 "writable" is passed as TRUE, still check if we can write to the
3688 file before setting data->writable to TRUE.
3690 (gimp_data_create_filename): changed "data_path" parameter to
3691 "dest_dir" and assume dest_dir is writable.
3693 (gimp_data_duplicate): set data->dirty to TRUE to make sure
3694 duplicated things will be saved.
3696 * app/core/gimpbrush.c
3697 * app/core/gimpbrushgenerated.c
3698 * app/core/gimpbrushpipe.c
3699 * app/core/gimpgradient.c
3700 * app/core/gimppalette.c
3701 * app/core/gimppattern.c: don't set the data's filename and don't
3702 touch data->dirty in the _load() functions because that's done by
3703 the data factory now. Don't touch data->dirty in the _duplicate()
3704 functions because that's done by gimp_data_duplicate() itself now.
3706 * app/core/gimpdatafactory.[ch] (gimp_data_factory_new): added
3707 "writable_property_name" and remember it.
3708 Added utility function gimp_data_factory_get_save_dir() which
3709 determines the directory to save new datas to.
3710 Added public function gimp_data_factory_data_save_single() which
3711 saves a single data object.
3712 Make sure new things get saved to the first writable directory
3713 as specified in preferences.
3715 * app/core/gimp.c (gimp_real_initialize): pass the writable_paths'
3716 property names to gimp_data_factory_new().
3718 * app/widgets/gimpdataeditor.c (gimp_data_editor_save_dirty): use
3719 gimp_data_factory_data_save_single() instead of implementing
3722 * app/widgets/gimppropwidgets.[ch] (gimp_prop_path_editor_new):
3723 added "const gchar *writable_property_name" parameter (can be
3726 Added the needed callbacks to handle the writable_path and made
3727 the path_editor and file_entry code aware of non UTF-8 filename
3728 encodings. Some general cleanup.
3730 * app/gui/preferences-dialog.c: changed accordingly.
3732 2004-01-28 Sven Neumann <sven@gimp.org>
3734 * configure.in: according to the automake docs, we need to add
3735 $(EXEEXT) explicitely for programs that are conditionally built
3736 using configure substitutions instead of automake conditionals.
3738 2004-01-28 Michael Natterer <mitch@gimp.org>
3740 * app/config/gimpconfig-path.c (gimp_config_path_expand): return
3741 early if gimp_config_path_expand_only() fails.
3743 2004-01-28 Dave Neary <bolsh@gimp.org>
3745 * plug-ins/common/tiff.c: Removed duplicate TIFF entry from save
3746 dialog, and made the save handler point to the one that doesn't
3747 pre-multiply by alpha. Reported on gimp-user by misfit-x. Also
3748 changed default value to not destroy data on save.
3750 2004-01-28 Pedro Gimeno <pggimeno@wanadoo.es>
3752 * plug-ins/script-fu/scripts/grid-system.scm: Fix typo that prevented
3753 using the inverse of the golden ratio (1/g) as a weight in the list.
3755 2004-01-28 Michael Natterer <mitch@gimp.org>
3757 * app/widgets/gimphelp-ids.h: updated help IDs for new/reordered
3758 pages in the prefs dialog.
3760 * app/gui/preferences-dialog.c (prefs_dialog_new): changed
3763 2004-01-28 Manish Singh <yosh@gimp.org>
3765 * plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call): validate
3766 the types of the individual list members when passing parasites.
3769 2004-01-27 Manish Singh <yosh@gimp.org>
3771 * app/paint-funcs/paint-funcs.c: inlined rotate_pointers, changed
3772 prototypes and casts around so that we're compliant with C99 aliasing
3775 2004-01-27 Manish Singh <yosh@gimp.org>
3777 * app/composite/gimp-composite-generic.c
3778 (gimp_composite_overlay_any_any_any_generic)
3779 * app/paint-funcs/paint-funcs-generic.h (overlay_pixels): use more
3780 than one temporary when stacking INT_MULTs, to avoid undefined
3783 2004-01-27 Manish Singh <yosh@gimp.org>
3785 * app/paint/gimppaintcore.c (gimp_paint_core_interpolate): Use a real
3786 GimpVector2 for vector operations, instead of stuffing everything
3787 into a GimpCoords. C99 aliasing fix.
3789 2004-01-27 Manish Singh <yosh@gimp.org>
3791 * plug-ins/common/plugindetails.c: removed unused variable.
3793 * plug-ins/common/nlfilt.c: declare nlfiltRow as inline in the
3794 function definition as well.
3796 2004-01-27 Manish Singh <yosh@gimp.org>
3798 * configure.in: use AM_PATH_GIMPPRINT to get some additional
3801 * acinclude.m4: define AM_PATH_GIMPPRINT here, so we don't have
3802 add a new autogen dependency.
3804 * plug-ins/print/Makefile.am: Use GIMPPRINT_{CFLAGS,LIBS}
3806 2004-01-28 Simon Budig <simon@gimp.org>
3808 Argh, this is getting silly.
3810 * app/core/gimpscanconvert.c: Fix dumb bug I introduced
3811 while fixing bug #132036. Instead of always closing a
3812 polyline to the first point of the vpath close to the
3813 first point of the current polyline
3815 I'll close #132036 for the third time now, feel free to
3816 reopen it when bugs appear...
3818 2004-01-27 Dave Neary <bolsh@gimp.org>
3820 * plug-ins/common/tiff.c: Apply patch from Andrey Kiselev to
3821 improve defaults when there is no photometric specified for
3822 CCITT encoded tiffs. Closes bug #131902.
3824 2004-01-27 Michael Natterer <mitch@gimp.org>
3826 * app/gui/layers-commands.c (layers_add_mask_query): use the
3827 new GIMP_STOCK_LAYER_MASK icon for "Add Layer Mask" dialog.
3829 2004-01-27 Jakub Steiner <jimmac@ximian.com>
3831 * themes/Default/images/stock-channel-indexed-16.png
3832 * themes/Default/images/stock-channel-indexed-24.png
3833 * themes/Default/images/stock-channel-indexed-32.png
3834 * themes/Default/images/stock-channel-indexed-48.png: replacing
3837 2004-01-27 Michael Natterer <mitch@gimp.org>
3839 Re-enabled filling the whole selection using the bucket fill
3840 tool. Fixes bug #132649.
3842 * app/tools/gimpbucketfilloptions.[ch]: added boolean property
3843 "fill-selection" and a GUI for it.
3845 * app/tools/gimpbucketfilltool.c: changed accordingly.
3847 2004-01-27 Michael Natterer <mitch@gimp.org>
3849 * app/gui/image-menu.c (image_menu_entries)
3850 * app/gui/layers-menu.c (layers_menu_entries): use the new
3851 GIMP_STOCK_LAYER_MASK icons for "Add Layer Mask".
3853 2004-01-27 Michael Natterer <mitch@gimp.org>
3855 * themes/Default/images/Makefile.am
3856 * themes/Default/images/stock-channel-indexed-16.png
3857 * themes/Default/images/stock-channel-indexed-24.png
3858 * themes/Default/images/stock-channel-indexed-32.png
3859 * themes/Default/images/stock-channel-indexed-48.png
3860 * libgimpwidgets/gimpstock.[ch]: added placeholders for an INDEXED
3861 channel icon (copied from the GRAY channel icon). To be replaced...
3863 * app/widgets/gimppreviewrendererimage.c: use
3864 GIMP_STOCK_CHANNEL_INDEXED instead of GIMP_STOCK_QUESTION for the
3867 2004-01-27 Sven Neumann <sven@gimp.org>
3869 * plug-ins/script-fu/scripts/comic-logo.scm: applied a patch from
3870 Pedro Gimeno to make the logo behave more like it used to in 1.2
3873 2004-01-27 Michael Natterer <mitch@gimp.org>
3875 * app/display/gimpdisplayshell-title.c
3876 (gimp_display_shell_format_title): added '%P' which expands to the
3877 PDB id of the active drawable. Moved local variables to local
3878 scopes where they are needed.
3880 * app/config/gimpconfig-dump.c: document it.
3882 2004-01-27 Michael Natterer <mitch@gimp.org>
3884 * app/display/gimpdisplayshell-dnd.c: some cleanup.
3886 (gimp_display_shell_bucket_fill): don't use the bucket fill
3887 options but behave like "Edit -> Fill" and fill with NORMAL/100%.
3890 2004-01-26 Manish Singh <yosh@gimp.org>
3892 * gimp-zip.in: use new versioning defines.
3894 2004-01-26 Manish Singh <yosh@gimp.org>
3896 * configure.in: add m4_defines for gimp_unstable and gimp_full_name,
3897 and define a GIMP_VISIBLE_NAME based on that.
3899 * data/misc/Makefile.am
3900 * data/misc/gimp.applications.in
3901 * data/misc/gimp.keys.in: made these configured files, so they can
3902 use GIMP_APP_VERSION and GIMP_VISIBLE_NAME.
3904 * data/misc/gimp.desktop.in.in: use GIMP_APP_VERSION and
3907 2004-01-27 Jakub Steiner <jimmac@ximian.com>
3909 * themes/Default/images/stock-layer-mask-32.png
3910 * themes/Default/images/stock-layer-mask-48.png: replaced the
3913 2004-01-27 Michael Natterer <mitch@gimp.org>
3915 * themes/Default/images/Makefile.am
3916 * themes/Default/images/stock-layer-mask-16.png
3917 * themes/Default/images/stock-layer-mask-24.png
3918 * themes/Default/images/stock-layer-mask-32.png
3919 * themes/Default/images/stock-layer-mask-48.png
3920 * themes/Default/images/stock-selection-border-16.png
3921 * libgimpwidgets/gimpstock.[ch]: added forgotten layer mask and
3922 new "border selection" icons from Jimmac (-32 and -48 ones to be
3923 updated, they are currently copies of the channel icons).
3925 * app/core/gimplayermask.c (gimp_layer_mask_class_init)
3926 * app/gui/image-menu.c (image_menu_entries): use them.
3928 2004-01-27 Sven Neumann <sven@gimp.org>
3930 * plug-ins/gimpressionist/brush.c
3931 * plug-ins/gimpressionist/gimp.c
3932 * plug-ins/gimpressionist/gimpressionist.[ch]
3933 * plug-ins/gimpressionist/paper.c
3934 * plug-ins/gimpressionist/presets.c: fixed a crash (bug #132027),
3935 got rid of some possible buffer overflows and fixed platform issues
3936 like hardcoding '/' as the path separator.
3938 2004-01-26 Michael Natterer <mitch@gimp.org>
3940 * app/gui/image-menu.c (image_menu_entries): use
3941 GIMP_STOCK_FLOATING_SELECTION for "Select->Float".
3943 (image_menu_update): set "Layer->Merge Down" insensitive for the
3946 2004-01-26 Simon Budig <simon@gimp.org>
3948 * app/core/gimpscanconvert.c: use the modern libart way
3949 to uncross/rewind a libart SVP. This time really fixes
3950 bug #132036 (please test it though...).
3952 2004-01-26 Sven Neumann <sven@gimp.org>
3954 * app/display/gimpdisplayshell-selection.c: don't draw the
3955 outbounds selection when the selection is hidden (bug #132595).
3957 2004-01-26 Sven Neumann <sven@gimp.org>
3959 * app/text/gimptext-xlfd.c (gimp_text_font_size_from_xlfd):
3960 account for the fact that XLFD stores point sizes in decipoints.
3962 * app/text/gimptext-vectors.c: s/TEXT_DEBUG/GIMP_TEXT_DEBUG/
3964 2004-01-26 Sven Neumann <sven@gimp.org>
3966 * app/tools/gimpcurvestool.c
3967 * app/widgets/gimphistogramview.c: use dark_gc instead of
3968 text_aa_gc to draw the histogram and curves grid lines. dark_gc is
3969 slightly lighter, looks better and fixes bug #132565.
3971 2004-01-26 Michael Natterer <mitch@gimp.org>
3973 * app/core/gimpimage.[ch]: removed gimp_image_owns_item() again.
3975 * app/core/gimpitem.[ch]: instead, added new virtual function
3976 GimpItem::is_attached().
3978 * app/core/gimpchannel.c
3979 * app/core/gimplayer.c
3980 * app/core/gimplayermask.c
3981 * app/core/gimpselection.c
3982 * app/vectors/gimpvectors.c: implement it.
3984 * app/core/gimp-edit.c
3985 * app/core/gimpdrawable-transform.c
3986 * app/core/gimplayer-floating-sel.c
3987 * app/text/gimptext-compat.c
3988 * tools/pdbgen/pdb/edit.pdb
3989 * tools/pdbgen/pdb/floating_sel.pdb
3990 * tools/pdbgen/pdb/selection.pdb
3991 * tools/pdbgen/pdb/text_tool.pdb
3992 * tools/pdbgen/pdb/transform_tools.pdb_ changed accordingly.
3994 * app/pdb/edit_cmds.c
3995 * app/pdb/floating_sel_cmds.c
3996 * app/pdb/selection_cmds.c
3997 * app/pdb/text_tool_cmds.c
3998 * app/pdb/transform_tools_cmds.c: regenerated.
4000 2004-01-26 Michael Natterer <mitch@gimp.org>
4002 * plug-ins/script-fu/scripts/unsharp-mask.scm: add the layer to
4003 the image before pasting to it. Fixes bug #132504.
4005 Fixed the underlying problem: make it impossible to attach
4006 floating selections to drawables which are not currently part of
4007 the image's layer or channel stacks.
4008 Also cleaned up image <-> floating_sel interaction:
4010 * app/core/gimplayer-floating-sel.[ch] (floating_sel_attach):
4011 added assertion that the drawable is part of the image (see below).
4012 Don't call gimp_image_floating_selection_changed(), it's emitted
4013 by gimp_image_add_layer() now.
4015 (floating_sel_remove)
4016 (floating_sel_anchor): don't emit "floating_selection_changed",
4017 it's emitted by gimp_image_remove_layer() now.
4019 (floating_sel_anchor): removed the fix for bug #132162 because
4020 gimp_image_remove_layer() behaves correctly now (see below).
4022 Renamed floating_sel_reset() to floating_sel_activate_drawable().
4023 Added g_return_if_fail() all over the place.
4025 * app/core/gimpimage.[ch]: added new function gimp_image_owns_item()
4026 which return TRUE if the passed item is part of the image.
4028 (gimp_image_add_layer): emit "floating_selection_changed" here if
4031 (gimp_image_remove_layer): emit "floating_selection_changed" if
4032 needed, don't try to activate a layer if we called
4033 floating_sel_activate_drawable().
4034 This is the real fix for bug #132162.
4036 * app/core/gimpimage-undo-push.c (undo_pop_layer): apply the same
4037 fixes as to gimp_image_add,remove_layer(). Don't call
4038 gimp_drawable_invalidate_preview() on the previously active layer
4039 because that's done by gimp_image_set_active_layer() now.
4041 * app/xcf/xcf-load.c: remember the "floating_sel_drawable" in the
4042 XcfInfo struct and attach it *after* all layers and channels are
4043 loaded to avoid attaching the floating selection to an
4044 out-of-image drawable.
4046 * app/core/gimp-edit.c (gimp_edit_paste)
4047 * app/core/gimpdrawable-transform.c (gimp_drawable_transform_affine,
4048 gimp_drawable_transform_flip, gimp_drawable_transform_rotate)
4049 * app/core/gimpselection.c (gimp_selection_float)
4050 * app/text/gimptext-compat.c (text_render): added checks for
4051 gimp_image_owns_item() in all functions which can produce
4052 floating selections.
4054 * tools/pdbgen/pdb/edit.pdb
4055 * tools/pdbgen/pdb/floating_sel.pdb
4056 * tools/pdbgen/pdb/selection.pdb
4057 * tools/pdbgen/pdb/text_tool.pdb
4058 * tools/pdbgen/pdb/transform_tools.pdb: added checks for
4059 gimp_item_owns_image() and return an execution error if invoked
4060 with a drawable which is not part of the image.
4062 * app/pdb/edit_cmds.c
4063 * app/pdb/floating_sel_cmds.c
4064 * app/pdb/selection_cmds.c
4065 * app/pdb/text_tool_cmds.c
4066 * app/pdb/transform_tools_cmds.c: regenerated.
4068 2004-01-26 Michael Natterer <mitch@gimp.org>
4070 * app/xcf/xcf-save.c (xcf_save_channel): store the correct offset
4071 of the floating selection's drawable. This bug has been around
4072 since 1.2 (!!!) and made it impossible to save images correctly
4073 where the floating selection's drawable was a channel or layer
4076 2004-01-26 Sven Neumann <sven@gimp.org>
4078 * autogen.sh: prefer automake-1.7 over 1.8 since there are issues
4081 2004-01-26 Manish Singh <yosh@gimp.org>
4083 * app/core/gimpdrawable-blend.c (gradient_fill_region): use memcpy
4084 instead of casted assignment for storing HSV values in rbd.fg/bg,
4085 for C99 aliasing compliance.
4087 * app/xcf/xcf-load.c (xcf_load_layer_mask): use a GimpChannel *
4088 explictly for xcf_load_channel_props, for the above reason.
4090 * app/xcf/xcf-save.c (xcf_save_prop): use a temporary guint32 for
4091 saving property types, for the above reason.
4093 * app/core/gimpparasitelist.c (gimp_parasite_list_deserialize): plug
4094 a memory leak, since data is copied on parasite creation.
4096 2004-01-26 Simon Budig <simon@gimp.org>
4098 * app/tools/gimpvectortool.c: do nothing in _button_press when
4099 the tool is in the VECTORS_FINISHED state.
4102 2004-01-25 Manish Singh <yosh@gimp.org>
4104 * plug-ins/common/postscript.c: use GSpawn instead of popen, -dBATCH,
4105 fixes #108659 for this plugin. Thanks to Peter Kirchgessner for the
4108 2004-01-25 Sven Neumann <sven@gimp.org>
4110 * app/text/gimptextlayout.c (gimp_text_layout_position): fixed
4111 text positioning for fonts where glyphs extend the logical
4112 rectangle (fixes bug #132495).
4114 2004-01-25 Sven Neumann <sven@gimp.org>
4116 * app/gui/info-window.c (info_window_create): don't update the fields
4119 * app/gui/view-commands.c (view_info_window_cmd_callback): ... but
4120 here when the info window is connected to the display shell. Patch
4121 from Shlomi Fish; fixes bug #132329.
4123 * app/gui/info-window.c (info_window_update_extended): fixed update
4124 of info window in automatic mode. Bug #118084, patch by Shlomi Fish.
4126 * autogen.sh: check for automake-1.8 also.
4128 * HACKING: note that automake-1.8 should work as well.
4130 2004-01-24 Michael Natterer <mitch@gimp.org>
4132 * tools/pdbgen/pdb/color.pdb (levels, curves): fiddle with the
4133 passed channel index only for GRAYA drawables, not for all GRAY
4134 drawables. Fixes bug #132322.
4136 * tools/pdbgen/pdb/color.pdb: regenerated.
4138 * app/tools/gimpcurvestool.[ch]
4139 * app/tools/gimplevelstool.[ch]: fixed the same bug here. It never
4140 occured because the "channel" field was accidentially initialized
4141 with the correct value and never changed after.
4143 2004-01-23 Simon Budig <simon@gimp.org>
4145 * plug-ins/common/mosaic.c: properly use src_rgn.rowstride when
4146 initializing the target region. Fixes bug #132271.
4148 2004-01-23 Manish Singh <yosh@gimp.org>
4150 * configure.in: made the pygtk minimum version an m4 define as well.
4152 2004-01-23 Michael Natterer <mitch@gimp.org>
4157 * app/config/gimpconfigwriter.c
4158 * app/core/gimpdata.c
4159 * app/core/gimpdatafactory.c
4160 * app/gui/user-install-dialog.c
4161 * app/plug-in/plug-ins.c
4162 * app/vectors/gimpvectors-import.c: some more gimp_filename_to_utf8().
4165 * libgimpmodule/gimpmodule.c
4166 * libgimpmodule/gimpmoduledb.c: use it here, too, now that is in
4169 2004-01-23 Henrik Brix Andersen <brix@gimp.org>
4171 * plug-ins/common/.cvsignore: s/ps/postscript/ to shut up cvs.
4173 2004-01-22 Manish Singh <yosh@gimp.org>
4175 * plug-ins/common/plugin-defs.pl
4176 * plug-ins/common/Makefile.am: renamed ps to postscript, so automake
4177 doesn't get confused.
4179 2004-01-22 Sven Neumann <sven@gimp.org>
4181 * configure.in: libgimpmodule depends on gmodule-2.0 and gobject-2.0.
4182 Incorporate both into GMODULE_CFLAGS and GMODULE_LIBS.
4184 2004-01-22 Sven Neumann <sven@gimp.org>
4186 * debian/*: removed outdated and unmaintained debian package
4187 description. The debian package is well maintained without keeping
4188 these files in our CVS tree.
4190 2004-01-22 Ville PƤtsi <drc@gimp.org>
4192 * gimp.spec.in: Added a depedency for libexif
4194 2004-01-22 Michael Natterer <mitch@gimp.org>
4196 * plug-ins/common/gbr.c
4197 * plug-ins/common/pat.c: store the brush/pattern's name in a
4198 parasite attached to the image. The parasite overrides the
4199 RUN_WITH_LAST_VALS logic if it exists. Consistently set the
4200 description as the layer's name, but ignore the layer's name
4201 when saving because it may have been modified by exporting.
4204 Misc. cleanup/fixes: Don't assume that strncpy() nul-terminates
4205 the buffer, use sizeof() instead of magic numbers, sanitize
4206 descriptions using gimp_any_to_utf8(), always use strncpy()
4207 instead of strcpy().
4209 * devel-docs/parasites.txt: document the "gimp-brush-name" and
4210 "gimp-pattern-name" parasites.
4212 2004-01-22 Tor Lillqvist <tml@iki.fi>
4214 * gimptool-win32.c.in (get_prefix): Use GIMP_APP_VERSION.
4216 2004-01-21 Manish Singh <yosh@gimp.org>
4218 * m4macros/gimp-2.0.m4: quote AM_PATH_GIMP_2_O properly so automake
4219 1.8 won't whine at us.
4221 2004-01-21 Manish Singh <yosh@gimp.org>
4224 * plug-ins/FractalExplorer/Makefile.am: renamed obnoxiously long
4225 fractalexplorer-examples directory to simply examples.
4227 2004-01-21 Manish Singh <yosh@gimp.org>
4229 * configure.in: modernized, made a lot of things m4 macros, and made
4230 versioning a lot more finegrained, in anticipation for post-2.0.
4232 * autogen.sh: bumped up libtool and glib minimum requirements to match
4236 * gimpthumb-2.0.pc.in
4237 * gimpui-2.0.pc.in: adapted to new versioning variables, and bring
4238 in RT_LIBS when needed.
4240 * */*/Makefile.am: adapted to new versioning variables.
4242 2004-01-22 Michael Natterer <mitch@gimp.org>
4244 * app/core/gimplayer-floating-sel.c (floating_sel_anchor):
4245 explicitly activate the drawable the floating selection was
4246 attached to (function was relying on implicit voodoo that
4247 happened 1.2). Fixes bug #132162.
4249 2004-01-22 Michael Natterer <mitch@gimp.org>
4251 * app/core/gimpitem.[ch]: added "gboolean use_default_values"
4252 to GimpItem::stroke().
4254 * app/core/gimpselection.c: changed accordingly.
4256 * app/core/gimpchannel.c
4257 * app/vectors/gimpvectors.c: if use_default_values is TRUE, don't
4258 use the GimpPaintOptions passed in the GimpPaintInfo, but create a
4261 * app/gui/stroke-dialog.c: pass FALSE so the values as set in the
4262 tool options are used.
4264 * tools/pdbgen/pdb/edit.pdb
4265 * tools/pdbgen/pdb/paths.pdb: pass TRUE so tool options settings
4266 don't affect PDB stroke calls. Fixes part 2 of bug #132145.
4268 * app/pdb/edit_cmds.c
4269 * app/pdb/paths_cmds.c: regenerated.
4271 2004-01-22 Simon Budig <simon@gimp.org>
4273 * app/gui/dialogs-commands.c: replaced the indexed palette in
4274 the default "Layers, Channels, Paths"-Dock (as created by the
4275 menu in the toolbox) with the Undo History, since the indexed
4276 palette is pretty useless most of the time and the new setup
4277 at least matches the upper half of the dockable that comes up
4278 after a new user starts the Gimp the first time.
4280 2004-01-21 Michael Natterer <mitch@gimp.org>
4282 * app/gui/dialogs-commands.c: show the image menu in newly created
4283 layers, channels & paths docks.
4285 2004-01-21 Michael Natterer <mitch@gimp.org>
4287 * app/tools/gimptool.[ch]: added boolean return value to
4288 GimpTool::initialize(). Returning FALSE means the tool could not
4289 be initialized and doesn't want to receive button events.
4290 Return TRUE from the default implementation.
4292 * app/tools/tool_manager.[ch]: added boolean return value to
4293 tool_manager_initialize_active(). Don't set the tool's display or
4294 drawable if initialize() returns FALSE.
4296 * app/display/gimpdisplayshell-callbacks.c: don't send button
4297 events to the tool if initialize() returns FALSE.
4299 * app/tools/gimpbrightnesscontrasttool.c
4300 * app/tools/gimpcolorbalancetool.c
4301 * app/tools/gimpcolorizetool.c
4302 * app/tools/gimpcurvestool.c
4303 * app/tools/gimphuesaturationtool.c
4304 * app/tools/gimplevelstool.c
4305 * app/tools/gimpposterizetool.c
4306 * app/tools/gimpthresholdtool.c: return FALSE for NULL and indexed
4309 * app/tools/gimpimagemaptool.c: always return TRUE because our
4310 subclasses already checked if the active drawable is OK.
4312 * app/tools/gimptransformtool.c: return FALSE for layers with
4313 masks. Fixes bug #132089. Some random cleanups.
4315 2004-01-21 DindinX <david@dindinx.org>
4317 * plug-ins/common/plugindetails.c: correctly resize both panels of the
4318 GTK_PANED. This fixes bugs #132032.
4320 This plug-ins still needs work.
4322 2004-01-21 Michael Natterer <mitch@gimp.org>
4324 * app/core/gimpdrawable-transform.c: use RINT() instead of ROUND()
4325 to calculate the coordinates of the transformed tiles to avoid
4326 off-by-one errors when affine-transforming, flipping and rotating
4327 drawables with negative offsets.
4328 Fixes the off-by-one part of bug #132089.
4330 2004-01-21 Tor Lillqvist <tml@iki.fi>
4332 * app/gui/themes.c (themes_list_themes_foreach): Fix undefined
4333 behaviour. Fixes crash in bringing up the Preferences dialog when
4334 compiled with Sun's compiler.
4336 2004-01-21 Michael Natterer <mitch@gimp.org>
4338 * app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
4339 call gimp_drawable_invalidate_boundary() because the drawable's
4340 size may have changed. Fixes bug #132077. Removed call to
4341 floating_sel_invalidate() which is now redundant.
4343 2004-01-21 Michael Natterer <mitch@gimp.org>
4345 * app/gui/info-dialog.[ch]: renamed info_dialog_popdown() to
4346 info_dialog_hide() and info_dialog_popup() to info_dialog_present().
4347 Added info_dialog_show() which just shows the dialog without
4348 calling gtk_window_present().
4350 * app/gui/info-window.c
4351 * app/gui/view-commands.c
4352 * app/tools/gimptransformtool.c: changed accordingly.
4354 * app/tools/gimpcroptool.c
4355 * app/tools/gimpperspectivetool.c
4356 * app/tools/gimprotatetool.c
4357 * app/tools/gimpscaletool.c
4358 * app/tools/gimpsheartool.c: use info_dialog_show() so the dialog
4359 doesn't grab the focus away from the canvas. Fixes bug #132041.
4361 2004-01-21 Simon Budig <simon@gimp.org>
4363 * app/core/gimpscanconvert.c: removed the call to
4364 art_vpath_perturb, since it apparently is responsible for the
4365 artefacts described in bug #132036. I don't really understand
4366 why these artefacts were happening in the first place, because
4367 in theory art_vpath_perturb should not do any harm.
4369 Also properly close closed polygons.
4371 Hopefully fixes #132036, please test this.
4373 2004-01-20 Sven Neumann <sven@gimp.org>
4375 * tools/gimp-remote.c: added new command-line options --existing
4376 and --query. The former allows to get the old behaviour back and
4377 the latter might be useful one day.
4379 * docs/gimp-remote-1.3.1.in: document the new options.
4381 2004-01-20 Michael Natterer <mitch@gimp.org>
4383 * app/widgets/gimphelp-ids.h: added help IDs for the libgimp
4384 export and unit dialogs.
4386 * libgimp/gimpexport.c
4387 * libgimpwidgets/gimpunitmenu.c: replaced html links by the new
4390 * plug-ins/*/*.c: replaced all html help links by help IDs. A
4391 plug-in's help ID is its procedure name with '_' relaced by '-'.
4393 (e.g. file_tiff_save's help ID is file-tiff-save)
4395 Did some random indentation and whitespace cleanup.
4397 2004-01-20 Sven Neumann <sven@gimp.org>
4399 * tools/gimp-remote.c: when starting a new gimp, pass it the
4400 display gimp-remote is running on.
4402 2004-01-20 Sven Neumann <sven@gimp.org>
4404 * tools/gimp-remote.c: always open a new GIMP instance when being
4405 called without any filenames/URLs. This makes it behave better when
4406 being used from application launchers such as the GNOME panel.
4408 * docs/gimp-remote-1.3.1.in: document the new behaviour.
4410 2004-01-20 Ville PƤtsi <drc@gimp.org>
4412 * gimp.spec.in: Changed library extension to actually use the correct
4413 values, and not assume .0.0.
4415 2004-01-20 Michael Natterer <mitch@gimp.org>
4417 * tools/pdbgen/pdb/help.pdb: changed "prog_name" parameter of
4418 gimp_help() to "help_domain". It's useless to pass the plug-in's
4419 executable name to the core because the core already knows it.
4420 Instead, enabled accessing arbitrary help domains via the
4421 PDB. Passing NULL as help_domain will use the domain the plug-in
4422 registered, or the GIMP main help domain if it didn't register a
4425 * app/pdb/help_cmds.c
4426 * libgimp/gimphelp_pdb.[ch]: regenerated.
4428 * libgimp/gimpui.c (gimp_ui_help_func): pass NULL as help_domain.
4430 2004-01-20 Sven Neumann <sven@gimp.org>
4432 * tools/gimp-remote.c: made --new the default behaviour and allow
4433 gimp-remote to be called without any image filenames.
4435 * docs/gimp-remote-1.3.1.in: changed accordingly.
4437 * data/misc/gimp.applications
4438 * data/misc/gimp.desktop.in.in: removed --new option from
4441 2004-01-20 Michael Natterer <mitch@gimp.org>
4443 * plug-ins/common/mail.c
4444 * plug-ins/common/mng.c: use more already translated standard file
4445 error messages. Some cleanup.
4447 2004-01-20 Michael Natterer <mitch@gimp.org>
4449 * app/gui/file-open-menu.c
4450 * app/gui/file-save-menu.c
4451 * app/gui/image-menu.c
4453 * app/gui/plug-in-menus.c: when dynamically creating menu entries,
4454 pass static_entry == FALSE to gimp_item_factory_create_item() so a
4455 *copy* of the the help_id is attached to the menu item.
4456 Fixes help for plug-in menu entries.
4458 2004-01-20 Michael Natterer <mitch@gimp.org>
4460 * app/plug-in/plug-in.[ch]: changed member
4461 "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a stack
4462 of temporary procedures, just as the "temp_main_loops" member is
4463 supposed to be the stack of main loops for waiting for the
4464 temp_procs' return values.
4466 * app/plug-in/plug-in-run.c (plug_in_temp_run): changed accordingly.
4468 * app/plug-in/plug-in-message.c
4469 * app/plug-in/plug-in-run.c
4470 * libgimp/gimp.c: added #define ENABLE_TEMP_RETURN 1.
4472 Enables return values for temporary procedures. On the libgimp
4473 side, this just enables the code which returns the values, on the
4474 app side it enables per-plug-in stacks of proc_recs and main_loops
4475 and a message handler for the GP_TEMP_PROC_RETURN message.
4476 A temp_proc's caller now blocks until the proc is finished.
4479 Left the #ifdefs there so it can be easily disabled if things
4480 break. Please play with Script-Fu and test this.
4482 2004-01-19 Pedro Gimeno <pggimeno@wanadoo.es>
4484 * plug-ins/common/ccanalyze.c (analyze): Call gimp_drawable_detach()
4485 after gimp_drawable_get() to plug a leak.
4487 2004-01-19 Tor Lillqvist <tml@iki.fi>
4489 * app/gui/about-dialog.c (decorate_text): Fix gccism.
4491 2004-01-19 Sven Neumann <sven@gimp.org>
4493 * configure.in: bumped version number to 2.0pre3 (1.3.26),
4494 binary age 2, interface age 0.
4496 * libgimpbase/gimpsignal.h: removed unused definition of
4497 gimp_signal_syscallrestart().
4499 2004-01-19 Michael Natterer <mitch@gimp.org>
4501 * app/tools/gimptexttool.c (gimp_text_tool_create_layer): if there
4502 is a floating selection, anchor it before adding the text layer.
4505 Also fixed some issues with undo. Addresses, but does not fix
4506 bug #124969 and bug #130985.
4508 2004-01-19 Michael Natterer <mitch@gimp.org>
4510 * plug-ins/common/bz2.c
4511 * plug-ins/common/gz.c
4512 * plug-ins/common/hrz.c
4513 * plug-ins/common/pnm.c
4514 * plug-ins/sgi/sgi.c: marked some forgotten strings for
4515 translation and use translated standard file error messages (no
4516 new strings introduced), some indentation and cleanup.
4518 2004-01-19 Michael Natterer <mitch@gimp.org>
4520 * plug-ins/bmp/bmpread.c
4521 * plug-ins/common/gif.c
4522 * plug-ins/common/jpeg.c
4523 * plug-ins/common/pcx.c
4524 * plug-ins/common/pix.c
4525 * plug-ins/common/pnm.c
4526 * plug-ins/common/sunras.c
4527 * plug-ins/common/xpm.c
4528 * plug-ins/xjt/xjt.c: some more gimp_filename_to_utf8().
4530 2004-01-19 Sven Neumann <sven@gimp.org>
4532 * Made 2.0pre2 release.
4534 2004-01-19 Michael Natterer <mitch@gimp.org>
4536 * plug-ins/FractalExplorer/Dialogs.c
4537 * plug-ins/FractalExplorer/FractalExplorer.c
4538 * plug-ins/bmp/bmpread.c
4539 * plug-ins/bmp/bmpwrite.c
4540 * plug-ins/common/CEL.c
4541 * plug-ins/common/CML_explorer.c
4542 * plug-ins/common/bz2.c
4543 * plug-ins/common/channel_mixer.c
4544 * plug-ins/common/curve_bend.c
4545 * plug-ins/common/dicom.c
4546 * plug-ins/common/gbr.c
4547 * plug-ins/common/gif.c
4548 * plug-ins/common/gifload.c
4549 * plug-ins/common/gih.c
4550 * plug-ins/common/gtm.c
4551 * plug-ins/common/gz.c
4552 * plug-ins/common/hrz.c
4553 * plug-ins/common/jpeg.c
4554 * plug-ins/common/mail.c
4555 * plug-ins/common/pat.c
4556 * plug-ins/common/pcx.c
4557 * plug-ins/common/png.c
4558 * plug-ins/common/pnm.c
4559 * plug-ins/common/ps.c
4560 * plug-ins/common/psd.c
4561 * plug-ins/common/psd_save.c
4562 * plug-ins/common/psp.c
4563 * plug-ins/common/spheredesigner.c
4564 * plug-ins/common/sunras.c
4565 * plug-ins/common/svg.c
4566 * plug-ins/common/tga.c
4567 * plug-ins/common/tiff.c
4568 * plug-ins/common/wmf.c
4569 * plug-ins/common/xbm.c
4570 * plug-ins/common/xpm.c
4571 * plug-ins/common/xwd.c
4572 * plug-ins/faxg3/faxg3.c
4573 * plug-ins/fits/fits.c
4574 * plug-ins/flame/flame.c
4575 * plug-ins/gfig/gfig.c
4576 * plug-ins/gflare/gflare.c
4577 * plug-ins/gfli/gfli.c
4578 * plug-ins/gimpressionist/ppmtool.c
4579 * plug-ins/helpbrowser/domain.c
4580 * plug-ins/ifscompose/ifscompose.c
4581 * plug-ins/sgi/sgi.c
4582 * plug-ins/xjt/xjt.c: use gimp_filename_to_utf8() for filenames
4583 passed to g_message() and gimp_progress_init(). Definitely missed
4584 lots of other places but it's a start...
4586 2004-01-19 Michael Natterer <mitch@gimp.org>
4588 * app/file/file-utils.h: removed inclusion of <stdio.h> and
4589 "plug-in/plug-in-types.h".
4591 2004-01-19 Sven Neumann <sven@gimp.org>
4593 * app/*/*.c: include "libgimpbase/gimpbase.h" where needed; removed
4594 now unnecessary inclusions of "file/file-utils.h".
4596 2004-01-19 Sven Neumann <sven@gimp.org>
4598 * app/file/file-utils.[ch]: removed file_utils_filename_to_utf8() ...
4600 * libgimpbase/gimputils.[ch]: ... and added it here as
4601 gimp_filename_to_utf8(). Added some docs that promise less than
4602 the current implementation holds so that we can change the
4603 implementation later.
4605 * app/*/*.c: use gimp_filename_to_utf8() where
4606 file_utils_filenames_to_utf8() has been used before.
4608 * libgimpbase/gimpbase.def: changed accordingly.
4610 * configure.in: reset GIMP_INTERFACE_AGE.
4612 2004-01-19 Pedro Gimeno <pggimeno@wanadoo.es>
4614 * plug-ins/common/compose.c (compose)
4615 * plug-ins/common/decompose.c (decompose): fixed a lack of refresh
4616 in the layer previews by adding calls to gimp_drawable_update()
4617 where appropriate. Removed redundant gimp_drawable_flush() calls.
4619 2004-01-19 Michael Natterer <mitch@gimp.org>
4621 * app/widgets/gimpgradienteditor.[ch]: moved the first hint label
4622 to a line of its own. fixes bug #127673.
4624 2004-01-19 Sven Neumann <sven@gimp.org>
4626 * app/tools/gimplevelstool.[ch]: code cleanup; draw in the
4627 expose_event handler only.
4629 2004-01-18 DindinX <david@dindinx.org>
4631 * plug-ins/common/nova.c: fixed a stupid bug which could crashes with
4632 non square images. Done some cleanup also.
4634 2004-01-18 Michael Natterer <mitch@gimp.org>
4636 * app/gui/resize-dialog.c: when scaling an indexed image/layer,
4637 add a label telling the user that indexed layers are always scaled
4638 without interpolation. Can't simply make the option menu
4639 insensitive because channels and layer masks are still scaled with
4640 the chosen interpolation type. Fixes bug #131779.
4642 2004-01-18 Michael Natterer <mitch@gimp.org>
4644 * app/tools/gimpinktool.c (ink_set_paint_area): use
4645 gimp_drawable_bytes_with_alpha().
4647 2004-01-18 Dave Neary <bolsh@gimp.org>
4649 * NEWS: Updated again.
4651 2004-01-18 Michael Natterer <mitch@gimp.org>
4653 * app/vectors/gimpstroke.c
4654 * app/xcf/xcf-load.c: use the GIMP_TYPE_FOO macros instead of
4655 gimp_foo_get_type(). Minor cleanups.
4657 2004-01-18 Michael Natterer <mitch@gimp.org>
4659 * app/core/gimpimage.c (gimp_image_add_layer,remove_layer): in the
4660 spirit of the fix for bug #131721 below, don't try to figure
4661 manually if "alpha_changed" needs to be emitted but simply compare
4662 the old and new values of gimp_image_has_alpha().
4664 * app/gui/preferences-dialog.c (prefs_dialog_new): follow
4665 "foo-window-type" -> "foo-window-hint" change.
4667 2004-01-18 Michael Natterer <mitch@gimp.org>
4669 * app/core/gimpimage.[ch] (gimp_image_get_color): also return the
4670 color's alpha byte if it has alpha, not only the converted RGB
4671 values. Return OPAQUE_OPACITY for drawables without alpha.
4674 * app/core/gimpdrawable.c (gimp_drawable_get_color_at)
4675 * app/core/gimpimage-contiguous-region.c
4676 (gimp_image_contiguous_region_by_color)
4677 * app/core/gimpimage-projection.c (gimp_image_projection_get_color_at)
4678 * app/core/gimpimagemap.c (gimp_image_map_get_color_at)
4679 * app/paint/gimpclone.c (gimp_clone_line_image): removed separate
4680 handling of the alpha byte from all users of gimp_image_get_color().
4682 2004-01-18 Michael Natterer <mitch@gimp.org>
4684 * app/paint/gimppaintcore.c (gimp_paint_core_get_paint_area): use
4685 gimp_drawable_bytes_with_alpha().
4687 2004-01-18 Michael Natterer <mitch@gimp.org>
4689 * app/core/gimpimage.c (gimp_image_set_active_layer): don't allow
4690 to select anything but the floating selection. Fixes bug #128025.
4692 (gimp_image_set_active_layer,channel,vectors): allow to pass NULL
4693 to unselect the active item. Removed the silly feature that
4694 passing some random item of another image would select the first
4695 item in the list (was unused anyway).
4697 (gimp_image_unset_active_channel): use gimp_image_set_active_channel()
4698 now that it accepts NULL.
4700 (gimp_image_add_layer,channel,vectors): cleaned up / simplified.
4702 (gimp_image_remove_layer,channel,vectors): cleanup,
4703 simplification, use gimp_image_set_active_layer,channel,vectors()
4704 now that they accept NULL, make sure the item next to the removed
4705 item becomes the active one (and not the first in the list, which
4706 was a severe usability problem in the dialogs).
4708 * app/core/gimpimage-undo-push.c (undo_pop_layer,channel): pass
4709 NULL to the set_active functions, cleanup.
4711 * app/core/gimpimage-duplicate.c: attach the floating selection
4712 before setting the active layer. Code relied on broken
4713 gimp_image_set_active_layer() behaviour before.
4715 * app/core/gimplayer-floating-sel.c: no need to set
4716 gimage->floating_sel before calling gimp_image_add_layer(). The
4717 weird GUI mentioned in the comment existed in 1.2 only.
4719 * app/display/gimpdisplayshell-layer-select.c (layer_select_advance):
4720 don't assume that setting the active_layer always succeeds.
4722 * tools/pdbgen/pdb/image.pdb: behave as the documentation says
4723 and return an execution error if setting the active layer or
4728 * tools/pdbgen/pdb/image.pdb
4729 * tools/pdbgen/pdb/layer.pdb: removed leftover cruft from the old
4730 guchar based color API.
4732 * tools/pdbgen/pdb/channel.pdb: simplified code which handles the
4735 * app/pdb/channel_cmds.c
4736 * app/pdb/image_cmds.c: regenerated.
4738 2004-01-18 Simon Budig <simon@gimp.org>
4740 * app/gui/about-dialog.c: fixed typo.
4742 2004-01-18 Simon Budig <simon@gimp.org>
4744 * app/gui/about-dialog.c: make sure we always properly use
4745 the size of the logo image. Place the text at the bottom
4746 of the image when the size changes (position of the version
4747 string needs to be adjusted manually still...).
4749 * data/images/gimp_logo.png: slightly tweaked.
4751 * data/images/gimp1_0_logo.png: added for historical reasons.
4753 2004-01-18 Sven Neumann <sven@gimp.org>
4755 * app/gui/file-open-dialog.c (file_open_create_thumbnail): redone
4756 to make it work again.
4758 * libgimpthumb/gimpthumbnail.c (gimp_thumbnail_load_thumb): fixed
4759 stupid mistake that caused thumbnails not to load under certain
4762 2004-01-18 Michael Natterer <mitch@gimp.org>
4764 * app/core/gimpimage-undo-push.c (undo_pop_layer): removed broken
4765 code which tried to figure manually whether "alpha_changed" should
4766 be emitted. Instead, simply compare the return values of
4767 gimp_image_has_alpha() before and after adding/removing the
4768 layer. Fixes bug #131721.
4770 2004-01-17 Henrik Brix Andersen <brix@gimp.org>
4772 * app/core/gimpimage-snap.c (gimp_image_snap_point): forgot to
4773 change two G_MAXINT to G_MAXDOUBLE.
4775 2004-01-17 Henrik Brix Andersen <brix@gimp.org>
4777 Finally fixed bug #125864:
4779 * app/core/gimpimage-guides.c (gimp_image_find_guide): iterate
4780 over the entire list of guides to determine the closest one.
4782 * app/core/gimpimage-snap.c: use gdoubles instead of gints for
4783 dist and mindist variables to make sure grid and guides with 1px
4784 spacings work as expected.
4786 2004-01-17 Sven Neumann <sven@gimp.org>
4788 * libgimpthumb/gimpthumbnail.c: added more optional debug output
4789 and did some minor code cleanup.
4791 2004-01-17 DindinX <david@dindinx.org>
4793 * plug-ins/pygimp/gimpfu.py: Show the description of params in dialog
4794 boxes, rather than the internal variable name. This is more
4795 consistent with script-fu. (reported by Florian Traverse)
4797 2004-01-16 Manish Singh <yosh@gimp.org>
4799 * plug-ins/common/plugindetails.c: some cleanup, restore old internal
4802 2004-01-17 Sven Neumann <sven@gimp.org>
4804 * app/config/gimpguiconfig.[ch]
4805 * app/config/gimprc-blurbs.h
4806 * app/widgets/gimpdock.c
4807 * app/widgets/gimptoolbox.c
4808 * app/widgets/gimpwidgets-utils.[ch]
4809 * app/widgets/widgets-enums.[ch]: GTK+-2.4 will allow to request
4810 windows to be kept above. This change prepares the code so that we
4811 can optionally do this for docks and the toolbox as soon as we
4812 depend on GTK+-2.4 (see bug #131672).
4814 2004-01-16 Dave Neary <bolsh@gimp.org>
4816 * plug-ins/common/tiff.c: Apply a (modified) patch from Pablo
4817 d'Angelo to enable saving of a non-premultiplied alpha channel
4818 and provide an UI to use it (a checkbox and extra PDB
4819 procedure). Fixes bug #131030.
4821 2004-01-16 Sven Neumann <sven@gimp.org>
4823 * app/tools/gimpcroptool.c (crop_recalc): do a proper fix for bug
4826 2004-01-15 DindinX <david@dindinx.org>
4828 * app/tools/gimpcroptool.c: block some signals before destroying
4829 the info dialog box, to prevent accessing to freed memory fixes
4832 2004-01-16 Sven Neumann <sven@gimp.org>
4834 * app/gui/menus.c (menus_init): fixed typo (bug #131670).
4836 2004-01-16 Dave Neary <bolsh@gimp.org>
4838 * NEWS: Update NEWS file again.
4840 2004-01-16 Michael Natterer <mitch@gimp.org>
4842 * app/gui/edit-commands.[ch]: converted tabs to spaces.
4844 (cut,copy_named_buffer_callback): unref the buffer after adding it
4845 to gimp->named_buffers. Seems we leaked all named buffers...
4847 Removed code duplication I have just introduced:
4849 * app/gui/edit-commands.[ch] removed
4850 edit_paste_into_cmd_callback(). Instead, pass the "paste_into"
4851 boolean as "guint action" to gimp_edit_paste_cmd_callback().
4853 * app/gui/image-menu.c: changed accordingly.
4855 * app/widgets/gimpbufferview.c: added utility function
4856 gimp_buffer_view_paste() and call it from the paste and paste_into
4859 2004-01-15 Manish Singh <yosh@gimp.org>
4861 * app/text/gimpfontlist.c: Minor cleanup, add note about using
4862 pango_fc_font_description_from_pattern from pango 1.4 when we
4865 2004-01-15 DindinX <david@dindinx.org>
4867 * plug-ins/common/nova.c: Do not display the color button or the
4868 "Random Hue" range when applying to a grayscale image.
4870 2004-01-15 Pedro Gimeno <pggimeno@wanadoo.es>
4872 * app/gui/file-save-menu.c (file_save_menu_update): Removed the
4873 code that disables save formats conditionally, making all of
4874 them available. Fixes bug #110610.
4876 2004-01-15 DindinX <david@dindinx.org>
4878 * plug-ins/common/nova.c: Re-write some parts of the algorithm.
4879 This should fix #82464, #71922 and #121966.
4881 2004-01-15 Manish Singh <yosh@gimp.org>
4883 * app/text/gimpfontlist.c: Set PangoStretch from FC_WIDTH. This
4884 partially addresses #131561 (namely, the gimp side).
4886 2004-01-15 Michael Natterer <mitch@gimp.org>
4888 * plug-ins/helpbrowser/helpbrowser.c: removed
4889 GIMP_HELP_DEFAULT_DOMAIN #define...
4891 * plug-ins/helpbrowser/domain.h: ...and added it here.
4893 * plug-ins/helpbrowser/domain.c: fixed the fix for bug #128112:
4894 don't compare the help domain's base uri (which is variable) but
4895 the help domain's name (which is constant). Re-added removed
4896 information to the error message while keeping its user
4897 readability. Marked g_message() strings for translation.
4899 2004-01-15 DindinX <david@dindinx.org>
4901 * plug-ins/common/nova.c: Somewhat resurrected the SuperNova plugin.
4902 Still very buggy, though.
4904 2004-01-15 Michael Natterer <mitch@gimp.org>
4906 Fixed bug #78732 (don't paste off screen):
4908 * app/display/gimpdisplayshell-transform.[ch]: added new function
4909 gimp_display_shell_untransform_viewport() which returns the
4910 visible rectangle of the image in image coordinates.
4912 * app/core/gimp-edit.[ch] (gimp_edit_paste): added viewport
4913 parameters and changed positioning of the pasted layer as follows:
4915 - if there is a selection, center on the selection (just as before).
4916 - if there is no viewport, center on the active drawable.
4917 - if the viewport intersects with the active drawable, center
4918 on the intersection.
4919 - if the viewport does *not* intersect with the active drawable,
4920 center on the active drawable (off-screen, but better than pasting
4921 something that will be invisible due to floating selection clipping).
4922 - if there is no active drawable, center on the viewport.
4923 - if there is no active drawable and no viewport, center on the image.
4925 * app/widgets/gimpbufferview.c (gimp_buffer_view_paste_clicked)
4926 (gimp_buffer_view_paste_into_clicked)
4927 * app/display/gimpdisplayshell-dnd.c (gimp_display_shell_drop_buffer)
4928 * app/gui/edit-commands.c (edit_paste_cmd_callback)
4929 (edit_paste_into_cmd_callback): ask the shell for the viewport
4930 and pass it to gimp_edit_paste().
4932 * app/display/gimpdisplayshell-dnd.c
4933 (gimp_display_shell_drop_drawable): center the created layer on
4936 * app/tools/gimpmovetool.c (gimp_move_tool_button_release): use
4937 gimp_display_shell_untransform_viewport() (its code was taken from
4940 * tools/pdbgen/pdb/edit.pdb: pass "no viewport" to gimp_edit_paste().
4942 * app/pdb/edit_cmds.c: regenerated.
4944 2004-01-15 Dave Neary <bolsh@gimp.org>
4946 * NEWS: Now that we're in pre-release mode, list all the bugs fixed
4947 in this release, rather than features added. Commits which don't fix
4948 bugs are listed in the "Other contributions" section. Bugs were added
4949 in chronological order according to when the fix was committed (so
4950 the first bug in the list was the one committed soonest after the
4953 2004-01-15 Michael Natterer <mitch@gimp.org>
4955 * app/core/gimpimage.c: moved initialization of the
4956 gimage->visible[] and gimage->active[] arrays from
4957 gimp_image_new() to gimp_image_init(). Use gimp_rgba_set()
4958 to initialize gimage->qmask_color.
4960 2004-01-15 Dave Neary <bolsh@gimp.org>
4962 * plug-ins/helpbrowser/domain.c: Modify error messages shown when
4963 help files cannot be opened. For the main GIMP help domain, the
4964 error message is now "Failed to open help files:\nTheGIMP help files
4965 are not installed." and in the general case "Failed to open help
4966 files:\nThe requested help file %s could not be opened.\nPlease check
4967 your installation." This fixes bug #128112.
4969 2004-01-15 Sven Neumann <sven@gimp.org>
4971 * data/misc/Makefile.am: added a "validate" rule that attempts to
4972 validate the generated gimp.desktop file using desktop-file-validate
4973 (from desktop-file-utils). Run it on 'make dist'.
4975 * tips/Makefile.am: for consistency, moved the existing validation
4976 code to a rule called "validate".
4978 2004-01-14 Manish Singh <yosh@gimp.org>
4980 * app/config/gimpconfig-utils.c: #include "file/file-utils.h" for
4981 file_utils_filename_to_utf8.
4983 2004-01-15 DindinX <david@dindinx.org>
4985 * plug-ins/common/plugindetails.c: clean up the code (use
4986 gimp_table_attach_aligned() where needed).
4988 * plug-ins/dbbrowser/dbbrowser.c:
4989 * plug-ins/dbbrowser/dbbrowser_utils.c: changed tabs to spaces.
4991 2004-01-14 Dave Neary <bolsh@gimp.org>
4993 * app/core/gimpimage.c: get the type of the drawable, not the
4994 image, when transforming a TempBuf, making dragging & dropping
4995 patterns on layer masks work correctly. Fixes bug #131146.
4997 2004-01-14 Michael Natterer <mitch@gimp.org>
4999 * app/core/gimpimage.h: added GIMP_IMAGE_TYPE_WITHOUT_ALPHA()
5000 macro as counterpart to GIMP_IMAGE_TYPE_WITH_ALPHA().
5002 * app/core/gimpdrawable.[ch]: added
5003 gimp_drawable_type_without_alpha() and
5004 gimp_drawable_bytes_without_alpha() convenience functions.
5006 2004-01-14 Michael Natterer <mitch@gimp.org>
5010 * app/core/gimpimage.c: named the gint paramater in all
5011 colormap_changed related functions to "color_index", fixed typo in
5012 parasite undo description, moved some variables to local scopes,
5013 changed the layer raise/lower functions to look like the channel
5014 and vector ones, cosmetics.
5016 * app/core/gimpimage-colorhash.c: removed trailing whitespace,
5017 initialize / reset more stuff to 0, cosmetics.
5019 2004-01-14 Michael Natterer <mitch@gimp.org>
5021 * app/Makefile.am: fix typo in the uninstall-local target for
5024 2004-01-14 DindinX <david@dindinx.org>
5026 * plug-ins/common/plugindetails.c: callbacks attached to the "changed"
5027 signal for of GtkTreeSelection should return void.
5028 Small cosmetics fixes also.
5030 2004-01-14 Tor Lillqvist <tml@iki.fi>
5032 * app/file/file-utils.[ch]: Add new function
5033 file_utils_filename_to_utf8(), which is to be used when converting
5034 file names (which are kept in the on-disk encoding) to UTF-8 for
5035 passing to GTK, or to g_print() etc.
5037 * app/*/*.c: Call file_utils_filename_to_utf8(). Should fix most
5038 of the warnings generated by non-UTF8 pathnames. See #130118.
5040 * libgimpbase/gimpenv.c: Document that gimp_directory() etc return
5041 strings in the on-disk encoding.
5043 * libgimpmodule/gimpmodule.c: Convert filenames to UTF-8 (using
5044 g_filename_to_utf8()) before passing to g_print().
5046 2004-01-14 Simon Budig <simon@gimp.org>
5048 * app/gui/about-dialog.c: Fixed small refresh issue.
5050 2004-01-14 Simon Budig <simon@gimp.org>
5052 * data/images/gimp_logo.png: New image for the about dialog by
5055 * app/gui/about-dialog.c: Adjusted to new image. Also could not
5056 resist to add a fancy effect...
5058 * data/images/gimp1_2_logo.png: Saved the image from 1.2.
5060 2004-01-13 Michael Natterer <mitch@gimp.org>
5062 Allow invoking the text tool by double clicking a text layer in
5063 the layers dialog, just like the path tool is invoked when double
5066 * app/tools/gimptexttool.[ch]: added empty
5067 gimp_text_tool_set_layer() stub. Sven, your turn...
5069 * app/gui/layers-commands.[ch]: added layers_text_tool() which
5070 invokes the text tool on text layers and falls back to
5071 layers_edit_layer_query() otherwise.
5072 Added layers_text_tool_cmd_callback() for the layers menu.
5074 * app/gui/layers-menu.c: added "Text Tool" menu item and hide
5075 it for layers which are no text layers.
5077 * app/gui/dialogs-constructors.c (dialogs_layer_list_view_new):
5078 use layers_text_tool() as "activate" function.
5080 2004-01-13 Michael Natterer <mitch@gimp.org>
5082 * app/composite/Makefile.am (AM_CPPFLAGS): G_LOG_DOMAIN should be
5083 "Gimp-Composite", not "Gimp-Composition".
5085 * app/app_procs.c (app_run): register a log handler for the
5086 "Gimp-Composite" domain.
5088 2004-01-13 Michael Natterer <mitch@gimp.org>
5090 * app/base/base-enums.h: removed GimpChannelLutType enum and
5091 export GimpHistogramChannel to the PDB. The removed enum was just
5092 there for libgimp compatibility.
5094 * tools/pdbgen/pdb/color.pdb: changed accordingly.
5096 * libgimp/gimpcompat.h
5097 * plug-ins/script-fu/siod-wrapper.c: added compat cruft.
5099 * app/pdb/color_cmds.c
5100 * libgimp/gimpcolor_pdb.[ch]
5101 * libgimp/gimpenums.h
5102 * plug-ins/pygimp/gimpenums.py
5103 * plug-ins/script-fu/script-fu-constants.c
5104 * tools/pdbgen/enums.pl: regenerated.
5106 2004-01-13 Sven Neumann <sven@gimp.org>
5108 * libgimp/gimpcompat.h: fixed definition of gimp_use_xshm().
5110 2004-01-13 Michael Natterer <mitch@gimp.org>
5112 * app/base/gimphistogram.c: added GimpHistogramChannel index
5113 fiddling hacks for GRAYA images to all gimp_histogram_get_*()
5114 functions. The public API now does what their enum values pretend
5117 (gimp_histogram_calculate): restructured to reduce indentation depth.
5119 * app/widgets/gimphistogrameditor.c
5120 * app/widgets/gimphistogramview.c
5121 * tools/pdbgen/pdb/color.pdb: removed hacks here and always use
5122 the unchanged enum values.
5124 * app/pdb/color_cmds.c: regenerated.
5126 2004-01-13 Michael Natterer <mitch@gimp.org>
5128 * app/base/gimphistogram.[ch]: renamed gimp_histogram_nchannels()
5129 to gimp_histogram_n_channels().
5131 * app/core/gimpdrawable-histogram.c: removed silly double negation
5134 * app/widgets/gimphistogrameditor.c
5135 * app/widgets/gimphistogramview.c: adjust the GimpHistogramChannel
5136 for GRAYA images to make sure we pick alpha from the right slot.
5138 * app/tools/gimpcurvestool.c
5139 * app/tools/gimplevelstool.c: removed the same hack here and call
5140 gimp_histogram_view_set_channel() with the correct enum value.
5142 * tools/pdbgen/pdb/color.pdb (levels, curves, histogram): fiddle
5143 with enum values here too so GRAY* drawables produce the correct
5146 Fixed precondition checks and set "success" in a uniform way all
5149 Use gimp_drawable_calculate_histogram() instead of duplicating its
5152 (started with a patch from Pedro Gimeno. Fixes bug #109078)
5154 * app/pdb/color_cmds.c: regenerated.
5156 2004-01-12 Michael Natterer <mitch@gimp.org>
5158 * app/base/gimphistogram.c (gimp_histogram_calculate_sub_region):
5159 advance the source pointer by 4, not 3 bytes for regions with
5160 4 bytes (ouch). Cosmetics.
5162 2004-01-12 DindinX <david@dindinx.org>
5164 * libgimp/gimpmisc.[ch]: remove these files
5166 * libgimp/gimppixelfetcher.c:
5167 * libgimp/gimppixelfetcher.h:
5168 * libgimp/gimpregioniterator.c:
5169 * libgimp/gimpregioniterator.h: and created these ones.
5170 Regarding #125141, gimpmisc was split into gimppixelfetcher and
5173 * libgimp/Makefile.am:
5174 * libgimp/gimp.h: modified accordingly.
5176 2004-01-12 Sven Neumann <sven@gimp.org>
5178 * data/misc/gimp.desktop.in.in (Exec): use 'gimp-remote-1.3 --new'
5179 here so that drops on the application icon don't necessarily spawn
5182 2004-01-12 Michael Natterer <mitch@gimp.org>
5184 Enabled/fixed moving of channels and layer masks (was something
5185 between disabled and broken before).
5187 * app/tools/gimpeditselectiontool.h (enum EditType): added new
5188 values EDIT_CHANNEL_TRANSLATE and EDIT_LAYER_MASK_TRANSLATE.
5190 * app/tools/gimpmovetool.c (gimp_move_tool_button_press): look at
5191 the type of the active drawable and invoke GimpEditSelectionTool
5194 (gimp_move_tool_cursor_update): don't show the "bad" cursor when
5195 the active drawable is a channel or layer mask.
5197 * app/tools/gimpeditselectiontool.c: changed/enabled moving of
5198 channels and layer masks to work similar to selection mask moving:
5200 - Show only the item's outline while moving and do the actual move
5202 - Fixed/generalized some code to cope with the fact that we move
5203 the linked layers/vectors *while* moving but the moved channel
5204 itself *after* moving.
5205 - Draw the channel's/mask's bounding box instead of its boundary
5206 if the boundary is empty (if all its values are either below or
5209 2004-01-12 Michael Natterer <mitch@gimp.org>
5211 * app/core/gimpchannel.c: converted tabs to spaces, cosmetics.
5213 2004-01-12 Sven Neumann <sven@gimp.org>
5215 * app/main.c (gimp_show_help): changed "compat" to "compatibility".
5217 2004-01-12 Sven Neumann <sven@gimp.org>
5219 * app/gui/plug-in-menus.c (plug_in_menus_init): only call
5220 bind_textdomain_codeset() when it is available. Spotted by
5221 Reinhard Geisler (bug #131215).
5223 2004-01-12 Michael Natterer <mitch@gimp.org>
5225 * app/core/gimpimage-projection.c (gimp_image_invalidate): applied
5226 patch from Pedro Gimeno that makes sure we always invalidate
5227 complete tiles, not parts of it. Fixes bug #116765.
5229 * app/display/gimpdisplay.c (gimp_display_paint_area): calculate
5230 the image area to invalidate using sub-pixel precision and
5231 ceil()/floor() the resulting area to make sure we always
5232 invalidate a superset of the dirty area, not a subset. A rounding
5233 error here has never been reported but would cause effects similar
5236 2004-01-12 Sven Neumann <sven@gimp.org>
5238 * libgimp/gimpmenu.c (gimp_image_menu_new): call the callback with
5239 the selected image which is not necessarily the requested one
5241 Also changed all menu constructors to always call the registered
5242 callback even when the value is -1 because the menu is empty.
5244 * app/gui/plug-in-commands.c (plug_in_run_cmd_callback): run the
5245 procedure even if there's no active GIMP display. The display and
5246 screen is then taken from the current cursor position.
5248 * app/gui/gui-vtable.c (gui_get_display_name): don't call
5249 gimp_display_get_by_ID() unless gdisp_ID is > 0.
5251 2004-01-12 Manish Singh <yosh@gimp.org>
5253 * configure.in: we need at least pygtk 1.99.15 for pygimp. Enforce
5256 2004-01-12 Sven Neumann <sven@gimp.org>
5258 * plug-ins/common/CML_explorer.c (parse_line_to_gdouble): use
5259 g_ascii_strtod() instead of the locale-dependant atof().
5261 2004-01-12 Sven Neumann <sven@gimp.org>
5263 * plug-ins/common/CML_explorer.c: render a grayscale preview when
5264 the plug-in is run on a grayscale drawable (fixes bug #82465).
5266 2004-01-12 Sven Neumann <sven@gimp.org>
5268 * gimptool-2.0.in: build the version number just like it is done
5269 for the pkg-config files.
5271 2004-01-11 Manish Singh <yosh@gimp.org>
5273 * app/widgets/gtkwrapbox.c: Fix wrapped property.
5275 2004-01-11 Sven Neumann <sven@gimp.org>
5277 * libgimpbase/gimpsignal.h
5278 * plug-ins/gfig/gfig-preview.c: removed remaining EMX ifdefs spotted
5281 2004-01-11 DindinX <david@dindinx.org>
5283 * plug-ins/common/plugindetails.c: converted GtkCList and GTKCTree to
5284 GtkTreeModels/Views. Fixed some memory leaks while I was at it.
5285 Please note that this is a work in progress. This plug-in was very
5286 broken, and still needs some work to be useful and less ugly.
5288 2004-01-11 Tor Lillqvist <tml@iki.fi>
5290 * app/config/gimpconfig-path.c: Convert to native encoding (if
5291 requested) only after expanding completely. (Mentioned in #130118,
5294 * app/base/tile-swap.c
5295 * app/pdb/image_cmds.c
5296 * app/plug-in/plug-in.c
5298 * libgimpbase/gimpdatafiles.c
5299 * libgimpbase/gimpenv.c
5300 * libgimpmodule/gimpmoduledb.c
5301 * plug-ins/common/bz2.c
5302 * plug-ins/common/gz.c
5303 * plug-ins/common/mail.c
5304 * plug-ins/common/ps.c
5305 * plug-ins/common/url.c
5306 * plug-ins/gfig/gfig-preview.c
5307 * plug-ins/helpbrowser/helpbrowser.c
5308 * plug-ins/print/print.c
5309 * plug-ins/script-fu/script-fu-scripts.c
5310 * tools/pdbgen/pdb/image.pdb: Remove __EMX__ ifdefs. EMX port is
5311 unmaintained, presumed dead. (#131109)
5313 2004-01-11 Dov Grobgeld <dov@imagic.weizmann.ac.il>
5315 * plug-ins/common/CEL.c: fixed bug in registration
5316 of supported file types for writing and enabled use of
5317 export functionality for the unsupported formats (gray
5320 2004-01-11 Pedro Gimeno <pggimeno@wanadoo.es>
5322 * app/core/gimpdrawable-preview.c (gimp_drawable_preview_scale):
5323 Apply threshold to alpha in the same way as it is applied to the
5324 image in indexed mode. Fixes bug #115793, at least until the
5325 alpha thresholds in indexed images are removed.
5327 * plug-ins/FractalExplorer/Display.c: Fix zoom undo handling
5328 issues. Closes bug #82478.
5330 2004-01-11 Dave Neary <bolsh@gimp.org>
5332 * etc/templaterc: Remove unusual "1200x900" template.
5334 2004-01-11 Simon Budig <simon@gimp.org>
5336 * app/display/gimpdisplayshell-scale.c: ensure that
5337 "fit image to window" really always fits, despite the
5338 resulting fractions are not as nice compared to the
5339 fractions from zoom in/out.
5341 2004-01-11 Manish Singh <yosh@gimp.org>
5343 * tools/pdbgen/pdb/fileops.pdb
5344 * app/pdb/fileops_cmds.c: Make it build.
5346 2004-01-11 Simon Budig <simon@gimp.org>
5348 * app/display/gimpdisplayshell-scale.c: further tweaks.
5349 now excluding fractions where numerator*denominator > 200
5350 (only when both are > 1).
5351 This is a simple heuristic to exclude some absurd looking
5354 Also ensure that 1/ratio results in b:a, when ratio results
5357 IMHO fixes bug #124073.
5359 2004-01-11 Sven Neumann <sven@gimp.org>
5361 * app/core/gimpimagefile.[ch] (gimp_imagefile_update): removed the
5362 size parameter and do nothing but invalidating the preview.
5364 * app/gui/file-open-dialog.c
5365 * app/widgets/gimpdocumentview.c: changed accordingly.
5367 * app/core/gimpdocumentlist.c (gimp_document_list_deserialize):
5368 no need for calling gimp_imagefile_update() from here.
5370 * tools/pdbgen/pdb/fileops.pdb
5371 * app/pdb/fileops_cmds.c (file_load_thumbnail): rewritten using the
5374 * app/core/gimp.c: cosmetics.
5376 2004-01-11 Simon Budig <simon@gimp.org>
5378 * app/display/gimpdisplayshell-scale.c: calculate the
5379 fraction from the zoom ratio using continued fractions.
5380 This prefers smaller numbers in numerator/denominator.
5382 Adresses bug #124073, but does not completely fix it,
5383 since scaling up/down does not always result in the same
5386 2004-01-10 Ville PƤtsi <drc@gimp.org>
5388 * gimp.spec.in: Changed epoch to 2.
5390 2004-01-10 Sven Neumann <sven@gimp.org>
5392 * app/display/gimpdisplayshell-scale.c
5393 (gimp_display_shell_scale_zoom_fraction): use G_SQRT2 instead of
5394 the golden ratio (see bug #124073).
5396 2004-01-10 Michael Natterer <mitch@gimp.org>
5398 * app/gui/layers-commands.c (layers_alpha_to_selection_cmd_callback):
5399 no need to check if the layer has an alpha channel because
5400 gimp_channel_select_alpha() handles layers without alpha fine: it
5401 selects everything that is opaque, which is the entire layer.
5403 * app/gui/image-menu.c (image_menu_update)
5404 * app/gui/layers-menu.c (layers_menu_update): don't make the
5405 "Alpha to Selection" items insensitive for layers without alpha.
5407 2004-01-10 Michael Natterer <mitch@gimp.org>
5409 * plug-ins/script-fu/scripts/select-to-pattern.scm: changed
5410 (mostly rewritten) to correctly create patterns from drawables
5411 with or without alpha. Also work correctly with or without a
5412 currently active selection. Fixes bug #131088.
5414 2004-01-09 Sven Neumann <sven@gimp.org>
5416 * app/gui/tips-dialog.c (tips_dialog_create): don't free the
5419 2004-01-09 Dave Neary <bolsh@gimp.org>
5421 * app/display/gimpdisplayshell-scale.c: Modify behaviour of
5422 the magnify tool to always change the zoom factor by the
5423 golden ratio, rather than modify the numerator and denominator
5424 directly. Fixes bug #124073.
5426 2004-01-09 Sven Neumann <sven@gimp.org>
5428 * plug-ins/common/tiff.c (load_image): applied a patch from
5429 Pablo d'Angelo that fixes layer offsets for multipage TIFF files
5432 2004-01-09 Michael Natterer <mitch@gimp.org>
5434 * plug-ins/script-fu/scripts/add-bevel.scm: fix typo:
5435 gimp-editbucket-fill -> gimp-edit-bucket-fill
5437 2004-01-09 Michael Natterer <mitch@gimp.org>
5439 * libgimpbase/gimpenv.c: coding style fixes and minor cleanup.
5441 2004-01-09 Tor Lillqvist <tml@iki.fi>
5443 * plug-ins/winsnap/Makefile.am (winsnap-win32res.o): Don't try to
5444 use the no longer included build/win32/compile-resource
5445 script. Instead, run windres directly.
5447 2004-01-09 Sven Neumann <sven@gimp.org>
5449 * configure.in: bumped version number to 1.3.25, interface_age 1,
5454 * gimpthumb-2.0.pc.in
5455 * gimpui-2.0.pc.in: renamed the pkg-config files.
5459 * docs/gimptool-2.0.1.in: renamed gimptool and it's manpage.
5462 * m4macros/gimp-2.0.m4: changed accordingly.
5464 2004-01-08 Raphaƫl Quinet <quinet@gamers.org>
5466 * plug-ins/common/jpeg.c: applied a (slightly modified) patch from
5467 keith@goatman.me.uk, fixing a problem with the save dialog for
5468 grayscale images and a small rounding error in the JPEG quality
5469 level. Fixes bug #130912.
5471 2004-01-08 Henrik Brix Andersen <brix@gimp.org>
5473 * app/config/gimpdisplayconfig.c: added %D* to
5474 DEFAULT_IMAGE_TITLE_FORMAT.
5476 Fixes part of bug #120424 - the patch for including a long dirty
5477 indicator (%B) should be applied for gimp-2.2.
5479 2004-01-08 Michael Natterer <mitch@gimp.org>
5481 * app/gui/user-install-dialog.c: removed explicit newlines from
5482 all multi-line texts except where neccessary to do paragraph
5483 breaks. Instead, configure the resp. GtkLabels to do automatic
5484 line wrapping. Tweaked layout slightly to look better with long
5485 one-line strings. Fixes bug #130916 and prevents similar bugs to
5486 occur in the future.
5488 2004-01-08 Dave Neary <bolsh@gimp.org>
5490 * etc/templaterc: Add some templates for screen sizes, as i
5491 suggested in bug #130869.
5493 2004-01-08 Michael Natterer <mitch@gimp.org>
5495 * app/gui/layers-menu.c
5496 * app/gui/patterns-menu.c
5497 * app/gui/tool-options-menu.c
5498 * plug-ins/script-fu/scripts/asc2img.scm: added the last missing
5499 menu mnemonics. Sorry for the string change but it's IMHO better
5500 to un-fuzzy these 14 strings now than to carry them around during
5501 the whole 2.0.x cycle. Finally fixes bug #106991.
5503 * plug-ins/script-fu/scripts/asc2img.scm: changed "ASCII to Image
5504 Layer" to "ASCII to Layer". We never use the term "Image Layer".
5506 2004-01-08 Manish Singh <yosh@gimp.org>
5508 * tools/pdbgen/fileops.pdb: Add notes about menu path requirements
5509 for Load/Save handlers.
5511 * plug-ins/common/png.c: Document the behavior here too.
5513 * app/gui/file-open-menu.c
5514 * app/gui/file-save-menu.c: Robustify against NULL menu_path.
5516 * app/pdb/fileops_cmds.c
5517 * libgimp/gimpfileops_pdb.c: Regenerated.
5519 2004-01-08 Henrik Brix Andersen <brix@gimp.org>
5521 * plug-ins/common/png.c (query): only expose
5522 file_png_save_defaults() in the GUI.
5526 2004-01-08 Henrik Brix Andersen <brix@gimp.org>
5528 * app/gui/preferences-dialog.c (prefs_dialog_new): moved Default
5529 Image Grid to top level since it also applies to newly loaded
5530 images without a grid.
5532 2004-01-07 Henrik Brix Andersen <brix@gimp.org>
5534 * plug-ins/common/psd.c
5535 * app/vectors/gimpvectors-import.c
5536 * tools/pdbgen/pdb/gradients.pdb: removed more double semi-colons.
5538 * app/pdb/gradients_cmds.c: regenerated.
5540 2004-01-07 Manish Singh <yosh@gimp.org>
5542 * configure.in: AC_SUBST the EXIF vars, to workaround automake 1.6
5545 2004-01-07 Simon Budig <simon@gimp.org>
5547 * app/base/curves.c: copy the positions of the control points
5548 for a smooth curve into the lookup table, after the points
5549 inbetween have been interpolated. This ensures that the
5550 positions of the control points always get respected.
5554 2004-01-07 Henrik Brix Andersen <brix@gimp.org>
5556 * app/core/gimpimage-contiguous-region.c
5557 (find_contiguous_segment): applied a patch from Adrian Bunk
5558 <bunk@fs.tum.de> which fixes a double ;; typo (bug #130828).
5560 2004-01-07 Sven Neumann <sven@gimp.org>
5563 * gimpui-1.3.pc.in: don't use $VERSION because pkg-config and the
5564 like don't like the 2.0pre version numbers. Instead create a
5565 parseable version number from major, minor and micro version.
5567 * m4macros/gimp-2.0.m4: check for 1.3.24 or newer.
5569 2004-01-07 Sven Neumann <sven@gimp.org>
5571 * libgimpthumb/gimpthumb.def: fixed wrong function name.
5573 2004-01-07 Henrik Brix Andersen <brix@gimp.org>
5575 * plug-ins/script-fu/scripts/beveled-pattern-heading.scm
5576 * plug-ins/script-fu/scripts/image-structure.scm
5577 * plug-ins/script-fu/scripts/beveled-pattern-bullet.scm
5578 * plug-ins/script-fu/scripts/beveled-pattern-hrule.scm
5579 * plug-ins/script-fu/scripts/3d-outline.scm
5580 * plug-ins/script-fu/scripts/add-bevel.scm
5581 * plug-ins/script-fu/scripts/line-nova.scm
5582 * plug-ins/script-fu/scripts/starburst-logo.scm
5583 * plug-ins/script-fu/scripts/chip-away.scm
5584 * plug-ins/script-fu/scripts/sphere.scm
5585 * plug-ins/script-fu/scripts/hsv-graph.scm
5586 * plug-ins/script-fu/scripts/beveled-pattern-arrow.scm
5587 * plug-ins/script-fu/scripts/glossy.scm
5588 * plug-ins/script-fu/scripts/burn-in-anim.scm
5589 * plug-ins/script-fu/scripts/starscape-logo.scm
5590 * plug-ins/script-fu/scripts/sota-chrome-logo.scm
5591 * plug-ins/script-fu/scripts/chrome-it.scm
5592 * plug-ins/script-fu/scripts/test-sphere.scm
5593 * plug-ins/script-fu/scripts/textured-logo.scm
5594 * plug-ins/script-fu/scripts/beveled-pattern-button.scm:
5595 s/gimp-bucket-fill/gimp-edit-bucket-fill/ + whitespace clean-up.
5597 2004-01-07 Michael Natterer <mitch@gimp.org>
5599 * tools/pdbgen/pdb/gimprc.pdb: removed redundant "success = TRUE"
5600 assignments which simplifies the generated code quite a bit.
5601 (most of the changed functions always succeed and don't need a
5602 "success" variable at all)
5604 * app/pdb/gimprc_cmds.c: regenerated.
5606 2004-01-07 Sven Neumann <sven@gimp.org>
5608 * Made 2.0pre1 release.
5610 2004-01-07 Sven Neumann <sven@gimp.org>
5612 * configure.in: set GIMP_VERSION to 2.0pre1.
5617 * README: updated and changed accordingly.
5619 * app/widgets/Makefile.am (libappwidgets_a_sources): fixed typo.
5621 2004-01-07 Simon Budig <simon@gimp.org>
5623 * app/gui/about-dialog.c: Changed the string that is intended
5624 to be translated to the translators names, to be the same as
5625 in Gnome. Sorry for the string change.
5627 2004-01-06 Sven Neumann <sven@gimp.org>
5630 * libgimpthumb/gimpthumb.def: updated. Patch from Michael Schumacher.
5632 2004-01-06 Sven Neumann <sven@gimp.org>
5634 * app/core/gimpimage-scale.c (gimp_image_scale_check): fixed inline
5637 2004-01-06 Henrik Brix Andersen <brix@gimp.org>
5639 * plug-ins/pygimp/plug-ins/sphere.py (python_sphere): use
5640 gimp_edit_bucket_fill() and gimp_edit_blend() instead of
5641 deprecated functions.
5643 2004-01-06 Sven Neumann <sven@gimp.org>
5645 * libgimpthumb/gimpthumbnail.[ch]: added new function
5646 gimp_thumbnail_set_from_thumb() which will be useful when writing
5647 a thumbnail manager based on libgimpthumb.
5649 2004-01-06 Sven Neumann <sven@gimp.org>
5651 * app/core/gimpimagefile.c: invalidate the description string
5652 before emitting "info_changed".
5653 (gimp_imagefile_save_thumb): use the enum value's name. not it's
5656 2004-01-06 Michael Natterer <mitch@gimp.org>
5658 Enabled skipping enum values for either the PDB or GType
5659 registration (don't always skip both targets):
5661 * tools/gimp-mkenums: skip enum values only if there is a literal
5662 "skip" (don't match "pdb-skip").
5664 * tools/pdbgen/enumgen.pl: skip only "pdb-skip" values, not "skip"
5667 * app/base/base-enums.h
5668 * app/core/core-enums.h
5669 * app/paint/paint-enums.h
5670 * libgimpbase/gimpbaseenums.h: use the right "pdb-skip"/"skip"
5671 combination to skip enum values. Changed comments accordingly.
5673 Cleaned up the fill functions:
5675 * app/core/core-enums.[ch]: added GIMP_PATTERN_FILL enum value to
5676 the GimpFillType enum. Don't export GIMP_NO_FILL to the PDB
5677 because it's completely useless to export a NOP.
5679 * app/core/gimp-edit.c (gimp_edit_fill, gimp_edit_fill_internal):
5680 handle pattern fill requests.
5682 * app/core/gimpdrawable.[ch] (gimp_drawable_fill): added GimpPattern
5683 parameter and fill with it if it's non-NULL.
5685 (gimp_drawable_fill_by_type): handle pattern fill and pass the
5686 current pattern to gimp_drawable_fill().
5688 * app/text/gimptextlayer.c: changed accordingly.
5690 * app/gui/edit-commands.c
5691 * app/gui/image-menu.c: use gimp_edit_fill() instead of
5692 gimp_drawable_bucket_fill() for FG, BG and pattern filling.
5694 * libgimp/gimpcompat.h
5695 * plug-ins/script-fu/siod-wrapper.c: removed NO_IMAGE_FILL compat
5696 enum value. It should have never been exported to the PDB.
5698 * app/pdb/drawable_cmds.c
5699 * app/pdb/edit_cmds.c
5700 * libgimp/gimpenums.h
5701 * plug-ins/pygimp/gimpenums.py
5702 * plug-ins/script-fu/script-fu-constants.c
5703 * tools/pdbgen/enums.pl: regenerated.
5705 2004-01-06 Sven Neumann <sven@gimp.org>
5707 * tools/pdbgen/pdb/gimprc.pdb: use gimp->config; edit_config is
5708 just for the prefs dialog. This should fix gimp_gimprc_set().
5710 * app/pdb/gimprc_cmds.c: regenerated.
5712 2004-01-06 Sven Neumann <sven@gimp.org>
5714 * plug-ins/common/png.c: use a global parasite to store the default
5715 values. Such uglyness doesn't belong into gimprc.
5717 * devel-docs/parasites.txt: document the parasite used by the PNG
5720 2004-01-06 Michael Natterer <mitch@gimp.org>
5722 * app/widgets/gimptemplateeditor.c: cosmetic.
5724 2004-01-06 Sven Neumann <sven@gimp.org>
5726 * libgimpthumb/gimpthumbnail.[ch]: added thumb_size variable to
5727 the GimpThumbnail struct. Fixed handling of failed thumbnails.
5729 2004-01-06 Sven Neumann <sven@gimp.org>
5731 * libgimpthumb/gimpthumbnail.c (gimp_thumbnail_set_uri): added
5732 missing casts to gint64.
5734 2004-01-06 Manish Singh <yosh@gimp.org>
5736 * app/widgets/gimpdasheditor.c (gimp_dash_editor_new): remove
5737 unnecessary GTK_WIDGET() cast.
5739 * app/widgets/gimpstrokeeditor.c (gimp_stroke_editor_constructor):
5740 remove unnecessary G_OBJECT() casts.
5742 * libgimpbase/gimplimits.h: cosmetic cleanup.
5744 * libgimpbase/gimpenv.c (gimp_toplevel_directory): add (void)
5747 * plug-ins/script-fu/script-fu-console.c (script_fu_cc_key_function):
5748 set cursor to end of line after history navigation.
5750 * plug-ins/common/struc.c (strucpi): use CLAMP0255.
5752 2004-01-06 Manish Singh <yosh@gimp.org>
5754 * plug-ins/common/png.c: Implemented default settings, for both
5755 the UI and the PDB. Settings are stored in gimprc, but right now
5756 saving is broken since gimp_gimprc_set is broken right now.
5758 There are 3 new PDB entry points: file_png_save_defaults, which is
5759 a save function that only takes drawable and filename info, and
5760 uses the stored gimprc settings for the rest of the parameters.
5761 This is hooked up to the save magic, so using gimp_file_save to
5762 save as png now won't make big files anymore. The other two are
5763 file_png_get_defaults and file_png_set_defaults, which query
5764 and set the gimprc setting respectively.
5766 I also did some cleanup, and added a comment boolean to the
5767 file_png_save2 interface. The string serialization to the gimprc
5768 is sort of dumb, but it works.
5770 Next step is to do similar for jpeg and gif.
5772 2004-01-06 Sven Neumann <sven@gimp.org>
5774 Fixes to the new thumbnail code. Will need more changes...
5776 * app/core/gimpimagefile.c: set image information before calling
5777 gimp_thumbnail_save_thumb(). Emit the "info_changed" signal when
5778 the thumbnail states change.
5780 * libgimpthumb/gimpthumbnail.c: redone gimp_thumbnail_load_thumb().
5781 Added some debugging code that is by default disabled.
5783 2004-01-05 Manish Singh <yosh@gimp.org>
5785 * app/paint-funcs/paint-funcs.c (expand_line): on second thought, just
5786 make everything signed. There is no reason for any of it to be
5789 2004-01-05 Manish Singh <yosh@gimp.org>
5791 * app/paint-funcs/paint-funcs.c (expand_line): cast usage of unsigned
5792 bytes variable in array subscripting to signed, so we really do get
5793 a negative value when we need it. Fixes #130398.
5795 2004-01-05 Sven Neumann <sven@gimp.org>
5797 * plug-ins/common/CEL.c: fixed coding style issues, removed
5798 trailing whitespace, use gsize instead of size_t.
5799 (need_palette): check the return value of fopen() before using it.
5801 2004-01-05 Dov Grobgeld <dov@imagic.weizmann.ac.il>
5803 * plug-ins/common/CEL.c: Added read and write support for
5806 2004-01-05 Michael Natterer <mitch@gimp.org>
5808 * app/pdb/Makefile.am
5809 * app/pdb/misc_tools_cmds.c: forgot to remove this file.
5811 2004-01-05 Michael Natterer <mitch@gimp.org>
5813 * tools/pdbgen/Makefile.am
5814 * tools/pdbgen/groups.pl
5815 * tools/pdbgen/pdb/misc_tools.pdb: removed the "misc tools" PDB group.
5817 * tools/pdbgen/pdb/edit.pdb: added gimp_edit_bucket_fill() and
5820 * tools/pdbgen/pdb/image.pdb: added gimp_image_pick_color().
5822 * app/pdb/procedural_db.c
5823 * libgimp/gimpcompat.h: added compat stuff.
5825 * app/pdb/edit_cmds.c
5826 * app/pdb/image_cmds.c
5827 * app/pdb/internal_procs.c
5828 * app/pdb/misc_tools_cmds.c
5829 * libgimp/gimp_pdb.h
5830 * libgimp/gimpedit_pdb.[ch]
5831 * libgimp/gimpimage_pdb.[ch]: regenerated.
5833 * libgimp/Makefile.am
5834 * libgimp/gimpmisctools_pdb.[ch]: removed.
5836 * plug-ins/gfig/gfig.c
5837 * plug-ins/script-fu/scripts/3dTruchet.scm
5838 * plug-ins/script-fu/scripts/alien-glow-arrow.scm
5839 * plug-ins/script-fu/scripts/alien-glow-bar.scm
5840 * plug-ins/script-fu/scripts/alien-glow-bullet.scm
5841 * plug-ins/script-fu/scripts/alien-glow-button.scm
5842 * plug-ins/script-fu/scripts/alien-glow-logo.scm
5843 * plug-ins/script-fu/scripts/basic1-logo.scm
5844 * plug-ins/script-fu/scripts/basic2-logo.scm
5845 * plug-ins/script-fu/scripts/beveled-button.scm
5846 * plug-ins/script-fu/scripts/blended-logo.scm
5847 * plug-ins/script-fu/scripts/burn-in-anim.scm
5848 * plug-ins/script-fu/scripts/coffee.scm
5849 * plug-ins/script-fu/scripts/comic-logo.scm
5850 * plug-ins/script-fu/scripts/coolmetal-logo.scm
5851 * plug-ins/script-fu/scripts/glossy.scm
5852 * plug-ins/script-fu/scripts/gradient-bevel-logo.scm
5853 * plug-ins/script-fu/scripts/gradient-example.scm
5854 * plug-ins/script-fu/scripts/hsv-graph.scm
5855 * plug-ins/script-fu/scripts/pupi-button.scm
5856 * plug-ins/script-fu/scripts/rendermap.scm
5857 * plug-ins/script-fu/scripts/sphere.scm
5858 * plug-ins/script-fu/scripts/starscape-logo.scm
5859 * plug-ins/script-fu/scripts/test-sphere.scm
5860 * plug-ins/script-fu/scripts/textured-logo.scm
5861 * plug-ins/script-fu/scripts/title-header.scm
5862 * plug-ins/script-fu/scripts/weave.scm: follow "blend" and "color
5863 picker" changes. Leave "bucket fill" users unchanged because fill
5864 and bucket_fill need another cleanup (will follow next...)
5866 2004-01-05 Dave Neary <bolsh@gimp.org>
5868 * NEWS: Update news.
5870 2004-01-05 Sven Neumann <sven@gimp.org>
5872 * plug-ins/common/png.c: applied a modified patch provided by
5873 Joao S. O. Bueno and Dave Neary. The user can now specify whether
5874 color values for transparent pixels should be saved or nullified
5877 2004-01-05 Sven Neumann <sven@gimp.org>
5879 * app/core/core-enums.[ch]: added GIMP_UNDO_TEXT_LAYER to
5882 * app/core/gimpimage-undo-push.[ch]: added new undo function
5883 gimp_image_undo_push_text_layer().
5885 * app/text/gimptextlayer.[ch]: renamed gimp_text_layer_render() to
5886 gimp_layer_text_layer_flush().
5887 Added new function gimp_text_layer_discard().
5889 * app/text/gimptextlayer-transform.c: changed accordingly.
5891 * app/gui/image-menu.c
5892 * app/gui/layers-commands.[ch]
5893 * app/gui/layers-menu.c: added menu entries that allow to discard
5894 the text information of a text layer (bug #118547).
5896 * app/widgets/gimppreviewrendererlayer.c
5897 (gimp_preview_renderer_layer_render): treat text layers without a
5898 text object like ordinary layers.
5900 * app/widgets/gimppreviewrenderer-utils.c: include gimplayer.h
5901 instead of gimptextlayer.h.
5903 2004-01-04 Ville PƤtsi <drc@gimp.org>
5905 * gimp.spec.in: Remove last hardcoded -1.3's.
5907 2004-01-04 Michael Natterer <mitch@gimp.org>
5909 * app/core/gimpimage-contiguous-region.c
5910 (gimp_image_contiguous_region_by_seed)
5911 (find_contiguous_region_helper)
5912 (find_contiguous_segment): pass around GimpImage and GimpImageType
5913 parameters. For indexed images, convert the tile data to RGB using
5914 gimp_image_get_color(). Still use the raw tile data for RGB and
5915 GRAY images so the slowdown for these image types should be
5916 minimal. Fixes bug #128991.
5918 2004-01-03 Manish Singh <yosh@gimp.org>
5920 * plug-ins/twain/Makefile.am
5921 * plug-ins/winsnap/Makefile.am: minor tweaks, to match changes that
5922 were made in the other Makefiles long ago.
5924 2004-01-03 Manish Singh <yosh@gimp.org>
5926 * configure.in: fix setting of RT_LIBS.
5928 2004-01-03 Manish Singh <yosh@gimp.org>
5930 * configure.in: check for shm_open in libc too, and define RT_LIBS
5935 * libgimp/Makefile.am
5936 * plug-ins/*/Makefile.am
5937 * plug-ins/common/mkgen.pl: use RT_LIBS.
5939 2004-01-03 Michael Natterer <mitch@gimp.org>
5941 * app/display/gimpdisplayshell.c: some cosmetics while reviewing
5944 2004-01-03 Michael Natterer <mitch@gimp.org>
5946 * libgimp/gimp.def: updated. Patch from Michael Schumacher.
5948 2004-01-02 Michael Natterer <mitch@gimp.org>
5950 * plug-ins/common/animationplay.c (build_dialog): NULL-terminate
5951 the list of strings passed to g_strconcat().
5953 2004-01-02 Michael Natterer <mitch@gimp.org>
5955 * app/tools/gimppainttool.c: removed GimpTool::cursor_update()
5956 implementation (which was there only to stop drawing the brush
5957 preview when the mouse leaves the canvas). Instead, look at
5958 shell->proximity in GimpTool::oper_update() and just don't start
5959 drawing the preview if proximity is FALSE.
5961 * app/display/gimpdisplay.c (gimp_display_delete): set
5962 gdisp->shell to NULL *before* gtk_widget_destroy()ing the shell so
5963 our tool callbacks don't dispatch stuff while the shell is in the
5964 middle of being destroyed.
5966 Both changes fix bug #129374, though the latter is the fix for the
5969 2003-12-31 Simon Budig <simon@gimp.org>
5971 * app/core/gimpdrawable-stroke.c
5972 * app/paint/gimppaintcore-stroke.c: Don't simplify the border
5973 of the selection. Quite some people were confused by the
5974 polygonal look of a stroked ellipse. The old behaviour doesn't
5975 look good, but the new one isn't really better. Since the
5976 old behaviour is more predictable, I am reverting this for now
5977 (Please note that the function to simplify the boundary still
5978 is available, it just is unused).
5980 Hopefully at some point it will be possible to have non-integer
5981 boundary coordinates or even a more sophisticated set of
5982 "vector-selection" tools.
5984 2003-12-31 Simon Budig <simon@gimp.org>
5986 * app/tools/gimpvectortool.[ch]: Fixed missing undo step when
5987 moving (components of) the path. Don't add an undo step when
5990 Also rephrased the help strings in the statusbar to be shorter
5991 and encourage the user to try shift. Fixes bug #124025.
5993 2003-12-31 Sven Neumann <sven@gimp.org>
5995 * app/tools/gimptextoptions.c (gimp_text_options_gui): fixed
5998 2003-12-30 Simon Budig <simon@gimp.org>
6000 * app/tools/gimpvectortool.c: Do not move anchors in edit mode.
6004 2003-12-30 Simon Budig <simon@gimp.org>
6006 * app/gui/about-dialog.c: Made it possible to have multiple
6007 lines of translators in the about dialog. Simply translate
6008 "<Translators: insert your names here, separated by newline>".
6012 2003-12-30 Simon Budig <simon@gimp.org>
6014 * app/vectors/gimpvectors-compat.c: When there is a visible
6015 path, it cannot be stored in the XCF in a portable manner.
6017 * app/xcf/xcf-save.c: Removed Debug output
6019 2003-12-30 Simon Budig <simon@gimp.org>
6021 * app/gui/stroke-dialog.c: Save the stroking type (libart /
6022 paint-tool) so that it can be remembered when the dialog
6023 gets opened a second time. Fixes Bug #128156.
6025 2003-12-29 Simon Budig <simon@gimp.org>
6027 * app/gui/about-dialog.c: reshuffle the authors array and
6028 restart the animation when the dialog gets shown a second
6029 time. Also render the current version number to the image
6032 2003-12-29 Raphaƫl Quinet <quinet@gamers.org>
6034 * app/gui/palette-editor-menu.c: Applied patch by David Gowers
6035 (neota@softhome.net) improving the mnemonics of the palette editor
6036 commands 'New from FG/BG'. Fixes bug #130121.
6038 2003-12-29 Simon Budig <simon@gimp.org>
6040 * app/gui/about-dialog.c: Redone to have a fancy graphical
6041 effect. Will be tweaked further.
6043 2003-12-28 Simon Budig <simon@gimp.org>
6045 * app/core/core-enums.h: Some default dash pattern enum.
6046 * app/core/core-enums.c: regenerated.
6048 * app/core/gimpstrokeoptions.[ch]: Implement default dash
6049 patterns, add a signal when the dash pattern changes.
6051 * app/widgets/gimpstrokeeditor.c: Add an option menu for
6052 the dash pattern and connect it to the signal mentioned above.
6054 2003-12-28 Simon Budig <simon@gimp.org>
6056 * app/widgets/gimpstrokeeditor.c: Fixed packing of the widgets.
6058 2003-12-28 Simon Budig <simon@gimp.org>
6060 * app/widgets/gimpdasheditor.[ch]: Added functions to shift the
6061 dash pattern to the left or right.
6063 * app/widgets/gimpstrokeeditor.c: Improve the appearance of the
6064 widget and add left/right buttons.
6066 2003-12-27 Sven Neumann <sven@gimp.org>
6068 * app/widgets/gimpdasheditor.c: some minor cleanups.
6070 2003-12-27 Simon Budig <simon@gimp.org>
6072 Dashed stroking is here... :-)
6073 (fixes bug #129597, although further improvements are desireable)
6075 * app/core/gimpdrawable-stroke.c: actually use the dash pattern
6078 * app/core/gimpscanconvert.c: Normalize the dash pattern, so
6079 that libart does the right thing.
6081 * app/core/gimpstrokeoptions.c: Fix default value for dash
6082 offset, handle the property_get for PROP_DASH_INFO correct.
6084 * app/widgets/gimpdasheditor.[ch]
6085 * app/widgets/Makefile.am
6086 * app/widgets/widgets-types.h: New widget to edit a dash
6089 * app/widgets/gimpstrokeeditor.c: Use it.
6091 2003-12-27 Manish Singh <yosh@gimp.org>
6094 * app/plug-in/plug-in-shm.c
6095 * libgimp/gimp.c: POSIX shared memory tile transport implementation,
6096 and a little code cleanup of the SysV and Win32 implementations.
6098 * configure.in: checks for shm_open, default to POSIX shared memory
6101 2003-12-27 Pedro Gimeno <pggimeno@wanadoo.es>
6103 * plug-ins/common/jigsaw.c (jigsaw): actually don't crash when
6104 layer previews are disabled. Fixes the crash reported in bug
6105 #112012, but not the bug itself.
6107 2003-12-26 Sven Neumann <sven@gimp.org>
6109 * app/core/gimpimagefile.c (gimp_imagefile_save_thumb): don't crash
6110 when layer previews are disabled.
6112 2003-12-26 Dave Neary <bolsh@gimp.org>
6114 * app/base/levels.c: Modify behaviour of levels tool to
6115 conserve lightness when using the grey-point color-picker.
6117 2003-12-26 Sven Neumann <sven@gimp.org>
6119 * plug-ins/common/edge.c: forgot to change
6120 gimp_pixel_fetcher_set_edgemode to gimp_pixel_fetcher_set_edge_mode
6123 2003-12-26 Sven Neumann <sven@gimp.org>
6125 * plug-ins/imagemap/imap_cern.y
6126 * plug-ins/imagemap/imap_cern_lex.c
6127 * plug-ins/imagemap/imap_cern_parse.[ch]
6128 * plug-ins/imagemap/imap_csim.[ly]
6129 * plug-ins/imagemap/imap_csim_lex.c
6130 * plug-ins/imagemap/imap_csim_parse.[ch]
6131 * plug-ins/imagemap/imap_ncsa.[ly]
6132 * plug-ins/imagemap/imap_ncsa_lex.c
6133 * plug-ins/imagemap/imap_ncsa_parse.[ch]: Yosh informed me that
6134 regenerating the files using recent versions of flex/bison is a
6135 bad idea. Reverted my changes and redid the most important parts
6138 2003-12-26 Sven Neumann <sven@gimp.org>
6140 * app/config/gimpdisplayconfig.c: set the default value for
6141 "activate-on-focus" to TRUE. The discussion on this has been
6142 controversial and I am doing this change now in order to get more
6145 2003-12-26 Sven Neumann <sven@gimp.org>
6147 * libgimp/gimpmisc.[ch]: applied a modified version of a patch
6148 from Maurits Rijk that cleans up the remaining API (bug #125141).
6150 * plug-ins/common/curve_bend.c
6151 * plug-ins/common/displace.c
6152 * plug-ins/common/edge.c
6153 * plug-ins/common/illusion.c
6154 * plug-ins/common/shift.c
6155 * plug-ins/gflare/gflare.c: changed accordingly.
6157 2003-12-26 Sven Neumann <sven@gimp.org>
6159 * plug-ins/imagemap/imap_edit_area_info.c (create_info_tab):
6160 removed an unused variable.
6162 * plug-ins/imagemap/imap_cern.l: include <string.h> for strcpy().
6164 * plug-ins/imagemap/imap_csim.l
6165 * plug-ins/imagemap/imap_ncsa.l: include <unistd.h> for isatty().
6167 * plug-ins/imagemap/imap_cern_lex.c
6168 * plug-ins/imagemap/imap_ncsa_lex.c
6169 * plug-ins/imagemap/imap_csim_lex.c: regenerated.
6171 2003-12-26 Sven Neumann <sven@gimp.org>
6173 * plug-ins/imagemap/imap_cern.y
6174 * plug-ins/imagemap/imap_csim.y
6175 * plug-ins/imagemap/imap_ncsa.y
6176 * plug-ins/script-fu/script-fu-console.c
6177 * plug-ins/script-fu/script-fu-server.c: include gtk.h with angle
6178 brackets, not quotes.
6180 * plug-ins/imagemap/imap_cern_parse.[ch]
6181 * plug-ins/imagemap/imap_csim_parse.[ch]
6182 * plug-ins/imagemap/imap_ncsa_parse.[ch]: regenerated.
6184 * plug-ins/imagemap/Makefile.am: added y.tab.[ch] (created by bison)
6187 2003-12-25 Sven Neumann <sven@gimp.org>
6189 * app/core/gimpimagefile.c (gimp_imagefile_save_thumb): return
6190 TRUE if thumbnails are disabled. Fixes bug #129921.
6192 2003-12-24 Manish Singh <yosh@gimp.org>
6194 * plug-ins/pygimp/pygimp-image.c: add undo_group_{start,end} methods.
6196 * plug-ins/pygimp/foggify.py
6197 * plug-ins/pygimp/shadow_bevel.py: and use them here, instead of
6198 deprecated PDB functions.
6200 2003-12-23 Manish Singh <yosh@gimp.org>
6202 * plug-ins/pygimp/pygimp-image.c: remove add/remove_layer_mask
6205 * plug-ins/pygimp/pygimp-drawable.c: ... and put them here, as methods
6206 of the layer object.
6208 * plug-ins/pygimp/plug-ins/foggify.py: update for the above new API.
6210 2003-12-22 DindinX <david@dindinx.org>
6212 * plug-ins/common/AlienMap.c:
6213 * plug-ins/common/AlienMap2.c:
6214 * plug-ins/common/CEL.c:
6215 * plug-ins/common/aa.c:
6216 * plug-ins/common/align_layers.c:
6217 * plug-ins/common/animationplay.c:
6218 * plug-ins/common/animoptimize.c:
6219 * plug-ins/common/apply_lens.c:
6220 * plug-ins/common/autocrop.c:
6221 * plug-ins/common/blinds.c:
6222 * plug-ins/common/blur.c:
6223 * plug-ins/common/borderaverage.c:
6224 * plug-ins/common/bumpmap.c:
6225 * plug-ins/common/bz2.c:
6226 * plug-ins/common/c_astretch.c:
6227 * plug-ins/common/channel_mixer.c:
6228 * plug-ins/common/nova.c: small cosmetic changes, such as removing
6231 2003-12-22 DindinX <david@dindinx.org>
6233 * app/gui/user-install-dialog.c (user_install_dialog_run): added a
6234 scrolled window in page 2, since the list of directories is too long
6235 to fit in a 1024x768 screen. The user install dialog should now fit
6236 into a 800x600 screen. This should close #122211
6238 2003-12-21 Michael Natterer <mitch@gimp.org>
6240 * plug-ins/common/convmatrix.c: indentation & whitespace cleanup.
6242 2003-12-21 Michael Natterer <mitch@gimp.org>
6244 * app/display/gimpdisplayshell-dnd.[ch]: added
6245 gimp_display_shell_drop_svg() (untested because there is no place
6246 to drag an SVG from yet...).
6248 * app/display/gimpdisplayshell.c (gimp_display_shell_init):
6249 connect SVG drops to the new callback.
6251 2003-12-21 Michael Natterer <mitch@gimp.org>
6253 * app/widgets/gimpdnd.[ch]: changed "svg_data" from guchar* to
6254 gchar*, cleaned up debugging output.
6256 2003-12-21 Michael Natterer <mitch@gimp.org>
6258 * app/widgets/gimpdialogfactory.c: some cleanup while hunting
6259 window positioning bugs.
6261 2003-12-21 Michael Natterer <mitch@gimp.org>
6263 * app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
6264 render the selection in "light" histograms correctly (unused and
6267 2003-12-21 Michael Natterer <mitch@gimp.org>
6269 * app/widgets/gimpitemtreeview.c: reset container_view->dnd_widget
6270 in gimp_item_tree_view_constructor() instead of
6271 gimp_item_tree_view_new().
6273 2003-12-21 Michael Natterer <mitch@gimp.org>
6275 * app/widgets/gimpcontainerview.c: this was starting to bit-rot on
6276 my disk: added "container" and "context" properties.
6278 (gimp_container_view_set_size_request): fixed scrollbar_width
6279 calculation for deprecated uses of the widget (should never happen
6280 but the code should be correct anyway).
6282 2003-12-21 Michael Natterer <mitch@gimp.org>
6284 * app/core/gimpdrawable-stroke.c (gimp_drawable_stroke_boundary):
6285 fixed cut'n'paste bug: always use offset_x, not offset_y for x
6286 coordinates (spotted by Olivier Gondouin).
6288 2003-12-21 Dave Neary <bolsh@gimp.org>
6290 * NEWS: Updated NEWS.
6292 2003-12-21 Michael Natterer <mitch@gimp.org>
6294 * app/widgets/gimpitemtreeview.c: made "item-type" and
6295 "signal-name" CONSTRUCT_ONLY properties. Configure the DND dests
6296 in gimp_item_tree_view_constructor(), not in
6297 gimp_item_tree_view_new().
6299 2003-12-21 Sven Neumann <sven@gimp.org>
6301 * app/vectors/gimpvectors-export.[ch]: removed the GError parameter
6302 from gimp_vectors_export_string() and implemented this function.
6304 2003-12-21 Michael Natterer <mitch@gimp.org>
6306 * app/widgets/gimppreviewrendererbrush.c: removed trailing
6307 whitespace and #if 0'ed cruft. Cosmetics.
6309 2003-12-21 Michael Natterer <mitch@gimp.org>
6311 * app/widgets/gimptooldialog.c (gimp_tool_dialog_new): doc fixes.
6313 2003-12-21 Michael Natterer <mitch@gimp.org>
6315 * app/widgets/gimpdnd.c: return a boolean indicating success from
6318 (gimp_dnd_data_drop_handle): finish the drop correctly by calling
6319 gtk_drag_finish() with the above success value.
6321 2003-12-20 Sven Neumann <sven@gimp.org>
6323 * app/config/gimpxmlparser.[ch]: added gimp_xml_parser_parse_buffer().
6325 * app/vectors/gimpvectors-export.[ch]: renamed gimp_vectors_export()
6326 to gimp_vectors_export_file() and added a stub called
6327 gimp_vectors_export_string().
6329 * app/vectors/gimpvectors-import.[ch]: renamed gimp_vectors_import()
6330 to gimp_vectors_import_file() and added gimp_vectors_import_buffer().
6332 * app/gui/vectors-commands.c
6333 * tools/pdbgen/pdb/paths.pdb: changed accordingly.
6335 * app/pdb/paths_cmds.c: regenerated.
6337 2003-12-20 Michael Natterer <mitch@gimp.org>
6339 * app/widgets/gimpdnd.[ch]: changed unused SVG dnd API to speak in
6340 terms of "guchar *data", "gint data_len" instead of GimpVectors.
6342 2003-12-20 Michael Natterer <mitch@gimp.org>
6344 * app/widgets/gimpdnd.h: sanitized DND identifiers
6345 (e.g. GIMP_BRUSH -> application/x-gimp-brush-name).
6347 * app/widgets/gimpdnd.[ch]: added stubs for SVG DND with
6348 on-the-fly conversion from/to GimpVectors. Someone needs to add
6349 the conversion functions...
6351 2003-12-20 Sven Neumann <sven@gimp.org>
6353 * app/gui/gradient-editor-commands.c
6354 (gradient_editor_replicate_response): applied patch from Shlomi Fish
6355 that fixes an obvious cut'n'paste bug in the code that replicates a
6356 gradient segment (bug #129738).
6358 2003-12-19 Jakub Steiner <jimmac@ximian.com>
6360 * data/images/gimp_splash.png: it's here! soon!
6362 2003-12-19 Michael Natterer <mitch@gimp.org>
6364 * app/tools/gimpcroptool.c: update the crop dialog in
6365 crop_recalc(), not in gimp_crop_tool_draw().
6367 2003-12-19 Simon Budig <simon@gimp.org>
6369 * app/tools/gimpvectortool.[ch]: Removed private statusbar
6370 gdisplay pointer. Now help texts are only shown on the gdisp
6371 of the tool. Fixes bug #128209
6373 2003-12-19 Michael Natterer <mitch@gimp.org>
6375 * tools/pdbgen/pdb/plug_in.pdb: renamed gimp_temp_PDB_name()
6376 * tools/pdbgen/pdb/procedural_db.pdb: to gimp_procedurab_db_temp_name()
6378 * app/pdb/procedural_db.c
6379 * libgimp/gimpcompat.h: added compat cruft.
6381 * app/pdb/internal_procs.c
6382 * app/pdb/plug_in_cmds.c
6383 * app/pdb/procedural_db_cmds.c
6384 * libgimp/gimpplugin_pdb.[ch]
6385 * libgimp/gimpproceduraldb_pdb.[ch]: regenerated.
6387 * libgimp/gimpbrushselect.c
6388 * libgimp/gimpfontselect.c
6389 * libgimp/gimpgradientselect.c
6390 * libgimp/gimppatternselect.c: changed accordingly.
6392 2003-12-19 Michael Natterer <mitch@gimp.org>
6394 * libgimp/gimpcompat.h: added some missing #defines.
6396 2003-12-18 Michael Natterer <mitch@gimp.org>
6398 * libgimpwidgets/gimpfileentry.c
6399 * libgimpwidgets/gimppatheditor.c
6400 * libgimpwidgets/gimpunitmenu.c (*_class_init): moved signal
6401 documentation from the gtk-doc templates to comments.
6403 * libgimpwidgets/gimppatheditor.c (gimp_path_editor_set_path):
6404 emit the "path-changed" signal.
6406 * libgimpwidgets/gimppatheditor.[ch]: s/gpe/editor/g.
6408 2003-12-17 Dave Neary <bolsh@gimp.org>
6410 * libgimpwidgets/gimpwidgets.[ch]: Change randomize boolean to
6413 * plug-ins/gflare/gflare.c
6414 * plug-ins/maze/maze_face.c
6415 * plug-ins/common/plasma.c
6416 * plug-ins/common/sinus.c
6417 * plug-ins/common/snoise.c:
6418 * plug-ins/common/blur.c
6419 * plug-ins/common/randomize.c: Modify appropriately.
6421 2003-12-17 Dave Neary <bolsh@gimp.org>
6423 * libgimpwidgets/gimpwidgets.[ch]: Change signature of
6424 gimp_random_seed_new() to allow caller to specify that he wants to
6425 use a random seed rather than the specified seed. Previously it was
6426 up to the caller to initialise the seed.
6428 * plug-ins/gflare/gflare.c
6429 * plug-ins/maze/maze_face.c
6430 * plug-ins/common/plasma.c
6431 * plug-ins/common/sinus.c
6432 * plug-ins/common/snoise.c: Trivial modifications of call to
6433 gimp_random_seed_new() with FALSE.
6435 * plug-ins/common/blur.c
6436 * plug-ins/common/randomize.c: Modify PDB routines and tool options
6437 to allow a random seed to be specified. Useful for scripts. Reverts
6438 PDB to 1.2 state. Fixes bug #129529.
6440 2003-12-17 Dave Neary <bolsh@gimp.org>
6442 * plug-ins/script-fu/script-fu-server.c: Destroy widget, not data.
6444 2003-12-17 Michael Natterer <mitch@gimp.org>
6446 * app/core/gimpimage-contiguous-region.c: removed trailing
6449 2003-12-17 Michael Natterer <mitch@gimp.org>
6451 * app/display/gimpcanvas.c (gimp_canvas_gc_new): restore the
6452 cap_style and join_style properties for the XOR GdkGC to the
6453 values GimpDrawTool's GC used to have. Fixes the result of
6454 gdk_draw_segments().
6456 * app/tools/gimpfuzzyselecttool.c (gimp_fuzzy_select_tool_motion):
6457 CLAMP the threshold to its possible values when setting it in the
6460 (gimp_fuzzy_select_tool_button_release): restore the original
6461 threshold after selecting.
6463 2003-12-16 Michael Natterer <mitch@gimp.org>
6465 * app/widgets/gimpsessioninfo.c (gimp_session_info_restore): free
6466 GimpSessionInfoAux structs using gimp_session_info_aux_free()
6467 instead of g_free() so we don't leak its members.
6469 2003-12-16 Michael Natterer <mitch@gimp.org>
6471 * app/text/gimptextlayout-render.c (gimp_text_layout_render):
6472 multiply the layout's offsets with PANGO_SCALE, not -PANGO_SCALE.
6475 2003-12-16 Sven Neumann <sven@gimp.org>
6477 * app/composite/gimp-composite.c (gimp_composite_init): fixed
6480 * plug-ins/script-fu/scripts/3d-outline.scm: use enums.
6482 2003-12-16 Michael Natterer <mitch@gimp.org>
6484 * app/core/gimp-edit.c: added more precondition checks, minor
6487 2003-12-16 Michael Natterer <mitch@gimp.org>
6489 * tools/pdbgen/pdb/image.pdb (image_add_layer_mask)
6490 * tools/pdbgen/pdb/layer.pdb (layer_add_mask): don't unref the
6491 mask after adding it because the layer now takes ownership using
6492 g_object_ref()/gimp_item_sink().
6494 * app/pdb/image_cmds.c
6495 * app/pdb/layer_cmds.c: regenerated.
6497 2003-12-16 Sven Neumann <sven@gimp.org>
6499 * libgimpthumb/gimpthumbnail.c: added API documentation.
6501 2003-12-15 Michael Natterer <mitch@gimp.org>
6503 * app/widgets/gimphistogramview.[ch]: draw the selection in
6504 GTK_STATE_SELECTED's colors, not inverted. Fixed selection
6505 rendering to snap to value boundaries.
6507 2003-12-15 Michael Natterer <mitch@gimp.org>
6509 * plug-ins/common/convmatrix.c (response_callback): destroy "widget",
6510 not "data". Fixes bug #129364.
6512 2003-12-14 Manish Singh <yosh@gimp.org>
6514 * plug-ins/pygimp/pygimp-image.c: use get_name for the repr instead
6515 of get_filename, to be more consistent.
6517 2003-12-14 Sven Neumann <sven@gimp.org>
6519 * plug-ins/Lighting/Makefile.am
6520 * plug-ins/Lighting/lighting_apply.c
6521 * plug-ins/Lighting/lighting_image.[ch]
6522 * plug-ins/Lighting/lighting_main.c
6523 * plug-ins/Lighting/lighting_preview.c
6524 * plug-ins/Lighting/lighting_shade.c
6525 * plug-ins/Lighting/lighting_ui.[ch]
6526 * plug-ins/MapObject/Makefile.am
6527 * plug-ins/MapObject/mapobject_apply.c
6528 * plug-ins/MapObject/mapobject_image.[ch]
6529 * plug-ins/MapObject/mapobject_main.c
6530 * plug-ins/MapObject/mapobject_preview.c
6531 * plug-ins/MapObject/mapobject_shade.c
6532 * plug-ins/MapObject/mapobject_ui.[ch]: removed remaining
6533 references to libgck. Use GdkRGB functionality instead.
6536 * plug-ins/Makefile.am
6537 * plug-ins/makefile.msc
6538 * plug-ins/libgck: removed libgck.
6540 2003-12-14 Sven Neumann <sven@gimp.org>
6542 * libgimp/gimpui.def: removed gimp_plug_in_get_path.
6544 * plug-ins/Lighting/lighting_apply.c
6545 * plug-ins/Lighting/lighting_preview.[ch]: minor cleanup.
6547 2003-12-14 Sven Neumann <sven@gimp.org>
6549 * libgimpthumb/gimpthumb-error.c
6550 * libgimpthumb/gimpthumb-utils.[ch]
6551 * libgimpthumb/gimpthumbnail.c: some code review and addition of
6552 API documentation. Not finished yet...
6554 2003-12-14 Raphaƫl Quinet <quinet@gamers.org>
6556 * libgimp/gimpui.h: Removed inclusion of libgimp/gimpmiscui.h,
6557 which is gone now. Looks like another forgotten commit. It was
6558 breaking the build (ouch! bad DindinX!). ;-)
6560 2003-12-14 DindinX <david@dindinx.org>
6562 * plug-ins/FractalExplorer/Dialogs.c:
6563 * plug-ins/gfig/gfig.c:
6564 * plug-ins/gflare/gflare.c: Don't call gimp_plug_in_get_path(), since
6565 it doesn't really help, call gimp_gimprc_query() instead and display
6566 an error message in case of problem. Aka move the code from
6567 gimpmiscui back to these plug-ins.
6569 * libgimp/gimpmiscui.[ch]: removed these file.
6570 * libgimp/Makefile.am: changed accordlingly.
6572 * plug-ins/libgimpoldpreview/gimpoldpreview.c: removed
6573 gimp_plug_in_get_path() from here also, since I forgot to do this in
6574 my previous commits (ouch! bad DindinX!).
6576 All this partly close #125141.
6578 2003-12-13 Michael Natterer <mitch@gimp.org>
6580 * tools/pdbgen/pdb/procedural_db.pdb: added a hack that allows to
6581 dynamically allocate the strings returned by a PDB query. Construct
6582 more useful "blurb" and "help" strings for deprecated procedures.
6584 * tools/pdbgen/pdb/image.pdb: did the same change manually for
6585 gimp_image_add,remove_layer_mask.
6587 * app/pdb/procedural_db_cmds.c
6588 * app/pdb/image_cmds.c: regenerated.
6590 2003-12-13 DindinX <david@dindinx.org>
6592 * plug-ins/libgimpoldpreview/gimpoldpreview.[ch]: fixed the header
6593 part to reflect the new name of these files.
6595 2003-12-12 Manish Singh <yosh@gimp.org>
6598 * app/composite/Makefile.am
6599 * themes/Default/images/Makefile.am: comestics.
6601 * app/gui/color-notebook.c (color_notebook_new): no need to cast to
6602 G_OBJECT for g_signal_connect.
6604 * plug-ins/common/mkgen.pl
6605 * plug-ins/common/plugin-defs.pl: properly handle the libgimpoldpreview
6608 * plug-ins/common/Makefile.am: regenerated.
6610 * plug-ins/common/decompose.c: cbrt() is in C99, so check for that
6611 in addition to GNU libc.
6613 2003-12-12 Hans Breuer <hans@breuer.org>
6616 I've postponed my reservations against pangoft2/fontconfig/freetype2
6617 usage, so The Gimp should now build with msvc without patching it.
6620 * app/makefile.msc app/text/makefile.msc: use $(PANGOFT2_CFLAGS) etc.
6622 * libgimpthumb/makefile.msc: (new file)
6623 * makefile.msc: added libgimpthumb
6625 * libgimpthumb/gimpthumbnail.c: include gimpwin32-io.h
6626 * libgimpthumb/gimpthumb-utils.c: don't compare size pointer
6627 with GIMP_THUMB_SIZE_FAIL but *size
6629 * plug-ins/makefile.msc: handle libgimpoldpreview
6631 * plug-ins/common/decompose.c: define cbrt() if not __GLIBC__
6633 * plug-ins/common/winclipboard.c: make it compile without gimpcompat.h
6635 * plug-ins/imagemap/imagemap_csim_lex.c: its a generated file
6636 but still win32/msvc has no unistd.h
6638 * plug-ins/pygimp/makefile.msc: (new file) to use the binary you
6639 need to patch glib, see bug #98737
6641 * plug-ins/libgimpoldpreview.c: use <libgimp/gimp.h> instead of
6644 * **/Makefile.am: added makefile.msc to EXTRA_DIST
6646 2003-12-12 Michael Natterer <mitch@gimp.org>
6648 * libgimp/gimplayer.h: removed preserve_transparency #defines.
6649 This is the last of the #defines we added before 1.2 to create a
6650 saner libgimp API (this time, removed the function names that were
6651 planned to be the new ones, because this one is just nitpicky and
6654 * libgimp/gimpcompat.h: added them here.
6656 * plug-ins/common/iwarp.c
6657 * plug-ins/common/psd.c
6658 * plug-ins/common/psd_save.c
6659 * plug-ins/common/psp.c
6660 * plug-ins/common/rotate.c
6661 * plug-ins/common/threshold_alpha.c
6662 * plug-ins/common/vpropagate.c
6663 * plug-ins/xjt/xjt.c: changed accordingly.
6665 2003-12-12 Michael Natterer <mitch@gimp.org>
6667 * plug-ins/FractalExplorer/Dialogs.c
6668 * plug-ins/fp/fp_gtk.c
6669 * plug-ins/gfig/gfig-preview.c
6670 * plug-ins/ifscompose/ifscompose.c
6671 * plug-ins/maze/maze_face.c
6672 * plug-ins/pagecurl/pagecurl.c
6673 * plug-ins/rcm/rcm_dialog.c
6674 * plug-ins/winsnap/winsnap.c
6675 * plug-ins/xjt/xjt.c
6676 * plug-ins/common/*.c: don't set GTK_SHADOW_ETCHED_IN on
6677 GtkFrames, it's the default and just clutters the code.
6679 2003-12-12 Michael Natterer <mitch@gimp.org>
6681 * app/tools/gimpblendoptions.c (gimp_blend_options_gui)
6682 * app/tools/gimpcoloroptions.c (gimp_color_options_gui)
6683 * app/tools/gimpinkoptions.c (gimp_ink_options_gui): removed calls
6684 to gtk_frame_set_shadow_type (frame, GTK_SHADOW_ETCHED_IN) because
6685 that's the default anyway.
6687 2003-12-12 Sven Neumann <sven@gimp.org>
6689 * app/gui/dialogs.c: remember the size of the color picker dialog.
6691 2003-12-12 Michael Natterer <mitch@gimp.org>
6693 * app/tools/gimpcurvestool.c (gimp_curves_tool_register): call
6694 gimp_color_options_new, not gimp_histogram_options_new.
6696 2003-12-11 Manish Singh <yosh@gimp.org>
6698 * plug-ins/common/destripe.c (destripe_dialog): use the GtkDialog
6699 vbox instead of an uninitialized one.
6701 2003-12-12 Sven Neumann <sven@gimp.org>
6703 * app/tools/gimpcurvestool.c: use GimpHistogramOptions instead of
6704 GimpColorOptions and connect the options to the histogram view.
6706 2003-12-12 Michael Natterer <mitch@gimp.org>
6708 * app/widgets/gimphistogramview.[ch]: added a hack that allows to
6709 render the histogram in a brighter color. Fixed initial range for
6710 views that are not selectable.
6711 * app/tools/gimpcurvestool.[ch]: replaced the GtkDrawingArea by a
6712 bright GimpHistogramView and render the curves tool controls on
6713 top of the histogram. Fixes bug #71633.
6715 2003-12-11 Sven Neumann <sven@gimp.org>
6717 * app/widgets/gimpdockable.c (gimp_dockable_init): suppress
6718 button_press events that reach the dockable widget but don't
6719 originate from the title area.
6721 2003-12-11 DindinX <david@dindinx.org>
6723 * libgimp/gimpmiscui.c:
6724 * libgimp/gimpmiscui.h: removed GimpOld preview...
6726 * plug-ins/libgimpoldpreview/Makefile.am:
6727 * plug-ins/libgimpoldpreview/gimpoldpreview.c:
6728 * plug-ins/libgimpoldpreview/gimpoldpreview.h: ... and added it there
6729 as a noinst library, so foreign plug-ins won't use it.
6732 * plug-ins/Makefile.am:
6734 * plug-ins/common/Makefile.am:
6736 * plug-ins/common/AlienMap.c:
6737 * plug-ins/common/AlienMap2.c:
6738 * plug-ins/common/blinds.c:
6739 * plug-ins/common/flarefx.c:
6740 * plug-ins/common/glasstile.c:
6741 * plug-ins/common/grid.c:
6742 * plug-ins/common/illusion.c:
6743 * plug-ins/common/jigsaw.c:
6744 * plug-ins/common/max_rgb.c:
6745 * plug-ins/common/nlfilt.c:
6746 * plug-ins/common/noisify.c:
6747 * plug-ins/common/nova.c:
6748 * plug-ins/common/plasma.c:
6749 * plug-ins/common/polar.c:
6750 * plug-ins/common/waves.c:
6751 * plug-ins/common/wind.c: Changed accordingly.
6753 2003-12-11 Michael Natterer <mitch@gimp.org>
6755 * app/widgets/gimphistogramview.[ch]: added properties "border-width"
6756 and "subdivisions". Fixed rendering (it off-by-one worked just
6757 accidentially because border-width was hardcoded to 1).
6759 * app/widgets/gimphistogrambox.c: use the histogram view's border
6760 width for the color area below the histogram. Conect to the right
6761 signal to update the area. Added (#ifdef DEBUG_VIEW) debugging
6762 spinbuttons to change the histogram view's new properties on the
6765 2003-12-11 Michael Natterer <mitch@gimp.org>
6767 * app/widgets/gimphistogramview.[ch]: applied (modified) patch
6768 from Ed Halley which adds "quintile marks". Fixes bug #129050.
6769 Render the histogram on a base_gc background and use text_gc and
6770 text_aa_gc for rendering the histogram and the helper lines.
6771 Fixed rendering of the 1px border around the histogram. Removed
6772 separate drawing of baseline, left and right helper lines and draw
6773 a rectangle which marks the entire area of possible values. Fixed
6774 size_request calculation. Added missing getters. Cleanup.
6776 * app/tools/gimpcurvestool.c: use the same color scheme as the
6779 * app/tools/gimpcurvestool.c (curves_load,save_callback)
6780 * app/tools/gimplevelstool.c (levels_load,save_callback):
6781 gtk_window_present() the file dialog if it is already visible.
6783 2003-12-11 Sven Neumann <sven@gimp.org>
6785 * app/display/gimpdisplayshell-callbacks.c (gimp_display_shell_events):
6786 switch off fullscreen mode on Escape key press events only. The shell
6787 should not react on the key release event it gets when a dialog is
6788 closed using the Escape key.
6790 2003-12-09 DindinX <david@dindinx.org>
6792 * libgimp/gimpmiscui.c:
6793 * libgimp/gimpmiscui.h:
6794 * plug-ins/common/AlienMap.c:
6795 * plug-ins/common/AlienMap2.c:
6796 * plug-ins/common/blinds.c:
6797 * plug-ins/common/flarefx.c:
6798 * plug-ins/common/glasstile.c:
6799 * plug-ins/common/grid.c:
6800 * plug-ins/common/illusion.c:
6801 * plug-ins/common/jigsaw.c:
6802 * plug-ins/common/max_rgb.c:
6803 * plug-ins/common/nlfilt.c:
6804 * plug-ins/common/noisify.c:
6805 * plug-ins/common/nova.c:
6806 * plug-ins/common/plasma.c:
6807 * plug-ins/common/polar.c:
6808 * plug-ins/common/waves.c:
6809 * plug-ins/common/wind.c: Rename GimpFixmePreview into
6810 GimpOldPreview. This is just a prelimirary stuff, before moving it
6811 into its own, no_inst library.
6813 2003-12-09 DindinX <david@dindinx.org>
6815 * plug-ins/common/vpropagate.c (vpropagate_dialog):
6816 * plug-ins/common/unsharp.c (unsharp_mask_dialog):
6817 * plug-ins/common/threshold_alpha.c (threshold_alpha_dialog):
6818 * plug-ins/common/struc.c (struc_dialog):
6819 * plug-ins/common/sparkle.c (sparkle_dialog):
6820 * plug-ins/common/sobel.c (sobel_dialog):
6821 * plug-ins/common/snoise.c (solid_noise_dialog):
6822 * plug-ins/common/smooth_palette.c (dialog):
6823 * plug-ins/common/sharpen.c (sharpen_dialog):
6824 * plug-ins/common/sel_gauss.c (sel_gauss_dialog):
6825 * plug-ins/common/scatter_hsv.c (scatter_hsv_dialog):
6826 * plug-ins/common/ripple.c (ripple_dialog):
6827 * plug-ins/common/randomize.c (randomize_dialog):
6828 * plug-ins/common/polar.c (polarize_dialog):
6829 * plug-ins/common/plasma.c (plasma_dialog):
6830 * plug-ins/common/pixelize.c (pixelize_dialog):
6831 * plug-ins/common/oilify.c (oilify_dialog):
6832 * plug-ins/common/nova.c (nova_dialog):
6833 * plug-ins/common/noisify.c (noisify_dialog):
6834 * plug-ins/common/nlfilt.c (pluginCoreIA):
6835 * plug-ins/common/lic.c (create_main_dialog):
6836 * plug-ins/common/jpeg.c (save_dialog):
6837 * plug-ins/common/illusion.c (dialog):
6838 * plug-ins/common/grid.c (dialog):
6839 * plug-ins/common/glasstile.c (glass_dialog):
6840 * plug-ins/common/gauss_rle.c (gauss_rle_dialog):
6841 * plug-ins/common/gauss_iir.c (gauss_iir_dialog):
6842 * plug-ins/common/engrave.c (engrave_dialog):
6843 * plug-ins/common/emboss.c (pluginCoreIA):
6844 * plug-ins/common/edge.c (edge_dialog):
6845 * plug-ins/common/destripe.c (destripe_dialog):
6846 * plug-ins/common/despeckle.c (despeckle_dialog):
6847 * plug-ins/common/cubism.c (cubism_dialog):
6848 * plug-ins/common/checkerboard.c (do_checkerboard_dialog):
6849 * plug-ins/common/bumpmap.c (bumpmap_dialog):
6850 * plug-ins/common/blur.c (blur_dialog):
6851 * plug-ins/common/blinds.c (blinds_dialog):
6852 * plug-ins/common/apply_lens.c (lens_dialog): reverted Maurits'
6853 patch, to get rid of gimp_parameter_settings_new (see #125141)
6855 * libgimp/gimpmiscui.[ch]: remove this function.
6857 2003-12-09 DindinX <david@dindinx.org>
6859 * plug-ins/common/wind.c (pluginCoreIA):
6860 * plug-ins/common/whirlpinch (whirl_pinch_dialog):
6861 * plug-ins/common/waves (dialog_box): reverted Maurits' patch,
6862 to get rid of gimp_parameter_settings_new (see #125141)
6864 2003-12-09 DindinX <david@dindinx.org>
6866 * plug-ins/common/xpm.c (save_dialog): reverted Maurits' patch,
6867 to get rid of gimp_parameter_settings_new (see #125141)
6869 2003-12-09 Michael Natterer <mitch@gimp.org>
6871 * app/core/gimpimage-scale.c (gimp_image_scale_check): renamed
6872 variable and added comments to make the calculation clear.
6874 2003-12-09 Michael Natterer <mitch@gimp.org>
6876 * app/core/gimpimage-duplicate.c: Removed unused #includes. Copy
6877 the colormap using the provided API. Use gimp_item_convert()
6878 instead of gimp_item_duplicate() and gimp_item_set_image() to
6879 create layers, channels and vectors for the new image. Don't leak
6880 the new image's grid. Cleanup.
6882 2003-12-09 Michael Natterer <mitch@gimp.org>
6884 Fixed memory management of layers and channels which were created
6887 * app/core/gimpitem.[ch]: added "gboolean floating" flag to
6888 GimpItem. Items are created with floating == TRUE. Added
6889 gimp_item_sink() which resets the floating flag and unrefs the
6890 item if it was TRUE. Added gimp_item_is_floating() accessor.
6892 * app/core/gimpimage.c (gimp_image_add_layer,channel,vectors):
6893 g_object_ref()/gimp_item_sink() added items to take ownership of
6896 * app/core/gimplayer.c (gimp_layer_add_mask):
6897 g_object_ref()/gimp_item_sink() the mask.
6899 * app/gui/layers-commands.c
6900 * app/xcf/xcf-load.c: don't unref layer masks after adding them to
6903 * tools/pdbgen/pdb/drawable.pdb (drawable_delete):
6904 gimp_item_sink() the drawable if it's floating and fail if it's
6905 not. Fixes bug #128881.
6907 * tools/pdbgen/pdb/layer.pdb (layer_create_mask): fixed docs.
6909 * app/pdb/drawable_cmds.c
6910 * app/pdb/layer_cmds.c
6911 * libgimp/gimplayer_pdb.c: regenerated.
6913 2003-12-09 Michael Natterer <mitch@gimp.org>
6915 * app/core/core-enums.[ch]: removed enum value
6916 GIMP_UNDO_GROUP_EDIT_COPY (I have no idea why we used to push an
6917 undo group around "Copy"...).
6919 * app/core/gimp-edit.c (gimp_edit_extract): new utility function
6920 which does everything needed for cut and copy and does not push an
6921 undo group for copy.
6923 (gimp_edit_cut,copy): removed lots of duplicated code and call
6924 gimp_edit_extract().
6926 (gimp_edit_paste,paste_as_new): no need to call
6927 gimp_item_set_image() on newly created layers.
6929 2003-12-09 Michael Natterer <mitch@gimp.org>
6931 * app/core/gimplayer-floating-sel.c (floating_sel_attach): changed
6932 absolutely unclear comment.
6934 2003-12-09 Michael Natterer <mitch@gimp.org>
6936 * app/widgets/gimptoolbox-dnd.c (gimp_toolbox_drop_drawable): use
6937 gimp_item_convert() instead of gimp_item_duplicate() to create
6938 the layer for the new image. Cleanup.
6940 2003-12-09 Michael Natterer <mitch@gimp.org>
6942 * app/base/tile-manager.c (tile_manager_get_memsize): return a
6945 * app/core/gimpimage-scale.[ch] (gimp_image_scale_check): estimate
6946 the new memsize by separating parts of the image that are constant
6947 from parts that will scale. Also take undo logic into account.
6948 Return the estimated new memsize since it's not trivial to
6951 * app/gui/image-commands.c (image_scale_callback): use the memsize
6952 returned by gimp_image_scale_check() for the warning message. Free
6955 2003-12-09 Michael Natterer <mitch@gimp.org>
6957 * app/core/core-enums.h: changed GimpImageScaleCheckType enum
6958 values to GIMP_IMAGE_SCALE_*.
6960 * app/core/gimpimage-scale.c (gimp_image_scale_check): return
6961 GIMP_IMAGE_SCALE_TOO_BIG only if we are scaling up.
6963 * app/gui/image-commands.c: changed accordingly. Whitespace and
6964 indentation cleanup.
6966 2003-12-09 Sven Neumann <sven@gimp.org>
6968 * plug-ins/script-fu/scripts/spyrogimp.scm: added missing parameter
6969 to gimp-gradients-get-gradient-data call.
6971 2003-12-09 Michael Natterer <mitch@gimp.org>
6973 * tools/pdbgen/pdb/image.pdb (image_list): iterate gimp->images
6974 directly rather than building a (leaked) temp GList using
6975 gimp_container_foreach(). Removed gimlist_cb() utility function.
6977 * app/pdb/image_cmds.c: regenerated.
6979 2003-12-09 Michael Natterer <mitch@gimp.org>
6981 * app/core/core-enums.h: export enum GimpRotationType to libgimp.
6983 * tools/pdbgen/pdb/image.pdb: added gimp_image_rotate() PDB wrapper.
6985 * app/pdb/image_cmds.c
6986 * app/pdb/internal_procs.c
6987 * libgimp/gimpenums.h
6988 * libgimp/gimpimage_pdb.[ch]
6989 * plug-ins/pygimp/gimpenums.py
6990 * plug-ins/script-fu/script-fu-constants.c
6991 * tools/pdbgen/enums.pl: regenerated.
6993 2003-12-08 Manish Singh <yosh@gimp.org>
6996 * configure.in: added --disable-devel-docs, to skip the devel-docs
6997 dir entirely. Also, changed --enable-gimpdir to --with-gimpdir
6998 since that semantic makes more sense.
7000 2003-12-08 Michael Natterer <mitch@gimp.org>
7002 * tools/pdbgen/pdb/image.pdb: marked gimp_image_add_layer_mask()
7003 and gimp_image_remove_layer_mask() as deprecated. Didnn't remove
7004 them from the PDB because the new functions' signature differs and
7005 they are used very often in scripts, but removed them from the
7008 * tools/pdbgen/pdb/layer.pdb: added gimp_layer_add_mask() and
7009 gimp_layer_remove_mask().
7011 * libgimp/gimpcompat.h: added compat cruft.
7013 * app/pdb/image_cmds.c
7014 * app/pdb/internal_procs.c
7015 * app/pdb/layer_cmds.c
7016 * libgimp/gimpimage_pdb.[ch]
7017 * libgimp/gimplayer_pdb.[ch]: regenerated.
7019 * libgimp/gimpexport.c
7020 * plug-ins/common/curve_bend.c
7021 * plug-ins/common/psd.c
7022 * plug-ins/pygimp/pygimp-image.c
7023 * plug-ins/script-fu/scripts/3d-outline.scm
7024 * plug-ins/script-fu/scripts/alien-neon-logo.scm
7025 * plug-ins/script-fu/scripts/blended-logo.scm
7026 * plug-ins/script-fu/scripts/burn-in-anim.scm
7027 * plug-ins/script-fu/scripts/carve-it.scm
7028 * plug-ins/script-fu/scripts/carved-logo.scm
7029 * plug-ins/script-fu/scripts/chrome-it.scm
7030 * plug-ins/script-fu/scripts/chrome-logo.scm
7031 * plug-ins/script-fu/scripts/coolmetal-logo.scm
7032 * plug-ins/script-fu/scripts/crystal-logo.scm
7033 * plug-ins/script-fu/scripts/fade-outline.scm
7034 * plug-ins/script-fu/scripts/frosty-logo.scm
7035 * plug-ins/script-fu/scripts/image-structure.scm
7036 * plug-ins/script-fu/scripts/news-text.scm
7037 * plug-ins/script-fu/scripts/rendermap.scm
7038 * plug-ins/script-fu/scripts/slide.scm
7039 * plug-ins/script-fu/scripts/sota-chrome-logo.scm
7040 * plug-ins/script-fu/scripts/speed-text.scm
7041 * plug-ins/script-fu/scripts/starburst-logo.scm
7042 * plug-ins/script-fu/scripts/textured-logo.scm
7043 * plug-ins/script-fu/scripts/weave.scm
7044 * plug-ins/script-fu/scripts/xach-effect.scm
7045 * plug-ins/xjt/xjt.c: changed accordingly.
7047 2003-12-08 Dave Neary <bolsh@gimp.org>
7049 * app/core/core-enums.h:
7050 * app/core/gimpimage-scale.[ch]: Added the GimpImageScaleCheckType
7051 enum and used it in gimp_image_scale_check() which used to be
7052 gimp_image_check_scaling().
7054 * app/gui/image_commands.c: Used the above when checking
7055 scaling parameters to display a message if the image is too big
7056 or too small after scaling. Closes bug #21028.
7058 2003-12-08 Michael Natterer <mitch@gimp.org>
7060 * tools/pdbgen/pdb/image.pdb: renamed PDB function
7061 gimp_image_active_drawable() to gimp_image_get_active_drawable()
7062 so it's consistent with all other drawable getters.
7064 * app/pdb/procedural_db.c
7065 * libgimp/gimpcompat.h: added compat stuff.
7067 * app/pdb/image_cmds.c
7068 * libgimp/gimpimage_pdb.[ch]: regenerated.
7070 * plug-ins/pygimp/pygimp-image.c
7071 * plug-ins/script-fu/scripts/add-bevel.scm
7072 * plug-ins/script-fu/scripts/carved-logo.scm
7073 * plug-ins/script-fu/scripts/chrome-it.scm
7074 * plug-ins/script-fu/scripts/crystal-logo.scm
7075 * plug-ins/script-fu/scripts/round-corners.scm
7076 * plug-ins/script-fu/scripts/slide.scm
7077 * plug-ins/script-fu/scripts/sota-chrome-logo.scm: changed accordingly.
7079 2003-12-08 Michael Natterer <mitch@gimp.org>
7081 Some PDB fixes/cosmetics before doing real changes again:
7083 * tools/pdbgen/pdb/drawable.pdb
7084 * tools/pdbgen/pdb/layer.pdb: changed order of generated functions
7087 * tools/pdbgen/pdb/misc_tools.pdb: doc cosmetics, removed unused
7090 * tools/pdbgen/pdb/image.pdb: reordered generated functions as
7091 above, fixed resolution and unit accessors to use functions
7092 instead of setting gimage->foo directly, use &image_accessors()
7093 for the tattoo_state functions, cleanup.
7095 * app/pdb/drawable_cmds.c
7096 * app/pdb/image_cmds.c
7097 * app/pdb/layer_cmds.c
7098 * app/pdb/misc_tools_cmds.c
7099 * libgimp/gimpdrawable_pdb.[ch]
7100 * libgimp/gimpimage_pdb.[ch]
7101 * libgimp/gimplayer_pdb.[ch]
7102 * libgimp/gimpmisctools_pdb.c: regenerated.
7104 2003-12-08 Sven Neumann <sven@gimp.org>
7106 * libgimpthumb/gimpthumbnail.c (gimp_thumbnail_load_thumb): don't
7107 scale the pixbuf, always return the pixbuf as loaded from disk.
7109 * app/core/gimpimagefile.c (gimp_imagefile_get_description):
7110 return NULL when being asked for a description on a thumbnail
7111 without an image_uri.
7113 2003-12-08 Michael Natterer <mitch@gimp.org>
7115 * app/core/gimpdatafactory.c: code review / cleanup.
7117 * app/plug-in/plug-in.c
7118 * app/plug-in/plug-in-message.c: unified messages about plug-in
7119 errors. Changed lots of g_warning()s to g_message()s because
7120 g_warning() is for programming errors and the user should be
7121 informed that the plug-in was killed and did not simply crash.
7123 2003-12-08 Sven Neumann <sven@gimp.org>
7125 * libgimpthumb/gimpthumb-utils.[ch]: renamed a function, added
7128 * libgimpthumb/gimpthumb.def
7129 * libgimpthumb/gimpthumbnail.c: changed accordingly.
7131 2003-12-08 Michael Natterer <mitch@gimp.org>
7133 * tools/pdbgen/pdb/channel.pdb
7134 * tools/pdbgen/pdb/display.pdb
7135 * tools/pdbgen/pdb/drawable.pdb
7136 * tools/pdbgen/pdb/image.pdb: don't use "alias"es just to rename
7137 variables, they just clutter the code and there is no reason why
7138 e.g. a GimpDisplay variable must be called "gdisp" instead of
7141 * app/pdb/channel_cmds.c
7142 * app/pdb/display_cmds.c
7143 * app/pdb/drawable_cmds.c
7144 * app/pdb/image_cmds.c: regenerated.
7146 2003-12-08 Michael Natterer <mitch@gimp.org>
7148 * tools/pdbgen/pdb/brushes.pdb
7149 * tools/pdbgen/pdb/fonts.pdb
7150 * tools/pdbgen/pdb/gradients.pdb
7151 * tools/pdbgen/pdb/palettes.pdb
7152 * tools/pdbgen/pdb/patterns.pdb: removed comments that
7153 gimp_data_factory_data_init() should return a boolean indicating
7154 success, since it is highly unclear when to return FALSE. This
7155 function just always succeeds. Changed docs accordingly. Cleanup.
7157 * tools/pdbgen/pdb/brush_select.pdb
7158 * tools/pdbgen/pdb/font_select.pdb
7159 * tools/pdbgen/pdb/gradient_select.pdb
7160 * tools/pdbgen/pdb/palette_select.pdb
7161 * tools/pdbgen/pdb/pattern_select.pdb: minor cleanups.
7163 * app/pdb/brush_select_cmds.c
7164 * app/pdb/brushes_cmds.c
7165 * app/pdb/font_select_cmds.c
7166 * app/pdb/fonts_cmds.c
7167 * app/pdb/gradient_select_cmds.c
7168 * app/pdb/gradients_cmds.c
7169 * app/pdb/palette_select_cmds.c
7170 * app/pdb/palettes_cmds.c
7171 * app/pdb/pattern_select_cmds.c
7172 * app/pdb/patterns_cmds.c
7173 * libgimp/gimpbrushes_pdb.c
7174 * libgimp/gimpfonts_pdb.c
7175 * libgimp/gimpgradients_pdb.c
7176 * libgimp/gimppalettes_pdb.c
7177 * libgimp/gimppatterns_pdb.c: regenerated.
7179 2003-12-08 Sven Neumann <sven@gimp.org>
7181 * configure.in: bumped version number to 1.3.24.
7182 (AC_CONFIG_FILES): added files in devel-docs/libgimpthumb.
7184 * gimp.spec.in: added files from libgimpthumb.
7186 2003-12-08 Sven Neumann <sven@gimp.org>
7188 * app/tools/gimpcroptool.c (gimp_crop_tool_draw): an XOR line was
7189 being drawn twice; spotted by Marco Munari.
7191 2003-12-08 Sven Neumann <sven@gimp.org>
7193 * Makefile.am (SUBDIRS): added libgimpthumb.
7195 * libgimpthumb/gimpthumb-utils.c
7196 * libgimpthumb/gimpthumbnail.c: basic functionality is implemented
7197 and seems to be working.
7199 * app/Makefile.am: link the application against libgimpthumb.
7201 * app/core/core-types.h: include libgimpthumb/gimpthumb-types.h.
7203 * app/core/gimpimagefile.[ch]: removed thumbnail handling routines
7204 and use libgimpthumb instead. Fixes bug #127914.
7206 * app/gui/file-open-dialog.c
7207 * app/widgets/gimpdocumentview.c: changed accordingly.
7209 2003-12-07 Dave Neary <bolsh@gimp.org>
7213 2003-12-06 Michael Natterer <mitch@gimp.org>
7215 * tools/pdbgen/pdb/image.pdb (image_delete): fixed "success"
7218 * app/pdb/image_cmds.c: regenerated.
7220 2003-12-06 Michael Natterer <mitch@gimp.org>
7222 * app/widgets/gimphelp.c (gimp_idle_help): cleanup.
7224 2003-12-06 Michael Natterer <mitch@gimp.org>
7226 * app/xcf/xcf-private.h: added "GimpTattoo tattoo_state" to the
7229 * app/xcf/xcf.c (xcf_load_invoker): initialize it to 0.
7231 * app/xcf/xcf-load.c (xcf_load_image_props): remember PROP_TATTOO
7232 in info->tattoo_state instead of setting it directly in the
7235 (xcf_load_image): set the remembered tattoo_state after all items
7238 (Fixes the regression that "open -> don't modify -> save" didn't
7239 result in 100% identical XCF files).
7241 2003-12-05 Manish Singh <yosh@gimp.org>
7243 * plug-ins/common/gif.c: always compare using unsigned chars for 7bit
7246 2003-12-05 Michael Natterer <mitch@gimp.org>
7248 * app/pdb/pdb-types.h: added enum GimpPDBCompatMode which can
7249 be one of { OFF, ON, WARN }.
7251 * app/main.c: added --pdb-compat-mode command line option. Renamed
7252 --enable-stack-trace to --stack-trace-mode. Made default values of
7253 stack_trace_mode and pdb_compat_mode depend on GIMP_MINOR_VERSION
7254 (default to compat ON and stack_trace NEVER for stable releases
7255 and to compat WARN and stack_trace ASK for unstable ones).
7257 * app/app_procs.[ch]: pass pdb_compat_mode to gimp_new().
7259 * app/core/gimp.[ch]: added pdb_compat_mode to the Gimp struct
7262 * app/pdb/procedural_db.c: leave the compat table empty for
7263 GIMP_PDB_COMPAT_OFF.
7265 * app/plug-in/plug-in-message.c: warn when a deprecated procedure
7266 is called for GIMP_PDB_COMPAT_WARN.
7268 * docs/gimp-1.3.1.in: changed accordingly.
7270 2003-12-05 Michael Natterer <mitch@gimp.org>
7272 Name all PDB procedures which deal with floating selections
7275 * tools/pdbgen/pdb/image.pdb: renamed
7276 gimp_image_floating_selection() to gimp_image_get_floating_sel().
7278 * libgimp/gimplayer.h: removed gimp_layer_is_floating_selection #define.
7280 * libgimp/gimpcompat.h
7281 * app/pdb/procedural_db.c: added compat stuff.
7283 * app/pdb/image_cmds.c
7284 * libgimp/gimpimage_pdb.[ch]: regenerated.
7286 * plug-ins/common/curve_bend.c
7287 * plug-ins/common/film.c
7288 * plug-ins/common/rotate.c
7289 * plug-ins/pygimp/pygimp-image.c
7290 * plug-ins/xjt/xjt.c: changed accordingly.
7292 2003-12-05 Sven Neumann <sven@gimp.org>
7294 * libgimp/gimp.def: updated.
7296 2003-12-05 Michael Natterer <mitch@gimp.org>
7299 * libgimp/gimpbrushmenu.h
7300 * libgimp/gimpbrushselect.[ch]
7301 * libgimp/gimpfontmenu.[ch]
7302 * libgimp/gimpfontselect.[ch]
7303 * libgimp/gimpgradientmenu.h
7304 * libgimp/gimpgradientselect.[ch]
7305 * libgimp/gimpmenu.h
7306 * libgimp/gimpmisc.[ch]
7307 * libgimp/gimpmiscui.[ch]
7308 * libgimp/gimppatternmenu.h
7309 * libgimp/gimppatternselect.[ch]
7310 * libgimp/gimppixelrgn.[ch]
7311 * libgimp/gimpproceduraldb.c
7312 * libgimp/gimpselection.c
7313 * libgimp/gimptile.h
7314 * libgimp/gimptypes.h
7316 * libgimp/gimpuitypes.h
7317 * libgimp/libgimp-intl.h
7318 * libgimp/stdplugins-intl.h
7319 * libgimpbase/gimpbase.h
7320 * libgimpbase/gimpdatafiles.c
7321 * libgimpbase/gimpenv.c
7322 * libgimpbase/gimpparasite.[ch]
7323 * libgimpbase/gimpparasiteio.[ch]
7324 * libgimpbase/gimpsignal.[ch]
7325 * libgimpbase/gimputils.c
7326 * libgimpcolor/gimpadaptivesupersample.[ch]
7327 * libgimpcolor/gimpbilinear.[ch]
7328 * libgimpmath/gimpmath.h
7329 * libgimpmath/gimpmathtypes.h
7330 * libgimpwidgets/gimpbutton.[ch]
7331 * libgimpwidgets/gimpchainbutton.h
7332 * libgimpwidgets/gimpcolorarea.[ch]
7333 * libgimpwidgets/gimpcolornotebook.h
7334 * libgimpwidgets/gimpcolorscale.[ch]
7335 * libgimpwidgets/gimpcolorscales.h
7336 * libgimpwidgets/gimpcolorselect.h
7337 * libgimpwidgets/gimpoffsetarea.h
7338 * libgimpwidgets/gimppixmap.[ch]: removed trailing whitespace.
7340 2003-12-05 Michael Natterer <mitch@gimp.org>
7342 * tools/pdbgen/pdb/drawable.pdb: renamed gimp_drawable_bytes() to
7343 gimp_drawable_bpp() because all other libgimp API speak in terms
7346 * libgimp/gimpdrawable.h: removed gimp_drawable_bpp #define.
7348 * app/pdb/procedural_db.c
7349 * libgimp/gimpcompat.h: added compat stuff.
7351 * app/pdb/drawable_cmds.c
7352 * libgimp/gimpdrawable_pdb.[ch]: regenerated.
7354 * plug-ins/common/pix.c
7355 * plug-ins/common/psd_save.c: changed accordingly.
7357 2003-12-05 Michael Natterer <mitch@gimp.org>
7359 * tools/pdbgen/pdb/image.pdb: removed gimp_image_undo_*() functions...
7361 * tools/pdbgen/pdb/undo.pdb: ...and added them here. Renamed
7362 gimp_undo_push_group_start,end() to
7363 gimp_image_undo_group_start,end().
7365 * app/pdb/procedural_db.c
7366 * libgimp/gimpcompat.h: added compat stuff for the old undo group API.
7368 * app/pdb/image_cmds.c
7369 * app/pdb/internal_procs.c
7370 * app/pdb/undo_cmds.c
7371 * libgimp/gimpimage_pdb.[ch]
7372 * libgimp/gimpundo_pdb.[ch]: regenerated.
7374 * plug-ins/common/align_layers.c
7375 * plug-ins/common/colortoalpha.c
7376 * plug-ins/common/curve_bend.c
7377 * plug-ins/common/iwarp.c
7378 * plug-ins/common/jpeg.c
7379 * plug-ins/common/rotate.c
7380 * plug-ins/common/tile.c
7381 * plug-ins/common/zealouscrop.c
7382 * plug-ins/gfig/gfig.c
7383 * plug-ins/ifscompose/ifscompose.c
7384 * plug-ins/pagecurl/pagecurl.c
7385 * plug-ins/script-fu/scripts/*.scm: changed accordingly.
7387 2003-12-05 Michael Natterer <mitch@gimp.org>
7389 Made 3rd party scripts work again after all that PDB function
7392 * app/core/gimp.[ch]: added "GHashTable *procedural_compat_ht" to
7393 the Gimp struct which maps old procedure names to new ones.
7394 Call new function procedural_db_init_procs() instead of
7395 internal_procs_init().
7397 * app/pdb/procedural_db.[ch]: create and destroy the new compat
7398 hash table. Added new function procedural_db_init_procs() which
7399 registers the internal procedures and fills the compat hash table.
7401 (procedural_db_execute): minor fixes.
7403 * app/plug-in/plug-in-message.c (plug_in_handle_proc_run): if
7404 the requested procedure was not found, try the compat table.
7406 * tools/pdbgen/pdb/procedural_db.pdb: made all PDB query
7407 procedures compat aware. For compat procedures, return help
7408 strings which declare the procedure as deprecated and tell
7409 the new name of the procedure. Cleanup.
7411 * app/pdb/procedural_db_cmds.c: regenerated.
7413 2003-12-05 Adam D. Moss <adam@gimp.org>
7415 * plug-ins/common/psd.c: GIMP 1.3/2.0 needs its layer/channel
7416 names to be UTF8 or it fails wackily, so convert the strings from
7417 the PSD file to UTF8 instead of using them raw.
7419 2003-12-05 Sven Neumann <sven@gimp.org>
7421 * app/gui/resize-dialog.c: added mnemonics.
7423 2003-12-04 Manish Singh <yosh@gimp.org>
7425 * plug-ins/pygimp/pygimp-drawable.c: made linked an attribute of
7428 2003-12-04 Michael Natterer <mitch@gimp.org>
7430 * tools/pdbgen/pdb/convert.pdb: renamed gimp_convert_*() functions
7431 to gimp_image_convert_*().
7433 * libgimp/gimpimage.[ch]: removed gimp_image_convert_* #defines.
7435 * libgimp/gimpcompat.h: added old stuff.
7437 * app/pdb/convert_cmds.c
7438 * libgimp/gimpconvert_pdb.[ch]: regenerated.
7440 * plug-ins/common/gifload.c
7441 * plug-ins/common/gih.c
7442 * plug-ins/common/sample_colorize.c
7443 * plug-ins/common/winclipboard.c
7444 * plug-ins/script-fu/scripts/burn-in-anim.scm
7445 * plug-ins/script-fu/scripts/chrome-it.scm
7446 * plug-ins/script-fu/scripts/crystal-logo.scm
7447 * plug-ins/script-fu/scripts/fuzzyborder.scm
7448 * plug-ins/script-fu/scripts/gimp-headers.scm
7449 * plug-ins/script-fu/scripts/gimp-labels.scm
7450 * plug-ins/script-fu/scripts/sota-chrome-logo.scm
7451 * plug-ins/script-fu/scripts/spinning-globe.scm: changed accordingly.
7453 2003-12-04 Michael Natterer <mitch@gimp.org>
7455 * tools/pdbgen/pdb/layer.pdb: renamed gimp_layer_mask() to
7456 gimp_layer_get_mask().
7458 * libgimp/gimplayer.h: removed gimp_layer_get_mask_id #define.
7460 * libgimp/gimpcompat.h: added old stuff.
7462 * app/pdb/layer_cmds.c
7463 * libgimp/gimplayer_pdb.[ch]: regenerated.
7465 * libgimp/gimpexport.c
7466 * plug-ins/common/curve_bend.c
7467 * plug-ins/pygimp/pygimp-drawable.c
7468 * plug-ins/script-fu/scripts/image-structure.scm
7469 * plug-ins/xjt/xjt.c: changed accordingly.
7471 2003-12-04 Sven Neumann <sven@gimp.org>
7473 * libgimp/gimp.def: updated.
7475 2003-12-04 Michael Natterer <mitch@gimp.org>
7477 * tools/pdbgen/pdb/drawable.pdb: renamed gimp_drawable_image() to
7478 gimp_drawable_get_image() for symmetry with
7479 gimp_drawable_set_image().
7481 * libgimp/gimpchannel.h: removed gimp_channel_get_image_id #define.
7482 * libgimp/gimpdrawable.h: removed gimp_drawable_image_id #define.
7483 * libgimp/gimplayer.h:: removed gimp_layer_get_image_id #define.
7485 * libgimp/gimpcompat.h: added the old stuff here.
7487 * app/pdb/drawable_cmds.c
7488 * libgimp/gimpdrawable_pdb.[ch]: regenerated.
7490 * libgimp/gimpmiscui.c
7491 * plug-ins/Lighting/lighting_main.c
7492 * plug-ins/MapObject/mapobject_main.c
7493 * plug-ins/common/curve_bend.c
7494 * plug-ins/common/film.c
7495 * plug-ins/common/newsprint.c
7496 * plug-ins/common/pixelize.c
7497 * plug-ins/common/ps.c
7498 * plug-ins/common/sample_colorize.c
7499 * plug-ins/common/smooth_palette.c
7500 * plug-ins/common/warp.c
7501 * plug-ins/imagemap/imap_cmd_gimp_guides.c
7502 * plug-ins/imagemap/imap_main.c
7503 * plug-ins/imagemap/imap_preview.c
7504 * plug-ins/maze/maze.c
7505 * plug-ins/pygimp/pygimp-drawable.c
7506 * plug-ins/rcm/rcm_misc.c
7507 * plug-ins/script-fu/scripts/addborder.scm
7508 * plug-ins/script-fu/scripts/carve-it.scm
7509 * plug-ins/script-fu/scripts/weave.scm: changed accordingly.
7511 * plug-ins/maze/maze.c: completely reindented.
7513 * plug-ins/script-fu/siod/trace.c: removed trailing whitespace.
7515 2003-12-04 Michael Natterer <mitch@gimp.org>
7517 * app/core/gimpimage-projection.c (gimp_image_projection_allocate):
7518 optimized to reallocate the projection TileManager only if it does
7519 not match the required width, height and depth.
7521 * app/core/gimpimage.c (gimp_image_size_changed): call
7522 gimp_image_projection_allocate().
7524 * app/core/gimpimage-crop.c
7525 * app/core/gimpimage-resize.c
7526 * app/core/gimpimage-rotate.c
7527 * app/core/gimpimage-scale.c
7528 * app/core/gimpimage-undo-push.c: removed calls to
7529 gimp_image_projection_allocate(), since "size_changed" does it
7532 2003-12-04 Michael Natterer <mitch@gimp.org>
7534 * plug-ins/helpbrowser/dialog.c
7535 * plug-ins/helpbrowser/domain.[ch]
7536 * plug-ins/helpbrowser/uri.[ch]: cleanup & whitespace removal.
7538 2003-12-04 Michael Natterer <mitch@gimp.org>
7540 * app/core/gimpimage.h: removed unused "gint proj_level" from the
7543 2003-12-04 Michael Natterer <mitch@gimp.org>
7545 * plug-ins/pygimp/pygimp-drawable.c (lay_set_linked): made it
7548 2003-12-04 Michael Natterer <mitch@gimp.org>
7550 * tools/pdbgen/pdb/layer.pdb: removed "linked" API...
7551 * tools/pdbgen/pdb/drawable.pdb: ...and added it here.
7553 * app/pdb/drawable_cmds.c
7554 * app/pdb/internal_procs.c
7555 * app/pdb/layer_cmds.c
7556 * libgimp/gimpdrawable_pdb.[ch]
7557 * libgimp/gimplayer_pdb.[ch]: regenerated.
7559 * libgimp/gimpcompat.h: added gimp_layer_*_linked compat #defines.
7561 * plug-ins/xjt/xjt.c: changed accordingly.
7563 2003-12-03 Manish Singh <yosh@gimp.org>
7565 * plug-ins/pygimp/gimpmodule.c
7566 * plug-ins/pygimp/pygimp-drawable.c
7567 * plug-ins/pygimp/pygimp-image.c
7568 * plug-ins/pygimp/pygimp-pdb.c
7569 * plug-ins/pygimp/pygimp-tile.c: some cosmetic changes to error
7572 * plug-ins/pygimp/pygimp-drawable.c: accessors for name, tattoo, and
7573 visible live in the drawable class now, so layer and channel objects
7576 2003-12-03 Sven Neumann <sven@gimp.org>
7578 * libgimp/gimp.def: updated.
7580 2003-12-03 Michael Natterer <mitch@gimp.org>
7582 * plug-ins/pygimp/gimpmodule.c: follow change below.
7584 2003-12-03 Michael Natterer <mitch@gimp.org>
7586 * tools/pdbgen/pdb/channel.pdb
7587 * tools/pdbgen/pdb/layer.pdb: removed gimp_layer_delete() and
7588 gimp_channel_delete() PDB wrappers...
7590 * tools/pdbgen/pdb/drawable.pdb: ...added gimp_drawable_delete().
7592 * libgimp/gimpdrawable.[ch]: removed gimp_drawable_delete()
7593 (having this function work on the GimpDrawable wrapper and not on
7594 the drawable_id was more than questionable anyway).
7596 * libgimp/gimpcompat.h: added gimp_layer_delete and
7597 gimp_channel_delete cruft #defines.
7599 * app/pdb/channel_cmds.c
7600 * app/pdb/drawable_cmds.c
7601 * app/pdb/internal_procs.c
7602 * app/pdb/layer_cmds.c
7603 * libgimp/gimpchannel_pdb.[ch]
7604 * libgimp/gimpdrawable_pdb.[ch]
7605 * libgimp/gimplayer_pdb.[ch]: regenerated.
7607 * plug-ins/script-fu/scripts/add-bevel.scm
7608 * plug-ins/xjt/xjt.c: changed accordingly.
7610 * plug-ins/imagemap/imap_main.c: just removed the call to
7611 gimp_channel_delete(), it was wrong anyway.
7613 2003-12-03 Manish Singh <yosh@gimp.org>
7615 * plug-ins/pygimp/pygimp-drawable.c
7616 * plug-ins/pygimp/pygimp-tile.c: quick fix to make it build with the
7617 below. Real fix later.
7619 2003-12-03 Michael Natterer <mitch@gimp.org>
7621 * tools/pdbgen/pdb/channel.pdb
7622 * tools/pdbgen/pdb/layer.pdb: removed duplicated APIs for "name",
7623 "visible" and "tattoo"...
7625 * tools/pdbgen/pdb/drawable.pdb: ...and added them as drawable APIs.
7627 * libgimp/gimpdrawable.[ch]: removed faked layer/channel
7628 polymorphisms, the functions are real drawable functions now.
7630 * libgimp/gimpcompat.h: added the old cruft here.
7632 * app/pdb/channel_cmds.c
7633 * app/pdb/drawable_cmds.c
7634 * app/pdb/internal_procs.c
7635 * app/pdb/layer_cmds.c
7636 * libgimp/gimpchannel_pdb.[ch]
7637 * libgimp/gimpdrawable_pdb.[ch]
7638 * libgimp/gimplayer_pdb.[ch]: regenerated.
7640 * libgimp/gimpexport.c
7641 * libgimp/gimpmenu.c
7642 * plug-ins/common/align_layers.c
7643 * plug-ins/common/animationplay.c
7644 * plug-ins/common/animoptimize.c
7645 * plug-ins/common/curve_bend.c
7646 * plug-ins/common/gbr.c
7647 * plug-ins/common/gif.c
7648 * plug-ins/common/gih.c
7649 * plug-ins/common/iwarp.c
7650 * plug-ins/common/mng.c
7651 * plug-ins/common/psd.c
7652 * plug-ins/common/psd_save.c
7653 * plug-ins/common/psp.c
7654 * plug-ins/xjt/xjt.c
7655 * plug-ins/gfig/gfig.c
7656 * plug-ins/script-fu/scripts/*.scm: changed accordingly.
7658 2003-12-03 Jakub Steiner <jimmac@ximian.com>
7660 * data/patterns/Stripes1px.pat
7661 * data/patterns/Stripes2px.pat: rename to Stripes & Stripes Fine
7663 2003-12-03 Sven Neumann <sven@gimp.org>
7665 * plug-ins/common/nlfilt.c: use G_MAXINT instead of a custom define.
7667 2003-12-03 Sven Neumann <sven@gimp.org>
7669 * plug-ins/common/animoptimize.c: resolved mnemonics conflict,
7670 removed warnings and cleaned up the code a bit.
7672 2003-12-03 Michael Natterer <mitch@gimp.org>
7674 * plug-ins/common/channel_mixer.c: changed float (de)serialization
7675 to use locale independent g_ascii_* functions (fixes bug #113901).
7676 Cleaned up the GUI a lot (scale entries and stuff). Some more
7679 2003-12-03 Sven Neumann <sven@gimp.org>
7681 * plug-ins/common/ccanalyze.c: use gimp_memsize_to_string() to
7682 display the memory and file size of the image. Minor cleanups.
7684 2003-12-03 Sven Neumann <sven@gimp.org>
7686 * plug-ins/common/CML_explorer.c
7687 * plug-ins/common/channel_mixer.c: use g_file_test() instead of stat().
7689 2003-12-02 Manish Singh <yosh@gimp.org>
7691 * plug-ins/common/channel_mixer.c: fix call to gimp_dialog_run.
7693 * plug-ins/common/newsprint.c: remove GINT_POINTER definition hack,
7694 we always have it now.
7696 2003-12-02 Manish Singh <yosh@gimp.org>
7698 * plug-ins/common/CML_explorer.c: fix save dialog handling.
7700 2003-12-02 Manish Singh <yosh@gimp.org>
7702 * plug-ins/common/Makefile.am
7703 * plug-ins/common/plugin-defs.pl
7704 * plug-ins/common/channel_mixer.c: Added channel mixer plugin.
7705 Needs some work still, notably the settings load/save handling.
7706 Addresses bug #113901.
7708 2003-12-02 Sven Neumann <sven@gimp.org>
7710 * plug-ins/common/tiff.c: applied a modified version of a patch
7711 submitted by Andrey Kiselev. Implements loading of TIFF files with
7712 multiple pages (bug #66886).
7714 2003-12-02 Jakub Steiner <jimmac@ximian.com>
7716 * data/patterns/Makefile.am
7717 * data/patterns/Stripes1px.pat
7718 * data/patterns/Stripes2px.pat: simple RGBA stripes patterns.
7719 Very useful for the obligatory 'interlace' effect. can be done
7720 with the grid plugin currently, but dragging a pattern is by
7723 2003-12-02 Sven Neumann <sven@gimp.org>
7725 * libgimpthumb/Makefile.am
7726 * libgimpthumb/gimpthumb-error.[ch]: added new files that define the
7727 GIMP_THUMB_ERROR domain.
7729 * libgimpthumb/gimpthumb-utils.[ch]
7730 * libgimpthumb/gimpthumb.h
7731 * libgimpthumb/gimpthumbnail.[ch]: finalizing the API.
7733 2003-12-01 Sven Neumann <sven@gimp.org>
7735 * app/core/gimpdrawable-blend.c: some code cleanup I've done while
7736 looking at bug #128146.
7738 2003-12-01 Michael Natterer <mitch@gimp.org>
7740 * app/core/gimpimage.c: added a default implementation of
7741 GimpImage::mode_changed() which reallocates the projection.
7743 * app/core/gimpimage-convert.c (gimp_image_convert)
7744 * app/core/gimpimage-undo-push.c (undo_pop_image_type): removed
7745 explicit calls to gimp_image_projection_allocate().
7747 2003-12-01 Michael Natterer <mitch@gimp.org>
7749 * app/core/gimpimage-flip.c (gimp_image_flip): no need to
7750 reallocate the image's projection (the image size doesn't change
7753 2003-12-01 Sven Neumann <sven@gimp.org>
7755 * app/widgets/gimpcolormapeditor.c (gimp_colormap_adjustment_changed):
7756 quick fix for bug #128285. This widget should be redone.
7758 2003-11-30 Sven Neumann <sven@gimp.org>
7760 * app/main.c: renamed remaining occurences of "use_mmx" to
7763 * app/paint-funcs/paint-funcs.[ch]: removed unused "use_mmx"
7766 * app/base/base.c: changed accordingly.
7768 * docs/gimp-1.3.1.in: documented the changed command-line option.
7770 2003-11-30 Helvetix Victorinox <helvetix@gimp.org>
7772 * configure.in: backed out inadvertant changes.
7774 * app/composite/gimp-composite.c:
7775 * app/composite/gimp-composite.h:
7779 Changed the existing command line option, --no-mmx to
7780 --no-cpu-accel and propogated the changes necessary to use that
7781 flag to turn OFF the use of CPU extensions using only the generic
7782 implementations in app/composite/gimp-composite-generic.c
7784 Nota Bene: All of the previous gimp 1.2 code is still available
7785 and is is enabled by setting the GIMP_COMPOSITE environment
7786 variable to zero (GIMP_COMPOSITE=0x0). This causes only the 1.2
7787 code to be used and is helpful for regression testing of the newer
7788 gimp-composite code. Whether using the new code, or the old code
7789 there should be absolutely no visible differences.
7791 The newly renamed option --no-cpu-accel retains its previous
7792 semantic meaning with the old 1.2 code--turning OFF MMX
7795 2003-11-30 Sven Neumann <sven@gimp.org>
7797 * app/batch.c: removed the hack that used to call gimp_exit() when
7798 the batch command matches "(gimp-quit 0)". It shouldn't be needed.
7800 * tools/pdbgen/pdb/misc.pdb
7801 * app/core/gimp.[ch]
7802 * app/gui/gui.c: renamed "kill_it" parameter to "force". We don't
7803 kill the application any longer; this option is just about whether
7804 to ask the user for confirmation or not.
7806 * app/pdb/misc_cmds.c: regenerated.
7808 * app/app_procs.c: cosmetics.
7810 2003-11-30 Sven Neumann <sven@gimp.org>
7812 * app/batch.[ch]: renamed batch_init() to batch_run(). Install an
7813 Gimp::exit handler while batch commands are executed. This handler
7814 simply calls exit(). Fixes bug #128199.
7816 * app/app_procs.c: changed accordingly. Removed remaining global
7819 2003-11-30 Michael Natterer <mitch@gimp.org>
7821 * app/paint/gimp-paint.c (gimp_paint_init): reordered
7822 GimpDodgeBurn to the end of the paint info list so the paint tool
7823 menu in the stroke dialog has same order as the paint tools in the
7826 2003-11-29 Sven Neumann <sven@gimp.org>
7828 * app/config/gimpguiconfig.c: set the default window type hint for
7831 * plug-ins/sel2path/sel2path_adv_dialog.c: set the number of
7832 digits to the same value for all spinbuttons.
7834 2003-11-29 Sven Neumann <sven@gimp.org>
7836 * plug-ins/common/AlienMap.c
7837 * plug-ins/common/AlienMap2.c: fix it properly. There's really no
7838 need to pass the same pointer twice.
7840 2003-11-29 Maurits Rijk <m.rijk@chello.nl>
7842 * plug-ins/common/AlienMap.c:
7843 * plug-ins/common/AlienMap2.c: added missing parameter to
7844 dialog_response callback.
7846 * plug-ins/common/blur.c
7847 * plug-ins/common/randomize.c
7848 * plug-ins/FractalExplorer/Dialogs.c: fixes #124476 (Remove
7849 non-existent URL's and e-mail addresses).
7851 2003-11-28 Manish Singh <yosh@gimp.org>
7853 * plug-ins/pygimp/plug-ins/Makefile.am
7854 * plug-ins/pygimp/plug-ins/py-slice.py: Added py-slice, a python
7855 version of perlotine.
7857 2003-11-28 Sven Neumann <sven@gimp.org>
7859 * plug-ins/common/gifload.c: applied a patch from Adam D. Moss
7860 that does some minor message cleanups (bug #128061).
7862 2003-11-27 Dave Neary <bolsh@gimp.org>
7864 * autogen.sh: Return error code to controlling environment if one of
7865 the commands we run fails. Makes autogen.sh && make work.
7867 2003-11-27 Michael Natterer <mitch@gimp.org>
7869 * plug-ins/common/ps.c (create_new_image): don't add the page
7870 number to the filename of the image corresponsing to the
7871 postscript file's first page. Enables thumbnail generation
7874 Indented function prototypes.
7876 * app/file/file-open.c (file_open_with_proc_and_display): create a
7877 thumbnail of the opened image only if the image's uri matches the
7880 2003-11-27 Michael Natterer <mitch@gimp.org>
7882 * plug-ins/common/animationplay.c (is_ms_tag): more
7883 s/toupper/g_ascii_toupper/.
7885 * plug-ins/common/gee_zoom.c: #include <stdlib.h> for abs().
7887 2003-11-26 Dave Neary <bolsh@gimp.org>
7889 * plug-ins/common/animoptimize.c: Quieten a couple of harmless
7890 warnings. See bug #66367.
7892 2003-11-26 Sven Neumann <sven@gimp.org>
7894 * plug-ins/common/svg.c (load_set_size_callback): fixed SVG import
7895 preview for portrait SVG images.
7897 2003-11-26 Sven Neumann <sven@gimp.org>
7899 * plug-ins/common/animationplay.c
7900 * plug-ins/common/animoptimize.c
7901 * plug-ins/common/gif.c
7902 * plug-ins/common/gih.c
7903 * plug-ins/common/pnm.c
7904 * plug-ins/common/xbm.c
7905 * plug-ins/flame/libifs.c
7906 * plug-ins/print/print.c
7907 * plug-ins/script-fu/siod/slib.c
7908 * plug-ins/script-fu/siod/sliba.c: don't include ctype.h, use
7909 g_ascii_* functions from GLib instead.
7911 * plug-ins/common/film.c
7912 * plug-ins/common/gbr.c
7913 * plug-ins/common/gee.c
7914 * plug-ins/common/gee_zoom.c
7915 * plug-ins/common/gicon.c
7916 * plug-ins/common/gifload.c
7917 * plug-ins/common/hrz.c
7918 * plug-ins/common/pat.c
7919 * plug-ins/script-fu/script-fu-server.c
7920 * plug-ins/twain/twain.c
7921 * plug-ins/winsnap/winsnap.c: removed unused includes (mainly
7924 2003-11-26 Michael Natterer <mitch@gimp.org>
7926 * plug-ins/sel2path/sel2path.c (sel2path_response):
7927 gtk_widget_destroy() the dialog, not some NULL data pointer.
7929 2003-11-26 Michael Natterer <mitch@gimp.org>
7932 * plug-ins/script-fu/siod/Makefile.am
7933 * plug-ins/script-fu/siod/.cvsignore
7934 * plug-ins/script-fu/siod/regex.c
7935 * plug-ins/script-fu/siod/slib.c
7936 * plug-ins/script-fu/siod/sliba.c
7937 * plug-ins/script-fu/siod/trace.c
7938 * plug-ins/script-fu/siod/siod.h
7939 * plug-ins/script-fu/siod/siodp.h: added new directory for siod.
7941 * plug-ins/script-fu/Makefile.am
7942 * plug-ins/script-fu/interp_regex.c
7943 * plug-ins/script-fu/interp_slib.c
7944 * plug-ins/script-fu/interp_sliba.c
7945 * plug-ins/script-fu/interp_trace.c
7946 * plug-ins/script-fu/siod.h
7947 * plug-ins/script-fu/siodp.h: removed siod from here.
7949 * plug-ins/script-fu/script-fu-scripts.[ch]
7950 * plug-ins/script-fu/script-fu.c
7951 * plug-ins/script-fu/siod-wrapper.c
7952 * tools/pdbgen/enumcode.pl: changed #includes accordingly.
7954 * plug-ins/script-fu/script-fu-constants.c: regenerated.
7956 * plug-ins/script-fu/script-fu-scripts.c (script_fu_error_msg):
7957 use siod-wrapper.c siod_get_error_msg() instead of accessing
7958 siod's global siod_err_msg variable directly.
7960 2003-11-26 Sven Neumann <sven@gimp.org>
7962 * libgimpthumb/Makefile.am
7963 * libgimpthumb/gimpthumb-enums.h
7964 * libgimpthumb/gimpthumb-utils.[ch]
7965 * libgimpthumb/gimpthumbnail.[ch]: more changes, still unfinished.
7967 2003-11-26 Michael Natterer <mitch@gimp.org>
7969 * app/core/core-enums.[ch]: eek, it should be
7970 GIMP_ADD_ALPHA_TRANSFER_MASK, not GIMP_ADD_ALPHA_MASK_TRANSFER.
7972 * app/core/gimplayer.c (gimp_layer_create_mask): changed accordingly.
7974 * app/pdb/layer_cmds.c
7975 * libgimp/gimpenums.h
7976 * plug-ins/pygimp/gimpenums.py
7977 * plug-ins/script-fu/script-fu-constants.c
7978 * tools/pdbgen/enums.pl: regenerated.
7980 2003-11-26 Michael Natterer <mitch@gimp.org>
7982 * app/core/core-enums.[ch]: added enum values
7983 GIMP_ADD_ALPHA_MASK_TRANSFER and GIMP_UNDO_GROUP_LAYER_ADD_MASK.
7985 * app/core/gimplayer.c (gimp_layer_create_mask): applied patch
7986 from Pedro Gimeno which implements the new ADD_MASK type and
7987 added undo. Fixes bug #127930.
7989 * app/gui/layers-commands.c: push an undo group around layer mask
7990 creation & adding since the creation may change the layer now.
7992 * app/pdb/layer_cmds.c
7993 * libgimp/gimpenums.h
7994 * plug-ins/pygimp/gimpenums.py
7995 * plug-ins/script-fu/script-fu-constants.c
7996 * tools/pdbgen/enums.pl: regenerated.
7998 2003-11-26 Sven Neumann <sven@gimp.org>
8000 * libgimpthumb/gimpthumb-utils.[ch]
8001 * libgimpthumb/gimpthumbnail.[ch]: added save functionality. Still
8004 2003-11-26 Sven Neumann <sven@gimp.org>
8008 * gimpthumb-1.3.pc.in
8009 * libgimpthumb/Makefile.am
8010 * libgimpthumb/gimpthumb-enums.h
8011 * libgimpthumb/gimpthumb-types.h
8012 * libgimpthumb/gimpthumb.def
8013 * libgimpthumb/gimpthumb.h
8014 * libgimpthumb/gimpthumb-utils.[ch]
8015 * libgimpthumb/gimpthumbnail.[ch]: added a first draft of
8016 libgimpthumb. The API isn't final and the implementation is
8017 incomplete. It compiles but don't attempt to use it yet.
8019 2003-11-25 Sven Neumann <sven@gimp.org>
8021 * libgimpbase/gimplimits.h: added GIMP_MAX_MEMSIZE, an arbitrary
8022 upper limit for memory sizes. It must be smaller than G_MAXDOUBLE
8023 since our memsize entry doesn't handle anything larger.
8025 * app/widgets/gimppropwidgets.c (gimp_prop_memsize_entry_new):
8026 check against GIMP_MAX_MEMSIZE, not G_MAXDOUBLE.
8028 * app/config/gimpbaseconfig.c
8029 * app/config/gimpcoreconfig.c
8030 * app/config/gimpguiconfig.c: use GIMP_MAX_MEMSIZE instead of
8031 G_MAXULONG. The latter is larger than G_MAXDOUBLE on 64bit
8032 machines and caused bug #127908.
8034 * libgimpwidgets/gimpmemsizeentry.c: added casts to guint64.
8036 2003-11-25 Sven Neumann <sven@gimp.org>
8038 * plug-ins/script-fu/interp_md5.[ch]: removed these unused files
8041 2003-11-25 Sven Neumann <sven@gimp.org>
8043 * app/paint/gimppaintcore.c (gimp_paint_core_scale_mask):
8044 invalidate the solid brush cache as well. Should fix #127681.
8046 2003-11-25 Michael Natterer <mitch@gimp.org>
8048 * app/core/core-enums.[ch]: added GIMP_UNDO_EVENT_UNDO_FREEZE
8049 and GIMP_UNDO_EVENT_UNDO_THAW.
8051 * app/core/gimpimage.c: emit undo events in
8052 gimp_image_undo_freeze() and gimp_image_undo_thaw().
8054 * app/widgets/gimpundoeditor.c: made it aware of FREEZE/THAW signals
8055 and robust against evil stuff like freezing/thawing the undo
8056 in the middle of an open undo group. Fixes bug #124421.
8058 * plug-ins/script-fu/scripts/circuit.scm: push and undo group
8059 instead of disabling/enabling undo.
8061 2003-11-25 Sven Neumann <sven@gimp.org>
8063 * app/gui/dialogs.c (toplevel_entries): remember the size of the
8064 levels tool dialog. Fixes bug #127896.
8066 2003-11-25 Sven Neumann <sven@gimp.org>
8068 * configure.in: applied a patch from Adrian Bunk that changes the
8069 function to look for when checking for lcms (bug #127893). Also
8070 added a warning when lcms is not found.
8072 2003-11-25 Sven Neumann <sven@gimp.org>
8074 * plug-ins/bmp/bmp.[ch]
8075 * plug-ins/bmp/bmpread.c
8076 * plug-ins/bmp/bmpwrite.c: some code cleanup (what a mess...).
8078 2003-11-25 Michael Natterer <mitch@gimp.org>
8080 * app/core/gimpobject.[ch]: removed gimp_g_object_get_memsize()...
8082 * app/core/gimp-utils.[ch]: ...and added it here along with
8083 some other memsize utilities for GHashTables and G(S)Lists.
8086 * app/core/gimpimage.c
8087 * app/core/gimpparasitelist.c
8088 * app/core/gimpviewable.c
8089 * app/vectors/gimpstroke.c (GimpObject::get_memsize): use the new
8092 2003-11-25 Dave Neary <bolsh@gimp.org>
8094 * libgimp/Makefile.am: Applied patch from deaddog@deaddog.org
8095 (Abel Cheung) to make sure dependencies are built before we build
8096 libgimp and libgimpui. Fixes bug #127863.
8098 2003-11-25 Maurits Rijk <m.rijk@chello.nl>
8100 * plug-ins/bmp/bmpread.c: fix for #126366 (bmp - wrong colors loaded)
8102 2003-11-25 Raphaƫl Quinet <quinet@gamers.org>
8104 * NEWS: Improved the spelling of my name (missing accents) and
8105 added a mention about animoptimize in the last release.
8107 2003-11-24 Helvetix Victorinox <helvetix@gimp.org>
8109 * app/composite/gimp-composite-generic.c: Repaired an oversight on
8110 the application of hue/color/saturation/value on non-rgb images.
8113 2003-11-24 Sven Neumann <sven@gimp.org>
8115 * configure.in: (hopefully) fixed the check for the symbol prefix.
8117 2003-11-24 Ville PƤtsi <drc@gimp.org>
8119 * gimp.spec.in: Fixed path creation typo.
8121 2003-11-24 Sven Neumann <sven@gimp.org>
8123 * app/display/gimpdisplayshell.c (gimp_display_shell_destroy):
8124 set filter_idle_id to 0, not NULL.
8126 2003-11-24 Michael Natterer <mitch@gimp.org>
8128 Fixed intra-session position management for file dialogs and newly
8131 * app/widgets/gimpdockable.c (gimp_dockable_detach)
8132 * app/gui/file-dialog-utils.c (file_dialog_new): don't call
8133 gtk_window_set_position() on session managed dialogs and docks.
8135 * app/widgets/gimpdialogfactory.c (gimp_dialog_factory_add_dialog):
8136 make sure new docks get GDK_HINT_USER_POS set so they remember
8137 their positions across hide/show.
8139 * app/widgets/gimpdock.c: removed unused disabled code.
8141 2003-11-24 Sven Neumann <sven@gimp.org>
8143 * Made 1.3.23 release.
8145 2003-11-24 Michael Natterer <mitch@gimp.org>
8147 * app/display/gimpdisplayshell-layer-select.c
8148 * app/widgets/gimptoolbox-indicator-area.c: use
8149 gimp_preview_new_by_types() instead of just gimp_preview_new() so
8150 the new preview code remembers the correct GType.
8152 2003-11-24 Ville PƤtsi <drc@gimp.org>
8154 * gimp.spec.in: Added depedency for lcms
8156 2003-11-23 Sven Neumann <sven@gimp.org>
8158 * libgimpwidgets/gimpwidgets.def: symbols changes by a patch from
8161 2003-11-23 Sven Neumann <sven@gimp.org>
8163 * libgimpbase/gimpdatafiles.[ch]
8164 * libgimpbase/gimpenv.[ch]
8165 * libgimpbase/gimputils.c
8166 * libgimpmodule/gimpmodule.[ch]
8167 * libgimpmodule/gimpmoduledb.[ch]
8168 * libgimpwidgets/gimpcolordisplay.[ch]
8169 * libgimpwidgets/gimpcolordisplaystack.[ch]
8170 * libgimpwidgets/gimpcolorselection.[ch]
8171 * libgimpwidgets/gimpcolorselector.[ch]: use proper LibGIMP headers.
8173 2003-11-23 Sven Neumann <sven@gimp.org>
8175 * libgimpwidgets/gimpcolordisplay.[ch]: made "enabled" an object
8176 property and removed the "enabled_changed" signal.
8178 * libgimpwidgets/gimpcolordisplaystack.c
8179 * app/widgets/gimpcolordisplayeditor.c: connect to "notify::enabled"
8182 * libgimpwidgets/gimpwidgets.def: added new symbols.
8184 2003-11-23 Michael Natterer <mitch@gimp.org>
8186 * libgimpwidgets/gimpcolordisplay.[ch]: added new signal
8187 "enabled_changed"...
8189 * libgimpwidgets/gimpcolordisplaystack.c: ...which enables optimizing
8190 away "changed" signals of disabled filters.
8192 * app/widgets/gimpcolordisplayeditor.c: connect to "enabled_changed"
8193 instead of "changed" to update the toggle column.
8195 2003-11-23 Michael Natterer <mitch@gimp.org>
8197 * libgimpwidgets/gimpcolordisplay.c (gimp_color_display_clone):
8198 also clone the "enabled" property.
8200 * app/widgets/gimpcolordisplayeditor.c
8201 (gimp_color_display_editor_init): put the "enabled" toggle
8202 renderer to its own column so selecting a row doesn't always
8205 2003-11-23 Raphaƫl Quinet <quinet@gamers.org>
8207 * plug-ins/common/animoptimize.c: Allow the plug-in to register
8208 itself twice: once for the old mode (difference only) and once for
8209 the new mode that improves the 'combine' frames by trying to
8210 maximize the number of adjacent pixels of the same color. This
8211 gives a better compression for GIF, MNG and other formats that
8212 work on a line-by-line basis (bug #66367).
8214 2003-11-22 Henrik Brix Andersen <brix@gimp.org>
8216 * gimp/app/core/gimpimage-snap.c: behave correctly for grid
8217 spacing of 1px, whitespace clean up. Fixes the grid part of bug
8220 2003-11-23 Michael Natterer <mitch@gimp.org>
8222 * libgimpwidgets/gimpcolordisplay.[ch]: added API to
8223 enable/disable a filter. A disabled filter has no effect.
8225 * libgimpmodule/gimpmodule.h: incremented GIMP_MODULE_ABI_VERSION.
8227 * app/widgets/gimpcolordisplayeditor.c: added a check column to
8228 the "Active Filters" tree view so the effect of all filters can
8229 quickly be toggled. Cleanup.
8231 * modules/cdisplay_colorblind.c: removed "none" from the enum and
8232 from the GUI because disabling a filter is implemented generically
8235 * modules/cdisplay_colorblind.c
8236 * modules/cdisplay_gamma.c
8237 * modules/cdisplay_highcontrast.c
8238 * modules/cdisplay_proof.c: added mnemonics, cleanup.
8240 2003-11-22 Michael Natterer <mitch@gimp.org>
8242 * libgimpwidgets/gimpwidgetsmarshal.list
8243 * libgimpwidgets/gimpcolordisplaystack.[ch]: added signals
8244 ::added(), ::removed() and ::reordered() and emit them in the
8247 * app/widgets/Makefile.am
8248 * app/widgets/widgets-types.h
8249 * app/widgets/gimpcolordisplayeditor.[ch]: new widget implementing
8250 an editable view on a GimpColorDisplayStack. Most code taken from
8253 * app/display/gimpdisplayshell-filter-dialog.c: ...and removed
8254 here. Only creates a GimpDialog around a GimpColorDisplayEditor
8257 2003-11-22 Sven Neumann <sven@gimp.org>
8259 * app/paint-funcs/paint-funcs.c (color_erase_inten_pixels): handle
8260 grayscale buffers (bug #127666).
8262 2003-11-22 Sven Neumann <sven@gimp.org>
8264 Fixed some selection editor problems (bug #127644):
8266 * plug-ins/sel2path/sel2path.c: use the given image_ID, ignore the
8267 drawable_ID. This plug-in doesn't operate on a drawable at all.
8269 * plug-ins/imagemap/imap_main.c: pass a valid image_ID to sel2path.
8271 * app/gui/vectors-commands.c: don't attempt to create a valid
8272 drawable_ID for the call to sel2path since it isn't used anyway.
8274 * app/core/gimpdrawable-stroke.c (gimp_drawable_stroke_boundary):
8275 just return when being called with an empty boundary.
8277 2003-11-22 Sven Neumann <sven@gimp.org>
8279 * libgimpwidgets/gimpwidgets.def: added symbols for
8280 GimpColorDisplayStack.
8282 2003-11-22 Sven Neumann <sven@gimp.org>
8284 * app/widgets/gimpdnd.c (gimp_dnd_get_file_data): when constructing
8285 an URI list, don't add a newline character after the last item.
8287 2003-11-22 Sven Neumann <sven@gimp.org>
8289 * app/gui/preferences-dialog.c: let the templates editor expand.
8291 2003-11-21 Michael Natterer <mitch@gimp.org>
8293 * libgimpwidgets/gimpcolordisplaystack.h: forgot to declare
8294 gimp_color_display_stack_clone().
8296 * app/display/gimpdisplayshell.[ch]: replaced the GList of
8297 GimpColorDisplays by a single GimpColorDisplayStack.
8299 * app/display/gimpdisplayshell-render.c
8300 (gimp_display_shell_render): changed accordingly.
8302 * app/display/gimpdisplayshell-filter.[ch]: reduced API to a
8303 single function, gimp_display_shell_filter_set(), which exchanges
8304 the whole filter stack. Idle update the display on
8305 GimpColorDisplayStack::update().
8307 * app/display/gimpdisplayshell-filter-dialog.[ch]: changed
8308 accordingly. Return the created dialog instead of assigning
8309 shell->filters_dialog.
8311 * app/gui/view-commands.c (view_display_filters_cmd_callback): set
8312 shell->filters_dialog here and raise it it if already
8313 exists. Don't use the dialog factory to create it because it's a
8314 transient dialog for the display which does not need to be session
8317 * app/gui/dialogs-constructors.[ch]
8318 * app/gui/dialogs.c: removed display filter dialog stuff.
8320 2003-11-21 Michael Natterer <mitch@gimp.org>
8322 * libgimpwidgets/Makefile.am
8323 * libgimpwidgets/gimpwidgets.h
8324 * libgimpwidgets/gimpwidgetstypes.h
8325 * libgimpwidgets/gimpcolordisplaystack.[ch]: new object
8326 GimpColorDisplayStack which manages a list of GimpColorDisplays.
8327 (unfinished, just for others to look at).
8329 2003-11-21 Sven Neumann <sven@gimp.org>
8331 * libgimpwidgets/makefile.msc: s/gimpfileselection/gimpfileentry/
8333 2003-11-21 Sven Neumann <sven@gimp.org>
8335 * modules/cdisplay_proof.c: use a table to align the widgets.
8337 2003-11-21 Sven Neumann <sven@gimp.org>
8339 * app/display/gimpdisplayshell-filter-dialog.c: create the Display
8340 Filter dialog transient for the display shell and destroy it with
8343 2003-11-21 Henrik Brix Andersen <brix@gimp.org>
8345 * app/widgets/gimphelp-ids.h
8346 * app/gui/preferences-dialog.c: changed "Window Manager" to
8347 "Window Management" and "Decorations" to "Window Type Hints"
8349 * themes/Default/images/preferences/window-manager.png: removed...
8351 * themes/Default/images/preferences/Makefile.am
8352 * themes/Default/images/preferences/window-management.png: ... and
8353 added under a new name.
8355 2003-11-21 Sven Neumann <sven@gimp.org>
8357 * configure.in: if lcms.h cannot be found, try lcms/lcms.h.
8359 * modules/cdisplay_proof.c: changed accordingly.
8361 2003-11-21 Jakub Steiner <jimmac@ximian.com>
8363 * themes/Default/images/preferences/window-manager.png: use
8366 2003-11-21 Sven Neumann <sven@gimp.org>
8368 * modules/cdisplay_colorblind.c:
8369 * modules/cdisplay_gamma.c:
8370 * modules/cdisplay_high_contrast.c: minor cleanup.
8372 2003-11-21 Michael Natterer <mitch@gimp.org>
8374 * modules/cdisplay_proof.c: GimpFileSelection -> GimpFileEntry,
8377 2003-11-21 Michael Natterer <mitch@gimp.org>
8379 * libgimpwidgets/gimpfileselection.[ch]: removed...
8381 * libgimpwidgets/gimpfileentry.[ch]: ...and added under a new name.
8383 * libgimpwidgets/Makefile.am
8384 * libgimpwidgets/gimpwidgets.h
8385 * libgimpwidgets/gimpwidgetstypes.h
8386 * libgimpwidgets/gimppatheditor.[ch]
8387 * app/widgets/gimppropwidgets.c
8388 * plug-ins/script-fu/script-fu-scripts.c: changed accordingly.
8390 * libgimp/gimpcompat.h: added compat #defines.
8392 2003-11-21 Sven Neumann <sven@gimp.org>
8394 * configure.in: added a check for little cms.
8396 * modules/Makefile.am
8397 * modules/cdisplay_proof.c: added a color proof display filter
8398 module contributed by Banlu Kemiyatorn <id@project-ile.net>.
8400 2003-11-21 Michael Natterer <mitch@gimp.org>
8402 * app/widgets/gimptoolbox.c: added #defines for the data keys used
8403 for g_object_set_data() and _get_data().
8405 2003-11-21 Michael Natterer <mitch@gimp.org>
8407 * libgimpwidgets/gimpdialog.c: added a "role" property.
8409 * app/widgets/gimptexteditor.c
8410 * app/widgets/gimpviewabledialog.c: use it instead of calling
8411 gtk_window_set_role().
8413 2003-11-21 Michael Natterer <mitch@gimp.org>
8415 * app/plug-in/plug-ins.c (plug_ins_help_domains): argh, need to
8416 assign strings to (*array_retloc)[i], not just *array_retloc[i].
8417 Fixes passing of the list of help domains to the help browser.
8419 2003-11-20 Henrik Brix Andersen <brix@gimp.org>
8421 * app/gui/preferences-dialog.c
8422 * app/widgets/gimphelp-ids.h: Added Window Manager tab exposing
8423 the window manager hint settings to the user, moved the
8424 activate-on-focus setting to this tab as well.
8426 * themes/Default/images/preferences/window-manager.png
8427 * themes/Default/images/preferences/Makefile.am: added empty
8428 placeholder for Window Manager preferences icon.
8430 2003-11-20 Sven Neumann <sven@gimp.org>
8432 * app/widgets/gimpdock.c: reverted a small part of my last commit.
8433 It doesn't seem to be a good idea to unref the context in dispose().
8434 Do it in destroy() just like we used to do.
8436 2003-11-20 Sven Neumann <sven@gimp.org>
8438 * app/gui/info-dialog.c (info_dialog_new_extended)
8439 * app/widgets/gimptooldialog.c (gimp_tool_dialog_new): don't set
8440 the utility window type hint on info and tool dialogs. These are
8441 not persistent utility windows. See bug #115092.
8443 2003-11-20 Sven Neumann <sven@gimp.org>
8445 * app/widgets/widgets-enums.[ch]: added GimpWindowTypeHint enum.
8447 * app/widgets/gimpwidgets-utils.{ch]: added a utility function
8448 that translates GimpWindowTypeHint to GdkWindowTypeHint.
8450 * app/config/gimpguiconfig.[ch]
8451 * app/config/gimprc-blurbs.h: added two new gimprc options that
8452 allow to configure which window type hint to set on the toolbox
8453 and on dock windows.
8455 * app/widgets/gimpdock.[ch}: use the window type hint from gimprc.
8456 Introduced construct properties and got rid of gimp_dock_construct().
8458 * app/widgets/gimpimagedock.c
8459 * app/widgets/gimptoolbox.c: changed accordingly.
8461 * app/gui/preferences-dialog.c (prefs_dialog_new): let the Themes
8464 2003-11-20 Michael Natterer <mitch@gimp.org>
8466 * app/display/gimpdisplay.c (gimp_display_paint_area): when
8467 exposing the display, transform the update area using sub-pixel
8468 accuracy and floor()/ceil() the resulting area to make sure we
8469 always expose a *super*set of the dirtied area. Makes the code
8470 robust against sub-pixel differences between coordinate
8471 transformation and display scaling. Fixes bug #126942.
8473 2003-11-20 Sven Neumann <sven@gimp.org>
8475 * app/config/gimpdisplayconfig.[ch]
8476 * app/config/gimprc-blurbs.h: added a new gimprc option
8477 "activate-on-focus" that allows to configure GIMP to activate an
8478 image when the image window receives the focus. Useful for window
8479 managers using click-to-focus. Defaults to TRUE on OS_WIN32.
8481 * app/display/gimpdisplayshell-callbacks.c
8482 * app/display/gimpdisplayshell.c: implemented the new behaviour.
8485 2003-11-20 Michael Natterer <mitch@gimp.org>
8487 * app/widgets/gimpdnd.[ch]: changed drag source stuff to allow
8488 multiple data types. Changed DND source API to speak in terms of
8489 add()/remove() instead of set()/unset(). Added GimpDndDragFileFunc
8490 typedef and gimp_dnd_file_source_add().
8492 Unfortunately GTK+'s DND API lacks symmetry here (no GtkTargetList
8493 based API for drag sources), so we cannot really change drag
8494 sources on-the-fly and need to set GtkTargetEntry arrays manually.
8496 * app/widgets/gimpcolormapeditor.c
8497 * app/widgets/gimpcontainertreeview.c
8498 * app/widgets/gimpmenuitem.c
8499 * app/widgets/gimppaletteeditor.c
8500 * app/widgets/gimppreview.c
8501 * app/widgets/gimptoolbox-color-area.c: changed accordingly.
8503 * app/widgets/gimpdocumentview.c: ditto. Additionally offer
8504 "text/uri-list" so it's possible to drag images from the document
8505 history to the file manager or browser.
8507 2003-11-20 Michael Natterer <mitch@gimp.org>
8509 * app/widgets/gimpdnd.c: cleanup before doing real changes.
8511 2003-11-19 Manish Singh <yosh@gimp.org>
8513 * app/widgets/gimpdnd.c (gimp_dnd_open_files): Display an error if we
8514 still can't convert a filename to a valid uri. Further addresses
8517 2003-11-19 Manish Singh <yosh@gimp.org>
8519 * app/widgets/gimpdnd.c (gimp_dnd_open_files): strstr on dnd_crap,
8520 not filename, since filename will be NULL in that case. Also remove
8521 doubled declaration of filename. Fixes #127424.
8523 2003-11-19 Sven Neumann <sven@gimp.org>
8525 * app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
8526 shrink to the size of the monitor, not to the size of the screen
8527 (for Xinerama setups). Fixes bug #121796.
8529 2003-11-19 Sven Neumann <sven@gimp.org>
8531 * app/widgets/gimpitemfactory.c
8532 * app/widgets/gimpwidgets-utils.[ch]: moved the
8533 gimp_menu_position() implementation that was used only from
8534 GimpItemFactory to gimpitemfactory.c. Added a new function of the
8535 same name that positions a menu taking into account the monitor
8536 geometry and the render direction.
8538 * app/widgets/gimpcontainergridview.c
8539 * app/widgets/gimpcontainertreeview.c: use gimp_menu_position().
8541 * app/widgets/gimpcontainerpopup.c
8542 * app/widgets/gimppreview-popup.c: let windows popup on the
8543 current monitor (for Xinerama setups).
8545 2003-11-19 Michael Natterer <mitch@gimp.org>
8547 * app/widgets/gimplayertreeview.c
8548 (gimp_layer_tree_view_paint_mode_menu_callback): compress
8549 successive layer mode undos just as we compress opacity undos.
8551 2003-11-19 Michael Natterer <mitch@gimp.org>
8553 * plug-ins/FractalExplorer/Dialogs.c
8554 * plug-ins/common/CEL.c
8555 * plug-ins/common/CML_explorer.c
8556 * plug-ins/common/curve_bend.c
8557 * plug-ins/common/gqbist.c
8558 * plug-ins/common/spheredesigner.c
8559 * plug-ins/flame/flame.c
8560 * plug-ins/gfig/gfig.c
8561 * plug-ins/gimpressionist/brush.c
8562 * plug-ins/ifscompose/ifscompose.c
8563 * plug-ins/imagemap/imap_browse.c
8564 * plug-ins/imagemap/imap_file.c: GtkFileSelection cleanup:
8565 connect to "response" instead of accessing the "ok_button"
8566 and "cancel_button" members.
8568 2003-11-19 Michael Natterer <mitch@gimp.org>
8570 * libgimpwidgets/gimpwidgetstypes.h: renamed "data" parameter
8571 of GimpHelpFunc to "help_data".
8573 * libgimpwidgets/gimphelpui.c: cleanup. API doc fixes.
8575 2003-11-19 Sven Neumann <sven@gimp.org>
8577 * app/core/gimpcontext.c (gimp_context_finalize): don't disconnect
8578 gimp_context_parent_notify() here. The signal will be disconnected
8579 automatically anyway.
8581 2003-11-19 Sven Neumann <sven@gimp.org>
8583 * app/app_procs.c (app_run): register a log handler for the
8584 "Gimp-Vectors" domain.
8586 * app/gui/stroke-dialog.c (stroke_dialog_new): attach the saved
8587 options to its parent, the user context, not to the gimp.
8589 2003-11-18 Sven Neumann <sven@gimp.org>
8591 * libgimpmodule/gimpmodule.c (gimp_module_open): don't do lazy
8592 binding on GIMP modules. We can't recover from missing symbols
8595 * libgimpwidgets/gimpquerybox.[ch]: renamed "help_page" parameter
8596 to "help_id" and changed the docs accordingly.
8598 * libgimpwidgets/gimpcolordisplay.[ch]
8599 * libgimpwidgets/gimpcolorselector.[ch]: renamed the "help_page"
8600 struct members of GimpColorDisplay and GimpColorSelector to
8603 * app/gui/color-notebook.c
8604 * app/widgets/gimpcoloreditor.c
8605 * libgimpwidgets/gimpcolorbutton.c
8606 * libgimpwidgets/gimpcolornotebook.c
8607 * libgimpwidgets/gimpcolorscales.c
8608 * libgimpwidgets/gimpcolorselect.c
8609 * modules/*.c: changed accordingly. Specify a help id instead of
8612 2003-11-18 Sven Neumann <sven@gimp.org>
8614 * plug-ins/common/png.c (load_image): inform the user when a PNG
8615 file specifies an offset that causes the layer to be positioned
8616 outside the image area. Fixes "bug" #127307.
8618 2003-11-18 Michael Natterer <mitch@gimp.org>
8620 * app/base/colorize.[ch]: changed the range of the "lightness"
8621 parameter to [-100..+100], where -100 results in pure black and
8622 +100 in pure white. Default to lightness == 0 so the initial
8623 transform changes just the colors while keeping the original
8626 * app/tools/gimpcolorizetool.[ch]: changed accordingly. Reordered
8627 the scales to be in HSL order.
8629 2003-11-18 Michael Natterer <mitch@gimp.org>
8631 * app/widgets/gimpcontainerpopup.[ch]
8632 * app/widgets/gimpviewablebutton.[ch]: let the button remember
8633 the popup's preview_size and view_type.
8635 2003-11-18 Michael Natterer <mitch@gimp.org>
8637 * app/widgets/gimpdialogfactory.[ch]
8638 (gimp_dialog_factory_dialog_raise): support '|'-separated lists of
8639 dialog identifiers and raise any of them if it is already open, or
8640 the first dialog in the list otherwise.
8642 * app/gui/dialogs-commands.c (dialogs_create_dockable_cmd_callback):
8643 removed the same functionality here.
8645 * app/gui/edit-commands.c
8646 * app/tools/gimppaintoptions-gui.c
8647 * app/tools/gimptextoptions.c
8648 * app/widgets/gimpdevicestatus.c
8649 * app/widgets/gimptoolbox-indicator-area.c: pass lists of dialog
8650 identifiers to gimp_dialog_factory_dialog_raise().
8652 2003-11-18 Michael Natterer <mitch@gimp.org>
8654 * app/core/gimpselection.c (gimp_selection_class_init): use
8655 GIMP_STOCK_SELECTION as the viewable class' default stock ID.
8657 * app/widgets/gimpselectioneditor.c (gimp_selection_editor_init):
8658 create the preview for GIMP_TYPE_SELECTION, not just
8659 GIMP_TYPE_DRAWABLE so the selection icon is used if the editor is
8662 2003-11-17 Michael Natterer <mitch@gimp.org>
8664 * app/gui/file-dialog-utils.[ch]
8665 * app/gui/file-open-dialog.c
8666 * app/gui/file-save-dialog.c
8667 * app/gui/gradients-commands.c
8668 * app/gui/vectors-commands.c
8669 * app/tools/gimpcurvestool.c
8670 * app/tools/gimplevelstool.c
8671 * app/widgets/gimperrorconsole.c
8672 * app/widgets/gimptexteditor.c
8673 * libgimpwidgets/gimpfileselection.c: don't access the "ok_button"
8674 and "cancel_button" members of GtkFileSelection. Instead, connect
8675 to GtkDialog::response(). Feels better and reduces code which
8676 depends on the to-be-deprecated GtkFileSelection. Changed border
8677 widths to match the 6px border width of other GIMP dialogs.
8678 File selections in plug-ins will follow...
8680 2003-11-17 Henrik Brix Andersen <brix@gimp.org>
8682 * plug-ins/common/color_enhance.c
8683 * plug-ins/common/c_astretch.c
8684 * plug-ins/common/gtm.c: removed potentionally offensive words +
8685 trailing whitespace. This fixes bug #125668.
8687 2003-11-17 Sven Neumann <sven@gimp.org>
8689 * libgimpcolor/gimprgb.h (GIMP_RGB_INTENSITY): removed the
8690 addition of 0.001 that isn't correct for use with integers (should
8691 be 0.5 then) and just plain wrong for use with floats/doubles.
8693 * app/base/temp-buf.c
8694 * app/core/gimpdrawable.c
8695 * app/core/gimpimage-convert.c
8696 * app/core/gimpimage.c
8697 * plug-ins/common/aa.c
8698 * plug-ins/common/engrave.c
8699 * plug-ins/common/gradmap.c
8700 * plug-ins/common/newsprint.c
8701 * plug-ins/gflare/gflare.c
8702 * plug-ins/gfli/gfli.c
8703 * plug-ins/pagecurl/pagecurl.c: add 0.5 to the result of
8704 GIMP_RGB_INTENSITY() in all places that use it with integers.
8706 2003-11-17 Michael Natterer <mitch@gimp.org>
8708 * modules/colorsel_triangle.c (colorsel_triangle_update_previews):
8709 s/INTENSITY/GIMP_RGB_INTENSITY/, removed trailing whitespace.
8711 2003-11-17 Sven Neumann <sven@gimp.org>
8713 * libgimpcolor/gimprgb.[ch]: added a GIMP_RGB prefix to the
8716 * libgimp/gimpcompat.h: document this change here.
8718 * app/base/colorize.c
8719 * app/base/temp-buf.c
8720 * app/core/gimpdrawable-blend.c
8721 * app/core/gimpdrawable.c
8722 * app/core/gimpimage-convert.c
8723 * app/core/gimpimage.c
8724 * plug-ins/common/aa.c
8725 * plug-ins/common/bumpmap.c
8726 * plug-ins/common/colorify.c
8727 * plug-ins/common/displace.c
8728 * plug-ins/common/engrave.c
8729 * plug-ins/common/gradmap.c
8730 * plug-ins/common/newsprint.c
8731 * plug-ins/common/oilify.c
8732 * plug-ins/gflare/gflare.c
8733 * plug-ins/gfli/gfli.c
8734 * plug-ins/pagecurl/pagecurl.c: changed accordingly.
8736 * libgimpcolor/gimpcolor.h: removed trailing whitespace.
8738 * app/paint-funcs/paint-funcs.c: fixed indentation.
8740 2003-11-17 Sven Neumann <sven@gimp.org>
8742 * app/core/gimpviewable.[ch]: removed the unused GimpViewable
8743 parameter from gimp_viewable_calc_preview_size().
8745 * app/core/gimpbuffer.c
8746 * app/core/gimpimage-preview.c
8747 * app/core/gimpimagefile.c
8748 * app/core/gimpitem-preview.c
8749 * app/core/gimpundo.c
8750 * app/widgets/gimppreview.c
8751 * app/widgets/gimppreviewrendererdrawable.c
8752 * app/widgets/gimppreviewrendererimage.c: changed accordingly.
8754 * app/widgets/gimppreviewrenderer.[ch]: store the viewable_type in
8755 the preview renderer and use its default stock_id if no viewable
8758 * app/core/gimpbrush.c
8759 * app/core/gimpbuffer.c
8760 * app/core/gimpgradient.c
8761 * app/core/gimppalette.c
8762 * app/core/gimppattern.c
8763 * app/core/gimpundo.c: set a default stock_id.
8765 2003-11-17 Manish Singh <yosh@gimp.org>
8767 * tools/gimp-remote.c (gimp_remote_find_window): search for the
8768 window role "gimp-toolbox", since the app sets that instead of
8771 2003-11-17 Sven Neumann <sven@gimp.org>
8773 * app/config/gimprc.c (gimp_rc_new): simplified.
8775 * app/core/gimp.c (gimp_dispose) (gimp_finalize): print messages
8778 2003-11-17 Sven Neumann <sven@gimp.org>
8780 * app/main.c: unref the gimp object after dumping the
8781 configuration as a test for Gimp::finalize.
8783 * app/base/base.[ch]: keep a reference on the config object.
8784 Renamed parameter "use_mmx" to "use_cpu_accel".
8786 * app/core/gimp.[ch]: call base_init() and base_exit() from
8787 app_procs.c, not from the Gimp object.
8789 * app/app_procs.[ch]: renamed app_init() to app_run() since here's
8790 where the main loop is run. Actually quit the main loop in
8791 app_exit_after_callback() instead of just calling exit().
8793 * app/errors.[ch]: declared fatal error handlers as G_GNUC_NORETURN.
8795 * libgimp/gimp.h: fixed usage of G_GNUC_NORETURN.
8797 2003-11-16 Henrik Brix Andersen <brix@gimp.org>
8799 * app/config/gimpguiconfig.c (DEFAULT_WEB_BROWSER): changed
8800 DEFAULT_WEB_BROWSER to "mozilla %s"
8802 * plug-ins/common/webbrowser.c (browser_open_url): quote the url
8805 2003-11-16 Michael Natterer <mitch@gimp.org>
8807 * app/main.c (main): call units_init() before gimp_config_dump().
8809 2003-11-16 Sven Neumann <sven@gimp.org>
8811 * app/plug-in/plug-ins.c: disabled debugging output.
8813 2003-11-16 Sven Neumann <sven@gimp.org>
8815 * app/gui/themes.c (themes_apply_theme): removed an unused
8816 variable and trailing whitespace.
8818 * app/widgets/gimppropwidgets.c (gimp_prop_adjustment_notify):
8819 fixed a cut'n'paste error and added a warning which would have
8822 * app/config/gimpbaseconfig.c
8823 * app/config/gimpcoreconfig.c
8824 * app/config/gimpguiconfig.c
8825 * app/config/gimppluginconfig.c: cosmetics.
8827 2003-11-16 Hans Breuer <hans@breuer.org>
8829 * **makefile.msc: updated
8831 * app/config/gimpconfig-dump.c: include gimpwin32-io.h
8833 * app/plug-in/plug-ins.c: don't depend on g_print handling %s with
8834 NULL pointers, it doesn't anymore with glib cvs at least not on
8837 * app/widgets/gimppropwidgets.c
8838 * libgimpbase/gimputils.c
8839 * libgimpwidgets/gimpmemsizeentry.c:
8840 sorry about the mess, need to work-around a stupid compiler not
8841 able to cast from guint64 to double
8843 * app/widgets/gimppropwidgets.c (gimp_prop_memsize_entry_new) :
8844 avoid 'overflow in floating-point constant arithmetic' by disabling
8845 an imho alays questionable g_return_val_if_fail() for _MSC_VER only
8847 * libgimpmodule/gimpmodule.def: sorted
8849 * libgimpwidgets/gimpfileselection.c: removed unused S_ISDIR
8852 * app/gui/themes.c: filenames in rc files need to be escaped
8854 2003-11-16 Michael Natterer <mitch@gimp.org>
8856 * app/tools/gimprectselecttool.c
8857 (gimp_rect_select_tool_button_release): remove unused variables.
8859 2003-11-16 Michael Natterer <mitch@gimp.org>
8862 * themes/Makefile.am
8863 * themes/Small/.cvsignore
8864 * themes/Small/Makefile.am
8865 * themes/Small/gtkrc: added a "Small" theme so users don't have to
8866 edit their ~/.gimp-1.3/gtkrc to get the smaller look.
8868 * app/widgets/gimpdock.c: use "gimp-dock-separator", not just
8869 "dock-separator" as widget name.
8871 * etc/gtkrc: changed accordingly. Removed small style since it is
8872 a theme now. Cleanup.
8874 2003-11-16 Sven Neumann <sven@gimp.org>
8876 * plug-ins/common/png.c: fixed the default gamma value which I
8877 broke with my recent change (see bug #120031).
8879 2003-11-16 Sven Neumann <sven@gimp.org>
8881 * app/config/gimpbaseconfig.h
8882 * app/config/gimpcoreconfig.h: use gint64 for all memsize properties.
8884 * app/base/tile-manager.[ch] (tile_manager_get_memsize): since
8885 tiles can be swapped out, a tilemanager can be larger than gsize
8886 (on 32bit platforms). Use a gint64 to avoid an overflow.
8889 * app/core/gimpbrush.c
8890 * app/core/gimpbrushpipe.c
8891 * app/core/gimpbuffer.c
8892 * app/core/gimpchannel.c
8893 * app/core/gimpcontainer.c
8894 * app/core/gimpcontext.c
8895 * app/core/gimpdata.c
8896 * app/core/gimpdatafactory.c
8897 * app/core/gimpdrawable.c
8898 * app/core/gimpgradient.c
8899 * app/core/gimpimage-undo-push.c
8900 * app/core/gimpimage-undo.[ch]
8901 * app/core/gimpimage.c
8902 * app/core/gimpitem.c
8903 * app/core/gimpitemundo.[ch]
8904 * app/core/gimplayer.c
8905 * app/core/gimplist.c
8906 * app/core/gimpobject.[ch]
8907 * app/core/gimppalette.c
8908 * app/core/gimpparasitelist.c
8909 * app/core/gimppattern.c
8910 * app/core/gimpundo.[ch]
8911 * app/core/gimpundostack.c
8912 * app/core/gimpviewable.c
8913 * app/text/gimptext.c
8914 * app/text/gimptextlayer.c
8915 * app/vectors/gimpstroke.c
8916 * app/vectors/gimpvectors.c: use gint64 for gimp_object_get_memsize()
8917 and all its implementations.
8919 * app/display/gimpdisplayshell-title.c
8920 * app/gui/info-window.c: changed accordingly.
8922 2003-11-16 Manish Singh <yosh@gimp.org>
8924 * libgimpwidgets/Makefile.am: added libgimpbase variable definition
8927 2003-11-16 Sven Neumann <sven@gimp.org>
8929 * libgimpwidgets/Makefile.am (libgimpwidgets_1_3_la_LIBADD): added
8930 libgimpbase since libgimpwidgets now depends on it.
8932 2003-11-16 Sven Neumann <sven@gimp.org>
8934 * app/core/gimpobject.[ch]: exposed gimp_object_name_free() and
8935 added documentation.
8937 * app/core/gimplist.[ch] (gimp_list_uniquefy_name): use
8938 gimp_object_name_free() when changing the object name silently.
8939 Renamed "use_set_name" parameter to "notify" and documented the
8942 2003-11-16 Sven Neumann <sven@gimp.org>
8944 * app/core/gimpobject.c: fixed a bad oversight in the
8945 implementation of normalized object names. Introduced the helper
8946 function gimp_object_name_free() that takes care of freeing
8947 the normalized name. Fixes bug #127075.
8949 2003-11-16 Michael Natterer <mitch@gimp.org>
8951 * app/gui/dialogs-constructors.c
8952 * app/gui/images-commands.[ch]
8953 * app/widgets/gimpimageview.[ch]: implemented the "Raise Displays"
8954 button's functionality. Fixes bug #127079.
8956 2003-11-15 Daniel Rogers <daniel@phasevelocity.org>
8958 * app/tools/gimpellipseselecttool.c
8959 * app/tools/gimprectselecttool.[ch]: Includes changes from Sven.
8960 Fixes a bug with alt-draging ellipse and rect selections
8961 on small pixel areas.
8963 2002-11-16 Michael Natterer <mitch@gimp.org>
8965 * libgimpbase/gimpunit.c: doc fixes.
8967 2003-11-15 Michael Natterer <mitch@gimp.org>
8970 * libgimpbase/gimpbase.def: updated for unit changes.
8972 2003-11-15 Michael Natterer <mitch@gimp.org>
8974 * libgimpbase/Makefile.am
8975 * libgimpbase/gimpbase-private.[ch]
8976 * libgimpbase/gimpunit.c: new files implementing GimpUnitVTable
8977 (formerly known as GimpWidgetsVTable). Now the unit functions
8978 finally live in the same library as their header declarations.
8980 * libgimpbase/gimpunit.h: removed comment about being a header for
8981 two different files.
8983 * libgimpwidgets/gimpwidgets-private.[ch]: removed
8986 * libgimpwidgets/gimpsizeentry.c
8987 * libgimpwidgets/gimpunitmenu.c
8988 * libgimpwidgets/gimpwidgets.c: use normal gimp_unit functions
8992 * app/gui/gui.c: removed GimpWidgetVTable stuff.
8994 * libgimp/Makefile.am
8995 * libgimp/gimpunitcache.[ch]: new files.
8997 * libgimp/gimpunit.c: removed (moved to gimpunitcache.c).
8999 * libgimp/gimp.c (gimp_main): initialize GimpUnitVTable using the
9000 gimp_unit_cache functions.
9003 * app/units.[ch]: new files implementing GimpUnitVTable.
9005 * app/libgimp_glue.[ch]: removed.
9007 * app/app_procs.[ch]: made "the_gimp" a static variable. Call
9010 * app/main.c: changed accordingly.
9012 2003-11-15 Sven Neumann <sven@gimp.org>
9015 * libgimpcolor/gimpcolor.def
9016 * libgimpwdidgets/gimpwidgets.def: updated based on a patch from
9019 2003-11-15 Sven Neumann <sven@gimp.org>
9021 * app/config/gimcoreconfig.[ch]
9022 * app/plug-in/plug-in-run.c (plug_in_run): removed references to the
9023 unused gamma value. If we ever implement proper gamma correction, we
9024 will need individual gamma values for each channel anyway.
9026 2003-11-15 Sven Neumann <sven@gimp.org>
9028 * libgimp/gimpui.c (gimp_ui_init): reverted Yosh's change and
9029 removed the call to gtk_preview_set_gamma() instead. The gamma
9030 value isn't used anywhere else so it would only be confusing to
9031 use it on plug-in previews.
9033 2003-11-15 Manish Singh <yosh@gimp.org>
9035 * libgimp/gimpui.c: and #undef GTK_DISABLE_DEPRECATED, for
9036 gtk_preview_set_gamma declaration.
9038 2003-11-15 Michael Natterer <mitch@gimp.org>
9040 * app/gui/themes.c (themes_get_theme_file): new utility function
9041 which takes a filename relative to the theme's root directory and
9042 returns the absolute path to the file in the current theme. It
9043 falls back to the resp. path in the default theme if the given
9044 file is not present in the current theme.
9046 * app/gui/preferences-dialog.c (prefs_notebook_append_page): use it.
9048 2003-11-15 Michael Natterer <mitch@gimp.org>
9050 * libgimp/gimpexport.[ch]: added new export capabilities
9051 GIMP_EXPORT_CAN_HANDLE_BITMAP and _CAN_HANDLE_LAYER_MASKS and
9052 export the image accordingly. Code cleanup.
9054 * plug-ins/common/xbm.c (run): replaced _CAN_HANDLE_INDEXED by
9055 _CAN_HANDLE_BITMAP. Fixes bug #65788.
9057 * plug-ins/common/psd_save.c (run): added export stuff so
9058 layer masks are applied before saving. Fixes bug #119732.
9060 * plug-ins/common/Makefile.am
9061 * plug-ins/common/plugin-defs.pl: link psd_save against GTK+
9064 2003-11-15 Henrik Brix Andersen <brix@gimp.org>
9066 * libgimpmath/gimpmatrix.c (gimp_matrix4_to_deg): added an inline
9067 gtk-doc stub. Someone please fill this in...
9069 * libgimpmath/gimpvector.[ch]: reordered the functions in a more
9070 logical way, touched up the inline gtk-docs
9072 2003-11-15 Sven Neumann <sven@gimp.org>
9074 * plug-ins/common/gih.c (gih_load_one_brush): add an alpha channel
9075 to grayscale layers created from brush pipes.
9077 2003-11-15 Sven Neumann <sven@gimp.org>
9079 * app/display/gimpcanvas.c (gimp_canvas_gc_new): no need to set
9080 colors on the GCs that use GDK_INVERT.
9082 * app/display/gimpdisplayshell-render.c (gimp_display_shell_render):
9085 2003-11-15 Sven Neumann <sven@gimp.org>
9087 * plug-ins/ifscompose/ifscompose.c: include <errno.h>.
9089 2003-11-15 Sven Neumann <sven@gimp.org>
9091 * libgimpwidgets/gimpunitmenu.c: include the documentation of the
9092 format string in the gtk-doc comment.
9094 2003-11-15 Michael Natterer <mitch@gimp.org>
9096 * plug-ins/FractalExplorer/Dialogs.c
9097 * plug-ins/FractalExplorer/FractalExplorer.c
9098 * plug-ins/bmp/bmpread.c
9099 * plug-ins/bmp/bmpwrite.c
9100 * plug-ins/common/CEL.c
9101 * plug-ins/common/CML_explorer.c
9102 * plug-ins/common/animoptimize.c
9103 * plug-ins/common/bz2.c
9104 * plug-ins/common/convmatrix.c
9105 * plug-ins/common/curve_bend.c
9106 * plug-ins/common/dicom.c
9107 * plug-ins/common/gauss_iir.c
9108 * plug-ins/common/gauss_rle.c
9109 * plug-ins/common/gbr.c
9110 * plug-ins/common/gif.c
9111 * plug-ins/common/gifload.c
9112 * plug-ins/common/gih.c
9113 * plug-ins/common/grid.c
9114 * plug-ins/common/gtm.c
9115 * plug-ins/common/gz.c
9116 * plug-ins/common/hrz.c
9117 * plug-ins/common/jpeg.c
9118 * plug-ins/common/mail.c
9119 * plug-ins/common/mapcolor.c
9120 * plug-ins/common/pat.c
9121 * plug-ins/common/pcx.c
9122 * plug-ins/common/pix.c
9123 * plug-ins/common/png.c
9124 * plug-ins/common/pnm.c
9125 * plug-ins/common/ps.c
9126 * plug-ins/common/psd.c
9127 * plug-ins/common/psd_save.c
9128 * plug-ins/common/psp.c
9129 * plug-ins/common/sel_gauss.c
9130 * plug-ins/common/spheredesigner.c
9131 * plug-ins/common/sunras.c
9132 * plug-ins/common/svg.c
9133 * plug-ins/common/tga.c
9134 * plug-ins/common/tiff.c
9135 * plug-ins/common/wmf.c
9136 * plug-ins/common/xbm.c
9137 * plug-ins/common/xwd.c
9138 * plug-ins/faxg3/faxg3.c
9139 * plug-ins/fits/fits.c
9140 * plug-ins/flame/flame.c
9141 * plug-ins/gfig/gfig.c
9142 * plug-ins/gflare/gflare.c
9143 * plug-ins/gfli/gfli.c
9144 * plug-ins/gimpressionist/brush.c
9145 * plug-ins/gimpressionist/ppmtool.c
9146 * plug-ins/helpbrowser/domain.c
9147 * plug-ins/ifscompose/ifscompose.c
9148 * plug-ins/sgi/sgi.c
9149 * plug-ins/twain/twain.c
9150 * plug-ins/winsnap/winsnap.c
9151 * plug-ins/xjt/xjt.c: removed explicit newlines from messages.
9152 Made file open/save messages the same all over the place. Reduced
9153 number of translatable strings by adding some more "standard"
9154 messages. Removed plug-in names from messages. Added some random
9155 mnemonics. Unmarked some strings for translation and added some
9156 that were forgotten. General message cleanup. Removed trailing
9159 2003-11-15 Sven Neumann <sven@gimp.org>
9161 * app/gui/preferences-dialog.c: readded a toggle for
9162 "confirm-on-close" that seems to have been lost some day.
9164 2003-11-15 Michael Natterer <mitch@gimp.org>
9166 * libgimpmodule/gimpmodule.c: removed newlines from messages,
9167 removed trailing whitespace.
9169 * libgimpmodule/gimpmoduledb.c: removed trailing whitespace.
9171 * libgimpwidgets/gimpcolorbutton.c: added mnemonics to the
9172 button's popup menu.
9174 * app/display/gimpdisplayshell.c (gimp_display_shell_new): added
9175 mnemonics to the padding button's additional menu items.
9177 2003-11-15 Sven Neumann <sven@gimp.org>
9180 * app/Makefile.am: moved the definition of the symbol prefix to
9181 the configure script. Set it to '_' for MacOS X and Win32.
9183 * libgimpwidgets/gimpwidgets.[ch]: removed the deprecation guards
9184 again. It doesn't make sense to deprecate these function now.
9186 2003-11-15 Michael Natterer <mitch@gimp.org>
9188 * plug-ins/common/gee.c
9189 * plug-ins/common/gee_zoom.c: use gimp_dialog_new() and connect to
9192 2003-11-15 Henrik Brix Andersen <brix@gimp.org>
9194 * plug-ins/common/screenshot.c: added an optional time out before
9195 selecting the window to be grabbed. This fixes bug #121783.
9197 2003-11-14 Manish Singh <yosh@gimp.org>
9199 * libgimpwidgets/gimpwidgets.[ch]: add
9200 gimp_int_option_menu_set_sensitive and gimp_int_radio_group_set_active,
9203 * app/gui/convert-dialog.c
9204 * app/gui/layers-commands.c
9205 * app/tools/gimpcolorbalancetool.c
9206 * app/tools/gimpcurvestool.c
9207 * app/tools/gimplevelstool.c
9208 * app/widgets/gimpcontainerpopup.c
9209 * app/widgets/gimphistogrameditor.c
9210 * app/widgets/gimppropwidgets.c
9211 * app/widgets/gimptemplateeditor.c
9212 * app/widgets/gimptexteditor.c: use them.
9214 2003-11-15 Simon Budig <simon@gimp.org>
9216 * app/tools/gimpvectoroptions.[ch]: Since GimpVectorTool is no
9217 GimpSelectionTool, it does not make sense to have
9218 GimpSelectionOptions for it.
9220 * app/tools/gimpvectoroptions.c
9221 * app/tools/gimpvectortool.c: Connect the Buttons to the
9222 Help system and make the to-selection Button modifier
9225 2003-11-14 Sven Neumann <sven@gimp.org>
9227 * libgimpwidgets/gimpwidgets.[ch]: guard old functions using
9228 GIMP_DISABLE_DEPRECATED. Added a note to the docs what functions
9229 should be used instead.
9231 2003-11-14 Manish Singh <yosh@gimp.org>
9233 * libgimpwidgets/gimpwidgets.[ch]: add gimp_int_option_menu_set_history
9234 as a wrapper for gimp_option_menu_set_history.
9236 * app/gui/brush-select.c
9237 * app/gui/resize-dialog.c
9238 * app/tools/gimpcurvestool.c
9239 * app/widgets/gimppropwidgets.c
9240 * app/widgets/gimplayertreeview.c
9241 * app/widgets/gimpcolorframe.c
9242 * libgimpwidgets/gimpmemsizeentry.c
9243 * modules/cdisplay_colorblind.c: use the above.
9245 2003-11-14 Manish Singh <yosh@gimp.org>
9247 * libgimpwidgets/gimpwidgets.[ch]: implemented gimp_int_option_menu_new
9248 and gimp_int_radio_group_new, which are the same as
9249 gimp_option_menu_new2 and gimp_radio_group_new2, but they take
9250 integers as values to map instead of gpointers, which avoids casts
9251 in pretty much all uses of it in the tree.
9253 * app/gui/image-commands.c
9254 * app/gui/offset-dialog.c
9255 * app/widgets/gimppropwidgets.c
9256 * app/widgets/gimpwidgets-constructors.c
9257 * libgimpwidgets/gimpmemsizeentry.c
9258 * modules/cdisplay_colorblind.c
9259 * plug-ins/FractalExplorer/Dialogs.c
9260 * plug-ins/Lighting/lighting_ui.c
9261 * plug-ins/MapObject/mapobject_ui.c
9262 * plug-ins/common/AlienMap.c
9263 * plug-ins/common/AlienMap2.c
9264 * plug-ins/common/CML_explorer.c
9265 * plug-ins/common/align_layers.c
9266 * plug-ins/common/blinds.c
9267 * plug-ins/common/borderaverage.c
9268 * plug-ins/common/bumpmap.c
9269 * plug-ins/common/curve_bend.c
9270 * plug-ins/common/deinterlace.c
9271 * plug-ins/common/edge.c
9272 * plug-ins/common/emboss.c
9273 * plug-ins/common/fractaltrace.c
9274 * plug-ins/common/gif.c
9275 * plug-ins/common/hot.c
9276 * plug-ins/common/iwarp.c
9277 * plug-ins/common/jigsaw.c
9278 * plug-ins/common/jpeg.c
9279 * plug-ins/common/lic.c
9280 * plug-ins/common/mail.c
9281 * plug-ins/common/max_rgb.c
9282 * plug-ins/common/mblur.c
9283 * plug-ins/common/mng.c
9284 * plug-ins/common/mosaic.c
9285 * plug-ins/common/nlfilt.c
9286 * plug-ins/common/papertile.c
9287 * plug-ins/common/pnm.c
9288 * plug-ins/common/ps.c
9289 * plug-ins/common/psp.c
9290 * plug-ins/common/ripple.c
9291 * plug-ins/common/shift.c
9292 * plug-ins/common/sinus.c
9293 * plug-ins/common/sparkle.c
9294 * plug-ins/common/struc.c
9295 * plug-ins/common/sunras.c
9296 * plug-ins/common/tiff.c
9297 * plug-ins/common/waves.c
9298 * plug-ins/common/wind.c
9299 * plug-ins/fits/fits.c
9300 * plug-ins/flame/flame.c
9301 * plug-ins/gfig/gfig.c
9302 * plug-ins/gimpressionist/color.c
9303 * plug-ins/gimpressionist/orientmap.c
9304 * plug-ins/gimpressionist/placement.c
9305 * plug-ins/maze/maze_face.c
9306 * plug-ins/sgi/sgi.c: Use gimp_int_option_menu_new and
9307 gimp_int_radio_group_new.
9309 * plug-ins/common/CML_explorer.c: make function_graph_new take a
9310 gpointer *data instead of a gpointer data, and properly pass an
9313 * plug-ins/common/mng.c: mark menu strings for translation.
9315 * plug-ins/rcm/rcm.c: remove initialization for Success member
9316 in RcmParams, since it's gone now.
9318 2003-11-14 Sven Neumann <sven@gimp.org>
9320 * app/widgets/gimpitemtreeview.c: introduced utility function
9321 gimp_item_tree_view_toggle_clicked() and use it for the eye and
9322 the chain toggles so both show the same behaviour when being
9325 2003-11-14 Michael Natterer <mitch@gimp.org>
9327 * app/config/gimpconfig-utils.c
9328 * app/gui/themes.c: use standard file error message strings.
9329 Removes two more translatable strings.
9331 2003-11-14 Michael Natterer <mitch@gimp.org>
9333 * app/core/gimpbrush.c (gimp_brush_load_brush): fixed order of
9334 parameters after message change.
9336 2003-11-14 Sven Neumann <sven@gimp.org>
9338 * app/gui/info-dialog.c (info_dialog_popup): use gtk_window_present().
9341 2003-11-14 Michael Natterer <mitch@gimp.org>
9343 * libgimpwidgets/gimpquerybox.c
9344 * app/widgets/gimpwidgets-utils.c: configure the labels in the
9345 message dialog and the query boxes to do automatic word wrapping
9346 to be HIG compliant.
9350 * app/config/gimpconfig-deserialize.c
9351 * app/config/gimpconfig-path.c
9352 * app/config/gimpconfig-utils.c
9353 * app/config/gimpconfigwriter.c
9354 * app/config/gimpscanner.c
9355 * app/core/gimpbrush.c
9356 * app/core/gimpbrushgenerated.c
9357 * app/core/gimpbrushpipe.c
9358 * app/core/gimpdatafactory.c
9359 * app/core/gimpgradient.c
9360 * app/core/gimpimage-merge.c
9361 * app/core/gimpimage.c
9362 * app/core/gimpimagefile.c
9363 * app/core/gimplayer-floating-sel.c
9364 * app/core/gimppalette.c
9365 * app/core/gimppattern.c
9366 * app/core/gimpselection.c
9367 * app/display/gimpdisplayshell.c
9368 * app/file/file-utils.c
9369 * app/gui/brush-select.c
9370 * app/gui/dialogs-commands.c
9371 * app/gui/drawable-commands.c
9372 * app/gui/edit-commands.c
9373 * app/gui/file-commands.c
9374 * app/gui/file-new-dialog.c
9375 * app/gui/font-select.c
9376 * app/gui/gradient-select.c
9378 * app/gui/image-commands.c
9379 * app/gui/layers-commands.c
9380 * app/gui/palette-select.c
9381 * app/gui/palettes-commands.c
9382 * app/gui/pattern-select.c
9383 * app/gui/preferences-dialog.c
9384 * app/gui/select-commands.c
9385 * app/gui/stroke-dialog.c
9386 * app/gui/tool-options-menu.c
9387 * app/gui/vectors-commands.c
9388 * app/gui/view-commands.c
9389 * app/plug-in/plug-in-message.c
9390 * app/plug-in/plug-in.c
9391 * app/plug-in/plug-ins.c
9392 * app/text/gimptextlayer-xcf.c
9393 * app/text/gimptextlayer.c
9394 * app/tools/gimpcurvestool.c
9395 * app/tools/gimphuesaturationtool.c
9396 * app/tools/gimplevelstool.c
9397 * app/tools/gimptransformtool.c
9398 * app/vectors/gimpvectors-export.c
9399 * app/widgets/gimpdatafactoryview.c
9400 * app/widgets/gimphelp.c
9401 * app/widgets/gimptemplateview.c
9402 * app/widgets/gimptooloptionseditor.c
9404 * tools/pdbgen/pdb/image.pdb: removed explicit newlines from
9405 messages. Reduced number of translatable strings by making many
9406 file error messages the same. Quote single words and filenames
9407 with 'foo', not "foo". Replaced some more "drawable" by "layer".
9408 General message cleanup and consistency check.
9410 * app/pdb/image_cmds.c: regenerated.
9412 2003-11-14 Sven Neumann <sven@gimp.org>
9414 * app/config/gimprc-blurbs.h (CAN_CHANGE_ACCELS_BLURB): applied
9415 (a slightly modified version) of a patch from Joao S. O. Bueno
9418 2003-11-14 Sven Neumann <sven@gimp.org>
9420 * app/config/gimpscanner.c
9421 * app/config/gimpconfig-deserialize.c: configured the scanner to
9422 use 64bit integers. This means you must now access value.v_int64
9423 instead of value.v_int. Fortunately gimp_scanner_parse_int() hides
9424 this ugly detail from you.
9426 * app/config/gimpconfig-params.[ch]
9427 * app/config/gimpconfig-types.c: derive GimpMemsize from guint64
9428 now that support for 64bit integers is guaranteed by glib.
9430 * app/config/gimpbaseconfig.c
9431 * app/config/gimpcoreconfig.c
9432 * app/config/gimpguiconfig.[ch]
9433 * app/widgets/gimppropwidgets.c: changed accordingly.
9435 * app/gui/preferences-dialog.c: changed a label.
9437 2003-11-14 Michael Natterer <mitch@gimp.org>
9439 * app/widgets/gimpdevices.c: code review & cleanup.
9441 2003-11-14 Sven Neumann <sven@gimp.org>
9443 * libgimpwidgets/gimpmemsizeentry.[ch]: changed to use guint64
9446 * app/core/gimptemplate.c (gimp_template_notify): removed unused
9449 2003-11-14 Sven Neumann <sven@gimp.org>
9451 * libgimpbase/gimputils.[ch] (gimp_memsize_to_string): take a
9452 guint64 parameter and handle values beyond a gigabyte.
9454 * app/core/gimptemplate.[ch]: use a guint64 for the initial memory
9455 size and removed the gboolean that used to indicate a gulong
9458 * app/widgets/gimptemplateeditor.[ch]: changed accordingly.
9460 * app/gui/file-new-dialog.c: don't set the OK button insensitive
9461 when the initial memory size exceeds GULONG_MAX.
9463 * app/widgets/gimpsessioninfo.c (gimp_session_info_deserialize):
9464 replaced a misleading comment.
9466 2003-11-14 Simon Budig <simon@gimp.org>
9468 * app/tools/gimpvectoroptions.c: Add two buttons to the
9471 * app/tools/gimpvectortool.c: Use them for stroking a path
9472 and converting a path to a selection, to make this functionality
9475 2003-11-13 Michael Natterer <mitch@gimp.org>
9477 * autogen.sh: removed "--copy" from the call to libtoolize.
9479 2003-11-13 Sven Neumann <sven@gimp.org>
9481 * app/widgets/gimpsessioninfo.c: only save the screen number to
9482 the sessionrc if the screen is not the default screen.
9484 2003-11-13 Michael Natterer <mitch@gimp.org>
9486 * app/gui/info-window.c: added number of layers and size in
9487 memory. Changed pixel and unit size labels to "Pixel Dimensions"
9488 and "Print Size" to be consistent with the scale dialog.
9489 Fixes two issues of bug #86276.
9491 2003-11-13 Sven Neumann <sven@gimp.org>
9493 * app/widgets/gimpsessioninfo.c (gimp_session_info_deserialize):
9494 restore compatibility with older sessionrc format. No need to
9495 break everyone's sessionrc again.
9497 2003-11-13 Sven Neumann <sven@gimp.org>
9499 * app/config/gimpconfig-deserialize.c
9500 (gimp_config_deserialize_unknown)
9501 (gimp_config_deserialize_property): unset the scanner scope to
9502 avoid identifiers that match symbol names to be parsed as symbols.
9504 2003-11-13 Michael Natterer <mitch@gimp.org>
9506 Made session management multiscreen aware:
9508 * app/widgets/gimpsessioninfo.[ch]: added "gint screen" member
9509 to struct GimpSessionInfo.
9511 (gimp_session_info_get_geometry): ask the window for its screen.
9512 (gimp_session_info_restore): place the window on the remembered
9513 screen if the screen exists.
9515 (gimp_session_info_save)
9516 (gimp_session_info_deserialize): extended "open-on-exit" property
9517 to include the screen number (e.g. "(open-on-exit 1)" for screen 1).
9519 This change breaks everybody's sessionrc again...
9521 2003-11-13 Sven Neumann <sven@gimp.org>
9523 * app/gui/color-history.[ch]
9525 * app/gui/session.c: moved the color history out of the sessionrc
9526 into it's own little file called colorrc.
9528 2003-11-13 Michael Natterer <mitch@gimp.org>
9530 * app/widgets/gimppreviewrenderer.[ch]: multihead fix: added
9531 gimp_preview_renderer_unrealize() which destroys the cached
9532 GdkGC. This function must be called whenever the widget owning the
9533 renderer is unrealized.
9535 * app/widgets/gimpcomponenteditor.c
9536 * app/widgets/gimpcontainertreeview.c
9537 * app/widgets/gimplayertreeview.c
9538 * app/widgets/gimppreview.c: implement GtkWidget::unrealize() and
9539 call gimp_preview_renderer_unrealize() on all renderers.
9541 2003-11-13 Sven Neumann <sven@gimp.org>
9543 * app/app_procs.[ch]
9545 * app/core/gimp.[ch]
9547 * app/gui/session.[ch]: allow to pass a session name on the
9548 command-line. This causes a different sessionrc to be used. This
9549 is a bit hackish but our power users will probably love it.
9550 Also removed the useless --restore-session command-line option.
9552 * docs/gimp-1.3.1.in: changed accordingly.
9554 * app/core/gimpmarshal.list: removed obsolete marshaller.
9556 * app/config/gimprc.c (gimp_rc_new): improved gtk-doc comment.
9558 2003-11-13 Sven Neumann <sven@gimp.org>
9560 * app/gui/stroke-dialog.c: remember the stroke settings in a less
9563 2003-11-13 Michael Natterer <mitch@gimp.org>
9565 * app/core/gimpimage-undo-push.c (undo_pop_layer): when trying to
9566 activate the previously selected layer after a layer removal, also
9567 look at gimage->layer_stack, just as gimp_image_remove_layer()
9568 does. Should fix regression from 1.2 when there was no avtive
9569 layer after certain undo operations. Fixes bug #126781.
9570 Reordered instructions to match gimp_image_remove_layer().
9572 * app/tools/gimpbrightnesscontrasttool.c
9573 * app/tools/gimpcolorbalancetool.c
9574 * app/tools/gimpcolorizetool.c
9575 * app/tools/gimpcurvestool.c
9576 * app/tools/gimphuesaturationtool.c
9577 * app/tools/gimplevelstool.c
9578 * app/tools/gimpposterizetool.c
9579 * app/tools/gimpthresholdtool.c: although the crash triggering bug
9580 is fixed, the image_map tools should not crash when invoked
9581 without active drawable: changed all _initialize() functions to
9582 silently return if there is no active drawable.
9584 Changed "drawable" to "layer" in all user visible warnings about
9585 indexed or non-RGB drawables. Cleanup.
9587 2003-11-13 Simon Budig <simon@gimp.org>
9589 * app/core/gimpdrawable-stroke.c: removed erraneous offset by
9592 * app/core/gimpstrokeoptions.c: Adjusted default width of libart
9593 strokes so that a rectangular selection gets stroked with sharp
9596 2003-11-12 Henrik Brix Andersen <brix@gimp.org>
9598 * app/widgets/gimphelp.c
9599 * app/config/gimpguiconfig.c
9600 * app/widgets/widgets-enums.[ch] changed
9601 GIMP_HELP_BROWSER_WEBBROWSER to GIMP_HELP_BROWSER_WEB_BROWSER and
9602 changed all occurrences of webbrowser to web_browser for
9605 2003-11-12 Sven Neumann <sven@gimp.org>
9607 * libgimpwidgets/gimpmemsizeentry.c: fixed a problem with the
9608 value being clamped to wrong boundaries when setting the value
9611 2003-11-12 Michael Natterer <mitch@gimp.org>
9613 * libgimpwidgets/gimpquerybox.c (create_query_box): set proper
9614 alignments for the GtkImage and GtkLabel of the query_box.
9616 2003-11-12 Sven Neumann <sven@gimp.org>
9618 * app/widgets/gimppropwidgets.c: set the boundaries for the
9619 coordinates widget from the property limits.
9621 * app/widgets/gimpgrideditor.c: removed the explicit calls to
9622 gimp_size_entry_set_refval_boundaries().
9624 2003-11-12 Sven Neumann <sven@gimp.org>
9626 * app/gui/color-history.[ch]: changed COLOR_HISTORY_SIZE to 12 to
9627 reduce the minimum size of the color selector dialog.
9629 * app/gui/color-notebook.c (color_notebook_new): changed the
9630 dialog setup to not depend on COLOR_HISTORY_SIZE being 16.
9632 2003-11-12 Michael Natterer <mitch@gimp.org>
9634 * app/display/gimpdisplayshell.c
9635 * app/widgets/gimplayertreeview.c
9636 * app/widgets/gimphelp-ids.h: replaced the last few html help
9637 links in app/ by help IDs.
9639 2003-11-12 Michael Natterer <mitch@gimp.org>
9641 Use the correct GTK+ APIs for setting and changing the theme:
9643 * app/gui/themes.c (themes_apply_theme): don't call gtk_rc_parse()
9644 but write a new config file "~/.gimp-1.3/themerc" which includes
9645 both the theme's and the user's gtkrc files.
9647 (themes_init): use gtk_rc_add_default_file() to make themerc known
9650 (themes_theme_change_notify): don't fiddle with toplevel windows
9651 manually but simply call gtk_rc_reparse_all() after writing the
9654 * libgimp/gimpui.c (gimp_ui_init): use gtk_rc_add_default_file()
9655 instead of gtk_rc_parse().
9657 * app/gui/preferences-dialog.c: cleaned up / beautified the theme
9658 selector. Added a "Reload Current Theme" button. Simplified
9659 GtkTreeView column inserting all over the place.
9661 (prefs_response): destroy the preferences dialog later so we don't
9662 crash when cancelling a theme change on "Cancel" (workaround for
9665 * app/gui/module-browser.c (module_browser_new): column inserting
9668 2003-11-12 Sven Neumann <sven@gimp.org>
9670 * app/gui/color-notebook.c (color_notebook_new): added a default
9671 role used for color selectors not handled by GimpDialogFactory.
9674 2003-11-12 Michael Natterer <mitch@gimp.org>
9676 * app/widgets/gimpeditor.[ch] (gimp_editor_set_box_style): new
9677 utility function which sets a button box' style according to a
9678 GimpEditor's style properties.
9680 * app/widgets/gimpcoloreditor.c (gimp_color_editor_style_set)
9681 * app/widgets/gimpeditor.c (gimp_editor_style_set): use it.
9683 2003-11-12 Michael Natterer <mitch@gimp.org>
9685 * app/widgets/gimpcoloreditor.c: implement GtkWidget::style_set()
9686 and update the button box spacing and icons sizes accordingly.
9688 2003-11-12 Michael Natterer <mitch@gimp.org>
9690 * app/gui/themes.[ch]: split out function themes_apply_theme()
9691 from themes_init(). Connect to "notify::theme" of gimp->config and
9692 change the theme in the callback. Added themes_list_themes().
9693 Added "const gchar *theme_name" parameter to
9694 themes_get_theme_dir().
9696 * app/gui/gui-vtable.c (gui_get_theme_dir): changed accordingly.
9698 * app/gui/preferences-dialog.c (prefs_dialog_create): enabled
9699 theme selection on the "Interface" page. Still has many issues
9700 (like using a conceptually wrong method of theme changing ;-)
9701 but it won't get fixed if we cannot change themes on the fly...
9703 2003-11-12 Michael Natterer <mitch@gimp.org>
9705 * app/widgets/gimpdataeditor.c (gimp_data_editor_save_dirty):
9706 return early if the GimpData is not dirty.
9708 2003-11-11 Sven Neumann <sven@gimp.org>
9710 * app/display/gimpcanvas.c: added API docs for the less obvious
9711 functions. Gracefully handle attempts to draw on the unrealized
9714 * app/display/gimpdisplayshell-selection.c (selection_draw):
9715 removed the redundant check for a realized canvas widget.
9717 2003-11-11 Maurits Rijk <lpeek.mrijk@consunet.nl>
9719 * plug-ins/gfig/gfig-preview.[ch]
9720 * plug-ins/gfig/gfig-grid.[ch]: new files.
9722 * plug-ins/gfig/Makefile.am: changed accordingly.
9724 * plug-ins/gfig/gfig.[ch]: moved preview and grid code to their own
9727 2003-11-11 Michael Natterer <mitch@gimp.org>
9729 * libgimpwidgets/gimpcolornotebook.c
9730 * libgimpwidgets/gimpcolorselection.c
9731 * libgimpwidgets/gimpdialog.c: minor cleanup, API docs.
9733 2003-11-11 Sven Neumann <sven@gimp.org>
9735 * plug-ins/script-fu/script-fu-scripts.c: set color buttons to
9736 continuous update. Minor code cleanup.
9738 2003-11-11 Dave Neary <bolsh@gimp.org>
9740 * app/widgets/gimpdataeditor.c: Save data before disposing of
9741 it when closing the dialog. Closes bug #116606.
9743 2003-11-11 Michael Natterer <mitch@gimp.org>
9745 * libgimpwidgets/gimpdialog.[ch] (gimp_dialog_run): new function
9746 which does the same as gtk_dialog_run() except it does not make
9749 * app/gui/resolution-calibrate-dialog.c
9750 * libgimp/gimpexport.c
9751 * plug-ins/*/*.c: use gimp_dialog_run() instead of gtk_dialog_run().
9753 * plug-ins/common/grid.c: set update_continuous to TRUE for
9754 the GimpColorButtons so this feature gets some testing.
9756 2003-11-11 Michael Natterer <mitch@gimp.org>
9758 * libgimpwidgets/gimpcolorbutton.[ch]: added new API
9759 gimp_color_button_[get|set]_update() which configures the button
9760 to emit "color_changed" continuously while the color in the color
9761 selection dialog is being changed. Fixes bug #90091.
9763 Renamed GimpColorButton struct member
9764 "GtkItemFactory *item_factory" to a /*< private >*/ member named
9765 "gpointer popup_menu". This is ugly but fixes bug #125115,
9767 * app/display/gimpdisplayshell-callbacks.c
9768 * app/display/gimpdisplayshell.c
9769 * app/widgets/gimpcolorpanel.c: changed accordingly.
9771 * libgimpwidgets/gimpcolorbutton.c: use a GimpColorSelection
9772 with a handmade GimpDialog instead of GtkColorSelectionDialog.
9774 Enabled module loading for plug-ins so the color selection
9775 can show the color selectors which are implemented in modules:
9777 * libgimpwidgets/gimpwidgets-private.[ch]: added
9778 GimpEnsureModulesFunc which can be called by modules users.
9780 * app/gui/gui.c (gui_libs_init): pass NULL as
9781 GimpEnsureModulesFunc since the core loads the modules itself.
9783 * libgimp/gimpui.c (gimp_ui_init): pass new private function
9784 gimp_ensure_modules() which will load the modules upon first
9787 * libgimp/Makefile.am: link libgimpui against libgimpmodule.
9789 * libgimpwidgets/gimpcolorselection.c: call
9790 _gimp_ensure_modules_func() if it is non-NULL so color selector
9791 modules are available for plug-ins.
9793 * tools/pdbgen/pdb/gimprc.pdb: added new PDB wrapper
9794 gimp_get_module_load_inhibit().
9796 * app/pdb/gimprc_cmds.c
9797 * app/pdb/internal_procs.c
9798 * libgimp/gimpgimprc_pdb.[ch]: regenerated.
9800 2003-11-11 Sven Neumann <sven@gimp.org>
9802 * libgimpwidgets/gimpstock.[ch]
9803 * themes/Default/images/Makefile.am
9804 * themes/Default/images/stock-move-to-screen-[16|24].png: added
9805 new icon drawn by Jimmac.
9807 * app/gui/dialogs-menu.c
9808 * app/gui/image-menu.c: use the new icon.
9810 2003-11-11 Sven Neumann <sven@gimp.org>
9812 * app/display/gimpcanvas.[ch]: added gimp_canvas_set_clip_region().
9814 * app/display/gimpdisplayshell-callbacks.c
9815 (gimp_display_shell_canvas_expose): if gimp_display_shell_pause()
9816 would cause a redraw, make sure that no XOR drawing happens on
9817 areas that have already been cleared by the windowing system.
9820 2003-11-11 Sven Neumann <sven@gimp.org>
9822 * app/display/gimpdisplayshell-selection.[ch]: some more cleanup.
9824 2003-11-11 Sven Neumann <sven@gimp.org>
9826 * app/display/Makefile.am
9827 * app/display/gimpdisplayshell-marching-ants.h: removed this file.
9829 * app/display/gimpcanvas.[ch]: generalized creation of GCs. Added
9830 styles for drawing the selection and layer boundaries. Also added
9831 support for changing stipple masks as was used by an older
9832 implementation of the marching ants (see below).
9834 * app/display/gimpdisplayshell-callbacks.c
9835 * app/display/gimpdisplayshell.c: don't create the Selection when
9836 the canvas is realized but only once when it is created.
9838 * app/display/gimpdisplayshell-selection.[ch]: removed all GC code
9839 and draw by means of GimpCanvas. Also resurrected a different
9840 implementation of the marching ants that was lost since 1.2
9841 (#undef USE_DRAWPOINTS).
9843 2003-11-11 Michael Natterer <mitch@gimp.org>
9845 * app/display/gimpdisplayshell-appearance.c: update
9846 shell->popup_factory only if this is the active display or we will
9847 change another display's options when creating a new display.
9850 * app/display/gimpdisplayshell-callbacks.c
9851 * app/gui/view-commands.c
9852 * app/tools/gimpimagemaptool.c: do the same here. Can't really
9853 happen in these places but it's more correct to have the check
9854 for the active display.
9856 * app/display/gimpdisplay.c (gimp_display_flush_whenever): get the
9857 active display from the user_context, not the current_context.
9859 * app/gui/image-menu.c (image_menu_update): removed unused code.
9861 2003-11-11 Sven Neumann <sven@gimp.org>
9863 * app/display/gimpdisplayshell-selection.[ch]: removed
9864 non-functional colormap-cycling and simplified the selection code.
9866 * app/config/gimpdisplayconfig.[ch]
9867 * app/config/gimprc-blurbs.h
9868 * app/gui/preferences-dialog.c: removed "colormap-cycling" from
9871 2003-11-11 Michael Natterer <mitch@gimp.org>
9873 * plug-ins/common/dicom.c: removed doubly pasted code. Changed
9874 error/progress messages to use the "standard" strings many plug-ins
9875 use. Added error message if opening for writing fails. Minor
9878 2003-11-11 Sven Neumann <sven@gimp.org>
9880 * plug-ins/common/Makefile.am
9881 * plug-ins/common/mkgen.pl
9882 * plug-ins/common/plugin-defs.pl
9883 * plug-ins/common/dicom.c: added DICOM file plug-in written by
9886 2003-11-11 Sven Neumann <sven@gimp.org>
9888 * app/widgets/gimpdialogfactory.c
9889 * app/widgets/gimptooldialog.c: updated gtk-doc comments.
9891 2003-11-11 Simon Budig <simon@gimp.org>
9893 * app/vectors/gimpvectors.c: New vectors now are invisible by
9894 default. A quick poll on #gimp revealed that this is more
9895 useful. Also loading images with compatibility paths works
9898 2003-11-10 Dave Neary <bolsh@gimp.org>
9900 * app/widgets/gimpdataeditor.c: Fix warnings and one error in
9903 2003-11-10 Dave Neary <bolsh@gimp.org>
9905 * app/widgets/gimpdataeditor.c: Implement save button. Partially
9906 addresses bug #116606.
9908 2003-11-10 Dave Neary <bolsh@gimp.org>
9910 * app/tools/gimpimagemaptool.c: Removed some code I'd added
9911 earlier and forgot to take out again.
9913 2003-11-10 Sven Neumann <sven@gimp.org>
9915 * app/display/gimpcanvas.[ch]
9916 * app/tools/gimpdrawtool.[ch]: moved GC from the the draw tool to
9917 GimpCanvas. Added wrappers around GDK drawing functions and do all
9918 canvas drawing by means of these new functions.
9920 * app/display/gimpdisplayshell-appearance.c
9921 * app/display/gimpdisplayshell-render.c
9922 * app/display/gimpdisplayshell.c
9923 * app/tools/gimpcroptool.c
9924 * app/tools/gimpfuzzyselecttool.c: draw using the new GimpCanvas
9927 2003-11-10 Dave Neary <bolsh@gimp.org>
9929 * app/tools/gimpimagemaptool.c: Moved assignment of shell to
9930 the place where it will be used, preventing a null pointer
9931 dereference when it's not used. Fixes bug #126524.
9933 2003-11-10 Michael Natterer <mitch@gimp.org>
9935 * app/gui/color-notebook.[ch]: removed color_notebook_new() and
9936 renamed color_notebook_viewable_new() to color_notebook_new().
9938 * app/gui/gradient-editor-commands.c
9939 * app/widgets/gimpcolormapeditor.c
9940 * app/widgets/gimppaletteeditor.c
9941 * app/widgets/gimpcolorpanel.c
9942 * app/widgets/gimptoolbox-color-area.c: changed accordingly.
9944 2003-11-10 Michael Natterer <mitch@gimp.org>
9946 * libgimpwidgets/gimpcolorselection.c: added API docs for all
9949 2003-11-10 Michael Natterer <mitch@gimp.org>
9951 * libgimpwidgets/Makefile.am
9952 * libgimpwidgets/gimpwidgets.h
9953 * libgimpwidgets/gimpwidgetstypes.h
9954 * libgimpwidgets/gimpcolorselection.[ch]: new widget derived from
9955 GtkVBox. Contains a GimpColorNotebook, GimpColorScales and new/old
9956 color areas as known from the app's color_notebook. Will soon be
9957 used to replace GtkColorSelection for plug-ins.
9959 * app/gui/color-notebook.c: removed most code and use a
9960 GimpColorSelection widget. Moved the "Reset" button to the
9961 action_area. Cleanup.
9963 2003-11-10 Michael Natterer <mitch@gimp.org>
9965 * app/gui/gui-vtable.c: #include "themes.h".
9967 2003-11-10 Michael Natterer <mitch@gimp.org>
9969 Made plug-ins honor the current GIMP theme:
9971 * app/core/gimp.[ch]: added GimpGetThemeDirFunc to the GUI vtable.
9973 * app/gui/gui-vtable.c: implement it here.
9975 * tools/pdbgen/pdb/gimprc.pdb: added new PDB function
9976 gimp_get_theme_dir().
9978 * libgimp/gimpui.c: use the new function and fall back to
9979 gimp_gtkrc() if it returns NULL.
9981 * app/pdb/gimprc_cmds.c
9982 * app/pdb/internal_procs.c
9983 * libgimp/gimpgimprc_pdb.[ch]: regenerated.
9985 * app/gui/themes.c: unrelated cleanup.
9987 2003-11-10 Michael Natterer <mitch@gimp.org>
9989 * app/gui/tools-commands.c (tools_select_cmd_callback): don't
9990 call tool_manager_initialize_active() with a NULL GimpDisplay.
9993 2003-11-10 Michael Natterer <mitch@gimp.org>
9995 * app/widgets/gimphistogramview.c
9996 * app/widgets/gimpnavigationpreview.c: destroy GdkGCs in
9997 GtkWidget::unrealize().
9999 2003-11-10 Sven Neumann <sven@gimp.org>
10001 * app/display/gimpcanvas.[ch]
10002 * app/display/gimpdisplayshell.c: moved GdkGCs to GimpCanvas;
10003 still work in progress...
10005 2003-11-10 Michael Natterer <mitch@gimp.org>
10007 * app/display/gimpdisplayshell-callbacks.c: removed the
10008 "Move to Screen" hack.
10010 * app/gui/dialogs-commands.[ch]
10011 * app/gui/view-commands.[ch]
10012 * app/gui/dialogs-menu.c
10013 * app/gui/image-menu.c: added proper menu items to the
10014 <Image>/View and the <Dialogs> menus so all image windows and
10015 docks can be sent to other screens. Hide the menu items when
10016 there is just one screen.
10018 * app/widgets/gimphelp-ids.h: new help IDd for the new menu items.
10020 2003-11-10 Sven Neumann <sven@gimp.org>
10022 * app/display/Makefile.am
10023 * app/display/display-types.h
10024 * app/display/gimpcanvas.[ch]: added GimpCanvas, derived from
10027 * app/display/gimpdisplayshell-callbacks.c
10028 * app/display/gimpdisplayshell-render.c
10029 * app/display/gimpdisplayshell.[ch]: changed accordingly.
10031 2003-11-09 Michael Natterer <mitch@gimp.org>
10033 * plug-ins/FractalExplorer/Dialogs.c
10034 * plug-ins/common/CML_explorer.c
10035 * plug-ins/common/curve_bend.c
10036 * plug-ins/common/gqbist.c
10037 * plug-ins/common/spheredesigner.c
10038 * plug-ins/flame/flame.c
10039 * plug-ins/gfig/gfig.c
10040 * plug-ins/gimpressionist/brush.c
10041 * plug-ins/ifscompose/ifscompose.c
10042 * plug-ins/imagemap/imap_browse.c: more file selections on the
10045 2003-11-09 Michael Natterer <mitch@gimp.org>
10047 * app/gui/file-commands.[ch]
10048 * app/gui/file-dialog-utils.[ch]
10049 * app/gui/file-open-dialog.[ch]
10050 * app/gui/file-save-dialog.[ch]
10051 * app/gui/gradients-commands.c
10052 * app/gui/vectors-commands.c
10053 * app/widgets/gimpdocumentview.[ch]
10054 * app/widgets/gimperrorconsole.c
10055 * libgimpwidgets/gimpfileselection.c: show file selections on
10056 their parent widget's screen.
10058 2003-11-09 Sven Neumann <sven@gimp.org>
10060 * app/core/gimpbrush.c (gimp_brush_load_brush)
10061 * plug-ins/common/gbr.c (load_image): use proper conversion from
10062 16bit float to 8bit integer.
10064 2003-11-09 Sven Neumann <sven@gimp.org>
10066 * plug-ins/common/svg.c: removed redundant calls to gimp_get_data().
10068 * plug-ins/common/wmf.c: fixed parameter handling and limits and
10069 initial value of the logarithmic scale entry.
10071 2003-11-09 Michael Natterer <mitch@gimp.org>
10073 * plug-ins/common/wmf.c (load_dialog): use a scale_entry instead
10074 of adding a GtkHScale manually.
10076 2003-11-09 Sven Neumann <sven@gimp.org>
10078 * configure.in: check for libwmf >= 0.2.8 and build the WMF
10079 plug-in conditionally.
10081 * plug-ins/common/Makefile.am
10082 * plug-ins/common/mkgen.pl
10083 * plug-ins/common/plugin-defs.pl
10084 * plug-ins/common/wmf.c: replaced the WMF plug-in with a plug-in
10085 using libwmf2 written by Dom Lachowicz and Francis James Franklin.
10086 Converted the plug-in to the new GimpDialog API and GIMP coding
10087 style. Fixes bug #108653.
10089 2003-11-08 Sven Neumann <sven@gimp.org>
10091 * app/widgets/gimphistogrameditor.c: (hopefully) fixed bug #126151.
10093 2003-11-08 Sven Neumann <sven@gimp.org>
10095 * libgimpcolor/gimpcolorspace.c
10096 * libgimpcolor/gimpcmyk.c: fixed gtk-doc comments, removed
10097 trailing whitespace.
10099 2003-11-08 Dave Neary <bolsh@gimp.org>
10101 * libgimpcolor/gimpcmyk.c: More gtk-docs.
10103 2003-11-08 Dave Neary <bolsh@gimp.org>
10105 * libgimpcolor/gimpcolorspace.c: Finished gtk-docs. The docs for
10106 these could perhaps include formulae, but for most of the
10107 colorspaces that would be the same thing as copying the code
10108 into a comment, which seems pointless.
10110 2003-11-08 Sven Neumann <sven@gimp.org>
10112 * app/widgets/gimptemplateeditor.c: don't show a radio button for
10113 GIMP_NO_FILL; makes the dialog a little less tall.
10115 2003-11-08 Sven Neumann <sven@gimp.org>
10117 * app/text/gimptextlayout-render.c (gimp_text_layout_render)
10118 * app/text/gimptextlayout.c (gimp_text_layout_position): handle
10119 the case where the ink rectangle exceeds the logical rectangle.
10122 2003-11-08 Michael Natterer <mitch@gimp.org>
10124 * app/widgets/gimptooloptionseditor.c
10125 (gimp_tool_options_editor_get_preview): use
10126 gtk_widget_get_screen() instead of gdk_screen_get_default().
10128 * app/widgets/gimpdatafactoryview.[ch]: added "GtkWidget *parent"
10129 to GimpDataEditFunc.
10131 * app/gui/dialogs-constructors.[ch]
10132 (dialogs_edit_brush,gradient,palette_func): use the passed parent
10133 widget for finding the right screen instead of
10134 gdk_screen_get_default().
10136 * app/gui/gui.c: minor cleanup.
10138 2003-11-08 Michael Natterer <mitch@gimp.org>
10140 * app/widgets/gimpitemfactory.[ch]: remember the "create_tearoff"
10141 passed to gimp_item_factory_new() in the GimpItemFactory struct
10142 and removed "create_tearoff" from the create_item functions
10143 (it makes no sense to pass this per create_item).
10145 * app/gui/file-open-menu.c
10146 * app/gui/file-save-menu.c
10147 * app/gui/image-menu.c
10149 * app/gui/plug-in-menus.c
10150 * app/gui/tool-options-menu.c: changed accordingly.
10152 * app/display/gimpdisplayshell.c (gimp_display_shell_new): create
10153 the menu bar without tearoff entries. It is very confusing to have
10154 both the popup menu (which is global and works on the active
10155 display) and the menu bar submenus (which are specific to this
10156 display) be torn off at the same time.
10158 2003-11-08 Sven Neumann <sven@gimp.org>
10160 * configure.in: renamed version.xml.in to version.in in all API
10163 2003-11-08 Manish Singh <yosh@gimp.org>
10165 * libgimp/gimpui.c (gimp_ui_init): #include <stdlib.h> for putenv,
10166 initialize var_name to NULL so the logic still works if none of
10167 the #ifdef cases hit.
10169 2003-11-08 Michael Natterer <mitch@gimp.org>
10171 * app/plug-in/plug-in-run.c (plug_in_run): cast the return value
10172 of gimp_get_program_class() for the GPConfig message.
10174 2003-11-08 Michael Natterer <mitch@gimp.org>
10176 To be multihead safe, each new window or menu needs to be
10177 associated with a GdkScreen or it will pop up on the default
10180 * libgimpwidgets/gimpquerybox.[ch]
10181 * app/display/gimpdisplayshell-layer-select.[ch]
10182 * app/widgets/widgets-types.h
10183 * app/widgets/gimpitemfactory.[ch]
10184 * app/widgets/gimpitemtreeview.[ch]
10185 * app/widgets/gimptemplateview.[ch]
10186 * app/widgets/gimptooldialog.[ch]
10187 * app/widgets/gimpviewabledialog.[ch]
10188 * app/gui/channels-commands.[ch]
10189 * app/gui/color-notebook.[ch]
10190 * app/gui/convert-dialog.[ch]
10191 * app/gui/edit-commands.[ch]
10192 * app/gui/grid-dialog.[ch]
10193 * app/gui/image-commands.[ch]
10194 * app/gui/info-dialog.[ch]
10195 * app/gui/layers-commands.[ch]
10196 * app/gui/offset-dialog.[ch]
10197 * app/gui/resize-dialog.[ch]
10198 * app/gui/stroke-dialog.[ch]
10199 * app/gui/templates-commands.[ch]
10200 * app/gui/vectors-commands.[ch]: added "GtkWidget *parent"
10201 paramaters to all functions which create menus, popups or windows
10202 and pass "parent" to gimp_dialog_new() or one of the various
10203 wrappers around it. As a side effect, this fixes bug #61092.
10205 * app/widgets/gimpdialogfactory.[ch]: added "GdkScreen *screen"
10206 instead of "parent" here since there are no possible parent
10207 windows on startup.
10209 * app/display/gimpdisplayshell-callbacks.c
10210 (gimp_display_shell_origin_button_press): added a quick hack to
10211 send a display to another screen: click the origin button with the
10212 middle mouse button.
10214 * app/display/gimpdisplayshell.c
10215 (gimp_display_shell_screen_changed): don't chain up
10216 unconditionally (don't crash).
10218 * libgimpwidgets/gimpdialog.c (gimp_dialog_new_valist): set the
10219 dialog's screen from a non-GtkWindow parent widget. The rest of
10220 non-window parent widget handling is still unimplemented.
10222 * libgimpwidgets/gimpcolorbutton.c
10223 * app/widgets/gimpcolormapeditor.c
10224 * app/widgets/gimpcolorpanel.c
10225 * app/widgets/gimpcomponenteditor.c
10226 * app/widgets/gimpcontainereditor.c
10227 * app/widgets/gimpcontainergridview.c
10228 * app/widgets/gimpcontainerpopup.c
10229 * app/widgets/gimpcontainertreeview.c
10230 * app/widgets/gimpdatafactoryview.c
10231 * app/widgets/gimpdevicestatus.c
10232 * app/widgets/gimpdockable.c
10233 * app/widgets/gimpdrawabletreeview.c
10234 * app/widgets/gimperrorconsole.c
10235 * app/widgets/gimpgradienteditor.c
10236 * app/widgets/gimphelp.c
10237 * app/widgets/gimppaletteeditor.c
10238 * app/widgets/gimppreview-popup.c
10239 * app/widgets/gimpselectioneditor.c
10240 * app/widgets/gimpsessioninfo.c
10241 * app/widgets/gimptoolbox-color-area.c
10242 * app/widgets/gimptoolbox-indicator-area.c
10243 * app/widgets/gimptoolbox.c
10244 * app/widgets/gimptooloptionseditor.c
10245 * app/widgets/gimpvectorstreeview.c
10246 * app/widgets/gimpwidgets-utils.c
10247 * app/display/gimpdisplayshell-scale.c
10248 * app/display/gimpnavigationview.c
10249 * app/gui/module-browser.c
10250 * app/gui/dialogs-commands.c
10251 * app/gui/dialogs-constructors.c
10252 * app/gui/drawable-commands.c
10253 * app/gui/file-commands.c
10254 * app/gui/file-new-dialog.c
10255 * app/gui/file-save-dialog.c
10256 * app/gui/gradient-editor-commands.c
10257 * app/gui/gui-vtable.c
10259 * app/gui/info-window.c
10260 * app/gui/palette-import-dialog.c
10261 * app/gui/palettes-commands.c
10262 * app/gui/qmask-commands.c
10263 * app/gui/select-commands.c
10264 * app/gui/tool-options-commands.c
10265 * app/gui/view-commands.c
10266 * app/tools/gimpcolorpickertool.c
10267 * app/tools/gimpcroptool.c
10268 * app/tools/gimpimagemaptool.c
10269 * app/tools/gimpmeasuretool.c
10270 * app/tools/gimptransformtool.c
10271 * plug-ins/FractalExplorer/FractalExplorer.c
10272 * plug-ins/gfig/gfig.c
10273 * plug-ins/gflare/gflare.c: changed accordingly. Changed all
10274 menu_position funcs to place the menu on the right screen.
10276 2003-11-08 Sven Neumann <sven@gimp.org>
10278 * app/config/gimpconfig-error.h: added GIMP_CONFIG_ERROR_VERSION
10279 to GimpConfigError enum.
10281 * libgimpbase/gimpprotocol.h: renamed GP_VERSION to
10282 GIMP_PROTOCOL_VERSION.
10285 * app/plug-in/plug-in-run.c: changed accordingly.
10287 * app/plug-in/plug-in-rc.[ch]: write the protocol version to the
10288 pluginrc and stop parsing when a wrong protocol version is found.
10290 * app/plug-in/plug-ins.c: pass a GError to plug_in_rc_parse().
10292 2003-11-07 Michael Natterer <mitch@gimp.org>
10294 * libgimpbase/gimpprotocol.[ch]: added "wm_name", "wm_class",
10295 "display_name" and "monitor_number" to the GPConfig message.
10296 Increased protocol version number.
10298 * libgimp/gimp.[ch] (gimp_config): read them from the GPConfig
10299 message and remember them.
10300 Added public accessors for the new config values.
10302 * libgimp/gimpui.c (gimp_ui_init): pass wm_name and wm_class to
10303 gtk_init() and export the display/screen to use to the
10306 * app/core/gimp.[ch]: added vtable entries to get the values
10309 * app/gui/gui-vtable.c: implement the vtable entries.
10311 * app/plug-in/plug-in-run.c: fill in the GPConfig values using
10312 the new Gimp vtable functions.
10314 * app/display/gimpdisplayshell-layer-select.c
10315 * app/display/gimpdisplayshell.c
10316 * app/gui/about-dialog.c
10317 * app/gui/channels-commands.c
10318 * app/gui/color-notebook.c
10319 * app/gui/convert-dialog.c
10320 * app/gui/file-dialog-utils.[ch]
10321 * app/gui/file-new-dialog.c
10322 * app/gui/file-open-dialog.c
10323 * app/gui/file-save-dialog.c
10324 * app/gui/gradient-editor-commands.c
10325 * app/gui/gradients-commands.c
10326 * app/gui/grid-dialog.c
10327 * app/gui/image-commands.c
10328 * app/gui/info-dialog.[ch]
10329 * app/gui/info-window.c
10330 * app/gui/layers-commands.c
10331 * app/gui/module-browser.c
10332 * app/gui/offset-dialog.c
10333 * app/gui/palette-import-dialog.c
10334 * app/gui/qmask-commands.c
10335 * app/gui/resize-dialog.c
10337 * app/gui/stroke-dialog.c
10338 * app/gui/templates-commands.c
10339 * app/gui/tips-dialog.c
10340 * app/gui/vectors-commands.c
10341 * app/tools/gimpcurvestool.c
10342 * app/tools/gimplevelstool.c
10343 * app/widgets/gimpdock.c
10344 * app/widgets/gimperrorconsole.c
10345 * app/widgets/gimptexteditor.c
10346 * app/widgets/gimptoolbox.c
10347 * app/widgets/gimpviewabledialog.[ch]
10348 * libgimpwidgets/gimpfileselection.c
10349 * libgimpwidgets/gimpquerybox.c
10350 * libgimpwidgets/gimpunitmenu.c
10351 * plug-ins/helpbrowser/dialog.c
10352 * plug-ins/ifscompose/ifscompose.c: replaced all calls to
10353 gtk_window_set_wmclass() by gtk_window_set_role() and all
10354 "const gchar *wmclass_name" parameters by "const gchar *role".
10355 Cleaned up the window role strings.
10357 2003-11-07 Michael Natterer <mitch@gimp.org>
10359 * libgimp/gimpexport.c: beautified and cleaned up the export
10362 * libgimpwidgets/gimpquerybox.c: cleanups and fixes.
10364 2003-11-07 Simon Budig <simon@gimp.org>
10366 * app/vectors/gimpvectors.[ch]: New function that appends a
10367 duplicate of the source vectors strokes to the list of strokes
10368 of a target vectors object.
10370 * app/core/gimpimage-merge.[ch]
10371 * app/core/core-enums.h: Use this new function to merge
10372 the visible vectors in an Image. New Undo type for vectors merging.
10374 * app/core/core-enums.c: regenerated.
10376 * app/gui/vectors-menu.c
10377 * app/gui/vectors-commands.[ch]
10378 * app/widgets/gimphelp-ids.h: New Menu entry + callback to invoke
10379 the merge functionality. New Help ID for the menu entry.
10381 2003-11-07 Michael Natterer <mitch@gimp.org>
10383 * app/gui/tool-options-commands.c
10384 (tool_options_rename_saved_cmd_callback): fixed typo in dialog title.
10386 2003-11-06 Jakub Steiner <jimmac@ximian.com>
10388 * themes/Default/images/preferences/session.png: use somthing
10391 2003-11-06 Michael Natterer <mitch@gimp.org>
10393 * libgimpwidgets/gimpdialog.c: fixed/added API docs.
10395 2003-11-06 Michael Natterer <mitch@gimp.org>
10397 * libgimpwidgets/gimpdialog.[ch]: removed our own action_area API
10398 and use GtkDialog's one. Create all dialogs without separator.
10399 Changed almost everything else too. Fixes bug #125143.
10401 * libgimpwidgets/gimpquerybox.c
10402 * libgimpwidgets/gimpunitmenu.c: changed accordingly.
10404 * libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType
10405 to GimpExportReturn.
10407 * libgimp/gimpcompat.h: added a #define for the old name.
10409 * themes/Default/gtkrc: increased action_area border to 6 pixels.
10411 * app/display/gimpdisplayshell-filter-dialog.c
10412 * app/display/gimpdisplayshell-scale.c
10413 * app/display/gimpprogress.c
10414 * app/gui/brush-select.c
10415 * app/gui/channels-commands.c
10416 * app/gui/color-notebook.c
10417 * app/gui/convert-dialog.c
10418 * app/gui/file-new-dialog.c
10419 * app/gui/font-select.c
10420 * app/gui/gradient-editor-commands.c
10421 * app/gui/gradient-select.c
10422 * app/gui/grid-dialog.c
10423 * app/gui/image-commands.c
10424 * app/gui/info-window.c
10425 * app/gui/layers-commands.c
10426 * app/gui/module-browser.c
10427 * app/gui/offset-dialog.c
10428 * app/gui/palette-import-dialog.c
10429 * app/gui/palette-select.c
10430 * app/gui/pattern-select.c
10431 * app/gui/preferences-dialog.c
10432 * app/gui/qmask-commands.c
10433 * app/gui/resize-dialog.c
10434 * app/gui/resolution-calibrate-dialog.c
10435 * app/gui/stroke-dialog.c
10436 * app/gui/templates-commands.c
10437 * app/gui/user-install-dialog.c
10438 * app/gui/vectors-commands.c
10439 * app/tools/gimpcolorpickertool.c
10440 * app/tools/gimpcroptool.c
10441 * app/tools/gimpimagemaptool.c
10442 * app/tools/gimpmeasuretool.c
10443 * app/tools/gimptransformtool.c
10444 * app/widgets/gimptexteditor.c
10445 * app/widgets/gimptooldialog.[ch]
10446 * app/widgets/gimpviewabledialog.[ch]
10447 * app/widgets/gimpwidgets-utils.c: changed accordingly and increased
10448 the dialogs' outer borders to 6 pixels all over the place.
10450 * plug-ins/*/*.c: changed accordingly. The plug-ins may be
10451 arbitrarily broken, I tested none of them.
10453 2003-11-06 Sven Neumann <sven@gimp.org>
10455 * devel-docs/gbr.txt: documented what I found out about the GIMP
10456 brush version 3 file format.
10458 2003-11-06 Sven Neumann <sven@gimp.org>
10460 * etc/ps-menurc: update contributed by Eric Pierce.
10462 2003-11-06 Sven Neumann <sven@gimp.org>
10464 * app/core/gimpbrush.c (gimp_brush_load_brush): read pixmap
10465 brushes in chunks of 8192 bytes in order to speed up loading.
10467 2003-11-05 Sven Neumann <sven@gimp.org>
10469 * app/core/gimpbrush.c
10470 * plug-ins/common/gbr.c: added support for loading cinepaint
10471 brushes (GIMP brush version 3).
10473 2003-11-05 Sven Neumann <sven@gimp.org>
10475 * plug-ins/common/screenshot.c: rewrote clipping code using
10476 gdk_rectangle_intersect().
10478 2003-11-05 Sven Neumann <sven@gimp.org>
10480 * app/widgets/widgets-types.h: removed GimpFontSelection and
10481 GimpFontSelectionDialog typedefs.
10483 2003-11-05 Michael Natterer <mitch@gimp.org>
10485 * app/display/gimpdisplayshell-callbacks.c
10486 (gimp_display_shell_canvas_tool_events): use the 2nd mouse wheel
10487 for horizontal scrolling. Fixes bug #126288.
10489 2003-11-05 Tor Lillqvist <tml@iki.fi>
10491 * libgimpbase/Makefile.am: Move gimpwin32-io.h to
10492 libgimpbase_1_3_la_SOURCES, so that it gets distributed.
10494 * libgimpmodule/Makefile.am: Remove empty and meaningless
10497 2003-11-05 Sven Neumann <sven@gimp.org>
10499 * app/tools/gimptextoptions.c (gimp_text_options_gui): use
10500 GTK_STOCK_SELECT_FONT stock icon instead of text tool icon.
10502 * app/text/gimpfont.c: fixed default stock id.
10504 * app/text/gimp-fonts.c (gimp_fonts_load): don't leave gimp busy
10505 and the fonts container frozen in case of error.
10507 2003-11-05 Sven Neumann <sven@gimp.org>
10509 * app/main.c: added new command-line option --no-fonts. Might be
10510 useful to reduce startup time or if there are problems with the
10511 font configuration.
10513 * app/app_procs.[ch]
10515 * app/core/gimp.[ch]
10516 * app/text/gimp-fonts.c: don't load any fonts when gimp is started
10519 * docs/gimp-1.3.1.in: documented the new command-line option and
10520 updated outdated information.
10522 2003-11-05 Sven Neumann <sven@gimp.org>
10524 * app/app_procs.c: register a log handler for the Gimp-Text domain.
10526 * app/text/gimpfont.c: code cosmetics.
10528 * app/text/gimptext-compat.c: removed debugging output.
10530 Let GIMP work w/o any fonts. Of course you won't get any text
10531 functionality then:
10533 * app/text/gimpfontlist.c: don't install any font aliases if no
10536 * app/text/gimptextlayer.c: refuse to render any text layers when
10537 the GIMP fonts list is empty.
10539 * app/tools/gimptexttool.c: removed redundant includes.
10541 * app/tools/gimptextoptions.c: removed the font selection widget.
10542 This is a temporary regression that will be cured by improving the
10543 GimpFontView widget.
10545 * app/widgets/Makefile.am
10546 * app/widgets/gimpfontselection-dialog.[ch]
10547 * app/widgets/gimpfontselection.[ch]
10548 * app/widgets/gimppropwidgets.[ch]: removed the font selection and
10549 all references to it. Fixes bug #119267.
10551 2003-11-04 Sven Neumann <sven@gimp.org>
10554 * etc/gtkrc_user: renamed to gtkrc.
10556 * gimp.spec.in: changed accordingly.
10558 * app/gui/user-install-dialog.c: don't install the sessionrc,
10559 templaterc and unitrc into the personal gimp directory. The files
10560 are created when GIMP is quit.
10562 * app/core/gimp-templates.c
10563 * app/core/gimp-units.c
10564 * app/gui/session.c: load sessionrc, templaterc and unitrc from
10565 the systemwide config directory. That way you can restore the
10566 default setup by removing the respective files from your personal
10569 2003-11-04 Ville PƤtsi <drc@gimp.org>
10571 * gimp.spec.in: Desktop files are now installed.
10573 2003-11-04 Michael Natterer <mitch@gimp.org>
10575 * cursors/dropper.xbm
10576 * cursors/dropper_mask.xbm: moved the dropper cursor some pixels
10577 to the bottom left corner so it can be used together with the FG
10578 and BG cursor modifiers.
10580 * cursors/gimp-tool-cursors.xcf: changed accordingly.
10582 2003-11-04 Michael Natterer <mitch@gimp.org>
10584 * app/widgets/gimpdnd.[ch]: added static "the_dnd_gimp" variable
10585 and don't use the global "the_gimp" any more.
10586 Added gimp_dnd_init() to let the DND system know about the GUI's
10589 * app/gui/gui.c (gui_init): call gimp_dnd_init().
10591 * app/app_procs.h: changed the #warning about including
10592 "app_procs.h" to an #error, like the other headers in app/ do.
10594 2003-11-03 Manish Singh <yosh@gimp.org>
10596 * app/text/gimptext-vectors.c: use recommended freetype include
10597 system of #include <ft2build.h> and #include FT_GLYPH_H things.
10599 2003-11-03 Michael Natterer <mitch@gimp.org>
10601 * configure.in: added -DGTK_MULTIHEAD_SAFE to CPPFLAGS.
10603 2003-11-03 Sven Neumann <sven@gimp.org>
10605 * configure.in: bumped version to 1.3.23. Changed the check for
10606 GTK+ version 2.3.0 to give a less confusing output.
10608 2003-11-03 Henrik Brix Andersen <brix@gimp.org>
10610 * app/gui/preferences-dialog.c: reverted Svens change (which
10611 increased vertical spacing) to make the spacing in the preferences
10614 2003-11-03 Sven Neumann <sven@gimp.org>
10616 * Made 1.3.22 release.
10618 2003-11-03 Sven Neumann <sven@gimp.org>
10620 * app/widgets/gimphistogrameditor.c: update the histogram on
10621 "invalidate_preview" instead of "update" because the paint core
10622 doesn't call gimp_drawable_update().
10624 2003-11-02 Sven Neumann <sven@gimp.org>
10626 * libgimp/gimpbrushmenu.c
10627 * libgimp/gimppatternmenu.c: added mnenonic for "Browse...".
10629 2003-11-02 Sven Neumann <sven@gimp.org>
10631 * m4macros/gimp-2.0.m4: rewritten to use pkg-config instead of
10632 gimptool; closely modeled after gtk-2.0.m4.
10634 * gimp-1.3.pc.in: added gimpdatadir and gimplibdir variables.
10636 2003-11-02 Sven Neumann <sven@gimp.org>
10638 * libgimp/gimpbrushmenu.c
10639 * libgimp/gimppatternmenu.c: use "Browse..." instead of "..."
10642 2003-11-02 Sven Neumann <sven@gimp.org>
10644 * plug-ins/common/png.c: handle gamma settings in PNG files using
10645 the "gamma" parasite (see bug #120031).
10647 2003-11-02 Sven Neumann <sven@gimp.org>
10649 * app/widgets/gimpdock.c
10650 * etc/gtkrc_user: draw the separators in normal color but make the
10651 DND highlight use the bg color of the selected state.
10653 2003-11-02 Sven Neumann <sven@gimp.org>
10655 * app/widgets/gimpdockable.c (gimp_dockable_realize): set a hand
10656 cursor on the title area to indicate that the dockable can be
10659 2003-11-02 Sven Neumann <sven@gimp.org>
10661 * app/gui/dialogs-menu.c
10662 * app/gui/image-menu.c
10663 * app/gui/toolbox-menu.c: added Histogram to the dialog menus.
10665 2003-11-01 Sven Neumann <sven@gimp.org>
10667 * app/widgets/gimpcursor.[ch] (gimp_cursor_new): added a
10668 GdkDisplay parameter and added the convenience function
10671 * app/display/gimpdisplayshell-cursor.c
10672 * app/tools/gimpcurvestool.c
10673 * app/widgets/gimpdialogfactory.c: changed accordingly.
10675 2003-11-01 Manish Singh <yosh@gimp.org>
10677 * app/core/gimppalette.c (gimp_palette_load): plug a memleak
10679 2003-11-01 Manish Singh <yosh@gimp.org>
10681 * plug-ins/print/print_gimp.h: don't try to define inline, glib
10684 * app/widgets/gimpgrideditor.c
10685 * app/widgets/gimpstrokeeditor.c: remove unnecessary GTK_WIDGET casts.
10687 2003-11-01 Manish Singh <yosh@gimp.org>
10689 * configure.in: Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x.
10690 Add -DGDK_MULTIHEAD_SAFE.
10692 * app/config/test-config.c: use guints for strlen()
10695 * app/gui/info-window.c
10697 * app/widgets/gimpcontainerview.c
10698 * app/widgets/gimpcursor.c
10699 * app/widgets/gimpdevices.c
10700 * app/widgets/gimpdevicestatus.c
10701 * app/widgets/gimpimagedock.c
10702 * app/widgets/gimpitemfactory.c
10703 * app/widgets/gimpnavigationpreview.c
10704 * app/widgets/gimptoolbox.c
10705 * app/widgets/gimptooloptionseditor.c
10706 * app/widgets/gimpwidgets-utils.c
10707 * libgimp/gimpbrushmenu.c
10708 * libgimp/gimppatternmenu.c
10710 * plug-ins/FractalExplorer/Dialogs.c
10711 * plug-ins/FractalExplorer/FractalExplorer.c
10712 * plug-ins/common/screenshot.c
10713 * plug-ins/gimpressionist/gimpressionist.c: more GDK_MULTIHEAD_SAFE
10716 * plug-ins/common/wmf.c: #undef GDK_MULTIHEAD_SAFE.. this plug-in
10717 is going away anyway.
10719 * app/widgets/gimpcursor.h: add #warning about needing a proper
10720 multihead safe API.
10722 * app/gui/vectors-commands.c: s/clipoard/clipboard/
10724 2003-11-01 Sven Neumann <sven@gimp.org>
10726 * app/composite/Makefile.am (EXTRA_PROGRAMS): removed
10729 2003-11-01 Sven Neumann <sven@gimp.org>
10731 * app/widgets/gimphistogramview.[ch]: removed width and height
10732 from the API. It can be set using gtk_widget_size_request(). Set a
10733 mimimum height of 80 pixels.
10735 * app/widgets/gimphistogrambox.c: changed accordinly. Reduced size
10738 * app/tools/gimpcurvestool.c: reduced gradient sizes.
10740 * app/tools/gimplevelstool.c: allow the histogram to expand
10743 2003-11-01 Sven Neumann <sven@gimp.org>
10745 * app/widgets/gimphistogramview.c (gimp_histogram_view_expose): if
10746 multiple histogram values fall onto the same pixel, display the
10749 2003-11-01 Sven Neumann <sven@gimp.org>
10751 * app/base/gimphistogram.c (gimp_histogram_get_mean): forgot to
10752 also add a range check here.
10754 * app/widgets/gimphistogrameditor.c: update the channel menu when
10755 the image mode changes or an alpha channel is added/removed.
10757 2003-11-01 Sven Neumann <sven@gimp.org>
10759 Replaced the histogram tool by a histogram dialog:
10761 * themes/Default/images/Makefile.am
10762 * themes/Default/images/tools/stock-tool-histogram-[16|22].png:
10765 * themes/Default/images/stock-histogram-[16|22].png: ... and added
10766 under these new names.
10768 * libgimpwidgets/gimpstock.[ch]: register the icons as
10769 GIMP_STOCK_HISTOGRAM and removed the histogram tool stock icons.
10771 * app/base/gimphistogram.c: don't crash when uncalculated values
10772 are requested from a GimpHistogram. Allow to reset the histogram
10773 by calling gimp_histogram_calculate() with a NULL region.
10775 * app/widgets/gimphistogrambox.[ch]: renamed the GimpHistogramView
10776 struct member to "view".
10778 * app/tools/gimpthresholdtool.c: changed accordingly.
10780 * app/widgets/gimphistogramview.[ch] (gimp_histogram_view_events):
10781 return TRUE when events were handled.
10783 * app/tools/Makefile.am
10784 * app/tools/gimp-tools.c
10785 * app/tools/gimphistogramtool.[ch]: removed the histogram tool.
10787 * app/widgets/Makefile.am
10788 * app/widgets/gimphelp-ids.h
10789 * app/widgets/widgets-types.h
10790 * app/widgets/gimphistogrameditor.[ch]: added GimpHistogramEditor.
10791 Has some rough edges still...
10793 * app/gui/dialogs-constructors.[ch]
10794 * app/gui/dialogs.c
10795 * app/gui/image-menu.c: register the new dialog instead of the
10798 2003-10-31 Sven Neumann <sven@gimp.org>
10800 * plug-ins/common/wmf.c: made multi-head safe. The whole tree
10801 compiles with GDK_MULTIHEAD_SAFE now.
10803 2003-10-31 Sven Neumann <sven@gimp.org>
10805 * tools/gimp-remote.c: made multi-head safe. Let GTK+ parse the
10806 command-line before checking for application-specific parameters.
10808 * docs/gimp-remote-1.3.in: document the --display command-line option.
10810 2003-10-31 Michael Natterer <mitch@gimp.org>
10812 * app/tools/gimpmovetool.c: some cleanup.
10814 (gimp_move_tool_button_press): removed #if 0'ed experimental cruft
10815 and the #warning about it.
10817 2003-10-31 Michael Natterer <mitch@gimp.org>
10819 * app/tools/gimpfliptool.c (gimp_flip_tool_transform): should
10820 actually call gimp_item_flip() on the path to transform.
10823 * app/tools/gimptransformtool.c (gimp_transform_tool_notify_type):
10824 if the transform tool is in the CREATING state, don't skip the
10825 whole callback but still copy the transform type and direction
10826 from the options to the tool. Fixes preview of transformed paths.
10828 2003-10-30 Michael Natterer <mitch@gimp.org>
10830 * libgimpwidgets/gimpsizeentry.c: moved all signal emissions to
10831 their resp update() functions (e.g. "value_changed" is emitted
10832 from gimp_size_entry_value_update() now). Should fix all bugs ;)
10833 for the cost of a few extra signal emissions. We definitely
10834 emitted too few signals before so it's at least less broken.
10835 Removed "gboolean value_boundaries" stuff because this fix should
10836 always update the reference values correctly now.
10838 2003-10-30 Michael Natterer <mitch@gimp.org>
10840 * app/tools/gimp-tools.c (gimp_tools_init): made Dodge/Burn the
10841 last paint tool, so Convolve and Smudge are together.
10843 2003-10-30 Sven Neumann <sven@gimp.org>
10845 * app/base/gimphistogram.[ch] (gimp_histogram_get_count): added a
10846 missing GimpHistogramChannel parameter. Fixes wrong values in the
10849 * app/base/levels.c
10850 * app/base/lut-funcs.c
10851 * app/pdb/color_cmds.c
10852 * tools/pdbgen/pdb/color.pdb: changed accordingly.
10854 * app/tools/gimphistogramtool.c: update the histogram statistics
10855 on channel changes.
10857 2003-10-29 Sven Neumann <sven@gimp.org>
10859 * app/gui/preferences-dialog.c: increased vertical spacing.
10861 2003-10-28 Sven Neumann <sven@gimp.org>
10863 * app/display/gimpdisplayshell-callbacks.c
10864 * app/display/gimpdisplayshell-layer-select.c
10865 * app/widgets/gimpcontainerpopup.c
10866 * app/widgets/gimphistogramview.c
10867 * app/widgets/gimpnavigationpreview.c
10868 * libgimpwidgets/gimpcolorselect.c
10869 * libgimpwidgets/gimpoffsetarea.c
10870 * libgimpwidgets/gimppickbutton.c: use multihead safe variants of
10871 the unsafe functions gdk_pointer_ungrab(), gdk_keyboard_ungrab()
10872 and gdk_device_get_core_pointer().
10874 * plug-ins/libgck/gck/gck.h
10875 * plug-ins/libgck/gck/gckcolor.c: made libgck multi-head safe.
10877 * plug-ins/Lighting/lighting_ui.c
10878 * plug-ins/MapObject/mapobject_preview.c
10879 * plug-ins/MapObject/mapobject_ui.c: changed accordingly.
10881 * plug-ins/common/animationplay.c
10882 * plug-ins/common/curve_bend.c
10883 * plug-ins/gfig/gfig.c
10884 * plug-ins/imagemap/imap_preview.c: use multihead safe GDK API.
10886 2003-10-29 Michael Natterer <mitch@gimp.org>
10888 * app/display/gimpdisplayshell-callbacks.c
10889 (gimp_display_shell_tool_events): call
10890 tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY,
10891 GDK_LEAVE_NOTIFY, GDK_PROXIMITY_IN and GDK_PROXIMITY_OUT so the
10892 active tool's state is updated when the current device
10893 enters/leaves the canvas area.
10895 * app/tools/gimpmovetool.[ch]: added GimpTool::oper_update() and
10896 prelight the guide which will be moved there. Prelight the guide
10897 only while the while the cursor is in the guide's sensitive area,
10898 not until another guide is selected.
10899 Feels better and fixes bug #125474.
10901 Removed "guide_disp" member from the GimpMoveTool because
10902 GipmTool::oper_update() is called reliably now and we don't need
10903 to worry about guide prelighting across different displays any
10906 (gimp_move_tool_cursor_update): removed guide prelighting code,
10907 cleaned up and simplified.
10909 (gimp_move_tool_button_press): never activate the tool after
10910 calling init_edit_selection(). Fixes more tool control warnings.
10912 * app/display/gimpdisplay-foreach.[ch]: removed
10913 gdisplays_check_valid().
10915 2003-10-27 Helvetix Victorinox <helvetix@gimp.org>
10917 * app/composite/gimp-composite-regression.c: Added functions to
10918 print the pixels in their various formats.
10920 * app/composite/gimp-composite-{mmx,sse,sse2,altivec,vis}.c:
10923 * app/composite/gimp-composite-{mmx,sse,sse2}.c: Removed the dodge
10924 optimisation because it has the same problem that the divide
10927 * app/composite/make-install.py: When generating tests, use a
10928 pixel field of random values.
10930 2003-10-27 Sven Neumann <sven@gimp.org>
10932 * app/text/Makefile.am
10933 * app/text/gimptextlayer-xcf.[ch]: new files that load and save
10934 text layers to/from XCF.
10936 * app/xcf/xcf-load.c
10937 * app/xcf/xcf-save.c
10938 * app/text/gimptextlayer.c: removed that code here and use the new
10941 * app/text/gimptext-parasite.[ch] (gimp_text_from_parasite): added
10942 a GError parameter.
10944 * app/text/gimptextlayer.[ch]: store the name of the parasite that
10945 the text layer was created from (if read from XCF). Remove the
10946 parasite when the text layer is edited. If a text layer wasn't
10947 touched, the original parasite is written back to the XCF file.
10949 * app/text/gimptextlayout.c (gimp_text_layout_new): handle a NULL
10952 * app/tools/gimptextoptions.c: implement GimpToolOptions::reset
10953 and save the text across a reset.
10955 2003-10-27 Michael Natterer <mitch@gimp.org>
10957 * app/widgets/gimpdock.c (gimp_dock_style_set): call
10958 gimp_dock_separator_realize() on all drop separators so their
10959 color follows the theme change. Fixes bug #119735.
10961 2003-10-27 Michael Natterer <mitch@gimp.org>
10963 * app/widgets/gimperrorconsole.c (gimp_error_console_add): scroll
10964 to the added message.
10966 2003-10-27 Michael Natterer <mitch@gimp.org>
10968 * libgimpwidgets/gimphelpui.c: stop using the deprecated
10969 GtkTipsQuery widget for context help and implement the needed part
10970 of its functionality using a grab on a GtkInvisible. Should stop
10971 GIMP crashing with Gtk+ HEAD.
10973 * libgimpwidgets/gimphelpui.[ch] (gimp_context_help): requires
10974 a GtkWidget parameter now (finding the correct GdkScreen).
10976 * app/gui/help-commands.c (help_context_help_cmd_callback):
10977 changed accordingly.
10979 2003-10-26 Michael Natterer <mitch@gimp.org>
10981 * app/gui/gui.c (gui_libs_init): resurrected the runtime check for
10982 the required Gtk+ version. Depend on Gtk+ >= 2.2.2 and abort if
10983 the requirement is not met. This is mainly for catching packaging
10984 errors, as we already compile-time require Gtk+ 2.2.2.
10986 * app/widgets/gimpcontainergridview.c
10987 * app/widgets/gimpcontainertreeview.c: removed #warnings and
10988 workarounds for bugs in Gtk+ < 2.2.2.
10990 * app/widgets/gimpcontainertreeview.c: replaced the #warning about
10991 the pending fix for bug #115871 by a #warning plus runtime check
10992 for Gtk+ >= 2.2.3. Did some general cleanups.
10994 2003-10-26 Henrik Brix Andersen <brix@gimp.org>
10996 * themes/Default/images/preferences/Makefile.am: really committed
10997 the change this time
10999 2003-10-26 Henrik Brix Andersen <brix@gimp.org>
11001 * gimp/app/widgets/gimphelp-ids.h
11002 * gimp/app/gui/preferences-dialog.c:
11003 - moved all session related settings to a new Session Management page
11004 - moved Web Browser setting to Help System page
11005 - changed Configure Input Devices to Configure Extended Input Devices
11007 * gimp/themes/Default/images/preferences/Makefile.am
11008 * gimp/themes/Default/images/preferences/session.png: re-added
11011 * gimp/app/widgets/gimpdevices.h
11012 * gimp/app/widgets/gimpdevices.c (gimp_devices_clear): function
11013 added to be consistent with the rest of the session management
11014 routines. This function needs to be filled in.
11016 * gimp/app/widgets/gimptemplateeditor.c
11017 * gimp/app/widgets/gimpgrideditor.c: fixed spacing between widgets
11019 2003-10-26 Sven Neumann <sven@gimp.org>
11021 * app/text/gimptext.[ch]
11022 * app/text/gimptextlayout.c: added back "box-unit" property; it
11023 makes sense to have an extra unit for it.
11025 2003-10-26 Sven Neumann <sven@gimp.org>
11027 * app/config/gimpconfig-deserialize.c
11028 (gimp_config_deserialize_fundamental): handle negative float and
11029 double values similar to how this is done for integers and the
11032 * app/config/gimpconfig-params.h: added two new param flags and
11033 documented all flags in the header file (for now).
11035 * app/config/gimpconfig-serialize.h: handle the new param flags
11036 GIMP_PARAM_DEFAULTS and GIMP_PARAM_IGNORE.
11038 * app/text/text-enums.[ch]
11039 * app/text/gimptext.[ch]: added some properties that we will need
11040 sooner or later. Mark the new properties and a lot of the existing
11041 ones as GIMP_PARAM_DEFAULTS so that their values are not
11042 serialized unless changed from the default value.
11044 * app/text/gimptextlayout.c
11045 * app/tools/gimptextoptions.c: made all length properties in
11046 GimpText depend on a single unit.
11048 2003-10-26 Simon Budig <simon@gimp.org>
11050 * tools/authorsgen/contributors: Fixed/Added some UTF-8 encoded
11051 names. Please speak up if I did mess up your name.
11054 * app/gui/authors.h: regenerated.
11056 2003-10-25 Sven Neumann <sven@gimp.org>
11058 * app/config/gimpconfig-dump.c: corrected the source of the
11059 man-page; it's not any longer created by gimpconfig-dump, but by
11060 'gimp --dump-gimprc-manpage'.
11062 * docs/gimp-1.3.1.in
11063 * app/main.c (gimp_show_help): Reordered command-line options and
11064 documented the new --dump-gimprc option.
11066 2003-10-25 Sven Neumann <sven@gimp.org>
11068 * app/tools/tools-enums.[ch]: added GIMP_COLOR_PICK_MODE_NONE to
11069 the GimpColorPickMode enum.
11071 * app/tools/gimpcolorpickeroptions.[ch]: removed "update-toolbox"
11072 property; the new enum value serves this role better.
11074 * app/tools/gimpcolorpickertool.c: handle the new enum value.
11076 * app/tools/gimpcolortool.c: default to GIMP_COLOR_PICK_MODE_NONE.
11077 Don't set a cursor modifier for this value. Fixes tool cursor for
11078 levels and curves tools.
11080 * app/tools/gimppainttool.[ch]: added a function to conveniently
11081 enable the color picker and set the pick mode at the same time.
11083 * app/tools/gimpairbrushtool.c
11084 * app/tools/gimppaintbrushtool.c
11085 * app/tools/gimppenciltool.c
11086 * app/tools/gimpsmudgetool.c: use the new function.
11088 * app/tools/gimperasertool.c: enabled color picking in the eraser
11089 tool but set the mode to GIMP_COLOR_PICK_MODE_BACKGROUND.
11091 2003-10-25 Sven Neumann <sven@gimp.org>
11093 * app/config/gimpconfig-utils.[ch] (gimp_config_connect): make it
11094 a two-way connection and added a property_name parameter so it
11095 can be used to connect only a certain property.
11097 * app/tools/gimptexttool.c: changed accordingly.
11099 * app/tools/gimphistogramoptions.c: use gimp_config_connect().
11100 Changed the default histogram scale to linear.
11102 2003-10-25 DindinX <david@dindinx.net>
11104 * plug-ins/gimpressionist/Makefile.am: added a real dependency for
11105 gimpressionist.c on logo-pixbuf.h.
11107 2003-10-25 Sven Neumann <sven@gimp.org>
11109 * configure.in (ALL_LINUGUAS): added "ms" (Malay) now that all po
11112 (PANGOFT2_REQUIRED_VERSION) depend on PangoFT2 >= 1.2.2. There are
11113 a couple of bug-fixes that are needed to make the text tool work.
11114 Actually you should use at least version 1.2.4.
11116 (GTK_REQUIRED_VERSION): depend on GTK+ >= 2.2.2. Earlier versions
11117 had bugs that we don't want to work around any longer.
11119 * INSTALL: document this change.
11121 * app/gui/gui.c (gui_post_init): removed the GTK+ version check.
11123 * app/text/gimptext.[ch]: added properties for letter spacing and
11124 kerning for compatibility with future GIMP versions implementing
11127 2003-10-25 Sven Neumann <sven@gimp.org>
11129 * plug-ins/gimpressionist/Makefile.am: fixed(?) dependencies.
11131 2003-10-25 Sven Neumann <sven@gimp.org>
11133 * plug-ins/common/jpeg.c: disable the progress bar when loading a
11134 preview for the JPEG dialog.
11136 2003-10-24 Sven Neumann <sven@gimp.org>
11138 * plug-ins/gimpressionist/logo.xpm: removed again. The XPM format
11141 * plug-ins/gimpressionist/Makefile.am
11142 * plug-ins/gimpressionist/logo.png: added the logo as PNG file and
11143 added Makfile rules to create an inline pixbuf as logo-pixbuf.h.
11145 * plug-ins/gimpressionist/gimpressionist.c: changed accordingly.
11147 2003-10-24 Maurits Rijk <lpeek.mrijk@consunet.nl>
11149 * plug-ins/gimpressionist/about.c: removed...
11150 * plug-ins/gimpressionist/logo.xpm: and replaced by new .xpm file so
11151 that we don't need deprecated GtkPreview widget anymore.
11152 * plug-ins/gimpressionist/Makefile.am: changed accordingly
11154 * plug-ins/gimpressionist/*.[ch]: replaced gtk_tooltips_set_tip by
11155 gimp_help_set_help_data so that tooltips will not be shown when
11156 disabled in the GIMP Preferences.
11158 2003-10-24 Dave Neary <bolsh@gimp.org>
11160 * tools/pdbgen/pdb/paths.pdb: Applied a patch from
11161 Wolfgang Hofer <hof@gimp.org> to make gimp_path_get_points
11162 behave the same as in 1.2.x. Closes bug #125008.
11164 2003-10-24 Jakub Steiner <jimmac@ximian.com>
11166 * themes/Default/images/stock-histogram-linear-16.png
11167 * themes/Default/images/stock-histogram-logarithmic-16.png:
11168 touched up a tiny little bit
11170 2003-10-24 Maurits Rijk <lpeek.mrijk@consunet.nl>
11172 * plug-ins/gfig/gfig_*.[ch]: removed
11173 * plug-ins/gfig/gfig-*.[ch]: added. Changed all underscores in
11174 filenames to hyphens. More code-cleanup.
11175 * plug-ins/gfig/Makefile.am: updated accordingly
11177 2003-10-24 Sven Neumann <sven@gimp.org>
11179 * app/errors.c (gimp_errors_init): fixed spelling of The GIMP.
11181 * app/widgets/gimphistogramview.c: code cleanup.
11183 2003-10-24 Sven Neumann <sven@gimp.org>
11185 * app/tools/Makefile.am
11186 * app/tools/gimphistogramoptions.[ch]: new tool options class
11187 GimpHistogramOptions, derived from GimpColorOptions.
11189 * app/tools/gimpcoloroptions.c (gimp_color_options_gui): add
11190 gimp_histogram_options_gui() when called with GimpHistogramOptions.
11191 This a bit weird since the class hierarchy is the other way around
11192 but it makes things easier.
11194 * app/tools/gimphistogramtool.c
11195 * app/tools/gimplevelstool.c
11196 * app/tools/gimpthresholdtool.c: use GimpHistogramOptions and
11197 connect the histogram views to the "histogram-scale" property.
11198 Perhaps not perfect GUI-wise but it let's you choose the histogram
11199 scale and stores this setting per tool. Fixes bug #125306.
11201 * app/widgets/gimphistogramview.c: prefixed property names with
11202 "histogram-" so they match the GimpHistogramOptions property.
11204 * app/widgets/gimphistogrambox.c: minor cleanup.
11206 2003-10-24 Sven Neumann <sven@gimp.org>
11208 * themes/Default/images/Makefile.am
11209 * themes/Default/images/stock-histogram-linear-16.png
11210 * themes/Default/images/stock-histogram-logarithmic-16.png:
11211 added placeholders for new icons.
11213 * libgimpwidgets/gimpstock.[ch]: register the new icons.
11215 * app/tools/gimphistogramtool.c: made the dialog more compact by
11216 using a stock-box for the histogram scale.
11218 * app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
11219 don't invert the histogram view if the full range is selected.
11221 * app/widgets/gimphistogrambox.c: moved the range widgets below
11224 * app/config/gimpconfig-params.h: added macro
11225 GIMP_CONFIG_INSTALL_PROP_RESOLUTION() that installs a double
11226 property with the suitable range.
11228 * app/core/gimptemplate.c
11229 * app/config/gimpdisplayconfig.c: use it here.
11231 2003-10-23 Helvetix Victorinox <helvetix@gimp.org>
11233 * app/composite/gimp-composite-3dnow.c:
11234 Incorrectly reported the inverse of whether not the 3dNow
11235 instruction set is supported by the current CPU.
11237 * app/composite/gimp-composite-{mmx,sse}.c:
11238 Removed linkage of gimp_composite_divide_*. Something is
11239 inexplicably broken, and this will get people working again
11240 while I debug. This should close bug #125101.
11242 2003-10-23 Sven Neumann <sven@gimp.org>
11244 * plug-ins/common/sample_colorize.c: made debugging output
11245 conditional and fixed some user-visible strings.
11247 2003-10-23 Sven Neumann <sven@gimp.org>
11249 * app/widgets/gimppropwidgets.c: setup size entries in the order
11250 suggested by the GimpSizeEntry documentation.
11252 * libgimpwidgets/gimpsizeentry.c: added an internal flag so the
11253 size entry knows if the boundaries are set on the value or on the
11254 reference value. Needed to make gimp_size_entry_update_unit() do
11257 2003-10-23 Henrik Brix Andersen <brix@gimp.org>
11259 * gimp/app/display/gimpdisplayoptions.c
11260 * gimp/app/config/gimprc-blurbs.h: added blurbs to the remaining
11261 properties of GimpDisplayOptions and GimpDisplayOptionsFullscreen
11263 2003-10-23 Jakub Steiner <jimmac@ximian.com>
11265 * themes/Default/images/stock-tools-16.png
11266 * themes/Default/images/stock-tools-24.png: make the outline
11269 2003-10-23 Sven Neumann <sven@gimp.org>
11271 * app/widgets/gimppropwidgets.[ch] (gimp_prop_size_entry_new): take
11272 the boundaries from the GParamSpec instead of hardcoding them.
11273 Added a utility function to reduce code duplication.
11275 2003-10-23 Sven Neumann <sven@gimp.org>
11277 * app/widgets/gimpimagedock.c (gimp_image_dock_init): set a
11278 tooltip on the "Auto" button since it isn't obvious what it does.
11280 2003-10-23 Sven Neumann <sven@gimp.org>
11282 * themes/Default/images/Makefile.am
11283 * themes/Default/images/stock-tools-[16|24].png
11284 * themes/Default/images/stock-device-status-24.png
11285 * themes/Default/images/stock-tool-options-24.png: new icons drawn
11288 * libgimpwidgets/gimpstock.[ch]: register the new icons.
11290 * app/gui/dialogs-constructors.c
11291 * app/gui/dialogs-menu.c: use the new GIMP_STOCK_TOOLS icon.
11293 * app/gui/image-menu.c
11294 * app/gui/toolbox-menu.c: add the Tools dialog entry here as well.
11296 * app/widgets/gimphelp-ids: s/TOOL_DIALOG/TOOLS_DIALOG/.
11298 2003-10-23 Michael Natterer <mitch@gimp.org>
11300 * app/display/gimpdisplayshell-appearance.c
11301 (gimp_display_shell_set_padding): avoid potential crash (access
11302 pointer *after* precondition check).
11304 2003-10-23 Michael Natterer <mitch@gimp.org>
11306 * app/gui/preferences-dialog.c (prefs_display_options_frame_add):
11307 properly align the toggle button columns by packing their
11308 containers expanding, removed ascii art, cleanup.
11310 2003-10-23 Henrik Brix Andersen <brix@gimp.org>
11312 * gimp/app/display/gimpdisplayoptions.[ch]: changed
11313 PROP_SHOW_ACTIVE_LAYER to PROP_SHOW_LAYER_BOUNDARY to be
11314 consistent with the user interface
11316 * gimp/app/display/gimpdisplayshell-appearance.c
11317 * gimp/app/display/gimpdisplayshell-callbacks.c
11318 * gimp/app/gui/preferences-dialog.c
11319 * gimp/app/gui/image-menu.c: changed accordingly
11321 2003-10-23 Sven Neumann <sven@gimp.org>
11323 * app/widgets/gimptooldialog.c (gimp_tool_dialog_new): fixed
11324 inline documentation.
11326 2003-10-22 Simon Budig <simon@gimp.org>
11328 * app/tools/gimpvectortool.c: Changed the priority
11329 of ALT vs. CTRL. Resolves an small issue with (broken)
11330 window managers that grab ALT. Implements the suggestion
11331 from Raymond Ostertag in bug #124971.
11333 2003-10-22 Dave Neary <bolsh@gimp.org>
11335 * plug-ins/gfig/gfig.c: Bumped version number to 2.0. Closes
11338 2003-10-22 Dave Neary <bolsh@gimp.org>
11340 * app/gui/preferences-dialog.c: Add outstanding display options to
11341 preferences dialog.
11343 2003-10-22 Sven Neumann <sven@gimp.org>
11345 * app/config/gimprc-blurbs.h
11346 * app/display/gimpdisplayoptions.h: don't set separate blurbs for
11347 the fullscreen options. It only means extra work for the translators
11348 without much (if any) value.
11350 2003-10-22 Sven Neumann <sven@gimp.org>
11352 * app/display/Makefile.am
11353 * app/display/gimpdisplayoptions.[ch]: new files that implement
11354 a GimpConfig object with GimpDisplayShell and GimpCanvas options.
11355 Actually two classes, one for the normal view, a derived one with
11356 different default values for fullscreen mode.
11358 * app/display/display-enums.[ch]: renamed GimpDisplayPadding enum
11359 to GimpCanvasPadding.
11361 * app/config/config-types.h: added the GimpDisplayOptions typedef.
11363 * app/config/gimprc-blurbs.h
11364 * app/config/gimpdisplayconfig.[ch]: replaced a bunch of properties
11365 with two instances of GimpDisplayOptions.
11367 * app/display/gimpdisplayshell.[ch]: replaced the
11368 GimpDisplayShellAppearance struct with GimpDisplayOptions.
11370 * app/display/gimpdisplayshell-appearance.[ch]
11371 * app/display/gimpdisplayshell-callbacks.c
11372 * app/display/gimpdisplayshell-handlers.[ch]
11373 * app/gui/image-menu.c: changed accordingly.
11375 * app/gui/preferences-dialog.c: added a convenience function that
11376 creates a view on a GimpDisplayOptions object. Not all values are
11377 configurable here yet.
11379 * docs/gimprc-1.3.5.in
11380 * etc/gimprc: regenerated to document the gimprc format changes.
11382 2003-10-22 Sven Neumann <sven@gimp.org>
11384 * app/widgets/gimpwidgets-utils.[ch]: added new function
11385 gimp_rgb_set_gdk_color().
11387 * app/config/gimprc.c (gimp_rc_load): unlinking the broken gimprc
11388 doesn't really help so don't do it. GIMP will continue to complain
11389 until the gimprc is fixed.
11391 2003-10-22 Sven Neumann <sven@gimp.org>
11393 * app/core/gimptemplate.c: no need to reimplement the default
11394 GimpConfigInterface implementation.
11396 * app/config/gimpcoreconfig.c: renamed notify handlers.
11398 2003-10-21 Dave Neary <bolsh@gimp.org>
11400 * app/core/gimpimage-convert.c: Applied a slightly modified
11401 patch from Vesa Halttunen <vesuri@jormas.com> to sort generated
11402 optimum palettes. Closes bug #119824.
11404 2003-10-21 Sven Neumann <sven@gimp.org>
11406 * base/base.c (base_init)
11407 * app/errors.c (gimp_errors_init): moved the message about
11408 possible debug messages to gimp_errors_init() so that it appears
11409 before any startup debug output.
11411 * app/app_procs.c (app_init): register a log handler for the
11412 GimpConfig log domain.
11414 * app/widgets/gimpwidgets-utils.c (gimp_message_box)
11415 * app/core/gimp.c (gimp_message): added an extra newline when
11416 sending messages to stderr. Don't output the full progname for
11417 messages; use a simple "GIMP" like the GUI message handler does.
11419 * app/gui/user-install-dialog.c: removed function copy_file()...
11421 * app/config/gimpconfig-utils.[ch]: ... and added it here as
11422 gimp_config_file_copy(). Also added utility function
11423 gimp_config_file_backup_on_error().
11425 * app/config/gimprc.c (gimp_rc_load): if the user gimprc can't be
11426 parsed, create a backup and if that succeeds unlink the broken one
11427 to cure the problem.
11429 * app/gui/session.c: create a backup if sessionrc can't be parsed.
11431 * config/gimpconfig-deserialize.c (gimp_config_deserialize_properties):
11432 don't set an error when token is G_TOKEN_NONE; it should already
11435 2003-10-21 Michael Natterer <mitch@gimp.org>
11437 * app/widgets/gimpdocked.[ch]: added new virtual function
11438 GimpDocked::get_title() which returns a custom title. Added signal
11439 "title_changed". Added public wrappers around the new stuff.
11441 * app/widgets/gimpdockable.c: implement GtkContainer::add() and
11442 ::remove() and connect to the child's "title_changed" signal. Use
11443 the GimpDocked's title if it provides one.
11445 * app/widgets/gimptooloptionseditor.c: implement
11446 GimpDocked::get_title() and return e.g. "Paintbrush Options". Emit
11447 "title_changed" when the active tool changes. Simplified
11448 GimpDocked::get_preview()'s implementation a lot since it does not
11449 include a label any more.
11451 2003-10-21 Sven Neumann <sven@gimp.org>
11453 * app/tools/gimpcoloroptions.c: changed the default value for
11454 "sample_average" to TRUE (for Levels and Curves tools).
11456 * app/tools/gimpcolorpickeroptions.c: override the default value
11457 for "sample_average" and set it back to FALSE (for Color Picker).
11459 2003-10-21 Sven Neumann <sven@gimp.org>
11461 * app/widgets/gimptooldialog.c: documented gimp_tool_dialog_new().
11463 2003-10-21 Sven Neumann <sven@gimp.org>
11465 * plug-ins/common/align_layers.c: don't include the plug-in name
11466 in error messages; GIMP takes care of that for us.
11468 2003-10-21 Sven Neumann <sven@gimp.org>
11470 * app/base/base.c (base_init): removed the call to
11471 cpu_accel_print_results(); should have got enough testing and
11472 gimp-composite outputs the same info anyway.
11474 * app/Makefile.am: link libappcomposite.a before libappbase.a.
11476 * app/config/Makefile.am (test_config_LDADD): it's not any longer
11477 needed to link the test against libappdisplay. and libappwidgets.a.
11479 2003-10-21 Sven Neumann <sven@gimp.org>
11481 * app/widgets/gimpvectorstreeview.c: implement
11482 GimpItemTreeView::set_image and set the sensitivity of the
11483 "Selection To Path" button from there. Fixes bug #125058.
11485 2003-10-20 Tor Lillqvist <tml@iki.fi>
11487 * libgimpbase/gimpenv.c (gimp_directory): Fix bug that was
11488 introduced when the call to g_strconcat() was replaced with a call
11489 to g_build_filename(). The per-user directory in
11490 gimp_data_directory() (which mainly is used on Windows when no
11491 home directory can be found) is supposed to be
11492 ".gimp-1.3.<username>", not ".gimp-1.3./<username>".
11494 2003-10-20 Sven Neumann <sven@gimp.org>
11496 * app/widgets/Makefile.am
11497 * app/widgets/gimptooldialog.[ch]: added a simple utility function
11498 gimp_tool_dialog_new() that creates a GimpVieawableDialog based on
11499 GimpToolInfo and registers it with the toplevel dialog factory.
11501 * app/tools/gimpbrightnesscontrasttool.c
11502 * app/tools/gimpcolorbalancetool.c
11503 * app/tools/gimpcolorizetool.c
11504 * app/tools/gimpcolorpickertool.c
11505 * app/tools/gimpcurvestool.c
11506 * app/tools/gimphistogramtool.c
11507 * app/tools/gimphuesaturationtool.c
11508 * app/tools/gimpimagemaptool.[ch]
11509 * app/tools/gimplevelstool.c
11510 * app/tools/gimpmeasuretool.c: use the new functionality; removed
11511 the shell_identifier since it can be created from the tool name.
11513 * app/tools/gimpperspectivetool.c
11514 * app/tools/gimpposterizetool.c
11515 * app/tools/gimprotatetool.c
11516 * app/tools/gimpscaletool.c
11517 * app/tools/gimpsheartool.c
11518 * app/tools/gimpthresholdtool.c
11519 * app/tools/gimptransformtool.[ch]: removed the shell_identifier
11520 here as well. Should also be ported to gimp_tool_dialog_new().
11522 * NEWS: removed stuff that isn't new at all.
11524 2003-10-20 Dave Neary <bolsh@gimp.org>
11526 * NEWS: Updated the NEWS file.
11528 2003-10-20 Sven Neumann <sven@gimp.org>
11530 * app/tools/gimpmeasuretool.[ch]: don't use InfoDialog; always
11531 display pixels and real-world units in the info window.
11533 2003-10-20 Sven Neumann <sven@gimp.org>
11535 * app/core/gimpobject.c (gimp_object_name_collate): must use
11536 strcmp() not strcoll() on the collation keys obtained from
11537 g_utf8_collate_key().
11539 2003-10-19 Maurits Rijk <lpeek.mrijk@consunet.nl>
11541 * plug-ins/gfig/Makefile.am
11542 * plug-ins/gfig/gfig_dobject.c: new file. More code split from gfig.c
11543 to a seperate file.
11545 * plug-ins/gfig/gfig_dobject.h
11546 * plug-ins/gfig/gfig_*.c
11547 * plug-ins/gfig/gfig.[ch]: More clean-up
11549 2003-10-19 Sven Neumann <sven@gimp.org>
11551 * app/tools/gimpcropoptions.c
11552 * app/tools/gimpmoveoptions.c: revert back to "Current".
11554 * app/tools/tools-enums.[ch]: removed "Active" from the enum value
11555 descriptions; it was misleading.
11557 2003-10-19 Sven Neumann <sven@gimp.org>
11559 * app/widgets/gimppropwidgets.c (gimp_prop_enum_radio_frame_new)
11560 (gimp_prop_boolean_radio_frame_new): attach the first radio button
11561 as object data to the returned frame.
11563 * app/tools/gimpmoveoptions.c: change labels and sensitivity of
11564 the Tool Toggle frame depending on the selected move-type.
11566 * app/tools/gimpcropoptions.c: use the term "Active Layer" instead
11567 of "Current Layer". Please object if you dislike this change.
11569 2003-10-19 Maurits Rijk <lpeek.mrijk@consunet.nl>
11571 * plug-ins/gfig/Makefile.am
11572 * plug-ins/gfig/gfig_*.[ch]: new files split from gfig.c
11574 * plug-ins/gfig/gfig.c: fix for #124158 (always show both the Paint
11575 and Select Tab). Also first attempt to split this hug file into
11576 smaller pieces to make this plug-in a bit more manageable.
11578 2003-10-19 Sven Neumann <sven@gimp.org>
11580 * app/config/Makefile.am
11581 * app/config/test-config.c: it became impossible to link the test
11582 because the GimpRc class pulls in too many symbols. Changed it to
11583 use a GimpGrid object instead.
11585 * app/core/gimpgrid.[ch]: reordered properties so they match the
11586 order they appear in the grid dialog.
11588 2003-10-18 Sven Neumann <sven@gimp.org>
11590 * app/widgets/gimpdbockbook.c: removed the "Select Tab" menu and
11591 all the evil hacks that were needed to make it work. Now that we
11592 have an extra dockable menu, the standard menu from GTK+ is good
11595 * app/widgets/gimpdockable.c: added a tooltip to the close button
11596 and removed code that used to hide the "Select Tab" menu.
11598 * app/gui/dialogs-menu.c (dialogs_menu_entries): removed now unused
11599 "Select Tab" entry.
11601 2003-10-18 Dave Neary <bolsh@gimp.org>
11603 * plug-ins/common/despeckle.c
11604 * plug-ins/common/gqbist.c
11605 * plug-ins/imagemap/imap_main.c
11606 * plug-ins/maze/maze.c
11607 * plug-ins/maze/maze.h
11608 * plug-ins/maze/maze_face.c
11609 * plug-ins/script-fu/scripts/burn-in-anim.scm
11610 * plug-ins/script-fu/scripts/spyrogimp.scm: Made several strings
11611 translateable, and removed version numbers from window titles and
11612 plug-in names, following suggestions from Raymond Ostertag.
11613 This closes bug #124600.
11615 2003-10-18 Michael Natterer <mitch@gimp.org>
11617 * app/tools/gimperasertool.c (gimp_eraser_options_gui): changed
11618 the "Anti Erase" toggle key from <control> to <alt> because
11619 <shift> and <control> are used by straight_line mode and should
11620 behave consistently across all paint tools.
11622 2003-10-18 Michael Natterer <mitch@gimp.org>
11624 * app/widgets/gimpitemtreeview.c
11625 (gimp_item_tree_view_docked_iface_init): need to set
11626 docked_iface->get_preview to NULL explicitly now that the
11627 interface vtable inheriting is fixed (the layers, channels and
11628 paths dialogs can't show preview tabs because they don't always
11631 * app/widgets/gimpimagedock.c (gimp_image_dock_get_aux_info):
11632 fixed typo: s/auctive/active/. Added #defines for the magic
11633 aux-info identifiers to avoid bugs like that.
11635 * app/widgets/gimpcoloreditor.c
11636 * app/widgets/gimpdataeditor.c
11637 * app/widgets/gimppaletteeditor.c. added #defines for aux-info
11638 identifiers here, too.
11640 2003-10-18 Sven Neumann <sven@gimp.org>
11642 * app/gui/templates-commands.[ch] (templates_new_template_dialog):
11643 added an (unused) GimpTemplate parameter to make this function
11644 match the GimpTemplateActionFunc signature.
11646 2003-10-18 Michael Natterer <mitch@gimp.org>
11648 * app/text/gimp-fonts.c (gimp_fonts_load): added
11649 gimp_container_freeze() / _thaw() around font list reloading.
11651 * app/tools/gimp-tools.c (gimp_tools_init): added missing
11652 gimp_container_freeze().
11654 * app/widgets/gimpcontainerview.c: connect to the container's
11655 "freeze" and "thaw" signals and empty / refill the view
11656 accordingly. Ignore "add", "remove" and "reorder" signals while
11657 the container is frozen. Fixes font list sorting after refresh and
11658 speeds up refreshing of fonts, brushes, patterns etc.
11660 * app/widgets/Makefile.am
11661 * app/widgets/widgets-types.h
11662 * app/widgets/gimpfontview.[ch]: new widget for the font list/grid.
11664 * app/widgets/gimphelp-ids.h: added GIMP_HELP_FONT_REFRESH.
11666 * app/gui/dialogs-constructors.c: changed accordingly.
11668 * app/gui/Makefile.am
11669 * app/gui/fonts-commands.[ch]
11670 * app/gui/fonts-menu.[ch]: new files: a menu for the font view.
11672 * app/gui/menus.c (menus_init): register the new <Fonts> menu.
11674 * app/gui/preferences-dialog.c (prefs_dialog_new): removed the
11675 fonts refreshing hack from the "Environment" page.
11677 2003-10-17 Sven Neumann <sven@gimp.org>
11679 * app/widgets/gimpcontainerview.c (gimp_container_view_get_preview):
11680 we have a bug somewhere; this function shouldn't be called for a
11681 view w/o a container. Added a g_return_if_fail() to avoid a crash.
11683 2003-10-17 Sven Neumann <sven@gimp.org>
11685 * plug-ins/gfig/gfig.c: reverted most of Maurits changes (not the
11686 bug-fix though). The tentative feature freeze we are in also
11687 implies a string freeze. It's too late for such massive string
11690 2003-10-17 Maurits Rijk <lpeek.mrijk@consunet.nl>
11692 * plug-ins/gfig/gfig.c: commented out code for Lock Grid (which
11693 wasn't implemented). Fixes #124157.
11695 2003-10-17 Sven Neumann <sven@gimp.org>
11697 * app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): according to an
11698 older mail from Owen, GDK_ACTION_DEFAULT means nothing and should
11701 * app/widgets/gimpcontainertreeview-dnd.c
11702 (gimp_container_tree_view_drop_status): pass 0 to gdk_drag_status()
11703 instead of GDK_ACTION_DEFAULT.
11705 2003-10-17 Sven Neumann <sven@gimp.org>
11707 * app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): for file drag
11708 destinations, set GDK_ACTION_DEFAULT and GDK_ACTION_MOVE in
11709 addition to GDK_ACTION_COPY. Enables DND from Konqueror.
11711 2003-10-17 Sven Neumann <sven@gimp.org>
11713 * app/widgets/gimptooloptionseditor.c: gimp_dnd_viewable_dest_add()
11714 calls gtk_drag_dest_set() for us so we don't need to do it here.
11716 2003-10-17 Sven Neumann <sven@gimp.org>
11718 * app/widgets/gimpdnd.c: some minor code cleanup.
11720 * libgimpcolor/gimpcolorspace.c: removed trailing whitespace.
11722 2003-10-16 Dave Neary <bolsh@gimp.org>
11724 * libgimpcolor/gimpcolorspace.c: Corrected mistake - two
11725 definitions of gimp_hsl_value (both static). I changed the
11726 latter to gimp_hsl_value_int.
11728 2003-10-16 Dave Neary <bolsh@gimp.org>
11730 * app/base/color-balance.c
11731 * app/base/hue-saturation.c
11732 * app/composite/gimp-composite-generic.c
11733 * app/paint-funcs/paint-funcs-generic.h
11734 * app/tools/gimphuesaturationtool.c
11735 * libgimpcolor/gimpcolorspace.[ch]: Changed all occurrences of
11736 gimp_rgb_to_hls_int and gimp_hls_to_rgb_int to
11737 gimp_rgb_to_hsl_int and gimp_hsl_to_rgb_int respectively. This
11738 closes bug #124661.
11740 2003-10-16 Sven Neumann <sven@gimp.org>
11742 * libgimpbase/gimpbase.def: added gimp_any_to_utf8.
11744 * app/gui/info-window.c
11745 * app/widgets/gimpcolorframe.c: use "n/a" instead of "N/A".
11747 2003-10-16 Sven Neumann <sven@gimp.org>
11749 * plug-ins/common/xpm.c (load_image): check the return value of
11750 XpmReadFileToXpmImage(). Fixes bug #124766.
11752 2003-10-16 Sven Neumann <sven@gimp.org>
11754 * plug/ins/script-fu/scripts/*.scm: replaced lots of old school
11755 constants with their new names.
11757 2003-10-16 Michael Natterer <mitch@gimp.org>
11759 * libgimpbase/gimputils.[ch] (gimp_any_to_utf8): new function
11760 which takes any string and returns UTF-8 (it returns "(invalid
11761 UTF-8 string)" if all conversion attempts fail).
11763 * app/core/gimpbrush.c
11764 * app/core/gimpgradient.c
11765 * app/core/gimppalette.c
11766 * app/core/gimppattern.c
11767 * app/xcf/xcf-read.c: use it. Fixes bug #79897.
11769 2003-10-16 Michael Natterer <mitch@gimp.org>
11771 * app/widgets/gimppaletteeditor.c: added "realize" and
11772 "size_allocate" callbacks and cleaned up calling of
11773 palette_editor_redraw(). Fixes bug #110356 without a complete
11776 Added GimpDockedInterface::set_aux_info() and get_aux_info()
11777 implementations and rememeber the zoom_factor in sessionrc (mainly
11778 for testing yesterday's fix for interface upchaining).
11780 2003-10-16 Sven Neumann <sven@gimp.org>
11782 * app/config/gimpcoreconfig.c: increased default undo-size to 4 MB.
11784 * app/config/gimprc-blurbs.h (UNDO_SIZE_BLURB): attempt to improve
11785 the description of the undo-size setting.
11787 * app/gui/image-menu.c (image_menu_entries): changed the default
11788 shortcut for Redo from the unergonmic Shift-Ctrl-Z to Ctrl-Y.
11790 2003-10-15 Michael Natterer <mitch@gimp.org>
11792 * app/tools/gimpmoveoptions.c (gimp_move_options_gui): changed
11793 labels of the "Tool Toggle" toggles to document that guides can't
11794 be moved in "Move Current Layer or Path" mode. Fixes bug #124693.
11796 2003-10-15 Michael Natterer <mitch@gimp.org>
11798 * app/gui/dialogs-menu.c (dialogs_menu_update): hide the
11799 "Tab Style" submenu when there is no tab visible (when there is
11800 only one page in the notebook). Fixes bug #124697.
11802 2003-10-15 Michael Natterer <mitch@gimp.org>
11804 * app/widgets/gimpdocked.c (gimp_docked_iface_base_init)
11805 * app/config/gimpconfig.c (gimp_config_iface_base_init): they are
11806 base_init, not just init functions. Changed implementations to not
11807 overwrite the parent class' vtable entries with the default
11808 implementations. Fixes derived interface methods and brings
11809 back all dockable menus.
11811 2003-10-15 Michael Natterer <mitch@gimp.org>
11813 * app/gui/info-window.c: eek. should actually commit what i
11816 2003-10-15 Sven Neumann <sven@gimp.org>
11818 * app/config/gimpconfig-utils.c (gimp_config_sync): fixed comment.
11820 2003-10-15 Sven Neumann <sven@gimp.org>
11822 * app/gui/file-new-dialog.c (file_new_dialog_set): sync from the
11823 given template to the dialog template, not the other way around.
11825 * app/widgets/gimptemplateeditor.c (gimp_template_editor_constructor):
11826 shouldn't have to call the notify callback from here.
11828 2003-10-15 Michael Natterer <mitch@gimp.org>
11830 * app/widgets/gimpcolorframe.[ch] (gimp_color_frame_set_color):
11831 made the "GimpRGB *color" param const.
11833 Added API docs for all public functions.
11835 2003-10-15 Sven Neumann <sven@gimp.org>
11837 * app/config/gimpconfig-utils.c (gimp_config_diff_internal): minor
11840 * app/core/gimptemplate.[ch]: added a comment property.
11842 * app/config/gimpcoreconfig.[ch]
11843 * app/config/gimprc-blurbs.h: removed "default_comment" property
11844 and set the default comment on the default image template.
11846 * app/widgets/gimptemplateeditor.c: added a comment editor widget.
11849 * app/gui/file-new-dialog.c
11850 * app/gui/preferences-dialog.c
11851 * app/pdb/gimprc_cmds.c
11852 * tools/pdbgen/pdb/gimprc.pdb: changed accordingly.
11854 * libgimpwidgets/gimpmemsizeentry.c (gimp_memsize_entry_init):
11855 increased spacing between the spinbutton and the menu.
11857 2003-10-15 Michael Natterer <mitch@gimp.org>
11859 * app/widgets/widgets-enums.[ch]: new enum GimpColorFrameMode.
11861 * app/widgets/Makefile.am
11862 * app/widgets/gimpcolorframe.[ch]: new widget GimpColorFrame which
11863 shows a picked color in an optionmenu-selectable color space.
11864 Helps getting rid of InfoDialog.
11866 * app/gui/info-window.c: use it for the "extended" page. Cleaned
11867 up that page a lot so it can be made dockable in the next step.
11869 * app/tools/gimpcolorpickertool.[ch]: use it here too. Don't use
11870 InfoDialog any more (and do not depend on gui/ any more).
11872 2003-10-15 Michael Natterer <mitch@gimp.org>
11874 * app/widgets/gimpcontainerview.c
11875 (gimp_container_view_get_preview): create tab widgets without
11876 border for both the tools and templates views.
11878 * app/widgets/gimpviewablebutton.c: removed trailing whitespace.
11880 2003-10-15 Jakub Steiner <jimmac@ximian.com>
11882 * themes/Default/images/preferences/default-grid.png: nothing fancy
11885 2003-10-15 Sven Neumann <sven@gimp.org>
11887 * libgimpwidgets/gimpsizeentry.[ch]: added new function
11888 gimp_size_entry_get_help_widget() to make it possible to set
11889 tooltips on a GimpSizeEntry.
11891 * app/widgets/gimppropwidgets.c (gimp_prop_size_entry_new)
11892 (gimp_prop_coordinates_connect): set tooltips from property blurbs.
11894 * app/core/gimpgrid.c
11895 * app/core/gimptemplate.c
11896 * app/gui/preferences-dialog.c: minor string changes.
11898 2003-10-15 Sven Neumann <sven@gimp.org>
11900 * app/widgets/gimptemplateeditor.c: added a hbox to align the
11901 landscape/portrait buttons so they don't move with the label below.
11903 2003-10-15 Sven Neumann <sven@gimp.org>
11905 * plug-ins/Lighting/lighting_ui.c: mark string as translatable
11908 2003-10-15 Sven Neumann <sven@gimp.org>
11910 * app/gui/preferences-dialog.c: some fine-tuning.
11912 2003-10-15 Sven Neumann <sven@gimp.org>
11914 * app/config/gimpconfig-utils.c (gimp_config_diff) (gimp_config_sync)
11915 * app/config/gimpconfig.c (gimp_config_iface_equal): compare and sync
11916 aggregate objects recursively.
11918 * app/core/gimptemplate.c (gimp_template_finalize): don't leak the
11921 * app/display/gimpdisplayshell-title.c
11922 * app/config/gimpconfig-dump.c: added %L format identifier for
11923 verbose layer count. Renamed former %L to %n (layer name).
11925 * app/config/gimpdisplayconfig.c: changed default image title and
11926 image status format strings.
11928 * app/gui/dialogs-constructors.c: added a blurb for Templates
11931 * app/display/gimpdisplayshell.h: fixed typo.
11933 2003-10-14 Dave Neary <bolsh@gimp.org>
11935 * libgimpcolor/gimpcolorspace.c: Some more gtkdocs.
11937 2003-10-14 Sven Neumann <sven@gimp.org>
11939 * app/composite/gimp-composite.h: don't use gtk-doc style comments
11942 2003-10-14 Michael Natterer <mitch@gimp.org>
11944 * app/widgets/gimptemplateeditor.c (gimp_template_editor_new):
11945 fixed warning (missing GIMP_TEMPLATE() cast).
11947 2003-10-14 Sven Neumann <sven@gimp.org>
11949 * app/core/gimptemplate.c (gimp_template_class_init): added blurbs
11950 for most properties.
11952 * app/config/gimprc-blurbs.h: removed an unused blurb.
11954 2003-10-14 Sven Neumann <sven@gimp.org>
11956 * app/config/gimpdisplayconfig.c: made "perfect-mouse" the default
11957 and changed defaults for image title and image statusbar.
11959 2003-10-14 Michael Natterer <mitch@gimp.org>
11961 * app/core/gimpcontext.c: add the new context to gimp->context_list
11962 in gimp_context_constructor(), not in set_property(). Cleanup.
11964 * app/tools/gimptextoptions.c: added finalizer so we don't leak
11965 the options' GtkTextBuffer and GimpText objects. Cleanup.
11967 2003-10-14 Sven Neumann <sven@gimp.org>
11969 * app/widgets/gimptemplateeditor.c (gimp_template_editor_new):
11970 set the initial stock icon on the viewable-button.
11972 2003-10-14 Helvetix Victorinox <helvetix@gimp.org>
11974 * app/composite/gimp-composite-generic.c
11975 * app/composite/gimp-composite.c:
11976 Tweaked a few more documentation comments.
11978 2003-10-14 Sven Neumann <sven@gimp.org>
11980 * app/core/gimpimage-grid.c
11981 * app/core/gimpimage.[ch]
11982 * app/gui/grid-dialog.c: removed the "grid_changed" signal from
11985 * app/display/gimpdisplayshell-handlers.c: connect to
11986 notifications from the image grid instead.
11988 2003-10-14 Sven Neumann <sven@gimp.org>
11990 * app/config/gimpconfig-utils.[ch]: removed
11991 gimp_config_copy_properties() and added the more intelligent
11992 gimp_config_sync() instead.
11994 * app/config/Makefile.am
11995 * app/config/config-types.h
11996 * app/config/gimpcoreconfig.[ch]
11997 * app/config/gimprc-blurbs.h: replaced default image properties
11998 with a single GimpTemplate object property. Changed the
11999 set_property function to not replace aggregate objects but call
12000 gimp_config_sync() instead.
12002 * app/tools/gimptextoptions.c (gimp_text_options_set_property):
12005 * app/config/gimpconfig.[ch]: changed return value of
12006 gimp_config_duplicate() to gpointer to avoid some casts that only
12007 made the code harder to read.
12009 * app/widgets/gimptemplateeditor.[ch]: don't keep an internal copy
12010 here but edit the GimpTemplate passed when the editor was
12013 * app/gui/preferences-dialog.c: use a GimpTemplateEditor to allow
12014 editing of the default image paramaters.
12016 * app/config/gimprc.c
12017 * app/core/core-types.h
12019 * app/core/gimpimage-duplicate.c
12020 * app/core/gimpimage-grid.c
12021 * app/core/gimpimage-new.c
12022 * app/core/gimpimage-undo-push.c
12023 * app/core/gimpimage.c
12024 * app/core/gimptemplate.[ch]
12025 * app/gui/file-new-dialog.c
12026 * app/gui/grid-dialog.c
12027 * app/gui/info-window.c
12028 * app/gui/resize-dialog.c
12029 * app/gui/templates-commands.[ch]
12030 * app/gui/tool-options-commands.c
12031 * app/text/gimptextlayer.c
12032 * app/text/gimptextlayer.c
12033 * app/tools/gimptexttool.c
12034 * app/widgets/gimptemplateview.c
12035 * app/xcf/xcf-load.c: changed accordingly.
12037 2003-10-14 Sven Neumann <sven@gimp.org>
12039 * app/widgets/gimpgrideditor.[ch]: removed "grid_changed" signal.
12040 The user of GimpGridEditor can connect to notifications of the
12041 grid that is being edited. There is no need for a proxy signal.
12043 * app/core/gimpimage-grid.c (gimp_image_set_grid): don't exchange
12044 the image's grid object, it is part of the image. Copy all grid
12045 properties instead.
12047 * app/core/gimpimage-undo-push.c
12048 * app/gui/grid-dialog.c: changed accordingly.
12050 2003-10-14 Michael Natterer <mitch@gimp.org>
12052 Refactored modifier handling of displays and tools. Hopefully
12053 finally fixes bug #124135.
12055 * app/tools/gimptool.[ch] (struct GimpTool): added private members
12056 "focus_display" and "modifier_state" so tools are aware of their
12059 * app/tools/gimptool.[ch]
12060 * app/tools/tool_manager.[ch]: removed all public modifier_key()
12061 API and added set_focus_display() and set_modifier_state()
12064 * app/tools/tool_manager.c (tool_manager_select_tool)
12065 * app/display/gimpdisplay.c (gimp_display_delete): set the
12066 active_tool's focus_display to NULL.
12068 * app/display/gimpdisplayshell.[ch] (struct GimpDisplayShell):
12069 added almost the whole stuff that used to be static variables of
12070 gimp_display_shell_tool_events(). Cleaned up the struct a bit.
12072 * app/display/gimpdisplayshell-callbacks.c: removed utility
12073 function gimp_display_shell_update_tool_modifiers().
12075 (gimp_display_shell_tool_events):
12077 - Replaced all calls to gimp_display_shell_update_tool_modifiers()
12078 and tool_manager_modifier_key_active() by
12079 tool_manager_modifier_state_active().
12081 - Call tool_manager_focus_display_active() before setting the
12082 tool's modifier_state. Set the tool's focus_display to NULL when
12083 we get a focus_out event.
12085 - Don't grab/ungrab the keyboard twice when <space>-selecting the
12088 - Removed most static variables and use the new members of
12089 GimpDisplayShell. Don't remember any old modifier states since
12090 GimpTool does that by itself now.
12092 2003-10-13 Manish Singh <yosh@gimp.org>
12094 * libgimp/Makefile.am: add $(libgimp) to libgimpui_1_3_la_DEPENDENCIES
12095 so -jN builds work better.
12097 2003-10-14 Sven Neumann <sven@gimp.org>
12101 * app/config/Makefile.am
12102 * app/config/makefile.msc
12103 * app/config/gimpconfig-dump.[ch]: removed the separate
12104 gimpconfig-dump binary and moved the functionality into gimp
12105 itself. It became a mess to build and seems cleaner this way.
12107 2003-10-13 Dave Neary <bolsh@gimp.org>
12109 * libgimpcolor/gimpcolorspace.c: Added gtk-docs to a few functions.
12111 2003-10-13 Helvetix Victorinox <helvetix@gimp.org>
12113 * app/composite/gimp-composite-generic.c:
12114 * app/composite/gimp-composite.[ch]: Updated/improved/organised
12115 documentation comments.
12117 2003-10-13 Sven Neumann <sven@gimp.org>
12119 * libgimp/gimptile.c: code cleanup and some documentation.
12121 2003-10-13 Michael Natterer <mitch@gimp.org>
12123 * app/main.c (main): call g_set_prgname() in the --no-interface
12124 case (GDK is doing this for us otherwise).
12126 Always set a human readable localized application name using
12127 g_set_application_name().
12129 2003-10-13 Michael Natterer <mitch@gimp.org>
12131 * app/widgets/gimptoolbox-color-area.[ch]: cleanup & cruft removal.
12133 2003-10-13 Michael Natterer <mitch@gimp.org>
12135 * app/widgets/gimpcontainergridview.c: typo: s/vieport/viewport/g
12137 (gimp_container_grid_view_insert_item): stop idle updating since
12138 the widget will be exposed anyway.
12140 2003-10-13 Michael Natterer <mitch@gimp.org>
12142 * app/widgets/gimpdialogfactory.[ch]: renamed
12143 gimp_dialog_factories_idle() and _unidle() to
12144 gimp_dialog_factories_set_busy() and _unset_busy().
12145 Added utility function gimp_dialog_factory_set_widget_data() and
12146 public API gimp_dialog_factory_from_widget() so we don't need to
12147 g_object_[set|get]_data() with magic keys all over the place.
12149 * app/widgets/gimpsessioninfo.c
12150 * app/gui/dialogs-commands.c
12151 * app/gui/dialogs-menu.c
12152 * app/gui/gui-vtable.c: changed accordingly.
12154 * app/widgets/gimpsessioninfo.c: remember active page of all dock
12155 notebooks in sessionrc.
12157 * app/widgets/gimpsessioninfo.h: cleaned up the session info structs.
12159 2003-10-13 Sven Neumann <sven@gimp.org>
12161 * plug-ins/common/snoise.c: clamp x and y sizes to sane values.
12164 2003-10-13 Sven Neumann <sven@gimp.org>
12166 * plug-ins/script-fu/scripts/comic-logo.scm
12167 (script-fu-comic-logo-alpha): fixed the script (bug #124441).
12169 2003-10-13 Sven Neumann <sven@gimp.org>
12171 * app/widgets/gimptooloptionseditor.c: set the horizontal scrollbar
12172 policy to AUTOMATIC; addresses bug #124134.
12174 2003-10-12 Manish Singh <yosh@gimp.org>
12176 * app/widgets/gimpitemtreeview.c
12177 * app/widgets/gimplayertreeview.c: split out indexed assignment and
12178 increment to avoid miscompilation by gcc on ppc and ia64. Fixes
12181 2003-10-12 Seth Burgess <sjburges@gimp.org>
12183 * plug-ins/common/glasstile.c: make a minimum grid size of 2 for
12184 preview. Fixes bug #72053.
12186 2003-10-12 Pedro Gimeno <pggimeno@wanadoo.es>
12188 * app/widgets/gimptoolbox.c (gimp_toolbox_init): Set the default
12189 aspect ratio of the toolbox wrap box to 5:6.
12190 (gimp_toolbox_set_geometry): Don't enforce min_height in the
12191 toolbox window. Fixes bug #116937 and works around bug #113228.
12193 * plug-ins/common/png.c (save_image): Round the values passed to
12194 png_set_pHYs so that they don't decrease on every save.
12196 2003-10-12 Sven Neumann <sven@gimp.org>
12198 * app/config/Makefile.am: fixed dependencies for test-config.
12200 * app/config/gimpconfigwriter.[ch]: code cleanup and documentation.
12202 * app/composite/gimp-composite-generic.[ch]: made prototype for
12203 gimp_composite_color_any_any_any_generic() match the implementation.
12205 * app/composite/gimp-composite.c: fixed some issues with the
12208 2003-10-12 Sven Neumann <sven@gimp.org>
12210 * plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
12211 allow to use mnemonics in SF-TOGGLE.
12213 * plug-ins/script-fu/scripts/font-map.scm: allow to choose the color
12214 scheme to use for the font map; added mnemonics.
12216 2003-10-12 Sven Neumann <sven@gimp.org>
12218 * app/paint/gimppaintcore.c: removed debugging output that should
12219 have never been committed.
12221 2003-10-12 Michael Natterer <mitch@gimp.org>
12223 * app/display/gimpdisplay.c (gimp_display_reconnect): HALT the
12224 active tool before reconnecting. Fixes bug #124388.
12226 2003-10-12 Sven Neumann <sven@gimp.org>
12228 * app/config/gimpconfig-serialize.[ch]: removed function
12229 gimp_config_serialize_comment()...
12231 * app/config/gimpconfig-utils.[ch]: removed function
12232 gimp_config_string_indent()...
12234 * app/config/gimpconfigwriter.[ch]: ... and implement both here.
12235 Added a comment mode to GimpConfigWriter.
12237 * app/config/gimpconfig-dump.c: handle GimpConfig properties.
12239 * doc/gimprc-1.3.5.in
12240 * etc/gimprc: regenerated by gimpconfig-dump.
12242 2003-10-11 Helvetix Victorinox <helvetix@gimp.org>
12244 * app/composite/gimp-composite.h
12245 * app/composite/gimp-composite-generic.h
12246 * app/composite/gimp-composite-regression.h: Reformatted to include
12247 argument names in function prototypes.
12249 * app/composite/gimp-composite.c
12250 * app/composite/gimp-composite-generic.c
12251 * app/composite/gimp-composite-regression.c: Added gtk-doc
12252 templates for functions.
12254 * app/composite/make-install.py: migrated to new (trimmer) code and
12255 removed dead code. Some beautification for generated code.
12257 * app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis,generic}.{c,h}:
12258 All init() functions are also a run-time check and now expected to
12259 return TRUE/FALSE if the particular set of compositing functions can
12262 * app/composite/gimp-composite.c: No longer has to determine if
12263 the particular set of compositing functions can be used.
12265 * app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-{install,test}.c:
12268 * app/composite/test-composite.c: Deprecated, removed. All tests
12269 are automatically generated and the code is in
12270 app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-test.c:
12272 * app/composite/Makefile.am: removed unused references to
12275 2003-10-11 Michael Natterer <mitch@gimp.org>
12277 * app/widgets/gimpsessioninfo.[ch]: added utility function
12278 gimp_session_info_aux_new().
12280 * app/widgets/gimpcoloreditor.c
12281 * app/widgets/gimpdataeditor.c
12282 * app/widgets/gimpimagedock.c (get_aux_info): use it.
12284 2003-10-11 Michael Natterer <mitch@gimp.org>
12286 * app/widgets/widgets-types.h
12287 * app/widgets/gimpsessioninfo.[ch]: added new struct
12288 GimpSessionInfoAux which contains "gchar *name" and "gchar *value".
12289 Changed sessionrc "aux-info" format again to be really extendable
12290 this time. Also breaks everybody's sessionrc again.
12292 * app/widgets/gimpimagedock.c
12293 * etc/sessionrc: changed accordingly.
12295 Implemented the stuff suggested in bug #122964. Fixes bug #122964
12298 * app/widgets/gimpdataeditor.[ch]: replaced the "Gimp" member by a
12299 "GimpDataFactory" and changed gimp_data_editor_construct()
12300 accordingly. Implement GimpDockedInterface::set_aux_info() and
12301 get_aux_info() and remember the currently edited data across
12304 * app/gui/gradient-editor-commands.c
12305 * app/gui/gradient-editor-menu.c
12306 * app/widgets/gimpbrusheditor.c
12307 * app/widgets/gimpgradienteditor.c
12308 * app/widgets/gimppaletteeditor.c: changed accordingly.
12310 * app/widgets/gimpcoloreditor.c: remember the active color
12311 selector across sessions.
12313 2003-10-11 Sven Neumann <sven@gimp.org>
12315 * app/core/gimpcontainer.c (gimp_container_deserialize): when
12316 deserializing a GimpContainer child, use the child's GimpConfig
12317 implementation, not the container's.
12319 * app/config/gimpconfig-deserialize.c: documentation fixes.
12321 2003-10-11 Sven Neumann <sven@gimp.org>
12323 * app/widgets/gimpdocked.[ch]
12324 * app/widgets/widgets-types.h: renamed GimpDockedIface to
12325 GimpDockedInterface.
12327 * app/display/gimpnavigationview.c
12328 * app/widgets/gimpcoloreditor.c
12329 * app/widgets/gimpcontainereditor.c
12330 * app/widgets/gimpcontainerview.c
12331 * app/widgets/gimpeditor.c
12332 * app/widgets/gimpimageeditor.c
12333 * app/widgets/gimpitemtreeview.c
12334 * app/widgets/gimptooloptionseditor.c: changed accordingly.
12336 * app/config/config-types.h
12337 * app/config/gimpconfig.[ch]
12338 * app/config/gimpconfig-deserialize.[ch]
12339 * app/config/gimpconfig-serialize.[ch]
12340 * app/config/gimpconfig-utils.[ch]: added a GimpConfig typedef and
12341 changed the GimpConfig API to take GimpConfig instead of GObject
12344 * app/config/gimpconfig-dump.c
12345 * app/config/gimprc.c
12346 * app/config/test-config.c
12347 * app/core/gimp-documents.c
12348 * app/core/gimp-parasites.c
12349 * app/core/gimp-templates.c
12350 * app/core/gimp.[ch]
12351 * app/core/gimpcontainer.c
12352 * app/core/gimpcontext.c
12353 * app/core/gimpdocumentlist.c
12354 * app/core/gimpgrid.c
12355 * app/core/gimpimage-duplicate.c
12356 * app/core/gimpimage-new.c
12357 * app/core/gimpimage.c
12358 * app/core/gimpparasitelist.c
12359 * app/core/gimptemplate.c
12360 * app/core/gimptooloptions.c
12361 * app/core/gimpviewable.c
12362 * app/gui/grid-dialog.c
12363 * app/gui/preferences-dialog.c
12364 * app/gui/stroke-dialog.c
12365 * app/gui/templates-commands.c
12366 * app/gui/tool-options-commands.c
12367 * app/pdb/gimprc_cmds.c
12368 * app/text/gimptext-parasite.c
12369 * app/text/gimptext.c
12370 * app/text/gimptextlayer.c
12371 * app/tools/gimp-tools.c
12372 * app/tools/gimptexttool.c
12373 * app/widgets/gimpdevices.c
12374 * app/widgets/gimptemplateeditor.c
12375 * app/widgets/gimptemplateview.c
12376 * tools/pdbgen/pdb/gimprc.pdb: changed accordingly.
12378 2003-10-10 Michael Natterer <mitch@gimp.org>
12380 * app/widgets/Makefile.am
12381 * app/widgets/widgets-types.h
12382 * app/widgets/gimpdocked.[ch]: new files implementing
12383 GimpDockedInterface, a GTypeInterface which must be implemented by
12384 all widgets which want to be packed into a GimpDockable. Has
12385 virtual functions similar to the ones GimpDockable had.
12387 * app/widgets/gimpdockable.[ch]: removed all virtual functions and
12388 all function pointers from the instance struct (also the ones just
12389 added in the commit below). Make sure only widgets implementing
12390 the GimpDockedIface are added and simply call the child's
12391 GimpDocked functions where we used to call our own virtual
12392 functions and function pointers.
12394 * app/widgets/gimpcoloreditor.c
12395 * app/widgets/gimpcontainereditor.c
12396 * app/widgets/gimpcontainergridview.c
12397 * app/widgets/gimpcontainerview.c
12398 * app/widgets/gimpeditor.c
12399 * app/widgets/gimpimageeditor.c
12400 * app/widgets/gimpitemtreeview.c
12401 * app/widgets/gimpsessioninfo.c
12402 * app/widgets/gimptooloptionseditor.c
12403 * app/display/gimpnavigationview.c: implement GimpDockedIface.
12405 * app/gui/dialogs-constructors.c: removed all that get_preview_func(),
12406 set_context_func() etc. cruft since that's done by GimpDockedIface.
12407 It's really a file of constructors now.
12409 * app/gui/dialogs-menu.c: changed accordingly.
12411 * app/widgets/gimpimagedock.c: forgotten in the commit below.
12413 2003-10-10 Michael Natterer <mitch@gimp.org>
12415 Cleaned up session management and changed the format of sessionrc
12416 in a way that allows extensions without changing the format during
12419 * app/widgets/Makefile.am
12420 * app/widgets/widgets-types.h
12421 * app/widgets/gimpsessioninfo.[ch]: new files implementing the whole
12422 GimpSessionInfo stuff (parsing, saving, restoring, utility functions).
12423 Save / parse the position of GimpDock's panes (bug #122964).
12425 * app/widgets/gimpdialogfactory.[ch]: removed saving, restoring
12426 and session related utility functions and use the ones from
12427 the new files above.
12429 * app/gui/session.c: removed parsing and use the new stuff.
12431 * app/widgets/gimpdock.[ch]: added new virtual functions
12432 GimpDock::set_aux_info() and GimpDock::get_aux_info():
12434 * app/widgets/gimpimagedock.c: implement them and handle the
12435 "auto_follow_active" and "show_image_menu" properties.
12437 * app/widgets/gimpdockable.[ch]: added the same virtual functions
12438 to the GimpDockable class. Enables forward-compatible per-dockable
12439 session management (bug #122964).
12441 * app/gui/dialogs-commands.c
12442 * app/gui/gui.c: changed accordingly.
12444 * etc/sessionrc: ditto. Look at this file and update your own
12445 sessionrc manually if you don't want to lose it.
12447 2003-10-10 Sven Neumann <sven@gimp.org>
12449 * plug-ins/script-fu/scripts/burn-in-anim.scm: repaired this script
12452 2003-10-10 Sven Neumann <sven@gimp.org>
12454 * plug-ins/common/png.c (load_image): fixed a typo in the patch
12455 for bug #123201 that accidentally already committed earlier.
12457 2003-10-10 Henrik Brix Andersen <brix@gimp.org>
12459 * app/core/gimpimage-grid.[ch]: removed the grid parasite related
12460 functions from here ...
12462 * app/core/gimpgrid.[ch]: ... and added them here. While I was at
12463 it I also changed PROP_TYPE to PROP_STYLE and added blurbs to the
12466 * app/xcf/xcf-load.c
12467 * app/display/gimpdisplayshell.c: changed accordingly
12469 * app/widgets/Makefile.am
12471 * app/widgets/widgets-types.h
12472 * app/widgets/gimpgrideditor.[ch]: added a new GimpGridEditor
12473 widget - with a work-around for the fact that
12474 gimp_prop_coordinated_new() doesn't accept boundaries
12476 * app/gui/grid-dialog.h
12477 * app/gui/grid-dialog.c (grid_dialog_new): use the new
12478 GimpGridEditor widget, take a GimpImage as function parameter,
12479 assume GimpImages always have a GimpGrid. This simplifies the grid
12482 * app/gui/image-commands.c
12483 (image_configure_grid_cmd_callback): changed accordingly
12485 * app/core/core-types.h: moved typedef GimpGrid from here ...
12487 * app/config/config-types.h: ... to here to be able to use it in
12490 * app/config/gimprc-blurbs.h
12491 * app/config/gimpcoreconfig.[ch]: added default_grid member
12493 * app/widgets/gimphelp-ids.h
12494 * themes/Default/images/preferences/Makefile.am
12495 * themes/Default/images/default-grid.png
12496 * app/gui/preferences-dialog.c: added UI for specifying default
12499 * app/core/gimpimage.c (gimp_image_new): create a GimpGrid from
12500 core_config->default_grid
12502 * app/gui/image-menu.c (image_menu_update): the grid/guide entries
12503 in <Image>/View/ should always be sensitive ...
12505 * app/display/gimpdisplayshell.c (gimp_display_shell_init):
12506 ... but the grid entries should be disabled by default
12508 2003-10-10 Sven Neumann <sven@gimp.org>
12510 * app/errors.c (gimp_eek)
12511 * app/main.c (main) (gimp_text_console_exit)
12512 * app/gui/user-install-dialog.c (user_install_cancel_callback):
12513 call exit() with EXIT_SUCCESS or EXIT_FAILURE instead of 0 and 1.
12515 2003-10-10 Michael Natterer <mitch@gimp.org>
12517 * app/widgets/gimpcontainertreeview-dnd.c: added auto-scrolling
12518 when DND-hovering close to the widget's top or bottom border.
12521 * app/widgets/gimpcontainertreeview.h: added some auto-scroll state
12522 to the GimpContainerTreeView struct.
12524 * app/widgets/gimpcontainertreeview.c: remove the auto-scroll
12525 timeout in GtkWidget::unmap().
12527 2003-10-09 Tor Lillqvist <tml@iki.fi>
12529 * gimp-zip.in: New file, shell script used to build zipfiles for
12530 distribution of Windows runtime and developer packages.
12533 * configure.in: Add it, expand it.
12535 * libgimp*/Makefile.am: On Windows, install and uninstall the .def
12538 * app/config/gimpguiconfig.c: On Windows, don't use the internal
12539 help browser by default, as it isn't there. Don't use a fixed
12540 guess for Internet Explorer's path on Windows. We don't even need
12541 to know the path to the web browser, we can use ShellExecute() in
12542 the webbrowser plug-in.
12544 * plug-ins/common/webbrowser.c: Use ShellExecute() on Windows.
12546 * po*/makefile.cygwin: Remove, unmaintained.
12548 * libgimpmath/gimpmath.def: Fix typo.
12550 * libgimp/gimp.def: Add gimp_rgn_iterator_src_dest.
12552 2003-10-09 Sven Neumann <sven@gimp.org>
12554 * app/core/gimpobject.[ch]: added new function
12555 gimp_object_name_collate() which compares two object names for
12556 ordering using the linguistically correct rules for the current
12557 locale and does some caching to speed up subsequent calls.
12559 * app/core/gimpdatalist.c (gimp_data_list_data_compare_func): use
12560 gimp_object_name_collate() from here.
12562 * app/core/gimplist.[ch]: added convenience function
12563 gimp_list_sort_by_name.
12565 * app/text/gimpfontlist.c (gimp_font_list_restore): use
12566 gimp_list_sort_by_name() instead of g_utf8_collate.
12568 2003-10-09 Michael Natterer <mitch@gimp.org>
12570 * app/core/gimpviewable.h: added GIMP_VIEWABLE_MAX_BUTTON_SIZE
12571 GIMP_VIEWABLE_MAX_MENU_SIZE.
12573 * app/core/gimpviewable.c (gimp_viewable_get_popup_size): smarter
12574 popup size limitation: limit each axis to 2 * MAX_POPUP_SIZE
12575 and the area to MAX_POPUP_SIZE ^ 2.
12577 * app/core/gimpbuffer.c
12578 * app/core/gimpimage-preview.c
12579 * app/core/gimpitem-preview.c
12580 * app/text/gimpfont.c (GimpViewable::get_popup_size): removed
12583 * app/widgets/gimpcontainermenu.c
12584 * app/widgets/gimpcontainermenuimpl.c
12585 * app/widgets/gimpmenuitem.c
12586 * app/widgets/gimpviewablebutton.c: use the new button and menu
12589 2003-10-09 Michael Natterer <mitch@gimp.org>
12591 * app/core/core-types.h: added GimpScanConvert typedef.
12593 * app/core/gimpscanconvert.h: removed it here.
12595 * app/core/gimpchannel-select.[ch]: factored out new
12596 function gimp_channel_select_scan_convert().
12598 (gimp_channel_select_polygon)
12599 (gimp_channel_select_vectors): use it.
12601 (gimp_channel_select_alpha): when called on a layer without alpha,
12602 don't fail but fake the effect of a fully opaque alpha channel.
12604 * app/tools/gimpiscissorstool.c: some cleanup.
12606 (iscissors_convert): fixed my latest cleanup (don't cast the
12607 tool to a GimpGrawable ;). Don't ignore options->antialias.
12609 2003-10-08 Manish Singh <yosh@gimp.org>
12611 * plug-ins/script-fu/script-fu-scripts.c: fix SF_ADJUSTMENT handling
12612 when crafting the string to call, since it now gets a GIMP_PDB_FLOAT.
12613 (This bug has been there since 1.3.4...)
12615 2003-10-08 Manish Singh <yosh@gimp.org>
12617 * plug-ins/common/png.c: fix handling and docs of offs, phys, and time
12620 2003-10-08 Ville PƤtsi <drc@gimp.org>
12622 * gimp.spec.in: Enabled debuginfo packages again.
12624 2003-10-08 Michael Natterer <mitch@gimp.org>
12626 * app/core/gimp-edit.c (gimp_edit_fill_internal): new utility
12627 function which does everything gimp_edit_clear() and
12628 gimp_edit_fill() do but doesn't fail to:
12630 - fill an indexed drawable with white.
12631 - fill a drawable with alpha with transparency.
12634 (gimp_edit_fill): use gimp_edit_fill_internal().
12636 * app/core/gimpdrawable.c (gimp_drawable_[apply,replace]_region):
12637 added more g_return_if_fail(required_parameter != NULL).
12639 2003-10-08 Michael Natterer <mitch@gimp.org>
12641 * app/widgets/gimpdock.[ch]: added new pure virtual function
12642 GimpDock::setup() which configures a dock like a passed template
12645 * app/widgets/gimpimagedock.c: implement it and set
12646 "show_image_menu" and "auto_follow_active" accordingly.
12648 * app/widgets/gimpdockable.c (gimp_dockable_detach): call
12649 gimp_dock_setup() to configure the new dock like the old one.
12650 Removed inclusion if "gimpimagedock.h".
12652 * app/gui/dialogs-commands.c: minor code cleanups.
12654 2003-10-08 Michael Natterer <mitch@gimp.org>
12656 Fixed bug #119423. There was no speed regression with the actual
12657 painting, just with the display update (which effectively led to
12658 faster painting, it just felt slower).
12660 * app/display/gimpdisplayshell.c (gimp_display_shell_flush): added
12661 "gboolean now" parameter and update the display immediately if
12664 * app/display/gimpdisplay.c (gimp_display_flush_whenever): pass
12665 the "now" we got passed to the function above, so calling
12666 gimp_display_flush_now() really flushes *now* again.
12668 2003-10-08 Michael Natterer <mitch@gimp.org>
12670 * tools/pdbgen/pdb/fileops.pdb (file_load_invoker):
12671 procedural_db_execute() *must* get the correct number of args, so
12672 do like file_save_invoker and create a full Argument array with
12673 the correct number of args and copy our own args into it before
12674 calling the actual load procedure. Fixes bug #124059.
12676 * app/pdb/fileops_cmds.c: regenerated.
12678 2003-10-08 Sven Neumann <sven@gimp.org>
12680 * data/images/gimp_splash.png: flatten the splash (bug #124062).
12682 2003-10-07 Sven Neumann <sven@gimp.org>
12685 * gimp.spec.in: require librsvg >= 2.2.0 for the SVG plug-in.
12688 2003-10-07 Michael Natterer <mitch@gimp.org>
12690 * app/widgets/gimpdockable.[ch] (gimp_dockable_detach): new
12691 function. Need to include ugly stuff for proper GimpImageDock
12694 * app/widgets/gimpdockbook.c (gimp_dockbook_menu_end): use
12695 gimp_dockable_detach() and removed the evil includes.
12697 * app/gui/dialogs-commands.c (dialogs_detach_tab_cmd_callback):
12698 implement it using gimp_dockable_detach().
12700 2003-10-07 Simon Budig <simon@gimp.org>
12702 * docs/Wilber.svg: Debugged winding rule issue,
12703 removed redundant paths, added IDs. Indentation madness.
12705 2003-10-07 Sven Neumann <sven@gimp.org>
12707 * app/composite/gimp-composite-sse2.c (gimp_composite_sse2_init):
12708 really check for CPU_ACCEL_X86_SSE.
12710 * libgimp/gimp.def: added new symbols.
12712 2003-10-07 Sven Neumann <sven@gimp.org>
12714 * configure.in: bumped version number to 1.3.22.
12716 Moved images used from scripts as suggested by Carol:
12718 * plug-ins/script-fu/scripts/Makefile.am
12719 * plug-ins/script-fu/scripts/*.jpg: removed images from scripts
12723 * plug-ins/script-fu/scripts/images/Makefile.am
12724 * plug-ins/script-fu/scripts/images/*.jpg: ... and added them here.
12726 * plug-ins/script-fu/scripts/carved-logo.scm
12727 * plug-ins/script-fu/scripts/chrome-it.scm
12728 * plug-ins/script-fu/scripts/crystal-logo.scm
12729 * plug-ins/script-fu/scripts/sota-chrome-logo.scm
12730 * plug-ins/script-fu/scripts/test-sphere.scm: changed accordingly.
12732 2003-10-06 Manish Singh <yosh@gimp.org>
12734 * app/gui/image-menu.c
12735 * app/gui/layers-menu.c
12736 * etc/ps-menurc: "Imagesize" isn't a real word. Fix to "Image Size".
12738 * app/paint/gimppaintcore.c: add declaration for rotate_pointers which
12739 was inadvertently took out.
12741 * tools/pdbgen/pdb/layer.pdb: add gimp_layer_resize_to_image_size.
12742 Fix failure reporting logic for gimp_layer_delete.
12744 * app/pdb/internal_procs.c
12745 * app/pdb/layer_cmds.c
12746 * libgimp/gimplayer_pdb.[ch]: regenerated.
12748 * plug-ins/common/tiff.c: always compare using unsigned chars for 7bit
12751 2003-10-06 Michael Natterer <mitch@gimp.org>
12753 * app/core/gimpdrawable.c (gimp_drawable_mask_bounds): one
12754 more fix for bug #107949: don't take the selection into
12755 account if we are operating on the selection itself.
12757 Ordered shadow tiles functions together, cleanup.
12759 2003-10-06 Michael Natterer <mitch@gimp.org>
12761 * app/core/gimpdrawable-stroke.c
12762 (gimp_drawable_stroke_scan_convert): added new local variables to
12763 hold the drawable's offsets instead of abusing x2 and y2. Use
12764 existing APIs instead of re-implementing stuff. Removed an
12765 obsolete call to tile_manager_set_offsets(). Cleanup.
12767 2003-10-06 Michael Natterer <mitch@gimp.org>
12769 * app/core/gimpchannel.c (gimp_channel_new_from_alpha): create
12770 a channel which the size of the layer, not of the image...
12772 * app/core/gimpchannel-select.c (gimp_channel_select_alpha):
12773 ...and take the layer's offsets into account.
12775 * app/core/gimpscanconvert.[ch] (gimp_scan_convert_render): added
12776 off_x and off_y parameters and don't use the passed TileManager's
12779 * app/core/gimpchannel-select.c
12780 * app/core/gimpdrawable-stroke.c
12781 * app/tools/gimpiscissorstool.c: changed accordingly.
12783 2003-10-06 Michael Natterer <mitch@gimp.org>
12785 * app/app_procs.c (app_init): fixed starting with --no-splash.
12787 2003-10-06 Michael Natterer <mitch@gimp.org>
12789 * app/core/gimpdrawable.[ch]: added new virtual functions
12790 GimpDrawable::get_active_components(), apply_region() and
12793 * app/core/Makefile.am
12794 * app/core/gimpdrawable-combine.[ch]: new files containing
12795 apply_region()'s and replace_region()'s default implementation.
12796 They are identical to the ones removed from GimpImage except that
12797 they don't mask the selection with itself (bug #107949).
12799 * app/core/gimpchannel.c
12800 * app/core/gimplayer.c: implement get_active_components().
12802 * app/core/gimpchannel.c: implement apply_region() and
12803 replace_region() and invalidate the channel's boundary
12804 before upchaining (bug #107949).
12806 * app/core/gimpimage.[ch]: removed gimp_image_apply_image(),
12807 gimp_image_replace_image() and gimp_image_get_active_components().
12809 * app/core/gimpimage-undo-push.c (undo_pop_image): invalidate
12810 boundary and bounds if the drawable is a channel (bug #107949).
12813 (undo_pop_channel_mod): finish previous commit :)
12815 * app/core/gimp-edit.c
12816 * app/core/gimpdrawable-blend.c
12817 * app/core/gimpdrawable-bucket-fill.c
12818 * app/core/gimpdrawable-stroke.c
12819 * app/core/gimpimagemap.c
12820 * app/core/gimplayer-floating-sel.c
12821 * app/paint/gimppaintcore.c
12822 * app/tools/gimpinktool.c: changed accordingly.
12824 2003-10-06 Michael Natterer <mitch@gimp.org>
12826 Treat changes to the selection like changes to any other drawable:
12828 * app/core/gimpchannel.c
12829 * app/core/gimpchannel-combine.c: call gimp_drawable_update() after
12830 changing the channel.
12832 * app/core/gimpimage.[ch]: added struct GimpImageFlushAccumulator
12833 with one member "gboolean mask_changed". Connect to "update" of
12834 the selection and set accum.mask_changed to TRUE in the callback.
12835 Added default implementation for GimpImage::flush() and emit
12836 "mask_changed" there.
12839 * app/core/gimpimage.h: removed GimpGuide struct...
12840 * app/core/gimpimage-guides.h: ...and added it here.
12842 * app/core/gimpimage-undo-push.c (undo_pop_mask)
12843 (undo_pop_channel_mod): don't distinguish between selection and
12844 non-selection channels and just call gimp_drawable_update().
12846 * app/core/gimpundo.h
12847 * app/core/gimpimage-undo.c: removed "gboolean mask_changed" from
12848 the GimpUndoAccumulator struct since we don't have to care about
12849 that signal explicitly any more.
12851 * app/display/gimpdisplay-foreach.[ch]: removed gimp_displays_flush().
12853 * tools/pdbgen/pdb/display.pdb (displays_flush_invoker): call
12854 gimp_image_flush() on all images so the flush accumulator is
12857 This generalization enables the removal of more special purpose
12858 code which was needed to treat the selection different:
12860 * app/core/gimpimage-mask-select.[ch]: removed...
12862 * app/core/gimpchannel-select.[ch]: ...and added under a new name
12863 because it's not selection specific any more.
12865 * app/core/gimpimage-mask.[ch]: removed...
12867 * app/core/gimpselection.[ch]: ...added the two remaining
12868 functions here. Removed all calls to gimp_image_mask_changed().
12870 * app/core/Makefile.am
12871 * app/core/gimp-edit.c
12872 * app/core/gimpdrawable-transform.c
12873 * app/core/gimpimage-scale.c
12874 * app/core/gimpimage-snap.c
12875 * app/display/gimpdisplayshell.c
12876 * app/gui/channels-commands.c
12877 * app/gui/layers-commands.c
12878 * app/gui/select-commands.c
12879 * app/gui/vectors-commands.c
12880 * app/tools/gimpbycolorselecttool.c
12881 * app/tools/gimpeditselectiontool.c
12882 * app/tools/gimpellipseselecttool.c
12883 * app/tools/gimpfreeselecttool.c
12884 * app/tools/gimpfuzzyselecttool.c
12885 * app/tools/gimpiscissorstool.c
12886 * app/tools/gimprectselecttool.c
12887 * app/tools/gimptransformtool.c
12888 * app/widgets/gimpchanneltreeview.c
12889 * app/widgets/gimpselectioneditor.c
12890 * app/widgets/gimpvectorstreeview.c
12891 * app/xcf/xcf-save.c
12892 * tools/pdbgen/pdb/paths.pdb
12893 * tools/pdbgen/pdb/selection.pdb
12894 * tools/pdbgen/pdb/selection_tools.pdb: changed accordingly.
12896 * app/core/gimpdrawable-bucket-fill.c
12897 * app/core/gimpimage-colormap.c
12898 * app/core/gimplayer-floating-sel.c
12899 * app/core/gimplayer.c
12900 * app/gui/image-menu.c
12901 * app/paint/gimppaintcore.c
12902 * app/tools/gimpcroptool.c
12903 * app/tools/gimpinkoptions.c
12904 * app/tools/gimpvectortool.c: removed useless and/or obsolete
12907 * app/pdb/display_cmds.c
12908 * app/pdb/paths_cmds.c
12909 * app/pdb/selection_cmds.c
12910 * app/pdb/selection_tools_cmds.c: regenerated.
12912 2003-10-06 Michael Natterer <mitch@gimp.org>
12914 * app/display/gimpdisplayshell-callbacks.c: guard callbacks
12915 against being invoked during display destruction. Fixes crashes
12916 when closing/opening images. Also fixes the crash reported by
12917 Pedro Gimeno in the comment to bug #117884, but doesn't fix
12918 #117884 since it's a different issue.
12920 2003-10-06 Michael Natterer <mitch@gimp.org>
12922 * app/tools/tool_manager.c (tool_manager_image_undo_start): HALT
12923 the tool with the right display. Fixes some random tool crashes.
12925 2003-10-06 Sven Neumann <sven@gimp.org>
12927 * app/widgets/gimpdnd.c (gimp_dnd_data_drop_handle): check for
12928 NULL pointers in the GimpDndDataDef array before using them.
12929 Might happen with the changed dockable DND code :(
12931 2003-10-06 Sven Neumann <sven@gimp.org>
12933 * Made 1.3.21 release.
12935 2003-10-05 Sven Neumann <sven@gimp.org>
12937 * app/widgets/gimpdock.c (gimp_dock_separator_drag_drop): handle
12938 dockable drops where the drag source is a GimpDockable itself.
12940 * etc/sessionrc: try a new default dialog setup.
12942 2003-10-05 Sven Neumann <sven@gimp.org>
12944 * app/gui/tool-options-menu.c (tool_options_menu_update): removed
12947 2003-10-05 Sven Neumann <sven@gimp.org>
12949 * app/display/gimpdisplayshell.c: set the screen resolution before
12950 setting the initial scale; update it in GtkWidget::screen_changed.
12952 2003-10-05 Sven Neumann <sven@gimp.org>
12954 * app/composite/Makefile.am: added missing file.
12956 2003-10-05 Sven Neumann <sven@gimp.org>
12958 * app/widgets/gimpdockbook.[ch]
12959 * app/widgets/gimpdockable.[ch]: hide the GimpDockbook tabs when
12960 it holds only a single dockable. Made the title area a drag source
12961 and let the whole GimpDockable accept drops of dockables.
12963 2003-10-05 Pedro Gimeno <pggimeno@wanadoo.es>
12965 * app/paint-funcs/paint-funcs.c (shrink_line): Use gint instead
12966 of guint. Fixes Debian bug report #205889 (spotted by Falk
12969 2003-10-05 Sven Neumann <sven@gimp.org>
12971 * plug-ins/common/psd.c (load_image): applied a patch from Morten
12972 Eriksen that fixes loading of monochrome images (bug #123886).
12974 2003-10-04 Dave Neary <bolsh@gimp.org>
12976 * app/tools/gimphuesaturationtool.c
12977 (gimp_hue_saturation_tool_initialize): Removed explicit
12978 initialisation to GIMP_ALL_HUES, this is set by default the
12979 first time the tool is opened, and shouldn't be set successive
12980 times. Fix suggested by edg1@freegates.be in Bugzilla. Fixes
12983 2003-10-02 Sven Neumann <sven@gimp.org>
12985 * app/app_procs.c (app_exit_after_callback): enabled the call to
12988 2003-10-02 Sven Neumann <sven@gimp.org>
12990 * plug-ins/script-fu/scripts/carved-logo.scm: unset the image
12993 2003-10-02 Michael Natterer <mitch@gimp.org>
12995 * app/core/gimpitem.c (gimp_item_convert,gimp_item_real_convert):
12996 set the item's new image *after* converting it because we need the
12997 old image's colormap for conversions from and to INDEXED.
13000 2003-10-02 Michael Natterer <mitch@gimp.org>
13002 Cleaned up the app init and exit stuff even more. Also reduces the
13003 number of missing symbols for gimp-console. Added init and exit
13004 debugging output (only for --verbose).
13006 * app/core/gimpmarshal.list
13007 * app/core/gimp.[ch]: added new signals "initialize" and
13008 "restore". Moved plug_ins_init() to Gimp::restore()'s default
13009 implementation and plug_ins_exit() to Gimp::exit()'s default
13010 implementation. Renamed gimp_set_config() to gimp_load_config()
13011 and load GimpRC here. Moved base_init() and base_exit() to this
13014 * app/gui/Makefile.am
13015 * app/gui/gui-vtable.[ch]: new files split out of gui.c. It was
13018 * app/gui/gui.[ch]: renamed gui_themes_init() to gui_init(),
13019 connect to Gimp's "initialize" and "restore" signals and create
13020 the GUI stuff in the callbacks. Removed most other public
13021 functions since they don't need to be called explicitly any more.
13022 Moved the whole tool initialization/shutdown code to this file.
13024 * app/gui/user-install-dialog.[ch]: changed
13025 user_install_dialog_create() to user_install_dialog_run() and
13026 added a gtk_main() at the end, so the install dialog's gtk_main()
13027 and gtk_main_quit() live in the same file.
13029 * app/app_procs.c: removed lots of stuff. app_init() is much
13032 2003-10-02 Michael Natterer <mitch@gimp.org>
13034 * app/gui/tool-options-commands.c
13035 (tool_options_save_to_cmd_callback): remember the name of the
13036 saved options and set it again after gimp_config_copy_properties().
13039 2003-10-02 Sven Neumann <sven@gimp.org>
13041 * app/gui/image-menu.c: added back ellipsis to Display Filters and
13044 2003-10-02 Sven Neumann <sven@gimp.org>
13047 * plug-ins/Makefile.am
13048 * plug-ins/mosaic/*: removed mosaic plug-in here...
13050 * plug-ins/common/Makefile.am
13051 * plug-ins/common/mosaic.c
13052 * plug-ins/common/plugin-defs.pl: ...and added it in plug-ins/common.
13054 2003-10-02 Sven Neumann <sven@gimp.org>
13056 * plug-ins/common/plugindetails.c
13057 * plug-ins/common/unsharp.c
13058 * plug-ins/script-fu/script-fu.c
13059 * plug-ins/script-fu/scripts/swirly-pattern.scm: tweaked menu items.
13061 2003-10-02 Sven Neumann <sven@gimp.org>
13063 * app/gui/brushes-menu.c
13064 * app/gui/channels-menu.c
13065 * app/gui/colormap-editor-menu.c
13066 * app/gui/image-menu.c
13067 * app/gui/templates-menu.c
13068 * app/gui/vectors-menu.c: added ellipsis back for Edit menu items.
13069 Added missing ellipsis for Stroke items.
13071 2003-10-01 Maurits Rijk <lpeek.mrijk@consunet.nl>
13073 * plug-ins/FractalExplorer/Events.[ch]: splitting the dialogs and the
13074 events didn't make sense. Code merged with Dialogs.[ch] and files
13077 * plug-ins/FractalExplorer/Dialogs.[ch]
13078 * plug-ins/FractalExplorer/FractalExplorer.[ch]: major code clean-up.
13079 Still lots of work to do (remove several deprecated widgets, etc.)
13081 2003-10-01 Maurits Rijk <lpeek.mrijk@consunet.nl>
13083 * plug-ins/mosaic/mosaic_logo.h: removed (!) to make the plug-in more
13084 consistent with other plug-ins.
13086 * plug-ins/mosaic/Makefile.am
13087 * plug-ins/mosaic/mosaic.c: changed accordingly + minor code clean-up.
13088 Plug-in can now be moved to common directory since it's just a single
13091 2003-10-01 Sven Neumann <sven@gimp.org>
13093 * libgimpwidgets/gimpwidgets.def: added new symbols.
13095 2003-10-01 Sven Neumann <sven@gimp.org>
13097 * app/gui/brushes-menu.c
13098 * app/gui/channels-menu.c
13099 * app/gui/colormap-editor-menu.c
13100 * app/gui/dialogs-menu.c
13101 * app/gui/documents-menu.c
13102 * app/gui/image-menu.c
13103 * app/gui/palettes-menu.c
13104 * app/gui/templates-menu.c
13105 * app/gui/toolbox-menu.c
13106 * app/gui/vectors-menu.c
13107 * plug-ins/common/uniteditor.c
13108 * plug-ins/dbbrowser/dbbrowser.c: followed the HIG advisory on
13109 labelling menus with a trailing ellipsis and removed some.
13111 2003-10-01 Sven Neumann <sven@gimp.org>
13113 * app/widgets/gimppropwidgets.[ch]: renamed
13114 gimp_prop_size_entry_connect() to gimp_prop_coordinates_connect().
13115 Added a new property widget that is a single GimpSizeEntry and is
13116 connected to size and unit properties.
13118 * app/widgets/gimptemplateeditor.c: changed accordingly.
13120 * app/widgets/gimpstrokeeditor.c: added a "resolution" property
13121 and use the new property widget.
13123 * app/gui/stroke-dialog.c: pass the image resolution to
13124 gimp_stroke_editor_new().
13126 2003-10-01 Sven Neumann <sven@gimp.org>
13128 * app/composite/gimp-composite-altivec.c
13129 * app/composite/gimp-composite-mmx.c
13130 * app/composite/gimp-composite-sse.c
13131 * app/composite/gimp-composite-sse2.c
13132 * app/composite/gimp-composite-vis.c: moved includes out of the
13133 #if __GNUC__ >= 3 to make the code compile on other compilers.
13135 * app/composite/gimp-composite-3dnow.[ch]: added the same stubs here
13138 2003-10-01 Sven Neumann <sven@gimp.org>
13140 * app/core/Makefile.am
13141 * app/core/gimpimage-unit.[ch]: added small wrappers to ease
13142 handling of image units and to hide the core GimpUnit API.
13144 * app/display/gimpdisplayshell-scale.c
13145 * app/display/gimpdisplayshell-title.c
13146 * app/display/gimpstatusbar.c
13147 * app/gui/info-window.c:
13148 * app/tools/gimpmeasuretool.c
13149 * app/tools/gimppainttool.c
13150 * app/tools/gimprectselecttool.c
13151 * app/tools/gimpscaletool.c: use the new functions.
13153 * app/core/gimp-units.c
13154 * app/vectors/gimpvectors-export.c: use the core GimpUnit API.
13156 * app/vectors/gimpvectors.c: no need to include gimpunit.h here.
13158 2003-10-01 Sven Neumann <sven@gimp.org>
13160 * app/config/gimpconfig-utils.c (gimp_config_diff): make it handle
13161 aggregate object properties by calling itself recursively.
13163 2003-10-01 Sven Neumann <sven@gimp.org>
13165 * app/text/gimptextlayout.c: pango_font_description_set_size()
13166 takes points not pixels as the old code assumed.
13168 * app/text/gimptext.c
13169 * app/text/gimptextlayout-render.c: fixed includes.
13171 2003-10-01 Sven Neumann <sven@gimp.org>
13173 * app/composite/gimp-composite-altivec.c: added missing code
13174 snippets to make it compile on PPC.
13176 * plug-ins/common/destripe.c: avoid division by zero (bug #123592).
13177 Also made the plug-in remember the state of the history toggle and
13178 other cleanup. The filter result still looks wrong though...
13180 2003-10-01 Sven Neumann <sven@gimp.org>
13182 * app/text/gimptext-compat.c (text_get_extents): set a default
13183 resolution on the fontmap since Pango doesn't seem to do this for us.
13185 2003-10-01 Simon Budig <simon@gimp.org>
13187 * app/base/boundary.[ch]: a little bit of tweaking.
13189 * app/paint/gimppaintcore-stroke.c: Use it here too.
13191 2003-10-01 Sven Neumann <sven@gimp.org>
13193 * libgimpwidgets/gimpsizeentry.c (gimp_size_entry_update_unit):
13194 emit "value_changed" again.
13196 2003-10-01 Simon Budig <simon@gimp.org>
13198 * app/base/boundary.[ch]: Implemented simplify_boundary (),
13199 which tries to reduce the number of coordinates to get
13200 better interpolation for stroking.
13202 The results still need tweaking.
13204 * app/core/gimpdrawable-stroke.c: Use it.
13206 2003-10-01 Sven Neumann <sven@gimp.org>
13208 * libgimpwidgets/gimpunitmenu.[ch]:
13209 * libgimpwidgets/gimpwidgets.c: added an API to allow for
13210 sub-pixel sizes in spinbuttons connected to a GimpUnitMenu.
13211 Make GimpUnitMenu emit "unit-changed" when the unit is changed
13214 * libgimpwidgets/gimpsizeentry.[ch}: added a similar API here.
13215 Make GimpSizeEntry emit "unit-changed" when the unit is changed
13216 programmatically. The other signals will need similar changes.
13218 * plug-ins/common/gauss_rle.c
13219 * plug-ins/common/gauss_iir.c
13220 * app/widgets/gimpstrokeeditor.c: use the new API.
13222 2003-09-30 Sven Neumann <sven@gimp.org>
13224 * app/widgets/gimpdockable.c (gimp_dockable_new): accept NULL
13225 as blurb and use the name as fallback for a missing blurb.
13227 * app/gui/dialogs-constructors.c: removed the "Foo List" and "Foo
13228 Grid" blurbs. Only left blurbs where the longer name makes sense.
13230 2003-09-30 Michael Natterer <mitch@gimp.org>
13232 * app/gui/tool-options-menu.c: added a "Rename Saved Options"
13233 submenu and factored on-the-fly submenu creation out to a utility
13236 * app/gui/tool-options-commands.[ch]: added rename callback.
13238 * app/widgets/gimphelp-ids.h: added GIMP_HELP_TOOL_OPTIONS_RENAME.
13240 * app/widgets/gimptooloptionseditor.c
13241 (gimp_tool_options_editor_menu_popup): pass "button = 0" to
13242 gtk_menu_popup() because we show the menu on button_release, not
13245 2003-09-30 Michael Natterer <mitch@gimp.org>
13247 * app/core/gimpscanconvert.[ch]: removed "width", "height" and
13248 "antialias" from the GimpScanConvert struct and from
13249 gimp_scan_convert_new(). Removed gimp_scan_convert_to_channel().
13250 Added "gboolean antialias" to gimp_scan_convert_render().
13251 Some general cleanup.
13253 * app/core/gimpdrawable-stroke.c
13254 * app/core/gimpimage-mask-select.c
13255 * app/tools/gimpiscissorstool.c: changed accordingly.
13257 * app/core/gimpdrawable-stroke.c: renamed
13258 gimp_drawable_stroke_scanconvert_stroke() to
13259 gimp_drawable_stroke_scan_convert() and removed the "gboolean
13260 use_mask_bounds" parameter since we can't decide if it's the
13261 selection's boundary which is stroked. Instead use
13262 gimp_channel_is_empty() on the selection which will return FALSE
13263 while the selection is being stroked.
13265 * app/paint/gimppaintcore-stroke.c: cleanup.
13267 (gimp_paint_core_stroke_boundary): don't use "gint i" twice.
13269 (gimp_paint_core_stroke_vectors): no need to manually close a
13272 2003-09-30 Michael Natterer <mitch@gimp.org>
13274 * app/core/gimpchannel.c (gimp_channel_stroke): pass the channel's
13275 offsets to gimp_paint_core_stroke_boundary().
13277 2003-09-30 Michael Natterer <mitch@gimp.org>
13279 * app/widgets/gimpcontainergridview.c
13280 * app/widgets/gimpcontainertreeview.c: implement
13281 GtkWidget::popup_menu() and pop up the menu from the selected
13282 item. If there is no selected item, return FALSE to
13283 makeGimpDockable pop up the menu from its menu button.
13285 2003-09-30 Sven Neumann <sven@gimp.org>
13287 * app/gui/dialogs-commands.c (dialogs_create_dockable_cmd_callback):
13288 accept a list of dialog identifiers and try to raise an existing
13289 dockable from the list. If that fails, create a new one from the
13292 * app/gui/image-menu.c
13293 * app/gui/toolbox-menu.c: specify alternative dialog identifiers
13296 * app/vectors/gimpstroke.c (gimp_stroke_interpolate): use NULL
13299 2003-09-30 Simon Budig <simon@gimp.org>
13301 * app/vectors/gimpbezierstroke.c:
13302 (gimp_bezier_stroke_interpolate) Accept NULL for ret_closed.
13304 * app/widgets/gimppreviewrenderervectors.c: removed "closed"
13307 * app/core/gimpdrawable-stroke.[ch]: Factored out the final
13308 rendering of the scanconvert. Implemented
13309 gimp_drawable_stroke_boundary. Unfortunately the results are
13310 not really good, since the boundary calculation code is
13311 too exact for this purpose. I have a rough idea how to fix this.
13313 * app/core/gimpchannel.c: changed accordingly.
13315 2003-09-30 Sven Neumann <sven@gimp.org>
13317 * app/widgets/gimppreviewrenderervectors.c: fixed preview of
13320 2003-09-30 Sven Neumann <sven@gimp.org>
13322 * app/widgets/gimppreviewrenderer.c
13323 * app/widgets/gimppreviewrenderervectors.c: simplified drawing
13324 code to a point where it becomes readable again. Draw centered
13325 into the draw_area, using the size of the renderer.
13327 2003-09-30 Michael Natterer <mitch@gimp.org>
13329 * app/paint/gimppaintcore-stroke.c: cleanup.
13331 (gimp_paint_core_stroke_boundary): don't push a separate undo
13332 for each part of the boundary.
13334 * app/core/gimpdrawable-stroke.[ch]: added empty stub
13335 gimp_drawable_stroke_boundary(). Changed
13336 gimp_drawable_stroke_vectors() to take the GimpStrokeOptions as
13339 * app/core/gimpchannel.c (gimp_channel_stroke): use it. No need
13340 to push an undo group around gimp_paint_core_stroke_boundary().
13342 * app/vectors/gimpvectors.c: changed accordingly.
13344 * app/widgets/gimpselectioneditor.[ch]: added a GimpStrokeItemFunc
13345 pointer and use it for stroking.
13347 * app/gui/edit-commands.[ch] (edit_stroke_selection): a
13348 GimpStrokeItemFunc which strokes the selection using the
13351 * app/gui/dialogs-constructors.c: use it for the selection editor.
13353 2003-09-30 Simon Budig <simon@gimp.org>
13355 * app/core/gimpscanconvert.[ch]: replaced
13356 gimp_scan_convert_set_resolution with
13357 gimp_scan_convert_set_pixel_ratio where you specify the pixel
13358 ratio (width/height). Also made the stroke-width consistent
13359 with other places in the gimp by using the Y-Resolution as
13360 the base for the calculations.
13362 * app/core/gimpdrawable-stroke.c: changed accordingly.
13364 2003-09-30 Sven Neumann <sven@gimp.org>
13368 2003-09-30 Sven Neumann <sven@gimp.org>
13370 * app/core/gimpdrawable-stroke.c
13371 * app/core/gimpstrokeoptions.[ch]
13372 * app/gui/stroke-dialog.c: removed the resolution property again.
13373 The object should stay resolution independent. The resolution can
13374 be taken from the image it is used with.
13376 2003-09-30 Simon Budig <simon@gimp.org>
13378 * app/core/gimpscanconvert.[ch]: Added support for setting
13379 X- and Y-resolution for stroking paths. The width of a path
13380 has to be given in pixels, using X-resolution.
13382 * app/core/gimpstrokeoptions.[ch]: Added "resolution" property,
13383 so that conversion between various width-units can happen.
13384 Should be set to the target images X-resolution.
13386 * app/gui/stroke-dialog.c: set the resolution of the options.
13388 * app/core/gimpdrawable-stroke.c: Use that stuff, cleanup.
13390 2003-09-30 Sven Neumann <sven@gimp.org>
13392 * app/core/Makefile.am
13393 * app/core/gimpitem-preview.[ch]: new files with preview code
13394 factored out of GimpDrawable.
13396 * app/core/gimpdrawable-preview.[ch]: code removed here.
13398 * app/core/gimpdrawable.c
13399 * app/core/gimpitem.c: let GimpItem implement
13400 GimpViewable::get_preview_size and GimpViewable::get_popup_size.
13402 * app/widgets/gimppreviewrenderervectors.c: simple scale to the
13403 renderer's size; it already respects the aspect ratio.
13405 2003-09-30 Michael Natterer <mitch@gimp.org>
13407 * app/widgets/gimptooloptionseditor.c: connect to the "add" and
13408 "remove" signals of the current tool_option's presets container
13409 and set the "Restore" and "Delete" buttons insensitive when there
13410 are no saved tool options. Also show the "Enter Name" dialog
13411 directly instead of popping up a menu with only one item.
13413 2003-09-30 Michael Natterer <mitch@gimp.org>
13415 * app/gui/tool-options-menu.[ch] (tool_options_menu_setup): new
13416 function for stuff which needs to be done once, not on every
13417 tool_options_menu_update(). Cleanup.
13419 * app/gui/menus.c: register it as setup_func of <ToolOptions>.
13421 * app/gui/tool-options-commands.c: removed the "Reset"
13422 implementations and activate GimpToolOptionsEditor's buttons
13425 * app/widgets/gimphelp-ids.h: added GIMP_HELP_TOOL_OPTIONS_DELETE.
13427 * app/widgets/gimptooloptionseditor.[ch]: moved "Reset"
13428 implementations to this file. Added "Delete" button. Pop up the
13429 "Save", "Restore" and "Delete" submenus of the <ToolOptions>
13430 item_factory when the resp. buttons are clicked.
13432 2003-09-29 Michael Natterer <mitch@gimp.org>
13434 * app/core/gimptoolinfo.[ch]: added a GimpContainer of tool
13437 * app/core/gimptooloptions.[ch] (gimp_tool_options_set_property):
13438 silently accept setting the *same* tool_info again.
13440 (gimp_tool_options_build_filename): is public now.
13442 * app/tools/gimp-tools.c (gimp_tools_restore,save): load and save
13443 the presets container.
13445 * app/gui/tool-options-dialog.[ch]: removed.
13447 * app/gui/tool-options-commands.[ch]
13448 * app/gui/tool-options-menu.[ch]: new files implementing a menu
13449 for the new GimpToolOptionsEditor widget. Has submenus for saving,
13450 loading, and deleting tool options to/from the
13451 tool_info->options_presets container.
13453 * app/gui/Makefile.am
13454 * app/gui/dialogs-constructors.c
13455 * app/gui/menus.c: changed accordingly.
13457 * app/widgets/Makefile.am
13458 * app/widgets/widgets-types.h
13459 * app/widgets/gimptooloptionseditor.[ch]: the tool options dialog
13460 as proper widget. The "Load" and "Save" buttons still do the same
13461 stuff as before. Will make them use the new presets since making
13462 them do something useful was the reason for this whole change.
13464 * app/widgets/gimphelp-ids.h: added missing help IDs for the tool
13467 2003-09-29 Michael Natterer <mitch@gimp.org>
13469 Fixed handling of G_PARAM_CONSTRUCT_ONLY properties:
13471 * app/config/gimpconfig.c (gimp_config_iface_duplicate): build
13472 a GParameter array of G_PARAM_CONSTRUCT_ONLY properties and
13473 use g_object_newv() instead of g_object_new() to create the
13476 * app/config/gimpconfig-utils.c
13477 (gimp_config_copy_properties)
13478 (gimp_consif_reset_properties): don't try to copy/reset
13479 G_PARAM_CONSTRUCT_ONLY properties because it is impossible.
13481 (gimp_config_connect_notify): ditto. Also don't try to read
13482 from unreadable or write to unwritable properties.
13484 2003-09-29 Michael Natterer <mitch@gimp.org>
13486 * app/tools/gimpcroptool.c: minor cleanups.
13488 (gimp_crop_tool_modifier_key): s/crop-type/crop-mode/. Fixes tool
13489 toggling which was broken after my GimpCropMode change.
13491 (crop_tool_crop_image): replaced parameter "gboolean crop_layers"
13492 by "GimpCropMode crop_mode". Makes its callers simpler and more
13495 2003-09-29 Simon Budig <simon@gimp.org>
13497 * app/widgets/gimppreviewrenderervectors.c: Fixed a bad crash
13498 (Thanks to Sven for spotting that). Minor cleanups.
13500 2003-09-29 Simon Budig <simon@gimp.org>
13502 * app/widgets/gimppreviewrenderervectors.c: Made the preview
13503 respect the aspect ratio and resolutions of the image. There
13504 apparently still is an off-by-one error in it.
13506 * app/tools/gimpvectortool.c: (Hopefully) fixed a crash when a new
13507 image gets opened with the vectors tool active.
13509 2003-09-29 Sven Neumann <sven@gimp.org>
13511 * app/widgets/gimppreviewrenderer.[ch]: made draw a virtual method
13512 of GimpPreviewRenderer. Draw the border in the wrapper function.
13514 * app/widgets/gimppreviewrenderervectors.c: implement
13515 GimpPreviewRenderer::draw instead of GimpPreviewRenderer::render.
13517 2003-09-29 Simon Budig <simon@gimp.org>
13519 * app/widgets/gimppreviewrenderervectors.c: Made these widgets
13520 show a preview of the vectors object. Does not work everywhere
13521 right now, also most probably has scaling issues for non-square
13524 * app/tools/gimpdrawtool.c: Fixed Svens fix.
13526 2003-09-29 Sven Neumann <sven@gimp.org>
13528 * app/core/gimpstrokeoptions.[ch]: removed "dash-unit" property and
13529 renamed "width-unit" to "unit".
13531 * app/core/gimpdrawable-stroke.c
13532 * app/widgets/gimpstrokeeditor.c: changed accordingly.
13534 2003-09-28 Ville PƤtsi <drc@gimp.org>
13536 * themes/Default/images/stock-join-bevel-16.png: Properly corrected
13539 2003-09-29 Simon Budig <simon@gimp.org>
13541 * app/core/gimpscanconvert.c: Fixed glitch to enable dashed
13542 strokes with width < 1.0.
13544 * app/core/gimpdrawable-stroke.c: Actually pass the miter
13545 limit to gimp_scan_convert_stroke ().
13547 2003-09-28 Ville PƤtsi <drc@gimp.org>
13549 * gimp/themes/Default/images/stock-join-bevel-16.png: Corrected the
13552 2003-09-28 Sven Neumann <sven@gimp.org>
13554 * app/gui/stroke-dialog.c (stroke_dialog_new): as a temporary hack,
13555 let the Stroke Dialog remember the last used stroke options.
13557 2003-09-28 Sven Neumann <sven@gimp.org>
13559 * app/core/gimpimage-duplicate.c (gimp_image_duplicate): also
13560 duplicate vectors and grid.
13562 2003-09-28 Ville PƤtsi <drc@gimp.org>
13564 * gimp.spec.in: Removed post install processing to finally completely
13567 2003-09-28 Sven Neumann <sven@gimp.org>
13569 * app/core/gimpscanconvert.c (gimp_scan_convert_free)
13570 (gimp_scan_convert_finish): plugged memleaks and added some sanity
13573 * app/base/pixel-region.c
13574 * app/core/gimpdrawable-preview.c: removed trailing whitespace.
13576 * app/tools/gimpdrawtool.c (gimp_draw_tool_on_vectors_curve):
13577 gimp_stroke_nearest_point_get() doesn't set cur_pos when there are
13578 no strokes; don't use the uninitialized variable.
13580 2003-09-28 Ville PƤtsi <drc@gimp.org>
13582 * themes/Default/images/stock-join-round-16.png
13583 * themes/Default/images/stock-join-miter-16.png
13584 * themes/Default/images/stock-join-bevel-16.png
13585 * themes/Default/images/stock-cap-square-16.png
13586 * themes/Default/images/stock-cap-round-16.png
13587 * themes/Default/images/stock-cap-butt-16.png: Changed these icons.
13589 2003-09-28 Sven Neumann <sven@gimp.org>
13591 * libgimpmath/gimpvector.c: fixed inline documentation.
13593 2003-09-28 Simon Budig <simon@gimp.org>
13594 Fabian Franz <debian@fabian-franz.de>
13596 Ok, this time for real - I did not expect to be still awake
13599 * plug-ins/common/animoptimize.c
13600 * plug-ins/common/screenshot.c
13601 * plug-ins/common/smooth_palette.c
13602 * plug-ins/common/tile.c: Fixed Undo issues. Plugins creating
13603 new images should create an empty undo history. Sprinkeling
13604 gimp_image_enable_undo() at the end of the plugins operations
13605 does the trick. It makes sense to do this *before* you add
13606 a display to the image, otherwise the UI gets out of sync.
13608 2003-09-28 Simon Budig <simon@gimp.org>
13610 "The last of the Oldenburg commits"
13612 Thanks to the team of the Oldenburg Linux Developers Meeting 2003
13613 for providing a nice hacking environment.
13615 * app/vectors/gimpvectors.c: Add a default stock_id.
13617 * app/widgets/gimppreviewrenderervectors.[ch]: New Widget
13618 to render the preview of vectors. Just renders a stock item
13619 now, since I was unable to figure out how to properly draw
13622 * app/widgets/Makefile.am
13623 * app/widgets/widgets-types.h: Changed accordingly.
13625 * app/widgets/gimppreviewrenderer-utils.c: Use the new widget.
13627 * app/core/gimpscanconvert.c
13628 * app/core/gimpdrawable-stroke.c: Use higher prescision for
13629 libart-stroking vectors. Reduces artefacts.
13631 * app/pdb/paths_cmds.c
13632 * libgimp/gimppaths_pdb.c: Regenerated after Tors changes.
13634 2003-09-28 Tor Lillqvist <tml@iki.fi>
13636 * tools/pdbgen/pdb/paths.pdb: Fix some documentation strings.
13638 2003-09-28 Sven Neumann <sven@gimp.org>
13640 * app/gui/resolution-calibrate-dialog.c (resolution_calibrate_ok):
13641 use the GIMP_COORDINATES_CHAINBUTTON() macro instead of trying to
13642 get it using a hardcoded and misspelled identifier.
13644 2003-09-28 DindinX <david@dindinx.net>
13646 * libgimpmath/gimpmatrix.[ch]:
13647 * libgimpmath/gimpmd5.[ch]:
13648 * libgimpmath/gimpvector.[ch]:
13649 * libgimpmath/test-md5.c: Removed tabs and trailing whitespaces.
13651 2003-09-28 Michael Natterer <mitch@gimp.org>
13653 * app/core/gimpimage.c (gimp_image_transform_temp_buf): use a much
13654 simpler and shorter method of determining how to transform the
13657 2003-09-28 Michael Natterer <mitch@gimp.org>
13659 * app/core/gimpdrawable-bucket-fill.c
13660 (gimp_drawable_bucket_fill_full): some more small cleanups.
13662 2003-09-28 DindinX <david@dindinx.net>
13664 * libgimpmath/gimpvector.[ch]: added documentation and fixed
13667 2003-09-27 Michael Natterer <mitch@gimp.org>
13669 * app/core/gimpdrawable-bucket-fill.c
13670 (gimp_drawable_bucket_fill_full): set the transformed color's
13671 alpha to OPAQUE so it works with color_region().
13673 * app/core/gimpdrawable-stroke.c (gimp_drawable_stroke_vectors):
13674 no need to transform the color into a newly allocated array,
13675 simply use guchar[MAX_CHANNELS] instead.
13677 Cleaned up both functions to use RED_PIX, GREEN_PIX and BLUE_PIX
13678 instead of 0, 1 and 2.
13680 2003-09-27 Michael Natterer <mitch@gimp.org>
13682 * app/paint-funcs/paint-funcs.[ch]: added new functions
13683 color_region_mask() which works like color_region() but takes an
13684 additional maskPR parameters and pattern_region() which fills
13685 destPR with a TempBuf of *matching color depth*.
13687 * app/paint-funcs/paint-funcs-generic.h: added corresponding
13688 color_pixels_mask() and pattern_pixels().
13690 * app/core/gimpimage.[ch] (gimp_image_transform_temp_buf): new
13691 function which transforms a TempBuf to a specified drawable's
13694 * app/core/gimpdrawable-bucket-fill.c: the functions were factored
13695 out here. Removed them and use the new stuff.
13697 * app/core/core-enums.[ch]: added enum GimpStrokeStyle which can
13698 be one of { SOLID, PATTERN }.
13700 * app/core/gimpstrokeoptions.[ch]: added "GimpStrokeStyle style"
13703 * app/core/gimpdrawable-stroke.c: honor the new "style" property
13704 and call the new color_region_mask() and pattern_region()
13705 functions accordingly, cleanup.
13707 * app/widgets/gimpstrokeeditor.c: added a GUI for the stroke
13708 style. Ugly but works.
13710 * app/gui/stroke-dialog.c: undefine "foreground" and "pattern" and
13711 set the user context as parent context so we get these properties
13712 from the global settings.
13714 2003-09-27 Sven Neumann <sven@gimp.org>
13716 * themes/Default/images/Makefile.am
13717 * themes/Default/images/stock-cap-[butt|round|square]-16.png
13718 * themes/Default/images/stock-join-[miter|round|bevel]-16.png:
13719 added placeholders for GimpCapStyle and GimpJoinStyle icons.
13721 * libgimpwidgets/gimpstock.[ch]: register the new icons.
13723 * app/widgets/gimpstrokeeditor.c: made "options" a construct-only
13724 property of the editor and create the widgets in a constructor
13725 method. Use stock boxes with the new icons.
13727 * app/gui/stroke-dialog.c (stroke_dialog_new): let the Cancel
13728 button destroy the dialog instead of itself.
13730 2003-09-27 Simon Budig <simon@gimp.org>
13732 * app/core/gimpdrawable-stroke.[ch]: changed the API of
13733 gimp_drawable_stroke_vectors to accept GimpStrokeOptions
13734 instead of lots of individual parameters.
13736 * app/vectors/gimpvectors.c: changed accordingly.
13738 2003-09-27 Sven Neumann <sven@gimp.org>
13740 * app/core/gimpstrokeoptions.[ch]: added unit properties for
13741 stroke width and dashes. Use convenience macros from GimpConfig to
13742 register the properties. Removed init function since all values
13743 are construct properties.
13745 * app/vectors/gimpvectors.c: respect the stroke width unit.
13747 * app/widgets/gimpstrokeeditor.c: added a unit menu here.
13749 2003-09-27 Michael Natterer <mitch@gimp.org>
13751 * app/gui/stroke-dialog.[ch]: made it a view on the GimpItem to
13752 stroke, not on the image, so the dialog goes away automatically if
13753 the item is removed from the image. Don't pass a GimpStrokeOptions
13754 to stroke_dialog_new() until we figured how to handle a list of
13755 presets or at least the last used options object. Also don't pass
13756 a GimpDrawable, get the active_drawable in the "ok" callback
13757 instead. Attach less pointers to the dialog and simplified stuff.
13759 * app/gui/vectors-commands.c (vectors_stroke_vectors): changed
13760 accordingly, removed commented out cruft.
13762 2003-09-27 Michael Natterer <mitch@gimp.org>
13764 * app/core/gimppaintinfo.[ch]: derive it from GimpViewable.
13766 * app/core/gimptoolinfo.c (gimp_tool_info_new): set the
13767 paint_info's stock_id from the tool_info's stock_id.
13769 * app/widgets/widgets-types.h: resurrected GimpItemStrokeFunc.
13771 * app/widgets/gimpvectorstreeview.[ch]: added a item_stroke_func
13772 pointer and use it instead of implementing stroking here.
13774 * app/gui/vectors-commands.[ch]: added vectors_stroke_vectors()
13775 which has the signature of a GimpItemStrokeFunc.
13777 * app/gui/dialogs-constructors.c: use it for the paths dialog.
13779 * app/gui/stroke-dialog.[ch]: extended to handle both libart and
13780 GimpPaintCore stroking. Use a GimpContainerMenu view on the
13781 gimp->paint_info_list container to select the paint core to use.
13783 2003-09-27 Sven Neumann <sven@gimp.org>
13785 * app/gui/info-window.c (info_window_update): improved readability
13786 of this code by introducing a local GimpImage* variable.
13788 * app/composite/gimp-composite-regression.c: use a matching format
13789 string for an u_long variable (should probably use gulong instead).
13791 * app/composite/make-installer.py: output a short note about what
13792 tests are going to be run.
13794 * app/composite/gimp-composite-3dnow-test.c
13795 * app/composite/gimp-composite-altivec-test.c
13796 * app/composite/gimp-composite-mmx-test.c
13797 * app/composite/gimp-composite-sse-test.c
13798 * app/composite/gimp-composite-sse2-test.c
13799 * app/composite/gimp-composite-vis-test.c: regenerated.
13801 2003-09-27 Michael Natterer <mitch@gimp.org>
13803 * app/gui/info-window.c (info_window_update): honor the
13804 default-resolution-unit when displaying the image's resolution.
13807 2003-09-26 Helvetix Victorinox <helvetix@gimp.org>
13809 * app/composite/gimp-composite-altivec-test.c
13810 * app/composite/gimp-composite-mmx-test.c
13811 * app/composite/gimp-composite-mmx-installer.c
13812 * app/composite/gimp-composite-sse-test.c
13813 * app/composite/gimp-composite-sse-installer.c
13814 * app/composite/gimp-composite-sse2-test.c
13815 * app/composite/gimp-composite-sse2-installer.c
13816 * app/composite/gimp-composite-vis-test.c
13817 * app/composite/gimp-composite-vis-installer.c:
13820 * app/composite/gimp-composite-altivec.[ch]
13821 * app/composite/gimp-composite-mmx.[ch]
13822 * app/composite/gimp-composite-sse.[ch]
13823 * app/composite/gimp-composite-sse2.[ch]
13824 * app/composite/gimp-composite-vis.[ch]
13825 * app/composite/make-installer.py:
13826 Make it such that when a test is run on the wrong kind of
13827 machine, don't fail without an explanation.
13829 2003-09-27 Simon Budig <simon@gimp.org>
13831 This still is very much in progress. I just want to commit this
13832 to avoid lossage. It kind of works but there definitely is
13833 code in the wrong place now.
13835 * app/gui/stroke-dialog.[ch]: New files implementing a dialog
13836 containing Svens GimpStrokeEditor-Widget.
13838 * app/gui/Makefile.am: changed accordingly.
13840 * app/gui/vectors-commands.c: Open the StrokeOptions-Dialog when
13841 the "stroke" menu entry gets selected.
13843 * app/vectors/gimpvectors.c: Remove bad #ifdef hacks and use
13844 Libart/Paintcore-Stroking depending on the type of the stroke_desc
13847 * app/core/gimpstrokeoptions.c: Proper handle the Enum-Properties.
13849 * app/core/gimpscanconvert.[ch]: make the antialias-parameter
13850 to gimp_scan_convert_new a gboolean.
13852 * app/tools/gimpiscissorstool.c
13853 * app/core/gimpdrawable-stroke.c
13854 * app/core/gimpimage-mask-select.c: Changed accordingly.
13856 2003-09-26 Sven Neumann <sven@gimp.org>
13858 * app/widgets/Makefile.am
13859 * app/widgets/widgets-types.h
13860 * app/widgets/gimpstrokeeditor.[ch]: added a (yet rudimentary)
13861 widget to view/edit a GimpStrokeOption.
13863 * app/widgets/gimptemplateeditor.[ch]: derive it directly from
13864 GtkVBox; it doesn't need any GimpEditor functionality.
13866 2003-09-26 Manish Singh <yosh@gimp.org>
13868 * tools/pdbgen/pdb/edit.pdb
13869 * tools/pdbgen/pdb/paths.pdb: apply Simon's changes (GIMP_OBJECT
13870 casts) to here, since they are generated files.
13872 2003-09-26 Michael Natterer <mitch@gimp.org>
13874 * app/display/gimpdisplayshell-callbacks.c: #include
13875 "widgets/gimpwidgets-utils.h" for gimp_button_menu_position().
13877 2003-09-26 Michael Natterer <mitch@gimp.org>
13879 * tools/pdbgen/Makefile.am: don't scan "app/tools/tools-enums.h"
13880 for PDB types since the PDB doesn't depend on app/tools/ any more.
13882 * app/tools/tools-enums.h: removed lengthy "skip" vs. "pdb-skip"
13883 comment. Removed "pdb-skip" from all enums. Renamed GimpCropType
13884 to GimpCropMode, renamed the enum's values to GIMP_CROP_MODE_*.
13886 * app/tools/tools-enums.c: regenerated.
13888 * app/tools/gimpcropoptions.[ch]
13889 * app/tools/gimpcroptool.c: changed accordingly.
13891 2003-09-26 Simon Budig <simon@gimp.org>
13893 * app/core/gimpstrokeoptions.[ch]: New Object, holding the
13894 Options for a Libart-Stroke.
13896 * app/core/Makefile.am
13897 * app/core/core-types.h: Changed accordingly.
13899 * app/core/gimpitem.[ch]: Changed the signature of
13900 gimp_item_stroke() to accept a GimpObject instead of a
13901 GimpPaintInfo. This enables us to pass GimpStrokeOptions
13902 to it. To be cleaned up for 2.2.
13904 * app/core/gimpselection.c
13905 * app/core/gimpchannel.c
13906 * app/vectors/gimpvectors.c: Changed accordingly
13908 * app/gui/edit-commands.c
13909 * app/gui/vectors-commands.c
13910 * app/pdb/edit_cmds.c
13911 * app/pdb/paths_cmds.c
13912 * app/widgets/gimpselectioneditor.c
13913 * app/widgets/gimpvectorstreeview.c: Fixed warnings by
13914 casting the GimpPaintInfo to GimpObject.
13916 2003-09-26 Michael Natterer <mitch@gimp.org>
13918 * app/widgets/gimppaletteeditor.c: removed inclusion of
13919 "gimptoolbox-color-area.h".
13921 2003-09-26 Michael Natterer <mitch@gimp.org>
13923 Cleaned up all places which pick colors to work consistently: the
13924 concept of an "active color" has disappeared, instead <ctrl> picks
13925 the BG color all over the place (fixes bug #122931).
13927 * app/tools/tools-enums.[ch]: added enum GimpColorPickMode which
13928 can be one of { FOREGROUND, BACKGROUND }. Reordered enums so
13929 non-registered ones are at the end of the file. Removed trailing
13932 * app/tools/gimpcolorpickeroptions.[ch]: added a "pick-mode"
13933 property and a GUI for it. Renamed the "update-active" property to
13936 * app/tools/gimpcolorpickertool.c: honor the new option. Toggle
13937 pick-mode on <ctrl>.
13939 * app/tools/gimpcolortool.[ch]: added pick_mode member and change
13940 the cursor accordingly.
13942 * app/widgets/gimpcolormapeditor.[ch]: added "GdkModifierType
13943 state" to the "selected" signal. Removed the signal's default
13946 * app/gui/dialogs-constructors.c: fixed the signal handler which
13947 lives here and set BG if <ctrl> was pressed.
13949 * app/widgets/gimppaletteeditor.c: removed weird <ctrl> <->
13950 active_color interaction and pick BG on <ctrl>. Don't change the
13951 toolbox color when editing a color in the palette.
13953 * app/widgets/gimptoolbox-color-area.[ch]: made the whole
13954 active_color stuff private. Will remove these artefacts soon...
13956 * app/gui/colormap-editor-menu.c
13957 * app/gui/palette-editor-menu.c: added separate menu entries
13958 for adding a color from the current FG and BG.
13960 * app/gui/colormap-editor-commands.c
13961 * app/gui/palette-editor-commands.[ch]: changed callbacks
13964 * cursors/background.xbm
13965 * cursors/background_mask.xbm
13966 * cursors/foreground.xbm
13967 * cursors/foreground_mask.xbm
13968 * cursors/gimp-tool-cursors.xcf: moved the FG/BG cursor modifiers
13969 closer to the upper right corner.
13971 * app/widgets/gimpcursor.c: ignore the cursor modifiers' hotspots
13972 since they are not relevant and I didn't save the hotspot in the
13973 updated cursor files for that reason.
13975 2003-09-26 Simon Budig <simon@gimp.org>
13977 * app/core/gimpscanconvert.[ch]: Add some parameters to
13978 gimp_scan_convert_stroke () to expose the Miter-Setting
13979 and enable dashing of vectors.
13981 * app/core/gimpdrawable-stroke.c: Use the dashing feature.
13983 * app/vectors/gimpvectors.c: Expose a bad hack (opacity
13984 controls the libart-stroke width) in a #define. Default
13987 2003-09-25 Tor Lillqvist <tml@iki.fi>
13990 * libgimp/gimpui.def: Add a couple of missing entries.
13992 2003-09-25 DindinX <david@dindinx.net>
13994 * plug-ins/print/gimp_main_window.c: small gui fixes in the
13995 select printer dialog.
13997 2003-09-25 Sven Neumann <sven@gimp.org>
13999 * app/config/gimpxmlparser.c (gimp_xml_parser_parse_io_channel):
14000 removed debugging output.
14002 * app/vectors/gimpvectors-import.c: simplified viewport handling
14003 and make it adhere to the spec again (hopefully my interpretation
14004 of the spec is right).
14006 2003-09-25 Sven Neumann <sven@gimp.org>
14008 * app/vectors/gimpvectors-import.c: more robust detection of svg
14009 nesting level; made scale-to-image work for non-pixel dimensions.
14011 2003-09-25 Sven Neumann <sven@gimp.org>
14013 * app/vectors/gimpvectors-import.[ch]: optionally scale the
14014 imported SVG to fit the image.
14016 * app/gui/vectors-commands.c: changed accordingly.
14018 * tools/pdbgen/pdb/paths.pdb: export the new scale parameter to
14021 * app/pdb/paths_cmds.c
14022 * libgimp/gimppaths_pdb.[ch]: regenerated.
14024 * plug-ins/common/svg.c: scale the imported vectors to image size.
14025 This makes them always fit :)
14027 2003-09-24 Maurits Rijk <lpeek.mrijk@consunet.nl>
14029 * plug-ins/common/illusion.c: applied rest of patch from
14030 yeti@physics.muni.cz to solve #72874
14032 2003-09-24 Maurits Rijk <lpeek.mrijk@consunet.nl>
14034 * libgimp/gimpmisc.[ch]: code indentation
14036 * plug-ins/common/illusion.c: fix for #72874 (Incorrect RGBA
14037 resampling in Illusion plug-in) plus code clean-up.
14039 * plug-ins/common/sinus.c: fix for #122379. Removed logo from UI.
14041 * plug-ins/common/diffraction.c
14042 * plug-ins/common/polar.c
14043 * plug-ins/common/ripple.c: code clean-up
14045 2003-09-24 Sven Neumann <sven@gimp.org>
14047 * NEWS: list what's new since the last release.
14049 * app/core/core-enums.h: fixed a typo.
14051 2003-09-24 Dave Neary <bolsh@gimp.org>
14053 * plug-ins/common/jpeg.c: Set default value for toggle, and
14054 only have it span one table cell.
14056 2003-09-24 Michael Natterer <mitch@gimp.org>
14058 * app/gui/dialogs-constructors.c (dialogs_get_view_menu_func):
14059 using gimp_container_view_get_by_dockable() was a bad idea since
14060 not all our GimpEditor subclasses actually are GimpContainerViews.
14061 Find the right GimpEditor manually instead (fixes missing popup
14064 * app/gui/colormap-editor-menu.c (colormap_editor_menu_update):
14065 make the menu entries insensitive if the image is not indexed.
14068 2003-09-24 Michael Natterer <mitch@gimp.org>
14070 * app/widgets/gimpwidgets-utils.c (gimp_menu_position)
14071 * app/widgets/gimpcontainerpopup.c (gimp_container_popup_show):
14072 more menus which pop up correctly with RTL languages.
14074 2003-09-24 Sven Neumann <sven@gimp.org>
14076 * libgimpwidgets/gimpwidgets.c (gimp_table_attach_aligned): use a
14077 hbox instead of an alignment.
14079 2003-09-23 Sven Neumann <sven@gimp.org>
14081 * app/gui/resize-dialog.c
14082 * app/widgets/gimptemplateeditor.c
14083 * plug-ins/common/svg.c: use horizontal boxes instead of alignments.
14084 Fixes dialog layout for RTL rendering.
14086 * plug-ins/common/png.c (save_dialog): only set the comment toggle
14087 active if there's a comment to save.
14089 2003-09-23 Dave Neary <bolsh@gimp.org>
14091 * plug-ins/common/jpeg.c: Fixed minor mistake in last commit.
14093 2003-09-23 Dave Neary <bolsh@gimp.org>
14095 * plug-ins/common/jpeg.c: Allow discarding of exif data if
14096 HAVE_EXIF is enabled and the user doesn't want to keep it.
14097 Closes bug #118384.
14099 2003-09-23 Sven Neumann <sven@gimp.org>
14101 * app/widgets/gimpwidgets-utils.[ch]: added a utility function
14102 that positions a menu that pops up from a button widget.
14104 * app/display/gimpdisplayshell-callbacks.c
14105 * app/widgets/gimpdockable.c: use the new utility function instead
14106 of duplicating the code.
14108 2003-09-23 Sven Neumann <sven@gimp.org>
14110 * app/widgets/gimplayertreeview.c (gimp_layer_tree_view_init):
14111 pack the widgets without using an alignment. Looks better and
14112 works in RTL mode as well.
14114 2003-09-23 Sven Neumann <sven@gimp.org>
14116 * app/widgets/gimpdockable.[ch]: added the title pango layout to
14117 the GimpDockable struct. Made gimp_dockable_menu_position() handle
14118 RTL layout correctly.
14120 * app/display/gimpdisplayshell-callbacks.c
14121 (gimp_display_shell_origin_menu_position): handle RTL layout.
14123 2003-09-23 Sven Neumann <sven@gimp.org>
14125 * libgimpwidgets/gimpchainbutton.c (gimp_chain_button_draw_lines):
14126 fixed rendering for RTL layout.
14128 2003-09-23 Michael Natterer <mitch@gimp.org>
14130 * app/widgets/gimpmenufactory.[ch]: added a "menu_title" which is
14131 registered with each menu.
14133 * app/widgets/gimpitemfactory.[ch]: added the title to the
14134 constructor and to the GimpItemFactory struct.
14136 * app/gui/menus.c: register titles with all menus.
14138 * app/widgets/gimpdockable.[ch]: show the tab menu, not the
14139 contained dialog's menu when clicking on the menu button.
14140 Embed the dialog's menu as submenu. Use the item_factory's
14141 title and the dockable's stock_id for the submenu entry.
14143 * app/widgets/gimpeditor.c: removed GtkWidget:popup_menu()
14144 implementation since that's done by GimpDockable now.
14146 * app/widgets/gimpdockbook.c: set the new menu item invisible
14147 when showing the menu as tab menu.
14149 * app/widgets/gimphelp-ids.h: added GIMP_HELP_DOCK_TAB_DETACH
14150 and renamed _TAB_REMOVE to _TAB_CLOSE.
14152 * app/gui/dialogs-menu.c: added the new menu entry for showing the
14153 dialog's sub-menu. Added a "Detach" menu item, renamed "Remove" to
14154 "Close". Accept both a GimpDockbook and a GimpDockable pointer as
14155 "data" in dialogs_menu_update().
14157 * app/gui/dialogs-commands.[ch]: changed accordingly. Never use
14158 gtk_item_factory_popup_data_from_widget() but always the "data"
14159 passed to the callbacks. Take care to not set the already active
14160 preview_size, tab_style and list/grid type in the resp. callbacks
14161 to avoid being called from dialogs_menu_update().
14163 * app/gui/dialogs-constructors.c: removed separate
14164 set_context_funcs and get_menu_funcs for GimpContainerView and
14165 GimpContainerEditor widgets and simply use
14166 gimp_container_view_get_by_dockable() to find the right widget.
14168 2003-09-23 Michael Natterer <mitch@gimp.org>
14170 * app/widgets/gimpdialogfactory.c
14171 (gimp_dialog_factories_restore_foreach): pass the menu_factory of
14172 the newly created dock to gimp_dockbook_new(), not the one of the
14173 dialog_factory we are restoring (doesn't matter since we have only
14174 one global_menu_factory, but this code should still not do wrong
14177 2003-09-23 Sven Neumann <sven@gimp.org>
14179 * app/config/gimpscanner.c (gimp_scanner_new_file): workaround for
14180 GLib bug #116617: set GimpConfigError before calling g_strerror().
14183 2003-09-23 Sven Neumann <sven@gimp.org>
14185 * app/gui/menus.c (menus_last_opened_add): add a shortcut of
14186 Ctrl-0 for the 10th entry.
14188 * app/config/gimpguiconfig.c: increased the default
14189 last-opened-size from 4 to 10; increased the max-new-image-size
14192 2003-09-23 Sven Neumann <sven@gimp.org>
14194 * app/vectors/gimpvectors-import.c (parse_svg_viewbox): fixed the
14195 direction of the translation applied for viewBox offsets.
14197 2003-09-23 Sven Neumann <sven@gimp.org>
14199 * themes/Default/images/Makefile.am
14200 * themes/Default/images/stock-menu-12.png: removed...
14202 * themes/Default/images/stock-menu-left-12.png
14203 * themes/Default/images/stock-menu-right-12.png: and added again
14204 together with a flipped version.
14206 * libgimpwidgets/gimpstock.[ch]: register GIMP_STOCK_MENU_LEFT and
14207 GIMP_STOCK_MENU_RIGHT instead of GIMP_STOCK_MENU and swap the
14208 images for RTL layout.
14210 * app/widgets/gimpdockable.c: use GIMP_STOCK_MENU_LEFT here.
14212 * app/display/gimpdisplayshell.c: replaced the arrow in the
14213 display origin with the GIMP_STOCK_MENU_RIGHT icon.
14215 2003-09-23 Sven Neumann <sven@gimp.org>
14217 * plug-ins/common/svg.c: show the pixel size specified by the SVG
14218 file and inform the user if it failed to provide one.
14220 2003-09-23 Jakub Steiner <jimmac@ximian.com>
14222 * themes/Default/images/stock-close-12.png
14223 * themes/Default/images/stock-menu-12.png: perhaps the last
14224 version looked too much like a disabled item.
14226 2003-09-23 Sven Neumann <sven@gimp.org>
14228 * app/gui/resize-dialog.c (ratio_callback): removed redundant
14231 * plug-ins/common/svg.c: use a default size to handle the case
14232 when librsvg cannot determine the SVG size.
14234 2003-09-23 Jakub Steiner <jimmac@ximian.com>
14236 * data/images/gimp_splash.png: a tiny tribute to the path tool
14238 2003-09-23 Sven Neumann <sven@gimp.org>
14240 * plug-ins/common/svg.c: added ratio entries and a chain button so
14241 you can scale the SVG file while keeping the aspect ratio intact.
14242 Query the SVG pixel size on resolution changes.
14244 2003-09-23 Simon Budig <simon@gimp.org>
14246 * app/core/gimpdrawable-stroke.c: Fixed vectors stroking on
14247 GRAY* and INDEXED* layers.
14249 * app/tools/gimpvectortool.c: Made the polygonal mode more
14252 2003-09-23 Jakub Steiner <jimmac@ximian.com>
14254 * themes/Default/images/stock-close-12.png
14255 * themes/Default/images/stock-menu-12.png: nicer, but hopefully
14256 still theme indepenedent somehow
14258 2003-09-22 Sven Neumann <sven@gimp.org>
14260 * tools/pdbgen/pdb/gimprc.pdb: UTF-8 validate the value set using
14261 gimprc_set(); mention this in the documentation.
14263 * app/pdb/gimprc_cmds.c
14264 * libgimp/gimpgimprc_pdb.c: regenerated.
14266 * app/config/gimpconfig-path.c (gimp_config_path_expand): added
14267 inline docs since this function is really not self-explanatory.
14269 2003-09-22 Henrik Brix Andersen <brix@gimp.org>
14271 Replaced the netscape-dependent web browser plug-in with a user
14272 configureable plug-in. This fixes bug #119120:
14274 * app/config/gimpguiconfig.[ch]: added gchar *web_browser member
14276 * app/config/gimprc-blurbs.h: added web browser blurb
14279 * docs/gimprc-1.3.5.in: regenerated using gimpconfig-dump
14281 * app/gui/preferences-dialog.c (prefs_dialog_new): added UI for
14282 specifying external web browser
14285 * plug-ins/Makefile.am
14286 * plug-ins/webbrowser/.cvsignore
14287 * plug-ins/webbrowser/Makefile.am
14288 * plug-ins/webbrowser/README
14289 * plug-ins/webbrowser/web-browser.scm
14290 * plug-ins/webbrowser/webbrowser.c : removed the old netscape-dependent
14291 web browser plug-in
14293 * po-plug-ins/POTFILES.in
14294 * plug-ins/common/plugin-defs.pl
14295 * plug-ins/common/webbrowser.c: added a new web browser plug-in
14297 * plug-ins/common/.cvsignore
14298 * plug-ins/common/Makefile.am: regenerated
14300 * app/widgets/gimphelp.c
14301 * app/widgets/widget-enums.[ch]
14302 * plug-ins/helpbrowser/dialog.c
14303 * plug-ins/maze/maze_face.c: changed accordingly + whitespace
14306 * po-script-fu/POTFILES.in
14307 * plug-ins/script-fu/scripts/Makefile.am
14308 * plug-ins/script-fu/scripts/web-browser.scm: use the new web
14309 browser plug-in to add menu entries to <Toolbox>/Help/
14311 2003-09-22 Sven Neumann <sven@gimp.org>
14313 * app/gui/menus.c (menus_restore) (menus_save): removed gimprc
14314 checks; let the functions always do what they are supposed to do.
14316 * app/gui/gui.c: check gimprc settings here and decide what to
14317 restore on startup and save on exit. Fixes bug #122930.
14319 2003-09-22 Sven Neumann <sven@gimp.org>
14321 * app/core/gimpviewable.c (gimp_viewable_get_popup_size):
14322 constrain popup size to GIMP_VIEWABLE_MAX_POPUP_SIZE but keep the
14323 aspect ratio intact. Fixes bug #122923.
14325 * app/text/gimpfont.c: use a smaller font size for popups so we
14326 don't exceed the maximum size.
14328 2003-09-22 Sven Neumann <sven@gimp.org>
14330 * plug-ins/common/svg.c: added a hack to work around the
14331 insufficiency of the librsvg API. Still unfinished ...
14333 2003-09-21 Michael Natterer <mitch@gimp.org>
14335 * app/widgets/gimpdockable.[ch]: added a title bar showing the
14336 dockable's name, a "close" and a "menu" button. Not quite
14337 finished, but almost...
14339 * app/gui/dialogs-constructors.c: changed accordingly.
14341 * themes/Default/images/Makefile.am
14342 * themes/Default/images/stock-close-12.png
14343 * themes/Default/images/stock-menu-12.png: new icons for the above.
14345 * libgimpwidgets/gimpstock.[ch]: register them.
14347 * themes/Default/gtkrc: remove any focus spacing from the
14348 dockables' new buttons since they can't get the focus anyway.
14350 2003-09-21 Michael Natterer <mitch@gimp.org>
14352 * app/gui/images-menu.c (images_menu_update): fixed typo.
14354 2003-09-21 Simon Budig <simon@gimp.org>
14356 * app/xcf/xcf-save.c: Enable the new save code by default.
14358 2003-09-21 Simon Budig <simon@gimp.org>
14360 * app/core/gimpscanconvert.c: Adjusted to make sure that
14361 no successive LINETOs to the same coordinate are in the
14362 path. Libart chokes on that.
14364 * app/core/gimpdrawable-stroke.c: Respect the offsets of the
14367 * app/tools/gimpvectortool.c: Removed status message in
14368 VECTORS_FINISHED mode as requested by Ville PƤtsi.
14370 * app/vectors/gimpvectors.c: Determine the stroke parameters
14371 from the current context (opacity/color/paint_mode).
14372 The other parameters are not yet supported.
14374 2003-09-21 Dave Neary <bolsh@gimp.org>
14376 * app/gui/image-menu.c: Changed default shortcut for Redo to
14377 Ctrl-Shift-Z, following a reccommendation of the GNOME HIG.
14379 2003-09-21 Sven Neumann <sven@gimp.org>
14381 * tools/pdbgen/pdb/paths.pdb: added a preliminary PDB API for
14382 vectors import. Will change when the new vectors PDB API gets
14385 * app/pdb/internal_procs.c
14386 * app/pdb/paths_cmds.c
14387 * libgimp/gimppaths_pdb.[ch]: regenerated.
14389 * plug-ins/common/svg.c: allow to import paths when rendering a
14392 2003-09-21 Sven Neumann <sven@gimp.org>
14394 * plug-ins/common/svg.c: added a resolution entry and implemented
14395 PDB parameter parsing.
14397 2003-09-21 Michael Natterer <mitch@gimp.org>
14399 * app/widgets/gimpcontainergridview.c
14400 (gimp_container_grid_view_init): removed the useless padding from
14401 the label which shows the name of the selected item, so it's
14402 properly aligned with the widget's left border now.
14404 2003-09-21 Sven Neumann <sven@gimp.org>
14406 * app/core/core-enums.[ch]: renamed new enums to use "style" instead
14407 of the overloaded term "type". Also renamed GimpGridType while I was
14410 * app/core/gimpdrawable-stroke.[ch]
14411 * app/core/gimpgrid.[ch]
14412 * app/core/gimpscanconvert.[ch]
14413 * app/display/gimpdisplayshell.c
14414 * app/vectors/gimpvectors.c
14415 * app/gui/grid-dialog.c: changed accordingly.
14417 2003-09-21 Simon Budig <simon@gimp.org>
14418 Dave Neary <bolsh@gimp.org>
14420 * app/core/gimpdrawable-stroke.c: gimp_image_apply_image () must
14421 not get the pixel Region twice, use NULL for src1_tiles, which
14422 then defaults to the drawables tiles. Also pixel_region_init()
14423 does not take the offsets set by tile_manager_set_offsets into
14424 account. Use 0,0 instead of x1,y1. Fixes bad crashes.
14426 * app/core/gimpscanconvert.c: fixed crash for the same reason.
14428 * app/vectors/gimpvectors.c: Enabled the new stroking by default.
14429 Of course there should be a dialog to tweak the settings... :-)
14431 2003-09-20 Simon Budig <simon@gimp.org>
14432 Dave Neary <bolsh@gimp.org>
14434 First steps towards Libart stroking. Right now the code
14435 crashes and thus is disabled by default. If you want to
14436 test it, change the #define LIBART_STROKE in
14437 app/vectors/gimpvectors.c. Then a click on the stroke button
14438 in the paths dialog invokes the new code.
14439 The crash is in gimpdrawable-stroke.c - apparently I did not
14440 yet get the TileManager stuff correctly.
14442 * app/core/gimpscanconvert.[ch]: Rewritten to be more clear
14443 and have an easier API. Now can handle open Paths and
14444 libart-stroke the (open/closed) polygons defined earlier.
14446 * app/core/core-enums.h: Added Enums for LineJoin-Type and
14447 EndCap-Type for stroking.
14449 * app/core/core-enums.c: regenerated.
14451 * app/core/gimpimage-mask-select.c: Use the new API of
14452 GimpScanConvert where appropriate.
14454 * app/vectors/gimpvectors.c: Added #define to enable the libart
14455 stroking. Disabled by default because of the crash mentioned
14458 * app/vectors/gimpbezierstroke.c
14459 * app/vectors/gimpstroke.c
14460 * app/vectors/gimpvectors.[ch]: Removed Libart stuff here.
14461 Libart usage now lives exclusively in GimpScanConvert.
14463 * app/core/gimpdrawable-stroke.[ch]: New files for the libart
14464 stroking (right now just vector objects).
14465 * app/core/Makefile.am: changed accordingly.
14467 * app/Makefile.am: Needed to tweak linking. :-/
14469 2003-09-20 Henrik Brix Andersen <brix@gimp.org>
14471 * app/config/gimpconfig-dump.c (dump_gimprc): removed reference to
14472 the "module-load-inhibit" property
14474 2003-09-19 Helvetix Victorinox <helvetix@gimp.org>
14476 * app/composite/gimp-composite-mmx.c
14477 (gimp_composite_difference_rgba8_rgba8_rgba8_mmx): Replaced the
14478 improper use of the pminub instruction with the macro which does the
14479 same using only mmx instructions.
14481 2003-09-20 Sven Neumann <sven@gimp.org>
14483 * plug-ins/common/svg.c: added framework for size negotiation. Not
14484 really useful yet but compiles and sortof works even.
14486 2003-09-19 Sven Neumann <sven@gimp.org>
14488 * app/vectors/gimpbezierstroke.c
14489 * app/vectors/gimpstroke.c: made "closed" a construct_only property
14490 and make sure that notify is emitted correctly when it is changed.
14492 2003-09-19 Sven Neumann <sven@gimp.org>
14494 * app/vectors/gimpvectors-import.c (parse_svg_viewbox): revert to
14495 the old implementation that is ugly but should work more reliably
14496 in locales that use ',' as the decimal separator. Disable rendering
14497 of elements with a zero viewBox.
14498 (parse_svg_length): fixed handling of width and height parameters.
14500 2003-09-19 Sven Neumann <sven@gimp.org>
14502 * plug-ins/common/svg.c (load_image): do not rely on librsvg
14503 setting GError on failure, it doesn't :(
14505 2003-09-19 Michael Natterer <mitch@gimp.org>
14507 * app/gui/gui.c (gui_device_change_notify): session_info->widget
14508 is not a GimpDeviceStatus but its parent GimpDockable. Use the
14509 dockable's child instead. Fixes bug #122684.
14511 2003-09-19 Michael Natterer <mitch@gimp.org>
14513 * app/tools/gimpcolorpickertool.c: moved the call to
14514 gimp_color_tool_enable() from GimpTool::initialize() to
14515 GObject::constructor() so the right cursor is shown before the
14516 first button_press. Fixes bug #122693.
14518 2003-09-19 Sven Neumann <sven@gimp.org>
14520 * app/widgets/gimpcolormapeditor.c: changed the hex entry to look
14521 and feel like the hex entry in the GimpColorScales widget. Fixes
14524 2003-09-19 Michael Natterer <mitch@gimp.org>
14526 Fix for bug #122695:
14528 * app/widgets/gimpcolormapeditor.c
14529 (gimp_colormap_hex_entry_activate): call gimp_image_flush() after
14530 gimp_image_set_colormap_entry() so the projection gets updated.
14532 Cleanup / consistency with other dialogs:
14534 * app/widgets/gimphelp-ids.h: added help IDs for the colormap
14535 editor's menu items and buttons.
14537 * app/gui/colormap-editor-menu.c (colormap_editor_menu_entries):
14538 use the new help IDs.
14540 * app/widgets/gimpcolormapeditor.[ch]: added buttons for "Edit Color"
14541 and "Add Color" and moved the color_notebook code to this file.
14543 * app/gui/colormap-editor-commands.[ch]: removed almost all code
14544 and simply emit "clicked" from the editor's buttons so their
14545 callbacks are invoked.
14547 2003-09-19 Seth Burgess <sjburges@gimp.org>
14549 * tools/pdbgen/pdb/selection.pdb: corrected order of parameters for
14550 gimp_image_mask_select_channel (used by gimp-channel-combine-masks,
14551 gimp-selection-combine).
14553 * app/pdb/selection_cmds.c: regenerated.
14555 2003-09-19 Simon Budig <simon@gimp.org>
14557 * app/tools/gimpvectortool.[ch]: Show a little help in the
14558 status bar. Maybe the functions I implemented to track
14559 the status of the status bar should live in a parent class.
14560 Still behaves a little weird, but I need help to fix it and it
14561 does not crash, so I committed it anyway... :-)
14563 2003-09-18 Sven Neumann <sven@gimp.org>
14565 * app/vectors/gimpbezierstroke.c
14566 (gimp_bezier_stroke_nearest_point_get): removed compiler warning.
14568 * app/vectors/gimpvectors-export.c: small formatting change.
14570 2003-09-18 Simon Budig <simon@gimp.org>
14572 * app/tools/tools-enums.h: Renamed the modes of the vector tools:
14573 - Design (creative stuff: placing of new anchors /
14574 moving anchors/segments)
14575 - Edit (technical stuff: inserting/deleting anchors/segments)
14576 - Move (moving strokes/vectors)
14578 Jimmac: These need icons... :-)
14580 * app/tools/tools-enums.c: regenerated
14582 * app/tools/gimpvectoroptions.c
14583 * app/tools/gimpvectortool.c: changed accordingly.
14585 2003-09-18 Michael Natterer <mitch@gimp.org>
14587 * app/paint/Makefile.am
14588 * app/paint/paint.[ch]: removed...
14589 * app/paint/gimp-paint.[ch]: ...and added.
14591 * app/core/gimp.c: changed accordingly.
14593 * app/tools/Makefile.am
14594 * app/tools/tools.[ch]: removed...
14596 * app/tools/gimp-tools.[ch]: ...and added. Added
14597 gimp_tools_restore() and gimp_tools_save() and moved the entire
14598 tool registering and tool_options loading/saving code here. Call
14599 tool_manager_init() from gimp_tools_init() and tool_manager_exit()
14600 from gimp_tools_exit().
14602 * app/tools/tool_manager.[ch]: removed the code which now lives
14603 in gimp-tools.[ch]. The tool manager now has no knowledge about
14604 individual tools any more and just handles the active_tool
14605 and the tool part of tool <-> display interaction.
14606 Removed tool_manager_get_info_by_type().
14608 * app/tools/gimpvectortool.c (gimp_vector_tool_register): the
14609 tool's identifier is "gimp-vector-tool", not "gimp-path-tool".
14612 * app/display/gimpdisplayshell-callbacks.c
14613 * app/gui/vectors-commands.c
14614 * app/tools/gimppainttool.c: changed accordingly.
14616 2003-09-18 Sven Neumann <sven@gimp.org>
14618 * plug-ins/common/screenshot.c (create_image): rewritten pixel
14619 transfer from pixbuf to drawable; doesn't need a tile cache any
14622 * plug-ins/common/svg.c: same change here together with a bunch of
14623 other changes in preparation for viewport negotiation.
14625 2003-09-18 Simon Budig <simon@gimp.org>
14627 * app/vectors/gimpstroke.[ch]
14628 * app/vectors/gimpbezierstroke.c: (gimp_stroke_nearest_point_get)
14629 added the endpoint of the segment to the list of returned values.
14631 * app/tools/gimpdrawtool.[ch]: (gimp_draw_tool_on_vectors_curve)
14632 return the endpoint also.
14634 * app/tools/gimpvectortool.[ch]: Use that to activate the
14635 to-be-changed anchors when dragging on the curve directly.
14637 * app/tools/gimpmovetool.[ch]: changed accordingly.
14639 2003-09-18 Sven Neumann <sven@gimp.org>
14641 * app/composite/gimp-composite.[ch]: cosmetics.
14643 2003-09-18 Sven Neumann <sven@gimp.org>
14645 * app/vectors/gimpvectors-export.c (gimp_vectors_export): always
14646 save the image size; default to centimeters.
14648 2003-09-18 Sven Neumann <sven@gimp.org>
14650 * configure.in: added a check for librsvg-2.0.
14652 * plug-ins/common/mkgen.pl
14653 * plug-ins/common/svg.c: added SVG import plug-in. This plug-in
14654 was written by Dom Lachowicz and used to live in the librsvg source
14655 tree (bug #103039).
14657 * plug-ins/common/Makefile.am
14658 * plug-ins/common/plugin-defs.pl: regenerated.
14660 2003-09-18 Simon Budig <simon@gimp.org>
14662 * app/tools/gimpvectortool.c: Cursor keys now move the currently
14663 active anchors, SHIFT and CTRL increase the steps.
14665 * MAINTAINERS: Added myself in an attack of hubris...
14667 2003-09-18 Sven Neumann <sven@gimp.org>
14669 * app/vectors/gimpvectors-export.c: save the vectors (or rather
14670 image) dimensions in the exported SVG.
14672 * app/vectors/gimpvectors-import.c: added SVG units parser and
14673 finished viewport handling. The parser now respects the size
14674 specified in the SVG and the image resolution. Should also handle
14675 nested SVGs correctly, but this is untested.
14677 2003-09-18 Michael Natterer <mitch@gimp.org>
14679 * app/Makefile.am (gimp_1_3_LDFLAGS): specifying one symbol per
14680 object file we force to be linked in is sufficient.
14682 2003-09-18 Michael Natterer <mitch@gimp.org>
14684 * app/widgets/gimpdatafactoryview.[ch]
14685 * app/widgets/gimpitemtreeview.[ch]
14686 * app/widgets/gimppaletteeditor.[ch]
14687 * app/widgets/gimptemplateview.[ch]: order the button boxes in
14688 these dialogs like the entries their popup menus: The default
14689 (double click) action is the first menu entry / button. In an
14690 attack of consistency, also reordered functions and function
14691 parameters all over the place to match the new order.
14693 * app/widgets/gimpchanneltreeview.c
14694 * app/widgets/gimplayertreeview.c
14695 * app/widgets/gimpvectorstreeview.c
14696 * app/gui/dialogs-constructors.c: changed accordingly.
14698 2003-09-17 Michael Natterer <mitch@gimp.org>
14700 * app/tools/gimpeditselectiontool.c
14701 (gimp_edit_selection_tool_arrow_key): initialize undo_type to shut
14704 2003-09-17 Simon Budig <simon@gimp.org>
14706 * app/vectors/gimpstroke.[ch]
14707 * app/vectors/gimpvectors.[ch]: Changed gimp_*_anchor_select to
14708 accept the selection state as an argument.
14710 * app/tools/gimpdrawtool.[ch]: Added "exclusive" boolean parameter
14711 to gimp_draw_tool_on_vectors_handle(), so that you can specify
14712 that you just get exactly the type of anchor you want to have.
14714 * app/tools/gimpvectortool.[ch]: Handling of multiple selected
14715 anchors: Shift-Clicking in Extend mode selects them, you can
14716 move them together.
14718 2003-09-17 Michael Natterer <mitch@gimp.org>
14720 * app/tools/tools.c (tools_init): moved the path tool after the
14723 2003-09-17 Manish Singh <yosh@gimp.org>
14725 * app/Makefile.am: special case windows for leading underscores in
14728 2003-09-17 Ville PƤtsi <drc@gimp.org>
14730 * configure.in: Added AC_SUBST to required version numbers.
14731 * gimp.spec.in: Changed the requires to use the version numbers from
14734 2003-09-17 Simon Budig <simon@gimp.org>
14736 * app/tools/gimpvectortool.c: smallish change to enable
14737 dragging out of handles again. It is now dragging handles
14738 out of anchors, when click/dragging on them in Insert/Delete
14739 mode. Deletion of nodes now requires the SHIFT modifier.
14741 2003-09-17 Sven Neumann <sven@gimp.org>
14743 * plug-ins/common/sparkle.c: some code cleanup.
14745 2003-09-17 Michael Natterer <mitch@gimp.org>
14747 Added nomis' favorite feature ;)
14749 * app/paint/gimppaintcore.[ch]: added gimp_paint_core_cancel()
14750 which can be called instead of gimp_paint_core_finish().
14751 It simply copies core->undo_tiles back to the drawable instead of
14752 pushing them to the undo stack.
14754 * app/tools/gimppainttool.c (gimp_paint_core_button_release): call
14755 _cancel() instead of _finish() if the right mouse button is
14758 2003-09-17 Michael Natterer <mitch@gimp.org>
14760 * app/tools/gimpvectortool.[ch]: added "GimpVectorMode saved_mode"
14761 to the GimpVectorTool struct.
14763 (gimp_vector_tool_modifier_key): use it to correctly keep track of
14764 the modifier state.
14766 * app/tools/gimpselectiontool.c (gimp_selection_tool_modifier_key):
14767 moved variable to local scope.
14769 2003-09-17 Sven Neumann <sven@gimp.org>
14771 * app/config/gimpconfig-path.c (gimp_config_path_expand): fixed
14774 2003-09-17 Michael Natterer <mitch@gimp.org>
14777 * cursors/hand_mask.xbm: removed.
14779 * cursors/hand_small.xbm
14780 * cursors/hand_small_mask.xbm: ...and added under new names.
14782 * cursors/Makefile.am
14783 * cursors/gimp-tool-cursors.xcf: changed accordingly.
14785 * app/widgets/widgets-enums.h
14786 * app/widgets/gimpcursor.c: removed HAND from the GimpCursorModifier
14787 enum and added it to the GimpToolCursorType enum. We don't have a
14788 hand tool but this way the hand cursor (which is in the lower
14789 right corner) can be used together with other cursor modifiers
14790 (which are in the upper right corner).
14792 * app/tools/gimpmovetool.c
14793 * app/tools/gimpvectortool.c: show cursor modifers with the hand
14794 cursor where appropriate.
14796 2003-09-16 Helvetix Victorinox <helvetix@gimp.org>
14798 * app/composite/gimp-composite-{mmx,sse,sse2,altivec,vis}.c:
14801 * app/composite/gimp-composite-regression.[ch]: Ensure all ints
14802 are now unsigned longs.
14804 * app/composite/gimp-composite-sse2.c
14805 (gimp_composite_addition_rgba8_rgba8_rgba8_sse2):
14806 Enclosed the troublesome (rather dense) asm construct in
14807 __OPTIMIZE__ in which case the compiler can successfully
14808 allocate enough registers to load up the asm()
14810 2003-09-17 Seth Burgess <sjburges@gimp.org>
14812 * plug-ins/common/sparkle.c: use the rowstride of a pixel region
14813 because you never know when you're starting on a selection. Fixes
14816 2003-09-17 Simon Budig <simon@gimp.org>
14818 * app/tools/gimpvectortool.c: Ok, since the obsolete undo
14819 step is invalid the undo_event of the image probably should be
14820 GIMP_UNDO_EVENT_UNDO_EXPIRED. This fixes at least the undo
14823 2003-09-17 Simon Budig <simon@gimp.org>
14825 * app/tools/gimpvectortool.[ch]: Restored Mitchs favourite
14826 feature :-) (now the cursor indicates if you hover over
14827 a vectors object when no other one is active...). Also added
14828 more descriptive Undo names and RMB-Cancel for the Vectors tool.
14830 Please note, that the RMB-Cancel is implemented using the Undo
14831 System. I do not really have a clue on that and so right now
14832 there is an oddity - the undo-object popped from the undo
14833 stack does not get removed from e.g. the Undo History Dialog.
14835 Someone with a clue please have a look at that... :-)
14837 2003-09-16 Dave Neary <bolsh@gimp.org>
14839 * app/config/gimpconfig-path.c: Fixed a seg fault in an earlier
14842 2003-09-16 Michael Natterer <mitch@gimp.org>
14844 * app/gui/brushes-menu.c
14845 * app/gui/colormap-editor-menu.c
14846 * app/gui/dialogs-menu.c
14847 * app/gui/documents-menu.c
14848 * app/gui/gradients-menu.c
14849 * app/gui/palettes-menu.c
14850 * app/gui/patterns-menu.c: suppress more standard GTK+ stock item
14851 accelerators in popup menus by specifying "" instead of NULL as
14854 2003-09-16 Michael Natterer <mitch@gimp.org>
14856 * app/tools/gimpmoveoptions.[ch]: changed "gboolean move_mask" to
14857 "GimpTransformType move_type" and added an "Affect:" stock radio
14858 box so it offers the same LAYER,SELECTION,PATH choice as the other
14861 * app/tools/gimpmovetool.[ch]: honor the new tool option, made
14862 cursor_update() show more different cursors which describe the
14863 state of the tool more closely, fixed some cases where the
14864 GimpeditSelectionTool was invoked with meaningless values
14865 (like requesting a selection transform when there is no
14870 - Made <Shift> toggle "move current layer".
14871 - Made <Control> switch to path moving.
14872 - <Alt> switched to selection moving as before.
14874 * app/tools/gimpeditselectiontool.[ch]: added EDIT_VECTORS_TRANSLATE
14875 operation mode and honor it all over the place. Unified the code
14876 which transforms layers and vectors since it's essentially the same.
14878 (gimp_edit_selection_tool_cursor_key): simplified selection moving
14879 code and added support for moving paths (using <Control>).
14881 2003-09-16 Helvetix Victorinox <helvetix@gimp.org>
14883 * app/composite/gimp-composite-sse2.c: Removed code that caused
14884 gcc to complain can't find a register in class `GENERAL_REGS'. To
14885 be revisited later.
14887 2003-09-16 Sven Neumann <sven@gimp.org>
14889 * app/composite/gimp-composite-generic.c
14890 * app/composite/gimp-composite-mmx.c
14891 * app/composite/gimp-composite-sse.c
14892 * app/composite/gimp-composite-sse2.c
14893 * app/config/gimpconfig-deserialize.c
14894 * app/config/gimpconfig-path.c
14895 * app/config/gimpconfig-serialize.c
14896 * app/core/cpercep.c
14897 * app/core/gimpunit.c
14898 * app/gui/palette-import-dialog.c
14899 * app/gui/plug-in-menus.c
14900 * app/paint-funcs/paint-funcs-generic.h
14901 * app/paint-funcs/paint-funcs.c
14902 * app/pdb/procedural_db.c
14903 * app/text/gimptextlayout-render.c
14904 * app/tools/gimpfuzzyselecttool.c
14905 * app/widgets/gimpcursor.c: some trivial code cleanups: avoid
14906 casts that discard const qualifiers and avoid useless comparisons
14907 on unsigned variables. Also reordered qualifiers in function
14908 declarations (static comes before const).
14910 2003-09-16 Simon Budig <simon@gimp.org>
14912 * app/vectors/gimpvectors.[ch]: Fixed stupid bug (for getting
14913 the bounding box you also have to use MAX...).
14915 2003-09-16 Michael Natterer <mitch@gimp.org>
14917 * app/core/gimpchannel.c (gimp_channel_translate): transform the
14918 channel's bounding box later so we really update the channel's new
14921 2003-09-16 Sven Neumann <sven@gimp.org>
14923 * app/config/gimpxmlparser.c: changed buffer size and improved
14924 encoding detection.
14926 2003-09-15 Helvetix Victorinox <helvetix@gimp.org>
14928 * gimp-composite-mmx-{test,installer}.c
14929 * gimp-composite-sse-{test,installer}.c
14930 * gimp-composite-sse2-{test,installer}.c
14931 * make-installer.py: sort test output by mode name
14933 * gimp-composite-sse2.[ch]: New compositing mode implementations
14939 * gimp-composite-x86.h: added
14941 * gimp-composite-{sse,mmx,sse2}.[ch]: Tightening declarations of
14942 clobbered registers.
14944 2003-09-16 Manish Singh <yosh@gimp.org>
14946 * app/Makefile.am: use -u to prevent garbage collection of symbols
14947 prematurely. I wonder if this works everywhere...
14949 * app/pdb/Makefile.am
14950 * app/vectors/Makefile.am: remove gross hacks
14952 2003-09-16 Simon Budig <simon@gimp.org>
14954 * app/vectors/gimpvectors.[ch]: Implemented an (unused/untested)
14955 gimp_vectors_bounds () that returns the bounding box of an vectors
14958 * app/tools/gimpdrawtool.[ch]: made gimp_draw_tool_on_vectors()
14959 ignore handles/anchors, since they are not visible when that
14960 function gets used.
14962 2003-09-15 Simon Budig <simon@gimp.org>
14964 * app/core/gimpimage.c: fixed bogus
14965 gimp_item_set_image (GIMP_ITEM (vectors), NULL);
14967 * app/tools/gimpdrawtool.[ch]: added gimp_draw_tool_on_vectors:
14968 checks if the given coordinate is on any vectors object of the image.
14970 * app/tools/gimpvectortool.[ch]: Changed the tool modes.
14971 VECTORS_SELECT_VECTORS now is active when the tool does not
14972 have a current vectors object or the gdisplay is different
14973 than the one the tool is drawing on. Also the Move mode now
14974 uses it, when clicking outside the current vectors object.
14976 Factored out the sanity check of the internal state
14977 (gimp_vector_tool_verify_state).
14979 2003-09-15 Sven Neumann <sven@gimp.org>
14981 * app/core/gimpdrawable-transform-utils.[ch]: removed...
14983 * app/core/gimp-transform-utils.[ch]: ...and added under new names
14984 because these functions are not at all related to GimpDrawable.
14985 Changed the function names accordingly.
14987 * app/tools/gimpperspectivetool.c
14988 * app/tools/gimprotatetool.c
14989 * app/tools/gimpscaletool.c
14990 * app/tools/gimpsheartool.c
14991 * app/vectors/gimpstroke.c
14992 * app/vectors/gimpvectors.c
14993 * tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
14995 * app/pdb/transform_tools_cmds.c: regenerated.
14997 2003-09-15 Michael Natterer <mitch@gimp.org>
14999 * app/core/gimpedit.[ch]
15000 * app/core/gimpmodules.[ch]
15001 * app/core/gimpunits.[ch]
15002 * app/text/gimpfonts.[ch]: removed...
15004 * app/core/gimp-edit.[ch]
15005 * app/core/gimp-modules.[ch]
15006 * app/core/gimp-units.[ch]
15007 * app/text/gimp-fonts.[ch]: ...and added with new names because
15008 these files operate on members of a Gimp instance and are
15009 therefore methods of the Gimp object.
15011 * app/core/Makefile.am
15012 * app/text/Makefile.am
15013 * app/display/gimpdisplayshell-dnd.c
15014 * app/gui/edit-commands.c
15015 * app/gui/module-browser.c
15016 * app/gui/preferences-dialog.c
15017 * app/widgets/gimpbufferview.c
15018 * app/widgets/gimpdocumentview.c
15019 * app/widgets/gimptoolbox-dnd.c
15021 * tools/pdbgen/pdb/edit.pdb
15022 * tools/pdbgen/pdb/fonts.pdb: changed accordingly.
15024 * app/pdb/edit_cmds.c
15025 * app/pdb/fonts_cmds.c: regenerated.
15027 * app/core/gimp.c (gimp_init): don't create gimp->fonts.
15028 (gimp_initialize): call gimp_fonts_init().
15029 (gimp_restore): call gimp_fonts_load() instead of _init().
15031 * app/text/gimp-fonts.c (gimp_fonts_init): don't call
15032 gimp_fonts_load(), just create gimp->fonts and connect to
15033 "notify::font-path" of gimp->config.
15035 2003-09-15 Sven Neumann <sven@gimp.org>
15037 * app/config/gimpxmlparser.c: fixed inline documentation.
15039 * app/vectors/gimpstroke.h: added a missing newline.
15041 2003-09-15 Sven Neumann <sven@gimp.org>
15043 * app/config/Makefile.am
15044 * app/config/config-types.h
15045 * app/config/gimpxmlparser.[ch]: new files that hold a simple XML
15046 parser based on GMarkupParser. It's not a full-featured XML parser;
15047 it only adds transparent handling of encodings to GMarkupParser
15048 and provides a convenient API to deal with files or IO channels.
15050 * app/vectors/gimpvectors-import.c: use the new GimpXmlParser.
15052 * app/vectors/gimpvectors-export.c: write encoding attribute.
15054 * app/tips-dialog.c
15055 * app/tips-parser.c: use the new GimpXmlParser.
15057 * app/vectors/Makefile.am: had to add one of those truly ugly
15058 hacks here in order to get the application linked.
15060 2003-09-15 Michael Natterer <mitch@gimp.org>
15062 * app/widgets/gimpitemtreeview.c (gimp_item_tree_view_constructor):
15063 order the "visible" and "linked" columns by inserting them with
15064 the right index, not by reordering code.
15066 (gimp_item_tree_view_set_container): set the handler_ids to 0
15067 after disconnecting them.
15069 2003-09-15 Sven Neumann <sven@gimp.org>
15071 * app/vectors/gimpvectors-import.c: name the vectors after the
15072 path id as found in the SVG.
15074 * app/vectors/gimpvectors-export.c: further improved formatting.
15076 2003-09-15 Simon Budig <simon@gimp.org>
15078 * app/vectors/gimpvectors-export.c: Save an id-attribute
15079 using the vector objects name. Slightly adjusted formatting.
15081 2003-09-15 Sven Neumann <sven@gimp.org>
15083 * app/vectors/gimpvectors-import.c (gimp_vectors_import): stop
15084 creating an extranous vectors object.
15086 2003-09-14 Manish Singh <yosh@gimp.org>
15088 * app/gui/gui.c: changed to a runtime check for gtk version.
15090 2003-09-14 Helvetix Victorinox <helvetix@gimp.org>
15092 * app/composite/gimp-composite-sse2.c
15093 (gimp_composite_swap_rgba8_rgba8_rgba8_sse2):
15094 Removed clobbered register declaration in an attempt to get this
15095 to compile with gcc 3.2.3
15097 2003-09-13 Sven Neumann <sven@gimp.org>
15099 * app/gui/vectors-commands.c (vectors_export_ok_callback): no need
15100 to flush the image after exporting vectors.
15102 * app/vectors/gimpvectors-import.c: improved error handling.
15104 2003-09-13 Helvetix Victorinox <helvetix@gimp.org>
15106 * gimp-composite-sse2-installer.c, gimp-composite-sse2-test.c:
15107 regenerated with new functions.
15109 * gimp-composite-sse.c, gimp-composite-sse2.c:
15110 Distinguish between 64bit and 128bit constants with a little
15111 faux hungarian notation.
15113 * gimp-composite-sse2.[ch]: Added implementations of
15114 addition_rgba8_rgba8_rgba8, subtract_rgba8_rgba8_rgba8, and
15115 swap_rgba8_rgba8_rgba8
15117 * gimp-composite-generic.c:
15118 Some formating beautification
15120 2003-09-13 Maurits Rijk <lpeek.mrijk@consunet.nl>
15122 * plug-ins/imagemap/grid.xpm: removed
15124 * plug-ins/imagemap/Makefile.am: removed grid.xpm from distribution
15126 * plug-ins/imagemap/imap_stock.[ch]
15127 * plug-ins/imagemap/imap_toolbar.c: use gimp stock icon for grid
15129 2003-09-13 Maurits Rijk <lpeek.mrijk@consunet.nl>
15131 * libgimp/gimpmiscui.[ch]
15132 * libgimp/gimpmisc.[ch]: a few more reusable routines extracted from
15135 * plug-ins/common/align_layers.c:
15136 * plug-ins/common/apply_lens.c
15137 * plug-ins/common/blinds.c
15138 * plug-ins/common/blur.c
15139 * plug-ins/common/bumpmap.c
15140 * plug-ins/common/checkerboard.c
15141 * plug-ins/common/cubism.c
15142 * plug-ins/common/despeckle.c
15143 * plug-ins/common/destripe.c
15144 * plug-ins/common/edge.c
15145 * plug-ins/common/emboss.c
15146 * plug-ins/common/engrave.c
15147 * plug-ins/common/gauss_iir.c
15148 * plug-ins/common/gauss_rle.c
15149 * plug-ins/common/glasstile.c
15150 * plug-ins/common/grid.c
15151 * plug-ins/common/illusion.c
15152 * plug-ins/common/jpeg.c
15153 * plug-ins/common/lic.c
15154 * plug-ins/common/mapcolor.c
15155 * plug-ins/common/nlfilt.c
15156 * plug-ins/common/noisify.c
15157 * plug-ins/common/nova.c
15158 * plug-ins/common/oilify.c
15159 * plug-ins/common/pixelize.c
15160 * plug-ins/common/plasma.c
15161 * plug-ins/common/polar.c
15162 * plug-ins/common/randomize.c
15163 * plug-ins/common/ripple.c
15164 * plug-ins/common/scatter_hsv.c
15165 * plug-ins/common/sel_gauss.c
15166 * plug-ins/common/sharpen.c
15167 * plug-ins/common/smooth_palette.c
15168 * plug-ins/common/snoise.c
15169 * plug-ins/common/sobel.c
15170 * plug-ins/common/sparkle.c
15171 * plug-ins/common/struc.c
15172 * plug-ins/common/threshold_alpha.c
15173 * plug-ins/common/tileit.c
15174 * plug-ins/common/unsharp.c
15175 * plug-ins/common/vpropagate.c
15176 * plug-ins/common/waves.c
15177 * plug-ins/common/whirlpinch.c
15178 * plug-ins/common/wind.c
15179 * plug-ins/common/xpm.c: use new stuff from libgimp/gimpmiscui.[ch]
15180 plus some minor cleanup like removing unused header files (for
15183 2003-09-13 Sven Neumann <sven@gimp.org>
15185 * app/core/core-enums.[ch]
15186 * app/vectors/gimpvectors-import.c: add vectors in an undo-group.
15188 * app/gui/vectors-commands.c: added simple file selection dialogs
15189 for vectors import and export.
15191 2003-09-13 Sven Neumann <sven@gimp.org>
15193 * app/vectors/gimpvectors-import.c: simplified the parser and
15194 make it optionally create multiple vectors again.
15196 2003-09-13 Sven Neumann <sven@gimp.org>
15199 * libgimpmath/gimpmath.def
15200 * libgimpwidgets/gimpwidgets.def: used nm to regenerate these
15201 files from libraries built on Linux. There were quite some symbols
15204 2003-09-13 Sven Neumann <sven@gimp.org>
15206 * app/widgets/gimpitemtreeview.c: moved the visibility toggle
15207 before the linked toggle again.
15209 * app/core/gimpdrawable.c (gimp_drawable_configure)
15210 * app/core/gimpitem.c (gimp_item_init): quick fix for bug #122153:
15211 don't make the item visible in gimp_drawable_configure() since that
15212 breaks duplicate(); instead create all items as visible.
15214 2003-09-13 Sven Neumann <sven@gimp.org>
15216 * app/vectors/gimpvectors-import.c: rewrote large parts of the SVG
15217 parser. It now handles nested groups and transformations. Still not
15220 2003-09-12 Helvetix Victorinox <helvetix@gimp.org>
15222 * app/composite/gimp-composite-generic.[ch]: Added a proper
15223 implementation of the BEHIND drawing mode. This should fix bug
15226 * app/composite/gimp-composite-generic-installer.c: regenerated
15228 2003-09-12 Sven Neumann <sven@gimp.org>
15230 * app/vectors/gimpvectors-import.c (parse_svg_viewbox): return a
15231 transformation matrix in preparation for nested transforms.
15233 2003-09-12 Michael Natterer <mitch@gimp.org>
15235 * app/tools/gimpdrawtool.[ch]: added new functions
15236 gimp_draw_tool_on_vectors_handle() and _on_vectors_curve()
15237 so they can be used by all GimpDrawTool subclasses.
15239 * app/tools/gimpvectortool.[ch]: removed the _on_handle() and
15240 _on_curve() functions here. Connect to "active_vectors_changed" of
15241 the active_vector's image, so once it has been avtivated, the tool
15242 follows the path which is selected in the paths dialog.
15244 2003-09-12 Sven Neumann <sven@gimp.org>
15246 * app/core/gimpselection.c
15247 * app/gui/images-menus.c
15248 * app/gui/session.c: string fixes.
15250 * app/gui/images-commands.[ch]: changed the function names
15253 2003-09-12 Christian Neumair <chris@gnome-de.org>
15255 * app/gui/dialogs-menu.c: added missing ngettext calls to MENU_BRANCH
15258 2003-09-12 Sven Neumann <sven@gimp.org>
15260 * libgimpmath/gimpmatrix.[ch]: added gimp_matrix3_affine().
15262 * app/vectors/gimpvectors-import.c: added (yet unused) funtion to
15263 parse SVG transform attributes.
15265 * app/vectors/gimpvectors-export.c: fixed a stupid bug.
15267 2003-09-12 Michael Natterer <mitch@gimp.org>
15269 * app/core/gimpimage-mask-select.c (gimp_image_mask_select_vectors)
15270 * app/paint/gimppaintcore-stroke.c (gimp_paint_core_stroke_vectors)
15271 * app/display/gimpdisplayshell.c (gimp_display_shell_draw_vector)
15272 * app/tools/gimpdrawtool.c (gimp_draw_tool_real_draw)
15273 * app/tools/gimptransformtool.c (gimp_transform_tool_draw)
15274 * app/tools/gimpvectortool.c (gimp_vector_tool_vectors_visible)
15275 (gimp_vector_tool_draw): all callers of gimp_stroke_interpolate():
15276 don't leak the returned GimpCoords array and don't crash if it's
15279 * app/tools/gimpvectortool.[ch]: added VECTORS_SELECT_VECTOR state
15280 which enables activating any visible GimpVectors on any display.
15282 (gimp_vector_tool_on_handle)
15283 (gimp_vector_tool_on_curve): added a GimpVectors parameter so we
15284 can check for vectors which are not vector_tool->vectors.
15286 (gimp_vector_tool_oper_update): iterate gdisp->gimage->vectors
15287 to figure if we are hovering any visible vectors and set
15288 VECTORS_SELECT_VECTOR.
15290 (gimp_vector_tool_button_press): catch VECTORS_SELECT_VECTOR and
15291 start editing the selected vectors. Also make it the image's
15294 (gimp_vector_tool_button_release): removed unneeded call to
15295 gimp_viewable_invalidate_preview(vectors).
15297 Random cleanup all over the place.
15299 2003-09-12 Simon Budig <simon@gimp.org>
15301 * app/vectors/gimpvectors-export.c: Don't lose the last
15302 segment of closed paths when exporting...
15304 2003-09-12 Simon Budig <simon@gimp.org>
15306 * app/vectors/gimpvectors-export.c: Implemented more useful
15309 2003-09-12 Michael Natterer <mitch@gimp.org>
15311 * app/tools/gimpvectortool.c: removed all calls to
15312 gimp_tool_control_set_preserve() so the tool doesn't get
15313 confused by the image being dirtied.
15315 Made it aware of visible vectors:
15317 (gimp_vector_tool_draw): don't draw the stroke itself if the
15318 current vectors is visible.
15320 (gimp_vector_tool_vectors_visible): new callback which just draws
15321 the stroke itself when the vectors changes visibility.
15323 (gimp_vector_tool_set_vectors): connect the new callback.
15325 2003-09-12 Michael Natterer <mitch@gimp.org>
15327 Added support for permanently showing the visible vectors, not
15328 only when the vectors tool is active:
15330 * app/display/gimpdisplayshell.[ch]: added
15331 gimp_display_shell_draw_vector() which draws a single GimpVectors
15332 object and gimp_display_shell_draw_vectors() which draws all
15333 visible ones. Added "gint paused_count" and new functions
15334 gimp_display_shell_paunse()/resume(). Pause/resume the active tool
15335 and draw/undraw the visible vectors when paused_count changes from
15336 0 to 1 and from 1 to 0.
15338 * app/display/gimpdisplayshell-callbacks.c
15339 * app/display/gimpdisplayshell-scale.c
15340 * app/display/gimpdisplayshell-scroll.c: call the new
15341 freeze()/thaw() functions instead of calling the tool_manager
15342 directly. Removes the tools/ dependency from the scale and scroll
15343 files. Also draw the vectors once when the canvas is realized so
15344 XOR drawing is in the correct state.
15346 * app/display/gimpdisplayshell-handlers.c: connect to
15347 image->vectors' "add" and "remove" signals and to the "freeze",
15348 "thaw" and "visibility_changed" signals of all vectors in
15349 image->vectors and update vectors drawing accordingly.
15351 2003-09-11 Michael Natterer <mitch@gimp.org>
15353 * app/core/gimpdrawable.[ch]: removed "visible" and all its API...
15355 * app/core/gimpitem.[ch]: ...and added it here.
15357 * app/core/core-enums.[ch]
15358 * app/core/gimpimage-undo-push.[ch]: changed the drawable
15359 visibility undo to be an item visibility undo.
15361 * app/xcf/xcf-load.c
15362 * app/xcf/xcf-save.c: save it in PROP_VECTORS and changed channel
15363 and layer loading/saving accordingly.
15365 * app/core/gimpimage-merge.c
15366 * app/core/gimpimage-preview.c
15367 * app/core/gimpimage-projection.c
15368 * app/core/gimpimage.c
15369 * app/core/gimplayer-floating-sel.c
15370 * app/core/gimplayer.c
15371 * app/core/gimpselection.c
15372 * app/text/gimptextlayer.c
15373 * app/gui/channels-commands.c
15374 * tools/pdbgen/pdb/channel.pdb
15375 * tools/pdbgen/pdb/layer.pdb: changed accordingly.
15377 * app/pdb/channel_cmds.c
15378 * app/pdb/layer_cmds.c: regenerated.
15380 * app/widgets/gimpdrawabletreeview.[ch]: removed the eye icon...
15382 * app/widgets/gimpitemtreeview.[ch]: ...and added it here.
15384 2003-09-11 Jakub Steiner <jimmac@ximian.com>
15386 * themes/Default/images/preferences/folders-fonts.png:
15387 * themes/Default/images/preferences/folders-scripts.png:
15390 2003-09-11 Sven Neumann <sven@gimp.org>
15392 * themes/Default/images/Makefile.am
15393 * themes/Default/images/stock-transparency-[16|24].png: new icon.
15395 * libgimpwidgets/gimpstock.[ch]: register as GIMP_STOCK_TRANSPARENCY.
15397 * app/gui/image-menu.c
15398 * app/gui/layers-menu.c: use the new icon for "Add Alpha Channel".
15400 * app/widgets/gimplayertreeview.c: replaced the "Keep Trans."
15401 button with a check button plus the new icon (bug #121784).
15403 2003-09-11 Michael Natterer <mitch@gimp.org>
15405 * app/core/gimpitem-linked.[ch]: made gimp_item_linked_get_list()
15406 and the GimpItemLinkedMask enum public. Hiding them just causes
15409 * app/tools/gimpdrawtool.[ch]: added a GList of GimpVectors and a
15410 GimpMatrix3 transformation matrix for them. Just set them with
15411 gimp_draw_tool_set_vectors() and gimp_draw_tool_set_transform()
15412 and chain up in your tools's GimpdrawTool::draw() implementation
15413 to get the vectors drawn.
15415 * app/tools/gimpeditselectiontool.c: use
15416 gimp_item_linked_get_list() instead of traversing image->layers,
15417 ->channels and ->vectors manually to find the linked items.
15418 Use gimp_draw_tool_set_vectors() and _set_transform() to show
15419 the linked vectors while moving.
15421 (gimp_edit_selection_tool_arrow_key): transform all linked items,
15422 not just the linked layers.
15424 2003-09-11 Michael Natterer <mitch@gimp.org>
15426 * app/gui/brushes-menu.c
15427 * app/gui/buffers-menu.c
15428 * app/gui/channels-menu.c
15429 * app/gui/colormap-editor-menu.c
15430 * app/gui/gradients-menu.c
15431 * app/gui/images-menu.c
15432 * app/gui/layers-menu.c
15433 * app/gui/palette-editor-menu.c
15434 * app/gui/palettes-menu.c
15435 * app/gui/patterns-menu.c
15436 * app/gui/templates-menu.c
15437 * app/gui/vectors-menu.c: made the default (== double click)
15438 action the first menu entry as suggested by the HIG and
15439 added/removed separators where appropriate.
15441 2003-09-11 Sven Neumann <sven@gimp.org>
15443 * app/text/Makefile.am: removed PANGO_DISABLE_DEPRECATED again since
15444 we have to use Pango API that is deprecated in the HEAD branch.
15446 2003-09-11 Sven Neumann <sven@gimp.org>
15448 * plug-ins/common/compose.c
15449 * plug-ins/common/decompose.c: merged in enhancements done by
15450 Alexey Dyachenko: support for LAB colorspace and an option to
15451 decompose into layers instead of multiple images.
15453 2003-09-11 Simon Budig <simon@gimp.org>
15455 * app/vectors/gimpbezierstroke.[ch]: Implemented
15456 gimp_bezier_stroke_arcto () that creates an elliptical arc
15457 in the way SVG works.
15459 * app/vectors/gimpvectors-import.c: use it.
15461 2003-09-11 Sven Neumann <sven@gimp.org>
15463 * plug-ins/common/screenshot.c: removed lots of redundant casts.
15465 2003-09-11 Sven Neumann <sven@gimp.org>
15467 * app/vectors/gimpvectors-export.[ch]: allow to optionally export
15468 all paths from an image into a single SVG file.
15470 * app/gui/vectors-commands.c: changed accordingly.
15472 2003-09-11 Sven Neumann <sven@gimp.org>
15474 * app/text/Makefile.am: define PANGO_DISABLE_DEPRECATED.
15476 * app/text/gimptext-compat.c: avoid deprecated API.
15478 2003-09-11 Sven Neumann <sven@gimp.org>
15480 * app/core/gimpdrawable-transform-utils.[ch]: added new function
15481 gimp_drawable_transform_matrix_flip().
15483 * app/vectors/gimpstroke.[ch]
15484 * app/vectors/gimpvectors.c: don't push the complex GimpItem
15485 transformation API down to GimpStroke. Instead setup the matrices
15486 in GimpVectors and use a simpler API for GimpStroke.
15488 * app/vectors/gimpvectors-import.c: changed accordingly.
15490 * app/vectors/gimpvectors-export.c: close the <path> element.
15492 2003-09-11 Sven Neumann <sven@gimp.org>
15494 * configure.in: link the screenshot plug-in explicitely against X11
15497 2003-09-11 Michael Natterer <mitch@gimp.org>
15499 * app/gui/Makefile.am
15500 * app/gui/themes.[ch]: new files.
15502 * app/gui/gui.[ch]: code taken from here. It was getting too large.
15504 * app/gui/preferences-dialog.c; changed accordingly.
15506 2003-09-11 Sven Neumann <sven@gimp.org>
15508 * app/vectors/Makefile.am (INCLUDES): replaced GTK_CFLAGS by
15511 * app/vectors/gimpvectors-export.c: added a first draft of
15512 GimpVectors SVG export.
15514 * app/gui/vectors-commands.c (vectors_export_cmd_callback): call
15515 gimp_vectors_export() with a hardcoded filename.
15517 2003-09-10 Manish Singh <yosh@gimp.org>
15519 * app/text/gimpfonts.c: include text-types.h instead of core-types.h
15521 2003-09-11 Sven Neumann <sven@gimp.org>
15523 * app/vectors/gimpvectors-import.[ch]
15524 * app/gui/vectors-commands.c: allow to optionally create a
15525 GimpVectors object per <path> element. Made this the default until
15526 there's a GUI for this.
15528 2003-09-10 Michael Natterer <mitch@gimp.org>
15530 * app/core/gimp.[ch]: added lots more "GimpFooFunc gui_foo_func"
15531 vtable entries to the Gimp struct and wrapper function for them.
15532 They cover plug-in menu creation and plug-in progress utilities.
15534 * app/gui/gui.c: fill in the funtion pointers and dispatch
15535 to the actual functions.
15537 * app/pdb/Makefile.am (libapppdb_a_LIBADD): removed most hacks
15538 since the symbols are referenced within libappgui.a now.
15540 Removed any GTK+ dependency from the plug-ins/ directory:
15542 * app/plug-in/Makefile.am (INCLUDES): replaced GTK_CFLAGS by
15545 * app/plug-in/plug-in-progress.c
15546 * app/plug-in/plug-ins.c: replaced gui function calls to create
15547 menus and progress bars by calls to the wrappers.
15549 * app/plug-in/plug-in.c (plug_in_close): check dangling PDB
15550 dialogs using the new wrapper.
15552 * app/plug-in/plug-in-def.c
15553 * app/plug-in/plug-in-rc.c
15554 * app/plug-in/plug-in-run.c: removed trailing whitespace.
15556 2003-09-10 Manish Singh <yosh@gimp.org>
15558 * configure.in: AC_SUBST the GDK_PIXBUF vars, to workaround automake
15561 2003-09-10 Sven Neumann <sven@gimp.org>
15563 * app/vectors/gimpvectors-import.c: finished basic SVG path import.
15565 2003-09-10 Manish Singh <yosh@gimp.org>
15567 * libgimpcolor/Makefile.am
15568 * libgimpmath/Makefile.am: add a dependency on libgimpbase.la so
15569 they get rebuilt when the version number changes.
15571 * Makefile.am: build libgimpbase before the above
15573 2003-09-10 Michael Natterer <mitch@gimp.org>
15575 * app/display/gimpdisplayshell-layer-select.c: switch layers
15576 immediately, not when finishing layer_select, so the layer
15577 boundary and the layers dialog are updated, which makes this
15578 feature much more useful. Fixes bug #119234.
15580 2003-09-10 Sven Neumann <sven@gimp.org>
15582 * app/gui/vectors-commands.c (vectors_import_cmd_callback): call
15583 gimp_vectors_import(). Hardcoded filename to path.svg for now.
15585 * app/vectors/gimpvectors-import.c: more work on the SVG parser.
15587 2003-09-10 Michael Natterer <mitch@gimp.org>
15589 * app/xcf/xcf-save.c: changed the various xcf_write_*_error()
15590 macros to take an XcfInfo pointer as first parameter, not
15591 info->fp. Simplifies all callers a bit since they don't have to
15592 dereference it themselves.
15594 2003-09-10 Michael Natterer <mitch@gimp.org>
15596 * app/xcf/xcf-save.c: enabled error checking for GimpParasite
15597 saving and factored GimpParasiteList saving out to a new
15598 function. Cleaned up the (still disabled) PROP_VECTORS saving
15599 code and save the vector's parasites.
15601 * app/xcf/xcf-load.c: changed PROP_VECTORS loading accordingly.
15603 Note that the PROP_VECTORS changes are completely untested since
15604 Simon can judge its correctness much better than myself.
15606 2003-09-10 Sven Neumann <sven@gimp.org>
15608 * app/vectors/gimpvectors-import.c: started to add framework for
15611 2003-09-10 Michael Natterer <mitch@gimp.org>
15613 * app/xcf/xcf.c (xcf_save_invoker): when opening fails, show the
15614 same error message as all file plug-ins.
15616 2003-09-10 Sven Neumann <sven@gimp.org>
15618 * app/vectors/Makefile.am
15619 * app/vectors/gimpvectors-export.[ch]
15620 * app/vectors/gimpvectors-import.[ch]: added stubs for
15621 import/export of paths.
15623 * app/vectors/gimpvectors-preview.h: cosmetics.
15625 2003-09-10 Michael Natterer <mitch@gimp.org>
15627 * app/xcf/xcf-load.c
15628 * app/xcf/xcf-read.c
15629 * app/xcf/xcf-save.c
15630 * app/xcf/xcf-seek.c
15631 * app/xcf/xcf-write.c
15632 * app/xcf/xcf.c: whitespace cleanup.
15634 2003-09-10 Tor Lillqvist <tml@iki.fi>
15636 * config.h.win32: Tell it's outdated.
15638 * app/errors.c (gimp_eek): [Win32] Use full_prog_name, show also
15641 * app/xcf/xcf.c (xcf_load_args, xcf_save_arge): Document that
15642 filename is in the on-disk charset and encoding, and raw_filename
15643 is just the basename, in UTF-8.
15644 (xcf_save_invoker): Convert filename to UTF-8 before passing to
15647 2003-09-10 Michael Natterer <mitch@gimp.org>
15649 * configure.in: require fontconfig >= 2.2.0 (bug #121752), check
15650 for gdk-pixbuf-2.0 explicitly, added --enable-gimp-console
15651 configure option, bumped version number to 1.3.21.
15653 * app/core/Makefile.am: replaced GTK_CFLAGS by GDK_PIXBUF_CFLAGS.
15655 * app/Makefile.am: removed -export-dynamic from LDFLAGS since we
15656 don't export symbols to modules or libraries any more. Reordered
15659 If --enable-gimp-console is given, try to build a second binary
15660 called gimp-console-1.3 which does not link against GTK+.
15661 Of course this fails badly since core/ui separation is not
15662 complete yet, but the output of the failing linker is a nice list
15663 of what needs to be done.
15665 2003-09-09 Michael Natterer <mitch@gimp.org>
15667 * app/gui/menus.c (menus_last_opened_add): removed redundant
15668 "Gimp" parameter, cleanup.
15670 * app/gui/image-menu.c (image_menu_setup)
15671 * app/gui/toolbox-menu.c (toolbox_menu_setup): changed accordingly.
15673 2003-09-09 Michael Natterer <mitch@gimp.org>
15675 Got rid of the last global variables except the_gimp:
15678 * app/appenv.h: removed this file.
15680 * app/errors.[ch] (gimp_errors_init): new function which lets the
15681 error system know about "full_prog_name", "stack_trace_mode" and
15682 "debug_handlers". Remember these values privately.
15684 * app/app_procs.[ch] (app_init): added "full_prog_name" and
15685 "stack_trace_mode" parameters here too.
15687 * app/main.c (main): call gimp_errors_init() and pass the
15688 additional parameters to app_init().
15690 2003-09-09 Simon Budig <simon@gimp.org>
15692 * app/vectors/gimpvectors-compat.[ch]: Made
15693 gimp_vectors_compat_get_points accept more paths gracefully. It
15694 now is sufficient if there is up to one open stroke in the
15695 vectors object - it does not have to be the last one.
15697 Added function to determine if all vectors can be saved in
15698 compatibility mode.
15700 * app/vectors/gimpanchor.[ch]: Made GimpAnchor a boxed type.
15701 * app/vectors/gimpstroke.[ch]: Add two properties to gimpstroke:
15702 "closed" and "control-points" (the latter is
15703 G_PARAM_CONSTRUCT_ONLY). Added functions to get the points that
15704 determine the shape of the stroke - necessary for proper saving.
15706 * app/xcf/xcf-private.h: added new PROP_VECTORS and XcfStrokeType.
15708 * app/xcf/xcf-load.c: Be able to load PROP_VECTORS, make loading
15709 of PROP_PATHS ignore empty paths.
15711 * app/xcf/xcf-save.c: Added code for saving PROP_VECTORS,
15712 disabled by default. Define NEW_SAVE_CODE if you want to test
15713 it. No guarantees are made about the forward compatibility of
15716 2003-09-09 Sven Neumann <sven@gimp.org>
15718 * plug-ins/common/screenshot.c (create_image): need to detach from
15719 the drawable or the tile cache won't be flushed (bug #121788).
15721 2003-09-09 Sven Neumann <sven@gimp.org>
15723 * app/display/gimpdisplayshell-callbacks.c
15724 * app/display/gimpdisplayshell.c
15725 * app/display/gimpnavigationview.c
15726 * app/gui/resolution-calibrate-dialog.c
15727 * app/widgets/gimpcontainerpopup.c
15728 * app/widgets/gimpdialogfactory.c
15729 * app/widgets/gimpeditor.c
15730 * app/widgets/gimppreview-popup.c
15731 * app/widgets/gimpwidgets-utils.c: get the size from the current
15732 screen, not always from the default one.
15734 * plug-ins/common/wmf.c: ask GIMP for the monitor resolution instead
15735 of taking the value from GDK.
15737 2003-09-09 Michael Natterer <mitch@gimp.org>
15739 * app/core/gimp.[ch]: added "gboolean console_messages" to the
15740 Gimp struct and to gimp_new() since plug-in messages go directly
15741 through gimp_message() now and need to honor "console_messages"
15744 * app/app_procs.[ch]: added "gboolean console_messages" to
15745 app_init() and pass it to gimp_new().
15747 * app/appenv.h: removed global variable "console_messages".
15749 * app/main.c: added it to main()'s scope and pass it to app_init().
15751 * app/errors.c: changed accordingly.
15753 2003-09-08 Adam D. Moss <adam@gimp.org>
15755 * plug-ins/common/animoptimize.c: Disable the (pdb interfaces
15756 to the) semi-broken background/foreground stuff unless
15757 EXPERIMENTAL_BACKDROP_CODE is defined.
15759 2003-09-08 Ville PƤtsi <drc@gimp.org>
15761 * gimp.spec.in: Remove all references to *gck*
15763 2003-09-08 Sven Neumann <sven@gimp.org>
15765 * Made 1.3.20 release.
15767 2003-09-07 Sven Neumann <sven@gimp.org>
15769 * app/core/gimpdrawable-preview.c
15770 * plug-ins/fp/fp_gtk.c: got rid of compiler warnings.
15772 2003-09-07 Michael Natterer <mitch@gimp.org>
15774 * app/core/gimpdrawable-desaturate.h: image_desaturate() does not
15777 2003-09-07 Sven Neumann <sven@gimp.org>
15779 * app/display/Makefile.am
15780 * app/gui/Makefile.am
15781 * app/paint/Makefile.am
15782 * app/pdb/Makefile.am
15783 * app/text/Makefile.am
15784 * app/tools/Makefile.am
15785 * app/widgets/Makefile.am
15786 * app/xcf/Makefile.am (INCLUDES): removed $(LIBART_CFLAGS) again.
15788 2003-09-07 Dave Neary <bolsh@gimp.org>
15790 * app/vectors/gimpvectors.[ch]
15791 * app/vectors/gimpstroke.[ch]
15792 * app/vectors/gimpbezierstroke.c: Cleanup - removed libart
15793 from the included headers in the .h files, don't pass around
15794 libart objects any more. Still stub code.
15796 2003-09-07 Sven Neumann <sven@gimp.org>
15798 * tools/gimp-remote.c: accept URLs with https protocol.
15800 2003-09-07 Michael Natterer <mitch@gimp.org>
15802 * app/tools/airbrush_blob.[ch]: removed the last traces of
15805 2003-09-07 Sven Neumann <sven@gimp.org>
15807 * plug-ins/common/aa.c: set the tile cache size to speed up pixel
15810 2003-09-07 Sven Neumann <sven@gimp.org>
15812 * plug-ins/common/screenshot.c (create_image): boost performance
15813 by setting a reasonable tile cache size.
15815 2003-09-07 Michael Natterer <mitch@gimp.org>
15817 * app/display/display-types.h
15818 * app/tools/tools-types.h
15819 * app/vectors/vectors-types.h
15820 * app/widgets/widgets-types.h: removed some forgotten cruft.
15822 * app/vectors/gimpbezierstroke.h
15823 * app/vectors/gimpstroke.h
15824 * app/vectors/gimpvectors.h: added class struct typedefs here.
15826 2003-09-07 Sven Neumann <sven@gimp.org>
15828 * app/vectors/gimpvectors.[ch]: redid the fix for the compiler
15829 warning: made gimp_vectors_to_art_vpath() take a const GimpVectors
15830 again, but don't freeze/thaw it since it isn't changed anyway.
15832 2003-09-06 Helvetix Victorinox <helvetix@gimp.org>
15834 * app/composite/gimp-composite-mmx.c
15835 * app/composite/gimp-composite-sse.c
15836 * app/composite/gimp-composite-sse2.c:
15837 Convert "unsigned long" to guint32 in preparation for 64bit
15840 2003-09-06 Michael Natterer <mitch@gimp.org>
15842 * app/widgets/gimppreviewrenderertextlayer.[ch]: removed.
15844 * app/widgets/gimppreviewrendererlayer.[ch]: new renderer which
15845 renders all kinds of layers and uses GIMP_STOCK_FLOATING_SELECTION
15846 for floating selections.
15848 * app/widgets/Makefile.am
15849 * app/widgets/widgets-types.h
15850 * app/widgets/gimppreviewrenderer-utils.c: changed accordingly.
15852 2003-09-06 Michael Natterer <mitch@gimp.org>
15854 * app/widgets/gimplayertreeview.[ch]: display the floating
15855 selection's name in italic letters. Added the bold and italic
15856 PangoAttrLists to the GimpLayerTreeView struct so we can unref
15859 * app/widgets/gimpdrawabletreeview.c: some cleanup while stealing
15862 2003-09-06 Sven Neumann <sven@gimp.org>
15864 * themes/Default/images/Makefile.am
15865 * themes/Default/images/stock-floating-selection-*.png: new icon
15868 * libgimpwidgets/gimpstock.[ch]: register the new icon.
15870 2003-09-06 Michael Natterer <mitch@gimp.org>
15872 To optimize duplicate and/or wrong image updates away, introduced
15873 new policy that a child object must never explicitly update or
15874 invalidate its parent object (just like the GUI is not updated
15875 explicitly by the core):
15877 * app/core/gimpdrawable.[ch]: added new signal
15878 GimpDrawable::update(). Never update or invalidate the image when
15879 the drawable is updated or invalidated.
15881 (gimp_drawable_set_visible): don't gimp_drawable_update() the
15882 drawable since its pixels have not changed.
15884 * app/core/gimpimage.[ch]: connect to the "add" and "remove"
15885 signals of the layers and channels containers. Also connect to the
15886 "update" and "visibility_changed" signals of all drawables in
15887 these containers (optimizes away updates issued by drawables which
15888 are not yet added to the image and updates of the selection
15889 mask). Also, don't propagate updates to the image if the emitting
15890 drawable is invisible (optimizes away updates issued by invisible
15893 (gimp_image_add_layer,channel)
15894 (gimp_image_remove_layer,channel): don't update the image since
15895 that's done by our "add" and "remove" handlers now.
15897 (gimp_image_position_layer,channel): update just the image, not
15898 the drawable since its pixels have not changed.
15900 (gimp_image_real_colormap_changed)
15901 (gimp_image_set_component_visible): always call
15902 gimp_image_update() *and* gimp_viewable_invalidate_preview() to
15903 get everything updated, since update and invalidate of images are
15906 * app/core/gimpimage-undo-push.c (undo_pop_layer,channel): don't
15907 update the drawable since (a) its pixels don't change and (b) the
15908 image updates itself upon adding/removing now.
15910 (undo_pop_layer_mod): replaced gimp_image_update() by
15911 gimp_drawable_update() (just for consistency with other similar
15914 * app/core/gimplayer.c: connect to "update" of the layer mask and
15915 issue updates on the layer if the mask update has any effect on
15917 (gimp_layer_create_mask): don't set the mask's offsets here since
15918 they may be different when we later add the mask to the layer.
15920 * app/core/gimplayermask.c (gimp_layer_mask_set_layer): set the
15921 mask offsets here instead.
15923 * app/core/gimpchannel.c (gimp_channel_translate): update the
15924 channel even if push_undo == FALSE.
15926 * app/paint/gimppaintcore.c (gimp_paint_core_finish)
15927 * app/tools/gimpinktool.c (ink_finish): invalidate both the
15928 drawable and the image preview since invalidating the drawable
15929 doesn't invalidate the image any more.
15931 * app/text/gimptextlayer.c (gimp_text_layer_render_now): also
15932 update the new extents of the text layer, not only the old one.
15934 (gimp_text_layer_render_layout): don't update the drawable since
15935 gimp_drawable_fill() already updated it.
15937 2003-09-06 Sven Neumann <sven@gimp.org>
15939 * app/vectors/gimpbezierstroke.c
15940 * app/vectors/gimpstroke.[ch]
15941 * app/vectors/gimpvectors.[ch]: removed compiler warnings, cleaned
15942 up coding style issues,
15944 2003-09-06 Dave Neary <bolsh@gimp.org>
15946 Ooops! Sorry for the oversight.
15947 * app/vectors/gimpvectors.[ch]
15948 * app/vectors/gimpstroke.[ch]
15949 * app/vectors/gimpbezierstroke.c: Changed include order
15950 to conform to the coding standards in devel-docs/includes.txt
15951 (which should really be integrated into HACKING).
15953 2003-09-06 Michael Natterer <mitch@gimp.org>
15955 * app/display/Makefile.am
15956 * app/gui/Makefile.am
15957 * app/paint/Makefile.am
15958 * app/pdb/Makefile.am
15959 * app/text/Makefile.am
15960 * app/tools/Makefile.am
15961 * app/widgets/Makefile.am
15962 * app/xcf/Makefile.am (INCLUDES): add $(LIBART_CFLAGS) here too.
15964 2003-09-06 Dave Neary <bolsh@gimp.org>
15966 * app/vectors/Makefile.am: Include libart headers
15967 * app/vectors/gimpvectors.[ch]
15968 * app/vectors/gimpstroke.[ch]
15969 * app/vectors/gimpbezierstroke.[ch]: Committing unfinished,
15970 useless stub code for converting a GimpVectors object to a
15971 libart vector path. Will pad this out later.
15973 2003-09-06 Michael Natterer <mitch@gimp.org>
15975 * app/core/gimpdrawable.c (gimp_drawable_fill): made my last
15976 commit compile. Sorry.
15978 2003-09-06 Michael Natterer <mitch@gimp.org>
15980 * app/core/gimpdrawable.c: code cleanup.
15981 (gimp_drawable_fill): use the INTENSITY() of the passed GimpRGB to
15982 fill GIMP_GRAY drawables, not just the RED_PIX. Cleanup.
15984 * app/core/gimpimage.c (gimp_image_transform_color):
15985 added assertion for src_type != GIMP_INDEXED.
15987 2003-09-05 Sven Neumann <sven@gimp.org>
15989 * app/display/gimpdisplayshell.c (gimp_display_shell_draw_grid):
15990 access the grid structure directly instead of using g_object_get()
15991 and leaking the returned values. Release the GC object instead of
15992 leaking it (the GC should probably become part of the display).
15994 * app/gui/grid-dialog.c (grid_dialog_new): removed an extraneous
15995 reference count from grid_backup.
15997 2003-09-05 Michael Natterer <mitch@gimp.org>
15999 * app/paint-funcs/paint-funcs.[ch]: removed function map_to_color()
16000 since it does not belong here and the two places using it look much
16001 cleaner when doing that stuff themselves.
16003 * app/core/gimpdrawable-preview.c: cleanup.
16004 (gimp_drawable_preview_scale): do the indexed palette lookup here
16005 instead of calling map_to_color().
16007 * app/core/gimpimage.c (gimp_image_get_color): transform the
16008 colors here instead of calling map_to_color().
16010 * app/core/gimpimage.[ch] (gimp_image_get_color): reordered
16011 parameters so src parameters are before dest parameters.
16012 Made the src color const.
16014 (gimp_image_transform_color): reordered so src parameters are
16015 *after* dest parameters (since this function operates on the dest
16016 image and it makes sense to have the dest parameters
16017 together). Made the src color const here, too.
16019 * app/core/gimpdrawable-bucket-fill.c
16020 * app/core/gimpdrawable.c
16021 * app/core/gimpimage-contiguous-region.c
16022 * app/core/gimpimage-projection.c
16023 * app/core/gimpimagemap.c
16024 * app/core/gimplayer.c
16025 * app/core/gimppalette-import.c
16026 * app/paint/gimpclone.c
16027 * app/paint/gimppaintcore.c: changed accordingly.
16029 * app/core/gimpedit.c (gimp_edit_cut,copy): simplified by
16030 moving the "cropped" variable to a local scope.
16032 * app/core/gimpimage-mask.c: calling gimp_image_update() followed
16033 by gimp_viewable_invalidate_preview(drawable) is equal to calling
16034 gimp_drawable_update() directly.
16036 2003-09-05 Sven Neumann <sven@gimp.org>
16038 * app/core/gimppreviewcache.[ch]: code cleanup. Removed the
16039 PreviewCache struct that used to wrap TempBuf but didn't add any
16040 additional information. Actually free the cached temp_buf when
16041 removing an entry from cache. Free the GSList when invalidating
16044 2003-09-05 Helvetix Victorinox <helvetix@gimp.org>
16046 * app/paint-funcs/paint-funcs.c (initial_sub_region): Fixed
16047 another bug in initialising the compositing context for the
16048 special case of dissolve mode. A further attempt to fix bug
16051 * app/composite/gimp-composite-generic.c
16052 (gimp_composite_dissolve_any_any_any_generic): Fixed bug in
16053 calculating whether the destination has an alpha channel (or
16056 2003-09-05 Sven Neumann <sven@gimp.org>
16058 * app/core/gimpimage-merge.c (gimp_image_merge_layers): unref
16059 the parasite list before assigning a copy.
16061 2003-09-05 Sven Neumann <sven@gimp.org>
16063 * app/base/temp-buf.c (temp_buf_new_check): fixed loop boundaries,
16064 spotted by Wolfgang Hofer (bug #121521).
16066 2003-09-05 Sven Neumann <sven@gimp.org>
16068 * app/base/gimplut.[ch] (gimp_lut_free): free the memory allocated
16069 for the GimpLut structure. Removed trailing whitespace.
16071 * app/core/gimpbuffer.c: cosmetics.
16073 * app/core/gimpedit.[ch]: let gimp_edit_cut() and gimp_edit_copy()
16074 return a pointer to the global cut buffer instead of creating a
16075 GimpBuffer which was leaked by most callers.
16077 * app/gui/edit-commands.c: changed accordingly.
16079 * libgimpwidgets/gimpquerybox.[ch] (string_query_box_ok_callback):
16080 removed a superfluous g_strdup(); made GimpQueryStringCallback take
16081 a const gchar* pointer.
16083 * app/gui/edit-commands.c
16084 * app/gui/file-commands.c
16085 * app/gui/palettes-commands.c
16086 * plug-ins/gflare/gflare.c: changed accordingly.
16088 2003-09-05 Sven Neumann <sven@gimp.org>
16090 * plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
16091 don't fiddle with the spin-buttons, the defaults are fine.
16092 Removed trailing whitespace.
16094 2003-09-04 Manish Singh <yosh@gimp.org>
16096 * app/base/cpu-accel.c: null-terminate string for vendor comparisons.
16098 2003-09-04 Manish Singh <yosh@gimp.org>
16100 * app/base/cpu-accel.[ch]: rewrote the x86 tests, moved debug printout
16101 from base.c to here.
16103 * test-cpu-accel.c: simple test program to test the above.
16105 * app/base/base.c: use cpu_accel_print_results ()
16107 * app/base/Makefile.am: added test-cpu-accel to TESTS.
16109 * data/Makefile.am: make site local font directory on install.
16111 2003-09-04 Sven Neumann <sven@gimp.org>
16113 * plug-ins/script-fu/scripts/font-map.scm (script-fu-font-map):
16114 Render the specified text by default, added optional font labels.
16116 2003-09-04 Michael Natterer <mitch@gimp.org>
16118 * app/core/gimpchannel.[ch]: removed gimp_channel_load().
16120 * app/core/gimpimage-mask.[ch]: removed gimp_image_mask_load()
16123 * app/core/gimpselection.[ch]: added gimp_selection_load() and
16124 _save() since these functions are specific to the selection.
16126 * app/core/gimpimage-qmask.c
16127 * app/gui/select-commands.c
16128 * app/widgets/gimpselectioneditor.c
16129 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
16131 * app/pdb/selection_cmds.c: regenerated.
16133 2003-09-04 Sven Neumann <sven@gimp.org>
16135 * libgimp/Makefile.am: forgot to add gimpfonts_pdb.[ch].
16137 2003-09-04 Sven Neumann <sven@gimp.org>
16139 * plug-ins/script-fu/scripts/font-map.scm (script-fu-font-map):
16140 Keep text layers instead of merging them down. Allow to specify a
16141 text to render in place of the font names.
16143 2003-09-04 Sven Neumann <sven@gimp.org>
16145 * autogen.sh (LIBTOOL_WIN32): changed to 1.5 since win32 libtool
16146 doesn't seem to be reporting the micro version number.
16148 2003-09-04 Manish Singh <yosh@gimp.org>
16150 * tools/pdbgen/pdb/paths.pdb: init path_list to quell gcc warning.
16152 * app/pdb/paths_cmds.c: regenerated.
16154 2003-09-04 Manish Singh <yosh@gimp.org>
16156 * app/text/gimptextlayer-transform.c: use
16157 gimp_drawable_invalidate_boundary now.
16159 2003-09-04 Manish Singh <yosh@gimp.org>
16161 * configure.in: #define ARCH_X86 on x86-64 too.
16163 * app/composite/gimp-composite-sse2.c: dererference pointers outside
16164 of asm() construct.
16166 Now this stuff builds on x86-64, but fails some of the tests. Need
16169 2003-09-04 Manish Singh <yosh@gimp.org>
16171 * tools/pdbgen/pdb/brushes.pdb
16172 * tools/pdbgen/pdb/fonts.pdb
16173 * tools/pdbgen/pdb/gradients.pdb
16174 * tools/pdbgen/pdb/palettes.pdb
16175 * tools/pdbgen/pdb/patterns.pdb: init pattern_list to quell gcc
16178 * app/pdb/brushes_cmds.c
16179 * app/pdb/fonts_cmds.c
16180 * app/pdb/gradients_cmds.c
16181 * app/pdb/palettes_cmds.c
16182 * app/pdb/patterns_cmds.c: regenerated.
16184 2003-09-04 Sven Neumann <sven@gimp.org>
16186 * tools/pdbgen/pdb/plug_in.pdb (plugins_query): use regfree()
16187 instead of accessing regex_t directly.
16189 * app/pdb/plug_in_cmds.c: regenerated.
16191 2003-09-04 Sven Neumann <sven@gimp.org>
16193 * app/core/Makefile.am
16194 * app/core/core-types.h
16195 * app/core/gimpcontainer-filter.[ch]: added filter functionality
16196 for GimpContainers.
16198 * tools/pdbgen/pdb/brushes.pdb
16199 * tools/pdbgen/pdb/fonts.pdb
16200 * tools/pdbgen/pdb/gradients.pdb
16201 * tools/pdbgen/pdb/palettes.pdb
16202 * tools/pdbgen/pdb/patterns.pdb: made the gimp_foo_get_list()
16203 PDB function somewhat useful by adding a filter parameter that
16204 allows to specify a regular expression to be used on the list.
16206 * app/pdb/Makefile.am: had to uglify the ugly hack even more :(
16208 * app/pdb/brushes_cmds.c
16209 * app/pdb/fonts_cmds.c
16210 * app/pdb/gradients_cmds.c
16211 * app/pdb/palettes_cmds.c
16212 * app/pdb/patterns_cmds.c
16213 * libgimp/gimpbrushes_pdb.[ch]
16214 * libgimp/gimpfonts_pdb.[ch]
16215 * libgimp/gimpgradients_pdb.[ch]
16216 * libgimp/gimppalettes_pdb.[ch]
16217 * libgimp/gimppatterns_pdb.[ch]: regenerated.
16219 * plug-ins/gflare/gflare.c
16220 * plug-ins/pygimp/gimpmodule.c: changed accordingly.
16222 * plug-ins/script-fu/scripts/font-map.scm: replaced the font list
16223 parameter with a more useful regexp filter on the available fonts.
16225 2003-09-04 Sven Neumann <sven@gimp.org>
16227 * app/core/gimpcontainer.[ch] (gimp_container_get_name_array):
16228 fixed a bug in the implementation.
16229 Changed gimp_container_foreach() to take a const container.
16231 2003-09-04 Michael Natterer <mitch@gimp.org>
16233 * app/core/gimpchannel.[ch]
16234 * app/core/gimpselection.c: reordered GimpChannel::is_empty()
16235 after GimpChannel::boudary() and GimpChannel::bounds() because it
16236 belongs to that group of functions.
16238 2003-09-04 Simon Budig <simon@gimp.org>
16240 * app/vectors/gimpbezierstroke.c: Bah. Fixed stupid error from
16243 2003-09-04 Sven Neumann <sven@gimp.org>
16245 * plug-ins/script-fu/scripts/font-map.scm: ported from gimp-text
16246 to gimp-text-fontname API.
16248 2003-09-04 Michael Natterer <mitch@gimp.org>
16250 * app/core/Makefile.am
16251 * app/core/gimpchannel-combine.[ch]: new files split out of
16254 * app/core/gimpchannel.[ch]: removed the combine functions here.
16256 * app/core/gimpdrawable-bucket-fill.c
16257 * app/core/gimpimage-mask-select.c
16258 * tools/pdbgen/pdb/channel.pdb: changed #includes accordingly.
16260 * app/pdb/channel_cmds.c: regenerated.
16262 2003-09-04 Sven Neumann <sven@gimp.org>
16264 * app/core/gimpcontainer.[ch]: added new function
16265 gimp_container_get_name_array().
16267 * tools/pdbgen/pdb/brushes.pdb
16268 * tools/pdbgen/pdb/gradients.pdb
16269 * tools/pdbgen/pdb/palettes.pdb
16270 * tools/pdbgen/pdb/paths.pdb
16271 * tools/pdbgen/pdb/patterns.pdb: use the new GimpContainer function
16272 instead of duplicating this code over and over again.
16274 * app/pdb/brushes_cmds.c
16275 * app/pdb/gradients_cmds.c
16276 * app/pdb/palettes_cmds.c
16277 * app/pdb/paths_cmds.c
16278 * app/pdb/patterns_cmds.c
16279 * libgimp/gimpgradients_pdb.c: regenerated.
16281 * tools/pdbgen/Makefile.am
16282 * tools/pdbgen/pdb/fonts.pdb: added new file that defines a simple
16285 * tools/pdbgen/groups.pl
16286 * app/pdb/Makefile.am
16287 * app/pdb/fonts_cmds.c
16288 * app/pdb/internal_procs.c
16289 * libgimp/gimp_pdb.h
16290 * libgimp/gimpfonts_pdb.[ch]: (re)generated.
16292 2003-09-04 Simon Budig <simon@gimp.org>
16294 * app/vectors/gimpbezierstroke.c: Changed the direct dragging
16295 of a segment a bit, so that close to one endpoint only one
16298 2003-09-04 Michael Natterer <mitch@gimp.org>
16300 * app/core/gimpimage-mask.[ch]: removed the _push_undo() and
16301 _invalidate() wrappers.
16303 * app/core/gimpimage-mask-select.c
16304 * app/core/gimpimage-undo-push.c
16305 * app/core/gimplayer-floating-sel.c
16306 * app/tools/gimptransformtool.c: changed accordingly.
16308 2003-09-04 Michael Natterer <mitch@gimp.org>
16310 * app/core/gimpdrawable.[ch]: added new pure virtual function
16311 GimpDrawable::invalidate_boundary().
16313 * app/core/gimplayer.[ch]: implement it and removed public
16314 function gimp_layer_invalidate_boundary().
16316 * app/core/gimpchannel.[ch]: implement it.
16318 * app/core/gimpselection.[ch]: implement it and removed public
16319 function gimp_selection_invalidate().
16321 * app/core/gimpimage-mask.c (gimp_image_mask_invalidate)
16322 * app/core/gimpimage-undo-push.c
16323 * app/core/gimpimage.c
16324 * app/core/gimplayer-floating-sel.c
16325 * app/text/gimptextlayer.c: changed accordingly.
16327 * app/core/gimpchannel.[ch]: made gimp_channel_push_undo() a
16328 public function and made it call
16329 gimp_drawable_invalidate_boundary(). Added undo_desc strings for
16330 all undo pushing functions to GimpChannelClass.
16332 * app/core/gimpselection.[ch]: removed gimp_selection_push_undo()
16333 since after the change above it was identical to
16334 gimp_channel_push_undo(). Don't push any undo here since
16335 upchaining does the right thing now. Override GimpChannelClass'
16336 undo_desc strings to say "Selection".
16338 * app/core/gimpimage-mask.c (gimp_image_mask_push_undo): changed
16341 2003-09-04 Sven Neumann <sven@gimp.org>
16343 * tools/pdbgen/pdb/paths.pdb (path_get_points): lookup the vectors
16344 by name instead of always using the active path (bug #121401).
16345 Made all functions use the convenience function
16346 gimp_image_get_vectors_by_name() instead of the GimpContainer API.
16348 * app/pdb/paths_cmds.c: regenerated.
16350 * app/core/gimpimage.c: simplified the gimp_image_get_foo_by_name
16351 functions by making use of gimp_container_get_child_by_name().
16353 2003-09-04 Simon Budig <simon@gimp.org>
16355 * app/tools/gimpvectortool.c: Cleanup. Properly freeze/thaw
16358 2003-09-03 Simon Budig <simon@gimp.org>
16360 * app/vectors/gimpstroke.c
16361 * app/vectors/gimpbezierstroke.c: Two small hacks to make the
16362 editing behave more symmetric (no more a user visible difference
16363 between extending to the start or to the end of a stroke).
16365 * app/tools/gimpvectortool.c: Use dashed lines for the connection
16366 between the anchor and the handles. Looks great IMHO.
16368 2003-09-03 Simon Budig <simon@gimp.org>
16370 * app/tools/gimpvectortool.[ch]: properly keep track of the
16371 active anchor and retrieve that information after a _thaw () so
16372 that proper editing is possible after an undo. Now the
16373 vector_tool->cur_* variables are constantly updated in
16374 _oper_update () so that we don't need to determine them in
16375 _button_press () again.
16377 On request by Jimmac and Joao connecting two stroke-ends now
16378 works by activating one endpoint and clicking on the other
16379 endpoint in Insert/Delete Mode.
16381 2003-09-03 Pedro Gimeno <pggimeno@wanadoo.es>
16383 * plug-ins/common/ccanalyze.c (analyze): use Alpha channel and
16384 selection channel info when available to build the histogram and
16385 to include/exclude colors in the color count. Fixes bug #121097
16386 and handling of INDEXEDA images which was broken.
16387 (histogram, insertcolor, fillPreview): updated to use gdoubles
16390 2003-09-03 Pedro Gimeno <pggimeno@wanadoo.es>
16392 * plug-ins/common/ccanalyze.c: Changed from CR/LF style to LF
16393 style in preparation for the next batch of changes.
16395 2003-09-03 Manish Singh <yosh@gimp.org>
16397 * autogen.sh: fix case for uname checks (needs to be in all CAPS).
16399 2003-09-03 Sven Neumann <sven@gimp.org>
16402 * autogen.sh: require libtool version 1.5.0 or newer when building
16403 on Win32. Completely untested but it should fix bug #120953.
16405 2003-09-03 Michael Natterer <mitch@gimp.org>
16407 * app/core/gimpimage-mask.[ch]: removed the _bounds() and
16408 _boundary() wrappers.
16410 * app/core/gimpdrawable.c
16411 * app/display/gimpdisplayshell-selection.c
16412 * app/gui/image-commands.c
16413 * app/gui/layers-commands.c
16414 * app/tools/gimpcroptool.c
16415 * app/tools/gimpeditselectiontool.c
16416 * app/tools/gimptransformtool.c
16417 * app/xcf/xcf-save.c: changed accordingly.
16419 2003-09-03 Sven Neumann <sven@gimp.org>
16421 * devel-docs/gbr.txt
16422 * plug-ins/common/gbr.c: applied a patch from Guillermo S. Romero
16423 that fixes loading of v1 brushes and documents the difference
16424 to version 2 of the brush file format (bug #121304).
16426 2003-09-03 Sven Neumann <sven@gimp.org>
16428 * app/tools/gimpclonetool.c: Ctrl only sets the clone source when
16429 Shift isn't pressed at the same time (fixes bug #121324).
16431 2003-09-03 Sven Neumann <sven@gimp.org>
16433 * app/paint-funcs/paint-funcs-generic.h (dissolve_pixels)
16434 * app/composite/gimp-composite-generic.c
16435 (gimp_composite_dissolve_any_any_any_generic): fixed a bug in the
16436 dissolve algorithm (bug #121305).
16438 2003-09-03 Ville PƤtsi <drc@gimp.org>
16440 * gimp.spec.in: Added epoch 1.
16442 2003-09-03 Michael Natterer <mitch@gimp.org>
16444 * app/core/gimpimage-mask.[ch]: removed the _value() and
16445 _is_empty() wrappers.
16447 * app/display/gimpdisplayshell.[ch]: removed
16448 gimp_display_shell_mask_value() since it is not used.
16450 * app/core/gimpdrawable-blend.c
16451 * app/core/gimpdrawable-transform.c
16452 * app/core/gimpedit.c
16453 * app/core/gimpimage.c
16454 * app/core/gimplayer.c
16455 * app/gui/image-menu.c
16456 * app/gui/vectors-menu.c
16457 * app/tools/gimpclonetool.c
16458 * app/tools/gimpfliptool.c
16459 * app/tools/gimpinktool.c
16460 * app/tools/gimpmovetool.c
16461 * app/tools/gimpselectiontool.c
16462 * app/tools/gimptransformtool.c
16463 * tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.
16465 * app/pdb/misc_tools_cmds.c: regenerated.
16467 2003-09-03 Michael Natterer <mitch@gimp.org>
16469 * app/core/gimpimage-mask-select.[ch]: removed the _clear() wrapper.
16471 * app/core/gimpimage-mask.[ch]: changed accordingly. Added
16472 "const gchar *undo desc" parameter to
16473 gimp_image_mask_select_vectors().
16475 * app/core/gimpimage-qmask.c
16476 * app/gui/vectors-commands.c
16477 * app/text/gimptext-compat.c
16478 * app/tools/gimpbucketfilltool.c
16479 * app/tools/gimpfreeselecttool.c
16480 * app/tools/gimpfuzzyselecttool.c
16481 * app/tools/gimprectselecttool.c
16482 * app/widgets/gimpvectorstreeview.c
16483 * tools/pdbgen/pdb/paths.pdb
16484 * tools/pdbgen/pdb/selection.pdb: changed accordingly. Also
16485 replaced some wrappers which still exist.
16487 * tools/pdbgen/pdb/paths.pdb: stroke using gimp_item_stroke().
16489 * app/pdb/paths_cmds.c
16490 * app/pdb/selection_cmds.c: regenerated.
16492 2003-09-03 Michael Natterer <mitch@gimp.org>
16494 * app/core/gimpimage-mask.[ch]: removed the feather(), sharpen(),
16495 all(), invert(), border(), grow() and shrink() wrappers.
16497 * app/core/gimpselection.[ch]: changed gimp_selection_invalidate()
16498 and gimp_selection_push_undo() to take GimpChannel parameters, not
16499 GimpSelection ones. They will be made virtual GimpChannel
16502 * app/core/gimpedit.c
16503 * app/gui/select-commands.c
16504 * app/widgets/gimpselectioneditor.c
16505 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
16507 * app/pdb/selection_cmds.c: regenerated.
16509 2003-09-03 Sven Neumann <sven@gimp.org>
16511 * libgimpcolor/gimpcolor.def: added gimp_rgb_to_cmyk_int().
16513 2003-09-03 Sven Neumann <sven@gimp.org>
16515 * plug-ins/common/screenshot.c: don't include the plug-in name in
16516 messages; GIMP takes care of this for us.
16518 2003-09-03 Ville PƤtsi <drc@gimp.org>
16520 * gimp.spec.in: Moved some essential config files from the
16521 devel package to the main one. Oops.
16523 2003-09-03 Michael Natterer <mitch@gimp.org>
16525 * app/core/gimpimage-mask.[ch]: removed the _translate()
16526 and _stroke() wrappers.
16528 * app/gui/edit-commands.c
16529 * app/tools/gimpeditselectiontool.c
16530 * app/widgets/gimpselectioneditor.c
16531 * tools/pdbgen/pdb/edit.pdb
16532 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
16534 * app/pdb/edit_cmds.c
16535 * app/pdb/selection_cmds.c: regenerated.
16537 * app/core/gimpselection.c: implement GimpItem::scale(), resize(),
16538 flip() and rotate().
16540 * app/core/gimpimage-crop.c
16541 * app/core/gimpimage-flip.c
16542 * app/core/gimpimage-resize.c
16543 * app/core/gimpimage-rotate.c
16544 * app/core/gimpimage-scale.c: no need to call
16545 gimp_image_mask_invalidate() and/or gimp_image_mask_changed()
16546 manually after scale, resize, flip and rotate, since GimpSelection
16547 updates itself correctly.
16549 2003-09-03 Sven Neumann <sven@gimp.org>
16551 * app/batch.c (batch_init): s/extension/plug_in/ for Script-Fu
16552 procedures to get batch mode working again.
16554 2003-09-02 Helvetix Victorinox <helvetix@gimp.org>
16556 * app/composite/gimp-composite.c (gimp_composite_init): Turn on
16557 SSE, SSE2, and 3dnow instruction sets.
16559 * app/paint-funcs/paint-funcs.c (initial_sub_region): Fixed
16560 uninitialised data in the special case for dissolve.
16561 This is the cause of Bug #121213.
16563 2003-09-03 Michael Natterer <mitch@gimp.org>
16565 * app/core/gimpchannel.[ch]: made all functions which push an
16566 undo step virtual and added them all as default implementations.
16568 * app/core/Makefile.am
16569 * app/core/core-types.h
16570 * app/core/gimpselection.[ch]: new object which is a GimpChannel
16571 subclass and implements all of its virtual functions, pushes
16572 an image_mask undo and chains up with "push_undo = FALSE".
16574 * app/core/gimpimage-mask.[ch]: made most functions simple
16575 wrappers like gimp_channel_invert(gimp_image_get_mask(gimage));
16576 so the API stays the same for now.
16578 * app/core/gimpimage.[ch]: create a GimpSelection object
16579 as gimage->selection_mask. Removed "gboolean mask_stroking"
16580 since it is in GimpSelection now.
16582 * app/xcf/xcf-load.c (xcf_load_channel_props): added an evil hack
16583 which turns a GimpChannel into a GimpSelection once we figured the
16584 loaded channel is the selection.
16586 * app/core/gimplayer.c (gimp_layer_create_mask):
16587 gimp_channel_clear() takes an additional "const gchar *undo_desc"
16590 * app/core/gimpscanconvert.c (gimp_scan_convert_to_channel): set
16591 mask->bounds_known to FALSE before returning the new channel
16593 * app/tools/gimpiscissorstool.c (iscissors_convert): no need to
16594 call gimp_channel_invalidate_boundary() on the channel returned by
16595 the above function.
16597 * app/core/gimpchannel.[ch]: removed
16598 gimp_channel_invalidate_boundary() since it is no longer needed.
16600 2003-09-03 Sven Neumann <sven@gimp.org>
16602 * libgimpcolor/gimpcolorspace.[ch] (gimp_rgb_to_cmyk_int): made
16603 pullout a percentage instead of a maximal value.
16604 (gimp_rgb_to_cmyk): added a pullout parameter here as well.
16606 * app/gui/info-window.c
16607 * plug-ins/common/newsprint.c: changed accordingly.
16609 * modules/colorsel_cmyk.c: allow to specify the amount of black
16610 pulled out when converting to CMYK.
16612 2003-09-03 Dave Neary <bolsh@gimp.org>
16614 * NEWS: Changed slightly - I overestimated/overanticipated
16617 * HACKING: Updated to fix some indentation issues, and clear
16618 up some small points (like not building as root) following
16619 suggestions from Emmet Caulfield <emmet@netrogen.com>
16621 2003-09-02 Sven Neumann <sven@gimp.org>
16623 * libgimpcolor/gimpcolorspace.c (gimp_rgb_to_cmyk_int): allow to
16624 specify the amount of black pullout. Documented the function.
16626 * plug-ins/common/newsprint.c: use the RGB to CMYK routine from
16629 2003-09-02 Sven Neumann <sven@gimp.org>
16631 * app/tools/gimpdrawtool.[ch]: added new function
16632 gimp_draw_tool_draw_dashed_line().
16634 2003-09-02 Michael Natterer <mitch@gimp.org>
16636 * app/widgets/gimpdockable.c (gimp_dockable_init): default to
16637 GIMP_TAB_STYLE_PREVIEW.
16638 (gimp_dockable_new): fall back to _ICON if
16639 dockable->get_preview_func is NULL.
16641 * app/widgets/gimpdialogfactory.c
16642 (gimp_dialog_factories_restore_foreach): ditto.
16644 2003-09-02 Sven Neumann <sven@gimp.org>
16646 * app/tools/gimpeditselectiontool.c (init_edit_selection): removed
16647 a superfluous call to g_object_ref().
16649 * app/vectors/gimpvectors.c (gimp_vectors_copy_strokes): free the
16650 old list of strokes.
16652 2003-09-02 Sven Neumann <sven@gimp.org>
16654 * app/text/gimptextlayout-render.c (gimp_text_layout_render)
16655 * app/widgets/gimpfontselection.c (gimp_font_selection_set_fontname)
16656 * app/widgets/gimptexteditor.c (gimp_text_editor_new)
16657 * app/gui/file-save-dialog.c (file_save_ok_callback): plugged
16658 some memleaks found using memprof.
16660 * app/vectors/gimpvectors.c: implemented the finalize method.
16662 * app/vectors/gimpstroke.c: minor code cleanup.
16664 * app/core/gimpdrawable.c (gimp_drawable_finalize)
16665 * app/core/gimplayer.c (gimp_layer_finalize)
16666 * app/core/gimpparasitelist.c (gimp_parasite_list_finalize):
16667 removed useless assertions.
16669 2003-09-02 Michael Natterer <mitch@gimp.org>
16671 * app/core/gimpmodules.c (gimp_modules_load): silently ignore a
16672 non-existing modulerc.
16674 2003-09-02 Michael Natterer <mitch@gimp.org>
16676 * app/config/gimpcoreconfig.[ch]
16677 * app/config/gimprc-blurbs.h: removed "module-load-inhibit"
16678 property since the GimpModuleDB stores this value.
16680 * app/config/gimpconfigwriter.[ch] (gimp_config_writer_new_file):
16681 renamed parameter "gboolean safe" to "gboolean atomic".
16683 * app/core/gimpmodules.c: ported modulerc parsing/writing to
16684 GScanner and GimpConfigWriter (apparently it was forgotten during
16685 gimprc cleanup). Makes keeping modules from being loaded work
16686 again. Reported by Michael Schumacher on #gimp.
16688 2003-09-02 Simon Budig <simon@gimp.org>
16690 * app/vectors/gimpstroke.c: duplicate the closed property too.
16693 2003-09-02 Sven Neumann <sven@gimp.org>
16695 * app/paint-funcs/paint-funcs.c: coding style and indentation.
16697 2003-09-01 Helvetix Victorinox <helvetix@gimp.org>
16699 * app/composite/gimp-composite-mmx.c
16700 * app/composite/gimp-composite-sse.c: Dereference all pointers
16701 from *outside* of asm() construct.
16703 * app/paint-funcs/paint-funcs.c: Fixed bug where dissolve opacity
16704 was incorrectly set, and dissolve mask was garbage. This should
16707 2003-09-01 Michael Natterer <mitch@gimp.org>
16709 * plug-ins/helpbrowser/domain.c: fixed help domain parsing.
16711 2003-09-01 Helvetix Victorinox <helvetix@gimp.org>
16713 * app/composite/gimp-composite-mmx.c
16714 * app/composite/gimp-composite-sse.c: Replaced all memory
16715 references in asm() constructs to references to "input" parameters
16716 to the asm(). This should take care of any name mangling issues
16719 Beautified more code to conform to the gimp style guidelines.
16721 No longer doing pointer math in assembly. This should ease some
16722 of the issues of compiling on 64bit machines.
16724 * app/composite/gimp-composite-sse-installer.c
16725 * app/composite/gimp-composite-sse-test.c: Removed reference to
16726 gimp_composite_overlay_* because this code is suspect.
16728 2003-09-01 Dave Neary <bolsh@gimp.org>
16730 NEWS: Updated NEWS.
16732 2003-09-01 Manish Singh <yosh@gimp.org>
16734 Font configuration stuff: You can rescan for fonts on the fly now.
16735 A couple caveats: the text tool font dialog doesn't get updated, but
16736 that's supposed to be going away. The new font dock doesn't resort
16737 on update, but mitch is supposed to fix that. :)
16739 Some nice stuff for advanced font users: GIMP local font directories,
16740 and an optional site and user fonts.conf.
16742 I thought about supporting the auto-resan feature in fontconfig,
16743 but it might take too much time to do a scan so I haven't implemented
16744 it. Another thing I want to do is create fontconfig caches in the
16747 * text/gimpfonts.[ch]: gimp_fonts_init/load/reset implementation.
16749 * text/Makefile.am: added gimpfonts.[ch]
16751 * app/core/gimp.c: use gimp_fonts_init/reset.
16753 * app/config/gimpcoreconfig.[ch]
16754 * app/config/gimprc-blurbs.h: added font-path config setting.
16756 * app/gui/preferences-dialog.c: Add a Font Folders section for the
16757 above. Also added a Rescan Font List button, which goes in the
16758 Environment section. Not sure if this is the right place...
16759 it also looks kinda ugly all by its lonesome.
16761 * app/gui/user-install-dialog.c: mention the fonts directory.
16763 * themes/Default/images/preferences/Makefile.am
16764 * themes/Default/images/preferences/folders-fonts.png: dummy icon for
16765 font folders pref, probably a folder with a little "T" in the corner
16768 2003-09-01 Michael Natterer <mitch@gimp.org>
16770 * app/core/gimpitem.[ch]: added new virtual function
16771 GimpItem::stroke().
16773 * app/core/gimpchannel.c
16774 * app/vectors/gimpvectors.c: implement GimpItem::stroke().
16776 * app/core/gimpimage-mask.[ch] (gimp_image_mask_stroke): changed
16777 signature to match gimp_item_stroke() (the selection mask *really*
16778 should be a GimpChannel subclass).
16779 Removed global variable "gboolean gimp_image_mask_stroking"...
16781 * app/core/gimpimage.[ch]: ...and added "gboolean mask_stroking"
16782 to the GimpImage struct.
16784 * app/gui/vectors-commands.[ch]: removed vectors_stroke_vectors().
16786 * app/widgets/widgets-types.h: removed GimpStrokeItemFunc typedef.
16788 * app/widgets/gimpvectorstreeview.[ch]: removed "stroke_item_func"
16789 member and use gimp_item_stroke() instead.
16791 * app/gui/dialogs-constructors.c (dialogs_vectors_list_view_new)
16792 * app/gui/edit-commands.c (edit_stroke_cmd_callback)
16793 * app/gui/vectors-commands. (vectors_stroke_cmd_callback)
16794 * app/widgets/gimpselectioneditor.c
16795 (gimp_selection_editor_stroke_clicked)
16796 * tools/pdbgen/pdb/edit.pdb (gimp_edit_stroke): changed accordingly.
16798 * app/pdb/edit_cmds.c: regenerated.
16800 Note that there is no GUI for "stroke channel", although it would
16801 be utterly cool to have one, since currently slelection stroking
16802 cannot be masked by a selection (because we stroke the selection).
16803 Anyway, if anyone has an idea how to trigger "stroke channel" with
16804 another drawable active (the one to stroke to), please let me
16807 2003-09-01 Manish Singh <yosh@gimp.org>
16809 * app/gui/preferences-dialog.c: added a shadow around the comment
16810 entry box, looks nicer.
16812 2003-09-01 Michael Natterer <mitch@gimp.org>
16814 We really don't need that global variable overkill from appenv.h
16815 just to pass these values from main() to app_init():
16817 * app/app_procs.[ch] (app_init): added tons of parameters that
16818 used to be global variables before.
16819 Replaced app_init_update_status() by two functions, one which
16820 actually updates the splash, and one which does nothing, so we
16821 don't need global variables in the status callback.
16823 * app/appenv.h: removed variable declarations here. Some are still
16824 left, will get rid of this entire file soon...
16826 * app/main.c: added them as local variables to main() and
16827 pass them to app_init().
16829 * app/batch.c: removed the global "batch_cmds", they are passed
16830 the same way as the stuff above now.
16832 2003-09-01 Simon Budig <simon@gimp.org>
16834 * app/tools/gimpvectortool.c: added simplistic undo, needs polishing.
16836 2003-09-01 Michael Natterer <mitch@gimp.org>
16838 * app/gui/channels-menu.c
16839 * app/gui/layers-menu.c
16840 * app/gui/vectors-menu.c: removed accelerators from popup menus.
16841 The HIG says nono and we will use the global <Image> accelerator
16842 table all over the place soon. First part of fix for bug #119878.
16844 2003-09-01 Michael Natterer <mitch@gimp.org>
16846 * plug-ins/common/edge.c (run): fixed check for the number of
16847 arguments (don't always fail). Fixes bug #121176.
16849 2003-08-31 Manish Singh <yosh@gimp.org>
16851 * app/paint/gimppaintcore.c: inlined rotate_pointers, made it specific
16852 to gulongs (made more sense to me than adding casts)
16854 2003-09-01 Simon Budig <simon@gimp.org>
16856 * app/vectors/gimpcoordmath.[ch]: Introduced function to compare
16859 * app/vectors/gimpstroke.[ch]: virtualized gimp_stroke_close.
16861 * app/vectors/gimpbezierstroke.c: made the _close function check,
16862 if there is an unneeded segment (ACCA-Sequence with all the same
16863 coordinates) at the gap to be closed. If so, remove it.
16865 2003-09-01 Tor Lillqvist <tml@iki.fi>
16867 * README.win32: Update.
16869 * app/composite/gimp-composite-mmx.c: For some reason the gcc&gas
16870 combination used on Win32 wants identifiers prefixed with
16871 underscores in the asm sequences.
16873 * plug-ins/common/ps.c (ps_open): [Win32] Don't write the gs
16874 executable name into the indirect command line file. Do write the
16875 quoted form of the filename to it.
16876 (my_shell_quote): New funcion. Use instead of g_shell_quote() on
16877 Windows, as g_shell_quote() always uses single quotes, which don't
16878 mean anything to the Windows shell (or C runtime startup
16879 code). (This might be argued to be a bug in GLib, maybe
16880 g_shell_quote should behave differently accoring to platform.)
16882 * etc/gimprc.win32: Remove, generate with gimpconfig-dump.
16884 * */makefile.mingw.in: Remove, unmaintained.
16886 2003-09-01 Sven Neumann <sven@gimp.org>
16888 * app/xcf/xcf-load.c: removed excessive path debugging output.
16890 * app/text/gimptext-vectors.c: always close strokes created from
16893 2003-09-01 Simon Budig <simon@gimp.org>
16895 * app/vectors/gimpbezierstroke.c: fixed it to create proper strokes...
16897 2003-09-01 Sven Neumann <sven@gimp.org>
16899 * app/text/gimptext-vectors.c: use the new bezier stroke API.
16901 * app/vectors/gimpbezierstroke.c (gimp_bezier_stroke_new_moveto):
16902 pass a NULL anchor to the first call of gimp_bezier_stroke_extend().
16904 2003-08-31 Simon Budig <simon@gimp.org>
16906 * app/vectors/gimpbezierstroke.[ch]: Implemented moveto/lineto/
16907 conicto/curveto-Interface.
16908 Moved helper functions to calculate with GimpCoords into...
16910 * app/vectors/gimpcoordmath.[ch]: ...these new files.
16912 * app/vectors/Makefile.am: Changed accordingly.
16914 2003-08-31 Sven Neumann <sven@gimp.org>
16916 * plug-ins/common/bz2.c: make it behave more like the gzip plug-in
16917 and attempt to load and save files even if there's no sensible
16920 * plug-ins/common/gz.c: minor string change for consistency.
16922 2003-08-31 Sven Neumann <sven@gimp.org>
16924 * plug-ins/gfig/gfig.c: applied an old patch from Carl Adams that
16925 was updated for 1.3 by Tino Schwarze. The patch fixes the isometric
16926 grid so that its mathematical properties can be exploited (#34825).
16928 2003-08-31 Sven Neumann <sven@gimp.org>
16930 * plug-ins/common/gz.c: applied a patch from Raphael Quinet that
16931 adds '-n' to the gzip command-line (bug #72791). Did some minor
16932 code cleanup and fixed a problem introduced by the latest change
16933 that caused a crash when loading remote gzipped files.
16935 2003-08-31 Manish Singh <yosh@gimp.org>
16937 * plug-ins/helpbrowser/dialog.c (io_handler): g_io_channel_read_chars
16940 2003-08-31 Manish Singh <yosh@gimp.org>
16942 * app/core/gimpimage-undo-push.c (undo_pop_layer): gsize is unsigned,
16943 reflect that in the g_prints.
16945 * tools/pdbgen/pdb/color.pdb: case to GIMP_BASE_CONFIG for the call
16946 to gimp_histogram_new, #include "core/gimpdrawable-histogram.h"
16948 * app/pdb/color_cmds.c: regenerated.
16950 2003-08-31 Sven Neumann <sven@gimp.org>
16952 * app/gui/layers-commands.[ch]
16953 * app/gui/layers-menu.c: added "Merge Visible Layers..." and
16954 "Flatten Image" menu entries as suggested in bug #120959.
16956 * app/text/gimptext-vectors.c: fixed function declaration; we are
16957 passing a PangoGlyph here, not a (PangoGlyph*).
16959 2003-08-31 Sven Neumann <sven@gimp.org>
16961 * plug-ins/common/psd.c: applied a modified version of a patch
16962 from Andy Wallis that is supposed to fix bug #68538.
16964 2003-08-31 Manish Singh <yosh@gimp.org>
16966 * configure.in: added a prominent comment for translators to make
16967 sure they have all 4 po files before adding to ALL_LINGUAS.
16969 * app/gui/plug-in-menus.c: remove redudant #include of gimpenv.h
16971 * tools/pdbgen/pdb/plug_in.pdb: gimp_strip_uline menu_path before
16974 * app/pdb/plug_in_cmds.c: regenerated.
16976 * plug-ins/common/mng.c
16977 * plug-ins/common/psd_save.c
16978 * plug-ins/common/psp.c: use G_N_ELEMENTS
16980 * plug-ins/common/screenshot.c: use GDK_WINDOWING_* for #includes
16981 too. GDK cursor enums are ok to pass to XCreateFontCursor.
16983 * plug-ins/dbbrowser/dbbrowser_utils.c: minor cleanups, also use
16984 gtk_cell_renderer_text_set_fixed_height_from_font as an optimization.
16986 * plug-ins/libgck/gck/gckcolor.c: #undef GDK_DISABLE_DEPRECATED and
16989 * plug-ins/pygimp/gimpfu.py: remove some redundant import gtk's
16991 2003-08-31 Sven Neumann <sven@gimp.org>
16993 * libgimpcolor/gimpcolorspace.c: applied a patch from S. Mukund
16994 that fixes the gimp_hsv_to_rgb_int() and gimp_rgb_to_hsv_int()
16995 functions (bug #115626).
16997 2003-08-31 Sven Neumann <sven@gimp.org>
16999 * tools/pdbgen/pdb/color.pdb: applied a patch from Shawn Willden
17000 that adds the new PDB function levels_auto.
17002 * app/pdb/color_cmds.c
17003 * app/pdb/internal_procs.c
17004 * libgimp/gimpcolor_pdb.[ch]: regenerated.
17006 2003-08-31 Raphael Quinet <quinet@gamers.org>
17008 * data/palettes/Makefile.am (palettedata_DATA): fixed the spelling
17009 of Khaki.gpl after Sven's last commit.
17011 2003-08-31 Danilo Å egan <dsegan@gmx.net>
17013 * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
17015 2003-08-31 Sven Neumann <sven@gimp.org>
17017 * data/palettes/Kahki.gpl: removed ...
17018 * data/palettes/Khaki.gpl: ... and readded under the correct name.
17019 Misspelling spotted by Roman FroÅow.
17021 2003-08-31 Pedro Gimeno <pggimeno@wanadoo.es>
17023 * plug-ins/common/ccanalyze.c (analyze): Fix bug preventing the
17024 plug-in from working properly with rectangular selections. It
17025 still doesn't work properly with arbitrarily-shaped selections.
17027 2003-08-31 Manish Singh <yosh@gimp.org>
17029 * app/widgets/gimpitemfactory.c (gimp_item_factory_translate_func):
17030 make a copy of dgettext() results from full_path in all cases, since
17031 it might return our original string. Fixes #121083.
17033 2003-08-31 Michael Natterer <mitch@gimp.org>
17035 Removed libgck from the public libgimp API:
17037 * plug-ins/libgck/gck/Makefile.am: don't build and install a
17038 shared library and any header files. Instead, build a
17041 * plug-ins/Lighting/Makefile.am
17042 * plug-ins/MapObject/Makefile.am: link against the uninstalled
17043 libgck.a convenience lib.
17045 2003-08-30 Michael Natterer <mitch@gimp.org>
17047 * app/tools/gimptool.c: made "tool-info" a G_PARAM_CONSTRUCT_ONLY
17050 * app/tools/tool_manager.c (tool_manager_tool_changed): pass it to
17051 g_object_new() instead of setting it after tool creation.
17053 * app/tools/gimppainttool.[ch]
17054 * app/tools/gimptransformtool.[ch]: removed ugly
17055 "gboolean notify_connected" hacks and connect to the signals in
17056 GObject::constructor().
17058 * app/tools/gimppainttool.c (gimp_paint_tool_contstructor): create
17059 paint_tool->core here from tool->tool_info->paint_info->paint_type.
17061 * app/tools/gimpairbrushtool.c
17062 * app/tools/gimpclonetool.c
17063 * app/tools/gimpconvolvetool.c
17064 * app/tools/gimpdodgeburntool.c
17065 * app/tools/gimperasertool.c
17066 * app/tools/gimppaintbrushtool.c
17067 * app/tools/gimppenciltool.c
17068 * app/tools/gimpsmudgetool.c: changed accordingly. Removed lots of
17069 useless class_init functions. Converted tabs to spaces. Cleanup.
17071 2003-08-30 Michael Natterer <mitch@gimp.org>
17073 * app/core/gimpchannel.[ch] (gimp_channel_boundary)
17074 * app/core/gimpimage-mask.[ch] (gimp_image_mask_boundary)
17075 * app/core/gimplayer-floating-sel.[ch] (floating_sel_boundary):
17076 return const BoundSeg arrays because they are cached and not newly
17079 * app/base/boundary.[ch] (sort_boundary)
17080 * app/tools/gimpdrawtool.[ch] (gimp_draw_tool_draw_boundary):
17081 take const BoundSeg arrays.
17083 * app/core/gimpimage-mask.c (gimp_image_mask_stroke)
17084 * app/display/gimpdisplayshell-selection.c
17085 * app/tools/gimpeditselectiontool.c (init_edit_selection):
17086 changed accordingly.
17088 2003-08-30 Michael Natterer <mitch@gimp.org>
17090 Fixed & cleaned up paint function registration to work without
17091 GUI. Finishes core/GUI separation for the paint tools:
17093 * app/core/gimppaintinfo.[ch]: removed "gchar *pdb_string" all over
17094 the place since we don't stroke using the PDB any more.
17095 (gimp_paint_info_new): create paint_info->paint_options here so
17096 the paint system is fully initialized when there is no GUI.
17098 * app/paint/paint.c: removed pdb_string stuff here, too.
17100 * app/core/gimptoolinfo.[ch]: create tool_info->tool_options
17101 only if tool_info->tool_options_type is not the same type
17102 as paint_info->paint_options_type (if we are no paint tool).
17104 * app/core/gimptooloptions.c: removed G_PARAM_CONSTRUCT_ONLY from
17105 the "tool-info" property. Instead, changed
17106 gimp_tool_options_set_property to ensure that it is only set once.
17108 * app/core/gimp.c (gimp_initialize): moved paint_init() after
17109 data_factory creation (was in gimp_init()), since GimpPaintInfo
17110 now creates the GimpPaintOptions, which are GimpContexts, which
17111 need gimp->*_factory to be constructed.
17113 * app/tools/tool_manager.c: don't create tool_info->tool_options
17114 here (it's not the job of the tool_manager to set up the core
17115 paint system correctly, it must be already initialized before any
17116 tool_manager function is called).
17118 Made "Stroke Selection" and "Stroke Path" work the same way:
17120 * app/paint/gimppaintcore-stroke.[ch]: added new function
17121 gimp_paint_core_stroke_boundary() which strokes without using
17124 * app/core/gimpimage-mask.c (gimp_image_mask_stroke): use it
17125 instead of using the PDB. Enables all available paint options for
17126 stroke operations. Fixes bug #119411.
17128 * app/gui/vectors-commands.c (vectors_stroke_vectors)
17129 * app/core/gimpimage-mask.c (gimp_image_mask_stroke): removed all
17130 code which tries to figure how to stroke and simply look at the
17131 active tool's tool_info->paint_info, since it is always set up
17134 2003-08-30 Simon Budig <simon@gimp.org>
17136 * app/tools/gimpvectortool.[ch]: fixed stupid int vs. float
17137 error that caused rounding errors when moving in a zoomed view.
17138 Fixed drawing artefact when connecting strokes did not succeed.
17140 2003-08-29 Simon Budig <simon@gimp.org>
17142 * app/tools/gimpvectortool.[ch]: further modifier changes.
17143 Mail to gimp-devel will follow.
17145 2003-08-29 Simon Budig <simon@gimp.org>
17147 * app/vectors/gimpbezierstroke.c: Do not modify the selection
17148 state of the anchors. When extending EXTEND_EDITABLE return
17149 the anchor created (not the handle at the end of the list)
17151 * app/tools/tools-enums.h: Added new mode-enum for the vector tool.
17152 * app/tools/tools-enums.c: regenerated
17154 * app/tools/gimpvectortool.[ch]: Implemented moving (Shortcuts
17155 ALT and ALT+CTRL. The whole assignment of modifiers right now
17156 gets revised. Right now you have to use the Tool options to
17157 switch between the modes of operation. Connecting strokes now
17158 works in Insert/Delete mode by clicking on startpoint and
17159 dragging to target endpoint.
17161 I will write a mail to gimp-devel when the shortcuts are
17162 setteled a bit more. Sorry for the inconvenience.
17164 2003-08-29 Sven Neumann <sven@gimp.org>
17166 * app/tools/gimptextoptions.c (gimp_text_options_gui): move the
17167 mnemonic from the old font selection widget to the new one. The
17168 old one will die soon. Fixes bug #120963.
17170 2003-08-29 Sven Neumann <sven@gimp.org>
17172 * configure.in: removed be (Belarusian) from ALL_LINGUAS until all
17173 be.po files are provided.
17175 2003-08-29 Dmitry G. Mastrukov <dmitry@taurussoft.org>
17177 * configure.in: Added Belarusian to ALL_LINGUAS.
17179 2003-08-28 Larry Ewing <lewing@ximian.com>
17181 * app/text/gimptext-vectors.c (conicto): interpolate the position
17182 of the cubic control points correctly and set the previous control
17184 (cubicto): set the previous control point to the new value then
17185 add remaining points.
17187 2003-08-28 Manish Singh <yosh@gimp.org>
17189 * plug-ins/common/screenshot.c: cleanups. sizeof() isn't valid
17190 in preprocessor land. Use GDK_WINDOWING_* instead of G_OS_WIN32.
17191 XFreeCursor when we're done with it.
17193 2003-08-28 Manish Singh <yosh@gimp.org>
17195 * app/core/gimpbrush.c
17196 * app/core/gimpbrushgenerated.c
17197 * app/core/gimpbrushpipe.c
17198 * app/core/gimpbuffer.c
17199 * app/core/gimpimage-snap.c
17200 * app/core/gimppattern.c
17201 * app/core/gimpundostack.c
17202 * app/display/gimpdisplayshell.c
17203 * app/gui/grid-dialog.c
17204 * plug-ins/common/CML_explorer.c: cleanup, remove unnecessary casts.
17206 2003-08-28 Sven Neumann <sven@gimp.org>
17208 * configure.in: bumped version number to 1.3.20.
17210 2003-08-28 Dave Neary <bolsh@gimp.org>
17212 * NEWS: Updated the NEWS file.
17214 2003-08-28 Henrik Brix Andersen <brix@gimp.org>
17216 * plug-ins/common/screenshot.c: rewrote a large part of the
17217 screenshot plug-in. The plug-in now no longer depends on the xwd
17218 utility, but uses Xlib/GDK functionality to obtain the screen shot.
17220 The window to shoot is now selected prior to the time out. This
17223 The ability to obtain a screen shot of a window without
17224 decorations has had to go since this can not be done using plain
17225 Xlib/GDK (one would have to depend on libXmu to do this).
17227 The source is prepared for G_OS_WIN32 but the win32 specific code
17228 is yet to be written.
17230 * tools/pdbgen/pdb/plug_in.pdb (gimp_progress_update): improved the
17231 inline documentation
17233 * app/pdb/plug_in_cmds.c
17234 * libgimp/gimpplugin_pdb.c: regenerated
17236 2003-08-28 Sven Neumann <sven@gimp.org>
17238 * app/core/gimpimage-convert.c (gimp_image_convert): free the
17239 colormap and set colormap size to 0 after converting from indexed.
17240 Should make gimp_image_get_cmap() behave as advertised again.
17243 * tools/pdbgen/pdb/image.pdb: use gimp_image_get_colormap_size()
17244 instead of accessing gimage->num_cols directly.
17246 * app/pdb/image_cmds.c: regenerated.
17248 2003-08-28 Maurits Rijk <lpeek.mrijk@consunet.nl>
17250 * plug-ins/xjt/xpdb_calls.[ch]: removed
17252 * plug-ins/xjt/Makefile.am
17253 * plug-ins/xjt/xjt.c: major clean-up. All calls that were in
17254 xpdb_calls.[ch] are already available in the various libgimp
17257 2003-08-28 Michael Natterer <mitch@gimp.org>
17259 Completed the new help infrastructure. Needs some polishing but
17260 basically works as proposed:
17262 * tools/pdbgen/pdb/plug_in.pdb: changed gimp_plugin_help_register()
17263 to take a "domain_name" (which is the XML namespace) and a
17264 "domain_uri" (which is the root of the plug-in's help pages).
17266 * tools/pdbgen/pdb/help.pdb: changed gimp_help() to take help_id
17267 instead of a non-UTF-8 help_path.
17269 * app/plug-in/plug-in-def.[ch]
17270 * app/plug-in/plug-in-proc.[ch]
17271 * app/plug-in/plug-in-rc.c
17272 * app/plug-in/plug-ins.[ch]: remember the plug-ins' help_domain
17273 and help_uri instead of just help_path. Changed all plug-in APIs
17274 to reflect this change.
17276 * app/widgets/gimphelp.[ch]: on helpbrowser startup, pass it the
17277 whole list of help domains. The actual help request is now made
17278 using the browser's temporary procedure.
17281 * app/gui/file-open-menu.c
17282 * app/gui/file-save-menu.c
17283 * app/gui/plug-in-menus.[ch]
17284 * app/widgets/gimpitemfactory.c: changed accordingly.
17286 * app/pdb/help_cmds.c
17287 * app/pdb/plug_in_cmds.c
17288 * libgimp/gimphelp_pdb.[ch]
17289 * libgimp/gimpplugin_pdb.[ch]: regenerated.
17291 Changed the help broser to load the pages according to the
17294 - moved the browser window stuff to dialog.[ch]
17295 - moved help domain handling to domain.[ch]
17296 - added gimp-help.xml parsing to domain.c
17299 * plug-ins/helpbrowser/Makefile.am
17300 * plug-ins/helpbrowser/dialog.[ch]
17301 * plug-ins/helpbrowser/domain.[ch]: new files.
17302 * plug-ins/helpbrowser/helpbrowser.c: chopped.
17304 2003-08-28 Simon Budig <simon@gimp.org>
17306 * app/core/gimpimage-mask-select.c
17307 * app/vectors/gimpbezierstroke.c: Fixed two crashes when a path
17308 with a single node in a stroke got converted to a selection or got
17311 2003-08-28 Sven Neumann <sven@gimp.org>
17313 * app/core/gimpcontext.c (gimp_context_real_set_foreground)
17314 (gimp_context_real_set_background): keep the context colors always
17315 opaque. Fixes bug #120912.
17317 2003-08-28 Sven Neumann <sven@gimp.org>
17319 * tools/pdbgen/pdb/image.pdb: removed a historical enum constraint
17320 that caused bug #120915.
17322 * app/pdb/image_cmds.c: regenerated.
17324 2003-08-28 Simon Budig <simon@gimp.org>
17326 * app/tools/gimptransformtool.c: Modified the test when to paint
17327 the grid or not. It now checks for convexity of the bounding
17330 2003-08-28 Ville PƤtsi <drc@gimp.org>
17332 * Makefile.am: Add gimp.spec to EXTRA_DIST to add it to
17335 2003-08-27 Michael Natterer <mitch@gimp.org>
17337 * app/widgets/gimplayertreeview.c
17338 (gimp_layer_tree_view_alpha_changed): update the button states if
17339 the layer which changed alpha was the active one.
17342 2003-08-27 Michael Natterer <mitch@gimp.org>
17344 Enabled type-preserving DND of all kinds of items between
17345 different images. Fixes bug #119983.
17347 * app/core/gimpitem.[ch]: added new virtual function
17348 GimpItem::convert() which duplicates an item for another image.
17350 * app/core/gimplayer.[ch]: removed gimp_layer_new_from_drawable()
17351 and made it a GimpItem::convert() implementation.
17353 * app/vectors/gimpvectors.[ch]: removed gimp_vectors_convert() and
17354 made it a GimpItem::convert() implementation.
17356 * app/widgets/gimpitemtreeview.[ch]: removed GimpConvertItemFunc
17357 typedef and function pointer in GimpItemTreeViewClass since
17358 we can simply call gimp_item_convert() now.
17360 * app/widgets/gimplayertreeview.c
17361 * app/widgets/gimpvectorstreeview.c
17362 * app/display/gimpdisplayshell-dnd.c
17363 * tools/pdbgen/pdb/layer.pdb: changed accordingly.
17365 * app/pdb/layer_cmds.c: regenerated.
17367 2003-08-27 Sven Neumann <sven@gimp.org>
17369 * app/widgets/gimpitemfactory.c (gimp_item_factory_translate_func):
17370 removed debugging output.
17372 2003-08-27 Sven Neumann <sven@gimp.org>
17374 * Made 1.3.19 release.
17376 2003-08-27 Sven Neumann <sven@gimp.org>
17378 * plug-ins/common/edge.c (run): made the PDB interface backward
17379 compatible by allowing the last parameter to be omitted.
17381 2003-08-27 Dave Neary <bolsh@gimp.org>
17383 * NEWS: Update NEWS file, split path tool improvements into
17384 user-visible chunks.
17386 2003-08-27 Maurits Rijk <lpeek.mrijk@consunet.nl>
17388 * plug-ins/common/curve_bend.c: (partly) applied patch from
17389 hof@gimp.org. Fixes both #119937 and #119938. Some cleanup of the
17392 2003-08-27 Michael Natterer <mitch@gimp.org>
17394 Cleaned up my "To Selection" cleanup:
17396 * app/gui/channels-commands.[ch]
17397 * app/gui/layers-commands.[ch]
17398 * app/gui/vectors-commands.[ch]: removed the separate
17399 cmd_callbacks for REPLACE,ADD,SUBTRACT,INTERSECT and pass the
17400 operation as "guint action" to the callback.
17402 * app/gui/channels-menu.c
17403 * app/gui/image-menu.c
17404 * app/gui/layers-menu.c
17405 * app/gui/vectors-menu.c: changed accordingly.
17407 2003-08-27 Simon Budig <simon@gimp.org>
17409 * app/vectors/gimpstroke.[ch]
17410 * app/vectors/gimpbezierstroke.c: Implemented function to
17411 connect two strokes.
17413 * app/tools/gimpvectortool.[ch]: Use it. Right now you have
17414 to click on one endpoint, and then SHIFT+CTRL+ALT-Click on
17415 the other endpoint.
17417 Suggestions on how to solve that more sanely are welcome...
17419 2003-08-27 Michael Natterer <mitch@gimp.org>
17421 * app/composite/gimp-composite-generic.c
17422 (gimp_composite_generic_init): added missing g_rand_free().
17424 * app/widgets/gimpitemfactory.[ch]: fixed all leaks in
17425 gimp_item_factory_translate_func(). Added
17426 item_factory->translation_trash for the pathological cases. Free
17427 the trash after each call to gtk_item_factory_create_item().
17429 2003-08-27 Sven Neumann <sven@gimp.org>
17431 * plug-ins/common/edge.c: applied patch from Guillermo S. Romero
17432 that moves the newly added PDB parameter to the end and documents
17433 the former default value.
17435 * plug-ins/script-fu/scripts/3d-outline.scm
17436 * plug-ins/script-fu/scripts/circuit.scm
17437 * plug-ins/script-fu/scripts/lava.scm
17438 * plug-ins/script-fu/scripts/predator.scm: changed accordingly by
17439 Guillermo S. Romero.
17441 2003-08-27 Sven Neumann <sven@gimp.org>
17443 * libgimpbase/Makefile.am (EXTRA_DIST)
17444 * libgimpbase/makefile.msc (EXTRA_DIST): removed gimpversion.h.in.
17446 * app/composite/Makefile.am (libappcomposite_a_built_sources):
17447 removed gimp-composite-*-installer.h.
17449 2003-08-26 Michael Natterer <mitch@gimp.org>
17451 * app/widgets/gimphelp-ids.h: added some toolbox and dock related
17454 * app/gui/dialogs-menu.c
17455 * app/widgets/gimpimagedock.c
17456 * app/widgets/gimptoolbox.c: use them.
17458 2003-08-26 Michael Natterer <mitch@gimp.org>
17460 * app/helpbrowser/helpbrowser.c: some cleanup and fixes before
17461 porting to the new help ID based system. Definitely broken at the
17464 2003-08-26 Sven Neumann <sven@gimp.org>
17466 * app/core/core-enums.h: use GIMP_GRADIENT as prefix for the
17467 GimpGradientType enum.
17469 * app/core/core-enums.c
17470 * app/pdb/misc_tools_cmds.c
17471 * libgimp/gimpenums.h
17472 * plug-ins/pygimp/gimpenums.py
17473 * plug-ins/script-fu/script-fu-constants.c
17474 * tools/pdbgen/enums.pl: regenerated.
17476 * app/core/gimpdrawable-blend.c
17477 * app/tools/gimpblendoptions.c
17478 * plug-ins/pygimp/plug-ins/sphere.py
17479 * plug-ins/script-fu/scripts: changed accordingly.
17481 * libgimp/gimpcompat.h
17482 * plug-ins/script-fu/siod-wrapper.c: added compatibility defines
17483 for the old enum values.
17485 2003-08-26 Michael Natterer <mitch@gimp.org>
17487 * app/tools/gimptransformoptions.c
17488 (gimp_transform_options_class_init): it's GIMP_INTERPOLATION_LINEAR,
17489 not just GIMP_LINEAR, argh. Fixes part 1 of bug #120424.
17491 2003-08-26 Michael Natterer <mitch@gimp.org>
17493 * plug-ins/helpbrowser/helpbrowser.c (open_browser_dialog): we
17494 can't rely on "eek.png" from the help system being installed.
17495 Use "stock-wilber-eek-64.png" from the default theme instead
17496 because it is always available.
17498 2003-08-26 Michael Natterer <mitch@gimp.org>
17500 Bye bye, "crappy/foo.html":
17502 * app/widgets/gimphelp-ids.h: replaced "crappy/foo.html" by
17503 "gimp-proper-identifier".
17505 * app/plug-in/plug-in-proc.[ch] (plug_in_proc_def_get_help_id):
17506 added "const gchar *help_path" parameter and return a help ID
17507 ready for attaching to a menu item.
17509 The help ID is no longer constructed from the plug-in's executable
17510 name but from the *procedure* name with '_' replaced by '-'. This
17511 means we can now have help for each script-fu script and for each
17512 of a plug-in's individual procedures.
17514 * app/gui/plug-in-menus.c: removed even more duplicated wrong code
17515 since plug_in_proc_def_get_help_id() is implemented correctly now.
17517 * app/gui/file-open-menu.c
17518 * app/gui/file-save-menu.c: ditto. Reorder the "XCF" menu item
17519 before the separator and added GIMP_STOCK_WILBER.
17521 * app/gui/file-dialog-utils.c: added a mnemonic to the
17522 "Determine File Type:" label.
17524 2003-08-26 Simon Budig <simon@gimp.org>
17526 * app/vectors/gimpanchor.h: Intruduce casting macro GIMP_ANCHOR.
17528 * app/tools/gimpvectortool.c
17529 * app/vectors/gimpstroke.c
17530 * app/vectors/gimpbezierstroke.c
17531 * app/vectors/gimpvectors-compat.c: Use it for code readibility.
17533 2003-08-26 Michael Natterer <mitch@gimp.org>
17535 * app/widgets/gimpdockbook.c: added gimp_dockbook_help_func()
17536 which shows the help for the active page.
17538 (gimp_dockbook_tab_button_press): grab the focus when a notebook
17539 tab is clicked. Still not perfect since GtkNotebook does it
17540 slightly different, but feels much better than before.
17542 2003-08-26 Michael Natterer <mitch@gimp.org>
17544 * app/gui/info-window.c
17545 * app/widgets/gimpfontselection.c
17546 * app/widgets/gimpfontselection-dialog.c: replaced the last
17547 hardcoded html links by help IDs. Removed trailing whitespace.
17549 2003-08-26 Simon Budig <simon@gimp.org>
17551 * app/vectors/gimpbezierstroke.c: Minor code cleanup that
17552 automagically makes SHIFT while curve-dragging work...
17554 2003-08-26 Michael Natterer <mitch@gimp.org>
17556 * app/gui/grid-dialog.c: use GIMP_HELP_IMAGE_GRID.
17558 * app/gui/image-menu.c: fixed some help ID copy & paste bugs.
17560 * app/widgets/gimpdockable.c: forgot to actually set the help ID
17561 with gimp_help_set_help_data().
17563 2003-08-26 Simon Budig <simon@gimp.org>
17565 * app/vectors/gimpstroke.[ch]
17566 * app/vectors/gimpbezierstroke.c: Implemented direct moving of the
17569 * app/tools/gimpvectortool.[ch]: Use it.
17571 2003-08-25 Michael Natterer <mitch@gimp.org>
17573 * app/core/core-enums.[ch]: added enum GimpContainerPolicy.
17575 * app/core/gimpcontainer.[ch]: removed it here. Added new virtual
17576 function GimpContainer::clear() which removes all items. Cleanup.
17578 * app/core/gimplist.c: implement GimpContainer::clear(). Cleanup.
17580 2003-08-25 Michael Natterer <mitch@gimp.org>
17582 * app/widgets/gimpitemfactory.[ch]
17583 * app/widgets/gimpmenufactory.[ch]: added a help_id to
17584 GimpItemFactory. It's basically the code I removed some days ago,
17585 but this time it's used as default help_id for the factory (e.g.
17586 if F1 is pressed over a separator), and not to construct html
17589 * app/widgets/gimphelp-ids.h: added some missing help IDs.
17591 * app/gui/menus.c: register a help IDs with each item factory.
17593 * app/display/gimpdisplayshell.c
17594 * app/gui/dialogs-menu.c: some more forgotten help IDs.
17596 2003-08-25 Michael Natterer <mitch@gimp.org>
17598 * app/widgets/gimphelp-ids.h
17599 * app/widgets/gimppaletteeditor.c
17600 * app/gui/palette-editor-menu.c: help IDs for the palette editor.
17602 * app/gui/toolbox-menu.c: forgot some dialog help IDs.
17604 2003-08-25 Michael Natterer <mitch@gimp.org>
17606 * app/plug-in/plug-ins.[ch] (plug_ins_temp_proc_def_add): removed
17607 the "locale_domain" and "help_path" parameters since the function
17608 can figure them by itself.
17610 * app/plug-in/plug-in-message.c (plug_in_handle_proc_install):
17611 changed accordingly.
17613 * app/plug-in/plug-in-proc.[ch] (plug_in_proc_def_get_help_id):
17614 new function which will soon be implemented correctly :-)
17616 * app/gui/file-open-menu.c (file_open_menu_setup)
17617 * app/gui/file-save-menu.c (file_save_menu_setup)
17618 * app/gui/plug-in-menus.c (plug_in_menus_create_entry): use it
17619 here instead of duplicating broken code.
17621 2003-08-25 Michael Natterer <mitch@gimp.org>
17623 * app/widgets/gimphelp-ids.h: added GIMP_HELP_TEXT_EDITOR_DIALOG.
17625 * app/widgets/gimptexteditor.c: use it.
17627 2003-08-25 Michael Natterer <mitch@gimp.org>
17629 * app/widgets/gimpdockable.[ch]: added "gchar *help_id" member to
17630 the GimpDockable struct and "const gchar *help_id" parameter to
17631 gimp_dockable_new().
17633 * app/widgets/gimphelp-ids.h: added help IDs for the tool list/grid
17634 and the palette editor.
17636 * app/widgets/gimpdockbook.c
17637 * app/gui/dialogs-constructors.c
17638 * app/gui/dialogs-menu.c: changed accordingly.
17640 2003-08-25 Michael Natterer <mitch@gimp.org>
17642 * app/gui/image-menu.c: added "Select->To Path" menu entry, using
17643 the right stock_id and help_id.
17645 * plug-ins/sel2path/sel2path.c: don't install a menu_path.
17647 2003-08-25 Michael Natterer <mitch@gimp.org>
17649 * app/text/gimptext.[ch]: derive it from GimpObject and added
17650 GimpObject::get_memsize() implementation.
17652 2003-08-25 Sven Neumann <sven@gimp.org>
17654 Fixed some issues with the PDB thumbnail functions spotted by
17655 Wolfgang Hofer and loosely based on patches he provided:
17657 * tools/pdbgen/pdb/fileops.pdb (file_load_thumbnail): keep a
17658 reference on the GimpImagefile as long as we need the associated
17659 preview temp_buf. Call gimp_imagefile_update() before requesting
17662 * app/pdb/fileops_cmds.c: regenerated.
17664 * app/base/temp-buf.c (temp_buf_new_check): use a checkerboard
17665 algorithm similar to the one the displayshell-render code uses.
17667 2003-08-25 Michael Natterer <mitch@gimp.org>
17669 * app/core/gimpobject.[ch]: changed GimpObject::get_memsize() to
17670 return a second value named "gui_size", where the primary return
17671 value is the "constant" actual size (as long as no operation is
17672 performed on the object), and the second "gui_size" return value
17673 is the size of temporary stuff like preview caches or boundary
17674 segments (which may change asynchronously, even if the object is
17675 on the undo stack).
17678 * app/core/gimpbrush.c
17679 * app/core/gimpbrushpipe.c
17680 * app/core/gimpbuffer.c
17681 * app/core/gimpchannel.c
17682 * app/core/gimpcontainer.c
17683 * app/core/gimpcontext.c
17684 * app/core/gimpdata.c
17685 * app/core/gimpdatafactory.c
17686 * app/core/gimpdrawable.c
17687 * app/core/gimpgradient.c
17688 * app/core/gimpimage-undo.c
17689 * app/core/gimpimage.c
17690 * app/core/gimpitem.c
17691 * app/core/gimplayer.c
17692 * app/core/gimplist.c
17693 * app/core/gimppalette.c
17694 * app/core/gimpparasitelist.c
17695 * app/core/gimppattern.c
17696 * app/core/gimpundo.c
17697 * app/core/gimpundostack.c
17698 * app/core/gimpviewable.c
17699 * app/text/gimptextlayer.c
17700 * app/vectors/gimpstroke.c
17701 * app/vectors/gimpvectors.c: changed get_memsize() implementations
17704 * app/display/gimpdisplayshell-title.c
17705 * app/gui/debug-commands.c
17706 * app/widgets/gimppreview.c: changed callers accordingly.
17708 * app/core/gimpimage-undo-push.c: changed layer, channel, vectors
17709 and layer_mask undo steps to add/subtract the size of the
17710 resp. objects whenever they take/drop ownership of them. Ignore
17711 the objects' "gui_size" to get identical sizes on
17712 adding/subtracting. Fixes bug #120429.
17714 2003-08-25 Michael Natterer <mitch@gimp.org>
17716 * app/display/gimpnavigationview.c: forgot this one.
17718 2003-08-24 Seth Burgess <sjburges@gimp.org>
17720 * plug-ins/rcm/rcm_callback.c: add in a call to
17721 gdk_window_process_updates to keep the screen
17722 updating properly. Remove one redraw from
17725 2003-08-24 Seth Burgess <sjburges@gimp.org>
17727 * plug-ins/rcm/rcm_callback.c: do redraws instead
17728 of trying to erase. Also redraw upon release. Mostly
17731 2003-08-24 Simon Budig <simon@gimp.org>
17733 * data/brushes/feltpen.gih
17734 * data/brushes/hsparks.gih: Marked as binary.
17736 2003-08-24 Michael Natterer <mitch@gimp.org>
17738 * app/display/gimpdisplayshell-filter-dialog.c
17739 * app/display/gimpdisplayshell-scale.c
17740 * app/display/gimpnavigationview.c
17741 * app/gui/dialogs-menu.c
17742 * app/gui/documents-menu.c
17743 * app/gui/error-console-menu.c
17744 * app/gui/gradient-editor-commands.c
17745 * app/gui/gradient-editor-menu.c
17746 * app/gui/image-menu.c
17747 * app/gui/select-commands.c
17748 * app/gui/tool-options-dialog.c
17749 * app/gui/toolbox-menu.c
17750 * app/gui/vectors-menu.c
17751 * app/widgets/gimpbufferview.c
17752 * app/widgets/gimpchanneltreeview.c
17753 * app/widgets/gimpdocumentview.c
17754 * app/widgets/gimpeditor.[ch]
17755 * app/widgets/gimperrorconsole.c
17756 * app/widgets/gimpgradienteditor.c
17757 * app/widgets/gimpitemtreeview.[ch]
17758 * app/widgets/gimplayertreeview.c
17759 * app/widgets/gimpselectioneditor.c
17760 * app/widgets/gimptemplateview.c
17761 * app/widgets/gimpundoeditor.c
17762 * app/widgets/gimpvectorstreeview.c
17763 * app/widgets/gimphelp-ids.h: added and updated more help IDs.
17765 2003-08-24 Sven Neumann <sven@gimp.org>
17767 * app/paint-funcs/paint-funcs-generic.h (blend_pixels): removed
17768 some debugging output that I accidentally committed a while ago.
17769 Fixes bug #120576 (slowness of smudge on alpha layers).
17771 2003-08-23 Michael Natterer <mitch@gimp.org>
17773 * libgimpwidgets/gimpwidgetstypes.h: changed GimpHelpFunc typedef:
17774 - renamed "const gchar *help_data" to "const gchar *help_id".
17775 - added "gpointer help_data".
17777 * libgimpwidgets/gimphelpui.[ch]: added "gpointer help_data" to
17778 gimp_help_connect(). Removed all fiddling with html links and
17779 treat all help IDs as opaque identifiers.
17781 * app/core/gimptoolinfo.[ch]: changed "help_data" member to
17784 * app/widgets/gimpitemfactory.[ch]: removed the "help_path"
17785 parameter from gimp_item_factory_new() since we don't fiddle with
17786 html file paths any more. Simplifies menu item help a lot.
17787 Renamed "help_data" member of struct GimpItemFactoryEntry to
17790 * app/gui/plug-in-menus.c: changed accordingly. 3rd party
17791 plug-ins' menu item help IDs are now encoded as
17792 "help_path:help_id".
17794 * app/gui/file-open-menu.c
17795 * app/gui/file-save-menu.c: when constructing the <Load> and
17796 <Save> menus, take the resp. procedures' locale_domain and
17797 help_path into account. Fixes translation of 3rd party menu items.
17798 Also do the right thing for load/save procs which are implemented
17799 as temporary procedures (they are impossible to implement
17800 currently but it's nice to do the right thing anyway...).
17802 * app/widgets/gimphelp-ids.h: added GIMP_HELP_MAIN identifier.
17804 * libgimpwidgets/gimpdialog.[ch]
17805 * libgimpwidgets/gimpwidgets.[ch]
17807 * app/display/gimpdisplayshell.c
17809 * app/gui/about-dialog.c
17810 * app/gui/color-notebook.c
17811 * app/gui/dialogs-constructors.c
17812 * app/gui/file-dialog-utils.[ch]
17813 * app/gui/gradients-commands.c
17814 * app/gui/help-commands.c
17815 * app/gui/image-menu.c
17817 * app/gui/preferences-dialog.c
17818 * app/gui/tips-dialog.c
17819 * app/tools/gimpcolorpickertool.c
17820 * app/tools/gimpcroptool.c
17821 * app/tools/gimpcurvestool.c
17822 * app/tools/gimphistogramtool.c
17823 * app/tools/gimpimagemaptool.c
17824 * app/tools/gimplevelstool.c
17825 * app/tools/gimpmeasuretool.c
17826 * app/tools/gimptransformtool.c
17827 * app/widgets/gimperrorconsole.c
17828 * app/widgets/gimphelp.[ch]
17829 * app/widgets/gimpmenufactory.[ch]
17830 * app/widgets/gimptexteditor.c
17831 * app/widgets/gimptoolbox.c
17832 * app/widgets/gimpviewabledialog.[ch]
17833 * plug-ins/common/CEL.c
17834 * plug-ins/common/CML_explorer.c
17835 * plug-ins/common/gee.c
17836 * plug-ins/common/gee_zoom.c
17837 * plug-ins/common/gqbist.c
17838 * plug-ins/common/spheredesigner.c
17839 * plug-ins/flame/flame.c
17840 * plug-ins/fp/fp_gtk.c
17841 * plug-ins/helpbrowser/helpbrowser.c
17842 * plug-ins/ifscompose/ifscompose.c
17843 * plug-ins/imagemap/imap_main.c: changed accordingly. Removed
17844 trailing whitespace all over the place.
17846 2003-08-22 Manish Singh <yosh@gimp.org>
17848 * configure.in: disallow libgimpprint >= 4.3.0, addresses bug #120162.
17850 * configure.in: reverted previous change, until all po directories
17851 are filled for ms.po
17853 2003-08-22 Hasbullah Bin Pit <sebol@ikhlas.com>
17855 * configure.in(ALL_LINGUAS): Added "ms" (Malay).
17857 2003-08-22 Simon Budig <simon@gimp.org>
17859 * app/tools/gimpvectortool.c
17860 * app/vectors/gimpbezierstroke.c: OK, now valgrind is happy.
17862 2003-08-22 Simon Budig <simon@gimp.org>
17864 * app/vectors/gimpstroke.c
17865 * app/vectors/gimpvectors-preview.c
17866 * app/tools/gimptransformtool.c
17867 * app/tools/gimpvectortool.c: Added missing checking for NULL
17868 return values. Hopefully this fixes the crashes others are
17871 2003-08-22 Simon Budig <simon@gimp.org>
17873 * app/vectors/gimpbezierstroke.c: fixed crash when deleting
17874 the last segment of a closed curve.
17876 2003-08-21 Helvetix Victorinox <helvetix@gimp.org>
17878 * app/composite/gimp-composite-regression.[ch]: New function to
17879 initialise a GimpCompositeContext
17881 * app/composite/Makefile.am: do not generate the test form of
17882 gimp-composite-generic.c
17884 * app/composite/gimp-composite-generic-test.c: unused, removed.
17886 * app/composite/make-installer.py app/composite/*-test.c: New
17887 tests were broken because the byte-for-byte checks checked the
17888 same buffer against itself.
17890 2003-08-22 Michael Natterer <mitch@gimp.org>
17892 * app/display/gimpdisplayshell.c
17893 * app/gui/brush-select.c
17894 * app/gui/channels-menu.c
17895 * app/gui/convert-dialog.c
17896 * app/gui/file-open-menu.c
17897 * app/gui/file-save-menu.c
17898 * app/gui/font-select.c
17899 * app/gui/gradient-select.c
17901 * app/gui/image-commands.c
17902 * app/gui/image-menu.c
17903 * app/gui/layers-menu.c
17905 * app/gui/palette-import-dialog.c
17906 * app/gui/palette-select.c
17907 * app/gui/palettes-commands.c
17908 * app/gui/pattern-select.c
17909 * app/gui/preferences-dialog.c
17910 * app/gui/qmask-commands.c
17911 * app/gui/qmask-menu.c
17912 * app/gui/templates-commands.c
17913 * app/gui/toolbox-menu.c
17914 * app/gui/vectors-menu.c
17915 * app/tools/[all tools].c
17916 * app/widgets/gimperrorconsole.c
17917 * app/widgets/gimpitemfactory.c
17918 * app/widgets/gimptoolbox.c
17919 * app/widgets/gimphelp-ids.h: added, fixed and updated lots of
17920 help IDs. Still unfinished.
17922 2003-08-22 Sven Neumann <sven@gimp.org>
17924 * tools/gimpblendtool.c
17925 * tools/gimpcroptool.c
17926 * tools/gimpeditselectiontool.c: use gimp_tool_push_status_coords()
17927 for the initial status in order to reduce work for translators.
17929 2003-08-22 Simon Budig <simon@gimp.org>
17931 * app/vectors/gimpstroke.[ch]
17932 * app/vectors/gimpbezierstroke.c: added
17933 gimp_(bezier_)stroke_open that opens up a stroke (possibly
17934 returns a new one if it falls apart).
17936 * app/tools/gimpvectortool.[ch]: make it possible to break
17937 up a stroke by deleting (CTRL-Clicking in Insert/Delete mode)
17938 the curve between two anchors.
17940 2003-08-21 Michael Natterer <mitch@gimp.org>
17942 * tools/pdbgen/pdb/selection.pdb (selection_load,combine): use
17943 gimp_image_mask_select_channel() instead of
17944 gimp_image_mask_load(). Removes the restriction that the channel
17945 to select has to have the same size as the image. Changed help
17948 * app/pdb/selection_cmd.c
17949 * libgimp/gimpselection_pdb.c: regenerated.
17951 2003-08-21 Simon Budig <simon@gimp.org>
17953 * app/vectors/gimpstroke.[ch]: added _is_empty () that checks
17954 if a stroke is empty.
17956 * app/vectors/gimpbezierstroke.c: Implemented _anchor_delete ()
17958 * app/vectors/gimpvectors.[ch]: added _stroke_remove ()
17960 * app/tools/gimpvectortool.[ch]: implemented the deletion of
17961 anchors. CTRL-Click on the anchor in Insert/Delete mode does
17962 the trick. Also did some renaming to the Vector tool
17963 (now Path tool) and set the Tooltip to something sane.
17965 Folks, I think the new path tool is no longer a regression
17966 against the 1.2 bezier select tool!
17968 2003-08-21 Henrik Brix Andersen <brix@gimp.org>
17970 * app/tools/gimpmovetool.c (gimp_move_tool_control): test
17971 gimp_display_shell_get_show_guides() before drawing guide. Fixes
17972 guide artefact seen when disabling drawing of guides while a guide
17973 is selected by the move tool.
17975 2003-08-21 Henrik Brix Andersen <brix@gimp.org>
17977 * app/widgets/gimptoolbox.c: #include "libgimpbase/gimpbase.h"
17979 2003-08-21 Michael Natterer <mitch@gimp.org>
17981 * app/widgets/Makefile.am
17982 * app/widgets/gimphelp-ids.h: new file defining the available help
17983 topics. Work in progress and totally unusable for matching to the
17984 help system. Stay tuned...
17986 * app/gui/about-dialog.c
17987 * app/gui/brushes-menu.c
17988 * app/gui/buffers-menu.c
17989 * app/gui/channels-commands.[ch]
17990 * app/gui/channels-menu.c
17991 * app/gui/edit-commands.c
17992 * app/gui/file-commands.c
17993 * app/gui/file-new-dialog.c
17994 * app/gui/file-open-dialog.c
17995 * app/gui/file-save-dialog.c
17996 * app/gui/gradients-commands.c
17997 * app/gui/gradients-menu.c
17998 * app/gui/image-menu.c
17999 * app/gui/layers-commands.[ch]
18000 * app/gui/layers-menu.c
18001 * app/gui/module-browser.c
18002 * app/gui/offset-dialog.c
18003 * app/gui/palettes-menu.c
18004 * app/gui/patterns-menu.c
18005 * app/gui/resize-dialog.c
18006 * app/gui/select-commands.c
18007 * app/gui/templates-menu.c
18008 * app/gui/tips-dialog.c
18009 * app/gui/toolbox-menu.c
18010 * app/gui/vectors-commands.[ch]
18011 * app/gui/vectors-menu.c: replaced literal HTML file paths by help
18012 IDs from gimphelp-ids.h. Renamed some menu callbacks to be
18013 consistent with similar ones. This is just an intermediate commit
18016 While browsing all the menus, I noticed that our "x to selection"
18017 functions are not consistent at all. They should all offer the
18018 REPLACE,ADD,SUBTRACT,INTERSECT options:
18020 * app/core/gimpchannel.[ch]: added new function
18021 gimp_channel_new_from_alpha(). Removed gimp_channel_layer_alpha()
18022 and gimp_channel_layer_mask().
18024 * app/core/gimpimage-mask.[ch]: added
18025 gimp_image_mask_select_alpha() and
18026 gimp_image_mask_select_component() which offer the full set of
18027 operation, feather and feather_radius parameters as the other
18028 selection functions.
18030 * app/core/gimpimage-mask-select.[ch]: removed
18031 gimp_image_mask_layer_alpha() and gimp_image_mask_layer_mask().
18033 * app/gui/channels-commands.c (channels_channel_to_selection): use
18034 gimp_image_mask_select_component() instead of implementing it
18037 * app/gui/image-menu.c
18038 * app/gui/layers-commands.[ch]: offer the full choice of
18039 REPLACE,ADD,SUBTRACT,INTERSECT with "Alpha to Selection" and "Mask
18042 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
18044 * app/pdb/selection_cmds.c: regenerated.
18046 2003-08-21 Sven Neumann <sven@gimp.org>
18048 * themes/Default/images/Makefile.am
18049 * themes/Default/images/tools/stock-tool-bezier-select-[16|22].png
18050 * themes/Default/images/tools/stock-tool-path-[16|22].png: renamed
18051 the tool-bezier-select icons to tool-path.
18053 * libgimpwidgets/gimpstock.[ch]: dropped GIMP_STOCK_TOOL_BEZIER_SELECT.
18055 2003-08-21 Jay Cox <jaycox@gimp.org>
18057 * app/paint/gimppaintcore.c: paint_core_interpolate now takes care
18058 of setting core->last_coords. Don't reset core->distance in
18059 paint_core_start (fixes problem with shift-click brush strokes).
18060 Improved brush placement for stroked selections in
18061 paint_core_interpolate.
18062 * app/paint/gimppaintcore-stroke.c: dont need to set
18063 core->last_coords anymore.
18064 * app/tools/gimppainttool.c: dont need to set core->last_coords
18065 anymore. Set core->distance in gimp_paint_tool_button_press.
18067 2003-08-21 Sven Neumann <sven@gimp.org>
18069 * m4macros/gimp-2.0.m4: set the default minimum version to 1.3.18.
18071 2003-08-21 Simon Budig <simon@gimp.org>
18073 * app/tools/gimpvectortool.c: Don't allow to create a new stroke
18074 when in in Insert/Delete Mode.
18076 2003-08-21 Simon Budig <simon@gimp.org>
18078 * app/tools/tools-enums.h: Added enum for vector tool operation
18081 * app/tools/tools-enums.c: regenerated
18083 * app/tools/gimpvectoroptions.[ch]: Use new enum.
18084 Add "Polygonal" Option
18086 * app/tools/gimpvectortool.c: New Option "Polygonal" that
18087 places all newly generated handles at the position of their
18088 anchor, effectively ensuring that only polygons can be created.
18090 Cleaned up the editing states. It is now possible to move anchors
18091 in the Insert/Delete mode. Cleaned up the associated cursors.
18093 Fixed warning when Shift+Ctrl-Clicking on an inactive Anchor.
18095 2003-08-20 Simon Budig <simon@gimp.org>
18097 * app/vectors/gimpstroke.[ch]: Add hooks for insertion of points
18098 (and testing if insertion is possible)
18100 * app/vectors/gimpbezierstroke.c: Implement it for BezierStrokes
18102 * app/tools/gimpvectoroptions.c: Adjusted Options-GUI.
18104 * app/tools/gimpvectortool.[ch]: Detect if the pointer is over
18105 the curve. Make it possible to insert points in the curve.
18106 Select the "Insert/Delete Nodes" mode in the tool options and
18107 click on the curve.
18109 2003-08-20 Michael Natterer <mitch@gimp.org>
18111 * app/core/gimpimage-mask-select.c
18112 (gimp_image_mask_select_channel): fixed GIMP_CHANNEL_OP_INTERSECT
18113 for channels which are smaller than the selection (create a temp
18114 channel like rect and ellipse select do). Also, don't modify the
18115 input channel when feathering.
18117 2003-08-20 Sven Neumann <sven@gimp.org>
18119 * app/gui/preferences-dialog.c
18120 * app/text/gimptextlayer-transform.c
18121 * app/widgets/gimpitemfactory.c: some changes for legacy compilers
18122 based on a patch from Avi Bercovich (bug #120251).
18124 2003-08-19 Helvetix Victorinox <helvetix@gimp.org>
18126 * app/composite/gimp-composite-generic.c: Enabled erase mode for
18127 all pixel formats instead of just RGBA8.
18129 * app/composite/: Regenerated installers and testers.
18131 * app/composite/make-install.py: increased tests of pixels to
18134 * app/composite/gimp-composite-mmx.c
18135 (gimp_composite_overlay_rgba8_rgba8_rgba_mmx): Backed out of the
18136 current build. Although the unit tests all pass, the emperical
18137 evidence is that something is wrong with it.
18139 * Removed wayward printf() of a debugging message.
18141 2003-08-19 Manish Singh <yosh@gimp.org>
18143 * tools/pdbgen/app.pl: Default all strings to validate UTF-8, use
18144 no_validate to disable. Also added a null_ok parameter which does
18145 validate UTF-8, but allows NULL.
18147 * tools/pdbgen/pdb/brush_select.pdb
18148 * tools/pdbgen/pdb/brushes.pdb
18149 * tools/pdbgen/pdb/channel.pdb
18150 * tools/pdbgen/pdb/convert.pdb
18151 * tools/pdbgen/pdb/fileops.pdb
18152 * tools/pdbgen/pdb/font_select.pdb
18153 * tools/pdbgen/pdb/gimprc.pdb
18154 * tools/pdbgen/pdb/gradient_select.pdb
18155 * tools/pdbgen/pdb/gradients.pdb
18156 * tools/pdbgen/pdb/help.pdb
18157 * tools/pdbgen/pdb/image.pdb
18158 * tools/pdbgen/pdb/layer.pdb
18159 * tools/pdbgen/pdb/message.pdb
18160 * tools/pdbgen/pdb/palette_select.pdb
18161 * tools/pdbgen/pdb/palettes.pdb
18162 * tools/pdbgen/pdb/parasite.pdb
18163 * tools/pdbgen/pdb/paths.pdb
18164 * tools/pdbgen/pdb/pattern_select.pdb
18165 * tools/pdbgen/pdb/patterns.pdb
18166 * tools/pdbgen/pdb/plug_in.pdb
18167 * tools/pdbgen/pdb/procedural_db.pdb
18168 * tools/pdbgen/pdb/text_tool.pdb
18169 * tools/pdbgen/pdb/unit.pdb: removed utf8, added no_validate and
18170 null_ok where appropriate.
18172 * app/pdb/brush_select_cmds.c
18173 * app/pdb/font_select_cmds.c
18174 * app/pdb/gradient_select_cmds.c
18175 * app/pdb/layer_cmds.c
18176 * app/pdb/palette_select_cmds.c
18177 * app/pdb/pattern_select_cmds.c
18178 * app/pdb/plug_in_cmds.c: regenerated.
18180 2003-08-19 Sven Neumann <sven@gimp.org>
18182 * app/gui/toolbox-menu.c: use the new icons here as well.
18184 2003-08-19 Michael Natterer <mitch@gimp.org>
18186 * app/tools/gimppainttool.c
18187 (gimp_paint_tool_oper_update,cursor_update): always look for the
18188 active drawable, not for the active layer. Fixes line and brush
18189 preview drawing for channels.
18191 2003-08-19 Michael Natterer <mitch@gimp.org>
18193 * app/config/gimpdisplayconfig.[ch]
18194 * app/config/gimprc-blurbs.h: added "gboolean show_brush_outline".
18196 * app/gui/preferences-dialog.c (prefs_dialog_new): added it to the
18197 "Pointer Movement Feedback" frame.
18199 * app/tools/gimppainttool.[ch]: connect to
18200 "notify::show-brush-outline" and toggle brush outline display
18201 accordingly. Fixes bug #120084.
18203 2003-08-19 Sven Neumann <sven@gimp.org>
18205 * themes/Default/images/Makefile.am
18206 * themes/Default/images/stock-indexed-palette-[16|24].png
18207 * themes/Default/images/stock-undo-history-[16|24].png: added new
18208 icons drawn by Jimmac.
18210 * libgimpwidgets/gimpstock.[ch]
18211 * app/gui/dialogs-constructors.c
18212 * app/gui/dialogs-menu.c
18213 * app/gui/image-menu.c: register and use them.
18215 2003-08-19 Michael Natterer <mitch@gimp.org>
18217 * app/widgets/gimpcontainertreeview.c
18218 (gimp_container_tree_view_reorder_item): when reordering the
18219 selected item, don't just scroll to its position but call
18220 gimp_container_view_select_item(), so the views' state
18221 (e.g. raise/lower buttons) updates correctly. Fixes bug #120177.
18223 2003-08-19 Simon Budig <simon@gimp.org>
18225 * app/vectors/gimpvectors.h
18226 * app/vectors/gimpstroke.[ch]: removed temp_anchor stuff. I don't
18227 think that this is needed. Added virtual function to determine the
18228 closest point on the curve to a given target point.
18230 * app/vectors/gimpbezierstroke.c: implemented
18231 gimp_bezier_stroke_nearest_point_get () - up to now untested and
18234 2003-08-19 Sven Neumann <sven@gimp.org>
18236 * libgimpwidgets/gimppickbutton.c: fixed color picking from other
18239 2003-08-18 Manish Singh <yosh@gimp.org>
18241 * plug-ins/pygimp/gimpmodule.c: updated for new gradient sample API,
18242 "reverse" is an optional parameter which defaults to FALSE.
18244 2003-08-18 Sven Neumann <sven@gimp.org>
18246 * app/gui/dialogs-menu.c: please the compiler.
18248 2003-08-18 Michael Natterer <mitch@gimp.org>
18250 * tools/pdbgen/pdb/brush_select.pdb
18251 * tools/pdbgen/pdb/brushes.pdb
18252 * tools/pdbgen/pdb/channel.pdb
18253 * tools/pdbgen/pdb/convert.pdb
18254 * tools/pdbgen/pdb/drawable.pdb
18255 * tools/pdbgen/pdb/fileops.pdb
18256 * tools/pdbgen/pdb/font_select.pdb
18257 * tools/pdbgen/pdb/gimprc.pdb
18258 * tools/pdbgen/pdb/gradient_select.pdb
18259 * tools/pdbgen/pdb/gradients.pdb
18260 * tools/pdbgen/pdb/layer.pdb
18261 * tools/pdbgen/pdb/message.pdb
18262 * tools/pdbgen/pdb/palette.pdb
18263 * tools/pdbgen/pdb/palette_select.pdb
18264 * tools/pdbgen/pdb/palettes.pdb
18265 * tools/pdbgen/pdb/paths.pdb
18266 * tools/pdbgen/pdb/pattern_select.pdb
18267 * tools/pdbgen/pdb/patterns.pdb
18268 * tools/pdbgen/pdb/plug_in.pdb
18269 * tools/pdbgen/pdb/procedural_db.pdb
18270 * tools/pdbgen/pdb/text_tool.pdb
18271 * tools/pdbgen/pdb/unit.pdb: UTF-8 validate all strings except
18272 filenames. Does not work yet for string params which may be NULL.
18273 They currently don't get checked because I still don't understand
18276 * app/pdb/brush_select_cmds.c
18277 * app/pdb/brushes_cmds.c
18278 * app/pdb/channel_cmds.c
18279 * app/pdb/convert_cmds.c
18280 * app/pdb/drawable_cmds.c
18281 * app/pdb/fileops_cmds.c
18282 * app/pdb/font_select_cmds.c
18283 * app/pdb/gimprc_cmds.c
18284 * app/pdb/gradient_select_cmds.c
18285 * app/pdb/gradients_cmds.c
18286 * app/pdb/message_cmds.c
18287 * app/pdb/palette_select_cmds.c
18288 * app/pdb/palettes_cmds.c
18289 * app/pdb/paths_cmds.c
18290 * app/pdb/pattern_select_cmds.c
18291 * app/pdb/patterns_cmds.c
18292 * app/pdb/plug_in_cmds.c
18293 * app/pdb/procedural_db_cmds.c
18294 * app/pdb/text_tool_cmds.c
18295 * app/pdb/unit_cmds.c: regenerated.
18297 2003-08-18 Michael Natterer <mitch@gimp.org>
18299 * app/tools/gimpvectortool.c: cleaned up GimpTool, GimpDrawTool
18300 and vectors_tool->vectors state handling a lot. Still does weird
18301 things when switching between images and/or displays but it's
18302 better than before...
18304 2003-08-18 Sven Neumann <sven@gimp.org>
18306 * app/config/gimpconfig-dump.c
18307 * libgimpbase/gimpenv.c: changed prefix of environment variables
18308 to GIMP2 (bug #118553).
18310 * docs/gimprc-1.3.5.in: regenerated.
18312 2003-08-18 Helvetix Victorinox <helvetix@gimp.org>
18314 * app/composite: Various beautifications, dead code removal.
18316 2003-08-18 Michael Natterer <mitch@gimp.org>
18318 Finished the addition of "gboolean reverse" to the gradient API:
18320 * tools/pdbgen/pdb/gradients.pdb: added "reverse" params to
18321 gimp_gradients_sample_uniform(), sample_custom() and
18322 get_gradient_data().
18324 * app/pdb/gradients_cmds.c
18325 * libgimp/gimpgradients_pdb.[ch]: regenerated.
18327 * libgimp/gimpgradientmenu.c: changed accordingly.
18329 Made everything compile with the new API:
18331 * plug-ins/FractalExplorer/Dialogs.c
18332 * plug-ins/FractalExplorer/FractalExplorer.[ch]: got lost in
18333 "reverse" adding, whitespace removal and general code cleanup.
18334 I better commit this now before continuing, even though "reverse"
18335 adding is not finished.
18337 * plug-ins/common/sample_colorize.c: removed own gradient
18338 reversing code, use "reverse" instead.
18340 * plug-ins/common/gradmap.c
18341 * plug-ins/flame/flame.c
18342 * plug-ins/gflare/gflare.c
18343 * plug-ins/pagecurl/pagecurl.c: simply pass reverse == FALSE and
18344 added #warnings that more work needs to be done. Some whitespace
18345 removal and minor cleanup.
18347 2003-08-18 Sven Neumann <sven@gimp.org>
18349 * app/composite/Makefile.am: cleaned up whitespace.
18351 2003-08-17 Helvetix Victorinox <helvetix@gimp.org>
18353 * app/composite/gimp-composite-sse2-test.c: added
18355 * app/composite/Makefile.am: Removed 'test' target
18357 * app/composite/gimp-composite-dispatch.[ch]: retired and removed.
18359 * app/composite/Makefile.am: The 'test' target now builds and runs
18360 all the tests in TESTS
18362 Fixed typos of mismatched parenthesis in 'regenerate' target
18364 * app/composite/Makefile.am: TESTS now include ss2 and 3dnow
18367 * app/composite/make-gimp-composite-dispatch.py: retired and removed.
18369 * app/composite/gimp-composite.c: call the installers of all the
18370 various instruction sets supplied by x86 type processors.
18372 * app/base/base.c (base_init): Call gimp_composite_init() *before*
18373 paint_funcs_setup() (preparation for retiring
18374 app/paint-funcs/paint-funcs.c)
18376 * app/composite/gimp-composite-sse2.[ch]
18377 * app/composite/gimp-composite-3dnow.[ch]
18378 * app/composite/gimp-composite-sse2-installer.c
18379 * app/composite/gimp-composite-3dnow-installer.c:
18382 * app/composite/make-installer.py: generate regression test
18383 programmes that take the command line arguments --iterations and
18384 --n-pixels for the number of iterations of a set of tests, and the
18385 number of pixels to use in each test, respectively.
18387 Conditionally compile tests in order to build and run tests on
18388 machines that can actually perform the tests.
18390 Failing a regression test now causes remaining tests to be
18391 skipped and a non-zero exit code by the programme.
18393 2003-08-18 Simon Budig <simon@gimp.org>
18395 * app/tools/gimpvectortool.c: Minor fix.
18397 2003-08-17 Helvetix Victorinox <helvetix@gimp.org>
18399 * app/composite/gimp-composite.c (gimp_composite_init): make
18400 gimp-composite functions the default.
18402 * app/composite/make-installer.py: changed option --n_pixels
18405 2003-08-17 Manish Singh <yosh@gimp.org>
18407 * tools/pdbgen/app.pl: reorg, fix reverse logic for parasite utf8
18410 2003-08-17 Sven Neumann <sven@gimp.org>
18412 * plug-ins/common/iwarp.c (iwarp_frame): this time fix bug #120083
18413 without breaking the fix for #119440.
18415 2003-08-17 Michael Natterer <mitch@gimp.org>
18417 Fixed bug #79897 for all parasite procedures:
18419 * tools/pdbgen/app.pl: UTF-8 validate parasite->name.
18421 * tools/pdbgen/pdb/parasite.pdb: UTF-8 validate parasite names which
18422 are passed separately from the parasite struct.
18424 * app/pdb/parasite_cmds.c: regenerated.
18426 2003-08-17 Sven Neumann <sven@gimp.org>
18428 * plug-ins/common/iwarp.c (iwarp_frame): fixed handling of
18429 drawables without alpha channel (bug #120083).
18431 2003-08-17 Helvetix Victorinox <helvetix@gimp.org>
18433 * app/composite/gimp-composite-{mmx,sse,altivec,vis}-installer.c
18434 * app/composite/gimp-composite-{mmx,sse,altivec,vis}-test.c:
18437 * app/composite/gimp-composite-sse.c
18438 (gimp_composite_overlay_rgba8_rgba8_rgba8_sse): fixed (rewrote).
18440 * app/composite/make-installer.py: command line option --iterations
18441 to set the number of iterations for a test. command line option
18442 --n_ixels to set the number of pixels for a test.
18444 * app/composite/gimp-composite-mmx.c
18445 (gimp_composite_grain_merge_rgba8_rgba8_rgba8_mmx): fixed (rewrote).
18446 (gimp_composite_overlay_rgba8_rgba8_rgba8_mmx): fixed (rewrote).
18447 (gimp_composite_value_rgba8_rgba8_rgba8_mmx): new testing shows it to
18448 be broken (temporarily removed from use).
18450 2003-08-17 Sven Neumann <sven@gimp.org>
18452 * app/base/base.c (base_init): added some newlines.
18454 * data/patterns/brick.pat
18455 * data/patterns/leopard.pat: replaced with retouched versions done
18456 by Guillermo S. Romero (bug #118796).
18458 2003-08-17 Michael Natterer <mitch@gimp.org>
18460 * app/display/gimpdisplayshell-layer-select.[ch]: made the layer
18461 cycling circular. Removed the static layer_select variable and
18462 allocate a new struct for each use. Made it use Ctrl+Tab for
18463 forward cycling and Ctrl+Shift+Tab for backward so it doesn't use
18464 Alt any more. Cleanup.
18466 * app/display/gimpdisplayshell-callbacks.c: changed it from Alt to
18469 Fixes all the stuff mentioned in bug #119236.
18471 2003-08-17 Sven Neumann <sven@gimp.org>
18473 * plug-ins/common/mng.c: applied a patch from S. Mukund that fixes
18474 handling of transparent background (bug #117148).
18476 2003-08-17 Simon Budig <simon@gimp.org>
18478 * app/vectors/gimpstroke.[ch]
18479 * app/vectors/gimpbezierstroke.[ch]: Virtualized
18480 gimp_bezier_stroke_extend, added gimp_stroke_is_extendable.
18482 * app/text/gimptext-vectors.c: changed accordingly.
18484 * app/vectors/gimpvectors.[ch]: added gimp_vectors_anchor_select.
18486 * app/tools/gimpvectoroptions.[ch]: dummy switch for future
18489 * app/tools/gimpvectortool.[ch]: Major overhaul. Made use of
18490 gimp_vector_tool_oper_update, cleaned up
18491 gimp_vector_tool_button_press a lot and finally have a
18492 working cursor_update. Still buggy, but I wanted to have it
18495 2003-08-17 Sven Neumann <sven@gimp.org>
18497 * plug-ins/common/curve_bend.c: warn the user if loading or saving
18498 fails (bug #119940).
18500 2003-08-17 Sven Neumann <sven@gimp.org>
18503 * autogen.sh (AUTOCONF_REQUIRED_VERSION): check for version 2.54.
18505 2003-08-17 Manish Singh <yosh@gimp.org>
18507 * configure.in: bump up minimum autoconf requirement to 2.54 for
18510 2003-08-17 Sven Neumann <sven@gimp.org>
18512 * plug-ins/common/tiff.c (read_16bit): fixed bug that was
18513 introduced during code cleanup (spotted by yourst, bug #120038).
18515 2003-08-16 Michael Natterer <mitch@gimp.org>
18517 * app/tools/gimpcroptool.c: added GimpTool::oper_update()
18518 implementation and moved stuff from button_press() and
18519 cursor_update() there. Fixed the state of the tool to be only
18520 ACTIVE while button1 is pressed. Cleanup.
18522 2003-08-16 Michael Natterer <mitch@gimp.org>
18524 * app/display/gimpdisplayshell-callbacks.c
18525 (gimp_display_shell_canvas_tool_events): if the canvas has no
18526 focus on button_press, set it explicitly instead of asuming that
18527 focus_in will follow anyway. Should once more fix bug #85202.
18529 Grab the keyboard while button1 is down so the focus can't go away
18530 while the tool can't receive modifier events. Should fix more
18533 2003-08-16 Michael Natterer <mitch@gimp.org>
18535 * libgimpwidgets/gimpwidgets.c (gimp_coordinates_callback): moved
18536 the g_signal_stop_emission_by_name() right before the calls to
18537 gimp_size_entry_set_refval() so we only block the duplicate
18538 "value_changed" signal, not all of them. Fixes bug #107633.
18540 2003-08-16 Maurits Rijk <lpeek.mrijk@consunet.nl>
18542 * plug-ins/common/blur.c
18543 * plug-ins/common/sharpen.c: replaced const strings (with version
18544 number) for window title with translatable strings.
18546 * plug-ins/common/spheredesigner.c: fix for #119936
18548 2003-08-15 Sven Neumann <sven@gimp.org>
18550 * app/text/Makefile.am
18551 * app/text/gimptextlayer-transform.[ch]: new files that hold yet
18552 unused GimpItem transform methods.
18554 * app/text/gimptextlayer.[ch]: export gimp_text_layer_render().
18556 * app/text/gimptext-bitmap.[ch]
18557 * app/text/gimptext-private.h
18558 * app/text/gimptext-vectors.c
18559 * app/text/gimptextlayout-render.c: use the transformation matrix.
18560 This doesn't change anything since it's still always the identity
18563 2003-08-15 Helvetix Victorinox <helvetix@gimp.org>
18565 * app/composite/gimp-composite-vis.c
18566 * app/composite/Makefile.am: Use ARCH_SPARC and USE_VIS to
18567 conditionally compile VIS optimisations.
18569 * app/composite/gimp-composite-vis.c: named gimp_composite_vis_init()
18571 2003-08-15 Michael Natterer <mitch@gimp.org>
18573 * app/widgets/widgets-enums.[ch]: extended GimpTabStyle enum so we
18574 are able to distinguish icon and preview tabs.
18576 * app/widgets/gimpdockable.[ch]: renamed GimpDockableGetIconFunc
18577 to GimpDockableGetPreviewFunc. Always create stock icons for
18578 "icon" tab styles and use the get_preview_func only for "preview"
18581 * app/gui/dialogs-constructors.c: changed accordingly.
18583 * app/gui/dialogs-menu.c: Added "Current Status" options to the
18584 "Tab Style" menu and grey them out if the dockable has no
18587 2003-08-15 Sven Neumann <sven@gimp.org>
18589 * LICENSE: cosmetics.
18591 * Makefile.am (EXTRA_DIST): include LICENSE.
18593 * libgimp/Makefile.am (EXTRA_DIST): include COPYING.
18595 2003-08-14 Helvetix Victorinox <helvetix@gimp.org>
18597 * app/composite/make-installer.py: generate smaller tables and
18598 less code. Now takes real command line options:
18600 --version show program's version number
18601 -h, --help show this help message and exit
18602 -f FILE, --file=FILE the input object file
18603 -t, --test generate regression testing code
18604 -r REQUIRES, --requires=REQUIRES cpp #if conditionals
18606 See Makefile.am for how I use these options to generate the code.
18608 * app/composite/gimp-composite-altivec-{installer,test}.c:
18609 * app/composite/gimp-composite-generic-{installer,test}.c:
18610 * app/composite/gimp-composite-mmx-{installer,test}.c
18611 * app/composite/gimp-composite-sse-{installer,test}.c:
18612 * app/composite/gimp-composite-vis-{installer,test}.c: regenerated
18613 with smaller tables and less ode.
18616 2003-08-14 Tor Lillqvist <tml@iki.fi>
18618 * app/base/base.c (base_init): If a development version (odd
18619 GIMP_MINOR_VERSION), print a warning that debug messages may
18620 appear. Only print the CPU acceleration messages on development
18621 versions. On Win32, tell people not to close the console
18624 2003-08-14 Helvetix Victorinox <helvetix@gimp.org>
18626 * app/composite/gimp-composite-mmx-installer.c
18627 * app/composite/gimp-composite-sse-installer.c:
18628 * app/composite/gimp-composite-sse.c:
18629 Conditional compilation matching the conditional compilation in
18630 gimp-composite-{mmx,sse}.c
18632 2003-08-14 Michael Natterer <mitch@gimp.org>
18634 * app/text/gimptextlayer.c: removed trailing whitespace.
18635 (gimp_text_layer_render): fixed warning by adding a cast.
18637 2003-08-14 Michael Natterer <mitch@gimp.org>
18639 * app/tools/gimpvectortool.c (gimp_vector_tool_button_press): call
18640 gimp_image_update() after calling gimp_image_add_vectors() so the
18641 menus get updated correctly. Fixes bug #119412.
18643 2003-08-14 Michael Natterer <mitch@gimp.org>
18645 * app/gui/image-menu.c (image_menu_entries): applied a patch from
18646 Alan Horkan <horkana@tcd.ie> which adds an "Undo History..." menu
18647 entry below the "Undo" and "Redo" ones. Fixes bug #119662.
18649 2003-08-14 Michael Natterer <mitch@gimp.org>
18651 * app/paint/gimppaintcore.c (gimp_paint_core_subsample_mask): use
18652 g_new0() instead of g_malloc() followed by memset(). Some coding
18655 2003-08-14 Sven Neumann <sven@gimp.org>
18657 * configure.in: bumped the version number to 1.3.19.
18659 2003-08-14 Jay Cox <jaycox@gimp.org>
18661 * app/paint/gimppaintcore.c: Eliminate the rounding errors that
18662 were in gimp_paint_core_subsample_mask. Fixes bug #118741
18664 2003-08-14 Helvetix Victorinox <helvetix@gimp.org>
18666 * composite/ modularisation of the automatic compositing function
18667 "wiring" to construct the table of compositing functions at
18668 run-time instead of compile time.
18670 The environment variable GIMP_COMPOSITE is a hexadecimal number
18671 representing a bit-field used to set/reset options in the
18672 gimp-composite code.
18674 * gimp-composite-altivec.[ch]: added
18675 * gimp-composite-altivec-installer.[ch]: added
18676 * gimp-composite-vis.[ch]: added
18677 * gimp-composite-vis-installer.[ch]: added
18678 * gimp-composite-mmx-installer.[ch]: added
18679 * gimp-composite-sse-installer.[ch]: added
18680 * gimp-composite-altivec-test.[ch]: added
18681 * gimp-composite-vis-test.[ch]: added
18682 * gimp-composite-mmx-test.[ch]: added
18683 * gimp-composite-sse-test.[ch]: added
18684 * make-installer.py: Added meta programme for generating code to
18685 1) construct a table of compositing functions indexed by
18686 operation, and the pixel formats of the sources and destination,
18687 and 2) generating code for regression testing of these compositing
18688 functions against the same functions in gimp-composite-generic.c
18690 * gimp-composite-mmx.c (xxxgimp_composite_overlay_rgba8_rgba8_rgba8_mmx):
18691 removing from the current set of optimisations because it appears
18694 * Makefile.am: modified regression testing targets to now build
18695 gimp-composite-*-test where * is any of generic, mmx, sse,
18698 * gimp-composite.c: moved in initialisation code
18699 gimp_composite_init() from gimp-composite-dispatch.c
18701 * gimp-composite.c: removed gimp_composite_unsupported().
18703 * gimp-composite.c: use cpu_accel() to determine at run-time which
18704 set of optimisations are to be used.
18706 * gimp-composite.c: conditionally compile code for ARCH_X86.
18708 * make-gimp-composite-dispatch.c: retired. See make-installer.py
18710 * gimp-composite-mmx.c (op_overlay): namespace cleanup, op_overlay()
18711 and all of the constant values are now static
18713 * gimp-composite-mmx.c, gimp-composite-sse.c: fixed bug with the
18714 alpha mask being the address of the alpha mask, not the mask
18717 * app/paint-funcs/paint-funcs.c: Check gimp_composite_options.use
18718 to see if we should use the new code or the old code.
18720 2003-08-14 Manish Singh <yosh@gimp.org>
18722 * configure.in: libgimpbase/gimpversion.h is now only updated if
18723 its contents actually change. This should prevent rebuilding
18724 everything if only configure is run.
18726 * libgimpbase/gimpversion.h.in: no longer needed
18728 2003-08-13 Jay Cox <jaycox@gimp.org>
18730 * app/widgets/gimpbrushfactoryview.c: Reduced the range of the
18731 spacing scale widget for convenience. Extreme values may still be
18732 entered in the spin box.
18734 2003-08-14 Tor Lillqvist <tml@iki.fi>
18736 * libgimp/gimp.def: Add gimp_image_is_dirty.
18738 2003-08-14 Michael Natterer <mitch@gimp.org>
18740 * plug-ins/common/plugindetails.c (get_plugin_info): convert the
18741 stuff returned by strftime() to UTF-8 before displaying it. Fixes
18744 2003-08-14 Michael Natterer <mitch@gimp.org>
18746 * app/widgets/gimppreview.c (gimp_preview_button_press_event):
18747 return early if the widget is not realized to enable destroying
18748 the widget from an external "button_press_event" handler which
18749 returns FALSE (as done in GimpContainerGridView).
18752 Some paranoia fixes for similar (although unseen) problems:
18754 * app/widgets/gimppreview.[ch]: remember if we own a grab and
18755 remove it in GtkWidget::unmap().
18757 * app/widgets/gimppreview-popup.c: destroy the popup when the
18758 parent widget gets unmapped.
18760 2003-08-14 Danilo Å egan <dsegan@gmx.net>
18762 * ChangeLog, po/ChangeLog, po-libgimp/ChangeLog: Fixed UTF-8
18763 encoding which was broken by dolfin's commit.
18765 2003-08-13 Manish Singh <yosh@gimp.org>
18767 * pygimp/Makefile.am: slight include file ordering tweak
18769 * plug-ins/pygimp/plug-ins/colorhtml.py: add a sanity check
18771 * plug-ins/pygimp/plug-ins/sphere.py
18772 * plug-ins/pygimp/plug-ins/whirlpinch.py: minor cleanups for
18775 * plug-ins/webbrowser/web-browser.scm: change script to reflect
18776 new pdb name of the web-browser.
18778 2003-08-13 Gil "Dolfin" Osher <dolfin@rpg.org.il>
18780 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
18782 2003-08-13 Michael Natterer <mitch@gimp.org>
18784 * app/gui/gui.c (gui_restore): pop up a warning dialog if the
18785 GTK+ version is < 2.2.2. Forgot to commit this at GimpCon...
18787 2003-08-13 Jakub Steiner <jimmac@ximian.com>
18789 * ./data/images/gimp_splash.png: new post-cccamp splash
18791 2003-08-13 Tor Lillqvist <tml@iki.fi>
18793 * libgimpbase/gimpbase.def: Add gimp_strip_uline.
18795 2003-08-12 Henrik Brix Andersen <brix@gimp.org>
18797 * app/gui/image-menu.c (image_menu_update): have the grid/guide
18798 menu entries reflect the presence of grid/guides in the image (as
18799 suggested by jimmac)
18801 * app/display/gimpdisplayshell.c (gimp_display_shell_snap_coords):
18802 snap to grid/guides even if the grid/guides are hidden (as
18803 suggested by jimmac)
18805 2003-08-12 Adam D. Moss <adam@gimp.org>
18807 * plug-ins/common/gifload.c: revert one of Sven's -pedantic
18808 changes from July which caused GIF-loading bogosity.
18810 2003-08-12 Ville PƤtsi <drc@gimp.org>
18812 * gimp.spec.in: Disable separate debug packages
18814 2003-08-12 Henrik Brix Andersen <brix@gimp.org>
18816 * app/gui/grid-dialog.c (grid_dialog_new): made changes to the
18817 grid apply instantly
18819 2003-08-11 Henrik Brix Andersen <brix@gimp.org>
18821 * gimp/app/widgets/gimpwidgets-utils.[ch]: removed function
18822 gimp_menu_path_strip_uline() ...
18824 * gimp/libgimpbase/gimputils.[ch]: ... and added it here under the
18825 name gimp_strip_uline()
18827 * gimp/devel-docs/libgimpbase/libgimpbase-sections.txt: added
18828 gimp_strip_uline to gimputils section
18830 * gimp/app/plug-in/plug-in.c
18831 * gimp/app/widgets/gimpitemfactory.c
18832 * gimp/app/widgets/gimptoolbox.c
18833 * gimp/app/gui/plug-in-menus.c: changed accordingly
18835 * gimp/plug-ins/script-fu/script-fu-scripts.c
18836 (script_fu_interface): use gimp_strip_uline() to strip mnemonics
18837 from script-fu menu paths
18839 * gimp/app/gui/vectors-menu.c
18840 * gimp/app/gui/templates-menu.c
18841 * gimp/app/gui/qmask-menu.c
18842 * gimp/app/gui/palettes-menu.c
18843 * gimp/app/gui/palette-editor-menu.c
18844 * gimp/app/gui/images-menu.c
18845 * gimp/app/gui/gradients-menu.c
18846 * gimp/app/gui/gradient-editor-menu.c
18847 * gimp/app/gui/documents-menu.c
18848 * gimp/app/gui/dialogs-menu.c
18849 * gimp/app/gui/colormap-editor-menu.c
18850 * gimp/app/gui/channels-menu.c
18851 * gimp/app/gui/buffers-menu.c
18852 * gimp/app/gui/brushes-menu.c
18853 * gimp/app/gui/layers-menu.c
18854 * gimp/plug-ins/pygimp/plug-ins/clothify.py
18855 * gimp/plug-ins/pygimp/plug-ins/shadow_bevel.py
18856 * gimp/plug-ins/pygimp/plug-ins/whirlpinch.py
18857 * gimp/plug-ins/pygimp/plug-ins/foggify.py
18858 * gimp/plug-ins/script-fu/scripts/*.scm
18859 * gimp/plug-ins/script-fu/script-fu.c: added mnemonics fixing more
18862 * gimp/app/gui/error-console-menu.c (error_console_menu_update):
18863 updated menu item names, added mnemonics
18865 * gimp/plug-ins/common/animoptimize.c *
18866 gimp/plug-ins/common/animationplay.c: don't prepend every menu
18867 entry with "Animation"
18869 2003-08-10 Dave Neary <bolsh@gimp.org>
18871 * Made 1.3.18 release.
18873 2003-08-10 Dave Neary <bolsh@gimp.org>
18875 * NEWS: Updated NEWS file for 1.3.18.
18877 2003-08-10 Ville PƤtsi <drc@gimp.org>
18879 * gimp.spec.in: Revert package name change. Causes too much trouble.
18881 2003-08-10 Ville PƤtsi <drc@gimp.org>
18883 * gimp.spec.in: Changed package name from gimp to gimp1.3, to
18884 keep combatibility with GIMP 1.2 packages.
18886 2003-08-10 Ville PƤtsi <drc@gimp.org>
18888 * configure.in: Added gimp.spec.
18889 * gimp.spec.in: Brought up to date.
18891 2003-08-09 Maurits Rijk <lpeek.mrijk@consunet.nl>
18893 * plug-ins/common/iwarp.c (iwarp): added undo group to fix #119438.
18895 2003-08-09 Raphael Quinet <quinet@gamers.org>
18897 * configure.in: Print a warning if the version of GTK+ is lower
18898 than 2.2.2. The next stable release will probably require 2.2.2
18899 or later but for the moment we only issue a warning.
18901 2003-08-09 Sven Neumann <sven@gimp.org>
18903 * configure.in: added devel-docs/app.
18905 * app/core/gimpitem.c
18906 * app/widgets/gimpdialogfactory.c: more documentation fixes.
18908 2003-08-09 Sven Neumann <sven@gimp.org>
18912 * app/main.c: moved global variables out of main.c.
18914 2003-08-09 Dave Neary <bolsh@gimp.org>
18916 * plug-ins/common/iwarp.c: Fixed bug #119440 with Raphael Quinet.
18917 The bug was caused by missing a channel in the dest drawable when
18918 the original drawable didn't have an alpha channel.
18920 2003-08-08 Maurits Rijk <lpeek.mrijk@consunet.nl>
18922 * plug-ins/common/blinds.c: fix for #83970 (blinds filter: strange
18923 behaviour after changing selection)
18925 2003-08-08 Sven Neumann <sven@gimp.org>
18927 * app/config/gimpconfig-deserialize.c
18928 * app/config/gimpconfig-serialize.c
18929 * app/config/gimpconfig.c
18930 * app/config/gimprc.c
18931 * app/core/gimpitem.[ch]
18932 * app/display/gimpprogress.[ch]
18933 * app/widgets/gimpdialogfactory.c
18934 * app/widgets/gimpenummenu.c
18935 * app/widgets/gimpfontselection.c
18936 * app/widgets/gimpwidgets-utils.c: documentation fixes.
18938 2003-08-08 Simon Budig <simon@gimp.org>
18940 * app/tools/gimppainttool.c: Added changing the opacity via
18941 cursor keys. Left/Right: +- 1%, UpDown: +- 10%.
18943 I am just committing this, because jimmac will kill me if I dont...
18945 2003-08-07 Simon Budig <simon@gimp.org>
18947 * app/vectors/gimpstroke.[ch]
18948 * app/vectors/gimpvectors.c: Moved transformations code to
18949 gimpstroke, so that the gimpvector no longer fiddles in
18950 the stroke internals.
18952 2003-08-07 Raphael Quinet <quinet@gamers.org>
18954 * app/composite/Makefile.am (test_composite_SOURCES): added
18955 missing header file, should fix bug #119204.
18957 2003-08-06 Maurits Rijk <lpeek.mrijk@consunet.nl>
18959 * plug-ins/imagemap/imap_preview.c (render_indexed_image): fixes
18960 #119192 (undefined behavior in imap_preview.c)
18962 * plug-ins/common/AlienMap.c:
18963 * plug-ins/fp/fp_gtk.c
18965 * plug-ins/common/exchange.c: added mnemonics + minor code clean-up
18967 2003-08-05 Raphael Quinet <quinet@gamers.org>
18969 * plug-ins/common/jpeg.c (DEFAULT_QUALITY): increase the default
18970 quality setting from 0.75 to 0.85, as requested in bug #61088 and
18971 in bug #63610. This seems to be a more reasonable default for
18972 most users. The correct way to solve this problem would be to
18973 implement the persistent preferences as described in bug #63610,
18974 but this quick fix should take care of the most annoying problem.
18976 2003-08-05 Henrik Brix Andersen <brix@gimp.org>
18978 * plug-ins/common/align_layers.c
18979 * app/gui/image-menu.c
18981 * plug-ins/common/compose.c
18982 * plug-ins/common/ccanalyze.c: added even more mnemonics to fix more of
18983 #106991. Many more to follow...
18985 2003-08-04 Henrik Brix Andersen <brix@gimp.org>
18987 * app/gui/image-menu.c (image_menu_entries): reverted change to
18988 web-separator which accidentially slipped in with last commit
18990 * app/gui/plug-in-menus.c (plug_in_menus_update)
18991 * app/plug-in/plug-in.c (plug_in_get_undo_desc): use
18992 gimp_menu_path_strip_uline() to strip plug-in mnemonics from
18993 undo/redo, repeat and re-show menu entries
18995 2003-08-04 Henrik Brix Andersen <brix@gimp.org>
18997 * plug-ins/pygimp/plug-ins/sphere.py
18998 * plug-ins/pygimp/plug-ins/pdbbrowse.py
18999 * plug-ins/pygimp/plug-ins/gimpcons.py
19000 * plug-ins/maze/maze.c
19001 * plug-ins/ifscompose/ifscompose.c
19002 * plug-ins/gfig/gfig.c
19003 * plug-ins/FractalExplorer/FractalExplorer.c
19004 * plug-ins/flame/flame.c
19005 * plug-ins/dbbrowser/dbbrowser.c
19006 * plug-ins/common/CML_explorer.c
19007 * app/gui/image-menu.c: added even more mnemonics to fix more of
19008 #106991. Still more to follow...
19010 2003-08-02 Simon Budig <simon@gimp.org>
19012 * app/vectors/gimpstroke.[ch]: implemented gimp_stroke_close.
19014 * app/vectors/gimpbezierstroke.c: only extend a stroke if
19017 * app/tools/gimpvectortool.c: ALT-Click on an anchor now
19018 closes the stroke. Will evolve to the ability to connect
19021 2003-08-01 Henrik Brix Andersen <brix@gimp.org>
19023 * plug-ins/rcm/rcm.c
19024 * plug-ins/print/print.c
19025 * plug-ins/pagecurl/pagecurl.c
19026 * plug-ins/mosaic/mosaic.c
19027 * plug-ins/MapObject/mapobject_main.c
19028 * plug-ins/Lighting/lighting_main.c
19029 * plug-ins/imagemap/imap_main.c
19030 * plug-ins/gimpressionist/gimp.c
19031 * plug-ins/gflare/gflare.c
19032 * plug-ins/common/mapcolor.c
19033 * app/gui/toolbox-menu.c: added more mnemonics to fix bug
19034 #106991. More will follow soon...
19036 2003-07-31 Manish Singh <yosh@gimp.org>
19038 * libgimp/gimpcompat.h: removed references to GIMP_ADD_INVERSE_*
19040 2003-07-31 Henrik Brix Andersen <brix@gimp.org>
19042 * app/core/core-enums.h (GimpGridType): added more intuitive
19045 * app/core/core-enums.c: regenerated
19047 * app/display/gimpdisplayshell.c (gimp_display_shell_draw_grid):
19048 use gdk_draw_point() instead of gdk_draw_line() for dots-only mode
19050 * .cvsignore: added gimptool-win32.c
19052 2003-07-30 Manish Singh <yosh@gimp.org>
19054 * plug-ins/common/Makefile.am
19055 * plug-ins/common/plugin-defs.pl
19056 * plug-ins/common/ccanalyze.c: new plug-in, Colorcube Analysis
19057 (counts colors in an image, an often requested feature)
19059 2003-07-30 Tor Lillqvist <tml@iki.fi>
19061 * app/plug-in/plug-in.c (plug_in_close): [Win32] Plug handle leak,
19062 call CloseHandle().
19064 2003-07-30 Manish Singh <yosh@gimp.org>
19066 * tools/pdbgen/app.pl: fixed UTF-8 reversed check.
19068 * libgimp/gimptexttool_pdb.c: regenerated (doc string changes, forgot
19069 to commit from previous change)
19071 2003-07-30 Sven Neumann <sven@gimp.org>
19073 * app/config/gimprc-blurbs.h: tweaked some blurbs.
19075 2003-07-30 Michael Natterer <mitch@gimp.org>
19077 * tools/pdbgen/app.pl: fixed UTF-8 check.
19079 * app/pdb/text_tool_cmds.c: regenerated.
19081 2003-07-30 Dave Neary <bolsh@gimp.org>
19083 * plug-ins/common/edge.c: Trivial clean-up.
19085 2003-07-29 Manish Singh <yosh@gimp.org>
19087 * tools/pdbgen/app.pl: added a utf8 option for string input
19088 parameters, and validate them.
19090 * tools/pdbgen/pdb/text_tool.pdb: make the text parameter use it.
19091 Partially addresses #79897. Also remove references to XLFD in the
19094 * app/pdb/text_tool_cmds.c: regenerated
19096 * configure.in: Really bump the version number
19098 2003-07-29 Dave Neary <bolsh@gimp.org>
19100 * plug-ins/common/edge.c: Added several new edge detection
19101 algorithms. There are more complicated ways these could be
19102 done (using the rotations of the kernels in the plug-in) but
19103 this is a nice mix between speed and complexity. The
19104 algorithms, heavily modified, come from iccii's thin_line
19107 2003-07-29 Michael Natterer <mitch@gimp.org>
19109 * app/core/gimpimage.c (gimp_image_set_active_layer): moved the
19110 code which manipulates gimage->layer_stack and the call to
19111 gimp_layer_invalidate_boundary() inside the if(layer != active_layer)
19112 branch so it is called less often. Fixes the slowness of bug #104440
19113 for most cases since we don't need to recalculate the selection
19114 boundary in the next step.
19116 (gimp_image_set_active_channel): call
19117 gimp_layer_invalidate_boundary() before setting the active_layer
19118 to NULL. Fixes stale layer boundary when switching to a channel.
19120 * app/display/gimpdisplay.c (gimp_display_flush_whenever): when
19121 there are no updates, we still need to restart the selection.
19122 Fixes missing layer boundary when switching from a channel to
19125 2003-07-29 Michael Natterer <mitch@gimp.org>
19127 * app/display/gimpdisplayshell-handlers.c
19128 (gimp_display_shell_ants_speed_notify_handler): use the
19129 gimp_display_shell_selection_control() wrapper instead of
19130 calling gimp_display_shell_selection_*() functions directly.
19131 Don't #include "gimpdisplayshell-selection.h".
19133 2003-07-29 Michael Natterer <mitch@gimp.org>
19135 * app/display/gimpdisplayshell-callbacks.c
19136 (gimp_display_shell_[hv]ruler_button_press): skip double clicks by
19137 checking event->type == GDK_BUTTON_PRESS. Brings press and release
19138 events sent to the move tool back in sync and fixes bug #75351.
19140 2003-07-29 Sven Neumann <sven@gimp.org>
19142 * configure.in: bumped version number to 1.3.18.
19144 * INSTALL: documented new option --with-gif-compression.
19146 2003-07-29 Adam D. Moss <adam@gimp.org>
19148 * plug-ins/common/gif.c: Trivial -- tabs-to-spaces.
19150 2003-07-29 Dave Neary <bolsh@gimp.org>
19152 * plug-ins/common/gif.c: Include a patch by Cameron Gergory
19153 <cameron@bloke.com> which allows a compile-time choice of the
19154 comression algorithm to be used in the gif plug-in.
19156 * configure.in: Added --with-gif-compression option to allow
19157 specification of compression algorithm via configure.
19159 2003-07-28 Helvetix Victorinox <helvetix@gimp.org>
19161 * app/composite/Makefile.am:
19162 Made the explicit target "regenerate" to regenerate the source
19163 files using the Python meta-generator.
19165 * app/composite/gimp-composite-mmx.c
19166 * app/composite/gimp-composite-mmx.h
19167 * app/composite/gimp-composite-sse.c
19168 * app/composite/gimp-composite-sse.h:
19169 Now bounded by the conditional "#if __GNUC__ >= 3". This is a
19170 coarse fix to enable app/composite to build on a wider variety of
19171 platforms. Ideally, this will be refined to encompass different
19172 versions of the compiler(s) supporting inline assembly code.
19174 2003-07-28 Henrik Brix Andersen <brix@gimp.org>
19176 * app/core/core-enums.h (GimpGridType): renamed
19177 GIMP_GRID_TYPE_INTERSECTION to GIMP_GRID_TYPE_INTERSECTIONS, added
19178 GIMP_GRID_TYPE_DOTS
19180 * app/core/core-enums.c: regenerated
19182 * app/gui/grid-dialog.c
19183 * app/core/gimpgrid.c: changed accordingly
19185 * app/display/gimpdisplayshell.c (gimp_display_shell_draw_grid):
19186 added code to draw the dots-only grid
19188 2003-07-28 Sven Neumann <sven@gimp.org>
19190 * app/paint-funcs/paint-funcs.c (initial_sub_region)
19191 (combine_sub_region): use g_alloca() instead of alloca().
19193 2003-07-28 Sven Neumann <sven@gimp.org>
19195 * libgimpbase/Makefile.am (EXTRA_HEADERS): added gimpwin32-io.h.
19197 * libgimpbase/gimpdatafiles.c: properly include the new header.
19199 2003-07-28 Manish Singh <yosh@gimp.org>
19201 * libgimp/Makefile.am: add libgimpcolor to libgimpui's LIBADD,
19202 should fix bug #118475.
19204 2003-07-28 Michael Natterer <mitch@gimp.org>
19206 * app/text/gimptext-vectors.c: define FT_GLYPH_FORMAT_OUTLINE as
19207 ft_glyph_format_outline if it doesn't exist so it compiles with
19208 older freetype versions.
19210 2003-07-28 Michael Natterer <mitch@gimp.org>
19212 * app/gui/image-menu.c (image_menu_entries): add the
19213 GIMP_STOCK_GRID icon to the "Configure Grid..." menu item and set
19214 it insensitive if there is no image.
19216 2003-07-28 Michael Natterer <mitch@gimp.org>
19218 * libgimp/gimpcompat.h: removed the name from the
19219 GimpOrientationType[Compat] enum. The enums in this header are
19220 just anonymous mappings and not types by themselves.
19222 2003-07-27 Tor Lillqvist <tml@iki.fi>
19224 * gimptool-win32.c.in (get_prefix): Use g_find_program_in_path().
19226 * configure.in: Expand gimptool-win32.c.
19228 * Makefile.am: Distribute gimptool-win32.c.in.
19230 * plug-ins/*/Makefile.am: Use -mwindows on Win32.
19232 2003-07-27 Henrik Brix Andersen <brix@gimp.org>
19234 * app/gui/image-menu.c (image_menu_entries): moved Configure Grid
19235 entry to the <Image>/Image branch
19237 * app/gui/view-commands.[ch] (view_configure_grid_cmd_callback):
19240 * app/gui/image-commands.[ch] (image_configure_grid_cmd_callback):
19241 added function here
19243 * app/gui/grid-dialog.c: removed snap and show options from the
19246 2003-07-27 Henrik Brix Andersen <brix@gimp.org>
19248 * app/base/tile-swap.c: re-added fallback definitions for
19249 _O_BINARY and _O_TEMPORARY
19251 2003-07-27 Tor Lillqvist <tml@iki.fi>
19254 * libgimp/gimpui.def: Move gimp_{brush,font,gradient,pattern}_
19255 select_{destroy,new} back to gimp.def (and actually add some of
19256 the _destroy entries). The files where these are defined go in
19257 libgimp, not libgimpui (see Makefile.am). Sort the .def files.
19259 * plug-ins/common/xpm.c: Merge from stable: On Win32 (with no
19260 X11), don't include <X11/Xlib.h>. (Do include <X11/xpm.h>, though,
19261 as such a file is provided by the libXpm-noX package.)
19262 (parse_colors): If XPM_NO_X (Win32), use GDK to parse color names.
19264 2003-07-26 Tor Lillqvist <tml@iki.fi>
19266 * plug-ins/libgck/gck/Makefile.am: Use -no-undefined on Windows.
19268 2003-07-26 Hans Breuer <hans@breuer.org>
19270 * libgimp/gimpcompat.h : renamed GimpOrientationType
19271 with Compat postfix to avoid name clashing when using
19272 this header together with libgimp/gimpenums.h
19274 * app/composite/makefile.msc : (new file)
19275 **/makefile.msc : updated
19277 * libgimp/gimp.c : use static defined _tile<widht|height>
19278 in this file instead of function call
19280 * libgimp/gimp.def libgimp/libgimpui.def : moved from former
19281 to latter : gimp_<brush|font|gradient|pattern>_select_<new|destroy>
19282 added to former gimp_<brushes|gradients|patterns>_popup
19284 * app/paint/gimppaintcore.h : removed double semicolon
19285 which gave msvc error C2059: syntax error : ';'
19287 * libgimpbase/gimpwin32-io.h : (new file) compatibilty defines
19288 which were spread over multiple files to make up mostly for
19291 * app/base/tile-swap.c app/core/gimpimagefile.c
19292 libgimpbase/gimpdatafiles.c
19293 plug-ins/FractalExplorer/FractalExplorer.c : use new header
19295 * plug-ins/gflare/gflare.c
19296 plug-ins/flame/flame.c
19297 plug-ins/FractalExplorer/Dialogs.c :
19298 removed #ifdef G_OS_WIN32 special casing, not needed anymore
19299 due to g_file_test() usage
19301 * app/text/*.* : changes required for build with PangoWin32,
19302 but not commited ...
19304 2003-07-26 Adam D. Moss <adam@gimp.org>
19306 * LICENSE: (new file) Explain the mix of licenses within
19307 the GIMP distribution, and make an explicit statement clarifying
19308 our position on invoking methods in GPL-implemented code from
19309 non-GPL plugins/extentions via libgimp and/or the pdb (ie. that
19310 this does not automatically GPL-infect the program doing the
19311 invoking, which is otherwise an ambiguity in the GPL).
19313 2003-07-25 Manish Singh <yosh@gimp.org>
19315 * plug-ins/pygimp/gimpfu.py: slight fix for arg handling, shouldn't
19316 have any functional difference. This code should be redone at some
19319 * plug-ins/pygimp/gimpmodule.c
19320 * plug-ins/pygimp/pygimp.h
19321 * plug-ins/pygimp/pygimp-pdb.c: constify
19323 * plug-ins/pygimp/plug-ins/sphere.py: use new blend pdb interface
19325 2003-07-25 Michael Natterer <mitch@gimp.org>
19327 * app/core/gimpimage-undo-push.c (gimp_image_remove_layer)
19328 * app/core/gimpimage.c (undo_pop_layer)
19329 * app/text/gimptextlayer.c (gimp_text_layer_render):
19330 gimp_layer_invalidate_boundary() must be called whenever a layer
19331 gets translated, resized or removed. Fixes stale layer outlines in
19332 the canvas padding area.
19334 2003-07-25 Sven Neumann <sven@gimp.org>
19336 * libgimpwidgets/gimpcolornotebook.c (gimp_color_notebook_class_init):
19337 added blurbs for the style properties. These show up as descriptions
19338 in the generated documentation.
19340 2003-07-25 Sven Neumann <sven@gimp.org>
19342 * Made 1.3.17 release.
19344 2003-07-25 Sven Neumann <sven@gimp.org>
19346 * configure.in: fixed the --without-aa option I added lately.
19348 2003-07-24 Maurits Rijk <lpeek.mrijk@consunet.nl>
19350 * libgimp/gimpmiscui.c (gimp_fixme_preview_do_row): minor optimisations
19352 * plug-ins/common/polar.c: undeprecated gtk stuff + minor clean-up
19354 * plug-ins/imagemap/imap_menu.c (make_help_menu): no more right
19355 alignment for Help menu (fixes #118081).
19357 2003-07-24 Michael Natterer <mitch@gimp.org>
19359 * app/widgets/gimphelp.c (gimp_help_internal): added a static
19360 boolean "busy" variable to make sure we handle only one help
19361 request at a time. Together with the now synchronous
19362 GIMP_EXTENSION starting this keeps us from showing multiple help
19365 Pass the help_locale around instead of hardcoding it to "C" at the
19366 bottom (now it's hardcoded a few functions above ;)
19368 2003-07-24 Michael Natterer <mitch@gimp.org>
19370 * app/widgets/gimpcontainertreeview.c: removed some old #if 0'ed
19373 2003-07-24 Michael Natterer <mitch@gimp.org>
19375 * app/gui/image-menu.c: renamed "Edit/Stroke" to "Edit/Stroke
19376 Selection" and added "Edit/Stroke Active Path". Added some missing
19377 mnemonics to the "Edit" menu.
19379 2003-07-24 Sven Neumann <sven@gimp.org>
19381 * app/tools/gimptexttool.c (gimp_text_tool_create_vectors): set
19382 the vectors offset from the text layer's offset.
19384 * app/text/gimptext-vectors.c: removed debugging output.
19386 2003-07-24 Michael Natterer <mitch@gimp.org>
19388 * app/tools/gimppainttool.[ch]: removed the brush outline members
19389 since we have no chance to really cache them without duplicating
19390 GimpPaintCore's brush change notification code.
19392 * app/paint/gimppaintcore.[ch]: added the outline here and really
19393 cache it this time. The paint_core doesn't create or use the
19394 outline but frees and NULLifies it whenever the brush changes.
19396 2003-07-24 Michael Natterer <mitch@gimp.org>
19398 * app/paint/gimppaintcore-stroke.c
19399 (gimp_paint_core_stroke_vectors): honor the destination drawable's
19400 offsets and stroke multi-stroke vectors correctly.
19402 2003-07-24 Sven Neumann <sven@gimp.org>
19404 * app/config/Makefile.am
19405 * app/config/gimpconfig-error.[ch]: moved code from gimpconfig.[ch]
19406 to these new files.
19408 * app/config/gimpconfig-utils.[ch]: moved gimp_config_string_indent()
19409 here from gimpconfig.[ch].
19411 * app/config/gimpconfig.[ch]
19412 * app/config/gimpconfigwriter.c
19413 * app/config/gimprc.c
19414 * app/config/gimpscanner.c
19415 * app/core/gimp-documents.c
19416 * app/core/gimp-parasites.c
19417 * app/core/gimp-templates.c
19418 * app/widgets/gimpdevices.c: changed accordingly.
19420 2003-07-24 Michael Natterer <mitch@gimp.org>
19422 * app/text/gimptext-vectors.c: added control points.
19425 2003-07-24 Michael Natterer <mitch@gimp.org>
19427 * plug-ins/script-fu/scripts/test-sphere.scm: added image, layer,
19428 channel and drawable menus for testing.
19430 2003-07-24 Sven Neumann <sven@gimp.org>
19432 * app/text/gimptext-vectors.c: more work on glyph decomposition.
19434 * app/tools/gimptextoptions.c
19435 * app/tools/gimptexttool.c: added button to create a path from text.
19437 2003-07-24 Michael Natterer <mitch@gimp.org>
19439 * libgimp/gimpmenu.c: removed the GWeakNotify stuff again and free
19440 the ID arrays after creating the menu. Pass the ID as user_data to
19441 the "activate" callback using GINT_TO_POINTER(). Added previews
19442 to gimp_image_menu_new(). More cleanup.
19444 2003-07-24 Michael Natterer <mitch@gimp.org>
19446 * app/core/gimptooloptions.c (gimp_tool_options_serialize):
19447 add the name of the tool to the header and footer strings.
19449 2003-07-24 Sven Neumann <sven@gimp.org>
19451 * plug-ins/imagemap/imap_selection.c (selection_update): moved
19452 variable declarations inside the #ifdef branch where they are used.
19454 * plug-ins/gimpressionist/sizemap.c: commented out unused function
19455 update_sizemap_dialog().
19457 2003-07-24 Sven Neumann <sven@gimp.org>
19459 * app/composite/Makefile.am: fixed build rules. There must not be
19460 a dependency that causes gimp-composite-dispatch.[ch] to be
19461 regenerated since we don't want to depend on Python for our build.
19463 * app/core/gimpdrawable-blend.c (gradient_fill_region)
19464 (gradient_put_pixel): fixed a problem with the new gradient
19465 dithering on grayscale drawables (bug #118141).
19467 2003-07-24 Helvetix Victorinox <helvetix@gimp.org>
19469 * app/composite/gimp-composite-dispatch.[ch]: regenerated new code
19470 taking advantage of simplified function prototypes.
19472 * app/composite/gimp-composite-test.c: New regression testing
19473 driver. This file is automatically generated, but it's included
19474 in the cvs tree for expediency.
19476 * app/composite/ns.py: hopeful checks for which OS is currently
19477 running as a hint to what nm(1) is available.
19479 * app/composite/gimp-composite-mmx.[ch]
19480 * app/composite/gimp-composite-sse.[ch]
19481 * app/composite/gimp-composite-generic.[ch]: function prototype
19484 2003-07-23 Helvetix Victorinox <helvetix@gimp.org>
19486 * app/composite/make-gimp-composite-dispatch.py: generates code to
19487 test compositing functions.
19489 * app/composite/gimp-composite-regression.[ch]: support for
19490 automatically testing compositing functions.
19492 2003-07-23 Michael Natterer <mitch@gimp.org>
19494 * libgimp/gimpmenu.h: changed the return value of
19495 GimpConstraintFunc from gint to gboolean.
19497 * libgimp/gimpmenu.c: fixed bug introduced by my latest cleanup:
19498 Don't free the drawable arrays after creating the menus since they
19499 are used in the callbacks. Instead, free them using a GWeakNotify
19500 on the menu. Factored menu and item creation out to utility
19501 functions to reduce code duplication. Cleanup.
19503 2003-07-22 Sven Neumann <sven@gimp.org>
19505 * app/text/gimptext-bitmap.c
19506 * app/text/gimptextlayout-render.c: define FT_LOAD_TARGET_MONO to
19507 FT_LOAD_MONOCHROME if it is undefined. This avoids a dependency on
19508 recent versions of Freetype (bug #118066).
19510 2003-07-22 Michael Natterer <mitch@gimp.org>
19512 * app/core/gimpgradient.[ch]: added "gboolean reverse" to
19513 gimp_gradient_get_color_at() so all gradients can be used
19516 * app/core/gimpdrawable-blend.[ch] (gimp_drawable_blend)
19517 * app/core/gimppalette-import.[ch] (gimp_palette_import_from_gradient):
19518 added "gboolean reverse".
19520 * app/paint/paint-enums.[ch]: removed enum GimpGradientPaintMode
19521 since it is identical to GimpRepeatMode, except for the now
19522 obsolete ONCE_BACKWARD value.
19524 * app/paint/gimppaintcore.[ch]: removed
19525 gimp_paint_core_get_color_from_gradient()...
19527 * app/paint/gimppaintoptions.[ch]: ...and added
19528 gimp_paint_options_get_gradient_color(), which is much more
19529 general. Added a "reverse" property to GimpGradientOptions and
19530 changed the type of the "repeat" property to GimpRepeatMode.
19532 * app/paint/gimppaintbrush.c: use
19533 gimp_paint_options_get_gradient_color().
19535 * app/tools/gimpblendoptions.[ch]: removed the "repeat" property
19536 since it is in the parent class now.
19538 * app/gui/gradient-select.c
19539 * app/gui/palette-import-dialog.c
19540 * app/widgets/gimpgradienteditor.c
19541 * app/tools/gimpblendtool.c
19542 * tools/pdbgen/pdb/gradients.pdb
19543 * tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.
19545 * app/tools/gimppaintoptions-gui.c: added a "Reverse" toggle right
19546 of the gradient preview.
19548 * app/widgets/gimppreviewrenderergradient.[ch]: added "gboolean
19549 reverse" member and gimp_preview_renderer_gradient_set_reverse()
19552 * tools/pdbgen/pdb/paint_tools.pdb: fixed the paintbrush invoker
19553 to set GimpPaintOption's "use-fade" and "use-gradient" properties
19556 * app/pdb/gradients_cmds.c
19557 * app/pdb/misc_tools_cmds.c
19558 * app/pdb/paint_tools_cmds.c
19559 * libgimp/gimpenums.h
19560 * libgimp/gimpmisctools_pdb.[ch]
19561 * plug-ins/pygimp/gimpenums.py
19562 * plug-ins/script-fu/script-fu-constants.c
19563 * tools/pdbgen/enums.pl: regenerated.
19565 * libgimp/gimpcompat.h
19566 * plug-ins/script-fu/siod-wrapper.c: removed GimpGradientPaintMode
19567 here too since it was only exported accidentially (it's not used
19568 by any external API).
19570 * plug-ins/script-fu/scripts/3dTruchet.scm
19571 * plug-ins/script-fu/scripts/alien-glow-arrow.scm
19572 * plug-ins/script-fu/scripts/alien-glow-bar.scm
19573 * plug-ins/script-fu/scripts/alien-glow-bullet.scm
19574 * plug-ins/script-fu/scripts/alien-glow-button.scm
19575 * plug-ins/script-fu/scripts/alien-glow-logo.scm
19576 * plug-ins/script-fu/scripts/basic1-logo.scm
19577 * plug-ins/script-fu/scripts/basic2-logo.scm
19578 * plug-ins/script-fu/scripts/beveled-button.scm
19579 * plug-ins/script-fu/scripts/blended-logo.scm
19580 * plug-ins/script-fu/scripts/burn-in-anim.scm
19581 * plug-ins/script-fu/scripts/coffee.scm
19582 * plug-ins/script-fu/scripts/comic-logo.scm
19583 * plug-ins/script-fu/scripts/coolmetal-logo.scm
19584 * plug-ins/script-fu/scripts/glossy.scm
19585 * plug-ins/script-fu/scripts/gradient-bevel-logo.scm
19586 * plug-ins/script-fu/scripts/gradient-example.scm
19587 * plug-ins/script-fu/scripts/pupi-button.scm
19588 * plug-ins/script-fu/scripts/rendermap.scm
19589 * plug-ins/script-fu/scripts/sphere.scm
19590 * plug-ins/script-fu/scripts/starscape-logo.scm
19591 * plug-ins/script-fu/scripts/test-sphere.scm
19592 * plug-ins/script-fu/scripts/textured-logo.scm
19593 * plug-ins/script-fu/scripts/title-header.scm
19594 * plug-ins/script-fu/scripts/weave.scm: pass "reverse" to
19595 gimp_blend(). Pass FALSE in most cases and added script
19596 parameters were it makes sense.
19598 2003-07-22 Jakub Steiner <jimmac@ximian.com>
19600 * data/images/gimp_splash.png: special Gimpcon splash
19602 2003-07-22 Sven Neumann <sven@gimp.org>
19604 * configure.in: check for freetype-config and set FREETYPE_LIBS.
19606 * app/Makefile.am: link explicitely against freetype.
19608 2003-07-22 Sven Neumann <sven@gimp.org>
19610 * app/composite/gimp-composite.[ch]: gimp_composite_dispatch()
19611 doesn't have a return value, made it a void function.
19613 2003-07-21 Helvetix Victorinox <helvetix@gimp.org>
19615 * app/composite/make-gimp-composite-dispatch.py: big code cleanup.
19617 * app/composite/Makefile.am: removed references to $(builddir)
19619 * app/composite/test-composite.c: cleanup, preparation for
19620 transition to automatically generated regression testing code.
19622 * app/composite/gimp-composite.c: Clean up of typedef usage
19624 * app/composite/gimp-composite-regression.[ch]: added foundation
19625 for regression testing.
19627 2003-07-21 Sven Neumann <sven@gimp.org>
19629 * data/images/gimp_splash.png: use a simpler URL for the camp.
19631 2003-07-21 Sven Neumann <sven@gimp.org>
19633 * autogen.sh: fix for Solaris /bin/sh (bug #118002).
19635 * app/paint-funcs/paint-funcs-generic.h
19636 * app/paint-funcs/paint-funcs.[ch]: the Forte compiler doesn't
19637 like the use of global variables in inline functions. Applied a
19638 patch from Damien Carbery that fixes this (bug #118002).
19640 2003-07-21 Sven Neumann <sven@gimp.org>
19642 * app/core/gimpdrawable-blend.[ch]
19643 * app/tools/gimpblendoptions.[ch]
19644 * app/tools/gimpblendtool.c
19645 * tools/pdbgen/pdb/misc_tools.pdb
19646 * plug-ins/script-fu/scripts/: applied a slightly modified patch
19647 from Alastair M. Robinson that adds dithering to the blend tool
19650 * app/pdb/misc_tools_cmds.c
19651 * libgimp/gimpmisctools_pdb.[ch]: regenerated.
19653 2003-07-21 Sven Neumann <sven@gimp.org>
19655 * app/config/Makefile.am (gimpconfig_libs): added libgimpmath.
19657 * app/composite/Makefile.am (libappcomposite_a_sources)
19658 * libgimp/Makefile.am (libgimp_1_3_la_SOURCES): fixed typos.
19660 * app/widgets/gimpdevicestatus.c: removed an unused function.
19662 2003-07-20 Tor Lillqvist <tml@iki.fi>
19665 * libgimp/gimpui.def
19666 * libgimpcolor/gimpcolor.def
19667 * libgimpmath/gimpmath.def: Updates.
19669 * libgimp/gimp.c (gimp_config): [Win32] Use gimp_tile_width() and
19670 _height() instead of now nonexistent _gimp_tile_width and _height
19673 2003-07-20 Sven Neumann <sven@gimp.org>
19675 * app/text/gimptext-vectors.c: more work on the framework.
19677 2003-07-20 Tor Lillqvist <tml@iki.fi>
19679 * gimptool-win32.c.in: New file, from stable branch. (Haven't
19680 checked yet what changes might be needed to it here in HEAD.)
19682 2003-07-20 Sven Neumann <sven@gimp.org>
19684 Generalized text rendering and added a framework for creating
19685 GimpVectors objects with text outlines.
19687 * app/text/Makefile.am
19688 * app/text/gimptext-bitmap.[ch]: new files with bitmap render
19691 * app/text/gimptext-vectors.[ch]: new files for rendering to
19694 * app/text/gimptextlayout-private.h: removed ...
19695 * app/text/gimptext-private.h: ... and readded with this name.
19697 * app/text/gimptextlayout-render.[ch]: reduced to the generic parts
19700 * app/text/gimptextlayer.c
19701 * app/text/gimptextlayout.c: changed accordingly.
19703 2003-07-20 Sven Neumann <sven@gimp.org>
19705 * plug-ins/common/psd_save.c: fixed confusion of GimpImageType and
19706 GimpImageBaseType enums that broke the plug-in for non-RGB images.
19708 2003-07-20 Sven Neumann <sven@gimp.org>
19710 * configure.in: changed the gettext domain prefix to gimp20.
19712 * m4macros/Makefile.am
19713 * m4macros/gimp-1.4.m4: removed this file ...
19714 * m4macros/gimp-2.0.m4: ... and readded it with a new name.
19715 Changed the macro to AM_PATH_GIMP_2_0().
19717 * configure.in: added --without-aa option as a way to work around
19718 broken aalib installations.
19720 * INSTALL: document --without-aa and --without-mng.
19722 2003-07-20 Sven Neumann <sven@gimp.org>
19724 * plug-ins/script-fu/scripts/rendermap.scm: applied a patch from
19725 Alastair M. Robinson that fixes the name of the default gradient
19728 2003-07-19 Michael Natterer <mitch@gimp.org>
19730 * libgimpwidgets/gimpcolornotebook.c: added style properties
19731 "tab_border" and "tab_icon_size" just as they exist for
19732 GimpDockbook. Factored page creation out to the new
19733 gimp_color_notebook_add_page() utility function. Added fancy menu
19734 items for the popup menu and translate them.
19737 * themes/Default/gtkrc: use the same tab style for GimpDockbooks
19738 and GimpColorNotebooks.
19740 2003-07-19 Dave Neary <bolsh@gimp.org>
19742 * app/paint/gimpclone.c: Fixed a mistake in the code which does
19743 a pattern clone. Closes bug #117433.
19745 * app/widgets/gimpbrushfactoryview.c: Added a tooltip for the
19748 2003-07-19 Sven Neumann <sven@gimp.org>
19750 * libgimpwidgets/gimpcolornotebook.c: save some space by showing
19751 the stock_id instead of the colorselector's name.
19753 * libgimpwidgets/gimpcolorselect.c
19754 * modules/colorsel_cmyk.c
19755 * modules/colorsel_triangle.c
19756 * modules/colorsel_water.c: removed now unused mnemonics.
19758 * app/widgets/gimpcoloreditor.c: no need to strip mnemonics from
19759 the name here any longer.
19761 2003-07-18 Sven Neumann <sven@gimp.org>
19763 * app/gui/info-window.c: show CMYK color values.
19765 * app/tools/gimpcolorpickertool.c: reduced code duplication.
19767 2003-07-18 Michael Natterer <mitch@gimp.org>
19769 * app/composite/make-gimp-composite-dispatch.py: made generated
19770 output compile again and cleaned it up a bit.
19772 * app/composite/gimp-composite-dispatch.c: regenerated.
19774 * app/paint-funcs/paint-funcs.c (combine_sub_region): don't use
19777 2003-07-18 Helvetix Victorinox <helvetix@gimp.org>
19779 * app/composite/gimp-composite.[ch],
19780 * app/composite/make-gimp-composite-dispatch.py
19781 stubbed out the 32bit-per-channel pixel formats.
19783 * app/composite/gimp-composite-sse.[ch],
19784 * app/composite/Makefile.am
19785 Broke-out and added the SSE versions of the MMX code.
19787 * app/composite/gimp-composite.[ch],
19788 * app/paint-funcs/paint-funcs.c,
19789 * app/composite/make-gimp-composite-dispatch.py
19790 Use of the new gimp_composite code is now turned on via the
19791 environment variable GIMP_COMPOSITE with a non-zero value. For
19793 % GIMP_COMPOSITE=1 gimp-1.3
19795 2003-07-18 Michael Natterer <mitch@gimp.org>
19797 * app/config/gimprc-blurbs.h
19798 * app/config/gimpdisplayconfig.[ch]: added separate properties for
19799 the fullscreen appearance of the display (menubar, rulers,
19800 scrollbars, statusbar and padding). Default to everything
19801 invisible and black padding.
19803 * app/display/gimpdisplayshell.[ch]: renamed struct
19804 GimpDisplayShellVisibility to GimpDisplayShellAppearance and added
19805 the canvas padding stuff.
19807 * app/display/gimpdisplayshell-appearance.[ch]: made
19808 gimp_display_shell_set_padding() fullscreen-aware. Added
19809 gimp_display_shell_get_padding().
19811 * app/display/gimpdisplayshell-callbacks.c
19812 * app/display/gimpdisplayshell-handlers.c
19813 * app/gui/image-menu.c: changed addordingly.
19815 * app/gui/preferences-dialog.c: added the new options and moved
19816 the display appearance stuff to its own page. Minor cleanups.
19818 2003-07-17 Sven Neumann <sven@gimp.org>
19820 * app/vectors/Makefile.am
19821 * app/vectors/gimpanchor.[ch]: added a simple GimpAnchor API.
19823 * app/vectors/gimpbezierstroke.c
19824 * app/vectors/gimpstroke.c: use the new functions.
19826 2003-07-17 Jakub Steiner <jimmac@ximian.com>
19828 * plug-ins/common/*.c: added mnemonics for plugins
19830 2003-07-17 Michael Natterer <mitch@gimp.org>
19832 * app/config/gimpconfig-params.[ch]: added "gboolean allow_percent"
19833 to gimp_param_spec_unit() and to the GIMP_CONFIG_INSTALL_PROP_UNIT()
19834 macro. Changed value validation accordingly.
19836 * app/config/gimpconfig-types.c (string_to_unit): parse "percent"
19839 * app/widgets/gimppropwidgets.c (gimp_prop_unit_menu_new): show
19840 the "Percent" menu entry if the param_spec allows percent.
19842 * app/config/gimpcoreconfig.c
19843 * app/core/gimpgrid.c
19844 * app/core/gimptemplate.c
19845 * app/text/gimptext.c: pass FALSE to disallow percent.
19847 * app/paint/gimppaintoptions.c
19848 * app/tools/gimpselectionoptions.c: pass TRUE. Brings back the
19849 percent feature for fade_length, gradient_length and fixed_size
19850 rect/ellipse select.
19852 * app/tools/gimpbucketfilloptions.c
19853 * app/tools/gimpmagnifyoptions.c
19854 * app/tools/gimpselectionoptions.c
19855 * app/tools/gimptransformoptions.c: don't call the the reset()
19856 functions from the GUI constructors (and reset the options just
19857 deserialized from disk). Instead, added set_defaults() functions
19858 which do everything the old reset() functions did (except
19859 upchaining) and call set_defaults() from reset() and from the GUI
19862 2003-07-17 Michael Natterer <mitch@gimp.org>
19864 * app/widgets/gimpdevicestatus.c (gimp_device_status_init):
19865 disconnect the GimpDeviceInfo::changed() signal handlers when
19866 the dialog goes away. Fixes bug #117609.
19868 2003-07-16 Michael Natterer <mitch@gimp.org>
19870 * app/vectors/gimpvectors.c (gimp_vectors_transform): invert the
19871 matrix for direction == GIMP_TRANSFORM_BACKWARD. Fixes corrective
19872 transformation of paths.
19874 2003-07-16 Michael Natterer <mitch@gimp.org>
19876 * app/tools/gimppainttool.c (gimp_paint_tool_draw): add a small
19877 EPSILON to the brush coordinates before rounding them (fixes
19878 off-by-one floating point rounding fnord for "hard edge" painting
19879 where e.g. (5.0 - (3.0 / 2.0)) was rounded to 3.0 instead of 4.0).
19881 * app/tools/gimpdrawtool.c (gimp_draw_tool_draw_boundary): use
19882 RINT() instead of floor() to round the transformed boundary to
19885 2003-07-16 Michael Natterer <mitch@gimp.org>
19887 * app/tools/gimptransformtool.[ch]: implemented transforming of
19888 paths. Cleaned up initialize() and button_press() to activate the
19889 tool correctly. Use the transform tool's CREATING state *only*
19890 before the first mouse click (when there is no grid displayed).
19891 Preview the active path while transforming. Cache the transform
19892 direction in the GimpTransformTool struct so we can switch it
19893 while previewing the path. Lots of path transform related changes
19896 2003-07-16 Sven Neumann <sven@gimp.org>
19898 * app/tools/gimptransformtool.c (gimp_transform_tool_draw): don't
19899 draw the grid when the bounding box becomes concave.
19901 2003-07-15 Jakub Steiner <jimmac@ximian.com>
19903 * etc/templaterc: add PAL and NTSC templates
19905 2003-07-16 Michael Natterer <mitch@gimp.org>
19907 * app/paint/gimppaintoptions.[ch]: added utility function
19908 gimp_paint_options_get_fade() which calculates an opacity
19909 value from paint_core->pixel_dist.
19911 * app/paint/gimppaintbrush.c: removed the same code here and use
19912 gimp_paint_options_get_fade().
19914 * app/paint/gimpclone.c
19915 * app/paint/gimpconvolve.c
19916 * app/paint/gimpdodgeburn.c
19917 * app/paint/gimperaser.c
19918 * app/paint/gimpsmudge.c: enabled fade for all paint tools, along
19919 with a general opacity cleanup:
19921 Use the opacity from gimp_context_get_opacity() *only* for the
19922 image_opacity. In particular, *never* use it as initial value for
19923 calculating the brush_opacity. Instead, start calculating the
19924 brush_opacity from gimp_paint_options_get_fade() and return early
19925 if it returns 0.0, if not, multiply tool specific opacity sources
19926 like the current pressure.
19928 (This changes the effect of the paint tools for particular opacity
19929 values, but makes the impact of opacity on the final rendering
19930 linear and more intuitive)
19932 * app/tools/gimppaintoptions-gui.c: enabled the "Fade" frame for
19935 * app/paint/gimppaintcore.c: purely cosmetic cleanup.
19937 2003-07-15 Sven Neumann <sven@gimp.org>
19939 * app/gui/preferences-dialog.c (prefs_dialog_new)
19940 * app/widgets/gimpviewabledialog.c (gimp_viewable_dialog_new):
19941 use a large font instead of extra-large.
19943 2003-07-15 Helvetix Victorinox <helvetix@gimp.org>
19945 * app/composite/gimp-composite-dispatch.c: added to cvs AGAIN.
19947 * app/composite/test-composite.c: by default check each
19948 compositing function 1 time, with a 500001 pixel array.
19950 * app/composite/gimp-composite-generic.h: Use
19951 GimpCompositeFunction as the type for all compositing functions.
19953 * app/composite/Makefile.am: gimp-composite.c is no longer
19954 dependant upon gimp-composite-dispatch.c
19956 * app/composite/gimp-composite-dispatch.[ch]
19957 app/composite/make-gimp-composite-dispatch.py: Fixed type
19960 * app/composite/test-composite.c: Fixed bit-rot in not keeping up
19961 with the changes in the surrounding .h files.
19963 * app/composite/gimp-composite-mmx.c: Incipient cleanup in marking
19964 some asm constructs as volatile.
19966 2003-07-15 Michael Natterer <mitch@gimp.org>
19968 * app/paint/gimppaintoptions.[ch]: took the fade options out of
19969 GimpGradientOptions and added them to the new GimpFadeOptions
19970 struct. Added a GObject::finalize() implementation.
19972 * app/paint/gimppaintbrush.[ch]: changed accordingly. Made
19973 gimp_paintbrush_motion() a protected function and renamed it to
19974 _gimp_paintbrush_motion() added a "gdouble opacity" parameter so
19975 an initial brush opacity can be passed in by subclasses.
19977 * app/paint/gimpairbrush.[ch]: derive it from GimpPaintbrush so it
19978 gets all its rendering features. Removed own rendering code and
19979 use _gimp_paintbrush_motion(), passing airbrush_options->pressure
19980 as initial opacity. Removed all static variables.
19982 * app/tools/gimpairbrushtool.[ch]
19983 * app/tools/gimppenciltool.[ch]: derive them from GimpPaintbrushTool.
19985 * app/tools/gimppaintoptions-gui.c: changed accordingly. Added the
19986 full paintbrush options overkill to the airbrush GUI. Cleanup.
19988 * app/tools/gimperasertool.c: forgot to remove the "Hard Edge"
19991 2003-07-15 Sven Neumann <sven@gimp.org>
19993 * plug-ins/common/psd.c: use the new CMYK->RGB conversion routine to
19994 handle CMYK in PSD files.
19996 2003-07-15 Sven Neumann <sven@gimp.org>
19998 * plug-ins/common/tiff.c: applied GIMP coding style. UTF8-validate
19999 the image description before accepting it as a comment. Check for
20000 ASCII-only comment before saving it as an image description.
20002 2003-07-15 Sven Neumann <sven@gimp.org>
20004 * modules/colorsel_cmyk.c: use a range from 0 to 100 for CMYK values.
20006 2003-07-15 Sven Neumann <sven@gimp.org>
20008 * libgimpcolor/gimpcolor.h: include <libgimpcolor/gimpcmyk.h>.
20010 * modules/Makefile.am
20011 * modules/colorsel_cmyk.c: added a simple CMYK color selector.
20013 2003-07-15 Michael Natterer <mitch@gimp.org>
20015 * app/core/gimppattern.c (gimp_pattern_load): fixed pattern depth
20016 check to allow RGBA patterns again. Removed trailing whitespace.
20018 2003-07-14 Sven Neumann <sven@gimp.org>
20020 * libgimpcolor/Makefile.am
20021 * libgimpcolor/makefile.msc
20022 * libgimpcolor/gimpcmyk.[ch]: new files that define a GimpCMYK
20023 structure similar to GimpRGB.
20025 * libgimpcolor/gimpcolortypes.h: added the GimpCMYK typedef.
20027 * libgimpcolor/gimpcolorspace.[ch]: added conversions between RGB
20028 and CMYK. This implementation is the naive approach without any
20029 color calibration whatsoever.
20031 * libgimpcolor/gimphsv.[ch]
20032 * libgimpcolor/gimprgb.[ch]: purely cosmetic changes.
20034 2003-07-14 Michael Natterer <mitch@gimp.org>
20038 * app/paint/Makefile.am
20039 * app/paint/gimppencil.[ch]: added it again as GimpPaintbrush
20040 subclass and override nothing but the user visible undo name and
20041 the paint_options type.
20043 * app/paint/paint.c
20044 * app/tools/tool_manager.c
20045 * app/tools/gimppenciltool.c
20046 * tools/pdbgen/pdb/paint_tools.pdb: reverted my last changes.
20048 * app/pdb/paint_tools_cmds.c: regenerated.
20050 2003-07-14 Michael Natterer <mitch@gimp.org>
20052 * app/paint/Makefile.am
20053 * app/paint/gimppencil.[ch]: removed.
20055 * app/paint/gimppenciloptions.[ch]: new files. Does nothing except
20056 setting the default value of "hard" to TRUE.
20058 * app/paint/paint.c
20059 * app/tools/tool_manager.c: changed accordingly.
20061 * app/tools/gimppenciltool.c
20062 * tools/pdbgen/pdb/paint_tools.pdb: use the paintbrush core for
20065 * app/pdb/paint_tools_cmds.c: regenerated.
20067 * app/tools/gimppaintoptions-gui.c: show all paintbrush options
20068 except "Hardness" for the pencil tool.
20070 2003-07-14 Michael Natterer <mitch@gimp.org>
20072 * app/paint/gimperaseroptions.[ch]: removed "gboolean hard"
20075 * app/paint/gimppaintoptions.[ch]: ...and added it here. Added
20076 gimp_paint_options_get_brush_mode() utility function.
20078 * app/paint/gimpairbrush.c
20079 * app/paint/gimpclone.c
20080 * app/paint/gimpconvolve.c
20081 * app/paint/gimpdodgeburn.c
20082 * app/paint/gimperaser.c
20083 * app/paint/gimppaintbrush.c
20084 * app/paint/gimppaintcore.h
20085 * app/paint/gimppencil.c
20086 * app/paint/gimpsmudge.c: use the new utility funtion where
20087 appropriate. Removed trailing whitespace.
20089 * app/tools/gimpdrawtool.[ch] (gimp_paint_tool_draw_boundary):
20090 changed offset parameters from gint to gdouble so we can show the
20091 brush preview at sub-pixel positions.
20093 * app/tools/gimppainttool.c: use sub-pixel coordinates for the
20094 brush preview if paint_options->hard is FALSE (doesn't work for
20097 The new brush preview unveiled that the positioning of even-sized
20098 brushes if off by 0.5 for soft brush application mode and off by
20099 1.0 for hard application mode:
20101 * app/paint/gimppaintcore.[ch] (gimp_paint_core_subsample_mask):
20102 offset painting by 0.5 pixels on the brushes' even sized axes by
20103 shuffling the subsample matrices around.
20105 Added "subsampling" for HARD brush application mode since a pixel
20106 of an even sized brush can snap to up to four different image
20107 pixels depending on the sub-pixel coordinates of the stroke.
20109 2003-07-14 Michael Natterer <mitch@gimp.org>
20111 * app/tools/gimppaintoptions-gui.c: removed double semicolons.
20113 2003-07-14 Michael Natterer <mitch@gimp.org>
20115 * tools/kernelgen.c: cleanup. Removed trailing whitespace in
20118 * app/paint/gimppaintcore-kernels.h: regenerated.
20120 2003-07-14 Michael Natterer <mitch@gimp.org>
20122 * app/tools/tool_manager.c: check if the active_tool is a
20123 GimpDrawTool before casting & accessing its members.
20125 2003-07-14 Sven Neumann <sven@gimp.org>
20127 * configure.in: use AM_PROG_AS instead of defining CCAS and
20128 CCASFLAGS manually. Changed the assembler checks to use inline
20129 assembly as we do in app/composite/gimp-composite-mmx.c.
20131 * app/composite/Makefile.am: build the MMX code again; we need it
20132 to be tested. If you have any problems, please report them. You can
20133 quick-fix your build using the --disable-mmx configure option.
20135 * app/paint-funcs/Makefile.am: reverted Helvetix' change ...
20136 * app/paint-funcs/paint-funcs.c: ... and include
20137 "composite/gimp-composite.h" instead of "gimp-composite.h".
20139 2003-07-14 Sven Neumann <sven@gimp.org>
20141 * app/base/base.c (base_init): include composite/gimp-composite.h.
20143 * app/paint-funcs/paint-funcs.c: enforce GIMP coding style on the
20144 code that Helvetix added.
20146 2003-07-13 Helvetix Victorinox <helvetix@gimp.org>
20148 * app/composite/gimp-composite-dispatch.[ch]: are in CVS although
20149 they are generated files. This is preparation for building the
20150 table at run-time, instead of compile time.
20152 2003-07-13 Manish Singh <yosh@gimp.org>
20154 * app/composite/Makefile.am: remove bogus trailing slash
20156 * libgimp/gimp.c: use raise() instead of kill() with getpid()
20158 2003-07-13 Helvetix Victorinox <helvetix@gimp.org>
20160 * app/composite/Makefile.am: fixed typo with trailing backslash.
20162 * app/paint-funcs/Makefile.am: include files from app/composite/
20164 * app/paint-funcs/paint-funcs.c: stubbed out code for using
20165 gimp_composite. To enable the use of gimp_composite, set the
20166 value of gimp_composite_use_old to 0 (zero).
20168 * app/base/base.c: calls gimp_composite_init() hook to initialse
20169 all the gimp_composite "stuff."
20171 * app/composite/make-gimp-composite-dispatch.py: now generates
20172 gimp-composite-dispatch.h
20174 * app/composite/gimp-composite-dispatch.[ch]: are in CVS although
20175 they are generated files. This is preparation for building the
20176 table at run-time, instead of compile time.
20178 * app/composite/gimp-composite.c: doesn't #include the main
20179 dispatch table. This is preparation for building the table at
20180 run-time, instead of compile time.
20182 * app/composite/Makefile.am: doesn't compile gimp-composite-mmx.c
20183 (until the various remaining gcc problems and configuration issues
20187 2003-07-11 Michael Natterer <mitch@gimp.org>
20189 * app/config/gimpconfig.c (gimp_config_reset): don't return stuff
20190 from a void function (spotted by Jimmer on #gimp). Removed
20191 trailing whitespace.
20193 2003-07-11 Michael Natterer <mitch@gimp.org>
20195 * app/gui/user-install-dialog.c: lots of purely cosmetic stuff
20196 (spacing, separator removal, bold labels, icons in the
20197 installation log, ...).
20199 2003-07-11 Sven Neumann <sven@gimp.org>
20201 * app/base/boundary.c (find_empty_segs): silence the compiler.
20203 2003-07-11 Dave Neary <bolsh@gimp.org>
20205 * devel-docs/parasites.txt: Document jpeg-exif-data
20208 2003-07-10 Michael Natterer <mitch@gimp.org>
20210 * app/display/gimpdisplayshell-transform.[ch]: removed
20211 gimp_display_shell_transform_boundary() again...
20213 * app/tools/gimpdrawtool.[ch]: ...and added as
20214 gimp_draw_tool_draw_boundary(). Removed the GimpDrawToolState enum
20215 and the "draw_state" member since they were redundant. Cleanup.
20217 * app/tools/gimpeditselectiontool.c: changed accordingly.
20219 * app/tools/gimppainttool.[ch]: added a brush preview so we
20220 finally see where we will paint. Fixes bug #32498. Cleanup.
20222 * app/tools/tool_manager.c: also look at draw_tool->gdisp, not
20223 only at tool->gdisp when deciding whether the active tool has to
20224 be suspended/resumed/halted. Fixes a couple of fnords with the
20225 line preview and the new brush preview.
20227 * app/tools/gimpcolortool.c: minor cleanup.
20229 2003-07-10 Michael Natterer <mitch@gimp.org>
20231 * app/core/gimpbrush.c
20232 * app/paint/gimppaintcore.c
20233 * app/tools/gimpcurvestool.c
20234 * app/tools/gimptool.c
20235 * app/tools/tool_manager.c: removed trailing whitespace.
20237 2003-07-10 Michael Natterer <mitch@gimp.org>
20239 * app/base/boundary.[ch]: added "guchar threshold" parameters all
20240 over the place instead of always using 127. Made the HALF_WAY
20242 (find_empty_segs): don't crash if PR->tiles is NULL but treat
20243 PR->data as the entire buffer so the function can be used on
20244 PixelRegions of TempBufs.
20246 * app/core/gimpchannel.c
20247 * app/core/gimplayer-floating-sel.c
20248 * app/tools/gimpfuzzyselecttool.c: pass HALF_WAY to
20249 find_mask_boundary().
20251 2003-07-10 Sven Neumann <sven@gimp.org>
20253 * app/composite/gimp-composite-mmx.c: only compile this code if
20254 USE_MMX is defined.
20256 2003-07-10 Dave Neary <bolsh@gimp.org>
20258 * app/core/gimpbrush-header.h
20259 * app/core/gimppattern-header.h: Replace guint by guint32
20260 just in case we're on a platform with 16 bit ints.
20262 * app/core/gimppattern.c: Uncomment a check for
20263 colourdepth of the pattern. There are no other values
20264 possible outside the range 1-4, but it serves as a
20265 sanity check in case people do odd things.
20267 * configure.in: Add a --enable-profile configure flag to
20268 allow profiling support. Adds -pg to the CFLAGS.
20270 2003-07-09 Michael Natterer <mitch@gimp.org>
20272 * app/display/gimpdisplayshell-transform.[ch]: added new function
20273 gimp_display_shell_transform_boundary() which takes an array of
20274 BoundSegs and returns an array of GdkSegments.
20276 * app/tools/gimpeditselectiontool.c: use it.
20278 2003-07-09 Manish Singh <yosh@gimp.org>
20280 * devel-docs/Makefile.am: add gbr.txt and pat.txt
20282 2003-07-09 Manish Singh <yosh@gimp.org>
20284 * plug-ins/pygimp/plug-ins/gtkcons.py: don't do anything if run
20285 standalone and given a -gimp command line option. (Sanity against
20288 2003-07-09 Dave Neary <bolsh@gimp.org>
20290 * devel-docs/pat.txt: Documented the pat version 1 file
20291 format while I was at it.
20293 2003-07-09 Dave Neary <bolsh@gimp.org>
20295 * devel-docs/gbr.txt: Documented the gbr version 2 file
20296 format, after some confusion with Cinepaint's version.
20298 2003-07-09 Sven Neumann <sven@gimp.org>
20300 * tools/pdbgen/pdb/paths.pdb: applied a modified patch from Joao
20301 S. O. Bueno <gwidion@mpc.com.br> that adds the new PDB function
20302 gimp_path_to_selection().
20304 * app/pdb/internal_procs.c
20305 * app/pdb/paths_cmds.c
20306 * libgimp/gimppaths_pdb.[ch]: regenerated.
20308 2003-07-09 Sven Neumann <sven@gimp.org>
20310 * app/composite/tester.c: removed ...
20311 * app/composite/test-composite.c: ... and readded under a new name.
20313 * app/composite/Makefile.am: added a check target that builds and
20314 runs the test program.
20316 * app/composite/gimp-composite-generic.c
20317 * app/composite/gimp-composite-mmx.c
20318 * app/composite/gimp-composite-util.h
20319 * app/composite/gimp-composite.[ch]
20320 * app/composite/make-gimp-composite-dispatch.py: made it fit
20321 better into the GIMP source tree:
20322 - do not include any files from headers
20323 - don't use types from <sys/types.h> but use what glib provides
20326 2003-07-09 Sven Neumann <sven@gimp.org>
20329 * app/composite/Makefile.am: some Makefile fixes, more to come.
20331 2003-07-08 Helvetix Victorinox <helvetix@gimp.org>
20333 * Added app/composite for the new compositing mechanism.
20335 * Modified configure.in to build app/composite/Makefile
20337 * Added app/composite to app/Makefile.am
20339 2003-07-08 Sven Neumann <sven@gimp.org>
20341 * app/widgets/gimpdialogfactory.c: added a hack that ensures that
20342 the toolbox is always first in all dialog_factories_foreach calls.
20343 This way the toolbox appears first in sessionrc and first on screen.
20345 * etc/sessionrc: updated the sample sessionrc, tweaked it a little.
20347 2003-07-08 Michael Natterer <mitch@gimp.org>
20349 * themes/Default/images/preferences/Makefile.am
20350 * themes/Default/images/preferences/folders-scripts.png: new icon
20351 (just a copy of folders.png for now).
20353 * app/gui/preferences-dialog.c: added a GUI for the Script-Fu
20354 path. Fixes bug #96282.
20356 2003-07-08 Michael Natterer <mitch@gimp.org>
20358 Added configurable styles for dockable tabs (fixes bug #87376):
20360 * app/widgets/widgets-enums.[ch]: added new enum GimpTabStyle
20361 which can be one on { ICON, NAME, ICON_NAME, ICON_BLURB }.
20363 * app/widgets/gimpdockable.[ch]: added a GimpTabStyle member to
20364 the GimpDockable struct which defaults to GIMP_TAB_STYLE_ICON.
20365 Renamed "short_name" to "name" and "name" to "blurb". Renamed
20366 GimpDockableGetTabFunc to GimpDockableGetIconFunc. Implemented all
20367 tab styles in gimp_dockable_real_get_tab_widget() and use the
20368 "get_icon_func" only for creating the tab's icon, not the entire
20371 * app/widgets/gimpdockbook.[ch]: changed accordingly. Create the
20372 menu widgets and the DND icon using gimp_dockable_get_tab_widget()
20373 with tab_style == GIMP_TAB_STYLE_ICON_BLURB instead of duplicating
20374 tons of code. Made gimp_dockbook_get_tab_widget() public because
20375 it's needed for exchanging tabs on-the-fly.
20377 * app/widgets/gimpimagedock.c: changed accordingly.
20379 * app/widgets/gimpdialogfactory.c: remember the dockables' tab
20380 style in sessionrc.
20382 * app/gui/dialogs-menu.c: added a submenu to select the tab style
20385 * app/gui/dialogs-commands.[ch]: new callback
20386 dialogs_tab_style_cmd_callback().
20388 * app/gui/dialogs-constructors.[ch]: added stock_ids to all
20389 dockables, swapped the "name" and "blurb" parameters, reordered
20390 functions, cleanup.
20392 * app/gui/dialogs-menu.c
20393 * app/gui/image-menu.c
20394 * app/gui/toolbox-menu.c: use GIMP_STOCK_DEFAULT_COLORS for the
20395 color editor dockable and renamed it to "FG/BG Color".
20397 2003-07-08 Michael Natterer <mitch@gimp.org>
20399 * app/core/core-types.h: added GimpGradientSegment typedef.
20401 * app/core/gimpgradient.h: removed it here.
20403 * app/core/gimpgradient.c: no need to cast the return value
20406 2003-07-08 Sven Neumann <sven@gimp.org>
20408 * themes/Default/images/stock-wilber-32.png
20409 * themes/Default/images/stock-wilber-48.png
20410 * themes/Default/images/stock-wilber-64.png: a nicer Wilber with
20411 a brush and drop shadow.
20413 2003-07-08 Sven Neumann <sven@gimp.org>
20415 * app/text/gimptextlayer.c (gimp_text_layer_from_layer): replace
20416 the layer in the global item hash table, fixes bug #116936.
20418 * libgimp/gimpexport.c (gimp_export_image): added a warning that
20419 would have helped to resolve above bug.
20421 2003-07-08 Sven Neumann <sven@gimp.org>
20423 * app/gui/splash.c (splash_create): don't ignore the delete event
20424 on the splash screen, but quit gimp immidiately by calling exit().
20426 * app/xcf/xcf-load.c (xcf_load_layer): reduced code duplication.
20428 2003-07-08 Sven Neumann <sven@gimp.org>
20430 * app/gui/file-commands.c (file_save_cmd_callback): warn if the
20431 image has no active drawable instead of silently returning. Not
20432 sure if this is correct, but it could help to resolve #116936.
20434 2003-07-08 Sven Neumann <sven@gimp.org>
20436 * app/tools/gimpcolorpickertool.c: show the alpha value in percent
20437 as well (as suggested in bug #116384).
20439 2003-07-07 Sven Neumann <sven@gimp.org>
20441 * libgimpmath/gimpmatrix.[ch]: added gimp_matrix2_mult().
20443 2003-07-07 Sven Neumann <sven@gimp.org>
20445 * libgimpbase/gimpbasetypes.h: include <libgimpmath/gimpmathtypes.h>.
20447 * libgimpmath/gimpmathtypes.h
20448 * libgimpmath/gimpmatrix.[ch]: added GimpMatrix2 struct definition
20449 and new function gimp_matrix2_identity().
20451 * app/config/gimpconfig-deserialize.c
20452 * app/config/gimpconfig-params.[ch]
20453 * app/config/gimpconfig-serialize.c
20454 * app/config/gimpconfig-types.[ch]
20455 * app/config/gimpconfig.c
20456 * app/config/gimpscanner.[ch]: added a boxed type around GimpMatrix2.
20458 * app/text/gimptext.[ch]: added new property "transformation".
20460 2003-07-07 Sven Neumann <sven@gimp.org>
20462 * libgimpmath/gimpvector.[ch]: added const qualifiers.
20464 2003-07-07 Sven Neumann <sven@gimp.org>
20466 * libgimpmath/gimpmathtypes.h
20467 * libgimpmath/gimpvector.h: moved struct declarations.
20469 * libgimpmath/gimpmatrix.[ch]: made GimpMatrix3 and GimpMatrix4
20470 structs instead of typedefs for arrays. Pass them by reference,
20471 not by value. Added lots of const qualifiers.
20473 * app/core/gimpchannel.c
20474 * app/core/gimpdrawable-transform-utils.[ch]
20475 * app/core/gimpdrawable-transform.[ch]
20476 * app/core/gimpdrawable.c
20477 * app/core/gimpitem-linked.[ch]
20478 * app/core/gimpitem.[ch]
20479 * app/core/gimplayer.c
20480 * app/pdb/transform_tools_cmds.c
20481 * app/tools/gimpperspectivetool.c
20482 * app/tools/gimprotatetool.c
20483 * app/tools/gimpscaletool.c
20484 * app/tools/gimpsheartool.c
20485 * app/tools/gimptransformtool.c
20486 * app/vectors/gimpvectors.c
20487 * tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
20489 2003-07-07 Sven Neumann <sven@gimp.org>
20491 * plug-ins/common/mng.c: applied a patch from S. Mukund that fixes
20492 a problem with newer versions of libmng (bug #115544).
20494 2003-07-07 Michael Natterer <mitch@gimp.org>
20496 * app/gui/Makefile.am
20497 * app/gui/device-status-dialog.[ch]: removed...
20499 * app/widgets/Makefile.am
20500 * app/widgets/widgets-types.h
20501 * app/widgets/gimpdevicestatus.[ch]: ...added here as widget. The
20502 thing is narrower now but not nicer and needs some polishing.
20504 * app/widgets/gimppropwidgets.[ch]: added gimp_prop_color_area_new()
20505 and gimp_prop_stock_image_new() (the latter is still unused).
20507 * app/gui/dialogs-constructors.[ch]
20508 * app/gui/dialogs.c: made the device status a dockable.
20510 * app/gui/dialogs-menu.c
20511 * app/gui/image-menu.c
20512 * app/gui/toolbox-menu.c: changed accordingly.
20514 * app/gui/gui.c: update the device status dialog indirectly now
20515 using the new gui_device_change_notify() callback.
20517 2003-07-06 Sven Neumann <sven@gimp.org>
20519 * app/text/Makefile.am
20520 * app/text/gimptextlayout-private.h
20521 * app/text/gimptextlayout-render.[ch]: new files that implement
20522 text rendering. Right now it's basically code copied from PangoFT2
20523 but having it here will allow me to implement text transformations.
20525 * app/text/gimptextlayout.[ch]
20526 * app/text/gimptextlayer.c: changed accordingly.
20528 2003-07-06 Sven Neumann <sven@gimp.org>
20530 * etc/ps-menurc: an updated version from Eric Pierce.
20532 2003-07-04 Henrik Brix Andersen <brix@gimp.org>
20534 Added persistent storage of image grid in XCF files.
20536 * app/core/gimpimage.[ch]: removed gimp_image_get_grid() and
20537 gimp_image_set_grid() ...
20539 * app/core/Makefile.am
20540 * app/core/gimpimage-grid.[ch]: ... and added them to these new
20541 files. Added gimp_grid_parasite_name(), gimp_grid_to_parasite()
20542 and gimp_grid_from_parasite() functions.
20544 * app/core/gimpimage-snap.c
20545 * app/gui/grid-dialog.c: #include "gimpimage-grid.h"
20547 * app/core/gimpimage-undo-push.c: #include "gimpimage-grid.h".
20548 (gimp_image_undo_push_image_grid) mark image as dirty.
20550 * app/xcf/xcf-save.c (xcf_save_image_props): save GimpGrid object
20553 * app/xcf/xcf-load.c (xcf_load_image): load GimpGrid from
20556 * devel-docs/parasites.txt: documented the new "gimp-image-grid"
20559 * app/core/gimpdrawable-bucket-fill.c
20560 (gimp_drawable_bucket_fill_full): applied a patch from Pedro
20561 Gimeno <pggimeno@wanadoo.es> which fixes segmentation fault when
20562 using <Image>/Edit/Fill with [FB]G Color.
20564 2003-07-04 Sven Neumann <sven@gimp.org>
20568 * app/base/cpu-accel.c: added (untested) check for altivec assembly
20569 and enabled the run-time altivec check.
20571 2003-07-04 Michael Natterer <mitch@gimp.org>
20573 * app/widgets/gimpitemfactory.c (gimp_item_factory_set_color): use
20574 GIMP_COLOR_AREA_SMALL_CHECKS instead of _FLAT so the color's alpha
20575 is visible. Lookup GTK_ICON_SIZE_MENU's dimensions instead of
20578 2003-07-04 Sven Neumann <sven@gimp.org>
20580 * app/base/colorize.c (colorize_init): use more inspiring initial
20583 2003-07-04 Sven Neumann <sven@gimp.org>
20585 * plug-ins/gdyntext/*: removed from CVS.
20587 2003-07-04 Jakub Steiner <jimmac@ximian.com>
20589 * app/gui/image-menu.c: fix clashing mnemonics
20591 2003-07-04 Sven Neumann <sven@gimp.org>
20593 * configure.in: redone target platform detection and MMX assembly
20594 checks. Basically copied from DirectFB.
20597 * app/arch/i386/mmx/detect_mmx.S
20598 * app/arch/i386/mmx/paint_funcs_mmx.S
20599 * app/paint-funcs/Makefile.am
20600 * app/paint-funcs/paint-funcs-mmx.h
20601 * app/paint-funcs/paint-funcs-simd.S: removed the old MMX routines.
20602 New ones will come instead.
20604 * app/base/Makefile.am
20605 * app/base/detect-mmx.[Sh]: removed these two files...
20607 * app/base/cpu-accel.[ch]: ... and added new ones that do more
20608 fine-grained cpu acceleration detection. Again taken from DirectFB
20609 but the code is originally from mpeg2dec.
20611 * app/base/base.c: print results from cpu feature tests.
20613 2003-07-04 Dave Neary <bolsh@gimp.org>
20615 * app/core/gimpdrawable-bucket-fill.c: Add alpha channel
20616 to temp buffer from gimpimage if there's an alpha
20617 channel in the pattern being applied.
20619 2003-07-03 Sven Neumann <sven@gimp.org>
20621 * plug-ins/common/gif.c (save_image): refuse to write comments that
20622 contain non-ASCII characters.
20624 2003-07-03 Sven Neumann <sven@gimp.org>
20626 * plug-ins/common/png.c: added a toggle that allows to disable
20627 saving of the image comment.
20629 2003-07-03 Sven Neumann <sven@gimp.org>
20631 * plug-ins/common/blur.c
20632 * plug-ins/common/gifload.c
20633 * plug-ins/common/gih.c
20634 * plug-ins/common/gqbist.c
20635 * plug-ins/common/jpeg.c
20636 * plug-ins/common/mapcolor.c
20637 * plug-ins/common/pcx.c
20638 * plug-ins/common/png.c
20639 * plug-ins/common/ps.c
20640 * plug-ins/common/psd.c
20641 * plug-ins/common/psp.c
20642 * plug-ins/common/randomize.c
20643 * plug-ins/common/sinus.c
20644 * plug-ins/common/snoise.c
20645 * plug-ins/common/tga.c
20646 * plug-ins/common/wmf.c
20647 * plug-ins/common/xbm.c
20649 * plug-ins/fp/fp_gdk.c
20650 * plug-ins/fp/fp_gtk.c
20651 * plug-ins/gfig/gfig.c
20652 * plug-ins/gflare/gflare.c
20653 * plug-ins/gimpressionist/brush.c
20654 * plug-ins/gimpressionist/paper.c
20655 * plug-ins/gimpressionist/ppmtool.c
20656 * plug-ins/gimpressionist/preview.c
20657 * plug-ins/ifscompose/ifscompose_utils.c
20658 * plug-ins/script-fu/script-fu-server.c
20659 * plug-ins/xjt/xjt.c: fixed some minor code issues found compiling
20662 2003-07-03 Manish Singh <yosh@gimp.org>
20664 * configure.in: remove gimp.spec stuff (leave gimp.spec.in in CVS
20665 for now as reference, maybe update it with the freshrpms spec at
20668 2003-07-03 Manish Singh <yosh@gimp.org>
20670 * plug-ins/common/jpeg.c: fix spelling of "quality" in comment
20672 * tools/pdbgen/*.pl: update copyright strings to 2003
20674 * libgimp/gimpenums.h
20675 * libgimp/*_pdb.[ch]
20676 * app/pdb/*_cmds.[ch]
20677 * app/pdb/internal_procs.[ch]
20678 * plug-ins/pygimp/gimpenums.py
20679 * plug-ins/script-fu/script-fu-constants.c: regenerated
20681 2003-07-03 Sven Neumann <sven@gimp.org>
20683 * plug-ins/common/png.c: added support for reading and writing
20684 comments. Handles tTXt (ISO-8859-1) and, if your libpng supports
20685 it, iTXt (UTF-8) chunks.
20687 2003-07-02 Sven Neumann <sven@gimp.org>
20689 * RPM/*: removed these files, they are of no purpose any longer.
20691 2003-07-02 Sven Neumann <sven@gimp.org>
20693 * app/gui/edit-commands.c
20694 * app/gui/image-menu.c: added "Fill with Pattern" menu entry as
20695 suggested in bug #116365.
20697 * app/base/temp-buf.c
20698 * app/base/tile-swap.c
20699 * app/config/gimpbaseconfig.c
20700 * app/config/gimpconfig-types.c
20701 * app/display/gimpdisplayshell-filter-dialog.c
20702 * app/display/gimpdisplayshell.c
20703 * app/file/file-utils.c
20704 * app/paint-funcs/paint-funcs-types.h
20705 * app/tools/gimpdrawtool.c
20706 * app/tools/gimpinktool.c
20707 * app/tools/gimpiscissorstool.h
20708 * app/tools/gimptextoptions.c
20709 * app/paint-funcs/paint-funcs-types.h
20710 * app/vectors/gimpbezierstroke.c
20711 * app/vectors/gimpstroke.c
20712 * app/vectors/gimpvectors.c
20713 * app/vectors/vectors-types.h
20714 * libgimp/gimpbrushmenu.c
20715 * libgimp/gimpmisc.h
20716 * libgimpmodule/gimpmodule.c: fixed some minor issues found
20717 compiling with -pedantic.
20719 * app/pdb/misc_tools_cmds.c
20720 * tools/pdbgen/pdb/misc_tools.pdb: adapt to the changed order of
20721 arguments for gimp_image_pick_color().
20723 2003-07-02 Michael Natterer <mitch@gimp.org>
20725 * libgimpbase/gimpbasetypes.h: changed GimpDatafileLoaderFunc to
20726 take a separate "gpointer user_data" parameter (passing user_data
20727 in a struct was a quite nonstandard API design). Made the
20728 GimpDatafileData pointer const.
20730 * libgimpbase/gimpdatafiles.[ch]: removed user_data from the
20731 GimpDatafileData struct and added "const gchar *basename" so we
20732 don't need to g_path_get_basename() in many callbacks.
20734 * libgimp/gimpmiscui.[ch]: changed gimp_plug_in_parse_path() to
20735 gimp_plug_in_get_path() and return the unparsed path.
20737 * app/core/gimpdatafactory.c
20738 * app/core/gimpenvirontable.c
20740 * app/plug-in/plug-ins.c
20741 * libgimpmodule/gimpmoduledb.c
20742 * plug-ins/script-fu/script-fu-scripts.c: changed accordingly.
20744 * plug-ins/FractalExplorer/Dialogs.c
20745 * plug-ins/FractalExplorer/FractalExplorer.[ch]
20746 * plug-ins/FractalExplorer/Globals.c
20747 * plug-ins/gfig/gfig.c
20748 * plug-ins/gflare/gflare.c: use gimp_datafiles_read_directories()
20749 instead of fiddling with g_dir_open() manually. Random cleanups.
20751 2003-07-02 Sven Neumann <sven@gimp.org>
20753 * plug-ins: last bunch of plug-ins adapted to libgimp changes.
20755 2003-07-02 Michael Natterer <mitch@gimp.org>
20757 * app/gui/grid-dialog.c: s/Appearence/Appearance/g, changed
20758 color_notebook titles to say "Change Foo Color" instead of
20761 * app/widgets/gimplayertreeview.c: irrelevant code review.
20763 2003-07-02 Michael Natterer <mitch@gimp.org>
20765 * app/widgets/widgets-types.h: added GimpMenuPositionFunc typedef.
20767 * app/widgets/gimpwidgets-utils.[ch]: made gimp_menu_position()
20768 a GimpMenuPositionFunc.
20770 * app/widgets/gimpitemfactory.[ch]
20771 (gimp_item_factory_popup_with_data): added position_func and
20772 position_data parameters. Use gimp_menu_position() if no
20773 position_func is given.
20775 * app/display/gimpdisplayshell-callbacks.c: removed
20776 gimp_display_shell_origin_menu_popup() and call
20777 gimp_item_factory_popup_with_data() directly from
20778 gimp_display_shell_popup_menu(), using
20779 gimp_display_shell_origin_menu_position() as position_func.
20781 * app/widgets/gimpeditor.[ch]: added a GtkWidget::popup_menu()
20782 implementation so all context menus are keyboard accessible.
20783 Added "gpointer factory_data" member so the menu can be popped up
20784 in the right context.
20786 * app/gui/channels-menu.c
20787 * app/gui/layers-menu.c
20788 * app/gui/vectors-menu.c: make them work without an active image
20789 since they can be popped up at any time now.
20791 * app/gui/image-menu.c
20792 * app/gui/toolbox-menu.c: cleanup.
20794 * app/widgets/gimpcolormapeditor.c
20795 * app/widgets/gimpcomponenteditor.c
20796 * app/widgets/gimpcontainereditor.c
20797 * app/widgets/gimpdockbook.c
20798 * app/widgets/gimperrorconsole.c
20799 * app/widgets/gimpgradienteditor.c
20800 * app/widgets/gimpitemtreeview.c
20801 * app/widgets/gimppaletteeditor.c: pass NULL, NULL as
20802 position_func and position_data so the default implementation is
20805 2003-07-02 Sven Neumann <sven@gimp.org>
20807 * plug-ins: more plug-ins adapted to libgimp changes.
20809 2003-07-02 Michael Natterer <mitch@gimp.org>
20811 * app/widgets/gimpitemfactory.c: misc cleanup.
20812 (gimp_item_factory_create_item): use gimp_menu_path_strip_uline()
20815 2003-07-02 Michael Natterer <mitch@gimp.org>
20817 * app/widgets/gimpwidgets-utils.[ch] (gimp_menu_path_strip_uline):
20818 new function which takes menu_paths with mnemonics and removes
20819 them so they can be used as identifiers.
20821 * app/gui/plug-in-menus.c: use the new function. Enables mnemonics
20822 for plug-in menu entries. Removed plug_in_escape_uline() which
20823 implemented disabling them.
20825 * app/widgets/gimptoolbox.c (toolbox_create_tools): use it here
20826 too, made the function more robust.
20828 2003-07-02 Manish Singh <yosh@gimp.org>
20830 * tools/pdbgen/lib.pl: constify input strings, colors, and arrays
20832 * libgimp/*_pdb.[ch]: regenerated
20834 2003-07-02 Sven Neumann <sven@gimp.org>
20836 * plug-ins: more plug-ins adapted to libgimp changes.
20838 2003-07-01 Sven Neumann <sven@gimp.org>
20840 * libgimp/gimpbrushselect.c
20841 * libgimp/gimpfontselect.c
20842 * libgimp/gimpgradientselect.c
20843 * libgimp/gimppatternselect.c
20844 * libgimp/gimppixelrgn.c: added const qualifiers.
20846 * libgimp/gimpmiscui.c: reverted a bogus change from my last commit.
20848 2003-07-01 Sven Neumann <sven@gimp.org>
20850 * plug-ins/common: first set of plug-ins adapted to the constified
20853 2003-07-01 Sven Neumann <sven@gimp.org>
20855 * libgimp/gimp.[ch]
20856 * libgimp/gimpchannel.[ch]
20857 * libgimp/gimpdrawable.[ch]
20858 * libgimp/gimpimage.[ch]
20859 * libgimp/gimplayer.[ch]
20860 * libgimp/gimpmisc.[ch]
20861 * libgimp/gimpmiscui.[ch]
20862 * libgimp/gimppixelrgn.[ch]
20863 * libgimp/gimpproceduraldb.[ch]: added const qualifiers to the
20864 libgimp API. Will cause lots of compiler warnings until the
20865 generated PDB code has been constified as well.
20867 * libgimpbase/gimpparasite.[ch]: use gconstpointer, not const
20870 2003-07-01 Sven Neumann <sven@gimp.org>
20872 * plug-ins/common/ripple.c (average_four_pixels): fixed the
20873 non-alpha case (bug #116470).
20875 2003-07-01 Jakub Steiner <jimmac@ximian.com>
20877 * app/gui/image-menu.c
20878 * app/gui/plug-in-menus.c
20879 * app/gui/toolbox-menu.c
20880 * app/tools/gimp*tool.c: Added mnemonics (bug #106991).
20881 Plug-ins and Script-Fus next.
20883 2003-07-01 Sven Neumann <sven@gimp.org>
20885 * plug-ins/ifscompose/ifscompose.[ch]
20886 * plug-ins/ifscompose/ifscompose_utils.c: use Pango to draw text.
20888 * plug-ins/ifscompose/ifscompose_storage.c: minor code cleanup.
20890 2003-07-01 Sven Neumann <sven@gimp.org>
20892 * configure.in: bumped version number to 1.3.17.
20894 2003-07-01 Michael Natterer <mitch@gimp.org>
20896 * libgimp/gimpmenu.[ch]: removed all brush, font, gradient
20897 and pattern related code.
20899 * libgimp/gimpbrushselect.[ch]
20900 * libgimp/gimpfontselect.[ch]
20901 * libgimp/gimpgradientselect.[ch]
20902 * libgimp/gimppatternselect.[ch]: new files containing the
20903 wrappers around their resp. _pdb.[ch] files. Changed function
20904 names to gimp_*_select_new(). Added gimp_*_select_destroy()
20905 functions so we're not forced to leak all wrappers. Cleanup.
20907 * libgimp/gimpbrushmenu.h
20908 * libgimp/gimpfontmenu.h
20909 * libgimp/gimpgradientmenu.h
20910 * libgimp/gimppatternmenu.h: new files. Changed function names
20913 * libgimp/gimpbrushmenu.c
20914 * libgimp/gimpfontmenu.c
20915 * libgimp/gimpgradientmenu.c
20916 * libgimp/gimppatternmenu.c: changed accordingly. Free the
20917 foo_select wrappers when they are no longer needed (generally,
20918 free everthing instead of leaking everything). Lots of cleanup.
20920 * libgimp/Makefile.am
20922 * libgimp/gimpui.def: changed accordingly.
20925 * libgimp/gimpui.h: include the new headers.
20927 * libgimp/gimpcompat.h: added the old function names here.
20929 * plug-ins/FractalExplorer/Dialogs.c
20930 * plug-ins/common/film.c
20931 * plug-ins/gfig/gfig.c
20932 * plug-ins/script-fu/script-fu-scripts.c: changed accordingly.
20934 2003-07-01 Sven Neumann <sven@gimp.org>
20936 * tools/authorsgen/contributors: removed a duplicate entry, added
20940 * app/gui/authors.h: regenerated.
20942 2003-07-01 Sven Neumann <sven@gimp.org>
20944 * app/base/base-enums.h
20945 * app/paint/paint-enums.h
20946 * app/tools/tools-enums.h: use /*< pdb-skip, skip >*/, updated the
20947 comment that explains how to use the trigraph sequences.
20949 * app/tools/tools-enums.c: regenerated.
20951 2003-06-30 Sven Neumann <sven@gimp.org>
20953 * app/gui/dialogs.c
20954 * app/gui/module-browser.c
20955 * app/gui/toolbox-menu.c: changed "Module Browser" to "Module
20956 Manager" as suggested in bug #116171.
20958 2003-06-29 Manish Singh <yosh@gimp.org>
20960 * tools/gimp-mkenums: handle options with -'s in them
20962 * tools/pdbgen/enumgen.pl: redo a bunch of logic for the below
20964 * app/core/core-enums.h: use /*< pdb-skip, skip >*/ for skipping
20965 in both gimp-mkenums and enumgen.pl
20967 * app/core/core-enums.c: regenerated
20969 2003-06-29 Michael Natterer <mitch@gimp.org>
20971 Getting rid of some legacy filenames:
20973 * app/core/Makefile.am
20974 * app/core/gimptooloptions.[ch]: new files.
20976 * app/paint/gimppaintoptions.h: changed #include accordingly.
20977 #define GIMP_PAINT_OPTIONS_CONTEXT_MASK here.
20979 * app/tools/paint_options.[ch]
20980 * app/tools/tool_options.[ch]: removed these files.
20982 * app/tools/gimppaintoptions-gui.[ch]
20983 * app/tools/gimptooloptions-gui.[ch]: new files.
20985 * app/tools/gimppainttool.h: removed GIMP_PAINT_TOOL_OPTIONS_MASK
20988 * app/tools/Makefile.am
20989 * app/tools/gimpairbrushtool.c
20990 * app/tools/gimpblendoptions.c
20991 * app/tools/gimpbucketfilloptions.c
20992 * app/tools/gimpclonetool.c
20993 * app/tools/gimpcoloroptions.[ch]
20994 * app/tools/gimpconvolvetool.c
20995 * app/tools/gimpcropoptions.[ch]
20996 * app/tools/gimpdodgeburntool.c
20997 * app/tools/gimperasertool.c
20998 * app/tools/gimpflipoptions.[ch]
20999 * app/tools/gimpinkoptions.c
21000 * app/tools/gimpmagnifyoptions.[ch]
21001 * app/tools/gimpmeasureoptions.[ch]
21002 * app/tools/gimpmoveoptions.[ch]
21003 * app/tools/gimppaintbrushtool.c
21004 * app/tools/gimppenciltool.c
21005 * app/tools/gimpselectionoptions.[ch]
21006 * app/tools/gimpsmudgetool.c
21007 * app/tools/gimptextoptions.[ch]
21008 * app/tools/gimptransformoptions.[ch]
21009 * app/tools/tool_manager.c
21010 * app/gui/tool-options-dialog.c: changed accordingly.
21012 * app/tools/tools.c: moved the vector tool before iscissors.
21014 2003-06-29 Michael Natterer <mitch@gimp.org>
21016 * app/widgets/gimpvectorstreeview.c
21017 (gimp_vectors_tree_view_toselection_extended_clicked): added
21018 missing gimp_image_flush(). Fixes bug #116190.
21020 2003-06-29 Manish Singh <yosh@gimp.org>
21022 * configure.in: fix --enable-default-binary
21024 2003-06-28 Dave Neary <bolsh@gimp.org>
21026 * plug-ins/common/pat.c: Save patterns with alpha
21027 channels, and remove warning while loading patterns
21028 with an alpha channel.
21030 * app/core/gimppattern.c
21031 * app/core/gimpdrawable-bucket-fill.c
21032 * app/paint/gimpclone.c: Make cloning from a pattern
21033 source, and bucket filling with a pattern, work when
21034 there's an alpha channel present in the pattern.
21036 I'm not particularly happy with this, because the only
21037 way to tell whether there's an alpha channel or not is
21038 by the number of bytes in the TempBuf the clone and
21039 bucketfill routines get passed, which is rather
21040 restrictive. It would be nice if a TempBuf had a
21041 _has_alpha () method.
21043 2003-06-28 Michael Natterer <mitch@gimp.org>
21045 * app/core/gimpcontext.h: removed enum GimpContextPropType and
21046 enum GimpContextPropMask.
21048 * app/core/core-enums.[ch]: added them here.
21050 * app/core/gimptoolinfo.[ch]: replaced "gboolean tool_context"
21051 member by "GimpContextPropMask context_props" so each tool can
21052 specify exactly which context properties it wants to have
21053 persistently remembered.
21055 * app/tools/tools-types.h: changed typedef GimpToolRegisterCallback
21058 * app/tools/tool_manager.[ch] (tool_manager_register_tool): ditto.
21060 Removed the "global_tool_context" and initialize all tool info
21061 objects from the user_context after creation. Removed the
21062 PAINT_OPTIONS_MASK #define and use the new context_props stored in
21065 * app/tools/gimppainttool.h: #define the common properties of the
21066 paint tools as GIMP_PAINT_TOOL_OPTIONS_MASK (which is OPACITY |
21067 PAINT_MODE | BRUSH).
21069 * app/tools/[all tools].c (gimp_*_tool_register): replaced the
21070 "use_context" boolean by the actual mask of context properties the
21073 2003-06-27 Manish Singh <yosh@gimp.org>
21075 * plug-ins/pygimp/gimpui.py: Missing self. reference. Fixes #115714.
21077 * plug-ins/pygimp/gimpui.py: Move item.show() in Selector so that all
21078 items are shown. Fixes bug #115715. Thanks to Dave Corrie for catching
21081 * plug-ins/pygimp/gimpfu.py: Always register as type PLUGIN, to
21082 reflect the recent changes in semantics.
21084 * plug-ins/pygimp/plug-ins/gimpcons.py
21085 * plug-ins/pygimp/plug-ins/pdbbrowse.py: s/extension/plug_in/ to
21086 reflect above, for consistency.
21088 * plug-ins/pygimp/gimpfu.py: Add a fail method which uses
21089 gimp.message and then raises an error.
21091 * plug-ins/pygimp/gimpmodule.c: remove declarations for
21092 gimp_extension_ack and gimp_extension_process, they are in gimp.h.
21094 * plug-ins/pygimp/gimpfu.py
21095 * plug-ins/pygimp/gimpui.py
21096 * plug-ins/pygimp/plug-ins/gimpcons.py
21097 * plug-ins/pygimp/plug-ins/pdbbrowse.py: Added pygtk.require('2.0').
21100 2003-06-28 Henrik Brix Andersen <brix@gimp.org>
21102 * app/gui/grid-dialog.c (cancel_callback): removed unneeded
21105 2003-06-27 Michael Natterer <mitch@gimp.org>
21107 * app/tools/gimpdrawtool.[ch] (gimp_draw_tool_is_active): new
21108 function which returns (draw_tool->gdisp != NULL).
21110 2003-06-27 Michael Natterer <mitch@gimp.org>
21112 * app/gui/dialogs.c (toplevel_entries): added an entry for the
21115 * app/tools/gimptexttool.c (gimp_text_tool_editor): register
21116 the editor window with the dialog factory so it becomes
21119 2003-06-27 Michael Natterer <mitch@gimp.org>
21121 * app/gui/grid-dialog.c: #include "config/gimpconfig.h"
21123 2003-06-26 Sven Neumann <sven@gimp.org>
21125 * Made 1.3.16 release.
21127 2003-06-26 Sven Neumann <sven@gimp.org>
21129 * app/widgets/gimpcontainergridview.c: select items on
21130 "button_press_event" not on "clicked". Makes the grid view behave
21131 like the list view and fixes bug #115797.
21133 2003-06-26 Sven Neumann <sven@gimp.org>
21135 * app/gui/file-new-dialog.c (file_new_dialog_new): don't set the
21136 focus on the size_entry. This change allows to accept the default
21137 values by pressing OK. Fixes bug #115876.
21139 2003-06-26 Michael Natterer <mitch@gimp.org>
21141 * app/gui/user-install-dialog.c (user_install_dialog_create):
21142 update copyright notice to "1995-2003". Fixes bug #116026.
21144 2003-06-26 Simon Budig <simon@gimp.org>
21146 * app/vectors/gimpbezierstroke.c: rewrote gimp_bezier_stroke_extend
21147 for the case when the neighbor is not really an end point of the
21148 stroke, but close enough to the end to still be acceptable.
21150 * app/tools/gimpvectortool.c: Make the tool behave sanely
21151 and more symetrically (both ends of a stroke behave basically the
21152 same now), gimp_draw_on_handle () now prefers the anchor passed
21153 into it via the *ret_anchor parameter over other preferred anchors.
21155 2003-06-25 Sven Neumann <sven@gimp.org>
21157 * app/text/gimptext-parasite.c (gimp_text_from_gdyntext_parasite):
21158 attempt to convert text from locale encoding.
21160 * app/vectors/gimpvectors-compat.c (gimp_vectors_compat_new):
21161 allow paths with zero points (bug # 115955).
21163 * plug-ins/script-fu/script-fu-server.c: if a connection to a
21164 client is lost, invalidate file descriptors in the command queue.
21165 Plugged a couple of memleaks.
21167 2003-06-25 Sven Neumann <sven@gimp.org>
21169 * app/text/gimptext-xlfd.[ch]: added convenience function
21170 gimp_text_set_font_from_xlfd(). Improved and documented XLFD parsing.
21172 * app/text/gimptext-parasite.c: use the new function.
21174 2003-06-25 Michael Natterer <mitch@gimp.org>
21176 * modules/cdisplay_colorblind.c (cdisplay_colorblind_load_state)
21177 * modules/cdisplay_gamma.c (cdisplay_gamma_load_state)
21178 * modules/cdisplay_highcontrast.c (cdisplay_contrast_load_state):
21179 gimp_parasite_data() returns a pointer to const data now.
21181 2003-06-25 Sven Neumann <sven@gimp.org>
21183 * configure.in: removed "id" from ALL_LINGUAS until all required
21184 po files have been added.
21186 2003-06-25 Mohammad DAMT <mdamt@bisnisweb.com>
21188 * po/id.po: Added Indonesian translation
21189 * configure.in: Added "id" to ALL_LINGUAS
21191 2003-06-25 Simon Budig <simon@gimp.org>
21193 * app/vectors/gimpbezierstroke.c: If an control handle gets
21194 converted to an edge simply move it to its next anchor.
21196 * app/tools/gimpvectortool.c: Improved interactive handling
21197 of vectors. Still work in progress, esp. I am not sure about
21198 the assignment of the modifier keys. Right now it is:
21200 Drag (Anchor/Handle): Regular Movement
21201 Shift-Click (Anchor): select multiple anchors (does not work yet)
21202 Shift-Drag: (Handle): move opposite handle symmetrically
21203 Ctrl-Drag (Anchor): Drag out control point
21204 S-C-Click: (Anchor/Handle): Convert to Edge
21206 2003-06-24 Sven Neumann <sven@gimp.org>
21208 * app/config/gimpconfig.[ch]: added new function
21209 gimp_config_serialize_to_fd() for the sake of completeness and
21210 since it's a nice way to generate debugging output.
21212 * app/text/Makefile.am
21213 * app/text/gimptext-xlfd.[ch]: new files with routines to handle X
21214 Logical Font Descriptions in an attempt to improve backwards
21217 * app/text/gimptext-parasite.[ch]
21218 * app/xcf/xcf-load.c: promote layers with GDynText parasite to
21219 GimpTextLayer. Work in progress, we need to improve font matching.
21221 2003-06-24 Michael Natterer <mitch@gimp.org>
21223 * app/widgets/gimpcontainertreeview.c
21224 (gimp_container_tree_view_select_item): put back the hack which
21225 calls gtk_tree_selection_select_iter() in addition to
21226 gtk_tree_view_set_cursor() until bug #115871 is fixed.
21228 2003-06-24 Sven Neumann <sven@gimp.org>
21230 Added persistent storage of text layers in XCF files. We use a
21231 parasite in order to keep the file format backwards compatible.
21234 * app/text/Makefile.am
21235 * app/text/gimptext-parasite.[ch]: new files that hold functions
21236 to convert a GimpText object to a GimpParasite and back.
21238 * app/text/gimptextlayer.[ch]: added an ugly hack that allows to
21239 convert a normal layer to a text layer.
21241 * app/xcf/xcf-save.c: when saving a text layer, store an extra
21242 parasite that holds all information about the text.
21244 * app/xcf/xcf-load.c: if a "gimp-text-layer" parasite is found and
21245 it can be successfully deserialized to a GimpText object, convert
21246 the layer to a text layer and remove the parasite.
21248 * app/Makefile.am: had to change linkage order.
21250 * devel-docs/parasites.txt: documented the new "gimp-text-layer"
21253 * app/gui/session.c (session_save): plugged a minor memory leak.
21255 2003-06-24 Sven Neumann <sven@gimp.org>
21257 * app/config/gimpscanner.c: store file descriptor and filename in
21258 a private struct instead of using internals of GScanner. Should
21259 fix problems on Win32 reported by Hans Breuer.
21261 2003-06-24 Sven Neumann <sven@gimp.org>
21263 * plug-ins/script-fu/scripts/Makefile.am
21264 * plug-ins/script-fu/scripts/spyrogimp.scm
21265 * plug-ins/script-fu/scripts/trochoid.scm: replaced Trochoid
21266 script with the more advanced Spyrogimp (bug #115290).
21268 * plug-ins/script-fu/scripts/grid-system.scm: renamed menu entry.
21270 2003-06-24 Sven Neumann <sven@gimp.org>
21272 * tools/pdbgen/pdb/image.pdb: changed the maximum preview
21273 dimensions in gimp_image_get_thumbnail() to the limit implied by
21274 the core preview system (GIMP_VIEWABLE_MAX_PREVIEW_SIZE). Fixes
21277 * libgimp/gimpimage_pdb.c
21278 * app/pdb/image_cmds.c: regenerated.
21280 2003-06-24 Michael Natterer <mitch@gimp.org>
21282 * app/core/gimpimage-undo-push.c (undo_pop_image_grid)
21283 * app/core/gimpimage.c (gimp_image_set_grid): ref/unref the grid.
21285 * app/gui/view-commands.c (view_configure_grid_cmd_callback): set
21286 the dialog transient for the shell, make shell->grid_dialog a
21287 weak pointer of the grid dialog.
21289 * app/gui/grid-dialog.c: don't set shell->grid_dialog to NULL
21290 here, attach the grid using g_object_set_data_full() and don't
21291 unref it explicitely. Use gimp_config_is_equal_to() instead of
21292 gimp_config_diff().
21294 2003-06-24 Sven Neumann <sven@gimp.org>
21296 * plug-ins/common/grid.c (dialog): update the preview when the
21297 intersection color changes.
21299 2003-06-24 Henrik Brix Andersen <brix@gimp.org>
21301 * app/core/gimpgrid.[ch]: derive GimpGrid from GimpObject (not
21302 GObject) allowing us to use gimp_object_get_memsize(). Added
21303 missing copyright notice.
21305 * app/core/gimpimage.c: only call gimp_object_get_memsize() if
21306 gimage->grid != NULL.
21308 * app/gui/grid-dialog.c: added mnemonics, set shell->grid_dialog
21309 to NULL when destroyed.
21311 * app/gui/view-commands.c (view_configure_grid_cmd_callback):
21312 added call to gtk_window_present()
21314 * app/core/gimpimage-undo-push.c (undo_pop_image_grid): removed
21315 superflous call to gimp_image_grid_changed().
21317 2003-06-23 Sven Neumann <sven@gimp.org>
21319 * app/config/gimpconfig.[ch]
21320 * app/config/gimpconfigwriter.[ch]
21321 * app/config/gimpscanner.[ch]: added support for serializing to
21322 and deserializing from strings. Had to do some smaller changes to
21323 the GimpConfig API.
21325 * app/config/test-config.c: added a simple test for the new
21328 * app/config/gimpconfig-dump.c
21329 * app/config/gimprc.c
21330 * app/core/gimp-documents.c
21331 * app/core/gimp-parasites.c
21332 * app/core/gimp-templates.c
21333 * app/core/gimpunits.c
21334 * app/gui/session.c
21335 * app/plug-in/plug-in-rc.c
21336 * app/tools/tool_options.c
21337 * app/widgets/gimpdevices.c: follow GimpConfig API changes.
21339 * libgimpbase/gimpparasite.[ch]: declared the return value of
21340 gimp_parasite_data() as gconstpointer.
21342 2003-06-23 Henrik Brix Andersen <brix@gimp.org>
21344 Added a per image configurable grid. This fixes bug #65198.
21346 * app/core/Makefile.am
21347 * app/core/core-types.h:
21348 * app/core/gimpgrid.[ch]: added new class GimpGrid.
21350 * app/core/core-enums.[ch]: added new enum GimpGridType.
21352 * app/core/gimpimage-guides.[ch]: removed the gimp_image_snap_*()
21355 * app/core/gimpimage-snap.[ch]: ...and added them here since they
21356 are no longer guide specific.
21358 * app/core/gimpimage-undo-push.[ch]: added
21359 gimp_image_undo_push_image_grid()
21361 * app/display/gimpdisplayshell-handlers.c:
21362 * app/core/gimpimage.[ch]: added grid member to _GimpImage. Added
21363 new signal "grid_changed", added gimp_image_grid_changed(),
21364 gimp_image_get_grid() and gimp_image_set_grid().
21366 * app/display/gimpdisplayshell-appearance.[ch]: added
21367 gimp_display_shell_set_show_grid(),
21368 gimp_display_shell_get_show_grid(),
21369 gimp_display_shell_set_snap_to_grid() and
21370 gimp_display_shell_get_snap_to_grid().
21372 * app/display/gimpdisplayshell-callbacks.c: added call to
21373 gimp_display_shell_draw_grid()
21375 * app/display/gimpdisplayshell.[ch]: added grid member to
21376 _GimpDisplayShellVisibility, added snap_to_grid and grid_dialog
21377 members to _GimpDisplayShell, added
21378 gimp_display_shell_draw_grid(), modified
21379 gimp_display_shell_snap_coords() to use the new
21380 gimp_image_snap_*() functions.
21382 * app/gui/image-menu.c: added grid entries to
21383 image_menu_entries[].
21385 * app/gui/view-commands.[ch]: added
21386 view_configure_grid_cmd_callback(),
21387 view_toggle_grid_cmd_callback() and
21388 view_snap_to_grid_cmd_callback().
21390 * app/gui/Makefile.am
21391 * app/gui/grid-dialog.[ch]: added a grid dialog.
21393 2003-06-23 Michael Natterer <mitch@gimp.org>
21395 * app/plug-in/plug-in.[ch]: added separate GMainLoops for waiting
21396 for extension_ack and for procedure_run's return value. The stack
21397 of main loops is currently unused, it will be used for temp_proc
21398 return values (which are currently disabled for no good reason).
21399 Removed the boolean "recurse" and "starting_ext" states because
21400 they are redundant now (we check for the presence of the dedicated
21401 main loops instead).
21403 * app/plug-in/plug-in-message.c
21404 * app/plug-in/plug-in-progress.c
21405 * app/plug-in/plug-in-run.c: changed accordingly.
21407 2003-06-23 Sven Neumann <sven@gimp.org>
21409 * data/misc/gimp.desktop.in.in: announce the fact that we
21410 understand URI lists as command-line parameters.
21412 2003-06-23 Michael Natterer <mitch@gimp.org>
21414 * app/app_procs.c (app_init): enabled passing of file: URIs
21415 as command line parameters.
21417 2003-06-23 Sven Neumann <sven@gimp.org>
21421 * data/misc/Makefile.am: renamed --with-gnome-datadir configure
21422 option to --with-desktop-dir because it is not GNOME specific.
21424 * configure.in: removed "sr" and "sr@Latn" from ALL_LINGUAS until
21425 all required po files have been added.
21427 2003-06-23 Danilo Ć
Ā egan <dsegan@gmx.net>
21429 * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
21431 2003-06-23 Sven Neumann <sven@gimp.org>
21433 * configure.in: simplified exif check by using PKG_CHECK_MODULES().
21435 * plug-ins/common/mkgen.pl: allow for multiple library dependencies.
21437 * plug-ins/common/plugin-defs.pl: added exif dependency to the
21440 * plug-ins/common/Makefile.am: regenerated.
21442 2003-06-22 Dave Neary <bolsh@gimp.org>
21445 * plug-ins/common/Makefile.am
21446 * plug-ins/common/jpeg.c: Added support for the keeping of EXIF
21447 information in jpeg files. This is step 1 in the overall plan to
21448 an all-singing, all-dancing metadata editor. Next step is to do
21449 the same thing for TIFFs, then to do both properly as a number of
21450 parasites rather than one big one, and then to allow a generic
21451 metadata editor, as well as (possibly) adding a nice way to
21452 manipulate exif data in the jpeg plug-in while saving.
21454 This is a modified patch of one posted to the devel list by Lutz
21455 Muller in February 2002, and subsequently added to bug #56443.
21456 Sorry it took so long Lutz.
21458 2003-06-22 Dave Neary <bolsh@gimp.org>
21460 * app/config/gimpbaseconfig.c: Increased default tile cache size
21463 2003-06-22 Sven Neumann <sven@gimp.org>
21465 * data/misc/gimp.desktop.in.in: added Encoding, StartupNotify and
21468 2003-06-22 Sven Neumann <sven@gimp.org>
21470 * etc/ps-menurc: an updated version of PotatoShop keybindings
21471 contributed by Eric Pierce <epierce@sdf.lonestar.org>.
21473 2003-06-21 Michael Natterer <mitch@gimp.org>
21475 * app/widgets/gimpcontainergridview.c
21476 * app/widgets/gimpcontainertreeview.c: disable workarounds for
21477 bugs #110737 and #108956 for GTK+ >= 2.2.2. Will remove them as
21478 soon as we depend on 2.2.2.
21480 * app/widgets/gimpcontainertreeview.c
21481 (gimp_container_tree_view_select_item): disabled optimization
21482 which didn't select an already selected iter because it broke the
21483 fix for #108956. Cleanup.
21485 2003-06-21 Sven Neumann <sven@gimp.org>
21487 * libgimpcolor/gimpcolorspace.c (gimp_hsv_to_rgb_int): removed
21488 calls to ROUND() in two places where they should not have been
21489 added. Fixes bug #115626.
21491 2003-06-20 Dave Neary <bolsh@gimp.org>
21493 * app/config/gimpdisplayconfig.c: Enable menus on image windows by
21496 2003-06-20 Michael Natterer <mitch@gimp.org>
21498 * tools/pdbgen/pdb/message.pdb (message): use
21499 plug_in_get_undo_desc() instead of duplicating its code.
21501 * app/pdb/message_cmds.c: regenerated.
21503 2003-06-20 Michael Natterer <mitch@gimp.org>
21505 * app/gui/plug-in-commands.c (plug_in_run_cmd_callback): pass the
21506 gdisp_ID to plug_in_run() again. Broke this with my last commit...
21508 2003-06-20 Sven Neumann <sven@gimp.org>
21510 * libgimp/gimp.c (gimp_config): fixed error messages.
21512 * app/widgets/gimpwidgets-utils.c (gimp_message_box): use a
21513 selectable label so you can copy from message dialogs.
21515 2003-06-20 Michael Natterer <mitch@gimp.org>
21517 Really commit the changes this time:
21519 * configure.in: bumped version number to 1.3.16.
21521 * libgimpbase/gimpprotocol.h: increased protocol version number so
21522 old extensions will refuse to load.
21524 2003-06-19 Sven Neumann <sven@gimp.org>
21526 * libgimp/gimp.[ch]: documentation fixes.
21528 2003-06-19 Michael Natterer <mitch@gimp.org>
21530 Changed the semantics of GIMP_EXTENSION and (to some extent)
21533 The old meaning of EXTENSION was "I live in the toolbox" and
21534 PLUGIN meant "I take RUN-MODE,IMAGE,DRAWABLE args (but only if I
21535 am invoked interactively)". This is completely useless, since
21536 living in the toolbox means having "<Toolbox>" in the menu_path
21537 and taking RUN-MODE,IMAGE,DRAWABLE means just that, regardless of
21538 what type of procedure we are.
21540 The new meaning of GIMP_PLUGIN is just "I am an ordinary procedure,
21541 I am invoked, do my job and finish", while GIMP_EXTENSION means
21542 "I will install temporary procedures and I will keep running to
21543 keep them available".
21545 (A GIMP_EXTENSION *must* call gimp_extension_ack() now to tell the
21546 core that it's ready to run, or the core will block waiting for
21549 * configure.in: bumped version number to 1.3.16.
21551 * libgimpbase/gimpprotocol.h: increased protocol version number so
21552 old extensions will refuse to load.
21554 * app/gui/plug-in-commands.c (plug_in_run_cmd_callback): don't
21555 blindly pass RUN-MODE,IMAGE,DRAWABLE to GIMP_PLUGIN procedures but
21556 look at their parameters and pass them either RUN-MODE, or
21557 RUN-MODE,IMAGE, or RUN-MODE,IMAGE,DRAWABLE.
21559 * app/pdb/procedural_db.c: cleaned up, better error reporting,
21560 replaced an impossible error message by g_return_if_fail()
21562 * app/plug-in/plug-in-message.c (plug_in_handle_proc_install):
21563 better error messages.
21565 * app/plug-in/plug-in-params.c: allocate parameter arrays using
21566 g_new0() so we don't have to worry about uninitialized stuff
21569 * app/plug-in/plug-in-run.c (plug_in_run): wait for
21570 gimp_extension_ack() installation confirmation for ALL extensions,
21571 not just for automatically started ones.
21573 * app/plug-in/plug-ins.c: cleanup.
21575 * libgimp/gimp.[ch]: cleaned up and API-documented massively. Made
21576 all magic values given in the GPConfig message static and added
21577 accessor functions for them. Added gimp_tile_width()/height().
21578 Added new function gimp_extension_enable() which turns on
21579 asynchronous processing of temp_proc run requests without having
21580 to enter an endless gimp_extension_process() loop. Moved all
21581 private functions to the end of the file. Added tons of
21582 g_return_if_fail() all over the place. Call gimp_run_procedure2()
21583 from gimp_run_procedure() instead of duplicating the
21584 code. Indentation, spacing, stuff...
21586 * libgimp/gimptile.[ch]: removed gimp_tile_width()/height().
21588 * libgimp/gimpdrawable.c
21589 * libgimp/gimppixelrgn.c
21590 * libgimp/gimptile.c: use the gimp_tile_width()/height() accessor
21593 * libgimp/gimp.def: added gimp_extension_enable.
21595 * libgimp/gimpmenu.c: removed evil code which connected to
21596 _readchannel manually and use gimp_extension_enable() for watching
21599 * plug-ins/helpbrowser/helpbrowser.c: removed the same evil code
21600 here and call gimp_extension_enable(). Call gimp_extension_ack()
21601 to let the core know that the temp_proc is installed.
21603 * plug-ins/script-fu/script-fu.c: made all procedures except the
21604 permanently running "extension_script_fu" ordinary GIMP_PLUGIN
21607 * plug-ins/common/curve_bend.c
21608 * plug-ins/common/plugindetails.c
21609 * plug-ins/common/screenshot.c
21610 * plug-ins/common/uniteditor.c
21611 * plug-ins/common/winclipboard.c
21612 * plug-ins/dbbrowser/dbbrowser.c
21613 * plug-ins/gfli/gfli.c
21614 * plug-ins/twain/twain.c
21615 * plug-ins/webbrowser/webbrowser.c
21616 * plug-ins/winsnap/winsnap.c: made them all ordinary GIMP_PLUGIN
21617 procedures and renamed them from "extension_*" to "plug_in_*".
21620 * app/widgets/gimphelp.c
21621 * plug-ins/maze/maze_face.c: call "plug_in_web_browser" now.
21623 2003-06-19 Sven Neumann <sven@gimp.org>
21625 * libgimp/gimpmenu.c: when idle dispatching calls to plug-ins, use
21626 the data from the last call, not the first one. This fixes some
21627 weird behaviour that the brush/font/gradient/pattern selection
21628 widgets showed under certain circumstances.
21630 * plug-ins/gfig/gfig.c (select_brush_callback): removed debugging
21631 output that I forgot to remove before my last commit.
21633 2003-06-19 Sven Neumann <sven@gimp.org>
21635 * plug-ins/FractalExplorer/Dialogs.c
21636 * plug-ins/common/film.c
21637 * plug-ins/script-fu/script-fu-scripts.c: adapt to libgimp API
21640 2003-06-19 Hans Breuer <hans@breuer.org>
21642 * makefile.msc : replace the win9x specific cd ....
21643 with the portable cd ..\..\..
21645 * **/makefile.msc : updated
21647 * plug-ins/xjt/xjt.c plug-ins/common/psd_save.c :
21648 there is still no unistd.h with msvc build
21650 2003-06-17 Sven Neumann <sven@gimp.org>
21652 * plug-ins/gfig/gfig.c: raise the brush selection dialog if there
21653 is one already; various code cleanups. Fixes #82475.
21655 2003-06-17 Sven Neumann <sven@gimp.org>
21657 * plug-ins/script-fu/scripts/select-to-brush.scm: added a missing
21658 call to gimp-drawable-fill for the RGB case. Fixed description,
21659 restore selection and delete the temporary channel. Fixes bug
21662 2003-06-17 Sven Neumann <sven@gimp.org>
21664 * libgimp/gimpfontmenu.c
21665 * libgimp/gimpgradientmenu.c
21666 * libgimp/gimpmenu.h: minor cleanups.
21668 * libgimp/gimpbrushmenu.c
21669 * libgimp/gimppatternmenu.c: destroy the popup window instead of
21670 hiding it on button_release.
21672 2003-06-17 Sven Neumann <sven@gimp.org>
21674 * app/gui/brush-select.c (opacity_scale_update): update the
21675 BrushSelect "object" when the brush opacity is changed.
21677 * libgimp/gimpmenu.[ch]
21678 * libgimp/gimpbrushmenu.c
21679 * libgimp/gimpfontmenu.c
21680 * libgimp/gimpgradientmenu.c
21681 * libgimp/gimppatternmenu.c: raise selection dialogs when being
21682 called again, marked strings for translation, added lots of const
21683 qualifiers, cleaned up code.
21685 * tools/pdbgen/pdb/brushes.pdb
21686 * tools/pdbgen/pdb/drawable.pdb
21687 * tools/pdbgen/pdb/image.pdb
21688 * tools/pdbgen/pdb/patterns.pdb: use g_memdup() instead of
21691 * app/pdb/brushes_cmds.c
21692 * app/pdb/drawable_cmds.c
21693 * app/pdb/image_cmds.c
21694 * app/pdb/patterns_cmds.c: regenerated.
21696 2003-06-16 Adam D. Moss <adam@gimp.org>
21698 * plug-ins/common/gif.c: Attempt to use the palette colour
21699 closest to that of the GIMP's current brush background colour
21700 for the GIF file's background index hint for non-transparency-aware
21701 image viewers. NOTE that this is merely a hint and may be
21702 ignored by this plugin for various (rare) reasons that
21703 would usually entail writing a somewhat larger image file.
21705 2003-06-16 Sven Neumann <sven@gimp.org>
21707 * libgimpcolor/gimpcolorspace.c: Applied a patch from S. Mukund
21708 <muks@mukund.org> fixing rounding problems that caused bug #55261.
21710 2003-06-16 Michael Natterer <mitch@gimp.org>
21712 * tools/pdbgen/pdb/brush_select.pdb (brush_args): don't fail on
21713 brush_spacing values < 0, but behave as documented (use the
21714 brush's own spacing).
21716 * tools/pdbgen/pdb/brush_select.pdb
21717 * tools/pdbgen/pdb/font_select.pdb
21718 * tools/pdbgen/pdb/gradient_select.pdb
21720 * tools/pdbgen/pdb/pattern_select.pdb: gtk_window_present() the
21721 dialog on each set_popup(). This way the dialogs can be risen via
21722 the PDB by setting the already selected object. Replaced
21723 unreadable variable names by verbose ones.
21725 * app/pdb/brush_select_cmds.c
21726 * app/pdb/font_select_cmds.c
21727 * app/pdb/gradient_select_cmds.c
21728 * app/pdb/pattern_select_cmds.c: regenerated.
21730 2003-06-16 Sven Neumann <sven@gimp.org>
21732 * plug-ins/gfig/gfig.c: minor GUI cleanups.
21734 2003-06-16 Adam D. Moss <adam@gimp.org>
21736 * plug-ins/common/psd.c: Avoid memory corruption when things
21737 get shot to hell in the image unpacking phase.
21739 2003-06-16 Sven Neumann <sven@gimp.org>
21741 * app/gui/file-open-dialog.c (file_open_dialog_set_type): don't
21742 call file_dialog_update_name() here. Fixes bug #112273.
21744 2003-06-16 Michael Natterer <mitch@gimp.org>
21746 * plug-ins/dbbrowser/dbbrowser_utils.c: minor cleanups.
21747 (struct dbbrowser_t): use GimpDBBrowserApplyCallback type instead
21748 of duplicating its signature when specifying the "apply_callback"
21749 member. Minor cleanups
21751 2003-06-16 Michael Natterer <mitch@gimp.org>
21753 * plug-ins/script-fu/script-fu-scripts.c (script_fu_find_scripts):
21754 use gimp_datafiles_read_directories() instead of doing the same
21757 * plug-ins/script-fu/siod-wrapper.c (siod_init): s/gint/gboolean/.
21759 2003-06-16 Sven Neumann <sven@gimp.org>
21761 * plug-ins/script-fu/script-fu-console.c
21762 (script_fu_console_interface): set focus on the entry widget.
21764 2003-06-14 Sven Neumann <sven@gimp.org>
21766 * app/gui/image-menu.c (image_menu_entries): removed duplicate of
21767 Threshold menu entry.
21769 2003-06-13 Sven Neumann <sven@gimp.org>
21771 * app/gui/info-window.c
21772 * libgimpcolor/gimpcolorspace.c
21773 * libgimpcolor/gimprgb.c
21774 * libgimpwidgets/gimpcolorscales.c
21775 * libgimpwidgets/gimpcolorselect.c: use ROUND() where appropriate.
21777 * libgimpwidgets/gimpcolorarea.c (gimp_color_area_render): use
21778 gimp_rgb_get_uchar().
21780 2003-06-13 Michael Natterer <mitch@gimp.org>
21782 Cleaned up and improved the message system:
21784 * app/core/gimp.[ch]: added "const gchar *domain" to
21785 GimpMessageFunc (a NULL domain means the message is from the GIMP
21786 core, everything else is a plug-in).
21788 * app/errors.c: pass "domain == NULL" to gimp_message().
21790 * tools/pdbgen/pdb/message.pdb: derive the message domain from the
21791 current plug-in's menu_path (evil hack but works reasonably well).
21793 * app/pdb/message_cmds.c: regenerated.
21795 * app/widgets/gimpwidgets-utils.[ch] (gimp_message_box): added a
21796 header showing the message domain and changed the dialog layout to
21797 follow the HIG more closely.
21799 * app/gui/error-console-dialog.[ch]: removed.
21801 * app/widgets/gimperrorconsole.[ch]
21802 * app/gui/error-console-commands.[ch]
21803 * app/gui/error-console-menu.[ch]: new files containing a
21804 re-implementation of the error console dialog.
21806 * app/gui/Makefile.am
21807 * app/gui/dialogs-constructors.c
21810 * app/widgets/Makefile.am
21811 * app/widgets/widgets-types.h: changed accordingly.
21813 * app/display/gimpprogress.c: added more spacing and removed the
21814 separator (more HIG compliant).
21816 * plug-ins/[most plug-ins].c: Changed lots of messages and
21819 - Removed plug-in names from messages since that's automatically
21820 covered by "domain" now.
21821 - Put all filenames in ''.
21822 - Changed "Loading" to "Opening".
21823 - Added "..." to all progress messages.
21824 - Cleaned up all file open/save error messages to look the
21825 same and include g_strerror(errno).
21826 - Removed special casing for progress bars and *always* show them,
21827 not only if run_mode != GIMP_RUN_NONINTERACTIVE (we can't expect
21828 all plug-ins to do this correctly but need to hack the core to
21829 sort out unwanted progress bars).
21833 - Cleaned up indentation, spacing, #includes, coding style and
21834 other stuff while I was at all these files.
21836 2003-06-13 Sven Neumann <sven@gimp.org>
21838 * app/gui/file-save-dialog.c (file_save_ok_callback): removed
21839 code for the slimy-easter-egg that was unveiled some time ago.
21841 2003-06-13 Sven Neumann <sven@gimp.org>
21843 Attempt to finally fix Smudge tool problems (bug #115057):
21845 * app/paint-funcs/paint-funcs-generic.h (blend_pixels): added an
21846 implementation for the non-alpha case.
21848 * app/paint/gimpsmudge.c (gimp_smudge_start): added back code that
21849 used to prefill the buffer if the inital area was clipped.
21851 2003-06-13 Sven Neumann <sven@gimp.org>
21853 * app/core/gimptemplate.c (gimp_template_create_image): fixed a
21854 typo I introduced yesterday.
21856 2003-06-12 Dave Neary <bolsh@gimp.org>
21858 * plug-ins/common/tga.c: Applied a patch from Yohei Honda
21859 <yoh2@d2.dion.ne.jp> to handle 16 bit TGAs which use the
21860 spare bit to do alpha. Closes bug #114913.
21862 2003-06-12 Michael Natterer <mitch@gimp.org>
21864 * app/core/gimpdrawable.c (gimp_drawable_configure): removed the
21865 check again because adding e.g. GRAY drawables to RGB images is
21866 prefectly ok as long as they are channels/masks.
21868 2003-06-12 Sven Neumann <sven@gimp.org>
21870 * app/core/gimpdrawable.c (gimp_drawable_configure): check if the
21871 drawable type fits to the image. This assertion would have catched
21874 * app/core/gimptemplate.c (gimp_template_create_image): handle all
21875 fill types, fixes bug #114979.
21877 2003-06-11 Sven Neumann <sven@gimp.org>
21879 * app/gui/info-window.c
21880 * libgimpwidgets/gimpcolorscales.c
21881 * libgimpwidgets/gimpcolorselect.c: applied some slightly modified
21882 patches from Michael Bushey that fix rounding errors when
21883 converting between color values in gdouble and guchar
21884 representation (bug #109241).
21886 * libgimpcolor/gimpcolorspace.c
21887 * libgimpcolor/gimprgb.c: similar fixes here.
21889 2003-06-11 Michael Natterer <mitch@gimp.org>
21891 * app/config/gimpcoreconfig.[ch]
21892 * app/config/gimprc-blurbs.h: removed "tool-plug-in-path" property.
21894 * app/gui/preferences-dialog.c: changed accordingly. Some
21895 preparation for more HIG compliance.
21897 2003-06-11 Sven Neumann <sven@gimp.org>
21899 * libgimpwidgets/gimpcolorselect.c: handle all mouse buttons
21900 equally, cleaned up code, fixed return values from event handlers.
21902 2003-06-11 Michael Natterer <mitch@gimp.org>
21904 * app/core/gimpdrawable.c (gimp_drawable_mask_bounds): added some
21905 more g_return_if_fail() to avoid NULL pointer dereferencing.
21907 2003-06-11 Sven Neumann <sven@gimp.org>
21909 * plug-ins/common/pnm.c (pnm_load_raw): improved handling of
21910 invalid PGM files by clamping all pixel values to the specified
21911 maximum value (see Debian bug #195066).
21913 2003-06-11 Sven Neumann <sven@gimp.org>
21915 * app/widgets/gimptoolbox.[ch]: added a container that keeps
21916 references to the buttons which are not added to the wrap box.
21917 Just to make sure they are destroyed on exit.
21919 2003-06-11 Sven Neumann <sven@gimp.org>
21922 * etc/sessionrc: added a sample sessiorc which will be used after
21925 * app/gui/user-install-dialog.c (tree_items): install the sample
21928 2003-06-11 Sven Neumann <sven@gimp.org>
21930 * app/paint-funcs/paint-funcs-generic.h (blend_pixels): fixed my
21931 latest fix. Fixes bug #114882.
21933 2003-06-10 Sven Neumann <sven@gimp.org>
21935 * app/widgets/gimpwidgets-utils.[ch]: added utility function
21936 gimp_rgb_get_gdk_color(), documented gimp_get_screen_resolution().
21938 * app/widgets/gimppreviewrenderer.c
21939 (gimp_preview_renderer_set_border_color)
21940 * app/display/gimpdisplayshell-appearance.c
21941 (gimp_display_shell_set_padding): use the new function.
21943 2003-06-10 Sven Neumann <sven@gimp.org>
21945 * app/gui/tools-commands.c (tools_select_cmd_callback): expects
21946 the tool identifier as a GQuark now.
21948 * app/gui/image-menu.c: changed accordingly. Removed code that
21949 used to move the menu entries for the color correction tools to
21950 the Layers menu. Added the respective menu entries by hand. Added
21951 a menu entry for arbitrary rotations and one for Select by Color.
21953 * app/tools/gimpbrightnesscontrasttool.c
21954 * app/tools/gimpbycolorselecttool.c
21955 * app/tools/gimpcolorbalancetool.c
21956 * app/tools/gimpcolorizetool.c
21957 * app/tools/gimpcurvestool.c
21958 * app/tools/gimphistogramtool.c
21959 * app/tools/gimphuesaturationtool.c
21960 * app/tools/gimplevelstool.c
21961 * app/tools/gimpposterizetool.c
21962 * app/tools/gimpthresholdtool.c: register the color correction
21963 tools in the Tools menu.
21965 * app/tools/gimptransformtool.c: added an initialize method and
21966 moved most initalization code from button_press to this place.
21968 2003-06-10 Michael Natterer <mitch@gimp.org>
21970 * plug-ins/common/film.c: treeviewized and undeprecated. Enabled
21971 multiple selection and DND reordering.
21973 2003-06-10 Michael Natterer <mitch@gimp.org>
21975 * plug-ins/script-fu/scripts/coffee.scm: added an undo group
21976 around all operations.
21978 * plug-ins/script-fu/scripts/distress-selection.scm: replaced
21979 undo disable/enable by an undo group.
21981 Together fixes bug #114493. Removed weird spacing and indented
21982 both scripts to make them readable.
21984 2003-06-09 Sven Neumann <sven@gimp.org>
21986 * Made 1.3.15 release.
21988 2003-06-09 Sven Neumann <sven@gimp.org>
21991 * plug-ins/Makefile.am: use automake conditionals for
21992 subdirectories so that they will always be included in the
21995 2003-06-09 Sven Neumann <sven@gimp.org>
21997 * app/paint/gimpsmudge.c (gimp_smudge_start): now that
21998 blend_pixels() behaves correctly, we can simply initialize the
21999 smudge buffer with transparent pixels.
22001 2003-06-09 Sven Neumann <sven@gimp.org>
22003 * app/paint-funcs/paint-funcs-generic.h (blend_pixels): weight
22004 pixels by their alpha value. Fixes the smudge tool (bug #72879).
22006 2003-06-09 Sven Neumann <sven@gimp.org>
22008 * plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
22009 use a GimpScaleEntry for SF_SLIDER adjustments (bug #114509).
22011 2003-06-08 Maurits Rijk <lpeek.mrijk@consunet.nl>
22013 * plug-ins/imagemap/imap_csim_parse.h
22014 * plug-ins/imagemap/imap_csim_lex.c: regenerated. Should now finally
22017 * plug-ins/imagemap/Makefile.am: Added rules for regenerating
22018 csim_xxx_parse.h files.
22020 2003-06-08 Michael Natterer <mitch@gimp.org>
22022 * app/widgets/gimpfontselection-dialog.c
22023 (gimp_font_selection_dialog_new): pack the main table expanding,
22024 not shrinking. Fixes bug #114656.
22026 2003-06-06 Michael Natterer <mitch@gimp.org>
22028 * libgimpwidgets/gimpmemsizeentry.c: added a default spacing of
22029 two pixels between the entry end the menu. Random cleanups.
22031 2003-06-06 Michael Natterer <mitch@gimp.org>
22033 * app/widgets/Makefile.am
22034 * app/widgets/gimptoolbox-dnd.[ch]: new files containing the
22035 toolbox' drop callbacks. Exports gimp_toolbox_dnd_init().
22037 * app/widgets/gimptoolbox.c: removed the callbacks and all the
22038 "core/" includes they needed and call gimp_toolbox_dnd_init().
22040 2003-06-06 Sven Neumann <sven@gimp.org>
22042 * app/core/gimptoolinfo.[ch]: added "in_toolbox"; defaults to TRUE.
22044 * app/tools/tool_manager.c: set "in_toolbox" to FALSE for tools
22045 derived from GimpImageTool.
22047 * app/widgets/gimptoolbox.c: respect the new flag when constructing
22050 2003-06-06 Jakub Steiner <jimmac@ximian.com>
22052 * themes/Default/images/tools/stock-tool-smudge-16.png
22053 * themes/Default/images/tools/stock-tool-smudge-22.png: make it
22054 more clear it's a smudge tool, not a path tool.
22056 2003-06-06 Sven Neumann <sven@gimp.org>
22058 * libgimp/gimpexport.c (confirm_save_dialog): fixed button order.
22060 2003-06-06 Sven Neumann <sven@gimp.org>
22062 * tools/pdbgen/pdb/message.pdb: UTF-8 validate messages before
22063 passing them to g_message().
22065 * app/pdb/message_cmds.c
22066 * libgimp/gimpmessage_pdb.c: regenerated.
22068 2003-06-06 Maurits Rijk <lpeek.mrijk@consunet.nl>
22070 * plug-ins/script-fu/scripts/addborder.scm: fix for #114495
22071 (Script-Fu: Add Border can't be (complete) undone.)
22073 2003-06-06 Sven Neumann <sven@gimp.org>
22075 * plug-ins/gfig/gfig.c (gfig_save_callbk): fixed broken usage of
22076 g_strconcat() that caused a crash (bug #114564).
22078 2003-06-06 Michael Natterer <mitch@gimp.org>
22080 * app/gui/image-menu.c
22081 * app/gui/toolbox-menu.c: moved the convenience items which
22082 create new docks from the "Dialogs/" level to a new
22083 "Dialogs/Create New Dock/" sub-menu. Fixes bug #111278.
22085 * app/gui/dialogs-commands.[ch] (dialogs_create_data_cmd_callback):
22086 new convenience constructor callback. Factored out duplicated
22087 code to the new dialogs_create_dock() utility function.
22089 2003-06-06 Michael Natterer <mitch@gimp.org>
22091 * app/gui/image-menu.c: added CW/CCW to the "Rotate" menu entries
22092 as suggested in bug #57797. Cleaned up image_menu_update().
22094 2003-06-06 Sven Neumann <sven@gimp.org>
22096 * plug-ins/common/CML_explorer.c (CML_save_to_file_callback): use
22097 gtk_window_present() instead of reimplementing its functionality.
22099 2003-06-06 Maurits <lpeek.mrijk@consunet.nl>
22101 * plug-ins/script-fu/scripts/old-photo.scm: fix for #114496
22102 (Script-Fu: Old Photo can't be completely undone)
22104 * plug-ins/common/CML_explorer.c: fix for #83947 (CML explorer:
22105 multiple instantiations of Load Parameters dialog)
22107 2003-06-06 Michael Natterer <mitch@gimp.org>
22109 * app/widgets/gimpitemfactory.c (gimp_item_factory_set_label):
22110 use gtk_label_set_text_with_mnemonic() instead of just
22111 gtk_label_set_text().
22113 * app/gui/image-menu.c
22114 * app/gui/toolbox-menu.c: added mnemonics for all sub-menus.
22117 * app/gui/image-menu.c: cleaned up the "Layers" menu: moved
22118 sub-menus together. Changed the "Stack" menu's labels and
22119 accelerators and added "Select Top/Bottom Layer" for consistency
22120 (bound to Home/End).
22122 * app/gui/layers-commands.[ch]: changed accordingly. Added the
22123 new select top/bottom callbacks.
22125 2003-06-05 Sven Neumann <sven@gimp.org>
22127 * app/tools/gimpcolortool.c: removed unneeded includes.
22129 * app/tools/gimpcurvestool.c: simplified by using the functions
22130 inherited from GimpColorTool.
22132 2003-06-05 Sven Neumann <sven@gimp.org>
22134 * app/core/gimpdrawable.c (gimp_drawable_get_color_at):
22135 * app/core/gimpimage-projection.c (gimp_image_projection_get_color_at):
22136 use OPAQUE_OPACITY instead of 255.
22138 * app/core/gimpimage-pick-color.[ch]: factored out code that
22139 averages over colors so it can be used from GimpImageTool.
22141 * app/tools/gimpimagemaptool.[ch]: derived from GimpColorTool and
22142 added a GimpColorTool::pick implementation.
22144 * app/tools/gimpcoloroptions.c
22145 * app/tools/gimpcolorpickeroptions.c: add the toggle for
22146 "sample_merged" in gimp_color_picker_options_gui().
22148 * app/tools/gimpcolortool.c (gimp_color_tool_cursor_update): check
22149 if the cursor is over the active drawable or if "sample_merged" is
22152 * app/tools/gimplevelstool.c: simplified since all color-picking is
22153 now handled by the parent classes. Fixes bug #112668.
22155 2003-06-05 Sven Neumann <sven@gimp.org>
22157 * app/tools/gimpcoloroptions.c: changed the default radius.
22159 * app/tools/gimpcolortool.[ch]: pass GimpColorOptions to
22160 gimp_color_tool_enable(). Added gimp_color_tool_disable() and
22161 gimp_color_tool_is_enabled().
22163 * app/tools/gimpcolorpickertool.c: changed accordingly.
22165 * app/tools/gimppainttool.[ch]: derived GimpPaintTool from
22166 GimpColorTool and removed most color picking code.
22168 * app/tools/gimpdodgeburntool.c (gimp_dodgeburn_tool_modifier_key)
22169 * app/tools/gimperasertool.c (gimp_eraser_tool_modifier_key):
22170 chain up to the parent class.
22172 * app/tools/gimppaintbrushtool.c: purely cosmetic change.
22174 2003-06-05 Michael Natterer <mitch@gimp.org>
22176 * app/core/gimpchannel.c (gimp_channel_bounds): always return
22177 channel->x1,y1,x2,y2, *not* tx1,ty1,tx2,ty2 since the latter
22178 contain bogus values if the mask is empty. Fixes bug #114419.
22180 * plug-ins/script-fu/scripts/unsharp-mask.scm: cleaned up
22181 while searching the bug.
22183 2003-06-05 Michael Natterer <mitch@gimp.org>
22185 * plug-ins/script-fu/scripts/predator.scm (script-fu-predator):
22186 moved gimp-undo-push-group-end to the end of the script.
22189 2003-06-04 Sven Neumann <sven@gimp.org>
22191 * app/core/gimpmarshal.list: added VOID: ENUM, BOXED, INT.
22193 * app/tools/gimpcolortool.[ch]: added a default implementation for
22194 GimpColorTool::pick. Emit a "picked" signal when a color was
22195 successfully picked.
22197 * app/tools/gimpcolorpickertool.c: simplified a lot since
22198 GimpColorTool does most of the work for us now.
22200 2003-06-04 Michael Natterer <mitch@gimp.org>
22202 * app/display/gimpdisplayshell-callbacks.c
22203 (gimp_display_shell_canvas_tool_events): undraw the cursor on
22204 GDK_PROXIMITY_OUT. Always set shell->proximity to FALSE *before*
22205 calling gimp_display_shell_update_cursor().
22207 2003-06-04 Sven Neumann <sven@gimp.org>
22209 * plug-ins/common/film.c: use a font selection widget (bug #113884).
22211 2003-06-04 Sven Neumann <sven@gimp.org>
22213 * app/core/gimpimage-pick-color.[ch]: reordered arguments.
22215 * app/tools/gimpcolorpickertool.c
22216 * app/tools/gimppainttool.c: changed accordingly.
22218 2003-06-04 Michael Natterer <mitch@gimp.org>
22220 * plug-ins/film/film.c: moved the "Reset" button to the "Advanced"
22221 page since it only resets this page. Fixed widget packing and
22222 spacing. Added more stock icons and mnemonics. Cleanup.
22224 2003-06-04 Sven Neumann <sven@gimp.org>
22226 * app/tools/Makefile.am
22227 * app/tools/gimpcoloroptions.[ch]
22228 * app/tools/gimpcolortool.[ch]: new files that implement base
22229 classes moved out of GimpColorPickerOptions and GimpColorPickerTool.
22231 * app/tools/gimpcolorpickeroptions.[ch]
22232 * app/tools/gimpcolorpickertool.[ch]: derive from the new obejcts.
22234 * app/tools/gimpimagemaptool.h
22235 * app/tools/gimppainttool.c
22236 * app/tools/tools-types.h: moved typedefs into the types file.
22238 2003-06-04 Michael Natterer <mitch@gimp.org>
22240 * app/display/gimpdisplayshell.c (gimp_display_shell_reconnect):
22241 call gimp_display_shell_scale_setup() instead of
22242 gimp_display_shell_shrink_wrap() so window size, zoom factor and
22243 scroll offsets are preserved across File->Revert if possible.
22246 2003-06-04 Sven Neumann <sven@gimp.org>
22248 * plug-ins/xjt/xjt.c: applied a patch from Wolfgang Hofer that
22249 makes the plug-in use locale-independant code to convert floats to
22252 2003-06-03 Sven Neumann <sven@gimp.org>
22254 * app/text/gimptext-compat.c (text_get_extents): need to get
22255 ascent and descent from a PangoLayoutLine. Report negative descent
22256 so the function behaves like it used to in 1.2.
22258 2003-06-03 Jakub Steiner <jimmac@ximian.com>
22260 * themes/Default/images/stock-path-16.png
22261 * themes/Default/images/stock-path-22.png
22262 * themes/Default/images/stock-paths-16.png
22263 * themes/Default/images/stock-paths-22.png: make distinct
22265 2003-06-03 Michael Natterer <mitch@gimp.org>
22267 * app/core/gimpimage-rotate.c (gimp_image_rotate_item_offset):
22268 fixed offset calculation for 90 and 270 degree rotations.
22270 * app/core/gimpimage-flip.c
22271 * app/core/gimpimage-rotate.c
22272 * app/core/gimpimage-scale.c: increase the progress also when
22273 transforming the selection. Makes the progress appear more
22274 continuous. Also cleaned up and simplified the progress code
22277 * app/core/gimpimage-resize.[ch]: added a progress like in the
22280 * app/gui/image-commands.c (image_resize_callback): changed
22283 (image_scale_implement): clened up and simplified a lot.
22285 * tools/pdbgen/pdb/image.pdb: changed accordingly.
22287 * app/pdb/image_cmds.c: regenerated.
22289 2003-06-03 Adam D. Moss <adam@gimp.org>
22291 * plug-ins/common/gifload.c: When initializing the LZW state,
22292 watch out for a completely bogus input_code_size [based on fix
22293 by Raphael Quinet] Also, fix a stupid old bug when clearing the
22294 code table between subimages. (Enables us to deal better with errors
22295 when the stream is corrupted pretty early in a subimage.) [me]
22297 2003-06-02 Sven Neumann <sven@gimp.org>
22299 * app/widgets/gimpvectorstreeview.h
22300 * app/widgets/widgets-types.h: moved function definitions to the
22301 widgets-types header file.
22303 * app/gui/dialogs-constructors.c
22304 * app/widgets/gimpselectioneditor.[ch]: added a "Selection to
22305 Path" button as suggested in bug #112448.
22307 2003-06-02 Michael Natterer <mitch@gimp.org>
22309 * app/core/gimpchannel.c (gimp_channel_scale, resize): make sure
22310 channels end up at (0, 0) after scaling and resizing.
22313 2003-06-02 Michael Natterer <mitch@gimp.org>
22315 Implemented DISSOLVE_MODE the way it should have always been.
22318 * app/paint-funcs-generic.h (struct apply_layer_mode_struct): added
22319 "guchar *mask" so it can be used by the layer mode.
22321 (dissolve_pixels): take an additional "mask" parameter and
22322 dissolve the pixels according to the *combined* opacity of the
22323 pixel's alpha, the opacity and the mask. Removed a wrong comment
22324 about why we call g_rand_int() x times before we start to use its
22327 (layer_dissolve_mode): pass the mask to dissolve_pixels(). No need
22328 to call add_alpha_pixels() since we overwrite the dest buffer
22329 entirely in dissolve_pixels().
22331 * app/paint-funcs.c (initial_sub_region, combine_sub_region):
22332 allocate the buffer large enough for DISSOLVE (which always needs
22333 an alpha channel). Pass the mask to the layer mode functions.
22334 Discard opacity and mask after applying DISSOLVE since it
22335 "consumes" all transparency.
22337 2003-06-02 Sven Neumann <sven@gimp.org>
22339 * plug-ins/common/grid.c: fixed swapped horizontal/vertical
22340 parameters (bug #114225). Always update the preview as soon as a
22341 grid parameter is changed.
22343 2003-05-31 Tor Lillqvist <tml@iki.fi>
22345 * plug-ins/Makefile.am: Handle twain and winsnap subdirs normally.
22347 * configure.in: Set TWAIN and WINSNAP on Win32. Expand
22348 Makefiles in these dirs.
22350 * plug-ins/twain/Makefile.am
22351 * plug-ins/winsnap/Makefile.am: New files, from stable branch.
22353 * plug-ins/winsnap/winsnap.c: Make it build with GTK2.
22355 * README.win32: Update.
22357 * plug-ins/makefile.cygwin
22358 * plug-ins/makefile.mingw.in: Remove. Unmaintained for a long time.
22360 * app/gimp.sym: Remove. No gimp library uses symbols from the
22361 gimp executable any longer, says Mitch.
22363 * app/Makefile.am: Remove related stuff from here, too.
22365 2003-05-31 Michael Natterer <mitch@gimp.org>
22367 * app/tools/tools-enums.[ch]: added enum GimpTransformType which
22368 can be one of { LAYER, SELECTION, PATH }
22370 * app/tools/gimptransformoptions.[ch]: added a GimpTransformType
22371 property to GimpTransformOptions. Added a GUI for the new
22374 * app/tools/gimpflipoptions.[ch]: derive it from
22375 GimpTransformOptions and add the GUI here, too.
22377 * app/tools/gimpfliptool.c
22378 * app/tools/gimptransformtool.[ch]: added support for transforming
22379 the selection. Added framework for transforming paths (still
22382 * app/tools/gimpselectionoptions.c: small cleanup.
22384 * libgimpwidgets/gimpstock.[ch]
22385 * themes/Default/images/Makefile.am
22386 * themes/Default/images/stock-path-16.png
22387 * themes/Default/images/stock-path-22.png
22388 * themes/Default/images/stock-selection-16.png: new icons for the
22389 new transform options buttons. Simply copied existing ones...
22391 2003-05-30 Tor Lillqvist <tml@iki.fi>
22393 * configure.in: As gimp uses fontconfig directly, check for it.
22395 * app/Makefile.am: And link with it.
22397 * app/gimp.sym: Remove dead symbols.
22400 * libgimpwidgets/gimpwidgets.def: Move gimp_standard_help_func.
22402 * plug-ins/common/wmf.c (load_image): Remove the message asking
22403 the user to send files with unhandled opcodes to me. I'm really
22404 not interested in getting them currently... (BTW, the wmf plug-in
22405 really should be rewritten to use libwmf.)
22407 * plug-ins/xjt/xjt.c: Use _mkdir() on Win32.
22409 2003-05-30 Maurits Rijk <lpeek.mrijk@consunet.nl>
22411 * plug-ins/gflare/gflare.c: fixed type in mnemonics for edit dialog
22412 and removed unused typedef.
22414 2003-05-30 Maurits Rijk <lpeek.mrijk@consunet.nl>
22416 * plug-ins/common/film.c (film_dialog): fix for #113882 (Clean-up Film
22417 plug-in interface). Also added mnemonics to UI + minor code clean-up.
22419 2003-05-30 Sven Neumann <sven@gimp.org>
22421 * app/tools/gimpeditselectiontool.c
22422 (gimp_edit_selection_tool_button_release): don't stop the active
22423 tool, the tool manager did this already when the edit-selection
22426 2003-05-30 Sven Neumann <sven@gimp.org>
22428 * plug-ins/common/lic.c: removed the possibility to let the
22429 plug-in create a new image (see bug #113615).
22431 2003-05-29 Michael Natterer <mitch@gimp.org>
22433 * app/main.c (main): removed the calls to g_log_set_handler().
22435 * app/app_procs.[ch] (app_init): added the g_log_set_handler()
22436 calls and pass them the global Gimp instance as user_data.
22437 Renamed app_gui_init() to app_gui_libs_init().
22439 * app/errors.c: use the passed Gimp pointer instead of using
22440 "the_gimp". Don't #include "app_procs.h".
22442 * app/gui/gui.[ch]: removed gui_get_screen_resolution().
22444 * app/widgets/gimpwidgets-utils.[ch]: added
22445 gimp_get_screen_resolution().
22447 * app/display/gimpdisplayshell-handlers.c
22448 * app/display/gimpdisplayshell.c
22449 * app/gui/preferences-dialog.c
22450 * app/gui/user-install-dialog.c: changed accordingly.
22452 * app/display/gimpdisplayshell.c: don't #include "gui/gui.h".
22454 2003-05-29 Michael Natterer <mitch@gimp.org>
22456 * app/widgets/gimpcontainertreeview.c
22457 (gimp_container_tree_view_button_press): remove
22458 main_column->editable_widget on each button_press_event. Should
22459 fix more (if not all) stale editing widgets.
22461 2003-05-28 Michael Natterer <mitch@gimp.org>
22463 * app/display/gimpdisplayshell-callbacks.c
22464 * app/tools/gimpcolorpickertool.c
22465 * app/tools/gimpcroptool.c
22466 * app/tools/gimphistogramtool.c
22467 * app/tools/gimpimagemaptool.c
22468 * app/tools/gimpmeasuretool.c
22469 * app/tools/gimptextoptions.c
22470 * app/tools/gimptransformtool.c
22471 * app/tools/paint_options.c
22472 * app/tools/tool_manager.c
22473 * app/widgets/gimppaletteeditor.c
22474 * app/widgets/gimptoolbox-color-area.c:
22475 don't #include "gui/dialogs.h" to get the global factories but use
22476 gimp_dialog_factory_from_name() instead.
22478 2003-05-28 Sven Neumann <sven@gimp.org>
22480 * app/app_procs.[ch]: wrap gui_libs_init() so we don't need to
22481 include gui.h from main.c
22483 * app/main.c: changed accordingly.
22485 * app/gui/gui.[ch]: added a GdkScreen parameter to
22486 gui_get_screen_resolution(). Use NULL if you want the default
22489 * app/gui/preferences-dialog.c
22490 * app/gui/user-install-dialog.c: changed accordingly.
22492 * app/display/gimpdisplayshell-scale.c: use the monitor resolution
22493 stored in the GimpDisplayShell object.
22495 * app/display/gimpdisplayshell-handlers.c
22496 * app/display/gimpdisplayshell.c: get the monitor resolution for
22497 the widget's GdkScreen. Set it in the realize method so it gets
22498 changed when the image window is migrated to another screen.
22500 2003-05-28 Michael Natterer <mitch@gimp.org>
22502 * app/gui/image-menu.c
22503 * app/gui/palette-editor-menu.c
22504 * app/gui/view-commands.[ch]
22505 * app/widgets/gimpgradienteditor.c
22506 * app/widgets/gimppaletteeditor.[ch]: changed all places to show
22507 zoom menu items and icons in ZOOM_OUT, ZOOM_IN order. In an attack
22508 of consistency, also reordered all callbacks accordingly.
22510 2003-05-28 Michael Natterer <mitch@gimp.org>
22512 * app/display/gimpnavigationview.c: don't let the navigation
22513 _popup_ auto-resize itself and don't allocate a minimum size
22514 because that makes sense for the navigation _tab_ only. Fixes
22515 popup size and positioning.
22517 2003-05-28 Sven Neumann <sven@gimp.org>
22519 * README: updated info about mailing lists.
22521 2003-05-27 Sven Neumann <sven@gimp.org>
22523 * app/gui/vectors-commands.c (vectors_selection_to_vectors): don't
22524 mark a string for translation which should never be used.
22526 2003-05-27 Michael Natterer <mitch@gimp.org>
22528 * app/tools/gimpfreeselecttool.[ch]
22529 * app/tools/gimprectselecttool.[ch]: added the possibility to
22530 <alt>+drag the whole selection preview line *while* creating the
22531 selection. Used a modified version of
22532 http://aeropc5.hut.fi/~mjkorhon/gimp-move-selection.patch (found
22533 in the mailing list archives). Fixes bug #87688.
22535 2003-05-27 Michael Natterer <mitch@gimp.org>
22537 * app/gui/select-commands.c (select_save_cmd_callback): switch
22538 to the "Channels" tab after adding the new channel.
22541 2003-05-27 Tor Lillqvist <tml@iki.fi>
22543 * configure.in: Don't warn about webbrowser and gimp-remote not
22544 being built on non-X11. Webbrowser does build on Win32, and
22545 anyway, anybody who builds on Win32 should know that some plug-ins
22546 are platform-dependent. Do set WEBBROWSER on Win32, too.
22548 2003-05-26 Sven Neumann <sven@gimp.org>
22550 * libgimp/gimpexport.c (export_merge): check that the merged layer
22551 has image width and height and resize it if necessary. Fixes bug
22554 2003-05-26 Michael Natterer <mitch@gimp.org>
22556 * app/base/tile-manager-private.h: added "gint ref_count" to the
22557 TileManager struct.
22559 * app/base/tile-manager.[ch]: replaced tile_manager_destroy()
22560 by tile_manager_ref() and tile_manager_unref().
22562 * app/core/gimpimage-undo-push.c: ref the tile managers stored in
22563 the undo system and DON'T destroy them if no undo could be pushed.
22564 Should fix the remaining crashes with undo disabled like in
22567 (!!!) Note that the tiles passed to gimp_image_undo_push_image()
22568 and gimp_drawable_push_undo() as well as the tile managers of
22569 drawables passed to gimp_image_undo_push_[layer|channel]_mod()
22570 must be unref'ed by the caller now.
22572 * app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
22573 don't take ownership of the passed tiles but ref them if needed.
22575 (!!!) Callers must unref the passed tiles themselves now.
22577 * app/core/gimpbuffer.c
22578 * app/core/gimpdrawable-blend.c
22579 * app/core/gimpdrawable-bucket-fill.c
22580 * app/core/gimpdrawable-offset.c
22581 * app/core/gimpdrawable.c
22582 * app/core/gimpedit.c
22583 * app/core/gimpimage-convert.c
22584 * app/core/gimpimage-mask.c
22585 * app/core/gimpimage-projection.c
22586 * app/core/gimpimage.c
22587 * app/core/gimpimagemap.c
22588 * app/core/gimplayer-floating-sel.c
22589 * app/core/gimplayer.c
22590 * app/paint/gimppaintcore.c
22591 * app/text/gimptextlayer.c
22592 * app/tools/gimpinktool.c
22593 * app/tools/gimpiscissorstool.c
22594 * app/tools/gimptransformtool-undo.c
22595 * app/tools/gimptransformtool.c: changed accordingly.
22597 2003-05-26 Raphael Quinet <quinet@gamers.org>
22599 * plug-ins/imagemap/Makefile.am: Moved the -i flag for lex.
22600 * plug-ins/imagemap/imap_csim.y: Modified the grammar a bit in
22601 order to allow the attribute nohref="nohref". Fixes the last
22602 part of bug #87687.
22604 2003-05-26 Michael Natterer <mitch@gimp.org>
22606 * app/widgets/gimppaletteeditor.[ch]
22607 * app/gui/palette-editor-commands.[ch]
22608 * app/gui/palette-editor-menu.c: started to clean up the palette
22609 editor: added buttons for all menu items and menu items for all
22610 buttons. Improved selected palette entry handling. Moved all code
22611 to gimppaletteeditor.c and call it from the menu callbacks. Lots
22612 of cleanup (unfinished).
22614 2003-05-26 Pedro Gimeno <pggimeno@wanadoo.es>
22616 * app/tools/gimpeditselectiontool.c (selection_transform_segs):
22617 Fix off-by-one when dragging the selection. Fixes the last pending
22618 issue of bug #17904. Use temporary variables for clamp values.
22620 * app/display/gimpdisplayshell-selection.c
22621 (selection_transform_segs): Perform the clamping that fixes
22622 bug #110014 here instead of in the callers. Solves a rare case
22623 that was not properly handled before.
22624 (selection_render_points, selection_generate_segs): Remove the
22625 clamping code from here.
22627 * app/tools/gimpdrawtool.c (gimp_draw_tool_draw_rectangle): More
22628 clampings to avoid overflow of 16-bit coordinates.
22630 2003-05-25 Maurits Rijk <lpeek.mrijk@consunet.nl>
22632 * plug-ins/imagemap/imap_csim_parse.[ch]: regenerated
22633 * plug-ins/imagemap/imap_main.c (save_as_csim): write quoted WIDTH,
22634 HEIGHT and BORDER tags.
22635 * plug-ins/imagemap/Makefile.am: added -i flag to lex to generate
22636 case-insensitive scanners.
22637 * plug-ins/imagemap/imap_csim.y: parse now accepts both tag=FLOAT and
22638 tag="FLOAT" to support both old and newstyle HTML. Should fix #113445.
22640 * plug-ins/common/lic.c: minor code clean-up
22642 2003-05-25 Michael Natterer <mitch@gimp.org>
22644 * app/tools/tool_manager.[ch] (tool_manager_set,get): Use
22645 g_object_[set|get]_qdata(), not just _data() to speed up tool
22648 Removed tool_manager_active_get_help_data() and
22649 tool_manager_help_func().
22651 * app/tools/gimpcolorpickertool.c
22652 * app/tools/gimpcroptool.c
22653 * app/tools/gimpcurvestool.c
22654 * app/tools/gimphistogramtool.c
22655 * app/tools/gimpimagemaptool.c
22656 * app/tools/gimplevelstool.c
22657 * app/tools/gimpmeasuretool.c
22658 * app/tools/gimptransformtool.c: use gimp_standard_help_func and
22659 tool->tool_info->help_data instead. Don't #include "tool_manager.h".
22661 2003-05-25 Michael Natterer <mitch@gimp.org>
22663 * libgimpwidgets/gimphelpui.[ch] (_gimp_help_init): changed again
22664 to take no paramaters and use _gimp_standard_help_func from
22665 gimpwidgets-private.
22667 * libgimpwidgets/gimpwidgets-private.[ch]: removed the palette
22668 functions from GimpWidgetVTable. Instead, pass them as
22669 GimpGetColorFunc to gimp_widgets_init() and make them available as
22670 _gimp_get_foreground_func and _gimp_get_background_func.
22672 * libgimpwidgets/gimpcolorbutton.c
22673 * libgimp/gimpui.c: changed accordingly.
22675 * app/libgimp_glue.[ch]: removed the palette functions.
22677 * app/gui/gui.c: added gui_get_foreground_func() and
22678 gui_get_background_func() and pass them to gimp_widgets_init().
22680 2003-05-25 Michael Natterer <mitch@gimp.org>
22682 * libgimpwidgets/gimphelpui.[ch]: added a GimpHelpFunc parameter to
22683 _gimp_help_init(). Implement gimp_standard_help_func() here and
22684 use the function pointer passed to _gimp_help_init().
22686 * libgimpwidgets/gimpwidgets-private.[ch]: removed
22687 standard_help_func from GimpWidgetsVTable. Require it as paramater
22688 to gimp_widgets_init() and pass it to _gimp_help_init().
22690 * libgimpwidgets/gimpunitmenu.c: use gimp_standard_help_func
22693 * app/libgimp_glue.[ch]: removed gimp_standard_help_func().
22695 * libgimp/Makefile.am
22696 * libgimp/gimphelp.c: removed this file (containing
22697 gimp_standard_help_func()).
22699 * app/gui/gui.c: added private gimp_help_func() and pass it to
22700 gimp_widgets_init().
22702 * libgimp/gimpui.c: added private gimp_ui_help_func() and pass it
22703 to gimp_widgets_init().
22705 2003-05-25 Michael Natterer <mitch@gimp.org>
22707 * data/misc/Makefile.am: forgot some hardcoded "1.3" here.
22709 2003-05-25 Michael Natterer <mitch@gimp.org>
22711 * plug-ins/common/uniteditor.c (unit_editor_dialog): removed a
22712 left over GTK_CHECK_VERSION(2,2,0).
22714 2003-05-24 Hans Breuer <hans@breuer.org>
22716 * **/makefile.msc **/*.def : updated win32 (msvc) build
22718 * plug-ins/twain/twain.c plug-ins/winsnap/winsnap.c :
22719 add the extra parameter to gimp_main() calls
22721 2003-05-23 Manish Singh <yosh@gimp.org>
22723 * libgimp/gimp.[ch]: gimp_main now takes a GimpPlugInInfo *,
22724 and PLUG_IN_INFO is now a static variable set from that. This
22725 removes all the special casing for the Win32 and OS/2 ports around
22726 this. Also added a debugging hook for quit procs.
22728 * plug-ins/common/mng.c: moved MAIN() to the end so PLUG_IN_INFO is
22731 * plug-ins/gimpressionist/gimpressionist.c: pass &PLUG_IN_INFO
22734 * plug-ins/pygimp/gimpmodule.c: Here too. Also add a message
22737 2003-05-24 Sven Neumann <sven@gimp.org>
22739 * app/core/gimpimage-rotate.c (gimp_image_rotate): fixed offset of
22740 layers and vectors after rotation (bug #113611).
22742 2003-05-24 Michael Natterer <mitch@gimp.org>
22744 * plug-ins/common/lic.c (compute_image): always flush the
22745 displays, not only when creating a new image.
22747 2003-05-24 Michael Natterer <mitch@gimp.org>
22749 * plug-ins/common/lic.c (create_main_dialog): actually connect
22750 the "Create New Image" toggle with its value. Fixes bug #113610.
22753 2003-05-23 Sven Neumann <sven@gimp.org>
22755 * libgimpwidgets/Makefile.am
22756 * libgimpwidgets/gimpwidgets-private.[ch]: new files. Moved
22757 gimp_widgets_init() here and added a vtable parameter. The vtable
22758 has entries for all the symbols that are either provided by libgimp
22759 or gimp itself depending on who is using the library.
22761 * libgimpwidgets/libgimp-glue.c: removed this file that used to
22762 provide a Win32 only hack that is now not any longer needed.
22764 * libgimpwidgets/gimpcolorbutton.c
22765 * libgimpwidgets/gimphelpui.c
22766 * libgimpwidgets/gimpsizeentry.c
22767 * libgimpwidgets/gimpunitmenu.c
22768 * libgimpwidgets/gimpwidgets.[ch]: don't call the offending
22769 functions directly, but use the vtable entries. This is ugly but
22770 the ugliness is restricted to our code. There are plans to clean
22771 this up further... (Fixes #113410 once more.)
22773 * app/gui/gui.c (gui_libs_init)
22774 * libgimp/gimpui.c (gimp_ui_init): initialize libgimpwidgets with
22777 2003-05-23 Raphael Quinet <quinet@gamers.org>
22779 * plug-ins/imagemap/Makefile.am: added rules for rebuilding the
22780 source .c files from the .l (lex/flex) and .y (yacc/bison) files.
22781 Fixes a non-critical part of bug #113445.
22783 2003-05-23 Michael Natterer <mitch@gimp.org>
22785 * modules/Makefile.am: Always provide interlibrary
22786 dependencies, not just on Win32.
22790 * app/config/Makefile.am
22791 * data/misc/Makefile.am
22793 * libgimp/Makefile.am
22794 * libgimpbase/Makefile.am
22795 * libgimpcolor/Makefile.am
22796 * libgimpmath/Makefile.am
22797 * libgimpmodule/Makefile.am
22798 * libgimpwidgets/Makefile.am
22799 * tools/Makefile.am: replaced many hardcoded "1.3" strings by
22800 $(LT_RELEASE). Hopefully didn't break the Win32 build...
22802 2003-05-23 Sven Neumann <sven@gimp.org>
22804 * app/paint/gimppaintcore.c
22805 * app/tools/gimppainttool.c: applied a patch from Henning Makholm
22806 <henning@makholm.net> that improves drawing of narrow straight lines
22807 by moving the endpoints to pixel centers. Fixes bug #84145.
22809 2003-05-23 Michael Natterer <mitch@gimp.org>
22811 * app/gui/color-notebook.c (color_notebook_new_internal): don't
22812 call gimp_dialog_factory_add_foreign() with a NULL dialog_factory.
22814 * app/widgets/gimpcolorpanel.c: removed the color_notebook_active
22815 boolean state and *always* call color_notebook_show() when the
22816 user clicks the button. This way the notebook is automatically
22817 deiconified or risen.
22819 2003-05-23 Sven Neumann <sven@gimp.org>
22821 * docs/keybindings.txt
22822 * app/gui/image-menu.c (image_menu_entries): changed the default
22823 shortcut for "Zoom In" to '+'. Fixes bug #56108.
22825 2003-05-23 Michael Natterer <mitch@gimp.org>
22827 * app/widgets/gimpdrawabletreeview.c
22828 (gimp_drawable_tree_view_eye_clicked): implement <shift>+click on
22829 the eye icon the same way it was in 1.2 (hide all other drawables
22830 if any is visible, show them all otherwise). Fixes bug #113479.
22832 2003-05-22 Michael Natterer <mitch@gimp.org>
22834 * app/vectors/Makefile.am
22835 * app/vectors/gimpvectors-compat.[ch]: new files implementing a
22836 compatibility API for converting old XCF and PDB point arrays
22837 to GimpVectors and vice versa.
22839 * app/xcf/xcf-load.c
22840 * app/xcf/xcf-save.c
22841 * tools/pdbgen/pdb/paths.pdb: use the new functions instead of
22842 having slightly different, but equally ugly code twice.
22844 * app/xcf/xcf-load.c: cleaned up path loading a lot. Removed the
22845 path_point loading utility functions.
22847 * app/pdb/paths_cmds.c: regenerated.
22849 * app/Makefile.am: link vectors/libappvectors.a after
22850 xcf/libappxcf.a so the compat functions (which are not needed in
22851 vectors/) are found. Also reverted an accidentially checked in
22852 change to the libgimpwidgets link order.
22854 2003-05-22 Sven Neumann <sven@gimp.org>
22856 * plug-ins/helpbrowser/Makefile.am
22857 * plug-ins/common/mkgen.pl
22858 * plug-ins/common/Makefile.am: changed link order as suggested in
22861 2003-05-22 Manish Singh <yosh@gimp.org>
22863 * tools/pdbgen/pdb/fileops.pdb: convert filename to a uri for
22864 find_utils_find_proc.
22866 * app/pdb/fileops_cmds.c: regenerated
22868 2003-05-22 Raphael Quinet <quinet@gamers.org>
22870 * plug-ins/imagemap/Makefile.am (EXTRA_DIST): added missing lex
22871 files (imap_cern.l, imap_csim.l, imap_ncsa.l)
22873 2003-05-21 Manish Singh <yosh@gimp.org>
22875 * libgimp/Makefile.am
22876 * libgimpwidgets/Makefile.am: Always provide interlibrary
22877 dependencies, not just on Win32. Fixes bug #113410.
22879 2003-05-21 Michael Natterer <mitch@gimp.org>
22881 Removed the old paths and the remaining legacy stuff it needed.
22886 * pixmaps/*: removed the pixmaps/ directory.
22888 * app/ops_buttons.[ch]
22891 * app/path_transform.h
22892 * app/gui/paths-dialog.[ch]
22893 * app/tools/gimpbezierselecttool.[ch]: removed these files.
22896 * app/gui/Makefile.am
22897 * app/tools/Makefile.am: changed accordingly.
22899 * app/core/core-types.h: removed the Path* types.
22901 * app/core/gimpimage.[ch]
22902 * app/core/gimpimage-duplicate.c: removed gimage->paths.
22904 * app/gui/about-dialog.c: inline wilber2_xpm for now.
22906 * app/gui/dialogs-constructors.c
22907 * app/gui/dialogs-menu.c
22908 * app/gui/dialogs.c
22909 * app/gui/menus.c: removed the old paths dialog.
22911 * app/gui/gui.c: removed gui_rotate_the_shield_harmonics() hack
22912 which was broken anyway.
22914 * app/tools/gimptransformtool.c: #if 0 path_transform preview stuff.
22916 * app/tools/gimpiscissorstool.c: removed useless include.
22918 * app/tools/tools.c: removed the bezier select tool.
22920 * app/vectors/gimpvectors.c (gimp_vectors_real_stroke_add): use
22921 g_list_append(), not g_list_prepend() so some ugly side conditions
22922 of legacy path loading are honored.
22924 * app/xcf/xcf-load.c
22925 * app/xcf/xcf-save.c: load and save only GimpVectors.
22927 2003-05-21 Michael Natterer <mitch@gimp.org>
22929 * app/core/gimpdrawable.[ch]: added GimpDrawable::alpha_changed()
22932 * app/core/gimpimage-undo-push.c
22933 * app/core/gimplayer.c: emit it when alpha is removed from or
22936 * app/widgets/gimpcontainertreeview.[ch]: added a
22937 "name_attributes" column to the list store which provides a
22938 PangoAttrList for the name column.
22940 * app/widgets/gimplayertreeview.[ch]: connect to all layers'
22941 "alpha_changed" and set the BG layer's name to bold.
22943 * app/widgets/gimpdrawabletreeview.c: removed redundant assertions.
22945 2003-05-21 Simon Budig <simon@gimp.org>
22947 * app/core/gimpscanconvert.[ch]: Extended to be able to handle
22948 multiple polygons in a sane way.
22950 * app/core/gimpimage-mask-select.c: Use this to convert
22951 multiple-stroke vectors objects to selections. Libart rocks!
22953 * app/tools/gimpiscissorstool.c: Changed accordingly.
22955 2003-05-20 Michael Natterer <mitch@gimp.org>
22957 * libgimpcolor/gimpcolorspace.[ch]: removed redundant functions
22958 gimp_rgb_to_hsv_double() and gimp_hsv_to_rgb_double().
22960 * app/core/gimpdrawable-blend.c: use gimp_rgb_to_hsv() and
22961 gimp_hsv_to_rgb() instead.
22963 * plug-ins/fp/fp.[ch]
22964 * plug-ins/fp/fp_misc.c: ditto. Deuglyfied the changed functions'
22965 coding style a lot.
22967 2003-05-20 Michael Natterer <mitch@gimp.org>
22969 * app/core/gimpimage-undo-push.c (undo_pop_layer_mod): call
22970 gimp_layer_invalidate_boundary() because the layer extents may
22973 * app/core/gimpitem-linked.c: pass clip_result == TRUE when
22974 rotating linked channels.
22976 * app/core/gimpdrawable-transform.c: implement clip_result so
22977 linked channels can be rotated without leaving the image in an
22978 inconsistent state. Added utility function
22979 gimp_drawable_transform_rotate_point().
22981 2003-05-20 Sven Neumann <sven@gimp.org>
22983 * app/display/gimpdisplayshell.[ch]
22984 * app/display/gimpdisplayshell-callbacks.c: removed padding_gc from
22985 the GimpDisplayShell struct. Don't draw the padding color manually.
22987 * app/display/gimpdisplayshell-appearance.c
22988 (gimp_display_shell_set_padding): set the canvas background color
22989 using gdk_window_set_background().
22991 2003-05-20 Sven Neumann <sven@gimp.org>
22993 * app/core/gimpimage-rotate.c (gimp_image_rotate): fixed a harmless
22996 2003-05-20 Michael Natterer <mitch@gimp.org>
22998 * app/core/gimpchannel.c (gimp_channel_rotate): don't default to
22999 clip_result == TRUE (unlike the other transform functions).
23001 * app/core/gimpdrawable-transform.c
23002 (gimp_drawable_transform_tiles_rotate): fixed offset calculation.
23004 * app/core/gimpimage-rotate.c: change the image size *after* all items
23005 are rotated. Adjust all items' offsets after rotation. Rotate the
23006 resolutions too. Seems to work now and fixes bug #6101.
23008 * app/core/gimpimage.c (gimp_image_size_changed): emit
23009 "size_changed" on all vectors.
23011 * app/core/gimpitem-linked.[ch]: added gimp_item_linked_rotate().
23013 * app/gui/drawable-commands.c: flip and rotate linked items too.
23015 * app/vectors/gimpvectors.c (gimp_vectors_rotate): fixed rotation
23020 * app/core/gimpimage-merge.c: don't #include "path.h".
23022 2003-05-20 Sven Neumann <sven@gimp.org>
23024 * app/core/gimpdrawable-transform.c
23025 (gimp_drawable_transform_tiles_rotate): fixed algorithm for
23028 2003-05-20 Sven Neumann <sven@gimp.org>
23030 * app/core/gimpimage-flip.c: no need to include gimp-intl.h.
23032 * app/core/gimpimage-rotate.c: change the image size if needed;
23033 implemented rotation of guides.
23035 * app/vectors/gimpvectors.c: implemented rotation of vectors.
23037 2003-05-20 Michael Natterer <mitch@gimp.org>
23039 * app/core/gimpimage-undo-push.c: remember the guide's orientation
23040 in the guide undo. Needed for gimp_image_rotate().
23042 2003-05-20 Sven Neumann <sven@gimp.org>
23044 * app/core/core-enums.[ch]: added new enum GimpRotationType.
23046 * app/core/Makefile.am
23047 * app/core/gimpimage-rotate.[ch]: new files.
23049 * app/core/gimpchannel.c
23050 * app/core/gimpdrawable-transform.[ch]
23051 * app/core/gimpdrawable.c
23052 * app/core/gimpitem.[ch]
23053 * app/core/gimplayer.c
23054 * app/vectors/gimpvectors.c: added GimpItem::rotate. Still work in
23057 * plug-ins/common/rotate.c: don't install any menu entries. The
23058 plug-in is only kept around to provide plug_in_rotate for backward
23061 * app/gui/drawable-commands.[ch]
23062 * app/gui/image-commands.[ch]
23063 * app/gui/image-menu.c: use the new rotate implementation and use
23064 stock icons for the menu entries. Fixes bug #57797.
23066 2003-05-20 Michael Natterer <mitch@gimp.org>
23068 Some color API cleanup:
23070 * libgimpcolor/gimpcolortypes.h: added struct GimpHSL. All values
23071 are doubles in a [0.0..1.0] range.
23073 * libgimpcolor/gimpcolorspace.[ch]: changed the GimpRGB <-> HSL
23074 functions to use the new struct instead of separate hue, saturation
23075 and lightness doubles. Note that the hue range has changed from
23076 [0.0..360.0] to [0.0..1.0].
23078 * app/base/colorize.c (colorize_calculate)
23079 * plug-ins/common/AlienMap2.c (transform): changed accordingly.
23081 2003-05-19 Manish Singh <yosh@gimp.org>
23083 * plug-ins/script-fu/script-fu-console.c: Add SIOD banner to console
23086 2003-05-19 Michael Natterer <mitch@gimp.org>
23088 * app/gui/drawable-commands.h: eek, forgot to commit this file.
23090 2003-05-19 Michael Natterer <mitch@gimp.org>
23092 * app/gui/image-menu.c: moved the image flip entries to the
23093 Image->Transform submenu and added flip entries to
23094 Layer->Transform. Cleaned up the transform submenus.
23096 * app/gui/drawable-commands.[ch]: added
23097 drawable_flip_cmd_callback().
23099 * tools/pdbgen/pdb/image.pdb: added a PDB wrapper for
23102 * libgimp/gimpimage_pdb.[ch]
23103 * app/pdb/image_cmds.c
23104 * app/pdb/internal_procs.c: regenerated.
23106 2003-05-19 Sven Neumann <sven@gimp.org>
23108 * app/base/temp-buf.c (temp_buf_to_color) (temp_buf_to_gray):
23109 fixed sense of assertions; argh.
23111 2003-05-19 Michael Natterer <mitch@gimp.org>
23113 * libgimpcolor/gimpcolorspace.c (gimp_hsl_to_rgb): fixed to work
23114 like gimp_hls_to_rgb_int() (does the right thing now for the
23115 saturation == 0 case). Some minor cleanups.
23117 Implemented "Colorize" as suggested in bug #20509. It's not a
23118 toggle in the "Hue/Saturation" tool dialog (which would be a gross
23119 hack IMHO) but a separate tool. Fixes bug #20509.
23121 * app/base/Makefile.am
23122 * app/base/base-types.h
23123 * app/base/colorize.[ch]: the actual mapping function lives
23124 here. Its algorithm was taken from the "colorify" plug-in.
23126 * app/tools/Makefile.am
23127 * app/tools/gimpcolorizetool.[ch]: the tool.
23129 * app/tools/tools.c: register it.
23131 * app/gui/dialogs.c: session-manage its dialog.
23133 * libgimpwidgets/gimpstock.[ch]
23134 * themes/Default/images/Makefile.am
23135 * themes/Default/images/tools/stock-tool-colorize-16.png
23136 * themes/Default/images/tools/stock-tool-colorize-22.png: new
23141 * app/tools/gimpbrightnesscontrasttool.c
23142 * app/tools/gimpcolorbalancetool.c
23143 * app/tools/gimphuesaturationtool.c
23144 * app/tools/gimpposterizetool.c
23145 * app/tools/gimpthresholdtool.c: don't #include "tool_manager.h"
23147 2003-05-19 Manish Singh <yosh@gimp.org>
23149 * configure.in: remove glibconfig.h inline check, it hasn't worked
23152 * tools/authorsgen/contributors: added George J. Carrette, author of
23155 2003-05-19 Jakub Steiner <jimmac@ximian.com>
23157 * themes/Default/images/stock-flip-horizontal-16.png:
23158 * themes/Default/images/stock-flip-vertical-16.png: fix shadows
23161 2003-05-19 Simon Budig <simon@gimp.org>
23163 * app/vectors/gimpbezierstroke.[ch]: Implemented closed paths. Not
23164 yet available in a sane manner via the UI. Added the last missing
23165 line from gimp_bezier_stroke_interpolate ().
23167 * app/tools/gimpvectortool.c: Changed accordingly
23169 * app/vectors/gimpstroke.[ch]
23170 * app/vectors/gimpvectors.[ch]: removed Tabs.
23172 2003-05-19 Michael Natterer <mitch@gimp.org>
23174 * app/xcf/xcf-load.c (xcf_load_channel): set gimage->qmask_state
23175 to TRUE if a channel's name is "Qmask". Fixes bug #113240.
23177 2003-05-18 Michael Natterer <mitch@gimp.org>
23179 * app/core/gimpimage-guides.c (gimp_image_snap_rectangle): snap
23180 correctly to the bottom and right sides of the rectangle. Also
23181 snap to the closer guide if we snap twice on one axis.
23184 All snapping functions: use ROUND() instead of truncating the
23187 2003-05-18 Michael Natterer <mitch@gimp.org>
23189 * app/display/gimpdisplayshell-callbacks.c
23190 (gimp_display_shell_canvas_tool_events): update the cursor on
23193 * app/display/gimpdisplayshell-cursor.c
23194 (gimp_display_shell_update_cursor): argh, "0" coordinates are
23195 *inside* the canvas.
23197 Together fixes bug #113239.
23199 2003-05-18 Michael Natterer <mitch@gimp.org>
23201 * app/widgets/gimppaletteeditor.c (color_palette_target_table):
23202 removed GIMP_TARGET_PALETTE. Fixes bug #113237.
23204 2003-05-18 Michael Natterer <mitch@gimp.org>
23206 * app/core/gimpimage-convert.c (gimp_image_convert): push a
23207 colormap undo if the image was INDEXED. Fixes bug #113236.
23210 2003-05-18 Michael Natterer <mitch@gimp.org>
23212 Implemented "Flip Image". Fixes bug #23179:
23214 * app/core/core-enums.[ch]: added GIMP_UNDO_GROUP_IMAGE_FLIP.
23216 * app/core/Makefile.am
23217 * app/core/gimpimage-flip.[ch]: new files implementing
23220 * app/gui/image-menu.c
23221 * app/gui/image-commands.[ch]: added it to the "Image" menu.
23223 * themes/Default/images/Makefile.am
23224 * themes/Default/images/stock-flip-horizontal-16.png
23225 * themes/Default/images/stock-flip-vertical-16.png
23226 * libgimpwidgets/gimpstock.[ch]: added icons for the new
23229 Bugs found while hacking the stuff above:
23231 * app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
23232 only call gimp_layer_add_alpha() if the pasted tiles have alpha.
23234 * app/core/gimpimage-undo-push.c (undo_pop_channel_mod): fixed to
23235 do the right thing if the channel is the selection mask.
23237 2003-05-18 Pedro Gimeno <pggimeno@wanadoo.es>
23239 * plug-ins/common/psd_save.c: Translated Spanish comments to
23240 English and globally cleaned-up to ease further manipulation.
23242 2003-05-18 Michael Natterer <mitch@gimp.org>
23244 * app/vectors/gimpbezierstroke.[ch]
23245 (gimp_bezier_stroke_new_from_coords): changed to expect all points
23246 (also the first one) in "H, A, H" order. Ignore the first coord
23247 in the array for now. Added "gboolean closed" parameter.
23249 * app/xcf/xcf-load.c
23250 * tools/pdbgen/pdb/paths.pdb: shuffle the legacy path point arrays
23251 around before creating strokes so they match the new order.
23253 * app/pdb/paths_cmds.c: regenerated.
23255 2003-05-18 Michael Natterer <mitch@gimp.org>
23257 * app/display/gimpdisplayshell-dnd.[ch]
23258 * app/display/gimpdisplayshell.c: enabled dropping of vectors to
23259 the display to copy them between images.
23261 2003-05-18 Michael Natterer <mitch@gimp.org>
23263 * app/core/gimpmarshal.list: added BOOLEAN: OBJECT, POINTER.
23265 * app/widgets/gimpcontainerview.[ch]: added a boolean return
23266 value to GimpContainerView::select_item() which indicates if
23267 the select operation was successful.
23269 * app/widgets/gimpchanneltreeview.c
23270 * app/widgets/gimpcontainereditor.c
23271 * app/widgets/gimpcontainergridview.c
23272 * app/widgets/gimpcontainertreeview.c
23273 * app/widgets/gimpitemtreeview.c
23274 * app/widgets/gimplayertreeview.c
23275 * app/widgets/gimpvectorstreeview.c: changed accordingly.
23277 * app/widgets/gimpdrawabletreeview.c: ditto. Removed the
23278 tree_view's select_function because it was only constraining the
23279 widget, not the underlying select operation. Instead, implement
23280 GimpContainerView::select_item() and disallow anything but the
23281 floating selection to be selected. Also re-enabled the
23282 "floating_selection_changed" callback and explicitely set the
23283 active item so the button states get updated. Fixes bug #112487.
23285 2003-05-18 Michael Natterer <mitch@gimp.org>
23287 * app/vectors/gimpvectors.[ch]: added new function
23288 gimp_vectors_convert() which duplicates a GimpVectors for another
23291 * app/widgets/gimpvectorstreeview.c
23292 (gimp_vectors_tree_view_class_init): use it as
23293 GimpItemTreeView::convert_item() implementation. Enables
23294 DND-copying of vectors between images.
23296 2003-05-18 Michael Natterer <mitch@gimp.org>
23298 * app/tools/gimptransformtool.c
23299 * app/tools/gimptransformtool-undo.[ch]: removed old path undo stuff.
23301 2003-05-18 Michael Natterer <mitch@gimp.org>
23303 * app/core/gimplayer.c (gimp_layer_new_from_drawable): call
23304 gimp_item_set_image() on the new layer's mask too if it exists.
23306 2003-05-17 Michael Natterer <mitch@gimp.org>
23308 Fixed File->Revert, which was completely broken before:
23310 * app/gui/file-commands.c (file_revert_confirm_callback): set the
23311 new image on all GimpContexts which had the old image set. Unref
23312 the new image after the displays are reconnected.
23314 Added some paranoia code for similar future situations (the
23315 functions below were not broken, but affected by the above bug):
23317 * app/display/gimpdisplay-handlers.c (gimp_display_disconnect):
23318 set gdisp->gimage to NULL before unrefing the image.
23320 * app/widgets/gimpimagedock.c (gimp_image_dock_image_changed):
23321 unref the gimage pointer returned by g_object_get() only if it is
23324 2003-05-17 Michael Natterer <mitch@gimp.org>
23326 * app/core/gimpimage.c (gimp_image_set_filename): treat the empty
23327 string as NULL filename. Fixes bug #113179.
23329 2003-05-17 Dave Neary <bolsh@gimp.org>
23331 * plug-ins/script-fu/scripts/alien-glow-button.scm
23332 * plug-ins/script-fu/scripts/beveled-button.scm
23333 * plug-ins/script-fu/scripts/beveled-pattern-button.scm:
23334 Applied patch from Tor Lilliqvist <tml@iki.fi> which
23335 fixes the same problem as that reported in bug #77572.
23337 2003-05-16 Dave Neary <bolsh@gimp.org>
23339 * plug-ins/script-fu/scripts/pupi-button.scm: Applied
23340 patch from Tor Lilliqvist <tml@iki.fi> to fix bug #77572.
23342 2003-05-16 Dave Neary <bolsh@gimp.org>
23344 * plug-ins/common/edge.c
23345 * plug-ins/common/tiff.c
23346 * plug-ins/common/mail.c
23347 * plug-ins/webbrowser/webbrowser.c: Removed GPL
23348 conflicting parts of permission notices on these files,
23349 in line with what has been said in bug #83362.
23351 2003-05-16 Dave Neary <bolsh@gimp.org>
23353 * plug-ins/common/nlfilt.c: Changed licence for Graeme
23354 Gill's code in this filter. Fixes part of bug #83362.
23356 2003-05-16 Michael Natterer <mitch@gimp.org>
23358 * app/vectors/gimpbezierstroke.[ch]
23359 * app/vectors/gimpstroke.[ch]
23360 * app/vectors/gimpvectors-preview.c
23361 * app/vectors/gimpvectors.[ch]: massive cleanup / code review:
23362 Made default implementations real ones. Don't add "const" to
23363 call-by-value parameters. Iterate lists using for() loops. Moved
23364 variables to local scopes. Removed tabs. Indentation. Stuff...
23366 * app/vectors/gimpstroke.[ch]: added unused "gboolean closed"
23369 2003-05-16 Michael Natterer <mitch@gimp.org>
23371 * app/core/gimpimage-mask.[ch] (gimp_image_mask_extract): added
23372 "gboolean cut_image" parameter so we can float selections
23373 without cutting them from the original drawable.
23375 * app/gui/select-commands.c
23376 * tools/pdbgen/pdb/selection.pdb: pass cut_image == TRUE.
23378 * app/pdb/selection_cmds.c: regenerated.
23380 * app/tools/tools-enums.[ch]: added SELECTION_MOVE_COPY value
23381 to the SelectOps enum.
23383 * app/tools/gimpselectiontool.c: use the new mode when
23384 <ctrl>+<alt>-dragging a selction (yes, this is evil but there are
23385 no modifiers left).
23387 * app/tools/gimpeditselectiontool.[ch]: extended EditType enum by
23388 EDIT_MASK_COPY_TO_LAYER_TRANSLATE and pass cut_image == FALSE if
23389 it's passed to init_edit_selection().
23391 * app/tools/gimpfreeselecttool.c
23392 * app/tools/gimpfuzzyselecttool.c
23393 * app/tools/gimprectselecttool.c: pass the new mode to
23394 GimpEditSelectionTool.
23396 2003-05-16 Michael Natterer <mitch@gimp.org>
23398 * app/gui/color-notebook.[ch]: added dialog_factory and
23399 dialog_identifier parameters to the constructors and register the
23400 color_notebook with the passed factory as foreign dialog.
23402 * app/widgets/gimpcolorpanel.c: changed accordingly.
23404 * app/gui/dialogs.c
23405 * app/gui/colormap-editor-commands.c
23406 * app/gui/gradient-editor-commands.c
23407 * app/gui/palette-editor-commands.c
23408 * app/widgets/gimptoolbox-color-area.c: added session management for
23409 the color notebooks created here.
23411 2003-05-16 Michael Natterer <mitch@gimp.org>
23413 * app/gui/vectors-commands.c (vectors_sel_to_vectors_cmd_callback):
23414 call vectors_selection_to_vectors() instead of #warning about
23415 being unimplemented.
23417 2003-05-16 Michael Natterer <mitch@gimp.org>
23419 * tools/pdbgen/pdb/paths.pdb: fixed some bugs and warnings in
23420 the ported functions.
23422 * app/pdb/paths_cmds.c: regenerated.
23424 2003-05-16 Sven Neumann <sven@gimp.org>
23426 * app/pdb/fileops_cmds.c
23427 * tools/pdbgen/pdb/fileops.pdb: this change should fix
23428 file_load_thumbnail() for images with alpha channel by blending
23429 the resulting tempbuf on a checkerboard (bug #113033).
23431 2003-05-15 Michael Natterer <mitch@gimp.org>
23433 * tools/pdbgen/app.pl (declare_args): removed generation of
23434 includes for enums since including "pdb-types.h" is sufficient
23437 * app/pdb/brush_select_cmds.c
23438 * app/pdb/brushes_cmds.c
23439 * app/pdb/channel_cmds.c
23440 * app/pdb/color_cmds.c
23441 * app/pdb/convert_cmds.c
23442 * app/pdb/drawable_cmds.c
23443 * app/pdb/edit_cmds.c
23444 * app/pdb/guides_cmds.c
23445 * app/pdb/image_cmds.c
23446 * app/pdb/layer_cmds.c
23447 * app/pdb/message_cmds.c
23448 * app/pdb/misc_tools_cmds.c
23449 * app/pdb/paint_tools_cmds.c
23450 * app/pdb/procedural_db_cmds.c
23451 * app/pdb/selection_cmds.c
23452 * app/pdb/selection_tools_cmds.c
23453 * app/pdb/text_tool_cmds.c
23454 * app/pdb/transform_tools_cmds.c: regenerated.
23456 2003-05-15 Michael Natterer <mitch@gimp.org>
23458 * tools/pdbgen/pdb/paths.pdb: removed PDB access to the old paths
23459 and ported everything to GimpVectors. Note that everything except
23460 gimp_path_set_points() is untested and that
23461 gimp_path_get_point_at_dist() is currently unimplemented. Changed
23462 order of the generated functions and fixed some help texts.
23464 * tools/pdbgen/app.pl: removed $tools_eek and $paint_eek hacks
23465 because pdb/ doesn't include stuff from tools/ any more and paint/
23466 no longer depends on GTK+.
23468 * app/pdb/paint_tools_cmds.c
23469 * app/pdb/paths_cmds.c
23470 * libgimp/gimppaths_pdb.[ch]: regenerated.
23472 2003-05-15 Sven Neumann <sven@gimp.org>
23474 * app/core/gimpdrawable-transform.c
23475 (gimp_drawable_transform_tiles_affine): fixed typo: use x1 instead
23476 of the uninitialized variable x.
23478 * app/paint-funcs/paint-funcs-generic.h
23479 * app/paint-funcs/paint-funcs.[ch]: removed unused variable
23480 has_alpha from blend_pixels() function.
23482 * app/base/temp-buf.c: cosmetics.
23484 2003-05-15 Michael Natterer <mitch@gimp.org>
23486 * app/gui/vectors-commands.[ch]: added new function
23487 vectors_selection_to_vectors() which invokes the sel2path Plug-In.
23489 * app/gui/dialogs-constructors.c: make the new function known to
23490 GimpVectorsTreeView.
23492 * app/widgets/gimpvectorstreeview.[ch]: Added a "Selection to Path"
23493 button and call the new function.
23495 2003-05-15 Michael Natterer <mitch@gimp.org>
23497 * plug-ins/sel2path/sel2path.c: don't clear the selection after
23498 creating the path. Minor cleanups.
23500 2003-05-15 Sven Neumann <sven@gimp.org>
23502 * app/pdb/fileops_cmds.c
23503 * tools/pdbgen/pdb/fileops.pdb: fixed docs for file_save_thumbnail
23506 2003-05-15 Sven Neumann <sven@gimp.org>
23508 * app/base/temp-buf.c: added some sanity checks to temp_buf
23509 conversion routines.
23511 * tools/pdbgen/pdb/fileops.pdb (file_load_thumbnail_invoker): use
23512 GimpImagefile to load a thumbnail. Only works for RGB images yet.
23513 This adresses bug #113033.
23515 * app/pdb/fileops_cmds.c: regenerated.
23517 * app/file/file-utils.[ch]: removed file_utils_readXVThumb(). It
23518 is not needed any longer since GimpImagefile also handles the
23521 * plug-ins/script-fu/scripts/copy-visible.scm: fixed typo.
23523 2003-05-15 Michael Natterer <mitch@gimp.org>
23525 * app/xcf/xcf-save.c: cleaned up the old path saving functions
23526 just as the old path loading ones. Don't use g_slist_foreach() but
23527 do everything in one functions. Added error checking for path
23530 2003-05-15 Michael Natterer <mitch@gimp.org>
23532 * app/xcf/xcf-load.c (xcf_load_old_path): the old paths actually
23533 *do* support multiple strokes, they are just all in one curve.
23534 Added support for loading them as separate GimpBezierStrokes.
23536 2003-05-15 Michael Natterer <mitch@gimp.org>
23538 * app/vectors/gimpbezierstroke.c
23539 (gimp_bezier_stroke_new_from_coords): actually increment the coord
23540 index when iterating the coords array. Fixes bug #113049.
23542 2003-05-14 Pedro Gimeno <pggimeno@wanadoo.es>
23544 * plug-ins/common/blur.c (blur): Ported a change from STABLE
23545 branch that might fix bug #84731.
23547 * plug-ins/gimpressionist/gimp.c
23548 * plug-ins/gimpressionist/gimpressionist.c: Don't destroy the
23549 global random-state variable before rendering. Fixes bug #113007.
23551 2003-05-14 Michael Natterer <mitch@gimp.org>
23553 * app/xcf/xcf-load.c: load the old paths into new GimpVectors
23554 objects. Old paths are still created because new vectors can't be
23555 saved yet. Renamed all old path loading functions to
23556 xcf_load_old_path*(). Added prototypes for them and reordered them
23557 to match the order of the rest of the file. Changed their
23558 signatures to match the rest of the file and indented them.
23560 2003-05-14 Dave Neary <bolsh@gimp.org>
23562 * plug-ins/common/screenshot.c: Attach default comment to
23563 image made by screenshot. Fixes bug #51164
23565 2003-05-14 Michael Natterer <mitch@gimp.org>
23567 * app/core/Makefile.am
23568 * app/core/gimp-utils.[ch]: new file for utility functions.
23569 Contains gimp_rectangle_intersect() for now.
23571 * app/core/gimpdrawable-transform.c: removed the function here.
23573 * app/core/gimpdrawable.c (gimp_drawable_resize): use it to
23574 determine the amount of pixels to copy between the old and new
23575 tile managers. Removed restriction that forced the areas to
23576 overlap by at least one pixel.
23578 * app/core/gimpitem.c (gimp_item_real_transform): removed the
23579 restriction here, too.
23581 * app/core/gimplayer.c (gimp_layer_create_mask): use the new
23582 function to decide how much to copy from the selection when
23583 creating a mask from it.
23585 2003-05-14 Michael Natterer <mitch@gimp.org>
23587 * app/core/gimpdrawable-transform.[ch]: changed the TileManager
23588 variable names to "orig_tiles" and "new_tiles" in the whole file.
23590 (gimp_drawable_transform_tiles_flip): implement "clip_result".
23591 Enables flipping of linked channels.
23593 2003-05-14 Michael Natterer <mitch@gimp.org>
23595 * app/widgets/gimpimagedock.c (gimp_image_dock_book_removed):
23596 chain up to parent_class->book_removed(), not book_added(). Fixes
23597 dock destruction on last book removal.
23599 2003-05-12 Dave Neary <bolsh@gimp.org>
23601 * plug-ins/common/csource.c
23602 * plug-ins/common/jpeg.c
23603 * plug-ins/common/tiff.c: If no comment is set on a
23604 GimpImage when it arrives to be saved, don't attach one.
23605 Fixes bug #98490 - and removes code which does what is
23606 suggested in bug #98485 as correct behaviour.
23608 2003-05-13 Michael Natterer <mitch@gimp.org>
23610 * app/xcf/xcf-load.c (xcf_load_channel_props)
23611 * app/xcf/xcf-save.c (xcf_save_channel_props): store the channel's
23612 "linked" state in the XCF. Older GIMPs will complain, but still
23613 load the file as if the new property was not there.
23615 2003-05-13 Adam D. Moss <adam@gimp.org>
23617 * plug-ins/common/gif.c
23618 * plug-ins/common/gifload.c: bolsh got permission from David Koblas
23619 to relicense the prehistoric code that begat the original GIMP GIF
23620 plugin, so Koblas' mildly-GPL-unfriendly license boilerplate can
23621 finally rest in peace.
23623 2003-05-13 Michael Natterer <mitch@gimp.org>
23625 * app/core/gimpitem.[ch]: added "gboolean clip_result" to
23628 * app/vectors/gimpvectors.c
23629 * app/tools/gimpfliptool.c: changed accordingly.
23631 * app/core/gimpdrawable.c: implement GimpItem::flip() and
23632 GimpItem::transform().
23634 * app/core/gimpchannel.c
23635 * app/core/gimplayer.c: chain up in flip() and transform() and do
23636 only the layer/channel specific stuff here.
23638 * app/core/gimpdrawable-transform.[ch]: fixed indentation.
23639 (gimp_drawable_transform_tiles_flip): added "gboolean clip_result"
23640 and warn that it is not yet implemented.
23641 (gimp_drawable_transform_tiles_affine): when transforming a
23642 channel set bg_color to transparent. Clip channels (but not layer
23643 masks) only if the passed tiles have bpp == 1 (the channel is
23645 (gimp_drawable_transform_affine): clip all unfloated channels.
23647 * app/core/gimpitem-linked.[ch]: added gimp_item_linked_get_list()
23648 utility function to avoind iterating all layers/channels/vectors
23651 * app/tools/gimptransformtool.c: clip all unfloated channels.
23653 The clipping fixes above together fix bug #112858.
23655 2003-05-13 Michael Natterer <mitch@gimp.org>
23657 * app/core/gimpimage-mask.c (gimp_image_mask_extract):
23658 s/bg/bg_color/g, cleanup.
23660 2003-05-13 Sven Neumann <sven@gimp.org>
23662 * app/plug-in/plug-in.c (plug_in_close): wait 10 ms before killing
23663 the plug-in just like the comment says. The code used to wait 0.1 ms
23666 2003-05-12 Sven Neumann <sven@gimp.org>
23668 * app/display/gimpdisplayshell-handlers.c
23669 (gimp_display_shell_invalidate_preview_handler): use a low-priority
23670 timeout for updating the WM icon.
23672 2003-05-12 Michael Natterer <mitch@gimp.org>
23674 Added support for transforming linked layers, channels
23675 and vectors. Fixes bug #86277.
23677 * app/core/gimpdrawable-transform.[ch]
23678 (gimp_drawable_transform_tiles_flip): added "gdouble axis" and
23679 calculate the resulting drawable offset.
23680 (gimp_drawable_transform_flip): calculate the axis and pass it to
23681 the function above.
23682 (gimp_drawable_transform_[tiles_]affine): reordered parameters.
23684 * app/core/gimpitem.[ch]: added virtual functions GimpItem::flip()
23685 and GimpItem::transform().
23687 * app/core/gimpchannel.c
23688 * app/core/gimplayer.c
23689 * app/vectors/gimpvectors.c: implement flip() and transform().
23690 Note that all functions always transform the whole item,
23691 regardless of a present selection.
23693 * app/core/Makefile.am
23694 * app/core/gimpitem-linked.[ch]: new files containing utility
23695 functions which translate, flip and transform all linked items.
23697 * app/tools/gimpfliptool.c
23698 * app/tools/gimptransformtool.c
23699 * tools/pdbgen/pdb/layer.pdb: use the new gimp_item_linked_*()
23700 functions to translate, flip and transform all linked items.
23702 * tools/pdbgen/pdb/transform_tools.pdb: follow
23703 gimp_drawable_transform_affine() API change.
23705 * app/pdb/layer_cmds.c
23706 * app/pdb/transform_tools_cmds.c: regenerated.
23708 2003-05-12 Michael Natterer <mitch@gimp.org>
23710 * app/tools/tool_manager.c (tool_manager_tool_changed): make sure
23711 that active_tool->tool_info is non-NULL before dereferencing it.
23712 (Spotted by Ville PƤtsi).
23714 2003-05-11 Sven Neumann <sven@gimp.org>
23716 * tools/pdbgen/pdb/guides.pdb: added a missing break that broke
23717 gimp_image_find_next_guide(). Fixes bug #112717.
23719 * app/pdb/guides_cmds.c: regenerated.
23721 2003-05-09 Sven Neumann <sven@gimp.org>
23723 * app/widgets/gimpselectioneditor.[ch]: added a "Stroke Selection"
23724 button to the selection editor as suggested in bug #112448.
23726 2003-05-09 Sven Neumann <sven@gimp.org>
23728 * app/tools/gimpmagnifytool.c (gimp_magnify_tool_button_release):
23729 initialize scale to please the compiler.
23731 2003-05-09 Pedro Gimeno <pggimeno@wanadoo.es>
23733 * plug-ins/common/jigsaw.c: Pass the buffer size to all functions
23735 (DRAW_POINT, DARKEN_POINT, LIGHTEN_POINT): Use buffer size to
23736 avoid buffer overflows. Fixes bug #100122.
23738 2003-05-09 Michael Natterer <mitch@gimp.org>
23740 * app/core/gimpitem.[ch]: added "gboolean push_undo" to
23741 GimpItem::translate() and don't push and undo in
23742 gimp_item_translate().
23744 * app/core/gimpchannel.[ch]: removed public function
23745 gimp_channel_translate() and implement GimpItem::translate().
23747 * app/core/gimpimage-mask.c
23748 * app/core/gimplayer.c: changed accordingly.
23750 * app/vectors/gimpvectors.c: actually translate the vectors
23753 * app/gui/channels-commands.c (channels_new_channel_query): removed
23754 useless call to gimp_channel_translate().
23756 * app/tools/gimpeditselectiontool.c
23757 * tools/pdbgen/pdb/layer.pdb: when translating a linked layer,
23758 also translate all linked channels and vectors. Cleanup.
23760 Note that the "linked" behaviour has changed: before this change,
23761 moving a layer moved all linked layers unconditionally. Now,
23762 linked layers/channels/vectors are moved *only* if the moved layer
23763 is also linked (the linked items behave as a group now and moving
23764 something not in the group does not affect the group).
23766 * app/pdb/layer_cmds.c: regenerated.
23768 2003-05-09 Michael Natterer <mitch@gimp.org>
23770 * app/core/gimpimage-crop.c (gimp_image_crop)
23771 * app/core/gimpimage-resize.c (gimp_image_resize)
23772 * app/core/gimpimage-scale.c (gimp_image_scale):
23773 don't #include "gimpchannel.h". Moved code around so they all do
23774 their stuff in the same order (improves readability when comparing
23775 the functions). Use GimpItem variables instead of GimpChannel or
23776 GimpLayer ones. Lots of cleanup.
23778 2003-05-09 Michael Natterer <mitch@gimp.org>
23780 * app/core/gimpimage-crop.c (gimp_image_crop): resize all vectors
23783 2003-05-09 Michael Natterer <mitch@gimp.org>
23785 * app/core/gimpitem.c: added default implementations for scale()
23786 and resize() which just set the resulting width/height and offset
23789 * app/core/gimpdrawable.c: chain up in scale() and resize().
23791 * app/vectors/gimpvectors.[ch]: buncha vectors changes/features:
23793 - Removed unused "linked" and "locked" members.
23794 - Removed "changed" signal.
23795 - Added "freeze" and "thaw" signals and functions to emit them.
23796 - Added "freeze_count" member so we emit only one freeze/thaw pair
23797 even when doing nested changes.
23798 - Added GimpItem::translate() implementation.
23799 - Actually scale and resize the vectors in scale() and resize().
23800 - Added undo for scale() and resize().
23801 - Added freeze()/thaw() pairs around all modifying functions.
23802 - Changed gimp_vectors_copy_strokes() to work as needed.
23804 * app/core/gimpimage-resize.c
23805 * app/core/gimpimage-scale.c: resize and scale all vectors.
23808 * app/core/gimpimage-undo-push.c (undo_pop_vectors_mod): added
23809 freeze()/thaw() around the vectors-modifying code. Also restore
23810 width, height and offsets.
23812 * app/tools/gimpvectortool.c: connect to "freeze" and "thaw"
23813 and pause()/resume() vectors drawing accordingly.
23815 2003-05-08 Michael Natterer <mitch@gimp.org>
23817 * app/core/gimplayer.[ch]: removed "linked" member and API...
23819 * app/core/gimpitem.[ch]: ...and added it here.
23821 * app/core/core-enums.[ch]
23822 * app/core/gimpimage-undo-push.[ch]: changed layer_linked undo
23823 types and functions to be item_linked ones.
23825 * app/tools/gimpeditselectiontool.c
23826 * app/xcf/xcf-load.c
23827 * app/xcf/xcf-save.c
23828 * tools/pdbgen/pdb/layer.pdb: changed accordingly.
23830 * app/pdb/layer_cmds.c: regenerated.
23832 * app/widgets/gimplayertreeview.[ch]: removed "linked" icon and
23835 * app/widgets/gimpitemtreeview.[ch]: and added them here. Setting
23836 channels or vectors to "linked" does nothing yet.
23838 2003-05-08 Michael Natterer <mitch@gimp.org>
23840 * app/core/gimpitem.[ch]: added gimp_item_translate() and
23841 virtual function GimpItem::translate().
23843 * app/core/gimplayer.[ch]: removed public function
23844 gimp_layer_translate() and implement GimpItem::translate()
23847 * app/core/core-enums.[ch]
23848 * app/core/gimpimage-undo-push.[ch]: changed layer_displace undo
23849 types and functions to be item_displace ones.
23851 * app/core/gimpimage-crop.c
23852 * app/core/gimpimage-resize.c
23853 * app/display/gimpdisplayshell-dnd.c
23854 * app/gui/layers-commands.c
23855 * app/tools/gimpeditselectiontool.c
23856 * app/widgets/gimptoolbox.c
23857 * tools/pdbgen/pdb/layer.pdb: changed accordingly.
23859 * app/pdb/layer_cmds.c: regenerated.
23861 2003-05-08 Michael Natterer <mitch@gimp.org>
23863 * app/core/gimplayer.[ch]: removed the remaining layer scale API.
23865 * app/core/gimpitem.[ch]: added the same functions here.
23867 * app/core/gimpimage-scale.c
23868 * app/gui/layers-commands.c
23869 * tools/pdbgen/pdb/layer.pdb: changed accordingly.
23871 * app/pdb/layer_cmds.c: regenerated.
23873 2003-05-08 Michael Natterer <mitch@gimp.org>
23875 * app/core/gimpitem.[ch] (gimp_item_configure): added width,
23876 height, offset_x and offset_y parameters.
23878 * app/core/gimpdrawable.c
23879 * app/vectors/gimpvectors.c: changed accordingly.
23881 * app/tools/gimpfliptool.c: removed unused variable.
23883 2003-05-08 Michael Natterer <mitch@gimp.org>
23885 * app/core/gimpdrawable.[ch]: removed gimp_drawable_offsets().
23887 * app/core/gimpitem.[ch]: added gimp_item_offsets().
23889 * app/core/gimpdrawable-blend.c
23890 * app/core/gimpdrawable-bucket-fill.c
23891 * app/core/gimpdrawable-histogram.c
23892 * app/core/gimpedit.c
23893 * app/core/gimpimage-convert.c
23894 * app/core/gimpimage-crop.c
23895 * app/core/gimpimage-mask-select.c
23896 * app/core/gimpimage-mask.c
23897 * app/core/gimpimage-merge.c
23898 * app/core/gimpimage-pick-color.c
23899 * app/core/gimpimage-preview.c
23900 * app/core/gimpimage-projection.c
23901 * app/core/gimpimage-undo-push.c
23902 * app/core/gimpimage.c
23903 * app/core/gimplayer-floating-sel.c
23904 * app/core/gimplayer.c
23905 * app/display/gimpdisplay.c
23906 * app/display/gimpdisplayshell-transform.c
23907 * app/display/gimpdisplayshell.c
23908 * app/gui/channels-commands.c
23909 * app/gui/layers-commands.c
23910 * app/paint/gimppaintcore.c
23911 * app/tools/gimpbezierselecttool.c
23912 * app/tools/gimpblendtool.c
23913 * app/tools/gimpbucketfilltool.c
23914 * app/tools/gimpbycolorselecttool.c
23915 * app/tools/gimpclonetool.c
23916 * app/tools/gimpcolorpickertool.c
23917 * app/tools/gimpcroptool.c
23918 * app/tools/gimpcurvestool.c
23919 * app/tools/gimpeditselectiontool.c
23920 * app/tools/gimpfliptool.c
23921 * app/tools/gimpfuzzyselecttool.c
23922 * app/tools/gimpinktool.c
23923 * app/tools/gimplevelstool.c
23924 * app/tools/gimppainttool.c
23925 * app/tools/gimprectselecttool.c
23926 * app/tools/gimptransformtool.c
23927 * app/widgets/gimpselectioneditor.c
23928 * app/widgets/gimptoolbox.c
23929 * tools/pdbgen/pdb/color.pdb
23930 * tools/pdbgen/pdb/drawable.pdb: changed accordingly.
23932 * app/pdb/color_cmds.c
23933 * app/pdb/drawable_cmds.c: regenerated.
23935 2003-05-08 Michael Natterer <mitch@gimp.org>
23937 * app/core/gimpdrawable.[ch]: removed gimp_drawable_width,height().
23939 * app/core/gimpitem.[ch]: added gimp_item_width,height().
23941 * app/core/gimpchannel.c
23942 * app/core/gimpdrawable-bucket-fill.c
23943 * app/core/gimpdrawable-offset.c
23944 * app/core/gimpdrawable-preview.c
23945 * app/core/gimpdrawable-transform.c
23946 * app/core/gimpimage-contiguous-region.c
23947 * app/core/gimpimage-crop.c
23948 * app/core/gimpimage-mask.c
23949 * app/core/gimpimage-merge.c
23950 * app/core/gimpimage-preview.c
23951 * app/core/gimpimage-projection.c
23952 * app/core/gimpimage-undo-push.c
23953 * app/core/gimpimage.c
23954 * app/core/gimpimagemap.c
23955 * app/core/gimplayer-floating-sel.c
23956 * app/core/gimplayer.c
23957 * app/core/gimplayermask.c
23958 * app/core/gimpscanconvert.c
23959 * app/display/gimpdisplay.c
23960 * app/display/gimpdisplayshell-dnd.c
23961 * app/display/gimpdisplayshell.c
23962 * app/gui/channels-commands.c
23963 * app/gui/layers-commands.c
23964 * app/paint/gimpclone.c
23965 * app/paint/gimpconvolve.c
23966 * app/paint/gimpdodgeburn.c
23967 * app/paint/gimppaintcore.c
23968 * app/paint/gimpsmudge.c
23969 * app/text/gimptextlayer.c
23970 * app/tools/gimpbezierselecttool.c
23971 * app/tools/gimpbucketfilltool.c
23972 * app/tools/gimpbycolorselecttool.c
23973 * app/tools/gimpclonetool.c
23974 * app/tools/gimpcroptool.c
23975 * app/tools/gimpeditselectiontool.c
23976 * app/tools/gimpfliptool.c
23977 * app/tools/gimpfuzzyselecttool.c
23978 * app/tools/gimphistogramtool.c
23979 * app/tools/gimpinktool.c
23980 * app/tools/gimprectselecttool.c
23981 * app/tools/gimptransformtool.c
23982 * app/widgets/gimpselectioneditor.c
23983 * app/widgets/gimptoolbox.c
23984 * tools/pdbgen/pdb/drawable.pdb
23985 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
23987 * app/pdb/drawable_cmds.c
23988 * app/pdb/selection_cmds.c: regenerated.
23990 2003-05-08 Michael Natterer <mitch@gimp.org>
23992 More transform virtualization preparation:
23994 * app/core/gimpdrawable.[ch]: removed "width", "height", "offset_x"
23997 * app/core/gimpitem.[ch]: ...and added them here.
23999 * app/core/gimpchannel.c
24000 * app/core/gimpdrawable-preview.c
24001 * app/core/gimpdrawable-transform.c
24002 * app/core/gimpedit.c
24003 * app/core/gimpimage-convert.c
24004 * app/core/gimpimage-mask.c
24005 * app/core/gimpimage-merge.c
24006 * app/core/gimpimage-qmask.c
24007 * app/core/gimpimage-undo-push.c
24008 * app/core/gimplayer-floating-sel.c
24009 * app/core/gimplayer.c
24010 * app/text/gimptext-compat.c
24011 * app/text/gimptextlayer.c
24012 * app/tools/gimptexttool.c
24013 * app/tools/gimptransformtool.c
24014 * app/widgets/gimppreviewrendererdrawable.c
24015 * app/xcf/xcf-load.c
24016 * app/xcf/xcf-save.c
24017 * tools/pdbgen/pdb/layer.pdb: changed accordingly.
24019 * app/pdb/layer_cmds.c: regenerated.
24021 2003-05-07 Michael Natterer <mitch@gimp.org>
24023 * app/core/gimplayer.c (gimp_layer_create_mask): when adding a
24024 layer mask from selection, don't crash if the layer is not
24025 entirely inside the image boundary but clip the copy_region()
24026 accordingly. Fixes bug #112409. Added a local GimpDrawable variable
24027 so we don't need to GIMP_DRAWABLE(layer) all the time.
24029 2003-05-07 Michael Natterer <mitch@gimp.org>
24031 * app/vectors/gimpvectors.c: forgot to commit this one.
24033 2003-05-07 Michael Natterer <mitch@gimp.org>
24035 More transform stuff virtualization:
24037 * app/core/gimpitem.[ch]: added new virtual function
24038 GimpItem::resize().
24040 * app/core/gimpchannel.[ch]
24041 * app/core/gimplayer.[ch]: removed public resize functions
24042 and implement resize() instead.
24044 * app/core/gimpdrawable.c: implement resize() which contains
24045 the common parts of layer/channel resizing.
24047 * app/vectors/gimpvectors.c: added empty resize() implementation.
24049 * app/core/gimpimage-crop.c
24050 * app/core/gimpimage-resize.c
24051 * app/gui/layers-commands.c
24052 * tools/pdbgen/pdb/layer.pdb: changed accordingly.
24054 * app/pdb/layer_cmds.c: regenerated.
24056 2003-05-07 Michael Natterer <mitch@gimp.org>
24058 Started to abstract item transformation so we can easily
24059 transform multiple linked items later:
24061 * app/core/gimpitem.[ch]: added new virtual function
24062 GimpItem::scale() with the same signature as the former
24063 gimp_layer_scale_lowlevel().
24065 * app/core/gimpdrawable.c: implement scale() and do the
24066 common parts of layer/channel scaling here.
24068 * app/core/gimpchannel.[ch]
24069 * app/core/gimplayer.[ch]: implement scale() for the
24070 channel/layer specific parts of scaling.
24072 * app/core/gimplayer.[ch]: renamed gimp_layer_scale() to
24073 gimp_layer_scale_by_origin().
24075 * app/vectors/gimpvectors.c: added empty scale() implementation.
24077 * app/core/gimpimage-scale.c
24078 * app/core/gimpimage-undo-push.c
24079 * app/gui/layers-commands.c
24080 * tools/pdbgen/pdb/layer.pdb: changed accordingly.
24082 * app/pdb/layer_cmds.c: regenerated.
24086 * app/core/gimpimage-undo-push.c: fixed item rename undo to
24087 take the size of the saved name into account. Removed old
24090 2003-05-06 Michael Natterer <mitch@gimp.org>
24092 * app/tools/tools-enums.[ch]: removed GimpToolState (ACTIVE,
24095 * app/tools/gimptoolcontrol.[ch]: replaced "GimpToolState state"
24096 by "gboolean active".
24098 * app/tools/gimptool.c (gimp_tool_control)
24099 * app/tools/tool_manager.c (tool_manager_control_active): check
24100 for gimp_tool_control_is_active() before calling
24101 gimp_tool_control_halt().
24103 2003-05-06 Michael Natterer <mitch@gimp.org>
24105 * app/tools/gimptool.c (gimp_tool_motion): added
24106 g_return_if_fail (gimp_tool_control_is_active (tool->control))
24107 since that's a basic constraint of tool event handling.
24109 * app/tools/gimpbezierselecttool.c
24110 * app/tools/gimpeditselectiontool.c
24111 * app/tools/gimpfreeselecttool.c
24112 * app/tools/gimpfuzzyselecttool.c
24113 * app/tools/gimpiscissorstool.c
24114 * app/tools/gimpmagnifytool.c
24115 * app/tools/gimprectselecttool.c (gimp_*_tool_motion):
24116 removed checks for gimp_tool_control_is_active().
24118 2003-05-05 Pedro Gimeno <pggimeno@wanadoo.es>
24120 * app/core/gimpdrawable-blend.c: Cleanups.
24121 (gradient_calc_linear_factor): Apply the gradient to both sides
24122 when Repeat is set to Sawtooth Wave. Fixes bug #112106.
24124 * app/core/gimpdrawable-transform.c
24125 (gimp_drawable_transform_tiles_affine): Fix copy'n'paste slip in
24126 coordinates calculation for supersampling code. Transform the
24127 pixel centers properly. Fixes bug #10466.
24129 * app/tools/gimpdrawtool.c (gimp_draw_tool_draw_rectangle,
24130 gimp_draw_tool_draw_arc): Ported the fix for bug #17904 from the
24131 STABLE branch (off-by-one when drawing the rectangle/ellipse
24134 * app/tools/gimpeditselectiontool.c: Renamed
24135 gimp_edit_selection_tool_snap to
24136 gimp_edit_selection_tool_calc_coords, as it is no longer used for
24138 (gimp_edit_selection_tool_calc_coords): Use floor instead of
24139 rounding. Callers changed to remove rounding, as it deals with
24140 gdoubles directly. Thanks to Mitch for the help refining this
24141 one. Fixes bug #17906.
24143 2003-05-05 Michael Natterer <mitch@gimp.org>
24145 * app/display/gimpdisplayshell-scale.c: some more code cleanup.
24147 2003-05-05 Michael Natterer <mitch@gimp.org>
24149 * app/display/gimpdisplayshell-scale.[ch]
24150 (gimp_display_shell_scale_zoom_fraction): new utility function
24151 which takes GimpZoomType and zooms "scalesrc" and "scaledest".
24152 (gimp_display_shell_scale_calc_fraction): new utility function
24153 which takes an exact double scale factor and calculates "scalesrc"
24156 (gimp_display_shell_scale): use the first.
24157 (gimp_display_shell_scale_fit): use the second.
24159 * app/tools/gimpmagnifytool.[ch]: use the first to click-zoom and
24160 the second to area-zoom. Fixes bug #112115. Removed zoom_in() and
24161 zoom_out() utiliy functions. Removed "GimpZoomType op" from the
24162 GimpMagnifyTool struct. Cleanup.
24164 2003-05-05 Michael Natterer <mitch@gimp.org>
24166 * app/display/gimpdisplayshell.c (gimp_display_shell_snap_coords):
24167 don't change the passed GimpCoords if we didn't snap.
24169 2003-05-04 Michael Natterer <mitch@gimp.org>
24171 * app/widgets/gimpdialogfactory.c: set GDK_HINT_USER_POS for all
24172 session managed dialogs, not only for those which already have
24173 saved session info. This way the dialogs keep their position
24174 acrosss hide/show within the same session, even if they have never
24177 * app/gui/dialogs.c: added entries for the file open/save dialogs.
24178 Fixed some entries.
24180 * app/gui/file-dialog-utils.[ch]
24181 * app/gui/file-open-dialog.c
24182 * app/gui/file-save-dialog.c: register the file dialogs with
24183 the dialog factory.
24185 2003-05-03 Michael Natterer <mitch@gimp.org>
24187 * app/plug-in/plug-ins.c (plug_ins_init): Update the splash before
24188 calling plug_in_query() and plug_in_init() (applied a modified
24189 patch from Raphael Quinet). Fixes bug #112156.
24191 2003-05-03 Michael Natterer <mitch@gimp.org>
24193 * app/widgets/gimpdockbook.[ch]: added "dockable_added",
24194 "dockable_removed" and "dockable_reordered" signals and emit them.
24196 * app/widgets/gimpimagedock.[ch]: implement GimpDock::book_added()
24197 and GimpDock::book_removed(). Connect to the above signals and
24198 update the window title as proposed in bug #111971. Idle-update
24199 the title so subsequent changes are compressed. Fixes bug #111971.
24201 * app/widgets/gimpdock.c: cleanup.
24203 2003-05-03 Michael Natterer <mitch@gimp.org>
24205 * app/gui/dialogs.c
24206 * app/tools/gimphistogramtool.c
24207 * app/tools/gimpmeasuretool.c: register their dialogs too.
24209 2003-05-02 Michael Natterer <mitch@gimp.org>
24211 * app/widgets/gimpdialogfactory.[ch]: added new function
24212 gimp_dialog_factory_add_foreign() which adds a dialog that was not
24213 created by the factory itself. Its identifier however must be
24214 registered with the factory. Connect to all toplevel dialogs'
24215 "configure_event" and remember the resulting window geometry so we
24216 get session management for *all* dialogs, not only for those which
24219 * app/gui/dialogs.c: added the "File New" dialog. Added foreign
24220 entries (without constructor) for all dialogs opened by tools.
24222 * app/gui/dialogs-constructors.[ch]: added a constructor for
24223 the file_new dialog.
24225 * app/gui/file-new-dialog.[ch]: renamed file_new_dialog_create()
24226 to file_new_dialog_new() and removed the gimage and template
24227 paramaters. Added new function file_new_dialog_set() to set
24228 gimage and template after creation.
24230 * app/gui/file-commands.c
24231 * app/gui/templates-commands.c: changed accordingly.
24233 * app/tools/gimpimagemaptool.[ch]
24234 * app/tools/gimptransformtool.[ch]: added
24235 "const gchar *shell_identifier" to the tool structs. Register the
24236 tool dialogs using gimp_dialog_factory_add_foreign().
24238 * app/tools/gimpbrightnesscontrasttool.c
24239 * app/tools/gimpcolorbalancetool.c
24240 * app/tools/gimpcurvestool.c
24241 * app/tools/gimphuesaturationtool.c
24242 * app/tools/gimplevelstool.c
24243 * app/tools/gimpperspectivetool.c
24244 * app/tools/gimpposterizetool.c
24245 * app/tools/gimprotatetool.c
24246 * app/tools/gimpscaletool.c
24247 * app/tools/gimpsheartool.c
24248 * app/tools/gimpthresholdtool.c: set "shell_identifier" so the
24249 dialogs become session managed. Fixes bug #61091.
24251 * app/tools/gimpcroptool.c: register the crop dialog with the
24252 dialog factory. Fixes bug #52849.
24254 * app/tools/gimpcolorpickertool.c: ditto.
24258 * app/tools/gimptool.c: no need to cast the return value of
24261 2003-05-02 Pedro Gimeno <pggimeno@wanadoo.es>
24263 * app/paint/gimppaintcore-stroke.c (gimp_paint_core_stroke,
24264 gimp_paint_core_stroke_vectors): Save brush pointer before first
24265 stroke and restore it after. Fixes bug #102162.
24267 * plug-ins/common/flarefx.c (FlareFX): Use
24268 gimp_fixme_preview_do_row instead of memcpy. Fixes bug #112042 for
24271 * plug-ins/common/jigsaw.c: Several cleanups.
24272 (jigsaw_values_changed): New function as a result of the cleanups.
24273 (jigsaw): Use gimp_fixme_preview_do_row instead of memcpy.
24274 Together with the fix to flarefx, fixes bug #112042.
24275 (draw_jigsaw): Warn if passed a NULL buffer (solves the crash
24276 reported in bug #112012 but not the bug itself).
24278 * plug-ins/gimpressionist/orientation.c: Slightly reformatted.
24279 (create_orientationpage): Modify orientfirst/orientlast instead of
24280 sizefirst/sizelast in the corresponding adjustments. Fixes
24283 2003-05-01 Manish Singh <yosh@gimp.org>
24285 * app/text/gimpfontlist.c: Query fontconfig directly for the font
24286 list, avoiding scanning the internal fontconfig list over and over
24287 again. There are differences in the font list that the old and new
24288 code produce however. The new code will generate descriptions for
24289 more fonts, and some of the styles will be different. Also, pango
24290 font description strings aren't specific enough for all cases, so
24291 a font name may appear more than once in the list. I'm not sure
24292 how to solve this best, but this code is Good Enough (TM) for now.
24294 2003-04-30 Pedro Gimeno <pggimeno@wanadoo.es>
24296 * app/widgets/gimpgradienteditor.c (control_compress_range): Don't
24297 try to compress the left and right ends. Fixes bug #89274.
24299 2003-04-30 Michael Natterer <mitch@gimp.org>
24301 * app/xcf/xcf-load.c (xcf_load_image_props): skip guides with
24302 negative positions. Fixes warning since gimp_image_add_[hv]guide()
24303 doesn't allow positions < 0 any more.
24305 2003-04-29 Michael Natterer <mitch@gimp.org>
24307 * app/widgets/gimpcontainertreeview.c
24308 (gimp_container_tree_view_button_press): when editing an object's
24309 name, make sure we really edit its name, not its description.
24311 2003-04-29 Pedro Gimeno <pggimeno@wanadoo.es>
24313 * app/paint-funcs/paint-funcs.c (shrink_line): Serialize access to
24314 source and destination memory to reduce the chance of cache misses
24315 when dealing with large images. Enable some assertions temporarily
24316 to ensure that the algorithm works properly before backporting it.
24318 2003-04-28 Michael Natterer <mitch@gimp.org>
24320 * plug-ins/common/jpeg.c: default to not showing the in-display
24321 JPEG preview and warn the user that enabling it will modify
24322 the image's undo history. Fixes bug #109464.
24324 2003-04-27 Pedro Gimeno <pggimeno@wanadoo.es>
24326 * app/paint-funcs/paint-funcs.c (shrink_line): Mostly rewritten to
24327 improve accuracy. Fixes bug #104693.
24329 2003-04-25 Pedro Gimeno <pggimeno@wanadoo.es>
24331 * app/paint-funcs/paint-funcs.c: Some reformattings to improve
24333 (shrink_line): Added some explanatory comments.
24334 (border_region): Fixed wrong (though harmless) allocation bug:
24335 used sizeof(gint16 *) where sizeof(gint16) was needed.
24337 2003-04-23 Sven Neumann <sven@gimp.org>
24339 * plug-ins/common/url.c (query): register the plug-in for https
24340 as well. Most wget installations seem to handle this nowadays.
24342 2003-04-21 Pedro Gimeno <pggimeno@wanadoo.es>
24344 * configure.in: Removed the plug-ins/tools/Makefile line that was
24345 left over when the tool plug-ins were removed.
24347 2003-04-17 Sven Neumann <sven@gimp.org>
24349 * plug-ins/script-fu/scripts/old-photo.scm: applied a modified
24350 version of a patch from Branko Collin that makes the border size
24351 configurable (bug #62087).
24353 2003-04-17 Sven Neumann <sven@gimp.org>
24355 * app/core/gimpimage-contiguous-region.c
24356 (find_contiguous_region_helper): applied patch from Pedro Gimeno
24357 that fixes bug #51883.
24359 * plug-ins/common/bumpmap.c (bumpmap): applied patch from Pedro
24360 Gimeno that fixes bug #52543.
24362 2003-04-17 Michael Natterer <mitch@gimp.org>
24364 * app/core/gimpimage-guides.c (gimp_image_snap_x,y): new functions
24365 snapping to one axis only.
24366 (gimp_image_snap_rectangle): use them to enable snapping the
24367 rectangle to all its corners, not just the NW and SE one.
24369 2003-04-17 Michael Natterer <mitch@gimp.org>
24371 * app/tools/gimptoolcontrol.[ch]: added an API to specify a
24372 "snap_offset" and a "snap_width/height". Needed for tools which
24373 want to snap to a rectangle and/or a position which is not the
24374 current cursor position.
24376 * app/display/gimpdisplayshell.[ch]: removed
24377 gimp_display_shell_find_guide(), gimp_display_shell_snap_point()
24378 and gimp_display_shell_snap_rectangle().
24379 Added gimp_display_shell_snap_coords() which works on GimpCoords
24380 and gets passed the above snap offsets.
24382 * app/display/gimpdisplayshell-callbacks.c: use the new snap
24383 function, using the values from GimpToolControl.
24385 * app/tools/gimpcroptool.c: set snap offsets so the handles can be
24386 guide-aligned after creating. Fixes bug #110957.
24388 * app/tools/gimpeditselectiontool.c: removed snapping code (which
24389 was broken anyway) and set appropriate snap offsets in
24390 init_edit_selection().
24392 2003-04-16 Sven Neumann <sven@gimp.org>
24394 * plug-ins/print/gimp_main_window.c: 64-bit cleaniless cleanup.
24396 2003-04-16 Michael Natterer <mitch@gimp.org>
24398 * app/widgets/gimptemplateeditor.c (gimp_template_editor_init):
24399 modify the focus chain so it doesn't go line-by-line, but
24400 spinbuttons first, then the widgets right of them.
24402 2003-04-15 Michael Natterer <mitch@gimp.org>
24404 * app/tools/gimptool.c: check for GIMP_IS_DISPLAY(gdisp) again.
24406 * app/tools/gimptool.h: don't #include "gimptoolcontrol.h"
24408 * app/tools/[all tools].c: #include "gimptoolcontrol.h"
24410 2003-04-15 Sven Neumann <sven@gimp.org>
24412 * app/tools/Makefile.am
24413 * app/tools/gimptoolgui.[ch]
24414 * app/tools/gimptoolmodule.[ch]: removed unused files.
24416 2003-04-15 Sven Neumann <sven@gimp.org>
24418 Removed support for pluggable tools:
24420 * configure.in: bumped version number to 1.3.15.
24425 * plug-ins/Makefile.am
24426 * plug-ins/plugin-helper
24427 * plug-ins/tools: removed libgimpproxy, libgimptool and plug-ins
24430 * tools/Makefile.am
24431 * tools/gimp-mkproxy: removed tool that used to generate
24434 * app/core/core-enums.h
24435 * app/core/gimpchannel.h
24436 * app/display/display-types.h
24437 * app/widgets/widgets-enums.h: removed proxy-skip/resume stuff.
24439 * app/core/gimpobject.c: use gimp marshallers.
24441 * app/tools/Makefile.am
24442 * app/tools/gimptool.h
24443 * app/tools/tools-enums.[ch]: moved these files back from
24446 * app/tools/gimptool.c
24447 * app/tools/gimptoolcontrol.h: merged back functionality from
24451 * app/display/gimpdisplay.c
24452 * app/display/gimpdisplayshell-callbacks.c
24453 * app/gui/tools-commands.c
24454 * app/tools/gimpairbrushtool.c
24455 * app/tools/gimpbucketfilltool.h
24456 * app/tools/gimpdrawtool.h
24457 * app/tools/gimpimagemaptool.h
24458 * app/tools/gimpinktool.h
24459 * app/tools/gimptoolmodule.c
24460 * app/tools/tool_manager.c
24461 * app/tools/tools-types.h
24462 * app/tools/tools.c
24463 * tools/pdbgen/Makefile.am: changed accordingly.
24465 2003-04-15 Michael Natterer <mitch@gimp.org>
24467 * app/widgets/gimpcontainergridview.[ch]: added a "selected_item"
24468 pointer to the GimpContainerGridView struct so we don't need to
24469 remember it using g_object_[set|get]_data(). Also make sure that
24470 the selected item doesn't get out of sight when resizing the view
24471 and that it is always visible initially.
24473 2003-04-15 Michael Natterer <mitch@gimp.org>
24475 * app/plug-in/plug-ins.c (plug_ins_init): make sure all progress
24476 bars end at 1.0. Build the list of extension procedures to start
24477 before starting them (and don't start them while iterating the
24478 list of procedures because the list changes if we start an
24481 2003-04-15 Michael Natterer <mitch@gimp.org>
24483 * app/tools/paint_options.c (gimp_paint_options_gui): use a smaller
24484 preview size for the gradient popup than for the button.
24486 2003-04-14 Sven Neumann <sven@gimp.org>
24488 * Made 1.3.14 release.
24490 2003-04-14 Sven Neumann <sven@gimp.org>
24492 * tools/pdbgen/pdb/drawable.pdb
24493 * tools/pdbgen/pdb/image.pdb: don't request viewable previews with
24494 a width or height of 0 and don't crash if no preview is returned.
24496 * app/pdb/drawable_cmds.c
24497 * app/pdb/image_cmds.c
24498 * libgimp/gimpdrawable_pdb.c: regenerated.
24500 2003-04-14 Michael Natterer <mitch@gimp.org>
24502 * app/tools/gimpvectortool.[ch]: made
24503 gimp_vector_tool_clear_vectors() private. Connect to the vector's
24504 "changed" signal (and do nothing in the callback for now...).
24505 Alwayws set tool->gdisp in button_press(). Use for() loops to
24506 iterate strokes. Fixed gimp_vector_tool_set_vectors() to hopefully
24507 do the right thing in all cases now. s/ptr/list/g. Cleanup.
24509 2003-04-14 Michael Natterer <mitch@gimp.org>
24511 * app/vectors/gimpvectors.[ch]: made "changed" a real signal,
24512 don't crash when iterating a NULL stroke list, cleanup.
24514 2003-04-14 Michael Natterer <mitch@gimp.org>
24516 * app/widgets/gimpdockbook.c (gimp_dockbook_get_tab_widget): check
24517 for !GIMP_IS_PREVIEW(widget), not for GTK_WIDGET_NO_WINDOW(widget)
24518 when deciding whether to put the tab_widget in a GtkEventBox
24519 because GimpPreview is NO_WINDOW now but still handles events.
24520 Fixes dockable DND.
24522 2003-04-14 Sven Neumann <sven@gimp.org>
24524 * app/gui/preferences-dialog.c: don't try to reparent the children
24525 of GtkInputDialog but simply pop up the dialog as provided by
24526 GTK+. Looks ugly but shouldn't crash any longer. Fixes bug #104423.
24528 2003-04-14 Simon Budig <simon@gimp.org>
24530 * app/vectors/gimpstroke.[ch]
24531 * app/vectors/gimpvectors.[ch]: Changed vectors->strokes to a
24532 GList and removed stroke->next. Implemented stuff for duplicating
24533 strokes. Duplicating a vector works now.
24535 * app/tools/gimpvectortool.c: added not-yet-used function to
24536 determine where a click has been. Refcounting stuff changed.
24538 * app/core/gimpimage-mask-select.c
24539 * app/paint/gimppaintcore-stroke.c: Changed accordingly.
24541 2003-04-13 Michael Natterer <mitch@gimp.org>
24543 * app/widgets/gimpcontainergridview.c: connect to "realize" of the
24544 scrolled window's viewport and scroll to the correct item
24545 (because GtkViewport is too dumb to this by itself).
24547 * app/widgets/gimpcontainerpopup.[ch]: added a "view_type"
24550 * app/widgets/gimpviewablebutton.[ch]: added new function
24551 gimp_viewable_button_set_view_type() and pass the view_type
24552 to the GimpContainerPopup.
24554 * app/widgets/gimptemplateeditor.c: default to GIMP_VIEW_TYPE_GRID
24555 for the stock icon popup.
24557 2003-04-13 Michael Natterer <mitch@gimp.org>
24559 * app/core/gimpdrawable-desaturate.c (gimp_drawable_desaturate):
24560 Added g_return_if_fail (gimp_drawable_is_rgb (drawable)), cleanup.
24562 2003-04-13 Michael Natterer <mitch@gimp.org>
24564 * app/core/gimptemplate.c (gimp_template_notify): invalidate
24565 the preview when the stock_id changes.
24567 * app/widgets/gimptemplateeditor.[ch]: added an optional entry
24568 to edit the template's name.
24570 * app/widgets/gimptemplateview.[ch]: added a "duplicate" button and
24571 function pointers for creating templates, editing templates and
24572 creating images from templates.
24574 * app/gui/file-new-dialog.[ch] (file_new_dialog_create): added an
24575 optional template parameter.
24577 * app/gui/file-commands.c: pass template == NULL.
24579 * app/gui/templates-menu.c: added a "Duplicate Template" menu entry.
24581 * app/gui/templates-commands.[ch]: added the callback for the
24582 duplicate menu item. Added "New Template" and "Edit Template"
24583 dialogs. Added a function which opens a file_new_dialog with
24584 a template preselected.
24586 * app/gui/dialogs-constructors.c: let GimpTemplateView know
24587 about the functions.
24589 2003-04-13 Sven Neumann <sven@gimp.org>
24591 * app/paint/gimppaintoptions.c: changed the "fade-length" and
24592 "gradient-length" minimum values to 0.0 for compatibility with
24595 * app/paint/gimppaintcore.c (gimp_paint_core_get_color_from_gradient):
24596 check that gradient_length > 0.0 before dividing by it.
24598 * plug-ins/gfig/gfig.c (gfig_paint_callback): push an undo group
24599 around the paint operations (bug #110446).
24601 2003-04-13 Michael Natterer <mitch@gimp.org>
24603 * app/widgets/gimptemplateview.c: made the names editable in the
24606 2003-04-13 Michael Natterer <mitch@gimp.org>
24608 * app/core/gimpcontext.c (gimp_context_deserialize_property)
24609 * app/core/gimpcontainer.c (gimp_container_deserialize): g_free()
24610 the string returned by gimp_scanner_parse_string(). Replace
24611 NULL object names by "".
24613 2003-04-13 Michael Natterer <mitch@gimp.org>
24615 * app/tools/gimpeditselectiontool.c (init_edit_selection):
24616 g_memdup() the segments returned by gimp_image_mask_boundary().
24617 Just caching the pointers leads to bug #22375 because the image's
24618 mask boundary changes while we live-move stuff.
24620 * app/tools/gimpmovetool.c (gimp_move_tool_button_press): pause
24621 the selection when starting to move a guide, since we also resume
24622 it when we're finished.
24624 (both bugs tracked down by Pedro Gimeno).
24626 2003-04-12 Sven Neumann <sven@gimp.org>
24628 * libgimpwidgets/gimpstock.c (gimp_stock_button_pixbufs): register
24629 missing icon for GIMP_STOCK_GRAVITY_WEST.
24631 2003-04-12 Michael Natterer <mitch@gimp.org>
24633 * app/widgets/gimpcontainerpopup.[ch]
24634 * app/widgets/gimpviewablebutton.[ch]: added "preview_size" and
24635 "preview_border_width" parameters to the constructors and use them
24636 when creating the popup.
24638 * app/tools/gimptextoptions.c
24639 * app/tools/paint_options.c
24640 * app/widgets/gimptemplateeditor.c: changed accordingly. Create the
24641 icon popup without borders.
24643 2003-04-12 Michael Natterer <mitch@gimp.org>
24645 * app/config/gimpconfig-params.h: made object properties
24646 G_PARAM_READWRITE by default. Added flag GIMP_PARAM_AGGREGATE
24647 which indicates that an object property is not a reference but a
24648 real part of its owner.
24650 * app/config/gimpconfig-deserialize.c: g_object_set_property()
24651 object properties only if they are not GIMP_PARAM_AGGREGATE.
24653 * app/config/gimpconfig-utils.c (gimp_config_copy_properties,
24654 gimp_config_reset_properties): copy and reset GIMP_PARAM_AGGREGATE
24655 object properties correctly.
24657 * app/config/gimpconfig-serialize.c: don't call
24658 gimp_config_writer_open/close() for properties which are handled
24659 by a GimpConfigIface::serialize_property() implementation.
24661 * app/core/gimpcontext.c: removed exlicit G_PARAM_WRITABLE from
24662 object properties since that's the default now. Call
24663 gimp_config_writer_open/close() when serializing properties.
24665 * app/core/gimpviewable.c (gimp_viewable_get_property): use
24666 gimp_viewable_get_stock_id().
24667 (gimp_viewable_set_stock_id): set stock_id to NULL if the new
24668 stock_id is the same as viewable_class->default_stock_id.
24669 Added serialize_property() which skips stock_id serialization
24672 * app/tools/gimptextoptions.c: made the "text" property
24673 GIMP_PARAM_AGGREGATE. Added gimp_text_options_set_property()
24674 (which does nothing).
24676 * app/widgets/gimptemplateeditor.[ch]: added an optional
24677 GimpViewableButton to change the template's icon.
24679 * app/gui/file-new-dialog.c: create it with the icon button so it
24682 2003-04-12 Dave Neary <bolsh@gimp.org>
24684 * plug-ins/common/png.c (save_image):
24685 Fixed a bug caused by myself previously. png saving
24686 should now work reasonably correctly with alpha on indexed
24689 2003-04-12 Sven Neumann <sven@gimp.org>
24691 * plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
24692 applied a patch from Pedro Gimeno that plugs a memleak in Script-Fu.
24694 2003-04-11 Sven Neumann <sven@gimp.org>
24696 * app/display/gimpdisplayshell-scale.c
24697 (gimp_display_shell_scale_dialog): fixed fnord that caused the
24698 dialog to sometimes show a ratio of 0:0.
24700 2003-04-11 Sven Neumann <sven@gimp.org>
24702 * app/widgets/gimpwidgets-utils.c (gimp_get_icon_size): return
24703 GTK_ICON_SIZE_INVALID for non-existant icons.
24705 * app/widgets/gimppreviewrenderer.c: handle GTK_ICON_SIZE_INVALID.
24707 2003-04-11 Michael Natterer <mitch@gimp.org>
24709 * app/gui/file-new-dialog.c: s/NewImageInfo/FileNewDialog/g,
24712 2003-04-11 Michael Natterer <mitch@gimp.org>
24714 * app/widgets/gimpdockable.[ch]: derive it from GtkBin, not from
24715 GtkVBox. Removed "content_spacing" style property.
24717 * app/widgets/gimpcontainerview-utils.c
24719 * themes/Default/gtkrc: changed accordingly.
24721 2003-04-11 Raphael Quinet <quinet@gamers.org>
24723 * plug-ins/flame/flame.c (dialog): restore the original input
24724 range from 1 to 4 for the Spatial Oversample parameter, and reset
24725 the number of decimals to 0. Fixes bug #110443.
24727 2003-04-11 Sven Neumann <sven@gimp.org>
24729 * themes/Default/images/Makefile.am
24730 * themes/Default/images/stock-template-24.png
24731 * themes/Default/images/stock-video-[16|24].png
24732 * themes/Default/images/stock-web-[16|24].png: new icons by Jimmac.
24734 * libgimpwidgets/gimpstock.[ch]: register the new icons.
24736 * etc/templaterc: use Web icons for the web banner templates.
24738 2003-04-11 Michael Natterer <mitch@gimp.org>
24740 * app/widgets/Makefile.am
24741 * app/widgets/widgets-types.h
24742 * app/widgets/gimptemplateeditor.[ch]: new widget chopped out
24743 of file-new-dialog.c
24745 * app/gui/file-new-dialog.c: use it.
24747 2003-04-11 Sven Neumann <sven@gimp.org>
24749 * app/widgets/gimppreviewrenderer.c (gimp_preview_renderer_create_gc):
24750 lookup the border color in the window's colormap.
24752 2003-04-11 Sven Neumann <sven@gimp.org>
24754 * app/widgets/gimppreview.[ch]
24755 * app/widgets/gimppreviewrenderer.[ch]: moved background
24756 functionality into the renderer. Removed some GimpPreview
24757 functions that used to wrap GimpPreviewRenderer functionality.
24759 * app/display/gimpdisplayshell-layer-select.c
24760 * app/display/gimpnavigationview.c
24761 * app/gui/dialogs-constructors.c
24762 * app/widgets/gimpcontainergridview.c
24763 * app/widgets/gimpcontainermenuimpl.c
24764 * app/widgets/gimppreview-popup.c
24765 * app/widgets/gimpselectioneditor.[ch]: changed accordingly.
24767 2003-04-11 Michael Natterer <mitch@gimp.org>
24769 * app/widgets/gimpnavigationpreview.c: set the cursor on
24770 preview->event_window, not widget->window. Use
24771 preview->renderer->viewable, not preview->viewable.
24773 2003-04-11 Sven Neumann <sven@gimp.org>
24775 * app/widgets/gimppreview.[ch]: made GimpPreview a NO_WINDOW
24776 widget that draws on the parent window. Added an INPUT_ONLY window
24779 * app/widgets/gimpnavigationpreview.c: take the widget's
24780 allocation into account when rendering the marker and grab the
24781 mouse on the preview's event_window.
24783 * app/widgets/gimppreviewrenderer.[ch]: pass GdkRectangles as const.
24785 2003-04-10 Michael Natterer <mitch@gimp.org>
24787 * app/gui/file-new-dialog.c: added Portrait/Landscape radio
24788 buttons which follow the state of the width/height entered and can
24789 be used to swap them.
24791 2003-04-10 Sven Neumann <sven@gimp.org>
24793 * etc/templaterc: added more standard paper sizes.
24795 2003-04-10 Sven Neumann <sven@gimp.org>
24797 * app/xcf/xcf-load.c
24798 * app/xcf/xcf-save.c: some cosmetic changes before I do any real ones.
24800 2003-04-10 Sven Neumann <sven@gimp.org>
24802 * plug-ins/script-fu/interp_sliba.c
24803 * plug-ins/script-fu/scripts/selection-round.scm: applied a patch
24804 from Pedro Gimeno that adds the trunc() function to our scheme
24805 interpreter and fixes bug #109475 the right way.
24807 2003-04-10 Sven Neumann <sven@gimp.org>
24809 * themes/Default/images/Makefile.am
24810 * themes/Default/images/stock-portrait-16.png
24811 * themes/Default/images/stock-landscape-16.png: new icons by Jimmac.
24813 * libgimpwidgets/gimpstock.[ch]: register the new icons.
24815 * app/widgets/widgets-enums.[ch]: added new enum GimpAspectType.
24817 2003-04-10 Michael Natterer <mitch@gimp.org>
24819 * app/core/gimpcontext.[ch]: added gimp_context_type_to_prop_name().
24821 * app/widgets/Makefile.am
24822 * app/widgets/widgets-types.h
24823 * app/widgets/gimpviewablebutton.[ch]: new widget implementing
24824 the wheel-scrollable preview button.
24826 * app/tools/gimptextoptions.c
24827 * app/tools/paint_options.[ch]: removed the code implementing the
24828 same and use GimpViewableButton.
24830 * app/tools/tool_manager.c: added the font to the context
24831 properties which are remembered per tool. Added an evil hack
24832 using g_object_set_data() to pass the global_dock_factory to
24833 tool option GUI constructors.
24835 2003-04-09 Sven Neumann <sven@gimp.org>
24837 * app/text/text-enums.[ch]
24838 * app/text/gimptext.[ch]
24839 * app/text/gimptextlayout.c: added some more text properties that
24840 can't be accessed from the GUI yet.
24842 2003-04-09 Michael Natterer <mitch@gimp.org>
24844 * app/tools/gimpeditselectiontool.c
24845 (gimp_edit_selection_tool_button_release): fixed boolean logic bug
24846 introduced by the fix for bug #110173. Spotted by Pedro Gimeno.
24848 2003-04-09 Sven Neumann <sven@gimp.org>
24850 * app/core/gimpbrushgenerated.c: fixed algorithm that calculates
24851 the brush size, some code cleanup.
24853 2003-04-09 Sven Neumann <sven@gimp.org>
24855 * app/gui/image-menu.c (image_menu_setup): don't try to hide the
24856 tearoff menu item if tearoff menus are disabled in the prefs.
24858 2003-04-09 Michael Natterer <mitch@gimp.org>
24860 * app/file/file-save.[ch] (file_save_as): added "gboolean
24861 set_image_clean" and call gimp_image_clean_all() only if it
24862 was passed as TRUE.
24863 (file_save): pass TRUE.
24865 * app/gui/file-save-dialog.c: pass TRUE from the "Save as" and
24866 FALSE from the "Save a Copy" dialog (bug #109464).
24868 2003-04-09 Michael Natterer <mitch@gimp.org>
24870 * app/core/gimpimage.c (gimp_image_remove_channel): say
24871 "Remove Channel" when pushing the undo, not "Remove Layer".
24873 2003-04-09 Michael Natterer <mitch@gimp.org>
24875 * app/tools/paint_options.[ch]: added
24876 paint_options_container_scrolled() utility function which
24877 wheel-scrolls a container. Use it for the brush and pattern
24878 previews. Added a gradient preview.
24880 * app/tools/gimpblendoptions.c: removed the gradient preview here.
24882 * app/tools/gimptextoptions.c: use the new function to scroll
24885 2003-04-08 Michael Natterer <mitch@gimp.org>
24887 * app/tools/gimpbucketfilloptions.c: removed the pattern preview...
24889 * app/tools/paint_options.c: ...and added it here so all paint
24890 tools can use it if needed. Added a pattern preview to the clone
24893 2003-04-08 Michael Natterer <mitch@gimp.org>
24895 * app/widgets/gimpdockable.[ch]: Added "gpointer get_tab_data" to
24896 GimpDockableGetTabFunc and to gimp_dockable_new().
24898 * app/gui/dialogs-constructors.c: changed accordingly. Replaced
24899 dialogs_[brush,pattern,gradient,palette,font]_tab_func() by
24900 dialogs_viewable_tab_func() which gets passed the GType as
24903 2003-04-08 Michael Natterer <mitch@gimp.org>
24905 * app/core/gimpviewable.[ch]: added virtual function
24906 GimpViewable::get_description() which returns the string that
24907 should be presented to the user plus an optional tooltip with more
24908 information. The default implementation just returns the object's
24909 name and no tooltip.
24911 * app/core/gimpbrush.c
24912 * app/core/gimpbuffer.c
24913 * app/core/gimpimage.c
24914 * app/core/gimppalette.c
24915 * app/core/gimppattern.c
24916 * app/core/gimptoolinfo.c: implement get_description().
24918 * app/core/gimpimagefile.[ch]: ditto. Renamed
24919 gimp_imagefile_get_description() to
24920 gimp_imagefile_get_desc_string(). Well, um, gimme a better name...
24922 * app/gui/file-open-dialog.c: changed accordingly.
24924 * app/file/file-utils.[ch]: renamed readXVThumb() to
24925 file_utils_readXVThumb().
24927 * tools/pdbgen/pdb/fileops.pdb: changed accordingly.
24929 * app/widgets/widgets-types.h: removed GimpItemGetNameFunc typedef.
24931 * app/widgets/gimpcontainerview-utils.[ch]: removed the actual
24932 get_name_funcs. They now live in the core as
24933 GimpViewable::get_description() implementations.
24935 * app/widgets/gimpcontainermenu.[ch]
24936 * app/widgets/gimpcontainergridview.c
24937 * app/widgets/gimpcontainermenuimpl.c
24938 * app/widgets/gimpcontainertreeview.c
24939 * app/widgets/gimpcontainerview.[ch]
24940 * app/widgets/gimpmenuitem.[ch]
24941 * app/widgets/gimpviewabledialog.c: removed get_name_func stuff
24942 and use gimp_viewable_get_description().
24944 * app/widgets/gimpcontainermenu.[ch]: added "preview_border_width"
24945 to gimp_container_menu_set_preview_size().
24947 * app/widgets/gimpimagedock.c: changed accordingly.
24949 * app/pdb/fileops_cmds.c: regenerated.
24951 2003-04-08 Michael Natterer <mitch@gimp.org>
24953 * app/widgets/gimpbrushfactoryview.[ch]
24954 * app/widgets/gimpbufferview.[ch]
24955 * app/widgets/gimpcontainereditor.[ch]
24956 * app/widgets/gimpcontainergridview.[ch]
24957 * app/widgets/gimpcontainertreeview.[ch]
24958 * app/widgets/gimpcontainerview.[ch]
24959 * app/widgets/gimpdatafactoryview.[ch]
24960 * app/widgets/gimpdocumentview.[ch]
24961 * app/widgets/gimpimageview.[ch]
24962 * app/widgets/gimpitemtreeview.[ch]
24963 * app/widgets/gimptemplateview.[ch]: removed "min_item_x" and
24964 "min_item_y" parameters all over the place. Added
24965 "preview_border_width" instead.
24967 * app/widgets/gimpmenuitem.c: ensure that all menu items have the
24970 * app/widgets/gimpcontainerpopup.c
24971 * app/widgets/gimplayertreeview.c
24972 * app/widgets/gimpundoeditor.c
24973 * app/gui/brush-select.c
24974 * app/gui/dialogs-commands.c
24975 * app/gui/dialogs-constructors.c
24976 * app/gui/font-select.c
24977 * app/gui/gradient-select.c
24978 * app/gui/palette-select.c
24979 * app/gui/pattern-select.c: changed accordingly.
24981 * app/gui/dialogs-constructors.c: removed the borders from the tool
24982 and template lists.
24984 2003-04-08 Michael Natterer <mitch@gimp.org>
24986 * app/config/gimpguiconfig.[ch]
24987 * app/config/gimprc-blurbs.h: added "gboolean save_accels" and
24988 "gboolean restore_accels".
24990 * app/gui/menus.[ch]: added menus_restore(), menus_save() and
24993 * app/gui/session.[ch]: added session_clear().
24995 * app/gui/gui.c: call menus_restore() and menus_save().
24997 * app/gui/preferences-dialog.c: brought the full core config
24998 options overkill to the GUI. Needs to be simplified. Cleaned
24999 up the "Interface" page a bit.
25001 2003-04-07 Sven Neumann <sven@gimp.org>
25003 * app/tools/gimpeditselectiontool.c (selection_transform_segs):
25004 another patch from Pedro Gimeno that addresses problems displaying
25005 the selection border (bug #110014).
25007 2003-04-07 Sven Neumann <sven@gimp.org>
25009 * app/tools/gimpeditselectiontool.c
25010 (gimp_edit_selection_tool_button_release): applied a patch from
25011 Pedro Gimeno that removes the confusing misfeature of anchoring
25012 the floating selection if it wasn't moved (bug #110173).
25014 2003-04-07 Sven Neumann <sven@gimp.org>
25016 * plug-ins/sgi/sgi.h
25017 * plug-ins/sgi/sgilib.c: applied a patch from marek@aki.cz that
25018 adds support for reading SGI files in little-endian format. Fixes
25021 2003-04-07 Michael Natterer <mitch@gimp.org>
25023 * app/tools/gimpeditselectiontool.c: applied a (modified) patch
25024 from Pedro Gimeno that fixes bug #110115.
25026 2003-04-07 Michael Natterer <mitch@gimp.org>
25028 * app/core/gimplayer.c (gimp_layer_apply_mask): call
25029 gimp_viewable_invalidate_preview() on the layer, not on the image
25030 (fixes bug #108960).
25032 2003-04-06 Michael Natterer <mitch@gimp.org>
25034 * plug-ins/FractalExplorer/Dialogs.c (make_color_map): get the
25035 gradient_samples here if they are NULL. Fixes crash in
25036 noninteractive mode (patch from Raphael Quinet, bug #103470).
25038 2003-04-06 Michael Natterer <mitch@gimp.org>
25040 * app/core/gimplist.[ch]: added gimp_list_uniquefy_name() utility
25043 * app/core/gimpdatalist.c
25044 * app/core/gimpitem.c: use it here instead of duplicating almost
25047 * app/widgets/Makefile.am
25048 * app/widgets/widgets-types.h
25049 * app/widgets/gimptemplateview.[ch]: new widget for editing the
25052 * app/gui/dialogs-constructors.c: use it.
25054 * app/gui/Makefile.am
25055 * app/gui/templates-commands.[ch]
25056 * app/gui/templates-menu.[ch]: new files implementing the context
25057 menu for the template list.
25059 * app/gui/menus.c: register the new menu with the menu factory.
25061 * app/gui/file-commands.c (file_new_template_callback): uniquefy
25062 the new template's name.
25064 * app/gui/documents-commands.c: fixed typo.
25066 2003-04-06 Michael Natterer <mitch@gimp.org>
25068 * app/core/gimpgradient.c (gimp_gradient_get_color_at): fixed bug
25069 spotted by Pedro Gimeno by moving the alpha calculation to the
25070 bottom so it is not affected by rgb->hsv->rgb conversions
25073 2003-04-05 Michael Natterer <mitch@gimp.org>
25075 * app/config/gimpconfig-utils.c (gimp_config_reset_properties):
25076 reset object properties only if they are GIMP_PARAM_SERIALIZABLE.
25078 * app/core/gimpcontext.[ch]: added a GimpTemplate property.
25080 * app/gui/dialogs-constructors.[ch]
25081 * app/gui/dialogs.c: added a template dialog.
25083 * app/gui/dialogs-menu.c
25084 * app/gui/image-menu.c
25085 * app/gui/toolbox-menu.c: and menu entries to open it.
25087 * app/widgets/gimpdnd.[ch]: added DND for GimpTemplates.
25089 2003-04-05 Manish Singh <yosh@gimp.org>
25091 * themes/Default/gtkrc: remove gtk-can-change-accels setting, since
25092 there is a UI for it (that overrides it)
25094 2003-04-05 Michael Natterer <mitch@gimp.org>
25096 * app/core/gimp.c: cosmetic.
25098 2003-04-05 Michael Natterer <mitch@gimp.org>
25100 * app/widgets/gimpcontainermenuimpl.c; keep the "(none)" item at
25101 the top of the menu, not at the bottom.
25103 2003-04-05 Michael Natterer <mitch@gimp.org>
25105 * app/widgets/gimpcontainermenu.c
25106 (gimp_container_menu_item_selected): call
25107 gimp_container_menu_select_item() before notifying the context of
25110 2003-04-05 Michael Natterer <mitch@gimp.org>
25112 * app/core/gimp-templates.c (gimp_templates_load):
25113 gimp_list_reverse() after loading so it is in the right order.
25115 2003-04-05 Sven Neumann <sven@gimp.org>
25117 * app/display/gimpdisplayshell-selection.c: applied a patch from
25118 Pedro Gimeno that fixes incorrect drawing of the selection border
25119 caused by overflowing 16bit X coordinates (bug #110014).
25121 2003-04-04 Sven Neumann <sven@gimp.org>
25123 * themes/Default/images/Makefile.am
25124 * themes/Default/images/stock-gradient-bilinear-16.png
25125 * themes/Default/images/stock-gradient-conical-asymmetric-16.png
25126 * themes/Default/images/stock-gradient-conical-symmetric-16.png
25127 * themes/Default/images/stock-gradient-linear-16.png
25128 * themes/Default/images/stock-gradient-radial-16.png
25129 * themes/Default/images/stock-gradient-shapeburst-angular-16.png
25130 * themes/Default/images/stock-gradient-shapeburst-dimpled-16.png
25131 * themes/Default/images/stock-gradient-shapeburst-spherical-16.png
25132 * themes/Default/images/stock-gradient-spiral-anticlockwise-16.png
25133 * themes/Default/images/stock-gradient-spiral-clockwise-16.png
25134 * themes/Default/images/stock-gradient-square-16.png
25135 * libgimpwidgets/gimpstock.[ch]: added new icons drawn by Jimmac.
25137 * app/tools/gimpblendoptions.c (gimp_blend_options_gui): use the
25138 new icons in the gradient type menu.
25140 2003-04-04 Michael Natterer <mitch@gimp.org>
25142 * app/widgets/gimpcontainertreeview.[ch]: removed
25143 tree_view->preview_border_width.
25145 * app/widgets/gimpcontainermenu.[ch]
25146 * app/widgets/gimpcontainerview.[ch]: and added it here so it is
25147 configurable in all views. Synced the changes in both classes.
25149 * app/widgets/gimpcontainermenuimpl.[ch]
25150 * app/widgets/gimpmenuitem.[ch]: made preview_border_size
25151 configurable here, too.
25153 * app/widgets/gimplayertreeview.c
25154 * app/widgets/gimpimagedock.c
25155 * app/gui/palette-import-dialog.c: changed accordingly.
25157 * app/gui/file-new-dialog.c: Removed the border from the template
25160 2003-04-04 Michael Natterer <mitch@gimp.org>
25162 * app/core/gimpundo.h: #define GIMP_UNDO_PREVIEW_SIZE 64
25164 * app/core/gimpundo.c (gimp_undo_create_preview_private):
25165 * app/widgets/gimpundoeditor.c (gimp_undo_editor_init): use it.
25167 2003-04-04 Sven Neumann <sven@gimp.org>
25169 * app/core/gimpviewable.c: made stock_id a property of the
25170 GimpViewable object.
25172 2003-04-04 Sven Neumann <sven@gimp.org>
25175 * etc/templaterc: added a short templaterc.
25177 * app/gui/user-install-dialog.c: copy templaterc to ~/.gimp-1.3
25178 and create a templates directory on user installation.
25180 2003-04-04 Michael Natterer <mitch@gimp.org>
25182 * app/widgets/gimpnavigationpreview.c
25183 (gimp_navigation_preview_move_to): applied another patch from Pedro
25184 Gimeno that fixes even the most evil zoom ratios.
25186 (gimp_navigation_preview_draw_marker): fixed marker drawing for
25187 very large zoom ratios.
25189 2003-04-04 Sven Neumann <sven@gimp.org>
25191 * libgimpbase/gimputils.c (gimp_memsize_to_string): this should
25192 work on 64bit system as well.
25194 2003-04-04 Michael Natterer <mitch@gimp.org>
25196 * libgimpbase/gimplimits.h: reduced GIMP_MAX_IMAGE_SIZE to 2^18.
25198 * libgimpbase/gimputils.[ch]: added gimp_memsize_to_string()
25199 utility function (which is definitely broken on 64bit systems).
25201 * app/core/gimpimage-new.[ch]: removed
25202 gimp_image_new_get_memsize_string() and gimp_image_new_create_image().
25203 Renamed gimp_image_new_template_new() to
25204 gimp_image_new_get_last_template().
25206 * app/core/gimpimagefile.c
25207 * app/display/gimpdisplayshell-title.c: changed accordingly.
25209 * app/core/gimp-templates.c: changed filename from "templates"
25212 * app/core/gimp.[ch]
25213 * app/core/gimpimage-duplicate.c: don't include "gimpimage-new.h".
25215 * app/core/gimptemplate.[ch]: removed
25216 gimp_template_calc_memsize(). Instead, added the size and a
25217 boolean indicating that it is valid to the GimpTemplate
25218 struct. Added GObject::notify() implementation and update the
25221 * app/widgets/gimppropwidgets.c: connect to the unit property
25224 * app/gui/file-new-dialog.c: changed accordingly. Disconnect
25225 from the template's "notify" signal while changing all values.
25227 2003-04-04 Sven Neumann <sven@gimp.org>
25229 * app/gui/image-menu.c (image_menu_set_zoom)
25230 * app/gui/view-commands.c (view_zoom_other_cmd_callback): fixed
25231 an issue with the new Zoom Ratio dialog.
25233 2003-04-04 Sven Neumann <sven@gimp.org>
25235 * app/core/gimpdrawable-transform.c: include stdlib.h for abs().
25237 2003-04-04 Sven Neumann <sven@gimp.org>
25239 * app/display/gimpdisplayshell-render.c: applied a patch from
25240 Pedro Gimeno that fixes the display render problems at high zoom
25241 levels (bug #109933).
25243 2003-04-04 Sven Neumann <sven@gimp.org>
25245 Applied a patch from Ć?yvind KolĆĀ„s that adds supersampling to the
25246 transform operations (bug #109817):
25248 * app/base/tile-manager-private.h
25249 * app/base/tile-manager.[ch]: cache the last accessed tile and use
25250 it to optimize read_pixel_data_1().
25252 * app/core/gimpdrawable-transform-utils.c
25253 * app/core/gimpdrawable-transform.c: changed the resampling
25254 behavior when scaling down.
25256 2003-04-04 Michael Natterer <mitch@gimp.org>
25258 * app/tools/paint_options.c (pressure_options_gui): the "color"
25259 option's label was saying "Size". Changed it to "Color".
25261 2003-04-04 Michael Natterer <mitch@gimp.org>
25263 * app/gui/documents-menu.c: use "", not NULL for "no accelerator",
25264 since NULL will show the stock_item's accelerator.
25266 * app/gui/image-menu.c
25267 * app/gui/toolbox-menu.c: added a "Document History..." menu item
25268 at the bottom of the "Open Recent" submenus.
25270 * app/gui/menus.c (menus_last_opened_add): reorder the dynamically
25271 created entries to the top of the menu. Cleanup.
25273 2003-04-04 Sven Neumann <sven@gimp.org>
25275 * app/display/gimpdisplayshell-scale.c
25276 (gimp_display_shell_scale_fit): extended range of possible zoom
25277 ratios like in the other scaling routines.
25279 * app/display/gimpdisplayshell-scale.[ch]
25280 * app/display/gimpdisplayshell.[ch]
25281 * app/gui/image-menu.c
25282 * app/gui/view-commands.[ch]: added a dialog to manually enter the
25283 zoom ratio. Fixes bug #65057.
25285 2003-04-03 Michael Natterer <mitch@gimp.org>
25287 Added preliminary support for image templates. Not finished
25288 yet. Addresses bug #96059. Now we need a volunteer to create
25289 a nice collection of default templates...
25291 * app/core/Makefile.am
25292 * app/core/core-types.h
25293 * app/core/gimptemplate.[ch]
25294 * app/core/gimp-templates.[ch]: new files implementing the new
25295 GimpTemplate object and the list of available image templates.
25297 * app/core/gimp.[ch]: keep a container of templates around.
25299 * app/core/gimpimage-new.[ch]: ported to use GimpTemplate. Removed
25300 struct GimpImageNewValues.
25302 * app/widgets/gimpcontainermenuimpl.c: changed to show the
25303 "(none)" item for a NULL selection also, not only for an empty
25306 * app/widgets/gimppropwidgets.[ch]: added
25307 gimp_prop_size_entry_connect() which connects an externally
25308 created GimpSizeEntry to object properties. Fixed the size entry
25309 code to actually work.
25311 * app/gui/image-menu.c
25312 * app/gui/file-commands.[ch]: added "Save as Template" which
25313 creates a new template from any image's properties.
25315 * app/gui/file-new-dialog.c: use prop_widgets and GimpTemplate.
25316 Offer the available templates in a menu at the top of the dialog.
25318 2003-04-03 Michael Natterer <mitch@gimp.org>
25320 * app/tools/gimpmovetool.c (gimp_move_tool_button_release): don't
25321 forget to resume the selection after cancelling a guide drag.
25322 Spotted by Pedro Gimeno.
25324 2003-04-03 Sven Neumann <sven@gimp.org>
25326 * themes/Default/images/Makefile.am
25327 * themes/Default/images/stock-template-16.png
25328 * themes/Default/images/stock-texture-64.png: new icons by Jimmac.
25330 * libgimpwidgets/gimpstock.[ch]: register the new icons.
25332 * app/widgets/gimppreview.[ch]: added the possibility to set a
25333 background pixmap on the preview widget.
25335 * app/gui/dialogs-constructors.c
25336 * app/display/gimpnavigationview.[ch]
25337 * app/widgets/gimpselectioneditor.[ch]: set a background on the
25338 navigation and selection previews when layer previews are disabled
25339 in the preferences.
25341 2003-04-03 Sven Neumann <sven@gimp.org>
25343 * docs/keybindings.txt: updated list of keybindings provided by
25344 Owen <oc@webone.com.au>.
25347 * docs/cheat_sheet.txt: removed this hopelessly outdated file.
25349 2003-04-02 Sven Neumann <sven@gimp.org>
25351 * plug-ins/common/mng.c: applied a patch from S. Mukund. that
25352 makes the MNG plug-in use gimp_temp_name() for the temporary files
25355 2003-04-02 Sven Neumann <sven@gimp.org>
25357 * themes/Default/images/stock-text-dir-rtl-24.png: improved icon.
25359 2003-04-02 Michael Natterer <mitch@gimp.org>
25361 * libgimpwidgets/gimpcolorscales.c: set the hex entry's width to 8
25362 chars (works around bug #109594). Set the hex entry to its old
25363 value if the user typed in unparseable garbage.
25365 2003-04-02 Michael Natterer <mitch@gimp.org>
25367 * app/core/gimpimagefile.c: reverted my last "fix" and fixed the
25368 real bug: "tEXt::Thumb::Size" is optional, so don't fail if it's
25369 not present. Plugged some memleaks.
25371 2003-04-01 Nathan Summers <rock@gimp.org>
25373 * app/photoshop/*: committed full source to Adobe Photoshop for IRIX.
25376 2003-04-01 Manish Singh <yosh@gimp.org>
25378 * app/gui/menus.c: turns out we can override the XSetting.. do so.
25380 * app/gui/preferences_dialog.c: Remove GNOME2 warning, it should work
25383 2003-04-01 Michael Natterer <mitch@gimp.org>
25385 * app/core/gimpviewable.h: #define GIMP_VIEWABLE_MAX_PREVIEW_SIZE
25388 * app/widgets/gimppreview.h
25389 * app/widgets/gimppreviewrenderer.h: removed the #defines here.
25391 * app/core/gimpviewable.c (gimp_preview_get[_popup]_size): check
25392 the return values to be within bounds.
25394 * app/text/gimpfont.c
25395 * app/display/gimpdisplayshell-render.c: use the new constant
25396 instead of the magic "1024".
25398 * app/core/gimpdrawable-preview.c: #include our own header file.
25400 * app/widgets/gimpbrushfactoryview.c
25401 * app/widgets/gimpcomponenteditor.c
25402 * app/widgets/gimpcontainereditor.c
25403 * app/widgets/gimpcontainergridview.c
25404 * app/widgets/gimpcontainermenu.c
25405 * app/widgets/gimpcontainermenuimpl.c
25406 * app/widgets/gimpcontainertreeview.c
25407 * app/widgets/gimpcontainerview.c
25408 * app/widgets/gimpdatafactoryview.c
25409 * app/widgets/gimpitemtreeview.c
25410 * app/widgets/gimppreview.c
25411 * app/widgets/gimppreviewrenderer.c: changed accordingly.
25413 2003-04-01 Sven Neumann <sven@gimp.org>
25415 * plug-ins/script-fu/scripts/tileblur.scm (script-fu-tile-blur):
25416 push an undo group instead of disabling undo on the image. Fixes
25419 2003-04-01 Sven Neumann <sven@gimp.org>
25421 * app/gui/toolbox-menu.c (toolbox_menu_entries): removed some
25422 debug entries which are not needed any longer. Fixes bug #109680.
25424 * app/gui/Makefile.am
25425 * app/gui/test-commands.[ch]: removed these files from CVS.
25427 2003-04-01 Michael Natterer <mitch@gimp.org>
25429 * app/config/gimpdisplayconfig.[ch]: added gboolean show_scrollbars
25430 to be consistent with show_menubar etc.
25432 * app/config/gimprc-blurbs.h: added its blurb and made all
25433 SHOW_FOO_BLURBs consistent.
25435 * app/display/gimpdisplayshell.c: take the scrollbar visibility
25436 default value from GimpDisplayConfig.
25438 * app/gui/preferences-dialog.c: GUI for the new property.
25440 2003-04-01 Michael Natterer <mitch@gimp.org>
25442 * app/core/gimpmarshal.list: added VOID__DOUBLE_DOUBLE
25444 * app/widgets/gimpnavigationpreview.[ch]: applied patch from
25445 Pedro Gimeno that fixes mapping of preview scroll offsets to
25446 image scroll offsets. Changed the x, y, width, height members
25447 from gint to gdouble. Changed the external API to use exact
25448 doubles instead of rounded ints.
25450 * app/display/gimpnavigationview.c: speak to the navigation
25451 preview in exact double values.
25453 Alltogether fixes bug #109648.
25455 2003-04-01 Michael Natterer <mitch@gimp.org>
25457 * app/widgets/gimpeditor.c: factored button_box creation out to a
25460 2003-04-01 Manish Singh <yosh@gimp.org>
25462 * app/config/gimpguiconfig.[ch]: added gboolean can_change_accels
25464 * app/config/gimprc-blurbs.h: blurb for the above
25466 * app/gui/preferences-dialog.c: UI for the above. Has warning about
25467 not working in GNOME2 yet (pending resolution of Bug #109653)
25469 * app/gui/menus.c: use can_change_accels. It simply parses the rc
25470 string gtk-can-change-accels = [0|1] depending on the state
25471 of can_change_accels in the gui config.
25474 * docs/gimprc-1.3.5.in: regenerated
25476 2003-04-01 Sven Neumann <sven@gimp.org>
25478 * app/text/gimptext-compat.c (text_render): strip the size from
25479 the font name before using it.
25481 2003-04-01 Sven Neumann <sven@gimp.org>
25483 * app/text/gimpfont.c: use a fixed size for the popup and clamp to
25484 a maximum size (should actually use GIMP_PREVIEW_MAX_SIZE here).
25486 * app/text/gimptext.c
25487 * app/tools/gimptextoptions.c: minor string changes.
25489 2003-03-31 Jakub Steiner <jimmac@ximian.com>
25491 * themes/Default/images/stock-text-dir-ltr-24.png:
25492 * themes/Default/images/stock-text-dir-rtl-24.png: replace
25493 placeholder artwork
25495 2003-03-31 Sven Neumann <sven@gimp.org>
25497 * app/text/gimptextlayer.[ch]: when the user has changed the layer
25498 name from the layers dialog, don't change it with the text any longer.
25500 * app/tools/gimpmovetool.c: removed redundant include.
25502 * app/widgets/gimpcontainerpopup.c
25503 * app/widgets/widgets-enums.[ch]: fixed spelling.
25505 2003-03-31 Sven Neumann <sven@gimp.org>
25507 * themes/Default/images/Makefile.am
25508 * themes/Default/images/stock-text-dir-ltr-24.png
25509 * themes/Default/images/stock-text-dir-rtl-24.png: placeholders
25512 * libgimpwidgets/gimpstock.[ch]: register the new icons.
25514 * themes/Default/gtkrc: tweak GtkDialog in "gimp-default-style".
25516 * app/text/text-enums.[ch]
25517 * app/text/gimptext.[ch]
25518 * app/text/gimptextlayout.c: added new enum GimpTextDirection and
25519 use it instead of PangoDirection.
25521 * app/widgets/widgets-types.h
25522 * app/widgets/gimptexteditor.[ch]: made GimpTextEditor a real widget
25523 and added buttons to switch the text direction.
25525 * app/tools/gimptextoptions.[ch]
25526 * app/tools/gimptexttool.c: moved creation of the text editor to the
25527 text tool options, take care of GimpText::base-direction here.
25529 2003-03-31 Jakub Steiner <jimmac@ximian.com>
25531 * themes/Default/images/stock-list-16.png:
25532 * themes/Default/images/stock-grid-16.png: make more apparent
25534 2003-03-31 Michael Natterer <mitch@gimp.org>
25536 * app/widgets/gimpenummenu.[ch]: added "icon_size" parameters
25537 to gimp_enum_stock_box_new[_with_range]().
25539 * app/tools/gimpcurvestool.c
25540 * app/widgets/gimppropwidgets.c: changed accordingly.
25542 * app/widgets/gimpeditor.[ch]: added gimp_editor_add_stock_box().
25544 * app/widgets/widgets-enums.[ch]: register GimpViewType with
25547 * app/widgets/gimpcontainerpopup.c: use a stock box for the
25548 view as list/grid buttons.
25550 2003-03-31 Michael Natterer <mitch@gimp.org>
25552 * plug-ins/common/xpm.c (save_image): free the original cmap
25553 pointer, not the one we used for iteration (fixes bug #109567).
25555 2003-03-31 Michael Natterer <mitch@gimp.org>
25557 * app/core/gimpdrawable-transform-utils.c
25558 (gimp_drawable_transform_matrix_perspective): applied patch from
25559 Ć?yvind KolĆĀ„s that fixes bug #109570.
25561 2003-03-30 Sven Neumann <sven@gimp.org>
25564 * plug-ins/common/Makefile.am
25565 * plug-ins/common/plugin-defs.pl
25566 * plug-ins/common/mng.c: added MNG save plug-in written by
25567 S. Mukund <muks@mukund.org>.
25569 2003-03-30 Sven Neumann <sven@gimp.org>
25571 * app/widgets/gimpbrusheditor.c: increased the upper limit for the
25572 brush radius to 1000. Fixes bug #109434.
25574 2003-03-30 Michael Natterer <mitch@gimp.org>
25576 * app/core/gimpimage-resize.c (gimp_image_resize): shut up compiler.
25578 2003-03-30 Michael Natterer <mitch@gimp.org>
25580 * app/core/gimpimage-resize.c (gimp_image_resize): fixed to check
25581 the *new* guide position to be within bounds, not the old
25584 * app/core/gimpimage-undo-push.c (undo_pop_image_guide): undo
25585 guide removal and moves manually instead of calling
25586 gimp_image_[add|move]_guide() because the latter may run into
25587 g_return_if_fail(position <= gimage->width/height) if the undo
25588 step is part of a resize or crop undo group.
25590 2003-03-30 Michael Natterer <mitch@gimp.org>
25592 * app/display/gimpdisplayshell-callbacks.c
25593 (gimp_display_shell_origin_menu_popup): set the active display
25594 before showing the menu (fixes bug #109472).
25596 2003-03-30 Michael Natterer <mitch@gimp.org>
25598 * app/core/gimpimage-guides.c
25599 * tools/pdbgen/pdb/guides.pdb: fixed to accept guide->position ==
25600 image->width/height. Guides live *between* pixels, so they must be
25601 able to exist right of/below the image's rightmost/bottom pixel.
25603 * app/core/gimpimage-crop.c (gimp_image_crop_adjust_guides):
25604 fixed guide iteration to not crash when the current guide is
25605 removed from the image (fixes bug #109533).
25607 * app/pdb/guides_cmds.c: regenerated.
25609 2003-03-29 Manish Singh <yosh@gimp.org>
25611 * plug-ins/script-fu/interp_slib.c
25612 * plug-ins/script-fu/interp_sliba.c: patch from Pedro Gimeno to fix
25613 printing of floating point numbers in script-fu. (Bug #109505)
25615 2003-03-29 Simon Budig <simon@gimp.org>
25617 * app/tools/gimpvectortool.[ch]
25618 * app/vectors/gimpbezierstroke.c
25619 * app/vectors/gimpstroke.[ch]
25620 * app/vectors/vectors-types.h: More vector tool stuff. Control
25621 handles start to behave...
25623 2003-03-28 Sven Neumann <sven@gimp.org>
25625 * app/text/gimptext.[ch]
25626 * app/text/gimptextlayout.c: added a "base-direction" property to
25627 GimpText and set it on the PangoContext when rendering the text.
25629 2003-03-28 Michael Natterer <mitch@gimp.org>
25631 * app/widgets/gimpcontainertreeview.c
25632 (gimp_container_tree_view_select_item): call
25633 gtk_tree_selection_select_iter() in addition to
25634 gtk_tree_view_set_cursor() so we get the focus *and* the selection
25635 right in all cases.
25637 2003-03-28 Sven Neumann <sven@gimp.org>
25639 * app/gui/Makefile.am
25640 * app/gui/font-select.[ch]: added font selection GUI to be used
25643 * app/gui/brush-select.c
25644 * app/gui/gradient-select.c
25645 * app/gui/palette-select.c
25646 * app/gui/pattern-select.c: unified preview and dialog sizes.
25648 * tools/pdbgen/Makefile.am
25649 * tools/pdbgen/pdb/font_select.pdb: added new file that provides
25650 PDB accessors to the font selection GUI.
25652 * app/pdb/font_select_cmds.c
25653 * app/pdb/internal_procs.c
25654 * libgimp/gimp_pdb.h
25655 * libgimp/gimpfontselect_pdb.[ch]
25656 * tools/pdbgen/groups.pl: regenerated.
25658 * libgimp/Makefile.am
25659 * libgimp/gimpfontmenu.c
25660 * libgimp/gimpmenu.[ch]: added a simple font selection widget to
25661 be used by plug-ins and scripts.
25663 * plug-ins/script-fu/script-fu-scripts.c: use the new font
25664 selection widget. Fixes bug #105610.
25666 2003-03-28 Michael Natterer <mitch@gimp.org>
25668 * app/core/gimpimage-guides.[ch]: added "position" and "push_undo"
25669 parameters to gimp_image_add_[vh]guide(). Start with a refcount
25670 of 1, not 0 (EEK). Added gimp_image_guide_[un]ref(). Added
25671 "position" parameter to gimp_image_add_guide(). Added new
25672 function gimp_image_move_guide(). All functions push guide
25673 undos correctly and call gimp_image_update_guide() so this
25674 doesn't need to be done by callers.
25676 * app/core/gimpimage-crop.c
25677 * app/core/gimpimage-duplicate.c
25678 * app/core/gimpimage-resize.c
25679 * app/core/gimpimage-undo-push.c
25680 * app/core/gimpimage.c
25681 * app/tools/gimpmeasuretool.c
25682 * app/xcf/xcf-load.c
25683 * tools/pdbgen/pdb/guides.pdb: greatly simplyfied all places which
25684 modify guides: don't fiddle with undo and guide properties
25685 manually but simply use the API provided.
25687 * app/tools/gimpmovetool.[ch]: ditto. Changed everything to
25688 create/move the guide on button_release, not button_press. Enable
25689 canceling the operation by clicking button3 before releasing
25690 button1. Keep the guide drawn at its old position until the move
25691 is finished (fixes bug #75349 and bug #109267).
25693 * app/pdb/guides_cmds.c: regenerated.
25695 2003-03-28 Michael Natterer <mitch@gimp.org>
25697 * app/core/gimpimagefile.c (gimp_imagefile_save_thumbnail):
25698 call gimp_imagefile_update() on success. Ensures that the
25699 previews are updated whenever we write the thumbnail.
25701 2003-03-28 Michael Natterer <mitch@gimp.org>
25703 * app/widgets/gimpcellrenderertoggle.c
25704 (gimp_cell_renderer_toggle_activate)
25705 * app/widgets/gimpcellrendererviewable.c
25706 (gimp_cell_renderer_viewable_activate): allow keyboard activation.
25708 * app/widgets/gimpcellrendererviewable.c
25709 (gimp_cell_renderer_viewable_render): fixed the if() which resets
25710 the renderer's border color to black. Fixes layer borders to be
25711 always correct now.
25713 2003-03-28 Sven Neumann <sven@gimp.org>
25715 * app/widgets/gimpcellrenderertoggle.c
25716 (gimp_cell_renderer_toggle_activate): check for event != NULL to
25717 avoid crashing when the cell is activated using the keyboard.
25719 2003-03-28 Sven Neumann <sven@gimp.org>
25721 * app/text/gimptext-compat.c: respect the antialias parameter.
25723 * app/text/gimptext.[ch]
25724 * app/text/gimptextlayout.c: added autohint property that allows
25725 to force the use of the Freetype auto-hinter.
25727 * app/tools/gimptextoptions.c: added check buttons for autohint
25728 and antialias. You need to patch PangoFT2 if you want to the
25729 antialias setting to have any effect (see #109370).
25731 2003-03-27 Jakub Steiner <jimmac@ximian.com>
25733 * data/images/gimp_splash.png: lighten up a bit
25735 2003-03-27 Sven Neumann <sven@gimp.org>
25737 * app/text/gimptext.[ch]: added hinting and antialias properties.
25739 * app/text/gimptextlayout.c: rewrote some parts using the
25740 PangoFontMap API. Respect hinting and antialias properties.
25741 (PangoFT2 does not allow to switch antialias off, so that has no
25744 * app/tools/gimptextoptions.c: added a check button that controls
25747 2003-03-27 Sven Neumann <sven@gimp.org>
25749 * configure.in: require PangoFT2 >= 1.2.0.
25751 * app/text/gimpfontlist.c: use the PangoFontMap API to list
25754 2003-03-27 Michael Natterer <mitch@gimp.org>
25756 * app/gui/channels-commands.c
25757 * app/gui/file-new-dialog.c
25758 * app/gui/layers-commands.c
25759 * app/gui/vectors-commands.c: use layer, channel, ... icons for
25760 the new layer, channel, ... dialogs.
25762 2003-03-27 Sven Neumann <sven@gimp.org>
25764 * app/core/gimplist.[ch]: added new function gimp_list_sort().
25766 * app/text/gimpfontlist.c (gimp_font_list_restore): sort the list
25767 after all fonts have been added instead of keeping the list in
25768 order while inserting fonts.
25770 2003-03-27 Michael Natterer <mitch@gimp.org>
25772 Someone produces icons faster than I can commit...
25774 * themes/Default/images/stock-channel-alpha-16.png
25775 * themes/Default/images/stock-channel-alpha-24.png: updated.
25777 * themes/Default/images/stock-channel-alpha-32.png
25778 * themes/Default/images/stock-channel-alpha-48.png: new.
25780 * themes/Default/images/Makefile.am
25781 * libgimpwidgets/gimpstock.[ch]: added them to the stock system.
25783 * app/widgets/gimpcontainerpopup.c: use the new "view as list" and
25784 "view as grid" icons.
25786 2003-03-27 Sven Neumann <sven@gimp.org>
25788 * app/core/core-enums.[ch]
25789 * app/core/gimpimage.c: fixed typos spotted by Janne (bug #109322).
25791 2003-03-27 Michael Natterer <mitch@gimp.org>
25793 More great icons from Jimmac:
25795 * themes/Default/images/stock-channel-16.png
25796 * themes/Default/images/stock-channel-24.png
25797 * themes/Default/images/stock-channel-blue-16.png
25798 * themes/Default/images/stock-channel-blue-24.png
25799 * themes/Default/images/stock-channel-gray-16.png
25800 * themes/Default/images/stock-channel-gray-24.png
25801 * themes/Default/images/stock-channel-green-16.png
25802 * themes/Default/images/stock-channel-green-24.png
25803 * themes/Default/images/stock-channel-red-16.png
25804 * themes/Default/images/stock-channel-red-24.png: updated.
25806 * themes/Default/images/stock-channel-32.png
25807 * themes/Default/images/stock-channel-48.png
25808 * themes/Default/images/stock-channel-blue-32.png
25809 * themes/Default/images/stock-channel-blue-48.png
25810 * themes/Default/images/stock-channel-gray-32.png
25811 * themes/Default/images/stock-channel-gray-48.png
25812 * themes/Default/images/stock-channel-green-32.png
25813 * themes/Default/images/stock-channel-green-48.png
25814 * themes/Default/images/stock-channel-red-32.png
25815 * themes/Default/images/stock-channel-red-48.png
25816 * themes/Default/images/stock-grid-16.png
25817 * themes/Default/images/stock-image-32.png
25818 * themes/Default/images/stock-image-48.png
25819 * themes/Default/images/stock-layer-32.png
25820 * themes/Default/images/stock-layer-48.png
25821 * themes/Default/images/stock-list-16.png
25822 * themes/Default/images/stock-text-layer-16.png
25823 * themes/Default/images/stock-text-layer-24.png
25824 * themes/Default/images/stock-text-layer-32.png
25825 * themes/Default/images/stock-text-layer-48.png: new ones.
25827 * themes/Default/images/Makefile.am
25828 * libgimpwidgets/gimpstock.[ch]: added them to the stock system.
25830 * app/text/gimptextlayer.c: use GIMP_STOCK_TEXT_LAYER.
25832 2003-03-27 Sven Neumann <sven@gimp.org>
25834 * app/core/gimpmarshal.list: added a new marshaller.
25836 * app/widgets/gimpcontainergridview.[ch]: added a "move_cursor"
25837 signal and added keybindings for PageUp/PageDown and Home/End.
25839 2003-03-27 Michael Natterer <mitch@gimp.org>
25841 * app/config/gimpconfig-deserialize.c
25842 (gimp_config_deserialize_property): allow object properties to be
25843 set again if they are G_PARAM_WRITABLE. Fixes active brush,
25844 pattern etc. deserialization.
25846 2003-03-27 Christian Rose <menthos@menthos.com>
25848 * configure.in: Added "yi" to ALL_LINGUAS again. Po files for
25849 libgimp, plug-ins, and script-fu have now been provided.
25851 2003-03-27 Sven Neumann <sven@gimp.org>
25853 * app/widgets/gimptexteditor.c: enlarged it a little.
25855 2003-03-26 Michael Natterer <mitch@gimp.org>
25857 * themes/Default/images/tools/stock-tool-*-16.png: new small tool
25860 * themes/Default/images/Makefile.am
25861 * libgimpwidgets/gimpstock.c: added them to the stock system.
25863 2003-03-26 Sven Neumann <sven@gimp.org>
25865 * app/text/gimpfont.c (gimp_font_get_popup_size): added an upper
25866 limit for the popup size to avoid a crash when GIMP_PREVIEW_MAX_SIZE
25869 2003-03-26 Sven Neumann <sven@gimp.org>
25871 * configure.in (ALL_LINGUAS): removed "yi" until po files were
25872 added to po-libgimp, po-plug-ins and po-script-fu.
25874 2003-03-26 Christian Rose <menthos@menthos.com>
25876 * configure.in: Added "yi" to ALL_LINGUAS.
25878 2003-03-26 Manish Singh <yosh@gimp.org>
25880 * plug-ins/common/max_rgb.c: fixed status return to succeed sometimes.
25881 Honor max_p in non-interactive mode too.
25883 2003-03-26 Michael Natterer <mitch@gimp.org>
25885 * app/widgets/gimpcontainerview.[ch]: added
25886 gimp_container_view_construct(). The new function calls
25887 gimp_container_view_set_preview_size() instead of simply assigning
25888 view->preview_size (Fixes wrongly-sized toggle cells spotted by
25891 * app/widgets/gimpcontainereditor.c
25892 * app/widgets/gimpcontainergridview.c
25893 * app/widgets/gimpcontainertreeview.c
25894 * app/widgets/gimpitemtreeview.c: call it when creating a view.
25896 * app/widgets/gimpchanneltreeview.c: check view->component_editor
25897 for being non-NULL before accessing it.
25899 2003-03-26 Sven Neumann <sven@gimp.org>
25901 * tools/gimp-remote.c: include X11/Xmu/WinUtil.h after including
25902 the GTK+/GDK headers.
25904 2003-03-26 Sven Neumann <sven@gimp.org>
25906 * app/widgets/gimpcontainergridview.c: implemented GtkWidget::focus.
25907 Makes grid views keyboard-navigatable and fixes bug #95120.
25909 2003-03-26 Michael Natterer <mitch@gimp.org>
25911 * app/widgets/gimpcontainerview.[ch]: added the scrolled_win
25912 to the GimpContainerView struct. Create it in init().
25913 Added gimp_container_view_set_size_request() which adds the
25914 scrolled_window's scrollbar and frames sizes correctly.
25916 * app/widgets/gimpcontainergridview.[ch]
25917 * app/widgets/gimpcontainertreeview.[ch]: removed scrolled windows
25918 here and use the one from the parent_instance. Use the new utility
25921 * app/widgets/gimpcontainertreeview.c: enable searching in the
25922 name column. Grab the focus in button_press.
25924 * app/widgets/gimpcontainerpopup.[ch]: added a button_box containing
25925 zoom in/out, view as list/grid and a button to show the permanently
25926 open dialog. Added more parameters to gimp_container_popup_new().
25928 * app/tools/gimpblendoptions.c
25929 * app/tools/gimpbucketfilloptions.c
25930 * app/tools/gimptextoptions.c
25931 * app/tools/paint_options.c: changed accordingly.
25933 2003-03-26 Sven Neumann <sven@gimp.org>
25935 * app/gui/tool-options-dialog.c (tool_options_dialog_restore_callback):
25936 reset the tool-options before loading the user settings. Don't warn if
25939 2003-03-26 Sven Neumann <sven@gimp.org>
25941 * app/widgets/gimpfontselection-dialog.c
25942 (gimp_font_selection_dialog_set_font_desc): fixed braino that
25943 caused the wrong family to be selected.
25945 2003-03-26 Sven Neumann <sven@gimp.org>
25947 * app/tools/gimptextoptions.c: connect the preview on the
25948 context's font object with the font property of the text object
25949 associated to the text tool options.
25951 2003-03-26 Michael Natterer <mitch@gimp.org>
25953 * app/widgets/gimpdnd.[ch]: added GimpFont DND.
25955 2003-03-26 Michael Natterer <mitch@gimp.org>
25957 * app/gui/image-menu.c
25958 * app/gui/toolbox-menu.c: removed cut'n'paste-duplicated
25959 accelerators from the new font selection menu entries.
25961 2003-03-26 Sven Neumann <sven@gimp.org>
25963 * app/tools/gimptextoptions.c (gimp_text_options_gui): added a
25964 gimp_prop_preview on the font property. Doesn't do anything yet
25965 but has a nice popup...
25967 2003-03-26 Michael Natterer <mitch@gimp.org>
25969 * app/text/gimpfont.c: a nicer popup preview featuring five
25972 2003-03-26 Sven Neumann <sven@gimp.org>
25974 * app/text/gimpfontlist.c: implemented gimp_font_list_restore().
25976 2003-03-26 Sven Neumann <sven@gimp.org>
25978 * app/text/gimpfont.c (gimp_font_get_new_preview): sort of works now.
25980 2003-03-25 Michael Natterer <mitch@gimp.org>
25982 * app/text/gimpfontlist.[ch]: added gimp_font_list_restore()
25983 which loads the fonts (not yet).
25985 * app/core/gimp.c: call it.
25987 * app/gui/dialogs-constructors.[ch]
25988 * app/gui/dialogs-menu.c
25989 * app/gui/dialogs.c
25990 * app/gui/image-menu.c
25991 * app/gui/toolbox-menu.c: added font list and grid views.
25993 * app/gui/menus.c: cosmetic.
25995 2003-03-25 Sven Neumann <sven@gimp.org>
25997 * app/text/gimpfont.c: made the PangoContext an object property of
26000 2003-03-25 Sven Neumann <sven@gimp.org>
26002 * gimpui-1.3.pc.in: require gtk+ >= 2.2.
26004 * app/text/gimpfont.[ch]: implemented basic preview functionality.
26006 * app/text/gimptextlayout.c: changed a comment.
26008 2003-03-25 Michael Natterer <mitch@gimp.org>
26010 * app/config/gimpcoreconfig.[ch]: added "gchar *default_font".
26011 * app/config/gimprc-blurbs.h: and its blurb.
26013 * app/core/gimp.[ch]: keep a GimpFontList around.
26015 * app/core/gimpcontext.[ch]: added a GimpFont and all needed
26016 functions to let it work like brush, pattern etc.
26018 * app/core/gimpdatalist.c: cosmetic.
26020 2003-03-25 Michael Natterer <mitch@gimp.org>
26022 * app/text/Makefile.am
26023 * app/text/text-types.h
26024 * app/text/gimpfontlist.[ch]: new GimpList subclass. Unused...
26026 * app/text/gimpfont.[ch]: added gimp_font_get_standard().
26028 2003-03-25 Michael Natterer <mitch@gimp.org>
26030 * app/tools/tool_manager.c: added GIMP_CONTEXT_PATTERN_MASK to the
26031 context properties which are remembered per tool options.
26033 * app/tools/paint_options.[ch]
26034 * app/tools/gimpblendoptions.c: attach the brush and gradient
26035 preview to the GtkTable that holds opacity and paint mode.
26037 * app/tools/gimpbucketfilloptions.c: added a pattern preview
26040 2003-03-25 Michael Natterer <mitch@gimp.org>
26042 * app/text/Makefile.am
26043 * app/text/text-types.h
26044 * app/text/gimpfont.[ch]: new object. Does nothing yet.
26046 2003-03-25 Sven Neumann <sven@gimp.org>
26048 * libgimptool/Makefile.am
26049 * libgimptool/gimptoolenums.c: include libgimp-intl.h here.
26051 2003-03-25 Sven Neumann <sven@gimp.org>
26053 * app/text/gimptext.c: include locale.h for setlocale().
26055 * app/base/Makefile.am
26056 * app/core/Makefile.am
26057 * app/display/Makefile.am
26058 * app/paint/Makefile.am
26059 * app/text/Makefile.am
26060 * app/widgets/Makefile.am: changed rules that generate enums code
26061 to include gimp-intl.h instead of libgimp-intl.h.
26063 * tools/pdbgen/app.pl
26064 * tools/pdbgen/pdb/*.pdb: include gimp-intl.h.
26066 2003-03-25 Sven Neumann <sven@gimp.org>
26068 * libgimp/Makefile.am
26069 * libgimp/gimpintl.h: removed this header file.
26071 * libgimp/gimpmiscui.c: include libgimp-intl.h.
26073 * libgimp/gimp.c (gimp_main): call setlocale() and bind to the
26074 libgimp textdomain so that plug-ins don't need to do that
26077 * libgimp/stdplugins-intl.h: added the functionality that used to
26078 live in gimpintl.h and removed the libgimp related stuff. Got rid
26079 of the INIT_I18N_UI() macro.
26081 * plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
26082 Plug-ins simply call INIT_I18N() once in their run() function.
26084 * plug-ins/script-fu/script-fu-intl.h: added the functionality
26085 that used to live in gimpintl.h and removed the libgimp related
26089 * app/gimp-intl.h: new file that defines the gettext macros for
26092 * app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
26094 * plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
26096 2003-03-25 Michael Natterer <mitch@gimp.org>
26098 * app/core/gimpimage.[ch]: added new functions
26099 gimp_image_active_[layer|channel|vectors]_changed() which emit the
26102 * app/core/gimpimage-undo-push.c (undo_pop_layer,channel,vectors):
26103 fixed them to not leave the image's active layer, channel, vectors
26104 pointers undefined (fixes bug #109110). Call gimp_item_removed()
26107 * app/core/gimpimage-qmask.c: cleanup.
26109 2003-03-25 Michael Natterer <mitch@gimp.org>
26111 * app/app_procs.c (app_init): cast batch_cmds to (const gchar **)
26112 when passing them to batch_init().
26114 * app/widgets/gimpcontainertreeview.c
26115 (gimp_container_tree_view_button_press): moved the call just added
26116 inside the if(view->container) because it will fail if selecting
26117 the item destroyed the widget.
26119 2003-03-25 Michael Natterer <mitch@gimp.org>
26121 * app/widgets/gimpcontainerpopup.c
26122 (gimp_container_popup_real_confirm): don't use
26123 gimp_context_copy_property() but gimp_context_get_by_type()
26124 followed by gimp_context_set_by_type() because GimpContext's
26125 "copy" functions are special and skip the normal parent_context
26126 logic intentionally (fixes bug #109115).
26128 2003-03-25 Sven Neumann <sven@gimp.org>
26131 * plug-ins/Makefile.am: removed traces of gap which was moved to a
26132 separate CVS module and bumped the version to 1.3.14.
26134 * pixmaps/Makefile.am: removed a couple of pixmaps that are not
26137 2003-03-25 Michael Natterer <mitch@gimp.org>
26139 * app/widgets/gimpcontainertreeview.c
26140 (gimp_container_tree_view_button_press): need to call
26141 gtk_tree_view_column_cell_set_cell_data() again after fiddling
26142 with the GtkTreeView (fixes bug #109121).
26144 2003-03-25 Michael Natterer <mitch@gimp.org>
26146 * app/widgets/gimpcontainertreeview.c
26147 (gimp_container_tree_view_button_press): ignore double clicks on
26148 toggle cells (fixes bug #109114).
26150 2003-03-24 Sven Neumann <sven@gimp.org>
26152 * app/widgets/gimpenummenu.[ch]: added new functions
26153 gimp_enum_menu_set_stock_prefix() and
26154 gimp_enum_option_menu_set_stock_prefix() that allow to
26155 conveniently add stock icons to enum menus.
26157 * app/tools/gimpcurvestool.c
26158 * app/tools/gimphistogramtool.c
26159 * app/tools/gimplevelstool.c: use the new functions here.
26161 2003-03-24 Michael Natterer <mitch@gimp.org>
26163 * app/widgets/gimpdock.c (gimp_dock_separator_drag_drop): don't
26164 try to reorder dockables in a dock containing exactly one dockable
26165 (fixes bug #109042)
26167 2003-03-24 Michael Natterer <mitch@gimp.org>
26169 * app/paint/paint-enums.[ch]: register GimpPaintApplicationMode
26170 with the type system.
26172 * app/paint/gimppaintoptions.[ch]: replaced "gboolean incremental"
26173 with "GimpPaintApplicationMode application_mode"
26175 * app/paint/gimpairbrush.c
26176 * app/paint/gimperaser.c
26177 * app/paint/gimppaintbrush.c
26178 * app/paint/gimppencil.c: changed accordingly.
26180 * tools/pdbgen/pdb/paint_tools.pdb: ditto. Set all paint options
26181 values using g_object_set().
26183 * app/widgets/gimppropwidgets.[ch]: added
26184 gimp_prop_enum_check_button_new() which can represent two
26185 specified enum values and renders itself "inconsistent" for all
26188 * app/tools/paint_options.c: use it for the "Incremental" toggle.
26190 * app/pdb/paint_tools_cmds.c
26191 * tools/pdbgen/enums.pl: regenerated.
26193 2003-03-24 Sven Neumann <sven@gimp.org>
26195 * plug-ins/common/compose.c: added some stock icons to the dialog.
26197 2003-03-24 Michael Natterer <mitch@gimp.org>
26199 * app/core/gimpimage.c: use GIMP_STOCK_IMAGE as default_stock_id.
26201 * app/widgets/gimppreviewrendererimage.[ch]: use GimpChannelType
26202 to specify the channel to render and convert it to the pixel index
26203 using gimp_image_get_component_index() when needed. Use the new
26204 red, green, blue, gray and alpha icons when layer_previews is
26207 * app/widgets/gimpcomponenteditor.c: changed accordingly.
26209 2003-03-24 Sven Neumann <sven@gimp.org>
26211 * themes/Default/images/Makefile.am
26212 * themes/Default/images/stock-image-[16|24].png: new icons by Jimmac.
26214 * themes/Default/images/stock-images-16.png: changed by Jimmac to
26215 make it look different than the new image icon.
26217 * themes/Default/images/stock-channel-red-[16|24].png
26218 * themes/Default/images/stock-channel-green-[16|24].png
26219 * themes/Default/images/stock-channel-blue-[16|24].png
26220 * themes/Default/images/stock-channel-gray-[16|24].png
26221 * themes/Default/images/stock-channel-alpha-[16|24].png: new icons
26222 derived from the generic channel icon.
26224 * themes/Default/images/stock-channel-[16|24].png: changed the
26225 color so they look different than the new green channel icon.
26227 * libgimpwidgets/gimpstock.[ch]: register the new icons.
26229 2003-03-24 Michael Natterer <mitch@gimp.org>
26231 * app/core/Makefile.am
26232 * app/core/gimpimage-preview.[ch]: moved the image preview code
26235 * app/core/gimpimage.c: removed the functions here. Removed the
26236 new utility function gimp_image_previews_resize() because it
26237 did exactly what gimp_image_size_changed() should do. Moved
26238 the missing bits to gimp_image_size_changed().
26240 * app/core/gimplayer.c (gimp_layer_apply_mask): call
26241 gimp_viewable_invalidate_preview() only if we don't call
26242 gimp_drawable_update(). Calling them both is redundant.
26244 2003-03-23 Sven Neumann <sven@gimp.org>
26246 * app/core/gimplayer.c
26247 * app/gui/image-menu.c
26248 * app/gui/layers-menu.c: there doesn't seem to be a good reason to
26249 disallow the creation of layer masks on indexed images.
26251 2003-03-23 Sven Neumann <sven@gimp.org>
26253 * Made 1.3.13 release.
26255 2003-03-23 Michael Natterer <mitch@gimp.org>
26257 * app/core/gimpchannel.c (gimp_channel_new_from_component): use
26258 gimp_image_get_component_index() instead of doing the switch()es
26261 2003-03-22 Michael Natterer <mitch@gimp.org>
26263 * app/core/gimpdrawable-preview.c
26264 * app/core/gimpimage.c (get_preview_size): return square
26265 dimensions in config->layer_previews is FALSE (except if the size
26266 is requested for a popup).
26267 (get_popup_size): don't create popups if config->layer_previews
26270 * app/core/gimpimage.c: added utility function
26271 gimp_image_previews_resize() and call it on "notify::layer-previews".
26272 Calls gimp_viewable_size_changed() on all drawables of the image
26273 and on the image itself. Ensures that drawable/image previews
26274 toggle their size correctly when toggling layer_previews.
26276 * app/widgets/gimpselectioneditor.c: create the selection preview
26277 as a popup so it keeps the image's aspect ratio when
26278 layer_previews is FALSE.
26280 2003-03-22 Sven Neumann <sven@gimp.org>
26282 * themes/Default/images/Makefile.am
26283 * themes/Default/images/stock-channels-24.png
26284 * themes/Default/images/stock-images-24.png
26285 * themes/Default/images/stock-layers-24.png
26286 * themes/Default/images/stock-paths-22.png: added larger versions of
26287 some icons (provided by Jimmac).
26289 * libgimpwidgets/gimpstock.c: added the new icons. Register icons
26290 in dialog size first.
26292 2003-03-22 Sven Neumann <sven@gimp.org>
26294 * app/gui/layers-commands.c: always flush the image when applying
26295 or discarding a layer mask. The active drawable may change and
26296 make a menu update necessary (fixes bug #108958).
26298 * app/widgets/gimplayertreeview.c: call gimp_image_flush() when
26299 switching between layer and mask editing so the menus get updated.
26301 2003-03-22 Michael Natterer <mitch@gimp.org>
26303 * app/widgets/gimpcontainereditor.c: allow to create a
26304 GimpContainerEditor without a popup menu.
26306 * app/widgets/gimpcellrendererviewable.c: free the event we
26307 got from gdk_get_current_event().
26309 * app/widgets/gimpcontainerview.c: check view->hash_table for
26310 being non-NULL before using it. Be prepared to be destroyed as
26311 a result of calling gimp_context_set_foo(view->context, foo).
26313 * app/widgets/gimpcontainertreeview.[ch]: added
26314 tree_view->editable_cells and handle *all* mouse clicks in
26315 gimp_container_tree_view_button_press() (by returning TRUE). Start
26316 editing on double-click only. Use gtk_tree_view_set_cursor()
26317 instead of gtk_tree_selection_select_path() to avoid
26318 selected/focus confusion when the focus enters the widget. Be
26319 prepared to be destroyed as a result of item selection.
26321 * app/widgets/Makefile.am
26322 * app/widgets/widgets-types.h
26323 * app/widgets/gimpcontainerpopup.[ch]: new GtkWindow derived
26324 widget which pops up a selection of any GimpContainer/GimpContext
26327 * app/widgets/gimpdatafactoryview.c
26328 * app/widgets/gimpitemtreeview.c: add the name cell to
26329 tree_view->editable_cells so it becomes editable.
26331 * app/tools/gimpblendoptions.c
26332 * app/tools/paint_options.c: use the new container popup for
26333 selecting brushes and gradients.
26335 2003-03-22 Jakub Steiner <jimmac@ximian.com>
26337 * themes/Default/images/stock-linked-12.png:
26338 * themes/Default/images/stock-eye-12.png: sharp icons
26340 2003-03-21 Manish Singh <yosh@gimp.org>
26342 * plug-ins/common/ps.c: always quote the filename, since system/popen
26343 uses the shell. Also, never quote the filename if we are reading from
26344 a parameter file (only in the win32 case). Fixes #108648.
26346 * plug-ins/dbbrowser/dbbrowser_utils.c: double click on a list item
26347 files Apply, if applicable. Remove the existing model in the treeview
26348 (which will deallocate it) instead of clearing it.
26350 2003-03-22 Sven Neumann <sven@gimp.org>
26352 * themes/Default/images/stock-channel-16.png
26353 * themes/Default/images/stock-channel-24.png
26354 * themes/Default/images/stock-layer-16.png
26355 * themes/Default/images/stock-layer-24.png: new icons provided by
26358 * themes/Default/images/stock-eye-12.png
26359 * themes/Default/images/stock-linked-12.png: tiny visibility and
26360 linked icons that I created from Jimmac's small versions by
26361 scaling them down. Should probably be redone.
26363 * libgimpwidgets/gimpstock.[ch]: allow to register multiple sizes
26364 for the same stock_id. Added new icons.
26366 * app/core/gimpchannel.c
26367 * app/core/gimplayer.c: set default stock_ids so the new icons are
26368 used when layer previews are disabled.
26370 2003-03-21 Sven Neumann <sven@gimp.org>
26372 * widgets/gimpdockbook.c: renamed "tab_size" style property to
26373 "tab_icon_size" for consistency.
26375 * etc/gtkrc_user: changed accordingly.
26377 2003-03-21 Sven Neumann <sven@gimp.org>
26379 * plug-ins/mosaic/mosaic_logo.h
26380 * plug-ins/mosaic/mosaic.c: converted the logo to pixbuf inline data
26381 and replaced the GtkPreview with a GtkImage.
26383 * plug-ins/print/gimp_main_window.c: replaced some deprecated calls.
26385 2003-03-21 Michael Natterer <mitch@gimp.org>
26387 * app/widgets/gimppreviewrenderer.c
26388 (gimp_preview_renderer_set_viewable)
26389 (gimp_preview_renderer_size_changed): don't rely on
26390 gimp_preview_renderer_set_size() to invalidate the
26391 renderer. Instead, call gimp_preview_renderer_invalidate() after
26392 resizing the renderer.
26394 2003-03-21 Sven Neumann <sven@gimp.org>
26396 * app/plug-in/plug-in.c (plug_in_open): added
26397 G_SPAWN_CHILD_INHERITS_STDIN to the flags passed to g_spawn_async().
26398 Needed to get batch-mode working again.
26400 * app/batch.[ch]: some cleanup.
26402 * plug-ins/script-fu/script-fu-text-console.c: improved error
26405 2003-03-21 Sven Neumann <sven@gimp.org>
26407 * app/display/gimpdisplayshell-scale.c: don't emit the "scaled"
26408 signal from gimp_display_shell_scale_setup(). Emit it explicitely
26409 from gimp_display_shell_scale_resize() instead.
26411 * app/display/gimpdisplayshell-scroll.c: call
26412 gimp_display_shell_scale_setup() after scrolling in order to
26413 update scrollbars and rulers.
26415 * app/display/gimpdisplayshell-callbacks.c
26416 * app/display/gimpdisplayshell-handlers.c: emit the "scaled" signal
26419 * app/display/gimpdisplayshell-render.c: minor optimizations.
26421 * app/display/gimpdisplayshell.c: minor cleanup.
26423 2003-03-21 Michael Natterer <mitch@gimp.org>
26425 * app/widgets/gimpcellrendererviewable.c
26426 (gimp_cell_renderer_viewable_clicked): show the popup preview
26429 * app/widgets/gimpcontainertreeview.c
26430 * app/widgets/gimpimagedock.c
26431 * app/widgets/gimptoolbox.c: removed useless #includes.
26433 2003-03-21 Michael Natterer <mitch@gimp.org>
26435 * app/widgets/gimpeditor.[ch]: added a GimpItemFactory to the
26436 GimpEditor struct. Added gimp_editor_create_menu().
26438 * app/widgets/gimpcolormapeditor.[ch]
26439 * app/widgets/gimpcomponenteditor.[ch]
26440 * app/widgets/gimpcontainereditor.[ch]
26441 * app/widgets/gimpdataeditor.[ch]
26442 * app/widgets/gimpitemtreeview.[ch]: removed item_factory pointers
26443 and lots of inalizers which just unref'ed the item_factory. Use
26444 gimp_editor_create_menu() instead.
26446 * app/widgets/gimpchanneltreeview.c
26447 * app/widgets/gimpgradienteditor.c
26448 * app/widgets/gimppaletteeditor.c: changed accordingly.
26450 2003-03-20 Michael Natterer <mitch@gimp.org>
26452 * libgimpwidgets/gimpdialog.c: implement GtkDialog::close() and
26453 synthesize a "delete_event" unconditionally.
26455 * app/widgets/gimpviewabledialog.c: emit "close" instead of
26456 synthesizing "delete_event".
26458 * app/widgets/gimppreview.[ch]: removed "extended_clicked" signal
26459 and added "GdkModifierType state" to "clicked"'s signature.
26461 * app/gui/file-open-dialog.c
26462 * app/gui/test-commands.c
26463 * app/widgets/gimpcontainergridview.c
26464 * app/widgets/gimptoolbox-indicator-area.c: changed accordingly.
26466 2003-03-20 Sven Neumann <sven@gimp.org>
26468 * app/core/gimpimage-new.c (gimp_image_new_values_new): default
26469 the fill_type to GIMP_BACKGROUND_FILL (as in gimp_initialize()).
26471 * app/gui/file-commands.c
26472 * app/gui/file-new-dialog.c: made more dialogs transient for their
26475 * app/widgets/gimpcontainertreeview.c
26476 * app/widgets/gimpimageeditor.c
26477 * app/widgets/gimpundoeditor.c: simplified a little bit.
26479 2003-03-20 Sven Neumann <sven@gimp.org>
26481 * libgimpwidgets/gimpbutton.[ch]: pass the modifier mask as
26482 GdkModifierType instead of guint.
26484 * app/core/gimpmarshal.list
26485 * app/widgets/gimpcellrenderertoggle.c
26486 * app/widgets/gimpcellrendererviewable.c
26487 * app/widgets/gimppreview.c: use proper marshallers for signals
26488 that take flags as parameters.
26490 * app/core/gimpcontext.c: added the G_SIGNAL_TYPE_STATIC_SCOPE flag
26491 to the GimpRGB signal parameter.
26493 2003-03-20 Michael Natterer <mitch@gimp.org>
26495 Removed deprecated and broken list views
26496 based on GtkList[Item] (fixes bug #90965):
26498 * app/widgets/gimpchannellistitem.[ch]
26499 * app/widgets/gimpchannellistview.[ch]
26500 * app/widgets/gimpcontainerlistview.[ch]
26501 * app/widgets/gimpdrawablelistitem.[ch]
26502 * app/widgets/gimpdrawablelistview.[ch]
26503 * app/widgets/gimpitemlistitem.[ch]
26504 * app/widgets/gimpitemlistview.[ch]
26505 * app/widgets/gimplayerlistitem.[ch]
26506 * app/widgets/gimplayerlistview.[ch]
26507 * app/widgets/gimplistitem.[ch]
26508 * app/widgets/gimpvectorslistview.[ch]: removed.
26510 * app/widgets/Makefile.am
26511 * app/widgets/widgets-types.h
26512 * app/widgets/widgets-enums.h
26513 * app/widgets/gimpcontainereditor.c
26514 * app/widgets/gimpcontainerview-utils.c
26515 * app/widgets/gimpdatafactoryview.c
26516 * app/gui/channels-commands.c
26517 * app/gui/channels-menu.c
26518 * app/gui/drawable-commands.c
26519 * app/gui/layers-commands.c
26520 * app/gui/layers-menu.c
26521 * app/gui/palettes-commands.c
26522 * app/gui/test-commands.c
26523 * app/gui/vectors-commands.c
26524 * app/gui/vectors-menu.c: changed accordingly.
26526 * app/gui/dialogs-commands.c
26527 * app/gui/dialogs-constructors.[ch]
26528 * app/gui/dialogs-menu.c
26529 * app/gui/dialogs.c: removed the term "tree" from all user visible
26530 places and create tree views when lists are requested.
26532 2003-03-20 Michael Natterer <mitch@gimp.org>
26534 * app/display/gimpdisplay.[ch]: removed gdisp->draw_guides
26535 and gdisp->snap_to_guides.
26537 * app/display/gimpdisplayshell.[ch]: added shell->snap_to_guides.
26538 Added the state of guide, selection and active_layer visibility to
26539 the GimpDisplayShellVisibility struct so they can be configured
26540 separately for fullscreen mode. Update the popup_factory in
26541 gimp_display_shell_real_scaled() only if this is the active
26544 * app/display/gimpdisplayshell-appearance.[ch]: added accessors
26545 for selection, active_layer and guide visibility.
26547 * app/display/gimpdisplayshell-selection.[ch]: changed
26548 accordingly. Changed the selection and active_layer toggle
26549 functions to *_set_hidden().
26551 * app/display/gimpdisplayshell-callbacks.c
26552 * app/gui/image-menu.c
26553 * app/gui/view-commands.c
26554 * app/tools/gimpeditselectiontool.c
26555 * app/tools/gimpmovetool.c: changed accordingly.
26557 * app/gui/gui.c (gui_display_new): update the menubar_factory
26558 *after* making the new display the active one.
26560 2003-03-20 Sven Neumann <sven@gimp.org>
26562 * INSTALL: some minor updates.
26564 2003-03-20 Simon Budig <simon@gimp.org>
26566 * app/tools/gimpvectortool.[ch]
26567 Fixed crashes and weird problems when the tool changed images or
26568 images got closed. Fixes Bug #108318.
26570 * app/vectors/vectors-types.h: More sane names for the
26571 GimpAnchorType enum.
26573 * app/vectors/gimpbezierstroke.c
26574 * app/vectors/gimpstroke.c: changed accordingly.
26576 2003-03-19 Michael Natterer <mitch@gimp.org>
26578 * app/core/core-enums.[ch]: added GIMP_UNDO_GROUP_MASK.
26580 * app/tools/gimpeditselectiontool.c: use it for mask moving.
26581 Made the "undo_desc" strings more specific.
26583 * app/core/gimpundo.c: add it to the list of undo types for
26584 which mask previews are created.
26586 * app/core/gimpimage.c: s/Add Layer to Image/Add Layer/g etc.
26588 2003-03-19 Michael Natterer <mitch@gimp.org>
26590 * app/widgets/gimpcomponenteditor.c: need to connect to the cell
26591 renderer's "clicked" signal because "toggled" is not emitted any
26594 * app/widgets/gimpdrawabletreeview.c: removed debugging output.
26596 * app/widgets/gimpitemtreeview.[ch]: added "const gchar *reorder_desc"
26597 to the class scruct and use it as undo_desc for DND reordering.
26599 * app/widgets/gimpchanneltreeview.c
26600 * app/widgets/gimplayertreeview.c
26601 * app/widgets/gimpvectorstreeview.c: set reorder_desc.
26603 2003-03-19 Michael Natterer <mitch@gimp.org>
26605 * app/widgets/gimpcellrenderertoggle.[ch]
26606 * app/widgets/gimpcellrendererviewable.[ch]: added public
26607 functions to emit the "clicked" signal.
26609 * app/widgets/gimpcontainertreeview.c: use them instead of
26610 g_signal_emit_by_name().
26612 * app/widgets/Makefile.am
26613 * app/widgets/gimpcontainertreeview-dnd.[ch]: new files
26614 implementing DND for tree views.
26616 * app/widgets/gimpcontainertreeview.[ch]: added virtual
26617 functions drop_possible() and drop().
26619 * app/widgets/gimpitemtreeview.c
26620 * app/widgets/gimplayertreeview.c: implement drop_possible()
26623 2003-03-19 Michael Natterer <mitch@gimp.org>
26625 * app/widgets/gimpdatafactoryview.c: enable in-place name
26626 editing for tree views.
26628 2003-03-19 Michael Natterer <mitch@gimp.org>
26630 * app/display/gimpdisplayshell-render.c: #include
26631 "core/gimpimage-colormap.h".
26633 2003-03-19 Sven Neumann <sven@gimp.org>
26635 * app/tools/gimplevelstool.c: tweaked the dialog layout a little.
26637 2003-03-18 Maurits Rijk <lpeek.mrijk@consunet.nl>
26639 * plug-ins/imagemap/java.xpm
26640 * plug-ins/imagemap/link.xpm
26641 * plug-ins/imagemap/Makefile
26642 * plug-ins/imagemap/imap_stock.[ch]: added 2 new icons.
26644 * plug-ins/imagemap/imap_edit_area_info.c: start at implementing
26645 enhancement #91396 and #92635.
26647 2003-03-18 Michael Natterer <mitch@gimp.org>
26649 * app/core/gimpimage-mask.[ch] (gimp_image_mask_translate)
26650 * app/core/gimplayer.[ch] (gimp_layer_translate): added
26651 "gboolean push_undo" parameters.
26653 * app/core/gimpimage-crop.c
26654 * app/core/gimpimage-resize.c
26655 * app/display/gimpdisplayshell-dnd.c
26656 * app/gui/layers-commands.c
26657 * app/widgets/gimptoolbox.c
26658 * tools/pdbgen/pdb/layer.pdb
26659 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
26661 * app/pdb/layer_cmds.c
26662 * app/pdb/selection_cmds.c: regenerated.
26664 * app/core/gimpimage-undo-push.c (undo_pop_layer_displace): call
26665 gimp_layer_translate() with "push_undo == FALSE" instead of
26666 duplicating gimp_layer_translate()'s code. Use GimpItemUndo for
26669 * app/tools/gimpeditselectiontool.c
26670 (gimp_edit_selection_tool_cursor_key): check if the top undo on
26671 the stack is of exactly the same type as the undo we would push
26672 and just don't push it then (compresses layer translate undos and
26673 fixes bug #86362). Changed stuff work with CAPS_LOCK or other
26676 2003-03-18 Michael Natterer <mitch@gimp.org>
26678 Added an API for image colormap manupulation and made colormap
26679 changes undoable (fixes bug #25963).
26681 * app/core/Makefile.am
26682 * app/core/gimpimage-colormap.[ch]: new files implementing
26683 colormap getters/setters. The setters push undos using the
26684 new function below.
26686 * app/core/core-enums.[ch]: added GIMP_UNDO_IMAGE_COLORMAP.
26688 * app/core/gimpimage-undo-push.[ch]: added
26689 gimp_image_undo_push_image_colormap(). Use GimpItemUndo even more
26692 * app/core/gimpimage.[ch]: removed gimp_image_get_colormap() here.
26694 * app/core/gimpimage-convert.c
26695 * app/gui/colormap-editor-commands.c
26696 * app/widgets/gimpcolormapeditor.c
26697 * app/widgets/gimptoolbox.c
26698 * tools/pdbgen/pdb/image.pdb: use the new API.
26700 * app/pdb/image_cmds.c: regenerated.
26702 * plug-ins/common/vinvert.c: removed the comment about the bug,
26707 * app/gui/splash.c: added a frame around the splash. Please eek
26708 if it doesn't please you.
26710 2003-03-17 Sven Neumann <sven@gimp.org>
26712 * data/images/gimp_splash.png: new splash thanks to Jimmac.
26714 2003-03-17 Michael Natterer <mitch@gimp.org>
26716 Made drawable/layer properties (visibility, opacity etc.)
26717 undoable (fixes bug #73893).
26719 * app/core/core-enums.[ch]: added undo types/groups for
26720 visibility, mode, opacity, linked and preserve_trans.
26722 * app/core/Makefile.am
26723 * app/core/core-types.h
26724 * app/core/gimpitemundo.[ch]: new GimpUndo subclass which holds a
26725 ref'ed GimpItem pointer so (1) this doesn't need to be done by all
26726 undo steps related to an item and (2) the item the undo step is
26727 for can be determined from outside the undo system.
26729 * app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_item()
26730 which returns a new GimpItemUndo.
26732 * app/core/gimpimage-undo-push.[ch]: use it for all item related
26733 undo steps. Removed lots of GimpItem, GimpLayer, GimpDrawable
26734 and GimpVectors pointers from the private undo structs. Added
26735 undo push functions for the new undo types added above.
26737 * app/core/gimpdrawable.[ch] (gimp_drawable_set_visible): added
26738 "gboolean push_undo" parameter.
26740 * app/core/gimplayer.[ch] (gimp_layer_set_opacity, _mode,
26741 _preserve_trans, _linked): added "gboolean push_undo" parameters.
26743 * app/core/gimpimage-mask.c
26744 * app/core/gimpimage-merge.c
26745 * app/core/gimplayer-floating-sel.c
26746 * app/tools/gimpmovetool.c
26747 * app/xcf/xcf-load.c
26748 * app/widgets/gimpdrawablelistitem.c
26749 * app/widgets/gimplayerlistitem.c
26750 * app/widgets/gimplayerlistview.c: changed accordingly.
26752 * tools/pdbgen/pdb/channel.pdb
26753 * tools/pdbgen/pdb/layer.pdb: ditto. Added '$undo' paramaters to
26754 the foo_accessors() functions. Removed $func from foo_accesors()
26755 because we don't manipulate items without using getters/setters
26758 * app/pdb/channel_cmds.c
26759 * app/pdb/layer_cmds.c: regenerated.
26761 * app/widgets/gimpcellrenderertoggle.[ch]: added "clicked" signal
26762 which carries an additional "GdkModifierType state" parameter as
26763 in GimpCellRendererViewable .
26765 * app/widgets/gimpcontainertreeview.c: emit "clicked" from
26766 the toggle renderer, not "toggled" so the callbacks get the
26769 * app/widgets/gimpdrawabletreeview.c: resurrected the "exclusive
26770 visible by <shift>+click" feature as in 1.2.
26772 * app/widgets/gimplayertreeview.c: compress layer opacity undos by
26773 looking at the top of the undo stack and not pushing an undo if
26774 there already is a GIMP_UNDO_DRAWABLE_OPACITY for the active
26777 2003-03-17 Sven Neumann <sven@gimp.org>
26779 * plug-ins/ifscompose/ifscompose.c (run): put the actual effect
26780 and the attachment of a parasite into an undo group so that only a
26781 single undo step is pushed when the plug-in is run.
26783 2003-03-17 Sven Neumann <sven@gimp.org>
26785 * app/config/gimpconfig-utils.[ch]: added the new function
26786 gimp_config_string_append_escaped(), see inline docs.
26788 * app/config/gimpconfig-serialize.c
26789 * app/config/gimpconfigwriter.c
26790 * app/core/gimpcontainer.c: use the new function instead of
26793 2003-03-17 Sven Neumann <sven@gimp.org>
26795 Applied patches from David Necas <yeti@physics.muni.cz> that fix
26796 incorrect RGBA resampling in a number of plug-ins:
26798 * plug-ins/common/fractaltrace.c: fixes bug #72873.
26799 * plug-ins/common/tiler.c: fixes bug #72875.
26800 * plug-ins/common/waves.c: fixes bug #72870.
26801 * plug-ins/common/whirlpinch.c: fixes bug #72871.
26803 2003-03-17 Michael Natterer <mitch@gimp.org>
26805 * app/core/core-enums.[ch]: added GIMP_UNDO_CHANNEL_COLOR.
26807 * app/core/gimpchannel.[ch]: added "gboolean push_undo" to
26808 gimp_channel_set_color().
26810 * app/core/gimpimage-undo-push.[ch]: added
26811 gimp_image_undo_push_channel_color().
26813 * app/core/gimpimage-qmask.c
26814 * app/gui/qmask-commands.c
26815 * app/widgets/gimpchannellistitem.c
26816 * tools/pdbgen/pdb/channel.pdb: changed accordingly.
26818 * app/gui/channels-commands.c
26819 * app/gui/layers-commands.c
26820 * app/gui/vectors-commands.c: ditto. Use gimp_item_rename().
26822 * app/pdb/channel_cmds.c: regenerated.
26824 2003-03-17 Manish Singh <yosh@gimp.org>
26826 * tools/pdbgen/pdb/channel.pdb
26827 * tools/pdbgen/pdb/layer.pdb: use gimp_item_rename for set_name.
26829 * app/pdb/channel_cmds.c
26830 * app/pdb/layer_cmds.c: regenerated
26832 * libgimpproxy/Makefile.am: use $(top_srcdir)
26834 2003-03-17 Michael Natterer <mitch@gimp.org>
26836 * app/core/gimpitem.[ch]: added virtual function rename() which
26837 pushes an item rename undo. Added "default_name" and "rename_desc"
26838 to the GimpItemClass struct which are used as default values.
26840 * app/core/gimplayer.c: implement it and special-case floating
26841 selections. set item_clas->default_name and item_class->rename_desc.
26843 * app/core/gimpchannel.c
26844 * app/vectors/gimpvectors.c: set item_class->default_name and
26845 item_class->rename_desc.
26847 * app/widgets/gimpitemtreeview.[ch]: removed rename_item() virtual
26848 function and call gimp_item_rename().
26850 * app/widgets/gimpchanneltreeview.c
26851 * app/widgets/gimplayertreeview.c
26852 * app/widgets/gimpvectorstreeview.c: changed accordingly.
26854 2003-03-16 Sven Neumann <sven@gimp.org>
26856 * app/gui/file-save-dialog.c (file_save_overwrite): set the dialog
26857 transient to the file selection dialog (see bug #61092).
26859 * app/gui/info-dialog.c: set a window type hint of
26860 GDK_WINDOW_TYPE_HINT_UTILITY for info windows (fixes bug #92175).
26862 * app/tools/gimpcolorpickertool.c: give the color area more space.
26864 2003-03-16 Sven Neumann <sven@gimp.org>
26866 * configure.in: check for gdk-pixbuf-csource and allow to override
26867 it by setting the GDK_PIXBUF_CSOURCE environment variable.
26869 * themes/Default/images/Makefile.am: use the gdk-pixbuf-csource
26870 executable that was found at configure time.
26872 * app/base/levels.c: cosmetic change.
26874 * app/tools/gimplevelstool.c: allow to pick white, gray and black
26875 point for all channels. Allows for easy white-point balancing.
26877 * plug-ins/script-fu/scripts/3dTruchet.scm: restore the foreground
26878 color when the script is done (see bug #108473).
26880 2003-03-16 Michael Natterer <mitch@gimp.org>
26882 * app/widgets/gimpcontainertreeview.[ch]: added utility function
26883 gimp_container_tree_view_find_click_cell(). Don't select the
26884 row if one of tree_view->toggle_cells was clicked. Removed
26885 "GList *toggle_columns" from the struct.
26887 * app/widgets/gimpdrawabletreeview.[ch]: added a
26888 GtkTreeSelectionFunc which ensures that nothing but the floating
26889 selection can be selected. Removed the "eye_column" from the
26892 * app/widgets/gimpitemtreeview.[ch]: added virtual function
26893 rename_item() and a default implementation.
26895 * app/widgets/gimplayertreeview.[ch]: implement rename_item() and
26896 special case floating selections. Added
26897 gimp_layer_tree_view_mask_update() utility function to factor out
26898 duplicated code. Removed "chain_column" from the struct. Cleanup.
26900 2003-03-16 Michael Natterer <mitch@gimp.org>
26902 Added GtkTreeView versions of layers/channels/vectors:
26904 * app/core/core-enums.[ch]: renamed GIMP_UNDO_GROUP_LAYER_PROPERTIES
26905 to GIMP_UNDO_GROUP_ITEM_PROPERTIES.
26907 * app/core/gimpcontainer.c (gimp_container_reorder): don't try
26908 to reorder containers with num_children == 1.
26910 * app/core/gimpmarshal.list: added VOID: STRING, UINT marshaller.
26912 * app/widgets/Makefile.am
26913 * app/widgets/widgets-types.h
26914 * app/widgets/gimpchanneltreeview.[ch]
26915 * app/widgets/gimpdrawabletreeview.[ch]
26916 * app/widgets/gimpitemtreeview.[ch]
26917 * app/widgets/gimplayertreeview.[ch]
26918 * app/widgets/gimpvectorstreeview.[ch]: new widgets.
26920 * app/widgets/gimpcellrenderertoggle.c: draw the frame only if the
26923 * app/widgets/gimpcellrendererviewable.[ch]: added "clicked"
26924 signal, unref the renderer in finalize(). Set the renderer's
26925 border color to black if the cell is not selected (a hack that
26926 saves tons of code in GimpLayerTreeView).
26928 * app/widgets/gimpcomponenteditor.c: no need to gtk_list_store_set()
26929 stuff we just got from the store.
26931 * app/widgets/gimpcontainertreeview.[ch]: added lots of state used
26932 by the new subclasses to the GimpContainerTreeView struct. Create
26933 the GtkListStore/GtkTreeView in GObject::constructor() and only
26934 collect parameters in init() so subclasses can modify store/view
26935 creation. Do most of the button_press_event stuff manually and
26936 return TRUE from the handler.
26938 * app/widgets/gimpcontainerview.c: cleanup.
26940 * app/widgets/gimpitemlistview.h
26941 * app/widgets/gimpvectorslistview.h: temp hacks before they die.
26943 * app/widgets/gimppreviewrenderer.[ch]: added
26944 gimp_preview_renderer_update_idle() which idle-emits "update"
26945 without invalidating.
26947 * app/gui/dialogs-constructors.[ch]
26948 * app/gui/dialogs.c: added constructors for the new dialogs.
26950 * app/gui/channels-commands.c
26951 * app/gui/channels-menu.c
26952 * app/gui/layers-commands.c
26953 * app/gui/layers-menu.c
26954 * app/gui/vectors-commands.c
26955 * app/gui/vectors-menu.c: accept tree views as callback data.
26957 2003-03-15 Sven Neumann <sven@gimp.org>
26959 * app/base/levels.c (levels_adjust_by_colors): implemented this
26960 function which used to be a an empty stub.
26962 * app/tools/gimplevelstool.c: implemented the missing
26963 functionality behind the color picker buttons I added some time
26966 2003-03-15 Sven Neumann <sven@gimp.org>
26968 * app/widgets/gimpitemfactory.c (gimp_item_factory_translate_func):
26971 * app/gui/image-menu.c: some minor menu cleanups.
26973 2003-03-14 Sven Neumann <sven@gimp.org>
26975 * themes/Default/images/Makefile.am
26976 * themes/Default/images/stock-curve-free-16.png
26977 * themes/Default/images/stock-curve-smooth-16.png: added new icons
26978 provided by Tuomas Kuosmanen <tigert@gimp.org>.
26980 * libgimpwidgets/gimpstock.[ch]: register the new icons.
26982 * app/tools/gimpcurvestool.[ch]: use radio buttons with the new
26985 2003-03-14 Sven Neumann <sven@gimp.org>
26987 * app/base/base-enums.[ch]
26988 * app/base/curves.[ch]: changed CurvesType enum to GimpCurveType
26989 and register it with the type system.
26991 * app/tools/gimpcurvestool.c: use an enum menu here.
26993 2003-03-14 Sven Neumann <sven@gimp.org>
26995 * app/widgets/gimpdock.c: fiddle with the color of the dock
26996 separator to make the drop area stand out. Added a tooltip.
26998 * etc/gtkrc_user: document how the color can be customized.
27000 2003-03-14 Sven Neumann <sven@gimp.org>
27002 * libgimpwidgets/gimpcolorarea.[ch]: let GimpColorArea optionally
27003 draw a thin border around itself.
27005 * app/widgets/gimpitemfactory.c (gimp_item_factory_set_color): use
27006 a GimpColorArea instead of a deprecated GtkPreview.
27008 2003-03-14 Sven Neumann <sven@gimp.org>
27010 * app/tools/gimpcurvestool.[ch]: some cleanup to event handling
27011 and drawing code. Doesn't draw outside the expose_event handler
27012 any longer but could still be improved.
27014 2003-03-13 Michael Natterer <mitch@gimp.org>
27016 * app/widgets/gimpcomponenteditor.c: disable expensive column
27017 auto-resizing and call gtk_tree_view_columns_autosize() in
27018 gimp_component_editor_set_preview_size().
27020 * app/widgets/gimpcontainertreeview.[ch]: ditto. Changed the
27021 GtkListStore pointer in the GimpContainerTreeView struct to
27024 2003-03-13 Sven Neumann <sven@gimp.org>
27026 * app/gui/splash.c (splash_create): suppress notifcation of
27027 startup completion from the splash screen.
27029 * app/widgets/gimptoolbox.c (gimp_toolbox_init): set a window type
27030 hint of GDK_WINDOW_TYPE_HINT_NORMAL for the toolbox since UTILITY
27031 doesn't match here.
27033 2003-03-13 Sven Neumann <sven@gimp.org>
27035 * app/gui/channels-commands.c: don't expose the internal term
27036 "component", use "channel" instead.
27038 2003-03-13 Sven Neumann <sven@gimp.org>
27040 * app/widgets/gimpcellrenderertoggle.c
27041 * app/widgets/gimpcellrendererviewable.c: handle RTL layout.
27043 2003-03-13 Michael Natterer <mitch@gimp.org>
27045 * app/widgets/gimpcellrenderertoggle.c: fixed size calculation,
27046 removed padding and the spacing between the icon and the frame
27049 * app/widgets/gimpwidgets-utils.[ch]: added gimp_get_icon_size()
27050 which returns the best matching icon size for a given allocation.
27052 * app/widgets/gimpcomponenteditor.[ch]: adjust the eye icon's
27053 size according to the preview_size.
27055 * app/widgets/gimppreviewrenderer.c
27056 (gimp_preview_renderer_default_render_stock): use gimp_get_icon_size()
27058 * app/widgets/gimpcomponenteditor.c
27059 * app/widgets/gimpcontainertreeview.c: iterate the tree model
27060 using a for() loop instead of nested if() { do { } while() }
27063 2003-03-13 Sven Neumann <sven@gimp.org>
27065 * app/core/core-enums.h: made the GimpPreviewSize enum values a
27066 little bit smaller. What used to be small is now called medium.
27068 * app/config/gimpcoreconfig.c
27069 * app/gui/dialogs.c: changed accordingly.
27071 2003-03-12 Sven Neumann <sven@gimp.org>
27073 * app/widgets/Makefile.am
27074 * app/widgets/widgets-types.h
27075 * app/widgets/gimpcellrenderertoggle.[ch]: added a new cell_renderer
27076 derived from GtkCellRendererToggle.
27078 * app/widgets/gimpcomponenteditor.c: use the new cell_renderer.
27080 * app/widgets/gimpcellrendererviewable.[ch]: fixed a few typos and
27081 removed some redundant casts.
27083 2003-03-12 Sven Neumann <sven@gimp.org>
27085 * app/gui/image-menu.c: reordered the View menu, moved all
27086 Zoom-related entries into a submenu. Use radio items for the zoom
27087 ratio as suggested in bug #74385.
27089 * app/gui/view-commands.c (view_zoom_cmd_callback): only call
27090 gimp_display_shell_scale() if the item is active and the current
27091 scale is different from the requested one.
27093 * app/display/gimpdisplayshell.c (gimp_display_shell_real_scaled):
27094 update the image menu so that the zoom ratio is displayed correctly.
27096 * app/display/gimpdisplayshell-callbacks.c
27097 (gimp_display_shell_canvas_realize): don't call
27098 gimp_display_shell_scale_setup(), since it is done in the configure
27099 event handler already.
27101 2003-03-12 Michael Natterer <mitch@gimp.org>
27103 * app/core/core-enums.[ch]: added descriptions to the
27104 GimpChannelType enum.
27106 * app/core/gimpimage.[ch]: added gimp_image_get_component_index()
27107 utility function which does the GIMP_RED_CHANNEL -> RED_PIX etc.
27108 mapping. Use it in all component getters/setters.
27110 * app/widgets/gimpcomponenteditor.[ch]: new widget implementing
27111 the component list using GtkListStore/GtkTreeView. Still a bit
27112 ugly because it uses the standard check instead of the eye icon.
27114 * app/widgets/gimpcomponentlistitem.[ch]: removed.
27116 * app/widgets/Makefile.am
27117 * app/widgets/widgets-types.h
27118 * app/widgets/gimpvectorslistview.c: changed accordingly.
27120 * app/widgets/gimpchannellistview.[ch]: create a GimpComponentEditor
27121 and removed the old GtkList based stuff.
27123 * app/widgets/gimpitemlistview.[ch]: keep around a pointer to the
27124 GimpMenuFactory passed to the constructor.
27126 * app/gui/channels-menu.c (channels_menu_update): do the right
27127 thing if "data" is a GimpComponentEditor.
27129 * app/gui/channels-commands.[ch]: ditto. Implemented duplicating
27130 of components and component to selection (bug #61018).
27132 2003-03-12 Sven Neumann <sven@gimp.org>
27134 * app/widgets/gimpdock.c (gimp_dock_init): set a window type hint
27135 of GDK_WINDOW_TYPE_HINT_UTILITY for dock windows (fixes bug #94669).
27137 * app/gui/splash.c (splash_create): set a window type hint of
27138 GDK_WINDOW_TYPE_HINT_SPLASHSCREEN.
27140 2003-03-12 Sven Neumann <sven@gimp.org>
27142 * app/core/gimpchannel.[ch]: added gimp_channel_new_from_component()
27143 which creates a new GimpChannel from an image's color component.
27145 * app/gui/channels-commands.[ch]: added
27146 channels_duplicate_component_cmd_callback().
27148 * app/paint-funcs/paint-funcs-generic.h
27149 * app/paint-funcs/paint-funcs.[ch]: added code to extract a color
27150 component from a PixelRegion (untested!).
27152 * plug-ins/common/checkerboard.c: cosmetics.
27154 2003-03-11 Michael Natterer <mitch@gimp.org>
27156 * app/core/gimpimagefile.c (gimp_imagefile_create_thumbnail),
27157 (gimp_imagefile_save_thumbnail)
27158 * app/gui/file-open-dialog.c (file_open_create_thumbnails): don't
27159 create thumbnails if core_config->layer_previews is FALSE
27162 * app/file/file-save.c (file_save_as): call
27163 gimp_imagefile_save_thumbnail() unconditionally since it does all
27164 the needed checks itself.
27166 2003-03-11 Sven Neumann <sven@gimp.org>
27168 * app/paint/gimpairbrush.c (gimp_airbrush_paint): removed a
27169 leftover warning (bug #97214).
27171 2003-03-11 Sven Neumann <sven@gimp.org>
27173 * app/config/gimprc-blurbs.h: improved a few blurbs.
27175 2003-03-11 Michael Natterer <mitch@gimp.org>
27177 * app/display/Makefile.am
27178 * app/display/gimpdisplayshell-appearance.[ch]: new files
27179 implementing canvas padding, fullscreen toggling and utility
27180 functions to show/hide GimpDisplayShell components (menubar,
27181 statusbar, ...) Added the possibility to show/hide the scrollbars.
27183 * app/display/gimpdisplayshell.[ch]: added struct
27184 GimpDisplayShellVisibility which stores the GUI components'
27185 visibility. Added two such structs to the GimpDisplayShell struct:
27186 one for normal mode and one for fullscreen mode. Default to
27187 "everything invisible" for fullscreen. Fixes bug #74383.
27189 * app/display/gimpdisplayshell-callbacks.c: fiddle with the
27190 two visibility structs when toggling fullscreen.
27192 * app/display/gimpdisplayshell-handlers.c: #include
27193 "gimpdisplayshell-appearance.h"
27195 * app/gui/image-menu.c
27196 * app/gui/view-commands.[ch]: added a "Show Scrollbars" menu entry,
27197 use the new widget show/hide utility functions.
27199 2003-03-11 Sven Neumann <sven@gimp.org>
27201 * plug-ins/print/gimp_color_window.c (gimp_dither_algo_callback):
27202 set the default dither algorithm as a fallback in case no
27203 algorithm matched (fix suggested by Ari Pollak). Fixes bug #102457.
27205 * plug-ins/print/gimp_main_window.c: fixed wrong display of paper
27206 border that was introduced by my latest changes to the preview code.
27208 2003-03-11 Sven Neumann <sven@gimp.org>
27210 * app/core/gimpimage.[ch]: made gimp_image_get_active_components()
27211 a static function and changed its behaviour so that the image's
27212 active components are only used for layers, not for channels.
27215 2003-03-11 Sven Neumann <sven@gimp.org>
27217 * app/gui/session.c (session_info_deserialize): improved error
27220 2003-03-11 Sven Neumann <sven@gimp.org>
27222 * app/display/gimpdisplayshell-callbacks.c
27223 * app/display/gimpdisplayshell.[ch]
27224 * app/gui/image-menu.c
27225 * app/gui/view-commands.c: rewrote the fullscreen mode
27226 implementation so that it doesn't loop infinitely.
27228 2003-03-11 Sven Neumann <sven@gimp.org>
27230 * app/display/gimpdisplayshell-callbacks.c
27231 * app/display/gimpdisplayshell.[ch]
27232 * app/gui/image-menu.c
27233 * app/gui/view-commands.[ch]: added a fullscreen mode for the
27234 image display by means of gtk_window_fullscreen/unfullscreen.
27235 Depends on the window manager implementing _NET_WM_STATE_FULLSCREEN.
27237 * app/tools/gimpcroptool.c: made gimp_crop_tool_draw() static.
27239 * app/tools/gimptexttool.[ch]: derive from GimpDrawTool, no real
27242 2003-03-10 Sven Neumann <sven@gimp.org>
27244 * plug-ins/common/xpm.c: don't add a transparent color entry for
27245 images that don't have an alpha channel (fixes bug #108034).
27247 2003-03-10 Sven Neumann <sven@gimp.org>
27249 * app/config/gimpscanner.[ch]: removed gimp_scanner_parse_string_list()
27250 since the format it read wasn't proper s-expressions syntax.
27252 * app/config/gimpconfigwriter.c: a couple of minor cleanups.
27254 * app/gui/color-history.[ch]
27255 * app/gui/session.c
27256 * app/widgets/gimpdialogfactory.[ch]: use GimpConfigWriter to
27257 write the sessionrc. Had to do some minor changes to the file
27260 2003-03-10 Michael Natterer <mitch@gimp.org>
27262 * app/core/gimppalette.[ch]: added GimpData::duplicate()
27263 implementation so read-only palettes can be edited again by
27264 duplicating them first.
27266 * app/gui/dialogs-constructors.c: pass the <Palettes>, not the
27267 <Gradients> menu identifier to the palette grid and tree view
27268 constructors (spotted by Tigert).
27270 2003-03-10 Sven Neumann <sven@gimp.org>
27272 * app/config/gimpconfigwriter.[ch]: fixed creation of config file,
27273 added new function gimp_config_writer_string() and improved
27274 gimp_config_writer_linefeed().
27276 * app/config/gimpconfig-serialize.c
27277 * app/core/gimpcontext.c
27278 * app/core/gimpdocumentlist.c: use gimp_config_writer_string()
27279 instead of escaping the string manually.
27281 * app/core/gimpunits.c (gimp_unitrc_save): use a GimpConfigWriter.
27283 * app/plug-in/plug-in-rc.[ch] (plug_in_rc_write)
27284 * app/plug-in/plug-ins.c: use a GimpConfigWriter.
27286 2003-03-10 Michael Natterer <mitch@gimp.org>
27288 * app/widgets/gimpdataeditor.[ch]: added "gboolean data_editable"
27289 which gets set in gimp_data_editor_real_set_data(). Set the name
27290 entry insensitive if the data is not editable.
27292 * app/widgets/gimpbrusheditor.c
27293 * app/widgets/gimppaletteeditor.c
27294 * app/widgets/gimpgradienteditor.c: look at editor->data_editable
27295 instead of duplicating the logic in all subclasses.
27297 * app/widgets/gimppreview.[ch]: added "gboolean expand" and
27298 gimp_preview_set_expand() like in GtkPreview bacause smooth auto
27299 resizing can only be done by the widget itself, not via external
27302 * app/display/gimpnavigationview.c
27303 * app/widgets/gimpbrusheditor.c
27304 * app/widgets/gimpgradienteditor.c
27305 * app/widgets/gimpselectioneditor.c: set expand == TRUE. Removed
27306 "size_allocate" callbacks. They resize *much* smoother now.
27309 * app/widgets/gimpnavigationpreview.c: recalculate the preview
27310 coordinates when the size changes.
27312 * app/widgets/Makefile.am
27313 * app/widgets/widgets-types.h
27314 * app/widgets/gimppreviewrenderer-utils.c
27315 * app/widgets/gimppreviewrenderergradient.[ch]: new renderer which
27316 is much faster because it projects the gradient without creating
27317 intermediate buffers. Rendering can be restricted to an interval
27318 from [left...right].
27320 * app/widgets/gimpgradienteditor.[ch]: undeprecated by using
27321 GimpPreview instead of GtkPreview. Cleanup.
27323 * app/gui/gradient-editor-commands.c: changed accordingly.
27325 2003-03-10 Sven Neumann <sven@gimp.org>
27327 * app/tools/gimpbycolorselecttool.c
27328 * app/tools/gimpcolorpickertool.c
27329 * app/tools/gimpconvolvetool.c: resolved conflicts in tool
27330 keybindings (bug #107975).
27332 2003-03-09 Michael Natterer <mitch@gimp.org>
27334 * app/core/gimpdatalist.c (gimp_data_list_uniquefy_data_name): use
27335 gimp_data_list_data_compare_func(), not just strcmp(), so the
27336 ordering of internal items is correct.
27338 2003-03-07 Sven Neumann <sven@gimp.org>
27340 * plug-ins/common/deinterlace.c
27341 * plug-ins/common/pixelize.c: added parentheses where gcc
27344 2003-03-07 Sven Neumann <sven@gimp.org>
27346 * app/base/hue-saturation.[ch]: changed the hue_saturation()
27347 function as suggested by Martin Weber in bug #94067. Changed the
27348 function signature to use a typed instead of a void pointer.
27350 * app/tools/gimphuesaturationtool.c (gimp_hue_saturation_tool_map):
27351 cast the hue_saturation() function pointer to a GimpImageMapApplyFunc
27354 2003-03-07 Sven Neumann <sven@gimp.org>
27356 * tools/pdbgen/pdb/guides.pdb: allow to add guides with an offset
27357 of 0 (spotted by Paul Doidge, bug #90629).
27359 * app/pdb/guides_cmds.c: regenerated.
27361 2003-03-07 Michael Natterer <mitch@gimp.org>
27363 * app/display/gimpdisplayshell-scroll.c: need to update the
27364 scrollbars now that the call to gimp_display_shell_scale_setup()
27365 was commented out. Removed the commented stuff and don't #include
27366 "gimpdisplayshell-scale.h". Resume the active tool *after*
27367 calling gdk_window_process_updates() to skip more useless drawing
27370 2003-03-06 Manish Sing <yosh@gimp.org>
27372 * tools/pdbgen/pdb/guides.pdb: fix find_next_guide to return 0 on
27373 the last guide as documented, instead of failing.
27375 * app/pdb/guides_cmds.c: regenerated
27377 2003-03-06 Michael Natterer <mitch@gimp.org>
27379 * themes/Default/images/stock-delete-16.png
27380 * themes/Default/images/stock-lower-16.png
27381 * themes/Default/images/stock-new-16.png
27382 * themes/Default/images/stock-paste-16.png
27383 * themes/Default/images/stock-raise-16.png
27384 * themes/Default/images/stock-refresh-16.png: removed these files
27385 since we use the icons provided by GTK+ now.
27387 * themes/Default/gtkrc
27388 * themes/Default/images/Makefile.am: removed them here hoo.
27390 * libgimpwidgets/gimpstock.[ch]: reordered stuff to be consistent
27391 in the header and the .c file. Added GIMP_STOCK_ERROR and
27392 GIMP_STOCK_QUESTION which are available in all sizes (unlike
27393 GTK_STOCK_DIALOG_ERROR and GTK_STOCK_DIALOG_QUESTION).
27395 * app/core/gimpviewable.c
27396 * app/display/gimpdisplayshell.c
27397 * app/gui/file-commands.c
27398 * app/gui/file-new-dialog.c
27399 * app/gui/file-save-dialog.c
27400 * app/widgets/gimpwidgets-utils.c
27401 * app/widgets/gimpdatafactoryview.c: use the new stock IDs.
27403 * app/config/gimpcoreconfig.[ch]: renamed "preview_size" to
27404 "layer_preview_size" and added "gboolean layer_previews" which
27405 switches layer previews on/off independent of their size.
27407 * app/config/gimprc-blurbs.h: added/changed their blurbs.
27409 * app/core/core-enums.[ch]: removed GIMP_PREVIEW_SIZE_NONE.
27411 * app/core/gimpdrawable-preview.c
27412 * app/core/gimpdrawable.c
27413 * app/core/gimpimage.c: return NULL previews if
27414 core_config->layer_previews is FALSE. Invalidate all layer/channel
27415 previews whenever "layer_previews" changes.
27417 * app/widgets/gimppreviewrendererdrawable.c
27418 * app/widgets/gimppreviewrendererimage.c: render the stock_id
27419 if the drawable/image returns a NULL preview. Fixes bug #107242.
27421 * app/display/gimpdisplayshell-handlers.c: don't set the
27422 sensitivity of the navigation button because it can no longer be
27425 * app/display/gimpdisplayshell-layer-select.c
27426 * app/gui/dialogs-constructors.c
27427 * app/gui/dialogs.c
27428 * app/gui/paths-dialog.c: changed accordingly.
27430 * app/gui/preferences-dialog.c: added a toggle button for the new
27431 "layer_previews" boolean.
27433 * app/widgets/gimpcontainergridview.c
27434 * app/widgets/gimpcontainerlistview.c: chain up unconditionally
27435 in GimpContainerView::clear_items().
27437 * app/widgets/gimpcontainertreeview.c: ditto. Made the reorder()
27438 implementation lengthy and eeky (but working) again... Stop signal
27439 emission on double clicks so GtkTreeView doesn't re-select the
27440 item we are about change.
27442 * app/widgets/gimpcontainerview.c
27443 (gimp_container_view_real_clear_items): need to use
27444 g_hash_table_new_full() here too or everything will b0rk.
27446 * app/widgets/gimppreviewrenderer.c
27447 (gimp_preview_renderer_default_render_stock): use
27448 gtk_widget_render_icon() instead of gtk_icon_set_render_icon().
27450 * tools/pdbgen/enums.pl: this file wanted to be regenerated...
27452 2003-03-06 Sven Neumann <sven@gimp.org>
27454 * app/core/gimpparasitelist.c: fixed parasite serialization that
27457 * app/widgets/gimpenummenu.c: added support for mnemonics.
27459 * app/core/core-enums.h: removed the inverted variants from the
27460 GimpAddMaskType enum. Registered the enum with the type system.
27462 * app/core/gimplayer.c: changed accordingly.
27464 * app/gui/layers-commands.c (layers_add_mask_query): use an enum
27465 frame and added a check button that allows to invert the inital
27468 * tools/pdbgen/pdb/layer.pdb: updated documentation for the
27469 gimp-layer-create-mask PDB function.
27471 * plug-ins/script-fu/siod-wrapper.c: removed new enum values from
27472 the compatibility defines.
27474 * app/core/core-enums.c
27475 * app/pdb/layer_cmds.c
27476 * libgimp/gimpenums.h
27477 * libgimp/gimplayer_pdb.c
27478 * plug-ins/pygimp/gimpenums.py
27479 * plug-ins/script-fu/script-fu-constants.c
27480 * tools/pdbgen/enums.pl: regenerated.
27482 2003-03-06 Sven Neumann <sven@gimp.org>
27485 * INSTALL: updated for GTK+ 2.2.
27487 2003-03-05 Manish Singh <yosh@gimp.org>
27489 * configure.in: require GTK+ 2.2. The 2.0.x series is no longer
27490 maintained, and there are some very real bugs that won't go away.
27492 * app/gui/about-dialog.c
27493 * app/widgets/gimppreviewrenderer.c
27494 * app/widgets/gimptoolbox-color-area.c
27495 * plug-ins/common/uniteditor.c: remove special casing for GTK+ 2.0
27498 * app/widgets/gtkwrapbox.[ch]
27499 * app/widgets/gtkhwrapbox.[ch]
27500 * app/widgets/gtkvwrapbox.[ch]: remove deprecated functions
27502 * app/gui/gui.c: free return value of gdk_get_display ()
27504 * app/widgets/gimpcontainertreeview.c: use gtk_list_store_move_before()
27507 2003-03-05 Sven Neumann <sven@gimp.org>
27509 * app/config/Makefile.am
27510 * app/config/gimpconfigwriter.[ch]: new files featuring a simple
27511 config file writer.
27513 * app/config/gimpconfig-serialize.[ch]
27514 * app/config/gimpconfig.[ch]: changed the serialize routines to
27515 use a GimpConfigWriter instead of passing around a file descriptor
27516 and the indentation level.
27518 * app/config/config-types.h
27519 * app/config/gimpconfig-deserialize.c
27520 * app/config/gimpconfig-dump.c
27521 * app/config/gimpconfig-utils.c
27522 * app/config/gimprc.c
27523 * app/config/gimpscanner.c
27524 * app/config/test-config.c
27525 * app/core/gimp-documents.c
27526 * app/core/gimp-parasites.c
27527 * app/core/gimpcontainer.c
27528 * app/core/gimpcontext.c
27529 * app/core/gimpdocumentlist.c
27530 * app/core/gimpparasitelist.c
27531 * app/gui/test-commands.c
27532 * app/tools/tool_options.c
27533 * app/widgets/gimpdevices.c: changed accordingly.
27535 * libgimpwidgets/gimpwidgets.c: documentation updates.
27537 * app/core/gimpitem.c: removed a redundant type-check.
27539 2003-03-05 Michael Natterer <mitch@gimp.org>
27541 * themes/Default/images/stock-channels-16.png
27542 * themes/Default/images/stock-device-status-16.png
27543 * themes/Default/images/stock-images-16.png
27544 * themes/Default/images/stock-layers-16.png
27545 * themes/Default/images/stock-paths-16.png: new icons from Jimmac.
27547 * themes/Default/imagerc
27548 * themes/Default/images/Makefile.am
27549 * libgimpwidgets/gimpstock.[ch]: add them to the stock system.
27551 * app/gui/dialogs-menu.c
27552 * app/gui/image-menu.c
27553 * app/gui/toolbox-menu.c: use them.
27555 2003-03-05 Michael Natterer <mitch@gimp.org>
27557 * app/widgets/gimpbrusheditor.[ch]: undeprecated and simplified a
27558 lot by using GimpPreview instead of handmade preview stuff.
27560 2003-03-05 Michael Natterer <mitch@gimp.org>
27562 * app/file/file-save.[ch]: added GError reporting, removed
27565 * app/gui/file-commands.c
27566 * app/gui/file-save-dialog.c: g_message() here if file_save_*()
27569 * app/file/file-open.c: use the G_FILE_ERROR quark and the
27570 GFileError enum for reporting errors. Removed g_message() if the
27571 passed in GError** pointer is NULL (passing NULL as error return
27572 location should never mean "show the error message yourself").
27575 * app/gui/file-commands.c
27576 * app/gui/file-open-dialog.c
27577 * app/widgets/gimpdnd.c
27578 * app/widgets/gimpdocumentview.c: g_message() here if file_open_*()
27581 2003-03-05 Sven Neumann <sven@gimp.org>
27583 * plug-ins/common/compose.c
27584 * plug-ins/common/decompose.c
27586 * plug-ins/rcm/rcm.c: moved these plug-ins to the Filters menu
27587 (fixes bug #107587).
27589 * app/gui/image-menu.c (image_menu_entries): removed a menu
27590 separator which is not needed any longer.
27592 2003-03-04 Sven Neumann <sven@gimp.org>
27594 Based on suggestions by Michael J. Hammel <mjhammel@graphics-muse.org>:
27596 * app/gui/preferences-dialog.c: use US english spelling, fixed a
27599 * app/config/gimprc-blurbs.h: rephrased some blurbs so they fit
27600 better as tooltips.
27602 2003-03-04 Sven Neumann <sven@gimp.org>
27604 * app/widgets/gimpcolormapeditor.[ch]: set the active color from
27605 GimpColormapEditor::selected so you can pick colors from an
27606 indexed palette again.
27608 2003-03-04 Michael Natterer <mitch@gimp.org>
27610 * app/file/file-save.[ch]: added new function file_save_as() which
27611 always uses the uri and file_proc parameters passed and never
27612 looks at the image's uri and file_proc. Renamed "gboolean set_uri"
27613 to "set_uri_and_proc" and always set them both if the save
27614 succeeded. Fixes bug #97835. Removed most parameters from
27615 file_save() and made it a small wrapper around file_save_as().
27617 * app/gui/file-commands.c (file_save_cmd_callback): changed
27620 * app/gui/file-save-dialog.c: call file_save_as(), renamed
27621 "set_uri" variables to "set_uri_and_proc".
27623 2003-03-03 Michael Natterer <mitch@gimp.org>
27625 * app/paint/gimppaintcore-stroke.c
27626 * app/paint/gimppaintcore.c:
27627 s/paint_options != NULL/GIMP_IS_PAINT_OPTIONS (paint_options)/g
27629 2003-03-03 Hans Breuer <hans@breuer.org>
27631 * app/text/makefile.msc (new file)
27632 */makefile.msc */*/makefile.msc : updated
27634 * app/core/gimpdata.c : define access() constants
27635 for G_OS_WIN32 case
27637 * app/text/gimptext.c : <stdlib.h> for getenv()
27639 * libgimp/gimp.def libgimp/gimpui.def : updated externals
27641 * libgimpwidgets/libgimp-glue.c : make dynamic_resolve
27642 actually work again for 'my' DLL naming convention
27644 * plug-ins/gap/gap_pdb_calls.c : reflect renaming
27645 of GIMP_VERTICAL to GIMP_ORIENTATION_VERTICAL
27647 2003-03-03 Michael Natterer <mitch@gimp.org>
27649 * app/widgets/gimppreviewrenderer.[ch]: made the default buffer
27650 and stock rendering functions public so derived renderers
27651 can use them. Renamed gimp_preview_renderer_render_preview()
27652 to gimp_preview_renderer_render_buffer().
27654 * app/widgets/gimppreviewrendererbrush.c
27655 * app/widgets/gimppreviewrendererdrawable.c
27656 * app/widgets/gimppreviewrendererimage.c: changed accordingly.
27658 * app/widgets/gimppreviewrenderertextlayer.[ch]: new renderer
27659 for text layers which always renders the stock icon.
27661 * app/widgets/Makefile.am
27662 * app/widgets/widgets-types.h
27663 * app/widgets/gimppreviewrenderer-utils.c: changed accordingly.
27665 2003-03-03 Sven Neumann <sven@gimp.org>
27667 * plug-ins/common/edge.c (edge): fixed a typo in the kernel for
27668 sobel vertical edge detection spotted by Sunil Mohan Adapa (bug
27671 2003-03-03 Michael Natterer <mitch@gimp.org>
27673 * app/widgets/gimppreviewrenderer.[ch]: removed the constructors
27674 with a GimpViewable parameter and always create renderers from
27675 viewable types only. Made gimp_preview_renderer_update() emit only
27676 the "update" signal and added the new function
27677 gimp_preview_renderer_invalidate() which does what the old
27678 _update() did (invalidating and adding an idle function which
27679 emits "update"). Added gimp_preview_renderer_remove_idle() so
27680 renderer updating can be fully controlled using public functions.
27682 * app/widgets/gimppreviewrendererbrush.[ch]: no need to remember
27683 the widget for the brushpipe animation, simply call
27684 gimp_preview_renderer_update() in the animation timeout.
27686 * app/widgets/gimppreview.[ch]
27687 * app/widgets/gimpcontainertreeview.c: changed accordingly. Call
27688 gimp_preview_renderer_remove_idle() after setting the initial
27689 viewable because we will be updated anyway by the first expose.
27691 * app/widgets/gimppreview.[ch]: Added a size_request()
27692 implementation. Removed gimp_preview_update(). Added new
27693 constructor gimp_preview_new_full_by_types() to make the
27694 constructor API symmetric. Removed code duplication by calling the
27695 _by_types() constructors from the ones taking GimpViewable
27698 * app/gui/palette-import-dialog.c
27699 * app/widgets/gimppropwidgets.c
27700 * app/widgets/gimpselectioneditor.c: changed accordingly.
27702 2003-03-03 Michael Natterer <mitch@gimp.org>
27704 * app/core/gimplayer.c (gimp_layer_create_mask): don't try to
27705 convert a grayscale layer to grayscale. Fixes bug #107422.
27707 2003-03-02 Sven Neumann <sven@gimp.org>
27709 * libgimpcolor/gimpbilinear.[ch]
27710 * libgimpcolor/gimpcolor.def: applied a patch from David Necas
27711 <yeti@physics.muni.cz> that adds gimp_bilinear_pixels_8(), a new
27712 function that computes the bilinear interpolation of four pixels.
27714 2003-03-02 Sven Neumann <sven@gimp.org>
27716 * tools/pdbgen/pdb/guides.pdb
27717 * app/pdb/guides_cmds.c: fixed gimp_image_find_next_guide() which
27718 was broken for the case when the image had no guides at all. Fixes
27719 the hanging rotate plug-in (bug #106823).
27721 2003-03-01 Michael Natterer <mitch@gimp.org>
27723 * app/widgets/gimppreviewrenderer.[ch]: added "gint bytes" to the
27724 GimpPreviewRenderer struct and pass it to
27725 gimp_preview_render_to_buffer().
27727 * app/widgets/gimppreviewrendererbrush.[ch]: render the indicators
27728 to the renderer's buffer, not to the TempBuf so they always appear
27729 in the corner again.
27733 * app/core/gimpbuffer.c (gimp_buffer_get_new_preview)
27734 * app/core/gimppattern.c (gimp_pattern_get_new_preview): no need
27735 to center the TempBuf if smaller than requested because
27736 GimpPreviewRenderer::render()'s default implementation adjusts the
27739 * app/widgets/gimppreview.c (gimp_preview_set_viewable): no need
27740 to update ourselves after we changed the renderer because the
27741 renderer's signal will update us.
27743 * app/widgets/gimppreviewrenderer.c (gimp_preview_renderer_draw):
27744 replaced my stupid buf_rect calculation overkill by something
27745 simple that does the same.
27747 2003-03-01 Michael Natterer <mitch@gimp.org>
27749 * app/core/gimpbuffer.c: don't scale the preview up if the
27750 buffer is too small.
27752 * app/core/gimppattern.c: don't add a white border around the
27753 preview if the pattern is too small.
27755 * app/widgets/gimppreviewrenderer.[ch]: new object. A buffer
27756 that updates itself on GimpViewable changes and can render
27757 itself to any widget. Basically GimpPreview reduced to the
27758 render and draw code.
27760 * app/widgets/gimppreview.[ch]: removed all rendering and drawing
27761 code and keep a GimpPreviewRenderer instance. Connect to its
27762 "update" signal for queuing draws on the preview.
27764 * app/widgets/gimpcellrendererviewable.[ch]
27765 * app/widgets/gimpcontainertreeview.c: same here: removed
27766 rendering and drawing code and keep GimpPreviewRenderers in the
27767 list store. Delays preview creation for GtkTreeViews until the
27768 buffer is really needed for drawing and adds idle preview updating
27769 on viewable changes.
27771 * app/widgets/gimppreview-utils.[ch]
27772 * app/widgets/gimpbrushpreview.[ch]
27773 * app/widgets/gimpbufferpreview.[ch]
27774 * app/widgets/gimpdrawablepreview.[ch]
27775 * app/widgets/gimpimagepreview.[ch]: removed...
27777 * app/widgets/gimppreviewrenderer-utils.[ch]
27778 * app/widgets/gimppreviewrendererbrush.[ch]
27779 * app/widgets/gimppreviewrendererdrawable.[ch]
27780 * app/widgets/gimppreviewrendererimage.[ch]: ...and converted to
27781 GimpPreviewRenderer subclasses.
27783 * app/display/gimpnavigationview.c
27784 * app/gui/palette-import-dialog.c
27785 * app/widgets/Makefile.am
27786 * app/widgets/widgets-enums.h
27787 * app/widgets/widgets-types.h
27788 * app/widgets/gimpchannellistview.c
27789 * app/widgets/gimpcomponentlistitem.c
27790 * app/widgets/gimpcontainergridview.c
27791 * app/widgets/gimpcontainermenuimpl.c
27792 * app/widgets/gimplayerlistitem.c
27793 * app/widgets/gimplistitem.c
27794 * app/widgets/gimpnavigationpreview.[ch]
27795 * app/widgets/gimpselectioneditor.c
27796 * app/widgets/gimpvectorslistview.c: changed accordingly.
27798 2003-03-01 Michael Natterer <mitch@gimp.org>
27800 * app/tools/gimpblendtool.c: removed useless includes.
27802 2003-02-28 Sven Neumann <sven@gimp.org>
27804 * app/core/gimpcontext.c (gimp_context_class_init): oops.
27806 2003-02-28 Sven Neumann <sven@gimp.org>
27808 * app/config/gimpconfig-deserialize.c
27809 * app/config/gimpconfig-serialize.[ch]: transparently serialize
27810 and deserialize object properties that implement the
27811 GimpConfigInterface.
27813 * app/config/gimpconfig-utils.c (gimp_config_reset_properties):
27814 call reset recursively if properties are itself objects that
27815 implement the GimpConfigInterface.
27817 * app/config/gimpconfig-dump.c: adapt to API changes.
27819 * app/config/gimpconfig-params.h: made object properties installed
27820 using GIMP_CONFIG_INSTALL_PROP_OBJECT() be not writable by default.
27822 * app/core/gimpcontext.c (gimp_context_class_init): made objects
27823 properties explicitely writeable.
27825 * app/tools/gimptextoptions.c: made the GimpText object a property
27826 of GimpTextOptions and removed lots of special handling which is
27827 now transparently done by GimpConfigInterface.
27829 2003-02-28 Sven Neumann <sven@gimp.org>
27831 * app/config/gimpconfig-serialize.[ch]: renamed
27832 gimp_config_serialize_changed_properties() to
27833 gimp_config_serialize_properties_diff() and added a new function
27834 gimp_config_serialize_changed_properties() that saves only
27835 properties that have been changed from their default values.
27837 * app/config/gimprc.c: follow the function name change.
27839 * app/core/gimpcontext.c: override GimpConfigInterface::serialize
27840 with gimp_config_serialize_changed_properties() so we store only
27841 tool_options that have been changed from their default values.
27843 2003-02-28 Sven Neumann <sven@gimp.org>
27845 * app/config/gimpconfig-serialize.c
27846 (gimp_config_serialize_changed_properties): simplified by using
27847 gimp_config_serialize_property() instead of doing it all by hand.
27849 2003-02-27 Manish Singh <yosh@gimp.org>
27851 * plug-ins/pygimp/doc/Makefile.am: make clean shouldn't clean disted
27854 2003-02-27 Manish Singh <yosh@gimp.org>
27856 * app/tools/gimpbucketfilltool.c
27857 * app/tools/gimpconvolvetool.c
27858 * app/tools/gimpcroptool.c
27859 * app/tools/gimpdodgeburntool.c
27860 * app/tools/gimperasertool.c
27861 * app/tools/gimpfliptool.c
27862 * app/tools/gimpfuzzyselecttool.c
27863 * app/tools/gimpinkoptions.c
27864 * app/tools/gimpmagnifytool.c
27865 * app/tools/gimpmovetool.c
27866 * app/tools/gimprectselecttool.c
27867 * app/tools/gimpselectiontool.c
27868 * app/tools/gimptexttool.c
27869 * app/tools/gimptransformtool.c
27870 * app/widgets/gimpcellrendererviewable.c
27871 * app/widgets/gimpcontainertreeview.c: remove unecessary G_OBJECT()
27872 from g_object_set calls.
27874 * plug-ins/common/bumpmap.c: use g_signal_handlers_(un)block_by_func
27875 instead of gtk_signal_handler_(un)block_by_data.
27877 2003-02-27 Sven Neumann <sven@gimp.org>
27879 * libgimpcolor/gimprgb.c: fixed gimp_rgb_intensity_uchar() which
27880 used to return 0 or 1 instead of 0 to 255. Fixes bug #107202.
27882 2003-02-27 Sven Neumann <sven@gimp.org>
27884 * app/core/gimpimage-undo-push.c (undo_push_layer_mask): fixed
27885 typo which caused layer mask undo to fail.
27887 2003-02-27 Raphael Quinet <quinet@gamers.org>
27889 * plug-ins/script-fu/scripts/Makefile.am
27890 * plug-ins/script-fu/scripts/3d-outline.scm
27891 * plug-ins/script-fu/scripts/alien-glow-logo.scm
27892 * plug-ins/script-fu/scripts/alien-neon-logo.scm
27893 * plug-ins/script-fu/scripts/basic1-logo.scm
27894 * plug-ins/script-fu/scripts/basic2-logo.scm
27895 * plug-ins/script-fu/scripts/blended-logo.scm
27896 * plug-ins/script-fu/scripts/bovinated-logo.scm
27897 * plug-ins/script-fu/scripts/chalk.scm
27898 * plug-ins/script-fu/scripts/chip-away.scm
27899 * plug-ins/script-fu/scripts/chrome-logo.scm
27900 * plug-ins/script-fu/scripts/comic-logo.scm
27901 * plug-ins/script-fu/scripts/coolmetal-logo.scm
27902 * plug-ins/script-fu/scripts/frosty-logo.scm
27903 * plug-ins/script-fu/scripts/glossy.scm
27904 * plug-ins/script-fu/scripts/glowing-logo.scm
27905 * plug-ins/script-fu/scripts/gradient-bevel-logo.scm
27906 * plug-ins/script-fu/scripts/neon-logo.scm
27907 * plug-ins/script-fu/scripts/script-fu-util.scm
27908 * plug-ins/script-fu/scripts/starburst-logo.scm
27909 * plug-ins/script-fu/scripts/starscape-logo.scm
27910 * plug-ins/script-fu/scripts/t-o-p-logo.scm
27911 * plug-ins/script-fu/scripts/textured-logo.scm: applied a slightly
27912 modified version of the patch provided by Chauk-Mean PROUM to fix
27913 the behavior of some alpha-to-logo scripts when the layer has a
27914 non-zero offset or if a selection exists. Fixes bug #73891.
27916 2003-02-27 Michael Natterer <mitch@gimp.org>
27918 * app/core/gimpviewable.[ch]: added virtual function
27919 get_popup_size() which returns a boolean indicating if a popup is
27920 needed and its size.
27922 * app/core/gimpbrush.c
27923 * app/core/gimpbrushpipe.c
27924 * app/core/gimpbuffer.c
27925 * app/core/gimpdrawable-preview.[ch]
27926 * app/core/gimpdrawable.c
27927 * app/core/gimpgradient.c
27928 * app/core/gimpimage.c
27929 * app/core/gimppalette.c
27930 * app/core/gimppattern.c
27931 * app/core/gimpundo.c: implement it.
27933 * app/widgets/gimppreview.[ch]: removed virtual functions
27934 needs_popup() and create_popup(). Removed the code which creates
27935 the popup and the popup members of the GimpPreview struct.
27937 * app/widgets/gimppreview-popup.[ch]: new files providing the
27938 utility function gimp_preview_popup_show() which can show popups
27939 from any widget, not just from a GimpPreview. Checks if a popup is
27940 needed using gimp_viewable_get_popup_size().
27942 * app/widgets/gimpcellrendererviewable.c: show popups here too.
27944 * app/widgets/gimpbrushpreview.c
27945 * app/widgets/gimpbufferpreview.c
27946 * app/widgets/gimpdrawablepreview.c
27947 * app/widgets/gimpimagepreview.c: removed needs_popup() and
27948 create_popup() implementations.
27950 * app/widgets/gimpnavigationpreview.c: removed empty render()
27953 * app/widgets/gimpundoeditor.c: use a tree instead of a list view.
27955 * app/widgets/gimpgradientpreview.[ch]
27956 * app/widgets/gimppalettepreview.[ch]
27957 * app/widgets/gimppatternpreview.[ch]: removed because they only
27958 implemented the removed popup functions.
27960 * app/widgets/Makefile.am
27961 * app/widgets/widgets-types.h
27962 * app/widgets/gimpmenuitem.c
27963 * app/widgets/gimppreview-utils.c: changed accordingly
27965 2003-02-26 Sven Neumann <sven@gimp.org>
27967 * app/config/gimpconfig-serialize.c (gimp_config_serialize_properties):
27968 don't insert an extra line-break after a serialized property.
27970 * app/config/gimpconfig-serialize.c
27971 * app/config/gimpconfig-dump.c
27972 * app/gui/tips-parser.c: use g_string_truncate (str, 0) instead of
27973 assigning an empty string.
27975 * app/tools/gimptextoptions.c: override the serialize and
27976 deserialize methods of the GimpConfig interface and save/restore
27977 the associated GimpText object instead of GimpTextOptions.
27979 * app/tools/tool_options.c (gimp_tool_options_build_filename):
27980 don't append ".default" if no extension is given.
27982 2003-02-26 Sven Neumann <sven@gimp.org>
27984 * app/display/gimpdisplayshell-callbacks.c: removed debugging output.
27986 2003-02-26 Sven Neumann <sven@gimp.org>
27988 * app/core/gimpdata.[ch]: added a writeable field to GimpData and
27989 set it from gimp_data_set_filename().
27991 * app/gui/brushes-menu.c
27992 * app/gui/gradients-menu.c
27993 * app/gui/palettes-menu.c
27994 * app/gui/patterns-menu.c
27995 * app/widgets/gimpbrushfactoryview.c
27996 * app/widgets/gimpdatafactoryview.c
27997 * app/widgets/gimpgradienteditor.c: look at data->writeable when
27998 setting widgets sensitivity.
28000 * app/gui/user-install-dialog.c (user_install_dialog_create): reduce
28001 some of the dialog clutter by not showing the directories created for
28004 * app/core/gimpviewable.[ch]: added a default_stock_id to
28005 GimpViewableClass so we don't need to hold a copy in each instance.
28006 Added accessor functions to set and get the stock_id.
28008 * app/core/gimptoolinfo.c
28009 * app/gui/dialogs-constructors.c
28010 * app/gui/image-menu.c
28011 * app/tools/gimpcroptool.c
28012 * app/tools/gimphistogramtool.c
28013 * app/tools/gimpimagemaptool.c
28014 * app/tools/gimpmeasuretool.c
28015 * app/tools/gimptransformtool.c
28016 * app/widgets/gimpcellrendererviewable.c
28017 * app/widgets/gimppreview.c
28018 * app/widgets/gimptoolbox.c: use gimp_viewable_get_stock_id().
28020 * app/text/gimptextlayer.c: set a text icon as default stock_id.
28022 2003-02-26 Michael Natterer <mitch@gimp.org>
28024 * app/core/gimpviewable.[ch]: added "gchar *stock_id" to the
28025 GimpViewable struct. It is used by the GUI if the get_preview()
28026 functions return NULL. Default to GTK_STOCK_DIALOG_QUESTION.
28028 * app/core/gimptoolinfo.[ch]: set the tool's stock_id. Removed
28029 the cached GdkPixbuf. Don't implement any preview function
28030 so the GUI uses the stock_id.
28032 * app/tools/tool_manager.c: removed GdkPixbuf creation, removed
28033 the #warning about the buggy way we created the pixbuf.
28035 * app/gui/dialogs-constructors.c
28036 * app/gui/image-menu.c
28037 * app/tools/gimpcroptool.c
28038 * app/tools/gimphistogramtool.c
28039 * app/tools/gimpimagemaptool.c
28040 * app/tools/gimpmeasuretool.c
28041 * app/tools/gimptransformtool.c
28042 * app/widgets/gimptoolbox.c: use viewable->stock_id instead
28043 of tool_info->stock_id.
28045 * app/core/gimpbrush.c
28046 * app/core/gimpgradient.c
28047 * app/core/gimpimagefile.c
28048 * app/core/gimpundo.c: simplified get_preview() implementations:
28050 - never scale previews up, only down.
28051 - don't render white or checks backgrounds but simply return
28052 TempBufs with alpha and let the preview system do its job.
28053 - don't add padding but simply return previews smaller than
28056 * app/display/gimpdisplayshell-render.[ch]: added
28057 "render_blend_white", a 2d lookup table for blending on white,
28058 just as the check lookup tables. Added "render_white_buf".
28060 * app/widgets/gimppreview.[ch]: changed a lot:
28062 - don't render the preview's border into the buffer.
28063 - added "GdkGC *border_gc" and draw the preview's border in expose()
28064 using gdk_draw_rectangle().
28065 - added "GdkPixbuf *no_preview_pixbuf" and create it in
28066 gimp_preview_real_render() if gimp_viewable_get_preview()
28068 - factored the actual preview rendering out to
28069 gimp_preview_render_to_buffer(). Added configurable background
28070 rendering for the preview itself and it's padding area
28071 (the area the preview is larger than the buffer returned
28072 by gimp_viewable_get_preview()).
28073 - changed gimp_preview_render_and_flush() to
28074 gimp_preview_render_preview() and added "inside_bg" and
28075 "outside_bg" parameters.
28076 - use the new render buffers for blending on white.
28078 * app/widgets/gimpbrushpreview.c
28079 * app/widgets/gimpbufferpreview.c
28080 * app/widgets/gimpdrawablepreview.c
28081 * app/widgets/gimpgradientpreview.c
28082 * app/widgets/gimpimagepreview.c
28083 * app/widgets/gimppalettepreview.c
28084 * app/widgets/gimppatternpreview.c: don't create large white
28085 TempBufs to center the previews in but simply set the TempBuf's
28086 offsets to get them centered. Simplified & cleaned up many preview
28087 render functions. Pass the correct GimpPreviewBG modes to
28088 gimp_preview_render_preview().
28090 * app/widgets/gimpcellrendererviewable.[ch]: new GtkCellRenderer
28091 class derived from GtkCellRendererPixbuf which knows how
28092 to use gimp_viewable_get_preview_size() and renders the
28093 viewable's stock item if no preview can be created.
28095 * app/widgets/gimpcontainertreeview.c: added a GtkTreeCellDataFunc
28096 which creates the preview pixbuf if needed so we don't create it
28097 unconditionally upon item insertion. Fixed preview size assertion
28098 to use GIMP_PREVIEW_MAX_SIZE, not "64". Block "selection_changed"
28099 while reordering the selected item.
28101 * app/widgets/gimpcontainerview.c: cosmetic.
28103 * app/widgets/gimpimagefilepreview.[ch]
28104 * app/widgets/gimptoolinfopreview.[ch]
28105 * app/widgets/gimpundopreview.[ch]: removed because the default
28106 implementation is good enough.
28108 * app/widgets/Makefile.am
28109 * app/widgets/widgets-types.h
28110 * app/widgets/gimppreview-utils.c: changed accordingly.
28112 * app/gui/dialogs-constructors.[ch]
28113 * app/gui/dialogs-menu.c
28114 * app/gui/dialogs.c
28115 * app/gui/image-menu.c
28116 * app/gui/toolbox-menu.c: register grid and tree view variants
28117 of the document history.
28121 * app/gui/gui.c (gui_exit_finish_callback): disconnect from
28124 * app/gui/user-install-dialog.c: create the "tool-options" subdir
28125 of the user's ~/.gimp-1.3 directory.
28127 2003-02-26 Sven Neumann <sven@gimp.org>
28129 * autogen.sh: moved the call to libtoolize before automake.
28131 * libgimpwidgets/gimpcolorscale.c: added some inline docs.
28133 * libgimpwidgets/gimpwidgets.[ch]: changed gimp_spin_button_new(),
28134 gimp_scale_entry_new() and gimp_color_scale_entry_new() to take
28135 doubles instead of floats for the adjustment values.
28137 2003-02-25 Sven Neumann <sven@gimp.org>
28139 * app/display/gimpdisplayshell-callbacks.[ch]
28140 * app/display/gimpdisplayshell.c: override GtkWidget::popup_menu()
28141 so we popup the Image menu on the default shortcut (Shift F10).
28143 * app/gui/image-menu.c (image_menu_entries): removed or replaced
28144 shortcuts that use the Alt key. Added access keys to all toplevel
28145 entries of the Image menu (see bug #106991).
28147 * app/gui/tools-commands.[ch]: removed "Swap Contexts" functionality.
28149 * app/widgets/gimpselectioneditor.[ch]: moved "Invert" button.
28151 2003-02-25 Michael Natterer <mitch@gimp.org>
28153 * app/display/gimpdisplayshell.[ch]: replaced the "gboolean
28154 title_dirty" in GimpDisplayShell by "guint title_idle_id".
28155 (gimp_display_shell_flush): Call gimp_display_shell_update_title()
28156 unconditionally. Don't call info_window_update().
28158 * app/display/gimpdisplayshell-handlers.c
28159 * app/display/gimpdisplayshell-scale.c: ditto.
28161 * app/display/gimpdisplayshell-title.c: update the title in an
28162 idle function. Call info_window_update() from the idle function.
28164 2003-02-25 Sven Neumann <sven@gimp.org>
28166 * app/config/gimpdisplayconfig.[ch]
28167 * app/config/gimprc-blurbs.h
28168 * app/display/gimpdisplayshell.c
28169 * app/gui/preferences-dialog.c: applied a modified version of a
28170 patch from Toralf Lund <toralf@kscanners.no> that adds a new
28171 preferences option to choose the inital zoom ratio. Fixes bug
28172 #106730 and in my opinion also #103547.
28174 2003-02-25 Sven Neumann <sven@gimp.org>
28176 * plug-ins/common/spheredesigner.c: replaced the GtkList with a
28177 GtkTreeView/Model, replaced all deprecated GTK+ calls.
28179 * plug-ins/common/uniteditor.c: cosmetics.
28181 2003-02-25 Michael Natterer <mitch@gimp.org>
28183 * app/widgets/gimpcontainerview.c (gimp_container_view_remove):
28184 remove the insert_data from the hash table *after* calling the
28185 virtual remove_item() functions because GimpContainerTreeView's
28186 GtkTreeIters are freed by the hash table when removing them.
28188 2003-02-25 Sven Neumann <sven@gimp.org>
28190 * app/config/gimprc-blurbs.h
28191 * app/gui/preferences-dialog.c: tried to improve the explanations
28192 of the new undo limits.
28194 2003-02-25 Sven Neumann <sven@gimp.org>
28196 * app/tools/gimprectselecttool.c (gimp_rect_select_tool_motion):
28197 if in free select mode set width and height in the tool options.
28199 * app/tools/gimpselectionoptions.c: relaxed the limits for the
28200 fixed-width and fixed-height properties.
28202 2003-02-25 Michael Natterer <mitch@gimp.org>
28204 * app/widgets/gimpcontainertreeview.c
28205 (gimp_container_tree_view_button_press): the gtk_tree_model_get()
28206 argument list ends with -1, not NULL.
28208 2003-02-25 Sven Neumann <sven@gimp.org>
28210 * plug-ins/common/spheredesigner.c: code cosmetics.
28212 2003-02-24 Sven Neumann <sven@gimp.org>
28214 * autogen.sh: prefer automake-1.7 over automake-1.6.
28216 * configure.in: removed the call to AC_PROG_RANLIB again since
28217 according to automake it is rendered obsolete by AC_PROG_LIBTOOL.
28219 2003-02-24 Michael Natterer <mitch@gimp.org>
28221 * app/widgets/gimpcontainerview.[ch]: added "GDestroyNotify
28222 insert_data_free" to the GimpContainerViewClass struct. Pass it as
28223 "value_destroy_func" to g_hash_table_new_full().
28225 * app/widgets/gimpcontainertreeview.[ch]: set g_free() as
28226 insert_data_free, so we don't leak the GtkTreeIters used as
28227 insert_data. Added DND stuff (you can drag any item without
28228 selecting it using mouse button 2). Lots of cleanup and changes.
28230 * app/widgets/gimpcontainereditor.c: cosmetic.
28232 2003-02-24 Sven Neumann <sven@gimp.org>
28234 * app/text/gimptext.[ch]
28235 * app/text/gimptextlayout.c: added a language property to GimpText
28236 which defaults to the language derived from the users locale. Set
28237 the language on the PangoContext.
28239 2003-02-24 Sven Neumann <sven@gimp.org>
28241 * plug-ins/common/mblur.c: added parentheses to please the
28242 compiler and to make the code more legible.
28244 2003-02-24 Michael Natterer <mitch@gimp.org>
28246 * app/gui/dialogs-commands.c (dialogs_toggle_view_cmd_callback):
28247 fixed strstr() call so we can switch back from tree views again.
28249 2003-02-24 Michael Natterer <mitch@gimp.org>
28251 * app/display/gimpdisplay-foreach.[ch]: removed
28252 gimp_displays_invalidate() again.
28254 * app/display/gimpdisplayshell-render.c: don't call it.
28256 * app/display/gimpdisplayshell-handlers.c
28257 (gimp_display_shell_check_notify_handler): put the call to
28258 gimp_display_shell_expose_full() back I "optimized" away a few
28261 2003-02-24 Sven Neumann <sven@gimp.org>
28263 * plug-ins/common/spheredesigner.c: some code cleanup, fixed
28264 preview drawing, use GimpColorButtons and stock icons.
28266 2003-02-23 Sven Neumann <sven@gimp.org>
28269 * README.perl: removed this file.
28274 * gimp.spec.in: removed traces of gimp-perl and added some
28275 pointers to the new CVS module.
28277 2003-02-23 Sven Neumann <sven@gimp.org>
28279 * app/gui/convert-dialog.c (convert_to_indexed): set the correct
28280 default value for the palette type menu (fixes bug #106798).
28282 2003-02-22 Sven Neumann <sven@gimp.org>
28284 * app/config/gimprc.c: documented gimp_rc_save().
28286 2003-02-22 Dave Neary <bolsh@gimp.org>
28288 * plug-ins/common/png.c: Fixed bug #105360. Previously,
28289 alpha was taking up an index entry even if there were
28290 no transparent entries. Sorry about that :)
28292 2003-02-21 Manish Singh <yosh@gimp.org>
28294 * configure.in: oops, put back in perl binary location stuff for
28297 2003-02-21 Manish Singh <yosh@gimp.org>
28300 * plug-ins/Makefile.am: perl remnants here too
28302 2003-02-21 Manish Singh <yosh@gimp.org>
28304 * configure.in: remove perl stuff
28306 The actual code has been removed from CVS as well, and moved to the
28309 2003-02-21 Manish Singh <yosh@gimp.org>
28311 * app/gui/about-dialog.c
28312 * app/widgets/gimpimagefilepreview.c
28313 * app/widgets/gimptoolbox-color-area.c: use gdk_draw_pixbuf with
28314 GTK+ 2.2 or higher instead of gdk_pixbuf_render_to_drawable.
28315 That function will be deprecated in GTK+ 2.4. We should remove the
28316 fallback at some point when we start depending on GTK+ 2.2 for other
28319 2003-02-21 Sven Neumann <sven@gimp.org>
28321 * app/display/gimpdisplay-foreach.[ch]: added new function
28322 gimp_displays_invalidate() which queues a redraw on all displays
28323 by calling gimp_display_shell_expose_full().
28325 * app/display/gimpdisplayshell-render.c (render_setup_notify):
28326 invalidate all displays when the transparency type or size changes.
28328 * app/tools/gimptexttool.c (text_tool_button_press): readded some
28329 code I accidentally removed in my last commit.
28331 * app/text/gimptextlayout.c (gimp_text_layout_new): always set the
28332 font size but make sure it is at least 1.
28334 2003-02-21 Sven Neumann <sven@gimp.org>
28336 * app/widgets/gimpviewabledialog.c: added missing cast.
28338 * app/widgets/gimpcontainertreeview.c: do not include a non-existant
28341 2003-02-21 Michael Natterer <mitch@gimp.org>
28343 Started migration from GtkList to GtkTreeView:
28345 * app/widgets/Makefile.am
28346 * app/widgets/widgets-types.h
28347 * app/widgets/gimpcontainertreeview.[ch]: new GimpContainerView
28348 subclass using GtkListStore/GtkTreeView.
28350 * app/widgets/widgets-enums.h: added GIMP_VIEW_TYPE_TREE to
28351 the GimpViewType enum.
28353 * app/widgets/gimpcontainereditor.c: added GimpContainerTreeView
28354 to the switch() which selects the view type.
28356 * app/gui/dialogs-commands.c
28357 * app/gui/dialogs-constructors.[ch]
28358 * app/gui/dialogs-menu.c
28359 * app/gui/dialogs.c: added tree view versions of many dialogs.
28361 * app/widgets/gimppreview.[ch]: removed the get_size() virtual
28362 function and gimp_preview_calc_size().
28364 * app/core/gimpviewable.[ch]: added virtual function
28365 get_preview_size() and gimp_viewable_calc_preview_size().
28367 * app/core/gimpbuffer.c
28368 * app/core/gimpdrawable-preview.[ch]
28369 * app/core/gimpdrawable.c
28370 * app/core/gimpgradient.c
28371 * app/core/gimpimage.c
28372 * app/core/gimppalette.c: added get_preview_size() implementations.
28374 * app/widgets/gimpbufferpreview.c
28375 * app/widgets/gimpdrawablepreview.c
28376 * app/widgets/gimpgradientpreview.c
28377 * app/widgets/gimpimagepreview.c
28378 * app/widgets/gimppalettepreview.c
28379 * app/widgets/gimpselectioneditor.c
28380 * app/widgets/gimpundopreview.c
28381 * app/display/gimpnavigationview.c: changed accordingly, removed
28382 get_size() implementations.
28384 * app/widgets/widgets-types.h: changed the first param of
28385 GimpItemGetNameFunc from GtkWidget to GObject.
28387 * app/widgets/gimpcontainerview-utils.c: accept a GimpViewable as
28388 object in the built-in get_name funcs.
28390 * app/widgets/gimpcomponentlistitem.c
28391 * app/widgets/gimpcontainergridview.c
28392 * app/widgets/gimplistitem.c
28393 * app/widgets/gimpmenuitem.c: changed accordingly.
28395 2003-02-21 Sven Neumann <sven@gimp.org>
28397 * app/display/gimpdisplayshell-scroll.c (gimp_display_shell_scroll):
28398 don't wait for graphics expose events. Commented out the call to
28399 gimp_display_shell_scale_setup() since it should not be needed.
28401 2003-02-21 Sven Neumann <sven@gimp.org>
28403 * app/display/gimpdisplayshell-render.c (render_image_rgb):
28404 replaced a for-loop with a call to memcpy().
28406 * app/display/gimpdisplay.c: use g_memdup() instead of g_new()
28407 followed by memcpy().
28409 2003-02-21 Michael Natterer <mitch@gimp.org>
28411 * app/tools/gimptransformoptions.c
28412 (gimp_transform_options_class_init): the default value of "clip"
28413 is FALSE, not TRUE. Fixes bug #106644.
28415 2003-02-21 Michael Natterer <mitch@gimp.org>
28417 Refactored the GimpDisplayShell update/draw code:
28419 * app/display/gimpdisplayshell.[ch]: removed the display_areas
28420 list which used to hold the GimpAreas to update. Instead, simply
28421 queue draws using gtk_widget_queue_draw[_area]() in
28422 gimp_display_shell_expose_area(), _expose_full() and
28423 _expose_guide(). Made all _draw() functions public because they
28424 are now called from the "expose_event" handler. Removed rendering
28425 from gimp_display_shell_flush() because stuff is now flushed
28426 automatically by the gtk idle renderer.
28428 * app/display/gimpdisplayshell-callbacks.c
28429 (gimp_display_shell_canvas_expose): draw everything here (the code
28430 removed from gimp_display_shell_flush() without the GimpArea list).
28431 (gimp_display_shell_canvas_tool_events): return "return_val", not
28432 TRUE if gimp->busy is TRUE. Fixes unupdated (windowk bg color)
28433 display areas. Fixes bug #106595.
28435 * app/display/gimpdisplay.c
28436 * app/display/gimpdisplayshell-cursor.c
28437 * app/display/gimpdisplayshell-filter-dialog.c
28438 * app/display/gimpdisplayshell-handlers.c
28439 * app/display/gimpdisplayshell-selection.c
28440 * app/gui/view-commands.c: changed accordingly. Removed calls to
28441 gimp_display_shell_flush() all over the place.
28443 * app/display/gimpdisplayshell-scroll.c: replaced lots of code by
28444 a single call to gdk_window_scroll().
28446 2003-02-21 Sven Neumann <sven@gimp.org>
28448 * INSTALL: fixed URL of libart package, spotted by Michael J. Hammel.
28450 2003-02-21 Sven Neumann <sven@gimp.org>
28452 * app/widgets/gimpwidgets-utils.[ch] (gimp_table_attach_stock):
28453 added a colspan parameter and fixed packing of the stock icon.
28455 * app/tools/gimpselectionoptions.c
28456 * app/tools/gimptextoptions.c: improved dialog layout.
28458 2003-02-20 Sven Neumann <sven@gimp.org>
28460 * app/widgets/gimpfontselection-dialog.c
28461 * app/widgets/gimpfontselection.c: connect the dialog to the font
28462 selection widget and block the signal handler when the font is
28463 changed from the dialog. Fixes weird behaviour noted by Jimmac.
28465 2003-02-20 Sven Neumann <sven@gimp.org>
28467 * app/tools/gimptexttool.c: always start with an empty text.
28469 2003-02-20 Sven Neumann <sven@gimp.org>
28471 * libgimpbase/gimputils.c (gimp_utf8_strtrim): trim the string
28474 * app/text/gimptext.c: changed the default text to NULL.
28476 * app/widgets/gimptexteditor.[ch]: replaced Cancel and OK buttons
28477 with a single Close button and removed the callback.
28479 * app/widgets/gimppropwidgets.c: gtk_text_buffer_set_text()
28480 doesn't like NULL pointers, pass it an empty string instead.
28482 * app/tools/gimptexttool.c: create a new text layer as soon as the
28483 user starts editing.
28485 2003-02-20 Michael Natterer <mitch@gimp.org>
28487 * app/widgets/Makefile.am
28488 * app/widgets/widgets-types.h
28489 * app/widgets/gimpimageeditor.[ch]: new GimpEditor subclass adding
28490 a GimpImage pointer and a virtual set_image() function.
28492 * app/widgets/gimpcolormapeditor.[ch]
28493 * app/widgets/gimpselectioneditor.[ch]
28494 * app/widgets/gimpundoeditor.[ch]: derive them from GimpImageEditor.
28495 Removed the public set_image() functions.
28497 * app/gui/colormap-editor-commands.c
28498 * app/gui/colormap-editor-menu.c: changed accordingly.
28500 * app/gui/dialogs-constructors.c: removed lots of code duplication
28501 and use the uniform GimpImageEditor API. Misc cleanups.
28503 2003-02-20 Sven Neumann <sven@gimp.org>
28505 * app/core/gimpmarshal.list: reduced to the set of marshallers we
28508 * libgimpwidgets/gimpwidgetsmarshal.list: documented.
28510 2003-02-20 Michael Natterer <mitch@gimp.org>
28512 Reimplemented the undo history:
28515 * app/undo_history.[ch]: removed.
28517 Changes/cleanups to the undo system to enable/simplify the new
28518 undo history implementation:
28520 * app/core/core-types.h: removed enum undo_event_t. Removed the
28521 GimpImage parameter from GimpUndoPopFunc and GimpUndoFreeFunc
28522 because GimpUndo has a GimpImage pointer now (see below).
28524 * app/core/core-enums.[ch]: added enum GimpUndoEvent. Added an
28525 enum value for REDO_EXPIRED.
28527 * app/core/gimpimage.[ch]: added a GimpUndo pointer to the
28528 "undo_event" signal which needs to be passed for all events except
28531 * app/display/gimpdisplayshell-handlers.c: changed accordingly.
28533 * app/core/gimpundo.[ch]: added a GimpImage pointer to the
28534 GimpUndo struct. Removed GimpImage parameters all over the
28535 place. Added preview stuff. The preview creation needs to be
28536 triggered explicitly using gimp_undo_create_preview() because the
28537 GimpUndo can't know when it's possible to create the preview.
28539 * app/core/gimpimage-undo-push.c
28540 * app/paint/gimppaintcore-undo.c
28541 * app/tools/gimptransformtool-undo.c: changed accordingly, cleanup.
28543 * app/core/gimpundostack.[ch]: ditto. Return the freed undo from
28544 gimp_undo_stack_free_bottom(). Removed unused container signal
28547 * app/core/gimpimage-undo.c: free the redo stack the same way old
28548 undos are freed (from bottom up). Emit "undo_event" with event ==
28549 REDO_EXPIRED for each removed redo.
28551 * app/core/gimpmarshal.list: added new marshallers.
28553 New undo history implementation:
28555 * app/widgets/Makefile.am
28556 * app/widgets/widgets-types.h
28557 * app/widgets/gimpundoeditor.[ch]
28558 * app/widgets/gimpundopreview.[ch]: new widgets for the undo
28559 step previews and the history itself.
28561 * app/widgets/gimppreview-utils.c: added GimpUndoPreview to the
28562 list of possible preview types.
28564 * app/gui/dialogs-constructors.[ch]
28565 * app/gui/dialogs-menu.c
28566 * app/gui/dialogs.c
28567 * app/gui/image-menu.c
28568 * app/gui/toolbox-menu.c: removed the old and added the new undo
28569 history to the dialog factory and the various dialog menus.
28571 * app/widgets/gimpdnd.[ch]: don't warn if a GType has no
28572 corresponding DND type. Instead, return FALSE from the function
28575 * app/widgets/gimppreview.c: check the return value of gimpdnd
28576 functions. Not only add drag sources but also remove them when no
28579 * app/widgets/gimpselectioneditor.h: removed unneeded inclusion of
28582 2003-02-19 Tor Lillqvist <tml@iki.fi>
28584 * libgimpbase/gimpbase.def: Add gimp_utf8_strtrim. Sort. Remove
28585 commented-out entries.
28587 * libgimpproxy/Makefile.am: On Win32, add libgimpbase to LIBADD.
28589 * libgimptool/gimptool.def: Add gimp_transform_grid_type_get_type.
28591 2003-02-19 Sven Neumann <sven@gimp.org>
28593 * app/widgets/gimppropwidgets.[ch]: added a new widget constructor
28594 gimp_prop_opacity_entry_new() which is a scale entry with a display
28597 * app/tools/paint_options.c: use the new opacity scale for opacity
28600 2003-02-19 Sven Neumann <sven@gimp.org>
28602 * plug-ins/common/uniteditor.c: fixed typo.
28604 * plug-ins/helpbrowser/helpbrowser.c: generate HTML with proper
28605 encoding information, fixes bug #106543.
28607 2003-02-19 Sven Neumann <sven@gimp.org>
28609 * plug-ins/common/laplace.c: changed MIN to MAX as suggested by
28610 Sunil Mohan Adapa in bug #106474.
28612 2003-02-19 Sven Neumann <sven@gimp.org>
28614 * configure.in: use AC_PROG_LIBTOOL and AC_PROG_RANLIB as
28615 suggested in bug report #106499.
28617 2003-02-18 Manish Singh <yosh@gimp.org>
28619 * app/plug-in/plug-in-shm.c: #include <sys/types.h> for ipc/shm
28620 headers. (Bug #106461)
28622 * app/plug-in/plug-in.c: remove unneeded includes of ipc/shm headers.
28624 2003-02-18 Sven Neumann <sven@gimp.org>
28626 Applied patches from David Necas <yeti@physics.muni.cz> that fix
28627 incorrect RGBA resampling in a number of plug-ins:
28629 * libgimpcolor/gimpbilinear.c (gimp_bilinear_rgba): fixes RGBA
28630 resampling in Map Object and Lighting Effects plug-ins (#72876 and
28633 * plug-ins/common/curve_bend.c: fixes bug #72863.
28634 * plug-ins/common/deinterlace.c: fixes bug #72856.
28635 * plug-ins/common/gauss_iir.c: fixes bug #72848.
28636 * plug-ins/common/gauss_rle.c: fixes bug #72849.
28637 * plug-ins/common/iwarp.c: fixes bug #72865 (except preview, see
28639 * plug-ins/common/mblur.c: fixes bug #72850.
28640 * plug-ins/common/pixelize.c: fixes bug #72851.
28641 * plug-ins/common/polar.c: fixes bug #72866.
28642 * plug-ins/common/ripple.c: fixes bug #72868.
28644 2003-02-18 Michael Natterer <mitch@gimp.org>
28646 * app/widgets/gimppropwidgets.[ch]: added gimp_prop_preview_new().
28648 * app/tools/gimpblendoptions.c
28649 * app/tools/paint_options.c: use it.
28651 2003-02-18 Sven Neumann <sven@gimp.org>
28653 * tools/pdbgen/pdb/procedural_db.pdb
28654 * app/pdb/procedural_db_cmds.c: use regfree() to free the regex
28657 * app/widgets/gimpdnd.c (gimp_dnd_data_dest_add): unref the
28658 GtkTargetList after adding it to the widget.
28660 * app/core/gimpimage.c (gimp_image_get_new_preview): initialize
28661 all fields of the mask pixel_region.
28663 * app/core/gimpviewable.c (gimp_viewable_get_new_preview_pixbuf):
28664 pass a destroy notifier to gdk_pixbuf_new_from_data() so that the
28665 pixel data is freed with the pixbuf.
28667 * libgimptool/gimptool.c (gimp_tool_class_init): register a
28668 finalizer that unrefs the GimpToolControl object.
28670 * app/widgets/gimpenummenu.c (gimp_enum_stock_box_new_with_range):
28671 free the generated stock_id.
28673 2003-02-18 Sven Neumann <sven@gimp.org>
28675 * data/images/gimp_splash.png: flattened the splash image.
28677 2003-02-18 Michael Natterer <mitch@gimp.org>
28679 * app/plug-in/plug-ins.[ch]: added plug_ins_proc_def_find() which
28680 takes a ProcRecord and returns the corresponding PlugInProcDef.
28682 * app/plug-in/plug-in.[ch]: added a ProcRecord pointer to the
28683 PlugIn struct so we know which procedure the plug-in is
28684 executing. Replaced "gboolean in_temp_proc" by
28685 "ProcRecord *current_temp_proc". Added plug_in_get_undo_desc()
28686 which uses the new ProcRecord members and plug_ins_proc_def_find()
28687 to return a human readable string.
28689 * app/plug-in/plug-in-run.c: pass the ProcRecord to plug_in_new().
28690 Set plug_in->current_temp_proc while executing a temp_proc.
28691 (The latter won't work since we don't run temp_procs recursively
28694 * app/gui/plug-in-menus.c: translate the plug-in's menu_path
28695 before chopping it for the "Repeat" and "Reshow" menu items.
28697 * tools/pdbgen/pdb/drawable.pdb
28698 * tools/pdbgen/pdb/undo.pdb: use plug_in_get_undo_desc() when
28699 pushing plug-in undos.
28701 * app/pdb/drawable_cmds.c
28702 * app/pdb/undo_cmds.c: regenerated.
28704 2003-02-17 Jay Cox <jaycox@gimp.org>
28706 * app/paint-funcs/paint-funcs.c: Fixed an initialization error
28707 in fatten_region and thin_region discovered by hans_meine@gmx.net
28709 2003-02-18 Manish Singh <yosh@gimp.org>
28711 * tools/pdbgen/Makefile.am: add enumcode-py.pl to EXTRA_DIST
28713 2003-02-18 Sven Neumann <sven@gimp.org>
28715 * Made 1.3.12 release.
28717 2003-02-18 Sven Neumann <sven@gimp.org>
28719 * plug-ins/script-fu/scripts/ripply-anim.scm: fixed typo.
28721 2003-02-17 Michael Natterer <mitch@gimp.org>
28723 * app/core/gimpimage.[ch] (gimp_image_position_*): added
28724 "undo_desc" parameters.
28726 * app/core/gimpimage-undo-push.c: changed accordingly.
28728 * app/widgets/gimpitemlistview.[ch]: moved the item stack
28729 manipulation function pointers from the instance to the class
28730 struct. Added lots of descriptive strings to be used by tooltips
28733 * app/widgets/gimpchannellistview.c
28734 * app/widgets/gimpitemlistitem.c
28735 * app/widgets/gimplayerlistview.[ch]
28736 * app/widgets/gimpvectorslistview.c
28737 * app/gui/dialogs-constructors.c
28738 * app/gui/layers-commands.[ch]
28739 * app/gui/vectors-commands.c: changed accordingly. Cleanup.
28741 2003-02-17 Michael Natterer <mitch@gimp.org>
28743 * libgimpwidgets/gimpcolorscale.c (gimp_color_scale_size_allocate):
28744 calculate the size of the handle (the small triangles) from the
28745 scale's requisition, not from its allocation. Spotted by drc.
28747 2003-02-17 Michael Natterer <mitch@gimp.org>
28749 * app/core/gimplayer.c: s/"Add Mask to Layer"/"Add Layer Mask"/
28750 to match an already existing string,
28752 2003-02-17 Michael Natterer <mitch@gimp.org>
28754 * app/core/gimpedit.c (gimp_edit_fill): pass more detailed
28755 undo_desc strings instead of always "Fill".
28757 * app/core/gimpimage-mask-select.c: changed undo_desc strings
28758 to match the already existing blurbs of the selection tools.
28760 2003-02-17 Michael Natterer <mitch@gimp.org>
28762 * app/core/gimpimage-merge.[ch]: added "const gchar *undo_desc" to
28763 gimp_image_merge_layers() so the undo steps say "Merge Down",
28764 "Flatten Image" etc. instead of always "Merge Layers".
28766 2003-02-15 Larry Ewing <lewing@ximian.com>
28768 * app/tools/gimpinkoptions.c (gimp_ink_options_gui): add a new
28769 variable to hold the brush vbox so the we return the correct
28772 2003-02-14 Michael Natterer <mitch@gimp.org>
28774 Fixed most of the bugs the Script-Fu logo scripts triggered:
28776 * app/core/gimpdrawable-bucket-fill.[ch]
28777 (gimp_drawable_bucket_fill): added "gboolean do_seed_fill"
28778 parameter instead of assuming TRUE.
28779 (gimp_drawable_bucket_fill_full): moved "color" and "pattern"
28780 parameters to the end.
28782 * app/tools/gimpbucketfilltool.c
28783 * app/display/gimpdisplayshell-dnd.c
28784 * app/widgets/gimpdrawablelistview.c: changed accordingly.
28786 * tools/pdbgen/pdb/misc_tools.pdb: only pass TRUE if the selection
28787 is empty. Restores old PDB behaviour.
28789 * app/core/gimpimage-undo.c (gimp_image_undo_group_end): return
28790 early if gimage->undo_on is FALSE. Fixes bogus criticals.
28792 * app/core/gimpimage.c (gimp_image_add_[layer|channel|vectors]):
28793 clamp the passed position to sane values before calling
28794 gimp_container_insert() (Scripts adding layers at wrong indices
28795 are broken but should not crash the core).
28797 * tools/pdbgen/pdb/paint_tools.pdb: need to copy the relevant
28798 paint parameters from the current context now that the paint
28799 options are contexts themselves.
28801 * tools/pdbgen/pdb/palette.pdb: removed useless includes.
28803 (Mostly) fixed text PDB functions:
28805 * app/text/gimptext-compat.[ch] (text_render): don't set
28806 text->font_size = -1 but get the size from the PangoFontDescrition.
28807 (text_get_extents): return the logical_rect, not the ink_rect
28808 because the size of the created text layer will be the logical_rect.
28810 * tools/pdbgen/pdb/text_tool.pdb: removed text_fontname_create()
28811 utility function and the usage of pass_through and implement all
28812 invokers in-place, using the correct parameters.
28814 * plug-ins/script-fu/siod-wrapper.c: fixed BG-IMAGE-FILL compat
28815 define so we can BG fill again. Cleaned up color handling code.
28817 * plug-ins/script-fu/scripts/coolmetal-logo.scm
28818 * plug-ins/script-fu/scripts/glossy.scm
28819 * plug-ins/script-fu/scripts/land.scm
28820 * plug-ins/script-fu/scripts/lava.scm
28821 * plug-ins/script-fu/scripts/test-sphere.scm: use new gradient names.
28823 * app/pdb/misc_tools_cmds.c
28824 * app/pdb/paint_tools_cmds.c
28825 * app/pdb/palette_cmds.c
28826 * app/pdb/text_tool_cmds.c: regenerated.
28828 2003-02-14 Michael Natterer <mitch@gimp.org>
28830 Moved the undo step implementations to the core and pass around
28831 lots of "const gchar *undo_desc". Fixes bug #104367.
28834 * app/undo.[ch]: removed...
28836 * app/core/Makefile.am
28837 * app/core/gimpimage-undo-push.[ch]: ...and added here.
28839 * app/paint/Makefile.am
28840 * app/tools/Makefile.am
28841 * app/paint/gimppaintcore-undo.[ch]
28842 * app/tools/gimptransformtool-undo.[ch]: new files for the
28843 paint and transform undos.
28845 * app/core/gimppaintinfo.[ch]: added a blurb.
28847 * app/paint/gimpairbrush.c
28848 * app/paint/gimpclone.c
28849 * app/paint/gimpconvolve.c
28850 * app/paint/gimpdodgeburn.c
28851 * app/paint/gimperaser.c
28852 * app/paint/gimppaintbrush.c
28853 * app/paint/gimppaintcore.c
28854 * app/paint/gimppencil.c
28855 * app/paint/gimpsmudge.c
28856 * app/paint/paint-types.h
28857 * app/paint/paint.c: pass the blurb when registering the core.
28859 * app/core/gimpdrawable.[ch]
28860 * app/core/gimpimage.[ch]
28861 * app/core/gimpimage-mask-select.[ch]
28862 * app/core/gimpimage-mask.[ch]
28863 * app/core/gimpimagemap.[ch]
28864 * app/core/gimplayer-floating-sel.[ch]: added "undo_desc" parameters
28865 to all undo pushing helper functions.
28867 * app/undo_history.c
28868 * app/core/gimpchannel.c
28869 * app/core/gimpdrawable-blend.c
28870 * app/core/gimpdrawable-bucket-fill.c
28871 * app/core/gimpdrawable-desaturate.c
28872 * app/core/gimpdrawable-equalize.c
28873 * app/core/gimpdrawable-invert.c
28874 * app/core/gimpdrawable-offset.c
28875 * app/core/gimpdrawable-transform.c
28876 * app/core/gimpedit.c
28877 * app/core/gimpimage-convert.c
28878 * app/core/gimpimage-crop.c
28879 * app/core/gimpimage-guides.c
28880 * app/core/gimpimage-merge.c
28881 * app/core/gimpimage-qmask.c
28882 * app/core/gimpimage-resize.c
28883 * app/core/gimpimage-scale.c
28884 * app/core/gimpimage-undo.c
28885 * app/core/gimpitem.c
28886 * app/core/gimplayer.c
28887 * app/core/gimplayermask.c
28888 * app/display/gimpdisplayshell-dnd.c
28889 * app/file/file-open.c
28890 * app/file/file-save.c
28891 * app/gui/channels-commands.c
28892 * app/gui/file-commands.c
28893 * app/gui/file-open-dialog.c
28894 * app/gui/image-commands.c
28895 * app/gui/layers-commands.c
28896 * app/gui/paths-dialog.c
28897 * app/gui/select-commands.c
28898 * app/gui/vectors-commands.c
28899 * app/text/gimptext-compat.c
28900 * app/tools/gimpbezierselecttool.c
28901 * app/tools/gimpbucketfilltool.c
28902 * app/tools/gimpeditselectiontool.c
28903 * app/tools/gimpfreeselecttool.c
28904 * app/tools/gimpfuzzyselecttool.c
28905 * app/tools/gimpimagemaptool.c
28906 * app/tools/gimpinktool.c
28907 * app/tools/gimpiscissorstool.c
28908 * app/tools/gimpmeasuretool.c
28909 * app/tools/gimpmovetool.c
28910 * app/tools/gimppainttool.c
28911 * app/tools/gimprectselecttool.c
28912 * app/tools/gimptexttool.c
28913 * app/tools/gimptransformtool.c
28914 * app/widgets/gimpchannellistview.c
28915 * app/widgets/gimpdrawablelistview.c
28916 * app/widgets/gimpselectioneditor.c
28917 * tools/pdbgen/pdb/color.pdb
28918 * tools/pdbgen/pdb/drawable.pdb
28919 * tools/pdbgen/pdb/guides.pdb
28920 * tools/pdbgen/pdb/layer.pdb
28921 * tools/pdbgen/pdb/selection.pdb
28922 * tools/pdbgen/pdb/selection_tools.pdb: changed accordingly: pass
28923 "undo_desc" strings, changed includes or simply removed inclusion
28924 of "undo.h". Some random cleanups.
28926 * tools/pdbgen/pdb/guides.pdb: cleaned up a lot. Fixed
28927 gimp_image_find_next_guide() to not return guides with
28928 position < 0 (and made it shorter and readable).
28930 * app/pdb/color_cmds.c
28931 * app/pdb/drawable_cmds.c
28932 * app/pdb/guides_cmds.c
28933 * app/pdb/layer_cmds.c
28934 * app/pdb/selection_cmds.c
28935 * app/pdb/selection_tools_cmds.c: regenerated.
28937 2003-02-14 Sven Neumann <sven@gimp.org>
28939 * app/core/gimplayermask.c (gimp_layer_mask_duplicate): return the
28940 duplicate, not the original mask. Fixes bug #106010.
28942 2003-02-13 Raphael Quinet <quinet@gamers.org>
28944 * docs/make-todo: fix the address of the GIMP bug database so that
28945 it is possible to use bug references like <bugs>#106008</bugs> in
28946 TODO.xml. Fixes bug #106008.
28948 2003-02-13 Michael Natterer <mitch@gimp.org>
28950 * tools/pdbgen/pdb/plug_in.pdb: fixed plugins_query() I broke
28953 * app/pdb/plug_in_cmds.c: regenerated.
28955 2003-02-13 Michael Natterer <mitch@gimp.org>
28957 * app/core/core-enums.[ch]: changed FOO_UNDO enum values to
28960 * app/undo.[ch]: removed the undo group wrappers.
28962 * app/undo_history.c
28963 * app/core/gimpdrawable-transform.c
28964 * app/core/gimpedit.c
28965 * app/core/gimpimage-convert.c
28966 * app/core/gimpimage-crop.c
28967 * app/core/gimpimage-mask.c
28968 * app/core/gimpimage-merge.c
28969 * app/core/gimpimage-qmask.c
28970 * app/core/gimpimage-resize.c
28971 * app/core/gimpimage-scale.c
28972 * app/core/gimpimage-undo.c
28973 * app/core/gimpimage.c
28974 * app/core/gimpitem.c
28975 * app/core/gimplayer-floating-sel.c
28976 * app/core/gimplayer.c
28977 * app/display/gimpdisplayshell-dnd.c
28978 * app/gui/channels-commands.c
28979 * app/gui/image-commands.c
28980 * app/gui/layers-commands.c
28981 * app/paint/gimppaintcore.c
28982 * app/text/gimptext-compat.c
28983 * app/tools/gimpbezierselecttool.c
28984 * app/tools/gimpeditselectiontool.c
28985 * app/tools/gimpmeasuretool.c
28986 * app/tools/gimptexttool.c
28987 * app/tools/gimptransformtool.c
28988 * tools/pdbgen/pdb/layer.pdb
28989 * tools/pdbgen/pdb/undo.pdb: changed accordingly. Pass meaningful
28990 undo names to gimp_image_undo_group_start().
28992 * app/pdb/layer_cmds.c
28993 * app/pdb/undo_cmds.c: regenerated.
28995 2003-02-13 Sven Neumann <sven@gimp.org>
28997 * app/core/core-enums.h: fixed use of proxy-resume and proxy-skip
28998 trigraphs. We should get rid of these, they are so confusing.
29000 * app/core/core-enums.c: regenerated.
29002 * libgimpproxy/gimpproxytypes.h: this file was regenerated for no
29005 2003-02-12 Michael Natterer <mitch@gimp.org>
29007 Moved the undo system to the core: Keep GimpUndoStack objects as
29008 undo and redo stack. Use GimpUndo objects as members of the
29009 stacks. GimpUndoStack is derived from GimpUndo and keeps undo
29010 groups, so undo group handling is much simpler than before
29011 (the whole group is just a single GimpUndo object on the
29012 stack and not everything between group boundary markers).
29015 * app/undo_types.h: removed.
29017 * app/config/gimpcoreconfig.[ch]: added "gulong undo_size".
29018 * app/config/gimprc-blurbs.h: and its blurb.
29020 * app/core/core-enums.[ch]: added GimpUndoMode and GimpUndoType.
29022 * app/core/core-types.h: removed UndoType, added GimpUndoAccumulator,
29023 GimpUndoPopFunc and GimpUndoFreeFunc.
29025 * app/core/gimpundo.[ch]: do everything the old "Undo" struct did.
29026 Removed the virtual push() function and added free().
29028 * app/core/gimpundostack.[ch]: keeps the new undo/redo stacks
29029 and also acts as undo group.
29031 * app/core/gimpimage-undo.[ch]: moved the undo apparatus here.
29033 * app/core/gimpimage.[ch]: removed the old stuff.
29035 * app/core/gimpmarshal.list: added marshaller needed for GimpUndo.
29037 * app/undo.[ch]: removed the whole undo mechanism. Only the
29038 actual undo pushing functions are left.
29040 * app/undo_history.c
29041 * app/gui/edit-commands.c
29042 * app/gui/file-commands.c
29043 * app/gui/image-menu.c
29044 * app/gui/preferences-dialog.c
29045 * app/tools/gimpeditselectiontool.c: changed accordingly.
29047 2003-02-12 Sven Neumann <sven@gimp.org>
29050 * app/path_bezier.[ch]
29051 * app/path_curves.[ch]
29052 * app/tools/Makefile.am
29053 * app/tools/gimppathtool.[ch]
29054 * app/tools/path_tool.[ch]: removed the abandoned path tool
29057 2003-02-12 Sven Neumann <sven@gimp.org>
29059 * app/tools/Makefile.am
29060 * app/tools/path_toolP.h: removed this unused header file.
29062 2003-02-11 Sven Neumann <sven@gimp.org>
29065 * TODO: removed. Fixes bug #105835.
29067 2003-02-11 Michael Natterer <mitch@gimp.org>
29069 * app/core/gimpitem.[ch]: added new virtual function duplicate()
29070 as replacement for all gimp_*_copy() functions.
29072 * app/core/gimpchannel.[ch]
29073 * app/core/gimpdrawable.[ch]
29074 * app/core/gimplayer.[ch]
29075 * app/core/gimplayermask.[ch]
29076 * app/vectors/gimpvectors.[ch]: replaced public copy() functions
29077 by duplicate() implementations.
29079 * app/text/gimptextlayer.c: added a duplicate() implementation.
29081 * app/widgets/gimpitemlistview.[ch]: removed the "copy_item_func"
29082 and simply call gimp_item_duplicate().
29085 * app/core/gimpimage-duplicate.c
29086 * app/core/gimpimage-mask.c
29087 * app/core/gimpimage-qmask.c
29088 * app/gui/channels-commands.c
29089 * app/gui/dialogs-constructors.c
29090 * app/gui/layers-commands.c
29091 * app/gui/vectors-commands.c
29092 * app/widgets/gimptoolbox.c
29093 * tools/pdbgen/pdb/channel.pdb
29094 * tools/pdbgen/pdb/layer.pdb
29095 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
29097 * app/pdb/channel_cmds.c
29098 * app/pdb/layer_cmds.c
29099 * app/pdb/selection_cmds.c: regenerated.
29101 2003-02-11 Sven Neumann <sven@gimp.org>
29103 * plug-ins/print/gimp_color_window.c
29104 * plug-ins/print/gimp_main_window.c: fixed some obvious problems
29105 like drawing outside the expose_event handler and not returning a
29106 value from event handlers. This code really is a mess :(
29108 2003-02-11 Sven Neumann <sven@gimp.org>
29110 * plug-ins/common/uniteditor.c: argh, the "cell-background-gdk"
29111 property was introduced in GTK+-2.2. Added a run-time version check.
29113 2003-02-11 Michael Natterer <mitch@gimp.org>
29115 * app/core/gimp.h: added lots of members for the complete
29116 state of the plug-ins.
29118 * app/plug-in/plug-in-types.h: added PlugInShm typedef.
29120 * app/plug-in/plug-in-message.c
29121 * app/plug-in/plug-in-rc.[ch]
29122 * app/plug-in/plug-in-run.[ch]
29123 * app/plug-in/plug-in-shm.c
29124 * app/plug-in/plug-in.[ch]
29125 * app/plug-in/plug-ins.[ch]: removed all global & static variables
29126 and pass around more "Gimp" pointers.
29128 * app/plug-in/plug-in-debug.c: use G_N_ELEMENTS().
29130 * app/gui/image-menu.c
29131 * app/gui/plug-in-commands.c
29132 * app/gui/plug-in-menus.c
29133 * app/gui/toolbox-menu.c
29135 * tools/pdbgen/pdb/fileops.pdb
29136 * tools/pdbgen/pdb/plug_in.pdb: changed accordingly.
29138 * app/pdb/fileops_cmds.c
29139 * app/pdb/plug_in_cmds.c: regenerated.
29141 2003-02-11 Sven Neumann <sven@gimp.org>
29143 * plug-ins/common/uniteditor.c: more code cleanup.
29145 2003-02-10 Manish Singh <yosh@gimp.org>
29147 * app/plug-in/plug-in-debug.c: remove a couple unused vars.
29149 * plug-ins/common/spheredesigner.c: G_OBJECT casts not needed
29150 for g_signal_connect.
29152 2003-02-10 Manish Singh <yosh@gimp.org>
29154 * app/plug-in/plug-in.[ch]: added hooks for running plug-ins under
29155 a memory debugger. Also, removed the args array from the PlugIn
29156 structure, replacing with simply a variable for the path to the
29157 plug-in (and one for a precalculated basename).
29159 * app/plug-in/plug-in-debug.[ch]: helper routines for the above
29161 * app/plug-in/plug-in-message.c
29162 * app/plug-in/plug-in-proc.c
29163 * app/plug-in/plug-in-progress.c: reflect new and renamed args members
29165 * app/plug-in/Makefile.am: added plug-in-debug.[ch]
29167 * app/core/core-types.h: added forward declaration for GimpPlugInDebug
29169 * app/core/gimp.[ch]: added structure member for GimpPlugInDebug
29171 * devel-docs/debug-plug-ins.txt: documented new feature
29173 2003-02-10 Sven Neumann <sven@gimp.org>
29175 * plug-ins/common/uniteditor.c: use the "cell-background-gdk"
29176 property to mark system units which can't be changed.
29178 2003-02-10 Sven Neumann <sven@gimp.org>
29180 * plug-ins/common/vpropagate.c: applied a patch from David Necas
29181 <yeti@physics.muni.cz> that fixes bug #105741.
29183 2003-02-10 Sven Neumann <sven@gimp.org>
29185 * plug-ins/common/gifload.c (DoExtension)
29186 * plug-ins/common/jpeg.c (load_image): UTF-8 validate the comment
29187 before setting it as a parasite.
29189 2003-02-10 Michael Natterer <mitch@gimp.org>
29191 * plug-ins/script-fu/scripts/distress_selection.scm
29192 * plug-ins/script-fu/scripts/old_photo.scm
29193 * plug-ins/script-fu/scripts/select_to_brush.scm
29194 * plug-ins/script-fu/scripts/select_to_image.scm
29195 * plug-ins/script-fu/scripts/spinning_globe.scm: removed.
29197 * plug-ins/script-fu/scripts/distress-selection.scm
29198 * plug-ins/script-fu/scripts/old-photo.scm
29199 * plug-ins/script-fu/scripts/select-to-brush.scm
29200 * plug-ins/script-fu/scripts/select-to-image.scm
29201 * plug-ins/script-fu/scripts/spinning-globe.scm: new filenames
29202 with '-' instead of '_'.
29204 * plug-ins/script-fu/scripts/Makefile.am: changed accordingly.
29206 2003-02-10 Michael Natterer <mitch@gimp.org>
29208 * plug-ins/script-fu/scripts/Makefile.am
29209 * plug-ins/script-fu/scripts/select-to-pattern.scm: added new
29210 script from Cameron Gregory. Closes bug #105624.
29212 * plug-ins/script-fu/scripts/select_to_brush.scm
29213 * plug-ins/script-fu/scripts/select_to_image.scm: cleaned them up.
29215 2003-02-10 Sven Neumann <sven@gimp.org>
29217 * app/config/gimpconfig-utils.[ch]: added new utility functions
29218 gimp_config_connect() and gimp_config_disconnect() and documented
29221 * app/tools/gimptexttool.c (gimp_text_tool_connect): use the new
29222 GimpConfig utility functions.
29224 2003-02-10 Sven Neumann <sven@gimp.org>
29226 * app/config/gimprc.c (gimp_rc_query): allow to query for gimp
29227 paths (like "gimp_dir") as it used to work in 1.2.
29229 * libgimpwidgets/gimpunitmenu.[ch]: minor code cleanup.
29231 2003-02-10 Michael Natterer <mitch@gimp.org>
29233 * app/tools/tool_options.[ch]: added a "const gchar *extension"
29234 parameter to gimp_tool_options_[de]serialize(). Default to
29235 "default" if NULL is passed.
29237 * app/tools/tool_manager.[ch]: load the tool_options from the
29238 default files in tool_manager_restore(), added tool_manager_save()
29239 which saves the default files.
29241 * app/app_procs.c: call tool_manager_save() on app exit.
29243 * app/gui/tool-options-dialog.c: pass "user" when loading/saving
29244 the user defaults. Changed tooltips of the load & save buttons.
29246 2003-02-10 Michael Natterer <mitch@gimp.org>
29248 * app/tools/gimpinktool.c: take the drawable offset into account
29249 when painting (spotted by tigert).
29251 2003-02-10 Michael Natterer <mitch@gimp.org>
29253 * app/tools/gimptransformtool.[ch]: connect to GimpTransformOptions'
29254 "notify" signal and update grid and path drawing accordingly.
29256 * app/tools/gimptransformoptions.c: removed the same stuff here.
29257 Doesn't depend on the tool_manager any more.
29259 * app/tools/gimpselectionoptions.c
29260 * app/tools/paint_options.c: don't #include "tool_manager.h"
29262 2003-02-09 Michael Natterer <mitch@gimp.org>
29264 * app/core/core-enums.[ch]: changed GimpOrientationType from
29265 GIMP_HORIZONTAL to GIMP_ORIENTATION_HORIZONTAL etc.
29267 * tools/pdbgen/pdb/guides.pdb: changed accordingly. Don't subtract
29268 1 from guide->orientation because InternalOrientationType no
29271 * tools/pdbgen/stddefs.pl: chop the whole GIMP_ORIENTATION_UNKNOWN
29272 value from the enum, not just UNKNOWN.
29274 * app/pdb/guides_cmds.c
29275 * app/pdb/transform_tools_cmds.c
29276 * libgimp/gimpenums.h
29277 * libgimp/gimpguides_pdb.c
29278 * plug-ins/script-fu/script-fu-constants.c
29279 * plug-ins/pygimp/gimpenums.py
29280 * tools/pdbgen/enums.pl: regenerated.
29282 * libgimp/gimpcompat.h
29283 * plug-ins/script-fu/siod-wrapper.c: added compat enums.
29285 * plug-ins/imagemap/imap_cmd_gimp_guides.c
29286 * plug-ins/xjt/xjt.c
29287 * plug-ins/xjt/xpdb_calls.c
29288 * plug-ins/common/gih.c
29289 * plug-ins/common/guillotine.c
29290 * plug-ins/common/rotate.c: changed accordingly.
29292 2003-02-09 Manish Singh <yosh@gimp.org>
29294 * libgimp/gimp.c: implemented plug-in debugging hooks. Also, use
29295 G_LOG_DOMAIN instead of hardcoding "LibGimp" for g_log_set_handler.
29297 * devel-docs/debug-plug-ins.txt: documented here
29299 * devel-docs/Makefile.am: add new file
29301 2003-02-09 Michael Natterer <mitch@gimp.org>
29303 * app/core/gimpcontext.[ch]: simplified everything a lot by
29304 merging the public GimpContextPropType enum with the internal
29305 anonymous object property id enum. Removed the internal copy_prop
29306 functions and handle property copying in a big switch() in
29307 gimp_context_copy_property(). Removed the separate signal
29308 connections for each property of the parent context and do the
29309 same using a single "notify" handler. Emit "notify" signals all
29310 over the place. Removed internal arrays which are no longer
29311 needed due to enum merge and copy_property simplification.
29312 Removed the array of signal names and use g_signal_name().
29313 Removed gimp_context_unset_parent() and allow "parent" being NULL
29314 in gimp_context_set_parent().
29316 * app/tools/tool_manager.c
29317 * app/widgets/gimpdevices.c: changed accordingly.
29319 * libgimptool/gimptooltypes.h: changed GimpToolOptionsGUIFunc to
29320 return a GtkWidget (the created tool options widget).
29322 * libgimptool/gimptoolmodule.c: #include <gtk/gtk.h>
29324 * app/tools/tool_options.[ch]: removed the "main_vbox" from the
29325 GimpToolOptions struct. Changed gimp_tool_options_gui() to create
29326 and return the main_vbox.
29328 * app/tools/tool_manager.c: create the "This Tool has no Options"
29329 label here if NULL was passed as "options_gui_func". Attach the
29330 options widget to the tool_options object using
29331 g_object_set_data().
29333 * app/gui/tool-options-dialog.c: changed accordingly.
29335 * app/tools/gimpairbrushtool.c
29336 * app/tools/gimpblendoptions.[ch]
29337 * app/tools/gimpbucketfilloptions.[ch]
29338 * app/tools/gimpclonetool.c
29339 * app/tools/gimpcolorpickeroptions.[ch]
29340 * app/tools/gimpconvolvetool.c
29341 * app/tools/gimpcropoptions.[ch]
29342 * app/tools/gimpdodgeburntool.c
29343 * app/tools/gimperasertool.c
29344 * app/tools/gimpflipoptions.[ch]
29345 * app/tools/gimpinkoptions.[ch]
29346 * app/tools/gimpmagnifyoptions.[ch]
29347 * app/tools/gimpmeasureoptions.[ch]
29348 * app/tools/gimpmoveoptions.[ch]
29349 * app/tools/gimpselectionoptions.[ch]
29350 * app/tools/gimpsmudgetool.c
29351 * app/tools/gimptextoptions.[ch]
29352 * app/tools/gimptransformoptions.[ch]
29353 * app/tools/gimpvectoroptions.[ch]
29354 * app/tools/paint_options.[ch]: return the options vbox from
29355 all tool_options_gui functions.
29357 2003-02-08 Sven Neumann <sven@gimp.org>
29359 * app/text/gimptext.c
29360 * app/tools/gimpbucketfilloptions.c
29361 * app/tools/gimpselectionoptions.c
29362 * app/tools/gimptextoptions.c: use N_() instead of _() with blurbs
29363 of object properties. GimpConfig wants the untranslated string as
29366 * app/widgets/gimpenummenu.c
29367 * app/widgets/gimppropwidgets.c: added gettext() calls.
29369 * app/config/gimpconfig-serialize.c: document the fact that
29370 gimp_config_serialize_comment() only handles ASCII comments.
29372 2003-02-09 Michael Natterer <mitch@gimp.org>
29374 * app/tools/tool_options.[ch]: added
29375 gimp_tool_options_[de]serialize() utility functions.
29377 * app/gui/tool-options-dialog.c: use them, cleanup.
29379 2003-02-09 Michael Natterer <mitch@gimp.org>
29381 * app/config/gimpscanner.c: allow G_CSET_DIGITS in identifiers so
29382 we can parse e.g. (foo-1 bar).
29384 2003-02-08 Sven Neumann <sven@gimp.org>
29386 * plug-ins/script-fu/scripts/ (lots of scripts): applied a patch
29387 from Carol Spears that changes all font names to the new style.
29390 2003-02-08 Sven Neumann <sven@gimp.org>
29392 * libgimpbase/gimputils.c (gimp_utf8_strtrim): fixed stupid bug.
29394 2003-02-08 Michael Natterer <mitch@gimp.org>
29396 * app/widgets/gimpselectioneditor.c: changed include to follow
29397 selection options change. Don't use the tool_manager to find
29398 by_color_select's options.
29400 2003-02-08 Michael Natterer <mitch@gimp.org>
29402 * app/tools/transform_options.[ch]
29403 * app/tools/selection_options.[ch]: removed...
29405 * app/tools/gimpselectionoptions.[ch]
29406 * app/tools/gimptransformoptions.[ch]: ...and added here.
29408 * app/tools/Makefile.am
29409 * app/tools/gimpbezierselecttool.c
29410 * app/tools/gimpbycolorselecttool.c
29411 * app/tools/gimpellipseselecttool.c
29412 * app/tools/gimpfreeselecttool.c
29413 * app/tools/gimpfuzzyselecttool.c
29414 * app/tools/gimpiscissorstool.c
29415 * app/tools/gimpperspectivetool.c
29416 * app/tools/gimprectselecttool.c
29417 * app/tools/gimprotatetool.c
29418 * app/tools/gimpscaletool.c
29419 * app/tools/gimpselectiontool.c
29420 * app/tools/gimpsheartool.c
29421 * app/tools/gimptransformtool.c
29422 * app/tools/gimpvectoroptions.h: changed accordingly.
29424 * app/tools/gimpinkoptions.[ch]: renamed "sensitivity" to
29425 "size_sensitivity". Reordered properties. Added utility
29426 constructors blob_button_new() and brush_widget_new().
29428 * app/tools/gimpinktool.c: changed accordingly.
29430 2003-02-08 Manish Singh <yosh@gimp.org>
29432 * tools/pdbgen/enumcode-py.pl: use True and False if available.
29433 Ditch GIMP_ prefixes since we have real namespaces in python.
29435 * tools/pdbgen/Makefile.am: generate python enums too
29437 * tools/pdbgen/enumcode.pl: cosmetic cleanup
29439 2003-02-08 Sven Neumann <sven@gimp.org>
29441 * libgimp/gimpmiscui.c (gimp_fixme_preview_fill): fixed
29442 initialization of GimpPixelRegion (#105572 spotted by David Necas).
29444 2003-02-08 Michael Natterer <mitch@gimp.org>
29446 * app/config/gimpconfig-serialize.c (gimp_config_serialize_property):
29447 the virtual serialize_property() returning FALSE doesn't mean the
29448 serialization failed but that the function didn't handle the
29449 property, so don't error but continue with the default
29450 implementation. Print newlines after properties only if
29453 * app/gui/tool-options-dialog.c: added tool options saving/loading
29454 as quickly hacked proof-of-concept.
29456 * app/paint/paint-enums.[ch]: added enum GimpInkBlobType.
29458 * app/tools/gimpinkoptions.[ch]: ported to object properties,
29461 * app/tools/gimpinktool.c: changed accordingly.
29463 2003-02-08 Sven Neumann <sven@gimp.org>
29465 * HACKING: added a note about generating the developers
29466 documentation and how to disable it in case of problems.
29468 2002-02-08 Manish Singh <yosh@gimp.org>
29470 * app/paint-funcs/paint-funcs.c
29471 * plug-ins/common/psd_save.c
29472 * plug-ins/common/sample_colorize.c: 64-bit cleaniless cleanups.
29474 2003-02-07 Michael Natterer <mitch@gimp.org>
29476 Added object properties for almost all tool_options values
29477 and registered lots of enums with the type system:
29479 Part I (enum and type cleanup):
29481 * app/core/core-enums.[ch]
29482 * app/core/core-types.h: removed InternalOrientaionType and
29483 register GimpOrientationType. Register GimpChannelOps.
29484 Removed GimpToolOptionsGUIFunc.
29486 * app/xcf/xcf-private.h: added XcfOrientationType with the
29487 same values as the old InternalOrientationType
29489 * app/xcf/xcf-load.c
29490 * app/xcf/xcf-save.c: translate between GimpOrientationType and
29491 XcfOrientationType.
29493 * app/core/gimpdrawable-transform-utils.[ch]
29494 * app/core/gimpdrawable-transform.[ch]
29495 * app/core/gimpimage-crop.c
29496 * app/core/gimpimage-duplicate.c
29497 * app/core/gimpimage-guides.c
29498 * app/core/gimpimage-resize.c
29499 * app/core/gimpimage-scale.c
29500 * app/core/gimpimage.h
29501 * app/display/gimpdisplayshell.c
29502 * tools/pdbgen/stddefs.pdb
29503 * tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
29505 * app/pdb/guides_cmds.c
29506 * app/pdb/transform_tools_cmds.c
29507 * libgimp/gimpenums.h
29508 * libgimpproxy/gimpproxytypes.h
29509 * plug-ins/script-fu/script-fu-constants.c
29510 * tools/pdbgen/enums.pl: regenerated.
29512 * libgimptool/gimptoolenums.[ch]: added GimpTransformGridType.
29514 * libgimptool/gimptooltypes.h: removed GimpToolOptionsResetFunc,
29515 added GimpToolOptionsGUIFunc.
29517 Part II (tool options changes):
29519 * app/config/gimpconfig-utils.c (gimp_config_reset_properties):
29520 don't reset object properties because they have NULL as default
29523 * app/widgets/gimppropwidgets.[ch]: added
29524 gimp_prop_[enum|boolean]_radio_frame_new(),
29525 gimp_prop_paint_mode_menu_new() and gimp_prop_scale_entry_new(),
29526 which are all needed by the new tool options GUI code.
29528 * app/tools/tool_options.[ch]: removed the "reset_func" since
29529 the virtual reset() method is used now.
29531 * app/paint/gimpairbrushoptions.[ch]
29532 * app/paint/gimpcloneoptions.[ch]
29533 * app/paint/gimpconvolveoptions.[ch]
29534 * app/paint/gimpdodgeburnoptions.[ch]
29535 * app/paint/gimperaseroptions.[ch]
29536 * app/paint/gimppaintoptions.[ch]
29537 * app/paint/gimpsmudgeoptions.[ch]: added properties all over the
29538 place and removed the widget and default_value members from
29539 the structs. Renamed some values (e.g. s/type/clone_type/).
29540 Don't #include <gtk/gtk.h>.
29542 * app/paint/gimpairbrush.c
29543 * app/paint/gimpclone.c
29544 * app/paint/gimpconvolve.c
29545 * app/paint/gimpdodgeburn.c
29546 * app/paint/gimperaser.c
29547 * app/paint/gimppaintbrush.c
29548 * app/paint/gimppaintcore-stroke.c
29549 * app/paint/gimppaintcore.c
29550 * app/paint/gimppencil.c
29551 * app/paint/gimpsmudge.c
29552 * app/paint/paint-types.h
29553 * app/paint/paint.c: changed accordingly. Don't #include <gtk/gtk.h>.
29555 * tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.
29557 * app/pdb/paint_tools_cmds.c: regenerated.
29559 * app/tools/gimpblendoptions.[ch]
29560 * app/tools/gimpbucketfilloptions.[ch]
29561 * app/tools/gimpcolorpickeroptions.[ch]
29562 * app/tools/gimpcropoptions.[ch]
29563 * app/tools/gimpflipoptions.[ch]
29564 * app/tools/gimpinkoptions.c
29565 * app/tools/gimpmagnifyoptions.[ch]
29566 * app/tools/gimpmeasureoptions.[ch]
29567 * app/tools/gimpmoveoptions.[ch]
29568 * app/tools/gimptextoptions.c
29569 * app/tools/paint_options.[ch]
29570 * app/tools/selection_options.[ch]
29571 * app/tools/transform_options.[ch]: ditto: added properties and
29572 removed widget and default_value stuff. Removed most reset functions.
29573 Use gimp_prop widgets all over the place, renamed some values
29576 * app/tools/Makefile.am
29577 * app/tools/gimpairbrushtool.c
29578 * app/tools/gimpblendtool.c
29579 * app/tools/gimpbucketfilltool.c
29580 * app/tools/gimpbycolorselecttool.c
29581 * app/tools/gimpclonetool.c
29582 * app/tools/gimpconvolvetool.c
29583 * app/tools/gimpcroptool.c
29584 * app/tools/gimpdodgeburntool.c
29585 * app/tools/gimperasertool.c
29586 * app/tools/gimpfliptool.c
29587 * app/tools/gimpfuzzyselecttool.c
29588 * app/tools/gimpmagnifytool.c
29589 * app/tools/gimpmovetool.c
29590 * app/tools/gimpselectiontool.c
29591 * app/tools/gimpsheartool.c
29592 * app/tools/gimpsmudgetool.c
29593 * app/tools/gimptransformtool.c
29594 * app/tools/gimpvectoroptions.c: changed accordingly. Ported
29595 the paint_options GUI constructors to gimp_prop widgets.
29597 * app/widgets/gimpselectioneditor.c
29598 * app/gui/tool-options-dialog.c: changed accordingly.
29600 2003-02-07 Sven Neumann <sven@gimp.org>
29602 * app/text/gimptextlayer.c
29603 * app/text/gimptextlayout.[ch]: render an empty layer for an empty
29606 2003-02-06 Sven Neumann <sven@gimp.org>
29609 * libgimp/gimpunit.c
29610 * libgimpbase/gimpenv.c
29611 * libgimpmodule/gimpmodule.c
29612 * libgimpmodule/gimpmoduledb.c
29613 * libgimpwidgets/gimpchainbutton.c
29614 * libgimpwidgets/gimpdialog.c
29615 * libgimpwidgets/gimpfileselection.c
29616 * libgimpwidgets/gimphelpui.c
29617 * libgimpwidgets/gimpquerybox.c
29618 * libgimpwidgets/gimpsizeentry.c
29619 * libgimpwidgets/gimpunitmenu.c
29620 * libgimpwidgets/gimpwidgets.c: documentation fixes / improvements.
29622 2003-02-06 Sven Neumann <sven@gimp.org>
29624 Switched to DocBook XML for the developers documentation:
29626 * configure.in: check for gtk-doc >= 1.0.
29628 * tools/pdbgen/lib.pl: replace <, > and & in comments with their
29631 * libgimp/gimpdrawable_pdb.c
29632 * libgimp/gimpgimprc_pdb.c
29633 * libgimp/gimppainttools_pdb.c
29634 * libgimp/gimpselection_pdb.c: regenerated.
29636 * libgimpbase/gimpsignal.c: did the same manually here.
29638 2003-02-06 Sven Neumann <sven@gimp.org>
29640 * app/gui/image-menu.c (image_menu_entries): removed /Filters/Text
29641 menu branch now that we don't install any plug-in there and
29642 gimp-freetype is becoming obsolete.
29644 2003-02-05 Sven Neumann <sven@gimp.org>
29646 * plug-ins/common/randomize.c: applied a patch from David Necas
29647 <yeti@physics.muni.cz> that fixes bug #105339.
29649 2003-02-05 Sven Neumann <sven@gimp.org>
29651 * libgimpbase/Makefile.am
29652 * libgimpbase/gimputils.[ch]: added new files that hold the new
29653 gimp_utf8_strtrim() routine; it might be useful in more places.
29655 * libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories):
29656 silently ignore directories in the path that can't be opened.
29658 * app/core/gimpobject.c (gimp_object_set_name_safe): use
29659 gimp_utf8_strtrim().
29661 * app/widgets/gimpwidgets-utils.[ch]
29662 * app/tools/gimptextoptions.c: try to make the text tool options
29663 look more like all other tool options. Still needs work; I'll
29664 leave this up to Mitch ...
29666 This byte --> <-- is the millionth in this file!
29668 2003-02-05 Manish Singh <yosh@gimp.org>
29670 * plug-ins/common/jpeg.c (run): if the quality level is close to zero
29671 in non-interactive mode, use default settings. This is hack until
29672 the PDB gets default arguments, so gimp-file-save works sanely with
29675 2003-02-05 Sven Neumann <sven@gimp.org>
29677 * app/core/gimpobject.c (gimp_object_set_name_safe): replaced with
29678 an UTF-8 safe rewrite.
29680 * app/widgets/gimpwidgets-utils.c (gimp_table_attach_stock): hacked
29681 to allow being used with non-existent stock_ids (for prototyping).
29683 * app/widgets/gimpenummenu.c: set the radio button mode correctly.
29685 * app/widgets/gimpfontselection.c: tweaked spacing.
29687 * app/tools/gimptextoptions.c: added controls for justification and
29688 indentation. Removed letter-spacing control for now.
29690 * app/text/gimptextlayer.[ch]: rerender the text layer from a low
29691 priority idle function.
29693 2003-02-05 Michael Natterer <mitch@gimp.org>
29695 * app/paint/gimpairbrush.c
29696 * app/paint/gimpclone.c
29697 * app/paint/gimpconvolve.c
29698 * app/paint/gimpdodgeburn.c
29699 * app/paint/gimperaser.c
29700 * app/paint/gimppaintbrush.c
29701 * app/paint/gimppencil.c
29702 * app/paint/gimpsmudge.c
29703 * app/tools/gimpblendoptions.c
29704 * app/tools/gimpblendtool.c
29705 * app/tools/gimpbucketfilltool.c
29706 * app/tools/gimpcolorpickertool.c
29707 * app/tools/gimpinktool.c
29708 * app/tools/gimppainttool.c
29709 * app/tools/paint_options.c: use GIMP_CONTEXT(tool_options)
29710 instead of gimp_get_current_context(). Cleanup.
29712 2003-02-05 Michael Natterer <mitch@gimp.org>
29714 * app/display/gimpdisplayshell-dnd.c: should have gone with my
29717 2003-02-05 Sven Neumann <sven@gimp.org>
29719 * app/core/gimpobject.[ch]
29720 * app/text/gimptextlayer.c: improved the code that trims the text
29721 before setting it as layer name and moved it to GimpObject as
29722 gimp_object_set_name_safe().
29724 * app/text/gimptext.[ch]: removed fixed_height and gravity again.
29726 * app/text/gimptextlayout.c: much simpler positioning that has the
29727 advantage that it actually works.
29729 * libgimpproxy/gimpobject.[ch]: this crap was regenerated.
29731 2003-02-05 Michael Natterer <mitch@gimp.org>
29733 Made GimpToolOptions a GimpContext subclass and objectified
29734 all tool options types.
29736 * app/core/core-types.h: replaced GimpToolOptionsNewFunc by
29737 GimpToolOptionsGUIFunc.
29739 * libgimpproxy/gimpproxytypes.h: regenerated.
29741 * app/core/gimppaintinfo.[ch]: added "GType paint_options_type".
29743 * app/core/gimptoolinfo.[ch]: added "GType tool_options_type",
29744 removed tool_info->context since GimpToolOptions are a GimpContext
29745 now. Added "gboolean use_context" as a temp_hack.
29747 * libgimptool/gimptooltypes.h: added the tool_options_type to
29748 the tool registering callback.
29750 * app/tools/tool_options.[ch]: is a real GimpContext subclass now.
29752 * app/paint/paint-types.h
29753 * app/paint/paint.c: added the paint_options_type to the paint
29756 * app/paint/gimppaintoptions.[ch]: is a real GimpToolOptions
29759 * app/paint/Makefile.am
29760 * app/paint/gimpairbrushoptions.[ch]
29761 * app/paint/gimpcloneoptions.[ch]
29762 * app/paint/gimpconvolveoptions.[ch]
29763 * app/paint/gimpdodgeburnoptions.[ch]
29764 * app/paint/gimperaseroptions.[ch]
29765 * app/paint/gimpsmudgeoptions.[ch]: new files holding
29766 GimpPaintOptions subclasses.
29768 * app/paint/gimpairbrush.[ch]
29769 * app/paint/gimpclone.[ch]
29770 * app/paint/gimpconvolve.[ch]
29771 * app/paint/gimpdodgeburn.[ch]
29772 * app/paint/gimperaser.[ch]
29773 * app/paint/gimppaintbrush.c
29774 * app/paint/gimppaintcore.c
29775 * app/paint/gimppencil.[ch]
29776 * app/paint/gimpsmudge.[ch]: removed paint options stuff, lots
29777 of related changed & cleanups.
29779 * tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.
29781 * app/pdb/paint_tools_cmds.c: regenerated.
29783 * app/tools/Makefile.am
29784 * app/tools/gimpblendoptions.[ch]
29785 * app/tools/gimpbucketfilloptions.[ch]
29786 * app/tools/gimpcolorpickeroptions.[ch]
29787 * app/tools/gimpcropoptions.[ch]
29788 * app/tools/gimpflipoptions.[ch]
29789 * app/tools/gimpinkoptions.[ch]
29790 * app/tools/gimpmagnifyoptions.[ch]
29791 * app/tools/gimpmeasureoptions.[ch]
29792 * app/tools/gimpmoveoptions.[ch]
29793 * app/tools/gimptextoptions.[ch]
29794 * app/tools/gimpvectoroptions.[ch]: new files holding the various
29795 tool options classes.
29797 * app/tools/selection_options.[ch]
29798 * app/tools/transform_options.[ch]: made them objects.
29800 * app/tools/paint_options.[ch]: contains only the paint_options
29801 GUI and reset stuff.
29803 * app/tools/tools-types.h: removed SelectionOptions typedef for
29806 * app/tools/[all tools]: removed the tool options stuff except
29807 some GUI constructors. Tons of related changes.
29809 * app/tools/tool_manager.[ch]: changed tool registration / restore /
29810 switching accordingly.
29812 * app/widgets/gimpdrawablelistview.c
29813 * app/widgets/gimpselectioneditor.c: changed accordingly.
29815 2003-02-05 Sven Neumann <sven@gimp.org>
29817 * app/text/gimptext.c: added some blurbs that will show up as
29818 tooltips in the text tool options. Tweaked default values.
29820 * app/text/gimptextlayout.c (gimp_text_layout_position): if
29821 gravity is none (the default), position the layout according to its
29824 * app/widgets/gimpenummenu.[ch]: added new functions that create a
29825 hbox of radio buttons with icons from an enum type.
29827 * app/widgets/gimppropwidgets.[ch]: added a property widget
29828 constructor for the new enum_stock_box.
29830 2003-02-05 Sven Neumann <sven@gimp.org>
29832 * app/text/text-enums.[ch]
29833 * app/text/gimptext.[ch]: replaced GimpTextAlignment with
29834 GimpTextJustification. Added indentation property.
29836 * app/text/gimptextlayout.c: implemented text justification,
29837 indentation and line spacing as far as supported by Pango.
29839 2003-02-05 Sven Neumann <sven@gimp.org>
29841 * app/text/gimptextlayer.c
29842 * app/tools/gimptexttool.c: fixed includes.
29844 2003-02-05 Sven Neumann <sven@gimp.org>
29846 * app/paint/Makefile.am: fixed rules for generated sources.
29848 * app/text/Makefile.am
29849 * app/text/text-enums.[ch]: added new files with text-related enums.
29851 * app/text/gimptext.[ch]: added text alignment property.
29853 * app/text/gimptext-render.[ch]: removed
29855 * app/text/text-types.h
29856 * app/text/gimptextlayout.[ch]: added new files that define
29857 GimpTextLayout, a wrapper around PangoLayout. Moved render code to
29860 * app/text/gimptextlayer.c: changed accordingly.
29862 2003-02-04 Maurits Rijk <lpeek.mrijk@consunet.nl>
29864 * plug-ins/common/max_rgb.c: fixed bug with previewing images
29865 with alpha channel.
29867 2003-02-04 Sven Neumann <sven@gimp.org>
29869 * app/widgets/gimpitemfactory.c (gimp_item_factory_item_key_press):
29870 made the ugly hack that prevents users from reassigning the F1
29871 shortcut even more ugly but fixed bug #105068.
29873 2003-02-04 Sven Neumann <sven@gimp.org>
29875 * plug-ins/gimpressionist/gimpressionist.h
29876 * plug-ins/gimpressionist/*.c
29877 * plug-ins/imagemap/imap_rectangle.c: fixed includes to make it
29880 2003-02-04 Maurits Rijk <lpeek.mrijk@consunet.nl>
29882 * plug-ins/common/polar.c (dialog_update_preview): use
29883 gimp_get_bg_guchar routine.
29885 * libgimp/gimpmiscui.[ch]: extracted a few reusable routines from
29886 plasma.c and put them in here.
29888 * plug-ins/common/plasma.c: fix for #105062 plus the usual code
29891 2003-02-04 Sven Neumann <sven@gimp.org>
29893 * app/widgets/gimpfontselection-dialog.c: use gtk_window_present()
29894 to raise the dialog; some code cleanup.
29896 2003-02-04 Sven Neumann <sven@gimp.org>
29898 * app/display/gimpdisplayshell-selection.[ch]
29899 * app/tools/gimpblendtool.c
29900 * app/tools/gimpcolorpickertool.c
29901 * app/tools/gimplevelstool.c
29902 * app/tools/gimpthresholdtool.c
29903 * app/tools/gimptransformtool.c: misc trivial changes and cleanup.
29905 * app/widgets/gimppropwidgets.[ch]: added gimp_prop_unit_menu_new()
29906 and removed the scale widget again.
29908 * app/tools/gimptexttool.c: replaced the size scale entry with a
29909 spinbutton and made the unit menu working.
29911 * app/text/gimptext.c: increased the upper boundary for the font
29912 size again now that we don't use a scale any longer.
29914 2003-02-03 Sven Neumann <sven@gimp.org>
29916 * app/widgets/gimpfontselection-dialog.c: changed the text used in
29919 * app/widgets/gimpfontselection.[ch]: removed the yes/no image
29920 that used to signal a valid font but stopped working a long time
29923 * app/widgets/gimppropwidgets.c: added a property widget for fonts.
29925 * app/tools/gimptexttool.c: use the new prop_widget.
29927 2003-02-03 Michael Natterer <mitch@gimp.org>
29929 * app/display/gimpdisplayshell-callbacks.c: fixed the "TAB toggles
29932 (gimp_display_shell_get_event_coords,device_coords): CLAMP() all
29933 extended axes to be safe against crappy XInput drivers and provide
29934 default values for not existing axes.
29936 2003-02-03 Michael Natterer <mitch@gimp.org>
29938 * app/config/gimpscanner.c (gimp_scanner_parse_int): handle
29941 (gimp_scanner_parse_string[no_validate]): return NULL for empty
29942 strings (don't simply leave the return location untouched).
29944 2003-02-03 Sven Neumann <sven@gimp.org>
29946 * app/config/gimpconfig-deserialize.c
29947 (gimp_config_deserialize_fundamental): handle negative integers.
29949 * app/core/gimp.c (gimp_edit_config_notify): commented out
29952 2003-02-03 Sven Neumann <sven@gimp.org>
29954 * plug-ins/ifscompose/ifscompose.c: applied another patch from
29955 David Necas <yeti@physics.muni.cz> that fixes #82470. Added some
29956 stock icons and mnemonics.
29958 2003-02-03 Michael Natterer <mitch@gimp.org>
29960 * app/undo.c: unified some comments, some cleanup.
29962 * app/pdb/procedural_db.c: some cleanup & comments to clarify
29963 what GIMP_PDB_PASS_THROUGH does.
29965 2003-02-03 Michael Natterer <mitch@gimp.org>
29967 * app/display/Makefile.am: removed the "truly ugly hack"...
29969 * app/Makefile.am: ...and changed the linking order instead.
29971 * app/base/Makefile.am
29972 * app/core/Makefile.am
29973 * app/paint/Makefile.am
29974 * app/widgets/Makefile.am: fixed typo.
29976 2003-02-03 Michael Natterer <mitch@gimp.org>
29978 * app/core/gimp.[ch]: removed gimp_main_loop() and
29979 gimp_main_loop_quit() because they were a temp_hack until plug-ins
29980 have their own main loops. Added gimp_threads_enter() and
29981 gimp_threads_leave() instead.
29983 * app/gui/gui.c: ditto: removed the main loop stuff and added
29984 functions which call GDK_THREADS_ENTER() and GDK_THREADS_LEAVE()
29987 * app/app_procs.c: create the main GMainLoop here and use
29988 gimp_threads_enter,leave().
29990 * app/plug-in/plug-in.[ch]: added a ref_count per plug-in so the
29991 plug-in is not destroyed under our feet while running a recursive
29992 main loop. Added plug_in_ref(). Changed plug_in_destroy() to
29993 plug_in_unref(). Don't destroy the plug-in if plug_in_open()
29994 fails. Call gimp_threads_enter,leave() around g_main_loop_run().
29995 Changed the way plug_in_push,pop() are used: "current_plug_in" is
29996 no longer the plug-in which currently uses the wire, but the
29997 plug-in which currently preforms a PDB call (the former meaning
29998 was needed when wire callbacks had no plug-in context but needed
29999 to get the plug-in from the global "current_plug_in" variable).
30000 Removed all calls to plug_in_push,pop() from this file.
30002 * app/plug-in/plug-in-message.c (plug_in_handle_proc_run): added
30003 plug_in_push,pop() around procedural_db_execute(). No need
30004 to construct an error return value if the procedure was not found
30005 because procedural_db_execute() already does this.
30007 Removed all other plug_in_push,pop(). Added more checks to plug-in
30008 message handlers and kill the plug-in if it misbehaves. Cleanup.
30010 * app/plug-in/plug-in-progress.c (plug_in_progress_cancel): if the
30011 plug-in runs synchronously, provide a GIMP_PDB_CANCEL return value
30012 so we don't see error messages about the "failed" procedure.
30014 * app/plug-in/plug-in-run.c: removed plug_in_push,pop() stuff.
30015 Set the new plug_in->starting_ext boolean while starting an
30016 extension so the extension_ack handler knows that it wasn't called
30017 from a buggy plug-in. Cleanup.
30019 * app/plug-in/plug-ins.c: Cleanup.
30021 2003-02-03 Sven Neumann <sven@gimp.org>
30023 Some code cleanup while trying to fix bug #105062:
30025 * libgimp/gimpmisc.[ch]: moved the declaration of the
30026 GimpPixelFetcher struct to the .c file since noone should ever
30027 access it directly.
30029 * libgimp/gimpmiscui.c: cosmetics.
30031 * plug-ins/common/plasma.c: code cleanup, doesn't fix #105062.
30033 2003-02-02 Sven Neumann <sven@gimp.org>
30035 * plug-ins/ifscompose/ifscompose.c: fixed some issues (mainly
30036 coding style) with the new load and save routines.
30038 2003-02-02 Sven Neumann <sven@gimp.org>
30040 * plug-ins/ifscompose/ifscompose.c: applied a large patch from
30041 David Necas <yeti@physics.muni.cz> that fixes a couple of bugs and
30042 adds some additional features. Fixes bugs #82466, #82472 and
30043 #82473 and addresses bug #82470.
30045 2003-02-02 Sven Neumann <sven@gimp.org>
30047 * libgimpwidgets/gimpcolorbutton.c (gimp_color_button_clicked):
30048 fixed usage of gtk_color_selection_set_has_opacity_control().
30050 2003-02-01 Maurits Rijk <lpeek.mrijk@consunet.nl>
30052 * libgimp/gimpmiscui.[ch]: factored out more preview stuff from
30055 * plug-ins/common/waves.c
30056 * plug-ins/common/sharpen.c
30057 * plug-ins/common/AlienMap.c
30058 * plug-ins/common/AlienMap2.c
30059 * plug-ins/common/noisify.c: more code clean-up
30061 2003-02-01 Sven Neumann <sven@gimp.org>
30063 * app/config/gimpconfig.[ch]
30064 * app/config/gimpconfig-utils.[ch]: added a reset method to
30065 GimpConfigInterface. Added the new function gimp_config_reset()
30067 * app/text/gimptext.c: added a GimpConfigInterface to GimpText.
30069 * app/widgets/Makefile.am
30070 * app/widgets/gimptexteditor.[ch]: new files that hold the simple
30071 text editor dialog used by the text tool.
30073 * app/widgets/gimppropwidgets.[ch]: added new widget constructor
30074 gimp_prop_scale_entry_new().
30076 * app/tools/gimptexttool.[ch]: replaced old-style ToolOptions with
30077 a GimpText object. Connect text layers to the text tool by means
30078 of their GimpText objects. Still work in progress ...
30080 2003-02-01 Sven Neumann <sven@gimp.org>
30082 * app/text/gimptextlayer.c (gimp_text_layer_position_layout):
30083 handle GIMP_GRAVITY_NONE.
30085 2003-02-01 Michael Natterer <mitch@gimp.org>
30087 * libgimpmodule/gimpmodule.c: fixed a comment.
30089 2003-01-31 Manish Singh <yosh@gimp.org>
30091 * app/text/gimptextlayer.c: #include <string.h>
30093 2003-01-31 Sven Neumann <sven@gimp.org>
30095 * app/core/core-enums.[ch]: added GIMP_GRAVITY_NONE.
30097 2003-01-31 Sven Neumann <sven@gimp.org>
30099 * app/text/gimptextlayer.c: don't use gimp_drawable_configure() to
30100 resize the text layer, it should only ever be called once. Take
30101 the logical rectangle into account when calculating the layer size
30104 * app/tools/gimptexttool.[ch]: added basic text editing
30105 functionality. Needs more work ...
30107 * themes/Default/images/Makefile.am
30108 * themes/Default/images/stock-gravity-east-24.png
30109 * themes/Default/images/stock-gravity-north-24.png
30110 * themes/Default/images/stock-gravity-north-east-24.png
30111 * themes/Default/images/stock-gravity-north-west-24.png
30112 * themes/Default/images/stock-gravity-south-24.png
30113 * themes/Default/images/stock-gravity-south-east-24.png
30114 * themes/Default/images/stock-gravity-south-west-24.png
30116 * themes/Default/images/stock-gravity-west-24.png: added new icons
30117 for yet-to-written GimpGravityChooser(?) widget. Artwork
30118 shamelessly taken from Jimmac's XFree cursors.
30120 * libgimpwidgets/gimpstock.[ch]: added stock items for the new icons.
30122 2003-01-31 Michael Natterer <mitch@gimp.org>
30124 * app/core/gimpitem.[ch]: added gimp_item_configure() and
30127 * app/core/gimpdrawable.c (gimp_drawable_configure,copy): use them.
30129 * app/vectors/gimpvectors.[ch]: added gimp_vectors_new(),
30130 gimp_vectors_copy() and gimp_vectors_copy_points(). Use the new
30131 GimpItem functions just as GimpDrawable does. Added a
30132 get_memsize() implementation.
30134 * app/vectors/gimpstroke.[ch]: made it a GimpObject and added
30135 a get_memsize() implementation.
30137 * app/undo.c: implemented vectors undo as if the new GimpVectors
30138 functions above worked.
30140 * app/gui/dialogs-constructors.c
30141 * app/gui/vectors-commands.c
30142 * app/tools/gimpvectortool.c: use gimp_vectors_new,copy().
30144 2003-01-31 Sven Neumann <sven@gimp.org>
30146 * app/core/gimpdrawable.[ch]: added offset_x and offset_y to
30147 gimp_drawable_configure().
30149 * app/core/gimpchannel.c
30150 * app/core/gimplayer.c
30151 * app/core/gimplayermask.c: changed accordingly.
30153 * app/text/gimptextlayer.[ch]: update the layer when the associated
30154 GimpText object changes.
30156 2003-01-31 Sven Neumann <sven@gimp.org>
30158 * app/widgets/gimpfontselection.c: allow NULL as context parameter
30159 in gimp_font_selection_new(). The widget then uses a default
30162 * app/tools/gimptexttool.c (text_tool_options_new): call
30163 gimp_font_selection_new() with a NULL context. The text tool now
30164 doesn't know about Pango any longer.
30166 * app/paint/Makefile.am
30167 * app/tools/Makefile.am (INCLUDES): removed PANGOFT2_CFLAGS.
30169 2003-01-31 Sven Neumann <sven@gimp.org>
30171 * app/core/core-enums.[ch]: added new enum GimpGravityType.
30173 * app/text/gimptext.[ch]
30174 * app/text/gimptextlayer.[ch]: added support for specifying a
30175 fixed layer size and how to position the text inside the layer.
30177 * app/text/gimptext-compat.c
30178 * app/tools/gimptexttool.c: changed accordingly.
30180 2003-01-31 Michael Natterer <mitch@gimp.org>
30182 * app/gui/file-dialog-utils.[ch] (file_dialog_update_menus): removed.
30184 * app/gui/file-save-menu.[ch] (file_save_menu_update): added here.
30186 * app/gui/menus.c: register it as non-automatic update_func.
30188 * app/gui/file-save-dialog.c: changed accordingly.
30190 2003-01-31 Sven Neumann <sven@gimp.org>
30192 * app/config/gimpconfig-params.h
30194 * app/config/gimpcoreconfig.c: added a pixels parameter to the
30195 GIMP_CONFIG_INSTALL_PROP_UNIT() macro.
30197 * app/core/Makefile.am
30198 * app/core/gimpimage-text.[ch]: removed these two files.
30200 * app/text/Makefile.am
30201 * app/text/gimptext-compat.[ch]: new files with compatibility
30202 routines that provide the old text API (solely for PDB calls).
30204 * app/text/gimptext-render.[ch]: new files with text rendering
30205 routines (not much yet).
30207 * app/text/text-types.h
30208 * app/text/gimptextlayer.[ch]: new object derived from GimpLayer.
30210 * app/text/gimptext.[ch]: prepared for future improvements.
30212 * app/pdb/text_tool_cmds.c
30213 * app/tools/gimptexttool.c
30214 * tools/pdbgen/pdb/text_tool.pdb: changed accordingly.
30216 2003-01-30 Manish Singh <yosh@gimp.org>
30218 * app/undo_history.c
30219 * libgimp/gimpmenu.c
30220 * plug-ins/Lighting/lighting_preview.c
30221 * plug-ins/common/animationplay.c
30222 * plug-ins/common/jpeg.c
30223 * plug-ins/common/screenshot.c
30224 * plug-ins/gap/gap_navigator_dialog.c
30225 * plug-ins/gflare/gflare.c
30226 * plug-ins/ifscompose/ifscompose.c
30227 * plug-ins/imagemap/imap_main.c
30228 * plug-ins/imagemap/imap_polygon.c: changed gtk_{timeout,idle} stuff
30229 to their glib equivalents. Minor cleanups also with support code.
30231 * plug-ins/dbbrowser/dbbrowser_utils.c (gimp_db_browser): use
30232 gtk_entry_set_activates_default()
30234 2003-01-30 Seth Burgess <sjburges@gimp.org>
30236 * plug-ins/common/laplace.c: fixed off-by-1 error that caused
30237 gimp_pixel_rgn_get_row() critical warnings (but managed to work).
30239 2003-01-30 Pablo Saratxaga <pablo@mandrakesoft.com>
30241 * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
30243 2003-01-30 Maurits Rijk <lpeek.mrijk@consunet.nl>
30245 * plug-ins/common/ps.c (save_dialog): corrected small error with
30248 2003-01-30 Maurits Rijk <lpeek.mrijk@consunet.nl>
30250 * plug-ins/common/c_astretch.c
30251 * plug-ins/common/edge.c
30252 * plug-ins/common/cubism.c: code clean-up, plugged a few memory leaks
30254 2003-01-30 Sven Neumann <sven@gimp.org>
30256 * libgimp/gimpcompat.h: removed GIMP_ENABLE_COMPAT_CRUFT guards.
30257 The file needs to be included explicitely anyway.
30259 2003-01-30 Michael Natterer <mitch@gimp.org>
30261 * app/plug-in/plug-in.[ch]: renamed plug_in->busy to
30262 plug_in->in_temp_proc. Added a stack of GMainLoops to each
30263 plug-in. Added the "current_return_vals" to the PlugIn
30264 struct. Renamed plug_in_kill() to plug_in_exit(). Removed
30265 the stuff added below. Cleanup.
30267 * app/plug-in/Makefile.am
30268 * app/plug-in/plug-in-message.[ch]
30269 * app/plug-in/plug-in-run.[ch]
30270 * app/plug-in/plug-in-shm.[ch]: new files taking out functionality
30271 from the overloaded plug-in.c. Added the code back in that implements
30272 temp proc return messages (inside an #ifdef) because i don't
30273 really get why it was removed on Sep 19 1998.
30275 * app/plug-in/plug-ins.c: changed accordingly.
30277 * app/plug-in/plug-in-def.c
30278 * app/plug-in/plug-in-params.c: removed inclusion of <gtk/gtk.h>.
30280 * app/gui/file-save-dialog.c
30281 * app/gui/paths-dialog.c
30282 * app/gui/plug-in-commands.c
30283 * app/gui/plug-in-menus.c
30284 * app/pdb/procedural_db.c
30285 * app/widgets/gimphelp.c: changed plug-in includes accordingly.
30287 * app/gui/plug-in-commands.c: don't use "the_gimp" from
30288 "app_procs.h" but get it from the GimpItemFactory that invoked the
30291 2003-01-30 Nathan Summers <rock@gimp.org>
30293 * app/tools/gimptoolgui.[ch]: GimpToolGui, a new class descended
30294 from GimpObject to be used to separate GUI from logic. Heavily
30295 inspired by GimpDrawTool. Not actually used by anything yet.
30297 2003-01-29 Manish Singh <yosh@gimp.org>
30299 * plug-ins/common/jpeg.c (load_image): don't divide by zero if
30300 we get all zero resolution info when we load the jpeg.
30302 2003-01-29 Sven Neumann <sven@gimp.org>
30306 * app/text/Makefile.am: added new directory text.
30308 * app/text/text-types.h
30309 * app/text/gimptext.[ch]: moved GimpText object here.
30311 * app/core/Makefile.am
30312 * app/core/core-types.h
30313 * app/core/gimpimage-text.c
30314 * app/tools/gimptexttool.c: changed accordingly.
30316 2003-01-29 Michael Natterer <mitch@gimp.org>
30320 * app/core/gimpchannel.c (gimp_channel_scale,resize)
30321 * app/core/gimplayer.c (gimp_layer_scale,resize)
30322 * app/undo.c (undo_pop_layer_mod,channel_mod): emit "size_changed"
30323 whenever the size has changed. Cleaned up the two undo_pop
30326 * app/core/gimpimage.c (gimp_image_size_changed): emit
30327 "size_changed" on all layers/channels so their previews are
30328 updated correctly on image resize and image resize undo. Don't
30329 invalidate layers/channels previews here because it's the
30330 layers'/channels' job to invalidate themselves if needed.
30332 2003-01-29 Sven Neumann <sven@gimp.org>
30334 * app/widgets/gimppropwidgets.[ch]: removed unused function
30335 gimp_prop_enum_option_menu_new_with_values() which caused problems
30336 on some platforms (fixes bug #102514).
30338 * app/gui/preferences_dialog.c: removed some unused code.
30340 2003-01-29 Michael Natterer <mitch@gimp.org>
30342 * app/gui/module-browser.c: pack the button box non-expanding,
30343 removed cruft from the ModuleBrowser struct.
30345 2003-01-28 Maurits Rijk <lpeek.mrijk@consunet.nl>
30347 * plug-ins/common/color_enhance.c:
30348 * plug-ins/common/gradmap.c: minor code clean-up
30350 2003-01-28 Tor Lillqvist <tml@iki.fi>
30352 * libgimp/gimpui.def: Add missing entry points.
30354 * plug-ins/common/plugin-defs.pl: Mark bz2, mail, screenshot and
30355 url as optional (not built on Win32). Ditto for winclipboard and
30356 winprint (Win32 only).
30358 * plug-ins/common/mkgen.pl: Use -mwindows on Win32.
30360 * plug-ins/common/Makefile.am
30361 * plug-ins/common/.cvsignore: Regenerated.
30363 * configure.in: Correspondingly conditionally define BZ2, MAIL,
30364 SCREENSHOT, URL, WINCLIPBOARD and WINPRINT, and AC_SUBST them.
30365 Set XJT to empty always on Win32 (uses tar, mv and bzip2, which
30366 aren't usually available).
30368 2003-01-27 Maurits Rijk <lpeek.mrijk@consunet.nl>
30370 * plug-ins/common/sample_colorize.c: code clean-up, added a few more
30371 mnemonics to dialogs.
30373 * plug-ins/gfig/gfig.c
30374 * plug-ins/gflare/gflare.c
30375 * plug-ins/FractalExplorer/FractalExplorer.c: use new
30376 gimp_plug_in_parse_path routine.
30378 * libgimp/gimpmiscui.[ch] (gimp_plug_in_parse_path): new routine used
30379 in several plug-ins.
30381 2003-01-27 Sven Neumann <sven@gimp.org>
30383 * app/gui/preferences-dialog.c: commented out debugging output.
30385 2003-01-27 Sven Neumann <sven@gimp.org>
30388 * plug-ins/common/Makefile.am
30389 * plug-ins/common/plugin-defs.pl
30390 * plug-ins/common/mpeg.c: removed the MPEG plug-in. It has been
30391 broken, unmaintained and caused nothing but trouble (#51400,
30394 2003-01-26 Tor Lillqvist <tml@iki.fi>
30396 * libgimptool/gimptool.def
30397 * libgimpwidgets/gimpwidgets.def: Add some missing entry points.
30399 2003-01-26 Sven Neumann <sven@gimp.org>
30401 * app/core/gimpbrushpipe.c
30402 * app/gui/about-dialog.c: plugged some obvious memleaks related to
30405 2003-01-26 Michael Natterer <mitch@gimp.org>
30407 * app/plug-in/plug-ins.c
30408 * libgimp/libgimp-intl.h
30409 * libgimpwidgets/gimpstock.c
30410 * plug-ins/perl/Gimp.xs
30411 * plug-ins/script-fu/script-fu.c
30412 * plug-ins/script-fu/script-fu-intl.h: replaced all remaining
30413 "gimp14" by GETTEXT_PACKAGE.
30415 2003-01-26 Sven Neumann <sven@gimp.org>
30417 * plug-ins/common/png.c: added a tooltip describing the
30418 compression level scale as suggested in #68485.
30420 2003-01-26 Sven Neumann <sven@gimp.org>
30422 * app/config/gimprc-blurbs.h: removed the description of the image
30423 title format string from the blurb ...
30425 * app/config/gimpconfig-dump.c: ... and added it here. Slightly
30426 improved manpage formatting.
30428 * app/config/gimpconfig-deserialize.c: fixed a typo.
30430 * docs/gimprc-1.3.5.in
30431 * etc/gimprc: regenerated.
30433 2003-01-25 Sven Neumann <sven@gimp.org>
30435 * app/widgets/gimppropwidgets.c: add a tooltip if a param_spec has
30436 a non-NULL blurb. Addresses bug #68485.
30438 * app/config/gimpbaseconfig.c
30439 * app/config/gimpcoreconfig.c
30440 * app/config/gimpdisplayconfig.c
30441 * app/config/gimpguiconfig.c
30442 * app/config/gimprc-blurbs.h: marked some blurbs as translatable.
30445 * app/config/Makefile.am: added dist-hooks so the system gimprc
30446 and gimprc manpage get generated when doing a release.
30448 * libgimpwidgets/gimpmemsizeentry.[ch]: added the spinbutton to
30449 the GimpMemsizeEntry struct so we can access it in order to add
30452 2003-01-25 Sven Neumann <sven@gimp.org>
30454 * app/widgets/widgets-enums.h: added a new enum to specify how to
30455 display histograms.
30457 * app/widgets/widgets-enums.c: regenerated.
30459 * app/widgets/gimphistogramview.[ch]: added a scale property and
30460 made channel a property. Added support for linear histograms based
30461 on a patch from Akkana (see bug #72951).
30463 * app/widgets/gimphistogrambox.c: redraw the gradient when the
30464 histogram view notifies it that the displayed channel has changed.
30466 * app/tools/gimphistogramtool.c: added a menu to configure the
30469 2003-01-24 Michael Natterer <mitch@gimp.org>
30471 * app/core/gimpdocumentlist.[ch]
30472 * app/core/gimpimagefile.[ch]: added "Gimp" pointers so we don't
30473 need to use "the_gimp" from "app_procs.h".
30475 * app/core/core-types.h
30477 * app/gui/file-open-dialog.c
30478 * tools/pdbgen/pdb/fileops.pdb: changed accordingly.
30480 * app/pdb/fileops_cmds.c: regenerated.
30482 2003-01-23 Sven Neumann <sven@gimp.org>
30484 * modules/cdisplay_colorblind.c: use bpl (line pitch) when
30485 iterating over the buffer. Added a simple color cache that speeds
30486 up the filter for images that only use a few colors.
30488 2003-01-23 Sven Neumann <sven@gimp.org>
30490 * modules/cdisplay_colorblind.c: moved some intialisation code out
30491 of the convert method. Added NONE as possible choice of deficiency
30492 so you can switch the filter on and off more easily.
30494 2003-01-23 Sven Neumann <sven@gimp.org>
30496 * docs/gimp-1.3.1.in
30497 * docs/gimp-remote-1.3.1.in
30498 * docs/gimptool-1.3.1.in: applied a patch from Carol that unifies
30499 the spelling of GIMP in the man-pages.
30501 2003-01-23 Michael Natterer <mitch@gimp.org>
30503 * modules/cdisplay_colorblind.c: Bob Dougherty <bobd@stanford.edu>
30504 and Alex Wade <wade@ski.org> added the code needed to make this
30505 filter actually do something useful. Thanks for this contribution.
30506 Addresses bug #101256.
30508 2003-01-23 Sven Neumann <sven@gimp.org>
30510 * app/config/gimpcoreconfig.c
30511 * app/config/gimpguiconfig.c: added default values for brush,
30512 pattern, palette, gradient and theme.
30514 * app/config/gimpconfig-dump.c: set a value for module-load-inhibit
30515 so it gets documented as well.
30517 * docs/gimprc-1.3.5.in
30518 * etc/gimprc: regenerated using gimpconfig-dump.
30520 2003-01-22 Sven Neumann <sven@gimp.org>
30522 * app/config/gimpconfig-dump.c
30523 * app/config/gimprc-blurbs.h: applied a patch from Carol that adds
30524 missing help blurbs and fixes spelling.
30526 * docs/gimprc-1.3.5.in
30527 * etc/gimprc: regenerated using gimpconfig-dump.
30529 2003-01-22 Michael Natterer <mitch@gimp.org>
30531 * app/widgets/gimphelp.c (gimp_help_internal): "no display ID"
30534 2003-01-20 Sven Neumann <sven@gimp.org>
30536 * plug-ins/common/AlienMap2.c: applied patch from Martin Weber
30537 that removes an outdated link (#103976).
30539 2003-01-20 Sven Neumann <sven@gimp.org>
30541 * app/gui/info-dialog.c (info_dialog_add_label): made labels in
30542 the info dialog selectable as suggested in #103991.
30544 2003-01-20 Michael Natterer <mitch@gimp.org>
30546 * app/plug-in/plug-in-progress.[ch]: renamed plug_in_progress_init()
30547 to plug_in_progress_start() so it matches plug_in_progress_end().
30548 Added g_return_if_fail() to all functions.
30550 * app/plug-in/plug-in.[ch]: plug_in_new(): require the passed
30551 path to be absolute. Removed plug_in_search_in_path(). Replaced
30552 some if(plug_in){...} by g_return_if_fail(plug_in!=NULL). Cleanup.
30554 * app/plug-in/plug-ins.c: plug_ins_def_add_from_rc(): refuse to
30555 add plug_in_defs with non-absolute paths (should never happen).
30556 Misc cleanup all over the place like s/GSList *tmp/GSList *list/.
30558 * app/plug-in/plug-in-params.c: cleanup.
30560 * tools/pdbgen/pdb/plug_in.pdb: changed accordingly.
30562 * app/pdb/plug_in_cmds.c: regenerated.
30564 * app/gui/brush-select.c
30565 * app/gui/gradient-select.c
30566 * app/gui/palette-select.c
30567 * app/gui/pattern-select.c: some code review & cleanup.
30569 2003-01-19 Tor Lillqvist <tml@iki.fi>
30571 * libgimp/gimp.def: Add gimp_show_tool_tips.
30573 2003-01-19 Maurits Rijk <lpeek.mrijk@consunet.nl>
30575 * plug-ins/common/screenshot.c
30576 * plug-ins/common/ps.c
30577 * plug-ins/common/vpropagate.c
30578 * plug-ins/common/xbm.c
30579 * plug-ins/common/engrave.c
30580 * plug-ins/common/gtm.c
30581 * plug-ins/common/csource.c: added mnemonics to dialogs.
30583 2003-01-19 Sven Neumann <sven@gimp.org>
30585 * app/main.c: just a minor string change.
30587 * modules/Makefile.am: minor cleanup
30589 * plug-ins/libgck/gck/gck.h
30590 * plug-ins/libgck/gck/gckcolor.c: removed unused functions.
30592 2003-01-18 Maurits Rijk <lpeek.mrijk@consunet.nl>
30594 * plug-ins/common/CML_explorer.c (CML_next_value): g_rand_new is a
30595 terribly expensive function, not something you want to execute
30596 several million times! Fixes #103025
30598 2003-01-17 Michael Natterer <mitch@gimp.org>
30600 One more Plug-In cleanup, it's still a mess...
30602 * app/plug-in/plug-in-def.[ch]: renamed "gboolean query" field
30603 to "needs_query". Added setters for all values. Added
30604 g_return_if_fail() stuff to all functions.
30606 * app/plug-in/plug-in-proc.[ch]: added plug_in_proc_def_new().
30607 Removed the "gboolean data_only" parameter from
30608 plug_in_proc_def_destroy() and renamed it to
30609 plug_in_proc_def_free(). Added plug_in_proc_def_get_progname()
30610 which handles GIMP_TEMPORARY procedures correctly.
30612 * app/plug-in/plug-in-rc.c: use the new stuff above.
30614 * app/plug-in/plug-in.[ch]: renamed field "user_data" to
30615 "plug_in_def" and added a comment that it is valid only during
30616 query() and init(). Use the new APIs above. Pass meaningful
30617 locale_domains and help_paths when adding temporary procedures
30618 (fixes Scrip-Fu menu translation the right way (TM)). Cleanup.
30620 * app/plug-in/plug-ins.[ch]: renamed plug_ins_def_add() to
30621 plug_ins_def_add_from_rc(). Renamed plug_ins_proc_def_[add|remove]()
30622 to plug_ins_temp_proc_def_[add|remove](). Added "Gimp" parameters
30623 to plug_ins_help_path() and plug_ins_locale_domain(). Removed
30624 unused pre-1.2 cruft "gimprc_prof_defs" and plug_ins_image_types().
30625 Reverse gimp->load_procs and gimp->save_procs after all procedures
30626 are registered. Removed Script-Fu translation hack. Reordered stuff.
30628 * app/gui/plug-in-menus.[ch]: changed accordingly. Named all
30629 public functions plug_in_menus_*(). Fixed Script-Fu menu translation
30630 by using plug_in_proc_def_get_progname(). Cleanup.
30632 * app/gui/file-open-menu.c
30633 * app/gui/file-save-menu.c: don't g_slist_reverse() gimp->load_procs
30634 and gimp->save_procs here.
30636 * app/gui/toolbox-menu.c
30637 * app/gui/image-menu.c
30638 * tools/pdbgen/pdb/help.pdb
30639 * tools/pdbgen/pdb/plug_in.pdb: changed accordingly.
30641 * app/pdb/help_cmds.c
30642 * app/pdb/plug_in_cmds.c: regenerated.
30646 * app/gui/image-menu.c
30647 * app/widgets/gimpitemfactory.c: s/"tearoff1"/"tearoff"/g. I don't
30648 get why the "1" was there. Minor cleanup.
30650 2003-01-17 Maurits Rijk <lpeek.mrijk@consunet.nl>
30652 * plug-ins/common/sinus.c: fixes #81966 plus some code clean-up.
30654 2003-01-17 Sven Neumann <sven@gimp.org>
30656 * app/tools/gimplevelstool.c
30657 * app/tools/gimpthresholdtool.c: moved the creation of the
30658 histogram object to the initialize method because we can't access
30659 tool_info->gimp in tool_init().
30661 2003-01-15 Sven Neumann <sven@gimp.org>
30665 * app/base/gimphistogram.[ch]: cleaned up multi-processor code,
30666 added a GimpBaseConfig parameter to gimp_histogram_new().
30668 * app/core/gimpdrawable-equalize.c
30669 * app/pdb/color_cmds.c
30670 * app/tools/gimphistogramtool.c
30671 * app/tools/gimplevelstool.c
30672 * app/tools/gimpthresholdtool.c
30673 * tools/pdbgen/pdb/color.pdb: changed accordingly.
30675 * app/base/pixel-processor.c: some cleanup to the multi-processor
30676 code; use the global base_config variable :(
30678 2003-01-14 Manish Singh <yosh@gimp.org>
30680 * app/core/gimpchannel.h
30681 * app/core/gimpitem.c
30682 * app/display/gimpnavigationview.c
30683 * app/gui/paths-dialog.c
30684 * app/tools/gimphistogramtool.c
30685 * app/tools/gimpscaletool.c
30686 * app/widgets/gimplistitem.c
30687 * libgimp/gimppixelrgn.c
30688 * libgimpwidgets/gimpunitmenu.c
30689 * plug-ins/FractalExplorer/Dialogs.c
30690 * plug-ins/common/aa.c
30691 * plug-ins/common/despeckle.c
30692 * plug-ins/common/psd.c
30693 * plug-ins/common/sharpen.c
30694 * plug-ins/common/snoise.c
30695 * plug-ins/common/spread.c
30696 * plug-ins/ifscompose/ifscompose.c
30697 * plug-ins/xjt/xjt.c: some minor code cleanup
30699 * plug-ins/common/csource.c: 64-bit cleanliness
30701 2003-01-14 Manish Singh <yosh@gimp.org>
30703 * configure.in: Oops, the configure.in change below didn't actually
30704 work. Refactored so it does.
30706 2003-01-14 Michael Natterer <mitch@gimp.org>
30708 * app/widgets/gimptoolbox.c (gimp_toolbox_set_geometry): added
30709 GDK_HINT_USER_POS again since it's set by gtk_window_parse_geometry()
30710 in gimpdialogfactory.c and we don't want to reset it.
30712 2003-01-14 Michael Natterer <mitch@gimp.org>
30714 * app/tools/gimpbezierselecttool.c
30715 * app/tools/gimpbycolorselecttool.c
30716 * app/tools/gimpellipseselecttool.c
30717 * app/tools/gimpfreeselecttool.c
30718 * app/tools/gimpfuzzyselecttool.c
30719 * app/tools/gimprectselecttool.c: must use N_() instead of _()
30720 when registering tool menu entries.
30722 2003-01-14 Sven Neumann <sven@gimp.org>
30724 * app/gui/image-menu.c
30725 * plug-ins/common/threshold_alpha.c: applied a patch from Henrik
30726 Brix Andersen that changes the Alpha menu to Transparency (#89275).
30728 2003-01-13 Manish Singh <yosh@gimp.org>
30730 * configure.in: Partially address #102058 with a --with-shm configure
30731 option. Defaults to sysv except on OS X, where it is none.
30733 2003-01-13 Michael Natterer <mitch@gimp.org>
30735 * app/gui/brushes-menu.[ch]
30736 * app/gui/buffers-menu.[ch]
30737 * app/gui/channels-menu.[ch]
30738 * app/gui/colormap-editor-menu.[ch]
30739 * app/gui/dialogs-menu.[ch]
30740 * app/gui/documents-menu.[ch]
30741 * app/gui/file-open-menu.[ch]
30742 * app/gui/file-save-menu.[ch]
30743 * app/gui/gradient-editor-menu.[ch]
30744 * app/gui/gradients-menu.[ch]
30745 * app/gui/image-menu.[ch]
30746 * app/gui/images-menu.[ch]
30747 * app/gui/layers-menu.[ch]
30748 * app/gui/palette-editor-menu.[ch]
30749 * app/gui/palettes-menu.[ch]
30750 * app/gui/patterns-menu.[ch]
30751 * app/gui/qmask-menu.[ch]
30752 * app/gui/toolbox-menu.[ch]
30753 * app/gui/vectors-menu.[ch]: new files, one per GimpItemFactory,
30754 containing the menu entries and their setup and update funcs.
30756 * app/gui/brushes-commands.[ch]
30757 * app/gui/patterns-commands.[ch]: removed because they contained
30760 * app/gui/Makefile.am: changed accordingly. Split the huge
30761 SOURCES list in smaller ones for menus and dialogs.
30763 * app/gui/menus.[ch]: removed the menu entries and setup funcs.
30764 Added MENU_SEPARATOR() and MENU_BRANCH() macros to the header.
30765 Made some utility functions public.
30767 * app/display/gimpdisplayshell.[ch]
30768 * app/gui/buffers-commands.[ch]
30769 * app/gui/channels-commands.[ch]
30770 * app/gui/colormap-editor-commands.[ch]
30771 * app/gui/dialogs-commands.[ch]
30772 * app/gui/documents-commands.[ch]
30773 * app/gui/gradient-editor-commands.[ch]
30774 * app/gui/gradients-commands.[ch]
30775 * app/gui/images-commands.[ch]
30776 * app/gui/layers-commands.[ch]
30777 * app/gui/palette-editor-commands.[ch]
30778 * app/gui/palettes-commands.[ch]
30779 * app/gui/qmask-commands.[ch]
30780 * app/gui/vectors-commands.[ch]: removed the update funcs.
30782 * app/gui/plug-in-menus.[ch]: renamed plug_in_set_menu_sensitivity()
30783 to plug_in_menus_update(). Cleanup.
30785 * app/gui/paths-dialog.[ch]: added the <Paths> entries here
30786 so they will go away together with these files.
30788 * app/gui/dialogs-constructors.c
30789 * app/gui/drawable-commands.c: removed useless #includes.
30791 2003-01-13 Sven Neumann <sven@gimp.org>
30793 Changed my mind again and decided that gimpconfig-dump should
30794 create gimprc-1.3.5.in and have configure process it.
30796 * app/config/Makefile.am
30797 * app/config/gimpconfig-dump.c: create gimprc-1.3.5.in to be
30798 processed by configure.
30802 * docs/gimprc-1.3.5: removed again ...
30803 * docs/gimprc-1.3.5.in: ... and replaced with a new version
30804 generated by gimpconfig-dump.
30806 2003-01-13 Sven Neumann <sven@gimp.org>
30808 * app/config/Makefile.am
30809 * app/config/gimpconfig-dump.c
30810 * app/config/gimpconfig-serialize.c: more work on gimpconfig-dump.
30814 * docs/gimprc-1.3.5.in: removed ...
30815 * docs/gimprc-1.3.5: ... and replaced with a new version generated
30816 using gimpconfig-dump (although it's not perfect yet).
30818 2003-01-12 Dave Neary <bolsh@gimp.org>
30820 * plug-ins/common/plugin-def.pl
30821 * plug-ins/common/psd_save.c
30822 * plug-ins/common/Makefile.am
30823 * plug-ins/common/.cvsignore: Finally added PSD save support
30825 2003-01-12 Manish Singh <yosh@gimp.org>
30827 * plug-ins/common/plugin-def.pl
30828 * plug-ins/common/Makefile.am
30829 * plug-ins/common/.cvsignore: Commented out the psd_save.c bit for
30830 now, looks like bolsh forgot to cvs add the file.
30832 2003-01-12 Michael Natterer <mitch@gimp.org>
30834 * app/widgets/gimpitemlistview.c: pass the GimpItemListView as
30835 "data" to the item_factory callbacks, not just a "Gimp" pointer.
30837 * app/display/gimpdisplayshell.c: use
30838 gtk_window_add_accel_group(), not gimp_window_add_accel_group()
30839 because we now attach the menubar's accel group, which has the
30840 GimpDisplay as callback data.
30842 * app/display/gimpdisplayshell-callbacks.c: pass the GimpDisplay
30843 as "popup_data" to *_item_factory_popup_with_data().
30845 * app/gui/channels-commands.c
30846 * app/gui/drawable-commands.c
30847 * app/gui/layers-commands.c
30848 * app/gui/vectors-commands.c: changed accordingly.
30850 * app/widgets/gimpwidgets-utils.[ch]: removed
30851 gimp_window_[add|remove]_accel_group() and
30852 gimp_widget_get_callback_context() because they were evil hacks
30853 which are no longer needed now that all item_factories have proper
30854 callback data (no just Gimp pointers).
30856 2003-01-12 Dave Neary <bolsh@gimp.org>
30858 * plug-ins/common/plugin-def.pl
30859 * plug-ins/common/psd_save.c
30860 * plug-ins/common/Makefile.am
30861 * plug-ins/common/.cvsignore: Added PSD save support (alpha) to
30862 devel branch, from a plug-in written by Monignotes (?). This
30863 should be integrated into the main PSD plug-in before 1.4 - or
30864 should at least use the same PsdImage structure.
30866 2003-01-11 Sven Neumann <sven@gimp.org>
30868 * app/config/Makefile.am: reverted my latest change since it broke
30869 the build in a fresh CVS checkout. Instead added make targets to
30870 create a man-page and a default gimprc that take care of building
30873 * app/config/gimpconfig-dump.c: started to work on the man-page
30874 dump functionality.
30876 2003-01-11 Michael Natterer <mitch@gimp.org>
30878 * app/widgets/gimpdialogfactory.c
30879 * app/widgets/gimptoolbox.c: removed GDK_HINT_USER_POS and
30880 GDK_HINT_USER_SIZE again because they caused problems with some
30881 window managers. Instead, set the window's position with
30882 gtk_window_parse_geometry().
30884 2003-01-11 Sven Neumann <sven@gimp.org>
30886 * app/config/Makefile.am: always build gimpconfig-dump.
30888 * app/config/gimpconfig-params.[ch]: added an enum to specify the
30889 type of path with GIMP_PARAM_SPEC_PATH.
30891 * app/config/gimpconfig-dump.c: document the different types of
30894 * app/config/gimpbaseconfig.c
30895 * app/config/gimpcoreconfig.c
30896 * app/config/gimpguiconfig.c
30897 * app/config/gimppluginconfig.c: register the path types.
30899 * etc/gimprc: generated a new system gimprc.
30901 * plug-ins/common/tiff.c: added missing spaces in warning and
30902 removed trailing newlines in strings passed to g_message().
30904 2003-01-10 Maurits Rijk <lpeek.mrijk@consunet.nl>
30906 * plug-ins/common/tiff.c (load_image): fix compilation error and
30907 split warning string over multiple lines.
30909 2003-01-10 Sven Neumann <sven@gimp.org>
30911 * app/app_procs.c (app_init)
30912 * app/core/gimp.c (gimp_set_config): delayed the activation of
30913 gimprc-autosave so we don't write the monitor resolution obtained
30914 from GDK back to the gimprc on each startup.
30916 * app/gui/gui.c (gui_get_screen_resolution): round values to get
30917 rid of rounding errors introduced earlier. Looks better in the
30920 * app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
30921 merged fix for bug #94979 from stable branch. Go even further and
30922 don't limit the zoom ratio between 1:16 and 16:1.
30924 * app/display/gimpdisplayshell.c (gimp_display_shell_new): merged
30925 fix for bug #103030 from stable branch.
30927 2003-01-10 Maurits Rijk <lpeek.mrijk@consunet.nl>
30929 * plug-ins/common/tiff.c: trivial fix for #95737. Plug-in now displays
30930 a message when 16 bits per channel images are converted to 8 bits.
30932 2003-01-10 Maurits Rijk <lpeek.mrijk@consunet.nl>
30934 * plug-ins/common/tiff.c (load_image): improved fix for #96611
30936 2003-01-10 Michael Natterer <mitch@gimp.org>
30938 * app/widgets/gimpcolormapeditor.c
30939 * app/widgets/gimpcontainereditor.[ch]
30940 * app/widgets/gimpdataeditor.c: pass the editor widget as
30941 callback_data to GtkItemFactory callbacks, not a "Gimp" pointer.
30943 * app/gui/buffers-commands.c
30944 * app/gui/colormap-editor-commands.c
30945 * app/gui/data-commands.c
30946 * app/gui/documents-commands.c
30947 * app/gui/gradient-editor-commands.c
30948 * app/gui/gradients-commands.c
30949 * app/gui/images-commands.c
30950 * app/gui/palette-editor-commands.c
30951 * app/gui/palettes-commands.c
30952 * app/gui/patterns-commands.c: simply cast the passed "data"
30953 pointer instead of calling gimp_widget_get_callback_context().
30954 Don't #include "widgets/gimpwidgets-utils.h".
30956 2003-01-10 Michael Natterer <mitch@gimp.org>
30958 Move away from creating all item_factories statically in
30959 menus_init() but create a new one for each place where one is
30962 * app/widgets/Makefile.am
30963 * app/widgets/widgets-types.h
30964 * app/widgets/gimpmenufactory.[ch]: new factory which creates and
30965 configures the GimpItemFactories it knows about on-the-fly.
30967 * app/widgets/gimpitemfactory.[ch]: added
30968 gimp_item_factory_update() which calls the "update_func". Added
30969 "gboolean update_on_popup" so item_factories can be configured to
30970 require manual updates (used for the <Image> factory).
30972 * app/gui/menus.[ch]: create a "global_menu_factory" and register
30973 all menus we have with it. Added various setup functions which
30974 do stuff like adding the "Open Recent" menu or reorder plug-in
30975 menu entries. Removed the debugging stuff...
30977 * app/gui/Makefile.am
30978 * app/gui/debug-commands.[ch]: ...and added it here.
30980 * app/gui/gui.c: create the <Toolbox>, the popup-<Image> and the
30981 <Paths> factories here because they are still global.
30983 * app/gui/plug-in-menus.[ch]: changed the "image_factory"
30984 parameters to "item_factory" and create/update the entries for the
30985 passed item_factory only. Makes the whole stuff much more
30988 * app/plug-in/plug-ins.c: don't call plug_in_make_menu().
30990 * app/display/gimpdisplay.[ch]
30991 * app/display/gimpdisplayshell.[ch]: added "menu_factory" and
30992 "popup_factory" parameters to gimp_display_new() and
30993 gimp_display_shell_new(). Create the menubar_factory and the
30994 qmask_factory dynamically. Pass the shell, not a Gimp to the QMask
30995 callbacks. Changed gimp_display_shell_set_menu_sensitivity() to
30996 gimp_display_shell_menu_update() and don't call it directly (it's
30997 a GimpItemFactory update_func now). Call gimp_item_factory_update()
30998 on the resp. factories instead.
31000 * app/gui/qmask-commands.c
31001 * app/display/gimpdisplayshell-callbacks.c
31002 * app/tools/gimpimagemaptool.c: changed accordingly.
31004 * app/widgets/gimpbrusheditor.c
31005 * app/widgets/gimpbrushfactoryview.[ch]
31006 * app/widgets/gimpbufferview.[ch]
31007 * app/widgets/gimpcolormapeditor.[ch]
31008 * app/widgets/gimpcontainereditor.[ch]
31009 * app/widgets/gimpdataeditor.[ch]
31010 * app/widgets/gimpdatafactoryview.[ch]
31011 * app/widgets/gimpdialogfactory.[ch]
31012 * app/widgets/gimpdock.c
31013 * app/widgets/gimpdockbook.[ch]
31014 * app/widgets/gimpdocumentview.[ch]
31015 * app/widgets/gimpgradienteditor.[ch]
31016 * app/widgets/gimpimageview.[ch]
31017 * app/widgets/gimpitemlistview.[ch]
31018 * app/widgets/gimppaletteeditor.[ch]: pass around lots of
31019 GimpMenuFactory pointers and menu_identifiers so all views can
31020 create their item_factories themselves. Unref the factories when
31021 they are no longer needed because they belong to the views now.
31023 * app/gui/dialogs-commands.c
31024 * app/gui/dialogs-constructors.c
31025 * app/gui/dialogs.c
31026 * app/gui/brush-select.c
31027 * app/gui/gradient-select.c
31028 * app/gui/palette-select.c
31029 * app/gui/pattern-select.c: changed accordingly.
31031 * app/gui/file-dialog-utils.[ch] (file_dialog_new): require
31032 menu_factory and menu_identifier parameters.
31034 * app/gui/file-open-dialog.[ch]
31035 * app/gui/file-save-dialog.[ch]: removed file_*_dialog_menu_init()
31036 (they went to menus.c as setup_funcs). Added file_*_dialog_set_type()
31037 and moved the <Load> and <Save> factory callbacks to file-commands.c
31039 * app/gui/file-commands.[ch]: changed accordingly.
31041 * app/gui/view-commands.c: changed the statusbar, menubar, rulers
31042 and guides callbacks to do their job only if the setting has
31043 actually changed. Don't update whole item factories afterwards.
31044 Instead, just change the state of the items that actually need
31049 * app/core/gimpchannel.c (gimp_channel_init): set "bounds_known"
31050 and friends to FALSE since we don't know that the new channel will
31051 be empty (fixes QMask and probably other stuff).
31053 * app/gui/image-commands.c
31054 * app/gui/vectors-commands.c: cleanup.
31056 2003-01-10 Sven Neumann <sven@gimp.org>
31058 * libgimpwidgets/gimpstock.c (gimp_stock_init): fixed my last commit.
31060 2003-01-10 Maurits Rijk <lpeek.mrijk@consunet.nl>
31062 * plug-ins/common/tiff.c (load_image): added handling of
31063 TIFFTAG_ORIENTATION tag (fixes #96611).
31065 2003-01-10 Michael Natterer <mitch@gimp.org>
31067 * app/tools/gimpvectortool.c (gimp_vector_tool_button_press):
31068 create a new GimpVectors object if the tool has none. Cleanup.
31070 2003-01-10 Sven Neumann <sven@gimp.org>
31072 * libgimpwidgets/gimpstock.[ch]: prefixed ALL, NONE, GROW and
31073 SHRINK with SELECTION_ since they should only be used for in a
31074 selection context. Register a few icons in dialog size as well.
31077 * app/widgets/gimpselectioneditor.c: changed accordingly.
31079 * themes/Default/images: renamed icons accordingly.
31081 * plug-ins/common/uniteditor.c: use stock items.
31083 2003-01-10 Sven Neumann <sven@gimp.org>
31085 * app/display/gimpstatusbar.c: fixed a compiler warning.
31087 * plug-ins/gfig/gfig.c: fixed preview code so that the plug-in is
31088 at least a bit useful again. Misc minor cleanups, still a mess.
31090 2003-01-09 Sven Neumann <sven@gimp.org>
31092 * app/app_procs.c: fixed typos.
31094 * app/tools/xinput_airbrush.[ch]: removed from CVS; can always be
31095 resurrected from the Attic. The files kept getting in the way when
31096 grepping the source.
31098 2003-01-09 Maurits Rijk <lpeek.mrijk@consunet.nl>
31100 * plug-ins/common/mblur.c: fixes #83968 (Motion Blur filter: disable
31101 parameters that have no effect)
31103 2003-01-09 Sven Neumann <sven@gimp.org>
31105 * app/config/gimprc-blurbs.h: fixed typo.
31107 * app/pdb/procedural_db.c (procedural_db_run_proc): always set the
31108 number of returned values, even in case of an error.
31110 * app/widgets/gimphelp.c: fix #65789 similar to how Tor did it in
31113 2003-01-09 Sven Neumann <sven@gimp.org>
31115 * plug-ins/gfig/images/Makefile.am
31116 * plug-ins/gfig/images/stock-logo.png: new Gfig logo courtesy of
31117 Owen <oc@webone.com.au>.
31119 * plug-ins/gfig/gfig-stock.[ch]
31120 * plug-ins/gfig/gfig.c: use the new logo icon.
31122 * plug-ins/gfig/pix_data.h: removed the old one.
31124 2003-01-09 Jakub Steiner <jimmac@ximian.com>
31126 * data/images/gimp_splash.png: new splash
31128 2003-01-09 Sven Neumann <sven@gimp.org>
31130 * app/main.c (main)
31131 * app/app_procs.c (app_init): combined console output into single
31132 messages to allow for better translation.
31134 2003-01-09 Sven Neumann <sven@gimp.org>
31136 * app/core/gimpdrawable.c (gimp_drawable_configure): use _("Unnamed")
31137 if no name was given. Fixes bug #89328 in a more general way.
31139 * plug-ins/common/psd.c: simply pass NULL as layer and channel
31140 name if the PSD file provides none.
31142 2003-01-08 Manish Singh <yosh@gimp.org>
31144 * app/gui.[ch]: make gui_libs_init() use gtk_init_check() and return
31145 a gboolean on success or failure.
31147 * app/main.c: reorganized so that --help and --version never need
31148 the gui to be initialized. Print a proper message when the gui cannot
31149 be initialized (perhaps recommend --no-interface?). Return nonzero
31150 exit status on failures.
31152 2003-01-08 Maurits Rijk <lpeek.mrijk@consunet.nl>
31154 * plug-ins/common/psd.c (do_layer_record): setting the layer name to
31155 "unnamed" when it's NULL. Fixes #89328.
31157 2003-01-08 Maurits Rijk <lpeek.mrijk@consunet.nl>
31159 * plug-ins/common/psd.c: removed MAX_LAYERS and MAX_GUIDES. Memory
31160 is now allocated dynamically. Fixes #91282. MAX_CHANNELS is still set
31163 2003-01-08 Simon Budig <simon@gimp.or>
31165 * tools/gimp-remote.c: Implemented a heuristics that tries to
31166 start the gimp in the same directory as gimp-remote-1.3.
31167 If this fails it falls back to the regular PATH search.
31169 For sanity checks this feature requires that the command name
31170 starts with "gimp-remote". If you do weird symlinks the heuristics
31171 will fall back to the PATH search silently.
31173 2003-01-08 Sven Neumann <sven@gimp.org>
31175 * plug-ins/gfig/images/stock-*.png: a new set of icons drawn by
31176 Jimmac; fixes bug #92473.
31178 2003-01-08 Sven Neumann <sven@gimp.org>
31180 * app/display/gimpstatusbar.c (gimp_statusbar_init): work around a
31181 canvas size bug by setting an empty text to the progressbar.
31183 2003-01-07 Manish Singh <yosh@gimp.org>
31185 * libgimpwidgets/Makefile.am: add gimpmemsizeentry.h to HEADERS
31188 2003-01-07 Sven Neumann <sven@gimp.org>
31190 * plug-ins/gfig/gfig.c: don't try to initialize the showtooltips
31191 member in the selvals struct; it's gone.
31193 2003-01-07 Michael Natterer <mitch@gimp.org>
31197 * app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
31198 don't do evil stuff but simply call gtk_window_resize(). Gtk+ will
31199 automatically place the window onscreen if it would be invisible
31202 * app/display/gimpdisplayshell-callbacks.c
31203 (gimp_display_shell_canvas_configure): don't call
31204 gimp_dislpay_shell_scale_resize() to avoid recursion but do the
31205 two needed calls manually.
31207 2003-01-07 Michael Natterer <mitch@gimp.org>
31209 * libgimpwidgets/gimphelpui.[ch]: removed gimp_help_init() and
31210 gimp_help_free(). Added _gimp_help_init() instead.
31212 * libgimpwidgets/gimpwidgets.def: changed accordingly.
31214 * libgimpwidgets/gimpwidgets.c (gimp_widgets_init): call
31215 _gimp_help_init() so it doesn't need to be done in all plug-ins
31218 * libgimp/gimpcompat.h: added gimp_help_init() and gimp_help_free()
31219 here as COMPAT_CRUFT.
31222 * plug-ins/FractalExplorer/Dialogs.c
31223 * plug-ins/Lighting/lighting_ui.c
31224 * plug-ins/MapObject/mapobject_ui.c
31225 * plug-ins/common/AlienMap.c
31226 * plug-ins/common/AlienMap2.c
31227 * plug-ins/common/CML_explorer.c
31228 * plug-ins/common/blur.c
31229 * plug-ins/common/curve_bend.c
31230 * plug-ins/common/gtm.c
31231 * plug-ins/common/illusion.c
31232 * plug-ins/common/jigsaw.c
31233 * plug-ins/common/plasma.c
31234 * plug-ins/common/polar.c
31235 * plug-ins/common/ps.c
31236 * plug-ins/common/randomize.c
31237 * plug-ins/common/sinus.c
31238 * plug-ins/common/snoise.c
31239 * plug-ins/common/sparkle.c
31240 * plug-ins/common/uniteditor.c
31241 * plug-ins/common/warp.c
31242 * plug-ins/common/wind.c
31243 * plug-ins/gap/gap_arr_dialog.c
31244 * plug-ins/gap/gap_mov_dialog.c
31245 * plug-ins/gap/gap_navigator_dialog.c
31246 * plug-ins/gdyntext/gdyntext_ui.c
31247 * plug-ins/gfig/gfig.c
31248 * plug-ins/gflare/gflare.c
31249 * plug-ins/gimpressionist/gimpressionist.c
31250 * plug-ins/maze/maze_face.c
31251 * plug-ins/print/gimp_main_window.c
31252 * plug-ins/sel2path/sel2path.c: removed the calls to
31253 gimp_help_init() and gimp_help_free().
31257 * libgimpbase/gimpprotocol.[ch]: added "guint8 show_tool_tips"
31258 to the GPConfig message. Increased the protocol version number.
31260 * app/plug-in/plug-in.c: pass the value of gui_config->show_tool_tips.
31262 * libgimp/gimp.[ch]: added gimp_show_tool_tips() to get the value
31263 which was passed in the GPConfig message.
31265 * libgimp/gimpui.c (gimp_ui_init): disable the tooltips
31266 if show_tool_tips is FALSE.
31268 * plug-ins/MapObject/mapobject_main.[ch]
31269 * plug-ins/MapObject/mapobject_ui.c
31270 * plug-ins/common/jigsaw.c
31271 * plug-ins/gap/gap_navigator_dialog.c
31272 * plug-ins/gfig/gfig.c: removed all plug-in specific GUI for
31273 enabling/disabling tooltips.
31275 2003-01-07 Sven Neumann <sven@gimp.org>
31277 * plug_ins/common/Makefile.am
31278 * plug_ins/common/plugin_defs.pl: added back spheredesigner so it
31279 gets some testing again. Needs a good bunch of UI cleanup.
31281 * plug-ins/common/spheredesigner.c (loadit): use
31282 locale-independent functions to parse doubles.
31284 2003-01-06 Manish Singh <yosh@gimp.org>
31286 * lots of files in plug-ins: cleanup, removed unecessary
31289 2003-01-07 Sven Neumann <sven@gimp.org>
31292 * common/plugindetails.c
31293 * common/spheredesigner.c
31294 * gimpressionist/orientmap.c
31295 * gimpressionist/sizemap.c
31296 * plugin-helper/color_picker.c
31297 * plugin-helper/iwarp.c
31298 * winsnap/winsnap.c: ported to GObject signal API.
31300 2003-01-07 Sven Neumann <sven@gimp.org>
31303 * plug-ins/gfig/Makefile.am
31304 * plug-ins/gfig/images/Makefile.am: added a new directory with PNG
31305 images for the GFig plug-in.
31307 * plug-ins/gfig/images/*.png: placeholder images that need to be
31308 replaced (see bug #92473).
31310 * plug-ins/gfig/gfig-stock.[ch]: new files that register the
31311 images as stock icons.
31313 * plug-ins/gfig/gfig.c: use stock icons for the buttons on the
31314 left side of the dialog.
31316 * plug-ins/gfig/pix_data.h: removed obsoleted images. The
31317 remaining ones should get converted as well.
31319 2003-01-06 Maurits Rijk <lpeek.mrijk@consunet.nl>
31321 * plug-ins/imagemap/imap_preview.c
31322 * plug-ins/imagemap/imap_selection.c: replaced all gtk_signal_connect
31323 by g_signal_connect.
31325 2003-01-06 Tor Lillqvist <tml@iki.fi>
31327 * plug-ins/script-fu/script-fu-server.c: Bypass whole file on
31330 2003-01-06 Michael Natterer <mitch@gimp.org>
31332 * plug-ins/gfig/gfig.c: even more undeprecated, some cleanup.
31334 2003-01-06 Sven Neumann <sven@gimp.org>
31336 * plug-ins/gfig/gfig.c: made it a lot less deprecated. Removed
31337 gazillions of unneeded casts and changed others to the more
31338 portable GINT_TO_POINTER() / GPOINTER_TO_INT() macros. Still more
31339 work to be done ...
31341 2003-01-06 Michael Natterer <mitch@gimp.org>
31343 * libgimptool/gimptoolenums.[ch]: added enum GimpRectSelectMode
31344 which can be one of "free", "fixed-size" and "fixed-ratio".
31346 * app/tools/selection_options.[ch]: replaced the "Fixed Size /
31347 Aspect Ratio" toggle by a menu offering the choices above.
31349 * app/tools/gimprectselecttool.[ch]: changed accordingly. Removed
31350 the possibility to <shift>-switch from "fixed-size" to
31351 "fixed-ratio" mode. Fixes bug #100320.
31353 2003-01-06 Michael Natterer <mitch@gimp.org>
31355 * etc/gtkrc_user: give an example (commented out) how to change
31356 the F1 help binding. Fixes bug #6920.
31358 2003-01-06 Sven Neumann <sven@gimp.org>
31359 Michael Natterer <mitch@gimp.org>
31361 * tools/gimp-remote.c (gimp_remote_find_window): re-wrote this
31362 function without looking at the original source, so it is finally
31363 free from non-GPL copyright issues.
31365 2003-01-06 Sven Neumann <sven@gimp.org>
31367 * docs/gimp-1.3.1.in
31368 * docs/gimptool-1.3.1.in: removed incorrect copyright clauses and
31369 updated information about bug reporting.
31371 2003-01-06 Sven Neumann <sven@gimp.org>
31373 * app/gui/gradient-editor-commands.c
31374 * libgimp/gimpexport.c: don't split translatable sentences into
31375 multiple messages (bug #85828).
31377 2003-01-05 Manish Singh <yosh@gimp.org>
31379 * app/core/gimpobject.c: cast memsize to a guint instead of format
31380 change. Problem perhaps if get_size really is > 4 GB?
31382 2003-01-05 Manish Singh <yosh@gimp.org>
31384 * many files in app, modules and libgimp*: cleanup, removed unecessary
31385 G_OBJECT() casts. Should do the same for plug-ins, when more of them
31388 2003-01-05 Manish Singh <yosh@gimp.org>
31390 * plug-ins/script-fu/interp_regex.c: same as below for here.
31392 2003-01-05 Manish Singh <yosh@gimp.org>
31394 * app/core/gimpimage-new.c: oops, cast here instead of changing the
31395 format string so we're ok on 32-bit too.
31397 2003-01-05 Manish Singh <yosh@gimp.org>
31399 * app/undo_history.c
31400 * app/core/gimpbrush.c
31401 * app/core/gimpimage-new.c
31402 * app/core/gimpobject.c
31403 * app/core/gimppalette-import.c
31404 * app/core/gimppattern.c
31405 * app/plug-in/plug-in.c
31406 * app/tools/gimpbezierselecttool.c
31407 * libgimpwidgets/gimpunitmenu.c
31408 * plug-ins/MapObject/mapobject_ui.c
31409 * plug-ins/common/convmatrix.c
31410 * plug-ins/common/curve_bend.c
31411 * plug-ins/common/sample_colorize.c
31412 * plug-ins/common/tiff.c
31413 * plug-ins/flame/flame.c
31414 * plug-ins/gflare/gflare.c
31415 * plug-ins/gimpressionist/general.c
31416 * plug-ins/gimpressionist/orientation.c
31417 * plug-ins/gimpressionist/preview.c
31418 * plug-ins/gimpressionist/size.c
31419 * plug-ins/imagemap/imap_grid.c
31420 * plug-ins/imagemap/imap_menu.c
31421 * plug-ins/maze/algorithms.c
31422 * plug-ins/script-fu/interp_regex.c
31423 * plug-ins/script-fu/interp_sliba.c
31424 * plug-ins/script-fu/script-fu-console.c
31425 * plug-ins/script-fu/script-fu-server.c
31426 * plug-ins/webbrowser/webbrowser.c: added GINT_TO_POINTER and friends,
31427 fixed format strings, for 64-bitness.
31429 * modules/colorsel_triangle.c
31430 * plug-ins/tools/tool-safe-mode-plug-in.c: #include missing header
31433 2003-01-05 Michael Natterer <mitch@gimp.org>
31435 * configure.in: changed --with-gnome-desktop to --with-gnome-datadir
31437 * data/misc/gimp.applications
31438 * data/misc/gimp.keys: added mime info files from Hadess
31439 <hadess@hadess.net> so gnome-vfs can associate various mime types
31442 * data/misc/Makefile.am: install everything into the right
31443 subdirectories of GNOME_DATADIR.
31445 2003-01-05 Maurits Rijk <lpeek.mrijk@consunet.nl>
31447 * plug-ins/script-fu/scripts/starscape-logo.scm
31448 (apply-starscape-logo-effect): fixes #73894. A channel was removed
31449 but never added to the image.
31451 2003-01-05 Maurits Rijk <lpeek.mrijk@consunet.nl>
31453 * libgimp/gimpmisc.c (gimp_pixel_fetcher_get_pixel2): x and y
31454 coordinates have to be clamped on image width/height - 1. Fixes
31457 2003-01-05 Sven Neumann <sven@gimp.org>
31459 * libgimpwidgets/gimpchainbutton.[ch]
31460 * libgimpwidgets/gimpcolorarea.[ch]
31461 * libgimpwidgets/gimpcolorbutton.[ch]
31462 * libgimpwidgets/gimpdialog.c
31463 * libgimpwidgets/gimpfileselection.[ch]
31464 * libgimpwidgets/gimpoffsetarea.c
31465 * libgimpwidgets/gimppickbutton.c
31466 * libgimpwidgets/gimpquerybox.c
31467 * libgimpwidgets/gimpwidgets.c: added more API documentation.
31468 Declared gimp_scale_entry_new_internal() as static.
31470 * libgimpwidgets/gimpwidgets.def: changed accordingly.
31472 2003-01-05 Sven Neumann <sven@gimp.org>
31474 * libgimpwidgets/Makefile.am
31475 * libgimpwidgets/gimpmemsizeentry.[ch]: made GimpMemsizeEntry a
31476 widget which doesn't use a GtkAdjustment to store the value. The
31477 latter caused problems on 64bit machines since a gdouble doesn't
31478 provide enough precision for G_MAXULONG.
31480 * libgimpwidgets/gimpwidgets.[ch]
31481 * libgimpwidgets/gimpwidgetstypes.h
31482 * app/widgets/gimppropwidgets.c: changed accordingly.
31484 2003-01-05 Sven Neumann <sven@gimp.org>
31486 * app/core/gimpimage-merge.c (gimp_image_merge_layers): redid the
31487 fix for bug #101036. Instead of temporarily changing the layer
31488 mode, just use a different mode for combine_regions().
31490 2003-01-05 Sven Neumann <sven@gimp.org>
31492 * app/gui/qmask-commands.c (qmask_channel_query): don't free the
31493 options structure twice (fixes bug #102515).
31495 2003-01-05 Sven Neumann <sven@gimp.org>
31497 * app/widgets/gimppropwidgets.c: (gimp_prop_enum_option_menu_new):
31498 pass NULL, not 0 to fix compilation on Alpha (bug #102514).
31500 2003-01-04 Sven Neumann <sven@gimp.org>
31502 * app/widgets/gimpbrushfactoryview.c
31503 * app/widgets/gimpcontainereditor.c
31504 * app/widgets/gimpcontainergridview.c
31505 * app/widgets/gimpcontainerlistview.c
31506 * app/widgets/gimpcontainermenuimpl.c
31507 * app/widgets/gimpcontainerview.c
31508 * app/widgets/gimpdatafactoryview.c
31509 * app/widgets/gimpitemlistview.c: check preview sizes to be
31510 smaller than GIMP_PREVIEW_MAX_SIZE instead of using a hardcoded
31511 and much too small value of 64.
31513 * app/widgets/gimpdialogfactory.c: check that the preview size is
31514 in range of the GimpPreviewSize enum when parsing the sessionrc.
31516 2003-01-04 Sven Neumann <sven@gimp.org>
31518 * app/base/tile-swap.c (tile_swap_find_offset): use off_t to
31519 return the offset. Finally allows to handle swap files larger than
31520 2 GB (fixes bug #74478).
31522 2003-01-03 Maurits Rijk <lpeek.mrijk@consunet.nl>
31524 * plug-ins/bmp/bmpread.c
31525 * plug-ins/bmp/bmpwrite.c
31526 * plug-ins/bmp/bmp.[ch]: added mnemonics to save dialog. Minor code
31529 2003-01-03 Sven Neumann <sven@gimp.org>
31531 * configure.in: bumped the version number to 1.3.12.
31533 * app/display/Makefile.am
31534 * app/display/gimpdisplayshell-cursor.[ch]
31535 * app/display/gimpdisplayshell-title.[ch]
31536 * app/display/gimpdisplayshell-transform.[ch]: new files with code
31537 that used to live in gimpdisplayshell.c.
31539 * app/display/gimpdisplay-foreach.c
31540 * app/display/gimpdisplay.c
31541 * app/display/gimpdisplayshell-callbacks.c
31542 * app/display/gimpdisplayshell-handlers.c
31543 * app/display/gimpdisplayshell-selection.c
31544 * app/display/gimpdisplayshell.[ch]
31545 * app/tools/gimpbezierselecttool.c
31546 * app/tools/gimpcroptool.c
31547 * app/tools/gimpdrawtool.c
31548 * app/tools/gimpeditselectiontool.c
31549 * app/tools/gimpfuzzyselecttool.c
31550 * app/tools/gimpmovetool.c
31551 * app/tools/gimptool.c: changed accordingly.
31553 2003-01-03 Michael Natterer <mitch@gimp.org>
31555 * app/tools/tool_manager.c (tool_manager_image_undo_start): don't
31556 HALT the active tool if it is in "preserve" mode. Fixes crashes
31557 when e.g. the transform tool was pushing an undo group and
31558 implicitly HALTing itself in the middle of the transform
31561 2003-01-03 Michael Natterer <mitch@gimp.org>
31563 * app/widgets/gimpdialogfactory.c
31564 * app/widgets/gimptoolbox.c: convince more window managers to
31565 actually use the specified window positions/sizes by adding
31566 GDK_HINT_USER_POS and GDK_HINT_USER_SIZE to the windows'
31569 2003-01-03 Michael Natterer <mitch@gimp.org>
31571 * app/tools/gimptoolcontrol.c (gimp_tool_control_halt): don't
31572 set paused_count to 0.
31574 * app/tools/gimpblendtool.c
31575 * app/tools/gimpbucketfilltool.c
31576 * app/tools/gimpbycolorselecttool.c
31577 * app/tools/gimpcolorpickertool.c
31578 * app/tools/gimpcroptool.c
31579 * app/tools/gimpeditselectiontool.c
31580 * app/tools/gimpfreeselecttool.c
31581 * app/tools/gimpfuzzyselecttool.c
31582 * app/tools/gimpinktool.c
31583 * app/tools/gimpiscissorstool.c
31584 * app/tools/gimpmagnifytool.c
31585 * app/tools/gimpmeasuretool.c
31586 * app/tools/gimpmovetool.c
31587 * app/tools/gimppainttool.c
31588 * app/tools/gimppathtool.c
31589 * app/tools/gimprectselecttool.c
31590 * app/tools/gimptexttool.c
31591 * app/tools/gimptool.c
31592 * app/tools/gimptransformtool.c
31593 * app/tools/gimpvectortool.c
31594 * app/tools/tool_manager.c: removed comments about doing so.
31596 2003-01-02 Manish Singh <yosh@gimp.org>
31598 * app/base/base.c (base_init): terminate g_object_set args with NULL.
31600 2003-01-02 Michael Natterer <mitch@gimp.org>
31602 * libgimpmodule/gimpmodule.[ch]
31603 * libgimpmodule/gimpmoduledb.[ch]: added API docs, removed cruft.
31606 2003-01-02 Maurits Rijk <lpeek.mrijk@consunet.nl>
31608 * plug-ins/imagemap/imap_preview.[ch]: fix for #102303
31610 * plug-ins/imagemap/imap_main.c
31611 * plug-ins/imagemap/imap_object.c
31612 * plug-ins/imagemap/imap_object_popup.c
31613 * plug-ins/imagemap/imap_polygon.c
31614 * plug-ins/imagemap/imap_edit_area_info.c
31615 * plug-ins/imagemap/imap_cmd_*.c: code clean-up
31617 * plug-ins/imagemap/imap_cmd_*.h: removed. All prototypes are now
31620 * plug-ins/imagemap/imap_commands.h: new file with command prototypes
31622 * plug-ins/imagemap/Makefile.am: updated accordingly
31624 2003-01-02 Michael Natterer <mitch@gimp.org>
31626 * libgimpmodule/gimpmodule.[ch]: added GIMP_MODULE_ABI_VERSION
31627 define and a "guint32 abi_version" field to GimpModuleInfo. When
31628 querying a module, check if it was compiled against the same ABI
31629 version as the code loading it. Fixes bug #5744.
31631 * modules/cdisplay_colorblind.c
31632 * modules/cdisplay_gamma.c
31633 * modules/cdisplay_highcontrast.c
31634 * modules/colorsel_triangle.c
31635 * modules/colorsel_water.c: changed accordingly.
31637 2003-01-02 Sven Neumann <sven@gimp.org>
31639 * app/widgets/gimpviewabledialog.c (gimp_viewable_dialog_close):
31640 just a small cleanup.
31642 2003-01-02 Michael Natterer <mitch@gimp.org>
31644 Replaced Garry's fix for bug #98843 by a more general solution
31645 which stops the active tool when an undo group start is pushed:
31647 * app/core/gimpimage.[ch]: removed the "layer_merge" signal
31648 and added "undo_start" instead.
31650 * app/undo.c: emit "undo_start" in undo_push_group_start()
31651 _before_ checking if gimage->undo_on is TRUE.
31653 * app/tools/tool_manager.c: connect to "undo_start" and HALT the
31654 active tool if neccessary.
31656 * app/core/core-types.h: added EDIT_COPY_UNDO_GROUP.
31658 * app/core/gimpedit.c: push an undo group around the copy
31659 operation. Will probably have to add more undo group types to wrap
31660 other critical image modifications with.
31662 * app/core/gimpimage-merge.c
31663 * app/gui/convert-dialog.c
31664 * app/gui/edit-commands.c
31665 * app/gui/test-commands.c
31666 * app/tools/gimpimagemaptool.c: removed all special code to
31667 stop the active tool.
31669 2003-01-02 Michael Natterer <mitch@gimp.org>
31671 * app/gui/user-install-dialog.c: replaced the 0755 by properly
31672 or'ed symbolic values (undid this change from Sven accidentially).
31674 2003-01-01 Garry R. Osgood <grosgood@rcn.com>
31676 * MAINTAINERS: Updated my CVS.
31677 * app/undo.c: Check if LayerUndo object provides a previous
31678 layer before setting such active; in some cases the result of a
31679 redo is an empty image, and prev_layer is not populated. Part of
31681 * app/undo_history.c: undo_history_new () Increments reference
31682 count on GimpImage in undo_history_st;
31683 undo_history_shell_destroy_callback () dereferences. Before,
31684 with undo history dialog active on application exit, the GimpImage
31685 ref count would already be zero, with memory reclaimed, when
31686 gimp_dialog_factory_dispose () invoked
31687 undo_history_shell_destroy_callback (). See stack dumps in
31688 bug # 98843; in part closes same.
31689 * app/core/gimpimage-merge.c : gimp_image_merge_layers ()
31690 Regardless of merge type, temporarily set composition mode
31691 of bottom layer to NORMAL, then merge. Closes bug #101036.
31692 Issues LAYER_MERGE signal (see bug #98843); listeners thaw
31693 undo stack (image map tools, usually) in part closes this bug.
31694 * app/core/gimpimage.[ch] Define and implement a LAYER_MERGE
31696 * app/tools/gimpimagemaptool.c: gimp_image_map_tool_initialize ()
31697 connects its associated GimpImage with dialog's cancel callback
31698 via the GimpImage's LAYER_MERGE signal. gimp_image_map_tool_finalize ()
31699 disconnects. Dismisses dialog in layer merges. In part closes
31701 * app/widgets/gimpviewabledialog.c: gimp_viewable_dialog_close ()
31702 Check if the widget has a non-null reference to a window before
31703 using it to synthesize a cancel event.
31705 2003-01-01 Sven Neumann <sven@gimp.org>
31707 * app/gui/menus.c (image_entries): changed some menu entries as
31708 suggested in bug #101974.
31710 * app/display/gimpdisplayshell.c: changed accordingly.
31712 2003-01-01 Hans Breuer <hans@breuer.org>
31714 * libgimpbase/gimpdatafiles.c : when checking for
31715 'excecutable' make sure it is a regular file too
31716 (on win32 even directories carry the IXUSR flag)
31718 * app/app_procs.h : there is still no #warning with
31719 msvc, special case to make it build with non GCC
31721 * makefile.msc */makefile.msc */*/makefile.msc : updated
31723 * app/gui/user-install-dialog.c : get prototype for mkdir
31725 * libgimpwidgets/libgimp-glue.c : make it compile without
31726 LT_RELEASE being defined
31728 * modules/module.def : removed
31729 modules/Makefile.am : no export file needed when
31730 functions get exported by G_MODULE_EXPORT
31732 2003-01-01 Maurits Rijk <lpeek.mrijk@consunet.nl>
31734 * plug-ins/imagemap/imap_about.c
31735 * plug-ins/imagemap/imap_file.c
31736 * plug-ins/imagemap/imap_grid.c
31737 * plug-ins/imagemap/imap_main.c
31738 * plug-ins/imagemap/imap_menu.[ch]
31739 * plug-ins/imagemap/imap_polygon.[ch]
31740 * plug-ins/imagemap/imap_preview.c
31741 * plug-ins/imagemap/imap_stock.[ch]
31742 * plug-ins/imagemap/imap_edit_area_info.[ch]
31743 * plug-ins/imagemap/imap_statusbar.[ch]
31744 * plug-ins/imagemap/imap_cmd_copy.[ch]: removed use of deprecated GTK
31745 widgets and routines plus some code clean-up.
31747 2003-01-01 Tor Lillqvist <tml@iki.fi>
31749 * modules/Makefile.am: On Win32, use -no-undefined, and add
31750 dependent libraries to the LIBADDs.
31752 2002-12-31 Simon Budig <simon@gimp.org>
31754 * app/vectors/vectors-types.h: New Type: GimpVectorExtendMode
31756 * app/tools/gimpvectortool.c
31757 * app/vectors/gimpstroke.[ch]
31758 * app/vectors/gimpbezierstroke.[ch]: More stuff on the path
31759 (pun intended) to a better path tool...
31761 Thanks to Sven for being my host in Berlin!
31763 2002-12-31 Sven Neumann <sven@gimp.org>
31765 * tools/pdbgen/pdb/fileops.pdb (gimp_temp_name): need to expand the
31766 temp_path before using it.
31768 * app/pdb/fileops_cmds.c: regenerated.
31770 2002-12-30 Sven Neumann <sven@gimp.org>
31772 * Made 1.3.11 release.
31774 2002-12-30 Michael Natterer <mitch@gimp.org>
31776 * app/gui/user-install-dialog.c: some more cleanup: check the
31777 return value of fclose() in copy_file(), added an enum for the
31778 notebook pages, added '' around displayed filenames, update the
31779 GUI while creating the user directory, misc stuff.
31781 2002-12-30 Sven Neumann <sven@gimp.org>
31783 * data/environ/Makefile.am
31784 * etc/Makefile.am: fixed EXTRA_DIST rules.
31786 2002-12-30 Sven Neumann <sven@gimp.org>
31788 * app/core/gimpimagefile.c (gimp_imagefile_png_thumb_path): use
31789 proper defines to specify the permissions when calling mkdir().
31791 * app/file/file-utils.c: removed redeclaration of mkdir() for
31792 Win32 since we don't call mkdir() here.
31794 * app/gui/user-install-dialog.c (user_install_run): rewrote
31795 copy_file() to use GError for error reporting. Use the same code
31796 for the user installation on all platforms. Also fixes bug #102015.
31798 * data/misc/Makefile.am
31799 * data/misc/user_install
31800 * data/misc/user_install.bat: removed obsoleted scripts.
31802 2002-12-30 Simon Budig <simon@gimp.org>
31804 * app/vectors/gimpanchor.h
31805 * app/vectors/vectors-types.h: anchors now have an enum as type and
31806 have the "selected" property.
31808 * app/vectors/gimpstroke.[ch]
31809 * app/vectors/gimpbezierstroke.c
31810 * app/vectors/gimpvectors-preview.c: additional functions to get
31811 information about the graphical representation of the stroke and
31812 to be able to select anchors.
31814 * app/tools/gimpvectortool.c: semi-usable interface, better
31815 graphical representation of what is going on. Make use of the
31816 "selected" property of the anchors to just display a subset of the
31819 2002-12-30 Sven Neumann <sven@gimp.org>
31821 * app/config/gimppluginconfig.[ch]
31822 * app/config/gimprc-blurbs.h: added "script-fu-path" back to gimprc.
31824 2002-12-30 Sven Neumann <sven@gimp.org>
31829 * app/widgets/gimpitemfactory.c: removed debugging output.
31831 * app/plug-in/plug-ins.c: need to expand the plug_in_path before
31834 * app/gui/plug-in-menus.c (plug_in_menus_init): removed an
31835 unneeded assertion.
31837 * plug-ins/imagemap/Makefile.am (EXTRA_DIST): removed references
31838 to files that were removed some time ago.
31840 2002-12-30 Sven Neumann <sven@gimp.org>
31842 * app/config/Makefile.am
31843 * app/config/gimppluginconfig.[ch]: new files that define plug-in
31844 specific configuration.
31846 * app/config/config-types.h
31847 * app/config/gimprc-blurbs.h
31848 * app/gimprc.[ch]: derive GimpRc from GimpPluginConfig.
31850 * etc/gimprc: regenerated (gimp-config-dump --system-gimprc).
31852 2002-12-29 Sven Neumann <sven@gimp.org>
31854 * app/core/gimpimagefile.c: another fix for #102016.
31856 2002-12-29 Sven Neumann <sven@gimp.org>
31858 * configure.in: check for app/core/gimp.c instead of etc/gimprc.in
31859 which no longer exists.
31861 * app/gui/user-install-dialog.c: use the term Folder instead of
31862 Directory (fixes bug #102016).
31864 2002-12-29 Sven Neumann <sven@gimp.org>
31869 * etc/gimprc_user.in: removed templates for gimprc files.
31871 * etc/gimprc: added this file as generated by gimp-config-dump.
31873 * app/gui/user-install-dialog.c
31874 * data/misc/user_install: don't install an empty user gimprc.
31876 * app/config/Makefile.am
31877 * app/config/gimpconfig-substitute.[ch]: removed these files.
31878 * app/config/gimpconfig-path.[ch]: and added them again with
31879 reduced functionality. Paths found in config files are now
31880 basically handled like standard strings by the config system.
31881 Users of the GimpConfig path variables need to expand the path
31884 * app/config/gimpbaseconfig.c
31885 * app/config/gimpconfig-deserialize.c
31886 * app/config/gimpconfig-dump.c
31887 * app/config/gimpconfig-utils.c
31888 * app/config/gimpconfig.c
31889 * app/config/gimpcoreconfig.c
31890 * app/config/gimprc.c:
31892 * app/base/temp-buf.c
31894 * app/core/gimpdatafactory.c
31895 * app/core/gimpmodules.c
31896 * app/gui/user-install-dialog.c
31897 * app/plug-in/plug-in.c
31898 * app/tools/tools.c
31899 * app/widgets/gimppropwidgets.c: changed accordingly.
31901 2002-12-29 Simon Budig <simon@gimp.org>
31903 * app/core/gimpimage-mask-select.c
31904 * app/paint/gimppaintcore-stroke.c
31905 * app/tools/gimpvectortool.c
31906 * app/vectors/gimpbezierstroke.[ch]
31907 * app/vectors/gimpstroke.[ch]
31908 * app/vectors/gimpvectors-preview.c: some more stuff for the
31909 vectors tool: bezier interpolation is available, we have preview
31910 generation. Usage is still weird.
31912 2002-12-28 Simon Budig <simon@gimp.org>
31914 * app/vectors/gimpbezierstroke.c: untested and unused stuff
31915 for the interpolation of bezier curves. More to come soon.
31917 2002-12-27 Maurits Rijk <lpeek.mrijk@consunet.nl>
31919 * plug-ins/common/smooth_palette.c (dialog): fix for #82490 (Smooth
31920 Palette: use standard GIMP size entry) and #101902 (Smooth Palette
31921 crashes on 1x1 image). Minimum width for Smooth Palette is set to
31922 2, since in the code g_rand_int_range (gr, 0, width - 2) is used.
31923 Allowing a width of 1 results in an assertion in g_rand_int_range.
31925 2002-12-26 Tor Lillqvist <tml@iki.fi>
31927 * app/Makefile.am: On Win32, create export file gimp.exp.
31928 (EXTRA_DIST): Drop makefile.mingw{,.in}.
31929 (LDFLAGS): Add -mwindows.
31930 (LDADD): Link with gimp.exp.
31932 * app/gimp.sym: Remove all old entries (seemed to be obsolete).
31933 Instead, add the ones linked to from libgimptool and
31936 * app/gui/user-install-dialog.c (user_install_run): On Win32, use
31937 similar code as in GIMP 1.2, i.e. don't run a script to do the
31938 mkdirs and copying, but do it ourselves. Markup the tree_items
31939 elements accordingly to direct the action.
31941 * libgimp/gimp.c: Define LIBGIMP_COMPILATION.
31942 (gimp_main) [Win32] Use g_ascii_strcasecmp().
31944 * libgimp/gimp.def: Add _readchannel (used by libgimpui).
31946 * libgimp/gimp.h: Fix minor typo in comment
31948 * libgimpproxy/Makefile.am
31949 * libgimptool/Makefile.am
31950 * libgimp/Makefile.am: Similar additions for Win32 as in the other
31951 libgimp*/Makefile.am files: Use -no-undefined. Conditionally link
31952 to ../lib*/*.la as needed. Use the .def file. Produce MS style
31953 import library if possible. Install and uninstall import
31956 * libgimp/Makefile.am
31957 * modules/Makefile.am
31958 * plug-ins/Makefile.am: Don't distribute makefile.mingw{,.in}.
31960 * libgimpproxy/gimpproxy.def
31961 * libgimptool/gimptool.def: New files.
31963 * libgimptool/glue.c: New file. Used on Win32 to be able to link
31964 at run-time against entries in the main executable that has loaded
31965 the libgimptool DLL. (If I understand correctly how things are
31966 supposed to work, this will be either gimp.exe or
31967 tool-safe-mode.exe, but that doesn't matter.)
31969 2002-12-23 Maurits Rijk <lpeek.mrijk@consunet.nl>
31971 * libgimp/gimpmiscui.c (gimp_fixme_preview_new): make sure preview
31972 structure is correctly initialized.
31974 * libgimp/gimpmisc.[ch] (gimp_pixel_fetcher_put_pixel): added new
31975 routine to gimpmisc.
31977 2002-12-23 Maurits Rijk <lpeek.mrijk@consunet.nl>
31979 * plug-ins/common/plasma.c: better use of libgimp routines, code
31982 * plug-ins/common/grid.c (doit): fixed small problem in preview when
31983 displaying images with an alpha channel.
31985 * plug-ins/Lighting/lighting_main.c (run): fixed #81479 ("Repeat Last"
31986 incorrectly enabled if Lighting Effects plug-in is cancelled)
31988 2002-12-23 Tor Lillqvist <tml@iki.fi>
31990 * configure.in: When bulding with GCC for Win32, use either
31991 -fnative-struct or -mms-bitfields depending on GCC version. Don't
31992 output the build/.../Makefiles, the build subdir isn't needed here
31993 any longer (see 2001-02-17 entry by Hans Breuer). Don't output the
31994 */makefile.mingw as they are seriously obsolete anyway.
31996 * Makefile.am (SUBDIRS): Remove build subdir here, too.
31998 * libgimpcolor/Makefile.am (EXTRA_DIST)
31999 * libgimpmath/Makefile.am (EXTRA_DIST)
32000 * libgimpbase/Makefile.am (EXTRA_DIST): Drop makefile.mingw{,.in}.
32002 * libgimpmodule/Makefile.am (INCLUDES): Add GMODULE_CFLAGS.
32003 (LIBADD): Add GMODULE_LIBS.
32005 * libgimpwidgets/Makefile.am: Similar additions for Win32 as in
32006 the other libgimp*/Makefile.am files: Use -no-undefined. Use the
32007 .def file. Produce MS style import library if possible. Install
32008 and uninstall import libraries.
32009 (AM_CPPFLAGS) Define LT_RELEASE and LT_CURRENT_MINUS_AGE.
32010 (libgimpwidgets_1_3_la_sources) Include libgimp-glue.c
32012 * libgimpwidgets/libgimp-glue.c: Bypass whole file unless Win32.
32013 (dynamic_resolve): Try both the libtool style DLL name and Hans
32014 Breuer's naming scheme.
32015 (gimp_*) Replace duplicated code snippets with calls of a
32016 preprocessor macro.
32018 2002-12-21 Maurits Rijk <lpeek.mrijk@consunet.nl>
32020 * plug-ins/imagemap/imap_csim.l: add "<string.h> to remove warning.
32022 * plug-ins/imagemap/imap_csim_parse.[ch]: regenerated
32024 * plug-ins/imagemap/imap_csim.y: fix for #97776 (Imagemap can't read
32025 CSIM files after itself)
32027 2002-12-20 Sven Neumann <sven@gimp.org>
32029 * app/config/Makefile.am
32030 * app/config/gimpconfig-blurbs.h: removed ...
32032 * app/config/gimprc-blurbs.h: ... and readded under this
32033 name. Should have never been named with a gimpconfig prefix since
32034 it's not part of the generic GimpConfig system.
32036 * app/config/config-types.h
32037 * app/config/gimpbaseconfig.c
32038 * app/config/gimpconfig-dump.c
32039 * app/config/gimpcoreconfig.c
32040 * app/config/gimpdisplayconfig.c
32041 * app/config/gimpguiconfig.c: changed accordingly.
32043 2002-12-20 Michael Natterer <mitch@gimp.org>
32045 * app/xcf/xcf.c: use G_N_ELEMENTS().
32047 2002-12-20 Sven Neumann <sven@gimp.org>
32049 * app/config/gimpconfig.c (gimp_config_serialize): check the return
32052 2002-12-20 Nathan Summers <rock@gimp.org>
32054 * app/xcf/xcf-write.[ch]
32055 * app/xcf/xcf-save.c
32056 * app/xcf/xcf.c: ported the fix for bug #101340 over from the
32057 stable branch. Uses GError to report errors, unlike the stable
32058 version, which uses a pointer to gboolean.
32060 * app/xcf/xcf-seek.[ch]: check the return value of fseek and ftell
32061 for errors. Return FALSE and set GError if an error is detected.
32063 * app/xcf/xcf-load.c: since the xcf-seek functions use GError now,
32064 added a NULL for the error parameter. Added basic error checking
32065 on the return value of the xcf-seek functions. In the future,
32066 changing xcf-load.c to use GError more completely should be
32069 2002-12-19 Maurits Rijk <lpeek.mrijk@consunet.nl>
32071 * plug-ins/common/grid.c: replaced preview code by calls to libgimp
32073 * plug-ins/imagemap/imap_file.c
32074 * plug-ins/imagemap/imap_menu.c: use g_file_test funcs to test if
32075 a file already exists instead of a call to fstat().
32077 2002-12-19 Maurits Rijk <lpeek.mrijk@consunet.nl>
32079 * plug-ins/common/wind.c (dialog_box)
32080 * plug-ins/common/nova.c (nova_center_create)
32081 * plug-ins/common/max_rgb.c (dialog)
32082 * plug-ins/common/jigsaw.c (dialog_box)
32083 * plug-ins/common/flarefx.c (flare_center_create)
32084 * plug-ins/common/illusion.c
32085 * plug-ins/common/glasstile.c: add parameter to call to
32086 gimp_fixme_preview_new
32088 * libgimp/gimpmiscui.[ch] (gimp_fixme_preview_new): Added boolean
32089 parameter has_frame to put the preview into a frame. Preview now
32090 also handles indexed images correctly.
32092 2002-12-19 Michael Natterer <mitch@gimp.org>
32094 * libgimpwidgets/gimpcolorscales.c: mark "Scales" for translation.
32096 2002-12-19 Michael Natterer <mitch@gimp.org>
32098 * app/widgets/gimpwidgets-utils.[ch]: added utility functions
32099 gimp_get_mod_name_[shift|control|alt]() and gimp_get_mod_separator()
32100 which get the translated strings for "Shift", "Ctrl", "Alt" and "+"
32101 from GtkAccelLabelClass to force consistency between menu
32102 accelerators and other modifiers displayed in the GUI.
32103 Made the format string to display the modifier ("<%s>")
32104 translatable separately.
32106 * app/gui/file-open-dialog.c
32107 * app/tools/gimpbucketfilltool.c
32108 * app/tools/gimpconvolvetool.c
32109 * app/tools/gimpcroptool.c
32110 * app/tools/gimpdodgeburntool.c
32111 * app/tools/gimperasertool.c
32112 * app/tools/gimpfliptool.c
32113 * app/tools/gimpmagnifytool.c
32114 * app/tools/gimpmovetool.c
32115 * app/tools/transform_options.c
32116 * app/widgets/gimpchannellistview.c
32117 * app/widgets/gimpdocumentview.c
32118 * app/widgets/gimpgradienteditor.c
32119 * app/widgets/gimpitemlistview.c
32120 * app/widgets/gimpvectorslistview.c: use the new functions instead
32121 of hardcoding the modifier names over and over again.
32123 * app/tools/transform_options.c: made a scale_entry out of the
32124 grid density spinbutton.
32126 2002-12-19 Michael Natterer <mitch@gimp.org>
32128 * libgimpwidgets/gimpcolordisplay.c (gimp_color_display_class_init):
32129 initialize all class members with default values.
32131 2002-12-19 Michael Natterer <mitch@gimp.org>
32133 * libgimpmodule/gimpmodule.c: use g_message/g_print consistently.
32135 2002-12-19 Michael Natterer <mitch@gimp.org>
32137 * libgimp/gimpdrawable.c (gimp_drawable_attch_new_parasite):
32138 s/drawable/drawable_ID/ to match the header.
32140 2002-12-18 Michael Natterer <mitch@gimp.org>
32142 * app/tools/gimpcurvestool.c
32143 * app/tools/gimplevelstool.c: replaced lots of "gpointer data"
32144 parameters of local callbacks by GimpCurvesTool* and
32145 GimpLevelsTool* pointers. Makes the code shorter and more
32146 readable. Some random cleanup.
32148 * app/tools/gimphistogramtool.c: fixed type of "parent_class"
32151 2002-12-18 Michael Natterer <mitch@gimp.org>
32153 * app/display/gimpdisplayshell.c (gimp_display_shell_new): fixed
32154 ascii-art to match current widget hierarchy.
32156 * app/display/gimpdisplayshell-handlers.c: fixed typos so we
32157 actually connect to notify::monitor-[xy]resolution. Expose and
32158 flush the display in the handler so the resolution change becomes
32161 2002-12-18 Michael Natterer <mitch@gimp.org>
32163 * modules/cdisplay_colorblind.c (cdisplay_colorblind_get_type)
32164 * modules/cdisplay_gamma.c (cdisplay_gamma_get_type)
32165 * modules/cdisplay_highcontrast.c (cdisplay_contrast_get_type):
32166 s/select_info/display_info/
32168 2002-12-18 Sven Neumann <sven@gimp.org>
32170 * libgimp/gimpgradientmenu.c (gimp_gradient_select_widget): match
32171 the parameter name in the header to please gtk-doc.
32173 2002-12-17 Manish Singh <yosh@gimp.org>
32175 * app/core/gimpenvirontable.[ch]: added some rudimentary support
32176 to prepend values to existing environment variables. You can do
32177 "separator name=value" now. API change to gimp_environ_table_add
32178 for it too. Also added some error checking.
32180 * app/gui/gui.c: change to new above API
32182 * plug-ins/pygimp/Makefile.am: write ": PYTHONPATH=" out to env
32185 * po/POTFILES.in: add gimpenvirontable.c
32187 2002-12-17 Maurits Rijk <lpeek.mrijk@consunet.nl>
32189 * plug-ins/gimpressionist/Presets/*: changed all \010 in strings by
32190 \012 so that the g_strcompress/g_strescape pair now works correctly.
32192 * plug-ins/gimpressionist/sizemap.c
32193 * plug-ins/gimpressionist/orientmap.c: reordered Apply/Cancel/Ok
32194 buttons in dialogs.
32196 * plug-ins/gimpressionist/presets.c
32197 * plug-ins/gimpressionist/paper.c
32198 * plug-ins/gimpressionist/brush.c
32199 * plug-ins/gimpressionist/gimpressionist.[ch]: replace deprecated
32200 GtkList by GtkTreeView widgets.
32202 2002-12-17 Maurits Rijk <lpeek.mrijk@consunet.nl>
32204 * plug-ins/Lighting/lighting_ui.[ch]
32205 * plug-ins/Lighting/lighting_preview.c: applied patch from Jeroen
32206 Lamain. Dragging of lightsource is more smoothly now plus you can
32207 now also drag directional lights.
32209 2002-12-17 Nathan Summers <rock@gimp.org>
32211 * libgimp/gimpbrushmenu.c
32212 * libgimp/gimpgradientmenu.c
32213 * libgimp/gimppatternmenu.c: documented all publically visible
32216 * libgimp/gimpmenu.h: fixed a typo
32218 2002-12-17 Nathan Summers <rock@gimp.org>
32220 * libgimp/gimp.[ch]
32221 * libgimp/gimpdrawable.c
32222 * libgimp/gimpimage.c: added some documentation
32224 2002-12-17 Sven Neumann <sven@gimp.org>
32226 * plug-ins/perl/Gimp.pm: merged fix for #84884 from stable branch.
32228 2002-12-17 Sven Neumann <sven@gimp.org>
32230 * app/main.c: merged fix for #71409 from stable branch.
32232 * plug-ins/common/jpeg.c: merged fix for #75398 from stable branch.
32234 2002-12-17 Michael Natterer <mitch@gimp.org>
32236 * app/tools/gimptransformtool.c
32237 * app/tools/transform_options.[ch]: replaced the totally unclear
32238 (to the user) way we used to calculate the number of grid lines
32239 from the value entered in the "Density" spinbutton by a system
32240 where the user has the choice between the number of grid lines to
32241 display and the spacing between the displayed grid lines. Replaced
32242 the "Show Grid" toggle by an option menu to choose the grid type
32243 from. (idea from drc on #gimp).
32245 2002-12-16 Michael Natterer <mitch@gimp.org>
32247 * plug-ins/common/CML_explorer.c
32248 * plug-ins/common/spheredesigner.c: use g_ascii_dtostr() to
32251 2002-12-16 Michael Natterer <mitch@gimp.org>
32253 * plug-ins/common/ps.c (save_ps_setup): applied a patch from
32254 Henrik Brix Andersen <brix@gimp.org> which fixes bug #101263.
32256 2002-12-16 Sven Neumann <sven@gimp.org>
32258 * modules/cdisplay_colorblind.c: use scientific terms and added an
32259 approximation formula for tritanopia.
32261 2002-12-16 Michael Natterer <mitch@gimp.org>
32263 * modules/Makefile.am
32264 * modules/cdisplay_colorblind.c: added a display filter which will
32265 simulate the vision of people with color-deficiency to address
32266 bug #101256. Didn't know any scientific name or any correct formula,
32267 so I just added the framework plus the approximation formula from
32268 the bug report. Will need some more work to become useable.
32270 2002-12-16 Sven Neumann <sven@gimp.org>
32272 * plug-ins/common/noisify.c (noisify_func): sorry, you can only
32273 declare a variable at the beginning of a block.
32275 2002-12-16 Sven Neumann <sven@gimp.org>
32277 * docs/Wilber_Construction_Kit.xcf.gz: more Wilber gadgets added by
32278 Guillermo S. Romero.
32280 2002-12-15 Maurits Rijk <lpeek.mrijk@consunet.nl>
32282 * plug-ins/common/displace.c
32283 * plug-ins/common/ripple.c
32284 * plug-ins/common/shift.c
32285 * plug-ins/common/spread.c
32286 * plug-ins/common/tileit.c
32287 * plug-ins/common/noisify.c: code clean-up, fixed memory leak,
32288 better use of libgimp routines.
32290 2002-12-15 Sven Neumann <sven@gimp.org>
32292 * app/gui/user-install-dialog.c: set text and base colors as well
32293 to make the user installation dialog work on dark themes. Fixes
32296 2002-12-14 Sven Neumann <sven@gimp.org>
32298 * plug-ins/common/sel_gauss.c: applied a patch from Toby Smith
32299 that fixes bug #90968.
32301 2002-12-14 Michael Natterer <mitch@gimp.org>
32303 * app/plug-in/plug-ins.c (plug_ins_proc_def_add): fixed a comment.
32305 2002-12-14 Manish Singh <yosh@gimp.org>
32307 * app/config/gimpconfig-params.c (gimp_param_memsize_get_type):
32308 size should be from GParamSpecULong, not GParamSpecUInt.
32310 2002-12-14 Michael Natterer <mitch@gimp.org>
32312 * app/display/gimpdisplayshell.[ch]
32313 (gimp_display_shell_set_menu_sensitivity): renamed paramater
32314 "update_popup" to "popup_only" because it's less confusing. Fixed
32315 the function to update the popup correctly for shell = NULL.
32317 2002-12-14 Michael Natterer <mitch@gimp.org>
32319 * app/gui/plug-in-commands.c (plug_in_repeat_cmd_callback):
32320 use gdisp->gimage->gimp instead of the_gimp.
32322 * app/tools/gimpimagemaptool.c: pass update_popup == FALSE to
32323 gimp_display_shell_set_menu_sensitivity().
32325 2002-12-14 Sven Neumann <sven@gimp.org>
32327 * app/gui/plug-in-commands.c (plug_in_repeat_cmd_callback): data
32328 is not a Gimp pointer if this function is called from an image
32329 menubar. Use the_gimp instead of crashing.
32331 2002-12-14 Sven Neumann <sven@gimp.org>
32333 * app/tools/gimpimagemaptool.c: made it compile after Mitch's
32336 2002-12-14 Michael Natterer <mitch@gimp.org>
32338 Changed menubar showing/hiding to work like rulers and statusbar:
32340 * app/config/gimpconfig-blurbs.h
32341 * app/config/gimpdisplayconfig.[ch]: renamed "menu_bar_per_display"
32342 to "show_menubar". Removed GIMP_PARAM_RESTART flag.
32344 * app/display/gimpdisplayshell.[ch]: changed shell->item_factory to
32345 shell->menubar_factory plus shell->popup_factory and always create
32346 both of them. Added "gboolean update_popup" to
32347 gimp_display_shell_set_menu_sensitivity() and call it recursively
32348 with update_popup == TRUE if the display it is called for is the
32351 * app/display/gimpdisplay.c
32352 * app/display/gimpdisplayshell-callbacks.c: changed accordinly.
32354 * app/gui/gui.c: ditto. Set the menu sensitivity of new displays.
32356 * app/gui/menus.c: added "<Image>/View/Toggle Menubar" menu item.
32357 Moved some factory initialization code from gimpdisplayshell.c
32360 * app/gui/view-commands.[ch]: added
32361 view_toggle_menubar_cmd_callback(). Update the menu sensitivity
32362 manually in all callbacks which don't call gimp_image_flush().
32364 * app/gui/preferences-dialog.c (prefs_dialog_new): moved the "Show
32365 Menubar" toggle to the "Appearance" frame of the "Image Windows"
32366 page. Added an own frame for the display zoom/scaling settings.
32368 (preferences_dialog_create): Attach config_copy and config_orig
32369 using g_object_set_data_full() instead of just g_object_set_data()
32370 plus a g_object_weak_ref().
32372 (prefs_default_resolution_callback): set the resolution for both
32373 fields of the "size_sizeentry" instead of setting it for "x"
32376 2002-12-14 Maurits Rijk <lpeek.mrijk@consunet.nl>
32378 * plug-ins/imagemap/imap_preferences.c: make sure that undo level
32379 is at least 1. Fixes #97771
32381 * plug-ins/imagemap/imap_file.c: fixes #92750
32383 2002-12-13 Maurits Rijk <lpeek.mrijk@consunet.nl>
32385 * plug-ins/imagemap/imap_settings.c
32386 * plug-ins/imagemap/imap_source.[ch]: remove usage of deprecated
32389 * plug-ins/imagemap/arrow_up.xpm
32390 * plug-ins/imagemap/arrow_down.xpm: removed.
32392 * plug-ins/imagemap/imap_main.c
32393 * plug-ins/imagemap/imap_misc.[ch]: clean-up some code since we now
32394 only use stock icons.
32396 * plug-ins/imagemap/imap_selection.c: use GTK stock icons for arrow up
32399 * plug-ins/imagemap/imap_default_dialog.c: code clean-up
32401 2002-12-13 Sven Neumann <sven@gimp.org>
32403 * tools/pdbgen/pdb/drawable.pdb
32404 * tools/pdbgen/pdb/selection.pdb: merged fix for bug #96284 from
32407 * app/pdb/drawable_cmds.c
32408 * app/pdb/selection_cmds.c
32409 * libgimp/gimpdrawable_pdb.c
32410 * libgimp/gimpselection_pdb.c: regenerated.
32412 2002-12-13 Sven Neumann <sven@gimp.org>
32414 * plug-ins/common/tiff.c: merged fix for #97352 from stable branch.
32416 * app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
32417 merged fix for #79486 from stable branch.
32419 2002-12-13 Sven Neumann <sven@gimp.org>
32421 * libgimp/gimpintl.h
32422 * libgimp/libgimp-intl.h
32423 * plug-ins/script-fu/script-fu-scripts.c: removed remaining usage
32426 2002-12-13 Sven Neumann <sven@gimp.org>
32428 * tools/pdbgen/pdb/image.pdb: added new PDB function
32429 gimp_image_is_dirty() on request of Wolfgang Hofer (#77508).
32431 * app/pdb/image_cmds.c
32432 * app/pdb/internal_procs.c
32433 * libgimp/gimpimage_pdb.h: regenerated.
32435 2002-12-12 Maurits Rijk <lpeek.mrijk@consunet.nl>
32437 * plug-ins/gimpressionist/color.c
32438 * plug-ins/gimpressionist/general.c
32439 * plug-ins/gimpressionist/gimpressionist.[ch]
32440 * plug-ins/gimpressionist/placement.c
32441 * plug-ins/gimpressionist/presets.c: last bunch of changes to solve
32444 2002-12-12 Sven Neumann <sven@gimp.org>
32446 * app/gui/preferences-dialog.c (prefs_color_button_add): create the
32447 color button for the canvas padding color using GIMP_COLOR_AREA_FLAT.
32449 2002-12-11 Sven Neumann <sven@gimp.org>
32451 * plug-ins/script-fu/scripts/ripply-anim.scm: applied a patch from
32452 Chris Purnell <cjp@lost.org.uk> that adds the possibility to
32453 specify the edge behaviour (#83767).
32455 2002-12-10 Michael Natterer <mitch@gimp.org>
32457 The unbelievable happened: a menu bar per display (optionally)
32459 * app/widgets/gimpitemfactory.[ch]: Added the possibility to have
32460 more than one item factory per <Prefix>. Added
32461 gimp_item_factories_set_foobar() variants of all functions which
32462 set menu item properties (label, sensitive, ...). Removed
32463 the #ifndef ENABLE_NLS code since that's no longer possible.
32465 * app/widgets/gimptoolbox.c: made it robust againt the <Image>
32466 factory not existing at the time of toolbox creation.
32468 * app/config/gimpconfig-blurbs.h
32469 * app/config/gimpdisplayconfig.[ch]: added boolean
32470 "menu_bar_per_display" property.
32472 * app/gui/preferences-dialog.c: added a toggle for the new option.
32474 * app/gui/menus.[ch]: added menus_get_new_image_factory() as
32475 temporary solution. Will add a GimpMenuFactory which creates the
32476 item factories soon.
32478 * app/display/gimpdisplayshell.c: add the menu bar if requested.
32479 Changed widget packing slightly for the menu bar case.
32481 * app/display/gimpdisplayshell-callbacks.c: changed accordingly.
32482 Currently there is no right-click popup menu when we have a menu
32483 bar. This will change soon.
32485 * app/gui/file-dialog-utils.c
32486 * app/gui/gui.c: use gimp_item_factories_set_foo().
32488 * app/gui/channels-commands.c
32489 * app/gui/dialogs-commands.c
32490 * app/gui/dialogs-constructors.c
32491 * app/gui/drawable-commands.c
32492 * app/gui/edit-commands.c
32493 * app/gui/file-commands.c
32494 * app/gui/image-commands.c
32495 * app/gui/layers-commands.c
32496 * app/gui/plug-in-commands.c
32497 * app/gui/select-commands.c
32498 * app/gui/tools-commands.c
32499 * app/gui/vectors-commands.c
32500 * app/gui/view-commands.c: per-display item factories pass the
32501 GimpDisplay as user_data to callbacks, not a Gimp. Changed all
32502 return_if_no_foo() macros to handle both cases.
32504 Cleaned up the plug-in menu stuff:
32506 * app/plug-in/plug-in-types.h: removed PlugInMenuEntry type.
32508 * app/plug-in/plug-ins.[ch]: added plug_ins_proc_def_add() as
32509 counterpart to plug_ins_proc_def_remove(). Added
32510 plug_ins_locale_domain() as counterpart to plug_ins_help_path().
32511 Remember the locale domains just as the help paths. Changed
32512 plug-in initialization so that their menus can be created multiple
32515 * app/plug-in/plug-in.[ch]: use plug_ins_proc_def_add() instead of
32518 * app/gui/plug-in-menus.[ch]: added plug_in_menus_init() which
32519 just registers the locale domains. Changed plug_in_make_menu() to
32520 take a list of proc_defs, not plug_ins_defs so it can be used
32521 after plug-in query.
32523 2002-12-10 Michael Natterer <mitch@gimp.org>
32525 * app/app_procs.c: fixed typo, use "gimp->no_interface" instead of
32526 simply "no_interface" in the "exit" handler.
32528 2002-12-10 Maurits Rijk <lpeek.mrijk@consunet.nl>
32530 * plug-ins/gimpressionist/brush.c
32531 * plug-ins/gimpressionist/gimpressionist.c
32532 * plug-ins/gimpressionist/paper.c
32533 * plug-ins/gimpressionist/presets.c
32534 * plug-ins/gimpressionist/sizemap.c
32535 * plug-ins/gimpressionist/orientmap.c: more changes to make
32536 gimpressionist look like a standard GIMP plug-in (#81963) plus lots
32539 2002-12-08 Michael Natterer <mitch@gimp.org>
32541 * plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call): fixed
32542 color_list iteration for GIMP_PDB_COLOR args. Closes bug #100696.
32544 2002-12-06 Hans Breuer <hans@breuer.org>
32546 * plug-ins/common/winclipboard.c : need to adjust the data
32547 pointer for BI_BITFIELDS bitmaps, fixes #99246
32549 2002-12-06 Sven Neumann <sven@gimp.org>
32551 * app/paint/gimppaintcore.c: no need to include app_procs.h here.
32553 * app/display/gimpdisplay-foreach.c (gimp_displays_dirty)
32554 (gdisplays_check_valid): don't use the global the_gimp. Removed
32555 inclusion of app_procs.h.
32557 2002-12-05 Michael Natterer <mitch@gimp.org>
32559 Cleaned up the exit process:
32561 * app/core/gimp.[ch]: added an "exit" signal which carries a
32562 "gboolean kill_it" parameter and has a boolean return value.
32563 Added gimp_boolean_handled_accumulator() so the emission of "exit"
32564 can be stopped by returning TRUE from a callback. Removed
32565 gimp_shutdown() from the public API and made it "exit"'s default
32566 implementation. Added gimp_exit() to emit the signal.
32568 * app/core/gimpmarshal.list: added BOOLEAN__BOOLEAN marshaller.
32570 * app/gui/gui.[ch]: Replaced public functions gui_shutdown() and
32571 gui_exit() by "exit" callbacks. g_signal_connect_after() the
32572 latter so the shutdown order is correct.
32574 * app/app_procs.[ch]: removed app_exit() and connect to "exit".
32575 Split the exit stuff into normal and connect_after callbacks as
32579 * app/gui/file-commands.c
32580 * tools/pdbgen/pdb/misc.pdb
32581 * app/widgets/gimptoolbox.c: call gimp_exit() instead of
32582 app_exit(). Don't #include "app_procs.h".
32584 * app/pdb/misc_cmds.c: regenerated.
32586 2002-12-05 Sven Neumann <sven@gimp.org>
32588 * app/core/gimpbrushpipe.c: use the same string as in
32589 gimpbrushpipe.c to reduce the number of translatable strings.
32591 2002-12-04 Sven Neumann <sven@gimp.org>
32593 * app/display/gimpdisplayshell-render.c (render_image_tile_fault):
32594 removed useless assignments.
32596 * plug-ins/common/aa.c: removed wrong assertions that caused the
32597 plug-in to crash on images with odd width or height (#100344).
32598 Added support for RGB images as well as alpha channel while I was
32601 2002-12-04 Michael Natterer <mitch@gimp.org>
32603 * app/Makefile.am: added -DGIMP_APP_GLUE_COMPILATION to
32608 * app/errors.h: #error if it is not defined to keep these files
32609 from being included from anywhere else.
32611 * app/app_procs.h: added just a #warning because some places still
32612 need "the_gimp" and app_exit().
32614 * app/libgimp_glue.h: #ifdef the #error the same way as the other
32617 2002-12-03 Michael Natterer <mitch@gimp.org>
32619 * app/display/gimpdisplay-foreach.[ch]: renamed
32620 gdisplays_reconnect() to gimp_displays_reconnect() and added a
32623 * app/gui/file-commands.c
32624 * tools/pdbgen/pdb/display.pdb: changed accordingly.
32626 * tools/pdbgen/pdb/brush_select.pdb
32627 * tools/pdbgen/pdb/gradient_select.pdb
32628 * tools/pdbgen/pdb/palette_select.pdb
32629 * tools/pdbgen/pdb/pattern_select.pdb: some irrelevant
32630 code cleanups to make them look the same.
32632 * tools/pdbgen/pdb/message.pdb: changed $desc from "Interface"
32633 to "Message procedures".
32635 * tools/pdbgen/pdb/transform_tools.pdb: changed $desc from
32636 "Tool procedures" to "Transform Tool procedures".
32638 * app/pdb/brush_select_cmds.c
32639 * app/pdb/display_cmds.c
32640 * app/pdb/gradient_select_cmds.c
32641 * app/pdb/internal_procs.c
32642 * app/pdb/palette_select_cmds.c
32643 * app/pdb/pattern_select_cmds.c: regenerated.
32645 2002-12-03 Michael Natterer <mitch@gimp.org>
32647 * libgimpwidgets/gimpcolorbutton.c: named the menu separator
32648 "/fg-bg-separator", not just "/---".
32650 * app/widgets/gimpcolorpanel.[ch]: added a GimpContext pointer to
32651 get FG/BG from. Don't use "the_gimp" and don't include
32652 "app_procs.h". Added gimp_color_panel_set_context(). Hide the
32653 FG/BG menu entries if we have no context.
32655 * app/gui/channels-commands.c
32656 * app/gui/preferences-dialog.c
32657 * app/gui/qmask-commands.c
32658 * app/display/gimpdisplayshell.c: set the color_panel's context.
32660 2002-12-03 Sven Neumann <sven@gimp.org>
32662 * plug-ins/ifscompose/ifscompose.c: made it a lot less deprecated.
32664 2002-12-03 Sven Neumann <sven@gimp.org>
32666 * plug-ins/ifscompose/ifscompose.c: removed broken code that used
32667 to update the preview when the user releases the button after
32668 moving a slider. Instead set the range to UPDATE_DELAYED and
32669 update the preview on "value_changed". Fixes bug #97350.
32671 2002-12-03 Sven Neumann <sven@gimp.org>
32673 * tools/pdbgen/pdb/display.pdb
32674 * tools/pdbgen/pdb/layer.pdb: applied a modified version of a
32675 patch from Wolfgang Hofer <hof@gimp.org> that adds two new PDB
32676 functions needed for GAP: gimp_displays_reconnect() and
32677 gimp_layer_new_from_drawable() (bug #77508).
32679 * app/pdb/display_cmds.c
32680 * app/pdb/internal_procs.c
32681 * app/pdb/layer_cmds.c
32682 * libgimp/gimpdisplay_pdb.[ch]
32683 * libgimp/gimplayer_pdb.[ch]: regenerated.
32685 2002-12-03 Sven Neumann <sven@gimp.org>
32687 * app/tools/tool_manager.c (tool_manager_control_active): check
32688 for gdisp != NULL to avoid to crash when being called from
32689 indexed_ok_callback().
32691 2002-12-03 Sven Neumann <sven@gimp.org>
32693 * configure.in: do as the gtk+ folks did and replace the gtk-doc
32694 version check with an all-sh version (#99216).
32696 2002-12-02 Sven Neumann <sven@gimp.org>
32698 * app/core/gimpdata.c (gimp_data_save): don't check filename for
32699 internal GimpData objects because they are never saved.
32701 * app/config/gimprc.c: made verbose an object property so that its
32702 value is copied by gimp_config_duplicate().
32704 2002-12-02 Sven Neumann <sven@gimp.org>
32706 * app/config/gimpconfig-blurbs.h
32707 * app/config/gimpconfig-dump.c: minor changes.
32709 2002-12-02 Sven Neumann <sven@gimp.org>
32711 * app/config/gimpconfig-serialize.c: fixed serialization of empty
32712 string properties that I broke yesterday.
32714 2002-12-02 Michael Natterer <mitch@gimp.org>
32716 * app/core/gimpdata.[ch]: use GError for reporting load/save
32717 errors. Added gimp_data_error_quark() and a GimpDataError enum.
32718 Made simple virtual functions out of save(), get_extension()
32719 and duplicate() because they don't need to be signals.
32721 * app/core/gimpbrush.[ch]
32722 * app/core/gimpbrushgenerated.[ch]
32723 * app/core/gimpbrushpipe.[ch]
32724 * app/core/gimpgradient.[ch]
32725 * app/core/gimppalette.[ch]
32726 * app/core/gimppattern.[ch]: changed accordingly. Set data->dirty
32727 to FALSE in each _load() function.
32729 * app/core/gimpdatafactory.[ch]: report GError messages here.
32730 Changed the ugly factory->path pointer location hack to
32731 factory->path_property_name and get the path from
32732 factory->gimp->config. Added gimp_data_factory_data_duplicate()
32733 implementation which was already declared in the header.
32735 * app/core/gimp.c: pass the path property name to
32736 gimp_data_factory_new().
32738 * app/widgets/gimpdatafactoryview.c: removed the duplicate
32739 implementation and call gimp_data_factory_data_duplicate().
32741 * app/core/gimpgradient.[ch]: added gimp_gradient_save_as_pov().
32743 * app/gui/gradients-commands.c: removed save_as_pov implementation
32744 and call gimp_gradient_save_as_pov().
32746 2002-12-01 Sven Neumann <sven@gimp.org>
32748 * app/config/gimpconfig-blurbs.h: small cleanup.
32750 * app/config/gimpconfig-serialize.[ch]: export more functionality.
32752 * app/config/gimpconfig-dump.c: added some code to dump a
32753 commented version of the system-wide gimprc with default values.
32755 2002-12-01 Sven Neumann <sven@gimp.org>
32757 * app/core/core-types.h: prefix PIXELS and POINTS with GIMP
32758 instead of SIZE so we don't break the libgimp API without a good
32761 * app/pdb/text_tool_cmds.c
32762 * tools/pdbgen/enums.pl: regenerated.
32764 * libgimp/gimpmisc.[ch]: removed gimp_timer functions since the
32765 GTimer API is simple enough and doesn't need to be wrapped.
32767 * plug-ins/common/newsprint.c
32768 * plug-ins/common/unsharp.c: use GTimer.
32770 2002-12-01 Michael Natterer <mitch@gimp.org>
32772 * libgimpwidgets/gimpdatafiles.c: s/S_ISLINK/S_ISNLK/ (was never
32773 compiled before Hans fixed the #ifdef).
32775 2002-11-30 Maurits Rijk <lpeek.mrijk@consunet.nl>
32777 * plug-ins/common/flarefx.c:
32778 * plug-ins/common/jigsaw.c:
32779 * plug-ins/common/nova.c
32780 * plug-ins/common/wind.c
32781 * plug-ins/common/illusion.c
32782 * plug-ins/common/glasstile.c
32783 * plug-ins/common/max_rgb.c: replace preview code by calls to libgimp
32785 * libgimp/Makefile.am: added gimpmiscui.[ch]
32786 * libgimp/gimpmiscui.[ch]: new files. For now contain effect preview
32787 stuff collected from several plug-ins. Warning: this is NOT the new
32788 effect preview widget I'm writing, just a first step to cleaning up a
32791 2002-11-30 Hans Breuer <hans@breuer.org>
32793 * */makefile.msc */*/makefile.msc : updated
32795 * themes/Default/images/makefile.msc : new file
32796 * themes/Default/makefile.msc : removed
32798 * libgimpwidgets/gimpwidgets.def : updated
32800 * app/core/core-types.h : renamed PIXELS and POINTS
32801 to SIZE_* to avoid clashes with system headers
32802 * app/pdb/text_tool_cmds.c : updated ...
32803 * tools/pdbgen/enums.pl : ... by renaming here too.
32805 * app/widgets/gimphistogrambox.c : <string.h> for memcpy()
32806 * app/widgets/gimppropwidgets.c : <string.h> for strlen()
32808 * app/config/gimpconfig.c : on win32 rename always fails
32809 if the destination file exists. Delete it first.
32811 * libgimp/gimp.def : removed all '_'-prefixed exports
32812 * plug-ins/common/iwarp.c : replace _gimp_layer_copy()
32813 with gimp_layer_copy(), gimp_layer_add_alpha()
32815 * libgimp/gimpmisc.c : ported gimp_timer funcs to use
32816 g_timer to be more portable
32818 * libgimpbase/gimpdatafiles.c : there are no symlinks on
32819 win32, inverted to #ifndef G_OS_WIN32 as it was meant.
32821 * libgimpbase/gimpbase.def libgimpmodule/gimpmodule.def
32822 libgimpwidgets/gimpwidgets.def : updated externals
32824 * plug-ins/common/randomize.c plug-ins/common/sinus.c :
32825 don't initialize more than the defined struct size
32827 * plug-ins/common/warp.c : removed unneeded unistd.h and
32830 * regexrepl/regexrepl.def : (new file) needed to build
32833 2002-12-01 Michael Natterer <mitch@gimp.org>
32835 * app/core/gimp.[ch]: added "gboolean use_shm" to the Gimp struct
32838 * app/app_procs.c: pass "use_shm" to gimp_new().
32840 * app/plug-in/plug-in.c (plug_in_init): get "use_shm" from the
32841 passed "gimp". Don't include "appenv.h" and "app_procs.h".
32843 2002-11-30 Michael Natterer <mitch@gimp.org>
32845 * app/display/gimpnavigationview.c: no need to include "appenv.h"
32847 * app/tools/gimpinktool.c: pass InkOptions as user_data to the
32848 ink_type_update() callback so we don't need to get them from
32849 "the_gimp". Removed inclusion of "app_procs.h".
32851 2002-11-30 Michael Natterer <mitch@gimp.org>
32853 * app/paint-funcs/paint-funcs.[ch]: added "gboolean use_mmx"
32854 parameter to paint_funcs_setup(). Don't #include "appenv.h".
32856 * app/base/base.c: pass "use_mmx" to paint_funcs_setup().
32858 2002-11-30 Michael Natterer <mitch@gimp.org>
32860 * app/base/base-types.h: removed the global "base_config" variable.
32862 * app/base/base.[ch]: added "gboolean use_mmx" to base_init().
32863 Don't #include "appenv.h". Pass around more parameters to reduce
32864 the usage of the global "paint_options" pointer.
32866 * app/app_procs.c: pass "use_mmx" to base_init().
32868 * app/base/temp-buf.c: pass "temp_path" around internally. Declare
32869 "base_config" extern and added a #warning.
32871 * app/core/gimpdata.[ch]
32872 * app/core/gimpbrush.[ch]
32873 * app/core/gimpbrushgenerated.[ch]
32874 * app/core/gimpbrushpipe.[ch]
32875 * app/core/gimpgradient.[ch]
32876 * app/core/gimppalette.[ch]
32877 * app/core/gimppattern.[ch]: added "gboolean stingy_memory_use"
32878 parameters to all _new(), _load() and _duplicate() functions.
32880 * app/core/gimpmarshal.list: GimpData::duplicate needs an
32881 OBJECT__BOOLEAN marshaller now.
32883 * app/core/gimpdatafactory.[ch]: added a "Gimp" pointer so the
32884 factory can find the config. Pass base_config->stingy_memory_use
32885 to the GimpData functions changed above.
32887 * app/core/gimp-gradients.c
32889 * app/core/gimppalette-import.c
32890 * app/gui/palettes-commands.c
32891 * app/widgets/gimpdatafactoryview.c: changed accordingly.
32893 * app/core/gimpcontext.c: get "stingy_memory_use" from
32894 context->gimp->config.
32896 2002-11-30 Michael Natterer <mitch@gimp.org>
32898 * app/core/gimp.[ch]: added gimp->edit_config which is a copy of
32899 gimp->config except for GIMP_PARAM_RESTRT options. Create it in
32900 gimp_set_config() which must be called before anything else after
32901 gimp_new(). Install "notify" handlers between the both to keep
32902 them up-to-date. Enable auto saving for the edit_config.
32904 * app/app_procs.c: call gimp_set_config().
32906 * tools/pdbgen/pdb/gimprc.pdb: use gimp->edit_config here so we
32907 don't accidentially change GIMP_PARAM_RESTART values from the PDB.
32909 * app/pdb/gimprc_cmds.c: regenerated.
32911 * app/gui/preferences-dialog.c: use gimp->edit_config as the base
32912 for all prefs operations. Disable auto saving while the prefs
32913 dialog is open. No need any more to parse the saved gimprc to get
32914 GIMP_PARAM_RESTART values. Removed GIMP_PARAM_RESTART special
32915 hacks because edit_config handles them transparently for us.
32919 * app/core/gimpimage.c (gimp_image_init): initialize active_vectors.
32921 * app/gui/gui.c (gui_image_disconect): when the last image
32922 disappears, show the toolbox only if the image had a display.
32924 2002-11-29 Michael Natterer <mitch@gimp.org>
32926 * app/widgets/gimpdnd.c: more useful debugging output.
32928 2002-11-29 Michael Natterer <mitch@gimp.org>
32930 * libgimpwidgets/gimpwidgets.c (gimp_pixmap_button_new):
32931 use gtk_label_new_with_mnemonic().
32933 * plug-ins/common/uniteditor.c: Treeviewized and undeprecated.
32934 Removed all static variables. Cleanup.
32936 2002-11-28 Sven Neumann <sven@gimp.org>
32938 * app/config/Makefile.am
32939 * app/config/gimpconfig-params-blurbs.h: removed ...
32940 * app/config/gimpconfig-blurbs.h: ... and readded under this name.
32941 Defined all missing blurb definitions to NULL.
32943 * app/config/gimpconfig-params.h: added a blurb parameter to all
32944 GIMP_CONFIG_INSTALL_PROP_* macros.
32946 * app/config/gimpbaseconfig.c
32947 * app/config/gimpcoreconfig.c
32948 * app/config/gimpdisplayconfig.c
32949 * app/config/gimpguiconfig.c: register blurbs with the GimpRc
32952 * app/config/gimpconfig-serialize.c: do proper line-breaking for
32955 * app/core/gimpcontext.c
32956 * app/widgets/gimpdeviceinfo.c: register NULL blurbs here.
32958 2002-11-28 Michael Natterer <mitch@gimp.org>
32960 * app/config/Makefile.am
32961 * app/config/gimpconfig-params-blurbs.h: new file defining
32962 blurbs for config param specs. Not used yet.
32964 2002-11-28 Sven Neumann <sven@gimp.org>
32966 * app/config/Makefile.am
32967 * app/config/gimpconfig-dump.c: added the basic infrastructure for
32968 a utitily that dumps the GimpRc object.
32970 * app/config/gimpconfig-serialize.c: dump object blurbs as comments.
32972 2002-11-27 Michael Natterer <mitch@gimp.org>
32974 * app/paint/gimpairbrush.[ch]
32975 * app/paint/gimpclone.[ch]
32976 * app/paint/gimpconvolve.[ch]
32977 * app/paint/gimpdodgeburn.[ch]
32978 * app/paint/gimperaser.[ch]
32979 * app/paint/gimppaintoptions.[ch]
32980 * app/paint/gimpsmudge.[ch]: it's hard to paint without a context
32981 to get color, brush etc. from. Added "context" parameters to
32982 all paint options constructors.
32984 * tools/pdbgen/pdb/paint_tools.pdb: pass gimp_get_current_context()
32985 to the constructors. Fixes bug #99557.
32987 * app/pdb/paint_tools_cmds.c: regenerated.
32989 * app/tools/gimpairbrushtool.c
32990 * app/tools/gimpblendtool.c
32991 * app/tools/gimpbucketfilltool.c
32992 * app/tools/gimpclonetool.c
32993 * app/tools/gimpconvolvetool.c
32994 * app/tools/gimpdodgeburntool.c
32995 * app/tools/gimperasertool.c
32996 * app/tools/gimpinktool.c
32997 * app/tools/gimpsmudgetool.c: changed accordingly.
32999 * app/tools/paint_options.c: ditto. Don't set
33000 paint_options->context here because we also need it in the
33001 no-interface case above.
33003 2002-11-27 Maurits Rijk <lpeek.mrijk@consunet.nl>
33005 * plug-ins/common/AlienMap.c
33006 * plug-ins/common/AlienMap2.c
33007 * plug-ins/common/autostretch_hsv.c
33008 * plug-ins/common/semiflatten.c
33009 * plug-ins/common/threshold_alpha.c: use gimpmisc region iterator
33012 2002-11-27 Sven Neumann <sven@gimp.org>
33014 * app/config/gimprc.[ch]: added (yet unused) autosave feature.
33016 * app/core/gimpbrush.c
33017 * app/core/gimpbrushpipe.c: simplified user-visible messages.
33019 2002-11-27 Sven Neumann <sven@gimp.org>
33021 * app/gui/preferences-dialog.c (preferences_dialog_create):
33022 added a missing cast to please the compiler.
33024 2002-11-26 Maurits Rijk <lpeek.mrijk@consunet.nl>
33026 * plug-ins/common/scatter_hsv.c
33027 * plug-ins/common/colorify.c: use gimpmisc region iterator funcs.
33029 2002-11-26 Michael Natterer <mitch@gimp.org>
33031 * app/config/gimprc.[ch]: added "gboolean verbose" to GimpRc and
33032 its constructor. Print messages only if verbose == TRUE.
33034 * app/gui/user-install-dialog.[ch]: changed accordingly.
33036 * app/app_procs.c: ditto. No need any more to parse unitrc before
33037 calling user_install_dialog_create().
33039 * app/gui/preferences-dialog.c: ditto. Added the static
33040 prefs_dialog pointer again so our local help func finds the
33041 current notebook page.
33043 2002-11-26 Jakub Steiner <jimmac@ximian.com>
33045 * themes/Default/images/preferences/image-title.png:
33046 unique icon. Nothing too fancy though.
33047 * themes/Default/images/preferences/input-devices.png:
33048 fix the border a little
33050 2002-11-25 Maurits Rijk <lpeek.mrijk@consunet.nl>
33052 * plug-ins/common/newsprint.c: timer funcs are now in gimpmisc.
33054 * plug-ins/common/unsharp.c: timer funcs are now in gimpmisc. Removed
33055 unused/non-working preview stuff. Will be restored once I finished
33056 a general preview widget for plug-ins.
33058 * plug-ins/common/colortoalpha.c
33059 * plug-ins/common/vinvert.c: use gimpmisc region iterator funcs.
33061 2002-11-25 Maurits Rijk <lpeek.mrijk@consunet.nl>
33063 * libgimp/gimpmisc.[ch]: added 2 new functions (gimp_timer_start and
33064 gimp_timer_stop) for timing purposes. Also added 2 general region
33065 iterator functions, used in numerous plug-ins.
33067 2002-11-25 Michael Natterer <mitch@gimp.org>
33069 * app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): changed order of
33070 calls to gimp_dnd_data_dest_add() so that "text/uri-list" is
33071 preferred over "text/plain" and "_NETSCAPE_URL". Fixes dropping
33072 multiple files from nautilus.
33074 2002-11-25 Michael Natterer <mitch@gimp.org>
33076 * app/config/gimpconfig-utils.[ch]: added gimp_config_diff()
33077 which returns the difference beween two GimpConfig objects
33078 as a GList of GParamSpecs.
33080 * app/config/gimpconfig-params.c (gimp_param_color_cmp): compare
33081 the colors as integers to get rid of rounding foobar.
33083 * app/config/gimpconfig-serialize.c: use gimp_config_diff().
33085 * app/display/gimpdisplayshell-handlers.c: only need to call
33086 gimp_display_shell_scale_setup() on resolution change if the
33087 display is not in dot-for-dot mode.
33089 * app/display/gimpdisplayshell.c: changed a separator in the
33090 padding color menu.
33092 * app/gui/dialogs.c: made the prefs dialog a singleton again.
33094 * app/gui/preferences-dialog.c: Should be fully functional again:
33095 Apply GIMP_PARAM_CONFIRM properties on "OK". Save gimprc on "OK".
33096 Parse a temporaty GimpRc on dialog creation to get the current
33097 GIMP_PARAM_RESTART values. Use gimp_config_diff() for all config
33100 2002-11-25 Manish Singh <yosh@gimp.org>
33102 * libgimpbase/gimpwire.c: using a union like that may not be
33103 completely portable. Use a guint8 array instead. One wonders
33104 if we really need to support the off-chance someone will make
33105 a distributed gimp framework with this current incarnation
33106 of the wire protocol.
33108 2002-11-25 Manish Singh <yosh@gimp.org>
33110 * libgimpbase/gimpwire.c: use a union instead of separate types to
33111 read/write doubles so we don't violate C's aliasing rules. Fixes
33114 2002-11-24 Manish Singh <yosh@gimp.org>
33116 * tools/pdbgen/pdb/image.pdb: moved FINITE definition to $extra
33117 code. Changed to use #elif, much cleaner.
33119 * app/pdb/image_cmds.c: regenerated
33121 * app/core/gimpenvirontable.[ch]: added support for app internal
33122 environment variable settings. These override any *.env files if
33123 there are collisions. Not sure on that policy. Also, envp is now
33124 generated on the first get_envp call.
33126 * app/gui/gui.[ch]: added gui_environ_init, which uses
33127 gimp_environ_table_add. Moved the setting of DISPLAY to here.
33128 Added setting of GDK_DISPLAY instead for the fb backends. Hm,
33129 perhaps GDK should do this itself...
33131 * app_procs.c: call gui_environ_init.
33133 * libgimpwidgets/gimpcolorscale.c
33134 * libgimpwidgets/gimpcolorscales.c: #include <string.h> for
33137 2002-11-24 Dave Neary <bolsh@gimp.org>
33139 * libgimpwidgets/gimpwidgets.c
33140 * libgimpwidgets/gimpwidgets.h
33141 * plug-ins/common/blur.c
33142 * plug-ins/common/plasma.c
33143 * plug-ins/common/randomize.c
33144 * plug-ins/common/sinus.c
33145 * plug-ins/common/snoise.c
33146 * plug-ins/gflare/gflare.c
33147 * plug-ins/maze/algorithms.c
33148 * plug-ins/maze/maze.c
33149 * plug-ins/maze/maze.h
33150 * plug-ins/maze/maze_face.c: Changed the gimp random seed
33151 widget's behaviour and made associated changes in
33152 plug-ins that use it.
33154 2002-11-24 Sven Neumann <sven@gimp.org>
33156 * app/display/gimpdisplayshell-callbacks.c
33157 (gimp_display_shell_color_button_press): fixed menu path.
33159 2002-11-24 Sven Neumann <sven@gimp.org>
33161 * libgimp/gserialize.[ch]: removed from CVS, may always be pulled
33162 out of the Attic if needed again.
33164 2002-11-24 Michael Natterer <mitch@gimp.org>
33166 * app/config/gimpdisplayconfig.c: removed GIMP_PARAM_RESTART from
33167 "marching-ants-speed".
33169 * app/display/gimpdisplayshell-selection.[ch]: removed the "speed"
33170 parameter from the constructor and get the speed from
33171 GimpDisplayConfig when starting the ants.
33173 * app/display/gimpdisplayshell-callbacks.c: changed accordingly.
33175 * app/display/gimpdisplayshell-handlers.c: connect to
33176 notify::marching-ants-speed and restart the ants in the handler.
33178 * app/gui/preferences-dialog.c: Added an own frame for the
33179 canvas padding color. Even more cleanup.
33181 * themes/Default/images/preferences/Makefile.am
33182 * themes/Default/images/preferences/image-title.png: new image
33183 for the new page, copied image-windows.png
33185 2002-11-23 Michael Natterer <mitch@gimp.org>
33187 * app/config/gimpconfig-utils.[ch]: removed
33188 gimp_config_values_equal().
33190 * app/config/gimpconfig-serialize.c
33191 * app/config/gimpconfig.c: use g_param_values_cmp() instead so
33192 our registered compare methods are used.
33194 * app/config/gimpdisplayconfig.[ch]: added "canvas_padding_mode"
33195 and "canvas_padding_color" properties.
33197 * app/display/display-enums.[ch]: added enum GimpDisplayPaddingMode
33198 which can be one of { theme, light check, dark check, custom }.
33200 * app/display/gimpdisplay.h
33201 * app/display/gimpdisplay-handlers.c: removed cached monitor
33202 resolution values...
33204 * app/display/gimpdisplayshell.[ch]: ...and added them here. Added
33205 padding state as in GimpDisplayConfig. Added utility function
33206 gimp_display_shell_set_padding() which hides all the details.
33207 Added the new padding modes to the padding color button's context
33210 * app/display/gimpdisplayshell-callbacks.[ch]: don't fiddle
33211 with colors manually but use gimp_display_shell_set_padding()
33212 in realize() and in the color button callbacks.
33214 * app/display/gimpdisplayshell-handlers.c: connect to
33215 notify::monitor-[xy]resolution and
33216 notify::canvas-padding-[mode|color] and update accordingly.
33218 * app/widgets/gimppropwidgets.[ch]: added
33219 gimp_prop_color_button_new().
33221 * app/widgets/gimpdialogfactory.[ch]: added
33222 gimp_dialog_factories_session_clear() (unimplemented).
33224 * app/gui/preferences-dialog.c: added widgets for padding mode and
33225 color. Removed some callbacks by connecting the functions they
33226 called directly. Cleanup.
33228 2002-11-23 Jakub Steiner <jimmac@ximian.com>
33230 * themes/Default/images/preferences/folders-environ.png:
33231 replace the generic folder
33233 2002-11-22 Michael Natterer <mitch@gimp.org>
33235 * app/display/gimpdisplayshell.[ch]: keep a pointer to the
33236 nav_ebox in the GimpDisplayShell struct.
33238 * app/display/gimpdisplayshell-handlers.c: connect to
33239 notify::navigation-preview-size and set the button insensitive for
33240 GIMP_PREVIEW_SIZE_NONE. Also destroy an existing nav_popup so it
33241 will be automatically re-created on the next click. Connect to
33242 notify::image-title-format and notify::image-status-format and
33243 update them accordingly.
33245 * app/display/gimpnavigationview.c: don't try any voodoo in
33246 gimp_navigation_view_init(). Removed the notify handler.
33247 Set the popup's size in gimp_navigation_view_new_private().
33249 * app/gui/preferences-dialog.c: removed the #if 0'ed combo boxes
33250 and added an own sub-page for the image title and status format.
33251 Select the possible values using a GtkTreeView. Some more
33254 2002-11-22 Michael Natterer <mitch@gimp.org>
33256 * app/widgets/gimppropwidgets.c: added gimp_prop_entry_new(),
33257 factored lots of stuff out to local utility functions, added some
33258 comments to the header, cleanup.
33260 2002-11-22 Sven Neumann <sven@gimp.org>
33262 * app/gui/preferences-dialog.c: allow to configure whether tips
33263 are shown on startup.
33265 * app/gui/tips-dialog.c: threw out lots of code and use
33266 gimp_prop_check_button_new() instead.
33268 2002-11-21 Maurits Rijk <lpeek.mrijk@consunet.nl>
33270 * plug-ins/common/blinds.c: use gimp_get_bg_guchar
33272 * libgimp/gimpmisc.[ch]: added gimp_pixel_fetcher routine with
33273 wrapmode and generic get background color routine (gimp_get_bg_guchar)
33275 * plug-ins/common/edge.c: : use gimp_pixel_fetcher routines
33277 2002-11-21 Maurits Rijk <lpeek.mrijk@consunet.nl>
33279 * plug-ins/common/AlienMap.c
33280 * plug-ins/common/AlienMap2.c: use gimp_pixel_fetcher routines
33282 2002-11-21 Sven Neumann <sven@gimp.org>
33284 * app/config/gimpdisplayconfig.[ch]
33285 * app/config/gimpguiconfig.[ch]: moved navigation_preview_size to
33288 * app/gui/preferences-dialog.c: offer the full choice of
33289 GimpPreviewSizes for the navigation preview size.
33291 * app/display/gimpnavigationview.c: multiply the preview size by 3
33292 to get reasonable values. Added some broken code that connects to
33293 notify::navigation-preview-size.
33295 * etc/gimprc.in: updated accordingly.
33297 2002-11-21 Michael Natterer <mitch@gimp.org>
33299 * app/base/tile-cache.[ch]: added tile_cache_init() and
33300 tile_cache_exit() as public functions.
33302 * app/base/base.c: call them. Connect to GimpBaseConfig's
33303 notify::tile-cache-size.
33305 * app/core/gimpimage.c: connect to notify::transparency-type and
33306 notify::transparency-size and call
33307 gimp_image_invalidate_layer_previews() in the callback.
33309 * app/display/gimpdisplay-foreach.[ch]: removed
33310 gdisplays_expose_full().
33312 * app/display/gimpdisplayshell-handlers.c: connect to
33313 notify::transparency-type and notify::transparency-size and expose
33314 the shell in the callback.
33316 * app/display/gimpdisplayshell-render.[ch]: added render_init()
33317 and render_exit() functions and connect to
33318 notify::transparency-type and notify::transparency-size for
33319 setting up the render buffers.
33321 * app/gui/gui.c: call the new functions instead of render_setup().
33322 Connect to notify::show-tool-tips.
33324 * app/gui/preferences-dialog.c: copy values between the global
33325 config object and it's local copy only when they have changed.
33326 Wrap setting of lots of values in g_object_[freeze|thaw]_notify().
33327 Added lots of mnemonics.
33329 * app/gui/resolution-calibrate-dialog.c: added mnemonics.
33331 * app/widgets/gimppropwidgets.c: g_object_set() the values edited
33332 by the gimp_prop_coordinates() much less often by remembering the
33333 old values and setting them only when they have changed.
33335 2002-11-21 Sven Neumann <neo@wintermute>
33337 * app/gui/preferences-dialog.c (prefs_dialog_new): don't set the
33338 default resolution unit from the monitor resolution entry.
33340 * app/gui/user-install-dialog.c: use the new GimpPropWidgets. The
33341 monitor resolution setup may need some more tweaking ...
33343 2002-11-20 Maurits Rijk <lpeek.mrijk@consunet.nl>
33345 * plug-ins/common/whirlpinch.c
33346 * plug-ins/common/polar.c
33347 * plug-ins/common/mblur.c: use pixel_fetcher routines that are now in
33350 2002-11-20 Maurits Rijk <lpeek.mrijk@consunet.nl>
33352 * libgimp/Makefile.am: added gimpmisc.[ch]
33354 * libgimp/gimp.h: include gimpmisc.h
33356 * libgimp/gimpmisc.[ch]: new files, containing all kinds of
33357 miscellaneous routines factored out from different plug-ins. They stay
33358 here until their API has crystalized a bit and we can put them into
33359 the file where they belong.
33361 2002-11-20 Maurits Rijk <lpeek.mrijk@consunet.nl>
33363 * plug-ins/common/whirlpinch.c
33364 * plug-ins/common/waves.c
33365 * plug-ins/common/polar.c
33366 * plug-ins/common/warp.c
33367 * plug-ins/common/displace.c: replaced all implementations of bilinear
33368 func by call to gimp_bilinear_8/16
33370 2002-11-20 Sven Neumann <sven@gimp.org>
33372 * app/config/gimprc.c: made object properties from the gimprc
33373 filenames. Use NULL to set to the default values.
33376 * app/gui/user-install-dialog.[ch]: don't pass a gimp pointer to
33377 the user installation dialog. All it needs to know are the
33378 alternative gimprc names if such are given on the command-line.
33380 2002-11-20 Michael Natterer <mitch@gimp.org>
33382 * app/widgets/Makefile.am
33383 * app/widgets/gimppropwidgets.[ch]: new files containing
33384 constructors for views on GObject properties.
33386 * app/gui/Makefile.am: build the preferences dialog again.
33388 * app/gui/dialogs-constructors.c
33389 * app/gui/dialogs.c
33390 * app/gui/menus.c: added it back to the dialog system (as a non
33391 singleton to give the new model <-> view stuff some testing).
33393 * app/gui/preferences-dialog.c: here it is again, using property
33394 view widgets. Lots of stuff removed & simplified. Some things
33395 still #if 0'ed and/or non-working. No saving yet ...
33397 2002-11-20 Sven Neumann <sven@gimp.org>
33399 * app/config/gimprc.[ch]: store the gimprc filenames in the
33400 GimpRc object; will become properties later.
33402 * app/app_procs.c: use the new GimpRc API and added the
33403 functionality back that allows to specify different gimprc
33404 files on the command-line.
33406 * app/gui/user-install-dialog.c: don't work on the real gimprc
33407 object but create one for the install procedure and save it.
33409 2002-11-20 Michael Natterer <mitch@gimp.org>
33411 * app/widgets/gimpenummenu.[ch]: added *_new_with_values() and
33412 *_new_with_values_valist() variants to make enum menu creation
33413 even more customizable.
33415 2002-11-20 Michael Natterer <mitch@gimp.org>
33417 * app/config/gimpconfig-params.h: added GIMP_PARAM_RESTART and
33418 GIMP_PARAM_CONFIRM flags and changed all param spec macros
33419 to have a "flags" parameter.
33421 * app/config/gimpbaseconfig.c
33422 * app/config/gimpcoreconfig.c
33423 * app/config/gimpdisplayconfig.c
33424 * app/config/gimpguiconfig.c: tag the values which need restart or
33425 confirmation with the resp. flags. Changed all macro calls
33428 * app/core/gimpcontext.c
33429 * app/widgets/gimpdeviceinfo.c: changed macro calls accordingly.
33431 2002-11-20 Michael Natterer <mitch@gimp.org>
33433 * app/config/gimpconfig.h:
33434 s/gimp_config_equal/gimp_config_is_equal_to/ to match the
33437 2002-11-20 Sven Neumann <sven@gimp.org>
33439 * app/gui/user-install-dialog.c: don't access the global base_config
33440 which is not initialized at this point.
33442 2002-11-20 Dave Neary <bolsh@gimp.org>
33444 * plug-ins/maze/maze.[ch]
33445 * plug-ins/maze/algorithms.c
33446 * plug-ins/maze/maze_face.c: Changed occurreces of
33447 timeseed to defaultseed to more accurately reflect what
33448 happens with the g_rand* functions. Sorry for missing one
33449 earlier & temporarily breaking the build :~}
33451 2002-11-20 Sven Neumann <sven@gimp.org>
33453 * plug-ins/maze/maze.[ch]
33454 * plug-ins/algorithms.c: make it compile. I'm not sure if this is the
33455 correct fix though...
33457 2002-11-20 Dave Neary <bolsh@gimp.org>
33460 * app/core/gimpbrushpipe.c
33461 * app/gui/about-dialog.c
33462 * app/paint-funcs/paint-funcs-generic.h
33463 * app/paint-funcs/paint-funcs.c
33464 * libgimpmath/gimpmath.h
33465 * libgimpwidgets/gimpwidgets.c
33466 * plug-ins/common/CML_explorer.c
33467 * plug-ins/common/blur.c
33468 * plug-ins/common/cubism.c
33469 * plug-ins/common/gee.c
33470 * plug-ins/common/gee_zoom.c
33471 * plug-ins/common/gqbist.c
33472 * plug-ins/common/jigsaw.c
33473 * plug-ins/common/lic.c
33474 * plug-ins/common/noisify.c
33475 * plug-ins/common/nova.c
33476 * plug-ins/common/papertile.c
33477 * plug-ins/common/plasma.c
33478 * plug-ins/common/randomize.c
33479 * plug-ins/common/sample_colorize.c
33480 * plug-ins/common/scatter_hsv.c
33481 * plug-ins/common/shift.c
33482 * plug-ins/common/sinus.c
33483 * plug-ins/common/smooth_palette.c
33484 * plug-ins/common/snoise.c
33485 * plug-ins/common/sparkle.c
33486 * plug-ins/common/spheredesigner.c
33487 * plug-ins/common/spread.c
33488 * plug-ins/common/warp.c
33489 * plug-ins/common/wind.c
33490 * plug-ins/flame/cmap.c
33491 * plug-ins/flame/flame.c
33492 * plug-ins/flame/libifs.c
33493 * plug-ins/gflare/gflare.c
33494 * plug-ins/gimpressionist/gimpressionist.[ch]
33495 * plug-ins/gimpressionist/plasma.c
33496 * plug-ins/gimpressionist/repaint.c
33497 * plug-ins/ifscompose/ifscompose_utils.c
33498 * plug-ins/maze/algorithms.c
33499 * plug-ins/maze/maze.[ch]
33500 * plug-ins/mosaic/mosaic.c: Change all occurrences of RAND_MAX,
33501 G_MAXRAND, rand(), srand(), lrand48(), srand48(), random(),
33502 srandom(), RAND_FUNC and SRAND_FUNC to the appropriate g_rand*
33503 equivalent. Programs which require seed setting for reproducible
33504 results, and anything in the core, gets a dedicated GRand * for
33505 the lifetime required. Programs which only ever used random
33506 numbers for tossing a coin, rolling a dice, etc use g_random
33507 functions. For the rest, judgement was used. Where it was easy, a
33508 GRand * object was used and g_rand_* functions were
33509 preferred. This fixes bug #67386 in HEAD.
33511 2002-11-19 Maurits Rijk <lpeek.mrijk@consunet.nl>
33513 * libgimpcolor/gimpbilinear.c (gimp_bilinear): fixed bug that could
33514 happen with negative values of parameter x or y. Same bug in
33515 gimp_bilinear_8, gimp_bilinear_16 and gimp_bilinear_32.
33517 2002-11-19 Maurits Rijk <lpeek.mrijk@consunet.nl>
33519 * plug-ins/gimpressionist/brush.c
33520 * plug-ins/gimpressionist/color.c
33521 * plug-ins/gimpressionist/general.c
33522 * plug-ins/gimpressionist/gimp.c
33523 * plug-ins/gimpressionist/gimpressionist.[ch]
33524 * plug-ins/gimpressionist/orientation.c
33525 * plug-ins/gimpressionist/orientmap.c
33526 * plug-ins/gimpressionist/paper.c
33527 * plug-ins/gimpressionist/placement.c
33528 * plug-ins/gimpressionist/plasma.c
33529 * plug-ins/gimpressionist/ppmtool.[ch]
33530 * plug-ins/gimpressionist/presets.c
33531 * plug-ins/gimpressionist/preview.c
33532 * plug-ins/gimpressionist/repaint.c
33533 * plug-ins/gimpressionist/size.c
33534 * plug-ins/gimpressionist/sizemap.c: lots and lots of changes.
33535 gimpressionist now looks more or less like other plug-ins, using
33536 gimp_scale widgets for data entry, the gimp_color_button for color
33537 selection, the OK and Cancel button at the bottom, etc. There are still
33538 a few things left to do, mostly more code clean-up.
33540 2002-11-19 Michael Natterer <mitch@gimp.org>
33542 * libgimpwidgets/gimppatheditor.[ch]: added new function
33543 gimp_path_editor_set_path().
33545 2002-11-19 Sven Neumann <sven@gimp.org>
33547 * app/config/gimpconfig-params.[ch]: derive GimpParamSpecMemsize
33548 from GParamSpecULong.
33550 2002-11-19 Manish Singh <yosh@gimp.org>
33552 * data/environ/Makefile.am: really fix a comment
33554 2002-11-18 Sven Neumann <sven@gimp.org>
33556 * app/app_procs.c: added a missing include.
33558 2002-11-18 Sven Neumann <sven@gimp.org>
33561 * app/general.[ch]: we don't need these any longer.
33563 2002-11-18 Sven Neumann <sven@gimp.org>
33565 Finally landed the new GimpConfig based gimprc parser. It's not
33566 finished yet but we need to start somewhere. This release removes
33567 the old gimprc.[ch] files. The gimprc format changes slightly, but
33568 the changes are minimal. The Preferences dialog is temporarily
33569 disabled since it still needs to be ported. If you are are afraid,
33570 stay away from CVS for a few days ;-)
33573 * app/gimprc.[ch]: removed the old gimprc system.
33575 * app/base/Makefile.am
33576 * app/base/base-config.[ch]: removed these files in favor of
33577 config/gimpbaseconfig.[ch].
33579 * app/core/Makefile.am
33580 * app/core/gimpcoreconfig.[ch]: removed these files in favor of
33581 config/gimpcoreconfig.[ch].
33583 * app/config/Makefile.am
33584 * app/config/config-types.h: moved typedefs into this new file.
33586 * app/config/gimpbaseconfig.[ch]
33587 * app/config/gimpcoreconfig.[ch]
33588 * app/config/gimpdisplayconfig.[ch]
33589 * app/config/gimpguiconfig.[ch]
33590 * app/config/gimprc.[ch]
33591 * app/config/test-config.c: brought into shape for real use.
33593 * app/base/base-types.h: include config/config-types.h here. Added
33594 a global GimpBaseConfig *base_config variable to ease migration.
33596 * app/gui/Makefile.am: temporarily disabled the preferences dialog.
33600 * app/undo_history.c
33601 * app/base/base.[ch]
33602 * app/base/gimphistogram.c
33603 * app/base/pixel-processor.c
33604 * app/base/temp-buf.c
33605 * app/base/tile-cache.c
33606 * app/core/core-types.h
33607 * app/core/gimp-documents.c
33609 * app/core/gimpbrush.c
33610 * app/core/gimpbrushgenerated.c
33611 * app/core/gimpcontext.c
33612 * app/core/gimpdrawable-transform.c
33613 * app/core/gimpimage-new.c
33614 * app/core/gimpimage.c
33615 * app/core/gimpimagefile.c
33616 * app/core/gimpmodules.c
33617 * app/core/gimppattern.c
33618 * app/display/Makefile.am
33619 * app/display/gimpdisplay-handlers.c
33620 * app/display/gimpdisplay.[ch]
33621 * app/display/gimpdisplayshell-callbacks.c
33622 * app/display/gimpdisplayshell-handlers.c
33623 * app/display/gimpdisplayshell-layer-select.c
33624 * app/display/gimpdisplayshell-render.c
33625 * app/display/gimpdisplayshell-scale.c
33626 * app/display/gimpdisplayshell-scroll.c
33627 * app/display/gimpdisplayshell-selection.c
33628 * app/display/gimpdisplayshell.[ch]
33629 * app/display/gimpnavigationview.c
33630 * app/file/file-save.c
33631 * app/gui/device-status-dialog.c
33632 * app/gui/dialogs-constructors.c
33633 * app/gui/file-commands.c
33634 * app/gui/file-new-dialog.c
33635 * app/gui/file-open-dialog.c
33636 * app/gui/file-save-dialog.c
33639 * app/gui/paths-dialog.c
33640 * app/gui/resize-dialog.c
33641 * app/gui/session.c
33642 * app/gui/test-commands.c
33643 * app/gui/tips-dialog.c
33644 * app/gui/tips-dialog.h
33645 * app/gui/user-install-dialog.c
33646 * app/gui/view-commands.c
33647 * app/paint/gimppaintcore.c
33648 * app/plug-in/plug-in.c
33649 * app/plug-in/plug-ins.c
33650 * app/tools/gimpbezierselecttool.c
33651 * app/tools/gimpbucketfilltool.c
33652 * app/tools/gimpcolorpickertool.c
33653 * app/tools/gimpcroptool.c
33654 * app/tools/gimpeditselectiontool.c
33655 * app/tools/gimpfuzzyselecttool.c
33656 * app/tools/gimpinktool.c
33657 * app/tools/gimpmagnifytool.c
33658 * app/tools/gimpmeasuretool.c
33659 * app/tools/gimppainttool.c
33660 * app/tools/gimppathtool.c
33661 * app/tools/gimptexttool.[ch]
33662 * app/tools/selection_options.c
33663 * app/tools/tools.c
33664 * app/tools/transform_options.c
33665 * app/widgets/gimphelp.c
33666 * app/widgets/gimpitemfactory.c
33667 * app/widgets/gimpselectioneditor.c
33668 * app/xcf/xcf-load.c
33669 * tools/pdbgen/pdb/fileops.pdb
33670 * tools/pdbgen/pdb/gimprc.pdb
33671 * tools/pdbgen/pdb/image.pdb
33672 * tools/pdbgen/pdb/layer.pdb
33673 * tools/pdbgen/pdb/transform_tools.pdb: use the new config system
33674 instead of the old gimprc stuff.
33677 * etc/gimprc_user.in: adapted to the new gimprc format. Will update
33678 the man-page later...
33680 * app/pdb/fileops_cmds.c
33681 * app/pdb/gimprc_cmds.c
33682 * app/pdb/image_cmds.c
33683 * app/pdb/layer_cmds.c
33684 * app/pdb/transform_tools_cmds.c
33685 * libgimp/gimpgimprc_pdb.c: regenerated.
33687 2002-11-18 Sven Neumann <sven@gimp.org>
33689 * app/config/gimpconfig-deserialize.c
33690 (gimp_config_deserialize_properties): improved error message for
33691 the special case of store_unknown_tokens == TRUE.
33693 * app/config/gimpconfig.c (gimp_config_add_unknown_token): try to
33694 substitute paths of the form ${foo} in the unknown token value.
33696 * app/config/gimpconfig-deserialize.c (gimp_config_deserialize_enum):
33697 allow numbers when deserializing enum values.
33699 * data/environ/Makefile.am: fixed a comment.
33701 2002-11-18 Sven Neumann <sven@gimp.org>
33703 * data/images/Makefile.am
33704 * data/images/gimp_splash.gif: removed old animated splash.
33706 * data/images/gimp_splash.png: a new splash screen for 1.3.11
33707 created by Jakub Steiner <jimmac@ximian.com>.
33709 2002-11-18 Michael Natterer <mitch@gimp.org>
33711 * app/tools/gimptransformtool.[ch]: removed public function
33712 gimp_transform_tool_transform_tiles() and made it the default
33713 implementation of the transform() virtual function. Added
33714 "const gchar *progress_text" to GimpTransformTool so it is
33715 available for the new default implementation. Cleanup.
33717 * app/tools/gimpperspectivetool.c
33718 * app/tools/gimprotatetool.c
33719 * app/tools/gimpscaletool.c
33720 * app/tools/gimpsheartool.c: removed transform() implementations
33721 and set transform_tool->progress_text accordingly. Even more
33724 2002-11-18 Sven Neumann <sven@gimp.org>
33726 * autogen.sh: try automake-1.7 if automake-1.6 is not available.
33728 2002-11-18 Michael Natterer <mitch@gimp.org>
33730 * libgimpwidgets/gimpdialog.c: forgot to remove the
33731 "_delete_event_" stuff's documentation.
33733 2002-11-18 Michael Natterer <mitch@gimp.org>
33735 * app/tools/tool_manager.c: removed unneeded #includes.
33737 2002-11-18 Michael Natterer <mitch@gimp.org>
33739 * libgimpwidgets/gimpdialog.c: removed the "feature" of creating
33740 dialogs without action area by passing "_delete_event_" as button
33741 text. Also changed the delete_event() implementation: don't
33742 remember a callback and call it manually but gtk_widget_activate()
33743 the button for which "connect_delete" was passed as TRUE.
33745 * app/gui/test-commands.c: added a "Close" button to the multi view.
33747 * app/gui/brush-select.[ch]
33748 * app/gui/gradient-select.[ch]
33749 * app/gui/palette-select.[ch]
33750 * app/gui/pattern-select.[ch]: ditto. Removed the "context"
33751 parameter of the *_select_new() functions. All sorts of cleanups
33754 * app/gui/convert-dialog.c
33755 * tools/pdbgen/pdb/brush_select.pdb
33756 * tools/pdbgen/pdb/gradient_select.pdb
33757 * tools/pdbgen/pdb/palette_select.pdb
33758 * tools/pdbgen/pdb/pattern_select.pdb: changed accordingly.
33760 * app/pdb/brush_select_cmds.c
33761 * app/pdb/gradient_select_cmds.c
33762 * app/pdb/palette_select_cmds.c
33763 * app/pdb/pattern_select_cmds.c: regenerated.
33765 2002-11-18 Michael Natterer <mitch@gimp.org>
33767 * app/tools/gimprotatetool.c (roatate_angle_changed): compare the
33768 old and new angle using an epsilon of 0.0001 degrees so we don't
33769 get double "angle changed" because of rounding foobar.
33771 * app/tools/gimptransformtool.c: made GimpTransformTool subclasses
33772 which don't use the grid (namely the flip tool) work correctly
33773 again by looking at transform_tool->use_grid more often.
33775 2002-11-18 Sven Neumann <sven@gimp.org>
33777 * app/core/gimpcontainer.c (gimp_container_get_child_by_name):
33778 accept a NULL name and return NULL. Fixes warnings when starting
33781 2002-11-18 Michael Natterer <mitch@gimp.org>
33783 * app/widgets/gimpcursor.c: removed commented out and unused
33786 2002-11-17 Michael Natterer <mitch@gimp.org>
33788 * app/widgets/gimptoolbox.c (gimp_toolbox_new): add a file dnd
33789 dest for the toplevel toolbox widget too. Makes gimp-remote work
33792 2002-11-17 Michael Natterer <mitch@gimp.org>
33794 * app/widgets/gimpdrawablelistview.c: removed #undef
33795 GTK_DISABLE_DEPRECATED and #warning because we don't use
33796 deprecated stuff here.
33798 2002-11-17 Michael Natterer <mitch@gimp.org>
33800 * app/core/gimpcontext.c (gimp_context_set_default_colors,
33801 gimp_context_swap_colors): g_return_if_fail() earlier to clarify
33802 things (There was a bug in 1.2 which was fixed only accidentially
33805 2002-11-17 Michael Natterer <mitch@gimp.org>
33807 * app/widgets/gimpdnd.h: added GTK_TARGET_SAME_APP flag
33808 to GIMP_TARGET_BUFFER.
33810 2002-11-17 Michael Natterer <mitch@gimp.org>
33812 * app/gui/color-notebook.c (color_notebook_new_internal): removed
33813 the non-dialog variant (all color notebooks have "Cancel" and "OK"
33814 buttons again). We have the color dockable which can be always
33815 open now and don't need this hack any more.
33817 2002-11-16 Manish Singh <yosh@gimp.org>
33819 * app/plug-in/plug-in.c: use g_spawn_async now. If the OS/2 port
33820 is still being maintained, there needs to be work done Glib side.
33821 If not, we should probably drop the other support code.
33823 * app/plug-in/plug-in.h: remove unused Win32 only structure members
33825 2002-11-14 Michael Natterer <mitch@gimp.org>
33827 Transform tool cleanup:
33829 * libgimptool/gimptoolenums.[ch]: removed the TransformState enum.
33831 * app/tools/gimptransformtool.[ch]: don't dispatch everything
33832 through the transform() virtual function. Added new vitrual
33833 functions dialog(), prepare(), motion() and recalc(). Do only the
33834 actual transform in transform(). Moved lots of logic which was
33835 duplicated in each subclass' transform() here. Cleanup.
33837 * app/tools/gimpfliptool.c
33838 * app/tools/gimpperspectivetool.c
33839 * app/tools/gimprotatetool.c
33840 * app/tools/gimpscaletool.c
33841 * app/tools/gimpsheartool.c: changed accordingly: moved code from
33842 transform() to the other method imlementations. Removed duplicated
33843 logic which is now done by our parent class. Makes everything
33844 smaller and more readable.
33846 InfoDialog cleanup:
33848 * app/gui/info-dialog.c: removed the "delete_event" callback so
33849 InfoDialog users can decide themselves what to do.
33851 * app/gui/info-window.c
33852 * app/tools/gimpmeasuretool.c: changed accordingly.
33854 * app/tools/gimpcolorpickertool.c: ditto. Moved info_dialog
33855 creation to a utility function to improve code readbility.
33857 * app/tools/gimpcroptool.c: ditto. Added a "Cancel" button which
33858 really cancels the tool instead of just hiding the dialog.
33860 * app/tools/gimptransformtool.c: added a "Cancel" button here too.
33862 2002-11-14 Michael Natterer <mitch@gimp.org>
33864 * app/gui/tools-commands.c (tools_select_cmd_callback): removed
33865 the old hack which sets tool->gdisp. Fixes bug #98056.
33867 * app/tools/gimpimagemaptool.c (gimp_image_map_tool_initialize):
33868 set tool->gdisp here because the hack was there for tools which
33869 implement initialize() and show dialogs when selected from the
33870 menu. Also fixed wrong paramater to gimp_viewable_dialog_new().
33872 2002-11-12 Sven Neumann <sven@gimp.org>
33874 * app/paint/gimppaintcore.c: check for NULL masks returned from
33875 the brush scaler. Should fix crashes with buggy input devices.
33876 Fix suggested by Jim Meyer <jim@dsdd.org> (#91067).
33878 2002-11-12 Michael Natterer <mitch@gimp.org>
33880 * app/gui/menus.c: use GTK_STOCK_REMOVE for "<Dialogs>/Remove Tab".
33882 2002-11-11 Manish Singh <yosh@gimp.org>
33884 * autogen.sh: don't say "Now type 'make'" if configure failed.
33886 * app/core/Makefile.am
33887 * app/core/core-types.h
33888 * app/core/gimpenvirontable.[ch]: Implemented GimpEnvironTable,
33889 keeps an envp array built from system environment and *.env files.
33891 * app/core/gimp.[ch]: keep a GimpEnvironTable around.
33894 * app/config/gimpcoreconfig.[ch]
33895 * app/core/gimpcoreconfig.h
33896 * app/gui/preferences-dialog.c
33897 * app/gui/user-install-dialog.c: environ-path config stuff
33899 * themes/Default/images/preferences/Makefile.am
33900 * themes/Default/images/preferences/folder-environ.png: just copied
33901 folder.png here, need a better one.
33903 * app/plug-in/plug-in.c: quick hack to use the envp in the
33904 GimpEnvironTable. Only on unix now, should really port the
33905 code to use g_spawn_*.
33907 * data/misc/user_install
33908 * etc/gimprc.in: add environ-path stuff
33910 * data/environ/Makefile: creates system environ directory.
33912 * data/environ/default.env: sample env file info.
33915 * configure.in: added data/environ dir
33917 * plug-ins/pygimp/Makefile.am: python module files get put in
33918 $(gimpplugindir)/python now, install pygimp.env to point to it.
33920 * plug-ins/pygimp/doc/Makefile.am: minor clean up.
33922 2002-11-09 Manish Singh <yosh@gimp.org>
33924 * plug-ins/common/png.c: allow setting compression level 0 from
33927 2002-11-10 Michael Natterer <mitch@gimp.org>
33929 * app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
33930 the transformed tile_manager has always an alpha channel, so use
33931 gimp_drawable_type_with_alpha() when creating a layer from it
33932 using gimp_layer_new_from_tiles(). Fixes bug #98053.
33934 2002-11-09 Manish Singh <yosh@gimp.org>
33936 * app/widgets/gimppreview.[ch]: use a low priority idle handler to
33937 queue redraws, since we really want updates when nothing else is
33940 2002-11-09 Sven Neumann <sven@gimp.org>
33942 * app/widgets/gimpselectioneditor.c
33943 * app/widgets/gimpvectorslistview.c: don't undefine
33944 GTK_DISABLE_DEPRECATED here, since these files don't use any
33945 deprecated functions.
33947 2002-11-09 Maurits Rijk <lpeek.mrijk@consunet.nl>
33949 * plug-ins/common/sinus.c (sinus_dialog): applied a patch from Yeti to
33950 fix #81965 (Sinus filter doesn't use the 'standard' gimp_random_seed
33951 widget.) + some minor changes to make it work.
33953 2002-11-08 Maurits Rijk <lpeek.mrijk@consunet.nl>
33955 * plug-ins/imagemap/imap_object.c (object_get_icon): first go at fixing
33956 #97771. Not finished yet.
33958 2002-11-07 Maurits Rijk <lpeek.mrijk@consunet.nl>
33960 * plug-ins/rcm/rcm_callback.c (rcm_units_string): replaced "???" by
33961 "unknown" to avoid compiler complaining about trigraphs.
33962 * plug-ins/rcm/rcm_callback.[ch]: have callback functions return the
33963 right type (gboolean iso gint).
33965 * plug-ins/rcm/rcm_misc.c (rcm_render_circle): fixed potential memory
33968 2002-11-07 Maurits Rijk <lpeek.mrijk@consunet.nl>
33970 * plug-ins/maze/handy.c: removed superfluous function declarations
33971 plus some minor clean-up.
33973 * plug-ins/common/smooth_palette.c (dialog): replaced "Search Time" by
33974 "Search Depth" (#82492)
33976 * plug-ins/gfig/gfig.c (gfig_op_menu_create): replaced "Save as..." by
33977 "Save As..." (solves #92469)
33979 * plug-ins/MapObject/arcball.c: remove external function declarations
33980 already defined in arcball.h
33982 2002-11-08 Sven Neumann <sven@gimp.org>
33984 * plug-ins/script-fu/script-fu-scripts.c
33985 * plug-ins/script-fu/interp_slib.c
33986 * plug-ins/script-fu/interp_sliba.c: use locale-independant
33987 functions to convert between strings and numbers so that Script-Fu
33988 doesn't get confused in locales that don't use a dot as the
33989 decimal point (#98014).
33991 * plug-ins/common/papertile.c: applied a patch from David Necas
33992 that makes the color button work again (#97976).
33994 2002-11-07 Dave Neary <bolsh@gimp.org>
33996 * plug-ins/common/xbm.c: Applied patch from Raphael
33997 Quinet to suppress printing of comments in XBM files.
34000 2002-11-07 Sven Neumann <sven@gimp.org>
34002 * Made 1.3.10 release.
34004 2002-11-07 Sven Neumann <sven@gimp.org>
34006 * Makefile.am: removed mydistcheck hook.
34008 * app/base/Makefile.am
34009 * app/paint-funcs/Makefile.am: removed automake-1.4 and 1.5 specific
34010 stuff; made it work correctly for srcdir != builddir.
34012 * tools/pdbgen/Makefile.am: do not to write into the source tree.
34014 2002-11-07 Sven Neumann <sven@gimp.org>
34016 * app/widgets/gimpbrushpreview.c
34017 (gimp_brush_preview_render_timeout_func): fixed a bug spotted
34018 by Jim Meyer (#97911) and added a missing call to
34019 gtk_widget_queue_draw().
34021 2002-11-07 Sven Neumann <sven@gimp.org>
34023 * HACKING: mention the automake-1.6 requirement.
34025 2002-11-06 Manish Singh <yosh@gimp.org>
34027 * acinclude.m4: third times the charm. Python support macros
34030 2002-11-06 Manish Singh <yosh@gimp.org>
34032 * configure.in: remove automake 1.4 special casing here too
34034 2002-11-06 Manish Singh <yosh@gimp.org>
34036 * autogen.sh: require automake 1.6
34038 * m4compat: removed, unneeded now
34040 2002-11-06 Sven Neumann <sven@gimp.org>
34042 * plug-ins/common/papertile.c: applied a patch from Toby Smith
34043 that moves the call to gimp_drawable_mask_bounds() to the filter()
34044 function so that the filter is applied to the correct selection
34045 even if it changed after the plug-in dialog was opened (#83971).
34047 * plug-ins/common/unsharp.c (unsharp_mask_dialog): allow larger
34048 values for the radius (as suggested in #92250).
34050 * plug-ins/common/png.c: applied patch from Raphael Quinet that
34051 untoggles the "Save background color" option for images w/o an
34052 alpha channel (#92395).
34054 2002-11-06 Sven Neumann <sven@gimp.org>
34056 * app/base/base.c (base_init): don't say we'd use MMX if it is
34059 * libgimpmodule/gimpmodule.[ch]
34060 * app/gui/module-browser.c: changed enum values and user-visible
34061 strings to saner values.
34063 * libgimpmodule/gimpmoduledb.c
34064 * plug-ins/tools/tool-safe-mode.c: made them less verbose.
34066 2002-11-06 Dave Neary <bolsh@gimp.org>
34068 * plug-ins/common/png.c: Removed cruft from file,
34069 including unclear comments and redundant code.
34071 2002-11-06 Sven Neumann <sven@gimp.org>
34073 * app/xcf/xcf-save.c
34074 * app/xcf/xcf.c: save as XCF version 2 if one of the new layer
34077 * plug-ins/gflare/gflare.c: fixed #97766 along with a couple of
34080 2002-11-05 Sven Neumann <sven@gimp.org>
34082 * plug-ins/common/mapcolor.c: fixed stupid bug that caused this
34083 plug-in to map to undefined values. Spotted by David Necas (#97780).
34085 * tools/authorsgen/contributors: added some names.
34088 * app/gui/authors.h: regenerated.
34090 2002-11-05 Sven Neumann <sven@gimp.org>
34092 * plug-ins/gflare/gflare.c: applied a couple of patches from
34093 David Necas <yeti@physics.muni.cz> that fix various issues with
34094 the GFlare plug-in. Most of these were introduced when doing the
34095 (still unfinished) port to GTK+-2.0 (#97761, #97764, #97765).
34097 Did some more changes while I was on it...
34099 * plug-ins/gflare/gflares/Bright_Star
34100 * plug-ins/gflare/gflares/Classic
34101 * plug-ins/gflare/gflares/Default
34102 * plug-ins/gflare/gflares/Distant_Sun
34103 * plug-ins/gflare/gflares/GFlare_101
34104 * plug-ins/gflare/gflares/GFlare_102
34105 * plug-ins/gflare/gflares/Hidden_Planet: applied a patch from
34106 yeti@physics.muni.cz that changes the names to use spaces instead
34107 of underscores (#97763).
34109 2002-11-05 Sven Neumann <sven@gimp.org>
34111 * app/base/base-enums.h
34112 * app/paint-funcs/paint-funcs-generic.h
34113 * app/paint-funcs/paint-funcs.c
34114 * app/widgets/gimpwidgets-constructors.c: applied a patch from
34115 Guillermo S. Romero that adds three new layer modes (Softlight,
34116 Grain Extract and Grain Merge, #97686).
34118 * app/base/base-enums.c
34119 * app/pdb/brush_select_cmds.c
34120 * app/pdb/brushes_cmds.c
34121 * app/pdb/layer_cmds.c
34122 * app/pdb/misc_tools_cmds.c
34123 * app/widgets/gimpwidgets-constructors.c
34124 * libgimp/gimpenums.h
34125 * plug-ins/script-fu/script-fu-constants.c
34126 * tools/pdbgen/enums.pl: regenerated.
34128 2002-11-05 Michael Natterer <mitch@gimp.org>
34130 * libgimpwidgets/gimpcolorselector.[ch]: added virtual functions
34131 set_toggles_visible() and set_toggles_sensitive(). Added a
34132 stock_id. Emit "color_changed" and "channel_changed" on
34133 set_color() and set_channel() resp.
34135 * libgimpwidgets/gimpcolornotebook.[ch]: implement the new
34136 methods. Added gimp_color_notebook_set_has_page() to control
34137 which selectors a notebook contains.
34139 * libgimpwidgets/gimpcolorscales.[ch]: removed the toggle
34140 API and implement the new methods.
34142 * libgimpwidgets/gimpcolorselect.c: added toggle buttons for the
34143 channels so the widget doesn't need external ones.
34145 * app/gui/color-notebook.c: changed accordingly.
34147 * libgimpwidgets/gimpstock.[ch]
34148 * themes/Default/images/Makefile.am
34149 * themes/Default/images/stock-color-triangle-16.png: added a
34150 (bad) icon for the triangle color selector.
34152 * modules/colorsel_triangle.c: use the new icon.
34153 * modules/colorsel_water.c: use the "Paintbrush" icon for now.
34155 * app/widgets/gimpcoloreditor.[ch]: new widget for editing the
34156 FG/BG color featuring a color notebook, stock buttons for
34157 selecting the pages and a GimpPickButton.
34159 * app/widgets/Makefile.am
34160 * app/widgets/widgets-types.h: changed accordingly.
34162 * app/gui/dialogs-constructors.[ch]
34163 * app/gui/dialogs.c: added a dockable wrapper for GimpColorEditor.
34165 * app/gui/menus.c: added it to the menus. Also added separate
34166 Layers, Channels and Paths entries. Bind <ctrl>L to the new
34167 callback so it doesn't always create a new layers dialog.
34169 2002-11-05 Michael Natterer <mitch@gimp.org>
34171 * libgimpmodule/gimpmodule.c: on error, always close the module
34172 using gimp_module_close(), not g_module_close() so all stuff gets
34173 reset. Set module->state *after* calling gimp_module_close().
34174 Added more error checking & messages.
34176 2002-11-04 Michael Natterer <mitch@gimp.org>
34178 * libgimpwidgets/gimppickbutton.[ch]: new GtkButton subclass
34179 implementing the pick-from-everywhere eyedropper known from
34180 GtkColorSel. Code shamelessly stolen from there.
34182 * libgimpwidgets/Makefile.am
34183 * libgimpwidgets/gimpwidgets.h
34184 * libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
34186 2002-11-04 Michael Natterer <mitch@gimp.org>
34188 * app/widgets/gimpdock.c (gimp_dock_class_init): connect
34189 book_removed()'s default implementation correctly so dock auto
34190 destruction on last dockbook removal works again.
34192 2002-11-04 Sven Neumann <sven@gimp.org>
34194 * plug-ins/print/gimp_color_window.c: use stock buttons.
34196 2002-11-04 Michael Natterer <mitch@gimp.org>
34198 * app/widgets/gimppreview.[ch]: removed idle rendering and render
34199 the preview on "expose" if needed. Renamed gimp_preview_render()
34200 to gimp_preview_update(). Cleanup.
34202 * app/widgets/gimpimagefilepreview.c
34203 * app/widgets/gimpselectioneditor.[ch]
34204 * app/widgets/gimptoolinfopreview.c: changed accordingly.
34206 2002-11-03 Garry R. Osgood <grosgood@rcn.com>
34208 * configure.in defined GIMP_ENABLE_MMX. Current value 0; to disable
34209 related MMX code in app/paint-funcs/paint-funcs.c and
34210 app/paint-funcs/paint-funcs-mmx.h
34211 * app/paint-funcs/paint-funcs.c
34212 * app/paint-funcs/paint-funcs-mmx.h MMX code bracketed by above
34213 define Closes #86290 and #90969 by expediency: bugs were not in
34214 MMX assembly, but in the revised wrapper introduced on 2001-11-19,
34215 which does not accommodate correctly macros designed to run the
34216 MMX code selectively. Rather than revert, discussion on bug report
34217 thread opted to disable such 'MMX microoptimizations' for now, and
34218 get the design correct first in pure C. See bug report and caveats
34219 in paint-funcs-mmx.h
34221 2002-11-02 Sven Neumann <sven@gimp.org>
34223 * libgimpwidgets/gimpcolorarea.[ch]: simplified the code and
34224 improved the performance by getting rid of the idle function.
34225 Simply rerender the buffer on expose if necessary.
34227 2002-11-02 Sven Neumann <sven@gimp.org>
34229 * app/display/gimpprogress.c (gimp_progress_update): force an update
34230 of the progress bar (#97459, reported by Akkana).
34232 2002-11-01 Michael Natterer <mitch@gimp.org>
34234 * app/gui/file-open-dialog.[ch]: added "gimage" and "uri"
34235 parameters to file_open_dialog_show(). If an image is passed, go
34236 to that image's directory, for an uri, preselect the file.
34239 * app/gui/menus.c: pass "action" to file_open_cmd_callback() so we
34240 can distinguish if it was invoked from the toolbox or an image.
34242 * app/gui/file-commands.[ch]: if invoked from an image, pass it to
34243 file_open_dialog_show().
34245 * app/widgets/gimpdocumentview.c: pass the selected document's uri
34246 to file_open_dialog_show().
34248 * app/gui/file-save-dialog.c: use gimp_image_get_filename()
34249 instead of fiddling with the image's uri manually.
34251 2002-11-01 Michael Natterer <mitch@gimp.org>
34253 * app/widgets/gimpdataeditor.c
34254 * app/widgets/gimpimageview.c: changed some debugging output to
34257 2002-11-01 Michael Natterer <mitch@gimp.org>
34259 * libgimpwidgets/gimpcolorscale.[ch]: improved preformance by
34260 rendering the buffer only when needed for an expose instead of
34261 after each color/channel change.
34263 2002-11-01 Michael Natterer <mitch@gimp.org>
34265 * libgimpwidgets/gimpcolorscale.c (gimp_color_scale_render): no
34266 need to assign "d = buf" twice.
34268 2002-11-01 Sven Neumann <sven@gimp.org>
34270 * themes/Default/images/stock-reset-16.png: finally a Reset icon
34271 from Jakub Steiner <jimmac@ximian.com>.
34273 2002-11-01 Michael Natterer <mitch@gimp.org>
34275 * libgimpcolor/gimpcolorspace.h (gimp_rgb_to_hsv4): "rgb" and
34276 "hsv" parameters were swapped in the header. All users however
34277 used the function as implemented, not as documented.
34279 2002-11-01 Sven Neumann <sven@gimp.org>
34281 * configure.in: bumped version number to 1.3.10.
34283 * app/tools/gimpfliptool.c
34284 * app/tools/gimpinktool.c
34285 * app/tools/gimpiscissorstool.c
34286 * app/tools/gimpmovetool.c
34287 * app/tools/gimppathtool.c
34288 * app/tools/gimpperspectivetool.c
34289 * app/tools/gimpscaletool.c
34290 * app/tools/gimpsheartool.c
34291 * app/tools/gimptexttool.c
34292 * app/tools/gimpvectortool.c: use shorter strings for the dockable
34295 2002-10-31 Sven Neumann <sven@gimp.org>
34297 * app/gui/color-notebook.c: make the dialog a "normal" window if
34298 it is created w/o an action area (#97364).
34300 * plug-ins/Lighting/lighting_preview.c: removed use of deprecated
34303 2002-10-31 Sven Neumann <sven@gimp.org>
34305 * plug-ins/common/gauss_iir.c
34306 * plug-ins/common/gauss_rle.c
34307 * plug-ins/common/sel_gauss.c:
34308 applied a patch from Guillermo S. Romero that extends the range of
34309 valid radii to > 0.0 for these blur plug-ins (#97166).
34311 2002-10-31 Sven Neumann <sven@gimp.org>
34313 * app/gui/dialogs-constructors.c: don't add "Options" to the
34314 tools name when setting the dockbook tab label.
34316 * app/gui/color-notebook.c: removed the white and black color
34317 buttons since white and black are trivial to select anyway.
34319 2002-10-31 Sven Neumann <sven@gimp.org>
34321 * libgimpwidgets/gimpcolorscale.[ch]: removed rgb and hsv parameters
34322 from gimp_color_scale_new().
34324 * libgimpwidgets/gimpwidgets.c: changed accordingly.
34326 2002-10-31 Sven Neumann <sven@gimp.org>
34328 * libgimpwidgets/gimpcolorscale.c: made inverted and flippable work
34331 2002-10-31 Sven Neumann <sven@gimp.org>
34333 * libgimpwidgets/gimpcolorscale.c: added the missing bits for
34334 channel == GIMP_COLOR_SELECTOR_ALPHA and for vertical orientation.
34336 2002-10-30 Sven Neumann <sven@gimp.org>
34338 * libgimpwidgets/Makefile.am: install gimpcolorscale.h.
34340 * libgimpwidgets/gimpcolorscale.c: changed the sliders to black
34343 2002-10-30 Michael Natterer <mitch@gimp.org>
34345 * app/core/gimpdata.[ch] (gimp_data_delete_from_disk): don't
34346 g_message() on error but return a GError.
34348 * app/widgets/gimpdatafactoryview.c: show the message here.
34350 2002-10-30 Michael Natterer <mitch@gimp.org>
34352 * app/widgets/gimpdevices.c: don't #include "core/gimpbrush.h"
34354 2002-10-30 Michael Natterer <mitch@gimp.org>
34356 * app/core/gimpbrush.[ch]: cosmetic cleanup.
34358 2002-10-30 Michael Natterer <mitch@gimp.org>
34360 * libgimpwidgets/gimpcolorscale.c: fixed rendering for partial
34363 * libgimpwidgets/gimpwidgets.[ch]: added gimp_color_scale_entry_new().
34365 * libgimpwidgets/gimpcolorscales.c: use the color scales.
34367 2002-10-30 Sven Neumann <sven@gimp.org>
34369 * libgimpwidgets/gimpcolorselect.c: use a mnemonic that doesn't
34370 collide with the rest of the dialog.
34372 * modules/Makefile.am
34373 * modules/colorsel_gtk.c: removed the GTK color selector module.
34375 * modules/cdisplay_gamma.c
34376 * modules/cdisplay_highcontrast.c
34377 * modules/colorsel_triangle.c
34378 * modules/colorsel_water.c: translate in the gimp14-libgimp domain.
34380 2002-10-30 Michael Natterer <mitch@gimp.org>
34382 * libgimpwidgets/gimpcolornotebook.c: create the notebook labels
34385 * libgimpwidgets/gimpcolorselect.c
34386 * modules/colorsel_triangle.c
34387 * modules/colorsel_water.c: added mnemonics to the tab strings.
34389 * libgimpwidgets/gimpcolorscale.c: looks finished now.
34391 * libgimpwidgets/gimpcolorscales.c: tie the test color scale to
34392 the right channel adjustment and update its color and channel
34393 accordingly. Added mnemonics for the channels.
34395 2002-10-30 Sven Neumann <sven@gimp.org>
34397 * libgimpwidgets/gimpcolorscale.[ch]: derive it from GtkScale,
34398 override the expose method and draw something there. Work in
34401 * libgimpwidgets/gimpcolorscales.c: added a GimpColorScale widget
34404 2002-10-30 Michael Natterer <mitch@gimp.org>
34406 * libgimpwidgets/gimpcolorscale.[ch]: added some API and
34407 stuff. Still does nothing.
34409 2002-10-30 Sven Neumann <sven@gimp.org>
34411 * libgimpwidgets/gimpcolorarea.[ch]: cosmetics.
34413 2002-10-30 Sven Neumann <sven@gimp.org>
34415 * libgimpwidgets/gimpcolorscale.[ch]: new files, basic framework
34416 for a new widget, does nothing yet.
34419 * libgimpwidgets/gimpwidgets.h
34420 * libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
34422 2002-10-29 Sven Neumann <sven@gimp.org>
34424 * libgimpwidgets/gimpcolorscales.c: removed the hashmark from the
34427 2002-10-29 Michael Natterer <mitch@gimp.org>
34429 * libgimpwidgets/gimpcolornotebook.[ch]: made the color notebook
34430 a GimpColorSelector subclass so they have the same API.
34432 * app/gui/color-notebook.c: changed accordingly.
34434 2002-10-29 Sven Neumann <sven@gimp.org>
34436 * libgimpmodule/gimpmodule.c
34437 * libgimpwidgets/gimpcolorscales.c
34438 * libgimpwidgets/gimpcolorselect.c: include libgimp-intl.h, not
34439 gimpintl.h since this is in the gimp14-libgimp translation domain.
34441 * libgimpmodule/gimpmoduledb.c
34442 * libgimptool/gimptool.c: no need to include intl.h from here, there
34443 are no translatable message.
34445 2002-10-29 Manish Singh <yosh@gimp.org>
34447 * gimptool-1.3.in: strip paths from the plug-in filename for
34448 installation (fixes #97111).
34450 2002-10-29 Sven Neumann <sven@gimp.org>
34452 * app/tools/Makefile.am
34453 * app/tools/tools-enums.c: removed this file which was moved to
34454 libgimptool in March.
34456 2002-10-28 Michael Natterer <mitch@gimp.org>
34458 * libgimpwidgets/gimpcolorscales.[ch]: the color scales from
34459 the main color selection as GimpColorSelector subclass.
34461 * libgimpwidgets/Makefile.am
34462 * libgimpwidgets/gimpwidgets.h
34463 * libgimpwidgets/gimpwidgetsmarshal.list
34464 * libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
34466 * libgimpwidgets/gimpcolornotebook.c: skip it when iterating the
34467 GimpColorSelector subclasses.
34469 * libgimpwidgets/gimpcolorselector.[ch]: added virtual function
34470 set_has_alpha() amd signal "channel_changed". Put RGB, HSV and
34471 channel values into to the GimpColorSelector struct where they are
34472 available for subclasses.
34474 * libgimpwidgets/gimpcolorselect.[ch]
34475 * modules/colorsel_triangle.c
34476 * modules/colorsel_water.c: changed accordingly, cleanup.
34478 * app/gui/color-notebook.[ch]: use the new GimpColorScales widget,
34481 2002-10-28 Michael Natterer <mitch@gimp.org>
34483 * plug-ins/common/unsharp.c: reordered action buttons.
34485 2002-10-28 Michael Natterer <mitch@gimp.org>
34487 * libgimpwidgets/gimpcolornotebook.[ch]: the notebook as known
34488 from the main color selection as new widget.
34490 * libgimpwidgets/Makefile.am
34491 * libgimpwidgets/gimpcolorselector.h
34492 * libgimpwidgets/gimpwidgets.h
34493 * libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
34495 * app/gui/color-notebook.c: use the new widget.
34497 2002-10-25 Michael Natterer <mitch@gimp.org>
34499 * app/widgets/gimpdock.[ch]: added "book_added" and "book_removed"
34500 signals. Removed the "destroy_if_empty" flag and destroy empty
34501 docks in book_removed's default implementation.
34503 * app/widgets/gimptoolbox.c: implement "book_added" and
34504 "book_removed" and set the window to freely resizable vertically
34505 if it contains dockbooks, and to the current behaviour of snapping
34506 to multiples of tool_button height otherwise. Fixes bug #93309.
34508 * app/widgets/gimpimagedock.c: changed accordingly.
34510 2002-10-25 Michael Natterer <mitch@gimp.org>
34512 * app/display/gimpdisplayshell.c
34513 * app/gui/about-dialog.c
34514 * app/gui/convert-dialog.c
34515 * app/gui/dialogs-commands.c
34516 * app/gui/file-commands.c
34517 * app/gui/palette-import-dialog.c
34518 * app/tools/gimptexttool.c
34519 * app/widgets/gimpdialogfactory.c
34520 * app/widgets/gimpdocumentview.c
34521 * app/widgets/gimpwidgets-utils.c
34522 * libgimpwidgets/gimpfileselection.c
34523 * plug-ins/FractalExplorer/Dialogs.c
34524 * plug-ins/FractalExplorer/FractalExplorer.c
34525 * plug-ins/common/AlienMap.c
34526 * plug-ins/common/AlienMap2.c
34527 * plug-ins/common/spheredesigner.c
34528 * plug-ins/flame/flame.c
34529 * plug-ins/gfig/gfig.c
34530 * plug-ins/gimpressionist/general.c
34531 * plug-ins/gimpressionist/gimpressionist.c: replaced all sorts of
34532 gtk_widget_show()/gdk_window_raise() combinations by
34533 gtk_window_present().
34535 2002-10-25 Michael Natterer <mitch@gimp.org>
34537 * app/gui/Makefile.am
34538 * app/gui/color-history.[ch]: new files implementing the color
34539 history which used to live in color-notebook.*
34541 * app/gui/color-notebook.[ch]
34542 * app/gui/session.c: changed accordingly.
34544 2002-10-25 Michael Natterer <mitch@gimp.org>
34546 * app/widgets/gimpimagedock.c: removed #warning and inclusion of
34547 "display/*" stuff because we use GimpDisplays as GimpObjects in
34550 2002-10-24 Sven Neumann <sven@gimp.org>
34552 * app/pdb/display_cmds.c
34553 * tools/pdbgen/pdb/display.pdb (display_new_invoker): the first
34554 display takes ownership of the image. Fixes bug #94371.
34556 2002-10-24 Sven Neumann <sven@gimp.org>
34558 * plug-ins/common/compose.c
34559 * plug-ins/common/decompose.c: applied a patch from
34560 Michael Niedermayer <michaelni@gmx.at> that adds support for
34561 YCbCr (de)composition (#96448).
34563 2002-10-23 Michael Natterer <mitch@gimp.org>
34565 Moved generic datafile loading to LibGimpBase:
34567 * app/core/gimpdatafiles.[ch]: removed...
34569 * libgimpbase/gimpdatafiles.[ch]: ...and add here with a changed
34570 API which requires no more global variables.
34572 * libgimpbase/Makefile.am
34573 * libgimpbase/gimpbase.h
34574 * libgimpbase/gimpbasetypes.h
34575 * app/core/Makefile.am
34576 * app/core/core-types.h
34577 * app/core/gimpdatafactory.c
34579 * app/plug-in/plug-in.c
34580 * app/plug-in/plug-ins.c
34581 * app/tools/tools.c: changed accordingly.
34583 Moved module loading to LibGimpModule:
34585 * app/core/gimpmodules.c: removed lots of code...
34587 * libgimpmodule/gimpmoduledb.[ch]: ...and added it here as
34588 GimpModuleDB object.
34590 * libgimpmodule/Makefile.am
34591 * libgimpmodule/gimpmoduletypes.h: changed accordingly.
34593 * app/core/gimp.[ch]: replaced gimp->modules by gimp->module_db.
34595 * libgimpmodule/gimpmodule.[ch]: added
34596 gimp_module_query(). Internal cleanup. Stuff...
34598 * app/gui/module-browser.c: changed accordingly. Unfinished...
34600 * app/core/gimpcontainer.c
34601 * app/core/gimplist.c: reverted the HACKS introduced recently.
34603 * app/core/gimpobject.[ch]: added gimp_g_object_get_memsize()
34606 * libgimpproxy/gimpobject.[ch]: regenerated.
34608 Changed display filter configuration stuff:
34610 * libgimpwidgets/gimpcolordisplay.[ch]: made the virtual
34611 configure() function return a GtkWidget instead of opening a
34612 dialog. Changed configure_cancel() to configure_reset(). Added
34615 * app/display/gimpdisplayshell-filter-dialog.c: embed the filters'
34616 config GUI in the dialog. Connect to "changed" and added a "Reset"
34617 button which resets the filter.
34619 * modules/cdisplay_gamma.c
34620 * modules/cdisplay_highcontrast.c: changed accordingly.
34622 * modules/colorsel_triangle.c
34623 * modules/colorsel_water.c: minor fixes.
34625 2002-10-22 Sven Neumann <sven@gimp.org>
34627 * app/gui/offset-dialog.c (offset_ok_callback): don't free the
34628 OffsetDialog structure twice. Fixes bug #96520.
34630 2002-10-21 Sven Neumann <sven@gimp.org>
34632 * libgimpmodule/gimpmodule.c: fixed some i18n glitches.
34634 2002-10-21 Michael Natterer <mitch@gimp.org>
34637 * libgimpmodule/.cvsignore
34638 * libgimpmodule/Makefile.am
34639 * libgimpmodule/gimpmodule.[ch]
34640 * libgimpmodule/gimpmodule.def
34641 * libgimpmodule/gimpmoduletypes.h
34642 * libgimpmodule/makefile.msc: new library for module loading.
34644 * configure.in: generate Makefiles for libgimpmodule and its
34645 devel-docs. Added GMODULE_CFLAGS and GMODULE_LIBS.
34647 * app/Makefile.am: link the app against it.
34649 * libgimp/gimpmodule.h
34650 * app/core/gimpmoduleinfo.[ch]: removed.
34652 * libgimp/Makefile.am
34653 * app/core/Makefile.am
34654 * app/core/core-types.h
34655 * app/core/gimpmodules.c
34656 * app/gui/module-browser.c: changed accordingly.
34658 * modules/cdisplay_gamma.c
34659 * modules/cdisplay_highcontrast.c
34660 * modules/colorsel_triangle.c
34661 * modules/colorsel_water.c: #include "libgimpmodule/gimpmodule.h"
34663 2002-10-20 Michael Natterer <mitch@gimp.org>
34665 * app/core/gimpmoduleinfo.[ch]
34666 * libgimp/gimpmodule.h: separated module query from type
34667 registration by adding a separate "gimp_module_query" function
34668 which must be implemented by modules. Make local copies of the
34669 strings returned by the query function.
34671 * app/core/gimpmodules.c
34672 * app/gui/module-browser.c: changed accordingly.
34674 * modules/cdisplay_gamma.c
34675 * modules/cdisplay_highcontrast.c
34676 * modules/colorsel_triangle.c
34677 * modules/colorsel_water.c: added the gimp_module_query() functions.
34679 2002-10-20 Michael Natterer <mitch@gimp.org>
34681 * app/display/gimpdisplayshell-filter.[ch]: removed the
34682 ColorDisplayNode struct entirely. GimpDisplayShell->filters is now
34683 just a GList of GimpColorDisplay objects.
34685 * app/display/gimpdisplayshell-filter-dialog.c
34686 * app/display/gimpdisplayshell-render.c: changed accordingly.
34688 2002-10-20 Michael Natterer <mitch@gimp.org>
34690 Ported module loading to GTypeModule, getting rid of all own
34691 module registering/bookkeeping stuff for color selectors and
34692 display filters. The modules now simply register GimpColorSelector
34693 and GimpColorDisplay subclasses, the list of registered subclasses
34694 can then be obtained calling g_type_children() on the abstract
34697 This is work in progress and just the first working state after I
34698 started breaking everything...
34700 * app/gui/color-select.[ch]
34701 * libgimp/gimpcolordisplay.h
34702 * libgimp/gimpcolorselector.h: removed.
34704 * app/gui/Makefile.am
34705 * libgimp/Makefile.am: changed accordingly.
34707 * libgimp/gimpmodule.h: massively simplified. All voodoo is gone.
34709 * libgimpwidgets/gimpcolordisplay.[ch]
34710 * libgimpwidgets/gimpcolorselector.[ch]: new abstract base classes
34711 which need to be subclassed by modules.
34713 * libgimpwidgets/gimpcolorselect.[ch]: the built-in color selector
34714 from app/gui/color-select.* ported to be a GimpColorSelector
34717 * libgimpwidgets/Makefile.am
34718 * libgimpwidgets/gimpwidgets.h
34719 * libgimpwidgets/gimpwidgetsmarshal.list
34720 * libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
34722 * app/core/gimpmoduleinfo.[ch]: made it a GTypeModule subclass
34724 * app/core/gimpmodules.c: changed accordingly.
34726 * app/core/gimpcontainer.c
34727 * app/core/gimplist.c: HACKED around to allow GimpLists of
34728 GObjects (not GimpObjects). This is EEKy, so I will either make
34729 gimp->modules a simple GList and revert this bit of change, or
34730 allow GObjects all over the place in GimpContainer land...
34732 * app/display/gimpdisplayshell-filter.[ch]
34733 * app/gui/color-notebook.c: removed all module stuff and use
34734 g_type_children() to get the list of available color_selectors
34735 and display_filters.
34737 * app/display/gimpdisplayshell-filter-dialog.c
34738 * app/display/gimpdisplayshell-render.c
34739 * app/gui/module-browser.c: changed accordingly.
34741 * app/gui/gui.c: ref the built-in color selector's class before
34742 the modules are queried so it appears first in the list of
34743 GimpColorSelector's children.
34745 * modules/Makefile.am: build the water color selector again.
34747 * modules/cdisplay_gamma.c
34748 * modules/cdisplay_highcontrast.c
34749 * modules/colorsel_triangle.c
34750 * modules/colorsel_water.c: ported them all to the new API.
34752 * modules/gimpmodregister.[ch]: removed the old EMX module hack.
34754 2002-10-18 Sven Neumann <sven@gimp.org>
34756 * app/core/gimpimage-mask.c (gimp_image_mask_extract): changed an
34759 * app/widgets/gimpwidgets-utils.c: tweaked so it looks more like
34762 2002-10-17 Michael Natterer <mitch@gimp.org>
34764 * app/gui/dialogs-constructors.c
34765 * app/widgets/gimptoolbox.c: fixed warnings by casting/bracketting
34768 2002-10-16 Maurits Rijk <lpeek.mrijk@consunet.nl>
34770 * plug-ins/imagemap/imap_default_dialog.c (dialog_destroy): function
34771 now correctly returns a value.
34773 2002-10-16 Maurits Rijk <lpeek.mrijk@consunet.nl>
34775 * plug-ins/Lighting/lighting_image.c
34776 * plug-ins/Lighting/lighting_main.[ch]
34777 * plug-ins/Lighting/lighting_preview.[ch]
34778 * plug-ins/Lighting/lighting_shade.c
34779 * plug-ins/Lighting/lighting_ui.c: applied patch from Jeroen Lamain
34780 <roccodevinger@yahoo.com> to fix #52896 (Lighting Effects plugin needs
34781 interactive light placement)
34783 2002-10-15 Sven Neumann <sven@gimp.org>
34785 * app/widgets/gimpeditor.c: changed the default button_icon_size to
34786 GTK_ICON_SIZE_MENU.
34788 * themes/Default/gtkrc
34789 * themes/Default/images/Makefile.am: don't override GTK+ button
34790 icons. This renders some of the compiled-in icons unused; we
34791 should remove them later.
34793 2002-10-15 Sven Neumann <sven@gimp.org>
34795 * app/gui/dialogs-constructors.c: draw the tool icons in dockbook
34796 tabs using GtkImages, not using GimpPreviews.
34798 * app/widgets/gimptoolbox.c: added a "button_relief" style property
34799 to GimpToolbox and changed the default style to GTK_RELIEF_NONE.
34801 * themes/Default/gtkrc: document how to set the style here.
34803 2002-10-15 Sven Neumann <sven@gimp.org>
34805 * app/base/levels.[ch]: added the API for level correction using
34806 black, gray and white point.
34808 * app/tools/gimpcurvestool.c
34809 * app/tools/gimphistogramtool.c
34810 * app/tools/gimplevelstool.[ch]: misc smaller changes.
34812 * app/widgets/gimphistogrambox.[ch]: allocate the buffer for the
34813 gradient preview on size_allocate, not for every expose event.
34815 * app/widgets/gimphistogramview.c: fixed drawing for width > 256.
34817 * themes/Default/images/stock-color-picker-white-18.png: tweaked.
34819 2002-10-15 Sven Neumann <sven@gimp.org>
34821 * app/tools/gimpinktool.c: using gtk_image_new_from_pixmap() feels
34822 kinda lame. Draw the ink blob directly in an expose handler instead.
34824 2002-10-15 Sven Neumann <sven@gimp.org>
34826 * app/tools/gimphistogramtool.c
34827 * app/tools/gimplevelstool.[ch]
34828 * app/tools/gimpthresholdtool.c
34829 * app/widgets/gimphistogrambox.[ch]
34830 * app/widgets/gimphistogramview.[ch]: started to clean up histogram
34831 code. Moved the gradient into the GimpHistogramBox. Draw only in the
34832 expose event handler.
34834 2002-10-15 Dave Neary <bolsh@gimp.org>
34836 * app/tools/gimpinktool.c
34837 * app/tools/gimptexttool.c: Removed warnings by including
34838 string.h, and changing gtk_pixmap_new() to gtk_image_new_from_pixmap().
34840 2002-10-14 Dave Neary <bolsh@gimp.org>
34842 * plug-ins/common/png.c: Corrected coding standard issues
34843 (indentation & bracketting).
34845 2002-10-14 Dave Neary <bolsh@gimp.org>
34847 * plug-ins/common/png.c: Fix bug #55700 properly. Handles
34848 INDEXEDA images better.
34850 2002-10-14 Sven Neumann <sven@gimp.org>
34852 * app/display/gimpdisplay.[ch]: added convenience function
34853 gimp_display_coords_in_active_drawable().
34855 * app/tools/gimpcurvestool.c: indicate the possibility to pick color
34856 values from the image by showing a color picker cursor. Made the
34857 file selection dialog transient for the tool shell.
34859 * app/tools/gimplevelstool.c: made the file selection dialog
34860 transient for the tool shell.
34862 2002-10-13 Sven Neumann <sven@gimp.org>
34864 * themes/Default/images/stock-color-picker-black-18.png
34865 * themes/Default/images/stock-color-picker-gray-18.png
34866 * themes/Default/images/stock-color-picker-white-18.png: new icons.
34868 * libgimpwidgets/gimpstock.[ch]
34869 * themes/Default/images/Makefile.am: added the new color picker icons.
34871 * app/tools/gimplevelstool.c: added the GUI that will allow to pick
34872 the white, gray and black point from the image.
34874 2002-10-13 Manish Singh <yosh@gimp.org>
34876 * app/tools/gimptexttool.c: #include <stdio.h>
34878 2002-10-11 Sven Neumann <sven@gimp.org>
34880 * app/tools/gimptexttool.[ch]: allow to load text from a file.
34882 2002-10-11 Sven Neumann <sven@gimp.org>
34884 * Made 1.3.9 release.
34886 2002-10-11 Sven Neumann <sven@gimp.org>
34888 * app/core/Makefile.am (INCLUDES): added PANGO_FT2_CFLAGS.
34890 2002-10-10 Sven Neumann <sven@gimp.org>
34892 * app/tools/gimptexttool.[ch]: added a very simple text editor.
34894 2002-10-10 Sven Neumann <sven@gimp.org>
34896 * app/config/gimpconfig-params.[ch]: optionally allow GIMP_UNIT_PIXEL
34897 as value for GimpUnit params.
34899 * app/core/gimpimage-text.[ch]
34900 * app/core/gimptext.[ch]
34901 * app/tools/gimptexttool.c: moved some code around.
34903 2002-10-10 Michael Natterer <mitch@gimp.org>
34905 * app/gui/palette-import-dialog.c: s/"new_import"/"New Import"/.
34907 2002-10-10 Sven Neumann <sven@gimp.org>
34909 * app/core/Makefile.am
34910 * app/core/core-types.h
34911 * app/core/gimptext.[ch]: added first draft of a GimpText object.
34913 2002-10-09 Sven Neumann <sven@gimp.org>
34915 * app/tools/gimptexttool.c
34916 * app/widgets/gimpfontselection.[ch]
34917 * app/widgets/gimpwidgets-utils.[ch]: started to implement the
34918 text tool GUI as suggested in #84151.
34920 2002-10-09 Michael Natterer <mitch@gimp.org>
34922 * app/core/gimppalette.c (gimp_palette_get_new_preview): adjust
34923 the cell_size of the preview dynamically (makes them look nicer).
34925 * app/core/gimppalette-import.c: require n_colors to be at least
34928 * app/gui/palette-import-dialog.c: completely chopped and
34929 re-assembled source and GUI. Please have a look and comment...
34931 2002-10-09 Sven Neumann <sven@gimp.org>
34933 * app/core/gimpimage-text.[ch]: new files that implement the text
34934 rendering that used to live in gimptexttool.[ch].
34936 * app/core/Makefile.am
34937 * app/core/core-types.h
34938 * app/tools/gimptexttool.[ch]
34939 * tools/pdbgen/Makefile.am
34940 * tools/pdbgen/pdb/text_tool.pdb: changed accordingly.
34942 * tools/pdbgen/enums.pl
34943 * app/pdb/text_tool_cmds.c: regenerated.
34945 2002-10-09 Michael Natterer <mitch@gimp.org>
34947 * app/gui/menus.c: some shortcut changes: Ctrl+Shift+S is now
34948 "File/Save as...", not "View/Toggle Statusbar" (HIG compliance).
34949 Removed Ctrl+Shift+B from "Select/Border..." because it is already
34950 taken by "Dialogs/Brushes...". Set the shortcut to "" instead of
34951 NULL whenever we abuse GTK_STOCK_NEW, so the menu item doesn't get
34952 the Ctrl+N shortcut (will need separate stock icons for these menu
34955 2002-10-09 Michael Natterer <mitch@gimp.org>
34957 * app/widgets/gimpgradientpreview.c
34958 * app/widgets/gimppalettepreview.c: set "height" to size/2 instead
34959 of "width" to size*3 in get_size() so the preview size is
34960 contollable in smaller steps using the container views' "Preview
34961 Size" context menu.
34963 2002-10-09 Sven Neumann <sven@gimp.org>
34965 * themes/Default/images/Makefile.am
34966 * themes/Default/images/stock-char-picker-22.png
34967 * themes/Default/images/stock-letter-spacing-22.png
34968 * themes/Default/images/stock-line-spacing-22.png: new icons taken
34971 * libgimpwidgets/gimpstock.[ch]: added the new icons.
34973 2002-10-09 Michael Natterer <mitch@gimp.org>
34975 * app/widgets/gimpcontainermenu.c
34976 * app/widgets/gimpcontainerview.c: ref/unref menu->context and
34977 view->context in gimp_container_[menu|view]_real_set_context() so
34978 it can't be finalized under our feet.
34980 2002-10-08 Michael Natterer <mitch@gimp.org>
34982 * libgimpwidgets/gimpwidgets.[ch]: added utility function
34983 gimp_scale_entry_set_sensitive().
34985 2002-10-08 Michael Natterer <mitch@gimp.org>
34987 * plug-ins/common/animationplay.c: put the preview in a sunken
34988 frame like most other previews.
34990 2002-10-08 Sven Neumann <sven@gimp.org>
34992 * app/core/gimpimage-duplicate.c: an attempt to fix bug #94749
34993 (gimp_image_duplicate crashes if floating selection exists).
34995 * data/images/gimp_splash.png: a new blinkensplash from Paris.
34997 2002-10-08 Sven Neumann <sven@gimp.org>
34999 * plug-ins/common/ps.c: applied a patch from Peter Kirchgessner
35000 that fixes bug #78310 (wrong bounding box when exporting to EPS).
35002 2002-10-01 Manish Singh <yosh@gimp.org>
35004 * autogen.sh: call libtoolize explictly, since newer automakes
35005 don't run it for us anymore
35007 2002-09-30 Simon Budig <simon@gimp.org>
35009 * data/brushes/1circle.gbr: fixed the default spacing, so that
35010 lines actually look like 1 pixel lines...
35012 * themes/Default/images/tools/.cvsignore: Added some files.
35014 * app/vectors/gimpanchor.h
35015 * app/vectors/gimpbezierstroke.[ch]
35016 * app/vectors/gimpstroke.h
35017 * app/vectors/gimpvectors.h: Added some stuff, mostly unused
35018 code that otherwise would just rot on my harddisk. Mitch: I
35019 need to discuss the data structures with you...
35021 2002-09-27 Michael Natterer <mitch@gimp.org>
35023 * app/display/gimpdisplayshell.[ch]: added new signal "reconnect"
35024 which is emitted when the underlying image changes (happens on
35025 "Revert"). Set the sensitivity of the new "Toggle QuickMask" menu
35026 item. Don't configure the QMask button in gimp_display_shell_new().
35028 * app/display/gimpdisplayshell-handlers.c (gimp_display_shell_connect):
35029 configure the QMask button here so it's consistent after "Revert".
35031 * app/display/gimpnavigationview.c: connect to the shell's
35032 "reconnect" signal and update accordingly.
35034 2002-09-27 Michael Natterer <mitch@gimp.org>
35036 * app/tools/gimpmagnifytool.c (gimp_magnify_tool_init): set the
35037 toggle_cursor to GIMP_ZOOM_CURSOR, not the tool_cursor.
35039 2002-09-26 Michael Natterer <mitch@gimp.org>
35041 Made F1 help work again:
35043 * libgimpwidgets/gimphelpui.c: add the "F1" binding entries to the
35044 correct class, use GtkWidget's "show_help" signal correctly,
35045 cleanup, replaced deprecated stuff (obviously this file was
35046 make-it-compile ported in the first place :)
35048 * plug-ins/helpbrowser/helpbrowser.c: close the HtmlStream when
35049 there is no more data to read (avoids implicit calling of the
35050 stream's cancel function which fails because we didn't set it).
35053 2002-09-25 Mel Boyce <syngin@gimp.org>
35055 * autogen.sh: Changed intltool URL so it's more correct.
35057 2002-09-25 Michael Natterer <mitch@gimp.org>
35059 * app/widgets/gimpitemfactory.[ch] (gimp_item_factory_create_item):
35060 added a "const gchar *textdomain" parameter so
35061 g_object_[set|get]_data() hacks needed for translation are private
35062 stuff of GimpItemFactory. Use more qdata instead of just data,
35065 * app/gui/plug-in-menus.c: pass the textdomain as paramater
35066 instead of g_object_setting it on the item_factory.
35068 * app/gui/file-open-dialog.c
35069 * app/gui/file-save-dialog.c
35070 * app/gui/menus.c: pass NULL as textdomain.
35072 2002-09-25 Michael Natterer <mitch@gimp.org>
35074 * libgimp/Makefile.am: install gimpcompat.h
35076 2002-09-24 Michael Natterer <mitch@gimp.org>
35078 * app/core/gimpchannel.c (gimp_channel_sharpen): set
35079 channel->bounds_known to FALSE (fixes #93853).
35081 2002-09-23 Michael Natterer <mitch@gimp.org>
35083 * app/gui/plug-in-menus.c: escape underscores in plug-in menu
35084 entries so they don't end up as mnemonics.
35086 2002-09-21 Sven Neumann <sven@gimp.org>
35088 * app/config/gimpconfig-params.h: fixed some macros that were
35091 * data/images/gimp_splash.png: flattened the splash image. The
35092 alpha channel crashed servers with buggy XRender extension
35093 (#93841) (and should have never been there anyway).
35095 2002-09-18 Manish Singh <yosh@gimp.org>
35097 * plug-ins/dbbrowser/dbbrowser_utils.c: Allow activation of the
35098 search from the entry field.
35100 2002-09-18 Manish Singh <yosh@gimp.org>
35102 * configure.in: use X_CFLAGS when checking for Xmu headers too
35104 * tools/pdbgen/pdb/channel.pdb
35105 * tools/pdbgen/pdb/layer.pdb: slight tweak to mitch's change
35106 to have default parameters for the common case
35108 2002-09-18 Sven Neumann <sven@gimp.org>
35110 * configure.in: use X_CFLAGS when checking for xpm.h.
35112 * plug-ins/common/Makefile.am
35113 * plug-ins/common/mkgen.pl: added X_CFLAGS here as well so that
35114 xpm compiles even if GTK_CFLAGS doesn't pull in the X11 include
35115 path for us. Should fix #93518 and hopefully won't break it for
35118 2002-09-17 Sven Neumann <sven@gimp.org>
35120 * plug-ins/common/convmatrix.c
35121 * plug-ins/common/iwarp.c
35122 * plug-ins/common/sample_colorize.c
35123 * plug-ins/common/spheredesigner.c
35124 * plug-ins/ifscompose/ifscompose.c
35125 * plug-ins/print/gimp_main_window.c
35126 * plug-ins/script-fu/script-fu-scripts.c
35127 * plug-ins/sel2path/sel2path.c: reordered action buttons.
35129 2002-09-17 Sven Neumann <sven@gimp.org>
35131 * app/widgets/gimpviewabledialog.c: use PangoAttributes instead of
35134 * app/gui/preferences-dialog.c: adapt to the look of the
35135 GimpViewableDialog.
35137 2002-09-17 Sven Neumann <sven@gimp.org>
35139 * libgimp/gimpexport.c: reordered buttons and polished the dialog.
35141 2002-09-17 Sven Neumann <sven@gimp.org>
35143 * app/gui/file-new-dialog.c
35144 * app/gui/preferences-dialog.c
35145 * app/gui/resize-dialog.c
35146 * app/tools/gimpimagemaptool.c
35147 * app/widgets/gimpfontselection-dialog.c: place the Cancel button
35148 next to the confirmative button as suggested by the HIG.
35150 2002-09-12 Michael Natterer <mitch@gimp.org>
35152 * app/widgets/gimpdocumentview.[ch]
35153 * app/gui/documents-commands.[ch]
35154 * app/gui/menus.c: changed icon/variables/functions to say
35155 "Remove" instead of "Delete" because "Delete" is misleading (we
35156 don't delete the file but just remove the entry from the document
35159 2002-09-12 Sven Neumann <sven@gimp.org>
35161 * autogen.sh: fixed output in case automake-1.6 is not available.
35163 2002-09-11 Michael Natterer <mitch@gimp.org>
35165 * plug-ins/common/curve_bend.c: applied a patch from Guillermo
35166 S. Romero which cleans up the GUI even more. Changed it a bit to
35167 behave nicely on window resizing.
35169 2002-09-11 Sven Neumann <sven@gimp.org>
35171 * app/tools/gimptexttool.c: fixed typo (bug #93031).
35173 2002-09-10 Michael Natterer <mitch@gimp.org>
35177 * tools/pdbgen/pdb/procedural_db.pdb: removed the get_data() and
35178 set_data() implementations and the global "data_list" variable.
35179 Cleaned up the dump() stuff (pass the FILE pointer around instead
35180 of having a global variable for it). Fixed output_string() so it
35181 does not crash on NULL strings.
35183 * app/core/gimp.[ch]: added gimp->procedural_db_data_list.
35185 * app/pdb/procedural_db.[ch]: added procedural_db_[set|get]_data().
35186 Don't leak data identifiers when overwriting an already existing
35187 entry. Added g_return_if_fail() stuff to all public functions.
35189 * tools/pdbgen/pdb/channel.pdb
35190 * tools/pdbgen/pdb/drawable.pdb
35191 * tools/pdbgen/pdb/layer.pdb
35192 * tools/pdbgen/pdb/parasite.pdb: tweaked some helper functions to
35193 take parameters which make them aware of the real type of the
35194 objects they handle (e.g. the PDB function gimp_layer_set_name()
35195 matches the core function gimp_object_set_name()).
35197 * app/pdb/pdb_glue.h: removed ugly CPP-level workarounds for the
35198 issue mentioned above.
35200 * app/pdb/channel_cmds.c
35201 * app/pdb/drawable_cmds.c
35202 * app/pdb/layer_cmds.c
35203 * app/pdb/parasite_cmds.c
35204 * app/pdb/procedural_db_cmds.c: regenerated.
35206 2002-09-10 Dave Neary <bolsh@gimp.org>
35208 * plug-ins/common/png.c: Handle INDEXA images if the
35209 indexed palette is full by looking for an unused colour.
35212 2002-09-09 Jakub Steiner <jimmac@ximian.com>
35214 * themes/Default/images/stock-grow-16.png:
35215 * themes/Default/images/stock-shrink-16.png: make the icons less
35218 2002-09-08 Michael Natterer <mitch@gimp.org>
35220 * app/widgets/gimplayerlistview.c
35221 * app/gui/channels-commands.c: some more auto-sizing spinbuttons.
35223 * app/gui/offset-dialog.c: added mnemonics for "X" and "Y".
35225 Dialog auto-hide cleanup:
35227 * app/widgets/gimpviewabledialog.c: close the dialog when the
35228 GimpViewable goes away (special cased GimpItems which become
35229 invisible on "removed"). Close the dialog by syntesizing a
35230 "delete_event" instead of simply hiding or destroying it so the
35231 closing method of the dialog's user gets invoked.
35233 * app/gui/resize-dialog.[ch]: don't do the same here. Simplifies
35234 the API even more as we don't have to pass the object to watch any
35237 * app/gui/image-commands.c
35238 * app/gui/layers-commands.c: changed accordingly.
35240 * app/undo_history.c
35241 * app/gui/convert-dialog.c
35242 * app/gui/qmask-commands.c
35243 * app/gui/vectors-commands.c: removed all dialog auto-hiding which
35244 is now done by GimpViewableDialog. Also connect more close
35245 callbacks to gtk_widget_destroy() and handle shell destruction
35246 accordingly, so these pseudo widgets behave more like real ones.
35248 Tool-dialog auto-hide fix:
35250 * app/tools/tool_manager.c: never call a tool's initialize()
35251 method with a NULL gdisp (I can't follow why we did this before
35252 because it's conceptually broken and makes the semantics of
35253 initialize() more than unclear).
35254 To be sure, added g_return_if_fail(GIMP_IS_DISPLAY(gdisp)) to
35255 tool_manager_initialize_active().
35257 * app/tools/gimpbrightnesscontrasttool.c
35258 * app/tools/gimpcolorbalancetool.c
35259 * app/tools/gimpcurvestool.c
35260 * app/tools/gimphistogramtool.c
35261 * app/tools/gimphuesaturationtool.c
35262 * app/tools/gimpimagemaptool.c
35263 * app/tools/gimplevelstool.c
35264 * app/tools/gimpposterizetool.c
35265 * app/tools/gimpthresholdtool.c: removed the recently added code
35266 for handling NULL displays in initialize().
35268 2002-09-08 Michael Natterer <mitch@gimp.org>
35270 * plug-ins/common/curve_bend.c: forgot a mnemonic.
35272 2002-09-08 Michael Natterer <mitch@gimp.org>
35274 * plug-ins/common/iwarp.c: moved toggles into frame titles.
35276 2002-09-08 Michael Natterer <mitch@gimp.org>
35278 * plug-ins/script-fu/script-fu-scripts.c: removed explicit
35279 spinbutton pixel size.
35281 * plug-ins/script-fu/scripts/blended-logo.scm
35282 * plug-ins/script-fu/scripts/coffee.scm
35283 * plug-ins/script-fu/scripts/comic-logo.scm
35284 * plug-ins/script-fu/scripts/coolmetal-logo.scm
35285 * plug-ins/script-fu/scripts/glossy.scm
35286 * plug-ins/script-fu/scripts/land.scm
35287 * plug-ins/script-fu/scripts/lava.scm
35288 * plug-ins/script-fu/scripts/rendermap.scm
35289 * plug-ins/script-fu/scripts/test-sphere.scm: follow PDB change:
35290 gimp-gradients-[set|get]-active have been renamed to *-gradient
35291 to match the brush, pattern and palette APIs.
35293 2002-09-08 Michael Natterer <mitch@gimp.org>
35295 * app/core/gimpimage.c (gimp_image_get_colormap): return
35296 gimage->cmap directly instead of calling
35297 gimp_drawable_cmap(active_drawable) without checking if there
35298 actually is an active_drawable.
35300 * tools/pdbgen/pdb/image.pdb (image_get_cmap): use g_memdup()
35301 instead of g_new() followed by memcpy().
35303 * app/pdb/image_cmds.c: regenerated.
35305 2002-09-08 Michael Natterer <mitch@gimp.org>
35307 * app/gui/color-notebook.[ch]: set the hex entry to 7 chars instead
35308 the whole width of the vbox. Added color_notebook_set_title().
35310 * app/widgets/gimptoolbox-color-area.c: use the new function to
35311 set the color selection's title to either "Change Foreground
35312 Color" or "Change Background Color" instead of just "Color
35315 2002-09-07 Michael Natterer <mitch@gimp.org>
35319 * app/base/gimphistogram.c: Added g_return_if_fail() to all public
35320 functions, reordered stuff, cleanup (no logic changed).
35322 * app/widgets/Makefile.am
35323 * app/widgets/widgets-types.h
35324 * app/widgets/gimphistogrambox.[ch]: new widget containing a
35325 GimpHistogramView and two range spinbuttons (as known from the
35326 threshold tool). Users only need to connect to the histogram
35327 view's "range_changed" signal. The spinbuttons are handled
35330 * app/widgets/gimphistogramview.[ch]: define it's default size in
35331 the header. Make sure "start" is always smaller than "end". Emit
35332 "range_changed" in gimp_histogram_view_set_range().
35334 * app/tools/gimplevelstool.c: changed accordingly.
35336 * app/tools/gimpthresholdtool.[ch]: removed the code which
35337 did the same and use the new widget.
35339 * app/tools/gimphistogramtool.[ch]: ditto. Removed the "intensity"
35340 info label. Cleanup.
35342 2002-09-07 Michael Natterer <mitch@gimp.org>
35344 * app/gui/file-new-dialog.c
35345 * app/gui/offset-dialog.c
35346 * app/gui/preferences-dialog.c
35347 * app/gui/resolution-calibrate-dialog.c
35348 * app/gui/user-install-dialog.c: replaced some more pixel sizes by
35349 char sizes. Tweaked table spacings. Mnemonics.
35351 * app/gui/info-dialog.[ch]: internal cleanup.
35353 * app/gui/resize-dialog.[ch]: same here. Removed the "cancel_cb"
35354 from the API and simply destroy the dialog on "Cancel". Makes the
35355 dialog construction less weird.
35357 * app/gui/image-commands.c
35358 * app/gui/layers-commands.c: changed accordingly. Same cleanups
35361 2002-09-07 Michael Natterer <mitch@gimp.org>
35363 * plug-ins/FractalExplorer/Dialogs.c
35364 * plug-ins/FractalExplorer/FractalExplorer.c: some stock items.
35366 * plug-ins/MapObject/mapobject_ui.c: moved toggle button into
35367 frame title, added mnemonics.
35369 * plug-ins/common/curve_bend.c: reorganized the GUI completely
35370 to be more usable. Added mnemonics and stock items.
35372 * plug-ins/common/checkerboard.c
35373 * plug-ins/common/film.c
35374 * plug-ins/common/illusion.c
35375 * plug-ins/common/plasma.c
35376 * plug-ins/flame/flame.c: minor cleanups (spacing, stock items).
35378 2002-09-07 Dave Neary <bolsh@gimp.org>
35380 * app/xcf/xcf-load.c: Unref layer mask rather than layer
35381 when adding the mask. Fixes bug #92693.
35383 2002-09-06 Hans Breuer <hans@breuer.org>
35385 * */*/makefile.msc : updated
35387 * libgimptool/makefile.msc : new file, libgimptool
35388 is currently build as static lib due to references
35391 * themes/Default/makefile.msc : removed
35392 * themes/Default/images/makefile.msc : new file
35394 * libgimpwidgets/makefile.msc libgimpwidgets/gimpwidgets.c
35395 updated (externals)
35397 * app/paint-funcs.c : replaced gccism varibale size array on
35398 stack with portable alloca, removed sizeof(buf) check which
35401 * app/config/gimpconfig.c : get write/close protos
35403 * app/config/gimprc.c : dito and <string.h>
35404 * app/config/gimpscanner.c : <string.h> only
35406 * app/core/gimpcontainer.c : workaround for clumsy
35407 compilers not supporting vararg macros
35409 * app/core/gimpdocumentlist.c app/core/gimpparasitelist.c
35410 include <io.h> on win32
35412 * app/widgets/gimpdocumentview.c
35413 app/widgets/gimpimagedock.c
35414 app/widgets/gimppreview.c : add #ifdef __GNUC__
35415 to avoid breaking on non standard pragma #warning.
35417 * app/gui/session.c : include <string.h>
35419 * regexrepl/makefile.msc : build as dll
35421 * plug-ins/makefile.msc : updated
35423 * plug-ins/common/pix.c : open file binary
35425 * plug-ins/common/spheredesigner.c : avoid error
35426 'incompatible types' while assigning, use memcpy()
35428 2002-09-06 Michael Natterer <mitch@gimp.org>
35430 * app/gui/convert-dialog.c: changed "Number of Colors" to
35431 "Max Number of Colors" to clarify what this parameter does.
35434 * app/gui/menus.c: use GIMP_STOCK_INFO for "View/Info Window".
35436 Specify spibutton sizes in chars, not pixels (eek) all over
35437 the place. Also removed explicit sizes where the GtkSpinButton
35438 default size does not disturbe tabular widget layouts.
35440 * libgimpwidgets/gimpwidgets.c: removed the hardcoded width of 75
35441 pixels in gimp_spin_button_new(). Changed gimp_scale_entry_new()
35442 and gimp_coordinates_new() to interpret their "spinbutton_width"
35443 parameters as chars if < 16, and as pixels otherwise. This gives
35444 reasonable results and doesn't cause unchanged plug-ins to
35445 suddenly have spinbuttons of dozens of chars width :)
35447 * libgimpwidgets/gimpsizeentry.c: added the same heuristic here.
35449 * libgimpwidgets/gimpquerybox.c
35450 * app/gui/color-notebook.c
35451 * app/gui/convert-dialog.c
35452 * app/tools/gimpairbrushtool.c
35453 * app/tools/gimpblendtool.c
35454 * app/tools/gimpbrightnesscontrasttool.c
35455 * app/tools/gimpbucketfilltool.c
35456 * app/tools/gimpcolorbalancetool.c
35457 * app/tools/gimpcolorpickertool.c
35458 * app/tools/gimpconvolvetool.c
35459 * app/tools/gimpdodgeburntool.c
35460 * app/tools/gimphuesaturationtool.c
35461 * app/tools/gimpinktool.c
35462 * app/tools/gimplevelstool.c
35463 * app/tools/gimpmagnifytool.c
35464 * app/tools/gimpposterizetool.c
35465 * app/tools/gimpsmudgetool.c
35466 * app/tools/gimptexttool.c
35467 * app/tools/gimpthresholdtool.c
35468 * app/tools/paint_options.c
35469 * app/tools/selection_options.c
35470 * app/widgets/gimpbrusheditor.c
35471 * app/widgets/gimpbrushfactoryview.c
35472 * app/widgets/gimppaletteeditor.c: changed accordingly.
35474 * plug-ins/FractalExplorer/Dialogs.c
35475 * plug-ins/FractalExplorer/FractalExplorer.c
35476 * plug-ins/Lighting/lighting_ui.c
35477 * plug-ins/common/AlienMap.c
35478 * plug-ins/common/AlienMap2.c
35479 * plug-ins/common/CML_explorer.c
35480 * plug-ins/common/bumpmap.c
35481 * plug-ins/common/checkerboard.c
35482 * plug-ins/common/cubism.c
35483 * plug-ins/common/curve_bend.c
35484 * plug-ins/common/depthmerge.c
35485 * plug-ins/common/despeckle.c
35486 * plug-ins/common/diffraction.c
35487 * plug-ins/common/emboss.c
35488 * plug-ins/common/film.c
35489 * plug-ins/common/flarefx.c
35490 * plug-ins/common/fractaltrace.c
35491 * plug-ins/common/gauss_iir.c
35492 * plug-ins/common/gauss_rle.c
35493 * plug-ins/common/glasstile.c
35494 * plug-ins/common/grid.c
35495 * plug-ins/common/illusion.c
35496 * plug-ins/common/iwarp.c
35497 * plug-ins/common/jigsaw.c
35498 * plug-ins/common/lic.c
35499 * plug-ins/common/max_rgb.c
35500 * plug-ins/common/mblur.c
35501 * plug-ins/common/newsprint.c
35502 * plug-ins/common/nova.c
35503 * plug-ins/common/pixelize.c
35504 * plug-ins/common/sample_colorize.c
35505 * plug-ins/common/scatter_hsv.c
35506 * plug-ins/common/shift.c
35507 * plug-ins/common/sinus.c
35508 * plug-ins/common/sparkle.c
35509 * plug-ins/common/spread.c
35510 * plug-ins/common/tile.c
35511 * plug-ins/common/tileit.c
35512 * plug-ins/common/unsharp.c
35513 * plug-ins/common/vpropagate.c
35514 * plug-ins/common/waves.c
35515 * plug-ins/common/whirlpinch.c
35516 * plug-ins/gflare/gflare.c
35517 * plug-ins/mosaic/mosaic.c
35518 * plug-ins/rcm/rcm_dialog.c: changed accordingly, which involves
35519 removals of gtk_widget_set_size_request(spinbutton), removal of
35520 lots of explicit spinbutton sizes in gimp_scale_entry_new(), and
35521 adding of new ones because GtkSpinButton's auto-size trashed
35524 Lots of cleanup & indentation while browsing the plug-ins'
35525 code. Changed spacings, moved toggle buttons into frame titles,
35526 use stock items, stuff...
35528 2002-09-06 Maurits Rijk <lpeek.mrijk@consunet.nl>
35530 * plug-ins/common/semiflatten.c: minor code cleanup (matching
35531 g_new/g_free pairs iso g_new/free, etc.)
35533 2002-09-05 Maurits Rijk <lpeek.mrijk@consunet.nl>
35535 * plug-ins/imagemap/imap_default_dialog.c (make_default_dialog): more
35536 changes for GNOME HIG compliance
35538 * plug-ins/imagemap/imap_main.c (dialog)
35539 * plug-ins/imagemap/imap_menu.c: Moved a few menu items to make it
35540 compliant to the GNOME Human Interface Guidelines.
35542 2002-09-05 Manish Singh <yosh@gimp.org>
35544 * acinclude.m4: emptied
35546 * autogen.sh: support for automake version special casing, error
35547 out on aclocal failure.
35549 * m4compat/1.4/pysupport.m4
35550 * m4compat/1.6/pysupport.m4
35552 * plug-ins/Makefile.am: pygimp autoconf support, just to get it
35553 some testing. We'll figure out policy later.
35555 2002-09-05 Michael Natterer <mitch@gimp.org>
35557 * app/tools/gimpcroptool.c (crop_tool_crop_image): call
35558 gimp_image_flush() after cropping. Fixes #90977 (Thanks to
35561 2002-09-05 Michael Natterer <mitch@gimp.org>
35563 * app/core/gimpdrawable-bucket-fill.c: put the call to
35564 gimp_drawable_mask_bounds() back because we always need the region
35565 to apply the fill (fixes non-seed-fill fills). Also take
35566 "sample_merged" into account when intersecting the resulting mask
35567 with the image's selection.
35569 Fixed unrelated bug:
35571 * app/core/gimpimage-contiguous-region.c: need to use
35572 gimp_image_projection_bytes(), not drawable->bytes if
35573 "sample_marged" is TRUE.
35575 2002-09-04 Maurits Rijk <lpeek.mrijk@consunet.nl>
35577 * plug-ins/imagemap/imap_cmd_guides.c (make_guides_dialog): fixed
35580 * plug-ins/common/CML_explorer.c: minor code clean-up, removed
35581 cluttering frames (#92476)
35583 2002-09-04 Dave Neary <bolsh@gimp.org>
35585 * app/core/gimpdrawable-bucket-fill.c: Small patch to
35586 modify the behaviour of the bucket fill tool if there
35587 is an active selection. Question: Should the bucket fill
35588 only work if clicked inside the selection? Currently a
35589 click anywhere works, and stuff gets drawn if the region
35590 intersects the selection. This patch closes bug #72896.
35592 2002-09-04 Michael Natterer <mitch@gimp.org>
35594 More color correction stuff cleanup:
35596 * app/base/Makefile.am
35597 * app/base/base-types.h
35598 * app/base/levels.[ch]: new files containing levels_lut_func(), a
35599 new "Levels" parameter struct and the "auto levels" stuff.
35601 * app/base/lut-funcs.[ch]: removed the levels stuff here, added
35602 lots of g_return_if_fail().
35604 * app/base/color-balance.[ch]
35605 * app/base/hue-saturation.[ch]: added init() and reset() functions
35606 so we don't need to duplicate this code in the tool and the pdb
35609 * app/base/curves.[ch]: s/gint/GimpHistogramChannel/g, made
35610 curves_channel_reset() initialize the curves array.
35612 * app/tools/gimpcolorbalancetool.[ch]: use the new functions,
35613 moved the "Range" frame to the top, added a per-range "Reset"
35614 button, made the global "Reset" button reset all ranges and
35615 the "Preserve Luminosity" toggle.
35617 * app/tools/gimpcurvestool.[ch]: don't initialize the curves
35618 array manually, as curves_channel_reset() does that,
35619 s/gint/GimpHistogramChannel/g.
35621 * app/tools/gimphuesaturationtool.c: use the new functions, added
35622 a per-channel "Reset" button and made the global "Reset" button
35623 reset all channels, cleaned up the GUI update function.
35625 * app/tools/gimplevelstool.[ch]: changed to use the new Levels
35626 parameter struct and it's utility functions. Removed stuff
35627 which now lives in base/levels.c
35629 * app/tools/gimpimagemaptool.c: align the "Preview" button
35630 bottom-left, not bottom-right.
35632 * tools/pdbgen/pdb/color.pdb: use the new stuff and removed
35633 uglyness because using the "Levels" struct makes the code more
35636 * app/pdb/color_cmds.c: regenerated.
35638 2002-09-04 Michael Natterer <mitch@gimp.org>
35640 * app/gui/color-select.c
35641 * app/widgets/gimpselectioneditor.c
35642 * app/widgets/gimptoolbox.c: removed some leftover GtkTargetEntry
35645 2002-09-03 Sven Neumann <sven@gimp.org>
35647 * plug-ins/gimpressionist/ppmtool.c (saveppm): merged fix for
35648 bug #92394 from stable branch.
35650 2002-09-02 Michael Natterer <mitch@gimp.org>
35652 * app/core/gimpviewable.c: small speedup: use
35653 g_object_[get|set]_qdata() instead of g_object_[get|set]_data().
35655 2002-09-02 Michael Natterer <mitch@gimp.org>
35657 * app/core/gimpviewable.c (gimp_viewable_real_invalidate_preview):
35658 remove the attached preview pixbuf just as the preview temp_buf.
35660 2002-09-02 Michael Natterer <mitch@gimp.org>
35662 DND cleanup part 1:
35664 * app/widgets/gimpdnd.[ch]: changed all gimp_dnd_*_dest_set() and
35665 _unset() functions to _dest_add() and _dest_remove(). Switch from
35666 using static arrays of GtkTargetEntries to dynamic GtkTargetLists.
35667 The _add() and _remove() functions configure the drag dest
35668 automatically if not already done, so there is no need to call
35669 gtk_drag_dest_set() on the widget any more. Drag source cleanup
35672 Renamed silly function names gimp_gtk_* to gimp_dnd_*
35674 * app/display/gimpdisplayshell.c
35675 * app/tools/gimpblendtool.c
35676 * app/widgets/gimpcolormapeditor.c
35677 * app/widgets/gimpcontainerview.c
35678 * app/widgets/gimpgradienteditor.c
35679 * app/widgets/gimplistitem.c
35680 * app/widgets/gimpmenuitem.c
35681 * app/widgets/gimppreview.c
35682 * app/widgets/gimppaletteeditor.c
35683 * app/widgets/gimpselectioneditor.c
35684 * app/widgets/gimptoolbox-color-area.c
35685 * app/widgets/gimptoolbox-indicator-area.c
35686 * app/widgets/gimptoolbox.c
35687 * app/gui/about-dialog.c
35688 * app/gui/color-select.c
35689 * app/gui/device-status-dialog.c
35690 * app/gui/tool-options-dialog.c: changed accordingly. Removed
35691 all calls to gtk_drag_dest_set() and their GtkTargetEntry tables.
35693 * app/widgets/gimpchannellistitem.c: enabled some commented out
35694 dnd code (which will not work since dnd needs more love...)
35696 * app/widgets/gimpitemlistview.[ch]: added a third
35697 "gboolean interactive" parameter to GimpItemNewFunc.
35699 * app/gui/channels-commands.[ch]
35700 * app/gui/layers-commands.[ch]
35701 * app/gui/vectors-commands.[ch]: if the new_item_func is called
35702 with "interactive == FALSE", don't pop up a dialog but silently
35703 create a new item of the image's size.
35705 * app/widgets/gimpdrawablelistview.c: use the new feature to allow
35706 color and pattern drops to the "New" button, which creates a new
35707 layer/channel filled with the color/pattern.
35708 (special feature for drc ;-)
35710 * app/widgets/gimppaletteeditor.c: fixed event handling so we see
35711 the context menu again. Also, don't redraw on "expose", since
35712 GtkPreview does that for us.
35714 2002-09-02 Michael Natterer <mitch@gimp.org>
35716 * app/widgets/gimpviewabledialog.c: use GimpContainerView's
35717 get_name_func utility stuff instead of reinventing the wheel.
35718 (They should probably be renamed because they are not at all
35719 GimpContainerView related).
35721 2002-09-02 Michael Natterer <mitch@gimp.org>
35723 * app/gui/info-window.c: don't display Alpha twice, more cleanup.
35725 2002-09-02 Michael Natterer <mitch@gimp.org>
35727 * app/tools/gimpclonetool.c (gimp_clone_tool_draw): manually add
35728 the src_drawable's offsets instead of implicitly using the
35729 offsets of the active_drawable (fixes #92311).
35731 2002-09-01 Michael Natterer <mitch@gimp.org>
35733 GimpViewableDialogs everywhere, cleanup:
35735 * libgimpwidgets/gimpstock.c: added texts for the RESIZE, SCALE
35736 and CROP stock items.
35738 * app/widgets/gimpviewabledialog.c: update the title when the
35739 viewable's name changes.
35741 * app/gui/color-notebook.[ch]: added color_notebook_viewable_new()
35742 which creates a GimpViewableDialog.
35744 * app/widgets/gimpgradienteditor.[ch]
35745 * app/gui/colormap-editor-commands.c
35746 * app/gui/file-new-dialog.c
35747 * app/gui/gradient-editor-commands.c
35748 * app/gui/palette-editor-commands.c
35749 * app/undo_history.c: use GimpViewableDialogs and the new
35750 color_notebook constructor.
35752 * app/gui/convert-dialog.c: #include "widgets/gimpviewabledialog.h"
35754 * app/gui/image-commands.c
35755 * app/gui/info-dialog.c
35756 * app/gui/resize-dialog.c: minor cleanups.
35758 * app/gui/info-window.c: cleaned up the whole thing, esp. the
35759 "Extended" page. Added HSV color display to the color picker
35760 frame. Set the icons as frame titles, stuff...
35762 * app/tools/gimpimagemaptool.[ch]: removed "shell_title",
35763 "shell_name" and "stock_id" from the GimpImageMapTool struct
35764 because they can be obtained from the tool's GimpToolInfo object.
35766 * app/tools/gimpbrightnesscontrasttool.c
35767 * app/tools/gimpcolorbalancetool.c
35768 * app/tools/gimpcurvestool.c
35769 * app/tools/gimphuesaturationtool.c
35770 * app/tools/gimplevelstool.c
35771 * app/tools/gimpposterizetool.c
35772 * app/tools/gimpthresholdtool.c: changed accordingly.
35774 * app/tools/gimphistogramtool.c: same here: take values from
35775 tool->tool_info instead of hardcoding them.
35777 * app/tools/gimpcroptool.[ch]: removed the static crop dialog
35778 variables and added them to the GimpCropTool struct. Feels safer
35779 and makes the callback code much simpler. Use stock items for the
35780 dialog's "Resize" and "Crop" buttons.
35782 * app/tools/gimpmeasuretool.c
35783 * app/tools/gimprotatetool.c: for consistency don't name the tools
35784 "Blah Tool", also the dialog titles need to match the menu
35789 * libgimpwidgets/gimpwidgets.c: the recently changed, gtk-doc
35790 comment was correct, as gtk-doc takes the parameter names from
35791 the header, not the .c file.
35793 * app/tools/gimptransformtool.c: set the transform tool's state to
35794 TRANSFORM_CREATING after changing displays, so the initial matrix
35795 components are saved correctly for the "Reset" function.
35797 2002-09-01 Manish Singh <yosh@gimp.org>
35799 * modules/Makefile.am: use AM_CPPFLAGS instead of CPPFLAGS
35801 * modules/cdisplay_gamma.c
35802 * modules/cdisplay_highcontrast.c: changed deprecated calls
35804 * modules/colorsel_triangle.c: #undef GTK_DISABLE_DEPRECATED,
35805 still needs to be fixed for use of GtkPreview
35807 2002-09-01 Michael Natterer <mitch@gimp.org>
35809 * app/gui/file-commands.[ch]: oops, the callback's name has
35812 2002-09-01 Michael Natterer <mitch@gimp.org>
35814 * app/gui/menus.c: HIG compliance: changed "Save a Copy as..."
35815 to "Save a Copy...".
35817 * app/gui/file-dialog-utils.c
35818 * app/display/gimpdisplayshell.c: changed accordingly.
35820 2002-09-01 Michael Natterer <mitch@gimp.org>
35822 Refcount layer masks correctly. Fixes layer mask undo.
35824 * app/core/gimplayer.c (gimp_layer_add_mask): ref the mask.
35826 * app/xcf/xcf-load.c
35827 * app/gui/layers-commands.c
35828 * tools/pdbgen/pdb/image.pdb: unref layer masks after adding them.
35830 * app/pdb/image_cmds.c: regenerated.
35832 2002-08-30 Michael Natterer <mitch@gimp.org>
35834 * app/widgets/Makefile.am
35835 * app/widgets/widgets-types.h
35836 * app/widgets/gimpviewabledialog.[ch]: new dialog widget featuring
35837 a title bar containing a stock icon, a description, the viewable's
35838 name and a preview. Will be used for all viewable related dialogs
35839 and serves as a common place to control their look & feel.
35841 * app/tools/gimpimagemaptool.[ch]: removed the code which did
35842 almost the same and use GimpViewableDialog.
35844 * app/gui/info-dialog.[ch]: extended the API so it has enough
35845 information to create a GimpViewableDialog.
35847 * app/gui/channels-commands.c
35848 * app/gui/convert-dialog.c
35849 * app/gui/gradient-editor-commands.c
35850 * app/gui/image-commands.c
35851 * app/gui/info-window.c
35852 * app/gui/layers-commands.c
35853 * app/gui/offset-dialog.c
35854 * app/gui/qmask-commands.c
35855 * app/gui/resize-dialog.c
35856 * app/gui/vectors-commands.c
35857 * app/tools/gimpcolorpickertool.c
35858 * app/tools/gimpcroptool.c
35859 * app/tools/gimphistogramtool.c
35860 * app/tools/gimpmeasuretool.c
35861 * app/tools/gimpperspectivetool.c
35862 * app/tools/gimprotatetool.c
35863 * app/tools/gimpscaletool.c
35864 * app/tools/gimpsheartool.c: use GimpViewableDialogs
35866 * themes/Default/gtkrc: apply the dialog style to "*Gimp*Dialog*",
35867 not only "*GimpDialog*" so it covers GimpViewableDialog.
35869 2002-08-31 James Henstridge <james@daa.com.au>
35871 * libgimp/gimp.c (gimp_run_procedure): handle GIMP_PDB_COLOR
35872 correctly. This fixes gimp_palette_set_{back,fore}ground.
35874 2002-08-29 Manish Singh <yosh@gimp.org>
35876 * tools/pdbgen/lib.pl: fix minor buglet that earlier perls silently
35879 2002-08-29 Michael Natterer <mitch@gimp.org>
35881 * tools/pdbgen/pdb.pl: added check_funcs (GIMP_IS_LAYER,
35882 GIMP_IS_IMAGE etc.) to all data types which are looked up by ID...
35884 * tools/pdbgen/app.pl: ...and call them here instead of just
35885 checking for (item != NULL). This way image item lookup becomes
35888 * app/pdb/channel_cmds.c
35889 * app/pdb/color_cmds.c
35890 * app/pdb/convert_cmds.c
35891 * app/pdb/display_cmds.c
35892 * app/pdb/drawable_cmds.c
35893 * app/pdb/edit_cmds.c
35894 * app/pdb/fileops_cmds.c
35895 * app/pdb/floating_sel_cmds.c
35896 * app/pdb/guides_cmds.c
35897 * app/pdb/image_cmds.c
35898 * app/pdb/layer_cmds.c
35899 * app/pdb/misc_tools_cmds.c
35900 * app/pdb/paint_tools_cmds.c
35901 * app/pdb/parasite_cmds.c
35902 * app/pdb/paths_cmds.c
35903 * app/pdb/selection_cmds.c
35904 * app/pdb/selection_tools_cmds.c
35905 * app/pdb/text_tool_cmds.c
35906 * app/pdb/transform_tools_cmds.c
35907 * app/pdb/undo_cmds.c: regenerated.
35909 2002-08-29 Michael Natterer <mitch@gimp.org>
35911 * app/core/gimpchannel.c: fixed wrong g_return_if_fail() in
35912 gimp_channel_feather() so the function can be called again (fixes
35913 #91923). Also added more g_return_if_fail() where they were
35914 missing and cleaned up everything a bit.
35916 2002-08-28 Michael Natterer <mitch@gimp.org>
35918 * app/widgets/gimphistogramview.c: removed unused #define cruft.
35920 2002-08-28 Michael Natterer <mitch@gimp.org>
35922 * app/tools/gimpimagemaptool.[ch]: added a tool icon and
35923 descriptive string to the dialog's title box. Create the
35924 drawable preview with is_popup == TRUE so it doesn't show
35925 layers in the image context. Still not perfect...
35927 * app/tools/gimpbrightnesscontrasttool.c
35928 * app/tools/gimpcolorbalancetool.c
35929 * app/tools/gimpcurvestool.c
35930 * app/tools/gimphuesaturationtool.c
35931 * app/tools/gimplevelstool.c
35932 * app/tools/gimpposterizetool.c
35933 * app/tools/gimpthresholdtool.c: Chain up early in initialize()
35934 and return if gdisp == NULL. Set stock_id and desc_text so
35935 GimpImageMapTool can display them. Added lots of mnemonics
35936 (#80804). Use gimp_size_entry_new() instead of manually creating
35937 the slider+spinbutton stuff.
35939 * app/tools/gimpcurvestool.c
35940 * app/tools/gimphistogramtool.c
35941 * app/tools/gimplevelstool.c: changed widgets packing to make them
35942 resizable without strange effects. Put the "Load", "Save" and
35943 "Auto" buttons into a frame.
35945 * app/tools/gimphuesaturationtool.c: use GimpColorAreas instead of
35946 deprecated GtkPreviews. Arranged the color previews and their
35947 radio buttons as a color wheel. Not the best solution maybe but
35948 IMHO better than the old GUI.
35950 2002-08-28 Michael Natterer <mitch@gimp.org>
35952 * app/widgets/gimpdrawablepreview.c (gimp_drawable_preview_render):
35953 look at drawable->offset_[xy] != 0 when deciding whether to offset
35954 the preview. Fixes bug where layers of the size of the image were
35955 previewed with offset (0,0), regardless of their real offset.
35957 2002-08-28 Michael Natterer <mitch@gimp.org>
35959 * app/widgets/gimpchannellistview.c: removed all component item
35960 signal handling code, which is cool...
35962 * app/widgets/gimpcomponentlistitem.c: ...and added it here, which
35963 is not so cool because it adds Extra Ugliness (TM). At least it
35964 fixes part one of #90967.
35966 2002-08-28 Michael Natterer <mitch@gimp.org>
35968 * app/undo.c (undo_pop_layer)
35969 * app/core/gimpimage.c (gimp_image_[add|remove]_layer): emit
35970 "alpha_changed" from the image if we started (or ended up)
35971 with an image containing one layer without alpha.
35973 * app/core/gimplayer.c: use gimp_container_num_children() instead
35974 of accessing container->num_children manually.
35976 2002-08-28 Sven Neumann <sven@gimp.org>
35978 * plug-ins/common/rotate.c (rotate): check if the active drawable
35979 is a layer before using gimp_layer functions on it.
35981 2002-08-27 Michael Natterer <mitch@gimp.org>
35983 * app/core/gimpimage-mask.c (gimp_image_mask_float): fixed a bug
35984 introduced by myself on 2001-12-13: the floating selection layer
35985 needs to be of the type of it's associated drawable, which may be
35986 different from the image's type if it is a channel or layer mask
35989 2002-08-27 Manish Singh <yosh@gimp.org>
35991 * devel-docs/lib*/Makefile.am: add dummy all-local rules for the
35992 !gtk-doc case, to fix problems with some automake/make combos
35994 * modules/Makefile.am: use lib instead of libexec to appease automake
35997 2002-08-27 Michael Natterer <mitch@gimp.org>
35999 * app/widgets/gimppreview.[ch]: added #define for
36000 GIMP_PREVIEW_MAX_BORDER_WIDTH instead of hardcoding it all over
36001 the place, cleanup.
36003 2002-08-27 Michael Natterer <mitch@gimp.org>
36005 * app/plug-ins/plug-in.c (plug_in_close,
36006 plug_in_handle_proc_uninstall): don't forget to g_free() the
36007 proc_def struct after removing a temporary procedure.
36009 * app/plug-ins/plug-ins.c: iterate lists with for() loops,
36012 2002-08-27 Michael Natterer <mitch@gimp.org>
36014 * libgimpwidgets/gimpwidgets.c: fixed wrong parameter name in
36017 2002-08-27 Michael Natterer <mitch@gimp.org>
36019 * app/widgets/gimpdialogfactory.c: if a dialog constructor fails
36020 to return a GimpDockable, destroy the dock we created for the
36021 dockable instead of leaking it. Cleanup.
36023 2002-08-27 Michael Natterer <mitch@gimp.org>
36025 * app/widgets/gimpitemfactory.c: g_strdup(entry->help_path) if
36026 static_entry == FALSE.
36028 * app/gui/file-open-dialog.c
36029 * app/gui/file-save-dialog.c
36030 * app/gui/plug-in-menus.c: free the help string after adding
36031 a menu item with static_entry == FALSE.
36033 2002-08-27 Michael Natterer <mitch@gimp.org>
36035 * app/tools/gimptexttool.c: changed the default text to
36036 "No, you can't change this text. Please DON'T report this bug."
36038 2002-08-27 Michael Natterer <mitch@gimp.org>
36040 * app/base/curves.h: removed #defines and added enum CurvesType
36043 * app/core/gimpchannel.c: use TRANSPARENT_OPACITY and
36044 OPAQUE_OPACITY instead of 0 and 255.
36046 * app/core/gimplayer.c (gimp_layer_create_mask): fixed inverse
36047 layer mask creation by setting GIMP_CHANNEL(mask)->bounds_known to
36048 FALSE correctly (fixes #90982). Also optimized mask creation
36049 by calling gimp_channel_all() and gimp_channel_clear() for
36050 white and black masks.
36052 2002-08-27 Sven Neumann <sven@gimp.org>
36055 * app/gui/select-commands.[ch]: added a menu entry that toggles
36056 the QuickMask state and bound Shift-Q to it (bug #86580).
36058 2002-08-27 Sven Neumann <sven@gimp.org>
36060 * autogen.sh: call 'libtoolize --version' instead of libtool.
36062 2002-08-26 Sven Neumann <sven@gimp.org>
36064 * plug-ins/sel2path/sel2path.c: changed dialog name as suggested
36065 in bug-report #88905 and did some code cleanup while I was at it.
36067 2002-08-26 Michael Natterer <mitch@gimp.org>
36069 Color correction tool chopping:
36072 * app/image_map.[ch]: removed...
36074 * app/core/Makefile.am
36075 * app/core/core-types.h
36076 * app/core/gimpimagemap.[ch]: ...and added here as object.
36078 * app/base/Makefile.am
36079 * app/base/base-types.h
36080 * app/base/color-balance.[ch]
36081 * app/base/curves.[ch]
36082 * app/base/hue-saturation.[ch]
36083 * app/base/threshold.[ch]: the lowlevel color correction functions
36084 plus their parameter structs cut out of the resp. tools.
36086 * app/core/core-enums.[ch]: removed GimpTransferMode enum...
36088 * app/base/base-enums.[ch]: ...added it here. Also added
36089 GimpHueRange for the new hue-saturation files.
36091 * tools/pdbgen/enums.pl
36092 * libgimp/gimpenums.h
36093 * plug-ins/script-fu/script-fu-constants.c: regenerated.
36095 * app/tools/Makefile.am
36096 * app/tools/gimpcolorbalancetool-transfer.c: removed (code went
36097 to base/color-balance.c).
36099 * app/tools/gimpimagemaptool.[ch]: added most code which was
36100 duplicated in subclasses. Create the dialog here with a nice title
36101 bar including image preview and name (fixes #66033). Added virtual
36102 functions map(), dialog() and reset() which need to be implemented
36105 * app/tools/gimpbrightnesscontrasttool.[ch]
36106 * app/tools/gimpcolorbalancetool.[ch]
36107 * app/tools/gimpcurvestool.[ch]
36108 * app/tools/gimphuesaturationtool.[ch]
36109 * app/tools/gimplevelstool.[ch]
36110 * app/tools/gimpposterizetool.[ch]
36111 * app/tools/gimpthresholdtool.[ch]: removed tons of duplicated
36112 code and simply implement GimpImageMapTool's virtual functions.
36113 Removed all dialog structs and keep the variables in the tool
36114 structs. The dialogs are now created on-the-fly and destroyed when
36115 the tool goes away, which makes all callbacks much simpler and
36116 safer. Lots of GUI & code cleanup in all dialogs.
36118 * app/tools/gimpcurvestool.c
36119 * app/tools/gimplevelstool.c: added separate "Reset Channel"
36120 buttons and let the global "Reset" buttons reset all color
36123 * app/tools/tools.c: the various antique foo_free() functions
36124 don't exist any more.
36126 * app/tools/gimphistogramtool.c: removed ImageMap field from
36127 dialog struct (it was unused). Cleaned up dialog a bit.
36129 * tools/pdbgen/Makefile.am: don't scan tools/gimphuesaturationtool.h
36132 * tools/pdbgen/pdb/color.pdb: use the new stuff from base/ and
36133 don't include stuff from tools/ any more.
36135 * app/pdb/color_cmds.c
36136 * app/pdb/paint_tools_cmds.c: regenerated.
36138 2002-08-25 Sven Neumann <sven@gimp.org>
36140 * plug-ins/common/sel_gauss.c: allow radius < 1.0 (bug #90957).
36142 2002-08-22 Michael Natterer <mitch@gimp.org>
36144 * app/gui/dialogs-constructors.c: a nicer tab for the selection
36147 2002-08-22 Michael Natterer <mitch@gimp.org>
36149 * themes/Default/images/stock-all-16.png
36150 * themes/Default/images/stock-none-16.png
36151 * themes/Default/images/stock-grow-16.png
36152 * themes/Default/images/stock-shrink-16.png: new icons from Jimmac.
36154 * themes/Default/images/Makefile.am
36155 * themes/Default/imagerc
36156 * libgimpwidgets/gimpstock.[ch]: added them to the stock system.
36158 * app/gui/menus.c: use them.
36160 * app/widgets/gimpselectioneditor.[ch]: use the icons and added
36161 a "Save to Channel" button.
36163 2002-08-22 Sven Neumann <sven@gimp.org>
36165 * tools/pdbgen/pdb/gimprc.pdb
36166 * app/pdb/gimprc_cmds.c (gimprc_query_invoker): don't leak the
36167 result of gimprc_value_to_str().
36169 * app/core/gimpdrawable-preview.c (gimp_drawable_preview_scale):
36170 use g_new0() instead of g_new() followed by memset().
36172 * plug-ins/script-fu/script-fu-server.c (server_log): free the
36173 string after logging it.
36175 2002-08-22 Michael Natterer <mitch@gimp.org>
36177 * app/paint/paint.c: unref the paint info objects after adding
36178 them to their container.
36180 * app/widgets/toolbox.c: free the tooltip string after setting it.
36182 * app/gui/session.c: spit out the correct warning if (position x y)
36183 could not be parsed.
36185 2002-08-22 Michael Natterer <mitch@gimp.org>
36187 * configure.in: bumped version number to 1.3.9
36189 * app/tools/gimpbycolorselecttool.[ch]: removed the ByColorDialog
36190 and cleaned up the code.
36192 * app/widgets/Makefile.am
36193 * app/widgets/widgets-types.h
36194 * app/widgets/gimpselectioneditor.[ch]: added new widget
36195 GimpSelectionEditor with same same functionality as the old
36196 ByColorDialog which can be open all the time (independent of the
36199 * app/widgets/gimppreview.[ch]: added gimp_preview_new_by_type()
36200 so previews can be created without a viewable.
36202 * app/widgets/gimppreview-utils.[ch]: changed
36203 gimp_preview_type_from_viewable() to
36204 gimp_preview_type_from_viewable_type().
36206 * app/gui/dialogs-constructors.[ch]
36207 * app/gui/dialogs.c
36208 * app/gui/menus.c: register the new dialog type.
36210 2002-08-22 Michael Natterer <mitch@gimp.org>
36212 * app/undo.c: compress emissions of "mask_changed" and
36213 "qmask_changed" across undo groups.
36215 * app/core/gimpimage-mask.c: set GIMP_DRAWABLE(mask)->preview_valid
36216 to FALSE in gimp_image_mask_invalidate(), not in
36217 gimp_image_mask_push_undo(). Fixes selection preview rendering
36220 2002-08-22 Michael Natterer <mitch@gimp.org>
36222 * app/display/gimpdisplayshell-render.c: allocate all temporary
36223 render bufs and check bufs large enough for GIMP_PREVIEW_MAX_SIZE
36224 (which is 1024). Fixes crashes with too large navigation previews.
36226 2002-08-22 Maurits Rijk <lpeek.mrijk@consunet.nl>
36228 * plug-ins/imagemap/imap_main.c (save_as_csim)
36229 * plug-ins/imagemap/imap_object.c: applied patch for #87687 from
36230 shaneyfelt@juno.com
36232 2002-08-22 Michael Natterer <mitch@gimp.org>
36234 Fixed usage of uninitialized memory found by valgrind,
36237 * app/base/pixel-region.[ch]: allocate PixelRegionIterators and
36238 PixelRegionHolders with g_new0(). Changed return values of
36239 pixel_regions_register() and pixel_regions_process() from gpointer
36240 to PixelRegionIterator*
36242 * app/base/pixel-processor.c: no need to cast the above return values.
36244 * app/base/temp-buf.[ch]: initialize PixelRegions with { 0 }
36245 before using them for TempBufs.
36247 * app/gui/device-status-dialog.c: initialize colors before
36248 passing them to gimp_color_area_new().
36250 2002-08-21 Maurits Rijk <lpeek.mrijk@consunet.nl>
36252 * plug-ins/imagemap/imap_cmd_guides.c (make_guides_dialog)
36253 * plug-ins/imagemap/imap_settings.c (create_settings_dialog)
36254 * plug-ins/imagemap/imap_grid.c (create_grid_settings_dialog): replaced
36255 some code by default_dialog_add_table convenience func.
36257 * plug-ins/imagemap/imap_default_dialog.h
36258 * plug-ins/imagemap/imap_default_dialog.c: added convenience func
36259 default_dialog_add_table.
36261 * plug-ins/imagemap/imap_grid.c: fixed warning for missing prototype
36264 * plug-ins/imagemap/imap_about.c: updated copyright date
36266 * plug-ins/imagemap/imap_main.c
36267 * plug-ins/imagemap/imap_menu.h
36268 * plug-ins/imagemap/imap_menu.c
36269 * plug-ins/imagemap/Makefile.am
36270 * plug-ins/imagemap/imap_cmd_gimp_guides.h
36271 * plug-ins/imagemap/imap_cmd_gimp_guides.c: new functionality to allow
36272 creation of imagemap's using GIMP guides.
36274 2002-08-21 Michael Natterer <mitch@gimp.org>
36276 * app/gui/menus.c (menus_last_opened_add): don't g_free() static
36277 strings (happened if gimprc.last_opened_size > 9, fixes #85795).
36279 2002-08-21 Michael Natterer <mitch@gimp.org>
36281 * app/core/gimpimage-mask-select.c: call gimp_image_mask_changed()
36282 after performing the selection op.
36284 2002-08-20 Sven Neumann <sven@gimp.org>
36286 * Made 1.3.8 release.
36288 2002-08-20 Sven Neumann <sven@gimp.org>
36290 * data/misc/Makefile.am: don't use the automatic variable $<
36291 (seems to work with GNU make only).
36295 2002-08-20 Michael Natterer <mitch@gimp.org>
36297 * app/tools/gimpfuzzyselecttool.c: namespace cleanup.
36299 2002-08-20 Michael Natterer <mitch@gimp.org>
36301 Make sure the selection (gimpimage-mask.c) functionality is really
36302 built *on top* of the GimpChannel functionality:
36304 * app/undo.[ch]: renamed undo_push_image_mask() to
36305 undo_push_mask() and generalized it's API to take a GimpChannel
36306 param so undos can be pushed for channels which are not the
36307 image's selection. Simplified the API and added code which copies
36308 the region of interest instead of leaving this to callers.
36310 * app/undo_types.h: s/IMAGE_MASK_UNDO/MASK_UNDO/
36312 * app/undo_history.c: changed accordingly.
36314 * app/core/gimpchannel.[ch]: don't #include "gimpimage-mask.h".
36315 Changed gimp_channel_push_undo() to really push a channel undo,
36316 not a selection undo. Added "gboolean push_undo" params to all
36317 functions which are called from gimpimage-mask.c. Various cleanups
36318 and optimizations. Added /*< proxy-foo >*/ stuff to the header so
36319 we export just the struct itself to libgimpproxy. Added accessors
36320 gimp_channel_[get|set]_show_masked().
36322 * app/core/gimpimage-mask.[ch]: renamed gimp_image_mask_undo() to
36323 gimp_image_mask_push_undo(). Call it before calling GimpChannel
36324 functions which modify the mask, also call all GimpChannel
36325 functions with push_undo = FALSE. Emit gimp_image_mask_changed()
36326 after each operation instead of calling it in
36327 gimp_image_mask_invalidate(). Removed gimp_image_mask_none()
36328 because it is the same as gimp_image_mask_clear().
36331 * app/core/gimpimage-mask-select.c
36332 * app/core/gimpimage-qmask.c: changed accordingly.
36334 * app/core/gimpedit.c: call gimp_image_mask_clear(), not
36335 gimp_channel_clear (gimp_image_get_mask()).
36337 * app/core/gimpimage-crop.c
36338 * app/core/gimpimage-resize.c
36339 * app/core/gimpimage-scale.c: call gimp_image_mask_changed()
36341 * app/gui/channels-commands.c
36342 * app/gui/select-commands.c
36343 * app/tools/gimptexttool.c
36344 * tools/pdbgen/pdb/channel.pdb
36345 * tools/pdbgen/pdb/selection.pdb: follow GimpChannel and
36346 gimp_image_mask* API changes.
36348 * app/pdb/channel_cmds.c
36349 * app/pdb/selection_cmds.c
36350 * libgimpproxy/gimpchannel.h: regenerated.
36354 * app/core/gimpimage.c: call gimp_drawable_push_undo() instead of
36355 undo_push_image() directly.
36357 2002-08-18 Manish Singh <yosh@gimp.org>
36359 * autogen.sh: remove bashism (function keyword)
36361 2002-08-18 Michael Natterer <mitch@gimp.org>
36363 * plug-ins/common/gif.c: removed GTK_ENABLE_BROKEN and _DEPRECATED
36364 #defines and #includes because this plug-in has already been
36367 2002-08-11 Michael Natterer <mitch@gimp.org>
36369 * app/core/gimpcontainer.c: fixed warning, coding style.
36371 2002-08-09 Kelly Martin <kmartin@pyrzqxgl.org>
36373 * app/tools/gimpposterizetool.c (gimp_posterize_tool_register):
36376 2002-08-06 Sven Neumann <sven@gimp.org>
36378 * app/tools/gimpmagnifytool.[ch]: reverted Dave's change
36379 since this feature has already been implemented properly
36380 (and configurable) last December.
36382 2002-08-05 Dave Neary <bolsh@gimp.org>
36384 * app/tools/gimpmagnifytool.[ch]: Require a minimum
36385 movement in the X and Y direction before we zoom in
36386 on/out to the dragged square. Limit rather arbitrarily
36387 set to 5. This fixes bug #86939, reported by
36390 2002-08-04 Sven Neumann <sven@gimp.org>
36392 * plug-ins/common/gauss_iir.c
36393 * plug-ins/common/gauss_rle.c: merged fix for bug #89825 from
36396 2002-08-04 Dave Neary <bolsh@gimp.org>
36398 * plug-ins/common/decompose.c: Add RGBA as a decompose target.
36400 2002-08-03 Manish Singh <yosh@gimp.org>
36402 * configure.in: make sure -lm is in $LIBS for the finite/isfinite
36403 test, fixes issues on newer FreeBSD
36405 * plug-ins/common/jpeg.c: cast statbuf.st_size to glong for
36408 2002-08-03 Maurits Rijk <lpeek.mrijk@consunet.nl>
36410 * plug-ins/imagemap/Makefile.am (EXTRA_DIST): removed *.xpm files for
36411 which we now use GTK stock icons
36412 * plug-ins/imagemap/edit.xpm
36413 * plug-ins/imagemap/preferences.xpm: removed these pixmaps since we now
36414 use stock icons for those.
36416 * plug-ins/imagemap/imap_preferences.c
36417 * plug-ins/imagemap/imap_browse.c: replaced a few deprecated GTK
36420 2002-08-02 Maurits Rijk <lpeek.mrijk@consunet.nl>
36422 * plug-ins/imagemap/imap_preferences.c
36423 * plug-ins/imagemap/imap_main.c
36424 * plug-ins/imagemap/imap_main.h
36425 * plug-ins/imagemap/imap_menu.c
36426 * plug-ins/imagemap/imap_menu.h
36427 * plug-ins/imagemap/imap_tools.c
36428 * plug-ins/imagemap/imap_tools.h: started implementation of fuzzy
36429 select: you can now click on a more or less contiguous region and the
36430 plug-in will automatically create an object (circle, rectangle or
36433 2002-08-01 Maurits Rijk <lpeek.mrijk@consunet.nl>
36435 * plug-ins/imagemap/imap_object.c (object_list_write_csim)
36436 * plug-ins/imagemap/imap_main.c (save_as_csim)
36437 * plug-ins/imagemap/imap_polygon.c (polygon_write_csim)
36438 * plug-ins/imagemap/imap_rectangle.c (rectangle_write_csim)
36439 * plug-ins/imagemap/imap_circle.c (circle_write_csim): lowercased tags
36440 as described in #87687. Still a few more changes to be made.
36442 2002-07-22 Sven Neumann <sven@gimp.org>
36444 * themes/Default/imagerc: applied a patch from Guillermo S. Romero
36445 that updates the example imagerc.
36447 2002-07-11 Sven Neumann <sven@gimp.org>
36449 * configure.in: bumbed version number to 1.3.8.
36451 * app/core/gimpcontainer.c: use gulong for signal handler IDs.
36453 2002-07-09 Sven Neumann <sven@gimp.org>
36455 Merged bug-fixes from the stable branch:
36457 * plug-ins/common/papertile.c: bug #86868.
36459 * plug-ins/common/tileit.c: bug #86637.
36461 * plug-ins/common/xpm.c: bug #87588.
36463 * plug-ins/print/print.c: bug #87428.
36465 2002-07-08 Zbigniew Chyla <cyba@gnome.pl>
36469 * plug-ins/script-fu/script-fu.c (script_fu_query): Pass
36470 "gimp14-script-fu" to gimp_plugin_domain_register
36471 (not "gimp-script-fu").
36473 * libgimp/libgimp-intl.h: s/gimp-libgimp/gimp14-libgimp/
36475 * libgimpwidgets/gimpstock.c (gimp_stock_items[]): ditto
36477 2002-06-29 Maurits Rijk <lpeek.mrijk@consunet.nl>
36479 * plug-ins/common/papertile.c (open_dialog): Added mnemonics (#80804)
36480 (filter): replaced gimp_pixel_rgn_get/set_row's to get/set complete
36481 image in/from buffer with one gimp_pixel_rgn_get/set_rect.
36483 * plug-ins/common/xpm.c (save_dialog): Added mnemonics (#80804) plus
36484 some minor code cleanup.
36486 2002-06-27 Maurits Rijk <lpeek.mrijk@consunet.nl>
36488 * plug-ins/common/tiler.c: converted Make Seamless plug-in so it now
36489 uses a tile iterator. It's now about 10 times faster than the original
36490 implementation. Also includes fix for #67686 which was caused by
36491 rounding error in integer calculations.
36493 2002-06-27 Michael Natterer <mitch@gimp.org>
36495 * app/display/gimpdisplay.[ch]: removed gdisp->scale,
36496 gdisp->dot_for_dot, the scaling marcos and the
36497 gdisplay_[un]transform[_f]() functions.
36499 * app/display/gimpdisplayshell.[ch]: added them here. Named the
36500 transform functions gimp_display_shell_[un]transform_xy[_f]().
36502 Made the gimp_display_shell_[un]transform_coords() functions copy
36503 all values of the GimpCoords struct, not just x and y.
36505 * app/display/gimpstatusbar.[ch]: keep a pointer to
36506 GimpDisplayShell, not GimpDisplay.
36508 * app/display/gimpdisplayshell-callbacks.c
36509 * app/display/gimpdisplayshell-render.c
36510 * app/display/gimpdisplayshell-scale.c
36511 * app/display/gimpdisplayshell-scroll.c
36512 * app/display/gimpdisplayshell-selection.c
36513 * app/display/gimpnavigationview.c
36514 * app/gui/image-commands.c
36515 * app/gui/info-window.c
36516 * app/gui/select-commands.c
36517 * app/gui/view-commands.c
36518 * app/tools/gimpbezierselecttool.c
36519 * app/tools/gimpcroptool.c
36520 * app/tools/gimpdrawtool.c
36521 * app/tools/gimpeditselectiontool.c
36522 * app/tools/gimpmagnifytool.c
36523 * app/tools/gimpmeasuretool.c
36524 * app/tools/gimpmovetool.c
36525 * app/tools/gimppainttool.c
36526 * app/tools/gimppathtool.c
36527 * app/tools/gimprotatetool.c
36528 * app/tools/gimpscaletool.c
36529 * app/tools/gimpvectortool.c: changed accordingly.
36531 * app/gui/layers-commands.c: if(gimage->selection_mask) is always
36532 TRUE, use if(!gimp_image_mask_is_empty(gimage)) instead.
36534 * app/tools/gimpfuzzyselecttool.[ch]: moved global variables
36535 to the object struct.
36537 2002-06-25 Simon Budig <simon@gimp.org>
36539 * docs/Wilber.svg: Fixed the SVG so that the Adobe Plugin
36540 displays it correctly (the "fill" property defaults to black)
36542 2002-06-25 Mel Boyce <syngin@gimp.org>
36544 * plug-ins/helpbrowser/helpbrowser.c: Changed HTML for the
36545 "Document not found" error to come in to line with GIMP-Help-2 style.
36547 2002-06-25 Sven Neumann <sven@gimp.org>
36549 * plug-ins/common/pix.c: changed a confusing comment, minor cleanup.
36551 2002-06-24 Maurits Rijk <lpeek.mrijk@consunet.nl>
36553 * plug-ins/common/tiler.c (tile): minor optimizations and code
36556 * plug-ins/common/AlienMap.c: added mnemonis (#80804) plus minor
36559 * plug-ins/common/pix.c: minor code cleanup: g_new should have a
36560 matching g_free instead of free
36562 2002-06-24 Sven Neumann <sven@gimp.org>
36564 * plug-ins/dbbrowser/dbbrowser_utils.c (dialog_search_callback):
36565 cleaned up after myself. There's no need to sort the store twice.
36567 2002-06-23 Maurits Rijk <lpeek.mrijk@consunet.nl>
36569 * libgimpcolor/gimprgb.c (gimp_rgb_min)
36570 * libgimpcolor/gimprgb.c (gimp_rgb_max): don't use macro calls inside
36571 a macro call to avoid double evaluation.
36573 2002-06-23 Maurits Rijk <lpeek.mrijk@consunet.nl>
36575 * plug-ins/common/lic.c: started code clean-up. This plug-in is still
36578 * plug-ins/common/lic.c (create_main_dialog): Added mnemonics (#80804)
36581 2002-06-23 Marco Wessel <marco@phoenix.uzaynet.nl>
36583 * plug-ins/script-fu/scripts/tileblur.scm: switch horizontal and
36584 vertical blurring. They were reversed. (Tuomas noticed this.)
36586 2002-06-21 Maurits Rijk <lpeek.mrijk@consunet.nl>
36588 * plug-ins/common/AlienMap2.c: replace plug-ins hsl_to_rgb and
36589 rgb_to_hsl routines by libcompcolor routines (gimp_hsl_to_rgb and
36590 gimp_rgb_to_hsl). Added mnemonics (#80804) to dialog.
36592 * libgimpcolor/gimpcolorspace.c (gimp_hsl_to_rgb): implemented correct
36593 algorithm for this conversion (taken from "Fundamentals of Interactive
36594 Computer Graphics by Foley and van Dam).
36596 2002-06-21 Sven Neumann <sven@gimp.org>
36599 * data/misc/Makefile.am: added some files to DISTCLEANFILES
36602 2002-06-20 Michael Natterer <mitch@gimp.org>
36604 Fixed color picking (reported by jimmac on #gimp):
36606 * app/core/gimpimage-pick-color.c: set the returned color's alpha
36607 value to opaque if the drawable we pick from has no aplha.
36609 * app/tools/gimpcolorpickertool.c: ignore all values returned by
36610 gimp_image_pick_color() if it returns FALSE (which happens if we
36611 want to pick outside the drawable).
36613 2002-06-19 Michael Natterer <mitch@gimp.org>
36617 Updating the active tool's modifier state on GDK_ENTER_NOTIFY and
36618 GDK_LEAVE_NOTIFY was a bad idea because this only works with
36619 focus-follows-mouse. Instead, update it during the whole time the
36620 canvas can receive key events, namely from FOCUS_IN until
36621 FOCUS_OUT. As an ugly side condition, click-to-focus leads to
36622 GDK_BUTTON_PRESS arriving before GDK_FOCUS_CHANGE(in).
36624 * app/display/gimpdisplayshell-callbacks.[ch]: removed the
36625 separate focus_in and focus_out callbacks and handle them in
36626 gimp_display_shell_canvas_tool_events(). Moved tool state updating
36627 from the ENTER/LEAVE code to FOCUS_CHANGE. Added an ugly static
36628 variable "button_press_before_focus" and take care of the side
36629 condition mentioned above.
36631 * app/display/gimpdisplayshell.c: changed accordingly.
36633 2002-06-19 Maurits Rijk <maurits@linux.local>
36635 * plug-ins/imagemap/imap_preview.c (arrow_cb): minor layout changes.
36637 * plug-ins/imagemap/imap_object.c (object_get_icon):
36638 * plug-ins/imagemap/imap_selection.c (selection_update): quick and
36639 dirty fix for now. Should be replaced as soon as GtkCList is replaced
36642 * plug-ins/imagemap/imap_cmd_move_sash.c (move_sash_command_new): fixes
36643 #84726 (Imagemap plugin crashes regularly).
36645 2002-06-19 Maurits Rijk <lpeek.mrijk@consunet.nl>
36647 * plug-ins/common/fractaltrace.c (dialog_show): enable mnemonics
36649 * plug-ins/common/blur.c (blur_prepare_row): function caused a
36650 "assertion `y >= 0 && y < pr->drawable->height' failed" in
36651 gimp_pixel_rgn_get_row.
36653 2002-06-18 Maurits Rijk <lpeek.mrijk@consunet.nl>
36655 * plug-ins/imagemap/Makefile.am (EXTRA_DIST): removed *.xpm files for
36656 which we now use GTK stock icons
36657 * plug-ins/imagemap/open.xpm
36658 * plug-ins/imagemap/save.xpm
36659 * plug-ins/imagemap/zoom_in.xpm
36660 * plug-ins/imagemap/zoom_out.xpm: removed these pixmaps since we now
36661 use stock icons for those.
36663 2002-06-18 Maurits Rijk <lpeek.mrijk@consunet.nl>
36665 * plug-ins/common/align_layers.c (align_layers_dialog): enable
36666 mnemonics, minor code cleanup.
36668 * plug-ins/imagemap/imap_file.c (create_file_error_dialog): added stock
36669 warning icon to error dialog.
36671 * plug-ins/imagemap/ChangeLog: removed since it wasn't up-to-date and
36672 changes to the plug-in are logged in _this_ ChangeLog.
36674 2002-06-17 Sven Neumann <sven@gimp.org>
36676 Obviously I disagree with Tim about the symbol_name parameter in
36677 g_scanner_unexp_token(). As it seems it's not supposed to be used
36678 to tell the user about the expected symbol (see bug #81850):
36680 * gimpconfig.[ch] (gimp_config_deserialize_return): removed the
36681 symbol_name parameter.
36683 * app/config/gimpconfig-deserialize.c
36684 * app/core/gimpcontainer.c
36685 * app/core/gimpdocumentlist.c
36686 * app/core/gimpparasitelist.c: changed the callers accordingly.
36688 * app/core/gimpunits.c (gimp_unitrc_load): pass NULL as symbol_name
36689 to g_scanner_unexp_token().
36691 2002-06-17 Sven Neumann <sven@gimp.org>
36693 * plug-ins/script-fu/script-fu-server.c (read_from_client): merged
36694 fix for bug #85573 from stable branch. We should port this stuff
36695 to use GIOChannels.
36697 2002-06-17 Michael Natterer <mitch@gimp.org>
36699 Separated tool_options creation from tool registration so we
36700 don't implicitly create widgets before gui_init():
36702 * libgimptool/gimptooltypes.h: removed GimpToolOptionsNewFunc
36705 * app/core/core-types.h: ...and added it here.
36707 * libgimpproxy/gimpproxytypes.h: regenerated.
36709 * app/core/gimptoolinfo.[ch]: added a GimpToolOptionsNewFunc
36710 pointer to remember the constructor. Fixed the finalize() method
36711 (bug was never noticed because we leaked all tool infos)
36713 * app/tools/tool_manager.[ch]: moved tool_options creation to the
36714 new function tool_manager_restore(). Unref the tool infos after
36715 adding them to their container. Added "brush" and "gradient" to
36716 the context properties which are defined for tool contexts.
36718 * app/app_procs.c: call tool_manager_restore() after gui_init().
36720 * app/gui/gui.c: removed the hack introduced recently and call
36721 render_setup() in gui_init() again, not in gui_themes_init().
36723 Use the correct contexts now that they are properly initialized
36724 at the time of tool_options creation:
36726 * app/tools/gimpblendtool.c: use tool_info->context, not
36727 gimp_get_user_context() to get/set the tool's gradient.
36729 * app/paint/gimppaintcore.[ch] (gimp_paint_core_start): added a
36730 GimpPaintOptions paramater and get the brush to use from
36731 paint_options->context (instead of gimp_get_current_context()).
36733 * app/paint/gimppaintcore-stroke.c
36734 * app/tools/gimppainttool.c: changed accordingly.
36736 * app/tools/paint_options.c: added a brush preview to the paint
36739 2002-06-16 Michael Natterer <mitch@gimp.org>
36743 * app/tools/gimpfliptool.c: set the toggle_cursor correctly.
36745 * app/tools/gimptransformtool.c: if "use_grid" is FALSE, skip the
36746 cursor update stuff and chain up directly.
36748 Misc tool->control options fixes:
36750 * app/tools/gimppainttool.c: set "motion_mode" to
36751 GIMP_MOTION_MODE_EXACT.
36753 * app/tools/gimpairbrushtool.c
36754 * app/tools/gimpclonetool.c
36755 * app/tools/gimpconvolvetool.c
36756 * app/tools/gimpdodgeburntool.c
36757 * app/tools/gimperasertool.c
36758 * app/tools/gimppaintbrushtool.c
36759 * app/tools/gimpsmudgetool.c: don't touch "motion_mode" here.
36761 * app/tools/gimpimagemaptool.c
36762 * app/tools/gimptransformtool.c: set "scroll_lock" to TRUE and
36763 "preserve" to FALSE.
36765 * app/tools/gimpcurvestool.c
36766 * app/tools/gimphuesaturationtool.c
36767 * app/tools/gimplevelstool.c
36768 * app/tools/gimpfliptool.c
36769 * app/tools/gimpperspectivetool.c
36770 * app/tools/gimprotatetool.c
36771 * app/tools/gimpscaletool.c
36772 * app/tools/gimpsheartool.c: don't touch them here.
36774 * app/tools/gimphistogramtool.[ch]: derive it from GimpImageMapTool
36775 so it inherits it's control settings.
36777 * app/tools/gimpellipseselecttool.c: don't set "preserve" to TRUE.
36779 * app/tools/gimpmagnifytool.c
36780 * app/tools/gimpmovetool.c: code formating paranoia.
36782 * app/tools/gimptoolcontrol.c: fixed indentation.
36784 2002-06-16 Michael Natterer <mitch@gimp.org>
36786 * app/tools/gimpblendtool.c: set the witdh of the gradient preview
36787 to 96 instead of 128 pixels so it is not the widest tool options
36788 item with the "small" theme.
36790 2002-06-16 Michael Natterer <mitch@gimp.org>
36792 * libgimpwidgets/gimpstock.[ch]: register the new "invert" and
36793 "layer to imagesize" PNGs as stock icons.
36795 * app/gui/menus.c: use them here.
36797 * themes/Default/images/Makefile.am: fixed indentation.
36799 2002-06-16 Sven Neumann <sven@gimp.org>
36801 * app/gui/menus.c: use the new paste icons in the menu.
36803 2002-06-15 Jakub Steiner <jimmac@ximian.com>
36806 * themes/Default/images/stock-swap-colors-16.png:
36808 * themes/Default/images/stock-swap-colors-12.png:
36810 eek, now I know why the wicked 12x12 size ;)
36812 * libgimpwidgets/gimpstock.c:
36813 * themes/Default/images/Makefile.am:
36814 * themes/Default/images/stock-icons.list: updated
36816 2002-06-15 Jakub Steiner <jimmac@ximian.com>
36820 * themes/Default/images/stock-invert-16.png: color invert
36821 * themes/Default/images/stock-layer-to-imagesize-16.png:
36822 * themes/Default/images/stock-swap-colors-16.png:
36826 * themes/Default/images/stock-convert-rgb-16.png:
36827 * themes/Default/images/stock-paste-16.png:
36828 * themes/Default/images/stock-paste-as-new-16.png:
36829 * themes/Default/images/stock-paste-into-16.png:
36831 removed themes/Default/images/stock-swap-colors-12.png: replaced
36834 * themes/Default/images/Makefile.am: updated icons
36835 * themes/Default/images/stock-icons.list: updated
36836 * libgimpwidgets/gimpstock.c: replaced stock_swap_colors
36838 2002-06-14 Maurits Rijk <lpeek.mrijk@consunet.nl>
36840 * plug-ins/common/shift.c: #84588 (use standard size entry widget
36841 for 'Shift Amount').
36843 2002-06-14 Maurits Rijk <lpeek.mrijk@consunet.nl>
36845 * plug-ins/imagemap/imap_cmd_unselect.c
36846 * plug-ins/imagemap/imap_cmd_select.c
36847 * plug-ins/imagemap/imap_rectangle.c: Fix for #71478 (Imagemap
36848 plug-in does not draw some rectangles correctly)
36850 2002-06-14 Sven Neumann <sven@gimp.org>
36852 * plug-ins/dbbrowser/dbbrowser_utils.c: made the DBBrowser dialog
36853 at least a little bit useable.
36855 2002-06-13 Maurits Rijk <lpeek.mrijk@consunet.nl>
36857 * plug-ins/common/wind.c (dialog_box): enable mnemonics, minor code
36860 * plug-ins/common/tga.c (save_dialog):
36861 * plug-ins/common/ripple.c (ripple_dialog)
36862 * plug-ins/common/whirlpinch.c (whirl_pinch_dialog)
36863 * plug-ins/common/png.c (save_dialog): enable mnemonics
36865 2002-06-13 Maurits Rijk <lpeek.mrijk@consunet.nl>
36867 * app/core/gimpimage-new.c :replaced memcpy by structure assignment.
36869 * plug-ins/common/gqbist.c (dialog_create): enable mnemonics,
36870 replaced several memcpy's by structure assignment, pass structure
36871 variable by reference iso value.
36873 * plug-ins/common/curve_bend.c
36874 * plug-ins/common/CML_explorer.c
36875 * plug-ins/common/spheredesigner.c replaced memcpy by
36876 structure assignment
36878 2002-06-13 Sven Neumann <sven@gimp.org>
36880 * plug-ins/common/unsharp.c: merged fix for bug #83420 from stable
36883 2002-06-13 Sven Neumann <sven@gimp.org>
36886 * app/plug-in/plug-in.c (plug_in_init_shm): allocate shared memory
36887 segments with permissions 0600 instead of making them accessible
36890 2002-06-12 Sven Neumann <sven@gimp.org>
36892 * app/paint/gimppaintcore.[ch]: applied a patch from Henning
36893 Makholm <henning@makholm.net> that vastly improves drawing of thin
36894 lines. See bug #69773 for a detailed description.
36896 2002-06-12 Sven Neumann <sven@gimp.org>
36898 * app/base/tile-swap.c: use off_t to handle file offsets (#74478).
36900 2002-06-12 Sven Neumann <sven@gimp.org>
36902 * app/widgets/gimppreview.c (gimp_preview_size_allocate): center
36903 the preview's allocation.
36905 * app/tools/gimpblendtool.c (blend_options_new): use a button for
36906 the gradient so it's more obvious that it can be pressed.
36908 2002-06-12 Michael Natterer <mitch@gimp.org>
36910 * app/core/gimpdata.[ch]: added a boolean "internal" which
36911 indicates that the data object is an automatically created
36912 internal object. Changed the code to refuse saving or deleting
36915 * app/core/Makefile.am
36916 * app/core/gimp-gradients.[ch]: new files implementing internal
36917 gradients (FG -> BG in RGB and HSV and FG -> transparent).
36919 * app/core/gimp.c: call gimp_gradients_init().
36921 * app/core/gimpdatafactory.c (gimp_data_factory_data_free): don't
36922 free internal objects so they stay there on "Refresh".
36924 * app/core/gimpdatalist.c: sort internal objects to the beginning
36927 * app/widgets/gimpdataeditor.c: refuse to change the name of
36930 * app/widgets/gimpdatafactoryview.c: set the "Delete" button
36931 insensitive for internal objects.
36933 * app/widgets/gimpgradienteditor.c: refuse to edit internal
36934 gradients, just display them so color picking works.
36936 * app/gui/brushes-commands.c
36937 * app/gui/gradients-commands.c
36938 * app/gui/palettes-commands.c
36939 * app/gui/patterns-commands.c: set the "Delete" menu item
36940 insensitive for internal objects.
36942 * app/gui/gui.c: need to call render_setup() earlier because of
36943 you-dont-want-to-know-why. Will change it back once the previews
36944 have their own render buffers.
36946 * app/tools/gimpblendtool.c: Replaced the "Type" menu by a preview
36947 showing the active gradient. Clicking the preview pops up the
36948 gradient selection. Renamed the "Gradient" menu to "Shape". Removed
36949 "blend_mode" from the BlendOptions struct because we always use
36952 2002-06-11 Sven Neumann <sven@gimp.org>
36954 * plug-ins/helpbrowser/helpbrowser.c: implemented anchor handling.
36955 Load remote URLs by calling the webbrowser plug-in.
36957 2002-06-11 Sven Neumann <sven@gimp.org>
36959 * app/base/Makefile.am
36960 * app/paint-funcs/Makefile.am: fixed my fix for automake-1.6 (#84514).
36962 2002-06-10 Sven Neumann <sven@gimp.org>
36964 * HACKING: suggest to use the stable branches of gtk+ and friends.
36966 2002-06-10 Sven Neumann <sven@gimp.org>
36968 * plug-ins/helpbrowser/Makefile.am
36969 * plug-ins/helpbrowser/uri.[ch]: added new files that implement
36970 conversion of a relative URI and an absolute base URI to a new
36971 absolute URI according to RFC 2396. This code has been kindly
36972 provided by Jacob Schroeder <jacob@convergence.de>.
36974 * plug-ins/helpbrowser/helpbrowser.c: more work on the help
36975 browser using the new URI functions. Still work in progress.
36977 2002-06-09 Michael Natterer <mitch@gimp.org>
36979 * themes/Default/imagerc
36980 * themes/Default/images/Makefile.am
36981 * libgimpwidgets/gimpstock.[ch]: register the new "Swap" and
36982 "Default" icons in "menu" size.
36984 * app/gui/menus.c: use them here.
36986 * app/widgets/gimptoolbox-color-area.c: changed accordingly.
36988 2002-06-09 Michael Natterer <mitch@gimp.org>
36992 * app/paint/gimpairbrush.c
36993 * app/paint/gimpclone.c
36994 * app/paint/gimpconvolve.c
36995 * app/paint/gimpdodgeburn.c
36996 * app/paint/gimperaser.c
36997 * app/paint/gimppaintbrush.c
36998 * app/paint/gimppencil.c
36999 * app/paint/gimpsmudge.c
37000 * app/tools/gimpblendtool.c: made all *_motion() functions take
37001 only (paint_core, drawable, paint_options) and get all parametrs
37002 from looking at paint_options. Reordered functions to be
37003 consistent. Indentation. Stuff...
37005 * app/paint/gimpdodgeburn.[ch]: moved the GimpLut from
37006 GimpDodgeBurnOptions to the GimpDodgeBurn object struct.
37008 * app/paint/gimpsmudge.[ch]: moved all global variables to the
37009 GimpSmudge object struct.
37011 2002-06-09 Sven Neumann <sven@gimp.org>
37014 * app/config/gimpconfig-deserialize.c
37015 * app/core/gimpbrushpipe.c
37016 * app/core/gimpcontainer.c
37017 * app/core/gimpimagefile.c
37018 * app/gui/paths-dialog.c
37019 * app/tools/gimpcurvestool.c
37020 * app/tools/gimplevelstool.c
37021 * app/widgets/gimpcomponentlistitem.c
37022 * app/widgets/gimpgradienteditor.c: unified translatable strings
37023 and unmarked a few for translation since they should never be seen.
37025 2002-06-08 Maurits Rijk <lpeek.mrijk@consunet.nl>
37027 * plug-ins/common/shift.c (shift_dialog)
37028 * plug-ins/common/newsprint.c (newsprint_dialog)
37029 * plug-ins/common/bumpmap.c (bumpmap_dialog)
37030 * plug-ins/common/polar.c (polarize_dialog)
37031 * plug-ins/common/cubism.c (cubism_dialog): enable mnemonics
37033 2002-06-08 Sven Neumann <sven@gimp.org>
37035 * app/widgets/gimptoolbox-color-area.[ch]: use stock pixbufs to
37036 draw the "Default Colors" and "Swap Colors" buttons.
37038 * app/widgets/gimptoolbox.c: changed accordingly.
37040 * pixmaps/Makefile.am
37041 * pixmaps/default.xpm
37042 * pixmaps/swap.xpm: removed these pixmaps.
37044 * themes/Default/images/Makefile.am
37045 * themes/Default/images/stock-default-colors-12.png
37046 * themes/Default/images/stock-swap-colors-12.png: added them as stock
37049 * libgimpwidgets/gimpstock.[ch]: register the new stock icons.
37051 2002-06-08 Sven Neumann <sven@gimp.org>
37053 * app/paint/gimppaintcore.c (gimp_paint_core_get_brush_mask): applied
37054 patch from Henning Makholm <henning@makholm.net> that fixes wrong
37055 brush opacity (bug #84538).
37057 2002-06-08 Sven Neumann <sven@gimp.org>
37059 * plug-ins/common/animationplay.c: ported to the GTK+-2.0 API.
37061 2002-06-08 Sven Neumann <sven@gimp.org>
37063 * app/base/Makefile.am
37064 * app/paint-funcs/Makefile.am: automake-1.6 seems to use yet another
37065 variable to pass flags to the assembler (bug #84514). Define
37066 AM_CCASFLAGS like AM_ASFLAGS to satisfy all versions of automake.
37069 * all Makefiles: removed STRIP_BEGIN and STRIP_END since it's a
37070 GNU make extension that we don't really need and newer versions of
37071 automake don't seem to like it.
37073 2002-06-07 Michael Natterer <mitch@gimp.org>
37075 * app/core/gimplist.[ch]: added gimp_list_reverse().
37077 * app/core/gimpdocumentlist.c: call it after deserializing so we
37078 don't reverse the history each time.
37080 * app/widgets/gimpdevices.c: use it instead of manually fiddling
37083 2002-06-06 Michael Natterer <mitch@gimp.org>
37085 * app/core/gimpdrawable.[ch]: renamed gimp_drawable_apply_image()
37086 to gimp_drawable_push_undo() because that's what it actually does.
37089 * app/core/gimpdrawable-offset.c
37090 * app/core/gimpimage-mask.c
37091 * app/core/gimpimage.c
37092 * app/core/gimplayer.c
37093 * app/paint/gimppaintcore.c
37094 * app/tools/gimpinktool.c: changed accordingly. Removed redundant
37095 comments because it's now obvious what the function does from
37096 looking at its name.
37098 * app/core/gimpdrawable.[ch]
37099 * app/core/gimpimage.h: renamed "gboolean undo" parameters to
37100 "gboolean push_undo".
37102 2002-06-06 Michael Natterer <mitch@gimp.org>
37104 * libgimpproxy/gimpchannel.h: forgot to commit this one.
37106 2002-06-06 Michael Natterer <mitch@gimp.org>
37108 * app/config/gimpconfig-deserialize.c: #include "gimpscanner.h"
37110 2002-06-06 Michael Natterer <mitch@gimp.org>
37112 * app/core/gimpchannel.[ch] (gimp_channel_invert): added a boolean
37113 "push_undo" parameter.
37115 * app/core/gimpimage-mask.c
37116 * app/core/gimpimage-qmask.c: pass push_undo == TRUE.
37118 * app/core/gimplayer.c (gimp_layer_create_mask): call
37119 gimp_channel_invert(), not gimp_drawable_invert() because the
37120 latter takes the current selection into accout (reported by Jimmac
37121 on #gimp). Added g_return_if_fail() stuff to all public functions.
37124 2002-06-06 Michael Natterer <mitch@gimp.org>
37126 * app/core/gimpcontainer.c (gimp_container_get_child_by_index):
37127 don't warn if an out-of-bounds index is passed in but simply
37128 return NULL (removes the need to check if the container has 0
37129 children before asking the container for it's first child).
37131 2002-06-06 Sven Neumann <sven@gimp.org>
37133 * INSTALL: added FreeType2 URL and suggest to use GNU make.
37135 * configure.in: improved output in case of missing PangoFT2.
37137 2002-06-05 Michael Natterer <mitch@gimp.org>
37139 * app/tools/gimprectselecttool.c: fixed #84157: allow the tool to
37140 scroll the display. Also preserve it on drawable changes.
37142 2002-06-04 Jakub Steiner <jimmac@ximian.com>
37144 * themes/Default/images/tools/stock-tool-blend-22.png: was too
37146 * themes/Default/images/stock-linked-20.png:
37147 * themes/Default/images/stock-eye-20.png: prettier IMHO
37149 2002-06-04 Michael Natterer <mitch@gimp.org>
37151 * app/paint/gimppaintoptions.[ch]: i don't know what i was
37152 thinking, but GimpPaintOptions.context *is* used, sorry...
37154 2002-06-04 Michael Natterer <mitch@gimp.org>
37156 * app/paint/gimppaintoptions.[ch]: removed
37157 GimpPaintOptions.context because it was unused.
37159 2002-06-02 Michael Natterer <mitch@gimp.org>
37161 * app/gui/session.c: parse sessionrc using GScanner.
37163 * app/config/gimpscanner.[ch]: added utility function
37164 gimp_scanner_parse_string_list(). Fixed the color parser's parse
37167 * app/gimprc.c: removed the sessionrc parsing stuff.
37169 * app/config/gimpconfig-params.c (gimp_param_spec_color): no need
37170 to set the param_spec's value_type, it already gets set by it's
37171 base class' instance_init() function.
37173 2002-06-02 Maurits Rijk <lpeek.mrijk@consunet.nl>
37175 * plug-ins/common/tile.c (tile_dialog)
37176 * plug-ins/common/jigsaw.c (dialog_box)
37177 * plug-ins/common/diffraction.c (diffraction_dialog): enable mnemonics
37179 * plug-ins/flame/flame.c (dialog): add mnemonics and slight
37180 reorganization of dialog (now uses a notebook with 2 pages instead of
37181 one clunky dialog).
37183 2002-06-02 Maurits Rijk <lpeek.mrijk@consunet.nl>
37185 * plug-ins/imagemap/imap_about.c: bumped version number to 2.0
37187 * plug-ins/imagemap/imap_browse.[ch]: use GTK_STOCK_OPEN stock icon
37189 * plug-ins/imagemap/imap_default_dialog.c: added apply stock icon
37191 * plug-ins/imagemap/imap_popup.c
37192 * plug-ins/imagemap/imap_selection.c
37193 * plug-ins/imagemap/imap_menu.c
37194 * plug-ins/imagemap/imap_menu_funcs.c: enable mnemonics in menus and
37195 use stock icons whenever possible.
37197 * plug-ins/imagemap/Makefile.am
37198 * plug-ins/imagemap/copy.xpm
37199 * plug-ins/imagemap/cut.xpm
37200 * plug-ins/imagemap/paste.xpm
37201 * plug-ins/imagemap/delete.xpm
37202 * plug-ins/imagemap/undo.xpm
37203 * plug-ins/imagemap/redo.xpm: removed since we now use stock icons.
37205 2002-06-02 Maurits Rijk <lpeek.mrijk@consunet.nl>
37207 * plug-ins/imagemap/Makefile.am: added imap_stock.[ch]
37209 * plug-ins/imagemap/imap_circle.[ch]
37210 * plug-ins/imagemap/imap_cmd_guides.[ch]
37211 * plug-ins/imagemap/imap_edit_area_info.[ch]
37212 * plug-ins/imagemap/imap_grid.c
37213 * plug-ins/imagemap/imap_menu_funcs.[ch]
37214 * plug-ins/imagemap/imap_misc.[ch]
37215 * plug-ins/imagemap/imap_object.[ch]
37216 * plug-ins/imagemap/imap_polygon.c
37217 * plug-ins/imagemap/imap_preferences.c
37218 * plug-ins/imagemap/imap_rectangle.[ch]
37219 * plug-ins/imagemap/imap_settings.[ch]
37220 * plug-ins/imagemap/imap_table.[ch]
37221 * plug-ins/imagemap/imap_toolbar.c
37222 * plug-ins/imagemap/imap_tools.[ch]: lots of changes to update plug-in
37223 for GTK-2.0 such as removal of deprecated widgets and function calls
37224 and use of stock icons.
37226 * plug-ins/imagemap/imap_stock.[ch]: new files
37228 * plug-ins/imagemap/imap_main.c: initialize stock icons
37230 2002-06-01 Maurits Rijk <lpeek.mrijk@consunet.nl>
37232 * plug-ins/imagemap/imap_preferences.[ch]
37233 * plug-ins/imagemap/imap_table.c: enable mnemonics
37235 * plug-ins/imagemap/imap_grid.[ch]: Add mnemonics to dialog and added
37236 option to couple Width/Height and Left/Top offset in grid with
37239 * plug-ins/imagemap/imap_tools.c (make_tools)
37240 * plug-ins/imagemap/imap_selection.c (make_selection_toolbar)
37241 * plug-ins/imagemap/imap_toolbar.c (make_toolbar): set style to only
37242 show icons (GTK_TOOLBAR_ICONS).
37244 * plug-ins/imagemap/imap_object.[ch] (object_on_button_press): event
37245 function now returns boolean value.
37247 * plug-ins/imagemap/imap_main.c (dialog): removed some obsolete code
37248 that caused strange startup size of plug-in.
37250 2002-06-01 Maurits Rijk <lpeek.mrijk@consunet.nl>
37252 * plug-ins/common/convmatrix.c: enable mnemonics and removed some
37255 * plug-ins/mosaic/mosaic.c (mosaic_dialog):
37256 * plug-ins/common/nova.c (nova_center_create)
37257 * plug-ins/common/nlfilt.c (mw_preview_new)
37258 * plug-ins/common/noisify.c (noisify_dialog)
37259 * plug-ins/common/borderaverage.c (borderaverage_dialog): enable
37262 2002-05-31 Maurits Rijk <lpeek.mrijk@consunet.nl>
37264 * plug-ins/common/borderaverage.c (borderaverage_dialog)
37265 * plug-ins/common/blur.c (blur_dialog): enable mnemonics
37267 2002-05-31 Jakub Steiner <jimmac@ximian.com>
37269 * themes/Default/images/tools/stock-tool-blend-22.png: make it
37270 more distiguishable from the transform tools
37271 * themes/Default/images/stock-plugin-16.png: Xtns>plugin-details
37274 2002-06-01 Michael Natterer <mitch@gimp.org>
37276 * app/paint/gimpclone.[ch]: removed all global variables, factored
37277 out duplicated code, cleanup.
37279 2002-05-31 Michael Natterer <mitch@gimp.org>
37281 * app/widgets/gimpcolormapeditor.c
37282 * app/widgets/gimppaletteeditor.c: return FALSE from button press
37283 event callbacks so the color drag handlers work again. Cleaned up
37284 the palette editor a bit.
37286 2002-05-31 Michael Natterer <mitch@gimp.org>
37288 * app/paint-core/paint-core.c (combine_sub_region): this is
37289 getting silly: this time (maybe) really fix #83418 and #26072: of
37290 course the local buffer needs to take the sizes of all three
37291 passed in regions into account, not only two of them *sigh*
37293 2002-05-31 Michael Natterer <mitch@gimp.org>
37295 * app/config/gimpscanner.[ch]: configure the scanner the same
37296 way GimpConfig did (scanner->user_data is, if set, a GError).
37297 Added gimp_scanner_parse_color(). Added "GError **error" to
37298 gimp_scanner_new().
37300 * app/config/gimpconfig.c: use gimp_scanner_new().
37302 * app/config/gimpconfig-deserialize.c: use gimp_scanner_parse_color().
37304 * app/core/gimpunits.c
37305 * app/plug-in/plug-in-rc.c: changed accordingly.
37307 * app/plug-in/plug-in-rc.c: made the main parse loops consistent
37308 with the other places using GScanner.
37310 2002-05-31 Maurits Rijk <lpeek.mrijk@consunet.nl>
37312 * plug-ins/common/checkerboard.c: applied patch from Jeroen Lamain
37313 <roccodevinger@yahoo.com> to fix #81014 (Use size entry widget in
37314 Checkerboard plugin).
37316 2002-05-30 Maurits Rijk <lpeek.mrijk@consunet.nl>
37318 * plug-ins/common/displace.c (displace_dialog)
37319 * plug-ins/common/illusion.c (dialog): enable mnemonics
37321 2002-05-30 Sven Neumann <sven@gimp.org>
37323 * Made 1.3.7 release.
37325 2002-05-30 Michael Natterer <mitch@gimp.org>
37327 * app/xcf/xcf-read.c (xcf_read_string): UTF-8 validate all strings
37328 and try g_locale_to_utf8() as fallback if it fails.
37330 2002-05-30 Sven Neumann <sven@gimp.org>
37332 * configure.in: check for extra libraries needed for inet_ntoa() and
37333 socket() and define them as SOCKET_LIBS.
37335 * plug-ins/script-fu/Makefile.am (LDADD): added SOCKET_LIBS.
37337 2002-05-30 Sven Neumann <sven@gimp.org>
37339 * configure.in: added -lX11 to LIBXMU since GTK_LIBS doesn't provide
37340 it for us anymore (reported by Tomas Ogren).
37342 * libgimpbase/gimpenv.[ch]: declare gimp_path_runtime_fix() static.
37344 * app/base/Makefile.am: conditionally build detect-mmx.S to avoid
37345 warnings about empty object files (reported by Tomas Ogren).
37347 * plug-ins/Makefile.am: commented out plugin-helper since it's just
37348 too broken to be distributed.
37350 * themes/Default/images/Makefile.am: echo -n is not portable and not
37351 needed, so removed it (reported by Tomas Ogren).
37353 2002-05-30 Sven Neumann <sven@gimp.org>
37355 * app/gui/gui.c (gui_get_screen_resolution): do some sanity checks
37356 on the values returned by GDK.
37358 2002-05-30 Sven Neumann <sven@gimp.org>
37360 * configure.in: bumped the version to 1.3.7.
37362 * tools/Makefile.am (EXTRA_DIST): include gimp-mkproxy. Should fix
37365 2002-05-29 Michael Natterer <mitch@gimp.org>
37367 * app/paint-funcs/paint-funcs.c: fixed #83418, which was caused by
37368 my bogus "fix" for #26072 (initial_sub_region:: error :: src->w *
37369 (src->bytes + 1) > 512).
37370 The assertions were there because there were local temporary
37371 buffers of 512 bytes size. Now the buffers' size is
37372 MAX (src->width * src->bytes, dest->width * dest->bytes) which
37373 should be enough this time :) Re-enabled the assertions because
37376 2002-05-29 Michael Natterer <mitch@gimp.org>
37378 * app/paint/gimppencil.c: don't pass bogus [0..255] opacities to
37379 gimp_paint_core_paste_canvas() but use gdouble values in a
37380 [0.0..1.0] range. Spotted by Jakub Steiner.
37382 2002-05-29 Sven Neumann <sven@gimp.org>
37384 * app/paint-funcs/Makefile.am: set include paths in AM_ASFLAGS for
37387 2002-05-29 Sven Neumann <sven@gimp.org>
37389 * Made 1.3.6 release.
37391 2002-05-29 Sven Neumann <sven@gimp.org>
37393 * libgimpwidgets/gimpwidgets.[ch]: renamed gimp_mem_size_entry_new()
37394 to gimp_memsize_entry_new() for consistency. Rewrote using bitshifts.
37395 Should work correctly for sizeof (gulong) > 32 now. Added new unit
37398 * app/gui/preferences-dialog.c
37399 * app/gui/user-install-dialog.c: changed accordingly.
37401 * app/config/gimpconfig-types.[ch]: added new function
37402 gimp_memsize_set_from_string() that allows to check if the
37403 conversion succeeded.
37405 * app/config/gimpconfig-deserialize.c
37406 (gimp_config_deserialize_memsize): use gimp_memsize_set_from_string().
37408 2002-05-28 Maurits Rijk <lpeek.mrijk@consunet.nl>
37410 * plug-ins/gflare/gflare.c: enable mnemonics.
37412 * plug-ins/common/plasma.c (plasma_dialog)
37413 * plug-ins/common/snoise.c (solid_noise_dialog): enable mnemonics on
37414 Random Seed widget.
37416 2002-05-28 Sven Neumann <sven@gimp.org>
37418 * app/core/gimplayer.c (gimp_layer_new_from_drawable): determine
37419 the src_base_type from the passed drawable, not from the image it
37422 * app/core/gimpimage-convert.c (gimp_drawable_convert_rgb)
37423 (gimp_drawable_convert_grayscale): added a check for the expected
37424 bpp of the passed tile_manager.
37426 2002-05-28 Sven Neumann <sven@gimp.org>
37428 * app/base/base-config.[ch]
37429 * app/gui/user-install-dialog.c: use a gulong for the tile_cache_size.
37431 * app/base/tile-cache.c: cleanup, no changes.
37433 * app/config/gimpconfig-types.c (string_to_memsize): avoid overflows.
37435 2002-05-28 Michael Natterer <mitch@gimp.org>
37437 Yes, this is a bit hackish...
37439 * app/widgets/gimppreview.[ch]: added "gboolean eat_button_events"
37440 to enable previews which are clickable *and* let the click through
37441 to their parent widget.
37443 * app/widgets/gimpdrawablelistitem.c
37444 * app/widgets/gimplayerlistitem.c: set "eat_button_events" to
37445 FALSE whenever we set "clickable" to TRUE so the GtkListItems get
37446 the click and can set the active drawable.
37448 2002-05-28 Sven Neumann <sven@gimp.org>
37450 * app/config/test-config.c
37451 * app/gui/test-commands.c: use g_error_free() so we crash if our
37452 GimpConfig functions return FALSE and don't set an error.
37454 * app/widgets/gimpdevices.c: don't warn if devicerc was not found.
37456 * app/gui/preferences-dialog.c: use G_MAXULONG as upper limit for
37457 the mem_size entries.
37459 * libgimpwidgets/gimpwidgets.c (gimp_mem_size_entry): use gulong
37460 and set the range of the spinbutton's adjustment properly.
37462 2002-05-28 Sven Neumann <sven@gimp.org>
37464 * app/config/gimpconfig-types.c: derive GIMP_TYPE_MEMSIZE from
37465 G_TYPE_ULONG. Should probably be even G_TYPE_UINT64 but we use
37466 strtol which can only handle unsigned long int.
37468 * app/config/gimpbaseconfig.[ch]
37469 * app/config/gimpguiconfig.[ch]: changed accordingly.
37471 * app/config/test-config.c: use gimp_config_serialize_value() to
37472 dump changed values to stdout.
37474 2002-05-28 Michael Natterer <mitch@gimp.org>
37476 * app/core/gimpcontext.c: override GObjectClass->constructor() and
37477 do the setup stuff there, not in gimp_context_new(). This way we
37478 can create properly initialized contexts with g_object_new().
37480 * app/widgets/gimpdeviceinfo.c: Removed the "gimp" property
37481 again. Added a constructor() implementation and moved stuff there
37482 from gimp_device_info_set_property(PROP_GIMP).
37484 * app/config/gimpconfig-deserialize.c: made deserialization of
37485 value arrays work by actually using the array and not just leaking
37488 * app/core/gimpcontainer.c: removed debugging output. Call
37489 config_iface->deserialize(child, ...) again instead of calling
37490 gimp_config_deserialize_properties() directly.
37492 * app/widgets/gimpdevices.c: switch to using the new stuff for
37495 * app/widgets/gimpdeviceinfo.[ch]
37496 * app/widgets/gimpdevices.[ch]
37497 * app/gimprc.c: removed all old gimprc-style devicerc stuff.
37500 * app/gui/test-commands.[ch]: removed devicerc testing entries
37503 2002-05-28 Sven Neumann <sven@gimp.org>
37505 * autogen.sh: simplified by using a function for version checks.
37507 2002-05-28 Sven Neumann <sven@gimp.org>
37511 * plug-ins/common/jpeg.c (background_jpeg_save): cast stat.st_size
37512 to gint to avoid compiler warning with large file support. This
37513 will fail for JPEG files > 2GB but I doubt this is a real problem.
37515 2002-05-28 Sven Neumann <sven@gimp.org>
37517 * configure.in (AC_OUTPUT): fixed dist target by commenting out
37518 plug-ins/tools/common since it's also commented out in the Makefile
37519 in plug-ins/tools. Fixed broken check for sendmail.
37521 * plug-ins/common/mail.c: use the SENDMAIL define from config.h.
37523 2002-05-28 Sven Neumann <sven@gimp.org>
37525 * autogen.sh: cleaned up, nicer output.
37527 2002-05-27 Sven Neumann <sven@gimp.org>
37529 * app/config/gimpconfig.c (gimp_config_serialize): fixed error code
37530 and improved error messages.
37532 2002-05-27 Maurits Rijk <lpeek.mrijk@consunet.nl>
37534 * libgimpwidgets/gimpwidgets.c (gimp_random_seed_new):
37535 * plug-ins/common/randomize.c (randomize_dialog)
37536 * plug-ins/Lighting/lighting_ui.c
37537 * plug-ins/common/nova.c (nova_dialog)
37538 * plug-ins/common/sparkle.c (sparkle_dialog)
37539 * plug-ins/common/plasma.c (plasma_dialog)
37540 * plug-ins/common/waves.c (pluginCoreIA): enable_mnemonics.
37542 2002-05-27 Maurits Rijk <lpeek.mrijk@consunet.nl>
37544 * plug-ins/common/apply_lens.c (lens_dialog): call to
37545 gimp_drawable_has_alpha iso seperate check on GIMP_INDEXEDA_IMAGE |
37546 GIMP_GRAYA_IMAGE | GIMP_RGBA_IMAGE
37548 2002-05-27 Michael Natterer <mitch@gimp.org>
37550 * libgimpwidgets/gimpsizeentry.c (gimp_size_entry_attach_label):
37551 set the spinbutton which is attached right of the label as
37552 mnemonic_widget for the label.
37554 2002-05-27 Michael Natterer <mitch@gimp.org>
37556 * app/config/gimpconfig.[ch]: added "gint nest_level" to the
37557 deserialization functions, so nested calls to deserialize()
37558 don't error on the trailing ')'. Made the scanner config parse
37559 one-character identifiers and allow G_CSET_A_2_Z for all
37561 Added gimp_config_deserialize_return() because returning the
37562 correct return value from a deserialize() function is not
37563 trivial any more with nested calls.
37565 * app/config/gimpconfig-deserialize.[ch]
37566 * app/config/gimprc.c
37567 * app/core/gimpdocumentlist.c
37568 * app/core/gimpparasitelist.c: use the new return value utility
37569 function and made the main parsing loops simpler.
37571 * app/core/gimpunits.c: made the main parsing loops consistent
37572 with the stuff that uses GimpConfig.
37574 * app/config/gimpconfig-deserialize.c
37575 * app/config/gimpconfig-serialize.c: call the
37576 (de)serialize_property() functions only if the property's class
37577 implements the method itself (does *not* inherit it from one of
37580 * app/core/gimpcontainer.c: implemented deserialization of
37581 containers. For each child entry encountered in the input, check
37582 if it's already contained in the container and create it if not.
37583 If a "gimp" pointer is passed as user_data pass it as construct
37584 property to g_object_new() when creating the object.
37586 * app/core/gimpcontext.c: changed deserialization of brush,
37587 pattern etc. to honor "no_data".
37589 * app/widgets/gimpdeviceinfo.c: added a "gimp" construct_only
37590 property which overrides GimpContext's "gimp" property. Moved all
37591 initialisation code from gimp_device_info_new() to
37592 gimp_device_info_set_property(PROP_GIMP) so it is properly
37593 performed if the object is created by GimpContainer's
37594 deserialize() implementation.
37596 * app/widgets/gimpdevices.c: made gimp_devices_restore_test() work.
37598 2002-05-27 Sven Neumann <sven@gimp.org>
37600 * configure.in: restructured, added lots of comments. Reenabled
37601 build of gimp-remote.
37603 * app/main.c: output name and version with usage information.
37605 * docs/Makefile.am: install the gimp-remote-1.3 man-page.
37607 * tools/Makefile.am: link gimp-remote-1.3 to gimp-remote if
37608 enable-default-binary was choosen at configure time.
37610 * tools/gimp-remote.c: make it start gimp-1.3 if called with the
37611 --new command-line option. Still the same bad hack as in 1.2 :-(
37613 2002-05-27 Michael Natterer <mitch@gimp.org>
37615 * app/widgets/gimpchannellistview.c
37616 * app/widgets/gimpcomponentlistitem.c: kindof fixed the channel
37617 dialog's component items. Had to disable keyboard navigation
37618 because GtkList is horribly broken with GTK_SELECTION_MULTIPLE.
37619 Left in lots of #if 0'ed stuff because this is not the final
37622 2002-05-27 Sven Neumann <sven@gimp.org>
37624 * app/core/gimpimagefile.c: "%lld" is not a portable format string,
37625 cast to gint64 and use G_GINT64_FORMAT instead.
37627 2002-05-27 Michael Natterer <mitch@gimp.org>
37629 * app/core/gimpimagefile.c: use "%lld" when printing or parsing
37630 file sizes because AC_SYS_LARGEFILE makes off_t a long long.
37632 2002-05-27 Sven Neumann <sven@gimp.org>
37636 * configure.in: added AC_SYS_LARGEFILE as a first prerequisite to
37637 handle bug #74478 (cannot handle swap size of 2GB). This requires
37638 autoconf-2.52. Unified and documented our use of AC_DEFINE() to
37641 * acconfig.h: removed since it is now obsolete.
37643 2002-05-26 Sven Neumann <sven@gimp.org>
37645 * plug-ins/helpbrowser/helpbrowser.c: made Forward button work.
37647 2002-05-25 Maurits Rijk <lpeek.mrijk@consunet.nl>
37649 * plug-ins/common/scatter_hsv.c (scatter_hsv_dialog)
37650 * plug-ins/common/noisify.c (noisify_dialog)
37651 * plug-ins/common/spread.c (spread_dialog)
37652 * plug-ins/common/edge.c (edge_dialog)
37653 * plug-ins/common/sobel.c (sobel_dialog)
37654 * plug-ins/common/sharpen.c (sharpen_dialog)
37655 * plug-ins/common/unsharp.c (unsharp_mask_dialog)
37656 * plug-ins/common/max_rgb.c (dialog): enable mnemonics.
37658 * libgimpwidgets/gimpsizeentry.c (gimp_size_entry_attach_label): allow
37659 underscore to be embedded in text parameter so labels can have
37660 mnemonics. More work to do here.
37662 2002-05-25 Maurits Rijk <lpeek.mrijk@consunet.nl>
37664 * plug-ins/common/tileit.c: fix for #82498 (Opacity only seems to work
37665 when tile is flipped). Also added mnemonics to dialog.
37667 2002-05-25 Sven Neumann <sven@gimp.org>
37671 * plug-ins/helpbrowser/helpbrowser.c
37672 * plug-ins/helpbrowser/queue.[ch]: simplified user interface and
37673 code. Still work in progress...
37675 2002-05-24 Sven Neumann <sven@gimp.org>
37677 * plug-ins/script-fu/script-fu-scripts.c: a first start at
37678 cleaning up the Script-Fu user interface.
37680 2002-05-24 Michael Natterer <mitch@gimp.org>
37682 * app/config/gimpconfig-deserialize.c: added deserialization of
37683 GValueArrays (untested). Added gimp_config_deserialize_value()
37684 which is factored out from gimp_config_deserialize_property().
37686 2002-05-24 Sven Neumann <sven@gimp.org>
37688 * plug-ins/FractalExplorer/Dialogs.c
37689 * plug-ins/common/CML_explorer.c
37690 * plug-ins/common/convmatrix.c
37691 * plug-ins/common/curve_bend.c
37692 * plug-ins/common/film.c
37693 * plug-ins/common/iwarp.c
37694 * plug-ins/common/sample_colorize.c
37695 * plug-ins/common/spheredesigner.c
37696 * plug-ins/common/tileit.c
37697 * plug-ins/fp/fp_gtk.c
37698 * plug-ins/gfig/gfig.c
37699 * plug-ins/gimpressionist/preview.c
37700 * plug-ins/ifscompose/ifscompose.c
37701 * plug-ins/sel2path/sel2path.c: make use of stock labels.
37703 2002-05-24 Sven Neumann <sven@gimp.org>
37705 * app/config/gimprc.c (gimp_rc_serialize): write newline after
37706 serializing the properties.
37708 * app/config/gimpconfig.c (gimp_config_string_indent): tiny
37711 2002-05-24 Maurits Rijk <lpeek.mrijk@consunet.nl>
37713 * plug-ins/common/smooth_palette.c (doit): fix for #82489 (selection
37714 is ignored). Also adds mnemonics to dialog.
37716 2002-05-24 Maurits Rijk <lpeek.mrijk@consunet.nl>
37718 * plug-ins/common/iwarp.c (iwarp_dialog): fix for #82494 (strange
37719 behaviour 'Number of Frames' entry). Also adds mnemonics to dialog.
37721 2002-05-24 Michael Natterer <mitch@gimp.org>
37723 * app/config/gimpconfig.c (gimp_config_string_indent): fixed assertion
37724 which did not check for indent_level >= 0 but > 0.
37726 * app/config/gimpconfig-serialize.c (gimp_config_serialize_value):
37727 serialize floats with g_ascii_formatd() to be locale independed,
37728 added serialization of GValueArrays.
37730 * app/widgets/gimpdeviceinfo.c: added properties for "mode",
37731 "axes" and "keys". Their set_property() implementations are
37734 2002-05-24 Maurits Rijk <lpeek.mrijk@consunet.nl>
37736 * plug-ins/common/hot.c: let the hot filter also act on the current
37737 selection (fixes #82480). Adds mnemonics to dialog.
37739 2002-05-24 Maurits Rijk <lpeek.mrijk@consunet.nl>
37741 * plug-ins/common/checkerboard.c: fix for #82499 (small typo) and also
37744 2002-05-24 Sven Neumann <sven@gimp.org>
37746 * app/core/cpercep.[ch]
37747 * app/core/gimpimage-convert.c
37748 * app/paint-funcs/paint-funcs.c: removed C++ style comments and
37751 2002-05-24 Michael Natterer <mitch@gimp.org>
37753 * app/config/gimpconfig.[ch]
37754 * app/config/gimpconfig-serialize.[ch]: added "gint indent_level"
37755 to all serialization functions. Added gimp_config_string_indent()
37756 which indents a GString.
37758 * app/config/gimprc.c
37759 * app/core/gimpdocumentlist.c
37760 * app/core/gimpparasitelist.c: changed accordingly.
37762 * app/core/gimpcontext.c: don't crash when serializing NULL object
37765 * app/config/gimpscanner.[ch]: added gimp_scanner_parse_identifier().
37767 * app/core/gimpcontainer.c: implement GimpConfigInterface.
37768 Container serialization works, deserialization is not implemented yet.
37770 * app/widgets/gimpdevices.[ch]: made
37771 GimpDeviceManager->device_info_list a GimpList, not GList, added
37772 testing functions for (de)serializing it.
37775 * app/gui/test-commands.[ch]: call the new test functions from
37776 the <Toolbox>/File/Debug menu.
37778 2002-05-24 Michael Natterer <mitch@gimp.org>
37780 * app/display/gimpdisplayshell-callbacks.c: copied some code from
37781 gtk+/gtk/gtkmenubar.c:window_key_press_handler() which pops up the
37782 <Image> menu on F10 (or whatever is configured in GtkSettings).
37784 2002-05-22 Sven Neumann <sven@gimp.org>
37786 * app/config/gimprc.c (gimp_rc_query): check for GIMP_PARAM_SERIALIZE.
37788 2002-05-22 Michael Natterer <mitch@gimp.org>
37790 * app/config/gimpconfig.[ch]: added virtual interface methods
37791 serialize_property() and deserialize_property() which can be used
37792 to implement (de)serialization of special properties or to
37793 override the default implementation.
37795 * app/config/gimpconfig-deserialize.c
37796 * app/config/gimpconfig-serialize.c: for each property, check if
37797 the class which added it implements the virtual functions and call
37798 them before trying the default implementations.
37800 * app/config/gimpconfig-params.h: added new macro
37801 GIMP_CONFIG_INSTALL_PROP_OBJECT().
37803 * app/core/gimpcontext.c: declare the "tool", "brush", "pattern",
37804 "gradient" and "palette" properties as serializable and added
37805 implementations of (de)serialize_property().
37807 2002-05-21 Sven Neumann <sven@gimp.org>
37809 * app/config/Makefile.am: need to link test-config against
37812 * app/config/gimpconfig.c (gimp_config_serialize): write newlines
37813 after header and before footer.
37815 * app/config/test-config.c
37816 * app/config/gimprc.c
37817 * app/core/gimp-documents.c
37818 * app/core/gimp-parasites.c
37819 * app/gui/test-commands.c: removed the newlines here.
37821 * app/config/gimpconfig-params.h: define GIMP_PARAM_SERIALZE flag
37822 which can be used to mark an object property as serializable.
37823 Make the GIMP_CONFIG_INSTALL_PROP_* macros set it.
37825 * app/config/gimpconfig-deserialize.c
37826 * app/config/gimpconfig-serialize.c: check the GIMP_PARAM_SERIALIZE
37829 * app/config/gimpconfig-params.c (gimp_param_color_set_default):
37832 * app/core/gimpcontext.c: install serializable properties using the
37833 GIMP_CONFIG_INSTALL_PROP_* macros.
37835 2002-05-21 Michael Natterer <mitch@gimp.org>
37837 * app/config/gimpconfig-types.[ch]: added GIMP_TYPE_COLOR as boxed
37838 type encapsulating GimpRGB.
37840 * app/config/gimpconfig-params.[ch]: added GimpParamSpecColor
37841 which is derived from GParamSpecBoxed and adds a default value.
37843 * app/config/gimpconfig-deserialize.c
37844 * app/config/gimpconfig-serialize.c: added generic
37845 (de)serialization of the new property type.
37847 * app/core/gimpcontext.c: implement the config interface, changed
37848 signal parameters and property types to use the new
37851 * app/core/gimpmarshal.list: added a VOID__BOXED marshaller.
37854 * app/gui/test-commands.[ch]: some test code which (de)serializes
37857 2002-05-21 Sven Neumann <sven@gimp.org>
37859 * app/core/gimplayer.[ch] (gimp_layer_new_from_tiles): added a
37860 GimpImageType parameter to specify the desired drawable type. This
37861 is needed when pasting into layer masks.
37863 * app/core/gimpdrawable-transform.c
37864 * app/core/gimpedit.c
37865 * app/core/gimpimage-mask.c: changed accordingly.
37867 2002-05-21 Michael Natterer <mitch@gimp.org>
37869 * app/plug-in/plug-in.c: some more minor cleanup.
37871 2002-05-21 Michael Natterer <mitch@gimp.org>
37874 * app/widgets/gimpdeviceinfo.c: write/parse the "wheel" axis
37875 properly when writing/parsing devicerc.
37877 * app/widgets/gimpdevices.c: no need to #define something twice.
37879 2002-05-18 Sven Neumann <sven@gimp.org>
37881 * plug-ins/script-fu/script-fu-text-console.c: somewhat cleaner
37884 2002-05-17 Sven Neumann <sven@gimp.org>
37886 * INSTALL: documented more configure options.
37888 2002-05-16 Michael Natterer <mitch@gimp.org>
37890 * libgimpbase/gimpprotocol.[ch]
37891 * libgimpbase/gimpwire.[ch]: pass "gpointer user_data" to all
37892 functions, which in turn gets passed to the registered reader,
37893 writer, and flusher funcs.
37896 * libgimp/gimptile.c: pass NULL as user_data. We have only one
37897 pipe on the plug-in side.
37899 * app/plug-in/plug-in.c: pass the PlugIn as user_data. As a
37900 consequence, got rid of more global variables. The global
37901 "current_plug_in" and the plug_in_push()/pop() madness are still
37902 there. Will replace them by some less ugly hack later...
37904 2002-05-16 Sven Neumann <sven@gimp.org>
37906 * app/gui/splash.c: don't allow to close the splash screen. Fixes
37909 * plug-ins/gimpressionist/gimpressionist.c: changed button order.
37910 As mentioned in bug #81963 the UI of this plug-in needs some more
37913 * plug-ins/gimpressionist/brush.c
37914 * plug-ins/gimpressionist/paper.c
37915 * plug-ins/gimpressionist/presets.c: fixed handling of scrolled
37918 2002-05-16 Michael Natterer <mitch@gimp.org>
37920 * app/plug-in/plug-in.c: Pass PlugIn, not Gimp pointers to all
37921 message handler functions so they have a proper context to operate
37922 on. Use the PlugIn pointer passed instead of "current_plug_in".
37923 Removed global variables "current_readchannel" and
37924 "current_writechannel" because it is now always possible to use
37925 plug_in->my_read and plug_in->my_write.
37927 2002-05-15 Michael Natterer <mitch@gimp.org>
37929 * app/tools/gimpmovetool.c: <shift>+click toggles the active
37930 layer's "linked" property now.
37932 * themes/Default/images/stock-tool-options-16.png: new icon.
37934 * themes/Default/images/Makefile.am
37935 * themes/Default/imagerc
37936 * libgimpwidgets/gimpstock.[ch]: added it to the stock system.
37938 * app/gui/menus.c: use it for the tool_options dialog's menu
37941 2002-05-15 Simon Budig <simon@gimp.org>
37943 * plug-ins/pagecurl/pagecurl.c: tiny fix, there was an
37944 ancient non working call to gimp_layer_add_alpha still
37947 2002-05-15 Simon Budig <simon@gimp.org>
37949 * plug-ins/pagecurl/pagecurl.c: Made the pagecurl plugin
37950 automatically add an alpha channel. Fixes #81611.
37952 2002-05-15 Sven Neumann <sven@gimp.org>
37954 * app/config/gimpconfig.c: fixed documentation.
37956 * app/tools/gimppenciltool.c
37957 * app/tools/gimpsheartool.c: assign shortcuts that don't collide with
37960 2002-05-15 Michael Natterer <mitch@gimp.org>
37962 New feature: pressing <space> in the image window temporary
37963 switches to the move tool (so that releasing <space> switches back
37966 * app/display/gimpdisplayshell.[ch]: added booleans
37967 shell->space_pressed and shell->space_release_pending. Connect
37968 more events to gimp_display_shell_events() so they can be blocked
37971 * app/display/gimpdisplayshell-callbacks.c: beautified and
37972 uglified at the same time:
37975 - moved the checks if gimp is busy or button1 is down to
37976 gimp_display_shell_events() so they don't clutter
37977 gimp_display_shell_canvas_tool_events().
37978 - factored tool modifer updating out to a separate function.
37979 - indentation/spacing cleanup.
37982 - added more static variables to track the state of <space>
37983 - added the actual move tool toggling code.
37985 2002-05-15 Michael Natterer <mitch@gimp.org>
37988 * libgimpproxy/gimpobject.h: reverted stuff someone
37989 accidentially checked in...
37991 2002-05-15 Jakub Steiner <jimmac@ximian.com>
37993 * themes/Default/images/preferences/tool-options.png:
37994 * themes/Default/images/preferences/image-windows.png:
37995 * themes/Default/images/preferences/display.png:
37998 2002-05-15 Sven Neumann <sven@gimp.org>
38000 * app/core/gimpdocumentlist.c
38001 * app/core/gimpparasitelist.c
38002 * app/core/gimpunits.c: improved parser error messages. Relies on a
38003 fix in glib (see bug #81850). However it doesn't hurt if you don't
38006 2002-05-15 Sven Neumann <sven@gimp.org>
38008 * app/config/gimpconfig.[ch]: added user_data pointer to serialize
38009 and deserialize methods.
38011 * app/config/gimprc.[ch]: implement gimp_rc_save() using
38012 gimp_config_serialize() so it can take advantage of the file
38013 handling magic implemented there.
38015 * app/config/test-config.c
38016 * app/core/gimp-documents.c
38017 * app/core/gimp-parasites.c
38018 * app/core/gimpdocumentlist.c
38019 * app/core/gimpparasitelist.c: changed accordingly.
38021 2002-05-15 Sven Neumann <sven@gimp.org>
38023 * app/config/gimpconfig.[ch]: added a return value to indicate
38024 success of GimpConfigInterface::serialize. Added a GimpConfigError
38025 value for write errors and check the return value of all write()
38026 calls. Allow to specify file header and footer when calling
38027 gimp_config_serialize().
38029 * app/config/gimpconfig-serialize.[ch]
38030 * app/config/gimprc.c: changed accordingly.
38032 * app/core/gimp-documents.[ch]: new files with functions to handle
38035 * app/core/gimpdocuments.[ch]: removed ...
38037 * app/core/gimpdocumentlist.[ch]: ... and added under this name.
38038 Implements a generic document list.
38040 * app/core/gimp-parasites.[ch]: new files with functions to handle
38043 * app/core/gimpparasite.[ch]: removed.
38045 * app/core/gimpparasitelist.[ch]: nothing more than a generic
38049 * app/core/Makefile.am
38050 * app/core/core-types.h
38052 * app/core/gimpdrawable.c
38053 * app/core/gimpimage-merge.c
38054 * app/core/gimpimage.c
38055 * app/core/gimpitem.c
38056 * app/file/file-open.c
38057 * app/file/file-save.c
38058 * app/gui/file-open-dialog.c
38059 * app/pdb/parasite_cmds.c
38060 * tools/pdbgen/pdb/parasite.pdb: changed accordingly.
38062 2002-05-15 Sven Neumann <sven@gimp.org>
38064 * app/core/gimpdocuments.c: misc small changes.
38066 * app/core/gimpparasite.[ch]: reduced to a small set of wrappers
38067 around gimp->parasites.
38069 * app/core/gimpparasitelist.c: moved the code that reads and
38070 writes parasite lists ala parasiterc to this file. Added a
38071 GimpConfigInterface to GimpParasiteList.
38073 * app/core/gimp.c: changed accordingly.
38075 2002-05-14 Sven Neumann <sven@gimp.org>
38077 * plug-ins/common/ps.c: reverted the last change and applied a patch
38078 from Peter Kirchgessner instead (closes reopened bug #81606).
38080 2002-05-14 Sven Neumann <sven@gimp.org>
38082 * app/core/core-types.h
38083 * app/core/gimpdocuments.[ch]: made the list of recently used
38084 images an object derived from GimpList that implements the
38085 GimpConfigInterface.
38088 * app/file/file-open.c
38089 * app/file/file-save.c: changed accordingly.
38091 2002-05-14 Dave Neary <bolsh@gimp.org>
38093 * plug-ins/common/plasma.c: Added fixes for bugs #81730 and
38094 #81732 from the 1.2 branch.
38096 2002-05-14 Sven Neumann <sven@gimp.org>
38098 * libgimp/Makefile.am
38099 * libgimpcolor/Makefile.am
38100 * libgimpmath/Makefile.am
38101 * libgimptool/Makefile.am
38102 * libgimpwidgets/Makefile.am: removed unneeded CPPFLAGS.
38104 * libgimpproxy/Makefile.am: ditto. Changed rules for generated files
38105 so that they work for parallel builds.
38107 2002-05-14 Sven Neumann <sven@gimp.org>
38109 * app/config/gimpconfig.c: fixed error messages.
38111 * plug-ins/common/ps.c: applied a patch from Raphael Quinet that
38112 fixes bug #81606 (special-case recent Illustrator EPS brain damage).
38114 2002-05-14 Sven Neumann <sven@gimp.org>
38116 * themes/Default/images/stock-wilber-eek-64.png: tweaked so the
38117 shadow isn't cut off at the image border. We could still need a
38120 * themes/Default/images/stock-wilber-eek.png: removed.
38122 2002-05-13 Sven Neumann <sven@gimp.org>
38124 * libgimpmath/gimpmath.h: removed FINITE() macro.
38126 * tools/pdbgen/pdb/image.pdb
38127 * app/pdb/image_cmds.c: define FINITE() here, where it is used.
38129 * tools/pdbgen/pdb/lib.pl: add "config.h" to all generated libgimp
38132 * libgimp/gimp*_pdb.c: regenerated.
38134 * libgimp/gimpbrushmenu.c
38135 * libgimp/gimpchannel.c
38136 * libgimp/gimpdrawable.c
38137 * libgimp/gimpgradientmenu.c
38138 * libgimp/gimphelp.c
38139 * libgimp/gimpimage.c
38140 * libgimp/gimplayer.c
38141 * libgimp/gimppatternmenu.c
38142 * libgimp/gimppixelrgn.c
38143 * libgimp/gimpproceduraldb.c
38144 * libgimp/gimpselection.c
38145 * libgimp/gimptile.c
38147 * libgimpmath/gimpmatrix.c
38148 * libgimpmath/gimpvector.c
38149 * plug-ins/MapObject/arcball.c
38150 * plug-ins/fp/fp_gdk.c
38151 * plug-ins/fp/fp_misc.c
38152 * plug-ins/ifscompose/ifscompose_storage.c
38153 * plug-ins/ifscompose/ifscompose_utils.c
38154 * plug-ins/maze/handy.c
38155 * plug-ins/rcm/rcm_gdk.c
38156 * plug-ins/sel2path/edge.c
38157 * plug-ins/xjt/xjpeg.c
38158 * plug-ins/xjt/xpdb_calls.c: include "config.h".
38160 2002-05-13 Sven Neumann <sven@gimp.org>
38162 * app/config/gimpconfig.c (gimp_config_serialize): serialize to a
38163 temporary file and rename it to the target filename when it is
38164 completely written.
38166 2002-05-13 Michael Natterer <mitch@gimp.org>
38168 * app/core/gimpparasite.c: parse parasiterc using GScanner instead
38171 * app/gimprc.c: removed the parasite parsing stuff.
38173 2002-05-13 Sven Neumann <sven@gimp.org>
38175 * app/widgets/gimpenummenu.[ch]: added _with_range variants for all
38176 enum menu widgets that limit the range of choices.
38178 * app/gui/file-new-dialog.c
38179 * app/gui/layers-commands.c
38180 * app/gui/preferences-dialog.c: use GimpEnumMenus with ranges.
38182 2002-05-13 Sven Neumann <sven@gimp.org>
38184 * app/core/core-enums.[ch]: uhh, skipping values used in the PDB
38185 was a bad idea. Removed the skip trigraphs again. This breaks the
38186 GUI; will fix it later.
38188 * tools/pdbgen/enums.pl: regenerated.
38190 2002-05-13 Sven Neumann <sven@gimp.org>
38192 * app/core/core-enums.[ch]: registered GimpFillType enum and added
38193 translatable names to GimpImageBaseType.
38195 * app/core/gimp.[ch]
38196 * app/core/gimpedit.c
38197 * app/core/gimpimage-new.[ch]: removed gimp_image_new_[init|exit]()
38198 where we used to create names for the enums mentioned above. Dropped
38199 gimp_image_new_set_have_current_cut_buffer() in favor of accessing
38200 the value directly.
38202 * app/gui/file-new-dialog.c (file_new_dialog_create)
38203 * app/gui/layers-commands.c (layers_new_layer_query): use
38204 GimpEnumMenus to choose the base_type and fill_type.
38206 2002-05-13 Michael Natterer <mitch@gimp.org>
38208 * app/paint-funcs/paint-funcs.c commented out a warning in
38209 initial_sub_region and a g_error() in combine_sub_region which
38210 didn't expect to get chunks of pixels with a width of > 128
38211 passed. I guess it was an assertion to ensure the integrity of
38212 some higher level code (see gimpdisplay.c:
38213 gimp_display_idlerenderer_callback()). The assertion went off
38214 whenever we wanted to render a preview with a width of > 128,
38215 which is however handled absolutely correctly by the two
38216 functions. (fixes #26072)
38218 * app/core/gimpcontext.c (gimp_context_get_by_type): unref objects
38219 before returning them. Fixes our biggest memleak (whole images).
38221 * app/display/gimpdisplay-handlers.c: commented out debugging
38222 g_print()s which track the image's refcount.
38224 2002-05-13 Sven Neumann <sven@gimp.org>
38226 * libgimp/gimpmenu.c: use gimp_image_get_name().
38228 * plug-ins/common/deinterlace.c: don't use 'O' as mnemonic, it's
38229 already taken by the _OK button.
38231 2002-05-13 Sven Neumann <sven@gimp.org>
38233 * libgimpwidgets/gimpwidgets.c: documentation fix.
38235 2002-05-13 Michael Natterer <mitch@gimp.org>
38237 * app/display/gimpnavigationview.c: set the view's display to NULL
38238 in "destroy". Fixes crash on closing the navigation dialog.
38240 * app/gui/dialogs-constructors.c
38241 * app/gui/menus.c: use GIMP_STOCK_NAVIGATION instead of
38242 GIMP_STOCK_TOOL_MOVE. Use the new GIMP_STOCK_WARNING (see below)
38243 for the error console.
38245 * themes/Default/images/*.png
38246 * themes/Default/images/tools/*.png: renamed all stock icons to
38247 have the pixel size instead of "button" or "menu" in the name.
38248 (e.g. stock-menu-scale.png -> stock-scale-16.png).
38250 * libgimpwidgets/gimpstock.[ch]
38251 * libgimpwidgets/gimpwidgets.c
38252 * themes/Default/gtkrc
38253 * themes/Default/imagerc
38254 * themes/Default/images/Makefile.am: changed accordingly.
38256 2002-05-11 Michael Natterer <mitch@gimp.org>
38258 * app/display/gimpnavigationview.c: connect to size allocations of
38259 the navigation preview's parent container and resize it so it
38260 takes all available space.
38262 * app/widgets/gimppreview.[ch]: replaced magic values by public
38263 #defines of GIMP_PREVIEW_MAX_SIZE and GIMP_PREVIEW_MAX_POPUP_SIZE.
38264 Increased the maximum preview size to 1024. Don't call the virtual
38265 get_size() function if preview->viewable is NULL but call
38266 gimp_preview_real_get_size() directly.
38268 * app/widgets/gimpbufferpreview.c
38269 * app/widgets/gimpcomponentlistitem.c
38270 * app/widgets/gimpcontainermenu.c
38271 * app/widgets/gimpdrawablepreview.c
38272 * app/widgets/gimpimagepreview.c
38273 * app/widgets/gimplistitem.c
38274 * app/widgets/gimpmenuitem.c
38275 * app/widgets/gimpnavigationpreview.c: replaced magic values by
38278 2002-05-11 Michael Natterer <mitch@gimp.org>
38280 * app/widgets/gimpcolormapeditor.c: Added a comment to explain why
38281 the "correct" size calculation is commented out and put back the
38282 old buffer size so we don't crash. Made the code robust against
38283 whether we render only the color cells or the whole widget's
38286 * app/widgets/gimpdialogfactory.c: Don't try to #define DEBUG(...)
38287 but wrap the whole g_print(...) statement in a debugging macro.
38289 2002-05-11 Sven Neumann <sven@gimp.org>
38291 * libgimp/stdplugins-intl.h
38292 * plug-ins/script-fu/script-fu-intl.h: use the new function
38293 gimp_locale_directory() instead of LOCALEDIR.
38296 * plug-ins/*/Makefile.am: removed LOCALEDIR definition.
38298 2002-05-11 Sven Neumann <sven@gimp.org>
38300 * libgimpwidgets/gimpwidgets.c (gimp_radio_group_new2): applied a
38301 patch from Maurits Rijk that enables mnemonics (bug #80804).
38303 * plug-ins/common/blinds.c
38304 * plug-ins/common/deinterlace.c
38305 * plug-ins/common/despeckle.c
38306 * plug-ins/common/destripe.c
38307 * plug-ins/common/emboss.c
38308 * plug-ins/common/flarefx.c
38309 * plug-ins/common/mblur.c
38310 * plug-ins/common/oilify.c
38311 * plug-ins/common/pixelize.c
38312 * plug-ins/common/sel_gauss.c
38313 * plug-ins/common/struc.c: : applied patches from Maurits Rijk that
38314 add mnemonics (bug #80804).
38316 * plug-ins/common/convmatrix.c: merged fix for bug #81345 from stable
38319 2002-05-11 Sven Neumann <sven@gimp.org>
38321 * app/gui/Makefile.am: removed LOCALEDIR definition ...
38323 * libgimpbase/Makefile.am: ... and added it here.
38325 * app/widgets/gimpdnd.c: corrected pointer arithmetic.
38327 2002-05-11 Sven Neumann <sven@gimp.org>
38329 * app/tools/Makefile.am (SOURCES): removed gimptool.h.
38331 * libgimptool/Makefile.am (SOURCES): added gimptoolcontrol.h.
38333 2001-05-11 Hans Breuer <hans@breuer.org>
38335 * app/makefile.msc : add appconfig.lib. Statically
38336 link libgimptool/gimptool.lib.
38338 * app/main.c : use gimp_locale_directory()
38340 * app/config/gimpconfig-utils.c : <string.h>
38342 * app/config/makefile.msc : add gimpscanner
38344 * app/core/gimpimagefile.c : some G_OS_WIN32 mess to get
38345 mkdir() and chmod()
38347 * app/display/gimpdisplayshell.c
38348 * app/plug-in/plug-in-progrss.c
38349 * app/tool/gimpcolorpickertool.c
38350 * app/tool/gimpcroptool.c
38351 * app/tool/gimpmeasuretool.c
38352 * app/tool/gimpperspectivetool.c
38353 * app/tool/gimprotatetool.c
38354 * app/tool/gimpscaletool.c
38355 * app/tool/gimpsheartool.c
38356 * app/tool/gimptransformtool.c
38357 * app/widgets/gimpcolormapeditor.c
38358 * app/widgets/gimpcolorpanel.c
38359 * app/widgets/gimptoolbox-color-area.c : add #ifdef __GNUC__ to
38360 avoid breaking on non standard pragma #warning.
38362 * app/tools/makefile.msc : add gimptoolcontrol remove tools-enum.
38364 * app/tools/tool_manager.c : need to include
38365 libgimptool/gimptoolcontrol.h after core includes
38366 otherwise we would compile without prototypes or
38369 * app/gui/plug-in-menus.c : replace LOCALEDIR with
38370 gimp_locale_directory ()
38372 * app/gui/preferences-dialog.c (prefs_notebook_append_page) :
38373 only try to gdk_pixbuf_new_from_file() with a valid filename.
38374 It should simply return NULL otherwise, but fails if the
38375 filename is an empty string.
38377 * app/paint-funcs/makefile.msc : add -FImsvc_recommended_pragmas.h
38379 * app/widgets/gimpcolormapeditor.c : the 'row'
38380 allocated needs to be 'xn * cellsize * 2' (to avoid
38381 accessing unowned memory) not only width, which has
38382 become allocation.width by someone commenting out
38383 the correct size calculation
38385 * app/widgets/gimpdialogfactory.c : varargs to macros
38386 are GCCism or at least non standard. #define DEBUG
38387 to g_print or nothing - without arguments - does fix
38388 it somewhat dirty as the compiler needs to tolerate
38389 the '(blah, foo, bar);' statement than
38391 * app/widgets/makefile.msc : updated
38393 * app/xcf/makefile.msc : add -FImsvc_recommended_pragmas.h
38395 * etc/gimprc.win32 : use ';' to separate theme-path
38397 * libgimpbase/gimpenv.c : #include <stdio.h>
38400 * app/widgets/gimpdnd.c (gimp_dnd_set_file_data) :
38401 the passed in vals chunk is not always null-terminated
38402 (at least not on win32). Use the length parameter too
38403 to avoid reading junk filenames.
38405 * libgimp/gimp.def : export gimp_image_get_name()
38407 * libgimpbase/gimpbase.def : export gimp_locale_directory()
38408 * libgimpbase/gimpenv.[ch] : added gimp_locale_directory ()
38410 * libgimpbase/makefile.msc : define DATADIR and SYSCONFDIR
38411 to empty string to let gimp find its files in the common
38412 place (win32: relative to the top level gimp dir)
38414 * plug-ins/common/pixelize.c : <string.h>
38416 * plug-ins/flame/cmap.c : #include <glib.h> for g_random_int()
38418 * plug-ins/makefile.msc : -FImsvc_recommended_pragams.h
38419 and a little hack to give imagemap the prototypes it
38420 desires without changing the lexed source
38422 * themes/Default/images/makefile.msc : now added (see below)
38424 * themes/Default/images/stock-button-reset.png : made it binary
38426 2002-05-10 Michael Natterer <mitch@gimp.org>
38428 * app/display/gimpdisplay.c: EEK, actually increase
38429 gimp->next_display_ID after taking a value.
38431 2002-05-10 Michael Natterer <mitch@gimp.org>
38433 * app/file/file-open.c (file_open_image): invalidate all layer and
38434 channel previews after loading an image. Fixes previews containing
38435 garbage after image loading (also fixes thumbnail generation).
38437 2002-05-10 Sven Neumann <sven@gimp.org>
38439 * tools/pdbgen/pdb/image.pdb: initialize a variable to please the
38442 * app/pdb/image_cmds.c: regenerated.
38444 2002-05-10 Michael Natterer <mitch@gimp.org>
38446 We can always create GimpPreviews for any GtkIconSize, but
38447 not vice versa. therefore:
38449 * app/widgets/gimpdockable.[ch]: changed the "gint size" parameter
38450 used for tab sizes to "GtkIconSize size" all over the place. Added
38451 "stock_id" in addition to "name" and "short_name".
38453 * app/widgets/gimpdockbook.c
38454 * app/widgets/gimpimagedock.c: use GtkIconSize instead of integer
38455 preview sizes for all widget style properties. Renamed them from
38456 "blah_height" to "blah_size" because "height" is an implementation
38459 * app/gui/dialogs-constructors.c: changed calls to
38460 gimp_dockable_new() and all *_tab_func()s accordingly. Removed
38461 the hack for the navigation tab and added a general tab_func
38462 which returns a hbox with an icon & label.
38464 * app/gui/menus.c: made the dialog menus found under <Toolbox>,
38465 <Image> and <Dialogs> more consistent and added more stock icons.
38468 * themes/Default/gtkrc: changed accordingly.
38470 2002-05-10 Sven Neumann <sven@gimp.org>
38472 * app/gui/user-install-dialog.c
38473 * plug-ins/common/gtm.c: use stock pixbufs instead of xpm pixmaps.
38475 * pixmaps/Makefile.am
38477 * pixmaps/folder.xpm
38478 * pixmaps/wilber.xpm: removed now unused pixmaps.
38480 2002-05-10 Michael Natterer <mitch@gimp.org>
38482 * app/display/gimpdisplay.c: added a read-only property for the
38483 display's image, so it can be retreived by the core, which
38484 treats displays as simple GimpObjects.
38486 * app/core/gimpcontext.c: made context->display an object
38487 property, not just gpointer. Connect to the "remove" signal of
38488 gimp->displays to get notified of disappearing displays. Removed
38489 the EEKWrapper and get the display's gimage with g_object_get().
38491 * app/widgets/gimpimagedock.[ch]: added image_dock->display_container
38492 and require it being passed in the constructor. Do voodoo things
38493 in the "image_changed" and "display_changed" callbacks to ensure
38494 that the dock doesn't end up with no display even if the active
38495 image has one. Added a style property for the image menu's preview
38498 * app/gui/dialogs-commands.c (dialogs_menu_update): set the
38499 "View as List" and "View as Grid" items insensitive if the
38500 other view type doesn't exist. Hide them if the view cannot
38501 be classified as "list" or "grid" at all. Also hide the
38502 "Preview Size" submenu if it's pointless for the view.
38504 * app/gui/dialogs-constructors.c: added a special tab for the
38505 navigation dialog. Will propbaby add dockable->stock_id to
38506 generalize this kind of tab. Pass gimp->displays to
38507 gimp_image_dock_new().
38509 * app/gui/menus.c: reordered the "<Dialogs>" factory entries,
38510 added more stock icons, cleanup.
38513 * themes/Default/gtkrc: document usage of GimpImageDock's
38514 "menu_preview_height" property.
38516 2002-05-10 Michael Natterer <mitch@gimp.org>
38518 * app/display/gimpnavigationview.c: pack the preview's alignment
38519 into the inner frame, not around it, so it looks like the other
38520 dockables. Fixed popup window positioning. Tried to get rid of
38521 insane scale_label allocation computation but failed. Left the
38522 EEKy code there for further investigation.
38524 2002-05-10 Michael Natterer <mitch@gimp.org>
38526 * app/undo_history.c: create the "Undo" and "Redo" buttons from
38529 * pixmaps/Makefile.am
38530 * pixmaps/lower.xpm
38531 * pixmaps/paste.xpm
38532 * pixmaps/raise.xpm: removed them because they are not used any more.
38534 2002-05-10 Michael Natterer <mitch@gimp.org>
38536 * app/widgets/gimpcontainermenuimpl.c: don't try to set the
38537 preview_size of plain GtkMenuItems.
38539 * app/widgets/gimpdocumentview.c: fixed the "update" and
38540 "delete dangling" functionals. They got passed wrong user_data.
38542 * app/widgets/gimpitemfactory.c (gtk_item_factory_set_visible): if
38543 the widget found is a menu, get it's parent item and show/hide
38546 * app/widgets/gimppreview.c (gimp_preview_set_viewable): always
38547 clear preview->buffer so we don't display previews of vanished
38550 2002-05-10 Michael Natterer <mitch@gimp.org>
38552 * app/core/gimpcontainer.c: disabled debuggind output.
38554 * app/core/gimpdrawable.c (gimp_drawable_init): no need to
38555 initialize variables twice :)
38557 * app/widgets/gimpnavigationpreview.c: removed debugging output.
38559 2002-05-08 Nathan Summers <rock@gimp.org>
38561 * Changelog: (2002-05-06) somehow the Changelog entry for my dbbrower
38562 modification didn't get committed. Probably this was because I
38563 committed at the same time that some guy with a backhoe committed some
38564 modifications to the network cable running under the parking lot behind
38565 my apartment, leaving me without internet connectivity for several
38568 2002-05-08 Manish Singh <yosh@gimp.org>
38570 * configure.in: the correct switch is --disable-print, not
38571 --without-gimpprint. Fix not found error message, and add a pointer
38572 to the gimp-print homepage.
38574 2002-05-08 Sven Neumann <sven@gimp.org>
38576 * plug-ins/print/print.c (run): call bind_textdomain_codeset() so
38577 that we get UTF-8 encoded translations from libgimpprint.
38579 2002-05-08 Michael Natterer <mitch@gimp.org>
38581 Started to get rid of the gdisplays_foo() functions in
38582 app/display/gimpdisplay-foreach.[ch]. Work in progress...
38584 * app/core/gimp.[ch]: added the display list to the Gimp object
38585 (as a GimpList of GimpObjects). This way we get more independent
38586 from whether there is GUI or not, as gimp->displays will simply
38587 be an empty list for the --no-interface case.
38589 * app/display/gimpdisplay.[ch]: Removed the global "display_list"
38590 and "display_num" variables. Use gimp->displays instead.
38592 * app/display/gimpdisplay-foreach.[ch]: renamed most functions
38593 from gdisplays_foo() to gimp_displays_foo() and pass them a Gimp
38596 * app/core/gimpimage.[ch]: added a "flush" signal.
38598 * app/display/gimpdisplay-handlers.c: connect to "flush" and call
38599 gimp_display_flush() in the callback.
38601 * tools/pdbgen/pdb/display.pdb: use gimp_displays_flush(gimp)
38602 here and only here.
38604 * app/pdb/display_cmds.c: regenerated.
38608 * app/gui/preferences-dialog.c:
38609 s/gdislays_foo()/gimp_displays_foo(gimp)/
38612 * app/undo_history.c
38613 * app/display/gimpdisplayshell-callbacks.c
38614 * app/display/gimpdisplayshell-dnd.c
38615 * app/display/gimpdisplayshell-layer-select.c
38616 * app/display/gimpdisplayshell-scale.c
38617 * app/gui/channels-commands.c
38618 * app/gui/colormap-editor-commands.c
38619 * app/gui/convert-dialog.c
38620 * app/gui/drawable-commands.c
38621 * app/gui/edit-commands.c
38622 * app/gui/file-commands.c
38623 * app/gui/image-commands.c
38624 * app/gui/layers-commands.c
38625 * app/gui/offset-dialog.c
38626 * app/gui/qmask-commands.c
38627 * app/gui/select-commands.c
38628 * app/gui/vectors-commands.c
38629 * app/paint/gimpairbrush.c
38630 * app/tools/gimpbezierselecttool.c
38631 * app/tools/gimpblendtool.c
38632 * app/tools/gimpbrightnesscontrasttool.c
38633 * app/tools/gimpbucketfilltool.c
38634 * app/tools/gimpbycolorselecttool.c
38635 * app/tools/gimpcolorbalancetool.c
38636 * app/tools/gimpcurvestool.c
38637 * app/tools/gimpeditselectiontool.c
38638 * app/tools/gimpfreeselecttool.c
38639 * app/tools/gimpfuzzyselecttool.c
38640 * app/tools/gimphuesaturationtool.c
38641 * app/tools/gimpinktool.c
38642 * app/tools/gimpiscissorstool.c
38643 * app/tools/gimplevelstool.c
38644 * app/tools/gimpmeasuretool.c
38645 * app/tools/gimpmovetool.c
38646 * app/tools/gimppainttool.c
38647 * app/tools/gimpposterizetool.c
38648 * app/tools/gimprectselecttool.c
38649 * app/tools/gimptexttool.c
38650 * app/tools/gimpthresholdtool.c
38651 * app/tools/gimptransformtool.c
38652 * app/tools/gimpvectortool.c
38653 * app/widgets/gimpbufferview.c
38654 * app/widgets/gimpchannellistview.c
38655 * app/widgets/gimpcomponentlistitem.c
38656 * app/widgets/gimpdocumentview.c
38657 * app/widgets/gimpdrawablelistitem.c
38658 * app/widgets/gimpdrawablelistview.c
38659 * app/widgets/gimpimageview.c
38660 * app/widgets/gimpitemlistitem.c
38661 * app/widgets/gimpitemlistview.c
38662 * app/widgets/gimplayerlistitem.c
38663 * app/widgets/gimplayerlistview.c
38664 * app/widgets/gimpvectorslistview.c: replaced gdisplays_flush()
38665 with calls to gimp_image_flush(gimage). Removed inclusion of
38666 "display/gimpdisplay-foreach.h" from most files.
38668 2002-05-08 Sven Neumann <sven@gimp.org>
38670 * plug-ins/print/gimp_color_window.c
38671 * plug-ins/print/gimp_main_window.c: a couple of cleanups and fixes.
38672 This code relies heavily on GTK+ implementation details and thus
38673 tends to work differently or even crashes on GTK+-2.0 :-(
38675 2002-05-08 Michael Natterer <mitch@gimp.org>
38677 * app/core/gimp.h: removed unused commented out prototype.
38679 * app/core/gimpimage.c (gimp_image_set_tattoo_state): fixed it
38680 again after I have b0rked it when using vectors instead of paths.
38682 * app/display/gimpdisplay.c: some comments and one more
38683 g_return_val_if_fail().
38685 * app/widgets/gimpimagedock.c: more fixes for the subtle
38686 active_image <-> active_display difference.
38688 * tools/pdbgen/pdb/display.pdb (gimp_display_delete): call
38689 gimp_display_delete() instead of just destroying it's shell (eek).
38691 * app/pdb/display_cmds.c: regenerated.
38693 Added a special view type for the image list so we can implement
38694 stuff like deleting images which are left over from crashed
38697 * app/widgets/Makefile.am
38698 * app/widgets/widgets-types.h
38699 * app/widgets/gimpimageview.[ch]: new widget: a view on the image
38702 * app/gui/Makefile.am
38703 * app/gui/images-commands.[ch]: new callbacks for it's context menu.
38705 * app/gui/dialogs-constructors.c: use the new widget instead of
38706 plain GimpContainerViews.
38708 * app/gui/menus.c: added an item_factory for it.
38710 2002-05-08 Sven Neumann <sven@gimp.org>
38712 * libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new)
38713 (gimp_table_attach_aligned): applied a patch from Maurits Rijk that
38714 enables mnemonics (bug #80804).
38716 * plug-ins/common/apply_lens.c
38717 * plug-ins/common/glasstile.c: applied a patch from Maurits Rijk that
38718 adds mnemonics (bug #80804).
38720 * plug-ins/common/animationplay.c
38721 * plug-ins/common/decompose.c
38722 * plug-ins/common/film.c
38723 * plug-ins/common/gee.c
38724 * plug-ins/common/gee_zoom.c
38725 * plug-ins/common/guillotine.c
38726 * plug-ins/common/winprint.c
38727 * plug-ins/gap/gap_lib.c
38728 * plug-ins/imagemap/imap_main.c
38729 * plug-ins/imagemap/imap_settings.c
38730 * plug-ins/print/gimp_main_window.c
38731 * plug-ins/print/print.c
38732 * plug-ins/print/print_gimp.h: use new function gimp_image_get_name()
38735 2002-05-07 Manish Singh <yosh@gimp.org>
38737 * tools/pdbgen/pdb/image.pdb: added image_get_name. Also, no longer
38738 duplicate the string in image_get_filename, since
38739 gimp_image_get_filename() returns a caller freed string now.
38741 * app/pdb/image_cmds.c
38742 * app/pdb/internal_procs.c
38743 * libgimp/gimpimage_pdb.[ch]: regenerated
38745 2002-05-07 Michael Natterer <mitch@gimp.org>
38748 * app/nav_window.[ch]: removed.
38750 * app/display/Makefile.am
38751 * app/display/display-types.h
38752 * app/display/gimpnavigationview.[ch]: new widget partially based
38753 on the removed nav_window.
38755 * libgimpproxy/gimpproxytypes.h: regnenerated.
38757 * app/display/gimpdisplay-foreach.[ch]: removed
38758 gdisplays_nav_preview_resized(). The new config system will allow
38759 us to get notified of changes.
38761 * app/display/gimpdisplayshell.[ch]: added "scaled" and "scrolled"
38764 * app/display/gimpdisplayshell-scale.c
38765 * app/display/gimpdisplayshell-scroll.c: emit "scaled" and
38766 "scrolled" appropriately. Removed nav_window stuff.
38768 * app/display/gimpdisplay.c
38769 * app/display/gimpdisplayshell-callbacks.c: changed accordingly.
38771 * app/gui/dialogs-constructors.[ch]
38772 * app/gui/dialogs.c
38773 * app/gui/menus.c: made the navigation dialog dockable.
38775 * app/gui/view-commands.c: changed the nav_dialog callback accordingly.
38777 * app/gui/preferences-dialog.c
38779 * app/config/gimpguiconfig.[ch]: removed "nav_window_per_display"
38780 as it's now a dockable and it's state is saved in sessionrc.
38782 * app/widgets/gimpnavigationpreview.[ch]: added context sensitive
38785 * app/widgets/gimpimagedock.c: made it capable of holding
38786 display-related dialogs (like GimpNavigationView) by connecting
38787 to the context's "display_changed" signal.
38789 * app/widgets/widgets-types.h: removed inclusion of
38790 "display/display-types.h".
38792 * app/widgets/gimpbufferview.c
38793 * app/widgets/gimpchannellistview.c
38794 * app/widgets/gimpcolormapeditor.c
38795 * app/widgets/gimpcomponentlistitem.c
38796 * app/widgets/gimpdocumentview.c
38797 * app/widgets/gimpdrawablelistitem.c
38798 * app/widgets/gimpdrawablelistview.c
38799 * app/widgets/gimpitemlistitem.c
38800 * app/widgets/gimpitemlistview.c
38801 * app/widgets/gimplayerlistitem.c
38802 * app/widgets/gimplayerlistview.c
38803 * app/widgets/gimppreview.c
38804 * app/widgets/gimpvectorslistview.c: warn about inclusion of
38805 "display/display-types.h".
38807 2002-05-07 Sven Neumann <sven@gimp.org>
38809 Moved slovenian translation to the stable branch where they should
38810 have been added in the first place.
38812 * configure.in: removed sl from LINGUAS.
38814 * gimp.spec.in: updated a bit, still broken.
38816 2002-05-07 Michael Natterer <mitch@gimp.org>
38818 * app/core/gimpimage.c: reverted my last change. I changed the
38819 function when porting everything to URIs because it was documented
38820 to return NULL but didn't behave so.
38822 We need to add a new PDB function which returns the image's
38823 *display* name ("Untitled" for a NULL filename).
38825 2002-05-07 Michael Natterer <mitch@gimp.org>
38827 * app/core/gimpimage.c (gimp_image_get_filename): get the image's
38828 uri with gimp_image_get_uri(), not gimp_object_get_name(), so it
38829 automatically becomes "Unnamed" if it's not set.
38831 2002-05-07 Sven Neumann <sven@gimp.org>
38833 * libgimp/gimpintl.h: removed (wrong) definition of LOCALEDIR.
38835 * libgimp/stdplugins-intl.h: fixed typo in domainname that broke i18n
38838 * app/gui/Makefile.am: define LOCALEDIR.
38840 * app/gui/plug-in-menus.c
38841 * app/plug-in/plug-in.h
38842 * app/plug-in/plug-ins.[ch]: declared translation domain and help path
38845 * plug-ins/print/print.c
38846 * plug-ins/print/print_gimp.h: minor cleanups.
38848 2002-05-07 David Monniaux <david@picsou.chatons>
38850 * app/arch/i386/mmx/paint_funcs_mmx.S.m4: original source of
38851 paint_funcs_mmx.S, but the latter has been modified manually and
38852 is now out-of-sync. Deleted to reduce confusion.
38854 * app/arch/i386/mmx/paint_funcs_mmx.S: would not compile on my
38855 machine due to wrong .type directives. Fixed.
38857 2002-05-07 Sven Neumann <sven@gimp.org>
38859 * plug-ins/print/gimp_main_window.c: use more stock labels.
38861 2002-05-07 Sven Neumann <sven@gimp.org>
38864 * configure.in: depend on libgimpprint >= 4.2.0 for the print plug-in.
38865 You need to --disable-print to build w/o print support.
38867 * plug-ins/Makefile.am: build print plug-in conditionally.
38869 * plug-ins/print/Makefile.am
38870 * plug-ins/print/gimp_color_window.c
38871 * plug-ins/print/gimp_main_window.c
38872 * plug-ins/print/print.c
38873 * plug-ins/print/print_gimp.h
38874 * plug-ins/print/print-image-gimp.c: the print plug-in from the
38875 gimpprint 4.2.1 release adapted to build inside the gimp tree and
38876 ported to gtk+-2.0. Not yet free of deprecated code.
38878 * plug-ins/print/README
38879 * plug-ins/print/RELNOTES
38880 * plug-ins/print/escputil-1.3.1.in
38881 * plug-ins/print/escputil.c
38882 * plug-ins/print/print-canon.c
38883 * plug-ins/print/print-dither.c
38884 * plug-ins/print/print-escp2.c
38885 * plug-ins/print/print-intl.h
38886 * plug-ins/print/print-pcl.c
38887 * plug-ins/print/print-printers.c
38888 * plug-ins/print/print-ps.c
38889 * plug-ins/print/print-util.c
38890 * plug-ins/print/print-weave.c
38891 * plug-ins/print/print.h
38892 * plug-ins/print/quickmatrix257.h
38893 * plug-ins/print/ran.367.179.h: removed.
38895 2002-05-06 Nathan Summers <rock@gimp.org>
38897 * libgimpproxy/Makefile.am: correct a cut'n'paste mistake. The build
38898 actual works correctly now! I should have committed this fix a long
38901 2002-05-06 Sven Neumann <sven@gimp.org>
38903 * autogen.sh: fixed typo.
38905 * app/config/gimpconfig-serialize.[ch] (gimp_config_serialize_value):
38906 allow to specify whether strings should be escaped.
38908 * app/config/gimprc.c (gimp_rc_query): don't escape string values.
38910 * app/config/test-config.c: changed accordingly.
38912 2002-05-06 Nathan Summers <rock@gimp.org>
38914 * plug-ins/dbbrowser/dbbrowser_utils.c: (gimp_db_browser) use a
38915 GtkHPaned instead of a GtkHBox to separate the list from the details.
38916 This little change makes the pdb browser much more usable.
38918 2002-05-06 Nathan Summers <rock@gimp.org>
38920 * tools/gimp-mkproxy: added proxy-subst command, which substitutes its
38921 argument for the current line in the proxied version
38923 2002-05-06 Sven Neumann <sven@gimp.org>
38925 * app/config/gimprc.c (gimp_rc_query): free the list of properties.
38927 2002-05-06 Sven Neumann <sven@gimp.org>
38929 * app/config/gimpconfig-serialize.c
38930 * app/config/gimpconfig-utils.[ch]
38931 * app/config/gimpconfig.[ch]
38932 * app/config/gimprc.[ch]: added a GimpRc implementation of
38933 gimp_config_duplicate() that also copies unknown tokens. Added new
38934 function gimp_rc_query().
38936 * app/config/test-config.c: added tests for gimp_rc_query().
38938 * app/config/Makefile.am: need to link test app against libappwidgets.
38940 2002-05-05 Michael Natterer <mitch@gimp.org>
38943 * app/gimphelp.[ch]: removed...
38945 * app/widgets/Makefile.am
38946 * app/widgets/gimphelp.[ch]: ...and added here.
38948 * app/widgets/widgets-enums.[ch]: added GimpHelpBrowserType here
38949 as registered enum. Added an evil hack with GimpCursorType so
38950 app/config/gimpguiconfig.h can include this file.
38952 * app/widgets/gimpcursor.c: added an assertion because of the
38953 changed GimpCursorType.
38955 * app/config/gimpguiconfig.[ch]: added a property for the help
38959 * app/libgimp_glue.c
38960 * app/gui/preferences-dialog.c
38961 * tools/pdbgen/pdb/help.pdb: changed accordingly.
38963 * app/pdb/help_cmds.c: regenerated.
38965 Some nav_window cleanup before chopping:
38967 * app/nav_window.[ch]: removed the old preview code and use
38968 GimpNavigationPreviews only. Namespaceified all functions. Speak
38969 in terms of GimpDisplayShell, not GimpDisplay. Lots of internal
38972 * app/gui/gui-types.h: removed NaviagtionDialog here...
38974 * app/display/display-types.h: ...and added it here.
38976 * app/display/gimpdisplayshell-callbacks.[ch]: added a callback
38977 for the navigation button and call nav_window_show_popup() from there.
38979 * app/display/gimpdisplayshell.c: free shell->nav_dialog
38980 unconditionally, connect to the new callback.
38982 * app/display/gimpdisplayshell-scale.c
38983 * app/display/gimpdisplayshell-scroll.c
38984 * app/gui/view-commands.c: changed accordingly.
38986 * app/widgets/gimppreview.c (gimp_preview_set_viewable): the
38987 assertion introduced recently was too tight, breaking
38988 GimpNavigationPreview. Changed it to do an "is a" check, not exact
38989 preview type matching.
38991 * app/widgets/gimpimagepreview.c: added quick-hack support for
38994 * app/widgets/gimpnavigationpreview.[ch]: made
38995 gimp_navigation_preview_grab_pointer() public so the nav_window
39000 * app/display/gimpdisplay.c: removed the gui/ dependency from this
39001 file by removing info_window stuff.
39003 * app/display/gimpdisplayshell.c (gimp_display_shell_flush): update
39004 the info_window here.
39006 * app/gui/dialogs-constructors.c (dialogs_indexed_palette_new): call
39007 gimp_dockable_set_context() like all other constructors.
39010 * app/paint/gimppaintcore.h: some more include cleanup.
39012 2002-05-05 Sven Neumann <sven@gimp.org>
39015 * configure.in: fixed check for libgtkhtml-2.0.
39017 2002-05-05 Sven Neumann <sven@gimp.org>
39019 * configure.in: bumped our version number to 1.3.6. Added check
39020 for libgtkhtml-2.0.
39022 * plug-ins/helpbrowser/Makefile.am
39023 * plug-ins/helpbrowser/helpbrowser.c: started to port the help browser
39024 to GtkHtml2. Not all features are working yet.
39026 * plug-ins/helpbrowser/back.xpm
39027 * plug-ins/helpbrowser/forward.xpm: removed.
39029 2002-05-04 Sven Neumann <sven@gimp.org>
39031 * README: updated Bugs section. Mention gdkxft to avoid more
39032 reports about crashes caused by such lousy LD_PRELOAD hacks.
39034 2002-05-04 Sven Neumann <sven@gimp.org>
39036 * app/arch/i386/mmx/detect_mmx.S
39037 * app/arch/i386/mmx/paint_funcs_mmx.S: applied a patch from
39038 iccii@hotmail.com that promises to fix build on mingw (bug #80681).
39040 * app/config/gimpconfig-serialize.c
39041 * app/config/gimpconfig-utils.[ch]: moved value compare function to
39044 * app/config/gimpconfig.[ch]: added duplicate and compare functions
39045 to GimpConfigInterface so derived interfaces can override them.
39047 * app/tools/gimptexttool.c: fixed tool cursor.
39049 2002-05-03 Nick Lamb <njl195@zepler.org.uk>
39051 * plug-ins/common/tiff.c: Overbright alpha bug #77283 fixed
39053 2002-05-03 Sven Neumann <sven@gimp.org>
39055 * plug-ins/common/borderaverage.c
39056 * plug-ins/common/convmatrix.c
39057 * plug-ins/common/nlfilt.c
39058 * plug-ins/common/papertile.c
39059 * plug-ins/common/vpropagate.c: applied a patch from iccii@hotmail.com
39060 that adds missing calls to gimp_tile_cache_ntiles() to speed up the
39061 plug-ins considerably (bug #78358).
39063 * plug-ins/common/colorify.c: fix for drawables with alpha from
39066 2002-05-03 Sven Neumann <sven@gimp.org>
39068 * plug-ins/tools/tool-safe-mode.c: removed another warning.
39070 2002-05-03 Michael Natterer <mitch@gimp.org>
39072 * devel-docs/Makefile.am
39073 * devel-docs/includes.txt: new file documenting the core's
39076 * HACKING: mention it here.
39078 * libgimptool/gimptooltypes.h: removed GimpToolOptions here.
39080 * app/core/core-types.h: and added it here. This is a temp hack
39081 needed because GimpToolInfo needs to know the GimpToolOptions
39084 * libgimpproxy/gimpproxytypes.h: regenerated.
39086 * libgimptool/gimptoolmodule.h: don't include gimptooltypes.h here...
39087 * libgimptool/gimptoolmodule.c: ...but here.
39089 * app/config/gimpconfig-params.c: include "libgimpbase/gimpbase.h"
39090 entirely, not single files from it.
39093 * app/core/gimpcontext.c
39094 * app/core/gimpcoreconfig.c
39095 * app/core/gimpdatafactory.c
39096 * app/core/gimpdocuments.c
39097 * app/core/gimpdrawable-blend.c
39098 * app/core/gimpdrawable-bucket-fill.c
39099 * app/core/gimpdrawable-offset.c
39100 * app/core/gimpdrawable-transform.c
39101 * app/core/gimpdrawable.c
39102 * app/core/gimpedit.c
39103 * app/core/gimpimage-convert.c
39104 * app/core/gimpimage-crop.c
39105 * app/core/gimpimage-duplicate.c
39106 * app/core/gimpimage-guides.c
39107 * app/core/gimpimage-mask.c
39108 * app/core/gimpimage-merge.c
39109 * app/core/gimpimage-new.c
39110 * app/core/gimpimage-projection.c
39111 * app/core/gimpimage-qmask.c
39112 * app/core/gimpimage-resize.c
39113 * app/core/gimpimage-scale.c
39114 * app/core/gimpimage.c
39115 * app/core/gimpitem.c
39116 * app/core/gimpmodules.c
39117 * app/core/gimppaintinfo.c
39118 * app/core/gimpparasite.c
39119 * app/core/gimppreviewcache.c
39120 * app/core/gimptoolinfo.c
39121 * app/core/gimpunit.c: include "core-types.h" and no other types file.
39123 * app/display/gimpdisplay.c
39124 * app/display/gimpdisplayshell-callbacks.c
39125 * app/display/gimpdisplayshell.c: include "tools/tools-types.h"
39126 instead of "libgimptool/gimptooltypes.h", warn about inclusion
39127 on "gui/gui-types.h"
39129 * app/file/file-open.c
39130 * app/file/file-save.c: don't include "libgimptool/gimptooltypes.h".
39132 * app/gui/about-dialog.c
39133 * app/gui/brush-select.c
39134 * app/gui/brushes-commands.c
39135 * app/gui/color-select.c
39136 * app/gui/data-commands.c
39137 * app/gui/device-status-dialog.c
39138 * app/gui/dialogs.c
39139 * app/gui/gradients-commands.c
39140 * app/gui/help-commands.c
39141 * app/gui/info-window.c
39142 * app/gui/palettes-commands.c
39143 * app/gui/patterns-commands.c
39144 * app/gui/resize-dialog.c
39145 * app/gui/tips-dialog.c
39146 * app/gui/tool-options-dialog.c: include "gui-types.h" and no
39149 * app/paint/gimpairbrush.c
39150 * app/paint/gimpclone.c
39151 * app/paint/gimpconvolve.c
39152 * app/paint/gimpdodgeburn.c
39153 * app/paint/gimperaser.c
39154 * app/paint/gimppaintbrush.c
39155 * app/paint/gimppaintcore-stroke.c
39156 * app/paint/gimppaintcore.c
39157 * app/paint/gimppaintoptions.c
39158 * app/paint/gimppencil.c
39159 * app/paint/gimpsmudge.c
39160 * app/paint/paint.c: include "paint-types.h" and no other types file.
39162 * app/pdb/pdb-types.h: don't include "libgimptool/gimptooltypes.h".
39164 * app/plug-in/plug-in-progress.c: warn about inclusion of
39165 "display/display-types.h"
39167 * app/tools/tools-types.h: include "libgimptool/gimptooltypes.h".
39169 * app/tools/gimpairbrushtool.c
39170 * app/tools/gimpbezierselecttool.c
39171 * app/tools/gimpblendtool.c
39172 * app/tools/gimpbrightnesscontrasttool.c
39173 * app/tools/gimpbucketfilltool.c
39174 * app/tools/gimpbycolorselecttool.c
39175 * app/tools/gimpclonetool.c
39176 * app/tools/gimpcolorbalancetool.c
39177 * app/tools/gimpcolorpickertool.c
39178 * app/tools/gimpconvolvetool.c
39179 * app/tools/gimpcroptool.c
39180 * app/tools/gimpcurvestool.c
39181 * app/tools/gimpdodgeburntool.c
39182 * app/tools/gimpdrawtool.c
39183 * app/tools/gimpeditselectiontool.c
39184 * app/tools/gimpellipseselecttool.c
39185 * app/tools/gimperasertool.c
39186 * app/tools/gimpfliptool.c
39187 * app/tools/gimpfreeselecttool.c
39188 * app/tools/gimpfuzzyselecttool.c
39189 * app/tools/gimphistogramtool.c
39190 * app/tools/gimphuesaturationtool.c
39191 * app/tools/gimpinktool.c
39192 * app/tools/gimplevelstool.c
39193 * app/tools/gimpmagnifytool.c
39194 * app/tools/gimpmeasuretool.c
39195 * app/tools/gimpmovetool.c
39196 * app/tools/gimppaintbrushtool.c
39197 * app/tools/gimppainttool.c
39198 * app/tools/gimppathtool.c
39199 * app/tools/gimppenciltool.c
39200 * app/tools/gimpperspectivetool.c
39201 * app/tools/gimpposterizetool.c
39202 * app/tools/gimprectselecttool.c
39203 * app/tools/gimprotatetool.c
39204 * app/tools/gimpscaletool.c
39205 * app/tools/gimpselectiontool.c
39206 * app/tools/gimpsheartool.c
39207 * app/tools/gimpsmudgetool.c
39208 * app/tools/gimptexttool.c
39209 * app/tools/gimpthresholdtool.c
39210 * app/tools/gimptoolcontrol.c
39211 * app/tools/gimptoolcontrol.h
39212 * app/tools/gimptransformtool.c
39213 * app/tools/gimpvectortool.c
39214 * app/tools/tools.c: include "tools-types.h" and no other types file,
39215 warn about inclusion of "gui/gui-types.h".
39217 * app/widgets/gimpcolorpanel.c
39218 * app/widgets/gimptoolbox-color-area.c: warn about inclusion of
39221 * app/xcf/xcf-load.c
39222 * app/xcf/xcf.c: don't include "libgimptool/gimptooltypes.h".
39224 Split tool-safe-mode up in two files, one including libgimpproxy,
39227 * plug-ins/tools/Makefile.am
39228 * plug-ins/tools/tool-safe-mode-plug-in.[ch]: new files including
39229 libgimp/ stuff only.
39231 * plug-ins/tools/tool-safe-mode.[ch]: include libgimpproxy/ and
39232 libgimptool/ but don't include libgimp/ because of conflicting
39237 * app/tools/gimpclonetool.c: create the clone core so we don't crash.
39239 * app/gui/file-open-dialog.c: changed the way we create previews
39240 so that only out-of-date previews are created on a click in the
39241 preview area. Unconditional creation can still be forced by
39242 <Ctrl>+click. Changed the tooltip to document this.
39244 2002-05-03 Sven Neumann <sven@gimp.org>
39246 * app/tools/gimpairbrushtool.[ch]
39247 * app/tools/gimpbezierselecttool.[ch]
39248 * app/tools/gimpblendtool.[ch]
39249 * app/tools/gimpbrightnesscontrasttool.[ch]
39250 * app/tools/gimpbucketfilltool[.ch]
39251 * app/tools/gimpbycolorselecttool[.ch]
39252 * app/tools/gimpclonetool[.ch]
39253 * app/tools/gimpcolorbalancetool[.ch]
39254 * app/tools/gimpcolorpickertool[.ch]
39255 * app/tools/gimpconvolvetool[.ch]
39256 * app/tools/gimpcroptool[.ch]
39257 * app/tools/gimpcurvestool[.ch]
39258 * app/tools/gimpdodgeburntool[.ch]
39259 * app/tools/gimpeditselectiontool.c
39260 * app/tools/gimpellipseselecttool[.ch]
39261 * app/tools/gimperasertool[.ch]
39262 * app/tools/gimpfliptool[.ch]
39263 * app/tools/gimpfreeselecttool[.ch]
39264 * app/tools/gimpfuzzyselecttool[.ch]
39265 * app/tools/gimphistogramtool[.ch]
39266 * app/tools/gimphuesaturationtool[.ch]
39267 * app/tools/gimpinktool[.ch]
39268 * app/tools/gimpiscissorstool[.ch]
39269 * app/tools/gimplevelstool[.ch]
39270 * app/tools/gimpmagnifytool[.ch]
39271 * app/tools/gimpmeasuretool[.ch]
39272 * app/tools/gimpmovetool[.ch]
39273 * app/tools/gimppaintbrushtool[.ch]
39274 * app/tools/gimppainttool.c
39275 * app/tools/gimppathtool[.ch]
39276 * app/tools/gimppenciltool[.ch]
39277 * app/tools/gimpperspectivetool[.ch]
39278 * app/tools/gimpposterizetool[.ch]
39279 * app/tools/gimprectselecttool[.ch]
39280 * app/tools/gimprotatetool[.ch]
39281 * app/tools/gimpscaletool[.ch]
39282 * app/tools/gimpselectiontool.c
39283 * app/tools/gimpsheartool[.ch]
39284 * app/tools/gimpsmudgetool[.ch]
39285 * app/tools/gimptexttool[.ch]
39286 * app/tools/gimpthresholdtool[.ch]
39287 * app/tools/gimptool.c
39288 * app/tools/gimptoolcontrol.h
39289 * app/tools/gimptoolmodule[.ch]
39290 * app/tools/gimptransformtool.c
39291 * app/tools/gimpvectortool[.ch]
39292 * app/tools/path_tool.c
39293 * app/tools/tool_manager[.ch]
39294 * app/tools/tools.c
39295 * libgimptool/gimptool.c
39296 * libgimptool/gimptoolcontrol.h
39297 * libgimptool/gimptoolmodule.h: removed tons of warnings. Do we need
39298 to add -Werror to the CFLAGS to avoid such a mess in the future ?!
39299 Also had to enforce the GIMP coding style in lots of places :-(
39301 * libgimp/gimppixelrgn.c: got sick and tired of debugging plug-ins,
39302 so I've added checks for most parameters passed to the GimpPixelRgn
39303 functions. This will slow down plug-in execution a little bit but
39304 should help to find bugs early.
39306 2002-05-02 Nathan Summers <rock@gimp.org>
39308 * app/core/core-types.h
39309 * libgimptool/gimptooltypes.h: moved GimpToolInfo back into the core.
39311 * libgimptool/gimptoolcontrol.h
39312 * app/tools/gimptoolcontrol.c: got rid of gimp_tool_control_new
39314 * libgimptool/gimptool.c (gimp_tool_init): create the GimpToolControl
39315 here instead of in the descendant classes
39317 * app/tools/gimpairbrushtool.c
39318 * app/tools/gimpbezierselecttool.c
39319 * app/tools/gimpblendtool.c
39320 * app/tools/gimpbucketfilltool.c
39321 * app/tools/gimpbycolorselecttool.c
39322 * app/tools/gimpclonetool.c
39323 * app/tools/gimpcolorbalancetool.c
39324 * app/tools/gimpcolorpickertool.c
39325 * app/tools/gimpconvolvetool.c
39326 * app/tools/gimpcroptool.c
39327 * app/tools/gimpcurvestool.c
39328 * app/tools/gimpdodgeburntool.c
39329 * app/tools/gimpeditselectiontool.c
39330 * app/tools/gimpellipseselecttool.c
39331 * app/tools/gimperasertool.c
39332 * app/tools/gimpfliptool.c
39333 * app/tools/gimpfreeselecttool.c
39334 * app/tools/gimpfuzzyselecttool.c
39335 * app/tools/gimphistogramtool.c
39336 * app/tools/gimphuesaturationtool.c
39337 * app/tools/gimpinktool.c
39338 * app/tools/gimpiscissorstool.c
39339 * app/tools/gimplevelstool.c
39340 * app/tools/gimpmagnifytool.c
39341 * app/tools/gimpmeasuretool.c
39342 * app/tools/gimpmovetool.c
39343 * app/tools/gimppaintbrushtool.c
39344 * app/tools/gimppathtool.c
39345 * app/tools/gimppenciltool.c
39346 * app/tools/gimpperspectivetool.c
39347 * app/tools/gimprectselecttool.c
39348 * app/tools/gimprotatetool.c
39349 * app/tools/gimpscaletool.c
39350 * app/tools/gimpsheartool.c
39351 * app/tools/gimpsmudgetool.c
39352 * app/tools/gimptexttool.c
39353 * app/tools/gimpvectortool.c
39354 * plug-ins/tools/tool-safe-mode.c: changed accordingly
39356 * libgimpproxy/gimpproxytypes.h: autogenerated
39358 2002-05-02 Sven Neumann <sven@gimp.org>
39360 * app/core/gimpimagefile.c (gimp_imagefile_save_thumbnail): fixed
39363 * plug-ins/rcm/rcm_misc.c (rcm_reduce_image): merged fix for bug
39364 #80561 from stable branch.
39366 2002-05-02 Michael Natterer <mitch@gimp.org>
39368 * plug-ins/script-fu/script-fu-console.c: fixed communication
39369 with the SIOD interpreter:
39371 - set the GError variable to NULL before using it.
39372 - set the GIOChannel used to read SIOD's output to binary mode.
39374 2002-04-29 Sven Neumann <sven@gimp.org>
39376 * app/core/gimpimagefile.[ch]: added some assertions, cleaned up
39379 * app/widgets/gimpdocumentview.c: use the preview size instead of a
39380 hardcoded thumbnail size. Should we use the prefs value instead?
39382 2002-04-29 Sven Neumann <sven@gimp.org>
39384 * app/core/gimpimagefile.c: adapt the thumbnail size to the image size
39385 so that thumbs of small images don't end up in the "large" directory.
39387 2002-04-29 Sven Neumann <sven@gimp.org>
39389 * app/core/gimpimagefile.[ch]: accept any size so we don't depend on
39390 the values of GimpThumbnailSize. We might want to allow other thumbnail
39391 sizes than only 0, 128 or 256.
39393 2002-04-29 Sven Neumann <sven@gimp.org>
39395 * app/core/core-enums.[ch]: added new enum GimpThumbnailSize.
39398 * app/config/gimpcoreconfig.[ch]
39399 * app/core/gimpcoreconfig.[ch]: replaced old gimprc value
39400 write_thumbnails with thumbnail_size.
39402 * app/core/gimpimagefile.[ch]: allow to specify a thumbnail size.
39404 * app/core/gimpdocuments.c
39405 * app/file/file-open.c
39406 * app/file/file-save.c
39407 * app/gui/preferences-dialog.c
39408 * app/widgets/gimpdocumentview.c: changed accordingly.
39410 * app/gui/file-open-dialog.c: create the preview according to the
39411 users choice of thumbnail size. Doesn't update on changes yet.
39413 2002-04-29 Sven Neumann <sven@gimp.org>
39415 * app/core/gimpimagefile.[ch]: save empty thumbnails to
39416 ~/.thumbnails/fail/gimp-1.3 if we cannot create a thumbnail. Added
39417 new state GIMP_IMAGEFILE_STATE_THUMBNAIL_EXISTS to indicate that a
39418 thumbnail was found but is not yet loaded. Removed unused thumb_mtime
39419 from GimpImagefile struct and simplified some parts of the code.
39421 * app/gui/file-open-dialog.c: cosmetic changes.
39423 2002-04-29 Michael Natterer <mitch@gimp.org>
39425 * app/core/gimpviewable.[ch]: added "gchar *name_changed_signal"
39426 to GimpViewableClass which defaults to "name_changed".
39428 * app/widgets/gimplistitem.c
39429 * app/widgets/gimpmenuitem.c: connect to
39430 viewable_class->name_changed_signal instead of just
39431 "name_changed". Fixed possible UI inconsistency where the previous
39432 viewable's tooltip would have been displayed.
39434 * app/core/gimpimagefile.[ch]: set name_changed_signal to
39435 "info_changed" so views can update their tooltips correctly.
39436 Merged the separate image_state and thumb_state states into one
39437 state variable and extended the state enum. Added description
39438 strings for all states. Show the file size for all files, not only
39439 for those with a thumbnail. Enabled display of outdated
39442 * app/gui/file-open-dialog.c: some changes because
39443 gimp_imagefile_get_description() returns 3 instead of 2 lines of
39446 * app/widgets/gimpcontainerview-utils.c: show the imagefile's
39447 description in the tooltip.
39450 * app/gui/documents-commands.[ch]
39451 * app/widgets/gimpdocumentview.c: added functions to remove
39452 "dangling" document history entries. Updated the context menu so
39453 all functions can be accessed through it.
39455 2002-04-28 Sven Neumann <sven@gimp.org>
39457 * app/tools/gimpairbrushtool.c
39458 * app/tools/gimpblendtool.c
39459 * app/tools/gimpbucketfilltool.c
39460 * app/tools/gimpcolorpickertool.c
39461 * app/tools/gimpconvolvetool.c
39462 * app/tools/gimpcroptool.c
39463 * app/tools/gimpdodgeburntool.c
39464 * app/tools/gimperasertool.c
39465 * app/tools/gimpinktool.c
39466 * app/tools/gimpmeasuretool.c
39467 * app/tools/gimpsmudgetool.c
39468 * app/tools/gimptexttool.c
39469 * app/tools/paint_options.c
39470 * app/tools/selection_options.c
39471 * app/tools/transform_options.c: in preparation of a more generic tool
39472 options framework: use the options value, not the default value when
39473 setting up the tool options UI. Doesn't make any difference since both
39474 are initialized to the same value, but reduces usage of the ugly foo_d
39477 * app/tools/gimpmagnifytool.c: don't change the resize_windows_on_zoom
39478 gimprc value in response to changes in the tool options. Only use it
39479 as default value when resetting the tool options.
39481 2002-04-28 Sven Neumann <sven@gimp.org>
39483 * app/core/gimpimage-convert.c (gimp_image_convert): invalidate layer
39484 previews so we don't crash when an image preview is generated after
39485 converting the image from RGB to GRAY.
39487 * app/core/gimpimage.c (gimp_image_get_new_preview): added some
39488 assertions to make it easier to find similar problems in the future.
39490 2002-04-24 Sven Neumann <sven@gimp.org>
39492 * plug-ins/gfig/gfig.c
39493 * plug-ins/imagemap/imap_preview.c: don't use GDK_MOTION_NOTIFY as an
39496 2002-04-23 Nathan Summers <rock@gimp.org>
39498 * libgimptool/gimptoolmodule.[ch]: More error checking. Also introduced
39499 a versioning scheme. Increment GIMP_TOOL_MODULE_ABI_VERSION any time
39500 you break binary compatiblity.
39502 * plug-ins/tools/tool-safe-mode.c: call g_type_init().
39504 2002-04-22 Michael Natterer <mitch@gimp.org>
39506 * app/widgets/gimptoolbox.c: display the tools' shortcuts in the
39507 tool buttons' tooltips (fixes #60273).
39509 2002-04-21 Nathan Summers <rock@gimp.org>
39511 * app/tools/gimptoolcontrol.[ch]
39512 * libgimptool/gimptool.c: resurrected the motion hints and cursor
39515 * app/tools/gimpairbrushtool.c
39516 * app/tools/gimpbezierselecttool.c
39517 * app/tools/gimpblendtool.c
39518 * app/tools/gimpbucketfilltool.c
39519 * app/tools/gimpbycolorselecttool.c
39520 * app/tools/gimpclonetool.c
39521 * app/tools/gimpcolorbalancetool.c
39522 * app/tools/gimpcolorpickertool.c
39523 * app/tools/gimpconvolvetool.c
39524 * app/tools/gimpcroptool.c
39525 * app/tools/gimpcurvestool.c
39526 * app/tools/gimpdodgeburntool.c
39527 * app/tools/gimpeditselectiontool.c
39528 * app/tools/gimpellipseselecttool.c
39529 * app/tools/gimperasertool.c
39530 * app/tools/gimpfliptool.c
39531 * app/tools/gimpfuzzyselecttool.c
39532 * app/tools/gimphistogramtool.c
39533 * app/tools/gimphuesaturationtool.c
39534 * app/tools/gimpimagemaptool.c
39535 * app/tools/gimpinktool.c
39536 * app/tools/gimpiscissorstool.c
39537 * app/tools/gimplevelstool.c
39538 * app/tools/gimpmagnifytool.c
39539 * app/tools/gimpmeasuretool.c
39540 * app/tools/gimpmovetool.c
39541 * app/tools/gimppaintbrushtool.c
39542 * app/tools/gimppainttool.c
39543 * app/tools/gimppathtool.c
39544 * app/tools/gimppenciltool.c
39545 * app/tools/gimpperspectivetool.c
39546 * app/tools/gimprectselecttool.c
39547 * app/tools/gimprotatetool.c
39548 * app/tools/gimpscaletool.c
39549 * app/tools/gimpselectiontool.c
39550 * app/tools/gimpsheartool.c
39551 * app/tools/gimpsmudgetool.c
39552 * app/tools/gimptexttool.c
39553 * app/tools/gimptransformtool.c
39554 * app/tools/gimpvectortool.c: set the motion mode; fix a few parameters
39556 * app/tools/gimpinktool.c (gimp_ink_tool_button_press): uncommented
39557 some code I had temporarily commented out and didn't uncomment before
39560 * libgimptool/gimptoolcontrol.h
39561 * app/tools/gimptoolcontrol-displayshell.[ch]: merged with
39562 gimptoolcontrol.[ch]. The distinction was fairly arbitrary.
39564 * plug-ins/tools/gimptoolcontrol.c: added some stubs
39566 * app/tools/Makefile.am
39567 * app/tools/tool_manager.c
39568 * app/display/gimpdisplayshell-callbacks.c: changed accordingly
39570 * tools/pdbgen/pdb/image.pdb
39571 * libgimp/gimpimage_pdb.c: applied a patch from Pippen to correct
39572 documentation on the undo operations
39574 2002-04-19 Michael Natterer <mitch@gimp.org>
39576 * app/core/gimpimagefile.[ch]: made gimp_imagefile_save_thumbnail()
39577 return a gboolean indicating success.
39579 * app/file/file-save.c
39580 * tools/pdbgen/pdb/fileops.pdb: use gimp_imagefile_save_thumbnail()
39581 to save thumbnails.
39583 * app/file/file-utils.[ch]: removed the .xvpics thumbnail saving code.
39585 * app/pdb/fileops_cmds.c: regenerated.
39587 2002-04-19 Michael Natterer <mitch@gimp.org>
39589 * app/file/file-open.[ch]: all functions return the opened image
39590 and the pdb status plus a GError now. Removed all g_message()
39591 calls from file_open_image(). Instead, display all error messages
39592 in file_open_with_proc_and_display() if it got no error return
39596 * app/core/gimpimagefile.c
39597 * app/gui/file-commands.c
39598 * app/gui/file-open-dialog.c
39599 * app/widgets/gimpdnd.c
39600 * app/widgets/gimpdocumentview.c: changed accordingly.
39602 * app/gui/file-open-dialog.c: only treat the "entered_filename" as
39603 URI if it contains "://".
39605 2002-04-19 Michael Natterer <mitch@gimp.org>
39607 * app/core/gimpdocuments.[ch] (gimp_documents_add): speak in terms
39608 of "uri", not "filename". Return the created imagefile.
39610 * app/core/gimpimagefile.[ch]: factored out private function
39611 gimp_imagefile_save_png_thumb() and call it from
39612 gimp_imagefile_create_thumbnail().
39613 Added public function gimp_imagefile_save_thumbnail() which takes
39614 an imagefile and an image.
39616 * app/file/file-open.c: create thumbnails for all images opened
39617 interactively using gimp_imagefile_save_thumbnail().
39619 * app/xcf/xcf-load.c (xcf_load_image): set the filename with
39620 gimp_image_set_filename() so it gets converted to an URI as for
39623 2002-04-18 Michael Natterer <mitch@gimp.org>
39625 * app/core/gimpimagefile.c: oops, thumbnails were created in the
39626 wrong directory since my last commit.
39628 2002-04-18 Michael Natterer <mitch@gimp.org>
39630 * app/gui/file-open-dialog.c: added a progress bar to the preview
39631 frame to show the progress when creating many previews. Also added
39632 some more ugly static variables...
39634 2002-04-18 Michael Natterer <mitch@gimp.org>
39636 * app/core/gimpimagefile.[ch]: create the thumbnail subdir strings
39637 only once in class_init, minor stuff.
39639 * app/widgets/gimppreview.c: set widget_class->activate_signal to
39640 the preview's "clicked" id so we can create mnemonics for it.
39642 * app/gui/file-open-dialog.c: make the whole preview area clickable,
39643 block some signals of the "Preview" button so it behaves like
39644 the tree view headers.
39646 2002-04-18 Michael Natterer <mitch@gimp.org>
39648 * app/core/gimpimagefile.[ch]: save the number of layers in the
39649 thumbnail and show it in the description.
39651 * app/gui/file-dialog-utils.[ch]: added file_dialog_new() which
39652 contains a lot of factored out code from file-open and file-save.
39654 * app/gui/file-open-dialog.c
39655 * app/gui/file-save-dialog.c: use file_dialog_new(), reduce use of
39656 global variables, added utility functions to reduce code
39657 duplication, cleanup.
39659 * app/gui/file-open-dialog.c: use a temporary imagefile to create
39660 previews so the dialog's preview can show the progress when
39661 creating many thumbnails.
39663 2002-04-17 Michael Natterer <mitch@gimp.org>
39665 * app/file/file-save.c: shouldn't free the filename before using it :)
39667 * app/core/gimpimagefile.c: emit the "info_changed" signal more
39668 often, assemble the description string differently.
39670 * app/gui/file-open-dialog.c: moved the preview into a frame right
39671 of the file selection box, lots of gui and other cleanup...
39673 2002-04-17 Sven Neumann <sven@gimp.org>
39675 * app/core/gimpimagefile.[ch]
39676 * app/gui/file-open-dialog.c: moved code to generate a literate
39677 description of the image to the GimpImagefile object.
39679 2002-04-17 Michael Natterer <mitch@gimp.org>
39681 * app/core/core-enums.[ch]: register GimpImageType.
39683 * app/core/gimpimagefile.[ch]: read and write more image properties
39686 * app/gui/file-open-dialog.c: changed accordingly.
39688 * app/widgets/gimpdialogfactory.c: disabled debugging output.
39690 * app/widgets/gimpdocumentview.c: changed the "Refresh" button to
39691 regenerate the preview on click and reload all previews on
39694 * tools/pdbgen/enums.pl: regenerated.
39696 2002-04-16 Sven Neumann <sven@gimp.org>
39698 * app/core/gimpimagefile.c (gimp_imagefile_png_thumb_path): create
39699 the thumbnail directories if they don't exist.
39700 (gimp_imagefile_png_thumb_name): reimplemented w/o snprintf().
39702 * app/pdb/color_cmds.c
39703 * tools/pdbgen/pdb/color.pdb: merged fix for bug #78877 from stable
39706 2002-04-16 Michael Natterer <mitch@gimp.org>
39708 * app/base/temp-buf.c: fixed temp_buf_copy() and
39709 temp_buf_to_[color|gray]() to (1) not crash and (2) to assume the
39710 correct pixelformat. Bugs were never noticed because the code was
39711 never used until today...
39713 * app/core/gimpviewable.c (gimp_viewable_get_new_preview_pixbuf):
39714 use temp_buf_copy() to convert GRAY* TempBufs to RGB* before
39715 creating the pixbuf.
39717 * app/app_procs.c: don't try to open command line images if the
39718 filename could not be converted to an URI.
39720 * app/file/file-open.c
39721 * app/file/file-save.c: use g_file_test() instead of stat().
39723 * app/file/file-utils.[ch]: cleanup, changed
39724 file_utils_filename_to_uri() to take a list of procs, not a Gimp
39727 * app/core/gimpimage.c: changed accordingly.
39729 * app/core/gimpimagefile.[ch]: implemented thumbnail saving
39730 following the thumbnail standard v0.5 (the implementation is not
39731 yet fully standard compliant).
39733 * app/gui/file-open-dialog.c: use the new thubmnail functions and
39734 removed all .xvpics code. Not finished yet...
39736 * app/core/gimpdocuments.c
39737 * app/widgets/gimpdocumentview.c: changed accordingly.
39739 * tools/pdbgen/pdb/fileops.pdb (file_save_thumbnail): set "success"
39742 * app/pdb/fileops_cmds.c: regenerated.
39744 2002-04-16 Sven Neumann <sven@gimp.org>
39746 * app/widgets/gimppreview.c (gimp_preview_expose_event): don't draw
39747 anything if an idle update is pending.
39749 * libgimpwidgets/gimpcolorarea.c (gimp_color_area_expose): reordered
39750 conditions so that the one that is most expensive to check comes last.
39752 2002-04-15 Sven Neumann <sven@gimp.org>
39754 * app/config/gimpconfig-serialize.c: serialize doubles and floats
39755 using the locale independent g_ascii_formatd().
39757 2002-04-14 Michael Natterer <mitch@gimp.org>
39759 * app/core/gimpunits.c: serialize the unit factor with
39760 g_ascii_formatd() so it is locale independent.
39762 2002-04-14 Michael Natterer <mitch@gimp.org>
39764 * app/file/file-utils.[ch]: added utility functions
39765 file_utils_uri_to_utf8_basename() and
39766 file_utils_uri_to_utf8_filename().
39769 * app/undo_history.c
39770 * app/display/gimpdisplayshell.c
39771 * app/gui/info-window.c
39773 * app/gui/palette-import-dialog.c
39774 * app/tools/gimpbycolorselecttool.c
39775 * app/widgets/gimpcontainerview-utils.c: use the new functions.
39777 2002-04-14 Michael Natterer <mitch@gimp.org>
39779 Use UTF-8 encoded escaped URIs for GimpImage and GimpImageFile.
39781 * app/file/file-open.[ch]
39782 * app/file/file-save.[ch]
39783 * app/file/file-utils.[ch]: port everything to using URIs, removed
39784 file_open_absolute_filename() and added file_utils_filename_to_uri()
39787 * app/core/gimpimage.[ch]: added gimp_image_[get|set]_uri() which
39788 works like the old gimp_image_[get|set]_filename().
39789 Changed gimp_image_[get|set]_filename() to call uri conversion
39792 * app/app_procs.c: removed lots of code and use the new uri
39793 functions to open images passed on the command line.
39795 * app/gui/file-open-dialog.c
39796 * app/gui/file-save-dialog.c: changed accordingly.
39799 * app/undo_history.c
39800 * app/display/gimpdisplayshell.c
39801 * app/gui/info-window.c
39802 * app/gui/palette-import-dialog.c
39803 * app/tools/gimpbycolorselecttool.c
39804 * app/widgets/gimpcontainerview-utils.c:
39805 s/gimp_image_get_filename()/gimp_image_get_uri()/g. Need to add
39806 a utility function which returns the basename in unescaped UTF-8.
39808 * app/gui/file-commands.c
39809 * app/widgets/gimpdocumentview.c: use "uri", not "filename" as
39810 variable name where appropriate.
39812 * app/gui/menus.c: some broken code for the "Open Recent" items,
39813 will be fixed soon...
39815 * app/widgets/gimpdnd.c: evil (!!!) hackery to convert dropped
39818 * tools/pdbgen/pdb/fileops.pdb: changed accordingly. Clarified
39819 the meaning of the "raw_filename" parameter.
39821 * tools/pdbgen/pdb/message.pdb: use g_message("%s", message),
39822 *not* g_message(message).
39824 * app/pdb/fileops_cmds.c
39825 * app/pdb/message_cmds.c
39826 * libgimp/gimpfileops_pdb.c: regenerated.
39828 2002-04-14 Michael Natterer <mitch@gimp.org>
39830 * app/core/gimp.c: removed some #if 0'ed stuff.
39832 * app/gui/edit-commands.c (edit_copy_cmd_callback): call
39833 gdisplays_flush() so the menus are updated correctly.
39835 * app/widgets/gimpitemfactory.c (gimp_item_factory_set_color):
39836 pack the original menu item label with TRUE, TRUE into the created
39837 hbox so it's accel. label is visible.
39839 2002-04-12 Michael Natterer <mitch@gimp.org>
39841 Well, sometimes the most obvious solution is not the first one...
39843 * app/gimphelp.[ch]: removed _gimp_standard_help_func().
39845 * app/libgimp_glue.c (gimp_standard_help_func): call gimp_help()
39848 2002-04-12 Michael Natterer <mitch@gimp.org>
39850 * app/gimphelp.[ch]: removed usage of "the_gimp" by passing around
39851 more "Gimp" pointers. Renamed gimp_standard_help_func() to
39852 _gimp_standard_help_func() and declare it in the header. Don't
39853 include "app_procs.h".
39855 * app/libgimp_glue.[ch]: added gimp_standard_help_func() here.
39856 Call _gimp_standard_help_func (the_gimp, ...) like all other
39857 wrappers in this file do. I know this is ugly but better let's
39858 have all uglyness in one place (here) :-)
39860 * app/widgets/gimpitemfactory.[ch]: added a "Gimp" member to the
39861 GimpItemFactory struct. Pass it to gimp_help(),
39863 * app/gui/menus.c: pass a Gimp to gimp_item_factory_new(), removed
39864 useless inclusion of "gimphelp.h".
39866 * tools/pdbgen/pdb/help.pdb: pass a Gimp to gimp_help()
39868 * app/pdb/help_cmds.c: regenerated.
39870 * app/gui/tips-dialog.c: removed gtk_quit_add_destroy() here too
39871 because the tips dialog is created by a dialog factory which takes
39872 care of dialog destruction.
39874 2002-04-12 Sven Neumann <sven@gimp.org>
39876 * app/gui/file-open-dialog.c
39877 * app/gui/file-save-dialog.c: merged fix for bug #51781 from stable
39878 branch: don't gtk_quit_add_destroy() the fileload and filesave widgets.
39880 2002-04-12 Sven Neumann <sven@gimp.org>
39882 * data/misc/Makefile.am: fixed uninstall target (bug #78536).
39884 2002-04-12 Sven Neumann <sven@gimp.org>
39886 * plug-ins/common/gtm.c
39887 * plug-ins/common/illusion.c
39888 * plug-ins/common/ps.c
39889 * plug-ins/common/sparkle.c
39890 * plug-ins/common/wind.c
39891 * plug-ins/maze/maze_face.c
39892 * plug-ins/sel2path/sel2path.c
39893 * plug-ins/sel2path/sel2path_adv_dialog.c: applied a patch from
39894 <iccii@hotmail.com> that adds calls to gimp_help_free() even though I
39895 think that omitting gimp_help_free() is tolerable lazyness (#76984).
39897 2002-04-12 Michael Natterer <mitch@gimp.org>
39899 * app/core/gimpimage-crop.c: reordered some lines, no logic
39902 * app/core/gimplayer.[ch]: made gimp_layer_pick_correlate()
39903 return a gboolean, not gint.
39905 * app/display/gimpdisplayshell.c
39906 * app/gui/layers-commands.[ch]
39907 * app/gui/menus.c: added "<Image>/Layers/Crop Layer" which resizes
39908 the active layer to the current selection's bounds, just as
39909 "<Image>/Image/Crop Image"
39911 2002-04-12 Zbigniew Chyla <cyba@gnome.pl>
39913 * app/gui/dialogs-constructors.c: Marked some strings for translation.
39915 2002-04-11 Sven Neumann <sven@gimp.org>
39917 * plug-ins/common/ps.c: merged fix for bug #75667 from stable branch.
39919 * plug-ins/rcm/rcm_dialog.c
39920 * plug-ins/rcm/rcm_misc.c: merged fix for bug #67018 from stable
39923 * themes/Default/gtkrc: removed settings for tooltips color since
39924 GTK+-2.0 sets a reasonable default. Added a line to allow to change
39927 2002-04-10 Manish Singh <yosh@gimp.org>
39929 * plug-ins/common/url.c: merges from gimp-1-2 branch
39931 2002-04-06 Sven Neumann <sven@gimp.org>
39933 * app/core/gimpscanconvert.c: include libart.h instead of a selection
39936 2002-04-03 Manish Singh <yosh@gimp.org>
39938 * app/core/gimpobject.c: use gobject marshaller names directly so
39939 libgimpproxy doesn't need gimpmarshal.* around
39941 2002-04-03 Manish Singh <yosh@gimp.org>
39943 * plug-ins/tools/Makefile.am
39944 * plug-ins/tools/common/Makefile.am: make it work with automake 1.5
39946 2002-04-01 Nathan Summers <rock@gimp.org>
39948 * pretty much all files: One year of motif hacking has made me agree
39949 with Miguel that .NET is the way of the future. Ported all code to C#.
39950 Works great on Mono!
39952 Still doesn't support CMYK.
39954 2002-03-29 Nathan Summers <rock@gimp.org>
39956 * plug-ins/tools/tool-safe-mode.c: fix a segfault
39958 2002-03-30 Tor Lillqvist <tml@iki.fi>
39960 * libgimpbase/Makefile.am
39961 * libgimpcolor/Makefile.am
39962 * libgimpmath/Makefile.am: Additions for Win32: Use
39963 -no-undefined. Use the .def file. Produce MS style import
39964 library if possible. Install (and uninstall) import
39967 * libgimpbase/Makefile.am: Pass definition of PREFIX in CPPFLAGS.
39969 * libgimpbase/gimpbase.def: Do export gimp_signal_private.
39971 * libgimpbase/gimpenv.c: Similar Win32 working as in the gimp-1-2
39973 (gimp_directory): Replace funny chars in user name (when used as
39974 part of last-resort personal gimp directory name) with
39976 (gimp_toplevel_directory): New (Win32-only) function. Deduces the
39977 installation prefix at run-time.
39978 (gimp_path_runtime_fix): New function. On Win32, replace the
39979 string with one where the compile-time prefix has been replaced
39980 with the run-time one.
39981 (gimp_path_parse, gimp_env_get_dir): Call it.
39983 * libgimpbase/gimpsignal.c: Trim (lots of) trailing spaces in
39985 (gimp_signal_private): Bypass on Win32, return NULL. Or should we
39986 call g_error(), thus requiring that calls of this are enclosed with
39989 * libgimpbase/makefile.mingw.in
39990 * libgimpcolor/makefile.mingw.in
39991 * libgimpmath/makefile.mingw.in: Add comment that it is seriously
39994 * libgimpbase/makefile.msc: Do compile gimpsignal.c.
39996 2002-03-29 Tor Lillqvist <tml@iki.fi>
39998 * configure.in: Start of changes for autoconfiscated build on
39999 Win32. Mostly similar to how it is done in the gimp-1-2 branch:
40001 Set LT_CURRENT_MINUS_AGE to $LT_CURRENT - $LT_AGE, this is used by
40002 libtool in DLL names, we need it for the *.rc.in files in case we
40003 want to have version resources in DLLs (these include the original
40004 filename). AC_SUBST it.
40006 Call AC_LIBTOOL_WIN32_DLL.
40008 Test for Win32 platform and native Win32, set automake
40009 conditionals PLATFORM_WIN32 and OS_WIN32. Set PATHSEP to ';' or
40012 If on Win32, test for lib.exe availability (to build MS import
40013 libraries), set automake conditional MS_LIB_AVAILABLE.
40015 Include GLIB_LIBS when checking for bind_textdomain_codeset, in
40016 case using a separate -lintl.
40018 Don't try to link with -lX11 when looking for libXpm unless the
40019 GDK backend is x11. On Win32 we use the "no-X" version of libXpm.
40021 2002-03-28 Nathan Summers <rock@gimp.org>
40024 * libgimptool/.cvsignore
40025 * libgimptool/Makefile.am: a library that contains tool code shared
40026 between the core and plugins
40028 * app/tools/gimptool.h: Removed here ...
40030 * libgimptool/gimptool.h: ... and added here
40032 * libgimptool/gimptooltypes.h: various types used by the tools.
40033 GIMP_CHANNEL_OP_FOO must be declared before this file is included.
40035 * libgimptool/gimptool.c: parts of the implementation of the GimpTool
40036 class that are not specific to the core
40038 * libgimptool/gimptoolcontrol.h: new class that contains the state
40039 and control information of the tool. Only the .h file is here because
40040 the plug-in code is completely different from the core code.
40042 * libgimptool/gimptoolmodule.[ch]: the GTypePlugin that loads the tool
40043 plugin modules. The registration code is not included here and must
40044 be supplied by the core or plug-in. Because registration in the core
40045 requires a Gimp object, but pluginspace has no Gimp (nor should it)
40046 the registration functions have been changed to take a void pointer.
40048 * app/tools/tools-enums.h: Removed here ...
40050 * libgimptool/gimptoolenums.h: ... and added here
40053 * tools/gimp-mkproxy: a perl script that aids in the creation and
40054 maintainance of proxy objects by parsing c files and including relevant
40058 * libgimpproxy/.cvsignore
40059 * libgimpproxy/.Makefile.am: a library that contains proxy objects
40060 necessary for tool plug-ins.
40062 * libgimpproxy/gimpproxytypes.h: declarations of various types needed
40066 * app/core/core-enums.h
40067 * app/core/core-types.h
40068 * app/display/display-types.h
40069 * app/widgets/widgets-enums.h: export types to libgimpproxy
40071 * app/tools/tools-types.h: now just contains core-specific types
40073 * app/tools/gimptool.c
40074 * app/tools/gimptoolmodule.c
40075 * app/tools/gimptoolcontrol.[ch]: parts that are core-specific
40077 * app/tools/gimptoolcontrol-displayshell.[ch]: a special interface
40078 just for displayshell
40081 * plug-ins/tools/gimptool.c
40082 * plug-ins/tools/gimptoolcontrol.[ch]: parts that are
40083 pluginspace-specific
40086 * plug-ins/tools/tool-safe-mode.[ch]: pluginspace tool loader
40095 * app/core/gimpcontext.c
40096 * app/core/gimpcoreconfig.c
40097 * app/core/gimpdatafactory.c
40098 * app/core/gimpdocuments.c
40099 * app/core/gimpdrawable-blend.c
40100 * app/core/gimpdrawable-bucket-fill.c
40101 * app/core/gimpdrawable-offset.c
40102 * app/core/gimpdrawable-transform.c
40103 * app/core/gimpdrawable.c
40104 * app/core/gimpedit.c
40105 * app/core/gimpimage-convert.c
40106 * app/core/gimpimage-crop.c
40107 * app/core/gimpimage-duplicate.c
40108 * app/core/gimpimage-guides.c
40109 * app/core/gimpimage-mask.c
40110 * app/core/gimpimage-merge.c
40111 * app/core/gimpimage-new.c
40112 * app/core/gimpimage-projection.c
40113 * app/core/gimpimage-qmask.c
40114 * app/core/gimpimage-resize.c
40115 * app/core/gimpimage-scale.c
40116 * app/core/gimpimage.c
40117 * app/core/gimpitem.c
40118 * app/core/gimpmodules.c
40119 * app/core/gimppaintinfo.c
40120 * app/core/gimpparasite.c
40121 * app/core/gimptoolinfo.c
40122 * app/core/gimpunit.c
40123 * app/paint/gimpairbrush.c
40124 * app/paint/gimpclone.c
40125 * app/paint/gimpconvolve.c
40126 * app/paint/gimpdodgeburn.c
40127 * app/paint/gimperaser.c
40128 * app/paint/gimppaintbrush.c
40129 * app/paint/gimppaintcore-stroke.c
40130 * app/paint/gimppaintcore.c
40131 * app/paint/gimppaintoptions.c
40132 * app/paint/gimppencil.c
40133 * app/paint/gimpsmudge.c
40134 * app/paint/paint.c
40135 * app/pdb/pdb-types.h
40136 * app/tools/Makefile.am
40137 * app/tools/gimpairbrushtool.[ch]
40138 * app/tools/gimpbezierselecttool.[ch]
40139 * app/tools/gimpblendtool.[ch]
40140 * app/tools/gimpbrightnesscontrasttool.[ch]
40141 * app/tools/gimpbucketfilltool.[ch]
40142 * app/tools/gimpbycolorselecttool.[ch]
40143 * app/tools/gimpclonetool.[ch]
40144 * app/tools/gimpcolorbalancetool.[ch]
40145 * app/tools/gimpcolorpickertool.[ch]
40146 * app/tools/gimpconvolvetool.[ch]
40147 * app/tools/gimpcroptool.[ch]
40148 * app/tools/gimpcurvestool.[ch]
40149 * app/tools/gimpdodgeburntool.[ch]
40150 * app/tools/gimpdrawtool.[ch]
40151 * app/tools/gimpeditselectiontool.c
40152 * app/tools/gimpellipseselecttool.c
40153 * app/tools/gimperasertool.[ch]
40154 * app/tools/gimpfliptool.[ch]
40155 * app/tools/gimpfreeselecttool.[ch]
40156 * app/tools/gimpfuzzyselecttool.[ch]
40157 * app/tools/gimphistogramtool.[ch]
40158 * app/tools/gimphuesaturationtool.[ch]
40159 * app/tools/gimpimagemaptool.[ch]
40160 * app/tools/gimpinktool.[ch]
40161 * app/tools/gimpiscissorstool.[ch]
40162 * app/tools/gimplevelstool.[ch]
40163 * app/tools/gimpmagnifytool.[ch]
40164 * app/tools/gimpmeasuretool.[ch]
40165 * app/tools/gimpmovetool.[ch]
40166 * app/tools/gimppaintbrushtool.c
40167 * app/tools/gimppainttool.[ch]
40168 * app/tools/gimppathtool.[ch]
40169 * app/tools/gimppenciltool.[ch]
40170 * app/tools/gimpperspectivetool.[ch]
40171 * app/tools/gimpposterizetool.[ch]
40172 * app/tools/gimprectselecttool.[ch]
40173 * app/tools/gimprotatetool.[ch]
40174 * app/tools/gimpscaletool.[ch]
40175 * app/tools/gimpselectiontool.c
40176 * app/tools/gimpsheartool.[ch]
40177 * app/tools/gimpsmudgetool.[ch]
40178 * app/tools/gimptexttool.[ch]
40179 * app/tools/gimpthresholdtool.[ch]
40180 * app/tools/gimptransformtool.c
40181 * app/tools/gimpvectortool.[ch]
40182 * app/tools/paint_options.c
40183 * app/tools/selection_options.c
40184 * app/tools/tool_manager.c
40185 * app/tools/tool_manager.h
40186 * app/tools/tools.c
40187 * app/display/gimpdisplay.c
40188 * app/display/gimpdisplayshell-callbacks.c
40189 * app/file/file-open.c
40190 * app/file/file-save.c
40191 * app/gui/convert-dialog.c
40192 * app/gui/info-window.c
40193 * app/gui/tools-commands.c
40194 * app/xcf/xcf-load.c
40196 * plug-ins/tools/.cvsignore
40197 * plug-ins/tools/Makefile.am
40198 * plug-ins/tools/common/Makefile.am
40199 * tools/pdbgen/Makefile.am: changed accordingly
40202 * libgimptool/gimptoolenums.c
40203 * libgimpproxy/gimpchannel.h
40204 * libgimpproxy/gimpobject.[ch]: autogenerated
40206 2002-03-28 Sven Neumann <sven@gimp.org>
40208 * Made 1.3.5 release.
40210 2002-03-28 Sven Neumann <sven@gimp.org>
40212 * Makefile.am (EXTRA_DIST): removed po-script-fu/script-fu-xgettext.
40215 2001-03-28 Manish Singh <yosh@gimp.org>
40217 * app/gui/user-install-dialog.c: Treeviewized
40219 2001-03-28 Hans Breuer <hans@breuer.org>
40221 * config.h.win32 : #define GETTEXT_PACKAGE
40223 * makefile.msc : add theme rule
40225 * app/makefile.msc : gimp.exe depends on all the libs
40228 * app/base/makefile.msc : updated
40230 * app/config/gimpconfig-serialize.c : #include <io.h> for win32
40231 * app/config/gimpconfig-types.c : #include <string.h>
40233 * app/core/gimpcontext.c app/core/gimpcontainer.c
40234 app/core/gimptoolinfo.c : #include <string.h>
40236 * app/core/gimpdocuments.c (gimp_documents_save_func) :
40237 need to g_strescape() the filename to not make
40238 backslashes vanish during de-serialization
40240 * app/core/gimpimagefile.c : #define S_ISREG for G_OS_WIN32
40242 * app/core/makefile.msc : add -DGIMP_COMPILATION
40243 required for cpercep.c build
40245 * app/display/gimpdisplayshell.c : #include <string.h>
40247 * app/display/makefile.msc : -FImsvc_recommended_pragmas.h,
40248 G_LOG_DOMAIN definition and object file update
40250 * app/file/makefile.msc : -FImsvc_recommended_pragmas.h,
40251 G_LOG_DOMAIN definition
40253 * app/file/file-open.c (file_open_with_proc_and_display) :
40254 use absolute filename for gimp_documents_add()
40256 * app/gui/channel-commands.c app/gui/colormap-editor-commands.c
40257 app/gui/edit-commands.c app/gui/vectors-commands.c :
40258 #include <string.h>
40260 * app/gui/makefile.msc : updated
40262 * app/gui/menus.c : use g_file_test() instead of access()
40263 to avoid inclusion <unistd.h>
40265 * app/paint/makefile.msc : updated
40267 * app/plug-in/plug-in-params.c : #include <string.h>
40269 * app/plug-in/makefile.msc : updated
40271 * app/plug-in/plug-in-def.h : #include <time.h> for time_t
40273 * app/plug-in/plug-in.c : remove definition of S_IFREG
40275 * app/plug-in/gap/gap_arr_dialog.c : include <config.h>
40276 before including libgimp/libgimp-intl.h
40278 * app/tools/makefile.msc : updated
40280 * app/vectors/makefile.msc : new file
40282 * app/widgets/makefile.msc : updated
40284 * libgimp/gimp.def : updated externals
40286 * libgimpwidgets/gimpwidgets.def : updated externals
40288 * modules/makefile.msc : updated and disabled colorsel_gtk.
40290 * plug-in/makefile.msc : don't define GETTEXT_PACKAGE
40292 * themes/Default/images/makefile.msc : moved makefile.msc from ..
40293 and adapted pathes to images
40295 2002-03-28 Michael Natterer <mitch@gimp.org>
40297 * app/config/Makefile.am
40298 * app/config/gimpscanner.[ch]: new files containing a convenience
40299 constructor for GScanner and some parse utility functions, mostly
40300 cut out of app/plug-in/plug-in-rc.c
40302 * app/plug-in/plug-in-rc.c: removed the stuff here, added scopes
40303 to the scanner symbols.
40305 * app/core/Makefile.am
40306 * app/core/gimpunits.[ch]: moved the user_unit list handling and
40307 unitrc stuff to this file. Parse unitrc here, using the new
40308 utility functions instead of using gimprc.
40310 * app/core/gimpunit.[ch]: removed here.
40312 * app/core/gimpdocuments.c: same here: added a scanner for the
40313 document history instead of using gimprc.
40315 * app/gimprc.c: removed unitrc and document history parsing stuff
40316 along with some old unused cruft.
40320 * app/gui/user-install-dialog.c: #include "core/gimpunits.h".
40322 * app/core/gimpdrawable-bucket-fill.c: don't include "gimprc.h".
40324 2002-03-27 Sven Neumann <sven@gimp.org>
40326 * autogen.sh: bail out if one of the required tools is not found
40327 before proceeding to the version checks.
40329 2002-03-26 Sven Neumann <sven@gimp.org>
40331 * tools/gimp-mkenums: merged glib-mkenums changes (#74431).
40333 2002-03-25 Sven Neumann <sven@gimp.org>
40335 * app/widgets/gimptoolbox.c: use gtk_widget_add_events() instead
40336 of gtk_widget_set_events().
40338 2002-03-23 Sven Neumann <sven@gimp.org>
40340 * app/config/gimpconfig-deserialize.[ch]
40341 * app/config/gimpconfig-serialize.[ch]
40342 * app/config/gimpconfig.[ch]
40343 * app/config/gimprc.[ch]
40344 * app/config/test-config.c: added better error reporting using GError.
40346 2002-03-22 Michael Natterer <mitch@gimp.org>
40348 * app/widgets/Makefile.am
40349 * app/widgets/gimppreview-utils.[ch]: new file containing
40350 gimp_preview_type_from_viewable() so we don't need to include
40351 *all* vieable and preview subclasses in gimppreview.c
40353 * app/widgets/gimppreview.c: gimp_preview_set_viewable: never
40354 unset the drag source if the viewable is set to NULL (fixes dock
40355 tabs, thanks to sjburges), also check the passed viewable's type.
40357 * themes/Default/gtkrc: set the paned handle_size to 6 pixels, so
40358 it has the same size as the dock_separator.
40360 * etc/gtkrc_user: set both to 5 here, also fiddle around with
40361 the global focus padding and the GtkOptionMenu indicator.
40363 2002-03-22 Sven Neumann <sven@gimp.org>
40365 * app/plug-in/plug-in-rc.c
40366 * app/plug-in/plug-ins.c
40367 * app/tools/tool_manager.c
40368 * app/widgets/gimppreview.c
40369 * app/widgets/gimptoolinfopreview.c: plugged a couple of mem leaks
40370 found using valgrind.
40372 * libgimpwidgets/gimpcolorarea.c (gimp_color_area_expose): don't draw
40373 anything if an idle update is pending.
40375 2002-03-22 Sven Neumann <sven@gimp.org>
40377 * app/appenv.h: moved use_shm declaration here, added use_mmx.
40379 * app/main.c: added --no-mmx commandline option, removed --no-xshm
40382 * app/base/base-config.[ch]: removed use-mmx declaration.
40384 * app/core/core-types.h
40385 * app/base/base-types.h: include libgimpbase/gimpbasetypes.h from base.
40387 * app/base/base.c: respect user settings for mmx.
40389 * app/paint-funcs/paint-funcs.c
40390 * app/plug-in/plug-in.c: changed accordingly.
40392 * docs/gimp-1.3.1.in: updated.
40394 2002-03-22 Duarte Loreto <happyguy_pt@hotmail.com>
40396 * configure.in: Added Portuguese (pt) to ALL_LINGUAS
40398 2002-03-22 Michael Natterer <mitch@gimp.org>
40400 * app/widgets/gimpdock.c: gimp_dock_add_book() optimized to about
40401 two cases :) as gimp_dock_remove_book(), just a bit more ugly.
40403 2002-03-21 Michael Natterer <mitch@gimp.org>
40405 * app/widgets/gimpdock.c: reduced the gimp_dock_remove_book()
40406 if () {} else if () {} ... paned removal madness to two cases.
40408 2002-03-21 Michael Natterer <mitch@gimp.org>
40410 * app/widgets/gimpdock.c: pack the dock's GimpDockbooks in
40411 GtkVPaneds instead of a GtkVBoxed so they are resizable. It's
40412 hackish, uncommented and weird code that will change, but I wanted
40413 to have a working state in CVS before optimizing...
40415 2002-03-20 Michael Natterer <mitch@gimp.org>
40417 ./mitch --sanitize-identifier-namespace
40419 * app/core/gimpcontext.c
40420 * app/display/gimpdisplayshell-callbacks.c
40421 * app/display/gimpdisplayshell-dnd.c
40422 * app/gui/dialogs-commands.c
40423 * app/gui/dialogs-constructors.c
40424 * app/gui/dialogs.c
40425 * app/gui/edit-commands.c
40428 * app/gui/vectors-commands.c
40429 * app/gui/view-commands.c
40430 * app/tools/gimpairbrushtool.c
40431 * app/tools/gimpbezierselecttool.c
40432 * app/tools/gimpblendtool.c
40433 * app/tools/gimpbrightnesscontrasttool.c
40434 * app/tools/gimpbucketfilltool.c
40435 * app/tools/gimpbycolorselecttool.c
40436 * app/tools/gimpclonetool.c
40437 * app/tools/gimpcolorbalancetool.c
40438 * app/tools/gimpcolorpickertool.c
40439 * app/tools/gimpconvolvetool.c
40440 * app/tools/gimpcroptool.c
40441 * app/tools/gimpcurvestool.c
40442 * app/tools/gimpdodgeburntool.c
40443 * app/tools/gimpellipseselecttool.c
40444 * app/tools/gimperasertool.c
40445 * app/tools/gimpfliptool.c
40446 * app/tools/gimpfreeselecttool.c
40447 * app/tools/gimpfuzzyselecttool.c
40448 * app/tools/gimphistogramtool.c
40449 * app/tools/gimphuesaturationtool.c
40450 * app/tools/gimpinktool.c
40451 * app/tools/gimpiscissorstool.c
40452 * app/tools/gimplevelstool.c
40453 * app/tools/gimpmagnifytool.c
40454 * app/tools/gimpmeasuretool.c
40455 * app/tools/gimpmovetool.c
40456 * app/tools/gimppaintbrushtool.c
40457 * app/tools/gimppathtool.c
40458 * app/tools/gimppenciltool.c
40459 * app/tools/gimpperspectivetool.c
40460 * app/tools/gimpposterizetool.c
40461 * app/tools/gimprectselecttool.c
40462 * app/tools/gimprotatetool.c
40463 * app/tools/gimpscaletool.c
40464 * app/tools/gimpsheartool.c
40465 * app/tools/gimpsmudgetool.c
40466 * app/tools/gimptexttool.c
40467 * app/tools/gimpthresholdtool.c
40468 * app/tools/gimpvectortool.c
40469 * app/widgets/gimpdnd.c
40470 * app/widgets/gimptoolbox-indicator-area.c
40471 * app/widgets/gimptoolbox.c: s/gimp:/gimp-/g and s/_/-/g for all
40472 identifier strings (e.g. gimp:eraser_tool -> gimp-eraser-tool,
40473 gimp:layer-list -> gimp-layer-list, ...)
40475 * plug-ins/tools/common/gimpbrushselecttool.c:
40476 s/gimp:brush_select_tool/gimp-brush-select-tool-module/
40478 Don't quite remember why I introduced the "gimp:" prefix in the
40479 first place, but we can always add it back if we need it (for
40482 You may want to edit your ~/.gimp-1.3/sessionrc and devicerc or
40483 all session settings will be lost due to parse errors.
40485 2002-03-20 Michael Natterer <mitch@gimp.org>
40487 * app/gui/Makefile.am
40488 * app/gui/commands.[ch]: removed...
40490 * app/gui/help-commands.[ch]: ...and added here.
40492 * app/gui/menus.c: changed accordingly and added the mem_profile
40493 debug callback so all debug stuff is in one place.
40495 2002-03-20 Sven Neumann <sven@gimp.org>
40497 * app/Makefile.am: moved display after gui to make the build work
40498 with the latest "truly ugly hack" in app/display/Makefile.am.
40500 * app/tools/gimpcolorbalancetool.[ch]: dialog overhaul.
40502 2002-03-20 Michael Natterer <mitch@gimp.org>
40504 * app/plug-in/plug-in.[ch]: badly chopped into the new files below.
40505 Pass around much more "PlugIn" and "Gimp" pointers instead of
40506 using "current_plug_in" and "the_gimp". Needs much more hacking
40509 * app/plug-in/Makefile.am
40510 * app/plug-in/plug-in-def.[ch]
40511 * app/plug-in/plug-in-params.[ch]
40512 * app/plug-in/plug-in-progress.[ch]
40513 * app/plug-in/plug-ins.[ch]: new files.
40515 * app/gui/Makefile.am
40516 * app/gui/plug-in-commands.[ch]
40517 * app/gui/plug-in-menus.[ch]: ditto.
40519 * app/plug-in/plug-in-rc.c
40520 * app/plug-in/plug-in-types.h: changed accordingly.
40522 * app/pdb/procedural_db.c: changed procedural_db_destroy_args()
40523 so it can be used from plug_in_args_destroy(). Fixed a parasite
40524 memory leak (or introduced a new SEGV, we'll see...).
40526 * app/display/Makefile.am: another "truly ugly hack" until the
40527 plug-in menu stuff is chopped even more...
40529 * app/gui/commands.[ch]: removed filters_repeat_cmd_callback() here,
40530 it is now in plug-in-commands.[ch].
40532 * app/widgets/gimpitemfactory.[ch]: removed all gimp_menu_item_*()
40533 hacks. We have a GimpItemFactory available in most cases we used
40534 to call this functions, and can use gimp_item_factors_from_path()
40535 in all other cases. The item factory stuff needs more work
40540 * app/display/gimpdisplayshell.c
40541 * app/gui/file-dialog-utils.c
40542 * app/gui/file-open-dialog.[ch]
40543 * app/gui/file-save-dialog.[ch]
40546 * app/gui/paths-dialog.c
40548 * tools/pdbgen/pdb/fileops.pdb
40549 * tools/pdbgen/pdb/help.pdb
40550 * tools/pdbgen/pdb/plug_in.pdb: changed accordingly (includes,
40551 renamed functions and gimp_menu_item_*() removal).
40553 * app/pdb/fileops_cmds.c
40554 * app/pdb/help_cmds.c
40555 * app/pdb/plug_in_cmds.c: regenerated.
40557 2002-03-20 Michael Natterer <mitch@gimp.org>
40559 * app/display/gimpdisplayshell.[ch]: pass an additional "Gimp"
40560 pointer to gimp_display_shell_set_menu_sensitivity() so we can
40561 correctly set the state of some items even without a display.
40562 Set the sensitivity of much more items. Never set submenus
40563 insensitive so the user can always browse the whole menu
40564 (according to the GNOME HIG).
40567 * app/display/gimpdisplay.c
40568 * app/gui/gui.c: changed accordingly.
40570 * app/gui/view-commands.[ch]: added a callback for the display
40571 filters dialog because display related dialogs are going to
40572 be handled different soon.
40574 * app/gui/menus.c: use the new callback.
40576 2002-03-20 Sven Neumann <sven@gimp.org>
40578 * app/core/core-enums.[ch]: registered GimpConvertDitherType and
40579 skip GIMP_NODESTRUCT_DITHER since the comment said it should never
40582 * app/gui/convert-dialog.c: simplified a lot by using enums.
40584 * app/tools/paint_options.c: include gimpenummenu.h.
40586 * app/pdb/convert_cmds.c
40587 * libgimp/gimpenums.h
40588 * plug-ins/script-fu/script-fu-constants.c
40589 * tools/pdbgen/enums.pl: regenerated.
40591 2002-03-20 Michael Natterer <mitch@gimp.org>
40593 * themes/Default/images/Makefile.am
40594 * themes/Default/images/stock-menu-selection-to-channel.png: one
40595 more icon from Jimmac.
40597 * libgimpwidgets/gimpstock.[ch]
40598 * themes/Default/imagerc: add it.
40600 * app/gui/menus.c: use it.
40602 2002-03-20 Michael Natterer <mitch@gimp.org>
40604 * app/widgets/gimpdockbook.c: fixed a bug i introduced when making
40605 the tab_height configurable: need to connect the signals of the
40606 new tab_widget created in style_set(), otherwise we get the
40607 functionality of a plain GtkNotebook...
40609 * app/widgets/gimpfontselection.c: make the minimal width of the
40610 entry even smaller so users can choose to put it in a small dock.
40612 * app/widgets/gimppaletteeditor.c: fixed "Zoom All" zoom ratio
40615 2002-03-19 Sven Neumann <sven@gimp.org>
40617 * app/base/Makefile.am
40618 * app/base/base-enums.c
40619 * app/core/Makefile.am
40620 * app/core/core-enums.c
40621 * app/widgets/Makefile.am
40622 * app/widgets/widgets-enums.c: purely cosmetic change.
40624 * app/paint/Makefile.am
40625 * app/paint/paint-enums.[ch]: generate paint-enums.c with registered
40626 enums. Skip GIMP_BRUSH_PRESSURE and GIMP_CUSTOM_CONVOLVE so they
40627 don't get exported to libgimp and are not registered as enum values.
40629 * tools/pdbgen/pdb/paint_tools.pdb: removed special casing of
40630 GimpBrushApplicationMode and GimpConvolveType since the forbidden
40631 values are now skipped anyway.
40633 * libgimp/gimpcompat.h: removed compat defines for the forbidden
40634 enum values. They shouldn't have been used.
40636 * app/tools/Makefile.am
40637 * app/tools/tools-enums.[ch]: generate tools-enums.c with registered
40640 * libgimp/gimpenums.h
40641 * plug-ins/script-fu/script-fu-constants.c
40642 * tools/pdbgen/enums.pl: regenerated.
40644 * app/paint/gimpclone.[ch]
40645 * app/paint/gimpconvolve.h
40646 * app/paint/gimpdodgeburn.h
40647 * app/tools/gimpclonetool.c
40648 * app/tools/gimpconvolvetool.c
40649 * app/tools/gimpcroptool.[ch]
40650 * app/tools/gimpdodgeburntool.c
40651 * app/tools/paint_options.c: changed accordingly. Added more enum
40652 radio frames and enum option menus.
40654 2002-03-19 Sven Neumann <sven@gimp.org>
40656 * ChangeLog.plug-ins
40657 * PLUGIN_CVS: removed these files, they have never been used.
40659 2002-03-19 Sven Neumann <sven@gimp.org>
40661 * app/paint/Makefile.am
40662 * app/paint/paint-enums.h
40663 * app/paint/paint-types.h: split enums into their own file and
40664 namespacified them.
40666 * app/tools/Makefile.am
40667 * app/tools/tools-enums.h
40668 * app/tools/tools-types.h: split enums into their own file.
40670 * app/paint/gimpairbrush.c
40671 * app/paint/gimpclone.[ch]
40672 * app/paint/gimpconvolve.[ch]
40673 * app/paint/gimpdodgeburn.[ch]
40674 * app/paint/gimperaser.c
40675 * app/paint/gimppaintbrush.c
40676 * app/paint/gimppaintcore.[ch]
40677 * app/paint/gimppaintoptions.c
40678 * app/paint/gimppencil.c
40679 * app/paint/gimpsmudge.c
40680 * app/tools/gimpclonetool.c
40681 * app/tools/gimpconvolvetool.c
40682 * app/tools/gimpdodgeburntool.c
40683 * app/tools/paint_options.c
40684 * plug-ins/gfig/gfig.c: changed accordingly.
40686 * libgimp/gimpcompat.h
40687 * plug-ins/script-fu/siod-wrapper.c: added compatibility defines for
40690 * tools/pdbgen/Makefile.am: updated list of headers to parse for enums.
40692 * app/pdb/paint_tools_cmds.c
40693 * libgimp/gimpenums.h
40694 * plug-ins/script-fu/script-fu-constants.c
40695 * tools/pdbgen/enums.pl
40696 * tools/pdbgen/pdb/paint_tools.pdb: regenerated.
40698 2002-03-19 Michael Natterer <mitch@gimp.org>
40700 * app/gui/menus.c: Oops, GimpContainer's "reorder" signal has more
40701 parameters than "add" and "remove", which is quite relevant now
40702 that we use the data pointer passed to the callback :)
40703 Pointed out by Dave Neary on #gimp.
40705 2002-03-19 Michael Natterer <mitch@gimp.org>
40707 * app/tools/tools-types.h: added enum GimpMotionMode which can be
40708 one of { EXACT, HINT, COMPRESS }.
40710 * app/tools/gimptool.[ch]: removed tool->perfectmouse and added
40711 tool->motion_mode. Default to GIMP_MOTION_MODE_HINT.
40713 * app/tools/gimpinktool.c
40714 * app/tools/gimppainttool.c: set GIMP_MOTION_MODE_EXACT.
40716 * app/tools/gimpfuzzyselecttool.c: set GIMP_MOTION_MODE_COMPRESS.
40718 * app/tools/gimpeditselectiontool.[ch]: ditto. Removed
40719 gtkutil_compress_motion().
40721 * app/display/gimpdisplayshell-callbacks.c: look at
40722 active_tool->motion_mode and perform pointer grabbing and motion
40723 compression accordingly. Also, don't request motion hints from
40724 XInput devices because the wacom driver sends crap (fixes #6901).
40725 This change also brings hints and ordinary motions back in sync
40726 albeit compression, so IMHO it also fixes #68542 and #22375, but
40727 this needs further investigation.
40729 2002-03-18 Sven Neumann <sven@gimp.org>
40731 * app/widgets/Makefile.am
40732 * app/widgets/widgets-enums.[ch]: use gimp_mkenums to create
40733 widgets-enums.c, added it to CVS since it contains translatable
40736 * app/widgets/gimpenummenu.[ch]: added new functions
40737 gimp_enum_radio_box_new() and gimp_enum_radio_frame_new() that create
40738 groups of radio buttons out of enum types.
40740 * app/core/core-enums.[ch]: registered more enums.
40742 * app/paint/gimpdodgeburn.h
40743 * app/tools/gimpbucketfilltool.c
40744 * app/tools/gimpdodgeburntool.c
40745 * app/tools/gimpmagnifytool.c
40746 * app/tools/transform_options.[ch]: use gimp_enum_radio_frame_new()
40747 for some tool options.
40749 2002-03-18 Manish Singh <yosh@gimp.org>
40751 * app/gui/preferences-dialog.c: slight cosmetic fix to make the
40752 treeview look nicer.
40754 2002-03-18 Michael Natterer <mitch@gimp.org>
40756 * app/paint/gimppaintoptions.h
40757 * app/tools/paint_options.c: put the "Fade Out" and "Gradient" stuff
40758 into separate frames with togglebutton titles.
40760 * app/widgets/gimpchannellistview.c: use
40761 gimp_image_mask_select_channel() instead of reinventing the wheel.
40763 * app/widgets/gimpvectorslistview.c: removed unneeded inclusion
40764 of "core/gimpimage-mask.h".
40766 * app/widgets/gimpcolormapeditor.c: set the hex entry to 7 digits,
40769 * app/widgets/gimppaletteeditor.c: set the vertical scrollbar
40770 to GTK_POLICY_AUTOMATIC.
40772 Added support for configuring some more GUI dimensions using
40773 widget class style properties:
40775 * app/widgets/gimpdock.c: made "separator_height" work correctly.
40776 * app/widgets/gimpdockbook.c: added "tab_height".
40777 * app/widgets/gimpeditor.c: added "button_icon_size".
40778 * app/widgets/gimpimagedock.c: added "minimal_width".
40779 * app/widgets/gimptoolbox.c: added "tool_icon_size".
40781 * themes/Default/gtkrc: set the properties to their default values
40784 * etc/gtkrc_user: added a (commented out) example style which makes
40785 lots of things smaller.
40787 2002-03-18 Sven Neumann <sven@gimp.org>
40789 * app/core/core-enums.h
40790 * app/core/core-types.h: more enum cleanup (GimpOffsetType, MergeType).
40792 * app/core/gimpdrawable-offset.c
40793 * app/core/gimpimage-merge.[ch]
40794 * app/gui/image-commands.c
40795 * app/gui/layers-commands.c
40796 * app/gui/offset-dialog.c
40797 * tools/pdbgen/pdb/image.pdb: changed accordingly.
40799 * app/pdb/drawable_cmds.c
40800 * app/pdb/image_cmds.c
40801 * libgimp/gimpenums.h
40802 * plug-ins/script-fu/script-fu-constants.c
40803 * tools/pdbgen/enums.pl: regenerated.
40805 2002-03-18 Sven Neumann <sven@gimp.org>
40807 * app/core/core-enums.h
40808 * app/core/core-types.h: more enum cleanup (ChannelOps this time).
40810 * app/core/gimpchannel.[ch]
40811 * app/core/gimpimage-mask-select.[ch]
40812 * app/gui/channels-commands.c
40813 * app/gui/vectors-commands.c
40814 * app/tools/gimpbezierselecttool.c
40815 * app/tools/tools-types.h
40816 * app/widgets/gimpchannellistview.[ch]
40817 * tools/pdbgen/pdb/channel.pdb
40818 * tools/pdbgen/pdb/selection.pdb
40819 * tools/pdbgen/pdb/selection_tools.pdb: changed accordingly.
40821 * app/pdb/channel_cmds.c
40822 * app/pdb/selection_cmds.c
40823 * app/pdb/selection_tools_cmds.c
40824 * libgimp/gimpenums.h
40825 * plug-ins/script-fu/script-fu-constants.c
40826 * tools/pdbgen/enums.pl: regenerated.
40828 2002-03-18 Sven Neumann <sven@gimp.org>
40830 * app/core/core-enums.h
40831 * app/core/core-types.h: more enum cleanup (ConvertPaletteType and
40832 ConvertDitherType this time).
40834 * app/core/gimpimage-convert.[ch]
40835 * app/gui/convert-dialog.c
40836 * tools/pdbgen/pdb/convert.pdb: changed accordingly.
40838 * app/pdb/convert_cmds.c
40839 * libgimp/gimpconvert_pdb.c
40840 * libgimp/gimpenums.h
40841 * plug-ins/script-fu/script-fu-constants.c
40842 * tools/pdbgen/enums.pl: regenerated.
40844 2002-03-18 Sven Neumann <sven@gimp.org>
40846 * app/core/core-enums.h
40847 * app/core/core-types.h: moved some more enums into the right place
40848 and namespacified them.
40851 * app/core/gimpdrawable-bucket-fill.[ch]
40852 * app/core/gimpdrawable.c
40853 * app/core/gimpedit.c
40854 * app/core/gimpimage-mask.c
40855 * app/core/gimpimage-new.c
40856 * app/core/gimpimage-qmask.c
40857 * app/core/gimplayer.[ch]
40858 * app/display/gimpdisplayshell-dnd.c
40859 * app/gui/channels-commands.c
40860 * app/gui/file-new-dialog.c
40861 * app/gui/layers-commands.c
40863 * app/tools/gimpbucketfilltool.c
40864 * tools/pdbgen/pdb/image.pdb
40865 * tools/pdbgen/pdb/layer.pdb
40866 * tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.
40868 * libgimp/gimpcompat.h
40869 * plug-ins/script-fu/siod-wrapper.c: added compat defines for changed
40870 GimpMaskApplyMode enum.
40872 * tools/pdbgen/enums.pl
40873 * app/pdb/drawable_cmds.c
40874 * app/pdb/edit_cmds.c
40875 * app/pdb/image_cmds.c
40876 * app/pdb/layer_cmds.c
40877 * app/pdb/misc_tools_cmds.c
40878 * libgimp/gimpenums.h
40879 * plug-ins/script-fu/script-fu-constants.c: regenerated.
40881 * app/paint-funcs/paint-funcs.c: ifdef'ed out some debug output and
40884 2002-03-18 Tuomas Kuosmanen <tigert@ximian.com>
40886 * themes/Default/images/stock-button-eye.png: Added some
40887 antialiasing to the "show layer" icon now that gtk2 supports
40890 2002-03-17 Manish Singh <yosh@gimp.org>
40892 * tools/pdbgen/app.pl
40893 * tools/pdbgen/enumcode-py.pl
40894 * tools/pdbgen/enumcode.pl
40895 * tools/pdbgen/enumgen.pl: removed enum nick support, best to keep
40896 internal and external names consistent
40898 * app/core/core-enums.h: remove chops from enums. Change TRANS to
40899 TRANSPARENT in GimpBlendMode
40901 * app/core/core-types.h: remove chops and nicks from enums. Change INV
40902 to INVERSE and SUB to SUBTRACT to make things more clear
40904 * app/core/gimpchannel.c
40905 * app/gui/channels-commands.c
40906 * app/gui/vectors-commands.c
40907 * app/tools/gimpbezierselecttool.c
40908 * app/tools/gimpbycolorselecttool.c
40909 * app/tools/gimprectselecttool.c
40910 * app/tools/gimpselectiontool.c
40911 * app/tools/selection_options.c
40912 * app/tools/tools-types.h
40913 * app/widgets/gimpchannellistview.c
40914 * app/widgets/gimpvectorslistview.c: reflect SUB -> SUBTRACT change
40916 * app/core/gimpdrawable-blend.c: reflect TRANS -> TRANSPARENT change
40918 * app/core/gimplayer.c
40919 * app/gui/layers-commands.c: reflect INV -> INVERSE change
40921 * app/paint/paint-types.h: remove nick from PaintApplicationMode
40923 * app/tools/gimperasertool.c: fix tooltip
40925 * app/widgets/gimpenummenu.c: #include "libgimp/gimpintl.h" for
40928 * libgimp/gimpcompat.h: compatibility enums here, since we removed
40931 * tools/pdbgen/enums.pl
40932 * libgimp/gimpenums.h
40933 * plug-ins/script-fu/script-fu-constants.c
40934 * app/core/core-enums.c
40935 * app/pdb/channel_cmds.c
40936 * app/pdb/drawable_cmds.c
40937 * app/pdb/edit_cmds.c
40938 * app/pdb/layer_cmds.c
40939 * app/pdb/misc_tools_cmds.c
40940 * app/pdb/paint_tools_cmds.c
40941 * app/pdb/selection_cmds.c
40942 * app/pdb/selection_tools_cmds.c: regenerated, enum changes
40944 * plug-ins/common/hot.c: GIMP_TRANS_IMAGE_FILL -> GIMP_TRANSPARENT_FILL
40946 * plug-ins/common/warp.c: GIMP_BG_IMAGE_FILL -> GIMP_BACKGROUND_FILL
40948 * plug-ins/script-fu/siod-wrapper.c: compat constant definitions
40950 2002-03-17 Sven Neumann <sven@gimp.org>
40952 * app/core/core-enums.[ch]: registered more enums.
40954 * app/tools/gimpblendtool.c: use GimpEnumMenus.
40956 2002-03-17 Sven Neumann <sven@gimp.org>
40958 * app/config/gimpconfig.c: open the file with O_TRUNC.
40960 2002-03-17 Sven Neumann <sven@gimp.org>
40962 * libgimpwidgets/gimpwidgets.[ch]: new function to set the sensitivity
40965 * app/base/base-enums.[ch]: register and describe GimpHistogramChannel.
40967 * app/core/Makefile.am
40968 * app/core/core-enums.[ch]: build with gimp-mkenums, added core-enums.c
40969 to CVS, added descriptions for GimpPreviewSize.
40971 * app/display/Makefile.am
40972 * app/display/display-enums.[ch]: build with gimp-mkenums, added
40973 display-enums.c to CVS, added descriptions for GimpCursorMode.
40975 * app/gui/preferences-dialog.c: more GimpEnumMenus.
40977 * app/tools/gimpcurvestool.c
40978 * app/tools/gimphistogramtool.c
40979 * app/tools/gimplevelstool.c: use a GimpEnumMenu for the Channel menu.
40980 Allow alpha channel in HistogramView. These tools needs more work...
40982 2002-03-17 Sven Neumann <sven@gimp.org>
40984 * tools/gimp-mkenums: allowing NULL for names was a bad idea...
40986 * app/base/base-enums.[ch]: added more descriptions.
40988 2002-03-17 Sven Neumann <sven@gimp.org>
40990 * configure.in: define GIMP_MKENUMS for use in Makefile.am.
40992 * tools/Makefile.am
40993 * tools/gimp-mkenums: a modified version of glib-mkenums that parses
40994 literal descriptions for enum values out of the header file.
40996 * app/base/Makefile.am
40997 * app/base/base-enums.h: added descriptions for the InterpolationType.
40999 * app/base/base-enums.c: added to CVS although it is generated since
41000 translatable messages are extracted from this file and translators
41001 shouldn't need to build stuff.
41003 * app/widgets/Makefile.am
41004 * app/widgets/widgets-types.h
41005 * app/widgets/gimpenummenu.[ch]: new widget to create a GtkMenu or a
41006 GtkOptionMenu directly from a registered enum.
41008 * app/gui/preferences-dialog.c
41009 * app/gui/resize-dialog.c
41010 * app/tools/transform_options.c: use gimp_enum_option_menu_new() for
41011 the Interpolation menus.
41013 2002-03-17 Michael Natterer <mitch@gimp.org>
41015 * app/widgets/gimpcolormapeditor.[ch]: namespaceified and cleaned
41016 up a lot. Removed the menu code.
41018 * app/gui/menus.c: added a "<ColormapEditor>" item factory...
41020 * app/gui/Makefile.am
41021 * app/gui/colormap-editor-commands.[ch]: ...and callbacks for the
41024 * app/gui/menus.c: Cleaned up a lot. Removed most static variables.
41025 Enabled the menu debugging code again. Moved all debug and test
41026 entries to <Toolbox>/File/Debug. Added an "Open Recent" submenu
41027 to <Image>/File because it was a one-liner after the cleanup...
41029 * app/widgets/gimpeditor.c: create the icons in GTK_ICON_SIZE_MENU.
41030 Need to make this configurable using a style property...
41032 2002-03-16 Michael Natterer <mitch@gimp.org>
41034 * app/gui/Makefile.am
41035 * app/gui/colormap-dialog.[ch]: removed...
41037 * app/widgets/Makefile.am
41038 * app/widgets/widgets-types.h
41039 * app/widgets/gimpcolormapeditor.[ch]: ...and added here.
41041 * app/gui/dialogs-constructors.c: changed accordingly.
41043 * themes/Default/images/Makefile.am
41044 * themes/Default/images/stock-menu-convert-grayscale.png
41045 * themes/Default/images/stock-menu-convert-indexed.png
41046 * themes/Default/images/stock-menu-convert-rgb.png
41047 * themes/Default/images/stock-menu-merge-down.png
41048 * themes/Default/images/stock-menu-reshow-filter.png
41049 * themes/Default/images/stock-menu-rotate-180.png
41050 * themes/Default/images/stock-menu-rotate-270.png
41051 * themes/Default/images/stock-menu-rotate-90.png
41052 * themes/Default/images/stock-menu-scale.png: new icons from Jimmac.
41054 * themes/Default/images/stock-menu-resize.png: my own doing. Someone
41055 needs to look at it :)
41057 * themes/Default/imagerc
41058 * libgimpwidgets/gimpstock.[ch]: added them.
41060 * app/gui/menus.c: use them.
41062 2002-03-16 Michael Natterer <mitch@gimp.org>
41064 * app/display/gimpdisplayshell-filter-dialog.c: treeviewized
41067 * app/widgets/Makefile.am
41068 * app/widgets/gimpconstrainedhwrapbox.[ch]: removed this hack.
41070 * app/widgets/gimpcontainergridview.[ch]: added "rows" and
41071 "columns" fields, connect to the viewport's "size_allocate" signal
41072 and set the size_request of the wrap_box in the callback.
41074 2002-03-15 Michael Natterer <mitch@gimp.org>
41076 * app/display/gimpdisplayshell.[ch]: renamed shell->cd_list to
41077 shell->filters and shell->cd_ui to shell->filters_dialog.
41079 * app/display/gimpdisplayshell-filter-dialog.c
41080 * app/display/gimpdisplayshell-filter.c
41081 * app/display/gimpdisplayshell-render.c
41082 * app/gui/dialogs-constructors.c: changed accordingly.
41084 * app/display/gimpdisplayshell-filter-dialog.c: cleaned up the GUI.
41085 Still deprecated GtkCLists around...
41087 * app/widgets/gimpeditor.[ch]: added gimp_editor_new().
41089 * app/gui/image-commands.[ch]
41090 * app/gui/menus.c: added "<Image>/Image/Crop Image" because i was
41091 sick of clicking 20 times just to crop to the current selection.
41093 * themes/Default/gtkrc: removed "gimp-dock-style" and changed
41094 "gimp-gtk-icons" to "gimp-default-style". Set our widget class
41095 style property defaults there.
41097 2002-03-15 Sven Neumann <sven@gimp.org>
41099 * plug-ins/common/colorify.c: applied a patch from Maurits Rijk
41100 <lpeek.mrijk@consunet.nl> that gives a nice speedup (#74563).
41102 2002-03-14 Manish Singh <yosh@gimp.org>
41104 * app/tools/gimpfuzzyselecttool.c: add missing support for
41105 anchoring a selection (bugfix ported from stable branch)
41107 2002-03-14 Michael Natterer <mitch@gimp.org>
41109 Re-enabled the display filters. They work exactly the same way
41110 as before except for the color_area pseudo-display. More stuff
41113 * app/display/Makefile.am: build them again.
41115 * app/display/gimpdisplayshell-filter-dialog.[ch]
41116 * app/display/gimpdisplayshell-filter.[ch]: changed to the new
41117 namespace, work on GimpDisplayShell instead of GimpDisplay.
41119 * app/display/gimpdisplayshell-render.c
41120 * app/display/gimpdisplayshell.[ch]: changed accordingly.
41122 * app/gui/dialogs-constructors.c: enabled the dialog constructor.
41124 * app/gui/gui.c: call the init() function.
41126 * app/gui/menus.c: enabled the menu entry, but moved it to
41127 <Image>/View. Moved "Undo History..." to <Image>/Image.
41129 * modules/Makefile.am: build and install the modules.
41131 * modules/cdisplay_gamma.c
41132 * modules/cdisplay_highcontrast.c: made them compile with minimal
41137 * app/undo_history.c: connect to the image's "disconnect", not
41140 * app/tools/gimpselectiontool.c: mask out the irrelevant parts of
41141 the "state" passed to the modifier_key() func, so tool_options
41142 button toggling works with other modifiers (e.g. num_lock)
41145 2002-03-14 Michael Natterer <mitch@gimp.org>
41147 * app/tools/gimpcolorpickertool.c: oops, including removed files
41150 2002-03-14 Michael Natterer <mitch@gimp.org>
41152 * app/core/gimptoolinfo.c: g_strdup() the stock_id passed to
41153 gimp_tool_info_new() because the caller's memory may disappear
41154 after registering the tool (tool modules).
41156 Made a GimpDock out of the toolbox:
41158 * app/gui/Makefile.am
41159 * app/gui/color-area.[ch]
41160 * app/gui/indicator-area.[ch]
41161 * app/gui/toolbox.[ch]: removed...
41163 * app/widgets/Makefile.am
41164 * app/widgets/widgets-types.h
41165 * app/widgets/gimptoolbox-color-area.[ch]
41166 * app/widgets/gimptoolbox-indicator-area.[ch]
41167 * app/widgets/gimptoolbox.[ch]: ...and added here.
41169 * app/widgets/gimpdock.[ch]: don't set a minimal width. Added a
41170 "destroy_if_empty" boolean so we can prevent destruction of the
41171 toolbox if it's last dockable is removed. Added gimp_dock_construct()
41172 which is called from GimpImageDock and GimpToolbox.
41174 * app/widgets/gimpimagedock.[ch]: Default to not showing the image
41175 menu, set a minimal width here, misc. minor cleanup.
41177 * app/widgets/gimpdockbook.c: some more GIMP_IS_IMAGE_DOCK()
41178 checks, fixed dnd widget creation.
41180 * app/widgets/gimpdialogfactory.[ch]: changed
41181 gimp_dialog_factories_toggle() to take just the toolbox_factory as
41182 parameter. When restoring the session use the created dock's
41183 dialog factory to create dockables, not the the factory we
41184 created the dock from (for the toolbox).
41186 * app/display/gimpdisplayshell-callbacks.c: changed accordingly.
41188 * app/gui/dialogs.[ch]: create an own dialog factory for the toolbox
41189 and set dialogs_toolbox_new() as it's new_dock_func.
41191 * app/gui/dialogs-constructors.[ch]: changed dialogs_toolbox_get()
41194 * app/gui/dialogs-commands.[ch]: added dialogs_show_toolbox(), ckeck
41195 if a dock is really a GimpImageDock before casting.
41199 * app/widgets/gimppaletteeditor.c: changed accordingly.
41201 * app/gui/color-notebook.c
41202 * app/gui/color-select.c
41203 * app/gui/colormap-dialog.c
41204 * app/gui/palette-editor-commands.c: removed useless inclusion of
41205 "gui/color-area.h".
41207 * themes/Default/gtkrc: set "gimp-dock-style" for GimpToolbox widgets.
41209 2002-03-13 Manish Singh <yosh@gimp.org>
41211 * tools/pdbgen/lib.pl: autogenerated libgimp/gimp_pdb.h
41213 * tools/pdbgen/app.pl: fix a bug in the file open error message
41215 * libgimp/gimp_pdb.h: now generated
41217 2002-03-13 Sven Neumann <sven@gimp.org>
41219 * app/Makefile.am (SUBDIRS): moved pdb directory to the end.
41221 * app/paint/Makefile.am: removed the ugly hack. Seems to work w/o it.
41223 * themes/Default/Makefile.am: don't build inline pixbuf headers here.
41225 * themes/Default/images/Makefile.am: build them here with a hack
41226 that extracts the icon names out of the filenames. Cleaner Makefile
41227 and correct dependencies.
41229 * themes/Default/imagerc
41230 * themes/Default/images/stock-button-reset.png: added a reset button
41231 (which looks just like refresh at the moment).
41234 * themes/Default/images/tools/Makefile.am: removed.
41236 * libgimpwidgets/gimpstock.c
41237 * libgimpwidgets/gimpwidgets.c: include the pixbuf headers from their
41240 2002-03-13 Michael Natterer <mitch@gimp.org>
41242 * app/gui/brush-select.[ch]: renamed parameters to be consistent
41243 with the other foo-select.* files.
41245 * app/gui/tool-options-dialog.c: removed unused function.
41247 * app/plug-in/plug-in-types.h: PlugInImageType was accidentially
41248 exported to the PDB.
41250 * tools/pdbgen/enums.pl
41251 * libgimp/gimpenums.h
41252 * plug-ins/script-fu/script-fu-constants.c: regenerated.
41254 More brush, pattern, ... PDB wrapper cleanup:
41256 * tools/pdbgen/pdb/brush_select.pdb
41257 * tools/pdbgen/pdb/gradient_select.pdb
41258 * tools/pdbgen/pdb/palette_select.pdb
41259 * tools/pdbgen/pdb/pattern_select.pdb: even more cleanup, guard
41260 all functions with if(!gimp->no_interface).
41262 * tools/pdbgen/pdb/brushes.pdb
41263 * tools/pdbgen/pdb/gradients.pdb
41264 * tools/pdbgen/pdb/palettes.pdb
41265 * tools/pdbgen/pdb/patterns.pdb: reordered functions to be
41266 consistent across all files. Generate libgimp wrappers for *all*
41267 functions because of API symmetry.
41269 * tools/pdbgen/pdb/gradients.pdb: renamed gradients_[get|set]_active
41270 to gradients_[get|set]_gradient because of API symmetry.
41272 * libgimp/gimpcompat.h: added the old function names here, guard
41273 the whole file with GIMP_ENABLE_COMPAT_CRUFT (it's back, yeah).
41275 * plug-ins/FractalExplorer/Dialogs.c
41276 * plug-ins/gflare/gflare.c: use the new function names.
41278 * libgimp/gimpbrushes_pdb.[ch]
41279 * libgimp/gimpgradients_pdb.[ch]
41280 * libgimp/gimppalettes_pdb.[ch]
41281 * libgimp/gimppatterns_pdb.[ch]
41282 * app/pdb/brush_select_cmds.c
41283 * app/pdb/brushes_cmds.c
41284 * app/pdb/gradient_select_cmds.c
41285 * app/pdb/gradients_cmds.c
41286 * app/pdb/palette_select_cmds.c
41287 * app/pdb/palettes_cmds.c
41288 * app/pdb/pattern_select_cmds.c
41289 * app/pdb/patterns_cmds.c: regenerated.
41291 2002-03-13 Sven Neumann <sven@gimp.org>
41293 * app/core/core-enums.h: register GimpChannelType and
41294 GimpSelectionControl enums with the type system.
41296 * app/core/gimpimage.c: use them in signal declarations.
41298 * app/widgets/Makefile.am
41299 * app/widgets/widgets-enums.h
41300 * app/widgets/widgets-types.h: split enums into it's own file and
41301 generate widgets-enums.c. Register GimpZoomType enum.
41303 * app/widgets/gimpnavigationpreview.c: use GIMP_TYPE_ZOOM_TYPE.
41305 2002-03-12 Michael Natterer <mitch@gimp.org>
41307 * app/config/gimpguiconfig.[ch]: removed "global_paint_options".
41309 2002-03-12 Michael Natterer <mitch@gimp.org>
41312 * app/gui/preferences-dialog.c
41313 * app/paint/gimppaintoptions.[ch]
41314 * app/tools/paint_options.[ch]
41315 * app/tools/tool_manager.[ch]: removed the "global_paint_options"
41316 gimprc option because it doesn't quite fit the new dockable dialog
41319 * app/gui/brush-select.[ch]
41320 * app/gui/gradient-select.[ch]
41321 * app/gui/palette-select.[ch]
41322 * app/gui/pattern-select.[ch]: removed the "Global Brush/Pattern/...
41323 Selection" part of them. They are now only used for temp popup
41324 selections and the PDB. *Lots* of cleanup.
41326 * app/gui/convert-dialog.c
41327 * app/gui/dialogs-constructors.[ch]
41328 * app/gui/dialogs.c
41331 * app/gui/palette-import-dialog.c
41332 * app/plug-in/plug-in.c: changed accordingly.
41334 Cleaned up the palette and other data PDB stuff:
41336 * tools/pdbgen/Makefile.am
41337 * tools/pdbgen/groups.pl: added "palette_select" and "palettes".
41339 * tools/pdbgen/pdb/palette_select.pdb: new file. Makes the palette
41340 selection PDB controllable.
41342 * tools/pdbgen/pdb/palettes.pdb: new file cut out of palette.pdb
41343 because of API symmetry with brushes, patterns, ...
41345 * tools/pdbgen/pdb/palette.pdb: removed from here.
41347 * tools/pdbgen/pdb/brush_select.pdb
41348 * tools/pdbgen/pdb/brushes.pdb
41349 * tools/pdbgen/pdb/gradient_select.pdb
41350 * tools/pdbgen/pdb/gradients.pdb
41351 * tools/pdbgen/pdb/palette.pdb
41352 * tools/pdbgen/pdb/pattern_select.pdb
41353 * tools/pdbgen/pdb/patterns.pdb: lots of cleanup.
41355 Autogenerated stuff:
41357 * app/pdb/Makefile.am
41358 * app/pdb/palette_select_cmds.c
41359 * app/pdb/palettes_cmds.c: new files.
41361 * app/pdb/brush_select_cmds.c
41362 * app/pdb/brushes_cmds.c
41363 * app/pdb/gradient_select_cmds.c
41364 * app/pdb/gradients_cmds.c
41365 * app/pdb/internal_procs.c
41366 * app/pdb/palette_cmds.c
41367 * app/pdb/pattern_select_cmds.c
41368 * app/pdb/patterns_cmds.c: regenerated.
41370 * libgimp/Makefile.am
41371 * libgimp/gimp_pdb.h
41372 * libgimp/gimppalettes_pdb.[ch]
41373 * libgimp/gimppaletteselect_pdb.[ch]: new files.
41375 * libgimp/gimpgradientselect_pdb.[ch]
41376 * libgimp/gimppalette_pdb.[ch]
41377 * libgimp/gimppatterns_pdb.c: regenerated.
41379 2002-03-11 Sven Neumann <sven@gimp.org>
41381 * app/gui/preferences-dialog.c: use a PangoAttributeList instead of
41382 PangoMarkup for the frame header. Also removed bold attribute and
41383 hardcoded size_request.
41385 2002-03-11 Michael Natterer <mitch@gimp.org>
41387 * app/gui/pattern-select.c
41388 * app/gui/preferences-dialog.c: proofreading by bex.
41390 * app/gui/brush-select.c
41391 * app/gui/gradient-select.c
41392 * app/gui/pattern-select.c: cleaned up the
41393 foo_select_change_callbacks() functions a bit.
41395 2002-03-11 Sven Neumann <sven@gimp.org>
41397 * app/gui/user-install-dialog.c: fixed typo (#74248).
41399 2002-03-11 Sven Neumann <sven@gimp.org>
41401 * configure.in: bumped version number to 1.3.5.
41405 * themes/Default/imagerc: fixed typos.
41407 2002-03-11 Michael Natterer <mitch@gimp.org>
41409 * app/widgets/gimplayerlistview.[ch]: added a GimpAnchorItemFunc
41410 and use it if it's set.
41412 * app/widgets/gimpitemlistview.c: removed the floating selection
41413 special case hack from the remove_item callback.
41415 * app/gui/layers-commands.[ch]: added layers_remove_layer() and
41416 layers_anchor_layer(). Fixed sensitive setting of the "Anchor"
41419 * app/gui/dialogs-constructors.c: use the new functions when
41420 constructing the layers dialog. Makes deleting and anchoring
41421 floating selections from the layers dialog work without hacking
41422 or code duplication.
41424 * app/widgets/gimpdialogfactory.c: added comments about dialog
41425 destruction in dispose().
41427 2002-03-10 Michael Natterer <mitch@gimp.org>
41429 * libgimpwidgets/gimpwidgets.h: removed type checking casts from
41430 macros which return parts of pseudo-widgets.
41432 * app/widgets/gimpbrushfactoryview.c: changed accordingly.
41434 * app/widgets/gimpdialogfactory.c: added a "dispose"
41435 implementation used to destroy all dialogs the factory has
41438 * app/gui/toolbox.[ch]: removed toolbox_free(), removed the static
41439 "toolbox_shell" variable, set the active tool correctly on
41440 creation, don't show the window here (fixes session menagement),
41441 take the vbox' spacing into account when calculating the window's
41444 * app/gui/gui.c: don't include "toolbox.h", don't call
41447 * app/widgets/gimpfontselection.c: set the width of the entry to
41448 16 chars on creation so it doesn't fall back to it's insanely
41449 large default width, minor stuff.
41451 * app/tools/gimptexttool.c
41452 * app/tools/selection_options.c: some more scale_entries.
41454 2002-03-10 Michael Natterer <mitch@gimp.org>
41456 * app/gui/dialogs-constructors.[ch]
41457 * app/gui/dialogs.c
41458 * app/gui/tool-options-dialog.[ch]: made the tool options dialog
41459 dockable. Create a fancy tab for it which looks like the old
41464 * app/gui/toolbox.c: changed accordingly.
41466 * app/tools/gimpbucketfilltool.c
41467 * app/tools/gimpcroptool.c
41468 * app/tools/gimperasertool.c: moved the tool toggling widgets to
41471 * app/tools/paint_options.c: show the paint mode menu for all
41472 paint tools but set it insensitive where it makes no sense.
41473 Reduces flickering and makes the tools' similarity more obvious.
41475 * app/widgets/gimpdataeditor.c: fixed segfault in
41476 gimp_data_editor_set_data() (data may be NULL), don't pass NULL to
41477 gtk_entry_set_text(), make the name entry insensitive if data ==
41480 * app/widgets/gimpdialogfactory.c: fixed longstanding bug which
41481 made newly created docks steal the first session entry with a NULL
41482 widget instead of the first _dock_ session entry with a NULL
41483 widget. Added even more debugging output. Cleanup.
41485 * app/widgets/gimpdockbook.c: made the tab/menu widget code more
41486 general to cover the tool options tab.
41488 2002-03-09 Sven Neumann <sven@gimp.org>
41490 * Made 1.3.4 release.
41492 2002-03-09 Sven Neumann <sven@gimp.org>
41494 * configure.in: removed intltool version check, it is broken :-(
41495 Updated dependencies to glib-2.0.0, pango-1.0.0 and gtk+-2.0.0.
41498 * INSTALL: updated.
41500 2002-03-08 Michael Natterer <mitch@gimp.org>
41502 * app/widgets/gimpbrushfactoryview.c: forgot some casts.
41504 2002-03-08 Michael Natterer <mitch@gimp.org>
41506 * libgimpwidgets/gimpwidgets.[ch]: return the created label from
41507 gimp_table_attach_aligned(), doc fixes.
41509 * app/gui/channels-commands.c
41510 * app/tools/gimpairbrushtool.c
41511 * app/tools/gimpblendtool.c
41512 * app/tools/gimpbucketfilltool.c
41513 * app/tools/gimpcolorpickertool.c
41514 * app/tools/gimpconvolvetool.c
41515 * app/tools/gimpdodgeburntool.c
41516 * app/tools/gimpinktool.c
41517 * app/tools/gimpmagnifytool.c
41518 * app/tools/gimpsmudgetool.c
41519 * app/tools/paint_options.c
41520 * app/tools/selection_options.c
41521 * app/widgets/gimpbrushfactoryview.c
41522 * app/widgets/gimplayerlistview.c: use gimp_scale_entries instead
41523 of just hscales in lots of places, so the values are keyboard
41526 2002-03-08 Sven Neumann <sven@gimp.org>
41528 * configure.in: reorder AC_OUTPUT to make intltool happy, check
41531 * Makefile.am: reordered SUBDIRS.
41533 2002-03-08 Michael Natterer <mitch@gimp.org>
41535 * app/core/gimpchannel.[ch]: changed gimp_channel_get_color() to
41536 not return the color but take a second GimpRGB* parameter like all
41537 other _get_color() functions. Reordered some functions to make
41538 more sense, added some g_return_if_fail().
41540 * app/core/gimppalette.[ch]: added gimp_palette_[set|get]_n_columns()
41542 * app/gui/menus.c: added a "<PaletteEditor>" item factory.
41544 * app/gui/Makefile.am
41545 * app/gui/palette-editor-commands.[ch]: callbacks for the factory.
41547 * app/widgets/gimppaletteeditor.[ch]: removed the menu stuff here,
41548 added a spinbutton to adjust the number of columns.
41550 * app/gui/gradient-editor-commands.c: removed usage of "the_gimp".
41552 * app/widgets/gimpgradienteditor.c: minor cleanup.
41554 * app/widgets/gimpbrusheditor.h
41555 * app/widgets/gimpgradienteditor.h
41556 * app/widgets/gimppaletteeditor.h: forgot to declare the _get_type()
41557 functions publically.
41559 2002-03-08 Sven Neumann <sven@gimp.org>
41561 Handle gtk-doc just like GTK+ does it now:
41563 * configure.in: check for gtk-doc version 0.9. Do not build the API
41564 reference by default.
41566 * autogen.sh: pass --enable-gtk-doc to configure.
41568 * Makefile.am: Added a slightly modified distcheck rule that passes
41569 --enable-gtk-doc to the configure inside.
41573 2002-03-08 Michael Natterer <mitch@gimp.org>
41575 * app/core/core-types.h: added GimpPaletteEntry typedef.
41577 * app/core/gimppalette.h: removed it here.
41579 * app/widgets/Makefile.am
41580 * app/widgets/widgets-types.h
41581 * app/widgets/gimpeditor.[ch]: new widget which is the base class
41582 for everything which is a vbox and has a button area at the
41585 * app/widgets/gimpcontainerview.[ch]: derived from GimpEditor now.
41587 * app/widgets/gimpdataeditor.[ch]: a GimpEditor subclass which is
41588 the base class for the new data editors below.
41590 * app/widgets/gimpbrushfactoryview.c
41591 * app/widgets/gimpbufferview.c
41592 * app/widgets/gimpchannellistview.c
41593 * app/widgets/gimpdatafactoryview.c
41594 * app/widgets/gimpdocumentview.c
41595 * app/widgets/gimpitemlistview.c
41596 * app/widgets/gimplayerlistview.c
41597 * app/widgets/gimpvectorslistview.c
41598 * themes/Default/gtkrc: changed accordingly.
41600 * app/gui/Makefile.am
41601 * app/gui/brush-editor.[ch]
41602 * app/gui/gradient-editor.[ch]
41603 * app/gui/palette-editor.[ch]: removed...
41605 * app/widgets/gimpbrusheditor.[ch]
41606 * app/widgets/gimpgradienteditor.[ch]
41607 * app/widgets/gimppaletteeditor.[ch]: ...and added back as
41608 GimpDataEditor subclasses. Lots of cleanup and stuff...
41610 * app/gui/dialogs-constructors.[ch]
41611 * app/gui/dialogs.c
41612 * app/gui/gradient-editor-commands.c
41613 * app/gui/gui-types.h
41614 * app/gui/palette-select.c
41615 * app/tools/gimpcolorpickertool.c: changed accordingly.
41617 2002-03-07 Sven Neumann <sven@gimp.org>
41619 * app/gui/splash.c: back to a still splash image.
41621 * data/images/gimp_splash.png: blinkenwilber as seen from the
41622 berlinerfernsehturm.de.
41624 2002-03-07 Sven Neumann <sven@gimp.org>
41626 * themes/Default/imagerc: applied patch from Guillermo S. Romero that
41627 adds missing icons.
41629 2002-03-07 Jakub Steiner <jimmac@ximian.com>
41631 * themes/Default/images/tools/stock-tool-*.png: new icon set
41633 2002-03-07 Simon Budig <simon@gimp.org>
41637 2002-03-06 Sven Neumann <sven@gimp.org>
41639 * INSTALL: mention libart2.
41641 2002-03-06 Jakub Steiner <jimmac@ximian.com>
41643 * themes/Default/images/preferences/interface.png: wilber gimp
41645 * themes/Default/images/preferences/help-system.png: the gnome2
41646 help icon (by Tuomas Kuosmanen)
41648 2002-03-06 Simon Budig <simon@gimp.org>
41652 * app/core/Makefile.am: We depend on Libart-2.0 now.
41654 * app/core/gimpscanconvert.c: Converted the Scan-Conversion to
41655 use libart. *Way* better results.
41657 2002-03-06 Sven Neumann <sven@gimp.org>
41659 * app/core/gimpbrushpipe.c
41660 * app/core/gimppalette.c: message fixes.
41662 2002-03-06 Jakub Steiner <jimmac@ximian.com>
41664 * themes/Default/images/preferences/input-devices.png:
41665 * themes/Default/images/preferences/environment.png:
41666 * themes/Default/images/preferences/default-comment.png:
41667 start replacing generic icons with gimp-branded
41669 2002-03-06 Michael Natterer <mitch@gimp.org>
41671 * themes/Default/images/preferences/folders-modules.png
41672 * themes/Default/images/preferences/folders-themes.png
41673 * themes/Default/images/preferences/folders-tool-plug-ins.png:
41674 Some more folder icons for the prefs. dialog.
41676 * themes/Default/images/preferences/Makefile.am
41677 * themes/Default/images/preferences/folders.xcf.gz: changed accordingly.
41679 * app/gui/preferences-dialog.c: use them.
41681 * themes/Default/Makefile.am
41682 * themes/Default/imagerc
41683 * libgimpwidgets/gimpstock.[ch]: removed GIMP_STOCK_PASTE.
41685 * themes/Default/gtkrc: override GTK_STOCK_PASTE with our icon
41689 * app/widgets/gimpbufferview.c: s/GIMP_STOCK_PASTE/GTK_STOCK_PASTE/
41691 * themes/Default/images/Makefile.am: install all icons of the
41692 default theme so the installed directory can be used as template.
41694 2002-03-05 Michael Natterer <mitch@gimp.org>
41696 * configure.in: mention gimp-remote in the error message if
41699 * plug-ins/webbrowser/Makefile.am
41700 * tools/Makefile.am: removed X_LIBS again because configure adds
41701 them to LIBXMU now.
41703 2002-03-05 Michael Natterer <mitch@gimp.org>
41705 * configure.in: Add X_LIBS to LDFLAGS while checking for
41706 Xmu because GTK_LIBS no longer adds them.
41708 2002-03-04 Michael Natterer <mitch@gimp.org>
41710 Forgot some gint opacity values:
41712 * app/core/gimplayer.[ch]: layer->opacity, gimp_layer_new(),
41713 gimp_layer_new_from_tiles()
41715 * app/core/gimpimage-projection.[ch]: gimp_image_projection_opacity()
41717 * app/core/gimpdrawable-transform.c
41718 * app/core/gimpedit.c
41719 * app/core/gimpimage-mask.c
41720 * app/core/gimpimage-merge.c
41721 * app/core/gimpimage-new.c
41722 * app/core/gimpimage.c
41723 * app/core/gimplayer-floating-sel.c
41724 * app/gui/layers-commands.c
41725 * app/tools/gimptexttool.c
41726 * app/widgets/gimplayerlistview.c
41727 * app/xcf/xcf-load.c
41728 * app/xcf/xcf-save.c
41729 * tools/pdbgen/pdb/layer.pdb: changed accordingly.
41731 * app/pdb/layer_cmds.c
41732 * libgimp/gimplayer_pdb.c: regenerated.
41734 2002-03-03 Sven Neumann <sven@gimp.org>
41736 * app/core/gimpimage-contiguous-region.c: some cleanup, removed
41737 unused parameters and code.
41739 * app/widgets/gimptoolinfopreview.c: fixed stupid bug I introduced
41742 2002-03-03 Michael Natterer <mitch@gimp.org>
41744 Use gdouble in a [0.0..1.0] range for opacity values in the whole
41745 core's API. Convert them using (opacity * 255.999) when passing
41746 them to base/ and paint-funcs/
41748 Affected functions:
41750 * app/core/gimpchannel.[ch]: gimp_channel_[set|get]_opacity()
41751 * app/core/gimpimage.[ch]: gimp_image_[apply|replace]_image()
41752 * app/paint/gimppaintcore.[ch]: gimp_paint_core_[paste|replace]_canvas()
41754 * app/core/core-types.h: added defines GIMP_OPACITY_TRANSPARENT
41755 and GIMP_OPACITY_OPAQUE, just like the ones from
41756 paint-funcs/paint-funcs-types.h
41760 * app/core/gimpcontext.c
41761 * app/core/gimpdrawable-blend.c
41762 * app/core/gimpdrawable-bucket-fill.c
41763 * app/core/gimpdrawable.c
41764 * app/core/gimpedit.c
41765 * app/core/gimplayer.c
41766 * app/core/gimplayer-floating-sel.c
41767 * app/core/gimppalette.c
41768 * app/paint/gimpairbrush.c
41769 * app/paint/gimpclone.c
41770 * app/paint/gimpconvolve.c
41771 * app/paint/gimpdodgeburn.c
41772 * app/paint/gimperaser.c
41773 * app/paint/gimppaintbrush.c
41774 * app/paint/gimpsmudge.c
41775 * app/tools/gimpinktool.c
41776 * app/widgets/gimpcolorpanel.c
41777 * app/widgets/gimplayerlistitem.c
41778 * app/widgets/gimppreview.c
41779 * app/xcf/xcf-load.c: changed accordingly, use the new constants.
41781 2002-03-03 Sven Neumann <sven@gimp.org>
41783 * plug-ins/webbrowser/Makefile.am
41784 * tools/Makefile.am: GTK_LIBS no longer pulls in X_LIBS for us, so we
41785 need to add X_LIBS here.
41787 2002-03-03 Michael Natterer <mitch@gimp.org>
41789 * app/core/gimpimage-mask-select.[ch]: changed
41790 gimp_image_mask_select_channel() to not take "drawable" and
41791 "sample_merged" parameters (which are silly in some contexts) but
41792 simply the offsets of the passed channel.
41794 * app/gui/channels-commands.c
41795 * app/tools/gimpbezierselecttool.c
41796 * app/tools/gimpfuzzyselecttool.c
41797 * app/tools/gimpiscissorstool.c: changed accordingly.
41799 * app/tools/gimpdrawtool.[ch]: changed gimp_draw_tool_draw_lines()
41800 and _draw_strokes() to take an additional "use_offsets" parameter
41801 like the other drawing functions.
41803 * app/path_curves.c
41804 * app/tools/gimpvectortool.c: changed accordingly.
41806 * app/paint/gimppaintcore.c: removed #if 0'ed code which was
41807 identical to other functions.
41809 * app/tools/gimpselectiontool.c: use the GimpEditSelectionTool's
41810 "arrow_key_func" so it's now possible to keyboard-move the current
41811 layer and selection with all selection tools. Needs some more
41814 * app/tools/gimpiscissorstool.[ch]
41815 * app/tools/gimpvectortool.[ch]: derive them from GimpSelectionTool
41816 to make the modifier key <-> tool options interaction work. Ported
41817 IScissors to the new way the draw_tool works.
41819 2002-03-02 Sven Neumann <sven@gimp.org>
41821 * autogen.sh: require intltool-0.17.
41823 * configure.in: require latest glib, pango and gtk+. Bail out if
41824 libtiff, libjpeg or libpng is not found. You now need to explicitly
41825 disable TIFF, JPEG and PNG support.
41832 * data/misc/Makefile.am: fixed dependencies.
41834 2002-03-02 Sven Neumann <sven@gimp.org>
41836 * app/core/gimptoolinfo.c
41837 * app/widgets/gimptoolinfopreview.c: allow RGB previews and do proper
41838 blending for RGBA. This is wasted effort since we will change the
41839 GimpPreview system anyway, but I couldn't stand the awful look any
41842 * app/display/gimpdisplayshell.c
41843 * app/gui/file-save-dialog.c: added linebreaks to messages.
41845 2002-03-01 Michael Natterer <mitch@gimp.org>
41847 * themes/Default/images/preferences/Makefile.am
41848 * themes/Default/images/preferences/folders-brushes.png
41849 * themes/Default/images/preferences/folders-gradients.png
41850 * themes/Default/images/preferences/folders-palettes.png
41851 * themes/Default/images/preferences/folders-patterns.png
41852 * themes/Default/images/preferences/folders-plug-ins.png: some new
41853 icons made from Jimmac's new tool icons and Tigert's abstract
41856 * themes/Default/images/preferences/folders.xcf.gz: all folders
41857 icons as layered image.
41859 * app/gui/preferences-dialog.c: use them.
41861 2002-02-28 Michael Natterer <mitch@gimp.org>
41863 * app/gui/preferences-dialog.c: put the title label & icon outside
41864 the notebook and exchange them when flipping pages. Pass an icon
41865 to the resolution_calibrate_dialog.
41867 2002-02-28 Michael Natterer <mitch@gimp.org>
41870 * app/config/gimpguiconfig.[ch]
41871 * app/gui/toolbox.c: removed the "show_indicators" gimprc option.
41872 The toolbox layout will change and thus obsolete it anyway.
41874 * app/gui/Makefile.am
41875 * app/gui/input-dialog.[ch]: removed.
41877 * app/gui/dialogs-constructors.[ch]
41878 * app/gui/dialogs.c
41879 * app/gui/menus.c: changed accordingly.
41881 * app/gui/preferences-dialog.c: Added an "Input Devices" page and
41882 embed the input_dialog stuff there. Put "Display" and "Monitor"
41883 under "Interface". Removed the "Session" page. Lots of cleanup and
41884 reordering of options. Please comment...
41886 * themes/Default/images/preferences/Makefile.am
41887 * themes/Default/images/preferences/input-devices.png: new icon.
41888 * themes/Default/images/preferences/session.png: removed.
41890 2002-02-28 Sven Neumann <sven@gimp.org>
41892 * app/gui/resolution-calibrate-dialog.[ch]: take an optional pixbuf
41895 * app/gui/preferences-dialog.c
41896 * app/gui/user-install-dialog.c: changed accordingly.
41898 2002-02-28 Michael Natterer <mitch@gimp.org>
41899 Sven Neumann <sven@gimp.org>
41902 * themes/Default/images/Makefile.am
41903 * themes/Default/images/preferences/Makefile.am: new directory
41904 for themeable preferences icons.
41906 * themes/Default/images/preferences/default-comment.png
41907 * themes/Default/images/preferences/display.png
41908 * themes/Default/images/preferences/environment.png
41909 * themes/Default/images/preferences/folders.png
41910 * themes/Default/images/preferences/help-system.png
41911 * themes/Default/images/preferences/image-windows.png
41912 * themes/Default/images/preferences/interface.png
41913 * themes/Default/images/preferences/monitor.png
41914 * themes/Default/images/preferences/new-image.png
41915 * themes/Default/images/preferences/session.png
41916 * themes/Default/images/preferences/tool-options.png: added some
41917 GPL icons from Jimmac's site (http://jimmac.musichall.cz/).
41919 * app/gui/gui.[ch]: added gui_themes_get_theme_dir() so we can find
41920 icons which are loaded on demand.
41922 * app/gui/preferences-dialog.c: added the icons to the tree and
41923 the notebook page headers. Cleaned up and reduced the code a lot
41924 by adding utility functions prefs_table_new() and
41925 prefs_check_button_new().
41927 * app/display/gimpdisplayshell.c
41928 * app/display/gimpdisplayshell-callbacks.[ch]: added a "Default"
41929 menu entry to the display's color button context menu so we can
41930 reset the padding color to the theme's bg color.
41932 2002-02-28 Sven Neumann <sven@gimp.org>
41934 * app/gui/file-commands.c: fixed message string.
41936 2002-02-27 Michael Natterer <mitch@gimp.org>
41938 * themes/Default/images/stock-button-stroke.png
41939 * themes/Default/images/stock-button-to-path.png
41940 * themes/Default/images/stock-button-to-selection.png: removed.
41942 * themes/Default/images/stock-button-path-stroke.png
41943 * themes/Default/images/stock-button-selection-stroke.png
41944 * themes/Default/images/stock-button-selection-to-path.png: new ones.
41946 * themes/Default/Makefile.am
41947 * themes/Default/images/Makefile.am
41948 * libgimpwidgets/gimpstock.[ch]: changed accordingly.
41950 * themes/Default/images/stock-button-selection-add.png
41951 * themes/Default/images/stock-button-selection-intersect.png
41952 * themes/Default/images/stock-button-selection-replace.png
41953 * themes/Default/images/stock-button-selection-subtract.png: cropped.
41955 * themes/Default/images/tools/stock-tool-button-brightness-contrast.png:
41956 a nicer one from Ville PƤtsi.
41959 * app/widgets/gimpvectorslistview.c: use the new stock items.
41961 * app/gui/dialogs-commands.c: create the new paths dialog, not the
41962 old one in dialogs_lc_cmd_callback().
41964 * app/gui/vectors-commands.c: some more s/Vectors/Path/ in
41965 user-visible strings.
41967 * app/app_procs.c: some test code for the filename -> uri migration.
41969 2002-02-27 Michael Natterer <mitch@gimp.org>
41971 * app/core/Makefile.am
41972 * app/core/gimppaintinfo.[ch]: new object for registering
41973 GimpPaintCore subclasses, just like GimpToolInfo for tools.
41975 * app/core/gimp.h: added gimp->paint_info_list to hold them.
41977 * app/core/gimptoolinfo.[ch]: removed the "pdb_string" and
41978 "paint_core_name" pointers and added a GimpPaintInfo pointer
41981 * app/core/gimpimage-mask.c
41982 * app/gui/vectors-commands.c
41983 * app/tools/gimpbezierselecttool.c
41984 * app/tools/tool_manager.c: changed accordingly.
41986 * app/paint/paint-types.h
41987 * app/paint/paint.c: added paint class registration stuff like
41988 the tool_manager does.
41990 * app/paint/gimpairbrush.[ch]
41991 * app/paint/gimpclone.[ch]
41992 * app/paint/gimpconvolve.[ch]
41993 * app/paint/gimpdodgeburn.[ch]
41994 * app/paint/gimperaser.[ch]
41995 * app/paint/gimppaintbrush.[ch]
41996 * app/paint/gimppencil.[ch]
41997 * app/paint/gimpsmudge.[ch]: added register functions which are
41998 called from paint_init().
42000 The core object system lives not only in "core/", but in
42001 core, paint, vectors, file, plug-in and xcf, so I had to hack
42002 a bit to keep the deps working:
42004 * app/pdb/pdb-types.h: don't include "paint/paint-types.h"...
42006 * app/core/core-types.h: ...because it's included here. Moved
42007 the inclusions of the core's subsystems' "foo/foo-types.h"
42008 files to the end of the file.
42010 * app/paint/Makefile.am: Some slimy radioactive uglyness.
42012 * app/gui/drawable-commands.c
42013 * app/tools/gimpblendtool.c: removed calling core functions via
42014 the PDB because it makes no sense to do it manually in only a few
42015 places. This needs to be done generically using generated
42016 wrappers living in "app/commands/" or something...
42018 2002-02-27 Sven Neumann <sven@gimp.org>
42021 * config.sub: removed from CVS, they get added by automake -a.
42023 2002-02-26 Sven Neumann <sven@gimp.org>
42025 * app/gui/tips-dialog.c
42026 * app/gui/tips-parser.c: added support for simple text markup.
42028 * tips/gimp-tips.xml.in: document and use the new markup tags.
42030 2002-02-26 Michael Natterer <mitch@gimp.org>
42032 * app/app_procs.c: make absolute paths out of relative ones
42033 passed on the commandline so the GimpImagefiles can generate
42036 * app/gui/Makefile.am
42037 * app/gui/drawable-commands.[ch]: new files implementing menu
42038 callbacks which work not just on layers.
42040 * app/gui/layers-commands.[ch]: removed them here. Cleanup.
42042 * app/gui/menus.c: changed accordingly.
42044 * app/gui/brushes-commands.c
42045 * app/gui/channels-commands.c
42046 * app/gui/vectors-commands.c: cleanup. Added macros to get
42047 rid of code duplication.
42049 2002-02-26 Sven Neumann <sven@gimp.org>
42051 * plug-ins/common/guillotine.c: code cleanup by Maurits Rijk
42052 <lpeek.mrijk@consunet.nl> (#72288).
42054 * plug-ins/script-fu/interp_slib.c: fixed typo (#72673).
42056 2002-02-26 Michael Natterer <mitch@gimp.org>
42058 * app/widgets/gimpitemlistview.[ch]: added a "item_activate_func"
42059 to the struct and the constructor so we can distinguish double
42060 click from right click in the callbacks.
42062 * app/widgets/gimpvectorslistview.[ch]: added a "item_stroke_func".
42064 * app/widgets/gimpchannellistview.c: reorder the "To Selection" button.
42066 * app/gui/dialogs-constructors.c: changed accordingly.
42068 * app/gui/menus.c: added separators and some new items to the
42069 vectors menu. Use the SELECTION_REPLACE, _ADD, ... icons for
42070 the resp. menu items.
42072 * app/gui/vectors-commands.[ch]: added empty callbacks for the new
42073 menu items, put the stroke stuff to an own function which is used
42074 as "item_stroke_func" when creating GimpVectorsListViews.
42076 2002-02-26 Michael Natterer <mitch@gimp.org>
42078 * app/core/gimpimage-mask-select.[ch]: implemented
42079 gimp_image_mask_select_vectors() as simple wrapper around
42080 gimp_image_mask_select_polygon().
42082 * app/gui/vectors-commands.c: call it from the "to selection"
42085 * app/gui/channels-commands.c: use gimp_image_mask_select_channel()
42086 instead of doing the same manually.
42088 * app/paint/gimppencil.c: register as "GimpPencil", not
42091 * app/widgets/Makefile.am
42092 * app/widgets/widgets-types.h
42093 * app/widgets/gimpvectorslistview.[ch]: new GimpItemListView
42094 subclass featuring a "To Selection" and "Stroke" button.
42096 * app/widgets/gimpitemlistview.c: create GimpVectorsListViews.
42098 2002-02-26 Michael Natterer <mitch@gimp.org>
42100 * app/paint/gimppaintcore-stroke.[ch]: added
42101 gimp_paint_core_stroke_vectors() which strokes the whole vector
42102 using one undo step.
42104 * app/gui/vectors-commands.c: use the new function.
42106 * app/tools/gimpvectortool.c: changed to do evil voodoo in
42107 gimp_vectors_tool_set_vectors() and thus to always find a
42108 display to show the vectors.
42110 2002-02-26 Sven Neumann <sven@gimp.org>
42114 2002-02-26 Simon Budig <simon@gimp.org>
42116 * app/gui/vectors-commands.c
42117 * app/tools/gimpvectortool.c
42118 * app/tools/gimpvectortool.h: fixed a name of a function
42119 and corrected gimp_vector_tool_set_vectors.
42121 2002-02-26 Michael Natterer <mitch@gimp.org>
42123 Added some kind of paint core registry. It's ugly and will change...
42125 * app/core/gimp.c: call paint_init() and paint_exit().
42127 * app/core/gimptoolinfo.[ch]: added "gchar *paint_core_name" to
42128 the GimpToolInfo structure and the contstructor.
42130 * app/tools/tool_manager.c: pass the class names of the
42131 GimpPaintCore subclasses to gimp_tool_info_new().
42133 * app/paint/Makefile.am
42134 * app/paint/paint.[ch]: new files. Simlply ref/unref all paint
42135 core classes so we can find them using g_type_from_name().
42137 * app/paint/gimppaintcore-stroke.[ch]: changed to take an array
42138 of GimpCoords, not just gdouble.
42140 * tools/pdbgen/pdb/paint_tools.pdb: convert the stroke array here.
42142 * app/gui/vectors-commands.c: ad-hoc implementation of vectors
42143 stroking. Double click now sets the active vectors in the vectors
42146 * app/pdb/paint_tools_cmds.c: regenerated.
42148 2002-02-26 Sven Neumann <sven@gimp.org>
42150 * app/gui/tips-parser.c: some documentation can't hurt.
42152 * app/tools/Makefile.am
42153 * app/paint/Makfile.am
42154 * app/vectors/Makfile.am
42155 * plug-ins/tools/Makefile.am: fixed dist target.
42157 2002-02-26 Simon Budig <simon@gimp.org>
42159 * app/tools/gimpdrawtool.c
42160 * app/tools/gimpdrawtool.h: Added function gimp_draw_tool_draw_strokes
42161 to be able to draw lines from a GimpCoords array.
42163 * app/vectors/gimpanchor.h: removed "active", since this should
42166 * app/vectors/gimpstroke.c
42167 * app/vectors/gimpstroke.h
42168 * app/vectors/gimpbezierstroke.c
42169 * app/vectors/gimpbezierstroke.h: Implemented (and fixed API) for
42172 * app/tools/gimpvectortool.c
42173 * app/tools/gimpvectortool.h: Changed accordingly, we can actually
42174 draw polylines now.
42176 2002-02-26 Michael Natterer <mitch@gimp.org>
42178 * app/undo.[ch]: renamed undo_push_layer_rename() to
42179 undo_push_item_rename(), so channel/vectors renaming is undoable.
42180 Use "gsize" for all undo size variables. Cleanup.
42182 * app/undo_types.h: s/LAYER_RENAME_UNDO/ITEM_RENAME_UNDO/.
42184 * app/core/core-types.h: added LAYER_PROPERTIES_UNDO_GROUP.
42186 * app/core/gimpimage.c: s/Vectors/Path/ in all user-visible strings.
42188 * app/core/gimpitem.[ch]: cleanup.
42190 * app/gui/menus.c: s/"New Path"/"New Path..."/, pass
42191 "vectors_menu_update" to gimp_item_factory_new().
42193 * app/gui/layers-commands.c: renaming the floating layer
42194 transforms it into an ordinary layer. Push an undo group around
42195 around both the "fs_to_layer" and the renaming.
42197 * app/gui/channels-commands.c
42198 * app/gui/vectors-commands.c: made renaming undoable, cleanup.
42200 * app/widgets/gimpitemlistview.c: added an EEKY hack so "Delete"
42201 is not broken any more for floating selections. Need a better
42204 2002-02-25 Sven Neumann <sven@gimp.org>
42206 * tools/pdbgen/pdb/fileops.pdb: changed dot to underscore in
42207 implementation of gimp_temp_name(). Fixes bug #72324.
42209 * app/pdb/fileops_cmds.c: regenerated.
42212 * tips/update.sh: added a script to update po files.
42214 2002-02-25 Sven Neumann <sven@gimp.org>
42216 * app/gui/tips-dialog.c
42217 * app/gui/tips-parser.c: added proper error handling. This completes
42218 the new XML-based tips system that closes bug #68846.
42220 2002-02-25 Michael Natterer <mitch@gimp.org>
42222 * app/widgets/Makefile.am
42223 * app/widgets/widgets-types.h
42224 * app/widgets/gimpitemlistitem.[ch]: new GimpListItem subclass
42225 which handles DND reordering of GimpItems.
42227 * app/widgets/gimpdrawablelistitem.[ch]: derive from GimpItemListItem
42228 and removed the reordering code.
42230 * app/widgets/gimplistitem.c: create a GimpItemListItem if the
42231 passed viewable is a GimpItem.
42233 2002-02-25 Sven Neumann <sven@gimp.org>
42235 * README.i18n: updated
42237 * app/gui/tips-dialog.c
42238 * app/gui/tips-parser.[ch]: dropped the locale matching magic since
42239 it would never work for all cases. Instead introduced a special
42240 message so translators can specify the exact tips locale.
42242 2002-02-25 Michael Natterer <mitch@gimp.org>
42244 * app/core/Makefile.am
42245 * app/core/core-types.h
42246 * app/core/gimpitem.[ch]: new base class for something which is a
42247 child of an image, has a PDB ID, a tattoo, parasites and emits
42248 a "removed" signal.
42250 * app/core/gimpdrawable.[ch]
42251 * app/vectors/gimpvectors.[ch]: derive from GimpItem. Removed
42252 lots of stuff from GimpDrawable.
42254 * app/core/gimp.[ch]: changed gimp->drawable_table and
42255 gimp->next_drawable_ID to gimp->item_table and gimp->next_item_id.
42257 * app/undo.[ch]: s/undo_push_drawable_parasite/undo_push_item_parasite/,
42260 * app/core/gimplayer.[ch]: changed gimp_layer_new_from_tiles() and
42261 gimp_layer_new_from_drawable() to take the "dest_gimage" as
42262 second, not first parameter.
42265 * app/core/gimpchannel.c
42266 * app/core/gimpdrawable-blend.c
42267 * app/core/gimpdrawable-bucket-fill.c
42268 * app/core/gimpdrawable-histogram.c
42269 * app/core/gimpdrawable-offset.c
42270 * app/core/gimpdrawable-preview.c
42271 * app/core/gimpdrawable-transform.c
42272 * app/core/gimpedit.c
42273 * app/core/gimpimage-duplicate.c
42274 * app/core/gimpimage-mask.c
42275 * app/core/gimpimage-merge.c
42276 * app/core/gimpimage-pick-color.c
42277 * app/core/gimpimage.c
42278 * app/core/gimplayer-floating-sel.c
42279 * app/display/gimpdisplayshell-dnd.c
42280 * app/file/file-save.c
42281 * app/gui/channels-commands.c
42282 * app/gui/file-save-dialog.c
42283 * app/gui/layers-commands.c
42284 * app/gui/offset-dialog.c
42285 * app/gui/paths-dialog.c
42286 * app/gui/toolbox.c
42287 * app/paint/gimpairbrush.c
42288 * app/paint/gimpclone.c
42289 * app/paint/gimpconvolve.c
42290 * app/paint/gimpdodgeburn.c
42291 * app/paint/gimperaser.c
42292 * app/paint/gimppaintbrush.c
42293 * app/paint/gimppaintcore.c
42294 * app/paint/gimppencil.c
42295 * app/paint/gimpsmudge.c
42296 * app/plug-in/plug-in.c
42297 * app/tools/gimpbezierselecttool.c
42298 * app/tools/gimpbycolorselecttool.c
42299 * app/tools/gimpinktool.c
42300 * app/tools/gimppainttool.c
42301 * app/xcf/xcf-load.c
42302 * app/xcf/xcf-save.c
42303 * app/widgets/gimpdrawablepreview.c: changed accordingly.
42305 * app/widgets/Makefile.am
42306 * app/widgets/widgets-types.h
42307 * app/widgets/gimpitemlistview.[ch]: new widget implementing most
42308 of the stuff formerly done by GimpDrawableListView.
42310 * app/widgets/gimpchannellistview.c
42311 * app/widgets/gimpdrawablelistitem.c
42312 * app/widgets/gimpdrawablelistview.[ch]
42313 * app/widgets/gimplayerlistview.c: changed accordingly.
42315 * app/widgets/gimpdnd.[ch]: added a vectors DND type.
42318 * app/gui/dialogs.c
42319 * app/gui/dialogs-constructors.[ch]: added a vectors dialog and
42320 a vectors item_factory.
42322 * app/gui/Makefile.am
42323 * app/gui/vectors-commands.[ch]: new files implementing the
42324 callbacks for the new vectors dialog and item_factory.
42326 * app/pdb/pdb_glue.h: some more ugly hacks to keep intermediate
42327 perl code working...
42329 * tools/pdbgen/pdb.pl: added a vectors type, use GimpItem for all
42332 * tools/pdbgen/pdb/channel.pdb
42333 * tools/pdbgen/pdb/color.pdb
42334 * tools/pdbgen/pdb/drawable.pdb
42335 * tools/pdbgen/pdb/edit.pdb
42336 * tools/pdbgen/pdb/image.pdb
42337 * tools/pdbgen/pdb/layer.pdb
42338 * tools/pdbgen/pdb/misc_tools.pdb
42339 * tools/pdbgen/pdb/parasite.pdb
42340 * tools/pdbgen/pdb/selection.pdb
42341 * tools/pdbgen/pdb/selection_tools.pdb: misc changes according to
42344 * app/pdb/channel_cmds.c
42345 * app/pdb/color_cmds.c
42346 * app/pdb/drawable_cmds.c
42347 * app/pdb/edit_cmds.c
42348 * app/pdb/floating_sel_cmds.c
42349 * app/pdb/image_cmds.c
42350 * app/pdb/layer_cmds.c
42351 * app/pdb/misc_tools_cmds.c
42352 * app/pdb/paint_tools_cmds.c
42353 * app/pdb/parasite_cmds.c
42354 * app/pdb/selection_cmds.c
42355 * app/pdb/selection_tools_cmds.c
42356 * app/pdb/text_tool_cmds.c
42357 * app/pdb/transform_tools_cmds.c: regenerated.
42359 2002-02-25 Simon Budig <simon@gimp.org>
42361 * app/vectors/gimpbezierstroke.c
42362 * app/tools/gimpvectortool.[ch]
42363 * app/vectors/gimpstroke.[ch]
42364 * app/vectors/gimpvectors.[ch]: Fixed various bugs, *including*
42365 the nasty one from this morning (thanks Mitch).
42367 2002-02-25 Sven Neumann <sven@gimp.org>
42369 * app/gui/tips-parser.[ch]: strip newlines, tabs and adjacent spaces
42370 from string values. Added a naive locale match algorithm. We'll see
42371 how well it works in real life...
42373 * app/gui/tips-dialog.c: call gimp_tips_from_file() with current
42374 locale. Let GTK+ do the line breaks, assorted cosmetic changes.
42376 * tips/de.po: stripped newlines from translation.
42378 2002-02-25 Michael Natterer <mitch@gimp.org>
42380 * app/vectors/Makefile.am
42381 * app/vectors/gimpvectors-preview.[ch]: new files creating dummy
42384 * app/vectors/gimpvectors.[ch]: added a "gimage" pointer.
42386 * app/vectors/gimpbezierstroke.c
42387 * app/vectors/gimpstroke.c: some object stuff fixes.
42389 2002-02-25 Sven Neumann <sven@gimp.org>
42391 * po-libgimp/Makefile.in.in
42392 * po-plug-ins/Makefile.in.in
42393 * po-script-fu/Makefile.in.in: updated, they used to refer to
42394 po/po2tbl.sed which is no longer existant.
42396 2002-02-25 Simon Budig <simon@gimp.org>
42398 * app/vectors/gimpvectors.c
42399 * app/vectors/gimpvectors.h: Changed to a container of
42400 GimpStrokes. This will enable it to contain different
42401 Stroke-types in one Vectors-Object (think Entry in path
42404 * app/vectors/gimpstroke.c
42405 * app/vectors/gimpstroke.h
42406 * app/vectors/gimpbezierstroke.c
42407 * app/vectors/gimpbezierstroke.h: New Objects: A connected
42408 component in a vector.
42410 * app/vectors/gimpbezier.c
42411 * app/vectors/gimpbezier.h: Removed, obsoleted by gimpstroke
42412 and gimpbezierstroke.
42414 * app/tools/gimpvectortool.c
42415 * app/vectors/Makefile.am
42416 * app/vectors/vectors-types.h
42417 * app/vectors/gimpanchor.h: Changed accordingly.
42419 There is a nasty bug I am yet unable to find in the tool.
42420 Don't use it. For some reason a wrong function instead of
42421 gimp_stroke_real_anchor_get_next gets called. I have *no*
42422 idea, whats wrong here. I stared at the code for hours.
42424 If somebody has an idea I'd appreciate a hint.
42426 2002-02-25 Sven Neumann <sven@gimp.org>
42428 * app/gui/Makefile.am
42429 * app/gui/tips-parser.[ch]: new files. A simple XML parser for the
42430 gimp-tips.xml file.
42432 * app/gui/tips-dialog.c: Removed old gimp_tips.txt parsing code and
42433 switched to use gimp-tips.xml with the new parser. This needs some
42436 2002-02-24 Sven Neumann <sven@gimp.org>
42439 * autogen.sh: fixed intltool version number, we need intltool 0.15.
42444 * tips/gimp-tips.xml.in: translation framework for new XML-ized tips
42445 file. Thanks to Carol for converting the tips to XML.
42447 2002-02-24 Michael Natterer <mitch@gimp.org>
42450 * app/undo_types.h: added undo stuff for GimpVectors.
42452 * app/core/gimimage.c: use the new undo functions. Still unused
42455 2002-02-24 Michael Natterer <mitch@gimp.org>
42457 * app/core/core-types.h: added parasite undo groups.
42459 * app/undo.c: added assertions to make undo_push_group_start()
42460 accept only "UndoType" values and undo_push() only "UndoImplType".
42462 * app/core/gimpdrawable.c: use the new undo group and don't
42463 include "undo_types.h".
42465 2002-02-23 Michael Natterer <mitch@gimp.org>
42468 * app/undo.[ch]: added new undo type IMAGE_TYPE_UNDO along with
42469 undo_push_image_type(), removed undoing the base_type from
42470 IMAGE_SIZE_UNDO. Hacked the undo_names a bit.
42472 * app/core/gimpimage-convert.c: call undo_push_image_type().
42474 This removes lots of unneeded invalidations on type/size undo.
42476 2002-02-23 Sven Neumann <sven@gimp.org>
42478 * app/core/gimpdrawable.c: include undo_types.h to fix the build.
42480 2002-02-23 Michael Natterer <mitch@gimp.org>
42482 General undo cleanup:
42484 * app/undo.[ch]: made all undo structs private. Changed all
42485 undo_push_foo() functions to take useful parameters instead of
42486 "gpointer foo_ptr" and create the undo structs internally.
42487 Renamed lots of functions so they are more self-explanatory
42488 (like undo_push_gimage_mod -> undo_push_image_size). Added some
42489 undo functions (channel reordering is undoable now). Never pass
42490 in a UndoType, as they are reseved for groups now (see below).
42491 Lots of cleanup and stuff...
42493 * app/undo_types.h: is a private header now which defines "enum
42494 UndoImplType" which is reserved for actual undo operations.
42495 All enum values are named "FOO_UNDO".
42497 * app/core/core-types.h: added the "UndoType" enum here and don't
42498 include "undo_types.h" any more. The UndoType values are all
42499 named "FOO_UNDO_GROUP" and are reserved for undo groups.
42501 The ID space of actual undo operations and undo groups
42502 is now strictly disjunct.
42504 * app/core/gimpchannel.h
42505 * app/core/gimpimage.h
42506 * app/core/gimplayer.h
42507 * app/core/gimplayermask.h
42508 * app/paint/gimppaintcore.h
42509 * app/tools/gimptransformtool.h: removed undo struct definitions.
42511 * app/undo_history.c
42512 * app/path_transform.h
42513 * app/core/gimpchannel.c
42514 * app/core/gimpdrawable-transform.c
42515 * app/core/gimpedit.c
42516 * app/core/gimpimage-convert.c
42517 * app/core/gimpimage-crop.c
42518 * app/core/gimpimage-mask.c
42519 * app/core/gimpimage-merge.c
42520 * app/core/gimpimage-qmask.c
42521 * app/core/gimpimage-resize.c
42522 * app/core/gimpimage-scale.c
42523 * app/core/gimpimage.c
42524 * app/core/gimplayer-floating-sel.c
42525 * app/core/gimplayer.c
42526 * app/display/gimpdisplayshell-dnd.c
42527 * app/gui/channels-commands.c
42528 * app/gui/image-commands.c
42529 * app/gui/layers-commands.c
42530 * app/gui/paths-dialog.c
42531 * app/paint/gimppaintcore.c
42532 * app/tools/gimpbezierselecttool.c
42533 * app/tools/gimpeditselectiontool.c
42534 * app/tools/gimpmeasuretool.c
42535 * app/tools/gimpmovetool.c
42536 * app/tools/gimptexttool.c
42537 * app/tools/gimptransformtool.c
42538 * tools/pdbgen/pdb/guides.pdb
42539 * tools/pdbgen/pdb/layer.pdb
42540 * tools/pdbgen/pdb/undo.pdb: changed accordingly.
42542 * app/pdb/guides_cmds.c
42543 * app/pdb/layer_cmds.c
42544 * app/pdb/undo_cmds.c: regenerated.
42546 * app/core/gimpimage.[ch]: added infrastructure for holding a
42547 GimpList of GimpVectors objects. The API is the same as for layers
42548 and channels. Not used yet.
42550 2002-02-22 Sven Neumann <sven@gimp.org>
42555 * configure.in: depend on intltool for handling i18n stuff. This
42556 means that you need intltool to compile The GIMP from CVS. Grab
42557 it from ftp://ftp.gnome.org/pub/GNOME/stable/sources/intltool/
42558 or out of gnomecvs module intltool. You shouldn't need it if you
42559 compile The GIMP from tarball.
42561 * data/misc/Makefile.am
42562 * data/misc/gimp.desktop.in.in: merge translations into the desktop
42565 2002-02-22 Sven Neumann <sven@gimp.org>
42568 * configure.in: cleaned up --with-sendmail, --enable-threads and
42569 --enable-mp options. Added --with-gnome-desktop=PATH option.
42571 * data/misc/Makefile.am
42572 * data/misc/gimp.desktop.in.in: install a GNOME desktop file for
42573 The GIMP and create a link so GNOME-2.0 should be able to find it.
42574 Use --with-gnome-desktop=PATH to override the link location.
42576 * data/images/Makefile.am
42577 * data/images/wilber-icon.png: new file to serve as application icon.
42579 * plug-ins/script-fu/script-fu-scripts.c: register script-fu
42580 SF_ADJUSTMENT parameters as GIMP_PDB_FLOAT (spotted by Masahiro
42581 Sakai <zvm01052@nifty.ne.jp>).
42583 2002-02-22 Michael Natterer <mitch@gimp.org>
42586 * app/gimpprogress.[ch]: removed...
42588 * app/display/Makefile.am
42589 * app/display/gimpprogress.[ch]: ...and added here. Prefixed
42590 everything with "gimp_".
42592 * app/gui/image-commands.c
42593 * app/plug-in/plug-in.c
42594 * app/tools/gimpblendtool.c
42595 * app/tools/gimptransformtool.c: changed accordingly.
42597 2002-02-22 Michael Natterer <mitch@gimp.org>
42599 * app/vectors/Makefile
42600 * app/vectors/Makefile.in: removed.
42602 2002-02-22 Simon Budig <simon@gimp.org>
42604 * app/vectors/Makefile
42605 * app/vectors/Makefile.am
42606 * app/vectors/Makefile.in
42607 * app/vectors/gimpanchor.h
42608 * app/vectors/gimpbezier.c
42609 * app/vectors/gimpbezier.h
42610 * app/vectors/gimpvectors.c
42611 * app/vectors/gimpvectors.h
42612 * app/vectors/vectors-types.h: new files, the beginning
42613 of a new vector infrastructure for gimp.
42617 * app/core/core-types.h: changed accordingly.
42619 * app/tools/Makefile.am
42620 * app/tools/gimpvectortool.c
42621 * app/tools/gimpvectortool.h
42622 * app/tools/tools.c: New tool without practical use (yet),
42623 using the new infrastructure.
42627 2002-02-21 Michael Natterer <mitch@gimp.org>
42630 * app/floating_sel.[ch]: removed...
42632 * app/core/Makefile.am
42633 * app/core/gimplayer-floating-sel.[ch]: ...and added here.
42636 * app/core/gimpdrawable-transform.c
42637 * app/core/gimpedit.c
42638 * app/core/gimpimage-convert.c
42639 * app/core/gimpimage-crop.c
42640 * app/core/gimpimage-duplicate.c
42641 * app/core/gimpimage-mask.c
42642 * app/core/gimpimage-merge.c
42643 * app/core/gimpimage-projection.c
42644 * app/core/gimpimage-qmask.c
42645 * app/core/gimpimage-resize.c
42646 * app/core/gimpimage-scale.c
42647 * app/core/gimpimage.c
42648 * app/core/gimplayer.c
42649 * app/gui/layers-commands.c
42650 * app/tools/gimpeditselectiontool.c
42651 * app/tools/gimpfreeselecttool.c
42652 * app/tools/gimpmovetool.c
42653 * app/tools/gimprectselecttool.c
42654 * app/tools/gimptexttool.c
42655 * app/tools/gimptransformtool.c
42656 * app/xcf/xcf-load.c
42657 * app/xcf/xcf-save.c
42658 * plug-ins/tools/common/gimpbrushselecttool.c
42659 * tools/pdbgen/pdb/floating_sel.pdb
42660 * tools/pdbgen/pdb/layer.pdb: changed includes accordingly.
42662 * app/pdb/floating_sel_cmds.c
42663 * app/pdb/layer_cmds.c: regenerated.
42665 2002-02-21 Michael Natterer <mitch@gimp.org>
42667 Made the paint tool PDB wrappers work again (a bit at least...)
42669 * app/Makefile.am: changed linking order. libtool sucks.
42671 * app/undo.c: check if active_tool is a GimpPaintTool before
42674 * app/paint/Makefile.am
42675 * app/paint/paint-types.h: added new files/types.
42677 * app/paint/gimppaintoptions.[ch]: new files cut out of
42678 tools/paint_options.h. Prefixed everything with "Gimp". There is
42679 still GtkWidget* cruft hanging around in the structs...
42681 * app/paint/gimppaintcore-stroke.[ch]: utility function
42682 which paints a stroke array. Needed for the PDB wrappers.
42684 * app/paint/gimpairbrush.[ch]
42685 * app/paint/gimpclone.[ch]
42686 * app/paint/gimpconvolve.[ch]
42687 * app/paint/gimpdodgeburn.[ch]
42688 * app/paint/gimperaser.[ch]
42689 * app/paint/gimppaintbrush.c
42690 * app/paint/gimppaintcore.[ch]
42691 * app/paint/gimppencil.c
42692 * app/paint/gimpsmudge.[ch]: added *_options_new() functions which
42693 create correctly initialized options structures without widgets.
42695 * app/tools/paint_options.[ch]: removed the options struct
42696 definitions and value initialisations.
42698 * app/tools/gimpairbrushtool.c
42699 * app/tools/gimpblendtool.c
42700 * app/tools/gimpbucketfilltool.c
42701 * app/tools/gimpclonetool.c
42702 * app/tools/gimpconvolvetool.c
42703 * app/tools/gimpdodgeburntool.c
42704 * app/tools/gimperasertool.c
42705 * app/tools/gimpinktool.c
42706 * app/tools/gimppaintbrushtool.c
42707 * app/tools/gimppainttool.c
42708 * app/tools/gimppenciltool.c
42709 * app/tools/gimpsmudgetool.c: changed all paint_options functions
42710 accordingly, s/PaintOptions/GimpPaintOptions/g etc., removed all
42711 #if 0'ed non_gui functions.
42713 * tools/pdbgen/pdb/paint_tools.pdb: use gimp_paint_core_stroke().
42714 We currently leak all paint_options structs created by the PDB
42715 wrappers, more stuff to come...
42717 * app/pdb/paint_tools_cmds.c: regenerated.
42719 2002-02-21 Sven Neumann <sven@gimp.org>
42721 * plug-ins/common/glasstile.c: code cleanup based on a patch from
42722 Maurits Rijk <lpeek.mrijk@consunet.nl> (#72051).
42724 2002-02-21 Michael Natterer <mitch@gimp.org>
42726 Implemented #66921 (needs gimp-*-refresh in PDB)
42728 * tools/pdbgen/pdb/gradients.pdb
42729 * tools/pdbgen/pdb/patterns.pdb: added gimp_*_refresh() procedures.
42731 * tools/pdbgen/pdb/palette.pdb: typo: s/patterns/palettes/
42733 * app/pdb/gradients_cmds.c
42734 * app/pdb/internal_procs.c
42735 * app/pdb/palette_cmds.c
42736 * app/pdb/patterns_cmds.c
42737 * libgimp/gimpgradients_pdb.[ch]
42738 * libgimp/gimppalette_pdb.c: regenerated.
42740 2002-02-21 Michael Natterer <mitch@gimp.org>
42742 * app/tools/gimpdrawtool.c: return the corrent value in
42743 g_return_val_if_fail().
42745 * app/tools/gimppainttool.c: removed some more painting logic...
42747 * app/paint/gimppaintcore.[ch]: ...and added it here so the PDB
42748 wrappers can use it too. Added "gboolean use_pressure" which needs
42749 to be set by GimpPaintTool so we don't need access to GdkDevices.
42751 2002-02-20 Sven Neumann <sven@gimp.org>
42753 * plug-ins/common/colortoalpha.c: optimization and cleanup based
42754 on a patch from Maurits Rijk <lpeek.mrijk@consunet.nl> (#72044).
42756 2002-02-20 Michael Natterer <mitch@gimp.org>
42758 Implemented #7100 (initialize layer mask with a copy of the image)
42760 * app/core/core-types.h: added ADD_COPY_MASK and ADD_INV_COPY_MASK
42763 * app/pdb/layer_cmds.c
42764 * libgimp/gimpenums.h
42765 * plug-ins/script-fu/script-fu-constants.c
42766 * tools/pdbgen/enums.pl: regenerated.
42768 * app/core/gimplayer.c (gimp_layer_create_mask): implement
42769 the new layer mask add modes.
42771 * app/gui/layers-commands.c (layers_add_mask_query): added radio
42772 buttons for the new modes.
42774 * app/paint-funcs/paint-funcs.c (flatten_region): this function
42775 was never needed so nobody noticed that it never worked. Fixed now.
42778 * app/core/gimplayermask.h
42779 * app/core/gimpimage.c: the "mode" field of LayerMaskUndo is
42780 obsolete since some earlier 1.3 layer mask change. Removed it.
42781 (Makes mask undos work again)
42783 2002-02-20 Michael Natterer <mitch@gimp.org>
42785 Implemented #10125 ("quick" colour picker does not honour
42788 * app/tools/gimpcolorpickertool.[ch]: made definition of
42789 GimpColorPickerToolOptions public.
42791 * app/tools/gimppainttool.c: get the color picker's tool_options
42792 and pick colors accordingly. Also draw a rectangle for
42795 2002-02-20 Michael Natterer <mitch@gimp.org>
42797 Oops, yesterday's "fix" for #10466 made it even worse :)
42799 * app/core/gimpdrawable-transform.c: need the 0.5 offset to
42800 the pixel's center only for INTERPOLATION_NONE, as the LINEAR
42801 and CUBIC algorithms already know about their errors.
42803 * app/tools/gimpperspectivetool.c
42804 * app/tools/gimpscaletool.c
42805 * app/tools/gimpsheartool.c: some more s/gint/gdouble/ so the
42806 tools can detect pointer motions again...
42808 2002-02-19 Sven Neumann <sven@gimp.org>
42810 * plug-ins/common/vinvert.c: applied a patch with some optimizations
42811 from Maurits Rijk <lpeek.mrijk@consunet.nl> (#71955).
42813 2002-02-19 Michael Natterer <mitch@gimp.org>
42815 Fixed #10466 (disappearing pixels when rotating by 90 deg):
42817 * app/core/gimpdrawable-transform.c: when transforming backwards
42818 to find the destination line's sub-pixel source coordinates, we
42819 need to transform the pixels _center_, not it's upper left corner.
42821 * app/core/gimpdrawable-transform-utils.[ch]: added
42822 gimp_drawable_transform_matrix_rotate_center() which takes double
42823 center coordinates instead of an integer pixel bounding box.
42825 * app/tools/gimptransformtool.[ch]: use double instead of int for
42826 all coordinates except the original bounding box.
42828 * app/tools/gimprotatetool.c: use double whenever touching the
42829 "center" value, so it can be sub-pixel positioned.
42831 2002-02-19 Sven Neumann <sven@gimp.org>
42833 * plug-ins/pagecurl/pagecurl.c: code cleanup based on a patch from
42834 Maurits Rijk <lpeek.mrijk@consunet.nl> (#71866).
42836 2002-02-18 Sven Neumann <sven@gimp.org>
42838 * libgimp/gimpintl.h: removed INIT_LOCALE() macro. Error out if
42839 config.h wasn't included before.
42841 * app/main.c: directly call the appropriate functions to set up I18N.
42843 * libgimp/libgimp-intl.h: error out if config.h wasn't included.
42845 * plug-ins/script-fu/script-fu-intl.h: set codeset to UTF-8.
42847 2002-02-18 Michael Natterer <mitch@gimp.org>
42849 * app/tools/tools-types.h
42850 * app/tools/*.[ch]: chain up unconditionally in control(),
42851 s/ToolAction/GimpToolAction/g, s/ToolState/GimpToolState/g.
42853 * app/tools/gimpbezierselecttool.c
42854 * app/tools/gimpinktool.c
42855 * app/tools/gimppainttool.c: don't touch tool->paused_count
42856 (setting it to 0 was a hack which should no longer be needed).
42858 * app/tools/gimpdrawtool.c: check if the draw tool has actually
42859 been started (draw_tool->gdisp != NULL) before calling it's
42862 * app/tools/tool_manager.c: simplified tool_manager_control_active():
42863 simply call gimp_tool_control() if gdisp == tool->gdisp.
42865 * app/tools/gimptool.[ch]: gimp_tool_control(): do all the PAUSE,
42866 RESUME and HALT voodoo here.
42868 * app/tools/gimppainttool.c: implemented #9902 (Drawing straight
42869 lines does not work between different views). It's an evil hack,
42870 but clearly marked in the source.
42872 2002-02-18 Sven Neumann <sven@gimp.org>
42875 * app/base/temp-buf.c
42876 * app/core/gimpmodules.c
42877 * app/plug-in/plug-in.c
42878 * libgimpbase/gimpenv.c
42879 * libgimpwidgets/gimpfileselection.c
42880 * plug-ins/FractalExplorer/Dialogs.c
42881 * plug-ins/FractalExplorer/FractalExplorer.c
42882 * plug-ins/flame/flame.c
42883 * plug-ins/gfig/gfig.c
42884 * plug-ins/gflare/gflare.c
42885 * plug-ins/gimpressionist/gimpressionist.[ch]: use g_file_test()
42886 instead of stat() whereever possible. Improves code readability.
42888 2002-02-18 Sven Neumann <sven@gimp.org>
42890 * configure.in: require latest glib and gtk+ releases (1.3.14).
42891 Bumped our version number to 1.3.4.
42893 2002-02-18 Sven Neumann <sven@gimp.org>
42895 * app/core/gimpimagefile.c: implement thumbnail loading according
42896 to the latest version of the Thumbnail Managing standard.
42898 * app/widgets/gimpimagefilepreview.[ch]: draw a GTK_DIALOG_QUESTION
42899 pixbuf when no preview is available. The implementation is a bit ugly
42900 but we can improve this later when GimpPreview has been generalized
42901 to accept pixbufs also.
42903 * themes/Default/gtkrc: register the icons for GtkWidget instead of
42904 GtkImage so they can be used from other widgets too.
42906 * plug-ins/common/zealouscrop.c: merged fix for bug #71795 from
42909 2002-02-17 Sven Neumann <sven@gimp.org>
42911 * plug-ins/common/aa.c: code cleanup based on a patch from
42912 Maurits Rijk <lpeek.mrijk@consunet.nl>.
42914 2001-02-17 Manish Singh <yosh@gimp.org>
42916 * app/core/Makefile.am: add a -DGIMP_COMPILATION so cpercep can
42917 optionally include glib.h. This needs to be done in the makefile.msc
42918 too, but I'm unsure on the right way to do that.
42920 * app/core/cpercep.c: guard #include <glib.h> in GIMP_COMPILATION.
42921 cbrt() is a GNU extension, so define in terms of pow if we aren't
42922 on glibc. Guard CLAMP against redefinition.
42924 * plug-ins/gfig/gfig.c
42925 * plug-ins/gflare/gflare.c
42926 * plug-ins/gimpressionist/gimpressionist.c: make them build again
42928 2001-02-17 Hans Breuer <hans@breuer.org>
42930 * */*/makefile.msc */makefile.msc : from now on use
42931 make.msc from $(TOP)/glib/build/win32; all occurences
42932 of DIRENT removed and general update
42934 * app/config/makefile.msc app/paint/makefile.msc
42935 app/plug-in/makefile.msc themes/Default/makefile.msc :
42938 * app/base/base.c : ported to GDir usage
42940 * app/config/gimpconfig-serialize.c :
42941 app/config/gimpconfig-deserialize.c : HAVE_UNISTD_H
42942 * app/config/gimpconfig.c :
42943 app/config/gimprc.c : HAVE_UNISTD_H, use <io.h> for
42944 open() prototype and merged pmode parameter
42945 (_S_IREAD | _S_IWRITE)
42947 * app/core/cpercep.c : msvc doesn't have cbrt(), provide
42948 it via pow(). Also include <glib.h> for painless 'inline'
42951 * app/core/gimpdatafiles.c : ported to GDir usage
42953 * app/core/gimpimage-convert.c : work around a msvc compiler
42954 limitation (can't convert from uint64 to double)
42956 * app/file/file-open.c app/file/file-save.c :
42957 access() -> _access() for G_OS_WIN32
42959 * app/plug-in/plug-in.c : HAVE_UNISTD_H and <io.h>
42961 * libgimpbase/gimpbase.def : updated externals
42963 * libgimpbase/gimpenv.c : define WIN32_LEAN_AND_MEAN to
42964 avoid clashes with incompatible DATADIR definitions
42966 * libgimpcolor/gimpcolor.def : updated externals
42968 * lingimpmath/gimpmath.def : updated externals
42970 * libgimpwidgets/gimpwidgets.def : updated externals
42972 * libgimpwidgets/libgimp-glue.c : adapt to const changes
42975 * plug-ins/makefile.msc : disabled gdyntext
42977 * plug-ins/gap/iter_ALT/*/*.inc : GimpRunModeType -> GimpRunMode
42979 * plug-ins/FractalExplorer/FractalExplorer.c :
42980 * plug-ins/gap/gap_lib.c :
42981 * plug-ins/gfig/gfig.c :
42982 * plug-ins/gflare/gflare.c :
42983 * plug-ins/gimpressionist/gimpressionist.c :
42984 replaced DIRENT usage with GDir
42986 * plug-ins/script-fu/script-fu-scripts.c : #include <windows.h>
42987 to get the Sleep() prototype
42989 2002-02-17 Michael Natterer <mitch@gimp.org>
42991 * app/display/gimpdisplayshell.[ch]: made
42992 gimp_display_shell_update_icon() public, removed the update_icon
42993 signal handler and idle function.
42995 * app/display/gimpdisplayshell-handlers.c: added the update_icon
42996 stuff here so it get's properly dis- and reconnected.
42998 2002-02-17 Michael Natterer <mitch@gimp.org>
43000 Fixed #34633 (wheel mouse zooming leaves straigth-line helpline on
43001 image) and maybe some other stuff caused by the misbehaviour
43004 * app/tools/tools-types.h
43005 * app/tools/tool_manager.c (tool_manager_control_active):
43007 Removed the "PAUSED" ToolState.
43009 The possible state transitions were INACTIVE <-> ACTIVE <-> PAUSED,
43010 where the ACTIVE <-> PAUSED transition was done only in the
43011 tool_manager, causing the tools's control() never to be called
43012 when the tool was INACTIVE.
43014 The GimpPaintTool however wants to draw on the display when it's
43015 INACTIVE, and of course wants to be suspended/resumed correctly
43016 while fiddling with display repainting/scaling/...
43018 The PAUSED state was also redundant information, since
43019 (tool->paused_count > 0) is the same information (only more
43020 correct and independent of tool activity).
43022 * app/display/gimpdisplayshell-scale.[ch]: suspend/resume the
43023 active tool around _all_ changes to the display's "scale" and
43024 "offset" fields. Added new function
43025 gimp_display_shell_scale_by_values() which does that and is called
43026 from all places which need to change these values.
43028 * app/tools/gimpmagnifytool.c: changed accordingly.
43032 * app/paint/gimpairbrush.c: added a #warning FIXME.
43034 * app/tools/gimpdrawtool.c: made a warning more verbose.
43036 * app/tools/gimppainttool.c: put one more drawable offset
43037 calculation in { .. }, will make a utility function out of it...
43039 2002-02-16 Manish Singh <yosh@gimp.org>
43041 * app/gui/file-open-dialog.c: use new GtkFileSelection multiselect
43044 2002-02-15 Michael Natterer <mitch@gimp.org>
43046 * app/display/gimpdisplayshell-handlers.c: added back the handler
43047 which invalidates the display_title on dirty/clean. Removing it
43050 * app/display/gimpdisplayshell-scale.c: don't call
43051 gimp_display_shell_update_title() directly but set
43052 shell->title_dirty to TRUE before calling gdisplays_flush().
43054 * app/paint/gimppaintcore.[ch]: added gimp_paint_core_constrain()
43055 which does the "snap to 15 degrees" stuff formerly done in
43056 GimpPaintTool. Call gimp_brush_select_brush() in
43057 gimp_paint_core_paint() if paint_state == MOTION, not in several
43058 other places. Reordered functions, added some comments and
43061 * app/paint/gimpairbrush.c
43062 * app/paint/gimpclone.c
43063 * app/paint/gimpconvolve.c
43064 * app/paint/gimpdodgeburn.c
43065 * app/paint/gimperaser.c
43066 * app/paint/gimppaintbrush.c
43067 * app/paint/gimppencil.c
43068 * app/paint/gimpsmudge.c:
43069 s/CORE_CAN_HANDLE_CHANGING_BRUSH/CORE_HANDLES_CHANGING_BRUSH/g,
43072 * app/pdb/pdb-types.h: include "paint/paint-types.h"
43074 * app/tools/gimppainttool.[ch]: use gimp_paint_core_constrain(),
43075 removed paint_tool->state because it's not needed any more,
43078 * tools/pdbgen/app.pl: another eeky special case for "paint/".
43080 * tools/pdbgen/pdb/paint_tools.pdb: include stuff from "paint/",
43083 * app/pdb/paint_tools_cmds.c: regenerated.
43085 2002-02-14 Michael Natterer <mitch@gimp.org>
43087 Core/UI separation for the paint tools:
43091 * app/paint/.cvsignore
43092 * app/paint/Makefile.am: added new directory for the paint methods
43093 without GUI and tools around them.
43095 * app/paint/paint-types.h: typedefs for this module.
43097 * app/paint/gimppaintcore-kernels.h
43098 * app/paint/gimppaintcore.[ch]: the general paint logic taken
43099 from GimpPaintTool.
43101 * app/paint/gimpairbrush.[ch]
43102 * app/paint/gimpclone.[ch]
43103 * app/paint/gimpconvolve.[ch]
43104 * app/paint/gimpdodgeburn.[ch]
43105 * app/paint/gimperaser.[ch]
43106 * app/paint/gimppaintbrush.[ch]
43107 * app/paint/gimppencil.[ch]
43108 * app/paint/gimpsmudge.[ch]: subclasses of GimpPaintCore,
43109 implementing their own paint() methods. Needs more hacking
43110 to get the GtkWidget pointers out of the options structs.
43112 * app/tools/gimppainttool_kernels.h: removed.
43114 * app/tools/tools-types.h: removed the paint tool enums.
43116 * app/tools/gimpairbrushtool.[ch]
43117 * app/tools/gimpclonetool.[ch]
43118 * app/tools/gimpconvolvetool.[ch]
43119 * app/tools/gimpdodgeburntool.[ch]
43120 * app/tools/gimperasertool.[ch]
43121 * app/tools/gimppaintbrushtool.[ch]
43122 * app/tools/gimppainttool.[ch]
43123 * app/tools/gimppenciltool.[ch]
43124 * app/tools/gimpsmudgetool.[ch]: all paint tools are pure GUI
43125 things now. PaintOptions and friends still need to be chopped up
43128 * app/undo.c: changed PaintUndo to GimpPaintCoreUndo, some minor
43131 * tools/kernelgen.c: changed accordingly.
43133 * tools/pdbgen/Makefile.am: scan paint/paint-types.h for enums.
43135 * tools/pdbgen/pdb/paint_tools.pdb: hardcode "success = FALSE" for
43136 all paint PDB wrappers. The non-gui stuff is completely broken.
43137 More commits to come...
43139 * app/pdb/paint_tools_cmds.c
43140 * tools/pdbgen/enums.pl: regenerated.
43142 2002-02-13 Michael Natterer <mitch@gimp.org>
43144 * app/tools/gimppainttool.[ch]: moved all global variables into
43145 the GimpPaintTool structure so they have a proper lifecycle and
43146 it's easier to move them to the upcoming GimpPaintCore (??)
43149 * app/tools/gimppainttool_kernels.h
43150 * tools/kernelgen.c: s/SUBSAMPLE/KERNEL_SUBSAMPLE/
43152 2002-02-13 Michael Natterer <mitch@gimp.org>
43154 * app/gui/menus.c: moved "Merge Layers" and "Flatten Image" from
43155 "Layer/" to "Image/", removed them from the "<Layers>" menu
43156 entirely, moved "Merge Down" after "Anchor Layer" in both menus.
43158 * app/gui/image-commands.[ch]: moved callbacks from here...
43160 * app/gui/layers-commands.[ch]: ...to here.
43162 * app/gui/layers-commands.[ch]
43163 * app/display/gimpdisplayshell.c: changed menu_update functions
43166 2002-02-12 Nathan Summers <rock@gimp.org>
43168 * plug-ins/tools/.cvsignore
43169 * plug-ins/tools/Makefile.am: new directory for tool plug-ins
43171 * plug-ins/tools/common/.cvsignore
43172 * plug-ins/tools/common/Makefile.am: unified directory for single-file
43173 tool plug-ins, just like the "common" subdirectory for plug-ins
43175 * plug-ins/tools/common/gimpbrushselecttool.[ch]: start of a
43176 tool plug-in that uses the current brush to select from the image.
43179 * plug-ins/Makefile.am: changed accordingly
43182 2002-02-12 Michael Natterer <mitch@gimp.org>
43184 * app/gui/edit-commands.c: merged partial fix for #62592 from
43187 2002-02-12 Michael Natterer <mitch@gimp.org>
43189 * app/gui/resize-dialog.c: merged fix for #63741 from stable
43190 branch, minor cleanup.
43192 2002-02-12 Sven Neumann <sven@gimp.org>
43194 * app/gui/preferences-dialog.c
43195 * app/gui/resize-dialog.c: changed "Nearest Neighbor" interpolation
43198 2002-02-12 Michael Natterer <mitch@gimp.org>
43200 * app/paint-funcs/paint-funcs.[ch]: scale_region_no_resample() no
43201 longer needs to be public, as we can call
43202 scale_region(src, dest, GIMP_INTERPOLATION_NONE).
43204 2002-02-12 Nathan Summers <rock@gimp.org>
43206 * app/plug-in/plug-in-rc.c: implement a new pluginrc flag,
43207 "has-init", so that only plug-ins with init functions are
43210 * app/plug-in/plug-in.ch
43212 * libgimpbase/gimpprotocol.ch: send a new gimpwire message,
43213 GP_HAS_INIT during the query stage if the plug-in needs to be
43214 initialized. Only invoke the plug-in in init mode if the plug-in
43215 has an init function. Incremented the interface age.
43217 (inspired by a patch by Tor Lillqvist available at
43218 http://bugzilla.gnome.org/showattachment.cgi?attach_id=6214)
43220 2002-02-12 Sven Neumann <sven@gimp.org>
43222 * app/base/base-enums.h: renamed GimpInterpolationType values to
43223 something sane and unexported it from the PDB since it was never
43224 used in any PDB calls.
43227 * app/config/gimpcoreconfig.c
43228 * app/core/gimpcoreconfig.c
43229 * app/core/gimpdrawable-transform.c
43230 * app/core/gimplayer.c
43231 * app/gui/preferences-dialog.c
43232 * app/gui/resize-dialog.c
43233 * app/paint-funcs/paint-funcs.c
43234 * app/pdb/transform_tools_cmds.c
43235 * app/tools/transform_options.c
43236 * tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
43238 * libgimp/gimpenums.h
43239 * plug-ins/script-fu/script-fu-constants.c
43240 * tools/pdbgen/enums.pl: regenerated.
43242 2002-02-11 Nathan Summers <rock@gimp.org>
43244 * app/plug-in/plug-in.[ch]
43245 * libgimp/gimp.c: added support for the init function in plug-ins
43246 (fixes bug #66859).
43248 2002-02-12 Michael Natterer <mitch@gimp.org>
43250 Made the interpolation type configurable in the scale and
43251 transform options dialogs (#69251):
43253 * app/base/base-config.[ch]
43254 * app/config/gimpbaseconfig.[ch]: removed interpolation_type here...
43256 * app/core/gimpcoreconfig.[ch]
43257 * app/config/gimpcoreconfig.[ch]: ...and added it here.
43260 * app/gui/preferences-dialog.c: changed accordingly.
43262 * app/paint-funcs/paint-funcs.[ch]: scale_region: take an
43263 interpolation_type parameter.
43265 * app/core/gimpchannel.[ch]
43266 * app/core/gimpdrawable-transform.[ch]
43267 * app/core/gimpimage-scale.[ch]
43268 * app/core/gimplayer.[ch]: pass interpolation_type parameters to all
43269 scale and transform functions.
43271 * tools/pdbgen/pdb/image.pdb
43272 * tools/pdbgen/pdb/layer.pdb
43273 * tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
43275 * app/gui/resize-dialog.[ch]
43276 * app/tools/transform_options.[ch]: added an interpolation_type menu.
43278 * app/gui/image-commands.c
43279 * app/gui/layers-commands.c
43280 * app/tools/gimptransformtool.c: changed accordingly.
43282 * app/pdb/image_cmds.c
43283 * app/pdb/layer_cmds.c
43284 * app/pdb/transform_tools_cmds.c: regenerated.
43286 2002-02-12 Sven Neumann <sven@gimp.org>
43288 * plug-ins/MapObject/mapobject_preview.c:
43289 s/gdk_image_get/gdk_drawable_get_image/
43291 * plug-ins/MapObject/mapobject_ui.c: fixed wrong refcounting of
43294 2002-02-11 Sven Neumann <sven@gimp.org>
43296 * libgimpmath/Makefile.am
43297 * libgimpmath/gimpmath.h
43298 * libgimpmath/gimpmd5.[ch]
43299 * libgimpmath/test-md5.c: added MD5 digest algorithm (based on code
43300 taken from evolution). We will need this to implement the thumbnail
43301 standard (http://triq.net/~pearl/thumb-spec.php).
43303 2002-02-11 Michael Natterer <mitch@gimp.org>
43306 * app/config/gimpdisplayconfig.[ch]
43307 * app/gui/preferences-dialog.c: made the string which appears in
43308 the display's statusbar configurable separately from the title
43309 string. They still both have the same default value.
43311 * app/display/gimpdisplayshell.c: changed accordingly.
43313 Also added lots of new % expansions which implement all stuff
43314 mentioned in #5843. Didn't apply the original patch because it is
43315 overly complicated (the same can be acheived using %D and %C).
43316 Instead, applied a changed version of gimp-quinet-000618-0.patch.
43317 Added %Cx, which expands to 'x' if the image is clean.
43319 * docs/gimprc-1.3.5.in
43321 * etc/gimprc.win32: added documentation for the new stuff.
43323 2002-02-11 Nathan Summers <rock@gimp.org>
43325 * gui/preferences-dialog.c: s/directory/folder/ and other
43326 bex-approved proofreads.
43328 2002-02-11 Sven Neumann <sven@gimp.org>
43330 * plug-ins/common/jpeg.c: merged fix for bug #69127 from stable branch.
43332 2002-02-11 Michael Natterer <mitch@gimp.org>
43334 * app/tools/gimpbucketfilltool.c
43335 * app/tools/selection_options.c: added missing tooltips, enabled
43336 "reset" for the new select/fill transparent toggles.
43338 2002-02-11 Michael Natterer <mitch@gimp.org>
43341 * etc/gimprc.win32: document the new %m image-title-format expansion.
43343 2002-02-11 Michael Natterer <mitch@gimp.org>
43345 * app/plug-in/plug-in.c: small hack that strips the ellipses
43346 from the "Repeat" and "Re-Show" menu entries.
43348 * plug-ins/mosaic/mosaic.c: register under "Filters/Distorts", not
43349 "Filters/Render" because this plug-in changes the image and
43350 doesn't render something from scratch.
43352 2002-02-11 Sven Neumann <sven@gimp.org>
43354 * TODO.xml: updated.
43356 2002-02-10 Sven Neumann <sven@gimp.org>
43358 * Made 1.3.3 release.
43360 2002-02-10 Sven Neumann <sven@gimp.org>
43366 * app/core/gimpbrushgenerated.c
43367 * app/core/gimpbrushpipe.c
43368 * app/core/gimpdata.c
43369 * app/file/file-open.c
43370 * app/file/file-save.c
43371 * app/file/file-utils.c: don't include ctype.h, use g_ascii_*
43372 functions from GLib instead.
43374 * app/gui/file-open-dialog.c: disabled multiple selection in the
43375 file open dialog until this is fixed in GTK+.
43377 2002-02-10 Adam D. Moss <adam@gimp.org>
43379 * app/core/gimpimage-convert.[ch]:
43380 RGB->Indexed quantizer version 3.0 (the rest of the commit started
43381 a year ago -- whoops). Divide colours within CIE L*a*b* space using
43382 CPercep module (cpercep.[ch]), colour-match and dither likewise,
43383 change the underlying box selection criteria and division point
43384 logic, bump luminance precision upwards, etc. etc.
43386 * app/core/cpercep.[ch] (new files): utility module used by
43387 quantizer for quantifying perceptual colour distances
43389 * app/core/gimpimage-convert-data.h (new file): move the big
43390 static data arrays out of gimpimage-convert.c
43392 * app/core/gimpimage-convert-fsdither.h: static-ify data
43394 * app/core/Makefile.am: add cpercep.[ch] and gimpimage-convert-data.h
43396 2002-02-10 Michael Natterer <mitch@gimp.org>
43398 * app/undo.c: removed #if 0'ed old display update hackery. Don't
43399 flush the displays here at all and include nothing from
43402 * app/undo_history.c
43403 * app/gui/edit-commands.c: call gdisplays_flush() if undo_pop() or
43404 undo_redo() return TRUE.
43406 * app/core/gimpimage-contiguous-region.[ch]: allow a contiguous
43407 transparent region to be selected/filled (#71058).
43409 * app/core/gimpdrawable-bucket-fill.[ch]
43410 * app/core/gimpimage-mask-select.[ch]: take a boolean
43411 fill_transparent/select_transparent parameter and pass it to the
43412 contiguous region funcion.
43414 * app/display/gimpdisplayshell-dnd.c: pass
43415 fill_transparent == FALSE to bucket_fill_full because we fill the
43416 whole drawable anyway here.
43418 * app/tools/gimpbucketfilltool.c
43419 * app/tools/gimpbycolorselecttool.c
43420 * app/tools/gimpfuzzyselecttool.c
43421 * app/tools/selection_options.[ch]: added toggle buttons to the
43422 tool options and pass the value to the fill and select core
43425 * tools/pdbgen/pdb/misc_tools.pdb
43426 * tools/pdbgen/pdb/selection_tools.pdb: hardcode
43427 "select_transparent" to FALSE to get the old behaviour. Should
43428 export the new feature to plug-ins however.
43430 * app/pdb/misc_tools_cmds.c
43431 * app/pdb/selection_tools_cmds.c: regenerated.
43433 2002-02-09 Sven Neumann <sven@gimp.org>
43435 * app/tools/gimptoolmodule.[ch]
43436 * app/tools/tools-types.h
43437 * app/tools/tools.c: code cleanup, no real changes.
43439 2002-02-09 Sven Neumann <sven@gimp.org>
43441 * plug-ins/common/gradmap.c: merged fix for bug #70964 from stable
43444 2002-02-08 Nathan Summers <rock@gimp.org>
43446 * app/tools/gimptoolmodule.[ch]: split registering classes and
43447 registering tools into separate functions. Makes tool plug-ins
43450 * app/tools/tools.c: replaced extremely ugly temporary hack for
43451 loading tool modules with ugly temporary hack for loading tool
43454 2002-02-08 Sven Neumann <sven@gimp.org>
43456 * app/gui/tips-dialog.c
43457 * app/gui/user-install-dialog.c
43458 * libgimpwidgets/gimpfileselection.c
43459 * plug-ins/FractalExplorer/Dialogs.c
43460 * plug-ins/FractalExplorer/FractalExplorer.c
43461 * plug-ins/gfig/gfig.c
43462 * plug-ins/gflare/gflare.c
43463 * plug-ins/gimpressionist/presets.c
43464 * plug-ins/script-fu/script-fu-scripts.c: use the term Folder instead
43465 of Directory (bug #56194).
43468 * etc/gimprc.win32: added global palettes folder to the palettes
43471 * data/misc/user_install: don't copy palettes into users ~/.gimp-1.3.
43473 2002-02-08 Sven Neumann <sven@gimp.org>
43475 * app/config/gimprc.[ch]: added gimp_rc_duplicate() and started to
43476 add inline documentation.
43478 * app/config/test-config.c: test the new functionality.
43480 2002-02-08 Sven Neumann <sven@gimp.org>
43482 * app/config/gimpbaseconfig.c
43483 * app/config/gimpcoreconfig.c
43484 * app/config/gimpdisplayconfig.c
43485 * app/config/gimpguiconfig.c: added missing finalizers.
43487 2002-02-07 Nathan Summers <rock@gimp.org>
43489 * app/tools/gimptoolmodule.[ch]: New class that uses GTypeModule to
43490 dynamically load tool plugins. Does not quite work yet, but builds
43493 * app/tools/tools.c: added some code to test the GimpToolModule code.
43495 * app/tools/Makefile.am: added gimptoolmodule to the build.
43497 2002-02-07 Nathan Summers <rock@gimp.org>
43500 * app/config/gimpcoreconfig.[ch]
43501 * app/core/gimpcoreconfig.[ch]
43502 * app/gui/preferences-dialog.[ch]
43503 * etc/gimprc.in: add a preferences option for tool plug-ins,
43504 in anticipation of future work on them. Tool plug-ins should be
43505 in a separate directory so that the plug-in codecan distinguish
43508 2002-02-07 Michael Natterer <mitch@gimp.org>
43510 * app/core/gimpimage-new.[ch]: renamed the image size utility
43511 functions from foo_size_bar() to foo_memsize_bar(), use "gsize"
43512 instead of "gdouble". Also take the selection mask into account
43513 for the initial image size.
43515 * app/display/gimpdisplayshell.c
43516 * app/gui/file-new-dialog.c: changed accordingly.
43518 * app/display/gimpdisplayshell-handlers.c: connect to "undo_event",
43519 not "dirty" and "clean" to dirty the image title.
43521 * app/tools/gimpmovetool.c: factored common code out to
43522 gimp_move_tool_start_guide(), also set a useful cursor there.
43524 2002-02-07 Sven Neumann <sven@gimp.org>
43526 * app/widgets/gimpwidgets-utils.c (gimp_message_box): changed the
43527 message dialog icon to WARNING since we mostly use this for
43528 warnings. We should change the API so that gimp_message knows
43529 about the severity of the message it displays.
43531 * themes/Default/images/stock-wilber-16x16.png
43532 * themes/Default/images/stock-wilber-32x32.png
43533 * themes/Default/images/stock-wilber-48x48.png
43534 * themes/Default/images/stock-wilber-64x64.png: slightly better icons.
43536 * themes/Default/Makefile.am
43537 * themes/Default/images/Makefile.am
43538 * themes/Default/images/stock-wilber-eek.png: added a new eek wilber
43539 based on suggestions made in bug-report #65194. Actually I'd like it
43540 be more eeeky, so feel free to submit a better one.
43542 * libgimpwidgets/gimpstock.[ch]: register the new stock icon.
43544 * app/gui/gui.c (gui_really_quit_dialog): use STOCK_WILBER_EEK.
43546 2002-02-07 Sven Neumann <sven@gimp.org>
43548 * app/gui/file-new-dialog.c
43549 * app/gui/resize-dialog.c
43550 * app/tools/gimpbrightnesscontrasttool.c
43551 * app/tools/gimpcolorbalancetool.c
43552 * app/tools/gimpcroptool.c
43553 * app/tools/gimphuesaturationtool.c
43554 * app/tools/gimpposterizetool.c
43555 * app/tools/gimpthresholdtool.c
43556 * app/tools/gimptransformtool.c: moved Cancel button to the left.
43558 * data/images/Makefile.am
43559 * data/images/tips_wilber.png: removed ...
43560 * data/images/wilber-tips.png: ... and readded under a new name.
43562 * app/gui/tips-dialog.c: changed accordingly.
43564 * data/images/wilber-wizard.png: new wilber for the user installation
43567 * app/gui/user-install-dialog.c: use the new wilber icon. We still
43568 need a good new eeek wilber.
43570 * themes/Default/gtkrc: don't change the default font size.
43572 2002-02-06 Michael Natterer <mitch@gimp.org>
43574 * app/core/gimpobject.c: made the gimp_object_get_memsize()
43575 debugging output configurable by a global "gimp_debug_memsize"
43578 * app/display/gimpdisplay.c: removed duplicated prototype.
43580 * app/display/gimpdisplayshell.[ch]: renamed the various cursor
43581 functions to be more consistent and shorter. Compress window title
43582 updates by adding a "gboolean title_dirty" and updating the title
43583 in gimp_display_shell_flush(). Added "%m" (memory size) to the
43584 possible title string substitutions.
43586 * app/display/gimpdisplay-foreach.c
43587 * app/display/gimpdisplayshell-handlers.c
43588 * app/tools/gimpfuzzyselecttool.c
43589 * app/tools/gimptool.c: changed accordingly.
43591 * app/display/gimpdisplayshell-callbacks.c: forgot to grab the
43592 pointer when dragging guides from the rulers. Coincidentially,
43593 this also fixes the buggy offset between guide and mouse
43595 Cleaned up the main tool event callback a bit more.
43597 * app/widgets/gimppreview.c
43598 * app/gui/commands.c: set the new global "gimp_debug_memsize"
43599 toggle to TRUE while calling gimp_object_get_memsize().
43601 * app/gui/preferences-dialog.c: added a image title example
43602 containing the new "%m" feature.
43604 * docs/gimprc-1.3.5.in: document "%m" in the manpage.
43606 * app/tools/gimpbezierselecttool.c: reordered some statements.
43608 * app/tools/gimpdrawtool.[ch]: store the GimpDisplay passed to
43609 gimp_draw_tool_start() in draw_tool->gdisp and use it for
43610 coordinate transfomration. This way we can draw on a display
43611 which is not tool->gdisp.
43613 * app/tools/gimppainttool.c: changed the gimp_draw_tool_foo()
43614 calls needed to make the straight_line preview work in a way
43615 that does not interfere with paint_tool subclasses which want
43616 to do their own drawing (like the clone tool).
43618 Also changed the paint_tools PRETRACE_PAINT and POSTTRACE_PAINT
43619 flags usage in a way that subclasses can use them without major
43620 hackery: don't simply wrap gimp_display_flush_now() with
43621 PRETRACE/POSTTRACE calls, but wrap the actual painting calls, so
43622 subclasses are able to do useful things with paint_tool->*_coords.
43624 * app/tools/gimpclonetool.c: removed poking around in draw_tool
43625 internals and simply suspend()/resume() it in
43626 PRETRACE_PAINT/POSTTRACE_PAINT to get the clone_src indicator
43629 2002-02-05 Michael Natterer <mitch@gimp.org>
43631 * plug-ins/FractalExplorer/Dialogs.c
43632 * plug-ins/FractalExplorer/FractalExplorer.c
43633 * plug-ins/Lighting/lighting_ui.c
43634 * plug-ins/MapObject/mapobject_ui.c
43635 * plug-ins/flame/flame.c
43636 * plug-ins/fp/fp_gtk.c
43637 * plug-ins/gfig/gfig.c
43638 * plug-ins/gflare/gflare.c
43639 * plug-ins/gfli/gfli.c
43640 * plug-ins/ifscompose/ifscompose.c
43641 * plug-ins/maze/maze_face.c
43642 * plug-ins/mosaic/mosaic.c
43643 * plug-ins/rcm/rcm_dialog.c
43644 * plug-ins/sel2path/sel2path.c: reordered action_area buttons.
43646 * themes/Default/gtkrc: namespace cleanup.
43648 2002-02-05 Michael Natterer <mitch@gimp.org>
43650 Removed pointer grabbing from all tools:
43652 * app/tools/gimptool.[ch]: added "gboolean perfectmouse" which
43653 defaults to FALSE but can be set to TRUE in a tool's instance_init
43656 * app/display/gimpdisplayshell-callbacks.c: look at
43657 active_tool->perfectmouse and gimprc.perfectmouse and do the
43658 pointer grab/ungrab here. The pointer is now grabbed right before
43659 dispatching the button_press to the tool and ungrabbed after
43660 the tool's button_release has returned. It is also grabbed
43661 *always*, not only if tool->state got ACTIVE by button_press,
43662 which makes it all much simpler...
43664 * app/tools/gimpbezierselecttool.c
43665 * app/tools/gimpblendtool.c
43666 * app/tools/gimpbucketfilltool.c
43667 * app/tools/gimpbycolorselecttool.c
43668 * app/tools/gimpclonetool.c
43669 * app/tools/gimpcolorpickertool.c
43670 * app/tools/gimpcroptool.c
43671 * app/tools/gimpeditselectiontool.c
43672 * app/tools/gimpfliptool.c
43673 * app/tools/gimpfreeselecttool.c
43674 * app/tools/gimpfuzzyselecttool.c
43675 * app/tools/gimpinktool.c
43676 * app/tools/gimpiscissorstool.c
43677 * app/tools/gimpmagnifytool.c
43678 * app/tools/gimpmeasuretool.c
43679 * app/tools/gimpmovetool.c
43680 * app/tools/gimppainttool.c
43681 * app/tools/gimppathtool.c
43682 * app/tools/gimprectselecttool.c
43683 * app/tools/gimpselectiontool.c
43684 * app/tools/gimptexttool.c
43685 * app/tools/gimptransformtool.c: removed
43686 gdk_pointer_grab()/ungrab() calls all over the place. Also removed
43687 inclusion of "display/gimpdisplayshell.h" from most of them.
43689 2002-02-04 Michael Natterer <mitch@gimp.org>
43691 * app/tools/gimptool.[ch]: added fields for both the tool's
43692 toggled and untoggled GdkCursorType, GimpToolCursorType and
43693 GimpCursorModifier. Added a default implementation of
43694 gimp_tool_cursor_update() which uses the new fields. Added
43695 gimp_tool_set_cursor() as simple wrapper around the resp.
43696 GimpDisplayShell functions so tools don't need to know them.
43698 Tool implementations can either set the new fields in their
43699 cursor_update() function and chain up or call the new wrapper.
43701 * app/tools/gimpbezierselecttool.c
43702 * app/tools/gimpblendtool.c
43703 * app/tools/gimpbucketfilltool.c
43704 * app/tools/gimpbycolorselecttool.c
43705 * app/tools/gimpclonetool.c
43706 * app/tools/gimpcolorpickertool.c
43707 * app/tools/gimpconvolvetool.c
43708 * app/tools/gimpcroptool.c
43709 * app/tools/gimpdodgeburntool.c
43710 * app/tools/gimperasertool.c
43711 * app/tools/gimpfliptool.c
43712 * app/tools/gimpinktool.c
43713 * app/tools/gimpiscissorstool.c
43714 * app/tools/gimpmagnifytool.c
43715 * app/tools/gimpmeasuretool.c
43716 * app/tools/gimpmovetool.c
43717 * app/tools/gimppainttool.[ch]
43718 * app/tools/gimppathtool.c
43719 * app/tools/gimpselectiontool.c
43720 * app/tools/gimpsmudgetool.c
43721 * app/tools/gimptexttool.c
43722 * app/tools/gimptransformtool.c: changed accordingly:
43724 - set default values in the tools' instance_init functions.
43725 - changed the cursor_update() stuff.
43726 - removed inclusion of subclasses in gimppainttool.c
43727 - the cursor_update() functions are better than before but still evil.
43728 - i probably broke some of them...
43730 * app/tools/gimptool.c: fixed NULL pointer dereference by using
43731 the tools's class name as identifier for gimp_statusbar_foo()
43732 instead of accessing tool->tool_info (which may be NULL)
43733 (spotted by David Odin).
43735 2002-02-03 Manish Singh <yosh@gimp.org>
43737 * libgimpwidgets/gimpwidgets.c: ref and sink the adjustment we use
43738 for the mem_size_entry.
43740 2002-02-03 Manish Singh <yosh@gimp.org>
43742 * docs/Makefile.am: don't install gimp-remote manpage yet
43744 2002-02-03 Sven Neumann <sven@gimp.org>
43746 * app/core/gimpimage-convert.c: merged fix from stable branch (#70344).
43748 * plug-ins/common/smooth_palette.c: merged fix from stable branch
43751 2002-02-03 Manish Singh <yosh@gimp.org>
43754 * tools/Makefile.am: commit everything this time (see my previous
43757 2002-02-03 Sven Neumann <sven@gimp.org>
43760 * tools/Makefile.am: fixed the build by trying to do the changes
43761 Yosh didn't commit.
43763 2002-02-03 Sven Neumann <sven@gimp.org>
43765 * plug-ins/script-fu/scripts/frosty-logo.scm: don't redefine min.
43766 Thanks to Jeff Trefftzs <trefftzs@tcsn.net> for spotting this.
43768 2002-02-03 Michael Natterer <mitch@gimp.org>
43770 * app/display/Makefile.am
43771 * app/display/display-types.h
43772 * app/display/gimpstatusbar.[ch]: new widget derived from
43773 GtkStatusbar. Contains the coordinates display, a progress bar
43774 which is also used for status message display and a cancel button.
43775 Added a simplified API for pushing/popping messages which takes a
43776 string as context_id and does the conversion to guint internally
43779 * app/display/gimpdisplayshell.[ch]: removed the status bar code.
43781 * app/display/gimpdisplayshell-callbacks.c
43782 * app/display/gimpdisplayshell-handlers.c
43783 * app/display/gimpdisplayshell-scale.c
43784 * app/gui/view-commands.c
43785 * app/gimpprogress.c: changed accordingly.
43787 Removed knowledge about GimpDisplayShell from tools:
43789 * app/tools/gimptool.[ch]: added gimp_tool_push_status() and
43790 gimp_tool_pop_status() so tools don't need to fiddle with
43793 * app/tools/gimpdrawtool.[ch]: pass a GimpDisplay instead of
43794 a GdkWindow to gimp_draw_tool_start() (the window passed was
43795 always gdisp->shell->canvas->window).
43797 * app/tools/gimpbezierselecttool.c
43798 * app/tools/gimpblendtool.[ch]
43799 * app/tools/gimpclonetool.c
43800 * app/tools/gimpcolorpickertool.c
43801 * app/tools/gimpcroptool.[ch]
43802 * app/tools/gimpeditselectiontool.c
43803 * app/tools/gimpfreeselecttool.c
43804 * app/tools/gimpfuzzyselecttool.c
43805 * app/tools/gimpiscissorstool.c
43806 * app/tools/gimpmagnifytool.c
43807 * app/tools/gimpmeasuretool.[ch]
43808 * app/tools/gimpmovetool.c
43809 * app/tools/gimppainttool.[ch]
43810 * app/tools/gimppathtool.c
43811 * app/tools/gimprectselecttool.[ch]
43812 * app/tools/gimptransformtool.c: changed accordingly:
43814 - pass GimpDisplay to gimp_draw_tool_start().
43815 - use GimpTool's new status push/pop functions.
43816 - removed the statusbar context_id from all tool structs.
43818 * app/gui/dialogs-constructors.[ch]: a bit cleanup in preparation
43819 of dockable editor dialogs.
43821 2002-02-02 Manish Singh <yosh@gimp.org>
43827 * plug-ins/print/Makefile.am
43828 * tools/Makefile.am
43829 * (the various manpages): versioned the binaries and manpages.
43830 Added an --enable-default-binary switch to configure to make
43831 symlinks for unversioned things (defaults to no for 1.3). The
43832 perl stuff isn't touched, but that's disabled in the build here
43835 2002-02-01 Manish Singh <yosh@gimp.org>
43837 * libgimpwidgets/gimppatheditor.[ch]: treeviewized and undeprecated
43839 * plug-ins/webbrowser/webbrowser.c: set_size_request takes a 0 size
43840 and makes it 1 instead of -1 like set_usize did, so pass -1
43842 2002-01-31 Simon Budig <simon@gimp.org>
43844 * plug-ins/rcm/rcm.c: register as "plug_in_rotate_colormap"
43845 instead of "plug-in-rotate-colormap". This fixes the usage
43846 in gimp-python (despite the fact that there is no PDB
43849 2002-01-31 Michael Natterer <mitch@gimp.org>
43852 * app/core/gimpdocuments.c
43853 * app/core/gimpmodules.c
43854 * app/core/gimppalette.c: fixed some get_memsize()
43855 implementations, give useful names to some global objects so the
43856 new mem profile of "the_gimp" looks nicer.
43859 * app/gui/commands.[ch]: added a "Debug" menu to the toolbox,
43860 offer a mem profile of the global "Gimp" instance.
43862 2002-01-31 Michael Natterer <mitch@gimp.org>
43864 * app/core/gimplayer.[ch]: removed gimp_layer_has_alpha(), use
43865 gimp_drawable_has_alpha() instead.
43867 * app/core/gimpimage-convert.c
43868 * app/core/gimpimage-merge.c
43869 * app/core/gimpimage-projection.c
43870 * app/display/gimpdisplayshell.c
43871 * app/gui/layers-commands.c: changed accordingly.
43873 * app/core/gimpimage.[ch]: added gimp_image_has_alphe(), made some
43874 variable names more verbose and use enum types instead of "gint"
43875 in functions calling initial_region() and combine_regions().
43877 * app/widgets/gimpchannellistview.c: show an alpha channel preview
43878 only if the image has alpha.
43880 * app/widgets/gimppreview.c: reordered functions,
43881 gimp_preview_render_and_flush(): fixed channel preview rendering,
43882 calculate the component byte offsets before entering the render
43883 loop instead of duplicating the render code for the gray/alpha
43886 2002-01-31 Sven Neumann <sven@gimp.org>
43888 * app/widgets/gimpfontselection-dialog.c: use GtkTreeViews instead of
43889 deprecated GtkCLists.
43891 * app/widgets/gimpfontselection.c: use a proper size for the eeky hack.
43893 2002-01-31 Manish Singh <yosh@gimp.org>
43895 * app/gui/file-open-dialog.c: fixed up so it works with the patch
43896 I posted to gtk-devel-list. Real fix pending discussion there.
43898 2002-01-30 Sven Neumann <sven@gimp.org>
43900 * app/gui/about-dialog.c: GDK_RGB_DITHER_NORMAL should be good enough.
43902 * app/gui/preferences-dialog.c: undef GTK_DISABLE_DEPRECATED for
43905 * app/widgets/gimpcomponentlistitem.c: don't use GtkPreview methods
43906 on a GimpPreview. The component views are still broken but at least
43907 the warnings are gone.
43909 * app/widgets/gimpfontselection.c: fixed warnings by hardcoding a
43910 font size when validating a font name :-(
43912 * app/widgets/gimppreview.c: set allocation to desired size.
43914 * libgimpwidgets/gimpcolorarea.c: flipped so it looks like before
43915 the port to GtkDrawingArea. Use GDK_RGB_DITHER_MAX to render.
43917 2002-01-30 Michael Natterer <mitch@gimp.org>
43919 * app/widgets/gimppreview.[ch]: derive from GtkDrawingArea
43920 instead of deprecated GtkPreview.
43922 * app/gui/buffers-commands.c
43923 * app/gui/device-status-dialog.c
43924 * app/gui/dialogs-constructors.c
43925 * app/gui/indicator-area.c
43926 * app/gui/info-window.c
43927 * app/gui/palette-import-dialog.c
43928 * app/gui/palettes-commands.c
43929 * app/gui/test-commands.c
43930 * app/gui/tool-options-dialog.c
43931 * app/gui/toolbox.c
43932 * app/widgets/gimpdnd.c
43933 * app/widgets/gimpimagedock.c
43934 * app/widgets/gimpmenuitem.c: removed #undef GTK_DISABLE_DEPRECATED.
43936 2002-01-30 Michael Natterer <mitch@gimp.org>
43938 * libgimpwidgets/gimpcolorarea.c: pass a GdkGC to
43939 gdk_draw_rgb_image(), fixed dither offsets.
43941 * app/core/gimpobject.[ch]: new virtual function
43942 gimp_object_get_memsize().
43944 * app/base/temp-buf.[ch]
43945 * app/base/tile-manager.[ch]: added *_get_memsize() methods.
43948 * app/core/gimpbrush.c
43949 * app/core/gimpbrushpipe.c
43950 * app/core/gimpbuffer.c
43951 * app/core/gimpchannel.c
43952 * app/core/gimpcontainer.c
43953 * app/core/gimpcontext.c
43954 * app/core/gimpdata.c
43955 * app/core/gimpdatafactory.c
43956 * app/core/gimpdrawable.c
43957 * app/core/gimpgradient.c
43958 * app/core/gimpimage.c
43959 * app/core/gimplayer.c
43960 * app/core/gimplist.c
43961 * app/core/gimpmoduleinfo.c
43962 * app/core/gimppalette.c
43963 * app/core/gimpparasitelist.c
43964 * app/core/gimppattern.c
43965 * app/core/gimppreviewcache.[ch]
43966 * app/core/gimpundo.[ch]
43967 * app/core/gimpundostack.c
43968 * app/core/gimpviewable.c: added get_memsize() implementations.
43970 * app/widgets/gimppreview.c
43971 * app/core/gimpobject.[ch]: some #ifdef DEBUG_MEMSIZE code to
43972 test the new memsize stuff (middle click any preview to get
43973 it's viewable's memory footprint).
43975 2002-01-30 Sven Neumann <sven@gimp.org>
43977 * plug-ins/FractalExplorer/Events.c
43978 * plug-ins/FractalExplorer/FractalExplorer.[ch]
43979 * plug-ins/FractalExplorer/Globals.c
43980 * plug-ins/common/film.c
43981 * plug-ins/common/plugindetails.c
43982 * plug-ins/fp/fp_misc.c
43983 * plug-ins/rcm/rcm_callback.c
43984 * plug-ins/rcm/rcm_misc.c: removed the ugly hacks and simply define
43985 GTK_DISABLE_DEPRECATED before including gtk.h.
43987 2002-01-30 Sven Neumann <sven@gimp.org>
43989 * libgimpwidgets/gimpcolorarea.[ch]: derive from GtkDrawingArea
43990 instead of deprecated GtkPreview.
43993 * app/gui/brush-editor.c
43994 * app/gui/buffers-commands.c
43995 * app/gui/color-select.c
43996 * app/gui/colormap-dialog.c
43997 * app/gui/device-status-dialog.c
43998 * app/gui/dialogs-constructors.c
43999 * app/gui/file-open-dialog.c
44000 * app/gui/gradient-editor.c
44001 * app/gui/indicator-area.c
44002 * app/gui/info-window.c
44003 * app/gui/palette-editor.c
44004 * app/gui/palette-import-dialog.c
44005 * app/gui/palettes-commands.c
44006 * app/gui/test-commands.c
44007 * app/gui/tool-options-dialog.c
44008 * app/gui/toolbox.c
44009 * app/tools/gimpbycolorselecttool.c
44010 * app/tools/gimpcurvestool.c
44011 * app/tools/gimphistogramtool.c
44012 * app/tools/gimphuesaturationtool.c
44013 * app/tools/gimplevelstool.c
44014 * app/widgets/gimpchannellistview.c
44015 * app/widgets/gimpcomponentlistitem.c
44016 * app/widgets/gimpdnd.c
44017 * app/widgets/gimpdrawablelistitem.c
44018 * app/widgets/gimpdrawablelistview.c
44019 * app/widgets/gimpimagedock.c
44020 * app/widgets/gimpitemfactory.c
44021 * app/widgets/gimplayerlistitem.c
44022 * app/widgets/gimplistitem.c
44023 * app/widgets/gimpmenuitem.c
44024 * app/widgets/gimppreview.c
44025 * libgimp/gimpbrushmenu.c
44026 * libgimp/gimpgradientmenu.c
44027 * libgimp/gimpmenu.c
44028 * libgimp/gimppatternmenu.c
44029 * plug-ins/FractalExplorer/Dialogs.c
44030 * plug-ins/common/AlienMap.c
44031 * plug-ins/common/AlienMap2.c
44032 * plug-ins/common/CML_explorer.c
44033 * plug-ins/common/blinds.c
44034 * plug-ins/common/curve_bend.c
44035 * plug-ins/common/depthmerge.c
44036 * plug-ins/common/despeckle.c
44037 * plug-ins/common/destripe.c
44038 * plug-ins/common/diffraction.c
44039 * plug-ins/common/emboss.c
44040 * plug-ins/common/exchange.c
44041 * plug-ins/common/flarefx.c
44042 * plug-ins/common/fractaltrace.c
44043 * plug-ins/common/glasstile.c
44044 * plug-ins/common/gqbist.c
44045 * plug-ins/common/grid.c
44046 * plug-ins/common/illusion.c
44047 * plug-ins/common/iwarp.c
44048 * plug-ins/common/jigsaw.c
44049 * plug-ins/common/mapcolor.c
44050 * plug-ins/common/max_rgb.c
44051 * plug-ins/common/newsprint.c
44052 * plug-ins/common/nlfilt.c
44053 * plug-ins/common/noisify.c
44054 * plug-ins/common/nova.c
44055 * plug-ins/common/plasma.c
44056 * plug-ins/common/polar.c
44057 * plug-ins/common/sample_colorize.c
44058 * plug-ins/common/scatter_hsv.c
44059 * plug-ins/common/sharpen.c
44060 * plug-ins/common/sinus.c
44061 * plug-ins/common/tileit.c
44062 * plug-ins/common/video.c
44063 * plug-ins/common/waves.c
44064 * plug-ins/common/whirlpinch.c
44065 * plug-ins/common/wind.c
44066 * plug-ins/flame/flame.c
44067 * plug-ins/fp/fp_gtk.c
44068 * plug-ins/gimpressionist/brush.c
44069 * plug-ins/mosaic/mosaic.c
44070 * plug-ins/rcm/rcm_dialog.c: define GTK_DISABLE_DEPRECATED to make
44073 We really need a generic plug-in preview system that doesn't use
44076 2002-01-30 Sven Neumann <sven@gimp.org>
44078 * configure.in: depend on glib-1.3.13, pango-0.24 and gtk+-1.3.13.
44079 Bumped our version number to 1.3.3.
44083 2002-01-30 Manish Singh <yosh@gimp.org>
44085 * app/gui/file-open-dialog.c: ported to the new treeviewized file
44086 selection widget. Unfortunately, multiple selections aren't supported
44087 anymore so it's still broke. I'll make a patch to gtk to address this
44088 after I get some sleep.
44090 * app/widgets/gimppreview.h
44091 * libgimpwidgets/gimpcolorarea.h
44092 * plug-ins/FractalExplorer/Events.c
44093 * plug-ins/common/film.c
44094 * plug-ins/common/plugindetails.c
44095 * plug-ins/fp/fp_misc.c
44096 * plug-ins/rcm/rcm_callback.c
44097 * plug-ins/rcm/rcm_misc.c: REALLY REALLY ugly hack to get things to
44098 build under the latest enum deprecations. Of course, we'll remove
44099 these when these files compile with deprecation turned on
44101 * plug-ins/dbbrowser/dbbrowser_utils.c: warning cleanup
44103 * libgimpwidgets/Makefile.am
44104 * libgimpwidgets/gimpoffsetarea.c: need a custom marshaller for
44105 our signal since the gtk marshaller we used went away.
44107 2002-01-29 Sven Neumann <sven@gimp.org>
44109 * plug-ins/common/screenshot.c: added a call to gtk_widget_show() that
44110 got lost during porting. Now you can shoot the whole screen again.
44112 2002-01-27 Sven Neumann <sven@gimp.org>
44114 * app/gui/file-new-dialog.c: moved the memory size information out
44115 of the frame label to avoid redrawing the whole frame for every change.
44117 2002-01-25 Michael Natterer <mitch@gimp.org>
44119 * configure.in: CPPFLAGS: added -DGTK_DISABLE_DEPRECATED
44121 * libgimpwidgets/gimpdialog.c: still use the deprecated
44122 gtk_window_set_policy() but spit out a #warning.
44124 * app/widgets/widgets-types.h
44125 * app/widgets/gimpitemfactory.[ch]: made it a GtkItemFactory
44126 subclass. This way we can reproduce the effect of
44127 gtk_item_factory_get_from_path() which is deprectated for good
44128 reasons. For GIMP, using it its perfectly OK since we only have
44129 one item factory per "<prefix>".
44131 * app/widgets/gimpbrushfactoryview.[ch]
44132 * app/widgets/gimpbufferview.[ch]
44133 * app/widgets/gimpcontainereditor.[ch]
44134 * app/widgets/gimpdatafactoryview.[ch]
44135 * app/widgets/gimpdialogfactory.[ch]
44136 * app/widgets/gimpdock.c
44137 * app/widgets/gimpdockbook.c
44138 * app/widgets/gimpdocumentview.[ch]
44139 * app/widgets/gimpdrawablelistview.[ch]
44140 * app/widgets/gimppreview.c
44141 * app/display/gimpdisplayshell-callbacks.c
44142 * app/display/gimpdisplayshell.[ch]: pass around GimpItemFactory
44143 pointers instead of "const gchar *" item factory identifiers.
44144 Replaced gtk_window_set_policy() by gtk_window_set_resizable()
44145 and other recommended stuff.
44147 * app/gui/about-dialog.c
44148 * app/gui/dialogs-constructors.c
44149 * app/gui/dialogs.c
44150 * app/gui/file-open-dialog.c
44151 * app/gui/file-save-dialog.c
44152 * app/gui/gradient-editor.c
44154 * app/gui/offset-dialog.c
44156 * app/gui/tips-dialog.c
44157 * app/gui/toolbox.c: lots of
44158 s/gtk_item_factory_from_path/gimp_item_factory_from_path/,
44159 gtk_window_set_policy() replacements, misc fixes.
44161 * plug-ins/gdyntext/charmap_window.c
44162 * plug-ins/gdyntext/gdyntext_ui.c
44163 * plug-ins/gdyntext/message_window.c
44164 * plug-ins/imagemap/imap_main.c: replaced gtk_window_set_policy().
44166 2002-01-25 Michael Natterer <mitch@gimp.org>
44168 * plug-ins/common/tga.c
44169 * plug-ins/common/video.c: compile with GTK_DISABLE_DEPRECATED.
44171 2002-01-24 Sven Neumann <sven@gimp.org>
44173 * plug-ins/common/tga.c: merged fix for bug #53278 from stable branch.
44175 * plug-ins/common/tiff.c: merged fix for bug #69129 from stable branch.
44177 2002-01-23 Simos Xenitellis <simos@hellug.gr>
44179 * configure.in: Added "el" (Greek) to ALL_LINGUAS.
44181 2002-01-22 Sven Neumann <sven@gimp.org>
44183 * gimptool-1.3.in: fixed usage info.
44185 * themes/Default/images/Makefile.am: should really install the stock
44186 icons defined in our gtkrc.
44188 2002-01-18 Raja R Harinath <harinath@cs.umn.edu>
44190 * configure.in: Add a few [] to nested AC_CHECK_* invocations.
44191 Needed for autoconf 2.52, but also the right fix for older
44192 autoconfs. (http://bugzilla.gnome.org/show_bug.cgi?id=68958)
44194 * app/gui/Makefile.am
44195 * app/tools/Makefile.am
44196 * app/widgets/Makefile.am: Search for include files in build
44197 directory too. (http://bugzilla.gnome.org/show_bug.cgi?id=68961)
44199 2002-01-15 Michael Natterer <mitch@gimp.org>
44201 * plug-ins/common/video.c
44202 * plug-ins/common/vinvert.c
44203 * plug-ins/common/vpropagate.c
44204 * plug-ins/common/warp.c
44205 * plug-ins/common/waves.c
44206 * plug-ins/common/whirlpinch.c
44207 * plug-ins/common/wind.c
44208 * plug-ins/common/wmf.c
44209 * plug-ins/common/xbm.c
44210 * plug-ins/common/xpm.c
44211 * plug-ins/common/xwd.c: compile with GTK_DISABLE_DEPRECATED.
44213 2002-01-14 Rebecca Walter <bex@gimp.org>
44215 * app/gui/palette-editor.c
44216 * app/gui/palette-import-dialog.c
44217 * app/gui/paths-dialog.c: more proofreading with help from
44218 CyBeR (Marco Wessel)
44220 2002-01-13 Manish Singh <yosh@gimp.org>
44222 * plug-ins/dbbrowser/dbbrowser_utils.c: I'm dumb, use better sorting.
44223 It's all _kris_'s fault.
44225 2002-01-13 Michael Natterer <mitch@gimp.org>
44227 * libgimpwidgets/gimpstock.[ch]: removed stock items which are
44228 already defined in Gtk+ (GTK_STOCK_NEW etc.).
44230 * libgimpwidgets/gimpquerybox.[ch]: moved the icon code from the
44231 boolean query box constructor to create_query_box() so it can be
44232 used for all of them. New macro GIMP_QUERY_BOX_VBOX() to pack
44233 custom widgets into the dialogs. Will probably have to make a
44234 real widget out of it to get a sane API...
44237 * app/gui/select-commands.c
44238 * app/widgets/gimpbufferview.c
44239 * app/widgets/gimpdatafactoryview.c
44240 * app/widgets/gimpdocumentview.c
44241 * app/widgets/gimpdrawablelistview.c
44242 * libgimpwidgets/gimppatheditor.c
44243 * plug-ins/common/uniteditor.c: changed accordingly.
44245 * libgimpwidgets/gimpwidgets.c: register the WM icons in
44246 large -> small order.
44248 * themes/Default/Makefile.am: don't create inline pixbufs of the
44249 removed stock items' icons...
44251 * themes/Default/gtkrc: ...but simply override them here.
44253 * themes/Default/imagerc: removed them here too.
44255 2002-01-12 Manish Singh <yosh@gimp.org>
44257 * plug-ins/dbbrowser/dbbrowser_utils.c: use GtkTreeView and multiline
44258 labels now. UI still needs some tweaking, but compiles with
44259 GTK_DISABLE_DEPRECATED.
44261 2002-01-09 Sven Neumann <sven@gimp.org>
44263 * themes/Default/images/Makefile.am
44264 * themes/Default/images/gimp-dialog-error.png
44265 * themes/Default/images/gimp-dialog-info.png
44266 * themes/Default/images/gimp-dialog-question.png
44267 * themes/Default/images/gimp-dialog-warning.png: new stock icons to
44268 override the standard gtk-dialog icons.
44270 * themes/Default/images/gimp-dialog-icons.xcf.gz: XCF version of the
44273 * themes/Default/gtkrc: override the standard gtk-dialog icons with
44276 * libgimpwidgets/gimpquerybox.[ch]: allow to pass a stock_id instead
44277 of the boolean eek.
44279 * app/widgets/gimpwidgets-utils.c: added an icon to the gimp_message
44280 dialog. We need to add an API to declare the severity of the message
44281 or allow to pass a stock_id. For now all messages habe the Info icon.
44283 * app/gui/file-commands.c
44284 * app/gui/file-new-dialog.c
44285 * app/gui/file-save-dialog.c
44287 * app/gui/image-commands.c
44288 * plug-ins/FractalExplorer/FractalExplorer.c
44289 * plug-ins/gfig/gfig.c
44290 * plug-ins/gflare/gflare.c: pass a suitable(?) stock_id to
44291 gimp_query_boolean_box().
44293 2002-01-08 Michael Natterer <mitch@gimp-org>
44295 * plug-ins/common/tga.c
44296 * plug-ins/common/threshold_alpha.c
44297 * plug-ins/common/tiff.c
44298 * plug-ins/common/tile.c
44299 * plug-ins/common/tileit.c
44300 * plug-ins/common/tiler.c
44301 * plug-ins/common/uniteditor.c
44302 * plug-ins/common/unsharp.c
44303 * plug-ins/common/url.c
44304 * plug-ins/common/zealouscrop.c: compile with
44305 GTK_DISABLE_DEPRECATED, cleanup.
44307 2002-01-07 Sven Neumann <sven@gimp.org>
44309 * plug-ins/common/xbm.c: merged fix from stable branch.
44311 2002-01-03 Michael Natterer <mitch@gimp.org>
44313 * plug-ins/common/sinus.c
44314 * plug-ins/common/smooth_palette.c
44315 * plug-ins/common/snoise.c
44316 * plug-ins/common/sobel.c
44317 * plug-ins/common/sparkle.c
44318 * plug-ins/common/spread.c
44319 * plug-ins/common/struc.c
44320 * plug-ins/common/sunras.c: compile with GTK_DISABLE_DEPRECATED.
44322 2002-01-02 Michael Natterer <mitch@gimp.org>
44324 * pixmaps/Makefile.am
44325 * pixmaps/zoom_in.xpm
44326 * pixmaps/zoom_out.xpm: removed.
44329 * plug-ins/Lighting/lighting_ui.c
44330 * plug-ins/MapObject/mapobject_ui.c: use GTK_STOCK_ZOOM_[IN|OUT]
44333 2002-01-02 Michael Natterer <mitch@gimp.org>
44335 * plug-ins/pagecurl/pagecurl.c: compile with GTK_DISABLE_DEPRECATED.
44337 2002-01-02 Michael Natterer <mitch@gimp.org>
44339 * libgimpwidgets/gimppixmap.c: made a warning more verbose.
44341 * libgimpwidgets/gimppixmap.h: no need to fiddle around with evil
44342 #defines now that it's ported to GtkImage.
44344 2001-12-30 Manish Singh <yosh@gimp.org>
44346 * app/gui/module-browser.c: add a shadow to the scrolled window, so
44349 * libgimpwidgets/gimpbutton.c: try to restore gtk_widget_draw behavior
44351 * libgimpwidgets/gimpoffsetarea.c
44352 * libgimpwidgets/gimppixmap.[ch]: compile with GTK_DISABLE_DEPRECATED
44354 2001-12-31 Sven Neumann <sven@gimp.org>
44356 * libgimpcolor/Makefile.am
44357 * libgimpmath/Makefile.am: use GLIB_CFLAGS instead of GTK_CFLAGS.
44359 * app/libgimp_glue.[ch]: do not allow anyone but app/libgimp_glue.c
44360 to include libgimp_glue.h.
44362 * libgimpbase/gimpunit.h
44363 * libgimp/gimpunit.c: cache return values of GimpUnit PDB calls and
44364 return const strings from the GimpUnit accessor functions just like
44365 the equivalent functions in the application do.
44367 * plug-ins/common/uniteditor.c: don't free GimpUnit strings. Don't
44368 free the result of gtk_entry_get_text() neither.
44370 2001-12-31 Michael Natterer <mitch@gimp.org>
44372 * plug-ins/common/nlfilt.c
44373 * plug-ins/common/noisify.c
44374 * plug-ins/common/nova.c
44375 * plug-ins/common/oilify.c
44376 * plug-ins/common/papertile.c
44377 * plug-ins/common/pat.c
44378 * plug-ins/common/pixelize.c
44379 * plug-ins/common/plasma.c
44380 * plug-ins/common/plugindetails.c
44381 * plug-ins/common/png.c
44382 * plug-ins/common/pnm.c
44383 * plug-ins/common/polar.c
44384 * plug-ins/common/ps.c
44385 * plug-ins/common/psp.c
44386 * plug-ins/common/randomize.c
44387 * plug-ins/common/ripple.c
44388 * plug-ins/common/sample_colorize.c
44389 * plug-ins/common/scatter_hsv.c
44390 * plug-ins/common/screenshot.c
44391 * plug-ins/common/sel_gauss.c
44392 * plug-ins/common/sharpen.c
44393 * plug-ins/common/shift.c: compile with GTK_DISABLE_DEPRECATED.
44395 2001-12-30 Sven Neumann <sven@gimp.org>
44397 * app/libgimp_glue.[ch]
44398 * app/gui/info-window.c: some const fixes.
44400 2001-12-30 Sven Neumann <sven@gimp.org>
44402 * app/base/Makefile.am
44403 * app/core/Makefile.am
44404 * app/display/Makefile.am: nicer output of glib-mkenums.
44406 2001-12-29 Sven Neumann <sven@gimp.org>
44408 * data/brushes/Makefile.am (brushdata_DATA): added missing brush
44411 2001-12-29 Michael Natterer <mitch@gimp.org>
44412 Sven Neumann <sven@gimp.org>
44413 Simon Budig <simon@gimp.org>
44415 * Made 1.3.2 release from 18C3.
44417 2001-12-29 Simon Budig <simon@gimp.org>
44418 Sven Neumann <sven@gimp.org>
44420 * data/images/Makefile.am
44421 * data/images/gimp_splash.gif: new blinking splash.
44423 * app/gui/splash.c (splash_create): load splash from gimp_splash.gif.
44425 2001-12-29 Michael Natterer <mitch@gimp.org>
44427 * NEWS: mention GTK_DISABLE_DEPRECATED.
44429 2001-12-29 Sven Neumann <sven@gimp.org>
44431 * data/brushes/vine.gih: fixed rank and increased spacing.
44433 2001-12-29 Michael Natterer <mitch@gimp.org>
44435 * app/gimpprogress.c
44437 * app/ops_buttons.c
44438 * app/undo_history.c
44439 * app/display/gimpdisplayshell.c
44440 * app/gui/about-dialog.c
44441 * app/gui/brush-editor.c
44442 * app/gui/channels-commands.c
44443 * app/gui/color-area.c
44444 * app/gui/color-notebook.c
44445 * app/gui/color-select.c
44446 * app/gui/colormap-dialog.c
44447 * app/gui/convert-dialog.c
44448 * app/gui/device-status-dialog.c
44449 * app/gui/file-new-dialog.c
44450 * app/gui/file-open-dialog.c
44451 * app/gui/file-save-dialog.c
44452 * app/gui/gradient-editor.c
44453 * app/gui/info-dialog.c
44454 * app/gui/layers-commands.c
44455 * app/gui/module-browser.c
44456 * app/gui/offset-dialog.c
44457 * app/gui/palette-editor.c
44458 * app/gui/palettes-commands.c
44459 * app/gui/paths-dialog.c
44460 * app/gui/qmask-commands.c
44461 * app/gui/resize-dialog.c
44462 * app/gui/resolution-calibrate-dialog.c
44464 * app/gui/tips-dialog.c
44465 * app/gui/toolbox.c
44466 * app/gui/user-install-dialog.c
44467 * app/tools/gimpbrightnesscontrasttool.c
44468 * app/tools/gimpbycolorselecttool.c
44469 * app/tools/gimpcolorbalancetool.c
44470 * app/tools/gimpcolorpickertool.c
44471 * app/tools/gimpcroptool.c
44472 * app/tools/gimpcurvestool.c
44473 * app/tools/gimphuesaturationtool.c
44474 * app/tools/gimpinktool.c
44475 * app/tools/gimplevelstool.c
44476 * app/tools/gimpposterizetool.c
44477 * app/tools/gimprotatetool.c
44478 * app/tools/gimpthresholdtool.c
44479 * app/tools/paint_options.c
44480 * app/tools/selection_options.c
44481 * app/widgets/gimpchannellistview.c
44482 * app/widgets/gimpcolorpanel.c
44483 * app/widgets/gimpcomponentlistitem.c
44484 * app/widgets/gimpconstrainedhwrapbox.c
44485 * app/widgets/gimpcontainergridview.c
44486 * app/widgets/gimpcontainerlistview.c
44487 * app/widgets/gimpcontainermenuimpl.c
44488 * app/widgets/gimpdialogfactory.c
44489 * app/widgets/gimpdnd.c
44490 * app/widgets/gimpdock.c
44491 * app/widgets/gimpdockbook.c
44492 * app/widgets/gimpdrawablelistitem.c
44493 * app/widgets/gimpdrawablelistview.c
44494 * app/widgets/gimpfontselection-dialog.c
44495 * app/widgets/gimphistogramview.c
44496 * app/widgets/gimpitemfactory.c
44497 * app/widgets/gimplayerlistitem.c
44498 * app/widgets/gimplistitem.[ch]
44499 * app/widgets/gimpmenuitem.c
44500 * app/widgets/gimppreview.[ch]
44501 * app/widgets/gtkhwrapbox.c
44502 * app/widgets/gtkvwrapbox.c
44503 * app/widgets/gtkwrapbox.c
44504 * libgimp/gimpbrushmenu.c
44505 * libgimp/gimpexport.c
44506 * libgimp/gimpgradientmenu.c
44507 * libgimp/gimpmenu.c
44508 * libgimp/gimppatternmenu.c
44509 * libgimpwidgets/gimpbutton.c
44510 * libgimpwidgets/gimpchainbutton.[ch]
44511 * libgimpwidgets/gimpcolorarea.h
44512 * libgimpwidgets/gimpcolorbutton.c
44513 * libgimpwidgets/gimpfileselection.c
44514 * libgimpwidgets/gimphelpui.c
44515 * libgimpwidgets/gimpoffsetarea.c
44516 * libgimpwidgets/gimppatheditor.c
44517 * libgimpwidgets/gimppixmap.h
44518 * libgimpwidgets/gimpquerybox.c
44519 * libgimpwidgets/gimpstock.[ch]
44520 * libgimpwidgets/gimpwidgets.h
44521 * plug-ins/FractalExplorer/Dialogs.c
44522 * plug-ins/FractalExplorer/Events.c
44523 * plug-ins/FractalExplorer/FractalExplorer.c
44524 * plug-ins/Lighting/lighting_ui.c
44525 * plug-ins/MapObject/mapobject_ui.c
44526 * plug-ins/bmp/bmpwrite.c
44527 * plug-ins/dbbrowser/dbbrowser_utils.c
44528 * plug-ins/fits/fits.c
44529 * plug-ins/flame/flame.c
44530 * plug-ins/fp/fp_gtk.c
44531 * plug-ins/fp/fp_misc.c
44532 * plug-ins/gfig/gfig.c
44533 * plug-ins/gflare/gflare.c
44534 * plug-ins/gfli/gfli.c
44535 * plug-ins/gimpressionist/*.c
44536 * plug-ins/imagemap/*.[ch]
44537 * plug-ins/maze/maze_face.c
44538 * plug-ins/mosaic/mosaic.c
44539 * plug-ins/pagecurl/pagecurl.c
44540 * plug-ins/print/print_gimp.h
44541 * plug-ins/rcm/rcm_callback.c
44542 * plug-ins/rcm/rcm_dialog.c
44543 * plug-ins/rcm/rcm_misc.c
44544 * plug-ins/script-fu/script-fu-console.c
44545 * plug-ins/script-fu/script-fu-scripts.c
44546 * plug-ins/script-fu/script-fu-server.c
44547 * plug-ins/sel2path/sel2path.c
44548 * plug-ins/sel2path/sel2path_adv_dialog.c
44549 * plug-ins/sgi/sgi.c
44550 * plug-ins/webbrowser/webbrowser.c
44551 * plug-ins/xjt/xjt.c
44552 * plug-ins/common/[A-n]*.c: compile with GTK_DISABLE_DEPRECATED
44553 defined. Not everything is fully ported yet, had to #undef
44554 GTK_DISABLE_DEPRECATED in many places and added #warnings when
44557 * pixmaps/Makefile.am
44558 * pixmaps/chain.xpm: removed.
44560 * themes/Default/Makefile.am
44561 * themes/Default/images/Makefile.am
44562 * themes/Default/images/stock-button-hchain-broken.png
44563 * themes/Default/images/stock-button-hchain.png
44564 * themes/Default/images/stock-button-vchain-broken.png
44565 * themes/Default/images/stock-button-vchain.png: new stock icons.
44567 2001-12-28 Sven Neumann <sven@gimp.org>
44569 * app/config/gimprc.c: write comment to top of gimprc.
44571 * app/core/gimpscanconvert.c: removed redundant CLAMP statements.
44573 * app/plug-in/plug-in-rc.[ch]
44574 * app/plug-in/plug-in.c: rewrote pluginrc scanner and moved the code
44575 that writes the pluginrc into plug-in-rc.c.
44577 2001-12-28 Sven Neumann <sven@gimp.org>
44579 * app/tools/gimpmagnifytool.c: calculate mouse movement in screen
44580 coordinates. Reset threshold to default value when the Reset button
44583 2001-12-28 Sven Neumann <sven@gimp.org>
44585 * app/config/gimpconfig-serialize.[ch]
44586 * app/config/gimpconfig.h
44587 * app/config/gimprc.[ch]: added new function to only write changes to
44588 the personal gimprc.
44590 * app/config/test-config.c: test the new functionality.
44592 * tools/pdbgen/pdb/procedural_db.pdb: the change I did yesterday
44593 wasn't overly clever; here's a better one.
44595 * app/pdb/procedural_db_cmds.c: regenerated.
44597 2001-12-28 Sven Neumann <sven@gimp.org>
44599 * app/plug-in/Makefile.am
44600 * app/plug-in/plug-in-rc.[ch]: new files that parse pluginrc using a
44603 * app/plug-in/plug-in.[ch]: made PlugInDef public again so we can use
44604 it from the pluginrc parser.
44606 * tools/pdbgen/pdb/procedural_db.pdb: made regex string matching
44607 robust against NULL pointers.
44609 * app/pdb/procedural_db_cmds.c: regenerated.
44611 * app/gimprc.c: removed old pluginrc parser.
44613 2001-12-27 DindinX <David@dindinx.org>
44615 * app/tools/gimpmagnifytool.c: Added a threshold value determining
44616 by how many pixels the mouse should move to use the window mode.
44618 2001-12-27 Sven Neumann <sven@gimp.org>
44620 * themes/Default/images/Makefile.am: fixed for 'make dist'.
44622 2001-12-27 Sven Neumann <sven@gimp.org>
44626 * configure.in: require latest versions of glib, gtk+ and friends.
44627 Bumped our version number to 1.3.2.
44629 * app/plug-in/plug-in.c (plug_in_params_destroy, plug_in_args_destroy):
44630 moved condition out of the switch statement, simplified code.
44632 * app/plug-in/plug-in-proc.[ch]: moved plug_in_proc_def_destroy() here.
44634 * app/gimprc.c: use plug_in_proc_def_destroy().
44636 * app/pdb/procedural_db.c: use g_string_hash() instead of our own hash
44639 * app/xcf/xcf.c: initialize all fields of the PlugInProcDef struct.
44641 2001-12-20 Sven Neumann <sven@gimp.org>
44643 * app/tools/gimptexttool.c (text_render): fixed text positioning by
44644 removing a workaround for a bug that has finally been fixed in Pango.
44646 2001-12-19 Sven Neumann <sven@gimp.org>
44648 * app/plug-in/Makefile.am
44649 * app/plug-in-proc/plug-in-proc.[ch]: new files. Started to split
44650 plug-in.c into smaller pieces.
44652 * app/plug-in/plug-in-types.h: namespacified GimpRunModeType enum and
44653 renamed it to GimpRunMode.
44655 * app/plug-in/plug-in.[ch]
44657 * app/file/file-open.[ch]
44658 * app/file/file-save.[ch]
44659 * app/file/file-utils.c
44660 * app/gui/file-commands.c
44661 * app/gui/file-open-dialog.c
44662 * app/gui/file-save-dialog.c
44663 * app/gui/paths-dialog.c
44665 * tools/pdbgen/pdb/fileops.pdb: changed accordingly.
44667 * app/pdb/fileops_cmds.c
44668 * libgimp/gimpenums.h
44669 * plug-ins/script-fu/script-fu-constants.c
44670 * libgimp/gimpfileops_pdb.[ch]
44671 * tools/pdbgen/enums.pl: regenerated.
44673 * libgimp/Makefile.am
44674 * libgimp/gimpcompat.h: added gimpcompat.h mostly as a place to
44675 document plug-in API changes.
44677 * plug-ins/*: changed all occurences of GimpRunModeType to GimpRunMode.
44679 2001-12-18 Sven Neumann <sven@gimp.org>
44681 * docs/gimptool-1.3.1.in
44682 * gimptool-1.3.in: applied patch from Roger Leigh <rl117@york.ac.uk>
44683 that makes gimptool respect the DESTDIR environment variable.
44685 * app/config/Makefile.am: declare test-config as TESTS so it is build
44686 and executed when running 'make check'.
44688 * app/config/gimpbaseconfig.c: don't register a GimpConfig interface.
44689 * app/config/gimpcoreconfig.c
44690 * app/config/gimpdisplayconfig.c
44691 * app/config/gimpguiconfig.c: no need to include "gimpconfig.h".
44693 * app/config/gimpconfig.[ch]: removed store_unknown parameter from
44694 deserialize method. The default implementation will bail out on
44697 * app/config/gimprc.c: override deserialize method so it stores
44700 2001-12-18 Sven Neumann <sven@gimp.org>
44702 * app/config/Makefile.am: don't build test-config by default.
44704 * app/config/gimprc.[ch]: new files for the GimpRc implementation.
44706 * app/config/gimpcoreconfig.h
44707 * app/config/gimpdisplayconfig.h
44708 * app/config/gimpguiconfig.h: include the necessary enum headers
44709 here and prefix local includes with config so the files can be safely
44710 included from almost everywhere.
44712 * app/config/test-config.c: instantiate and test GimpRc.
44714 2001-12-18 DindinX <David@dindinx.org>
44716 * app/base/boundary.c:
44717 * app/base/pixel-surround.c:
44718 * app/base/temp-buf.c: some more g_malloc -> g_new and
44719 g_realloc -> g_renew changes, foe better readability and type
44722 2001-12-18 Sven Neumann <sven@gimp.org>
44724 * app/display/Makefile.am
44725 * app/display/display-enums.h: new file with GimpCursorMode enum.
44727 * app/display/display-types.h: removed CursorMode enum here, include
44731 * app/display/gimpdisplayshell.c
44732 * app/gui/preferences-dialog.c: changed accordingly.
44734 * app/config/Makefile.am
44735 * app/config/gimpbaseconfig.[ch]
44736 * app/config/gimpcoreconfig.[ch]
44737 * app/config/gimpdisplayconfig.[ch]
44738 * app/config/gimpguiconfig.[ch]: implemented the remaining properties.
44740 2001-12-18 Sven Neumann <sven@gimp.org>
44742 * app/config/Makefile.am
44743 * app/config/gimpconfig-utils.[ch]: new files with utility functions.
44745 * app/config/gimpdisplayconfig.[ch]: new class with display config
44746 properties so GimpGuiConfig doesn't get too large.
44748 * app/config/gimpbaseconfig.c
44749 * app/config/gimpcoreconfig.[ch]
44750 * app/config/gimpguiconfig.[ch]: install path properties with
44751 useable defaults (substituted gimpdir and friends). Moved properties
44754 * app/gui/session.c: removed outdated comment.
44756 2001-12-18 Michael Natterer <mitch@gimp.org>
44758 * configure.in: added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS.
44760 * app/core/gimpbuffer.[ch]: gimp_buffer_get_[width|height]:
44761 added "const" to the GimpBuffer parameter.
44763 * app/core/gimpchannel.c: indentation and comment changes.
44765 * app/core/gimpdrawable-desaturate.c: don't include
44766 "paint-funcs/paint-funcs.h".
44768 * app/display/gimpdisplayshell.c: don't include "base/temp-buf.h".
44770 * app/gui/gui.c: removed the image container's "name_changed"
44773 * app/gui/palette-import-dialog.[ch]: use GimpPreview and
44774 GimpContainerMenu instead of doing the same manually. Removed lots
44775 of code. Not perfect yet.
44777 * app/tools/gimpfuzzyselecttool.c: no need to include tile stuff.
44779 * app/widgets/gimpcontainerview-utils.c: better g_warning() message.
44781 * tools/pdbgen/pdb/paint_tools.pdb: don't include
44782 "base/tile-manager.h".
44784 * app/pdb/paint_tools_cmds.c: regenerated.
44786 * data/images/Makefile.am
44787 * data/images/gimp_logo.ppm: removed...
44788 * data/images/gimp_logo.png: ...and added as PNG.
44790 * app/gui/about-dialog.c: use gdk_pixbuf_new_from_file() to load
44791 the PNG logo instead of manually parsing the PPM.
44793 2001-12-17 Michael Natterer <mitch@gimp.org>
44795 * app/widgets/gimpdrawablelistview.[ch]: changed
44796 the GimpNewDrawableFunc typedef to take an additional
44797 "GimpDrawable *template" paramater, added the "Drop to New"
44798 feature again by passing the dropped drawable to
44799 view->new_drawable_func().
44801 * app/gui/channels-commands.[ch]: channels_new_channel_query:
44802 * app/gui/layers-commands.[ch]: layers_new_layer_query:
44804 Added the "template" parameter because they are used as the
44805 views' new_drawable_func(), create layers/channels with
44806 the template's properties if a template is passed.
44808 2001-12-17 Michael Natterer <mitch@gimp.org>
44810 * app/core/gimpimage-mask.c: oops, GIMP_IS_DRAWABLE(gimage) will
44811 always fail :-) fixed.
44813 2001-12-17 Sven Neumann <sven@gimp.org>
44815 * gimpconfig.[ch]: don't serialize unknown tokens; leave that to
44816 the gimprc implementation. Create file with correct permissions.
44818 * test-config.c: changed accordingly.
44820 * gimpguiconfig.[ch]: added more properties.
44822 2001-12-16 Sven Neumann <sven@gimp.org>
44824 * app/config/Makefile.am
44825 * app/config/gimpguiconfig.[ch]
44826 * app/config/test-config.c: started to implement GimpGuiConfig.
44828 * app/config/gimpcoreconfig.c: set default for image-comment.
44830 2001-12-16 Sven Neumann <sven@gimp.org>
44832 * app/core/gimpcoreconfig.[ch]: changed thumbnail_mode to boolean
44833 write_thumbnails. thumbnail_mode used to have only two defined
44834 values; if we need more later, we can change that easily when the
44835 new GimpConfig system is in place.
44838 * app/file/file-save.c
44839 * app/gui/file-open-dialog.c
44840 * app/gui/preferences-dialog.c: changed accordingly.
44842 * app/config/gimpcoreconfig.[ch]: finished GimpCoreConfig class.
44844 2001-12-16 Sven Neumann <sven@gimp.org>
44846 * docs/make-todo: added icon for developer.gimp.org.
44848 2001-12-16 Sven Neumann <sven@gimp.org>
44850 * app/config/gimpconfig-params.[ch]
44851 * app/config/gimpconfig-types.[ch]: added support for GimpUnit type.
44853 * app/config/gimpbaseconfig.[ch]
44854 * app/config/gimpcoreconfig.[ch]
44855 * app/config/test-config.c: cleaned up includes. Added more properties
44858 * app/libgimp_glue.h
44859 * libgimpbase/gimpunit.h:
44860 declared gimp_unit_get_number_of_built_in_units() G_GNUC_CONST.
44862 * app/core/gimpunit.[ch]: internal GimpUnit functions return const
44865 * app/xcf/xcf-save.c: changed accordingly.
44867 2001-12-16 Sven Neumann <sven@gimp.org>
44869 * app/core/gimpscanconvert.c: merged fix for bug #66003 from stable
44872 2001-12-16 Sven Neumann <sven@gimp.org>
44874 * plug-ins/gap/gap_decode_xanim.c (p_xanim_dialog)
44875 * plug-ins/common/sinus.c (sinus_dialog): merged typo fixes from
44878 2001-12-14 Michael Natterer <mitch@gimp.org>
44880 * app/core/gimpimage.[ch]: added
44881 GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and
44882 GIMP_IMAGE_TYPE_BASE_TYPE() macros.
44884 * app/plug-in/plug-in.[ch]: new enum PlugInImageType instead of
44887 * app/gui/file-dialog-utils.[ch]: file_dialog_update_menus(): take
44888 a GimpImageType instead of the PlugInImageType.
44890 * app/core/gimpdrawable-preview.c
44891 * app/core/gimpdrawable-transform.c
44892 * app/core/gimpdrawable.c
44893 * app/core/gimpimage-contiguous-region.c
44894 * app/core/gimpimage-mask.c
44895 * app/core/gimpimage-merge.c
44896 * app/core/gimplayermask.c
44897 * app/core/gimppalette-import.c
44898 * app/display/gimpdisplay-handlers.c
44899 * app/display/gimpdisplayshell-render.c
44900 * app/gui/file-save-dialog.c
44901 * app/gui/toolbox.c
44902 * app/tools/gimpclonetool.c
44903 * app/tools/gimpcolorpickertool.c
44904 * tools/pdbgen/pdb/convert.pdb
44905 * tools/pdbgen/pdb/image.pdb: use the new macros, cleanups like
44906 storing GimpImageType in GimpImageType variables, not just gint.
44908 * app/pdb/convert_cmds.c
44909 * app/pdb/image_cmds.c: regenerated.
44911 * app/widgets/gimpdialogfactory.c: save the state of the "Auto"
44912 button in sessionrc.
44914 2001-12-13 Sven Neumann <sven@gimp.org>
44916 * app/config/gimpconfig-deserialize.h
44917 * app/config/gimpconfig-serialize.c: fixed typos.
44919 * app/core/core-enums.h
44920 * app/core/core-types.h: converted ChannelType enum to GimpChannelType
44921 and moved it to core-enums.h.
44923 * app/core/gimpimage.[ch]
44924 * app/widgets/gimpchannellistview.c
44925 * app/widgets/gimpcomponentlistitem.[ch]
44926 * tools/pdbgen/pdb/image.pdb: changed accordingly.
44928 * app/pdb/image_cmds.c
44929 * libgimp/gimpenums.h
44930 * plug-ins/script-fu/script-fu-constants.c
44931 * tools/pdbgen/enums.pl: regenerated.
44933 2001-12-13 Sven Neumann <sven@gimp.org>
44935 * app/config/gimpconfig-deserialize.c
44936 * app/config/gimpconfig-params.h
44937 * app/config/gimpconfig-serialize.[ch]
44938 * app/config/gimpconfig-substitute.c
44939 * app/config/gimpconfig-types.c
44940 * app/config/gimpconfig.[ch]
44941 * app/config/test-config.c: code cleanup, I18N
44943 * app/config/gimpcoreconfig.[ch]: some more properties.
44945 2001-12-13 Michael Natterer <mitch@gimp.org>
44947 * app/core/gimp.[ch]: made gimp->global_buffer a GimpBuffer,
44950 * app/core/gimpbuffer.[ch]: added a "gboolean copy_pixels" to
44953 * app/core/gimpimage-new.c
44954 * app/core/gimpedit.[ch]
44955 * app/core/gimpimage-qmask.c
44956 * app/widgets/gimpbufferpreview.c
44957 * app/widgets/gimpbufferview.c
44958 * app/widgets/gimpcontainerview-utils.c: chaned accordingly, don't
44959 include "base/tile-manager.h".
44961 * app/core/gimpdrawable.[ch]: added gimp_drawable_copy().
44963 * app/core/gimpchannel.[ch]
44964 * app/core/gimplayer.[ch]
44965 * app/core/gimplayermask.[ch]: use it in
44966 gimp_[channel|layer|layer_mask]_copy(), added "GType new_type" as
44967 paramater to all of them.
44969 * app/core/gimpimage-duplicate.c
44970 * app/gui/channels-commands.c
44971 * app/gui/edit-commands.c
44972 * app/gui/layers-commands.c
44973 * app/widgets/gimpchannellistview.c
44974 * tools/pdbgen/pdb/channel.pdb
44975 * tools/pdbgen/pdb/layer.pdb
44976 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
44978 * app/pdb/channel_cmds.c
44979 * app/pdb/layer_cmds.c
44980 * app/pdb/selection_cmds.c: regenerated.
44982 * app/core/gimplayer.[ch]: removed the "layer_type" parameter from
44983 gimp_layer_new_from_tiles() because it always needed to be equal
44984 to gimp_image_base_type_with_alpha() of the passed image.
44986 * app/core/gimpdrawable-transform.c
44987 * app/core/gimpedit.c
44988 * app/core/gimpimage-mask.c: cahanged accordingly.
44990 * app/core/gimpimage.[ch]: added some new GIMP_IMAGE_TYPE_FOO()
44991 marcos to get rid of magic values like "pixels = 3" all over the
44994 * app/core/gimplayer.[ch]: added gimp_layer_new_from_drawable()
44995 which creates a layer from an other image's drawable.
44997 * app/core/gimpimage-convert.[ch]: made the RGB and GRAY converters
44998 public to use them above, use the new GIMP_IMAGE_TYPE() macros.
45000 * app/display/gimpdisplayshell-dnd.c
45001 * app/gui/toolbox.c: removed tile manager stuff and use the new
45004 * app/widgets/gimpdrawablelistview.[ch]: added a
45005 "convert_drawable_func" which is used to handle drops from other
45008 * app/widgets/gimpdrawablelistitem.c
45009 * app/widgets/gimplayerlistitem.c
45010 * app/widgets/gimplistitem.[ch]: implemented DND of layers between
45011 images using gimp_layer_new_from_drawable().
45013 * app/gui/dialogs-constructors.c: changed accordingly.
45015 2001-12-12 Michael Natterer <mitch@gimp.org>
45017 * app/core/Makefile.am
45018 * app/core/gimpimage-pick-color.[ch]: new files.
45020 gimp_image_pick_color() doesn't set the FG or BG color and doesn't
45021 touch the current palettte.
45023 * app/tools/gimpcolorpickertool.[ch]: removed the actual picking
45024 code, set the user_context's FG or BG color here.
45026 * app/gui/palette-editor.[ch]:
45027 s/palette_set_active_color/palette_editor_update_color/, don't set
45028 the FG and BG color here. The function is still #if 0'ed.
45030 * app/gui/toolbox.c: fixed WM resize hints in toolbox_style_set(),
45033 * app/tools/gimppainttool.[ch]: some cleanup before chopping.
45035 * app/tools/gimpsmudgetool.c: changed accordingly.
45037 * tools/pdbgen/pdb/misc_tools.pdb: removed the possibility to set
45038 the FG or BG color or add the picked color to the active palette
45039 bacause it doesn't belong here. Palette PDB wrappers are on the
45042 * app/pdb/misc_tools_cmds.c
45043 * libgimp/gimpmisctools_pdb.[ch]: regenerated.
45045 * plug-ins/perl/examples/image_tile
45046 * plug-ins/perl/examples/logulator
45047 * plug-ins/script-fu/scripts/hsv-graph.scm
45048 * plug-ins/script-fu/scripts/title-header.scm: changed accordingly.
45050 2001-12-12 Michael Natterer <mitch@gimp.org>
45052 * docs/Wilber_Construction_Kit.xcf.gz: new version with additional
45053 layers by Ville PƤtsi (drc).
45055 2001-12-12 Sven Neumann <sven@gimp.org>
45057 * app/config/gimpconfig-deserialize.c
45058 * app/config/gimpconfig-serialize.c
45059 * app/config/gimpconfig-substitute.c: plugged a memleak and applied
45060 some optimizations.
45062 2001-12-11 Sven Neumann <sven@gimp.org>
45064 * app/core/core-enums.h
45065 * app/core/core-types.h: moved gradient enums to core-enums.h and
45066 namespaceified them.
45068 * app/core/gimpdrawable-blend.[ch]
45069 * app/core/gimpgradient.c
45070 * app/gui/gradient-editor-commands.c
45071 * app/pdb/misc_tools_cmds.c
45072 * app/tools/gimpblendtool.c
45073 * tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.
45075 * libgimp/gimpenums.h
45076 * plug-ins/script-fu/script-fu-constants.c
45077 * tools/pdbgen/enums.pl: regenerated.
45079 2001-12-11 Sven Neumann <sven@gimp.org>
45081 * app/base/base-enums.h
45082 * app/base/base-types.h: moved all remaining enums to base-enums.h
45084 * app/core/core-enums.h
45085 * app/core/core-types.h: moved GimpImageType to core-enums.h and
45086 changed the values from RGB_GIMAGE to GIMP_RGB_IMAGE and the like.
45088 * app/core/gimpchannel.c
45089 * app/core/gimpdrawable-preview.c
45090 * app/core/gimpdrawable-transform.c
45091 * app/core/gimpdrawable.c
45092 * app/core/gimpimage-contiguous-region.c
45093 * app/core/gimpimage-convert.c
45094 * app/core/gimpimage-mask.c
45095 * app/core/gimpimage-merge.c
45096 * app/core/gimpimage-new.c
45097 * app/core/gimpimage-projection.c
45098 * app/core/gimpimage.[ch]
45099 * app/core/gimplayer.c
45100 * app/core/gimplayermask.c
45101 * app/core/gimppalette-import.c
45102 * app/display/gimpdisplayshell-dnd.c
45103 * app/display/gimpdisplayshell-render.c
45104 * app/gui/file-save-dialog.c
45105 * app/gui/toolbox.c
45106 * app/plug-in/plug-in.c
45107 * app/tools/gimpblendtool.c
45108 * app/tools/gimpcolorpickertool.c
45109 * app/tools/gimpdodgeburntool.c: changed accordingly.
45111 * tools/pdbgen/Makefile.am: no need to parse app/base/base-types.h
45114 * app/pdb/color_cmds.c
45115 * app/pdb/drawable_cmds.c
45116 * app/pdb/layer_cmds.c
45117 * app/pdb/paint_tools_cmds.c
45118 * tools/pdbgen/enums.pl: regenerated.
45120 2001-12-11 Sven Neumann <sven@gimp.org>
45122 * app/core/core-types.h: removed GimpImageBaseType enum ...
45124 * app/core/core-enums.h: and added it here with proper namespace
45125 (enum values prefixed with GIMP_).
45128 * app/core/gimpcoreconfig.c
45129 * app/core/gimpdrawable-bucket-fill.c
45130 * app/core/gimpdrawable-preview.c
45131 * app/core/gimpdrawable.c
45132 * app/core/gimpedit.c
45133 * app/core/gimpimage-convert.c
45134 * app/core/gimpimage-duplicate.c
45135 * app/core/gimpimage-mask.c
45136 * app/core/gimpimage-merge.c
45137 * app/core/gimpimage-new.c
45138 * app/core/gimpimage-projection.c
45139 * app/core/gimpimage.c
45140 * app/core/gimplayer.c
45141 * app/core/gimppalette-import.c
45142 * app/display/gimpdisplay-handlers.c
45143 * app/display/gimpdisplayshell-dnd.c
45144 * app/display/gimpdisplayshell.c
45145 * app/file/file-utils.c
45146 * app/gui/colormap-dialog.c
45147 * app/gui/convert-dialog.c
45148 * app/gui/info-window.c
45149 * app/gui/layers-commands.c
45150 * app/gui/palette-import-dialog.c
45151 * app/gui/preferences-dialog.c
45152 * app/gui/toolbox.c
45153 * app/tools/gimpclonetool.c
45154 * app/tools/gimppainttool.c
45155 * app/widgets/gimpchannellistview.c
45156 * tools/pdbgen/Makefile.am
45157 * tools/pdbgen/pdb/convert.pdb
45158 * tools/pdbgen/pdb/image.pdb: changed accordingly.
45160 * tools/pdbgen/enums.pl
45161 * app/pdb/convert_cmds.c
45162 * app/pdb/image_cmds.c
45163 * libgimp/gimpconvert_pdb.c
45164 * libgimp/gimpimage_pdb.c: regenerated.
45166 * app/config/Makefile.am
45167 * app/config/gimpconfig-params.h
45168 * app/config/gimpconfig-serialize.c
45169 * app/config/gimpcoreconfig.[ch]: added more stuff to GimpCoreConfig.
45171 2001-12-10 Sven Neumann <sven@gimp.org>
45173 * libgimpbase/Makefile.am
45174 * libgimpbase/gimpenv.[ch]: added new function gimp_plug_in_directory()
45175 to retrieve the compile_time defined plug_in directory. Declared some
45176 functions G_GNUC_CONST and simplified code by introducing a helper
45179 * app/config/Makefile.am
45180 * app/config/gimpcoreconfig.[ch]: started to implement GimpCoreConfig
45181 derived from GimpBaseConfig.
45183 * app/config/gimpbaseconfig.[ch]: misc small changes.
45185 * app/config/gimpconfig-deserialize.c
45186 (gimp_config_deserialize_properties): return quietly if there are no
45189 * app/config/gimpconfig-substitute.c: more special cases.
45191 * app/config/test-config.c: test GimpCoreConfig.
45193 2001-12-10 Sven Neumann <sven@gimp.org>
45195 * app/config/Makefile.am
45196 * app/config/gimpconfig-substitute.[ch]: new files with code to do
45197 substitution magic on path strings. Similar to the code in gimprc.c
45200 * app/config/gimpconfig-params.h
45201 * app/config/gimpbaseconfig.c: added a bunch of convenience macros
45202 to register config properties and use them for GimpBaseConfig.
45204 * app/config/gimpconfig-types.h: added missing GIMP_VALUE_HOLDS_FOO()
45207 * app/config/gimpconfig-deserialize.c: UTF8-validate all strings.
45209 * app/config/gimpconfig-serialize.c: some code reorganisation.
45211 2001-12-10 Michael Natterer <mitch@gimp.org>
45213 * plug-ins/common/screenshot.c: removed deprecated use of
45214 "user_data" together with libgimpwidgets standard
45215 callbacks. Reported by Carbamide on #gimp.
45217 2001-12-10 Michael Natterer <mitch@gimp.org>
45219 * tools/pdbgen/pdb/tools.pdb: removed, chopped...
45221 * tools/pdbgen/pdb/misc_tools.pdb
45222 * tools/pdbgen/pdb/paint_tools.pdb: ...and added here.
45224 * app/pdb/tools_cmds.c
45225 * libgimp/gimptools_pdb.[ch]: removed.
45227 * app/pdb/internal_procs.c
45228 * app/pdb/misc_tools_cmds.c
45229 * app/pdb/paint_tools_cmds.c
45230 * libgimp/gimpmisctools_pdb.[ch]
45231 * libgimp/gimppainttools_pdb.[ch]: generated files.
45233 * app/pdb/Makefile.am
45234 * libgimp/Makefile.am
45235 * libgimp/gimp_pdb.h
45236 * tools/pdbgen/Makefile.am
45237 * tools/pdbgen/groups.pl: changed accordingly.
45239 * tools/pdbgen/pdb/selection_tools.pdb
45240 * tools/pdbgen/pdb/transform_tools.pdb: cosmetic comment changes.
45242 2001-12-10 Sven Neumann <sven@gimp.org>
45244 * app/base/Makefile.am
45245 * app/core/Makefile.am: use GLIB_GENMARSHAL and GLIB_MKENUMS variables
45246 declared by AM_PATH_GLIB_2_0 instead of calling the binaries directly.
45248 2001-12-10 Sven Neumann <sven@gimp.org>
45250 * app/config/gimpconfig-deserialize.c
45251 * app/config/gimpconfig.c: stricter parsing.
45253 * app/config/test-config.c: more output.
45255 2001-12-09 Sven Neumann <sven@gimp.org>
45257 * autogen.sh: check for pkg.m4.
45259 * configure.in: removed logic to extract GLIB CFLAGS and LDFLAGS
45260 from the GTK CFLAGS and LDFLAGS. Use AM_PATH_GLIB_2_0() instead.
45261 This change will break things on awfully misconfigured systems.
45262 Simplified the checks and moved version numbers to the top to ease
45263 maintainance. Check if gtk-doc is suffiently new.
45265 * app/main.c: removed the GimpConfig test code.
45267 * app/config/Makefile.am
45268 * app/config/test-config.c: added a (yet very small) standalone test
45269 suite for GimpConfig.
45271 * app/config/gimpconfig.[ch]
45272 * app/config/gimpconfig-deserialize.[ch]: allow to specify if
45273 unknown tokens should be stored or should cause a parser error.
45274 Changed code to store unknown tokens to use a list since a hash
45275 table seems to be overkill here.
45277 2001-12-09 Sven Neumann <sven@gimp.org>
45279 * app/config/gimpconfig-params.[ch]
45280 * app/config/gimpconfig-types.[ch]: added new param_spec
45281 GIMP_PARAM_PATH with value_type GIMP_PATH_TYPE.
45283 * app/config/gimpconfig.[ch]: added code to store and lookup unknown
45286 * app/config/gimpconfig-deserialize.c: improved logic, prepared for
45287 special handling of GIMP_PATH_TYPE; still work in progress...
45289 * app/config/gimpbaseconfig.c: register temp-path and swap-path as
45290 GIMP_PARAM_PATH properties.
45292 2001-12-08 Sven Neumann <sven@gimp.org>
45294 * tools/pdbgen/enumgen.pl: introduced new trigraph keyword
45295 /*< pdb-skip >*/ used to skip enums for inclusion in libgimp when
45296 parsing headers. The keyword /*< skip >*/ is still used to skip
45297 enum values. This change is necessary since glib-mkenums also uses
45300 * app/base/base-types.h * app/base/base-enums.h: moved
45301 GimpCheckType and GimpCheckSize to base-enums.h so they get
45302 registered with the type system, marked them as /*< pdb-skip >*/.
45304 * app/core/core-types.h * app/display/display-types.h *
45305 app/paint-funcs/paint-funcs-types.h * app/tools/gimppainttool.h *
45306 app/tools/tools-types.h: changed /*< skip >*/ to /*< pdb-skip >*/.
45308 2001-12-08 Sven Neumann <sven@gimp.org>
45310 * app/core/Makefile.am
45311 * app/core/core-enums.h: new file that holds enums that are registered
45312 with the type system and is used to generate core-enums.c.
45314 * app/core/core-types.h: include core-enums.h
45316 * app/base/base-types.h: namespace cleanup. Prefix all enumeration
45317 types with Gimp and their values with GIMP. Moved GimpLayerModeEffects
45320 * app/base/base-enums.h: ... here.
45323 * app/base/temp-buf.c
45324 * app/core/gimpcontext.[ch]
45325 * app/core/gimpdrawable-transform.c
45326 * app/core/gimpdrawable.c
45327 * app/core/gimpedit.c
45328 * app/core/gimpimage-mask.c
45329 * app/core/gimpimage-merge.c
45330 * app/core/gimpimage-new.c
45331 * app/core/gimpimage-projection.c
45332 * app/core/gimpimage.[ch]
45333 * app/core/gimplayer.[ch]
45334 * app/display/gimpdisplayshell-dnd.c
45335 * app/display/gimpdisplayshell-render.c
45336 * app/gui/brush-select.c
45337 * app/gui/layers-commands.c
45338 * app/gui/preferences-dialog.c
45339 * app/gui/toolbox.c
45340 * app/paint-funcs/paint-funcs.[ch]
45341 * app/tools/gimpconvolvetool.c
45342 * app/tools/gimperasertool.c
45343 * app/tools/gimpiscissorstool.c
45344 * app/tools/gimppainttool.[ch]
45345 * app/tools/gimptexttool.c
45346 * app/tools/paint_options.c
45347 * app/widgets/gimplayerlistview.c
45348 * app/widgets/gimpwidgets-constructors.[ch]
45349 * app/xcf/xcf-load.c
45350 * tools/pdbgen/pdb/brush_select.pdb
45351 * tools/pdbgen/pdb/brushes.pdb
45352 * tools/pdbgen/pdb/color.pdb
45353 * tools/pdbgen/pdb/layer.pdb
45354 * tools/pdbgen/pdb/tools.pdb: changed accordingly.
45356 * libgimpbase/gimpbasetypes.h: no need to chop GIMP prefix off the
45359 * app/pdb/brush_select_cmds.c
45360 * app/pdb/brushes_cmds.c
45361 * app/pdb/color_cmds.c
45362 * app/pdb/layer_cmds.c
45363 * app/pdb/message_cmds.c
45364 * app/pdb/procedural_db_cmds.c
45365 * app/pdb/tools_cmds.c
45366 * libgimp/gimpenums.h
45367 * plug-ins/script-fu/script-fu-constants.c
45368 * tools/pdbgen/enums.pl: regenerated.
45370 * app/gimprc.c: removed code to parse for "plug_in" keyword which was
45371 left over from some very early gimp days.
45373 * app/plug-in/plug-in.[ch]: removed now unused function plug_in_add().
45375 2001-12-08 Sven Neumann <sven@gimp.org>
45377 * app/core/Makefile.am: fixed build rules for gimpmarshal.[ch].
45379 2001-12-08 Sven Neumann <sven@gimp.org>
45381 * app/config/gimpconfig-deserialize.c: improved code readability by
45382 splitting deserialize_property into smaller functions.
45384 * app/config/gimpconfig.[ch]: added gimp_config_debug_notify_callback()
45385 for debugging purposes.
45387 * app/main.c: use gimp_config_debug_notify_callback().
45389 2001-12-08 Sven Neumann <sven@gimp.org>
45391 * app/config/Makefile.am
45392 * app/config/gimpconfig-params.[ch]
45393 * app/config/gimpconfig-types.[ch]: new files implementing special
45394 GParamSpecs and GValueTypes needed for GimpConfig.
45396 * app/config/gimpbaseconfig.c: register tile-cache-size property
45397 with GimpParamSpecMemsize.
45399 * app/config/gimpconfig-deserialize.[ch]
45400 * app/config/gimpconfig-serialize.[ch]: enable serialization and
45401 deserialization of non-fundamental types.
45403 2001-12-07 Michael Natterer <mitch@gimp.org>
45406 * app/devices.[ch]: removed, chopped...
45408 * app/widgets/Makefile.am
45409 * app/widgets/widgets-types.h
45410 * app/gui/Makefile.am
45412 * app/widgets/gimpdeviceinfo.[ch]
45413 * app/widgets/gimpdevices.[ch]
45414 * app/gui/device-status-dialog.[ch]
45415 * app/gui/input-dialog.[ch]: ...and added here.
45417 Made GimpToolInfo a GimpContext subclass. Create a GimpDeviceManager
45418 struct in gimpdevices.c and attach it to the Gimp instance.
45420 * app/core/gimp.[ch]: removed gimp_create_context(). It was a bad
45421 idea in the first place beause it prevented GimpContext subclasses
45422 from being be properly registered with their Gimp instance.
45424 * app/core/gimpcontext.c: moved the stuff which used to be in
45425 gimp_create_context() back here. Added a "gimp" property which
45426 must be set on construction. Added a "dispose" implementation
45427 which removes the context from it's Gimp's context_list.
45430 * app/core/gimptoolinfo.[ch]
45431 * app/display/gimpdisplayshell-callbacks.c
45432 * app/gui/brush-select.c
45433 * app/gui/dialogs-constructors.c
45434 * app/gui/gradient-editor.c
45435 * app/gui/gradient-select.c
45438 * app/gui/palette-editor.c
45439 * app/gui/palette-select.c
45440 * app/gui/pattern-select.c
45441 * app/gui/toolbox.c
45442 * app/tools/gimppainttool.c
45443 * app/tools/tool_manager.c
45444 * app/widgets/gimpimagedock.c: changed accordingly.
45446 * app/gui/tools-commands.[ch]: made all callback signatures
45449 * app/gui/preferences-dialog.c: cleaned up the
45450 display_format_string GtkCombo code.
45452 2001-12-07 Sven Neumann <sven@gimp.org>
45454 * app/core/gimpmarshal.[ch]: removed from CVS, they are generated.
45456 * app/base/Makefile.am
45457 * app/base/base-enums.h: new file defining enums that are to be
45458 registered. Used to build app/base/base-enums.c.
45460 * app/base/base-types.h: include base-enums.h.
45462 * tools/pdbgen/Makefile.am
45463 * tools/pdbgen/enumcode.pl
45464 * tools/pdbgen/enums.pl: parse the new base-enums.h file and modified
45465 the perl voodoo so it doesn't prefix enums with GIMP_ that are already
45466 properly namespaced.
45468 * app/core/core-types.h: don't need to chop GIMP from enum.
45470 * app/pdb/color_cmds.c
45471 * app/pdb/tools_cmds.c
45472 * libgimp/gimpenums.h
45473 * plug-ins/script-fu/script-fu-constants.c: regenerated.
45475 * app/config/gimpconfig-deserialize.[ch]
45476 * app/config/gimpconfig-serialize.[ch]
45477 * app/config/gimpconfig.[ch]: made GimpConfig an interface including
45478 a reasonable default implementation that works on object properties.
45480 * app/config/Makefile.am
45481 * app/config/gimpbaseconfig.[ch]: new GimpBaseConfig using the
45482 GimpConfig interface. Yet only used for testing from app/main.c.
45484 * app/main.c: test the new GimpBaseConfig object.
45487 * app/base/base-config.h
45489 * app/core/gimpdatafiles.c
45490 * app/core/gimpdrawable-transform.c
45491 * app/core/gimppreviewcache.c
45492 * app/gui/preferences-dialog.c
45493 * app/paint-funcs/paint-funcs.c
45494 * app/xcf/xcf-seek.c: need to include glib-object.h since base-config
45495 contains registered enums now. Follow name change of InterpolationType
45496 to GimpInterpolationType.
45498 2001-12-06 David Neary <bolsh@gimp.org>
45500 * plug-ins/common/vpropagate.c: Create Erode and Dilate filter
45501 menu entries with reasonable defaults for this plug-in.
45503 2001-12-06 Sven Neumann <sven@gimp.org>
45505 * app/gui/offset-dialog.c: some GUI fiddling.
45507 2001-12-06 Rebecca Walter <bex@gimp.org>
45509 * app/gui/module-browser.c
45510 * app/gui/offset-dialog.c: More of my proofing.
45512 2001-12-06 Dindinx <David@dindinx.org>
45514 * plug-ins/*/*.c: use the G_N_ELEMENTS macro where appropriate,
45515 removing a bunch of unuseful static variables. Changed some
45516 g_malloc to g_new while I was on it.
45518 2001-12-03 Michael Natterer <mitch@gimp.org>
45520 * app/devices.c: use the passed Gimp pointer instead of
45523 * app/base/temp-buf.c: indentation.
45525 * app/gui/preferences-dialog.c: prefs_toggle_callback(): fixed
45526 segfault when trying to find the prefs_dlg widget from a menu
45527 item callback (Fixes #65757).
45529 * app/gui/offset-dialog.[ch]: fixed public prototype, include
45530 the header in the .c file.
45532 * app/tools/gimpblendtool.c
45533 * app/tools/paint_options.c
45534 * app/tools/transform_options.c: removed usage of "the_gimp".
45536 * app/gui/menus.c: some menu cleanup: moved all functions which
45537 operate on the active layer/drawable to <Image>/Layer. Renamed
45538 "Layers" to "Layer".
45540 * app/display/gimpdisplayshell.c: changed menu update function
45543 * app/gui/image-commands.[ch]
45544 * app/gui/layers-commands.[ch]: moved stuff from image-commands.*
45545 to layers-commads.*.
45547 * app/tools/gimpbrightnesscontrasttool.c
45548 * app/tools/gimpcolorbalancetool.c
45549 * app/tools/gimpcurvestool.c
45550 * app/tools/gimphistogramtool.c
45551 * app/tools/gimphuesaturationtool.c
45552 * app/tools/gimplevelstool.c
45553 * app/tools/gimpposterizetool.c
45554 * app/tools/gimpthresholdtool.c
45555 * plug-ins/common/align_layers.c
45556 * plug-ins/common/autocrop.c
45557 * plug-ins/common/autostretch_hsv.c
45558 * plug-ins/common/c_astretch.c
45559 * plug-ins/common/color_enhance.c
45560 * plug-ins/common/guillotine.c
45561 * plug-ins/common/normalize.c
45562 * plug-ins/common/rotate.c
45563 * plug-ins/common/threshold_alpha.c
45564 * plug-ins/common/zealouscrop.c
45565 * plug-ins/rcm/rcm.c
45566 * plug-ins/fp/fp.c: register under <Image>/Layer, some cosmetic
45569 2001-12-03 Sven Neumann <sven@gimp.org>
45570 Michael Natterer <mitch@gimp.org>
45572 * app/paint-funcs/paint-funcs-mmx.h: removed redefiniton of HAS_ALPHA
45575 * app/core/gimp.c: reverted Daniel's change; it doesn't make the code
45576 simpler, only more error-prone.
45578 * app/gui/info-dialog.h
45579 * app/gui/resize-dialog.h
45581 * app/core/gimpbrushgenerated.h
45582 * app/core/gimpbrushpipe.h
45583 * app/core/gimpchannel.[ch]
45584 * app/core/gimpcontainer.h
45585 * app/core/gimpcoreconfig.h
45586 * app/core/gimpdata.h
45587 * app/core/gimpdatafactory.[ch]
45588 * app/core/gimpdrawable-blend.c
45589 * app/core/gimpdrawable.[ch]
45590 * app/core/gimpimage.h
45591 * app/core/gimpimagefile.h
45592 * app/core/gimplayer.h
45593 * app/core/gimplayermask.h
45594 * app/core/gimpmoduleinfo.h
45595 * app/core/gimppalette.h
45596 * app/core/gimpundo.h
45597 * app/widgets/gimpbrushfactoryview.h
45598 * app/widgets/gimpconstrainedhwrapbox.h
45599 * app/widgets/gimpcontainermenu.h
45600 * app/widgets/gimpcontainerview.h
45601 * app/widgets/gimpdialogfactory.h
45602 * app/widgets/gimpimagedock.h
45603 * app/widgets/gimplistitem.h
45604 * app/widgets/gimpmenuitem.h
45605 * app/widgets/gimpnavigationpreview.h
45606 * app/widgets/gimppreview.h
45609 * app/tools/gimpbezierselecttool.h
45610 * app/tools/gimpcolorbalancetool.h
45611 * app/tools/gimpcurvestool.h
45612 * app/tools/gimpdodgeburntool.c
45613 * app/tools/gimpfreeselecttool.h
45614 * app/tools/gimphuesaturationtool.h
45615 * app/tools/gimpinktool-blob.h
45616 * app/tools/gimpinktool.h
45617 * app/tools/gimpiscissorstool.h
45618 * app/tools/gimpmagnifytool.h
45619 * app/tools/gimpmeasuretool.h
45620 * app/tools/gimppainttool.h
45621 * app/tools/gimppathtool.h
45622 * app/tools/gimprectselecttool.h
45623 * app/tools/gimpthresholdtool.h
45624 * app/tools/gimptool.h
45625 * app/tools/gimptransformtool.h
45626 * app/base/base-config.h
45627 * app/base/gimplut.[ch]
45628 * app/base/pixel-region.h
45629 * app/base/pixel-surround.[ch]
45630 * app/base/temp-buf.[ch]
45631 * app/base/tile-manager-private.h
45632 * app/base/tile-manager.[ch]
45633 * app/base/tile-private.h
45634 * app/base/tile.[ch]
45635 * app/display/gimpdisplay.h
45636 * app/display/gimpdisplayshell-selection.h
45637 * app/display/gimpdisplayshell.h
45638 * app/gui/brush-select.h
45639 * app/gui/gradient-editor.h
45640 * app/gui/gradient-select.h: reverted most of Daniel's changes.
45642 There's no reason to use unsigned integers here and in lots of places
45645 Then it's way too early to convert gbooleans into bitfields. This
45646 change may make sense in a few places but can happen later when the
45647 API has settled and the code is more stable.
45649 * app/gimprc.c: reverted Daniel's change. This is a GCC-ism and this
45650 code is about to die soon anyway.
45652 2001-12-03 Daniel Egger <degger@fhm.edu>
45654 * app/core/gimp.c: Simplified logic thanks to bitfields.
45656 2001-12-02 Sven Neumann <sven@gimp.org>
45658 * app/plug-in/plug-in.c: use g_tree_foreach() instead of deprecated
45661 * app/undo_history.c
45662 * app/display/gimpdisplayshell-selection.c
45663 * app/display/gimpdisplayshell.c
45664 * app/gui/about-dialog.c
45665 * app/gui/color-area.c
45666 * app/gui/color-select.c
45667 * app/gui/gradient-editor.c
45669 * app/gui/paths-dialog.c
45670 * app/gui/user-install-dialog.c
45671 * app/tools/gimpcurvestool.c
45672 * app/tools/gimpinktool.c
45673 * app/widgets/gimpcursor.c
45674 * app/widgets/gimpnavigationpreview.c
45675 * libgimpwidgets/gimpchainbutton.c
45676 * libgimpwidgets/gimppixmap.c
45677 * plug-ins/common/animationplay.c
45678 * plug-ins/common/uniteditor.c
45679 * plug-ins/ifscompose/ifscompose.c: s/gdk_gc_unref/g_object_unref/,
45680 s/gdk_drawable_unref/g_object_unref/
45682 2001-12-02 Daniel Egger <degger@fhm.edu>
45684 * app/gimprc.c: Convert ugly comments into named structure fields.
45685 Much cleaner and less errorprone though may cause troubles on
45686 older compilers and then needs to be reverted. Please report!
45688 * app/base/base-types.h: Add FIXME reminder.
45690 * app/base/gimplut.c: Use CLAMP macro instead of if-cascade.
45692 * app/base/temp-buf.c: Remove duplicated calculations and simplify
45695 * app/base/tile-manager.c:
45696 - (tile_manager_get_tile_num): Return success and take an additional
45697 pointer for the tilenumber.
45698 - Simplify logic in the rest of the file as a result.
45699 - Remove rotten debugging cruft.
45701 * app/core/gimpbrushgenerated.c: Fix two stylistic nits.
45703 * app/app_procs.c: Include <stdlib.h> for exit () prototype.
45705 * app/core/gimpdrawable-blend.c: Include <stdlib.h> for abs ()
45708 * app/display/gimpdisplay.c: Include <string.h> for memcpy ()
45711 * app/core/gimpimage-convert.c: (HIST_RGB): First parameter is
45712 not const. Fixes a gcc warning for a wrong return value.
45714 * libgimpwidgets/gimpunitmenu.c
45715 * app/core/gimpunit.c: Add suggested (by gcc 3.1 cvs) parentheses
45716 to group correct logic tests together.
45718 * app/paint-funcs/paint-funcs-generic.h: Fix my HAS_ALPHA macro
45719 to avoid gcc 3.1 cvs warning.
45724 * app/base/boundary.h
45725 * app/base/gimplut.[ch]
45726 * app/base/pixel-region.h
45727 * app/base/pixel-surround.[ch]
45728 * app/base/temp-buf.[ch]
45729 * app/base/tile-manager-private.h
45730 * app/base/tile-manager.c
45731 * app/base/tile-private.h
45732 * app/base/tile.[ch]
45734 * app/core/gimpbrushgenerated.h
45735 * app/core/gimpbrushpipe.h
45736 * app/core/gimpchannel.[ch]
45737 * app/core/gimpcontainer.h
45738 * app/core/gimpcoreconfig.h
45739 * app/core/gimpdata.h
45740 * app/core/gimpdatafactory.[ch]
45741 * app/core/gimpdrawable-blend.c
45742 * app/core/gimpdrawable.[ch]
45743 * app/core/gimpimage.h
45744 * app/core/gimpimagefile.h
45745 * app/core/gimplayer.h
45746 * app/core/gimplayermask.h
45747 * app/core/gimpmoduleinfo.h
45748 * app/core/gimppalette.h
45749 * app/core/gimpundo.h
45750 * app/display/gimpdisplay.h
45751 * app/display/gimpdisplayshell-selection.h
45752 * app/display/gimpdisplayshell.h
45753 * app/gui/brush-select.h
45754 * app/gui/gradient-editor.h
45755 * app/gui/gradient-select.h
45756 * app/gui/info-dialog.h
45757 * app/gui/resize-dialog.h
45758 * app/tools/gimpbezierselecttool.h
45759 * app/tools/gimpcolorbalancetool.h
45760 * app/tools/gimpcolorpickertool.h
45761 * app/tools/gimpcurvestool.h
45762 * app/tools/gimpdodgeburntool.c
45763 * app/tools/gimpfreeselecttool.h
45764 * app/tools/gimpfuzzyselecttool.h
45765 * app/tools/gimphuesaturationtool.h
45766 * app/tools/gimpinktool-blob.h
45767 * app/tools/gimpinktool.h
45768 * app/tools/gimpiscissorstool.h
45769 * app/tools/gimpmagnifytool.h
45770 * app/tools/gimpmeasuretool.h
45771 * app/tools/gimppainttool.h
45772 * app/tools/gimppathtool.h
45773 * app/tools/gimprectselecttool.h
45774 * app/tools/gimpthresholdtool.h
45775 * app/tools/gimptool.h
45776 * app/tools/gimptransformtool.h
45777 * app/tools/path_toolP.h
45778 * app/widgets/gimpbrushfactoryview.h
45779 * app/widgets/gimpconstrainedhwrapbox.h
45780 * app/widgets/gimpcontainermenu.h
45781 * app/widgets/gimpcontainerview.h
45782 * app/widgets/gimpdialogfactory.h
45783 * app/widgets/gimpimagedock.h
45784 * app/widgets/gimplistitem.h
45785 * app/widgets/gimpmenuitem.h
45786 * app/widgets/gimpnavigationpreview.h
45787 * app/widgets/gimppreview.h: Unsignify lots of variables and
45788 parameters and use bitfields in structs where possible. First
45789 part of a huge cleanup all over the code...
45791 2001-12-01 Michael Natterer <mitch@gimp.org>
45793 * app/errors.c: forgot a "return".
45795 * app/gui/error-console-dialog.c: the menu item signals were
45796 connected "swapped", which is wrong.
45798 * app/tools/gimperasertool.c: added a cursor_update_func(), update
45799 the "toggled" state there and chain up. Fixes wrong cursor
45802 Made brush_pipe slection work again, removed the #warnings:
45804 * app/core/gimpbrush.[ch]
45805 * app/core/gimpbrushpipe.c: changed brush_class->select_brush()
45806 and brush_class->want_null_motion() to be proper virtual
45807 functions. Pass last_coords and cur_coords to them.
45809 * app/tools/gimppainttool.c: call the functions again.
45811 2001-12-01 Michael Natterer <mitch@gimp.org>
45814 * app/appenv.h: moved "message_handler" from here...
45816 * app/core/gimp.[ch]: ...to here. Added gimp_message() and a
45817 "gui_message_func" pointer...
45819 * app/gui/gui.c: ...which gets set here to gui_message().
45821 * app/errors.c: don't include any gui stuff but simply call
45824 * app/app_procs.c: don't set "message_handler" here, it's done in
45827 * app/gui/error-console-dialog.[ch]: use gimp->message_handler.
45829 * app/gui/dialogs-constructors.c: pass a Gimp pointer to
45830 error_console_create().
45832 * app/widgets/gimpwidgets-utils.[ch]: made the "message" parameter
45833 of gimp_message_box() a const gchar*, not just gchar*.
45835 * tools/pdbgen/pdb/message.pdb: use gimp->message_handler, don't
45836 include "appenv.h".
45838 * app/pdb/message_cmds.c: regenerated.
45840 * app/devices.[ch]: cleanup before chopping: removed global
45841 variable "current_device", added devices_get_current(), pass lots
45842 of Gimp pointers around.
45844 * app/gimprc.c: pass a Gimp pointer to devices_rc_update().
45846 * app/display/gimpdisplayshell-callbacks.c
45847 * app/gui/toolbox.c
45848 * app/tools/gimppainttool.c: use devices_get_current(), pass Gimp
45849 pointers to all devices_foo() functions.
45851 * app/core/gimpimage-mask.c: no need to include "pdb/pdb-types.h".
45853 2001-12-01 Daniel Egger <degger@fhm.edu>
45855 * app/core/Makefile.am
45856 * libgimp/Makefile.am
45857 * libgimpbase/Makefile.am
45858 * libgimpcolor/Makefile.am
45859 * libgimpmath/Makefile.am
45860 * libgimpwidgets/Makefile.am
45861 * modules/Makefile.am
45862 * themes/Default/Makefile.am: Don't try to concatenate something
45863 to a variable not used before but simply assign it. Shuts up
45864 annoying automake warnings for me.
45866 2001-12-01 Abel Cheung <maddog@linux.org.hk>
45868 * tips/{Makefile.am,makefile.mingw}: Added gimp_tips.zh_TW.txt
45871 * tips/gimp_tips.zh_TW.txt: Added traditional Chinese translation
45874 2001-11-30 Michael Natterer <mitch@gimp.org>
45877 * app/plug_in.[ch]: removed...
45879 * app/plug-in/Makefile.am
45880 * app/plug-in/plug-in-types.h
45881 * app/plug-in/plug-in.[ch]: ...and added here.
45883 * app/appenv.h: removed StackTraceMode and MessageHandlerType...
45885 * libgimpbase/gimpbasetypes.h: ...and added them here.
45887 * tools/pdbgen/Makefile.am: don't scan "app/apptypes.h" for enums.
45889 * tools/pdbgen/enumcode.pl: added a general check to prevent
45890 enums which are defined in libgimp* from being written to
45891 "libgimp/gimpenums.h".
45893 * libgimp/gimpenums.h
45894 * plug-ins/script-fu/script-fu-constants.c
45895 * tools/pdbgen/enums.pl: regenerated.
45897 * app/core/core-types.h: include "pdb/pdb-types.h" so including
45898 "core/core-types.h" gets the whole core type space.
45900 * app/core/gimp.[ch]: added a "stack_trace_mode" parameter to the
45901 constructor and store it in the Gimp struct because the value is
45902 also passed to plug-ins and nobody should include "appenv.h".
45904 * app/gimprc.[ch]: pass the alternate_system_gimprc and
45905 alternate_gimprc filenames from the command line to gimprc_prase()
45906 so we don't need to include "appenv.h".
45908 * app/batch.[ch]: pass the "batch_cmds" as parameter, don't
45909 include "append.h".
45911 * app/app_procs.c: pass more parameters around.
45917 * app/core/gimpgradient.c
45918 * app/display/gimpdisplay.c
45919 * app/display/gimpdisplayshell.c
45920 * app/file/file-open.c
45921 * app/file/file-save.c
45922 * app/file/file-utils.c
45923 * app/gui/commands.c
45924 * app/gui/error-console-dialog.c
45925 * app/gui/file-dialog-utils.c
45926 * app/gui/file-open-dialog.c
45927 * app/gui/file-save-dialog.c
45928 * app/gui/paths-dialog.c
45929 * app/gui/user-install-dialog.c
45930 * app/tools/gimpbezierselecttool.c
45931 * app/tools/xinput_airbrush.c
45933 * tools/pdbgen/pdb/fileops.pdb
45934 * tools/pdbgen/pdb/help.pdb
45935 * tools/pdbgen/pdb/message.pdb
45936 * tools/pdbgen/pdb/plug_in.pdb: changed accordingly:
45938 - changed "plug-in.h" include where needed.
45939 - don't call gimp_fatal_error() directly, it's called via the log
45940 handler when calling g_error().
45941 - don't incude "errors.h" except from main.c.
45942 - changed stack_trace and message_handler enum names.
45943 - get "stack_trace_mode" from Gimp.
45944 - removed many inclusions of "appenv.h".
45946 * app/pdb/fileops_cmds.c
45947 * app/pdb/help_cmds.c
45948 * app/pdb/message_cmds.c
45949 * app/pdb/plug_in_cmds.c
45950 * app/pdb/procedural_db.c: regenerated.
45952 2001-11-30 Michael Natterer <mitch@gimp.org>
45954 * app/display/Makefile.am
45955 * app/display/gximage.[ch]: removed. It was a wrapper around
45956 nothing since we use GdkRGB.
45958 * app/display/gimpdisplayshell-render.[ch]: added the render
45959 buf size defines here, added the #if 0'ed display filter stuff
45960 and the actual GdkRGB render stuff here too.
45962 * app/display/gimpdisplayshell.[ch]: added shell->render_buf as
45963 replacement for the global gximage buffer, renamed shell->scroll_gc
45964 to shell->render_gc and use it all over the place when rendering
45967 * app/display/gimpdisplayshell-callbacks.c
45968 * app/display/gimpdisplayshell-scroll.c: changed accordingly.
45970 * app/gui/gui.c: don't call gximage init/exit stuff.
45972 2001-11-30 Rebecca Walter <bex@gimp.org>
45974 * app/gui/gradient-select.c
45976 * app/gui/indicator-area.c
45977 * app/gui/info-dialog.c
45978 * app/gui/info-window.c: More proofreading.
45979 In cooperation with Marco Wessel (CyBeR)
45981 2001-11-30 Michael Natterer <mitch@gimp.org>
45984 * app/colormaps.[ch]: removed.
45986 * app/app_procs.c: don't call it.
45988 * app/gui/gui.c: configure GdkRGB here.
45990 * app/display/gimpdisplayshell.c
45991 * app/display/gximage.c
45992 * app/gui/color-notebook.c
45993 * app/gui/color-select.c
45994 * app/gui/colormap-dialog.c
45995 * app/gui/info-window.c
45996 * app/gui/preferences-dialog.c
45997 * app/tools/gimpmovetool.c
45998 * app/display/gimpdisplayshell-selection.c: changed accordingly
45999 (simply removed the unneded include or use
46000 gdk_gc_set_rgb_[fg|bg]_color() instead).
46002 * app/display/gimpdisplayshell.c
46003 * app/display/gimpdisplayshell-callbacks.[ch]: chopped
46004 gimp_display_shell_canvas_events() in smaller callbacks. Only the
46005 events that trigger tool actions are handled in a single callback.
46007 2001-11-30 Michael Natterer <mitch@gimp.org>
46009 * app/core/Makefile.am
46010 * app/core/gimpimage-qmask.[ch]: new files: the QMask stuff
46011 stripped from GUI code. Added gimp_image_qmask_invert().
46013 * app/core/gimpimage.[ch]: removed the QMask functions.
46015 * app/display/Makefile.am
46016 * app/display/gimpdisplayshell-qmask.[ch]: removed.
46018 * app/gui/Makefile.am
46019 * app/gui/qmask-commands.[ch]: new files for the new QMask item
46020 factory callbacks and the qmask query dialog.
46022 * app/gui/menus.c: added a context menu for the QMask button.
46024 * app/display/gimpdisplayshell.c
46025 * app/display/gimpdisplayshell-handlers.c: don't include the qmask
46028 * app/display/gimpdisplayshell-callbacks.[ch]: Moved the 2 qmask
46029 callbacks here. Don't popup the dialog on double_click. Show
46030 the contect menu on right-click.
46032 * app/display/gimpdisplayshell-callbacks.[ch]:
46033 gimp_display_shell_canvas_events(): removed the hack of
46034 conntecting "key_press_event" to gtk_true() while a tool is
46035 active. Instead, check for (event & GDK_BUTTON1_MASK) in the
46036 key_press and key_release handlers and stop signal emission. Save
46037 the modifier state on "button_press" and restore it after
46040 Changed the way context menus are updated/shown:
46042 - removed GimpContainerContextFunc.
46043 - pass around item factory identifiers (e.g. "<Brushes>")
46044 - added voodoo to update the menus before showing them.
46046 * app/widgets/gimpitemfactory.[ch]: gimp_item_factory_new(): take
46047 a GimpItemFactoryUpdateFunc parameter, attach it as data to the
46048 factory and use it to update the menu in
46049 gimp_item_factory_popup_with_date().
46051 * app/widgets/gimpwidgets-utils.[ch]: removed
46052 gimp_item_factory_popup_with_data() here.
46054 * app/widgets/gimpbrushfactoryview.[ch]
46055 * app/widgets/gimpbufferview.[ch]
46056 * app/widgets/gimpcontainereditor.[ch]
46057 * app/widgets/gimpdatafactoryview.[ch]
46058 * app/widgets/gimpdocumentview.[ch]
46059 * app/widgets/gimpdrawablelistview.[ch]: use item_factory
46060 identifier strings all over the place.
46062 * app/widgets/gimpdockbook.c: removed the menu update code, it's
46063 now in gui/dialogs-commands.c.
46065 * app/gui/brushes-commands.[ch]
46066 * app/gui/buffers-commands.[c]
46067 * app/gui/channels-commands.[ch]
46068 * app/gui/dialogs-commands.[ch]
46069 * app/gui/documents-commands.[ch]
46070 * app/gui/gradient-editor-commands.[ch]
46071 * app/gui/gradients-commands.[ch]
46072 * app/gui/layers-commands.[ch]
46073 * app/gui/palettes-commands.[ch]
46074 * app/gui/patterns-commands.[ch]: removed all show_context_menu()
46075 functions and made the update functions public. Changed all
46076 update functions to use the gimp_item_factory_set_foo() methods
46077 instead of gimp_menu_item_set_foo().
46079 * app/gui/menus.c: pass the update functions to the
46080 gimp_item_factory_new().
46082 * app/gui/dialogs-constructors.c: pass item factory identifiers to
46083 all view constructors.
46085 * app/gui/gradient-editor.c: show the context menu using the new
46088 * app/gui/toolbox.c: no need to include "dialogs-commands.h".
46090 2001-11-29 Sven Neumann <sven@gimp.org>
46092 * app/config/gimpconfig.c (gimp_config_serialize): ooops.
46094 2001-11-29 Michael Natterer <mitch@gimp.org>
46096 * app/gui/menus.c: set the accelerators for the "Open Recent"
46097 items > 10 to "" instead of NULL so gtk+ doesn't use the stock
46098 item's default accel.
46100 * app/widgets/gimpdock.c
46101 * app/widgets/gimpimagedock.c: set the docks' titles to
46102 "Gimp Dock #<n>" instead of just "Gimp" so they can be
46103 distinguished in the WM's window list or dock or whatever.
46105 2001-11-29 Michael Natterer <mitch@gimp.org>
46107 * app/gui/menus.c: put the last_opened menu entries in a
46108 submenu called "Open Recent", added items to create a dock
46109 with some useful tabs in it ("Brushes, Patterns & Stuff..."),
46111 * app/gui/dialogs-commands.[ch]: added a callback for the new
46112 "Stuff" menu entry.
46114 * app/gui/dialogs-constructors.h: removed dialogs_lc_get()
46115 declaration because it doesn't exist.
46117 2001-11-29 Michael Natterer <mitch@gimp.org>
46119 * app/display/gimpdisplayshell.[ch]: replaced the QMask radio
46120 buttons by a single check button. Still needs some tuning.
46122 * app/display/gimpdisplayshell-handlers.c
46123 * app/display/gimpdisplayshell-qmask.[ch]: changed accordingly.
46125 * app/tools/gimptool.[ch]: added "gboolean handle_empty_image" to
46126 the GimpTool structure.
46128 * app/tools/gimpmovetool.c: set it to TRUE.
46130 * app/tools/gimpfuzzyselecttool.c: don't gimp_[set|unset]_busy()
46131 while calculating the selection but set the busy cursor on the
46132 display manually (we have the pointer grabbed anyway).
46134 * app/display/gimpdisplayshell-callbacks.c: don't check for
46135 GIMP_IS_MOVE_TOOL(active_tool) but look at
46136 active_tool->handle_empty_image. Removed the checks for
46137 GIMP_IS_FUZZY_SELECT_TOOL(active_tool) because fuzzy_select
46138 doesn't set GIMP busy while it's active any more.
46140 * app/tools/transform_options.[ch]
46141 * app/tools/gimptransformtool.c
46142 * app/tools/gimprotatetool.c
46143 * app/tools/gimpscaletool.c: added widgets for the transform tools'
46144 constraints (one more #51108 issue fixed).
46146 * app/tools/gimperasertool.c: cosmetic.
46148 * app/widgets/gimpdockbook.c: don't hardcode GtkNotebook's
46149 tab_border to 0 but add a style property for it...
46151 * themes/Default/gtkrc: ...and set it to 0 here.
46153 2001-11-29 Sven Neumann <sven@gimp.org>
46155 * libgimpbase/gimpenv.c
46156 * plug-ins/helpbrowser/helpbrowser.c
46157 * plug-ins/imagemap/imap_preferences.c: use g_build_filename().
46159 * plug-ins/script-fu/script-fu-scripts.c: use new GDir functions,
46160 g_build_filename() and g_file_test() to make code more portable.
46161 Don't use deprecated gdk_font functions. We don't use X fonts any
46164 2001-11-29 Sven Neumann <sven@gimp.org>
46166 * app/gimprc.c (save_gimprc_strings): reverted list handling for
46167 unknown_tokens to the code used in 1.2 which has the advantage that
46170 2001-11-29 Sven Neumann <sven@gimp.org>
46172 * m4macros/gimp-1.4.m4: use gimptool-1.3.
46174 * app/display/gimpdisplayshell.c
46175 * app/gui/gui.c: cosmetic changes from Guillermo S. Romero.
46177 * plug-ins/common/*.c
46178 * plug-ins/script-fu/script-fu-scripts.c: applied patches from
46179 Guillermo S. Romero that change the button ordering. I had to redo
46180 some of the changes by hand since the patches didn't apply cleanly.
46181 Hopefully got it all right...
46183 2001-11-28 Kelly Martin <kmartin@pyrzqxgl.org>
46185 * base/pixel-region.c base/tile-manager.c: a couple more
46186 interesting off-by-one errors. it appears to work now, though.
46188 2001-11-28 Kelly Martin <kmartin@pyrzqxgl.org>
46190 * base/pixel-region.c: corrected an off-by-one error, sorry :)
46192 2001-11-28 Kelly Martin <kmartin@pyrzqxgl.org>
46194 * app/undo.c: Fixed another use of array of gpointer in place of a
46195 proper struct, this time in undo_(push|pop)_channel_mod.
46197 * base/base-types.h
46198 * base/tile-manager.h
46199 * base/tile-manager-private.h
46200 * base/tile-manager.c: added PixelDataHandle as an abstraction
46201 on top of tiles. PixelDataHandles either return a pointer into
46202 the tile data, or create a temporary buffer so the calling
46203 function can access data from disparate tiles using a single
46204 buffer. This is a step in reducing the dependence of core
46205 image functions being aware of tiles as well as a step toward
46206 having a single abstraction for pixel data.
46208 * app/image_map.c: changed to use read_pixel_data_1
46209 * app/pixel-region.c: changed to use the read_pixel_data and
46210 write_pixel_data where practical.
46212 2001-11-28 Michael Natterer <mitch@gimp.org>
46214 * app/core/gimpimage-mask.[ch]: s/gimage_mask/gimp_image_mask/g
46216 * app/floating_sel.c
46218 * app/undo_history.c
46219 * app/core/gimpchannel.c
46220 * app/core/gimpdrawable-blend.c
46221 * app/core/gimpdrawable-transform.c
46222 * app/core/gimpdrawable.c
46223 * app/core/gimpedit.c
46224 * app/core/gimpimage-crop.c
46225 * app/core/gimpimage-mask-select.c
46226 * app/core/gimpimage-resize.c
46227 * app/core/gimpimage-scale.c
46228 * app/core/gimpimage.c
46229 * app/display/gimpdisplayshell-qmask.c
46230 * app/display/gimpdisplayshell-selection.c
46231 * app/display/gimpdisplayshell.c
46232 * app/gui/channels-commands.c
46233 * app/gui/edit-commands.c
46234 * app/gui/layers-commands.c
46235 * app/gui/select-commands.c
46236 * app/tools/gimpbucketfilltool.c
46237 * app/tools/gimpbycolorselecttool.c
46238 * app/tools/gimpclonetool.c
46239 * app/tools/gimpcroptool.c
46240 * app/tools/gimpeditselectiontool.c
46241 * app/tools/gimpfliptool.c
46242 * app/tools/gimpfreeselecttool.c
46243 * app/tools/gimpinktool.c
46244 * app/tools/gimpmovetool.c
46245 * app/tools/gimppainttool.c
46246 * app/tools/gimprectselecttool.c
46247 * app/tools/gimpselectiontool.c
46248 * app/tools/gimptexttool.c
46249 * app/tools/gimptransformtool.c
46250 * app/widgets/gimpchannellistview.c
46251 * app/xcf/xcf-save.c
46252 * tools/pdbgen/pdb/edit.pdb
46253 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
46255 * app/pdb/edit_cmds.c
46256 * app/pdb/selection_cmds.c: regenerated.
46258 2001-11-28 Michael Natterer <mitch@gimp.org>
46260 * app/base/base-types.h: include the new
46261 "paint-funcs/paint-funcs-types.h".
46263 * app/paint-funcs/Makefile.am
46264 * app/paint-funcs/paint-funcs-types.h: new file. Includes
46265 "base/base-types.h".
46267 * app/paint-funcs/paint-funcs.[ch]: removed the enums here,
46268 include "paint-funcs-types.h".
46270 * app/widgets/widgets-types.h: include "display/display-types.h"
46272 * app/display/display-types.h: include "widgets/widgets-types.h".
46274 * app/tools/tools-types.h: include "display/display-types.h"
46276 * app/gui/gui-types.h: include "tools/tools-types.h".
46278 The order of namespaces/dependencies should be (but is not):
46280 (base, paint-funcs) -> (core, file, xcf, pdb) ->
46281 (widgets, display) -> tools -> gui
46283 * app/path.c: include "tools/tools-types.h".
46285 * app/core/Makefile.am
46286 * app/core/gimpimage-guides.[ch]
46287 * app/core/gimpimage-merge.[ch]
46288 * app/core/gimpimage-resize.[ch]
46289 * app/core/gimpimage-scale.[ch]: new files.
46291 * app/core/gimpimage.[ch]: removed the stuff which is in the new
46292 files. Reordered all functions in both the .h and .c files,
46293 commented the groups of functions.
46295 * app/core/gimpcontainer.c: create the handler_id using a counter,
46296 not the address of a pointer, because the address *may* be the
46297 same twice, added debugging output.
46299 * app/core/gimpviewable.[ch]: added primitive support for getting
46300 a preview GdkPixbuf.
46304 * app/undo_history.c
46305 * app/core/gimpimage-duplicate.c
46306 * app/core/gimpimage-mask.[ch]
46307 * app/display/gimpdisplay.c
46308 * app/display/gimpdisplayshell-callbacks.c
46309 * app/display/gimpdisplayshell-dnd.c
46310 * app/display/gimpdisplayshell-render.c
46311 * app/display/gimpdisplayshell-scale.c
46312 * app/display/gimpdisplayshell-scroll.c
46313 * app/gui/image-commands.c
46314 * app/gui/info-window.c
46315 * app/gui/layers-commands.c
46316 * app/gui/palette-import-dialog.c
46317 * app/tools/gimpbycolorselecttool.c
46318 * app/tools/gimpeditselectiontool.c
46319 * app/tools/gimpmeasuretool.c
46320 * app/tools/gimpmovetool.c
46321 * app/widgets/gimpcontainerview-utils.c
46322 * app/xcf/xcf-load.c: changed accordingly, some cleanup.
46324 * tools/pdbgen/pdb/guides.pdb
46325 * tools/pdbgen/pdb/image.pdb: changed accordingly, reordered functions.
46327 * app/plug_in.c: set the labels of the "Repeat" and "Re-Show" menu
46328 items to the name of the last plug-in (Fixes #50986).
46330 * app/display/gimpdisplayshell.[ch]: set the labels of "Undo" and
46331 "Redo" to the resp. undo names. Much simplified the WM-icon stuff
46332 by removing most code and using gimp_viewable_get_new_preview_pixbuf().
46334 * app/widgets/gimpbrushfactoryview.c: forgot to assign the GQuark
46335 returned by gimp_container_add_handler().
46337 * app/pdb/guides_cmds.c
46338 * app/pdb/image_cmds.c
46339 * libgimp/gimpimage_pdb.[ch]: regenerated.
46341 2001-11-28 Kelly Martin <kmartin@pyrzqxgl.org>
46343 * app/undo.c: Fixed evil<tm> double casting of enum to glong to
46344 gpointer for layer_mod undo by using a struct instead of an array
46345 of gpointer (!!!) for storing layer_mod undo data. Also moved
46346 layer offset undo information out of the undo tile manager.
46347 * app/image_map.c: Moved layer offset undo information out of the
46350 Above changes may break image_map and layer_mod undos, please test
46353 2001-11-28 Michael Natterer <mitch@gimp.org>
46355 * app/core/Makefile.am
46356 * app/core/gimpimage-projection.[ch]: new files. Changed function
46357 names to be consistent.
46359 * app/core/gimpimage.[ch]: removed the projection stuff
46360 here. Removed the gimp_image_composite_blah() functions because
46361 they were just calling the resp. gimp_image_projection ones.
46363 * app/core/gimpimage-contiguous-region.c
46364 * app/core/gimpimage-convert.c
46365 * app/core/gimpimage-crop.c
46366 * app/core/gimppalette-import.c
46368 * app/display/gimpdisplay.c
46369 * app/display/gimpdisplayshell-render.c
46370 * app/gui/info-window.c
46371 * app/tools/gimpbycolorselecttool.c
46372 * app/tools/gimpcolorpickertool.c
46373 * app/tools/gimpiscissorstool.c: changed accordingly.
46375 2001-11-28 Michael Natterer <mitch@gimp.org>
46377 * themes/Default/images/Makefile.am
46378 * themes/Default/images/stock-wilber-16x16.png
46379 * themes/Default/images/stock-wilber-32x32.png
46380 * themes/Default/images/stock-wilber-48x48.png
46381 * themes/Default/images/stock-wilber-64x64.png: new files.
46383 * themes/Default/Makefile.am: create gimp-wilber-pixbufs.h
46385 * libgimpwidgets/gimpdialog.[ch]: removed gimp_dialog_set_icon().
46387 * libgimpwidgets/gimpwidgets.[ch]: added gimp_widgets_init() which
46388 calls gimp_stock_init() and calls gtk_window_set_default_icon_list()
46389 with the above set of inlined pixbufs.
46392 * app/gui/gui.c: call gimp_widgets_init().
46394 * app/display/gimpdisplayshell.c: removed the fallback icon stuff.
46397 * app/gui/user-install-dialog.c
46398 * app/widgets/gimpdock.c
46399 * app/widgets/gimpitemfactory.c
46400 * libgimpwidgets/gimphelpui.c
46401 * plug-ins/imagemap/imap_default_dialog.c
46402 * plug-ins/imagemap/imap_file.c: don't call gimp_dialog_set_icon().
46404 * plug-ins/common/uniteditor.c: wanted to start hacking here...
46405 Nothing really changed.
46407 2001-11-28 Michael Natterer <mitch@gimp.org>
46409 * libgimpwidgets/gimpbutton.c
46410 * libgimpwidgets/gimpcolorarea.c
46411 * libgimpwidgets/gimpcolorbutton.c
46412 * libgimpwidgets/gimpoffsetarea.c: fixed button_press event handling,
46413 removed double g_return_if_fail()s, misc. cleanup.
46415 * app/display/gimpdisplayshell.c: removed the SET_COLOR() stuff
46418 * app/gui/menus.c: ...and added it here so it actually works.
46420 * app/widgets/gimpcolorpanel.c: add color previews to the
46423 * app/widgets/gimpdockbook.c: use the item_factory functions now
46424 that they are in widgets/.
46426 * app/widgets/gimpitemfactory.[ch]: nothing, we just want to keep
46429 2001-11-27 Daniel Egger <degger@fhm.edu>
46431 * app/paint-funcs/paint-funcs-generic.h
46432 * app/paint-funcs/paint-funcs.c
46433 * app/paint-funcs/paint-funcs.h: Unsignified lots of arguments
46436 2001-11-27 Michael Natterer <mitch@gimp.org>
46438 * app/widgets/Makefile.am
46439 * app/widgets/gimpitemfactory.[ch]: put the whole generic stuff
46440 from gui/menus.[ch] here (where generic == less_evil because it at
46441 least does not depend on particular menu entries).
46443 * app/gui/menus.[ch]: removed the stuff here. Only the global menu
46444 definitions and bad hacks to adjust them to our needs left.
46445 Removed all menus_get_foobar_factory() functions because we can
46446 use gtk_item_factory_from_path("<FooBar>") all over the place.
46449 * app/display/gimpdisplayshell.c
46450 * app/gui/brushes-commands.c
46451 * app/gui/buffers-commands.c
46452 * app/gui/channels-commands.c
46453 * app/gui/dialogs.c
46454 * app/gui/documents-commands.c
46455 * app/gui/file-dialog-utils.c
46456 * app/gui/file-open-dialog.c
46457 * app/gui/file-save-dialog.c
46458 * app/gui/gradient-editor-commands.c
46459 * app/gui/gradients-commands.c
46461 * app/gui/layers-commands.c
46462 * app/gui/palettes-commands.c
46463 * app/gui/paths-dialog.c
46464 * app/gui/patterns-commands.c
46465 * app/gui/toolbox.c: changed accordingly. None of these files
46466 except gui/gui.c includes gui/menus.h any more.
46468 2001-11-27 Michael Natterer <mitch@gimp.org>
46470 * app/core/gimpcontainer.c: GType is a pointer now, not a guint.
46472 * app/widgets/gimpdock.c: chain up in widget_class->style_set().
46474 Gradient Editor chopping plus merging of bex' proofreading:
46477 * app/core/core-types.h: moved the gradient related enums here.
46479 * app/core/gimpgradient.[ch]: removed the enums, added gradient
46480 segment utility functions from the gradient_editor.
46482 * app/gui/gui-types.h: added the GradientEditor typedef here.
46484 * app/gui/Makefile.am
46485 * app/gui/gradient-editor-commands.[ch]: new files implementing
46486 callbacks and menu_update stuff for the new gradient_editor
46489 * app/gui/gradient-editor.[ch]: removed tons of code, namespace
46492 * app/gui/menus.[ch]: added the gradient_editor menu stuff here.
46493 Added menus_set_color() which creates & updates a color menu item
46494 (will soon be used in other places too). Renamed menus_set_state()
46495 to menus_set_active().
46497 The editor's menu code is ugly as before, only different and evil
46498 the same way as the rest of the menu stuff, so it's at least
46501 * app/display/gimpdisplayshell.c: changed accordingly.
46503 * app/gui/test-commands.c: don't include "gradient-editor.h".
46505 2001-11-27 Sven Neumann <sven@gimp.org>
46509 * app/config/gimpconfig.[ch]
46510 * app/config/gimpconfig-serialize.[ch]
46511 * app/config/gimpconfig-deserialize.[ch]: added new base class
46512 GimpConfig that knows how to serialize and deserialize it's properties
46513 in sexp format. Contains two example properties that will go into
46514 derived classes once this is really used.
46516 * app/main.c: deserialize and serialize the test GimpConfig object to
46517 ~/.gimp-1.3/foorc (only for debugging).
46519 * app/widgets/widgets-types.h
46520 * app/core/core-types.h: moved GimpPreviewSize enum to core-types.
46522 * app/core/core-types.h: don't include gdk-pixbuf.h.
46524 * app/core/gimptoolinfo.h
46525 * app/core/gimpimagefile.c: include gdk-pixbuf.h.
46527 * app/core/gimpimage.[ch]: made construct_flag a gboolean.
46529 * app/core/gimpdrawable-invert.c
46530 * app/core/gimpunit.c
46532 * tools/pdbgen/pdb/plug_in.pdb
46533 * app/pdb/plug_in_cmds.c: removed unused variables.
46535 * app/display/Makefile.am: removed .PHONY and files cruft
46538 * libgimp/Makefile.am
46539 * libgimpbase/Makefile.am
46540 * libgimpcolor/Makefile.am
46541 * libgimpmath/Makefile.am
46542 * libgimpwidgets/Makefile.am
46543 * plug-ins/Makefile.am: removed commented out makefile.mingw rules.
46544 If we ever need them again, they can easily be resurrected from CVS.
46546 2001-11-26 Kelly Martin <kmartin@pyrzqxgl.org>
46549 * libgimp/Makefile.am
46550 * libgimpbase/Makefile.am
46551 * libgimpcolor/Makefile.am
46552 * libgimpmath/Makefile.am
46553 * libgimpwidgets/Makefile.am
46554 * plug-ins/Makefile.am:
46555 Commented out makefile.mingw rules in Makefile.am. These conflict
46556 with the default rules generated by automake and generate annoying
46557 warnings. tml doesn't think they're needed anymore. If it turns
46558 out they are, they can be added back.
46560 2001-11-26 Rebecca Walter <rjp@mail.tele.dk>
46562 * app/gui/convert-dialog.c
46563 * app/gui/dialogs-constructors.c
46564 * app/gui/error-console-dialog.c
46565 * app/gui/file-commands.c
46566 * app/gui/file-new-dialog.c
46567 * app/gui/file-open-dialog.c
46568 * app/gui/file-save-dialog.c: More of my extensive proofing.
46569 Someone needs to check bex comments and do some hacking.
46571 2001-11-26 Michael Natterer <mitch@gimp.org>
46573 * app/core/gimpimage.c: gimp_image_construct_layers/channels():
46574 actually free the reverse_list after projecting the drawables.
46575 (Spotted by Kelly Martin).
46577 2001-11-26 Michael Natterer <mitch@gimp.org>
46579 * tools/authorsgen/contributors: added Rebecca Walter (bex).
46582 * app/gui/authors.h: regenerated.
46584 * app/widgets/widgets-types.h: added GimpPreviewSize enum.
46588 * app/gui/preferences-dialog.c
46589 * app/widgets/gimpdockbook.c: use the new enum.
46591 * app/tools/gimpbucketfilltool.c
46592 * app/tools/gimpconvolvetool.c
46593 * app/tools/gimpcroptool.c
46594 * app/tools/gimpdodgeburntool.c
46595 * app/tools/gimperasertool.c
46596 * app/tools/gimpfliptool.c
46597 * app/tools/gimpmagnifytool.c: added "(<Ctrl>)" and "(<Alt>)" to
46598 some tool options strings.
46600 * app/tools/gimpmovetool.c: some more widgets for hidden tool
46603 * app/tools/transform_options.c: renamed to "Tool Paradigm" stuff
46604 to something more understandable.
46606 * app/widgets/gimpdock.c: added a style property for the height
46609 * themes/Default/gtkrc: show how to use the new property.
46611 * app/widgets/gimpcontainerview.c
46612 * app/widgets/gimpdockable.c
46613 * app/widgets/gimplayerlistview.c: waste less lines when calling
46614 gtk_widget_style_get().
46616 2001-11-25 Simon Budig <simon@gimp.org>
46618 * app/tools/gimperasertool.c
46619 * app/tools/gimperasertool.h
46620 * tools/pdbgen/pdb/tools.pdb: Removed the color_erase option of
46623 * app/pdb/tools_cmds.c: regenerated.
46625 2001-11-25 Simon Budig <simon@gimp.org>
46627 * app/paint-funcs/paint-funcs.c: ANTI_ERASE had wrong
46628 layer mode information (according to the comments).
46629 Changed it to something sane. I did test it and no
46630 errors occurred. I wonder why they did not happen earlier...
46632 2001-11-25 Sven Neumann <sven@gimp.org>
46634 * Made 1.3.1 release.
46636 2001-11-25 Sven Neumann <sven@gimp.org>
46638 * app/paint-funcs/Makefile.am
46639 * data/misc/Makefile.am: made 'make dist' happy.
46641 2001-11-25 Sven Neumann <sven@gimp.org>
46646 * gimpui-1.3.pc.in: added pkg-config files for gimp-1.3.
46648 * gimptool-1.4.in: renamed to gimptool-1.3.in
46651 * docs/gimptool-1.4.1.in renamed to docs/gimptool-1.3.1.in.
46652 Disabled installation of man-pages; they need to be updated and
46653 should probably be renamed.
46655 * app/Makefile.am: generate binary called gimp-1.3 so we don't clash
46656 with older gimp installations.
46659 * gimpui-1.3.pc.in: added pkg-config files for gimp-1.3.
46664 2001-11-24 Sven Neumann <sven@gimp.org>
46666 Clean up after Marc Lehmann who changed tools/pdbgen/pdb/color.pdb
46667 and tools/pdbgen/pdb/image.pdb without writing a ChangeLog entry and
46668 without regenerating the respective files :-(
46670 * tools/pdbgen/pdb/color.pdb: another typo fix similar to the one
46673 * app/pdb/color_cmds.c
46674 * app/pdb/image_cmds.c
46675 * libgimp/gimpcolor_pdb.c
46676 * libgimp/gimpimage_pdb.c: regenerated.
46678 2001-11-24 Sven Neumann <sven@gimp.org>
46682 * app/pdb/plug_in_cmds.c
46683 * tools/pdbgen/pdb/plug_in.pdb: started to clean up plug_in code a
46684 little. Still a long way to go...
46686 * app/gui/splash.c: simplified
46688 2001-11-24 Simon Budig <simon@gimp.org>
46690 * app/base/base-types.h
46691 * app/paint-funcs/paint-funcs-generic.h
46692 * app/paint-funcs/paint-funcs.c
46693 * app/paint-funcs/paint-funcs.h
46694 * app/widgets/gimpwidgets-constructors.c:
46696 implemented "Color Erase" paint mode, the hack in the
46697 eraser tool will be removed.
46699 * app/pdb/brush_select_cmds.c
46700 * app/pdb/brushes_cmds.c
46701 * app/pdb/layer_cmds.c
46702 * app/pdb/tools_cmds.c
46703 * libgimp/gimpenums.h
46704 * plug-ins/script-fu/script-fu-constants.c
46705 * tools/pdbgen/enums.pl: regenerated
46707 2001-11-24 Rebecca Walter <rjp@mail.tele.dk>
46709 * app/gui/about-dialog.c
46710 * app/gui/brush-select.c
46711 * app/gui/color-notebook.c
46712 * app/gui/colormap-dialog.c: miscellaneous proofreading.
46714 2001-11-23 Sven Neumann <sven@gimp.org>
46716 * app/display/gimpdisplayshell.c: don't draw resize_grip in status bar
46717 (patch from Guillermo S. Romero).
46720 * app/display/gimpdisplayshell-filter-dialog.c
46721 * app/display/gimpdisplayshell-qmask.c
46722 * app/display/gimpdisplayshell.c
46723 * app/gui/channels-commands.c
46724 * app/gui/color-notebook.c
46725 * app/gui/convert-dialog.c
46726 * app/gui/error-console-dialog.c
46727 * app/gui/file-new-dialog.c
46728 * app/gui/gradient-editor.c
46729 * app/gui/layers-commands.c
46730 * app/gui/module-browser.c
46731 * app/gui/offset-dialog.c
46732 * app/gui/palette-import-dialog.c
46733 * app/gui/preferences-dialog.c
46734 * app/gui/resize-dialog.c
46735 * app/gui/resolution-calibrate-dialog.c
46736 * app/gui/user-install-dialog.c
46737 * app/tools/gimpbrightnesscontrasttool.c
46738 * app/tools/gimpcolorbalancetool.c
46739 * app/tools/gimpcurvestool.c
46740 * app/tools/gimphuesaturationtool.c
46741 * app/tools/gimplevelstool.c
46742 * app/tools/gimpposterizetool.c
46743 * app/tools/gimpthresholdtool.c
46744 * app/widgets/gimpfontselection-dialog.c
46745 * libgimpwidgets/gimpquerybox.c
46746 * libgimpwidgets/gimpunitmenu.c
46747 * modules/cdisplay_gamma.c
46748 * modules/cdisplay_highcontrast.c: changed button order to follow the
46749 new GTK+ style: confirmative is right-most (for LTR rendering).
46751 2001-11-23 Michael Natterer <mitch@gimp.org>
46753 * app/core/gimpcontainer.c: removed a useless g_return_if_fail().
46755 * app/widgets/gimpcontainereditor.h: removed GimpViewType enum.
46757 * app/widgets/widgets-types.h: added it here.
46759 * app/widgets/gimpcontainerview-utils.[ch]: added a utility function
46760 which gets the GimpContainerView out of a GimpDockable.
46762 * app/widgets/gimpdialogfactory.[ch]: added support for saving and
46763 loading of each GimpDockable's preview size. Store the dialog's
46764 default preview size in the GimpDialogFactoryEntry. Pass the
46765 preview_size to each created dialog.
46767 * app/gui/menus.c: added menu items for setting the preview_size
46768 and switching between list and grid view. Removed the item
46769 overkill in the "Add Tab" submenu.
46771 * app/gui/dialogs-commands.[ch]: added callbacks for the new items.
46773 * app/widgets/gimpdockbook.c: set the item's state before showing
46777 * app/gui/dialogs-constructors.[ch]
46778 * app/gui/dialogs.c
46779 * app/gui/edit-commands.c
46781 * app/gui/indicator-area.c
46782 * app/gui/toolbox.c: changed accordingly.
46784 * app/tools/selection_options.[ch]: cleaned up the selection
46785 options and added some tooltips. Much more to do...
46787 2001-11-23 Rebecca Walter <rjp@mail.tele.dk>
46789 * app/file/*.c: Proofing. only minor changes.
46791 2001-11-23 Sven Neumann <sven@gimp.org>
46793 * app/gimprc.c: don't include gimputils.h, it's gone.
46795 * libgimpbase/Makefile.am: removed stale reference to gimputils.h.
46797 * libgimpwidgets/gimpcolorbutton.h: wanted to type G_END_DECLS here.
46799 2001-11-23 Sven Neumann <sven@gimp.org>
46801 * configure.in: bumped version number to 1.3.1.
46802 Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
46803 and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
46806 * RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
46809 * HACKING: removed reference to RELEASE-TO-CVS.patch
46812 * app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
46813 to the new GTK+/Pango API.
46815 * app/core/Makefile.am: generate marshallers with gimp_marshal prefix.
46817 * app/core/gimpmarshal.list: added all marshallers we use.
46819 * app/core/gimpmarshal.[ch]: regenerated.
46821 * app/[lots of .c files]: use gimp_marshal_* for all marshallers.
46825 * app/gui/splash.c:
46827 * libgimpbase/Makefile.am
46828 * libgimpbase/gimpbase.h
46829 * libgimpbase/gimputils.[ch]: removed since they are no longer needed.
46832 * plug-ins/common/ps.c
46833 * plug-ins/gdyntext/gdyntext.c
46834 * plug-ins/gdyntext/gdyntextcompat.c
46835 * plug-ins/gfig/gfig.c
46836 * plug-ins/gflare/gflare.c
46837 * plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
46838 of gimp_strescape() and gimpstrcompress().
46840 * cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
46841 all _get_type function as G_GNUC_CONST.
46843 * tools/pdbgen/enumcode.pl
46844 * tools/pdbgen/lib.pl: make them generate header files using
46845 G_BEGIN_DECLS/G_END_DECLS.
46847 * pixmaps/Makefile.am
46848 * pixmaps/wilber3.xpm: removed ...
46849 * data/images/tips_wilber.png: ... and added here as PNG
46851 * app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.
46853 * data/images/gimp_splash.ppm: removed ...
46854 * data/images/gimp_splash.png: ... and added as PNG
46857 * app/gui/splash.[ch]: load the splash image using GdkPixbuf.
46859 * app/gui/about-dialog.c: sink the GtkPreview.
46861 2001-11-22 Michael Natterer <mitch@gimp.org>
46863 * app/devices.c: made device_status_update() static as declared.
46865 * app/core/gimpobject.h: don't include <gobject/gobject.h> as this
46866 is forbidden now (doesn't hurt as we need to include glib or gtk+
46867 before gimp headers in .c files anyway).
46869 * app/widgets/gimpcontainerlistview.c: better handling of
46870 "button_press" of list items: don't let a selected item being
46871 deselected, fixed context menu popup.
46873 2001-11-22 Michael Natterer <mitch@gimp.org>
46875 * app/tools/gimpclonetool.c
46876 * app/tools/gimpconvolvetool.c
46877 * app/tools/gimpcroptool.c
46878 * app/tools/gimpdodgeburntool.c
46879 * app/tools/gimpmagnifytool.c
46880 * app/tools/paint_options.c
46881 * app/tools/transform_options.c: removed the remaining cases of
46882 we-rely-on-the-radio-buttons-being-in-the-same-order-as-the-enum
46883 and use gimp_radio_group_set_active() instead.
46884 Use GINT_TO_POINTER(gint) instead of (gpointer)gint all over
46887 2001-11-22 Michael Natterer <mitch@gimp.org>
46889 * libgimpwidgets/gimpstock.c: added stock *items* (not only icons)
46890 for all tools so they can be used as action buttons.
46892 * app/tools/gimptransformtool.[ch]: added
46893 transform_tool->use_center so subclasses can switch on/off center
46894 detection/cursor_update . Added an oper_update() implementation
46895 and figure the current handle out there. Reordered button_press()
46896 so we don't need to call it recursively.
46898 * app/tools/gimpperspectivetool.c
46899 * app/tools/gimprotatetool.c
46900 * app/tools/gimpscaletool.c
46901 * app/tools/gimpsheartool.c: use the new stock items instead of
46904 * app/tools/gimpperspectivetool.c
46905 * app/tools/gimpscaletool.c: allow the whole thing being dragged
46906 around by handling the center separately.
46908 * app/tools/gimpdrawtool.c: gimp_draw_tool_on_handle(): need to
46909 use the radius, not the diameter to check if being over a
46910 GIMP_HANDLE_CIRCLE handle.
46912 2001-11-22 Michael Natterer <mitch@gimp.org>
46914 * libgimpwidgets/gimpwidgets.[ch]: use "gimp-item-data" instead of
46915 "user_data" as data key when attaching values to radio buttons or
46916 menu items. (For backward compat, attach "user_data" additionally,
46917 but don't use it to _get_data()).
46918 Added gimp_radio_group_set_active() which works like
46919 gimp_options_menu_set_history() and sets the active item by
46920 attached "gimp-item-data" value.
46922 * app/gui/brush-select.c
46923 * app/gui/file-new-dialog.c
46924 * app/gui/info-window.c
46925 * app/gui/preferences-dialog.c
46926 * app/gui/resolution-calibrate-dialog.c
46927 * app/tools/gimpbucketfilltool.c
46928 * app/tools/gimpselectiontool.c
46929 * app/tools/paint_options.c
46930 * app/tools/selection_options.c
46931 * app/widgets/gimplayerlistview.c: removed all kinds of
46932 "user_data" stuff and evil hacks to find a radio button by the
46933 value it represents (simply call gimp_radio_group_set_active()).
46935 * app/tools/gimpdrawtool.c: added a g_return_if_fail().
46937 * app/tools/gimpfliptool.c: don't set draw_tool_class->draw to NULL,
46939 * app/tools/gimptransformtool.[ch]: fixed some stuff i broke when
46940 removing the old "interactive" boolean (there is no
46941 non-interactive transform tool any more). Put the info_dialog
46942 pointer and the old_trans_info array into the GimpTransformTool
46943 instance. Added gimp_transform_tool_info_dialog_connect(). Don't
46944 include any subclasses any more.
46946 * app/tools/gimpperspectivetool.c
46947 * app/tools/gimprotatetool.c
46948 * app/tools/gimpscaletool.c
46949 * app/tools/gimpsheartool.c: use
46950 gimp_transform_tool_info_dialog_connect() to create and connect
46951 the info dialogs' action_area.
46953 2001-11-21 Sven Neumann <sven@gimp.org>
46955 * app/gui/splash.c: sink the GtkPreview created for the splash.
46957 * libgimpwidgets/gimphelpui.c: ref and sink the tooltips on creation.
46959 2001-11-21 Sven Neumann <sven@gimp.org>
46961 * libgimpwidgets/gimpfileselection.c: set the window title for file
46962 selection dialogs as we do for directory selection dialogs. Provide
46963 fallbacks if gimp_file_selection_new() is called with a NULL title.
46965 * plug-ins/script-fu/script-fu-enums.h
46966 * plug-ins/script-fu/script-fu-scripts.c
46967 * plug-ins/script-fu/siod-wrapper.c: applied a modified version of a
46968 patch from Matteo Nastasi <matteo.nastasi@milug.org> that adds the new
46969 Script-Fu parameter type SF-DIRNAME.
46971 * plug-ins/script-fu/scripts/test-sphere.scm: use SF-DIRNAME.
46973 2001-11-21 Michael Natterer <mitch@gimp.org>
46975 * RELEASE-TO-CVS.patch: regenerated with the stuff below included.
46977 2001-11-21 Michael Natterer <mitch@gimp.org>
46979 * app/tools/gimptexttool.c: seems I've comitted something which
46980 should only be in RELEASE-TO-CVS.patch. Sorry...
46982 2001-11-21 Michael Natterer <mitch@gimp.org>
46984 * app/display/gimpdisplayshell-callbacks.c: key press and release
46985 events were sent swapped to tools.
46987 * app/tools/selection_options.[ch]: added radio buttons for the
46988 selection operation (REPLACE, ADD, ...). Partly fixes #51108.
46990 * app/tools/gimpselectiontool.[ch]: honor the new tool options
46991 stuff. Do evil things in gimp_selection_tool_modifier_key().
46993 * app/tools/gimpbycolorselecttool.[ch]: removed most of the
46994 widgets from the by_color_select window because they are all in
46995 the selection_options now.
46997 * libgimpwidgets/gimpstock.[ch]: added new stock items for the
47000 * themes/Default/Makefile.am
47001 * themes/Default/images/Makefile.am
47002 * themes/Default/images/stock-button-selection-add.png
47003 * themes/Default/images/stock-button-selection-intersect.png
47004 * themes/Default/images/stock-button-selection-replace.png
47005 * themes/Default/images/stock-button-selection-subtract.png: new
47008 2001-11-21 Michael Natterer <mitch@gimp.org>
47010 * app/tools/selection_options.c: added "reset" code for the new
47011 auto_shrink tool options.
47013 2001-11-21 Michael Natterer <mitch@gimp.org>
47015 * pixmaps/Makefile.am
47016 * pixmaps/anchor.xpm
47019 * pixmaps/linked.xpm
47020 * pixmaps/paste-as-new.xpm
47021 * pixmaps/paste-into.xpm
47022 * pixmaps/refresh.xpm: felt like i had to remove some cruft, so
47023 these unused pixmaps had to go to the Attic.
47025 2001-11-21 Michael Natterer <mitch@gimp.org>
47027 * RELEASE-TO-CVS.patch: regenerated after the text tool changes.
47029 2001-11-20 Michael Natterer <mitch@gimp.org>
47031 * app/tools/tools-types.h: added GimpToolRegisterFunc,
47032 GimpToolRegisterCallback and GimpToolOptionsNewFunc typedefs
47033 which are used to register tools.
47035 * app/tools/tools.c: put the register funcs in an array of
47036 GimpToolRegisterFuncs. Pass a Gimp pointer *plus* a
47037 GimpToolRegisterCallback (which is tool_manager_register_tool())
47038 to the tools' register functions.
47040 * app/tools/tool_manager.[ch]: added a GimpToolOptionsNewFunc to
47041 the parameters of tool_manager_register_tool(). Create the tool
47042 options here, not in each tool.
47044 * app/tools/paint_options.[ch]
47045 * app/tools/selection_options.[ch]
47046 * app/tools/tool_options.[ch]
47047 * app/tools/transform_options.[ch]: all _init() and _new()
47048 functions take a GimpToolInfo pointer now. The _reset() func needs
47049 to be set manually now.
47051 * app/tools/[all_tools].[ch]: changed accordingly:
47053 - pass GimpToolOptionsNewFuncs to the register callback.
47054 - don't create the tool options in the tools' _init() function.
47055 - removed all static tool options variables.
47056 - get the options from the tool system in the cases i missed
47058 - added minor hacks to get rid of the static options pointer
47059 in some pathological cases :) (i.e. the ink tool).
47061 2001-11-20 David Neary <dneary@eircom.net>
47063 * app/core/gimppalette.c: Included errno.h
47065 2001-11-20 Rebecca Walter <rjp@mail.tele.dk>
47067 * app/core/gimpedit.c
47068 * app/core/gimpimagefile.c
47069 * app/core/gimpmoduleinfo.c
47070 * app/core/gimpmodules.c
47071 * app/core/gimppalette.c
47072 * app/core/gimppattern.c: More of the extensive proofing. Fun fun fun!
47074 2001-11-20 Sven Neumann <sven@gimp.org>
47076 * app/gui/preferences-dialog.c
47077 * plug-ins/common/gif.c
47078 * plug-ins/common/jpeg.c
47079 * plug-ins/common/mail.c: don't strip last character off when
47080 retrieving text from a GtkTextBuffer. There used to be a bug in GTK+
47081 that made this necessary. It has been fixed in the meantime.
47083 * plug-ins/gimpressionist/size.c: merged string fix from stable branch.
47085 2001-11-20 Michael Natterer <mitch@gimp.org>
47087 * app/tools/gimpdrawtool.[ch]
47088 * app/tools/gimppainttool.[ch]
47089 * app/tools/gimprectselecttool.[ch]
47090 * app/tools/gimptool.[ch]
47091 * app/tools/gimptransformtool.[ch]: use simple virtual functions
47092 instead of signals for all tools because they are much faster and
47093 don't need to be signals at all.
47095 2001-11-20 Michael Natterer <mitch@gimp.org>
47097 * app/core/gimp.c: put a g_object_ref() on a different line.
47099 * app/core/gimpdrawable-bucket-fill.c
47100 * app/core/gimpmodules.c: ne need to #include "core/..." here.
47102 * app/display/gimpdisplay-handlers.c: added debugging output
47103 because we have an image refcounting problem :(
47105 * app/display/gimpdisplayshell-handlers.c: fixed a signal
47108 * app/tools/gimpbezierselecttool.[ch]
47109 * app/tools/gimpblendtool.c
47110 * app/tools/gimpbucketfilltool.c
47111 * app/tools/gimpbycolorselecttool.c
47112 * app/tools/gimpclonetool.c
47113 * app/tools/gimpcolorpickertool.c
47114 * app/tools/gimpcroptool.c
47115 * app/tools/gimpellipseselecttool.c
47116 * app/tools/gimpfreeselecttool.c
47117 * app/tools/gimpfuzzyselecttool.c
47118 * app/tools/gimpinktool.c
47119 * app/tools/gimpiscissorstool.c
47120 * app/tools/gimpmagnifytool.c
47121 * app/tools/gimpmeasuretool.c
47122 * app/tools/gimprectselecttool.c
47123 * app/tools/gimpsmudgetool.c: get the tool's options via
47124 tool->tool_info->tool_options, not from the local statis pointer.
47125 Some minor cleanups & function reordering.
47127 * app/widgets/gimpdockbook.c: return TRUE from the notebook tabs'
47128 "button_press" handler, connect DND before cnnecting to
47129 "button_press" because we now stop it's emission.
47131 2001-11-19 Daniel Egger <degger@fhm.edu>
47133 * app/paint-funcs/paint-funcs.h: Added magic comment to prevent
47134 enums from being exported.
47136 2001-11-19 Daniel Egger <degger@fhm.edu>
47138 * app/paint-funcs/paint-funcs-mmx.h
47139 * app/paint-funcs/paint-funcs.c: Fixed typoes and brought the
47140 code back to compileland.
47142 Now the code IS tested. :)
47144 2001-11-19 Michael Natterer <mitch@gimp.org>
47146 Some moving of unused files so they don't clutter app/...
47148 * app/gdisplay_color.[ch]
47149 * app/gdisplay_color_ui.[ch]: removed...
47151 * app/display/gimpdisplayshell-filter.[ch]
47152 * app/display/gimpdisplayshell-filter-dialog.[ch]: ...added here.
47154 2001-11-19 Michael Natterer <mitch@gimp.org>
47156 * app/display/gimpdisplay-foreach.c: forgot to commit last time.
47158 Transform stuff cleanup:
47160 * app/core/Makefile.am
47161 * app/core/core-types.h
47162 * app/core/gimpdrawable-transform.[ch]: new files implementing
47163 the actual transform functions cut from tools/gimptransformtool.*.
47165 * app/core/gimpdrawable-transform-utils.[ch]: new files implementing
47166 transform matrix assembly utility functions.
47168 * app/tools/gimptransformtool.[ch]: removed the stuff here. cleanup.
47170 * app/tools/transform_options.[ch]: removed all stuff which does
47171 not belong here, e.g. the transform_tool_* functions and the
47172 global "transform_options" variable. Works like all other tool
47175 * app/tools/gimpfliptool.[ch]
47176 * app/tools/gimpperspectivetool.[ch]
47177 * app/tools/gimprotatetool.[ch]
47178 * app/tools/gimpscaletool.[ch]
47179 * app/tools/gimpsheartool.[ch]: massive code removal because
47180 we can use core/gimpdrawable-fransform* functions now. cleanup.
47182 * tools/pdbgen/Makefile.am
47183 * tools/pdbgen/groups.pl: added new PDB group "transform_tools".
47185 * tools/pdbgen/pdb/tools.pdb: removed the transform stuff here...
47187 * tools/pdbgen/pdb/transform_tools.pdb: and added *much*
47188 simplified versions which use the new core/gimpdrawable-transform*
47191 * app/pdb/Makefile.am
47192 * app/pdb/transform_tools_cmds.c: new file.
47194 * app/pdb/internal_procs.c
47195 * app/pdb/tools_cmds.c: regenerated.
47197 * libgimp/Makefile.am
47198 * libgimp/gimp_pdb.h
47199 * libgimp/gimptransformtools_pdb.[ch]: new files.
47201 * libgimp/gimptools_pdb.[ch]: regenerated.
47203 2001-11-19 Daniel Egger <degger@fhm.edu>
47205 * app/paint-funcs/paint-funcs.c
47206 * app/paint-funcs/paint-funcs-generic.h
47207 * app/paint-funcs/paint-funcs.h:
47208 - Statified a few functions so they can be inlined.
47209 - Simplified function calls.
47210 - Unsignified variables and parameters where possible.
47211 - Reduced lookuptable size for add_pixels from 256*256*4 bytes
47212 to 2*256-1 bytes and O(n*n) function in paint_funcs_setup
47213 to O(n). Should reduce memory consumption by almost 1/4 Mb.
47215 This needs much more cleanup....
47217 2001-11-19 Daniel Egger <degger@fhm.edu>
47219 * app/paint-funcs/paint-funcs-mmx.h: New file. Added glue code
47220 for the assembly MMX functions.
47222 * app/paint-funcs/paint-funcs-generic.h: Moved MMX code from here ...
47223 * app/paint-funcs/paint-funcs-mmx.h: ... to here. Cleaned up a bit
47224 and don't check for use_mmx on every single call but ...
47225 * app/paint-funcs/paint-funcs.c: (paint_funcs_setup): ... here and
47226 register MMX functions if CPU has those capabilities.
47228 Code is untested for the MMX case due no available Intel-Machine
47229 right now but should't be to far away from a working state.
47231 2001-11-19 Sven Neumann <sven@gimp.org>
47233 * RELEASE-TO-CVS.patch: changes to the text tool to make it compile
47234 with the new PangoFT2 API.
47236 2001-11-19 Daniel Egger <degger@fhm.edu>
47238 * app/paint-funcs/paint-funcs.c
47239 * app/paint-funcs/paint-funcs-generic.h: Split generic (read: C)
47240 code for pixelmanipulation and most of the code that belongs to it
47242 (apply_layer_funcs): Gone. The correct layer function is now
47243 dispatched from the layer_mode_funcs table and the table is
47244 per default initialised with the generic functions. Arguments
47245 will be passed by a struct apply_layer_mode_struct instead
47246 of directly per stack to avoid parameter typying madness.
47248 It's now cleanly possible to check for availabilty of
47249 MMX/AltiVec/(insert your favourite brew here) in
47250 paint_funcs_setup () and change the table to use faster routines.
47251 The old MMX cruft which is temporaribly in paint-funcs-generic.h
47252 will soon be gone but I'm to tired now.
47254 * app/paint-funcs/paint-funcs.c: Braind dead code for temporary
47255 buffer (which never shrunk only grew) gone and replaced by
47256 straightforward code.
47258 * app/paint-funcs/paint-funcs-generic.h: Applied a bunch of obvious
47259 optimisations to reduce code size and avoid parameter madness.
47261 * paint-funcs-[gray|graya|indexed|rga|rgba].[c|h]: Gone. I lost
47262 several days of work on these files and came to the conclusion
47263 that there has to be an easier way anyway. :)
47265 Everything well tested on PPC and producing exactly the same results
47266 as the code before so this has good odds to be the first major
47267 change that won't break GIMP. :)
47269 2001-11-18 Michael Natterer <mitch@gimp.org>
47271 * app/display/gimpdisplay-foreach.c: fixed a comment.
47273 * app/gui/file-open-dialog.c: no need to declare
47274 "extern GSList *display_list;".
47276 * app/gui/brush-select.c
47277 * tools/pdbgen/pdb/brush_select.pdb: pass opacity as [0.0..100.0]
47278 through the PDB and as [0.0..1.0] to the app.
47280 * app/pdb/brush_select_cmds.c: regenerated.
47282 * plug-ins/gfig/gfig.c: full opacity is 100.0, not 1.0.
47284 (GFig and script-fu may still be broken after this change).
47286 2001-11-17 Michael Natterer <mitch@gimp.org>
47288 Made --no-interface not calling gtk_init() (and thus not
47289 contacting the X server) any more. (Fixes #58961).
47291 * app/core/gimp.[ch]: added two new function pointers
47292 "gui_main_loop_func" and "gui_main_loop_quit_func" and an own
47293 stack of GMainLoops which is used if they are not set.
47295 * app/gui/gui.[ch]: added main loop functions here and set them as
47296 pointers in the Gimp instance. Separated gui_libs_init() from
47297 gui_themes_init() so it can be used as replacement for gtk_init()
47298 and be called before command line parsing.
47300 * app/main.c: check for "--no-interface" before initializing
47301 anything. Added a "--g-fatal-warnings" option (cut'n'paste from
47302 gtkmain.c). Added a check for "--" (end of options).
47304 * app/app_procs.c: call the new gimp_main_loop() functions,
47305 call gui_themes_init().
47307 * app/devices.[ch]: reduce usage of "the_gimp" by passing "Gimp"
47308 pointers to some functions.
47310 * app/plug_in.c: some ugly checks for the_gimp->no_interface which
47311 will go away once this file is core/ui chopped. Call
47312 gimp_main_loop() stuff instead of gtk_main().
47314 * app/core/gimptoolinfo.c: allow passing a NUL GdkPixbuf pointer.
47316 2001-11-17 Wang Jian <lark@linux.net.cn>
47318 * configure.in(ALL_LINGUAS): Added zh_CN for Simplified Chinese.
47320 2001-11-17 Daniel Egger <egger@fhm.edu>
47322 * app/base/base.c: Prevent from crash if swap_path == NULL.
47324 2001-11-16 Michael Natterer <mitch@gimp.org>
47326 Wishlist item #57669:
47328 * app/gimprc.[ch]: replaced gimprc option "allow-resize-windows"
47329 by "resize-windows-on-zoom" and "resize-windows-on-resize".
47331 * app/gui/preferences-dialog.c: added a toggle for
47332 "resize-windows-on-resize".
47334 * app/display/gimpdisplayshell-handlers.c
47335 * app/display/gimpdisplayshell-scale.c
47336 * app/tools/gimpmagnifytool.c
47339 * etc/gimprc.win32: changed accordingly.
47341 * app/display/gimpdisplay-area.[ch]: added gimp_area_new().
47343 * app/display/gimpdisplay.c: cleanup usage of GimpArea.
47345 * app/display/gimpdisplayshell.[ch]: added configurable canvas
47346 padding color and a small color_panel to change it in the upper
47347 right corner of the window.
47349 * app/display/gimpdisplayshell-callbacks.[ch]: added a callback
47350 for the color_panel, initialize the color in the "realize"
47353 Wishlist item #51548.
47355 * app/display/gimpdisplayshell-selection.[ch]
47357 * app/gui/view-commands.[ch]: made the layer boundary toggleable
47358 separately from the selection.
47360 * app/gui/color-notebook.c: #if 0'ed a debugging g_print().
47362 2001-11-16 Sven Neumann <sven@gimp.org>
47364 * libgimpwidgets/gimpcolorbutton.[ch]: added Black and White to popup
47365 menu. Take widget->allocation into account when calculating popup
47366 position since GtkButton is a NO_WINDOW widget now.
47368 2001-11-16 Sven Neumann <sven@gimp.org>
47370 * app/core/gimpimage.c: s/G_GNUC_PRETTY_FUNC/G_GNUC_PRETTY_FUNCTION/
47372 2001-11-16 Rebecca Walter <rjp@mail.tele.dk>
47374 * app/core/gimpcontext.c
47375 * app/core/gimpdatafactory.c
47376 * app/core/gimpdrawable-bucket-fill.c
47377 * app/core/gimpdrawable.c
47378 * app/core/gimpgradient.c
47379 * app/core/gimpimage-convert.c
47380 * app/core/gimpimage-mask.c
47381 * app/core/gimpimage.c: Extensive proofreading of messages and
47382 warnings. Improved standardization of string format and content.
47384 2001-11-15 Michael Natterer <mitch@gimp.org>
47386 Gimp's opacity values are a pain... the core actually *should*
47387 only accept and expose values in a [0.0..1.0] range.
47389 * app/core/gimpdrawable-blend.c
47390 * app/core/gimpdrawable-bucket-fill.c: take 0.0 <= opacity <= 1.0,
47391 *not* 0.0 < opacity <= 100.0.
47393 * app/tools/gimpblendtool.c: don't (opacity * 100.0) before passing.
47395 * tools/pdbgen/pdb/tools.pdb: (opacity / 100.0) before passing.
47397 * app/display/gimpdisplayshell-dnd.c: paint_mode and opacity were
47398 swapped in the call to gimp_drawable_bucket_fill_full().
47400 * app/pdb/tools_cmds.c: regenerated.
47402 2001-11-15 Michael Natterer <mitch@gimp.org>
47404 * app/gui/layers-commands.c: fixed the layers dialog's "New Layer"
47405 button by checking for a floating selection in
47406 layers_new_layer_query() instead of
47407 layers_new_layer_cmd_callback().
47409 2001-11-15 Michael Natterer <mitch@gimp.org>
47411 * app/tools/gimpdrawtool.[ch]: restructured the new draw utility
47412 functions and added gimp_draw_tool_draw_handle() and
47413 gimp_draw_tool_on_handle().
47415 * app/tools/gimpbezierselecttool.c
47416 * app/tools/gimpblendtool.c
47417 * app/tools/gimpcroptool.[ch]
47418 * app/tools/gimpiscissorstool.c
47419 * app/tools/gimpmeasuretool.c
47420 * app/tools/gimppainttool.c
47421 * app/tools/gimppathtool.c
47422 * app/tools/gimptransformtool.c: use the new functions all over
47423 the place so handle drawing and mouse_over detection work the same
47426 2001-11-15 Michael Natterer <mitch@gimp.org>
47428 * Makefile.am: removed antique Makefile targets, including the
47429 "files" hack (which was some automatic EXTRA_DIST voodoo), added
47430 missing stuff to EXTRA_DIST.
47432 * app/plug-in/Makefile.am
47433 * devel-docs/Makefile.am
47435 * plug-ins/Makefile.am
47436 * plug-ins/FractalExplorer/Makefile.am
47437 * plug-ins/FractalExplorer/fractalexplorer-examples/Makefile.am
47438 * plug-ins/Lighting/Makefile.am
47439 * plug-ins/MapObject/Makefile.am
47440 * plug-ins/bmp/Makefile.am
47441 * plug-ins/dbbrowser/Makefile.am
47442 * plug-ins/faxg3/Makefile.am
47443 * plug-ins/fits/Makefile.am
47444 * plug-ins/flame/Makefile.am
47445 * plug-ins/gap/Makefile.am
47446 * plug-ins/gdyntext/Makefile.am
47447 * plug-ins/gflare/Makefile.am
47448 * plug-ins/gflare/gflares/Makefile.am
47449 * plug-ins/gfli/Makefile.am
47450 * plug-ins/gimpressionist/Makefile.am
47451 * plug-ins/gimpressionist/Brushes/Makefile.am
47452 * plug-ins/gimpressionist/Paper/Makefile.am
47453 * plug-ins/gimpressionist/Presets/Makefile.am
47454 * plug-ins/ifscompose/Makefile.am
47455 * plug-ins/imagemap/Makefile.am
47456 * plug-ins/libgck/Makefile.am
47457 * plug-ins/libgck/gck/Makefile.am
47458 * plug-ins/maze/Makefile.am
47459 * plug-ins/mosaic/Makefile.am
47460 * plug-ins/pagecurl/Makefile.am
47461 * plug-ins/plugin-helper/Makefile.am
47462 * plug-ins/print/Makefile.am
47463 * plug-ins/rcm/Makefile.am
47464 * plug-ins/script-fu/Makefile.am
47465 * plug-ins/script-fu/scripts/Makefile.am
47466 * plug-ins/sel2path/Makefile.am
47467 * plug-ins/sgi/Makefile.am
47468 * plug-ins/webbrowser/Makefile.am
47469 * plug-ins/xjt/Makefile.am
47470 * tips/Makefile.am: removed "files" too, some minor cleanups.
47472 2001-11-15 Rebecca Walter <rjp@mail.tele.dk>
47474 * app/core/gimpbrush.c
47475 * app/core/gimpbrushpipe.c
47476 * app/core/gimpchannel.c: Proofreading to strings, approved by Sven
47478 2001-11-15 Sven Neumann <sven@gimp.org>
47480 * RELEASE-TO-CVS.patch: recreated from toplevel dir so it applies
47481 as advertised in HACKING.
47483 2001-11-14 Manish Singh <yosh@gimp.org>
47485 * RELEASE-TO-CVS.patch: gtk_item_factory_parse_rc->gtk_accel_map_load,
47486 gtk_item_factory_dump_rc->gtk_accel_map_save
47488 * configure.in: fixes for newer autoconf, AC_INIT with etc/gimprc.in
47491 * app/core/gimpcontainer.c: g_type_instance_is_a is private (and
47492 got renamed recently), use G_TYPE_CHECK_INSTANCE_TYPE instead
47494 * app/gui/gradient-editor.c: use gtk_accel_label_set_accel_widget
47495 instead of gtk_accel_label_set_accel_object
47497 * app/gui/module-browser.c: replaced CList with a TreeView
47499 2001-11-14 Michael Natterer <mitch@gimp.org>
47501 * data/misc/Makefile.am
47502 * data/misc/rmshm: removed here again...
47504 * tools/Makefile.am
47505 * tools/rmshm: ...and added here.
47507 2001-11-14 Michael Natterer <mitch@gimp.org>
47509 * configure.in: new directories etc/, data/images/ and data/misc/.
47512 * data/Makefile.am: added new SUBDIRs.
47514 * data/images/Makefile.am
47515 * data/misc/Makefile.am
47516 * etc/Makefile.am: new Makefiles
47518 * gimp1_0_splash.ppm
47519 * gimp1_2_splash.ppm
47521 * gimp_splash.ppm: removed, now in data/images/
47525 * user_install.bat: removed, now in data/misc/
47532 * unitrc: removed, now in etc/
47534 * app/gui/about-dialog.c
47536 * app/gui/user-install-dialog.c: changed image and script file
47539 2001-11-14 Sven Neumann <sven@gimp.org>
47541 * app/pdb/gimprc_cmds.c
47542 * tools/pdbgen/pdb/gimprc.pdb: added a missing g_strdup() that caused
47543 gimp_get_default_comment() to free the global default comment.
47545 2001-11-14 Michael Natterer <mitch@gimp.org>
47547 * app/tools/tool_manager.[ch]: added
47548 tool_manager_button_press_active() and friends functions.
47550 * app/display/gimpdisplayshell-callbacks.c:
47551 gimp_display_shell_canvas_events(): use the functions instead of
47552 re-fetching the active_tool whenever it may have changed
47553 (which requires knowledge about the tools' implementation).
47554 Also moved lots of variables around.
47556 2001-11-14 Michael Natterer <mitch@gimp.org>
47558 * Makefile.am: changed build order of toplevel directories so that
47559 the stuff which is most likely to be broken during "make dist"
47560 (the po stuff) is built before the actual source.
47562 2001-11-14 Michael Natterer <mitch@gimp.org>
47564 * app/core/gimpimage.[ch]: added "update_guide" signal.
47566 * app/display/gimpdisplay-foreach.[ch]: removed
47567 gdisplays_expose_guide().
47569 * app/display/gimpdisplayshell-handlers.c: added a handler for
47570 "update_guide" and expose the guide there.
47573 * app/tools/gimpmeasuretool.c
47574 * app/tools/gimpmovetool.c: call gimp_image_update_guide() instead
47575 of gdisplays_expose_guide().
47577 2001-11-14 Abel Cheung <maddog@linux.org.hk>
47579 * configure.in (ALL_LINGUAS): Rename zh_TW.Big5 -> zh_TW to
47580 prevent future encoding naming problem.
47582 2001-11-13 Michael Natterer <mitch@gimp.org>
47584 * app/widgets/gimpdnd.h: a cut'n'paste bug prevented tools and
47585 imagefiles from being dropped.
47587 2001-11-13 Michael Natterer <mitch@gimp.org>
47589 * app/display/gimpdisplayshell-callbacks.c: get the active_tool
47590 _after_ maybe changing it by calling devices_check_change().
47592 2001-11-13 Michael Natterer <mitch@gimp.org>
47594 * app/gui/menus.c: the toolbox menu's last_used_documents menu
47595 contained one entry too few if the number of documents was smaller
47596 or equal than gimprc.last_opened_size.
47598 2001-11-13 Michael Natterer <mitch@gimp.org>
47600 * app/tools/gimppainttool.[ch]: use GimpCoords structs for
47601 cur_coords, last_coords and start_coords and the undo struct
47602 instead of storing separate gdouble values.
47605 * app/tools/gimpairbrushtool.c
47606 * app/tools/gimpclonetool.c
47607 * app/tools/gimpconvolvetool.c
47608 * app/tools/gimpdodgeburntool.c
47609 * app/tools/gimperasertool.c
47610 * app/tools/gimppaintbrushtool.c
47611 * app/tools/gimppenciltool.c
47612 * app/tools/gimpsmudgetool.c: changed accordingly.
47614 2001-11-13 Michael Natterer <mitch@gimp.org>
47616 * app/base/temp-buf.c: allow passing NULL to temp_buf_resize() again.
47618 2001-11-13 Michael Natterer <mitch@gimp.org>
47619 Sven Neumann <sven@gimp.org>
47621 * Made 1.3.0 release.
47623 2001-11-13 Sven Neumann <sven@gimp.org>
47625 * Makefile.am (EXTRA_DIST): added po/po2tbl.sed.in and the po update
47628 2001-11-13 Michael Natterer <mitch@gimp.org>
47630 * modules/Makefile.am: added colorsel_water.c to EXTRA_DIST.
47632 2001-11-13 Michael Natterer <mitch@gimp.org>
47634 * NEWS: some more stuff.
47636 2001-11-13 Sven Neumann <sven@gimp.org>
47641 * TODO.xml: updated
47643 2001-11-13 Michael Natterer <mitch@gimp.org>
47645 * app/gui/user-installed-dialog.c: fixed some action_area uglyness
47646 which occured after the switch to GtkDialog.
47648 2001-11-13 Sven Neumann <sven@gimp.org>
47650 * app/base/temp-buf.c: added some safety checks.
47652 * app/widgets/Makefile.am
47653 * app/widgets/widgets-types.h
47654 * app/widgets/gimpimagefilepreview.[ch]: a new class implementing
47655 special GimpPreview methods for GimpImagefile.
47657 * app/core/gimpimagefile.c: added code to load thumbnails according
47658 to the proposed Thumbnail Managing Standard
47659 (see http://triq.net/~pearl/thumbnail-spec/). Pretty much untested.
47661 * app/widgets/gimpcontainerview-utils.c: plugged a memleak.
47663 * app/widgets/gimpimagepreview.c: simplified.
47665 * app/widgets/gimppreview.c: tell it about GimpImagefilePreview.
47667 2001-11-13 Michael Natterer <mitch@gimp.org>
47669 * app/core/Makefile.am: need to spell EXTRA_DIST correctly now
47670 that the "files" hack is gone.
47672 2001-11-13 Michael Natterer <mitch@gimp.org>
47674 * configure.in: commented out generation of some files in
47675 plug-ins/ so config.status doesn't warn about non-existing
47678 2001-11-12 Michael Natterer <mitch@gimp.org>
47680 * HACKING: small fix.
47682 * configure.in: changed --disable-perl to --enable-perl because
47683 it doesn't build properly at the moment.
47685 * pixmaps/Makefile.am: removed stuff which is no longer there
47688 * plug-ins/Makefile.am: put back the $(GIMP_PERL) line in SUBDIRS.
47690 * app/widgets/gimpmenuitem.c. include "libgimpwidgets/gimpwidgets.h".
47693 * data/brushes/Makefile.am
47694 * data/gradients/Makefile.am
47695 * data/palettes/Makefile.am
47696 * data/patterns/Makefile.am: removed the old "files" hack and put
47697 the stuff to EXTRA_DIST.
47700 * app/base/Makefile.am
47701 * app/core/Makefile.am
47702 * app/file/Makefile.am
47703 * app/gui/Makefile.am
47704 * app/paint-funcs/Makefile.am
47705 * app/pdb/Makefile.am
47706 * app/tools/Makefile.am
47707 * app/widgets/Makefile.am
47708 * app/widgets/gimpmenuitem.c
47709 * app/xcf/Makefile.am
47710 * cursors/Makefile.am
47711 * libgimp/Makefile.am
47712 * libgimpbase/Makefile.am
47713 * libgimpcolor/Makefile.am
47714 * libgimpmath/Makefile.am
47715 * libgimpwidgets/Makefile.am
47716 * m4macros/Makefile.am
47717 * themes/Makefile.am
47718 * themes/Default/Makefile.am
47719 * themes/Default/images/Makefile.am
47720 * themes/Default/images/tools/Makefile.am: removed "files" target.
47722 2001-11-12 Sven Neumann <sven@gimp.org>
47724 * po/Makefile.in.in
47725 * po-libgimp/Makefile.in.in
47726 * po-plug-ins/Makefile.in.in
47727 * po-script-fu/Makefile.in.in: fixed distdir.
47729 2001-11-12 Michael Natterer <mitch@gimp.org>
47731 * app/widgets/widgets-types.h: changed GimpItemGetNameFunc
47732 signature to return a tooltip in a passed gchar* pointer location.
47734 * app/widgets/gimpcomponentlistitem.c
47735 * app/widgets/gimpcontainergridview.c
47736 * app/widgets/gimpcontainerview-utils.c
47737 * app/widgets/gimplistitem.c
47738 * app/widgets/gimpmenuitem.c: changed all get_name_funcs and their
47739 callers accordingly (passing the "gchar **tooltip" pointer is
47742 2001-11-12 Michael Natterer <mitch@gimp.org>
47744 * plug-ins/common/pixelize.c: implemented a feature request:
47746 Made the pixel size configurable independently in x and y
47747 direction. Added new PDB function. Use a GimpCoordinates widget
47750 2001-11-12 Michael Natterer <mitch@gimp.org>
47752 * app/display/gimpdisplayshell-callbacks.c: use
47753 gimp_display_shell_[install|remove]_override_cursor() to set the
47754 middle mouse button move cursor so we get the original cursor back
47757 * app/tools/gimpdrawtool.[ch]: added lots of drawing functions
47758 (gimp_draw_tool_draw_rectangle() etc.) which work in image (or
47759 active drawable) coordinates.
47761 * app/tools/gimpblendtool.c
47762 * app/tools/gimpclonetool.c
47763 * app/tools/gimpcolorpickertool.c
47764 * app/tools/gimpeditselectiontool.c
47765 * app/tools/gimpellipseselecttool.c
47766 * app/tools/gimpfreeselecttool.c
47767 * app/tools/gimpiscissorstool.c
47768 * app/tools/gimpmagnifytool.c
47769 * app/tools/gimpmeasuretool.c
47770 * app/tools/gimppainttool.c
47771 * app/tools/gimppathtool.c
47772 * app/tools/gimprectselecttool.c
47773 * app/tools/gimptransformtool.[ch]
47774 * app/tools/path_tool.[ch]: use the new functions. Removed tons of
47775 gdk_draw_foo() and gdisplay_transform_foo() calls. Most drawing
47776 functions look *much* nicer now. Ported some tools to detect
47777 handle clicks in display coordinates while I was on it, misc
47780 * app/tools/gimpmovetool.[ch]: derive from GimpDrawTool instead
47781 of drawing manually.
47783 2001-11-11 Michael Natterer <mitch@gimp.org>
47785 * tools/pdbgen/pdb.pl: oops, this should have been checked in
47786 with my last commit.
47788 2001-11-11 Manish Singh <yosh@gimp.org>
47792 * app/plug-in/Makefile.am
47793 * plug-ins/Makefile.am
47794 * modules/Makefile.am: fixes to build with automake 1.5 (just hacks
47795 to get it to work, real fixes to come later)
47797 * app/gui/preferences-dialog.c: unset GValue from tree model when
47798 we're done with it.
47800 * libgimpwidgets/gimpcolorarea.c
47801 * libgimpwidgets/gimpcolorbutton.c
47802 * libgimpwidgets/gimpsizeentry.[ch]
47803 * libgimpwidgets/gimpwidgets.[ch]
47804 * plug-ins/common/animationplay.c
47805 * plug-ins/common/colorify.c
47806 * plug-ins/common/curve_bend.c
47807 * plug-ins/common/diffraction.c
47808 * plug-ins/common/film.c
47809 * plug-ins/common/gbr.c
47810 * plug-ins/common/gee.c
47811 * plug-ins/common/gee_zoom.c
47812 * plug-ins/common/gicon.c
47813 * plug-ins/common/gih.c
47814 * plug-ins/common/gtm.c
47815 * plug-ins/common/jpeg.c
47816 * plug-ins/common/mail.c
47817 * plug-ins/common/pat.c
47818 * plug-ins/common/plugindetails.c
47819 * plug-ins/common/png.c
47820 * plug-ins/common/ps.c
47821 * plug-ins/common/sample_colorize.c
47822 * plug-ins/common/sinus.c
47823 * plug-ins/common/spheredesigner.c
47824 * plug-ins/common/tileit.c
47825 * plug-ins/common/uniteditor.c
47826 * plug-ins/common/xbm.c: gtk_widget_set_usize is deprecated. Use
47827 gtk_widget_set_size_request instead.
47829 * libgimpwidgets/gimpunitmenu.[ch]: changed to use GtkTreeView.
47831 2001-11-10 Michael Natterer <mitch@gimp.org>
47833 * app/display/gimpdisplay-marching-ants.h
47834 * app/display/gimpdisplay-selection.[ch]: removed...
47836 * app/display/gimpdisplayshell-marching-ants.h
47837 * app/display/gimpdisplayshell-selection.[ch]: ...new names.
47839 * app/display/gimpdisplay.[ch]
47840 * app/display/gimpdisplayshell.[ch]: moved the Selection stuff
47841 from GimpDisplay to GimpDisplayShell.
47843 Renamed all functions which will stay in GimpDisplay from
47844 gdisplay_foo() to gimp_display_foo(). Added gimp_display_get_ID(),
47845 cleaned up the idle renderer.
47849 * app/display/Makefile.am
47850 * app/display/gimpdisplay-foreach.[ch]
47851 * app/display/gimpdisplay-handlers.c
47852 * app/display/gimpdisplayshell-callbacks.c
47853 * app/display/gimpdisplayshell-handlers.c
47854 * app/display/gimpdisplayshell-scroll.c
47856 * app/gui/view-commands.c
47857 * app/tools/gimpeditselectiontool.c
47858 * app/tools/gimpinktool.c
47859 * app/tools/gimpmovetool.c
47860 * app/tools/gimppainttool.c
47861 * tools/pdbgen/pdb.pl: changed accordingly, cleanup.
47863 * app/pdb/display_cmds.c: regenerated.
47865 2001-11-10 Michael Natterer <mitch@gimp.org>
47868 * user_install.[ch]: removed...
47871 * gui/user-install-dialog.[ch]: ...added here.
47873 * gui/file-open-dialog.[ch]: removed file_open_with_display() and
47874 file_open_with_proc_and_display() here...
47876 * file/file-open.[ch]: ...and added them here.
47879 * widgets/gimpdnd.c
47880 * widgets/gimpdocumentview.c: changed accordingly.
47882 2001-11-10 Michael Natterer <mitch@gimp.org>
47885 * app/qmask.[ch]: removed.
47887 * app/core/gimpimage.[ch]: added "qmask_changed" signal and
47888 gimp_image_[set|get]_qmask_state().
47890 * app/display/Makefile.am
47891 * app/display/gimpdisplayshell-qmask.[ch]: put the stuff here.
47893 * app/display/gimpdisplayshell-handlers.[ch]: new files: handlers
47894 for GimpImage signals handled by GimpDisplayShell.
47896 * app/display/gimpdisplay-handlers.c: removed some of them here.
47897 Don't include any GimpDisplayShell stuff any more.
47899 * app/display/gimpdisplay.c: no need to update the qmask buttons
47900 in gimp_display_flush_whenever().
47902 * app/display/gimpdisplayshell.c: call gimp_display_shell_connect()
47905 2001-11-10 Michael Natterer <mitch@gimp.org>
47907 * app/qmask.c: fixed qmask callbacks to check if the toggle is
47908 active before performing any action.
47910 * app/core/core-types.h: added the GimpCoords type here because it
47911 will be used by core functions as soon as the painting stuff is
47912 separated from the painting tools.
47914 * app/core/gimpdrawable-bucket-fill.c: fixed g_return_if_fail()s
47915 to not disable any useful operation :-) Still didn't figure out
47916 how I broke display color and pattern dropping :-(
47918 * app/display/gimpdisplayshell.[ch]: added
47919 gimp_display_shell_[un]transform_coords() which work on two
47920 GimpCoords pointers.
47922 * app/display/gimpdisplayshell-callbacks.c: use the new functions
47923 instead of the gdisplay_* ones.
47925 * app/gui/image-commands.c: GimpImage emits "disconnect", not
47928 * app/tools/tools-types.h
47929 * app/tools/gimptool.h: removed GimpCoords here.
47931 * app/tools/gimpconvolvetool.c: fixed modifier_key() implementation.
47933 * app/tools/gimpcroptool.c: cleanup.
47935 * app/tools/paint_options.c: don't need a separator in the ink
47938 * app/tools/gimprectselecttool.c
47939 * app/tools/selection_options.[ch]: implemented wish #50352:
47941 Added "Auto Shrink Selection" and "Sample Merged" toggles to
47942 the rect_select and ellipse_select tools. Put the "Fixed size"
47943 widgets in a frame. Removed the separators after the common
47944 selection tool options because I didn't like them any more
47945 (feel free to comment ;)
47947 2001-11-09 Michael Natterer <mitch@gimp.org>
47949 * app/gui/resize-dialog.c: added a "Center" button to the "Offset"
47952 2001-11-09 Michael Natterer <mitch@gimp.org>
47954 * libgimpbase/gimpprotocol.[ch]: removed the "palette" PDB type
47955 again. Incremented protocol version.
47958 * app/pdb/procedural_db.c
47960 * libgimpbase/gimpbasetypes.h: changed accordingly.
47962 * app/pdb/procedural_db_cmds.c
47963 * plug-ins/script-fu/script-fu-constants.c
47964 * tools/pdbgen/enums.pl: regenerated.
47966 2001-11-09 Michael Natterer <mitch@gimp.org>
47968 * app/undo.c: should set the fs.backing_store TileManager pointer
47969 to NULL after deleting it. Why the heck didn't this crash
47972 * app/core/Makefile.am
47973 * app/core/gimpdrawable-blend.[ch]: the blend stuff taken from
47976 * app/core/core-types.h: added the blend enums.
47978 * app/tools/gimpblendtool.[ch]: removed the stuff here.
47980 * tools/pdbgen/pdb/tools.pdb: changed blend wrapper accordingly.
47982 * app/pdb/tools_cmds.c: regenerated.
47984 * tools/pdbgen/Makefile.am: don't scan tools/gimpblendtool.c.
47986 * tools/pdbgen/enums.pl: regenerated.
47988 * app/tools/gimpbucketfilltool.c: fixed crash caused by my last
47991 * app/display/gimpdisplay.c
47992 * app/display/gimpdisplayshell-callbacks.c
47993 * app/display/gimpdisplayshell.c: removed lots of uglyness by
47994 using GtkImages for the qmask and navigation buttons. Don't realize
47995 anything before the shell is shown. Connect the realize
47996 callback and do stuff there. Don't call the realize callback
47997 from gimp_display_shell_canvas_events() any more.
47999 * pixmaps/navbutton.xpm
48000 * pixmaps/qmasknosel.xpm
48001 * pixmaps/qmasksel.xpm: removed.
48003 * themes/Default/Makefile.am
48004 * themes/Default/images/Makefile.am
48005 * themes/Default/images/stock-menu-navigation.png
48006 * themes/Default/images/stock-menu-qmask-off.png
48007 * themes/Default/images/stock-menu-qmask-on.png: new PNGs instead.
48009 * libgimpwidgets/gimpstock.[ch]: register them as stock icons.
48011 2001-11-09 Sven Neumann <sven@gimp.org>
48013 * app/gui/file-open-dialog.c: merged fix for bug #63880 from stable
48014 branch and fixed a wrong signal callback signature.
48016 * plug-ins/imagemap/imap_main.c: merged fix for bug #64075 from stable
48019 * plug-ins/common/gauss_iir.c
48020 * plug-ins/common/gauss_rle.c: merged fix for bug #57853 from stable
48023 * plug-ins/Lighting/lighting_ui.c: s/gdk_image_unref/g_object_unref/
48025 2001-11-08 Michael Natterer <mitch@gimp.org>
48027 * app/Makefile.am: build display/ before tools/.
48029 * app/devices.c: devices_check_change(): added all events
48030 which have a GdkDevice pointer.
48032 * app/gimpprogress.c: include "display-types.h" instead of
48035 * app/core/Makefile.am
48036 * app/core/gimpdrawable-bucket-fill.[ch]: new files: the bucket_fill
48037 stuff taken from tools/gimpbucketfilltool.[ch].
48039 * app/core/core-types.h: added "BucketFillMode".
48041 * app/core/gimpimage-mask-select.[ch]: cleanup.
48043 * app/core/gimpmarshal.list: added more marshallers for GimpTool's
48044 new signal signatures.
48046 * app/core/gimpmarshal.[ch]: regenerated.
48048 * app/display/Makefile.am
48049 * app/display/gimpdisplayshell-dnd.[ch]
48050 * app/display/gimpdisplayshell-layer-select.[ch]: new files: the
48051 canvas drop callbacks from gimpdisplayshell-callbacks.[ch] and
48052 the stuff formerly knows as gui/layer-select.[ch].
48054 * app/display/gimpdisplay.h: don't include "gui/gui-types.h".
48056 * app/display/gximage.c: include "display-types.h".
48058 * app/display/gimpdisplay-foreach.c
48059 * app/display/gimpdisplayshell.[ch]: call gdsplay_delete(), don't
48060 destroy the shell widget.
48062 * app/gui/Makefile.am
48063 * app/gui/layer-select.[ch]: removed.
48065 * app/gui/gradients-commands.c: fixed "Save as POV" fprintf()s.
48067 * app/gui/preferences-dialog.c: removed the layer_select stuff
48068 because it is useless with the new preview system.
48070 * app/gui/tool-options-dialog.c: send the correct data to the
48073 * app/gui/tools-commands.c: changed to follow the new
48074 gimp_tool_initialize() semantics (see below).
48076 Tool & canvas event handling chainsawing:
48078 * app/tools/tools-types.h: new struct GimpCoords which contains
48079 x, y, pressure, tilt etc.
48081 * app/display/gimpdisplayshell-callbacks.[ch]: added utility
48082 functions which transparently retreive the current event's
48083 GimpCoords or take it from the device directly if the event has
48084 none. Pass GimpCoords _in_image_coordinates_ to all tool
48087 Most important: don't pass GdkEvents and display coordinates to
48090 * app/tools/gimptool.[ch]: changed virtual functions to take
48091 GimpCoords, time and state separately instead of GdkEvents.
48093 * app/tools/gimpbezierselecttool.c
48094 * app/tools/gimpblendtool.c
48095 * app/tools/gimpbucketfilltool.[ch]
48096 * app/tools/gimpbycolorselecttool.c
48097 * app/tools/gimpclonetool.c
48098 * app/tools/gimpcolorpickertool.c
48099 * app/tools/gimpconvolvetool.c
48100 * app/tools/gimpcroptool.[ch]
48101 * app/tools/gimpcurvestool.c
48102 * app/tools/gimpdodgeburntool.c
48103 * app/tools/gimpdrawtool.c
48104 * app/tools/gimpeditselectiontool.[ch]
48105 * app/tools/gimperasertool.c
48106 * app/tools/gimpfliptool.c
48107 * app/tools/gimpfreeselecttool.[ch]
48108 * app/tools/gimpfuzzyselecttool.c
48109 * app/tools/gimpinktool.c
48110 * app/tools/gimpiscissorstool.c
48111 * app/tools/gimpmagnifytool.c
48112 * app/tools/gimpmeasuretool.c
48113 * app/tools/gimpmovetool.c
48114 * app/tools/gimppainttool.c
48115 * app/tools/gimppathtool.[ch]
48116 * app/tools/gimprectselecttool.c
48117 * app/tools/gimprotatetool.c
48118 * app/tools/gimpselectiontool.[ch]
48119 * app/tools/gimpsmudgetool.c
48120 * app/tools/gimptexttool.c
48121 * app/tools/gimptransformtool.[ch]
48122 * app/tools/path_tool.[ch]
48123 * app/tools/selection_options.c: tons and tons of changes:
48125 - changed to use the new virtual function parameters.
48126 - removed zillions of gdisplay_untransform_coords().
48127 - get the active drawable's offsets manually in many cases.
48128 (questionable, but IMHO ok because it's obvious and not simply a
48129 "TRUE" passed to some function)
48130 - reordered some functions to be consistent across tools.
48131 - some tools had to be changed to work on image coords, not
48132 display ones (esp. crop).
48133 - fixed strange rotate tool behaviour which should be backported
48135 - some stuff i came across.
48136 - indentation and other paranoia.
48137 - rounding of coordinated may be broken in some tools.
48138 - new bugs guaranteed.
48140 * app/tools/tool_manager.[ch]: new semantic of
48141 tool_manager_initialize_active() (looked at the places where it
48142 was used from and put common code together). Should be a bit
48145 * app/tools/gimpblendtool.c
48146 * app/tools/transform_options.c: use the new GTK+ feature that a
48147 widget (toggle button) can be a frame's title for this tools' tool
48150 * app/widgets/widgets-types.h: stuff.
48152 * themes/Default/gtkrc: s/GtkDialog/GimpDialog/.
48154 * tools/pdbgen/Makefile.am: don't scan tools/gimpbucketfilltool.h
48157 * tools/pdbgen/enums.pl: regenerated.
48159 * tools/pdbgen/pdb/tools.pdb: changed bucket_fill wrapper.
48161 * app/pdb/tools_cmds.c: regenerated.
48163 2001-11-05 Sven Neumann <sven@gimp.org>
48165 * plug-ins/imagemap/*.c: ported fixes from stable branch (mostly
48166 missing includes of config.h),
48168 * plug-ins/gimpressionist/orientmap.c: removed commented out code
48169 that continued to show up when grepping for deprecated GTK+ code.
48171 * tools/pdbgen/pdb/procedural_db.pdb: removed unneeded inclusion
48172 of config.h (it gets added automatically).
48174 2001-11-02 Michael Natterer <mitch@gimp.org>
48176 * app/display/gimpdisplayshell-scroll.c: stop synthesizing expose
48177 events but use gdk_window_invalidate_rect() and
48178 gdk_window_process_updates() (both with "update_children == FALSE"
48179 because the canvas has no children).
48181 * app/tools/gimpmagnifytool.c: nothing.
48183 2001-11-01 Michael Natterer <mitch@gimp.org>
48185 * app/display/Makefile.am
48186 * app/display/gimpdisplay-callbacks.[ch]
48187 * app/display/gimpdisplay-render.[ch]
48188 * app/display/gimpdisplay-scale.[ch]
48189 * app/display/gimpdisplay-scroll.[ch]: removed and added as
48190 gimpdisplayshell-foo.[ch] because they are all methods of the
48193 * app/display/gimpdisplay.[ch]
48194 * app/display/gimpdisplayshell.[ch]: moved the "offset" and "size"
48195 variables from GimpDisplay to GimpDisplayShell. GimpDisplay
48196 should know nothing about screen coordinates.
48198 The gdisplay_[un]transform_foo() methods are still part of
48199 GimpDisplay but will be moved to GimpDisplayShell as soon as the
48200 tools' vitrual functions speak in image coordinates instead of
48203 * app/display/gimpdisplayshell-callbacks.[ch]: prefixed all
48204 functions with gimp_display_shell_*. Moved some stuff to a
48205 "realize" callback File still has to be renamed.
48207 * app/display/gimpdisplay-foreach.[ch]: removed
48208 gdisplays_shrink_wrap().
48211 * app/gui/view-commands.[ch]
48212 * app/display/gimpdisplayshell-scale.[ch]: implemented "Zoom to
48213 Fit Window" function (#57670).
48216 * app/display/gimpdisplay-handlers.c
48217 * app/display/gimpdisplayshell-render.[ch]
48218 * app/display/gimpdisplayshell-scale.[ch]
48219 * app/display/gimpdisplayshell-scroll.[ch]
48220 * app/gui/colormap-dialog.c
48222 * app/gui/preferences-dialog.c
48223 * app/tools/gimpmagnifytool.c
48224 * app/tools/gimpmovetool.c
48225 * app/widgets/gimppreview.c: changed according to variable
48226 and filename changes.
48228 * app/tools/tool_manager.c: tool_manager_select_tool(): send the
48229 active tool a "HALT" command before selecting the new one. Fixes
48230 stale tool dialogs which were there because some other hack was
48231 removed (This is IMHO the right place to shut down the active
48234 * app/tools/gimpcroptool.c: don't shrink wrap after cropping but
48235 let gimprc.allow_resize_windows decide.
48237 * app/tools/gimpselectiontool.c: gimage_mask_value() takes image,
48238 not screen coordinates. A good example of how braindead it is to
48239 pass GdkEvents to tools :-) Fixes incorrect cursor and oper
48240 update of the selection tools.
48242 * app/tools/gimptransformtool.c
48243 * app/undo.c: removed (#if 0 for now) some strange code which did
48244 manual exposing of GimpDisplayShell areas. This was definitely a
48245 hack and should not be there given the image emits correct
48248 2001-11-01 DindinX <odin@mandrakesoft.com>
48250 * plug-ins/common/bz2.c: fix a little typo in a comment
48252 2001-10-31 Michael Natterer <mitch@gimp.org>
48254 Chopped up the display stuff (beware: unfinished)...
48256 The plan is that GimpDisplay is the object which collects
48257 updates from the image, compresses them and waits for the GIMP
48258 to be idle to actually paint them. It should be a non-GUI object
48259 which is the model for the actual widget to connect to.
48261 GimpDisplayShell has all the widgets and handles painting and
48262 exposing of the result. Nobody should actually be required to
48263 update or look at it as it should be a view on the GimpDisplay
48266 Much stuff is still in the wrong place and the functions don't
48267 follow their files' filename namespace any more. More to come...
48269 * app/display/Makefile.am
48270 * app/display/gimpdisplay-ops.[ch]: removed. It's functions didn't
48271 belong together anyway.
48273 * app/display/gimpdisplay-area.[ch]: new files: the GimpArea
48276 * app/display/gimpdisplay-handlers.[ch]: new files: signal
48277 handlers for GimpImage signals. Mostly from gui/gui.c.
48279 * app/display/gimpdisplay.[ch]: removed all widgets and other
48280 GUI stuff. There is still much undecided here...
48282 * app/display/gimpdisplayshell.[ch]: actually use the object and
48283 filled it with all the stuff from GimpDisplay.
48285 * app/display/gimpdisplay-callbacks.[ch]
48286 * app/display/gimpdisplay-foreach.[ch]
48287 * app/display/gimpdisplay-render.c
48288 * app/display/gimpdisplay-scale.[ch]
48289 * app/display/gimpdisplay-scroll.[ch]
48290 * app/display/gimpdisplay-selection.c: changed accordingly.
48292 * app/core/gimp.[ch]: return a GimpObject from
48293 gimp_create_display() so it can be used as single GUI independent
48294 point to create displays, require the initial scale as parameter.
48296 * app/core/gimpcontext.c: changed the ugly EEKWrapper according to
48297 the GimpDisplay structure changes. Bugfix: set the image to NULL
48298 in gimp_context_display_destroyed().
48300 * app/core/gimpedit.c
48301 * app/core/gimpimage-new.c: changed gimp_create_display() calls
48304 * app/core/gimpimage-convert.c: invalidate the layer & image
48305 previews here, not in the caller.
48307 * app/core/gimpimage-crop.c: update the whole image after cropping.
48309 * app/core/gimpimage.[ch]: added gimp_image_find_guide(),
48310 gimp_image_snap_point() and gimp_image_snap_rectangle(). Added
48311 "resolution_changed" and "unit_changed" signals and corresp.
48312 public convenience functions to emit them.
48314 * app/core/gimplayer.c: emit the image's "alpha_changed" signal
48315 when adding alpha to the bottom (and only) layer of the image.
48317 * app/gimpprogress.c
48322 * app/user_install.c: changed accordingly.
48324 * app/gui/edit-commands.c
48325 * app/gui/file-commands.c
48326 * app/gui/file-open-dialog.c
48327 * app/gui/image-commands.c
48328 * app/gui/info-window.c
48329 * app/gui/preferences-dialog.c
48330 * app/gui/toolbox.c
48331 * app/gui/view-commands.c: ditto.
48333 * app/gui/gui.[ch]: removed most gimp->images handlers as the
48334 displays connect to them themselves now. chaged gui_display_new()
48335 according to the gimp_create_display() changes.
48336 Added gui_get_screen_resolution().
48338 * app/tools/gimpbezierselecttool.c
48339 * app/tools/gimpblendtool.c
48340 * app/tools/gimpbucketfilltool.c
48341 * app/tools/gimpbycolorselecttool.c
48342 * app/tools/gimpclonetool.c
48343 * app/tools/gimpcolorpickertool.c
48344 * app/tools/gimpcroptool.c
48345 * app/tools/gimpdrawtool.c
48346 * app/tools/gimpeditselectiontool.c
48347 * app/tools/gimpfliptool.c
48348 * app/tools/gimpfreeselecttool.c
48349 * app/tools/gimpfuzzyselecttool.c
48350 * app/tools/gimpinktool.c
48351 * app/tools/gimpiscissorstool.c
48352 * app/tools/gimpmagnifytool.c
48353 * app/tools/gimpmeasuretool.c
48354 * app/tools/gimpmovetool.c
48355 * app/tools/gimppainttool.c
48356 * app/tools/gimppathtool.c
48357 * app/tools/gimprectselecttool.c
48358 * app/tools/gimpselectiontool.c
48359 * app/tools/gimptexttool.c
48360 * app/tools/gimptool.c
48361 * app/tools/gimptransformtool.c
48362 * app/tools/xinput_airbrush.c: lots of changes because GimpDisplay
48363 has become two objects. Lots of gdisp->shell casting uglyness
48364 added. This is fine because exactly these parts will have to go
48367 (GimpDisplay will provide methods for XOR drawing upon the display
48368 in image coordinates without the need to transform coordinates all
48369 the time. Also the tools shouldn't see GdkEvents but get more
48370 useful virtual functions which speak in image coordinates too).
48372 * app/widgets/gimpcomponentlistitem.c: removed a now useless image
48375 * tools/pdbgen/pdb/display.pdb: use gimp_create_display().
48377 * app/pdb/display_cmds.c: regenerated.
48379 2001-10-30 Simon Budig <simon@gimp.org>
48381 * app/pdb/tools_cmds.c
48382 * app/tools/gimperasertool.c
48383 * app/tools/gimperasertool.h
48384 * tools/pdbgen/pdb/tools.pdb
48386 Added a "color erase" feature to the eraser. This is ported from
48387 the colortoalpha plugin and is utterly cool.
48389 The "Color Erase" Option should be disabled when the drawable
48390 has no alpha channel, however, I have no idea how to do this.
48392 2001-10-29 Sven Neumann <sven@gimp.org>
48394 * app/base/temp-buf.c (temp_buf_to_gray): rewrote so gcc-3.0 doesn't
48397 * app/widgets/gimpfontselection-dialog.c: use g_ascii_strcasecmp().
48399 * libgimp/gimpintl.h
48400 * libgimp/stdplugins-intl.h
48401 * plug-ins/script-fu/script-fu-intl.h: don't call gtk_set_locale()
48402 since gtk_init() does it for us now. Don't set LC_NUMERIC to "C".
48403 INIT_I18N_UI() is the same as INIT_I18N_UI() now.
48407 * app/core/gimpbrushgenerated.c
48408 * app/core/gimpgradient.c
48409 * app/gui/color-notebook.c
48410 * app/gui/gradients-commands.c
48411 * plug-ins/gfig/gfig.c
48412 * plug-ins/gflare/gflare.c
48413 * plug-ins/gimpressionist/presets.c
48414 * plug-ins/ifscompose/ifscompose_storage.c: use g_ascii_formatd() and
48415 g_ascii_strtod() to serialize and deserialize floats. These functions
48416 are locale-independent. There are probably more places that need to be
48417 fixed in this fashion.
48419 * plug-ins/script-fu/script-fu-console.c
48420 * plug-ins/script-fu/script-fu-scripts.c
48421 * plug-ins/script-fu/script-fu-server.c
48422 * plug-ins/script-fu/script-fu.c: s/INIT_I18N_UI/INIT_I18N/
48424 * tools/gimp-remote.c
48425 * app/widgets/gimpwidgets-utils.c
48426 * app/core/gimpimage-contiguous-region.c
48427 * app/paint-funcs/paint-funcs-indexeda.c
48428 * app/paint-funcs/paint-funcs.c
48429 * app/tools/gimppathtool.c
48430 * app/tools/path_tool.c
48431 * modules/colorsel_triangle.c
48432 * plug-ins/common/mpeg.c
48433 * plug-ins/imagemap/imap_csim_parse.c: cleanups
48435 2001-10-29 Michael Natterer <mitch@gimp.org>
48439 * app/app_procs.c: pass "no_interface" to gimp_new().
48441 * app/core/gimp.[ch]: added "gboolean no_interface" and the
48442 load_procs and save_procs GSLists.
48444 * app/core/gimptoolinfo.[ch]: added a "Gimp" pointer to the
48445 GimpToolInfo object so more functions find their context without
48446 accessing the global "the_gimp" variable.
48448 * app/display/display-types.h: removed the GDisplay -> GimpDisplay
48451 * app/display/gimpdisplay.c: look at gimp->no_interface, don't
48452 include "appenv.h".
48454 * app/file/file-open.[ch]
48455 * app/file/file-save.[ch]: don't use "the_gimp" any more. Instead,
48456 pass around lots of "Gimp" pointers. Removed the global load_procs
48457 and save_procs variables here. Use access() to find out whether a
48458 file is readable/writable, removed the manual voodoo and it's
48459 Win32 wrappers. Added an optional (can be NULL) "PlunInProcDef"
48460 parameter to file_save(), removed file_save_with_proc().
48462 * app/gui/menus.c: Use the unused "gpointer data" parameter of the
48463 GtkItemFactory callbacks to pass a "Gimp" pointer to all of them.
48464 This reduces the usage of the global "the_gimp" hack to zero
48465 in app/gui/... yeah.
48467 * app/gui/channels-commands.c
48468 * app/gui/edit-commands.c
48469 * app/gui/file-commands.c
48470 * app/gui/image-commands.c
48471 * app/gui/layers-commands.c
48472 * app/gui/palettes-commands.c
48473 * app/gui/select-commands.c
48474 * app/gui/test-commands.c
48475 * app/gui/tools-commands.c
48476 * app/gui/view-commands.c: use the passed "Gimp" pointer.
48478 * app/gui/color-area.[ch]
48479 * app/gui/convert-dialog.c
48480 * app/gui/dialogs-constructors.c
48481 * app/gui/file-new-dialog.[ch]
48482 * app/gui/file-open-dialog.[ch]
48483 * app/gui/file-save-dialog.[ch]
48485 * app/gui/info-window.[ch]
48486 * app/gui/module-browser.[ch]
48487 * app/gui/palette-editor.c
48488 * app/gui/palette-import-dialog.[ch]
48489 * app/gui/paths-dialog.c
48490 * app/gui/preferences-dialog.[ch]
48491 * app/gui/resize-dialog.[ch]
48492 * app/gui/tool-options-dialog.[ch]
48493 * app/gui/toolbox.c: pass around lots more "Gimp" and
48494 "GimpContext" pointers and don't use "the_gimp" any more.
48496 * app/tools/gimptool.h: added a pointer to the corresponding
48497 GimpToolInfo object (which in turn has a pointer to a Gimp).
48499 * app/tools/tool_manager.[ch]: set the pointer after creating the
48500 tool object. Removed tool_manager_get_info_by_tool() as there is a
48501 tool->tool_info pointer now.
48503 * app/tools/gimpbezierselecttool.c
48504 * app/tools/gimpblendtool.c
48505 * app/tools/gimpbrightnesscontrasttool.c
48506 * app/tools/gimpclonetool.c
48507 * app/tools/gimpcolorbalancetool.c
48508 * app/tools/gimpcolorpickertool.c
48509 * app/tools/gimpconvolvetool.c
48510 * app/tools/gimpcroptool.c
48511 * app/tools/gimpcurvestool.c
48512 * app/tools/gimpdodgeburntool.c
48513 * app/tools/gimpdrawtool.c
48514 * app/tools/gimpeditselectiontool.c
48515 * app/tools/gimpellipseselecttool.c
48516 * app/tools/gimperasertool.c
48517 * app/tools/gimpfliptool.c
48518 * app/tools/gimphistogramtool.c
48519 * app/tools/gimphuesaturationtool.c
48520 * app/tools/gimpinktool.c
48521 * app/tools/gimplevelstool.c
48522 * app/tools/gimpmagnifytool.c
48523 * app/tools/gimpmeasuretool.c
48524 * app/tools/gimpmovetool.c
48525 * app/tools/gimppainttool.c
48526 * app/tools/gimppathtool.c
48527 * app/tools/gimpperspectivetool.c
48528 * app/tools/gimpposterizetool.c
48529 * app/tools/gimprectselecttool.c
48530 * app/tools/gimprotatetool.c
48531 * app/tools/gimpscaletool.c
48532 * app/tools/gimpsheartool.c
48533 * app/tools/gimptexttool.c
48534 * app/tools/gimpthresholdtool.c
48535 * app/tools/path_tool.c
48536 * app/tools/xinput_airbrush.c: s/GDisplay/GimpDisplay/g.
48537 Use tool->tool_info and tool_info->gimp in some places to get
48538 rid of using "the_gimp".
48540 Removing the remaining ones involves changing the tool options
48541 system and is scheduled next...
48543 * app/widgets/gimpdnd.c
48544 * app/widgets/gimpdocumentview.c: pass a "Gimp" pointer to all
48545 file_open_*() functions.
48547 * app/gdisplay_color.[ch]
48548 * app/gdisplay_color_ui.[ch]
48549 * app/image_map.[ch]
48550 * app/nav_window.[ch]
48552 * app/path_bezier.c
48553 * app/path_transform.h
48554 * app/qmask.[ch]: s/GDisplay/GimpDisplay/g
48556 * tools/pdbgen/pdb/fileops.pdb: load_procs and save_procs are
48557 members of the "Gimp" object now.
48559 * tools/pdbgen/pdb/plug_in.pdb: use gimp->no_interface, don't
48560 include "appenv.h".
48562 * app/pdb/fileops_cmds.c
48563 * app/pdb/plug_in_cmds.c: regenerated.
48565 2001-10-29 Sven Neumann <sven@gimp.org>
48567 * plug-ins/webbrowser/web-browser.scm: updated links
48569 * tools/pdbgen/lib.pl: cosmetic change (if (!x) -> unless (x)).
48571 2001-10-28 Hans Breuer <hans@breuer.org>
48573 * config.h.win32 : define HAVE_DIRENT_H, it's from build/win32/dirent
48575 * app/*/makefile.msc : updated
48576 * app/file/makefile.msc app/display/makefile.msc : new files
48578 * app/user_install.c : make the G_OS_WIN32 part compile again
48581 * app/core/gimptoolinfo.c (gimp_tool_info_init) : cosmetic change,
48582 make implementation signature static like the local prototype
48584 * app/pdb/gradients_cmds.c app/pdb/palette_cmds.c : include <string.h>
48585 for strlen () / strcmp () by ...
48586 * tools/pdbgen/pdb/gradients.pdb tools/pdbgen/pdb/palette.pdb :
48587 ... changing the perl source here
48589 * app/widgets/gimpdocumentview.c : #include <string.h>
48591 * libgimp/makefile.msc :
48592 * libgimpwidgets/gimpwidgets.def : updated
48594 * plug-ins/makefile.msc : reflect the fact that DIRENT functions
48595 are removed from glib. Also define the questionable GETTEXT_PACKAGE
48596 and LOCALEDIR which are required to compile, not adapted to NLS
48597 support for win32 yet
48599 2001-10-28 Sven Neumann <sven@gimp.org>
48601 * plug-ins/common/nlfilt.c
48602 * plug-ins/gap/gap_mov_dialog.c
48603 * plug-ins/gap/gap_navigator_dialog.c: removed code that sets the
48604 colormap and gamma value of a GtkPreview. We don't need to do this
48605 since GtkPreview uses GdkRGB.
48607 2001-10-28 Sven Neumann <sven@gimp.org>
48609 * configure.in: require GLib-1.3.10, GTK+-1.3.10 and Pango-0.21
48611 * RELEASE-TO-CVS.patch
48612 * libgimpbase/gimpparasiteio.c
48613 * libgimpwidgets/gimpstock.c
48614 * plug-ins/ifscompose/ifscompose_storage.c: applied the patch and
48615 emptied the patch file.
48617 * libgimp/gimpgradientmenu.c: corrected order of parameters in call
48618 to gimp_gradients_get_gradient_data().
48620 * tools/pdbgen/pdb/palette.pdb: I think this is how Nathan wanted it
48623 * app/pdb/palette_cmds.c
48624 * libgimp/gimppalette_pdb.[ch]: regenerated.
48626 2001-10-27 Nathan Summers <rock@gimp.org>
48628 * gimppalette_pdb.c: the autogenerated code for
48629 gimp_palette_get_entry won't compile. Temporary kludge so that it
48630 will compile and work correctly.
48632 2001-10-27 Nathan Summers <rock@gimp.org>
48636 * libgimpbase/gimpbasetypes.h
48637 * libgimpbase/gimpprotocol.c
48638 * libgimpbase/gimpprotocol.h
48639 * tools/pdbgen/pdb/palette.pdb: added preliminary pdb support to
48640 manipulate palettes. Incremented plugin interface version number.
48642 * app/pdb/internal_procs.c
48643 * app/pdb/palette_cmds.c
48644 * app/pdb/procedural_db.c
48645 * app/pdb/procedural_db_cmds.c
48646 * libgimp/gimppalette_pdb.c
48647 * libgimp/gimppalette_pdb.h
48648 * plug-ins/script-fu/script-fu-constants.c
48649 * tools/pdbgen/enums.pl: regenerated
48651 2001-10-26 Michael Natterer <mitch@gimp.org>
48653 * app/core/gimpbrushgenerated.h
48654 * app/core/gimpbrushpipe.h
48655 * app/core/gimpbuffer.h
48656 * app/core/gimpdatafactory.h
48657 * app/core/gimpdrawable.h
48658 * app/core/gimpgradient.h
48659 * app/core/gimpimage.h: added some missing FOO_GET_CLASS() macros.
48661 2001-10-26 Michael Natterer <mitch@gimp.org>
48663 * tools/pdbgen/pdb/gradient_select.pdb: removed
48664 gradients_get_gradient_data() here...
48666 * tools/pdbgen/pdb/gradients.pdb: ...and added it here.
48668 * app/pdb/gradient_select_cmds.c
48669 * app/pdb/gradients_cmds.c
48670 * app/pdb/internal_procs.c
48671 * libgimp/gimpgradients_pdb.[ch]
48672 * libgimp/gimpgradientselect_pdb.[ch]: regenerated.
48674 * app/core/gimpgradient.h: added GIMP_GRADIENT_DEFAULT_SAMPLE_SIZE
48677 * app/gui/gradient-select.h: ...removed it here.
48679 * libgimp/Makefile.am
48681 * libgimp/gimpgradientselect.[ch]: removed. We don't wrap
48682 _gradients_get_gradient_data() with gradients_get_gradient_data()
48683 any more but call the PDB wrapper directly.
48685 API CHANGE: Arguments 2 and 3 are swapped now!
48687 * plug-ins/FractalExplorer/Dialogs.c: changed accordingly.
48689 2001-10-25 Michael Natterer <mitch@gimp.org>
48691 * configure.in: generate app/file/Makefile
48694 * app/file-open.[ch]
48695 * app/file-save.[ch]
48696 * app/file-utils.[ch]: removed...
48698 * app/file/Makefile.am
48699 * app/file/file-open.[ch]
48700 * app/file/file-save.[ch]
48701 * app/file/file-utils.[ch]: ...and added here.
48703 * app/gui/file-commands.c
48704 * app/gui/file-open-dialog.c
48705 * app/gui/file-save-dialog.c
48706 * tools/pdbgen/pdb/fileops.pdb: changed includes accordingly.
48708 * app/app_procs.[ch]: removed app_exit_finish() and
48709 app_exit_finish_done() from the public API, call gtk_main() here,
48710 pass "no_data" to gimp_new() and "restore_session" to
48713 * app/main.c: removed global variable "double_speed", don't
48714 call gtk_main() in main.c. Added some missing log domains.
48716 * app/appenv.h: removed "double_speed".
48718 * app/core/gimp.[ch]: added "gboolean no_data" property which
48719 must be passed to gimp_new().
48721 * app/display/gimpdisplay-foreach.[ch]: added gdisplays_set_busy()
48722 and gdisplays_unset_busy().
48724 * app/gui/about-dialog.c: don't include "appenv.h", declare
48725 "double_speed" extern.
48727 * app/gui/brush-select.[ch]
48728 * app/gui/gradient-select.[ch]
48729 * app/gui/palette-select.[ch]
48730 * app/gui/pattern-select.[ch]: made the list of dialogs and the
48731 global selection dialogs private. Added functions which get a
48732 dialog by PDB callback_name. Pass a "Gimp" and the callback_name
48733 to the constructors. Don't include "app_procs.h" for "the_gimp"
48734 and "appenv.h" for "no_data" any more. Use the passed "Gimp"
48735 instead and look at gimp->no_data.
48737 * app/gui/toolbox.[ch]: pass a "Gimp" to the constructor.
48739 * app/gui/gui.[ch]: use the new gdisplays_[un]set_busy() functions,
48740 use the passed "Gimp" all over the place, don't include
48741 "appenv.h" and "app_procs.h". gui_really_quit_dialog() takes
48742 a "quit_func" callback now and calls it instead of calling
48743 app_exit_finish() (which is now private) directly.
48745 * app/gui/convert-dialog.c
48746 * app/gui/dialogs-constructors.c
48747 * app/gui/palette-import-dialog.c
48748 * tools/pdbgen/pdb/brush_select.pdb
48749 * tools/pdbgen/pdb/gradient_select.pdb
48750 * tools/pdbgen/pdb/pattern_select.pdb: changed accordingly.
48752 * app/pdb/brush_select_cmds.c
48753 * app/pdb/fileops_cmds.c
48754 * app/pdb/gradient_select_cmds.c
48755 * app/pdb/pattern_select_cmds.c: regenerated.
48757 2001-10-24 Sven Neumann <sven@gimp.org>
48759 * plug-ins/perl/examples/glowing_steel: merged Raphaels patch for
48760 bug #56598 from the stable branch.
48762 * libgimp/gimpexport.c: merged Raphaels patch for bug #51114 from the
48765 * plug-ins/common/grid.c: merged the fix for indexed images from the
48768 2001-10-24 Michael Natterer <mitch@gimp.org>
48774 * app/user_install.c
48776 * app/base/temp-buf.c
48777 * app/core/gimpdata.c
48778 * app/core/gimpdatafiles.c
48779 * app/core/gimpimagefile.c
48780 * app/gui/about-dialog.c
48781 * app/gui/file-open-dialog.c
48782 * app/gui/file-save-dialog.c
48786 * app/gui/tips-dialog.c
48787 * app/tools/gimpcurvestool.c
48788 * app/tools/gimplevelstool.c
48789 * libgimpbase/gimpenv.c
48790 * plug-ins/FractalExplorer/FractalExplorer.c
48791 * plug-ins/gfig/gfig.c
48792 * plug-ins/gflare/gflare.c
48793 * tools/pdbgen/pdb/fileops.pdb: use g_build_filename() all over
48794 the place instead of g_strconcat() and friends together with
48795 G_DIR_SEPARATOR_S. Also removed all attempts to manually detect
48796 double dir separators. LibGimpBase's searchpath utility functions
48797 don't append a G_DIR_SEPARATOR_S to all paths any more.
48799 * app/pdb/fileops_cmds.c: regenerated.
48801 2001-10-24 Michael Natterer <mitch@gimp.org>
48803 * libgimpwidgets/gimpbutton.[ch]: added
48804 gimp_button_extended_clicked() which emits the resp. signal.
48806 * app/gui/menus.[ch]: added new item factories "<Buffers>" and
48809 * app/gui/Makefile.am
48810 * app/gui/buffers-commands.[ch]
48811 * app/gui/documents-commands.[ch]: new files for the callbacks.
48813 * app/gui/dialogs-constructors.c: use them.
48815 * app/gui/file-open-dialog.c: set the title to "Open Image",
48818 2001-10-23 Michael Natterer <mitch@gimp.org>
48820 * app/app_procs.c: pass a "Gimp" to gui_libs_init(), initialize
48821 the GUI before initializing the plug-ins.
48823 * app/gui/menus.[ch]: removed menus_last_opened_add() and connect
48824 to gimp->documents' "add", "remove" and "reorder" signals to
48825 auto-update the "last opened" menu entries. Moved all public
48826 functions to the top of the file. Removed global variable
48827 "last_opened_raw_filenames".
48829 * app/gui/gui.[ch]: removed "last opened" fiddling here, moved
48830 menu init functions which need to be called after plug-in query
48833 * app/gui/session.[ch]: added "Gimp" parameters to all public
48837 * app/gui/file-commands.c
48838 * app/gui/file-open-dialog.c: changed accordingly.
48840 2001-10-23 Sven Neumann <sven@gimp.org>
48842 * TODO.xml: added an entry for handling layers with masks with the
48845 * app/gui/tips_dialog.c: make Next and Previous buttons insensitive
48846 if no tips could be loaded (as done in the stable branch).
48848 * plug-ins/common/mblur.c (mblur_linear): merged fix for bug #62640
48849 from stable branch.
48851 * plug-ins/gap/gap_lib.c: merged fix for bug #61677 from stable branch.
48853 2001-10-22 Michael Natterer <mitch@gimp.org>
48856 * app/docindex.[ch]: removed.
48858 * app/widgets/Makefile.am
48859 * app/widgets/widgets-types.h
48860 * app/widgets/gimpdocumentview.[ch]: new widget as replacement.
48862 * app/core/gimpcontext.[ch]: added context->imagefile property.
48866 * app/gui/dialogs-constructors.[ch]
48867 * app/gui/dialogs.c
48868 * app/gui/file-open-dialog.c
48869 * app/gui/file-save-dialog.c
48872 * app/gui/test-commands.c: changed accordingly.
48874 * app/widgets/gimpcontainerview.[ch]: added "gboolean reorderable"
48875 property which needs to be set by subclasses.
48877 * app/widgets/gimpdrawablelistview.c: removed the "insert_item"
48878 implementation which was used to make the items reorderable.
48880 * app/widgets/gimpcontainerlistview.[ch]: make the list items
48881 reorderable depending on view->reorderable.
48883 * app/widgets/gimpbufferview.c: made it reorderable.
48885 * app/widgets/gimpcontainereditor.[ch]
48886 * app/widgets/gimpcontainergridview.[ch]
48887 * app/widgets/gimpdatafactoryview.c: changed accordingly.
48889 2001-10-22 Michael Natterer <mitch@gimp.org>
48891 General cleanup of the selection tools and their PDB wrappers:
48893 * app/core/Makefile.am
48894 * app/core/gimpimage-contiguous-region.[ch]
48895 * app/core/gimpimage-mask-select.[ch]: new files providing a clean,
48896 uniform API for the selection functionalities. Changed order of
48897 parameters to be consistent, removed code duplication.
48899 The region returned by the "by_color" function is not really
48900 contiguous but the API is so similar to "by_seed" and it's used
48901 in the same context so it's fair enough to put them together.
48903 Also, I'm not sure if the two is_pixel_sufficiently_different()
48904 I've optimized away were meant to do *exactly* the same. Added
48905 a comment there to remember the former difference.
48907 * app/core/gimpchannel.[ch] (gimp_channel_feather): removed the
48908 "output" channel parameter and made it optionally push an undo
48909 (like the other channel operations do).
48911 * app/core/gimpimage-mask.c: call gimp_channel_feather() with
48912 "push_undo == TRUE", removed some useless comments.
48914 * app/tools/gimpbycolorselecttool.[ch]
48915 * app/tools/gimpellipseselecttool.[ch]
48916 * app/tools/gimpfreeselecttool.[ch]
48917 * app/tools/gimpfuzzyselecttool.[ch]
48918 * app/tools/gimprectselecttool.[ch]: removed all the actual
48919 selection functionality and call the new gimp_image_mask_select_*()
48920 and gimp_image_contiguous_region_*() functions instead.
48922 * app/tools/gimpbezierselecttool.c
48923 * app/tools/gimpiscissorstool.c: use new function
48924 gimp_image_mask_select_channel() instead of doing the same manually.
48926 * app/tools/gimpbucketfilltool.c: find_contiguous_region() ->
48927 gimp_image_contiguous_region_by_seed().
48929 * tools/pdbgen/Makefile.am
48930 * tools/pdbgen/groups.pl
48931 * tools/pdbgen/pdb/selection_tools.pdb: added new group "Selection
48932 Tools" which depends only on "core/" stuff (not on "tools/" any
48935 * tools/pdbgen/pdb/text_tool.pdb: don't include "appenv.h"
48937 * tools/pdbgen/pdb/tools.pdb: removed the selection tools.
48939 * app/pdb/Makefile.am
48940 * app/pdb/selection_tools_cmds.c: new file.
48942 * app/pdb/internal_procs.c
48943 * app/pdb/text_tool_cmds.c
48944 * app/pdb/tools_cmds.c: regenerated.
48946 * libgimp/Makefile.am
48947 * libgimp/gimp_pdb.h
48948 * libgimp/gimpselectiontools_pdb.[ch]: new files.
48950 * libgimp/gimptools_pdb.[ch]: regenerated
48954 * app/app_procs.c: call splash_create() with "no_splash_image"
48957 * app/display/gimpdisplay-render.c
48958 * app/display/gximage.c: don't include "appenv.h".
48960 * app/gui/gui.c: call session_restore() only if "restore_session"
48963 * app/gui/session.c: don't "if(restore_session)" here and don't
48966 * app/gui/splash.[ch]: added "gboolean show_image" parameter to
48967 splash_create(), don't include "appenv.h"
48969 * app/tools/gimppainttool.[ch]: added a "GimpGradient" parameter
48970 to gimp_paint_tool_get_color_from_gradient().
48972 * app/tools/gimppaintbrushtool.c: pass the gradient.
48974 * app/tools/gimpselectiontool.c
48975 * app/tools/gimptransformtool.c
48976 * app/tools/tool_manager.c: s/GDisplay/GimpDisplay/.
48978 * app/widgets/gimpcontainergridview.[ch]: removed the "white_style"
48979 class variable and don't fiddle around with colors and styles...
48981 * themes/Default/gtkrc: ...do the same here with a simple rc style.
48983 2001-10-19 Michael Natterer <mitch@gimp.org>
48985 * app/Makefile.am: link the app in a different order as some init
48986 functions are called from core/gimp.c instead of app_procs.c now.
48988 * app/app_procs.[ch]: made app_init_update_status() private and
48989 pass it as callback to various init functions.
48991 * app/plug_in.[ch]: plug_in_init() take "gimp" and "status_callback"
48994 * app/undo.c: use "gimage->gimp" instead of "the_gimp", don't
48995 include "app_procs.h".
48997 * app/core/core-types.h: added "GimpInitStatusFunc" typedef.
48999 * app/core/gimp.[ch]: gimp_initialize() and gimp_restore() now
49000 take a "status_callback" as parameter. Don't include "app_procs.h".
49002 * app/core/gimpmodules.c: putting the modules in a strong
49003 container was a bad idea because it may be impossible to finalize
49004 a GimpModuleInfo object belonging to a stalled module.
49006 * app/gui/color-area.c: use G_N_ELEMENTS().
49008 * app/gui/session.c: don't call app_init_update_status() and don't
49009 include "app_procs.h" because this happens after the splash is
49012 * tools/pdbgen/app.pl
49013 * app/pdb/internal_procs.[ch]: pass a "status_callback" to
49014 internal_procs_init(), don't include "app_procs.h".
49016 * plug-ins/Makefile.am: build gfig, gimpressionist and imagemap
49019 * plug-ins/MapObject/mapobject_preview.c
49020 * plug-ins/MapObject/mapobject_ui.c: s/gdk_image_unref/g_object_unref/
49022 * plug-ins/gfig/gfig.c
49023 * plug-ins/gimpressionist/brush.c
49024 * plug-ins/gimpressionist/gimpressionist.c
49025 * plug-ins/gimpressionist/ppmtool.[ch]
49026 * plug-ins/gimpressionist/presets.c
49027 * plug-ins/imagemap/imap_browse.[ch]
49028 * plug-ins/imagemap/imap_csim.y
49029 * plug-ins/imagemap/imap_edit_area_info.c
49030 * plug-ins/imagemap/imap_file.c
49031 * plug-ins/imagemap/imap_main.c
49032 * plug-ins/imagemap/imap_menu.c
49033 * plug-ins/imagemap/imap_polygon.c
49034 * plug-ins/imagemap/imap_popup.c
49035 * plug-ins/imagemap/imap_preferences.c
49036 * plug-ins/imagemap/imap_taglist.c
49037 * plug-ins/imagemap/imap_tools.c: ported to current GLib/Gtk+.
49039 * plug-ins/gap/gap_arr_dialog.c
49040 * plug-ins/gap/gap_decode_xanim.c
49041 * plug-ins/gap/gap_filter_foreach.c
49042 * plug-ins/gap/gap_filter_main.c
49043 * plug-ins/gap/gap_frontends_main.c
49044 * plug-ins/gap/gap_lib.c
49045 * plug-ins/gap/gap_main.c
49046 * plug-ins/gap/gap_mod_layer.c
49047 * plug-ins/gap/gap_mov_dialog.c
49048 * plug-ins/gap/gap_navigator_dialog.c
49049 * plug-ins/gap/resize.c: half-way fixed this one too but I'm not
49050 willing to fix tons of duplicated and deprecated app/ code...
49052 2001-10-19 Sven Neumann <sven@gimp.org>
49054 * plug-ins/FractalExplorer/FractalExplorer.c
49055 * plug-ins/common/illusion.c: merged fixes for missing PDB parameters
49056 from stable branch.
49058 2001-10-18 Michael Natterer <mitch@gimp.org>
49061 * app/module_db.[ch]: removed.
49063 * app/core/Makefile.am
49064 * app/core/core-types.h
49065 * app/core/gimpmoduleinfo.[ch]
49066 * app/core/gimpmodules.[ch]: new files containing the module info
49067 object and the module list handling code.
49069 * app/gui/Makefile.am
49070 * app/gui/module-browser.[ch]: new files containing the GUI.
49072 * app/xcf/xcf.[ch]: pass a "Gimp" pointer to xcf_exit().
49074 * app/core/gimp.[ch]: handle modules and xcf init/exit here too.
49076 * app/app_procs.c: don't touch the modules and xcf stuff any more.
49078 * app/gui/dialogs-constructors.c: changed accordingly.
49080 2001-10-18 Michael Natterer <mitch@gimp.org>
49082 * app/core/gimpcontainer.[ch]: added properties for "children_type"
49083 and "policy". Ref/unref the "children_type" class so we can do
49084 signal lookups and use other introspection features without an
49085 existing instance of "children_type".
49087 The new properties are G_PARAM_CONSTRUCT_ONLY and *MUST* be passed
49088 to g_object_new() to ref/unref children_type's class correctly.
49090 * app/core/gimpdatalist.c
49091 * app/core/gimplist.c: pass them as construct properties.
49093 * app/core/gimp.c: no need to manually ref classes any more.
49095 2001-10-17 Michael Natterer <mitch@gimp.org>
49097 * app/widgets/gimpchannellistview.c: added a handler for GimpImage's
49098 "alpha_changed" signal (does nothing yet).
49100 * app/widgets/[lots of files]: somehow my last perl torturing
49101 removed my email address from the copyright notice. Another perl
49102 hack brought it back now :)
49104 2001-10-16 Michael Natterer <mitch@gimp.org>
49106 * app/gimpprogress.[ch]
49107 * app/undo.c: s/GDisplay/GimpDisplay/
49109 * app/plug_in.[ch]: removed unused boolean "destroy" field of
49112 * app/core/gimpedit.c: don't include "app_procs.h"
49114 * app/display/gimpdisplay-callbacks.c: moved the "grab_and_scroll"
49115 stuff from gimpdisplay-scroll.* here (less complicated and easier
49118 * app/display/gimpdisplay-scroll.[ch]: removed here.
49120 * app/display/gimpdisplay-render.[ch]
49121 * app/display/gimpdisplay-selection.[ch]
49122 * app/display/gimpdisplayshell.c: s/GDisplay/GimpDisplay/g
49124 * app/display/gimpdisplay.[ch]: ditto, removed gdisplay_active()
49125 which was just a wrapper around
49126 "gimp_context_get_display (gimp_get_user_context (the_gimp))"
49127 (which is more to type but makes the use of the global
49128 "the_gimp" variable more obvious).
49130 * app/gui/color-area.h
49131 * app/gui/edit-commands.c
49132 * app/gui/file-commands.c
49133 * app/gui/file-dialog-utils.c
49134 * app/gui/image-commands.c
49135 * app/gui/info-window.h
49136 * app/gui/paths-dialog.h
49137 * app/gui/select-commands.c
49138 * app/gui/tool-options-dialog.c
49139 * app/gui/tools-commands.c
49140 * app/gui/view-commands.c: s/GDisplay/GimpDisplay/, gdisplay_active()
49141 removal, include "app_procs.h" for "the_gimp".
49143 * app/tools/gimpbezierselecttool.h
49144 * app/tools/gimpbrightnesscontrasttool.[ch]
49145 * app/tools/gimpbycolorselecttool.c
49146 * app/tools/gimpcolorbalancetool.[ch]
49147 * app/tools/gimpcurvestool.[ch]
49148 * app/tools/gimpeditselectiontool.h
49149 * app/tools/gimphistogramtool.[ch]
49150 * app/tools/gimphuesaturationtool.[ch]
49151 * app/tools/gimplevelstool.[ch]
49152 * app/tools/gimpmovetool.h
49153 * app/tools/gimpperspectivetool.h
49154 * app/tools/gimpposterizetool.[ch]
49155 * app/tools/gimprotatetool.h
49156 * app/tools/gimpscaletool.h
49157 * app/tools/gimpsheartool.h
49158 * app/tools/gimptexttool.h
49159 * app/tools/gimpthresholdtool.[ch]
49160 * app/tools/gimptool.[ch]
49161 * app/tools/gimptransformtool.h
49162 * app/tools/tool_manager.[ch]: lots of s/GDisplay/GimpDisplay/, made
49163 all *_dialog_hide() functions private, cleanup.
49165 * app/widgets/*: removed GtkType and gtk_type_* stuff entirely and
49166 use GObject functions, removed lots of empty "destroy" methods and
49167 use more type checking class cast macros instead of casting
49170 * app/widgets/gimpcontainermenu.c: fixed item insert order.
49172 * app/widgets/gimphistogramview.[ch]: cleaned up and renamed all
49175 * app/widgets/gimpwidgets-utils.[ch]: removed gimp_dialog_hide() as
49176 Gtk+ does the right thing (TM) now.
49178 * tools/pdbgen/pdb/color.pdb: implemented "histogram" without
49179 digging into tools/ and widgets/ (needs to be done for all
49180 color PDB functions).
49182 * tools/pdbgen/pdb/gimprc.pdb: no need to use "the_gimp" in a PDB
49183 function as a "Gimp" pointer is passed to them all.
49185 * tools/pdbgen/pdb/image.pdb: don't include "app_procs.h"
49187 * app/pdb/color_cmds.c
49188 * app/pdb/gimprc_cmds.c
49189 * app/pdb/image_cmds.c: regenerated.
49191 * app/pdb/procedural_db.c: don't include "app_procs.h"
49193 2001-10-16 Sven Neumann <sven@gimp.org>
49195 * plug-ins/common/sel_gauss.c: merged fix for bug #62433 from stable
49196 branch. plug-ins/common/colortoalpha.c already had the problem fixed.
49198 2001-10-13 Michael Natterer <mitch@gimp.org>
49200 * RELEASE-TO-CVS.patch: gdk_pixbuf_new_from_stream -> _from_inline
49202 * app/display/Makefile.am
49203 * app/display/gimpdisplay-foreach.[ch]: new files for functions
49204 operating on all displays (will go away as soon as the display
49205 behaves like a proper view which doesn't need to be updated
49208 * app/display/gimpdisplay-callbacks.c
49209 * app/display/gimpdisplay-scale.[ch]
49210 * app/display/gimpdisplay-scroll.[ch]
49211 * app/display/gimpdisplay.[ch]: "scale" and "scroll" namespace
49212 cleanup, moved bounds_checking() to gimpdisplay-scroll.[ch], lots
49213 of unfinished, intermediate stuff.
49215 * app/display/gimpdisplayshell.[ch]: added some GObject framework
49216 for the GimpDisplayShell object (not used yet).
49225 * app/gui/channels-commands.c
49226 * app/gui/convert-dialog.c
49227 * app/gui/edit-commands.c
49228 * app/gui/file-commands.c
49230 * app/gui/image-commands.c
49231 * app/gui/layer-select.c
49232 * app/gui/layers-commands.c
49233 * app/gui/offset-dialog.c
49234 * app/gui/paths-dialog.c
49235 * app/gui/preferences-dialog.c
49236 * app/gui/select-commands.c
49237 * app/gui/view-commands.c
49238 * app/tools/gimpairbrushtool.c
49239 * app/tools/gimpbezierselecttool.c
49240 * app/tools/gimpblendtool.c
49241 * app/tools/gimpbrightnesscontrasttool.c
49242 * app/tools/gimpbucketfilltool.c
49243 * app/tools/gimpbycolorselecttool.c
49244 * app/tools/gimpcolorbalancetool.c
49245 * app/tools/gimpcroptool.c
49246 * app/tools/gimpcurvestool.c
49247 * app/tools/gimpeditselectiontool.c
49248 * app/tools/gimpfreeselecttool.c
49249 * app/tools/gimpfuzzyselecttool.c
49250 * app/tools/gimphuesaturationtool.c
49251 * app/tools/gimpinktool.c
49252 * app/tools/gimpiscissorstool.c
49253 * app/tools/gimplevelstool.c
49254 * app/tools/gimpmagnifytool.c
49255 * app/tools/gimpmeasuretool.c
49256 * app/tools/gimpmovetool.c
49257 * app/tools/gimppainttool.c
49258 * app/tools/gimpposterizetool.c
49259 * app/tools/gimprectselecttool.c
49260 * app/tools/gimptexttool.c
49261 * app/tools/gimpthresholdtool.c
49262 * app/tools/gimptransformtool.c
49263 * app/widgets/gimpbufferview.c
49264 * app/widgets/gimpchannellistview.c
49265 * app/widgets/gimpcomponentlistitem.c
49266 * app/widgets/gimpdrawablelistitem.c
49267 * app/widgets/gimpdrawablelistview.c
49268 * app/widgets/gimplayerlistitem.c
49269 * app/widgets/gimplayerlistview.c
49270 * app/widgets/gimplistitem.c
49271 * tools/pdbgen/pdb/display.pdb
49272 * app/pdb/display_cmds.c: changed accordingly (mostly including
49273 "gimpdisplay-foreach.h" instead of "gimpdisplay.h")
49275 2001-10-10 DindinX <dindinx@wanadoo.fr>
49277 * app/display/gimpdisplay-callbacks.c: fixed a buglet. Key-release
49278 events are now correctly handled.
49280 2001-10-08 Dave Neary <nearyd@eircom.net>
49283 * RELEASE-TO-CVS.patch: Added file, and instructions on
49284 why/how to use it to HACKING
49286 2001-10-07 DindinX <dindinx@wanadoo.fr>
49288 * plug-ins/common/apply_lens.c: little optimisation by avoiding some
49289 useless recalculation.
49291 2001-10-04 Sven Neumann <sven@gimp.org>
49293 * app/widgets/gimpfontselection-dialog.c: inserted some extra checks
49294 to work around a bug in PangoFT2 version 0.20.
49296 2001-10-02 Emese Kovacs <emese@gnome.hu>
49298 * tips/Makefile.am|makefile.mingw: Added gimp_tips.hu.txt to the
49301 * tips/gimp_tips.hu.txt: Added Hungarian tips file in UTF-8
49304 2001-10-02 Sven Neumann <sven@gimp.org>
49306 * plug-ins/common/sobel.c (sobel_dialog): merged fix for bug #61525
49309 2001-10-01 Michael Natterer <mitch@gimp.org>
49311 * configure.in: create build/win32/dirent/Makefile.
49313 2001-09-28 Sven Neumann <sven@gimp.org>
49315 * configure.in(ALL_LINGUAS): Removed zh_CN again until all po files
49316 have been added. Translators, read README.i18n!
49318 2001-09-28 Michael Natterer <mitch@gimp.org>
49320 * app/gui/preferences-dialog.c: added a frame around the tree.
49322 * app/widgets/gimphistogramview.c: forgot to pass the "detail" to
49323 g_signal_emit(). Should fix the histogram tool. Thanks to Seth for
49326 2001-09-28 Wang Jian <lark@linux.net.cn>
49328 * configure.in(ALL_LINGUAS): Added zh_CN
49330 2001-09-27 Sven Neumann <sven@gimp.org>
49336 * configure.in: use AM_GLIB_GNU_GETTEXT. Since glib and GTK+ rely on
49337 gettext being available, we don't need to ship with the option to use
49338 an included implementation. The intl subdirectory will not be created
49339 anymore. Had to put the old sed hacks back in that create Makefiles
49340 from Makefile.in in the extra po directories.
49342 * almost all Makefile.am: removed $(top_srcdir)/intl from INCLUDES.
49345 * libgimp/stdplugins-intl.h
49346 * plug-ins/perl/Gimp.xs
49347 * plug-ins/script-fu/script-fu-intl.h: changed package names to
49348 gimp14* so the po files don't clash with gimp12.
49350 2001-09-26 Manish Singh <yosh@gimp.org>
49352 * app/gui/preferences-dialog.c: replaced CTree with a TreeView
49354 2001-09-26 Sven Neumann <sven@gimp.org>
49356 * configure.in: we require glib-1.3.9, pango-0.20, atk-0.5 and
49357 gtk+-1.3.9 available from ftp://ftp.gtk.org/pub/gtk/v1.3/.
49359 * HACKING: mention the fact that we will try to keep our source
49360 compileable against the latest development releases of gtk+ and
49364 * app/gui/file-open-dialog.c
49365 * app/gui/file-save-dialog.c
49366 * plug-ins/common/csource.c
49367 * plug-ins/common/wmf.c: follow glib API changes.
49369 * plug-ins/common/mail.c: fixed a warning.
49371 2001-09-26 Michael Natterer <mitch@gimp.org>
49374 * app/disp_callbacks.[ch]
49375 * app/gdisplay.[ch]
49376 * app/gdisplay_ops.[ch]
49378 * app/image_render.[ch]
49379 * app/interface.[ch]
49380 * app/marching_ants.h
49383 * app/selection.[ch]: removed.
49385 * app/display/Makefile.am
49386 * app/display/display-types.h
49387 * app/display/gimpdisplay-callbacks.[ch]
49388 * app/display/gimpdisplay-marching-ants.h
49389 * app/display/gimpdisplay-ops.[ch]
49390 * app/display/gimpdisplay-render.[ch]
49391 * app/display/gimpdisplay-scale.[ch]
49392 * app/display/gimpdisplay-scroll.[ch]
49393 * app/display/gimpdisplay-selection.[ch]
49394 * app/display/gimpdisplay.[ch]
49395 * app/display/gimpdisplayshell.[ch]
49396 * app/display/gximage.[ch]: added here.
49399 * app/gui/[many files]
49401 * app/widgets/[many files]: changed accordingly. Still very
49402 incomplete separation of the display stuff but it at least
49405 * tools/pdbgen/pdb.pl:
49406 * tools/pdbgen/pdb/display.pdb: s/GDisplay/GimpDisplay/,
49407 s/"gdisplay.h"/"display/gimpdisplay.h"/.
49409 * app/pdb/display_cmds.c: regenerated.
49411 2001-09-25 Michael Natterer <mitch@gimp.org>
49413 * app/gdisplay.[ch]: renamed it to GimpDisplay and made it a
49414 GimpObject subclass.
49416 * app/disp_callbacks.[ch]
49417 * app/gdisplay_ops.[ch]
49420 * app/display/display-types.h: changed accordingly.
49422 * app/core/gimpimage.[ch]: new signal "selection_control".
49424 * app/core/core-types.h: moved the SelectionControl enum and all
49425 other core enums here.
49427 * app/gui/gui.c: connect to the images' "selection_control" signal
49428 and call gdisplays_selection_visibility().
49430 * app/core/gimpcontext.c
49431 * app/core/gimpdrawable-offset.h
49432 * app/core/gimpimage-convert.h
49433 * app/core/gimpimage-mask.c
49434 * app/core/gimplayer.c
49435 * app/tools/gimpeditselectiontool.c
49436 * app/tools/gimpinktool.c
49437 * app/tools/gimpmovetool.c
49438 * app/tools/gimppainttool.c: changed accordingly.
49440 * app/gui/colormap-dialog.[ch]: GObject porting.
49442 * tools/pdbgen/Makefile.am: removed headers which no longer
49445 * tools/pdbgen/pdb/convert.pdb
49446 * tools/pdbgen/pdb/drawable.pdb: include files which are no longer
49447 included automatically by the enum voodoo.
49449 * app/pdb/convert_cmds.c
49450 * tools/pdbgen/enums.pl: regenerated.
49452 2001-09-24 Nathan Summers <rock@gimp.org>
49454 * plug-ins/Lighting/lighting_image.c
49455 * plug-ins/Lighting/lighting_shade.c: fixed off-by-one error that
49456 caused segfaults on images with a width of exactly 64. Bug is present
49457 in 1.2.2; fix should be committed to stable after it is tested.
49459 2001-09-23 Sven Neumann <sven@gimp.org>
49461 * plug-ins/Makefile.am: reenabled build of ifscompose. We should port
49462 the gdk_string functions to Pango, but for the moment it builds again
49463 by undefining GDK_DISABLE_DEPRECATED.
49465 2001-09-22 Hans Breuer <hans@breuer.org>
49467 * app/makefile.msc : need to link with pangof2
49469 * app/display/display-funcs.h : new file to provide prototype
49470 gdisplays_selection_visibility ()
49471 * app/core/gimpimage-mask.c :
49472 * app/core/gimplayer.c : use it
49474 * app/core/makefile.msc : generate gimpmarshal.[hc]
49476 * app/gui/makefile.msc : add error-console-dialog.obj, also
49477 more trying for building as dll
49479 * app/tools/gimpinktool.c(965) : avoid "fatal error C1021: invalid
49480 preprocessor command 'warning'", by wrapping it in #ifdef __GNUC__
49482 * app/tools/makefile.msc : add FREETYPE2_CFLAGS
49484 * app/widgets/gimpfontselction-dialog.c : use g_strcasecmp ()
49486 * app/tools/makefile.msc : add FREETYPE2_CFLAGS and gimpfontselction*
49488 * libgimp/gimp.def :
49489 * libgimpwidgets/gimpwidgets.def : updated externals
49491 * libgimpwidgets/makefile.msc : add gimpstock
49493 * plug-ins/makefile.msc : gflare doesn't require EXTRA_gflare anymore
49495 * plug-ins/common/spheredesigner.c :
49496 * plug-ins/helpbrowser/helpbrowser.c :
49497 * plug-ins/imagemap/imap_main.c :
49498 remove _help_accel from gimp_help_connect ()
49500 * plug-ins/gap/gap_mov_dialog.c :
49501 * plug-ins/gap/gap_navigator_dialog.c : remove references to
49502 use_xshm and gimp_color_cube ()
49504 * plug-ins/gfig/gfig.c : don't access ->klass, but use
49507 * plug-ins/gimpressionist/repaint.c : the GtkButton::child
49508 field is moved to the parent GtkBin.
49510 * plug-ins/ifscompose/ifscompose.c : the GtkStyle::font field
49511 isn't public anymore, use accessor gtk_style_get_font ()
49513 * plug-ins/imagemap/imap_preferences.c : reflect GTK2 API change
49514 gtk_notebook_set_current_page ()
49516 2001-09-20 Michael Natterer <mitch@gimp.org>
49518 * libgimpwidgets/gimpdialog.[ch]: made a real object (GtkDialog
49519 subclass) out of it. The API will change soon too.
49521 * libgimpwidgets/gimpwidgetstypes.h: added GimpDialog typedef.
49523 * libgimpwidgets/gimpbutton.[ch]
49524 * libgimpwidgets/gimpchainbutton.[ch]
49525 * libgimpwidgets/gimpcolorarea.[ch]
49526 * libgimpwidgets/gimpcolorbutton.[ch]
49527 * libgimpwidgets/gimpfileselection.[ch]
49528 * libgimpwidgets/gimpoffsetarea.[ch]
49529 * libgimpwidgets/gimppatheditor.[ch]
49530 * libgimpwidgets/gimppixmap.c
49531 * libgimpwidgets/gimpsizeentry.c
49532 * libgimpwidgets/gimpunitmenu.c: removed GtkType stuff and use
49533 GType in all get_type() functions. Some random GObject porting.
49535 * app/gui/info-dialog.c
49536 * app/gui/info-window.c
49537 * app/tools/gimpcolorpickertool.c
49538 * app/tools/gimpcroptool.c
49539 * app/tools/gimpmeasuretool.c
49540 * app/tools/gimptransformtool.c: changed accordingly.
49542 2001-09-20 Sven Neumann <sven@gimp.org>
49544 * app/gdisplay.c: fixed resize of cursor position label that I broke
49545 with my latest change.
49547 * app/widgets/gimpfontselection-dialog.c: avoid the crash by using the
49548 correct PangoContext, but there's still a bug somewhere in this code
49551 2001-09-19 Michael Natterer <mitch@gimp.org>
49553 * TODO.xml: added an entry about "Stroke".
49555 * app/gui/about-dialog.c: use g_timeout and g_source functions
49556 instead if gtk_timeout stuff.
49558 * app/widgets/gimpdnd.[ch]: general cleanup:
49560 - removed the internal enum duplication and use GimpDndType all over
49562 - added internal GimpDndDataDef entries for all public DND types.
49563 - code cleanup, some debugging output.
49565 2001-09-19 Sven Neumann <sven@gimp.org>
49567 * configure.in: require GTK+-1.3.8 and PangoFT2-0.19.
49570 * app/tools/gimppainttool.c: removed intermediate hacks that are no
49571 longer needed with the new GTK+ release.
49574 * libgimp/gimp.[ch]
49576 * libgimpbase/gimpprotocol.[ch]: removed use_xshm and color_cube
49577 variables and accessor functions.
49579 * app/errors.c: use gtk_exit() instead of gdk_exit().
49581 * app/gdisplay.c: use Pango API to determine cursor label width. This
49582 does not work correctly, but at least it compiles...
49584 * app/gui/splash.c: follow Pango API changes.
49586 * app/tools/gimpcurvestool.[ch]: use PangoLayouts to draw text.
49588 * app/tools/gimptexttool.c: follow Pango API changes.
49590 * app/widgets/gimpfontselection-dialog.c
49591 * app/widgets/gimpfontselection.c: mostly rewritten following the
49592 changes in GtkFontSelection. This is unusable at the moment and
49593 crashes, but at least it compiles again...
49595 * plug-ins/Makefile.am: temporarily disabled build of ifscompose since
49596 it does not compile any longer after the latest GDK cleanups.
49598 * plug-ins/common/nlfilt.c: gimp_color_cube() is obsolete.
49600 2001-09-18 Sven Neumann <sven@gimp.org>
49602 * app/pdb/parasite_cmds.c
49603 * tools/pdbgen/pdb/parasite.pdb: fixed nasty bug in perl expression
49604 that caused all parasite PDB functions to work on global gimp parasites
49605 even if the gimp_image_parasite* and gimp_drawable_parasite* functions
49608 2001-09-17 Sven Neumann <sven@gimp.org>
49610 * app/gimprc.c (gimprc_init):
49611 fixed a typo spotted by Ed Halley <ed@halley.cc>.
49613 * app/pdb/gimprc_cmds.c
49614 * app/pdb/internal_procs.c
49615 * libgimp/gimpgimprc_pdb.[ch]: added new PDB function
49616 gimp_get_default_comment() that allows to access the default image
49617 comment as set in the preferences.
49619 * plug-ins/common/csource.c
49620 * plug-ins/common/gif.c
49621 * plug-ins/common/jpeg.c
49622 * plug-ins/common/tiff.c: use gimp_get_default_comment() instead of
49623 a hardcoded string.
49625 * plug-ins/common/uniteditor.c: replaced deprecated GDK function
49628 2001-09-17 Sven Neumann <sven@gimp.org>
49630 * plug-ins/common/mail.c: resurrected mail plug-in. Thanks to
49631 David Odin <dindinx@wanadoo.fr> for the patch.
49633 * plug-ins/common/.cvsignore
49634 * plug-ins/common/Makefile.am
49635 * plug-ins/common/plugin-defs.pl: build mail, nlfilt and plugindetails
49639 * tips/gimp_conseils.fr.txt: removed ...
49640 * tips/gimp_tips.fr.txt: ... and readded under this name.
49642 2001-09-11 Nathan Summers <rock@gimp.org>
49644 * all files: wilber cried.
49646 2001-09-09 Sven Neumann <sven@gimp.org>
49649 * app/tools/gimppainttool.c: readded the old code here in case the
49650 old GDK variable is defined. Since GTK+-1.3.7 is finally out, we want
49651 to try to keep GIMP compile against this release as long as possible.
49653 * plug-ins/common/gif.c: applied a patch from David Odin
49654 <dindinx@wanadoo.fr> that brings the GIF plug-in back to live.
49656 * plug-ins/common/.cvsignore
49657 * plug-ins/common/Makefile.am
49658 * plug-ins/common/plugin-defs.pl: build it again.
49660 2001-09-08 Daniel Egger <egger@interearth.com>
49663 * app/tools/gimppainttool.c: Use new gdk_device_get_core_pointer ()
49664 instead of the former gdk_core_pointer variable. You will need a
49665 recent CVS gtk to compile it!
49667 2001-09-07 Sven Neumann <sven@gimp.org>
49669 * app/widgets/gimpbrushfactoryview.c
49670 * app/widgets/gimpbufferview.c
49671 * app/widgets/gimpchannellistview.c
49672 * app/widgets/gimpcolorpanel.c
49673 * app/widgets/gimpcontainergridview.c
49674 * app/widgets/gimpcontainermenuimpl.c
49675 * libgimpwidgets/gimpcolorbutton.c
49676 * libgimpwidgets/gimpoffsetarea.c
49677 * plug-ins/gdyntext/charmap.c
49678 * plug-ins/gdyntext/charmap_window.c
49679 * plug-ins/gdyntext/font_selection.c
49680 * plug-ins/gdyntext/message_window.c:
49681 use GtkType instead of guint to store result of gtk_type_unique().
49682 Patch courtesy of Alex Larsson <alexl@redhat.com>.
49684 2001-09-04 Michael Natterer <mitch@gimp.org>
49686 * plug-ins/common/jpeg.c: JPEG is back!
49687 Thanks to David Odin <dindinx@wanadoo.fr> for the patch.
49689 * plug-ins/common/.cvsignore
49690 * plug-ins/common/Makefile.am
49691 * plug-ins/common/plugin-defs.pl: build it again.
49693 2001-09-03 Sven Neumann <sven@gimp.org>
49695 * app/gui/about-dialog.c
49696 * app/gui/splash.c: draw text using PangoLayouts, now compiles with
49697 GDK_DISABLE_DEPRECATED being defined.
49699 * app/gui/authors.h
49700 * tools/authorsgen/authorsgen.pl
49701 * tools/authorsgen/contributors: converted to use UTF-8 strings.
49703 2001-09-03 Michael Natterer <mitch@gimp.org>
49705 * configure.in: added -DGDK_DISABLE_DEPRECATED.
49707 * app/gui/about-dialog.c
49708 * plug-ins/common/wmf.c
49709 * plug-ins/ifscompose/ifscompose_utils.c: #undef it here (too lazy...)
49711 * app/colormaps.[ch]
49715 * app/gui/brush-editor.c
49716 * app/gui/color-notebook.c
49717 * app/gui/gradient-select.c
49718 * app/gui/palette-select.c
49719 * app/gui/paths-dialog.c
49720 * app/gui/select-commands.c
49721 * app/widgets/gimpdialogfactory.c
49722 * app/widgets/gimpdock.c
49723 * app/widgets/gimpdockbook.c: replaced deprecated stuff,
49724 g_list_free() the return value of gtk_container_get_children().
49726 * plug-ins/Makefile.am: build gflare again.
49728 * plug-ins/gflare/asupsample.[ch]: removed because the same function
49729 is already in libgimpcolor.
49731 * plug-ins/gflare/gtkmultioptionmenu.[ch]: removed because Gtk+
49732 handles menu_height > screen_height by scrolling now.
49734 * plug-ins/gflare/Makefile.am
49735 * plug-ins/gflare/gflare.c: changed accordingly, cleanups.
49737 2001-09-03 Sven Neumann <sven@gimp.org>
49740 * app/core/gimpbrush.c
49741 * app/core/gimpbrushpipe.c
49742 * app/core/gimpgradient.c
49743 * app/core/gimppalette.c
49744 * app/core/gimppattern.c: check strings from data files and plug-in
49745 registration for UTF-8 validity. There are probably a lot more places
49746 that need these checks.
49748 * plug-ins/common/gqbist.c: converted PDB texts to UTF-8.
49750 2001-08-31 Thomas Canty <tommydal@optushome.com.au>
49758 * app/gui/about-dialog.c
49759 * app/gui/color-area.c
49760 * app/gui/color-select.c
49761 * app/gui/gradient-editor.c
49764 * app/tools/gimpcurvestool.c
49765 * plug-ins/Lighting/lighting_preview.c
49766 * plug-ins/Lighting/lighting_ui.c
49767 * plug-ins/MapObject/mapobject_preview.c
49768 * plug-ins/MapObject/mapobject_ui.c
49769 * plug-ins/common/animationplay.c
49770 * plug-ins/common/curve_bend.c
49771 * plug-ins/gap/gap_navigator_dialog.c
49772 * plug-ins/gfig/gfig.c
49773 * plug-ins/gimpressionist/gimpressionist.c
49774 * plug-ins/ifscompose/ifscompose.c
49775 * plug-ins/imagemap/imap_main.c
49776 * plug-ins/imagemap/imap_preferences.c
49777 * plug-ins/imagemap/imap_preview.c: replaced some deprecated GDK
49780 2001-08-30 Michael Natterer <mitch@gimp.org>
49783 * libgimpbase/gimpwire.c
49784 * libgimp/gimp.c: removed GIOChannel "channel->funcs->io_foo()"
49785 hacks and use plain g_io_channel_[read|write]_chars(). An
49786 additional g_io_channel_set_buffered (channel, FALSE); is needed
49787 to make the channels work in binary mode. Fixed misc other stuff
49788 in the GIOChannel code.
49790 * app/tools/gimpdrawtool.c
49791 * app/tools/gimpmovetool.c
49792 * app/tools/gimptransformtool.c
49793 * app/widgets/gimpdialogfactory.c
49794 * libgimpwidgets/gimpcolorarea.c
49795 * libgimp/gimpui.c: replaced some deprecated GDK functions.
49797 * app/gui/palette-editor.c: block the color_name entry's "changed"
49798 signal while setting it. Fixes invalid UTF-8 warnings.
49800 2001-08-30 Sven Neumann <sven@gimp.org>
49802 * app/plug-in.c: set the message encoding for the plug-in textdomain.
49804 2001-08-30 Sven Neumann <sven@gimp.org>
49806 * configure.in: check for bind_textdomain_codeset, use standard
49807 HAVE_FOO semantic for difftime.
49809 * libgimp/gimpintl.h
49810 * libgimp/libgimp-intl.h
49811 * libgimp/stdplugins-intl.h: set encoding of message translations
49812 to UTF-8 if bind_textdomain_codeset() is available. We still
49813 explicitely set LC_NUMERIC to "C" so we can write and parse floats
49814 in a defined way independent of the locale. We might want to find
49815 a cleaner solution for this.
49817 * plug-ins/script-fu/script-fu-server.c: inverted preprocessor logic
49818 from NO_DIFFTIME to HAVE_DIFFTIME.
49820 * plug-ins/script-fu/scripts/trochoid.scm:
49821 fixed parameter description (bug #59760).
49823 2001-08-29 Sven Neumann <sven@gimp.org>
49825 * README.i18n: added a section that mentions the GNOME translation
49826 project that coordinates translation efforts in the GNOME CVS tree.
49828 Mention the fact that po files as well as the tips files need to be
49829 UTF-8 encoded to work with GTK+-2.0.
49831 * tips/gimp_tips.de.txt: converted to UTF-8.
49833 2001-08-29 Sven Neumann <sven@gimp.org>
49835 * app/widgets/gtkhwrapbox.[ch]
49836 * app/widgets/gtkvwrapbox.[ch]
49837 * app/widgets/gtkwrapbox.[ch]: make it compile even if you don't
49838 have gle installed ;-)
49840 2001-08-29 Sven Neumann <sven@gimp.org>
49842 * configure.in: added comment how to handle version numbers when
49843 making releases so I don't get it wrong once again.
49844 Removed leftover GIMP_CONTRIBUTORS.
49846 * gimptool.1.in: removed this file.
49849 * docs/gimp.1.in: fixed stuff that was left after the removal of
49850 the GIMP_CONTRIBUTORS hack.
49852 2001-08-29 Michael Natterer <mitch@gimp.org>
49854 * configure.in: added -DG_DISABLE_DEPRECATED and
49855 -DGDK_DISABLE_COMPAT_H.
49860 * app/gdisplay_ops.c
49864 * app/undo_history.c
49865 * app/core/gimpgradient.c
49866 * app/core/gimpimagefile.c
49867 * app/core/gimppalette.c
49868 * app/gui/color-notebook.c
49869 * app/gui/convert-dialog.c
49870 * app/gui/error-console-dialog.c
49871 * app/gui/file-commands.c
49872 * app/gui/file-open-dialog.c
49873 * app/gui/file-save-dialog.c
49874 * app/gui/gradient-editor.c
49875 * app/gui/info-window.c
49877 * app/gui/palette-import-dialog.c
49878 * app/tools/gimpbycolorselecttool.c
49879 * app/widgets/gimpcontainerview-utils.c
49880 * app/widgets/gimpdatafactoryview.c
49881 * libgimp/gimpmenu.c
49882 * plug-ins/common/bz2.c
49883 * plug-ins/common/compose.c
49884 * plug-ins/common/csource.c
49885 * plug-ins/common/decompose.c
49886 * plug-ins/common/gz.c
49887 * plug-ins/common/uniteditor.c
49888 * plug-ins/common/wmf.c
49889 * plug-ins/common/xbm.c
49890 * plug-ins/rcm/rcm_dialog.c
49891 * plug-ins/script-fu/interp_slib.c
49892 * plug-ins/script-fu/script-fu-console.c
49893 * plug-ins/script-fu/script-fu-scripts.c
49894 * tools/pdbgen/pdb/fileops.pdb
49895 * tools/pdbgen/pdb/gimprc.pdb
49896 * app/pdb/fileops_cmds.c
49897 * app/pdb/gimprc_cmds.c: removed deprecated stuff like
49898 g_basename(), g_dirname(), g_strup() and friends. Added some
49899 "const gchar *" declarations while I was on it. Added some
49900 G_N_ELEMENTS() macros instead of declaring a useless variable
49901 for the number of items.
49903 * app/widgets/gtkhwrapbox.[ch]
49904 * app/widgets/gtkvwrapbox.[ch]
49905 * app/widgets/gtkwrapbox.[ch]: replaced with the latest versions
49906 from GLE, ported by the master himself.
49908 * app/gui/toolbox.c: changed accordingly.
49912 * libgimpbase/gimpwire.[ch]: use evil hacks to get binary mode
49913 from the new GIOChannel implementation (upstream bugreport already
49916 2001-08-28 Sven Neumann <sven@gimp.org>
49918 * configure.in: removed the authorgen hack. It broke the build with
49919 autoconf-2.52. Need to come up with a better idea. Until then the
49920 manpages don't show the autors anymore.
49921 Removed the useless definitions of brushdata, palettedata, ...
49925 * data/brushes/Makefile.am
49926 * data/gradients/Makefile.am
49927 * data/palettes/Makefile.am
49928 * data/patterns/Makefile.am: do it the conventional way and list all
49929 data files in the Makefiles.
49931 2001-08-28 Sven Neumann <sven@gimp.org>
49934 * autogen.sh: libtool >= 1.3.4 should be good enough
49936 2001-08-28 Sven Neumann <sven@gimp.org>
49938 * acinclude.m4: removed redefinitions of libtool macros. We use the
49939 installed libtool now. If this breaks the build for your system,
49940 upgrade libtool. If that does not help, let us know.
49943 * ltmain.sh: removed these files. Newer versions of libtool don't use
49944 ltconfig and ltmain.sh is taken from your libtool installation.
49946 * autogen.sh: check for presence of libtool.
49952 * gimprc.5.in: removed man-pages from toplevel dir ...
49955 * docs/gimp-remote.1.in
49958 * docs/gimptool-1.4.1.in: ... and added them back here.
49960 * gimp-1.4.m4: removed from toplevel dir ...
49962 * m4macros/Makefile.am
49963 * m4macros/gimp-1.4.m4: ... and added it back here.
49965 2001-08-19 Sven Neumann <sven@gimp.org>
49967 * app/widgets/Makefile.am: added PANGOFT2_CFLAGS to INCLUDES.
49969 2001-08-19 Sven Neumann <sven@gimp.org>
49972 * app/disp_callbacks.c
49973 * app/interface.c: applied a patch from <David.Odin@bigfoot.com> that
49974 changes some function prototype to return gboolean instead of gint.
49976 * app/tools/gimpblendtool.c: pixel_regions_register() and
49977 pixel_regions_process() return a gpointer, not (gpointer *).
49979 2001-08-17 Michael Natterer <mitch@gimp.org>
49981 * configure.in: added app/display/ and app/plug-in/. Empty for
49982 now except for the types files.
49986 * app/apptypes.h: removed.
49988 * app/display/Makefile.am
49989 * app/display/display-types.h
49990 * app/plug-in/Makefile.am
49991 * app/plug-in/plug-in-types.h
49992 * app/gui/Makefile.am
49993 * app/gui/gui-types.h
49994 * app/pdb/Makefile.am
49995 * app/pdb/pdb-types.h: new files for typedefs.
49997 * app/appenv.h: added MessageHandlerType and StackTraceMode here.
49999 * app/undo_types.h: moved undo struct typedefs here.
50001 * app/tools/tools-types.h
50002 * app/core/core-types.h: added some enums and Tattoo here
50003 (renamed to GimpTattoo).
50005 * app/gdisplay.h: temp_hack: #include "display/display-types.h"
50007 * app/gimphelp.c: s/gtk_idle_add/g_idle_add/
50009 * app/gimprc.c: don't use "gimprc" in token handlers but the
50010 passed "val1p" and "val2p".
50012 * app/image_map.[ch]: cleanup in preparation of making a GObject
50015 * app/base/pixel-region.[ch]: no need to pass the
50016 PixelRegionIterator around as void pointer.
50018 * app/core/gimp.[ch]
50019 * app/core/gimpcontext.[ch]
50020 * app/core/gimptoolinfo.[ch]
50021 * app/tools/tool_manager.c
50022 * app/widgets/gimpdnd.c: added the standard_tool_info to the Gimp
50034 * app/core/gimpdrawable.[ch]
50035 * app/core/gimpimage-mask.c
50036 * app/core/gimpimage.[ch]
50037 * app/core/gimplayer.c
50038 * app/gui/color-area.c
50039 * app/gui/color-notebook.c
50040 * app/gui/colormap-dialog.c
50041 * app/gui/dialogs-commands.c
50042 * app/gui/dialogs-constructors.c
50043 * app/gui/error-console-dialog.c
50044 * app/gui/gradient-editor.c
50045 * app/gui/gradient-select.c
50046 * app/gui/indicator-area.c
50047 * app/gui/info-dialog.c
50048 * app/gui/palette-editor.c
50049 * app/gui/palette-select.c
50050 * app/gui/pattern-select.c
50051 * app/gui/session.c
50053 * app/gui/view-commands.c
50054 * app/tools/gimpinktool-blob.c
50055 * app/widgets/gimpcolorpanel.c
50056 * app/widgets/gimpdockbook.c
50057 * app/widgets/gimppreview.c
50058 * app/xcf/xcf-load.c
50059 * app/xcf/xcf-save.c
50060 * app/xcf/xcf.c: changed accordingly: s/Tattoo/GimpTattoo/, include
50061 the new types files, include <glib-object.h> instead of >gtk/gtk.h>.
50062 Bad hacks to get rid of SELECTION_OFF and friends in core/ (will
50063 be replaced ba a signal soon).
50065 * tools/pdbgen/Makefile.am: changed list of headers scanned for
50068 * app/pdb/procedural_db.c
50069 * tools/pdbgen/app.pl
50070 * tools/pdbgen/pdb/channel.pdb
50071 * tools/pdbgen/pdb/display.pdb
50072 * tools/pdbgen/pdb/gradient_select.pdb
50073 * tools/pdbgen/pdb/image.pdb
50074 * tools/pdbgen/pdb/layer.pdb
50075 * tools/pdbgen/pdb/pattern_select.pdb: same fixes as above, added
50076 hacks to ensure that all foo-types.h files are included before all
50077 other gimp internal includes, include "pdb-types.h" unconditionally.
50079 * tools/pdbgen/enums.pl
50080 * app/pdb/*_cmds.c: regenerated.
50082 2001-08-15 Michael Natterer <mitch@gimp.org>
50084 * app/tools/gimptool.[ch]
50085 * app/tools/tool_manager.[ch]: removed all *_get_PDB_string()
50086 functions and GimpToolClass' "pdb_string" field as this info is
50087 stored independent from a specific tool instance in GimpToolInfo
50089 * app/tools/gimpbezierselecttool.c: use GimpToolInfo's "pdb_string".
50091 2001-08-14 Michael Natterer <mitch@gimp.org>
50094 * app/gui/about-dialog.c
50095 * app/gui/brush-editor.c
50096 * app/gui/brush-select.c
50097 * app/gui/color-notebook.c
50098 * app/gui/color-select.c
50099 * app/gui/convert-dialog.c
50100 * app/gui/file-commands.c
50101 * app/gui/file-dialog-utils.c
50102 * app/gui/file-dialog-utils.h
50103 * app/gui/file-new-dialog.c
50104 * app/gui/file-open-dialog.c
50105 * app/gui/file-save-dialog.c
50106 * app/gui/gradient-editor.c
50107 * app/gui/gradients-commands.c
50109 * app/gui/image-commands.c
50110 * app/gui/info-window.c
50111 * app/gui/layer-select.c
50113 * app/gui/paths-dialog.c
50114 * app/gui/preferences-dialog.c
50115 * app/gui/resolution-calibrate-dialog.c
50116 * app/gui/select-commands.c
50118 * app/gui/test-commands.c
50119 * app/gui/tips-dialog.c
50120 * app/tools/gimpthresholdtool.c
50121 * app/tools/paint_options.c
50122 * app/widgets/gimpdock.c
50123 * app/widgets/gimpdockbook.c: got rid of all
50124 gtk_object_[get|set]_data() and almost all gtk_signal_foo()
50127 2001-08-14 Michael Natterer <mitch@gimp.org>
50129 * app/gdisplay.h: an evil temp_hack which lets GimpContext manage
50130 the active display without including "gdisplay.h". Will go away as
50131 soon as context properties are registered dynamically.
50133 * app/module_db.c: cleaned up the object code in preparation of
50134 moving it to core/.
50136 * app/path.c: connect to GimpImage's "disconnect" signal instead
50139 * app/core/gimpobject.[ch]: derive it from GObject, not from
50140 GtkObject any more (yeah :-)
50142 * app/core/*.c: #include <glib-object.h> instead of <gtk/gtk.h>,
50143 removed some remaining GtkObject-isms.
50145 (left in a few #include <gtk/gtk.h> where bigger changes are needed
50146 to get rid of the UI dependency).
50148 * app/core/core-types.h: #include <gdk-pixbuf/gdk-pixbuf.h> here
50151 * app/core/gimp.c (gimp_create_display): unref the image after
50152 creating it's first display.
50154 * app/core/gimpbrush.[ch]: disabled the parts of the code which
50155 depend on GimpPaintTool.
50157 * app/core/gimpbrushgenerated.c
50158 * app/core/gimpbrushpipe.c: changed accordingly.
50160 * app/core/gimpcontext.[ch]: evil hack (see above) to manage the
50161 active display without including "gdisplay.h"
50163 * app/core/gimpimage-mask.[ch]: pass a context to
50164 gimage_mask_stroke() and get the current tool's PDB string from
50167 * app/core/gimpedit.c: changed accordingly.
50169 * app/core/gimpimage.c: use gimp_image_update() instead of
50170 gdisplays_update_full().
50172 * app/gui/color-area.c
50173 * app/gui/colormap-dialog.c
50174 * app/gui/dialogs-constructors.c
50175 * app/gui/edit-commands.c
50176 * app/gui/image-commands.c
50177 * app/gui/toolbox.c: changed accordingly (don't use Gtk methods on
50180 * app/gui/menus.c: fix some const warnings by explicit casting.
50182 * app/tools/*.[ch]: ported all tools to GObject, some minor
50183 cleanup while i was on it.
50185 * app/widgets/gimpdialogfactory.[ch]: ported to GObject.
50187 * app/widgets/gimplayerlistview.h: added FOO_GET_CLASS() macro.
50189 * tools/pdbgen/app.pl: added a "widgets_eek" hack like "tools_eek"
50190 which inserts #include "widgets/widgets-types.h" before ordinary
50193 * tools/pdbgen/pdb/brush_select.pdb
50194 * tools/pdbgen/pdb/edit.pdb
50195 * app/pdb/brush_select_cmds.c
50196 * app/pdb/edit_cmds.c: changed according to the stuff above.
50198 2001-08-14 Sven Neumann <sven@gimp.org>
50200 * app/tools/gimptexttool.c: take image resolution and choosen unit
50201 into account for font and border size.
50203 * app/widgets/gimpfontselection-dialog.[ch]
50204 * app/widgets/gimpfontselection.[ch]
50205 * app/widgets/widgets-types.h: added an indicator for font validity.
50206 Added a font preview to the font selection dialog.
50208 * libgimpwidgets/gimpfileselection.c: return FALSE from
50209 gimp_file_selection_entry_focus_out_callback() since we do not want
50210 to stop signal emission.
50212 2001-08-12 Michael Natterer <mitch@gimp.org>
50214 Switched to GObject reference counting:
50216 * app/core/gimpcontainer.c: only ref(), not ref()/sink() children
50217 of strong containers. Reordered gimp_container_remove() so we
50218 don't need to ref the object while removing it.
50220 * app/core/gimpcontext.c: misc fixes. Needs to be badly tortured...
50226 * app/core/gimpbrush.c
50227 * app/core/gimpbrushpipe.c
50228 * app/core/gimpdatafactory.c
50229 * app/core/gimpdocuments.c
50230 * app/core/gimpgradient.c
50231 * app/core/gimpimage.c
50232 * app/core/gimplayer.c
50233 * app/core/gimplist.c
50234 * app/core/gimpobject.c
50235 * app/core/gimpparasite.c
50236 * app/core/gimppattern.c
50237 * app/core/gimpundostack.c
50238 * app/gui/dialogs.c
50239 * app/tools/gimpbezierselecttool.c
50240 * app/tools/gimpfuzzyselecttool.c: changed accordingly: don't
50241 ref()/sink() any more, unref all (??) objects after adding them to
50242 strong containers, misc. minor fixes.
50244 * app/gui/dialogs-constructors.c
50245 * app/widgets/gimpwidgets.c: use g_object_add_weak_pointer()
50246 instead of simply crashing because g_object_weak_ref() was used
50247 with gtk_widget_destroyed, brrr.
50249 * app/widgets/gimpdnd.c: removed unneeded g_return_if_fail()'s.
50251 2001-08-12 Sven Neumann <sven@gimp.org>
50253 * TODO.xml: fixed an error, updated some numbers and added new items.
50255 2001-08-11 Sven Neumann <sven@gimp.org>
50257 * app/tools/gimptexttool.c: return the created layer.
50259 * app/pdb/text_tool_cmds.c
50260 * libgimp/gimptexttool_pdb.c
50261 * tools/pdbgen/pdb/text_tool.pdb: hacked a bit so scripts using the
50262 text_*_fontname procedures work again with the new text tool.
50263 The fontname is however no longer a X Logical Font Description, but
50264 the much simpler scheme that Pango understands:
50265 "[FAMILY-LIST] [STYLE-OPTIONS]". Interactive font selection is still
50266 broken. The variants of the text PDB calls that pass the XLFD fields
50267 directly should also work since the PDB now translates this to a
50268 Pango-conform fontname. Later this API will die, but for the moment,
50269 some backward compatibility can't hurt...
50271 2001-08-11 Michael Natterer <mitch@gimp.org>
50273 * app/core/gimp.c: split "destroy" up in "dispose" and "finalize".
50275 * app/core/gimpcontext.c: objects need to be passed around with
50276 g_param_spec_object() or bad things will happen.
50278 * app/gui/channels-commands.c
50279 * app/gui/edit-commands.c
50280 * app/gui/file-commands.c
50282 * app/gui/layers-commands.c
50283 * app/gui/resize-dialog.c
50284 * app/gui/select-commands.c
50285 * app/tools/gimpclonetool.c
50286 * app/widgets/gimpdatafactoryview.c
50287 * app/widgets/gimppreview.c: removed many connections to
50288 "destroy": Connect to "disconnect" or use g_object_weak_ref()
50291 2001-08-11 Michael Natterer <mitch@gimp.org>
50293 * configure.in: fsck^^^ -- lovely autofoo wants "changequote([,])dnl"
50295 * app/core/gimpcontext.[ch]: lots of GObject porting.
50297 * app/core/gimpobject.[ch]: added a "disconnect" signal, which
50298 like gtk's "destroy" is emitted in dispose(). This is ugly but
50299 I don't see another "clean" way to implement weak containers.
50301 * app/core/gimpcontainer.c: connect to the "disconnect" signal of
50302 the children of weak containes.
50304 * app/core/gimpimage.[ch]: replaced the "destroy" implementation
50305 with "dispose" + "finalize". Removed gimage->undo_history.
50308 * app/gui/dialogs-constructors.c
50309 * app/gui/tools-commands.c
50310 * app/tools/tool_manager.c
50311 * app/widgets/gimpimagedock.c: changed accordingly.
50313 2001-08-11 Sven Neumann <sven@gimp.org>
50315 * app/tools/gimptexttool.c: made border work and fixed render offsets.
50317 2001-08-11 Sven Neumann <sven@gimp.org>
50319 * app/tools/gimptexttool.c: allow to specify size and border.
50321 * app/widgets/gimpfontselection.c: use GTK_STOCK_SELECT_FONT icon.
50323 2001-08-11 Sven Neumann <sven@gimp.org>
50325 * configure.in: added dependency on PangoFT2 (Pango compiled with
50326 FreeType2 support).
50328 * app/Makefile.am: link against PangoFT2.
50330 * app/tools/Makefile.am
50331 * app/tools/gimptexttool.[ch]: rudimentary new text tool. Still needs
50334 * app/widgets/Makefile.am
50335 * app/widgets/widgets-types.h:
50336 * app/widgets/gimpfontselection-dialog.[ch]
50337 * app/widgets/gimpfontselection.[ch]: added font selection widgets.
50339 * libgimpwidgets/Makefile.am
50340 * libgimpwidgets/gimpwidgetstypes.h
50341 * libgimpwidgets/gimpfontselection.[ch]: removed font selection code
50342 from here since the fonts need to be selected from the core's
50343 PangoContext. Will add PDB-controlled font selection later.
50345 2001-08-11 Michael Natterer <mitch@gimp.org>
50347 * TODO.xml: added a TODO entry about additional image/file info.
50349 * app/file-save.c: #include "core/gimpdocuments.h"
50351 * app/core/gimpcontainer.[ch]: made virtual functions out of some
50354 * app/core/*.[ch]: more GObject stuff: ported all
50355 gimp_foo_get_type() functions and replaced almost all "destroy"
50356 implementations with either "finalize" or "dispose" functions.
50358 2001-08-11 Seth Burgess <sjburges@gimp.org>
50360 * plug-ins/common/colortoalpha.c: set nparams != 4 for
50361 non-interactive execution. Thanks to alex@foogod.com for
50364 2001-08-11 Michael Natterer <mitch@gimp.org>
50366 * app/core/Makefile.am
50367 * app/core/gimpdocuments.[ch]: new file implementing the
50368 docindex.* replacement.
50370 * app/gimprc.c: added TT_XDOCUMENT to parse the new document
50374 * app/gui/file-open-dialog.c: add opened & saved images to the
50377 * app/core/gimp.c: call gimp_documents_init/exit() instead of
50380 * app/core/gimpimagefile.[ch]: removed the "filename" attribute
50381 and use GimpObject's "name" instead.
50383 * app/gui/dialogs-constructors.[ch]
50384 * app/gui/dialogs.c
50385 * app/gui/menus.c: added a menu entry/dockable for the document
50388 * app/widgets/gimpdnd.[ch]: make it DND-able.
50390 * app/widgets/gimppreview.c: fix preview rendering correctly this
50393 2001-08-10 Sven Neumann <sven@gimp.org>
50395 * libgimpwidgets/Makefile.am
50396 * libgimpwidgets/gimpwidgetstypes.h
50397 * libgimpwidgets/gimpfontselection.[ch]: added a rudimentary font
50398 selection widget, mostly copied from GtkFontSelection.
50400 * libgimpwidgets/gimpfileselection.c: more GObject porting.
50402 2001-08-10 Michael Natterer <mitch@gimp.org>
50404 * app/nav_window.c: fix compiler warning.
50406 * app/core/gimp.[ch]: added gimp->documents which will be an MRU
50407 list of GimpImagefile objects.
50409 * app/core/gimpcontainer.c: added some g_return_if_fail().
50411 * app/gui/palette-editor.c: use GtkImage instead of GtkPixmap,
50412 s/gtk_signal_*/g_signal_*/.
50414 * app/widgets/gimppreview.c: render the checkerboard only for
50415 channel == -1. In particular, don't render it for channel
50420 * app/gui/colormap-dialog.c
50421 * app/tools/gimpairbrushtool.c
50422 * app/tools/gimpdodgeburntool.c
50423 * app/tools/gimpeditselectiontool.c
50424 * app/tools/gimperasertool.c
50425 * app/tools/gimppaintbrushtool.c
50426 * app/tools/gimppenciltool.c
50427 * app/tools/gimpsmudgetool.c
50428 * app/tools/tool_manager.c
50430 * libgimpwidgets/*.c: s/gtk_type_new/g_object_new/
50432 2001-08-09 Michael Natterer <mitch@gimp.org>
50434 * app/appenums.h: removed GIMP_ZOOM_TYPE,
50436 * app/widgets/widgets-types.h: added it here.
50438 * app/disp_callbacks.c
50439 * app/widgets/gimpnavigationpreview.[ch]
50440 * app/gui/gradient-editor.c: removed old cruft which expects wheel
50441 events as button_4 and button_5 and connect to GdkEventScroll
50444 * app/nav_window.c: connect to GimpNavigationPreview's new
50445 "scroll" and "zoom" signals.
50447 * app/gui/error-console-dialog.c: remove wheel scrol stuff (done
50448 by GtkScrolledWindow now).
50450 * app/gui/color-notebook.c
50451 * app/gui/gradient-editor.c: removed GtkPixmap stuff and use
50452 GtkImage instead. Looks a bit ugly in the color_notebook (seems
50453 we need more icon sizes).
50455 * app/gui/indicator-area.c: GObject porting.
50457 * app/gui/menus.c_ some more menu icons.
50459 * app/gui/toolbox.c: pass a GimpContext around as callback data
50460 and use context->gimp instead of accessing the global "the_gimp"
50463 2001-08-09 Sven Neumann <sven@gimp.org>
50465 * app/core/Makefile.am
50466 * app/core/core-types.h
50467 * app/core/gimpimagefile.[ch]: added first draft of a GimpImagefile
50468 object that will handle image files on disk, in particular their
50471 2001-08-07 Michael Natterer <mitch@gimp.org>
50473 * app/disp_callbacks.c: removed a gdk_pointer_ungrab(), it was
50474 only there because of buggy gtk+ 1.2.x. Cosmetic changes.
50476 * app/undo.c: use G_N_ELEMENTS() instead of
50477 sizeof(array)/sizeof(element).
50479 * app/gui/menus.c: more stock icons, moved the item_factory
50480 creation into the menus_get_foo_factory() functions, use
50481 G_N_ELEMENTS(). This file badly needs to be spit up...
50483 * app/core/gimpviewable.[ch]
50484 * app/widgets/gimpcontainermenu.[ch]
50485 * app/widgets/gimpcontainerview.[ch]
50486 * app/widgets/gimplistitem.[ch]
50487 * app/widgets/gimpmenuitem.[ch]
50488 * app/widgets/gimppreview.[ch]: replaced tons of signal emissions
50489 by virtual functions which are *much* faster. Moreover, all of
50490 them are private implementation bits of the specific class
50491 hierarchy and are useless or even dangerous to be exposed as
50494 * app/widgets/gimpdrawablelistitem.c: removed the drag_motion()
50495 implementation as it's already done in the parent class.
50497 * app/widgets/gimplistitem.[ch]
50498 * app/widgets/gimplayerlistitem.c: redraw the widget when the
50499 drop_type has changed. Fixes drop_indicator drawing.
50501 2001-08-07 Michael Natterer <mitch@gimp.org>
50503 * libgimpwidgets/gimpbutton.[ch]: cleanup.
50506 * app/errorconsole.[ch]: removed...
50508 * app/gui/Makefile.am
50509 * app/gui/error-console-dialog.[ch]: ...added here. Lots of cleanup,
50510 create a vbox instead of a dialog.
50512 * app/gui/dialogs-constructors.c
50513 * app/gui/dialogs.c: added a dockable for the error console.
50517 * app/gui/menus.c: changed accordingly.
50519 * app/widgets/gimpcontainerview.c: conntect "extended_clicked" to
50520 the "extended_clicked" callback, not "clicked".
50522 * app/widgets/gimplayerlistview.c: set the layer option box'
50523 spacing in "style_set".
50525 * app/widgets/gimplistitem.c: argh.
50527 * themes/Default/gtkrc: changed the default theme to set a smaller
50528 font only for the dockable because that's where saving screen
50529 estate really makes sense. May need some further tweaking.
50531 2001-08-06 Daniel Egger <egger@suse.de>
50533 * autogen.sh: Fix error message to reflect that one needs
50534 gettext 0.10.38 to compile GIMP.
50536 2001-08-06 Michael Natterer <mitch@gimp.org>
50539 * themes/Default/images/Makefile.am
50540 * themes/Default/images/tools/Makefile.am: some new Makefiles to
50541 make it installable.
50544 * gtkrc: removed...
50546 * themes/Default/Makefile.am
50547 * themes/Default/gtkrc: ...added here.
50549 * themes/Default/imagerc: new file (not used, just for
50550 documentation) which loads the default theme's images in the same
50551 way the inlined pixbufs are registered with the stock system.
50557 * app/gimprc.[ch]: added "theme-path" and "theme" gimprc variables.
50559 * app/app_procs.c: prase gimprc before initializing the GUI.
50561 * app/core/gimpdatafiles.[ch]: added support for getting only
50562 subdirectories in the callback.
50564 * libgimpbase/gimpenv.c: as a temp_hack gimp_gtkrc(); returns the
50565 default theme's gtkrc.
50567 * app/gui/gui.c: build a hash of theme directories and select
50568 the one configured in gimprc.theme. Use gimp_gtkrc()'s default
50569 value if there is no theme installed or configured.
50571 * app/gui/preferences-dialog.c: Added theme_path to the GUI. No
50572 stuff for selection the theme yet.
50574 * app/gui/menus.c: beautify <Image>/Tools/
50576 * app/tools/gimpcroptool.c: register in <Image>/Tools/Transform Tools/
50578 2001-08-05 Michael Natterer <mitch@gimp.org>
50582 * themes/.cvsignore
50583 * themes/Makefile.am
50584 * themes/Default/.cvsignore
50585 * themes/Default/Makefile.am
50586 * themes/Default/images/.cvsignore
50587 * themes/Default/images/*.png
50588 * themes/Default/images/tools/.cvsignore
50589 * themes/Default/images/tools/*.png: new place for all images
50590 which are registered with the stock system. The default images are
50591 all inlined but we will install the default theme later along with
50592 an appropriate gtkrc as a template for custom themes.
50594 Added PNGs of all tools icons. Thanks to syngin :)
50596 * pixmaps/.cvsignore
50597 * pixmaps/Makefile.am: reverted everything to the old state. This
50598 directory will go away soon.
50600 * libgimpwidgets/gimpstock.[ch]: changed accordingly. Register
50601 stock icons in GTK_ICON_SIZE_BUTTON for all tools.
50603 * app/core/gimptoolinfo.[ch]
50604 * app/tools/tool_manager.[ch]: GimpToolInfo wants a stock_id and a
50605 pre-rendered GdkPixbuf instead of ugly icon_data now. Added some
50606 workarounds until GimpPreview is a GtkImage and uses GdkPixbuf
50607 instead of TempBuf.
50609 * app/tools/Makefile.am
50610 * app/tools/icons.h: die, uglyness, die.
50612 * app/tools/[all tools].c: register with a stock_id, not a
50615 * app/gui/dialogs-constructors.c: Oops, GIMP badly crashed on
50616 changing the image for the past few days :)
50618 * app/gui/menus.c: create the tools' menu entries with stock
50621 * app/gui/toolbox.c: use GtkImages instead of GimpPreviews for
50622 the toolbox buttons. Will need to change this back as soon
50623 as GimpPreview actually _is_ a GtkImage.
50625 2001-08-05 Michael Natterer <mitch@gimp.org>
50627 * libgimpwidgets/gimpstock.[ch]: register the button icons with
50628 GTK_ICON_SIZE_BUTTON, but set them as scalable fallbacks for
50629 themselves so they get scaled for menus.
50631 * app/gui/menus.c: set stock icons for much more menu entries.
50633 * app/widgets/gimpwidgets-utils.[ch]: new utility function
50634 gimp_item_factory_popup_with_data().
50636 * app/disp_callbacks.[ch]
50637 * app/gui/brushes-commands.c
50638 * app/gui/channels-commands.c
50639 * app/gui/gradients-commands.c
50640 * app/gui/layers-commands.c
50641 * app/gui/palettes-commands.c
50642 * app/gui/paths-dialog.c
50643 * app/gui/patterns-commands.c: use the new function.
50645 * app/tools/gimpcolorbalancetool.c
50646 * app/tools/gimpcurvestool.c
50647 * app/tools/gimphuesaturationtool.c
50648 * app/tools/gimplevelstool.c
50649 * app/tools/gimpposterizetool.c: s/_("Reset")/GIMP_STOCK_RESET/
50651 * app/widgets/gimpcontainereditor.[ch]
50652 * app/widgets/gimpcontainerview.[ch]: moved the button_box utility
50653 functions from the container editor to GimpContainerView itself.
50655 * app/widgets/gimpbufferview.c
50656 * app/widgets/gimpchannellistview.c
50657 * app/widgets/gimpcomponentlistitem.c
50658 * app/widgets/gimpcontainergridview.[ch]
50659 * app/widgets/gimpdatafactoryview.c
50660 * app/widgets/gimpdrawablelistitem.c
50661 * app/widgets/gimpdrawablelistview.[ch]
50662 * app/widgets/gimplayerlistitem.c
50663 * app/widgets/gimplayerlistview.c: changed accordingly. Removed
50664 lots of duplicated code and use stock images instead of pixmaps.
50666 * libgimpwidgets/gimpfileselection.[ch]
50667 * libgimpwidgets/gimppatheditor.c: use stock images instead of
50670 * pixmaps/Makefile.am: removed "yes" and "no", added "stroke".
50672 * pixmaps/anchor.xpm
50673 * pixmaps/delete.xpm
50674 * pixmaps/lower.xpm
50676 * pixmaps/paste-as-new.xpm
50677 * pixmaps/paste-into.xpm
50678 * pixmaps/paste.xpm
50679 * pixmaps/raise.xpm
50680 * pixmaps/refresh.xpm
50681 * pixmaps/toselection.xpm: made them all 16x16 so they are scaled
50682 nicely in menus. Should probably be 18x18.
50684 2001-08-04 Michael Natterer <mitch@gimp.org>
50686 * Makefile.am: build pixmaps/ before libgimpwidgets/.
50688 * pixmaps/.cvsignore
50689 * pixmaps/Makefile.am: build gimp-stock-pixbufs.h using
50690 gdk-pixbuf-csource from some of our XPMs.
50692 * libgimpwidgets/Makefile.am
50693 * libgimpwidgets/gimpwidgets.h
50694 * libgimpwidgets/gimpstock.[ch]: new files featuring
50695 gimp_stock_init(). Register a default GtkIconFactory and a set of
50698 * app/gui/gui.[ch]: new function gui_libs_init(). Call
50699 gimp_stock_init() from it.
50701 * app/app_procs.c: call new function gui_libs_init().
50703 * libgimp/gimpui.c: call gimp_stock_init().
50705 * app/devices.c: removed action_area hacks as we can configure it
50706 via style properties now.
50708 * app/gui/menus.c: use <StockItem> for some menu entries.
50711 * app/widgets/gimpcontainereditor.[ch]: take a "stock_id"
50712 parameter in gimp_container_editor_add_button(), not a EEKy
50715 * app/widgets/gimpbufferview.c
50716 * app/widgets/gimpdatafactoryview.c: changed accordingly.
50718 * app/widgets/gimpchannellistview.c
50719 * app/widgets/gimpdrawablelistview.c: removed ugly tooltips
50720 formating hacks since gtk2 does it right now.
50722 * app/widgets/gimpdockbook.c: re-enabled a line that was commented
50723 out for some reason...?
50725 * app/errorconsole.c
50726 * app/gui/file-new-dialog.c
50727 * app/gui/tool-options-dialog.c
50728 * plug-ins/common/uniteditor.c: use the new GIMP_STOCK_FOO id's.
50730 * libgimpwidgets/gimpquerybox.c: fixed auto-hiding by connection
50731 to a passed object's signal.
50733 2001-08-03 Michael Natterer <mitch@gimp.org>
50735 * gtkrc: set style properties for dockables.
50737 * app/main.c: some #if 0'ed code for mem profiling.
50739 * app/gui/commands.[ch]
50740 * app/gui/menus.c: added a mem profiling menu entry + callback.
50742 * app/gui/palette-editor.c: added a #warning as reminder, use
50743 gtk_dialog_set_has_separator().
50745 * app/widgets/gimpcontainereditor.[ch]
50746 * app/widgets/gimpcontainerview.[ch]
50747 * app/widgets/gimpdockable.[ch]
50748 * app/widgets/gimpdrawablelistview.[ch]: added some style
50749 properties to set GimpDockable and friends' borders and spacings.
50751 * libgimpwidgets/gimppixmap.[ch]
50752 * libgimpwidgets/gimpsizeentry.[ch]
50753 * libgimpwidgets/gimpunitmenu.[ch]: GObject stuff, cleanup.
50756 * app/errorconsole.c
50757 * app/gdisplay_color_ui.c
50758 * app/gimpprogress.c
50760 * app/undo_history.c
50761 * app/user_install.c
50762 * app/gui/channels-commands.c
50763 * app/gui/gradient-editor.c
50764 * app/gui/info-window.c
50765 * app/gui/tips-dialog.c
50766 * app/tools/gimpbrightnesscontrasttool.c
50767 * app/tools/gimpbycolorselecttool.c
50768 * app/tools/gimpcolorbalancetool.c
50769 * app/tools/gimpcolorpickertool.c
50770 * app/tools/gimpcroptool.c
50771 * app/tools/gimpcurvestool.c
50772 * app/tools/gimphistogramtool.c
50773 * app/tools/gimphuesaturationtool.c
50774 * app/tools/gimplevelstool.c
50775 * app/tools/gimpmeasuretool.c
50776 * app/tools/gimpposterizetool.c
50777 * app/tools/gimpthresholdtool.c
50778 * app/widgets/gimpdatafactoryview.c
50779 * libgimp/gimpexport.c
50780 * modules/cdisplay_gamma.c
50781 * modules/cdisplay_highcontrast.c
50782 * plug-ins/[lots of files]:
50784 Some perl mass processing applying s/_("Foo")/GTK_STOCK_FOO/g,
50785 minor manual cleanup in some files.
50787 2001-08-02 Michael Natterer <mitch@gimp.org>
50789 * app/tools/gimptexttool.c:
50790 s/#ifndef GDK_WINDOWING_WIN32/#ifdef GDK_WINDOWING_X11/
50792 2001-08-02 Sven Neumann <sven@gimp.org>
50794 * plug-ins/common/tga.c: merged fix for small TGA2 files by
50795 Nick Lamb <njl195@zepler.org.uk> from the stable branch.
50797 2001-08-01 Sven Neumann <sven@gimp.org>
50800 * app/gdisplay_color_ui.c
50801 * app/gimpprogress.c
50805 * app/undo_history.c
50806 * app/user_install.c
50807 * app/gui/resolution-calibrate-dialog.[ch]: converted uses of
50808 gtk_signal_* to g_signal_*.
50810 Changed expose_event handlers that used to be connected using
50811 signal_connect_after to call the default handler, do the additional
50812 drawing, then stop the signal emission by returning TRUE.
50814 2001-08-01 Sven Neumann <sven@gimp.org>
50816 * app/tools/gimpairbrushtool.c
50817 * app/tools/gimpblendtool.c
50818 * app/tools/gimpbrightnesscontrasttool.c
50819 * app/tools/gimpbucketfilltool.c
50820 * app/tools/gimpcolorpickertool.c
50821 * app/tools/gimpconvolvetool.c
50822 * app/tools/gimpcroptool.c
50823 * app/tools/gimperasertool.c
50824 * app/tools/gimphistogramtool.c
50825 * app/tools/gimphuesaturationtool.c
50826 * app/tools/gimplevelstool.c
50827 * app/tools/gimpmagnifytool.c
50828 * app/tools/gimpposterizetool.c
50829 * app/tools/gimprotatetool.c
50830 * app/tools/gimpscaletool.c
50831 * app/tools/gimpsmudgetool.c
50832 * app/tools/gimptexttool.c
50833 * app/tools/gimpthresholdtool.c
50834 * app/tools/gimptransformtool.c
50835 * app/tools/paint_options.c
50836 * app/tools/selection_options.c
50837 * app/tools/transform_options.c: got rid of all remaining gtk_signal
50838 wrappers in the tools directory.
50840 2001-08-01 Sven Neumann <sven@gimp.org>
50842 * app/core/core-types.h: defined GimpTransferMode enum.
50844 * app/tools/gimpcolorbalancetool.[ch]
50845 * app/tools/gimpdodgeburntool.[ch]: use it here instead of defining
50846 the same enum again. Some GObject porting.
50848 * app/tools/gimpsmudgetool.h: removed unused enum SmudgeMode.
50850 * app/pdb/color_cmds.c
50851 * app/pdb/tools_cmds.c
50852 * libgimp/gimpenums.h
50853 * libgimp/gimptools_pdb.[ch]
50854 * plug-ins/script-fu/script-fu-constants.c
50855 * tools/pdbgen/Makefile.am
50856 * tools/pdbgen/enums.pl
50857 * tools/pdbgen/pdb/color.pdb
50858 * tools/pdbgen/pdb/tools.pdb: changed accordingly (mostly generated)
50860 2001-08-01 Sven Neumann <sven@gimp.org>
50862 * configure.in: added GTK_DISABLE_COMPAT_H back to CPPFLAGS.
50864 * app/user_install.c
50866 * app/gui/info-window.c
50868 * app/gui/preferences-dialog.c
50869 * app/pdb/procedural_db_cmds.c
50870 * app/tools/gimpcurvestool.c
50871 * app/tools/gimptexttool.c
50872 * app/tools/gimptransformtool.c
50873 * app/widgets/gimpdialogfactory.c
50874 * app/widgets/gimpdockbook.c
50875 * app/widgets/gimpdrawablelistview.c
50876 * app/widgets/gimpnavigationpreview.c
50877 * libgimpbase/gimpparasiteio.c
50878 * libgimpwidgets/gimpwidgets.c
50879 * plug-ins/FractalExplorer/Dialogs.c
50880 * plug-ins/common/animationplay.c
50881 * plug-ins/common/newsprint.c
50882 * plug-ins/common/uniteditor.c
50883 * plug-ins/dbbrowser/dbbrowser_utils.c
50884 * plug-ins/gap/gap_navigator_dialog.c
50885 * plug-ins/gdyntext/gdyntext_ui.c
50886 * plug-ins/helpbrowser/helpbrowser.c
50887 * plug-ins/ifscompose/ifscompose_storage.c
50888 * plug-ins/print/gimp_main_window.c
50889 * tools/gimp-remote.c
50890 * tools/pdbgen/pdb/procedural_db.pdb: replaced lots of deprecated
50891 glib, gdk and gtk+ functions using the new API.
50893 * app/paint-funcs/paint-funcs-rgb.c: removed trailing commas.
50895 2001-08-01 Michael Natterer <mitch@gimp.org>
50897 * app/base/base.c: g_strdup (g_get_temp_dir ()), may fix an unseen
50900 * libgimpwidgets/gimphelpui.[ch]: fixed the help stuff by using
50901 GtkWidget's new "show_help" signal, which is exactly what we did
50902 before, only without badly hacking around.
50903 Renamed gimp_help_connect_help_accel() to gimp_help_connect()
50904 because that's what it does.
50907 * app/errorconsole.c
50909 * app/gui/about-dialog.c
50910 * app/gui/edit-commands.c
50911 * app/gui/file-commands.c
50912 * app/gui/file-new-dialog.c
50913 * app/gui/file-open-dialog.c
50914 * app/gui/file-save-dialog.c
50915 * app/gui/gradients-commands.c
50917 * app/gui/info-dialog.c
50918 * app/gui/palettes-commands.c
50919 * app/gui/paths-dialog.c
50920 * app/gui/select-commands.c
50921 * app/gui/tips-dialog.c
50922 * app/gui/toolbox.c
50923 * app/tools/gimpcurvestool.c
50924 * app/tools/gimplevelstool.c
50925 * app/widgets/gimpdatafactoryview.c
50926 * libgimpwidgets/gimpdialog.c
50927 * plug-ins/FractalExplorer/FractalExplorer.c
50928 * plug-ins/common/CEL.c
50929 * plug-ins/common/CML_explorer.c
50930 * plug-ins/common/gee.c
50931 * plug-ins/common/gee_zoom.c
50932 * plug-ins/common/gqbist.c
50933 * plug-ins/flame/flame.c
50934 * plug-ins/fp/fp_gtk.c
50935 * plug-ins/script-fu/script-fu-scripts.c: changed accordingly,
50936 GObject stuff, sprinkled some GTK_STOCK_FOOs, minor cleanups.
50938 2001-07-31 Michael Natterer <mitch@gimp.org>
50940 * gtkrc: eek, my last change changed the width of all GtkRange
50941 subclasses, not only GtkScale, fixed now.
50943 * app/devices.c: use GTK_STOCK_FOO button texts.
50946 * app/qmask.[ch]: renamed all qmask callbacks to *_callback().
50948 * app/gui/tool-options-dialog.c: GObject stuff, use
50949 gtk_dialog_set_has_separator() instead of poking around.
50951 * app/widgets/gimpcolorpanel.c: set panel->color_notebook to NULL
50954 * app/widgets/gimpnavigationpreview.c: return TRUE from the
50955 "expose_event" handler.
50957 * app/widgets/gimppreview.c: tiny optimizatin.
50959 2001-07-31 Sven Neumann <sven@gimp.org>
50961 * libgimpwidgets/gimpfileselection.c
50962 * libgimpwidgets/gimppixmap.c: replaced deprecated GDK calls
50964 * modules/colorsel_gtk.c
50965 * modules/colorsel_triangle.c
50966 * modules/colorsel_water.c: GObject porting.
50968 2001-07-31 Sven Neumann <sven@gimp.org>
50970 * libgimp/gimpbrushmenu.c
50971 * libgimp/gimpexport.c
50972 * libgimp/gimpgradientmenu.c
50973 * libgimp/gimpmenu.c
50974 * libgimp/gimppatternmenu.c: GObject porting.
50976 2001-07-31 Sven Neumann <sven@gimp.org>
50978 * app/core/core-types.h: removed g_signal_handlers_disconnect_by_data
50979 again. As Owen pointed out, it's generally a bad idea to use it since
50980 you can't be absolutely sure that no one else has a pointer to the
50981 data you are disconnecting.
50983 * app/gdisplay.c: added the macro here temporarily.
50986 * app/undo_history.c
50987 * app/gui/brush-editor.c
50988 * app/gui/brush-select.c
50989 * app/gui/gradient-select.c
50990 * app/gui/pattern-select.c: use g_signal_handlers_disconnect_by_func.
50992 * libgimpwidgets/gimpbutton.c
50993 * libgimpwidgets/gimpchainbutton.c
50994 * libgimpwidgets/gimpcolorarea.c
50995 * libgimpwidgets/gimpcolorbutton.c
50996 * libgimpwidgets/gimpfileselection.c
50997 * libgimpwidgets/gimphelpui.c
50998 * libgimpwidgets/gimpoffsetarea.c
50999 * libgimpwidgets/gimppatheditor.c
51000 * libgimpwidgets/gimpsizeentry.c
51001 * libgimpwidgets/gimpunitmenu.c
51002 * libgimpwidgets/gimpwidgets.c: GObject porting.
51004 2001-07-30 Michael Natterer <mitch@gimp.org>
51006 * gtkrc: set the width of the scrollbar slider to the same value
51007 as our default font size so the sliders are nicely aligned with
51008 their descriptive labels.
51010 * libgimpwidgets/gimpdialog.[ch]
51011 * libgimpwidgets/gimpquerybox.[ch]: use GLib-isms and create the
51012 dialogs' action_area buttons with gtk_dialog_add_button() so we
51013 can use the GTK_STOCK_FOO buttons and plug in our own icon factory
51016 * app/qmask.[ch]: fixed the qmask buttons by applying proper
51017 GdkEvent callback conventions.
51019 * libgimpwidgets/gimpcolorbutton.c: NULLify all pointers in
51022 * app/gdisplay_ops.c
51025 * app/gui/brush-editor.c
51026 * app/gui/color-notebook.c
51027 * app/gui/convert-dialog.c
51028 * app/gui/dialogs-constructors.c
51029 * app/gui/file-commands.c
51030 * app/gui/file-new-dialog.c
51031 * app/gui/file-save-dialog.c
51032 * app/gui/gradient-editor.c
51034 * app/gui/image-commands.c
51035 * app/gui/layers-commands.c
51036 * app/gui/offset-dialog.c
51037 * app/gui/palette-editor.c
51038 * app/gui/palette-import-dialog.c
51039 * app/gui/preferences-dialog.c
51040 * app/gui/resize-dialog.c
51041 * app/gui/resolution-calibrate-dialog.c
51042 * app/gui/tool-options-dialog.c
51043 * app/widgets/gimpwidgets-utils.c
51044 * libgimpwidgets/gimpunitmenu.c: g_signal_* and GObject stuff,
51045 use lots of GTK_STOCK_OK and friends instead of _("OK") etc.,
51046 misc minor cleanups.
51048 2001-07-30 Sven Neumann <sven@gimp.org>
51051 * autogen.sh: require gettext version 0.38.
51053 * configure.in: removed some ugly sed hacks that are not any longer
51054 needed with recent versions of gettext.
51056 2001-07-29 Michael Natterer <mitch@gimp.org>
51058 * app/gimphelp.c: code formating paranoia.
51060 * app/core/gimp.c: one more g_signal_connect().
51062 * app/tools/gimpmeasuretool.c: a gtk_widget_show() was optimized
51065 * plug-ins/Makefile.am: re-enabled script-fu and dbbrowser.
51067 * plug-ins/dbbrowser/dbbrowser_utils.[ch]
51068 * plug-ins/script-fu/script-fu-console.[ch]
51069 * plug-ins/script-fu/script-fu-scripts.c
51070 * plug-ins/script-fu/script-fu-text-console.[ch]
51071 * plug-ins/script-fu/script-fu.c: use GtkTextBuffer/GtkTextView
51072 all over the place. GUI code cleanup in the dbbrowser and
51073 the script-fu console.
51075 2001-07-29 Sven Neumann <sven@gimp.org>
51078 * app/disp_callbacks.c
51079 * app/docindex.[ch]
51082 * app/gimpprogress.[ch]
51085 * app/gui/gradient-editor.c
51086 * app/gui/menus.[ch]: more GObject and const changes.
51088 2001-07-29 Hans Breuer <hans@breuer.org>
51090 * plug-ins/common/animationplay.c : REVERTED for all platforms
51091 which do install headers 'reflect that GTK2 has its
51092 gdk<x|win32|fb>.h files in the back-end sub directories'
51093 only the win32 headers aren't installed ...
51095 2001-07-29 Sven Neumann <sven@gimp.org>
51100 * gimp-1.4.m4: updated pkg-config location and various other tweaks.
51102 2001-07-29 Sven Neumann <sven@gimp.org>
51104 * plug-ins/FractalExplorer/Dialogs.c
51105 * plug-ins/Lighting/lighting_ui.c
51106 * plug-ins/MapObject/mapobject_ui.c
51107 * plug-ins/fits/fits.c
51108 * plug-ins/flame/flame.c
51109 * plug-ins/ifscompose/ifscompose.c
51110 * plug-ins/maze/maze_face.c
51111 * plug-ins/mosaic/mosaic.c
51112 * plug-ins/rcm/rcm_dialog.c
51113 * plug-ins/sgi/sgi.c: removed compiler warnings by adding G_CALLBACK()
51114 casts and const declarations.
51116 2001-07-29 Sven Neumann <sven@gimp.org>
51118 * plug-ins/common/AlienMap.c
51119 * plug-ins/common/AlienMap2.c
51120 * plug-ins/common/CML_explorer.c
51121 * plug-ins/common/align_layers.c
51122 * plug-ins/common/blinds.c
51123 * plug-ins/common/borderaverage.c
51124 * plug-ins/common/bumpmap.c
51125 * plug-ins/common/curve_bend.c
51126 * plug-ins/common/deinterlace.c
51127 * plug-ins/common/emboss.c
51128 * plug-ins/common/film.c
51129 * plug-ins/common/fractaltrace.c
51130 * plug-ins/common/gif.c
51131 * plug-ins/common/gih.c
51132 * plug-ins/common/hot.c
51133 * plug-ins/common/iwarp.c
51134 * plug-ins/common/jigsaw.c
51135 * plug-ins/common/jpeg.c
51136 * plug-ins/common/lic.c
51137 * plug-ins/common/mail.c
51138 * plug-ins/common/max_rgb.c
51139 * plug-ins/common/mblur.c
51140 * plug-ins/common/newsprint.c
51141 * plug-ins/common/nlfilt.c
51142 * plug-ins/common/papertile.c
51143 * plug-ins/common/pnm.c
51144 * plug-ins/common/ps.c
51145 * plug-ins/common/psp.c
51146 * plug-ins/common/ripple.c
51147 * plug-ins/common/sample_colorize.c
51148 * plug-ins/common/screenshot.c
51149 * plug-ins/common/shift.c
51150 * plug-ins/common/sinus.c
51151 * plug-ins/common/sparkle.c
51152 * plug-ins/common/struc.c
51153 * plug-ins/common/sunras.c
51154 * plug-ins/common/tiff.c
51155 * plug-ins/common/waves.c
51156 * plug-ins/common/wind.c
51157 * plug-ins/common/xbm.c: got rid of lots of compiler warnings by
51158 adding G_CALLBACK() casts and some const declarations.
51160 2001-07-29 Sven Neumann <sven@gimp.org>
51163 * app/ops_buttons.[ch]: more GObject porting.
51165 2001-07-28 Hans Breuer <hans@breuer.org>
51167 * */*/makefile.msc : updated for GTK2 build
51169 * app/widgets/makefile.msc : (new file) forgot this one last time
51171 * plug-ins/common/animationplay.c : reflect that GTK2 has its
51172 gdk<x|win32|fb>.h files in the back-end sub directories
51174 * plug-ins/common/gif.c :
51175 * plug-ins/common/jpeg.c :
51176 * plug-ins/dbbrowser/dbbrowser_utils.c :
51177 * plug-ins/gap/gap_dbbrowser_utils.c :
51178 * plug-ims/gimpressionist/presets.c :
51179 * plug-ims/gimpressionist/imap_setting.c :
51180 * plug-ims/gimpressionist/imap_source.c :
51181 * plug-ims/script-fu/script-fu-console.c :
51182 * plug-ims/script-fu/script-fu-scripts.c : #define GTK_ENABLE_BROKEN
51183 and include <gtk/gtktext.h> to make them compile/work again
51185 * plug-ins/common/spheredesigner.c : gtk_color_selction_set_opacity
51186 renamed to gtk_color_selection_set_current_alpha
51188 * plug-ins/gflare/gtkmultioptionmenu.c : ported ny removing the
51189 virtual draw function and style->xthickness and ythickness via
51190 direct access, klass field isn't available anymore
51192 * plug-ins/common/nlfilt.c :
51193 * plug-ims/gap/gap_movdialog.c :
51194 * plug-ims/gimpressionist/gimpressionist.c :
51195 gtk_widget_set_default_visible is neither available nor needed anymore
51197 * plug-ins/common/plugindetails.c : ported to GtkTextBuffer
51198 and reflect gtk_paned api changes
51200 * plug-ims/gimpressionist/imap_preview.c : replace GTK_WIDGET(a)->klass
51201 access by GTK_WIDGET_GET_CLASS(a)
51203 * plug-ims/gimpressionist/imap_selection.c :
51204 * plug-ims/gimpressionist/imap_toolbar.c :
51205 * plug-ims/gimpressionist/imap_tools.c : gtk_toolbar api changes
51207 2001-07-27 Sven Neumann <sven@gimp.org>
51209 * app/core/core-types.h:
51210 defined convenience macro g_signal_handlers_disconnect_by_data().
51211 Will try to persuade Tim to accept it for GLib.
51214 * app/undo_history.c
51216 * app/core/gimpbrush.c
51217 * app/core/gimpbrushpipe.c
51218 * app/core/gimpcontainer.c
51219 * app/core/gimpcontext.c
51220 * app/core/gimpdatafactory.c
51221 * app/core/gimpparasite.c
51222 * app/gui/brush-editor.c
51223 * app/gui/brush-select.c
51224 * app/gui/dialogs.c
51225 * app/gui/file-open-dialog.c
51226 * app/gui/gradient-select.c
51227 * app/gui/gradients-commands.c
51229 * app/gui/pattern-select.c: GObject porting.
51230 Replaced all remainaing gtk_object_[unref|ref] calls by their
51231 g_object_ counterparts, except refs that are used with
51234 2001-07-27 Sven Neumann <sven@gimp.org>
51237 * app/gui/color-area.c
51238 * app/widgets/gimpbrushfactoryview.c
51239 * app/widgets/gimpbufferview.c
51240 * app/widgets/gimpchannellistview.c
51241 * app/widgets/gimpcontainerlistview.c
51242 * app/widgets/gimpdatafactoryview.c
51243 * app/widgets/gimpdialogfactory.c
51244 * app/widgets/gimpdock.c: more GObject porting
51246 2001-07-27 Michael Natterer <mitch@gimp.org>
51248 * app/errorconsole.c
51249 * app/user_install.c: use GtkTextView.
51251 * app/gui/preferences-dialog.c: use GtkTextView correctly :)
51253 * app/interface.c: a quick hack which enables setting the
51254 canvas padding color via gtkrc.
51258 * app/pdb/fileops_cmds.c
51259 * tools/pdbgen/pdb/fileops.pdb: s/g_basename/g_path_get_basename/
51261 * app/tools/gimpinktool.c
51262 * app/tools/gimppainttool.c: stupid /me disabled all paint tools
51263 by setting pressure to 0.0 instead of 1.0, fixed now.
51265 2001-07-27 Michael Natterer <mitch@gimp.org>
51267 * app/gui/indicator-area.c: create/raise the new dialogs, not the
51268 old ones when clicking on the previews.
51270 * app/gui/palette-editor.c: some debugging g_print()s to track
51271 down a funny GTK+ "lets trash const data" bug.
51273 * app/gui/preferences-dialog.c: replaced deprecated GtkText with
51274 GtkTextBuffer/GtkTextView.
51276 * app/widgets/gimpdockbook.c: when creating a new dock from a DND
51277 operation, set it's auto_follow_active and show_image_menu state
51278 to the source dock's values.
51280 2001-07-26 Sven Neumann <sven@gimp.org>
51282 * configure.in: check for X, respect X_LIBS when searching for libxpm.
51283 We can't rely on GTK_LIBS including the X_LIBS any longer.
51285 * app/errorconsole.[ch]: some const fixes.
51287 2001-07-25 Michael Natterer <mitch@gimp.org>
51290 * gtkrc_user: updated for gtk+ 2.0, added a "gimp-" prefix to
51291 all global GIMP styles.
51293 * app/app_procs.c: typo.
51295 * app/user_install.c
51296 * app/gui/resolution-calibrate-dialog.[ch]: use GtkRcStyle along
51297 with gtk_widget_get_modifier_style()/gtk_widget_modify_style() as
51298 recommended instead of messing with the widgets' styles directly.
51300 * app/core/gimpdatalist.[ch]
51301 * app/core/gimpparasitelist.[ch]
51302 * app/core/gimpundo.[ch]
51303 * app/core/gimpundostack.[ch]: GObject porting stuff.
51305 2001-07-25 Sven Neumann <sven@gimp.org>
51307 * app/devices.c: fixed typo.
51310 * app/undo_history.c
51311 * app/user_install.c
51312 * app/gui/about-dialog.c
51313 * app/gui/color-area.c
51314 * app/gui/gradient-editor.c
51316 * app/gui/paths-dialog.c
51318 * app/tools/gimpcurvestool.c
51319 * app/tools/gimpinktool.c
51320 * app/tools/gimptexttool.c:
51321 s/gdk_[bit|pix]map_unref/gdk_drawable_unref/
51323 * app/xcf/xcf-load.c: use GObject functions
51325 * plug-ins/common/animationplay.c: include GDK backend specific
51328 2001-07-25 Sven Neumann <sven@gimp.org>
51330 * configure.in: only build X11 specific plug-ins and tools if
51331 building for GTK+ on X11.
51333 2001-07-25 Michael Natterer <mitch@gimp.org>
51336 * INSTALL: updated, mention pkg-config.
51338 * app/gdisplay_ops.c
51339 * app/gui/resize-dialog.c
51340 * app/gui/toolbox.c: more GObject porting and const stuff.
51342 2001-07-25 Sven Neumann <sven@gimp.org>
51344 * configure.in: check for pkg-config (>= 0.7)
51346 * gimptool-1.4.in: use pkg-config instead of glib-config and
51349 2001-07-25 Sven Neumann <sven@gimp.org>
51357 * undo.c: use GObject functions and const fixes.
51359 2001-07-25 Michael Natterer <mitch@gimp.org>
51361 * app/gui/brush-select.c
51362 * app/gui/channels-commands.c
51363 * app/gui/info-window.c
51364 * app/gui/layers-commands.c
51365 * app/gui/offset-dialog.c
51366 * app/gui/palette-import-dialog.c
51367 * app/gui/paths-dialog.c
51368 * app/gui/preferences-dialog.c: use GObject functions, stuff.
51370 2001-07-25 Sven Neumann <sven@gimp.org>
51373 * app/user_install.c
51374 * app/pdb/color_cmds.c
51375 * app/pdb/selection_cmds.c
51376 * app/tools/gimpbezierselecttool.c
51377 * app/tools/gimpblendtool.c
51378 * app/tools/gimpbucketfilltool.c
51379 * app/tools/gimpbycolorselecttool.c
51380 * app/tools/gimpclonetool.c
51381 * app/tools/gimpcolorpickertool.c
51382 * app/tools/gimpdrawtool.c
51383 * app/tools/gimpeditselectiontool.c
51384 * app/tools/gimpellipseselecttool.c
51385 * app/tools/gimpfreeselecttool.c
51386 * app/tools/gimpfuzzyselecttool.c
51387 * app/tools/gimphuesaturationtool.c
51388 * app/tools/gimpiscissorstool.c
51389 * app/tools/gimppainttool.c
51390 * app/tools/gimprectselecttool.c
51391 * app/tools/gimptexttool.c
51392 * app/tools/gimptool.c
51393 * app/tools/paint_options.c
51394 * app/tools/selection_options.c
51395 * app/tools/tool_manager.c
51396 * app/tools/transform_options.c
51397 * app/widgets/gimpdnd.c
51398 * tools/pdbgen/pdb/color.pdb
51399 * tools/pdbgen/pdb/selection.pdb: use GObject functions.
51401 2001-07-25 Sven Neumann <sven@gimp.org>
51403 * app/gximage.c: replaced some deprecated gdk functions.
51405 * app/widgets/gimpcontainergridview.c
51406 * app/widgets/gimpcontainermenuimpl.c
51407 * app/widgets/gimpcursor.c
51408 * app/widgets/gimpdialogfactory.c
51409 * app/widgets/gimpdnd.c
51410 * app/widgets/gimpdock.c
51411 * app/widgets/gimpdockbook.c
51412 * app/widgets/gimphistogramview.c
51413 * app/widgets/gimplistitem.c
51414 * app/widgets/gimpmenuitem.c
51415 * app/widgets/gimpnavigationpreview.c
51416 * app/widgets/gimppreview.c
51417 * app/widgets/gimpwidgets-utils.c: more work on porting to GObject.
51419 2001-07-25 Michael Natterer <mitch@gimp.org>
51421 * app/gui/dialogs-constructors.c
51422 * app/widgets/gimpdockable.c: removed debugging g_print().
51424 * app/widgets/gimpdock.c: ditto, fixed a crash caused by some
51425 intermediate porting hack.
51427 2001-07-24 Michael Natterer <mitch@gimp.org>
51429 Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
51431 * configure.in: require glib/gtk+ >= 1.3.7, commented out the
51434 From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
51435 to hack or use GIMP HEAD.
51437 Beware, it crashes randomly :)
51439 * app/core/Makefile.am
51440 * app/core/gimpmarshal.list: new file plus rules to generate
51441 gimpmarshal.[ch] from it.
51446 * libgimpwidgets/*: started to use the glib object system. All
51447 core/ objects are still gtk objects however. All signals are
51448 created using g_signal_new(). There are many gtk+ artefacts left.
51449 Finally, we will _not_ use the gtk_signal_foo() wrappers and
51454 * app/disp_callbacks.c
51455 * app/errorconsole.c
51456 * app/file-save.[ch]
51460 * app/ops_buttons.c
51462 * app/user_install.c
51463 * app/gui/about-dialog.c
51464 * app/gui/brush-editor.c
51465 * app/gui/brushes-commands.c
51466 * app/gui/color-notebook.c
51467 * app/gui/colormap-dialog.c
51468 * app/gui/dialogs-commands.c
51469 * app/gui/dialogs-constructors.c
51470 * app/gui/file-commands.c
51471 * app/gui/file-dialog-utils.c
51472 * app/gui/file-new-dialog.c
51473 * app/gui/file-open-dialog.[ch]
51474 * app/gui/file-save-dialog.c
51475 * app/gui/gradient-editor.c
51476 * app/gui/gradients-commands.c
51477 * app/gui/image-commands.c
51478 * app/gui/info-dialog.[ch]
51479 * app/gui/layer-select.c
51480 * app/gui/layers-commands.c
51482 * app/gui/offset-dialog.c
51483 * app/gui/palette-editor.c
51484 * app/gui/palettes-commands.c
51485 * app/gui/patterns-commands.c
51486 * app/gui/preferences-dialog.c
51487 * app/gui/resize-dialog.[ch]
51489 * app/gui/tips-dialog.c
51490 * app/gui/tool-options-dialog.c
51491 * app/gui/toolbox.c
51492 * app/gui/tools-commands.c
51493 * libgimp/gimpbrushmenu.c
51494 * libgimp/gimpmenu.c
51495 * libgimp/gimppatternmenu.c
51497 * libgimpbase/gimpenv.c: tons and tons of changes like "const
51498 gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
51499 and currently disables), lots of s/gtk_signal/g_signal/,
51500 removal/replacement of deprecated stuff,
51501 s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
51502 while I was on it, zillions of warnings left...
51504 * modules/Makefile.am: disabled the water color selector
51505 temporarily (XInput issues).
51507 * plug-ins/Makefile.am
51508 * plug-ins/common/.cvsignore
51509 * plug-ins/common/Makefile.am
51510 * plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
51511 which did not build (including Script-Fu). They are trivial to
51514 2001-07-23 Sven Neumann <sven@gimp.org>
51516 * plug-ins/common/winclipboard.c
51517 * plug-ins/gap/gap_filter_foreach.c
51518 * plug-ins/imagemap/imap_cmd_guides.c
51519 * plug-ins/sel2path/pxl-outline.c: marked missing strings for
51520 translation (patch from "Iccii" <iccii@hotmail.com>).
51522 2001-07-22 Hans Breuer <hans@breuer.org>
51524 * app/*/makefile.msc :
51525 * plug-ins/makefile.msc :
51526 * libgimp/gimp.def :
51527 * libgimpwidgets/gimpwidgets.def : updated
51530 * app/xcf/makefile.msc :
51531 * regexrepl/makefile.msc : new files
51533 * app/base/base-config.c : a work-around for a gccism with
51534 structure initialization
51536 * app/core/gimp.c :
51537 * app/core/gimpimage-new.c :
51538 * app/gui/color-area.c
51539 * app/widgets/gimpdialogfactory.c
51540 * app/xcf/xcf-load.c
51541 * app/xcf/xcf-save.c
51542 * app/xcf/xcf-write.c
51543 * plug-ins/common/plasma.c :
51544 * plug-ins/flame/libifs.c : added <string.h> for strlen(), strcpy(),
51545 memcpy(), memcmp() and friends
51547 * plug-ins/imagemap/imap_rectangle.c :
51548 * plug-ins/ifscompose/ifscompose_storage.c : added <stdlib.h> for abs()
51550 * plug-ins/common/spheredesigner.c : reflect renaming of drawable.id
51551 drawable.drawable_id
51553 * plug-ins/script-fu/siod-wrapper.c : <string.h> and conditional use
51554 of script_fu_server_quit () cause there is not yet script-fu server
51557 2001-07-22 Stanislav Brabec <utx@penguin.cz>
51559 * plugins/common/despeckle.c: Reflect my fix from 2001-03-01
51560 (range limits) in script-fu comments.
51562 2001-07-20 Michael Natterer <mitch@gimp.org>
51565 * app/dialog_handler.[ch]: removed.
51567 * app/widgets/gimpdialogfactory.[ch]: added the missing features
51568 from the dialog_handler: idle/unidle all dialogs and the show_all
51569 -> hide_all -> show_toolbox -> show_all cycling (a bit ugly
51570 currently because the toolbox's factory and it's identifier has to
51571 be passed to gimp_dialog_factories_toggle()).
51573 * app/disp_callbacks.c
51574 * app/gui/gui.c: call the new dialog factory class methods.
51578 * app/errorconsole.c
51580 * app/undo_history.c
51581 * app/gui/info-dialog.c
51582 * app/gui/file-open-dialog.c
51583 * app/gui/file-save-dialog.c: currently "unmanaged" because they
51584 are not yet registered with a dialog factory.
51586 * app/gui/menus.c: ditto for the tearoff menus.
51588 * app/gui/brush-select.c
51589 * app/gui/colormap-dialog.c
51590 * app/gui/gradient-select.c
51591 * app/gui/palette-select.c
51592 * app/gui/pattern-select.c
51593 * app/gui/tool-options-dialog.c
51594 * app/gui/toolbox.c: these are already factory created so toggling
51595 and (un)idling works like before.
51597 * app/widgets/gimpdock.c: reduced the minimal width from 280 to 250.
51599 * app/widgets/gimplayerlistview.c: use a toggle button instead of
51600 a check button for "Keep transp.".
51602 2001-07-19 Sven Neumann <sven@gimp.org>
51604 * configure.in: ran autoupdate on this file
51606 * app/xcf/xcf-load.c
51607 * app/xcf/xcf-private.h
51608 * app/xcf/xcf-save.c: code cleanup, no changes
51610 2001-07-18 Michael Natterer <mitch@gimp.org>
51612 * app/batch.c: bahave like the old batch code and call
51613 app_exit(FALSE) when reading from STDIN is finished.
51615 2001-07-18 Sven Neumann <sven@gimp.org>
51617 * plug-ins/script-fu/script-fu-text-console.c: stop reading on EOF
51619 * plug-ins/script-fu/script-fu-console.c
51620 * plug-ins/script-fu/script-fu.c: some small cleanups
51622 2001-07-18 Michael Natterer <mitch@gimp.org>
51624 * app/batch.[ch]: seems Mathieu messed up the last commit :) Added
51625 these two files back from the Attic, removed the old STDIN code
51626 and added a small hack which calls "extension-script-fu-text-console"
51628 * app/main.c: reverted to the last version, so old and new batch
51629 mode are both there now.
51631 2001-07-17 Mathieu Lacage <mathieu@gnome.org>
51633 * app/batch.c: new code to call the script_fuc_text_console pdb function.
51634 * app/main.c: (main): remove batch command code.
51636 * plug-ins/script-fu/Makefile.am: add siod-wrapper.h/c
51637 * plug-ins/script-fu/script-fu-console.c:
51638 (script_fu_cc_key_function),
51639 (script_fu_open_siod_console),
51640 (script_fu_close_siod_console):
51641 * plug-ins/script-fu/script-fu-scripts.h:
51642 * plug-ins/script-fu/script-fu-server.c:
51643 (script_fu_server_quit),
51644 (script_fu_server_get_mode),
51646 Replace all direct calls to the scheme interpreter with calls to the siod-wrapper.
51647 * plug-ins/script-fu/script-fu-console.h: remove run_eval.
51648 * plug-ins/script-fu/script-fu-server.h:
51649 * plug-ins/script-fu/script-fu-text-console.c:
51650 (script_fu_text_console_run),
51652 (script_fu_text_console_interface):
51653 The actual new text console.
51654 * plug-ins/script-fu/script-fu-text-console.h: header.
51655 * plug-ins/script-fu/script-fu.c:
51658 (script_fu_run): rename to better words.
51659 move most of the code to siod-wrapper.c/h
51660 * plug-ins/script-fu/siod-wrapper.c:
51661 (siod_get_output_file),
51662 (siod_set_output_file),
51663 (siod_get_verbose_level),
51664 (siod_set_verbose_level),
51665 (siod_print_welcome),
51666 (siod_interpret_string),
51667 (siod_get_error_msg),
51668 (siod_get_success_msg),
51675 (marshall_proc_db_call),
51676 (script_fu_register_call),
51677 (script_fu_quit_call):
51678 All the funcitons dealing with the internals of the scheme interpreter.
51679 * plug-ins/script-fu/siod-wrapper.h: the header.
51681 2001-07-17 Michael Natterer <mitch@gimp.org>
51683 * app/path.[ch]: removed path_to_beziersel() so this file can be
51684 safely included from core/.
51686 * app/tools/gimpbezierselecttool.[ch]: added it here.
51688 * app/core/core-types.h: added a GimpToolOptions typedef. Removes
51689 deps into tools/ and will later be a core object anyway.
51691 * app/tools/tools-types.h: removed the ToolOptions typedef here.
51693 * app/core/gimpimage-duplicate.c
51694 * app/core/gimpimage-mask.c
51695 * app/core/gimpimage.c
51696 * app/core/gimptoolinfo.[ch]: removed deps into tools/, misc stuff.
51698 * app/tools/tool_manager.[ch]: some ugly temp hacks. Please ignore.
51700 * app/widgets/gimpdialogfactory.[ch]: added a "remember_if_open" field
51701 to the GimpDialogFactoryEntry so we can manage dialogs which should
51702 not be re-opened on startup.
51704 * app/gui/dialogs-constructors.c
51705 * app/gui/dialogs.c: register & create all editor dialog with the
51706 "global_dialog_factory".
51708 * app/gui/tool-options-dialog.c
51709 * app/tools/*: s/ToolOptions/GimpToolOptions/
51711 2001-07-15 Michael Natterer <mitch@gimp.org>
51713 * libgimpbase/gimpwire.c: remove the usage of printf()/scanf()
51714 when sending doubles over the wire. Instead, rely on the memory
51715 layout of gdouble being IEEE compliant and transmit 8 bytes in
51716 network byte order.
51718 * libgimpbase/gimpprotocol.h: increase GP_VERSION because this
51719 makes the wire protocol binary incompatible.
51722 * libgimp/gimp.c: removed the setlocate(LC_NUMERIC,"C") workaround.
51724 2001-07-15 Michael Natterer <mitch@gimp.org>
51726 * app/core/gimp.c: don't use the global "the_gimp" variable.
51728 * app/core/gimpimage-convert.c: don't update the display here.
51730 * app/gui/gui.c: connect to the images' "mode_changed" signal
51733 * app/gui/brush-editor.[ch]
51734 * app/gui/gradient-editor.[ch]
51735 * app/gui/palette-editor.[ch]: pass a "Gimp" pointer to all
51736 editors. Added an palette_name entry to the palette editor.
51738 * app/gui/colormap-dialog.[ch]: removed all the dialog stuff and
51739 made the constructor return a vbox so it can be integrated in a
51740 dockable. Lots of cleanup and removal of anqiuqe aretfacts.
51742 * app/gui/dialogs-constructors.[ch]: wrap the colormap dialog in
51745 * app/gui/dialogs-commands.[ch]
51746 * app/gui/dialogs.c
51747 * app/gui/menus.c: integrate the new dockable, made the "Brushes.."
51748 etc. menu entries create dockbles. Moved the old dialogs and the
51749 test menu entries to "Old + Testing" and removed N_() so the .po
51750 files stay cruft-free.
51752 * app/gui/test-commands.[ch]: removed lots of stuff which is not
51753 "testing" any more.
51755 2001-07-14 Sven Neumann <sven@gimp.org>
51757 * app/pdb/display_cmds.c
51758 * tools/pdbgen/pdb/display.pdb (display_new_invoker): removed
51759 unnecessary check for image being nonempty.
51761 2001-07-14 Fatih Demir <kabalak@gtranslator.org>
51763 * tips/Makefile.am|makefile.mingw: Added gimp_tips.tr.txt to the
51764 targets and re-ordered the tips files listings.
51766 * tips/gimp_tips.tr.txt: Added Turkish tips file from Alper Ersoy.
51768 2001-07-13 Michael Natterer <mitch@gimp.org>
51771 * app/main.c: removed "use_mmx" and the MMX detection.
51773 * app/base/Makefile.am: build the MMX detection unconditionally
51774 as it's already #ifdef'ed in the source.
51776 * app/base/detect-mmx.h: added a header for detect-mmx.S
51778 * app/base/base-config.[ch]: added the "use_mmx" boolean.
51780 * app/base/base.c: call intel_cpu_features() here.
51782 * app/paint-funcs/paint-funcs.c: #include "base/base-config.h".
51784 * app/floating_sel.c
51785 * app/core/gimpimage.c: removed commented out cruft.
51787 * app/core/gimplayer.c: gimp_layer_new_from_tiles(): pass the
51788 gimage instead of NULL to gimp_layer_new() because layers have to
51789 be created in an image context now
51790 (checked gimp_layer_new_from_tile()'s callers if this is
51791 semantically correct).
51793 2001-07-12 Dave Neary <dneary@eircom.net>
51795 * po/POTFILES.in: One line fix to fix dependency problem.
51797 2001-07-12 Sven Neumann <sven@gimp.org>
51800 * app/regexrepl.h: removed here ...
51802 * plug-ins/script-fu/regexrepl.c
51803 * plug-ins/script-fu/regexrepl.h: ... and here ...
51805 * regexrepl/Makefile.am
51806 * regexrepl/regex.c
51807 * regexrepl/regex.h: ... and added here again.
51812 * app/pdb/plug_in_cmds.c
51813 * app/pdb/procedural_db_cmds.c
51814 * plug-ins/script-fu/Makefile.am
51815 * plug-ins/script-fu/interp_regex.c
51816 * tools/pdbgen/app.pl
51817 * tools/pdbgen/pdb/plug_in.pdb
51818 * tools/pdbgen/pdb/procedural_db.pdb: changed accordingly.
51820 2001-07-12 Michael Natterer <mitch@gimp.org>
51823 * app/detect_mmx.S: removed.
51825 * app/base/Makefile.am
51826 * app/base/detect-mmx.S: added.
51828 2001-07-11 Michael Natterer <mitch@gimp.org>
51832 * app/unitrc.h: removed...
51834 * app/core/Makefile.am
51835 * app/core/gimpunit.[ch]: ...re-added here.
51837 * app/core/gimp.[ch]: added the image and drawable hash tables,
51838 next_image_ID, next_guide_ID and next_drawable_ID, added a
51839 GimpCoreConfig pointer which is now initalized dynamically.
51841 * app/core/gimpcoreconfig.[ch]: don't provide a global core_config
51842 variable any more (need to access gimp->config now).
51844 * app/gdisplay.[ch]
51845 * app/core/gimpdrawable.[ch]
51846 * app/core/gimpimage.[ch]: removed all global variables from
51847 gimpimage.c and gimpdrawable.c, pass a Gimp* to all *_get_by_ID()
51850 * tools/pdbgen/app.pl: pass Gimp* to all _get_by_ID() functions.
51856 * app/libgimp_glue.c
51860 * app/user_install.c
51861 * app/core/core-types.h
51862 * app/core/gimpcontext.c
51863 * app/core/gimpimage-crop.c
51864 * app/core/gimpimage-new.c
51865 * app/core/gimpparasite.c
51866 * app/gui/file-new-dialog.c
51867 * app/gui/file-open-dialog.c
51868 * app/gui/info-window.c
51869 * app/gui/preferences-dialog.c
51870 * app/gui/resize-dialog.c
51871 * app/xcf/xcf-load.c
51872 * app/xcf/xcf-save.c
51874 * app/widgets/gimpdnd.c
51876 * app/pdb/channel_cmds.c
51877 * app/pdb/color_cmds.c
51878 * app/pdb/convert_cmds.c
51879 * app/pdb/display_cmds.c
51880 * app/pdb/drawable_cmds.c
51881 * app/pdb/edit_cmds.c
51882 * app/pdb/fileops_cmds.c
51883 * app/pdb/floating_sel_cmds.c
51884 * app/pdb/guides_cmds.c
51885 * app/pdb/image_cmds.c
51886 * app/pdb/layer_cmds.c
51887 * app/pdb/parasite_cmds.c
51888 * app/pdb/paths_cmds.c
51889 * app/pdb/selection_cmds.c
51890 * app/pdb/text_tool_cmds.c
51891 * app/pdb/tools_cmds.c
51892 * app/pdb/undo_cmds.c
51893 * app/pdb/unit_cmds.c
51895 * tools/pdbgen/pdb/image.pdb
51896 * tools/pdbgen/pdb/unit.pdb: changed accordingly.
51898 2001-07-10 Sven Neumann <sven@gimp.org>
51900 Bugfixes from the stable branch:
51902 * plug-ins/common/bz2.c
51903 * plug-ins/common/gz.c: a fix for bug #57217 based on a patch from
51906 * plug-ins/gap/gap_lib.c (p_file_copy): open files in binary mode.
51907 A patch from Wolfgang Hofer that possibly fixes bug #52890.
51909 * tools/Makefile.am: added gimppath2svg.py to EXTRA_DIST.
51911 2001-07-10 Michael Natterer <mitch@gimp.org>
51913 * app/app_procs.[ch]: removed the gimp_busy boolean, check whether
51914 user_installation is needed here, not in user_install.c, parse
51915 gtkrc an friends only if(!no_interface), create the Gimp object
51916 before parsing gimp's rc files and pass it to the parse functions,
51917 many other cleanups.
51919 * app/appenums.h: added MessageHandlerType and StackTraceMode.
51921 * app/appenv.h: removed MessageHandlerType, declare all global
51922 variables from main.c (no more hidden global stuff please).
51924 * app/errors.[ch]: added the fatal message func here (from main.c),
51925 removed the StackTraceMode enum.
51927 * app/gimprc.[ch]: renamed functions to gimprc_*(), pass a Gimp
51928 pointer to some functions.
51931 * app/unitrc.h: ok, this is ugly: renamed all functions to
51932 _gimp_unit_*() and made them public. The unit list is part
51933 of the Gimp object now, so pass a Gimp* to all functions.
51935 * app/libgimp_glue.[ch]: added EEKy wrappers for all gimp_unit_*()
51936 functions which are used by widgets.
51938 * app/main.c: cleaned up the global variables, removed the fatal
51939 message handler, call app_init() directly, not via the
51940 user_install stuff, misc. cleanups.
51942 * app/user_install.[ch]: removed the check if user_installation is
51943 needed (done by app_procs.c now).
51945 * app/core/gimp.[ch]: added the user_unit list and the "busy"
51946 boolean. Moved gimp_[set|unset]_busy() here. Added
51947 gimp_initialize() which is called after unitrc and gimprc are
51953 * app/disp_callbacks.c
51954 * app/gdisplay_ops.c
51959 * app/core/gimpcontext.c
51960 * app/core/gimpdatafiles.c
51961 * app/core/gimpimage-convert.c
51962 * app/core/gimpimage-duplicate.c
51963 * app/core/gimpimage.c
51964 * app/core/gimpparasite.c
51965 * app/core/gimpparasitelist.h
51966 * app/gui/file-open-dialog.c
51968 * app/gui/info-dialog.c
51969 * app/gui/info-window.c
51970 * app/gui/preferences-dialog.c
51971 * app/gui/session.c
51972 * app/gui/tips-dialog.c
51973 * app/gui/toolbox.c
51974 * app/tools/gimpblendtool.c
51975 * app/tools/gimpbucketfilltool.c
51976 * app/tools/gimpcolorpickertool.c
51977 * app/tools/gimpfuzzyselecttool.c
51978 * app/tools/gimptransformtool.c
51979 * app/tools/tool_manager.c
51980 * app/widgets/gimpcolorpanel.c
51981 * app/widgets/gimpcursor.c
51982 * app/xcf/xcf-load.c
51983 * app/xcf/xcf-save.c
51985 * tools/pdbgen/Makefile.am
51986 * tools/pdbgen/app.pl
51987 * tools/pdbgen/enums.pl
51988 * tools/pdbgen/pdb/image.pdb
51989 * tools/pdbgen/pdb/message.pdb
51990 * tools/pdbgen/pdb/unit.pdb
51991 * app/pdb/image_cmds.c
51992 * app/pdb/message_cmds.c
51993 * app/pdb/unit_cmds.c: changed accordingly, minor cleanups.
51995 2001-07-09 Michael Natterer <mitch@gimp.org>
51998 * app/datafiles.[ch]
51999 * app/gimpparasite.[ch]
52000 * app/parasitelist.[ch]: removed...
52002 * app/core/Makefile.am
52003 * app/core/gimpdatafiles.[ch]
52004 * app/core/gimpparasite.[ch]
52005 * app/core/gimpparasitelist.[ch]: ...and added here.
52012 * app/core/gimpchannel.c
52013 * app/core/gimpdatafactory.c
52014 * app/core/gimpdrawable.c
52015 * app/core/gimpimage-duplicate.c
52016 * app/core/gimpimage.c
52017 * app/core/gimplayer.c
52018 * app/xcf/xcf-load.c
52019 * app/xcf/xcf-save.c
52020 * tools/pdbgen/pdb/parasite.pdb
52021 * app/pdb/parasite_cmds.c: changed #include's accordingly.
52023 2001-07-09 Dave Neary <dneary@eircom.net>
52025 * app/plug_in.c: One-line fix which is needed, but never showed
52026 up before. Initialise a string to NULL, to avoid a !=NULL
52029 2001-07-09 Michael Natterer <mitch@gimp.org>
52031 * app/core/gimp.[ch]: added a (commented out) function to open
52032 files (to get rid of including gui/file-open-dialog.h)
52034 * app/gui/file-open-dialog.[ch]
52035 * app/gui/file-save-dialog.[ch]: renamed all functions because they
52036 are no callbacks any more. Removed the _by_extension() callbacks.
52038 * app/gui/file-commands.[ch]: added the
52039 file_[open|save]_by_extension() callbaks here along with some
52040 other stuff which has nothing to do with the file dialogs.
52042 * app/gui/menus.c: added a helper function to create an item
52045 * app/gui/palette-editor.[ch]: contains only the editor for a
52046 single palette now (removed the notebook and the palette list).
52047 Renamed all functions to palette_editor_*(). Will be made a
52050 * app/gui/palette-select.[ch]: made it work like the other
52055 * app/gui/dialogs-constructors.[ch]
52056 * app/gui/dialogs.c
52057 * app/gui/gradient-select.c
52059 * app/widgets/gimpdnd.c: changed accordingly.
52061 2001-07-08 Michael Natterer <mitch@gimp.org>
52063 * app/disp_callbacks.c: the active_tool may change in the middle
52064 of gdisplay_canvas_events(), so re-get it after using it for
52067 * app/base/boundary.c: made some global variables local.
52069 * app/core/gimpdrawable.c: don't call gimp_drawable_set_visible()
52070 in gimp_drawable_configure() because we don't want signal
52071 emissions while configuring the drawable.
52073 * app/gui/Makefile.am
52074 * app/gui/brushes-commands.[ch]
52075 * app/gui/data-commands.[ch]
52076 * app/gui/gradients-commands.[ch]
52077 * app/gui/palettes-commands.[ch]
52078 * app/gui/patterns-commands.[ch]: new files for new new item
52079 factories' callbacks.
52081 * app/gui/menus.[ch]: added context menus for brushes, patterns, ...
52083 * app/gui/gradient-editor.c
52084 * app/gui/palette-editor.c: removed the "Save as POV", "Import
52085 Palette" and "Merge Palattes" buttons as they are item factory
52088 * app/widgets/gimpbrushfactoryview.[ch]
52089 * app/widgets/gimpbufferview.[ch]
52090 * app/widgets/gimpcontainereditor.[ch]
52091 * app/widgets/gimpdatafactoryview.[ch]: pass a
52092 "GimpContainerContextFunc" pointer to all GimpContainerEditor
52093 subclasses' constructors. Use the function to show the context
52096 * app/widgets/gimpcontainergridview.c: dispatch the previews'
52099 * app/widgets/gimppreview.[ch]: new signal "context" which is
52100 emitted on right-click.
52102 * app/gui/brush-select.c
52103 * app/gui/dialogs-constructors.c
52104 * app/gui/gradient-select.c
52105 * app/gui/layers-commands.c
52106 * app/gui/palette-select.c
52107 * app/gui/pattern-select.c
52108 * app/gui/test-commands.c: changed accordingly.
52110 2001-07-08 Michael Natterer <mitch@gimp.org>
52113 * app/drawable.[ch]: removed.
52115 * app/core/gimpdrawable.[ch]: added the functions here. Made an
52116 end to the myth that FG/BG and the undo system (!!!) are not
52117 really part of the core.
52119 * app/disp_callbacks.c
52120 * app/floating_sel.c
52124 * app/core/gimpchannel.c
52125 * app/core/gimpdrawable-desaturate.c
52126 * app/core/gimpdrawable-equalize.c
52127 * app/core/gimpdrawable-invert.c
52128 * app/core/gimpdrawable-offset.c
52129 * app/core/gimpedit.c
52130 * app/core/gimpimage-duplicate.c
52131 * app/core/gimpimage-mask.c
52132 * app/core/gimpimage-new.c
52133 * app/core/gimpimage.[ch]
52134 * app/core/gimplayer.c
52135 * app/core/gimplayermask.c
52136 * app/gui/channels-commands.c
52138 * app/gui/layers-commands.c
52139 * app/tools/gimpairbrushtool.c
52140 * app/tools/gimpbezierselecttool.c
52141 * app/tools/gimpblendtool.c
52142 * app/tools/gimpbrightnesscontrasttool.c
52143 * app/tools/gimpbucketfilltool.c
52144 * app/tools/gimpclonetool.c
52145 * app/tools/gimpcolorbalancetool.c
52146 * app/tools/gimpconvolvetool.c
52147 * app/tools/gimpcurvestool.c
52148 * app/tools/gimphistogramtool.c
52149 * app/tools/gimphuesaturationtool.c
52150 * app/tools/gimpinktool.c
52151 * app/tools/gimpiscissorstool.c
52152 * app/tools/gimplevelstool.c
52153 * app/tools/gimppainttool.c
52154 * app/tools/gimpposterizetool.c
52155 * app/tools/gimpscaletool.c
52156 * app/tools/gimpthresholdtool.c
52157 * app/tools/gimptransformtool.c
52158 * app/tools/tool_manager.c
52159 * app/widgets/gimpchannellistitem.c
52160 * app/widgets/gimpchannellistview.c
52161 * app/widgets/gimpdrawablelistitem.c
52162 * app/widgets/gimplayerlistitem.c
52163 * app/widgets/gimplayerlistview.c
52164 * app/pdb/channel_cmds.c
52165 * app/pdb/color_cmds.c
52166 * app/pdb/drawable_cmds.c
52167 * app/pdb/edit_cmds.c
52168 * app/pdb/floating_sel_cmds.c
52169 * app/pdb/image_cmds.c
52170 * app/pdb/layer_cmds.c
52171 * app/pdb/parasite_cmds.c
52172 * app/pdb/selection_cmds.c
52173 * app/pdb/text_tool_cmds.c
52174 * app/pdb/tools_cmds.c
52175 * tools/pdbgen/pdb.pl
52176 * tools/pdbgen/pdb/color.pdb
52177 * tools/pdbgen/pdb/drawable.pdb: changed accordingly. Misc small
52178 fixes and cleanups.
52180 2001-07-07 Michael Natterer <mitch@gimp.org>
52183 * app/gimage.[ch]: removed.
52185 * app/core/gimp.c: s/gimage_new/gimp_image_new/
52188 * app/tools/tool_manager.c: added the handlers from gimage.c
52190 2001-07-07 Michael Natterer <mitch@gimp.org>
52192 * app/tools/tool_manager.[ch]: put all tool_manager variables into
52193 a struct which is attached to a "Gimp". Pass a Gimp* to all
52194 tool_manager functions.
52196 * app/disp_callbacks.c
52202 * app/gui/convert-dialog.c
52203 * app/gui/edit-commands.c
52204 * app/gui/tool-options-dialog.c
52205 * app/gui/tools-commands.c: changed accordingly.
52207 * app/tools/gimpbezierselecttool.c
52208 * app/tools/gimpbrightnesscontrasttool.c
52209 * app/tools/gimpbycolorselecttool.c
52210 * app/tools/gimpclonetool.c
52211 * app/tools/gimpcolorbalancetool.c
52212 * app/tools/gimpcroptool.c
52213 * app/tools/gimpcurvestool.c
52214 * app/tools/gimpeditselectiontool.c
52215 * app/tools/gimphistogramtool.c
52216 * app/tools/gimphuesaturationtool.c
52217 * app/tools/gimplevelstool.c
52218 * app/tools/gimpposterizetool.c
52219 * app/tools/gimptexttool.c
52220 * app/tools/gimpthresholdtool.c
52221 * app/tools/gimptool.c
52222 * app/tools/gimptransformtool.c: mostly bad hacks for tool dialogs
52223 which exist without a real context. Needs some more review.
52225 2001-07-07 Michael Natterer <mitch@gimp.org>
52227 * app/core/Makefile.am
52228 * app/core/gimpimage-crop.[ch]: new files for gimp_image_crop()
52229 and gimp_image_crop_auto_shrink() (should share large portions of
52230 code with gimp_image_resize()).
52232 * app/tools/gimpcroptool.[ch]: removed here.
52234 * tools/pdbgen/pdb/image.pdb
52235 * tools/pdbgen/pdb/tools.pdb: gimp_crop --> gimp_image_crop
52237 * app/pdb/image_cmds.c
52238 * app/pdb/internal_procs.c
52239 * app/pdb/tools_cmds.c
52240 * libgimp/gimpimage_pdb.[ch]
52241 * libgimp/gimptools_pdb.[ch]: regenerated.
52243 * plug-ins/common/autocrop.c
52244 * plug-ins/common/gif.c
52245 * plug-ins/common/guillotine.c
52246 * plug-ins/common/zealouscrop.c
52247 * plug-ins/perl/examples/image_tile
52248 * plug-ins/script-fu/scripts/add-bevel.scm
52249 * plug-ins/script-fu/scripts/ripply-anim.scm
52250 * plug-ins/script-fu/scripts/slide.scm: changed accordingly. Some
52251 cleanups in the plug-ins.
52253 2001-07-07 Michael Natterer <mitch@gimp.org>
52256 * app/context_manager.[ch]: removed.
52258 * app/app_procs.c: call tool_mananger instead of context_manager
52259 functions, pass "the_gimp" to some more functions.
52261 * app/drawable.[ch]: pass a GimpContext to drawable_fill().
52263 * app/errors.c: behave according to "stack_trace_mode" when using
52264 the debugging signal handler.
52266 * app/gimprc.[ch]: removed the core/ config variables.
52268 * app/selection.c: set the selection's state to INVISIBLE in
52271 * app/core/Makefile.am
52272 * app/core/gimpcoreconfig.[ch]: new files (the configuration
52273 variables used by core/).
52275 * app/core/gimpcontext.[ch]: removed the global contexts (user,
52276 default, ...) and their functions. It's no longer possible to pass
52277 NULL to the context functions to manipulate the current context
52278 (gimpcontext.c doesn't know the current context any more).
52280 * app/core/gimp.[ch]: added them here. The functions are now called
52281 gimp_[set|get]_*_context(). Added gimp_create_context() which is
52282 the only function to create contexts now.
52284 * app/gui/dialogs.[ch]
52285 * app/gui/gui.[ch]: pass "gimp" to all functions.
52287 * app/tools/tool_manager.[ch]
52288 * app/tools/tools.[ch]: pass "gimp" to lots of functions. Added
52289 the "global_tool_context" logic and the global/non-global paint
52290 options switching from the context_manager. Pass "gimp" to all
52291 tools' "register" functions.
52293 * app/tools/*: changed accordingly.
52296 * app/disp_callbacks.c
52297 * app/file-open.[ch]
52301 * app/libgimp_glue.c
52307 * app/base/base-config.c
52308 * app/core/gimpbrushpipe.c
52309 * app/core/gimpdrawable-offset.c
52310 * app/core/gimpgradient.c
52311 * app/core/gimpimage-duplicate.c
52312 * app/core/gimpimage-mask.c
52313 * app/core/gimpimage-new.c
52314 * app/core/gimpimage.c
52315 * app/core/gimppalette.c
52316 * app/core/gimptoolinfo.[ch]
52317 * app/core/gimpundo.c
52318 * app/gui/brush-select.c
52319 * app/gui/channels-commands.c
52320 * app/gui/color-area.c
52321 * app/gui/dialogs-constructors.c
52322 * app/gui/file-new-dialog.c
52323 * app/gui/file-open-dialog.c
52324 * app/gui/gradient-editor.c
52325 * app/gui/gradient-select.c
52326 * app/gui/info-window.c
52327 * app/gui/layers-commands.c
52329 * app/gui/palette-editor.c
52330 * app/gui/palette-import-dialog.c
52331 * app/gui/palette-select.c
52332 * app/gui/paths-dialog.c
52333 * app/gui/pattern-select.c
52334 * app/gui/preferences-dialog.c
52335 * app/gui/resize-dialog.c
52336 * app/gui/test-commands.c
52337 * app/gui/tool-options-dialog.c
52338 * app/gui/toolbox.c
52339 * app/gui/tools-commands.c
52340 * app/xcf/xcf-load.c
52341 * app/xcf/xcf-save.c
52342 * app/widgets/gimpchannellistview.c
52343 * app/widgets/gimpdnd.c
52344 * app/widgets/gimpdrawablelistview.[ch]
52345 * app/widgets/gimpimagedock.c
52346 * app/widgets/gimplayerlistview.c
52347 * app/pdb/brushes_cmds.c
52348 * app/pdb/drawable_cmds.c
52349 * app/pdb/gradient_select_cmds.c
52350 * app/pdb/gradients_cmds.c
52351 * app/pdb/palette_cmds.c
52352 * app/pdb/patterns_cmds.c
52353 * app/pdb/procedural_db.c
52354 * tools/pdbgen/pdb/brushes.pdb
52355 * tools/pdbgen/pdb/drawable.pdb
52356 * tools/pdbgen/pdb/gradient_select.pdb
52357 * tools/pdbgen/pdb/gradients.pdb
52358 * tools/pdbgen/pdb/palette.pdb
52359 * tools/pdbgen/pdb/patterns.pdb: changed accordingly: remove usage
52360 of gimp_context_[get|set]_*(NULL), create contexts with
52361 gimp_create_context(). Get the user/current context with
52362 gimp_get_[user|current]_context(). Added/removed access to the
52363 global "the_gimp" variable in some places. Get the core's config
52364 variables from "core_config".
52366 2001-07-06 Dave Neary <dneary@eircom.net>
52368 * app/gimprc.c: Removed some C89 & gcc extention stuff which broke
52369 the build on some platforms.
52371 2001-07-06 Dave Neary <dneary@eircom.net>
52373 * po/POTFILES.in: Changed app/image_new.c to
52374 app/core/gimpimage-new.c to get the build working.
52376 2001-07-05 Michael Natterer <mitch@gimp.org>
52378 * app/gimage.c: don't add the image to the image container,
52379 don't call undo_free().
52381 * app/core/gimp.[ch]: add new images to gimp->images, optionally
52382 attach the comment parasite.
52384 * app/core/gimpedit.c
52385 * app/core/gimpimage-duplicate.c
52386 * app/core/gimpimage-new.c
52387 * app/gui/file-open-dialog.c
52388 * app/gui/toolbox.c
52389 * tools/pdbgen/pdb/image.pdb
52390 * app/pdb/image_cmds.c
52391 * app/xcf/xcf-load.c: call gimp_create_image() and/or
52392 gimp_create_display(), don't attach a comment parasite.
52394 * app/core/gimpimage.c: call undo_free() in "destroy".
52397 * app/gui/palette-import-dialog.c
52398 * app/xcf/xcf-save.c: don't #include "gimage.h"
52400 2001-07-05 Michael Natterer <mitch@gimp.org>
52403 * app/image_new.[ch]: removed...
52405 * app/core/Makefile.am
52406 * app/core/core-types.h
52407 * app/core/gimpimage-new.[ch]: ...and (partly) added here.
52409 * app/core/gimp.[ch]: added gimp_create_image() which will be the
52410 _only_ place to get new images from soon.
52411 Added a "create_display_func" function pointer...
52413 * app/gui/gui.[ch]: ...which gets initialized here.
52415 This way the core can create displays without depending on the
52420 * app/core/gimpedit.c
52421 * app/gui/file-commands.c
52422 * app/gui/file-new-dialog.[ch]: changed accordingly.
52424 2001-07-05 Michael Natterer <mitch@gimp.org>
52426 * app/core/gimp.[ch]: renamed gimp_initialize() to gimp_restore()
52427 because it loads all kinds of data. Added gimp_shutdown() to save
52428 the data. Added the global parasite list.
52430 * app/apptypes.h: removed ParasiteList.
52432 * app/core/core-types.h: added GimpParasiteList.
52434 * app/gimpparasite.[ch]: removed the global parasite list.
52436 * app/parasitelist.[ch]: s/ParasiteList/GimpParasiteList/
52437 s/parasite_list_*/gimp_patasite_list_*/
52439 * app/core/gimpdatafactory.c: don't save the data in
52440 gimp_data_factory_data_free().
52445 * app/core/gimpchannel.c
52446 * app/core/gimpdrawable.[ch]
52447 * app/core/gimpimage-duplicate.c
52448 * app/core/gimpimage.[ch]
52449 * app/core/gimplayer.c
52450 * app/pdb/brushes_cmds.c
52451 * app/pdb/parasite_cmds.c
52452 * app/widgets/gimpdatafactoryview.c
52453 * app/xcf/xcf-save.c
52454 * tools/pdbgen/pdb/brushes.pdb
52455 * tools/pdbgen/pdb/parasite.pdb: changed accordingly.
52457 2001-07-04 Michael Natterer <mitch@gimp.org>
52459 * app/core/Makefile.am
52460 * app/core/core-types.h
52461 * app/core/gimp.[ch]: added an "application object" called Gimp.
52463 Currently, it contains the image list, the clipboard, the data
52464 factories, the procedural hashtable and the tool info list. It's
52465 the toplevel object of the core object system. Finally, creating a
52466 Gimp object will return a standalone gimp core engine instance
52467 with no other global states/variables involved.
52469 * app/app_procs.[ch]: allocate a "Gimp" instance called "the_gimp" :)
52470 Removed stuff which is now done by the "Gimp" object. Merged
52471 gimp_init() into app_init() because gimp_init() is taken now.
52473 * app/context_manager.[ch]: removed stuff done by "Gimp".
52477 * app/xcf/xcf-load.[ch]
52479 * app/core/gimpedit.[ch]
52480 * app/tools/tool_manager.[ch]: pass around an additional "Gimp"
52483 * app/pdb/procedural_db.[ch]: pass a "Gimp" pointer as first
52484 parameter to all internal procedures and to all procedural_db_*
52487 * app/core/gimpcontext.[ch]
52488 * app/core/gimpimage.[ch]: added a "Gimp" pointer to the structs.
52501 * app/core/gimpdatafactory.c
52502 * app/core/gimpimage-duplicate.c
52503 * app/core/gimpimage-mask.c
52504 * app/core/gimptoolinfo.[ch]
52505 * app/gui/brush-select.c
52506 * app/gui/convert-dialog.c
52507 * app/gui/dialogs-constructors.c
52508 * app/gui/edit-commands.c
52509 * app/gui/file-open-dialog.c
52510 * app/gui/file-save-dialog.c
52511 * app/gui/gradient-editor.c
52512 * app/gui/gradient-select.c
52514 * app/gui/image-commands.c
52515 * app/gui/info-window.c
52517 * app/gui/palette-editor.c
52518 * app/gui/palette-import-dialog.c
52519 * app/gui/palette-select.c
52520 * app/gui/paths-dialog.c
52521 * app/gui/pattern-select.c
52522 * app/gui/preferences-dialog.c
52523 * app/gui/test-commands.c
52524 * app/gui/toolbox.c
52525 * app/gui/tools-commands.c
52526 * app/tools/gimpbezierselecttool.c
52527 * app/tools/gimpbucketfilltool.c
52528 * app/tools/gimppainttool.h
52529 * app/tools/gimptexttool.c
52530 * app/tools/gimptransformtool.h
52531 * app/widgets/gimpbufferview.c
52532 * app/widgets/gimpcontainerview-utils.c
52533 * app/widgets/gimpcursor.c
52534 * app/widgets/gimpdnd.c
52535 * app/widgets/gimpimagedock.c: changed accordingly. Cleaned up
52536 lots of includes. Many files still access the global "the_gimp"
52537 variable exported by app_procs.h.
52539 * tools/pdbgen/app.pl
52540 * tools/pdbgen/pdb/brush_select.pdb
52541 * tools/pdbgen/pdb/brushes.pdb
52542 * tools/pdbgen/pdb/convert.pdb
52543 * tools/pdbgen/pdb/edit.pdb
52544 * tools/pdbgen/pdb/fileops.pdb
52545 * tools/pdbgen/pdb/gradient_select.pdb
52546 * tools/pdbgen/pdb/gradients.pdb
52547 * tools/pdbgen/pdb/image.pdb
52548 * tools/pdbgen/pdb/palette.pdb
52549 * tools/pdbgen/pdb/pattern_select.pdb
52550 * tools/pdbgen/pdb/patterns.pdb
52551 * tools/pdbgen/pdb/procedural_db.pdb: changed accordingly. Don't
52552 use "the_gimp" here because all procedures get passed a "Gimp"
52555 * app/pdb/*: regenerated.
52557 2001-07-04 Dave Neary <dneary@eircom.net>
52559 * po/POTFILESin: Changed to reflect some moved/removed files.
52561 2001-07-03 Michael Natterer <mitch@gimp.org>
52563 * configure.in: new directory app/xcf/
52566 * app/global_edit.[ch]
52567 * app/xcf.[ch]: removed.
52569 * app/core/Makefile.am
52570 * app/core/gimpedit.[ch]: added here...
52572 * app/xcf/.cvsignore
52573 * app/xcf/Makefile.am
52574 * app/xcf/xcf-load.[ch]
52575 * app/xcf/xcf-private.h
52576 * app/xcf/xcf-read.[ch]
52577 * app/xcf/xcf-save.[ch]
52578 * app/xcf/xcf-seek.[ch]
52579 * app/xcf/xcf-write.[ch]
52580 * app/xcf/xcf.[ch]: ...and here (chopped up).
52583 * app/disp_callbacks.c
52584 * app/floating_sel.c
52585 * app/gui/edit-commands.c
52586 * app/gui/toolbox.c
52587 * app/pdb/edit_cmds.c
52588 * app/widgets/gimpbufferview.c
52589 * tools/pdbgen/pdb/edit.pdb: changed accordingly.
52591 2001-07-03 Sven Neumann <sven@gimp.org>
52593 * plug-ins/common/xwd.c: applied patch from Peter Kirchgessner
52594 <peter@kirchgessner.net> that fixes bug #56830.
52596 * app/global_edit.c: attach default comment to image created by
52597 gimp_edit_paste_as_new().
52599 Both changes merged from stable branch.
52601 2001-07-02 Michael Natterer <mitch@gimp.org>
52603 * app/global_edit.c: allow a NULL gimage argument for
52604 gimp_edit_paste_as_new() (don't set resolution and unit).
52606 * app/disp_callbacks.[ch]
52607 * app/interface.c: allow dropping of a GimpBuffer (pastes the
52610 * app/gui/toolbox.c: ditto (creates a new image).
52612 2001-07-02 Michael Natterer <mitch@gimp.org>
52616 * help/*: removed all help files. They will be distributed as a
52617 separate package in the future.
52619 2001-07-02 Nick Lamb <njl195@zepler.org.uk>
52621 * plug-ins/common/png.c: Change PNG defaults (no 1.0 gamma chunk)
52623 2001-07-02 Sven Neumann <sven@gimp.org>
52626 * plug-ins/*/Makefile.am
52627 * plug-ins/common/mkgen.pl: merged fixes from stable branch
52629 2001-07-02 Michael Natterer <mitch@gimp.org>
52631 * app/gui/dialogs-commands.[ch]
52632 * app/gui/menus.c: added dialogs_toggle_auto_cmd_callback() which
52633 toggles GimpImageDock's "Auto" button.
52635 * app/gui/dialogs.c: ref/sink the global dialog factories.
52637 * app/widgets/gimpdialogfactory.[ch]: added some comments, some
52638 cleanups and additional checks. Factored out the "aux-info" stuff
52639 to separate functions.
52641 * app/widgets/gimpdockbook.c: set the state of the "Auto Follow
52642 Active Image" menu item.
52644 * app/widgets/gimpimagedock.[ch]: added a gboolean for
52645 "show_image_menu" so we don't need to fiddle around with the
52646 widgets to get this info. Added
52647 gimp_image_dock_set_auto_follow_active().
52649 2001-07-01 Sven Neumann <sven@gimp.org>
52651 * acconfig.h: add HAVE_FINITE and HAVE_ISFINITE
52652 (fix from stable branch)
52654 2001-06-29 Michael Natterer <mitch@gimp.org>
52656 * app/appenums.h: removed GimpFillType.
52658 * app/gimprc.c: parse the session-info's new "aux-info" field.
52660 * app/global_edit.[ch]: removed the old "Paste Named" dialog and
52661 prefixed all functions with "gimp_".
52663 * app/core/core-types.h: added GimpFillType.
52665 * app/core/gimpbrush.[ch]: new signal "spacing_changed".
52667 * app/gui/Makefile.am
52668 * app/gui/tools-commands.[ch]: one more file cut out of commands.[ch].
52670 * app/gui/commands.[ch]: removed the tools stuff here.
52672 * app/gui/brush-select.[ch]
52673 * app/gui/dialogs-constructors.c: use the new GimpBrushFactoryView
52676 * app/gui/dialogs-commands.[ch]
52677 * app/gui/menus.[ch]:
52679 - Made it 64bit safe again by passing the dialog factory's
52680 identifiers as GQuarks, not as guints created by GPOINTER_TO_UINT().
52681 - Added a "gchar *quark_string" field to GimpItemFactoryEntry
52682 which gets transformed into a GQuark by menus_create_item().
52683 - Added SEPARATOR() and BRANCH() macros which make the *_entries[]
52684 arrays more readable.
52685 - Added a menu item to show/hide GimpImageDock's image menu.
52686 - Removed file_last_opened_cmd_callback().
52688 * app/gui/edit-commands.c: the global_edit functions are "gimp_"
52691 * app/gui/file-commands.[ch]: added file_last_opened_cmd_callback()
52694 * app/widgets/Makefile.am
52695 * app/widgets/widgets-types.h
52696 * app/widgets/gimpbrushfactoryview.[ch]: new widget: a
52697 GimpDataFactory subclass with a "spacing" scale.
52699 * app/widgets/gimpcontainereditor.[ch]:
52701 - Connect to the GimpContainerView's "select_item",
52702 "activate_item" and "context_item" signals here once instead of
52703 in each subclass and dispatch them via new virtual functions.
52704 - Added a convenience function which makes DND to the buttons much
52705 less painful for subclasses.
52707 * app/widgets/gimpbufferview.c
52708 * app/widgets/gimpdatafactoryview.[ch]: changed accordingly.
52710 * app/widgets/gimpdialogfactory.[ch]:
52712 - Added gimp_dialog_factory_dialog_raise() which can raise
52713 toplevel dialogs _and_ dockables (and creates them if they are
52715 - Keep track of all created dialogs (not only toplevels).
52716 - Added an "aux_info" field to GimpSessionInfo which is a GList of
52717 gchar* and is saved in sessionrc.
52718 - Remember if GimpImageDock's image menu is visible by using an
52720 - The code did not become nicer with all those new constraints. I
52721 have to add comments before I forget how it works.
52723 * app/widgets/gimpdockbook.c: set the state of the "Show Image Menu"
52724 menu item before popping up the item factory.
52726 * app/widgets/gimpimagedock.[ch]: added
52727 gimp_image_dock_set_show_image_meu().
52729 * plug-ins/gdyntext/gdyntext.c
52730 * plug-ins/perl/examples/fit-text
52731 * plug-ins/perl/examples/terral_text
52732 * plug-ins/perl/examples/tex-to-float: register all text rendering
52733 plug-ins under <Image>/Filters/Text
52735 * app/pdb/brush_select_cmds.c
52736 * app/pdb/drawable_cmds.c
52737 * app/pdb/edit_cmds.c
52738 * tools/pdbgen/pdb/brush_select.pdb
52739 * tools/pdbgen/pdb/edit.pdb
52740 * tools/pdbgen/enums.pl
52741 * po/POTFILES.in: changed according to all the stuff above.
52743 2001-06-27 Sven Neumann <sven@gimp.org>
52745 * README.i18n: merged changes from stable branch.
52747 2001-06-26 Sven Neumann <sven@gimp.org>
52750 * app/pdb/image_cmds.c
52751 * tools/pdbgen/pdb/image.pdb: ported changes from stable branch.
52753 2001-06-26 Michael Natterer <mitch@gimp.org>
52756 * app/color_transfer.[ch]: removed.
52758 * app/tools/Makefile.am
52759 * app/tools/gimpcolorbalancetool-transfer.[ch]: added.
52761 * app/tools/gimpcolorbalancetool.c: changed accordingly.
52763 * app/base/Makefile.am
52764 * app/base/tile-manager-crop.[ch]: formerly known as crop_buffer().
52766 * app/tools/gimptexttool.c: changed accordingly.
52768 * app/context_manager.[ch]: added the global clipboard and the
52769 named buffer list here.
52771 * app/app_procs.c: don't call color_transfer_init() and don't free
52772 the buffer stuff (done by the context manager now).
52774 * app/errorconsole.c: don't #include "gui/commands.h"
52776 * app/global_edit.[ch]: removed lots of stuff which is now done by
52777 gui/edit-commands.* or the new GimpBuffer object. The "paste
52778 named" dialog will go away and this file will be moved to core/
52781 * app/image_new.c: no need to declare the global_buffer extern any
52784 * app/qmask.c: don't #include "global_edit.h"
52786 * app/core/Makefile.am
52787 * app/core/core-types.h
52788 * app/core/gimpbuffer.[ch]: new object (aka named buffer)
52790 * app/core/gimpcontext.[ch]: added a GimpBuffer attribute.
52792 * app/core/gimpimage.[ch]: one s/int/gboolean/.
52794 * app/core/gimppattern.c: hmm...
52796 * app/gui/commands.[ch]: split up in small files:
52798 * app/gui/Makefile.am
52799 * app/gui/edit-commands.[ch]
52800 * app/gui/file-commands.[ch]
52801 * app/gui/image-commands.[ch]
52802 * app/gui/select-commands.[ch]
52803 * app/gui/view-commands.[ch]: new files.
52805 * app/gui/dialogs-constructors.[ch]
52806 * app/gui/dialogs.c: added the named buffer list & grid.
52808 * app/gui/file-new-dialog.[ch]
52810 * app/gui/palette-editor.c
52811 * app/gui/test-commands.c: changed accordingly.
52813 * app/pdb/edit_cmds.c
52814 * tools/pdbgen/pdb/edit.pdb: changed for the global_edit stuff.
52816 * app/widgets/Makefile.am
52817 * app/widgets/gimpbufferpreview.[ch]
52818 * app/widgets/gimpbufferview.[ch]
52819 * app/widgets/gimpcontainereditor.[ch]: new widgets.
52821 * app/widgets/gimpcontainerview-utils.c
52822 * app/widgets/gimpdatafactoryview.[ch]
52823 * app/widgets/gimpdnd.[ch]
52824 * app/widgets/gimpdrawablepreview.c
52825 * app/widgets/gimplayerlistview.c
52826 * app/widgets/gimppreview.c
52827 * app/widgets/widgets-types.h: changed accordingly for the new
52828 GimpBuffer object and it's views, misc. cleanups.
52830 * pixmaps/Makefile.am
52831 * pixmaps/paste-as-new.xpm
52832 * pixmaps/paste-into.xpm
52833 * pixmaps/paste.xpm: new pixmaps (they all look the same... Tigert? ;-)
52835 * po/POTFILES.in: added the new files.
52837 2001-06-25 Sven Neumann <sven@gimp.org>
52839 * plug-ins/script-fu/scripts/burn-in-anim.scm: added Burn-In script
52840 written by Roland Berger <roland@fuchur.leute.server.de>.
52842 2001-06-22 Sven Neumann <sven@gimp.org>
52844 * libgimpmath/gimpmath.h: do not include math.h conditionally.
52846 * plug-ins/Lighting/lighting_ui.c
52847 * plug-ins/MapObject/mapobject_ui.c: ported fix for bug #50715 from
52850 2001-06-21 Sven Neumann <sven@gimp.org>
52852 * plug-ins/gdyntext/ChangeLog
52853 * plug-ins/gdyntext/gdyntext.[ch]: ported changes from stable branch,
52854 updating GDynText to version 1.5.4.
52856 2001-06-21 Sven Neumann <sven@gimp.org>
52858 * plug-ins/Lighting/lighting_apply.c
52859 * plug-ins/common/papertile.c
52860 * plug-ins/common/vinvert.c
52861 * plug-ins/script-fu/scripts/textured-logo.scm: merged changes from
52862 stable branch that mark some leftover strings for translation.
52864 2001-06-21 Sven Neumann <sven@gimp.org>
52866 * plug-ins/common/ps.c: applied fix for #51403.
52867 * plug-ins/flame/flame.c: applied fix for #37761.
52868 * plug-ins/script-fu/script-fu-console.c: applied fix for #50522.
52870 All fixes taken from the stable branch.
52872 * app/gui/file-open-dialog: ported fix for #51722 from stable branch.
52874 2001-06-20 Michael Natterer <mitch@gimp.org>
52876 * app/gdisplay.c: same gdisplays_update_full() fix as in the
52877 stable branch. Removed lots of commented out code and comments
52878 about whether the code should be commented out or not.
52880 * app/core/gimpimage-mask.c: tried to fix it here first an ended
52881 up with a little cleanup.
52883 2001-06-20 David Neary <dneary@eircom.net>
52886 * libgimp/gimpmath.h: Imported fix from bug #51822 into 1.3
52887 branch. Fix is courtesy of <bugzilla-gnome@thewrittenword.com>.
52889 2001-06-18 Austin Donnelly <austin@gimp.org>
52891 * plug-ins/common/newsprint.c: Fix from
52892 <warner-gnome.bugzilla@lothar.com> for problem with GREYA
52893 images: it was using the settings from the RGB colourspace
52894 due to testing bpp != 1 rather than colour_bpp != 1
52895 (colour_bpp has alpha taken out of it). Fixes Bug#52981.
52896 Sven committed the same fix to 1.2 CVS. This also bumps the
52897 version number to 0.60 to reflect this fixed bug.
52899 2001-06-18 Michael Natterer <mitch@gimp.org>
52901 * app/nav_window.[ch]: major cleanup. After being finished, I
52902 decided that it needs to be factored out to a widget (see below),
52903 so like 90% of this file will go away soon.
52905 * app/apptypes.h: added opaque NavigationDialog typedef.
52907 * app/gdisplay.[ch]: Added gdisplay_selection_visibility() which
52908 is called from gdisplays_selection_visibility(). Capitalized the
52909 SelectionControl enum values. Cleaned up the GDisplay struct and
52910 it's initialisation while i was on it.
52912 * app/gimage.c: gimage_size_changed_handler(): removed stuff which
52913 is now done by GimpImage itself.
52916 * app/scroll.c: also update the navigation popup, not only the
52919 * app/selection.[ch]: major indentation & cleanup attack. Maybe
52920 found the "Selection vanishes" bug (the timeout id was assinged to
52921 a gint, not a _guint_).
52923 * app/undo.c: s/gimp_image_size_changed/gimp_viweable_size_changed/
52925 * app/core/gimpdrawable.c: invalidate the image's preview from our
52926 "invalidate_preview" implementation. This means that the image's
52927 preview is invalidated way too often currently, which cries for
52928 some general freeze/thaw mechanism on the GimpViewable level.
52929 (Note that previews are rendered in the idle loop, so this is not
52930 really a major performance impact, it's just ugly).
52932 * app/core/gimpimage.[ch]: removed the "size_changed" signal...
52934 * app/core/gimpviewable.[ch]: ...and added it here.
52936 * app/core/gimplayer.c: invalidate_preview(): always chain up,
52937 also if it's a floating selection.
52939 * app/gui/info-dialog.[ch]
52940 * app/gui/info-window.c: minor cleanups.
52942 * app/gui/preferences-dialog.c: no need to invalidate the image
52943 after we have invalidated all it's layers.
52945 * app/core/gimpimage-mask.c
52946 * app/gui/commands.c
52947 * app/tools/gimpeditselectiontool.c
52948 * app/tools/gimpinktool.c
52949 * app/tools/gimpmovetool.c
52950 * app/tools/gimppainttool.c: capitalized the SelectionCommand enum
52953 * app/widgets/Makefile.am
52954 * app/widgets/widgets-types.h
52955 * app/widgets/gimpnavigationpreview.[ch]: new widget.
52957 * app/widgets/gimppreview.[ch]: added a non-working
52958 non-dot-for-dot mode. Added xres/yres params to the
52959 gimp_preview_calc_size() helper function.
52961 Cache the "size" value which was passed to the simple function
52962 variants (gimp_preview_new() and gimp_preview_set_size()) so we
52963 can re-calculate the preview's extents on the underlying
52964 viewable's "size_changed" signal and on gimp_preview_set_viewable().
52966 * app/widgets/gimpdrawablepreview.c
52967 * app/widgets/gimpimagepreview.c: changed accordingly.
52969 2001-06-18 Sven Neumann <sven@gimp.org>
52971 * plug-ins/gfig/gfig.c
52972 * plug-ins/script-fu/scripts/land.scm: merged fixes from gimp-1-2.
52974 2001-06-15 Michael Natterer <mitch@gimp.org>
52976 * plug-ins/perl/Gimp/Lib.xs: forgot to s/id/drawable_id/ here.
52978 2001-06-15 Austin Donnelly <austin@gimp.org>
52980 * app/gdisplay.c: initialise gdisp->cursor_x and gdisp->cursor_y
52981 to 0 in gdisplay_new() so that we don't get floating point
52982 exceptions when attempting to translate to screen co-ords in
52983 gdisplay_update_cursor(). Fixes critical Bug #56237.
52985 2001-06-14 Michael Natterer <mitch@gimp.org>
52987 * app/gdisplay.c: fixed a FIXME: set the sensitivity of the
52988 color tools' menu entries again.
52990 * libgimp/gimpcolorselector.h
52991 * libgimp/gimpdrawable.h
52992 * libgimp/gimpmenu.h: removed the usage of "id" from the public
52993 interface because it's a reserved keyword of Objective C.
52995 * libgimp/gimpdrawable.c
52996 * libgimp/gimptile.c
52998 * plug-ins/[lotsa plugins].c: changed accordingly.
53000 2001-06-14 Sven Neumann <sven@gimp.org>
53002 * app/tools/gimpmeasuretool.c: fixed typo, closes bug #56200.
53004 2001-06-14 Sven Neumann <sven@gimp.org>
53006 * app/disp_callbacks.c
53008 * app/gui/info-window.[ch]:
53009 applied a patch from Ralf Engels <ralf-engels@gmx.de> that adds info
53010 about the cursor position to the Info window. Cleaned up the code a
53011 little while I was on it and renamed info_window_update_RGB() to
53012 info_window_update_extended().
53014 2001-06-14 Sven Neumann <sven@gimp.org>
53016 * app/core/gimpimage.c: fixed typo, closes bug #56193.
53018 2001-06-12 Michael Natterer <mitch@gimp.org>
53020 * libgimp/gimpdrawable.h: removed one more
53021 gimp_channel_ops_duplicate #define.
53023 * plug-ins/gap/gap_mov_dialog.c
53024 * plug-ins/gap/gap_mov_exec.c
53025 * plug-ins/gap/gap_pdb_calls.[ch]: removed a handmade PDB wrapper
53026 and use gimp_image_duplicate().
53028 2001-06-12 Michael Natterer <mitch@gimp.org>
53030 * plug-ins/script-fu/scripts/3d-outline.scm
53031 * plug-ins/script-fu/scripts/add-bevel.scm
53032 * plug-ins/script-fu/scripts/blend-anim.scm
53033 * plug-ins/script-fu/scripts/fuzzyborder.scm
53034 * plug-ins/script-fu/scripts/image-structure.scm
53035 * plug-ins/script-fu/scripts/old_photo.scm
53036 * plug-ins/script-fu/scripts/ripply-anim.scm
53037 * plug-ins/script-fu/scripts/round-corners.scm
53038 * plug-ins/script-fu/scripts/slide.scm
53039 * plug-ins/script-fu/scripts/spinning_globe.scm
53040 * plug-ins/script-fu/scripts/swirltile.scm
53041 * plug-ins/script-fu/scripts/waves-anim.scm
53042 * plug-ins/script-fu/scripts/weave.scm: follow API cleanup:
53044 s/gimp-channel-ops-duplicate/gimp-image-duplicate/
53045 s/gimp-channel-ops-offset/gimp-drawable-offset/
53047 2001-06-08 Michael Natterer <mitch@gimp.org>
53049 * configure.in: don't build devel-docs/pdb/Makefile.am
53051 2001-06-07 Michael Natterer <mitch@gimp.org>
53053 * configure.in: added zh_TW.Big5 to ALL_LINGUAS. Added the
53054 STRIP_BEGIN and STRIP_END macros from gtk+.
53056 * app/base/makefile.msc: unmodified copy of app/core/makefile.msc
53057 (just to make "make dist" work).
53059 * */Makefile.am: use @STRIP_BEGIN@ and @STRIP_END@ all over the
53060 place. The Makefiles are a bit uglier now but it makes compiling
53061 output much more readable.
53063 2001-06-06 Adam D. Moss <adam@gimp.org>
53065 * tools/pdbgen/pdb/image.pdb: gimp_image_list(),
53066 gimp_image_get_layers() and gimp_image_get_channels() via
53067 pdb were eventually crashing due to prepending to an
53068 uninitialised GList*...
53070 2001-06-06 Dave Neary <dneary@eircom.net>
53072 * plug-ins/gap/gap_lib.c
53073 * plug-ins/gap/gap_dbbrowser_utils.[ch]: Made a couple of small
53074 changes to remove warnings (including string.h, and moving header
53075 includes from .h file to .c file).
53077 2001-06-05 Michael Natterer <mitch@gimp.org>
53080 * app/base/Makefile.am
53081 * app/core/Makefile.am
53082 * app/gui/Makefile.am
53083 * app/paint-funcs/Makefile.am
53084 * app/pdb/Makefile.am
53085 * app/tools/Makefile.am
53086 * app/widgets/Makefile.am: no need to build .la objects for
53087 convenience libraries which are never linked into another dynamic
53088 library. Create simple .a files instead. Reduces compilation time
53089 of app/ by about 50%.
53091 2001-06-05 Dave Neary <dneary@eircom.net>
53093 * po/POTFILES.in: Changed one line to satisfy dependencies
53095 2001-06-05 Michael Natterer <mitch@gimp.org>
53098 * app/authors.h: removed.
53100 * app/gui/Makefile.am
53101 * app/gui/authors.h: added.
53103 * tools/authorsgen/authorsgen.pl: generate it in the new place.
53105 * app/gui/about-dialog.c
53106 * app/gui/commands.c
53107 * app/interface.c: don't #include "gimphelp.h"
53109 2001-06-05 Michael Natterer <mitch@gimp.org>
53112 * app/resize.[ch]: removed.
53114 * app/gui/Makefile.am
53115 * app/gui/resize-dialog.[ch]: added.
53117 * app/gui/commands.c
53118 * app/gui/layers-commands.c: changed accordingly.
53120 2001-06-05 Michael Natterer <mitch@gimp.org>
53122 * app/global_edit.c: some s/0/FALSE/
53124 * app/resize.[ch]: removed resize_scale_implement() and
53125 resize_check_layer_scaling(), cleanup.
53127 * app/core/gimpimage.[ch]: added gimp_image_check_scaling().
53129 * app/gui/commands.c: added image_scale_implement() as static
53132 * app/gui/tool-options-dialog.[ch]: add the tool options widgets
53133 to the dialog when they are first needed. Removed
53134 tool_options_dialog_add().
53136 * app/tools/tool_manager.c: don't call tool_options_dialog_add().
53138 2001-06-03 Dave Neary <dneary@eircom.net>
53140 * app/gimprc.[ch]: Made all the global options members of one
53145 * app/context_manager.c
53147 * app/disp_callbacks.c
53151 * app/gdisplay_ops.c
53162 * app/undo_history.c
53163 * app/user_install.c
53166 * app/core/gimpcontext.c
53167 * app/core/gimpimage.c
53168 * app/core/gimpundo.c
53170 * app/gui/brush-select.c
53171 * app/gui/commands.c
53172 * app/gui/file-new-dialog.c
53173 * app/gui/file-open-dialog.c
53174 * app/gui/file-save-dialog.c
53176 * app/gui/layer-select.c
53178 * app/gui/paths-dialog.c
53179 * app/gui/preferences-dialog.c
53180 * app/gui/session.c
53181 * app/gui/tips-dialog.c
53182 * app/gui/toolbox.c
53184 * app/tools/gimpbucketfilltool.c
53185 * app/tools/gimpbycolorselecttool.c
53186 * app/tools/gimpinktool.c
53187 * app/tools/gimpmagnifytool.c
53188 * app/tools/gimppainttool.c
53189 * app/tools/paint_options.c
53190 * app/tools/selection_options.c
53192 * app/widgets/gimpdrawablelistview.c
53194 * tools/pdbgen/pdb/gimprc.pdb
53195 * app/pdb/gimprc_cmds.c: Changed accordingly.
53197 2001-06-01 Dave Neary <dneary@eircom.net>
53199 * app/tools/gimpbycolorselecttool.c: added a call to
53200 by_color_select_close_callback() in _tool_destroy() to close
53201 the dialog on exiting the tool.
53203 2001-05-31 Dave Neary <dneary@eircom.net>
53205 * app/core/gimpimage.[ch]
53206 * app/core/gimpimage-mask.c
53207 * app/tools/gimpbycolorselecttool.c
53208 * app/undo.c: Added a "mask_changed" signal, to allow
53209 gimpbycolorselect to update it's dialog properly, and take out a
53210 silly dependency in gimpimage.
53212 One outstanding issue is that now the dialog doesn't close
53213 automatically when the tool context changes. Working on it :)
53215 2001-05-30 Michael Natterer <mitch@gimp.org>
53217 * app/base/Makefile.am
53218 * app/core/Makefile.am
53219 * app/gui/Makefile.am
53220 * app/paint-funcs/Makefile.am: added makefile.msc to EXTRA_DIST.
53222 * app/core/gimpimage.c: don't try to create previews with width or
53225 * app/gui/color-notebook.c: Major (??) dialog repacking. Don't
53226 show an action_area for the main color selection (it's now about
53227 half the size of the 1.2 one).
53229 * libgimp/gimpcolorselector.h: define some gui size constants
53232 * app/gui/color-select.c
53233 * modules/colorsel_triangle.c
53234 * modules/colorsel_water.c: use the constants and removed the
53235 spacing around the main container.
53237 * libgimpwidgets/gimpcolorarea.[ch]: rendering in the idle loop
53238 fixes a race condition when accessing widget->window during widget
53241 * modules/Makefile.am: disabled the "GTK" color notebook page (we
53242 will put the GtkHSV widget of gtk+ 2.0 here).
53244 2001-05-29 Simon Budig <simon@gimp.org>
53246 * po/POTFILES.in: Added app/tools/gimpposterizetool.c
53247 which replaces posterize.c. Is it complete now? :-)
53249 2001-05-28 Dave Neary <dneary@eircom.net>
53251 * po/POTFILES.in: Changed one filename to (finally) fix
53252 the build - sorry I missed this yesterday :)
53254 2001-05-27 Dave Neary <dneary@eircom.net>
53256 * po/POTFILES.in: Removed posterize.c to fix build
53258 2001-05-25 Hans Breuer <hans@breuer.org>
53260 * app/*/makefile.msc : almost completely autogenerated
53261 all new makefiles (it simply was too much work to do
53264 * app/core/makefile.msc :
53265 * app/gui/makefile.msc :
53266 * app/paint-funcs/makefile.msc : new files
53268 * app/base/base.c : include <io.h> for unlink
53270 * libgimp*/makefile.msc :
53271 * libgimp*/*.def : adapted or regenerated
53273 * libgimp/gimpcolorselctor.h : include gmodule.h to avoid
53274 different declarations in different context.
53276 * libgimp/proceduraldb.c : string.h for memcmp
53278 * libgimpwidgets/libgimp-glue.c : include gimpbasetypes.h before
53281 * plug-ins/common/animoptimize.c : added nops after
53282 labels. At least the msvc compiler doesn't compile it otherwise
53284 * plug-ins/twain/twain.c : added main() to allow to build
53287 2001-05-25 Michael Natterer <mitch@gimp.org>
53289 * app/base/pixel-processor.c: fixing a typo fixes ENABLE_MP.
53291 * app/core/gimpdrawable-histogram.c
53292 * app/core/gimpimage-colorhash.c
53293 * app/core/gimptoolinfo.c: fixed some #includes.
53295 * libgimpwidgets/gimpfileselection.[ch]
53296 * libgimpwidgets/gimpwidgetstypes.h: moved the opaque typedef to
53299 * po/POTFILES.in: reflect app/'s state again.
53301 2001-05-25 Michael Natterer <mitch@gimp.org>
53303 * configure.in: new directory devel-docs/libgimpbase/
53305 2001-05-25 Michael Natterer <mitch@gimp.org>
53308 * app/scan_convert.[ch]: removed.
53310 * app/core/Makefile.am
53311 * app/core/gimpscanconvert.[ch]: added. Changed all function names
53312 and use GimpVector2 instead of ScanConvertPoint.
53314 * app/base/base-types.h: removed ScanConvertPoint (didn't belong
53317 * app/pdb/tools_cmds.c
53318 * app/tools/gimpfreeselecttool.[ch]
53319 * app/tools/gimpiscissorstool.c
53320 * tools/pdbgen/pdb/tools.pdb: changed accordingly.
53322 2001-05-25 Michael Natterer <mitch@gimp.org>
53324 * app/gimprc.[ch]: removed "num_processors".
53326 * app/base/base-config.[ch]: and added it here.
53328 * app/base/gimphistogram.c
53329 * app/base/pixel-processor.c
53330 * app/gui/preferences-dialog.c: changed accordingly.
53332 2001-05-25 Michael Natterer <mitch@gimp.org>
53335 * app/gimpui.[ch]: removed.
53337 * app/tools/paint_options.[ch]: removed paint_mode_menu_new().
53339 * app/widgets/Makefile.am
53340 * app/widgets/gimpwidgets-constructors.[ch]
53341 * app/widgets/gimpwidgets-utils.[ch]: added here.
53343 * app/disp_callbacks.c
53347 * app/gui/brush-select.c
53348 * app/gui/channels-commands.c
53349 * app/gui/commands.c
53350 * app/gui/file-dialog-utils.c
53351 * app/gui/file-open-dialog.c
53352 * app/gui/file-save-dialog.c
53353 * app/gui/layers-commands.c
53354 * app/gui/tool-options-dialog.c
53355 * app/tools/gimpbrightnesscontrasttool.c
53356 * app/tools/gimpbycolorselecttool.c
53357 * app/tools/gimpclonetool.c
53358 * app/tools/gimpcolorbalancetool.c
53359 * app/tools/gimpcolorpickertool.c
53360 * app/tools/gimpcurvestool.c
53361 * app/tools/gimphistogramtool.c
53362 * app/tools/gimphuesaturationtool.c
53363 * app/tools/gimplevelstool.c
53364 * app/tools/gimpposterizetool.c
53365 * app/tools/gimpsmudgetool.c
53366 * app/tools/gimptexttool.c
53367 * app/tools/gimpthresholdtool.c
53368 * app/tools/gimptransformtool.c
53369 * app/tools/tool_manager.c
53370 * app/widgets/gimplayerlistview.c: changed accordingly.
53372 2001-05-25 Michael Natterer <mitch@gimp.org>
53374 * app/tools/Makefile.am
53375 * app/tools/tool_options_dialog.[ch]: removed.
53376 * app/tools/tools.h: new file
53378 * app/gui/Makefile.am
53379 * app/gui/tool-options-dialog.[ch]: added.
53381 * app/tools/tools.c: renamed register_tools() to tools_init(), new
53382 function tools_exit().
53385 * app/context_manager.c
53386 * app/tools/tool_manager.c
53387 * app/gui/dialogs-constructors.c
53388 * app/gui/gui.c: changed accordingly.
53390 2001-05-25 Michael Natterer <mitch@gimp.org>
53392 All tools are back :)
53394 * app/tools/Makefile.am
53395 * app/tools/brightness_contrast.[ch]
53396 * app/tools/color_balance.[ch]
53397 * app/tools/curves.[ch]
53398 * app/tools/histogram_tool.[ch]
53399 * app/tools/hue_saturation.[ch]
53400 * app/tools/levels.[ch]
53401 * app/tools/posterize.[ch]
53402 * app/tools/threshold.[ch]: removed...
53404 * app/tools/gimpbrightnesscontrasttool.[ch]
53405 * app/tools/gimpcolorbalancetool.[ch]
53406 * app/tools/gimpcurvestool.[ch]
53407 * app/tools/gimphistogramtool.[ch]
53408 * app/tools/gimphuesaturationtool.[ch]
53409 * app/tools/gimplevelstool.[ch]
53410 * app/tools/gimpposterizetool.[ch]
53411 * app/tools/gimpthresholdtool.[ch]: ...and ported to the new tool
53412 system. Yes, the toolbox looks strange right now.
53414 * app/tools/gimpimagemaptool.[ch]: base class for all image_map
53415 tools. Does nothing at all right now.
53417 * app/tools/gimpbucketfilltool.h: removed _new() function
53420 * app/tools/gimptool.c: removed obsolete stuff and STUB()s.
53422 * app/tools/tools.c: register the new tools.
53424 * app/menus.c: removed the #if 0 around the code which reorders
53425 the color tool menu entries.
53428 * tools/pdbgen/Makefile.am
53429 * tools/pdbgen/enums.pl
53430 * tools/pdbgen/pdb/color.pdb
53431 * app/pdb/color_cmds.c
53432 * po/POTFILES.in: changed accordingly.
53434 2001-05-24 Michael Natterer <mitch@gimp.org>
53437 * config.sub: new versions from CVS (at least that's what my
53438 debian package says...)
53441 * app/gimppreviewcache.[ch]: removed.
53443 * app/core/Makefile.am
53444 * app/core/gimppreviewcache.c: added.
53446 * app/core/gimpdrawable.c: reordered #includes
53448 * app/apptypes.h: make ImageMap a proper opaque typedef, not
53451 * app/image_map.[ch]: changed accordingly. cleanup.
53453 * app/tools/color_balance.h
53454 * app/tools/curves.h
53455 * app/tools/histogram_tool.h
53456 * app/tools/hue_saturation.h
53457 * app/tools/threshold.h: changed here too.
53459 * app/tools/gimptool.c: removed old by_color_select stuff.
53461 * libgimpbase/gimpbasetypes.h: /*< skip >*/ GIMP_UNIT_PERCENT as
53462 it's a UI convenience thing and no unit.
53464 * plug-ins/script-fu/script-fu-constants.c
53465 * tools/pdbgen/enums.pl: regenerated.
53467 * libgimpwidgets/gimpbutton.c: maybe this change makes GimpButton
53468 behave even more careful when changing GtkButton's private stuff.
53470 2001-05-23 Michael Natterer <mitch@gimp.org>
53472 * app/gimphistogram.[ch]
53473 * app/lut_funcs.[ch]: removed.
53475 * app/base/gimphistogram.[ch]
53476 * app/base/lut-funcs.[ch]
53477 * app/core/gimpdrawable-histogram.[ch]: added, cleanup.
53482 * app/base/Makefile.am
53483 * app/base/base-types.h
53484 * app/core/Makefile.am
53485 * app/core/gimpchannel.c
53486 * app/core/gimpdrawable-equalize.c
53487 * app/core/gimpdrawable-invert.c
53488 * app/pdb/color_cmds.c
53489 * app/widgets/gimphistogramview.c
53490 * tools/pdbgen/Makefile.am
53491 * tools/pdbgen/enums.pl
53492 * tools/pdbgen/pdb/color.pdb: changed accordingly.
53494 2001-05-22 Michael Natterer <mitch@gimp.org>
53497 * app/resolution_calibrate.[ch]: removed
53499 * app/gui/Makefile.am
53500 * app/gui/resolution-calibrate-dialog.[ch]: added
53502 * app/user_install.c
53503 * app/gui/preferences-dialog.c
53504 * po/POTFILES.in: changed accordingly.
53506 * app/core/gimplayer.c: irrelevant doc reformating.
53508 2001-05-22 Sven Neumann <sven@gimp.org>
53510 * app/module_db.c: ported bugfix for #55050 from stable branch.
53512 2001-05-22 Michael Natterer <mitch@gimp.org>
53514 * libgimp/.cvsignore
53515 * libgimp/Makefile.am
53517 * libgimp/gimpfeatures.h.in: removed gimpfeatures.h
53519 * libgimpbase/.cvsignore
53520 * libgimpbase/Makefile.am
53521 * libgimpbase/gimpbase.h
53522 * libgimpbase/gimpbasetypes.h
53523 * libgimpbase/gimpversion.h.in: and added it as gimpversion.h
53525 * configure.in: changed accordingly.
53529 * app/gui/about-dialog.c
53531 * app/pdb/misc_cmds.c
53532 * tools/pdbgen/pdb/misc.pdb: fixed includes.
53534 * plug-ins/bmp/bmpread.c
53535 * plug-ins/bmp/bmpwrite.c
53536 * plug-ins/common/gif.c
53537 * plug-ins/common/gifload.c
53538 * plug-ins/common/jpeg.c
53539 * plug-ins/common/newsprint.c
53540 * plug-ins/common/ps.c
53541 * plug-ins/common/tiff.c
53542 * plug-ins/gdyntext/gdyntextcompat.h
53543 * plug-ins/gimpressionist/gimpressionist.c
53544 * plug-ins/perl/Gimp.xs
53545 * plug-ins/perl/Gimp/Lib.xs
53546 * plug-ins/pygimp/gimpmodule.c
53547 * tools/gimp-remote.c: removed all #ifdef GIMP_HAVE_BLAH
53548 conditionals as they are broken anyway since we changed all
53549 plug-ins with perl scripts shortly before 1.2. Also, refering to
53550 intermediate unstable releases is evil.
53552 2001-05-21 Michael Natterer <mitch@gimp.org>
53558 * app/gdisplay_color.c
53559 * app/gdisplay_color_ui.c
53565 * app/resolution_calibrate.c
53566 * app/undo_history.c
53567 * app/user_install.c
53568 * app/core/gimpbrushpipe.c
53569 * app/core/gimpdata.c
53570 * app/core/gimpgradient.c
53571 * app/core/gimppalette.c
53572 * app/gui/about-dialog.c
53573 * app/gui/file-new-dialog.c
53574 * app/gui/gradient-editor.c
53575 * app/gui/layers-commands.c
53577 * app/gui/palette-editor.c
53578 * app/gui/session.c
53580 * app/gui/tips-dialog.c
53581 * app/pdb/image_cmds.c
53582 * app/pdb/text_tool_cmds.c
53583 * app/tools/curves.c
53584 * app/tools/gimptexttool.c
53585 * app/tools/levels.c
53586 * app/widgets/gimpdnd.c
53587 * app/widgets/gimppreview.c
53588 * libgimp/gimpcolordisplay.h
53589 * libgimpbase/gimpbase.h
53590 * libgimpwidgets/gimpcolorarea.c
53591 * libgimpwidgets/libgimp-glue.c
53592 * plug-ins/common/gih.c
53593 * plug-ins/common/psp.c
53594 * tools/pdbgen/pdb/image.pdb
53595 * tools/pdbgen/pdb/text_tool.pdb: last checkin didn't get all
53596 #include "libgimp/i_dont_exist_any_more.h". This one should make
53597 it compile again without old crap hanging around in <prefix>/include.
53599 2001-05-21 Michael Natterer <mitch@gimp.org>
53601 * libgimp/gimp.def: removed removed symbols :)
53603 * libgimpbase/gimpbase.def
53604 * libgimpbase/makefile.mingw.in
53605 * libgimpbase/makefile.msc: added because they are in EXTRA_DIST.
53606 Will definitely not work before a friendly visit by Tor or Hans.
53608 2001-05-21 Michael Natterer <mitch@gimp.org>
53612 * gimptool-1.4.in: added new directory libgimpbase/
53614 * app/Makefile.am: link against the new lib.
53616 * app/appenums.h: removed the PDB enums which are in
53617 libgimpbase/gimpbasetypes.h now. They are all "Gimp" prefixed.
53619 * app/apptypes.h: #include "libgimpbase/gimpbasetypes.h"
53624 * app/tools/: changed includes and all PDB types.
53626 * app/pdb/*: regenerated.
53628 * libgimp/Makefile.am: don't build libgimpi.a uglyness any more.
53630 * libgimp/gimpenv.[ch]
53631 * libgimp/gimplimits.[hh]
53632 * libgimp/gimpparasite.[ch]
53633 * libgimp/gimpparasiteio.[ch]
53634 * libgimp/gimpprotocol.[ch]
53635 * libgimp/gimpsignal.[ch]
53636 * libgimp/gimpunit.h
53637 * libgimp/gimputils.[ch]
53638 * libgimp/gimpwire.[ch]: removed...
53640 * libgimpbase/*: ...and added here as new library.
53642 * libgimp/gimp.[ch]
53643 * libgimp/gimpdrawable.[ch]
53644 * libgimp/gimpenums.h
53645 * libgimp/gimpimage.[ch]
53646 * libgimp/gimptile.c
53647 * libgimp/gimptypes.h
53648 * libgimp/gimpunit.c: changed accordingly. Added the
53649 gimp_*_add_new_parasite to gimp.[ch], gimpdrawable.[ch] and
53652 * libgimpwidgets/gimppatheditor.c
53653 * libgimpwidgets/gimpquerybox.c
53654 * libgimpwidgets/gimpsizeentry.c
53655 * libgimpwidgets/gimpunitmenu.c
53656 * libgimpwidgets/gimpwidgets.c
53657 * libgimpwidgets/gimpwidgetstypes.h: changed includes accordingly.
53659 * plug-ins/*/Makefile.am
53660 * plug-ins/common/mkgen.pl: link against libgimpbase.
53662 * tools/pdbgen/Makefile.am: scan libgimpbase/gimpbasetypes.h, so
53663 the enums are known to pdbgen...
53665 * tools/pdbgen/enumcode.pl: ...but don't write them out to
53666 libgimp/gimpenums.h
53668 * tools/pdbgen/app.pl: include libgimp/gimpbase.h in all *_cmds.c
53669 files. Added GIMP_ to the type names ganerated in app/.
53671 * tools/pdbgen/enums.pl: regenerated.
53673 * tools/pdbgen/pdb.pl
53674 * tools/pdbgen/pdb/fileops.pdb
53675 * tools/pdbgen/pdb/procedural_db.pdb
53676 * tools/pdbgen/pdb/unit.pdb: changed includes.
53678 Mon May 21 04:08:29 CEST 2001 Marc Lehmann <pcg@goof.com>
53680 * autogen.sh: allow for automake 1.4-p1 and similar version numbers.
53682 2001-05-20 Michael Natterer <mitch@gimp.org>
53684 * app/base/Makefile.am
53685 * app/base/base.[ch]: new files for base_init() and base_exit()
53686 which initialize/shutdown the paint_funcs and the tile_cache.
53688 * app/app_procs.c: removed the stuff here.
53690 * app/widgets/gimpchannellistitem.c: commented out unused code.
53692 2001-05-20 Michael Natterer <mitch@gimp.org>
53695 * plug-ins/script-fu/Makefile.am: put the regex and MMX sources to
53696 EXTRA_DIST so they get distributed unconditionally.
53698 * tools/pdbgen/pdb/layer.pdb: re-enabled the layer_mask procs but
53699 let them use accessors (which don't exist)...
53701 * app/pdb/pdb_glue.h: ... #define the accessors as macros here.
53703 Yes, this is ugly, but I simply don't fully understand pdbgen
53706 * app/pdb/internal_procs.c
53707 * app/pdb/layer_cmds.c
53708 * libgimp/gimplayer_pdb.[ch]: regenerated with the layer_mask
53711 * app/tools/Makefile.am: add the files which are not built to
53714 * pixmaps/Makefile.am
53715 * pixmaps/channel.xbm
53717 * pixmaps/layer.xbm
53718 * pixmaps/linked.xbm
53719 * pixmaps/mask.xbm: removed.
53721 * plug-ins/Makefile.am: build XJT again because the layer_mask
53722 stuff is back. Perl also seems to build again.
53724 * plug-ins/common/aa.c: explicit casting fixes some warnings.
53726 * plug-ins/script-fu/interp_regex.c: #include "config.h".
53728 2001-05-19 Sven Neumann <sven@gimp.org>
53730 * app/main.c: s/USE_GCC_INTEL_MMX/HAVE_ASM_MMX/
53732 * app/path_curves.c: fixed some warnings and changed code so it
53733 does not try to draw unconfigured points.
53735 * app/base/temp-buf.[ch]: added a warning not to use the data field
53736 from the TempBuf struct directly.
53738 2001-05-18 Michael Natterer <mitch@gimp.org>
53740 * app/gui/menus.c: use the correct callback for opening L&C.
53742 * app/widgets/gimpdock.c: set the window title, the WM-name/class
53745 2001-05-16 Michael Natterer <mitch@gimp.org>
53747 * app/general.[ch]: removed search_in_path() and the unused
53750 * app/plug_in.c: added plug_in_search_in_path(), don't include
53754 * app/image_render.c
53755 * app/gui/convert-dialog.c
53756 * app/gui/palette-editor.c
53757 * app/gui/paths-dialog.c
53758 * app/pdb/paths_cmds.c
53759 * app/tools/gimpairbrushtool.c
53760 * app/tools/gimpbezierselecttool.c
53761 * app/tools/gimpblendtool.c
53762 * app/tools/gimpbucketfilltool.c
53763 * app/tools/gimpclonetool.c
53764 * app/tools/gimpconvolvetool.c
53765 * app/tools/gimpdodgeburntool.c
53766 * app/tools/gimperasertool.c
53767 * app/tools/gimpfliptool.c
53768 * app/tools/gimppaintbrushtool.c
53769 * app/tools/gimppainttool.c
53770 * app/tools/gimppenciltool.c
53771 * app/tools/gimpperspectivetool.c
53772 * app/tools/gimprotatetool.c
53773 * app/tools/gimpscaletool.c
53774 * app/tools/gimpsheartool.c
53775 * app/tools/gimpsmudgetool.c
53776 * app/tools/gimptexttool.c
53777 * tools/pdbgen/pdb/paths.pdb: removed useless includes.
53779 2001-05-15 Michael Natterer <mitch@gimp.org>
53781 * app/gimpcontextpreview.[ch]: removed (was not used).
53783 * app/apptypes.h: removed the Guide typedef.
53785 * app/core/core-types.h: added it here as GimpGuide (everything in
53786 core/ must be "Gimp"-prefixed).
53788 * app/gimage.[ch]: removed the global "next_guide_id" variable,
53789 don't destroy the guides in the "destroy" handler.
53791 * app/core/gimpimage.[ch]: destroy them in destroy().
53793 * app/xcf.c: use GimpImage accessors to add the guides, so we
53794 don't need "next_guide_id".
53796 * app/gdisplay.[ch]
53798 * app/core/gimpimage-duplicate.c
53799 * app/tools/gimpcroptool.c
53800 * app/tools/gimpmeasuretool.c
53801 * app/tools/gimpmovetool.[ch]
53802 * app/pdb/guides_cmds.c
53803 * tools/pdbgen/pdb/guides.pdb: s/Guide/GimpGuide/, cleanup.
53805 2001-05-15 Michael Natterer <mitch@gimp.org>
53808 * app/fsdither.h: removed...
53810 * app/core/Makefile.am
53811 * app/core/gimpimage-convert-fsdither.h: ...and added here.
53813 * app/core/gimpimage-convert.c: changed accordingly.
53815 2001-05-15 Michael Natterer <mitch@gimp.org>
53817 * app/gimprc.c: register all parse functions in a hash table
53818 instead of a static array. This way, with some additional ugly
53819 hacking, we get the addresses of the variables in
53820 base/base-config.c registered. The whole config stuff has to be
53821 done properly at some point.
53823 2001-05-15 Michael Natterer <mitch@gimp.org>
53825 * configure.in: new directory app/base/
53828 * app/boundary.[ch]
53829 * app/brush_scale.[ch]
53832 * app/pixel_processor.[ch]
53833 * app/pixel_region.[ch]
53834 * app/pixel_surround.[ch]
53835 * app/temp_buf.[ch]
53837 * app/tile_cache.[ch]
53838 * app/tile_manager.[ch]
53839 * app/tile_manager_pvt.h
53841 * app/tile_swap.[ch]: moved to base/
53843 * app/base/Makefile.am
53844 * app/base/base-types.h
53845 * app/base/*: new directory for the sub-object pixel maniplation
53846 and storage stuff. Does not include Gtk+ or anything outside
53847 base/. Did some cleanup in all files.
53851 * app/core/gimpimage.h: removed types which are now in
53854 * app/base/base-config.[ch]
53855 * app/gimprc.[ch]: put the config variables for base/ to their own
53856 file so base/ doesn not have to include gimprc.h (does not yet
53857 work, i.e. the variables are un-configurable right now)
53859 * app/main.c: set a log handler for "Gimp-Base".
53861 * app/paint-funcs/Makefile.am
53862 * app/paint-funcs/paint-funcs.[ch]: removed the color hash which
53863 maps RGB to color indices because it's a totally standalone system
53864 which has nothing to do with the paint-funcs and introduced a
53865 GimpImage dependency.
53867 paint-funcs/ should be considered on the same sub-object
53868 (glib-only) level as base/, only in a different directory.
53870 * app/core/Makefile.am
53871 * app/core/gimpimage-colorhash.[ch]: put the color hash here.
53873 * app/gimage.c: don't invalidate the color hash here...
53875 * app/core/gimpimage.c: ... but in the colormap_changed() default
53876 inplementation. Initialize the hash in class_init().
53878 * tools/pdbgen/Makefile.am: scan app/base/base-types.h for enums.
53880 * tools/pdbgen/enums.pl: regenerated.
53887 * app/widgets/[the]
53888 * tools/pdbgen/pdb/[place]: changed #includes accordingly. And use
53889 base_config->value instead of the stuff from gimprc.h.
53891 2001-05-14 Michael Natterer <mitch@gimp.org>
53893 * README.patch_xinput_airbrush
53894 * patch_xinput_airbrush: removed because GTK+-2.0 will manage the
53895 number of valuators dynamically.
53897 * app/Makefile.am: some more thinking about subdirectories.
53900 * app/pixel_processor.c
53901 * app/pixel_region.c: removed #include's, code cleanup.
53903 * libgimpwidgets/Makefile.am: install gimpbutton.h
53905 * devel-docs/libgimp/tmpl/gimpadaptivesupersample.sgml
53906 * devel-docs/libgimp/tmpl/gimpbilinear.sgml: removed ...
53908 * devel-docs/libgimpcolor/tmpl/gimpadaptivesupersample.sgml
53909 * devel-docs/libgimpcolor/tmpl/gimpbilinear.sgml: ... and added here.
53911 * devel-docs/libgimp/libgimp-decl.txt
53912 * devel-docs/libgimp/libgimp-sections.txt
53913 * devel-docs/libgimp/libgimp.hierarchy
53914 * devel-docs/libgimp/tmpl/gimpenums.sgml
53915 * devel-docs/libgimpcolor/libgimpcolor-decl.txt
53916 * devel-docs/libgimpcolor/libgimpcolor-docs.sgml
53917 * devel-docs/libgimpcolor/libgimpcolor-sections.txt
53918 * devel-docs/libgimpcolor/libgimpcolor.hierarchy
53919 * devel-docs/libgimpcolor/tmpl/gimpcolortypes.sgml: regenerated.
53921 2001-05-14 Sven Neumann <sven@gimp.org>
53924 * libgimp/Makefile.am: don't reference header files which don't exist
53927 2001-05-14 Sven Neumann <sven@gimp.org>
53929 * app/ops_buttons.[ch]: use GimpButton and connect to extended_clicked.
53932 * app/gui/paths-dialog.c: changed accordingly.
53934 2001-05-14 Sven Neumann <sven@gimp.org>
53937 * app/pixmaps2.h: removed this file ...
53939 * app/tools/Makefile.am
53940 * app/tools/icons.h: ... and readded it here with some changes.
53942 * app/tools/*.c: include the new icons.h file
53944 * app/pdb/procedural_db.[ch]: declare name as const
53946 2001-05-13 Michael Natterer <mitch@gimp.org>
53949 * app/cursorutil.[ch]: removed. Stuff now lives in app_procs.[ch]
53950 and in widgets/gimpcursor.[ch]
53952 * app/appenv.h: added the "gimp_busy" boolean.
53954 * app/app_procs.[ch]: added the "busy" stuff here.
53956 * app/gui/gui.[ch]: "busy" stuff for the gui.
53958 * app/widgets/Makefile.am
53959 * app/widgets/gimpcursor.[ch]: exports only one function:
53960 gimp_cursor_new() which returns a GdkCursor which has to be
53964 * app/appenums.h: removed the cursor types.
53965 * app/widgets/widgets-types.h: added here.
53967 * app/tools/gimpeditselectiontool.[ch]: added
53968 gtkutil_compress_motion() here (will go to some utils file in
53971 * app/tools/tools-types.h: #include "widgets/widgets-types.h"
53973 * app/dialog_handler.c
53974 * app/disp_callbacks.c
53975 * app/gdisplay.[ch]
53979 * app/core/gimpimage-convert.c
53980 * app/core/gimpimage-duplicate.c
53981 * app/core/gimpimage.c
53982 * app/gui/file-open-dialog.c
53983 * app/tools/gimpblendtool.c
53984 * app/tools/gimpbucketfilltool.c
53985 * app/tools/gimpcroptool.c
53986 * app/tools/gimpfuzzyselecttool.c
53987 * app/tools/gimptransformtool.c
53988 * tools/pdbgen/pdb/image.pdb
53989 * app/pdb/image_cmds.c: use the new cursor and "busy" functions.
53992 * app/core/gimpbrush.c: added some ugly cross-includes.
53994 * app/context_manager.c
53995 * app/gdisplay_ops.c
53997 * app/core/gimpdrawable-offset.c
53998 * app/gui/file-save-dialog.c
53999 * app/gui/gradient-editor.c
54000 * app/gui/preferences-dialog.c
54001 * app/tools/gimpbezierselecttool.c
54002 * app/tools/gimpbycolorselecttool.c
54003 * app/tools/gimpclonetool.c
54004 * app/tools/gimpcolorpickertool.c
54005 * app/tools/gimperasertool.c
54006 * app/tools/gimpfliptool.c
54007 * app/tools/gimpinktool.c
54008 * app/tools/gimpiscissorstool.c
54009 * app/tools/gimpmagnifytool.c
54010 * app/tools/gimpmeasuretool.c
54011 * app/tools/gimpmovetool.c
54012 * app/tools/gimppainttool.c
54013 * app/tools/gimprectselecttool.c
54014 * app/tools/gimprotatetool.c
54015 * app/tools/gimpselectiontool.c: removed inclusion of "cursorutil.h"
54017 2001-05-13 Michael Natterer <mitch@gimp.org>
54020 * app/core/core-types.h
54021 * app/tools/tools-types.h: moved some more types to core-types.h
54022 and tools-types.h. Removed AUXILLARY_CHANNEL from the ChannelType
54025 * app/gdisplay.[ch]: removed the "depth" and "color_type" fields
54026 from the struct. Cleaned up the header.
54029 * app/gui/info-window.c: use g_visual->depth instead of
54032 * app/gimphelp.c: #include "core/core-types.h"
54034 * tools/pdbgen/Makefile.am: added app/core/core-types.h to the
54035 list of files to be scanned for enums.
54037 * libgimp/gimpenums.h
54038 * plug-ins/script-fu/script-fu-constants.c
54039 * tools/pdbgen/enums.pl
54040 * app/pdb/drawable_cmds.c
54041 * app/pdb/image_cmds.c
54042 * app/pdb/layer_cmds.c: regenerated.
54044 2001-05-13 Michael Natterer <mitch@gimp.org>
54046 * TODO.xml: some percentage updates.
54048 * autogen.sh: correctly parse latest autoconf's broken "--version"
54051 * app/widgets/Makefile.am
54052 * app/widgets/gimpcontainerview-utils.[ch]: new files which
54053 provide a set of built-in get_name_func()s for GimpContainerView
54054 and GimpContainerMenu.
54056 * app/widgets/gimpcontainermenu.c
54057 * app/widgets/gimpcontainerview.c: use them.
54059 * app/widgets/gimpimagedock.c
54060 * app/gui/dialogs-constructors.c: removed the get_name_func()s here.
54062 2001-05-13 Michael Natterer <mitch@gimp.org>
54064 * app/apptypes.h: removed some forgotten tools types.
54066 * app/tools/tools-types.h: and added them here.
54069 * app/disp_callbacks.[ch]: ported dropping of drawables to the
54073 * app/core/gimpdatafactory.c
54074 * app/core/gimpimage-duplicate.c
54075 * app/core/gimptoolinfo.h
54077 * app/tools/tool_options.c
54078 * app/widgets/gimpchannellistview.c
54079 * app/widgets/gimplayerlistview.c: removed/fixed includes.
54081 * app/gui/brush-select.[ch]
54082 * app/gui/pattern-select.[ch]: removed the display of the current
54083 name (done by the grid view now).
54085 * app/gui/palette-select.c: fixed palette preview size.
54087 * app/gui/dialogs-constructors.c: added get_name() functions for
54088 brushes, patterns, images and palettes.
54090 * app/widgets/gimpcontainergridview.[ch]: added a label for the
54091 name of the active item.
54093 * app/widgets/gimpdnd.[ch]: removed the old drawable DND preview
54096 * tools/pdbgen/app.pl: braino: the $tool_eek hack has to be
54097 initialized to 0 at the beginning of each file, otherwise we end
54098 up including "tools/tools-types.h" everywhere.
54100 * tools/pdbgen/pdb/color.pdb
54101 * tools/pdbgen/pdb/text_tool.pdb
54102 * tools/pdbgen/pdb/tools.pdb: add "tools/tools-types.h" where needed.
54104 * app/pdb/color_cmds.c
54105 * app/pdb/pattern_select_cmds.c
54106 * app/pdb/patterns_cmds.c
54107 * app/pdb/plug_in_cmds.c
54108 * app/pdb/procedural_db_cmds.c
54109 * app/pdb/selection_cmds.c
54110 * app/pdb/undo_cmds.c
54111 * app/pdb/unit_cmds.c: regenerated.
54113 2001-05-12 Adam D. Moss <adam@gimp.org>
54115 * plug-ins/common/animoptimize.c: Cunningly decrease
54116 the efficiency of the plugin. Add semi-broken code
54117 to find or remove the statistical mode pixels across
54118 all frames (ie. the animation background). Checked in
54119 mainly to avoid tree-drift until I have time to finish
54122 2001-05-11 Michael Natterer <mitch@gimp.org>
54125 * app/lc_dialog.[ch]: taken behind the curtain and shot.
54126 (famous words of Seth Burgess on #gimp)
54131 * app/gui/commands.c
54134 * app/gui/preferences-dialog.c: don't #include it or call it's
54135 functions any more.
54137 * app/gui/dialogs-commands.[ch]: added a constructor for a dock
54138 which looks like the old L&C dialog (taken from test-commands.*)
54140 * app/gui/test-commands.[ch]: removed here.
54142 * app/gui/dialogs-constructors.[ch]: wrapped the old
54143 paths-dialog.* stuff in a dockable which can be created only
54144 once. Will go away as soon as the new path stuff is there.
54146 * app/gui/dialogs.c: added the paths dockable, removed lc_dialog.
54148 * app/gui/paths-dialog.c: some changes to make it work without the
54149 lc_dialog around it. Will probably crash randomly and refuse to
54150 update it's contents properly (scheduled for removal).
54152 2001-05-11 Michael Natterer <mitch@gimp.org>
54154 * app/gui/Makefile.am
54155 * app/gui/channels-dialog.[ch]
54156 * app/gui/layers-dialog.[ch]: at the end of their epoch, the
54157 dinosaurs were wiped out by a "cvs remove" impact from space.
54159 * app/lc_dialog.c: changed accordingly.
54161 * app/gui/layer-select.c: use the new preview system (mostly code
54164 * app/gui/menus.c: reorder the dialog factory menu.
54166 2001-05-10 David Neary <dneary@eircom.net>
54168 * app/tools/gimpbycolorselecttool.[ch]
54169 * app/undo.c: Temporarily fixed an issue with undo when
54170 there's a bycolorselect mask on the image - since
54171 gimp_by_color_select_tool_initialize_by_image() should be
54172 a private function, this needs changing.
54174 2001-05-10 Michael Natterer <mitch@gimp.org>
54176 * app/widgets/gimpchannellistview.c: fixed button sensitivity.
54178 * app/widgets/gimpdialogfactory.c: write out newlines to
54179 .sessionrc at the right places.
54181 * app/widgets/gimpdock.c: s/gimp_dockable/gimp-dockable/ makes DND
54182 re-arranging of dialogs work again.
54184 2001-05-10 David Neary <dneary@eircom.net>
54186 * tools/gimp-remote.c: Got rid of some annoying
54187 warnings about stuff like exit not having a prototype.
54188 Included string.h and stdlib.h.
54190 2001-05-10 David Neary <dneary@eircom.net>
54192 * app/tools/gimpbycolorselecttool.[ch]: Activate
54193 "Select by color" tool.
54195 * app/tools/Makefile.am
54196 * app/tools/tools.c
54197 * app/tools/gimptool.[ch]
54198 * app/tools/selection_options.c
54199 * tools/pdbgen/pdb/tools.pdb: Changed accordingly
54201 2001-05-10 Michael Natterer <mitch@gimp.org>
54204 * app/asupsample.[ch]: removed.
54206 * app/core/Makefile.am
54207 * app/core/core-types.h
54208 * app/tools/Makefile.am
54209 * app/tools/tools-types.h: new files.
54211 * app/tools/gimptoolinfo.[ch]: removed.
54212 * app/core/gimptoolinfo.[ch]: added here.
54214 * libgimp/Makefile.am
54216 * libgimp/gimpadaptivesupersample.[ch]
54217 * libgimp/gimpbilinear.[ch]: removed here...
54219 * libgimpcolor/Makefile.am
54220 * libgimpcolor/gimpcolortypes.h
54221 * libgimpcolor/gimpadaptivesupersample.[ch]
54222 * libgimpcolor/gimpbilinear.[ch]: ..and added here.
54224 * tools/pdbgen/app.pl
54225 * tools/pdbgen/pdb/paths.pdb
54227 * app/*.c: changed tons of #include's
54229 2001-05-09 Michael Natterer <mitch@gimp.org>
54232 * app/Makefile.am: added new directory app/core/ for the core
54235 * app/gimage_mask.[ch]
54236 * app/gimpbrush-header.h
54237 * app/gimpbrush.[ch]
54238 * app/gimpbrushgenerated.[ch]
54239 * app/gimpbrushpipe.[ch]
54240 * app/gimpchannel.[ch]
54241 * app/gimpcontainer.[ch]
54242 * app/gimpcontext.[ch]
54243 * app/gimpdata.[ch]
54244 * app/gimpdatafactory.[ch]
54245 * app/gimpdatalist.h
54246 * app/gimpdrawable-desaturate.[ch]
54247 * app/gimpdrawable-equalize.[ch]
54248 * app/gimpdrawable-invert.[ch]
54249 * app/gimpdrawable-offset.[ch]
54250 * app/gimpdrawable-preview.[ch]
54251 * app/gimpdrawable.[ch]
54252 * app/gimpgradient.[ch]
54253 * app/gimpimage-convert.[ch]
54254 * app/gimpimage-duplicate.[ch]
54255 * app/gimpimage-undo.[ch]
54256 * app/gimpimage.[ch]
54257 * app/gimplayer.[ch]
54258 * app/gimplayermask.[ch]
54259 * app/gimplist.[ch]
54260 * app/gimpmarshal.[ch]
54261 * app/gimpobject.[ch]
54262 * app/gimppalette-import.[ch]
54263 * app/gimppalette.[ch]
54264 * app/gimppattern-header.h
54265 * app/gimppattern.[ch]
54266 * app/gimpundo.[ch]
54267 * app/gimpundostack.[ch]
54268 * app/gimpviewable.[ch]: removed these files...
54270 * app/core/*: ...and added them here.
54277 * plug-ins/common/gbr.c
54278 * plug-ins/common/gih.c
54279 * plug-ins/common/pat.c
54281 * tools/pdbgen/Makefile.am
54282 * tools/pdbgen/enums.pl
54283 * tools/pdbgen/pdb.pl
54284 * tools/pdbgen/pdb/*.pdb: changed accordingly.
54286 2001-05-08 Michael Natterer <mitch@gimp.org>
54288 * app/appenums.h: removed GimpDropType.
54289 * app/widgets/widgets-types.h: added GimpDropType.
54291 * app/gui/channels-dialog.c
54292 * app/gui/layers-dialog.c: #include "widgets/widgets-types.h"
54294 2001-05-08 Michael Natterer <mitch@gimp.org>
54297 * app/gimpdnd.[ch]: removed.
54299 * app/widgets/Makefile.am
54300 * app/widgets/gimpdnd.[ch]: and moved here.
54305 * app/gui/about-dialog.c
54306 * app/gui/channels-dialog.c
54307 * app/gui/color-area.c
54308 * app/gui/color-select.c
54309 * app/gui/colormap-dialog.c
54310 * app/gui/gradient-editor.c
54311 * app/gui/indicator-area.c
54312 * app/gui/layers-dialog.c
54313 * app/gui/palette-editor.c
54314 * app/gui/palette-select.c
54315 * app/gui/toolbox.c
54316 * app/tools/gimpblendtool.c
54317 * app/tools/tool_manager.c
54318 * app/tools/tool_options_dialog.c: changed #includes accordingly.
54320 2001-05-08 Michael Natterer <mitch@gimp.org>
54322 * app/appenums.h: added ChannelType.
54323 * app/gimpimage.h: removed ChannelType.
54324 * tools/pdbgen/enums.pl: regenerated.
54326 * app/apptypes.h: don't include libgimpwidgets/gimpwidgetstypes.h
54327 and widgets/widgets-types.h any more.
54333 * app/gui/[many].c: include widgets/widgets-types.h
54335 * app/tools/histogram_tool.h: include widgets/widgets-types.h here
54336 because of an ugly dependency from pdb/color_cmds.c
54338 * app/tools/tool_options_dialog.c
54340 * app/widgets/widgets-types.h: include
54341 libgimpwidgets/gimpwidgetstypes.h and apptypes.h so files in
54342 widgets/ only have to include this file.
54344 * app/widgets/*.c: include widgets-types.h instead of apptypes.h
54346 * app/gimpdrawable-preview.c
54347 * app/gui/gradient-editor.c: removed useless #includes.
54349 2001-05-07 Michael Natterer <mitch@gimp.org>
54351 * app/gimpimage.[hc]: new signal "floating_selection_changed",
54352 removed ancient declaration of _GimpImageRepaintArg.
54354 * app/floating_sel.c
54355 * app/undo.c: emit "floating_selection_changed" where approptiate.
54357 * app/gimage_mask.c: s/"Floated Layer"/"Floating Selection"/
54358 because we view this layer directly now (not some thing with an
54361 * app/gui/layers-commands.c: don't use confusing boolean variables
54362 which indicate that something is not true (reversed their logic).
54364 * app/widgets/Makefile.am
54365 * app/widgets/widgets-types.h
54366 * app/widgets/gimpchannellistitem.[ch]: new widget. Does nothing yet.
54368 * app/widgets/gimpchannellistview.c: set the button box
54369 insensitive when there is a floating selection.
54371 * app/widgets/gimpdrawablelistitem.c: made channel DND work again.
54374 * app/widgets/gimpdrawablelistview.c: connect to
54375 "floating_selection_changed". Fake a change of the active drawable
54376 so the button boxes get updated correctly.
54378 * app/widgets/gimplayerlistview.c: set the sensitivity of the
54381 * app/widgets/gimplistitem.c: create GimpChannelListItems for
54382 channels. Some very ugly code to work around broken
54383 GTK_STATE_INSENSITIVE propagation in list items.
54385 2001-05-06 Michael Natterer <mitch@gimp.org>
54387 * app/widgets/gimpchannellistview.c: enabled setting component
54388 activity. Connect an "extended_clicked" callback to the "To
54389 Selection" button for add/sub/intersect.
54391 * app/widgets/gimpcomponentlistitem.c: removed some commented out
54394 * app/widgets/gimpdrawablelistview.c: stuff.
54396 * app/widgets/gimplayerlistview.c: set "Raise" to insensitive if
54397 the active layer has no alpha.
54399 * libgimpwidgets/gimpbutton.c: fiddle around correctly with
54400 GtkButton's internals.
54402 2001-05-06 Sven Neumann <sven@gimp.org>
54404 * libgimpwidgets/Makefile.am
54405 * libgimpwidgets/gimpwidgets.h
54406 * libgimpwidgets/gimpwidgetstypes.h
54407 * libgimpwidgets/gimpoffsetarea.c
54408 * libgimpwidgets/gimpoffsetarea.h: new widget GimpOffsetArea cut
54409 of the resize dialog, allows to interactively specify offsets when
54410 resizing images or drawables.
54412 * libgimpwidgets/gimppixmap.c: removed empty destroy method.
54414 * app/resize.c: use new GimpOffsetArea.
54416 2001-05-06 Michael Natterer <mitch@gimp.org>
54418 * libgimpwidgets/Makefile.am
54419 * libgimpwidgets/gimpbutton.[ch]: new widget derived from
54420 GtkButton. It adds an "extended_clicked" signal which is emitted
54421 instead of "clicked" if a modifier was pressed.
54423 * libgimpwidgets/gimpchainbutton.[ch]
54424 * libgimpwidgets/gimppixmap.[ch]: removed the opaque typedefs.
54426 * libgimpwidgets/gimpwidgets.h
54427 * libgimpwidgets/gimpwidgetstypes.h: and added them here. Added
54430 * app/widgets/gimpdrawablelistview.c: use GimpButtons for "Raise"
54431 and "Lower" and raise/lower to top/bottom on shift-click.
54433 2001-05-06 Michael Natterer <mitch@gimp.org>
54435 * app/gimpimage.[ch]: renamed "restructure" to "alpha_changed" and
54436 only emit it in flatten(), not in merge_layers().
54439 * app/gimplayer.c: changed accordingly.
54441 * app/widgets/gimpcontainerlistview.c: set both scrollbar policies
54444 2001-05-06 Michael Natterer <mitch@gimp.org>
54446 * app/gimpimage.[ch]: renamed the "resize" signal to "size_changed".
54448 * app/gimage.c: changed accordingly.
54450 * app/undo.c: renamed the "shrink_wrap" to "size_changed", call
54451 gimp_image_size_changed() and let the handlers do the work.
54453 * app/widgets/gimplistitem.[ch]: added a virtual set_preview_size()
54454 method and a default implementation.
54456 * app/widgets/gimplayerlistitem.c: added an inplementation of
54457 set_preview_size() which set's the size of the mask preview.
54459 * app/widgets/gimpchannellistview.c: implement set_preview_size()
54460 and set the size of the component previews.
54462 * app/widgets/gimpcontainerlistview.c: call
54463 gimp_list_item_set_preview_size() instead of resizing the preview
54466 * app/widgets/gimpcontainerview.c: emit "set_preview_size" even if
54467 the size has not changed so we can use it to re-calculate the
54468 preview size on image size change.
54470 * app/widgets/gimpdrawablelistview.c: connect to the image's
54471 "size_changed" signal and trigger preview size re-calculation in
54474 2001-05-06 Michael Natterer <mitch@gimp.org>
54476 * app/appenums.h: added GimpDropMode...
54477 * app/gimpdnd.h: ...removed from here.
54479 * app/gimpimage.[ch]:
54480 - New signal "mode_changed".
54481 - removed "const GimpImage*" from gimp_image_colormap_changed()
54482 because a signal emission is never "const" for the object
54483 which emits the signal.
54484 - Fixed gimp_image_[set|get]_component_[active|visible]():
54485 ALPHA_CHANNEL maps to ALPHA_PIX only in RGB mode, use
54486 ALPHA_G_PIX/ALPHA_I_PIX in GRAY/INDEXED mode.
54488 * app/gimpimage-convert.c
54489 * app/undo.c: call gimp_image_mode_changed().
54491 * app/gimpviewable.c: added an implementation of
54492 "invalidate_preview" which frees the preview temp_buf which may be
54493 attached to the viewable. Subclasses need to chain up now.
54495 * app/gimpdrawable.c
54496 * app/gimpimage.c: chain up in invalidate_preview().
54498 * app/widgets/gimpchannellistview.c: connect to the image's
54499 "mode_changed" signal and rebuild the channel list in the
54502 * app/widgets/gimpcontainerview.h: indentation.
54504 * app/widgets/gimpdockbook.c: set the dockable's context to NULL
54505 in gimp_dockbook_remove()
54507 * app/widgets/gimpimagedock.c: forgot to actually set the dock's
54508 image in gimp_image_dock_new().
54510 * app/gui/dialogs-constructors.c: added a get_name_func() for tool
54511 views which returns the tool's "blurb". It's safe to assume now
54512 that a dockable's context will exist as long as the dockable
54513 exists unless it's explicitely set to NULL, so remove ugly hacks
54514 handling context destruction.
54516 * app/tools/gimptool.c: removed COMPAT_CRUFT and useless #include's.
54518 2001-05-04 Michael Natterer <mitch@gimp.org>
54521 * devel-docs/Makefile.am
54522 * devel-docs/libgimpcolor/*
54523 * devel-docs/libgimpmath/*
54524 * devel-docs/libgimpwidgets/*: added new gtk-doc modules for
54525 libgimpcolor, libgimpmath and libgimpwidgets. Moved existing
54526 documentation from the old files to the new templates.
54528 * devel-docs/libgimp/*: regenerated all files and removed the
54529 stuff which is in the new modules now.
54531 * libgimpwidgets/gimpcolorarea.c
54532 * libgimpwidgets/gimpcolorbutton.[ch]: some documentation fixes.
54534 * po-libgimp/Makefile.in.in
54535 * po-plug-ins/Makefile.in.in
54536 * po-script-fu/Makefile.in.in: updated.
54538 2001-05-03 Michael Natterer <mitch@gimp.org>
54540 * app/apptypes.h: removed typedefs from the widgets/ subdir.
54542 * app/widgets/Makefile.am
54543 * app/widgets/widgets-types.h: new file.
54545 * app/widgets/gimpcontainermenu.[ch]
54546 * app/widgets/gimpcontainerview.[ch]: synced them again and added a
54549 * app/widgets/gimplistitem.[ch]
54550 * app/widgets/gimpmenuitem.[ch]: add a "get_name_func" and use it
54551 to get the item's name.
54553 * app/widgets/gimpcontainerlistview.c
54554 * app/widgets/gimpcontainermenuimpl.c: pass the get_name_func to
54557 * app/widgets/gimpchannellistview.c: gtk_widget_queue_resize() the
54558 component frame after changing the image.
54560 * app/widgets/gimpcomponentlistitem.c: set a custom
54561 get_name_func() so the components are named Red, Green, ... again.
54563 * app/widgets/gimpimagedock.c: set a custom get_name_func() which
54564 returns names like in the old L&C dialog's image menu.
54566 * tools/pdbgen/Makefile.am: don't scan apptypes.h for enums.
54568 2001-05-03 Michael Natterer <mitch@gimp.org>
54570 * app/app_procs.c: don't #include "gui/color-select.h"
54572 * app/disp_callbacks.[ch]: renamed gdisplay_drop_viewable() to
54573 gdisplay_drop_pattern().
54575 * app/gimpimage.[ch]: added new signals
54576 "component_visibility_changed" and "component_active_changed" and
54577 emit them in the resp. accessors.
54579 * app/interface.c: removed old GimpPreview test code.
54581 * app/widgets/Makefile.am
54583 * app/widgets/gimpchannellistview.[ch]
54584 * app/widgets/gimpcomponentlistitem.[ch]: new (unfinished) widgets.
54586 * app/widgets/gimpdockbook.c: switch to the right-clicked notebook
54587 page before showing the menu.
54589 * app/widgets/gimpdrawablelistitem.[ch]: removed the protected
54590 functions which make the toggle buttons look nicer...
54592 * app/widgets/gimplistitem.[ch]: ...and added them here.
54594 * app/widgets/gimpdrawablelistview.[ch]: virtualized set_image()
54595 so subclasses can properly (dis)connect on image change.
54597 * app/widgets/gimpdrawablepreview.c
54598 * app/widgets/gimpimagepreview.[ch]: removed the calc_size()
54599 functions which calculate the preview's aspect ratio...
54601 * app/widgets/gimppreview.[ch]: ...and added then here as
54602 protected functions.
54604 * app/widgets/gimplayerlistitem.c: flush displays after changing
54605 the layer mask's "apply" or "show" state.
54607 2001-05-01 Michael Natterer <mitch@gimp.org>
54609 * app/gimpimage.h: removed prototype of function which doesn't
54612 * app/widgets/gimppreview.[ch]: new signal "extended_clicked"
54613 which is emitted instead of "clicked" if the user pressed shift,
54614 control or mod1 on button_press.
54616 * app/widgets/gimplayerlistitem.c: use the "extended_clicked"
54617 signal to toggle the layer mask's "show" and "apply" states.
54619 2001-05-01 Michael Natterer <mitch@gimp.org>
54621 * app/gimpdnd.[ch]: Made file/url DND work like the other DND types.
54622 The drop callback gets passed a GList of filenames.
54623 Provide a default callback which calls file_open_with_display()
54626 * app/docindex.c: changed accordingly.
54628 * app/gui/toolbox.c: same file DND changes and made dropping
54629 drawables work again with the new DND system.
54631 * app/widgets/gimpdrawablelistview.c: properly disconnect from the
54632 image in "destroy".
54634 * app/widgets/gimplayerlistitem.c: gtk_signal_connect_while_alive()
54635 to the layer's "mask_changed" signal.
54637 2001-05-01 Michael Natterer <mitch@gimp.org>
54639 * app/app_procs.c: removed more GUI initialisation code.
54641 * app/color_transfer.c: removed useless includes.
54643 * app/gui/brush-editor.[ch]
54644 * app/gui/dialogs-constructors.c:
54645 s/BrushEditGeneratedWindow/BrushEditor/, s/begw/brush_editor/, made
54646 the brush preview of the editor autoresizing.
54648 * app/gui/dialogs.h: removed "extern" declaration of non-existant
54651 * app/gui/gui.[ch]: new function gui_post_init() which shows the
54654 * app/gui/tips-dialog.c: made signal handling nicer (clean up in a
54655 "destroy" handler).
54657 * app/gui/toolbox.[ch]: removed toolbox_raise(), removed the help
54658 system (de)initialisation code which is now in gui.c, cleanup.
54660 2001-04-30 Dave Neary <dneary@eircom.net>
54662 * app/tools/tool_options.c: Ensure that option widgets are set to
54663 defaults on first call to the _init() function.
54665 2001-04-29 Garry R. Osgood <grosgood@rcn.com>
54666 * plug-ins/plugin-helper/plugin-helper.c
54667 extensions don't have parameters,
54668 but helper_run() was asking anyway -
54669 and segfaulting. Commented out
54670 line for now; everything still seems
54671 prototypical in Plug In Helper Land.
54673 2001-04-29 Michael Natterer <mitch@gimp.org>
54675 * app/gimplayer.[ch]: added a "linked_changed" signal and emit it
54676 in gimp_layer_set_linked().
54678 * app/gui/layers-dialog.c: use the accessor when setting "linked".
54680 * app/widgets/gimpdrawablelistitem.[ch]: made the hacks which make
54681 the buttons look nice inside list items available to subclasses.
54683 * app/widgets/gimplayerlistitem.[ch]: added a "linked" button.
54685 2001-04-29 Michael Natterer <mitch@gimp.org>
54687 * app/widgets/gimpcontainerview.[ch]: added virtual method
54688 context_item() which works like select_item() and activate_item()
54689 and a function to trigger the signal from subclasses (marked as
54692 * app/widgets/gimpcontainerlistview.c: invoke context_item() on
54695 * app/widgets/gimpdrawablelistview.[ch]: implement context_item()
54696 and show a context menu. The functions to show the menu as well as
54697 functions to create a new drawable and to edit it's attriutes must
54698 be passed to the constructor now.
54700 * app/gui/channels-commands.[ch]
54701 * app/gui/layers-commands.[ch]: added functions which show the
54702 layers and channels context menus. No accelerators supported yet.
54703 Auto-destroy all dialogs when their drawable is removed from the
54706 * app/gui/dialogs-constructors.c: changed the calls to
54707 gimp_drawable_list_view_new() accordingly.
54710 * app/gui/test-commands.[ch]: removed some test dialogs.
54712 2001-04-28 David Neary <dneary@eircom.net>
54714 * app/tools/transform_options.[ch]: Separated the transform
54715 options stuff from the gimptransformtool files so that each of the
54716 transform tools to make is available to the other transform tools.
54718 * app/tools/gimptransformtool.c
54719 * app/tools/gimpscaletool.c
54720 * app/tools/gimpsheartool.c
54721 * app/tools/gimprotatetool.c
54722 * app/tools/gimpperspectivetool.c
54723 * app/tools/Makefile.am: Changed accordingly
54725 2001-04-28 Michael Natterer <mitch@gimp.org>
54727 * app/appenums.h: added RunModeType.
54728 * app/plug_in.h: removed RunModeType.
54729 * tools/pdbgen/Makefile.am: don't scan app/plug_in.h for enums.
54730 * tools/pdbgen/enums.pl: regenerated.
54732 * app/file-open.[ch]
54733 * app/file-save.[ch]
54734 * app/file-utils.[ch]: removed all GUI specific code.
54736 * app/gui/Makefile.am
54737 * app/gui/file-dialog-utils.[ch]
54738 * app/gui/file-open-dialog.[ch]
54739 * app/gui/file-save-dialog.[ch]: new files.
54740 Renamed file_open() to file_open_with_display().
54745 * app/gui/commands.c
54747 * app/gui/menus.c: changed accordingly.
54749 2001-04-27 Michael Natterer <mitch@gimp.org>
54751 * app/app_procs.[ch]: removed stuff which now lives in gui/gui.c,
54752 removed global variable "we_are_exiting", made app_init() static.
54754 * app/appenv.h: removed "we_are_exiting".
54756 * app/colormaps.c: don't #include "app_procs.h"
54758 * app/file-open.[ch]
54759 * app/file-save.[ch]: removed the *_pre_init() functions and
54760 renamed the *_post_init() functions to *_menu_init().
54762 * app/gui/gui.c: added more GUI init and shutdown code from
54765 2001-04-26 Michael Natterer <mitch@gimp.org>
54767 * app/widgets/gimpcontainermenuimpl.c: only work around option
54768 menu reference problems if the removed item was the active one.
54770 * app/widgets/gimpimagedock.c: don't try to avoid a recursive
54771 signal emission in gimp_image_dock_image_changed() but work around
54772 it. This makes the image menu work finally.
54774 * app/gui/dialogs-constructors.c: removed debugging output.
54776 2001-04-25 Michael Natterer <mitch@gimp.org>
54778 * app/gimpobject.c: free the object's name on destruction.
54780 * app/gimpparasite.c: gimp_personal_rc_file()'s return value has
54783 * app/main.c: indentation.
54785 Ported memleak fixes from 1.2:
54787 * app/gimpbrush.c: don't leak all pixmaps.
54789 * app/gimpbrushpipe.c: free all the pipe's brushes here.
54791 2001-04-24 David Neary <dneary@eircom.net>
54793 * app/authors.h: Synced this file from the earlier commit.
54796 * app/pdb/tools_cmds.c
54797 * app/tools/Makefile.am
54798 * app/tools/gimpperspectivetool.c
54799 * app/tools/gimpperspectivetool.h
54800 * app/tools/gimprotatetool.c
54801 * app/tools/gimprotatetool.h
54802 * app/tools/gimpsheartool.c
54803 * app/tools/gimpsheartool.h
54804 * app/tools/gimptool.c
54805 * app/tools/gimptool.h
54806 * app/tools/gimptransformtool.c
54807 * app/tools/tools.c
54808 * tools/pdbgen/pdb/tools.pdb: Enabled the rest of the
54809 transform tools and changed some of the options stuff in
54810 transform_options_new(). There are one or two outstanding
54811 (non-critical) runtime problems in that function.
54813 2001-04-24 Michael Natterer <mitch@gimp.org>
54815 * app/authors.h: regenerated.
54817 * app/gui/dialogs-constructors.c: call the drawable views's
54818 set_context() function once explicitly after creation.
54820 * app/gui/dialogs.c
54821 * app/widgets/gimpdialogfactory.[ch]: session management correctly
54822 remembers the dialogs' sizes again.
54824 * app/widgets/gimpcontainermenuimpl.c: set the options menu's
54825 history to "0" after removing a menu item (temp hack because
54826 GtkOptionMenu doesn't handle the removal of the currently active
54829 * app/widgets/gimpimagedock.c: another try to get dock->context's
54830 signals handled correctly. Debugging output will disappear soon.
54832 2001-04-23 David Neary <dneary@eircom.net>
54834 * AUTHORS: Added my name here before being politely
54835 informed that the file is autogenerated. Ooops!
54837 * tools/authorsgen/contributors: Added my name to the
54838 list of contributors.
54840 2001-04-23 Michael Natterer <mitch@gimp.org>
54842 * app/gimpcontext.[ch]: some minor fixes / cleanup.
54844 * app/gimpdata.c: forgot to gtk_object_class_add_signals() in
54847 * app/gui/dialogs-constructors.[ch]: added a tool_tab_func() so
54848 the notebook tab shows a tool preview, pass a GimpContext to all
54849 dialog constructors and added set_context() functions for all
54850 dockable based dialogs so they can be configured to use the
54851 context of the destination dock when dragging them around.
54853 * app/widgets/gimpcontainermenuimpl.c: removed debugging output.
54855 * app/widgets/gimpdialogfactory.[ch]: add a method to create
54856 dockables (which gets passed the dock the dockable will be added
54857 to) so the dockables can be created in the right context.
54859 * app/widgets/gimpdock.[ch]: added a GimpContext attribute, remove
54860 the dockbooks explicitely in destroy().
54862 * app/widgets/gimpdockable.[ch]: dockables now know about their
54863 set_context_func() and can thus be dragged between different
54866 * app/widgets/gimpdockbook.c: gimp_dockbook_add(): refuse to add
54867 dockables to dockbooks which are not part of a dock, set the
54868 dockable's context after adding it.
54870 * app/widgets/gimpimagedock.[ch]: image docks now keep a pointer
54871 to the global image list which is passed to them on construction
54872 so they don't need to know about the global "image_context"
54873 variable, added an "Auto" button like in L&C.
54875 * app/gui/dialogs-commands.c: changed accordingly.
54877 2001-04-23 Sven Neumann <sven@gimp.org>
54879 Merged Yosh's changes from stable branch:
54881 * acinclude.m4: updated libtool stuff
54883 * configure.in: more #undefs so jpeglib.h test works
54885 * plug-ins/common/bumpmap.c: speedup patch from Ernst Lippe
54886 <ernstl@planet.nl> (tile cache size optimization)
54888 2001-04-23 Sven Neumann <sven@gimp.org>
54890 Merged changes from stable branch:
54892 * plug-ins/perl/examples/terral_text: fixed typo.
54894 * plug-ins/perl/examples/image_tile
54895 * plug-ins/perl/examples/yinyang:
54896 applied gimp-kirchgessner-010422-0.patch which fixes problems with
54897 invalid number of parameters passed to some functions.
54899 * plug-ins/script-fu/interp_sliba.c: fixed problems with strbreakup
54900 reported by Mike Kelly <mike@csuchico.edu> (bugs #52383 and #52385)
54902 2001-04-22 Michael Natterer <mitch@gimp.org>
54904 * app/Makefile.am: cleanup.
54906 * app/interface.c: #include "gimpui.h"
54908 * app/gui/dialogs-constructors.[ch]
54909 * app/gui/dialogs.c
54911 * app/gui/test-commands.[ch]: changes for the image menu below.
54914 * app/widgets/Makefile.am
54915 * app/widgets/gimpcontainermenu.[ch]
54916 * app/widgets/gimpcontainermenuimpl.[ch]: new widgets. The actual
54917 implemtation lives in a separate file because
54918 gimpcontainermenu.c's code is identical to gimpcontainerview.c's
54919 except for the base class. This will become an interface with Gtk 2.0.
54921 * app/widgets/gimpimagedock.[ch]: a dock with an image menu. The
54922 pages still don't follow the context correctly.
54924 * app/widgets/gimpmenuitem.[ch]: a menu item with a preview.
54926 * app/widgets/gimpdialogfactory.[ch]: pass a dock constructor to
54927 the constructor and provide a method to create a new dock within
54928 this factory's context.
54930 * app/widgets/gimpdock.[ch]: removed the constructor because we
54931 create only image docks now. Put the vbox into a main_vbox (which
54932 also contains the image menu).
54934 * app/widgets/gimpdockbook.[ch]: create new docks with the dialog
54937 * app/gimpcontainer.[ch]
54938 * app/gimpdata.[ch]
54939 * app/gimpdatafactory.[ch]
54940 * app/gimpdatalist.[ch]
54941 * app/gimplist.[ch]
54942 * app/gimpviewable.[ch]
54943 * app/widgets/gimpbrushpreview.[ch]
54944 * app/widgets/gimpcontainergridview.[ch]
54945 * app/widgets/gimpcontainerlistview.[ch]
54946 * app/widgets/gimpcontainerview.[ch]
54947 * app/widgets/gimpdatafactoryview.[ch]
54948 * app/widgets/gimpdockable.[ch]
54949 * app/widgets/gimpdrawablelistitem.[ch]
54950 * app/widgets/gimpdrawablelistview.[ch]
54951 * app/widgets/gimpdrawablepreview.[ch]
54952 * app/widgets/gimplayerlistitem.[ch]
54953 * app/widgets/gimplayerlistview.[ch]
54954 * app/widgets/gimplistitem.[ch]
54955 * app/widgets/gimppalettepreview.[ch]
54956 * app/widgets/gimppatternpreview.[ch]
54957 * app/widgets/gimppreview.[ch]: ass-sign some copyrights.
54959 2001-04-21 Michael Natterer <mitch@gimp.org>
54963 * app/paths_dialogP.h: removed stuff that will go away anyway (put
54964 the declarations to the public headers).
54966 * app/gimpui.[ch]: new function gimp_widget_get_callback_context()
54967 which may only be called from a *_cmd_callback() and returns the
54968 data we attached with weird methods.
54970 * app/gui/Makefile.am
54971 * app/gui/channels-commands.[ch]: callbacks independent from the
54972 channels dialog and the "new" and "edit channel" dialogs.
54974 * app/gui/channels-dialog.[ch]
54975 * app/gui/layers-commands.c
54976 * app/gui/layers-dialog.[ch]
54977 * app/lc_dialog.[ch]
54979 * app/gui/paths-dialog.[ch]
54980 * app/tools/gimpbezierselecttool.c
54981 * po/POTFILES.in: changed accordingly.
54983 2001-04-20 Michael Natterer <mitch@gimp.org>
54985 * app/gimpui.[ch]: new functions gimp_window_add_accel_group() and
54986 gimp_window_remove_accel_group() which do the ugly accel context
54987 hack described below.
54990 * app/gui/layers-dialog.c: use the new functions.
54992 * app/disp_callbacks.c
54993 * app/gui/layers-commands.c: removed stuff which is now done
54996 2001-04-20 Michael Natterer <mitch@gimp.org>
54999 * app/layers_dialogP.h: removed.
55001 * app/gimpui.[ch]: new function gimp_menu_position().
55003 * app/disp_callbacks.c
55005 * app/gui/layers-dialog.c: popup the image and layers menu with
55006 gtk_item_factory_popup_with_data() instead of gtk_menu_popup()
55007 and pass the GimpImage we're operating on as data.
55009 For accelerators, which are invoked without context, we catch key
55010 press events and attach the context to the GtkItemFactory.
55012 * app/gui/Makefile.am
55013 * app/gui/layers-commands.[ch]: common layer callbacks (instead of
55014 separate ones in commands.c and layers-dialog.c
55016 * app/gui/commands.[ch]
55017 * app/gui/layers-dialog.[ch]: removed the menu callbacks here.
55021 * app/gui/channels-dialog.c
55022 * app/gui/layer-select.c
55024 * po/POTFILES.in: changed accordingly.
55026 2001-04-20 Michael Natterer <mitch@gimp.org>
55028 * app/main.c: set the message handler for all app log domains, not
55031 * app/gui/brush-select.c
55032 * app/gui/gradient-select.c
55033 * app/gui/palette-select.c: removed the "edit" callbacks.
55035 * app/gui/dialogs-constructors.[ch]: Added the callbacks
55036 here. Added layer and channel lists.
55038 * app/gui/dialogs.c: register the new lists.
55039 * app/gui/menus.c: their menu entries.
55041 * app/widgets/gimpdock.c: set a minimal width of 280 pixels.
55043 2001-04-19 Michael Natterer <mitch@gimp.org>
55045 * app/tools/Makefile.am
55046 * app/tools/gimpclonetool.[ch]
55047 * app/tools/gimpconvolvetool.[ch]
55048 * app/tools/gimppainttool.c
55049 * app/tools/gimptool.h
55050 * app/tools/paint_options.c
55051 * app/tools/tool_manager.c
55052 * app/tools/tools.c: Applied a patch from Dave Neary
55053 <dneary@eircom.net> which brings clone and convolve back.
55055 That's all paint tools, Dudes!
55057 2001-04-19 Michael Natterer <mitch@gimp.org>
55060 * app/brush_header.h
55061 * app/pattern_header.h
55062 * app/desaturate.[ch]
55063 * app/equalize.[ch]
55064 * app/invert.[ch]: removed.
55066 * app/gimpbrush-header.h
55067 * app/gimppattern-header.h
55068 * app/gimpdrawable-desaturate.[ch]
55069 * app/gimpdrawable-equalize.[ch]
55070 * app/gimpdrawable-invert.[ch]: new files.
55072 * app/gui/commands.c: put some stuff from desaturate, equalize and
55073 invert here. While it's ok to check the drawable type in the
55074 callback, this is the wrong place for PDB wrappers.
55077 * app/gimpbrushpipe.c
55079 * app/gimppattern.c
55080 * app/pdb/color_cmds.c
55081 * plug-ins/common/gbr.c
55082 * plug-ins/common/gih.c
55083 * plug-ins/common/pat.c
55085 * tools/pdbgen/pdb/color.pdb: changed accordingly.
55087 2001-04-18 Michael Natterer <mitch@gimp.org>
55089 * app/gimpdrawable-offset.[ch]: renamed ChannelOffsetType to
55092 * app/pdb/channel_ops_cmds.c
55093 * libgimp/gimpchannelops_pdb.[ch]
55094 * tools/pdbgen/pdb/channel_ops.pdb: removed.
55096 * tools/pdbgen/pdb/drawable.pdb
55097 * tools/pdbgen/pdb/image.pdb: put the "offset" and "duplicate"
55098 functions where they belong.
55100 * app/gui/offset-dialog.c
55101 * app/pdb/Makefile.am
55102 * app/pdb/drawable_cmds.c
55103 * app/pdb/image_cmds.c
55104 * app/pdb/internal_procs.c
55105 * libgimp/Makefile.am
55106 * libgimp/gimp_pdb.h
55107 * libgimp/gimpdrawable_pdb.[ch]
55108 * libgimp/gimpenums.h
55109 * libgimp/gimpimage.h
55110 * libgimp/gimpimage_pdb.[ch]
55111 * tools/pdbgen/Makefile.am
55112 * tools/pdbgen/enumcode.pl
55113 * tools/pdbgen/enums.pl
55114 * tools/pdbgen/groups.pl
55115 * plug-ins/common/guillotine.c
55116 * plug-ins/print/print.c
55117 * plug-ins/script-fu/script-fu-constants.c: changed accordingly.
55119 2001-04-18 Michael Natterer <mitch@gimp.org>
55122 * app/channel_ops.[ch]: removed
55124 * app/gimpdrawable-offset.[ch]
55125 * app/gimpimage-duplicate.[ch]: new files without GUI.
55127 * app/gui/Makefile.am
55128 * app/gui/offset-dialog.[ch]: new files.
55130 * app/gui/commands.c
55131 * app/pdb/channel_ops_cmds.c
55133 * tools/pdbgen/Makefile.am
55134 * tools/pdbgen/enums.pl
55135 * tools/pdbgen/pdb/channel_ops.pdb: changed accordingly.
55137 2001-04-18 Michael Natterer <mitch@gimp.org>
55140 * app/convert.[ch]: removed.
55141 * app/gimpimage-convert.[ch]: new files: the convert functionality
55142 without GUI (now called gimp_image_convert()).
55144 * app/gui/Makefile.am
55145 * app/gui/convert-dialog.[ch]: new files.
55147 * app/gui/commands.c
55148 * app/pdb/convert_cmds.c
55150 * tools/pdbgen/pdb/convert.pdb
55151 * tools/pdbgen/Makefile.am
55152 * tools/pdbgen/enums.pl: changed accordingly.
55154 2001-04-18 Michael Natterer <mitch@gimp.org>
55157 * app/gui/about-dialog.[ch]
55158 * app/gui/preferences-dialog.[ch]
55159 * app/gui/tips-dialog.[ch]: return a GtkWidget from the constructor.
55161 * app/gui/dialogs.c
55162 * app/gui/dialogs-constructors.[ch]: register them with the dialog
55165 * app/gui/commands.[ch]
55166 * app/gui/menus.c: removed their old callbacks.
55168 * app/gui/brush-select.c
55169 * app/gui/gradient-select.c
55170 * app/gui/palette-editor.[ch]: no need to show or raise the shell
55171 (that's done by the dialog factory now).
55173 * app/widgets/gimpdialogfactory.c: actually do what the
55174 "singleton" and "session_managed" flags say.
55176 2001-04-18 Michael Natterer <mitch@gimp.org>
55178 * app/Makefile.am: commented the sections of the file list.
55179 * app/gui/Makefile.am: cleanup.
55181 * app/unittest/*: removed.
55183 2001-04-17 Michael Natterer <mitch@gimp.org>
55186 * app/gui/Makefile.am
55187 * app/about_dialog.[ch]
55188 * app/brush_edit.[ch]
55189 * app/brush_select.[ch]
55190 * app/channels_dialog.[ch]
55191 * app/color_area.[ch]
55192 * app/color_notebook.[ch]
55193 * app/color_select.[ch]
55194 * app/colormap_dialog.[ch]
55195 * app/commands.[ch]
55196 * app/file_new_dialog.[ch]
55197 * app/gradient_editor.[ch]
55198 * app/gradient_select.[ch]
55199 * app/indicator_area.[ch]
55200 * app/info_dialog.[ch]
55201 * app/info_window.[ch]
55202 * app/layer_select.[ch]
55203 * app/layers_dialog.[ch]
55206 * app/palette_import.[ch]
55207 * app/palette_select.[ch]
55208 * app/paths_dialog.[ch]
55209 * app/pattern_select.[ch]
55210 * app/preferences_dialog.[ch]
55212 * app/test_commands.[ch]
55213 * app/tips_dialog.[ch]
55214 * app/toolbox.[ch]: moved to gui/ (s/_/-/ and some more useful
55215 filenames on the way).
55218 * app/context_manager.c
55220 * app/disp_callbacks.c
55221 * app/errorconsole.c
55233 * app/gui/dialogs-constructors.c
55234 * app/pdb/brush_select_cmds.c
55235 * app/pdb/convert_cmds.c
55236 * app/pdb/gradient_select_cmds.c
55237 * app/pdb/pattern_select_cmds.c
55238 * app/tools/gimpcolorpickertool.c
55239 * app/tools/gimpcroptool.c
55240 * app/tools/gimpmagnifytool.c
55241 * app/tools/gimpmeasuretool.c
55242 * app/tools/gimpscaletool.c
55243 * app/tools/gimptransformtool.c
55244 * app/widgets/gimpcolorpanel.c
55245 * tools/pdbgen/pdb/brush_select.pdb
55246 * tools/pdbgen/pdb/convert.pdb
55247 * tools/pdbgen/pdb/gradient_select.pdb
55248 * tools/pdbgen/pdb/pattern_select.pdb
55249 * po/POTFILES.in: changed accordingly.
55251 2001-04-17 Michael Natterer <mitch@gimp.org>
55254 * app/gimprc.c: removed the old dialog session management code...
55256 * app/widgets/gimpdialogfactory.[ch]: ...and manage all dialogs here.
55258 * app/gui/dialogs-constructors.[ch]: dialog factory compliant
55259 constructors for all session managed toplevel dialogs.
55261 * app/brush_select.[ch]
55263 * app/docindex.[ch]
55264 * app/errorconsole.[ch]
55265 * app/gradient_select.[ch]
55266 * app/info_dialog.c
55267 * app/lc_dialog.[ch]
55269 * app/pattern_select.[ch]
55271 * app/tools/tool_options_dialog.[ch]: all dialog constructors have
55272 to return the dialog now (even the legacy ones that will go away).
55273 Removed the session management code as this is now done for the
55274 dialogs, not by them.
55277 * app/color_select.c
55278 * app/commands.[ch]
55279 * app/indicator_area.c
55281 * app/palette_select.c
55282 * app/preferences_dialog.c
55283 * app/gui/dialogs.c
55284 * app/gui/dialogs-commands.[ch]
55286 * app/tools/gimptool.c
55287 * app/widgets/gimpdock.c: changed accordingly.
55289 2001-04-16 Michael Natterer <mitch@gimp.org>
55291 First attempt to get the docks session managed:
55293 * app/gimprc.c: new gimprc type "new-session-info" which will soon
55294 replace the original one.
55297 * app/gui/dialogs.c: s/_/-/g in all dialog identifier strings.
55299 * app/session.[ch]: call the dialog factory's session functions.
55301 * app/test_commands.c: use the dialog factory to create the tabs.
55303 * app/gui/dialogs-commands.c
55304 * app/gui/dialogs-constructors.[ch]: the constructors return widgets,
55307 * app/widgets/gimpdialogfactory.[ch]: maintain a list of dialog
55308 factories in the class struct. Added ugly code to do the GimpDock
55309 session management.
55312 * app/widgets/gimpdock.c: changed accordingly.
55314 2001-04-15 Michael Natterer <mitch@gimp.org>
55316 * app/gui/Makefile.am: new files:
55318 * app/gui/gui.[ch]: the new place for the UI init and shutdown code.
55319 * app/gui/splash.[ch]: a separate file for the splash.
55321 * app/app_procs.c: removed lots of stuff. Still much UI code left.
55323 2001-04-15 Michael Natterer <mitch@gimp.org>
55325 * app/menus.[ch]: changed all menus_get_*() functions to return
55326 the GtkItemFactory, not separate widget, and accel_group
55327 pointers. Disabled automatic tearoff item creation for all
55328 factories axcept the toolbox and image factory.
55330 * app/channels_dialog.c
55334 * app/layers_dialog.c
55335 * app/paths_dialog.c
55336 * app/toolbox.c: changed accordingly.
55338 2001-04-15 Michael Natterer <mitch@gimp.org>
55341 * app/paletteP.h: removed
55344 * app/palette_select.c: changed accordingly.
55347 * app/gui/Makefile.am: some more preparation for file moving.
55349 2001-04-15 Michael Natterer <mitch@gimp.org>
55351 * app/Makefile.am: grouped the files together which will go to gui/.
55353 * app/widgets/gimpdialogfactory.[ch]: maintain a list of open
55354 GimpDocks for session management.
55356 * app/widgets/gimpdock.c: register open docks with the dialog
55359 * app/widgets/gimpdockable.[ch]
55360 * app/widgets/gimpdockbook.c: pass a pointer to the GimpDockbook
55361 to the GimpDockable's "get_tab" function because the function is
55362 called before the dockable is added to the dockbook.
55364 * app/test_commands.c
55365 * app/gui/dialogs-constructors.[ch]
55366 * app/gui/dialogs.c: changed accordingly.
55368 2001-04-14 Michael Natterer <mitch@gimp.org>
55370 * app/menus.c: added some more dialog types.
55372 * app/gui/Makefile.am
55373 * app/gui/gimpdialogfactory.[ch]: removed again...
55375 * app/widgets/Makefile.am
55376 * app/widgets/gimpdialogfactory.[ch]: ...and added where it belongs.
55378 * app/gui/dialogs.c
55379 * app/widgets/gimpdock.c: changed #include's
55381 * app/gui/dialogs-commands.c: dialogs can be removed via the menu
55384 * app/widgets/gimpdockbook.c: ref the dockbook while the item
55385 factory is active because an item factory callback may destroy it
55386 (we need to add the hijacked GtkNotebook menu back to the
55389 2001-04-14 Michael Natterer <mitch@gimp.org>
55393 * app/gui/Makefile.am: new directory which will contain all gui code
55394 except widgets (I was tired off adding new files to app/).
55397 * app/gui/gimpdialogfactory.[ch]: factory which produces dialogs
55398 from string descriptions. Should maybe go to widgets/.
55400 * app/gui/dialogs-commands.[ch]: callbacks for the new menu
55403 * app/gui/dialogs-constructors.[ch]: dialog constructors which are
55404 registered with the dialog factory.
55406 * app/gui/dialogs.[ch]: register the dialogs with the factory.
55408 * app/app_procs.c: call dialogs_register().
55410 * app/menus.[ch]: a new item factory for creating dialogs.
55412 * app/test_commands.c
55413 * app/widgets/gimpdock.[ch]: added a dialog factory pointer to the
55416 * app/widgets/gimpdockbook.[ch]: badly (badly!) fiddle around with
55417 GtkNotebook's menu to get it integrated in the GtkItemFactory
55418 which produces new dialogs.
55420 2001-04-13 Michael Natterer <mitch@gimp.org>
55422 * app/pdb/procedural_db.[ch]: removed the ID system from the pdb/
55425 * app/gimpimage.[ch]: ...and temporarily added it back to GimpImage.
55427 The ID stuff is not only used by the PDB but is a more general
55428 type of service which is needed for the PDB, DND and some parts of
55429 the GUI. Finally, a GimpFactory class with subclasses for data
55430 objects, images etc. will maintain the ID spaces.
55432 * app/colormap_dialog.c
55437 * app/gimpdrawable.c
55438 * app/info_window.c
55441 * app/palette_import.c
55442 * app/paths_dialog.c
55445 * app/tools/gimptexttool.c
55446 * tools/pdbgen/pdb.pl
55447 * tools/pdbgen/pdb/image.pdb: use GimpImage's ID functions.
55449 * app/pdb/channel_cmds.c
55450 * app/pdb/channel_ops_cmds.c
55451 * app/pdb/convert_cmds.c
55452 * app/pdb/display_cmds.c
55453 * app/pdb/drawable_cmds.c
55454 * app/pdb/fileops_cmds.c
55455 * app/pdb/guides_cmds.c
55456 * app/pdb/image_cmds.c
55457 * app/pdb/layer_cmds.c
55458 * app/pdb/parasite_cmds.c
55459 * app/pdb/paths_cmds.c
55460 * app/pdb/selection_cmds.c
55461 * app/pdb/text_tool_cmds.c
55462 * app/pdb/tools_cmds.c
55463 * app/pdb/undo_cmds.c: regenerated.
55465 2001-04-13 Michael Natterer <mitch@gimp.org>
55467 * app/gimpdnd.c: added a DND type for GimpImage.
55469 * app/tools/tools.c: don't register bezier select twice.
55471 * app/widgets/gimpdockbook.[ch]: hacked the popup menu a bit.
55473 2001-04-11 Stanislav Brabec <utx@penguin.cz>
55475 On request of Martin Weber <martweb@gmx.net>:
55476 * plug-ins/bmp/bmpread.c:
55477 GIMP couldn't read bmp files with a bad chunk. This kind of files
55478 can be found in OS/2 1.x.
55480 2001-04-11 Michael Natterer <mitch@gimp.org>
55482 * app/tools/Makefile.am
55483 * app/tools/gimpsmudgetool.[ch]
55484 * app/tools/gimptool.[ch]
55485 * app/tools/paint_options.c
55486 * app/tools/tool_manager.c
55487 * app/tools/tools.c
55488 * app/pdb/tools_cmds.c
55489 * tools/pdbgen/pdb/tools.pdb: applied a (slightly modified) patch
55490 from Dave Neary <dave.neary@palamon.ie> which reactivates the
55493 2001-04-11 Michael Natterer <mitch@gimp.org>
55495 * app/test_commands.c: fixed the dockable names.
55497 * app/tools/gimpbezierselecttool.c: applied patch from Dave Neary
55498 which fixes some minor stuff that was forgotten to port.
55500 * app/widgets/gimpdockbook.c: set the tooltip of the notebook tab
55501 also if it is a plain label.
55503 2001-04-11 Simon Budig <simon@gimp.org>
55505 * app/tools/gimppathtool.[ch]
55506 * app/tools/path_tool.[ch]
55508 Some tweaks to make gcc and mitch more happy.
55510 2001-04-11 Simon Budig <simon@gimp.org>
55512 * app/path_curves.[ch]
55513 * app/tools/gimpdrawtool.c
55514 * app/tools/gimppathtool.[ch]
55515 * app/tools/path_tool.[ch]
55516 * app/tools/path_toolP.h
55518 At least now it looks as if it could do something sometimes...
55520 2001-04-11 Michael Natterer <mitch@gimp.org>
55523 * app/widgets/*: new directory containing all widgets. Some of them
55524 will go to libgimpwidgets.
55526 * app/color_panel.[ch]
55527 * app/gimpbrushpreview.[ch]
55528 * app/gimpconstrainedhwrapbox.[ch]
55529 * app/gimpcontainergridview.[ch]
55530 * app/gimpcontainerlistview.[ch]
55531 * app/gimpcontainerview.[ch]
55532 * app/gimpdatafactoryview.[ch]
55533 * app/gimpdock.[ch]
55534 * app/gimpdockable.[ch]
55535 * app/gimpdockbook.[ch]
55536 * app/gimpdrawablelistitem.[ch]
55537 * app/gimpdrawablelistview.[ch]
55538 * app/gimpdrawablepreview.[ch]
55539 * app/gimpgradientpreview.[ch]
55540 * app/gimpimagepreview.[ch]
55541 * app/gimplayerlistitem.[ch]
55542 * app/gimplayerlistview.{ch]
55543 * app/gimplistitem.[ch]
55544 * app/gimppalettepreview.[ch]
55545 * app/gimppatternpreview.[ch]
55546 * app/gimppreview.[ch]
55547 * app/gimptoolinfopreview.[ch]
55548 * app/gtkhwrapbox.[ch]
55549 * app/gtkvwrapbox.[ch]
55550 * app/gtkwrapbox.[ch]
55551 * app/histogramwidget.[ch]: removed from here.
55555 * app/brush_select.c
55556 * app/channels_dialog.c
55559 * app/gimpdrawable-preview.c
55560 * app/gimphistogram.h
55561 * app/gradient_editor.c
55562 * app/gradient_select.c
55563 * app/indicator_area.c
55564 * app/info_window.c
55566 * app/palette_select.c
55567 * app/pattern_select.c
55569 * app/test_commands.c
55571 * app/pdb/color_cmds.c
55572 * app/tools/paint_options.c
55573 * app/tools/tool_options_dialog.c
55574 * tools/pdbgen/pdb/color.pdb: changed accordingly.
55576 2001-04-10 Michael Natterer <mitch@gimp.org>
55578 * app/gimpdock.c: started to add some more separator event handling.
55580 * app/gimppalettepreview.c: we don't want a popup if n_colors == 0.
55582 * app/test_commands.c: cleanup.
55584 2001-04-10 Sven Neumann <sven@gimp.org>
55586 * app/tools/posterize.c
55587 * plug-ins/common/fractaltrace.c
55588 * plug-ins/common/illusion.c
55589 * plug-ins/flame/flame.c
55590 * plug-ins/gfig/gfig.c
55591 * plug-ins/gimpressionist/general.c
55592 * plug-ins/imagemap/imap_cmd_guides.c
55593 * plug-ins/mosaic/mosaic.c
55594 * plug-ins/winsnap/winsnap.c: merged i18n fixes from stable branch
55596 2001-04-10 Michael Natterer <mitch@gimp.org>
55600 * app/gimpdockbook.[ch]: new object (the notebook separated out
55603 * app/gimpdnd.h: new DND type "DIALOG".
55605 * app/gimpdock.[ch]
55606 * app/gimpdockable.[ch]: DND mostly works now.
55609 * app/test_commands.[ch]: updated.
55611 2001-04-08 Sven Neumann <sven@gimp.org>
55613 * plug-ins/bmp/bmp.c
55614 * plug-ins/common/jpeg.c
55615 * plug-ins/common/mpeg.c
55616 * plug-ins/common/png.c
55617 * plug-ins/common/tiff.c
55618 * plug-ins/common/xpm.c
55619 * plug-ins/twain/twain.c
55620 * plug-ins/winsnap/winsnap.c: ported I18N initialization fixes from
55623 2001-04-07 Michael Natterer <mitch@gimp.org>
55625 * app/paint_funcs.c
55626 * app/paint_funcs.h
55627 * app/paint_funcs_simd.S: removed the old files.
55629 * tools/pdbgen/Makefile.am
55631 * app/channel_ops.c
55632 * app/channels_dialog.c
55634 * app/disp_callbacks.c
55635 * app/floating_sel.c
55637 * app/gimage_mask.c
55638 * app/gimpchannel.c
55639 * app/gimpdrawable-preview.c
55640 * app/gimpdrawable.c
55643 * app/gimplayermask.c
55644 * app/global_edit.c
55647 * app/layers_dialog.c
55651 * app/undo_history.c
55652 * app/paint-funcs/paint-funcs.c
55653 * app/tools/gimpairbrushtool.c
55654 * app/tools/gimpblendtool.c
55655 * app/tools/gimpbucketfilltool.c
55656 * app/tools/gimpdodgeburntool.c
55657 * app/tools/gimperasertool.c
55658 * app/tools/gimpfliptool.c
55659 * app/tools/gimpinktool.c
55660 * app/tools/gimpiscissorstool.c
55661 * app/tools/gimppaintbrushtool.c
55662 * app/tools/gimppainttool.c
55663 * app/tools/gimppenciltool.c
55664 * app/tools/gimptexttool.c
55665 * app/tools/gimptransformtool.c: changed accordingly.
55667 2001-04-07 Simon Budig <simon@gimp.org>
55671 * app/path_bezier.[ch]
55672 * app/path_curves.[ch]
55674 * app/tools/Makefile.am
55675 * app/tools/gimpdrawtool.[ch]
55676 * app/tools/path_tool.[ch]
55677 * app/tools/path_toolP.h
55678 * app/tools/tools.c
55681 * app/tools/gimppathtool.c
55682 * app/tools/gimppathtool.h
55684 Reactivated (at least partially) the old new path tool. It
55685 will undergo major restructuring. Especially the path stuff
55686 will become proper objects. This definitely is work in progress
55687 and totally unuseable now.
55689 2001-04-07 Michael Natterer <mitch@gimp.org>
55693 * app/paint-funcs/.cvsignore
55694 * app/paint-funcs/Makefile.am: made the paint-funcs directory compile
55695 so Prof can continue hacking it. The old stuff still needs to be
55699 * app/gimpdock.[ch]
55700 * app/gimpdockable.[ch]: new widgets (not used yet).
55703 * app/test_commands.[ch]: untested testing code for the new widgets.
55705 2001-04-07 Daniel Egger <egger@suse.de>
55707 * app/paint-funcs/paint-funcs-gray.[ch]
55708 * app/paint-funcs/paint-funcs-graya.[ch]
55709 * app/paint-funcs/paint-funcs-indexed.[ch]
55710 * app/paint-funcs/paint-funcs-indexeda.[ch]
55711 * app/paint-funcs/paint-funcs-rgb.[ch]
55712 * app/paint-funcs/paint-funcs-rgba.[ch]: Added new files seperated
55713 and specialised from paint_funcs.c. Not used so far.
55715 2001-04-07 Michael Natterer <mitch@gimp.org>
55717 * app/tools/gimpairbrushtool.c
55718 * app/tools/gimpdodgeburntool.[ch]
55719 * app/tools/gimperasertool.c
55720 * app/tools/gimppaintbrushtool.[ch]
55721 * app/tools/gimppenciltool.c
55722 * app/pdb/tools_cmds.c
55723 * tools/pdbgen/pdb/tools.pdb: general cleanup of all paint tools we
55724 have so far: reordered/renamed functions to make them look the same,
55725 minor fixes in all files.
55727 2001-04-06 Stanislav Brabec <utx@penguin.cz>
55729 On request of Martin Weber <martweb@gmx.net>:
55730 * plugins/common/tga.c: Fixed bug #52728 - problem in loading
55731 compressed and uncompressed 15 bit tga, compressed 16 bit tga
55732 files and removed a false warning for 32 bit tga files.
55734 2001-04-02 Sven Neumann <sven@gimp.org>
55738 * app/arch/i386/mmx/detect_mmx.S
55739 * app/arch/i386/mmx/paint_funcs_mmx.S
55740 * app/arch/i386/mmx/paint_funcs_mmx.S.m4: split MMX detection out
55741 of paint_funcs_mmx.S and replaced it with a working version (the
55742 old one used to execute an illegal instruction on non-MMX systems).
55744 2001-04-01 Simon Budig <simon@gimp.org>
55746 * nearly all files:
55748 Changed all GUI-Stuff back to Motif (see www.openmotif.org).
55749 Finally we have a professional toolkit here. When you need some
55750 reasons, why GTK+ sucks: See
55751 http://unix.oreilly.com/news/motif_0400.html
55753 2001-04-01 Michael Natterer <mitch@gimp.org>
55755 * app/tools/Makefile.am
55756 * app/tools/gimpairbrushtool.[ch]: back again.
55758 * app/tools/gimptool.[ch]
55759 * app/tools/paint_options.c
55760 * app/tools/tool_manager.c
55761 * app/tools/tools.c: changed accordingly.
55763 2001-03-31 Michael Natterer <mitch@gimp.org>
55766 * app/tools/tool_options_dialog.c: pass the ToolOptions to the
55767 ToolOptionsResetFunc instead of a useless (void).
55769 * app/tools/paint_options.[ch]
55770 * app/tools/selection_options.[ch]: pass ToolOptions pointers here too.
55772 * app/tools/gimpbezierselecttool.c
55773 * app/tools/gimpblendtool.c
55774 * app/tools/gimpbucketfilltool.c
55775 * app/tools/gimpcolorpickertool.c
55776 * app/tools/gimpcroptool.c
55777 * app/tools/gimpdodgeburntool.c
55778 * app/tools/gimpellipseselecttool.c
55779 * app/tools/gimperasertool.c
55780 * app/tools/gimpfliptool.c
55781 * app/tools/gimpfreeselecttool.c
55782 * app/tools/gimpfuzzyselecttool.c
55783 * app/tools/gimpinktool.c
55784 * app/tools/gimpiscissorstool.c
55785 * app/tools/gimpmagnifytool.c
55786 * app/tools/gimpmeasuretool.c
55787 * app/tools/gimppaintbrushtool.c
55788 * app/tools/gimppenciltool.c
55789 * app/tools/gimprectselecttool.c
55790 * app/tools/gimptexttool.c
55791 * app/tools/gimptransformtool.c: changed accordingly. Removed many
55792 "reset" callbacks which just redirected the call to
55793 paint_options_reset() or selection_options_reset().
55795 2001-03-31 Michael Natterer <mitch@gimp.org>
55797 * app/undo.c: made undo_pop_paint() work again.
55799 * app/tools/gimppainttool.[ch]: store the tool ID and the tool
55800 type in the PaintUndo struct.
55802 * app/tools/gimppenciltool.c: removed unused variable.
55804 * app/tools/gimptool.c: removed and reordered STUB()s and cruft.
55806 2001-03-31 Michael Natterer <mitch@gimp.org>
55808 * app/tools/Makefile.am
55809 * app/tools/gimpfliptool.[ch]: applied a patch from Dave Neary
55810 which re-activates this tool. Enabled the tool options too.
55812 * app/tools/gimpbezierselecttool.c
55813 * app/tools/gimpbucketfilltool.c
55814 * app/tools/gimpiscissorstool.c
55815 * app/tools/gimptexttool.c: trivial fixes.
55817 * app/tools/gimptool.c: removed cruft.
55819 * app/tools/gimptransformtool.[ch]: a special case for the flip
55822 * app/tools/tools.c: register the flip tool.
55824 2001-03-31 Michael Natterer <mitch@gimp.org>
55826 * app/tools/bezier_select.[ch]
55827 * app/tools/bezier_selectP.h
55828 * app/tools/transform_core.[ch]
55829 * app/tools/transform_tool.[ch]: removed.
55831 * app/tools/Makefile.am
55832 * po/POTFILES.in: changed accordingly.
55834 * app/tools/gimpbezierselecttool.c: indentation fixes.
55836 * app/tools/gimpdodgeburntool.[ch]: made cursor toggling work
55839 * app/tools/gimpscaletool.[ch]
55840 * app/tools/gimptool.c: minor cleanups like removing STUB()s.
55842 * app/tools/tool_manager.c: applied patch from Dave Neary which
55843 returns useful PDB strings for the paint tools again.
55845 2001-03-31 Michael Natterer <mitch@gimp.org>
55847 * app/undo.c: re-enabled transform undo. Fixes the transform tool
55850 * app/tools/gimptool.[ch]: put tool->ID back because the undo
55851 system uses it. Also, a unique tool serial number will be not too
55852 bad to have once we have module tools.
55854 * app/tools/gimptransformtool.[ch]: changed accordingly.
55856 2001-03-31 Michael Natterer <mitch@gimp.org>
55859 * app/pixel_surround.[ch]: lowlevel stuff taken out of the transform
55862 * app/tools/gimpscaletool.[ch]: minor cleanups, declare
55863 gimp_scale_tool_register() publically.
55865 * app/tools/gimptransformtool.[ch]: removed the PixelSurround stuff,
55866 hardcode tr_tool->interactive to TRUE, removed the no_draw() function,
55867 register the tool options, misc. other fixes and bad hacks that need
55870 (All this non-interactive stuff needs to be done outside the tool
55871 system. A "non-interactive tool" is just pure nonsense)
55873 * app/tools/gimptool.h: spacing.
55875 * app/tools/tool_manager.c: tool_manager_register_tool_options():
55876 return after warning, don't simply continue and crash.
55878 * app/tools/tools.c: register the bezier select tool.
55880 2001-03-30 Michael Natterer <mitch@gimp.org>
55883 * app/disp_callbacks.c
55886 * app/tools/gimppainttool.[ch]
55887 * modules/colorsel_water.c: removed the GTK_HAVE_SIX_VALUATORS stuff
55888 in preparation of gtk 2.0 migration.
55890 2001-03-30 Michael Natterer <mitch@gimp.org>
55893 * app/fileopsP.h: removed...
55895 * app/file-open.[ch]
55896 * app/file-save.[ch]
55897 * app/file-utils.[ch]: ...and split up into more hackable chunks.
55898 (didn't change any logic, just moved the functions around)
55907 * app/pdb/fileops_cmds.c
55909 * tools/pdbgen/pdb/fileops.pdb: changed accordingly (mostly changing
55912 2001-03-30 Michael Natterer <mitch@gimp.org>
55914 * app/app_procs.[ch]: some random cleanups in pre-historic code.
55916 * app/fileops.c: useless cleanup (will be split into file-open.[ch]
55917 and file-save.[ch] soon).
55919 * app/gimppattern.c: implement GimpData's "duplicate" method.
55921 * app/global_edit.c: cleanup in preparation for making a view on a
55922 GimpContainer of cut buffers out of it.
55924 * app/gradient_editor.c: don't let the name entry expand vertically.
55926 * app/menus.c: typos.
55928 2001-03-25 Seth Burgess <sjburges@gimp.org>
55930 * app/tools/gimpbezierselecttool.[ch]: added new files from
55931 Dave Neary <dneary@eircom.net> to give back bezier curves. This
55932 might be entirely replaced at some future point.
55937 * app/path_bezier.[ch]
55938 * app/paths_dialog.c
55939 * app/paths_dialogP.h
55940 * app/tools/Makefile.am
55941 * app/tools/gimpiscissorstool.c
55942 * app/tools/gimptool.c: applied patches to let bezier work again.
55944 2001-03-25 Seth Burgess <sjburges@gimp.org>
55946 * app/tools/paint_options.c : applied 1-line patch by Dave Neary
55947 <dneary@eircom.net> that takes away the warning on startup of
55950 2001-03-25 18:16:50 Adam D. Moss <adam@gimp.org>
55952 * app/convert.c: Define accessor function/macro for histogram
55953 reads and writes. This slows us down a little because we avoid
55954 some of the dirty tricks we used when we knew that the histogram
55955 was a straight 3d array, so I've recovered some of the speed loss
55956 by implementing a 5d accessor function with good locality of
55957 reference. This change is the first step towards quantizing in a
55958 more interesting colourspace than frumpy old RGB.
55960 2001-03-24 Nathan Summers <rock@gimp.org>
55962 * app/tools/gimpscaletool.[ch]: Made the scale tool work again.
55963 Doesn't draw on the screen correctly, but works if you set the
55964 size in the dialog box. Fixing the path tool should solve the
55965 problem. Don't you love wierd dependancies?
55967 * app/tools/gimptool.c: stubbed some more path tool functions.
55969 * app/tools/gimptransformtool.[ch]: fixed some serious problems.
55970 I can't believe Gimp linked before!
55972 * app/tools/Makefile.am
55973 * app/tools/tools.c
55974 * tools/pdbgen/pdb/tools.pdb: changed accordingly
55976 2001-03-23 Seth Burgess <sjburges@gimp.org>
55978 * po-plug-ins/ro.po
55979 * po-script-fu/ro.po
55981 * plug-ins/perl/po/ro.po
55982 * plug-ins/perl/po/tr.po : added empty translation files so it would
55983 compile again. Translators, please add these when you add a new
55984 language, even if they're blank!
55986 2001-03-23 Seth Burgess <sjburges@gimp.org>
55988 * app/tools/Makefile.am
55989 * app/tools/gimpdodgeburntool.[ch]: dodgeburn works again. Non-GUI
55990 disabled, some dialog bugs (gtk complains profusely) hanging around
55993 * app/tools/gimptool.[ch]
55994 * app/tools/gimppainttool.c
55995 * app/tools/paint_options.c
55996 * app/tools/tools.c: changed accordingly.
55999 2001-03-23 Marius Andreiana <mandreiana@yahoo.com>
56001 * configure.in: Added ro (Romanian) to ALL_LINGUAS
56003 2001-03-22 Stanislav Brabec <utx@penguin.cz>
56005 * app/tools/gimpbucketfilltool.c: Bucket fill threshold=0 must
56008 2001-03-18 Sven Neumann <sven@gimp.org>
56010 * tools/pdbgen/app.pl: guard inclusion of <process.h> by G_OS_WIN32
56011 * tools/pdbgen/lib.pl: add include <string.h> if the generated code
56014 * tools/pdbgen/pdb/fileops.pdb: include process.h for G_OS_WIN32.
56016 * libgimp/gimpbrushes_pdb.c
56017 * libgimp/gimpdrawable_pdb.c
56018 * libgimp/gimpgradients_pdb.c
56019 * libgimp/gimpgradientselect_pdb.c
56020 * libgimp/gimpimage_pdb.c
56021 * libgimp/gimppaths_pdb.c
56022 * libgimp/gimppatterns_pdb.c
56023 * libgimp/gimpproceduraldb_pdb.c
56024 * tools/pdbgen/pdb/fileops.pdb: regenerated
56026 2001-03-16 Hans Breuer <hans@breuer.org>
56028 * plug-ins/common/gqbist.c : #define PATH_MAX as _MAX_PATH
56029 if it isn't defined
56031 * plug-ins/common/gz.c : #include <io.h> for win32 _get_osfhandle ()
56033 * plug-ins/gflare/gflare.c : #include <gtk/gtk.h> before using
56036 * plug-ins/twain/twain.c : provide a main () entry point to allow
56037 to build as console application as well
56039 2001-03-16 Hans Breuer <hans@breuer.org>
56042 * app/tools/makefile.msc : adapted to current state of file
56043 renaming/restructuring. Probably will break again soon ...
56045 * app/context_manager.c : needs register_tools () prototype
56048 * app/gimppalette-import.c : #include <string.h> for memcpy, strcmp
56051 * app/pdb/fileops_cmds.c : #include <process.h> /* for _getpid() */
56052 (Yes I know that this is not the right place to change it, but hacking
56053 pdbgen.pl to get platform specific headers is out of my scope)
56055 * app/test_commands.c : explicit casts to (GimpSetDrawableFunc) make
56056 it compile even with strict checks turned on.
56058 * app/undo.c (undo_pop_paint) : return a value even if the function
56059 does nothing at the moment (makes it compile)
56061 * libgimp/gimp.def : updated
56063 * libgimp/gimpcolorselector.h : include <gmodule.h> to make
56064 gimp_color_selector_(un)register prototypes conform to their
56067 * libgimp/gimpfeatures.h : reflect 1.3 version
56069 * libgimpmath/gimpmatrix.c
56070 * libgimpwidgets/gimpdialog.c : more <string.h> inclusion
56072 * libgimp/makefile.msc : moved gimpadativesupersample.c to
56073 libgimpcolor, which makes it reusable from the core, too.
56075 * libgimp/gimp.def : updated
56077 * libgimp/gimpproceduraledb.c : #include <string.h>
56079 * libgimpcolor/gimpcolor.def
56080 * libgimpcolor/makefile.msc : added gimpadaptivesupersample
56082 * libgimpmath/gimpmatrix.c : #include <string.h> for memcmp
56083 * libgimpwidgets/gimpdialog.c - " - for strcmp
56086 2001-03-15 14:51:59Z Marc Lehmann <pcg@goof.com>
56088 * gimptool-1.4.in: Fix --libs-noui so that plug-ins link against
56089 the new library names.
56090 * configure.in: Added the libtool-limitation-workaround to GIMP_LIBS*
56091 env vars so that gimp-perl works again.
56093 2001-03-15 Sven Neumann <sven@gimp.org>
56095 * plug-ins/common/screenshot.c: applied patch from
56096 Tom Holroyd <tomh@po.crl.go.jp> which fixes wrong array size.
56098 2001-03-14 Nathan Summers <rock@gimp.org>
56100 * tools/gimptransformtool.[ch]: merged in all the old transform
56103 * tools/gimptool.h: added dummy GtkTypes for all the transform tools.
56105 2001-03-13 Fatih Demir <kabalak@gtranslator.org>
56107 * configure.in: Added "tr" into ALL_LINGUAS..
56109 2001-03-12 Simon Budig <simon@gimp.org>
56111 * pixmaps/wilber.xpm: Fixed one pixel.
56113 2001-03-12 Michael Natterer <mitch@gimp.org>
56115 * app/gimplayerlistview.c: added some help_data and tooltips.
56117 * app/tools/Makefile.am
56118 * app/tools/gimperasertool.[ch]: one more.
56120 * app/tools/gimppaintbrushtool.[ch]
56121 * app/tools/gimppenciltool.[ch]: made all paint tools look the same.
56123 * app/tools/gimppainttool.c
56124 * app/tools/gimptool.[ch]
56125 * app/tools/paint_options.c
56126 * app/tools/tools.c: changed accordingly.
56128 * pixmaps/anchor.xpm: made it a bit smaller.
56130 * pixmaps/refresh.xpm: replaced with the "Recurrence" icon from
56133 2001-03-12 Michael Natterer <mitch@gimp.org>
56135 * pixmaps/Makefile.am
56136 * pixmaps/edit.xpm: new pixmap. "Someone" needs to go over the
56139 * app/gimpdatafactoryview.c
56140 * app/gimpdrawablelistview.c: use the new icon.
56142 * app/floating_sel.c: stupid: the new gimp_layer_get_opacity()
56143 accessor speaks in normalized [0.0..1.0] values, so the
56144 floating selection was invisible after blindly using it.
56146 * app/gimpimage.c: more stupid: a totally useless sanity clamping
56147 made the composite preview ugly. Fixed.
56149 * app/tools/tool_manager.c: why the heck did this never crash before:
56150 don't dereference a NULL GDisplay pointer.
56152 2001-03-11 Seth Burgess <sjburges@gimp.org>
56154 * app/tools/Makefile.am
56155 * app/tools/gimppenciltool.[ch]: no. 16 for your
56156 pixelling pleasure.
56158 * app/tools/gimptool.[ch]
56159 * app/tools/paint_options.c
56160 * app/tools/tools.c: changed accordingly.
56162 2001-03-11 Michael Natterer <mitch@gimp.org>
56164 * app/tools/Makefile.am
56165 * app/tools/gimpiscissorstool.[ch]: no. 15 is alive.
56167 * app/tools/gimptool.[ch]
56168 * app/tools/selection_options.c
56169 * app/tools/tools.c: changed accordingly.
56171 2001-03-11 Michael Natterer <mitch@gimp.org>
56173 * app/gimplayerlistview.c: minor cleanups.
56175 * app/tools/Makefile.am
56176 * app/tools/gimpblendtool.[ch]: back again.
56178 * app/tools/gimptool.[ch]
56179 * app/tools/paint_options.c
56180 * app/tools/tools.c: changed accordingly.
56182 2001-03-11 Michael Natterer <mitch@gimp.org>
56186 * app/gimplayerlistview.[ch]: new subclass of GimpDrawableListView
56187 (the upcoming replacement of the layers dialog). Connects to the
56188 new GimpLayer signals using the layer container as signal proxy
56191 * app/gimpcontainerview.[ch]: made "set_container" a virtual
56192 function. This is needed by the GimpLayerListView to
56193 connect/disconnect signals. Subclasses implementing this method
56194 MUST obey the following order of instructions:
56196 1. disconnect from signals related to GimpContainerView->container
56198 3. connect to signals related to GimpContainerView->container
56200 And yes, I will add DocBook files for all those new objects :)
56202 * app/gimppreview.[ch]: made "border_color" a GimpRGB instead of
56203 guchar[3]. Added gimp_preview_set_border_color().
56205 * app/gimpcontainergridview.c
56206 * app/gimplayerlistitem.c: use gimp_preview_set_border_color().
56208 * app/gimpcontainerlistview.c
56209 * app/gimpdrawablelistview.c: cleanup.
56211 * app/gimpdrawablelistitem.c: we can safely asume that our parent
56212 widget is a GimpDrawableListView and use it's "reorder_drawable"
56213 function pointer (after checking that it's there).
56215 * app/gimplistitem.c: connect the correct DND type when changing
56216 the container of a list item with "reorderable" enabled.
56218 * app/gimplayer.[ch]: added accessors and "*_changed" signals for
56219 layer->mode, layer->opacity and layer->preserve_trans.
56221 * app/disp_callbacks.c: fixed a FIXME: use the correct bucket fill
56222 tool context again.
56224 * app/tools/paint_options.[ch]: paint_mode_menu_new(): added a
56225 boolean which toggles the "Behind" item on/off to the same
56226 constructor can be used for all paint mode menus.
56228 * app/tools/gimptoolinfo.c: rect. select is the standard tool again.
56230 * app/brush_select.c
56231 * app/floating_sel.c
56233 * app/layers_dialog.c
56234 * app/pdb/layer_cmds.c
56235 * app/tools/gimpeditselectiontool.c
56236 * tools/pdbgen/pdb/layer.pdb: use the new layer accessors and the
56237 paint_mode_menu constructor.
56243 * app/tools/gimppainttool.c
56244 * app/tools/gimptool.c
56245 * app/tools/paint_options.c
56246 * app/tools/tool_manager.c: put the #warning's back inside
56249 2001-03-10 Daniel Egger <egger@suse.de>
56251 * plug-ins/common/sobel.c: Applied patch from
56252 Austin Donnelly to fix rendering of the topmost
56255 2001-03-10 Garry R. Osgood <grosgood@rcn.com>
56258 Inclusion of David's MMX code into Makefile now
56259 depends on prior definition of HAVE_ASM_MMX.
56260 * app/pdb/procedural_db.c
56261 Line 276 cast of va_args to type GimpRGB seems
56262 very problematical on SGI, as the va_args macro
56263 expands to Extreme Ugliness and
56264 (GimpRGB)(Extreme Ugliness) does not compile.
56265 RH Linux seems indifferent and accepts either.
56269 * app/plug_in_cmds.c
56271 * app/tools/gimppainttool.c
56272 * app/tools/gimptool.c
56273 * app/tools/paint_options.c
56274 * app/tools/tool_manager.c
56275 s|#<remark about extreme buggedness>|
56276 /* #<remark about extreme buggedness> */|
56277 Not all compilers are at peace with non-standard
56278 pre-compiler directives. SGI MIPs compilers are
56279 among the latter species.
56281 2001-03-11 Tor Lillqvist <tml@iki.fi>
56283 * plug-ins/common/winclipboard.c: Enhance to also be able to paste
56284 BI_BITFIELDS images, 16- or 32-bit. Global indentation and spacing
56285 fix (use cvs diff -bu2 to see the real differences).
56287 2001-03-09 Nathan Summers <rock@gimp.org>
56289 * app/tools/gimptransformtool.[ch]: it compiles, but probably isn't
56292 * app/tools/Makefile.am: changed accordingly
56294 2001-03-09 Zach Beane <xach@mint.net>
56296 * TODO.xml: Added "Open into layer" entry.
56298 2001-03-09 Michael Natterer <mitch@gimp.org>
56300 * app/tools/Makefile.am
56301 * app/tools/rect_selectP.h: removed.
56303 * app/tools/gimpfreeselecttool.[ch]
56304 * app/tools/gimpfuzzyselecttool.[ch]: reactivated.
56306 * app/tools/gimptool.[ch]: removed STUB()s and old crap.
56308 * app/tools/tools.c: register the new tools.
56310 * app/disp_callbacks.c
56311 * app/tools/selection_options.c: changed accordingly.
56314 * app/tools/gimprectselecttool.c: cleanup.
56316 2001-03-09 Nathan Summers <rock@gimp.org>
56318 * app/tools/gimptransformtool.[ch]: More work on the transform tool.
56319 Still does not compile, but it's much closer.
56321 * app/tools/Makefile.am
56323 * app/undo.c: changed accordingly
56325 2001-03-08 Michael Natterer <mitch@gimp.org>
56327 * app/tools/Makefile.am
56328 * app/tools/gimpellipseselecttool.[ch]
56329 * app/tools/gimprectselecttool.[ch]: new objects based on a (heavily
56330 modified) patch by Dave Neary <dneary@eircom.net>.
56332 * app/tools/gimpfuzzyselecttool.c
56333 * app/tools/gimptool.[ch]
56334 * app/tools/selection_options.c
56335 * app/tools/tools.c: changed accordingly.
56337 2001-03-08 Michael Natterer <mitch@gimp.org>
56340 * app/channel_ops.c
56344 * app/floating_sel.c
56346 * app/gimage_mask.[ch]
56347 * app/gimpchannel.c
56348 * app/global_edit.h
56350 * app/layer_select.[ch]
56351 * app/layers_dialogP.h
56356 * app/undo_history.c
56358 * app/tools/gimpbycolorselecttool.h
56359 * app/tools/gimpcroptool.[ch]
56360 * app/tools/gimpfuzzyselecttool.c
56361 * app/tools/gimppainttool.c
56362 * app/tools/transform_core.h: removed the GImage typedef, cleanup.
56364 2001-03-08 Michael Natterer <mitch@gimp.org>
56366 * app/tools/Makefile.am
56367 * app/tools/[almost *]: lots of files renamed to gimp*tool.[ch]
56370 * app/context_manager.c
56371 * app/disp_callbacks.c
56374 * app/gimage_mask.c
56377 * app/global_edit.c
56378 * app/info_window.c
56382 * app/pdb/text_tool_cmds.c
56383 * app/pdb/tools_cmds.c
56385 * tools/pdbgen/Makefile.am
56386 * tools/pdbgen/enums.pl
56387 * tools/pdbgen/pdb/text_tool.pdb
56388 * tools/pdbgen/pdb/tools.pdb: changed accordingly.
56390 2001-03-06 Simon Budig <simon@gimp.org>
56392 * app/mit.[ch]: Increased Mitch's age by one. Hopefully
56393 this won't break everything.
56395 2001-03-06 Michael Natterer <mitch@gimp.org>
56397 * app/gimage.[ch]: removed the layer mask functions.
56399 * app/gimpchannel.[ch]: added a boolean "dummy" parameter to
56400 gimp_channel_copy() so it has the same signature as
56401 gimp_layer_copy() and can be used by the GimpDrawableListView to
56402 generically duplicate drawables.
56404 * app/gimpcontainerview.c: call "select_item" with a NULL item
56405 before changing the underlying GimpContainer so subclasses have
56406 a chance to update (e.g. set button sensitivity).
56408 * app/gimpdnd.c: folded all the GtkType comparing code into a
56409 utility function (much more readable now).
56411 * app/gimpdrawablelistview.[ch]: activated the "raise", "lower",
56412 "duplicate" and "delete" buttons. I'm not really happy with all
56413 those function pointers passed to the constructor (and the dummy
56414 parameters I've added to some GimpChannel functions) -- OTOH the
56415 generic view maybe worth the "gboolean dummy" cruft hanging around
56416 in the channel class.
56418 * app/gimplayer.[ch]: removed the "apply_mask", "edit_mask" and
56419 "show_mask" booleans ...
56421 * app/gimplayermask.[ch]: .. and added them here together with
56422 proper accessors and "*_changed" signals.
56424 This also makes the layer mask undo code much clearer as we don't
56425 have to store the booleans separately.
56427 * app/gimplayerlistitem.c: badly hacked to acheive the correct
56428 indicator being drawn around the active drawable. This needs
56429 a new GimpPreview function for setting the border color.
56431 * app/gimplistitem.c: smaller horizontal spacing.
56433 * app/gimppreview.[ch]: added the "border_width" parameter also to
56434 gimp_preview_set_size() so we can modify all previews the same way
56437 * app/layers_dialog.c: no need to push an undo group around
56438 the "duplicate layer" code. Was this an artefact or did I miss
56441 * app/channel_ops.c
56442 * app/channels_dialog.c
56443 * app/gimage_mask.c
56444 * app/gimpcontainergridview.c
56445 * app/gimpcontainerlistview.c
56446 * app/gimpdrawablelistitem.c
56447 * app/gimpimage.[ch]
56449 * app/test_commands.c
56452 * app/pdb/channel_cmds.c
56453 * tools/pdbgen/pdb/channel.pdb
56454 * app/pdb/selection_cmds.c
56455 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
56457 * app/pdb/internal_procs.c
56458 * app/pdb/layer_cmds.c
56459 * libgimp/gimplayer_pdb.[ch]
56460 * tools/pdbgen/pdb/layer.pdb: commented out the layer mask accessors
56461 from the perl code, so the functions temporarily disappeared all
56464 * plug-ins/Makefile.am: don't build XJT until the layer mask stuff
56467 * pixmaps/eye.xpm: cropped it to it's minimal size.
56469 2001-03-05 Sven Neumann <sven@gimp.org>
56473 * app/gimpimage-undo.[ch]
56474 * app/gimpundo.[ch]
56475 * app/gimpundostack.[ch]: added new GimpUndo and GimpUndoStack objects
56476 which will be used for the upcoming new undo system. Actually my
56477 current plan for the undo system is to keep it pretty much as it is...
56479 * app/gimpimage.[ch]: added new GimpUndoStacks but temporarily kept
56480 old GSLists around, so I don't break everything now.
56482 2001-03-04 Michael Natterer <mitch@gimp.org>
56484 * app/gimpbrushpreview.c
56485 * app/gimpgradientpreview.c
56486 * app/gimppalettepreview.c
56487 * app/gimppatternpreview.c
56488 * app/gimptoolinfopreview.c: removed all dnd code ...
56490 * app/gimppreview.c: ... and put it where is belongs.
56492 * app/gimpcontext.c: use g_type_is_a() instead of comparing the
56495 * app/gimpdnd.[ch]: same g_type_is_a() fix here. New function
56496 gimp_dnd_viewable_source_unset().
56498 * app/gimpdrawablelistitem.c: gtk_signal_connect_while_alive() to
56499 GimpDrawable's "visibility_changed" fixes a crash here.
56501 * app/gimplayerlistitem.c: check more strictly if DND reordering
56502 of layers is allowed.
56504 * app/gimplistitem.c: more DND reordering checking.
56505 Start drawing the drop indicator at x = name_label->allocation.x
56506 (looks better IMHO).
56508 2001-03-04 Michael Natterer <mitch@gimp.org>
56512 * app/gimplayerlistitem.[ch]: new widget derived from
56513 GimpDrawableListItem (additionally displays the layer mask),
56515 * app/gimplistitem.[ch]: added the preview_size to the struct so
56516 subclasses can create previews at arbitrary times. Removed the
56517 "preview_size" parameter from "set_viewable".
56519 * app/gimpimage.[ch]: removed the layer mask functions because
56520 they belong to GimpLayer.
56522 * app/gimplayer.[ch]: folded the layer mask code from GimpImage
56523 into GimpLayer's layer mask functions. Added a "mask_changed"
56524 signal which is emitted when a mask is added/removed. Added
56525 "push_undo" parameters to the functions so we can use them from
56528 * app/undo.c: instead of badly poking the GimpLayer struct, use
56529 the accessors with push_undo = FALSE.
56531 * app/gimage_mask.c
56532 * app/gimpdrawablelistitem.c
56533 * app/layers_dialog.c
56535 * app/pdb/image_cmds.c
56536 * tools/pdbgen/pdb/image.pdb: changed accordingly.
56538 2001-03-04 Michael Natterer <mitch@gimp.org>
56540 * app/gimpdrawable.[ch]: new function gimp_drawable_set_visible().
56541 Renamed gimp_drawable_visible() to gimp_drawable_get_visible().
56542 Added a "visibility_changed" signal.
56544 * app/gimplistitem.[ch]: new virtual function "set_viewable"
56545 which allows subclasses to connect to the viewable's signals.
56547 * app/gimpdrawablelistitem.[ch]: added an eye button. Implement
56548 "set_viewable" to connect to the "visibility_changed" signal.
56550 * app/gimpchannel.[ch]: removed unused function
56551 gimp_channel_toggle_visibility().
56553 * app/channels_dialog.c
56554 * app/floating_sel.c
56555 * app/gimage_mask.c
56558 * app/layers_dialog.c
56560 * app/pdb/channel_cmds.c
56561 * app/pdb/layer_cmds.c
56562 * app/pdb/pdb_glue.h
56563 * tools/pdbgen/pdb/channel.pdb
56564 * tools/pdbgen/pdb/layer.pdb: removed direct access of
56565 drawable->visible and use the functions instead. Also makes PDB
56566 code generation nicer.
56568 * pixmaps/eye.xpm: cropped it a bit.
56570 2001-03-04 Zbigniew Chyla <cyba@gnome.pl>
56572 * app/commands.c (image_scale_callback),
56573 libgimpwidgets/gimpchainbutton.c (gimp_chain_button_destroy),
56574 libgimpwidgets/gimpcolorbutton.c (gimp_color_button_destroy):
56575 libgimpwidgets/gimppixmap.c (gimp_color_button_destroy):
56576 Move variable assignments out of assertions to allow compilation
56577 with "G_DISABLE_ASSERT" defined.
56579 2001-03-04 Sven Neumann <sven@gimp.org>
56581 * app/preferences_dialog.c (prefs_save_callback): applied a patch
56582 from David Odin <David.Odin@bigfoot.com> that fixes a typo in the code.
56584 2001-03-04 Michael Natterer <mitch@gimp.org>
56588 * app/gimpdrawablelistitem.[ch]
56589 * app/gimplistitem.[ch]: new widgets capable of reordering
56590 themselves using DND.
56592 * app/gimpcontainerlistview.c: removed stuff which is now done
56593 by the GimpListItem.
56595 * app/gimpdnd.[ch]: new function gimp_dnd_get_drag_data(widget)
56596 which returns a GimpViewable using the widget's drag callback.
56598 * app/gimpdrawablelistview.c: implement GimpContainerView's
56599 "insert_item" method and enable reordering for the created
56602 2001-03-03 Michael Natterer <mitch@gimp.org>
56604 * app/appenums.h: renamed ZoomType to GimpZoomZype and added it
56608 * app/disp_callbacks.c
56610 * app/scale.[ch]: changed accordingly.
56612 * app/tools/Makefile.am
56613 * app/tools/magnify.[ch]: back as object.
56615 * app/tools/tool.c: removed the old ToolInfo entry.
56617 * app/tools/tools.c: register it.
56619 2001-03-02 Michael Natterer <mitch@gimp.org>
56621 * app/tools/Makefile.am
56622 * app/tools/gimpselectiontool.[ch]: new files ported by
56623 Dave Neary <dneary@eircom.net>. Changed them a bit to inherit
56624 from GimpDrawTool and added implementations of "modifier_key"
56625 and "oper_update" because they are shared by 4 of the old
56628 2001-03-01 Daniel Egger <egger@suse.de>
56630 * app/fileops.c: Applied patch from Dave Neary to fix
56631 bug 37633 "File->Revert doesn't resize canvas".
56633 2001-03-01 Stanislav Brabec <utx@penguin.cz>
56635 * plugins/common/despeckle.c: Fixed black_level range.
56636 Valid range should be -1..255, not 0..256, because comaparison
56637 is > and <=. Bug became visible after last Martin Weber's fix.
56638 There must be for both black and white levels one extra value
56639 to cover all numbers 0..255.
56641 2001-03-01 Michael Natterer <mitch@gimp.org>
56643 * app/tools/crop.[ch]: we need to override GimpDrawTool's "draw"
56644 method to actually see something.
56646 * app/channels_dialog.c
56647 * app/layers_dialog.c: fixed the crash introduced by the migration
56648 of gimage->layers and gimage->channels to GimpContainer.
56650 2001-02-20 Nathan Summers <rock@gimp.org>
56652 * app/tools/gimptransformtool.c
56653 * app/tools/gimptransformtool.h: Started work on the TransformCore.
56654 Very incomplete. Needs a friendly visit from genmarshal.pl. Not yet
56655 included in the build. Move along now, folks, there's nothing more to
56658 2001-02-28 Nathan Summers <rock@gimp.org>
56661 * app/tools/crop.h: Fixed a couple instances where the crop tool was
56662 incorrectly inheriting from GimpTool instead of GimpDrawTool. The crop
56663 tool still does not work completely correctly on my machine. It does
56664 not show the lines and sometimes it includes garbage.
56666 2001-02-28 Sven Neumann <sven@gimp.org>
56668 Please, do not change the files in app/pdb directly, they are
56669 autogenerated. And, please, whatever you change, type make in
56670 the toplevel srcdir, since pdbgen might decide it has to change
56671 some more files because of your changes.
56673 * app/pdb/layer_cmds.c
56674 * app/pdb/tools_cmds.c
56676 * libgimp/gimpenums.h
56677 * plug-ins/script-fu/script-fu-constants.c
56678 * tools/pdbgen/enums.pl
56679 * tools/pdbgen/pdb/tools.pdb: made everything compile again
56681 2001-02-27 Jay Cox <jaycox@gimp.org>
56685 * app/layers_dialog.c: When adding a layer mask allow the option
56686 of using the current selection (or it's inverse) to initialise
56689 2001-02-28 Michael Natterer <mitch@gimp.org>
56692 * app/gimage.c. #include "tools/tool.h"
56694 * app/tools/edit_selection.[ch]: the arrow_key function is not
56695 a method of edit_selection but of any tool that needs it.
56697 * app/tools/gimppaintbrushtool.c: removed variables.
56699 * app/tools/move.c: use the arrow_key function.
56701 * app/tools/tool_manager.h: removed the include of "tool.h"
56703 2001-02-28 Michael Natterer <mitch@gimp.org>
56705 * app/tools/Makefile.am
56706 * app/tools/edit_selection.[ch]: back as real tool which gets
56707 temporarily pushed to the tool_manager's new tool stack.
56710 * app/tools/text_tool.c: call the edit_selection stuff again.
56712 * app/tools/tool.c: added a STUB().
56714 * app/tools/tool_manager.[ch]: implemented tool_manager_push_tool()
56715 and tool_manager_pop_tool().
56717 2001-02-28 Michael Natterer <mitch@gimp.org>
56719 * app/tools/Makefile.am
56720 * app/tools/bucket_fill.[ch]: one more...
56722 * app/tools/fuzzy_select.c: everything commented out except the
56725 * app/tools/gimpcolorpickertool.c: cosmetic.
56727 * app/tools/paint_options.c: #include "bucket_fill.h"
56729 * app/tools/tool.[ch]: removed STUB()'s.
56731 * app/tools/tools.c: register it.
56733 2001-02-28 Michael Natterer <mitch@gimp.org>
56735 * app/tools/Makefile.am
56736 * app/tools/ink.[ch]: back as object.
56738 * app/tools/paint_options.c: #include "ink.h"
56740 * app/tools/tool.h: removed the type #define.
56742 * app/tools/tools.c: register it.
56744 2001-02-28 Michael Natterer <mitch@gimp.org>
56746 * app/context_manager.[ch]: made the global_paint_options public.
56748 * app/tools/gimptoolinfo.[ch]: added a "tool_context" boolean to
56749 the constructor and create a private context for the tool
56750 initialized with global_paint_options' values.
56752 * app/tools/tool_manager.[ch]: changed tool_manager_register_tool()
56755 * app/tools/gimpcolorpickertool.c
56756 * app/tools/measure.c
56758 * app/tools/text_tool.c: changed accordingly.
56760 * app/tools/paint_options.[ch]: added the fade out and gradient
56761 options here so they can be used by all paint tools.
56763 * app/tools/gimppaintbrushtool.c: removed them here. Changed
56764 the non_gui stuff: removed the non_gui_paint_func and handle
56765 the non_gui stuff in the normal paint method. Allocate a
56766 non_gui_paintbrush instead of the old non_gui_paint_core.
56768 The non_gui stuff will change totally and will be handled
56769 by GimpPaintTool only.
56771 * app/tools/tool.c: removed the STUB()'s again.
56773 2001-02-27 Michael Natterer <mitch@gimp.org>
56775 * app/tools/Makefile.am: build the measure tool again.
56777 * app/tools/gimpcolorpickertool.c: correct prototypes for some
56778 functions so we don't get warnings about incompatible assignments
56779 in "class_init", chain up in "control".
56781 * app/tools/gimpdrawtool.c: added an implementation of "control"
56782 which can be called from subclasses so we don't need to call
56783 GimpDrawTool's methods directly from there.
56785 * app/tools/gimppaintbrushtool.[ch]: create it's tool options so it
56786 doesn't crash. Commented out the non_gui stuff. We need a different
56787 interface for this.
56789 * app/tools/gimppainttool.[ch]: some cleanups: call the draw tool's
56790 "control" function, fixed "cursor_update", fixed indentation.
56792 * app/tools/measure.[ch]: made it work again (properly subclass
56795 * app/tools/tool.c: re-added the non_gui paintbrush STUB()'s
56797 * app/tools/tools.c: don't allocate the non_gui stuff.
56798 GimpPaintTool is an abstract superclass, so we cannot create
56799 an instance of it. Moreover, the current non_gui stuff assumes
56800 that there is something like a "paint_core" and changes it's
56801 virtual function pointers, breaking the object system totally.
56803 2001-02-27 Sven Neumann <sven@gimp.org>
56805 * plug-ins/common/header.c: applied patch from Chuck Mason
56806 <chuckjr@unbounded.com> that fixes wrong output of header plug-in.
56808 2001-02-27 Michael Natterer <mitch@gimp.org>
56812 * app/gimpdrawablelistview.[ch]: new widget. The upcoming replacement
56813 for the layers and channels dialogs.
56815 * app/test_commands.[ch]: put the test dialogs here...
56817 * app/commands.[ch]: ... and made this one clean again.
56819 * app/gimpcontainergridview.c
56820 * app/gimpcontainerlistview.c
56821 * app/gimpcontainerview.[ch]: some signal handling fine tuning.
56823 * app/gimpimage.[ch]: emits "active_layer_changed" and
56824 "active_channel_changed" signals now. The semantics of
56825 gimage->active_layer and gimage->active_channel have changed a bit.
56826 We now have either an active layer _or_ and active channel (there
56827 is no active layer any more if a channel is active).
56829 * app/channel_ops.c
56830 * app/floating_sel.c
56832 * app/layers_dialog.c
56833 * app/menus.c: changed accordingly.
56835 * app/tools/gimpcolorpickertool.c: actually assign the draw_class
56836 vraiable in the class_init function.
56838 * app/tools/gimpdrawtool.[ch]
56839 * app/tools/tool.c: removed the _new() functions because these
56840 objects are abstract superclasses. Did some cleanup.
56841 Nathan, please configure you editor to _not_ produce any tabs
56842 in the source code.
56844 * app/tools/gimppaintbrushtool.[ch]: "blurb" and "help" are tagged
56845 with _(), not N_(). Put the register function to the header.
56847 * po/POTFILES.in: made it compile again.
56849 2001-02-26 Nathan Summers <rock@gimp.org>
56851 * app/tools/gimpdrawtool.c
56852 * app/tools/gimpdrawtool.h
56853 * app/tools/gimppainttool.c
56854 * app/tools/gimppainttool.h
56855 * app/tools/gimppainttool_kernels.h: Created GimpDrawTool and
56856 GimpPaintTool, real classes that replace the old DrawCore and
56861 * app/context_manager.c
56863 * app/gimage_mask.c
56866 * app/gimpbrushgenerated.c
56867 * app/gimpbrushpipe.c
56868 * app/gimpcontext.c
56869 * app/info_window.c
56870 * app/path_transform.h
56872 * app/pdb/tools_cmds.c
56873 * app/tools/Makefile.am
56874 * app/tools/bezier_selectP.h
56875 * app/tools/gimptoolinfo.c
56876 * app/tools/measure.c
56877 * app/tools/measure.h
56879 * app/tools/paint_options.c
56882 * app/tools/tools.c
56883 * app/tools/transform_core.h
56884 * tools/pdbgen/Makefile.am: changed accordingly
56886 * libgimp/Makefile.am: fixed glitch in build
56888 * app/tools/gimpcolorpickertool.c
56889 * app/tools/gimpcolorpickertool.h
56890 * app/tools/gimppaintbrushtool.c
56891 * app/tools/gimppaintbrushtool.h:new names
56895 * app/tools/color_picker.c
56896 * app/tools/color_picker.h
56897 * app/tools/paint_core.c
56898 * app/tools/paint_core.h
56899 * app/tools/paint_core_kernels.h
56900 * app/tools/paintbrush.c
56901 * app/tools/paintbrush.h: removed
56903 2001-02-25 Michael Natterer <mitch@gimp.org>
56905 * app/channel_ops.c
56906 * app/channels_dialog.c
56908 * app/floating_sel.c
56910 * app/gimpimage.[ch]
56911 * app/layer_select.c
56912 * app/layers_dialog.c
56915 * app/tools/move.c: remove direct access of gimage->active_layer and
56916 gimage->active_channel. Reading access is of course harmless, but
56917 gimp_image_set_active_blah() will trigger a signal emission soon.
56919 It will probably be neccessary to change the functions to accept
56920 NULL layers and channels to acheive exactly what weird places like
56921 floating_sel.c did before by setting it directly.
56924 * libgimp/Makefile.am
56925 * libgimpcolor/Makefile.am
56926 * libgimpmath/Makefile.am
56927 * libgimpwidgets/Makefile.am
56928 * plug-ins/libgck/gck/Makefile.am: made linking against stable
56929 GIMP installed in the same prefix work again by renaming all our
56930 libraries explicitly to libgimp<foo>-1.3.* (not as part of the
56931 libtool release but as part of the library name). Removed the
56932 libtool release to avoid double versioning. This has to be
56933 hardcoded in the libraries' Makefile.am ...
56936 * plug-ins/FractalExplorer/Makefile.am
56937 * plug-ins/Lighting/Makefile.am
56938 * plug-ins/MapObject/Makefile.am
56939 * plug-ins/bmp/Makefile.am
56940 * plug-ins/common/Makefile.am
56941 * plug-ins/common/mkgen.pl
56942 * plug-ins/dbbrowser/Makefile.am
56943 * plug-ins/faxg3/Makefile.am
56944 * plug-ins/fits/Makefile.am
56945 * plug-ins/flame/Makefile.am
56946 * plug-ins/fp/Makefile.am
56947 * plug-ins/gap/Makefile.am
56948 * plug-ins/gdyntext/Makefile.am
56949 * plug-ins/gfig/Makefile.am
56950 * plug-ins/gflare/Makefile.am
56951 * plug-ins/gfli/Makefile.am
56952 * plug-ins/gimpressionist/Makefile.am
56953 * plug-ins/helpbrowser/Makefile.am
56954 * plug-ins/ifscompose/Makefile.am
56955 * plug-ins/imagemap/Makefile.am
56956 * plug-ins/maze/Makefile.am
56957 * plug-ins/mosaic/Makefile.am
56958 * plug-ins/pagecurl/Makefile.am
56959 * plug-ins/plugin-helper/Makefile.am
56960 * plug-ins/print/Makefile.am
56961 * plug-ins/rcm/Makefile.am
56962 * plug-ins/script-fu/Makefile.am
56963 * plug-ins/sel2path/Makefile.am
56964 * plug-ins/sgi/Makefile.am
56965 * plug-ins/webbrowser/Makefile.am
56966 * plug-ins/xjt/Makefile.am: ... while all other Makefiles can simply
56967 link against "libgimp<foo>-$(LT_RELEASE).la"
56969 2001-02-24 Michael Natterer <mitch@gimp.org>
56971 * app/pixmaps2.h: commented out "text_width" and "text_height"
56973 * app/tools/Makefile.am
56974 * app/tools/text_tool.[ch]: "It was really dead, Jim!"
56976 * app/tools/tool.c: removed STUBs
56978 * app/tools/tools.c: register it.
56980 2001-02-24 Michael Natterer <mitch@gimp.org>
56982 * TODO.xml: updated.
56985 * app/apptypes.h: prefixed the cursor stuff with "Gimp", added
56986 the new stock tool cursor enum. Removed the old ToolType enum.
56988 * app/cursorutil.[ch]
56989 * app/gdisplay.[ch]: removed the old ToolType enum and prefixed
56990 the functions with "gimp_". Also stripped all "toggle cursor"
56991 stuff from the cursor code, so the new API is easier and not
56992 depending on the tool system.
56994 All existing tool cursors can be used via the new stock tool
56995 cursor enum, so no tool has to fiddle around with bitmap cursors.
56996 There will be an cursorutil function for registering stock tool
56997 cursor types on the fly.
56999 * app/disp_callbacks.c
57000 * app/scroll.[ch]: moved the display scrollbar callbacks from
57001 scroll.[ch] to disp_callbacks.c. Removed some crap from scroll.h
57003 * app/tools/tool.[ch]: removed the BitmapCursor pointers from the
57004 tool class struct and add cursor and toggle cursor IDs to the
57005 GimpTool struct. Work in progress.
57007 * app/dialog_handler.c
57008 * app/tools/bezier_select.c
57009 * app/tools/blend.c
57010 * app/tools/bucket_fill.c
57011 * app/tools/by_color_select.c
57012 * app/tools/clone.c
57013 * app/tools/color_picker.c
57014 * app/tools/convolve.c
57016 * app/tools/dodgeburn.c
57017 * app/tools/edit_selection.c
57018 * app/tools/ellipse_select.c
57019 * app/tools/flip_tool.c
57020 * app/tools/free_select.c
57021 * app/tools/fuzzy_select.c
57023 * app/tools/iscissors.c
57024 * app/tools/magnify.c
57025 * app/tools/measure.c
57027 * app/tools/paint_core.[ch]
57028 * app/tools/perspective_tool.c
57029 * app/tools/rect_select.c
57030 * app/tools/rotate_tool.c
57031 * app/tools/scale_tool.c
57032 * app/tools/shear_tool.c
57033 * app/tools/text_tool.c
57034 * app/tools/transform_core.[ch]: changed accordingly. Did this
57035 "blind" for most tools because they don't compile. The changes are
57036 minimal, so there should be no conflicts.
57038 2001-02-24 Michael Natterer <mitch@gimp.org>
57040 * app/commands.[ch]: added cmd_callbacks for the toolbox and
57041 the preferences dialog.
57043 * app/context_manager.c: cleanup.
57045 * app/gimppreview.[ch]: made gimp_preview_render() public.
57047 * app/gimptoolinfopreview.c
57048 * app/tools/gimptoolinfo.c: the tool previews look nice now but
57049 are still ugly implemented (it renders tons of temp_bufs on each
57052 * app/indicator_area.[ch]: pass a context to the constructor.
57054 * app/menus.c: don't call the toolbox and the prefs dialog
57055 directly but dispatch via commands.[ch]
57057 * app/preferences_dialog.[ch]
57058 * app/toolbox.[ch]: renamed the constructor / raise function, cleanup.
57060 * app/tools/color_picker.c: tried to get the shortcut working again.
57062 * app/tools/paint_options.c: the brush dialog's paint options
57063 are shown/hidden from the context manager now.
57065 2001-02-23 Michael Natterer <mitch@gimp.org>
57067 * app/app_procs.c: removed crap from ancient times when tools
57068 used to be an enum.
57070 * app/brush_select.[ch]: cleaned up the gui and made global paint
57071 mode toggling much simpler by expanding vertically instead of
57074 * app/context_manager.c: removed hack by using a tool manager
57077 * app/gimpcontext.c: use the new standard tool info object. Tools
57078 also _behave_ like all other data types now (can e.g. be
57081 * app/tools/tool.[ch]
57083 * app/tools/gimptoolinfo.[ch]: added an "identifier" which is an
57084 untranslated string with a meaningful prefix and name, e.g.
57085 "gimp:color_picker_tool". Renamed "tool_name" and "tool_desc"
57086 to "blurb" and "help", changed the constructor accordingly.
57087 Added gimp_tool_info_get_standard() to make the context work
57090 * app/tools/tool_manager.[ch]
57091 * app/tools/tools.c: removed the global list of tool class
57092 structures because the tool info list is in place.
57093 Added tool_manager_register_tool_options() which calls
57094 tool_options_dialog_add() and registers the options in the
57095 global_tool_info_list.
57097 * app/tools/Makefile.am
57098 * app/tools/paint_options.[ch]
57099 * app/tools/selection_options.[ch]
57100 * app/tools/tool_options.[ch]
57101 * app/tools/tool_options_dialog.[ch]: build them all again. This
57102 is mostly the old tool options system with minor modifications to
57103 work with the new stuff. The tool options auto-update with the user
57104 context now, so there are no update functions any more.
57108 * app/tools/color_picker.c
57109 * app/tools/measure.c
57110 * app/tools/move.c: changed accordingly.
57112 2001-02-23 Michael Natterer <mitch@gimp.org>
57116 * app/gimptoolinfopreview.[ch]: new widget.
57118 * app/gimppreview.c
57119 * app/tools/gimptoolinfo.c
57120 * app/gimpdnd.c: changed for the tool info preview. Still buggy
57121 and looks a bit funny at the moment :-)
57123 * app/commands.[ch]
57124 * app/menus.c: small new feature: shift-X toggles the whole context.
57126 2001-02-23 Michael Natterer <mitch@gimp.org>
57130 * app/wilber.h: removed some data files from app/
57132 * pixmaps/Makefile.am
57133 * pixmaps/default.xpm
57135 * pixmaps/wilber3.xpm: added them here.
57137 * app/pixmaps2.h: added the "dialog_bits" stuff here.
57139 * app/tips_dialog.c
57140 * app/toolbox.c: use the new XPMs and remove hacks which created
57141 the GdkPixmaps and GtkPreviews manually.
57143 2001-02-22 Simon Budig <simon@gimp.org>
57147 * app/gdisplay.c: Icons now update every 7.5 seconds in the
57148 idle loop. Also the aspect ratio is correct now. Mitch promised
57149 to hack a preferences option to disable this stuff... :-)
57151 Thu Feb 22 18:23:10 GMT 2001 Adam D. Moss <adam@gimp.org>
57153 * tools/pdbgen/pdb/channel.pdb: Save a bunch of slow-witted
57154 old people like myself from having to upgrade PERL for the sake
57157 2001-02-21 Michael Natterer <mitch@gimp.org>
57159 * configure.in: forgot one s/gimptool/gimptool-1.4/
57161 * app/appenums.h: removed "UPDATE_CURSOR" from the ToolAction enum.
57163 * app/context_manager.c: removed the toolbox toggle button updating
57166 * app/toolbox.c: ...and handle it in the toolbox itself.
57168 * app/devices.c: removed some obsolete old tool suff.
57170 * app/tools/Makefile.am
57171 * app/tools/move.[ch]: reactivated. Disabled the edit_selection
57172 stuff for now. We need a way to temporary push tools to some stack
57173 of the tool manager.
57175 * app/tools/tool.[ch]: removed lot of stuff that is obsolete or
57176 handled by the GimpToolInfo object now.
57178 * app/tools/tool_manager.[ch]: stripped all tool options stuff
57179 because they will be able to follow tool changes themselves.
57180 Renamed some functions to be consistent.
57182 * app/tools/tools.c: register the move tool again.
57185 * app/disp_callbacks.c
57186 * app/gimage_mask.c
57187 * app/global_edit.c
57188 * app/tools/color_picker.c
57189 * app/tools/measure.[ch]
57190 * app/tools/tool_options.c: changed accordingly.
57192 2001-02-21 Simon Budig <simon@gimp.org>
57194 * app/disp_callbacks.c
57197 * app/interface.c: Moved the Icon preview stuff to the idle-loop.
57199 2001-02-21 Simon Budig <simon@gimp.org>
57201 * app/interface.c: Fixed stupid bug with the icon preview when
57202 creating the second preview. Please note that it still crashes
57203 on the second image, but this is hopefully not my fault... :-)
57205 2001-02-21 Michael Natterer <mitch@gimp.org>
57207 Made the tool system work again and integrated it back with the
57208 GimpContext. It's a hack between old, new and freshly hacked
57209 stuff. There are still lots of warnings but at least we can switch
57212 * app/tools/Makefile.am
57213 * app/tools/gimptoolinfo.[ch]: resurrected as real object.
57214 The GimpToolInfo objects are derived from GimpData, which gives
57215 us the tool icon stuff for free. Also, we need a list of _objects_
57216 which is allocated all the time. All tools are required to have
57217 a "register" function which registers themselves with the list
57218 of GimpToolInfo objects which is maintained by the tool manager.
57220 * app/tools/tool.[ch]: made a real GtkObject with properly named
57221 functions out of it. The former "active_tool_control" is of
57222 course not the default implementation of the tool's "control"
57223 method but a hack _around_ it, so it went to the tool manager.
57225 * app/tools/color_picker.[ch]
57226 * app/tools/measure.[ch]: ditto. Added "register" functions and
57227 "destroy" implementations so the tools go away after use.
57229 * app/tools/tool_manager.[ch]: badly hacked at the moment to keep
57230 both the list of class structures _and_ the tool info list.
57232 * app/tools/tools.c: call the tools' register functions.
57234 * app/gimpcontext.[ch]: store a pointer to a GimpToolInfo object
57235 as "active_tool" in the context, so we're independent of tools
57236 being allocated or not. It's treated just like a brush or pattern
57239 * app/gimpdnd.[ch]: made tool DND work like all other DND types.
57241 * app/devices.[ch]: also here: the tool is just a normal data object
57242 now, resulting in removal of lots of code.
57245 * app/context_manager.c: updated the tool select and context stuff
57248 * app/toolbox.c: removed the old pixmap buttons and put GimpPreviews
57249 inside the tool buttons. Still needs an own preview type to
57252 * app/disp_callbacks.c
57253 * app/about_dialog.c
57258 * app/gimppalette.c
57259 * app/gimppreview.c
57261 * app/info_window.c
57263 * app/palette_select.h
57265 * app/scroll.c: lots of changes to make it work again.
57267 2001-02-21 Daniel Egger <egger@suse.de>
57269 * app/gimpchecks.h: New file containing the check types.
57271 * app/image_render.h: ... definitions taken from here.
57273 * app/temp_buf.h: New function temp_buf_new_check to create
57274 a new checked temp_buf.
57276 2001-02-20 Simon Budig <simon@gimp.org>
57278 * app/gdisplay.[ch]
57279 * app/disp_callbacks.c
57280 * app/interface.c: Added preliminary support for Preview icons.
57282 This is not finished: We need a better way to get previews with
57283 a specific depth and probably a rendered Checkerboard for the
57284 alpha channel. Also the update function is now bound to a click
57285 in the top left menu-button and should go in some idle-stuff.
57286 Please test this on various window managers and give some
57287 feedback. The last point is the aspect ratio of the generated
57290 2001-02-20 Nick Lamb <njl195@zepler.org.uk>
57292 * libgimpwidgets/gimpwidgets.c: include string.h
57294 2001-02-20 Michael Natterer <mitch@gimp.org>
57296 * app/gimpdnd.[ch]: removed all brush, pattern, gradient and palette
57297 DND functions because there are generic GimpViewable DND functions
57300 * app/disp_callbacks.[ch]
57301 * app/interface.c: changed accordingly.
57303 2001-02-19 Michael Natterer <mitch@gimp.org>
57305 * app/commands.[ch]
57306 * app/menus.c: first version of the new layers and channels dialogs.
57308 * app/gimpcontainergridview.c
57309 * app/gimpcontainerlistview.c: allow creation with a NULL container.
57311 * app/gimpdnd.[ch]: added generic DND functions for all drawable
57312 types (not just setting the DND icon). Started to remove code
57315 * app/gimpdrawablepreview.c: with some magic calculations and ugly
57316 assumptions the drawable previews now look exactly like in the old
57319 * app/gimpimagepreview.c: no need to say "return" at the end of a
57322 * app/gimppreview.[ch]: added the "is_popup" boolean also to the
57323 default constructor. Call gimp_preview_set_viewable() before
57324 calculating the preview size.
57326 2001-02-19 Michael Natterer <mitch@gimp.org>
57329 * app/gimppalette-import.[ch]: new files. The import functions
57330 stripped from all UI crap.
57332 * app/palette_import.c: removed from here.
57334 2001-02-19 Sven Neumann <sven@gimp.org>
57336 * app/gimpimage.[ch]: converted gimage->layers and gimage->channels
57339 * app/channel_ops.c
57340 * app/channels_dialog.c
57343 * app/floating_sel.c
57345 * app/gimpdrawable.c
57346 * app/layers_dialog.c
57350 * app/pdb/display_cmds.c
57351 * app/pdb/image_cmds.c
57352 * app/pdb/layer_cmds.c
57354 * app/tools/edit_selection.c
57355 * tools/pdbgen/pdb/display.pdb
57356 * tools/pdbgen/pdb/image.pdb
57357 * tools/pdbgen/pdb/layer.pdb: changed accordingly
57359 2001-02-19 Michael Natterer <mitch@gimp.org>
57361 * app/gimpcontainer.[ch] (gimp_container_insert): new function.
57363 2001-02-19 Michael Natterer <mitch@gimp.org>
57365 * app/context_manager.c
57366 * app/gimpdatafactory.c
57367 * app/gimpdatalist.[ch]
57368 * app/gimplist.[ch]
57369 * app/module_db.c: return a GimpContainer from all container
57370 subclass constructors.
57372 * app/gimppalettepreview.c
57373 * app/palette.c: changed the preview a bit. Still ugly.
57375 2001-02-19 Michael Natterer <mitch@gimp.org>
57378 * gimptool.in: removed.
57381 * gimptool-1.4.in: added modified versions. gimp-1.4.m4 is untested.
57382 The m4 macro is now called AM_PATH_GIMP_1_4()
57386 * configure.in: changed accordingly.
57388 * libgimp/Makefile.am
57389 * libgimpcolor/Makefile.am
57390 * libgimpmath/Makefile.am
57391 * libgimpwidgets/Makefile.am: install the header files in
57392 $includedir/gimp-MAJOR.MINOR/<libname>
57394 * app/brush_edit.c: increased toplevel container border size to 4.
57396 * app/gimpdatafactoryview.c: don't generate multiple "copy"s when
57397 duplicating data objects.
57399 * app/gradient_editor.c: cleaned up the GUI.
57401 * app/lc_dialog.c: removed the "Close" button.
57403 2001-02-18 Michael Natterer <mitch@gimp.org>
57405 * app/gimpdnd.[ch]: added DND source functions which work by
57409 * app/brush_select.c
57410 * app/gradient_select.[ch]
57411 * app/pattern_select.c: removed the DND code here because it's all
57412 done by the GimpContainerView now.
57414 * app/gimpbrushpreview.c
57415 * app/gimpgradientpreview.c
57416 * app/gimppalettepreview.c
57417 * app/gimppatternpreview.c: use the DND by-type connect functions.
57419 * app/gimpbrushgenerated.c: implemented "duplicate", cleanup.
57421 * app/gimpcontainergridview.c
57422 * app/gimpcontainerlistview.c
57423 * app/gimpcontainerview.[ch]: added a "activate_item" signal
57424 method which is emitted by the subclasses to indicate double click.
57426 * app/gimpdatafactoryview.c: connect to "activate_item" and show
57430 * app/gimppalette.[ch]
57433 * app/palette_import.c
57434 * app/palette_select.[ch]: major cleanup: Behaves like the other
57435 datatypes now: DND, context stuff, GimpContainerListViews in
57436 the dialogs etc. Mostly just removal of code.
57438 * app/gradient_editor.c: fixed signal blocking/unblocking.
57440 * plug-ins/script-fu/scripts/Makefile.am: install the "Test Sphere"
57443 2001-02-17 Michael Natterer <mitch@gimp.org>
57445 * app/gimpcontainer.[ch]
57446 * app/gimpcontainergridview.c
57447 * app/gimpcontainerlistview.c
57448 * app/gimpcontainerview.[ch]
57450 * app/gimpmarshal.[ch]: the GimpContainer has a new virtual "reorder"
57451 method which is much more eficient then the current remove/add
57452 braindeadness when renaming data objects.
57453 Changed the views to connect to "reorder" and call the
57454 GimpContainerView's new "reorder_item" method which then does
57455 the right thing in the view subclasses.
57457 * app/gimpdatafactory.c
57458 * app/gimpdatafactoryview.c
57459 * app/gimpdatalist.[ch]: removed the data list loading and saving
57460 stuff from GimpDataList because that's the job of the
57463 * app/brush_edit.[ch]
57464 * app/brush_select.c: cleanup.
57466 * app/gradient_editor.[ch]: changed it to work like the brush
57467 editor: return a GradientEditor pointer in the constructor
57468 and statically store this pointer in the gradient selection file.
57469 Removed the global "g_editor" variable and added tons of
57470 GradientEditor* variables to function calls so they know their
57471 context without the global variable.
57473 * app/gradient_select.c: changed accordingly.
57475 2001-02-17 Seth Burgess <sjburges@gimp.org>
57477 * app/tools/Makefile.am
57478 * app/tools/measure.[ch]: added back in, changing as needed for basic
57479 operation. Probably pretty buggy still.
57481 * app/tools/tools.c: changed one of the tool initializations to be
57482 the measure tool. Now only measure tools are availble (though it
57483 would appear both are visually). I don't think the toolbox selection
57484 stuff is operational yet.
57486 * app/tools/color_picker.[ch]: minor cleanup
57488 2001-02-16 Stanislav Brabec <utx@penguin.cz>
57490 On request of Martin Weber <martweb@gmx.net>.
57491 * plugins/common/despeckle.c: Fixed comparison *sort_ptr > black_level.
57492 Only adopting white_level had a visual effect. This fix causes
57493 that also adopting blck_level works also.
57495 2001-02-14 Michael Natterer <mitch@gimp.org>
57497 * HACKING: added a note about apptype.h and about not including
57498 headers in headers.
57500 * app/apptypes.h: added GimpTool and BitmapCursor.
57505 * app/tools/color_picker.h
57507 * app/tools/tool_options.h
57508 * app/gimpcontext.h: removed includes of "tools/tool.h"
57510 * app/gimprc.[ch]: indentadion cleanup, added
57511 "module_db_load_inhibit".
57513 * app/module_db.c: removed the above variable here.
57515 * app/gimpdata.[ch]: added a vitrual "duplicate" method.
57517 * app/gimpbrush.[ch]
57518 * app/gimpbrushgenerated.[ch]
57519 * app/gimpbrushpipe.[ch]
57520 * app/gimpgradient.[ch]
57521 * app/gimppalette.[ch]
57522 * app/gimppattern.[ch]: all "load", "new" and "get_standard"
57523 functions return a GimpData pointer now.
57525 * app/gimpdatafactory.[ch]: made some stuff const.
57527 * app/gimpdatafactoryview.c: activate the "duplicate" button and
57528 set the initial button sensitivity correctly.
57530 * app/brush_select.c
57531 * app/gradient_select.c
57532 * app/pattern_select.c: use the new GimpDataFactoryView.
57534 * libgimp/Makefile.am: grouped the file to sort out what _may_
57535 go to subdirs or separate libs.
57537 * libgimp/gimpenv.[ch]: added many "const".
57541 * app/gimpcontext.c
57543 * app/gradient_editor.c
57545 * app/palette_import.c
57546 * app/user_install.c: many related changes.
57548 * libgimpmath/gimpmathtypes.h
57549 * libgimpmath/gimpvector.[ch]: minor cleanups.
57551 * plug-ins/script-fu/script-fu.c: gimp_data_directory() is const now.
57553 2001-02-13 Nathan Summers <rock@gimp.org>
57556 * plug-ins/plugin-helper/*: prototype for an extension that allows
57557 gmodules as plugins. Known bug: crashes on gmodules with a static
57561 * app/tools/tool.h: created new GimpTool object. Did away with
57562 ToolInfo. Most tools still need to be ported over to the new api.
57564 * app/tools/tools.c: now contains the initialization function to
57565 register the tools with the Gimp
57567 * app/tools/tools.h: renamed to tool.h
57573 * app/context_manager.c
57577 * app/disp_callbacks.c
57582 * app/gimage_mask.c
57583 * app/gimpcontext.c
57584 * app/gimpcontext.h
57585 * app/global_edit.c
57586 * app/info_window.c
57588 * app/libgimp_glue.c
57591 * app/paint_options.h
57596 * app/tools/Makefile.am
57597 * app/tools/color_picker.c
57598 * app/tools/color_picker.h
57599 * app/tools/paint_core.c
57600 * app/tools/tool_options.c
57601 * app/tools/tool_options.h
57602 * app/tools/tool_options_dialog.c
57604 * plug-ins/Makefile.am: changed acordingly
57606 * plug-ins/script-fu/script-fu-scripts.c: fixed typo in comment.
57609 2001-02-14 Michael Natterer <mitch@gimp.org>
57614 * app/gradients.[ch]
57615 * app/palettes.[ch]
57616 * app/patterns.[ch]: removed.
57618 * app/gimpdatafactory.[ch]: completely manage the data lists,
57619 including loading with different callbacks per extension.
57621 * app/gimpdatafactoryview.[ch]: enabled "new", "edit", "delete"
57624 * app/context_manager.c: initisalize the data factories.
57626 * app/gimpcontext.c: fixed some bad bugs introduced yesterday.
57628 * app/gradient_editor.[ch]: removed the public "create" function
57629 and create the editor implicitly on "set_gradient"
57634 * app/brush_select.c
57638 * app/gimpbrushpipe.c
57639 * app/gimpcontainerview.h
57640 * app/gimpgradient.c
57641 * app/gimppattern.c
57642 * app/gradient_select.c
57644 * app/pattern_select.c
57645 * app/pdb/brush_select_cmds.c
57646 * app/pdb/brushes_cmds.c
57647 * app/pdb/convert_cmds.c
57648 * app/pdb/gradient_select_cmds.c
57649 * app/pdb/gradients_cmds.c
57650 * app/pdb/palette_cmds.c
57651 * app/pdb/pattern_select_cmds.c
57652 * app/pdb/patterns_cmds.c
57653 * tools/pdbgen/pdb/brush_select.pdb
57654 * tools/pdbgen/pdb/brushes.pdb
57655 * tools/pdbgen/pdb/convert.pdb
57656 * tools/pdbgen/pdb/gradient_select.pdb
57657 * tools/pdbgen/pdb/gradients.pdb
57658 * tools/pdbgen/pdb/palette.pdb
57659 * tools/pdbgen/pdb/pattern_select.pdb
57660 * tools/pdbgen/pdb/patterns.pdb: um, much stuff, mostly "changed
57663 2001-02-13 Michael Natterer <mitch@gimp.org>
57669 * app/preferences_dialog.c: removed the "brush_vbr_path" variable,
57670 because all data types will be editable and saveable soon.
57674 * app/gimpdatafactory.[ch]: new object which holds a data list and
57675 knows how to create, edit, duplicate etc. the items in it. Will
57676 completely replace the brushes.[ch], patterns.[ch], ... files soon.
57679 * app/gimpdatacontainerview.[ch]: removed.
57680 * app/gimpdatafactoryview.[ch]: added.
57682 A view on the GimpDataFactory with a GUI for creating, editing,
57683 deleting etc. items (mostly unimplemented).
57685 * app/context_manager.[ch]: replaced the global data lists by global
57688 * app/brush_select.c
57693 * app/gimpbrush.[ch]
57694 * app/gimpbrushgenerated.c
57695 * app/gimpcontext.c
57696 * app/gimpdata.[ch]
57697 * app/gimpdatalist.[ch]
57699 * app/gimpgradient.[ch]
57700 * app/gimppalette.[ch]
57701 * app/gimppattern.[ch]
57702 * app/gradient_editor.c
57703 * app/gradient_select.c
57704 * app/gradients.[ch]
57705 * app/indicator_area.c
57707 * app/palette_import.c
57708 * app/palette_select.c
57709 * app/palettes.[ch]
57710 * app/pattern_select.c
57711 * app/patterns.[ch]
57712 * app/pdb/brush_select_cmds.c
57713 * app/pdb/brushes_cmds.c
57714 * app/pdb/convert_cmds.c
57715 * app/pdb/gradient_select_cmds.c
57716 * app/pdb/gradients_cmds.c
57717 * app/pdb/pattern_select_cmds.c
57718 * app/pdb/patterns_cmds.c
57719 * tools/pdbgen/pdb/brush_select.pdb
57720 * tools/pdbgen/pdb/brushes.pdb
57721 * tools/pdbgen/pdb/convert.pdb
57722 * tools/pdbgen/pdb/gradient_select.pdb
57723 * tools/pdbgen/pdb/gradients.pdb
57724 * tools/pdbgen/pdb/pattern_select.pdb
57725 * tools/pdbgen/pdb/patterns.pdb: changed accordingly.
57727 2001-02-13 Michael Natterer <mitch@gimp.org>
57731 * app/gimpdatacontainerview.[ch]: new widget which will replace the
57732 current brush, pattern, ... selections. To really use it, there
57733 needs to be a GimpDataFactory object (coming soon...)
57735 * app/commands.[ch]
57736 * app/menus.c: added test data container views.
57738 * app/paint_funcs_simd.S: #include the implementation with "", not <>
57740 2001-02-13 Seth Burgess <sjburges@gimp.org>
57742 * plug-ins/perl/Gimp/Lib.xs : made perl compilable again. Didn't
57743 change to turn back on by default.
57745 2001-02-13 Sven Neumann <sven@gimp.org>
57749 * cursors/Makefile.am
57751 * pixmaps/Makefile.am: added Makefiles to cursors, docs and pixmaps
57754 2001-02-13 Sven Neumann <sven@gimp.org>
57757 * pixmaps/refresh.xpm: new icon
57759 2001-02-13 Michael Natterer <mitch@gimp.org>
57761 * app/gradient_editor.[ch]
57762 * app/gradient_select.[ch]: use GimpContainerListView instead of
57763 cooking an own list.
57765 * app/gimpgradient.[ch]: removed the GdkPixmap from the gradient.
57767 * app/gimpcontainerlistview.c: connect the viewable's "name_changed"
57768 signal to the label.
57770 * app/gimpmarshal.[ch]
57771 * app/gimppreview.[ch]: new virtual function "get_size",
57773 * app/gimpgradientpreview.c: implement "get_size" and return a 3:1
57777 * app/palette_select.[ch]
57778 * app/palettes.c: removed the dialog freeze/thaw functions.
57780 * app/brush_select.c
57781 * app/pattern_select.c
57782 * app/plug_in.c: stuff.
57784 2001-02-12 Michael Natterer <mitch@gimp.org>
57786 * app/brush_select.[ch]
57787 * app/pattern_select.[ch]: removed almost all code by using
57788 the GimpContainerGridView.
57791 * app/patterns.c: brush|pattern_select_freeze|thaw_all() don't
57794 * app/devices.c: made it work again.
57796 * app/gimpgradientpreview.c: the gradient popup is 128 x 32 again.
57798 * app/plug_in.c: follow the brush and pattern dialog function
57801 * app/gimppalette.[ch]
57802 * app/gimppalettepreview.c: added a "Columns" attribute and show
57803 the popups accordingly.
57805 The palette file format has changed again. It now can have an
57806 optional "Columns: <n>" line after the palette's name.
57808 * data/palettes/Bgold.gpl
57809 * data/palettes/Borders.gpl
57810 * data/palettes/Cascade.gpl
57811 * data/palettes/China.gpl
57812 * data/palettes/Coldfire.gpl
57813 * data/palettes/Dark_pastels.gpl
57814 * data/palettes/Ega.gpl
57815 * data/palettes/Gold.gpl
57816 * data/palettes/Grayblue.gpl
57817 * data/palettes/Hilite.gpl
57818 * data/palettes/Kahki.gpl
57819 * data/palettes/Named_Colors.gpl
57820 * data/palettes/News3.gpl
57821 * data/palettes/Op2.gpl
57822 * data/palettes/Plasma.gpl
57823 * data/palettes/Visibone.gpl
57824 * data/palettes/Visibone_2.gpl
57825 * data/palettes/Web.gpl: added the "Columns" parameter where it
57826 makes sense and removed those ugly black colors which were hanging
57827 around as first color of many palettes.
57829 2001-02-12 Michael Natterer <mitch@gimp.org>
57831 * app/Makefile.am: took gimpcontextpreview.[ch] out of the build
57832 but still left the sources there as reference.
57834 * app/app_procs.c: initialize the render stuff before creating the
57835 toolbox (needed for the previews).
57838 * app/indicator_area.c: use GimpPreviews instead of
57839 GimpContextPreviews.
57841 * app/context_manager.[ch]: create the global data lists here
57842 because they now must exist before any context is created.
57845 * app/gradients.[ch]
57846 * app/palettes.[ch]
57847 * app/patterns.[ch]: removed them here.
57849 * app/gimpcontainer.[ch]: added a "freeze_count" and emit the
57850 "freeze" and "thaw" signals accordingly.
57852 * app/gimpcontext.[ch]: greatly simplified the way how the
57853 contexts connect to the data lists (simply keep them connected all
57854 the time). Also removed all those ugly explicit update functions
57855 because "thaw" callbacks do this job now.
57857 * app/gimpdata.c: a GimpData object now becomes dirty on
57858 "name_changed"; "dirty" now triggers "invalidate_preview" because
57859 the context does not dispatch these signals any more soon.
57861 * app/brush_select.c
57864 * app/gradient_editor.c
57865 * app/gradient_select.c
57866 * app/pattern_select.c
57867 * app/gradient_editor.c
57868 * app/gradient_select.c
57869 * app/gradients.[ch]
57870 * app/pdb/brush_select_cmds.c
57871 * app/pdb/brushes_cmds.c
57872 * app/pdb/convert_cmds.c
57873 * app/pdb/gradient_select_cmds.c
57874 * app/pdb/gradients_cmds.c
57875 * app/pdb/pattern_select_cmds.c
57876 * app/pdb/patterns_cmds.c
57877 * tools/pdbgen/pdb/brush_select.pdb
57878 * tools/pdbgen/pdb/brushes.pdb
57879 * tools/pdbgen/pdb/convert.pdb
57880 * tools/pdbgen/pdb/gradient_select.pdb
57881 * tools/pdbgen/pdb/gradients.pdb
57882 * tools/pdbgen/pdb/pattern_select.pdb
57883 * tools/pdbgen/pdb/patterns.pdb: changed accordingly.
57885 2001-02-11 Michael Natterer <mitch@gimp.org>
57887 * app/apptypes.h: added the datafile loader_func typedefs.
57889 * app/datafiles.h: removed from here.
57891 * app/gimpcontainer.[ch]: emit "freeze" and "thaw" signals to get
57892 rid of those blah_select_[freeze|thaw]_all() stuff.
57894 * app/gimpdatalist.[ch]: new function gimp_data_list_load() which
57895 takes a va_list of GimpDataObjectLoaderFuncs and file extensions
57896 and is almost a replacement for the four files below.
57901 * app/patterns.c: very simple now. It may be worth thinking about
57902 making all GimpData subclasses managed by a descriptive array in
57903 the context_manager.
57905 2001-02-11 Michael Natterer <mitch@gimp.org>
57907 Made a GimpContainer out of the palette list:
57910 * app/palettes.[ch]: new files for the global palette list.
57912 * app/gimpgradientpreview.[ch]
57913 * app/gimppalettepreview.[ch]: new widgets.
57915 * app/gimppalette.[ch]: derive it from GimpData to get all the
57916 preview etc. stuff.
57918 * app/datafiles.[ch]: new function datafiles_check_extension(),
57919 added a "loader_data" parameter to datafiles_read_directories()
57920 and pass it to the loader function.
57922 * app/gimpcontext.[ch]: added the palette (not really used yet
57923 except by the test dialogs).
57925 * app/gimpdatalist.[ch]: new function gimp_data_list_save_and_clear()
57926 which does everything needed for patterns_free(), brushes_free() ...
57928 * app/gimpdnd.c: added palette DND.
57932 * app/color_notebook.h
57936 * app/gimpbrushpipe.h
57937 * app/gimpgradient.c
57938 * app/gimppattern.h
57939 * app/gimppreview.c
57944 * app/palette_import.c
57945 * app/palette_select.[ch]
57948 * app/pdb/convert_cmds.c
57949 * app/pdb/palette_cmds.c
57950 * tools/pdbgen/pdb/convert.pdb
57951 * tools/pdbgen/pdb/palette.pdb: lotsa stuff: changed due to the above
57952 API changes, #define the file extensions in the GimpData subclasses'
57953 header files instead of hardcoding them in several places, ...
57955 * data/palettes/*: The same file format change as for the gradient
57958 - Save the palette name in a parsable form (as part of the file
57959 format, not in a comment.
57960 - Removed unserscores from the palette names.
57961 - Added an extension (Gimp PaLettes are ".gpl" files now ;-)
57963 2001-02-11 Michael Natterer <mitch@gimp.org>
57967 * app/gimpdata.[ch]: new abstract base class for everything
57968 (except images) which has a filename and can become dirty and must
57971 * app/gimpbrush.[ch]
57972 * app/gimpgradient.[ch]
57973 * app/gimppattern.[ch]: all derived from GimpData now.
57975 * app/gimpbrushgenerated.[ch]
57976 * app/brush_select.c
57978 * app/gimpbrushpipe.c
57979 * app/gradient_editor.c
57981 * app/patterns.c: removed lots of code duplication due to common
57984 The gradient file format has changed: it now contains the
57985 gradient's name (no more ugly underscores). The files have the
57988 * app/gimpgradient.[ch]: save new gradients, load new and old
57991 * data/gradients/*: removed all old gradients and added the new
57994 2001-02-10 David Monniaux <monniaux@genievre.ens.fr>
57996 MMX code for paint_funcs. Very partial so far.
57998 * configure.in: detection of MMX-able assembler and compiler
58000 * app/main.c: detects MMX and acts accordingly
58001 * app/paint_funcs.c
58002 * app/paint_funcs_simd.S: #include's appropriate file
58003 * app/arch/i386/mmx/paint_funcs_mmx.S
58004 * app/arch/i386/mmx/paint_funcs_mmx.S.m4
58006 2001-02-10 Michael Natterer <mitch@gimp.org>
58009 * app/gradient.[ch]: renamed...
58011 * app/gradient_editor.[ch]: ...to this
58013 * app/gradient_select.c: changed #include
58015 * po/POTFILES.in: renamed the file here too
58017 2001-02-10 Michael Natterer <mitch@gimp.org>
58021 * app/gradient_header.h: removed.
58023 * app/gimpgradient.[ch]: new object -- bye bye "gradient_t"
58025 * app/gradients.[ch]: new files for managing the gradient list.
58027 * app/gradient.[ch]: contains only the gradient editor now (which
58028 still badly pokes around in the GimpGradient structure).
58033 * app/gimpcontainerlistview.c
58034 * app/gimpcontext.[ch]
58035 * app/gimpcontextpreview.[ch]
58037 * app/gradient_select.[ch]
58038 * app/indicator_area.c
58039 * app/palette_import.c
58040 * app/pdb/gradient_select_cmds.c
58041 * app/pdb/gradients_cmds.c
58042 * app/tools/airbrush.c
58043 * app/tools/blend.c
58044 * app/tools/paint_core.c
58045 * app/tools/paintbrush.c
58046 * app/tools/pencil.c
58047 * tools/pdbgen/pdb/gradient_select.pdb
58048 * tools/pdbgen/pdb/gradients.pdb: changed accordingly, some
58049 changes to the preview and view stuff.
58051 * app/gimppreview.[ch]: removed the "context" attribute again
58052 because it was overkill (a simple gtk_signal_connect_object does
58053 the same as doing the autoconnection magic inside the GimpPreview
58056 * app/commands.[ch]
58057 * app/menus.c: example views on the gradient container.
58059 2001-02-09 Michael Natterer <mitch@gimp.org>
58061 * app/gimpcontainergridview.[ch]
58062 * app/gimpcontainerlistview.[ch]
58063 * app/gimpcontainerview.[ch]: follow the GimpPreview API change
58064 and take only "size" instead of "width" and "height" in the
58067 * app/gimpdnd.[ch]: first attempt to hack GtkType based DND which
58068 speaks in terms of GimpViewable instead of Brush, Pattern, ...
58069 Added functions to remove DND callbacks (used by the multi-views).
58071 * app/gimppreview.[ch]: new function gimp_preview_set_size_full().
58073 * app/commands.c: updated the example dialogs to be DND aware.
58075 * app/gimpimage.c: fixed preview size calculation by ensuring a
58076 minimal width/height of 1 pixel.
58077 Reported by Dave Neary <dneary@eircom.net>
58079 2001-02-09 Michael Natterer <mitch@gimp.org>
58081 * app/gimppreview.[ch]: moved the constructor-parameter-overkill
58082 to the new function gimp_preview_new_full() and made the
58083 gimp_preview_new() interface simple.
58085 * app/gimpbrushpreview.c
58086 * app/gimppatternpreview.c: added DND support.
58088 * app/gimpdnd.c: use the new preview system.
58090 * app/gimpconstrainedhwrapbox.c: implement "size_allocate". Ok,
58091 this is silly -- I will write an own widget which does the
58092 "scrollable grid of whatever" stuff in one place...
58095 * app/gimpcontainergridview.c
58096 * app/gimpcontainerlistview.c
58097 * app/gimpimagepreview.c: follow the GimpPreview constructor change.
58099 2001-02-09 Michael Natterer <mitch@gimp.org>
58101 * app/commands.c: changed the test dialogs a bit.
58103 * app/gimpconstrainedhwrapbox.[ch]: should be called
58104 GimpHackedWrapBoxForContainerView now ;-)
58106 * app/gimpcontainergridview.[ch]
58107 * app/gimpcontainerlistview.[ch]: fixed the minimal size setting
58108 by getting the magic values from the relevan gtk widgets.
58109 Scroll to the active item if it not visible.
58111 2001-02-08 Michael Natterer <mitch@gimp.org>
58113 * app/gimppreview.[ch]: added an (unused) "context" argument
58114 and a "set_viewable" function.
58116 * app/gimpconstrainedhwrapbox.c: even more evil than before.
58118 * app/gimpbrushpreview.c
58119 * app/gimpcontainergridview.c
58120 * app/gimpcontainerlistview.c
58121 * app/gimpcontainerview.c
58122 * app/gimpimagepreview.c
58123 * app/gimppatternpreview.c: fixed lots of forgotten signal handlers
58125 * app/commands.[ch]
58126 * app/menus.c: added "Multi View" dialogs.
58128 2001-02-08 Michael Natterer <mitch@gimp.org>
58130 * app/gimppreview.[ch]: added a "border" attribute. The border can
58131 have any color (which has no sane API yet...). Added "width" and
58132 "height" attributes and provide a "set_size" function.
58134 * app/gimpbrushpreview.c
58135 * app/gimpcontainergridview.c
58136 * app/gimpcontainerlistview.c
58137 * app/gimpimagepreview.c
58138 * app/gimppatternpreview.c: changed accordingly, enabled
58139 highlighting of the selected item in the grid views.
58141 2001-02-07 Michael Natterer <mitch@gimp.org>
58143 * app/gimppreview.[ch]: allocate less temp_bufs by removing the
58144 "create_preview" virtual function and adding a "render" one.
58146 Implementations have to call the new public function
58147 gimp_preview_render_and_flush() to render their temp_bufs.
58148 This way, e.g. the GimpPatternPreview can render the preview
58149 directly from the pattern's mask.
58151 * app/gimpdrawablepreview.c
58152 * app/gimpimagepreview.c
58153 * app/gimppatternpreview.c: changed accordingly.
58155 * app/gimpbrushpreview.[ch]: same as above and added BrushPipe
58158 2001-02-07 Michael Natterer <mitch@gimp.org>
58160 * app/gimppreview.[ch]
58161 * app/gimpbrushpreview.c
58162 * app/gimpcontainergridview.c
58163 * app/gimpcontainerlistview.c
58164 * app/gimpimagepreview.c
58165 * app/gimppatternpreview.c: added an "is_popup" parameter to the
58166 preview constructor so the subclasses can decide if to do special
58167 stuff like pipe animation.
58169 2001-02-07 Daniel Egger <egger@suse.de>
58171 * configure.in: Changed link order in gtkxmhtml check
58174 2001-02-07 Michael Natterer <mitch@gimp.org>
58176 * app/gimpcontext.[ch]: added "set_by_type", "get_by_type" and
58177 "changed_by_type" methods which take a GtkType and decide from
58178 that if to manipulate the Brush, Pattern etc.
58180 * app/gimpcontainerview.[ch]
58181 * app/gimpcontainergridview.[ch]
58182 * app/gimpcontainerlistview.[ch]: added a GimpContext to the views
58183 which is used to manage the active item.
58185 * app/commands.c: pass the user_context to the test views.
58187 * app/gimpbrushpreview.c
58188 * app/gimppatternpreview.c
58189 * app/gimppreview.[ch]: added a virtual "needs_popup" method which
58190 returns a boolean indicating if the viewable is already fully
58193 * app/gimage.[ch]: removed gimage_foreach() and some other
58194 functions which can easily be done by gimp_container_foreach().
58195 Removed gimage_delete().
58201 * app/palette_import.c
58202 * app/preferences_dialog.c
58204 * app/pdb/image_cmds.c
58205 * tools/pdbgen/pdb/image.pdb: changed accordingly. Switched from
58206 "disp_count" refcounting to real GtkObject refcounting for
58209 2001-02-07 Michael Natterer <mitch@gimp.org>
58211 * app/gimpbrush.[ch]
58212 * app/gimpbrushpreview.c: moved the scale and pipe indicator
58213 rendering code from GimpBrush to GimpBrushPreview.
58214 Removed the "dirty" signal from GimpBrush and use
58215 "invalidate_preview" of the GimpViewable class.
58218 * app/brush_select.c
58219 * app/gimpbrushgenerated.c
58220 * app/gimpcontext.c
58221 * app/gimpcontextpreview.c
58222 * app/tools/paint_core.c: changed accordingly.
58224 2001-02-07 Michael Natterer <mitch@gimp.org>
58227 * app/gimpimagepreview.[ch]: new object with own implementations
58228 of "create_preview" and "create_popup".
58230 * app/gimpdrawablepreview.c: stuff... still unused.
58232 * app/gimppreview.c: fixed idle rendering crashes, don't
58233 forget popups on GDK_2BUTTON_PRESS.
58235 * app/app_procs.c: gimpbrushlist.h doesn't exist any more.
58237 * app/gimpobject.h: removed the GimpObject typedef because it
58240 2001-02-07 Hans Breuer <Hans@Breuer.org>
58242 * */makefile.msc : Gimp 1.3 for win32 (msc) builds and runs at
58243 this short moment, it's a fast moving target nowadays :-)
58247 * app/gimpbrushpipe.c
58248 * app/gimppattern.c : make sure G_OS_WIN32 is defined (by glib.h
58249 inclusion) before actually using it
58252 * app/datafiles.h : <time.h> for time_t
58254 * app/tile_swap.c : include <stdio.h> for SEEK_SET
58256 * app/gimpcontainer.c : use G_GNUC_FUNCTION instead of
58257 __FUNCTION__ to allow compiling without gcc
58259 * app/dialog_handler.h : don't use conditional prototypes
58260 for gmodule exported function but include <gmodule.h> and
58261 use G_MODULE_EXPORT in prototype, too.
58263 * app/gimpobject.h : added typedef for GimpObject
58265 * libgimp/gimp.def : more exported symbols
58267 * libgimp/gimpcolorselector.h : #include <gmodule.h> for
58268 G_MODULE_EXPORT, sane prototypes.
58270 * libgimp/gimpui.def : symbol export update, splitted to
58273 * libgimpcolor/gimpcolor.def
58274 * libgimpmath/gimpmath.def
58275 * libgimpwidgets/gimpwidgets.def : updated
58277 * libgimpwidgets/libgimp-glue.c : new file which supports
58278 real dynamic linking on win32, against exported symbols from
58279 the application or libgimp. This allows to resolve the
58280 double dependency for currently 11 functions
58282 2001-02-07 Michael Natterer <mitch@gimp.org>
58285 * app/gimpdrawable-preview.[ch]: new files formerly known as
58286 gimpdrawablepreview.[ch].
58288 This a new naming scheme for methods of objects which live outside
58289 their object's file. The old name implied a derived object (and
58290 is in fact now taken by a GimpPreview subclass, see below).
58292 Further candidates for renaming are e.g. gimpdrawable-invert.[ch],
58293 gimpimage-convert.[ch] etc. Finaly, the main objects (image,
58294 drawable) will go to their own directories together with their
58297 * app/apptypes.h: added typedefs for the new objects:
58299 * app/gimpbrushpreview.[ch]
58300 * app/gimppatternpreview.[ch]: new subclasses of GimpPreview.
58302 * app/gimpdrawablepreview.[ch]: contains a subclass of GimpPreview
58305 * app/gimpviewable.[ch]: renamed the virtual functions to
58306 "get_preview" and "get_new_preview" to avoid confusion with the
58307 new GimpPreview subclasses.
58309 * app/gimppreview.[ch]: virtualized "create_preview" and
58312 * app/gimpmarshal.[ch]: new marsaller for GimpPreview.
58314 * app/channels_dialog.c
58318 * app/gimpdrawable.c
58320 * app/gimppattern.c
58321 * app/layer_select.c
58322 * app/layers_dialog.c
58325 * app/palette_import.c
58326 * app/undo_history.c
58327 * app/pdb/drawable_cmds.c
58328 * app/pdb/image_cmds.c
58329 * tools/pdbgen/pdb/drawable.pdb
58330 * tools/pdbgen/pdb/image.pdb: changed accordingly.
58332 2001-02-06 Michael Natterer <mitch@gimp.org>
58334 * app/gimpcontainergridview.[ch]
58335 * app/gimpcontainerlistview.[ch]: added "min_items_x" and
58336 "min_items_y" parameters to the constructors.
58338 * app/gimppreview.[ch]: added event handling for "click" and
58339 "popup", show a dummy popup for testing.
58341 * app/commands.c: changed accordingly.
58343 * app/menus.c: added a separator and removed N_() from the test stuff.
58345 2001-02-06 Simon Budig <simon@gimp.org>
58347 * libgimpwidgets/gimpdialog.c
58349 fixed the documentation.
58351 2001-02-06 Simon Budig <simon@gimp.org>
58353 * libgimpwidgets/gimpdialog.c
58354 * app/tools/tool_options_dialog.c
58356 Implemented a way to connect the delete-event of a gimpdialog
58357 without adding an extra button. If you pass "_delete_event_"
58358 as button text (untranslated) the button will not be created.
58360 Removed the tool-options "Close" button. Lots of other Close-Buttons
58361 wait for their removal.
58363 2001-02-06 Michael Natterer <mitch@gimp.org>
58366 * app/gimpconstrainedhwrapbox.[ch]: A bad hack on top of another
58367 hack: The GtkHWrapBox "size_request" method _always_ wants a
58368 maximal requisition height, which it of course gets from a
58369 container like the scrolled window, yielding in wrong vscrollbar
58372 * app/gimpbrush.c: create a nice preview with scale and pipe
58375 * app/gimpcontainergridview.[ch]: use the GimpConstrainedHWrapBox.
58378 * app/gimpcontainerlistview.c
58379 * app/gimppreview.c: cleanup, fixed a crash in the preview idle
58380 rendering function.
58382 2001-02-06 Sven Neumann <sven@gimp.org>
58384 * data/brushes/hsparks.gih
58385 * data/brushes/vine.gih: seems we had forgotten to convert these
58388 2001-02-05 Jay Cox <jaycox@gimp.org>
58390 * app/gimphistogram.c: Applied patches by Roel Schroeven
58391 <rschroev@yahoo.com> that fix histogram with mask calculation bug and
58392 median calculation bug.
58394 2001-02-06 Michael Natterer <mitch@gimp.org>
58396 * app/gimpcontainergridview.[ch]: add the spacing between the
58397 previews here instead of expecting an already bordered preview.
58398 Set the widget background to white.
58400 * app/gimppattern.c: removed the white border hack.
58402 2001-02-06 Michael Natterer <mitch@gimp.org>
58404 * app/gimpcontainergridview.[ch]
58405 * app/gimpcontainerlistview.[ch]
58406 * app/gimpcontainerview.[ch]: implemented "set_preview_size".
58408 * app/commands.c: added a preview size slider to the test dialogs.
58410 2001-02-05 Michael Natterer <mitch@gimp.org>
58413 * app/gimpcontainergridview.[ch]: new widget providing a grid view
58414 in the style of the current brush and pattern selections.
58416 * app/gimpcontainerlistview.[ch]
58417 * app/gimppreview.[ch]: the constructors take "width" and "height"
58420 * app/gimpviewable.c: if the viewable is not able to generate
58421 a static (cached) preview, create a new one and cache it ourselves.
58423 * app/gimppattern.c: produce a nice preview.
58425 * app/temp_buf.[ch]: changed temp_buf_copy_area() to take a
58426 destination offset instead of a border parameter. This function
58427 was not used at all before.
58429 * app/commands.[ch]
58430 * app/menus.c: test dialogs for the grid view.
58432 2001-02-05 Michael Natterer <mitch@gimp.org>
58434 * app/gimpcontainerlistview.[ch]
58435 * app/gimpcontainerview.[ch]
58436 * app/gimpmarshal.[ch]: moved the signal connecting stuff to the
58437 GimpContainerViewClass which has virtual functions for insert,
58438 remove and clear now which are implemented by the
58439 GimpContainerListViewClass.
58441 2001-02-05 Michael Natterer <mitch@gimp.org>
58443 * app/gimpcontainer.[ch]
58444 * app/gimplist.[ch]: made the "get_by_name" and the "by_index"
58445 access functions methods of the GimpContainerClass. The semantic
58446 of this index is somewhat unclear if we have e.g. a hash table
58447 implementation but the container needs to have an order for the
58448 ContainerView. Finally, the ordering will be a feature of the
58451 * app/gimpmarshal.[ch]: marshallers needed for the new methods.
58454 * app/patterns.[ch]: the public global brush and pattern lists
58455 are GimpContainers now (they are really GimpLists of course).
58457 * app/brush_select.c
58459 * app/gimpcontainerlistview.c
58460 * app/gimpcontext.c
58462 * app/pattern_select.c
58463 * app/pdb/brush_select_cmds.c
58464 * app/pdb/brushes_cmds.c
58465 * app/pdb/pattern_select_cmds.c
58466 * app/pdb/patterns_cmds.c
58467 * tools/pdbgen/pdb/brush_select.pdb
58468 * tools/pdbgen/pdb/brushes.pdb
58469 * tools/pdbgen/pdb/pattern_select.pdb
58470 * tools/pdbgen/pdb/patterns.pdb: changed accordingly.
58472 2001-02-05 Michael Natterer <mitch@gimp.org>
58475 * app/apptypes.h: some new files and data types:
58477 * app/gimppreview.[ch]: new widgets which provides a view
58480 * app/gimpcontainerview.[ch]: new abstract widget base class for
58481 views of GimpContainers of GimpViewables
58483 * app/gimpcontainerlistview.[ch]: (still) simple implementation of
58484 a list view of the container.
58486 * app/gimpbrush.[ch]
58487 * app/gimppattern.[ch]: provide dumb implementations of the
58488 GimpViewable's "preview" method.
58490 * app/image_render.c: quick bad hack to enable preview sizes which
58491 are != "preview_size": Always allocate data chunks for previews up
58492 to 256 pixels width.
58494 * app/drawable.c: emit the "incalidate_preview" signal from
58495 drawable_update(). This may cause useless updates at the moment
58496 but as we want to move from explicit updates to signal-driven
58497 model-view stuff it's the right thing (TM).
58499 * app/commands.[ch]
58501 * app/menus.c: Added a "Test dialogs" menu to the Toolbox.
58503 * app/pdb/image_cmds.c
58504 * libgimp/gimpenums.h
58505 * plug-ins/script-fu/script-fu-constants.c
58506 * tools/pdbgen/enums.pl: propagated the new alpha channel stuff
58507 to the autogenerated files.
58509 2001-02-05 Nick Lamb <njl195@zepler.org.uk>
58511 * app/channels_dialog.c
58513 * app/gimpimage.h: Initial commit of "Alpha" transparency channel
58515 2001-02-04 Nick Lamb <njl195@zepler.org.uk>
58517 * app/patterns.c: Missing <string.h> again
58519 2001-02-04 Nick Lamb <njl195@zepler.org.uk>
58521 * app/brushes.c: New file == new missing includes! <string.h>
58523 2001-02-04 Michael Natterer <mitch@gimp.org>
58527 * app/gimpviewable.[ch]: new object. Everything that can have a
58528 preview will be a GimpViewable. The virtual functions are
58529 "invalidate_preview", "preview" and "preview_new".
58531 * app/gimpmarshal.[ch]: new marshaller needed for the viewable.
58533 * app/gimpdrawable.[ch]
58534 * app/gimpimage.[ch]: derived from GimpViewable. Removed the
58535 preview stuff from the public interface.
58537 Made a single boolean out of GimpImage's "comp_preview_valid"
58538 array because we have only one composite preview.
58540 * app/gimplayer.c: made the preview stuff private.
58542 * app/gimppreviewcache.[ch]: removed gimp_preview_scale()...
58544 * app/temp_buf.[ch]: ...and added it as temp_buf_scale() here.
58546 * app/gimpdrawablepreview.[ch]: is a private method of
58549 * app/channels_dialog.c
58553 * app/floating_sel.c
58555 * app/gimage_mask.c
58556 * app/gimpchannel.c
58557 * app/gimpcontainer.c
58559 * app/layer_select.c
58560 * app/layers_dialog.c
58563 * app/palette_import.c
58565 * app/undo_history.c
58566 * app/pdb/drawable_cmds.c
58567 * app/pdb/image_cmds.c
58569 * app/tools/edit_selection.c
58571 * app/tools/paint_core.c
58572 * tools/pdbgen/pdb/drawable.pdb
58573 * tools/pdbgen/pdb/image.pdb
58574 * po/POTFILES.in: changed accordingly.
58576 2001-02-04 Michael Natterer <mitch@gimp.org>
58579 * app/gimppattern.[ch]: new object.
58581 * app/apptypes.h: added GimpPattern, removed GPattern.
58583 * app/patterns.[ch]: contains only the "patterns_()" functions for
58584 the global pattern list, s/pattern_list/global_pattern_list/g
58586 * app/brushes.[ch]: s/brush_list/global_brush_list/g
58588 * app/pattern_select.[ch]
58589 * app/gimpcontext.[ch]: connect to the Patterns' and the pattern
58592 * app/brush_select.[ch]
58594 * app/disp_callbacks.[ch]
58596 * app/gimpbrushgenerated.[ch]
58597 * app/gimpcontextpreview.[ch]
58599 * app/indicator_area.c
58600 * app/pdb/brush_select_cmds.c
58601 * app/pdb/brushes_cmds.c
58602 * app/pdb/pattern_select_cmds.c
58603 * app/pdb/patterns_cmds.c
58604 * app/tools/bucket_fill.c
58605 * app/tools/clone.c
58606 * tools/pdbgen/pdb/brush_select.pdb
58607 * tools/pdbgen/pdb/brushes.pdb
58608 * tools/pdbgen/pdb/pattern_select.pdb
58609 * tools/pdbgen/pdb/patterns.pdb
58610 * po/POTFILES.in: changed accordingly.
58612 2001-02-04 Michael Natterer <mitch@gimp.org>
58614 * app/gimpcontainer.[ch]: renamed gimp_container_lookup() back
58615 to gimp_container_have(). Virtualized the "add", "remove",
58616 "have" and "foreach" methods and removed the "children" list.
58618 * app/gimplist.[ch]: derived from GimpContainer now.
58621 * app/gimpdatalist.[ch]: new object: an alphabetically sorted
58622 GimpList with unique names.
58624 * app/gimpbrushlist.[ch]: removed. It's job is done by the
58627 * app/brushes.[ch]: new files. Contains the "brushes_()" functions
58628 for the global brush list.
58632 * app/brush_select.[ch]
58633 * app/colormap_dialog.[ch]
58634 * app/context_manager.c
58637 * app/gimpcontext.c
58639 * app/info_window.c
58643 * app/pdb/brush_select_cmds.c
58644 * app/pdb/brushes_cmds.c
58645 * app/tools/by_color_select.c
58646 * app/tools/paintbrush.c
58647 * tools/pdbgen/pdb/brush_select.pdb
58648 * tools/pdbgen/pdb/brushes.pdb
58649 * po/POTFILES.in: changed accordingly.
58651 2001-02-04 Nick Lamb <njl195@zepler.org.uk>
58653 * app/gimpdrawablepreview.c: add <stdlib.h> or <string.h> where needed
58657 * app/layers_dialog.c
58658 * app/paint_funcs.c
58660 * app/palette_import.c
58661 * app/palette_select.c
58662 * app/tile_manager.c
58664 * app/user_install.c
58665 * app/tools/by_color_select.c
58666 * app/tools/curves.c
58667 * app/tools/measure.c
58668 * app/tools/shear_tool.c
58670 2001-02-03 Michael Natterer <mitch@gimp.org>
58673 * app/gimpset.[ch]: removed.
58675 * app/gimpcontainer.[ch]: some minor fixes, cleanup.
58677 * app/context_manager.[ch]: made the "image_context" a GimpContainer
58678 and moved it here...
58681 * app/main.c: ...from here.
58684 * app/colormap_dialog.[ch]
58687 * app/gimpcontext.c
58689 * app/info_window.c
58694 * app/palette_import.c
58695 * app/paths_dialog.c
58696 * app/pixel_region.c
58702 * app/pdb/procedural_db.c
58703 * app/tools/by_color_select.c
58704 * app/tools/clone.c
58705 * app/tools/color_balance.c
58706 * app/tools/color_picker.c
58707 * app/tools/convolve.c
58709 * app/tools/curves.c
58710 * app/tools/paint_core.c
58711 * app/tools/transform_core.c: s/GimpSet/GimpContainer/g, removed
58712 many useless #include "appenv.h".
58714 * app/gimpdrawablepreview.c
58715 * app/gdisplay.c: found two badly crashing bugs i have introduced
58716 with my last changes here.
58718 2001-02-03 Michael Natterer <mitch@gimp.org>
58723 * app/gimpcontainer.[ch]: new (yet unused and untested) object
58724 which will replace GimpSet, GimpList and GimpBrushList and be the
58725 container and signal proxy for all collections of GimpObjects.
58727 2001-02-02 Michael Natterer <mitch@gimp.org>
58729 * po/POTFILES.in: forgot to rename the files here.
58731 2001-02-01 Michael Natterer <mitch@gimp.org>
58734 * app/gimpchannel.[ch]
58735 * app/gimplayer.[ch]: new files moved here by Yosh.
58738 * app/layer.[ch]: removed.
58740 * app/gdisplay.c: cleanup stuff.
58742 * app/[lotsa files].c
58743 * tools/pdbgen/Makefile.am
58744 * tools/pdbgen/pdb.pl
58745 * tools/pdbgen/pdb/channel.pdb
58746 * tools/pdbgen/pdb/drawable.pdb
58747 * tools/pdbgen/pdb/floating_sel.pdb
58748 * tools/pdbgen/pdb/layer.pdb: changed includes accordingly.
58750 2001-01-31 Seth Burgess <sjburges@gimp.org>
58752 * plug-ins/perl/po/POTFILES.in : removed bilb/lib/Gimp.pm from list,
58753 as this is a file generated during the build!!
58755 2001-01-30 Michael Natterer <mitch@gimp.org>
58757 * app/image_render.[ch]: prefixed all global variables with
58758 "render_" (we had a global variable named "temp_buf", brrrr),
58761 * app/colormap_dialog.c
58762 * app/layers_dialog.c: changed accordingly.
58764 2001-01-29 Michael Natterer <mitch@gimp.org>
58766 * app/dialog_types.h: removed because it was unused.
58768 * app/Makefile.am: removed dialog_types.h, reordered the file list
58769 to group together what may go to "pixmaps", "widgets" and
58770 "lowlevel" (???) directories.
58772 2001-01-29 Michael Natterer <mitch@gimp.org>
58774 * app/channel.[ch]: removed channel_update() because channel.c
58775 should not call gdisplays_update(). Use drawable_update() and
58776 a subsequent gdisplays_update() instead.
58778 * app/qmask.c: do as described above.
58780 * app/channel_ops.c
58781 * app/channels_dialog.c
58784 * app/disp_callbacks.c
58787 * app/floating_sel.c
58790 * app/gimage_mask.c
58792 * app/gimpdrawablepreview.c
58793 * app/gimphistogram.c
58794 * app/gimplayermask.c
58795 * app/global_edit.c
58796 * app/histogramwidget.c
58797 * app/histogramwidget.h
58802 * app/layer_select.c
58803 * app/paths_dialog.c
58805 * app/scan_convert.c
58806 * app/undo_history.c
58807 * app/xcf.c: include gimpdrawable.h instead of drawable.h where
58808 possible, removed useless includes, minor other cleanups.
58810 2001-01-29 Michael Natterer <mitch@gimp.org>
58813 * app/gimpdrawablepreview.[ch]: new file with one set of functions...
58816 * app/layer.[ch]: ...instead of having everything duplicated three
58819 * app/channels_dialog.c
58820 * app/floating_sel.c
58821 * app/floating_sel.h
58824 * app/layer_select.c
58825 * app/layers_dialog.c
58827 * app/pdb/drawable_cmds.c
58828 * tools/pdbgen/pdb/drawable.pdb: changed accordingly, cleanup.
58830 2001-01-29 Sven Neumann <sven@gimp.org>
58832 * HACKING: defined The GIMP Hackordnung (ACHTUNG!)
58834 2001-01-29 Michael Natterer <mitch@gimp.org>
58837 * app/undo_history.h: new file.
58839 * app/apptypes.h: removed the "Channel" typedef.
58841 * app/channel.[ch]: renamed all functions to gimp_channel_*()
58843 * app/channel_ops.c
58844 * app/channels_dialog.c
58846 * app/disp_callbacks.c
58848 * app/gimage_mask.[ch]
58850 * app/gimphistogram.c
58851 * app/gimpimage.[ch]
58852 * app/global_edit.c
58854 * app/layers_dialog.c
58856 * app/scan_convert.c
58857 * app/scan_convert.h
58860 * app/undo_history.c
58862 * app/pdb/channel_cmds.c
58863 * app/pdb/color_cmds.c
58864 * app/pdb/drawable_cmds.c
58865 * app/pdb/image_cmds.c
58866 * app/pdb/pdb_glue.h
58867 * app/pdb/selection_cmds.c
58868 * app/pdb/tools_cmds.c
58869 * app/tools/bezier_select.c
58870 * app/tools/bezier_selectP.h
58871 * app/tools/blend.c
58872 * app/tools/bucket_fill.c
58873 * app/tools/by_color_select.c
58875 * app/tools/ellipse_select.c
58876 * app/tools/free_select.c
58877 * app/tools/fuzzy_select.c
58878 * app/tools/fuzzy_select.h
58879 * app/tools/iscissors.c
58880 * app/tools/rect_select.c
58881 * app/tools/text_tool.c
58882 * app/tools/transform_core.c
58883 * tools/pdbgen/pdb.pl
58884 * tools/pdbgen/pdb/channel.pdb
58885 * tools/pdbgen/pdb/color.pdb
58886 * tools/pdbgen/pdb/drawable.pdb
58887 * tools/pdbgen/pdb/selection.pdb
58888 * tools/pdbgen/pdb/tools.pdb: changed accordingly.
58890 2001-01-29 Michael Natterer <mitch@gimp.org>
58892 * app/pdb/Makefile.am
58893 * app/pdb/pdb_glue.h: new file which contains the stuff that makes
58894 PDB code generation easier but is ugly when used in the app
58895 (see my comment in the log below).
58898 gimp_drawable_[layer|layer_mask|channel]()
58899 [channel|gimp_layer]_[set|get]_[name|tattoo]()
58902 * app/channels_dialog.c
58903 * app/gimpdrawable.h
58905 * app/gimplayermask.h
58911 * app/pdb/channel_cmds.c
58912 * app/pdb/drawable_cmds.c
58913 * app/pdb/layer_cmds.c
58914 * app/pdb/selection_cmds.c
58915 * app/tools/bezier_select.c
58916 * app/tools/bucket_fill.c
58917 * app/tools/by_color_select.c
58918 * app/tools/ellipse_select.c
58919 * app/tools/free_select.c
58920 * app/tools/fuzzy_select.c
58921 * app/tools/iscissors.c
58922 * app/tools/rect_select.c
58923 * tools/pdbgen/pdb/channel.pdb
58924 * tools/pdbgen/pdb/drawable.pdb
58925 * tools/pdbgen/pdb/layer.pdb
58926 * tools/pdbgen/pdb/selection.pdb: changed accordingly.
58928 2001-01-29 Sven Neumann <sven@gimp.org>
58932 * app/pdb/channel_cmds.c
58933 * app/pdb/internal_procs.c
58934 * app/pdb/selection_cmds.c
58935 * libgimp/gimpchannel_pdb.c
58936 * libgimp/gimpchannel_pdb.h
58937 * libgimp/gimpselection_pdb.c
58938 * libgimp/gimpselection_pdb.h
58939 * tools/authorsgen/contributors
58940 * tools/pdbgen/pdb/channel.pdb
58941 * tools/pdbgen/pdb/selection.pdb: applied a patch from Adam Spiers
58942 <adam@spiers.net> which adds two new PDB functions: selection_combine
58943 and channel_combine_masks.
58945 2001-01-29 Michael Natterer <mitch@gimp.org>
58947 * app/apptypes.h: removed the "Layer" typedef.
58949 * app/layer.[ch]: removed the defines of the old function names.
58951 Don't implement methods of the parent class (get_name, get_tattoo, ...)
58952 but define them as macros. They will go to a separate "pdb_glue.h"
58953 header because they are used only by the PDB to simplify code
58954 generation (no application file should say gimp_layer_get_tattoo()
58955 but always gimp_drawable_get_tatoo()).
58958 * app/channel_ops.c
58959 * app/channels_dialog.c
58962 * app/disp_callbacks.c
58963 * app/floating_sel.[ch]
58966 * app/gimage_mask.c
58967 * app/gimage_mask.h
58969 * app/gimpdrawable.h
58970 * app/gimpimage.[ch]
58971 * app/gimplayermask.h
58972 * app/global_edit.c
58974 * app/layer_select.c
58975 * app/layers_dialog.c
58979 * app/pdb/drawable_cmds.c
58980 * app/pdb/floating_sel_cmds.c
58981 * app/pdb/image_cmds.c
58982 * app/pdb/layer_cmds.c
58983 * app/tools/bucket_fill.c
58984 * app/tools/by_color_select.c
58985 * app/tools/clone.c
58987 * app/tools/edit_selection.c
58990 * app/tools/paint_core.c
58991 * app/tools/rect_select.c
58992 * app/tools/text_tool.c
58993 * app/tools/transform_core.c
58994 * tools/pdbgen/pdb/drawable.pdb
58995 * tools/pdbgen/pdb/floating_sel.pdb
58996 * tools/pdbgen/pdb/image.pdb
58997 * tools/pdbgen/pdb/layer.pdb: changed accordingly, cleanup.
58999 2001-01-28 Michael Natterer <mitch@gimp.org>
59002 * app/gimplayermask.[ch]: new files cut out of layer.[ch]. Renamed
59003 all functions to gimp_layes_mask_*(). removed artefacts like
59004 the ref/unref functions.
59006 * app/apptypes.h: removed the "LayerMask" typedef.
59008 * app/layer.[ch]: removed the layer mask stuff and renamed all
59009 functions to gimp_layer_*(). Added temporary typedefs for the old
59010 function names. The layer mask preview stuff is still there (should
59011 probably go to new layer_preview.{ch] files).
59013 * app/gimpimage.[ch]: added
59014 gimp_image_invalidate_[layer|channel]_previews() formerly known as
59015 [layer|channel]_invalidate_previews().
59017 * app/channel.[ch]: moved channel_layer_alpha() and
59018 channel_layer_mask() here because they are methods of the Channel.
59020 * app/channel_ops.c
59022 * app/disp_callbacks.c
59024 * app/floating_sel.c
59026 * app/gimage_mask.c
59028 * app/global_edit.c
59029 * app/layers_dialog.c
59030 * app/preferences_dialog.c
59034 * app/pdb/drawable_cmds.c
59035 * app/pdb/image_cmds.c
59036 * app/pdb/layer_cmds.c
59038 * app/tools/text_tool.c
59039 * app/tools/transform_core.c
59040 * tools/pdbgen/pdb.pl
59041 * tools/pdbgen/pdb/drawable.pdb: changed accordingly, cleanup.
59043 2001-01-26 Daniel Egger <egger@suse.de>
59045 * plug-ins/common/iwarp.c: Cleaned up code and
59046 implemented 2 small optimisations.
59048 2001-01-26 Daniel Egger <egger@suse.de>
59050 * libgimpmath/gimpvector.c:
59051 * libgimpmath/gimpvector.h: Added pass-by-value functions
59052 to allow code simplifications and functionchaining.
59054 Thu Jan 25 10:22:39 PST 2001 Manish Singh <yosh@gimp.org>
59056 * tools/pdbgen/pdb/channel.pdb: resurrected channel_set_color
59058 2001-01-25 Michael Natterer <mitch@gimp.org>
59060 * libgimp/Makefile.am
59062 * libgimp/gimpcompat.h: removed.
59064 The GIMP 1.0 API is not supported any more !!!
59066 * plug-ins/print/print-image-gimp.c
59067 * plug-ins/print/print.c
59068 * plug-ins/print/print_gimp.h: a quick fix for old compat cruft.
59069 This is temporary and will be replaced by Gimp-Print's development
59072 * plug-ins/xjt/xjpeg.c: use GimpRGB.
59074 2001-01-25 Sven Neumann <sven@gimp.org>
59076 * app/libgimp_glue.[ch]: cleanup
59078 * app/pdb/channel_cmds.c
59079 * app/pdb/palette_cmds.c
59080 * app/pdb/tools_cmds.c
59081 * tools/pdbgen/app.pl
59082 * tools/pdbgen/lib.pl
59083 * tools/pdbgen/pdb.pl
59084 * tools/pdbgen/pdb/channel.pdb
59085 * tools/pdbgen/pdb/palette.pdb
59086 * tools/pdbgen/pdb/tools.pdb: fixed pdbgen code for color type. Seems
59087 to actually work now.
59089 * TODO.xml: updated
59091 * plug-ins/Makefile.am: disabled build of gimp-perl until it has
59092 catched up with the API changes in libgimp
59094 2001-01-25 Sven Neumann <sven@gimp.org>
59096 * libgimpwidgets/gimpwidgets.c (gimp_mem_size_entry_new): merged fix
59097 from gimp-1-2 branch
59099 2001-01-25 Sven Neumann <sven@gimp.org>
59101 * tools/pdbgen/lib.pl
59102 * tools/pdbgen/pdb.pl
59103 * tools/pdbgen/pdb/channel.pdb
59104 * tools/pdbgen/pdb/palette.pdb
59105 * tools/pdbgen/pdb/tools.pdb: changed these with the help of Yosh.
59106 PDB functions take GimpRGB as color type now.
59109 * app/pdb/channel_cmds.c
59110 * app/pdb/internal_procs.c
59111 * app/pdb/palette_cmds.c
59112 * app/pdb/procedural_db.[ch]
59113 * app/pdb/tools_cmds.c
59114 * libgimp/gimp.[ch]
59115 * libgimp/gimpchannel.[ch]
59116 * libgimp/gimpchannel_pdb.[ch]
59117 * libgimp/gimppalette_pdb.[ch]
59118 * libgimp/gimpprotocol.[ch]
59119 * libgimp/gimptools_pdb.[ch]: incremented Gimp protocol version
59120 and changed color type from array of chars to GimpRGB.
59122 * libgimp/Makefile.am
59123 * libgimp/gimppalette.[ch]: removed these files again
59125 * app/libgimp_glue.[ch]
59126 * libgimpwidgets/gimpcolorbutton.c
59127 * plug-ins/Lighting/lighting_main.c
59128 * plug-ins/Lighting/lighting_preview.c
59129 * plug-ins/MapObject/mapobject_image.c
59130 * plug-ins/MapObject/mapobject_main.c
59131 * plug-ins/MapObject/mapobject_preview.c
59132 * plug-ins/common/apply_lens.c
59133 * plug-ins/common/blinds.c
59134 * plug-ins/common/borderaverage.c
59135 * plug-ins/common/checkerboard.c
59136 * plug-ins/common/colorify.c
59137 * plug-ins/common/colortoalpha.c
59138 * plug-ins/common/cubism.c
59139 * plug-ins/common/exchange.c
59140 * plug-ins/common/film.c
59141 * plug-ins/common/gif.c
59142 * plug-ins/common/grid.c
59143 * plug-ins/common/mapcolor.c
59144 * plug-ins/common/mblur.c
59145 * plug-ins/common/nova.c
59146 * plug-ins/common/papertile.c
59147 * plug-ins/common/png.c
59148 * plug-ins/common/polar.c
59149 * plug-ins/common/psd.c
59150 * plug-ins/common/semiflatten.c
59151 * plug-ins/common/sinus.c
59152 * plug-ins/common/sparkle.c
59153 * plug-ins/common/tiff.c
59154 * plug-ins/common/vpropagate.c
59155 * plug-ins/common/warp.c
59156 * plug-ins/common/whirlpinch.c
59157 * plug-ins/gap/gap_filter_iterators.c
59158 * plug-ins/gap/gap_mov_dialog.c
59159 * plug-ins/gdyntext/gdyntext.c
59160 * plug-ins/gfig/gfig.c
59161 * plug-ins/gfli/gfli.c
59162 * plug-ins/ifscompose/ifscompose.c
59163 * plug-ins/maze/handy.c
59164 * plug-ins/mosaic/mosaic.c
59165 * plug-ins/pagecurl/pagecurl.c
59166 * plug-ins/script-fu/script-fu-scripts.c
59167 * plug-ins/script-fu/script-fu.c
59168 * plug-ins/xjt/xjt.c: changed accordingly. A few plug-ins need
59169 to be looked at more closely after this change. I tried to put
59170 FIXME comments into those.
59172 2001-01-24 Michael Natterer <mitch@gimp.org>
59176 * gimptool.in: added the new library below.
59178 * libgimpwidgets/Makefile.am
59179 * libgimpwidgets/gimpchainbutton.[ch]
59180 * libgimpwidgets/gimpcolorarea.[ch]
59181 * libgimpwidgets/gimpcolorbutton.[ch]
59182 * libgimpwidgets/gimpdialog.[ch]
59183 * libgimpwidgets/gimpfileselection.[ch]
59184 * libgimpwidgets/gimphelpui.[ch]
59185 * libgimpwidgets/gimppatheditor.[ch]
59186 * libgimpwidgets/gimppixmap.[ch]
59187 * libgimpwidgets/gimpquerybox.[ch]
59188 * libgimpwidgets/gimpsizeentry.[ch]
59189 * libgimpwidgets/gimpunitmenu.[ch]
59190 * libgimpwidgets/gimpwidgets.[ch]
59191 * libgimpwidgets/gimpwidgets.def
59192 * libgimpwidgets/gimpwidgetstypes.h: new shared library.
59194 Currently there are some ugly dependencies into libgimp. These
59195 will be removed and go to a "libgimpglue" library which will be
59196 a library for functions which share a common interface between
59197 plug-ins and the app but have different implementations.
59199 Include "libgimp/gimpunit.h" from "libgimpwidgets/gimpwidgetstypes.h"
59200 to simulate this upcoming separation.
59202 * libgimp/Makefile.am
59203 * libgimp/gimpchainbutton.[ch]
59204 * libgimp/gimpcolorarea.[ch]
59205 * libgimp/gimpcolorbutton.[ch]
59206 * libgimp/gimpdialog.[ch]
59207 * libgimp/gimpfileselection.[ch]
59208 * libgimp/gimphelpui.[ch]
59209 * libgimp/gimppatheditor.[ch]
59210 * libgimp/gimppixmap.[ch]
59211 * libgimp/gimpquerybox.[ch]
59212 * libgimp/gimpsizeentry.[ch]
59213 * libgimp/gimpunitmenu.[ch]
59214 * libgimp/gimpwidgets.[ch]: removed from here.
59217 * libgimp/gimpuitypes.h
59218 * libgimp/makefile.mingw.in
59219 * libgimp/makefile.msc: changed accordingly.
59221 * app/[all ui files]
59222 * app/pdb/palette_cmds.c
59223 * app/pdb/tools_cmds.c
59224 * tools/pdbgen/pdb/palette.pdb
59225 * tools/pdbgen/pdb/tools.pdb: #include "libgimpwidgets/gimpwidgets.h"
59226 and removed useless includes.
59228 * app/apptypes.h: #include "libgimpwidgets/gimpwidgetstypes.h"
59231 * plug-ins/[all makefiles which link against libgimpui]:
59232 link against libgimpwidgets.la
59234 * po-libgimp/POTFILES.in: changed file locations.
59236 2001-01-24 Simon Budig <simon@gimp.org>
59238 * plug-ins/common/colortoalpha.c: wrapped some actions in a
59239 gimp_undo_push_group_start/end, so you dont have to undo
59240 two steps when the plugin adds an alpha channel.
59242 2001-01-24 Michael Natterer <mitch@gimp.org>
59244 * libgimpwidgets/.cvsignore
59245 * libgimpwidgets/Makefile.am
59246 * libgimpwidgets/makefile.mingw.in
59247 * libgimpwidgets/makefile.msc: library stub. Please ignore for now :)
59249 2001-01-24 Sven Neumann <sven@gimp.org>
59251 * app/paint_funcs.c: brought the array used for optimization back in
59252 sync with the LayerModeEffects enum. This was causing really strange
59253 rendering errors. Started to clean up the file up and removed the
59254 unused layer_mode names.
59257 * plug-ins/common/colortoalpha.c: small cleanups
59259 * po/POTFILES.in: removed app/paint_funcs.c
59261 2001-01-24 Sven Neumann <sven@gimp.org>
59263 * app/tools/airbrush.c
59264 * app/tools/by_color_select.c
59265 * app/tools/color_picker.c: include gimpcolor/gimpcolor.h
59267 * libgimpcolor/gimprgb.c: optimized compositing functions.
59269 * plug-ins/Lighting/lighting_preview.c
59270 * plug-ins/MapObject/mapobject_preview.c: use gimp_rgb_composite
59271 functions instead of doing the blending manually
59273 * plug-ins/MapObject/map_object_shade.c: fixed a rendering bug when
59274 transparent_background == FALSE
59276 2001-01-24 Michael Natterer <mitch@gimp.org>
59280 * gimptool.in: added stuff for the new library below.
59282 * libgimpmath/.cvsignore
59283 * libgimpmath/Makefile.am
59284 * libgimpmath/gimpmath.def
59285 * libgimpmath/gimpmath.h
59286 * libgimpmath/gimpmathtypes.h
59287 * libgimpmath/gimpmatrix.c
59288 * libgimpmath/gimpmatrix.h
59289 * libgimpmath/gimpvector.c
59290 * libgimpmath/gimpvector.h
59291 * libgimpmath/makefile.mingw.in
59292 * libgimpmath/makefile.msc: new shared library. Depends on glib only.
59294 * libgimp/Makefile.am
59296 * libgimp/gimp.h: removed the math stuff.
59298 * libgimp/gimpmath.h
59299 * libgimp/gimpmatrix.[ch]
59300 * libgimp/gimpvector.[ch]: removed.
59303 * plug-ins/Lighting/Makefile.am
59304 * plug-ins/MapObject/Makefile.am
59305 * plug-ins/pagecurl/Makefile.am: link against libgimpmath.la
59308 * libgimpcolor/gimpcolorspace.c
59309 * libgimpcolor/gimprgb.c
59310 * libgimp/gimpadaptivesupersample.c
59311 * libgimp/gimpbilinear.c
59312 * libgimp/gimpwidgets.c
59313 * modules/colorsel_gtk.c
59314 * modules/colorsel_triangle.c
59315 * modules/colorsel_water.c
59316 * plug-ins/libgck/gck/gckcolor.c
59317 * tools/pdbgen/pdb/channel.pdb
59318 * tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
59319 removed the remaining includes of the old color stuff.
59321 2001-01-23 Michael Natterer <mitch@gimp.org>
59325 * gimptool.in: added stuff for the new library below.
59327 * libgimpcolor/.cvsignore
59328 * libgimpcolor/Makefile.am
59329 * libgimpcolor/gimpcolor.h
59330 * libgimpcolor/gimpcolorspace.c
59331 * libgimpcolor/gimpcolorspace.h
59332 * libgimpcolor/gimpcolortypes.h
59333 * libgimpcolor/gimphsv.c
59334 * libgimpcolor/gimphsv.h
59335 * libgimpcolor/gimprgb.c
59336 * libgimpcolor/gimprgb.h: new shared library which both the app
59337 and plug-ins link against. The library depends only on glib.
59339 * libgimpcolor/gimpcolor.def
59340 * libgimpcolor/makefile.mingw.in
59341 * libgimpcolor/makefile.msc: added Win32 build files which
59342 definitely don't work.
59344 * libgimp/Makefile.am
59345 * libgimp/gimpcolor.[ch]
59346 * libgimp/gimpcolorspace.[ch]: removed.
59349 * libgimp/gimpadaptivesupersample.c
59350 * libgimp/gimpbilinear.c
59351 * libgimp/gimppalette.c
59352 * libgimp/gimptypes.h: include the stuff from libgimpcolor.
59354 Plug-Ins don't need to include <libgimpcolor/gimpcolor.h>
59355 explicitely. LibGimp depends on libgimpcolor and thus also includes
59359 * libgimp/makefile.mingw.in: fiddled around with Win32 stuff...
59361 * app/Makefile.am: link against libgimpcolor.la
59363 * app/apptypes.h: include "libgimpcolor/gimpcolortypes.h"
59366 * app/channels_dialog.c
59367 * app/colormap_dialog.c
59371 * app/disp_callbacks.c
59373 * app/gimpcontext.c
59376 * app/gimppalette.c
59379 * app/libgimp_glue.c
59381 * app/palette_import.c
59384 * app/tools/paint_core.c
59385 * app/tools/paintbrush.c
59386 * app/tools/pencil.c: include "libgimpcolor/gimpcolor.h" before all
59387 gimp includes because it's a standalone library.
59389 * plug-ins/FractalExplorer/Makefile.am
59390 * plug-ins/Lighting/Makefile.am
59391 * plug-ins/MapObject/Makefile.am
59392 * plug-ins/bmp/Makefile.am
59393 * plug-ins/common/Makefile.am
59394 * plug-ins/common/mkgen.pl
59395 * plug-ins/dbbrowser/Makefile.am
59396 * plug-ins/faxg3/Makefile.am
59397 * plug-ins/fits/Makefile.am
59398 * plug-ins/flame/Makefile.am
59399 * plug-ins/fp/Makefile.am
59400 * plug-ins/gap/Makefile.am
59401 * plug-ins/gdyntext/Makefile.am
59402 * plug-ins/gfig/Makefile.am
59403 * plug-ins/gflare/Makefile.am
59404 * plug-ins/gfli/Makefile.am
59405 * plug-ins/gimpressionist/Makefile.am
59406 * plug-ins/helpbrowser/Makefile.am
59407 * plug-ins/ifscompose/Makefile.am
59408 * plug-ins/imagemap/Makefile.am
59409 * plug-ins/maze/Makefile.am
59410 * plug-ins/mosaic/Makefile.am
59411 * plug-ins/pagecurl/Makefile.am
59412 * plug-ins/print/Makefile.am
59413 * plug-ins/rcm/Makefile.am
59414 * plug-ins/script-fu/Makefile.am
59415 * plug-ins/sel2path/Makefile.am
59416 * plug-ins/sgi/Makefile.am
59417 * plug-ins/webbrowser/Makefile.am
59418 * plug-ins/xjt/Makefile.am: add libgimpcolor.la to LDADD.
59420 * INSTALL: don't recommend to --disable-shared for development.
59422 * TODO.xml: increased some percentages, added plug-in help stuff.
59424 2001-01-23 Michael Natterer <mitch@gimp.org>
59427 * app/libgimp_glue.[ch]: new files containing stuff needed for
59428 linking libgimp stuff against the app. This file is not needed
59429 at all for the app itself and should never be included.
59431 * app/gimpcontext.[ch]: removed from here.
59433 * libgimp/Makefile.am
59435 * libgimp/gimppalette.[ch]: new files for the PDB wrapping
59436 gimp_palette_*_rgb() stuff.
59438 * libgimp/gimpcolor.[ch]: removed the PDB dependency from here.
59440 2001-01-23 Sven Neumann <sven@gimp.org>
59442 * app/paint_funcs.c
59443 * app/pixel_processor.c
59446 * app/tile_manager.c
59448 * app/tile_swap.[ch]: cleanups, indentation
59450 2001-01-23 Sven Neumann <sven@gimp.org>
59453 * app/floating_sel.c
59454 * app/gimage_mask.c
59456 * app/global_edit.c
59460 * app/paint_funcs.c
59461 * app/pixel_region.c
59462 * app/tile_manager.c
59463 * app/tile_manager.h
59464 * app/tile_manager_pvt.h
59467 * app/pdb/tools_cmds.c
59468 * app/tools/flip_tool.c
59469 * app/tools/perspective_tool.c
59470 * app/tools/rotate_tool.c
59471 * app/tools/scale_tool.c
59472 * app/tools/shear_tool.c
59473 * app/tools/text_tool.c
59474 * app/tools/transform_core.c
59475 * tools/pdbgen/pdb/tools.pdb: made all files execpt xcf.c use the
59476 TileManager accessor functions instead of accessing the TileManager
59479 2001-01-23 Sven Neumann <sven@gimp.org>
59481 * TODO.xml: updated, added sections about libgck and script-fu
59483 2001-01-23 Michael Natterer <mitch@gimp.org>
59486 * app/edit_selection.[ch]: removed.
59488 * app/tools/Makefile.am
59489 * app/tools/edit_selection.[ch]: added.
59491 * po/POTFILES.in: changed.
59493 2001-01-23 Michael Natterer <mitch@gimp.org>
59495 * libgimp/Makefile.am
59497 * libgimp/gimpadaptivesupersample.[ch]
59498 * libgimp/gimpbilinear.[ch]: new files cut out of LibGCK.
59500 * plug-ins/libgck/gck/gck.h
59501 * plug-ins/libgck/gck/gckcolor.c: removed the bilinear and
59505 * app/asupsample.[ch]
59506 * app/tools/blend.c: made the adaptive_supersample interface the
59507 same as in libgimp but don't use the libgimp function yet.
59509 The libgimp function takes total transparancy into account when
59510 weighting the 4 resulting RGBA values, the app function always
59511 weights them equally. Please have a look at the code.
59513 * plug-ins/Lighting/lighting_image.c
59514 * plug-ins/MapObject/mapobject_apply.c
59515 * plug-ins/MapObject/mapobject_image.[ch]: changed accordingly.
59517 * app/disp_callbacks.c: paranoia cleanups.
59519 2001-01-22 Sven Neumann <sven@gimp.org>
59522 * app/gdisplay_ops.c
59523 * app/info_window.c
59528 * app/scroll.[ch]: removed inclusion of superfluous headers and
59529 cleaned up the source a little.
59531 2001-01-22 Michael Natterer <mitch@gimp.org>
59533 * app/tools/Makefile.am
59534 * app/tools/tool_options_dialog.[ch]: new files for the tool
59537 * app/tools/tools.[ch]: removed from here.
59542 * po/POTFILES.in: adjusted.
59544 2001-01-22 Michael Natterer <mitch@gimp.org>
59547 * app/selection_options.h: removed.
59549 * app/tools/Makefile.am
59550 * app/tools/selection_options.h: added.
59552 * app/tools/selection_options.c
59553 * app/tools/paint_options.c: new files cut out of tool_options.c
59555 * app/tools/tool_options.c: removed the paint & selection
59558 * app/tools/tool_options.h
59559 * app/tools/paint_options.h: cleanup.
59561 * po/POTFILES.in: added selection_options.c and paint_options.c
59563 2001-01-22 Michael Natterer <mitch@gimp.org>
59566 * app/toolbox.[ch]: new files containing most of the code
59567 from app/interface.[ch]
59569 * app/interface.[ch]: only contains create_display_shell() now.
59570 Needs to be somehow merged with other arbitrarily named display
59575 * po/POTFILES.in: changed accordingly.
59579 * app/tile.c: cleanup.
59581 2001-01-22 Sven Neumann <sven@gimp.org>
59585 * app/tools/Makefile.am: moved all tool sources to app/tools
59588 * app/brush_select.c
59590 * app/context_manager.c
59594 * app/disp_callbacks.c
59595 * app/edit_selection.c
59598 * app/gimage_mask.c
59600 * app/gimpbrushgenerated.c
59601 * app/gimpbrushpipe.c
59604 * app/global_edit.c
59605 * app/info_window.c
59609 * app/paths_dialog.c
59610 * app/paths_dialogP.h
59614 * app/pdb/color_cmds.c
59615 * app/pdb/text_tool_cmds.c
59616 * app/pdb/tools_cmds.c
59618 * tools/kernelgen.c
59619 * tools/pdbgen/Makefile.am
59620 * tools/pdbgen/enums.pl
59621 * tools/pdbgen/pdb/color.pdb
59622 * tools/pdbgen/pdb/text_tool.pdb
59623 * tools/pdbgen/pdb/tools.pdb: changed accordingly
59625 2001-01-22 Daniel Egger <egger@suse.de>
59627 * libgimp/gimpcolor.c: #include "gimppalette_pdb.h"
59628 to shut up the compiler.
59630 Sun Jan 21 15:23:27 PST 2001 Manish Singh <yosh@gimp.org>
59632 * tools/pdbgen/enumgen.pl: handle subdirs
59634 2001-01-21 Simon Budig <simon@gimp.org>
59636 * app/pdb/README: Added another warning about autogenerated files
59638 2001-01-21 Sven Neumann <sven@gimp.org>
59640 * tools/pdbgen/app.pl: changed destdir for app-side PDB wrappers to
59643 * app/Makefile.am: don't create libgimpim.a in app.
59646 * app/pdb/Makefile.am
59647 * app/pdb/internal_procs.[ch]
59648 * app/pdb/procedural_db.[ch]
59649 * app/pdb/*_cmds.c: moved PDB functions into their own subdirectory.
59651 * app/internal_procs.[ch]
59652 * app/procedural_db.[ch]
59653 * app/*_cmds.c: removed here
59657 * app/bezier_select.c
59658 * app/brush_select.c
59659 * app/bucket_fill.c
59660 * app/colormap_dialog.c
59663 * app/gimage_mask.c
59665 * app/gradient_select.c
59666 * app/info_window.c
59671 * app/palette_import.c
59672 * app/paths_dialog.c
59673 * app/pattern_select.c
59677 * po/POTFILES.in: changed accordingly
59679 2001-01-21 Michael Natterer <mitch@gimp.org>
59682 * app/palette_import.[ch]: moved the palette_import dialog to
59687 * app/paletteP.h: changed accordingly.
59689 2001-01-21 Simon Budig <simon@gimp.org>
59691 * modules/colorsel_triangle.c: Fixed the "disappearing
59692 triangle" bug. The triangle happens to be more triangular
59695 2001-01-21 Sven Neumann <sven@gimp.org>
59697 * plug-ins/script-fu/Makefile.am: removed interp_md5.[ch] from
59698 the build because it was not used at all.
59700 * plug-ins/script-fu/script-fu-console.c
59701 * plug-ins/script-fu/script-fu-scripts.c
59702 * plug-ins/script-fu/script-fu-server.c
59703 * plug-ins/script-fu/script-fu.c: even more pedantic indentation
59705 2001-01-21 Michael Natterer <mitch@gimp.org>
59707 * app/palette_entries.h: removed.
59708 * app/gimppalette.[ch]: new object derived from GimpObject. Just
59709 used as a container at the moment (no signals or stuff used).
59711 * app/palette.[ch]: changed almost every line except in the
59712 import_dialog part.
59719 * app/palette_select.[ch]
59720 * app/convert_cmds.c
59721 * tools/pdbgen/pdb/convert.pdb: changed accordingly.
59723 * app/gimpdrawable.c: set klass->removed to NULL.
59725 2001-01-21 Michael Natterer <mitch@gimp.org>
59727 * app/color_notebook.[ch]: added a "title" parameter to the
59728 constructor. Pass a pointer to the ColorNotebook to the callback.
59729 Added a _get_color() function.
59731 * app/color_panel.[ch]: added a "title" parameter which is used
59734 * app/channels_dialog.c
59736 * app/colormap_dialog.c
59738 * app/palette_select.c
59739 * app/qmask.c: changed the calls to color_notebook_new(),
59740 color_panel_new() and the ColorNotebook callbacks.
59742 * app/gradient.c: use a ColorNotebook instead of GtkColorSelection.
59745 * app/palette_entries.h: use GimpRGB to store the color in the
59748 * po/POTFILES.in: added app/color_area.c
59750 2001-01-20 Michael Natterer <mitch@gimp.org>
59752 * app/gradient.[ch]: made gradient_get_color_at() use GimpRGB.
59756 * app/gimpcontextpreview.c
59757 * app/gradient_select.c
59758 * app/paint_core.[ch]
59763 * app/gradients_cmds.c
59764 * app/gradient_select_cmds.c
59765 * tools/pdbgen/pdb/gradient_select.pdb
59766 * tools/pdbgen/pdb/gradients.pdb: changed accordingly.
59768 2001-01-20 Michael Natterer <mitch@gimp.org>
59770 * app/color_notebook.[ch]
59771 * app/gimpcontext.[ch]
59772 * app/gimpdnd.h: made the _set_color() and _drop_color() functions
59773 take a "const GimpRGB *" parameter.
59775 * app/by_color_select.c
59776 * app/channels_dialog.c
59778 * app/color_panel.c
59779 * app/color_picker.c
59780 * app/color_select.c
59781 * app/colormap_dialog.c
59782 * app/disp_callbacks.[ch]
59784 * app/palette.c: changed accordingly.
59788 * app/gradient_header.h: use GimpRGB internally.
59790 2001-01-20 Michael Natterer <mitch@gimp.org>
59792 * app/gimpdrawable.[ch]: made gimp_drawable_fill() use GimpRGB,
59793 added some "const", delete unused function, reordered some
59797 * app/qmask.c: follow the change.
59799 2001-01-19 Michael Natterer <mitch@gimp.org>
59803 * app/apptypes.h: moved all enums from apptypes.h to the new file
59806 * tools/pdbgen/Makefile.am
59807 * tools/pdbgen/app.pl
59808 * tools/pdbgen/enums.pl: changed accordingly. Removed some files
59809 from the list of files to scan for enums.
59811 * TODO.xml: added two minor UI issues.
59813 2001-01-18 Sven Neumann <sven@gimp.org>
59815 * plug-ins/common/gqbist.c: fixed typo, adjusted coding style
59817 2001-01-17 Daniel Egger <egger@suse.de>
59819 * PLUGIN_MAINTAINERS: Entered Jens Christian Restemeier as maintainer
59822 * plug-ins/common/gqbist.c: Applied a patch by Jens Christian
59823 Restemeier <jrestemeier@currantbun.com> which fixes a calculus bug,
59824 adds antialiasing and beautifies the code quite a bit.
59826 2001-01-17 Sven Neumann <sven@gimp.org>
59828 * INSTALL: adjusted version numbers, updated, added warning
59830 * configure.in: changed .gimp to .gimp-1.3
59832 2001-01-17 Michael Natterer <mitch@gimp.org>
59834 * app/gimprc.c: factored the color parsing code out to the new
59835 function parse_color() and made it parse RGB, RGBA, HSV and HSVA
59838 * app/color_notebook.c
59840 * app/session.c: changed accordingly.
59842 2001-01-16 Sven Neumann <sven@gimp.org>
59844 * app/color_notebook.c: fixed my last change
59846 * libgimp/gimpcolorarea.c: swapped opaque and transparent areas
59848 2001-01-16 Sven Neumann <sven@gimp.org>
59850 * libgimp/gimpcolorspace.c: fixed RGB to HSV routine
59852 * app/color_notebook.c: tweaked dialog layout a little, disabled
59853 toggle_buttons if the colorselector does not implement the set_channel
59856 * modules/colorsel_gtk.c
59857 * modules/colorsel_triangle.c
59858 * modules/colorsel_water.c: removed empty set_channel methods
59860 2001-01-16 Sven Neumann <sven@gimp.org>
59862 * app/devices.c: don't show the alpha value of fore/background colors
59864 2001-01-16 Michael Natterer <mitch@gimp.org>
59867 * app/color_notebook.[ch]
59868 * app/color_panel.c
59870 * app/session.c: store the color history in sessionrc.
59872 * app/channels_dialog.c: tweaked the "new channel" and "channel
59873 atributes" dialogs a bit.
59875 Mon Jan 15 17:22:30 PST 2001 Manish Singh <yosh@gimp.org>
59877 * app/fileops.c: correct spelling of "lose" in revert dialog
59879 2001-01-16 Michael Natterer <mitch@gimp.org>
59881 * app/color_notebook.c: added a global color history of 16 colors.
59882 The "Add" button uses neither LRU nor pure right-shift order but
59883 something in between. The history is scheduled to go to sessionrc.
59885 2001-01-15 Sven Neumann <sven@gimp.org>
59887 * app/devices.c: use a GimpColorArea for the foreground color in
59888 the Device Status dialog and added a background color
59890 2001-01-15 Sven Neumann <sven@gimp.org>
59892 * app/color_picker.c: enable drags from and disable drops to
59893 the ColorArea in the color_info dialog. Changed the cursor_update
59894 function so it only displays the bad cursor when outside the image.
59896 2001-01-15 Michael Natterer <mitch@gimp.org>
59899 * app/gimprc.c: save the foreground and background color as array
59900 of RGBA doubles in "devicerc".
59902 2001-01-15 Sven Neumann <sven@gimp.org>
59904 * app/color_notebook.c: make use of GimpColorAreas. Added two
59905 buttons to set the color to black or white.
59907 2001-01-15 Michael Natterer <mitch@gimp.org>
59909 * modules/colorsel_water.c: the bottom position of the scale
59910 represents the minimal pressure now. Also removed the pressure
59911 value display because it's rather a matter of "more" or "less"
59912 than of an exact value.
59914 2001-01-15 Michael Natterer <mitch@gimp.org>
59916 * app/color_notebook.c
59917 * modules/colorsel_gtk.c
59918 * modules/colorsel_triangle.c: tweaked dialog layout a bit.
59920 * modules/colorsel_water.c: removed all widgets except the color
59921 selector itself (the history and the "Reset" button will go
59922 to the ColorNotebook).
59924 2001-01-15 Michael Natterer <mitch@gimp.org>
59926 * app/color_notebook.[ch]
59927 * app/color_select.c
59928 * libgimp/gimpcolorselector.h
59929 * modules/colorsel_gtk.c
59930 * modules/colorsel_triangle.c
59931 * modules/colorsel_water.c: use GimpRGB and GimpHSV.
59933 * libgimp/gimpcolor.c
59934 * libgimp/gimpcolorspace.[ch]: All rgb_to_hsv functions:
59936 if r == g == b the difference between the max and min value
59937 is 0 and we should avoid to divide by it ;-)
59939 2001-01-15 Sven Neumann <sven@gimp.org>
59941 * plug-ins/gdyntext/gdyntext.[ch]
59942 * plug-ins/gdyntext/gdyntext_ui.c
59943 * plug-ins/gdyntext/gdyntextcompat.[ch]: use GimpRGB
59945 2001-01-15 Sven Neumann <sven@gimp.org>
59947 * app/color_panel.c
59948 * libgimp/gimpcolorbutton.c
59949 * plug-ins/common/borderaverage.c
59950 * plug-ins/common/grid.c
59951 * plug-ins/common/polar.c
59952 * plug-ins/common/whirlpinch.c: cleaned up after myself
59954 2001-01-15 Sven Neumann <sven@gimp.org>
59956 * app/color_panel.[ch]: rewritten as proper widget derived from
59959 * app/channels_dialog.c
59960 * app/color_picker.c
59961 * app/qmask.c: use new GimpColorPanel widget
59963 * libgimp/gimpcolorarea.[ch]
59964 * libgimp/gimpcolorbutton.[ch]: some changes needed to derive from
59967 * plug-ins/Lighting/lighting_ui.c
59968 * plug-ins/MapObject/mapobject_ui.c
59969 * plug-ins/common/colorify.c
59970 * plug-ins/common/colortoalpha.c
59971 * plug-ins/common/exchange.c
59972 * plug-ins/common/film.c
59973 * plug-ins/common/grid.c
59974 * plug-ins/common/mapcolor.c
59975 * plug-ins/common/nova.c
59976 * plug-ins/common/papertile.c
59977 * plug-ins/common/sinus.c
59978 * plug-ins/gdyntext/gdyntext_ui.c
59979 * plug-ins/ifscompose/ifscompose.c
59980 * plug-ins/script-fu/script-fu-scripts.c: follow API changes of
59981 GimpColorButton and GimpColorArea
59983 2001-01-15 Michael Natterer <mitch@gimp.org>
59986 * app/gimpimage.[ch]
59987 * app/layer.[ch]: use GimpRGB for the Channel's, the QuickMask's
59988 and the LayerMask's color.
59990 * app/channel_cmds.c
59991 * app/channel_ops.c
59992 * app/channels_dialog.c
59995 * tools/pdbgen/pdb/channel.pdb: changed accordingly.
59997 2001-01-15 Michael Natterer <mitch@gimp.org>
59999 * app/color_notebook.[ch]
60000 * app/color_panel.[ch]
60001 * app/gimpcontext.[ch]
60002 * app/gimpdnd.[ch]: use GimpRGB instead of a random selection out of
60003 guchar, gint, guchar[], blah...
60006 * app/by_color_select.c
60007 * app/channel_ops.c
60008 * app/channels_dialog.c
60010 * app/color_picker.c
60011 * app/color_select.c
60012 * app/colormap_dialog.c
60015 * app/disp_callbacks.[ch]
60022 * app/palette_cmds.c
60024 * tools/pdbgen/pdb/palette.pdb: changed accordingly.
60026 2001-01-15 Simon Budig <simon@gimp.org>
60029 I broke the Toolbox. Now it works again. The ToolType-enum *must*
60030 match the order in the tool_info-Array.
60032 2001-01-15 Sven Neumann <sven@gimp.org>
60034 * libgimp/gimpcolor.[ch]: added function gimp_rgb_intensity_uchar()
60036 * libgimp/gimpcolorbutton.c
60037 * plug-ins/common/apply_lens.c
60038 * plug-ins/common/blinds.c
60039 * plug-ins/common/borderaverage.c
60040 * plug-ins/common/checkerboard.c
60041 * plug-ins/common/cubism.c
60042 * plug-ins/common/gif.c
60043 * plug-ins/common/grid.c
60044 * plug-ins/common/mblur.c
60045 * plug-ins/common/papertile.c
60046 * plug-ins/common/png.c
60047 * plug-ins/common/polar.c
60048 * plug-ins/common/semiflatten.c
60049 * plug-ins/common/sparkle.c
60050 * plug-ins/common/vpropagate.c
60051 * plug-ins/common/warp.c
60052 * plug-ins/common/whirlpinch.c
60053 * plug-ins/gap/gap_mov_dialog.c
60054 * plug-ins/gdyntext/gdyntext.c
60055 * plug-ins/gfig/gfig.c
60056 * plug-ins/ifscompose/ifscompose.c
60057 * plug-ins/maze/handy.c
60058 * plug-ins/mosaic/mosaic.c
60059 * plug-ins/pagecurl/pagecurl.c: replaced all occurences of
60060 gimp_palette_[get|set]_[back|fore]ground() with the respective
60061 gimp_palette_[get|set]_[back|fore]ground_rgb() functions.
60063 2001-01-14 Simon Budig <simon@gimp.org>
60066 Reordered some tools. It is IMHO more logical to group the
60067 "paint-style" and the "blur/smudge"-Tools together.
60068 The Ordering up to now was a "historical" ordering: Not good...
60070 I am thinking about grouping the "Non-image modifying"-tools
60071 (Magnify, Colorpicker, Measure tool) together...
60073 2001-01-14 Michael Natterer <mitch@gimp.org>
60076 * app/drawable.[ch]
60077 * app/gdisplay.[ch]
60078 * app/gimpdrawable.[ch]
60081 - Removed all "typedef drawable_function gimp_drawable_function".
60082 - Renamed all *_get_ID() functions to *_get_by_ID().
60083 - For symmetry reasons, renamed drawable_ID() to gimp_drawable_get_ID().
60084 - Removed the *_get_ID() functions of GimpLayer, GimpLayerMask
60088 * app/bezier_select.c
60090 * app/brightness_contrast.c
60091 * app/bucket_fill.c
60092 * app/by_color_select.c
60094 * app/color_balance.c
60095 * app/color_picker.c
60102 * app/edit_selection.c
60106 * app/floating_sel.c
60107 * app/fuzzy_select.c
60109 * app/gimage_mask.c
60110 * app/gimphistogram.c
60112 * app/global_edit.c
60113 * app/histogram_tool.c
60114 * app/hue_saturation.c
60118 * app/layer_select.c
60119 * app/layers_dialog.c
60126 * app/scan_convert.c
60130 * app/transform_core.c
60132 * app/undo_history.c
60134 * app/channel_cmds.c
60135 * app/channel_ops_cmds.c
60137 * app/display_cmds.c
60138 * app/drawable_cmds.c
60140 * app/floating_sel_cmds.c
60143 * app/parasite_cmds.c
60144 * app/selection_cmds.c
60145 * app/text_tool_cmds.c
60147 * libgimp/gimpdrawable_pdb.c
60148 * tools/pdbgen/pdb.pl
60149 * tools/pdbgen/pdb/channel_ops.pdb
60150 * tools/pdbgen/pdb/color.pdb
60151 * tools/pdbgen/pdb/drawable.pdb
60152 * tools/pdbgen/pdb/edit.pdb
60153 * tools/pdbgen/pdb/image.pdb
60154 * tools/pdbgen/pdb/selection.pdb
60155 * tools/pdbgen/pdb/tools.pdb: changed accordingly.
60157 2001-01-14 Sven Neumann <sven@gimp.org>
60159 * libgimp/gimpcolor.[ch]: added GimpHSV type and functions and
60160 gimp_rgb_composite functions
60162 * libgimp/gimpcolorbutton.c: indentation
60164 * libgimp/gimpcolorspace.[ch]: added GimpRGB <-> GimpHSV conversion
60167 * libgimp/gimpwidgets.[ch]: removed gimp_color_update_uchar function
60169 * plug-ins/Lighting/lighting_main.[ch]
60170 * plug-ins/Lighting/lighting_preview.c
60171 * plug-ins/Lighting/lighting_shade.c
60172 * plug-ins/MapObject/mapobject_image.c
60173 * plug-ins/MapObject/mapobject_main.[ch]
60174 * plug-ins/MapObject/mapobject_shade.c
60175 * plug-ins/common/mapcolor.c
60176 * plug-ins/common/nova.c
60177 * plug-ins/common/papertile.c
60178 * plug-ins/common/sinus.c
60179 * plug-ins/ifscompose/ifscompose.c
60180 * plug-ins/script-fu/script-fu-scripts.c: use GimpRGB and GimpHSV
60182 2001-01-14 Michael Natterer <mitch@gimp.org>
60185 * app/gimpdrawable.[ch]
60186 * app/layer.[ch]: moved the "removed" signal from GimpChannel and
60187 GimpLayer to GimpDrawable.
60189 * app/gimpimage.[ch]: changed accordingly.
60191 2001-01-14 Michael Natterer <mitch@gimp.org>
60196 * app/gimpimage.[ch]:
60198 Removed the "has_filename" boolean from GimpImage:
60200 - to get the filename, ask for GimpObjects's name.
60201 - gimp_image_filename() returns the *display* filename (and will be
60202 renamed to gimp_image_display_name() soon), i.e. returns
60203 "Unnamed" if object->name == NULL.
60204 - no need any more to check if the filename is the "" string because
60205 GimpImage overrides GimpObject's "name_changed" method and
60206 sets the name to NULL if it was "".
60208 2001-01-14 Sven Neumann <sven@gimp.org>
60210 Merged fixes from gimp-1-2:
60213 * app/plug-in.c: added some sanity checks for passed string pointers
60214 to various public functions in an attempt to fix bug #37622.
60216 * plug-ins/common/sharpen.c: applied a patch from Jerome Zago
60217 <jzago@ifhamy.insa-lyon.fr> that fixes a longstanding bug in the
60218 sharpen filter which sometimes got the last line wrong.
60221 2001-01-14 Michael Natterer <mitch@gimp.org>
60225 * app/brush_select.c
60226 * app/brushes_cmds.c
60228 * app/colormap_dialog.c
60229 * app/datafiles.[ch]
60235 * app/gimpbrush.[ch]
60236 * app/gimpbrushgenerated.[ch]
60237 * app/gimpbrushlist.[ch]
60238 * app/gimpbrushpipe.[ch]
60239 * app/gimpcontext.[ch]
60240 * app/gimpcontextpreview.c
60242 * app/gimpdrawable.h
60243 * app/gimpimage.[ch]
60248 * app/info_window.c
60252 * app/patterns.[ch]
60254 * app/undo_history.c
60256 * tools/pdbgen/pdb/brushes.pdb
60258 - Removed the "name" argument from all objects and use
60260 - Use the same code in all "uniquefy name" functions (this
60261 functionality will be a method of the "GimpContainer" class).
60262 - Renamed the parent instances of all objects to "parent instance".
60263 - Added missing instance and class cast macros.
60264 - Changed some "gchar *" to "const gchar *" parameters.
60266 2001-01-12 Sven Neumann <sven@gimp.org>
60268 * TODO.xml: updated status
60270 * app/gimpcontext.c: added temporary functions to make it compile
60272 * app/pixel_processor.c: include tile.h when ENABLE_MP is defined
60274 * libgimp/gimpcolor.[ch]: added more GimpRGB functions
60276 * plug-ins/common/aa.c: merged fix from gimp-1-2
60278 * plug-ins/common/colorify.c
60279 * plug-ins/common/colortoalpha.c
60280 * plug-ins/common/exchange.c
60281 * plug-ins/common/film.c
60282 * plug-ins/common/grid.c: use GimpRGB whereever possible.
60283 Still work in progress.
60285 2001-01-11 Sven Neumann <sven@gimp.org>
60287 * libgimp/gimpcolorarea.c: added antialiasing
60289 2001-01-11 Sven Neumann <sven@gimp.org>
60291 * libgimp/gimpcolorbutton.[ch]: allow width/height of the color_area
60292 to be set to negative values so the GimpColorButton can be set up
60295 2001-01-11 Sven Neumann <sven@gimp.org>
60297 * README: changed for gimp-1.3
60299 2001-01-11 Valek Filippov <frob@df.ru>
60301 * plug-ins/script-fu.c: changed INIT_I18N() to INIT_I18N_UI().
60303 2001-01-10 Sven Neumann <sven@gimp.org>
60305 * libgimp/gimpcolorarea.[ch]: finished new GimpColorArea widget which
60306 uses GimpRGB and handles DND and alpha channel.
60308 * libgimp/gimpcolorbutton.[ch]: use GimpColorArea. The API of the
60309 GimpColorButton has changed!
60311 * libgimp/gimpwidgets.[ch]: added temporary function
60312 gimp_color_update_uchar() to ease migration of plug-ins to GimpRGB.
60313 This function will go away.
60315 * plug-ins/Lighting/lighting_main.h
60316 * plug-ins/Lighting/lighting_ui.c
60317 * plug-ins/MapObject/mapobject_main.h
60318 * plug-ins/MapObject/mapobject_ui.c
60319 * plug-ins/common/colorify.c
60320 * plug-ins/common/colortoalpha.c
60321 * plug-ins/common/exchange.c
60322 * plug-ins/common/film.c
60323 * plug-ins/common/grid.c
60324 * plug-ins/common/mapcolor.c
60325 * plug-ins/common/nova.c
60326 * plug-ins/common/papertile.c
60327 * plug-ins/common/sinus.c
60328 * plug-ins/gdyntext/gdyntext_ui.c
60329 * plug-ins/ifscompose/ifscompose.[ch]
60330 * plug-ins/ifscompose/ifscompose_storage.c
60331 * plug-ins/ifscompose/ifscompose_utils.c
60332 * plug-ins/script-fu/script-fu-scripts.c: use new GimpColorArea and
60333 GimpColorButton. Started to introduce GimpRGB color type. This change
60334 might have broken some of these plug-ins. This is work in progress.
60336 * libgimp/Makefile.am: added GimpColorArea and GimpColorButton to
60339 * app/gimpcontext.[ch]: added gimp_palette_get_[fore|back]ground()
60340 functions so the app can link against libgimp/gimpcolorbutton.o.
60341 These functions will go away.
60343 * app/gimpdnd.c: use a GimpColorArea for DND
60345 2001-01-10 Michael Natterer <mitch@gimp.org>
60347 * app/gimpdrawable.[ch]: removed the "name" parameter and use
60348 GimpObject's name instead.
60351 * app/channel_ops.c
60352 * app/channels_dialog.c
60357 * app/layer_select.c
60358 * app/layers_dialog.c
60361 * app/xcf.c: changed accordingly, cleanup.
60363 2001-01-10 Michael Natterer <mitch@gimp.org>
60365 * app/gimpbrushlist.c
60366 * app/gimpdrawable.c: forgot to remove #include "gimpsignal.h"
60368 * app/gimpobject.[ch]: added a "name" argument (not used yet).
60370 2001-01-10 Michael Natterer <mitch@gimp.org>
60373 * app/gimpsignal.[ch]: removed.
60374 * app/gimpmarshal.[ch]: added.
60377 * app/gimpbrush.[ch]
60378 * app/gimpbrushgenerated.c
60379 * app/gimpbrushlist.[ch]
60380 * app/gimpbrushpipe.[ch]
60381 * app/gimpcontext.c
60382 * app/gimpdrawable.c
60384 * app/gimplist.[ch]
60385 * app/gimpobject.[ch]
60388 * app/layers_dialog.c
60390 * app/parasitelist.[ch]: removed gimp_signal_new() and
60391 GIMP_TYPE_INIT(). Fixed lots of object related uglyness.
60393 2001-01-09 Sven Neumann <sven@gimp.org>
60395 Merged fix from gimp-1-2:
60397 * app/gimpbrushlist.c
60400 * app/patterns.c: check for NULL pointers before doing strcmp on
60401 default names. The default names for brushes, patterns, ... can
60402 be NULL if they were not set in a readable gimprc file.
60404 * app/gimprc.c: warn the user if the systemwide gimprc couldn't be
60407 2001-01-09 Michael Natterer <mitch@gimp.org>
60409 * app/color_notebook.c: Show the "Alpha" scale only when needed.
60411 * libgimp/gimpcolorarea.[ch]: fixed typos.
60413 2001-01-09 Sven Neumann <sven@gimp.org>
60415 * TODO.xml: add more stuff
60417 2001-01-09 Sven Neumann <sven@gimp.org>
60420 * app/brush_select_cmds.c
60421 * app/brushes_cmds.c
60423 * app/layers_dialog.c
60424 * app/paint_funcs.c
60425 * app/tool_options.c
60427 * libgimp/gimpenums.h
60428 * plug-ins/script-fu/script-fu-constants.c
60429 * tools/pdbgen/enums.pl: applied patch from Oliver Lavery
60430 <oliver@zeroknowledge.com> that adds new blending modes
60431 (Dodge/Burn/Hardlight). Please play with these new modes
60432 and check if they are useful and well-implemented.
60434 2001-01-09 Sven Neumann <sven@gimp.org>
60436 * HACKING: added notice about autogenerated files.
60438 2001-01-09 Sven Neumann <sven@gimp.org>
60440 * libgimp/gimpcolorarea.[ch]: added a new simple widget which
60441 provides a color preview area capable of DND. It will be used
60442 in the GimpColorButton and in the color_selectors.
60444 * libgimp/Makefile.am
60446 * libgimp/gimpuitypes.h: include the new files
60448 * libgimp/gimpcolor.[ch]: use proper names instead of abbreviations
60451 * plug-ins/Lighting/lighting_preview.c
60452 * plug-ins/Lighting/lighting_shade.c
60453 * plug-ins/MapObject/mapobject_preview.c
60454 * plug-ins/MapObject/mapobject_shade.c
60455 * plug-ins/libgck/gck/gckcolor.c: changed accordingly
60457 2001-01-09 Michael Natterer <mitch@gimp.org>
60459 * app/color_notebook.[ch]
60460 * app/color_select.c: moved the scales and the toggle butttons out
60461 of the notebook. Added an "Aplha" scale (the opacity is not yet
60462 shown in the color area). Removed the ColorNotebook structure from
60465 * app/color_area.c: the ColorNotebook struct is no longer public.
60467 * libgimp/gimpcolorselector.h
60468 * modules/colorsel_gtk.c
60469 * modules/colorsel_triangle.c
60470 * modules/colorsel_water.c: changed the ColorSelector module
60471 interface again: Pass H, S, V, R, G, B and A in all functions
60472 and callbacks. Added a "set_channel" method because the channel
60473 toggles are outside the notebook now. This needs more work...
60475 2001-01-08 Michael Natterer <mitch@gimp.org>
60477 * app/color_notebook.[ch]
60478 * app/color_select.c: moved the "old" and "new" color areas from the
60479 notebook to the action_area.
60481 * TODO.xml: updated.
60484 * app/color_panel.c
60485 * app/colormap_dialog.c
60487 * libgimp/gimpcolorselector.h
60488 * modules/colorsel_gtk.c
60489 * modules/colorsel_triangle.c
60490 * modules/colorsel_water.c: removed the "set_current" parameter all
60491 over the place because it was always TRUE and not used in the modules
60494 2001-01-08 Michael Natterer <mitch@gimp.org>
60496 * app/color_notebook.c
60497 * app/color_select.c
60498 * libgimp/gimpcolorselector.h: more cleanup before chopping it up.
60500 2001-01-08 Michael Natterer <mitch@gimp.org>
60504 * app/colormap_dialog.gc
60505 * app/colormap_dialog.i.[ch]
60506 * app/colormap_dialog.p.h
60507 * app/colormap_dialog.t.h
60509 * tools/gcg/*: removed.
60511 * app/colormap_dialog.[ch]: moved all the colormap_dialog stuff
60512 here and cleaned up the autogenerated code.
60519 * app/color_notebook.h
60524 * tools/Makefile.am: changed accordingly, cleanup.
60526 * libgimp/gimpunitmenu.c: s/class/klass/
60528 2001-01-07 Michael Natterer <mitch@gimp.org>
60530 * app/by_color_select.c
60531 * app/channels_dialog.c
60533 * app/color_notebook.[ch]
60534 * app/color_panel.[ch]
60535 * app/color_picker.c
60536 * app/color_select.c
60537 * app/colormap_dialog.i.c
60539 * app/disp_callbacks.[ch]
60544 * libgimp/gimpcolorselector.h
60546 * modules/colorsel_gtk.c
60547 * modules/colorsel_triangle.c
60548 * modules/colorsel_water.c: made the color_notebook, the color_area
60549 and DND speak in terms of RGBA instead of RGB. The alpha value is
60550 not used yet, only the API changed. Everything should work exactly
60553 2001-01-07 Michael Natterer <mitch@gimp.org>
60555 * TODO.xml: add "Cleanup GIMP's color selectors".
60557 2001-01-07 Michael Natterer <mitch@gimp.org>
60559 * app/bezier_select.c
60560 * app/bezier_selectP.h: removed the obscure unused "extend" variable
60561 from the Bezier Tool structure.
60563 2001-01-07 Michael Natterer <mitch@gimp.org>
60565 * TODO.xml: added an item to optionally change the image window's
60568 * app/preferences_dialog.c: "Disable Tearoff Menus" was not saved
60571 2001-01-04 Asbjorn Pettersen <asbjornP@dualog.no>
60573 * modules/gimpmodregister.h: add #include <libgimp/gimptypes.h>
60574 * plug-ins/common/bz2.c (load_image): fix bug loading bz2 files (OS/2)
60576 2001-01-04 Sven Neumann <sven@gimp.org>
60578 * plug-ins/script-fu/scripts/title-header.scm: merged fix from 1.2
60580 2001-01-03 Michael Natterer <mitch@gimp.org>
60582 * app/levels.c: reverted the behaviour of the "Reset" button back
60583 to resetting the current channel only. Resetting all channels was
60584 broken and IMHO cannot work the way it was implemented.
60586 2001-01-03 Michael Natterer <mitch@gimp.org>
60588 * app/plug_in_cmds.c
60589 * app/procedural_db_cmds.c
60590 * tools/pdbgen/pdb/plug_in.pdb
60591 * tools/pdbgen/pdb/procedural_db.pdb
60592 * tools/pdbgen/app.pl: conditionally include <regex.h> or
60593 "regexrepl.h", depending on HAVE_GLIBC_REGEX.
60595 2001-01-03 Daniel Egger <egger@suse.de>
60597 * app/plug_in_cmds.c:
60598 * app/procedural_db_cmds.c:
60599 * plug-ins/script-fu/Makefile.am:
60600 * plug-ins/script-fu/interp_regex.c:
60601 * plug-ins/script-fu/regexrepl.c: Conditionally compile
60602 regex if not available in glibc.
60604 * plug-ins/script-fu/regex.c:
60605 * plug-ins/script-fu/regex.h: Renamed files to regexrepl.[ch].
60607 2001-01-03 Daniel Egger <egger@suse.de>
60609 * configure.in: Extended the glibc regexp check and enabled
60610 substitution for Makefiles.
60612 * app/Makefile.am: Compile regexp only if not in glibc.
60614 * app/plug_in_cmds.c:
60615 * app/procedural_db_cmds.c:
60616 * app/regexrepl.c: Include the correct local headerfile
60617 if no new glibc with regexp is available.
60620 * app/regex.h: Moved into regexprepl.[ch] to avoid nameclashes.
60622 2001-01-02 Daniel Egger <egger@suse.de>
60625 * configure.in: Added a check for a glibc compliant
60626 regex implementation.
60628 2001-01-02 Simon Budig <simon@gimp.org>
60630 * app/paint_core.c: use floor() before casting to gint when
60631 calculating the current brush coordinates. Fixes the jagged brush
60632 stroke when stroking a path that leaves the image at the top or left
60635 2001-01-02 Daniel Egger <egger@suse.de>
60639 * app/temp_buf.c: Use the new _clear function and more cleanups.
60641 2001-01-02 Michael Natterer <mitch@gimp.org>
60643 * app/temp_buf.[ch]: temp_buf_data_clear(): the temp_buf's size is
60644 (width * height * bytes). Cleanups.
60646 * app/fileops.c: removed a debugging g_print().
60648 2001-01-02 Daniel Egger <egger@suse.de>
60651 * app/temp_buf.h: Add a new function "temp_buf_data_clear" to
60652 get a nulled chunk of memory.
60654 * app/iscissors.c: Use it here instead of two expensive for
60655 loops. Clean up the source a little.
60657 2001-01-02 Michael Natterer <mitch@gimp.org>
60659 * app/bezier_select.c
60660 * app/bezier_selectP.h
60661 * app/selection_options.h: moved the integer "extend" variable from
60662 SelectionOptions to the BezierSelect structure because it does not
60663 have a UI widget. Also initialize it with "0" (was used
60664 uninitialized before). I have no idea what it does.
60666 2001-01-02 Michael Natterer <mitch@gimp.org>
60668 * app/selection_options.h
60669 * app/tool_options.c: made a correct tool toption out of
60670 "Interactive" (added a default value and the "Reset" function,
60671 set unused pointers to NULL).
60673 * app/iscissors.c: fixed indentation and spacing.
60675 2001-01-02 Daniel Egger <egger@suse.de>
60678 * app/selection_options.h:
60679 * app/tool_options.c: Applied patch by laramieleavitt@onetel.net.uk
60680 to add an interactive update to the iscissors tool.
60682 2001-01-02 Michael Natterer <mitch@gimp.org>
60684 * app/gimphelp.c (gimp_idle_help): s/welcome.html/introduction.html/.
60686 2001-01-02 Michael Natterer <mitch@gimp.org>
60690 * app/preferences_dialog.c: added a preferences option to disable
60691 tearoff menus. Cleanup in preferences.
60695 2001-01-02 Michael Natterer <mitch@gimp.org>
60697 * app/commands.c: some nicer prototypes.
60699 * app/fileops.c: oops, forgot to gtk_widget_show() the open_options.
60701 2001-01-02 Michael Natterer <mitch@gimp.org>
60703 * app/commands.[ch]
60706 * app/menus.c: Implemented "Save a Copy as..." which saves the image
60707 without changing it's filename.
60709 * app/layers_dialogP.h: export layers_dialog_layer_merge_query()
60710 here instead of defining it in commands.c
60712 * TODO.xml: mark this entry as done :)
60714 2001-01-01 Michael Natterer <mitch@gimp.org>
60716 * TODO.xml: added a TODO item for "Save a Copy..."
60718 2001-01-01 Michael Natterer <mitch@gimp.org>
60720 * plug-ins/libgck/gck/gck.h
60721 * plug-ins/libgck/gck/gckcolor.c: removed the GckRGB color type
60722 and all it's functions.
60724 * libgimp/Makefile.am
60725 * libgimp/gimpcolor.[ch]: new files containing the new GimpRGB color
60726 type and assorted functions.
60728 * libgimp/gimpcolorspace.[ch]: colorspace conversion routines for
60729 the new GimpRGB type. Also taken from LibGCK.
60732 * libgimp/gimptypes.h: #include "gimpcolor.h". It's ugly to include
60733 it in both files but unavoidable to follow our new "*.c" file include
60734 policy. This will go away as libgimp will be chopped up into pieces
60738 * app/asupsample.[ch]
60740 * app/color_transfer.h
60741 * app/gradient_header.h: removed "color_t" and use GimpRGB instead.
60743 * plug-ins/Lighting/lighting_apply.c
60744 * plug-ins/Lighting/lighting_image.c
60745 * plug-ins/Lighting/lighting_image.h
60746 * plug-ins/Lighting/lighting_main.c
60747 * plug-ins/Lighting/lighting_main.h
60748 * plug-ins/Lighting/lighting_preview.c
60749 * plug-ins/Lighting/lighting_shade.c
60750 * plug-ins/Lighting/lighting_shade.h
60751 * plug-ins/MapObject/mapobject_apply.c
60752 * plug-ins/MapObject/mapobject_image.c
60753 * plug-ins/MapObject/mapobject_image.h
60754 * plug-ins/MapObject/mapobject_main.c
60755 * plug-ins/MapObject/mapobject_main.h
60756 * plug-ins/MapObject/mapobject_preview.c
60757 * plug-ins/MapObject/mapobject_shade.c
60758 * plug-ins/MapObject/mapobject_shade.h
60759 * modules/colorsel_triangle.c: s/GckRGB/GimpRGB/g
60761 * plug-ins/gdyntext/gdyntextcompat.h: check also for GIMP's minor
60762 version when deciding if to add a missing PDB wrapper.
60763 (All this compat cruft including libgimp/gimpcompat.h should go
60766 2000-12-31 Michael Natterer <mitch@gimp.org>
60768 More preparation for LibGCK removal:
60770 * libgimp/gimpcolorspace.[ch]: added a "_int" suffix to all functions
60771 operating on 3 gint pointers, just like the gdouble functions have
60772 a "_double" suffix.
60774 * app/color_balance.c
60775 * app/hue_saturation.c
60776 * app/paint_funcs.c
60777 * modules/colorsel_triangle.c
60778 * plug-ins/common/CML_explorer.c
60779 * plug-ins/common/scatter_hsv.c
60780 * plug-ins/common/sparkle.c
60781 * plug-ins/common/vinvert.c
60782 * plug-ins/gflare/gflare.c: changed accordingly.
60784 2000-12-31 Sven Neumann <sven@gimp.org>
60785 Simon Budig <simon@gimp.org>
60788 * plug-ins/common/gih.c: explicitely cast offset to (off_t) when
60789 seeking back. Should fix the problems reading grayscale BrushPipes
60792 2000-12-31 Michael Natterer <mitch@gimp.org>
60794 * app/apptypes.h: cleaned up a bit.
60796 * app/asupsample.[ch]
60799 * app/gimpprogress.[ch]
60801 * app/perspective_tool.c
60803 * app/rotate_tool.c
60806 * app/transform_core.[ch]: s/gimp_progress/GimpProgress/g and some
60807 changes related to the apptypes.h cleanup.
60809 2000-12-31 Michael Natterer <mitch@gimp.org>
60811 * app/airbrush.[ch]
60812 * app/bezier_select.c
60813 * app/bezier_selectP.h
60816 * app/brightness_contrast.[ch]
60817 * app/bucket_fill.c
60818 * app/by_color_select.c
60820 * app/color_balance.c
60821 * app/color_picker.c
60823 * app/convolve.[ch]
60827 * app/dodgeburn.[ch]
60828 * app/edit_selection.[ch]
60829 * app/ellipse_select.c
60831 * app/flip_tool.[ch]
60832 * app/free_select.[ch]
60833 * app/fuzzy_select.[ch]
60836 * app/histogram_tool.[ch]
60837 * app/hue_saturation.[ch]
60838 * app/image_map.[ch]
60844 * app/nav_window.[ch]
60845 * app/paint_core.[ch]
60846 * app/paintbrush.[ch]
60847 * app/path_bezier.[ch]
60850 * app/perspective_tool.[ch]
60852 * app/rect_select.[ch]
60853 * app/rotate_tool.[ch]
60854 * app/scale_tool.[ch]
60855 * app/selection.[ch]
60856 * app/shear_tool.[ch]
60858 * app/text_tool.[ch]
60861 * app/transform_core.[ch]: removed the "gdisp_ptr" madness and
60862 useless casts all over the place. Introduced a "PaintState" enum
60863 instead of #define's. Various cleanups.
60865 2000-12-30 Michael Natterer <mitch@gimp.org>
60867 One more 17C3 commit ...
60869 * plug-ins/libgck/gck/gck.h
60870 * plug-ins/libgck/gck/gckcolor.c: removed unused stuff.
60872 * plug-ins/Lighting/lighting_apply.c
60873 * plug-ins/Lighting/lighting_image.[ch]
60874 * plug-ins/Lighting/lighting_main.c
60875 * plug-ins/Lighting/lighting_preview.[ch]
60876 * plug-ins/Lighting/lighting_shade.c
60877 * plug-ins/Lighting/lighting_ui.c
60878 * plug-ins/MapObject/mapobject_apply.c
60879 * plug-ins/MapObject/mapobject_image.[ch]
60880 * plug-ins/MapObject/mapobject_main.c
60881 * plug-ins/MapObject/mapobject_preview.c
60882 * plug-ins/MapObject/mapobject_shade.[ch]
60883 * plug-ins/MapObject/mapobject_ui.c: cleanups in preparation for
60886 2000-12-30 Michael Natterer <mitch@gimp.org>
60888 * app/gimage.[ch]: removed all the
60889 "typedef gimage_function gimp_image_function" stuff so we can clearly
60890 see what is really a GImage function.
60891 Removed gimage_get_ID(). Use pdb_id_to_image() instead.
60895 * app/disp_callbacks.c
60898 * app/floating_sel.c
60899 * app/gdisplay_ops.c
60900 * app/gimpdrawable.c
60901 * app/global_edit.c
60905 * app/paths_dialog.c
60910 * app/convert_cmds.c
60912 * tools/pdbgen/pdb/color.pdb
60913 * tools/pdbgen/pdb/convert.pdb
60914 * tools/pdbgen/pdb/image.pdb: changed accordingly.
60916 2000-12-29 Sven Neumann <sven@gimp.org>
60918 * TODO.xml: more things to do
60920 2000-12-29 Michael Natterer <mitch@gimp.org>
60923 * app/channel_pvt.h
60924 * app/drawable_pvt.h
60926 * app/gimpdrawableP.h
60929 * app/toolsF.h: removed these files.
60932 * tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
60934 * tools/pdbgen/pdb/brush_select.pdb
60935 * tools/pdbgen/pdb/brushes.pdb
60936 * tools/pdbgen/pdb/channel.pdb
60937 * tools/pdbgen/pdb/color.pdb
60938 * tools/pdbgen/pdb/convert.pdb
60939 * tools/pdbgen/pdb/display.pdb
60940 * tools/pdbgen/pdb/drawable.pdb
60941 * tools/pdbgen/pdb/fileops.pdb
60942 * tools/pdbgen/pdb/gradient_select.pdb
60943 * tools/pdbgen/pdb/gradients.pdb
60944 * tools/pdbgen/pdb/help.pdb
60945 * tools/pdbgen/pdb/image.pdb
60946 * tools/pdbgen/pdb/layer.pdb
60947 * tools/pdbgen/pdb/pattern_select.pdb
60948 * tools/pdbgen/pdb/patterns.pdb
60949 * tools/pdbgen/pdb/selection.pdb
60950 * tools/pdbgen/pdb/tools.pdb
60951 * app/*: chainsaw #include cleanup:
60953 - Never (never!!) include stuff in header files except where we
60954 need access to structures' contents (like derived objects).
60955 - Added prototypes and proper formating in many files.
60956 - The #include order in *all* *.c files is as follows:
60958 #include "config.h"
60960 #include <system stuff>
60962 #include <gtk/gtk.h>
60964 #include "apptypes.h"
60966 #include "gimp stuff"
60968 #include "libgimp stuff"
60970 #include "libgimp/gimpintl.h"
60972 By following this scheme we can easily see a file's dependencies
60973 from it's #include's and can grep for the inclusion to find out
60974 where a file is used.
60976 * tools/pdbgen/app.pl: changed to follow the include scheme above.
60978 * libgimp/Makefile.am
60979 * libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
60980 and from app/apptypes.h.
60982 * libgimp/gimpcolorbutton.[ch]
60983 * libgimp/gimpdialog.[ch]
60984 * libgimp/gimphelpui.[ch]
60985 * libgimp/gimpparasite.[ch]
60986 * libgimp/gimppatheditor.[ch]
60987 * libgimp/gimpprotocol.c
60988 * libgimp/gimpquerybox.[ch]
60989 * libgimp/gimpsizeentry.[ch]
60990 * libgimp/gimptypes.h
60992 * libgimp/gimpunit.h
60993 * libgimp/gimpunitmenu.[ch]
60994 * libgimp/gimpwidgets.[ch]: changed accordingly.
60996 * plug-ins/FractalExplorer/Dialogs.c
60997 * plug-ins/gdyntext/message_window.c
60998 * plug-ins/imagemap/imap_default_dialog.c
60999 * plug-ins/imagemap/imap_file.c: these files used to include
61000 "libgimp/gimpui.h" without including "libgimp/gimp.h". This is
61001 no longer possible because the libgimpui headers don't include
61002 "libgimp/gimpunit.h" any more.
61004 2000-12-29 Asbjorn Pettersen <asbjornP@dualog.no>
61006 * app/module_db.c: OS/2 fix. remove gimp_color_display_register(),,
61008 2000-12-29 Simon Budig <simon@gimp.org>
61010 * modules/colorsel_triangle.c Fixed the same 16->8bit conversion
61011 bug as in gimp-1-2 and removed duplicated code.
61013 2000-12-28 Simon Budig <simon@gimp.org>
61015 * gimp_splash.ppm A new splash...
61016 * gimp1_2_splash.ppm A new file for the old splash
61018 * modules/colorsel_triangle.c Fixed a warning.
61020 2000-12-28 Simon Budig <simon@gimp.org>
61022 * modules/colorsel_triangle.c
61023 Cleanup, indentation madness, first steps towards a one-click
61026 2000-12-28 Sven Neumann <sven@gimp.org>
61029 * app/layer.c: use gtk_object_sink() instead of gtk_object_unref()
61030 when deleting a layer or channel since only floating objects should
61031 be destroyed this way. A layer or channel that has been attached
61032 to an image shall never be deleted.
61035 * libgimp/gimplayer_pdb.c
61036 * tools/pdbgen/pdb/layer.pdb: reenabled the gimp_layer_delete() PDB
61037 function since it might be useful under rare circumstances.
61039 2000-12-28 Sven Neumann <sven@gimp.org>
61042 * app/layer_select.[ch]: small new feature: display a layer preview
61043 popup when switching the active layer using PageUp/PageDown. Could
61044 need a little tweaking...
61046 2000-12-28 Michael Natterer <mitch@gimp.org>
61050 * app/gimpdrawable.[ch]
61051 * app/gimpdrawableP.h
61052 * app/gimpimage.[ch]
61055 * app/layer_pvt.h: started a major cleanup of all image/drawable
61056 files. Added tons of "const GimpImage *" declarations and properly
61057 formated the headers.
61059 * app/bezier_select.c
61060 * app/channels_dialog.c
61063 * app/fuzzy_select.c
61065 * app/layers_dialog.c
61067 * app/paint_funcs.[ch]
61069 * app/undo.c: changed accordingly plus the usual portion of coding
61070 style paranoia. This is not finished but Sven promised to buy me
61071 a beer if I commit now ;)
61073 2000-12-28 Sven Neumann <sven@gimp.org>
61080 * app/parasitelistP.h
61081 * app/pixel_regionP.h: removed these files
61085 * app/boundary.[ch]
61086 * app/floating_sel.h
61091 * app/parasitelist.[ch]
61092 * app/pixel_processor.c
61093 * app/pixel_region.[ch]: moved structure definitions into the
61094 normal headers, various cleanups
61096 2000-12-28 Sven Neumann <sven@gimp.org>
61098 * app/channel_cmds.c
61100 * libgimp/gimpchannel_pdb.c
61101 * libgimp/gimplayer_pdb.c
61102 * plug-ins/common/warp.c
61103 * plug-ins/gap/gap_exchange_image.c
61104 * plug-ins/gap/gap_range_ops.c
61105 * plug-ins/perl/examples/bricks
61106 * plug-ins/perl/examples/glowing_steel
61107 * tools/pdbgen/pdb/channel.pdb
61108 * tools/pdbgen/pdb/layer.pdb:
61110 Two of the gimp-perl scripts used to call gimp_layer_delete() after
61111 gimp_image_remove_layer(). This will fail since the layer is already
61112 scheduled for destruction by removing it from the associated image or
61113 by deleting that image. It is thus dangerous and superfluous to export
61114 this feature through the PDB. The gimp_layer_delete() is hereby
61115 obsolete and does nothing any longer. I have removed the code calling
61116 it from all over the place (it was commented out in almost all places).
61118 The PDB help for gimp_channel_delete() now explicetly tells the user
61119 about the proper usage of the procedure.
61121 2000-12-28 Michael Natterer <mitch@gimp.org>
61123 * app/bezier_select.[ch]
61124 * app/bezier_selectP.h: massive cleanup (prototypes, indentation, ...)
61126 2000-12-28 Michael Natterer <mitch@gimp.org>
61128 * app/measure.c: cleanup, proper prototypes, ...
61130 2000-12-27 Michael Natterer <mitch@gimp.org>
61132 * plug-ins/common/csource.c: the size of the string holding the
61133 image data was one byte too short (we forgot the trailing '\0').
61134 Reported by <goswin.brederlow@student.uni-tuebingen.de>
61136 2000-12-27 Sven Neumann <sven@gimp.org>
61139 * docs/make-todo: new files. TODO.xml is a first start on a roadmap
61140 towards gimp-1.4. All new features and major changes need to be
61141 defined here to be accepted into the gimp-1.3 branch.
61143 2000-12-27 Michael Natterer <mitch@gimp.org>
61145 * app/gimpimage.c: gimp_image_merge_layers(): apply the layer mask
61146 only if layer->apply_mask is TRUE, cleanup.
61148 2000-12-27 Simon Budig <simon@gimp.org>
61150 * plug-ins/mosaic/mosaic.c
61151 * plug-ins/script-fu/scripts/textured-logo.scm
61152 Implemented a toggle to ask the user, if he wants to allow some
61153 tiles to be split in two pieces. This enables perfect hexagonal/
61154 squared/octagonal tiles. Changed the PDB-Interface and changed the
61155 script using this plug-in.
61157 2000-12-27 Michael Natterer <mitch@gimp.org>
61160 * app/gimpimage.[ch]: implemented gimp_image_get_layer_by_index(),
61164 * app/layers_dialog.c: use the new function instead of accessing
61165 the layer list directly.
61167 2000-12-27 Michael Natterer <mitch@gimp.org>
61169 * app/layers_dialog.c: layers_dialog_scroll_index(): don't fiddle
61170 around with magic numbers when calculating the layer widget's
61171 height but simply ask one of them for it's allocation. Fixes
61172 positioning when the preview is smaller than the layer widget list
61175 2000-12-27 Tomas Ogren <stric@ing.umu.se>
61177 * plug-ins/ifscompose/ifscompose_storage.c: Remove the last comma in
61180 Tue Dec 26 11:10:23 PST 2000 Manish Singh <yosh@gimp.org>
61182 * app/patterns.c: fix fd leak on loading
61184 Sun Dec 24 23:18:32 PST 2000 Manish Singh <yosh@gimp.org>
61186 * Made 1.2.0 release