• Ell's avatar
    plug-ins: in script-fu, don't query PDB procedures' info on startup · 9a2999a5
    Ell authored
    script-fu used to query the information of every PDB procedure on
    startup, in order to get the number of parameters for each
    procedure.  This was done so that nullary procedures were defined
    in such a way as to accept (and ignore) any number of arguments
    (and at least one of the scripts we ship relies on this behavior).
    However, this requires expensive back-and-forth communication with
    the main GIMP process, which notable slowed down script-fu's
    startup, and had a non-negligible impact on GIMP's startup time.
    
    Instead, avoid querying procedure information, and implement the
    special behavior for nullary procedures at call time.  We do this
    by defining, in addition to the "strict" gimp-proc-db-call
    procedure, a "permissive" -gimp-proc-db-call internal procedure,
    and using the latter to call the predefined PDB procedures.
    9a2999a5
Name
Last commit
Last update
..
common Loading commit data...
file-bmp Loading commit data...
file-exr Loading commit data...
file-faxg3 Loading commit data...
file-fits Loading commit data...
file-fli Loading commit data...
file-ico Loading commit data...
file-jpeg Loading commit data...
file-psd Loading commit data...
file-raw Loading commit data...
file-sgi Loading commit data...
file-tiff Loading commit data...
file-webp Loading commit data...
flame Loading commit data...
fractal-explorer Loading commit data...
gfig Loading commit data...
gimpressionist Loading commit data...
gradient-flare Loading commit data...
help Loading commit data...
help-browser Loading commit data...
ifs-compose Loading commit data...
imagemap Loading commit data...
lighting Loading commit data...
map-object Loading commit data...
metadata Loading commit data...
pagecurl Loading commit data...
print Loading commit data...
pygimp Loading commit data...
screenshot Loading commit data...
script-fu Loading commit data...
selection-to-path Loading commit data...
twain Loading commit data...
ui Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...