1. 22 Mar, 2018 1 commit
    • Ell's avatar
      app: add crop_input parameter to gimp_gegl_apply_operation() · e1b1611e
      Ell authored
      Add a crop_input parameter to gimp_gegl_apply_[cached_]operation().
      When TRUE, the functions crop the op's input to the destination
      rect.  This is particularly useful for functions that process the
      entire input in one go (by means of get_cached_region()).  See the
      next commit.
      
      Pass crop_input = FALSE at all call sites for now, to keep the
      current behavior.
      e1b1611e
  2. 14 Oct, 2013 1 commit
    • Michael Natterer's avatar
      app,libgimp*: fix includes to follow our include policy · 697572cc
      Michael Natterer authored
      - don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
      - instead, include it in many .c files instead of <glib-object.h>,
        finally acknowledging the fact that app/ depends on gdk-pixbuf almost
        globally
      - fix up includes as if libgimpbase depended in GIO, which it soon will
      697572cc
  3. 25 May, 2013 1 commit
  4. 22 Oct, 2012 2 commits
  5. 10 May, 2012 1 commit
  6. 02 May, 2012 19 commits
  7. 09 Nov, 2010 1 commit
  8. 07 Sep, 2010 1 commit
  9. 06 Jun, 2010 1 commit
  10. 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
  11. 08 Dec, 2008 1 commit
    • Sven Neumann's avatar
      app/core/gimpchannel.c app/core/gimpdrawable-operation.c · 83c66bae
      Sven Neumann authored
      2008-12-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-operation.c
      	* app/core/gimpdrawablestack.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagemap.c
      	* app/core/gimplayer.c
      	* app/core/gimpprojection.c: gegl_node_add_child() and
      	gegl_node_remove_child() are public API in GEGL now.
      
      
      svn path=/trunk/; revision=27770
      83c66bae
  12. 01 Nov, 2008 1 commit
    • Martin Nordholts's avatar
      Prefix the GIMP GEGL operations with "gimp:" instead of "gimp-" so we · a9e18758
      Martin Nordholts authored
      * app/gegl/gimpoperation*.c: Prefix the GIMP GEGL operations with
      "gimp:" instead of "gimp-" so we follow the GEGL prefix style and
      better serialize to XML.
      
      * app/tools/gimp*tool.c
      
      * app/core/gimpdrawable-*.c
      * app/core/gimpdrawable.c
      * app/core/gimpimagemap.c
      * app/core/gimpprojection.c: Changed accordingly.
      
      svn path=/trunk/; revision=27512
      a9e18758
  13. 04 Jun, 2008 1 commit
  14. 22 May, 2008 1 commit
    • Sven Neumann's avatar
      changed order of parameters to be consistent with gimp_drawable_process(). · 8a62ba6a
      Sven Neumann authored
      2008-05-22  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-operation.[ch]
      	(gimp_drawable_apply_operation): changed order of parameters to be
      	consistent with gimp_drawable_process().
      
      	* app/core/gimpdrawable-process.[ch]: introduced a variant of
      	gimp_drawable_process() for processing a GimpLut with
      	gimp_lut_process().
      
      	* app/core/gimpdrawable-brightness-contrast.c
      	* app/core/gimpdrawable-color-balance.c
      	* app/core/gimpdrawable-colorize.c
      	* app/core/gimpdrawable-curves.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-hue-saturation.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-levels.c
      	* app/core/gimpdrawable-posterize.c
      	* app/core/gimpdrawable-threshold.c: changed accordingly.
      
      svn path=/trunk/; revision=25754
      8a62ba6a
  15. 17 May, 2008 1 commit
  16. 21 Apr, 2008 1 commit
    • Michael Natterer's avatar
      Move the shadow tiles from the image to the drawable. Fixes bug #100469. · e5be5664
      Michael Natterer authored
      2008-04-21  Michael Natterer  <mitch@gimp.org>
      
      	Move the shadow tiles from the image to the drawable.
      	Fixes bug #100469.
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-shadow.[ch]: new files implementing
      	the shadow tiles.
      
      	* app/core/gimpimage.[ch]: remove the shadow tile manager from the
      	GimpImage struct. Remove gimp_image_get_shadow_tiles() and
      	_free_shadow_tiles().
      
      	* app/core/gimpdrawable.[ch]: add the shadow tile manager
      	here. Remove get_shadow_tiles() and merge_shadow(). Free the
      	shadow tiles in finalize and when the drawable gets removed from
      	the image.
      
      	* app/core/gimpdrawable-brightness-contrast.c
      	* app/core/gimpdrawable-color-balance.c
      	* app/core/gimpdrawable-colorize.c
      	* app/core/gimpdrawable-curves.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-hue-saturation.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-levels.c
      	* app/core/gimpdrawable-operation.c
      	* app/core/gimpdrawable-posterize.c
      	* app/core/gimpdrawable-threshold.c
      	* app/core/gimpimagemap.c: changed accordingly. Free the shadow tiles
      	after using them.
      
      	* app/plug-in/gimpplugin-cleanup.[ch]: add
      	gimp_plug_in_cleanup_add_shadow() and _remove_shadow() which keep
      	track of whether shadow tiles were created on behalf of a plug-in
      	procedure.
      
      	(gimp_plug_in_cleanup): free shadow tiles which were created but
      	not destroyed by a plug-in procedure.
      
      	* app/plug-in/gimpplugin-message.c (plug_in_handle_tile_request):
      	call gimp_plug_in_cleanup_add_shadow() whenever a plug-in requests
      	shadow tiles.
      
      	* tools/pdbgen/pdb/drawable.pdb: use the new drawable shadow
      	API. Add new procedure gimp-drawable-free-shadow. Call
      	gimp_plug_in_cleaup_remove_shadow() when it gets called.
      
      	* tools/pdbgen/pdb/image.pdb: deprecate gimp-image-free-shadow.
      	Calling it has no effect any longer.
      
      	* app/pdb/drawable-cmds.c
      	* app/pdb/image-cmds.c
      	* app/pdb/internal-procs.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=25510
      e5be5664
  17. 29 Mar, 2008 1 commit
  18. 28 Mar, 2008 1 commit
    • Mukund Sivaraman's avatar
      Fixes for some Sparse reported issues in app/ · 0708ffea
      Mukund Sivaraman authored
      2008-03-28  Mukund Sivaraman  <muks@mukund.org>
      
              Fixes for some Sparse reported issues in app/
      
              * app/core/gimpdrawable-operation.c: Added prototype for            
              gegl_node_add_child().
      
              * app/core/gimpcurve.c: Remove C99 code       
                                      
              * app/tools/gimpcurvestool.c 
              * app/tools/gimpperspectiveclonetool.c 
              * app/vectors/gimpstroke.c: Mark functions as static.
      
              * app/base/siox.c: state is a pointer.
      
              * app/plug-in/gimppluginprocframe.c: values is a pointer.
      
              * app/plug-in/plug-in-rc.c: plug_in_rc_parse() returns a pointer.
      
              * app/plug-in/gimpinterpreterdb.c: Check program[0] for '\0'
              instead of the pointer program itself.
      
      
      svn path=/trunk/; revision=25292
      0708ffea
  19. 02 Jan, 2008 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am new files containing gimp_drawable_apply_operation() · 88b021c0
      Michael Natterer authored
      2008-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-operation.[ch]: new files containing
      	gimp_drawable_apply_operation() which applies a gegl operation
      	to a drawable's selected pixels using shadow tiles. Will soon
      	be used in more places than just invert.
      
      	* app/core/gimpdrawable-invert.c: use it here, makes
      	gimp_drawable_invert() a 3-liner.
      
      
      svn path=/trunk/; revision=24506
      88b021c0
  20. 30 Dec, 2007 2 commits
    • Sven Neumann's avatar
      added new function gimp_bpp_to_babl_format_linear(). · cd270aac
      Sven Neumann authored
      2007-12-30  Sven Neumann  <sven@gimp.org>
      
      	* app/gegl/gimp-gegl-utils.[ch]: added new function
      	gimp_bpp_to_babl_format_linear().
      
      	* app/gegl/gimpoperationtilesink.[ch]
      	* app/gegl/gimpoperationtilesource.[ch]: added boolean property 
      to
      	toggle between linear and gamma-corrected data.
      
      	* app/core/gimpdrawable-invert.c: assume linear data to be 
      closer
      	to the original definition of the invert operation in GIMP.
      	Enable the GEGL code path per default.
      
      
      svn path=/trunk/; revision=24491
      cd270aac
    • Sven Neumann's avatar
      moved processing in the GEGL code path back to the main loop. · cfe312bc
      Sven Neumann authored
      2007-12-30  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-invert.c (gimp_drawable_invert): moved
      	processing in the GEGL code path back to the main loop.
      
      
      svn path=/trunk/; revision=24490
      cfe312bc