1. 29 Apr, 2014 2 commits
  2. 01 Mar, 2012 1 commit
    • Michael Natterer's avatar
      Bug 658477 - add PDB support for more paint and ink options · b952f80b
      Michael Natterer authored
      Apply heavily modified patch from Es Swartz which adds PDB API for
      brush size, angle and aspect ratio, as well as a full interface for
      ink. Changed to patch to add all procedures to the "context" group
      instead of creating new PDB groups, properly use the new
      GimpPDBContext APIs for paint options, and did some general cleanup.
      (Warning, completely untested).
  3. 07 Jan, 2012 1 commit
  4. 14 Nov, 2010 1 commit
    • Michael Natterer's avatar
      Michael Natterer authored
      - TYPE_SQUARE is also named SQUARE and not RECTANGLE
      - serialization doesn't suffer from the changed name because it's the
        default value that never gets serialized
      - a lot of messy code in the ink options can be replaced by a one-liner
        because the enum names now match their resp. stock items
  5. 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
  6. 16 Oct, 2007 1 commit
  7. 09 Dec, 2006 1 commit
  8. 07 Sep, 2006 1 commit
    • Michael Natterer's avatar
      Merged the "soc-2006-perspective-clone" branch. That branch is now · 1b149765
      Michael Natterer authored
      2006-09-07  Michael Natterer  <mitch@gimp.org>
      	Merged the "soc-2006-perspective-clone" branch. That branch is
      	now officially closed and all further fixes and changes have to
      	be applied to HEAD.
      	Did some minor adjustments, mostly small indentation and spacing
      	fixes. Derive the tool from GimpBrushTool and renamed the enum
      	added to paint-enums.h and it values, added stock icon and menu
      	Thanks a lot to Pedro Alonso Ferrer!
      	* app/paint/paint-enums.[ch]: new enum GimpPerspectiveCloneMode.
      	* app/paint/Makefile.am
      	* app/paint/gimpperspectiveclone.[ch]
      	* app/paint/gimpperspectivecloneoptions.[ch]: the perspective
      	clone core and its options.
      	* app/paint/gimp-paint.c: register it.
      	* app/tools/Makefile.am
      	* app/tools/gimpperspectiveclonetool.[ch]: the perspective clone tool.
      	* app/tools/gimp-tools.c: register it.
      	* app/tools/gimppaintoptions-gui.c: show the widgets that are used
      	by perspective clone.
      	* app/widgets/gimphelp-ids.h: the help ID.
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/stock-tool-perspective-clone-16.png
      	* themes/Default/images/tools/stock-tool-perspective-clone-22.png
      	* libgimpwidgets/gimpstock.[ch]: its stock ID and icons.
      	* menus/image-menu.xml.in: added it to the menu.
  9. 04 Sep, 2006 1 commit
    • Michael Natterer's avatar
      removed enum GimpHealAlignMode, we use the GimpSourceAlignMode now and can · fca7fc02
      Michael Natterer authored
      2006-09-04  Michael Natterer  <mitch@gimp.org>
      	* app/paint/paint-enums.[ch]: removed enum GimpHealAlignMode, we
      	use the GimpSourceAlignMode now and can always disable REGISTERED
      	in the GUI should it turn out to be really totally pointless.
      	* app/paint/Makefile.am
      	* app/paint/gimphealoptions.[ch]: removed. Its properties are
      	completely covered by GimpSourceOptions.
      	* app/paint/gimpheal.[ch]: derive from GimpSourceCore.
      	* app/tools/gimphealtool.[ch]: derive from GimpSourceTool.
  10. 02 Sep, 2006 2 commits
    • Michael Natterer's avatar
      renamed enum GimpCloneAlignMode to GimpSourceAlignMode. · 47b50d91
      Michael Natterer authored
      2006-09-03  Michael Natterer  <mitch@gimp.org>
      	* app/paint/paint-enums.[ch]: renamed enum GimpCloneAlignMode to
      	* app/paint/Makefile.am
      	* app/paint/gimpsourcecore.[ch]
      	* app/paint/gimpsourceoptions.[ch]: new classes which contain the
      	source selection functionality factored out of the clone core and
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpcloneoptions.[ch]: remove that functionality here
      	and derive from the new classes.
      	* app/tools/gimpclonetool.c: changed accordingly.
    • Michael Natterer's avatar
      Merged the "soc-2006-healing-brush" branch. That branch is now officially · db526795
      Michael Natterer authored
      2006-09-02  Michael Natterer  <mitch@gimp.org>
      	Merged the "soc-2006-healing-brush" branch. That branch is now
      	officially closed and all further fixes and changes have to be
      	applied to HEAD.
      	Did some minor adjustments, mostly small indentation and spacing
      	fixes. Derive the tool from the newly introduced GimpBrushTool
      	which did not exist when the branch was created.
      	Thanks a lot to Kevin Sookocheff for this nice contribution!
      	* app/paint/paint-enums.[ch]: new enum GimpHealAlignMode.
      	* app/paint/Makefile.am
      	* app/paint/makefile.msc
      	* app/paint/gimpheal.[ch]
      	* app/paint/gimphealoptions.[ch]: the heal core and its options.
      	* app/paint/gimp-paint.c: register the heal core.
      	* app/tools/Makefile.am
      	* app/tools/makefile.msc
      	* app/tools/gimphealtool.[ch]: the heal tool.
      	* app/tools/gimp-tools.c: register the heal tool.
      	* app/tools/gimppaintoptions-gui.c: show the widgets that are used
      	by heal.
      	* app/widgets/gimphelp-ids.h: the heal help ID.
      	* tools/pdbgen/stddefs.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb: the heal PDB wrappers.
      	* app/widgets/widgets-enums.h
      	* app/widgets/gimpcursor.c
      	* cursors/Makefile.am
      	* cursors/makefile.msc
      	* cursors/tool-heal.png
      	* cursors/xbm/tool-heal.xbm
      	* cursors/xbm/tool-heal-mask.xbm: a new cursor for the heal tool.
      	* libgimpwidgets/gimpstock.[ch]
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/makefile.msc
      	* themes/Default/images/tools/stock-tool-heal-16.png
      	* themes/Default/images/tools/stock-tool-heal-22.png: new stock
      	icons for the heal tool.
      	* app/pdb/internal_procs.c
      	* app/pdb/paint_tools_cmds.c
      	* libgimp/gimppainttools_pdb.[ch]: regenerated.
  11. 27 Mar, 2006 1 commit
    • Michael Natterer's avatar
      register GimpBrushApplicationMode. · 63742ead
      Michael Natterer authored
      2006-03-27  Michael Natterer  <mitch@gimp.org>
      	* app/paint/paint-enums.h: register GimpBrushApplicationMode.
      	* app/paint/paint-enums.c
      	* tools/pdbgen/enums.pl: regenerated.
  12. 16 Dec, 2005 1 commit
  13. 07 Dec, 2005 1 commit
  14. 23 Jan, 2005 1 commit
    • Sven Neumann's avatar
      app/paint/paint-enums.h moved enums to libgimpbase (from app/paint and · 98f48f2c
      Sven Neumann authored
      2005-01-23  Sven Neumann  <sven@gimp.org>
      	* app/paint/paint-enums.h
      	* libgimpbase/gimpbaseenums.h: moved enums to libgimpbase (from
      	app/paint and libgimp). The remaining enums in
      	app/paint/paint-enums.h need special treatment.
      	* app/paint/paint-enums.c:
      	* libgimp/gimpenums.h
      	* libgimpbase/gimpbaseenums.c
      	* tools/pdbgen/enums.pl: regenerated.
      	* libgimpbase/gimpbase.def
      	* libgimp/gimp.def: updated.
  15. 19 Jul, 2004 1 commit
    • Michael Natterer's avatar
      removed enum GimpPaintCoreState. · 85c2b2dd
      Michael Natterer authored
      2004-07-19  Michael Natterer  <mitch@gimp.org>
      	* app/paint/gimppaintcore.h: removed enum GimpPaintCoreState.
      	* app/paint/paint-enums.h: added enum GimpPaintState (with values
      	that have a name space).
      	* app/paint/gimppaintcore.[ch]
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimpink.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimppainttool.c: changed accordingly.
      	* app/tools/gimpinktool.c: removed unused #include.
  16. 30 Jun, 2004 1 commit
  17. 06 Jan, 2004 1 commit
    • Michael Natterer's avatar
      Enabled skipping enum values for either the PDB or GType registration · dec20d82
      Michael Natterer authored
      2004-01-06  Michael Natterer  <mitch@gimp.org>
      	Enabled skipping enum values for either the PDB or GType
      	registration (don't always skip both targets):
      	* tools/gimp-mkenums: skip enum values only if there is a literal
      	"skip" (don't match "pdb-skip").
      	* tools/pdbgen/enumgen.pl: skip only "pdb-skip" values, not "skip"
      	* app/base/base-enums.h
      	* app/core/core-enums.h
      	* app/paint/paint-enums.h
      	* libgimpbase/gimpbaseenums.h: use the right "pdb-skip"/"skip"
      	combination to skip enum values. Changed comments accordingly.
      	Cleaned up the fill functions:
      	* app/core/core-enums.[ch]: added GIMP_PATTERN_FILL enum value to
      	the GimpFillType enum. Don't export GIMP_NO_FILL to the PDB
      	because it's completely useless to export a NOP.
      	* app/core/gimp-edit.c (gimp_edit_fill, gimp_edit_fill_internal):
      	handle pattern fill requests.
      	* app/core/gimpdrawable.[ch] (gimp_drawable_fill): added GimpPattern
      	parameter and fill with it if it's non-NULL.
      	(gimp_drawable_fill_by_type): handle pattern fill and pass the
      	current pattern to gimp_drawable_fill().
      	* app/text/gimptextlayer.c: changed accordingly.
      	* app/gui/edit-commands.c
      	* app/gui/image-menu.c: use gimp_edit_fill() instead of
      	gimp_drawable_bucket_fill() for FG, BG and pattern filling.
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: removed NO_IMAGE_FILL compat
      	enum value. It should have never been exported to the PDB.
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
  18. 22 Jul, 2003 1 commit
    • Michael Natterer's avatar
      added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients · 075195d1
      Michael Natterer authored
      2003-07-22  Michael Natterer  <mitch@gimp.org>
      	* app/core/gimpgradient.[ch]: added "gboolean reverse" to
      	gimp_gradient_get_color_at() so all gradients can be used
      	* app/core/gimpdrawable-blend.[ch] (gimp_drawable_blend)
      	* app/core/gimppalette-import.[ch] (gimp_palette_import_from_gradient):
      	added "gboolean reverse".
      	* app/paint/paint-enums.[ch]: removed enum GimpGradientRepeatMode
      	since it is identical to GimpRepeatMode, except for the now
      	obsolete ONCE_BACKWARD value.
      	* app/paint/gimppaintcore.[ch]: removed
      	* app/paint/gimppaintoptions.[ch]: ...and added
      	gimp_paint_options_get_gradient_color(), which is much more
      	general. Added a "reverse" property to GimpGradientOptions and
      	changed the type of the "repeat" property to GimpRepeatMode.
      	* app/paint/gimppaintbrush.c: use
      	* app/tools/gimpblendoptions.[ch]: removed the "repeat" property
      	since it is in the parent class now.
      	* app/gui/gradient-select.c
      	* app/gui/palette-import-dialog.c
      	* app/widgets/gimpgradienteditor.c
      	* app/tools/gimpblendtool.c
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.
      	* app/tools/gimppaintoptions-gui.c: added a "Reverse" toggle right
      	of the gradient preview.
      	* app/widgets/gimppreviewrenderergradient.[ch]: added "gboolean
      	reverse" member and gimp_preview_renderer_gradient_set_reverse()
      	* tools/pdbgen/pdb/paint_tools.pdb: fixed the paintbrush invoker
      	to set GimpPaintOption's "use-fade" and "use-gradient" properties
      	* app/pdb/gradients_cmds.c
      	* app/pdb/misc_tools_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimpmisctools_pdb.[ch]
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: removed GimpGradientPaintMode
      	here too since it was only exported accidentially (it's not used
      	by any external API).
      	* plug-ins/script-fu/scripts/3dTruchet.scm
      	* plug-ins/script-fu/scripts/alien-glow-arrow.scm
      	* plug-ins/script-fu/scripts/alien-glow-bar.scm
      	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
      	* plug-ins/script-fu/scripts/alien-glow-button.scm
      	* plug-ins/script-fu/scripts/alien-glow-logo.scm
      	* plug-ins/script-fu/scripts/basic1-logo.scm
      	* plug-ins/script-fu/scripts/basic2-logo.scm
      	* plug-ins/script-fu/scripts/beveled-button.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/coffee.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/glossy.scm
      	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
      	* plug-ins/script-fu/scripts/gradient-example.scm
      	* plug-ins/script-fu/scripts/pupi-button.scm
      	* plug-ins/script-fu/scripts/rendermap.scm
      	* plug-ins/script-fu/scripts/sphere.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/test-sphere.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/title-header.scm
      	* plug-ins/script-fu/scripts/weave.scm: pass "reverse" to
      	gimp_blend(). Pass FALSE in most cases and added script
      	parameters were it makes sense.
  19. 01 Jul, 2003 1 commit
  20. 24 Mar, 2003 1 commit
    • Michael Natterer's avatar
      register GimpPaintApplicationMode with the type system. · c40a6f99
      Michael Natterer authored
      2003-03-24  Michael Natterer  <mitch@gimp.org>
      	* app/paint/paint-enums.[ch]: register GimpPaintApplicationMode
      	with the type system.
      	* app/paint/gimppaintoptions.[ch]: replaced "gboolean incremental"
      	with "GimpPaintApplicationMode application_mode"
      	* app/paint/gimpairbrush.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppencil.c: changed accordingly.
      	* tools/pdbgen/pdb/paint_tools.pdb: ditto. Set all paint options
      	values using g_object_set().
      	* app/widgets/gimppropwidgets.[ch]: added
      	gimp_prop_enum_check_button_new() which can represent two
      	specified enum values and renders itself "inconsistent" for all
      	other values.
      	* app/tools/paint_options.c: use it for the "Incremental" toggle.
      	* app/pdb/paint_tools_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
  21. 08 Feb, 2003 1 commit
    • Michael Natterer's avatar
      the virtual serialize_property() returning FALSE doesn't mean the · 7fe80e8d
      Michael Natterer authored
      2003-02-08  Michael Natterer  <mitch@gimp.org>
      	* app/config/gimpconfig-serialize.c (gimp_config_serialize_property):
      	the virtual serialize_property() returning FALSE doesn't mean the
      	serialization failed but that the function didn't handle the
      	property, so don't error but continue with the default
      	implementation. Print newlines after properties only if
      	indent_level == 0.
      	* app/gui/tool-options-dialog.c: added tool options saving/loading
      	as quickly hacked proof-of-concept.
      	* app/paint/paint-enums.[ch]: added enum GimpInkBlobType.
      	* app/tools/gimpinkoptions.[ch]: ported to object properties,
      	* app/tools/gimpinktool.c: changed accordingly.
  22. 19 Mar, 2002 2 commits
    • Sven Neumann's avatar
      app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am · 3db3dff4
      Sven Neumann authored
      2002-03-19  Sven Neumann  <sven@gimp.org>
      	* app/base/Makefile.am
      	* app/base/base-enums.c
      	* app/core/Makefile.am
      	* app/core/core-enums.c
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-enums.c: purely cosmetic change.
      	* app/paint/Makefile.am
      	* app/paint/paint-enums.[ch]: generate paint-enums.c with registered
      	don't get exported to libgimp and are not registered as enum values.
      	* tools/pdbgen/pdb/paint_tools.pdb: removed special casing of
      	GimpBrushApplicationMode and GimpConvolveType since the forbidden
      	values are now skipped anyway.
      	* libgimp/gimpcompat.h: removed compat defines for the forbidden
      	enum values. They shouldn't have been used.
      	* app/tools/Makefile.am
      	* app/tools/tools-enums.[ch]: generate tools-enums.c with registered
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.h
      	* app/paint/gimpdodgeburn.h
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.[ch]
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/paint_options.c: changed accordingly. Added more enum
      	radio frames and enum option menus.
    • Sven Neumann's avatar
      app/paint/Makefile.am app/paint/paint-enums.h split enums into their own · 9ea91143
      Sven Neumann authored
      2002-03-19  Sven Neumann  <sven@gimp.org>
      	* app/paint/Makefile.am
      	* app/paint/paint-enums.h
      	* app/paint/paint-types.h: split enums into their own file and
      	namespacified them.
      	* app/tools/Makefile.am
      	* app/tools/tools-enums.h
      	* app/tools/tools-types.h: split enums into their own file.
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.[ch]
      	* app/paint/gimppaintoptions.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/paint_options.c
      	* plug-ins/gfig/gfig.c: changed accordingly.
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: added compatibility defines for
      	changed enums.
      	* tools/pdbgen/Makefile.am: updated list of headers to parse for enums.
      	* app/pdb/paint_tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/paint_tools.pdb: regenerated.