1. 11 Jul, 2018 1 commit
  2. 21 Aug, 2017 1 commit
    • Michael Natterer's avatar
      Move the new "default_new_layer_mode" APIs to the image... · e16c8a23
      Michael Natterer authored
      ...in both the core and libgimp.
      
      Images now know what the default mode for new layers is:
      
      - NORMAL for empty images
      - NORMAL for images with any non-legacy layer
      - NORMAL_LEGAVY for images with only legacy layers
      
      This changes behavior when layers are created from the UI, but *also*
      when created by plug-ins (yes there is a compat issue here):
      
      - Most (all?) single-layer file importers now create NORMAL layers
      - Screenshot, Webpage etc also create NORMAL layers
      
      Scripts that create images from scratch (logos etc) should not be
      affected because they usually have NORMAL_LEGACY hardcoded.
      
      3rd party plug-ins and scripts will also behave old-style unless they
      get ported to gimp_image_get_default_new_layer_mode().
      e16c8a23
  3. 20 Aug, 2017 1 commit
  4. 26 Feb, 2017 1 commit
  5. 08 Jan, 2017 1 commit
  6. 15 Sep, 2015 1 commit
  7. 21 Feb, 2015 1 commit
  8. 02 Jun, 2014 1 commit
  9. 27 Nov, 2012 1 commit
  10. 20 Apr, 2012 1 commit
  11. 08 Mar, 2011 1 commit
  12. 16 Sep, 2010 2 commits
  13. 06 Sep, 2010 2 commits
  14. 07 Mar, 2010 1 commit
  15. 21 Apr, 2009 1 commit
  16. 04 Mar, 2009 1 commit
    • Sven Neumann's avatar
      Bug 574149 – Can't get name/filename of files loaded from URI · 849a18b0
      Sven Neumann authored
      2009-03-04  Sven Neumann  <sven@gimp.org>
      
      	Bug 574149 – Can't get name/filename of files loaded from URI
      
      	* tools/pdbgen/pdb/image.pdb: added new procedure 
      gimp-image-get-uri.
      
      	* app/pdb/image-cmds.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      
      	* plug-ins/pygimp/pygimp-image.c: wrap the new procedure into an
      	Image attribute.
      
      
      svn path=/trunk/; revision=28103
      849a18b0
  17. 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
  18. 24 Sep, 2008 2 commits
  19. 04 Sep, 2008 1 commit
  20. 03 Jul, 2008 1 commit
    • Lars-Peter Clausen's avatar
      plug-ins/pygimp/pygimp-drawable.c plug-ins/pygimp/pygimp-vectors.c · c103ca3c
      Lars-Peter Clausen authored
      2008-07-03  Lars-Peter Clausen  <lars@metafoo.de>
      
      	* plug-ins/pygimp/pygimp-drawable.c
      	* plug-ins/pygimp/pygimp-vectors.c
      	* plug-ins/pygimp/pygimp-display.c
      	* plug-ins/pygimp/pygimp-image.c: Added checks to ensure that a python
      	object only is created if its id is valid. Fixes bug #536403.
      	* plug-ins/pygimp/pygimp-pdb.c
      	* plug-ins/pygimp/pygimp-tile.c
      	* plug-ins/pygimp/pygimp-colors.c
      	* plug-ins/pygimp/pygimp.h: Fix crashing when pygimp is used with
      	python-2.5 on 64 bit systems. Fixes bug #540629.
      
      
      svn path=/trunk/; revision=26044
      c103ca3c
  21. 05 Jan, 2008 1 commit
  22. 28 May, 2007 1 commit
    • Manish Singh's avatar
      plug-ins/pygimp/gimpcolormodule.c plug-ins/pygimp/gimpenumsmodule.c · 6f26979b
      Manish Singh authored
      2007-05-28  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/gimpcolormodule.c
              * plug-ins/pygimp/gimpenumsmodule.c
              * plug-ins/pygimp/gimpmodule.c
              * plug-ins/pygimp/gimpthumbmodule.c
              * plug-ins/pygimp/gimpuimodule.c
              * plug-ins/pygimp/pygimp-drawable.c
              * plug-ins/pygimp/pygimp-image.c
              * plug-ins/pygimp/pygimp-pdb.c
              * plug-ins/pygimp/pygimp-tile.c: cleanups.
      
      svn path=/trunk/; revision=22644
      6f26979b
  23. 10 May, 2007 1 commit
    • Manish Singh's avatar
      bind gimp_image_resize_to_layers. · e019d0c4
      Manish Singh authored
      2007-05-10  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/pygimp-image.c: bind gimp_image_resize_to_layers.
      
      svn path=/trunk/; revision=22466
      e019d0c4
  24. 24 Oct, 2006 1 commit
    • Manish Singh's avatar
      Vector object wrapper API. · e4b08205
      Manish Singh authored
      2006-10-24  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/pygimp-vectors.c: Vector object wrapper API.
      
              * plug-ins/pygimp/Makefile.am: add above file.
      
              * plug-ins/pygimp/gimpshelf.py
              * plug-ins/pygimp/pygimp.h
              * plug-ins/pygimp/gimpmodule.c: hook the new objects in.
      
              * plug-ins/pygimp/pygimp-image.c: get_vectors accessor.
      e4b08205
  25. 17 Jan, 2006 1 commit
  26. 04 Jun, 2005 1 commit
    • Manish Singh's avatar
      plug-ins/pygimp/pygimp-api.h export our API to other modules in a saner · e8c7a7a4
      Manish Singh authored
      2005-06-03  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/pygimp-api.h
              * plug-ins/pygimp/gimpmodule.c: export our API to other modules
              in a saner fashion. Also add checks_get_shades method.
      
              * plug-ins/pygimp/procbrowser.c: Use new export API.
      
              * plug-ins/pygimp/pygimp-drawable.c (drw_mask_intersect):
              use Py_BuildValue to build the tuple.
      
              * plug-ins/pygimp/pygimp-image.c (img_repr): capitalization fix.
      
              * plug-ins/pygimp/pygimp-rgb.c
              * plug-ins/pygimp/pygimpcolor.h
              * plug-ins/pygimp/gimpcolormodule.c: beginnings of a wrapper to
              libgimpcolor.
      
              * plug-ins/pygimp/gimpfu.py
              * plug-ins/pygimp/gimpenums.py
              * plug-ins/pygimp/gimpenumsmodule.c: use gimp enum API to find out
              our enums.
      
              * plug-ins/pygimp/Makefile.am: hook in all of the above.
      e8c7a7a4
  27. 05 Mar, 2005 2 commits
    • Manish Singh's avatar
      include Parasite flag values. · 553e8407
      Manish Singh authored
      2005-03-04  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/enumcode-py.pl: include Parasite flag values.
      
              * plug-ins/pygimp/gimpenums.py: regenerated.
      
              * plug-ins/pygimp/pygimp-drawable.c: minor change for type
              consistency.
      
              * plug-ins/pygimp/pygimp-image.c: add keyword args, is_dirty getter.
      553e8407
    • Manish Singh's avatar
      no need to export PLUG_IN_INFO symbol. · a56d6b41
      Manish Singh authored
      2005-03-04  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/Makefile.am: no need to export PLUG_IN_INFO symbol.
      
              * plug-ins/pygimp/pygimp-image.c: more descriptive exception for
              Image constructor.
      
              * plug-ins/pygimp/pygimp-pdb.c: cosmetic changes.
      
              * plug-ins/pygimp/pygimp-drawable.c: wrap transform API, add keyword
              arguments to several drawable methods, wrap
              layer_resize_to_image_size.
      a56d6b41
  28. 03 Mar, 2005 1 commit
    • Manish Singh's avatar
      Make a compatibility wrapper for PyBool_FromLong for pre-2.3 versions of · 872c501e
      Manish Singh authored
      2005-03-03  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/pygimp.h: Make a compatibility wrapper for
              PyBool_FromLong for pre-2.3 versions of python.
      
              * plug-ins/pygimp/gimpfu.py
              * plug-ins/pygimp/gimpui.py: Update to use some more modern python
              features.
      
              * plug-ins/pygimp/gimpmodule.c
              * plug-ins/pygimp/pygimp-display.c
              * plug-ins/pygimp/pygimp-drawable.c
              * plug-ins/pygimp/pygimp-image.c
              * plug-ins/pygimp/pygimp-parasite.c
              * plug-ins/pygimp/pygimp-pdb.c
              * plug-ins/pygimp/pygimp-tile.c: Throw exceptions on failures for
              libgimp wrappers (fixes bug #160136), and make the exception strings
              a lot more descriptive to aid debugging. Also return proper Bools when
              appropriate. Some new API wrapped as well. Still a work in progress.
      
              * plug-ins/pygimp/gimpplugin.py
              * plug-ins/pygimp/gimpshelf.py
              * plug-ins/pygimp/plug-ins/clothify.py
              * plug-ins/pygimp/plug-ins/foggify.py
              * plug-ins/pygimp/plug-ins/sphere.py: Add some whitespace to make
              things more readable.
      872c501e
  29. 02 Nov, 2004 1 commit
    • Michael Natterer's avatar
      plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c · 3d8e4d12
      Michael Natterer authored
      2004-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/bmp/bmpread.c
      	* plug-ins/bmp/bmpwrite.c
      	* plug-ins/common/CEL.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/animoptimize.c
      	* plug-ins/common/autostretch_hsv.c
      	* plug-ins/common/c_astretch.c
      	* plug-ins/common/ccanalyze.c
      	* plug-ins/common/color_enhance.c
      	* plug-ins/common/film.c
      	* plug-ins/common/gee.c
      	* plug-ins/common/gee_zoom.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gifload.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/header.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/normalize.c
      	* plug-ins/common/pcx.c
      	* plug-ins/common/png.c
      	* plug-ins/common/pnm.c
      	* plug-ins/common/postscript.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/raw.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/tga.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/tile.c
      	* plug-ins/common/vinvert.c
      	* plug-ins/common/winclipboard.c
      	* plug-ins/common/winprint.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/common/xwd.c
      	* plug-ins/fits/fits.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/imagemap/imap_preview.c
      	* plug-ins/print/print.c
      	* plug-ins/pygimp/pygimp-image.c
      	* plug-ins/winicon/main.c: use the new "colormap" functions
      	instead of the deprecated "cmap" ones.
      3d8e4d12
  30. 01 Sep, 2004 1 commit
    • Manish Singh's avatar
      plug-ins/pygimp/gimpfu.py Hacked up support for the new progress · 2c82c9fc
      Manish Singh authored
      2004-09-01  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/gimpfu.py
              * plug-ins/pygimp/gimpmodule.c: Hacked up support for the new
              progress interface. Emphasis on hacked.
      
              * plug-ins/pygimp/gimpmodule.c: Wrapped gimp_extension_enable(). Minor
              cleanups.
      
              * plug-ins/pygimp/pygimp-image.c
              * plug-ins/pygimp/pygimp-tile.c: Minor cleanups.
      2c82c9fc
  31. 25 Dec, 2003 1 commit
    • Manish Singh's avatar
      add undo_group_{start,end} methods. · 270c8d9c
      Manish Singh authored
      2003-12-24  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/pygimp-image.c: add undo_group_{start,end} methods.
      
              * plug-ins/pygimp/foggify.py
              * plug-ins/pygimp/shadow_bevel.py: and use them here, instead of
              deprecated PDB functions.
      270c8d9c
  32. 24 Dec, 2003 1 commit
    • Manish Singh's avatar
      remove add/remove_layer_mask methods... · 9fe4d3bb
      Manish Singh authored
      2003-12-23  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/pygimp-image.c: remove add/remove_layer_mask
              methods...
      
              * plug-ins/pygimp/pygimp-drawable.c: ... and put them here, as methods
              of the layer object.
      
              * plug-ins/pygimp/plug-ins/foggify.py: update for the above new API.
      9fe4d3bb
  33. 14 Dec, 2003 1 commit
  34. 08 Dec, 2003 2 commits
    • Michael Natterer's avatar
      marked gimp_image_add_layer_mask() and gimp_image_remove_layer_mask() as · c6de9711
      Michael Natterer authored
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: marked gimp_image_add_layer_mask()
      	and gimp_image_remove_layer_mask() as deprecated. Didnn't remove
      	them from the PDB because the new functions' signature differs and
      	they are used very often in scripts, but removed them from the
      	libgimp C wrappers.
      
      	* tools/pdbgen/pdb/layer.pdb: added gimp_layer_add_mask() and
      	gimp_layer_remove_mask().
      
      	* libgimp/gimpcompat.h: added compat cruft.
      
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimpexport.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/psd.c
      	* plug-ins/pygimp/pygimp-image.c
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/alien-neon-logo.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/carve-it.scm
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chrome-it.scm
      	* plug-ins/script-fu/scripts/chrome-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/fade-outline.scm
      	* plug-ins/script-fu/scripts/frosty-logo.scm
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/script-fu/scripts/news-text.scm
      	* plug-ins/script-fu/scripts/rendermap.scm
      	* plug-ins/script-fu/scripts/slide.scm
      	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
      	* plug-ins/script-fu/scripts/speed-text.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/weave.scm
      	* plug-ins/script-fu/scripts/xach-effect.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpimage.sgml
      	* libgimp/tmpl/gimplayer.sgml: follow layer mask API change.
      c6de9711
    • Michael Natterer's avatar
      renamed PDB function gimp_image_active_drawable() to · a0469696
      Michael Natterer authored
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: renamed PDB function
      	gimp_image_active_drawable() to gimp_image_get_active_drawable()
      	so it's consistent with all other drawable getters.
      
      	* app/pdb/procedural_db.c
      	* libgimp/gimpcompat.h: added compat stuff.
      
      	* app/pdb/image_cmds.c
      	* libgimp/gimpimage_pdb.[ch]: regenerated.
      
      	* plug-ins/pygimp/pygimp-image.c
      	* plug-ins/script-fu/scripts/add-bevel.scm
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chrome-it.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/round-corners.scm
      	* plug-ins/script-fu/scripts/slide.scm
      	* plug-ins/script-fu/scripts/sota-chrome-logo.scm: changed accordingly.
      
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpimage.sgml: updated.
      a0469696
  35. 05 Dec, 2003 1 commit
    • Michael Natterer's avatar
      Name all PDB procedures which deal with floating selections consistently: · 3ad199d5
      Michael Natterer authored
      2003-12-05  Michael Natterer  <mitch@gimp.org>
      
      	Name all PDB procedures which deal with floating selections
      	consistently:
      
      	* tools/pdbgen/pdb/image.pdb: renamed
      	gimp_image_floating_selection() to gimp_image_get_floating_sel().
      
      	* libgimp/gimplayer.h: removed gimp_layer_is_floating_selection #define.
      
      	* libgimp/gimpcompat.h
      	* app/pdb/procedural_db.c: added compat stuff.
      
      	* app/pdb/image_cmds.c
      	* libgimp/gimpimage_pdb.[ch]: regenerated.
      
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/film.c
      	* plug-ins/common/rotate.c
      	* plug-ins/pygimp/pygimp-image.c
      	* plug-ins/xjt/xjt.c: changed accordingly.
      
      2003-12-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpimage.sgml
      	* libgimp/tmpl/gimplayer.sgml: follow floating_sel cleanup.
      3ad199d5