tDOM

Timeline
Login

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

50 most recent check-ins

2017-12-25
10:11
On Windows, install html docs, not manpages Leaf check-in: 76ab45e19d user: apnadkarni tags: trunk
07:42
Updated nmake to v1.1 from Tcl repository check-in: 367d3b204a user: apnadkarni tags: trunk, magicsplat-1.8.0
06:59
Streamline makefiles for new nmake system check-in: 7bfd42df88 user: apnadkarni tags: trunk
2017-12-13
23:47
Still not exactly the same output as the current serializer but close. Leaf check-in: 9c7e75e752 user: rolf tags: stackless_asXML
2017-12-12
21:58
Save work for discussion. check-in: dbf205286d user: rolf tags: stackless_asXML
2017-12-11
22:45
Ripped out stackless XML serialization from stacklessfs into own branch, while further working on it. This may be a worth thing for itself, since expat digests really deeply nested XML. wip. check-in: fe454a1b53 user: rolf tags: stackless_asXML
00:59
Test for CDATA section element with mixed content. check-in: 5f26ebf2dd user: rolf tags: trunk
2017-12-10
20:44
Fixed invalid memory read in case non-element node is called with appendFromScript. Leaf check-in: b5e7bcdab5 user: rolf tags: stacklessfs
2017-12-09
02:16
More work on stackless xml serialization. Still deep wip. check-in: 120e42774d user: rolf tags: stacklessfs
2017-11-26
02:21
Minor tweaks for default (non stackless) build. check-in: c92b24eb58 user: rolf tags: stacklessfs
2017-11-25
14:23
Working with deep nested XML data should also mean to be able to serialize it. Started implementation of non-recursive asXML. Wip. check-in: d04f2a20fe user: rolf tags: stacklessfs
14:20
Removed not used code. check-in: 1124913539 user: rolf tags: stacklessfs
02:27
Made xmlOpenFileWorker reporting the right encoding in case it is called by xmlReadFile. check-in: a29752b914 user: rolf tags: trunk
01:49
Botched tdom.tcl on trunk and nobody complained ... check-in: e42dab602e user: rolf tags: trunk
2017-11-23
00:59
Exploring stackless fromScript script code evaluation. check-in: 0a1f7977fe user: rolf tags: stacklessfs
2017-11-21
22:13
Replaced the deprecated Tcl_EvalObj with its successor. check-in: c4d91cd3e9 user: rolf tags: trunk
2017-11-18
15:33
Updated the README about the included expat version. Leaf check-in: 156eb276c9 user: rolf tags: expat-update
01:59
Added more sensitive detection of source of entropy for expat to the configure system. The default is to try to use the best available source for the build plattform. The new configure option -with-entropy allows to pick a certain source of entropy including XML_POOR_ENTROPY, which means use the old way of doing this. check-in: 2de0b19f93 user: rolf tags: expat-update
2017-11-16
22:47
Hallelujah. Can remove that knownBug test tag, after successfully nagging upstream. check-in: cbcf5049f7 user: rolf tags: expat-update
22:18
Updated to expat 2.2.5. check-in: 5034d18e1a user: rolf tags: expat-update
22:05
Merged from trunk. check-in: 2f825a10bb user: rolf tags: expat-update
2017-11-09
00:32
Added -keepCDATA to the tdom handler set based implementation of the [dom parse ...] API. Bug fix in arg check. check-in: 8cd193981c user: rolf tags: trunk
2017-11-07
23:36
Tweaked doc stuff. check-in: f4336d7b70 user: rolf tags: trunk
23:25
Added flag -keepCDATA to [dom parse ...], respected by the expat and simple xml parser. If not used together with -keepEmpties, white space only CDATA sections will not be included into the DOM tree. Used together with -keepEmpties, even empty CDATA sections will result into a node. Fixed the simple xml parser it now bulds an XPath/XSLT "ready" tree by default, as it the standard parser does. Added tDOM::xmlReadFileForSimple helper to read xml files for [dom parse -simple]. check-in: a0809eb3c1 user: rolf tags: trunk
22:22
Better interface to the "read the XML file for me" tcl helpers. xmlOpenFile/xmlReadFile stay as they are, a new xmlReadFileForSimple was added to be used together with [dom parse -simple ...]. Closed-Leaf check-in: d07b1bbc1c user: rolf tags: keepCDATA
00:47
Added a knob to the helper procs tDOM::xml(Read|Open)File so that they do the right thing for the simple parser in some cases. check-in: 4c688ab844 user: rolf tags: keepCDATA
2017-11-06
01:00
0.9.0 release mark in the CHANGES file. check-in: c630765b29 user: rolf tags: trunk
00:57
Made simple XML parser ([dom parse -simple ...]) -keepCDATA aware, with the same semantic as for the standard expat parser. check-in: 5809c91591 user: rolf tags: keepCDATA
2017-11-05
23:56
If -keepCDATA is used together with -keepEmpties even empty CDATA sections will be CDATA_SECTION_NODE (with empty text) in the DOM tree. check-in: d333be5a28 user: rolf tags: keepCDATA
18:27
Fixed simple parser: It now groups consecutive text and CDATA sections into one TEXT_NODE, as the expat based DOM building (without -keepCDATA) does. check-in: cde6b24b70 user: rolf tags: keepCDATA
01:15
Added some words of documentation about the new [dom parse ...] flag -keepCDATA. check-in: 43b6f8f843 user: rolf tags: keepCDATA
00:02
Made that work with the tdom expat handler set also. check-in: e320c2065d user: rolf tags: keepCDATA
2017-11-04
19:12
Added a few bench tests to check positional predicate optimization. check-in: e01e949947 user: rolf tags: trunk
02:00
Started implementation of a "keep CDATA sections" switch to [dom parse ...]. check-in: 1cd6dcbed5 user: rolf tags: keepCDATA
2017-10-29
18:34
Update from trunk. Leaf check-in: 4751836ea1 user: rolf tags: errorCode
18:27
Replaced the (creative) use of encoding identity to make tDOM compatible with the upcoming Tip 345. check-in: 33ee70bd11 user: rolf tags: trunk
2017-10-19
10:40
Updated tnc to new nmake system check-in: b226917ae3 user: apnadkarni tags: trunk
07:41
New nmake build system check-in: 78c6f9be15 user: apnadkarni tags: trunk
04:17
Create new branch named "vc-reform" Closed-Leaf check-in: ebc7fb932f user: apnadkarni tags: vc-reform
2017-10-06
00:03
Applyed spelling/ wording fixes in source code comments, error messages and even symbols (!) as reported by Debian lintian [9629f6d4fb8c9]. check-in: f8ced39e14 user: rolf tags: trunk
2017-10-05
23:48
Applyed spelling/ wording fixes (documentation part) as reported by Debian lintian [9629f6d4fb8c9]. check-in: 764b3d1ea0 user: rolf tags: trunk
2017-10-01
01:11
Musing: Provide useful errorCode information in case of [dom parse ...] error. check-in: 8dd6cf7f01 user: rolf tags: errorCode
2017-09-15
15:29
Added loadlibrary.c to Windows build. Minor update to README check-in: 2658b83255 user: apnadkarni tags: expat-update
2017-08-31
15:30
Reduced the fall out of this on user API level. $node delete now does the same as it does in threaded builds anyway. Restored "moving" subtrees between documents by copying the subtree over and delete it it after (that's of course slower), made appendXML also work (there's room for more improvement, even for the non-fastfree case). Even line/number info seems possible. Still some things to fix, check and improve. Leaf check-in: b17f640f6f user: rolf tags: fastFree
12:34
Added the new expat source file loadlibrary.c to the once to build; its needed on windows. check-in: 1caab6d4da user: rolf tags: expat-update
10:25
Cleanup of some no longer used typedefs. check-in: 88b7e885f8 user: rolf tags: fastFree
02:51
Merged from trunk. check-in: e5404d396d user: rolf tags: fastFree
02:47
Exploring optimization possibilities. Using doc specific simple mem pools speeds up a [dom parse $xml doc; $doc delete] by a factor of 1.25 (though, while DOM tree building is also slightly faster most of the gain is a much faster doc free). Test suite runs valgrind clean. Some tests fail but most of them do rightly so. Because this has a price: no subree move between documentes (the DOM recommendation doesn't allow this but tdom did, so far), no [domNode delete] (but this in fact freed the memory already only in non-threaded builds), no line/column information. Needs creation of nodeCmds in doc specific namespace for cleanup of the tcl commands in one go (to be implemented) and thread safety consideration. If all goes well and still looks as a gain could be integrated in a switch on/of at runtime way. check-in: 1965531605 user: rolf tags: fastFree
2017-08-30
15:21
Now the domNode method cloneNode does also copy the json type annotation of the node or subtree to clone. check-in: 784ff1de80 user: rolf tags: trunk
14:03
Plugged memory leak in case [dom createDocumentNS] is erroneously called with prefixed document element name and the empty string as namespace URI. check-in: 9352a1da41 user: rolf tags: trunk