1. 06 Oct, 2003 8 commits
    • Michael Natterer's avatar
      Treat changes to the selection like changes to any other drawable: · f0372cad
      Michael Natterer authored
      2003-10-06  Michael Natterer  <mitch@gimp.org>
      
      	Treat changes to the selection like changes to any other drawable:
      
      	* app/core/gimpchannel.c
      	* app/core/gimpchannel-combine.c: call gimp_drawable_update() after
      	changing the channel.
      
      	* app/core/gimpimage.[ch]: added struct GimpImageFlushAccumulator
      	with one member "gboolean mask_changed". Connect to "update" of
      	the selection and set accum.mask_changed to TRUE in the callback.
      	Added default implementation for GimpImage::flush() and emit
      	"mask_changed" there.
      
      	Unrelated:
      	* app/core/gimpimage.h: removed GimpGuide struct...
      	* app/core/gimpimage-guides.h: ...and added it here.
      
      	* app/core/gimpimage-undo-push.c (undo_pop_mask)
      	(undo_pop_channel_mod): don't distinguish between selection and
      	non-selection channels and just call gimp_drawable_update().
      
      	* app/core/gimpundo.h
      	* app/core/gimpimage-undo.c: removed "gboolean mask_changed" from
      	the GimpUndoAccumulator struct since we don't have to care about
      	that signal explicitly any more.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed gimp_displays_flush().
      
      	* tools/pdbgen/pdb/display.pdb (displays_flush_invoker): call
      	gimp_image_flush() on all images so the flush accumulator is
      	honored.
      
      	This generalization enables the removal of more special purpose
      	code which was needed to treat the selection different:
      
      	* app/core/gimpimage-mask-select.[ch]: removed...
      
      	* app/core/gimpchannel-select.[ch]: ...and added under a new name
      	because it's not selection specific any more.
      
      	* app/core/gimpimage-mask.[ch]: removed...
      
      	* app/core/gimpselection.[ch]: ...added the two remaining
      	functions here. Removed all calls to gimp_image_mask_changed().
      
      	* app/core/Makefile.am
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-snap.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/channels-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly.
      
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-colormap.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/gui/image-menu.c
      	* app/paint/gimppaintcore.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpinkoptions.c
      	* app/tools/gimpvectortool.c: removed useless and/or obsolete
      	#includes.
      
      	* app/pdb/display_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c: regenerated.
      f0372cad
    • Sven Neumann's avatar
      typo · 3ee37d40
      Sven Neumann authored
      3ee37d40
    • Sven Neumann's avatar
      app/app-docs.sgml updated. · 6fd1d5e7
      Sven Neumann authored
      2003-10-06  Sven Neumann  <sven@gimp.org>
      
      	* app/app-docs.sgml
      	* app-sections.txt: updated.
      6fd1d5e7
    • Michael Natterer's avatar
      guard callbacks against being invoked during display destruction. Fixes · 10760d3c
      Michael Natterer authored
      2003-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c: guard callbacks
      	against being invoked during display destruction. Fixes crashes
      	when closing/opening images. Also fixes the crash reported by
      	Pedro Gimeno in the comment to bug #117884, but doesn't fix
      	#117884 since it's a different issue.
      10760d3c
    • Michael Natterer's avatar
      HALT the tool with the right display. Fixes some random tool crashes. · afc58a66
      Michael Natterer authored
      2003-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tool_manager.c (tool_manager_image_undo_start): HALT
      	the tool with the right display. Fixes some random tool crashes.
      afc58a66
    • Marco Ciampa's avatar
      Updated italian translation. · 035d1e65
      Marco Ciampa authored
      035d1e65
    • Sven Neumann's avatar
      check for NULL pointers in the GimpDndDataDef array before using them. · 98a038d8
      Sven Neumann authored
      2003-10-06  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdnd.c (gimp_dnd_data_drop_handle): check for
      	NULL pointers in the GimpDndDataDef array before using them.
      	Might happen with the changed dockable DND code :(
      98a038d8
    • Helvetix Victorinox's avatar
      migrated to new (trimmer) code and removed dead code. Some beautification · 7752bf9e
      Helvetix Victorinox authored
      
      * app/composite/make-install.py: migrated to new (trimmer) code and
        removed dead code.  Some beautification for generated code.
      
      * app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis,generic}.{c,h}:
        All init() functions are also a run-time check and now expected to
        return TRUE/FALSE if the particular set of compositing functions can
        be used.
      
      * app/composite/gimp-composite.c: No longer has to determine if
        the particular set of compositing functions can be used.
      
      * app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-{install,test}.c:
        Regenerated
      
      * app/composite/test-composite.c: Deprecated, removed.  All tests are automatically
        generated and the code is in app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-test.c:
      
      * app/composite/Makefile.am: removed unused references to test-composite.c
      7752bf9e
  2. 05 Oct, 2003 11 commits
  3. 04 Oct, 2003 2 commits
    • Dave Neary's avatar
      Removed explicit initialisation to GIMP_ALL_HUES, this is set by default · 12bdbc33
      Dave Neary authored
      
      
      2003-10-04  Dave Neary  <bolsh@gimp.org>
      
              * app/tools/gimphuesaturationtool.c
              (gimp_hue_saturation_tool_initialize): Removed explicit
              initialisation to GIMP_ALL_HUES, this is set by default the
              first time the tool is opened, and shouldn't be set successive
              times. Fix suggested by edg1@freegates.be in Bugzilla. Fixes
              bug #123731.
      12bdbc33
    • Danilo Šegan's avatar
      Updated Serbian translation. · 576d7a68
      Danilo Šegan authored
      2003-10-04  Danilo Šegan  <dsegan@gmx.net>
      
      	* po/sr.po, po/sr@Latn.po, po-plug-ins/sr.po,
                po-plug-ins/sr@Latn.po, po-script-fu/sr.po,
                po-script-fu/sr@Latn.po: Updated Serbian translation.
      576d7a68
  4. 02 Oct, 2003 8 commits
    • Sven Neumann's avatar
      enabled the call to exit() again. · 1db2ada3
      Sven Neumann authored
      2003-10-02  Sven Neumann  <sven@gimp.org>
      
      	* app/app_procs.c (app_exit_after_callback): enabled the call to
      	exit() again.
      1db2ada3
    • Marco Ciampa's avatar
      Updated italian translation. · 33b5e0aa
      Marco Ciampa authored
      33b5e0aa
    • Sven Neumann's avatar
      unset the image filename. · edc37064
      Sven Neumann authored
      2003-10-02  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/carved-logo.scm: unset the image
      	filename.
      edc37064
    • Michael Natterer's avatar
      set the item's new image *after* converting it because we need the old · 86411380
      Michael Natterer authored
      2003-10-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.c (gimp_item_convert,gimp_item_real_convert):
      	set the item's new image *after* converting it because we need the
      	old image's colormap for conversions from and to INDEXED.
      	Fixes bug #123625.
      86411380
    • Michael Natterer's avatar
      Cleaned up the app init and exit stuff even more. Also reduces the number · 89d936f3
      Michael Natterer authored
      2003-10-02  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up the app init and exit stuff even more. Also reduces the
      	number of missing symbols for gimp-console. Added init and exit
      	debugging output (only for --verbose).
      
      	* app/core/gimpmarshal.list
      	* app/core/gimp.[ch]: added new signals "initialize" and
      	"restore".  Moved plug_ins_init() to Gimp::restore()'s default
      	implementation and plug_ins_exit() to Gimp::exit()'s default
      	implementation. Renamed gimp_set_config() to gimp_load_config()
      	and load GimpRC here. Moved base_init() and base_exit() to this
      	file, too.
      
      	* app/gui/Makefile.am
      	* app/gui/gui-vtable.[ch]: new files split out of gui.c. It was
      	simply too large.
      
      	* app/gui/gui.[ch]: renamed gui_themes_init() to gui_init(),
      	connect to Gimp's "initialize" and "restore" signals and create
      	the GUI stuff in the callbacks. Removed most other public
      	functions since they don't need to be called explicitly any more.
      	Moved the whole tool initialization/shutdown code to this file.
      
      	* app/gui/user-install-dialog.[ch]: changed
      	user_install_dialog_create() to user_install_dialog_run() and
      	added a gtk_main() at the end, so the install dialog's gtk_main()
      	and gtk_main_quit() live in the same file.
      
      	* app/app_procs.c: removed lots of stuff. app_init() is much
      	simpler now.
      89d936f3
    • Michael Natterer's avatar
      remember the name of the saved options and set it again after · a3ab230f
      Michael Natterer authored
      2003-10-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/tool-options-commands.c
      	(tool_options_save_to_cmd_callback): remember the name of the
      	saved options and set it again after gimp_config_copy_properties().
      	Fixes bug #123660.
      a3ab230f
    • Sven Neumann's avatar
      app/app-docs.sgml updated. · c2b8ffb1
      Sven Neumann authored
      2003-10-02  Sven Neumann  <sven@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt: updated.
      c2b8ffb1
    • Sven Neumann's avatar
      added back ellipsis to Display Filters and Configure Grid. · 8996d18f
      Sven Neumann authored
      2003-10-02  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/image-menu.c: added back ellipsis to Display Filters and
      	Configure Grid.
      
      2003-10-02  Sven Neumann  <sven@gimp.org>
      
      	* de.po: updated german translation (reviewing my menu changes).
      8996d18f
  5. 01 Oct, 2003 11 commits
    • Sven Neumann's avatar
      configure.in plug-ins/Makefile.am removed mosaic plug-in here... · 7aa41799
      Sven Neumann authored
      2003-10-02  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* plug-ins/Makefile.am
      	* plug-ins/mosaic/*: removed mosaic plug-in here...
      
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/mosaic.c
      	* plug-ins/common/plugin-defs.pl: ...and added it in plug-ins/common.
      7aa41799
    • Sven Neumann's avatar
      plug-ins/common/plugindetails.c plug-ins/common/unsharp.c · f8ef900a
      Sven Neumann authored
      2003-10-02  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/unsharp.c
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/script-fu/scripts/swirly-pattern.scm: tweaked menu items.
      f8ef900a
    • Sven Neumann's avatar
      app/gui/brushes-menu.c app/gui/channels-menu.c · f8fed93e
      Sven Neumann authored
      2003-10-02  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/brushes-menu.c
      	* app/gui/channels-menu.c
      	* app/gui/colormap-editor-menu.c
      	* app/gui/image-menu.c
      	* app/gui/templates-menu.c
      	* app/gui/vectors-menu.c: added ellipsis back for Edit menu items.
      	Added missing ellipsis for Stroke items.
      f8fed93e
    • Maurits Rijk's avatar
      splitting the dialogs and the events didn't make sense. Code merged with · 3a864485
      Maurits Rijk authored
      2003-10-01  Maurits Rijk  <lpeek.mrijk@consunet.nl>
      
      	* plug-ins/FractalExplorer/Events.[ch]: splitting the dialogs and the
      	events didn't make sense. Code merged with Dialogs.[ch] and files
      	removed.
      
      	* plug-ins/FractalExplorer/Dialogs.[ch]
      	* plug-ins/FractalExplorer/FractalExplorer.[ch]: major code clean-up.
      	Still lots of work to do (remove several deprecated widgets, etc.)
      3a864485
    • Sven Neumann's avatar
      added new symbols. · 90429077
      Sven Neumann authored
      2003-10-01  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.def: added new symbols.
      90429077
    • Sven Neumann's avatar
      app/gui/brushes-menu.c app/gui/channels-menu.c · 038a20e0
      Sven Neumann authored
      2003-10-01  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/brushes-menu.c
      	* app/gui/channels-menu.c
      	* app/gui/colormap-editor-menu.c
      	* app/gui/dialogs-menu.c
      	* app/gui/documents-menu.c
      	* app/gui/image-menu.c
      	* app/gui/palettes-menu.c
      	* app/gui/templates-menu.c
      	* app/gui/toolbox-menu.c
      	* app/gui/vectors-menu.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/dbbrowser/dbbrowser.c: followed the HIG advisory on
      	labelling menus with a trailing ellipsis and removed some.
      038a20e0
    • Sven Neumann's avatar
      renamed gimp_prop_size_entry_connect() to gimp_prop_coordinates_connect(). · ef94033e
      Sven Neumann authored
      2003-10-01  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimppropwidgets.[ch]: renamed
      	gimp_prop_size_entry_connect() to gimp_prop_coordinates_connect().
      	Added a new property widget that is a single GimpSizeEntry and is
      	connected to size and unit properties.
      
      	* app/widgets/gimptemplateeditor.c: changed accordingly.
      
      	* app/widgets/gimpstrokeeditor.c: added a "resolution" property
      	and use the new property widget.
      
      	* app/gui/stroke-dialog.c: pass the image resolution to
      	gimp_stroke_editor_new().
      ef94033e
    • Sven Neumann's avatar
      app/composite/gimp-composite-altivec.c app/composite/gimp-composite-mmx.c · 768b34b1
      Sven Neumann authored
      2003-10-01  Sven Neumann  <sven@gimp.org>
      
      	* app/composite/gimp-composite-altivec.c
      	* app/composite/gimp-composite-mmx.c
      	* app/composite/gimp-composite-sse.c
      	* app/composite/gimp-composite-sse2.c
      	* app/composite/gimp-composite-vis.c: moved includes out of the
      	#if __GNUC__ >= 3 to make the code compile on other compilers.
      
      	* app/composite/gimp-composite-3dnow.[ch]: added the same stubs here
      	for symmetry.
      768b34b1
    • Sven Neumann's avatar
      app/core/Makefile.am added small wrappers to ease handling of image units · 69f7bd13
      Sven Neumann authored
      2003-10-01  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-unit.[ch]: added small wrappers to ease
      	handling of image units and to hide the core GimpUnit API.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpstatusbar.c
      	* app/gui/info-window.c:
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimpscaletool.c: use the new functions.
      
      	* app/core/gimp-units.c
      	* app/vectors/gimpvectors-export.c: use the core GimpUnit API.
      
      	* app/vectors/gimpvectors.c: no need to include gimpunit.h here.
      69f7bd13
    • Sven Neumann's avatar
    • Sven Neumann's avatar
      make it handle aggregate object properties by calling itself recursively. · bb044204
      Sven Neumann authored
      2003-10-01  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.c (gimp_config_diff): make it handle
      	aggregate object properties by calling itself recursively.
      bb044204