1. 31 Oct, 2001 1 commit
  2. 17 Oct, 2001 1 commit
    • Michael Natterer's avatar
      app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ · 18dd0728
      Michael Natterer authored
      2001-10-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpprogress.[ch]
      	* app/undo.c: s/GDisplay/GimpDisplay/
      
      	* app/plug_in.[ch]: removed unused boolean "destroy" field of
      	the PlugIn struct.
      
      	* app/core/gimpedit.c: don't include "app_procs.h"
      
      	* app/display/gimpdisplay-callbacks.c: moved the "grab_abd_scroll"
      	stuff from gimpdisplay-scroll.* here (less complicated and easier
      	to cleanup...)
      
      	* app/display/gimpdisplay-scroll.[ch]: removed here.
      
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-selection.[ch]
      	* app/display/gimpdisplayshell.c: s/GDisplay/GimpDisplay/g
      
      	* app/display/gimpdisplay.[ch]: ditto, removed gdisplay_active()
      	which was just a wrapper around
      	"gimp_context_get_display (gimp_get_user_context (the_gimp))"
      	(which is more to type but makes the use of the global
      	"the_gimp" variable more obvious).
      
      	* app/gui/color-area.h
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.h
      	* app/gui/paths-dialog.h
      	* app/gui/select-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/tools-commands.c
      	* app/gui/view-commands.c: s/GDisplay/GimpDisplay/, gdisplay_active()
      	removal, include "app_procs.h" for "the_gimp".
      
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpbrightnesscontrasttool.[ch]
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.[ch]
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimpeditselectiontool.h
      	* app/tools/gimphistogramtool.[ch]
      	* app/tools/gimphuesaturationtool.[ch]
      	* app/tools/gimplevelstool.[ch]
      	* app/tools/gimpmovetool.h
      	* app/tools/gimpperspectivetool.h
      	* app/tools/gimpposterizetool.[ch]
      	* app/tools/gimprotatetool.h
      	* app/tools/gimpscaletool.h
      	* app/tools/gimpsheartool.h
      	* app/tools/gimptexttool.h
      	* app/tools/gimpthresholdtool.[ch]
      	* app/tools/gimptool.[ch]
      	* app/tools/gimptransformtool.h
      	* app/tools/tool_manager.[ch]: lots of s/GDisplay/GimpDisplay/, made
      	all *_dialog_hide() functions private, cleanup.
      
      	* app/widgets/*: removed GtkType and gtk_type_* stuff entirely and
      	use GObject functions, removed lots of empty "destroy" methods and
      	use more type checking class cast macros instead of casting
      	directly.
      
      	* app/widgets/gimpcontainermenu.c: fixed item insert order.
      
      	* app/widgets/gimphistogramview.[ch]: cleaned up and renamed all
      	functions.
      
      	* app/widgets/gimpwidgets-utils.[ch]: removed gimp_dialog_hide() as
      	Gtk+ does the right thing (TM) now.
      
      	* tools/pdbgen/pdb/color.pdb: implemented "histogram" without
      	digging into tools/ and widgets/ (needs to be done for all
      	color PDB functions).
      
      	* tools/pdbgen/pdb/gimprc.pdb: no need to use "the_gimp" in a PDB
      	function as a "Gimp" pointer is passed to them all.
      
      	* tools/pdbgen/pdb/image.pdb: don't include "app_procs.h"
      
      	* app/pdb/color_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      	* app/pdb/procedural_db.c: don't include "app_procs.h"
      18dd0728
  3. 13 Oct, 2001 1 commit
    • Michael Natterer's avatar
      gdk_pixbuf_new_from_stream -> _from_inline · 859e9c41
      Michael Natterer authored
      2001-10-13  Michael Natterer  <mitch@gimp.org>
      
      	* RELEASE-TO-CVS.patch: gdk_pixbuf_new_from_stream -> _from_inline
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-foreach.[ch]: new files for functions
      	operating on all displays (will go away as soon as the display
      	behaves like a proper view which doesn't need to be updated
      	explicitly).
      
      	* app/display/gimpdisplay-callbacks.c
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay.[ch]: "scale" and "scroll" namespace
      	cleanup, moved bounds_checking() to gimpdisplay-scroll.[ch], lots
      	of unfinished, intermediate stuff.
      
      	* app/display/gimpdisplayshell.[ch]: added some GObject framework
      	for the GimpDisplayShell object (not used yet).
      
      	* app/app_procs.c
      	* app/docindex.c
      	* app/image_map.c
      	* app/nav_window.c
      	* app/path.c
      	* app/qmask.c
      	* app/undo.c
      	* app/gui/channels-commands.c
      	* app/gui/convert-dialog.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/view-commands.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimplistitem.c
      	* tools/pdbgen/pdb/display.pdb
      	* app/pdb/display_cmds.c: changed accordingly (mostly including
      	"gimpdisplay-foreach.h" instead of "gimpdisplay.h")
      859e9c41
  4. 10 Oct, 2001 1 commit
  5. 25 Sep, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am app/disp_callbacks.[ch] app/gdisplay.[ch] · f235eabb
      Michael Natterer authored
      2001-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/disp_callbacks.[ch]
      	* app/gdisplay.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/gximage.[ch]
      	* app/image_render.[ch]
      	* app/interface.[ch]
      	* app/marching_ants.h
      	* app/scale.[ch]
      	* app/scroll.[ch]
      	* app/selection.[ch]: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-marching-ants.h
      	* app/display/gimpdisplay-ops.[ch]
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay-selection.[ch]
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gximage.[ch]: added here.
      
      	* app/[many files]
      	* app/gui/[many files]
      	* app/tools/*
      	* app/widgets/[many files]: changed accordingly. Still very
      	incomplete separation of the display stuff but it at least
      	compiles.
      
      	* tools/pdbgen/pdb.pl:
      	* tools/pdbgen/pdb/display.pdb: s/GDisplay/GimpDisplay/,
      	s/"gdisplay.h"/"display/gimpdisplay.h"/.
      
      	* app/pdb/display_cmds.c: regenerated.
      f235eabb
    • Michael Natterer's avatar
      renamed it to GimpDisplay and made it a GimpObject subclass. · b2215a1f
      Michael Natterer authored
      2001-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.[ch]: renamed it to GimpDisplay and made it a
      	GimpObject subclass.
      
      	* app/disp_callbacks.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/scale.[ch]
      	* app/scroll.[ch]
      	* app/display/display-types.h: changed accordingly.
      
      	* app/core/gimpimage.[ch]: new signal "selection_control".
      
      	* app/core/core-types.h: moved the SelectionControl enum and all
      	other core enums here.
      
      	* app/gui/gui.c: connect to the images' "selection_control" signal
      	and call gdisplays_selection_visibility().
      
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-offset.h
      	* app/core/gimpimage-convert.h
      	* app/core/gimpimage-mask.c
      	* app/core/gimplayer.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c: changed accordingly.
      
      	* app/gui/colormap-dialog.[ch]: GObject porting.
      
      	* tools/pdbgen/Makefile.am: removed headers which no longer
      	contain enums.
      
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/drawable.pdb: include files which are no longer
      	included automatically by the enum voodoo.
      
      	* app/pdb/convert_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
      b2215a1f
  6. 19 Aug, 2001 1 commit
    • Sven Neumann's avatar
      app/devices.h app/disp_callbacks.c applied a patch from · d896cf59
      Sven Neumann authored
      2001-08-19  Sven Neumann  <sven@gimp.org>
      
      	* app/devices.h
      	* app/disp_callbacks.c
      	* app/interface.c: applied a patch from <David.Odin@bigfoot.com> that
      	changes some function prototype to return gboolean instead of gint.
      
      	* app/tools/gimpblendtool.c: pixel_regions_register() and
      	pixel_regions_process() return a gpointer, not (gpointer *).
      d896cf59
  7. 09 Aug, 2001 1 commit
    • Michael Natterer's avatar
      removed GIMP_ZOOM_TYPE, · 45785431
      Michael Natterer authored
      2001-08-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenums.h: removed GIMP_ZOOM_TYPE,
      
      	* app/widgets/widgets-types.h: added it here.
      
      	* app/disp_callbacks.c
      	* app/widgets/gimpnavigationpreview.[ch]
      	* app/gui/gradient-editor.c: removed old cruft which expects wheel
      	events as button_4 and button_5 and connect to GdkEventScroll
      	instead.
      
      	* app/nav_window.c: connect to GimpNavigationPreview's new
      	"scroll" and "zoom" signals.
      
      	* app/gui/error-console-dialog.c: remove wheel scrol stuff (done
      	by GtkScrolledWindow now).
      
      	* app/gui/color-notebook.c
      	* app/gui/gradient-editor.c: removed GtkPixmap stuff and use
      	GtkImage instead. Looks a bit ugly in the color_notebook (seems
      	we need more icon sizes).
      
      	* app/gui/indicator-area.c: GObject porting.
      
      	* app/gui/menus.c_ some more menu icons.
      
      	* app/gui/toolbox.c: pass a GimpContext around as callback data
      	and use context->gimp instead of accessing the global "the_gimp"
      	variable.
      45785431
  8. 07 Aug, 2001 1 commit
    • Michael Natterer's avatar
      removed a gdk_pointer_ungrab(), it was only there because of buggy gtk+ · 7de0a2cb
      Michael Natterer authored
      2001-08-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/disp_callbacks.c: removed a gdk_pointer_ungrab(), it was
      	only there because of buggy gtk+ 1.2.x. Cosmetic changes.
      
      	* app/undo.c: use G_N_ELEMENTS() instead of
      	sizeof(array)/sizeof(element).
      
      	* app/gui/menus.c: more stock icons, moved the item_factory
      	creation into the menus_get_foo_factory() functions, use
      	G_N_ELEMENTS(). This file badly needs to be spit up...
      
      	* app/core/gimpviewable.[ch]
      	* app/widgets/gimpcontainermenu.[ch]
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimpmenuitem.[ch]
      	* app/widgets/gimppreview.[ch]: replaced tons of signal emissions
      	by virtual functions which are *much* faster. Moreover, all of
      	them are private implementation bits of the specific class
      	hierarchy and are useless or even dangerous to be exposed as
      	signals.
      
      	* app/widgets/gimpdrawablelistitem.c: removed the drag_motion()
      	implementation as it's already done in the parent class.
      
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimplayerlistitem.c: redraw the widget when the
      	drop_type has changed. Fixes drop_indicator drawing.
      7de0a2cb
  9. 04 Aug, 2001 1 commit
    • Michael Natterer's avatar
      register the button icons with GTK_ICON_SIZE_BUTTON, but set them as · d128e989
      Michael Natterer authored
      2001-08-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpstock.[ch]: register the button icons with
      	GTK_ICON_SIZE_BUTTON, but set them as scalable fallbacks for
      	themselves so they get scaled for menus.
      
      	* app/gui/menus.c: set stock icons for much more menu entries.
      
      	* app/widgets/gimpwidgets-utils.[ch]: new utility function
      	gimp_item_factory_popup_with_data().
      
      	* app/disp_callbacks.[ch]
      	* app/gui/brushes-commands.c
      	* app/gui/channels-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/patterns-commands.c: use the new function.
      
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c: s/_("Reset")/GIMP_STOCK_RESET/
      
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainerview.[ch]: moved the button_box utility
      	functions from the container editor to GimpContainerView itself.
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c: changed accordingly. Removed
      	lots of duplicated code and use stock images instead of pixmaps.
      
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimppatheditor.c: use stock images instead of
      	pixmaps.
      
      	* pixmaps/Makefile.am: removed "yes" and "no", added "stroke".
      
      	* pixmaps/anchor.xpm
      	* pixmaps/delete.xpm
      	* pixmaps/lower.xpm
      	* pixmaps/new.xpm
      	* pixmaps/paste-as-new.xpm
      	* pixmaps/paste-into.xpm
      	* pixmaps/paste.xpm
      	* pixmaps/raise.xpm
      	* pixmaps/refresh.xpm
      	* pixmaps/toselection.xpm: made them all 16x16 so they are scaled
      	nicely in menus. Should probably be 18x18.
      d128e989
  10. 29 Jul, 2001 1 commit
  11. 24 Jul, 2001 1 commit
    • Michael Natterer's avatar
      Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) · 06b16890
      Michael Natterer authored
      2001-07-24  Michael Natterer  <mitch@gimp.org>
      
      	Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
      
      	* configure.in: require glib/gtk+ >= 1.3.7, commented out the
      	gtkxmhtml stuff.
      
      	From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
      	to hack or use GIMP HEAD.
      
      	Beware, it crashes randomly :)
      
      	* app/core/Makefile.am
      	* app/core/gimpmarshal.list: new file plus rules to generate
      	gimpmarshal.[ch] from it.
      
      	* app/core/*
      	* app/tools/*
      	* app/widgets/*
      	* libgimpwidgets/*: started to use the glib object system. All
      	core/ objects are still gtk objects however. All signals are
      	created using g_signal_new(). There are many gtk+ artefacts left.
      	Finally, we will _not_ use the gtk_signal_foo() wrappers and
      	friends any more.
      
      	* app/colormaps.c
      	* app/devices.[ch]
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-save.[ch]
      	* app/interface.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/scroll.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpui.c
      	* libgimpbase/gimpenv.c: tons and tons of changes like "const
      	gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
      	and currently disables), lots of s/gtk_signal/g_signal/,
      	removal/replacement of deprecated stuff,
      	s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
      	while I was on it, zillions of warnings left...
      
      	* modules/Makefile.am: disabled the water color selector
      	temporarily (XInput issues).
      
      	* plug-ins/Makefile.am
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
      	which did not build (including Script-Fu). They are trivial to
      	fix.
      06b16890
  12. 20 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 6ce47999
      Michael Natterer authored
      2001-07-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/dialog_handler.[ch]: removed.
      
      	* app/widgets/gimpdialogfactory.[ch]: added the missing features
      	from the dialog_handler: idle/unidle all dialogs and the show_all
      	-> hide_all -> show_toolbox -> show_all cycling (a bit ugly
      	currently because the toolbox's factory and it's identifier has to
      	be passed to gimp_dialog_factories_toggle()).
      
      	* app/disp_callbacks.c
      	* app/gui/gui.c: call the new dialog factory class methods.
      
      	* app/devices.c
      	* app/docindex.c
      	* app/errorconsole.c
      	* app/nav_window.c
      	* app/undo_history.c
      	* app/gui/info-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c: currently "unmanaged" because they
      	are not yet registered with a dialog factory.
      
      	* app/gui/menus.c: ditto for the tearoff menus.
      
      	* app/gui/brush-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c: these are already factory created so toggling
      	and (un)idling works like before.
      
      	* app/widgets/gimpdock.c: reduced the minimal width from 280 to 250.
      
      	* app/widgets/gimplayerlistview.c: use a toggle button instead of
      	a check button for "Keep transp.".
      6ce47999
  13. 10 Jul, 2001 1 commit
    • Michael Natterer's avatar
      removed the gimp_busy boolean, check whether user_installation is needed · 9d87e554
      Michael Natterer authored
      2001-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.[ch]: removed the gimp_busy boolean, check whether
      	user_installation is needed here, not in user_install.c, parse
      	gtkrc an friends only if(!no_interface), create the Gimp object
      	before parsing gimp's rc files an pas it to the parse functions,
      	many other cleanups.
      
      	* app/appenums.h: added MessageHandlerType and StackTraceMode.
      
      	* app/appenv.h: removed MessageHandlerType, declare all global
      	variables from main.c (no more hidden global stuff please).
      
      	* app/errors.[ch]: added the fatal message func here (from main.c),
      	removed the StackTraceMode enum.
      
      	* app/gimprc.[ch]: renamed functions to gimprc_*(), pass a Gimp
      	pointer to some functions.
      
      	* app/gimpunit.c
      	* app/unitrc.h: ok, this is ugly: renamed all functions to
      	_gimp_unit_*() and made them public. The unit list is part
      	of the Gimp object now, so pass a Gimp* to all functions.
      
      	* app/libgimp_glue.[ch]: added EEKy wrappers for all gimp_unit_*()
      	functions which are used by widgets.
      
      	* app/main.c: cleaned up the global variables, removed the fatal
      	message handler, call app_init() directly, not via the
      	user_install stuff, misc. cleanups.
      
      	* app/user_install.[ch]: removed the check if user_installation is
      	needed (done by app_procs.c now).
      
      	* app/core/gimp.[ch]: added the user_unit list and the "busy"
      	boolean. Moved gimp_[set|unset]_busy() here. Added
      	gimp_initialize() which is called after unitrc and gimprc are
      	parsed.
      
      	* app/batch.c
      	* app/colormaps.c
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/gdisplay_ops.c
      	* app/gimphelp.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdatafiles.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/core/gimpparasite.c
      	* app/core/gimpparasitelist.h
      	* app/gui/file-open-dialog.c
      	* app/gui/gui.[ch]
      	* app/gui/info-dialog.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/session.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcursor.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/unit.pdb
      	* app/pdb/image_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/unit_cmds.c: changed accordingly, minor cleanups.
      9d87e554
  14. 08 Jul, 2001 1 commit
    • Michael Natterer's avatar
      the active_tool may change in the middle of gdisplay_canvas_events(), so · c5609420
      Michael Natterer authored
      2001-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/disp_callbacks.c: the active_tool may change in the middle
      	of gdisplay_canvas_events(), so re-get it after using it for
      	cursor_update.
      
      	* app/base/boundary.c: made some global variables local.
      
      	* app/core/gimpdrawable.c: don't call gimp_drawable_set_visible()
      	in gimp_drawable_configure() because we don't want signal
      	emissions while configuring the drawable.
      
      	* app/gui/Makefile.am
      	* app/gui/brushes-commands.[ch]
      	* app/gui/data-commands.[ch]
      	* app/gui/gradients-commands.[ch]
      	* app/gui/palettes-commands.[ch]
      	* app/gui/patterns-commands.[ch]: new files for new new item
      	factories' callbacks.
      
      	* app/gui/menus.[ch]: added context menus for brushes, patterns, ...
      
      	* app/gui/gradient-editor.c
      	* app/gui/palette-editor.c: removed the "Save as POV", "Import
      	Palette" and "Merge Palattes" buttons as they are item factory
      	callbacks now.
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]: pass a
      	"GimpContainerContextFunc" pointer to all GimpContainerEditor
      	subclasses' constructors. Use the function to show the context
      	menu.
      
      	* app/widgets/gimpcontainergridview.c: dispatch the previews'
      	"context" signal.
      
      	* app/widgets/gimppreview.[ch]: new signal "context" which is
      	emitted on right-click.
      
      	* app/gui/brush-select.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gradient-select.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/test-commands.c: changed accordingly.
      c5609420
  15. 07 Jul, 2001 3 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · 37ce6b9a
      Michael Natterer authored
      2001-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/drawable.[ch]: removed.
      
      	* app/core/gimpdrawable.[ch]: added the functions here. Made an
      	end to the myth that FG/BG and the undo system (!!!) are not
      	really part of the core.
      
      	* app/disp_callbacks.c
      	* app/floating_sel.c
      	* app/image_map.c
      	* app/qmask.c
      	* app/undo.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/gui/channels-commands.c
      	* app/gui/gui.c
      	* app/gui/layers-commands.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpchannellistitem.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly. Misc small
      	fixes and cleanups.
      37ce6b9a
    • Michael Natterer's avatar
      put all tool_manager variables into a struct which is attached to a · b70ee4b7
      Michael Natterer authored
      2001-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tool_manager.[ch]: put all tool_manager variables into
      	a struct which is attached to a "Gimp". Pass a Gimp* to all
      	tool_manager functions.
      
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/scale.c
      	* app/scroll.c
      	* app/undo.c
      	* app/gui/convert-dialog.c
      	* app/gui/edit-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/tools-commands.c: changed accordingly.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptool.c
      	* app/tools/gimptransformtool.c: mostly bad hacks for tool dialogs
      	which exist without a real context. Needs some more review.
      b70ee4b7
    • Michael Natterer's avatar
      app/Makefile.am removed. · 1bcd3e18
      Michael Natterer authored
      2001-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/context_manager.[ch]: removed.
      
      	* app/app_procs.c: call tool_mananger instead of context_manager
      	functions, pass "the_gimp" to some more functions.
      
      	* app/drawable.[ch]: pass a GimpContext to drawable_fill().
      
      	* app/errors.c: behave according to "stack_trace_mode" when using
      	the debugging signal handler.
      
      	* app/gimprc.[ch]: removed the core/ config variables.
      
      	* app/selection.c: set the selection's state to INVISIBLE in
      	selection_pause().
      
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: new files (the configuration
      	variables used by core/).
      
      	* app/core/gimpcontext.[ch]: removed the global contexts (user,
      	default, ...) and their functions. It's no longer possible to pass
      	NULL to the context functions to manipulate the current context
      	(gimpcontext.c doesn't know the current context any more).
      
      	* app/core/gimp.[ch]: added them here. The functions are now called
      	gimp_[set|get]_*_context(). Added gimp_create_context() which is
      	the only function to create contexts now.
      
      	* app/gui/dialogs.[ch]
      	* app/gui/gui.[ch]: pass "gimp" to all functions.
      
      	* app/tools/tool_manager.[ch]
      	* app/tools/tools.[ch]: pass "gimp" to lots of functions. Added
      	the "global_tool_context" logic and the global/non-global paint
      	options switching from the context_manager. Pass "gimp" to all
      	tools' "register" functions.
      
      	* app/tools/*: changed accordingly.
      
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/file-open.[ch]
      	* app/file-save.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/libgimp_glue.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/qmask.c
      	* app/undo.c
      	* app/base/base-config.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimppalette.c
      	* app/core/gimptoolinfo.[ch]
      	* app/core/gimpundo.c
      	* app/gui/brush-select.c
      	* app/gui/channels-commands.c
      	* app/gui/color-area.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/paths-dialog.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/test-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimplayerlistview.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/pdb/procedural_db.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly: remove usage
      	of gimp_context_[get|set]_*(NULL), create contexts with
      	gimp_create_context(). Get the user/current context with
      	gimp_get_[user|current]_context(). Added/removed access to the
      	global "the_gimp" variable in some places. Get the core's config
      	variables from "core_config".
      1bcd3e18
  16. 03 Jul, 2001 1 commit
    • Michael Natterer's avatar
      new directory app/xcf/ · 3e36b8f5
      Michael Natterer authored
      2001-07-03  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: new directory app/xcf/
      
      	* app/Makefile.am
      	* app/global_edit.[ch]
      	* app/xcf.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/gimpedit.[ch]: added here...
      
      	* app/xcf/.cvsignore
      	* app/xcf/Makefile.am
      	* app/xcf/xcf-load.[ch]
      	* app/xcf/xcf-private.h
      	* app/xcf/xcf-read.[ch]
      	* app/xcf/xcf-save.[ch]
      	* app/xcf/xcf-seek.[ch]
      	* app/xcf/xcf-write.[ch]
      	* app/xcf/xcf.[ch]: ...and here (chopped up).
      
      	* app/app_procs.c
      	* app/disp_callbacks.c
      	* app/floating_sel.c
      	* app/gui/edit-commands.c
      	* app/gui/toolbox.c
      	* app/pdb/edit_cmds.c
      	* app/widgets/gimpbufferview.c
      	* tools/pdbgen/pdb/edit.pdb: changed accordingly.
      3e36b8f5
  17. 02 Jul, 2001 1 commit
    • Michael Natterer's avatar
      allow a NULL gimage argument for gimp_edit_paste_as_new() (don't set · e94f1751
      Michael Natterer authored
      2001-07-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/global_edit.c: allow a NULL gimage argument for
      	gimp_edit_paste_as_new() (don't set resolution and unit).
      
      	* app/disp_callbacks.[ch]
      	* app/interface.c: allow dropping of a GimpBuffer (pastes the
      	buffer).
      
      	* app/gui/toolbox.c: ditto (creates a new image).
      e94f1751
  18. 14 Jun, 2001 1 commit
    • Sven Neumann's avatar
      app/disp_callbacks.c app/gdisplay.c applied a patch from Ralf Engels · a94f0edd
      Sven Neumann authored
      2001-06-14  Sven Neumann  <sven@gimp.org>
      
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gui/info-window.[ch]:
      	applied a patch from Ralf Engels <ralf-engels@gmx.de> that adds info
      	about the cursor position to the Info window. Cleaned up the code a
      	little while I was on it and renamed info_window_update_RGB() to
      	info_window_update_extended().
      a94f0edd
  19. 03 Jun, 2001 1 commit
  20. 25 May, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 746fc519
      Michael Natterer authored
      2001-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpui.[ch]: removed.
      
      	* app/tools/paint_options.[ch]: removed paint_mode_menu_new().
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpwidgets-constructors.[ch]
      	* app/widgets/gimpwidgets-utils.[ch]: added here.
      
      	* app/disp_callbacks.c
      	* app/errors.c
      	* app/gimphelp.c
      	* app/interface.c
      	* app/gui/brush-select.c
      	* app/gui/channels-commands.c
      	* app/gui/commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimplayerlistview.c: changed accordingly.
      746fc519
  21. 15 May, 2001 1 commit
    • Michael Natterer's avatar
      new directory app/base/ · d240f623
      Michael Natterer authored
      2001-05-15  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: new directory app/base/
      
      	* app/Makefile.am
      	* app/boundary.[ch]
      	* app/brush_scale.[ch]
      	* app/gimpchecks.h
      	* app/gimplut.[ch]
      	* app/pixel_processor.[ch]
      	* app/pixel_region.[ch]
      	* app/pixel_surround.[ch]
      	* app/temp_buf.[ch]
      	* app/tile.[ch]
      	* app/tile_cache.[ch]
      	* app/tile_manager.[ch]
      	* app/tile_manager_pvt.h
      	* app/tile_pvt.h
      	* app/tile_swap.[ch]: moved to base/
      
      	* app/base/Makefile.am
      	* app/base/base-types.h
      	* app/base/*: new directory for the sub-object pixel maniplation
      	and storage stuff. Does not include Gtk+ or anything outside
      	base/. Did some cleanup in all files.
      
      	* app/appenums.h
      	* app/apptypes.h
      	* app/core/gimpimage.h: removed types which are now in
      	base/base-types.h.
      
      	* app/base/base-config.[ch]
      	* app/gimprc.[ch]: put the config variables for base/ to their own
      	file so base/ doesn not have to include gimprc.h (does not yet
      	work, i.e. the variables are un-configurable right now)
      
      	* app/main.c: set a log handler for "Gimp-Base".
      
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs.[ch]: removed the color hash which
      	maps RGB to color indices because it's a totally standalone system
      	which has nothing to do with the paint-funcs and introduced a
      	GimpImage dependency.
      
      	paint-funcs/ should be considered on the same sub-object
      	(glib-only) level as base/, only in a different directory.
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-colorhash.[ch]: put the color hash here.
      
      	* app/gimage.c: don't invalidate the color hash here...
      
      	* app/core/gimpimage.c: ... but in the colormap_changed() default
      	inplementation. Initialize the hash in class_init().
      
      	* tools/pdbgen/Makefile.am: scan app/base/base-types.h for enums.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/pdb/[all]
      	* app/tools/[over]
      	* app/widgets/[the]
      	* tools/pdbgen/pdb/[place]: changed #includes accordingly. And use
      	base_config->value instead of the stuff from gimprc.h.
      d240f623
  22. 13 May, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. Stuff now lives in app_procs.[ch] and in · 0cbbef40
      Michael Natterer authored
      2001-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/cursorutil.[ch]: removed. Stuff now lives in app_procs.[ch]
      	and in widgets/gimpcursor.[ch]
      
      	* app/appenv.h: added the "gimp_busy" boolean.
      
      	* app/app_procs.[ch]: added the "busy" stuff here.
      
      	* app/gui/gui.[ch]: "busy" stuff for the gui.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcursor.[ch]: exports only one function:
      	gimp_cursor_new() which returns a GdkCursor which has to be
      	destroyed.
      
      	* app/apptypes.h
      	* app/appenums.h: removed the cursor types.
      	* app/widgets/widgets-types.h: added here.
      
      	* app/tools/gimpeditselectiontool.[ch]: added
      	gtkutil_compress_motion() here (will go to some utils file in
      	widgets/).
      
      	* app/tools/tools-types.h: #include "widgets/widgets-types.h"
      
      	* app/dialog_handler.c
      	* app/disp_callbacks.c
      	* app/gdisplay.[ch]
      	* app/nav_window.c
      	* app/scroll.c
      	* app/xcf.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/gui/file-open-dialog.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimptransformtool.c
      	* tools/pdbgen/pdb/image.pdb
      	* app/pdb/image_cmds.c: use the new cursor and "busy" functions.
      
      	* app/gdisplay.h
      	* app/core/gimpbrush.c: added some ugly cross-includes.
      
      	* app/context_manager.c
      	* app/gdisplay_ops.c
      	* app/gimprc.c
      	* app/core/gimpdrawable-offset.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/preferences-dialog.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpselectiontool.c: removed inclusion of "cursorutil.h"
      0cbbef40
    • Michael Natterer's avatar
      removed some forgotten tools types. · 637c714a
      Michael Natterer authored
      2001-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h: removed some forgotten tools types.
      
      	* app/tools/tools-types.h: and added them here.
      
      	* app/interface.c
      	* app/disp_callbacks.[ch]: ported dropping of drawables to the
      	new DND system.
      
      	* app/app_procs.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimptoolinfo.h
      	* app/gui/gui.c
      	* app/tools/tool_options.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimplayerlistview.c: removed/fixed includes.
      
      	* app/gui/brush-select.[ch]
      	* app/gui/pattern-select.[ch]: removed the display of the current
      	name (done by the grid view now).
      
      	* app/gui/palette-select.c: fixed palette preview size.
      
      	* app/gui/dialogs-constructors.c: added get_name() functions for
      	brushes, patterns, images and palettes.
      
      	* app/widgets/gimpcontainergridview.[ch]: added a label for the
      	name of the active item.
      
      	* app/widgets/gimpdnd.[ch]: removed the old drawable DND preview
      	icon code.
      
      	* tools/pdbgen/app.pl: braino: the $tool_eek hack has to be
      	initialized to 0 at the beginning of each file, otherwise we end
      	up including "tools/tools-types.h" everywhere.
      
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/tools.pdb: add "tools/tools-types.h" where needed.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/undo_cmds.c
      	* app/pdb/unit_cmds.c: regenerated.
      637c714a
  23. 09 May, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · d1022c34
      Michael Natterer authored
      2001-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/asupsample.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/tools/Makefile.am
      	* app/tools/tools-types.h: new files.
      
      	* app/tools/gimptoolinfo.[ch]: removed.
      	* app/core/gimptoolinfo.[ch]: added here.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpadaptivesupersample.[ch]
      	* libgimp/gimpbilinear.[ch]: removed here...
      
      	* libgimpcolor/Makefile.am
      	* libgimpcolor/gimpcolortypes.h
      	* libgimpcolor/gimpadaptivesupersample.[ch]
      	* libgimpcolor/gimpbilinear.[ch]: ..and added here.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/paths.pdb
      
      	* app/*.c: changed tons of #include's
      d1022c34
    • Michael Natterer's avatar
      configure.in added new directory app/core/ for the core object system. · 8985b107
      Michael Natterer authored
      2001-05-09  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am: added new directory app/core/ for the core
      	object system.
      
      	* app/gimage_mask.[ch]
      	* app/gimpbrush-header.h
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpchannel.[ch]
      	* app/gimpcontainer.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpdata.[ch]
      	* app/gimpdatafactory.[ch]
      	* app/gimpdatalist.h
      	* app/gimpdrawable-desaturate.[ch]
      	* app/gimpdrawable-equalize.[ch]
      	* app/gimpdrawable-invert.[ch]
      	* app/gimpdrawable-offset.[ch]
      	* app/gimpdrawable-preview.[ch]
      	* app/gimpdrawable.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimpimage-convert.[ch]
      	* app/gimpimage-duplicate.[ch]
      	* app/gimpimage-undo.[ch]
      	* app/gimpimage.[ch]
      	* app/gimplayer.[ch]
      	* app/gimplayermask.[ch]
      	* app/gimplist.[ch]
      	* app/gimpmarshal.[ch]
      	* app/gimpobject.[ch]
      	* app/gimppalette-import.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern-header.h
      	* app/gimppattern.[ch]
      	* app/gimpundo.[ch]
      	* app/gimpundostack.[ch]
      	* app/gimpviewable.[ch]: removed these files...
      
      	* app/core/*: ...and added them here.
      
      	* app/*.c
      	* app/gui/*.c
      	* app/pdb/*.c
      	* app/tools/*.c
      	* app/widgets/*.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/pat.c
      	* po/POTFILES.in
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/*.pdb: changed accordingly.
      8985b107
  24. 03 May, 2001 1 commit
    • Michael Natterer's avatar
      don't #include "gui/color-select.h" · 07b8ffd4
      Michael Natterer authored
      2001-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c: don't #include "gui/color-select.h"
      
      	* app/disp_callbacks.[ch]: renamed gdisplay_drop_viewable() to
      	gdisplay_drop_pattern().
      
      	* app/gimpimage.[ch]: added new signals
      	"component_visibility_changed" and "component_active_changed" and
      	emit them in the resp. accessors.
      
      	* app/interface.c: removed old GimpPreview test code.
      
      	* app/widgets/Makefile.am
      	* app/apptypes.h
      	* app/widgets/gimpchannellistview.[ch]
      	* app/widgets/gimpcomponentlistitem.[ch]: new (unfinished) widgets.
      
      	* app/widgets/gimpdockbook.c: switch to the right-clicked notebook
      	page before showing the menu.
      
      	* app/widgets/gimpdrawablelistitem.[ch]: removed the protected
      	functions which make the toggle buttons look nicer...
      
      	* app/widgets/gimplistitem.[ch]: ...and added them here.
      
      	* app/widgets/gimpdrawablelistview.[ch]: virtualized set_image()
      	so subclasses can properly (dis)connect on image change.
      
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimpimagepreview.[ch]: removed the calc_size()
      	functions which calculate the preview's aspect ratio...
      
      	* app/widgets/gimppreview.[ch]: ...and added then here as
      	protected functions.
      
      	* app/widgets/gimplayerlistitem.c: flush displays after changing
      	the layer mask's "apply" or "show" state.
      07b8ffd4
  25. 20 Apr, 2001 2 commits
    • Michael Natterer's avatar
      new functions gimp_window_add_accel_group() and · 3d9da82f
      Michael Natterer authored
      2001-04-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpui.[ch]: new functions gimp_window_add_accel_group() and
      	gimp_window_remove_accel_group() which do the ugly accel context
      	hack described below.
      
      	* app/interface.c
      	* app/gui/layers-dialog.c: use the new functions.
      
      	* app/disp_callbacks.c
      	* app/gui/layers-commands.c: removed stuff which is now done
      	automatically.
      3d9da82f
    • Michael Natterer's avatar
      app/Makefile.am removed. · c1e2f4e2
      Michael Natterer authored
      2001-04-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/layers_dialogP.h: removed.
      
      	* app/gimpui.[ch]: new function gimp_menu_position().
      
      	* app/disp_callbacks.c
      	* app/interface.c
      	* app/gui/layers-dialog.c: popup the image and layers menu with
      	gtk_item_factory_popup_with_data() instead of gtk_menu_popup()
      	and pass the GimpImage we're operating on as data.
      
      	For accelerators, which are invoked without context, we catch key
      	press events and attach the context to the GtkItemFactory.
      
      	* app/gui/Makefile.am
      	* app/gui/layers-commands.[ch]: common layer callbacks (instead of
      	separate ones in commands.c and layers-dialog.c
      
      	* app/gui/commands.[ch]
      	* app/gui/layers-dialog.[ch]: removed the menu callbacks here.
      
      	* app/gdisplay.h
      	* app/lc_dialog.c
      	* app/gui/channels-dialog.c
      	* app/gui/layer-select.c
      	* app/gui/menus.c
      	* po/POTFILES.in: changed accordingly.
      c1e2f4e2
  26. 17 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gui/Makefile.am app/about_dialog.[ch] · ddc91452
      Michael Natterer authored
      2001-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gui/Makefile.am
      	* app/about_dialog.[ch]
      	* app/brush_edit.[ch]
      	* app/brush_select.[ch]
      	* app/channels_dialog.[ch]
      	* app/color_area.[ch]
      	* app/color_notebook.[ch]
      	* app/color_select.[ch]
      	* app/colormap_dialog.[ch]
      	* app/commands.[ch]
      	* app/file_new_dialog.[ch]
      	* app/gradient_editor.[ch]
      	* app/gradient_select.[ch]
      	* app/indicator_area.[ch]
      	* app/info_dialog.[ch]
      	* app/info_window.[ch]
      	* app/layer_select.[ch]
      	* app/layers_dialog.[ch]
      	* app/menus.[ch]
      	* app/palette.[ch]
      	* app/palette_import.[ch]
      	* app/palette_select.[ch]
      	* app/paths_dialog.[ch]
      	* app/pattern_select.[ch]
      	* app/preferences_dialog.[ch]
      	* app/session.[ch]
      	* app/test_commands.[ch]
      	* app/tips_dialog.[ch]
      	* app/toolbox.[ch]: moved to gui/ (s/_/-/ and some more useful
      	filenames on the way).
      
      	* app/app_procs.c
      	* app/context_manager.c
      	* app/convert.c
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/file-utils.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimprc.c
      	* app/image_new.c
      	* app/interface.c
      	* app/nav_window.c
      	* app/path.c
      	* app/plug_in.c
      	* app/gui/dialogs-constructors.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpcolorpanel.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* po/POTFILES.in: changed accordingly.
      ddc91452
  27. 07 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/paint_funcs.c app/paint_funcs.h removed the old files. · f6f19012
      Michael Natterer authored
      2001-04-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint_funcs.c
      	* app/paint_funcs.h
      	* app/paint_funcs_simd.S: removed the old files.
      
      	* tools/pdbgen/Makefile.am
      	* app/app_procs.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/desaturate.c
      	* app/disp_callbacks.c
      	* app/floating_sel.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimpchannel.c
      	* app/gimpdrawable-preview.c
      	* app/gimpdrawable.c
      	* app/gimpimage.c
      	* app/gimplayer.c
      	* app/gimplayermask.c
      	* app/global_edit.c
      	* app/image_map.c
      	* app/image_new.c
      	* app/layers_dialog.c
      	* app/temp_buf.c
      	* app/toolbox.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/paint-funcs/paint-funcs.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      f6f19012
  28. 30 Mar, 2001 1 commit
  29. 11 Mar, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/apptypes.h new subclass of GimpDrawableListView (the · b51d761f
      Michael Natterer authored
      2001-03-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimplayerlistview.[ch]: new subclass of GimpDrawableListView
      	(the upcoming replacement of the layers dialog). Connects to the
      	new GimpLayer signals using the layer container as signal proxy
      	(see below).
      
      	* app/gimpcontainerview.[ch]: made "set_container" a virtual
      	function.  This is needed by the GimpLayerListView to
      	connect/disconnect signals. Subclasses implementing this method
      	MUST obey the following order of instructions:
      
      	1. disconnect from signals related to GimpContainerView->container
      	2. chain up (!!!)
      	3. connect to signals related to GimpContainerView->container
      
      	And yes, I will add DocBook files for all those new objects :)
      
      	* app/gimppreview.[ch]: made "border_color" a GimpRGB instead of
      	guchar[3]. Added gimp_preview_set_border_color().
      
      	* app/gimpcontainergridview.c
      	* app/gimplayerlistitem.c: use gimp_preview_set_border_color().
      
      	* app/gimpcontainerlistview.c
      	* app/gimpdrawablelistview.c: cleanup.
      
      	* app/gimpdrawablelistitem.c: we can safely asume that our parent
      	widget is a GimpDrawableListView and use it's "reorder_drawable"
      	function pointer (after checking that it's there).
      
      	* app/gimplistitem.c: connect the correct DND type when changing
      	the container of a list item with "reorderable" enabled.
      
      	* app/gimplayer.[ch]: added accessors and "*_changed" signals for
      	layer->mode, layer->opacity and layer->preserve_trans.
      
      	* app/disp_callbacks.c: fixed a FIXME: use the correct bucket fill
      	tool context again.
      
      	* app/tools/paint_options.[ch]: paint_mode_menu_new(): added a
      	boolean which toggles the "Behind" item on/off to the same
      	constructor can be used for all paint mode menus.
      
      	* app/tools/gimptoolinfo.c: rect. select is the standard tool again.
      
      	* app/brush_select.c
      	* app/floating_sel.c
      	* app/gimpimage.c
      	* app/layers_dialog.c
      	* app/pdb/layer_cmds.c
      	* app/tools/gimpeditselectiontool.c
      	* tools/pdbgen/pdb/layer.pdb: use the new layer accessors and the
      	paint_mode_menu constructor.
      
      	* app/commands.c
      	* app/gdisplay.c
      	* app/menus.c
      	* app/undo.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimptool.c
      	* app/tools/paint_options.c
      	* app/tools/tool_manager.c: put the #warning's back inside
      	#ifdef __GNUC__
      b51d761f
  30. 09 Mar, 2001 1 commit
    • Michael Natterer's avatar
      app/tools/Makefile.am removed. · 80b55c7e
      Michael Natterer authored
      2001-03-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/rect_selectP.h: removed.
      
      	* app/tools/gimpfreeselecttool.[ch]
      	* app/tools/gimpfuzzyselecttool.[ch]: reactivated.
      
      	* app/tools/gimptool.[ch]: removed STUB()s and old crap.
      
      	* app/tools/tools.c: register the new tools.
      
      	* app/disp_callbacks.c
      	* app/tools/selection_options.c: changed accordingly.
      
      	* app/apptypes.h
      	* app/tools/gimprectselecttool.c: cleanup.
      80b55c7e
  31. 08 Mar, 2001 1 commit
    • Michael Natterer's avatar
      app/tools/Makefile.am lots of files renamed to gimp*tool.[ch] · 1d987a3b
      Michael Natterer authored
      2001-03-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/[almost *]: lots of files renamed to gimp*tool.[ch]
      
      	* app/commands.c
      	* app/context_manager.c
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimpdnd.c
      	* app/gimprc.c
      	* app/global_edit.c
      	* app/info_window.c
      	* app/scale.c
      	* app/scroll.c
      	* app/undo.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c
      	* po/POTFILES.in
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      1d987a3b
  32. 03 Mar, 2001 1 commit
    • Michael Natterer's avatar
      renamed ZoomType to GimpZoomZype and added it here. · f1d9ba63
      Michael Natterer authored
      2001-03-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenums.h: renamed ZoomType to GimpZoomZype and added it
      	here.
      
      	* app/commands.c
      	* app/disp_callbacks.c
      	* app/nav_window.c
      	* app/scale.[ch]: changed accordingly.
      
      	* app/tools/Makefile.am
      	* app/tools/magnify.[ch]: back as object.
      
      	* app/tools/tool.c: removed the old ToolInfo entry.
      
      	* app/tools/tools.c: register it.
      f1d9ba63
  33. 24 Feb, 2001 1 commit
    • Michael Natterer's avatar
      updated. · 17335326
      Michael Natterer authored
      2001-02-24  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: updated.
      
      	* app/appenums.h
      	* app/apptypes.h: prefixed the cursor stuff with "Gimp", added
      	the new stock tool cursor enum. Removed the old ToolType enum.
      
      	* app/cursorutil.[ch]
      	* app/gdisplay.[ch]: removed the old ToolType enum and prefixed
      	the functions with "gimp_". Also stripped all "toggle cursor"
      	stuff from the cursor code, so the new API is easier and not
      	depending on the tool system.
      
      	All existing tool cursors can be used via the new stock tool
      	cursor enum, so no tool has to fiddle around with bitmap cursors.
      	There will be an cursorutil function for registering stock tool
      	cursor types on the fly.
      
      	* app/disp_callbacks.c
      	* app/scroll.[ch]: moved the display scrollbar callbacks from
      	scroll.[ch] to disp_callbacks.c. Removed some crap from scroll.h
      
      	* app/tools/tool.[ch]: removed the BitmapCursor pointers from the
      	tool class struct and add cursor and toggle cursor IDs to the
      	GimpTool struct. Work in progress.
      
      	* app/dialog_handler.c
      	* app/tools/bezier_select.c
      	* app/tools/blend.c
      	* app/tools/bucket_fill.c
      	* app/tools/by_color_select.c
      	* app/tools/clone.c
      	* app/tools/color_picker.c
      	* app/tools/convolve.c
      	* app/tools/crop.c
      	* app/tools/dodgeburn.c
      	* app/tools/edit_selection.c
      	* app/tools/ellipse_select.c
      	* app/tools/flip_tool.c
      	* app/tools/free_select.c
      	* app/tools/fuzzy_select.c
      	* app/tools/ink.c
      	* app/tools/iscissors.c
      	* app/tools/magnify.c
      	* app/tools/measure.c
      	* app/tools/move.c
      	* app/tools/paint_core.[ch]
      	* app/tools/perspective_tool.c
      	* app/tools/rect_select.c
      	* app/tools/rotate_tool.c
      	* app/tools/scale_tool.c
      	* app/tools/shear_tool.c
      	* app/tools/text_tool.c
      	* app/tools/transform_core.[ch]: changed accordingly. Did this
      	"blind" for most tools because they don't compile. The changes are
      	minimal, so there should be no conflicts.
      17335326
  34. 21 Feb, 2001 1 commit
    • Michael Natterer's avatar
      forgot one s/gimptool/gimptool-1.4/ · 9417fa1d
      Michael Natterer authored
      2001-02-21  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: forgot one s/gimptool/gimptool-1.4/
      
      	* app/appenums.h: removed "UPDATE_CURSOR" from the ToolAction enum.
      
      	* app/context_manager.c: removed the toolbox toggle button updating
      	code here...
      
      	* app/toolbox.c: ...and handle it in the toolbox itself.
      
      	* app/devices.c: removed some obsolete old tool suff.
      
      	* app/tools/Makefile.am
      	* app/tools/move.[ch]: reactivated. Disabled the edit_selection
      	stuff for now. We need a way to temporary push tools to some stack
      	of the tool manager.
      
      	* app/tools/tool.[ch]: removed lot of stuff that is obsolete or
      	handled by the GimpToolInfo object now.
      
      	* app/tools/tool_manager.[ch]: stripped all tool options stuff
      	because they will be able to follow tool changes themselves.
      	Renamed some functions to be consistent.
      
      	* app/tools/tools.c: register the move tool again.
      
      	* app/cursorutil.c
      	* app/disp_callbacks.c
      	* app/gimage_mask.c
      	* app/global_edit.c
      	* app/tools/color_picker.c
      	* app/tools/measure.[ch]
      	* app/tools/tool_options.c: changed accordingly.
      9417fa1d