pkgsrc/lang/gauche/distinfo

9 lines
411 B
Text
Raw Normal View History

Update gauche to 0.9.4. Changes are: Release 0.9.4 Major feature upgrade * R7RS support * Notable improvements * A bunch of new procedures and enhancements * Tons of bug fixes + Fixes that may break the compatibility + Miscellaneous fixes R7RS support Gauche now supports R7RS-small ( http://r7rs.org/ ). It can load R7RS libraries and execute R7RS scripts seamlessly. (There are minor caveats; see ref:Standard conformance). See also ref:Library modules - R7RS integration for the details of how R7RS is integrated. The backward compatibility to the legacy Gauche code is kept as much as possible; in short, you can keep using existing Gauche code and write new code in pretty much the same way. It's up to you to write code in traditional Gauche way or R7RS way: If you plan to make the code portable, you may want to stick with R7RS, but if you need to depend on lots of Gauche-specific libraries, there's not much point to adopt R7RS structure, for you can't run it in other implementations anyway. Notable improvements * REPL is slightly improved: You can access history (ref:Working in REPL). And describe shows known bindings when called on symbols. The default writer now do not show shared structures, for it confused newcomers; it still shows circular structures in srfi:38 notation. * data.random: Random data generators. * math.prime module for lazy sequence of primes, testing primality, and prime factorization. * srfi-106: Basic socket interface. * PIPE signal handling is changed. By default, Gauche effectively ignores SIGPIPE; the system calls will generate EPIPE system-error instead. Since the signal delivery timing differ in the Scheme world from C world, handling SIGPIPE reasonably is difficult, while handling system error is straightforward and synchronous. Note that EPIPE error from stdout and stderr terminates the process immediately, so that the Gauche script don't spit error messsages when used in command pipelines and the destination command exits prematurely. See ref:Handling signals for the details. * write and display is now R7RS; that is, they won't explode by circular structures. * On Windows, system interface functions now properly handles multibyte filenames, command-line arguments and enviornment variables. Contribution from SAITO Atsushi. A bunch of new procedures and enhancements * New numerical procedures: + On rationalization: rationalize, real->rational, continued-fraction; see Gauche-blog:20120925-rationalize. As a bonus, now converting flonums to exact number can produce more readable (simple) rational numbers; see Gauche-blog:20120930-exact. + On integer operations: exact-integer? (r7rs) expt-mod, twos-exponent, twos-exponent-factor, + Gamma functions: gamma, lgamma. + r7rs division operators floor/, floor-quotient, floor-remainder, truncate/, truncate-quotient, truncate-remainder. * expt now returns exact value if possible, even the exponent is non-integer (but exact rational). * New list and vector procedures: length<=?, list-set!, vector-map (r7rs), vector-for-each (r7rs), vector-tabulate. * New regex procedures: rxmatch-substrings, rxmatch-positions, rxmatch-named-groups. + Also, regex objects now have read-write invariance. * rfc.json: Now you can customize mappings between json array/object and Scheme objects. Also parse-json* is added to parse multiple JSON objects from a single source. * gauche.generator: New procedures: gconcatenate, gmerge, gbuffer-filter. * gauche.lazy: New procedure: lconcatenate * gauche.uvector: + u8vector-multi-copy!, u8vector-append (and all other TAG variations). + string->u8vector etc.: Added immutable? optional argument to produce immutable uvector, which avoids copying the string contents. u8vector-> string also avoids copying if the source vector is immutable. * rfc.http: Support for basic authentication added. * file.filter: file-filter may leave the destination file untouched if it won't be changed, by :leave-unchanged option. Also added new procedures: file-filter-for-each, file-filter-fold, file-filter-map. * You can now load script from non-regular files (e.g. device files). Useful for one-liner such as gosh -E... /dev/null. * Char-set now adopts collection framework, and also they're applicable object to test membership. * Trie (util.trie) now adopts dictionary framework. * make-tree-map accepts single compare argument instead of = and <. * rfc.hmac: Pick appropriate block size according to the digest algorithm metaclasses. * string-split: Accept an optional argument to limit the number of the result, much like Perl's similar operator. * command-line (r7rs) * include and include-ci (r7rs) * util.sparse: sparse-vector-ref and sparse-table-ref now have generalized setters. * symbol=?, boolean=? (r7rs). * Reader supports #true and #false for r7rs. * Negative zeros (-0.0) are recognized when it matters. * generator-find * cond-expand supports library clause (r7rs). * text.unicode: utf8->string, string->utf8 (r7rs); string-ci=? etc. that handles Unicode full case mapping, as required by R7RS. * dotimes and dolist now supports omission of variable. * letrec* (r7rs). * rfc.base64: base64-decode and base64-encode support :url-safe keyword argument to use url-safe alternative characters. * syntax-rules: Support r7rs enhancements. * define-values: Made r7rs compliant. * sys-errno->symbol, sys-symbol->errno. * Built-in sort procedures now supports srfi-95. See ref:Comparison and sorting. * digit->integer, integer->digit: Extended to handle digit characters other than [0-9]; Unicode defines a bunch of them. * gauche.dictionary: Bimap can have default conflict resolution. * os.windows: Console procedures are enhanced. Contribution from github.com/ Hamayama. Tons of bug fixes Fixes that may break the compatibility * The reader syntax \xNN is now interpreted as R7RS-way by default (semicolon-terminated, Unicode codepoint). If we don't find the terminating semicolon, we interpret it as the legacy syntax. However, there are ambiguous cases that lead to incompatible behavior. You can switch the reader mode by reader-lexical-mode to make it fully comatiple to the old Gauche. * The hash function for char-set behaved poorly, so we changed it. If you have saved the hash value of char-sets in the previous versions of Gauche, you need to recalculate them. * We no longer coerce the result to inexact when dividing an exact numebr by exact zero; we used to return +inf.0, but that interpretation is no longer allowed since R6RS. Now it raises an error. * It is now an error to pass strings containing NUL characters to external libraries that expects strings. For example, passing "foo.scm\0.exe" to open-input-file throws an error. Allowing it would make potential security issue. If you need to pass a byte array that may contain 0, consider using u8vector instead of strings. * copy-bit-field: The argument order is switched - Gauche was following the old SLIB interface, but it was changed during SRFI-60 discussion. We now comply the new argument order for the portability, and the old code that uses this procedure need to be changed. * rfc.uri: Use uppercase for percent-encoding of special chars, as recommended in RFC3986. Watch out if the code relying on the case of percent-encoding. * srfi-13: Switched the argument order of string-filter and string-delete; they are changed after finalization, to be in sync with srfi:13's reference implementation. (Usually reference implementation is fixed to match the spec, but in this case, quite a few Scheme implementations had been using the reference implementation as it was, and changing it would have broken existing code.) Fortunately we could support both order so that the existing code will keep working, but we recommend to change the code to match the new order if possible. Miscellaneous fixes * Fix: thread-terminate! caused SEGV when called on a thread that's not running. * Fix: Character reader produced incorrect values in some #\uxxxxx input. * Fixed incorrect/missing stack traces, contributed from Vitaly Magerya. * Fixed subtle bugs in conversion between rationals and flonums. * util.match: Fixed match-define. * force: Fixed leak, introduced between 0.9.2 and 0.9.3. * write-ber-integer ignored the port argument. * gauche.net: On Windows, the socket code had a fd leak. * text.diff: diff ignored :equal keyword argument. * rfc.tls: Fixed file descriptor leak. * rfc.json: Propertly handles surrogate pairs. * unwind-protect: The cleanup handler wasn't called properly if the process exits within the body.
2014-07-21 09:40:07 +02:00
$NetBSD: distinfo,v 1.32 2014/07/21 07:40:07 enami Exp $
Update gauche to 0.9.4. Changes are: Release 0.9.4 Major feature upgrade * R7RS support * Notable improvements * A bunch of new procedures and enhancements * Tons of bug fixes + Fixes that may break the compatibility + Miscellaneous fixes R7RS support Gauche now supports R7RS-small ( http://r7rs.org/ ). It can load R7RS libraries and execute R7RS scripts seamlessly. (There are minor caveats; see ref:Standard conformance). See also ref:Library modules - R7RS integration for the details of how R7RS is integrated. The backward compatibility to the legacy Gauche code is kept as much as possible; in short, you can keep using existing Gauche code and write new code in pretty much the same way. It's up to you to write code in traditional Gauche way or R7RS way: If you plan to make the code portable, you may want to stick with R7RS, but if you need to depend on lots of Gauche-specific libraries, there's not much point to adopt R7RS structure, for you can't run it in other implementations anyway. Notable improvements * REPL is slightly improved: You can access history (ref:Working in REPL). And describe shows known bindings when called on symbols. The default writer now do not show shared structures, for it confused newcomers; it still shows circular structures in srfi:38 notation. * data.random: Random data generators. * math.prime module for lazy sequence of primes, testing primality, and prime factorization. * srfi-106: Basic socket interface. * PIPE signal handling is changed. By default, Gauche effectively ignores SIGPIPE; the system calls will generate EPIPE system-error instead. Since the signal delivery timing differ in the Scheme world from C world, handling SIGPIPE reasonably is difficult, while handling system error is straightforward and synchronous. Note that EPIPE error from stdout and stderr terminates the process immediately, so that the Gauche script don't spit error messsages when used in command pipelines and the destination command exits prematurely. See ref:Handling signals for the details. * write and display is now R7RS; that is, they won't explode by circular structures. * On Windows, system interface functions now properly handles multibyte filenames, command-line arguments and enviornment variables. Contribution from SAITO Atsushi. A bunch of new procedures and enhancements * New numerical procedures: + On rationalization: rationalize, real->rational, continued-fraction; see Gauche-blog:20120925-rationalize. As a bonus, now converting flonums to exact number can produce more readable (simple) rational numbers; see Gauche-blog:20120930-exact. + On integer operations: exact-integer? (r7rs) expt-mod, twos-exponent, twos-exponent-factor, + Gamma functions: gamma, lgamma. + r7rs division operators floor/, floor-quotient, floor-remainder, truncate/, truncate-quotient, truncate-remainder. * expt now returns exact value if possible, even the exponent is non-integer (but exact rational). * New list and vector procedures: length<=?, list-set!, vector-map (r7rs), vector-for-each (r7rs), vector-tabulate. * New regex procedures: rxmatch-substrings, rxmatch-positions, rxmatch-named-groups. + Also, regex objects now have read-write invariance. * rfc.json: Now you can customize mappings between json array/object and Scheme objects. Also parse-json* is added to parse multiple JSON objects from a single source. * gauche.generator: New procedures: gconcatenate, gmerge, gbuffer-filter. * gauche.lazy: New procedure: lconcatenate * gauche.uvector: + u8vector-multi-copy!, u8vector-append (and all other TAG variations). + string->u8vector etc.: Added immutable? optional argument to produce immutable uvector, which avoids copying the string contents. u8vector-> string also avoids copying if the source vector is immutable. * rfc.http: Support for basic authentication added. * file.filter: file-filter may leave the destination file untouched if it won't be changed, by :leave-unchanged option. Also added new procedures: file-filter-for-each, file-filter-fold, file-filter-map. * You can now load script from non-regular files (e.g. device files). Useful for one-liner such as gosh -E... /dev/null. * Char-set now adopts collection framework, and also they're applicable object to test membership. * Trie (util.trie) now adopts dictionary framework. * make-tree-map accepts single compare argument instead of = and <. * rfc.hmac: Pick appropriate block size according to the digest algorithm metaclasses. * string-split: Accept an optional argument to limit the number of the result, much like Perl's similar operator. * command-line (r7rs) * include and include-ci (r7rs) * util.sparse: sparse-vector-ref and sparse-table-ref now have generalized setters. * symbol=?, boolean=? (r7rs). * Reader supports #true and #false for r7rs. * Negative zeros (-0.0) are recognized when it matters. * generator-find * cond-expand supports library clause (r7rs). * text.unicode: utf8->string, string->utf8 (r7rs); string-ci=? etc. that handles Unicode full case mapping, as required by R7RS. * dotimes and dolist now supports omission of variable. * letrec* (r7rs). * rfc.base64: base64-decode and base64-encode support :url-safe keyword argument to use url-safe alternative characters. * syntax-rules: Support r7rs enhancements. * define-values: Made r7rs compliant. * sys-errno->symbol, sys-symbol->errno. * Built-in sort procedures now supports srfi-95. See ref:Comparison and sorting. * digit->integer, integer->digit: Extended to handle digit characters other than [0-9]; Unicode defines a bunch of them. * gauche.dictionary: Bimap can have default conflict resolution. * os.windows: Console procedures are enhanced. Contribution from github.com/ Hamayama. Tons of bug fixes Fixes that may break the compatibility * The reader syntax \xNN is now interpreted as R7RS-way by default (semicolon-terminated, Unicode codepoint). If we don't find the terminating semicolon, we interpret it as the legacy syntax. However, there are ambiguous cases that lead to incompatible behavior. You can switch the reader mode by reader-lexical-mode to make it fully comatiple to the old Gauche. * The hash function for char-set behaved poorly, so we changed it. If you have saved the hash value of char-sets in the previous versions of Gauche, you need to recalculate them. * We no longer coerce the result to inexact when dividing an exact numebr by exact zero; we used to return +inf.0, but that interpretation is no longer allowed since R6RS. Now it raises an error. * It is now an error to pass strings containing NUL characters to external libraries that expects strings. For example, passing "foo.scm\0.exe" to open-input-file throws an error. Allowing it would make potential security issue. If you need to pass a byte array that may contain 0, consider using u8vector instead of strings. * copy-bit-field: The argument order is switched - Gauche was following the old SLIB interface, but it was changed during SRFI-60 discussion. We now comply the new argument order for the portability, and the old code that uses this procedure need to be changed. * rfc.uri: Use uppercase for percent-encoding of special chars, as recommended in RFC3986. Watch out if the code relying on the case of percent-encoding. * srfi-13: Switched the argument order of string-filter and string-delete; they are changed after finalization, to be in sync with srfi:13's reference implementation. (Usually reference implementation is fixed to match the spec, but in this case, quite a few Scheme implementations had been using the reference implementation as it was, and changing it would have broken existing code.) Fortunately we could support both order so that the existing code will keep working, but we recommend to change the code to match the new order if possible. Miscellaneous fixes * Fix: thread-terminate! caused SEGV when called on a thread that's not running. * Fix: Character reader produced incorrect values in some #\uxxxxx input. * Fixed incorrect/missing stack traces, contributed from Vitaly Magerya. * Fixed subtle bugs in conversion between rationals and flonums. * util.match: Fixed match-define. * force: Fixed leak, introduced between 0.9.2 and 0.9.3. * write-ber-integer ignored the port argument. * gauche.net: On Windows, the socket code had a fd leak. * text.diff: diff ignored :equal keyword argument. * rfc.tls: Fixed file descriptor leak. * rfc.json: Propertly handles surrogate pairs. * unwind-protect: The cleanup handler wasn't called properly if the process exits within the body.
2014-07-21 09:40:07 +02:00
SHA1 (Gauche-0.9.4.tgz) = 2f0068d19adbc8e7fd3c04ab8e6576d0fac21ad6
RMD160 (Gauche-0.9.4.tgz) = 88f44c10badc4d4be463ee0c84a0b4065d53dc00
Size (Gauche-0.9.4.tgz) = 5601987 bytes
SHA1 (patch-aa) = 9f740c5e0b5e761a5bf2ba2a5920a867f97d5847
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, <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?.
2009-11-27 10:26:06 +01:00
SHA1 (patch-af) = 0741e1a047ee7935bffa215a69cc417ba67b81f2
Update Gauche from 0.8.6 to 0.8.9. 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:
2007-01-19 13:59:00 +01:00
SHA1 (patch-ag) = ee9946e364d6723b0efe3b260fc5d02ccb04621d