Tcl Library Source Code

Timeline
Login

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

74 check-ins using file modules/fileutil/fileutil.tcl version 697245736b

2002-10-09
21:16
* Makefile.in (install-libraries): Added code to skip directories without .tcl files. Some shells do not like a for with nothing to iterate over. check-in: b193fd37fb user: andreas_kupries tags: trunk
2002-10-08
20:23
Implemented feature request #531531 to provide MIME tokens to the backend. check-in: 090f29040a user: patthoyts tags: trunk
2002-10-02
05:40
* mime.man: Changed -parse to -part in description of "::mime::initialize". Thanks to "Gerald W. Lester" <[email protected]> for finding this. check-in: a210e191da user: andreas_kupries tags: trunk
2002-09-28
00:16
Added crc16 package check-in: 2df11dc12c user: patthoyts tags: trunk
2002-09-26
22:50
Fix for bug #579026: memory use by crc32 check-in: ae59c5be01 user: patthoyts tags: trunk
2002-09-25
23:57
New package: CRC16 check-in: a1627dabb7 user: patthoyts tags: trunk
23:43
New package: CRC16 check-in: 2c1ad00923 user: patthoyts tags: trunk
23:05
better DESTDIR/libdir support (steffen) check-in: 04f7a159a4 user: hobbs tags: trunk
19:36
* smtpd.man: Fixed documentation error in deliver example. check-in: e7d05ad1dd user: davidw tags: trunk
2002-09-23
08:03
* mpexpand: Corrected example formatting, have to run argument through plain text handling. * mpformats/fmt.wiki: Added Wiki formatting. check-in: 597bbdabaa user: andreas_kupries tags: trunk
2002-09-19
18:21
* smtpd.tcl (smtpd::service): Added Andreas' suggested changes to avoid a bgerror caused by a broken pipe. check-in: 4b0dc776d4 user: davidw tags: trunk
2002-09-17
06:14
* smtp.man: Added example from http://mini.net/tcl/1256. check-in: e5990559c1 user: davidw tags: trunk
2002-09-16
22:45
fixed bug #609835 to cope with multiple addresses in MAIL and RCPT commands check-in: f7d6e2920d user: patthoyts tags: trunk
2002-09-14
23:39
* mime.test: Extended field_decode tests with the examples from RFC 2047. * mime.tcl: Integrated new implementation of 'field_decode' provided by Don Libes <[email protected]>. This rewrite correctly decodes all seven examples of RFC 2047. The old version decoded only one correctly. check-in: 67790e1ff3 user: andreas_kupries tags: trunk
2002-09-04
17:22
* srv.tcl: Extended to cleanup the fake maildrop directories when exiting the server. * pop3.test: Updated to handle differences between 8.3 and 8.4 (different error messages). Added code to suppress logging under normal circumstances. Extended to clean up the log file created by the test pop3 server. ============================================================== * all.tcl (tcltest::tooManyMessage): Additional command to create different error messages for 8.3 and 8.4. Used in the testsuite of pop3. check-in: f362e8c48c user: andreas_kupries tags: trunk
00:47
Nits. check-in: 920c372629 user: andreas_kupries tags: trunk
2002-09-03
21:33
Added usage of log module to trace the pop3 activity of the client. check-in: 26b9018875 user: andreas_kupries tags: trunk
19:27
* pop3.test: Added testcase 6.0, a nano-client to retrieve and delete all messages on a pop server in one go. Directly derived from the script for Tcllib bug #501577. Unable to reproduce that bug :( * pop3d.tcl (Transfer): Use a single dot to write the terminator. Not \n.\n. Puts does the terminating \n, and buildmessage/copymessage the other. Brought the client out of sync after a retrieval because of an empty line after the terminator line of the multi-line response. check-in: f2cdb1bf37 user: andreas_kupries tags: trunk
17:13
* pop3.test: * clnt.tcl: * srv.tcl: Added testsuite. Incomplete. No test of 'delete' command yet. The problems found by the testsuite so far were all in the used pop3 server (pop3d module of tcllib). --------------------------------------------------------------- * Note aside: The pop3 server may understate the size of a message and of the maildrop. This happens as the package 'mime' we use to transfer a message may add additional headers not present in the original message (For example Mime-Version and/or Content-Type). * pop3d.tcl (::pop3d::Transfer): Fixed oversight in my usage of 'mime::copymessage'. This command copies a mime message to a channel, but does not know about the framing protocol. In other words, it does not write the singular dot closing a pop3 data transfer. We have to do this in the calling routine. Added such a piece of code. Fixed problem with distinguishing RETR and TOP modes, wrong conditional. * pop3d.test: * pop3d.tcl (CheckLogin): Now additionally retrieves size of maildrop after querying the number of waiting messages. (H_stat): Returns size of maildrop as second result of STAT. Bugfix, pop3d was not rfc 1939 compliant with respect to STAT, and now is. This problem was found while working on the testsuite for the pop3 package (Result of pop3::stat was bogus). Updated the testsuite. * pop3d_dbox.tcl: * pop3d_dbox.man: method 'size' no accepts a call without message id and returns the total size of the mail drop for that case. Reason for the change: see above. check-in: 5c10f07b92 user: andreas_kupries tags: trunk
2002-08-31
06:27
* cmdline: * counter: * dns: * ftpd: * html: * ncgi: * examples/ftp: Cleaned up nits ('info exist' --> 'info exists'). check-in: c5678b1ad9 user: andreas_kupries tags: trunk
2002-08-21
21:42
* ftpdemo.tcl (Examples): Changed ftp.tcl to ftpdemo.tcl in [test_40afile] and [test_70append]. Problem found and reported by Jussi Kuosa <[email protected]>. check-in: 3c87f25eae user: andreas_kupries tags: trunk
2002-08-20
03:31
* nntp.man: Added example, updated reference from rfc 850 to rfc 1036. See Tcllib SF #597102, by Jussi Kuosa <[email protected]>. * nntp.n: Out of date. Deprecated. check-in: b56d6d810c user: andreas_kupries tags: trunk
2002-08-19
18:28
* Makefile.in (install-doc): Fixed problem noted by Elchonon Edelson. Code to inline man.macros appended to existing files. Multiple execution of 'make install-doc' thus extended the manpages of tcllib with multiples of their original content. Not anymore. check-in: 399b7003eb user: andreas_kupries tags: trunk
2002-08-18
18:29
djust_hyph.test modified check-in: 692e8e6596 user: vogeler tags: trunk
2002-08-16
21:38
* exif.tcl: Applied patch for bug report SF #530907 partially. Parts of the patch are accepted and applied * FlashPixVersion * Construction of FlashMode Not applied parts: * SubjectDistance. Patch assumes that unit is millimeter and converts to meter. Spec says that unit _is_ meter. (*). Is it possible that the specific camera of the submitter implements the standard incorrectly ? * ShutterSpeedValue. Instead of logical inversion (1/value seconds) I added the proper unit for frequency (Hz). (*) http://www.media.mit.edu/pia/Research/deepview/exif.html 0x9206 SubjectDistance signed rational 1 Distance to focus point, unit is meter check-in: 62883aac32 user: andreas_kupries tags: trunk
21:02
* exif.tcl: Applied patch SF #582828 provided by Anselm Lingnau <[email protected]> to make the module work with Digital IXUS. check-in: a900470702 user: andreas_kupries tags: trunk
12:48
textutil/adjust_hyph.test *** modified routine for testing check-in: 822ce62e38 user: vogeler tags: trunk
2002-08-15
21:16
typo typo check-in: 4a5e3460c0 user: andreas_kupries tags: trunk
21:11
typo corrected check-in: 667f6c1525 user: andreas_kupries tags: trunk
20:51
* Makefile.in (DOC_EXP): Use the tclsh found during configuration to run mpexpand. This ensures that mpexpand does not pick something from the path on its own, possibly something to oold to understand TCLLIBPATH. Problem noted by Elchonon Edelson <[email protected]>. check-in: daae91915f user: andreas_kupries tags: trunk
18:27
* ncgi.tcl (ncgi::setValueList): Fix [ 593254 ] ncgi::SetValue bug - SetValue now works correctly with multipart values with spaces in them. check-in: 7b5c2533ba user: davidw tags: trunk
18:23
Trailing white space. check-in: dc72b72874 user: davidw tags: trunk
17:05
* mime.tcl: Accepted patch in SF FR #595240, provided by Marshall T. Rose <[email protected]>. The patch makes the code more robust with respect to a common mime encoding error. * tcllib/examples/mime: Added an example application making use of mime and smtp packages. Mbot is a highly-specialized filter for personal messages. Again this is code provided to us by Marshall T. Rose. check-in: 9472263753 user: andreas_kupries tags: trunk
16:37
* smtp.tcl: Followup patch to patch SF #557520/2. A line of code initializing the options from the state was missing in one command, causing problems with the usage of -maxsecs. This was noted on c.l.t., by Acacio Cruz. The followup patch was provided by Todd Coram. check-in: ffba6d32bf user: andreas_kupries tags: trunk
2002-08-13
06:49
*** empty log message *** check-in: 40accb3572 user: vogeler tags: trunk
06:37
*** empty log message *** check-in: c0d6f7471f user: vogeler tags: trunk
2002-08-09
21:43
* ncgi.test: Added two new tests for setValue. check-in: c1937f12ce user: davidw tags: trunk
21:19
* ncgi.tcl (ncgi::multipart): Fix [ 564279 ] ncgi::multipart bug - commented out offending 'puts' statements. check-in: 45a9e9a015 user: davidw tags: trunk
17:24
* Makefile.in (install-doc): Changed $$(basename) to `basename`. Portability problem. works for Linux for example, but not everywhere else. See 2002-08-06 for the change which introduced this. check-in: b4d7c3c78b user: andreas_kupries tags: trunk
2002-08-08
17:00
* htmlparse.tcl: Fixed SF bug #579853. Added an 'bsl' key and value to 'htmlparse::escapes' required to reconvert the backslash escapes inserted by 'htmlparse::PrepareHtml'. Thanks to Michael Cleverly <[email protected]> for the report. check-in: c28ef8d3b2 user: andreas_kupries tags: trunk
16:49
* tree.test: Followup to fix for bug SF #587533. Had to update the test suite too. check-in: c3b6f1bae0 user: andreas_kupries tags: trunk
2002-08-06
23:02
* Makefile.in (dist): Fixed SF Bug #567079, reported by Don Porter <[email protected]>. No infinite recursion anymore for srcdir == builddir. * ftp.tcl: Fixed SF Bug #582668, reported by Frank Richter <[email protected]>. check-in: 0515c88443 user: andreas_kupries tags: trunk
21:29
* comm.test: Removed writing of file ~/foo, was debugging code. Changed creation and usage of file 'spawn' to allow an arbitrary setting of -tmpdir. Fixes SF Bug #589225 reported by Don Porter <[email protected]>. * Makefile.in (install-doc): Restored the code inlining the man.macros file into the generated nroff manpages. Got somehow deleted. Was still in the 'dist' target. Thanks to Reinhard Max <[email protected]> for noticing this. check-in: eeb9340f7a user: andreas_kupries tags: trunk
20:52
* tree.tcl (lappend): Fixed bug SF #587533 reported by Evan Rempel <[email protected]>. check-in: 39f82b1ad8 user: andreas_kupries tags: trunk
20:40
* pool.tcl: Fixed bug SF #585093, reported by Michael Cleverly <[email protected]>. Patch provided by Michael too. check-in: 1a8d3b469e user: andreas_kupries tags: trunk
2002-07-27
00:01
Updated URL. Killed a few blank spaces. check-in: 1d124c762b user: davidw tags: trunk
2002-07-25
18:47
* smtp.tcl: Applied patch SF #557520/2 (== SF #558132) supplied by Todd Coram <[email protected]>on behalf of Marshall Rose <[email protected]>. This patch dispenses with the automatic calculation of a timeout value and goes with a user-supplied value (new option -maxsecs) instead. Default for this option is 120 secs. This fixes bug SF #557040. * performance.tcl: New file. Script supplied by Pascal Scheffers (see below) to test the performance of the mime package. check-in: f2ab0dee57 user: andreas_kupries tags: trunk
18:28
* mime.tcl: Applied patch SF #585455 supplied by Pascal Scheffers <[email protected]> on behalf of Marshall Rose <[email protected]>. This patch speeds up MIME processing by using [split \n] and list ops to iterate over the lines in the mail instead of using [string range] for doing it incrementally, copying unprocessed data down again and again. check-in: 81c6733263 user: andreas_kupries tags: trunk
2002-07-08
23:25
* tree.man: Updated the documentation to clarify the behaviour. * test.tcl: Updated testsuite, part of the patch below. * tree.tcl (_move): Accepted patch by Brian Theado <[email protected]> fixing the behaviour of mov, SF bug #578460. The command now also validates all nodes before trying to move any of them. check-in: 7eea942a5d user: andreas_kupries tags: trunk
22:11
* mpformats/fmt.html: Changed bug #578465 which caused mis-generation of angle-brackets and quotes. check-in: 18fc2fa9f1 user: andreas_kupries tags: trunk
2002-07-02
18:37
* corrected name of tcltest hook procedure check-in: fc0cc6eb23 user: dgp tags: trunk
2002-06-24
23:17
* csv.tcl (csv::split): Fixed bug #565051, found by Tod A. olson <[email protected]>. The described bug is actually none, given the definition of the CSV format, but the examples do contain a related bug. Just swap what is seen as ok and bug. Because of this the provided patched code was rejected, and a new patch created. The patched code passes the extended testsuite (see below). * csv.test: Extended testsuite regarding the handling of empty fields and quote characters. Part of the investigation into bug #565051. check-in: 008d518e04 user: andreas_kupries tags: trunk
21:39
* mime.tcl: Fixed bug SF #548832. Report and patch by Michael A. Cleverly <[email protected]>. check-in: 3af7f017f8 user: andreas_kupries tags: trunk
2002-06-17
20:33
* Applied patch for bug #567428. Bug reported by Larry Virden <[email protected]>, patch by him too. Correction of spelling mistakes in the documentation of various modules + correction of comment placements which interfere with solaris conventions for nroff output. * pop3d.test: Modified testsuite courtesy Gerald Lester <[email protected]> for better execution of the subshells under windows. check-in: fe9a223b05 user: andreas_kupries tags: trunk
2002-06-10
22:38
spelling correction check-in: f51b0dd4a6 user: dgp tags: trunk
22:29
Last minute changes before release. Tagging will move. check-in: 53f9b50385 user: andreas_kupries tags: trunk, release, tcllib-1-3
16:41
* Released and tagged tcllib 1.3.0. ======================== check-in: 8ba81d4ca7 user: andreas_kupries tags: trunk
2002-06-07
23:55
Writable manpages. check-in: 0b89efa72f user: andreas_kupries tags: trunk
23:52
Renamed to avoid clash with core command. check-in: 981c6d3b66 user: andreas_kupries tags: trunk
22:02
Using loop to copy generated manpages. check-in: c533065e48 user: andreas_kupries tags: trunk
17:16
* dns.man: * dns.tcl: * pkgIndex.tcl: Version up to 1.0.1 check-in: cc7091c72d user: andreas_kupries tags: trunk
17:15
* dns.tcl: moved var initialization code to the end, as it uses the 'dns::configure' command, and thus should be called after its definition. This is the reason for bug #564670, thus now fixed. check-in: a0c4575736 user: andreas_kupries tags: trunk
2002-06-06
21:34
* mpformats/fmt.html: * mpformats/_html.tcl: Added the missing handling of " (&quot;) to the format. check-in: 6aa1ffced3 user: andreas_kupries tags: trunk
2002-06-05
22:59
* all.tcl: Updated to use a default value for -modules if that option is not present. * install.tcl: New file, alternate installer for unix and windows. Execute with any tclsh and tcllib 1.3 is installed in the parent directory of the tcl script library directory. Courtesy Gerald Lester <[email protected]>. * Makefile.in (install-doc): Changed to use the doctools generated nroff and html files instead of the manually written .n files. * configure.in (MINOR_VERSION): Updated to version 1.3 * Makefile.in (doc): Removed tmml-doc from default set of documentation. * Makefile.in (dist, install): New target 'gen-main-index' encapsulates the generation of the package index for tcllib. This target is used by both the direct installation (install) and during the generation of a source distribution (dist). * mkIndex.tcl: Rewritten to make use of 'pkg_mkIndex' to get the list of all packages in tcllib. Added a message which deprecates [package require tcllib] if it is used. * dns.man: Added note to manpage regarding DNS via TCP and possible pitfalls. * urn-scheme.tcl: Moved provide up to the front to prevent problems with [pkg_mkIndex]. Added namespace creation commands to the top for the same reason. check-in: 38719aa276 user: andreas_kupries tags: trunk
2002-06-03
21:02
* pkgIndex.tcl: updated calculus to version 0.5. * calculus.man: Added [require] declarations. check-in: 5dd57c4b79 user: andreas_kupries tags: trunk
20:21
* ftpd: * html: * htmlparse: * base64: * uuencode: Updated version information. check-in: da4f172546 user: andreas_kupries tags: trunk
20:00
* calculus.README: * calculus.CHANGES: * calculus.tcl: * calculus.test: * calculus.man: Applied changes for #553773 on behalf of Arjen Markus <[email protected]>. check-in: 8b66dfae5a user: andreas_kupries tags: trunk
2002-05-29
16:35
* smtp.tcl (smtp::initialize): Fixed SF bug #561416. The reporter is unknown and provided the fix too. Fix approved by Marshall Rose <[email protected]>. check-in: e5e099731e user: andreas_kupries tags: trunk
2002-05-28
06:29
* matrix.man: Fixed typo (graph -> matrix). * struct.tcl: Added pool files to list of files to source. * pool.man: New documentation for pool based upon the original HTML manpage. * pool.html: * pooltest.tcl: * pool.tcl: New data structure, pool, by Erik Leunissen <[email protected]>. Modified code to be a sub-namespace of ::struct, made it a part of the struct package. No regular testsuite yet (see pooltest.tcl for the irregular testsuite). check-in: 18c0a7242d user: andreas_kupries tags: trunk
05:23
Typo correction in changelog. check-in: 18144fb832 user: andreas_kupries tags: trunk
05:23
* yencode.test: Fixed SF Tcllib Bug #548354 so that the datafile used by the test is found even if the build directory is outside of the tcllib directory hierarchy. Original patch provided by Larry Virden <[email protected]>, changed by me to work in my configuration too. check-in: 8124ea4267 user: andreas_kupries tags: trunk
2002-05-27
23:38
* mpformats/_xml.tcl: args -> arguments, as the argument is not the last one. The code as is was not erroneous, but a pissible trouble spot should tcl ever be more strict with 'args'. check-in: 4b19eb73ae user: andreas_kupries tags: trunk
2002-05-21
18:21
* mpformats/fmt.nroff: Accepted patch for bug #556509, both by Joe English <[email protected]>. check-in: ea850885f8 user: andreas_kupries tags: trunk
17:44
* fileutil.tcl (cat): Fixed bug #556504, reported by Michael A. Cleverly <[email protected]>. The fix was provided by Michael too. The problem was reading files which are reported as size 0, but actually have content, just dynamically generated (Linux /proc is an example of an fs containing such files). check-in: cea1ef35ea user: andreas_kupries tags: trunk