Changes are:
+ Bug fixes:
o If DESTDIR was set and the platform didn't have previous Gauche
installed, make install failed saying something like
"libgauche-0.9.so.0.3: cannot open shared object file: No such file
or directory". The order of installation was adjusted to avoid it.
o On FreeBSD, a bug in signal setup routine caused memory corruption.
o every with more than one argument list didn't return the last
return value of the predicate when all the arguments satisfied it,
as specified in srfi-1 (it returned #t instead). It was also the
case in stream-every. Both are fixed.
o On MinGW, info command didn't work.
o On MinGW, when you used non-console version gosh-noconsole.exe and
tried to spawn a child process to communicate via pipes,
gosh-noconsole.exe just died.
+ Improvements:
o New procedure: string-scan-right
o GC is now 7.2b
Here is list of changes:
0.9.3.2:
Fix documentation build problem when configured to use non default
encoding.
0.9.3.1:
Fix build problem on Windows/MinGW.
0.9.3:
* New Features
o Lazy sequences: An efficient and seamless support of mixing lazy
evaluation with ordinary list procedures. Forcing delayed
evaluation is implicit, so you can pass lazy list to normal list
procedures such as car or fold. See the manual entry for the
details and examples.
o gauche.generator: A general utilities for generators, a thunk that
generates a value every time it is called. Lazy sequences are built
on top of generators. See the manual entry for the details.
o Threads are now supported on Windows/MinGW build. It is directly
based on Win32 thread API instead of pthreads; but Scheme-level
semantics are almost the same. The cond-expand conditions are
slightly modified to accomodate both thread models--- see Threads
for the details.
o add-load-path macro now accepts an optional argument to make the
given path relative to the currently loaded file. This is useful to
distribute a script accompanied with library files; for example,
specify (add-load-path "." :relative) in the script makes the
library files searched from the same directory where the script
exists. Then users can just copy the directory to anywhere and run
the script.
o A chained-application macro $: Incorporated the feature which has
been experimented as gauche.experimental.app. This macro allows (f
a b (g c d (h i j))) to be written as ($ f a b $ g c d $ h i j).
Although it is slighly longer, it is sometimes work better with
indentation of deeply nested function calls. See the manual entry
for the full explanation.
o A new gosh option -m module allows the main procedure to be
searched in the specified module instead of the default user
module. This allows a Scheme file to work both as a library module
and an executable scripts (e.g. for running tests or demos); name
the test program main but not export it, and it won't affect
ordinary module users, but you can test the module by using -m
option.
* Incompatibile Changes
o util.queue: Thread-safe queue can now be created with zero
max-length, which is handy as a synchronization device. This is an
incompatible change---previously, specyfing zero to :max-length
means unlimited queue length. (Cf: Queue of zero length
http://blog.practical-scheme.net/gauche/20110107-zero-length-queue ).
o Fixed a regexp bug in treatment of BOL/EOL assertions (^, $) within
the assetion blocks such as (?=...). Regarding BOL/EOL assertions,
these assertion blocks are treated as if they're stand-alone. The
fixed behavior is now compatible with Perl and Oniguruma. The code
that counted on the previous (buggy) behavior may break by this
change.
o Removed gauche.auxsys module. This module contained several
less-used system procedures; now they are in the core. The module
was autoloaded, so not many code should be affected by this change.
Only the code that explicitly refer to this module needs to be
changed.
* Improvements
o Many frequently-used list procedures (all of util.list, and some of
srfi-1) are now included in the core. The module util.list is no
longer needed, although it is kept just for the backward
compatibility. From srfi-1, the following procedures are now in the
core: null-list?, cons*, last, member (extended one), take, drop,
take-right, drop-right, take!, drop-right!, delete, delete!,
delete-duplicates, delete-duplicates!, assoc (extended one),
alist-copy, alist-delete, alist-delete!, any, every, filter,
filter!, remove, remove!, filter-map, fold, fold-right, find,
find-tail, split-at, split-at!, iota.
o New macros and procedures: values->list, fold-left,
regexp-num-groups, regexp-named-groups.
o New procedure applicable? can be used to check object's
applicability finer than procedure?. Related, a special class
<bottom> is added, which behaves as a subtype of any classes.
o Build process is overhauled to allow out-of-source-tree build.
o Regular expression engine is slightly improved. For example, it now
calculates the set of characters that can be a beginning of a part
of regexp, and uses it to skip the input efficiently.
o thread-terminate! now attempts to terminate the target thread
gracefully, and only tries the forceful means when the gracefull
termination fails.
o open-input-file now accepts :encoding #t argument, which tells the
procedure to use a coding-aware port. That is, it can recognize
coding: ... specification in the beginning of the file. Useful to
process source files.
o map is now restart-safe, that is, saving continuations in middle of
mapping and restarting it doesn't affect previous results. This is
required in R6RS.
o Various small improvements in the compiler and VM stack layout.
o gauche.test: test-module now checks the number of arguments given
to the global procedures. This is useful to catch careless
mistakes. In rare cases that you do intend to pass number of
arguments incompatible to the normal usage of the procedures, list
such procedures in :bypass-arity-check keyword argument (It is
possible because of the dynamic nature of the language---methods of
a different signature may be added later, for example).
o gauche.test: test-end has a keyword argument to exit with non-zero
status if test failed. New function test-summary-check exits with
non-zero status when the test record file indicates there have been
failures. Both are useful to propagate test failure to upper levels
such as continuous integration server.
o srfi-42: Support :generator qualifier to allow using generator
procedures in a sense of gauche.generator.
o file.util: touch-file and touch-files takes various keyword
arguments similar to touch(1) command.
o rfc.http: A new parameter http-proxy allows to set the default http
proxy. The https connection now uses a library bundled to Gauche,
no longer requires external stunnel command.
o GC is bumped to bdwgc 7.2-alpha6.
* Bux fixes
o Fixed an incorrect rounding bug when inexact numbers were given to
div and mod.
o Fixed another division bug in /., when both dividend and divisor
are too big to be represented by floating-point numbers.
o In quasiquote expander, unquote and unquote-splicing are recognized
hygienically.
o force is now thread-safe.
o Fixed some MT-hazards in file loading/requiring. Thanks to Kirill
Zorin for tracking those hard-to-find bugs.
o Fixed a bug that made (regexp-compile '(alt)) Bus Error.
o Fixed another regexp bug that didn't handle case-folding match
beyond ASCII range. Patch from OOHASHI Daichi.
o gauche.parameter: Accessing parameters created in unrelated threads
used to raise an error. It was annoying, since such situation could
occur inadvertently when autoload is involved. Now the parameters
work regardless of where they are created.
o rfc.json: Fixed a bug that produced incorrect JSON.
o rfc.http: Fixed the behavior of redirection for 3xx responses. You
can also customize the behavior.
o gauche.threads: Fixed a bug in thread-sleep! when passed an exact
rational number.
o util.stream: stream-count didn't work.
- Replace the HOMEPAGE with the url used in the document
such as README etc.
- Drop minoura@ from MAINTAINER as per his request on twitter.
Brief summary of Gauche 0.9.2:
[New Features]
* Case mapping and character properties are fully supported,
compatible to R6RS and R7RS draft (both based on Unicode
standard). Character-wise case mapping (char-upcase etc.) and
property queries (char-alphabetic?, char-general-category,
etc.) are built-in. Context-aware string case mapping
(string-upcase etc.) is provided in the new text.unicode
module. (Note: srfi-13's string-upcase etc. are unchanged;
they are defined to use simple case mappings.) The text.unicode
module also provides conversion between utf-8/utf-16 and
Unicode codepoints.
* Windows binary distribution is now in MS installer (*.msi)
format, created with WiX. It's safer than the previous *.exe
format created by NSIS, which had a bug that smashes PATH
settings when it is too long.
* A convenient wrapper for atomic execution is added in
gauche.threads. See this intro post.
* Benchmarking utilities resembles to Perl's Benchmark module is
now available in gauche.time. See this post for an
introduction.
* with-lock-file: A long-awaited feature to use lock files
conveniently. It is in file.util module.
* Added full support of srfi-60, integer bitwise operations.
* gauche.cgen: Some API that Gauche uses to generate C code
become public. See the manual for the details.
[Incompatibile Changes]
* control.thread-pool: add-job! now takes timeout argument. If it
is omitted and the job queue is full, add-job! blocks. It is a
change from 0.9.1, in which add-job! returns immediately in
such case. To get the same behavior, pass 0 explicitly to the
timeout argument. The argument order of wait-all is also
changed to take timeout optional argument first. In 0.9.1 it
never timeouts.
* If --enable-multibyte flag is given to ./configure without
explicit encoding, we now assume utf-8. It used to be
euc-jp. This is for the consistency. We don't think this change
affects many, for the document has always been told to give
explicit encoding name for this option.
* The --enable-ipv6 configure option is turned on by default. It
shouldn't cause problems on modern OSes. If you ever get a compile
error in gauche.net module on a platform that lacks modern API,
specify --disable-ipv6 option to ./configure.
* (This is an internal change of undocumented feature. We mention
it just in case if some extension packages depend on this.) In
the initialization code generated by genstub or precomp, it
used to be possible to refer to the current module by mod. Now
you should use Scm_CurrentModule() instead. Also,
gauche.cgen.unit now doesn't include <gauche.h> automatically.
[Improvements]
* The compiler is improved to avoid creating a closure at
execution time when it doesn't close local environment. For
example, (map (^x (* x x)) lis) doesn't create a closure;
instead, the internal lambda is compiled as if it is a
toplevel-defined procedure. (Yeah, it's a simple lambda
lifting. We didn't do it since it could slow down the
compiler. Now the compiler is efficient enough to handle it.)
* Supports zero or multi-argument unquote/unquote-splicing, as
defined in R6RS.
* sys-exec and sys-fork-and-exec now supports :detached keyword
argument to make the child process detached from the parent's
process group.
* Buliltin reverse and reverse! takes optional list-tail
argument.
* A new builtin procedure map* that can deal with dotted list.
* Common Lisp-like ecase macro is added.
* The extended lambda formals (:key, :optional, etc) are now
available in define-method as well.
* New built-in function sys-clearenv, useful to fork subprocess
securely.
* rxmatch-case accepts (else => proc) form, just like case.
* Socket address objects (e.g. <sockaddr-un>) can now be compared
by equal? based on its content. Useful to put them in a
hashtable, for example.
* gauche.uvector: A new procedure uvector-copy! that can copy any
type of uvectors.
* gauche.test: A new test expected result constructor test-one-of
allows to check if the test result matches any one of possible
outcomes.
* control.thread-pool: Now a pool raises <thread-pool-shut-down>
condition if the pool has already be shut down and no longer
accepting new jobs. terminate-all now takes :cancel-queued-jobs
keyword argument to stop the pool immediately, instead of
waiting for all the jobs to be finished. Canceled jobs are
marked as killed . New APIs: thread-pool-results,
thread-pool-shut-down?.
* rfc.json: Allow construct-json to take optional output port for
the consistency.
* rfc.uri: A new procedure uri-merge that can be resolve a
relative uri in regart to a base uri.
* rfc.cookie: Recognize :http-only cookie attribute introduced in
RFC6265.
* Now the tilde `~' expansion of sys-normalize-pathname works on
Windows as well to refer to the current user's home directory;
it tries environment variables heuristically to find it. To
refer to other user's home directory by ~user is still only
available on Unix platforms, though.
* util.combinations: combinations is optimized to handle leaf
cases efficiently.
[Bux fixes]
* Fixed a bug that the number parser hangs when reading
2.2250738585072012e-308.
* Integer multiplication routine had a code that depended on
undefined behavior of C; it worked on gcc but revealed the bug
on clang-llvm.
* Fixed a module bug on the visibility of bindings of extended
modules.
* gauche.parameter: Fixed a couple of bugs on parameter objects.
* Numeric comparison procedures such as < didn't work correctly
when more than four arguments were given. The bug was
introduced by incorrect optimization.
* Fixed bugs in lognot, logand, logior and logxor, which crashed
when non-integer ratinoal numbers are passed.
* port->string, port->string-list: These procedures returned
prematurely when the input contains an illegal byte sequence
for internal encoding. Now they return an incomplete string
instead.
* srfi-1: Some srfi-1 procedures that are built-in were not
exported, causing errors when you wanted to import them
selectively, e.g. (use srfi-1 :only (fold)).
* util.queue: Fixed list->queue to work.
* binary.pack: Fixed a bug that the result may be truncated if
the input contains byte sequences that can be interpreted as
invalid character multibyte sequences.
* srfi-42: Fixed a hygiene bug; the previous versions failed when
only toplevel macros are imported using :only import option.
* rfc.json: Fixed a bug that didn't escape double-quotes in the
string, and didn't handle empty array.
* Coding-aware ports didn't count lines correctly in CR-only or
CRLF line endings.
* Fixed a problem that caused crash after changing metaclasses of
a class metaobject. An additional protection mechanism is in
place in the class metaobject so that it won't be in an
inconsistent state unexpectedly.
* Fixed sys-setenv in which you couldn't omit the overwrite
argument, even if it was described optional.
* Fixed build problem of gauche.net on Solaris.
* Fixed a bug in gauche-package that caused an error when
*load-path* contained a nonexistent path.
* Fixed a bug in string comparison routine that surfaces in a
special architecture.
* The printed output of <time> was incorrect when its value was
negative.
* There was a bug in the reader it reads ().() incorrectly.
* Fixed a bug in format to allow ~* to position after the last
argument.
* Fixed GC compliation problem on OSX Lion.
New in Gauche 0.9.1: Major Feature Enhancements
+ New Features
o Extended formals: Built-in lambda, define etc. can
recognize optional and keyword arguments, a la Common Lisp.
o Enhanced module mechanism: Now you can rename, choose,
or add prefix to the symbols when importing other modules.
o Efficient record types: A new module gauche.record provides
ERR5RS (srfi-99) compatible record types. It is also upper
compatible to srfi-9 records.
o More support for multithreaded applications: Thread-safe
queue is added to util.queue, and thread-pool feature is
provided by the new module control.thread-pool.
Continuations can be passed between threads.
o Partial continuations.
o Enhanced Windows support.
o New module: crypt.bcrypt: A module for Blowfish password hashing.
o New module: srfi-98: portable environment variable lookup support.
o New module: gauche.mop.propagate: Making object composition simpler.
o New module: rfc.json: JSON parsing and construction.
+ Changes
o The directory structure for Gauche installation has changed so
that we can keep binary compatibility for the extension
modules throughout 0.9.x releases.
o Now it is an error to pass a keyword argument that isn't
expected by the callee. It used to be a warning.
o Regular expression re{,M} now means the same as re{0,M},
which is compatible to Oniguruma.
+ Improvements
o The compiler and the runtime got optimized more.
The compiler now knows more about built-in procedures, and tries
compile-time constant folding and/or inlining more aggressively.
For example, sxml.ssax can parse XML document a lot faster.
o ^ can be used in place of lambda, allowing more concise code.
There's also convenience macros ^a, ^b, ... ^z and ^_ as
abbreviations of lambda (a) etc.
o ~ is added for universal accessing operator. (~ x y) is the same
as (ref x y), and (~ x y z) is the same as (ref (ref x y) z),
and so on. It can be used with generalized setter, e.g.
(set! (~ array i) x).
o define-syntax, let-syntax, and letrec-syntax are enhanced so that
they can take a general expression in rhs, as far as it yields
a syntactic transformer.
o gauche.process: I/O redirection handling in run-process becomes
more flexible.
o rfc.http module now supports https connection (unix platforms only).
Currently it relies on an external program (stunnel).
o A new procedure current-load-path allows the program to know
the file name it is being loaded from.
o A new procedure .$ is introduced as an alternative name of compose.
o Regular expressions now got read-write invariance. Some internal
regexp routines are made public, giving users an easy way
to construct and analyze regexp programatically.
o rfc.822: New procedure: rfc822-date->date.
o file.util: The procedure temporary-directory now became a parameter
so that you can switch it when necessary. The default value is taken
from (sys-tmpdir), which determines temporary directory in the
recommended way of the platform; esp., it works on Windows native
platforms. home-directory works on Windows, too.
Procedures null-device and console-device are added to make it easier
to write portable script across Unix and Windows platforms.
o util.queue: New proceduers: any-in-queue, every-in-queue.
o gauche.parseopt: When let-args encounters a command-line option
that doesn't match any spec, it now raises a condition of type
<parseopt-error> instead of <error>. The application can capture
the condition to handle invalid command-line arguments.
o gauche.uvector: New procedure uvector-size to obtain number of octets
actually to be written out when the given uvector is written out
by write-block.
o dbm: A new procedure dbm-type->class allows an application to load
appropriate dbm implementation at runtime. Utility scripts dbm/dump
and dbm/restore are provided for easier backup and migration.
o Procedure slot-pop! is added for the consistency with other
*-push!/pop! API pairs.
o When ref is used for object slot access, it can take default value
in case the slot is unbound.
o Made (set! (ref list k) value) work.
o New procedures delete-keywords, delete-keywords!, tree-map-map,
tree-map-for-each.
o unwind-protect allows multiple handlers, as in CL.
o sqrt now returns an exact number if the argument is exact and
the result can be computed exactly. Also, R6RS's exact-integer-sqrt
is added.
o gauche.parameter: Parameters can be used with generalized set!.
o The default-endian parameter is moved from binary.io module
to the core, so that this parameter controls default endian
of binary I/O in general. For example, read-block! and write-block
of the gauche.uvector module now uses the value of this parameter
as the default. A new procedure native-endian is added to retrieve
the platform's native endianness.
o More R6RS procedures: inexact, exact, real-valued?, rational-valued?,
integer-valued?, div, mod, div0, mod0.
A number of bug fixes.
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?.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
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:
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
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.
makeinfo if no native makeinfo executable exists. Honor TEXINFO_REQD
when determining whether the native makeinfo can be used.
* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.
* Get rid of all the "split" argument deduction for makeinfo since
the PLIST module already handles varying numbers of split info files
correctly.
NOTE: Platforms that have "makeinfo" in the base system should check
that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
correct.
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.