1. 20 Apr, 2011 1 commit
    • Michael Natterer's avatar
      Make libgimp depend on GdkPixbuf · 26bf2b0c
      Michael Natterer authored
      Move the pixbuf layer and image thumbnail function from libgimpui to
      libgimp and move gimp_layer_new_from_pixbuf() to gimplayer.[ch] where
      it belongs. Change gimp-2.0.pc accordingly, adapt plug-in Makefiles
      and update devel-docs.
      26bf2b0c
  2. 08 Mar, 2011 3 commits
  3. 30 Oct, 2010 1 commit
  4. 15 Sep, 2010 1 commit
  5. 08 Sep, 2010 1 commit
    • Michael Natterer's avatar
      pdb: add transform API for items · e8f4d4b4
      Michael Natterer authored
      Works for all item types, and has much less functions and parameters
      than the drawable transform API because it uses the new context
      states. Untested and not finished!
      e8f4d4b4
  6. 09 Jul, 2010 1 commit
    • Michael Natterer's avatar
      pdb: add a new PDB group "item" and move lots of functions to it · 2d6f808f
      Michael Natterer authored
      The item groups has all the duplicated functionality from drawable
      and vectors (name, visible, linked etc).
      
      Hijack the unused GIMP_PDB_REGION and turn it into GIMP_PDB_ITEM;
      change all protocol aware files accordingly and bump the protocol
      version number. Change script-fu to handle the new type.
      2d6f808f
  7. 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
  8. 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
  9. 02 Apr, 2008 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/Makefile.am new text layer PDB API created by Marcus Heese · d331fbd3
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/text_layer.pdb: new text layer PDB API 
      created
      	by Marcus Heese (see bug #164539).
      
      	* app/pdb/Makefile.am
      	* app/pdb/text_layer_cmds.c: new generated file.
      
      	* libgimp/Makefile.am
      	* libgimp/gimptextlayer_pdb.[ch]: new generated files.
      
      	* app/pdb/internal_procs.[ch]
      	* libgimp/gimp_pdb.h
      	* tools/pdbgen/groups.pl: regenerated.
      
      
      svn path=/trunk/; revision=25342
      d331fbd3
  10. 31 Oct, 2007 1 commit
    • Michael Natterer's avatar
      libgimpbase/Makefile.am removed. · 36bda892
      Michael Natterer authored
      2007-10-31  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/xdg-user-dir.[ch]: removed.
      
      	* libgimpbase/gimpbaseenums.[ch]: deprecate enum GimpUserDirectory.
      
      	* libgimpbase/gimpenv.[ch]: deprecate gimp_user_directory() and make
      	the implementation call g_get_user_special_dir().
      
      	* libgimp/Makefile.am: #undef GIMP_DISABLE_DEPRECATED in gimpenums.c
      
      	* app/widgets/gimpfiledialog.c: use g_get_user_special_dir() instead.
      
      	* plug-ins/pygimp/gimpmodule.c: #undef GIMP_DISABLE_DEPRECATED.
      
      
      svn path=/trunk/; revision=24018
      36bda892
  11. 25 Jun, 2007 1 commit
  12. 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
  13. 15 Nov, 2006 2 commits
    • Simon Budig's avatar
      Oops - missed a change in Makefile.am. · 55259d7f
      Simon Budig authored
      55259d7f
    • Simon Budig's avatar
      removed... · fd0e9de4
      Simon Budig authored
      2006-11-16  Simon Budig  <simon@gimp.org>
      
      	* libgimp/gimpdrawablecombobox.[ch]: removed...
      
      	* libgimp/gimpitemcombobox.[ch]: and added here. Factored out
      	a lot of common code and added a combo box for vectors objects.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h: changed accordingly.
      fd0e9de4
  14. 26 Jun, 2006 1 commit
    • Manish Singh's avatar
      libgimp/gimpuitypes.h abstract class for resource selection buttons. · 68dfb3f2
      Manish Singh authored
      2006-06-25  Manish Singh  <yosh@gimp.org>
      
              * libgimp/gimpuitypes.h
              * libgimp/gimpselectbutton.[ch]: abstract class for resource selection
              buttons.
      
              * libgimp/gimpfontselectbutton.[ch]: derive from GimpSelectButton.
      
              * libgimp/gimpbrushselectbutton.[ch]
              * libgimp/gimpgradientselectbutton.[ch]
              * libgimp/gimppaletteselectbutton.[ch]
              * libgimp/gimppatternselectbutton.[ch]: replacements for
              gimp_foo_select widgets, akin to GimpFontSelectButton.
      
              * libgimp/gimpbrushmenu.[ch]
              * libgimp/gimpgradientmenu.[ch]
              * libgimp/gimppalettemenu.[ch]
              * libgimp/gimppatternmenu.[ch]: deprecate old API, and reimplement
              in terms of GimpFooSelectButton.
      
              * libgimp/gimpfontmenu.[ch]: change to use the GimpSelectButton API.
      
              * libgimp/gimpuimarshal.list: new marshallers for the above new
              widgets.
      
              * libgimp/gimpui.h: add new headers.
      
              * libgimp/Makefile.am: add new files.
      
              * plug-ins/FractalExplorer/Dialogs.c
              * plug-ins/gfig/gfig-dialog.c
              * plug-ins/gfig/gfig-style.[ch]
              * plug-ins/script-fu/script-fu-interface.c: use new API.
      68dfb3f2
  15. 30 Sep, 2005 1 commit
    • Sven Neumann's avatar
      app/core/core-enums.[ch] moved GimpGridStyle enum to libgimpbase. · f6b37095
      Sven Neumann authored
      2005-09-30  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]
      	* libgimpbase/gimpbaseenums.[ch]: moved GimpGridStyle enum to
      	libgimpbase.
      
      	* app/core/gimpimage-grid.h: indentation.
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/grid.pdb: applied slightly modified patch by
      	Sylvain FORET that adds a PDB API for the image grid.
      
      	* app/pdb/grid_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpgrid_pdb.[ch]
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/groups.pl: (re)generated.
      
      	* libgimp/gimp.def
      	* libgimpbase/gimpbase.def: updated.
      f6b37095
  16. 27 Sep, 2005 1 commit
    • Michael Natterer's avatar
      added gimp_buffer_get_bytes() and gimp_buffer_get_image_type(). · 30f1e8ef
      Michael Natterer authored
      2005-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbuffer.[ch]: added gimp_buffer_get_bytes()
      	and gimp_buffer_get_image_type().
      
      	* tools/pdbgen/pdb/edit.pdb: removed edit_named_rename() and
      	edit_named_delete().
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/buffer.pdb: new PDB group featuring
      	buffer_rename(), delete(), get_width(), get_height(), get_bytes(),
      	get_image_type().
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/buffer_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpbuffer_pdb.[ch]
      	* libgimp/gimpedit_pdb.[ch]: (re)generated.
      30f1e8ef
  17. 19 Sep, 2005 1 commit
    • David Odin's avatar
      New object to handle zoom factor, and create widgets to control or view · 5b538db8
      David Odin authored
      * libgimpwidgets/gimpzoommodel.[ch]: New object to handle zoom
        factor, and create widgets to control or view this value.
      
      * libgimpwidgets/Makefile.am
      * libgimpwidgets/gimpwidgets.h: Added gimpzoommodel.[ch].
      
      * libgimpwidgets/gimpwidgetsenums.h: new enum: GimpZoomWidgetType.
        This enumerate which knid of widget you can created from the zoom
        model.
      
      * libgimpwidgets/gimpwidgetsenums.c
      * libgimpwidgets/gimpwidgetstypes.h: regenerated.
      
      * libgimpwidgets/gimppreview.c: move the update toggle to the bottom
        of the vbox.
      
      * libgimp/Makefile.am
      * libgimp/gimpui.h
      * libgimp/gimpuitypes.h
      * libgimp/gimpzoompreview.[ch]: New widget, derivated from
        GimpScrolledPreview, which offer the same functionnalities as the
        GimpAspectPreview widget plus zoom facilities.
      
      * plug-ins/common/AlienMap2.c
      * plug-ins/common/apply_lens.c
      * plug-ins/common/blinds.c
      * plug-ins/common/channel_mixer.c
      * plug-ins/common/colorify.c
      * plug-ins/common/flarefx.c
      * plug-ins/common/illusion.c
      * plug-ins/common/jigsaw.c
      * plug-ins/common/mapcolor.c
      * plug-ins/common/max_rgb.c
      * plug-ins/common/nova.c
      * plug-ins/common/polar.c
      * plug-ins/common/retinex.c
      * plug-ins/common/waves.c
      * plug-ins/common/whirlpinch.c: use a GimpZoomPreview instead of a
        GimpAspectPreview.
      5b538db8
  18. 02 Aug, 2005 1 commit
    • Michael Natterer's avatar
      plug-ins/dbbrowser/Makefile.am plug-ins/dbbrowser/gimpprocbrowser.[ch] · 4d369ec2
      Michael Natterer authored
      2005-08-02  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/dbbrowser/Makefile.am
      	* plug-ins/dbbrowser/gimpprocbrowser.[ch]
      	* plug-ins/dbbrowser/gimpprocview.[ch]: removed these files...
      
      	* libgimp/Makefile.am
      	* libgimp/gimpui.h
      	* libgimp/gimpui.def
      	* libgimp/gimpprocbrowserdialog.[ch]
      	* libgimp/gimpprocview.[ch]: ...and added them here. Turned the
      	procedure browser into a widget called GimpProcBrowserDialog and
      	changed its API completely. Fixes bug #165009.
      
      	* plug-ins/dbbrowser/plugin-browser.c
      	* plug-ins/dbbrowser/procedure-browser.c
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/script-fu/script-fu-console.c: changed accordingly.
      
      	* plug-ins/pygimp/Makefile.am
      	* plug-ins/pygimp/procbrowser.c: ditto (#if 0'ed stuff so it compiles).
      4d369ec2
  19. 26 Jun, 2005 1 commit
    • Sven Neumann's avatar
      allow to access (read-only) the current color management configuration · b10218ce
      Sven Neumann authored
      2005-06-26  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/gimprc.pdb: allow to access (read-only) the
      	current color management configuration through the PDB.
      
      	* libgimp/gimpgimprc_pdb.[ch]
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/internal_procs.c: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpgimprc.[ch]: wrap the new PDB function to make it
      	easier to use from plug-ins. This change adds a dependency on
      	libgimpconfig to libgimp.
      
      	* gimp.pc.in: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gfig/gfig-dialog.c
      	* plug-ins/gflare/gflare.c: no need to include gimpconfig.h
      	explicitely any longer.
      
      	* libgimp/gimpfontselectbutton.c: fixed gtk-doc comments.
      b10218ce
  20. 04 Jun, 2005 2 commits
    • Manish Singh's avatar
      reorder to get the marshal files built first. · 7475212d
      Manish Singh authored
      2005-06-04  Manish Singh  <yosh@gimp.org>
      
              * libgimp/Makefile.am: reorder to get the marshal files built first.
      7475212d
    • Manish Singh's avatar
      new formal widget based on gimpfontmenu.[ch]. · 7a63a798
      Manish Singh authored
      2005-06-04  Manish Singh  <yosh@gimp.org>
      
              * libgimp/gimpfontselectbutton.[ch]: new formal widget based on
              gimpfontmenu.[ch].
      
              * libgimp/gimpuimarshal.list: needed for new signal in above.
      
              * libgimp/gimpfontmenu.[ch]: deprecate, and thinly wrap around
              new GimpFontSelectButton for compatibility.
      
              * libgimp/gimpuitypes.h: add GimpFontSelectButton, as well
              as types for the future SelectButtons.
      
              * libgimp/gimpui.h
              * libgimp/Makefile.am: hook in the new widget.
      
              * plug-ins/common/film.c
              * plug-ins/script-fu/script-fu-interface.c: use new API.
      7a63a798
  21. 14 Apr, 2005 1 commit
    • Simon Budig's avatar
      Started a PDB api for vectors/strokes. Not yet functional, this commit is · 5658edd0
      Simon Budig authored
      2005-04-14  Simon Budig  <simon@gimp.org>
      
      	Started a PDB api for vectors/strokes. Not yet functional, this
      	commit is to get the infrastructure up and running.
      
      	* app/vectors/gimpstroke.[ch]
      	* app/vectors/gimpvectors.[ch]: Added IDs to the strokes
      
      	* tools/pdbgen/pdb.pl: corrected "vectors" type, deleted "path" type.
      	* tools/pdbgen/pdb/image.pdb: added gimp_image_get_vectors()
      	* tools/pdbgen/pdb/vectors.pdb: New file for the vectors API
      	(just a stub for now)
      
      	* tools/pdbgen/Makefile.am: Added vectors.pdb
      	* tools/pdbgen/groups.pl: regenerated.
      
      	* plug-ins/script-fu/siod-wrapper.c: Enable the Path/Vectors type.
      
      	* libgimp/gimpvectors_pdb.[ch]
      	* app/pdb/vectors_cmds.c: new autogenerated files.
      
      	* libgimp/Makefile.am
      	* app/pdb/Makefile.am: Added new autogenerated file.
      
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpimage_pdb.[ch]
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c: regenerated.
      5658edd0
  22. 13 Feb, 2005 1 commit
  23. 27 Oct, 2004 2 commits
    • Manish Singh's avatar
      Don't declare $first twice. · 7179ac43
      Manish Singh authored
      2004-10-27  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/enumcode.pl: Don't declare $first twice.
      
              * libgimp/Makefile.am: Be sure to distribute gimpenums.c.tail.
      
              * libgimp/gimpenums.c.tail: Added into CVS.
      7179ac43
    • Sven Neumann's avatar
      added new files gimpdrawabletranform_pdb.[ch]. · e421f840
      Sven Neumann authored
      2004-10-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/Makefile.am (PDB_WRAPPERS_H, PDB_WRAPPERS_C): added new
      	files gimpdrawabletranform_pdb.[ch].
      e421f840
  24. 25 Oct, 2004 3 commits
    • Michael Natterer's avatar
      register some missing enums. · b0305309
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch]: register some missing enums.
      
      	* tools/pdbgen/enumcode.pl: removed code to generate
      	plug-ins/script-fu/script-fu-constants.c, generate code to
      	explicitely initialize and query all of libgimp*'s enums
      	and write it to libgimp/gimpenums.c.tail
      
      	* libgimp/gimpenums.h: regenerated.
      
      	* libgimp/Makefile.am: append gimpenums.c.tail to gimpenums.c
      
      	* libgimp/gimp.c (gimp_main): call g_type_init() and
      	_gimp_enums_init().
      
      	* libgimp/gimp.def: added gimp_enums_get_type_names().
      
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/script-fu/script-fu-constants.[ch]: removed these files.
      
      	* plug-ins/script-fu/siod-wrapper.c: dynamically register all
      	constants using gimp_enums_get_type_names() and introspection.
      	Also register the built-in unit types.
      
      	* plug-ins/script-fu/script-fu.c: changed accordingly.
      b0305309
    • 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
    • Michael Natterer's avatar
      tools/pdbgen/enumcode.pl register all enums in libgimp/gimenums.h with the · a3eef872
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/enumcode.pl
      	* libgimp/Makefile.am: register all enums in libgimp/gimenums.h
      	with the type system.
      
      	* libgimp/gimpenums.h: regenerated.
      a3eef872
  25. 28 Sep, 2004 2 commits
    • David Odin's avatar
      libgimpwidgets/gimppreview.c split this widget into itself (more abstract · a001920e
      David Odin authored
      * libgimpwidgets/gimppreview.c
      * libgimpwidgets/gimppreview.h: split this widget into itself (more
        abstract now) and ...
      
      * libgimpwidgets/gimpscrolledpreview.c
      * libgimpwidgets/gimpscrolledpreview.h: this widget which also have
        some scrollbars and a nagivation preview.
      
      * libgimpwidgets/Makefile.am
      * libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      * libgimp/gimpaspectpreview.c
      * libgimp/gimpaspectpreview.h: Added this widget, derived from
        GimpPreview, which has always the same ratio has the given drawable.
        This widget has almost the same api as GimpDrawablePreview, and is
        useful for plug-ins that show the whole (scaled) drawable in their
        preview.
      
      * libgimp/gimpdrawablepreview.c
      * libgimp/gimpdrawablepreview.h: GimpDrawablePreview is now derived
        from GimpScrolledPreview.
      
      * libgimp/Makefile.am
      * libgimp/gimpui.h
      * libgimp/gimpuitypes.h: changed accordingly.
      
      * plug-ins/common/plasma.c: use a GimpAspectPreview.
      
      * plug-ins/common/bumpmap.c
      * plug-ins/common/cartoon.c
      * plug-ins/common/deinterlace.c
      * plug-ins/common/despeckle.c
      * plug-ins/common/dog.c
      * plug-ins/common/edge.c
      * plug-ins/common/engrave.c
      * plug-ins/common/exchange.c
      * plug-ins/common/gauss.c
      * plug-ins/common/grid.c
      * plug-ins/common/mblur.c
      * plug-ins/common/neon.c
      * plug-ins/common/noisify.c
      * plug-ins/common/oilify.c
      * plug-ins/common/photocopy.c
      * plug-ins/common/sel_gauss.c
      * plug-ins/common/sharpen.c
      * plug-ins/common/shift.c
      * plug-ins/common/sobel.c
      * plug-ins/common/softglow.c
      * plug-ins/common/spread.c
      * plug-ins/common/struc.c
      * plug-ins/common/unsharp.c
      * plug-ins/common/wind.c: use gimp_scrolled_preview_get_position
        instead of gimp_preview_get_position.
      a001920e
    • Michael Natterer's avatar
      tools/pdbgen/Makefile.am renamed group "gradient_edit" to "gradient" and · 3004cb1b
      Michael Natterer authored
      2004-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl: renamed group "gradient_edit" to
      	"gradient" and added "brush", "palette" and "pattern" groups.
      
      	* tools/pdbgen/pdb/gradient_edit.pdb: removed.
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern.pdb: new files containing functions
      	which create, duplicate, rename, delete, query and manipulate
      	a single brush, pattern etc.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: deprecated stuff that is obsolete
      	now and simply removed the procedures that were added after 2.0.
      
      	* app/pdb/gradient_edit_cmds.c
      	* libgimp/gimpgradientedit_pdb.[ch]: removed.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/pattern_cmds.c
      	* libgimp/gimpbrush_pdb.[ch]
      	* libgimp/gimpgradient_pdb.[ch]
      	* libgimp/gimppalette_pdb.[ch]
      	* libgimp/gimppattern_pdb.[ch]: new files.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]: regenerated.
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* plug-ins/gfig/gfig-style.c: changed accordingly.
      3004cb1b
  26. 23 Sep, 2004 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brushes.pdb tools/pdbgen/pdb/gradients.pdb · 46989bc7
      Michael Natterer authored
      2004-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: removed the foos_set_foo()
      	procedures and marked the foos_set_foo() ones as deprecated. For
      	brushes, patterns and palettes, added foos_get_foo_info()
      	procedures which work like foos_get_foo_data() but return just the
      	properties, not the actual data. Allow NULL or "" to be passed
      	as name to all functions (use the current brush, pattern etc.
      	in this case).
      
      	* tools/pdbgen/pdb/fonts.pdb: cleanup.
      
      	* app/pdb/procedural_db.c: added the removed ones to the compat
      	hash table.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpbrushes.[ch]
      	* libgimp/gimpgradients.[ch]
      	* libgimp/gimppalettes.[ch]
      	* libgimp/gimppatterns.[ch]: new files with compat functions
      	wich call the resp. gimp_context_*() functions.
      
      	* libgimp/gimp.h: changed accordingly.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]: regenerated.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gfig/gfig-dialog.c
      	* plug-ins/gfig/gfig-style.[ch]
      	* plug-ins/gflare/gflare.c: changed accordingly.
      46989bc7
  27. 22 Sep, 2004 2 commits
    • Michael Natterer's avatar
      removed the opacity and paint_mode functions... · 81256e00
      Michael Natterer authored
      2004-09-22  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brushes.pdb: removed the opacity and paint_mode
      	functions...
      
      	* tools/pdbgen/pdb/context.pdb: ...and added them here.
      
      	* app/pdb/procedural_db.c: added them to the pdb_compat hash table.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpbrushes.[ch]: new files with compat functions
      	which call the gimp_context_*() functions.
      
      	* libgimp/gimp.h: changed accordingly.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/context_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpcontext_pdb.[ch]: regenerated.
      81256e00
    • Michael Natterer's avatar
      tools/pdbgen/Makefile.am tools/pdbgen/groups.pl removed the "Palette" pdb · 35b372ea
      Michael Natterer authored
      2004-09-22  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/palette.pdb: removed the "Palette" pdb group...
      
      	* tools/pdbgen/pdb/context.pdb: and added its functions to the
      	"Context" namespace instead.
      
      	* app/pdb/Makefile.am
      	* app/pdb/palette_cmds.c: removed.
      
      	* app/pdb/procedural_db.c: added them to the pdb_compat hash table.
      
      	* libgimp/Makefile.am
      	* libgimp/gimppalette_pdb.[ch]: removed.
      
      	* libgimp/gimppalette.[ch]: new files holding compat functions
      	which call gimp_context_*() functions.
      
      	* libgimp/gimp.h
      	* libgimp/gimpui.c: changed accordingly.
      
      	* app/pdb/context_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpcontext_pdb.[ch]: regenerated.
      
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/film.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/mosaic.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/png.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/semiflatten.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/common/warp.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/gfig/gfig-style.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/maze/handy.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/pygimp/gimpmodule.c
      	* plug-ins/script-fu/scripts/*.scm: changed accordingly.
      35b372ea
  28. 01 Sep, 2004 1 commit
    • Michael Natterer's avatar
      libgimp/Makefile.am libgimp/gimpui.h libgimp/gimpuitypes.h new widget · 527f33bb
      Michael Natterer authored
      2004-09-01  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/gimpprogressbar.[ch]: new widget GimpProgressBar which
      	automatically redirects any progress calls to itself while
      	it exists.
      
      	* plug-ins/script-fu/script-fu-interface.c: removed all progress
      	callback and simply use a GimpProgressBar.
      527f33bb
  29. 30 Aug, 2004 1 commit
    • David Odin's avatar
      libgimpwidgets/gimppreview.c added a GimpPreview widget, abstract base for · 18139487
      David Odin authored
      * libgimpwidgets/gimppreview.c
      * libgimpwidgets/gimppreview.h: added a GimpPreview widget, abstract
        base for a GimpDrawablePreview.
      
      * libgimpwidgets/Makefile.am
      * libgimpwidgets/gimpwidgets.h
      * libgimpwidgets/gimpwidgetstypes.h: modified accordingly.
      
      * libgimp/gimpdrawablepreview.c
      * libgimp/gimpdrawablepreview.h: added a GimpDrawablePreview widget
        to ease	the use of previews by plug-ins.
      
      * libgimp/Makefile.am
      * libgimp/gimpui.h: Changed accordingly.
      
      * plug-ins/common/despeckle.c
      * plug-ins/common/gauss.c
      * plug-ins/common/neon.c
      * plug-ins/common/sobel.c
      * plug-ins/common/softglow.c
      * plug-ins/common/spread.c
      * plug-ins/common/unsharp.c: use a GimpDrawablePreview with these plug-ins.
      18139487
  30. 29 Aug, 2004 1 commit
    • Michael Natterer's avatar
      Added an API to allow plug-ins to embed the progress for the actions they · 065db21d
      Michael Natterer authored
      2004-08-29  Michael Natterer  <mitch@gimp.org>
      
      	Added an API to allow plug-ins to embed the progress for the
      	actions they trigger into their own GUI (attention: half-done and
      	broken code ahead...)
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimppdbprogress.[ch]: new object implementing dispatching
      	progress calls to a temporary PDB procedure in a plug-in.
      
      	* app/Makefile.am: force to link gimppdbprogress.o, bah!
      
      	* app/plug-in/plug-in-progress.[ch]: added API to install,
      	uninstall and cancel a PDB progress for this plug-in, but disabled
      	the implementation because it doesn't work yet.
      
      	* tools/pdbgen/pdb/progress.pdb: added pdb wrappers for the new
      	install, uninstall and cancel functions.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpprogress.[ch]: added an API around the PDB progress
      	stuff.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* plug-ins/script-fu/script-fu-scripts.c: use the new API to show
      	the progress in the script-fu dialog.
      065db21d
  31. 27 Aug, 2004 1 commit
    • Michael Natterer's avatar
      Moved the gimp_progress_init() and gimp_progress_update() PDB functions to · d7f73e6f
      Michael Natterer authored
      2004-08-27  Michael Natterer  <mitch@gimp.org>
      
      	Moved the gimp_progress_init() and gimp_progress_update() PDB
      	functions to their own group because they don't belong to the
      	"Plug-In" namespace and will soon get more functions.
      
      	* tools/pdbgen/pdb/plug_in.pdb: removed the progress stuff...
      
      	* tools/pdbgen/pdb/progress.pdb: ...and added it here.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am: changed accordingly.
      
      	* libgimp/gimpprogress_pdb.[ch]: new generated files.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      d7f73e6f