pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gauche



Module Name:    pkgsrc
Committed By:   enami
Date:           Fri Nov 27 09:26:07 UTC 2009

Modified Files:
        pkgsrc/lang/gauche: Makefile PLIST distinfo
        pkgsrc/lang/gauche/patches: patch-ab patch-af
Removed Files:
        pkgsrc/lang/gauche/patches: patch-ae patch-ah patch-ai patch-aj
            patch-ak

Log Message:
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?.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/lang/gauche/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/gauche/PLIST
cvs rdiff -u -r1.23 -r1.24 pkgsrc/lang/gauche/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/gauche/patches/patch-ab
cvs rdiff -u -r1.12 -r0 pkgsrc/lang/gauche/patches/patch-ae
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/gauche/patches/patch-af
cvs rdiff -u -r1.5 -r0 pkgsrc/lang/gauche/patches/patch-ah
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/gauche/patches/patch-ai \
    pkgsrc/lang/gauche/patches/patch-aj pkgsrc/lang/gauche/patches/patch-ak

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index