1. 04 Nov, 2008 4 commits
    • Michael Natterer's avatar
      remove public functions get_tiles(), get_image(), get_image_type() and · 87dc343b
      Michael Natterer authored
      2008-11-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpprojection.[ch]: remove public functions
      	get_tiles(), get_image(), get_image_type() and get_bytes().
      
      	* app/actions/debug-commands.c
      	* app/actions/layers-commands.c
      	* app/core/gimpprojection-construct.c
      	* app/display/gimpdisplayshell-render.c
      	* app/paint/gimppaintcore.c
      	* tools/pdbgen/pdb/layer.pdb: use the GimpPickable API insatead.
      
      	* app/pdb/layer-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27547
      87dc343b
    • Sven Neumann's avatar
      also commit the ChangeLog entry · 5d4f7f6e
      Sven Neumann authored
      svn path=/trunk/; revision=27546
      5d4f7f6e
    • Sven Neumann's avatar
      reverted last change as the code in tile-pyramid does care about the pixel · b5ff19f7
      Sven Neumann authored
      2008-11-04  Sven Neumann  <sven@sven>
      
      	* app/base/tile-pyramid.[ch] (tile_pyramid_new):
      	* app/core/gimpprojection.c 
      (gimp_projection_get_tiles_at_level):
      	reverted last change as the code in tile-pyramid does care about
      	the pixel format and it should continue to reject types that it
      	cannot handle.
      
      
      svn path=/trunk/; revision=27545
      b5ff19f7
    • Michael Natterer's avatar
      changed "type" parameter into "bytes" because tile managers don't care · 6f300a57
      Michael Natterer authored
      2008-11-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/tile-pyramid.[ch] (tile_pyramid_new): changed "type"
      	parameter into "bytes" because tile managers don't care about
      	the pixel format of their tiles. Reordered parameters to match
      	tile_manager_new().
      
      	* app/core/gimpprojection.c (gimp_projection_get_tiles_at_level):
      	pass the bytes instead of the image type.
      
      
      svn path=/trunk/; revision=27544
      6f300a57
  2. 03 Nov, 2008 12 commits
    • Sven Neumann's avatar
      app/text/Makefile.am removed this header file. · 2409d06d
      Sven Neumann authored
      2008-11-04  Sven Neumann  <sven@gimp.org>
      
      	* app/text/Makefile.am
      	* app/text/gimptext-private.h: removed this header file.
      
      	* app/text/gimptextlayout.[ch]: added getters to access the
      	resolution, text and PangoLayout.
      
      	* app/text/gimptextlayout-render.c
      	* app/tools/gimptexttool.c: use the new getters instead of 
      poking
      	into the GimpTextLayout struct.
      
      
      svn path=/trunk/; revision=27543
      2409d06d
    • Sven Neumann's avatar
      app/text/Makefile.am removed. · 7dc80b79
      Sven Neumann authored
      2008-11-04  Sven Neumann  <sven@gimp.org>
      
      	* app/text/Makefile.am
      	* app/text/gimptext-bitmap.[ch]: removed.
      
      	* app/text/gimptext-private.h
      	* app/text/gimptext-vectors.c
      	* app/text/gimptextlayer.c
      	* app/text/gimptextlayout-render.[ch]
      	* app/text/gimptextlayout.c: removed text render abstraction as
      	this is now sufficiently provided by PangoCairo.
      
      
      svn path=/trunk/; revision=27542
      7dc80b79
    • Martin Nordholts's avatar
      Reuse the blending formula from the legacy Soft light. (Actually the · 3cd7f45a
      Martin Nordholts authored
      * app/gegl/gimpoperationpointlayermode.c
      (gimp_operation_point_layer_mode_process): Reuse the blending
      formula from the legacy Soft light. (Actually the formula comes
      from legacy Overlay but legacy Overlay and Soft light blends
      pixels exactly the same.) I hereby declare the porting of the
      layer modes to this GEGL operation complete. Summary:
      
      Completely works the same:
      
        Normal, Dissolve, Behind, Color Erase, Erase, Anti Erase
      
      Works the same for 100% opaque layers:
      
        Lighten only, Screen, Dodge, Addition, Darken only, Multiply,
        Dodge, Soft light, Hard light, Difference, Subtract, Grain
        extract, Grain merge, Divide, Hue, Saturation, Color, Value
      
      Works different but similar:
      
        Overlay now uses the SVG 1.2 overlay formula which is different
        but similar to legacy Overlay
      
        Replace needs to be externally masked to not replace too much,
        but that is outside the scope of the layer mode porting.
      
      svn path=/trunk/; revision=27541
      3cd7f45a
    • Martin Nordholts's avatar
      Arrange layer modes into more logical and useful groups. · 052a8654
      Martin Nordholts authored
      * app/widgets/gimpwidgets-constructors.c
      (gimp_paint_mode_menu_new): Arrange layer modes into more logical
      and useful groups.
      
      svn path=/trunk/; revision=27540
      052a8654
    • Sven Neumann's avatar
      removed trailing whitespace and an extra line · 76ea51f0
      Sven Neumann authored
      svn path=/trunk/; revision=27539
      76ea51f0
    • Sven Neumann's avatar
      app/base/Makefile.am app/core/Makefile.am app/display/Makefile.am · fe520925
      Sven Neumann authored
      2008-11-03  Sven Neumann  <sven@gimp.org>
      
      	
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am: 
      	* libgimpconfig/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am: micro-optimization in the 
      generated
      	enum registration code.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/plug-in/plug-in-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c
      	* libgimpconfig/gimpcolorconfig-enums.c
      	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      
      svn path=/trunk/; revision=27538
      fe520925
    • Michael Natterer's avatar
      app/core/gimp-edit.c app/core/gimpchannel.c · b994ab72
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-edit.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpdrawablemodundo.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/text/gimptext-compat.c
      	* app/text/gimptextlayer-xcf.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb: use accessors for item->offset_x,y.
      	Some minor unrelated cleanups.
      
      	* app/pdb/layer-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27537
      b994ab72
    • Michael Natterer's avatar
      include "gimpcontainer.h". · 50f8d85c
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/vectors-actions.c: include "gimpcontainer.h".
      
      
      svn path=/trunk/; revision=27536
      50f8d85c
    • Michael Natterer's avatar
      add "GimpImageType type" parameter because there are only a few calls to · 56b5909c
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch] (gimp_drawable_set_tiles): add
      	"GimpImageType type" parameter because there are only a few calls
      	to this function which (can easily pass the current type); however
      	most calls to gimp_drawable_set_tiles_full() were just using the
      	function because of the type argument and passed in the item's
      	current offsets (which means peeking into the item struct or using
      	temp variables).
      
      	* app/core/gimpdrawable-offset.c (gimp_drawable_offset)
      	* app/text/gimptextlayer.c (gimp_text_layer_render)
      	* app/tools/gimptransformtool.c (gimp_transform_tool_doit): pass
      	the type to set_tiles().
      
      	* app/core/gimpchannel.c (gimp_channel_convert)
      	* app/core/gimpimage-convert.c (gimp_image_convert)
      	* app/core/gimplayer.c (gimp_layer_convert,add_alpha,flatten):
      	change calls to set_tiles_full() into set_tiles() because the
      	offset doesn't change.
      
      
      svn path=/trunk/; revision=27535
      56b5909c
    • Michael Natterer's avatar
      Bug 559015 – Move tool gives bad information about px moved · 847de4dd
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	Bug 559015 – Move tool gives bad information about px moved
      
      	* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_init):
      	set cursor precision to PIXEL_BORDER because that's what the move
      	tool snaps to.
      
      	Unrelated: set CENTER_CROSS_SIZE to an odd number so it's drawn
      	symmetrically.
      
      
      svn path=/trunk/; revision=27533
      847de4dd
    • Sven Neumann's avatar
      Bug 559081 – JPEG Save dialog preview should adjust size units · c8375c01
      Sven Neumann authored
      2008-11-03  Sven Neumann  <sven@gimp.org>
      
      	Bug 559081 – JPEG Save dialog preview should adjust size units
      
      	* plug-ins/file-jpeg/jpeg-save.c: use 
      g_format_size_for_display()
      	to display the JPEG file size.
      
      
      svn path=/trunk/; revision=27532
      c8375c01
    • Michael Natterer's avatar
      renamed gimp_item_width() to gimp_item_get_width() and gimp_item_height() · 740ab5e6
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: renamed
      	gimp_item_width() to gimp_item_get_width() and
      	gimp_item_height() to gimp_item_get_height().
      
      	* app/actions/channels-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/layers-commands.c
      	* app/core/<many>.c
      	* app/dialogs/offset-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/dialogs/scale-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimpink.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimpsmudge.c
      	* app/text/gimptextlayer-xcf.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimpregionselecttool.c
      	* app/tools/gimptexttool.c
      	* app/vectors/gimpvectors.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderervectors.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly.
      
      	* app/pdb/drawable-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27531
      740ab5e6
  3. 02 Nov, 2008 10 commits
    • Martin Nordholts's avatar
      Instantiate offset_node on-demand. · c3b7be24
      Martin Nordholts authored
      * app/core/gimpitem.c: Instantiate offset_node on-demand.
      
      * app/core/gimpdrawable.c: Use gimp_item_set_offset().
      
      svn path=/trunk/; revision=27530
      c3b7be24
    • Michael Natterer's avatar
      renamed gimp_item_offsets() to gimp_item_get_offset() and · 5b68a1d0
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: renamed
      	gimp_item_offsets() to gimp_item_get_offset() and
      	gimp_item_set_offsets() to gimp_item_set_offset().
      
      	* app/actions/drawable-commands.c
      	* app/actions/layers-commands.c
      	* app/core/<many>.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-preview.c
      	* app/display/gimpdisplayshell-transform.c
      	* app/display/gimpdisplayshell.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimpsourcecore.c
      	* app/text/gimptextlayer-xcf.c
      	* app/tools/<many>.c
      	* app/widgets/gimptoolbox-dnd.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb
      	* tools/pdbgen/pdb/vectors.pdb: changed accordingly.
      
      	* app/pdb/drawable-cmds.c
      	* app/pdb/drawable-transform-cmds.c
      	* app/pdb/selection-cmds.c
      	* app/pdb/vectors-cmds.c
      	* app/pdb/transform-tools-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27529
      5b68a1d0
    • Martin Nordholts's avatar
      New function that sets the offset of the item and also keeps the · 594bc84a
      Martin Nordholts authored
      * app/core/gimpitem.c (gimp_item_set_offsets): New function that
      sets the offset of the item and also keeps the offset_node in
      sync.
      
      * app/core/gimpdrawable.c (gimp_drawable_real_set_tiles): Use the
      function instead of setting the offsets directly. Fixes corrupted
      display when cropping images with GEGL enabled for the projection.
      
      svn path=/trunk/; revision=27528
      594bc84a
    • Martin Nordholts's avatar
      Moved the shift_node from GimpLayer to GimpItem, and call it offset_node. · 93577a2e
      Martin Nordholts authored
      * app/core/gimpitem.[ch]: Moved the shift_node from GimpLayer to
      GimpItem, and call it offset_node. Also added
      gimp_item_get_offset_node() meant to be used in the same way as
      gimp_item_offsets().
      
      (gimp_item_real_translate): Keep the offset_node up to date.
      
      * app/core/gimplayer.[ch]: Don't manage the offset_node, get it
      from GimpItem instead.
      
      svn path=/trunk/; revision=27527
      93577a2e
    • Michael Natterer's avatar
      add new functions gimp_get_image_iter(), display_iter() and · a748e3f5
      Michael Natterer authored
      2008-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: add new functions gimp_get_image_iter(),
      	display_iter() and tool_info_iter().
      
      	* app/tools/gimp-tools.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpvectortool.c
      	* app/dialogs/quit-dialog.c
      	* app/gui/gui.c
      	* app/menus/windows-menu.c
      	* app/actions/images-commands.c
      	* app/actions/tools-actions.c
      	* app/actions/windows-actions.c
      	* app/actions/tool-options-commands.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplay-foreach.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/image.pdb: use them here.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27526
      a748e3f5
    • Michael Natterer's avatar
      remove mis-mentioned file. · 189ae4c7
      Michael Natterer authored
      
      svn path=/trunk/; revision=27525
      189ae4c7
    • Michael Natterer's avatar
      add new functions gimp_image_get_layer_iter(), channel_iter() and · d1ca165b
      Michael Natterer authored
      2008-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: add new functions
      	gimp_image_get_layer_iter(), channel_iter() and vectors_iter()
      	which return the GList inside the resp. GimpList.
      
      	* app/actions/channels-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/vectors-actions.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-item-list.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/core/gimpimage.h
      	* app/core/gimpprojection-construct.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/file/file-open.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpdrawtool.c
      	* app/vectors/gimpvectors-compat.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimplayertreeview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/image.pdb: use the new functions instead of
      	peeking both into the image and the list. Remove inclusions of
      	"gimplist.h" or change them into "gimpcontainer.h" if needed.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27524
      d1ca165b
    • Michael Natterer's avatar
      add "update" signal with the same signature as GimpImage::update(). · c14c84ba
      Michael Natterer authored
      2008-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawablestack.[ch]: add "update" signal with the
      	same signature as GimpImage::update(). Install handlers for the
      	drawables' "update" and "visibility-changed" signals and emit
      	"update" accordingly, item offsets taken into account. Also emit
      	"update" when drawables are added, removed and reordered.
      
      	* app/core/gimpimage.[ch]: remove handlers and tons of code that
      	makes sure the image emits "update" on any of the above handled
      	events and simply connect the layer and channel stacks' "update"
      	signal to gimp_image_update().
      
      
      svn path=/trunk/; revision=27523
      c14c84ba
    • Michael Natterer's avatar
      remove the mask_node and simply set both opacity and the layer mask's · 50ac74be
      Michael Natterer authored
      2008-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.[ch]: remove the mask_node and simply set
      	both opacity and the layer mask's source node on the opacity_node.
      	Needs latest SVN GEGL.
      
      
      svn path=/trunk/; revision=27522
      50ac74be
    • Martin Nordholts's avatar
      Move the base GeglNode here in preparation for moving the GimpLayer · 24fac1de
      Martin Nordholts authored
      * app/core/gimpitem.[ch]: Move the base GeglNode here in
      preparation for moving the GimpLayer gegl:shift op to here as
      well. After all, the offsets are properties of GimpItem and not
      GimpLayer.
      
      * app/core/gimpdrawable.[ch]: Delegate appropriate stuff to the
      GimpItem base class, like part of the visibility toggling and the
      creation and destruction of the GimpItem node.
      
      * app/core/gimplayer.c
      * app/core/gimpchannel.c
      * app/core/gimpdrawablestack.c: Changed accordingly, use the new
      function names.
      
      * app/core/gimpitempropundo.c
      * app/vectors/gimpvectors-warp.c
      * app/vectors/gimpvectorsmodundo.c: Include gegl.h instead of
      glib-object.h
      
      svn path=/trunk/; revision=27521
      24fac1de
  4. 01 Nov, 2008 11 commits
    • Michael Natterer's avatar
      Fix ChangeLog entry. · b66bad37
      Michael Natterer authored
      
      svn path=/trunk/; revision=27520
      b66bad37
    • Michael Natterer's avatar
      set the MOVE cursor when we are in MOVING mode. · 5fdbd3f5
      Michael Natterer authored
      2008-11-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_cursor_update): set the MOVE cursor when we
      	are in MOVING mode.
      
      	* app/tools/gimptexttool.[ch]: remove members x1,x2,y1,y2 and use
      	the rectangle tool's bounding box for creating the text layer (x2
      	and y2) were unused anyway. Add boolean member "moving". Implement
      	oper_update() and set the tool to moving mode when ALT is pressed.
      	Changed button_press(), button_release() and motion() accordingly.
      	Some more cleanup and removal of comented out code.
      
      
      svn path=/trunk/; revision=27519
      5fdbd3f5
    • Sven Neumann's avatar
      include pangoft2 in PANGOCAIRO_CFLAGS and PANGOCAIRO_LIBS. We are still · 5c614fec
      Sven Neumann authored
      2008-11-01  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: include pangoft2 in PANGOCAIRO_CFLAGS and
      	PANGOCAIRO_LIBS. We are still using API that is in PangoFT2.
      
      
      svn path=/trunk/; revision=27518
      5c614fec
    • Michael Natterer's avatar
      app/tools/gimptool.[ch] made all GimpCoords* in the tool API const. · f7287be7
      Michael Natterer authored
      2008-11-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]
      	* app/tools/tool_manager.[ch]: made all GimpCoords* in the tool
      	API const.
      
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbrushtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpeditselectiontool.[ch]
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.[ch]
      	* app/tools/gimpregionselecttool.c
      	* app/tools/gimpselectiontool.[ch]
      	* app/tools/gimpsourcetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c: changed accordingly and added const
      	to all GimpCoords* in utility functions too.
      
      	* app/tools/gimptexttool.c: don't modify the passed coords. In
      	fact, simply removed the code that did because it had no effect.
      
      
      svn path=/trunk/; revision=27517
      f7287be7
    • Wouter Bolsterlee's avatar
      Updated Dutch translations by Filip Vervloesem. · 9604c6f1
      Wouter Bolsterlee authored
      2008-11-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
      
      	* Updated Dutch translations by Filip Vervloesem.
      
      svn path=/trunk/; revision=27515
      9604c6f1
    • Martin Nordholts's avatar
      Replaced the XXX for Soft light with a FIXME. · ca618e3f
      Martin Nordholts authored
      * app/gegl/gimpoperationpointlayermode.c
      (gimp_operation_point_layer_mode_process): Replaced the XXX for
      Soft light with a FIXME.
      
      svn path=/trunk/; revision=27514
      ca618e3f
    • Martin Nordholts's avatar
      Added 'Since: GIMP 2.8'. · 3791a757
      Martin Nordholts authored
      * libgimpcolor/gimphsl.c (gimp_hsl_set): Added 'Since: GIMP 2.8'.
      
      svn path=/trunk/; revision=27513
      3791a757
    • 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
    • Martin Nordholts's avatar
      Introduced helper macros fooC to properly un-multiply pre-multiplied data · 657946b2
      Martin Nordholts authored
      * app/gegl/gimpoperationpointlayermode.c: Introduced helper macros
      fooC to properly un-multiply pre-multiplied data without causing
      NaNs. This fixes some compositing issues involving complete
      transparency.
      
      svn path=/trunk/; revision=27511
      657946b2
    • Martin Nordholts's avatar
      Renamed fooC aliases to fooCa since they represent pre-multiplied color · 89115694
      Martin Nordholts authored
      * app/gegl/gimpoperationpointlayermode.c: Renamed fooC aliases to
      fooCa since they represent pre-multiplied color data.
      
      svn path=/trunk/; revision=27510
      89115694
    • Martin Nordholts's avatar
      Get rid of GRand in process() and use a lut instead. A little benchmark · 0166d505
      Martin Nordholts authored
      * app/gegl/gimpoperationpointlayermode.c: Get rid of GRand in
      process() and use a lut instead. A little benchmark showed a
      performance improvement of 78%. Also added defines for the the
      size of the area of which Dissolve repeats it dissolve pattern.
      
      svn path=/trunk/; revision=27509
      0166d505
  5. 31 Oct, 2008 3 commits
    • Martin Nordholts's avatar
      Implemented Erase, Anti Erase, Color Erase and Replace. These are not · 5d7bf3ca
      Martin Nordholts authored
      * app/gegl/gimpoperationpointlayermode.c
      (gimp_operation_point_layer_mode_process): Implemented Erase, Anti
      Erase, Color Erase and Replace. These are not normal layer modes
      and handle alpha in their own way. In addition to this, the
      behavior of Replace doesn't map very well to GEGL which uses
      infinite sized "layers".
      
      Completely works the same:
       o Erase
       o Anti Erase
       o Color Erase
      
      Works different but similar:
       o Replace
      
      * app/paint-funcs/paint-funcs.[ch]: Expose
      paint_funcs_color_erase_helper() so it can be used in the
      GimpOperationPointLayerMode implementation. Once the migration is
      complete this function can be moved entirely to the op and be
      tailored to work on premultiplied data.
      
      svn path=/trunk/; revision=27502
      5d7bf3ca
    • Sven Neumann's avatar
      Bug 558660 – help behavior for locales without manual translation · 2fe030bd
      Sven Neumann authored
      2008-10-31  Sven Neumann  <sven@gimp.org>
      
      	Bug 558660 – help behavior for locales without manual 
      translation
      	
      	* app/widgets/gimphelp.c (gimp_help_user_manual_is_installed):
      	as a fallback check for the english user manual.
      
      
      svn path=/trunk/; revision=27500
      2fe030bd
    • Sven Neumann's avatar
      added basic gtk-doc comment for gimp_proc_view_new(). · e76dd6cf
      Sven Neumann authored
      2008-10-31  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpprocview.c: added basic gtk-doc comment for
      	gimp_proc_view_new().
      
      
      svn path=/trunk/; revision=27499
      e76dd6cf