tDOM

Timeline
Login

Timeline

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

311 check-ins using file Makefile.in version 3965f5b535

2017-08-23
22:34
Started updating of the included expat to 2.2.3. check-in: 4a425e9b4b user: rolf tags: expat-2.2.3
16:16
Changed a last comma. check-in: fe91db4e27 user: rolf tags: prepare-release
15:52
Hopfully final proof-reading of README. check-in: 1aaa919d6e user: rolf tags: prepare-release
14:45
Changed the link to / file name of the source distribution. check-in: 316eda6f67 user: rolf tags: prepare-release
14:10
Added a link to the repository and a meta content tag to the HTML documentation. check-in: 44f479fa12 user: rolf tags: prepare-release
13:34
Updated README. check-in: 6cdde781d5 user: rolf tags: prepare-release
03:40
Fixed misspelt package name (todm->tdom) in pkgIndex check-in: 792b1394bc user: apnadkarni tags: prepare-release
2017-08-22
22:25
tnc: (Re-)generate pkgIndex.tcl with make, since it could be removed by a prior make clean. check-in: 135a5c1e5f user: rolf tags: prepare-release
2017-08-21
23:51
Merged from trunk. check-in: f110e5331f user: rolf tags: prepare-release
23:46
Some more proof reading. check-in: 9f9b4577ac user: rolf tags: trunk
21:38
Windows build system (VC and mingw) modernised. check-in: 640dd65ff9 user: rolf tags: trunk
2017-08-19
19:23
Cleanup. check-in: fe8daed3e6 user: rolf tags: trunk
05:35
Merged trunk Closed-Leaf check-in: 3843ca8dc2 user: apnadkarni tags: msvc
2017-08-18
18:58
Updated the requested TEA_INIT version, according to the new TEA version. check-in: 67fc5860ca user: rolf tags: trunk
17:21
Updated README for Windows builds check-in: e6c39c8eb5 user: apnadkarni tags: msvc
17:20
Fix 32-bit gumbo path check-in: 30a6caeae7 user: apnadkarni tags: msvc
16:26
Fixed counting of nested depth by the JSON parser. check-in: 7e98c7c356 user: rolf tags: trunk
14:11
nmake makefile for tdomhtml check-in: 8a37884196 user: apnadkarni tags: msvc
09:17
Remove duplicate BUILD_tdom definition check-in: 6ce051c4db user: apnadkarni tags: msvc
09:16
Fix clean target for versions.vc check-in: b7f5203f10 user: apnadkarni tags: msvc
09:15
Fix path to install script check-in: 8fa0b17673 user: apnadkarni tags: msvc
08:57
Removed redundant FULLWARNINGS check check-in: 43708f19a5 user: apnadkarni tags: msvc
08:53
Reverted inadvertent check-in of xslt-8.1 debug code check-in: bd8b1a9cce user: apnadkarni tags: msvc
08:05
Merged trunk check-in: 67820b67ca user: apnadkarni tags: msvc
2017-08-17
22:06
Removed BUILD_tdom Closed-Leaf check-in: a57a14bf31 user: rolf tags: tmp
18:44
Merged trunk. check-in: e5d5c534b7 user: rolf tags: prepare-release
18:44
Changed my mind: next version will be 0.9.0. check-in: d9742bb60d user: rolf tags: prepare-release
18:40
Regenerated extension configure files after TEA update. check-in: 4b6f04f245 user: rolf tags: trunk
18:05
Updated version nr at more places. check-in: 5d9e51455e user: rolf tags: prepare-release
17:58
Merged trunk. check-in: c75669c175 user: rolf tags: prepare-release
17:23
Regenerated user docs from xml sources. check-in: 7223713d86 user: rolf tags: trunk
15:03
Updated CHANGES. Noted new home page in ChangeLog. check-in: 13d2b92d84 user: rolf tags: trunk
14:33
Integrated new feature "creating real FQ nodes with *fromScript methods". check-in: 32afe7f843 user: rolf tags: trunk
14:30
Documented the new feature "creating real FQ nodes with *fromScript methods'. Added checks to createElementNS and createDocumentNS to prevent them to create xmlns prefixes with empty uri (which are not legal). Closed-Leaf check-in: 9e7f64d9c5 user: rolf tags: nodecmdns
00:46
Merged trunk. check-in: c642c50f1e user: rolf tags: nodecmdns
00:15
Pacify compiler warnings. check-in: 59d4d6b060 user: rolf tags: trunk
2017-08-16
16:13
Fixed bug in selecting nodes in the global namespace (in no namespace), which where created and inserted into the doc at a place were a default namespace is in scope with xpath. check-in: 4d9b475d35 user: rolf tags: nodecmdns
2017-08-15
21:27
Merged from trunk. check-in: 846183897f user: rolf tags: nodecmdns
20:59
Changed slightly the format of the output of the parsed tokens within the error msg in syntactically wrong xpath expressions, because the up to now format wasn't the same on different platforms. Renamed the json test file; the tests cover more than just parsing json. check-in: 7cce9c5133 user: rolf tags: trunk
2017-08-14
23:57
New option -namespace for createNodeCmd elementNode: the by this cmd created nodes will be XML namespaced (and for the namespace declarations is cared for you). check-in: b6e86350a0 user: rolf tags: nodecmdns
22:34
createNodeCmd: Fixed arg checking of -jsonType for text nodes. check-in: f77454e666 user: rolf tags: trunk
12:51
Merged from trunk. check-in: ab19103901 user: rolf tags: prepare-release
12:49
Merged trunk after tcl.m4 update check-in: 221a33e30b user: apnadkarni tags: msvc
12:47
FULLWARNINGS not needed anymore check-in: 4e55e26532 user: apnadkarni tags: msvc
12:17
Updated TEA to tclconfig trunk. check-in: dcb4735ca9 user: rolf tags: trunk
2017-08-12
19:57
Minor code cleanup: removed check for a condition which is always true. check-in: 1cfb36f6fa user: rolf tags: trunk
10:07
Merged trunk check-in: 7161d9dfd7 user: apnadkarni tags: msvc
09:35
Integrate Gumbo into VS 2017 builds. check-in: 646cc2b4d6 user: apnadkarni tags: msvc
2017-08-11
22:41
Hide implemention details behind warning in documentation. check-in: e6f379b2f5 user: rolf tags: trunk
14:25
Bring Windows build into the modern age. check-in: 31019684aa user: apnadkarni tags: msvc
14:24
Updated nmakehlp.c to latest version from Tcl repo. Fix defines in makefile.vc to match those in Unix configure. check-in: 845339cede user: apnadkarni tags: msvc
14:22
Remove HAVE_MEMMOVE def as already passed on command line check-in: 56564f04e3 user: apnadkarni tags: msvc
10:41
Statically link gumbo on Windows check-in: 326758aa50 user: apnadkarni tags: msvc
2017-08-10
17:34
Merge trunk and fix pkgIndex.tcl generation check-in: 50a1e5725f user: apnadkarni tags: msvc
17:04
Fixed the mess up of domhtml5.c due to editing error while changing the signatur of the tdom core functions domNewElementNode und domNewElementNodeNS. Corrected the help text of the configure option --enable-html (it wrongly claimed from an earlier state it would be build in if the gumbo lib is available, but it is in fact only enabled if explictely requested, for better). check-in: f02dd1b319 user: rolf tags: trunk
15:57
Updated MSVC build files for new compilers and 64-bit support (no gumbo yet) check-in: ed206ab786 user: apnadkarni tags: msvc
09:36
Added the new obj file to the vc makefiles. check-in: 8344151942 user: rolf tags: trunk
2017-08-09
11:50
Added documentation for the new dom parse options -jsonmaxnesting and --. check-in: 9e9b4c5225 user: rolf tags: trunk
10:23
More proof-reading. check-in: 251ff6233a user: rolf tags: trunk
2017-08-05
12:57
Merged from trunk. check-in: d9388d5e29 user: rolf tags: prepare-release
12:52
Added a random test. check-in: 19c24838e3 user: rolf tags: trunk
2017-07-31
11:31
Merged from trunk. check-in: e2945db9a3 user: rolf tags: fuzzer-instrumentation
08:42
Some doc proofreading. check-in: 7bd9eda430 user: rolf tags: trunk
2017-07-30
00:48
Fixed seg fault in case of attribute node as context node of an id() function call. check-in: 8a41290899 user: rolf tags: trunk
00:04
Fixed seg fault in case of attribute node as context node of a lang() function call. check-in: b8bbb8a60a user: rolf tags: trunk
2017-07-29
12:21
Removed all that TCL_UTF_MAX cruft, that tries to do the right thing. This is all a dubious hack without proper core support. Until we have that (if ever) it's the responsibility of the user to not mix core and binary extension build with different TUM. check-in: 549b689298 user: rolf tags: trunk
2017-07-28
22:28
Fixed a SIGFPE in case of a float that casts to integer 0 on the right side of a mod. check-in: 8c247cfc54 user: rolf tags: trunk
16:10
Changed to switch easily (though by code editing) between XPath parser / lexer and JSON parser testing. check-in: d7fe06cfbf user: rolf tags: fuzzer-instrumentation
11:49
Merged from trunk. check-in: 3cf44b6370 user: rolf tags: fuzzer-instrumentation
10:51
Small rewrite to prevent double evaluation in define in case of TCL_MEM_DEBUG defined. Added knownBug tag to the test that demonstrates the current limits of xsltFormatNumber. Problem is understood but the solution needs some rework, which is postponed, for now. check-in: 3ec9f3b32f user: rolf tags: trunk
10:20
Merged JSON support into trunk. check-in: 68e470ad09 user: rolf tags: trunk
2017-07-27
13:14
Updated from trunk. Fixed OASIS test suite wrapper. Added an xslt test. Closed-Leaf check-in: 6ef22b30dd user: rolf tags: json
13:11
Use the malloc defines consistent all over the place, otherwise some memory checking approaches (like the one included in the tcl core) report false positives. check-in: 127b775ae7 user: rolf tags: trunk
2017-07-24
13:03
Looking closer at it there are always fine points. Fixed the new element name injection syntax if the element name is '*'. check-in: efb5498f2d user: rolf tags: json
2017-07-21
22:29
Regenerated html and man documentation. check-in: be3f2f4ce7 user: rolf tags: json
22:24
Corrected markup. check-in: e06f1dbfc8 user: rolf tags: json
22:09
Added documentation for the new XPath syntax extension. check-in: 199814dab5 user: rolf tags: json
14:47
Merged from branch json. check-in: 59f4155c8f user: rolf tags: fuzzer-instrumentation
14:43
Added a few more tests, with edge cases. check-in: 407b3fac54 user: rolf tags: json
14:34
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. check-in: 9002adc958 user: rolf tags: json
12:50
Added more documentation. check-in: 839c42ea9d user: rolf tags: json
2017-07-20
23:42
Some proof-reading. check-in: 68f0eddeb0 user: rolf tags: json
22:33
Started documentation. Adjusted the code to do, what the doc say. check-in: 86b81a0c23 user: rolf tags: json
12:30
Handling binary 0s: Literal binary nulls are not allowed in input and need special care because of tcls internal MUTF-8 encoding. check-in: 3c29d95f88 user: rolf tags: json
00:00
Handling of binary 0 (NUL). Escape all control characters outside the ones with short escapes as as unicode character escapes. check-in: baf7e7d324 user: rolf tags: json
2017-07-19
18:06
createNodeCmd: check, if the provided jsonType is valid for the node command to create. check-in: 9f5f333bad user: rolf tags: json
16:08
The parse options -html, -html5 and -json are mutually exclusive. check-in: 9d8d7a159b user: rolf tags: json
15:02
Implemented optional indentation of asJSON output. check-in: 004f5b1f74 user: rolf tags: json
13:26
More work on the JSON serializer to ensure, that serializing any (not json type hinted) DOM tree results in valid JSON string. check-in: 2299091520 user: rolf tags: json
2017-07-17
23:28
Added -jsonType option to the createDocumentNode method. Intermediatly gardening. check-in: 57a3a1ce1c user: rolf tags: json
2017-07-14
23:59
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. check-in: de1782fd97 user: rolf tags: json
13:11
Fixed error msg in case of trailing chars after the JSON input. check-in: 5d8d0b87b3 user: rolf tags: json
12:24
Added knowledge about the (HTML5) tag "source" to the html parser. check-in: ea10f0d3f2 user: rolf tags: trunk
00:44
Changed jsonType to symbolic names. DomDocs now also may have a jsontype. Other minor tweaks. check-in: e29235a43e user: rolf tags: json
2017-07-13
21:57
Fix in JSON unescaping. check-in: 7b3b9a9817 user: rolf tags: json
19:11
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). check-in: 65e76f96e0 user: rolf tags: json
12:13
Fixed bug in build tree in case of nested empty array as element of an array. check-in: e4b57e31b6 user: rolf tags: json
12:01
Fixed tree building bug in case of nested object as element value inside of array. check-in: f6a78d360b user: rolf tags: json
01:41
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. check-in: 72b69e3ec3 user: rolf tags: json
2017-07-12
21:07
Combine memory allocations in tcldom_selectNodes and move cleanup into tcldom_FreePvcd. check-in: ee1833d642 user: yorick tags: pyk-parsexpath
12:23
Added a test, which shows the problem that was fixed by [ccc182cde5]. check-in: dc5a7088ce user: rolf tags: pyk-parsexpath
2017-07-11
23:01
Remove staticTokenPtr from tcldom_ParseVarData and use NULL as the fixup marker instead. check-in: e6cf5cb835 user: yorick tags: pyk-parsexpath
22:24
Removed build breaking artifact, introduced with [518504411f16]. check-in: ab13e17c86 user: rolf tags: trunk
22:18
Removed build breaking artifact, introduced with [518504411f16]. check-in: fd02176cec user: rolf tags: json
21:26
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. check-in: ccc182cde5 user: yorick tags: pyk-parsexpath
19:34
Merged from trunk. check-in: e6c68d83fe user: rolf tags: json
00:13
Added a random test. check-in: c121a72ec5 user: rolf tags: trunk
2017-07-05
23:02
Clarified the selectNodes documentation: mentioned the potential pitfall with using tcl variable references in xpath expressions, if using the -cache 1 option. check-in: 8ebfc15ac4 user: rolf tags: trunk
12:06
Fixed spelling mistake in error msg. check-in: 0e97114f76 user: rolf tags: trunk
00:22
Fixed the 'latent bug' mentioned in ticket [d0405aff34]. check-in: 518504411f user: rolf tags: trunk
2017-07-03
20:51
Fixed all identified bugs and memory problems of the approach. Not ready for prime time, so far. See the ticket [d0405aff34deee85] for details. check-in: 7db984705f user: rolf tags: pyk-parsexpath
20:39
So far, for now. Closed-Leaf check-in: 0c6df91ce5 user: rolf tags: pyk-parsexpath, wip
14:28
More progress. check-in: 2d793fe147 user: rolf tags: pyk-parsexpath, wip
00:21
Still work in progress. check-in: e5c042fb0d user: rolf tags: pyk-parsexpath, wip
2017-07-01
14:17
Work in progress. check-in: 42b8823f76 user: rolf tags: pyk-parsexpath, wip
2017-06-30
23:01
Fixed some problems in the code. Saved before attempt to greater rework, to takle others. check-in: 41e23c35ea user: rolf tags: pyk-parsexpath
10:28
Separate XPath parse and eval function steps and move variable access from parsing step to eval step. check-in: 20779fa343 user: yorick tags: pyk-parsexpath
2017-06-17
01:03
Fix seg fault of removeAttributeNS, if there is a not namespaced attribute with the same localname as the attribute to remove. check-in: db3e95cb77 user: rolf tags: trunk
2017-06-16
00:36
Don't put syntaxically wrong XPath expressions into the cache. Fix for [97c0994ae4]. check-in: 5b9f6c7c6d user: rolf tags: trunk
2017-05-10
00:24
See - why this limits to XML name and char data rules. check-in: 5dacf40a1d user: rolf tags: json
2017-05-09
23:47
Let's implement it much simpler and without factitious limitations. check-in: 0e69127b10 user: rolf tags: json
22:13
Last state before I understood, that this could never be the "right" thing or involve into something good. There are better concepts, to deal with JSON w/ tDOM. check-in: 96c82f8a34 user: rolf tags: json
2017-05-01
23:21
Added serializer. Some edge case, convenience flags and more testing to be done. check-in: 5481915769 user: rolf tags: json
2017-04-25
21:28
Back in normal feature dev branch, after digression. check-in: c6dbf8336f user: rolf tags: json
2017-04-24
00:05
Adjust tests according to how the code now works. Closed-Leaf check-in: ffd617d8d7 user: rolf tags: wip
2017-04-22
13:26
More work in progress. Saved for transport. check-in: 6b4b6bb485 user: rolf tags: wip
2017-04-19
23:25
Merged from trunk and changed respectively. check-in: 71f5139f11 user: rolf tags: wip
23:15
Removed unused parameter from domNewElementNode and domNewElementNodeNS- check-in: c7e9aae252 user: rolf tags: trunk
22:58
In the middle of some rework. check-in: aa6e9da5a3 user: rolf tags: wip
2017-04-15
13:22
Save work in progress for transport. check-in: 1dddd40b6e user: rolf tags: wip
2017-04-14
01:06
Added boilerplate for a JSON serializer. check-in: 36d8b4b3c6 user: rolf tags: json
2017-04-13
15:23
Limit the depth of recursion for valid JSON in the JSON parser in order to avoid using excess stack space (seg fault). Default: maximum allowed nesting is 2000. That default could be changed at build time. The default could be queried with [dom featureinfo jsonmaxnesting]. May be set on call by call base with the new [dom parse ...] option -jsonmaxnesting. check-in: a139d28a41 user: rolf tags: json
2017-04-12
23:44
Sanitized the JSON parser. check-in: 4f158c61d8 user: rolf tags: json
22:38
With [dom parse -json ...] for the first time valid input could start with '-'. check-in: 685e270255 user: rolf tags: json
21:09
Added "--" as optional flag to [dom parse ...], signaling the end of options. check-in: e98ace106f user: rolf tags: json
2017-04-11
22:12
Added un-escaping on the fly of parsing. Obviously over-convoluted written, but it at least kind of works. check-in: bca3f461d5 user: rolf tags: json
2017-04-09
00:59
Improved error reporting. check-in: 0a8a1c0e15 user: rolf tags: json
2017-04-07
23:57
Changed, improved and cluttered with the correct XML namespace limbo dance the handling of ture, false, null. Partly to lower the 'fall out' of this: new option -jsonroot, which expects the document element name of the DOM tree to create. Ignored, if not used together with -json. Fixed parsing of emtpy string values. check-in: 672650884f user: rolf tags: json
16:25
Started implementation of JSON support. Parsing a JSON string into a DOM tree (via the new [dom parse -json] option) basically works. Work out of some details needs to be done, as well as serialization back to JSON. check-in: 7ba8482d10 user: rolf tags: json
01:25
Corrected header comment. check-in: ca060d66dc user: rolf tags: trunk
2017-04-06
23:55
Integrate the new -html5 option of [dom parse]. Builds on only on linux without too much fussing around and is disabled by default. check-in: f7671c27a3 user: rolf tags: trunk
2017-04-04
23:58
Changed default of --enable-html5 back to off. By following the rules now the generated DOM trees are "namespaced", the HTML tags in the xhtml, the sgv and mathml tags and the xlink attributes in their respectivly namespaces. Since this probably isn't wanted by a lot of users and adds only burden for no good in a lot of use cases -html5 can be combined with -ignorexmlns, in which case all nodes and attributes in the DOM tree are not in an XML namespace. Added a few words of documentation and tests. Closed-Leaf check-in: 15f1033a6f user: rolf tags: html5_by_gumbo
2017-03-27
20:29
Added a few tests. Bit minor gardening. check-in: c577fbde37 user: rolf tags: trunk
2017-03-25
01:46
Made the ../configure default of --enable-html5 to bw 'if available'- check-in: aef7455e78 user: rolf tags: html5_by_gumbo
01:32
Made it build also with just the default ../configure again. check-in: 5c13a6975f user: rolf tags: html5_by_gumbo
01:18
Added an experimental dom parse -html5 option, that uses the gumbo library (https://github.com/google/gumbo-parser) to generate a tdom DOM tree out of (html5) input. It's disabled, by default, enable it with ../configure --enable-html5. This link against the gumbo lib and therefor require that to be installed. check-in: 5f8d95de29 user: rolf tags: html5_by_gumbo
2016-10-08
23:19
Introduced due an editing mistake in [df00b99009] parsing of external entities, that are feeded back into the parsing engine as channel by the scripted external entities resolver, raised wrongly error for well-formed entities and vice versa. Fixed. check-in: 2572154b1f user: rolf tags: prepare-release
23:11
Introduced due an editing mistake in [df00b99009] parsing of external entities, that are feeded back into the parsing engine as channel by the scripted external entities resolver, raised wrongly error for well-formed entities and vice versa. Fixed. check-in: 1d978619f5 user: rolf tags: trunk
2016-10-03
21:39
Updated CHANGES. Replaced the currently not updated github mirror with the tDOM mirror at core.tcl.tk. check-in: 267416996f user: rolf tags: trunk
21:36
Updated CHANGES. Replaced the currently not updated github mirror with the tDOM mirror at core.tcl.tk. check-in: 199b03a2dd user: rolf tags: prepare-release
21:25
Regenerated configure. check-in: 6e83087b3a user: rolf tags: prepare-release
2016-10-02
12:59
Removed build stuff for mac os 8/9. I have no way to test this and probably nobody uses this anymore. check-in: 63d1763330 user: rolf tags: prepare-release
12:32
Pre-release branch. check-in: 6e4626b0b0 user: rolf tags: prepare-release
2016-10-01
22:38
Fixed [b7fcebac73]. check-in: df00b99009 user: rolf tags: trunk
19:12
Added tests for bug [b7fcebac73] check-in: 9fd45f15ab user: rolf tags: trunk
17:54
Updated to expat 2.2.0. check-in: 9e5f3982f6 user: rolf tags: trunk
2016-05-12
19:06
Fixed configure option --with-expat. check-in: 3ef47f8eca user: rolf tags: trunk
16:45
If not on windows include unistd.h unconditional. Fixes a warning on FreeBSD. check-in: f163795f4d user: rolf tags: trunk
16:28
Fixed long standing problem: Report undefined xml namespace prefixes as parsing error. check-in: 6d4a7d62c1 user: rolf tags: trunk
2015-09-11
00:44
Added options -xmlDeclaration and -encString to the asXML method of the domDoc and domNode commands. check-in: 400d92fee5 user: rolf tags: trunk
2015-09-07
14:08
Fixed HTML serialization of CDATA Sections. check-in: 230278ccf5 user: rolf tags: trunk
2015-08-28
21:55
More doc tweaks. check-in: d44a180b35 user: rolf tags: trunk
17:52
Added documentation for the new xslt transformation option -maxApplyDepth. Regenerated man and html files. Other minor doc tweaks. check-in: fe3d23e7ad user: rolf tags: trunk
17:45
Added limit (default 3000) for depth of nesting xslt apply templates. Added -maxApplyDepth option to xslt transformation, to set this limit. check-in: a52f940880 user: rolf tags: trunk
14:56
More detailed report and and more fancy external entity resolver for OASIS-suite.tcl. check-in: f773081411 user: rolf tags: trunk
2015-08-25
22:19
More work on and with OASIS-suite.tcl. check-in: e68b5e234f user: rolf tags: trunk
2015-08-21
13:23
Prevent, that circular attribute-set references blow up the stack. Return error msg instead. check-in: 44ca1203de user: rolf tags: trunk
13:21
More work on OASIS-suite.tcl. check-in: b682c5e4a2 user: rolf tags: trunk
2015-08-20
17:00
Fixed ridiculous errors in option handling of OASIS-suite.tcl. check-in: 50f3871fd6 user: rolf tags: trunk
2015-08-19
23:58
Removed code cruft. check-in: d68f0946b1 user: rolf tags: trunk
23:22
An xpath expression with more then one step after a // could return the matching nodes not in document order. check-in: 5ce8894ca4 user: rolf tags: trunk
2015-08-05
14:30
Removed another unnecessary variable initialazation. check-in: 16e874d04d user: rolf tags: trunk
14:02
Removed unnecessary variable initialazation. check-in: a406be0187 user: rolf tags: trunk
14:00
Guard against null pointer dereference in case of invalid stylesheet (template mode attribute is prefixed, but the prefix isnt bound to a namespace in scope). check-in: 34148043ce user: rolf tags: trunk
13:57
Removed unused (and unnecessary) code. check-in: 78df30fe04 user: rolf tags: trunk
2015-05-17
00:27
Brought CHANGES up to date. check-in: c27818aee3 user: rolf tags: trunk
2015-05-16
21:00
Brought info text files of the included expat version in sync with the actually used version 2.1.0. Missed to copy this files, while updating the code to expat 2.1.0. check-in: 8dfb0f574a user: rolf tags: trunk
2015-04-14
23:43
Added argument check for the boolean expecting tdom cmd option setter methods. Fixed the ignorexmlns method. check-in: c5f26a45cf user: rolf tags: trunk
2015-04-11
00:22
Changed behavior wrt to result code of a called -xsltmessagecmd script. Up to now, the result code of that script evaluation was ignored. Now, any other return code of that script then TCL_OK terminates the xslt transformation and returns error. Purposeful termination may be signaled with return -code break, for which the error message will be empty. check-in: 8438342bf7 user: rolf tags: trunk
2015-04-10
23:59
Sorted out how it will be, for now. Documented it somewhat. Closed-Leaf check-in: be9cfa8f2d user: rolf tags: xsltmsg
2015-04-04
12:58
Save changes. check-in: d296766c6c user: rolf tags: xsltmsg
2015-04-02
00:11
Merged from trunk. check-in: a441d3472d user: rolf tags: xsltmsg
2015-04-01
23:14
Added option -ignorexmlns to the dom parse method. check-in: 1fddc58c07 user: rolf tags: trunk
23:10
Initialize ignorexmlns for tdom cmd. Closed-Leaf check-in: 4cada4420f user: rolf tags: TDOM_NS
23:00
Merged from trunk. check-in: 4ac7a71245 user: rolf tags: TDOM_NS
22:40
Corrected typo. check-in: 65c1350cd7 user: rolf tags: trunk
22:12
Added new expat parser cmd method currentmarkup. check-in: 2b183ffd3f user: rolf tags: trunk
21:46
Added lokal clean-up to every test (as it should be) and removed general clean-up, which was interfered by other test helper procs. Closed-Leaf check-in: d501542ab8 user: rolf tags: parser-defaultcurrent
21:35
Corrected typo. check-in: 6f3daefad3 user: rolf tags: parser-defaultcurrent
19:13
Documented parser cmd method currentmarkup more precisely. check-in: e6bbca7bff user: rolf tags: parser-defaultcurrent
18:12
Plugged memory leaks in case of defective XPath expressions. check-in: 6cae756100 user: rolf tags: trunk
03:01
Handle calls from -characterdatacommand. Added tests. check-in: 4bb38582f8 user: rolf tags: parser-defaultcurrent
00:44
Merged from trunk. check-in: 9a616f0d21 user: rolf tags: parser-defaultcurrent
2015-03-26
11:29
Enforce value range for -indentAttrs value. check-in: ac03b8c44e user: rolf tags: trunk
01:23
Added option -indentAttrs to the domDoc/domNode method asXML. check-in: 3245a04ed5 user: rolf tags: trunk
01:17
Now, -indentAttrs expects an argument, 0..8 or no/none and indends the attributes relative to their element by the given value. Closed-Leaf check-in: ca5b82767d user: rolf tags: indentAttrs
2015-03-25
23:00
Merged from trunk. check-in: 3b71a11611 user: rolf tags: indentAttrs
21:59
Minor cleanup: Removed extraneous parentheses around comparison check-in: a57050673a user: rolf tags: trunk
2015-03-01
03:48
Made node detection from string token more reliable. check-in: 3401eb3d6b user: rolf tags: trunk
03:04
Clarified the xpath data type of tcl var references in xpath expressions. check-in: 9391fc5fe9 user: rolf tags: trunk
2015-02-27
02:31
Documented: Using tcl var reference in expr predicate. check-in: ff88c83a7b user: rolf tags: trunk
02:04
Documented: detecting node from string token isn't reliable. check-in: b41c199b1e user: rolf tags: trunk
02:01
Document: detecting node from string token isnt reliable. check-in: 2de2b4f0a1 user: rolf tags: xsltmsg
2015-02-15
01:29
Added bench tests to show the speed problem with large current nodelist argument. check-in: c6c85b25c2 user: rolf tags: trunk
00:45
Added tests to demonstrate the problems with modifying xmlns attributes and afterwards moving around the node. check-in: 6e2396d92b user: rolf tags: trunk
2015-02-14
20:36
Instrumentation of tcldomsh, to be able to use afl-fuzz to hammer on the XPath engine (well, to hammer on the XPath Parser/Lexer/Error Reporting, mostly, I guess). check-in: 69b07cdbed user: rolf tags: fuzzer-instrumentation
15:34
Started to add ability to terminate xslt processing by return code of the xsltmsgcmd. check-in: 18189825f9 user: rolf tags: xsltmsg
2015-01-25
13:17
Better error msg. check-in: 6bb4eda2c7 user: rolf tags: trunk
01:01
Still hardening the xpath engine against random input. check-in: cda6ae28c1 user: rolf tags: trunk
00:09
Fixed / better handling of over- or underflow integers given literal within the xpath expression. check-in: a34b1c1dff user: rolf tags: trunk
2015-01-21
00:37
Save bytes and be more general. check-in: 9bec85810d user: rolf tags: trunk
2015-01-20
23:08
Fixed even more possible seg faults in case of "random" xpath input. check-in: e44ca3a81b user: rolf tags: trunk
2015-01-18
20:34
Fixed more possible seg faults in case of 'random' xpath input. check-in: 66eccc9114 user: rolf tags: trunk
01:57
Fixed seg fault in case of special crafted XPath expressions. check-in: 987b9125a2 user: rolf tags: trunk
2014-12-11
22:49
Fixed XPath bug, if logical comparing nodesets with numbers. If some node in the nodeset has a string value, that looks like a double in some other standards but is not a number according to XPath, the result of the comparsion could be wrong. check-in: 9c3092c53e user: rolf tags: trunk
15:32
Added some words of documentation for the new parse option -ignorexmlns. check-in: 8a3978d548 user: rolf tags: TDOM_NS
2014-11-27
14:58
Merged from trunk. check-in: a154b27b05 user: rolf tags: TDOM_NS
2014-11-19
21:59
Cleaned up test naming, removed a few duplicated tests. check-in: 34b677ad0b user: rolf tags: trunk
2014-11-06
01:35
More scripted XPath function tests. check-in: 9f3c84cdb3 user: rolf tags: trunk
00:27
A node set returned from a tcl scripted XPath function is a XPath node set, as returned from any XPath expression. check-in: 00c36ac1c9 user: rolf tags: trunk
2014-11-05
23:53
Fixed a bug in the implicit string result short return path of tcl scripted additional XPath functions. check-in: 55e2fefda5 user: rolf tags: trunk
2014-11-02
23:30
Editorial corrections. check-in: 0f71f6ce74 user: rolf tags: trunk
2014-10-31
17:54
Added at least one test for the expat parser cmd method parsefile. check-in: 96de69454e user: rolf tags: trunk
2014-10-16
23:17
Added configure option --with-expat, to build and link against the system or a custom expat lib. Default is, to use the included sources. check-in: e008f28a6e user: rolf tags: trunk
21:58
Saved work in progress. check-in: 3cc840358e user: rolf tags: parser-defaultcurrent
2014-10-09
15:38
Update parser.test to the new method name currentmarkup (in fact, missed to save the file prior to commit the method name change. check-in: f7c8e4e77f user: rolf tags: parser-defaultcurrent
2014-10-08
00:45
Renamend method defaultcurrent to currentmarkup. check-in: 0337e934ea user: rolf tags: parser-defaultcurrent
00:28
Tried to document defaultcurrent. check-in: 358cff26da user: rolf tags: parser-defaultcurrent
00:06
Merged from trunk. check-in: fb8b793fef user: rolf tags: parser-defaultcurrent
2014-10-07
23:50
Reworked parser cmd method defaultcurrent to work much simpler. Instead of getting the result of the method by another handler, which may be, since its there, get called otherwise also (so you may have to flag, that this handler is called by defaultcurrent) just return currentdefault. check-in: f5b29530ef user: rolf tags: parser-defaultcurrent
2014-10-03
23:46
Added a first test of the new defaultcurrent method. check-in: e47ccd2f2f user: rolf tags: parser-defaultcurrent
00:07
Fixed a seg fault if tdom $parser enable is called in a callback of the parser it works on. check-in: dd44c6e0e0 user: rolf tags: trunk
2014-10-02
23:09
Editorial change. check-in: 4afd32f535 user: rolf tags: trunk
22:57
added a "parser defaultcurrent" subcommand that calls XML_DefaultCurrent check-in: 0cb35638d1 user: evilotto tags: parser-defaultcurrent
21:45
Fixed seg fault, if expat parser cmd method get is called without argument. check-in: a5417947d1 user: rolf tags: trunk
2014-06-25
18:42
Added test. check-in: 7f6a517aba user: rolf tags: TDOM_NS
2014-05-02
00:25
Simplyfied test suite infrastructur. check-in: dd0926133d user: rolf tags: trunk
2014-05-01
12:33
Added more minimal xslt doc tests. check-in: 73c26eb87f user: rolf tags: trunk
12:28
Added minimal xslt doc tests. check-in: 3f2c9c70c6 user: rolf tags: trunk
12:16
Added minimal xslt doc tests. check-in: d05e85a15f user: rolf tags: trunk
2014-04-10
14:39
Started to migrate the build time TDOM_NS hack to a runtime parse option. check-in: 93da576a41 user: rolf tags: TDOM_NS
2014-03-07
00:25
added "indentAttrs" option to domNode asXML that adds newlines in between attributes check-in: 190f3c4596 user: evilotto tags: indentAttrs
2014-01-18
18:39
Removed unused define. check-in: cbd75ded2b user: rolf tags: trunk
2014-01-10
01:11
Improved speed of operations in node token mode notable. This is achieved by introducing a Tcl_Obj type tdomNodeType. Tcl_Objs of type tdomNodeType are created without string representation, saving malloc costs until string representation is needed (which typically isn't needed). Additionally, DOM node identification from token is faster with tdomNodeType Tcl_Objs. check-in: 8f70a39a92 user: rolf tags: trunk
2014-01-01
22:08
Enhanced bench suite. Closed-Leaf check-in: 7148e12240 user: rolf tags: tdomNodeType
04:03
Made tcldom_returnNodeOjb static. check-in: 40b95f4a60 user: rolf tags: tdomNodeType
2013-12-31
18:01
Most obvious, low hanging fruits of the tdomNodeType Tcl_Obj reform are harvested now. A lot of (if not most) operations in token mode are faster (some micro-benchmark measurements say roughly double speed (or even more)). Even operations in cmd mode seem to be a little bit faster, for whatever reasons. Valgrind checked test suite run is still fine. Because this are changes within the heart of the extension, I'll test this futher in real-live applications, before merging this into trunk. check-in: 9b93825de2 user: rolf tags: tdomNodeType
2013-12-30
19:52
Return tdomNodeType Tcl_Objs from a couple of methods (still some to do), if in token mode. check-in: 7d85454598 user: rolf tags: tdomNodeType
2013-12-29
23:47
Continue work: tdomNodeType works, next step will be to use that. check-in: bb9692ad56 user: rolf tags: tdomNodeType
01:29
Update from trunk. check-in: 6b6f0a48b7 user: rolf tags: tdomNodeType
01:25
Minor test suite correction and addition. check-in: 12ce2296e4 user: rolf tags: trunk
2013-12-28
14:51
Start tdom Tcl_ObjType reform. check-in: 06841faa5b user: rolf tags: tdomNodeType
2013-12-27
21:56
More #ifdefery, to handle tip 388 changes to tcl.h. check-in: ebe56a3001 user: rolf tags: trunk
2013-12-24
01:07
Improved handling of characters beyond BMP. check-in: ea86851d90 user: rolf tags: trunk
01:00
Improved check for binary compatibility. Closed-Leaf check-in: f8a539484c user: rolf tags: beyondBMP
2013-12-23
22:27
More tests in this area. check-in: 0061b52914 user: rolf tags: beyondBMP
02:19
Handled this mess even further. New dom method isBMPCharData, to check, if a string has only characters out of the BMP. With TCL_UTF_MAX > 3 even 4 byte utf-8 character will be serialized as character entities only with -escapeNonASCII. With TCL_UTF_MAX = 3 (the default of the core) 4 byte utf-8 character will always be serialized als character entities, even if -escapeNonASCII is not given. If tDOM was build against a core with other TCL_UTF_MAX then the interpreter, which [load]s it, it complains and raises error. New dom featureinfo subcommand TCL_UTF_MAX, which returns the TCL_UTF_MAX value of the tcl core, tDOM was build with. check-in: ab3fea493c user: rolf tags: beyondBMP
2013-12-22
18:16
Some more minor modifications to make tdom handle 4 byte utf-8 characters right (if one gets them into a dom tree, by character entities within the xml or using parsefile). Still, accessing such pcdata beyond BMP with dom methods or xpath queries and using the result at script level will not work correctly with current tcl default build (mangled results without notification by error). check-in: 57d6c144cc user: rolf tags: beyondBMP
2013-12-21
13:21
Don't panic while serializing 4 bytes utf-8 chars, just write them as character enities. check-in: 24d35f6835 user: rolf tags: beyondBMP
2013-12-20
14:36
Added pointer to the CHANGES file. check-in: 104046edbb user: rolf tags: trunk
14:28
Updated CHANGES. check-in: 38bc0537ec user: rolf tags: trunk
14:09
Added option -feedbackcmd to the dom parse method. This option allows to specify a script, which will be called as feedback command. For backward compatibility, if no -feedbackcmd is given, but there is a tcl proc named ::dom::domParseFeedback then this proc is used as -feedbackcmd. If there isn't such a proc and -feedbackAfter is used, it is an error to not also use -feedbackcmd. A return -code break from the -feedbackcmd causes the parser to almost immediatly abort parsing and let the [dom parse] call return the empty string (instead of a document) and no error. For expat parser objects: If a handler script returns -code return, then parsing is aborted, but no error is raised. check-in: 611c50075f user: rolf tags: trunk
13:48
Documented behaviour of the new, special handled handler script return code -return. Added some test. Closed-Leaf check-in: 55c9bb1681 user: rolf tags: abortableParse
03:45
Handler script return codes other than -code ok, -code continue or -code break causes parse abort (via XML_StopParser). New feature: If a handler script returns -code return, then parsing is aborted, but no error is raised. check-in: f8cab49830 user: rolf tags: abortableParse
01:48
Added documentation for -feedbackcmd. check-in: 45571cd469 user: rolf tags: abortableParse
2013-12-19
18:31
Added option -feedbackcmd to the dom parse method. This option allows to specify a script, which will be called as feedback command. For backward compatibility, if no -feedbackcmd is given, but there is a tcl proc named ::dom::domParseFeedback then this proc is used as -feedbackcmd. If there isn't such a proc and -feedbackAfter is used, it is an error to not also use -feedbackcmd. check-in: db8378c250 user: rolf tags: abortableParse
2013-12-16
10:37
Correted test description. check-in: 7e27b29b15 user: rolf tags: abortableParse
01:12
Improved error msg handling for recursive external entities. check-in: 4b9e219335 user: rolf tags: abortableParse
2013-12-15
01:13
Removed debugging code. check-in: 847fe0e7c5 user: rolf tags: abortableParse
2013-12-14
15:45
Added another test. check-in: 32853b1ede user: rolf tags: abortableParse
15:40
Fixes and improvements in case of external entities. check-in: 5cdd39dc5a user: rolf tags: abortableParse
02:50
Futher work. check-in: b9ee715299 user: rolf tags: abortableParse
2013-12-08
22:58
New feature: parsing may be aborted by the application. Dom building will be aborted by returning non TCL_OK from feedback cmd (nc). check-in: fd2b6b294a user: rolf tags: abortableParse
2013-12-06
23:12
Worked through compiler warnings, removed or cleand up some cruft. Less noisier build (at least for my current tool chain). check-in: 99765c41e5 user: rolf tags: trunk
2013-12-05
23:17
Minor corrections in comments and the reason for a compiler warning removed. check-in: d168f6f959 user: rolf tags: trunk
00:35
More gardening ... :-} check-in: 9d0ae0bb38 user: rolf tags: trunk
00:33
Gardening. check-in: 8d14c9884b user: rolf tags: trunk
2013-12-04
23:39
Make tdom cross-compile on linux for windows (w32/w64) with mingw-w64. check-in: 0026eb9d33 user: rolf tags: trunk
2013-11-03
22:06
Improved handling of node deletion in mt builds (fixed memory corruption, if document is attached more than one time and deleted node is other than ELEMENT_NODE type, fixed memory clean up). Still room for improvement. check-in: a77a362003 user: rolf tags: trunk
01:07
Corrected some test names. check-in: 10f0972864 user: rolf tags: trunk
2013-11-02
00:33
Document github issue 14. check-in: d2c4737409 user: rolf tags: trunk
2013-09-26
01:35
Added dom method featureinfo. check-in: 9ab65ed6fc user: rolf tags: trunk
01:30
Added tests. Documentation tweak. Closed-Leaf check-in: d40d0f4c10 user: rolf tags: dom_featureinfo
2013-09-25
00:47
Updated and regenerated doc. check-in: 8ccb6f120b user: rolf tags: dom_featureinfo
00:09
Updated from trunk. check-in: 3a3b825826 user: rolf tags: dom_featureinfo
00:03
More work on OASIS-suite.tcl. check-in: 02675cd3c8 user: rolf tags: trunk
2013-09-24
22:50
Added a Relax NG compact tmml schema definition (generated by trang from the tmml.dtd and a minor modification. check-in: 1189b8bada user: rolf tags: trunk
00:27
Added INDEX.MAP to be more in sync with README. check-in: 49ccac621d user: rolf tags: trunk
00:24
Basic tmml cleanup. check-in: b1f1aba98e user: rolf tags: trunk
00:20
Editorial change. check-in: 80ce5f7895 user: rolf tags: trunk
2013-09-22
11:27
Corrected tmml syntax errors in domNode.xml. Started documentation of dom featureinfo. check-in: aecda7733d user: rolf tags: dom_featureinfo
2013-09-21
23:44
Added dom method featureinfo. check-in: 2877d5b58a user: rolf tags: dom_featureinfo
2013-09-20
23:44
Integrated toXPath bug fix. check-in: 85d99b56af user: rolf tags: trunk
23:35
More tests. Minimal documentation. Closed-Leaf check-in: 9da0732eb4 user: rolf tags: toXPath
21:18
Updated from trunk. check-in: 697274d232 user: rolf tags: toXPath
21:17
xslt.tcl better usable for memory debugging. check-in: 5bb0267890 user: rolf tags: trunk
2013-09-19
00:10
Made OASIS-suite.tcl better usable. Started comparing with the provided ref output. check-in: 1387f10c23 user: rolf tags: trunk
2013-09-08
23:32
Skeleton to run the OASIS xslt 1.0 test suite. check-in: 1e5a9b3310 user: rolf tags: trunk
22:47
Bug fix: apply-imports could run wild, if there is an overwritten template with the same import precedence. check-in: da559675c5 user: rolf tags: trunk
2013-09-06
22:44
Added new option -legacy to the domNode cmd error msg text. check-in: e799d2e8c5 user: rolf tags: toXPath
22:41
Spell fix. check-in: 94beb1bc99 user: rolf tags: toXPath
22:36
Fixed toXPath, which didn't worked at all for namespaced nodes without a prefix and with namespaced nodes with prefix not for patholotical cases. Because the string result of the toXPath method changed even in cases, which did work there is a new option -legacy, that returns the old string value.The -legacy option will go away, in future clean ups, if it show. check-in: 1745c828bc user: rolf tags: toXPath
2013-08-31
18:23
Raised the limit of maximum number of different XML namespaceses within one DOM tree to what a signed int can hold. New configure switch --enable-lessns restores old code. This may mean (depending on the used malloc) that the DOM tree of an XML file may need a bit more memory (even if you don't have any XML namespace declaration within your documents) than before. check-in: 981c0340e2 user: rolf tags: trunk
2013-08-29
14:44
Added configure switch to build tdom with the old (much smaller) limit of different XML namespace declarations within one document while building a dom tree (and restore the old lesser memory demands). Closed-Leaf check-in: dd4f2b0aae user: rolf tags: more-xml-ns
2013-08-28
12:50
Raise the limit of maximum number of different xml namespace declarations within an xml document. check-in: a689b0c326 user: rolf tags: more-xml-ns
2013-08-17
12:49
Noted the TEA update in CHANGES. Declared Changelog as obsolete. check-in: 6c1a36e58f user: rolf tags: trunk
2013-08-16
14:59
Fixed memory corruption in case of scripted xpath function with an attribute as context node (reported by https://github.com/tDOM/tdom/issues/16). check-in: d5664646d6 user: rolf tags: trunk
2013-08-15
01:16
Test documenting the seg fault reported by https://github.com/tDOM/tdom/issues/16. check-in: 97f6f2f627 user: rolf tags: trunk
2013-07-21
16:36
Updated TEA build system of tdom itself and the extensions (merged from branch "tea-update"). check-in: 67628d28e2 user: rolf tags: trunk
16:32
Made the example extension "example" work again. Closed-Leaf check-in: 21aeb4698d user: rolf tags: tea-update
15:25
Build of working tcldomsh finally restored. check-in: a95bf4cf89 user: rolf tags: tea-update