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.
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-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
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-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-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-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-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
* 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-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-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-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-05-18 Kevin Cozens <kcozens@cvs.gnome.org>
* tinyscheme/CHANGES
* tinyscheme/scheme.c
* tinyscheme/scheme.h: Updated to version 1.37 of TinyScheme. Adds
'reserve_cells' to TinyScheme interface, moves the comment handling
which fixes an obscure bug, and a patch for the allocator.
2005-03-17 Kevin Cozens <kcozens@cvs.gimp.org>
* tinyscheme/README
* tinyscheme/scheme.h:
* tinyscheme/scheme-private.h:
* tinyscheme/scheme.c: Added support for UTF-8 coded strings.
* MAINTAINERS: Added Michael Schumacher as maintainer of Windows
Installer for Tiny-Fu.
* configure.in: Bumped version number to 0.9.8