1. 20 Aug, 2009 1 commit
  2. 08 Aug, 2009 1 commit
  3. 06 Nov, 2008 1 commit
    • Sven Neumann's avatar
      use NC_() to mark enum values for translation. Use a lower-case short form · 02817081
      Sven Neumann authored
      2008-11-06  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-mkenums: use NC_() to mark enum values for 
      translation.
      	Use a lower-case short form of the type name as translation 
      context.
      
      	* libgimp/libgimp-intl.h: define the NC_() macro as noop.
      
      	* libgimpbase/gimpbasetypes.[ch]
      	* libgimpbase/gimpbase.def: added new functions to set and
      	get a translation context on an enum type.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am:
      	* libgimpconfig/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am: register the translation context
      	with the enum types.
      
      	* app/display/display-enums.h
      	* libgimpbase/gimpbaseenums.h
      	* libgimpconfig/gimpcolorconfig-enums.h: removed old-style 
      explicit
      	translation context.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/plug-in/plug-in-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c
      	* libgimpconfig/gimpcolorconfig-enums.c
      	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      
      svn path=/trunk/; revision=27562
      02817081
  4. 03 Nov, 2008 1 commit
    • Sven Neumann's avatar
      app/base/Makefile.am app/core/Makefile.am app/display/Makefile.am · fe520925
      Sven Neumann authored
      2008-11-03  Sven Neumann  <sven@gimp.org>
      
      	
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am: 
      	* libgimpconfig/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am: micro-optimization in the 
      generated
      	enum registration code.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/plug-in/plug-in-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c
      	* libgimpconfig/gimpcolorconfig-enums.c
      	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      
      svn path=/trunk/; revision=27538
      fe520925
  5. 09 Oct, 2008 1 commit
    • Michael Natterer's avatar
      Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a · 5503e6a0
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h
      	had a GEGL dependency (they will have in the next commit, but I
      	wanted to keep the commit separate).
      
      	* app/dialogs/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/menus/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/vectors/Makefile.am
      	* app/widgets/Makefile.am
      	* app/xcf/Makefile.am: add GEGL_CFLAGS.
      
      	* app/actions/*.c
      	* app/core/*.c
      	* app/dialogs/*.c
      	* app/display/*.c
      	* app/file/*.c
      	* app/gui/*.c
      	* app/menus/*.c
      	* app/paint/*.c
      	* app/pdb/gimppdb-utils.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/*.c
      	* app/text/*.c
      	* app/tools/*.c
      	* app/vectors/*.c
      	* app/widgets/*.c
      	* app/xcf/*.c: add <gegl.h> or replace <glib-object.h> by <gegl.h>
      	to all files which include a drawable subclass or gimpimage.h
      
      	* tools/pdbgen/app.pl: include <gegl.h> instead of <glib-object.h>
      	in all generated files.
      
      	* app/pdb/*-cmds.c: regenerated.
      
      	* data/images/gimp-splash.png: the goat is still sleeping.
      	By Aurore Derriennic.
      
      
      svn path=/trunk/; revision=27202
      5503e6a0
  6. 07 Oct, 2008 1 commit
  7. 25 Jun, 2007 1 commit
  8. 07 Jun, 2007 1 commit
    • Sven Neumann's avatar
      app/text/Makefile.am app/core/Makefile.am app/tools/Makefile.am · f3228540
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/text/Makefile.am
      	* app/core/Makefile.am
      	* app/tools/Makefile.am
      	* app/display/Makefile.am
      	* app/widgets/Makefile.am
      	* app/base/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpthumb/Makefile.am
      	* tools/pdbgen/Makefile.am
      	* libgimpwidgets/Makefile.am: applied the remaining parts of the
      	patch from Daniel Richard G. to fix out-of-source-tree builds
      	(bug #444960).
      
      svn path=/trunk/; revision=22735
      f3228540
  9. 03 Feb, 2007 1 commit
    • Michael Natterer's avatar
      app/paint/gimppaintcore-undo.[ch] removed... · 792ba898
      Michael Natterer authored
      2007-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore-undo.[ch]
      	* app/paint/gimpink-undo.[ch]: removed...
      
      	* app/paint/Makefile.am
      	* app/paint/paint-types.h
      	* app/paint/gimppaintcoreundo.[ch]
      	* app/paint/gimpinkundo.[ch]: ...and added as proper undo classes.
      
      	* app/paint/gimppaintcore.[ch]
      	* app/paint/gimpink.c: push undos using the new classes.
      
      
      svn path=/trunk/; revision=21842
      792ba898
  10. 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
      	entry.
      
      	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.
      1b149765
  11. 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.
      fca7fc02
  12. 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
      	GimpSourceAlignMode.
      
      	* 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
      	options.
      
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpcloneoptions.[ch]: remove that functionality here
      	and derive from the new classes.
      
      	* app/tools/gimpclonetool.c: changed accordingly.
      47b50d91
    • 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.
      db526795
  13. 13 Feb, 2005 1 commit
    • Sven Neumann's avatar
      check for gthread-2.0 unless the --disable-mp option is given. · 9511753a
      Sven Neumann authored
      2005-02-13  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: check for gthread-2.0 unless the --disable-mp
      	option is given.
      
      	* app/app_procs.c (app_libs_init): call g_thread_init().
      
      	* app/base/pixel-processor.c: ported to GThread.
      
      	* app/Makefile.am
      	* app/*/Makefile.am: use @GTHREAD_CFLAGS@.
      9511753a
  14. 14 Jan, 2005 1 commit
    • Michael Natterer's avatar
      added GIMP_UNDO_INK. · d4177c88
      Michael Natterer authored
      2005-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch] (enum GimpUndoType): added GIMP_UNDO_INK.
      
      	* app/paint/gimppaintcore.[ch]: added virtual function
      	GimpPaintCore::push_undo() and call it.
      
      	* app/paint/gimppaintcore-undo.[ch]: made it the default
      	implementation.
      
      	* app/paint/gimpink-blob.[ch]: added blob_duplicate().
      
      	* app/paint/gimpink.[ch]: added a "start_blob" (just like
      	GimpPaintCore::start_coords) which gets set whenever we start a
      	new stroke or line. Removed ink->lastx and ink->lasty because
      	they are the same as paint_core->last_coords.
      
      	* app/paint/Makefile.am
      	* app/paint/gimpink-undo.[ch]: new files implementing an
      	undo step for ink which restores the last blob used along
      	with the whole ink state. Fixes bug #163670.
      d4177c88
  15. 25 Oct, 2004 1 commit
    • Michael Natterer's avatar
      Don't store human readable and translatable enum/flag strings in · 67116466
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	Don't store human readable and translatable enum/flag strings in
      	GEnumValue's and GTypeValue's fields but attach them to their
      	GType using separate structs and utility functions:
      
      	* tools/gimp-mkenums: added params and perl voodoo to support
      	generating a second array of values, which is used by the
      	Makefiles below to create and register arrays of value
      	descriptions.
      
      	* libgimpbase/gimpbasetypes.[ch]: added API to attach/retreive
      	arrays of translatable strings to/from enum and flags types. Added
      	structs GimpEnumDesc and GimpFlagsDesc for that purpose.
      
      	* libgimpbase/gimputils.[ch]: changed existing enum utility
      	functions, added new ones and added a symmetric API for flags.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am: changed *-enums.c generation rules
      	accordingly.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c: regenerated.
      
      	* app/widgets/gimpenumstore.c
      	* app/widgets/gimpenumwidgets.c
      	* app/widgets/gimptemplateeditor.c
      	* libgimpwidgets/gimppreviewarea.c: follow the enum utility
      	function API changes.
      67116466
  16. 28 Jul, 2004 1 commit
    • Michael Natterer's avatar
      added still unused flags type GimpDirtyMask. · ee42d8f5
      Michael Natterer authored
      2004-07-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.h: added still unused flags type
      	GimpDirtyMask.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimpthumb/Makefile.am: changed calls to gimp-mkenums to
      	support GTypeFlags and to make the value arrays private to the
      	get_type() functions.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c: regenerated.
      ee42d8f5
  17. 26 May, 2004 1 commit
    • Michael Natterer's avatar
      app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] · 5e07ceb8
      Michael Natterer authored
      2004-05-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/Makefile.am
      	* app/paint/gimpink-blob.[ch]
      	* app/paint/gimpink.[ch]
      	* app/paint/gimpinkoptions.[ch]: new files. Ported the ink tool
      	to be a direct GimpPaintCore subclass without any GUI.
      
      	* app/paint/gimp-paint.c: register GimpInk with the list of paint
      	cores.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpinkoptions.[ch]
      	* app/tools/gimpinktool-blob.[ch]: removed these files.
      
      	* app/tools/gimpinkoptions-gui.[ch]: new files containing only
      	the GUI for GimpInkOptions.
      
      	* app/tools/gimpinktool.[ch]: reduced to some few lines which
      	implement a simple GimpPaintTool subclass.
      
      	* app/tools/gimp-tools.c: associate the GimpInk paint_core with
      	the GimpInkTool.
      5e07ceb8
  18. 25 May, 2004 1 commit
    • Michael Natterer's avatar
      app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore · 9a41a73d
      Michael Natterer authored
      2004-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/Makefile.am
      	* app/paint/gimpbrushcore-kernels.h
      	* app/paint/gimpbrushcore.[ch]: new GimpPaintCore subclass
      	containing all the brush painting specific stuff.
      
      	* app/paint/gimppaintcore-kernels.h: removed this file.
      
      	* app/paint/gimppaintcore.[ch]: removed all brush stuff.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.[ch]
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.[ch]: changed accordingly. Derive all
      	classes which used to derive directly from GimpPaintCore from
      	GimpBrushCore now. Lots of cleanup.
      
      	* app/paint/paint-types.h
      	* app/paint/gimp-paint.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/tools/gimppainttool.c
      	* tools/kernelgen.c: changed accordingly.
      9a41a73d
  19. 09 Feb, 2004 1 commit
    • Manish Singh's avatar
      app/file/Makefile.am app/paint/Makefile.am app/text/Makefile.am changed · d14a5075
      Manish Singh authored
      2004-02-09  Manish Singh  <yosh@gimp.org>
      
              * app/file/Makefile.am
              * app/paint/Makefile.am
              * app/text/Makefile.am
              * app/xcf/Makefile.am: changed GTK_CFLAGS to GDK_PIXBUF_CFLAGS, since
              we don't use any gtk/gdk functions here. This especially helps in the
              text directory, since it avoids problems on broken setups with old
              fontconfig stuff in the X11 directory lying around.
      d14a5075
  20. 13 Dec, 2003 1 commit
    • Hans Breuer's avatar
      [ I've postponed my reservations against pangoft2/fontconfig/freetype2 · 1baa2d45
      Hans Breuer authored
      2003-12-12  Hans Breuer  <hans@breuer.org>
      
      	[
      	 I've postponed my reservations against pangoft2/fontconfig/freetype2
      	 usage, so The Gimp should now build with msvc without patching it.
      	]
      
      	* app/makefile.msc app/text/makefile.msc : use $(PANGOFT2_CFLAGS) etc.
      
      	* libgimpthumb/makefile.msc : (new file)
      	* makefile.msc : added libgimpthumb
      
      	* libgimpthumb/gimpthumbnail.c : include gimpwin32-io.h
      	* libgimpthumb/gimpthumb-utils.c : don't compare size pointer
      	with GIMP_THUMB_SIZE_FAIL but *size
      
      	* plug-ins/makefile.msc : handle libgimpoldpreview
      
      	* plug-ins/common/decompose.c : define cbrt() if not __GLIBC__
      
      	* plug-ins/common/winclipboard.c : make it compile without gimpcompat.h
      
      	* plug-ins/imagemap/imagemap_csim_lex.c : its a generated file
      	but still win32/msvc has no unistd.h
      
      	* plug-ins/pygimp/makefile.msc : (new file) to use the binary you
      	need to patch glib, see bug #98737
      
      	* plug-ins/libgimpoldpreview.c : use <libgimp/gimp.h> instead of "gimp.h"
      
      	* **/Makefile.am : added makefile.msc to EXTRA_DIST
      1baa2d45
  21. 18 Sep, 2003 1 commit
    • Michael Natterer's avatar
      app/paint/Makefile.am removed... ...and added. · 6b2ca702
      Michael Natterer authored
      2003-09-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/Makefile.am
      	* app/paint/paint.[ch]: removed...
      	* app/paint/gimp-paint.[ch]: ...and added.
      
      	* app/core/gimp.c: changed accordingly.
      
      	* app/tools/Makefile.am
      	* app/tools/tools.[ch]: removed...
      
      	* app/tools/gimp-tools.[ch]: ...and added. Added
      	gimp_tools_restore() and gimp_tools_save() and moved the entire
      	tool registering and tool_options loading/saving code here. Call
      	tool_manager_init() from gimp_tools_init() and tool_manager_exit()
      	from gimp_tools_exit().
      
      	* app/tools/tool_manager.[ch]: removed the code which now lives
      	in gimp-tools.[ch]. The tool manager now has no knowledge about
      	individual tools any more and just handles the active_tool
      	and the tool part of tool <-> display interaction.
      	Removed tool_manager_get_info_by_type().
      
      	* app/tools/gimpvectortool.c (gimp_vector_tool_register): the
      	tool's identifier is "gimp-vector-tool", not "gimp-path-tool".
      
      	* app/app_procs.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimppainttool.c: changed accordingly.
      6b2ca702
  22. 07 Sep, 2003 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am app/gui/Makefile.am app/paint/Makefile.am · 6f1a0df8
      Sven Neumann authored
      2003-09-07  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/gui/Makefile.am
      	* app/paint/Makefile.am
      	* app/pdb/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* app/xcf/Makefile.am (INCLUDES): removed $(LIBART_CFLAGS) again.
      6f1a0df8
  23. 06 Sep, 2003 1 commit
  24. 14 Jul, 2003 2 commits
    • Michael Natterer's avatar
      Argh... · 070fafb5
      Michael Natterer authored
      2003-07-14  Michael Natterer  <mitch@gimp.org>
      
      	Argh...
      
      	* app/paint/Makefile.am
      	* app/paint/gimppencil.[ch]: added it again as GimpPaintbrush
      	subclass and override nothing but the user visible undo name and
      	the paint_options type.
      
      	* app/paint/paint.c
      	* app/tools/tool_manager.c
      	* app/tools/gimppenciltool.c
      	* tools/pdbgen/pdb/paint_tools.pdb: reverted my last changes.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      070fafb5
    • Michael Natterer's avatar
      app/paint/Makefile.am removed. · e1e943b9
      Michael Natterer authored
      2003-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/Makefile.am
      	* app/paint/gimppencil.[ch]: removed.
      
      	* app/paint/gimppenciloptions.[ch]: new files. Does nothing except
      	setting the default value of "hard" to TRUE.
      
      	* app/paint/paint.c
      	* app/tools/tool_manager.c: changed accordingly.
      
      	* app/tools/gimppenciltool.c
      	* tools/pdbgen/pdb/paint_tools.pdb: use the pintbrush core for
      	pencil drawing.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* app/tools/gimppaintoptions-gui.c: show all paintbrush options
      	except "Hardness" for the pencil tool.
      e1e943b9
  25. 25 Mar, 2003 1 commit
  26. 14 Feb, 2003 1 commit
    • Michael Natterer's avatar
      Moved the undo step implementations to the core and pass around lots of · 7a6a8d9d
      Michael Natterer authored
      2003-02-14  Michael Natterer  <mitch@gimp.org>
      
      	Moved the undo step implementations to the core and pass around
      	lots of "const gchar *undo_desc". Fixes bug #104367.
      
      	* app/Makefile.am
      	* app/undo.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-undo-push.[ch]: ...and added here.
      
      	* app/paint/Makefile.am
      	* app/tools/Makefile.am
      	* app/paint/gimppaintcore-undo.[ch]
      	* app/tools/gimptransformtool-undo.[ch]: new files for the
      	paint and transform undos.
      
      	* app/core/gimppaintinfo.[ch]: added a blurb.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint-types.h
      	* app/paint/paint.c: pass the blurb when registering the core.
      
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimage-mask-select.[ch]
      	* app/core/gimpimage-mask.[ch]
      	* app/core/gimpimagemap.[ch]
      	* app/core/gimplayer-floating-sel.[ch]: added "undo_desc" parameters
      	to all undo pushing helper functions.
      
      	* app/undo_history.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/gui/channels-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/text/gimptext-compat.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpselectioneditor.c
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly: pass
      	"undo_desc" strings, changed includes or simply removed inclusion
      	of "undo.h". Some random cleanups.
      
      	* tools/pdbgen/pdb/guides.pdb: cleaned up a lot. Fixed
      	gimp_image_find_next_guide() to not return guides with
      	position < 0 (and made it shorter and readable).
      
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/guides_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c: regenerated.
      7a6a8d9d
  27. 05 Feb, 2003 2 commits
    • Michael Natterer's avatar
      Made GimpToolOptions a GimpContext subclass and objectified all tool · aa9f82d1
      Michael Natterer authored
      2003-02-05  Michael Natterer  <mitch@gimp.org>
      
      	Made GimpToolOptions a GimpContext subclass and objectified
      	all tool options types.
      
      	* app/core/core-types.h: replaced GimpToolOptionsNewFunc by
      	GimpToolOptionsGUIFunc.
      
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      
      	* app/core/gimppaintinfo.[ch]: added "GType paint_options_type".
      
      	* app/core/gimptoolinfo.[ch]: added "GType tool_options_type",
      	removed tool_info->context since GimpToolOptions are a GimpContext
      	now. Added "gboolean use_context" as a temp_hack.
      
      	* libgimptool/gimptooltypes.h: added the tool_options_type to
      	the tool registering callback.
      
      	* app/tools/tool_options.[ch]: is a real GimpContext subclass now.
      
      	* app/paint/paint-types.h
      	* app/paint/paint.c: added the paint_options_type to the paint
      	registering stuff.
      
      	* app/paint/gimppaintoptions.[ch]: is a real GimpToolOptions
      	subclass now.
      
      	* app/paint/Makefile.am
      	* app/paint/gimpairbrushoptions.[ch]
      	* app/paint/gimpcloneoptions.[ch]
      	* app/paint/gimpconvolveoptions.[ch]
      	* app/paint/gimpdodgeburnoptions.[ch]
      	* app/paint/gimperaseroptions.[ch]
      	* app/paint/gimpsmudgeoptions.[ch]: new files holding
      	GimpPaintOptions subclasses.
      
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.[ch]
      	* app/paint/gimpsmudge.[ch]: removed paint options stuff, lots
      	of related changed & cleanups.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpblendoptions.[ch]
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpcolorpickeroptions.[ch]
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.[ch]
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimpvectoroptions.[ch]: new files holding the various
      	tool options classes.
      
      	* app/tools/selection_options.[ch]
      	* app/tools/transform_options.[ch]: made them objects.
      
      	* app/tools/paint_options.[ch]: contains only the paint_options
      	GUI and reset stuff.
      
      	* app/tools/tools-types.h: removed SelectionOptions typedef for
      	now.
      
      	* app/tools/[all tools]: removed the tool options stuff except
      	some GUI constructors. Tons of related changes.
      
      	* app/tools/tool_manager.[ch]: changed tool registration / restore /
      	switching accordingly.
      
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpselectioneditor.c: changed accordingly.
      aa9f82d1
    • Sven Neumann's avatar
      fixed rules for generated sources. · 4f22db21
      Sven Neumann authored
      2003-02-05  Sven Neumann  <sven@gimp.org>
      
              * app/paint/Makefile.am: fixed rules for generated sources.
      
              * app/text/Makefile.am
              * app/text/text-enums.[ch]: added new files with text-related enums.
      
              * app/text/gimptext.[ch]: added text alignment property.
      
              * app/text/gimptext-render.[ch]: removed
      
              * app/text/text-types.h
              * app/text/gimptextlayout.[ch]: added new files that define
              GimpTextLayout, a wrapper around PangoLayout. Moved render code to
              this file.
      
      	* app/text/gimptextlayer.c: changed accordingly.
      4f22db21
  28. 03 Feb, 2003 1 commit
    • Michael Natterer's avatar
      removed the "truly ugly hack"... · f7a91117
      Michael Natterer authored
      2003-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am: removed the "truly ugly hack"...
      
      	* app/Makefile.am: ...and changed the linking order instead.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/paint/Makefile.am
      	* app/widgets/Makefile.am: fixed typo.
      f7a91117
  29. 31 Jan, 2003 1 commit
    • Sven Neumann's avatar
      allow NULL as context parameter in gimp_font_selection_new(). The widget · 57a23b7b
      Sven Neumann authored
      2003-01-31  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpfontselection.c: allow NULL as context parameter
      	in gimp_font_selection_new(). The widget then uses a default
      	PangoFT2Context.
      
      	* app/tools/gimptexttool.c (text_tool_options_new): call
      	gimp_font_selection_new() with a NULL context. The text tool now
      	doesn't know about Pango any longer.
      
      	* app/paint/Makefile.am
      	* app/tools/Makefile.am (INCLUDES): removed PANGOFT2_CFLAGS.
      57a23b7b
  30. 07 Jun, 2002 1 commit
    • Sven Neumann's avatar
      app/base/Makefile.am automake-1.6 seems to use yet another variable to · 3aae3940
      Sven Neumann authored
      2002-06-08  Sven Neumann  <sven@gimp.org>
      
      	* app/base/Makefile.am
      	* app/paint-funcs/Makefile.am: automake-1.6 seems to use yet another
      	variable to pass flags to the assembler (bug #84514). Define
      	AM_CCASFLAGS like AM_ASFLAGS to satisfy all versions of automake.
      
      	* configure.in
      	* all Makefiles: removed STRIP_BEGIN and STRIP_END since it's a
      	GNU make extension that we don't really need and newer versions of
      	automake don't seem to like it.
      3aae3940
  31. 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
      	enums. Skip GIMP_BRUSH_PRESSURE and GIMP_CUSTOM_CONVOLVE so they
      	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
      	enums.
      
      	* 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.
      3db3dff4
    • 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.
      9ea91143
  32. 13 Mar, 2002 1 commit
    • Sven Neumann's avatar
      moved pdb directory to the end. · 6f0c89d0
      Sven Neumann authored
      2002-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/Makefile.am (SUBDIRS): moved pdb directory to the end.
      
      	* app/paint/Makefile.am: removed the ugly hack. Seems to work w/o it.
      
      	* themes/Default/Makefile.am: don't build inline pixbuf headers here.
      
      	* themes/Default/images/Makefile.am: build them here with a hack
      	that extracts the icon names out of the filenames. Cleaner Makefile
      	and correct dependencies.
      
      	* themes/Default/imagerc
      	* themes/Default/images/stock-button-reset.png: added a reset button
      	(which looks just like refresh at the moment).
      
      	* themes/Default/images/tools/Makefile.am: removed.
      
      	* libgimpwidgets/gimpstock.c
      	* libgimpwidgets/gimpwidgets.c: include the pixbuf headers from their
      	new places.
      6f0c89d0
  33. 27 Feb, 2002 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am new object for registering GimpPaintCore subclasses, · 6086f832
      Michael Natterer authored
      2002-02-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimppaintinfo.[ch]: new object for registering
      	GimpPaintCore subclasses, just like GimpToolInfo for tools.
      
      	* app/core/gimp.h: added gimp->paint_info_list to hold them.
      
      	* app/core/gimptoolinfo.[ch]: removed the "pdb_string" and
      	"paint_core_name" pointers and added a GimpPaintInfo pointer
      	instead.
      
      	* app/core/gimpimage-mask.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/tool_manager.c: changed accordingly.
      
      	* app/paint/paint-types.h
      	* app/paint/paint.c: added paint class registration stuff like
      	the tool_manager does.
      
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.[ch]
      	* app/paint/gimppencil.[ch]
      	* app/paint/gimpsmudge.[ch]: added register functions which are
      	called from paint_init().
      
      	The core object system lives not only in "core/", but in
      	core, paint, vectors, file, plug-in and xcf, so I had to hack
      	a bit to keep the deps working:
      
      	* app/pdb/pdb-types.h: don't include "paint/paint-types.h"...
      
      	* app/core/core-types.h: ...because it's included here. Moved
      	the inclusions of the core's subsystems' "foo/foo-types.h"
      	files to the end of the file.
      
      	* app/paint/Makefile.am: Some slimy radioactive uglyness.
      
      	* app/gui/drawable-commands.c
      	* app/tools/gimpblendtool.c: removed calling core functions via
      	the PDB because it makes no sense to do it manually in only a few
      	places.  This needs to be done generically using generated
      	wrappers living in "app/commands/" or something...
      6086f832
  34. 26 Feb, 2002 2 commits
    • Michael Natterer's avatar
      Added some kind of paint core registry. It's ugly and will change... · a2bd2ac2
      Michael Natterer authored
      2002-02-26  Michael Natterer  <mitch@gimp.org>
      
      	Added some kind of paint core registry. It's ugly and will change...
      
      	* app/core/gimp.c: call paint_init() and paint_exit().
      
      	* app/core/gimptoolinfo.[ch]: added "gchar *paint_core_name" to
      	the GimpToolInfo structure and the contstructor.
      
      	* app/tools/tool_manager.c: pass the class names of the
      	GimpPaintCore subclasses to gimp_tool_info_new().
      
      	* app/paint/Makefile.am
      	* app/paint/paint.[ch]: new files. Simlply ref/unref all paint
      	core classes so we can find them using g_type_from_name().
      
      	* app/paint/gimppaintcore-stroke.[ch]: changed to take an array
      	of GimpCoords, not just gdouble.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: convert the stroke array here.
      
      	* app/gui/vectors-commands.c: ad-hoc implementation of vectors
      	stroking.  Double click now sets the active vectors in the vectors
      	tool.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      a2bd2ac2
    • Sven Neumann's avatar
      some documentation can't hurt. · 9c9b152c
      Sven Neumann authored
      2002-02-26  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/tips-parser.c: some documentation can't hurt.
      
      	* app/tools/Makefile.am
      	* app/paint/Makfile.am
      	* app/vectors/Makfile.am
      	* plug-ins/tools/Makefile.am: fixed dist target.
      9c9b152c
  35. 21 Feb, 2002 1 commit
    • Michael Natterer's avatar
      Made the paint tool PDB wrappers work again (a bit at least...) · 9c510759
      Michael Natterer authored
      2002-02-21  Michael Natterer  <mitch@gimp.org>
      
      	Made the paint tool PDB wrappers work again (a bit at least...)
      
      	* app/Makefile.am: changed linking order. libtool sucks.
      
      	* app/undo.c: check if active_tool is a GimpPaintTool before
      	casting it.
      
      	* app/paint/Makefile.am
      	* app/paint/paint-types.h: added new files/types.
      
      	* app/paint/gimppaintoptions.[ch]: new files cut out of
      	tools/paint_options.h. Prefixed everything with "Gimp". There is
      	still GtkWidget* cruft hanging around in the structs...
      
      	* app/paint/gimppaintcore-stroke.[ch]: utility function
      	which paints a stroke array. Needed for the PDB wrappers.
      
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.[ch]
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.[ch]: added *_options_new() functions which
      	create correctly initialized options structures without widgets.
      
      	* app/tools/paint_options.[ch]: removed the options struct
      	definitions and value initialisations.
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpsmudgetool.c: changed all paint_options functions
      	accordingly, s/PaintOptions/GimpPaintOptions/g etc., removed all
      	#if 0'ed non_gui functions.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: use gimp_paint_core_stroke().
      	We currently leak all paint_options structs created by the PDB
      	wrappers, more stuff to come...
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      9c510759