--- - branch: MAIN date: Fri Nov 27 09:26:07 UTC 2009 files: - new: '1.52' old: '1.51' path: pkgsrc/lang/gauche/Makefile pathrev: pkgsrc/lang/gauche/Makefile@1.52 type: modified - new: '1.22' old: '1.21' path: pkgsrc/lang/gauche/PLIST pathrev: pkgsrc/lang/gauche/PLIST@1.22 type: modified - new: '1.24' old: '1.23' path: pkgsrc/lang/gauche/distinfo pathrev: pkgsrc/lang/gauche/distinfo@1.24 type: modified - new: '1.8' old: '1.7' path: pkgsrc/lang/gauche/patches/patch-ab pathrev: pkgsrc/lang/gauche/patches/patch-ab@1.8 type: modified - new: '0' old: '1.12' path: pkgsrc/lang/gauche/patches/patch-ae pathrev: pkgsrc/lang/gauche/patches/patch-ae@0 type: deleted - new: '1.5' old: '1.4' path: pkgsrc/lang/gauche/patches/patch-af pathrev: pkgsrc/lang/gauche/patches/patch-af@1.5 type: modified - new: '0' old: '1.5' path: pkgsrc/lang/gauche/patches/patch-ah pathrev: pkgsrc/lang/gauche/patches/patch-ah@0 type: deleted - new: '0' old: '1.1' path: pkgsrc/lang/gauche/patches/patch-ai pathrev: pkgsrc/lang/gauche/patches/patch-ai@0 type: deleted - new: '0' old: '1.1' path: pkgsrc/lang/gauche/patches/patch-aj pathrev: pkgsrc/lang/gauche/patches/patch-aj@0 type: deleted - new: '0' old: '1.1' path: pkgsrc/lang/gauche/patches/patch-ak pathrev: pkgsrc/lang/gauche/patches/patch-ak@0 type: deleted id: 20091127T092607Z.a3b8a893c52760d0e2142e6acb3d573650ab9322 log: | Update gauche to 0.9. Ok'ed by uebayashi. - 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, . 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?. module: pkgsrc subject: 'CVS commit: pkgsrc/lang/gauche' unixtime: '1259313967' user: enami