• Michael Natterer's avatar
    Move the new "default_new_layer_mode" APIs to the image... · e16c8a23
    Michael Natterer authored
    ...in both the core and libgimp.
    
    Images now know what the default mode for new layers is:
    
    - NORMAL for empty images
    - NORMAL for images with any non-legacy layer
    - NORMAL_LEGAVY for images with only legacy layers
    
    This changes behavior when layers are created from the UI, but *also*
    when created by plug-ins (yes there is a compat issue here):
    
    - Most (all?) single-layer file importers now create NORMAL layers
    - Screenshot, Webpage etc also create NORMAL layers
    
    Scripts that create images from scratch (logos etc) should not be
    affected because they usually have NORMAL_LEGACY hardcoded.
    
    3rd party plug-ins and scripts will also behave old-style unless they
    get ported to gimp_image_get_default_new_layer_mode().
    e16c8a23
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
actions-types.h Loading commit data...
actions.c Loading commit data...
actions.h Loading commit data...
brush-editor-actions.c Loading commit data...
brush-editor-actions.h Loading commit data...
brushes-actions.c Loading commit data...
brushes-actions.h Loading commit data...
buffers-actions.c Loading commit data...
buffers-actions.h Loading commit data...
buffers-commands.c Loading commit data...
buffers-commands.h Loading commit data...
channels-actions.c Loading commit data...
channels-actions.h Loading commit data...
channels-commands.c Loading commit data...
channels-commands.h Loading commit data...
colormap-actions.c Loading commit data...
colormap-actions.h Loading commit data...
colormap-commands.c Loading commit data...
colormap-commands.h Loading commit data...
context-actions.c Loading commit data...
context-actions.h Loading commit data...
context-commands.c Loading commit data...
context-commands.h Loading commit data...
cursor-info-actions.c Loading commit data...
cursor-info-actions.h Loading commit data...
cursor-info-commands.c Loading commit data...
cursor-info-commands.h Loading commit data...
data-commands.c Loading commit data...
data-commands.h Loading commit data...
data-editor-commands.c Loading commit data...
data-editor-commands.h Loading commit data...
debug-actions.c Loading commit data...
debug-actions.h Loading commit data...
debug-commands.c Loading commit data...
debug-commands.h Loading commit data...
dialogs-actions.c Loading commit data...
dialogs-actions.h Loading commit data...
dialogs-commands.c Loading commit data...
dialogs-commands.h Loading commit data...
dock-actions.c Loading commit data...
dock-actions.h Loading commit data...
dock-commands.c Loading commit data...
dock-commands.h Loading commit data...
dockable-actions.c Loading commit data...
dockable-actions.h Loading commit data...
dockable-commands.c Loading commit data...
dockable-commands.h Loading commit data...
documents-actions.c Loading commit data...
documents-actions.h Loading commit data...
documents-commands.c Loading commit data...
documents-commands.h Loading commit data...
drawable-actions.c Loading commit data...
drawable-actions.h Loading commit data...
drawable-commands.c Loading commit data...
drawable-commands.h Loading commit data...
dynamics-actions.c Loading commit data...
dynamics-actions.h Loading commit data...
dynamics-editor-actions.c Loading commit data...
dynamics-editor-actions.h Loading commit data...
edit-actions.c Loading commit data...
edit-actions.h Loading commit data...
edit-commands.c Loading commit data...
edit-commands.h Loading commit data...
error-console-actions.c Loading commit data...
error-console-actions.h Loading commit data...
error-console-commands.c Loading commit data...
error-console-commands.h Loading commit data...
file-actions.c Loading commit data...
file-actions.h Loading commit data...
file-commands.c Loading commit data...
file-commands.h Loading commit data...
filters-actions.c Loading commit data...
filters-actions.h Loading commit data...
filters-commands.c Loading commit data...
filters-commands.h Loading commit data...
fonts-actions.c Loading commit data...
fonts-actions.h Loading commit data...
fonts-commands.c Loading commit data...
fonts-commands.h Loading commit data...
gimpgeglprocedure.c Loading commit data...
gimpgeglprocedure.h Loading commit data...
gradient-editor-actions.c Loading commit data...
gradient-editor-actions.h Loading commit data...
gradient-editor-commands.c Loading commit data...
gradient-editor-commands.h Loading commit data...
gradients-actions.c Loading commit data...
gradients-actions.h Loading commit data...
gradients-commands.c Loading commit data...
gradients-commands.h Loading commit data...
help-actions.c Loading commit data...
help-actions.h Loading commit data...
help-commands.c Loading commit data...
help-commands.h Loading commit data...
image-actions.c Loading commit data...
image-actions.h Loading commit data...
image-commands.c Loading commit data...
image-commands.h Loading commit data...
images-actions.c Loading commit data...
images-actions.h Loading commit data...
images-commands.c Loading commit data...
images-commands.h Loading commit data...
items-actions.c Loading commit data...
items-actions.h Loading commit data...
items-commands.c Loading commit data...
items-commands.h Loading commit data...
layers-actions.c Loading commit data...
layers-actions.h Loading commit data...
layers-commands.c Loading commit data...
layers-commands.h Loading commit data...
mypaint-brushes-actions.c Loading commit data...
mypaint-brushes-actions.h Loading commit data...
palette-editor-actions.c Loading commit data...
palette-editor-actions.h Loading commit data...
palette-editor-commands.c Loading commit data...
palette-editor-commands.h Loading commit data...
palettes-actions.c Loading commit data...
palettes-actions.h Loading commit data...
palettes-commands.c Loading commit data...
palettes-commands.h Loading commit data...
patterns-actions.c Loading commit data...
patterns-actions.h Loading commit data...
plug-in-actions.c Loading commit data...
plug-in-actions.h Loading commit data...
plug-in-commands.c Loading commit data...
plug-in-commands.h Loading commit data...
procedure-commands.c Loading commit data...
procedure-commands.h Loading commit data...
quick-mask-actions.c Loading commit data...
quick-mask-actions.h Loading commit data...
quick-mask-commands.c Loading commit data...
quick-mask-commands.h Loading commit data...
sample-points-actions.c Loading commit data...
sample-points-actions.h Loading commit data...
sample-points-commands.c Loading commit data...
sample-points-commands.h Loading commit data...
select-actions.c Loading commit data...
select-actions.h Loading commit data...
select-commands.c Loading commit data...
select-commands.h Loading commit data...
templates-actions.c Loading commit data...
templates-actions.h Loading commit data...
templates-commands.c Loading commit data...
templates-commands.h Loading commit data...
text-editor-actions.c Loading commit data...
text-editor-actions.h Loading commit data...
text-editor-commands.c Loading commit data...
text-editor-commands.h Loading commit data...
text-tool-actions.c Loading commit data...
text-tool-actions.h Loading commit data...
text-tool-commands.c Loading commit data...
text-tool-commands.h Loading commit data...
tool-options-actions.c Loading commit data...
tool-options-actions.h Loading commit data...
tool-options-commands.c Loading commit data...
tool-options-commands.h Loading commit data...
tool-preset-editor-actions.c Loading commit data...
tool-preset-editor-actions.h Loading commit data...
tool-preset-editor-commands.c Loading commit data...
tool-preset-editor-commands.h Loading commit data...
tool-presets-actions.c Loading commit data...
tool-presets-actions.h Loading commit data...
tool-presets-commands.c Loading commit data...
tool-presets-commands.h Loading commit data...
tools-actions.c Loading commit data...
tools-actions.h Loading commit data...
tools-commands.c Loading commit data...
tools-commands.h Loading commit data...
vectors-actions.c Loading commit data...
vectors-actions.h Loading commit data...
vectors-commands.c Loading commit data...
vectors-commands.h Loading commit data...
view-actions.c Loading commit data...
view-actions.h Loading commit data...
view-commands.c Loading commit data...
view-commands.h Loading commit data...
window-actions.c Loading commit data...
window-actions.h Loading commit data...
window-commands.c Loading commit data...
window-commands.h Loading commit data...
windows-actions.c Loading commit data...
windows-actions.h Loading commit data...
windows-commands.c Loading commit data...
windows-commands.h Loading commit data...