Tcl Library Source Code

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

30 check-ins using file sak.tcl version 2f53574136

2003-10-21
19:23
* README: Updated to describe the new way of adding modules to tcllib. * INSTALL.txt: Updated references to tcllib 1.4 to 1.5. * installed_modules.tcl: Changed doc action for snit from _null to _man (We have doctools manpages for snit for a while now). check-in: 834cd5b6bf user: andreas_kupries tags: trunk
19:03
Updated references to tcllib 1.4 to 1.5. check-in: 3ab87e895c user: andreas_kupries tags: trunk
16:17
* all.tcl: Added code to try to load 'Tk'. This allows the execution of 'tk' constrained tests, if Tk is present (for example when this code is run run by 'wish'). An example of a module having such tests is 'snit'. check-in: 96e4c2e531 user: andreas_kupries tags: trunk
02:00
Finished option database coding check-in: a9b1ec7232 user: duquette tags: trunk
2003-10-20
01:09
Preliminary option database changes check-in: 2f896a96da user: duquette tags: trunk
2003-10-18
03:50
Added typeconstructor check-in: 0da3ef5cf3 user: duquette tags: trunk
2003-09-30
17:47
* snit.tcl: A number of changes to the code generation part. - Usage of [subst]'s was superfluous, removed, simple string interpolation now. - Now 'namespace eval type' enclosing the generated code anymore. Such an eval is now done only at the top of the generated code to define the namespace, and to define/initialize the typevariables. All procedure definitions are now outside of 'namespace eval' and use fully qualified command names instead. - Moved the code in [snit::Define] which instantiated the class using the generated code into it own helper command, [snit::DefineDo]. Overiding this command allows users of the snit package perform other actions on the newly defined class. One example is that of a snit-compiler which goes through a file containing tcl code and replaces all snit::* definitions with the generated code. Motivation for the change: When applying procomp to procedure definitions inside of a 'namespace eval' they are not byte-compiled, but kept as encoded literal. This is a direct consequence of 'namespace eval' not having a compile function. It also means that introspection, i.e. [info body] does recover the actual procedure definition. By using procedure definitions outside of namespace eval, but fully qualified names this limitation of procomp is avoided. The aforementioned snit compiler application is another part for this, ensuring that instead of keeping the whole class definition as one literal for the snit::* call we actually have tcl code to compile and hide. * snit.tcl: Updated the version number to 0.83 * pkgIndex.tcl: * snit.man: * snitfaq.man: check-in: b01c77cdf9 user: andreas_kupries tags: trunk
2003-09-04
00:10
* fileutil.tcl (fileutil::fileType): Fixed the SourceForge Tcllib bug [795585]. We are now allowing whitespace between the #! and path of the script interpreter. Extended to identify metakit databases, also when attached to another file. (tempfile): Added 'global env', access to 'env' was bad, causing malfunction on windows. check-in: 344e853073 user: andreas_kupries tags: trunk
2003-08-27
21:26
* uri.tcl: Applied a fix for bug #795032: damage to global vars. check-in: 8f707a6974 user: patthoyts tags: trunk
2003-08-19
10:44
* cmdline.man: Added an example. Feel free to change/improve it, but this package really needed one to show the standard usage pattern. check-in: 630b8e5fb3 user: davidw tags: trunk
2003-08-15
03:51
* pkgIndex.tcl: * htmlparse.test: * htmlparse.man: * htmlparse.tcl: Updated to use struct v2 when handling trees (Different way of accessing attributes). Bumped version number up to the next major version (1.0) for this incompatible change. check-in: f16075b70a user: andreas_kupries tags: trunk
2003-08-13
18:48
Fixed math in counter::start and counter::stop check-in: 1c4702c558 user: welch tags: trunk
2003-08-12
19:13
* fileutil.man: Fixed a bad call of [cmd] in the documentation of the new install command. Always use 'sak validate moldule' to validate the whole module, or 'sak text module' when wishing to validate only the documentation. check-in: ad42ec4136 user: andreas_kupries tags: trunk
2003-08-11
20:48
Corrected minor bug in 'install' test. check-in: 533b0cc173 user: davidw tags: trunk
2003-08-07
18:49
* tree.tcl: Fixed bugs in tree serialization code found when hitting them during testing the graph. * graph.man: Completed the implementation of graph serialization. * graph.tcl: Updated testsuite, documentation. * graph.test: * tree.tcl: Created ldelete and lset (emulation pre 8.4) * graph.tcl: and replaced as much 'lreplace's as possible. Using the K operator for speed, encapsulated in the two l commands. * graph.man: Implemented the renaming of nodes and arcs. * graph.tcl: * graph.test: * graph.tcl: * graph.test: * graph.man: Same changes in attribute handling as for 'tree'. Noted that the graph attributes had neither 'append' nor 'lappend' methods. Added. Documentation and testsuite updated. * pkgIndex.tcl: * struct_tree.man: * tree.test: * tree.tcl: More rework. The attribute APIs are now backward incompatible, the default attribute 'data' has been dropped. The whole module 'struct' has been bumped to version 2.0 because of this. Reworked the testsuite for the changed APIs. Reworked the (de)serialization stuff a bit and added tests for them. Added an API to rename nodes, and an API to query the name of the rootnode. The APIs 'getall' and 'keys' now allow usage of glob patterns to restrict their results. Documentation is now uptodate. Added API to compute the 'height' of a node (= distance to its deepest child). * tree.test: * tree.tcl: Reworked node attribute storage. Name of array to store the information is now dissociated from the name of the node. This enables the use of arbitrary node names, i.e. ':' in node names. The second benefit is that nodes without attribute data (normal) require less memory than before. Removed the now irrelevant validation of node names and updated the testsuite. * tree.test: * tree.tcl: Changed way of mapping from tree object commands to associoated namespaces. The object namespace now has the same name and location of the object command. Adapted all tests to account for this change. * tree.test: * tree.tcl: Changed dispatcher to auto-generate the list of tree commands when a wrong one is given. Updated tests to account for the now correct sort order. Changed dispatcher to uplevel 1 the method execution, updated walking system to reflect this change. check-in: fb380266cf user: andreas_kupries tags: trunk
18:42
* Bumped version information to 1.2.2 for the bugfix. check-in: 679c0ee2f0 user: andreas_kupries tags: trunk
2003-08-06
23:13
* expander.tcl (Op_expand): Fixed SF tcllib bug 781973 ... Do not throw a regular error. Using HandleError now to give the user control of the situation, via the defined error mode. * pkgIndex.tcl: Expander bumped to version 1.2.1 for this bugfix. Do not bump the version again when doing minor bugfixes. Only bigger bugfixes and major changes warrant a bump before the next release. check-in: 4dcf48eb2c user: andreas_kupries tags: trunk
22:41
* fileutil.tcl (find): The fix for SF tcllib bug [647974] introduced a tcl command new to tcl 8.4. This command is [file system]. Changing the code to exclude dev/inode checking only for 8.4 and above. For versions of Tcl below 8.4. the fix is not required as they do not have virtual filesystem support. This fixes SF tcllib bug [784157]. check-in: 43d1ace0e6 user: andreas_kupries tags: trunk
18:51
* cmdline.tcl (getfiles): Using the [string map] fix still had problem, when mixing back- and forward slashes. Now using [file join] on the pattern. This removed all problems with the quoting. I.e. this operation pseudo-normalizes the path. Got the trick from JeffH. check-in: cedaf19542 user: andreas_kupries tags: trunk
17:55
* cmdline.test: Added a test for the backslash quoting behaviour. check-in: 3c7c291b8e user: andreas_kupries tags: trunk
17:42
* cmdline.tcl (getfiles): Corrected a bogus attempt to quote backslashes in file patterns on the windows platform. check-in: 746b0e8820 user: andreas_kupries tags: trunk
17:01
* fileutil.man: Added documentation for the new 'install' command. * fileutil.tcl (::fileutil::install): Added 'install' command, which is similar in functionality to the Unix install command - it is basically file copy with some additional features. * fileutil.test: Added tests for 'install' fileutil command. check-in: 66cc1fa218 user: davidw tags: trunk
2003-07-28
18:03
2003-07-28 Aaron Faupell <[email protected]> * ftp.tcl fixed bug #753770, added verbose flag check in ElapsedTime check-in: e644552c0b user: afaupell tags: trunk
06:32
2003-07-27 Aaron Faupell <[email protected]> * irc.tcl removed catch around socket creation check-in: bf94c2dc77 user: afaupell tags: trunk
2003-07-27
00:08
Minor name change check-in: d17210af51 user: patthoyts tags: trunk
00:06
* md5.man: Updated the manual page for md5 2.0 check-in: ed0b65464c user: patthoyts tags: trunk
2003-07-26
22:54
* md5crypt.man: Added a manual page. check-in: 22fc2bff2a user: patthoyts tags: trunk
15:41
* md5crypt.tcl: Provided implementation of the Apache * md5cryptc.tcl: variation of md5crypt - as used in the * md5crypt.test: Apache2 htpasswd program. check-in: 9c85690c7d user: patthoyts tags: trunk
02:18
* md5c.tcl: Brought in the critcl implementation of MD5 * md5.c: originally by Jean-Claude Wippler <[email protected]> * md5.h: with code from RFC 1321. * md5x.tcl: Version 2 md5 module. This is based upon the MD4 module * md5x.test: code and permits incremental updates into the hash. This version will use the critcl code if available. === VERSION INCOMPATABILITY === md5 1 returns data as a hex representation. md5 2 returns the data as a binary representation. If you want the hex rep, provide the -hex option to the md5 command. check-in: 2d29e7c3a3 user: patthoyts tags: trunk
02:11
* modules/md5crypt: New module: MD5-crypt implementation * installed_modules.tcl: Added new module. * sak.tcl: Added reference for critcl impl of md5crypt. check-in: ca6095401e user: patthoyts tags: trunk