Tcl Library Source Code

Timeline
Login

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

50 check-ins occurring around c2829102b59d7e87.

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-11
23:41
Finalized integration. Bumped to version 1.3. Closed-Leaf check-in: 0b57c2407c user: andreask tags: ak-bug-6efa4f571af052-jsonc
23:29
Switched validation from the C parser back to a shared Tcl implementation, regexp based. It is consistently faster. No overhead creating irrelevant data structures is main suspected cause. check-in: 5a645be338 user: andreask tags: ak-bug-6efa4f571af052-jsonc
23:23
Added synthetic benchmarks constructing larger json structures. check-in: f8b84da1d4 user: andreask tags: ak-bug-6efa4f571af052-jsonc
23:20
Fixed bug in json::dict2json. Nobody seems to have used this before. check-in: 05d128bcc8 user: andreask tags: ak-bug-6efa4f571af052-jsonc
23:18
Sort tests by name in the data arrays check-in: 9b736e1cfc user: andreask tags: ak-bug-6efa4f571af052-jsonc
22:26
Small test simplification check-in: 942a650535 user: andreask tags: ak-bug-6efa4f571af052-jsonc
22:25
Fixed buglets which slipped through in previous commit. check-in: 1c1271bd98 user: andreask tags: ak-bug-6efa4f571af052-jsonc
21:07
Moved the larger test cases and data into separate files, less quoting that way. Added test case for the escape-able characters. Added test cases for invalid json. Shifted the json generating procedures to the common file, making them shared between Tcl and C implementations. Added a benchmark suite, using the test cases in the files as input. check-in: af6919a548 user: andreask tags: ak-bug-6efa4f571af052-jsonc
01:29
Implemented many-json2dict and validate over json-c. Test cases for many-json2dict reactivated, passing. New cases for validate, passing. Should add test cases for invalid json input. check-in: 08ac1421ee user: andreask tags: ak-bug-6efa4f571af052-jsonc
2013-12-10
23:01
Integrated additional MI work on a Tcl_ObjType for lazier construction of the Tcl structures from the json C structures. Notes - Modified the Tcl parser to return 0|1 for boolean values, to match the new C parser. Updated testsuite. - Supplied my own definition of assert to fit in with Tcl (Tcl_Panic). - Modified the C conversion of json null to match the Tcl parser, is now 'null', not the empty string. - Changed Tcl_Dict* uses to equivalent Tcl_List* to keep the code usable for Tcl 8.4 - Moved the code handling the deferral/laziness into lazy_value2obj and applied it to array elements as well, not just object fields. - Moved the variables in value2obj into the switch branches. - Changed the Tcl_ObjType structure initialization to regular C. Code as provided (see ticket attachment json2.c) looked like some GCC-ism. Open question - Why does the json2string function not just generate the string rep, but takes the int.rep as well, shimmering the Tcl_Obj*. Seems to presume that the string generation is immediately followed by Tcl code forcing a shimmer anyway ?! Reduced testsuite passes. check-in: 8fc03c91fd user: andreask tags: ak-bug-6efa4f571af052-jsonc
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
2013-12-06
22:59
Regenerated online documentation. check-in: 4f43ea48be user: aku tags: trunk
22:44
Fixed doc typo. check-in: c3973cc954 user: andreask tags: trunk
22:42
Ticket [444358b66e]. Documented option --. check-in: 0c20ebf4b6 user: andreask tags: trunk
22:23
Ticket [01afa9345d]. Added note about method 'expand' pushing a new and empty context while running. check-in: e53cad73ec user: andreask tags: trunk
21:41
Ticket [5030721806]: Applied the supplied diff, removed 'domain' flag from defaults for a Type 1 greeting message. Updated testsuite. Bumped version to 1.1.2 check-in: 50f29c21a3 user: andreask tags: trunk
21:11
Ticket [cfb76ff94]: (::uri::split, ::uri::resolve): Modified split so that a missing scheme for http(s), ftp urls treats remainder as having a leading host part. Extended testsuite. Updated 'resolve' to run the relative url through split with a proper scheme prefix to prevent misintepretation of the path as host-part. Bumped version number to 1.2.4 check-in: aaa37775e4 user: andreask tags: trunk
20:14
Ticket [b8f35b9883]. Added references for SCRAM mechanism and package. Fixed missing cleanup of test variable. New package SASL::SCRAM and testsuite, provided by <[email protected]>. check-in: 38a2ed086c user: andreask tags: trunk
18:08
Ticket [f5155519e7]. Dropped use of bash. Generally switched the application to an easier to read invokation without all the shell tricks and magic. check-in: 540921a9bc user: andreask tags: trunk
2013-11-23
00:23
Get tar fixes back. check-in: 2917507b22 user: andreask tags: trunk
00:21
Update to head of trunk. Closed-Leaf check-in: 93aa26ab06 user: andreask tags: pyk-tar
00:14
Bumped package version, updated logs, ready to merge. Fixed ticket [6b7aa0aecc]. check-in: 4a2f75b5da user: andreask tags: pyk-tar
00:00
The issue with the skip code was not the limit to 64K, but how the code (a) assumed the wrong type for the result of 'read' (number of bytes, but is the read data), and (b) mis-handled short reads. Using 'string length' to convert the result type into what was needed, and using the proper condition was what fixed the issue, and not getting rid of the limit. I have now re-instated the limit, with in-code explanation of why it makes sense, and verified that this still passes the testsuite. I further changed the variable names to be much more self-documenting as well. check-in: 8de453c348 user: andreask tags: pyk-tar
2013-11-22
23:39
Fixed the testsuite up somewhat. (1) Moved helper code into separate file. (2) Replaced helper code blocks in variables with proper procedures. (3) Simplified setup1, cleanup1 No need to search for and create lots of temp dirs in setup, just remove the directory in cleanup. Now use single temp dir, fixed name. (4) Fixed setup of tests in general (4a) Added emacs mode marker to get proper Tcl mode. (4b) Added missing Tcl 8.5 requirement (4c) Use canonical 'use' command for access to local package (memchan). (5) Constrained the one test requiring Tcl 8.6 (zlib) It is not yet clear to me why the 'stream' helper (to create a large file) is so complex. check-in: 624a1ee7b8 user: andreask tags: pyk-tar
19:23
Merging Mime Modifications. check-in: c2829102b5 user: andreask tags: trunk
19:18
(PoorYorick): general cleanup. use expr operators like eq instead of string commands. (AK Notes): Version bumped to 1.6, requirement bumped to Tcl 8.5. (AK) Updated testsuite and doc Tcl requirements. Fixed the creative writing problem of the initialization code, present before PY cleanup. Closed-Leaf check-in: c7f07ac148 user: andreask tags: pyk-mime-cleanup
18:17
(Events): Ticket [864a0c83e3]. Do not suppress readable events at end of the channel. Needed to signal the eof condition. Like for regular files, always readable. Affected channels memchan, string, and variable. Versions bumped to 1.0.3, 1.0.2, and 1.0.3 respectively. check-in: fc756af785 user: andreask tags: trunk
17:39
Revert Tcl 8.5 dependency introduced by an unlogged rewrite [c80b6fffde]. check-in: 941966a233 user: andreask tags: trunk
17:29
Fix trunk split. check-in: d233d12198 user: andreask tags: trunk
2013-11-20
06:41
revert bad change to quoting in ctrl.tcl check-in: 2cafc97e62 user: pooryorick tags: trunk
06:38
add support for default arguments to term::ansi::send fix documentation types quoting cleanup check-in: c80b6fffde user: pooryorick tags: trunk
2013-11-17
15:45
fix setup1 script for tar.test so that tests don't pollute each other check-in: cecf9adb75 user: pooryorick tags: pyk-tar
2013-11-16
07:19
add a test suite for tar module fix for bug 6b7aa0aecca6fdce12589884c3c9ea2b50c92ad4, tar::skip silently truncates at 65536 check-in: 165e7adf41 user: pooryorick tags: pyk-tar
2013-11-07
21:13
Regenerated embedded documentation (new man.macros, exclusion of deprecated exif module). check-in: fdbe5cb1bc user: andreask tags: trunk
21:10
[Ticket 7c7f946046]: Pull in exclusion information from the installer configuration, and use it to exclude the associated man-pages from generation. check-in: 0951505185 user: andreask tags: trunk
20:22
[Ticket dc50cc65ea]: Accept schema names case-insensitively. Report and patch by Harald Oehlmann. Version bumped to 1.2.3. Extended testsuite (uri-11.0). check-in: a85537aeae user: andreask tags: trunk
20:05
[Ticket 369f67aeee] Updated to newest man.macros from Tcl/Tk. check-in: 082d009051 user: andreask tags: trunk
19:52
Ticket [1d2b62d10d] followup. Extended testsuite with an example image missing the thumbnail and triggering the issue. With thanks to [email protected] for donating the image. check-in: 80e9a2006f user: andreask tags: trunk
2013-11-06
19:26
Extended the range of acceptable snit beyond 1.3-2 to beyond 2. Bumped version to 0.5. Testsuite update defered. Requires more work to update the wrong#args messages. check-in: 504cc3a9f3 user: andreask tags: trunk
19:09
[Ticket efe207eff1]: Applied patched by Stuart Casoff to unbreak manpage rendering on various BSD variants. Must include our macros after emitting .TH to avoid clashes. Updated test results. check-in: c6698cf76f user: andreask tags: trunk
2013-11-03
11:57
Mention the recent changes in the change log file as well check-in: 3aa1604cd0 user: markus tags: trunk
11:53
Solving ticket b25b826973 for 1D interpolation - introducing an inconsistency, therefore bumping the version to 1.1 Bumping the version of the calculus package to 0.7.3 check-in: 69a3e6463b user: markus tags: trunk
11:19
Corrected calculation of corrector in heunStep check-in: 39bb693ab4 user: markus tags: trunk
2013-11-01
23:37
general cleanup. use expr operators like eq instead of string commands check-in: 913f7d92c5 user: pooryorick tags: pyk-mime-cleanup
2013-10-30
20:22
Ticket [1d2b62d10d] followup. Extended testsuite with example image missing any embedded exif information (Not triggering the issue). Made testsuite 8.4+ and converted to tcltest 2 format. check-in: d1adb3c859 user: andreask tags: trunk
2013-10-29
22:51
Merge sha* fixes. Audit of the other critcl parts was done, and no other misuse of cheaders was found. check-in: ad20454023 user: andreask tags: trunk
21:52
Fix issues with critcl usage in the sha code. Do audit of the other critcl-based parts for anologous issues. Closed-Leaf check-in: e5180e9f92 user: andreask tags: audit-critcl-code
07:03
Ticket [1d2b62d10d]: Fixed unwanted double-close of channel when accessing a non-existing thumbnail in a file. Introduced by the refactoring. Bumped version to 0.5. check-in: 498c380fbb user: aku tags: trunk
06:35
Ticket [a761133422]. cleanup called imap close, not channel close. Fixed. isableto failed to initialize the result variable. Fixed. Bumped version to 0.5.2. check-in: 28487136f1 user: aku tags: trunk