1. 11 Jul, 2018 1 commit
  2. 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
  3. 09 Dec, 2006 1 commit
  4. 02 Apr, 2006 1 commit
    • Michael Natterer's avatar
      use "const GimpParasite*" insted of gpointer for the parasite parameter. · 5e28089d
      Michael Natterer authored
      2006-04-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-undo-push.[ch]
      	(gimp_image_undo_push_image,item_parasite): use "const GimpParasite*"
      	insted of gpointer for the parasite parameter.
      
      	* app/core/gimpparasitelist.[ch] (gimp_parasite_list_add): added
      	const to the parasite parameter, return the actually added
      	parasite (which is a copy).
      
      	* app/core/gimpunit.[ch] (_gimp_unit_new): added const to all
      	string parameters.
      5e28089d
  5. 13 Jan, 2005 1 commit
  6. 27 Mar, 2002 1 commit
    • Michael Natterer's avatar
      app/config/Makefile.am new files containing a convenience constructor for · 75c63ee3
      Michael Natterer authored
      2002-03-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpscanner.[ch]: new files containing a convenience
      	constructor for GScanner and some parse utility functions, mostly
      	cut out of app/plug-in/plug-in-rc.c
      
      	* app/plug-in/plug-in-rc.c: removed the stuff here, added scopes
      	to the scanner symbols.
      
      	* app/core/Makefile.am
      	* app/core/gimpunits.[ch]: moved the user_unit list handling and
      	unitrc stuff to this file. Parse unitrc here, using the new
      	utility functions instead of using gimprc.
      
      	* app/core/gimpunit.[ch]: removed here.
      
      	* app/core/gimpdocuments.c: same here: added a scanner for the
      	document history instead of using gimprc.
      
      	* app/gimprc.c: removed unitrc and document history parsing stuff
      	along with some old unused cruft.
      
      	* app/app_procs.c
      	* app/core/gimp.c
      	* app/gui/user-install-dialog.c: #include "core/gimpunits.h".
      
      	* app/core/gimpdrawable-bucket-fill.c: don't include "gimprc.h".
      75c63ee3
  7. 16 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-params.[ch] added support for GimpUnit type. · efe8f6db
      Sven Neumann authored
      2001-12-16  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-params.[ch]
      	* app/config/gimpconfig-types.[ch]: added support for GimpUnit type.
      
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/test-config.c: cleaned up includes. Added more properties
      	to GimpCoreConfig.
      
      	* app/libgimp_glue.h
      	* libgimpbase/gimpunit.h:
      	declared gimp_unit_get_number_of_built_in_units() G_GNUC_CONST.
      
      	* app/core/gimpunit.[ch]: internal GimpUnit functions return const
      	strings.
      
      	* app/xcf/xcf-save.c: changed accordingly.
      efe8f6db
  8. 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
  9. 10 Jul, 2001 1 commit
    • Michael Natterer's avatar
      removed the gimp_busy boolean, check whether user_installation is needed · 9d87e554
      Michael Natterer authored
      2001-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.[ch]: removed the gimp_busy boolean, check whether
      	user_installation is needed here, not in user_install.c, parse
      	gtkrc an friends only if(!no_interface), create the Gimp object
      	before parsing gimp's rc files an pas it to the parse functions,
      	many other cleanups.
      
      	* app/appenums.h: added MessageHandlerType and StackTraceMode.
      
      	* app/appenv.h: removed MessageHandlerType, declare all global
      	variables from main.c (no more hidden global stuff please).
      
      	* app/errors.[ch]: added the fatal message func here (from main.c),
      	removed the StackTraceMode enum.
      
      	* app/gimprc.[ch]: renamed functions to gimprc_*(), pass a Gimp
      	pointer to some functions.
      
      	* app/gimpunit.c
      	* app/unitrc.h: ok, this is ugly: renamed all functions to
      	_gimp_unit_*() and made them public. The unit list is part
      	of the Gimp object now, so pass a Gimp* to all functions.
      
      	* app/libgimp_glue.[ch]: added EEKy wrappers for all gimp_unit_*()
      	functions which are used by widgets.
      
      	* app/main.c: cleaned up the global variables, removed the fatal
      	message handler, call app_init() directly, not via the
      	user_install stuff, misc. cleanups.
      
      	* app/user_install.[ch]: removed the check if user_installation is
      	needed (done by app_procs.c now).
      
      	* app/core/gimp.[ch]: added the user_unit list and the "busy"
      	boolean. Moved gimp_[set|unset]_busy() here. Added
      	gimp_initialize() which is called after unitrc and gimprc are
      	parsed.
      
      	* app/batch.c
      	* app/colormaps.c
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/gdisplay_ops.c
      	* app/gimphelp.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdatafiles.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/core/gimpparasite.c
      	* app/core/gimpparasitelist.h
      	* app/gui/file-open-dialog.c
      	* app/gui/gui.[ch]
      	* app/gui/info-dialog.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/session.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcursor.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/unit.pdb
      	* app/pdb/image_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/unit_cmds.c: changed accordingly, minor cleanups.
      9d87e554
  10. 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
  11. 16 Mar, 1999 1 commit
    • Michael Natterer's avatar
      This implements the rest of the unit system (unitrc loading and saving and · 5e8ee554
      Michael Natterer authored
      1999-03-16  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
              This implements the rest of the unit system (unitrc loading and
              saving and full PDB interface)
      
              * Makefile.am
              * gimp.1
              * user_install
              * user_install.bat
              * unitrc: new file (default unit database) and some documentation
      
              * app/Makefile.am
              * app/gimpunit.c
              * app/gimpunit_cmds.h
              * app/unitrc.h: new files enabling the unit database and PDB
              access to the unit system
      
              * app/app_procs.c: parse and save unitrc
              * app/gimprc.[ch]: enable unit parsing. New function
              init_parse_buffers() to enable unitrc to be loaded before gimprc
      
              * app/gimage_cmds.[ch]: new PDB procedures which set/return an
              image's unit
      
              * app/install.c: mention unitrc installation
      
              * app/xcf.c: new xcf property for user defined units. An image's
              unit is saved as either an integer ID (built in units) or as
              a full unit definition without any ID
      
              * libgimp/Makefile.am: moved gimpunit.o from libgimpi.a to
              libgimp.a
      
              * libgimp/gimp.h
              * libgimp/gimpimage.c: get/set an image's unit with PDB calls
      
              * libgimp/gimpunit.h: this file is now the header for both
              app/gimpunit.c and libgimp/gimpunit.c
      
              * libgimp/gimpunit.c: does the unit calls as PDB calls now
      
              * libgimp/gimpunitmenu.[ch]: enable user unit functionality and a
              unit selection dialog
      
              * libgimp/gimpsizeentry.c: disble hilighting on focus_in_event and
              minor bugfixes
      
              * plug-ins/tiff/tiff.c: set image unit to "mm" if tiff unit is
              "cm", save "cm" if image unit is metric
      5e8ee554
  12. 30 Jun, 1998 1 commit
    • Lauri Alanko's avatar
      start collecting some core stuff to libgimpim.a · ef3e162e
      Lauri Alanko authored
      	Started separating crud out of drawables.
      
      	Isolated the id system of images entirely within pdb. Even the
      	window titles and menus use pointers instead of ids. Should at
      	least remind people that this is a developers' version. :)
      ef3e162e
  13. 29 Jun, 1998 1 commit
  14. 13 Apr, 1998 1 commit
  15. 22 Jan, 1998 1 commit