• Michael Natterer's avatar
    added "gboolean writable" to the GimpDataFactoryLoaderEntry struct. Return · 638f2b3a
    Michael Natterer authored
    2004-07-26  Michael Natterer  <mitch@gimp.org>
    
    	* app/core/gimpdatafactory.h: added "gboolean writable" to the
    	GimpDataFactoryLoaderEntry struct. Return a GList* instead of
    	GimpData* from GimpDataLoadFunc so it's possible to load more than
    	one data object from one file.
    
    	* app/core/gimpdatafactory.c (gimp_data_factory_load_data):
    	changed accordingly: add all items of the returned lists to the
    	data factory. Make the data object writable only if it's in the
    	writable path *and* its loader entry says it's a writable format
    	*and* the returned list contains exactly one element.
    
    	* app/core/gimp.c (gimp_real_initialize): declare all loader
    	entries as writable where we have code to read and write exactly
    	one object per file; all others are not writable.
    
    	* app/core/gimpbrush.[ch]
    	* app/core/gimpbrushgenerated.[ch]
    	* app/core/gimpbrushpipe.[ch]
    	* app/core/gimpgradient-load.[ch]
    	* app/core/gimppalette.[ch]
    	* app/core/gimppattern.[ch] (all load functions): return a list
    	containing the loaded object instead of the object itself.
    638f2b3a
Name
Last commit
Last update
..
.cvsignore Loading commit data...
Makefile.am Loading commit data...
core-enums.c Loading commit data...
core-enums.h Loading commit data...
core-types.h Loading commit data...
cpercep.c Loading commit data...
cpercep.h Loading commit data...
gimp-documents.c Loading commit data...
gimp-documents.h Loading commit data...
gimp-edit.c Loading commit data...
gimp-edit.h Loading commit data...
gimp-gradients.c Loading commit data...
gimp-gradients.h Loading commit data...
gimp-gui.c Loading commit data...
gimp-gui.h Loading commit data...
gimp-modules.c Loading commit data...
gimp-modules.h Loading commit data...
gimp-parasites.c Loading commit data...
gimp-parasites.h Loading commit data...
gimp-templates.c Loading commit data...
gimp-templates.h Loading commit data...
gimp-transform-region.c Loading commit data...
gimp-transform-utils.c Loading commit data...
gimp-transform-utils.h Loading commit data...
gimp-units.c Loading commit data...
gimp-units.h Loading commit data...
gimp-utils.c Loading commit data...
gimp-utils.h Loading commit data...
gimp.c Loading commit data...
gimp.h Loading commit data...
gimparea.c Loading commit data...
gimparea.h Loading commit data...
gimpbrush-header.h Loading commit data...
gimpbrush-load.c Loading commit data...
gimpbrush.c Loading commit data...
gimpbrush.h Loading commit data...
gimpbrushgenerated-load.c Loading commit data...
gimpbrushgenerated-save.c Loading commit data...
gimpbrushgenerated.c Loading commit data...
gimpbrushgenerated.h Loading commit data...
gimpbrushpipe-load.c Loading commit data...
gimpbrushpipe.c Loading commit data...
gimpbrushpipe.h Loading commit data...
gimpbuffer.c Loading commit data...
gimpbuffer.h Loading commit data...
gimpchannel-combine.c Loading commit data...
gimpchannel-combine.h Loading commit data...
gimpchannel-select.c Loading commit data...
gimpchannel-select.h Loading commit data...
gimpchannel.c Loading commit data...
gimpchannel.h Loading commit data...
gimpcontainer-filter.c Loading commit data...
gimpcontainer-filter.h Loading commit data...
gimpcontainer.c Loading commit data...
gimpcontainer.h Loading commit data...
gimpcontext.c Loading commit data...
gimpcontext.h Loading commit data...
gimpcoords.c Loading commit data...
gimpcoords.h Loading commit data...
gimpdata.c Loading commit data...
gimpdata.h Loading commit data...
gimpdatafactory.c Loading commit data...
gimpdatafactory.h Loading commit data...
gimpdocumentlist.c Loading commit data...
gimpdocumentlist.h Loading commit data...
gimpdrawable-blend.c Loading commit data...
gimpdrawable-blend.h Loading commit data...
gimpdrawable-bucket-fill.c Loading commit data...
gimpdrawable-bucket-fill.h Loading commit data...
gimpdrawable-combine.c Loading commit data...
gimpdrawable-combine.h Loading commit data...
gimpdrawable-desaturate.c Loading commit data...
gimpdrawable-desaturate.h Loading commit data...
gimpdrawable-equalize.c Loading commit data...
gimpdrawable-equalize.h Loading commit data...
gimpdrawable-histogram.c Loading commit data...
gimpdrawable-histogram.h Loading commit data...
gimpdrawable-invert.c Loading commit data...
gimpdrawable-invert.h Loading commit data...
gimpdrawable-offset.c Loading commit data...
gimpdrawable-offset.h Loading commit data...
gimpdrawable-preview.c Loading commit data...
gimpdrawable-preview.h Loading commit data...
gimpdrawable-stroke.c Loading commit data...
gimpdrawable-stroke.h Loading commit data...
gimpdrawable-transform.c Loading commit data...
gimpdrawable-transform.h Loading commit data...
gimpdrawable.c Loading commit data...
gimpdrawable.h Loading commit data...
gimpenvirontable.c Loading commit data...
gimpenvirontable.h Loading commit data...
gimpgradient-load.c Loading commit data...
gimpgradient-load.h Loading commit data...
gimpgradient-save.c Loading commit data...
gimpgradient-save.h Loading commit data...
gimpgradient.c Loading commit data...
gimpgradient.h Loading commit data...
gimpgrid.c Loading commit data...
gimpgrid.h Loading commit data...
gimpimage-colorhash.c Loading commit data...
gimpimage-colorhash.h Loading commit data...
gimpimage-colormap.c Loading commit data...
gimpimage-colormap.h Loading commit data...
gimpimage-contiguous-region.c Loading commit data...
gimpimage-contiguous-region.h Loading commit data...
gimpimage-convert-data.h Loading commit data...
gimpimage-convert-fsdither.h Loading commit data...
gimpimage-convert.c Loading commit data...
gimpimage-convert.h Loading commit data...
gimpimage-crop.c Loading commit data...
gimpimage-crop.h Loading commit data...
gimpimage-duplicate.c Loading commit data...
gimpimage-duplicate.h Loading commit data...
gimpimage-flip.c Loading commit data...
gimpimage-flip.h Loading commit data...
gimpimage-grid.c Loading commit data...
gimpimage-grid.h Loading commit data...
gimpimage-guides.c Loading commit data...
gimpimage-guides.h Loading commit data...
gimpimage-merge.c Loading commit data...
gimpimage-merge.h Loading commit data...
gimpimage-new.c Loading commit data...
gimpimage-new.h Loading commit data...
gimpimage-pick-color.c Loading commit data...
gimpimage-pick-color.h Loading commit data...
gimpimage-preview.c Loading commit data...
gimpimage-preview.h Loading commit data...
gimpimage-qmask.c Loading commit data...
gimpimage-qmask.h Loading commit data...
gimpimage-quick-mask.c Loading commit data...
gimpimage-quick-mask.h Loading commit data...
gimpimage-resize.c Loading commit data...
gimpimage-resize.h Loading commit data...
gimpimage-rotate.c Loading commit data...
gimpimage-rotate.h Loading commit data...
gimpimage-scale.c Loading commit data...
gimpimage-scale.h Loading commit data...
gimpimage-snap.c Loading commit data...
gimpimage-snap.h Loading commit data...
gimpimage-undo-push.c Loading commit data...
gimpimage-undo-push.h Loading commit data...
gimpimage-undo.c Loading commit data...
gimpimage-undo.h Loading commit data...
gimpimage.c Loading commit data...
gimpimage.h Loading commit data...
gimpimagefile.c Loading commit data...
gimpimagefile.h Loading commit data...
gimpimagemap.c Loading commit data...
gimpimagemap.h Loading commit data...
gimpitem-linked.c Loading commit data...
gimpitem-linked.h Loading commit data...
gimpitem-preview.c Loading commit data...
gimpitem-preview.h Loading commit data...
gimpitem.c Loading commit data...
gimpitem.h Loading commit data...
gimpitemundo.c Loading commit data...
gimpitemundo.h Loading commit data...
gimplayer-floating-sel.c Loading commit data...
gimplayer-floating-sel.h Loading commit data...
gimplayer.c Loading commit data...
gimplayer.h Loading commit data...
gimplayermask.c Loading commit data...
gimplayermask.h Loading commit data...
gimplist.c Loading commit data...
gimplist.h Loading commit data...
gimpmarshal.list Loading commit data...
gimpobject.c Loading commit data...
gimpobject.h Loading commit data...
gimppaintinfo.c Loading commit data...
gimppaintinfo.h Loading commit data...
gimppalette-import.c Loading commit data...
gimppalette-import.h Loading commit data...
gimppalette-load.c Loading commit data...
gimppalette-save.c Loading commit data...
gimppalette.c Loading commit data...
gimppalette.h Loading commit data...
gimpparasitelist.c Loading commit data...
gimpparasitelist.h Loading commit data...
gimppattern-header.h Loading commit data...
gimppattern-load.c Loading commit data...
gimppattern.c Loading commit data...
gimppattern.h Loading commit data...
gimppickable.c Loading commit data...
gimppickable.h Loading commit data...
gimppreviewcache.c Loading commit data...
gimppreviewcache.h Loading commit data...
gimpprojection-construct.c Loading commit data...
gimpprojection-construct.h Loading commit data...
gimpprojection.c Loading commit data...
gimpprojection.h Loading commit data...
gimpscanconvert.c Loading commit data...
gimpscanconvert.h Loading commit data...
gimpselection.c Loading commit data...
gimpselection.h Loading commit data...
gimpstrokeoptions.c Loading commit data...
gimpstrokeoptions.h Loading commit data...
gimptemplate.c Loading commit data...
gimptemplate.h Loading commit data...
gimptoolinfo.c Loading commit data...
gimptoolinfo.h Loading commit data...
gimptooloptions.c Loading commit data...
gimptooloptions.h Loading commit data...
gimpundo.c Loading commit data...
gimpundo.h Loading commit data...
gimpundostack.c Loading commit data...
gimpundostack.h Loading commit data...
gimpunit.c Loading commit data...
gimpunit.h Loading commit data...
gimpviewable.c Loading commit data...
gimpviewable.h Loading commit data...
makefile.msc Loading commit data...