1. 15 Apr, 2003 1 commit
    • Sven Neumann's avatar
      Removed support for pluggable tools: · 0c399e5c
      Sven Neumann authored
      2003-04-15  Sven Neumann  <sven@gimp.org>
      
      	Removed support for pluggable tools:
      
      	* configure.in: bumped version number to 1.3.15.
      
      	* Makefile.am
      	* libgimpproxy
      	* libgimptool
      	* plug-ins/Makefile.am
      	* plug-ins/plugin-helper
      	* plug-ins/tools: removed libgimpproxy, libgimptool and plug-ins
      	that used it.
      
      	* tools/Makefile.am
      	* tools/gimp-mkproxy: removed tool that used to generate
      	libgimpproxy.
      
      	* app/core/core-enums.h
      	* app/core/gimpchannel.h
      	* app/display/display-types.h
      	* app/widgets/widgets-enums.h: removed proxy-skip/resume stuff.
      
      	* app/core/gimpobject.c: use gimp marshallers.
      
      	* app/tools/Makefile.am
      	* app/tools/gimptool.h
      	* app/tools/tools-enums.[ch]: moved these files back from
      	libgimptool.
      
      	* app/tools/gimptool.c
      	* app/tools/gimptoolcontrol.h: merged back functionality from
      	libgimptool.
      
      	* app/Makefile.am
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/tools-commands.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbucketfilltool.h
      	* app/tools/gimpdrawtool.h
      	* app/tools/gimpimagemaptool.h
      	* app/tools/gimpinktool.h
      	* app/tools/gimptoolmodule.c
      	* app/tools/tool_manager.c
      	* app/tools/tools-types.h
      	* app/tools/tools.c
      	* tools/pdbgen/Makefile.am: changed accordingly.
      0c399e5c
  2. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5
  3. 20 Feb, 2003 1 commit
    • Michael Natterer's avatar
      Reimplemented the undo history: · c8b4394d
      Michael Natterer authored
      2003-02-20  Michael Natterer  <mitch@gimp.org>
      
      	Reimplemented the undo history:
      
      	* app/Makefile.am
      	* app/undo_history.[ch]: removed.
      
      	Changes/cleanups to the undo system to enable/simplify the new
      	undo history implementation:
      
      	* app/core/core-types.h: removed enum undo_event_t. Removed the
      	GimpImage parameter from GimpUndoPopFunc and GimpUndoFreeFunc
      	because GimpUndo has a GimpImage pointer now (see below).
      
      	* app/core/core-enums.[ch]: added enum GimpUndoEvent. Added an
      	enum value for REDO_EXPIRED.
      
      	* app/core/gimpimage.[ch]: added a GimpUndo pointer to the
      	"undo_event" signal which needs to be passed for all events except
      	UNDO_FREE.
      
      	* app/display/gimpdisplayshell-handlers.c: changed accordingly.
      
      	* app/core/gimpundo.[ch]: added a GimpImage pointer to the
      	GimpUndo struct. Removed GimpImage parameters all over the
      	place. Added preview stuff. The preview creation needs to be
      	triggered explicitly using gimp_undo_create_preview() because the
      	GimpUndo can't know when it's possible to create the preview.
      
      	* app/core/gimpimage-undo-push.c
      	* app/paint/gimppaintcore-undo.c
      	* app/tools/gimptransformtool-undo.c: changed accordingly, cleanup.
      
      	* app/core/gimpundostack.[ch]: ditto. Return the freed undo from
      	gimp_undo_stack_free_bottom(). Removed unused container signal
      	handlers.
      
      	* app/core/gimpimage-undo.c: free the redo stack the same way old
      	undos are freed (from bottom up). Emit "undo_event" with event ==
      	REDO_EXPIRED for each removed redo.
      
      	* app/core/gimpmarshal.list: added new marshallers.
      
      	New undo history implementation:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpundoeditor.[ch]
      	* app/widgets/gimpundopreview.[ch]: new widgets for the undo
      	step previews and the history itself.
      
      	* app/widgets/gimppreview-utils.c: added GimpUndoPreview to the
      	list of possible preview types.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs-menu.c
      	* app/gui/dialogs.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: removed the old and added the new undo
      	history to the dialog factory and the various dialog menus.
      
      	* app/widgets/gimpdnd.[ch]: don't warn if a GType has no
      	corresponding DND type. Instead, return FALSE from the function
      	that failed.
      
      	* app/widgets/gimppreview.c: check the return value of gimpdnd
      	functions.  Not only add drag sources but also remove them when no
      	longer needed.
      
      	* app/widgets/gimpselectioneditor.h: removed unneeded inclusion of
      	"gui/gui-types.h".
      c8b4394d
  4. 14 Feb, 2003 1 commit
    • Michael Natterer's avatar
      Moved the undo step implementations to the core and pass around lots of · 7a6a8d9d
      Michael Natterer authored
      2003-02-14  Michael Natterer  <mitch@gimp.org>
      
      	Moved the undo step implementations to the core and pass around
      	lots of "const gchar *undo_desc". Fixes bug #104367.
      
      	* app/Makefile.am
      	* app/undo.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-undo-push.[ch]: ...and added here.
      
      	* app/paint/Makefile.am
      	* app/tools/Makefile.am
      	* app/paint/gimppaintcore-undo.[ch]
      	* app/tools/gimptransformtool-undo.[ch]: new files for the
      	paint and transform undos.
      
      	* app/core/gimppaintinfo.[ch]: added a blurb.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint-types.h
      	* app/paint/paint.c: pass the blurb when registering the core.
      
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimage-mask-select.[ch]
      	* app/core/gimpimage-mask.[ch]
      	* app/core/gimpimagemap.[ch]
      	* app/core/gimplayer-floating-sel.[ch]: added "undo_desc" parameters
      	to all undo pushing helper functions.
      
      	* app/undo_history.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/gui/channels-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/text/gimptext-compat.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpselectioneditor.c
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly: pass
      	"undo_desc" strings, changed includes or simply removed inclusion
      	of "undo.h". Some random cleanups.
      
      	* tools/pdbgen/pdb/guides.pdb: cleaned up a lot. Fixed
      	gimp_image_find_next_guide() to not return guides with
      	position < 0 (and made it shorter and readable).
      
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/guides_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c: regenerated.
      7a6a8d9d
  5. 12 Feb, 2003 2 commits
    • Michael Natterer's avatar
      Moved the undo system to the core: Keep GimpUndoStack objects as undo and · be70105d
      Michael Natterer authored
      2003-02-12  Michael Natterer  <mitch@gimp.org>
      
      	Moved the undo system to the core: Keep GimpUndoStack objects as
      	undo and redo stack. Use GimpUndo objects as members of the
      	stacks. GimpUndoStack is derived from GimpUndo and keeps undo
      	groups, so undo group handling is much simpler than before
      	(the whole group is just a single GimpUndo object on the
      	stack and not everything between group boundary markers).
      
      	* app/Makefile.am
      	* app/undo_types.h: removed.
      
      	* app/config/gimpcoreconfig.[ch]: added "gulong undo_size".
      	* app/config/gimprc-blurbs.h: and its blurb.
      
      	* app/core/core-enums.[ch]: added GimpUndoMode and GimpUndoType.
      
      	* app/core/core-types.h: removed UndoType, added GimpUndoAccumulator,
      	GimpUndoPopFunc and GimpUndoFreeFunc.
      
      	* app/core/gimpundo.[ch]: do everything the old "Undo" struct did.
      	Removed the virtual push() function and added free().
      
      	* app/core/gimpundostack.[ch]: keeps the new undo/redo stacks
      	and also acts as undo group.
      
      	* app/core/gimpimage-undo.[ch]: moved the undo apparatus here.
      
      	* app/core/gimpimage.[ch]: removed the old stuff.
      
      	* app/core/gimpmarshal.list: added marshaller needed for GimpUndo.
      
      	* app/undo.[ch]: removed the whole undo mechanism. Only the
      	actual undo pushing functions are left.
      
      	* app/undo_history.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-menu.c
      	* app/gui/preferences-dialog.c
      	* app/tools/gimpeditselectiontool.c: changed accordingly.
      be70105d
    • Sven Neumann's avatar
      app/Makefile.am app/path_bezier.[ch] app/path_curves.[ch] · 4858a375
      Sven Neumann authored
      2003-02-12  Sven Neumann  <sven@gimp.org>
      
      	* app/Makefile.am
      	* app/path_bezier.[ch]
      	* app/path_curves.[ch]
      	* app/tools/Makefile.am
      	* app/tools/gimppathtool.[ch]
      	* app/tools/path_tool.[ch]: removed the abandoned path tool
      	prototype.
      4858a375
  6. 03 Feb, 2003 1 commit
    • Michael Natterer's avatar
      removed the "truly ugly hack"... · f7a91117
      Michael Natterer authored
      2003-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am: removed the "truly ugly hack"...
      
      	* app/Makefile.am: ...and changed the linking order instead.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/paint/Makefile.am
      	* app/widgets/Makefile.am: fixed typo.
      f7a91117
  7. 29 Jan, 2003 1 commit
    • Sven Neumann's avatar
      configure.in app/Makefile.am added new directory text. · 60273b5b
      Sven Neumann authored
      2003-01-29  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* app/text/Makefile.am: added new directory text.
      
      	* app/text/text-types.h
      	* app/text/gimptext.[ch]: moved GimpText object here.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimage-text.c
      	* app/tools/gimptexttool.c: changed accordingly.
      60273b5b
  8. 26 Dec, 2002 2 commits
    • Tor Lillqvist's avatar
      On Win32, create export file gimp.exp. (LDFLAGS): Add -mwindows. (LDADD): · 63f82075
      Tor Lillqvist authored
      2002-12-26  Tor Lillqvist  <tml@iki.fi>
      
      	* app/Makefile.am: On Win32, create export file gimp.exp.
      	(LDFLAGS): Add -mwindows.
      	(LDADD): Link with gimp.exp.
      
      	* app/gimp.sym: Remove all old entries (seemed to be obsolete).
      	Instead, add the ones linked to from libgimptool.
      63f82075
    • Tor Lillqvist's avatar
      Drop makefile.mingw{,.in}. · 5c547107
      Tor Lillqvist authored
      2002-12-26  Tor Lillqvist  <tml@iki.fi>
      
      	* app/Makefile.am (EXTRA_DIST): Drop makefile.mingw{,.in}.
      
      	* libgimp/gimp.c: Define LIBGIMP_COMPILATION.
      	(gimp_main) [Win32] Use g_ascii_strcasecmp().
      
      	* libgimp/gimp.def: Add _readchannel (used by libgimpui).
      
      	* libgimp/gimp.h: Fix minor typo in comment.
      
      	* libgimp/Makefile.am: Similar additions for Win32 as in the other
      	libgimp*/Makefile.am files: Use -no-undefined. Conditionally link
      	to ../lib*/*.la as needed. Use the .def file. Produce MS style
      	import library if possible. Install and uninstall import
      	libraries. Don't distribute makefile.mingw{,.in}.
      5c547107
  9. 04 Dec, 2002 1 commit
    • Michael Natterer's avatar
      added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. · d79ac249
      Michael Natterer authored
      2002-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: added -DGIMP_APP_GLUE_COMPILATION to
      	AM_CPPFLAGS.
      
      	* app/appenv.h
      	* app/batch.h
      	* app/errors.h: #error if it is not defined to keep these files
      	from being included from anywhere else.
      
      	* app/app_procs.h: added just a #warning because some places still
      	need "the_gimp" and app_exit().
      
      	* app/libgimp_glue.h: #ifdef the #error the same way as the other
      	headers do.
      d79ac249
  10. 18 Nov, 2002 2 commits
    • Sven Neumann's avatar
      app/Makefile.am we don't need these any longer. · 26c591f2
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	* app/Makefile.am
      	* app/general.[ch]: we don't need these any longer.
      26c591f2
    • 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
  11. 21 Oct, 2002 1 commit
    • Michael Natterer's avatar
      Makefile.am libgimpmodule/.cvsignore libgimpmodule/Makefile.am · 0f77b422
      Michael Natterer authored
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* libgimpmodule/.cvsignore
      	* libgimpmodule/Makefile.am
      	* libgimpmodule/gimpmodule.[ch]
      	* libgimpmodule/gimpmodule.def
      	* libgimpmodule/gimpmoduletypes.h
      	* libgimpmodule/makefile.msc: new library for module loading.
      
      	* configure.in: generate Makefiles for libgimpmodule and its
      	devel-docs. Added GMODULE_CFLAGS and GMODULE_LIBS.
      
      	* app/Makefile.am: link the app against it.
      
      	* libgimp/gimpmodule.h
      	* app/core/gimpmoduleinfo.[ch]: removed.
      
      	* libgimp/Makefile.am
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpmodules.c
      	* app/gui/module-browser.c: changed accordingly.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: #include "libgimpmodule/gimpmodule.h"
      
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* libgimpmodule/.cvsignore
      	* libgimpmodule/Makefile.am
      	* libgimpmodule/libgimpmodule-docs.sgml
      	* libgimpmodule/libgimpmodule-sections.txt
      	* libgimpmodule/libgimpmodule.types
      	* libgimpmodule/tmpl/.cvsignore
      	* libgimpmodule/tmpl/gimpmodule.sgml
      	* libgimpmodule/tmpl/gimpmoduletypes.sgml: added API docs for the
      	new module loading lib.
      
      	* libgimp/tmpl/gimpmodule.sgml: removed.
      
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt: changed accordingly.
      
      	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
      	* libgimpwidgets/tmpl/gimpcolorselect.sgml
      	* libgimpwidgets/tmpl/gimpcolorselector.sgml: updated.
      
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: removed app/core/gimpmoduleinfo.c
      
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: added libgimpmodule/gimpmodule.c
      0f77b422
  12. 26 Aug, 2002 1 commit
    • Michael Natterer's avatar
      Color correction tool chopping: · 1186e83a
      Michael Natterer authored
      2002-08-26  Michael Natterer  <mitch@gimp.org>
      
      	Color correction tool chopping:
      
      	* app/Makefile.am
      	* app/image_map.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimagemap.[ch]: ...and added here as object.
      
      	* app/base/Makefile.am
      	* app/base/base-types.h
      	* app/base/color-balance.[ch]
      	* app/base/curves.[ch]
      	* app/base/hue-saturation.[ch]
      	* app/base/threshold.[ch]: the lowlevel color correction functions
      	plus their parameter structs cut out of the resp. tools.
      
      	* app/core/core-enums.[ch]: removed GimpTransferMode enum...
      
      	* app/base/base-enums.[ch]: ...added it here. Also added
      	GimpHueRange for the new hue-saturation files.
      
      	* tools/pdbgen/enums.pl
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpcolorbalancetool-transfer.c: removed (code went
      	to base/color-balance.c).
      
      	* app/tools/gimpimagemaptool.[ch]: added most code which was
      	diplicated in subclasses. Create the dialog here with a nice title
      	bar including image preview and name (fixes #66033). Added virtual
      	functions map(), dialog() and reset() which need to be implemented
      	by subclasses.
      
      	* app/tools/gimpbrightnesscontrasttool.[ch]
      	* app/tools/gimpcolorbalancetool.[ch]
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimphuesaturationtool.[ch]
      	* app/tools/gimplevelstool.[ch]
      	* app/tools/gimpposterizetool.[ch]
      	* app/tools/gimpthresholdtool.[ch]: removed tons of duplicated
      	code and simply implement GimpImageMapTool's virtual functions.
      	Removed all dialog structs and keep the variables in the tool
      	structs. The dialogs are now created on-the-fly and destroyed when
      	the tool goes away, which makes all callbacks much simpler and
      	safer. Lots of GUI & code cleanup in all dialogs.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c: added separate "Reset Channel"
      	buttons and let the global "Reset" buttons reset all color
      	channels.
      
      	* app/tools/tools.c: the various antique foo_free() functions
      	don't exist any more.
      
      	* app/tools/gimphistogramtool.c: removed ImageMap field from
      	dialog struct (it was unused). Cleaned up dialog a bit.
      
      	* tools/pdbgen/Makefile.am: don't scan tools/gimphuesaturationtool.h
      	for enums.
      
      	* tools/pdbgen/pdb/color.pdb: use the new stuff from base/ and
      	don't include stuff from tools/ any more.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/paint_tools_cmds.c: regenerated.
      1186e83a
  13. 07 Jun, 2002 1 commit
    • Sven Neumann's avatar
      app/base/Makefile.am automake-1.6 seems to use yet another variable to · 3aae3940
      Sven Neumann authored
      2002-06-08  Sven Neumann  <sven@gimp.org>
      
      	* app/base/Makefile.am
      	* app/paint-funcs/Makefile.am: automake-1.6 seems to use yet another
      	variable to pass flags to the assembler (bug #84514). Define
      	AM_CCASFLAGS like AM_ASFLAGS to satisfy all versions of automake.
      
      	* configure.in
      	* all Makefiles: removed STRIP_BEGIN and STRIP_END since it's a
      	GNU make extension that we don't really need and newer versions of
      	automake don't seem to like it.
      3aae3940
  14. 11 May, 2002 1 commit
  15. 07 May, 2002 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · b6c56ff9
      Michael Natterer authored
      2002-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/nav_window.[ch]: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpnavigationview.[ch]: new widget partially based
      	on the removed nav_window.
      
      	* libgimpproxy/gimpproxytypes.h: regnenerated.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gdisplays_nav_preview_resized(). The new config system will allow
      	us to get notified of changes.
      
      	* app/display/gimpdisplayshell.[ch]: added "scaled" and "scrolled"
      	signals.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c: emit "scaled" and
      	"scrolled" appropriately. Removed nav_window stuff.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/menus.c: made the navigation dialog dockable.
      
      	* app/gui/view-commands.c: changed the nav_dialog callback accordingly.
      
      	* app/gui/preferences-dialog.c
      	* app/gimprc.[ch]
      	* app/config/gimpguiconfig.[ch]: removed "nav_window_per_display"
      	as it's now a dockable and it's state is saved in sessionrc.
      
      	* app/widgets/gimpnavigationpreview.[ch]: added context sensitive
      	mouse cursors.
      
      	* app/widgets/gimpimagedock.c: made it capable of holding
      	display-related dialogs (like GimpNavigationView) by connecting
      	to the context's "display_changed" signal.
      
      	* app/widgets/widgets-types.h: removed inclusion of
      	"display/display-types.h".
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpitemlistitem.c
      	* app/widgets/gimpitemlistview.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimpvectorslistview.c: warn about inclusion of
      	"display/display-types.h".
      b6c56ff9
  16. 05 May, 2002 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed... · c86ca2da
      Michael Natterer authored
      2002-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimphelp.[ch]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimphelp.[ch]: ...and added here.
      
      	* app/widgets/widgets-enums.[ch]: added GimpHelpBrowserType here
      	as registered enum. Added an evil hack with GimpCursorType so
      	app/config/gimpguiconfig.h can include this file.
      
      	* app/widgets/gimpcursor.c: added an assertion because of the
      	changed GimpCursorType.
      
      	* app/config/gimpguiconfig.[ch]: added a property for the help
      	browser type.
      
      	* app/gimprc.c
      	* app/libgimp_glue.c
      	* app/gui/preferences-dialog.c
      	* tools/pdbgen/pdb/help.pdb
      
      	* app/pdb/help_cmds.c: regenerated.
      
      	Some nav_window cleanup before chopping:
      
      	* app/nav_window.[ch]: removed the old preview code and use
      	GimpNavigationPreviews only. Namespaceified all functions. Speak
      	in terms of GimpDisplayShell, not GimpDisplay. Lots of internal
      	cleanup.
      
      	* app/gui/gui-types.h: removed NadiagtionDialog here...
      
      	* app/display/display-types.h: ...and added it here.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: added a callback
      	for the navigation button and call nav_window_show_popup() from there.
      
      	* app/display/gimpdisplayshell.c: free shell->nav_dialog
      	unconditionally, connect to the new callback.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/gui/view-commands.c: changed accordingly.
      
      	* app/widgets/gimppreview.c (gimp_preview_set_viewable): the
      	assertion introduced recently was too tight, breaking
      	GimpNavigationPreview. Changed it to do an "is a" check, not exact
      	preview type matching.
      
      	* app/widgets/gimpimagepreview.c: added quick-hack support for
      	xres != yres.
      
      	* app/widgets/gimpnavigationpreview.[ch]: made
      	gimp_navigation_preview_grab_pointer() public so the nav_window
      	can call it.
      
      	Unrelated:
      
      	* app/display/gimpdisplay.c: removed the gui/ dependency from this
      	file by removing info_window stuff.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_flush): update
      	the info_window here.
      
      	* app/gui/dialogs-constructors.c (dialogs_indexed_palette_new): call
      	gimp_dockable_set_context() like all other constructors.
      
      	* app/undo.c
      	* app/paint/gimppaintcore.h: some more include cleanup.
      c86ca2da
  17. 29 Mar, 2002 1 commit
  18. 20 Mar, 2002 1 commit
  19. 13 Mar, 2002 1 commit
    • Sven Neumann's avatar
      moved pdb directory to the end. · 6f0c89d0
      Sven Neumann authored
      2002-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/Makefile.am (SUBDIRS): moved pdb directory to the end.
      
      	* app/paint/Makefile.am: removed the ugly hack. Seems to work w/o it.
      
      	* themes/Default/Makefile.am: don't build inline pixbuf headers here.
      
      	* themes/Default/images/Makefile.am: build them here with a hack
      	that extracts the icon names out of the filenames. Cleaner Makefile
      	and correct dependencies.
      
      	* themes/Default/imagerc
      	* themes/Default/images/stock-button-reset.png: added a reset button
      	(which looks just like refresh at the moment).
      
      	* themes/Default/images/tools/Makefile.am: removed.
      
      	* libgimpwidgets/gimpstock.c
      	* libgimpwidgets/gimpwidgets.c: include the pixbuf headers from their
      	new places.
      6f0c89d0
  20. 06 Mar, 2002 1 commit
    • Simon Budig's avatar
      configure.in app/Makefile.am We depend on Libart now. · 68f03aa0
      Simon Budig authored
      2002-03-06  Simon Budig  <simon@gimp.org>
      
              * configure.in
              * app/Makefile.am
              * app/core/Makefile.am: We depend on Libart now.
      
              * app/core/gimpscanconvert.c: Converted the Scan-Conversion to
              use libart. *Way* better results.
      68f03aa0
  21. 22 Feb, 2002 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed... · ac0c4af0
      Michael Natterer authored
      2002-02-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpprogress.[ch]: removed...
      
      	* app/display/Makefile.am
      	* app/display/gimpprogress.[ch]: ...and added here. Prefixed
      	everything with "gimp_".
      
      	* app/gui/image-commands.c
      	* app/plug-in/plug-in.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      ac0c4af0
    • Simon Budig's avatar
      app/vectors/Makefile app/vectors/Makefile.am app/vectors/Makefile.in · a7fcc25f
      Simon Budig authored
      2002-02-22  Simon Budig  <simon@gimp.org>
      
              * app/vectors/Makefile
              * app/vectors/Makefile.am
              * app/vectors/Makefile.in
              * app/vectors/gimpanchor.h
              * app/vectors/gimpbezier.c
              * app/vectors/gimpbezier.h
              * app/vectors/gimpvectors.c
              * app/vectors/gimpvectors.h
              * app/vectors/vectors-types.h: new files, the beginning
              of a new vector infrastructure for gimp.
      
              * configure.in
              * app/Makefile.am
              * app/core/core-types.h: changed accordingly.
      
              * app/tools/Makefile.am
              * app/tools/gimpvectortool.c
              * app/tools/gimpvectortool.h
              * app/tools/tools.c: New tool without practical use (yet),
              using the new infrastructure.
      
              to be continued...
      a7fcc25f
  22. 21 Feb, 2002 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed... · 9f9fa587
      Michael Natterer authored
      2002-02-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/floating_sel.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimplayer-floating-sel.[ch]: ...and added here.
      
      	* app/undo.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/gui/layers-commands.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* plug-ins/tools/common/gimpbrushselecttool.c
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed includes accordingly.
      
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/layer_cmds.c: regenerated.
      9f9fa587
    • Michael Natterer's avatar
      Made the paint tool PDB wrappers work again (a bit at least...) · 9c510759
      Michael Natterer authored
      2002-02-21  Michael Natterer  <mitch@gimp.org>
      
      	Made the paint tool PDB wrappers work again (a bit at least...)
      
      	* app/Makefile.am: changed linking order. libtool sucks.
      
      	* app/undo.c: check if active_tool is a GimpPaintTool before
      	casting it.
      
      	* app/paint/Makefile.am
      	* app/paint/paint-types.h: added new files/types.
      
      	* app/paint/gimppaintoptions.[ch]: new files cut out of
      	tools/paint_options.h. Prefixed everything with "Gimp". There is
      	still GtkWidget* cruft hanging around in the structs...
      
      	* app/paint/gimppaintcore-stroke.[ch]: utility function
      	which paints a stroke array. Needed for the PDB wrappers.
      
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.[ch]
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.[ch]: added *_options_new() functions which
      	create correctly initialized options structures without widgets.
      
      	* app/tools/paint_options.[ch]: removed the options struct
      	definitions and value initialisations.
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpsmudgetool.c: changed all paint_options functions
      	accordingly, s/PaintOptions/GimpPaintOptions/g etc., removed all
      	#if 0'ed non_gui functions.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: use gimp_paint_core_stroke().
      	We currently leak all paint_options structs created by the PDB
      	wrappers, more stuff to come...
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      9c510759
  23. 14 Feb, 2002 1 commit
    • Michael Natterer's avatar
      Core/UI separation for the paint tools: · dca988f7
      Michael Natterer authored
      2002-02-14  Michael Natterer  <mitch@gimp.org>
      
      	Core/UI separation for the paint tools:
      
      	* configure.in
      	* app/Makefile.am
      	* app/paint/.cvsignore
      	* app/paint/Makefile.am: added new directory for the paint methods
      	without GUI and tools around them.
      
      	* app/paint/paint-types.h: typedefs for this module.
      
      	* app/paint/gimppaintcore-kernels.h
      	* app/paint/gimppaintcore.[ch]: the general paint logic taken
      	from GimpPaintTool.
      
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.[ch]
      	* app/paint/gimppencil.[ch]
      	* app/paint/gimpsmudge.[ch]: subclasses of GimpPaintCore,
      	implementing their own paint() methods.  Needs more hacking
      	to get the GtkWidget pointers out of the options structs.
      
      	* app/tools/gimppainttool_kernels.h: removed.
      
      	* app/tools/tools-types.h: removed the paint tool enums.
      
      	* app/tools/gimpairbrushtool.[ch]
      	* app/tools/gimpclonetool.[ch]
      	* app/tools/gimpconvolvetool.[ch]
      	* app/tools/gimpdodgeburntool.[ch]
      	* app/tools/gimperasertool.[ch]
      	* app/tools/gimppaintbrushtool.[ch]
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimppenciltool.[ch]
      	* app/tools/gimpsmudgetool.[ch]: all paint tools are pure GUI
      	things now.  PaintOptions and friends still need to be chopped up
      	though...
      
      	* app/undo.c: changed PaintUndo to GimpPaintCoreUndo, some minor
      	cleanup.
      
      	* tools/kernelgen.c: changed accordingly.
      
      	* tools/pdbgen/Makefile.am: scan paint/paint-types.h for enums.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: hardcode "success = FALSE" for
      	all paint PDB wrappers.  The non-gui stuff is completely broken.
      	More commits to come...
      
      	* app/pdb/paint_tools_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
      dca988f7
  24. 03 Feb, 2002 1 commit
    • Manish Singh's avatar
      configure.in Makefile.am app/Makefile.am docs/Makefile.am · 701d759a
      Manish Singh authored
      2002-02-02  Manish Singh  <yosh@gimp.org>
      
              * configure.in
              * Makefile.am
              * app/Makefile.am
              * docs/Makefile.am
              * plug-ins/print/Makefile.am
              * tools/Makefile.am
              * (the various manpages): versioned the binaries and manpages.
              Added an --enable-default-binary switch to configure to make
              symlinks for unversioned things (defaults to no for 1.3). The
              perl stuff isn't touched, but that's disabled in the build here
              anyway.
      701d759a
  25. 19 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/plug-in/Makefile.am new files. Started to split plug-in.c into smaller · 774caf0e
      Sven Neumann authored
      2001-12-19  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in-proc/plug-in-proc.[ch]: new files. Started to split
      	plug-in.c into smaller pieces.
      
      	* app/plug-in/plug-in-types.h: namespacified GimpRunModeType enum and
      	renamed it to GimpRunMode.
      
      	* app/plug-in/plug-in.[ch]
      	* app/gimphelp.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/file/file-utils.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.
      
      	* app/pdb/fileops_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* libgimp/gimpfileops_pdb.[ch]
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcompat.h: added gimpcompat.h mostly as a place to
      	document plug-in API changes.
      
      	* plug-ins/*: changed all occurences of GimpRunModeType to GimpRunMode.
      774caf0e
  26. 07 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed, chopped... · bcd208d9
      Michael Natterer authored
      2001-12-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/devices.[ch]: removed, chopped...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/gui/Makefile.am
      
      	* app/widgets/gimpdeviceinfo.[ch]
      	* app/widgets/gimpdevices.[ch]
      	* app/gui/device-status-dialog.[ch]
      	* app/gui/input-dialog.[ch]: ...and added here.
      
      	Made GimpToolInfo a GimpContext subclass. Create a GimpDeviceManager
      	struct in gimpdevices.c and attach it to the Gimp instance.
      
      	* app/core/gimp.[ch]: removed gimp_create_context(). It was a bad
      	idea in the first place beause it prevented GimpContext subclasses
      	from being be properly registered with their Gimp instance.
      
      	* app/core/gimpcontext.c: moved the stuff which used to be in
      	gimp_create_context() back here. Added a "gimp" property which
      	must be set on construction. Added a "dispose" implementation
      	which removes the context from it's Gimp's context_list.
      
      	* app/gimprc.c
      	* app/core/gimptoolinfo.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/toolbox.c
      	* app/tools/gimppainttool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpimagedock.c: changed accordingly.
      
      	* app/gui/tools-commands.[ch]: made all callback signatures
      	the same.
      
      	* app/gui/preferences-dialog.c: cleaned up the
      	display_format_string GtkCombo code.
      bcd208d9
  27. 01 Dec, 2001 2 commits
    • Michael Natterer's avatar
      app/main.c moved "message_handler" from here... · f77c7ade
      Michael Natterer authored
      2001-12-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/main.c
      	* app/appenv.h: moved "message_handler" from here...
      
      	* app/core/gimp.[ch]: ...to here. Added gimp_message() and a
      	"gui_message_func" pointer...
      
      	* app/gui/gui.c: ...which gets set here to gui_message().
      
      	* app/errors.c: don't include any gui stuff but simply call
      	gimp_message().
      
      	* app/app_procs.c: don't set "message_handler" here, it's done in
      	gui.c now.
      
      	* app/gui/error-console-dialog.[ch]: use gimp->message_handler.
      
      	* app/gui/dialogs-constructors.c: pass a Gimp pointer to
      	error_console_create().
      
      	* app/widgets/gimpwidgets-utils.[ch]: made the "message" parameter
      	of gimp_message_box() a const gchar*, not just gchar*.
      
      	* tools/pdbgen/pdb/message.pdb: use gimp->message_handler, don't
      	include "appenv.h".
      
      	* app/pdb/message_cmds.c: regenerated.
      
      	* app/devices.[ch]: cleanup before chopping: removed global
      	variable "current_device", added devices_get_current(), pass lots
      	of Gimp pointers around.
      
      	* app/gimprc.c: pass a Gimp pointer to devices_rc_update().
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/toolbox.c
      	* app/tools/gimppainttool.c: use devices_get_current(), pass Gimp
      	pointers to all devices_foo() functions.
      
      	* app/core/gimpimage-mask.c: no need to include "pdb/pdb-types.h".
      f77c7ade
    • Michael Natterer's avatar
      app/Makefile.am removed... · 77863d88
      Michael Natterer authored
      2001-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/plug_in.[ch]: removed...
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/plug-in/plug-in.[ch]: ...and added here.
      
      	* app/appenv.h: removed StackTraceMode and MessageHandlerType...
      
      	* libgimpbase/gimpbasetypes.h: ...and added them here.
      
      	* tools/pdbgen/Makefile.am: don't scan "app/apptypes.h" for enums.
      
      	* tools/pdbgen/enumcode.pl: added a general check to prevent
      	enums which are defined in libgimp* from being written to
      	"libgimp/gimpenums.c".
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/core-types.h: include "pdb/pdb-types.h" so including
      	"core/core-types.h" gets the whole core type space.
      
      	* app/core/gimp.[ch]: added a "stack_trace_mode" parameter to the
      	constructor and store it in the Gimp struct because the value is
      	also passed to plug-ins and nobody should include "appenv.h".
      
      	* app/gimprc.[ch]: pass the alternate_system_gimprc and
      	alternate_gimprc filenames from the command line to gimprc_prase()
      	so we don't need to include "appenv.h".
      
      	* app/batch.[ch]: pass the "batch_cmds" as parameter, don't
      	include "append.h".
      
      	* app/app_procs.c: pass more parameters around.
      
      	* app/devices.c
      	* app/errors.c
      	* app/gimphelp.c
      	* app/main.c
      	* app/core/gimpgradient.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/gui/commands.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/xinput_airbrush.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly:
      
      	- changed "plug-in.h" include where needed.
      	- don't call gimp_fatal_error() directly, it's called via the log
      	  handler when calling g_error().
      	- don't incude "errors.h" except from main.c.
      	- changed stack_trace and message_handler enum names.
      	- get "stack_trace_mode" from Gimp.
      	- removed many inclusions of "appenv.h".
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/help_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db.c: regenerated.
      77863d88
  28. 30 Nov, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · cacbd302
      Michael Natterer authored
      2001-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/colormaps.[ch]: removed.
      
      	* app/app_procs.c: don't call it.
      
      	* app/gui/gui.c: configure GdkRGB here.
      
      	* app/display/gimpdisplayshell.c
      	* app/display/gximage.c
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/tools/gimpmovetool.c
      	* app/display/gimpdisplayshell-selection.c: changed accordingly
      	(simply removed the unneded include or use
      	gdk_gc_set_rgb_[fg|bg]_color() instead).
      
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-callbacks.[ch]: chopped
      	gimp_display_shell_canvas_events() in smaller callbacks. Only the
      	events that trigger tool actions are handled in a single callback.
      cacbd302
  29. 27 Nov, 2001 1 commit
    • Sven Neumann's avatar
      configure.in app/Makefile.am app/config/gimpconfig.[ch] · 19e1acbc
      Sven Neumann authored
      2001-11-27  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-deserialize.[ch]: added new base class
      	GimpConfig that knows how to serialize and deserialize it's properties
      	in sexp format. Contains two example properties that will go into
      	derived classes once this is really used.
      
      	* app/main.c: deserialize and serialize the test GimpConfig object to
      	~/.gimp-1.3/foorc (only for debugging).
      
      	* app/widgets/widgets-types.h
      	* app/core/core-types.h: moved GimpPreviewSize enum to core-types.
      
      	* app/core/core-types.h: don't include gdk-pixbuf.h.
      
      	* app/core/gimptoolinfo.h
      	* app/core/gimpimagefile.c: include gdk-pixbuf.h.
      
      	* app/core/gimpimage.[ch]: made construct_flag a gboolean.
      
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpunit.c
      
      	* tools/pdbgen/pdb/plug_in.pdb
      	* app/pdb/plug_in_cmds.c: removed unused variables.
      
      	* app/display/Makefile.am: removed .PHONY and files cruft
      
      	* app/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* plug-ins/Makefile.am: removed commented out makefile.mingw rules.
      	If we ever need them again, they can easily be resurrected from CVS.
      19e1acbc
  30. 26 Nov, 2001 1 commit
    • Kelly Martin's avatar
      app/Makefile.am libgimp/Makefile.am libgimpbase/Makefile.am · 0cc4c54c
      Kelly Martin authored
      2001-11-26  Kelly Martin  <kmartin@pyrzqxgl.org>
      
      	* app/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* plug-ins/Makefile.am:
      	Commented out makefile.mingw rules in Makefile.am.  These conflict
      	with the default rules generated by automake and generate annoying
      	warnings.  tml doesn't think they're needed anymore.  If it turns
      	out they are, they can be added back.
      0cc4c54c
  31. 25 Nov, 2001 1 commit
    • Sven Neumann's avatar
      Makefile.am configure.in gimp-1.3.pc.in added pkg-config files for · 871f6a8a
      Sven Neumann authored
      2001-11-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimp-1.3.pc.in
      	* gimpui-1.3.pc.in: added pkg-config files for gimp-1.3.
      
      	* gimptool-1.4.in: renamed to gimptool-1.3.in
      
      	* docs/Makefile.am
      	* docs/gimptool-1.4.1.in renamed to docs/gimptool-1.3.1.in.
      	Disabled installation of man-pages; they need to be updated and
      	should probably be renamed.
      
      	* app/Makefile.am: generate binary called gimp-1.3 sp we don't clash
      	with older gimp installations.
      
      	* gimp-1.3.pc.in
      	* gimpui-1.3.pc.in: added pkg-config files for gimp-1.3.
      
      	* INSTALL
      	* NEWS: updated
      871f6a8a
  32. 13 Nov, 2001 1 commit
    • Michael Natterer's avatar
      small fix. · 3413a9ef
      Michael Natterer authored
      2001-11-12  Michael Natterer  <mitch@gimp.org>
      
      	* HACKING: small fix.
      
      	* configure.in: changed --disable-perl to --enable-perl because
      	it doesn't build properly at the moment.
      
      	* pixmaps/Makefile.am: removed stuff which is no longer there
      	from EXTRA_DIST.
      
      	* plug-ins/Makefile.am: put back the $(GIMP_PERL) line in SUBDIRS.
      
      	* app/widgets/gimpmenuitem.c. include "libgimpwidgets/gimpwidgets.h".
      
      	* data/Makefile.am
      	* data/brushes/Makefile.am
      	* data/gradients/Makefile.am
      	* data/palettes/Makefile.am
      	* data/patterns/Makefile.am: removed the old "files" hack and put
      	the stuff to EXTRA_DIST.
      
      	* app/Makefile.am
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/paint-funcs/Makefile.am
      	* app/pdb/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* app/widgets/gimpmenuitem.c
      	* app/xcf/Makefile.am
      	* cursors/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* m4macros/Makefile.am
      	* themes/Makefile.am
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/Makefile.am: removed "files" target.
      3413a9ef
  33. 11 Nov, 2001 1 commit
    • Manish Singh's avatar
      configure.in app/Makefile.am app/plug-in/Makefile.am plug-ins/Makefile.am · 7117483f
      Manish Singh authored
      2001-11-11  Manish Singh  <yosh@gimp.org>
      
              * configure.in
              * app/Makefile.am
              * app/plug-in/Makefile.am
              * plug-ins/Makefile.am
              * modules/Makefile.am: fixes to build with automake 1.5 (just hacks
              to get it to work, real fixes to come later)
      
              * app/gui/preferences-dialog.c: unset GValue from tree model when
              we're done with it.
      
              * libgimpwidgets/gimpcolorarea.c
              * libgimpwidgets/gimpcolorbutton.c
              * libgimpwidgets/gimpsizeentry.[ch]
              * libgimpwidgets/gimpwidgets.[ch]
              * plug-ins/common/animationplay.c
              * plug-ins/common/colorify.c
              * plug-ins/common/curve_bend.c
              * plug-ins/common/diffraction.c
              * plug-ins/common/film.c
              * plug-ins/common/gbr.c
              * plug-ins/common/gee.c
              * plug-ins/common/gee_zoom.c
              * plug-ins/common/gicon.c
              * plug-ins/common/gih.c
              * plug-ins/common/gtm.c
              * plug-ins/common/jpeg.c
              * plug-ins/common/mail.c
              * plug-ins/common/pat.c
              * plug-ins/common/plugindetails.c
              * plug-ins/common/png.c
              * plug-ins/common/ps.c
              * plug-ins/common/sample_colorize.c
              * plug-ins/common/sinus.c
              * plug-ins/common/spheredesigner.c
              * plug-ins/common/tileit.c
              * plug-ins/common/uniteditor.c
              * plug-ins/common/xbm.c: gtk_widget_set_usize is deprecated. Use
              gtk_widget_set_size_request instead.
      
              * libgimpwidgets/gimpunitmenu.[ch]: changed to use GtkTreeView.
      7117483f
  34. 10 Nov, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am removed... · cfeab8bc
      Michael Natterer authored
      2001-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* user_install.[ch]: removed...
      
      	* gui/Makefile.am
      	* gui/user-install-dialog.[ch]: ...added here.
      
      	* gui/file-open-dialog.[ch]: removed file_open_with_display() and
      	file_open_with_proc_and_display() here...
      
      	* file/file-open.[ch]: ...and added them here.
      
      	* app_procs.c
      	* widgets/gimpdnd.c
      	* widgets/gimpdocumentview.c: changed accordingly.
      cfeab8bc