summaryrefslogtreecommitdiff
path: root/devel/slib
AgeCommit message (Collapse)AuthorFilesLines
2008-03-04Update to 3b1 (3.2.1):wiz3-9/+10
slib-3b1 news: * Larceny (Scheme) is supported. From Ivan Shmakov: * scheme48.init (slib:os-strings): Fixed init for 1.7 (and 1.3). (defmacro:eval, defmacro:load): Fixed. From Rob Browning: * guile.init (implementation-vicinity): Just (%site-dir). (file-position, gentemp): module-replace! (library-vicinity): Try (%search-load-path "slib/guile.init"). From Aubrey Jaffer: * Logo and icon. * Added program-arguments to System-Interface section in Manual. * *.init: implementation-vicinity can be overridden by implementation-specific environment variable: MITSCHEME_IMPLEMENTATION_PATH VSCM_IMPLEMENTATION_PATH STK_IMPLEMENTATION_PATH RSCHEME_IMPLEMENTATION_PATH JSCHEME_IMPLEMENTATION_PATH GAMBIT_IMPLEMENTATION_PATH ELK_IMPLEMENTATION_PATH CHEZ_IMPLEMENTATION_PATH BIGLOO_IMPLEMENTATION_PATH GUILE_IMPLEMENTATION_PATH MZSCHEME_IMPLEMENTATION_PATH * FAQ, slib.spec, Makefile: Always put - between slib and version. * byte.scm: Rewritten based on uniform arrays. * random.scm (random): Err when passed negative number. * srfi-1.scm (lset<=): Fixed to use first argument. * transact.scm (word:lock!): Don't try to read file until after call-with-open-ports returns. (describe-file-lock): Handle case when file isn't locked. (windows:user-email-address): Much simplified; updated to Windows-XP from Windows-95. (describe-file-lock): Added diagnostic to current-error-port. * rdms.scm (open-table): Return #f for failure per documentation. * solid.scm (light:point, light:spot): Fixed. * prec.scm (prec:parse-delimited): First (recursive) clause was missing argument. * determ.scm (matrix:inverse, matrix->lists): Corrected documentation. * clrnamdb.scm, resenecolours.txt: Updated to Resene-2007. * slib.texi (Spectra): Clarified action of features cie1964, cie1931, and ciexyz. * glob.scm, slib.texi: Removed glob as alias for filename. * dirs.scm: Require 'filename instead of 'glob. * require.scm: Condition SRFI scan on srfi-0. * mklibcat.scm: Feature-name is srfi-0 (was srfi). * mbe.scm (macro:eval): defmacro:eval. (macro:load): defmacro:load. * defmacex.scm (defmacro:expand*): Use macroexpand instead of macroexpand-1 in preparation for macroexpand-1 deprecation. * slib.nsi: Added *.init files. * README (Implementation-specific Instructions): Updated. * scheme48.init (char-code-limit): 128; does ascii conversions. (1+, -1+): Removed; choked Scheme48-1.7. Added SRFIs as found in Scheme-48 release-notes. (scheme-implementation-version): Lose text after number. (program-arguments): Removed dummy definition. * scsh.init (program-arguments): Defined to command-line per http://practical-scheme.net/wiliki/schemexref.cgi?command-line (library-vicinity, implementation-vicinity): Find path once. * scheme2c.init, kawa.init, umbscheme.init (implementation-vicinity): find path once. * vscm.init (slib:features): Added macro. * RScheme.init (slib:features): Added defmacro. * mzscheme.init (slib:features): Added syntax-case. * guile.init, sisc.init (macro:load): slib:load-source. * umbscheme.init, pscheme.init (defmacro:eval, defmacro:load): Simplified. * kawa.init, mitscheme.init, bigloo.init, gambit.init, jscheme.init: (re)moved some comments. * Template.scm, t3.init, STk.init, macscheme.init, scheme2c.init, scsh.init, chez.init, elk.init (slib:features): Added defmacro. * guile.init ((ice-9 slib)): "ice-9/slib.scm" doesn't become valid (and shorter) until version guile-1.8.3. * mzscheme.init: Renamed from DrScheme.init. (slib:features): Added format. (slib:load-compiled): Handle SRFI requires. * Makefile (catalogs): Copy "mkpltcat.scm" to "mkimpcat.scm" in mzscheme's implementation-vicinity. (mkfiles): Added "mkpltcat.scm". * mkpltcat.scm: "mkimpcat.scm" for mzscheme which adds all supported SRFIs to the catalog. * Makefile (ciefiles): Separated from Scheme sourcefiles. (test): Unmaintained target removed.
2008-01-05Added support for installation to DESTDIR.heinz1-6/+8
2007-11-29Update to 3a5:wiz4-14/+18
2007-11-28 Aubrey Jaffer <agj@alum.mit.edu> * slib.sh (Usage): Updated implementation list. * slib.texi (The SLIB script): Updated implementation list. 2007-11-27 Aubrey Jaffer <agj@alum.mit.edu> (slib:load): Broken for Guile-1.6.7; conditioned 1.8 code. 2007-11-27 Rob Browning * guile.init (implementation-vicinity): Just (%site-dir). (file-position, gentemp): module-replace! (library-vicinity): Try (%search-load-path "slib/guile.init"). 2007-11-23 Aubrey Jaffer <agj@alum.mit.edu> * require.scm (*slib-version*): Bumped from 3a4 to 3a5. * Makefile (new): Update jacal.texi. 2007-11-22 Aubrey Jaffer <agj@alum.mit.edu> * mkclrnam.scm (load-rgb-txt): Added parser for Color-Naming-Experiment. 2007-11-03 Aubrey Jaffer <agj@alum.mit.edu> * slib.texi (Input/Output): Added file-position. * elk.init, jscheme.init, kawa.init, macscheme.init, mitscheme.init, RScheme.init, bigloo.init, guile.init, pscheme.init, scheme2c.init, scheme48.init, scsh.init, sisc.init, STk.init, Template.scm, gambit.init, t3.init, umbscheme.init, vscm.init (file-position): Added procedure to set and retrieve file position. 2007-10-20 Aubrey Jaffer <agj@alum.mit.edu> * DrScheme.init (slib:require): Removed superfluous definition. 2007-10-13 Aubrey Jaffer <agj@alum.mit.edu> * slib.texi (System): Cleaned up browse-url entry. * require.scm: Check up to srfi-150. 2007-09-23 Aubrey Jaffer <agj@alum.mit.edu> * guile.init (array?): Put in fix for (array? 'foo) returning #t. 2007-09-23 Robert Babbit * guile.init (system, delete-file, open-file, make-array): Changed from SET! to DEFINE and added Guile 1.8 module magic. 2007-09-04 Aubrey Jaffer <agj@alum.mit.edu> * sisc.init: SISC has defmacro, but not macroexpand. 2007-09-03 Aubrey Jaffer <agj@alum.mit.edu> * Makefile (srcdir.mk): Removed. (install*): Added $(DESTDIR) prefix. (ifiles): Added sisc.init. * ANNOUNCE, README, slib.sh, slib.texi: Added SISC. * sisc.init: Added. (slib:features): Added string-port. 2007-08-29 Aubrey Jaffer <agj@alum.mit.edu> * dbinterp.scm (dbinterp:memoize): LAST-PAIR replaces LIST-TAIL. (interpolate-from-table): Removed memoizing from get, isam-prev. * mklibcat.scm, slib.texi, FAQ (SRFI): Added srfi-28. 2007-08-26 Aubrey Jaffer <agj@alum.mit.edu> * FAQ (SRFI): Added section. * slib.texi (SRFI): Added srfi-94 and srfi-95. * Makefile (release): Update $(htmldir)SLIB.FAQ. 2007-08-24 Aubrey Jaffer <agj@alum.mit.edu> * slib.texi (SRFI): Added 94 and 95. 2007-08-16 Aubrey Jaffer <agj@alum.mit.edu> * array.scm (A:floR*b): Argument letter z --> x. (A:flo*d): Corrected typo (was A:flo*b); argument letter z --> q. (A:*): Coded TeXinfo explicitly to preserve procedure name case. 2007-07-24 Aubrey Jaffer <agj@alum.mit.edu> * schmooz.scm (pathname->local-filename): Renamed from pathname->filename; put returned filename in user-vicinity. 2007-07-22 Aubrey Jaffer <agj@alum.mit.edu> * schmooz.scm (pathname->filename): Added; complement to pathname->vicinity. (schmooz): Put generated .txi files in current directory. * Makefile (slib.fn): Removed. 2007-06-24 Aubrey Jaffer <agj@alum.mit.edu> * determ.scm (matrix:sum, matrix:difference): Added. (matrix:product): Extended to multiplication by scalar. 2007-06-18 Aubrey Jaffer <agj@alum.mit.edu> * Makefile (ifiles): Added kawa.init. * kawa.init: Added. getenv not available; so library-vicinity is hard-wired. * slib.texi (Bit-Twiddling): Added r6rs bitwise-bit-count. (Feature): Added kawa. * logical.scm (bitwise-bit-count): Added; returns negative integer for negative input. (logcount): Simplified in terms of bitwise-bit-count. 2007-06-08 Aubrey Jaffer <agj@alum.mit.edu> * Makefile: Changed to use "mkdir -p" (per Marijn Schouten). 2007-05-31 Aubrey Jaffer <agj@alum.mit.edu> * arraymap.scm (array-index-for-each): Added. (array-index-map!): Implemented in terms of array-index-for-each. 2007-05-01 Aubrey Jaffer <agj@alum.mit.edu> * xml-parse.scm: Finished converting documentation to schmooz. * mklibcat.scm (ssax): Added alias for xml-parse. 2007-04-30 Aubrey Jaffer <agj@alum.mit.edu> * xml-parse.scm (ssax:init-buffer): Made reentrant. (ssax:make-parser): Added argument length check. 2007-04-29 Aubrey Jaffer <agj@alum.mit.edu> * slib.texi (Parsing XML): Added. * Makefile (txiscms): Added xml-parse. * xml-parse.scm: Added (demacroized from public-domain SSAX 5.1). 2007-04-28 Aubrey Jaffer <agj@alum.mit.edu> * Makefile (slib.html): Make in unix for w32install because MinGW chokes on @syncodeindex. 2007-04-26 Aubrey Jaffer <agj@alum.mit.edu> * mklibcat.scm (let-values): Added as alias for srfi-11. * hash.scm: Reordered definitions to suit Kawa. 2007-04-25 Aubrey Jaffer <agj@alum.mit.edu> * slib.texi (Binding to multiple values): srfi-11 added. * srfi-11.scm: Added (http://srfi.schemers.org/srfi-11/srfi-11.html). 2007-04-19 Aubrey Jaffer <agj@alum.mit.edu> * comparse.scm, dbutil.scm, slib.texi, solid.scm: Don't break @ref fields over lines. * batch.scm (batch:initialize!): Keep atari.st for legacy code. 2007-04-13 Aubrey Jaffer <agj@alum.mit.edu> * slib.sh (Kawa): Now supported. * withfile.scm, trnscrpt.scm: Changed shadow bindings to not duplicate top-level names. * require.scm (slib:require, slib:require-if, slib:provide, slib:provided?): Reordered defines so Kawa loads successfully. 2007-04-07 Aubrey Jaffer <agj@alum.mit.edu> * differ.scm (diff:edits): Finding edits needs a larger fp array than finding edit-length. 2007-03-28 Aubrey Jaffer <agj@alum.mit.edu> * batch.scm (batch:initialize!): atari.st --> atari-st. * manifest.scm (feature->export-alist): path.scm --> path_scm. * cring.scm, wttree.scm: Replaced . with _ in identifier names for R4RS compatibility. * collect.scm (reduce): Support both comlist (2-argument) variant and the collect (> 2-argument) variant. * srfi-1.scm (reduce): Support both comlist (2-argument) variant and the SRFI-1 (3-argument) variant. 2007-03-26 Aubrey Jaffer <agj@alum.mit.edu> * slib.texi (Sorting): Added srfi-95. * require.scm (slib:report, slib:report-locations): Changed shadow bindings to not duplicate top-level names. Code cleanup. * root.scm (integer-sqrt): Removed (now in "math-integer.scm"). * mularg.scm (/, -): Removed gratuitous shadow binding. * mklibcat.scm (srfi-95): Added alias for sort. 2007-03-05 Jerry van Dijk * Makefile (w32install): Added target. * slib.nsi: NSIS Windows installer script. 2007-03-05 Aubrey Jaffer <agj@alum.mit.edu> * jscheme.init (force-output): Fixed typo. (scheme-implementation-version): 7.2. (gcd, lcm, round, atan, expt): Fixed some R5RS non-conformances. 2007-02-09 Taylor R. Campbell * mitscheme.init: TRANSFORMER-ITEM/EXPANDER is changed to STRIP-KEYWORD-VALUE-ITEM. 2007-01-28 Aubrey Jaffer <agj@alum.mit.edu> * guile.init (gentemp): Added because Guile deprecates it and puts space in symbol name. 2007-01-03 Aubrey Jaffer <agj@alum.mit.edu> * bytenumb.scm (ieee-float->bytes, ieee-double->bytes): Test for 0 and 0/0 only once. 2006-12-20 Aubrey Jaffer <agj@alum.mit.edu> * bytenumb.scm (ieee-float->bytes, ieee-double->bytes): Changed abs to magnitude to work with 0/0. 2006-12-06 Aubrey Jaffer <agj@alum.mit.edu> * qp.scm (qpn, qpr): Don't protect (capture) qp. 2006-11-23 Aubrey Jaffer <agj@alum.mit.edu> * slib.texi (Sorting): Removed outdated survey of implementations. * sort.scm (sort:sort-list!): Don't do key-wrap! unless given key argument. 2006-11-22 Ivan Shmakov * scheme48.init (delete-file): Rewrote using Posix unlink. 2006-11-17 Aubrey Jaffer <agj@alum.mit.edu> * elk.init (delete-file): Quoted filename to system. * scheme2c.init (delete-file, file-exists?): Quoted filename to system. * scheme48.init (delete-file): Quoted filename to system. * umbscheme.init (file-exists?, delete-file): Quoted filename to system. * vscm.init (file-exists?): Quoted filename to system. * batch.scm (batch:call-with-output-script): Quoted filename argument to chmod. 2006-11-10 Stéphane Rollandin * mwdenote.scm (mw:denote-of-define-macro, mw:denote-of-defmacro): Added. * mwexpand.scm (mw:expand): Don't expand DEFINE-MACRO args specs. 2006-11-06 Aubrey Jaffer <agj@alum.mit.edu> * slib.texi (Sorting): Made asymptotic constraints more detailed. * slib.texi (Sorting): Updated for limited KEY arg calling. 2006-11-05 Aubrey Jaffer <agj@alum.mit.edu> * sort.scm (sorted?, merge, merge!, sort, sort!): Call KEY arg at most once per element. 2006-11-04 Aubrey Jaffer <agj@alum.mit.edu> * modular.scm (modular:*): Normalize inputs. 2006-11-01 Aubrey Jaffer <agj@alum.mit.edu> * slib.texi: Eliminated cover texts from GFDL. 2006-10-29 Aubrey Jaffer <agj@alum.mit.edu> * grapheps.ps (fudge3): Abstracted divisible-by-3 mess.
2007-02-07Make pkglint happy.wiz1-3/+3
2007-02-07The 3a2 distfiles are not available anymore, so update to 3a4.drochner4-22/+39
Many changes, the most notable appear to be improved DFT support, addition of SRFI-94 (Type-Restricted Numerical Functions) and SRFI-23 (Error reporting mechanism), and some cleanup/fixing. See the ANNOUNCE file for details. There are reports that the 3a4 version breaks gnucash on Debian; neither wiz nor me could reproduce this.
2006-03-20* Nuke all references to and definitions of INFO_DIR in package Makefilesjlam2-6/+9
and replace with appropriate references to PKGINFODIR instead. * Properly account for split info files during installation. * Move info file listings directly into the package PLISTs. This fixes info-file-related PLIST problems.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2005-10-26PKGREVISION++, due to addition of patch-aa which fixes guile-slibgdt1-1/+2
installation
2005-10-26Fix buildling guile-slibadam3-2/+19
2005-10-19Changes 3.1.2:adam3-11/+14
* Minor improvements
2005-09-28Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,rillig1-4/+4
NO_BUILD, USE_LIBTOOL.
2005-06-16Create directories before installing files into them.jlam1-1/+3
2005-04-24Update to version 3a1perry3-11/+20
Bug fixes, performance improvements, documentation improvements, plus some functional additions such as a PostScript graph generator library.
2005-02-23Add RMD160 digests.agc1-1/+2
2004-04-24Relinquish maintainership of packages to tech-pkg@NetBSD.org.jlam1-2/+2
2004-04-18This does not need buildlink2. Add NO_CONFIGURE and NO_TOOLS.snj1-2/+3
2004-04-08Use ${PREFIX}/${INFO_DIR} instead of ${PREFIX}/info forreed1-2/+2
info documentation. (Okay'd by jlam.)
2004-02-16Remove info files entries from PLIST.seb1-2/+1
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2003-09-16Updated to 2.4.6. Patch provided by David S. <davids@idiom.com>xtraeme3-9/+14
via PR pkg/22185. Changes: New in slib2d6: * phil-spc.scm: Added Hilbert Space-Filling Functions. * ncbi-dna.scm: Read and manipulate NCBI-format nucleotide sequences. * differ.scm (diff:edits): Improved speed by 27%. * solid.scm (scene:viewpoint): Simplified; fixed pitch. (solid:extract-colors): Fixed color/elevations alignment. (solid:extract-colors, solid:extract-elevations): Fixed row-major. * solid.scm (solid:basrelief): Added VRML ElevationGrid. (solid:bry): Added "solid FALSE" and missing alternative clause. * solid.scm (scene:viewpoints): Restored Up and Down views. * html4each.scm (html-for-each): Rewrote for full quote hair. Removed require string-search; uses own multi-char version. * html4each.scm (html-for-each): "unterminated HTML entity" warning infinitely looped; changed to error. (htm-fields): Recover from HTML errors. * html4each.scm (htm-fields): Parses markup string. (html-for-each): Handle comments as markups. * html4each.scm (html:read-title): Added optional LIMIT (word-count) argument. * html4each.scm (html:read-title): Added. (html-for-each): Accept input-port for FILE argument. (html:read-title): Added check for first char being '<'. * uri.scm (uri->tree, make-uri): Fixed confusion of #f and "". * uri.scm (absolute-uri?): Added. * uri.scm (uri->tree): Corrected documentation. * db2html.scm (command:make-editable-table, command:modify-table): Improved null-keys treatment to work with multiple primaries. * db2html.scm (command:make-editable-table): foreign-choice-lists now opens the table. * slib.texi: Fixed database examples. * dbutil.scm (solidify-database): Fixed lock handling. * dbutil.scm (mdbm:report): Show lock certificates. (create-database, write-database, syncify-database, close-database): Lock database file for writing. (create-database): Allow initial #f filename. * transact.scm (transact-file-replacement): Accept (string) path to backup file in place of backup-style symbol. * charplot.scm (histobins): Gracefully return when no data. * soundex.scm (SOUNDEX): Character lookups use ASSV and MEMV. * qp.scm (qp:qp): Distinguish #f and 0 values for *qp-width*. * array.scm (make-array): Removed legacy procedures. * arraymap.scm (array-for-each): Use set-car! instead of reverse. * fft.scm (fft:shuffle&scale): Use bit-reverse from 'logical. * logical.scm (logical:logcount, logical:integer-length): Made tail-recursive. (logical:logxor, logical:logior, logical:logand): Made tail-recursive. * logical.scm (logical:ones): Return 0 for 0 argument. (gray-code->integer): Improved running time from O(b^2) to O(b*log(b)). * strsrch.scm (substring?, substring-ci?): Bum simple cases. (subskip): Split out common code from substring?, substring-ci?. (subloop): Old non-table-driven code for short substring?s. (substring?, substring-ci?): Compared measurements of subskip vs subloop; set breakpoint at STRLEN < CHAR-CODE-LIMIT/2 + 2*PATLEN. (substring-ci?, substring?): Refined; subloop for PATLEN <= 4. * strsrch.scm (count-newlines): Added. * slib.texi (Lists as sets): Updated UNION examples. * comlist.scm (comlist:union): Optimized for list lengths. * comlist.scm (comlist:list*): Make letrec top-level. * batch.scm (*operating-system*): gnu-win32 renamed from cygwin32. * batch.scm (*operating-system*): Detect MINGW32 (gcc on MS-DOS) as CYGWIN. * random.scm (random): Streamlined. (seed->random-state, random:chunk): Replaced BYTE with ARRAY. * random.scm (random): Don't get extra chunk when modu is integer multiple of 256. * slib.texi (Getopt): Fixed double dashes. * slib.texi (Getopt, Getopt Parameter lists): * getparam.scm (getopt->arglist, getopt->parameter-list): * getopt.scm (getopt, getopt--): Global variable *argv* replaces argc, argv arguments. Not the best solution -- but at least its consistent. * slib.texi (Plotting): Updated examples. * slib.texi (String Search): State search order for string-subst. * slib.texi (Copyrights): Fixed TeX formatting. * slib.texi (Rule Types): Split from Precedence Parsing Overview. (Precedence Parsing Overview): Describe binding power concept.
2003-08-09USE_NEW_TEXINFO is unnecessary now.seb1-2/+1
2003-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-25Convert to USE_NEW_TEXINFO.seb2-5/+3
2003-03-29Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.jmmv1-2/+2
2002-10-22Update to 2d4 (2.4.4) provided by David S. in PR 18625.wiz3-11/+19
2002-09-24Trivially use buildlink2.jlam1-1/+2
2002-02-18Introduce new framework for handling info files generation and installation.seb2-4/+5
Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information.
2001-11-01Move pkg/ files into package's toplevel directoryzuntum2-1/+1
2001-10-03Update guile-slib and slib to version 2.4.2 (slib-2d2). Changes fromjlam4-25/+22
version 2c8 include: New initialization files for DrScheme, Guile, and Scheme48-0.57. New modules: coerce.scm (implementation of Common Lisp coerce and type-of), differ.scm (O(NP) sequence comparison algorithm), http-cgi.scm (Service HTTP and CGI requests), pnm.scm (Read PNM image files), simetrix.scm (SI metric interchange format), srfi-1.scm, srfi.scm, and uri.scm (the URI functions from db2html.scm and some new ones). scmactst.scm, struct.scm, and structst.scm were removed due to lack of license. Package update provided by Eric Gillespie Jr. <epg@trantor.pretzelnet.org> in pkg/14008.
2001-04-21Move to sha1 digests, and/or add distfile sizes.wiz1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc3-6/+4
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-02-16Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2000-08-15Don't need special handling of .zip. Also some cosmetic changes.jlam1-13/+8
2000-06-21Update slib to version 2c8. Miscellaneous minor improvements and bugfixes.jlam3-8/+10
2000-02-23slib-2c7 - portable Scheme library of compatibility and utility functionsjlam7-0/+199