gimp/app/actions
Michael Natterer e16c8a2352 Move the new "default_new_layer_mode" APIs to the image...
...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().
2017-08-21 20:18:00 +02:00
..
.gitignore Added .gitignore files generated with git svn create-ignore. 2009-01-31 11:37:44 +00:00
Makefile.am Bug 769738 - Add color tags/labels for layers/channels/paths 2016-10-29 17:02:16 +02:00
actions-types.h file-export* labels and actions renamed. 2013-11-18 09:07:32 +13:00
actions.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
actions.h Bug 367388 - Small/percentage adjustment actions for tool-value and tip-sizes 2010-08-20 21:11:16 +02:00
brush-editor-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
brush-editor-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
brushes-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
brushes-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
buffers-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
buffers-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
buffers-commands.c app: add gimp_edit_paste_as_new_image() and use it from GUI and PDB 2017-05-01 19:10:52 +02:00
buffers-commands.h app: add "paste as new layers" for the list of named buffers 2016-09-20 20:43:01 +02:00
channels-actions.c Bug 556884 - More messages marked for translation 2017-06-17 18:54:45 +03:00
channels-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
channels-commands.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
channels-commands.h Bug 769738 - Add color tags/labels for layers/channels/paths 2016-10-29 17:02:16 +02:00
colormap-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
colormap-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
colormap-commands.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
colormap-commands.h Bug 679387 - Add "select pixels with this color" from colormap 2015-08-26 01:06:34 +02:00
context-actions.c Fix typos in translatable strings 2017-06-26 11:57:43 +02:00
context-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
context-commands.c app: add gimp_layer_mode_get_context_array() 2017-02-20 23:51:32 +01:00
context-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
cursor-info-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
cursor-info-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
cursor-info-commands.c app: general review and cleanup in actions/*-commands.c 2016-09-25 22:18:37 +02:00
cursor-info-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
data-commands.c app: general review and cleanup in actions/*-commands.c 2016-09-25 22:18:37 +02:00
data-commands.h app: add much more "Show in file manager" menu items 2015-02-16 20:29:31 +01:00
data-editor-commands.c Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
data-editor-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
debug-actions.c app: bring back Debug -> Benchmark Projection 2014-06-02 21:32:00 +02:00
debug-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
debug-commands.c app: clean out tab indentations. 2016-12-21 04:05:32 +01:00
debug-commands.h app: bring back Debug -> Benchmark Projection 2014-06-02 21:32:00 +02:00
dialogs-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
dialogs-actions.h Bug 676374 - Windows->Toolbox shouldn't clear Recently Closed Docks 2012-10-09 22:54:28 +02:00
dialogs-commands.c app: make things behave more reasonable with multiple monitors 2014-05-02 03:01:23 +02:00
dialogs-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
dock-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
dock-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
dock-commands.c app: general review and cleanup in actions/*-commands.c 2016-09-25 22:18:37 +02:00
dock-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
dockable-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
dockable-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
dockable-commands.c app: general review and cleanup in actions/*-commands.c 2016-09-25 22:18:37 +02:00
dockable-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
documents-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
documents-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
documents-commands.c libgimpwidgets, *: deprecating stock IDs for good, part one... 2017-02-28 19:31:27 +01:00
documents-commands.h app: add much more "Show in file manager" menu items 2015-02-16 20:29:31 +01:00
drawable-actions.c app: allow filter actions to have hardcoded default operation settings 2017-06-03 22:08:43 +02:00
drawable-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
drawable-commands.c app: allow filter actions to have hardcoded default operation settings 2017-06-03 22:08:43 +02:00
drawable-commands.h app: allow filter actions to have hardcoded default operation settings 2017-06-03 22:08:43 +02:00
dynamics-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
dynamics-actions.h some missing files 2009-10-10 11:23:40 +03:00
dynamics-editor-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
dynamics-editor-actions.h Further changes to make dynamics editor and its menu. 2009-07-30 11:55:17 -03:00
edit-actions.c app: rename GimpTool::get_undo_desc() and ::get_redo_desc() 2017-07-04 20:43:28 +02:00
edit-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
edit-commands.c app: add gimp_edit_paste_as_new_image() and use it from GUI and PDB 2017-05-01 19:10:52 +02:00
edit-commands.h app: add "paste as new layers" for the list of named buffers 2016-09-20 20:43:01 +02:00
error-console-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
error-console-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
error-console-commands.c app: get rid of icons in dialog buttons (use labels not stock IDs) 2017-02-12 16:18:54 +01:00
error-console-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
file-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
file-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
file-commands.c app: change the "XCF compat" stuff to "XCF compression" 2017-03-23 18:03:27 +01:00
file-commands.h app: add File -> Copy Image Location 2015-02-17 13:33:10 +01:00
filters-actions.c app, menus: add gegl:spiral to the menus 2017-07-28 17:48:03 -04:00
filters-actions.h app: add infrastructure to invoke GEGL filters from a menu item 2012-05-02 17:46:16 +02:00
filters-commands.c app: allow filter actions to have hardcoded default operation settings 2017-06-03 22:08:43 +02:00
filters-commands.h app: add member "default_run_mode" to GimpGeglProcedure 2017-05-31 23:48:22 +02:00
fonts-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
fonts-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
fonts-commands.c app: general review and cleanup in actions/*-commands.c 2016-09-25 22:18:37 +02:00
fonts-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpgeglprocedure.c app: change some gimp-operation-config.[ch] parameters to GObject 2017-07-09 19:20:55 +02:00
gimpgeglprocedure.h app: allow filter actions to have hardcoded default operation settings 2017-06-03 22:08:43 +02:00
gradient-editor-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gradient-editor-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gradient-editor-commands.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gradient-editor-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gradients-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gradients-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gradients-commands.c app: get rid of icons in dialog buttons (use labels not stock IDs) 2017-02-12 16:18:54 +01:00
gradients-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
help-actions.c app, libgimp: replace GTK_STOCK_FOO by icon names 2014-05-11 22:49:22 +02:00
help-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
help-commands.c app: clean up the new action search a bit 2014-02-18 20:10:24 +01:00
help-commands.h app: clean up the new action search a bit 2014-02-18 20:10:24 +01:00
image-actions.c Clean up metadata menu stuff: capitalization, separator, indentation 2017-07-08 09:39:31 +02:00
image-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
image-commands.c Bug 735895 - Precision Conversion "Dithering" dialog 2016-11-10 12:14:40 +01:00
image-commands.h app: move the image-duplicate action next to image-new 2016-05-08 19:53:16 +02:00
images-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
images-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
images-commands.c app: fix some includes in actions/ 2015-05-21 11:30:18 +02:00
images-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
items-actions.c app: color manage the new color tag color areas 2016-10-30 18:05:57 +01:00
items-actions.h Bug 769738 - Add color tags/labels for layers/channels/paths 2016-10-29 17:02:16 +02:00
items-commands.c app: reduce code duplication in the filling/stroking code 2016-10-30 17:02:59 +01:00
items-commands.h app: reduce code duplication in the filling/stroking code 2016-10-30 17:02:59 +01:00
layers-actions.c Bug 556884 - More messages marked for translation 2017-06-17 18:54:45 +03:00
layers-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
layers-commands.c Move the new "default_new_layer_mode" APIs to the image... 2017-08-21 20:18:00 +02:00
layers-commands.h app, menus: rename confusing layers-text-tool and vectors-path-tool. 2017-05-16 00:04:24 +02:00
mypaint-brushes-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
mypaint-brushes-actions.h app: add new GimpData subclass GimpMybrush and infrastructure around it 2015-12-20 23:51:44 +01:00
palette-editor-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
palette-editor-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
palette-editor-commands.c Bug 785240 - Naming the first color in a new palette is hard 2017-07-25 22:50:15 +02:00
palette-editor-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
palettes-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
palettes-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
palettes-commands.c Bug 155164 - Merge Palettes is unimplemented 2016-10-17 09:25:51 +02:00
palettes-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
patterns-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
patterns-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
plug-in-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
plug-in-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
plug-in-commands.c app: rename procedure_commands_run_procedure() 2017-05-31 23:48:22 +02:00
plug-in-commands.h Bug 759316 - "Recently used" menu not updated with gegl filters 2016-01-04 15:07:30 +01:00
procedure-commands.c app: rename procedure_commands_run_procedure() 2017-05-31 23:48:22 +02:00
procedure-commands.h app: rename procedure_commands_run_procedure() 2017-05-31 23:48:22 +02:00
quick-mask-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
quick-mask-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
quick-mask-commands.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
quick-mask-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
sample-points-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
sample-points-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
sample-points-commands.c app: general review and cleanup in actions/*-commands.c 2016-09-25 22:18:37 +02:00
sample-points-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
select-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
select-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
select-commands.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
select-commands.h app: add menu items and a dialog for GimpItem::fill() 2016-03-15 21:07:59 +01:00
templates-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
templates-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
templates-commands.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
templates-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
text-editor-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
text-editor-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
text-editor-commands.c app: get rid of icons in dialog buttons (use labels not stock IDs) 2017-02-12 16:18:54 +01:00
text-editor-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
text-tool-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
text-tool-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
text-tool-commands.c app: get rid of icons in dialog buttons (use labels not stock IDs) 2017-02-12 16:18:54 +01:00
text-tool-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
tool-options-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
tool-options-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
tool-options-commands.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
tool-options-commands.h app: remove the old tool presets system 2011-03-23 09:27:29 +01:00
tool-preset-editor-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
tool-preset-editor-actions.h app: add missing files 2010-04-04 01:16:31 +03:00
tool-preset-editor-commands.c app: rename GimpToolInfo's "blurb" and "help" members 2017-07-04 21:58:11 +02:00
tool-preset-editor-commands.h Bug 731279 - Tool Preset Editor not working correctly 2016-10-12 23:51:24 +02:00
tool-presets-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
tool-presets-actions.h app: rename all tool-preset dialog related things to "tool presets" 2011-10-09 21:55:58 +02:00
tool-presets-commands.c app: rename GimpToolInfo's "blurb" and "help" members 2017-07-04 21:58:11 +02:00
tool-presets-commands.h Bug 731279 - Tool Preset Editor not working correctly 2016-10-12 23:51:24 +02:00
tools-actions.c app: rename GimpToolInfo's "blurb" and "help" members 2017-07-04 21:58:11 +02:00
tools-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
tools-commands.c app: rename GimpImageMapTool to GimpFilterTool 2016-05-10 13:52:24 +02:00
tools-commands.h Bug 740939 - No shortcut actions for changing tool's spacing, hardness and force 2016-03-22 23:54:40 +01:00
vectors-actions.c app: fixes for previously contributed commit. 2017-07-18 13:35:02 +02:00
vectors-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
vectors-commands.c app: fixes for previously contributed commit. 2017-07-18 13:35:02 +02:00
vectors-commands.h app: fixes for previously contributed commit. 2017-07-18 13:35:02 +02:00
view-actions.c Bug 556884 - More messages marked for translation 2017-06-17 18:54:45 +03:00
view-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
view-commands.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
view-commands.h Bug 320447 - fast switching between "color managed display" and "softproof" 2016-09-30 20:56:04 +02:00
window-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
window-actions.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
window-commands.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
window-commands.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
windows-actions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
windows-actions.h app: Change GimpDialogFactory signals to "dock-window-added/removed" 2009-09-26 13:11:42 +02:00
windows-commands.c app: general review and cleanup in actions/*-commands.c 2016-09-25 22:18:37 +02:00
windows-commands.h Bug 667169 - Single window mode: allow tabs position setting. 2013-10-11 23:16:29 +13:00