gimp/app/actions
Jehan 71d0251d2c app: do not assume procedures always have a run mode.
This is especially true since procedures are defined by plug-ins,
possibly third-party. So they may not have a first run mode parameter.
Also we don't want plug-ins to generate CRITICALs in the core
application.
Therefore before trying to get and/or set the run mode parameter, always
check that this first parameter exists, and if so, is it a GimpRunMode
enum?

Fixes similar errors:
> GIMP-CRITICAL: gimp_value_array_index: assertion 'index < value_array->n_values' failed

Moreover it also makes sense to allow plug-ins to not have such
parameter. What if you make a plug-in which always work in a single mode
and don't ever plan/want to make it work interactively for instance?

Lastly old Python 2 plug-ins didn't even have a run mode parameter (I
guess our old Python 2 wrapper was getting rid of it?).
2019-08-01 18:27:33 +02:00
..
.gitignore Added .gitignore files generated with git svn create-ignore. 2009-01-31 11:37:44 +00:00
Makefile.am app: remove all old font management code, switch to GimpFontFactory[View] 2018-06-03 01:27:06 +02:00
actions-types.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
actions.c app: streamline action_data_get_foo() functions 2019-02-25 05:10:48 -05:00
actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
brush-editor-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
brush-editor-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
brushes-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
brushes-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
buffers-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
buffers-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
buffers-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
buffers-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
channels-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
channels-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
channels-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
channels-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
colormap-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
colormap-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
colormap-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
colormap-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
context-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
context-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
context-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
context-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
cursor-info-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
cursor-info-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
cursor-info-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
cursor-info-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dashboard-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dashboard-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
dashboard-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dashboard-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
data-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
data-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
data-editor-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
data-editor-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
debug-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
debug-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
debug-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
debug-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dialogs-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dialogs-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
dialogs-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dialogs-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dock-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dock-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
dock-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dock-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dockable-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dockable-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
dockable-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dockable-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
documents-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
documents-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
documents-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
documents-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
drawable-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
drawable-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
drawable-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
drawable-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dynamics-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dynamics-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
dynamics-editor-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
dynamics-editor-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
edit-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
edit-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
edit-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
edit-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
error-console-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
error-console-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
error-console-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
error-console-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
file-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
file-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
file-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
file-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
filters-actions.c app: add gegl:mean-curvature-blur to Filters -> Blur 2019-07-19 14:41:19 +02:00
filters-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
filters-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
filters-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
fonts-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
fonts-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpgeglprocedure.c app, libgimp, libgimpbase: big plug-in API refactoring part three 2019-07-29 12:22:58 +02:00
gimpgeglprocedure.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gradient-editor-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
gradient-editor-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gradient-editor-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
gradient-editor-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
gradients-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
gradients-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gradients-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
gradients-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
help-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
help-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
help-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
help-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
image-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
image-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
image-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
image-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
images-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
images-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
images-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
images-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
items-actions.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
items-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
items-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
items-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
layers-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
layers-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
layers-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
layers-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
mypaint-brushes-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
mypaint-brushes-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
palette-editor-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
palette-editor-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
palette-editor-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
palette-editor-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
palettes-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
palettes-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
palettes-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
palettes-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
patterns-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
patterns-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
plug-in-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
plug-in-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
plug-in-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
plug-in-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
procedure-commands.c app: do not assume procedures always have a run mode. 2019-08-01 18:27:33 +02:00
procedure-commands.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
quick-mask-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
quick-mask-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
quick-mask-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
quick-mask-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
sample-points-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
sample-points-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
sample-points-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
sample-points-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
select-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
select-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
select-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
select-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
templates-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
templates-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
templates-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
templates-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
text-editor-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
text-editor-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
text-editor-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
text-editor-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
text-tool-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
text-tool-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
text-tool-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
text-tool-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tool-options-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tool-options-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
tool-options-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tool-options-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tool-preset-editor-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tool-preset-editor-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
tool-preset-editor-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tool-preset-editor-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tool-presets-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tool-presets-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
tool-presets-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tool-presets-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tools-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tools-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
tools-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
tools-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
vectors-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
vectors-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
vectors-commands.c app, libgimp, libgimpbase: big plug-in API refactoring part three 2019-07-29 12:22:58 +02:00
vectors-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
view-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
view-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
view-commands.c app: get rid of a few more GtkAction warnings, and a little cleanup 2019-07-05 12:32:36 +02:00
view-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
window-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
window-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
window-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
window-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
windows-actions.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
windows-actions.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
windows-commands.c app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00
windows-commands.h app: GtkAction -> GAction madness part two 2019-07-04 01:11:48 +02:00