gimp/app/core
Michael Natterer c92bedb438 added new function gimp_viewable_get_dummy_preview() which currently
2004-02-10  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpviewable.[ch]: added new function
	gimp_viewable_get_dummy_preview() which currently returns a
	completely white and opaque TempBuf of the requested size.  Added
	this useless function because this is the place where to implement
	a nicer preview if someone volunteers.

	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/image.pdb: use the new function if
	gimp->config->layer_previews is FALSE instead of returning no
	preview at all. Fixes bug #112012.

	Cleaned up the preview functions a bit and raised
	the limit for drawable previews from 128x128 to 256x256.

	* app/pdb/drawable_cmds.c
	* app/pdb/image_cmds.c
	* libgimp/gimpdrawable_pdb.c: regenerated.
2004-02-10 15:33:37 +00:00
..
.cvsignore
core-enums.c Enabled skipping enum values for either the PDB or GType registration 2004-01-06 14:02:08 +00:00
core-enums.h Enabled skipping enum values for either the PDB or GType registration 2004-01-06 14:02:08 +00:00
core-types.h added libgimpthumb. 2003-12-08 09:12:25 +00:00
cpercep.c app/composite/gimp-composite-generic.c app/composite/gimp-composite-mmx.c 2003-09-16 13:12:50 +00:00
cpercep.h
gimp-documents.c app/widgets/gimpdocked.[ch] renamed GimpDockedIface to 2003-10-11 14:30:18 +00:00
gimp-documents.h
gimp-edit.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimp-edit.h Fixed bug #78732 (don't paste off screen): 2004-01-15 14:36:43 +00:00
gimp-gradients.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimp-gradients.h
gimp-modules.c app/core/gimpedit.[ch] app/core/gimpmodules.[ch] app/core/gimpunits.[ch] 2003-09-15 17:26:28 +00:00
gimp-modules.h
gimp-parasites.c app/widgets/gimpdocked.[ch] renamed GimpDockedIface to 2003-10-11 14:30:18 +00:00
gimp-parasites.h
gimp-templates.c etc/Makefile.am renamed to gtkrc. 2003-11-04 21:58:39 +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 removed gimp_image_owns_item() again. 2004-01-26 16:18:16 +00:00
gimp-transform-utils.c removed... 2003-09-15 17:41:18 +00:00
gimp-transform-utils.h removed... 2003-09-15 17:41:18 +00:00
gimp-units.c etc/Makefile.am renamed to gtkrc. 2003-11-04 21:58:39 +00:00
gimp-units.h
gimp-utils.c removed gimp_g_object_get_memsize()... 2003-11-25 12:53:29 +00:00
gimp-utils.h removed gimp_g_object_get_memsize()... 2003-11-25 12:53:29 +00:00
gimp.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimp.h Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimparea.c
gimparea.h
gimpbrush-header.h app/core/gimpbrush-header.h Replace guint by guint32 just in case we're on 2003-07-09 23:52:48 +00:00
gimpbrush-load.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimpbrush.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimpbrush.h
gimpbrushgenerated-load.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimpbrushgenerated-save.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimpbrushgenerated.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimpbrushgenerated.h GimpData code review: 2004-01-29 16:19:57 +00:00
gimpbrushpipe-load.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimpbrushpipe.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimpbrushpipe.h
gimpbuffer.c removed the unused GimpViewable parameter from 2003-11-17 13:34:38 +00:00
gimpbuffer.h
gimpchannel-combine.c Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +00:00
gimpchannel-combine.h app/core/Makefile.am new files split out of gimpchannel.[ch]. 2003-09-04 12:18:40 +00:00
gimpchannel-select.c added GimpScanConvert typedef. 2003-10-09 11:30:49 +00:00
gimpchannel-select.h added GimpScanConvert typedef. 2003-10-09 11:30:49 +00:00
gimpchannel.c added progress callback pointers to gimp_item_scale() and its variants. 2004-02-09 00:09:20 +00:00
gimpchannel.h removed gimp_channel_load(). 2003-09-04 20:18:08 +00:00
gimpcontainer-filter.c app/core/Makefile.am app/core/core-types.h added filter functionality for 2003-09-04 17:04:36 +00:00
gimpcontainer-filter.h app/core/Makefile.am app/core/core-types.h added filter functionality for 2003-09-04 17:04:36 +00:00
gimpcontainer.c app/config/gimpbaseconfig.h use gint64 for all memsize properties. 2003-11-16 17:51:36 +00:00
gimpcontainer.h fixed a bug in the implementation. Changed gimp_container_foreach() to 2003-09-04 15:56:11 +00:00
gimpcontext.c removed the last artefact of context signal handling from 1.2: 2004-01-29 16:34:41 +00:00
gimpcontext.h removed the last artefact of context signal handling from 1.2: 2004-01-29 16:34:41 +00:00
gimpcoords.c Introduced function to compare two gimpcoords 2003-09-01 00:39:47 +00:00
gimpcoords.h Introduced function to compare two gimpcoords 2003-09-01 00:39:47 +00:00
gimpdata.c Disallow editing of data objects which have no save functionality. Also 2004-02-05 22:17:14 +00:00
gimpdata.h Disallow editing of data objects which have no save functionality. Also 2004-02-05 22:17:14 +00:00
gimpdatafactory.c Added infrastructure to make sure we don't write to the global brush, 2004-01-28 21:53:50 +00:00
gimpdatafactory.h Added infrastructure to make sure we don't write to the global brush, 2004-01-28 21:53:50 +00:00
gimpdatalist.c added new function gimp_object_name_collate() which compares two object 2003-10-09 13:35:15 +00:00
gimpdatalist.h
gimpdocumentlist.c removed the size parameter and do nothing but invalidating the preview. 2004-01-10 23:55:28 +00:00
gimpdocumentlist.h
gimpdrawable-blend.c use memcpy instead of casted assignment for storing HSV values in 2004-01-26 09:22:06 +00:00
gimpdrawable-blend.h added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients 2003-07-22 14:24:11 +00:00
gimpdrawable-bucket-fill.c added new virtual functions GimpDrawable::get_active_components(), 2003-10-06 14:40:12 +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-combine.c added new virtual functions GimpDrawable::get_active_components(), 2003-10-06 14:40:12 +00:00
gimpdrawable-combine.h added new virtual functions GimpDrawable::get_active_components(), 2003-10-06 14:40:12 +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 image_desaturate() does not exist. 2003-09-07 19:39:10 +00:00
gimpdrawable-equalize.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpdrawable-equalize.h
gimpdrawable-histogram.c renamed gimp_histogram_nchannels() to gimp_histogram_n_channels(). 2004-01-13 11:51:45 +00:00
gimpdrawable-histogram.h
gimpdrawable-invert.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpdrawable-invert.h
gimpdrawable-offset.c added "gint ref_count" to the TileManager struct. 2003-05-26 17:02:06 +00:00
gimpdrawable-offset.h
gimpdrawable-preview.c Apply threshold to alpha in the same way as it is applied to the image in 2004-01-11 17:39:28 +00:00
gimpdrawable-preview.h app/core/Makefile.am new files with preview code factored out of 2003-09-29 23:14:28 +00:00
gimpdrawable-stroke.c app/core/gimpdrawable-stroke.c Don't simplify the border of the selection. 2003-12-31 02:26:32 +00:00
gimpdrawable-stroke.h Accept NULL for ret_closed. 2003-09-30 15:16:51 +00:00
gimpdrawable-transform.c removed gimp_image_owns_item() again. 2004-01-26 16:18:16 +00:00
gimpdrawable-transform.h libgimpmath/gimpmathtypes.h moved struct declarations. 2003-07-07 13:50:48 +00:00
gimpdrawable.c added progress callback pointers to gimp_item_scale() and its variants. 2004-02-09 00:09:20 +00:00
gimpdrawable.h added GIMP_IMAGE_TYPE_WITHOUT_ALPHA() macro as counterpart to 2004-01-14 19:41:00 +00:00
gimpenvirontable.c include "libgimpbase/gimpbase.h" where needed; removed now unnecessary 2004-01-19 01:54:11 +00:00
gimpenvirontable.h
gimpgradient.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimpgradient.h added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients 2003-07-22 14:24:11 +00:00
gimpgrid.c app/config/Makefile.am it became impossible to link the test because the 2003-10-19 00:33:25 +00:00
gimpgrid.h app/config/Makefile.am it became impossible to link the test because the 2003-10-19 00:33:25 +00:00
gimpimage-colorhash.c Some code review: 2004-01-14 11:34:15 +00:00
gimpimage-colorhash.h
gimpimage-colormap.c Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +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 also return the color's alpha byte if it has alpha, not only the converted 2004-01-18 13:19:59 +00:00
gimpimage-contiguous-region.h
gimpimage-convert-data.h
gimpimage-convert-fsdither.h
gimpimage-convert.c Corrected position for alpha_pix in the case of grayscale images with 2004-02-07 10:28:51 +00:00
gimpimage-convert.h use gboolean instead of gint for "alpha_dither" and "remove_dups" in all 2004-01-31 16:23:25 +00:00
gimpimage-crop.c removed trailing whitespace. 2004-02-05 12:52:35 +00:00
gimpimage-crop.h
gimpimage-duplicate.c don't allow to select anything but the floating selection. Fixes bug 2004-01-18 12:16:44 +00:00
gimpimage-duplicate.h
gimpimage-flip.c no need to reallocate the image's projection (the image size doesn't 2003-12-01 13:09:53 +00:00
gimpimage-flip.h Implemented "Flip Image". Fixes bug #23179: 2003-05-18 18:48:36 +00:00
gimpimage-grid.c app/core/gimpimage-grid.c app/core/gimpimage.[ch] removed the 2003-10-14 15:37:21 +00:00
gimpimage-grid.h removed the grid parasite related functions from here ... 2003-10-10 14:11:47 +00:00
gimpimage-guides.c Finally fixed bug #125864: 2004-01-17 22:04:40 +00:00
gimpimage-guides.h Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +00:00
gimpimage-merge.c libgimpwidgets/gimpquerybox.c configure the labels in the message dialog 2003-11-14 15:33:40 +00:00
gimpimage-merge.h New function that appends a duplicate of the source vectors strokes to the 2003-11-07 13:20:52 +00:00
gimpimage-new.c removed gimp_config_copy_properties() and added the more intelligent 2003-10-14 15:20:59 +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 use OPAQUE_OPACITY instead of 255. 2003-06-05 18:47:23 +00:00
gimpimage-pick-color.h use OPAQUE_OPACITY instead of 255. 2003-06-05 18:47:23 +00:00
gimpimage-preview.c removed the unused GimpViewable parameter from 2003-11-17 13:34:38 +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 also return the color's alpha byte if it has alpha, not only the converted 2004-01-18 13:19:59 +00:00
gimpimage-projection.h
gimpimage-qmask.c removed gimp_channel_load(). 2003-09-04 20:18:08 +00:00
gimpimage-qmask.h
gimpimage-quick-mask.c removed gimp_channel_load(). 2003-09-04 20:18:08 +00:00
gimpimage-quick-mask.h
gimpimage-resize.c optimized to reallocate the projection TileManager only if it does not 2003-12-04 12:18:41 +00:00
gimpimage-resize.h fixed offset calculation for 90 and 270 degree rotations. 2003-06-03 16:42:46 +00:00
gimpimage-rotate.c optimized to reallocate the projection TileManager only if it does not 2003-12-04 12:18:41 +00:00
gimpimage-rotate.h added new enum GimpRotationType. 2003-05-20 10:36:29 +00:00
gimpimage-scale.c added progress callback pointers to gimp_item_scale() and its variants. 2004-02-09 00:09:20 +00:00
gimpimage-scale.h return a more exact result. 2003-12-09 12:56:22 +00:00
gimpimage-snap.c forgot to change two G_MAXINT to G_MAXDOUBLE. 2004-01-17 22:09:15 +00:00
gimpimage-snap.h Added a per image configurable grid. 2003-06-23 19:34:48 +00:00
gimpimage-undo-push.c app/core/gimpimage-undo-push.c (undo_pop_layer) (undo_push_layer) ifdef'ed 2004-02-09 00:17:13 +00:00
gimpimage-undo-push.h added GIMP_UNDO_TEXT_LAYER to GimpUndoType enum. 2004-01-05 00:28:12 +00:00
gimpimage-undo.c app/config/gimpbaseconfig.h use gint64 for all memsize properties. 2003-11-16 17:51:36 +00:00
gimpimage-undo.h app/config/gimpbaseconfig.h use gint64 for all memsize properties. 2003-11-16 17:51:36 +00:00
gimpimage-unit.c app/core/Makefile.am added small wrappers to ease handling of image units 2003-10-01 17:32:14 +00:00
gimpimage-unit.h app/core/Makefile.am added small wrappers to ease handling of image units 2003-10-01 17:32:14 +00:00
gimpimage.c removed gimp_image_owns_item() again. 2004-01-26 16:18:16 +00:00
gimpimage.h removed gimp_image_owns_item() again. 2004-01-26 16:18:16 +00:00
gimpimagefile.c removed the size parameter and do nothing but invalidating the preview. 2004-01-10 23:55:28 +00:00
gimpimagefile.h removed the size parameter and do nothing but invalidating the preview. 2004-01-10 23:55:28 +00:00
gimpimagemap.c also return the color's alpha byte if it has alpha, not only the converted 2004-01-18 13:19:59 +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-linked.c made gimp_item_linked_get_list() and the GimpItemLinkedMask enum public. 2003-09-11 18:02:39 +00:00
gimpitem-linked.h made gimp_item_linked_get_list() and the GimpItemLinkedMask enum public. 2003-09-11 18:02:39 +00:00
gimpitem-preview.c removed the unused GimpViewable parameter from 2003-11-17 13:34:38 +00:00
gimpitem-preview.h app/core/Makefile.am new files with preview code factored out of 2003-09-29 23:14:28 +00:00
gimpitem.c added progress callback pointers to gimp_item_scale() and its variants. 2004-02-09 00:09:20 +00:00
gimpitem.h added progress callback pointers to gimp_item_scale() and its variants. 2004-02-09 00:09:20 +00:00
gimpitemundo.c app/config/gimpbaseconfig.h use gint64 for all memsize properties. 2003-11-16 17:51:36 +00:00
gimpitemundo.h app/config/gimpbaseconfig.h use gint64 for all memsize properties. 2003-11-16 17:51:36 +00:00
gimplayer-floating-sel.c removed gimp_image_owns_item() again. 2004-01-26 16:18:16 +00:00
gimplayer-floating-sel.h add the layer to the image before pasting to it. Fixes bug #132504. 2004-01-26 15:34:47 +00:00
gimplayer.c added progress callback pointers to gimp_item_scale() and its variants. 2004-02-09 00:09:20 +00:00
gimplayer.h added new pure virtual function GimpDrawable::invalidate_boundary(). 2003-09-04 11:33:06 +00:00
gimplayermask.c Disallow to rename the layer mask. Instead, always name the mask "<layer 2004-02-01 20:38:26 +00:00
gimplayermask.h added new virtual function duplicate() as replacement for all 2003-02-11 13:52:47 +00:00
gimplist.c app/config/gimpbaseconfig.h use gint64 for all memsize properties. 2003-11-16 17:51:36 +00:00
gimplist.h exposed gimp_object_name_free() and added documentation. 2003-11-16 13:54:14 +00:00
gimpmarshal.list app/app_procs.[ch] app/main.c app/core/gimp.[ch] app/gui/gui.c allow to 2003-11-13 14:14:20 +00:00
gimpobject.c removed gimp_g_object_get_memsize()... 2003-11-25 12:53:29 +00:00
gimpobject.h removed gimp_g_object_get_memsize()... 2003-11-25 12:53:29 +00:00
gimppaintinfo.c derive it from GimpViewable. 2003-09-27 13:46:30 +00:00
gimppaintinfo.h derive it from GimpViewable. 2003-09-27 13:46:30 +00:00
gimppalette-import.c removed function map_to_color() since it does not belong here and the two 2003-09-05 17:44:39 +00:00
gimppalette-import.h added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients 2003-07-22 14:24:11 +00:00
gimppalette-load.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimppalette-save.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimppalette.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimppalette.h added GimpData::duplicate() implementation so read-only palettes can be 2003-03-10 17:35:42 +00:00
gimpparasitelist.c use memcpy instead of casted assignment for storing HSV values in 2004-01-26 09:22:06 +00:00
gimpparasitelist.h
gimppattern-header.h app/core/gimpbrush-header.h Replace guint by guint32 just in case we're on 2003-07-09 23:52:48 +00:00
gimppattern-load.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimppattern.c GimpData code review: 2004-01-29 16:19:57 +00:00
gimppattern.h
gimppreviewcache.c code cleanup. Removed the PreviewCache struct that used to wrap TempBuf 2003-09-05 16:51:51 +00:00
gimppreviewcache.h code cleanup. Removed the PreviewCache struct that used to wrap TempBuf 2003-09-05 16:51:51 +00:00
gimpprojection-construct.c also return the color's alpha byte if it has alpha, not only the converted 2004-01-18 13:19:59 +00:00
gimpprojection-construct.h
gimpprojection.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpprojection.h Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpscanconvert.c Argh, this is getting silly. 2004-01-27 23:38:03 +00:00
gimpscanconvert.h added GimpScanConvert typedef. 2003-10-09 11:30:49 +00:00
gimpselection.c added progress callback pointers to gimp_item_scale() and its variants. 2004-02-09 00:09:20 +00:00
gimpselection.h Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +00:00
gimpstrokeoptions.c Some default dash pattern enum. regenerated. 2003-12-28 17:09:41 +00:00
gimpstrokeoptions.h Some default dash pattern enum. regenerated. 2003-12-28 17:09:41 +00:00
gimptemplate.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimptemplate.h take a guint64 parameter and handle values beyond a gigabyte. 2003-11-14 12:05:13 +00:00
gimptoolinfo.c added a GimpContainer of tool options presets. 2003-09-29 20:26:09 +00:00
gimptoolinfo.h added a GimpContainer of tool options presets. 2003-09-29 20:26:09 +00:00
gimptooloptions.c app/widgets/gimpdocked.[ch] renamed GimpDockedIface to 2003-10-11 14:30:18 +00:00
gimptooloptions.h added a GimpContainer of tool options presets. 2003-09-29 20:26:09 +00:00
gimpundo.c removed the unused GimpViewable parameter from 2003-11-17 13:34:38 +00:00
gimpundo.h app/config/gimpbaseconfig.h use gint64 for all memsize properties. 2003-11-16 17:51:36 +00:00
gimpundostack.c app/config/gimpbaseconfig.h use gint64 for all memsize properties. 2003-11-16 17:51:36 +00:00
gimpundostack.h Reimplemented the undo history: 2003-02-20 12:47:42 +00:00
gimpunit.c app/composite/gimp-composite-generic.c app/composite/gimp-composite-mmx.c 2003-09-16 13:12:50 +00:00
gimpunit.h
gimpviewable.c added new function gimp_viewable_get_dummy_preview() which currently 2004-02-10 15:33:37 +00:00
gimpviewable.h added new function gimp_viewable_get_dummy_preview() which currently 2004-02-10 15:33:37 +00:00
Makefile.am added new virtual functions GimpDrawable::get_active_components(), 2003-10-06 14:40:12 +00:00
makefile.msc new file to keep common definitions for the msc build use common 2004-02-07 23:01:33 +00:00