1. 29 Nov, 2001 1 commit
    • Kelly Martin's avatar
      Fixed another use of array of gpointer in place of a proper struct, this · 56f849d9
      Kelly Martin authored
      	* app/undo.c: Fixed another use of array of gpointer in place of a
      	proper struct, this time in undo_(push|pop)_channel_mod.
      
      	* base/base-types.h
      	* base/tile-manager.h
      	* base/tile-manager-private.h
      	* base/tile-manager.c: added PixelDataHandle as an abstraction
      	on top of tiles.  PixelDataHandles either return a pointer into
      	the tile data, or create a temporary buffer so the calling
      	function can access data from disparate tiles using a single
      	buffer.  This is a step in reducing the dependence of core
      	image functions being aware of tiles as well as a step toward
      	having a single abstraction for pixel data.
      
      	* app/image_map.c: changed to use read_pixel_data_1
      	* app/pixel-region.c: changed to use the read_pixel_data and
      	write_pixel_data where practical.
      56f849d9
  2. 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
  3. 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
  4. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  5. 15 Aug, 1998 1 commit
    • scott's avatar
      Another tile tweak. This one eliminates tile levels (which add · 85393964
      scott authored
      bookkeeping without being used).  Made copy_region more intelligent on
      when to use tile sharing; some changes made to pixel_regions to
      facilitate this.  Fixed a refcount problem with xcf load and probably
      a few other bugs that I've forgotten about.  Added a sanity check in
      set_undo_tiles to help with a problem larry is reporting with airbrush
      and xinput.  --sg
      85393964
  6. 11 Aug, 1998 1 commit
  7. 28 Jul, 1998 1 commit
  8. 12 Jul, 1998 1 commit
    • EDT 1998 Michael K. Johnson's avatar
      app/tile_swap.c app/tile_swap.h app/tile_manager.c app/tile_manager.h · d2e6afe0
      EDT 1998 Michael K. Johnson authored
      Sun Jul 12 19:00:15 EDT 1998 Michael K. Johnson <johnsonm@redhat.com>
      
      * app/tile_swap.c
      * app/tile_swap.h
      * app/tile_manager.c
      * app/tile_manager.h
      * app/pixel_region.c
      * app/pixel_region.h: asynchronous swapin on systems with pthreads.
      This version is not at all tuned, and the only interface which makes use
      of it now is pixel_region_{g,s}et_{row,col}.  Other functions which know
      ahead of time the area that they will be needing can request that it be
      asynchronously swapped in via the pixel_region_get_async() function.
      
      Compiles and survives basic testing.
      d2e6afe0
  9. 10 Jul, 1998 1 commit
  10. 13 Apr, 1998 1 commit
  11. 22 Jan, 1998 1 commit
  12. 24 Nov, 1997 1 commit