--- - branch: MAIN date: Sun May 13 06:08:10 UTC 2012 files: - new: '1.59' old: '1.58' path: pkgsrc/lang/gauche/Makefile pathrev: pkgsrc/lang/gauche/Makefile@1.59 type: modified - new: '1.27' old: '1.26' path: pkgsrc/lang/gauche/PLIST pathrev: pkgsrc/lang/gauche/PLIST@1.27 type: modified - new: '1.29' old: '1.28' path: pkgsrc/lang/gauche/distinfo pathrev: pkgsrc/lang/gauche/distinfo@1.29 type: modified - new: '1.1' old: '0' path: pkgsrc/lang/gauche/patches/patch-src_Makefile.in pathrev: pkgsrc/lang/gauche/patches/patch-src_Makefile.in@1.1 type: added id: 20120513T060810Z.c2b5a0e6c9c80aec423fbe05b80cf21b6175bb77 log: | Update to 0.9.3.2. 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 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. module: pkgsrc subject: 'CVS commit: pkgsrc/lang/gauche' unixtime: '1336889290' user: enami