1. 09 Oct, 2017 1 commit
    • Ell's avatar
      app: add "custom" gradient · 2ad9f40d
      Ell authored
      An internal gradient object, that will be used by the blend tool
      when editing a gradient.  By default, the active gradient will not
      be edited directly, but rather, upon editing, the active gradient's
      contents will be copied to the custom gradient, which will then
      become the active gradient and be edited.  This allows editing both
      writable and nonwritable gradients without modifying them, and
      without having to duplicate them.
      2ad9f40d
  2. 30 Apr, 2014 1 commit
  3. 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
  4. 09 Dec, 2006 1 commit
  5. 12 Jun, 2002 1 commit
    • Michael Natterer's avatar
      added a boolean "internal" which indicates that the data object is an · 91cfa783
      Michael Natterer authored
      2002-06-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdata.[ch]: added a boolean "internal" which
      	indicates that the data object is an automatically created
      	internal object. Changed the code to refuse saving to deleting
      	internal objects.
      
      	* app/core/Makefile.am
      	* app/core/gimp-gradients.[ch]: new files implementing internal
      	gradients (FG -> BG in RGB and HSV and FG -> transparent).
      
      	* app/core/gimp.c: call gimp_gradients_init().
      
      	* app/core/gimpdatafactory.c (gimp_data_factory_data_free): don't
      	free internal objects so they stay there on "Refresh".
      
      	* app/core/gimpdatalist.c: sort internal objects to the beginning
      	of the list.
      
      	* app/widgets/gimpdataeditor.c: refuse to change the name of
      	internal objects.
      
      	* app/widgets/gimpdatafactoryview.c: set the "Delete" button
      	insensitive for internal objects.
      
      	* app/widgets/gimpgradienteditor.c: refuse to edit internal
      	gradients, just display them so color picking works.
      
      	* app/gui/brushes-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c: set the "Delete" menu item
      	insensitive for internal objects.
      
      	* app/gui/gui.c: need to call render_setup() earlier because of
      	you-dont-want-to-know-why. Will change it back once the previews
      	have their own render buffers.
      
      	* app/tools/gimpblendtool.c: Replaced the "Type" menu by a preview
      	showing the active gradient. Clicking the preview pops up the
      	gradient selection. Renamed the "Gradient" menu to "Shape". Removed
      	"blend_mode" from the BlendOptions struct because we always use
      	"custom" mode now.
      91cfa783
  6. 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
  7. 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
  8. 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
  9. 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
  10. 14 Apr, 1999 1 commit
  11. 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
  12. 13 Apr, 1998 1 commit
  13. 24 Nov, 1997 1 commit