Tcl Library Source Code

Timeline
Login

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

50 most recent check-ins that include changes to files matching 'modules/*'

2026-11-16
00:02
Run tar-tkt-7446477f89 only on Unix: the names are longer than MAX_PATH on Windows, and the result is compared with the output of the system tar. leaf check-in: 4b96e54440 user: serhiy.storchaka tags: tar-gnu-longlink
2026-11-15
23:39
Fix [6bef0b5d0f]: bibtex silently dropped a record that contained the word "comment" or "preamble" in a field. Anchor the record-type regexps. leaf check-in: 68f4c9130b user: serhiy.storchaka tags: bibtex-comment-anchor
23:39
Fix [3578420fff]: generator exists failed for generator names with glob or other special characters. Use namespace which -command. Add generator.test. leaf check-in: e6d2fc9a61 user: serhiy.storchaka tags: generator-exists-colorful-names
23:39
Fix [1924065fff]: tiff::addEntry did not replace an existing entry with the same tag: it stored the entry under the whole {tag value} list instead of the tag. nametotag also checked the whole entry instead of the tag against the hex tag pattern, so a numeric tag with a value was rejected as unknown. Remove the knownBug constraint from tiff-23.* and add tiff-23a.* for numeric tags. leaf check-in: b15c6607e4 user: serhiy.storchaka tags: tiff-addentry-overwrite
23:39
Fix [1dd19ccd14]: the smtpd -deliver callback worked only with a single-word command. Call it as a command prefix with {*}. Add smtpd.test. leaf check-in: e3ea101883 user: serhiy.storchaka tags: smtpd-deliver-command-prefix
23:39
Fix [66b79317f3]: SASL NTLM authentication failed when the server nonce started with "-": DES::des took it for an option. Add -- to the DES::des calls. leaf check-in: 554012e862 user: serhiy.storchaka tags: sasl-ntlm-nonce-dash
23:38
Fix [815405ffff]: pop3::top spun forever at full CPU when the server closed the connection in the middle of a reply, and pop3 send failed with an empty message. Both now raise "connection closed by server". leaf check-in: ead1e7510c user: serhiy.storchaka tags: pop3-eof-busy-loop
23:38
Fix [1749395fff]: pop3d::dbox counted subdirectories of a mailbox, e.g. CVS, as messages. Glob only files. leaf check-in: 9e88cd99b3 user: serhiy.storchaka tags: pop3d-dbox-skip-dirs
23:36
Fix [2526633fff]: SPF checks raised an error when an IPv4 address was compared with an IPv6 one. Such addresses now simply do not match. leaf check-in: 0389fb7aa9 user: serhiy.storchaka tags: spf-ipv4-ipv6-mismatch
23:36
Fix [e2ba08b285]: huddle compile bool used the tag "bool" instead of "b". leaf check-in: 33e681a995 user: serhiy.storchaka tags: huddle-compile-bool-tag
23:36
Fix [e3a6e3e02a]: huddle list with a quote as element failed, because isHuddle applied list commands to strings that are not lists. Check string is list first. leaf check-in: 4915d98a3c user: serhiy.storchaka tags: huddle-isHuddle-nonlist
23:36
Fix [1ae6b4775e]: zipfile::encode stored the ctime of files instead of the modification time. Remove the knownBug constraint from zipfile-encode-encode-6.3. leaf check-in: 410d398079 user: serhiy.storchaka tags: zipfile-encode-mtime
23:36
Fix [7446477f89]: tar::create rejected names that do not fit into the prefix/name fields or are longer than 255 characters. Write a GNU ././@LongLink entry for them, which tar already reads. check-in: a773e07f3c user: serhiy.storchaka tags: tar-gnu-longlink
23:36
Fix [2426988fff]: an array linked to a struct::matrix kept stale elements after deleting rows or columns or transposing. Pass unsets on to the linked array. leaf check-in: 09d3df39b0 user: serhiy.storchaka tags: matrix-link-stale-elements
23:36
Fix [2055837fff]: jpeg::getExif raised an error for Exif entries whose offsets point past the end of the data, e.g. a bad InteropIFD. Skip such entries. leaf check-in: 8f6cc10bd4 user: serhiy.storchaka tags: jpeg-bad-exif-offsets
23:36
Fix [1a7976b873]: pluginmgr failed to load a plugin when the current directory had a directory with the plugin's name. Use file isfile instead of file exists. Add pluginmgr.test. leaf check-in: 21e2f1767a user: serhiy.storchaka tags: pluginmgr-cwd-dir-collision
23:36
Fix [2853152fff]: an async dns query closed its socket twice. Clear state(sock) after closing, and skip an empty socket in cleanup. leaf check-in: 822c02055e user: serhiy.storchaka tags: dns-async-double-close
23:36
Fix [187a6fa7ae], [022bca0ff5]: the dns client did not handle TCP replies that arrive in several reads. Buffer until the 2-byte length has arrived, read the length unsigned, and take the id from the reply. leaf check-in: 79c8191d74 user: serhiy.storchaka tags: dns-tcp-partial-reads
23:36
Fix [a1dec8173c]: DES::Update and the -chunksize option called the missing proc ::DES::Chunk. Add it, in the style of blowfish: process whole blocks, keep the remainder, and pad only the final partial block. leaf check-in: eff01ad452 user: serhiy.storchaka tags: des-chunk-proc
23:36
Fix [69d33816bb]: ydecode accepted only all-digit file names, so it nearly always returned default.bin; ydecode -file read in text mode (an error on Tcl 9, corrupted data on 8.6); and the bad-option error message itself failed. leaf check-in: 7053d9a68b user: serhiy.storchaka tags: yencode-ydecode-fixes
23:36
Fix [9833d8dca1]: a cron task could not change its own schedule, because the command ran inside dict with and its changes were overwritten. Run the command outside dict with; cancel a one-shot task only if it was not rescheduled. leaf check-in: 28d29da86b user: serhiy.storchaka tags: cron-task-reschedule
23:35
Fix [dbde846f53]: package require imap4 failed when argv0 did not exist, e.g. in an embedded interpreter. Check for ::argv0 before comparing it with the script name. Add imap4.test. leaf check-in: 799e94464d user: serhiy.storchaka tags: imap4-load-without-argv0
23:35
Fix [0534941436]: mime read errorCode and errorInfo after a successful catch, so a stale value made the first parse of a multipart message return text/plain. Use the catch options dict instead of the global variables. leaf check-in: b1d77474a2 user: serhiy.storchaka tags: mime-catch-options
23:35
Fix [4811399edc], [1491894fff]: comm raised an error when a client disconnected after the "commIncoming race condition" warning. commLostConn now clears the pending sends and the peer entry only when the lost connection is the registered one, and the warning is no longer printed for remote id 0, which all non-listening clients share. leaf check-in: 09fc83dd5b user: serhiy.storchaka tags: comm-lost-conn-peer
23:32
Close the archive channel that ScmUnpack leaves open before deleting the test files, so that practcl-snapshot-unpack-001 also passes on Windows. leaf check-in: 436138f6ad user: serhiy.storchaka tags: tcl9-encoding-binary
13:24
Fix [7bd2d439ca]: with tcllibc on Tcl 9, crc32 of data over one chunk (4 KiB for files) failed where C long is 32 bits (Windows): Crc32_c returns a negative value and Crc32Update stored it unmasked, which Tcl 9 rejects as the next seed. Mask the running sum. Also clean up the token and close the file when crc32 -filename fails. Test with a mock of the 32-bit C behaviour. leaf check-in: 1fb1b957bd user: serhiy.storchaka tags: crc32-critcl-negative-sum
13:24
Fix [2848168fff]: ::crc::Crc gave wrong results for non-reflected 32-bit CRCs where tcl_platform(wordSize) is 4 (Windows): the signbit mask cleared bit 24. Values are always masked non-negative, so the mask is not needed. leaf check-in: 69f713b9da user: serhiy.storchaka tags: crc-32bit-wordsize
13:23
Fix [0f65bfa2d3]: struct::graph::op::tarjan hung and isCutVertex? gave wrong answers for node names containing spaces. 'struct::set subtract' treats such a name as a set of words; use 'struct::set exclude' to remove the single node. The fix for Bug 2815302 (746fd7f965) had been undone by the GSoC merge (42c21b6c75). leaf check-in: 1ad56464d4 user: serhiy.storchaka tags: graph-tarjan-node-spaces
13:23
Fix [4c3e532500]: package require tool failed when none of USERNAME, USER or user was set in the environment. tool::uuid_seed read env(user) unconditionally; drop that dead lookup. leaf check-in: ebee7660c7 user: serhiy.storchaka tags: tool-uuid-seed-no-user
13:23
Fix [d3d4117803]: practcl generated Tcl_InitStubs(interp, "8.6", 0) and Tk_InitStubs with "8.6", which fails on Tcl/Tk 9. Require "8.6-" instead. leaf check-in: af1fe948f6 user: serhiy.storchaka tags: practcl-initstubs-tcl9
13:22
Fix [34a589f660]: package require ftpd failed on Tcl 9 with can't read "tcl_platform(user)". The namespace body used 'global tcl_platform', which does nothing outside a proc, and Tcl 9 no longer resolves the variable globally. Use ::tcl_platform. Add ftpd.test. leaf check-in: db1cb608a2 user: serhiy.storchaka tags: ftpd-tcl9-load
13:22
Fix [29ff5c3abd]: autoproxy::tls_socket did not work with Tcl 9. http 2.10 calls it at global level, so its upvar of host and state saw the wrong variables. Take the target from state(socketinfo). The tls tests now run with a fake tls package. leaf check-in: f9dc4e7b85 user: serhiy.storchaka tags: autoproxy-tls-socket-tcl9
13:22
Fix [3308105fff]: since tcllib 1.21 (1df85e69fb) a message rejected by the server made smtp::sendmessage return code 7 with a raw dict instead of raising an error, and a rejected Bcc copy was not reported at all. Raise the error again. Add smtp.test with a fake SMTP server. leaf check-in: 025ab5c0dc user: serhiy.storchaka tags: smtp-rejected-message-error
13:22
Fix [af927e957f]: ldap::starttls and ldap::info whoami always failed with 'invalid command name' since tcllib 1.21. 495ba2b8f5 called asnEncodeString, which asn does not export. Use asnContext, which encodes the same bytes. Test with a local mock LDAP server. leaf check-in: 1f10221741 user: serhiy.storchaka tags: ldap-starttls-asncontext
13:21
Fix [8ac37e504d], [146ae829a9]: -encoding binary is gone in Tcl 9. practcl's snapshot unpacking and doctools::tcl::parse file still used it, so they failed on Tcl 9. Use -translation binary. check-in: c306c66ec1 user: serhiy.storchaka tags: tcl9-encoding-binary
13:20
Fix [61e49798ee], [523f7e0556], [cdbdd399e4]: pkgIndex.tcl entries that do not match the code. nettool's index sourced nexttool.tcl, so package require nettool always failed (since tcllib 2.0); rest's index said 1.7 while rest.tcl provides 1.8; doctools::toc, math::filters and tcl::chan::std had wrong versions too. Add tests comparing the index with package provide. leaf check-in: d828c0f28f user: serhiy.storchaka tags: pkgindex-version-fixes
01:31
more Windows specific test fixes leaf check-in: 8e0f06b227 user: pbrooks tags: pbrooks-2026-11-test-fixes
2026-11-13
19:37
merge out from trunk leaf check-in: b5bebef8ab user: pbrooks tags: pbrooks-ticket-664392
19:34
Fix 8.6 critcl build closed check-in: adeef82ca0 user: pbrooks tags: trunk, main
19:33
Fix 8.6 compiler warning check-in: 2c9f09a486 user: pbrooks tags: trunk, main
2026-11-10
20:04
additional handling of % escape characters check-in: 2d90003d23 user: pbrooks tags: pbrooks-ticket-664392
2026-11-08
21:11
Windows specific profiler fixes and enhancements leaf check-in: d0cfec5b75 user: pbrooks tags: pbrooks-2026-11-windows-profiler-fixes
00:44
merge out from trunk check-in: 278d88642b user: pbrooks tags: pbrooks-ticket-664392
00:39
run critcl tests on Tcl 9, Windows specific fixes for tar & try, timezone dependent fix for zip check-in: 316e48b49c user: pbrooks tags: trunk, main
2026-11-03
23:19
Windows specific fixes for the profiler check-in: 25b2cb3df1 user: pbrooks tags: pbrooks-2026-11-windows-profiler-fixes
23:17
Simple fixes for Windows tests that were failing previously closed check-in: 6c42fe6f78 user: pbrooks tags: pbrooks-2026-11-windows-test-fixes
19:21
fix reference file to match previous message correction in struct/matrix check-in: 24ba16e3d0 user: pbrooks tags: trunk, main
2026-10-31
19:01
Ticket 664392, fix Windows \ and % handling on all platforms. check-in: 5dc16d363b user: pbrooks tags: pbrooks-ticket-664392
2026-10-29
04:51
various Windows specific test fileutil fixes, MacOS fix for multi.test and multiop.test by side effect, fix -match switch on individual test runs check-in: c609b5e3b5 user: pbrooks tags: trunk, main
2026-10-28
22:12
fix Windows fileutil tests closed check-in: e81b4850ac user: pbrooks tags: pbrooks-10-2026-windows-test-fixes