Gimp/plug-ins/script-fu/tinyscheme
Kevin Cozens b0d8ba5ffd Additional fixes for handling UTF-8 coded strings (Bugs 572865 & 628893)
plug-ins/script-fu/scheme-wrapper.c:
- Fixed set and get of UTF-8 coded strings for parasites.

plug-ins/script-fu/tinyscheme/scheme.c:
- Additional fix to string-append and fixed substring. The mk_empty_string
  routine is not the way to allocate space for UTF-8 coded strings.
- Added some comments.
2010-09-20 23:20:45 -04:00
..
.gitignore Added .gitignore files generated with git svn create-ignore. 2009-01-31 11:37:44 +00:00
BUILDING
CHANGES Updating to match version in official version of TinyScheme. 2008-09-11 20:57:38 +00:00
COPYING
dynload.c Eliminated compiler warnings (scheme.c). Fixed whitespace (dynload.c). 2009-09-01 21:52:11 -04:00
dynload.h
hack.txt
init.scm Defined *compile-hook*. Changes based on official version of TinyScheme 2009-08-18 10:47:12 -04:00
Makefile.am
Manual.txt Applied changes based on official version of TinyScheme (CVS commit dated 2009-08-04 14:23:55 -04:00
MiniSCHEMETribute.txt
opdefines.h Defined *compile-hook*. Changes based on official version of TinyScheme 2009-08-18 10:47:12 -04:00
README
scheme-private.h Fixed scheme struct strbuff[] size to handle long strings in register blocks 2010-02-13 15:06:12 -05:00
scheme.c Additional fixes for handling UTF-8 coded strings (Bugs 572865 & 628893) 2010-09-20 23:20:45 -04:00
scheme.h Updated TinyScheme to support UTF-8 coded filenames. See bug #592413. 2009-10-01 11:51:21 -04:00

This directory contains a version of TinyScheme which has been modified
to support UTF-8 coded strings. The strings stored in a data cell are
expected to be in UTF-8 format. This allows the continued use of gchar
pointers to pass around the strings. Processing the strings will require
conversion to unicode at times depending on the specific operation that
needs to be done on the UTF-8 coded strings.

The string length value stored in a data cell is the length in bytes of that
string including the terminating NUL.

Routines that want a string length for a UTF-8 coded string will be passed
the number of characters and not the number of bytes. If the number of bytes
is needed, the normal call to strlen() will work.