gimp/plug-ins/script-fu/libscriptfu
Jehan bd287d6f89 libgimp, plug-ins: variosu gimp_*_chooser_new() should use specific type…
… for default value.

Don't use the generic GimpResource which implies that we could set any
GimpResource (which of course makes no sense).
2024-09-29 12:27:49 +02:00
..
ftx Remove autotools 2023-05-27 00:03:52 +02:00
tinyscheme libscriptfu: Fix long warning on Windows 2024-08-31 19:28:02 +00:00
README ScriptFu: build shared libgimp-scriptfu-3.0.so separate from executable script-fu 2022-06-11 08:58:30 -04:00
meson.build ScriptFu: fix #10698 and other issues with script progress 2024-04-08 11:27:13 -04:00
scheme-marshal-return.c app, libgimp*, pdb, plug-ins: remove GimpRGB support in GIMP protocol. 2024-04-19 14:34:22 +02:00
scheme-marshal-return.h ScriptFu: extract function marshall_pdb_return 2023-09-12 15:02:15 +00:00
scheme-marshal.c ScriptFu: fix #11010 unhandled return type GimpColorArray 2024-03-06 14:48:41 -05:00
scheme-marshal.h ScriptFu: fix #11010 unhandled return type GimpColorArray 2024-03-06 14:48:41 -05:00
scheme-wrapper.c ScriptFu: rename script-fu-register-regular => -procedure 2024-09-27 14:35:50 +00:00
scheme-wrapper.h ScriptFu: fix #10307 plugin call display not effective 2024-04-25 12:51:00 +00:00
script-fu-arg.c ScriptFu: fix 8463 obsolete SF-VALUE 2024-09-27 06:41:29 -04:00
script-fu-arg.h libgimp, plug-ins: make generic gimp_procedure_add_argument() private. 2024-07-06 14:44:45 +02:00
script-fu-color.c libgimpcolor, app: gimp_color_parse_(css|hex|name)() renamed with _substring() suffix. 2024-04-20 12:37:20 +02:00
script-fu-color.h plug-ins: script-fu is now GimpRGB-free. 2024-04-20 12:06:41 +02:00
script-fu-command.c ScriptFu: add methods for running regular procs 2024-09-27 14:35:50 +00:00
script-fu-command.h ScriptFu: add methods for running regular procs 2024-09-27 14:35:50 +00:00
script-fu-compat.c SF tests: revise for renamed API procedures 2024-07-13 15:00:58 -04:00
script-fu-compat.h ScriptFu: build shared libgimp-scriptfu-3.0.so separate from executable script-fu 2022-06-11 08:58:30 -04:00
script-fu-dialog.c ScriptFu: add Scheme language function script-fu-register-regular 2024-09-27 14:35:50 +00:00
script-fu-dialog.h ScriptFu: add methods for running regular procs 2024-09-27 14:35:50 +00:00
script-fu-enums.h ScriptFu: fix 8463 obsolete SF-VALUE 2024-09-27 06:41:29 -04:00
script-fu-errors.c ScriptFu: enhance error messages for range errors in calls to PDB 2024-09-20 10:58:50 +00:00
script-fu-errors.h ScriptFu: enhance error messages for range errors in calls to PDB 2024-09-20 10:58:50 +00:00
script-fu-interface.c libgimp, plug-ins: variosu gimp_*_chooser_new() should use specific type… 2024-09-29 12:27:49 +02:00
script-fu-interface.h ScriptFu: fix #10698 and other issues with script progress 2024-04-08 11:27:13 -04:00
script-fu-intl.h ScriptFu: build shared libgimp-scriptfu-3.0.so separate from executable script-fu 2022-06-11 08:58:30 -04:00
script-fu-lib.c ScriptFu: fix #10307 plugin call display not effective 2024-04-25 12:51:00 +00:00
script-fu-lib.h ScriptFu: fix #10307 plugin call display not effective 2024-04-25 12:51:00 +00:00
script-fu-proc-factory.c Issue #8744: refactor overdependence on gimpui.h 2022-10-15 15:17:08 +00:00
script-fu-proc-factory.h ScriptFu: Add script-fu-interpreter akin to other interpreters 2022-06-30 13:39:45 +00:00
script-fu-progress.c ScriptFu: fix #10698 and other issues with script progress 2024-04-08 11:27:13 -04:00
script-fu-progress.h ScriptFu: fix #10698 and other issues with script progress 2024-04-08 11:27:13 -04:00
script-fu-regex.c ScriptFu: build shared libgimp-scriptfu-3.0.so separate from executable script-fu 2022-06-11 08:58:30 -04:00
script-fu-regex.h ScriptFu: build shared libgimp-scriptfu-3.0.so separate from executable script-fu 2022-06-11 08:58:30 -04:00
script-fu-register.c ScriptFu: rename script-fu-register-regular => -procedure 2024-09-27 14:35:50 +00:00
script-fu-register.h ScriptFu: add Scheme language function script-fu-register-regular 2024-09-27 14:35:50 +00:00
script-fu-resource.c ScriptFu: fix defaults for script args of type Resource 2024-09-17 12:06:37 +00:00
script-fu-resource.h ScriptFu: fix defaults for script args of type Resource 2024-09-17 12:06:37 +00:00
script-fu-run-func.c ScriptFu: plugins: port to script-fu-register-regular 2024-09-27 14:35:50 +00:00
script-fu-run-func.h ScriptFu: add Scheme language function script-fu-register-regular 2024-09-27 14:35:50 +00:00
script-fu-script.c ScriptFu: add Scheme language function script-fu-register-regular 2024-09-27 14:35:50 +00:00
script-fu-script.h ScriptFu: add Scheme language function script-fu-register-regular 2024-09-27 14:35:50 +00:00
script-fu-scripts.c ScriptFu: rename script-fu-register-regular => -procedure 2024-09-27 14:35:50 +00:00
script-fu-scripts.h ScriptFu: add Scheme language function script-fu-register-regular 2024-09-27 14:35:50 +00:00
script-fu-types.h ScriptFu: add Scheme language function script-fu-register-regular 2024-09-27 14:35:50 +00:00
script-fu-utils.c ScriptFu: build shared libgimp-scriptfu-3.0.so separate from executable script-fu 2022-06-11 08:58:30 -04:00
script-fu-utils.h ScriptFu: build shared libgimp-scriptfu-3.0.so separate from executable script-fu 2022-06-11 08:58:30 -04:00
script-fu-version.c plug-ins: fix include. 2024-04-11 10:47:20 +02:00
script-fu-version.h Fix #10044 more natural binding of PDB return values 2024-03-09 07:21:50 -05:00
script-fu-widgets-custom.c 2.99 ScriptFu: add custom widgets to GimpProcedureDialog 2024-02-03 15:27:16 +00:00
script-fu-widgets-custom.h 2.99 ScriptFu: add custom widgets to GimpProcedureDialog 2024-02-03 15:27:16 +00:00
script-fu.def ScriptFu: fix #10307 plugin call display not effective 2024-04-25 12:51:00 +00:00

README

About libscriptfu

libscriptfu is part of GIMP.
It is not generally useful except by GIMP.

The libscriptfu library is used by plugin executables,
and the PDB procedures they create,
all part of the "ScriptFu" machinery.

The libscriptfu library is not intended for third-party developers,
only for core GIMP developers.
Headers for libscriptfu might not be installed.

This directory contains three libraries: libscriptfu, tinyscheme, and ftx.
The tinyscheme library contains a TinyScheme interpreter.
The ftx library extends the TinyScheme interpreter,
adding file functions to the Scheme language.
The libscriptfu library contains both the tinyscheme and ftx libraries.
The libscriptfu library wraps the TinyScheme interpreter,
specializing it for GIMP.
The script-fu executable uses the libscriptfu library,
to interpret Scheme scripts that GIMP users refer to as "plug-ins."

These libraries depend on other libraries, e.g. math, libgimp, glib, etc.

Coupling between the executables and the libraries should be in one direction:
source for the inner libs should not include headers from the outer executables.
This lets you more easily update the inner libraries
(which originated elsewhere and might be maintained elsewhere),
and change the outer executables
(which are subject to change by GIMP developers.)

Example (which may change):
The script-fu executable is a plugin file that implements PDB procedures:
extension-script-fu, script-fu-console, script-fu-text-console, script-fu-eval,
and script-fu-server.
Each of those PDB procedures runs as a separate process.
Each of those processes uses libscriptfu.
The main PDB procedure is extension-script-fu, which is a long-lived process.
It is a PDB procedure of PDBProcedureType EXTENSION.
It interprets the Scheme scripts that user's call "plug-ins."

Rarely two of the PDB procedure processes run concurrently.
When they do, and libscriptfu is built as a shared library,
the read-only, code portion of the library is only loaded in memory once.