1. 01 Feb, 2009 1 commit
    • Martin Nordholts's avatar
      Rename brush stuff with 'scale' to 'transform'. · 2716d25d
      Martin Nordholts authored
      Applied patch from Alexia Death that prepares brushes for
      arbitrary transforms by renaming stuff with 'scale' to
      'transform'. Takes us one step closer to fixing bug #520078.
      
      * app/core/gimpbrush.[ch]
      * app/core/gimpbrushgenerated.c
      * app/paint/gimpbrushcore.[ch]
      * app/paint/gimpsmudge.c
      
      * app/core/gimpbrush-transform.[ch]: New names of
      * app/core/gimpbrush-scale.[ch]
      
      * app/core/Makefile.am: Update.
      
      svn path=/trunk/; revision=27975
      2716d25d
  2. 25 Jan, 2009 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am new files implementing gimp_param_spec_duplicate() · 6584aba5
      Michael Natterer authored
      2009-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpparamspecs-duplicate.[ch]: new files implementing
      	gimp_param_spec_duplicate() which is supposed to duplicate any
      	gimp or gegl GParamSpec (but doesn't do this yet).
      
      	* app/tools/gimpgegltool.c: remove the code form here.
      
      
      svn path=/trunk/; revision=27945
      6584aba5
  3. 20 Dec, 2008 1 commit
    • Martin Nordholts's avatar
      Bug 555954 – Merge Tagging of Gimp Resources GSoC Project · 4255e436
      Martin Nordholts authored
      Merge the rest of the tagging code developed on the tagging branch
      by Aurimas Juška. Development will now continue in trunk.
      
      * app/core/gimptag.[ch]: New files (not strictly true but almost)
      implementing the represention of a tag.
      
      * app/core/gimptagcache.[ch]: New files implementing functionality
      for loading and saving tags to tags.xml, and assigning loaded tags
      to tagged objects.
      
      * app/core/gimpfilteredcontainer.[ch]: New files implementing a
      tag filtered GimpContainer.
      
      * app/widgets/gimptagentry.[ch]: New files implementing a
      GtkEntry-like widget for entering tags.
      
      * app/widgets/gimpcombotagentry.[ch]: New files implementing a
      combobox-like widget for selecting tags.
      
      * app/widgets/gimptagpopup.[ch]: New files implementing a popup of
      all available tags that can be selected and combined in a
      checkbox-like way.
      
      * app/core/gimp.[ch]: Add a GimpTagCache member and manage tag
      assignment and saving and loading to/from tags.xml.
      
      * app/widgets/gimpdatafactoryview.c: Add the tag query and tag
      assignment widgets to the UI and show the tag filtered items
      instead of all items.
      
      * app/core/Makefile.am
      * app/widgets/Makefile.am: Add new files.
      
      * app/core/core-types.h
      * app/widgets/widgets-types.h: Add new types.
      
      svn path=/trunk/; revision=27816
      4255e436
  4. 11 Dec, 2008 1 commit
    • Martin Nordholts's avatar
      Bug 555954 – Merge Tagging of Gimp Resources GSoC Project · dca38528
      Martin Nordholts authored
      Partial merge of code from Aurimas Juška.
      
      * app/core/gimptag.c: A new minimal GimpTag type with only a
      gimp_tag_equals() class function so that we can
      
      * app/core/gimptagged.c
      * app/core/gimpdata.c (gimp_data_add_tag, gimp_data_remove_tag):
      Adapt these to GimpTag being an object instead of a GQuark.
      
      * app/core/core-types.h: Update GimpTag typedef.
      
      * app/core/Makefile.am: Add gimptag.[ch].
      
      svn path=/trunk/; revision=27778
      dca38528
  5. 12 Nov, 2008 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am added GIMP_ERROR as general error domain. · b37c8bcf
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimperror.[ch]: added GIMP_ERROR as general error 
      domain.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/core/gimptooloptions.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpheal.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimpperspectiveclone.c
      	* app/paint/gimpsourcecore.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimpgegltool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/vectors/gimpvectors-import.c: use GIMP_ERROR as error 
      domain
      	instead of 0, which is not accepted by g_set_error_literal().
      
      	* app/gui/session.c
      	* app/menus/menus.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimpdevices.c: use G_FILE_ERROR as error domain 
      for
      	file errors.
      
      
      svn path=/trunk/; revision=27628
      b37c8bcf
  6. 08 Nov, 2008 1 commit
    • 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
  7. 06 Nov, 2008 2 commits
    • 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
      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
  8. 04 Nov, 2008 1 commit
    • 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
  9. 03 Nov, 2008 1 commit
    • 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
  10. 24 Oct, 2008 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h remove this mis-engineered · 1a453c37
      Michael Natterer authored
      2008-10-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpstrokedesc.[ch]: remove this mis-engineered
      	abstraction...
      
      	* app/core/gimpstrokeoptions.[ch]: ...and add its properties and
      	API here.
      
      	* app/core/gimpitem.[ch]: GimpItem::stroke() take a
      	GimpStrokeOptions instead of a GimpStrokeDesc.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpselection.c
      	* app/vectors/gimpvectors.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/dialogs/stroke-dialog.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb: changed accordingly.
      
      	* app/pdb/edit-cmds.c
      	* app/pdb/paths-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27388
      1a453c37
  11. 23 Oct, 2008 1 commit
    • Michael Natterer's avatar
      Merge a part of SOC 2006's vector layer branch: · 67a5eaea
      Michael Natterer authored
      2008-10-23  Michael Natterer  <mitch@gimp.org>
      
      	Merge a part of SOC 2006's vector layer branch:
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpfilloptions.[ch]: new GimpContext subclass factored
      	out of GimpStrokeOptions. Has "style" and "antialias" properties.
      
      	* app/core/gimpstrokeoptions.[ch]: derive from GimpFillOptions
      	and remove said properties.
      
      	* app/core/gimpdrawable-stroke.c
      	(gimp_drawable_stroke_scan_convert): changed accordingly.
      
      
      svn path=/trunk/; revision=27378
      67a5eaea
  12. 18 Oct, 2008 1 commit
    • Sven Neumann's avatar
      Applied patch from Alexia Death as attached to bug #471344: · e25c82e2
      Sven Neumann authored
      2008-10-18  Sven Neumann  <sven@gimp.org>
      
      	Applied patch from Alexia Death as attached to bug #471344:
      	
      	* app/core/Makefile.am
      	* app/core/gimpcoords-interpolate.[ch]: new files with
      	interpolation code taken from ...
      
      	* app/vectors/gimpbezierstroke.c: ... here.
      
      	* app/Makefile.am (AM_LDFLAGS): make it link.
      
      
      svn path=/trunk/; revision=27314
      e25c82e2
  13. 10 Oct, 2008 1 commit
    • Michael Natterer's avatar
      app/core/core-types.h app/core/Makefile.am new GimpList subclass stub · 513c1b80
      Michael Natterer authored
      2008-10-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h
      	* app/core/Makefile.am
      	* app/core/gimpdrawablestack.[ch]: new GimpList subclass stub
      	which will manage the subgraphs of layers and channels and is also
      	the first step towards layer tree.
      
      	* app/core/gimpimage.c (gimp_image_init): keep the layers and
      	channels in GimpDrawableStacks instead of plain GimpLists.
      
      
      svn path=/trunk/; revision=27212
      513c1b80
  14. 07 Oct, 2008 1 commit
  15. 21 May, 2008 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am new file holding code to apply a PixelProcessor to · a786d4de
      Sven Neumann authored
      2008-05-21  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-process.[ch]: new file holding code to
      	apply a PixelProcessor to the full drawable.
      
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-invert.c: use the new helper function.
      
      	* app/core/gimpdrawable-desaturate.[ch] 
      (gimp_drawable_desaturate):
      	take a GimpProgress parameter.
      
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      
      	* app/pdb/color-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25734
      a786d4de
  16. 20 May, 2008 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new GimpViewable subclass which · a921d65d
      Michael Natterer authored
      2008-05-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimagemapconfig.[ch]: new GimpViewable subclass
      	which has a "time" property. Sets the object's name to a date
      	string if a time != 0 gets set. Has a compare function which first
      	sorts the objects with a timestamp in MRU order and then the
      	objects without timestamp by name.
      
      	* app/gegl/gimpbrightnesscontrastconfig.[ch]
      	* app/gegl/gimpcolorbalanceconfig.[ch]
      	* app/gegl/gimpcolorizeconfig.[ch]
      	* app/gegl/gimpcurvesconfig.[ch]
      	* app/gegl/gimphuesaturationconfig.[ch]
      	* app/gegl/gimplevelsconfig.[ch]
      	* app/gegl/gimpposterizeconfig.[ch]
      	* app/gegl/gimpthresholdconfig.[ch]: derive from GimpImageMapConfig.
      
      	* app/tools/gimpimagemaptool.c: sort the settings container with
      	above compare function.
      
      	* app/tools/gimpimagemaptool-settings.c: add utility functions
      	for loading and saving the settings container. In the settings
      	combo, add a separator between MRU items and favorites.
      
      	* app/Makefile.am: make the thing link.
      
      
      svn path=/trunk/; revision=25724
      a921d65d
  17. 11 May, 2008 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am · 6e6a0355
      Sven Neumann authored
      2008-05-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpcurve.[ch]:
      	* app/core/gimpcurve-map.[ch]: split curve map functions into
      	seperate files.
      
      	* app/gegl/gimpoperationcurves.c
      	* app/tools/gimpcurvestool.c
      	* app/widgets/gimpcurveview.c: changed accordingly.
      
      	* app/Makefile.am (AM_LDFLAGS): make it link.
      
      
      svn path=/trunk/; revision=25642
      6e6a0355
  18. 08 May, 2008 1 commit
    • Simon Budig's avatar
      removed Libart usage, replaced with Cairo. Dashed strokes do not yet work · 5426c0c1
      Simon Budig authored
      2008-05-09  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpscanconvert.[ch]: removed Libart usage,
      	  replaced with Cairo. Dashed strokes do not yet work again, will
      	  happen tomorrow. Also the blending modes need a second look at.
      
      	  Also removed deprecated API which made it unnecessarily complicated.
      
      	* app/tools/gimpiscissorstool.c: use the current API.
      
      	* app/core/Makefile.am
      	* app/Makefile.am
      	* configure.in: removed libart dependency, added cairo dependency
      	  where necessary.
      
      
      svn path=/trunk/; revision=25591
      5426c0c1
  19. 21 Apr, 2008 1 commit
    • Michael Natterer's avatar
      Move the shadow tiles from the image to the drawable. Fixes bug #100469. · e5be5664
      Michael Natterer authored
      2008-04-21  Michael Natterer  <mitch@gimp.org>
      
      	Move the shadow tiles from the image to the drawable.
      	Fixes bug #100469.
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-shadow.[ch]: new files implementing
      	the shadow tiles.
      
      	* app/core/gimpimage.[ch]: remove the shadow tile manager from the
      	GimpImage struct. Remove gimp_image_get_shadow_tiles() and
      	_free_shadow_tiles().
      
      	* app/core/gimpdrawable.[ch]: add the shadow tile manager
      	here. Remove get_shadow_tiles() and merge_shadow(). Free the
      	shadow tiles in finalize and when the drawable gets removed from
      	the image.
      
      	* app/core/gimpdrawable-brightness-contrast.c
      	* app/core/gimpdrawable-color-balance.c
      	* app/core/gimpdrawable-colorize.c
      	* app/core/gimpdrawable-curves.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-hue-saturation.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-levels.c
      	* app/core/gimpdrawable-operation.c
      	* app/core/gimpdrawable-posterize.c
      	* app/core/gimpdrawable-threshold.c
      	* app/core/gimpimagemap.c: changed accordingly. Free the shadow tiles
      	after using them.
      
      	* app/plug-in/gimpplugin-cleanup.[ch]: add
      	gimp_plug_in_cleanup_add_shadow() and _remove_shadow() which keep
      	track of whether shadow tiles were created on behalf of a plug-in
      	procedure.
      
      	(gimp_plug_in_cleanup): free shadow tiles which were created but
      	not destroyed by a plug-in procedure.
      
      	* app/plug-in/gimpplugin-message.c (plug_in_handle_tile_request):
      	call gimp_plug_in_cleanup_add_shadow() whenever a plug-in requests
      	shadow tiles.
      
      	* tools/pdbgen/pdb/drawable.pdb: use the new drawable shadow
      	API. Add new procedure gimp-drawable-free-shadow. Call
      	gimp_plug_in_cleaup_remove_shadow() when it gets called.
      
      	* tools/pdbgen/pdb/image.pdb: deprecate gimp-image-free-shadow.
      	Calling it has no effect any longer.
      
      	* app/pdb/drawable-cmds.c
      	* app/pdb/image-cmds.c
      	* app/pdb/internal-procs.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=25510
      e5be5664
  20. 24 Mar, 2008 1 commit
    • Sven Neumann's avatar
      Do not any longer keep the document history in two places. We only use · 3344c1b3
      Sven Neumann authored
      2008-03-24  Sven Neumann  <sven@gimp.org>
      
      	Do not any longer keep the document history in two places. We 
      only
      	use GtkRecentManager now:
      
      	* app/core/Makefile.am
      	* app/core/gimp-documents.[ch]: removed these files.
      
      	* app/core/gimpdocumentlist.c: removed code to load and save the
      	"documents" file.
      	(gimp_document_list_add_uri): call gimp_recent_list_add_uri() 
      here.
      
      	* app/core/gimpimagefile.[ch]: added function to set the 
      mime-type.
      
      	* app/core/gimp.c (gimp_restore): removed code to load the
      	document history.
      	(gimp_real_exit): removed code to save it.
      	
      	* app/core/gimp-gui.[ch]: extended the vtable with a method to
      	populate the document list.
      
      	* app/gui/gui-vtable.c: added code to populate the document 
      history
      	from the list of recently used files kept by GtkRecentManager.
      
      	* app/gui/gui.c (gui_restore_callback): load the recent files 
      here.
      
      	* app/file/file-open.c
      	* app/file/file-save.c: no need to call 
      gimp_recent_list_add_uri()
      	any longer as gimp_document_list_add_uri() does that for us now.
      
      	* app/actions/documents-commands.c 
      (documents_clear_cmd_callback):
      	purge the items from GtkRecentManager. Also changed the dialog 
      to
      	emphasize that this operation now affects the document history 
      in
      	all applications.
      
      	* docs/gimp.1.in: removed reference to "documents" file.
      
      
      svn path=/trunk/; revision=25190
      3344c1b3
  21. 04 Feb, 2008 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/gimpdrawable-brightness-contrast.[ch] · 3a9f7d7c
      Michael Natterer authored
      2008-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-brightness-contrast.[ch]
      	* app/core/gimpdrawable-color-balance.[ch]
      	* app/core/gimpdrawable-colorize.[ch]
      	* app/core/gimpdrawable-curves.[ch]
      	* app/core/gimpdrawable-hue-saturation.[ch]
      	* app/core/gimpdrawable-posterize.[ch]
      	* app/core/gimpdrawable-threshold.[ch]: new files containing all
      	the code that was in pdb/color_cmds.c. Cleaned up and GEGL-enabled
      	everyting.
      
      	* tools/pdbgen/pdb/color.pdb: remove almost all code and simply call
      	the new functions.
      
      	* app/pdb/color_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24784
      3a9f7d7c
  22. 17 Jan, 2008 1 commit
  23. 02 Jan, 2008 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am new files containing gimp_drawable_apply_operation() · 88b021c0
      Michael Natterer authored
      2008-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-operation.[ch]: new files containing
      	gimp_drawable_apply_operation() which applies a gegl operation
      	to a drawable's selected pixels using shadow tiles. Will soon
      	be used in more places than just invert.
      
      	* app/core/gimpdrawable-invert.c: use it here, makes
      	gimp_drawable_invert() a 3-liner.
      
      
      svn path=/trunk/; revision=24506
      88b021c0
  24. 30 Dec, 2007 2 commits
  25. 29 Dec, 2007 1 commit
  26. 02 Nov, 2007 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h app/core/gimpcurve-save.[ch] · 5dd23ae1
      Michael Natterer authored
      2007-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpcurve-save.[ch]
      	* app/core/gimpcurve-load.[ch]
      	* app/core/gimpcurve.[ch]: new GimpData subclass which keeps a
      	curve as known from the curves tool. Pretty much unfinished, but
      	can do everything that used to be done by base/curves.c and more.
      
      	* app/base/curves.[ch]: stripped down to plain arrays of
      	uchar (the actual curve) and the LUT setup function. All the rest
      	is done by GimpCurve now.
      
      	* app/tools/gimpcurvestool.[ch]: use an array of GimpCurves
      	instead of the old Curves cruft. Use Curves only for the last step
      	of creating the LUT. Pretty much unfinished migration here too.
      
      	* tools/pdbgen/pdb/color.pdb: use a GimpCurve here too.
      
      	* app/pdb/color_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24041
      5dd23ae1
  27. 25 Jun, 2007 1 commit
  28. 07 Jun, 2007 1 commit
    • Sven Neumann's avatar
      app/text/Makefile.am app/core/Makefile.am app/tools/Makefile.am · f3228540
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/text/Makefile.am
      	* app/core/Makefile.am
      	* app/tools/Makefile.am
      	* app/display/Makefile.am
      	* app/widgets/Makefile.am
      	* app/base/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpthumb/Makefile.am
      	* tools/pdbgen/Makefile.am
      	* libgimpwidgets/Makefile.am: applied the remaining parts of the
      	patch from Daniel Richard G. to fix out-of-source-tree builds
      	(bug #444960).
      
      svn path=/trunk/; revision=22735
      f3228540
  29. 01 Apr, 2007 1 commit
    • Michael Natterer's avatar
      app/base/Makefile.am removed these files. · c6733ac8
      Michael Natterer authored
      2007-04-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/Makefile.am
      	* app/base/brush-scale.[ch]: removed these files.
      
      	* app/core/Makefile.am
      	* app/core/gimpbrush-scale.[ch]: added the functions here as
      	static utility functions. Also move the default implementations of
      	GimpBrush::scale_size(), ::scale_mask() and ::scale_pixmap() here,
      	including their utility functions.
      
      	* app/core/gimpbrush.c: remove all scale stuff and
      	include "gimpbrush-scale.h" instead.
      
      	(gimp_brush_get_new_preview): use GimpBrush's scale functions
      	instead of the now private ones. Cleanup.
      
      	(gimp_brush_scale_mask)
      	(gimp_brush_scale_pixmap): return a copy of the buf for
      	scale == 1.0.
      
      
      svn path=/trunk/; revision=22213
      c6733ac8
  30. 27 Feb, 2007 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am app/core/core-types.h added GimpSubProgress, an · 5b5082a4
      Sven Neumann authored
      2007-02-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpsubprogress.[ch]: added GimpSubProgress, an 
      object
      	that implements the GimpProgress interface and maps progress
      	information to a sub-range of the parent progress.
      
      	* app/core/gimpimage-scale.c (gimp_image_scale): use the new 
      object.
      
      
      svn path=/trunk/; revision=22009
      5b5082a4
  31. 31 Jan, 2007 4 commits
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new undo class for · 89ee6f4d
      Michael Natterer authored
      2007-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpfloatingselundo.[ch]: new undo class for
      	GIMP_UNDO_FS_RIGOR and GIMP_UNDO_FS_RELAX.
      
      	* app/core/gimpimage-undo-push.c: use it here.
      
      	* app/core/gimpimageundo.c
      	* app/core/gimpdrawableundo.c: implement GimpObject::get_memsize()
      	instead of fiddling with undo->size.
      
      
      svn path=/trunk/; revision=21826
      89ee6f4d
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new undo class for · 336d7761
      Michael Natterer authored
      2007-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpdrawablemodundo.[ch]: new undo class for
      	GIMP_UNDO_DRAWABLE_MOD.
      
      	* app/core/gimpimage-undo-push.c: use it here.
      
      
      svn path=/trunk/; revision=21824
      336d7761
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new undo class for · a7c0058c
      Michael Natterer authored
      2007-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimplayermaskpropundo.[ch]: new undo class for
      	GIMP_UNDO_LAYER_MASK_APPLY and GIMP_UNDO_LAYER_MASK_SHOW.
      
      	* app/core/gimpimage-undo-push.c: use it here.
      
      
      svn path=/trunk/; revision=21823
      a7c0058c
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h app/core/gimpchannelundo.[ch] · d388d584
      Michael Natterer authored
      2007-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpchannelundo.[ch]
      	* app/core/gimplayerundo.[ch]
      	* app/core/gimplayermaskundo.[ch]: new undo classes implementing
      	channel, layer and layer mask add and remove undos.
      
      	* app/vectors/Makefile.am
      	* app/vectors/vectors-types.h
      	* app/vectors/gimpvectorsundo.[ch]: vectors add and remove undos.
      
      	* app/core/gimpimage-undo-push.[ch]: use the new undo classes.
      	Removed "position" parameter from all "add" functions because
      	it's useless.
      
      	* app/core/gimpimage.c: changed accordingly.
      
      
      svn path=/trunk/; revision=21822
      d388d584
  32. 30 Jan, 2007 3 commits
    • Michael Natterer's avatar
      renamed these files... · 9020afcf
      Michael Natterer authored
      2007-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannelundo.[ch]: renamed these files...
      
      	* app/core/gimpmaskundo.[ch]: ...to these. We'll need the name
      	GimpChannelUndo for something else later.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimage-undo-push.c: changed accordingly.
      
      
      svn path=/trunk/; revision=21819
      9020afcf
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h app/core/gimpguideundo.[ch] new · f0d1d864
      Michael Natterer authored
      2007-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpguideundo.[ch]
      	* app/core/gimpsamplepointundo.[ch]: new classes implementing
      	guide and sample point undos.
      
      	* app/core/gimpimage-undo-push.c: use them and remove all guide
      	and sample point code.
      
      
      svn path=/trunk/; revision=21815
      f0d1d864
    • Michael Natterer's avatar
      app/core/Makefile.am new files implementing new(), ref() and unref() and · 11b1d24a
      Michael Natterer authored
      2007-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpsamplepoint.[ch]: new files implementing new(),
      	ref() and unref() and the new GIMP_TYPE_SAMPLE_TYPE boxed type.
      
      	* app/core/gimpimage-sample-points.[ch]: removed ref() and unref()
      	functions here.
      
      	* app/core/gimpimage.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo-push.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/tools/gimpcolortool.c
      	* app/widgets/gimpsamplepointeditor.c
      	* app/xcf/xcf-save.c: changed accordingly.
      
      	* app/core/gimpimage-rotate.c (gimp_image_rotate_sample_points):
      	added missing call to gimp_image_undo_push_sample_point().
      
      
      svn path=/trunk/; revision=21812
      11b1d24a
  33. 29 Jan, 2007 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new undo class which handles · e9b9f1bf
      Michael Natterer authored
      2007-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpchannelpropundo.[ch]: new undo class which handles
      	CHANNEL_REPOSITION and CHANNEL_COLOR.
      
      	* app/core/gimpimage-undo-push.c: use the new undo class and
      	remove the resp. code here.
      
      
      svn path=/trunk/; revision=21799
      e9b9f1bf