The TinyScheme component of Script-Fu is now in sync with the 1.39
release of the official version of TinyScheme from May 18, 2008.
Previous commit fixed bug #553377 and not #553337.
Fix for nasty gc bug. This change shifts the burden of protecting newly
allocated cells in foreign functions from the foreign functions to the
TinyScheme interpreter.
2007/12/22 10:48) which makes string output ports conform to SRFI-6.
NOTE: SRFI-6 compliance is incomplete in official version of TinyScheme.
(See SourceForge bug #2832150)
Also included two minor additions/corrections to old ChangeLog files.
Add a palette export script which allows exporting palettes to .css,
.php, .py, .txt and .java by adding a Export to menu item in the
palette context menu in the Palettes dockable.
2009-03-22 Sven Neumann <sven@gimp.org>
* app/batch.c (batch_run_cmd): added a newline to the output in
the error case.
* plug-ins/script-fu/script-fu-eval.c (script_fu_eval_run):
instead of disabling all output in batch mode, use the usual
routine for error handling and pass the error string along with
svn path=/trunk/; revision=28200
2009-01-17 Michael Natterer <mitch@gimp.org>
* all files with a GPL header and all COPYING files:
Change licence to GPLv3 (and to LGPLv3 for libgimp).
Cleaned up some copyright headers and regenerated the parsers in
the ImageMap plugin.
svn path=/trunk/; revision=27913
2008-11-19 Sven Neumann <sven@gimp.org>
Bug 558454 – Plugin Map Color Range disapears from GIMP
* plug-ins/script-fu/scripts/Makefile.am
* plug-ins/script-fu/scripts/plug-in-compat.init: new file
providing compatibility with plug-ins from older GIMP
versions. Contains a reimplementation of plug-in-color-map based
on ideas and code from Eric Lamarque.
* plug-ins/script-fu/scheme-wrapper.c (tinyscheme_init): load
the
plug-in-compat.init file.
svn path=/trunk/; revision=27683
selection
* plug-ins/script-fu/scripts/add-bevel.scm (script-fu-add-bevel):
Applied modified patch from Barak Itkin that when there is no
selection makes the bevel be performed on the whole layer instead
of the whole image (which was broken in the first place). It also
fixes some bugs with setting the selection when there is no
initial selection.
svn path=/trunk/; revision=27070
* plug-ins/script-fu/scripts/add-bevel.scm (script-fu-add-bevel):
Rename 'select' to 'selection' since that is what it holds.
svn path=/trunk/; revision=27069
2008-09-19 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-types.h (struct SFScript): rename
"menu_path" to "menu_label". Having a full path here is just
compat cruft.
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-script.[ch]: changed accordingly.
svn path=/trunk/; revision=27016
2008-09-19 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c: also apply the menu
mapping on scripts that use script-fu-menu-register to add
themselves to the menus.
svn path=/trunk/; revision=27015
2008-09-19 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c: move variables to local
scopes, fix some whitespace and indentation, some misc. cleanup,
remove comments about array calling conventions that had lots of
copy and paste errors.
svn path=/trunk/; revision=27014
2008-09-19 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-script.[ch]: add new functions
script_fu_script_get_title() and script_fu_script_reset().
* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
don't set all default values *and* values when parsing the script,
just set the defaults and call script_fu_script_reset() afterwards.
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
use the new script_fu_script_get_title().
(script_fu_reset): call script_fu_script_reset() and then update
the UI from the current values, instead of doing slightly
different things for each arg type.
svn path=/trunk/; revision=27009
2008-09-18 Michael Natterer <mitch@gimp.org>
Bug 552785 – Script-fu run errors do not show in UI
* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
fix the code that passes the error message back via the pipe.
svn path=/trunk/; revision=26997
2008-09-18 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-script.[ch]: add new functions
script_fu_script_collect_standard_args(),
script_fu_script_get_command() and
script_fu_script_get_command_from_params().
* plug-ins/script-fu/script-fu-scripts.c: remove the resp. code
here and use above functions instead.
* plug-ins/script-fu/script-fu-interface.c (script_fu_ok): changed
loop over args to only copy all widget content into the script's
values and then call script_fu_script_get_command().
svn path=/trunk/; revision=26993
2008-09-17 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-types.h: add struct SFArg which
keeps all a script argument's type, label, value and default
value.
(struct SFScript): replace separate arrays of type, label etc. by
one array of SFArg. Remove array of GimpParamDef because they are
only needed while registering the temp proc.
* plug-ins/script-fu/Makefile.am
* plug-ins/script-fu/script-fu-script.[ch]: new files implementing
script_fu_script_new(), script_fu_script_free(),
script_fu_script_register_proc() and
script_fu_script_unregister_proc().
* plug-ins/script-fu/script-fu-scripts.c: remove lots of code now
implemented in script-fu-script.c. Changed stuff according to the
introduction of SFArg. Moved variables to local scopes. Most
changes are in script_fu_add_script(), almost every line changed
and it's hopefully more readable now. Lots of cleanup all over the
place.
* plug-ins/script-fu/script-fu-interface.c: changed stuff
according to the introduction of SFArg
svn path=/trunk/; revision=26978
2008-09-17 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_ok): set
the
PDB error handler to GIMP_PDB_ERROR_HANDLER_PLUGIN while
interpreting the script.
svn path=/trunk/; revision=26967
2008-09-14 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c (mk_vector), (opexe_2):
Applied changes from official version of TinyScheme which adds
tests for when mk_vector is out of memory. Can't rely on sc->sink.
svn path=/trunk/; revision=26943
2008-09-12 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c
* plug-ins/script-fu/tinyscheme/scheme.h: Applied changes froh
official version of TinyScheme which expose more of the internals.
Part of making it more suitable for Scheme->C->Scheme calling.
See SourceForge bug #1599947.
svn path=/trunk/; revision=26937
2008-09-11 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/CHANGES: Updating to match version
in official version of TinyScheme.
* plug-ins/script-fu/tinyscheme/scheme.c: Applied changes from
official version of TinyScheme which adds entry point for nested
calling. Part of making it more suitable for Scheme->C->Scheme
calling. See SourceForge bug #1599945. Updated usage information
using text from Manual.txt.
svn path=/trunk/; revision=26930
2008-09-11 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scheme-wrapper.[ch]: reordered and renamed
functions to be consistent. Got rid of file-global "register_scripts"
variable. Pass more "scheme *sc" pointers around to reduce usage
or the global variable.
* plug-ins/script-fu/script-fu-eval.c
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-server.c
* plug-ins/script-fu/script-fu.c: changed accordingly.
svn path=/trunk/; revision=26928
2008-09-11 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_load_script):
convert the filename to UTF-8 before displaying it in the error
message.
svn path=/trunk/; revision=26923
2008-09-11 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_run_command):
use g_set_error() instead of g_set_error_literal() which is only
available in glib 2.18.
svn path=/trunk/; revision=26922
2008-09-11 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/Makefile.am
* plug-ins/script-fu/re/*: removed....
* plug-ins/script-fu/script-fu-regex.[ch]: and replaced with a
few-liner using GRegex. Seems to have some issues that need to be
sorted out.
* plug-ins/script-fu/scheme-wrapper.c: changed accordingly.
svn path=/trunk/; revision=26921
2008-09-10 Michael Natterer <mitch@gimp.org>
Change Script-Fu error handling to properly use the new error
message passing in PDB return values:
* plug-ins/script-fu/script-fu-scripts.[ch]: remove function
script_fu_error_msg().
* plug-ins/script-fu/script-fu-interface.c (script_fu_ok): output
errors of interactive script-fu dialogs directly here with
g_message().
* plug-ins/script-fu/script-fu-scripts.c (script_fu_run_command):
add GError and return the error message instead of displaying it.
(script_fu_load_script): show the returned error here (and make it
more specific than the former script_fu_error_msg() did).
(script_fu_script_proc): return error messages via the procedure's
return values.
* plug-ins/script-fu/scheme-wrapper.c
(script_fu_marshal_procedure_call): if an error message was
returned from the PDB call, pass it to foreign_error() so it ends
up where it should (consle, text console or error string).
* plug-ins/script-fu/script-fu-console.c
* plug-ins/script-fu/script-fu-text-console.c: set the error
handler to PLUGIN while interpreting scheme, we handle errors
from calling back into the PDB ourselves now.
svn path=/trunk/; revision=26920
2008-09-10 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme.h: fix prototype (foo() is
not a prototype, use foo(void) instead).
svn path=/trunk/; revision=26919
2008-09-09 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c
(script_fu_marshal_procedure_call): remove debug arrays to map the
values of registered enums to strings. Look up the strings
registered with the type system instead.
svn path=/trunk/; revision=26911
2008-09-09 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c: fix formatting of prototypes.
(script_fu_marshal_procedure_call): move variables to local scopes
where possible. Make this function a bit readable by indenting the
debug code in DEBUG_MARSHAL normally.
svn path=/trunk/; revision=26910
2008-08-23 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/coolmetal-logo.scm: applied patch
from LightningIsMyName. Changes the script to not break if
called
on a floating selection (bug #327681).
svn path=/trunk/; revision=26728
2008-08-21 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-interface.[ch]: changed to
actually
return a meaningful return status when a script-fu procedure is
run.
svn path=/trunk/; revision=26702
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/glowing-logo.scm
* plug-ins/script-fu/scripts/neon-logo.scm: changed the "Alpha
to
Logo" parts of these scripts so that the user can specify the
effect size directly instead of as some multiple of the size.
svn path=/trunk/; revision=26623
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/starscape-logo.scm: dropped the
"Alpha to Logo" part of the "Starscape logo script. It had a
similar problem as the Starburst script (see bug #486779).
svn path=/trunk/; revision=26622
2008-08-13 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/plug-ins/python-console.py: instead of calling
gimp-displays-flush twice a second, call it after each command
that is committed. This is similar to what the Script-Fu console
does.
* plug-ins/script-fu/script-fu-console.c: formatting.
svn path=/trunk/; revision=26543
2008-08-07 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/frosty-logo.scm: applied slightly
modified version of a patch provided by LightningIsMyName.
Catches some cases where the script would fail (bug #472316).
svn path=/trunk/; revision=26433
2008-07-14 Sven Neumann <sven@gimp.org>
Add new PDB data type PDB_COLORARRAY for using arrays of GimpRGB
colors as argument or return value.
* libgimpbase/gimpbaseenums.[ch] (enum GimpPDBArgType): replaced
the unused GIMP_PDB_BOUNDARY with GIMP_PDB_COLORARRAY.
* libgimpbase/gimpprotocol.h: increased GIMP_PROTOCOL_VERSION.
(struct _GPParam): added d_colorarray entry to the union.
* libgimpbase/gimpprotocol.c
* libgimp/gimp.[ch]
* app/pdb/gimp-pdb-compat.c
* app/plug-in/plug-in-params.c
* app/plug-in/gimpplugin-message.c
* tools/pdbgen/pdb.pl: deal with the new data type.
* tools/pdbgen/enums.pl: regenerated.
* plug-ins/pygimp/pygimp-pdb.c
* plug-ins/script-fu/scheme-wrapper.c: handle the new data type.
svn path=/trunk/; revision=26189
2008-05-23 Sven Neumann <sven@gimp.org>
* autogen.sh (GLIB_REQUIRED_VERSION): require glib-gettextize 2.16.
* libgimp/libgimp-intl.h
* plug-ins/pygimp/pygimp-intl.h: synced with gi18n-lib.h from glib
2.16. This adds support for the C_() macro.
* plug-ins/script-fu/script-fu-intl.h: just include gi18n.h instead
of duplicating things from this header.
svn path=/trunk/; revision=25775
2008-05-22 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Added extra check to stop
"(let x 5)" syntax from causing seg fault in Linux. See bug #508020.
Removed some excess whitespace.
svn path=/trunk/; revision=25770
2008-05-18 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Reverting previous change.
I figured it would break something. It breaks the 'while' macro by
preventing use of a named let.
svn path=/trunk/; revision=25706
2008-05-16 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Added extra checks to stop
bad syntax in LET from causing a segmentation fault in Linux.
See bug #508020.
svn path=/trunk/; revision=25677
2008-05-06 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/3d-outline.scm: applied patch from
Ulf-D. Ehlert. Makes the vacated region, which is created when
specifying a non-zero shadow offset, to be filled with the
background color (white) instead of transparency (bug #530216).
svn path=/trunk/; revision=25575
2008-04-10 Michael Natterer <mitch@gimp.org>
* plug-ins/pygimp/plug-ins/python-console.py
* plug-ins/script-fu/scripts/ts-helloworld.scm: fix new menu paths.
svn path=/trunk/; revision=25459
2008-04-09 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/ts-helloworld.scm
* plug-ins/script-fu/scripts/test-sphere.scm
* plug-ins/script-fu/scripts/contactsheet.scm: register in new
menu locations.
svn path=/trunk/; revision=25447
2008-04-09 Sven Neumann <sven@gimp.org>
* plug-ins/win-snap/winsnap.c
* plug-ins/common/screenshot.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/scripts/*.scm: register in new menu
locations.
svn path=/trunk/; revision=25442
2008-04-09 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/Makefile.am
* plug-ins/script-fu/scripts/sphere.scm: removed Sphere
script. It's a nice simple example but it has no real value.
* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
removed "<Toolbox>/Xtns/Misc".
svn path=/trunk/; revision=25424
2008-04-09 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
marked a message for translation. Declare 'val' as const and use
an extra variable where a not const variable is needed.
svn path=/trunk/; revision=25423
2008-04-09 Sven Neumann <sven@gimp.org>
* menus/image-menu.xml.in: moved Languages to the bottom. Removed
separator from the Filters list as there was really no rule as to
what goes above and what goes below.
* app/actions/plug-in-actions.c: added Filters->Decor submenu.
* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
removed registration of redundant menu branches.
svn path=/trunk/; revision=25422
2008-03-28 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/guides-from-selection.scm
* plug-ins/script-fu/scripts/guides-new-percent.scm
* plug-ins/script-fu/scripts/guides-new.scm
* plug-ins/script-fu/scripts/guides-remove-all.scm: use "*" as
image type (not "") so the menu item is disabled when there is no
image.
svn path=/trunk/; revision=25289
2008-03-28 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/line-nova.scm (script-fu-line-nova):
move the call to gimp-selection-save inside the undo group.
(script-fu-register): use "*" as image type (not "") so the menu
item is disabled when there is no image.
svn path=/trunk/; revision=25276
2008-03-21 Michael Natterer <mitch@gimp.org>
Remove the toolbox menu:
* configure.in: remove --enable-toolbox-menu option.
* menus/Makefile.am
* menus/toolbox-menu.xml.in: removed.
* menus/image-menu.xml.in: add the debug menu here.
* menus/menus.xsl: remove transformations depending on whether
there is a toolbox menu or not.
* app/menus/Makefile.am
* app/menus/toolbox-menu.[ch]: removed.
* app/menus/menus.c: remove the toolbox menu but keep the
<Toolbox> UI manager around so we can configure its actions
separate from normal docks.
* app/actions/image-actions.c (image_actions): remove the action
for the toolbox menubar.
* app/widgets/gimptoolbox.c: remove all menu code.
* app/plug-in/plug-in-menu-path.c: map plug-in registered toolbox
menu items to their new location in the image menu
unconditionally.
* plug-ins/common/screenshot.c
* plug-ins/common/uniteditor.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/scripts/web-browser.scm
* plug-ins/twain/twain.c
* plug-ins/winsnap/winsnap.c: remove menu registrations under
<Toolbox>/File and change <Toolbox>/Help to <Image>/Help. Leave
<Toolbox>/Xtns untouched until its final location and name are
decided.
svn path=/trunk/; revision=25156
2008-02-26 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/frosty-logo.scm: Commited slightly
modified patch from LightningIsMyName. Fixes bug #472316. The
appearance of the sparkle layer could be better.
svn path=/trunk/; revision=24980
2008-02-19 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/glossy.scm: actually use the "Default
Bumpmap Settings" parameter. Problem spotted by Ulf-D. Ehlert.
svn path=/trunk/; revision=24921
2008-02-19 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/glossy.scm: applied patch from
Ulf-D. Ehlert that fixes a bug in the Glossy script when used with
a pattern instead of a gradient blend (bug #517285).
svn path=/trunk/; revision=24919
2008-01-15 Sven Neumann <sven@gimp.org>
* plug-ins/common/bumpmap.c
* plug-ins/script-fu/scripts/swirltile.scm: applied patch from
Ulf-D. Ehlert that catches a potential division by zero in the
Bumpmap plug-in and adjusts the range of the Depth parameter in
the Swirl-Tile script (bug #509608).
svn path=/trunk/; revision=24616
2008-01-14 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/script-fu-compat.init: Fixed definition
of 'prog1' due to recent fixes enforcing R5RS syntax for 'let'.
svn path=/trunk/; revision=24612
2008-01-08 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/ftx/ftx.c (foreign_filetype): Test for symlink
before testing for other file types. Spotted by David Martin.
svn path=/trunk/; revision=24568
2007-12-30 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/chip-away.scm: applied another
patch
from Ulf-D. Ehlert for the parameter range (bug #506110).
svn path=/trunk/; revision=24475
2007-12-28 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/chip-away.scm: applied patch from
Ulf-D. Ehlert that fixes the range of the "Chip amount"
parameter
(bug #506110).
svn path=/trunk/; revision=24448
2007-12-17 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Added extra checks to stop
bad syntax in LET*, LET, and LETREC from causing a segmentation fault
in Linux. See SourceForge bug #1817986.
svn path=/trunk/; revision=24400
2007-12-14 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c (eqv): Only return true
when numbers are of equal value AND of the same type (ie. both
exact or inexact). R5RS compliance fix.
svn path=/trunk/; revision=24366
2007-12-11 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c (get_consecutive_cells):
Fix to prevent reporting out of memory when there should be plenty
of cells still available. See SourceForge bug #1794369.
svn path=/trunk/; revision=24328
2007-12-11 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Don't abort the top-level
s-exp when loading a file. See SourceForge bug #1589711.
svn path=/trunk/; revision=24327
2007-12-11 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Applied changes from
official version of TinyScheme which fix is_integer(). See
SourceForge bug #1593861.
svn path=/trunk/; revision=24325
2007-11-20 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/t-o-p-logo.scm: applied patch from
Ulf-D. Ehlert that fixes the background color used in the Particle
Trace filter (bug #498282).
svn path=/trunk/; revision=24200
2007-11-11 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/script-fu-compat.init: Return a list
from cons-array when type is 'string.
svn path=/trunk/; revision=24126
2007-10-25 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h
* plug-ins/script-fu/tinyscheme/scheme.c:
Allow a maximum of two calls to backchar() needed by the "case '.'"
part of the switch statement in token(). Fixes bug #490198.
svn path=/trunk/; revision=23952
2007-10-22 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Allow one to three
digits in octal coded characters.
svn path=/trunk/; revision=23908
2007-10-21 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scheme-wrapper.c: Reverted changes in handling
of string arrays to stay backwards compatible (see bug #317634).
* plug-ins/script-fu/scripts/font-map.scm: Updated based on change
in handling of string arrays listed above.
svn path=/trunk/; revision=23897
2007-10-12 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Fix off by one error.
Stop on third digit after backslash when reading octal character.
Original cause of bug #485538.
svn path=/trunk/; revision=23806
2007-10-11 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.[ch]: moved the new string
escape function here and also it for the non-interactive case.
* plug-ins/script-fu/script-fu-interface.c: changed accordingly.
svn path=/trunk/; revision=23802
2007-10-11 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c: don't use
g_strescape() as it mangles UTF-8 strings. Introduced our own
escape function instead. Fixes bug #485538.
svn path=/trunk/; revision=23801
2007-10-11 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
use G_DIR_SEPARATOR instead of hardcoding the '\' under Windows.
svn path=/trunk/; revision=23800
2007-10-03 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/perspective-shadow.scm: applied
patch
from Ulf-D. Ehlert that fixes resizing in the Perspective Shadow
script (bug #482743).
svn path=/trunk/; revision=23718
2007-10-02 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/guides-new.scm: Use 'list' to create
argument list for SF-ADJUSTMENT since it uses a named constant.
Fixes bug #480799.
svn path=/trunk/; revision=23714
2007-10-01 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/burn-in-anim.scm: use RUN-NONINTERACTIVE
for the run-mode where 0 was used instead.
svn path=/trunk/; revision=23712
2007-10-01 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/*.scm: use RUN-NONINTERACTIVE for
the
run-mode where 1 was used instead.
svn path=/trunk/; revision=23707
2007-09-28 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.c: allocate the
ConsoleInterface struct on the stack.
svn path=/trunk/; revision=23685
2007-09-28 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/addborder.scm: Made all the functions
defined in the file local instead of global to avoid possible
conflicts with other scripts.
svn path=/trunk/; revision=23684
2007-09-27 Kevin Cozens <kcozens@cvs.gnome.org>
Create SF-RUN-MODE constant for use in Script-Fu. Fixes bug #479893.
* plug-ins/script-fu/scheme-wrapper.c
* plug-ins/script-fu/scheme-wrapper.h: Added set_run_mode_constant()
which creates a new constant called SF-RUN-MODE. This constant can
be used by Script-Fu scripts when calling a plug-in that needs to
know the current run mode.
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-console.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/script-fu-server.c: Added calls to create the
new SF-RUN-MODE constant.
* plug-ins/script-fu/scripts/difference-clouds.scm: Pass SF-RUN-MODE
to the solid noise plug-in instead of always using RUN-INTERACTIVE.
svn path=/trunk/; revision=23674
2007-09-27 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/add-bevel.scm: fixed GimpImageType
parameter passed to gimp-layer-new. Do not register the script for
grayscale images, it doesn't handle them properly.
svn path=/trunk/; revision=23667
2007-09-25 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/fuzzyborder.scm: Applied patch from
Ulf-D. Ehlert which pushes and pops a context to prevent
changing background colour in the UI. Fixes bug #479974.
svn path=/trunk/; revision=23648
2007-09-24 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/drop-shadow.scm: applied patch from
Ulf-D. Ehlert which fixes a bug which may shrink the image instead
of enlarging it (bug #478385).
svn path=/trunk/; revision=23636
2007-09-21 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c (basic_inchar): Applied
modified patch from Simon Budig. Any bytes read from a file which
are not valid UTF-8 characters will be ignored. Fixes bug #476356.
svn path=/trunk/; revision=23613
2007-09-13 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/lava.scm: Removed 'from-selection'.
Reset active layer after calling gimp-selection-save. Modified
version of patch from Jakub Friedl which fixes bug #476672. Don't
add alpha if drawable already has alpha. Minor format changes.
svn path=/trunk/; revision=23534
2007-09-07 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
applied patch from Kevin Cozens which implements RUN-WITH-LAST-VALS.
On top of that, factored out script_fu_collect_standard_args()
which collects DISPLAY,IMAGE,[DRAWABLE|LAYER|...] from the passed
parameters according to the new calling conventions (the old code
for INTERACTIVE was broken). Also cleaned up the function a bit.
Fixes bug #472493.
svn path=/trunk/; revision=23474
2007-09-06 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/contactsheet.scm: Preserve aspect ratio
of original images. Center thumbnails in space above filename label.
Added new sheet size of 1600x1200 pixels. Changed a dialog label.
svn path=/trunk/; revision=23470
2007-09-06 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h: quick fix:
raise the cell segment size as well as the number of possible
segments to reduce the likelihood of a failing (make-vector)
(yes, this is a hack and no proper fix)
svn path=/trunk/; revision=23465
2007-08-31 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme.[ch]
* plug-ins/script-fu/tinyscheme/scheme-private.h: make it possible
for foreign functions to return an error.
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/scheme-wrapper.c: Make use of this.
Fixes bug #472026.
svn path=/trunk/; revision=23432
2007-08-30 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c
* plug-ins/script-fu/tinyscheme/scheme.[ch]
* plug-ins/script-fu/scheme-wrapper.h: Shuffeled some
code around to have scheme.c not include scheme-wrapper.h.
svn path=/trunk/; revision=23411
2007-08-29 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Applied the change suggested
in SourceForge bug #1593861 that fixes the case where integer? thinks
non-numbers are sometimes integers.
svn path=/trunk/; revision=23402
2007-08-30 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme.[ch]
* plug-ins/script-fu/tinyscheme/scheme-private.h: small changes
to tinyscheme - mostly removing workarounds for message output.
* plug-ins/script-fu/scheme-wrapper.[ch]: try to channel the
output through a central function, have various output functions
to handle the messages. Remove some hacks.
* plug-ins/script-fu/script-fu-text-console.c
* plug-ins/script-fu/script-fu-scripts.[ch]
* plug-ins/script-fu/script-fu-interface.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/script-fu-server.c
* plug-ins/script-fu/script-fu-console.[ch]: use the new
infrastructure. Remove more hacks.
* plug-ins/script-fu/servertest.py: small script to test the
communication with the script-fu-server.
svn path=/trunk/; revision=23400
2007-08-13 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scheme-wrapper.c (ts_output_string): Use the
string length in bytes passed in instead of recalculating it.
* plug-ins/script-fu/tinyscheme/scheme.c: Added comment.
svn path=/trunk/; revision=23239
2007-08-11 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h: removed now
unneeded _skey member from union. Part of the revert of bug
#374854.
svn path=/trunk/; revision=23209
2007-08-11 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Commited patch from
Sven Neumann that reverts the optimization patch which stored
collation keys. See bug #374854.
svn path=/trunk/; revision=23207
2007-08-07 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_menu_map):
added more mappings from old to new Script-Fu menu locations.
svn path=/trunk/; revision=23128
2007-08-03 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_menu_map):
added a map from old to new Script-Fu submenus (to be extended).
svn path=/trunk/; revision=23111
2007-07-26 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/Makefile.am: moved contactsheet.scm
to test_SCRIPTS. We should look at it again after the 2.4 release.
svn path=/trunk/; revision=23010
2007-07-10 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/3dTruchet.scm: TinyScheme doesn't like
inexact numbers to start with a decimal point. Added leading '0' to
two instances of '.2'.
svn path=/trunk/; revision=22908
2007-06-20 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c (init_constants): hardcode
the built-in units. Dynamically constructing the constants using
gimp_unit_get_singular() doesn't work because it returns a
translated string.
svn path=/trunk/; revision=22804
2007-06-20 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.c (script_fu_cc_key_function):
applied patch from Eric Lamarque with some minor modifications.
Fixes the remaining aspect of bug #438997.
svn path=/trunk/; revision=22803
2007-06-08 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.h: Applied patch from Daniel
Richard G. that defines SCHEME_EXPORT as extern for non-Windows
systems. Fixes bug #444964.
svn path=/trunk/; revision=22747
2007-06-03 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/round-corners.scm: Removed spurious
call to 'gimp-image-undo-disable'. From a patch by Saul Goode.
svn path=/trunk/; revision=22697
2007-05-25 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/script-fu-text-console.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/scheme-wrapper.c
* plug-ins/script-fu/scheme-wrapper.h: Applied slightly modified
patch from Eric Lamarque that makes use of TinyScheme's interactive
mode for the text console in Script-Fu. Fixes bug #440674.
svn path=/trunk/; revision=22622
2007-05-25 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/Makefile.am: Missed commit of this file.
* plug-ins/script-fu/scheme-wrapper.h:
* plug-ins/script-fu/scheme-wrapper.c (ts_output_string): Updated
to expect a 'const char *' and an int but no file pointer.
* plug-ins/script-fu/tinyscheme/scheme.c:
* plug-ins/script-fu/tinyscheme/scheme.h: Changes due to use of
'const char *' for ts_output_routine.
svn path=/trunk/; revision=22620
2007-05-25 Kevin Cozens <kcozens@cvs.gnome.org>
This is the first part of fixing bugs #438997 and #440674.
* plug-ins/script-fu/scheme-wrapper.c: Removed ts_output_routine
declaration from here...
* plug-ins/script-fu/tinyscheme/scheme.h: and added it here.
* plug-ins/script-fu/tinyscheme/scheme.c (putchars): Updated to be
smarter about where it's output needs to be sent.
svn path=/trunk/; revision=22619
2007-05-17 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Applied patch from
Eric Lamarque that optimizes backchar() use. See bug #374854.
svn path=/trunk/; revision=22528
2007-05-16 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpthumbbox.c
* libgimp/gimpprogressbar.c
* plug-ins/script-fu/script-fu-interface.c: use Gtk functions to
manually iterate the main loop because they release the Gdk lock
correctly around calling the GLib main loop functions.
svn path=/trunk/; revision=22516
2007-05-16 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c
(script_fu_interface):
readded (better) code to deal with full menu paths.
svn path=/trunk/; revision=22515
2007-05-16 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
removed code that used to deal with full menu paths. All our
scripts use script-fu-menu-register now.
svn path=/trunk/; revision=22512
2007-05-15 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/contactsheet.scm: Use 'img' and not
'new-img' in make-thumbnail-size routine. Moved menu entry from
Xtns/Utils to Xtns/Utilities. See bug #132532.
svn path=/trunk/; revision=22497
2007-05-15 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Allow
any number type in a vector to be passed in PDB call as an INT*ARRAY.
Updated error messages accordingly. Fixes bug #435640.
svn path=/trunk/; revision=22495
2007-05-09 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.c
(script_fu_browse_response):
focus the console entry, set the cursor position to the first
parameter and present the console window.
svn path=/trunk/; revision=22460
2007-05-05 Simon Budig <simon@gimp.org>
* tools/pdbgen/pdb/edit.pdb: make gimp-edit-paste-as-new not fail
at an empty clipboard, but return -1 as image id.
* app/pdb/edit_cmds.c
* libgimp/gimpedit_pdb.c: regenerated.
* plug-ins/script-fu/scripts/paste-as-brush.scm
* plug-ins/script-fu/scripts/paste-as-pattern.scm: Changed
accordingly, fixes bug #357059.
* modules/controller_linux_input.c: changed some axis names to
make more sense.
svn path=/trunk/; revision=22429
2007-05-04 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/contactsheet.scm: added missing
ellipsis to menu label and fixed default fonts.
svn path=/trunk/; revision=22415
2007-05-04 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/script-fu-set-cmap.scm: added missing
ellipsis to menu label and corrected menu location.
svn path=/trunk/; revision=22414
2007-05-02 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c (ts_get_error_msg): applied
patch from Eric Lamarque that fixes Script-Fu server output
(bug #431623).
svn path=/trunk/; revision=22378
2007-04-20 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.c: enable word-wrapping
in
the Script-Fu console.
svn path=/trunk/; revision=22291
2007-04-17 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/neon-logo.scm: applied slightly
modified patch from Aurimas Ju?ka which fixes bug #167260 by not
allowing the selection to shrink too much.
svn path=/trunk/; revision=22263
2007-04-12 Sven Neumann <sven@gimp.org>
* app/actions/plug-in-commands.c: if a plug-in or script
registered with a DISPLAY argument after the run-mode argument,
then pass the ID of the active display to the script, optionally
followed by image and drawable IDs.
* plug-ins/script-fu/scheme-wrapper.c
* plug-ins/script-fu/script-fu-enums.h
* plug-ins/script-fu/script-fu-interface.c
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-types.h: added SF-DISPLAY parameter.
svn path=/trunk/; revision=22241
2007-03-17 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/script-fu-compat.init: Fixed syntax
error in string-trim-left function (spotted by Saul Goode). Added
compatability routine for 'verbose'.
svn path=/trunk/; revision=22136
2007-03-16 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu.c: remove N_() from calls to
gimp_plugin_menu_register().
svn path=/trunk/; revision=22133
2007-03-16 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/spyrogimp.scm: update the progress
to avoid looking like the script hangs. Fixes bug #356677.
* plug-ins/script-fu/script-fu-interface.c
(script_fu_interface_report_cc): if the command starts with
"gimp-progress-", the script is obviously showing a progress bar
for itself, so clear the text instead of showing an endless number
of "gimp-progress-update" messages. Also fixed manual main loop
iteration.
svn path=/trunk/; revision=22132
2007-03-16 Michael Natterer <mitch@gimp.org>
Fix stuck progress bars (bug #393832):
* app/plug-in/gimpplugin-progress.[ch] (gimp_plug_in_progress_end):
added PlugInProcFrame parameter instead of blindly using the topmost
in the procedure stack...
* app/plug-in/gimppluginprocframe.c
(gimp_plug_in_proc_frame_dispose): ...because we call it from here,
when the proc_frame is already removed from the procedure stack.
Unrelated:
* plug-ins/script-fu/scripts/difference-clouds.scm: use
RUN-INTERACTVE instead of 0, added (gimp-displays-flush)
* plug-ins/common/snoise.c (solid_noide): update the progress to
1.0 after rendering.
svn path=/trunk/; revision=22131
2007-03-13 Raphael Quinet <raphael@gimp.org>
* plug-ins/script-fu/script-fu-console.c: Fix for bug #417467
based on modified patch by Eric Lamarque and suggested by Mitch.
Allows build without warnings and correct localization for Solaris
and other platforms.
svn path=/trunk/; revision=22109
2007-03-09 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/script-fu-util-setpt.scm: Removed
erroneous comment block.
* plug-ins/script-fu/scripts/script-fu-set-cmap.scm: Use only
American (USA) spelling in translatable strings.
svn path=/trunk/; revision=22085
2007-02-19 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme.c (atom2str): use
locale-independent function to convert a float value to a
string.
svn path=/trunk/; revision=21948
2007-02-18 Michael Natterer <mitch@gimp.org>
* app/text/gimptext-parasite.c
* plug-ins/flame/libifs.c: use g_strtod() instead of atof()
because these files have to parse strings that never had a clearly
specified format.
* plug-ins/script-fu/tinyscheme/scheme.c
* plug-ins/imagemap/imap_cern.l
* plug-ins/imagemap/imap_csim.l
* plug-ins/imagemap/imap_csim.y
* plug-ins/imagemap/imap_ncsa.l: use g_ascii_strtod() instead of
atof() because scheme code and imagemap files with wrong decimal
separators are clearly broken and should be rejected.
* plug-ins/imagemap/imap_cern_lex.c
* plug-ins/imagemap/imap_csim_lex.c
* plug-ins/imagemap/imap_csim_parse.c
* plug-ins/imagemap/imap_ncsa_lex.c: regenerated.
* plug-ins/common/sample_colorize.c: round numbers using sane code
instead of sprintf() and atod().
* plug-ins/Lighting/lighting_ui.c: removed some dead code.
svn path=/trunk/; revision=21942
2007-02-17 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h: Add define for
symkey() to quiet the compiler.
* plug-ins/script-fu/tinyscheme/scheme.c (basic_inchar): Return
blank when invalid UTF-8 character is encountered while reading
from memory. Point to start of next valid character on error.
svn path=/trunk/; revision=21934
2007-01-22 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/script-fu/scripts/guides-new-percent.scm: replaced
license statement according to bug #119667.
svn path=/trunk/; revision=21750
2007-01-14 Hans Breuer <hans@breuer.org>
* plug-ins/script-fu/tinyscheme/scheme.[ch] : to make it compile with
msvc redefine stricmp after including <string.h> and protect gccism
#warning with #ifdef __GNUC__, also some more exports
* plug-ins/script-fu/scheme-wrapper.c : simple 'extern' does not work
to get variables across modules boundaries for msvc, use SCHEME_EXPORT
Together fixes bug #396268
svn path=/trunk/; revision=21707
2007-01-08 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/difference-clouds.scm: removed wrong
and useless call to gimp-drawable-update.
* plug-ins/script-fu/scripts/drop-shadow.scm: removed hyphen from
menu entry and description.
svn path=/trunk/; revision=21670
2006-12-13 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h
* plug-ins/script-fu/tinyscheme/scheme.c: Optimizations for string
comparisons. Time spent in oblist_find_by_name() reduced by ~50%
during startup by use of stored collation keys. Fixes bug #374854.
2006-12-12 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/burn-in-anim.scm: Don't allow one of the
two layers to be a floating selection. Fixes bug #384096.
* plug-ins/script-fu/re/re.c: Minor changes to quiet the compiler.
* plug-ins/script-fu/tinyscheme/CHANGES: Updated to version from
the 1.38 version of TinyScheme.
* plug-ins/script-fu/tinyscheme/scheme.c: Added some changes from the
1.38 version of TinyScheme. Added fix for bug #1589701 (reported on
SourceForge.net).
* plug-ins/script-fu/tinyscheme/scheme.h: Added a prototype to quiet
the compiler. Added one change from the 1.38 version of TinyScheme.
2006-11-26 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c (is_integer): Fix revealed
bug in TinyScheme initialization which results in a seg fault.
Removing fix for now.
2006-11-26 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c (is_integer): Check cell
type for T_NUMBER in addition to checking if it is an integer.
Fixes TinyScheme bug #1593861 reported on SourceForge. Fixed
prototype for dump_mark_stack(). Quieted compiler warnings.
* plug-ins/script-fu/scripts/script-fu-compat.init: Added delq,
prin1, and print.
2006-11-24 Kevin Cozens <kcozens@cvs.gnome.org>
* app/pdb/gimpprocedure.c: Fix for minor typo in error message.
* plug-ins/Lighting/lighting_main.c (check_drawables): Only validate
ID's for drawables that will be used. Disable use of env map (and not
bump map) if env drawable is of wrong type.
* plug-ins/script-fu/ftx/ftx.c: Eliminated some compiler warnings.
2006-11-24 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/script-fu-compat.init: Fixed cut and
paste error in the fix for unbreakupstr.
2006-11-24 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/script-fu-compat.init: Added make-list.
Corrected name of unstrbreakup to unbreakupstr and fixed bug in it.
Fixed butlast to handle lists with one entry.
2006-11-23 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h
* plug-ins/script-fu/tinyscheme/scheme.[ch]: Changed tinyscheme
to provide a safe spot to protect intermediate values from the
garbage collector. Fixes some really ugly problems with arrays.
Most likely not the best solution, we need to discuss this with
the tinyscheme maintainers.
* plug-ins/script-fu/scheme-wrapper.c: changed accordingly, plus
reordering some stuff to protect it from the eager GC.
2006-11-18 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Set
return_val before destroying values[] as it may still be needed.
2006-11-18 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c: Properly handle PDB_LAYERs
and PDB_CHANNELs when passed by the menus in the resp. dialogs
2006-11-17 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c (store_string): A minor
optimization. Don't bother to store normalized string.
2006-11-16 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/script-fu-enums.h
* plug-ins/script-fu/scheme-wrapper.c
* plug-ins/script-fu/script-fu-types.h
* plug-ins/script-fu/script-fu-scripts.c: add a SF-VECTORS type for
script-fu.
* plug-ins/script-fu/script-fu-interface.c: use a vectors
combobox for the GUI.
* plug-ins/script-fu/scripts/test-sphere.scm: test it as well.
2006-11-14 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/scripts/grid-system.scm: don't register in the
menus. The script duplicates functionality of the better plugin,
has a very obscure UI and registers under the same name as the plugin.
2006-11-09 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Use
vectors instead of the non-standard array structure. Also made some
minor coding style changes in the file.
* plug-ins/script-fu/tinyscheme/opdefines.h
* plug-ins/script-fu/tinyscheme/scheme-private.h
* plug-ins/script-fu/tinyscheme/scheme.h
* plug-ins/script-fu/tinyscheme/scheme.c: Removed all code related
to the handling of the non-standard array structure. Added one small
change to scheme.c to fix problems compiling with MSVC in Windows.
* plug-ins/script-fu/scripts/script-fu-compat.init: Changed array
references to use vector references.
2006-11-09 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Moved too much. Move some
array declarations out of here...
* plug-ins/script-fu/tinyscheme/scheme-private.h: and back to here.
2006-11-09 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h: Moved various
declarations and defines out of here...
* plug-ins/script-fu/tinyscheme/scheme.c: and added them here in
keeping with the original 1.38 version of TinyScheme. Only include
unistd.h if it exists.
* plug-ins/script-fu/ftx/ftx.c: Only include unistd.h if it exists.
2006-11-09 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme.c: don't include <malloc.h>
Fixes the build on OSX (or maybe BSD in general).
2006-11-07 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/ts-helloworld.scm: test scripts
aren't localized, but should still follow the menu guidelines.
2006-11-03 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme.c (utf8_stricmp): use
g_utf8_casefold() to implement case insensitive sorting.
2006-11-02 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/Makefile.am: Removed USE_STRCASECMP. Use the
setting for USE_STRLWR that is used in TinyScheme.
* plug-ins/script-fu/tinyscheme/Makefile.am: Removed USE_STRCASECMP.
* plug-ins/script-fu/tinyscheme/scheme.c
* plug-ins/script-fu/tinyscheme/scheme.h: Added missing SCHEME_EXPORT
to a couple of function declarations. Eliminated USE_STRCASECMP by
using internal UTF8 string comparison routine.
* plug-ins/script-fu/tinyscheme/scheme-private.h: Stop some compiler
warnings.
2006-11-02 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/Makefile.am: Removed USE_STRCASECMP. Use the
setting for USE_STRLWR that is used in TinyScheme.
* plug-ins/script-fu/tinyscheme/Makefile.am: Removed USE_STRCASECMP.
* plug-ins/script-fu/tinyscheme/scheme.c
* plug-ins/script-fu/tinyscheme/scheme.h: Added missing SCHEME_EXPORT
to a couple of function declarations. Eliminated USE_STRCASECMP by
using internal UTF8 string comparison routine.
* plug-ins/script-fu/tinyscheme/scheme-private.h: Stop some compiler
warnings.
2006-11-01 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scheme-wrapper.c: Added two missing deprecated
constants. Updated some comments and removed one obsolete comment.
* plug-ins/script-fu/scripts/test-sphere.scm: Fixed example of how
to use named constants in a list by using the 'list' function.
2006-10-28 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/paste-as-brush.scm
* plug-ins/script-fu/scripts/paste-as-pattern.scm: Some variables
were not being declared before first use. Spotted by Saul Goode.
2006-10-27 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.c: don't hardcode font sizes,
moved newlines out of translatable strings.
2006-10-26 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/script-fu-compat.init: Return empty
string if sep is at end of string in strbreakup.
2006-10-25 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/Makefile.am
* plug-ins/script-fu/scripts/difference-clouds.scm: added new script
"Difference Clouds" written by Martin Nordholts (bug #363458).
2006-10-25 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/erase-rows.scm
* plug-ins/script-fu/scripts/hsv-graph.scm: don't ever use the term
"drawable" in user-visible strings.
2006-10-24 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scheme-wrapper.c: Reworded two error messages.
Break out of for loop before i gets updated when error was detected
to make sure error message reports correct parameter number.
2006-10-23 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/unsharp-mask.scm: reverted Kevin's
change. This script should not register a menu entry and it
doesn't need to be translated. It only exists for backward
compatibility.
2006-10-23 Kevin Cozens <kcozens@cvs.gnome.org>
* Makefile.am: Moved an out of order entry.
* plug-ins/script-fu/scripts/beveled-button.scm
* plug-ins/script-fu/scripts/fuzzyborder.scm
* plug-ins/script-fu/scripts/paste-as-pattern.scm: Formatting changes.
* plug-ins/script-fu/scripts/coolmetal-logo.scm: Changed two colours
to named colour.
* plug-ins/script-fu/scripts/gimp-labels.scm: Moved a double quote.
* plug-ins/script-fu/scripts/spinning-globe.scm: Fixed duplicate
variable reference in let block.
* plug-ins/script-fu/scripts/tileblur.scm: Wrong version got commited.
* plug-ins/script-fu/scripts/unsharp-mask.scm: Added missing menu
register block.
2006-10-20 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scheme-wrapper.c: Moved the MIN and MAX entries
for image size and resolution to script_constants structureas they
are not deprecated constants.
* plug-ins/script-fu/scripts/script-fu.init: Removed CR in line endings.
* plug-ins/script-fu/scripts/*.scm: Fixed a number of regressions that
snuck in during the last big update of the scripts. This update
reduces the number of differences to the original scripts (other than
formatting). Some additional formatting changes in a few scripts.
Updates to use colour names in register block where possible. Fixed a
bug in burn-in-anim.scm. Minor cleanup of font-map.scm. Simplified
the bug fix in tile-blur.scm.