1. 12 Dec, 2001 1 commit
    • Michael Natterer's avatar
      made gimp->global_buffer a GimpBuffer, not TileManager. · 9b8bf8de
      Michael Natterer authored
      2001-12-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: made gimp->global_buffer a GimpBuffer,
      	not TileManager.
      
      	* app/core/gimpbuffer.[ch]: added a "gboolean copy_pixels" to
      	gimp_buffer_new().
      
      	* app/core/gimpimage-new.c
      	* app/core/gimpedit.[ch]
      	* app/core/gimpimage-qmask.c
      	* app/widgets/gimpbufferpreview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcontainerview-utils.c: chaned accordingly, don't
      	include "base/tile-manager.h".
      
      	* app/core/gimpdrawable.[ch]: added gimp_drawable_copy().
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimplayermask.[ch]: use it in
      	gimp_[channel|layer|layer_mask]_copy(), added "GType new_type" as
      	paramater to all of them.
      
      	* app/core/gimpimage-duplicate.c
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/layers-commands.c
      	* app/widgets/gimpchannellistview.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c: regenerated.
      
      	* app/core/gimplayer.[ch]: removed the "layer_type" parameter from
      	gimp_layer_new_from_tiles() because it always needed to be equal
      	to gimp_image_base_type_with_alpha() of the passed image.
      
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c: cahanged accordingly.
      
      	* app/core/gimpimage.[ch]: added some new GIMP_IMAGE_TYPE_FOO()
      	marcos to get rid of magic values like "pixels = 3" all over the
      	place.
      
      	* app/core/gimplayer.[ch]: added gimp_layer_new_from_drawable()
      	which creates a layer from an other image's drawable.
      
      	* app/core/gimpimage-convert.[ch]: made the RGB and GRAY converters
      	public to use them above, use the new GIMP_IMAGE_TYPE() macros.
      
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/toolbox.c: removed tile manager stuff and use the new
      	functions.
      
      	* app/widgets/gimpdrawablelistview.[ch]: added a
      	"convert_drawable_func" which is used to handle drops from other
      	images.
      
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.[ch]: implemented DND of layers between
      	images using gimp_layer_new_from_drawable().
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      9b8bf8de
  2. 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
  3. 18 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. new files: the convert functionality without GUI · addaad45
      Michael Natterer authored
      2001-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/convert.[ch]: removed.
      	* app/gimpimage-convert.[ch]: new files: the convert functionality
      	without GUI (now called gimp_image_convert()).
      
      	* app/gui/Makefile.am
      	* app/gui/convert-dialog.[ch]: new files.
      
      	* app/gui/commands.c
      	* app/pdb/convert_cmds.c
      	* po/POTFILES.in
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl: changed accordingly.
      addaad45
  4. 08 Mar, 2001 1 commit
    • 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
  5. 21 Jan, 2001 1 commit
    • Michael Natterer's avatar
      removed. new object derived from GimpObject. Just used as a container at · 776b3a61
      Michael Natterer authored
      2001-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/palette_entries.h: removed.
      	* app/gimppalette.[ch]: new object derived from GimpObject. Just
      	used as a container at the moment (no signals or stuff used).
      
      	* app/palette.[ch]: changed almost every line except in the
      	import_dialog part.
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/convert.[ch]
      	* app/gimpdnd.h
      	* app/paletteP.h
      	* app/palette_select.[ch]
      	* app/convert_cmds.c
      	* tools/pdbgen/pdb/convert.pdb: changed accordingly.
      
      	* app/gimpdrawable.c: set klass->removed to NULL.
      776b3a61
  6. 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
  7. 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
  8. 28 Oct, 1999 1 commit
  9. 01 Sep, 1999 1 commit
    • Adam D. Moss's avatar
      ed Sep 1 21:27:27 BST 1999 Adam D. Moss <adam@gimp.org> · a437ece3
      Adam D. Moss authored
              * app/convert.c app/convert.h:
              Optional low-bleed FS dithering
      
              * app/fsdither.h: Tables are const
      
              * app/convert_cmds.c app/internal_procs.c tools/pdbgen/enums.pl
              tools/pdbgen/pdb/convert.pdb:
              Clean up 'convert' PDB interface cruft.
      a437ece3
  10. 31 Aug, 1999 1 commit
  11. 28 Aug, 1999 1 commit
  12. 18 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Actually use the enum types GimpImageType, GimpImageBaseType, · f6858e21
      Tor Lillqvist authored
      	* app/*.[ch]: Actually use the enum types GimpImageType,
      	GimpImageBaseType, LayerModeEffects, PaintApplicationMode,
      	BrushApplicationMode, GimpFillType and ConvertPaletteType, instead
      	of just int or gint. Hopefully I catched most of the places
      	where these should be used.
      
      	Add an enum ConvolutionType, suffix the too general constants
      	NORMAL, ABSOLUTE and NEGATIVE with _CONVOL. Use NORMAL_MODE
      	instead of NORMAL in some places (this was what was intended). Fix
      	some minor gccisms.
      
      	* app/apptypes.h: New file. This file contains the above
      	enumeration types, and some opaque struct typedefs. It was
      	necessary to collect these in one header that doesn't include
      	other headers, because when we started using the above mentioned
      	types in the headers, all hell broke loose because of the
      	spaghetti-like cross-inclusion mess between headers.
      
      	(An example: Header A includes header B, which includes header C
      	which includes A. B uses a type defined in A. This is not defined,
      	because A hasn't defined it yet at the point where it includes B,
      	and A included from B of course is skipped as we already are
      	reading A.)
      f6858e21
  13. 28 Mar, 1999 1 commit
    • Manish Singh's avatar
      #include <glib.h> · 5131a011
      Manish Singh authored
      * app/procedural_db.h: #include <glib.h>
      
      * app/channel_ops.[ch]: exported OFFSET_BACKGROUND and
      OFFSET_TRANSPARENT as an enum
      
      * app/convert.[ch]: exported MACNUMCOLORS, theCustomPalette,
      convert_image, removed PDB procs
      
      * app/text_tool.[ch]: exported PIXELS and POINTS as an enum
      
      * app/convert_cmds.c
      * app/edit_cmds.c
      * app/floating_sel_cmds.c
      * app/gdisplay_cmds.c
      * app/paths_cmds.c
      * app/undo_cmds.c: pdbgen autogenerated files now
      
      * app/internal_procs.c: use the pdbgen register_foo functions
      
      * app/edit_cmds.h
      * app/floating_sel_cmds.h
      * app/gdisplay_cmds.h
      * app/paths_cmds.h
      * app/undo_cmds.h: removed
      
      * app/Makefile.am: reflect above changes
      
      * Makefile.am: paths.xbm->path.xbm, fix typo in EXTRA_DIST
      
      -Yosh
      5131a011
  14. 20 Mar, 1999 1 commit
    • Manish Singh's avatar
      acinclude.m4 config.guess config.sub ltconfig upgrade to libtool 1.2f · 05c69f12
      Manish Singh authored
      * acinclude.m4
      * config.guess
      * config.sub
      * ltconfig
      * ltmain.sh: upgrade to libtool 1.2f
      
      * autogen.sh: libtool is not required to autogen gtk+
      
      * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly needed)
      
      * app/actionarea.h: made the label in ActionAreaItem const
      
      * app/convert.[ch]: made FOO_PALETTE #defines into an enum
      
      * libgimp/parasite.c
      * app/brightness_contrast.c
      * app/color_picker.c
      * app/colormap_dialog.i.c
      * app/curves.c
      * app/equalize.c
      * app/gimplut.c
      * app/histogram_tool.c
      * app/invert.c
      * app/levels.c
      * app/paint_funcs.c
      * app/pixel_regions.c
      * app/posterize.c
      * app/rect_select.c
      * app/threshold.c
      * app/xcf.c: remove unused vars, other minor code cleanups
      
      * app/procedural_db.h: #include <glib.h>
      
      * Makefile.am: add README.perl to EXTRA_DIST
      
      -Yosh
      05c69f12
  15. 19 Dec, 1998 1 commit
    • GMT 1998 Andy Thomas's avatar
      Changed the palette dialog. New functionality. Better previews. Can · 1d591e95
      GMT 1998 Andy Thomas authored
      
      Fri Dec 18 23:46:11 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>
      
      	Changed the palette dialog. New functionality. Better previews.
      	Can display larger palettes. Can import palettes from images and from
      	gradients. Fixed colour selection so that the hightlighted
      	square says in sync on redraws.
      
      	* app/convert.h
      	* app/palette.h
      	* app/palette.c
      	* app/gradient.c
      	* app/gradient_select.c
      	* app/gimage.c
      	* app/gimpimage.c
      	* app/gimpimage.h
      
      	New file:-
      
      	* app/palette_entries.h
      1d591e95
  16. 29 Jun, 1998 1 commit
  17. 13 Apr, 1998 1 commit
  18. 14 Dec, 1997 1 commit
  19. 24 Nov, 1997 1 commit