I was trying to solve here, but the new libtool doesn't like being
used like this, and it doesn't seem to be needed.
Fixes failure observed in bulk build.
XXX there's still a PLIST problem:
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: /usr/pkg/lib/gauche/0.9/x86_64--netbsd/gauche--threads.so
ERROR: /usr/pkg/share/gauche/0.9/lib/gauche/threads.scm
- patch-ae is removed since the change is included in upstream.
- patch-a[h-k] is removed since the way to handle rpath leak
is changed; now gauche-config is also `relink'ed before installed.
Here is breif list of changes from 0.8.13:
2009/11/22
Gauche 0.9: Major Feature Enhancements
* C API incompatible changes: Several incompatible C API
changes are introduced, which may cause some extension to
fail to compile. See API Changes in 0.9 for the details.
* New features
o New module: rfc.zlib: Zlib compression/decompression.
o New module: rfc.sha: SHA2 support. rfc.sha1 is
superseded by this module.
o New module: util.sparse: Sparse vectors backed up by
space-efficient trie, and hash-tables implemented on
top of sparse vectors. They are memory efficient than
the builtin hash tables when you want to keep tens of
millions of entries.
o Autoprovide: You no longer need 'provide' form for
most of times. If (require "X") successfully loads
X.scm and it doesn't have a provide form, the feature
"X" is automatically provided. See the "Require and
provide" section of the reference for more details.
o Module gauche.test: Improved testing for
exceptions. You can now test whether a specific type
of condition is thrown by giving (test-error
condition-type) as the expected result. See the manual
entry for more details.
o Module rfc.http: Now handles proxy by :proxy keyword
argument. You can also easily compose
application/x-www-form-urlencoded and
multipart/form-data message to send form
parameters. New procedures: http-put and http-delete.
o Module rfc.mime: Added support of composing a MIME
message.
o Module gauche.threads: New procedures: thread-stop!,
thread-cont!, thread-state.
o Module gauche.termios: On Windows native support, this
module provides Windows Console API instead of POSIX
termios API, since emulationg POSIX termios on Windows
is too much. A set of common high-level API that can
be used on both POSIX and Windows are also added.
o Module gauche.dictionary provides a bidirectional map,
<bimap>.
o run-process in module gauche.process, and builtin
sys-exec and sys-fork-and-exec support :directory
keyword argument to specify the working directory of
the executed process.
o Module file.util provides create-directory-tree and
check-directory-tree.
o Module gauche.net provides low-level socket
operations: socket-sendmsg, socket-buildmsg, and
socket-ioctl. Call-with-client-socket takes new
keyword args to specify buffering mode for the socket.
o Module www.cgi: cgi-main switches the buffering mode
of stderr to line, so that the httpd log can record
error messages line-by-line (much less clutter than
before).
* Major fixes and improvements
o Fixed build problem on OSX 10.6 (Snow Leopard).
o Performance is greatly improved on floating point
number arithmetics, optional argument handling of
builtin procedures, and case-lambda.
o Now all whitespace characters defined in R6RS works as
intertoken spaces in the source code.
o A warning message is printed when a thread exits with
an error and no other thread retrieve its status by
thread-join! before the thread is GC-ed. This helps
troubleshooting. Since thread-join! is the only way to
know if the thread exitted by an error, you have
either to call thread-join! to make sure to check the
status, or to write the thread thunk to catch all
errors and handle them properly.
o Anonymous module name is #f now, instead of (somewhat
arbitrarily chosen) |#|.
o Some enhancements on symbols: 'uninterned' symbos are
officially supported (symbols generated by gensym have
been uninterned, but never been documented
officially.) Uninterned symbols are written as
#:symbol a la CommonLisp. Uninterned symbols are not
registered to the internal symbol table, so there's no
worry about name crash. The only way to refer to the
same uninterned symbol from more than one place in the
source code is to use srfi-38 notation (#n= and
#n#). You can create uninterned symbol by
string->uninterned-symbol and check whether a symbol
is interned or not by symbol-intened?. There is also a
new procedure, symbol-sans-prefix.
* Windows support
o Precompiled binary installer for Windows is now
available. Get Gauche-mingw-0.9.exe. It is supported
on Windows NT 3.5 and later (sorry, no support for
Win9x.)
o Precompiled binary does not include thread and gdbm
support (yet). It is compiled to use utf-8 internal
encoding.
o Some Unix-specific system functions are not available,
or have slightly different semantics because they are
emulated via Windows API. If a function is not
available on Windows, the reference manual says
so. Windows version hasn't be used heavily, so expect
bugs.
o Large character set support on Windows Console is
pretty limited. It is recommended to run gosh under
Emacs for interactive use. See WindowsConsole for the
details.
2008/10/6
Gauche 0.8.14: Maintenance release.
* Bug fixes
o In some cases, an argument list passed to apply wasn't
copied.
o On some platforms, signal mask of threads could be
altered inadvertently by exception handling due to the
different behavior of sigsetjmp.
o format now raises an error if there's an incomplete
tilde sequence in the given format string.
o Internal parameter (gauche.parameter) code had a bug
that allocates not enough storage.
o There was a couple of bugs in dynamic-load that could
cause dead lock or leaving internal state
inconsistent.
o Module rfc.http: The 'host' field became inconsistent
when redirection happened.
* R6RS-ish extensions
o R6RS reader directive #!r6rs, #!fold-case and
#!no-fold-case are recognized now. The latter two can
be used to change case-folding mode of the reader in
the middle of the source code. See the manual for the
details.
o New core procedures: finite?, infinite?, nan?, eof-object.
o Two argument version of log: (log z b) is for base-b
logarithm of z.
* Extension-building improvements
o gauche-config script provides --rpath-flag option to
retrieve platform-specific rpath link option
(e.g. "-Wl,--rpath -Wl,").
o gauche-package script accepts --local option to the
'compile' and 'install' command to add local include
paths and local library search paths
conveniently. Basically, gauche-package compile
--local=DIR package.tgz causes -IDIR/include and
-LDIR/lib to be added to the actual compile and link
command lines. To give more than one directory, say
--local=DIR1:DIR2:....
o A stub generator and ahead-of-time compiler (the
facility to pre-compile Scheme code into VM
instruction array as static C data) is integrated,
allowing C and Scheme code to be mixed in the same
source; this feature is not yet documented and the
details are subject to change, but the curious mind
can take a look at ext/dbm/*, which were much simpler
than the previous version.
* Additional improvements, new procedures & macros
o GC is now Boehm GC 7.1.
o Large part of VM code is rewritten for better
performance and maintainability.
o New procedure: hash-table-copy.
o New convenience macros: rlet1 and if-let1.
o You can now hook exit operation by the exit-handler
parameter. See the "Program termination" section of
the manual for the detailed description of this
feature.
o Made sys-lstat work like sys-stat on Windows platform;
one less headache to write cross-platform code.
o Module gauche.net: Constants SHUT_RD, SHUT_WR and
SHUT_RDWR are defined to pass to socket-shutdown.
o Module file.util: New convenience procedures:
copy-directory*, touch-files, remove-files,
delete-files.
o Module dbm.*: Renamed dbm-rename to dbm-move for the
consistency. (The old name is kept as alias for the
backward compatibility). Added dbm-copy and dbm-move
missing from dbm.fsdbm. Also properly detects
variations of suffixes of ndbm-compatible database at
configuration time.
o Module www.cgi: :mode option is added to the MIME part
handler passed to get-mime-parts to specify the
permissions of the saved file.
o Module rfc.ip: New procedure: ipv4-global-address?.
pkgsrc changes
- DESTDIR support
- use libtool
- make iconv work
- fix a PLIST error
- close PR pkg/37897
Upstream changes
- Sorry, too many to list here
Important changes excerpted from web pages:
2007/1/17
Gauche 0.8.9: Major maintenance release
+ Bug fixes
+ Miscellaneous improvements:
2006/11/18
Gauche 0.8.8 important patch: There is a bug in main.c that makes gosh
exits silently without reporting errors when a Scheme script raised an
unhandled error. Please apply the patch shown in the following message:
http://sourceforge.net/mailarchive/forum.php?thread_id=30949517&forum_id=
2043
2006/11/11
Gauche 0.8.8: Major maintenance release
+ Important Changes:
o Exact rational number is supported; now you get 1/3 from (/ 1 3).
To obtain inexact number from division of two exact numbers, you
have to use exact->inexact explicitly. With this change you can get
more exact result, but if your code has relied on the old Gauche
behavior that automatically converts rationals to inexact reals,
your code may run very slowly in this release of Gauche (since
exact rational arithmetic is much slower than flonum arithmetic).
For the smooth transition, a compatibility module compat.norational
is provided, which makes the / operator behaves like before. See
the manual entry for the details.
o The reader is more strict about utf-8 encoding. Consequently, some
source files in other encoding that happened to be accepted by
previous versions of Gauche may no longer work. If you get an
error, either convert the encoding of the source, or use "coding:"
magic comment (See "Multibyte scripts" section of the reference
manual).
o The test-module routine in gauche.test is fixed so that it detects
more references to undefined global variables that have been
overlooked. You may get an error something like "symbols referenced
but not defined: ...". In most cases, they are from typos. See the
manual entry of gauche.test - Unit testing for the details.
o New modules:
# sxml.serializer: Generic routine to convert SXML to other
formats like XML or HTML. Written by Dmitry Lizorkin and ported
to Gauche by Leonardo Boiko.
# util.trie: Implementation of Trie. Originally by OOHASHI
Daichi, and hacked by numerous Gauche hackers.
# util.rbtree: Implementation of Red-Black Tree. Written by Rui
Ueyama.
o A bug in port locking routine, that caused a race condition on
multiprocessor machine, is fixed. As a side effect, port lock
operation became a bit faster.
o C API prospected change: Scm_Eval, Scm_EvalCString, and Scm_Apply
will have different API in the next release. The current API is
kept under a different name, Scm_EvalRec, Scm_EvalCStringRec, and
Scm_ApplyRec. If you are using those functions, please make changes
until the next release.
+ Miscellaneous fixes and improvements:
2006/4/12
Gauche 0.8.7: Major maintenance release
+ Bug fixes:
+ Improvements:
iconv and gdbm. We now patch Makefile.in instead of the configure
script and just pass in thr rpath flags via environment variables.
* Honor PKGINFODIR.
From this release we don't use external Boehm GC library because
gauche needs GC to be built with special compilation options.
New features in 0.8.6:
* New modules:
+ dbi: Database independent access layer, providing unified
access to various relational databases. You need separate
"driver" packages to access the actual RDBMS. There are a
few driver packages available at
http://www.kahua.org/cgi-bin/kahua.fcgi/kahua-web/show/dev/DBI/.
Note: If you have been using the separate dbi module, make
sure you remove it before using the new dbi and dbd
modules. You can find the old dbi.scm under somewhere like
/usr/local/share/gauche/site/lib (the actualy directory
depends on the configuration when you've installed the dbi
module).
+ util.relation: A framework to work with relations (as defined
by Codd). The result of database access via dbi is represened as
a relation.
+ text.sql: SQL parser/constructor. Full features are not
implemented yet, but used in dbi module for prepared queries.
* New SRFIs:
+ SRFI-40 (Library of streams) as util.stream.
+ SRFI-43 (vector library) as srfi-43.
+ SRFI-45 (Primitives for Expressing Iterative Lazy
Algorithms) : built-in.
* New built-in proceduers global-variable-bound? and
glboal-variable-ref. The former supersedes symbol-bound? (
symbol-bound? is now deprecated and will go away in the future
releases. Code that uses symbol-bound? should change it to
global-variable-bound?. ). The latter removes some need of using
eval just to peek the value of the global variable.
* New regexp procedures: regexp-replace*, regexp-replace-all*,
regexp-case-fold?.
* Stack overflow handling is largely improved. You can see better
performance if your script frequently oveflows the stack.
0.8.5 was a maintainance release.
0.8.4:
Gauche 0.8.4:
The compiler and VM have been rewritten. Now Gauche runs faster with
less memory (as fast as 1.9x, or cosumes 0.7x memory, in best cases of
our tests. But your mileage may vary.) The compiler now does simple
closure optimization, so the typical loop-by-local-closure style code
will get the advantage. On the other hand, you won't see much gain in
OO-heavy or library-heavy programs.
Other changes:
* New features:
+ srfi-42 (Eager comprehension) is supported.
+ srfi-55 (require-extension) is supported.
+ A simple sampling profiler is implemented to help tuning
programs. Check out "Profiling and tuning" section of the
reference manual. The profiler may not be available on all
platforms.
+ We provide an experimenal Windows/MinGW binary package for
the convenience. See download page.
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.
0.5 -> 0.5.1
* Ported to Windows/Cygwin, HP-UX11.0 and FreeBSD 2.2
* Incompatible fix to conform final SRFI-22
* Various bug fixes
Gauche-gl is updated to 0.1.2 to follow Gauche 0.5.1 changes.
SXML-gauche-0.9, Oleg Kiselyov's XML tool suite, is available.
0.5.1 -> 0.5.2
* Feature addition : String interpolation
* Bugfixes
* More POSIX API
* Manpages
* RPM packages for Linux/i386
0.5.2 -> 0.5.3
There're not many visible changes in this release
except a few bug fixes.
0.5.3 -> 0.5.4
* Buffered port routine is rewritten to use Gauche's own
buffering code instead of stdio.
* Lots of high-level file/directory utility functions are added as
file.util module.
* Added weak vector. See "Weak pointer" section of the reference manual.
* Added parameters. See gauche.parameter section of the reference manual.
* Added pseudo tty interface, sys-openpty and sys-forkpty. See
"Termios" section of the reference manual.
* Added define-values.
* Added port?.
* System objects, such as <sys-stat>, <sys-group> and <sys-passwd>,
are integrated to the object system. Information of these objects
can now be accessed via slots, instead of individual procedures.
* Improved dynamic string handling performance.
* Fixed a nasty bug in metaobject protocol handling code
that corrupted memory.
* Fixed a compiler bug that prevented proper tail recursion in some cases.