tDOM

Timeline
Login

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

50 most recent timeline items

2017-07-24
13:03
[efb5498f2d] Leaf: Looking closer at it there are always fine points. Fixed the new element name injection syntax if the element name is '*'. (user: rolf, tags: json)
2017-07-21
22:29
[be3f2f4ce7] Regenerated html and man documentation. (user: rolf, tags: json)
22:24
[e06f1dbfc8] Corrected markup. (user: rolf, tags: json)
22:09
[199814dab5] Added documentation for the new XPath syntax extension. (user: rolf, tags: json)
14:47
[59f4155c8f] Leaf: Merged from branch json. (user: rolf, tags: fuzzer-instrumentation)
14:43
[407b3fac54] Added a few more tests, with edge cases. (user: rolf, tags: json)
14:34
[9002adc958] Last needed major feature added: A syntax to 'inject' any possible element name into an xpath expression. Lacking more input from interested parties I took the %varname approach (similar to $varname approach for injection of literals) because it seems it's almost bindly simple to implement. (user: rolf, tags: json)
12:50
[839c42ea9d] Added more documentation. (user: rolf, tags: json)
2017-07-20
23:42
[68f0eddeb0] Some proof-reading. (user: rolf, tags: json)
22:33
[86b81a0c23] Started documentation. Adjusted the code to do, what the doc say. (user: rolf, tags: json)
12:30
[3c29d95f88] Handling binary 0s: Literal binary nulls are not allowed in input and need special care because of tcls internal MUTF-8 encoding. (user: rolf, tags: json)
00:00
[baf7e7d324] Handling of binary 0 (NUL). Escape all control characters outside the ones with short escapes as as unicode character escapes. (user: rolf, tags: json)
2017-07-19
18:06
[9f5f333bad] createNodeCmd: check, if the provided jsonType is valid for the node command to create. (user: rolf, tags: json)
16:08
[9d8d7a159b] The parse options -html, -html5 and -json are mutually exclusive. (user: rolf, tags: json)
15:02
[004f5b1f74] Implemented optional indentation of asJSON output. (user: rolf, tags: json)
13:26
[2299091520] More work on the JSON serializer to ensure, that serializing any (not json type hinted) DOM tree results in valid JSON string. (user: rolf, tags: json)
2017-07-17
23:28
[57a3a1ce1c] Added -jsonType option to the createDocumentNode method. Intermediatly gardening. (user: rolf, tags: json)
2017-07-14
23:59
[de1782fd97] Added more jsonType hinting to createNodeCmd / appendFromScript. On the way added the new option "-tagName" for createNodeCmd. If given, the nodeCmd will create element nodes with the nodeName eq the -tagName value. This had not much value, up to now, but with JSON it may be needed, if a members value is sometimes an object and sometimes an array and the user insists in setting the jsonType anyway. (user: rolf, tags: json)
13:11
[5d8d0b87b3] Fixed error msg in case of trailing chars after the JSON input. (user: rolf, tags: json)
12:24
[ea10f0d3f2] Leaf: Added knowledge about the (HTML5) tag "source" to the html parser. (user: rolf, tags: trunk)
00:44
[e29235a43e] Changed jsonType to symbolic names. DomDocs now also may have a jsontype. Other minor tweaks. (user: rolf, tags: json)
2017-07-13
21:57
[7b3b9a9817] Fix in JSON unescaping. (user: rolf, tags: json)
19:11
[65e76f96e0] Still accept an escaped slash (\/) as slash in input (as required by the spec), but don't escape slash in serialization, because a slash isn't required to be escaped in input (it just can be). (user: rolf, tags: json)
12:13
[e4b57e31b6] Fixed bug in build tree in case of nested empty array as element of an array. (user: rolf, tags: json)
12:01
[f6a78d360b] Fixed tree building bug in case of nested object as element value inside of array. (user: rolf, tags: json)
01:41
[72b69e3ec3] Build a compact tree; handle JSON types "magically". The recommended tools (which do the magic automagically) as appendFromScript et al enhancements and additional syntax for XPath expressions are tbd, but with the also added jsonType method it should now not even possible to parse all valid JSON but also to generate any JSON by building up a DOM tree from the scratch and serializing it with asJSON. (user: rolf, tags: json)
2017-07-12
21:07
[ee1833d642] Leaf: Combine memory allocations in tcldom_selectNodes and move cleanup into tcldom_FreePvcd. (user: yorick, tags: pyk-parsexquery)
12:23
[dc5a7088ce] Added a test, which shows the problem that was fixed by [ccc182cde5]. (user: rolf, tags: pyk-parsexquery)
2017-07-11
23:01
[e6cf5cb835] Remove staticTokenPtr from tcldom_ParseVarData and use NULL as the fixup marker instead. (user: yorick, tags: pyk-parsexquery)
22:24
[ab13e17c86] Removed build breaking artifact, introduced with [518504411f16]. (user: rolf, tags: trunk)
22:18
[fd02176cec] Removed build breaking artifact, introduced with [518504411f16]. (user: rolf, tags: json)
21:26
[ccc182cde5] selectNodes needs to store the Tcl_Obj that is passed to Tcl_ParseVarName in tcldom_xpathParseVar because the Tcl_Token.start values point into its string value. (user: yorick, tags: pyk-parsexquery)
19:34
[e6c68d83fe] Merged from trunk. (user: rolf, tags: json)
00:13
[c121a72ec5] Added a random test. (user: rolf, tags: trunk)
2017-07-06
00:35 • Closed ticket [d0405aff34]: selectNodes -cache 1 and Tcl variables read at parse time plus 4 other changes (user: rolf)
2017-07-05
23:02
[8ebfc15ac4] Clarified the selectNodes documentation: mentioned the potential pitfall with using tcl variable references in xpath expressions, if using the -cache 1 option. (user: rolf, tags: trunk)
12:06 • Edit [0e97114f76758472|0e97114f76]: Edit check-in comment. (user: rolf)
12:06
[0e97114f76] Fixed spelling mistake in error msg. (user: rolf, tags: trunk)
00:22
[518504411f] Fixed the 'latent bug' mentioned in ticket [d0405aff34]. (user: rolf, tags: trunk)
2017-07-03
23:52 • Ticket [d0405aff34] selectNodes -cache 1 and Tcl variables read at parse time status still Open with 3 other changes (user: rolf)
20:51
[7db984705f] Fixed all identified bugs and memory problems of the approach. Not ready for prime time, so far. See the ticket [d0405aff34deee85] for details. (user: rolf, tags: pyk-parsexquery)
20:39
[0c6df91ce5] Closed-Leaf: So far, for now. (user: rolf, tags: wip)
14:28
[2d793fe147] More progress. (user: rolf, tags: wip)
00:21
[e5c042fb0d] Still work in progress. (user: rolf, tags: wip)
2017-07-01
14:17
[42b8823f76] Work in progress. (user: rolf, tags: wip)
2017-06-30
23:49 • Ticket [d0405aff34] selectNodes -cache 1 and Tcl variables read at parse time status still Open with 3 other changes (user: rolf)
23:01
[41e23c35ea] Fixed some problems in the code. Saved before attempt to greater rework, to takle others. (user: rolf, tags: pyk-parsexquery)
12:30 • Edit [20779fa343284d96|20779fa343]: Edit check-in comment. (user: rolf)
10:28
[20779fa343] Separate XPath parse and eval function steps and move variable access from parsing step to eval step. (user: yorick, tags: pyk-parsexquery)
2017-06-29
21:47 • Ticket [3f78a11de8] tdom error during package initialization status still Open with 3 other changes (user: anonymous)