Gimp/plug-ins/script-fu/scripts
bootchk 98bf051e7a Fix #10044 more natural binding of PDB return values
Allow (script-fu-use-v3) in script, or in SF Console.

Definitive description is in script-fu/docs/using-v3-binding.md

Makes SF interpret v3 of SF dialect.
  - marshals single return value from PDB without wrapping in list
  - marshals boolean return value from PDB as #t #f instead of integers
  - marshals boolean to PDB from #t and #f or TRUE and FALSE
  - marshals void return from PDB as () instead of (#t), but that is moot.

The version of SF dialect is distinct from the version of the PDB API.

Dialect v3 is opt-in: the initial dialect of all SF tools remains v2.

Commit also allows #t,#f for defaults of SF-TOGGLE instead of TRUE, FALSE
but that is an independent enhancement (but closely related.)

Affects interpreter state of the current process.
Not an attribute per se of a plugin.
While in this state, a plugin should not call PDB procedures
which are themselves v2 script plugins,
or a few utility scripts in script-fu-util.scm,
but that is rarely needed.

Does not remove symbols TRUE and FALSE from dialect.

A script can also call (script-fu-use-v2) to revert.
That is also discouraged but useful e.g. for testing.
2024-03-09 07:21:50 -05:00
..
images Remove autotools 2023-05-27 00:03:52 +02:00
test Fix scripts calling obsolete gimp-brush-delete 2023-12-09 11:23:58 -05:00
add-bevel.scm scripts: Port add-bevel to new API 2024-01-29 13:36:37 +00:00
addborder.scm Add a 'Allow resizing' toggle to Decor > Add Border 2023-10-13 13:17:11 -04:00
blend-anim.scm plug-ins: remove "Animators" placeholder from script-fu scripts. 2023-04-12 22:07:09 +02:00
burn-in-anim.scm scripts: Fix calls to gimp-drawable-edit-gradient-fill 2024-02-14 23:52:18 +00:00
carve-it.scm Fix scripts calling obsolete gimp-brush-delete 2023-12-09 11:23:58 -05:00
chrome-it.scm Fix scripts calling obsolete gimp-brush-delete 2023-12-09 11:23:58 -05:00
circuit.scm ScriptFu: scripts use v3 API for multilayer gimp_image_get_selected_drawables etc. 2022-08-03 12:48:07 +00:00
clothify-v3.scm ScriptFu: script-fu-register-filter for GimpImageProcedure. 2022-08-02 07:45:35 +00:00
clothify.scm ScriptFu: scripts use v3 API for multilayer gimp_image_get_selected_drawables etc. 2022-08-03 12:48:07 +00:00
coffee.scm 2.99 ScriptFu: change wording of "Coffee Stain" filter 2024-02-15 15:40:20 +00:00
contactsheet.scm Fix scripts after changes to text PDB API 2023-10-13 09:38:21 -04:00
difference-clouds.scm plug-ins: more consistent ellipsis usage 2024-01-02 03:43:34 +00:00
distress-selection.scm menus, plug-ins: now place various plug-ins in the right menu sections. 2023-07-13 15:49:05 +02:00
drop-shadow.scm menus, plug-ins: now place various plug-ins in the right menu sections. 2023-07-13 15:49:05 +02:00
font-map.scm menus: move menus to submenus of tab menu 2024-03-08 17:48:38 +00:00
fuzzyborder.scm plug-ins: fix a bunch of Scheme scripts after API functions renaming. 2021-04-20 17:47:11 +02:00
gimp-online.scm scripts: GIMP Online accelerator and link fixes 2024-02-24 14:52:22 +00:00
gradient-example.scm menus: move menus to submenus of tab menu 2024-03-08 17:48:38 +00:00
guides-from-selection.scm scripts: Update Guides from Selection API 2024-01-18 11:14:31 -05:00
guides-new-percent.scm Guides scripts enabled when multiple drawables selected (fixes issue #7535) Take 2 2024-02-04 18:26:45 +00:00
guides-new.scm Guides scripts enabled when multiple drawables selected (fixes issue #7535) Take 2 2024-02-04 18:26:45 +00:00
guides-remove-all.scm scripts: Fix "Remove all Guides" script bug 2024-01-19 11:17:36 +00:00
lava.scm plug-ins: Fix lava filter for non-square selections 2023-07-30 22:24:49 +00:00
line-nova.scm scripts: Port scripts with SF-OPTION 2024-02-03 18:39:10 +00:00
meson.build Fix #10044 more natural binding of PDB return values 2024-03-09 07:21:50 -05:00
mkbrush.scm menus: move menus to submenus of tab menu 2024-03-08 17:48:38 +00:00
old-photo.scm plug-ins: fix a bunch of Scheme scripts after API functions renaming. 2021-04-20 17:47:11 +02:00
palette-export.scm menus: move menus to submenus of tab menu 2024-03-08 17:48:38 +00:00
paste-as-brush.scm ScriptFu: make default names translatable 2023-12-17 03:02:25 +00:00
paste-as-pattern.scm ScriptFu: make default names translatable 2023-12-17 03:02:25 +00:00
perspective-shadow.scm menus, plug-ins: now place various plug-ins in the right menu sections. 2023-07-13 15:49:05 +02:00
plug-in-compat.init ScriptFu: script-fu-register-filter for GimpImageProcedure. 2022-08-02 07:45:35 +00:00
reverse-layers.scm scripts: Port scripts with SF-OPTION 2024-02-03 18:39:10 +00:00
ripply-anim.scm scripts: Port scripts with SF-OPTION 2024-02-03 18:39:10 +00:00
round-corners.scm ScriptFu: scripts use v3 API for multilayer gimp_image_get_selected_drawables etc. 2022-08-03 12:48:07 +00:00
script-fu-compat.init
script-fu-set-cmap.scm Fix #9874 SF plugin script-fu-set-cmap.scm 2023-08-20 20:44:04 +00:00
script-fu-util-setpt.scm
script-fu-util.scm ScriptFu: scripts use v3 API for multilayer gimp_image_get_selected_drawables etc. 2022-08-03 12:48:07 +00:00
script-fu.init
selection-round.scm menus, plug-ins: now place various plug-ins in the right menu sections. 2023-07-13 15:49:05 +02:00
slide.scm Fix scripts after changes to text PDB API 2023-10-13 09:38:21 -04:00
spinning-globe.scm scripts: Partially fix spinning-globe.scm 2024-01-11 03:20:04 +00:00
test-sphere-v3.scm Fix #10044 more natural binding of PDB return values 2024-03-09 07:21:50 -05:00
test-sphere.scm 2.99 ScriptFu: refactor, extract methods of color and resource 2024-03-06 08:07:11 -05:00
test-v3.scm Fix #10044 more natural binding of PDB return values 2024-03-09 07:21:50 -05:00
tileblur.scm scripts: Port scripts with SF-OPTION 2024-02-03 18:39:10 +00:00
ts-helloworld.scm Fix scripts after changes to text PDB API 2023-10-13 09:38:21 -04:00
unsharp-mask.scm Fix #6026, SF scripts use v3 API for multilayer gimp-edit-copy, -cut, -paste. 2022-05-06 20:44:33 +00:00
waves-anim.scm plug-ins: remove "Animators" placeholder from script-fu scripts. 2023-04-12 22:07:09 +02:00
weave.scm scripts: Fix calls to gimp-drawable-edit-gradient-fill 2024-02-14 23:52:18 +00:00
xach-effect.scm menus, plug-ins: now place various plug-ins in the right menu sections. 2023-07-13 15:49:05 +02:00