Gimp/plug-ins/script-fu/libscriptfu
2026-02-28 10:06:46 -03:00
..
ftx app, libgimpthumb, plug-ins, tools: Fix POSIX namespace warnings on MSVC 2026-02-28 10:06:46 -03:00
tinyscheme plug-ins: fix "no previous declaration" warnings. 2025-07-12 20:34:22 +02:00
meson.build
README
scheme-marshal-return.c app, libgimp*, pdb, plug-ins: rename various public API name s/float/double/. 2024-11-02 15:00:03 +01:00
scheme-marshal-return.h
scheme-marshal.c plug-ins: new named argument syntax in Script-Fu. 2025-01-20 00:01:23 +01:00
scheme-marshal.h plug-ins: new named argument syntax in Script-Fu. 2025-01-20 00:01:23 +01:00
scheme-wrapper.c plug-ins: also introspect libgimpui enum values into Script-Fu. 2026-02-25 14:49:23 +01:00
scheme-wrapper.h
script-fu-arg.c plug-ins: do not warn for invalid font names at startup. 2025-05-15 02:16:10 +02:00
script-fu-arg.h
script-fu-color.c
script-fu-color.h
script-fu-command.c extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
script-fu-command.h extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
script-fu-compat.c ScriptFu: add compatibility scripts for third party scripts 2024-10-25 13:56:36 +00:00
script-fu-compat.h
script-fu-dialog.c macos plugins: Improves dock icon flashing from #12150 2025-09-20 00:10:06 +01:00
script-fu-dialog.h extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
script-fu-enums.h
script-fu-errors.c script-fu: fix crash when incorrectly using named parameters 2025-02-05 13:33:46 -05:00
script-fu-errors.h
script-fu-interface.c ScriptFu: show and hide Dock icon for extension-script-fu 2024-12-17 15:18:50 +00:00
script-fu-interface.h
script-fu-intl.h
script-fu-lib.c script-fu: Prevent crash when script object is NULL 2025-11-04 19:35:13 +00:00
script-fu-lib.h ScriptFu: fix #12837 i18n for independent scripts 2025-06-09 13:50:12 +00:00
script-fu-proc-factory.c ScriptFu: fix #12837 i18n for independent scripts 2025-06-09 13:50:12 +00:00
script-fu-proc-factory.h ScriptFu: fix #12837 i18n for independent scripts 2025-06-09 13:50:12 +00:00
script-fu-progress.c plug-ins: improve the progress notification for Script-Fu. 2025-02-18 21:09:22 +01:00
script-fu-progress.h plug-ins: improve the progress notification for Script-Fu. 2025-02-18 21:09:22 +01:00
script-fu-regex.c
script-fu-regex.h
script-fu-register.c plug-ins: new named argument syntax in Script-Fu. 2025-01-20 00:01:23 +01:00
script-fu-register.h
script-fu-resource.c
script-fu-resource.h
script-fu-run-func.c Fix #13537: ScriptFu init gimp_ui and Gtk only in INTERACTIVE mode 2025-12-05 18:50:23 +01:00
script-fu-run-func.h extensions, libgimp, plug-ins: remove n_drawables arg from GimpImageProcedure's… 2024-10-28 22:08:45 +01:00
script-fu-script.c script-fu: Prevent crash when script object is NULL 2025-11-04 19:35:13 +00:00
script-fu-script.h ScriptFu: fix #12837 i18n for independent scripts 2025-06-09 13:50:12 +00:00
script-fu-scripts.c ScriptFu: fix #12837 i18n for independent scripts 2025-06-09 13:50:12 +00:00
script-fu-scripts.h ScriptFu: fix #12837 i18n for independent scripts 2025-06-09 13:50:12 +00:00
script-fu-types.h ScriptFu: fix #12837 i18n for independent scripts 2025-06-09 13:50:12 +00:00
script-fu-utils.c
script-fu-utils.h
script-fu-version.c
script-fu-version.h
script-fu-widgets-custom.c libgimp, plug-ins: create automatically a GimpFileChooser for GimpParamSpecFile arguments. 2025-01-26 18:13:55 +01:00
script-fu-widgets-custom.h
script-fu.def ScriptFu: fix #12837 i18n for independent scripts 2025-06-09 13:50:12 +00:00

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.