Hello,

at http://me.in-berlin.de/~v12/krischan/Jacl you can find some
patches and files, which provides the following improvements to Jacl:

File Jacl.patch contains the following improvements:

* ArrayCmd: The "set" subcommand no longer allows array names like foo(bar).
  It also sets the variable to an array, even if the entry/value list is empty.

* FormatCmd: Left justify for negative precision. Truncate a string if it is
  longer than the given precision. Pad with 0 if width starts with a 0.

* LreplaceCmd: Return {} for "lreplace {} end end" instead of throwing
  an error.

* LsearchCmd: Implemented new modes/options -ascii, -decreasing, -dictionary,
  -increasing, -integer, -real, and -sorted. Now passing 8.4 test.
  Failing miserably on test tcl/LsearchCmd.test, which should be removed.

* LsortCmd:  Implemented new option -unique. Now passing 8.4 test.

* Parser: Parse unicode escapes, even if they are shorter than 4 chars.

* QSort: Method sort() has additional boolean argument unique.
  Moved doDictionary() to Util.dictionaryCompare().

* ScanCmd: Nearly complete rewrite, new formats %n and %i, also return the
  scanned objects as list (inline scan), if called without variable names.
  Now passing 8.4 test.

* TclList: New method sort() with additional boolean argument unique.

* Util: Moved QSort.doDictionary() to dictionaryCompare() (and bug fixed it).

* TclIndex: 8.1 compatible error messages for option list with just 2 values.



File TclTest.patch contains the following:

* Makefile.in: For target test_jacl.exec now simply give all.tcl as argument
  instead of piping all the commands per standard input to the Shell.

* defs: Removed all the stuff, that is now defined by tcltest.tcl

* inprogress/*.test, jacl/*.test: Replaced the leading "source def" lines
  by correspondend "package require tcltest" and add trailing cleanup.
  This should be done in tcljava/*.test, too...

* inprogress/Glob.test: Removed "defs oriented" stuff. Now expecting
  8.1 compatible error messages.

* jacl/Interp.test: Added missing braces around list of expected results.

* tcljava/JavaInfoCmd.test: Now expecting 8.1 compatible error messages.

For this patch to run there are the following three new file needed (all in
the tests subdirectory):

* all.tcl: The TclJava test suite driver. Modified copy of Tcl's all.tcl.

* tcltest.tcl: Unmodified copy of Tcl's tcltest.tcl

* pkgIndex.tcl: Contains just the tcltest package.

For full fun you can replace the tests/tcl directory by a soft link to
.../tcl8.4/tests. Be sure to change rename.test, since it destroys the
incr command which is needed by the tcltest package itself. Just move the
if clause behind test 6.1 inside the test before the last line ("set msg").

Greetings, Krischan

P.S.: Don't expect to see another patch from me within the next weeks.
My vacation will start on friday, and here in Germany the holidays
are usually a little bit longer than in USA :-)
-- 
Christian Krone, SQL Datenbanksysteme GmbH

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to