1. 19 Feb, 2008 1 commit
  2. 09 Feb, 2008 2 commits
    • Øyvind Kolås's avatar
      xchg get_required_for_output, get_invalidated_by_change (wrong · c75fb55b
      Øyvind Kolås authored
      	way around i previous commit.)
      
      	32 files changed, 232 insertions(+), 200 deletions(-)
      
      svn path=/trunk/; revision=1988
      c75fb55b
    • Øyvind Kolås's avatar
      %s/get_defined_region/get_bounding_box/g · ddce2d60
      Øyvind Kolås authored
      %s/compute_affected_region/get_required_for_output/g
      %s/compute_input_request/get_invalidated_by_change/g
      * gegl/gegl-old-chant.h:
      * gegl/gegl-plugin.h:
      * gegl/graph/gegl-node-context.c:
      * gegl/graph/gegl-node.c:
      * gegl/operation/gegl-operation-area-filter.c:
      * gegl/operation/gegl-operation-composer.c:
      * gegl/operation/gegl-operation-filter.c:
      * gegl/operation/gegl-operation-sink.c:
      * gegl/operation/gegl-operation-source.c:
      * gegl/operation/gegl-operation.c:
      * gegl/operation/gegl-operation.h:
      * gegl/operation/gegl-operations.c:
      * gegl/process/gegl-have-visitor.c:
      * operations/affine/affine.c:
      * operations/color/remap.c:
      * operations/color/stretch-contrast.c:
      * operations/core/clone.c:
      * operations/core/crop.c: 
      * operations/core/shift.c:
      * operations/enhance/bilateral-filter.c:
      * operations/enhance/snn-mean.c:
      * operations/io/ff-load.c: 
      * operations/io/jpg-load.c:
      * operations/io/load-buffer.c:
      * operations/io/magick-load.c:
      * operations/io/pixbuf.c:
      * operations/io/png-load.c:
      * operations/io/raw-load.c:
      * operations/io/save-pixbuf.c:
      * operations/io/svg-load.c:
      * operations/render/checkerboard.c:
      * operations/render/color.c:
      * operations/render/fractal-explorer.c:
      * operations/render/introspect.c:
      * operations/render/noise.c:
      * operations/render/text.c: 
      * operations/workshop/box-percentile.c:
      * operations/workshop/c2g.c:
      * operations/workshop/demosaic-simple.c:
      * operations/workshop/disc-percentile.c:
      * operations/workshop/gluas.c:
      * operations/workshop/hstack.c:
      * operations/workshop/kuwahara-max.c:
      * operations/workshop/kuwahara-min.c:
      * operations/workshop/kuwahara.c:
      * operations/workshop/lens-correct.c:
      * operations/workshop/line-profile.c:
      * operations/workshop/mandelbrot.c:
      * operations/workshop/max-envelope.c:
      * operations/workshop/min-envelope.c:
      * operations/workshop/rawbayer-load.c:
      * operations/workshop/snn-percentile.c:
      * operations/workshop/stress.c:
      
      svn path=/trunk/; revision=1984
      ddce2d60
  3. 06 Feb, 2008 1 commit
    • Sven Neumann's avatar
      added nick to chanted properties. · 22531b3d
      Sven Neumann authored
      2008-02-06  Sven Neumann  <sven@gimp.org>
      
      	* gegl/gegl-chant.h: added nick to chanted properties.
      
      	* operations/blur/box-blur.c
      	* operations/blur/gaussian-blur.c
      	* operations/color/brightness-contrast.c
      	* operations/color/contrast-curve.c
      	* operations/color/levels.c
      	* operations/color/mono-mixer.c
      	* operations/color/threshold.c
      	* operations/color/whitebalance.c
      	* operations/core/clone.c
      	* operations/core/convert-format.c
      	* operations/core/crop.c
      	* operations/core/shift.c
      	* operations/enhance/bilateral-filter.c
      	* operations/enhance/snn-mean.c
      	* operations/generated/math.rb
      	* operations/io/exr-load.cpp
      	* operations/io/jpg-load.c
      	* operations/io/load.c
      	* operations/io/pixbuf.c
      	* operations/io/png-load.c
      	* operations/io/png-save.c
      	* operations/io/save-buffer.c
      	* operations/io/save-pixbuf.c
      	* operations/io/svg-load.c
      	* operations/meta/layer.c
      	* operations/render/checkerboard.c
      	* operations/render/color.c
      	* operations/render/fractal-explorer.c
      	* operations/render/introspect.c
      	* operations/render/noise.c
      	* operations/render/text.c
      	* operations/svg/svg_huerotate.c
      	* operations/svg/svg_luminancetoalpha.c
      	* operations/svg/svg_matrix.c
      	* operations/svg/svg_saturate.c
      	* operations/transparency/opacity.c
      	* operations/workshop/box-max.c
      	* operations/workshop/box-min.c
      	* operations/workshop/box-percentile.c
      	* operations/workshop/c2g.c
      	* operations/workshop/demosaic-bimedian.c
      	* operations/workshop/demosaic-simple.c
      	* operations/workshop/disc-percentile.c
      	* operations/workshop/kuwahara-max.c
      	* operations/workshop/kuwahara-min.c
      	* operations/workshop/kuwahara.c
      	* operations/workshop/lens-correct.c
      	* operations/workshop/line-profile.c
      	* operations/workshop/mandelbrot.c
      	* operations/workshop/max-envelope.c
      	* operations/workshop/min-envelope.c
      	* operations/workshop/snn-percentile.c
      	* operations/workshop/stress.c: changed accordingly.
      
      svn path=/trunk/; revision=1978
      22531b3d
  4. 27 Jan, 2008 1 commit
    • Kevin Cozens's avatar
      Updated to new chanting API. · b2c8aa0d
      Kevin Cozens authored
      	* operations/core/clone.c:
      	* operations/core/convert-format.c:
      	* operations/core/crop.c:
      	* operations/core/shift.c:
      	* operations/io/jpg-load.c:
      	* operations/io/pixbuf.c:
      	* operations/io/png-load.c:
      	* operations/io/png-save.c:
      	* operations/io/save-buffer.c:
      	* operations/io/save-pixbuf.c:
      	* operations/io/svg-load.c: Updated to new chanting API.
      
      	* operations/blur/box-blur.c:
      	* operations/blur/gaussian-blur.c:
      	* operations/color/brightness-contrast.c
      	* operations/color/invert.c
      	* operations/color/mono-mixer.c
      	* operations/color/stretch-contrast.c
      	* operations/core/nop.c: Formatting changes.
      
      svn path=/trunk/; revision=1918
      b2c8aa0d
  5. 21 Jan, 2008 1 commit
    • Øyvind Kolås's avatar
      include operations/gegl-extension-handler.h as well. · 954f6a63
      Øyvind Kolås authored
      * gegl/gegl-plugin.h: include operations/gegl-extension-handler.h as
      well.
      * operations/affine/module.c:
      * operations/color/remap.c:
      * operations/color/threshold.c:
      * operations/color/value-invert.c:
      * operations/core/clone.c:
      * operations/core/crop.c:
      * operations/core/nop.c:
      * operations/core/shift.c:
      * operations/io/load.c:
      * operations/meta/layer.c:
      * operations/render/introspect.c: modified to include an absolute
      minimum of headers directly and rather include either gegl-plugin.h
      or gegl-chant.h (which itself pulls in gegl-plugin.h, gegl-plugin.h
      pulls in gegl.h for most of the gegl related environment and adds
      the extra APIs provided for operation plug-ins.
      
      svn path=/trunk/; revision=1887
      954f6a63
  6. 18 Jan, 2008 1 commit
    • Øyvind Kolås's avatar
      install operation header files in $(includedir)-0.0/operation/ do not · 5214a071
      Øyvind Kolås authored
      * gegl/operation/Makefile.am: install operation header files in
      $(includedir)-0.0/operation/
      * gegl/gegl-module.h: do not include gegl-types.h
      * gegl/gegl-types.h: added some ad-hoc guards against multiple
      typedefs.
      * gegl/graph/gegl-node-context.c:
      * gegl/graph/gegl-node.c:
      * gegl/operation/gegl-operation-area-filter.c:
      * gegl/operation/gegl-operation-composer.c:
      * gegl/operation/gegl-operation-filter.c:
      * gegl/operation/gegl-operation-meta.c:
      * gegl/operation/gegl-operation-point-composer.c:
      * gegl/operation/gegl-operation-point-filter.c:
      * gegl/operation/gegl-operation-sink.c:
      * gegl/operation/gegl-operation-source.c:
      * gegl/operation/gegl-operation.c:
      * gegl/operation/gegl-operation.h:
      * operations/affine/module.c:
      * operations/color/remap.c:
      * operations/core/clone.c:
      * operations/core/crop.c:
      * operations/core/nop.c:
      * operations/core/shift.c: modified to compile with header files
      modified to allow the operation headers being installed.
      
      svn path=/trunk/; revision=1870
      5214a071
  7. 16 Jan, 2008 1 commit
  8. 08 Jan, 2008 2 commits
  9. 07 Jan, 2008 7 commits
    • Øyvind Kolås's avatar
      set categories. turned into a non chanted operation that derives directly · cd67769c
      Øyvind Kolås authored
      * operations/core/shift.c: (gegl_operation_shift_class_init): set
      categories.
      * operations/core/nop.c: turned into a non chanted operation that
      derives directly from GeglOperation instead of GeglOperationFilter.
      
      svn path=/trunk/; revision=1826
      cd67769c
    • Øyvind Kolås's avatar
      %s/GEGL_PAD_OUTPUT/GEGL_PARAM_PAD_OUTPUT/ · 0411310b
      Øyvind Kolås authored
      %s/GEGL_PAD_INPUT/GEGL_PARAM_PAD_INPUT/
      * gegl/gegl-chant.h:
      * gegl/graph/gegl-pad.c:
      * gegl/graph/gegl-pad.h:
      * gegl/operation/gegl-operation-composer.c:
      * gegl/operation/gegl-operation-filter.c:
      * gegl/operation/gegl-operation-sink.c:
      * gegl/operation/gegl-operation-source.c:
      * operations/affine/chant.h:
      * operations/color/remap.c:
      * operations/core/shift.c:
      
      svn path=/trunk/; revision=1825
      0411310b
    • Michael Natterer's avatar
      more cleanup. · bf92c3a3
      Michael Natterer authored
      2008-01-08  Michael Natterer  <mitch@gimp.org>
      
      	* operations/core/shift.c: more cleanup.
      
      
      svn path=/trunk/; revision=1824
      bf92c3a3
    • Øyvind Kolås's avatar
      fixed regression in hit detection. · 71973c45
      Øyvind Kolås authored
      * operations/core/shift.c: (detect): fixed regression in hit
      detection.
      
      svn path=/trunk/; revision=1822
      71973c45
    • Michael Natterer's avatar
      cleanup, use G_DEFINE_DYNAMIC_TYPE(). · fddda0f3
      Michael Natterer authored
      2008-01-08  Michael Natterer  <mitch@gimp.org>
      
      	* operations/core/shift.c: cleanup, use G_DEFINE_DYNAMIC_TYPE().
      
      
      svn path=/trunk/; revision=1821
      fddda0f3
    • Øyvind Kolås's avatar
      turned into a non chanted operation that derives directly from · c59f4898
      Øyvind Kolås authored
      * operations/core/shift.c: turned into a non chanted operation that
      derives directly from GeglOperation instead of GeglOperationFilter.
      
      svn path=/trunk/; revision=1817
      c59f4898
    • Øyvind Kolås's avatar
      added some extra debug output for missing formats on pads (to be ignored · 635ffb24
      Øyvind Kolås authored
      * gegl/graph/gegl-node-context.c: added some extra debug output for
      missing formats on pads (to be ignored for some core ops for now, but
      gives better guidance when things crash.)
      * gegl/operation/gegl-operation-composer.[ch]
      * gegl/operation/gegl-operation-filter.[ch]:
      * gegl/operation/gegl-operation-sink.[ch]:
      * gegl/operation/gegl-operation-source.[ch]: added the buffers being
      read from/written to as arguments of the process functions in the base
      classes for the common operation types.
      The rest of the files modified were modifications to update to never
      API.
      * gegl/gegl-chant.h:
      * gegl/operation/gegl-operation-point-composer.c:
      * gegl/operation/gegl-operation-point-filter.c:
      * operations/affine/affine.c:
      * operations/blur/box-blur.c:
      * operations/blur/gaussian-blur.c:
      * operations/color/mono-mixer.c:
      * operations/color/remap.c:
      * operations/color/stretch-contrast.c:
      * operations/core/clone.c:
      * operations/core/crop.c:
      * operations/core/nop.c:
      * operations/core/shift.c:
      * operations/enhance/bilateral-filter.c:
      * operations/enhance/snn-mean.c:
      * operations/io/display.c:
      * operations/io/exr-load.cpp:
      * operations/io/ff-load.c:
      * operations/io/jpg-load.c:
      * operations/io/load-buffer.c:
      * operations/io/magick-load.c:
      * operations/io/pixbuf.c:
      * operations/io/png-load.c:
      * operations/io/png-save.c:
      * operations/io/raw-load.c:
      * operations/io/save-buffer.c:
      * operations/io/save-pixbuf.c:
      * operations/io/svg-load.c:
      * operations/render/FractalExplorer.c:
      * operations/render/checkerboard.c:
      * operations/render/color.c:
      * operations/render/introspect.c:
      * operations/render/noise.c:
      * operations/render/text.c:
      * operations/workshop/stress.c:
      
      svn path=/trunk/; revision=1813
      635ffb24
  10. 05 Jan, 2008 2 commits
    • Michael Natterer's avatar
      operations/core/crop.c operations/core/shift.c forgot · c7313f11
      Michael Natterer authored
      2008-01-05  Michael Natterer  <mitch@gimp.org>
      
      	* operations/core/crop.c
      	* operations/core/shift.c
      	* operations/color/remap.c: forgot compute_affected_region()
      	implementations in these files.
      
      
      svn path=/trunk/; revision=1803
      c7313f11
    • Øyvind Kolås's avatar
      Made the process methods of operations take a GeglNodeContext instead · 5ac10664
      Øyvind Kolås authored
      of a context_id, this GeglNodeContext contains the logic to perform
      concurrent bookkeeping of data on pads of nodes.
      * gegl/gegl-chant.h:
      * gegl/graph/gegl-node-context.[ch]:
      * gegl/operation/gegl-operation-composer.[ch]:
      * gegl/operation/gegl-operation-filter.[ch]:
      * gegl/operation/gegl-operation-point-composer.c:
      * gegl/operation/gegl-operation-point-filter.c:
      * gegl/operation/gegl-operation-sink.[ch]:
      * gegl/operation/gegl-operation-source.[ch]:
      * gegl/operation/gegl-operation.c:
      * gegl/operation/gegl-operation.h:
      * gegl/process/gegl-eval-visitor.c:
      * gegl/process/gegl-processor.c:
      * operations/affine/affine.c:
      * operations/blur/box-blur.c:
      * operations/blur/gaussian-blur.c:
      * operations/color/mono-mixer.c:
      * operations/color/remap.c:
      * operations/color/stretch-contrast.c:
      * operations/core/clone.c:
      * operations/core/crop.c:
      * operations/core/nop.c:
      * operations/core/shift.c:
      * operations/enhance/bilateral-filter.c:
      * operations/enhance/snn-mean.c:
      * operations/io/display.c:
      * operations/io/exr-load.cpp:
      * operations/io/ff-load.c:
      * operations/io/jpg-load.c:
      * operations/io/load-buffer.c:
      * operations/io/magick-load.c:
      * operations/io/pixbuf.c:
      * operations/io/png-load.c:
      * operations/io/png-save.c:
      * operations/io/raw-load.c:
      * operations/io/save-buffer.c:
      * operations/io/save-pixbuf.c:
      * operations/io/svg-load.c:
      * operations/render/FractalExplorer.c:
      * operations/render/checkerboard.c:
      * operations/render/color.c:
      * operations/render/introspect.c:
      * operations/render/noise.c:
      * operations/render/text.c:
      * operations/workshop/box-max.c:
      * operations/workshop/box-min.c:
      * operations/workshop/box-percentile.c:
      * operations/workshop/c2g.c:
      * operations/workshop/demosaic-simple.c:
      * operations/workshop/disc-percentile.c:
      * operations/workshop/gluas.c:
      * operations/workshop/gtk-display.c:
      * operations/workshop/hstack.c:
      * operations/workshop/kuwahara-max.c:
      * operations/workshop/kuwahara-min.c:
      * operations/workshop/kuwahara.c:
      * operations/workshop/line-profile.c:
      * operations/workshop/mandelbrot.c:
      * operations/workshop/max-envelope.c:
      * operations/workshop/mblur.c:
      * operations/workshop/min-envelope.c:
      * operations/workshop/rawbayer-load.c:
      * operations/workshop/snn-percentile.c:
      * operations/workshop/stress.c:
      
      svn path=/trunk/; revision=1801
      5ac10664
  11. 04 Jan, 2008 1 commit
    • Øyvind Kolås's avatar
      Removed context_id argument from prepare method, added const · 6d9def27
      Øyvind Kolås authored
      GeglRectangle *result to base process and many of the process
      protoypes in other base classes to simplify logic in operations.
      * gegl/gegl-chant.h:
      * gegl/operation/gegl-operation-filter.c:
      * gegl/operation/gegl-operation-composer.c:
      * gegl/operation/gegl-operation-filter.h:
      * gegl/operation/gegl-operation-area-filter.c:
      * gegl/operation/gegl-operation-composer.h:
      * gegl/operation/gegl-operation-source.c:
      * gegl/operation/gegl-operation.c:
      * gegl/operation/gegl-operation-sink.c:
      * gegl/operation/gegl-operation-source.h:
      * gegl/operation/gegl-operation.h:
      * gegl/operation/gegl-operation-sink.h:
      * gegl/operation/gegl-operation-point-filter.c:
      * gegl/operation/gegl-operation-point-composer.c:
      * gegl/process/gegl-eval-visitor.c:
      * gegl/process/gegl-prepare-visitor.c:
      * gegl/process/gegl-eval-mgr.c:
      * gegl/process/gegl-processor.c:
      * operations/render/color.c:
      * operations/render/text.c:
      * operations/render/introspect.c:
      * operations/render/checkerboard.c:
      * operations/render/FractalExplorer.c:
      * operations/render/noise.c:
      * operations/svg/svg_huerotate.c:
      * operations/svg/svg_luminancetoalpha.c:
      * operations/svg/svg_matrix.c:
      * operations/svg/svg_saturate.c:
      * operations/enhance/bilateral-filter.c:
      * operations/enhance/snn-mean.c:
      * operations/blur/box-blur.c:
      * operations/blur/gaussian-blur.c:
      * operations/meta/layer.c:
      * operations/io/png-load.c:
      * operations/io/save-buffer.c:
      * operations/io/raw-load.c:
      * operations/io/magick-load.c:
      * operations/io/exr-load.cpp:
      * operations/io/svg-load.c:
      * operations/io/load.c:
      * operations/io/png-save.c:
      * operations/io/load-buffer.c:
      * operations/io/save-pixbuf.c:
      * operations/io/pixbuf.c:
      * operations/io/jpg-load.c:
      * operations/core/clone.c:
      * operations/core/crop.c:
      * operations/core/convert-format.c:
      * operations/core/nop.c:
      * operations/core/shift.c:
      * operations/affine/affine.c:
      * operations/transparency/opacity.c:
      * operations/workshop/min-envelope.c:
      * operations/workshop/max-envelope.c:
      * operations/workshop/kuwahara.c:
      * operations/workshop/grey.c:
      * operations/workshop/box-min.c:
      * operations/workshop/disc-percentile.c:
      * operations/workshop/box-max.c:
      * operations/workshop/c2g.c:
      * operations/workshop/gluas.c:
      * operations/workshop/demosaic-simple.c:
      * operations/workshop/hstack.c:
      * operations/workshop/generated/blend.rb:
      * operations/workshop/box-percentile.c:
      * operations/workshop/mblur.c:
      * operations/workshop/stress.c:
      * operations/workshop/kuwahara-min.c:
      * operations/workshop/line-profile.c:
      * operations/workshop/kuwahara-max.c:
      * operations/workshop/snn-percentile.c:
      * operations/workshop/mandelbrot.c:
      * operations/workshop/ff-save.c:
      * operations/workshop/gtk-display.c:
      * operations/workshop/rawbayer-load.c:
      * operations/generated/svg-12-blend.rb:
      * operations/generated/other-blend.rb:
      * operations/generated/math.rb:
      * operations/generated/svg-12-porter-duff.rb:
      * operations/color/contrast-curve.c:
      * operations/color/brightness-contrast.c:
      * operations/color/remap.c:
      * operations/color/whitebalance.c:
      * operations/color/stretch-contrast.c:
      * operations/color/mono-mixer.c:
      * operations/color/threshold.c:
      
      svn path=/trunk/; revision=1798
      6d9def27
  12. 29 Dec, 2007 1 commit
    • Michael Natterer's avatar
      gegl/operation/gegl-operation-area-filter.c · 64da1c50
      Michael Natterer authored
      2007-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* gegl/operation/gegl-operation-area-filter.c
      	* gegl/operation/gegl-operation-composer.c
      	* gegl/operation/gegl-operation-filter.c
      	* gegl/operation/gegl-operation-point-composer.c
      	* gegl/operation/gegl-operation-point-filter.c
      	* gegl/operation/gegl-operation-sink.c
      	* gegl/operation/gegl-operation-source.c
      	* gegl/operation/gegl-operation.[ch]
      	* operations/affine/affine.c
      	* operations/color/mono-mixer.c
      	* operations/color/remap.c
      	* operations/color/stretch-contrast.c
      	* operations/core/shift.c
      	* operations/enhance/bilateral-filter.c
      	* operations/enhance/snn-mean.c
      	* operations/io/display.c
      	* operations/io/png-save.c
      	* operations/io/save-buffer.c
      	* operations/render/FractalExplorer.c
      	* operations/render/checkerboard.c
      	* operations/render/checkerboard.c
      	* operations/render/color.c
      	* operations/render/noise.c
      	* operations/render/text.c
      	* operations/render/text.c: constified some API using GeglRectangle.
      
      
      svn path=/trunk/; revision=1774
      64da1c50
  13. 11 Nov, 2007 1 commit
  14. 10 Nov, 2007 1 commit
    • Øyvind Kolås's avatar
      Upgraded GEGL from (L)GPLv2 to (L)GPLv3. The library itself and the · 6609e9b8
      Øyvind Kolås authored
      	operations are under LGPLv3 and the sample programs using the GEGL
      	library are licensed under GPLv3. Copyright statements in all files
      	have been updated to reflect this change, the permission to use leter
      	versions of the GNU licenses have been retained in all instances.)
      
      	* COPYING: changed to GPLv3
      	* COPYING.LESSER: added (LGPLv3 's exceptions over GPLv3)
      
      svn path=/trunk/; revision=1682
      6609e9b8
  15. 09 Sep, 2007 1 commit
    • Øyvind Kolås's avatar
      Migrated to using gegl_buffer_new gegl_buffer_create_sub_buffer · b1112d1a
      Øyvind Kolås authored
      instead of g_object_new (GEGL_TYPE_BUFFER, ..., NULL); where possible.
      * gegl/operation/gegl-operation-point-composer.c: (fast_paths):
      * gegl/operation/gegl-operation.c: (gegl_operation_process):
      * operations/core/crop.c: (process):
      * operations/core/shift.c: (process):
      * operations/io/display.c: (process):
      * operations/io/pixbuf.c: (process):
      * operations/io/raw-load.c: (load_buffer):
      * operations/io/svg-load.c: (process):
      * operations/render/introspect.c: (process):
      * operations/workshop/line-profile.c: (process):
      * operations/workshop/mandelbrot.c: (process):
      * operations/workshop/mblur.c: (init):
      * operations/workshop/mono-mixer.c: (process):
      * operations/workshop/rawbayer-load.c: (load_buffer):
      
      svn path=/trunk/; revision=1611
      b1112d1a
  16. 06 Sep, 2007 1 commit
  17. 29 May, 2007 1 commit
    • Øyvind Kolås's avatar
      Make the core ops non-caching. · 2dca2fc0
      Øyvind Kolås authored
      * operations/core/buffer.c: (class_init):
      * operations/core/clone.c: (class_init):
      * operations/core/crop.c: (class_init):
      * operations/core/nop.c: (class_init):
      * operations/core/shift.c: (class_init):
      
      svn path=/trunk/; revision=1522
      2dca2fc0
  18. 24 May, 2007 1 commit
    • Øyvind Kolås's avatar
      replaced calc_source_regions with compute_input_request, renamed · 1b090389
      Øyvind Kolås authored
      * gegl/gegl-operation.[ch]: replaced calc_source_regions with
      compute_input_request, renamed get_affected compute_affected. As well
      as the needed refactoring to make processing work with this new, less
      coupled version of the roi geometry computation.
      * gegl/gegl-node.c: (source_invalidated): get_affected->compute_affected.
      * gegl/gegl-operation-area-filter.c: Adapted to new API.
      * gegl/gegl-operation-composer.c: ...
      * gegl/gegl-operation-filter.c:
      * gegl/gegl-operation-sink.c:
      * gegl/gegl-operation-source.c:
      * operations/affine/affine.c: Adapted to new API.
      * operations/blur/box-blur.c: ...
      * operations/blur/gaussian-blur.c:
      * operations/color/remap.c:
      * operations/color/stretch-contrast.c:
      * operations/core/crop.c:
      * operations/core/shift.c:
      * operations/workshop/*.c:
      
      svn path=/trunk/; revision=1508
      1b090389
  19. 10 May, 2007 1 commit
    • Øyvind Kolås's avatar
      Replaced accesor functions with properties for some buffer properties. · dcd66d9c
      Øyvind Kolås authored
      * gegl/buffer/Makefile.am: install gegl-buffer.h
      * gegl/buffer/gegl-buffer-private.h: added a private header containing
      the actual struct of GeglBuffer.
      * gegl/buffer/gegl-buffer-allocator.h:
      * gegl/buffer/gegl-buffer-save.c: (gegl_buffer_save):
      * gegl/buffer/gegl-buffer.c: (get_property),
      (gegl_buffer_class_init), (int_gegl_buffer_get_format), (pset),
      (pget), (gegl_buffer_iterate):
      * gegl/buffer/gegl-buffer.h:
      * gegl/buffer/gegl-cache.h:
      * gegl/buffer/gegl-interpolator-cubic.c:
      * gegl/buffer/gegl-interpolator-lanczos.c:
      * gegl/buffer/gegl-interpolator-linear.c:
      * gegl/buffer/gegl-interpolator-nearest.c:
      * gegl/buffer/gegl-storage.c: (gegl_storage_constructor):
      * gegl/buffer/gegl-tile.c:
      Fix for changes in buffer API.
      * gegl/gegl-processor.c: (gegl_processor_class_init),
      (render_rectangle):
      * operations/affine/interpolate-cubic.c: (affine_cubic):
      * operations/affine/interpolate-lanczos.c: (affine_lanczos):
      * operations/affine/linear.c: (affine_linear), (scale_linear):
      * operations/affine/nearest.c: (affine_nearest), (scale_nearest):
      * operations/color/stretch-contrast.c: (buffer_get_min_max):
      * operations/core/crop.c: (process):
      * operations/core/save-buffer.c: (process):
      * operations/core/shift.c: (process):
      * operations/file-io/exr-load.cpp:
      * operations/render/FractalExplorer.c: (process):
      * operations/render/checkerboard.c: (process):
      * operations/render/color.c: (process):
      * operations/render/noise.c: (process):
      * operations/workshop/Makefile.am:
      * operations/workshop/ff-load.c: (process):
      * operations/workshop/mandelbrot.c: (process):
      
      svn path=/trunk/; revision=1459
      dcd66d9c
  20. 28 Jan, 2007 1 commit
    • Øyvind Kolås's avatar
      Adjusted which groups operations belong in as well as ranges for · 73ae5a30
      Øyvind Kolås authored
      properties.
      * operations/color/brightness-contrast.c:
      * operations/color/threshold.c:
      * operations/color/whitebalance.c:
      * operations/core/crop.c:
      * operations/core/shift.c:
      * operations/transform/affine.c: (op_affine_class_init):
      * operations/workshop/difference-of-gaussians.c:
      * operations/workshop/dog.c:
      
      svn path=/trunk/; revision=1258
      73ae5a30
  21. 21 Jan, 2007 1 commit
  22. 07 Jan, 2007 1 commit
    • Øyvind Kolås's avatar
      Added initial hit-detection system. · 3b7b3df1
      Øyvind Kolås authored
      * gegl/gegl-node.c: gegl_node_detect tied in with operations.
      * gegl/gegl-operation.[ch]: Added new virtual method called detect
      default implementation is to say it is us, if we've got defined data
      at the position.
      Changes in operation classes:
      * gegl/gegl-operation-filter.c: just call our source op asking it.
      * gegl/gegl-operation-composer.c: use aux if pixeldata is define there
      (should be overriden in some subclass(es?))
      * operations/core/shift.c: modify coordinates.
      * operations/transform/affine.c: modify coordinates.
      * bin/gegl-view.c: added (disabled by default) code to print which
      node is detected upon mouse press in the view.
      
      svn path=/trunk/; revision=1138
      3b7b3df1
  23. 29 Dec, 2006 1 commit
    • Øyvind Kolås's avatar
      %s/dynamic_id/context_id/g which is hopefully a rename in a sane · 372414f9
      Øyvind Kolås authored
      direction, probably not a final choice though.
      * gegl/gegl-chant.h:
      * gegl/gegl-cr-visitor.c: (visit_node):
      * gegl/gegl-debug-rect-visitor.c: (visit_node):
      * gegl/gegl-eval-mgr.c: (gegl_eval_mgr_apply):
      * gegl/gegl-eval-visitor.c: (visit_pad):
      * gegl/gegl-finish-visitor.c: (visit_node):
      * gegl/gegl-need-visitor.c: (visit_node):
      * gegl/gegl-node-dynamic.h:
      * gegl/gegl-node.c: (gegl_node_set_need_rect),
      (gegl_node_get_result_rect), (gegl_node_set_result_rect),
      (gegl_node_get_need_rect), (lookup_dynamic),
      (gegl_node_get_dynamic), (gegl_node_remove_dynamic),
      (gegl_node_add_dynamic):
      * gegl/gegl-node.h:
      * gegl/gegl-operation-composer.c: (process), (calc_source_regions):
      * gegl/gegl-operation-composer.h:
      * gegl/gegl-operation-filter.c: (process), (calc_source_regions):
      * gegl/gegl-operation-filter.h:
      * gegl/gegl-operation-point-composer.c: (process_inner):
      * gegl/gegl-operation-point-filter.c: (process_inner):
      * gegl/gegl-operation-sink.c: (process), (calc_source_regions):
      * gegl/gegl-operation-sink.h:
      * gegl/gegl-operation-source.c: (process), (calc_source_regions):
      * gegl/gegl-operation-source.h:
      * gegl/gegl-operation.c: (gegl_operation_process),
      (gegl_operation_calc_source_regions), (gegl_operation_prepare),
      (gegl_operation_set_source_region), (calc_source_regions),
      (gegl_operation_get_requested_region),
      (gegl_operation_result_rect), (gegl_operation_get_data),
      (gegl_operation_set_data):
      * gegl/gegl-operation.h:
      * gegl/gegl-prepare-visitor.c: (visit_node):
      * gegl/gegl-visitor.c: (set_property), (get_property):
      * gegl/gegl-visitor.h:
      * operations/blur/box-blur.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/blur/gaussian-blur.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/color/remap.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/color/stretch-contrast.c: (process),
      (calc_source_regions):
      * operations/core/buffer.c: (process):
      * operations/core/clone.c: (process):
      * operations/core/crop.c: (process), (calc_source_regions):
      * operations/core/nop.c: (process):
      * operations/core/save-buffer.c: (process):
      * operations/core/shift.c: (process), (calc_source_regions):
      * operations/display/display.c: (process):
      * operations/file-io/exr-load.cpp:
      * operations/file-io/jpg-load.c: (process):
      * operations/file-io/load.c: (prepare):
      * operations/file-io/magick-load.c: (process):
      * operations/file-io/pixbuf.c: (process):
      * operations/file-io/png-load.c: (process), (get_defined_region):
      * operations/file-io/png-save.c: (process):
      * operations/file-io/raw-load.c: (process):
      * operations/file-io/svg-load.c: (process):
      * operations/meta/layer.c: (prepare):
      * operations/render/FractalExplorer.c: (process):
      * operations/render/checkerboard.c: (process):
      * operations/render/color.c: (process):
      * operations/render/introspect.c: (process):
      * operations/render/noise.c: (process):
      * operations/render/text.c: (process):
      * operations/transform/affine.c: (calc_source_regions), (process):
      * operations/workshop/box-max.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/workshop/box-min.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/workshop/demosaic-simple.c: (process),
      (get_source_rect), (calc_source_regions):
      * operations/workshop/gtk-display.c: (process):
      * operations/workshop/mandelbrot.c: (process):
      * operations/workshop/rawbayer-load.c: (process):
      372414f9
  24. 13 Dec, 2006 1 commit
    • Øyvind Kolås's avatar
      %s/GeglRect/GeglRectangle/g · e126ae4f
      Øyvind Kolås authored
      	%s/gegl_rect_/gegl_rectangle_/g
      
      	* bin/editor.c (cb_fit), (cb_fit_on_screen), (cb_shrinkwrap):
      	* bin/export.c (set_to_defined), (get_input_rect),
      	(button_input_clicked), (button_view_clicked),
      	(button_render_clicked), (gegl_buffer_export_png):
      	* bin/gegl-projection.c (gegl_projection_class_init),
      	(task_monitor), (node_invalidated), (gegl_projection_forget_queue),
      	(gegl_projection_forget), (gegl_projection_update_rect),
      	(task_render):
      	* bin/gegl-projection.h:
      	* bin/gegl-view.c (computed_event), (expose_event),
      	(gegl_view_repaint):
      	* codegen/test_files/gegl-add-op.gil:
      	* codegen/test_files/gegl-composite-op.gil:
      	* codegen/test_files/gegl-composite-premult-op.gil:
      	* codegen/test_files/gegl-dark-op.gil:
      	* codegen/test_files/gegl-diff-op.gil:
      	* codegen/test_files/gegl-fill-op.gil:
      	* codegen/test_files/gegl-light-op.gil:
      	* codegen/test_files/gegl-max-op.gil:
      	* codegen/test_files/gegl-min-op.gil:
      	* codegen/test_files/gegl-mult-op.gil:
      	* codegen/test_files/gegl-premult-op.gil:
      	* codegen/test_files/gegl-print-op.gil:
      	* codegen/test_files/gegl-screen-op.gil:
      	* codegen/test_files/gegl-subtract-op.gil:
      	* codegen/test_files/gegl-unpremult-op.gil:
      	* docs/gallery/clones.xml:
      	* docs/reference/gegl/gegl-sections.txt:
      	* docs/reference/gegl/tmpl/gegl-types.sgml:
      	* gegl/buffer/gegl-buffer.c (gegl_buffer_constructor),
      	(gegl_buffer_set), (gegl_buffer_get_scaled), (gegl_buffer_get):
      	* gegl/buffer/gegl-buffer.h:
      	* gegl/buffer/gegl-region-generic.c (gegl_region_rectangle),
      	(gegl_region_get_clipbox), (gegl_region_get_rectangles),
      	(gegl_region_union_with_rect), (gegl_region_rect_in):
      	* gegl/buffer/gegl-region.h:
      	* gegl/gegl-chant.h:
      	* gegl/gegl-eval-mgr.c (gegl_eval_mgr_init), (gegl_eval_mgr_apply):
      	* gegl/gegl-eval-mgr.h:
      	* gegl/gegl-graph.c (source_invalidated):
      	* gegl/gegl-have-visitor.c (visit_node):
      	* gegl/gegl-node-dynamic.c:
      	* gegl/gegl-node-dynamic.h:
      	* gegl/gegl-node.c (gegl_node_class_init), (source_invalidated),
      	(gegl_node_apply_roi), (gegl_node_blit), (gegl_node_apply),
      	(property_changed), (gegl_node_process):
      	* gegl/gegl-node.h:
      	* gegl/gegl-operation-composer.c (get_defined_region),
      	(calc_source_regions):
      	* gegl/gegl-operation-filter.c (get_defined_region),
      	(calc_source_regions):
      	* gegl/gegl-operation-point-composer.c (process_inner):
      	* gegl/gegl-operation-point-filter.c (process_inner):
      	* gegl/gegl-operation-sink.c (get_defined_region),
      	(calc_source_regions):
      	* gegl/gegl-operation-source.c (get_defined_region):
      	* gegl/gegl-operation.c (gegl_operation_get_defined_region),
      	(gegl_operation_get_affected_region),
      	(gegl_operation_set_source_region), (get_defined_region),
      	(get_affected_region):
      	* gegl/gegl-operation.h:
      	* gegl/gegl-types.h:
      	* gegl/gegl-utils.c (gegl_rect_set), (gegl_rect_bounding_box),
      	(gegl_rect_intersect), (gegl_rect_copy), (gegl_rect_contains),
      	(gegl_rect_equal), (gegl_rect_equal_coords), (gegl_rect_dup),
      	(gegl_rect_get_type):
      	* gegl/gegl-utils.h:
      	* gegl/gegl.h:
      	* operations/blur/box-blur.c (process), (get_defined_region),
      	(get_source_rect), (calc_source_regions), (get_affected_region):
      	* operations/blur/gaussian-blur.c (process), (get_defined_region),
      	(get_source_rect), (get_affected_region), (calc_source_regions):
      	* operations/color/stretch-contrast.c (process):
      	* operations/core/buffer.c (get_defined_region):
      	* operations/core/crop.c (get_defined_region),
      	(get_affected_region):
      	* operations/core/shift.c (get_defined_region),
      	(get_affected_region), (calc_source_regions):
      	* operations/display/display.c (process):
      	* operations/file-io/exr-load.cpp:
      	* operations/file-io/jpg-load.c (get_defined_region),
      	(gegl_buffer_import_jpg):
      	* operations/file-io/magick-load.c (get_defined_region):
      	* operations/file-io/pixbuf.c (get_defined_region):
      	* operations/file-io/png-load.c (get_defined_region):
      	* operations/file-io/png-save.c (process),
      	(gegl_buffer_export_png):
      	* operations/file-io/raw-load.c (get_defined_region):
      	* operations/file-io/svg-load.c (get_defined_region),
      	(gegl_buffer_import_svg):
      	* operations/generated/porter-duff.rb:
      	* operations/render/FractalExplorer.c (process),
      	(get_defined_region):
      	* operations/render/checkerboard.c (process), (get_defined_region):
      	* operations/render/color.c (process), (get_defined_region):
      	* operations/render/noise.c (process), (get_defined_region):
      	* operations/render/text.c (process), (get_defined_region):
      	* operations/transform/affine.c (bounding_box),
      	(get_defined_region), (calc_source_regions), (get_affected_region),
      	(process):
      	* operations/workshop/demosaic-simple.c (process),
      	(get_defined_region), (get_source_rect), (calc_source_regions),
      	(get_affected_region):
      	* operations/workshop/gtk-display.c (process):
      	* operations/workshop/mandelbrot.c (process), (get_defined_region):
      	* operations/workshop/rawbayer-load.c (get_defined_region):
      	* opgen/Gegl/PointOp.pm:
      	* tests/filltest-float.c (test_fill_apply_roi):
      	* tests/filltest-uint8.c (test_fill_apply_roi):
      e126ae4f
  25. 11 Dec, 2006 1 commit
    • Øyvind Kolås's avatar
      Adapted most operations to new reentrant API for passing buffers · 84b9ef49
      Øyvind Kolås authored
      around in the graph. (EXR load is amongst the ones that were not
      cheched this time around.)
      * operations/blur/box-blur.c: (process):
      * operations/blur/gaussian-blur.c: (process):
      * operations/color/stretch-contrast.c: (process):
      * operations/core/buffer.c: (process):
      * operations/core/clone.c: (process):
      * operations/core/crop.c: (process):
      * operations/core/nop.c: (process):
      * operations/core/shift.c: (process):
      * operations/display/display.c: (process):
      * operations/file-io/jpg-load.c: (process):
      * operations/file-io/load.c: (refresh_cache):
      * operations/file-io/magick-load.c: (process):
      * operations/file-io/pixbuf.c: (process):
      * operations/file-io/png-load.c: (process):
      * operations/file-io/png-save.c: (process):
      * operations/file-io/raw-load.c: (process):
      * operations/file-io/svg-load.c: (process):
      * operations/meta/layer.c: (refresh_cache):
      * operations/render/FractalExplorer.c: (process):
      * operations/render/checkerboard.c: (process):
      * operations/render/color.c: (process):
      * operations/render/noise.c: (process):
      * operations/render/text.c: (process):
      * operations/transform/affine.c: (process):
      * operations/workshop/demosaic-simple.c: (process):
      * operations/workshop/gtk-display.c: (process):
      * operations/workshop/mandelbrot.c: (process):
      * operations/workshop/rawbayer-load.c: (process):
      84b9ef49
  26. 08 Dec, 2006 1 commit
    • Øyvind Kolås's avatar
      Added GeglNodeDynamic, a data structure to store evaluation · d152b43f
      Øyvind Kolås authored
      thread/context specifc data attached to nodes, at the moment it
      contains some of the rects travesals and internal refcount for buffer
      bookkeeping. Buffers (and potentially other pad data), should be moved
      here as well. A first step towards reentrancy.
      * gegl/Makefile.am:
      * gegl/gegl-chant.h:
      * gegl/gegl-cr-visitor.c: (visit_node):
      * gegl/gegl-debug-rect-visitor.c: (visit_node):
      * gegl/gegl-eval-mgr.c: (gegl_eval_mgr_apply):
      * gegl/gegl-eval-visitor.c: (visit_pad):
      * gegl/gegl-finish-visitor.c: (gegl_finish_visitor_class_init),
      (gegl_finish_visitor_init), (visit_node):
      * gegl/gegl-finish-visitor.h:
      * gegl/gegl-need-visitor.c: (visit_node):
      * gegl/gegl-node-dynamic.c: (gegl_node_dynamic_class_init),
      (gegl_node_dynamic_init), (gegl_node_dynamic_set_need_rect),
      (gegl_node_dynamic_get_result_rect),
      (gegl_node_dynamic_set_result_rect),
      (gegl_node_dynamic_get_need_rect):
      * gegl/gegl-node-dynamic.h:
      * gegl/gegl-node.c: (gegl_node_init), (gegl_node_set_need_rect),
      (gegl_node_get_result_rect), (gegl_node_set_result_rect),
      (gegl_node_get_need_rect), (gegl_node_get_bounding_box),
      (gegl_node_process), (lookup_dynamic), (gegl_node_get_dynamic),
      (gegl_node_remove_dynamic), (gegl_node_add_dynamic):
      * gegl/gegl-node.h:
      * gegl/gegl-operation-composer.c: (process), (calc_source_regions):
      * gegl/gegl-operation-composer.h:
      * gegl/gegl-operation-filter.c: (process), (calc_source_regions):
      * gegl/gegl-operation-filter.h:
      * gegl/gegl-operation-point-composer.c: (process_inner):
      * gegl/gegl-operation-point-filter.c: (process_inner):
      * gegl/gegl-operation-sink.c: (process), (calc_source_regions):
      * gegl/gegl-operation-sink.h:
      * gegl/gegl-operation-source.c: (process), (calc_source_regions):
      * gegl/gegl-operation-source.h:
      * gegl/gegl-operation.c: (gegl_operation_process),
      (gegl_operation_calc_source_regions), (gegl_operation_prepare),
      (gegl_operation_set_source_region), (calc_source_regions),
      (gegl_operation_get_requested_region),
      (gegl_operation_result_rect):
      * gegl/gegl-operation.h:
      * gegl/gegl-prepare-visitor.c: (visit_node):
      * gegl/gegl-types.h:
      * gegl/gegl-visitor.c: (gegl_visitor_class_init), (set_property),
      (get_property):
      * gegl/gegl-visitor.h:
      * operations/blur/box-blur.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/blur/gaussian-blur.c: (process), (get_source_rect),
      (calc_source_regions):
      * operations/color/stretch-contrast.c: (process),
      (calc_source_regions):
      * operations/core/buffer.c: (process):
      * operations/core/clone.c: (process):
      * operations/core/crop.c: (process), (calc_source_regions):
      * operations/core/nop.c: (process):
      * operations/core/shift.c: (process), (calc_source_regions):
      * operations/display/display.c: (process):
      * operations/file-io/jpg-load.c: (process):
      * operations/file-io/load.c: (prepare):
      * operations/file-io/magick-load.c: (process):
      * operations/file-io/pixbuf.c: (process):
      * operations/file-io/png-load.c: (process), (get_defined_region):
      * operations/file-io/png-save.c: (process):
      * operations/file-io/raw-load.c: (process):
      * operations/file-io/svg-load.c: (process), (get_defined_region):
      * operations/meta/layer.c: (prepare):
      * operations/render/FractalExplorer.c: (process):
      * operations/render/checkerboard.c: (process):
      * operations/render/color.c: (process):
      * operations/render/noise.c: (process):
      * operations/render/text.c: (process):
      * operations/transform/affine.c: (calc_source_regions), (process):
      * operations/workshop/demosaic-simple.c: (process),
      (get_source_rect), (calc_source_regions):
      * operations/workshop/gtk-display.c: (process):
      * operations/workshop/mandelbrot.c: (process):
      * operations/workshop/rawbayer-load.c: (process):
      d152b43f
  27. 29 Oct, 2006 1 commit
    • Øyvind Kolås's avatar
      Minimized unneeded recomputation in the GUI test app with a new · 5f34521c
      Øyvind Kolås authored
      	dirt propagation infrastructure. The dirt accumulation is happening
      	as the graph is manipulated, properties are changed etc automatically.
      	The code probably needs more changes as well, but the basics seems
      	to work correctly.
      
      	* bin/gegl-projection.c: (gegl_projection_constructor),
      	(set_property), (task_render), (task_monitor): Handle dirt
      	tracking/cleaning for updates.
      	* bin/gegl-view.c: (set_property), (gegl_view_repaint):
      	* bin/gegl.c: (main): changed the default project.
      
      	* gegl/Makefile.am: added gegl-{clean,dirt}-visitor.[ch]
      	* gegl/gegl-types.h: added dirt and clean visitors.
      	* gegl/gegl-dirt-visitor.[ch] NEW:, visitor for propagating dirtied
      	regions in the graph.
      	* gegl/gegl-clean-visitor.[ch] NEW:, visitor that cleans up dirt
      	rectangles.
      
      	* gegl/gegl-node.[ch]: added gegl_node_get_dirty_rect,
      	gegl_node_clear_dirt and dirt_rect instance member.
      	* gegl/gegl-operation.c: (get_affected_region):
      
      	Added get_affected_region to operations that needed to override
      	default behavior.
      
      	* operations/blur/box-blur.c: (get_affected_region), (class_init):
      	* operations/blur/gaussian-blur.c: (get_affected_region),
      	(class_init):
      	* operations/core/shift.c: (get_affected_region), (class_init):
      	* operations/transform/affine.c: (op_affine_class_init),
      	(get_defined_region), (get_affected_region):
      	* operations/generated/porter-duff.rb: (op_affine_class_init).
      5f34521c
  28. 11 Sep, 2006 1 commit
  29. 09 Sep, 2006 1 commit
  30. 06 Sep, 2006 1 commit
  31. 03 Sep, 2006 1 commit