1. 01 Jan, 2008 1 commit
  2. 31 Dec, 2007 3 commits
  3. 30 Dec, 2007 16 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
    • Michael Natterer's avatar
      app/tools/gimpcolorbalancetool.c app/tools/gimpcolorizetool.c · 5780913e
      Michael Natterer authored
      2007-12-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: #include <gegl.h>. Fixes the build.
      
      
      svn path=/trunk/; revision=24489
      5780913e
    • Michael Natterer's avatar
      First actual image processing with GEGL! Wheeeee :-) · d6ab4d19
      Michael Natterer authored
      2007-12-30  Michael Natterer  <mitch@gimp.org>
      
      	First actual image processing with GEGL! Wheeeee :-)
      
      	* app/core/gimpimagemap.[ch]: added code to use gegl instead of the
      	old apply_func and apply_data.
      
      	(gimp_image_map_new): add GeglNode parameter that, if passed,
      	switches the whole thing to using a gegl graph with this node
      	as central processing node.
      
      	* app/tools/gimpimagemaptool.[ch]: add virtual function
      	get_operation() which, if implemented, returns a GeglNode to pass
      	to gimp_image_map_new(). Added a "Use GEGL" toggle so we can
      	switch between legacy and gegl code for the migration period.
      
      	* app/tools/gimpbrightnesscontrasttool.[ch]: implement
      	get_operation() and return a brightness-contrast node.
      
      	(gimp_briughtness_contrast_tool_map): set the node's properties
      	from the GUI.
      
      
      svn path=/trunk/; revision=24488
      d6ab4d19
    • Sven Neumann's avatar
      app/display/gimpstatusbar.[ch] only update the GtkProgressBar if that · 0d818d9a
      Sven Neumann authored
      2007-12-30  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpstatusbar.[ch]
      	* app/widgets/gimpprogressbox.[ch]: only update the 
      GtkProgressBar
      	if that would cause a visible change.
      
      
      svn path=/trunk/; revision=24487
      0d818d9a
    • Manish Singh's avatar
      subscript API for PixelFetcher. · 7313f6d0
      Manish Singh authored
      2007-12-30  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/pygimp-tile.c: subscript API for PixelFetcher.
      
      svn path=/trunk/; revision=24486
      7313f6d0
    • Øyvind Kolås's avatar
      fixup due to mixup when using scripts for commiting and not paying good enough attention · 7942708d
      Øyvind Kolås authored
      svn path=/trunk/; revision=24485
      7942708d
    • Michael Natterer's avatar
      minor cleanup. · 5adffe39
      Michael Natterer authored
      2007-12-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpoperationtilesource.c: minor cleanup.
      
      	* app/gegl/gimpoperationtilesink.[ch]: add "data-written" signal
      	that is emitted whenever pixels have been written to the tile
      	manager.
      
      
      svn path=/trunk/; revision=24484
      5adffe39
    • Øyvind Kolås's avatar
      added GEGL_CFLAGS. added an alternate GEGL code path that can be enabled · e84e383c
      Øyvind Kolås authored
      * app/core/Makefile.am: added GEGL_CFLAGS.
      * app/core/gimpdrawable-invert.c: added an alternate GEGL code path
      that can be enabled by uncommenting ENABLE_GEGL in the file.
      
      svn path=/trunk/; revision=24483
      e84e383c
    • Øyvind Kolås's avatar
      added GEGL_CFLAGS. added an alternate GEGL code path that can be enabled · c4195b95
      Øyvind Kolås authored
      * app/core/Makefile.am: added GEGL_CFLAGS.
      * app/core/gimpdrawable-invert.c: added an alternate GEGL code path
      that can be enabled by uncommenting ENABLE_GEGL in the file.
      
      svn path=/trunk/; revision=24482
      c4195b95
    • Manish Singh's avatar
      plug-ins/pygimp/gimpmodule.c plug-ins/pygimp/pygimp-pdb.c · 43f82396
      Manish Singh authored
      2007-12-30  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/gimpmodule.c
              * plug-ins/pygimp/pygimp-pdb.c
              * plug-ins/pygimp/pygimp-colors.c
              * plug-ins/pygimp/pygimpcolor-api.h
              * plug-ins/pygimp/pygimpcolor.h: Move pygimp_rgb_from_pyobject into
              the gimpcolor module, and make it handle translation of sequences
              into colors too. Make the GimpParam translation code use it.
      
              * plug-ins/pygimp/gimpcolormodule.c: Initial wrapping of
              gimp_bilinear color functions.
      
              * plug-ins/pygimp/gimpenumsmodule.c
              * plug-ins/pygimp/gimpmodule.c
              * plug-ins/pygimp/pygimp.h
              * plug-ins/pygimp/pygimp-tile.c: Basic wrapping of GimpPixelFetcher.
      
      svn path=/trunk/; revision=24481
      43f82396
    • Øyvind Kolås's avatar
      specify that this operation does not need the full buffer available before · af300934
      Øyvind Kolås authored
      * app/gegl/gimpoperationtilesink.c: specify that this operation does
      not need the full buffer available before "flushing" the sink.
      * app/gegl/gegl/gegl-operation-sink.h:
      * app/gegl/gegl/gegl-operation.h: updated copy of headers.
      
      svn path=/trunk/; revision=24480
      af300934
    • Øyvind Kolås's avatar
      specify that this operation does not need the full buffer available before · 772d2629
      Øyvind Kolås authored
      * app/gegl/gimpoperationtilesink.c: specify that this operation does
      not need the full buffer available before "flushing" the sink.
      * app/gegl/gegl/gegl-operation-sink.h:
      * app/gegl/gegl/gegl-operation.h: updated copy of headers.
      
      svn path=/trunk/; revision=24479
      772d2629
    • Sven Neumann's avatar
      added entry for Canon Digital Ixus v2 and removed duplicate entry. · 10a38da7
      Sven Neumann authored
      2007-12-30  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/jpeg/jpegqual.c (quant_info): added entry for Canon
      	Digital Ixus v2 and removed duplicate entry.
      
      
      svn path=/trunk/; revision=24478
      10a38da7
    • Sven Neumann's avatar
      use G_OPTION_REMAINING to access the filenames passed as command-line · b0c2f3de
      Sven Neumann authored
      2007-12-30  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/jpeg/jpegqual.c: use G_OPTION_REMAINING to access the
      	filenames passed as command-line arguments.
      
      
      svn path=/trunk/; revision=24477
      b0c2f3de
    • Sven Neumann's avatar
      applied another patch from Ulf-D. Ehlert for the parameter range (bug · 289fa192
      Sven Neumann authored
      2007-12-30  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/chip-away.scm: applied another 
      patch
      	from Ulf-D. Ehlert for the parameter range (bug #506110).
      
      
      svn path=/trunk/; revision=24475
      289fa192
  4. 29 Dec, 2007 17 commits
    • Øyvind Kolås's avatar
      override the default behaviour of GeglOperationSource to expand the result · d62e65d4
      Øyvind Kolås authored
      * app/gegl/gimpoperationtilesource.c: override the default behaviour
      of GeglOperationSource to expand the result rect to the full have
      rect with a NULL (nop) implementation.
      
      svn path=/trunk/; revision=24474
      d62e65d4
    • Sven Neumann's avatar
      let gimp_drawable_invert() take a GimpProgress parameter. · ff768c52
      Sven Neumann authored
      2007-12-30  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-invert.[ch]: let gimp_drawable_invert()
      	take a GimpProgress parameter.
      
      	* tools/pdbgen/pdb/color.pdb
      	* app/pdb/color_cmds.c
      	* app/actions/drawable-commands.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24473
      ff768c52
    • Michael Natterer's avatar
      app/actions/Makefile.am app/core/Makefile.am app/display/Makefile.am use · 529fd5e6
      Michael Natterer authored
      2007-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/tools/Makefile.am: use GEGL_CFLAGS.
      
      
      svn path=/trunk/; revision=24472
      529fd5e6
    • Sven Neumann's avatar
      app/gegl/gimpoperationtilesink.c formatting. · 27450af4
      Sven Neumann authored
      2007-12-29  Sven Neumann  <sven@gimp.org>
      
      	* app/gegl/gimpoperationtilesink.c
      	* app/gegl/gimpoperationtilesource.c: formatting.
      
      
      svn path=/trunk/; revision=24471
      27450af4
    • Øyvind Kolås's avatar
      do not fetch the full extent of the TileManager but only the needed · 10d1bfe3
      Øyvind Kolås authored
      * app/gegl/gimpoperationtilesource.c: do not fetch the full extent
      of the TileManager but only the needed pixels. Pass rowstride
      correctly when fecting subregions.
      
      svn path=/trunk/; revision=24470
      10d1bfe3
    • Øyvind Kolås's avatar
      depend on GEGL 0.0.15 (version ends in odd, thus depending on svn trunk of · 16ae0538
      Øyvind Kolås authored
      * configure.in: depend on GEGL 0.0.15 (version ends in odd, thus
      depending on svn trunk of GEGL).
      * app/gegl/gimpoperationtilesource.c:
      (gimp_operation_tile_source_process): just use GEGL_AUTO_ROWSTRIDE for
      the rowstride in gegl_buffer_set for now.
      
      svn path=/trunk/; revision=24469
      16ae0538
    • Michael Natterer's avatar
      app/tools/gimpbrightnesscontrasttool.c app/tools/gimpcolorbalancetool.c · e4852740
      Michael Natterer authored
      2007-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpthresholdtool.c: more cleanup in preparation of
      	migrating to gegl.
      
      
      svn path=/trunk/; revision=24468
      e4852740
    • Michael Natterer's avatar
      app/gegl/gimp-gegl.c app/gegl/gimpoperationtilesource.c fixup includes a · 3377d042
      Michael Natterer authored
      2007-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimp-gegl.c
      	* app/gegl/gimpoperationtilesource.c
      	* app/gegl/gimpoperationtilesink.c: fixup includes a bit.
      
      
      svn path=/trunk/; revision=24467
      3377d042
    • Øyvind Kolås's avatar
      added. added from GEGL trunk. .. updated copy from GEGL trunk. · 2236d9fa
      Øyvind Kolås authored
      * app/gegl/gegl/buffer/: added.
      * app/gegl/gegl/buffer/gegl-buffer-types.h: added from GEGL trunk.
      * app/gegl/gegl/gegl-operation.h: ..
      * app/gegl/gegl/gegl-types.h: updated copy from GEGL trunk.
      * app/gegl/gimp-gegl.c: 
      * app/gegl/gimpoperationtilesink.c:
      * app/gegl/gimpoperationtilesource.c: Modified to build with direct
      copies of GEGL headers.
      
      svn path=/trunk/; revision=24466
      2236d9fa
    • Michael Natterer's avatar
      add boxed type GIMP_TYPE_TILE_MANAGER. · 6be63006
      Michael Natterer authored
      2007-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/tile-manager.[ch]: add boxed type GIMP_TYPE_TILE_MANAGER.
      
      	* app/gegl/gimpoperationtilesink.c
      	* app/gegl/gimpoperationtilesource.c: use GParamSpecBoxed instead
      	of GParamSpecPointer for the tile-manager properties and ref them
      	properly. Some cleanup.
      
      
      svn path=/trunk/; revision=24465
      6be63006
    • Michael Natterer's avatar
      link app/gegl/libappgegl.a · 67298aaa
      Michael Natterer authored
      2007-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am (GTKDOC_LIBS): link app/gegl/libappgegl.a
      
      
      svn path=/trunk/; revision=24464
      67298aaa
    • Sven Neumann's avatar
      declare gimp_bpp_to_babl_format() as G_GNUC_CONST. · e77d9664
      Sven Neumann authored
      2007-12-29  Sven Neumann  <sven@gimp.org>
      
      	* app/gegl/gimp-gegl-utils.h: declare gimp_bpp_to_babl_format() 
      as
      	G_GNUC_CONST.
      
      
      svn path=/trunk/; revision=24463
      e77d9664
    • Michael Natterer's avatar
      add some const that should also be in the gegl api *cough*. · 1028a2d8
      Michael Natterer authored
      2007-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpoperationtilesink.c (tile_sink_process): add
      	some const that should also be in the gegl api *cough*.
      
      
      svn path=/trunk/; revision=24462
      1028a2d8
    • Michael Natterer's avatar
      use g_return_val_if_fail() instead of g_warning(). · 3b2cd209
      Michael Natterer authored
      2007-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimp-gegl-utils.c (gimp_bpp_to_babl_format): use
      	g_return_val_if_fail() instead of g_warning().
      
      
      svn path=/trunk/; revision=24461
      3b2cd209
    • Michael Natterer's avatar
      new files containing gimp_bpp_to_babl_format(). · 70f07cd5
      Michael Natterer authored
      2007-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimp-gegl-utils.c: new files containing
      	gimp_bpp_to_babl_format().
      
      	* app/gegl/gimpoptilesink.[ch]
      	* app/gegl/gimpoptilesource.[ch]: renamed..
      
      	* app/gegl/gimpoperationtilesink.[ch]
      	* app/gegl/gimpoperationtilesource.[ch]: ...to these. Cleaned them
      	up quite a bit more.
      
      	* app/gegl/Makefile.am
      	* app/gegl/gimp-gegl.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24460
      70f07cd5
    • Michael Natterer's avatar
      Some cleanup... · 479a6498
      Michael Natterer authored
      2007-12-29  Michael Natterer  <mitch@gimp.org>
      
      	Some cleanup...
      
      	* app/Makefile.am: change linking order.
      
      	* app/main.c: move gegl initialization from here...
      
      	* app/app.c: ...to here.
      
      	* app/gegl/gimpops.c: removed.
      
      	* app/gegl/gimp-gegl.[ch]
      	* app/gegl/gegl-types.h: added.
      
      	* app/gegl/Makefile.am: changed accordingly.
      
      	* app/gegl/gimpoptilesink.[ch]
      	* app/gegl/gimpoptilesource.[ch]: made more gimpish.
      
      
      svn path=/trunk/; revision=24459
      479a6498
    • Øyvind "pippin" Kolås's avatar
      Added adapter GEGL operations for reading and writing to TileManagers. · b06afdec
      Øyvind "pippin" Kolås authored
      2007-12-29  Øyvind Kolås  <pippin@gimp.org>
      
      	Added adapter GEGL operations for reading and writing to TileManagers.
      
      	* configure.in:
      	* app/Makefile.am: added gegl subdir.
      	* app/gegl/Makefile.am: added.
      	* app/gegl/gimpops.c: (gimp_gegl_ops_init):
      	* app/gegl/gimpoptilesink.[ch]: adapter GEGL operation for writing to
      	GIMP tile managers.
      	* app/gegl/gimpoptilesource.[ch]: adapter GEGL operation for reading
      	from GIMP tile managers.
      	* app/main.c: (main): call gimp_gegl_ops_init()
      	* app/gegl/gegl/: added some headers from GEGL that are not installed
      	since they are not public API yet.
      
      svn path=/trunk/; revision=24458
      b06afdec
  5. 28 Dec, 2007 3 commits
    • Simon Budig's avatar
      don't use ceil, use SCALEX. Round hopefully more properly. · 25aec865
      Simon Budig authored
      2007-12-29  Simon Budig  <simon@gimp.org>
      
              * app/display/gimpdisplayshell.c: don't use ceil, use SCALEX.
      	* app/display/gimpdisplayshell-transform.c: Round hopefully more
      	properly.
      
      	This probably exchanges one set of artefacts for another one...
      
      	* app/display/gimpdisplayshell-render.c: minor fixes.
      	* app/display/gimpdisplayshell-selection.c: whitespace fix
      
      
      svn path=/trunk/; revision=24457
      25aec865
    • Sven Neumann's avatar
      removed GIMP_RENDER_BUF_WIDTH and GIMP_RENDER_BUF_HEIGHT definitions. · 3d48f1bc
      Sven Neumann authored
      2007-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimprender.h: removed GIMP_RENDER_BUF_WIDTH and
      	GIMP_RENDER_BUF_HEIGHT definitions.
      
      	* app/display/gimpdisplayshell.h: define the size of the display
      	render buffer here.
      
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/widgets/gimprender.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24456
      3d48f1bc
    • Sven Neumann's avatar
      don't use the render buffer. Use a white background until this widget is · 787b0100
      Sven Neumann authored
      2007-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.c: don't use the render buffer.
      	Use a white background until this widget is rewritten.
      
      
      svn path=/trunk/; revision=24455
      787b0100