1. 03 Sep, 2019 1 commit
  2. 22 Aug, 2019 5 commits
    • Jehan's avatar
    • Jehan's avatar
      pdb, libgimp: now make all ID types classes of their own. · 8c95499e
      Jehan authored
      No need of is_id_arg() anymore in pdb/lib.pl. Let's reuse the {id}
      value. Also I had to add an additional trick for GimpDisplay which we
      will now generate as such in libgimp PDB files, but still need to show
      as GimpObject on app/pdb/.
      
      As previously, only the new classes and the PDB generation for a first
      step.
      8c95499e
    • Jehan's avatar
      pdb: keep both the old and new API alive. · fec6034c
      Jehan authored
      By default the new API will be used. But if we build with
      GIMP_DEPRECATED_REPLACE_NEW_API macro, then the same function names will
      call the old API with ids.
      
      This way, we don't have to update all our plug-ins at once (which I
      tried and is very tedious work).
      
      Note that bindings won't have access to the deprecated API at all.
      fec6034c
    • Jehan's avatar
      libgimp: generate functions both for old and new GimpImage APIs. · 17a40b04
      Jehan authored
      This way, it would still be possible to use the old API. WIP.
      17a40b04
    • Jehan's avatar
      app, pdb, libgimp: add a new GimpImage class for plug-ins. · 4db8cda2
      Jehan authored
      This means that all functions which were returning or taking as
      parameter an image id (as gint32) are now taking a GimpImage object
      instead.
      The PDB is still passing around an id only over the wire. But we create
      an object for plug-ins to work on.
      
      This is quite a huge API break, but is probably the best bet for the
      future quality. It will make nicer API instrospection (and nicer API in
      binding), will fix the issues with pspec on GimpImageID in Python
      bindings (which makes the current Python API unusable as soon as we need
      to work on images, which is most of our plug-ins!), etc.
      Also it will allow to use signals on images, which will be a great asset
      when we will finally have bi-directionnal communications (i.e. plug-ins
      would be able to connect to image changes, destructions, and whatnot).
      4db8cda2
  3. 11 Jul, 2018 1 commit
  4. 28 Apr, 2011 1 commit
  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
      d9b5207a
  6. 09 Jan, 2007 1 commit
    • Sven Neumann's avatar
      HACKING tools/pdbgen/lib.pl fixed spelling of "auto-generated". · dcc6ebd1
      Sven Neumann authored
      2007-01-09  Sven Neumann  <sven@gimp.org>
      
      	* HACKING
      	* tools/pdbgen/lib.pl
      	* tools/pdbgen/app.pl: fixed spelling of "auto-generated".
      
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb: improved wording and fixed
      	spelling errors.
      	
      	* libgimp/gimp.c: fixed spelling errors.
      
      	* app/pdb/*.h: 
      	* libgimp/gimp*_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=21676
      dcc6ebd1
  7. 22 Aug, 2006 1 commit
  8. 12 Apr, 2006 1 commit
  9. 25 Oct, 2005 1 commit
    • Sven Neumann's avatar
      add G_GNUC_INTERNAL to declaration of wrapped PDB functions. · dc4757ce
      Sven Neumann authored
      2005-10-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/lib.pl: add G_GNUC_INTERNAL to declaration of
      	wrapped PDB functions.
      
      	* libgimp/gimpchannel_pdb.h
      	* libgimp/gimpdrawable_pdb.h
      	* libgimp/gimpgimprc_pdb.h
      	* libgimp/gimpimage_pdb.h
      	* libgimp/gimplayer_pdb.h
      	* libgimp/gimpplugin_pdb.h
      	* libgimp/gimpproceduraldb_pdb.h
      	* libgimp/gimpprogress_pdb.h
      	* libgimp/gimpselection_pdb.h
      	* libgimp/gimpunit_pdb.h: regenerated.
      
      	* libgimp/gimptile.h
      	* libgimp/gimpunitcache.h
      	* libgimpthumb/gimpthumb-utils.h
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimphelpui.h: declare internal functions as such
      	using G_GNUC_INTERNAL.
      dc4757ce
  10. 22 Feb, 2005 1 commit
  11. 03 Dec, 2003 2 commits
    • Michael Natterer's avatar
      tools/pdbgen/pdb/channel.pdb removed gimp_layer_delete() and · f2e227e2
      Michael Natterer authored
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: removed gimp_layer_delete() and
      	gimp_channel_delete() PDB wrappers...
      
      	* tools/pdbgen/pdb/drawable.pdb: ...added gimp_drawable_delete().
      
      	* libgimp/gimpdrawable.[ch]: removed gimp_drawable_delete()
      	(having this function work on the GimpDrawable wrapper and not on
      	the drawable_id was more than questionable anyway).
      
      	* libgimp/gimpcompat.h: added gimp_layer_delete and
      	gimp_channel_delete cruft #defines.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpchannel_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* plug-ins/script-fu/scripts/add-bevel.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      
      	* plug-ins/imagemap/imap_main.c: just removed the call to
      	gimp_channel_delete(), it was wrong anyway.
      
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpchannel.sgml
      	* libgimp/tmpl/gimpdrawable.sgml
      	* libgimp/tmpl/gimplayer.sgml: updated again.
      f2e227e2
    • Michael Natterer's avatar
      tools/pdbgen/pdb/channel.pdb removed duplicated APIs for "name", "visible" · a1f064c2
      Michael Natterer authored
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: removed duplicated APIs for "name",
      	"visible" and "tattoo"...
      
      	* tools/pdbgen/pdb/drawable.pdb: ...and added them as drawable APIs.
      
      	* libgimp/gimpdrawable.[ch]: removed faked layer/channel
      	polymorphisms, the functions are real drawable functions now.
      
      	* libgimp/gimpcompat.h: added the old cruft here.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpchannel_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimpexport.c
      	* libgimp/gimpmenu.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/animoptimize.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/xjt/xjt.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/script-fu/scripts/*.scm: changed accordingly.
      
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt: updated.
      a1f064c2
  12. 03 Jul, 2003 1 commit
    • Manish Singh's avatar
      fix spelling of "quality" in comment · 122c0065
      Manish Singh authored
      2003-07-03  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/jpeg.c: fix spelling of "quality" in comment
      
              * tools/pdbgen/*.pl: update copyright strings to 2003
      
              * libgimp/gimpenums.h
              * libgimp/*_pdb.[ch]
              * app/pdb/*_cmds.[ch]
              * app/pdb/internal_procs.[ch]
              * plug-ins/pygimp/gimpenums.py
              * plug-ins/script-fu/script-fu-constants.c: regenerated
      122c0065
  13. 02 Jul, 2003 1 commit
  14. 22 Nov, 2001 1 commit
    • Sven Neumann's avatar
      bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. · 757017a8
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.1.
      	Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
      	and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
      	exist any longer.
      
      	* RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
      	be frozen now.
      
      	* HACKING: removed reference to RELEASE-TO-CVS.patch
      
      	* app/gui/menus.c
      	* app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
      	to the new GTK+/Pango API.
      
      	* app/core/Makefile.am: generate marshallers with gimp_marshal prefix.
      
      	* app/core/gimpmarshal.list: added all marshallers we use.
      
      	* app/core/gimpmarshal.[ch]: regenerated.
      
      	* app/[lots of .c files]: use gimp_marshal_* for all marshallers.
      
      	* data/images/
      	* app/app_procs.c
      	* app/gui/splash.c:
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimputils.[ch]: removed since they are no longer needed.
      
      	* app/gimprc.c
      	* plug-ins/common/ps.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gdyntext/gdyntextcompat.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
      	of gimp_strescape() and gimpstrcompress().
      
      	* cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
      	all _get_type function as G_GNUC_CONST.
      
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/lib.pl: make them generate header files using
      	G_BEGIN_DECLS/G_END_DECLS.
      
      	* pixmaps/Makefile.am
      	* pixmaps/wilber3.xpm: removed ...
      	* data/images/tips_wilber.png: ... and added here as PNG
      
      	* app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.
      
      	* data/images/gimp_splash.ppm: removed ...
      	* data/images/gimp_splash.png: ... and added as PNG
      
      	* app/app_procs.c
      	* app/gui/splash.[ch]: load the splash image using GdkPixbuf.
      
      	* app/gui/about-dialog.c: sink the GtkPreview.
      757017a8
  15. 29 Jan, 2001 1 commit
    • Sven Neumann's avatar
      AUTHORS app/authors.h app/pdb/channel_cmds.c app/pdb/internal_procs.c · fe53c66c
      Sven Neumann authored
      2001-01-29  Sven Neumann  <sven@gimp.org>
      
      	* AUTHORS
      	* app/authors.h
      	* app/pdb/channel_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/selection_cmds.c
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpchannel_pdb.h
      	* libgimp/gimpselection_pdb.c
      	* libgimp/gimpselection_pdb.h
      	* tools/authorsgen/contributors
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/selection.pdb: applied a patch from Adam Spiers
      	<adam@spiers.net> which adds two new PDB functions: selection_combine
      	and channel_combine_masks.
      fe53c66c
  16. 25 Jan, 2001 2 commits
    • Manish Singh's avatar
      Resurrected channel_set_color · 67b845bc
      Manish Singh authored
      -Yosh
      67b845bc
    • Sven Neumann's avatar
      tools/pdbgen/lib.pl tools/pdbgen/pdb.pl tools/pdbgen/pdb/channel.pdb · 0d533abb
      Sven Neumann authored
      2001-01-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/lib.pl
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed these with the help of
      	Yosh. PDB functions take GimpRGB as color type now.
      
      	* app/plug_in.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/procedural_db.[ch]
      	* app/pdb/tools_cmds.c
      	* libgimp/gimp.[ch]
      	* libgimp/gimpchannel.[ch]
      	* libgimp/gimpchannel_pdb.[ch]
      	* libgimp/gimppalette_pdb.[ch]
      	* libgimp/gimpprotocol.[ch]
      	* libgimp/gimptools_pdb.[ch]: incremented Gimp protocol version
      	and changed color type from array of chars to GimpRGB.
      
      	* libgimp/Makefile.am
      	* libgimp/gimppalette.[ch]: removed these files again
      
      	* app/libgimp_glue.[ch]
      	* libgimpwidgets/gimpcolorbutton.c
      	* plug-ins/Lighting/lighting_main.c
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/MapObject/mapobject_main.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/colorify.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/nova.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/png.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/semiflatten.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/common/warp.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/gap/gap_filter_iterators.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/maze/handy.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/xjt/xjt.c: changed accordingly. A few plug-ins need
      	to be looked at more closely after this change. I tried to put
      	FIXME comments into those.
      0d533abb
  17. 23 Aug, 2000 1 commit
    • Manish Singh's avatar
      $srcdir != $builddir fix for GIMP_CONTRIBUTORS · 50e478ef
      Manish Singh authored
      * configure.in: $srcdir != $builddir fix for GIMP_CONTRIBUTORS
      
      * plug-ins/common/plugin-defs.pl: More tidying up after Daniel Egger
      
      * tools/pdbgen/Makefile.am: parse pdb defs only once for app and lib
      
      * tools/pdbgen/lib.pl
      * tools/pdbgen/pdb/procedural_db.pdb: all void rets now return a
      boolean for success/failure
      
      -Yosh
      50e478ef
  18. 01 Jun, 2000 1 commit
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> Simon Budig <Simon.Budig@unix-ag.org> Garry · 5f7e2a8d
      Michael Natterer authored
      2000-06-01  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      	    Simon Budig  <Simon.Budig@unix-ag.org>
      	    Garry R. Osgood  <gosgood@idt.net>
      	    Seth Burgess <sjburges@gimp.org>
      
      	* libgimp/gimpchannel_pdb.[ch]
      	* libgimp/gimpproceduraldb_pdb.[ch]
      	* libgimp/gimpunit_pdb.[ch]: replaced with code based on
      	files generated using pdbgen
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpchannel.[ch]
      	* libgimp/gimpproceduraldb.[ch]: new files wrapping around the
      	autogenerated PDB wrappers as found in *_pdb.[ch].
      
      	* libgimp/gimpselection_pdb.h: minor change.
      
      	* tools/pdbgen/pdb/procedural_db.pdb: made it create libgimp code
      
      	* plug-ins/gap/gap_filter_pdb.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/xjt/xpdb_calls.c: gimp_query_procedure's signature
      	is typesafe now.
      5f7e2a8d
  19. 31 May, 2000 1 commit
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · 053af2f1
      Michael Natterer authored
      2000-05-31  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchannel_pdb.h
      	* libgimp/gimpdisplay_pdb.h
      	* libgimp/gimpdrawable_pdb.h
      	* libgimp/gimpgradient_pdb.h
      	* libgimp/gimphelp_pdb.h
      	* libgimp/gimpimage_pdb.h
      	* libgimp/gimplayer_pdb.h
      	* libgimp/gimpparasite_pdb.h
      	* libgimp/gimpselection_pdb.h
      	* libgimp/gimpunit_pdb.h
      	* libgimp/gimpdrawable.[ch]
      	* libgimp/gimphelp.c
      	* libgimp/gimppixelrgn.h
      	* libgimp/gimptile.h: new files
      
      	* libgimp/gimp.[ch]
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpdrawable_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimpselection_pdb.c
      	* libgimp/gimphelp_pdb.c
      	* libgimp/gimpimage_pdb.c
      	* libgimp/gimplayer_pdb.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.[ch]
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimppixelrgn.c
      	* libgimp/gimptile.c: part III of the (final) libgimp cleanup
      
      	Split gimp.h into a bunch of headers. More or less finished the
      	task of moving PDB wrappers into separate files in preparation
      	of the upcoming autogen-it-all-attack.
      
      	* libgimp/gimpcompat.h: declared the following functions obsolete:
      	gimp_[channel|layer]_[width|height]
      	gimp_layer_[bpp|type]
      	gimp_channel_get_[image|layer]_ID
      
      	* libgimp/gimptypes.h: new file:
      	GPlugInInfo
      	GTile
      	GDrawable
      	GPixelRgn
      	GParamColor
      	GParamRegion
      	GParamData
      	GParamDef
      	GParam: s/G/Gimp/
      
      	* app/gimphelp_cmds.c
      	* app/plug_in_cmds.c
      	* tools/pdbgen/pdb/gimphelp.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed help texts.
      053af2f1