2010-12-16 07:58:20 by enami tsugutomo | Files touched by this commit (1) |
Log message:
Fix the location of SITE_ARCH_DIR. It was changed not to include
full gauche version in r6983 of sourceforge repository.
|
2010-12-16 04:42:09 by Aleksej Saushev | Files touched by this commit (6) |
Log message:
Update to Gauche 0.9.1
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.
|
2010-02-25 20:07:53 by Joerg Sonnenberger | Files touched by this commit (1) |
Log message:
Allow rpath into WRKSRC, the package knows about relinking itself.
|
2010-02-20 14:51:13 by OBATA Akio | Files touched by this commit (2) |
Log message:
Add user-destdir support, inspired by Gauche.spec in source tarball.
|
2010-01-05 14:21:23 by Tobias Nygren | Files touched by this commit (2) |
Log message:
remove incomplete libtoolization. I don't remember what problem
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
|
2009-11-29 14:01:06 by enami tsugutomo | Files touched by this commit (3) |
Log message:
Make lang/gauceh work on arm baed NetBSD.
- Don't define DOUBLE_ARMENDIAN if netbsd.
- Backport alignment problem fix from trunk.
|
2009-11-27 10:26:07 by enami tsugutomo | Files touched by this commit (10) |
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?.
|
2009-10-06 20:30:42 by Joerg Sonnenberger | Files touched by this commit (2) |
Log message:
Unmark destdir ready, it tries to run a program during install.
Fix PLIST. Bump revision.
|
2009-06-14 22:34:16 by Joerg Sonnenberger | Files touched by this commit (29) |
Log message:
Replace @exec/@unexec with @pkgdir or drop it.
|
2009-06-14 20:03:45 by Joerg Sonnenberger | Files touched by this commit (167) |
Log message:
Remove @dirrm entries from PLISTs
|