gimp/app
Jehan 6905b0bbef Issue #5313: consistent "file-pat-save-internal" procedure with…
… multiple drawables as parameter.

Previous commit 7bb892f3 was "making it work" by making the API
inconsistent and also only using the first drawable, which is making the
logics meaningless.

Instead accept multiple drawables, and export only the selected drawable
(when alone) or the merged-down image containing only the selected
drawables (when many).

Note that in current implementation, this is not useful from GUI calls
because the fully merged image is always exported when run interactively
or with last vals (i.e. from the GUI) because gimp_export_image()
flattens the image. So this change would only work when called
non-interactively from other plug-ins. In such a case, multi-layer
images do no longer return an error and whatever items are selected
would change the export result.

See also #7370 for a discussion about how to handle the selected items
during export (because currently the `drawables` parameter of
GimpSaveProcedure's run function is clearly a mostly bogus parameter).
2021-10-15 00:32:10 +02:00
..
actions Remove unnecessary space at the end of the string 2021-09-28 10:42:58 +00:00
config app, libgimp: Add metadata preference for saving thumbnail by default 2021-10-12 13:20:47 -04:00
core app: replace a g_free_error() by g_clear_error(). 2021-10-12 20:13:20 +02:00
dialogs app, libgimp: Add metadata preference for saving thumbnail by default 2021-10-12 13:20:47 -04:00
display gdkquartz-cocoa-access.h is not correct yet 2021-10-04 20:06:35 +00:00
file core: minor memleak fixes 2021-05-23 20:57:44 +06:00
file-data Issue #5313: consistent "file-pat-save-internal" procedure with… 2021-10-15 00:32:10 +02:00
gegl meson: Always enable CPU extensions 2021-06-15 21:15:32 +00:00
gui Macro name change to GDK_OSX_BIGSUR 2021-10-04 20:40:30 +00:00
menus app: Add basic infratructure for a vector tool popup menu. 2020-05-25 22:13:45 +02:00
operations Issue #5267: Cage transform tool causes artifacts. 2021-08-05 16:58:55 +02:00
paint app: improve source tool options GUI. 2021-09-14 17:59:47 +02:00
pdb app, pdb: move "src-drawables" from core to option object for… 2021-09-14 17:59:47 +02:00
plug-in app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
propgui app: get rid of a wrong return-after-free report. 2021-10-01 12:51:48 +02:00
tests app: replace gimp_parasite_data*() with gimp_parasite_get_data(). 2021-01-29 23:52:03 +01:00
text Remove unnecessary linking with genmarshal from meson build rules 2021-08-13 18:01:13 +00:00
tools app: improve source tool options GUI. 2021-09-14 17:59:47 +02:00
vectors app: fix leaked queue created at init() (as reported by Massimo). 2021-08-16 12:16:52 +02:00
widgets app: fix drag'n drop of fg/bg colors under Wayland. 2021-09-26 19:06:26 +02:00
xcf xcf-load: g_free name in error cases to avoid leak 2021-10-12 20:13:20 +02:00
.gitignore Move git-version.h to the toplevel also in .gitignore 2018-01-29 20:26:18 +01:00
Makefile.am Fix reference from gimp_param_spec_duplicate to gimp_config_param_spec_duplicate 2020-01-17 11:17:03 +01:00
about.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
app.c Move initialization order 2021-08-25 20:35:02 +02:00
app.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
errors.c app: NULL log domain is not a bug. 2020-09-22 17:59:41 +02:00
errors.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimp-debug.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimp-debug.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimp-intl.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimp-log.c app: add gimp_log_{set,remove}_handler() 2020-08-02 11:01:59 +03:00
gimp-log.h app: add gimp_log_{set,remove}_handler() 2020-08-02 11:01:59 +03:00
gimp-priorities.h app: fix image-window UI-manager update while a projection is being rendered 2019-03-30 19:31:23 -04:00
gimp-update.c app: fix string array leak as reported by Massimo. 2021-08-14 12:54:13 +02:00
gimp-update.h Issue #4777: "New version available" after update. 2020-10-16 18:15:31 +02:00
gimp-version.c app: add contents of /.flatpak-info in the verbose info. 2020-07-16 12:12:37 +02:00
gimp-version.h app: store the revision number in a data file. 2020-02-13 23:59:46 +01:00
gimpcore.def Cleanup GObject signal marshallers 2020-04-01 21:20:01 +00:00
git-version.h.in app: revert `#pragma once` to macro guards in meson build. 2019-09-19 13:31:22 +02:00
language.c Issue #4871: Plug-ins not translated. 2020-04-01 18:02:42 +02:00
language.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
main.c Move initialization order 2021-08-25 20:35:02 +02:00
meson.build Issue #7327: Cannot build GIMP3 on MSYS2 using Meson. 2021-10-12 17:06:18 +02:00
sanity.c configure,meson,app: depend on GEGL-0.4.32 2021-09-05 20:34:59 +02:00
sanity.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
signals.c app: fixes string format argument types on Windows 32-bit. 2020-04-21 14:11:49 +02:00
signals.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
tests.c Return FALSE on gimp_osx_focus_window to avoid endless loop 2020-01-15 17:40:23 +01:00
tests.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
unique.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
unique.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00