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

2023-01-30
13:21
Integrated websocket changes Leaf check-in: db549a5ec8 user: aku tags: trunk
13:20
Doc regeneration, whitespace cleanup, code cleanup Closed-Leaf check-in: 6725421796 user: aku tags: websocket-1485d648
12:26
websocket - EF - ticket [1485d648] - Create ensemble, export public commands Reworked initialization, moved into a single-shot apply block Bumped Tcl requirement to 8.6 in all places. Bumped version to 1.5 check-in: 086c7f3911 user: aku tags: websocket-1485d648
12:01
zip - mkzip - EF - ticket [d6427645ad] - New option -prepend-base-directory Version bumped to 1.2.2 Thanks to [email protected] for report and initial patch. Changes: - different option name - reindented/formatted - simplified implementation through use of `lmap` - added documentation - added tests check-in: 62f38181c4 user: aku tags: trunk
2023-01-16
21:33
comm - Ticket [cb9a7f0bfc] - Fixed regression in hook eval handling. Introduced by the simplification of commit [c2d2a4b7e60916fe]. Bumped version to 4.7.1. check-in: 64483ae5d2 user: aku tags: trunk
19:21
mime - mime - Ticket [5f455d6343] Fix duplication of boundary specification in mime part header section. Extended testsuite with new case for this. Bumped version to 1.7.1. With thanks to Jasper for the report. check-in: 3973b65080 user: aku tags: trunk
17:05
rc4 - Ticket [264eedd732] - Fix example (documentation). No version bump. With thanks to the unknown submitter. check-in: 3d15a5a58e user: aku tags: trunk
2022-12-15
18:46
map - slippy - Integration of branch `map-slippy-api-redone`. Version bumped to 0.8. Extended tests, documentation, benchmarks. BREAKING API CHANGES Reworked and (hopefully) simplified entire API. For details see the commits of the integrated branch. FEATURES Lat/lon validation - spearate, geo locations, geo boxes, and lists of. Limit geo precision, for locations, boxes, and lists of. Box operations: inside test, center, dimensions, diameter, perimeter Distance formatting check-in: 2e83f22d34 user: aku tags: trunk
2022-12-09
21:42
map slippy - EF New methods to validate lat/lon separately, and geo/geobox Extended documentation, tests, benchmarks Closed-Leaf check-in: 6a73e00660 user: aku tags: map-slippy-api-redone
2022-12-08
17:10
map - slippy - EF New geo(box) methods: limit values (6 decimals) Extended tests, documentation. Added all missing benchmarks check-in: 9d9df8b016 user: aku tags: map-slippy-api-redone
14:23
map - slippy - EF New general methods: limit values (2, 3, 6 decimals), distance formatting for display Extended tests, documentation. No benchmarks yet. check-in: bc50aab1b4 user: aku tags: map-slippy-api-redone
2022-12-07
21:50
map - slippy - EF New methods for geo/point box: inside (check), center, dimensions, diameter, and perimeter Extended tests, documentation. No benchmarks yet. check-in: e27c07268c user: aku tags: map-slippy-api-redone
2022-12-06
19:56
map - slippy - BREAKING API CHANGES Reworked and (hopefully) simplified entire API. Took zoom (level) out of all reps => Unified point and pixel reps. Proper box types (added for point boxes) Additional box methods (geo/point conversion, box/corner conversions) New methods taking lists of geo/point directly Removed need to unbox (splat) and rebox (args) lists when chaining operations Updated tests, docs, benchmarks BREAKING API CHANGES - Version 0.8 check-in: 3b4bae8091 user: aku tags: map-slippy-api-redone
2022-11-04
19:29
pt - pt::pgen - EF - Tkt [c29f2e3e6b] Extended the `pt::pgen` generator package with 2 additional output formats, `snit-sa` and `oo-sa`. `sa` meaning `Stand Alone`. Plain snit/oo parsers require a runtime package implementing the PARAM virtual machine (`pt::rde`, and `pt::rde::oo`). The standalone parsers contain the necessary runtime as part of their code. Bumped `pt::pgen` to version 1.2. check-in: f5ed477117 user: aku tags: trunk
2022-10-21
16:19
map - slippy - bugfix - C code - error handling added missing NULL sentinels for Tcl_SetErrorCode and Tcl_AppendResult more argument checking in the tcl code for consistent messaging - Beware: These checks make the Tcl code slower extended testsuite, tests for bogus arguments first user of the new `syntax` utility command bumped version to 0.7.1 check-in: c06535eb52 user: aku tags: trunk
16:19
testutils - new utility command `syntax` to semi-automate writing wrong#args tests the utility generates wrong#args tests from a set of command names and their arguments, and executes them. check-in: 282e5e4b09 user: aku tags: trunk
2022-10-15
17:54
map - slippy - Added geo distance method. Version bump to 0.7. Extended tests, docs, benchmarks. Regenerated docs. Note https://github.com/geographiclib as possible source for higher accuracy algorithms. check-in: 60b74ae199 user: aku tags: trunk
15:15
Integrated branch `installErrFix`. check-in: a0d55d2e89 user: aku tags: trunk
2022-10-13
22:43
Please review and merge to trunk: If the 'main' procedure in the installer encounters an error, a non-zero exit code should be used. Closed-Leaf check-in: 57b8fb7aa1 user: mistachkin tags: installErrFix
2022-10-10
16:17
Merge ws-bugfixes-2022H2. Several bugfixes to websocket, mostly on client side. Add example servers from ticket 0dd2a66f089. check-in: a500ff9409 user: kjnash tags: trunk
16:08
Merge trunk Leaf check-in: 26aa56f25e user: kjnash tags: ws-bugfixes-2022H2
16:06
Do not log warning message if http is 2.9.8 or higher. check-in: af7f8418f8 user: kjnash tags: ws-bugfixes-2022H2
00:48
Remove line-end trailing whitespace from websocket server examples. check-in: b5eeefd661 user: kjnash tags: ws-bugfixes-2022H2
00:45
Minor bugfixes to websocket server examples and integration with Tcllib. check-in: 08c887ce86 user: kjnash tags: ws-bugfixes-2022H2
00:26
Add example websocket servers provided by anonymous in ticket 0dd2a66f08. check-in: b2fc3ed95b user: kjnash tags: ws-bugfixes-2022H2
00:24
Minor changes to websocket.man including omission mentioned in ticket a01e30ff4. Update the example to use a web server that is still live, and to close the websocket connection after use. check-in: 64bc13d54e user: kjnash tags: ws-bugfixes-2022H2
2022-10-09
23:28
Tidy websocket.test - set common data in variables, improve cleanup. check-in: 5a340dcf33 user: kjnash tags: ws-bugfixes-2022H2
23:23
Apply patch described in ticket 21e22313d to handle unexpected disconnection. check-in: 4c07749be1 user: kjnash tags: ws-bugfixes-2022H2
12:55
Apply patch from ticket 0dd2a66f - so that [dict get] does not raise an error in ::websocket::test check-in: 25005159c5 user: kjnash tags: ws-bugfixes-2022H2
10:53
Apply patch from ticket feda6855978c - avoid infinite loop if handler enters the event loop. check-in: 7da974e057 user: kjnash tags: ws-bugfixes-2022H2
10:24
Apply patch from ticket 5d23e45b0ec5 - do not allow ::base64::encode to add newlines to WebSocket keys. check-in: 3dfb862cc8 user: kjnash tags: ws-bugfixes-2022H2
2022-10-08
12:12
map - geocode::nominatim - I - Now requires 8.6+. Bumped to 0.2 map - slippy::cache - I - Now requires 8.6+. Bumped to 0.3 map - slippy::fetcher - I - Now requires 8.6+. Bumped to 0.5 map - slippy - I - Internals completely reworked. Details below - Now requires Tcl 8.6+ - Removed snit as means of simulating an ensemble - Using a proper ensemble, and other 8.6 features - Added a critcl-based accelerator - Added benchmarks to compare the Tcl and C implementations - Saved benchmark results - Tcl about 2x and 4x slower for the complex calculations - Only about 1.5x slower for the simple things - Added API method to batch transform a geo location into its canvas points at all levels Bumped version to 0.6. Regenerated docs. Tcllibc - Bumped to 0.4 - EF - New map::slippy accelerator check-in: f270e3aa86 user: aku tags: trunk
12:10
Modified `useTcllibC` to handle case where an internal tcllibc not usable/visible to a Tcl version. check-in: b9ce22701d user: aku tags: trunk
11:06
Adapt websocket.tcl to http 2.10 Tcl commit 8f7fbb617da2 - http::geturl no longer opens a socket synchronously. All websocket tests now pass. check-in: cfbc1ff807 user: kjnash tags: ws-bugfixes-2022H2
10:43
Create new branch named "ws-bugfixes-2022H2" check-in: fba0f8a01c user: kjnash tags: ws-bugfixes-2022H2
2022-10-06
21:01
Flatten pkgIndex content to prevent test log processor from breaking on non-list multi-line check-in: 95d947b11c user: aku tags: trunk
2022-10-05
21:00
math - bigfloat2 - Tkt [38447f264b] - B - mishandling of zero exponent tests added. version bumped to 2.0.4. regenerated docs. check-in: 99458cf45a user: aku tags: trunk
20:42
math - decimal - Tkt [c32d31f42d] - I - typo fix in comment simulation - montecarlo - Tkt [29e688b8fb] - D - typo fix in docs regenerated docs check-in: 7546b29b79 user: aku tags: trunk
2022-09-09
10:36
textutil - string - I - fixed indentation of benchmark code textutil - wcswidth - I - replaced core type/char functions with new implementations roughly 30x faster. The new implementation uses a nested binary tree of if commands to quickly bisect the result domain. Interestingly enough this is faster than using a 2-stage table lookup. And while it is not as fast as a single-stage table lookup (~45x) it also does not come with the horrendous size overhead of the same (~120x). The research leading to this (*) is saved in sub directory `build/alternates`. See `build/alternates/README.md` for the summary. (*) Scripts, results (.csv(.xz)), GNUplot configurations, ... check-in: ee19cd9a40 user: aku tags: trunk
2022-09-07
20:06
valtype - iban - EF - Ticket [a8bcb82e2f] Updated to IBAN v92. Bumped to version 1.8. Extended tests. Thanks to [email protected] for the ticket and patch. check-in: 65fb118edf user: aku tags: trunk
2022-09-05
20:24
Fix missing tests for the extended handling of ANSI colors and double-wide characters check-in: 052c77084f user: aku tags: trunk
20:06
BEWARE: struct::matrix v1 eliminated. BEWARE: textutil::wcswidth 35.2 demands Tcl 8.5+ BEWARE: struct::matrix 2.1 demands Tcl 8.5+ BEWARE: report 0.4 demands Tcl 8.5+ BEWARE: csv 0.9 demands Tcl 8.5+ textutil - B - textutil::wcswidth Fixed missing Tcl core requirements in code and docs. struct - B - struct::matrix - Ticket [360d28402f] Fixed missing handling of ANSI color sequences in format_2string. Added handling of double-wide Asian characters. Factored into a helper command. Bumped to version 2.1. report - B - Ticket [360d28402f] See above, added handling of double-wide characters. Account for double-wide and color sequences in the report template and padding as well. Bumped to version 0.4. csv - Ticket [360d28402f] Bumped to version 0.9. check-in: 186dfb6dc1 user: aku tags: trunk
13:20
Update textutil::wcswidth to latest unicode database. Bump to version 35.2. Tests added. Documentation added. check-in: 624dc483bc user: aku tags: trunk
2022-06-10
12:35
Fix for 935ac3b65b. Conflicting link definition for sha256 with MS C Leaf check-in: 3d04580503 user: apnadkarni tags: sha256-vc-fix
2022-06-05
11:01
Document the changes- root-find procedures check-in: a27334abbf user: arjenmarkus tags: trunk
10:59
Add root finding methods for one-dimensional functions (bisection, secant, Brent and Chandrupatla) check-in: 4c392b4878 user: arjenmarkus tags: trunk
2022-05-10
09:46
Add file modules/websocket/websocket.test check-in: 8efdc2ecb6 user: kjnash tags: trunk
2022-05-07
15:59
Updated release information on homepage. check-in: 9a36861c95 user: aku tags: trunk
15:51
Tcllib Release 1.20 work integrated with trunk. Released. check-in: a25bdeaef4 user: aku tags: trunk, release, tcllib-1-21
14:21
Updated various meta data files. Closed-Leaf check-in: 2880642f73 user: aku tags: tcllib-1-21-rc