1. 18 Apr, 2001 4 commits
    • Michael Natterer's avatar
      renamed ChannelOffsetType to GimpOffsetType. · 8de3fb64
      Michael Natterer authored
      2001-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdrawable-offset.[ch]: renamed ChannelOffsetType to
      	GimpOffsetType.
      
      	* app/pdb/channel_ops_cmds.c
      	* libgimp/gimpchannelops_pdb.[ch]
      	* tools/pdbgen/pdb/channel_ops.pdb: removed.
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb: put the "offset" and "duplicate"
      	functions where they belong.
      
      	* app/gui/offset-dialog.c
      	* app/pdb/Makefile.am
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimpenums.h
      	* libgimp/gimpimage.h
      	* libgimp/gimpimage_pdb.[ch]
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/groups.pl
      	* plug-ins/common/guillotine.c
      	* plug-ins/print/print.c
      	* plug-ins/script-fu/script-fu-constants.c: changed accordingly.
      8de3fb64
    • Michael Natterer's avatar
      app/Makefile.am removed · 63d3ff38
      Michael Natterer authored
      2001-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_ops.[ch]: removed
      
      	* app/gimpdrawable-offset.[ch]
      	* app/gimpimage-duplicate.[ch]: new files without GUI.
      
      	* app/gui/Makefile.am
      	* app/gui/offset-dialog.[ch]: new files.
      
      	* app/gui/commands.c
      	* app/pdb/channel_ops_cmds.c
      	* po/POTFILES.in
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/channel_ops.pdb: changed accordingly.
      63d3ff38
    • Michael Natterer's avatar
      app/Makefile.am removed. new files: the convert functionality without GUI · addaad45
      Michael Natterer authored
      2001-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/convert.[ch]: removed.
      	* app/gimpimage-convert.[ch]: new files: the convert functionality
      	without GUI (now called gimp_image_convert()).
      
      	* app/gui/Makefile.am
      	* app/gui/convert-dialog.[ch]: new files.
      
      	* app/gui/commands.c
      	* app/pdb/convert_cmds.c
      	* po/POTFILES.in
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl: changed accordingly.
      addaad45
    • Michael Natterer's avatar
      app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] · 91471766
      Michael Natterer authored
      2001-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/devices.[ch]
      	* app/gui/about-dialog.[ch]
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/tips-dialog.[ch]: return a GtkWidget from the constructor.
      
      	* app/gui/dialogs.c
      	* app/gui/dialogs-constructors.[ch]: register them with the dialog
      	factory.
      
      	* app/gui/commands.[ch]
      	* app/gui/menus.c: removed their old callbacks.
      
      	* app/gui/brush-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-editor.[ch]: no need to show or raise the shell
      	(that's done by the dialog factory now).
      
      	* app/widgets/gimpdialogfactory.c: actually do what the
      	"singleton" and "session_managed" flags say.
      91471766
  2. 17 Apr, 2001 2 commits
    • 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
    • Michael Natterer's avatar
      app/session.[ch] removed the old dialog session management code... · f283b957
      Michael Natterer authored
      2001-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/session.[ch]
      	* app/gimprc.c: removed the old dialog session management code...
      
      	* app/widgets/gimpdialogfactory.[ch]: ...and manage all dialogs here.
      
      	* app/gui/dialogs-constructors.[ch]: dialog factory compliant
      	constructors for all session managed toplevel dialogs.
      
      	* app/brush_select.[ch]
      	* app/devices.[ch]
      	* app/docindex.[ch]
      	* app/errorconsole.[ch]
      	* app/gradient_select.[ch]
      	* app/info_dialog.c
      	* app/lc_dialog.[ch]
      	* app/palette.[ch]
      	* app/pattern_select.[ch]
      	* app/toolbox.[ch]
      	* app/tools/tool_options_dialog.[ch]: all dialog constructors have
      	to return the dialog now (even the legacy ones that will go away).
      	Removed the session management code as this is now done for the
      	dialogs, not by them.
      
      	* app/app_procs.c
      	* app/color_select.c
      	* app/commands.[ch]
      	* app/indicator_area.c
      	* app/menus.c
      	* app/palette_select.c
      	* app/preferences_dialog.c
      	* app/gui/dialogs.c
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/gui.c
      	* app/tools/gimptool.c
      	* app/widgets/gimpdock.c: changed accordingly.
      f283b957
  3. 16 Apr, 2001 1 commit
    • Michael Natterer's avatar
      First attempt to get the docks session managed: · 059e7773
      Michael Natterer authored
      2001-04-16  Michael Natterer  <mitch@gimp.org>
      
      	First attempt to get the docks session managed:
      
      	* app/gimprc.c: new gimprc type "new-session-info" which will soon
      	replace the original one.
      
      	* app/menus.c
      	* app/gui/dialogs.c: s/_/-/g in all dialog identifier strings.
      
      	* app/session.[ch]: call the dialog factory's session functions.
      
      	* app/test_commands.c: use the dialog factory to create the tabs.
      
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.[ch]: the constructors return widgets,
      	not dockables now.
      
      	* app/widgets/gimpdialogfactory.[ch]: maintain a list of dialog
      	factories in the class struct. Added ugly code to do the GimpDock
      	session management.
      
      	* app/gui/gui.c
      	* app/widgets/gimpdock.c: changed accordingly.
      059e7773
  4. 15 Apr, 2001 1 commit
    • Michael Natterer's avatar
      grouped the files together which will go to gui/. · aa77e714
      Michael Natterer authored
      2001-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: grouped the files together which will go to gui/.
      
      	* app/widgets/gimpdialogfactory.[ch]: maintain a list of open
      	GimpDocks for session management.
      
      	* app/widgets/gimpdock.c: register open docks with the dialog
      	factory.
      
      	* app/widgets/gimpdockable.[ch]
      	* app/widgets/gimpdockbook.c: pass a pointer to the GimpDockbook
      	to the GimpDockable's "get_tab" function because the function is
      	called before the dockable is added to the dockbook.
      
      	* app/test_commands.c
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: changed accordingly.
      aa77e714
  5. 14 Apr, 2001 2 commits
    • Michael Natterer's avatar
      added some more dialog types. · 3fafbbe1
      Michael Natterer authored
      2001-04-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/menus.c: added some more dialog types.
      
      	* app/gui/Makefile.am
      	* app/gui/gimpdialogfactory.[ch]: removed again...
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdialogfactory.[ch]: ...and added where it belongs.
      
      	* app/gui/dialogs.c
      	* app/widgets/gimpdock.c: changed #include's
      
      	* app/gui/dialogs-commands.c: dialogs can be removed via the menu
      	now.
      
      	* app/widgets/gimpdockbook.c: ref the dockbook while the item
      	factory is active because an item factory callback may destroy it
      	(we need to add the hijacked GtkNotebook menu back to the
      	notebook).
      3fafbbe1
    • Michael Natterer's avatar
      configure.in app/Makefile.am new directory which will contain all gui code · 517de92a
      Michael Natterer authored
      2001-04-14  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* app/gui/Makefile.am: new directory which will contain all gui code
      	except widgets (I was tired off adding new files to app/).
      
      	* app/apptypes.h
      	* app/gui/gimpdialogfactory.[ch]: factory which produces dialogs
      	from string descriptions. Should maybe go to widgets/.
      
      	* app/gui/dialogs-commands.[ch]: callbacks for the new menu
      	factory below.
      
      	* app/gui/dialogs-constructors.[ch]: dialog constructors which are
      	registered with the dialog factory.
      
      	* app/gui/dialogs.[ch]: register the dialogs with the factory.
      
      	* app/app_procs.c: call dialogs_register().
      
      	* app/menus.[ch]: a new item factory for creating dialogs.
      
      	* app/test_commands.c
      	* app/widgets/gimpdock.[ch]: added a dialog factory pointer to the
      	GimpDock struct.
      
      	* app/widgets/gimpdockbook.[ch]: badly (badly!) fiddle around with
      	GtkNotebook's menu to get it integrated in the GtkItemFactory
      	which produces new dialogs.
      517de92a
  6. 13 Apr, 2001 1 commit
    • Michael Natterer's avatar
      removed the ID system from the pdb/ subdir... · 86dc6004
      Michael Natterer authored
      2001-04-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/procedural_db.[ch]: removed the ID system from the pdb/
      	subdir...
      
      	* app/gimpimage.[ch]: ...and temporarily added it back to GimpImage.
      
      	The ID stuff is not only used by the PDB but is a more general
      	type of service which is needed for the PDB, DND and some parts of
      	the GUI. Finally, a GimpFactory class with subclasses for data
      	objects, images etc. will maintain the ID spaces.
      
      	* app/colormap_dialog.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/gdisplay.c
      	* app/gimpdnd.c
      	* app/gimpdrawable.c
      	* app/info_window.c
      	* app/lc_dialog.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/paths_dialog.c
      	* app/plug_in.c
      	* app/xcf.c
      	* app/tools/gimptexttool.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/image.pdb: use GimpImage's ID functions.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/channel_ops_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c
      	* app/pdb/undo_cmds.c: regenerated.
      86dc6004
  7. 11 Apr, 2001 1 commit
    • Michael Natterer's avatar
      configure.in new directory containing all widgets. Some of them will go to · 594496b1
      Michael Natterer authored
      2001-04-11  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/widgets/*: new directory containing all widgets. Some of them
      	will go to libgimpwidgets.
      
      	* app/color_panel.[ch]
      	* app/gimpbrushpreview.[ch]
      	* app/gimpconstrainedhwrapbox.[ch]
      	* app/gimpcontainergridview.[ch]
      	* app/gimpcontainerlistview.[ch]
      	* app/gimpcontainerview.[ch]
      	* app/gimpdatafactoryview.[ch]
      	* app/gimpdock.[ch]
      	* app/gimpdockable.[ch]
      	* app/gimpdockbook.[ch]
      	* app/gimpdrawablelistitem.[ch]
      	* app/gimpdrawablelistview.[ch]
      	* app/gimpdrawablepreview.[ch]
      	* app/gimpgradientpreview.[ch]
      	* app/gimpimagepreview.[ch]
      	* app/gimplayerlistitem.[ch]
      	* app/gimplayerlistview.{ch]
      	* app/gimplistitem.[ch]
      	* app/gimppalettepreview.[ch]
      	* app/gimppatternpreview.[ch]
      	* app/gimppreview.[ch]
      	* app/gimptoolinfopreview.[ch]
      	* app/gtkhwrapbox.[ch]
      	* app/gtkvwrapbox.[ch]
      	* app/gtkwrapbox.[ch]
      	* app/histogramwidget.[ch]: removed from here.
      
      	* app/Makefile.am
      	* app/appenums.h
      	* app/brush_select.c
      	* app/channels_dialog.c
      	* app/devices.c
      	* app/gimpdnd.c
      	* app/gimpdrawable-preview.c
      	* app/gimphistogram.h
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/indicator_area.c
      	* app/info_window.c
      	* app/palette.c
      	* app/palette_select.c
      	* app/pattern_select.c
      	* app/qmask.c
      	* app/test_commands.c
      	* app/toolbox.c
      	* app/pdb/color_cmds.c
      	* app/tools/paint_options.c
      	* app/tools/tool_options_dialog.c
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      594496b1
  8. 08 Mar, 2001 2 commits
    • Michael Natterer's avatar
      app/apptypes.h app/channel_ops.c app/commands.c app/convert.[ch] · 469faaf3
      Michael Natterer authored
      2001-03-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h
      	* app/channel_ops.c
      	* app/commands.c
      	* app/convert.[ch]
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gimage.h
      	* app/gimage_mask.[ch]
      	* app/gimpchannel.c
      	* app/global_edit.h
      	* app/image_map.c
      	* app/layer_select.[ch]
      	* app/layers_dialogP.h
      	* app/lc_dialog.c
      	* app/resize.c
      	* app/toolbox.c
      	* app/undo.h
      	* app/undo_history.c
      	* app/xcf.c
      	* app/tools/gimpbycolorselecttool.h
      	* app/tools/gimpcroptool.[ch]
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimppainttool.c
      	* app/tools/transform_core.h: removed the GImage typedef, cleanup.
      469faaf3
    • 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
  9. 04 Mar, 2001 1 commit
  10. 27 Feb, 2001 1 commit
  11. 24 Feb, 2001 1 commit
    • Michael Natterer's avatar
      added cmd_callbacks for the toolbox and the preferences dialog. · 04f71318
      Michael Natterer authored
      2001-02-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/commands.[ch]: added cmd_callbacks for the toolbox and
      	the preferences dialog.
      
      	* app/context_manager.c: cleanup.
      
      	* app/gimppreview.[ch]: made gimp_preview_render() public.
      
      	* app/gimptoolinfopreview.c
      	* app/tools/gimptoolinfo.c: the tool previews look nice now but
      	are still ugly implemented (it renders tons of temp_bufs on each
      	state change).
      
      	* app/indicator_area.[ch]: pass a context to the constructor.
      
      	* app/menus.c: don't call the toolbox and the prefs dialog
      	directly but dispatch via commands.[ch]
      
      	* app/preferences_dialog.[ch]
      	* app/toolbox.[ch]: renamed the constructor / raise function, cleanup.
      
      	* app/tools/color_picker.c: tried to get the shortcut working again.
      
      	* app/tools/paint_options.c: the brush dialog's paint options
      	are shown/hidden from the context manager now.
      04f71318
  12. 23 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/pixmaps.h removed some data files from app/ · f765a821
      Michael Natterer authored
      2001-02-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/pixmaps.h
      	* app/wilber.h: removed some data files from app/
      
      	* pixmaps/Makefile.am
      	* pixmaps/default.xpm
      	* pixmaps/swap.xpm
      	* pixmaps/wilber3.xpm: added them here.
      
      	* app/pixmaps2.h: added the "dialog_bits" stuff here.
      
      	* app/tips_dialog.c
      	* app/toolbox.c: use the new XPMs and remove hacks which created
      	the GdkPixmaps and GtkPreviews manually.
      f765a821
  13. 21 Feb, 2001 1 commit
    • Michael Natterer's avatar
      Made the tool system work again and integrated it back with the · 99c52018
      Michael Natterer authored
      2001-02-21  Michael Natterer  <mitch@gimp.org>
      
      	Made the tool system work again and integrated it back with the
      	GimpContext. It's a hack between old, new and freshly hacked
      	stuff. There are still lots of warnings but at least we can switch
      	tools again.
      
      	* app/tools/Makefile.am
      	* app/tools/gimptoolinfo.[ch]: resurrected as real object.
      	The GimpToolInfo objects are derived from GimpData, which gives
      	us the tool icon stuff for free. Also, we need a list of _objects_
      	which is allocated all the time. All tools are required to have
      	a "register" function which registers themselves with the list
      	of GimpToolInfo objects which is maintained by the tool manager.
      
      	* app/tools/tool.[ch]: made a real GtkObject with properly named
      	functions out of it. The former "active_tool_control" is of
      	course not the default implementation of the tool's "control"
      	method but a hack _around_ it, so it went to the tool manager.
      
      	* app/tools/color_picker.[ch]
      	* app/tools/measure.[ch]: ditto. Added "register" functions and
      	"destroy" implementations so the tools go away after use.
      
      	* app/tools/tool_manager.[ch]: badly hacked at the moment to keep
      	both the list of class structures _and_ the tool info list.
      
      	* app/tools/tools.c: call the tools' register functions.
      
      	* app/gimpcontext.[ch]: store a pointer to a GimpToolInfo object
      	as "active_tool" in the context, so we're independent of tools
      	being allocated or not. It's treated just like a brush or pattern
      	now.
      
      	* app/gimpdnd.[ch]: made tool DND work like all other DND types.
      
      	* app/devices.[ch]: also here: the tool is just a normal data object
      	now, resulting in removal of lots of code.
      
      	* app/commands.c
      	* app/context_manager.c: updated the tool select and context stuff
      	to work again.
      
      	* app/toolbox.c: removed the old pixmap buttons and put GimpPreviews
      	inside the tool buttons. Still needs an own preview type to
      	look nice.
      
      	* app/disp_callbacks.c
      	* app/about_dialog.c
      	* app/app_procs.c
      	* app/appenums.h
      	* app/apptypes.h
      	* app/gimage.c
      	* app/gimppalette.c
      	* app/gimppreview.c
      	* app/gimprc.c
      	* app/info_window.c
      	* app/menus.c
      	* app/palette_select.h
      	* app/scale.c
      	* app/scroll.c: lots of changes to make it work again.
      99c52018
  14. 19 Feb, 2001 3 commits
    • Michael Natterer's avatar
      app/Makefile.am new files. The import functions stripped from all UI crap. · adf0ff87
      Michael Natterer authored
      2001-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimppalette-import.[ch]: new files. The import functions
      	stripped from all UI crap.
      
      	* app/palette_import.c: removed from here.
      adf0ff87
    • Sven Neumann's avatar
      converted gimage->layers and gimage->channels to GimpLists. · 9e131cb2
      Sven Neumann authored
      2001-02-19  Sven Neumann  <sven@gimp.org>
      
      	* app/gimpimage.[ch]: converted gimage->layers and gimage->channels
      	to GimpLists.
      
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/floating_sel.c
      	* app/gdisplay.c
      	* app/gimpdrawable.c
      	* app/layers_dialog.c
      	* app/resize.c
      	* app/undo.c
      	* app/xcf.c
      	* app/pdb/display_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/tools/crop.c
      	* app/tools/edit_selection.c
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly
      9e131cb2
    • Michael Natterer's avatar
      app/context_manager.c app/gimpdatafactory.c app/gimpdatalist.[ch] · dbc22713
      Michael Natterer authored
      2001-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/context_manager.c
      	* app/gimpdatafactory.c
      	* app/gimpdatalist.[ch]
      	* app/gimplist.[ch]
      	* app/module_db.c: return a GimpContainer from all container
      	subclass constructors.
      
      	* app/gimppalettepreview.c
      	* app/palette.c: changed the preview a bit. Still ugly.
      dbc22713
  15. 18 Feb, 2001 1 commit
    • Michael Natterer's avatar
      added DND source functions which work by GtkType. · a80dd4d0
      Michael Natterer authored
      2001-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdnd.[ch]: added DND source functions which work by
      	GtkType.
      
      	* app/commands.c
      	* app/brush_select.c
      	* app/gradient_select.[ch]
      	* app/pattern_select.c: removed the DND code here because it's all
      	done by the GimpContainerView now.
      
      	* app/gimpbrushpreview.c
      	* app/gimpgradientpreview.c
      	* app/gimppalettepreview.c
      	* app/gimppatternpreview.c: use the DND by-type connect functions.
      
      	* app/gimpbrushgenerated.c: implemented "duplicate", cleanup.
      
      	* app/gimpcontainergridview.c
      	* app/gimpcontainerlistview.c
      	* app/gimpcontainerview.[ch]: added a "activate_item" signal
      	method which is emitted by the subclasses to indicate double click.
      
      	* app/gimpdatafactoryview.c: connect to "activate_item" and show
      	the editor.
      
      	* app/convert.c
      	* app/gimppalette.[ch]
      	* app/palette.c
      	* app/paletteP.h
      	* app/palette_import.c
      	* app/palette_select.[ch]: major cleanup: Behaves like the other
      	datatypes now: DND, context stuff, GimpContainerListViews in
      	the dialogs etc. Mostly just removal of code.
      
      	* app/gradient_editor.c: fixed signal blocking/unblocking.
      
      	* plug-ins/script-fu/scripts/Makefile.am: install the "Test Sphere"
      	script again.
      a80dd4d0
  16. 14 Feb, 2001 2 commits
    • Michael Natterer's avatar
      added a note about apptype.h and about not including headers in headers. · 22371de3
      Michael Natterer authored
      2001-02-14  Michael Natterer  <mitch@gimp.org>
      
      	* HACKING: added a note about apptype.h and about not including
      	headers in headers.
      
      	* app/apptypes.h: added GimpTool and BitmapCursor.
      
      	* app/cursorutil.h
      	* app/devices.h
      	* app/draw_core.h
      	* app/tools/color_picker.h
      	* app/tools/tool.h
      	* app/tools/tool_options.h
      	* app/gimpcontext.h: removed includes of "tools/tool.h"
      
      	* app/gimprc.[ch]: indentadion cleanup, added
      	"module_db_load_inhibit".
      
      	* app/module_db.c: removed the above variable here.
      
      	* app/gimpdata.[ch]: added a vitrual "duplicate" method.
      
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern.[ch]: all "load", "new" and "get_standard"
      	functions return a GimpData pointer now.
      
      	* app/gimpdatafactory.[ch]: made some stuff const.
      
      	* app/gimpdatafactoryview.c: activate the "duplicate" button and
      	set the initial button sensitivity correctly.
      
      	* app/brush_select.c
      	* app/gradient_select.c
      	* app/pattern_select.c: use the new GimpDataFactoryView.
      
      	* libgimp/Makefile.am: grouped the file to sort out what _may_
      	go to subdirs or separate libs.
      
      	* libgimp/gimpenv.[ch]: added many "const".
      
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/gimpcontext.c
      	* app/gimpdnd.c
      	* app/gradient_editor.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/user_install.c: many related changes.
      
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpvector.[ch]: minor cleanups.
      
      	* plug-ins/script-fu/script-fu.c: gimp_data_directory() is const now.
      22371de3
    • Nate Summers's avatar
      prototype for an extension that allows gmodules as plugins. Known bug: · 35ac032f
      Nate Summers authored
              * plug-ins/plugin-helper/*: prototype for an extension that allows
              gmodules as plugins.  Known bug: crashes on gmodules with a static "query" function
      
              * app/tools/tool.c
              * app/tools/tool.h: created new GimpTool object.  Did away with ToolInfo.
              Most tools still need to be ported over to the new api.
              * plug-ins/script-fu/script-fu-scripts.c: fixed typo in comment.  Pathetic, huh?
      35ac032f
  17. 13 Feb, 2001 1 commit
    • Michael Natterer's avatar
      gimprc.in user_install user_install.bat app/gimprc.[ch] removed the · b5d8536f
      Michael Natterer authored
      2001-02-13  Michael Natterer  <mitch@gimp.org>
      
      	* gimprc.in
      	* user_install
      	* user_install.bat
      	* app/gimprc.[ch]
      	* app/preferences_dialog.c: removed the "brush_vbr_path" variable,
      	because all data types will be editable and saveable soon.
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpdatafactory.[ch]: new object which holds a data list and
      	knows how to create, edit, duplicate etc. the items in it. Will
      	completely replace the brushes.[ch], patterns.[ch], ... files soon.
      
      	* po/POTFILES.in
      	* app/gimpdatacontainerview.[ch]: removed.
      	* app/gimpdatafactoryview.[ch]: added.
      
      	A view on the GimpDataFactory with a GUI for creating, editing,
      	deleting etc. items (mostly unimplemented).
      
      	* app/context_manager.[ch]: replaced the global data lists by global
      	data factories.
      
      	* app/brush_select.c
      	* app/brushes.[ch]
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.c
      	* app/gimpcontext.c
      	* app/gimpdata.[ch]
      	* app/gimpdatalist.[ch]
      	* app/gimpdnd.c
      	* app/gimpgradient.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern.[ch]
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/gradients.[ch]
      	* app/indicator_area.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/palette_select.c
      	* app/palettes.[ch]
      	* app/pattern_select.c
      	* app/patterns.[ch]
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly.
      b5d8536f
  18. 12 Feb, 2001 1 commit
    • Michael Natterer's avatar
      took gimpcontextpreview.[ch] out of the build but still left the sources · d6a2d391
      Michael Natterer authored
      2001-02-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: took gimpcontextpreview.[ch] out of the build
      	but still left the sources there as reference.
      
      	* app/app_procs.c: initialize the render stuff before creating the
      	toolbox (needed for the previews).
      
      	* app/devices.c
      	* app/indicator_area.c: use GimpPreviews instead of
      	GimpContextPreviews.
      
      	* app/context_manager.[ch]: create the global data lists here
      	because they now must exist before any context is created.
      
      	* app/brushes.[ch]
      	* app/gradients.[ch]
      	* app/palettes.[ch]
      	* app/patterns.[ch]: removed them here.
      
      	* app/gimpcontainer.[ch]: added a "freeze_count" and emit the
      	"freeze" and "thaw" signals accordingly.
      
      	* app/gimpcontext.[ch]: greatly simplified the way how the
      	contexts connect to the data lists (simply keep them connected all
      	the time). Also removed all those ugly explicit update functions
      	because "thaw" callbacks do this job now.
      
      	* app/gimpdata.c: a GimpData object now becomes dirty on
      	"name_changed"; "dirty" now triggers "invalidate_preview" because
      	the context does not dispatch these signals any more soon.
      
      	* app/brush_select.c
      	* app/convert.c
      	* app/gimpdnd.c
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/pattern_select.c
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/gradients.[ch]
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly.
      d6a2d391
  19. 11 Feb, 2001 1 commit
    • Michael Natterer's avatar
      Made a GimpContainer out of the palette list: · 68216c6f
      Michael Natterer authored
      2001-02-11  Michael Natterer  <mitch@gimp.org>
      
      	Made a GimpContainer out of the palette list:
      
      	* app/Makefile.am
      	* app/palettes.[ch]: new files for the global palette list.
      
      	* app/gimpgradientpreview.[ch]
      	* app/gimppalettepreview.[ch]: new widgets.
      
      	* app/gimppalette.[ch]: derive it from GimpData to get all the
      	preview etc. stuff.
      
      	* app/datafiles.[ch]: new function datafiles_check_extension(),
      	added a "loader_data" parameter to datafiles_read_directories()
      	and pass it to the loader function.
      
      	* app/gimpcontext.[ch]: added the palette (not really used yet
      	except by the test dialogs).
      
      	* app/gimpdatalist.[ch]: new function gimp_data_list_save_and_clear()
      	which does everything needed for patterns_free(), brushes_free() ...
      
      	* app/gimpdnd.c: added palette DND.
      
      	* app/app_procs.c
      	* app/brushes.c
      	* app/color_notebook.h
      	* app/commands.c
      	* app/convert.c
      	* app/gimpbrush.h
      	* app/gimpbrushpipe.h
      	* app/gimpgradient.c
      	* app/gimppattern.h
      	* app/gim...
      68216c6f
  20. 10 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gradientP.h removed. · 07300cf3
      Michael Natterer authored
      2001-02-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gradientP.h
      	* app/gradient_header.h: removed.
      
      	* app/gimpgradient.[ch]: new object -- bye bye "gradient_t"
      
      	* app/gradients.[ch]: new files for managing the gradient list.
      
      	* app/gradient.[ch]: containes only the gradient editor now (which
      	still badly poked aroung in the GimpGradient structure).
      
      	* app/app_procs.c
      	* app/apptypes.h
      	* app/devices.c
      	* app/gimpcontainerlistview.c
      	* app/gimpcontext.[ch]
      	* app/gimpcontextpreview.[ch]
      	* app/gimpdnd.[ch]
      	* app/gradient_select.[ch]
      	* app/indicator_area.c
      	* app/palette_import.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/tools/airbrush.c
      	* app/tools/blend.c
      	* app/tools/paint_core.c
      	* app/tools/paintbrush.c
      	* app/tools/pencil.c
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb: changed accordingly, some
      	changes to the preview and view stuff.
      
      	* app/gimppreview.[ch]: removed the "context" attribute again
      	because it was overkill (a simple gtk_signal-connect_object does
      	the same as doing the autoconnection magic inside the GimpPreview
      	object).
      
      	* app/commands.[ch]
      	* app/menus.c: example views on the gradient container.
      07300cf3
  21. 07 Feb, 2001 2 commits
    • Michael Natterer's avatar
      added "set_by_type", "get_by_type" and "changed_by_type" methods which · c827d40a
      Michael Natterer authored
      2001-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpcontext.[ch]: added "set_by_type", "get_by_type" and
      	"changed_by_type" methods which take a GtkType and decide from
      	that if to manipulate the Brush, Pattern etc.
      
      	* app/gimpcontainerview.[ch]
      	* app/gimpcontainergridview.[ch]
      	* app/gimpcontainerlistview.[ch]: added a GimpContext to the views
      	which is used to manage the active item.
      
      	* app/commands.c: pass the user_context to the test views.
      
      	* app/gimpbrushpreview.c
      	* app/gimppatternpreview.c
      	* app/gimppreview.[ch]: added a virtual "needs_popup" method which
      	returns a boolen indicating if the viewable is already fully
      	visible.
      
      	* app/gimage.[ch]: removed gimage_foreach() and some other
      	functions which can easily be done be gimp_container_foreach().
      	Removed gimage_delete().
      
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/lc_dialog.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/preferences_dialog.c
      	* app/xcf.c
      	* app/pdb/image_cmds.c
      	* tools/pdbgen/pdb/image.pdb: changed accordingly. Switched from
      	"disp_count" refcounting to real GtkObject refcounting for
      	GimpImages.
      c827d40a
    • Michael Natterer's avatar
      V2001-02-07 Michael Natterer <mitch@gimp.org> · 5ffb34db
      Michael Natterer authored
      	* app/Makefile.am
      	* app/gimpdrawable-preview.[ch]: new files formerly known as
      	gimpdrawablepreview.[ch].
      
      	This is a new naming scheme for methods of objects which live
      	outside their object's file. The old name implied a derived object
      	(and is in fact now taken by a GimpPreview subclass, see below).
      
      	Further candidates for renaming are e.g. gimpdrawable-invert.[ch],
      	gimpimage-convert.[ch] etc.  Finaly, the main objects (image,
      	drawable) will go to their own directories together with their
      	subclasses.
      
      	* app/apptypes.h: added typedefs for the new objects:
      
      	* app/gimpbrushpreview.[ch]
      	* app/gimppatternpreview.[ch]: new subclasses of GimpPreview.
      
      	* app/gimpdrawablepreview.[ch]: contains a subclass of GimpPreview
      	now.
      
      	* app/gimpviewable.[ch]: renamed the virtual functions to
      	"get_preview" and "get_new_preview" to avoid confusion with the
      	new GimpPreview subclasses.
      
      	* app/gimppreview.[ch]: virtualized "create_preview" and
      	"create_popup".
      
      	* app/gimpmarshal.[ch]: new marsaller for GimpPreview.
      
      	* app/channels_dialog.c
      	* app/fileops.c
      	* app/gimpbrush.c
      	* app/gimpdnd.c
      	* app/gimpdrawable.c
      	* app/gimpimage.c
      	* app/gimppattern.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/lc_dialog.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/undo_history.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      5ffb34db
  22. 04 Feb, 2001 3 commits
    • Michael Natterer's avatar
      app/Makefile.am app/apptypes.h new object. Everything that can have a · f029c6b5
      Michael Natterer authored
      2001-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpviewable.[ch]: new object. Everything that can have a
      	preview will be a GimpViewable. The virtual functions are
      	"invalidate_preview", "preview" and "preview_new".
      
      	* app/gimpmarshal.[ch]: new marshaller needed for the viewable.
      
      	* app/gimpdrawable.[ch]
      	* app/gimpimage.[ch]: derived from GimpViewable. Removed the
      	preview stuff from the public interface.
      
      	Made a single boolean out of GimpImage's "comp_preview_valid"
      	array because we have only one copposite preview.
      
      	* app/gimplayer.c: made the preview stuff private.
      
      	* app/gimppreviewcache.[ch]: removed gimp_preview_scale()...
      
      	* app/temp_buf.[ch]: ...and added it as temp_buf_scale() here.
      
      	* app/gimpdrawablepreview.[ch]: is a private method of
      	GimpDrawable now.
      
      	* app/channels_dialog.c
      	* app/convert.c
      	* app/drawable.c
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimpchannel.c
      	* app/gimpcontainer.c
      	* app/gimpdnd.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/lc_dialog.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/tools/crop.c
      	* app/tools/edit_selection.c
      	* app/tools/ink.c
      	* app/tools/paint_core.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* po/POTFILES.in: changed accordingly.
      f029c6b5
    • Michael Natterer's avatar
      renamed gimp_container_lookup() back to gimp_container_have(). Virtualized · 1994facc
      Michael Natterer authored
      2001-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpcontainer.[ch]: renamed gimp_container_lookup() back
      	to gimp_container_have(). Virtualized the "add", "remove",
      	"have" and "foreach" methods and removed the "children" list.
      
      	* app/gimplist.[ch]: derived from GimpContainer now.
      
      	* app/Makefile.am
      	* app/gimpdatalist.[ch]: new object: an alphabetically sorted
      	GimpList with unique names.
      
      	* app/gimpbrushlist.[ch]: removed. It's job is done by the
      	GimpDataList now.
      
      	* app/brushes.[ch]: new files. Contain the "brushes_()" functions
      	for the global brush list.
      
      	* app/app_procs.c
      	* app/apptypes.h
      	* app/brush_select.[ch]
      	* app/colormap_dialog.[ch]
      	* app/context_manager.c
      	* app/devices.c
      	* app/gimpbrush.c
      	* app/gimpcontext.c
      	* app/gimpdnd.c
      	* app/info_window.c
      	* app/lc_dialog.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/tools/by_color_select.c
      	* app/tools/paintbrush.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* po/POTFILES.in: changed accordingly.
      1994facc
    • Nick Lamb /GIMP's avatar
      4f89fdde
  23. 03 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · c46bdc37
      Michael Natterer authored
      2001-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpset.[ch]: removed.
      
      	* app/gimpcontainer.[ch]: some minor fixes, cleanup.
      
      	* app/context_manager.[ch]: made the "image_context" a GimpContainer
      	and moved it here...
      
      	* app/appenv.h
      	* app/main.c: ...from here.
      
      	* app/app_procs.c
      	* app/colormap_dialog.[ch]
      	* app/commands.c
      	* app/gimage.c
      	* app/gimpcontext.c
      	* app/gimpimage.c
      	* app/info_window.c
      	* app/lc_dialog.c
      	* app/lut_funcs.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/paths_dialog.c
      	* app/pixel_region.c
      	* app/scale.c
      	* app/scroll.c
      	* app/selection.c
      	* app/temp_buf.c
      	* app/undo.c
      	* app/pdb/procedural_db.c
      	* app/tools/by_color_select.c
      	* app/tools/clone.c
      	* app/tools/color_balance.c
      	* app/tools/color_picker.c
      	* app/tools/convolve.c
      	* app/tools/crop.c
      	* app/tools/curves.c
      	* app/tools/paint_core.c
      	* app/tools/transform_core.c: s/GimpSet/GimpContainer/g, removed
      	many useless #include "appenv.h".
      
      	* app/gimpdrawablepreview.c
      	* app/gdisplay.c: found two badly crashing bugs i have introduced
      	with my last changes here.
      c46bdc37
  24. 01 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimpchannel.[ch] new files moved here by Yosh. · dde74f97
      Michael Natterer authored
      2001-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpchannel.[ch]
      	* app/gimplayer.[ch]: new files moved here by Yosh.
      
      	* app/channel.[ch]
      	* app/layer.[ch]: removed.
      
      	* app/gdisplay.c: cleanup stuff.
      
      	* app/[lotsa files].c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed includes accordingly.
      dde74f97
  25. 28 Jan, 2001 2 commits
    • Michael Natterer's avatar
      removed the "Layer" typedef. · a2ae989f
      Michael Natterer authored
      2001-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h: removed the "Layer" typedef.
      
      	* app/layer.[ch]: removed the defines of the old function names.
      
      	Don't implement methods of the parent class (get_name, get_tattoo, ...)
      	but define them as macros. They will go to a separate "pdb_glue.h"
      	header because they are used only by the PDB to simplify code
      	generation (no application file should say gimp_layer_get_tattoo()
      	but always gimp_drawable_get_tatoo()).
      
      	* app/channel.h
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/disp_callbacks.c
      	* app/floating_sel.[ch]
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimage_mask.h
      	* app/gimpdnd.c
      	* app/gimpdrawable.h
      	* app/gimpimage.[ch]
      	* app/gimplayermask.h
      	* app/global_edit.c
      	* app/image_new.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/resize.c
      	* app/undo.c
      	* app/xcf.[ch]
      	* app/pdb/drawable_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/tools/bucket_fill.c
      	* app/tools/by_color_select.c
      	* app/tools/clone.c
      	* app/tools/crop.c
      	* app/tools/edit_selection.c
      	* app/tools/ink.c
      	* app/tools/move.c
      	* app/tools/paint_core.c
      	* app/tools/rect_select.c
      	* app/tools/text_tool.c
      	* app/tools/transform_core.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly, cleanup.
      a2ae989f
    • Michael Natterer's avatar
      app/Makefile.am new files cut out of layer.[ch]. Renamed all functions to · 8ddebdf7
      Michael Natterer authored
      2001-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimplayermask.[ch]: new files cut out of layer.[ch]. Renamed
      	all functions to gimp_layes_mask_*(). removed artefacts like
      	the ref/unref functions.
      
      	* app/apptypes.h: removed the "LayerMask" typedef.
      
      	* app/layer.[ch]: removed the layer mask stuff and renamed all
      	functions to gimp_layer_*(). Added temporary typedefs for the old
      	function names. The layer mask preview stuff is still there (should
      	probably go to new layer_preview.{ch] files).
      
      	* app/gimpimage.[ch]: added
      	gimp_image_invalidate_[layer|channel]_previews() formerly known as
      	[layer|channel]_invalidate_previews().
      
      	* app/channel.[ch]: moved channel_layer_alpha() and
      	channel_layer_mask() here because they are methods of the Channel.
      
      	* app/channel_ops.c
      	* app/convert.c
      	* app/disp_callbacks.c
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimpdnd.c
      	* app/global_edit.c
      	* app/layers_dialog.c
      	* app/preferences_dialog.c
      	* app/toolbox.c
      	* app/undo.c
      	* app/xcf.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/tools/crop.c
      	* app/tools/text_tool.c
      	* app/tools/transform_core.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly, cleanup.
      8ddebdf7
  26. 24 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added the new library below. · 7a4260da
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added the new library below.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolorbutton.[ch]
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimphelpui.[ch]
      	* libgimpwidgets/gimppatheditor.[ch]
      	* libgimpwidgets/gimppixmap.[ch]
      	* libgimpwidgets/gimpquerybox.[ch]
      	* libgimpwidgets/gimpsizeentry.[ch]
      	* libgimpwidgets/gimpunitmenu.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgetstypes.h: new shared library.
      
      	Currently there are some ugly dependencies into libgimp. These
      	will be removed and go to a "libgimpglue" library which will be
      	a library for functions which share a common interface between
      	plug-ins and the app but have different implementations.
      
      	Include "libgimp/gimpunit.h" from "libgimpwidgets/gimpwidgetstypes.h"
      	to simulate this upcoming separation.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchainbutton.[ch]
      	* libgimp/gimpcolorarea.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: removed from here.
      
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/makefile.mingw.in
      	* libgimp/makefile.msc: changed accordingly.
      
      	* app/[all ui files]
      	* app/pdb/palette_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/tools.pdb: #include "libgimpwidgets/gimpwidgets.h"
      	and removed useless includes.
      
      	* app/apptypes.h: #include "libgimpwidgets/gimpwidgetstypes.h"
      
      	* app/Makefile.am
      	* plug-ins/[all makefiles which link against libgimpui]:
      	link against libgimpwidgets.la
      
      	* po-libgimp/POTFILES.in: changed file locations.
      7a4260da
  27. 23 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added stuff for the new library below. · cb166972
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added stuff for the new library below.
      
      	* libgimpmath/.cvsignore
      	* libgimpmath/Makefile.am
      	* libgimpmath/gimpmath.def
      	* libgimpmath/gimpmath.h
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpmatrix.c
      	* libgimpmath/gimpmatrix.h
      	* libgimpmath/gimpvector.c
      	* libgimpmath/gimpvector.h
      	* libgimpmath/makefile.mingw.in
      	* libgimpmath/makefile.msc: new shared library. Depends on glib only.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.def
      	* libgimp/gimp.h: removed the math stuff.
      
      	* libgimp/gimpmath.h
      	* libgimp/gimpmatrix.[ch]
      	* libgimp/gimpvector.[ch]: removed.
      
      	* app/Makefile.am
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/pagecurl/Makefile.am: link against libgimpmath.la
      
      	* app/[many files]
      	* libgimpcolor/gimpcolorspace.c
      	* libgimpcolor/gimprgb.c
      	* libgimp/gimpadaptivesupersample.c
      	* libgimp/gimpbilinear.c
      	* libgimp/gimpwidgets.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c
      	* plug-ins/libgck/gck/gckcolor.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
      	removed the remaining includes of the old color stuff.
      cb166972