Tcl Library Source Code

Timeline
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

50 descendants and 50 ancestors of [c0006570ed]

2019-08-14
17:33
struct - graph - Tkt [6db9fe84d1] - New test cases for troubled operations. Confirmed crashing for C implementation. Confirmed failing (i.e. missing checks) for Tcl implementation. check-in: 6b926d6dea user: andreask tags: ak-tkt-6db9fe84d1-struct-graph-crash
2019-06-27
18:06
pki - Tkt [f8e09da9dc] - T, D - No version bump. - Moved all test asset files into a separate directory, and switched access to the `asset-get` helper command from the test utilities. Further moved large test results into asset files as well. - Added clarifications on the interaction between `sign` and `verify` with respect to the specification of the hash algorithm. Regenerated docs. check-in: 3f868874e7 user: andreask tags: trunk
17:13
textutil - textutil::wcswidth - I, Bumped to 35.1 Tweaked the implementation a bit, using `split`+ `foreach` now, instead of `for` + `string index`. Regenerated from the changed build script. check-in: d0dee3f3fe user: andreask tags: trunk
2019-06-26
21:21
Integrated tkt [bf65cfc1c7]. New package `patch` check-in: 8a8694814d user: aku tags: trunk
20:21
textutil - patch - Tkt [bf65cfc1c7]. Documentation for the new package. Closed-Leaf check-in: 33e28e6068 user: andreask tags: textutil-bf65cfc1c7
19:30
Tkt [c030b5bc75] - Merged hypnotoad work check-in: 5625cabbd1 user: aku tags: trunk
19:25
textutil - patch - New package. Version 0.1. Apply `diff -ruN` output to a directory tree. Handles git and fossil diff output as well. Basic tests. Documentation to come. check-in: 89be287714 user: andreask tags: textutil-bf65cfc1c7
18:34
Merged latest from trunk. Leaf check-in: 5d1a1e2063 user: aku tags: hypnotoad
18:03
Also restored the database this textutil/build script consults check-in: 52f299deb6 user: hypnotoad tags: hypnotoad
17:59
Restoring build.tcl which was lost in the Great Turmult of 2018-2019 check-in: abedb451d5 user: hypnotoad tags: hypnotoad
01:29
Integrated fix for ticket [baa334cfef]. check-in: 978d2acbdf user: aku tags: trunk
00:33
struct - struct::record - Tkt [baa334cfef], B, I, T Version 1.2.2 Fixed broken deletion of record instances. The old code tried to perform a quick deletion by command list, and somewhere it went of the rails so that a nested instance lost the alias yet kept the field values around. The new code does it by the numbers, the reverse of creation, by iterating over the list of member and unsetting or recursively deleting each, per their definition. Additional cleanup using `upvar 0` to import state from record namespaces, reducing quoting hell. Further fixed the semi-broken implementation of `exists`. The first condition in each branch was completely broken and it somewhat worked only because of the second condition checking for (alias) commands. I suspect that this was also the cause of the issue with deletion. Replaced with much simpler code checking the relevant package state variables where this information is directly accessible. The broken conditions sort of tried that, except they missed importing the proper variable into the scope, looked at the wrong variable, and got confused in the quoting hell. Version bump to 1.2.2 (B). Closed-Leaf check-in: 3ac985da01 user: aku tags: srecord-baa334cfef
2019-06-25
21:31
struct::record - D - Clean up check-in: 4b706ae7b6 user: aku tags: srecord-baa334cfef
19:20
Regen math docs. check-in: ca57dd6079 user: aku tags: trunk
19:09
Fix fork check-in: b90299f2c4 user: aku tags: trunk
19:06
Add procedures for triangular distributions and an estimation procedure for exponential distributions. check-in: 82cc6d4413 user: arjenmarkus tags: trunk
19:04
html - Tkt [1146362fff] EF, T, D html::submit extended to allow specification of title. - Tkt [a4680273cf] EF, T, D html::meta support extended for charset and http-equiv attributes. - Tkt [1076403fff] EF, T, D New convenience command `html::wrapTag`. Tests extended and updated. Documentation updated, regenerated. Version bump to 1.5 (EF). check-in: 6a75d04948 user: aku tags: trunk
18:03
simulation::random - Regenerated docs. check-in: d41bb0e17f user: aku tags: trunk
16:13
fileutil - Fixed two typos in code comment. check-in: 8524181fda user: aku tags: trunk
2019-06-24
21:15
Integrated profiler enhancement for ticket [0dd4b31bb8]. check-in: 1e56dce90c user: aku tags: trunk
19:45
profiler - Tkt [0dd4b31bb8] EF, D bumped to 0.4 Changed profiler leaveHandler to return command result. This enables use by subsequent non-profiler trace handlers. Closed-Leaf check-in: eb9ea6260d user: andreask tags: profiler-0dd4b31bb8
19:41
profiler - Tkt [0dd4b31bb8] T More testsuite cleanup, and fix. Moved all the common setup/teardown into a helper procedure and updated all tests Further fixed the package initialization done by the helper as the original code was able to use the wrong implementation. Now explicitly sourcing the code under test. check-in: 6e55e6721e user: andreask tags: profiler-0dd4b31bb8
19:31
Integrated logger fixes for ticket [e4d5ef01e7]. check-in: 4955240acf user: aku tags: trunk
19:09
profiler - Tkt [0dd4b31bb8] T New test demonstrating the missing result from the profiler leave handler. check-in: 3cb2719df9 user: andreask tags: profiler-0dd4b31bb8
18:58
profiler - Tkt [0dd4b31bb8] T cleanup check-in: 28f62f3f32 user: andreask tags: profiler-0dd4b31bb8
18:49
Add procedures to generate random numbers that have a triangular distribution function (this is in response to ticket [cc77e167bf]). check-in: 233f6a741b user: arjenmarkus tags: trunk
18:31
log - logger::utils - Tkt [e4d5ef01e7] D regenerated Closed-Leaf check-in: c9d061ae7f user: andreask tags: logger-e4d5ef01e7
18:25
Integrated ncgi fixes for tkt [1f900bdf6b]. check-in: 2adb057376 user: aku tags: trunk
18:23
log - logger::utils - Tkt [e4d5ef01e7] T, B - bumped to version 1.3.1. More cleanup, plus test case for handling of %M in a TclOO context. Fixed handling of %M in TclOO context. check-in: 8f954a97c2 user: andreask tags: logger-e4d5ef01e7
17:59
log - Tkt [e4d5ef01e7] T General cleanup in testsuite for logger::utils. check-in: b1e5c4e0a8 user: andreask tags: logger-e4d5ef01e7
17:20
ncgi - Tkt [1f900bdf6b] - B, T Bumped to version 1.4.4. Regenerated docs. Applied patch to improvde handling of 1-byte encodings. This is the second of two. Thanks to https://saschaszott.github.io/ Updated test case ncgi-3.10. His explanation: In practice www-url-encoded POST params can use encodings other than UTF-8 (think of legacy Tcl applications that use one of the ISO-8859-x charsets). In this case URL parameters can contain references to 8-bit code points (in the form of `%[A-F0-9][A-F0-9]`) that are not valid UTF-8 code points. For example, `%DC` can be used as a percent encoding for the german umlaut `Ü` (if a Tcl application is based on ISO-8859-1). Currently, the `decode` procedure does not decode `%DC` as all one byte UTF-8 code points must start with `[0-7]`. This commit improves the handling of one byte percent encoded non-ASCII characters. It allows to use ncgi in application contexts that do not use UTF-8 as the base encoding. Closed-Leaf check-in: b65597a91b user: andreask tags: ncgi-1f900bdf6b
17:06
ncgi - Tkt [1f900bdf6b] - I Applied patch shortening a few regex pattern by making use of `-nocase` option for `regsub`. This is the first of two. Thanks to https://saschaszott.github.io/ check-in: 61a9c3db15 user: andreask tags: ncgi-1f900bdf6b
2019-06-21
05:07
Integrated work on the test assets into trunk. check-in: 23b8d4b98e user: aku tags: trunk
05:05
sak test run - Moved table of timings to separate log file "STEM.timetable". Closed-Leaf check-in: bddd800ca6 user: aku tags: test-assets
05:05
Reworked the amazon-s3 test setup to check for and tell about the AWS authentication requirements it has. check-in: c17997785d user: aku tags: test-assets
00:04
Move many tests assets into a proper subdir of the module. check-in: af0b003dad user: andreask tags: test-assets
00:03
mime - B, T, version bumped to 1.6.2. - Fixed missing export of documented `buildmessage` command through the mime ensemble. - Shifted asset access support in tests to general utilities. check-in: a6f1dc74fe user: andreask tags: trunk
2019-06-20
19:47
doctools: tests - latex - Fixed static username in expected results to proper placeholder. check-in: a2959d98ee user: andreask tags: trunk
19:28
Trunk, clay: Fix bogus `errorCode NONE` in tests. check-in: 4ccd49719e user: andreask tags: trunk
19:26
Fix bogus `errorCode NONE`. Closed-Leaf check-in: 6a51e0b0db user: andreask tags: s3-test-work, overcome-by-other-work
19:20
Fix access of amazon-s3 tests to their local config file. Still something to do about AWS key setup. check-in: 766586de00 user: andreask tags: s3-test-work, overcome-by-other-work
2019-06-19
23:21
mime - Fixed two typos in code comments. No functional change. check-in: 0a01095aa0 user: andreask tags: trunk
2019-06-16
20:16
Fixed error in httpd: FormData was not getting information from GET requests Fixed error in httpd: File based content was looking at REQUEST_URI instead of REQUEST_PATH Fixed problem in practcl: PreInitScript on Windows cannot include a source check-in: 7fda9d9978 user: hypnotoad tags: hypnotoad
2019-06-08
00:22
Fixed an error with Clay's uuid generator when running with Tcllib's md5 implementation SCGI servers now read the doc_root setting and expose that as the DOCUMENT_ROOT header to scgi application code check-in: 2b1fd1d488 user: hypnotoad tags: hypnotoad
2019-06-05
13:30
Pulling changes from trunk check-in: 147792792a user: hypnotoad tags: hypnotoad
06:31
Integrated last of hypnotoad branch check-in: 8ec2d6ea79 user: aku tags: trunk
05:02
Integrated testsuite fixups Merged latest work from trunk Regenerated documentation. - Fixed outdated references to feedback.inc Use `modules/common-text/feedback.inc` now. check-in: e3ae2af3f4 user: aku tags: hypnotoad
2019-06-04
00:21
Abandoning efforts to merge the hypnotoad branch into trunk Copying files straight over from the clay fossil repo. Closed-Leaf check-in: c4f2912d41 user: hypnotoad tags: httpd-clay
2019-05-07
19:05
Add two tests for the quasirandom packages; describe and test the estimates for the number of primes in an interval check-in: c2db185801 user: arjenmarkus tags: trunk
01:21
Integrated the doc overhaul work into the trunk. This makes the various guides official. check-in: 6612c2b8a8 user: aku tags: trunk
2019-05-06
23:53
Merged latest work from trunk Closed-Leaf check-in: c0006570ed user: aku tags: doc-overhaul
22:53
sha1: sha1, sha256 Bugfixes - (original commit, and now) Version bump. sha256 1.0.4 sha1 2.0.4 Fixed testsuite issues introduced by commit [aa67a2cdc0]. The switch from `rename` to `interp alias` to activate an implementation was not compensated for in the code doing the deactivation just a few lines higher. check-in: 885b50ec5e user: aku tags: trunk
01:49
math::quasirandom - Fix testsuite setup - Requirements are 8.5+OO check-in: d898baf8e5 user: aku tags: trunk
2019-04-29
10:04
Make sha module compatible with channels that issue only one event each time the end of the channel is reached. check-in: aa67a2cdc0 user: pooryorick tags: trunk
2019-04-26
12:43
coroutine properly quote coroutine name check-in: 3bea76f022 user: pooryorick tags: trunk
2019-04-23
19:46
Add a new package "quasirandom" for generating quasirandom numbers check-in: 8fdd9b5200 user: arjenmarkus tags: trunk
18:52
Solve a small problem with the math::stats proc (it did not correctly calculate the mean if the given numbers were all integers; now in the correct branch) check-in: 4c651a5ee7 user: arjenmarkus tags: trunk
2019-04-19
19:02
Merged latest work from trunk check-in: 84a5c40304 user: aku tags: doc-overhaul
17:03
Package consolidation, deprecation, and movement. Tkt [31868eeaff] New: - fileutil::paths Tcl 8.4+ Version 1 - struct::map Tcl 8.4+ Version 1 Deprecated Replacement - configuration struct::map - doctools::config struct::map - doctools::paths fileutil::paths - paths fileutil::paths Updated all packages within Tcllib using the deprecated packages to now use the replacements instead. - doctools::idx::export 0.2.1 (I) - doctools::idx::import 0.2.1 (I) - doctools::toc::export 0.2.1 (I) - doctools::toc::import 0.2.1 (I) - pt::peg::export 1.0.1 (I) - pt::peg::import 1.0.1 (I) For external users reworked the internals of the deprecated packages to be plain wrappers redirecting to their replacements, deprecation stage D1. check-in: 788d248407 user: aku tags: trunk
05:57
Updated feature work with latest trunk changes. Closed-Leaf check-in: 7e81531352 user: aku tags: ak-31868eeaff
2019-04-18
23:17
Moved text block for general feedback out of `doctools2base` module to directory `common-text`. Updated all doc references. check-in: 8b098b25f7 user: aku tags: doc-overhaul
22:41
Expand section on awareness. check-in: 6e19eb334a user: aku tags: doc-overhaul
20:32
Doctools: markdown. Fixed mishandling of multiple copyright clauses in MD generator. Version bump 1.5.6 - B (markdown) - T (markdown) check-in: d00283c095 user: aku tags: trunk
20:09
Tkt [31868eeaff] Changed new package `fileutil::path` back to have a Tcl 8.4 requirement, for maximum compatibility. Modified the old implementations of the consolidated packages to redirect to the new package and implementation. Copied the tests from the latter over to ensure that these redirection wrappers are in working order. Created basic infrastructure in new directory `modules/0compatibility` holding these and any future compat packages / redirection wrappers. check-in: 5186a0f24b user: aku tags: ak-31868eeaff
06:10
Tkt [31868eeaff] Identical configuration management utility package. (Just claiming to require 8.4 vs 8.5) Removed doctools::config (doctools2base, 8.4) Removed configuration (pt, 8.5) Consolidated as struct::map, Tcl 8.4 requirement. Version bump - struct::map 1 - T (NEW) - D (NEW) Updated internal users: - pt::peg::export 1.0.1 (I) - doctools::idx::export 0.2.1 (I) - doctools::idx::import already bumped - doctools::toc::export 0.2.1 (I) - doctools::toc::import already bumped further fixed forgotten doc updates (doctools::{idx,toc}::import) of previous commit. check-in: d7c72d4825 user: aku tags: ak-31868eeaff
2019-04-17
19:52
fileutil::paths - Doc fix, test tweak check-in: b424206ff3 user: aku tags: ak-31868eeaff
16:36
Applied fixes to typos spotted by Arjen, with thanks check-in: 8b932db92c user: aku tags: doc-overhaul
06:29
Tkt [31868eeaff] Almost-identical path management utility package. (Differences due to 8.4 / 8.5 requirements) Removed doctools::paths (doctools2base, 8.4) Removed paths (pt, 8.5) Consolidated as fileutil::paths, Tcl 8.5 requirement. paths - No version bump. - T (NEW) - D (NEW) Updated internal users: - pt::peg::import 1.0.1 (I) - doctools::idx::import 0.2.1 (I) - Tcl 8.5 required - doctools::toc::import 0.2.1 (I) - Tcl 8.5 required check-in: d843b2df15 user: aku tags: ak-31868eeaff
02:13
Get more doctools fixes check-in: a9c3da3b35 user: aku tags: doc-overhaul
2019-04-16
23:25
oauth - oauth - Tkt [8fd2561785] Removed bogus '{' character at beginning of regexp for `Split` (on first separator character). Version bump 1.0.3 - B (oauth) check-in: a136e80afe user: aku tags: trunk
22:56
Doctools - markdown - Tkt [c17f7019ec] Multiple fixes - Handling of multi-line input to emphasis and similar doctools markup. The markdown markup for these are limited to inline. Fixed by emitting markup for each line of the input. - Flush command results in example_end. Fixes the markup of such commands getting wrongly moved to after the example. Tweaked example formatting, dropping trailing linebreak and empty line in block quote. Version bump 1.5.5 - B (markdown, text) - T (markdown, text) - D (Various manpages affected by the issues, and tweak) check-in: f5786278a4 user: aku tags: trunk
2019-04-15
23:19
math - math::exact - Tkt [30526e9027] - Fix version mismatch of code vs. index check-in: 068c2af6e8 user: aku tags: trunk
23:13
Zip - Mkzip - Tkt [b9725d990b] Fix handling of directories with leading dash ('-') in their name. Version bump 1.2.1 - B (mkzip) - T (mkzip, NEW) check-in: 5f3611f96a user: aku tags: trunk
19:22
virtchannel-base, tcl::chan::cat - Tkt [1975182bdd] Fixed non-functional event handling of the channel. Version bump 1.0.3 - B (tcl::chan::cat) - T (tcl::chan::cat, NEW) check-in: aeb3bec0da user: aku tags: trunk
2019-04-13
03:36
struct / struct::graph - Tkt [5edaf187fa] - Reworked the internal `CheckE` validation command for node filtering to treat words with a leading dash after -in, etc. as node names instead of invalid options, until a valid option is seen again, or the end of the command is reached, whichever comes first. This behaviour is now documented. Version bump 2.4.2 - (B) struct::graph - (T) struct::graph - (D) struct::graph check-in: bb9e30207b user: aku tags: trunk
2019-04-12
21:59
mime - Tkt [57909d2e1c] - Issue introduced with commit [913f7d92c5c35342]. Conversion of superfluous nested `expr` command forgot to convert braces to proper parens. This was able to break \r detection at the end of a line. - Further properly indented some of the code around this. - Lastly removed superflous reboxing of `mime::initializeaux` in `mime::initialize`. The command got boxed followed by immediate unboxing, making the whole thing superflous. Version bump 1.6.1 - (B) mime - (T) mime check-in: b2ae85b606 user: aku tags: trunk
15:12
Get doctools example and indent fixes check-in: 5f9bcaa466 user: aku tags: doc-overhaul
06:49
Doctools: - Markdown: Fix indentation for examples formatted as block quotes. Replace leading whitespace with non-breaking spaces. Note: Works only for leading whitespace. Non-breaking inner spaces seem to cause trouble, i.e. are not recognized and not formatted. - Latex: changed to use `alltt` as the environment for examples. This allows markup the same as doctools does for example_begin/end. Refixed handling of continuation lines to use the proper latex macro for the character. Regenerated package docs (version bump & fixes making changes) Version bump - doctools 1.5.4 B (latex, markdown) T (latex, markdown) check-in: 97fc04ebd2 user: aku tags: trunk
2019-04-11
20:00
dicttool - Tkt [e79990908f] - Fixed doc grammar. No version change. Removed DOS EOL from .md doc variant. check-in: e6a4a02868 user: aku tags: trunk
06:44
Doctools: - Better handling of continuation lines protected against Tcl substitution in the input. I.e. "\\n" written as "\\\n". Detect and convert this form into something which will look like a normal continuation line in the output. - Fixed situations where \1 characters slipped into the generated markdown. The relevant examples are now formatted as block quotes instead of code blocks. Price paid is loss of indentation. Might be fixable with the insertion of non-breaking spaces. Regenerated package docs (version bump & fixes making changes) Version bump - doctools 1.5.3 B (html, latex, markdown, nroff, text, tmml, wiki) T (html, latex, markdown, nroff, text, tmml, wiki) check-in: be90a82c61 user: aku tags: trunk
03:16
imap4 Tkt [e1b2ade141] D - Added category information (Networking). check-in: 5ed7010be0 user: aku tags: trunk
2019-04-10
21:06
Typo fixes check-in: f5da46e8f9 user: aku tags: doc-overhaul
20:58
Bring md special-char/verbatim fixes to the devguide check-in: 43904ac14b user: aku tags: doc-overhaul
20:46
Doctools: - Extended testsuite, markdown special character example. - Fixed issue in markdown engine with handling of its special characters in verbatim blocks. Should not emit them as quoted, they are not special in such blocks. Regenerated package docs (version bump & fixes making changes) Version bump - doctools 1.5.2 B (markdown) T (markdown) check-in: c74461e613 user: aku tags: trunk
2019-03-29
18:58
Fix old html links in the main index. Go markdown. check-in: 44c6bd8cc3 user: aku tags: doc-overhaul
04:22
Bring md list fixes to the devguide. check-in: 3226de27a6 user: aku tags: doc-overhaul
04:16
Brought md list fixes into the work on the guides check-in: d821fa1849 user: aku tags: doc-overhaul
04:14
Doctools: - Extended testsuite, nesting of different list types. - Fixed issues in text/markdown engines with this kind of nesting. (Context creation did not clear inherited type markers, and paragraph handling took def markers over other list markers) Regenerated package docs (version, bump, fixes making changes) Version bump - doctools 1.5.1 B (text, markdown) T (text, markdown) check-in: 3ddb294ff0 user: aku tags: trunk
2019-03-28
22:14
Dev guide - Tweaked phrasing in commitments. - Reworked and expanded section on branches and workflow around them. Installer - Redone instructions, split by platform again. - Separated out the more advanced pieces into a tooling section. check-in: 6cca025e4c user: aku tags: doc-overhaul
2019-03-25
21:30
Brought MD work into the overhaul of dev docs. check-in: b072dfa9b8 user: aku tags: doc-overhaul
2019-03-22
19:19
Brought markdown doctools work into the trunk. check-in: 11efa65aed user: aku tags: trunk
19:16
Documentation updated to include Markdown as a possible output format. Regenerated embedded documentation. Version bumps EF (markdown) B (text, html, tmml, nroff, latex, wiki) I (text) T (*) D (*) doctools 1.5 doctoc 1.2 docidx 1.1 Closed-Leaf check-in: 14a3046674 user: aku tags: doc-fixup-and-markdown
07:17
More polishing to bring the embedded markdown documentation nearer to par with HTML. Only the styling HTML had is missing, and that is a limit of MD itself. - Markdown: Added support for engine parameter 'header'. Needed for navbar from dtplite. Added missing copyright information (see also HTML). Added character protection to engine, to mark the special command characters. Special characters in the input are quoted at the end, to prevent them from being seen as special by markdown. This required support in the general text engine too, when handling indents. It must not count the protection character (\1). - dtplite: Use HTML entity for the vertical bar in the navbar. This prevents misidentification as special character in the markdown engine, while keeping it usable for the HTML engine. - Removed HTML stylesheet for fossil integration. Unused now with the embedded docs using markdown and fossil doing the render. - Regenerated embedded docs, inserting copyright comment, and navbar. check-in: 67c2cce9ef user: aku tags: doc-fixup-and-markdown
2019-03-21
20:05
Switched homepage over to markdown. check-in: 2c7245df25 user: aku tags: doc-fixup-and-markdown
19:50
Merged localdoc work based on markdown into markdown. check-in: e0d7b4dc8e user: aku tags: doc-fixup-and-markdown
02:16
Fixed missing conversion to relative paths for image links. Closed-Leaf check-in: 58be278739 user: aku tags: doc-fixup-and-markdown-localdoc
01:50
Switched embedded docs to markdown. Regenerated install docs. check-in: 7cfe8cda34 user: aku tags: doc-fixup-and-markdown-localdoc
01:48
Fixed forgotten reset of md comment counter between documents. Fixed missing md extension declaration in the localdoc implementation. check-in: 945b80356c user: aku tags: doc-fixup-and-markdown-localdoc
2019-03-20
23:39
Merge latest work done on markdown generator (tocs, xrefs). check-in: 945be77637 user: aku tags: doc-fixup-and-markdown-localdoc
22:57
Markdown: Implemented document cross references, and added refs to the per-page synopses. check-in: a8b930a4d3 user: aku tags: doc-fixup-and-markdown
18:43
Reworked section explaining use of critcl by build system based on feedback from Arjen Markus. check-in: c58a3c19ac user: aku tags: doc-overhaul