2004/12/2
Gauche 0.8.3: Bug fix release
It turned out that 0.8.2's source-code encoding detection feature had a
bug; if you're using Windows-style (CRLF) line-separator, the coding-aware
port repeats one character at the beginning of the second line. It doesn't
do any harm if first few lines of your code are comments, but it's annoying
when you stumbled on it, so I decided to release a fixed version.
This release also includes a couple of improvements: The coding-aware ports
recognizes Emacs-style coding name (e.g. euc-jp-unix) and just ignores the
Emacs-specific suffix (e.g. -unix). And external representations of
f32vector and f64vector are now accurate.
2004/11/29
Gauche 0.8.2: Major revision of infrastructure.
* New features
- A condition (exception) system a la srfi-35 and (part of) srfi-36
is supported. Used with guard (srfi-34), now it is possible to
handle exceptions in more comprehensive way. See the "Exception"
section of the manual, which has been rewritten accordingly.
- Source-code encoding detection. Now Gauche recognizes a special
comment like "coding: utf-8" near the beginning of the source file,
and use appropriate conversion to load the source file. See
"Multibyte Script" section of the manual for the details. This
feature alone can be used independently from loading programs, via
coding-aware ports, so the programs that processes Scheme scripts
can also recognize the special comments.
- Virtual ports are supported. Virtual ports are the ports whose
behavior can be customized in Scheme. See the description of
gauche.vport module in the manual for the details.
* Improvements
- Updated GC to Boehm GC 6.3. It fixes some GC-related problems on
64bit architectures.
- gauche.fcntl: F_GETOWN and F_SETOWN are supported, if the system
provides them.
- gauche.termios: c_cc field of struct termios is now accessible from
Scheme. (Thanks to Kogule Ryo).
- gauche.uvector: Added string->s8vector! and string->s8vector!.
TAGvector-copy!'s API is changed so that it matches with srfi-13's
string-copy! and srfi-43's vector-copy!.
- Port implementation is cleaned up. Now line count is available not
only for file ports but any ports (as far as it's doing character I
/O). byte-ready? is added for binary I/O polling.
- text.csv: quote character is customizable.
* Bug fixes
- INCOMPATIBLE CHANGE: The previous version's rfc.mime's API was
broken. It couldn't handle MIME part whose message was non-encoded
binary. Now MIME part stream parser is re-implemented using virtual
ports, and the reader argument passed to the MIME part handler is
dropped. www.cgi is also affected if you're using customized
handler for file uploads. See the reference manual for the new API.
- SONAME of the library is now set, if the platform supports it.
- gauche.array: Some functions were not exported, although they were
mentioned in the manual.
- gauche.charconv: Fixed a bug in converting 2nd plane of JIS.
- gauche.regexp: regexp-replace-all looped infinitely for some
patterns. Now it raises an error.
- dbm.fsdbm: It couldn't store binary data.
- rfc.822: rfc822-parse-date returned wrong month number (off by
one).
- util.match: Fixed a bug in quasipattern. The description of
quasipatterns in the reference manual is also revised to explain it
better.
- srfi-19: date->julian-day didn't recognize tz-offset.
- Some bugs in numeric code are fixed.
- let-args had a bug in parameter handling of 'else' clause.
- directory-list: when :filter-add-path? is true, there was a bug
that "." and ".." were included in the results even :children?
argument was true.
- There was a bug that causes an infinite loop during class
redefinition.
- let-keywords*: fixed a bug that corrupts expansion when used in
r5rs macro.
* C API Change
- Class initialization API is overhauled. Scm_InitBuiltinClass is
obsoleted; use Scm_InitStaticClass instead.
- Port structure is changed quite a bit.
- Functions to convert Scheme integers to C integers are revised, to
handle out-of-range error in more flexible way.
- API of Scm_Load, Scm_LoadFromPort and related functions are changed
to support more flags.
Gauche-0.8.1 is a maintainance release of Gauche-0.8.
Gauche-0.8 release announce is cited here:
* *New Features*
o Auxiliary scripts: Gauche now installs a few scripts
that help to build and install extension packages. The
gauche-package script handles download, unpacking,
configuration, building and installation in one command
invocation. See the description of "Using extension
packages" section of the manual. (NB: this feature is
still new and may have problems, but hey, let's give a
try.) A couple of auxiliary scripts, gauche-cesconv and
gauche-install can be called from Makefile. They don't
have documentation yet, but try --help option for these
scripts.
o Module util.match: Andrew Wright's match macro is
bundled. It is modified to handle Gauche's object system.
* *Improvements*
o A couple of performance tuning were done for I/O and
loading Scheme files.
o Now you can subclass <error> class as well as
<exception> class to define your own error type. A new
built-in macro guard, which is SRFI-34 compliant, can be
used to handle errors selectively. Eventually the errors
from built-in procedures will have more structured
exception hierarchy.
o New built-in system procedures: sys-lchown, sys-realpath.
o Built-in sort routines now have stable versions,
stable-sort and stable-sort!.
o New built-in macro: let/cc.
o New built-in keyword procedures: delete-keyword, delete-keyword!.
o New built-in regexp procedure: rxmatch-num-matches.
o Module file.util: new procedures: file-is-symlink?,
file->string, file->string-list, file->list, file->sexp-list.
o Module gauche.net: documented the previously
experimental procedures: socket-send, socket-sendto,
socket-recv, socket-recvfrom, socket-getpeername,
socket-getsockname. Now these are official procedures.
o Module gauche.process: process-command wasn't exported,
even though it was documented.
o Module gauche.test: you can control whether the error in
the test procedure is reported or not by an envioronment
variable GAUCHE_TEST_REPORT_ERROR and a global variable
*test-report-error*. Useful to find a problem during testing.
o Module www.cgi: new procedure cgi-get-metavariables;
allows the user routine to take metavariables via
cgi-metavariables parameter, so that cgi scripts can be
easily modularized.
o Module gauche.parseopt: support of "optional
option-argument" is added.
o Module gauche.array: homogeneous numeric array types are added.
o Module text.html-lite: added frame-related tags.
* *Bug Fixes*
[snip]
Many changes were made from previous packaged version, 0.6.3; Lots of
improvements and bug fixes, including security ones. Please take a look
at its WWW page for more detailes.
http://www.shiro.dreamhost.com/scheme/gauche/
pkgsrc changes:
- support buildlink2. buildlink3.mk is also added but not tested since
I have not moved to buildlink3 environment yet.
- this package now uses libgcudevel/boehm-gc instead of self contained,
slightly modified one. It seems that this package runs under m68k.