gimp/app/core
Michael Natterer 2a17435e7e Started to abstract item transformation so we can easily transform
2003-05-07  Michael Natterer  <mitch@gimp.org>

	Started to abstract item transformation so we can easily
	transform multiple linked items later:

	* app/core/gimpitem.[ch]: added new virtual function
	GimpItem::scale() with the same signature as the former
	gimp_layer_scale_lowlevel().

	* app/core/gimpdrawable.c: implement scale() and do the
	common parts of layer/channel scaling here.

	* app/core/gimpchannel.[ch]
	* app/core/gimplayer.[ch]: implement scale() for the
	channel/layer specific parts of scaling.

	* app/core/gimplayer.[ch]: renamed gimp_layer_scale() to
	gimp_layer_scale_by_origin().

	* app/vectors/gimpvectors.c: added empty scale() implementation.

	* app/core/gimpimage-scale.c
	* app/core/gimpimage-undo-push.c
	* app/gui/layers-commands.c
	* tools/pdbgen/pdb/layer.pdb: changed accordingly.

	* app/pdb/layer_cmds.c: regenerated.

	Unrelated:

	* app/core/gimpimage-undo-push.c: fixed item rename undo to
	take the size of the saved name into account. Removed old
	path_undo stuff.
2003-05-07 11:09:00 +00:00
..
.cvsignore new function to set the sensitivity of an option_menu. 2002-03-17 16:35:05 +00:00
Makefile.am Added preliminary support for image templates. Not finished yet. Addresses 2003-04-03 17:50:56 +00:00
core-enums.c app/core/core-enums.[ch] fixed typos spotted by Janne (bug #109322). 2003-03-27 12:58:10 +00:00
core-enums.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
core-types.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
cpercep.c app/core/cpercep.[ch] app/core/gimpimage-convert.c removed C++ style 2002-05-24 10:48:08 +00:00
cpercep.h app/core/cpercep.[ch] app/core/gimpimage-convert.c removed C++ style 2002-05-24 10:48:08 +00:00
gimp-documents.c app/config/Makefile.am new files featuring a simple config file writer. 2003-03-05 20:21:50 +00:00
gimp-documents.h added a return value to indicate success of 2002-05-15 11:05:32 +00:00
gimp-edit.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimp-edit.h made gimp->global_buffer a GimpBuffer, not TileManager. 2001-12-12 23:48:18 +00:00
gimp-gradients.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimp-gradients.h added a boolean "internal" which indicates that the data object is an 2002-06-12 13:48:47 +00:00
gimp-modules.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimp-modules.h app/Makefile.am removed. 2001-10-18 17:27:36 +00:00
gimp-parasites.c app/config/Makefile.am new files featuring a simple config file writer. 2003-03-05 20:21:50 +00:00
gimp-parasites.h added a return value to indicate success of 2002-05-15 11:05:32 +00:00
gimp-templates.c gimp_list_reverse() after loading so it is in the right order. 2003-04-05 13:33:35 +00:00
gimp-templates.h Added preliminary support for image templates. Not finished yet. Addresses 2003-04-03 17:50:56 +00:00
gimp-transform-region.c Cleanups. (gradient_calc_linear_factor): Apply the gradient to both sides 2003-05-05 18:45:58 +00:00
gimp-transform-utils.c Applied a patch from Øyvind Kolås that adds supersampling to the transform 2003-04-04 11:19:57 +00:00
gimp-transform-utils.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimp-units.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimp-units.h app/config/Makefile.am new files containing a convenience constructor for 2002-03-27 23:15:00 +00:00
gimp.c cosmetic. 2003-04-05 18:40:16 +00:00
gimp.h reduced GIMP_MAX_IMAGE_SIZE to 2^18. 2003-04-04 15:11:30 +00:00
gimparea.c Wishlist item #57669: 2001-11-16 15:08:59 +00:00
gimparea.h Wishlist item #57669: 2001-11-16 15:08:59 +00:00
gimpbrush-header.h app/Makefile.am app/brush_header.h app/pattern_header.h 2001-04-19 00:23:43 +00:00
gimpbrush-load.c added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
gimpbrush.c added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
gimpbrush.h use GError for reporting load/save errors. Added gimp_data_error_quark() 2002-12-02 13:39:09 +00:00
gimpbrushgenerated-load.c fixed algorithm that calculates the brush size, some code cleanup. 2003-04-09 15:31:45 +00:00
gimpbrushgenerated-save.c fixed algorithm that calculates the brush size, some code cleanup. 2003-04-09 15:31:45 +00:00
gimpbrushgenerated.c fixed algorithm that calculates the brush size, some code cleanup. 2003-04-09 15:31:45 +00:00
gimpbrushgenerated.h use GError for reporting load/save errors. Added gimp_data_error_quark() 2002-12-02 13:39:09 +00:00
gimpbrushpipe-load.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpbrushpipe.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpbrushpipe.h use GError for reporting load/save errors. Added gimp_data_error_quark() 2002-12-02 13:39:09 +00:00
gimpbuffer.c added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
gimpbuffer.h added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS. 2001-12-17 23:41:01 +00:00
gimpchannel-combine.c Started to abstract item transformation so we can easily transform 2003-05-07 11:09:00 +00:00
gimpchannel-combine.h Started to abstract item transformation so we can easily transform 2003-05-07 11:09:00 +00:00
gimpchannel-select.c app/vectors/gimpstroke.[ch] Changed vectors->strokes to a GList and 2003-04-14 00:37:04 +00:00
gimpchannel-select.h Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimpchannel.c Started to abstract item transformation so we can easily transform 2003-05-07 11:09:00 +00:00
gimpchannel.h Started to abstract item transformation so we can easily transform 2003-05-07 11:09:00 +00:00
gimpcontainer.c app/core/gimpcontext.c (gimp_context_deserialize_property) g_free() the 2003-04-13 12:27:44 +00:00
gimpcontainer.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpcontext.c app/core/gimpcontext.c (gimp_context_deserialize_property) g_free() the 2003-04-13 12:27:44 +00:00
gimpcontext.h added gimp_context_type_to_prop_name(). 2003-04-10 10:34:56 +00:00
gimpdata.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpdata.h added a writeable field to GimpData and set it from 2003-02-26 18:08:26 +00:00
gimpdatafactory.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpdatafactory.h use GError for reporting load/save errors. Added gimp_data_error_quark() 2002-12-02 13:39:09 +00:00
gimpdatalist.c added gimp_list_uniquefy_name() utility function. 2003-04-06 11:21:56 +00:00
gimpdatalist.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpdocumentlist.c fixed creation of config file, added new function 2003-03-10 15:48:16 +00:00
gimpdocumentlist.h app/core/gimpdocumentlist.[ch] added "Gimp" pointers so we don't need to 2003-01-24 17:38:24 +00:00
gimpdrawable-blend.c Cleanups. (gradient_calc_linear_factor): Apply the gradient to both sides 2003-05-05 18:45:58 +00:00
gimpdrawable-blend.h app/core/core-enums.h moved gradient enums to core-enums.h and 2001-12-11 18:53:03 +00:00
gimpdrawable-bucket-fill.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpdrawable-bucket-fill.h Fixed most of the bugs the Script-Fu logo scripts triggered: 2003-02-14 22:33:22 +00:00
gimpdrawable-desaturate.c Added g_return_if_fail (gimp_drawable_is_rgb (drawable)), cleanup. 2003-04-13 18:45:38 +00:00
gimpdrawable-desaturate.h app/Makefile.am app/brush_header.h app/pattern_header.h 2001-04-19 00:23:43 +00:00
gimpdrawable-equalize.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpdrawable-equalize.h app/Makefile.am app/brush_header.h app/pattern_header.h 2001-04-19 00:23:43 +00:00
gimpdrawable-histogram.c app/core/Makefile.am app/core/core-types.h new base class for something 2002-02-25 17:58:50 +00:00
gimpdrawable-histogram.h app/gimphistogram.[ch] removed. 2001-05-22 23:05:35 +00:00
gimpdrawable-invert.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpdrawable-invert.h app/Makefile.am app/brush_header.h app/pattern_header.h 2001-04-19 00:23:43 +00:00
gimpdrawable-offset.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpdrawable-offset.h renamed it to GimpDisplay and made it a GimpObject subclass. 2001-09-25 17:44:03 +00:00
gimpdrawable-preview.c #define GIMP_VIEWABLE_MAX_PREVIEW_SIZE here. 2003-04-01 13:53:47 +00:00
gimpdrawable-preview.h added virtual function get_popup_size() which returns a boolean indicating 2003-02-27 13:59:41 +00:00
gimpdrawable-transform-utils.c Applied a patch from Øyvind Kolås that adds supersampling to the transform 2003-04-04 11:19:57 +00:00
gimpdrawable-transform-utils.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpdrawable-transform.c Cleanups. (gradient_calc_linear_factor): Apply the gradient to both sides 2003-05-05 18:45:58 +00:00
gimpdrawable-transform.h Added object properties for almost all tool_options values and registered 2003-02-07 17:12:21 +00:00
gimpdrawable.c Started to abstract item transformation so we can easily transform 2003-05-07 11:09:00 +00:00
gimpdrawable.h Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
gimpedit.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpedit.h made gimp->global_buffer a GimpBuffer, not TileManager. 2001-12-12 23:48:18 +00:00
gimpenvirontable.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpenvirontable.h added some rudimentary support to prepend values to existing environment 2002-12-18 02:47:39 +00:00
gimpgradient.c fixed bug spotted by Pedro Gimeno by moving the alpha calculation to the 2003-04-06 09:07:23 +00:00
gimpgradient.h use GError for reporting load/save errors. Added gimp_data_error_quark() 2002-12-02 13:39:09 +00:00
gimpimage-colorhash.c an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpimage-colorhash.h new directory app/base/ 2001-05-15 11:25:25 +00:00
gimpimage-colormap.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpimage-colormap.h Added an API for image colormap manupulation and made colormap changes 2003-03-18 13:49:02 +00:00
gimpimage-contiguous-region.c applied patch from Pedro Gimeno that fixes bug #51883. 2003-04-17 12:06:03 +00:00
gimpimage-contiguous-region.h removed #if 0'ed old display update hackery. Don't flush the displays here 2002-02-10 15:18:08 +00:00
gimpimage-convert-data.h RGB->Indexed quantizer version 3.0 (the rest of the commit started a year 2002-02-10 18:33:16 +00:00
gimpimage-convert-fsdither.h RGB->Indexed quantizer version 3.0 (the rest of the commit started a year 2002-02-10 18:33:16 +00:00
gimpimage-convert.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpimage-convert.h app/core/core-enums.h more enum cleanup (ConvertPaletteType and 2002-03-18 13:55:19 +00:00
gimpimage-crop.c app/core/gimpimage-guides.c fixed to accept guide->position == 2003-03-30 13:09:57 +00:00
gimpimage-crop.h app/core/Makefile.am new files for gimp_image_crop() and 2001-07-07 14:53:42 +00:00
gimpimage-duplicate.c reduced GIMP_MAX_IMAGE_SIZE to 2^18. 2003-04-04 15:11:30 +00:00
gimpimage-duplicate.h app/Makefile.am removed 2001-04-18 19:14:20 +00:00
gimpimage-guides.c new functions snapping to one axis only. (gimp_image_snap_rectangle): use 2003-04-17 10:22:13 +00:00
gimpimage-guides.h new functions snapping to one axis only. (gimp_image_snap_rectangle): use 2003-04-17 10:22:13 +00:00
gimpimage-mask-select.c app/vectors/gimpstroke.[ch] Changed vectors->strokes to a GList and 2003-04-14 00:37:04 +00:00
gimpimage-mask-select.h Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimpimage-mask.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpimage-mask.h app/core/gimpimage-mask.[ch] (gimp_image_mask_translate) added "gboolean 2003-03-18 16:42:45 +00:00
gimpimage-merge.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpimage-merge.h added "const gchar *undo_desc" to gimp_image_merge_layers() so the undo 2003-02-17 11:21:35 +00:00
gimpimage-new.c reduced GIMP_MAX_IMAGE_SIZE to 2^18. 2003-04-04 15:11:30 +00:00
gimpimage-new.h reduced GIMP_MAX_IMAGE_SIZE to 2^18. 2003-04-04 15:11:30 +00:00
gimpimage-pick-color.c Fixed color picking (reported by jimmac on #gimp): 2002-06-19 22:09:02 +00:00
gimpimage-pick-color.h app/core/Makefile.am new files. 2001-12-12 01:16:39 +00:00
gimpimage-preview.c app/core/Makefile.am moved the image preview code to separate files. 2003-03-24 12:21:58 +00:00
gimpimage-preview.h app/core/Makefile.am moved the image preview code to separate files. 2003-03-24 12:21:58 +00:00
gimpimage-projection.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimpimage-projection.h Forgot some gint opacity values: 2002-03-04 14:52:54 +00:00
gimpimage-qmask.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpimage-qmask.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
gimpimage-quick-mask.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpimage-quick-mask.h app/core/Makefile.am new files: the QMask stuff stripped from GUI code. 2001-11-30 14:41:56 +00:00
gimpimage-resize.c shut up compiler. 2003-03-30 16:17:48 +00:00
gimpimage-resize.h include the new "paint-funcs/paint-funcs-types.h". 2001-11-28 17:51:06 +00:00
gimpimage-scale.c Started to abstract item transformation so we can easily transform 2003-05-07 11:09:00 +00:00
gimpimage-scale.h Made the interpolation type configurable in the scale and transform 2002-02-12 02:31:45 +00:00
gimpimage-undo-push.c Started to abstract item transformation so we can easily transform 2003-05-07 11:09:00 +00:00
gimpimage-undo-push.h Added an API for image colormap manupulation and made colormap changes 2003-03-18 13:49:02 +00:00
gimpimage-undo.c Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
gimpimage-undo.h Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
gimpimage.c say "Remove Channel" when pushing the undo, not "Remove Layer". 2003-04-09 09:11:25 +00:00
gimpimage.h added new functions gimp_image_active_[layer|channel|vectors]_changed() 2003-03-25 03:29:11 +00:00
gimpimagefile.c added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
gimpimagefile.h added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
gimpimagemap.c Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimpimagemap.h Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimpitem.c Started to abstract item transformation so we can easily transform 2003-05-07 11:09:00 +00:00
gimpitem.h Started to abstract item transformation so we can easily transform 2003-05-07 11:09:00 +00:00
gimpitemundo.c Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
gimpitemundo.h Made drawable/layer properties (visibility, opacity etc.) undoable (fixes 2003-03-17 18:02:41 +00:00
gimplayer-floating-sel.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimplayer-floating-sel.h Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimplayer.c Started to abstract item transformation so we can easily transform 2003-05-07 11:09:00 +00:00
gimplayer.h Started to abstract item transformation so we can easily transform 2003-05-07 11:09:00 +00:00
gimplayermask.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimplayermask.h added new virtual function duplicate() as replacement for all 2003-02-11 13:52:47 +00:00
gimplist.c added gimp_list_uniquefy_name() utility function. 2003-04-06 11:21:56 +00:00
gimplist.h added gimp_list_uniquefy_name() utility function. 2003-04-06 11:21:56 +00:00
gimpmarshal.list added VOID__DOUBLE_DOUBLE 2003-04-01 10:32:03 +00:00
gimpmodules.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpmodules.h app/Makefile.am removed. 2001-10-18 17:27:36 +00:00
gimpobject.c Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpobject.h app/core/gimpobject.[ch] improved the code that trims the text before 2003-02-05 14:49:48 +00:00
gimppaintinfo.c Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimppaintinfo.h Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimppalette-import.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimppalette-import.h app/Makefile.am new files. The import functions stripped from all UI crap. 2001-02-19 18:07:08 +00:00
gimppalette-load.c added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
gimppalette-save.c added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
gimppalette.c added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
gimppalette.h added GimpData::duplicate() implementation so read-only palettes can be 2003-03-10 17:35:42 +00:00
gimpparasitelist.c fixed parasite serialization that I broke yesterday. 2003-03-06 13:22:11 +00:00
gimpparasitelist.h added a return value to indicate success of 2002-05-15 11:05:32 +00:00
gimppattern-header.h app/Makefile.am app/brush_header.h app/pattern_header.h 2001-04-19 00:23:43 +00:00
gimppattern-load.c added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
gimppattern.c added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
gimppattern.h use GError for reporting load/save errors. Added gimp_data_error_quark() 2002-12-02 13:39:09 +00:00
gimppreviewcache.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimppreviewcache.h pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. 2002-01-30 16:14:26 +00:00
gimpprojection-construct.c devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
gimpprojection-construct.h Forgot some gint opacity values: 2002-03-04 14:52:54 +00:00
gimpprojection.c Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpprojection.h removed gdisp->draw_guides and gdisp->snap_to_guides. 2003-03-20 11:31:33 +00:00
gimpscanconvert.c include libart.h instead of a selection of libart headers. 2002-04-09 11:39:04 +00:00
gimpscanconvert.h app/Makefile.am removed. 2001-05-25 18:10:38 +00:00
gimptemplate.c invalidate the preview when the stock_id changes. 2003-04-13 16:25:14 +00:00
gimptemplate.h reduced GIMP_MAX_IMAGE_SIZE to 2^18. 2003-04-04 15:11:30 +00:00
gimptoolinfo.c added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
gimptoolinfo.h added "gchar *stock_id" to the GimpViewable struct. It is used by the GUI 2003-02-26 16:15:50 +00:00
gimptooloptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimptooloptions.h added a "const gchar *extension" parameter to 2003-02-10 11:46:10 +00:00
gimpundo.c #define GIMP_UNDO_PREVIEW_SIZE 64 2003-04-04 20:30:44 +00:00
gimpundo.h #define GIMP_UNDO_PREVIEW_SIZE 64 2003-04-04 20:30:44 +00:00
gimpundostack.c Reimplemented the undo history: 2003-02-20 12:47:42 +00:00
gimpundostack.h Reimplemented the undo history: 2003-02-20 12:47:42 +00:00
gimpunit.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpunit.h app/config/Makefile.am new files containing a convenience constructor for 2002-03-27 23:15:00 +00:00
gimpunits.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpunits.h app/config/Makefile.am new files containing a convenience constructor for 2002-03-27 23:15:00 +00:00
gimpviewable.c made object properties G_PARAM_READWRITE by default. Added flag 2003-04-12 19:06:25 +00:00
gimpviewable.h added vitrual function GimpViewable::get_description() which returns the 2003-04-08 16:01:01 +00:00
makefile.msc app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated 2003-03-03 18:14:31 +00:00