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 check-ins occurring around 788d24840747a087.

2019-06-04
19:50
Removing hardcoded path, and registering the paths in the appropriate manner in the httpd tests check-in: 357caec02f user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
19:38
Adding a DOCUMENT_ROOT to the server headers for scgi servers check-in: a4f6ae73f9 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
19:08
Fix for scgi-client-0006 in httpd check-in: 5f4063d387 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
17:58
Replace live calls to clock seconds with one single call and a global value used by all tests check-in: fb394194c3 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
17:29
Added refcounting safeguards arround common areas where reply objects are waiting and polling. Added a test to ensure that all objects that were supposed to be garbage collected ARE garbage collected after ::clay::cleanup check-in: c3921f3366 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
17:09
Finally fixed httpd module's scgi-client-0006 test check-in: 839939e944 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
16:37
Added refcounting to clay objects, and replaced the hard-cast clay::destroy calls with invocations of the object's clay refcount_decr method. Tweaks to the httpd test to try to sort out why scgi-client-0006 is still failing check-in: f5ae509e59 user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
13:43
Added a new channel registration system for httpd replies, instead of forcing developers to manually clean up channels via the old TransferComplete mechanism. Rather than hard-calling destructors for httpd reply objects (and their proxies) added a soft-kill mechanism developed for cuneiform to the httpd module. A new command "clay::destroy" marks and object for death, to be cleaned up at the next call for clay::cleanup. The cleanup is invoked at points in the idle loop where the object is expected to be long done with its toys. When an object wants to deliver its contents now, it can invoke the "close" method. Close will now close ALL channels registered with ChannelRegister, not just the channel in the "chan" variable. Fixes the crashes in scgi test 0006, but now the content is still coming out "wrong" check-in: fb7ab80b6b user: hypnotoad tags: aku-the-big-httpd-testsuite-cleanup
07:34
Starting to investigate the issue with `scgi-client-0006` I was unable to help myself and started a cleanup of the tests first. - Fixed up indentation all over the place. - Moved all the various expected replies (404, 200, 500) into constructor procedures. This not only made the individual tests clearer, but also easier to properly indent. - Removed the custom `httpd::test::compare` (HTC). Switched to regular tcltest glob matching, plus string map for basic templating of some expected results (200... variants). - The thing with the `norm-eol` I had to add (*) makes me suspect that HTC hid a possible bug in the proxy coding around the handling of line endings. (Of course, my norm-eol now works around the same thing, if in a different manner). (Ad *) See marker `AKU` in the code. - Moved the cgi helper application into an `assets` directory. No need for dynamic creation and deletion. Just tweak the `path` it is looked for. With all this I can now easy see that `scgi-client-0006` returns a 500 server error to us, instead of the expected file. check-in: 91d4900a3d user: aku tags: aku-the-big-httpd-testsuite-cleanup
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-06-03
23:44
Update to clay, practcl, and httpd brought over from the clay project. clay - fixes a typo in the ensemble generator - Removed a call to cron::object_destroy (we don't always run with cron) - Added a tool-like event manager - Removed where the amalgamater was adding dictargs twice - Added a "short" uuid for local projects httpd - updates to clay - Test fixes - Remove CSS templating from the vanilla httpd - Some behind the scenes tweaks to accomodate the cuneiform module when httpd is used in external packages practcl - updates to clay - Static packages are now advertised in the tclpreinitscript, eliminating the need for the master process to throw a bootstrap to new threads check-in: 6ae00eec07 user: hypnotoad tags: hypnotoad
2019-05-30
18:22
Updated clay to mirror the latest version on http://fossil.etoyoc.com/fossil/clay (0.8) * Adds support for short UUIDs * Adds support for the embedded md5 generator in odielibc * Integrates dictargs into the clay syntax Update practcl * Embedded clay version is now 0.8 * Fixes a bug in installModule for an empty directory * Fixes a longstanding issue with bootstrapping child interps and threads from kits check-in: 0aa60d1fa8 user: hypnotoad tags: hypnotoad
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
17:52
Beginnings of effort to rework validation to allow validators to see all results, not just the current value Leaf check-in: 36387739e6 user: andy tags: amg-argparse-validation
17:51
Update to-do list Leaf check-in: 9064b9d02f user: andy tags: amg-argparse
17:51
Continue writing documentation check-in: 2c12551d21 user: andy tags: amg-argparse
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
19:40
Solve a small problem with the math::stats proc (it did not correctly calculate the mean if the given numbers were all integers) Leaf check-in: d754f29e93 user: arjenmarkus tags: pooryorick
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:47
Begin writing documentation check-in: b40a9f709a user: andy tags: amg-argparse
06:45
Allow parse_args-style comments check-in: 487e9d220e user: andy tags: amg-argparse
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
04:04
Import pipeline version 0.3 which adds -params and -init switches to [pipeline::loop]. makes -separate not require -buffer, and adds [pipeline::procLoop] Leaf check-in: 840e4efea8 user: andy tags: amg-pipeline
03:44
Merge amg-argparse check-in: ec05a2e2e4 user: andy tags: amg-pipeline
03:44
Import argparse version 0.4 which adds the ability to put overall options directly in the parameter definition list, a feature needed by the latest version of pipeline check-in: 50fdc84e6c user: andy tags: amg-argparse
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
02:04
Version bump and typo fix check-in: cc3e325115 user: hypnotoad tags: hypnotoad
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