Tcl Library Source Code

Timeline
Login

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

22 check-ins that include changes to files matching 'modules/json/c/*'

2024-01-30
23:29
Fixes in md5crypt C code to properly handle non-ASCII strings. General tcl9 work/marking of more locations found by the extended checker (in C companion files). check-in: 00c0fc2344 user: aku tags: trunk
2024-01-10
19:37
general tcl 9 compatibility work - I - accelerators updates all but two C accelerators for work with 8.6 and 9. __BEWARE__: building now requires critcl commit [https://github.com/andreas-kupries/critcl/commit/e7408b59fcbe505379e3feec8f37b8208f72b28a] or later. The accelerators excluded from this commit are `crcc` and `ptc`. While their changes build successfully, they crash in the testsuite, indicating unresolved issues. check-in: e02cf17c2d 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
2016-09-29
19:26
Pulling changes from trunk check-in: 6cde283c07 user: tne tags: odie
2016-09-04
00:30
Merged fix for json-c in multi-threaded environments. check-in: 3870a86829 user: aku tags: trunk
2016-09-01
04:14
json (critcl) <B> - Tkt [715944a1f7] - Moved to bison 3.0.2. Moved spec to ask for a re-entrant parser, and fixed all build issues coming with that. Closed-Leaf check-in: 56dcef5679 user: aku tags: jsonc-tkt-715944a1f7
2015-06-04
07:46
json - Ticket [785d2954d4] - Made handling of the static literals thread-safe. Regenerated the parser C code (bison 2.5). This passes the testsuite. check-in: ad8beea34a user: aku tags: tkt-785d2954d4-jsonc
07:10
json - Ticket [785d2954d4] - Fixed looseness in the version check for C-level dict support. check-in: 685c32cbc7 user: aku tags: tkt-785d2954d4-jsonc
2015-05-28
18:29
Integrating work from the SCGI branch check-in: 589400c8ae user: hypnotoad tags: odie
05:40
Applied patch from ticket. New branch. Not in a state suitable for merging. See comments in the ticket, i.e. [785d2954d4]. check-in: 9aff74cefd user: aku tags: tkt-785d2954d4-jsonc
2015-05-26
19:50
Update to latest trunk, including 1.17 release. check-in: 17f48a6234 user: andreask tags: huddle-a753cade83
2015-05-11
21:08
json - Fixed signaling of syntax errors from the C accelerator code, added a proper error-code. jsonc bumped to 1.1.2. tcllibc bumped to 0.3.14. check-in: 452c78a01b user: andreask tags: trunk
2014-10-20
23:45
Merged trunk into the long-dormant branch for updating the C pieces to critcl 3. check-in: 3a72abc855 user: andreask tags: update-to-critcl3
2014-06-24
07:02
Updated examples with recent main pt work check-in: d5f12d85d6 user: aku tags: pt-examples
2014-06-23
19:52
Bringing in trunk work... check-in: 39393f3837 user: andreask tags: ticket-f03637392d
2014-06-21
00:14
Got latest changes from trunk check-in: 4689b3f226 user: andreask tags: pt-work
2014-06-20
22:00
json :: [3d91afbcf2] Fixed the C implementation. It now properly rejects irregular escape sequences. Also tweaked it to not show the plain 'syntax eror' from the parser if a more detailed/nicer message from the lexer is available. Updated the expected messages in the testsuite. check-in: 6de2cf7d3f user: andreask tags: trunk
2014-02-12
05:52
Updated to release 1.16 Leaf check-in: d4fbc67d71 user: aku tags: ooutil-bug-3609183
2014-01-07
21:41
See ticket [6efa4f571af052]. Worked around issues with the critcl v2 application the Tcllib C code is geared towards. Bumped json version to 1.3.1, jsonc to 1.1.1, and tcllibc to 0.3.13. check-in: 2d0b61da55 user: andreask tags: trunk
2014-01-06
23:44
See ticket [6efa4f571af052]. Reworked the Json/C code to use a bison-pased parser provided by Mikhail. No separate data structures to convert, just direct generation of Tcl structures. Changes compared to the original submission: - Use List, not Dict operations for objects, i.e. be Tcl 8.4 compatible. - Do not generate Int/Double objects, only strings. Conversion to actual int is lazy, when actually needed. Also ensures that compile-time Tcl version does not restrict range of integers, only runtime Tcl version. - Allow all values as toplevel json, not just array and object. - Currently no shared objects for the fixed values (null, true, false). Note that the RE-based json validation is still faster on even moderatly sized strings, even when just using a stripped C lexer not generating token values. Bumped jsonc to version 1.1 and tcllibc to version 0.3.12. check-in: 11390a7baa user: andreask tags: trunk
2013-12-16
20:47
Integrated work on a first C parser for JSON. json 1.3, tcllibc 0.3.11. See ticket [6efa4f571a]. check-in: df814df3ab user: andreask tags: trunk
2013-12-10
00:50
Initial work on a critcl json parser based on json-c. Issues: many-json2dict has no C equivalent, nor the *2dict commands. Boolean is 0/1 vs true/false in C vs. Tcl, this should be fixable in the testsuite. Basics are working. check-in: c51875a02a user: andreask tags: ak-bug-6efa4f571af052-jsonc