2003-05-05 Andreas Kupries * * Released and tagged Tcllib 1.4 ======================== * 2003-05-01 Pat Thoyts * split.tcl: Use the old non -start using version for < 8.3 * expander.tcl: Avoid use of [array unset] for Tcl 8.2 compat. 2003-04-10 Andreas Kupries * pkgIndex.tcl: * expander.man: * expander.tcl: Set version of the package to to 1.2 * pkgIndex.tcl: * textutil.man: * textutil.tcl: Fixed bug #614591. Set version of the package to to 0.5 2003-03-31 Andreas Kupries * tabify.tcl (tabify, untabify): Changed from regsub to string map This closes FR #693194 by David Welton . 2003-03-29 Andreas Kupries * expander.man: * expander.tcl: Added method 'ctopandclear' to retrieve data captured in the current context without having to pop the context (and loose state information). User: Plain text formatter in 'doctools'. 2003-03-28 Andreas Kupries * adjust.test: * textutil.test: Added testsuite for new commands. Fixed typo bug in yesterday's 'blank' and 'indent'. * adjust.tcl: New command 'undent'. * textutil.tcl: New command 'longestCommonPrefix'. * textutil.man: documented the new commands. 2003-03-27 Andreas Kupries * textutil.man: * adjust.tcl: * trim.tcl: * textutil.tcl: New commands: blank, chop, tail, cap, uncap, indent, trimPrefix, and trimEmptyHeading. Imported from my own Pool library. Also fixed some typos in the manpage: Superfluous closing brackets. ... This closes Tcllib FR #514476. 2003-02-27 Andreas Kupries * textutil.man: Added two new commands, * textutil.tcl: ::textutil::adjust::listPredefined and ::textutil::adjust::getPredefined to the package. They allow the user of the package to find the names and full paths of the hyphenation files coming with the package itself, making their use easier. 2003-01-27 Andreas Kupries * expander.man: Fixed typo in documentation. 2003-01-18 Andreas Kupries * adjust_hyph.test: Rewrote the file into a proper testsuite. 2003-01-16 Andreas Kupries * expander.man: More semantic markup, less visual one. * textutil.man: 2003-01-07 Andreas Kupries * textutil.tcl: Changed patchlevel in provide to match the ifneeded in pkgIndex.tcl. 2002-08-11 vogeler * adjust.tcl: added hyphenation (TeX). Hyphenation has been tested for german, english, italian and spanish 2002-04-24 Andreas Kupries * expander.man: Fixed typo. 2002-03-26 Andreas Kupries * expander.man: New file, doctools manpage. 2002-03-14 Andreas Kupries * expander.tcl (Op_expand): Fix for SF Bug #530056. Added code checking start and end levels for pushed/popped contexts and alert the caller if the numbers do not match, indicating that the macros pushed more or less contexts than popped. 2002-02-26 Joe English * expander.tcl: Frink run. * Versions are now 1.0.1 and 0.5 to distinguish this from the code in tcllib release 1.2 2002-01-18 Andreas Kupries * Bumped version to 0.4, Expander to 1.0. 2002-01-17 Joe English * textutil.n, expander.n: Fixed nroff markup errors. 2001-12-12 Andreas Kupries * expander.n: * expander.ehtml: * expander.html: * expander.tcl: Added 'textcmd' method which is called for all plain text encountered by the processor. Note: The textcmd is run through the evalcmd, i.e. it is treated as a special macro surrounding all plain text. It defaults to empty, meaning 'identity'. Also moved the code handling errors in a macro into a separate function to make usage in multiple places easier. This is patch #492156. 2001-12-11 Andreas Kupries * textutil.n: * split.test: * split.tcl: Fixed item #476988, the handling of the empty input string, reported by Glenn Jackman . Also added code to detect and handle an empty regular expression. In that case "splitx" degenerates to a simple "split". 2001-12-10 Andreas Kupries * expander.test: * expander.tcl: * expander.n: * expander.ehtml: * expander.html: * expander_notes.txt: Applied update on behalf of William implementing the 'evalcmd' feature, i.e. instead of using 'uplevel #0' directly expander objects now have a configurable callback for the execution of macros. The default is still 'uplevel #0' but this can be changed. 2001-12-07 Andreas Kupries * expander.test: Fixed a problem with the expander testsuite. It checked for the wrong namespace and thus did not load the functionality to be tested. 2001-11-28 Reinhard Max * split.tcl: Speed improvement by using [regexp -start] instead of repeatedly copying the tail of the string. 2001-11-12 Andreas Kupries * textutil.n: * adjust.tcl: * adjust.tcl: Added code, tests and documentation for option -strictlength as provided by Dan Kuchler . * expander.tcl: * expander.test: * expander.ehtml: * expander.html: * expander.n: * expander_license.txt: * expander_notes.txt: Documentation, code and testsuite for expander objects; the heart of the expand macro processor by William H. Duquette packaged up as a library. 2001-10-16 Andreas Kupries * pkgIndex.tcl: * textutil.n: * textutil.tcl: Version up to 0.3 2001-09-18 Andreas Kupries * tabify.tcl (tabifyLine): Documentation of the algorithm expanded. Text provided by Helmut Giese. 2001-09-17 Andreas Kupries * tabify.tcl: Added (un)tabify code provided by Helmut Giese which is more editor-like than the existing code. The existing code was not deleted so both behaviours can be used in the future. This fixes [439016]. 2001-07-10 Andreas Kupries * tabify.tcl: Frink 2.2 run, fixed dubious code. 2001-06-21 Andreas Kupries * split.tcl: * adjust.tcl: * trim.tcl: Fixed dubious code reported by frink. 2001-03-23 Andreas Kupries * textutil.tcl: Reworked the implementation of 'StrRepeat', made it much faster (used code from Pool_Base). Renamed to 'strRepeat' and exported. **Note** that the tcl implementation is one order of magnitude faster than [string repeat] for num >= 1000. * textutil.n: Added description of 'strRepeat'. * repeat.test: New file, tests 'strRepeat'. 2000-11-02 Eric Melski * textutil.test: * adjust.test: * split.test: * tabify.test: * trim.test: * adjust.tcl: * split.tcl: * tabify.tcl: * trim.tcl: * textutil.tcl: Added functions from Joel Saunier (adjust, splitx, tabify, trim, trimleft, trimright, untabify). 2000-07-01 Eric Melski * pkgIndex.tcl: Standard package index. * textutil.tcl: Added [package provide]; no actual functions yet, just the package stub.