head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.28 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.26 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.24 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.22 pkgsrc-2011Q2-base:1.7 pkgsrc-2009Q4:1.7.0.20 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.18 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.16 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.14 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.12 pkgsrc-2008Q2-base:1.7 pkgsrc-2008Q1:1.7.0.10 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.8 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.6 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.4 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.2 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.6.0.8 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.6 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.4 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.2 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.5.0.2 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.4.0.6 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.4 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.3.0.6 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2007.01.19.12.59.01; author uebayasi; state dead; branches; next 1.6; 1.6 date 2005.12.30.14.18.52; author joerg; state Exp; branches; next 1.5; 1.5 date 2005.12.09.15.38.54; author uebayasi; state dead; branches; next 1.4; 1.4 date 2005.01.16.08.57.55; author kei; state Exp; branches; next 1.3; 1.3 date 2004.03.29.09.34.27; author kei; state Exp; branches; next 1.2; 1.2 date 2001.07.15.13.52.29; author minoura; state dead; branches; next 1.1; 1.1 date 2001.05.31.09.56.59; author minoura; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.05.31.09.56.59; author minoura; state Exp; branches; next ; desc @@ 1.7 log @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: @ text @$NetBSD: patch-ac,v 1.6 2005/12/30 14:18:52 joerg Exp $ --- gc/include/gc_config_macros.h.orig 2005-12-30 13:35:00.000000000 +0000 +++ gc/include/gc_config_macros.h @@@@ -87,7 +87,7 @@@@ # define GC_DARWIN_THREADS # define GC_PTHREADS # endif -# if !defined(GC_PTHREADS) && defined(__FreeBSD__) +# if !defined(GC_PTHREADS) && (defined(__FreeBSD__) || defined(__DragonFly__)) # define GC_FREEBSD_THREADS # define GC_PTHREADS # endif @ 1.6 log @Add DragonFly support. Fix isnan and isinf detection. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Update gauche to 0.8.6. Patch provided by Kenji Hisazumi. From this release we don't use external Boehm GC library because gauche needs GC to be built with special compilation options. New features in 0.8.6: * New modules: + dbi: Database independent access layer, providing unified access to various relational databases. You need separate "driver" packages to access the actual RDBMS. There are a few driver packages available at http://www.kahua.org/cgi-bin/kahua.fcgi/kahua-web/show/dev/DBI/. Note: If you have been using the separate dbi module, make sure you remove it before using the new dbi and dbd modules. You can find the old dbi.scm under somewhere like /usr/local/share/gauche/site/lib (the actualy directory depends on the configuration when you've installed the dbi module). + util.relation: A framework to work with relations (as defined by Codd). The result of database access via dbi is represened as a relation. + text.sql: SQL parser/constructor. Full features are not implemented yet, but used in dbi module for prepared queries. * New SRFIs: + SRFI-40 (Library of streams) as util.stream. + SRFI-43 (vector library) as srfi-43. + SRFI-45 (Primitives for Expressing Iterative Lazy Algorithms) : built-in. * New built-in proceduers global-variable-bound? and glboal-variable-ref. The former supersedes symbol-bound? ( symbol-bound? is now deprecated and will go away in the future releases. Code that uses symbol-bound? should change it to global-variable-bound?. ). The latter removes some need of using eval just to peek the value of the global variable. * New regexp procedures: regexp-replace*, regexp-replace-all*, regexp-case-fold?. * Stack overflow handling is largely improved. You can see better performance if your script frequently oveflows the stack. 0.8.5 was a maintainance release. 0.8.4: Gauche 0.8.4: The compiler and VM have been rewritten. Now Gauche runs faster with less memory (as fast as 1.9x, or cosumes 0.7x memory, in best cases of our tests. But your mileage may vary.) The compiler now does simple closure optimization, so the typical loop-by-local-closure style code will get the advantage. On the other hand, you won't see much gain in OO-heavy or library-heavy programs. Other changes: * New features: + srfi-42 (Eager comprehension) is supported. + srfi-55 (require-extension) is supported. + A simple sampling profiler is implemented to help tuning programs. Check out "Profiling and tuning" section of the reference manual. The profiler may not be available on all platforms. + We provide an experimenal Windows/MinGW binary package for the convenience. See download page. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2005/01/16 08:57:55 kei Exp $ d3 11 a13 50 --- src/Makefile.in.orig 2004-11-22 07:36:28.000000000 +0900 +++ src/Makefile.in 2005-01-16 17:42:25.000000000 +0900 @@@@ -46,7 +46,7 @@@@ # These are set by configure DEFS = @@DEFS@@ OPTFLAGS = @@OPTFLAGS@@ -INCLUDES = -I$(srcdir) -I$(srcdir)/../gc/include @@LOCAL_INC@@ +INCLUDES = -I$(srcdir) -I@@prefix@@/include/gc @@LOCAL_INC@@ RANLIB = @@RANLIB@@ OBJEXT = @@OBJEXT@@ EXEEXT = @@EXEEXT@@ @@@@ -81,10 +81,7 @@@@ SITE_ARCH_DIR = $(GAUCHE_ARCH_DIR)/site/@@GAUCHE_VERSION@@/@@host@@ ARCH = @@host@@ -INSTALL_HEADERS = gauche.h \ - ../gc/include/gc.h \ - ../gc/include/gc_config_macros.h \ - ../gc/include/gc_pthread_redirects.h +INSTALL_HEADERS = gauche.h INSTALL_SUBHEADERS = gauche/config.h gauche/vm.h gauche/vminsn.h \ gauche/char_euc_jp.h gauche/char_utf_8.h \ gauche/char_sjis.h gauche/char_none.h \ @@@@ -108,7 +105,7 @@@@ # build ----------------------------------------------- -GCLIB = ../gc/libgc.la +GCLIB = @@prefix@@/lib/libgc.la gosh_SOURCES = main.c gosh_OBJECTS = main.$(OBJEXT) @@@@ -140,7 +137,7 @@@@ $(LINK) $(gosh_LDFLAGS) -o gosh$(EXEEXT) $(gosh_OBJECTS) $(gosh_LDADD) $(LIBS) relink : - $(RELINK) $(libgauche_LDFLAGS) libgauche.$(SOEXT) $(libgauche_OBJECTS) ../gc/*.lo $(LIBS) + $(RELINK) $(libgauche_LDFLAGS) libgauche.$(SOEXT) $(libgauche_OBJECTS) @@prefix@@/lib/libgc.$(SOEXT) $(LIBS) $(RELINK) $(gosh_LDFLAGS) -o gosh$(EXEEXT) $(gosh_OBJECTS) $(gosh_LDADD) $(LIBS) $(OBJECTS) : $(HEADERS) @@@@ -164,7 +161,7 @@@@ load.$(OBJEXT) : dl_dlopen.c dl_dummy.c dl_win.c dl_darwin.c libgauche.$(SOEXT) : $(libgauche_OBJECTS) $(GCLIB) - $(LINK) $(libgauche_LDFLAGS) libgauche.$(SOEXT) $(libgauche_OBJECTS) ../gc/*.lo $(LIBS) + $(LINK) $(libgauche_LDFLAGS) libgauche.$(SOEXT) $(libgauche_OBJECTS) @@prefix@@/lib/libgc.$(SOEXT) $(LIBS) $(POSTBUILD) gauche/arch.h : @ 1.4 log @updated Gauche to 0.8.3. changelog follows. it now builds with boehm-gc-6.x. 2004/12/2 Gauche 0.8.3: Bug fix release It turned out that 0.8.2's source-code encoding detection feature had a bug; if you're using Windows-style (CRLF) line-separator, the coding-aware port repeats one character at the beginning of the second line. It doesn't do any harm if first few lines of your code are comments, but it's annoying when you stumbled on it, so I decided to release a fixed version. This release also includes a couple of improvements: The coding-aware ports recognizes Emacs-style coding name (e.g. euc-jp-unix) and just ignores the Emacs-specific suffix (e.g. -unix). And external representations of f32vector and f64vector are now accurate. 2004/11/29 Gauche 0.8.2: Major revision of infrastructure. * New features - A condition (exception) system a la srfi-35 and (part of) srfi-36 is supported. Used with guard (srfi-34), now it is possible to handle exceptions in more comprehensive way. See the "Exception" section of the manual, which has been rewritten accordingly. - Source-code encoding detection. Now Gauche recognizes a special comment like "coding: utf-8" near the beginning of the source file, and use appropriate conversion to load the source file. See "Multibyte Script" section of the manual for the details. This feature alone can be used independently from loading programs, via coding-aware ports, so the programs that processes Scheme scripts can also recognize the special comments. - Virtual ports are supported. Virtual ports are the ports whose behavior can be customized in Scheme. See the description of gauche.vport module in the manual for the details. * Improvements - Updated GC to Boehm GC 6.3. It fixes some GC-related problems on 64bit architectures. - gauche.fcntl: F_GETOWN and F_SETOWN are supported, if the system provides them. - gauche.termios: c_cc field of struct termios is now accessible from Scheme. (Thanks to Kogule Ryo). - gauche.uvector: Added string->s8vector! and string->s8vector!. TAGvector-copy!'s API is changed so that it matches with srfi-13's string-copy! and srfi-43's vector-copy!. - Port implementation is cleaned up. Now line count is available not only for file ports but any ports (as far as it's doing character I /O). byte-ready? is added for binary I/O polling. - text.csv: quote character is customizable. * Bug fixes - INCOMPATIBLE CHANGE: The previous version's rfc.mime's API was broken. It couldn't handle MIME part whose message was non-encoded binary. Now MIME part stream parser is re-implemented using virtual ports, and the reader argument passed to the MIME part handler is dropped. www.cgi is also affected if you're using customized handler for file uploads. See the reference manual for the new API. - SONAME of the library is now set, if the platform supports it. - gauche.array: Some functions were not exported, although they were mentioned in the manual. - gauche.charconv: Fixed a bug in converting 2nd plane of JIS. - gauche.regexp: regexp-replace-all looped infinitely for some patterns. Now it raises an error. - dbm.fsdbm: It couldn't store binary data. - rfc.822: rfc822-parse-date returned wrong month number (off by one). - util.match: Fixed a bug in quasipattern. The description of quasipatterns in the reference manual is also revised to explain it better. - srfi-19: date->julian-day didn't recognize tz-offset. - Some bugs in numeric code are fixed. - let-args had a bug in parameter handling of 'else' clause. - directory-list: when :filter-add-path? is true, there was a bug that "." and ".." were included in the results even :children? argument was true. - There was a bug that causes an infinite loop during class redefinition. - let-keywords*: fixed a bug that corrupts expansion when used in r5rs macro. * C API Change - Class initialization API is overhauled. Scm_InitBuiltinClass is obsoleted; use Scm_InitStaticClass instead. - Port structure is changed quite a bit. - Functions to convert Scheme integers to C integers are revised, to handle out-of-range error in more flexible way. - API of Scm_Load, Scm_LoadFromPort and related functions are changed to support more flags. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2004/03/29 09:34:27 kei Exp $ @ 1.3 log @Updated Gauche package to latest release, 0.7.4.2. Many changes were made from previous packaged version, 0.6.3; Lots of improvements and bug fixes, including security ones. Please take a look at its WWW page for more detailes. http://www.shiro.dreamhost.com/scheme/gauche/ pkgsrc changes: - support buildlink2. buildlink3.mk is also added but not tested since I have not moved to buildlink3 environment yet. - this package now uses libgcudevel/boehm-gc instead of self contained, slightly modified one. It seems that this package runs under m68k. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- src/Makefile.in.orig 2004-01-27 20:08:04.000000000 +0900 +++ src/Makefile.in 2004-03-29 11:06:50.000000000 +0900 d14 1 a14 1 @@@@ -80,10 +80,7 @@@@ d26 1 a26 1 @@@@ -99,7 +96,7 @@@@ d35 1 a35 1 @@@@ -131,7 +128,7 @@@@ d39 1 a39 1 - $(RELINK) $(libgauche_LDFLAGS) libgauche.$(SOEXT) $(libgauche_OBJECTS) ../gc/.libs/*.o $(LIBS) d44 1 a44 1 @@@@ -153,7 +150,7 @@@@ d48 1 a48 1 - $(LINK) $(libgauche_LDFLAGS) libgauche.$(SOEXT) $(libgauche_OBJECTS) ../gc/.libs/*.o $(LIBS) @ 1.2 log @Updated to 0.4.2. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2001/05/31 09:56:59 minoura Exp $ d3 50 a52 11 --- ext/charconv/configure.orig Wed May 30 18:06:30 2001 +++ ext/charconv/configure Thu May 31 10:38:46 2001 @@@@ -548,7 +548,7 @@@@ case $with_iconv in no|yes) ;; - *) CPPFLAGS="$CPPFLAGS -I$with_iconv" ;; + *) CPPFLAGS="$CPPFLAGS -I$with_iconv"; LIBS="$LIBS -liconv" ;; esac else with_iconv=yes @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Gauche, yet another R5RS scheme implementation. @ text @@