1. 04 Sep, 2019 1 commit
  2. 03 Sep, 2019 3 commits
  3. 29 Aug, 2019 1 commit
    • Michael Natterer's avatar
      app, libgimp: get rid of all ID GTypes and ID param specs · 392f00ba
      Michael Natterer authored
      Turn all ID param specs into object param specs (e.g. GimpParamImageID
      becomes GimpParamImage) and convert between IDs and objects in
      gimpgpparams.c directly above the the wire protocol, so all of app/,
      libgimp/ and plug-ins/ can deal directly with objects down to the
      lowest level and not care about IDs.
      
      Use the actual object param specs for procedure arguments and return
      values again instead of a plain g_param_spec_object() and bring back
      the none_ok parameter.
      
      This implies changing the PDB type checking functions to work on pure
      integers instead of IDs (one can't check whether object creation is
      possible if performing that check requires the object to already
      exist).
      
      For example gimp_foo_is_valid() becomes gimp_foo_id_is_valid() and is
      not involved in automatic object creation magic at the protocol
      level. Added wrappers which still say gimp_foo_is_valid() and take the
      respective objects.
      
      Adapted all code, and it all becomes nicer and less convoluted, even
      the generated PDB wrappers in app/ and libgimp/.
      392f00ba
  4. 22 Aug, 2019 4 commits
    • Jehan's avatar
      libgimp: GimpItem now also belong to libgimp. · 08849a58
      Jehan authored
      08849a58
    • Jehan's avatar
      libgimp, pdb: add GimpItem > GimpDrawable > GimpLayer classes. · 79b319cf
      Jehan authored
      Only class and subclasses creation and PDB generation for this first
      step.
      I'll later do other types of items.
      79b319cf
    • 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
  5. 08 Aug, 2019 1 commit
    • Michael Natterer's avatar
      libgimp*, pdb: gimp_value_array_new_from_types*() takes (type, value) · 30d63111
      Michael Natterer authored
      So a value array can now we created like this:
      
      array = gimp_value_array_new_from_types (&error_msg,
                                               G_TYPE_STRING, "foo",
                                               G_TYPE_INT,    23,
                                               G_TYPE_NONE);
      
      Change PDB generation to use this, which makes for much nicer code in
      the libgimp wrappers, and only set arrays separately instead of all
      values.
      30d63111
  6. 06 Aug, 2019 2 commits
  7. 05 Aug, 2019 1 commit
  8. 04 Aug, 2019 1 commit
  9. 01 Aug, 2019 1 commit
  10. 31 Jul, 2019 4 commits
  11. 30 Jul, 2019 3 commits
  12. 14 Jul, 2018 1 commit
  13. 11 Jul, 2018 1 commit
  14. 20 May, 2018 1 commit
  15. 15 Apr, 2018 1 commit
    • Michael Natterer's avatar
      pdb: improve docs of deprecated functions · ef3edece
      Michael Natterer authored
      Don't unconditionally overwrite all the proc's description, author
      etc.  Instead, try to preserve them and append the "Deprecated" notes
      to the help texts and generated comments.
      
      Only affects one procedure because we killed the meta info of all
      other deprecated procs so far, but now we don't have to do that any
      longer.
      ef3edece
  16. 25 Jun, 2016 1 commit
    • Richard Kreckel's avatar
      Bug 768044 - Fix many typos · dd9b0fc5
      Richard Kreckel authored
      This fixes many typos in comments and one in a user-visible string (msgid
      "center abscisse" changed to "center abscissa" in affected po files. too).
      dd9b0fc5
  17. 31 May, 2015 1 commit
  18. 05 Dec, 2012 1 commit
  19. 02 May, 2012 1 commit
  20. 15 Sep, 2010 1 commit
  21. 05 Sep, 2010 1 commit
  22. 12 Jul, 2010 1 commit
  23. 07 Jul, 2010 1 commit
  24. 01 Jun, 2010 1 commit
  25. 31 Mar, 2009 1 commit
    • Sven Neumann's avatar
      Bug 568479 – add PDB procedures to manipulate size of text box · 94e626e1
      Sven Neumann authored
      2009-03-31  Sven Neumann  <sven@gimp.org>
      
      	Bug 568479 – add PDB procedures to manipulate size of text box
      
      	* tools/pdbgen/pdb/text_layer.pdb: add gimp-text-layer-resize,
      	based on a patch from Barak Itkin.
      
      	* app/pdb/internal-procs.c
      	* app/pdb/text-layer-cmds.c
      	* libgimp/gimptextlayer_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=28235
      94e626e1
  26. 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
  27. 27 Oct, 2008 1 commit
    • Sven Neumann's avatar
      added new enum GimpTextHintStyle. · 033fcf16
      Sven Neumann authored
      2008-10-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch]: added new enum 
      GimpTextHintStyle.
      
      	* libgimp/gimpenums.c.tail
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/text/gimptext.[ch]: added new property "hint-style". 
      Removed
      	"autohint" property and mapped the boolean property "hinting" to
      	the new enum property "hint-style".
      
      	* app/text/gimptextlayout-render.c 
      (gimp_text_layout_render_flags):
      	use "hint-style".
      
      	* app/tools/gimptextoptions.[ch]: changed tool options 
      accordingly.
      
      	* tools/pdbgen/pdb/text_layer.pdb: deprecated the "hinting" API
      	and introduced getters and setters for "hint-style".
      
      	* app/pdb/text-layer-cmds.c
      	* app/pdb/internal-procs.c
      	* libgimp/gimptextlayer_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=27432
      033fcf16
  28. 04 Apr, 2008 1 commit
    • Michael Natterer's avatar
      reorder functions so getters and setters are together, rename fontsize() · b5207f42
      Michael Natterer authored
      2008-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/text_layer.pdb: reorder functions so getters
      	and setters are together, rename fontsize() functions to
      	font_size(), fix get_color() implementation.
      
      	* app/pdb/text-layer-cmds.c
      	* libgimp/gimptextlayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: changed accordingly.
      
      
      svn path=/trunk/; revision=25368
      b5207f42
  29. 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