1. 09 Nov, 2008 6 commits
    • Martin Nordholts's avatar
      Prepare GimpCursorView for a dependency to GimpDisplayShell. · 983c3751
      Martin Nordholts authored
      * app/widgets/gimpcursorview.[ch]: Move from here...
      
      * app/display/gimpcursorview.[ch]: ...to here.
      
      * app/widgets/Makefile.am
      * app/display/Makefile.am: Change accordingly.
      
      * app/actions/cursor-info-actions.c
      * app/dialogs/dialogs-constructors.c
      * app/actions/cursor-info-commands.c
      * app/display/gimpdisplayshell-cursor.c: Update includes.
      
      svn path=/trunk/; revision=27581
      983c3751
    • Michael Natterer's avatar
      made floating_sel_composite() private and simplify it a lot by using · 509feafa
      Michael Natterer authored
      2008-11-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer-floating-sel.[ch]: made
      	floating_sel_composite() private and simplify it a lot by using
      	gimp_rectangle_intersect().
      
      
      svn path=/trunk/; revision=27580
      509feafa
    • Michael Natterer's avatar
      Bye bye floating_sel_rigor() and floating_sel_relax(): · 855b114f
      Michael Natterer authored
      2008-11-09  Michael Natterer  <mitch@gimp.org>
      
      	Bye bye floating_sel_rigor() and floating_sel_relax():
      
      	* app/core/gimpdrawable.[ch] (gimp_drawable_init_src_region):
      	implement compositing the floating selection on the fly. Add
      	return parameter "TileManager **temp_tiles" which returns the temp
      	buffer used for compositing; the caller has to unref the tiles.
      
      	* app/core/gimpchannel-project.c
      	* app/core/gimplayer-project.c: unref the temp_tiles.
      
      	* app/core/gimplayer.[ch]: remove members fs.backing_store and
      	fs.initial.
      
      	* app/core/gimplayer-floating-sel.[ch]: remove functions rigor(),
      	relax(), store() and restore(), they are not needed any longer.
      	Some minor cleanup, more to come.
      
      	* app/core/gimpprojection-construct.c: don't composite the
      	floating selection before projecting because that happens on the
      	fly now.
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpfloatingselundo.c
      	* app/core/gimpimage-undo-push.[ch]: remove the rigor and relax
      	undos.
      
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/xcf/xcf-save.c: remove all calls to rigor and relax and all
      	implementations of virtual functions that were just there to
      	rigor/releax around chaining up.
      
      	* tools/pdbgen/pdb/floating_sel.pdb: remove all code from the
      	rigor and relax wrappers and deprecate the API.
      
      	* app/pdb/floating-sel-cmds.c
      	* libgimp/gimpfloatingsel_pdb.[ch]: regenerated.
      
      	* plug-ins/file-xjt/xjt.c: don't call rigor and relax.
      
      
      svn path=/trunk/; revision=27579
      855b114f
    • Martin Nordholts's avatar
      Don't expose implementation details, introduce internal helper functions, · b2379f44
      Martin Nordholts authored
      * app/widgets/gimpcursorview.[ch]: Don't expose implementation
      details, introduce internal helper functions, and make coordinates
      outside the image be represented with an italic font instead of
      enclosed in parenthesis.
      
      svn path=/trunk/; revision=27578
      b2379f44
    • Goran Rakic's avatar
      Updated Serbian Translation (by Miloš Popović) · e33cf762
      Goran Rakic authored
      svn path=/trunk/; revision=27577
      e33cf762
    • Goran Rakic's avatar
      Updated Serbian Translation (by Miloš Popović) · c684655c
      Goran Rakic authored
      svn path=/trunk/; revision=27576
      c684655c
  2. 08 Nov, 2008 4 commits
    • Michael Natterer's avatar
      add optional parameter "PixelRegion *destPR" to · 19841645
      Michael Natterer authored
      2008-11-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: add optional parameter "PixelRegion
      	*destPR" to GimpDrawable::apply_region().
      
      	* app/core/gimpdrawable-combine.[ch]: if the passed destPR is !=
      	NULL, write the result of the combination into that region instead
      	of the drawable's tiles. The region must have the exact size of
      	the result.
      
      	* app/core/gimp-edit.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-shadow.c
      	* app/core/gimpdrawable-stroke.c
      	* app/core/gimpimagemap.c
      	* app/core/gimplayer-floating-sel.c
      	* app/paint/gimppaintcore.c: pass NULL as destPR. Code actually
      	using this feature follows.
      
      
      svn path=/trunk/; revision=27574
      19841645
    • Michael Natterer's avatar
      add new function gimp_drawable_init_src_region() which will initialize a · ca62c2aa
      Michael Natterer authored
      2008-11-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: add new function
      	gimp_drawable_init_src_region() which will initialize a
      	PixelRegion on this drawable's "projection" (with the floating
      	selection combined), but for now just uses drawable->tiles.
      
      	* app/core/gimpchannel-project.c
      	* app/core/gimplayer-project.c: use it instead of
      	pixel_region_init() on the drawable's tiles.
      
      
      svn path=/trunk/; revision=27573
      ca62c2aa
    • Michael Natterer's avatar
      cleanup. · 667b4558
      Michael Natterer authored
      2008-11-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-combine.c: cleanup.
      
      
      svn path=/trunk/; revision=27572
      667b4558
    • Michael Natterer's avatar
      Abstract the legacy projection code away into a virtual function of · 6d2a6d5e
      Michael Natterer authored
      2008-11-08  Michael Natterer  <mitch@gimp.org>
      
      	Abstract the legacy projection code away into a virtual function
      	of GimpDrawable:
      
      	* app/core/gimpdrawable.[ch]: add new virtual function
      	GimpDrawable::project_region() which projects an area of a
      	drawable onto a passed in PixelRegion.
      
      	* app/core/Makefile.am
      	* app/core/gimpchannel-project.[ch]
      	* app/core/gimplayer-project.[ch]: new files which implement it.
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c: hook it in.
      
      	* app/core/gimpprojection-construct.c: get rid all the projection
      	code moved to above new files and project all drawables in one
      	loop.
      
      	* app/core/gimpprojectable.[ch]: remove the legacy methods
      	get_colormap() and get_components(), they are not needed any
      	longer.
      
      	* app/core/gimpimage.c: changed accordingly.
      
      
      svn path=/trunk/; revision=27571
      6d2a6d5e
  3. 07 Nov, 2008 1 commit
  4. 06 Nov, 2008 8 commits
    • Michael Natterer's avatar
      move the invalidate_previews() API from here... · 0b2061c1
      Michael Natterer authored
      2008-11-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawablestack.[ch]: move the invalidate_previews()
      	API from here...
      
      	* app/core/gimpitemstack.[ch]: ...to here.
      
      	* app/core/gimpimage.c: changed accordingly.
      
      
      svn path=/trunk/; revision=27569
      0b2061c1
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new GimpList subclass which · a3d556c0
      Michael Natterer authored
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpitemstack.[ch]: new GimpList subclass which (for
      	now) does nothing but taking ownership of its children by the
      	means of g_object_ref_sink().
      
      	* app/core/gimpdrawablestack.[ch]: derive from GimpItemStack.
      
      	* app/core/gimpimage.c: use a GimpItemStack instead of a plain
      	GimpList for the list of vectors. Remove code which takes
      	ownerships of added items from gimp_image_add_layer(),
      	add_channel() and add_vectors().
      
      
      svn path=/trunk/; revision=27568
      a3d556c0
    • Sven Neumann's avatar
      formatting · 477110a7
      Sven Neumann authored
      svn path=/trunk/; revision=27567
      477110a7
    • Nils Philippsen's avatar
      fix memory leak · 0800b7e3
      Nils Philippsen authored
          * plug-ins/file-jpeg/jpeg-save.c: fix memory leak
      
      svn path=/trunk/; revision=27566
      0800b7e3
    • Aron Xu's avatar
      Updated zh_CN.po · a2f35f04
      Aron Xu authored
      svn path=/trunk/; revision=27565
      a2f35f04
    • Sven Neumann's avatar
      use g_set_error_literal() here as well. · 72b56f3d
      Sven Neumann authored
      2008-11-06  Sven Neumann  <sven@sven>
      
      	* libgimpconfig/gimpconfigwriter.c 
      (gimp_config_writer_linefeed):
      	use g_set_error_literal() here as well.
      
      
      svn path=/trunk/; revision=27564
      72b56f3d
    • Sven Neumann's avatar
      comments · 549d6eae
      Sven Neumann authored
      svn path=/trunk/; revision=27563
      549d6eae
    • Sven Neumann's avatar
      use NC_() to mark enum values for translation. Use a lower-case short form · 02817081
      Sven Neumann authored
      2008-11-06  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-mkenums: use NC_() to mark enum values for 
      translation.
      	Use a lower-case short form of the type name as translation 
      context.
      
      	* libgimp/libgimp-intl.h: define the NC_() macro as noop.
      
      	* libgimpbase/gimpbasetypes.[ch]
      	* libgimpbase/gimpbase.def: added new functions to set and
      	get a translation context on an enum type.
      
      	* 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: register the translation context
      	with the enum types.
      
      	* app/display/display-enums.h
      	* libgimpbase/gimpbaseenums.h
      	* libgimpconfig/gimpcolorconfig-enums.h: removed old-style 
      explicit
      	translation context.
      
      	* 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=27562
      02817081
  5. 05 Nov, 2008 5 commits
    • Michael Natterer's avatar
      some minor cleanups. · f31a5399
      Michael Natterer authored
      2008-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c: some minor cleanups.
      
      
      svn path=/trunk/; revision=27561
      f31a5399
    • Michael Natterer's avatar
      add new function gimp_drawable_stack_invalidate_previews() which does just · c0cc7c11
      Michael Natterer authored
      2008-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawablestack.[ch]: add new function
      	gimp_drawable_stack_invalidate_previews() which does just what it
      	says.
      
      	* app/core/gimpimage.[ch]: merge invalidate_layer_previews() and
      	invalidate_channels_previews() into a single invalidate_previews()
      	and replace all calls to the old functions by calls to
      	gimp_drawable_stack_invalidate_previews().
      
      	* app/file/file-open.c: changed accordingly.
      
      
      svn path=/trunk/; revision=27560
      c0cc7c11
    • Michael Natterer's avatar
      remove call to gimp_image_invalidate_layer_previews(), they are · 4381e415
      Michael Natterer authored
      2008-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-convert.c (gimp_image_convert): remove call
      	to gimp_image_invalidate_layer_previews(), they are invalidated by
      	exchanging their tiles and by setting the image's colormap anyway.
      
      
      svn path=/trunk/; revision=27559
      4381e415
    • Michael Natterer's avatar
      This should remove any image or viewable dependency from the projection · c4f43d49
      Michael Natterer authored
      2008-11-05  Michael Natterer  <mitch@gimp.org>
      
      	This should remove any image or viewable dependency from the
      	projection (apart from the projectable's get_image() method, but
      	that one is not supposed to return the projection's model but
      	rather the image the projection is part of).
      
      	* app/core/gimpprojectable.[ch]: add vfunc get_size() which
      	completes the API needed for GEGL projection.
      
      	Add vfuncs get_layers(), get_channels(), get_components() and
      	get_colormap() which are needed for the legacy projection code.
      
      	* app/core/gimpimage.c: implement the new methods.
      
      	* app/core/gimpprojection.c
      	* app/core/gimpprojection-construct.c: use them and remove all
      	calls to image and viewable API.
      
      
      svn path=/trunk/; revision=27558
      c4f43d49
    • Sven Neumann's avatar
      po-libgimp/Makefile.in.in po-plug-ins/Makefile.in.in · 4d0e77be
      Sven Neumann authored
      2008-11-05  Sven Neumann  <sven@gimp.org>
      
      	* po-libgimp/Makefile.in.in
      	* po-plug-ins/Makefile.in.in
      	* po-python/Makefile.in.in
      	* po-script-fu/Makefile.in.in
      	* po-tips/Makefile.in.in
      	* po/Makefile.in.in: prepared for use of the NC_() macro.
      
      
      svn path=/trunk/; revision=27557
      4d0e77be
  6. 04 Nov, 2008 11 commits
    • Michael Natterer's avatar
      add signal "structure-changed" and API to emit it. · 62a74f9d
      Michael Natterer authored
      2008-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpprojectable.[ch]: add signal "structure-changed"
      	and API to emit it.
      
      	* app/core/gimpimage.c: emit it when the image emits
      	"mode-changed" and "size-changed".
      
      	* app/core/gimpprojection.c: connect to the new signal instead of
      	"mode-changed" and "size-changed" to get rid of one more image
      	dependency.
      
      
      svn path=/trunk/; revision=27556
      62a74f9d
    • Sven Neumann's avatar
      when dropping multiple images to the empty image window, open them as · a40525ac
      Sven Neumann authored
      2008-11-04  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-dnd.c
      	(gimp_display_shell_drop_uri_list): when dropping multiple 
      images
      	to the empty image window, open them as seperate images.
      
      
      svn path=/trunk/; revision=27554
      a40525ac
    • Michael Natterer's avatar
      add vitrual function invalidate_preview(). · 7d8b7f55
      Michael Natterer authored
      2008-11-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpprojectable.[ch]: add vitrual function
      	invalidate_preview().
      
      	* app/core/gimpimage.c: implement it and redirect to
      	gimp_viewable_invalidate_preview().
      
      	* app/core/gimpprojection.c: call the new API instead of
      	gimp_viewable_invalidate_preview(). Some cleanup in the disabled
      	cow-projection code.
      
      
      svn path=/trunk/; revision=27553
      7d8b7f55
    • Michael Natterer's avatar
      Unfinished first step to make the projection independent of GimpImage, · 716e00f8
      Michael Natterer authored
      2008-11-04  Michael Natterer  <mitch@gimp.org>
      
      	Unfinished first step to make the projection independent of
      	GimpImage, also one step closer to layer grouping.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpprojectable.[ch]: add new interface which abstracts
      	something that can have a projection attached to it. Has "update"
      	and "flush" signals and get_graph() and get_image()
      	vfuncs. get_image() is temporary until the hack is finishes.
      
      	* app/core/gimpimage.[ch]: implement GimpProjectableInterface,
      	remove "update" and "flush" signals and made get_graph() a private
      	implementation of the interface method. Moved interface method
      	implementations after virtual function implementations.
      
      	* app/core/gimpprojection.[ch]: change member "image" to
      	"projectable" and use the projectable API as often as
      	possible. Still some implicit dependencies on the projectable
      	being an image left but it's getting close.
      
      	* app/core/gimpprojection-construct.c: same here.
      
      
      svn path=/trunk/; revision=27552
      716e00f8
    • Sven Neumann's avatar
      added missing include. · cc7222d8
      Sven Neumann authored
      2008-11-04  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplay-foreach.c: added missing include.
      
      	* app/actions/debug-commands.c
      	* plug-ins/common/lcms.c
      	* plug-ins/common/mail.c
      	* plug-ins/file-bmp/bmp-write.c
      	* plug-ins/file-fits/fits.c
      	* plug-ins/file-jpeg/jpeg.c
      	* plug-ins/file-uri/uri.c
      	* plug-ins/help/gimphelpdomain.c
      	* plug-ins/ifs-compose/ifs-compose.c
      	* plug-ins/print/print.c: fixed use of g_message() with literal
      	strings.
      
      
      svn path=/trunk/; revision=27551
      cc7222d8
    • Sven Neumann's avatar
      oops · d163e9c6
      Sven Neumann authored
      svn path=/trunk/; revision=27549
      d163e9c6
    • Sven Neumann's avatar
      bumped minimum required version of GLib to 2.18.0. · 4762b734
      Sven Neumann authored
      2008-11-04  Sven Neumann  <sven@sven>
      
      	* configure.in: bumped minimum required version of GLib to 
      2.18.0.
      
      	* INSTALL: document the updated dependency.
      
      	* app/core/gimp.[ch]: introduced gimp_message_literal(), a 
      variant
      	of gimp_message() that takes a literal string.
      
      	* app/errors.[ch]: removed format arguments from 
      gimp_fatal_error()
      	and gimp_terminate() and let them take a literal string instead.
      
      	* app/tools/gimptool.[ch]: introduced 
      gimp_tool_message_literal(),
      	a variant of gimp_tool_message() that takes a literal string.
      
      	* app/actions/documents-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/error-console-commands.c
      	* app/actions/file-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/plug-in-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/config/gimprc.c
      	* app/core/gimp-modules.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp-units.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer-filter.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/dialogs/convert-dialog.c
      	* app/dialogs/dialogs.c
      	* app/dialogs/palette-import-dialog.c
      	* app/dialogs/preferences-dialog.c
      	* app/dialogs/quit-dialog.c
      	* app/dialogs/stroke-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/file/file-procedure.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/gegl/gimpcurvesconfig.c
      	* app/gegl/gimplevelsconfig.c
      	* app/gui/gui-message.c
      	* app/gui/gui.c
      	* app/gui/session.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpheal.c
      	* app/paint/gimpperspectiveclone.c
      	* app/paint/gimpsourcecore.c
      	* app/pdb/gimppdb-utils.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/gimpplugin-message.c
      	* app/plug-in/gimpplugin.c
      	* app/plug-in/gimppluginmanager-restore.c
      	* app/plug-in/gimppluginprocedure.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimp-tools.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpgegltool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool-settings.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsourcetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpactionview.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimpcontrollers.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimperrordialog.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppdbdialog.c
      	* app/widgets/gimpsettingsbox.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/image.pdb: use the _literal variants for
      	g_set_error(), gimp_message() and gimp_tool_message().
      
      	* app/pdb/convert-cmds.c
      	* app/pdb/edit-cmds.c
      	* app/pdb/floating-sel-cmds.c
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27548
      4762b734
    • 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
  7. 03 Nov, 2008 5 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