1. 18 Nov, 2002 10 commits
    • Sven Neumann's avatar
      Finally landed the new GimpConfig based gimprc parser. It's not finished · 073e533a
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	Finally landed the new GimpConfig based gimprc parser. It's not
      	finished yet but we need to start somewhere. This release removes
      	the old gimprc.[ch] files. The gimprc format changes slightly, but
      	the changes are minimal. The Preferences dialog is temporarily
      	disabled since it still needs to be ported. If you are are afraid,
      	stay away from CVS for a few days ;-)
      
      	* app/Makefile.am
      	* app/gimprc.[ch]: removed the old gimprc system.
      
      	* app/base/Makefile.am
      	* app/base/base-config.[ch]: removed these files in favor of
      	config/gimpbaseconfig.[ch].
      
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: removed these files in favor of
      	config/gimpcoreconfig.[ch].
      
      	* app/config/Makefile.am
      	* app/config/config-types.h: moved typedefs into this new file.
      
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc.[ch]
      	* app/config/test-config.c: brought into shape for real use.
      
      	* app/base/base-types.h: include config/config-types.h here. Added
      	a global GimpBaseConfig *base_config variable to ease migration.
      
      	* app/gui/Makefile.am: temporarily disabled the preferences dialog.
      
      	* app/app_procs.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/base/base.[ch]
      	* app/base/gimphistogram.c
      	* app/base/pixel-processor.c
      	* app/base/temp-buf.c
      	* app/base/tile-cache.c
      	* app/core/core-types.h
      	* app/core/gimp-documents.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpmodules.c
      	* app/core/gimppattern.c
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpnavigationview.c
      	* app/file/file-save.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/session.c
      	* app/gui/test-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/tips-dialog.h
      	* app/gui/user-install-dialog.c
      	* app/gui/view-commands.c
      	* app/paint/gimppaintcore.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimptexttool.[ch]
      	* app/tools/selection_options.c
      	* app/tools/tools.c
      	* app/tools/transform_options.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimpselectioneditor.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: use the new config system
      	instead of the old gimprc stuff.
      
      	* etc/gimprc.in
      	* etc/gimprc_user.in: adapted to the new gimprc format. Will update
      	the man-page later...
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpgimprc_pdb.c: regenerated.
      073e533a
    • Sven Neumann's avatar
      improved error message for the special case of store_unknown_tokens == · 6e5f6a0b
      Sven Neumann authored
      2002-11-18  Sven Neumann  <neo@wintermute>
      
      	* app/config/gimpconfig-deserialize.c
      	(gimp_config_deserialize_properties): improved error message for
      	the special case of store_unknown_tokens == TRUE.
      6e5f6a0b
    • Sven Neumann's avatar
      try to substitute paths of the form ${foo} in the unknown token value. · 79101957
      Sven Neumann authored
      2002-11-18  Sven Neumann  <neo@wintermute>
      
      	* app/config/gimpconfig.c (gimp_config_add_unknown_token): try to
      	substitute paths of the form ${foo} in the unknown token value.
      
      	* data/environ/Makefile.am: fixed a comment.
      79101957
    • Sven Neumann's avatar
      allow numbers when deserializing enum values. · e90728cf
      Sven Neumann authored
      2002-11-18  Sven Neumann  <neo@wintermute>
      
      	* app/config/gimpconfig-deserialize.c (gimp_config_deserialize_enum):
      	allow numbers when deserializing enum values.
      e90728cf
    • Sven Neumann's avatar
      data/images/Makefile.am removed old animated splash. · 2b01d397
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	* data/images/Makefile.am
      	* data/images/gimp_splash.gif: removed old animated splash.
      
      	* data/images/gimp_splash.png: a new splash screen for 1.3.11
      	created by Jakub Steiner <jimmac@ximian.com>.
      2b01d397
    • Michael Natterer's avatar
      removed public function gimp_transform_tool_transform_tiles() and made it · c8a98076
      Michael Natterer authored
      2002-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptransformtool.[ch]: removed public function
      	gimp_transform_tool_transform_tiles() and made it the default
      	implementation of the transform() virtual function. Added
      	"const gchar *progress_text" to GimpTransformTool so it is
      	available for the new default implementation. Cleanup.
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: removed transform() implementations
      	and set transform_tool->progress_text accordingly. Even more
      	cleanup.
      c8a98076
    • Sven Neumann's avatar
      try automake-1.7 if automake-1.6 is not available. · fdf3d233
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	* autogen.sh: try automake-1.7 if automake-1.6 is not available.
      fdf3d233
    • Michael Natterer's avatar
      forgot to remove the "_delete_event_" stuff's documentation. · 9fb41c87
      Michael Natterer authored
      2002-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpdialog.c: forgot to remove the
      	"_delete_event_" stuff's documentation.
      9fb41c87
    • Michael Natterer's avatar
      removed unneeded #includes. · 80a11562
      Michael Natterer authored
      2002-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tool_manager.c: removed unneeded #includes.
      80a11562
    • Michael Natterer's avatar
      removed the "feature" of creating dialogs without action area by passing · 009e8349
      Michael Natterer authored
      2002-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpdialog.c: removed the "feature" of creating
      	dialogs without action area by passing "_delete_event_" as button
      	text. Also changed the delete_event() implementation: don't
      	remember a callback and call it manually but gtk_widget_activate()
      	the button for which "connect_delete" was passed as TRUE.
      
      	* app/gui/test-commands.c: added a "Close" button to the multi view.
      
      	* app/gui/brush-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: ditto. Removed the "context"
      	parameter of the *_select_new() functions. All sorts of cleanups
      	in all dialogs.
      
      	* app/gui/convert-dialog.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: changed accordingly.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/pattern_select_cmds.c: regenerated.
      009e8349
  2. 17 Nov, 2002 10 commits
  3. 16 Nov, 2002 1 commit
    • Manish Sing's avatar
      use g_spawn_async now. If the OS/2 port is still being maintained, there · 303e5c6a
      Manish Sing authored
      2002-11-16  Manish Sing  <yosh@gimp.org>
      
              * app/plug-in/plug-in.c: use g_spawn_async now. If the OS/2 port
              is still being maintained, there needs to be work done Glib side.
              If not, we should probably drop the other support code.
      
              * app/plug-in/plug-in.h: remove unused Win32 only structure members
      303e5c6a
  4. 15 Nov, 2002 1 commit
  5. 14 Nov, 2002 2 commits
    • Michael Natterer's avatar
      Transform tool cleanup: · 7ee99ea3
      Michael Natterer authored
      2002-11-14  Michael Natterer  <mitch@gimp.org>
      
      	Transform tool cleanup:
      
      	* libgimptool/gimptoolenums.[ch]: removed the TransformState enum.
      
      	* app/tools/gimptransformtool.[ch]: don't dispatch everything
      	through the transform() virtual function. Added new vitrual
      	functions dialog(), prepare(), motion() and recalc(). Do only the
      	actual transform in transform(). Moved lots of logic which was
      	duplicated in each subclass' transform() here. Cleanup.
      
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: changed accordingly: moved code from
      	transform() to the other method imlementations. Removed duplicated
      	logic which is now done by our parent class. Makes everything
      	smaller and more readable.
      
      	InfoDialog cleanup:
      
      	* app/gui/info-dialog.c: removed the "delete_event" callback so
      	InfoDialog users can decide themselves what to do.
      
      	* app/gui/info-window.c
      	* app/tools/gimpmeasuretool.c: changed accordingly.
      
      	* app/tools/gimpcolorpickertool.c: ditto. Moved info_dialog
      	creation to a utility function to improve code readbility.
      
      	* app/tools/gimpcroptool.c: ditto. Added a "Cancel" button which
      	really cancels the tool instead of just hiding the dialog.
      
      	* app/tools/gimptransformtool.c: added a "Cancel" button here too.
      7ee99ea3
    • Michael Natterer's avatar
      removed the old hack which sets tool->gdisp. Fixes bug #98056. · 1f3bd288
      Michael Natterer authored
      2002-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/tools-commands.c (tools_select_cmd_callback): removed
      	the old hack which sets tool->gdisp. Fixes bug #98056.
      
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_initialize):
      	set tool->gdisp here because the hack was there for tools which
      	implement initialize() and show dialogs when selected from the
      	menu. Also fixed wrong paramater to gimp_viewable_dialog_new().
      1f3bd288
  6. 13 Nov, 2002 1 commit
  7. 12 Nov, 2002 4 commits
    • Christian Rose's avatar
      Updated Swedish translation. · 163d88f2
      Christian Rose authored
      2002-11-12  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      163d88f2
    • Sven Neumann's avatar
      check for NULL masks returned from the brush scaler. Should fix crashes · 26c373c9
      Sven Neumann authored
      2002-11-12  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/gimppaintcore.c: check for NULL masks returned from
      	the brush scaler. Should fix crashes with buggy input devices.
      	Fix suggested by Jim Meyer <jim@dsdd.org> (#91067).
      26c373c9
    • Michael Natterer's avatar
      use GTK_STOCK_REMOVE for "<Dialogs>/Remove Tab". · d932f87c
      Michael Natterer authored
      2002-11-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/menus.c: use GTK_STOCK_REMOVE for "<Dialogs>/Remove Tab".
      d932f87c
    • Manish Singh's avatar
      don't say "Now type 'make'" if configure failed. · 2eef2afb
      Manish Singh authored
      2002-11-11  Manish Singh  <yosh@gimp.org>
      
              * autogen.sh: don't say "Now type 'make'" if configure failed.
      
              * app/core/Makefile.am
              * app/core/core-types.h
              * app/core/gimpenvirontable.[ch]: Implemented GimpEnvironTable,
              keeps an envp array built from system environment and *.env files.
      
              * app/core/gimp.[ch]: keep a GimpEnvironTable around.
      
              * app/gimprc.c
              * app/config/gimpcoreconfig.[ch]
              * app/core/gimpcoreconfig.h
              * app/gui/preferences-dialog.c
              * app/gui/user-install-dialog.c: environ-path config stuff
      
              * themes/Default/images/preferences/Makefile.am
              * themes/Default/images/preferences/folder-environ.png: just copied
              folder.png here, need a better one.
      
              * app/plug-in/plug-in.c: quick hack to use the envp in the
              GimpEnvironTable. Only on unix now, should really port the
              code to use g_spawn_*.
      
              * data/misc/user_install
              * etc/gimprc.in: add environ-path stuff
      
              * data/environ/Makefile: creates system environ directory.
      
              * data/environ/default.env: sample env file info.
      
              * data/Makefile.am
              * configure.in: added data/environ dir
      
              * plug-ins/pygimp/Makefile.am: python module files get put in
              $(gimpplugindir)/python now, install pygimp.env to point to it.
      
              * plug-ins/pygimp/doc/Makefile.am: minor clean up.
      2eef2afb
  8. 11 Nov, 2002 1 commit
  9. 10 Nov, 2002 6 commits
  10. 09 Nov, 2002 4 commits