1. 11 Jul, 2018 1 commit
  2. 09 Aug, 2013 1 commit
  3. 14 Feb, 2011 1 commit
    • Michael Natterer's avatar
      Bug 625167 - Problem exporting floating selections from within layer groups · 02477f55
      Michael Natterer authored
      Add "gboolean merge_active_group" to gimp_image_merge_visible_layers()
      and pass FALSE from the PDB wrapper so plug-in invoked layer merging
      always acts on the toplevel container as it did in 2.6. Do the same
      when opening an image as layer.
      
      Also, added a "Merge within active group only" toggle to the merge
      layers dialog and pass it down to the core, but default to TRUE here
      so.
      02477f55
  4. 21 Sep, 2009 1 commit
  5. 25 Aug, 2009 1 commit
  6. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  7. 06 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/core/gimpimage-merge.[ch] added GError parameters. · 0ed8370a
      Michael Natterer authored
      2007-12-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-convert.[ch]: added GError parameters.
      
      	* app/dialogs/convert-dialog.c
      	* app/actions/image-commands.c
      	* app/actions/vectors-commands.c: handle the returned error.
      
      	* tools/pdbgen/pdb/convert.pdb: pass the error.
      
      	* app/pdb/convert_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24276
      0ed8370a
  8. 09 Dec, 2006 1 commit
  9. 11 Jul, 2006 1 commit
  10. 07 Apr, 2006 1 commit
    • Sven Neumann's avatar
      allow to discard invisible layers as suggested in bug #337557. · e43b8ea0
      Sven Neumann authored
      2006-04-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-merge.[ch] (gimp_image_merge_visible_layers):
      	allow to discard invisible layers as suggested in bug #337557.
      
      	* app/actions/image-commands.c
      	* app/dialogs/image-merge-layers-dialog.[ch]: added a check button
      	to the Merge Visible Layers dialog to control the new feature.
      
      	* app/file/file-open.c
      	* tools/pdbgen/pdb/image.pdb: pass FALSE for the new parameter.
      
      	* app/pdb/image_cmds.c: regenerated.
      e43b8ea0
  11. 28 Mar, 2006 1 commit
  12. 14 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Get rid of the "current_context" which was in fact just a bunch of global · 18d9161e
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Get rid of the "current_context" which was in fact just a bunch of
      	global variables. Instead, pass the needed context all the way
      	from the GUI and the PDB to the core. This is a prerequisite for
      	macro recording and generally helps separating the various
      	subsystems from each other. Work in progress...
      
      	* app/core/gimp.[ch]: removed member "current_context" and
      	gimp_[get|set]_current_context().
      
      	* app/core/gimp-edit.[ch]
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpdrawable-bucket-fill.[ch]
      	* app/core/gimpdrawable-offset.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-crop.[ch]
      	* app/core/gimpimage-flip.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-rotate.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimagefile.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimpselection.[ch]
      	* app/core/gimptemplate.[ch]
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/text/gimptext-compat.[ch]
      	* app/text/gimptextlayer-transform.[ch]
      	* app/gui/brush-select.[ch]
      	* app/gui/font-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: added tons of "GimpContext *context"
      	parameters and use the passed context instead of
      	gimp_get_current_context().
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors.c
      	* app/gui/convert-dialog.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpthumbbox.c: pass gimp_get_user_context() or
      	GIMP_CONTEXT(tool_options) or whatever is the right context
      	to the changed core functions.
      
      	* tools/pdbgen/app.pl: pass "GimpContext *context" to all
      	generated PDB invokers.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: pass the new context
      	parameter to the changed core functions.
      
      	* app/pdb/*_cmds.c: regenerated.
      18d9161e
  13. 07 Nov, 2003 1 commit
    • Simon Budig's avatar
      New function that appends a duplicate of the source vectors strokes to the · 31f7e362
      Simon Budig authored
      2003-11-07 Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpvectors.[ch]: New function that appends a
      	duplicate of the source vectors strokes to the list of strokes
      	of a target vectors object.
      
      	* app/core/gimpimage-merge.[ch]
      	* app/core/core-enums.h: Use this new function to merge
      	the visible vectors in an Image. New Undo type for vectors merging.
      
      	* app/core/core-enums.c: regenerated.
      
      	* app/gui/vectors-menu.c
      	* app/gui/vectors-commands.[ch]
      	* app/widgets/gimphelp-ids.h: New Menu entry + callback to invoke
      	the merge functionality. New Help ID for the menu entry.
      31f7e362
  14. 17 Feb, 2003 1 commit
  15. 18 Mar, 2002 1 commit
    • Sven Neumann's avatar
      app/core/core-enums.h more enum cleanup (GimpOffsetType, MergeType). · fe96c955
      Sven Neumann authored
      2002-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h
      	* app/core/core-types.h: more enum cleanup (GimpOffsetType, MergeType).
      
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpimage-merge.[ch]
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      fe96c955
  16. 28 Nov, 2001 2 commits
    • 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
    • Michael Natterer's avatar
      app/core/Makefile.am new files. Changed function names to be consistent. · 9bac8faf
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-projection.[ch]: new files. Changed function
      	names to be consistent.
      
      	* app/core/gimpimage.[ch]: removed the projection stuff
      	here. Removed the gimp_image_composite_blah() functions becauee
      	they were just calling the resp. gimp_image_projection ones.
      
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimppalette-import.c
      	* app/undo.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/info-window.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpiscissorstool.c: changed accordingly.
      9bac8faf
  17. 27 Nov, 2001 1 commit
    • Sven Neumann's avatar
      configure.in app/Makefile.am app/config/gimpconfig.[ch] · 19e1acbc
      Sven Neumann authored
      2001-11-27  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-deserialize.[ch]: added new base class
      	GimpConfig that knows how to serialize and deserialize it's properties
      	in sexp format. Contains two example properties that will go into
      	derived classes once this is really used.
      
      	* app/main.c: deserialize and serialize the test GimpConfig object to
      	~/.gimp-1.3/foorc (only for debugging).
      
      	* app/widgets/widgets-types.h
      	* app/core/core-types.h: moved GimpPreviewSize enum to core-types.
      
      	* app/core/core-types.h: don't include gdk-pixbuf.h.
      
      	* app/core/gimptoolinfo.h
      	* app/core/gimpimagefile.c: include gdk-pixbuf.h.
      
      	* app/core/gimpimage.[ch]: made construct_flag a gboolean.
      
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpunit.c
      
      	* tools/pdbgen/pdb/plug_in.pdb
      	* app/pdb/plug_in_cmds.c: removed unused variables.
      
      	* app/display/Makefile.am: removed .PHONY and files cruft
      
      	* app/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* plug-ins/Makefile.am: removed commented out makefile.mingw rules.
      	If we ever need them again, they can easily be resurrected from CVS.
      19e1acbc
  18. 22 Nov, 2001 1 commit
    • Sven Neumann's avatar
      bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. · 757017a8
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.1.
      	Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
      	and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
      	exist any longer.
      
      	* RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
      	be frozen now.
      
      	* HACKING: removed reference to RELEASE-TO-CVS.patch
      
      	* app/gui/menus.c
      	* app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
      	to the new GTK+/Pango API.
      
      	* app/core/Makefile.am: generate marshallers with gimp_marshal prefix.
      
      	* app/core/gimpmarshal.list: added all marshallers we use.
      
      	* app/core/gimpmarshal.[ch]: regenerated.
      
      	* app/[lots of .c files]: use gimp_marshal_* for all marshallers.
      
      	* data/images/
      	* app/app_procs.c
      	* app/gui/splash.c:
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimputils.[ch]: removed since they are no longer needed.
      
      	* app/gimprc.c
      	* plug-ins/common/ps.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gdyntext/gdyntextcompat.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
      	of gimp_strescape() and gimpstrcompress().
      
      	* cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
      	all _get_type function as G_GNUC_CONST.
      
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/lib.pl: make them generate header files using
      	G_BEGIN_DECLS/G_END_DECLS.
      
      	* pixmaps/Makefile.am
      	* pixmaps/wilber3.xpm: removed ...
      	* data/images/tips_wilber.png: ... and added here as PNG
      
      	* app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.
      
      	* data/images/gimp_splash.ppm: removed ...
      	* data/images/gimp_splash.png: ... and added as PNG
      
      	* app/app_procs.c
      	* app/gui/splash.[ch]: load the splash image using GdkPixbuf.
      
      	* app/gui/about-dialog.c: sink the GtkPreview.
      757017a8
  19. 16 Nov, 2001 1 commit
    • Michael Natterer's avatar
      Wishlist item #57812: · 51687bba
      Michael Natterer authored
      2001-11-16  Michael Natterer  <mitch@gimp.org>
      
      	Wishlist item #57812:
      
      	* app/core/gimpimage.[ch]: added a progress_callback to
      	gimp_image_scale().
      
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/resize-dialog.h
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      
      	* app/core/gimp.[ch]: found that gimp->busy needs to be a counter,
      	not a boolean, so nested calls work.
      
      	* app/pdb/image_cmds.c: regenerated.
      51687bba
  20. 14 Nov, 2001 1 commit
    • Michael Natterer's avatar
      added "update_guide" signal. · 3c8b37f1
      Michael Natterer authored
      2001-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: added "update_guide" signal.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gdisplays_expose_guide().
      
      	* app/display/gimpdisplayshell-handlers.c: added a handler for
      	"update_guide" and expose the guide there.
      
      	* app/undo.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c: call gimp_image_update_guide() instead
      	of gdisplays_expose_guide().
      3c8b37f1
  21. 10 Nov, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 360f8321
      Michael Natterer authored
      2001-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/qmask.[ch]: removed.
      
      	* app/core/gimpimage.[ch]: added "qmask_changed" signal and
      	gimp_image_[set|get]_qmask_state().
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-qmask.[ch]: put the stuff here.
      
      	* app/display/gimpdisplayshell-handlers.[ch]: new files: handlers
      	for GimpImage signals handled by GimpDisplayShell.
      
      	* app/display/gimpdisplay-handlers.c: removed some of them here.
      	Don't include any GimpDisplayShell stuff any more.
      
      	* app/display/gimpdisplay.c: no need to update the qmask buttons
      	in gimp_display_flush_whenever().
      
      	* app/display/gimpdisplayshell.c: call gimp_display_shell_connect()
      	and disconnect().
      360f8321
  22. 31 Oct, 2001 1 commit
    • Michael Natterer's avatar
      Chopped up the display stuff (beware: unfinished)... · 5f63e079
      Michael Natterer authored
      2001-10-31  Michael Natterer  <mitch@gimp.org>
      
      	Chopped up the display stuff (beware: unfinished)...
      
      	The plan is that GimpDisplay is the object which collects
      	updates from the image, compresses them and waits for the GIMP
      	to be idle to actually paint them. It should be a non-GUI object
      	which is the model for the actual widget to connect to.
      
      	GimpDisplayShell has all the widgets and handles painting and
      	exposing of the result. Nobody should actually be required to
      	update ot look at it as it should be a view on the GimpDisplay
      	object.
      
      	Much stuff is still in the wrong place and the functions don't
      	follow their files' filename namespace any more. More to come...
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-ops.[ch]: removed. It's functions didn't
      	belong together anyway.
      
      	* app/display/gimpdisplay-area.[ch]: new files: the GimpArea
      	functions.
      
      	* app/display/gimpdisplay-handlers.[ch]: new files: signal
      	handlers for GimpImage signals. Mostly from app/gui.c.
      
      	* app/display/gimpdisplay.[ch]: removed all widgets and other
      	GUI stuff. There is still much undecided here...
      
      	* app/display/gimpdisplayshell.[ch]: actually use the object and
      	filled it with all the stuff from GimpDisplay.
      
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-foreach.[ch]
      	* app/display/gimpdisplay-render.c
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay-selection.c: changed accordingly.
      
      	* app/core/gimp.[ch]: return a GimpObject from
      	gimp_create_display() so it can be used as single GUI independent
      	point to create displays, require the initial scale as parameter.
      
      	* app/core/gimpcontext.c: changed the ugly EEKWrapper according to
      	the GimpDisplay structure changes. Bugfix: set the image to NULL
      	in gimp_context_display_destroyed().
      
      	* app/core/gimpedit.c
      	* app/core/gimpimage-new.c: changed gimp_create_display() calls
      	accordingly.
      
      	* app/core/gimpimage-convert.c: invalidate the layer & image
      	previews here, not in the caller.
      
      	* app/core/gimpimage-crop.c: update the whole image after cropping.
      
      	* app/core/gimpimage.[ch]: added gimp_image_find_guide(),
      	gimp_image_snap_point() and gimp_image_snap_rectangle(). Added
      	"resolution_changed" and "unit_changed" signals and corresp.
      	public convenience functions to emit them.
      
      	* app/core/gimplayer.c: emit the image's "alpha_changed" signal
      	when adding alpha to the bottom (and only) layer of the image.
      
      	* app/gimpprogress.c
      	* app/image_map.c
      	* app/nav_window.c
      	* app/qmask.c
      	* app/undo.c
      	* app/user_install.c: changed accordingly.
      
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/view-commands.c: ditto.
      
      	* app/gui/gui.[ch]: removed most gimp->images handlers as the
      	displays connect to them themselves now. chaged gui_display_new()
      	according to the gimp_create_display() changes.
      	Added gui_get_screen_resolution().
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/xinput_airbrush.c: lots of changes because GimpDisplay
      	has become two objects. Lots of gdisp->shell casting uglyness
      	added. This is fine because exactly these parts will have to go
      	away.
      
      	(GimpDisplay will provide methods for XOR drawing upon the display
      	in image coordinates without the need to transform coordinates all
      	the time. Also the tools shouldn't see GdkEvents but get more
      	useful virtual functions which speak in image coordinates too).
      
      	* app/widgets/gimpcomponentlistitem.c: removed a now useless image
      	update.
      
      	* tools/pdbgen/pdb/display.pdb: use gimp_create_display().
      
      	* app/pdb/display_cmds.c: regenerated.
      5f63e079
  23. 25 Oct, 2001 1 commit
    • Michael Natterer's avatar
      app/core/gimpbrushgenerated.h app/core/gimpbrushpipe.h · 6eeec175
      Michael Natterer authored
      2001-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbrushgenerated.h
      	* app/core/gimpbrushpipe.h
      	* app/core/gimpbuffer.h
      	* app/core/gimpdatafactory.h
      	* app/core/gimpdrawable.h
      	* app/core/gimpgradient.h
      	* app/core/gimpimage.h: added some missing FOO_GET_CLASS() macros.
      6eeec175
  24. 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
  25. 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
  26. 11 Aug, 2001 2 commits
    • Michael Natterer's avatar
      fsck^^^ -- lovely autofoo wants "changequote([,])dnl" · 5e74fa37
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: fsck^^^ -- lovely autofoo wants "changequote([,])dnl"
      
      	* app/core/gimpcontext.[ch]: lots of GObject porting.
      
      	* app/core/gimpobject.[ch]: added a "disconnect" signal, which
      	like gtk's "destroy" is emitted in dispose(). This is ugly but
      	I don't see another "clean" way to implement weak containers.
      
      	* app/core/gimpcontainer.c: connect to the "disconnect" signal of
      	the children of weak containes.
      
      	* app/core/gimpimage.[ch]: replaced the "destroy" implementation
      	with "dispose" + "finalize". Removed gimage->undo_history.
      
      	* app/devices.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/tools-commands.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpimagedock.c: changed accordingly.
      5e74fa37
    • Michael Natterer's avatar
      added a TODO entry about additional image/file info. · 357f463d
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: added a TODO entry about additional image/file info.
      
      	* app/file-save.c: #include "core/gimpdocuments.h"
      
      	* app/core/gimpcontainer.[ch]: made virtual functions out of some
      	signals.
      
      	* app/core/*.[ch]: more GObject stuff: ported all
      	gimp_foo_get_type() functions and replaced almost all "destroy"
      	implementations with either "finalize" or "dispose" functions.
      357f463d
  27. 24 Jul, 2001 1 commit
    • Michael Natterer's avatar
      Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) · 06b16890
      Michael Natterer authored
      2001-07-24  Michael Natterer  <mitch@gimp.org>
      
      	Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
      
      	* configure.in: require glib/gtk+ >= 1.3.7, commented out the
      	gtkxmhtml stuff.
      
      	From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
      	to hack or use GIMP HEAD.
      
      	Beware, it crashes randomly :)
      
      	* app/core/Makefile.am
      	* app/core/gimpmarshal.list: new file plus rules to generate
      	gimpmarshal.[ch] from it.
      
      	* app/core/*
      	* app/tools/*
      	* app/widgets/*
      	* libgimpwidgets/*: started to use the glib object system. All
      	core/ objects are still gtk objects however. All signals are
      	created using g_signal_new(). There are many gtk+ artefacts left.
      	Finally, we will _not_ use the gtk_signal_foo() wrappers and
      	friends any more.
      
      	* app/colormaps.c
      	* app/devices.[ch]
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-save.[ch]
      	* app/interface.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/scroll.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpui.c
      	* libgimpbase/gimpenv.c: tons and tons of changes like "const
      	gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
      	and currently disables), lots of s/gtk_signal/g_signal/,
      	removal/replacement of deprecated stuff,
      	s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
      	while I was on it, zillions of warnings left...
      
      	* modules/Makefile.am: disabled the water color selector
      	temporarily (XInput issues).
      
      	* plug-ins/Makefile.am
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
      	which did not build (including Script-Fu). They are trivial to
      	fix.
      06b16890
  28. 11 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimpunit.c removed... · 16671498
      Michael Natterer authored
      2001-07-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpunit.c
      	* app/unitrc.h: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpunit.[ch]: ...re-added here.
      
      	* app/core/gimp.[ch]: added the image and drawable hash tables,
      	next_image_ID, next_guide_ID and next_drawable_ID, added a
      	GimpCoreConfig pointer which is now initalized dynamically.
      
      	* app/core/gimpcoreconfig.[ch]: don't provide a global core_config
      	variable any more (need to access gimp->config now).
      
      	* app/gdisplay.[ch]
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.[ch]: removed all global variables from
      	gimpimage.c and gimpdrawable.c, pass a Gimp* to all *_get_by_ID()
      	functions.
      
      	* tools/pdbgen/app.pl: pass Gimp* to all _get_by_ID() functions.
      
      	* app/app_procs.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/gimprc.c
      	* app/libgimp_glue.c
      	* app/module_db.c
      	* app/plug_in.c
      	* app/undo.c
      	* app/user_install.c
      	* app/core/core-types.h
      	* app/core/gimpcontext.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpparasite.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c
      	* app/widgets/gimpdnd.c
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/floating_sel_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
      	* app/pdb/unit_cmds.c
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/unit.pdb: changed accordingly.
      16671498
  29. 07 Jul, 2001 1 commit
    • 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
  30. 04 Jul, 2001 2 commits
    • Michael Natterer's avatar
      renamed gimp_initialize() to gimp_restore() because it loads all kinds of · f7c69b07
      Michael Natterer authored
      2001-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: renamed gimp_initialize() to gimp_restore()
      	because it loads all kinds of data. Added gimp_shutdown() to save
      	the data. Added the global parasite list.
      
      	* app/apptypes.h: removed ParasiteList.
      
      	* app/core/core-types.h: added GimpParasiteList.
      
      	* app/gimpparasite.[ch]: removed the global parasite list.
      
      	* app/parasitelist.[ch]: s/ParasiteList/GimpParasiteList/
      	s/parasite_list_*/gimp_patasite_list_*/
      
      	* app/widgets/gimpdatafactoryview.c: don't save the data in
      	gimp_data-factory_data_free().
      
      	* app/app_procs.c
      	* app/gimprc.c
      	* app/undo.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/parasite.pdb: changed accordingly.
      f7c69b07
    • 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
  31. 26 Jun, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · d26c2668
      Michael Natterer authored
      2001-06-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/color_transfer.[ch]: removed.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpcolorbalancetool-transfer.[ch]: added.
      
      	* app/tools/gimpcolorbalancetool.c: changed accordingly.
      
      	* app/base/Makefile.am
      	* app/base/tile-manager-crop.[ch]: formerly known as crop_buffer().
      
      	* app/tools/gimptexttool.c: changed accordingly.
      
      	* app/context_manager.[ch]: added the global clipboard and the
      	named buffer list here.
      
      	* app/app_procs.c: don't call color_transfer_init() and don't free
      	the buffer stuff (done by the context manager now).
      
      	* app/errorconsole.c: don't #include "gui/commands.h"
      
      	* app/global_edit.[ch]: removed lots of stuff which is now done by
      	gui/edit-commands.* or the new GimpBuffer object. The "paste
      	named" dialog will go away and this file will be moved to core/
      	soon.
      
      	* app/image_new.c: no need to declare the global_buffer extern any
      	more.
      
      	* app/qmask.c: don't #include "global_edit.h"
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpbuffer.[ch]: new object (aka named buffer)
      
      	* app/core/gimpcontext.[ch]: added a GimpBuffer attribute.
      
      	* app/core/gimpimage.[ch]: one s/int/gboolean/.
      
      	* app/core/gimppattern.c: hmm...
      
      	* app/gui/commands.[ch]: split up in small files:
      
      	* app/gui/Makefile.am
      	* app/gui/edit-commands.[ch]
      	* app/gui/file-commands.[ch]
      	* app/gui/image-commands.[ch]
      	* app/gui/select-commands.[ch]
      	* app/gui/view-commands.[ch]: new files.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added the named buffer list & grid.
      
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/test-commands.c: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* tools/pdbgen/pdb/edit.pdb: changed for the global_edit stuff.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpbufferpreview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]: new widgets.
      
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/widgets-types.h: changed accordingly for the new
      	GimpBuffer object and it's views, misc. cleanups.
      
      	* pixmaps/Makefile.am
      	* pixmaps/paste-as-new.xpm
      	* pixmaps/paste-into.xpm
      	* pixmaps/paste.xpm: new pixmaps (they all look the same... Tigert? ;-)
      
      	* po/POTFILES.in: added the new files.
      d26c2668
  32. 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
  33. 04 Jun, 2001 1 commit
    • Michael Natterer's avatar
      some s/0/FALSE/ · 80dad0fc
      Michael Natterer authored
      2001-06-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/global_edit.c: some s/0/FALSE/
      
      	* app/resize.[ch]: removed resize_scale_implement() and
      	resize_check_layer_scaling(), cleanup.
      
      	* app/core/gimpimage.[ch]: added gimp_image_check_scaling().
      
      	* app/gui/commands.c: added image_scale_implement() as static
      	function.
      
      	* app/gui/tool-options-dialog.[ch]: add the tool options widgets
      	to the dialog when they are first needed. Removed
      	tool_options_dialog_add().
      
      	* app/tools/tool_manager.c: don't call tool_options_dialog_add().
      80dad0fc
  34. 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
  35. 15 May, 2001 2 commits
    • Michael Natterer's avatar
      removed (was not used). · 62a4c057
      Michael Natterer authored
      2001-05-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpcontextpreview.[ch]: removed (was not used).
      
      	* app/apptypes.h: removed the Guide typedef.
      
      	* app/core/core-types.h: added it here as GimpGuide (everything in
      	core/ must be "Gimp"-prefixed).
      
      	* app/gimage.[ch]: removed the global "next_guide_id" variable,
      	don't destroy the guides in the "destroy" handler.
      
      	* app/core/gimpimage.[ch]: destroy them in destroy().
      
      	* app/xcf.c: use GimpImage accessors to add the guides, so we
      	don't need "next_guide_id".
      
      	* app/gdisplay.[ch]
      	* app/undo.c
      	* app/core/gimpimage-duplicate.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.[ch]
      	* tools/pdbgen/pdb/guides.pdb: s/Guide/GimpGuide/, cleanup.
      62a4c057
    • 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
  36. 08 May, 2001 1 commit
    • Michael Natterer's avatar
      added ChannelType. removed ChannelType. regenerated. · a229702d
      Michael Natterer authored
      2001-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenums.h: added ChannelType.
      	* app/gimpimage.h: removed ChannelType.
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/apptypes.h: don't include libgimpwidgets/gimpwidgetstypes.h
      	and widgets/widgets-types.h any more.
      
      	* app/devices.c
      	* app/gimpdnd.c
      	* app/gimprc.c
      	* app/lc_dialog.c
      	* app/gui/[many].c: include widgets/widgets-types.h
      
      	* app/tools/histogram_tool.h: include widgets/widgets-types.h here
      	because of an ugly dependency from pdb/color_cmds.c
      
      	* app/tools/tool_options_dialog.c
      
      	* app/widgets/widgets-types.h: include
      	libgimpwidgets/gimpwidgetstypes.h and apptypes.h so files in
      	widgets/ only have to include this file.
      
      	* app/widgets/*.c: include widgets-types.h instead of apptypes.h
      
      	* app/gimpdrawable-preview.c
      	* app/gui/gradient-editor.c: removed useless #includes.
      a229702d