1. 09 Aug, 2018 1 commit
  2. 11 Jul, 2018 1 commit
  3. 25 May, 2018 1 commit
  4. 29 May, 2016 1 commit
  5. 25 May, 2015 1 commit
  6. 24 May, 2015 1 commit
  7. 20 Jun, 2012 1 commit
    • Michael Natterer's avatar
      app: completely remove TileManager and friends (base/ and paint-funcs/) · 373a4e74
      Michael Natterer authored
      And along with it a lot of stuff like the drawable preview cache, the
      gegl tile manager backend, temporary gimp_gegl_buffer_foo() stuff, and
      the remaining bits of performance.
      
      The projection is in an evil semi-ported state which makes it work
      ok-ish for stuff like layer moving, but absolutely unbearable for
      painting, there is also an off-by-one rendering glitch at some zoom
      levels.
      373a4e74
  8. 03 May, 2012 1 commit
  9. 02 May, 2012 16 commits
  10. 28 Apr, 2011 1 commit
  11. 09 Jun, 2010 1 commit
    • Barak Itkin's avatar
      app: add context to all undo descriptions · 5930b130
      Barak Itkin authored
      Description of undo actions should be marked as action descriptions,
      and not as commands. This is required for translation for some
      language (like Hebrew) that require a different grammatical tense for
      describing actions
      5930b130
  12. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  13. 03 Nov, 2008 2 commits
    • 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
      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
  14. 09 Oct, 2008 1 commit
    • Michael Natterer's avatar
      Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a · 5503e6a0
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h
      	had a GEGL dependency (they will have in the next commit, but I
      	wanted to keep the commit separate).
      
      	* app/dialogs/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/menus/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/vectors/Makefile.am
      	* app/widgets/Makefile.am
      	* app/xcf/Makefile.am: add GEGL_CFLAGS.
      
      	* app/actions/*.c
      	* app/core/*.c
      	* app/dialogs/*.c
      	* app/display/*.c
      	* app/file/*.c
      	* app/gui/*.c
      	* app/menus/*.c
      	* app/paint/*.c
      	* app/pdb/gimppdb-utils.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/*.c
      	* app/text/*.c
      	* app/tools/*.c
      	* app/vectors/*.c
      	* app/widgets/*.c
      	* app/xcf/*.c: add <gegl.h> or replace <glib-object.h> by <gegl.h>
      	to all files which include a drawable subclass or gimpimage.h
      
      	* tools/pdbgen/app.pl: include <gegl.h> instead of <glib-object.h>
      	in all generated files.
      
      	* app/pdb/*-cmds.c: regenerated.
      
      	* data/images/gimp-splash.png: the goat is still sleeping.
      	By Aurore Derriennic.
      
      
      svn path=/trunk/; revision=27202
      5503e6a0
  15. 09 Dec, 2006 1 commit
  16. 12 Apr, 2006 1 commit
  17. 07 Apr, 2006 1 commit
  18. 16 Nov, 2004 1 commit
    • Michael Natterer's avatar
      app/core/gimpchannel-select.c app/core/gimpchannel.c · 0d5df419
      Michael Natterer authored
      2004-11-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel-select.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-histogram.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-levels.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-stroke.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpitem-linked.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/text/gimptextlayer.c: in all functions which somehow
      	(explicitely or implicitely) touch undo, either g_return_if_fail()
      	on gimp_item_is_attached() or simply don't push an undo step if
      	feasible (e.g. for simple stuff like layer opacity).
      
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb: let PDB wrappers fail
      	accordingly so they don't run into the assertions added above.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/paint_tools_cmds.c: regenerated.
      0d5df419
  19. 14 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Get rid of the "current_context" which was in fact just a bunch of global · 18d9161e
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Get rid of the "current_context" which was in fact just a bunch of
      	global variables. Instead, pass the needed context all the way
      	from the GUI and the PDB to the core. This is a prerequisite for
      	macro recording and generally helps separating the various
      	subsystems from each other. Work in progress...
      
      	* app/core/gimp.[ch]: removed member "current_context" and
      	gimp_[get|set]_current_context().
      
      	* app/core/gimp-edit.[ch]
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpdrawable-bucket-fill.[ch]
      	* app/core/gimpdrawable-offset.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-crop.[ch]
      	* app/core/gimpimage-flip.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-rotate.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimagefile.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimpselection.[ch]
      	* app/core/gimptemplate.[ch]
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/text/gimptext-compat.[ch]
      	* app/text/gimptextlayer-transform.[ch]
      	* app/gui/brush-select.[ch]
      	* app/gui/font-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: added tons of "GimpContext *context"
      	parameters and use the passed context instead of
      	gimp_get_current_context().
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors.c
      	* app/gui/convert-dialog.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpthumbbox.c: pass gimp_get_user_context() or
      	GIMP_CONTEXT(tool_options) or whatever is the right context
      	to the changed core functions.
      
      	* tools/pdbgen/app.pl: pass "GimpContext *context" to all
      	generated PDB invokers.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: pass the new context
      	parameter to the changed core functions.
      
      	* app/pdb/*_cmds.c: regenerated.
      18d9161e
  20. 15 Mar, 2004 2 commits
    • Michael Natterer's avatar
      emit "update" signals from the drawable before and after setting tiles and · 59b77c35
      Michael Natterer authored
      2004-03-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.c (gimp_drawable_set_tiles_full): emit
      	"update" signals from the drawable before and after setting tiles
      	and offsets.
      
      	* app/core/gimpdrawable-offset.c (gimp_drawable_offset)
      	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste)
      	* app/core/gimpimage-undo-push.c (undo_pop_layer_mod, _channel_mod)
      	* app/text/gimptextlayer.c (gimp_text_layer_render)
      	* app/tools/gimptransformtool.c (gimp_transform_tool_doit):
      	removed calls to gimp_drawable_update().
      
      	* app/core/gimpdrawable-offset.c (gimp_drawable_offset): don't
      	push an undo step before calling gimp_drawable_set_tiles()
      	but simply pass push_undo == TRUE and the undo_desc.
      59b77c35
    • Michael Natterer's avatar
      added "offset_x" and "offset_y" parameters to GimpDrawable::set_tiles(). · 1ef5fa93
      Michael Natterer authored
      2004-03-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: added "offset_x" and "offset_y"
      	parameters to GimpDrawable::set_tiles().
      
      	(gimp_drawable_set_tiles): removed the "GimpImageType" parameter.
      
      	(gimp_drawable_set_tiles_full): new function adding type, offset_x
      	and offset_y parameters.
      
      	(gimp_drawable_real_set_tiles): set the drawable's offsets from
      	the offset parameters and its size from the passed TileManager's
      	size. Emit "size_changed" accordingly.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimplayer.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimptransformtool.c: changed accordingly: removed
      	calls to gimp_viewable_size_changed() and all sorts of hackish
      	assignments of the drawable's width/height/offset_x/offset_y
      	properties.
      1ef5fa93
  21. 14 Mar, 2004 1 commit
    • Michael Natterer's avatar
      app/core/gimpdrawable-offset.c (gimp_drawable_offset) · d1fe0f9e
      Michael Natterer authored
      2004-03-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-offset.c (gimp_drawable_offset)
      	* app/core/gimpdrawable.c (gimp_drawable_scale) (gimp_drawable_resize)
      	* app/core/gimplayer.c (gimp_layer_convert) (gimp_layer_add_alpha):
      	use gimp_drawable_set_tiles() instead of fiddling with
      	drawable->tiles, ->bytes etc. manually.
      d1fe0f9e
  22. 26 May, 2003 1 commit
    • Michael Natterer's avatar
      added "gint ref_count" to the TileManager struct. · 707e5976
      Michael Natterer authored
      2003-05-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/tile-manager-private.h: added "gint ref_count" to the
      	TileManager struct.
      
      	* app/base/tile-manager.[ch]: replaced tile_manager_destroy()
      	by tile_manager_ref() and tile_manager_unref().
      
      	* app/core/gimpimage-undo-push.c: ref the tile managers stored in
      	the undo system and DON'T destroy them if no undo could be pushed.
      	Should fix the remaining crashes with undo disabled like in
      	bug #9350.
      
      	(!!!) Note that the tiles passed to gimp_image_undo_push_image()
      	and gimp_drawable_push_undo() as well as the tile managers of
      	drawables passed to gimp_image_undo_push_[layer|channel]_mod()
      	must be unref'ed by the caller now.
      
      	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
      	don't take ownership of the passed tiles but ref them if needed.
      
      	(!!!) Callers must unref the passed tiles themselves now.
      
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagemap.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/paint/gimppaintcore.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimptransformtool-undo.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      707e5976
  23. 08 May, 2003 1 commit
    • Michael Natterer's avatar
      removed gimp_drawable_width,height(). · 54878b79
      Michael Natterer authored
      2003-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: removed gimp_drawable_width,height().
      
      	* app/core/gimpitem.[ch]: added gimp_item_width,height().
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagemap.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpscanconvert.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/channels-commands.c
      	* app/gui/layers-commands.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimpsmudge.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/selection_cmds.c: regenerated.
      54878b79