1. 29 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am new file with one set of functions... · bd7a4bf1
      Michael Natterer authored
      2001-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpdrawablepreview.[ch]: new file with one set of functions...
      
      	* app/channel.[ch]
      	* app/layer.[ch]: ...instead of having everything duplicated three
      	times here.
      
      	* app/channels_dialog.c
      	* app/floating_sel.c
      	* app/floating_sel.h
      	* app/gimpdnd.c
      	* app/gimpimage.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/selection.c
      	* app/pdb/drawable_cmds.c
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly, cleanup.
      bd7a4bf1
  2. 28 Jan, 2001 1 commit
    • 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
  3. 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
  4. 28 Dec, 2000 1 commit
    • Sven Neumann's avatar
      app/boundaryF.h app/gdisplayP.h app/gimplistP.h app/gimplutP.h · c11acc6c
      Sven Neumann authored
      2000-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/boundaryF.h
      	* app/gdisplayP.h
      	* app/gimplistP.h
      	* app/gimplutP.h
      	* app/gimpsetP.h
      	* app/parasitelistP.h
      	* app/pixel_regionP.h: removed these files
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/boundary.[ch]
      	* app/floating_sel.h
      	* app/gdisplay.c
      	* app/gimplist.h
      	* app/gimplut.[ch]
      	* app/gimpset.[ch]
      	* app/parasitelist.[ch]
      	* app/pixel_processor.c
      	* app/pixel_region.[ch]: moved structure definitions into the
      	normal headers, various cleanups
      c11acc6c
  5. 16 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Last-minute cleanup: · dfa2bed5
      Sven Neumann authored
      2000-12-16  Sven Neumann  <sven@gimp.org>
      
      	Last-minute cleanup:
      
      	* app/gimpdrawableF.h
      	* app/gimphistogramF.h
      	* app/gimpimageF.h
      	* app/gimplistF.h
      	* app/gimplutF.h
      	* app/gimpobjectF.h
      	* app/gimpsetF.h
      	* app/layerF.h
      	* app/parasitelistF.h: removed these files
      
      	* app/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly
      
      	* app/[almost every file]: include cleanup
      dfa2bed5
  6. 16 Aug, 1998 1 commit
  7. 13 Apr, 1998 1 commit
  8. 22 Jan, 1998 1 commit
  9. 24 Nov, 1997 1 commit