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

109 check-ins using file doc/dom.html version 2a79d8cf33

2018-05-02
10:07
Merged from trunk. check-in: b8f934943a user: rolf tags: serializeOptions
10:03
Fixed editing error. check-in: cb72ce2fdf user: rolf tags: trunk
2018-04-30
23:55
Merged from serializeOptions check-in: 2f998e59f5 user: rolf tags: stackless_asXML
23:32
More work on serialization flags. check-in: 617801ee8e user: rolf tags: serializeOptions
14:51
Merged from trunk. check-in: 0774fa6898 user: rolf tags: serializeOptions
14:50
Added script, that helps measuring (micro-)optimizations. check-in: 834c959f81 user: rolf tags: trunk
14:41
Minor speed optimization. check-in: 19edb1e323 user: rolf tags: serializeOptions
09:55
Start small rework: use bit-fields for options. check-in: a833b3edf3 user: rolf tags: serializeOptions
2018-04-27
15:56
Described better what pull parsers do with CDATA sections. check-in: 82da650bd7 user: rolf tags: trunk
2018-04-26
23:12
Added the documentation for pull parsers to the documentation indexes. check-in: 2174b4b773 user: rolf tags: trunk
21:57
Hardened token mode a little bit. check-in: 36e470e5a6 user: rolf tags: trunk
2018-04-25
11:04
merge trunk Leaf check-in: d48f501330 user: yorick tags: pyk-parsexpath
10:23
Back out the documentation for renameNode. This method isn't "public" atm and may change its interface before it will be. check-in: 8cad55ff91 user: rolf tags: trunk
05:21
Add documentation for "renameNode". check-in: bb27c56d41 user: yorick tags: trunk
2018-04-24
22:19
This change is probably important if you change larger DOM trees and do XPath queries with large result sets afterwards. If build with -DTCL_THREADS=1, which do people routinely these days even without noting (the windows binaries on tdom.org are build this way, f.e.), some things must to be done in a thread safe way and a feature is added: the ability to share a DOM tree between threads. If a DOM tree is in fact shared a certain important (for big result sets) XPath query optimization can't be done automatically. Now this optimization is done for all not between threads shared docs (no matter how tdom was build). check-in: 1069b49d24 user: rolf tags: trunk
2018-04-23
23:59
Added test related to [696962e4d]. Closed-Leaf check-in: 51b58f0a65 user: rolf tags: tokenMode
21:40
Pacify [696962e4dd42505]. check-in: f1a4004602 user: rolf tags: tokenMode
2018-04-19
23:52
Made test suite 9.0 compatible. Builds from 8.4 - 9.0 and runs test suite without error (one test error with 8.4 because of int wide). check-in: 3c5422fea4 user: rolf tags: trunk
2018-04-10
22:23
Plugged a few memory leaks. check-in: 46dd7587a5 user: rolf tags: domvalidation
20:12
Made this work still together with tnc. check-in: 1d3da57d29 user: rolf tags: domvalidation
2018-04-07
01:01
Merged from trunk. check-in: 85c3c7cf1e user: rolf tags: domvalidation
00:59
Still builds (and works) back to 8.4 (and maybe even to 8.3) and now new also with (current) 9.0. Test suite needs some more updates to work w/ 9.0 without errors. check-in: c20f5260c7 user: rolf tags: trunk
00:51
Builds now with 8.4 (and maybe even with 8.3) until (current) 9.0. Test suite needs some more updates to work w/ 9.0 without errors. Closed-Leaf check-in: 9eb5979f33 user: rolf tags: deCONST
2018-04-06
16:18
Merged from trunk. check-in: 920496e776 user: rolf tags: deCONST
16:18
Pruned out more old ANSI_ARGS usage. check-in: a54f9b058d user: rolf tags: trunk
16:06
Removed a CONST comming from trunk and a few others that dangled around. check-in: 640861fcf5 user: rolf tags: deCONST
15:57
Merged from trunk. check-in: 7b9d2c1ea6 user: rolf tags: deCONST
09:44
Test to document problem fixed with [0fb34974584ae2]. check-in: d573bb0b47 user: rolf tags: trunk
2018-04-05
22:52
Ensure to reset the interp result after calls to the callback after script to make the logic of https://tdom.org/index.html/artifact?ln=6578-6639&name=5ec78e1acb36f517 work (again). check-in: 0fb3497458 user: rolf tags: trunk
2018-03-27
08:55
merge trunk check-in: 74a41afcca user: yorick tags: pyk-parsexpath
2018-03-25
01:00
Added reporting. Basically works. check-in: c3fc6b8de5 user: rolf tags: domvalidation
2018-03-24
16:09
Added code to the last missing handlers. Some smaller things (reporting, foreign DTD) but otherwise should be almost there. check-in: 007826727c user: rolf tags: domvalidation
02:04
Started musing about what it means to integrate XML DTD validation into the dom command (on various scales). check-in: 5bd1293e53 user: rolf tags: domvalidation
2018-03-21
23:50
Added benchmark test for expat with tdom and tnc. check-in: 6ade23ef3e user: rolf tags: trunk
20:46
Refined the benchmark tests to expose the DOM building time more. check-in: fb2e8f3cbc user: rolf tags: trunk
20:14
Added the external DTD for REC-xslt-19991116.xml to the test data. Used that for a more complex DTD validation test. check-in: 2f34951b42 user: rolf tags: trunk
01:54
Started test suite to measure overhead of using stacked handler compared with [dom]. check-in: 334c4fa6cf user: rolf tags: trunk
2018-03-09
00:58
Indentation. check-in: 7c46ddb63f user: rolf tags: trunk
00:38
Noted user visible changes. check-in: 4cb486509a user: rolf tags: trunk
00:16
Make pull parser a real thing. check-in: e96d74234d user: rolf tags: trunk
2018-03-08
23:19
Merged from trunk. Closed-Leaf check-in: 4c3629f439 user: rolf tags: pullAPI
2018-03-07
00:45
Added method delete to [expat] push parsers, made the up to now method free an alias of that. To have at least for deletion some consistence about the obj cmds that tDOM creates. check-in: c5d89835b8 user: rolf tags: trunk
00:28
Morged from trunk. This fixes some results in pushpull.bench. Made the bench framework more friendly for comparing the same version with different build options. check-in: 6a897b31d5 user: rolf tags: pullAPI
00:13
Removed more of this obsolete comments. This is handled in TclExpatHandlerResult(). check-in: 71598843fd user: rolf tags: trunk
00:06
Removed obsolete comment. It is already possible to terminate parsing with certain result codes. This is handled in TclExpatHandlerResult(). check-in: fdc4fb29f3 user: rolf tags: trunk
00:03
This is an important but hard to explain bug fix. The symptom was: using expat in a certain way (triggering the "Welch dispatch" method of calling handler scripts behind the scene) suffered from a dramatic slowdown with 8.6, while it was the fastest method of using expat with all other versions < 8.6. This changes adapts tDOM to the relevant core changes. check-in: 32df86b4d4 user: rolf tags: trunk
2018-03-06
22:48
Done something with [e831cf931a07d]. check-in: a99a29a3aa user: rolf tags: trunk
2018-03-02
15:39
Made the 'load tDOM for test suite run' helper script a bit more flexible. check-in: 35c762d585 user: rolf tags: trunk
2018-03-01
12:47
Eliminate tabs. Closed branch. See issue [e831cf931a]. Closed-Leaf check-in: 69d2001fef user: yorick tags: issue-e831cf931a07-tdom_Finalize
08:13
Fix for [e831cf931a07] check-in: 34806d3b29 user: yorick tags: issue-e831cf931a07-tdom_Finalize
2018-02-27
09:36
Avoid define redefinition, introduced with changes for [e6ccc3c1fac1]. check-in: d3b6eabb2b user: yorick tags: pyk-parsexpath
09:35
Fixed [e6ccc3c1fac1eb]. check-in: b66886b8c2 user: yorick tags: pyk-parsexpath
2018-02-26
19:58
Save work for discussion. check-in: 950cd395a2 user: rolf tags: pullAPI
02:19
Started push/pull bench file. check-in: b380e93a74 user: rolf tags: pullAPI
02:14
More tests. check-in: 8b0a9f2c6a user: rolf tags: pullAPI
01:54
Plugged leak introduced with find-element. check-in: 124710d771 user: rolf tags: pullAPI
2018-02-25
02:39
More work on the pullparser documentation. check-in: 1a8ce66cda user: rolf tags: pullAPI
2018-02-24
16:11
Added legal boilerplate to tclpull.c check-in: ff44e93eb6 user: rolf tags: pullAPI
16:07
Merged from trunk. check-in: 98dddd2848 user: rolf tags: pullAPI
15:52
Avoid define redefinition, introduced with changes for [e6ccc3c1fac1]. check-in: d5ec6fc888 user: rolf tags: trunk
03:12
Started documentation. check-in: 75ba091015 user: rolf tags: pullAPI
02:09
Enabled method find-element also for START_DOCUMENT state. check-in: 9055eaa404 user: rolf tags: pullAPI
01:31
Enabled method find-element for pull parser state END_TAG. check-in: 99c809552e user: rolf tags: pullAPI
2018-02-23
16:27
Fixed error msg in case find-element is called while state isn't START_TAG check-in: 5a3a1b4cfd user: rolf tags: pullAPI
16:24
Implemented method find-element for state START_TAG. check-in: 418efdfa87 user: rolf tags: pullAPI
15:21
Fix error in xpathNodeTest. xpath-5.56 now passes. check-in: 7bafc781b3 user: yorick tags: pyk-parsexpath
12:27
Prepare code for integration of find-element method. check-in: 15ee069170 user: rolf tags: pullAPI
12:23
Added constraint to test that uses a >= 8.5 tcl core feature. check-in: 49c48c4626 user: yorick tags: pyk-parsexpath
12:08
Added constraint to test that uses a >= 8.5 tcl core feature. check-in: 7064f3a9eb user: rolf tags: deCONST
01:47
Fixed [e6ccc3c1fac1eb]. check-in: ecc68384d0 user: rolf tags: trunk
2018-02-22
12:50
Merged trunk. check-in: a49f7e938f user: rolf tags: pullAPI
12:49
Fixed the recently broken build w/ --enable-threads. check-in: c05bde9469 user: rolf tags: trunk
11:12
Make modifications necessary to support new %nodetest functionality. All tests pass except xpath-5.56, and that may be a problem in the test itself. check-in: 0fcd6c63e6 user: yorick tags: pyk-parsexpath
06:21
Merge trunk, breaking things. check-in: 9927f3c39e user: yorick tags: pyk-parsexpath
01:46
More pruning out history: all that CONST and even CONST84 business. check-in: 659134bc9a user: rolf tags: deCONST
00:57
A bit modernizing and gardening of the code base (e.g. pruning out pre-ansi stuff). Work mostly done by Gustaf Neumann. check-in: da20a637cf user: rolf tags: trunk
2018-02-21
23:58
Removed unused struct member. check-in: d43d04b976 user: rolf tags: pullAPI
22:46
HTML reader: Fixed reading of numeric character entities. Thanks to Gustaf Neumann for reporting and most of the work. check-in: 56d76bf7d7 user: rolf tags: trunk
22:26
HTML reader: Document memory access problem with invalid numeric character entity. check-in: 7cf78490e2 user: rolf tags: trunk
19:12
Merged trunk. check-in: 39e0da6177 user: rolf tags: pullAPI
19:07
Added new pull parser method skip. Valid only in START_TAG state. Skips every event until the corresponding END_TAG (which is reported). check-in: 1f504129d4 user: rolf tags: pullAPI
12:30
Removed the now unused interp argument from domCreateDocument. check-in: d0fbb5904c user: rolf tags: trunk
01:38
Merged trunk. check-in: e7afcf0b4a user: rolf tags: pullAPI
00:24
Made behaviour of the code match expectation: if a var is read-only you shoudn't be able to set it anyway. check-in: 20ad681036 user: rolf tags: trunk
00:14
More description and context of [e6ccc3c1fac1ebbfa]. check-in: 8515af3433 user: rolf tags: trunk
00:09
Respect [dom setNameCheck] even for [dom createDocument/createDocumentNS ...] Thanks to pooryorick for reporting. check-in: 66acb1bd7d user: rolf tags: trunk
2018-02-17
03:27
Added test for [e6ccc3c1fac1]. check-in: ebebdc3027 user: rolf tags: trunk
2018-02-16
17:12
Fixed invalid memory access. Seems, that at least the name argument to the startElement handler is only valid for the handler call, even if the parser is suspended within the same handler call. Added element tag name cache hash table, that stores Tcl_Objs with the tags as value for fast report with Tcl_SetObjResult(). check-in: 2bb12a2f61 user: rolf tags: pullAPI
02:02
Dumped some test framework into the test file. check-in: 75e12697af user: rolf tags: pullAPI
01:59
Needed another check about loading the script library, because with ::tDOM::pullparser the ::tDOM namespace is always there. check-in: 86d9953bf2 user: rolf tags: pullAPI
01:44
Another fix in case of using -ignorewhitecdata. check-in: 9906838526 user: rolf tags: pullAPI
01:08
Fixed bug of handling of the expat behaviour of calling a few callbacks more, even if XML_StopParser() is already called. check-in: 5b0aa6804f user: rolf tags: pullAPI
2018-02-15
23:52
Fixed bug in case of -ignorewhitecdata. check-in: c58ff2e14f user: rolf tags: pullAPI
18:48
Added optional flag -ignorewhitecdata on creation time which suppresses report of white space only text events. check-in: d37caddb43 user: rolf tags: pullAPI
14:43
Merged from trunk. check-in: 0701a158b7 user: rolf tags: pullAPI
14:22
Fixed versionhash.h generation on Mac. check-in: b054a3bb6e user: rolf tags: trunk
13:25
Report sensible state if [pull state] is called after parsing error. check-in: 52f4e3ec50 user: rolf tags: pullAPI
13:00
More cleanup at end of parsing / do not leak file descriptors. check-in: c178f276e1 user: rolf tags: pullAPI
12:40
Faster pull status reporting. check-in: 2a5ee0a2f4 user: rolf tags: pullAPI
02:15
Added streaming from file. check-in: 5b284aca8b user: rolf tags: pullAPI
00:56
Added streaming from Tcl_Channel. check-in: a6c90f3b6c user: rolf tags: pullAPI
2018-02-14
17:16
Added some more argument checks. Added a tiny tests file. check-in: 07b0fa7da5 user: rolf tags: pullAPI
16:28
Added method reset. Started work for streaming input sources. More refinement and error case handling. check-in: 35ce23541d user: rolf tags: pullAPI
14:37
Merged from trunk. check-in: 98ce01c385 user: rolf tags: pullAPI
14:35
Added the new user visible change to CHANGES. check-in: 9dd79ab391 user: rolf tags: trunk
14:31
Added [dom featureinfo versionhash]. check-in: c303ca134c user: rolf tags: trunk
03:05
Make versionhash.h dependent on manifest.uuid Make only tcldom.c dependent on versionhash.h and not all object files as was the case before. Closed-Leaf check-in: b86521b6f4 user: apnadkarni tags: versionhash
2018-02-13
06:05
Add versionhash.h mechanism to Windows nmake builds check-in: b727b73d8f user: apnadkarni tags: versionhash
2018-02-08
22:13
Added versionhash to dom featureinfo, returning the fossil repository hash of the version tDOM was build from. A mechanism to build versionhash.h on windows is to be done. check-in: 5938460068 user: rolf tags: versionhash