Subject: CVS commit: pkgsrc/devel/slib
To: None <pkgsrc-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: pkgsrc-changes
Date: 09/16/2003 18:51:35
Module Name:	pkgsrc
Committed By:	xtraeme
Date:		Tue Sep 16 18:51:33 UTC 2003

Modified Files:
	pkgsrc/devel/slib: Makefile PLIST distinfo

Log Message:
Updated to 2.4.6. Patch provided by David S. <davids@idiom.com>
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.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 pkgsrc/devel/slib/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/devel/slib/PLIST pkgsrc/devel/slib/distinfo

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