Tcl Library Source Code

Timeline
Login
Bounty program for improvements to Tcl and certain Tcl packages.

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

50 most recent check-ins

2021-01-04
18:15
Generate the documentation via the command "sak.tcl localdoc" as advised by Andreas Kupries. This should bring all documentation up to date. Leaf check-in: 0f0b5f9cc0 user: arjenmarkus tags: trunk
2021-01-03
14:40
Add a package for change point detection in data series (fairly basic: CUSUM and binary segmentation). The tests should be extended to demonstrate more features and the properties of the algorithms. check-in: f03222f0df user: arjenmarkus tags: trunk
2021-01-01
13:38
Add a new package: probabilistic optimisation whih implements four different algorithms. Also correct the manpage name for machineparameters check-in: 2ee6858e5e user: arjenmarkus tags: trunk
13:29
Correct the tests and a minor mistake (loop over the data) in the math::filters package check-in: f8b222fa09 user: arjenmarkus tags: trunk
2020-12-20
10:37
Add new package: math::filters for digital filtering. Specifically implements Butterworth low-pass and high-pass filters. The filtering procedure and object themselves are generic. check-in: 6885f72e11 user: arjenmarkus tags: trunk
2020-11-24
16:40
Ticket [bc966a62a9]: reworked dependency (documentation) of zipfile::decode : - Need of fileutil::magic::filetype is not understood and commented out. - Document dependency: no "fileutil::magic::mimetype". For tcl8.6: no Trf, zlibtcl. check-in: 412c5bb5da user: oehhar tags: trunk
16:31
Set zipfile::decode version to 0.7.3 . Manual test successful, good patch. check-in: c3f86f2d1a user: oehhar tags: trunk
11:04
Ticket [48ed494bc4]: zipfile::decode GetFile need check native_zip_functs flag check-in: 1a1e67f4a3 user: oehhar tags: trunk
2020-11-23
20:21
Add a set of procedures developed by Manfred Rosenberger. They focus on handling polylines and segments. Several more to come, as well as a clean-up of the code. check-in: fa460b7db5 user: arjenmarkus tags: trunk
2020-09-20
12:38
Correct typo in documentation check-in: 40692e2bd2 user: arjenmarkus tags: trunk
12:23
Solve the issue with [direction] and [octant] as reported in [https://core.tcl-lang.org/tcllib/tktview?name=fb4812f82b]. More to follow - suggestions by Manfred Rosenberger. Note that this version is incompatible with the previous versions, due to repairing these two procedures. check-in: 1f54de21e6 user: arjenmarkus tags: trunk
2020-06-22
16:11
pki - Ameliorated the impact of the new `overhead` argument to pki::rsa::encrypt (an extension API, used by, for example tclpkcs11). Done by moving the new argument to the end of the list and making it optional. Default is 0, the implied value before the change. Tweaked/simplified setup and using expression. check-in: 040ca3e0d8 user: aku tags: trunk
2020-06-18
04:54
pki - Fixed breakage introduced with commit [f804eec616] by pooryorick. This was caught by running the pki testsuite. Explanation of the break: Beyond a bugfix and an API change in an extension interface the commit changed a number of general comparisons (`==`, `!=`) to string comparisons (`eq` and `ne`). In one of these the condition became inverted, i.e. an `==` was wrongly changed to `ne`. The fix here changes it to the proper `eq`. check-in: cbfc6ae41c user: aku tags: trunk
2020-06-15
05:52
base32 - Split base32c, base32c::hex into separate modules. base64 - Split base64c placeholder into separate module. crc - Split crcc placeholder into separate module. json - Split jsonc into separate module md4 - Split md4c into separate module md5 - Split md5c into separate module md5crypt - Split md5cryptc into separate module rc4 - Split rc4 into separate module base32, json - Bumped to look for the separate accelerator too, not just the shared tcllibc. Bumped version. md5crypt - Attention: For the tcllibc we cannot use the duplicated `md5.c` on pain of getting linker errors for the duplicated symbols. On the other side, that same file is required when installing md5cryptc as its own package to be compiled on the fly when used. To handle both cases the relevant code is disabled by default and fixed up during installation, see action `_md5`. The C accelerator packages are now installed separately from the Tcl code. Headers and C sources included. Should be possible to package require this, invoking critcl compilation on the fly. Leaf check-in: a84629e424 user: aku tags: sha-c-split
2020-06-10
02:42
sha1 sha1c, sha256c - <EF> Split SHA C code off the base module. The C accelerator packages are now installed separately from the Tcl code. Headers and C sources included. Should be possible to package require this, invoking critcl compilation on the fly. check-in: 03bf740f53 user: aku tags: sha-c-split
2020-06-09
19:08
new routine: zip/decode/filelocations check-in: cc62d1c92a user: pooryorick tags: trunk
2020-06-08
13:57
add a public interface to the sha256c and install requisite .c and .h files for use at runtime. check-in: 555e0de12d user: pooryorick tags: trunk
2020-05-25
05:03
pki: insert missing "break" into padding routine. Add "overhead" argument to encryption routine. check-in: f804eec616 user: pooryorick tags: trunk
2020-05-21
07:58
dns - ipMore - <I> Bumped ip to 1.5, ipMorec to 1.1. Removed the code skipping Windows/SunOS 5.6. It is not explained why it is needed, and why only for the specific platforms. This means that the accelerator code does not contain a compile-time build system choice any longer. If the disabling is truly required then compile-detection can be added back, plus any necessary signaling to the Tcl side and runtime. Further, moved the command definitions out of the namespace eval, and added the namespacing back in through the command names itself. Reduces indentation and looks generally nicer. Lastly, fixed the issues in the test suite which prevented it from properly testing the C parts even when available. Leaf check-in: 0ee7b2a1bd user: aku tags: critcl-dns-ip
2020-05-15
00:21
pt, struct - <I> accelerator code - Fixed all the warnings reported on Linux (gcc 5.4). A few tests looking at sources updated to match. No functional changes. check-in: 4bc853f186 user: aku tags: trunk
2020-05-14
20:35
Fixed missing include. Leaf check-in: 7444b7b817 user: aku tags: cutil-endianess
20:27
Trial new cutil endianess support. See https://github.com/andreas-kupries/critcl/pull/111 for underlying supporting code. check-in: c85ee8cb40 user: aku tags: cutil-endianess
17:46
mime - I, Bump to 1.6.3. Renamed a few placeholder arguments in the md5, etc. emulations. Triggered for `--` to avoid clash with a variant definition of `proc` (at FlightAware) which gives `--` special syntactic meaning in support of named parameter handling. The new name also makes it clear that these arguments are not used. No functional changes. Doc refresh. check-in: 62c7dba89c user: aku tags: trunk
06:21
Restored feature extensions lost in the trunk shuffle. Thanks to avl for reporting the problem. Attention: Both ldap and ldapx now require Tcl 8.5+ ldap/ldapx <EF> Tkt [60160205fe] Extensions to the TLS handling of ldap(x) enabling the specification of all TLS options instead of the limited set we had before. Original branch: ldap-60160205fe-tls Bump to versions 1.2, 1.10. Doc refresh. check-in: 92cf59a4ac user: aku tags: trunk
04:07
md5, md5x - I, Bump to 1.4.5, 2.0.8 Fixed inadvertent use of global variables by various pieces of package initialization code. Moved the variables into the package namespace. Doc refresh. check-in: 0d87263bbe user: aku tags: trunk
04:02
clock - D - Documented the ISO 8601 formats understood by the time and date parsers. - Fixed a few typos. check-in: 7d0f0c6b1b user: aku tags: trunk
2020-04-17
09:56
Solve issue https://core.tcl-lang.org/tcllib/tktview?name=7017dad214 - correct implementation of the totient function check-in: 7554ccd073 user: arjenmarkus tags: trunk
2020-04-16
23:51
Clean up Fossil commit warnings (fossil test-commit-warning) by removing carriage returns, switching to UTF-8 where appropriate, and whitelisting particular files. Note: Fossil fails to honor binary-glob for files that it doesn't think are binaries in the first place due to not containing NUL bytes, so these cases are listed in both binary-glob and encoding-glob. check-in: 7529457152 user: andy tags: trunk
2020-03-14
05:19
resolve some merge conflicts Leaf check-in: e3475de993 user: pooryorick tags: pooryorick
2020-03-06
22:08
Followup: crc - crc16 - Fixed calculation of signbit. crc16 contained the same problematic signbit code we saw in crc32. The same change has been applied. crc16 version bumped to 1.1.4 check-in: 95af8220a8 user: aku tags: trunk
06:57
crc - crc32 - Fixed calculation of signbit. The existing code relied on having the `int()` result limited to system word size. Starting with Tcl 8.7 this is not true any longer (See [TIP 514](https://core.tcl-lang.org/tips/doc/trunk/tip/514.md)). Added code to use `tcl_platform(wordSize)` as source to derive the signbit from. Kept the existing code for old versions of the core without `tcl_platform(wordSize)`. For these `int()` will be limited as expected, thus no trouble. This was reported indirectly to us through https://github.com/andreas-kupries/critcl/issues/107 crc32 version bumped to 1.3.3 check-in: 7737acdb11 user: aku tags: trunk
2020-02-17
14:41
Closing fork check-in: b9b9ff9c74 user: hypnotoad tags: trunk
14:33
Merging changes from Trunk Leaf check-in: 4f943a9660 user: hypnotoad tags: hypnotoad
14:25
Bumping the version on Markdown check-in: a4c2f4227c user: hypnotoad tags: trunk
14:23
Applying bug fix to the Markdown package per ticket [ab0fdf9aead96e7a58d2c7330274a7250e2f8764] check-in: 177191e32e user: hypnotoad tags: trunk
2020-02-13
19:35
Add simple procedures to return the Euler and Bernoulli numbers. The numbers themselves are stored in two look-up lists. check-in: 883969dee1 user: arjenmarkus tags: trunk
2020-01-28
22:25
Added a coroutine guard for file locking in nettool check-in: 9b67fcc749 user: hypnotoad tags: hypnotoad
21:15
Added an API call to set the sync file in nettool check-in: faca2007b6 user: hypnotoad tags: hypnotoad
20:09
Nettool: Added an instruction for data to be ignored after a week, and provided a mechanism for a process to release all ports it claimed check-in: 441a5da4ea user: hypnotoad tags: hypnotoad
19:48
New version of nettool which allows for a central text-based pool of tcp ports check-in: ed69e9893c user: hypnotoad tags: hypnotoad
15:58
Added a binary encode to the uuid's random string generator to avoid embedded nulls terminating strings prematurely check-in: 08ccfd657e user: hypnotoad tags: hypnotoad
2019-12-07
19:55
Tkt [0e16703e411f4c9f] Updated current release on home page check-in: b0d89885fb user: aku tags: trunk
2019-12-06
15:03
Updated registered service ports database. Added a manual entry for slingboxes (which IRM tends to trip over) check-in: 89224bbaf7 user: hypnotoad tags: hypnotoad
2019-12-01
22:09
Tcllib Release 1.20 - Updated various meta data. - Removed 2 dropped packages from installer. check-in: c9931ec3e9 user: aku tags: trunk, tcllib-1-20
21:55
Tcllib Release 1.20 work integrated with trunk. Release imminent. check-in: 678001e94f user: aku tags: trunk
2019-11-26
04:25
Brought RC into sync with trunk. Updated READMEs to match work on - blowfish - dns - httpd - markdown - profiler - struct::matrix - tcl::chan::halfpipe Closed-Leaf check-in: a198fe68f5 user: aku tags: tcllib-1-20-rc
02:53
Integrated blowfish work. Updated local documentation. check-in: c230d5a347 user: aku tags: trunk
00:02
blowfish - blowfish - B - Tkt [d56da1abca] Extended testsuite: Added channel-based (-in) test cases where appropriate. Fixed error handling for channel processing, swallowed the error message, and state. Closed-Leaf check-in: 69558ad9d0 user: andreask tags: tkt-d56da1abca
2019-11-25
22:28
blowfish - blowfish - B - Tkt [d56da1abca] Version bumped to 1.0.5 (*). Updated documentation. Tweaked `Chunk` patch slightly (Early return for empty data). TODO: Add tests (padding, no padding). (*) Missed in patch for code, package index, docs. check-in: ad21f4eab3 user: andreask tags: tkt-d56da1abca
2019-11-24
21:25
Merge amg-argparse Leaf check-in: b8b70870c9 user: andy tags: amg-argparse-validation