1. 28 Apr, 2011 1 commit
    • Michael Natterer's avatar
      libgimp*: add guards that #error out if individual files are included · 844df2b4
      Michael Natterer authored
      This only helps to maintain proper includes in app/ and shouldn't
      affect plug-ins at all, because these are supposed to only include the
      main headers from libgimp/ since the beginning of time.
      
      The gimpfootypes.h files do not have these guards, so we can continue
      to maintain app/'s include policy that is very likely to error out if
      wrong things are included.
      844df2b4
  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. 05 Jul, 2006 1 commit
    • Sven Neumann's avatar
      libgimpbase/gimpenv.h libgimpbase/gimpmemsize.h · bdd3c644
      Sven Neumann authored
      2006-07-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpenv.h
      	* libgimpbase/gimpmemsize.h
      	* libgimpbase/gimpparasiteio.[ch]
      	* libgimpbase/gimputils.h
      	* libgimpconfig/gimpconfig-path.[ch]
      	* libgimpthumb/gimpthumb-utils.[ch]: marked some function with
      	G_GNUC_MALLOC.
      
      	* plug-ins/common/dicom.c: use g_date_set_time_t() instead of the
      	deprecated g_date_set_time().
      bdd3c644
  4. 22 Jun, 2005 1 commit
    • Michael Natterer's avatar
      libgimpconfig/gimpconfig-deserialize.h libgimpconfig/gimpconfig-error.h · ff7343ee
      Michael Natterer authored
      2005-06-22  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfig-deserialize.h
      	* libgimpconfig/gimpconfig-error.h
      	* libgimpconfig/gimpconfig-iface.h
      	* libgimpconfig/gimpconfig-params.h
      	* libgimpconfig/gimpconfig-path.h
      	* libgimpconfig/gimpconfig-serialize.h
      	* libgimpconfig/gimpconfig-utils.h: added G_BEGIN_DECLS/G_END_DECLS.
      ff7343ee
  5. 06 Apr, 2005 1 commit
    • Sven Neumann's avatar
      declare default_value as const and allocate a copy. · e79099db
      Sven Neumann authored
      2005-04-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-path.[ch] (gimp_param_spec_config_path):
      	declare default_value as const and allocate a copy.
      
      	* app/config/gimpbaseconfig.[ch]: gives access to the default values
      	for temp and swap path.
      
      	* app/base/base.c (base_init): create the temp directory if it
      	doesn't exist (bug #172682).
      
      	* plug-ins/uri/uri-backend-gnomevfs.c: fixed path in error message.
      e79099db
  6. 25 Jan, 2005 3 commits
    • Sven Neumann's avatar
      added declarations for the gimp_config_build_path functions. · 88a302f4
      Sven Neumann authored
      2005-01-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-path.h: added declarations for the
      	gimp_config_build_path functions.
      
      	* app/config/Makefile.am
      	* app/config/gimprc-utils.[ch]: removed these two files again;
      	they used to duplicate functionality from libgimpconfig.
      
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpguiconfig.c
      	* app/config/gimppluginconfig.c: changed accordingly.
      88a302f4
    • Sven Neumann's avatar
      libgimpbase/Makefile.am removed these two files again. · 4aa2bf93
      Sven Neumann authored
      2005-01-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimppath.[ch]: removed these two files again.
      
      	* libgimpconfig/gimpconfig-path.[ch]: merged the path type and
      	param spec here. Renamed to GimpConfigPath and GimpParamConfigPath.
      
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpbasetypes.[ch]
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-params.h
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpguiconfig.c
      	* app/config/gimppluginconfig.c
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      
      	* libgimpbase/gimpbase.def: updated.
      4aa2bf93
    • William Skaggs's avatar
      continuing commit after broken pipe · 1cee9b72
      William Skaggs authored
      1cee9b72
  7. 24 Jan, 2005 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am app/config/gimpconfig-file.[ch] more new files, · 73c055bb
      Sven Neumann authored
      2005-01-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-file.[ch]
      	* app/config/gimprc-utils.[ch]: more new files, code factored out
      	of gimpconfig-utils.[ch].
      
      	* app/config/gimpconfig-path.[ch]
      	* app/config/gimpconfig-utils.[ch]
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpguiconfig.c
      	* app/config/gimppluginconfig.c
      	* app/config/gimprc.c
      	* app/core/gimp-units.c
      	* app/dialogs/user-install-dialog.c
      	* app/gui/session.c: changed accordingly.
      73c055bb
  8. 29 Dec, 2002 1 commit
    • Sven Neumann's avatar
      configure.in etc/Makefile.am etc/gimprc.in removed templates for gimprc · 023c7697
      Sven Neumann authored
      2002-12-29  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* etc/Makefile.am
      	* etc/gimprc.in
      	* etc/gimprc_user.in: removed templates for gimprc files.
      
      	* etc/gimprc: added this file as generated by gimp-config-dump.
      
      	* app/gui/user-install-dialog.c
      	* data/misc/user_install: don't install an empty user gimprc.
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-substitute.[ch]: removed these files.
      	* app/config/gimpconfig-path.[ch]: and added them again with
      	reduced functionality. Paths found in config files are now
      	basically handled like standard strings by the config system.
      	Users of the GimpConfig path variables need to expand the path
      	themselves.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpconfig-utils.c
      	* app/config/gimpconfig.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimprc.c:
      	* app/base/base.c
      	* app/base/temp-buf.c
      	* app/core/gimp.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpmodules.c
      	* app/gui/user-install-dialog.c
      	* app/plug-in/plug-in.c
      	* app/tools/tools.c
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      023c7697
  9. 28 Dec, 2001 1 commit
    • Sven Neumann's avatar
      write comment to top of gimprc. · 64424f6c
      Sven Neumann authored
      2001-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc.c: write comment to top of gimprc.
      
      	* app/core/gimpscanconvert.c: removed redundant CLAMP statements.
      
      	* app/plug-in/plug-in-rc.[ch]
      	* app/plug-in/plug-in.c: rewrote pluginrc scanner and moved the code
      	that writes the pluginrc into plug-in-rc.c.
      64424f6c
  10. 27 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/plug-in/Makefile.am new files that parse pluginrc using a GScanner. · 97824930
      Sven Neumann authored
      2001-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-rc.[ch]: new files that parse pluginrc using a
      	GScanner.
      
      	* app/plug-in/plug-in.[ch]: made PlugInDef public again so we can use
      	it from the pluginrc parser.
      
      	* tools/pdbgen/pdb/procedural_db.pdb: made regex string matching
      	robust against NULL pointers.
      
      	* app/pdb/procedural_db_cmds.c: regenerated.
      
      	* app/gimprc.c: removed old pluginrc parser.
      97824930
  11. 29 Oct, 2001 1 commit
    • Michael Natterer's avatar
      Cleanup weekend... · 05e15eb1
      Michael Natterer authored
      2001-10-29  Michael Natterer  <mitch@gimp.org>
      
      	Cleanup weekend...
      
      	* app/app_procs.c: pass "no_interface" to gimp_new().
      
      	* app/core/gimp.[ch]: added "gboolean no_interface" and the
      	load_procs and save_procs GSLists.
      
      	* app/core/gimptoolinfo.[ch]: added a "Gimp" pointer to the
      	GimpToolInfo object so more functions find their context without
      	accessing the global "the_gimp" variable.
      
      	* app/display/display-types.h: removed the GDisplay -> GimpDisplay
      	typedef.
      
      	* app/display/gimpdisplay.c: look at gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]: don't use "the_gimp" any more. Instead,
      	pass around lots of "Gimp" pointers. Removed the global load_procs
      	and save_procs variables here. Use access() to find out whether a
      	file is readable/writable, removed the manual voodoo and it's
      	Win32 wrappers. Added an optional (can be NULL) "PlunInProcDef"
      	parameter to file_save(), removed file_save_with_proc().
      
      	* app/gui/menus.c: Use the unused "gpointer data" parameter of the
      	GtkItemFactory callbacks to pass a "Gimp" pointer to all of them.
      	This reduces the usage of the global "the_gimp" hack to zero
      	in app/gui/... yeah.
      
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/select-commands.c
      	* app/gui/test-commands.c
      	* app/gui/tools-commands.c
      	* app/gui/view-commands.c: use the passed "Gimp" pointer.
      
      	* app/gui/color-area.[ch]
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/gui.c
      	* app/gui/info-window.[ch]
      	* app/gui/module-browser.[ch]
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.[ch]
      	* app/gui/paths-dialog.c
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/tool-options-dialog.[ch]
      	* app/gui/toolbox.c: pass around lots more "Gimp" and
      	"GimpContext" pointers and don't use "the_gimp" any more.
      
      	* app/tools/gimptool.h: added a pointer to the corresponding
      	GimpToolInfo object (which in turn has a pointer to a Gimp).
      
      	* app/tools/tool_manager.[ch]: set the pointer after creating the
      	tool object. Removed tool_manager_get_info_by_tool() as there is a
      	tool->tool_info pointer now.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/path_tool.c
      	* app/tools/xinput_airbrush.c: s/GDisplay/GimpDisplay/g.
      	Use tool->tool_info and tool_info->gimp in some places to get
      	rid of using "the_gimp".
      
      	Removing the remaining ones involves changing the tool options
      	system and is scheduled next...
      
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c: pass a "Gimp" pointer to all
      	file_open_*() functions.
      
      	* app/gdisplay_color.[ch]
      	* app/gdisplay_color_ui.[ch]
      	* app/image_map.[ch]
      	* app/nav_window.[ch]
      	* app/path.c
      	* app/path_bezier.c
      	* app/path_transform.h
      	* app/qmask.[ch]: s/GDisplay/GimpDisplay/g
      
      	* tools/pdbgen/pdb/fileops.pdb: load_procs and save_procs are
      	members of the "Gimp" object now.
      
      	* tools/pdbgen/pdb/plug_in.pdb: use gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      05e15eb1
  12. 18 Oct, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · be86df2a
      Michael Natterer authored
      2001-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/module_db.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpmoduleinfo.[ch]
      	* app/core/gimpmodules.[ch]: new files containing the module info
      	object and the module list handling code.
      
      	* app/gui/Makefile.am
      	* app/gui/module-browser.[ch]: new files containing the GUI.
      
      	* app/xcf/xcf.[ch]: pass a "Gimp" pointer to xcf_exit().
      
      	* app/core/gimp.[ch]: handle modules and xcf init/exit here too.
      
      	* app/app_procs.c: don't touch the modules and xcf stuff any more.
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      
      2001-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: module_db.c has moved.
      be86df2a
  13. 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
  14. 28 May, 2000 1 commit
    • Michael Natterer's avatar
      libgimp/gimp.h libgimp/gimpcolordisplay.h libgimp/gimpcolorselector.h · 2b775b6b
      Michael Natterer authored
      2000-05-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimp.h
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpcolorselector.h
      	* libgimp/gimpmatrix.h
      	* libgimp/gimpmodule.h
      	* libgimp/gimpunit_pdb.c: purely cosmetic stuff and added some
      	typedefs to make the html documentation nicer. Moved the module
      	documentation from the headers to the sgml files.
      
      	* app/module_db.[ch]: The type of the "init" and "unload" functions
      	has changed. Code cleanup.
      
      2000-05-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-decl.txt
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimp.sgml
      	* libgimp/tmpl/gimpcolorbutton.sgml
      	* libgimp/tmpl/gimpcolordisplay.sgml
      	* libgimp/tmpl/gimpcolorselector.sgml
      	* libgimp/tmpl/gimpcolorspace.sgml
      	* libgimp/tmpl/gimpcompat.sgml
      	* libgimp/tmpl/gimpenums.sgml
      	* libgimp/tmpl/gimpfeatures.sgml
      	* libgimp/tmpl/gimplimits.sgml
      	* libgimp/tmpl/gimpmath.sgml
      	* libgimp/tmpl/gimpmodule.sgml
      	* libgimp/tmpl/gimpparasite.sgml
      	* libgimp/tmpl/gimpparasiteio.sgml
      	* libgimp/tmpl/gimppixmap.sgml
      	* libgimp/tmpl/gimpprotocol.sgml
      	* libgimp/tmpl/gimpsignal.sgml
      	* libgimp/tmpl/gimpui.sgml
      	* libgimp/tmpl/gimpunit.sgml
      	* libgimp/tmpl/gimputils.sgml
      	* libgimp/tmpl/gimpvector.sgml
      	* libgimp/tmpl/gimpwire.sgml
      	* libgimp/tmpl/libgimp-unused.sgml: Moved the module documentation
      	from the libgimp headers here, updates, cleanups.
      2b775b6b
  15. 14 Apr, 1999 1 commit
  16. 19 Jan, 1999 1 commit
    • Austin Donnelly's avatar
      iMon Jan 18 23:36:57 1999 Austin Donnelly <austin@gimp.org> · 43639fa0
      Austin Donnelly authored
      	* app/menus.c: include module browser, plus re-instate the 'swap
      	     colors' and other options that got killed by mistake.  Clean
      	     up the odd extra separator too.
      
      	* app/color_notebook.c: hide newly created colour selectors so we
      	     know the GIMP one will be the default page.
      
      	* app/module_db.[ch]: NEW FILEs: module database / browser.
      	* app/Makefile.am: add module_db.[ch] stuff
      	* app/app_procs.c: initialise the module_db
      	* app/commands.[ch]: callback to create a module browser.
      	* app/plug_in.c: move module loading out to module_db.c
      	* libgimp/gimpmodule.h: API change: module_init() should return
      	     additonal info (author, purpose, date, etc.)   Also optional
      	     module_unload() function.
      	* modules/colorsel_gtk.c: add module info, plus an unload function
      
      	* modules/Makefile.am: build triangle colour selector module
      	* modules/colorsel_triangle.c: NEW FILE: colour selector from
      	     Simon Budig <Simon.Budig@unix-ag.org>.
      
      	* MAINTAINERS: changed my email address
      43639fa0
  17. 13 Apr, 1998 1 commit
  18. 24 Nov, 1997 1 commit