1. 01 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/main.c moved "message_handler" from here... · f77c7ade
      Michael Natterer authored
      2001-12-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/main.c
      	* app/appenv.h: moved "message_handler" from here...
      
      	* app/core/gimp.[ch]: ...to here. Added gimp_message() and a
      	"gui_message_func" pointer...
      
      	* app/gui/gui.c: ...which gets set here to gui_message().
      
      	* app/errors.c: don't include any gui stuff but simply call
      	gimp_message().
      
      	* app/app_procs.c: don't set "message_handler" here, it's done in
      	gui.c now.
      
      	* app/gui/error-console-dialog.[ch]: use gimp->message_handler.
      
      	* app/gui/dialogs-constructors.c: pass a Gimp pointer to
      	error_console_create().
      
      	* app/widgets/gimpwidgets-utils.[ch]: made the "message" parameter
      	of gimp_message_box() a const gchar*, not just gchar*.
      
      	* tools/pdbgen/pdb/message.pdb: use gimp->message_handler, don't
      	include "appenv.h".
      
      	* app/pdb/message_cmds.c: regenerated.
      
      	* app/devices.[ch]: cleanup before chopping: removed global
      	variable "current_device", added devices_get_current(), pass lots
      	of Gimp pointers around.
      
      	* app/gimprc.c: pass a Gimp pointer to devices_rc_update().
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/toolbox.c
      	* app/tools/gimppainttool.c: use devices_get_current(), pass Gimp
      	pointers to all devices_foo() functions.
      
      	* app/core/gimpimage-mask.c: no need to include "pdb/pdb-types.h".
      f77c7ade
  2. 28 Nov, 2001 2 commits
    • Michael Natterer's avatar
      s/gimage_mask/gimp_image_mask/g · f7bbdc3e
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-mask.[ch]: s/gimage_mask/gimp_image_mask/g
      
      	* app/floating_sel.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-mask-select.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/display/gimpdisplayshell-qmask.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/select-commands.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpchannellistview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/selection_cmds.c: regenerated.
      f7bbdc3e
    • Michael Natterer's avatar
      include the new "paint-funcs/paint-funcs-types.h". · 6cf34005
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-types.h: include the new
      	"paint-funcs/paint-funcs-types.h".
      
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs-types.h: new file. Includes
      	"base/base-types.h".
      
      	* app/paint-funcs/paint-funcs.[ch]: removed the enums here,
      	include "paint-funcs-types.h".
      
      	* app/widgets/widgets-types.h: include "display/display-types.h"
      
      	* app/display/display-types.h: include "widgets/widgets-types.h".
      
      	* app/tools/tools-types.h: include "display/display-types.h"
      
      	* app/gui/gui-types.h: include "tools/tools-types.h".
      
      	The order of namespaces/dependencies should be (but is not):
      
      	(base, paint-funcs) -> (core, file, xcf, pdb) ->
      	(widgets, display) -> tools -> gui
      
      	* app/path.c: include "tools/tools-types.h".
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-guides.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-scale.[ch]: new files.
      
      	* app/core/gimpimage.[ch]: removed the stuff which is in the new
      	files. Reordered all functions in both the .h and .c files,
      	commented the groups of functions.
      
      	* app/core/gimpcontainer.c: create the handler_id using a counter,
      	not the address of a pointer, because the address *may* be the
      	same twice, added debugging output.
      
      	* app/core/gimpviewable.[ch]: added primitive support for getting
      	a preview GdkPixbuf.
      
      	* app/nav_window.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.[ch]
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-import-dialog.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/xcf/xcf-load.c: changed accordingly, some cleanup.
      
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly, reordered functions.
      
      	* app/plug_in.c: set the labels of the "Repeat" and "Re-Show" menu
      	items to the name of the last plug-in (Fixes #50986).
      
      	* app/display/gimpdisplayshell.[ch]: set the labels of "Undo" and
      	"Redo" to the resp. undo names. Much simplified the WM icon stuff
      	by removing most code and using gimp_viewable_get_new_preview_pixbuf().
      
      	* app/widgets/gimpbrushfactoryview.c: forgot to assign the GQuark
      	returned by gimp_container_add_handler().
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c
      	* libgimp/gimpimage_pdb.[ch]: regenerated.
      6cf34005
  3. 16 Nov, 2001 1 commit
    • Rebecca Walter's avatar
      app/core/gimpcontext.c app/core/gimpdatafactory.c · 46b7fdb8
      Rebecca Walter authored
      2001-11-16  Rebecca Walter  <rjp@mail.tele.dk>
      
              * app/core/gimpcontext.c
              * app/core/gimpdatafactory.c
              * app/core/gimpdrawable-bucket-fill.c
              * app/core/gimpdrawable.c
              * app/core/gimpgradient.c
              * app/core/gimpimage-convert.c
              * app/core/gimpimage-mask.c
              * app/core/gimpimage.c: Extensive proofreading of messages and
              warnings.  Improved standardization of string format and content.
      46b7fdb8
  4. 22 Oct, 2001 1 commit
    • Michael Natterer's avatar
      General cleanup of the selection tools and their PDB wrappers: · 99e78c70
      Michael Natterer authored
      2001-10-22  Michael Natterer  <mitch@gimp.org>
      
      	General cleanup of the selection tools and their PDB wrappers:
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-contiguous-region.[ch]
      	* app/core/gimpimage-mask-select.[ch]: new files providing a clean,
      	uniform API for the selection functionalities. Changed order of
      	parameters to be consistent, removed code duplication.
      
      	The region returned by the "by_color" function is not really
      	contiguous but the API is so similar to "by_seed" and it's used
      	in the same context so it's fair enough to put them together.
      
      	Also, I'm not sure if the two is_pixel_sufficiently_different()
      	I've optimized away were meant to do *exactly* the same. Added
      	a comment there to remember the former difference.
      
      	* app/core/gimpchannel.[ch] (gimp_channel_feather): removed the
      	"output" channel parameter and made it optionally push an undo
      	(like the other channel operations do).
      
      	* app/core/gimpimage-mask.c: call gimp_channel_feather() with
      	"push_undo == TRUE", removed some useless comments.
      
      	* app/tools/gimpbycolorselecttool.[ch]
      	* app/tools/gimpellipseselecttool.[ch]
      	* app/tools/gimpfreeselecttool.[ch]
      	* app/tools/gimpfuzzyselecttool.[ch]
      	* app/tools/gimprectselecttool.[ch]: removed all the actual
      	selection functionality and call the new gimp_image_mask_select_*()
      	and gimp_image_contiguous_region_*() functions instead.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpiscissorstool.c: use new function
      	gimp_image_mask_select_channel() instead of doing the same manually.
      
      	* app/tools/gimpbucketfilltool.c: find_contiguous_region() ->
      	gimp_image_contiguous_region_by_seed().
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/selection_tools.pdb: added new group "Selection
      	Tools" which depends only on "core/" stuff (not on "tools/" any
      	more, brrrr).
      
      	* tools/pdbgen/pdb/text_tool.pdb: don't include "appenv.h"
      
      	* tools/pdbgen/pdb/tools.pdb: removed the selection tools.
      
      	* app/pdb/Makefile.am
      	* app/pdb/selection_tools_cmds.c: new file.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpselectiontools_pdb.[ch]: new files.
      
      	* libgimp/gimptools_pdb.[ch]: regenerated
      
      	Misc cleanups:
      
      	* app/app_procs.c: call splash_create() with "no_splash_image"
      	as parameter.
      
      	* app/display/gimpdisplay-render.c
      	* app/display/gximage.c: don't include "appenv.h".
      
      	* app/gui/gui.c: call session_restore() only if "restore_session"
      	is TRUE.
      
      	* app/gui/session.c: don't "if(restore_session)" here and don't
      	include "appenv.h"
      
      	* app/gui/splash.[ch]: added "gboolean show_image" parameter to
      	splash_create(), don't include "appenv.h"
      
      	* app/tools/gimppainttool.[ch]: added a "GimpGradient" parameter
      	to gimp_paint_tool_get_color_from_gradient().
      
      	* app/tools/gimppaintbrushtool.c: pass the gradient.
      
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c: s/GDisplay/GimpDisplay/.
      
      	* app/widgets/gimpcontainergridview.[ch]: removed the "white_style"
      	class variable and don't fiddle around with colors and styles...
      
      	* themes/Default/gtkrc: ...do the same here with a simple rc style.
      99e78c70
  5. 25 Sep, 2001 1 commit
    • 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. 22 Sep, 2001 1 commit
    • Hans Breuer's avatar
      need to link with pangof2 · c2f9c198
      Hans Breuer authored
      2001-09-22  Hans Breuer  <hans@breuer.org>
      
      	* app/makefile.msc : need to link with pangof2
      
      	* app/display/display-funcs.h : new file to provide prototype
      	gdisplays_selection_visibility ()
      	* app/core/gimpimage-mask.c :
      	* app/core/gimplayer.c : use it
      
      	* app/core/makefile.msc : generate gimpmarshal.[hc]
      
      	* app/gui/makefile.msc : add error-console-dialog.obj, also
      	more trying for building as dll
      
      	* app/tools/gimpinktool.c(965) : avoid "fatal error C1021: invalid
      	preprocessor command 'warning'", by wrapping it in #ifdef __GNUC__
      
      	* app/tools/makefile.msc : add FREETYPE2_CFLAGS
      
      	* app/widgets/gimpfontselction-dialog.c : use g_strcasecmp ()
      
      	* app/tools/makefile.msc : add FREETYPE2_CFLAGS and gimpfontselction*
      
      	* libgimp/gimp.def :
      	* libgimpwidgets/gimpwidgets.def : updated externals
      
      	* libgimpwidgets/makefile.msc : add gimpstock
      
      	* plug-ins/makefile.msc : gflare doesn't require EXTRA_gflare anymore
      
      	* plug-ins/common/spheredesigner.c :
      	* plug-ins/helpbrowser/helpbrowser.c :
      	* plug-ins/imagemap/imap_main.c :
      	remove _help_accel from gimp_help_connect ()
      
      	* plug-ins/gap/gap_mov_dialog.c :
      	* plug-ins/gap/gap_navigator_dialog.c : remove references to
      	use_xshm and gimp_color_cube ()
      
      	* plug-ins/gfig/gfig.c : don't access ->klass, but use
      	G_OBJECT_GET_CLASS
      
      	* plug-ins/gimpressionist/repaint.c : the GtkButton::child
      	field is moved to the parent GtkBin.
      
      	* plug-ins/ifscompose/ifscompose.c : the GtkStyle::font field
      	isn't public anymore, use accessor gtk_style_get_font ()
      
      	* plug-ins/imagemap/imap_preferences.c : reflect GTK2 API change
      	gtk_notebook_set_current_page ()
      c2f9c198
  7. 17 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added app/display/ and app/plug-in/. Empty for now except for the types · 01b780d6
      Michael Natterer authored
      2001-08-17  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added app/display/ and app/plug-in/. Empty for
      	now except for the types files.
      
      	* app/Makefile.am
      	* app/appenums.h
      	* app/apptypes.h: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/gui/Makefile.am
      	* app/gui/gui-types.h
      	* app/pdb/Makefile.am
      	* app/pdb/pdb-types.h: new files for typedefs.
      
      	* app/appenv.h: added MessageHandlerType and StackTraceMode here.
      
      	* app/undo_types.h: moved undo struct typedefs here.
      
      	* app/tools/tools-types.h
      	* app/core/core-types.h: added some enums and Tattoo here
      	(renamed to GimpTattoo).
      
      	* app/gdisplay.h: temp_hack: #include "display/display-types.h"
      
      	* app/gimphelp.c: s/gtk_idle_add/g_idle_add/
      
      	* app/gimprc.c: don't use "gimprc" in token handlers but the
      	passed "val1p" and "val2p".
      
      	* app/image_map.[ch]: cleanup in preparation of making a GObject
      	out of it.
      
      	* app/base/pixel-region.[ch]: no need to pass the
      	PixelRegionIterator around as void pointer.
      
      	* app/core/gimp.[ch]
      	* app/core/gimpcontext.[ch]
      	* app/core/gimptoolinfo.[ch]
      	* app/tools/tool_manager.c
      	* app/widgets/gimpdnd.c: added the standard_tool_info to the Gimp
      	object.
      
      	* app/batch.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/file-utils.c
      	* app/interface.c
      	* app/main.c
      	* app/path.[ch]
      	* app/pathP.h
      	* app/plug_in.h
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/gui/color-area.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/error-console-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/indicator-area.c
      	* app/gui/info-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/session.c
      	* app/gui/splash.c
      	* app/gui/view-commands.c
      	* app/tools/gimpinktool-blob.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimppreview.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c: changed accordingly: s/Tattoo/GimpTattoo/, include
      	the new types files, include <glib-object.h> instead of >gtk/gtk.h>.
      	Bad hacks to get rid of SELECTION_OFF and friends in core/ (will
      	be replaced ba a signal soon).
      
      	* tools/pdbgen/Makefile.am: changed list of headers scanned for
      	enums accordingly.
      
      	* app/pdb/procedural_db.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: same fixes as above, added
      	hacks to ensure that all foo-types.h files are included before all
      	other gimp internal includes, include "pdb-types.h" unconditionally.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/*_cmds.c: regenerated.
      01b780d6
  8. 14 Aug, 2001 1 commit
    • Michael Natterer's avatar
      an evil temp_hack which lets GimpContext managing the active display · e2daae31
      Michael Natterer authored
      2001-08-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.h: an evil temp_hack which lets GimpContext managing
      	the active display withoug including "gdisplay.h". Will go away as
      	soon ad context properties are registered dynamically.
      
      	* app/module_db.c: cleaned up the object code in preparation of
      	moving it to core/.
      
      	* app/path.c: connect to GimpImage's
      
      	* app/core/gimpobject.[ch]: derive it from GObject, not from
      	GtkObject any more (yeah :-)
      
      	* app/core/*.c: #include <glib-object.h> instead of <gtk/gtk.h>,
      	removed some remaining GtkObject-isms.
      
      	(left in a few #include <gtk/gtk.h> where bigger changes are needed
      	to get rid of the UI dependency).
      
      	* app/core/core-types.h: #include <gdk-pixbuf/gdk-pixbuf.h> here
      	temporarily.
      
      	* app/core/gimp.c (gimp_create_display): unref the image after
      	creating it's first display.
      
      	* app/core/gimpbrush.[ch]: disabled the parts of the code which
      	depend on GimpPaintTool.
      
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c: changed accordingly.
      
      	* app/core/gimpcontext.[ch]: evil hack (see above) to manage the
      	active display without including "gdisplay.h"
      
      	* app/core/gimpimage-mask.[ch]: pass a context to
      	gimage_mask_stroke() and get the current tool's PDB string from
      	there.
      
      	* app/core/gimpedit.c: changed accordingly.
      
      	* app/core/gimpimage.c: use gimp_image_update() instead of
      	gdisplays_update_full().
      
      	* app/gui/color-area.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/image-commands.c
      	* app/gui/toolbox.c: changed accordingly (don't use Gtk methods on
      	GObjects).
      
      	* app/gui/menus.c: fix some const warnings by explicit casting.
      
      	* app/tools/*.[ch]: ported all tools to GObject, some minor
      	cleanup while i was on it.
      
      	* app/widgets/gimpdialogfactory.[ch]: ported to GObject.
      
      	* app/widgets/gimplayerlistview.h: added FOO_GET_CLASS() macro.
      
      	* tools/pdbgen/app.pl: added a "widgets_eek" hack like "tools_eek"
      	which inserts #include "widgets/widgets-types.h" before ordinary
      	includes.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/edit_cmds.c: changed according to the stuff above.
      e2daae31
  9. 17 Jul, 2001 1 commit
    • Michael Natterer's avatar
      removed path_to_beziersel() so this file can be safely included from · b844c985
      Michael Natterer authored
      2001-07-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/path.[ch]: removed path_to_beziersel() so this file can be
      	safely included from core/.
      
      	* app/tools/gimpbezierselecttool.[ch]: added it here.
      
      	* app/core/core-types.h: added a GimpToolOptions typedef. Removes
      	deps into tools/ and will later be a core object anyway.
      
      	* app/tools/tools-types.h: removed the ToolOptions typedef here.
      
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage.c
      	* app/core/gimptoolinfo.[ch]: removed deps into tools/, misc stuff.
      
      	* app/tools/tool_manager.[ch]: some ugly temp hacks. Please ignore.
      
      	* app/widgets/gimpdialogfactory.[ch]: added a "remember_if_open" field
      	to the GimpDialogFactoryEntry so we can manage dialogs which should
      	not be re-opened on startup.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c: register & create all editor dialog with the
      	"global_dialog_factory".
      
      	* app/gui/tool-options-dialog.c
      	* app/tools/*: s/ToolOptions/GimpToolOptions/
      b844c985
  10. 07 Jul, 2001 2 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
      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
  11. 04 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h added an "application object" · 01645960
      Michael Natterer authored
      2001-07-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimp.[ch]: added an "application object" called Gimp.
      
      	Currently, it contains the image list, the clipboard, the data
      	factories, the procedural hashtable and the tool info list.  It's
      	the toplevel object of the core object system. Finally, creating a
      	Gimp object will return a standalone gimp core engine instance
      	with no other global states/variables involved.
      
      	* app/app_procs.[ch]: allocate a "Gimp" instance called "the_gimp" :)
      	Removed stuff which is now done by the "Gimp" object. Merged
      	gimp_init() into app_init() because gimp_init() is taken now.
      
      	* app/context_manager.[ch]: removed stuff done by "Gimp".
      
      	* app/batch.[ch]
      	* app/gimage.[ch]
      	* app/xcf/xcf-load.[ch]
      	* app/xcf/xcf.[ch]
      	* app/core/gimpedit.[ch]
      	* app/tools/tool_manager.[ch]: pass around an additional "Gimp"
      	argument.
      
      	* app/pdb/procedural_db.[ch]: pass a "Gimp" pointer as first
      	parameter to all internal procedures and to all procedural_db_*
      	functions.
      
      	* app/core/gimpcontext.[ch]
      	* app/core/gimpimage.[ch]: added a "Gimp" pointer to the structs.
      
      	* app/devices.c
      	* app/errors.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/gimphelp.c
      	* app/gimpunit.c
      	* app/image_new.c
      	* app/main.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/base/base.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimptoolinfo.[ch]
      	* app/gui/brush-select.c
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.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/test-commands.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimppainttool.h
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.h
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpcursor.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpimagedock.c: changed accordingly. Cleaned up
      	lots of includes. Many files still access the global "the_gimp"
      	variable exported by app_procs.h.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly. Don't
      	use "the_gimp" here because all procedures get passed a "Gimp"
      	pointer now.
      
      	* app/pdb/*: regenerated.
      01645960
  12. 20 Jun, 2001 1 commit
    • Michael Natterer's avatar
      same gdisplays_update_full() fix as in the stable branch. Removed lots of · d0fe8f45
      Michael Natterer authored
      2001-06-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.c: same gdisplays_update_full() fix as in the
      	stable branch. Removed lots of commented out code and comments
      	about whether the code should be commented out or not.
      
      	* app/core/gimpimage-mask.c: tried to fix it here first an ended
      	up with a little cleanup.
      d0fe8f45
  13. 18 Jun, 2001 1 commit
    • Michael Natterer's avatar
      major cleanup. After being finished, I decided that it needs to be · 3ef20cd8
      Michael Natterer authored
      2001-06-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/nav_window.[ch]: major cleanup. After being finished, I
      	decided that it needs to be factored out to a widget (see below),
      	so like 90% of this file will go away soon.
      
      	* app/apptypes.h: added opaque NavigationDialog typedef.
      
      	* app/gdisplay.[ch]: Added gdisplay_selection_visibility() which
      	is called from gdisplays_selection_visibility(). Capitalized the
      	SelectionControl enum values. Cleaned up the GDisplay struct and
      	it's initialisation while i was on it.
      
      	* app/gimage.c: gimage_size_changed_handler(): removed stuff which
      	is now done by GimpImage itself.
      
      	* app/scale.c
      	* app/scroll.c: also update the navigation popup, not only the
      	dialog.
      
      	* app/selection.[ch]: major indentation & cleanup attack. Maybe
      	found the "Selection vanishes" bug (the timeout id was assinged to
      	a gint, not a _guint_).
      
      	* app/undo.c: s/gimp_image_size_changed/gimp_viweable_size_changed/
      
      	* app/core/gimpdrawable.c: invalidate the image's preview from our
      	"invalidate_preview" implementation. This means that the image's
      	preview is invalidated way too often currently, which cries for
      	some general freeze/thaw mechanism on the GimpViewable level.
      	(Note that previews are rendered in the idle loop, so this is not
      	really a major performance impact, it's just ugly).
      
      	* app/core/gimpimage.[ch]: removed the "size_changed" signal...
      
      	* app/core/gimpviewable.[ch]: ...and added it here.
      
      	* app/core/gimplayer.c: invalidate_preview(): always chain up,
      	also if it's a floating selection.
      
      	* app/gui/info-dialog.[ch]
      	* app/gui/info-window.c: minor cleanups.
      
      	* app/gui/preferences-dialog.c: no need to invalidate the image
      	after we have invalidated all it's layers.
      
      	* app/core/gimpimage-mask.c
      	* app/gui/commands.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c: capitalized the SelectionCommand enum
      	values.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpnavigationpreview.[ch]: new widget.
      
      	* app/widgets/gimppreview.[ch]: added a non-working
      	non-dot-for-dot mode. Added xres/yres params to the
      	gimp_preview_calc_size() helper function.
      
      	Cache the "size" value which was passed to the simple function
      	variants (gimp_preview_new() and gimp_preview_set_size()) so we
      	can re-calculate the preview's extents on the underlying
      	viewable's "size_changed" signal and on gimp_preview_set_viewable().
      
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimpimagepreview.c: changed accordingly.
      3ef20cd8
  14. 31 May, 2001 1 commit
    • Dave Neary's avatar
      app/core/gimpimage.[ch] app/core/gimpimage-mask.c · 109abaee
      Dave Neary authored
      
      2001-05-31  Dave Neary  <dneary@eircom.net>
      
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimage-mask.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/undo.c: Added a "mask_changed" signal, to allow
      	gimpbycolorselect to update it's dialog properly, and take out a
      	silly dependency in gimpimage.
      
      	One outstanding issue is that now the dialog doesn't close
      	automatically when the tool context changes. Working on it :)
      109abaee
  15. 21 May, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added new directory libgimpbase/ · 7d1375e9
      Michael Natterer authored
      2001-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool-1.4.in: added new directory libgimpbase/
      
      	* app/Makefile.am: link against the new lib.
      
      	* app/appenums.h: removed the PDB enums which are in
      	libgimpbase/gimpbasetypes.h now. They are all "Gimp" prefixed.
      
      	* app/apptypes.h: #include "libgimpbase/gimpbasetypes.h"
      
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/tools/: changed includes and all PDB types.
      
      	* app/pdb/*: regenerated.
      
      	* libgimp/Makefile.am: don't build libgimpi.a uglyness any more.
      
      	* libgimp/gimpenv.[ch]
      	* libgimp/gimplimits.[hh]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimpparasiteio.[ch]
      	* libgimp/gimpprotocol.[ch]
      	* libgimp/gimpsignal.[ch]
      	* libgimp/gimpunit.h
      	* libgimp/gimputils.[ch]
      	* libgimp/gimpwire.[ch]: removed...
      
      	* libgimpbase/*: ...and added here as new library.
      
      	* libgimp/gimp.[ch]
      	* libgimp/gimpdrawable.[ch]
      	* libgimp/gimpenums.h
      	* libgimp/gimpimage.[ch]
      	* libgimp/gimptile.c
      	* libgimp/gimptypes.h
      	* libgimp/gimpunit.c: changed accordingly. Added the
      	gimp_*_add_new_parasite to gimp.[ch], gimpdrawable.[ch] and
      	gimpimage.[ch].
      
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.c
      	* libgimpwidgets/gimpwidgetstypes.h: changed includes accordingly.
      
      	* plug-ins/*/Makefile.am
      	* plug-ins/common/mkgen.pl: link against libgimpbase.
      
      	* tools/pdbgen/Makefile.am: scan libgimpbase/gimpbasetypes.h, so
      	the enums are known to pdbgen...
      
      	* tools/pdbgen/enumcode.pl: ...but don't write them out to
      	libgimp/gimpenums.h
      
      	* tools/pdbgen/app.pl: include libgimp/gimpbase.h in all *_cmds.c
      	files. Added GIMP_ to the type names ganerated in app/.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/unit.pdb: changed includes.
      7d1375e9
  16. 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
  17. 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
  18. 08 May, 2001 1 commit
    • Michael Natterer's avatar
      new signal "floating_selection_changed", removed ancient declaration of · f63cd1d9
      Michael Natterer authored
      2001-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpimage.[hc]: new signal "floating_selection_changed",
      	removed ancient declaration of _GimpImageRepaintArg.
      
      	* app/floating_sel.c
      	* app/undo.c: emit "floating_selection_changed" where approptiate.
      
      	* app/gimage_mask.c: s/"Floated Layer"/"Floating Selection"/
      	because we view this layer directly now (not some thing with an
      	"L" icon).
      
      	* app/gui/layers-commands.c: don't use confusing boolean variables
      	which indicate that something is not true (reversed their logic).
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpchannellistitem.[ch]: new widget. Does nothing yet.
      
      	* app/widgets/gimpchannellistview.c: set the button box
      	insensitive when there is a floating selection.
      
      	* app/widgets/gimpdrawablelistitem.c: made channel DND work again.
      	Very ugly btw.
      
      	* app/widgets/gimpdrawablelistview.c: connect to
      	"floating_selection_changed". Fake a change of the active drawable
      	so the button boxes get updated correctly.
      
      	* app/widgets/gimplayerlistview.c: set the sensitivity of the
      	buttons correctly.
      
      	* app/widgets/gimplistitem.c: create GimpChannelListItems for
      	channels.  Some very ugly code to work around broken
      	GTK_STATE_INSENSITIVE propagation in list items.
      f63cd1d9
  19. 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
  20. 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
  21. 06 Mar, 2001 1 commit
    • Michael Natterer's avatar
      removed the layer mask functions. · af76f2bb
      Michael Natterer authored
      2001-03-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimage.[ch]: removed the layer mask functions.
      
      	* app/gimpchannel.[ch]: added a boolean "dummy" parameter to
      	gimp_channel_copy() so it has the same signature as
      	gimp_layer_copy() and can be used by the GimpDrawableListView to
      	generically duplicate drawables.
      
      	* app/gimpcontainerview.c: call "select_item" with a NULL item
      	before changing the underlying GimpContainer so subclasses have
      	a chance to update (e.g. set button sensitivity).
      
      	* app/gimpdnd.c: folded all the GtkType comparing code into a
      	utility function (much more readable now).
      
      	* app/gimpdrawablelistview.[ch]: activated the "raise", "lower",
      	"duplicate" and "delete". I'm not really happy with all those
      	function pointers passed to the constructor (and the dummy
      	parameters I've added to some GimpChannel functions) -- OTOH the
      	generic view maybe worth the "gboolean dummy" cruft hanging around
      	in the channel class.
      
      	* app/gimplayer.[ch]: removed the "apply_mask", "edit_mask" and
      	"show_mask" booleans ...
      
      	* app/gimplayermask.[ch]: .. and added them here together with
      	proper accessors and "*_changed" signals.
      
      	This also makes the layer mask undo code much clearer as we don't
      	have to store the booleans separately.
      
      	* app/gimplayerlistitem.c: badly hacked to acheive the correct
      	indicator being drawn around the active drawable. This needs
      	a new GimpPreview function for setting the border color.
      
      	* app/gimplistitem.c: smaller horizontal spacing.
      
      	* app/gimppreview.[ch]: added the "border_width" parameter also to
      	gimp_preview_set_size() so we can modify all previews the same way
      	after creation.
      
      	* app/layers_dialog.c: no need to push an undo group around
      	the "duplicate layer" code. Was this an artefact or did I miss
      	something here ???
      
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/gimage_mask.c
      	* app/gimpcontainergridview.c
      	* app/gimpcontainerlistview.c
      	* app/gimpdrawablelistitem.c
      	* app/gimpimage.[ch]
      	* app/qmask.c
      	* app/test_commands.c
      	* app/undo.c
      	* app/xcf.c
      	* app/pdb/channel_cmds.c
      	* tools/pdbgen/pdb/channel.pdb
      	* app/pdb/selection_cmds.c
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]
      	* tools/pdbgen/pdb/layer.pdb: commented out the layer mask accessors
      	from the perl code, so the functions temporarily disappeared all
      	over the place.
      
      	* plug-ins/Makefile.am: don't build XJT until the layer mask stuff
      	is back.
      
      	* pixmaps/eye.xpm: cropped it to it's minimal size.
      af76f2bb
  22. 04 Mar, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am app/apptypes.h new widget derived from · 9860ad1b
      Michael Natterer authored
      2001-03-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimplayerlistitem.[ch]: new widget derived from
      	GimpDrawableListItem (additionally displays the layer mask),
      
      	* app/gimplistitem.[ch]: added the preview_size to the struct so
      	subclasses can create previews at arbitrary times. Removed the
      	"preview_size" parameter from "set_viewable".
      
      	* app/gimpimage.[ch]: removed the layer mask functions because
      	they belong to GimpLayer.
      
      	* app/gimplayer.[ch]: folded the layer mask code from GimpImage
      	into GimpLayer's layer mask functions. Added a "mask_changed"
      	signal which is emitted when a mask is added/removed. Added
      	"push_undo" parameters to the functions so we can use them from
      	the undo system.
      
      	* app/undo.c: instead of badly poking the GimpLayer struct, use
      	the accessors with push_undo = FALSE.
      
      	* app/gimage_mask.c
      	* app/gimpdrawablelistitem.c
      	* app/layers_dialog.c
      	* app/xcf.c
      	* app/pdb/image_cmds.c
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      9860ad1b
    • Michael Natterer's avatar
      new function gimp_drawable_set_visible(). Renamed gimp_drawable_visible() · 65235b91
      Michael Natterer authored
      2001-03-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdrawable.[ch]: new function gimp_drawable_set_visible().
      	Renamed gimp_drawable_visible() to gimp_drawable_get_visible().
      	Added a "visibility_changed" signal.
      
      	* app/gimplistitem.[ch]: new virtual function "set_viewable"
      	which allows subclasses to connect to the viewable's signals.
      
      	* app/gimpdrawablelistitem.[ch]: added an eye button. Implement
      	"set_viewable" to connect to the "visibility_changed" signal.
      
      	* app/gimpchannel.[ch]: removed unused function
      	gimp_channel_toggle_visibility().
      
      	* app/channels_dialog.c
      	* app/floating_sel.c
      	* app/gimage_mask.c
      	* app/gimpimage.c
      	* app/gimplayer.c
      	* app/layers_dialog.c
      	* app/xcf.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/pdb_glue.h
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: removed direct access of
      	drawable->visible and use the functions instead. Also makes PDB
      	code generation nicer.
      
      	* pixmaps/eye.xpm: cropped it a bit.
      65235b91
  23. 27 Feb, 2001 1 commit
  24. 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
  25. 14 Feb, 2001 1 commit
    • 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
  26. 04 Feb, 2001 1 commit
    • 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
  27. 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
  28. 29 Jan, 2001 2 commits
    • Michael Natterer's avatar
      removed channel_update() because channel.c should not call · df0bbb26
      Michael Natterer authored
      2001-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]: removed channel_update() because channel.c
      	should not call gdisplays_update(). Use drawable_update() and
      	a subsequent gdisplays_update() instead.
      
      	* app/qmask.c: do as described above.
      
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/disp_callbacks.c
      	* app/equalize.c
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimpdnd.c
      	* app/gimpdrawablepreview.c
      	* app/gimphistogram.c
      	* app/gimplayermask.c
      	* app/global_edit.c
      	* app/histogramwidget.c
      	* app/histogramwidget.h
      	* app/image_map.c
      	* app/image_new.c
      	* app/invert.c
      	* app/layer.c
      	* app/layer_select.c
      	* app/paths_dialog.c
      	* app/plug_in.c
      	* app/scan_convert.c
      	* app/undo_history.c
      	* app/xcf.c: include gimpdrawable.h instead of drawable.h where
      	possible, removed useless includes, minor other cleanups.
      df0bbb26
    • Michael Natterer's avatar
      app/Makefile.am new file. · 227eea67
      Michael Natterer authored
      2001-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/undo_history.h: new file.
      
      	* app/apptypes.h: removed the "Channel" typedef.
      
      	* app/channel.[ch]: renamed all functions to gimp_channel_*()
      
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gimage_mask.[ch]
      	* app/gimpdnd.c
      	* app/gimphistogram.c
      	* app/gimpimage.[ch]
      	* app/global_edit.c
      	* app/layer.c
      	* app/layers_dialog.c
      	* app/qmask.c
      	* app/scan_convert.c
      	* app/scan_convert.h
      	* app/toolbox.c
      	* app/undo.[ch]
      	* app/undo_history.c
      	* app/xcf.[ch]
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/pdb_glue.h
      	* app/pdb/selection_cmds.c
      	* app/pdb/tools_cmds.c
      	* app/tools/bezier_select.c
      	* app/tools/bezier_selectP.h
      	* app/tools/blend.c
      	* app/tools/bucket_fill.c
      	* app/tools/by_color_select.c
      	* app/tools/crop.c
      	* app/tools/ellipse_select.c
      	* app/tools/free_select.c
      	* app/tools/fuzzy_select.c
      	* app/tools/fuzzy_select.h
      	* app/tools/iscissors.c
      	* app/tools/rect_select.c
      	* app/tools/text_tool.c
      	* app/tools/transform_core.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      227eea67
  29. 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
  30. 23 Jan, 2001 1 commit
    • Sven Neumann's avatar
      app/convert.c app/floating_sel.c app/gimage_mask.c app/gimpimage.c · b102101e
      Sven Neumann authored
      2001-01-23  Sven Neumann  <sven@gimp.org>
      
      	* app/convert.c
      	* app/floating_sel.c
      	* app/gimage_mask.c
      	* app/gimpimage.c
      	* app/global_edit.c
      	* app/image_map.c
      	* app/image_new.c
      	* app/layer.c
      	* app/paint_funcs.c
      	* app/pixel_region.c
      	* app/tile_manager.c
      	* app/tile_manager.h
      	* app/tile_manager_pvt.h
      	* app/undo.c
      	* app/xcf.c
      	* app/pdb/tools_cmds.c
      	* app/tools/flip_tool.c
      	* app/tools/perspective_tool.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.c
      	* tools/pdbgen/pdb/tools.pdb: made all files execpt xcf.c use the
      	TileManager accessor functions instead of accessing the TileManager
      	struct directly.
      b102101e
  31. 22 Jan, 2001 1 commit
    • Sven Neumann's avatar
      configure.in app/Makefile.am moved all tool sources to app/tools · fafae590
      Sven Neumann authored
      2001-01-22  Sven Neumann  <sven@gimp.org>
      
              * configure.in
              * app/Makefile.am
              * app/tools/Makefile.am: moved all tool sources to app/tools
      
              * app/app_procs.c
              * app/brush_select.c
              * app/commands.c
              * app/context_manager.c
              * app/convert.c
              * app/cursorutil.c
              * app/devices.c
              * app/disp_callbacks.c
              * app/edit_selection.c
              * app/gdisplay.c
              * app/gimage.c
              * app/gimage_mask.c
              * app/gimpbrush.c
              * app/gimpbrushgenerated.c
              * app/gimpbrushpipe.c
              * app/gimpdnd.c
              * app/gimprc.c
              * app/global_edit.c
              * app/info_window.c
              * app/interface.c
              * app/menus.c
              * app/path.c
              * app/paths_dialog.c
              * app/paths_dialogP.h
              * app/scale.c
              * app/scroll.c
              * app/undo.c
              * app/pdb/color_cmds.c
              * app/pdb/text_tool_cmds.c
              * app/pdb/tools_cmds.c
              * po/POTFILES.in
              * tools/kernelgen.c
              * tools/pdbgen/Makefile.am
              * tools/pdbgen/enums.pl
              * tools/pdbgen/pdb/color.pdb
              * tools/pdbgen/pdb/text_tool.pdb
              * tools/pdbgen/pdb/tools.pdb: changed accordingly
      fafae590
  32. 21 Jan, 2001 1 commit
    • Sven Neumann's avatar
      changed destdir for app-side PDB wrappers to app/pdb · 6a31b131
      Sven Neumann authored
      2001-01-21  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: changed destdir for app-side PDB wrappers to
      	app/pdb
      
      	* app/Makefile.am: don't create libgimpim.a in app.
      
      	* configure.in
      	* app/pdb/Makefile.am
      	* app/pdb/internal_procs.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/pdb/*_cmds.c: moved PDB functions into their own subdirectory.
      
      	* app/internal_procs.[ch]
      	* app/procedural_db.[ch]
      	* app/*_cmds.c: removed here
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/bezier_select.c
      	* app/brush_select.c
      	* app/bucket_fill.c
      	* app/colormap_dialog.c
      	* app/fileops.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimphelp.c
      	* app/gradient_select.c
      	* app/info_window.c
      	* app/invert.c
      	* app/lc_dialog.c
      	* app/menus.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/plug_in.h
      	* app/text_tool.c
      	* app/xcf.c
      	* po/POTFILES.in: changed accordingly
      6a31b131
  33. 14 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/channel.[ch] app/drawable.[ch] app/gdisplay.[ch] app/gimpdrawable.[ch] · 3220f9ec
      Michael Natterer authored
      2001-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]
      	* app/drawable.[ch]
      	* app/gdisplay.[ch]
      	* app/gimpdrawable.[ch]
      	* app/layer.[ch]:
      
      	- Removed all "typedef drawable_function gimp_drawable_function".
      	- Renamed all *_get_ID() functions to *_get_by_ID().
      	- For symmetry reasons, renamed drawable_ID() to gimp_drawable_get_ID().
      	- Removed the *_get_ID() functions of GimpLayer, GimpLayerMask
      	  and GimpChannel.
      
      	* app/airbrush.c
      	* app/bezier_select.c
      	* app/blend.c
      	* app/brightness_contrast.c
      	* app/bucket_fill.c
      	* app/by_color_select.c
      	* app/clone.c
      	* app/color_balance.c
      	* app/color_picker.c
      	* app/convert.c
      	* app/convolve.c
      	* app/crop.c
      	* app/curves.c
      	* app/desaturate.c
      	* app/dodgeburn.c
      	* app/edit_selection.c
      	* app/eraser.c
      	* app/fileops.c
      	* app/flip_tool.c
      	* app/floating_sel.c
      	* app/fuzzy_select.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimphistogram.c
      	* app/gimpimage.c
      	* app/global_edit.c
      	* app/histogram_tool.c
      	* app/hue_saturation.c
      	* app/image_map.c
      	* app/ink.c
      	* app/invert.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/levels.c
      	* app/paint_core.c
      	* app/paintbrush.c
      	* app/pencil.c
      	* app/plug_in.c
      	* app/posterize.c
      	* app/scan_convert.c
      	* app/smudge.c
      	* app/text_tool.c
      	* app/threshold.c
      	* app/transform_core.c
      	* app/undo.c
      	* app/undo_history.c
      
      	* app/channel_cmds.c
      	* app/channel_ops_cmds.c
      	* app/color_cmds.c
      	* app/display_cmds.c
      	* app/drawable_cmds.c
      	* app/edit_cmds.c
      	* app/floating_sel_cmds.c
      	* app/image_cmds.c
      	* app/layer_cmds.c
      	* app/parasite_cmds.c
      	* app/selection_cmds.c
      	* app/text_tool_cmds.c
      	* app/tools_cmds.c
      	* libgimp/gimpdrawable_pdb.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/channel_ops.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      3220f9ec