tDOM

Timeline
Login

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

59 descendants and 1307 ancestors of [6e4626b0b0]

2017-11-18
15:33
[156eb276c9] Leaf: Updated the README about the included expat version. (user: rolf, tags: expat-update)
01:59
[2de0b19f93] 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. (user: rolf, tags: expat-update)
2017-11-16
22:47
[cbcf5049f7] Hallelujah. Can remove that knownBug test tag, after successfully nagging upstream. (user: rolf, tags: expat-update)
22:18
[5034d18e1a] Updated to expat 2.2.5. (user: rolf, tags: expat-update)
22:05
[2f825a10bb] Merged from trunk. (user: rolf, tags: expat-update)
2017-11-09
00:32
[8cd193981c] Leaf: Added -keepCDATA to the tdom handler set based implementation of the [dom parse ...] API. Bug fix in arg check. (user: rolf, tags: trunk)
2017-11-07
23:36
[f4336d7b70] Tweaked doc stuff. (user: rolf, tags: trunk)
23:25
[a0809eb3c1] 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]. (user: rolf, tags: trunk)
22:22
[d07b1bbc1c] Closed-Leaf: 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 ...]. (user: rolf, tags: keepCDATA)
00:47
[4c688ab844] 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. (user: rolf, tags: keepCDATA)
2017-11-06
01:00
[c630765b29] 0.9.0 release mark in the CHANGES file. (user: rolf, tags: trunk)
00:57
[5809c91591] Made simple XML parser ([dom parse -simple ...]) -keepCDATA aware, with the same semantic as for the standard expat parser. (user: rolf, tags: keepCDATA)
2017-11-05
23:56
[d333be5a28] If -keepCDATA is used together with -keepEmpties even empty CDATA sections will be CDATA_SECTION_NODE (with empty text) in the DOM tree. (user: rolf, tags: keepCDATA)
18:27
[cde6b24b70] Fixed simple parser: It now groups consecutive text and CDATA sections into one TEXT_NODE, as the expat based DOM building (without -keepCDATA) does. (user: rolf, tags: keepCDATA)
01:15
[43b6f8f843] Added some words of documentation about the new [dom parse ...] flag -keepCDATA. (user: rolf, tags: keepCDATA)
00:02
[e320c2065d] Made that work with the tdom expat handler set also. (user: rolf, tags: keepCDATA)
2017-11-04
19:12
[e01e949947] Added a few bench tests to check positional predicate optimization. (user: rolf, tags: trunk)
02:00
[1cd6dcbed5] Started implementation of a "keep CDATA sections" switch to [dom parse ...]. (user: rolf, tags: keepCDATA)
2017-10-29
18:34
[4751836ea1] Leaf: Update from trunk. (user: rolf, tags: errorCode)
18:27
[33ee70bd11] Replaced the (creative) use of encoding identity to make tDOM compatible with the upcoming Tip 345. (user: rolf, tags: trunk)
2017-10-19
10:40
[b226917ae3] Updated tnc to new nmake system (user: apnadkarni, tags: trunk)
07:41
[78c6f9be15] New nmake build system (user: apnadkarni, tags: trunk)
04:17
[ebc7fb932f] Leaf: Create new branch named "vc-reform" (user: apnadkarni, tags: vc-reform)
2017-10-06
00:03
[f8ced39e14] Applyed spelling/ wording fixes in source code comments, error messages and even symbols (!) as reported by Debian lintian [9629f6d4fb8c9]. (user: rolf, tags: trunk)
2017-10-05
23:48
[764b3d1ea0] Applyed spelling/ wording fixes (documentation part) as reported by Debian lintian [9629f6d4fb8c9]. (user: rolf, tags: trunk)
2017-10-01
01:11
[8dd6cf7f01] Musing: Provide useful errorCode information in case of [dom parse ...] error. (user: rolf, tags: errorCode)
2017-09-15
15:29
[2658b83255] Added loadlibrary.c to Windows build. Minor update to README (user: apnadkarni, tags: expat-update)
2017-08-31
15:30
[b17f640f6f] Leaf: 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. (user: rolf, tags: fastFree)
12:34
[1caab6d4da] Added the new expat source file loadlibrary.c to the once to build; its needed on windows. (user: rolf, tags: expat-update)
10:25
[88b7e885f8] Cleanup of some no longer used typedefs. (user: rolf, tags: fastFree)
02:51
[e5404d396d] Merged from trunk. (user: rolf, tags: fastFree)
02:47
[1965531605] 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. (user: rolf, tags: fastFree)
2017-08-30
15:21
[784ff1de80] Now the domNode method cloneNode does also copy the json type annotation of the node or subtree to clone. (user: rolf, tags: trunk)
14:03
[9352a1da41] Plugged memory leak in case [dom createDocumentNS] is erroneously called with prefixed document element name and the empty string as namespace URI. (user: rolf, tags: trunk)
11:44
[f6b055a47b] Added new expat source files. (user: rolf, tags: expat-update)
2017-08-29
21:05
[367f9260b3] Merged from trunk. (user: rolf, tags: expat-update)
21:05
[631d353e34] There are a lot expat releases, lately. This is expat-2.2.4. (user: rolf, tags: expat-update)
2017-08-25
14:28
[fa48078af4] Changed version to 0.9.1. (user: rolf, tags: trunk)
2017-08-24
16:15
[84a004b5f0] Closed-Leaf: Merged from trunk. (user: rolf, tags: expat-2.2.3)
15:33
[6c9e8589f1] Release 0.9.0 (user: rolf, tags: trunk, tdom-0-9-0, release)
13:57
[9ca8c82d0a] Closed-Leaf: Install also tdomConfig.sh. And since tdomConfig.sh is generated by configure, don't remove it with make clean but only with make distclean. (user: rolf, tags: prepare-release)
2017-08-23
16:16
[fe91db4e27] Changed a last comma. (user: rolf, tags: prepare-release)
15:52
[1aaa919d6e] Hopfully final proof-reading of README. (user: rolf, tags: prepare-release)
14:45
[316eda6f67] Changed the link to / file name of the source distribution. (user: rolf, tags: prepare-release)
14:10
[44f479fa12] Added a link to the repository and a meta content tag to the HTML documentation. (user: rolf, tags: prepare-release)
13:34
[6cdde781d5] Updated README. (user: rolf, tags: prepare-release)
03:40
[792b1394bc] Fixed misspelt package name (todm->tdom) in pkgIndex (user: apnadkarni, tags: prepare-release)
2017-08-22
22:25
[135a5c1e5f] tnc: (Re-)generate pkgIndex.tcl with make, since it could be removed by a prior make clean. (user: rolf, tags: prepare-release)
2017-08-21
23:51
[f110e5331f] Merged from trunk. (user: rolf, tags: prepare-release)
2017-08-17
18:44
[e5d5c534b7] Merged trunk. (user: rolf, tags: prepare-release)
18:44
[d9742bb60d] Changed my mind: next version will be 0.9.0. (user: rolf, tags: prepare-release)
18:05
[5d9e51455e] Updated version nr at more places. (user: rolf, tags: prepare-release)
17:58
[c75669c175] Merged trunk. (user: rolf, tags: prepare-release)
2017-08-14
12:51
[ab19103901] Merged from trunk. (user: rolf, tags: prepare-release)
2017-08-05
12:57
[d9388d5e29] Merged from trunk. (user: rolf, tags: prepare-release)
2016-10-08
23:19
[2572154b1f] 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. (user: rolf, tags: prepare-release)
2016-10-03
21:36
[199b03a2dd] Updated CHANGES. Replaced the currently not updated github mirror with the tDOM mirror at core.tcl.tk. (user: rolf, tags: prepare-release)
21:25
[6e83087b3a] Regenerated configure. (user: rolf, tags: prepare-release)
2016-10-02
12:59
[63d1763330] Removed build stuff for mac os 8/9. I have no way to test this and probably nobody uses this anymore. (user: rolf, tags: prepare-release)
12:32
[6e4626b0b0] Pre-release branch. (user: rolf, tags: prepare-release)
2016-10-01
22:38
[df00b99009] Fixed [b7fcebac73]. (user: rolf, tags: trunk)
19:12
[9fd45f15ab] Added tests for bug [b7fcebac73] (user: rolf, tags: trunk)
17:54
[9e5f3982f6] Updated to expat 2.2.0. (user: rolf, tags: trunk)
2016-05-12
19:06
[3ef47f8eca] Fixed configure option --with-expat. (user: rolf, tags: trunk)
16:45
[f163795f4d] If not on windows include unistd.h unconditional. Fixes a warning on FreeBSD. (user: rolf, tags: trunk)
16:28
[6d4a7d62c1] Fixed long standing problem: Report undefined xml namespace prefixes as parsing error. (user: rolf, tags: trunk)
2015-09-11
00:44
[400d92fee5] Added options -xmlDeclaration and -encString to the asXML method of the domDoc and domNode commands. (user: rolf, tags: trunk)
2015-09-07
14:08
[230278ccf5] Fixed HTML serialization of CDATA Sections. (user: rolf, tags: trunk)
2015-08-28
21:55
[d44a180b35] More doc tweaks. (user: rolf, tags: trunk)
17:52
[fe3d23e7ad] Added documentation for the new xslt transformation option -maxApplyDepth. Regenerated man and html files. Other minor doc tweaks. (user: rolf, tags: trunk)
17:45
[a52f940880] Added limit (default 3000) for depth of nesting xslt apply templates. Added -maxApplyDepth option to xslt transformation, to set this limit. (user: rolf, tags: trunk)
14:56
[f773081411] More detailed report and and more fancy external entity resolver for OASIS-suite.tcl. (user: rolf, tags: trunk)
2015-08-25
22:19
[e68b5e234f] More work on and with OASIS-suite.tcl. (user: rolf, tags: trunk)
2015-08-21
13:23
[44ca1203de] Prevent, that circular attribute-set references blow up the stack. Return error msg instead. (user: rolf, tags: trunk)
13:21
[b682c5e4a2] More work on OASIS-suite.tcl. (user: rolf, tags: trunk)
2015-08-20
17:00
[50f3871fd6] Fixed ridiculous errors in option handling of OASIS-suite.tcl. (user: rolf, tags: trunk)
2015-08-19
23:58
[d68f0946b1] Removed code cruft. (user: rolf, tags: trunk)
23:22
[5ce8894ca4] An xpath expression with more then one step after a // could return the matching nodes not in document order. (user: rolf, tags: trunk)
2015-08-05
14:30
[16e874d04d] Removed another unnecessary variable initialazation. (user: rolf, tags: trunk)
14:02
[a406be0187] Removed unnecessary variable initialazation. (user: rolf, tags: trunk)
14:00
[34148043ce] 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). (user: rolf, tags: trunk)
13:57
[78df30fe04] Removed unused (and unnecessary) code. (user: rolf, tags: trunk)
2015-05-17
00:27
[c27818aee3] Brought CHANGES up to date. (user: rolf, tags: trunk)
2015-05-16
21:00
[8dfb0f574a] 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. (user: rolf, tags: trunk)
2015-04-14
23:43
[c5f26a45cf] Added argument check for the boolean expecting tdom cmd option setter methods. Fixed the ignorexmlns method. (user: rolf, tags: trunk)
2015-04-11
00:22
[8438342bf7] 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. (user: rolf, tags: trunk)
2015-04-10
23:59
[be9cfa8f2d] Closed-Leaf: Sorted out how it will be, for now. Documented it somewhat. (user: rolf, tags: xsltmsg)
2015-04-04
12:58
[d296766c6c] Save changes. (user: rolf, tags: xsltmsg)
2015-04-02
00:11
[a441d3472d] Merged from trunk. (user: rolf, tags: xsltmsg)
2015-04-01
23:14
[1fddc58c07] Added option -ignorexmlns to the dom parse method. (user: rolf, tags: trunk)
23:10
[4cada4420f] Closed-Leaf: Initialize ignorexmlns for tdom cmd. (user: rolf, tags: TDOM_NS)
23:00
[4ac7a71245] Merged from trunk. (user: rolf, tags: TDOM_NS)
22:40
[65c1350cd7] Corrected typo. (user: rolf, tags: trunk)
22:12
[2b183ffd3f] Added new expat parser cmd method currentmarkup. (user: rolf, tags: trunk)
21:46
[d501542ab8] Closed-Leaf: Added lokal clean-up to every test (as it should be) and removed general clean-up, which was interfered by other test helper procs. (user: rolf, tags: parser-defaultcurrent)
21:35
[6f3daefad3] Corrected typo. (user: rolf, tags: parser-defaultcurrent)
19:13
[e6bbca7bff] Documented parser cmd method currentmarkup more precisely. (user: rolf, tags: parser-defaultcurrent)
18:12
[6cae756100] Plugged memory leaks in case of defective XPath expressions. (user: rolf, tags: trunk)
03:01
[4bb38582f8] Handle calls from -characterdatacommand. Added tests. (user: rolf, tags: parser-defaultcurrent)
00:44
[9a616f0d21] Merged from trunk. (user: rolf, tags: parser-defaultcurrent)
2015-03-26
11:29
[ac03b8c44e] Enforce value range for -indentAttrs value. (user: rolf, tags: trunk)
01:23
[3245a04ed5] Added option -indentAttrs to the domDoc/domNode method asXML. (user: rolf, tags: trunk)
01:17
[ca5b82767d] Closed-Leaf: Now, -indentAttrs expects an argument, 0..8 or no/none and indends the attributes relative to their element by the given value. (user: rolf, tags: indentAttrs)
2015-03-25
23:00
[3b71a11611] Merged from trunk. (user: rolf, tags: indentAttrs)
21:59
[a57050673a] Minor cleanup: Removed extraneous parentheses around comparison (user: rolf, tags: trunk)
2015-03-01
03:48
[3401eb3d6b] Made node detection from string token more reliable. (user: rolf, tags: trunk)
03:04
[9391fc5fe9] Clarified the xpath data type of tcl var references in xpath expressions. (user: rolf, tags: trunk)
2015-02-27
02:31
[ff88c83a7b] Documented: Using tcl var reference in expr predicate. (user: rolf, tags: trunk)
02:04
[b41c199b1e] Documented: detecting node from string token isn't reliable. (user: rolf, tags: trunk)
02:01
[2de2b4f0a1] Document: detecting node from string token isnt reliable. (user: rolf, tags: xsltmsg)
2015-02-15
01:29
[c6c85b25c2] Added bench tests to show the speed problem with large current nodelist argument. (user: rolf, tags: trunk)
00:45
[6e2396d92b] Added tests to demonstrate the problems with modifying xmlns attributes and afterwards moving around the node. (user: rolf, tags: trunk)
2015-02-14
15:34
[18189825f9] Started to add ability to terminate xslt processing by return code of the xsltmsgcmd. (user: rolf, tags: xsltmsg)
2015-01-25
13:17
[6bb4eda2c7] Better error msg. (user: rolf, tags: trunk)
01:01
[cda6ae28c1] Still hardening the xpath engine against random input. (user: rolf, tags: trunk)
00:09
[a34b1c1dff] Fixed / better handling of over- or underflow integers given literal within the xpath expression. (user: rolf, tags: trunk)
2015-01-21
00:37
[9bec85810d] Save bytes and be more general. (user: rolf, tags: trunk)
2015-01-20
23:08
[e44ca3a81b] Fixed even more possible seg faults in case of "random" xpath input. (user: rolf, tags: trunk)
2015-01-18
20:34
[66eccc9114] Fixed more possible seg faults in case of 'random' xpath input. (user: rolf, tags: trunk)
01:57
[987b9125a2] Fixed seg fault in case of special crafted XPath expressions. (user: rolf, tags: trunk)
2014-12-11
22:49
[9c3092c53e] 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. (user: rolf, tags: trunk)
15:32
[8a3978d548] Added some words of documentation for the new parse option -ignorexmlns. (user: rolf, tags: TDOM_NS)
2014-11-27
14:58
[a154b27b05] Merged from trunk. (user: rolf, tags: TDOM_NS)
2014-11-19
21:59
[34b677ad0b] Cleaned up test naming, removed a few duplicated tests. (user: rolf, tags: trunk)
2014-11-06
01:35
[9f3c84cdb3] More scripted XPath function tests. (user: rolf, tags: trunk)
00:27
[00c36ac1c9] A node set returned from a tcl scripted XPath function is a XPath node set, as returned from any XPath expression. (user: rolf, tags: trunk)
2014-11-05
23:53
[55e2fefda5] Fixed a bug in the implicit string result short return path of tcl scripted additional XPath functions. (user: rolf, tags: trunk)
2014-11-02
23:30
[0f71f6ce74] Editorial corrections. (user: rolf, tags: trunk)
2014-10-31
17:54
[96de69454e] Added at least one test for the expat parser cmd method parsefile. (user: rolf, tags: trunk)
2014-10-16
23:17
[e008f28a6e] Added configure option --with-expat, to build and link against the system or a custom expat lib. Default is, to use the included sources. (user: rolf, tags: trunk)
21:58
[3cc840358e] Saved work in progress. (user: rolf, tags: parser-defaultcurrent)
2014-10-09
15:38
[f7c8e4e77f] Update parser.test to the new method name currentmarkup (in fact, missed to save the file prior to commit the method name change. (user: rolf, tags: parser-defaultcurrent)
2014-10-08
00:45
[0337e934ea] Renamend method defaultcurrent to currentmarkup. (user: rolf, tags: parser-defaultcurrent)
00:28
[358cff26da] Tried to document defaultcurrent. (user: rolf, tags: parser-defaultcurrent)
00:06
[fb8b793fef] Merged from trunk. (user: rolf, tags: parser-defaultcurrent)
2014-10-07
23:50
[f5b29530ef] 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. (user: rolf, tags: parser-defaultcurrent)
2014-10-03
23:46
[e47ccd2f2f] Added a first test of the new defaultcurrent method. (user: rolf, tags: parser-defaultcurrent)
00:07
[dd44c6e0e0] Fixed a seg fault if tdom $parser enable is called in a callback of the parser it works on. (user: rolf, tags: trunk)
2014-10-02
23:09
[4afd32f535] Editorial change. (user: rolf, tags: trunk)
22:57
[0cb35638d1] added a "parser defaultcurrent" subcommand that calls XML_DefaultCurrent (user: evilotto, tags: parser-defaultcurrent)
21:45
[a5417947d1] Fixed seg fault, if expat parser cmd method get is called without argument. (user: rolf, tags: trunk)
2014-06-25
18:42
[7f6a517aba] Added test. (user: rolf, tags: TDOM_NS)
2014-05-02
00:25
[dd0926133d] Simplyfied test suite infrastructur. (user: rolf, tags: trunk)
2014-05-01
12:33
[73c26eb87f] Added more minimal xslt doc tests. (user: rolf, tags: trunk)
12:28
[3f2c9c70c6] Added minimal xslt doc tests. (user: rolf, tags: trunk)
12:16
[d05e85a15f] Added minimal xslt doc tests. (user: rolf, tags: trunk)
2014-04-10
14:39
[93da576a41] Started to migrate the build time TDOM_NS hack to a runtime parse option. (user: rolf, tags: TDOM_NS)
2014-03-07
00:25
[190f3c4596] added "indentAttrs" option to domNode asXML that adds newlines in between attributes (user: evilotto, tags: indentAttrs)
2014-01-18
18:39
[cbd75ded2b] Removed unused define. (user: rolf, tags: trunk)
2014-01-10
01:11
[8f70a39a92] 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. (user: rolf, tags: trunk)
2014-01-01
22:08
[7148e12240] Closed-Leaf: Enhanced bench suite. (user: rolf, tags: tdomNodeType)
04:03
[40b95f4a60] Made tcldom_returnNodeOjb static. (user: rolf, tags: tdomNodeType)
2013-12-31
18:01
[9b93825de2] 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. (user: rolf, tags: tdomNodeType)
2013-12-30
19:52
[7d85454598] Return tdomNodeType Tcl_Objs from a couple of methods (still some to do), if in token mode. (user: rolf, tags: tdomNodeType)
2013-12-29
23:47
[bb9692ad56] Continue work: tdomNodeType works, next step will be to use that. (user: rolf, tags: tdomNodeType)
01:29
[6b6f0a48b7] Update from trunk. (user: rolf, tags: tdomNodeType)
01:25
[12ce2296e4] Minor test suite correction and addition. (user: rolf, tags: trunk)
2013-12-28
14:51
[06841faa5b] Start tdom Tcl_ObjType reform. (user: rolf, tags: tdomNodeType)
2013-12-27
21:56
[ebe56a3001] More #ifdefery, to handle tip 388 changes to tcl.h. (user: rolf, tags: trunk)
2013-12-24
01:07
[ea86851d90] Improved handling of characters beyond BMP. (user: rolf, tags: trunk)
01:00
[f8a539484c] Closed-Leaf: Improved check for binary compatibility. (user: rolf, tags: beyondBMP)
2013-12-23
22:27
[0061b52914] More tests in this area. (user: rolf, tags: beyondBMP)
02:19
[ab3fea493c] 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. (user: rolf, tags: beyondBMP)
2013-12-22
18:16
[57d6c144cc] 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). (user: rolf, tags: beyondBMP)
2013-12-21
13:21
[24d35f6835] Don't panic while serializing 4 bytes utf-8 chars, just write them as character enities. (user: rolf, tags: beyondBMP)
2013-12-20
14:36
[104046edbb] Added pointer to the CHANGES file. (user: rolf, tags: trunk)
14:28
[38bc0537ec] Updated CHANGES. (user: rolf, tags: trunk)
14:09
[611c50075f] 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. (user: rolf, tags: trunk)
13:48
[55c9bb1681] Closed-Leaf: Documented behaviour of the new, special handled handler script return code -return. Added some test. (user: rolf, tags: abortableParse)
03:45
[f8cab49830] 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. (user: rolf, tags: abortableParse)
01:48
[45571cd469] Added documentation for -feedbackcmd. (user: rolf, tags: abortableParse)
2013-12-19
18:31
[db8378c250] 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. (user: rolf, tags: abortableParse)
2013-12-16
10:37
[7e27b29b15] Correted test description. (user: rolf, tags: abortableParse)
01:12
[4b9e219335] Improved error msg handling for recursive external entities. (user: rolf, tags: abortableParse)
2013-12-15
01:13
[847fe0e7c5] Removed debugging code. (user: rolf, tags: abortableParse)
2013-12-14
15:45
[32853b1ede] Added another test. (user: rolf, tags: abortableParse)
15:40
[5cdd39dc5a] Fixes and improvements in case of external entities. (user: rolf, tags: abortableParse)
02:50
[b9ee715299] Futher work. (user: rolf, tags: abortableParse)
2013-12-08
22:58
[fd2b6b294a] New feature: parsing may be aborted by the application. Dom building will be aborted by returning non TCL_OK from feedback cmd (nc). (user: rolf, tags: abortableParse)
2013-12-06
23:12
[99765c41e5] Worked through compiler warnings, removed or cleand up some cruft. Less noisier build (at least for my current tool chain). (user: rolf, tags: trunk)
2013-12-05
23:17
[d168f6f959] Minor corrections in comments and the reason for a compiler warning removed. (user: rolf, tags: trunk)
00:35
[9d0ae0bb38] More gardening ... :-} (user: rolf, tags: trunk)
00:33
[8d14c9884b] Gardening. (user: rolf, tags: trunk)
2013-12-04
23:39
[0026eb9d33] Make tdom cross-compile on linux for windows (w32/w64) with mingw-w64. (user: rolf, tags: trunk)
2013-11-03
22:06
[a77a362003] 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. (user: rolf, tags: trunk)
01:07
[10f0972864] Corrected some test names. (user: rolf, tags: trunk)
2013-11-02
00:33
[d2c4737409] Document github issue 14. (user: rolf, tags: trunk)
2013-09-26
01:35
[9ab65ed6fc] Added dom method featureinfo. (user: rolf, tags: trunk)
01:30
[d40d0f4c10] Closed-Leaf: Added tests. Documentation tweak. (user: rolf, tags: dom_featureinfo)
2013-09-25
00:47
[8ccb6f120b] Updated and regenerated doc. (user: rolf, tags: dom_featureinfo)
00:09
[3a3b825826] Updated from trunk. (user: rolf, tags: dom_featureinfo)
00:03
[02675cd3c8] More work on OASIS-suite.tcl. (user: rolf, tags: trunk)
2013-09-24
22:50
[1189b8bada] Added a Relax NG compact tmml schema definition (generated by trang from the tmml.dtd and a minor modification. (user: rolf, tags: trunk)
00:27
[49ccac621d] Added INDEX.MAP to be more in sync with README. (user: rolf, tags: trunk)
00:24
[b1f1aba98e] Basic tmml cleanup. (user: rolf, tags: trunk)
00:20
[80ce5f7895] Editorial change. (user: rolf, tags: trunk)
2013-09-22
11:27
[aecda7733d] Corrected tmml syntax errors in domNode.xml. Started documentation of dom featureinfo. (user: rolf, tags: dom_featureinfo)
2013-09-21
23:44
[2877d5b58a] Added dom method featureinfo. (user: rolf, tags: dom_featureinfo)
2013-09-20
23:44
[85d99b56af] Integrated toXPath bug fix. (user: rolf, tags: trunk)
23:35
[9da0732eb4] Closed-Leaf: More tests. Minimal documentation. (user: rolf, tags: toXPath)
21:18
[697274d232] Updated from trunk. (user: rolf, tags: toXPath)
21:17
[5bb0267890] xslt.tcl better usable for memory debugging. (user: rolf, tags: trunk)
2013-09-19
00:10
[1387f10c23] Made OASIS-suite.tcl better usable. Started comparing with the provided ref output. (user: rolf, tags: trunk)
2013-09-08
23:32
[1e5a9b3310] Skeleton to run the OASIS xslt 1.0 test suite. (user: rolf, tags: trunk)
22:47
[da559675c5] Bug fix: apply-imports could run wild, if there is an overwritten template with the same import precedence. (user: rolf, tags: trunk)
2013-09-06
22:44
[e799d2e8c5] Added new option -legacy to the domNode cmd error msg text. (user: rolf, tags: toXPath)
22:41
[94beb1bc99] Spell fix. (user: rolf, tags: toXPath)
22:36
[1745c828bc] 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. (user: rolf, tags: toXPath)
2013-08-31
18:23
[981c0340e2] 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. (user: rolf, tags: trunk)
2013-08-29
14:44
[dd4f2b0aae] Closed-Leaf: 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). (user: rolf, tags: more-xml-ns)
2013-08-28
12:50
[a689b0c326] Raise the limit of maximum number of different xml namespace declarations within an xml document. (user: rolf, tags: more-xml-ns)
2013-08-17
12:49
[6c1a36e58f] Noted the TEA update in CHANGES. Declared Changelog as obsolete. (user: rolf, tags: trunk)
2013-08-16
14:59
[d5664646d6] Fixed memory corruption in case of scripted xpath function with an attribute as context node (reported by https://github.com/tDOM/tdom/issues/16). (user: rolf, tags: trunk)
2013-08-15
01:16
[97f6f2f627] Test documenting the seg fault reported by https://github.com/tDOM/tdom/issues/16. (user: rolf, tags: trunk)
2013-07-21
16:36
[67628d28e2] Updated TEA build system of tdom itself and the extensions (merged from branch "tea-update"). (user: rolf, tags: trunk)
16:32
[21aeb4698d] Closed-Leaf: Made the example extension "example" work again. (user: rolf, tags: tea-update)
15:25
[a95bf4cf89] Build of working tcldomsh finally restored. (user: rolf, tags: tea-update)
2013-06-13
21:29
[7dab1bfb78] More work on tea update for extensions. (user: rolf, tags: tea-update)
2013-06-08
12:15
[d0ce231bf9] Started tea update of extensions. (user: rolf, tags: tea-update)
2013-06-06
01:49
[f5d136bd2f] Updated TEA for tdom core. tcldomsh seg fault makes that retarded. (user: rolf, tags: tea-update)
2013-05-16
00:03
[90dd28722d] Update to expat 2.1.0. (user: rolf, tags: trunk)
2012-05-17
21:21
[a842228559] Updated (user: rolf@point.pointsman.de, tags: trunk)
21:12
[411908be4f] Compatibility with Tcl 8.6 - Beginning with 8.6, interp->errorLine isn't public visible anymore (TIP 330). (user: rolf@point.pointsman.de, tags: trunk)
20:30
[c62dffee03] Fixed wrong size on memcpy on 64 bit (when sizeof(int)!=sizeof(int*)) (user: rolf@point.pointsman.de, tags: trunk)
2011-12-20
00:54
[22a1a70a31] fix minor grammar typo in domDoc (user: jeff@bovine.net, tags: trunk)
2011-03-30
16:17
[1968382659] as per email exchange with Richard Hipp on March 29th, 2011, we can move the license of his very old XML parsing code (from TMML) into public domain: " Call it public domain. Do whatever you like with it. (Just please remove my name from the comment.) " drh@sqlite.org (user: jolo@osslab-jl.emea.hpqcorp.net, tags: trunk)
2009-11-10
20:49
[3e8527de8c] Leaf: See file. (user: rolf, tags: trunk, origin)
20:47
[156458f135] Fix for possible DoS attack (see CVE-2009-3720) (user: rolf, tags: trunk, origin)
2008-08-27
11:40
[171f741ae8] See file. (user: rolf, tags: trunk, origin)
11:39
[f72751fb57] Added missing space in target pkgIndex.tcl-hand. Thanks to Gustaf Neumann for reporting the problem and providing a fix. (user: rolf, tags: trunk, origin)
2008-05-24
22:01
[b4d7122edf] See file. (user: rolf, tags: trunk, origin)
21:59
[eb05498afc] The XPath function element-available() should, aroding to the rec, return true "if and only if the <argument> is the name of an instruction". That is, not for all known XSLT elements. (user: rolf, tags: trunk, origin)
2008-03-04
21:04
[1b5b7e10e4] Leaf: See file. (user: rolf, tags: tdom-0.8.3-postrelease, trunk)
21:03
[43b903a3b0] Added a few casts, to pacify picky compliers. (user: rolf, tags: trunk)
20:58
[45cb0ea256] See file. (user: rolf, tags: trunk)
20:52
[33c186a204] Added a cast, to pacify picky compliers. (user: rolf, tags: trunk)
20:35
[5abde0c7a3] See file. (user: rolf, tags: trunk)
20:34
[ed2de2fd5c] Editorial changes. (user: rolf, tags: trunk)
2007-12-25
23:19
[88b105d155] See file. (user: rolf, tags: trunk)
23:18
[96ee41816c] Fixed a memory leak in case of --enable-threads. (user: rolf, tags: trunk)
2007-10-30
11:49
[1a8b351623] See file. (user: rolf, tags: trunk)
01:05
[804488f478] See file. (user: rolf, tags: trunk)
01:04
[4ce79736e0] ID Attributes in HTML documents parsed with -html do what you expect: you find it with getElementById. (user: rolf, tags: trunk)
2007-10-29
19:10
[6f35ae3850] See file. (user: rolf, tags: trunk)
19:07
[335a3354ed] Fixed documentation error in the documentation of the replaceChild method. (user: rolf, tags: trunk)
2007-10-08
16:23
[9d006c9b12] See file. (user: rolf, tags: trunk)
16:23
[d11d12aebe] Fixed handling of attributes without value. Now, an attribute without value gets the attribute name as value. (user: rolf, tags: trunk)
2007-10-04
17:48
[0141ef9e02] See file. (user: rolf, tags: trunk)
17:48
[7d6119c645] Fixed test domDoc-1.2: Test was broken in case of locale != ISO-8859-1 (or -15). (user: rolf, tags: trunk)
2007-10-03
11:16
[68b613a1f1] See file. (user: rolf, tags: trunk)
11:16
[030301a147] makefile.vc generated a pkgIndex.tcl file, that didn't work in case of spaces in the install path. Thanks to Koen Danckaert. (user: rolf, tags: trunk)
2007-09-27
23:19
[220f9aa9b2] See file. (user: rolf, tags: trunk)
23:17
[e327e2dd7b] Added this files: Start of a benchmark suite. (user: rolf, tags: trunk)
2007-09-24
23:36
[3f97b142e5] See file. (user: rolf, tags: trunk)
23:35
[9fdf326a15] Updated. (Thanks to Pat Thoyts.) (user: rolf, tags: trunk)
23:31
[cb867d5532] See file. (user: rolf, tags: trunk)
23:30
[a4268b4f7d] Fixes tnc building against uninstalled tdom (Thanks to Daniel A. Steffen.) (user: rolf, tags: trunk)
2007-09-21
12:35
[0e9efad745] Bumped version number to 0.8.3. (user: rolf, tags: trunk)
2007-08-23
16:35
[dd26df8a4e] See file. (user: rolf, tags: trunk)
16:34
[5d08962991] Fixed bug triggered by invalid XSLT XPath pattern (normal XPath expr (via selectNodes) wasn't infected). (user: rolf, tags: trunk)
16:33
[7614ab937d] Fixed bug triggered by invalid XSLT XPath pattern (normal XPath expr (via selectNodes) wasn't infected). Checked the code for similar spots and fixed a few. Replaced a fprintf(stderr, ..) called in an 'impossible' case with a more appropriate domPanic call. (user: rolf, tags: trunk)
2007-08-18
19:45
[22f69747ad] See file. (user: rolf, tags: trunk)
19:44
[beb97872f7] Code cleanup in document() implementation. (user: rolf, tags: trunk)
12:52
[21ff9cd6fa] See file. (user: rolf, tags: trunk)
12:51
[a3bd6b4470] More constification and clean up. (user: rolf, tags: trunk)
00:33
[c77a449cd1] See file. (user: rolf, tags: trunk)
00:33
[d68baf7688] Big const ification. (user: rolf, tags: trunk)
2007-08-15
21:49
[9655a52fdc] Doh! It's still 2007-08-15! (user: rolf, tags: trunk)
21:44
[bce8238427] See file. (user: rolf, tags: trunk)
21:42
[1cc5318f8e] New default build: --disable-tdomalloc. (user: rolf, tags: trunk)
21:40
[b13b9c529a] See file. (user: rolf, tags: trunk)
21:40
[984d64380a] New default build: --disable-tdomalloc. (user: rolf, tags: trunk)
21:07
[549783a376] See file. (user: rolf, tags: trunk)
21:06
[fb0051746c] Updated. (user: rolf, tags: trunk)
21:05
[f8cf723db4] See file. (user: rolf, tags: trunk)
20:53
[8e7e1eb103] Bumped version to 0.8.3. (user: rolf, tags: trunk)
2007-08-14
23:22
[61c43e99fc] See file. (user: rolf, tags: trunk)
23:22
[4852addeb4] Bumped version to 0.8.2 (user: rolf, tags: trunk)
2007-08-12
11:55
[205a9e2f16] See file. (user: rolf, tags: trunk)
11:55
[f5076031ca] Updated the asXML related parts of the doc and node cmd usage msg. Corrected a typo in the error msg in case of wrong # of args to asXML. (user: rolf, tags: trunk)
11:30
[f273b0e834] See file. (user: rolf, tags: trunk)
11:29
[addc00e739] Ensure that the new code build also with tcl8.0.x (although that old versions doesn't have extension stubs tables.) (user: rolf, tags: trunk)
2007-08-11
23:11
[a7cde3fcae] See file. (user: rolf, tags: trunk)
23:10
[93fa66332f] Tweaks to build tnc with win/msys/mingw. (user: rolf, tags: trunk)
23:08
[084ad3d90a] Removed irritating breaks in TDOM_PATH_CONFIG. (user: rolf, tags: trunk)
22:20
[35882199d9] See file. (user: rolf, tags: trunk)
22:20
[fcd1946f1b] Editorial fix. (user: rolf, tags: trunk)
22:15
[0d808b808a] See file. (user: rolf, tags: trunk)
22:15
[3af502623e] Rewritten from the scratch. (user: rolf, tags: trunk)
00:39
[2b38339d0a] See file. (user: rolf, tags: trunk)
00:39
[8257fa162c] Code cosmetic. (user: rolf, tags: trunk)
00:12
[144a742fb9] See file. (user: rolf, tags: trunk)
00:04
[576601d1ab] See file. (user: rolf, tags: trunk)
00:04
[1b47625393] Updated error msg in case of wrong # of args to the asXML method to the new added option -escapeAllQuot. (user: rolf, tags: trunk)
00:01
[0f03f9df2d] See file. (user: rolf, tags: trunk)
00:00
[cd06b33d20] Fixed build problem with the build environment win/msys/mingw. (user: rolf, tags: trunk)
2007-08-10
22:46
[a40a203b67] See file. (user: rolf, tags: trunk)
22:46
[f20f436aeb] Fixed editorial mistake in comment. (user: rolf, tags: trunk)
22:40
[bddfeb7bfb] See file. (user: rolf, tags: trunk)
22:38
[097560b234] Rewritten from the scratch. (user: rolf, tags: trunk)
2007-08-08
15:52
[3e3cd4f70e] See file. (user: rolf, tags: trunk)
15:52
[44a3ae9ffd] Another change needed, to complete the new type of domDoc->documentNumber. (user: rolf, tags: trunk)
2007-08-07
20:32
[b3fe57ee36] See file. (user: rolf, tags: trunk)
20:32
[59d99d938e] See file. (user: rolf, tags: trunk)
20:32
[ef534410d7] Correction for 64 bit systems. (user: rolf, tags: trunk)
20:12
[5754fc9ae9] See file. (user: rolf, tags: trunk)
20:10
[47be960351] Changed domDoc->documentNumber, domUniqueNodeNr and domUniqueDocNr to unsigned long, to prevent hard to debug / reproduce problems on 64 systems. (user: rolf, tags: trunk)
19:59
[8d89644b7b] Don't use precompiled headers. (user: rolf, tags: trunk)
18:09
[9dc5b2a8c3] See file. (user: rolf, tags: trunk)
18:09
[37a883998f] Brought in sync with tdom core. (user: rolf, tags: trunk)
17:54
[6f42ee9aa9] See file. (user: rolf, tags: trunk)
17:54
[6bb6d68fde] Compiler pacifying. (user: rolf, tags: trunk)
17:27
[4648b6e894] Editorial correction. (user: rolf, tags: trunk)
17:26
[0960c6afa1] See file. (user: rolf, tags: trunk)
17:26
[3ca432a232] Fixed a wrong function signature. (user: rolf, tags: trunk)
17:25
[e2883d0b25] Made the compiler happy. (user: rolf, tags: trunk)
00:06
[6e8a4fd524] Corrected typo. (user: rolf, tags: trunk)
2007-08-06
23:56
[51e46e37b0] See file. (user: rolf, tags: trunk)
23:55
[577fa61eff] Still problems on 64bit /w -externalentitycommand. This health the biggest pain. (user: rolf, tags: trunk)
23:55
[73bf9fdbb0] Corrected an error msg. (user: rolf, tags: trunk)
2007-08-05
19:34
[7e56787f3d] See file. (user: rolf, tags: trunk)
19:33
[42acc3a56c] Bumped version to 0.8.2. Missed that in 0.8.2rc1 (user: rolf, tags: trunk)
18:51
[aa8aed96e3] See file. (user: rolf, tags: trunk)
18:47
[ed3492aa0b] Bumped version to 0.8.2. (user: rolf, tags: trunk)
18:09
[f5a6c26e8e] See file. (user: rolf, tags: trunk)
17:53
[cb17e14a8d] See file. (user: rolf, tags: trunk)
17:52
[523049bfc6] Casted arg of ctype.h is* macros/function calles to unsigned char to reduce compiler warning noise. (user: rolf, tags: trunk)
17:27
[afb7224400] In case of asXML with indentation: indent XML comments as well. (user: rolf, tags: trunk)
17:04
[eb764ed238] See file. (user: rolf, tags: trunk)
17:04
[06328981a1] Added documentation to the new variable references feature of the selectNodes method, for the deleteXPathCache method and the -escapeAllQuot option of the asXML method. (user: rolf, tags: trunk)
16:52
[35cc194bda] See file. (user: rolf, tags: trunk)
16:52
[6f8271b479] Fixed a mem leak introduced by deleteXPathCache. Added option -escapeAllQuot to the asXML method. (user: rolf, tags: trunk)
02:12
[ce2548d4aa] See file. (user: rolf, tags: trunk)
02:11
[4ff79014b6] Added method deleteXPathCache: basic control over the xpath expression cache. (user: rolf, tags: trunk)
01:17
[12a65f6735] See file. (user: rolf, tags: trunk)
01:15
[3843d517af] Variable references (at the places allowed by the XPath syntax) will now be resoved as Tcl variables, relative to the scope of the expression. Ignoring the XPath syntax rules at this point, any valid Tcl variable name will work. (user: rolf, tags: trunk)
2007-08-02
23:44
[b13684706a] See file. (user: rolf, tags: trunk)
23:43
[5f42d91a2e] Added doc method renameNode, without XML namespace awareness. There will be a final (XML namespace aware) method implementation after 0.8.2, therefore, this will slip in as hidden or 'unsupported' and at least undocumented method. (user: rolf, tags: trunk)
2007-07-31
00:58
[a475d9f6c2] See file. (user: rolf, tags: trunk)
00:57
[2d062126ae] Bug fix: floats in xpath expressions starting with . could have an additional (erroneous) dot in it without detection. (user: rolf, tags: trunk)
00:25
[07090a77a3] See file. (user: rolf, tags: trunk)
00:23
[8ef882fd3e] Update to expat 2.0.1; minor build cosmetic. (user: rolf, tags: trunk)
00:16
[5658159fd7] Update to expat 2.0.1; minor build cosmetic. (user: rolf, tags: trunk)
2007-07-26
23:52
[dd449f00e1] See file. (user: rolf, tags: trunk)
23:51
[14aa2aca24] Updated to TEA 3.6. Rebuild configure. (user: rolf, tags: trunk)
23:46
[7799570581] See file. (user: rolf, tags: trunk)
23:44
[23a07048b3] Updated to TEA 3.6. Rebuild configure. (user: rolf, tags: trunk)
2007-07-25
15:28
[fd547f1d52] Editorial change to the entry 2007-07-23. (user: rolf, tags: trunk)
15:27
[0af172693d] See file. (user: rolf, tags: trunk)
15:27
[65346f35d7] Fix for the -externalentitycommand problems on (some) 64-bit plattforms. (user: rolf, tags: trunk)
12:12
[ecdd09eca5] See file. (user: rolf, tags: trunk)
12:12
[fb68977404] Added a few tests related to white-space in XPath expressions. (user: rolf, tags: trunk)
2007-07-22
23:50
[fbfe73de5f] See file. (user: rolf, tags: trunk)
23:45
[bf1ece8716] Fix for problem reported by http://tech.groups.yahoo.com/group/tdom/message/1666 (user: rolf, tags: trunk)
2007-04-19
10:57
[b536ac904b] Entry 2007-04-18: I changed the doc/domDoc.* files, not the domNode.* ones. (user: rolf, tags: trunk)
2007-04-18
00:03
[12afacb38d] See file. (user: rolf, tags: trunk)
00:02
[b56663a551] Emendation. (user: rolf, tags: trunk)
2007-03-02
23:44
[5c41729798] See file. (user: rolf, tags: trunk)
23:43
[4459974038] Fixed (at least for most of the cases) bug in test target, in case the user builds in a dir elsewhere. (user: rolf, tags: trunk)
2007-02-06
00:18
[c38607bb3d] See file. (user: rolf, tags: trunk)
2007-02-04
19:55
[cf32e1aa7c] See file. (user: rolf, tags: trunk)
19:54
[7c656e1620] Fixed bug in xsl:fallback handling. (user: rolf, tags: trunk)
19:45
[45bcc639c6] See file. (user: rolf, tags: trunk)
19:44
[57121ebec7] Modified the tdom.m4 configure macros to use the current documentation style of TEA in case of configure --help. Fixed a bug in the TDOM_ENABLE_DTD. Re-generated configure and tnc configure. Added some explanations about the tDOM specific configure options to unix/CONFIG and a pointer to that to README. (user: rolf, tags: trunk)
19:43
[8a6220e665] Fixed the loading of the tDOM scripted library in case of run with tcldomsh. (user: rolf, tags: trunk)
19:40
[8ef295c71f] Minor editorial changes. (user: rolf, tags: trunk)
19:36
[2758739247] Modified the tdom.m4 configure macros to use the current documentation style of TEA in case of configure --help. Fixed a bug in the TDOM_ENABLE_DTD. Re-generated configure and tnc configure. Added some explanations about the tDOM specific configure options to unix/CONFIG and an pointer to that to README. (user: rolf, tags: trunk)
2007-02-02
15:22
[33f0ef70e3] See file. (user: rolf, tags: trunk)
15:21
[128d38605b] Corrected spelling error in tdom.m4, re-generatedconfigure. Thanks to Larry Virden for reporting. (user: rolf, tags: trunk)
2007-01-16
00:16
[5bcce284e1] See file. (user: rolf, tags: trunk)
00:16
[4ece8812d4] The build tool combination TEA/cygwin/VC++ needs a crude hack. (user: rolf, tags: trunk)
2007-01-10
19:05
[122a61e08b] See file. (user: rolf, tags: trunk)
19:04
[4239e87aa6] Now uses @PKG_LIB_FILE@ for the dll name. (user: rolf, tags: trunk)
18:15
[320e611268] See file. (user: rolf, tags: trunk)
18:15
[fc23a77adf] Fixed the name of the shared lib. (user: rolf, tags: trunk)
18:14
[12288e9463] Don't call target install-doc while installing - the tnc doc is in the top level doc dir. (user: rolf, tags: trunk)
18:13
[4d9e87bcdb] More corrections: Did not install the tDOM stubs library. Minor other corrections related to distclean. Again thanks to Andreas Kupries. (user: rolf, tags: trunk)
2007-01-09
17:58
[8e6c3338b3] See file. (user: rolf, tags: trunk)
17:58
[7de609e50c] Did not install tdomConfig.sh anymore, which causes trouble building tDOM extensions (including tnc). Thanks to Andreas Kupries for reporting the problem with analysis. (user: rolf, tags: trunk)
2007-01-05
13:36
[b94c45eca0] See file. (user: rolf, tags: trunk)
13:35
[cdce3c4ffa] In XPath expressions: Whitespace between the abbreviated attribute axis specifier @ and the attribute name is allowed. (user: rolf, tags: trunk)
2006-11-22
16:40
[8c536c37f9] See file. (user: rolf, tags: trunk)
16:40
[749a4d3019] Normalize case of attribute also (not only elements). Accept space on both sides of the = of attribute values. (user: rolf, tags: trunk)
2006-11-08
00:20
[f5a107046d] See file. (user: rolf, tags: trunk)
00:19
[7a36c0d787] Fixed seg fault in XPath expr parser for a certain kind of erroneous XPath expressions. (user: rolf, tags: trunk)
2006-08-27
21:47
[d6b799ebb3] See file. (user: rolf, tags: trunk)
21:12
[034a85acb8] Updated the TEA build system to 3.5. (user: rolf, tags: trunk)
2006-05-24
11:32
[1cbe237abe] See file. (user: rolf, tags: trunk)
11:32
[4333e15e90] Fix of the isQName method: Strings with valid prefix and non-NCNameStart char as first char after the ':' wasn't detected as invalid QName. (user: rolf, tags: trunk)
2006-01-08
00:26
[0550334acc] See file. (user: rolf, tags: trunk)
00:26
[8f42a7da8b] Fixed a rounding bug of format-number() (http://groups.yahoo.com/group/tdom/message/1217). (user: rolf, tags: trunk)
2006-01-07
23:58
[602ea7d933] See file. (user: rolf, tags: trunk)
23:57
[a9884cb919] Fixed a rounding bug of format-number() (http://groups.yahoo.com/group/tdom/message/1217). (user: rolf, tags: trunk)
2006-01-06
13:20
[e1e4c2c5f7] Fixed typo in the last changes. (user: rolf, tags: trunk)
13:20
[164a674cb0] See file. (user: rolf, tags: trunk)
01:57
[9c95e09217] Fixed markup errors. (user: rolf, tags: trunk)
2005-12-10
21:10
[ef90570e5a] See file. (user: rolf, tags: trunk)
21:09
[d3f39e0552] Fixed bug in namespace handling in xsl:copy-of. (user: rolf, tags: trunk)
2005-12-03
13:14
[5176d9984b] See file. (user: rolf, tags: trunk)
13:14
[7064f907ba] Added a test for the special handling of the content of script/style tags in case of asHTML. (user: rolf, tags: trunk)
13:12
[748bc149ec] Fix of the cloneNode method: if the node to clone (or, in case of -deep, a node within the subtree to clone) had a namespace declaration attribute then the result was wrong. (user: rolf, tags: trunk)
2005-10-19
19:15
[978789845b] See file. (user: rolf, tags: trunk)
19:14
[a4a5e6d71a] Fixed string-length() and substring() to work on chars, as they should, not on bytes. (user: rolf, tags: trunk)
2005-09-27
16:43
[db14336200] See file. (user: rolf, tags: trunk)
16:43
[fdb76e5535] Added a test case, reported by Richard Suchenwirth, which crashes 0.8.0, but raises error with current cvs head, without any mem problems. (user: rolf, tags: trunk)
2005-09-24
16:52
[9a6bd2ff4a] See file. (user: rolf, tags: trunk)
16:51
[ca646d6601] Doh! The code detected ill grouping-size values and set errMsg accordingly, but didn't propagate the error. Fixed. Do memory cleanup after detecting wrong xsl:number level attribute value. Fixed memory leak in case of incorrect xslt attributes of included or imported xsl:stylesheet elements. Fixed memory leak in case of syntactically wrong xsl:key use attribute XPath expression. Fixed memory leak in case of toplevel parameter or variables which are syntactically incorrect, because they have both a select attribute and content. (user: rolf, tags: trunk)
2005-09-20
10:44
[53b65a7af4] Corrected wording of last check in comment. (user: rolf, tags: trunk)
2005-09-18
23:43
[7598616ca8] See file. (user: rolf, tags: trunk)
23:42
[8cf25a61b6] Improved detection/reporting of XPath syntax errors. Fixed two memory leaks in the XPath parser in case of kind of erroneous XPath expressions. (user: rolf, tags: trunk)
2005-09-17
00:35
[f0b804376d] Removed baseless claim in last check-in comment: The corrected id() error raising case was the last one of wrong runtime errors. The other XPath expression errors, with are still in fact run time detected errors could be catched, at least in theory, at expr 'compilation' time. (user: rolf, tags: trunk)
00:18
[16be01fc8a] See file. (user: rolf, tags: trunk)
00:18
[88f05466f1] id() on an empty node set should return an empty string, according to the rec, not raise an error, as it did up to now. Fixed a memory leak in concat() in the case of xpath expressions as arguments, which raise error. Normally, XPath expressions doens't raise error at all; that's how XPath is designed. That is unfortunately not completely true with current tDOM, because of a few buggy returns in the tDOM XPath function implementations (to be fixed quickly), because, tDOM doesn't do an as rigoros as possible argument check at XPath expression parsing time (that will change) and because of user defined XPath extension functions. (user: rolf, tags: trunk)
2005-09-16
00:25
[535084eb59] See file. (user: rolf, tags: trunk)
00:25
[3c56644148] Fixed memory fault in case of external documents resolved based on the base URI of a node of the source element. (user: rolf, tags: trunk)
2005-09-12
22:12
[32234129ee] See file. (user: rolf, tags: trunk)
22:11
[5d5240f9ee] Bug fix: The namespace axis will be emtpy unless the context node is an element. (user: rolf, tags: trunk)
22:08
[270ec05e2b] See file. (user: rolf, tags: trunk)
22:07
[08094ff26d] Improvement of the build system. Now works also with the tool combination cygwin/TEA/VC++. Thanks to Andreas Kupries for his patch. (user: rolf, tags: trunk)
2005-08-25
23:05
[4481b1b0f7] Spelling correction of the last check-in. (user: rolf, tags: trunk)
23:00
[cc2e897e70] See file. (user: rolf, tags: trunk)
22:59
[1871fb2c18] Removed tests about mt-ness of tclsh/tdom, due to popular demand. Mt compiled tDOM now will load into non-mt tclsh, as will a non-mt compiled tDOM into a mt tclsh. NOTES: Using a non-mt tDOM within only one thread of a mt tclsh should work just fine. But never ever use a non-mt tDOM in several threads of a mt tclsh. That may crash randomly. Use, how surprising, an mt-enabled tDOM for that. This will work fine. Using a mt aware tDOM within a non-tm tclsh is little bit slower and memory demanding. It will also have a few methods, that are superfluous with the non-tm tcl context. It should always work, but for best results use a non-mt tDOM with non-mt tclsh. (user: rolf, tags: trunk)
2005-08-20
01:33
[832f1a9aa5] See file. (user: rolf, tags: trunk)
01:33
[008cee2391] Bug fix: Use domPreviousSibling() in xsltNumber() to prevent erroneous results, if attribute nodes are involved in the numbering. (user: rolf, tags: trunk)
01:31
[234b84b7bd] Added function domPreviousSibling(). (user: rolf, tags: trunk)
2005-06-10
00:38
[00d8864765] See file. (user: rolf, tags: trunk)
00:36
[beff6b3d33] Added a few tests. (user: rolf, tags: trunk)
00:33
[dcd1541d6c] Added test, to document handling of white space outside the document element even in case of -keepEmpties (it's markup white space and will be removed). (user: rolf, tags: trunk)
00:21
[82165d42d4] Removed unused variable. (user: rolf, tags: trunk)
00:21
[2d252a117c] Internal dispersion: Cleaned up rootNode/toplevel nodes connection, added new function domSetDocumentElement. Closed memory leak in case of not well-formed input to the simple or html parser. (user: rolf, tags: trunk)
00:20
[7988ebf1b0] Internal dispersion: Cleaned up rootNode/toplevel nodes connection, added new function domSetDocumentElement. (user: rolf, tags: trunk)
2005-05-13
00:44
[59269725bf] Fixed typo in last entry. (user: rolf, tags: trunk)
00:43
[3cebcfa5e3] See file. (user: rolf, tags: trunk)
00:28
[b07dff03b4] Fixed seg fault is case of some garbage input. (user: rolf, tags: trunk)
2005-05-12
17:11
[376696646f] See file. (user: rolf, tags: trunk)
17:11
[0a6e18b84c] Fix: domNode nodeValue $newValue didn't check the newValue for being valid pcdata. (user: rolf, tags: trunk)
2005-05-02
13:20
[13bf90cb4c] See file. (user: rolf, tags: trunk)
13:18
[71c78179db] Bug fix: expat parser method parsechannel didn't (depending on the encoding of the channel) reported parsing errors. (user: rolf, tags: trunk)
2005-04-11
12:21
[2d9aa51942] Use @AR@, as in TEA 3.2. (user: rolf, tags: trunk)
02:02
[4c23538244] See file. (user: rolf, tags: trunk)
02:01
[cb109fbb35] Updated. (user: rolf, tags: trunk)
02:00
[b57d4ce2ca] Deleted. (user: rolf, tags: trunk)
01:43
[20871bd940] Updated to request tdom 0.8.1. (user: rolf, tags: trunk)
01:39
[707f0d9f50] Updated to use TEA 3.2. Thanks to Daniel A. Steffen and Andreas Kupries for input. (user: rolf, tags: trunk)
2005-04-04
19:04
[7bde8b1c6c] See file. (user: rolf, tags: trunk)
19:03
[d05ccff18b] Removed last comma in enum XML_Status declaration, to prevent compiler errors (xlc on AIX 64). (Current expat CVS head has the same fix.) (user: rolf, tags: trunk)
2005-03-26
14:08
[302d4d8619] See file. (user: rolf, tags: trunk)
14:07
[18537ed52a] Changes, to prepare adding of node creating cmds, which creates namespace aware nodes. (user: rolf, tags: trunk)
14:07
[61ee883ba8] Removed (anyway not correctly working) work-around to set parent of the childs of doc->root (problem now correctly fixed by changes in dom.c). (user: rolf, tags: trunk)
14:06
[b97cb015ce] Fix in domAppendNewElementNode(), domAppendLiteralNode() and domAppendNewTextNode(): if the created node is a child of doc->root, set the parentNode according. (user: rolf, tags: trunk)
2005-03-21
01:10
[09d39d9d79] Fixed spelling error in last entry. (user: rolf, tags: trunk)
01:08
[65f6c924cf] See file. (user: rolf, tags: trunk)
01:08
[96d301a67f] Fixed flawed test, which slipped throu, somehow. (user: rolf, tags: trunk)
2005-03-18
02:17
[aa91d3c654] Added document method selectNodesNamespaces, to provide a document global XPath prefix/namespace mapping. (user: rolf, tags: trunk)
02:16
[f5786b685b] See file. (user: rolf, tags: trunk)
02:16
[b34752dead] Added document method selectNodesNamespaces, to provide a document global XPath prefix/namespace mapping. (user: rolf, tags: trunk)
2005-03-13
01:07
[6112c381b8] Grrr. And the date was also wrong. (user: rolf, tags: trunk)
01:07
[e1dbfb7887] Fixed an mistake in the last check-in: the changed file was xslt.text, not xpath.test. (user: rolf, tags: trunk)
01:06
[f25a93872c] See file. (user: rolf, tags: trunk)
01:06
[0240a04ee8] Added two tests about two subtleties of the XPath syntax: white space between the $ and a varname are not allowed, while white space between the braces of node() is allowed. (user: rolf, tags: trunk)
00:48
[7c9d524443] Fixed mess created by using two different check outs and commiting from both without syncing. (user: rolf, tags: trunk)
2005-03-11
18:16
[4d169116f2] Using of a node creating command outside of node context after that node creating command was already used in node context didn't raised error (as it should) but could have all kinds of effects (including seg fault). (user: rolf, tags: trunk)
2005-02-26
13:25
[65002a1a5a] See file. (user: rolf, tags: trunk)
13:25
[eff67db5ef] Fix for MT-enabled tDOM: If a doc was attached to more than one thread, nodeCmd creation was borken (only one thread got a nodeCmd for a given node). (user: rolf, tags: trunk)
2005-02-03
18:44
[5cff7b495c] See file. (user: rolf, tags: trunk)
18:35
[68ef504f34] Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. Added documentation for the domDoc method internalSubset. (user: rolf, tags: trunk)
18:27
[6fb1633bd7] Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. (user: rolf, tags: trunk)
18:21
[28b1d4af23] Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. Bug fix: current() did not work in xsl:key use expressions. Moved setting of xs->current from all about the place into evalXPath. A bit code massage, to avoid bogus compiler warning. (user: rolf, tags: trunk)
18:21
[affe666ca5] Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. (user: rolf, tags: trunk)
17:45
[82f23225b0] Editorial changes. (user: rolf, tags: trunk)
2005-02-02
08:58
[b81a5dbb42] See file. (user: rolf, tags: trunk)
08:58
[66d1f50c2d] Updated to provide the new defines PACKAGE_NAME and PACKAGE_VERSION introduced by the update to TEA-3 support. (user: rolf, tags: trunk)
2005-01-18
23:55
[7a22ab6b87] See file. (user: rolf, tags: trunk)
23:44
[2ac9019f04] Renamed exported symbols attrNames and tagNames to tdom_attrNames and tdom_tagNames, to avoid name clash. tartDoctypeDeclHandler() and endDoctypeDeclHandler(): added missing static. (user: rolf, tags: trunk)
2005-01-16
12:05
[cf70bc0c97] Updated file. (user: zv, tags: trunk)
11:59
[1e3e501ba4] Added example how to build tDOM as module for AOLserver 4.x (user: zv, tags: trunk)
11:59
[6b8ed8381a] Added TEA-3 support (user: zv, tags: trunk)
11:57
[15c12b1b44] Uses PACKAGE_NAME and PACKAGE_VERSION instead of hard-coded strings (user: zv, tags: trunk)
11:57
[0980d4a5ef] Honours virtual servers in 4.x AOLserver (user: zv, tags: trunk)
11:56
[97e5ceb43e] Loads 0.8.1 for testing (user: zv, tags: trunk)
11:56
[2707d1eae6] Added new TEA-3 build (user: zv, tags: trunk)
11:55
[9b10717c76] Bumped version to 0.8.1 (user: zv, tags: trunk)
2005-01-11
18:00
[8bd27969e0] See file. (user: rolf, tags: trunk)
17:59
[6f917aad90] Added documentation for the -cache option of the selectNodes method. (user: rolf, tags: trunk)
16:02
[160537cb14] Corrected indentation of the last few entries. (user: rolf, tags: trunk)
16:00
[f55a568a01] See file. (user: rolf, tags: trunk)
15:57
[3955ed2be7] Scripted xpath function element-available: moved xsl:output to the avaliable elements, since it's in fact avaliable in the meantime (with exception of the 'version' and 'cdata-section-elements' attributes) - the output options could be queried from the result doc, but it's the responsibility of the application, to serialize the tree according to that settings. (user: rolf, tags: trunk)
2005-01-10
20:44
[5d369f1836] See file. (user: rolf, tags: trunk)
20:43
[3299c813f6] Corrected typo. (user: rolf, tags: trunk)
19:09
[cec75cf5d0] See file. (user: rolf, tags: trunk)
19:07
[2a90ec4f84] Fixed a leftover reference to embedded hash table in domDocument struct. (user: rolf, tags: trunk)
02:13
[219425fc7b] See file. (user: rolf, tags: trunk)
02:11
[1bc3712dbc] Don't embed Tcl_HashTables into dom Docs, use pointers to the hash table. Added -cache option to the selectNodes method. (user: rolf, tags: trunk)
2005-01-07
15:16
[b672d05e22] See file. (user: rolf, tags: trunk)
15:16
[0d4188b820] Added this files. Thanks to Pat Thoyts for contribution. (user: rolf, tags: trunk)
15:14
[1dc6acc00d] Improved VC++ compiler makefile. Thanks to Pat Thoyts for contribution. (user: rolf, tags: trunk)
15:08
[557cc56ed2] Clean up, to decrease (innocuous) compiler warnings (thanks to Pat Thoyts for triggering input and patch). (user: rolf, tags: trunk)
2005-01-06
19:25
[58221ebd8f] See file. (user: rolf, tags: trunk)
19:24
[687db99f29] Noted, that if the list bind the same prefix to different namespaces, then the first binding will win. (user: rolf, tags: trunk)
19:22
[272d1209c5] Added methods transform and delete to xsltCmds. (user: rolf, tags: trunk)
19:21
[dfe76f6946] Added some 'selectNodes -namespaces' tests. (user: rolf, tags: trunk)
19:20
[66fc252099] Handle multiple -namespaces option to selectNodes method. Added methods transform and delete to xsltCmds. Ensure, that documents created with the [dom createDocument* methods] are created as docCmds in case of 'auto' creation mode. (user: rolf, tags: trunk)
18:21
[cab4e74d39] See file. (user: rolf, tags: trunk)
18:21
[330a5b833e] Added a few tests: related to createNodeCmd (dom), node text method (domNode), chancing callback from within a callback (element, parser) and catching of recursive xsl include/import (xslt). (user: rolf, tags: trunk)
2004-12-21
12:52
[b1a6b651ae] See file. (user: rolf, tags: trunk)
12:51
[a741ba098f] xsl:key with match expressions, which matches attributes, did not work. Prevent, that a stylesheet import/include itself. Editorial changes. (user: rolf, tags: trunk)
02:13
[fd1ada9540] See file. (user: rolf, tags: trunk)
02:12
[2c65ed39b6] domAppendNewElementNode(): Set the namespace of a per xslt transformation generated node wrong under certain circumstances. This fixes http://groups.yahoo.com/group/tdom/message/1008. Removed leftover (former local used) define TNODE. (user: rolf, tags: trunk)
2004-12-12
16:09
[ac54b13067] See file. (user: rolf, tags: trunk)
16:09
[5fecb1d987] xpath expressions ancestor-or-self::node() and parent::node() returned wrong result if the context node is /. (user: rolf, tags: trunk)
2004-12-10
18:58
[472f3f4e8f] See file. (user: rolf, tags: trunk)
18:56
[a3f7814234] Don't allow the methods parse, parsechannel, parsefile, free and reset from within a callback of the parser be used but raise a tcl error. (user: rolf, tags: trunk)
2004-10-26
01:07
[ffcfdc3866] See file. (user: rolf, tags: trunk)
01:06
[61c0ee194f] Added documentation for the '-namespaces' option of the selectNodes method. (user: rolf, tags: trunk)
01:05
[8c5b6c1329] Added a note to the -externalentitycommand option of the parse method, that the programmer is responsible for closing the channel, if the resolver script returns a channel. (user: rolf, tags: trunk)
2004-10-22
16:55
[da2d774c77] Fixed typo. (user: rolf, tags: trunk)
2004-09-29
12:18
[0c5aedde96] See file. (user: rolf, tags: trunk)
12:18
[057873f79a] First [load] the lib, which has [package provide tdom], so that a [package require tdom] within the script lib doesn't loop. (user: rolf, tags: trunk)
11:41
[0dbc5d3fd5] See file. (user: rolf, tags: trunk)
11:41
[b15c8c65bb] Added the with 0.8 added doc methods to the doc_usage. (user: rolf, tags: trunk)
2004-09-21
01:46
[a008835f13] See file. (user: rolf, tags: trunk)
01:43
[b08cb7d224] Added the '-namespaces' option to the selectNdoes method. Not resolved namespace prefixes within the xpath expression now raises an error. *** POTENTIAL INCOMPATIBILITY *** (user: rolf, tags: trunk)
01:06
[b0902bcbc3] Add documentation for 'selectNodes' option. (user: rolf, tags: trunk)
2004-09-13
17:29
[b4607b15a8] See file. (user: rolf, tags: trunk)
17:29
[7a9fd4dba5] Corrected a typo in an error msg. (user: rolf, tags: trunk)
2004-09-08
03:12
[cdabc49f0a] See file. (user: rolf, tags: trunk)
03:12
[df3edb8558] Editorial changes. (user: rolf, tags: trunk)
2004-09-02
17:08
[152b5c5f6b] See file. (user: rolf, tags: trunk)
17:07
[e5074c2f5d] toXPath method: fixed bug with non-element top level nodes, closed mem leak. (user: rolf, tags: trunk)
2004-08-31
01:56
[407398a157] Regenerated with current tmml HEAD, to change encoding from utf-8 to iso-8859-1. (user: rolf, tags: trunk)
2004-08-23
13:03
[43b8613180] See file. (user: rolf, tags: trunk)
13:01
[31fa51d7d6] Corrected typos (thanks to G. Neumann). (user: rolf, tags: trunk)
2004-08-21
03:27
[34f04803c7] See file. (user: rolf, tags: trunk)
03:23
[413ab3d861] Update to expat 1.95.8. (user: rolf, tags: trunk)
2004-08-19
01:06
[3d08e75435] See file. (user: rolf, tags: trunk)
01:06
[c69e6f98cd] Made tDOM work out of the box on 64-bit systems like Itanium 2 (though --disable-tdomalloc configure option at build time is still needed). (user: rolf, tags: trunk)
2004-08-17
19:54
[12b7b3da93] Fixed rolfs mail address for the last few entries. (user: rolf, tags: trunk)
19:53
[50ccd5b249] See file. (user: rolf, tags: trunk)
19:52
[0d0da079bd] Added fluff, to fix build problemx on AIX w/ xlc compiler. (user: rolf, tags: trunk)
19:37
[c55ee6bc39] Removed unused variables. (user: rolf, tags: trunk)
2004-08-16
03:18
[199df0f142] See file. (user: rolf, tags: trunk)
03:13
[e4e93d50ef] See file. (user: rolf, tags: trunk)
03:12
[fe5093d90c] Pass external entity resolver script around in string representation, (insteand of Tcl_Obj), to avoid problems with mt builds. (user: rolf, tags: trunk)
2004-08-14
14:42
[53f68b654a] Use 'Id' cvs keyword (instead of 'Header') in the file heads. (user: rolf, tags: trunk)
2004-08-11
15:21
[e933944ab5] Use Id not Header cvs keyword in the file heads. (user: rolf, tags: trunk)
02:16
[886900dcec] See file (user: rolf, tags: trunk)
00:56
[d656833f9d] Corrected a spelling mistake (user: rolf, tags: trunk)
2004-08-10
19:49
[6c1d396a77] Link against tDOM 0.8.0. (user: rolf, tags: trunk)
2004-07-28
19:29
[47da660a54] See file. (user: rolf, tags: trunk)
18:50
[cb6c094a97] [namespace export] the public procs in ::tDOM. Added a few more encodings to IANAEncoding2TclEncoding. (user: rolf, tags: trunk)
17:22
[8df6514f41] Changed test according to the changed wording of the error msg in case of wrong mode arg to setObjectCommands. (user: rolf, tags: trunk)
03:57
[244b7c26a2] See file. (user: rolf, tags: trunk)
03:56
[6809a487d0] See file. (user: rolf, tags: trunk)
03:52
[a62f1de836] Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Better error msg in case of 'filename' and not valid file name. (user: rolf, tags: trunk)
03:49
[76c8406dfe] New (experimental) method setObjectCommands. Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. New method createDocumentNode. Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. Improved speed of the getAttribute shortcut '@attname' (and, not so notable, of tcl coded methods of the dom, domDoc and domNode cmds). Corrected typo in domNode usage msg for getElementByID. Improved error msg for getAttribute, if attribute is not found. Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes). (user: rolf, tags: trunk)
03:48
[507cb84752] New (experimental) method setObjectCommands. (user: rolf, tags: trunk)
03:46
[63ec828117] New (experimental) method setObjectCommands. Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. (user: rolf, tags: trunk)
03:44
[a40d2d0cf8] More tests for script errors in external entity handler or errors in the requested external entities. (user: rolf, tags: trunk)
03:43
[0f334692af] Documented behaviour in case of using (senseless, wrong) 'xslt variable' in selectNode exprs. (user: rolf, tags: trunk)
03:42
[38246a9641] Better error msg in case of 'filename' and not valid file name. (user: rolf, tags: trunk)
03:41
[09c30b9758] Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Improved error msg for getAttribute, if attribute is not found. Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes) (user: rolf, tags: trunk)
03:39
[497d487e77] Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. (user: rolf, tags: trunk)
03:37
[d5e3779d2c] New (experimental) method setObjectCommands. New method createDocumentNode. (user: rolf, tags: trunk)
03:35
[af1c407048] Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes).Corrected appendChild, insertBefore, replaceChild: the new child must not be out of the fragment node, but could be a node out of the tree, (user: rolf, tags: trunk)
03:31
[b1f887f36f] Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild,hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. (user: rolf, tags: trunk)
03:29
[f508d3015b] New (experimental) method setObjectCommands.New method createDocumentNode. (user: rolf, tags: trunk)
2004-07-19
03:21
[8302869bfd] See file. (user: rolf, tags: trunk)
03:21
[26b90837e9] Better error msg in case of XML parsing errors in external entities. (user: rolf, tags: trunk)
03:20
[d3a5b99bfd] Bug fix: Check, if refnode given to insertBeforeFromScript is valid. (user: rolf, tags: trunk)
2004-07-13
03:33
[75bce633fc] See file. (user: rolf, tags: trunk)
03:32
[85260eca80] Ensure, that the first element node of the result tree is the documentElement of the generated document. (user: rolf, tags: trunk)
03:28
[5d0e3a4fc4] See file. (user: rolf, tags: trunk)
03:27
[3c4659e86a] Empty CDATA sections should not create a node. (user: rolf, tags: trunk)
2004-07-09
01:16
[82e6cb11bf] See file. (user: rolf, tags: trunk)
01:15
[6aef2fc4a9] Test, if a non-mt tDOM is tried to load into a mt tclsh. (user: rolf, tags: trunk)
2004-05-26
14:41
[7a9789ba15] Remove it (user: rolf, tags: trunk)
01:56
[d5704fb73e] See file. (user: rolf, tags: trunk)
01:56
[f356b88094] See file. (user: rolf, tags: trunk)
01:51
[306c383ae9] Minor changes. (user: rolf, tags: trunk)
01:50
[400ba86a48] Added this file. (user: rolf, tags: trunk)
01:49
[3dfa6b9f59] Minor editorial changes. (user: rolf, tags: trunk)
01:49
[ef7e89aa78] Uses the new domIsComment, domIsPINAME and domIsPIValue API functions of dom.c. Improved xsl:processing-instruction processing (now instantiating the content). (user: rolf, tags: trunk)
01:47
[765372d765] Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. Bug fix in case of appendFromScript script. (user: rolf, tags: trunk)
01:46
[c53ae6acea] Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. (user: rolf, tags: trunk)
01:46
[ed6185a4af] Adapted to the new test files name schema. (user: rolf, tags: trunk)
01:45
[a2d01a9832] Added this file. Includes mostly the tests out of the old dom.test. Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. (user: rolf, tags: trunk)
01:43
[16ace97189] Moved the tests from this file to the new domNode.test and collected dom command tests here. Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. (user: rolf, tags: trunk)
01:42
[af5e03476b] Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global(thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names),text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. (user: rolf, tags: trunk)
2004-05-12
16:11
[b7bd91a7ef] Changed cvs keyword. (user: rolf, tags: trunk)
16:07
[9f510a232e] Editorial change. (user: rolf, tags: trunk)
11:41
[b5349f782c] See file. (user: rolf, tags: trunk)
02:38
[6942b42f2d] Fixed the test for running in a source dir with tcldomsh. (doh!) (user: rolf, tags: trunk)
02:11
[2b304e6c36] Changed cvs keyword. (user: rolf, tags: trunk)
2004-05-08
19:32
[4716dc798a] Minor editorial changes. (user: rolf, tags: trunk)
18:12
[4c171a2964] Fixed typos in comment. (user: rolf, tags: trunk)
00:57
[1d150e8fdd] See file. (user: rolf, tags: trunk)
00:57
[64cb1af84b] Fixed html-2.1 and html-2.2. (This html reader ist crusty stuff...) (user: rolf, tags: trunk)
00:24
[4f20b3aa56] See file. (user: rolf, tags: trunk)
00:24
[5e019a13db] Removed superfluous arg baseURI from XML_SimpleParse(). (user: rolf, tags: trunk)
2004-03-26
00:37
[633220a331] See file. (user: rolf, tags: trunk)
00:36
[ba7f759018] Fix for the template priority calculation and clearing out of xpathGetPrio(). (user: rolf, tags: trunk)
2004-03-14
02:21
[47d859b691] See file. (user: rolf, tags: trunk)
02:19
[09134befbe] Fixed a few simple parser seg faults in case of not-wf input. See xmlconf/xmltest/not-wf/sa/022.xml, xmlconf/xmltest/not-wf/sa/042.xml for examples. (user: rolf, tags: trunk)
2004-01-29
19:25
[cbb29b4e51] Added test case with mark knownBug, to not forget about this. (user: rolf, tags: trunk)
2003-12-30
19:25
[1b10c89302] See file. (user: rolf, tags: trunk)
19:24
[7734f83bc6] Implemented the special constraints on certain xpath pattern/expr (no current() func in pattern, no var references in template and key match pattern and key use expr, no key() func in key match pattern and use expr.) (user: rolf, tags: trunk)
19:24
[14a732182d] Implemented the special constraints on certain xpath pattern/expr (no current() func in pattern, no var references in template and key match pattern and key use expr, no key() func in key match pattern and use expr.) Editorial change: Removed some superfluous casts to (char*) from tdomstrdup result - its defined to return char*. (user: rolf, tags: trunk)
19:22
[ad392b6a4a] Removed superfluous comma from the tdomMethod enum, which bothered the AIX xlc compiler. (user: rolf, tags: trunk)
19:19
[2c422d33f6] Doh! Undo the last changes; I fixed this already 2003-10-12. (user: rolf, tags: trunk)
2003-12-24
02:47
[328f623e77] See file. (user: rolf, tags: trunk)
02:33
[daa716781a] Bug fix: Protect against spaces in the path to the package. (user: rolf, tags: trunk)
2003-12-20
01:38
[ac8f1090e4] See file. (user: rolf, tags: trunk)
01:38
[1b784c6eaf] Also updated to new version nr 0.8.0. (user: rolf, tags: trunk)
2003-12-17
03:39
[8b94b3c8cc] Fixed typo. (user: rolf, tags: trunk)
03:38
[ca659ba188] See file. (user: rolf, tags: trunk)
03:38
[50bb03d137] Added baseURI method, which returns the current base URI and has an optional argument to set the base URI. This enables XMLBase support on script level. (The getBaseURI is deprecated.) (user: rolf, tags: trunk)
03:36
[6fc03c62bd] Added baseURI method, which returns the current base URI and has an optional argument to set the base URI. This enables XMLBase support on script level. (The getBaseURI is deprecated.) (user: rolf, tags: trunk)
2003-12-16
22:36
[2e0e74af7b] See file. (user: rolf, tags: trunk)
2003-12-15
01:22
[823c061625] More fixes to ensure ns integrity of xslt result trees. (user: rolf, tags: trunk)
2003-12-14
18:47
[fd41972ea3] Corrected date entry of the last changes. (user: rolf, tags: trunk)
18:45
[9a001678b8] See file. (user: rolf, tags: trunk)
18:45
[e0ae8be4a3] Build expected result of some tests with [list], instead of providing a string rep. This hides the changes in list string rep by TIP 148, so that the tests work both with pre- and post TIP 148 tcl. (user: rolf, tags: trunk)
18:45
[64b8e2895f] Made test results independent from the (undefined) order of [array get]. (user: rolf, tags: trunk)
2003-12-11
18:42
[fe4f52e7bb] See file. (user: rolf, tags: trunk)
18:41
[56ba5cea1c] Bug fix: double mem free in case of pattern w/ FQ element with positional dependent predicate. (user: rolf, tags: trunk)
13:38
[ca86fffc22] See file. (user: rolf, tags: trunk)
13:35
[44db286071] Bug fix: Don't quash white space of non white space only content in trim mode. (user: rolf, tags: trunk)
2003-12-09
14:20
[5d1e8fe7cd] See file. (user: rolf, tags: trunk)
14:20
[593bdf17ef] Improved regexp to extract encoding. Corrected typo. (user: rolf, tags: trunk)
03:00
[3af58d3d31] See file. (user: rolf, tags: trunk)
02:59
[78d8620e97] Bug fix in namespace handling: copy-of from result tree fragments could mess up ns handling, if a default namespace is already in scope in the result tree. (user: rolf, tags: trunk)
2003-12-08
01:51
[9d181e65a8] See file. (user: rolf, tags: trunk)
01:50
[9b0188eac7] Also updated to verson nr. 0.8.0. (user: rolf, tags: trunk)
2003-11-28
01:27
[602a50247f] See file. (user: rolf, tags: trunk)
01:27
[ceb4c394ff] Switched back to Tcl_Panic() in one case, to make MT builds work. (user: rolf, tags: trunk)
01:25
[f4c9cc0cdb] With MT tDOM, a domDoc extRefHandler script may be used within another thread. (user: rolf, tags: trunk)
2003-11-27
12:59
[3d1e8a2e7f] See file. (user: rolf, tags: trunk)
12:58
[b768f8d2b6] Another fix, to ensure namespace integrity of the result doc. (user: rolf, tags: trunk)
2003-11-26
17:01
[22e0504247] See file. (user: rolf, tags: trunk)
17:00
[620ef29cbf] Fixed parentNode of documentElement and siblings of the result tree. (user: rolf, tags: trunk)
16:01
[897467a9b5] See file. (user: rolf, tags: trunk)
16:00
[8893c786c2] Fix, to ensure namespace integrity of the result doc. (user: rolf, tags: trunk)
2003-11-24
10:39
[0e3c1ad006] Fixed new way of default output reporting. (user: rolf, tags: trunk)
10:26
[4466c5ef81] See file. (user: rolf, tags: trunk)
10:25
[243e918376] Added this file. (user: rolf, tags: trunk)
10:25
[aab6352f01] Changed parserObj behavior: parser don't need a reset call after a final parse or parsing error. (user: rolf, tags: trunk)
10:24
[325c92cf38] Changed parserObj behavior: parser don't need a reset call after a final parse or parsing error. Fixed memeory problem, if handler script return TCL_ERROR. Made the cget method work for the parser related options, even if there are no handler scripts set. Always use domPanic as panic function. (user: rolf, tags: trunk)
10:17
[62ed272244] (Probably) temporarily disabled automatically clean up of nodeObjCmds, to work around bug: Storing the same node in different evaluation contexts with the optional objVar argument (as in [$doc documentElement root]) at the same time did not work. Fixed mem leak with -externalentitycommand. Fixed mem leak with parsing xml document with external entity and parsing error in an external entity. Minor code clean up. Always use domPanic as panic function. (user: rolf, tags: trunk)
10:15
[6c6717bce7] Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. Bug fix: seg fault for document('') with stylesheet tree with empty baseURI. Minor optimizations. Fixed invalid memory read. (user: rolf, tags: trunk)
10:14
[b3e6e12689] Fixed a mem leak with some sum() calls with NaN result. Fixed invalid memory read. (user: rolf, tags: trunk)
10:13
[4e3ff629a3] Always use domPanic as panic function. (user: rolf, tags: trunk)
10:12
[aca3c61b35] Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. (user: rolf, tags: trunk)
10:12
[f35159af31] Don't include PIs inside the internal subset into the tree. Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. Changed parserObj behavior: parser don't need a reset call after a final parse or parsing error. Always use domPanic as panic function. (user: rolf, tags: trunk)
10:09
[7824526c34] Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. Bug fix: seg fault for document('') with stylesheet tree with empty baseURI. Minor optimizations. Fixed invalid memory read. (user: rolf, tags: trunk)
10:08
[7b137cffbb] Fixed memeory problem, if handler script return TCL_ERROR. Made the cget method work for the parser related options, even if there are no handler scripts set. (user: rolf, tags: trunk)
10:06
[0acdbe0b00] Minor addition. (user: rolf, tags: trunk)
10:05
[6391024643] Don't include PIs inside the internal subset into the tree. (Probably) temporarily disabled automatically clean up of nodeObjCmds, to work around bug: Storing the same node in different evaluation contexts with the optional objVar argument (as in [$doc documentElement root]) at the same time did not work. (user: rolf, tags: trunk)
10:03
[ed136b8141] Permanently added forced memory clean up. (user: rolf, tags: trunk)
2003-11-20
13:01
[40ec109262] See file. (user: rolf, tags: trunk)
13:01
[407a886de6] Bug fix: Setting a top-level xslt param with -parameters and using this param for setting another top level var could end in seg fauld. (user: rolf, tags: trunk)
2003-11-10
23:11
[08d28245c8] See file. (user: rolf, tags: trunk)
23:10
[ff1ec96273] Replaced a C++ style comment with a C style comment. (user: rolf, tags: trunk)
2003-11-03
00:21
[f40dc6d529] See file. (user: rolf, tags: trunk)
00:20
[d543bb73af] Fixed memory leak, if floor or ceiling are called with non-numbers. (user: rolf, tags: trunk)
00:19
[a7464f9aa0] Added a few tests related to declarations to chapter 4.2 and 4.4 in the errata to the XPath rec. (user: rolf, tags: trunk)
2003-11-01
00:54
[c034eb6da9] See file. (user: rolf, tags: trunk)
00:54
[9237989bb0] Minor bug fix: Special handling is needed, if xsl:copy-of is used, to copy namespace nodes. (user: rolf, tags: trunk)
2003-10-30
10:22
[f394ce35ce] See file. (user: rolf, tags: trunk)
2003-10-26
17:57
[2f91e0c3e6] See file. (user: rolf, tags: trunk)
17:57
[a86f558a57] Removed not needed code. (user: rolf, tags: trunk)
17:56
[7c2b3bf4c2] See file. (user: rolf, tags: trunk)
17:46
[023d387786] Bug fix: Under some circumstances it was possible, that an URI change for a subtree was not stored in the tree (resulting in wrong base URI for that nodes). (user: rolf, tags: trunk)
02:02
[4457f995d6] See file. (user: rolf, tags: trunk)
02:01
[3395bc4daf] Globalized the macro IS_XML_WHITESPACE. (user: rolf, tags: trunk)
02:01
[c6a0b5c30c] number() bug fix: Now works according to the XPath rec understanding of a Number, not with the libc understanding of a double. Globalized the macro IS_XML_WHITESPACE. (user: rolf, tags: trunk)
2003-10-24
00:53
[534205a214] See file. (user: rolf, tags: trunk)
00:53
[5963c051e2] Improved error reporting, if an XSLT variable is tried to reset, although there is already such a variable in scope: now the name of the var is also reported in the error msg. (user: rolf, tags: trunk)
00:51
[e16cd79257] Bug fix for document() func, if called with 2 args and first arg evaluates to the empty string. Improved error reporting, if an XSLT variable is tried to reset, although there is already such a variable in scope: now the name of the var is also reported in the error msg. (user: rolf, tags: trunk)
00:51
[cb1308db02] Updated to use the new asText option. (user: rolf, tags: trunk)
2003-10-23
10:35
[14723dd7dc] See file. (user: rolf, tags: trunk)
10:34
[a1346da8f9] Update to expat 1.95.7. (user: rolf, tags: trunk)
2003-10-22
15:35
[58205ebba2] See file. (user: rolf, tags: trunk)
15:33
[c434fd2b49] Bug fix in the xpath lexer: In a union expr, a NCName test with a name equal to an operator was wrongly interpreted as operator. (user: rolf, tags: trunk)
2003-10-21
22:31
[155f107849] See file. (user: rolf, tags: trunk)
22:31
[b6a7058e14] Removed two unused variables. (user: rolf, tags: trunk)
22:29
[59b059d709] Changed handling of key node sets. It's a somewhat focused optimization, for the price of a very small overall cost. I've done it anyway, because it's an very notable speed up for an important xslt pattern (the so called Muenchian Method for grouping). Fixed bug with current(), if it is used in the select expr of an xsl:sort. (user: rolf, tags: trunk)
22:26
[b2c6dec8ca] Changed handling of key node sets. It's a somewhat focused optimization, for the price of a very small overall cost. I've done it anyway, because it's an very notable speed up for an important xslt pattern (the so called Muenchian Method for grouping). (user: rolf, tags: trunk)
2003-10-17
19:35
[ee6b25c94c] See file. (user: rolf, tags: trunk)
19:34
[a45af57c18] Added again some recently implemented methods to domObj_usage and node_usage, which got accidentally removed by the lately editorial changes. (user: rolf, tags: trunk)
19:32
[317f0af5b2] Fixed dom parse -channel option, which got accidentally broken, due to the lately switch from Tcl_GetStringFromObj() to Tcl_GetString(). (user: rolf, tags: trunk)
08:46
[ecba84b534] See file (user: zoran, tags: trunk)
08:45
[f06a133591] Attempt to enforce (where feasible) the right 78-char margin (user: zoran, tags: trunk)
08:44
[3bd1b9e90c] Added "dom detachDocument" and implemented support for domDoc command (user: zoran, tags: trunk)
08:43
[be54f999f2] Changed lock caching to accomodate for situation with huge number of created documnents (user: zoran, tags: trunk)
2003-10-12
01:59
[0cc90ecb27] See file. (user: rolf, tags: trunk)
01:59
[fc30d07ea2] Removed not used vars. (user: rolf, tags: trunk)
01:57
[7f2fefd0c2] Merged domCreateEmptyDoc() and domCreateDoc(), now there is only one API proc: domCreateDoc(). (user: rolf, tags: trunk)
2003-10-10
20:15
[fc55e3ff74] See file. (user: rolf, tags: trunk)
20:14
[e219c484f4] Added documentation for method normalize. (user: rolf, tags: trunk)
20:05
[dc2b4ec7ea] See file. (user: rolf, tags: trunk)
20:04
[717a0d14d8] Fixed pkgIndex.tcl problem, if the path to the packages contains a space. (user: rolf, tags: trunk)
00:25
[35c8ac3269] Forgot to remove some testing/debugging code... :-( (user: rolf, tags: trunk)
00:22
[b614d3201e] See file. (user: rolf, tags: trunk)
00:20
[652229bedb] Added implementation for new method "normalize" (and as a by-product a C implementation for the method appendData). (user: rolf, tags: trunk)
2003-10-09
00:22
[d6c62c3145] See file. (user: rolf, tags: trunk)
00:21
[4cf12e5b6f] Made code robust against renaming of domDoc cmds (well, unlikely, not to say very unlikely, but at least it also simplified code and reduced obj size by a few bytes). Changed sharedDocs hash table (only MT build) from TCL_STRING_KEYS to TCL_ONE_WORD_KEYS. (user: rolf, tags: trunk)
2003-10-08
16:17
[c13c20759d] See file. (user: rolf, tags: trunk)
16:16
[a6cdb344f3] Fixed the preliminary (and MT only) method renumber. (user: rolf, tags: trunk)
2003-10-07
00:23
[122a85a130] See file. (user: rolf, tags: trunk)
00:23
[cea520a657] Added new method insertBeforeFromScript to domNodes. (user: rolf, tags: trunk)
00:21
[d903e8efaa] Added new method insertBeforeFromScript to domNodes. Bug fixes for appendFromScript: In case of error in the script, the tree will not be altered. The appendFromScript may only be used for ELEMENT_NODEs. (user: rolf, tags: trunk)
2003-10-04
19:08
[cac0f22d64] See file. (user: rolf, tags: trunk)
19:08
[a42e9cee15] Added new method 'asText' to domDocs and domNodes. Renamed pathGetTextValue() to xpathGetStringValue(), to be more according to the vocabular of the XPath rec. (user: rolf, tags: trunk)
19:06
[08d7ad7cbc] Added new method 'asText' to domDocs and domNodes. Renamed xpathGetTextValue() to xpathGetStringValue(), to be more according to the vocabular of the XPath rec. (user: rolf, tags: trunk)
19:05
[0ba57953f2] Added new method 'asText' to domDocs and domNodes. Renamed xpathGetTextValue() to xpathGetStringValue(), to be more according to the vocabular of the XPath rec. Removed prototypes of functions, which are not implemented. Editorial changes. (user: rolf, tags: trunk)
2003-10-01
16:38
[0b9b5827a8] See file. (user: rolf, tags: trunk)
16:38
[af459797bb] Removed unnecessary check of domModuleIsInitialized in domReadDocument(). Corrected typo in a comment. (user: rolf, tags: trunk)
2003-09-30
23:00
[c60bf8f217] See file. (user: rolf, tags: trunk)
22:58
[e6bd173417] Reworked usage of nodeNumber. It is now used only in one place, the new domPrecedes function. Also in domPrecedes is a fall-back mechanism, which is used if the document has an invalid node numbering. Removed the forced re-numbering in case of invalid node numbering of the doc for every single selectNodes. Added preliminary method renumber for MT-enabled builds. Carefully reviewed every rsAddNode usage in domxpath.c. Some minor editorial changes. (user: rolf, tags: trunk)
2003-09-28
00:35
[a22e65386d] See file. (user: rolf, tags: trunk)
00:34
[615337ddc0] Removed two unused vars. (user: rolf, tags: trunk)
00:32
[963dda2b7a] See file. (user: rolf, tags: trunk)
00:32
[56d4785a2e] Changed type of domNameSpaceIndex, domNodeFlags, domAttrFlags, domDocFlags and info in dom*Node structs from int to unsigned int. This fixes bug with docs with more than 128 different namespaces. (user: rolf, tags: trunk)
2003-09-27
23:34
[9316872c5c] See file. (user: rolf, tags: trunk)
23:33
[8bf9c107c2] Bug fix: preceding-sibling axes could give wrong results in case the context node is a child of rootNode (e.g the documentElement). (user: rolf, tags: trunk)
23:28
[ca169b431a] See file. (user: rolf, tags: trunk)
23:24
[181e84b469] Bug fix for replaceChild: If the node to replace was wrong, the doc got mangled. Bug fix for appendChild, replaceChild: the new node could not be a sibling or child of node. Speed improvment in some cases for removeChild, replaceChild, appendChild. (user: rolf, tags: trunk)
2003-09-22
01:06
[0928bb8bfe] Corrected typo in the last commit. (user: rolf, tags: trunk)
01:05
[1d92e1db7c] See file. (user: rolf, tags: trunk)
01:04
[67b8a9f3b0] insertBefore method: Feature enhancement: If the refnode is the empty string, the newNode is inserted at the end of the children list of node. (user: rolf, tags: trunk)
01:02
[ee928a0701] Reworked insertBefore: Bug fix: If the refNode was invalid, the involved documents got mangled. Bug fix: Dead loop, if the node to insert was the node itself. Bug fix: the rootNode of node's document could be used as node to insert. Bug fix: It was not possible, to insert a node before refNode, which was already a children of node. Bug fix: It was not possible, to insert a sibling of node. Feature enhancement: If the refnode is the empty string, the newNode is inserted at the end of the children list of node. Optimization: Average speed was O(n/2) (n: number of childs of node) in case the node to insert was out of the tree, and 0((n+m)/1) (m: number of nodes in the fragments list) in case the node to insert was out of the fragments list. Now its O(1). Removed 'knownBug' constraint from two tests, which documented known bugs, that are fixed in the meantime. (user: rolf, tags: trunk)
01:00
[502f04d441] Reworked insertBefore: Bug fix: If the refNode was invalid, the involved documents got mangled. Bug fix: Dead loop, if the node to insert was the node itself. Bug fix: the rootNode of node's document could be used as node to insert. Bug fix: It was not possible, to insert a node before refNode, which was already a children of node. Bug fix: It was not possible, to insert a sibling of node. Feature enhancement: If the refnode is the empty string, the newNode is inserted at the end of the children list of node. Optimization: Average speed was O(n/2) (n: number of childs of node) in case the node to insert was out of the tree, and 0((n+m)/1) (m: number of nodes in the fragments list) in case the node to insert was out of the fragments list. Now its O(1). (user: rolf, tags: trunk)
2003-09-16
22:59
[d3a05e7548] See file. (user: rolf, tags: trunk)
22:58
[87dde9d70b] Added a few tests related to the new flexibility of the -elementstartcommand, -elementendcommand and -characterdatacommand scripts. (user: rolf, tags: trunk)
22:56
[e3239e08a4] Added documentation for the now implemented cget method. Added information about the default for the -paramentityparsing option. (user: rolf, tags: trunk)
22:54
[46291ef738] Enhanced the new cget method of parserObjs to also report the state of -noexpand, -useForeignDTD, -paramentityparsing (those by doing the bookkeeping with an enhanced TclGenExpatInfo struct, because the expat parser do not proived an API to request this settings) and -namespace. Improved argument check of the parser obj method calls. Optimization for calling handler scripts. (user: rolf, tags: trunk)
22:53
[58a2c22703] Enhanced the new cget method of parserObjs to also report the state of -noexpand, -useForeignDTD, -paramentityparsing (those by doing the bookkeeping with an enhanced TclGenExpatInfo struct, because the expat parser do not proived an API to request this settings) and -namespace. (user: rolf, tags: trunk)
19:23
[c75d4d0c1e] See file (user: zoran, tags: trunk)
19:20
[7e0af5ba9c] Added "-fPIC" option to compiler so linker wont bark at us when producing a shareable image (user: zoran, tags: trunk)
2003-09-14
17:06
[d7f96dea6a] See file. (user: rolf, tags: trunk)
17:06
[c3fce0f7cd] Fixed scripting bugs in ::dom::domDoc::importNode and ::dom::domNode::length. (user: rolf, tags: trunk)
14:50
[f9d2ed4525] See file. (user: rolf, tags: trunk)
14:49
[8830f473cb] dist target: Don't include CVS dirs and hidden files into the distribution file. (user: rolf, tags: trunk)
11:18
[4089fb272f] Rats! A small order problem in configure.in fixed. (user: zoran, tags: trunk)
11:09
[b97bd270c0] See file (user: zoran, tags: trunk)
11:09
[956983fa1e] Cleanup of example build setups (user: zoran, tags: trunk)
11:08
[4f3d88accf] Simplified. Just re-route users to the unix build. (user: zoran, tags: trunk)
11:08
[2c69e01972] Imported the latest version from SF project. (user: zoran, tags: trunk)
11:06
[8d1744303b] Made more TEA-2 compatible by removing tcldomsh from default build and by using some more pre-calculated variables from tcl.m4. The configure regenerated with autoconf 2.52. (user: zoran, tags: trunk)
01:35
[63ed4d108c] See file (user: rolf, tags: trunk)
01:16
[63b1313111] Included 0.7.8 fixes from the rel-0-7-branch (user: rolf, tags: trunk)
00:17
[2117d656ff] Added cget method implementation for all parser options with the exceptions of -namespace, -useForeignDTD and -paramentityparsing. Revamped behind the scene code for handling of the -elementstartcommand, -elementendcommand and -characterdatacommand options. Up to now, the arguments to this options must have been the name of an already defined tcl proc. This allowed a special high performance calling of that procs. The new code behaves exactly the same way for every script, which worked with previous versions. Additionally it allows, to specify a not already defined tcl proc and, probably more important, allows 'arbitrary' tcl scripts as argument to that options. All in this checkin in the work of Harry Moreau (hmoreau@online.ie). Many thanks for this contribution. (user: rolf, tags: trunk)
2003-06-13
10:38
[f1436a6ee9] See file. (user: rolf, tags: trunk)
10:38
[936d29eba1] Added an argument check for XSLTCmds. (user: rolf, tags: trunk)
2003-06-11
18:35
[10e814d3c7] Fixed a bug in xsl:number. If there is no 'count' attribute given to xsl:number, it must default to the pattern that matches any node with the same node type as the current node and, if the current node has an expanded-name, with the same expanded-name as the current node. But in case of PROCESSING_INSTRUCTION_NODEs as the current node and no 'count' attribute, it counted all pi's regardless of the name. Now, the name is respected, as it should be. (user: rolf, tags: trunk)
18:35
[7edd8b732d] See file. (user: rolf, tags: trunk)
15:04
[ce0954a8b4] See file CV: ---------------------------------------------------------------------- (user: zoran, tags: trunk)
15:02
[c10aa7098b] Fixed domLocksDetach; was wrongly unlocking mutex twice instead of locking it on start and unlocking it on exit. (user: zoran, tags: trunk)
2003-05-19
12:55
[b95af358d1] See file. (user: rolf, tags: trunk)
12:55
[286cf6abe4] Corrected the documentation of the createDocumentNS method: the args uri and docElementName were documented in the wrong order (reported by Vico Klump). Minor markup changes. (user: rolf, tags: trunk)
2003-05-16
14:40
[8c1949e1e2] See file (user: zoran, tags: trunk)
14:39
[6cb6245b08] fixed preprocessor directive when compiling under AOLserver (user: zoran, tags: trunk)
14:36
[25004cbac0] Fixed to compile correctly when -NS_AOLSERVER defined. Also fixed some obvious typos (Zoran) in dom.h (phew!) (user: zoran, tags: trunk)
11:54
[5d9166cf39] See file. (user: rolf, tags: trunk)
11:52
[9afca81854] Switched to use XML_ParserCreate_MM(), to be able (at tDOM build time) to make the expat parser use custom *alloc/free() functions (macro MEM_SUITE in dom.h). For TCL_MEM_DEBUG and NS_AOLSERVER builds the mem functions, used by the parser default now to Tcl_Alloc()/Tcl_Realloc()/Tcl_Free(). Switched to XML_FreeContentModel(), for freeing stored element content models. (user: rolf, tags: trunk)
2003-05-10
22:17
[aa04611d61] See file. (user: rolf, tags: trunk)
22:15
[71830d068c] Renamed the documents rootNode (in the sense of the XPath data model, that is not the document element) from "(rootNode)" to "", in preparation for the promissed 'domDoc without documentElement' feature, to fix a somewhat outlying problem with xslt numbering and because it's clearly more the 'right thing' according to the rec. Removed the arg xs from sortNodeSetFastMerge(), because it isn't used. (user: rolf, tags: trunk)
22:10
[dab1effe06] Renamed the documents rootNode (in the sense of the XPath data model, that is not the document element) from "(rootNode)" to "", in preparation for the promissed 'domDoc without documentElement' feature, to fix a somewhat outlying problem with xslt numbering and because it's clearly more the 'right thing' according to the rec. (user: rolf, tags: trunk)
2003-04-20
10:50
[66141ddcaa] See file. (user: rolf, tags: trunk)
10:50
[8634886d0d] Proc newdoc: New optional argument (list of names of local variables) allows the use of local variables (in the scope of the caller of newdoc) in the script argument of newdoc. Contributed by Chuck Ferril. (user: rolf, tags: trunk)
2003-04-16
20:05
[f4b5296847] See file. (user: rolf, tags: trunk)
20:04
[1240b0cab4] Optimization: Improved caching of external documents. (user: rolf, tags: trunk)
2003-04-12
02:28
[1cc368bd62] See file. (user: rolf, tags: trunk)
02:24
[b4ea22bb2b] Bumped version to 0.8.0 (alpha). (user: rolf, tags: trunk)
02:20
[edc7d63c4b] Bumped version to 0.8.0 alpha. (user: rolf, tags: trunk)
2003-04-09
20:18
[fdd34c6f65] See file. (user: rolf, tags: trunk)
20:06
[8c30521612] Added test which documents the bug prior to domxpath.c r1.63. (user: rolf, tags: trunk)
20:05
[34abc1809a] Fixed a bug in the value parsing of the -paramentityparsing option. (user: rolf, tags: trunk)
20:02
[953bfabb7d] Added documentation for the toXSLTcmd method and the resulting xsltCmds. Corrected the documentation for the xslt method (missed -ignoreUndeclaredParameters and -xsltmessagecmd in the method syntax). (user: rolf, tags: trunk)
20:01
[7ceca71c15] Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). Added 'package require tdom' to the syntax decription (http://groups.yahoo.com/group/tdom/message/446). (user: rolf, tags: trunk)
19:59
[b1dd756571] Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). Removed an unused variable. Improved error reporting in case of not found attribute. Better options check for the 'xslt' methods. Changed implementation of the dom method isQName to use the lately introduced API function domIsQNAME. (user: rolf, tags: trunk)
19:57
[0231e6fe49] Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). Added tests for the interface of the xsltCmds. (user: rolf, tags: trunk)
19:56
[d3a1a78a90] Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). (user: rolf, tags: trunk)
19:40
[803d0d341b] Fixed a bug in the creation of the error msg in case of parsing errors in an external entity. Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). (user: rolf, tags: trunk)
2003-04-05
17:46
[2dd42f3330] See file. (user: rolf, tags: trunk)
17:46
[8cecf9b419] Bug fix: If the parsing state is already not TCL_OK return in the notstandalonehandler immediately success, otherwise the error msg will be overwritten with a false diagnostic. A few editorial changes. (user: rolf, tags: trunk)
2003-04-03
23:08
[d132a66738] See file. (user: rolf, tags: trunk)
23:07
[157305e7e9] Added domIsQNAME. (user: rolf, tags: trunk)
23:07
[d6adb7f78c] Added domIsQNAME. Bug fix: For textNodes getLine/getColumn method report the position of the first char of the text node. (user: rolf, tags: trunk)
23:06
[a4cd1d36a9] Bug fix: Detects now some erroneous XPath expressions. Added parameter number check to XPath functions substring and concat (the last two XPath functions, without such check, they must have slipped thou somehow, up to now). (user: rolf, tags: trunk)
23:05
[98a8b451d5] Improved interal function reportError(), can now be used with all kind of nodes not only element nodes. Improved behavior in case of dubious numbering (negative roman number or latin letters fall back to default latin numbers). Fixed a potential memory leak (in case of overwriting named templates without match attribute with an other named template). Improved error reports: for more detected errors there is now a line/column number given. Plenty of improvements in detecting erroneous stylesheets: more checks for format-number formatting patters (although especically format-number patterns are still a can of worms), added parameter number check for additional XPath function current(), template, paramter, variable, sort, choose, copy, and message elements. (user: rolf, tags: trunk)
2003-03-26
01:16
[8a74cc4c0c] See file. (user: rolf, tags: trunk)
01:14
[3e4fa7daf1] Fixed some memory problems, mostly in case of erroneous stylesheets. (user: rolf, tags: trunk)
2003-03-25
22:48
[6713546dad] Bumped the version number to 0.7.7. (user: rolf, tags: trunk)
22:46
[504b0a44b5] See file. (user: rolf, tags: trunk)
22:46
[b7ba190d3c] See file. (user: rolf, tags: trunk)
22:31
[628ec6edb9] Bumped the version number to 0.7.7. (user: rolf, tags: trunk)
14:41
[4d6003df0a] See file. (user: rolf, tags: trunk)
14:39
[a433fa7ab1] Fixed error, which prevents building 0.7.6 with -DTCL_THREADS=1. (Arrrg.) (user: rolf, tags: trunk)
2003-03-24
20:06
[8a59bd662f] See file. (user: rolf, tags: trunk)
20:05
[35f80b1c76] Noted modification of expat.h. (user: rolf, tags: trunk)
20:01
[804cc57b9d] Updated to an after 1.95.6 version, which fixes the problem, that some compilers had with the 1.95.6 version. (user: rolf, tags: trunk)
19:57
[c3f651a34b] Final tweaking for 0.7.6. (user: rolf, tags: trunk)
2003-03-23
02:07
[c90afec5b8] Fixed editorial slip throu. (user: rolf, tags: trunk)
02:06
[64b2c2958a] See file. (user: rolf, tags: trunk)
01:21
[b5e5329db1] Updated to the new version number 0.7.6 (user: rolf, tags: trunk)
01:19
[1ada227aba] Updated to new version number 0.7.6. (user: rolf, tags: trunk)
01:16
[2626074683] Removed in favor of a version-less tDOM output directory. (user: rolf, tags: trunk)
2003-03-22
18:56
[fa1e69f5de] tdomstub_BUILD_SPEC must point to the plattform specific build dir. (user: rolf, tags: trunk)
17:46
[1ebd0f7597] tdomstub_BUILD_SPEC must point to the plattform specific build dir. (user: rolf, tags: trunk)
16:27
[ba1800a649] Updated for 0.7.6 release. (user: rolf, tags: trunk)
02:13
[437ff62f67] See file. (user: rolf, tags: trunk)
02:11
[079c509dde] Updated to new version 0.7.6. (user: rolf, tags: trunk)
02:07
[3eec272632] See file. (user: rolf, tags: trunk)
01:38
[1384262645] Removed hard coded version number, uses now VERSION define (user: rolf, tags: trunk)
01:31
[35fe76bc88] Updated to new version number 0.7.6. (user: rolf, tags: trunk)
00:25
[824de765e7] Added marker for 0.7.5 release. Beside this see file. (user: rolf, tags: trunk)
00:16
[7d7a0eaa64] Renamed 'startBefore' method to the better name 'precedes' and changed behavior: the method now returns simply a boolean value. (user: rolf, tags: trunk)
00:14
[6dbe77ea42] Renamed 'startBefore' method to the better name 'precedes' and changed behavior: the method now returns simply a boolean value. (user: rolf, tags: trunk)
00:05
[4b30dbc927] Added code needed to handle effects of the -useForeignDTD option. (user: rolf, tags: trunk)
2003-03-19
14:14
[3059d7be0c] See file. (user: rolf, tags: trunk)
14:10
[b9bdea4b97] Changed pathes to point to the location of mondial-europe.xml. (user: rolf, tags: trunk)
14:08
[571811ec65] Added option -useForeignDTD to dom parse and expat. (user: rolf, tags: trunk)
14:05
[5ce44fc040] Added method 'startBefore', to compare the relative order of two nodes out of the same document. Added a reminder for a minor known memory problem. (user: rolf, tags: trunk)
14:03
[8bce07abd4] Added this file (used by the usage example of xe). (user: rolf, tags: trunk)
13:55
[16f004bf75] Added method 'startBefore', to compare the relative order of two nodes out of the same document. (user: rolf, tags: trunk)
13:52
[10d8023a21] Added option -useForeignDTD to dom parse and expat. (user: rolf, tags: trunk)
13:50
[f1e13ac49c] Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Added option -useForeignDTD to dom parse and expat. Fixed potential memory problem while processing erroneous stylesheet. Improved error msg in case of script errors in the -externalentitycommand script. Added method 'startBefore', to compare the relative order of two nodes out of the same document. (user: rolf, tags: trunk)
13:47
[5d57e5e112] Added explicit memory clean up of the nodecmd stack, to reduce 'noice' while memory leak debugging. (user: rolf, tags: trunk)
13:46
[7a8fadc97a] Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Added option -useForeignDTD to dom parse and expat. Fixed several potential memory leaks while processing erroneous stylesheets. Bug fix: added missing memory clean to grouping-separator/grouping-size support. (user: rolf, tags: trunk)
13:42
[3a026610b6] Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Added option -useForeignDTD to dom parse and expat. (user: rolf, tags: trunk)
13:41
[c1c952bd76] Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Fixed a mem leak in handling external entities. Added option -useForeignDTD to dom parse and expat. (user: rolf, tags: trunk)
08:54
[a05e1f6a20] See file (user: zoran, tags: trunk)
08:53
[1d51a34b86] Installs the tdomConfig.sh into $libdir (whatever that points to) (user: zoran, tags: trunk)
2003-03-08
15:48
[fa7ad49c92] Hegh.... (user: zoran, tags: trunk)
15:48
[dac6b201ca] See file (user: zoran, tags: trunk)
15:47
[9238bc913a] Disabled FASTCALL & friends (user: zoran, tags: trunk)
11:51
[a09ac5e5f0] Fixed issues when setting --libdir and/or --prefix (user: zoran, tags: trunk)
11:50
[316ff345cb] Simplified 4.0 setup again. (user: zoran, tags: trunk)
10:15
[f18e54ace5] Fixed some prefix/exec-prefix stuff (user: zoran, tags: trunk)
10:15
[ccc92b8246] Fixed AOLserver 4.0 setup (user: zoran, tags: trunk)
09:38
[42ad3d167a] Cosmetics (user: zoran, tags: trunk)
09:32
[b3a0b2f57c] New set of files (user: zoran, tags: trunk)
09:27
[a7c169e0bd] Cosmetic (user: zoran, tags: trunk)
2003-03-06
15:52
[817310aa70] Removed TEA_INIT because we wo not need it for this minimal make (user: zoran, tags: trunk)
15:51
[a0757227e3] First import (user: zoran, tags: trunk)
14:28
[66c9feb161] See file (user: zoran, tags: trunk)
14:25
[9371d69091] First import of Bernard files for CodeWarrior (user: zoran, tags: trunk)
14:24
[b0a821471a] Added Bernard files for CodeWarrior build (user: zoran, tags: trunk)
14:22
[520460eb27] See file (user: zoran, tags: trunk)
14:22
[1aaea3ddcd] First import (user: zoran, tags: trunk)
14:07
[943c93879a] First import (user: zoran, tags: trunk)
14:01
[c747a35e0d] See 06.03.2003 (user: zoran, tags: trunk)
13:58
[bd4b0f207d] Removed malloc.h since not needed and not found on macosx (user: zoran, tags: trunk)
13:58
[3ccbba9506] Fixed alternative use of libdir (user: zoran, tags: trunk)
2003-03-02
23:38
[25aaa164ae] See file. (user: rolf, tags: trunk)
23:37
[a9f37ef8bf] Fixed bug with using the 'domNode' cmd without argument (spotted by Bernard Desgraupes). (user: rolf, tags: trunk)
2003-02-27
02:31
[e78962ebbd] See file. (user: rolf, tags: trunk)
02:30
[59b589e432] xsl:number attributes grouping-separator and grouping-size now also interpreted as attribute value templates. (The last two (missing up to now only by mistake) attribute value templates under the recognized xsl attributes.) (user: rolf, tags: trunk)
2003-02-26
19:44
[365ed006ee] See file. (user: rolf, tags: trunk)
19:43
[85ed2e2506] Made some functions static. Removed a TODO note, which already was done. Improved some error msgs (now with line/column info, if avaliable). Bug fix: xsltXPathFuncs must return -1 to signal error, because if the source of the function call was inside of domxslt.c the result code (rc) check rule is rc < 0. Fixed text in a xsl:attribute error msg. Fixed memory leak in error case in ExecAction, case forEach. Added a missing result code check in ExecAction, case procinstr. Bug fix: Even literal result element subtrees are relevant for xslt variable scope (default case of ExecAction). Bug fix: the expression context of the match expr of a xsl:template is the xsl:template node. Now the xslt white space stripping is done before the top level processing (was done after toplevel processing). (user: rolf, tags: trunk)
19:11
[858ccf022d] Improved ::tDOM::xml(Read|Open)File. Now handles also utf-16 files with BOM right. (user: rolf, tags: trunk)
19:10
[34d56d9c5f] Removed unused variables. (user: rolf, tags: trunk)
2003-02-25
21:00
[16d442fdba] See file. (user: rolf, tags: trunk)
15:16
[a94747ebad] Applied proposed patch to internal.h, to fix compiler warnings with gcc on solaris. (user: rolf, tags: trunk)
15:15
[272c05015d] Updated to expat 1.95.6. (user: rolf, tags: trunk)
2003-02-22
23:53
[a987fd45af] See file. (user: rolf, tags: trunk)
23:52
[955041a024] Smaller fixes. Changed the values of the system-properties xsl:vendor (included me) and xsl:vendor-url (to http://www.tdom.org). (user: rolf, tags: trunk)
23:41
[098df7643f] Small corrections. (user: rolf, tags: trunk)
21:55
[cc43f2700a] See file. (user: rolf, tags: trunk)
21:47
[0ecf226b17] Added new tnc method getValidateCmd. (user: rolf, tags: trunk)
21:19
[a2b9a24f38] Started test suite for the tcl interface of the tnc command and the validator commands. (user: rolf, tags: trunk)
21:06
[1aa803e20b] Added new tnc method getValidateCmd. Changed to use the same memory allocator/free defines as the tDOM core. Bumped the version to 0.3. (user: rolf, tags: trunk)
21:01
[155f101390] Better eContents cleanup. Bug fix: of course we have to call the parserResetProcs of the registered C handler sets while reseting the expat parser command. (user: rolf, tags: trunk)
20:52
[b5b3d96a0d] Added tcldom_getNodeFromName(), tcldom_getDocumentFromName() and the dom.h typdefs to the tDOM stubs table. Needed for the new tnc feature (and elsewhere, on the long run). (user: rolf, tags: trunk)
09:40
[75977d17b4] See 2003-02-22 comment (user: zoran, tags: trunk)
09:38
[e2e1b18754] Added cast to (char*) when calling Tcl_Free on FREE macro. This avoids some compiler warnings. (user: zoran, tags: trunk)
09:37
[43e91df26e] Added some casts to MALLOC to avoid compiler warnings (user: zoran, tags: trunk)
09:15
[a7bd0b637a] Added remark about CC=gcc for Solaris builds. (user: zoran, tags: trunk)
09:14
[c59d2bfd99] Fixed invalid reference to TCL_DBGX at building tdomConfig.sh. (user: zoran, tags: trunk)
2003-02-21
20:06
[9e151a215c] See file. (user: rolf, tags: trunk)
20:05
[d2918070f8] Bug fixes: Return after detecting the error (xsltPathFuncs), ensure that savedLastNode is always set right (ExecAction, case copy). Editorial changes. (user: rolf, tags: trunk)
19:57
[25377bfed5] See file. (user: rolf, tags: trunk)
19:54
[b52f8d7e19] Don't remove tdomConfig.sh with a 'make clean', only with a 'make distclean'. (user: rolf, tags: trunk)
2003-02-09
16:44
[b9739ea64f] See file. (user: rolf, tags: trunk)
16:43
[4c19d22118] Updated to use the new -xsltmessagecmd option of the xslt method and the -doctypeDeclaration of the asXML/asHTML methods. Added a few comments. (user: rolf, tags: trunk)
16:37
[60fb10d1d8] See file. (user: rolf, tags: trunk)
16:33
[88da2466db] Update to expat 1.95.6. (user: rolf, tags: trunk)
16:30
[09c960a150] Update to expat-1.95.6. (user: rolf, tags: trunk)
02:26
[5f744c8f11] Editorial change. (user: rolf, tags: trunk)
02:25
[f222eca95d] See file. (user: rolf, tags: trunk)
02:19
[b01319a94b] Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level(even writable, more than DOM 2 allows) and will be, on demand, respected while serializing. (user: rolf, tags: trunk)
02:17
[192dc1121a] Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level (even writable, more than DOM 2 allows) and will be, on demand, respected while serializing. (user: rolf, tags: trunk)
02:15
[57286a402a] Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level (even writable, more than DOM 2 allows) and will be, on demand, respected while serializing. Bug fix: invalid memory read. (user: rolf, tags: trunk)
02:13
[885f793791] Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level (even writable, more than DOM 2 allows) and will be, on demand, respected while serializing. Bug fix: Hold ID => node mapping consistent even after resetting or removal of known ID attributes. (user: rolf, tags: trunk)
2003-01-30
00:38
[b36ec36a3b] See file. (user: rolf, tags: trunk)
00:36
[d439fe172c] Fixed bug reported by Wilhelm Klink (http://groups.yahoo.com/group/tdom/message/404 see test xslt-4.1). Again a problem (sideeffect) of renumbering node->nodeNumber (which is necessary after modification of the tree for some XPath expr to work). The keys of the entries in the baseURIs hash table of the documents where the nodeNumber of the (subtree root) nodes with new baseURI. Since this nodeNumber isn't necessarily constant over the lifetime of a node (because of the possibility of re-numbering the tree), this could not work anymore. Instead the nodeNumber, we now use the pointer to the node structure as Key for the baseURIs hash table. This pointers stay always constant, even if the nodeNumber changes. Additional code was added to domFreeNode(), to ensure, that an entry in the baseURIs hash table gets freed, if the related node is in deed freed. Removed the yesterday added reseting of the domUniqueNodeNr counter, because it turned out in testing, that there are problems with sorting of resultSets, which includes nodes from different documents (which may happen with some special XSLT constructs (document() calls with a nodeset as argument)). The reseting of the domUniqueNodeNr is still desirable, but it turned out, that it should be carefully considered, when it should be done. (user: rolf, tags: trunk)
2003-01-29
02:42
[6b52088c26] See file. (user: rolf, tags: trunk)
02:28
[0f29634d2e] Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications. (user: rolf, tags: trunk)
02:27
[62ae741b82] Changed escaping of serialized XML. The previous behavior wasn't 'wrong', but now we do it along the lines of almost all other (important) tools and it seems there's al least some xslt code out there, which banks on this 'common' way of serializing. Though, there is a small risk, that this is an incompatible change for a few users. Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications. Fix for the problem with ownerDocument reported by Oleg Oleinick (see test dom-29.1). (user: rolf, tags: trunk)
02:25
[9fe0cf4a50] Changed escaping of serialized XML. The previous behavior wasn't 'wrong', but now we do it along the lines of almost all other (important) tools and it seems there's al least some xslt code out there, which banks on this 'common' way of serializing. Though, there is a small risk, that this is an incompatible change for a few users. (user: rolf, tags: trunk)
02:23
[0b89d72668] Changed escaping of serialized XML. The previous behavior wasn't 'wrong', but now we do it along the lines of almost all other (important) tools and it seems there's al least some xslt code out there, which banks on this 'common' way of serializing. Though, there is a small risk, that this is an incompatible change for a few users. Fix for the problem with ownerDocument reported by Oleg Oleinick (see test dom-29.1). Fixed bug with COMMENT_NODEs while using the asList method (problem reported by Ramon Ribó). While at it, also added code for handling processing instructions, which was also missing, up to now. (user: rolf, tags: trunk)
02:21
[8df732f1ef] Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications. Fix for the problem with ownerDocument reported by Oleg Oleinick (see test dom-29.1). Fixed bug with COMMENT_NODEs while using the asList method (problem reported by Ramon Ribó). While at it, also added code for handling processing instructions, which was also missing, up to now. (user: rolf, tags: trunk)
02:19
[fdebe05f71] Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications. (user: rolf, tags: trunk)
2003-01-11
00:22
[89d683fc46] See file. (user: rolf, tags: trunk)
00:21
[43b3931c21] Editorial change (Typo in comment). (user: rolf, tags: trunk)
00:20
[c5f0735eff] Added conversion of XSLT stylesheet DOM trees to 'cached' xslt cmds (new domDoc method toXSLTcmd). Works for non threaded tcl; needs additional work for multi-threaded tcl and documentation. Fixed a bug introduced during rework of the white space stripping for XML sources. (user: rolf, tags: trunk)
00:18
[0587720af1] Added conversion of XSLT stylesheet DOM trees to 'cached' xslt cmds (new domDoc method toXSLTcmd). Works for non threaded tcl; needs additional work for multi-threaded tcl and documentation. (user: rolf, tags: trunk)
2002-12-27
23:44
[892a7f9a91] See file. (user: rolf, tags: trunk)
23:43
[9e4ab919e4] Editorial changes. (user: rolf, tags: trunk)
23:40
[9f5c3aa51b] The xslt method now understands also the options -ignoreUndeclaredParameters and -xsltmessagecmd. (user: rolf, tags: trunk)
2002-12-23
03:12
[e9de6ca07a] See file. (user: rolf, tags: trunk)
03:12
[d0a4e69e9c] Reworked the white space stripping for XML sources a bit. Better white space handling in token lists. (user: rolf, tags: trunk)
2002-12-21
20:45
[c3782f2bbb] See file. (user: rolf, tags: trunk)
20:44
[868915c3d1] Fixed the changes by me in rev. 1.60 in the XPath Lexer. (user: rolf, tags: trunk)
2002-12-20
13:40
[3ad7ebca74] See file (user: zoran, tags: trunk)
13:36
[c5ee64163a] Added DBG wrapper arround some lingering fprintf's (user: zoran, tags: trunk)
2002-11-28
01:03
[1187e5fcc5] See file. (user: rolf, tags: trunk)
00:31
[84d0c40a05] Reuse already parsed trees only if it is requested again for the same matter (as stylesheet or as source dir), otherwise create a new tree, because of the different white space stripping rules for stylesheets and source documents. (user: rolf, tags: trunk)
2002-11-27
22:44
[0ab237447c] See file. (user: rolf, tags: trunk)
22:44
[c41471283c] Added this file. VC++ 6.0 makefile to compile against tcl8.0.5, contributed by Sumit Pokhariyal (user: rolf, tags: trunk)
22:38
[3ed9ce2ec3] Fixed typo in previous check in. (user: rolf, tags: trunk)
22:37
[d6a62d43eb] See file. (user: rolf, tags: trunk)
20:37
[d8e9714e8a] FQ names with a localname equal to a XPath 'keywork' (for example ns1:div) are now recognized as node test (they raised error up to now). (user: rolf, tags: trunk)
2002-11-24
18:23
[e21dd9ea73] See file. (user: rolf, tags: trunk)
18:21
[da1315af55] Changed the order of the include dir, to avoid clash with tcldom.h out of TclDOM-2.4, which will be installed in the same directory as tcl.h (user: rolf, tags: trunk)
2002-11-22
15:00
[74c58acb9f] See file. (user: rolf, tags: trunk)
15:00
[cf0be9fdaf] Updated notes for Tcl8.0.5 users. (user: rolf, tags: trunk)
14:59
[3762eb3181] Added this file. Special configure for Tcl8.0.5 users. (user: rolf, tags: trunk)
2002-11-21
23:46
[91cbb9c9e1] Corrected the date of the last entry. (user: rolf, tags: trunk)
20:38
[3252f716e0] See file. (user: rolf, tags: trunk)
20:36
[29140476fa] We don't have a 'provide expat' anymore, it's all tdom. Fixed a typo. (user: rolf, tags: trunk)
2002-11-18
01:03
[ac96399c2f] Fixed a typo. (user: rolf, tags: trunk)
00:44
[d08dacc8eb] See file. (user: rolf, tags: trunk)
00:43
[98a0311a68] Better wording. (user: rolf, tags: trunk)
2002-11-17
19:24
[015219de3a] See file. (user: rolf, tags: trunk)
19:23
[ed88fecbb3] Report error, if xsl:import elements not come first. (user: rolf, tags: trunk)
2002-11-16
14:28
[e089aa2964] See file. (user: rolf, tags: trunk)
14:25
[af82543903] A bit final tweaking for 0.7.5. (user: rolf, tags: trunk)
11:00
[646bc40a8b] See file (user: zoran, tags: trunk)
10:57
[27359722a2] Added 8.0.5 compilation notes (user: zoran, tags: trunk)
10:53
[9f62a9d469] Replaced "panic" with Tcl_Panic for 8.2+ since stubbed. Fixed some 8.0.5 compilation issues. (user: zoran, tags: trunk)
01:41
[beb79aeb31] See file. (user: rolf, tags: trunk)
01:36
[64aecf24a6] Updated documentation. (user: rolf, tags: trunk)
01:31
[3bafc24e57] Made test suite also running under tcl8.0.5. Added constraint to the tests, which uses i18n tcl features. (user: rolf, tags: trunk)
01:23
[0c4b1d5468] Fixed bugs, which only raised there head if compiled against tcl8.0.5. (user: rolf, tags: trunk)
2002-11-15
19:39
[f832de9a41] See file (user: zoran, tags: trunk)
19:38
[f1b90ac63a] Added per-document deleted-nodes list. This list is used to collect nodes deleted from the document, but being referenced from some other threads/interpreters (user: zoran, tags: trunk)
02:27
[b6c44655ec] See file (still on the way to 0.7.5!) (user: rolf, tags: trunk)
02:23
[0007ec7503] Added simple debugging feature to tDOM::extRefHandler. (user: rolf, tags: trunk)
02:20
[839d0457e4] Changed 'attributes' method to return the empty string als result for non element nodes, according to the DOM 2 rec, chapter "Interface Node". Fixed a seg fault in hasAttributeNS. Closed a mem leak in appendXML. (user: rolf, tags: trunk)
02:05
[9ff66e5c34] Minor fix: added tcltest cleanup. (user: rolf, tags: trunk)
02:03
[5893e3edda] Added some tests for as yet not covered dom methods. (user: rolf, tags: trunk)
2002-11-14
08:24
[99fadb9b9a] See file (user: zoran, tags: trunk)
08:21
[0f5d43a14f] Fixed uninitialized memory read (UMR) report. (user: zoran, tags: trunk)
2002-11-13
01:08
[b1e475c1f8] Updated to the new version nr and the lib name convention of the new TEA 2 build system. (user: rolf, tags: trunk)
01:08
[82361a8c83] See file (Where heading against 0.7.5, finally. This VC++ 6.0 makefiles still are hacks - for example, the link (hardcoded) against tcl8.3. But anyway.) (user: rolf, tags: trunk)
01:03
[5b93a81fd6] Updated to the new version nr and the lib name convention of the new TEA 2 build system. (user: rolf, tags: trunk)
2002-11-09
01:57
[5f8092432d] See file. (user: rolf, tags: trunk)
01:49
[811dadeb7e] Minor changes. (user: rolf, tags: trunk)
01:46
[f95b2c528e] HTML serializer: No content escaping for the HTML tags script and style, according to XSLT rec 16.2. Fixed a memory problem during interp deletion. (user: rolf, tags: trunk)
2002-11-06
13:24
[b353cce0c1] Fixed broken test target (user: zoran, tags: trunk)
12:41
[678f7df00c] New file (user: rolf, tags: trunk)
2002-11-03
20:15
[5e01ac88a9] See file (user: rolf, tags: trunk)
20:14
[1509c8ffdc] tDOM::xmlOpenFile fix for files < 4 Byte size. (user: rolf, tags: trunk)
14:36
[af8b78f125] See file. (user: rolf, tags: trunk)
14:32
[fde4487199] Fixed ridiculously long runtime of certain // expr on certain documents. During analysis and testing, it turned out, that it would have been an even simpler approach, to simply expand the abbreviation // in the according productions. Though, the choosen implentation seems often to be (slightly) faster and is a start to collect experiences with early predicate evaluation. (user: rolf, tags: trunk)
2002-11-01
22:56
[12d5e1b529] See file (user: zoran, tags: trunk)
22:41
[cd324d32d4] Added TCL_LD_SEARCH_FLAGS option when linking the tdom shell. This allows for simpler handling when used with dynamic linker. (user: zoran, tags: trunk)
21:35
[4ebeecc376] Fixed typo on line 328 (node->document >> node->ownerDocument) (user: zoran, tags: trunk)
21:27
[577afd3a4f] See ChangesLog (user: zoran, tags: trunk)
21:26
[b3bbbbda5d] Removed traces of tdomhtml.tcl; it now lives in it's own extension. (user: zoran, tags: trunk)
21:19
[3029ae7379] Now part of a separate extension to tdom. (user: zoran, tags: trunk)
21:14
[283f266fb6] Added new extension package "tdomhtml" instead of having the sole file somewhere in tdom lib area which needs to get loaded sperately. (user: zoran, tags: trunk)
01:31
[d465e9d75b] See file. (user: rolf, tags: trunk)
01:30
[ff819c68ef] Fixed 'missing saperator' problem (using tab instead of white space). (user: rolf, tags: trunk)
01:06
[5a4467abf2] See file. (user: rolf, tags: trunk)
01:06
[d47f560cbf] Updated function-available, corrected ridiculous typo by my (element-avaliable -> element-available). Somewhat fixed and updated element-available. (user: rolf, tags: trunk)
00:47
[a038af3c6d] See file. (user: rolf, tags: trunk)
00:44
[e27d352ceb] Full qualified XPath function names now are accepted as syntactical correct expr. The function call is resolved to the Tcl proc dom::xpathFunc::<namespaceURI>::<functionLocalname>. Fixed old problem with Combine Set XPath expressions and XSLT sorts on trees, in which new nodes are inserted after the initial parsing (doc order of result). (user: rolf, tags: trunk)
00:38
[ed9663deb0] Fixed old problem with Combine Set XPath expressions and XSLT sorts on trees, in which new nodes are inserted after the initial parsing (doc order of result). (user: rolf, tags: trunk)
00:26
[871af13bd5] Full qualified XPath function names now are accepted as syntactical correct expr. The function call is resolved to the Tcl proc dom::xpathFunc::<namespaceURI>::<functionLocalname>. (user: rolf, tags: trunk)
2002-10-31
22:48
[89530e0423] See file (user: zoran, tags: trunk)
22:42
[27c472246d] See file (user: zoran, tags: trunk)
22:42
[eaa186cfb0] Changed order of loads in the pkgIndex.tcl. First the C-module is loaded, followed by the tdom.tcl library file, followed by the tdomhtml.tcl library file. Thus, the tdomhtml.tcl has become the first class citizen. (user: zoran, tags: trunk)
22:41
[07a217196b] Renamed version of domhtml.tcl file. Also did some simplification in html2tcl, renamed some internal private functions and added namespace-wide definitions of html command names. The _2tcl procedure now creates the missing elementNode commands as it parses the html code, on the fly. (user: zoran, tags: trunk)
22:33
[b72b93595a] Does now "package require tdom" only, instead of "package provide". The "package provide" with a correct version is done by the C-module. Some cosmetic changes as well. (user: zoran, tags: trunk)
20:30
[2477aeb484] Renamed to tdomhtml.tcl (user: zoran, tags: trunk)
20:29
[399dbb8de0] This is the older domhtml.tcl (was renamed to better suit pkgname) (user: zoran, tags: trunk)
20:20
[b77fe437a9] See file (user: zoran, tags: trunk)
11:53
[b44f6f216f] Fixed problems reported by Oleg Oleinick via private mail. (user: rolf, tags: trunk)
11:49
[49ba3aebe3] Added a few tests for appendFromList. dom-14.1 documents the former seg fault bug in case of a wrong list format, reported by Oleg Oleinick. (user: rolf, tags: trunk)
11:47
[a6cdb38efc] Fixed argument check of domObj method documentElement. Fixed domNode method appendFromList (wrong list format could result in seg fault). Thanks to Oleg Oleinick, for reporting both problems. (user: rolf, tags: trunk)
07:55
[2064805b61] Resolved CVS clashes (user: zoran, tags: trunk)
07:47
[d9e8bb8760] Added to contain "user-visible" changes, incopatiblities, etc. (user: zoran, tags: trunk)
00:42
[a0583e6b34] Fruit of the regular memory checking (for the first time with valgrind; seems to be a good tool, I probably put the up to now used mpatrol by the side and eventually change to valgrind). (user: rolf, tags: trunk)
00:31
[ab30ad2ee4] Corrected text of an error msg. (user: rolf, tags: trunk)
00:28
[9771d8bef6] Fixed memory leak (in template clean up; introduced with the new template matching handling). (user: rolf, tags: trunk)
00:25
[a577ce8226] Fixed memory leak with preceding-sibling axes. Massaged rscopy code, to pacify memory debugger. Removed old (dead) code. (user: rolf, tags: trunk)
00:22
[a94300e910] Fixed a possible invalid memory read. (user: rolf, tags: trunk)
2002-10-30
17:13
[93918db222] Added proper cast to arguments passed to FREE() macro to avoid compiler barking at us (user: zoran, tags: trunk)
15:54
[f6c9b37856] node_usage and domObj_usage update. (user: rolf, tags: trunk)
15:50
[17581ec1e5] Added -escapeNonASCII and -htmlEntities also to node_usage and domObj_usage. (user: rolf, tags: trunk)
13:28
[b881de2bd1] Added changes from 2002-10-29 und 2002-10-30. (user: rolf, tags: trunk)
13:21
[b2942824ba] Updated to using domDoc xslt method, -escapeNonASCII for asXML and as HTML and additionally -htmlEntities for asHTML. (user: rolf, tags: trunk)
00:56
[c8870f601d] Added a few minimal tests for -escapeNonASCII and -htmlEntities. (user: rolf, tags: trunk)
00:53
[86784666a7] Arrg. Removed now superfluous. (user: rolf, tags: trunk)
00:52
[2893500445] Preliminary update. (user: rolf, tags: trunk)
00:43
[5777f4feb7] Synced with current xml version. (user: rolf, tags: trunk)
00:42
[537f5e2fc8] Fixed documentation bug in the sample code for the -externalentitycommand optoin. (user: rolf, tags: trunk)
00:40
[8678b8d3aa] Documented new -escapeNonASCII option of the asXML and asHTML methods and new -htmlEntities option of the asHTML method. Minor editorial changes. (user: rolf, tags: trunk)
00:38
[cb973ba4e9] Now actually documented the new -htmlEntities option of the asHTML method. (user: rolf, tags: trunk)
00:25
[abb5e9c266] Documented new -escapeNonASCII option of the asXML and asHTML methods and new -htmlEntities option of the asHTML method. Documented new xslt method. Minor editorial changes. (user: rolf, tags: trunk)
00:21
[ebc96762ac] Documented new -returnNodeCmd option of the createNodeCmd method. Minor editorial changes. (user: rolf, tags: trunk)
00:00
[6c93e4035d] Implemented "Forwards-Compatible Processing" (XSLT rec 2.5), with limitations: xsl:version attributes on literal result elements are not supported (well, we currently doesn't support any xsl:* attribute on lre). Implementation is together a small optimization for stylesheet with lots of included or imported stylesheets. Fixed a bug in the xslt XPath function format-number. XsltProcess now accepts also a domDoc. Improved the setting of the documentElement of the resultDoc. (user: rolf, tags: trunk)
2002-10-29
23:44
[3ec7beb84e] Added -escapeNonASCII as option to the asXML and asHTML methods and -htmlEntities as option to the asHTML method. Added "xslt" method to domDoc commands. (user: rolf, tags: trunk)
23:36
[2d8d929036] Better error reporting in case of parsing errors in external entities. (user: rolf, tags: trunk)
17:11
[49799dd247] Added "-returnNodeCmd" option to "dom createNodeCmd". (user: zoran, tags: trunk)
11:16
[9d23357e70] Added this file (user: zoran, tags: trunk)
2002-10-27
10:40
[a2099532cb] Editorial changes. (user: zoran, tags: trunk)
10:31
[575c686dfd] Complete rewrite using "domNode appendFromScript" mechanism (user: zoran, tags: trunk)
2002-10-26
21:14
[81c111c74c] Small optimization: Set node tags once, while traversing the xslt trees for white space stipping and use later only the already set node->info tag, instead of calling getTag. (user: rolf, tags: trunk)
2002-10-25
01:07
[472555c9a9] Added simple helper procs: a simple externalentitycommand "tDOM::extRefHandler" and tDOM::baseURL. Editorial changes. (user: rolf, tags: trunk)
01:04
[ef7656d0a5] Simplified the code a lot, using the new methods and tdom.tcl procs. (user: rolf, tags: trunk)
01:02
[8866fb4843] Introduced TESTFLAGS. (user: rolf, tags: trunk)
01:00
[2545280ae2] Bug fix: Handling of external sources, accessed via xsl:import, xsl:include or document() could result in 'wrong' errors (or probably even crashes) in the case, the externalentitycommand returned the data as string, because the pointer to the string got to far invalid. (user: rolf, tags: trunk)
2002-10-22
10:09
[df082ae194] Resync with dom.xml (user: rolf, tags: trunk)
06:45
[340239cc56] Done some proof-reading. Corresponding dom.n and dom.html should be synced. (user: zoran, tags: trunk)
2002-10-20
15:57
[0e9f53dac9] Added new methods isName, isNCName, isQName and isCharData to the 'dom' command. (user: rolf, tags: trunk)
15:53
[c01edd680e] Adjusted the size of the hash table for the known entities. (user: rolf, tags: trunk)
15:50
[54810a31e1] Added new interface function domIsChar and some infrasturcture, needed for this. Fixed XML character class macros. (user: rolf, tags: trunk)
15:45
[6a3d82bc9c] Added new interface function domIsChar, which checks, if a given string consists of XML Chars. (user: rolf, tags: trunk)
15:40
[080f877f0e] A few editorial changes and new tests. (user: rolf, tags: trunk)
15:39
[3072a8047f] Moved some dom command related tests to the new domCmd.test. (user: rolf, tags: trunk)
15:37
[8a1da0c24b] Added for dom command related tests. Moved some tests from dom.test; added tests for isName, isNCName, isQName and isCharData. (user: rolf, tags: trunk)
15:35
[e0224d942a] Added documentation for the new methods isName, isNCName, isQName and isCharData. Added a bit documentation for the createNodeCmd method (should be proove readed by Zoran). Added information about the limitations of the simple parser. Some editorial changes. (user: rolf, tags: trunk)
2002-10-17
00:30
[6e6741bad7] Fixed a bug in key handling: Empty node sets are not "" (the empty string) neither in the key data build nor the key() functions, but simply no value. Removed a superfluous strcpy. Since the key() implementing function uses rsAddNode (which is fixed, in between and now hopefully in deed work as expected), there's no need to sort the result node set. The fix of rsAddNode disclosed, that a part of the numbering code relied on the wrong behavior of rsAddNode (well, since I knew, throu hand checking, the right results of really a couple of test cases, what the right result should be, it seems, I massaged the code as long, until it gave the expected result, discarding all doubts, why this is this obvious wired way at this place - I'm obviously a weak human). Fixed this. Unfortunately, the old way may be way more faster, for lot's of numbering in deep documents. There may be optimization potential for this cases, yet again, but I have first to thing about, if it's really work in all cases. Exchanged a few rsAddNode with rsAddNodeFast, which is almost pointless in this cases. There're a lot of cases, in which a node is added to a freshly initialized nodeset. The adding of this node to a emtpy nodeset could be inlined, for a (real small, according to my profiling) effect. But I pushed tDOM more than 10 percent over all in the xsltmark, and made it at least more than double as fast as before for bigger docbook documents in the last week; I omit this fishing for lesser then a percent speed up for now. (user: rolf, tags: trunk)
00:07
[051984cb16] Removed bogus code (which may not harm compliance, but speed in a few cases). (user: rolf, tags: trunk)
2002-10-16
21:59
[c4edde30c3] Bug fix in rsAddNode: if the node to insert into the nodeset was befor all the nodes, already in the nodeset, the new node was inserted at the end. Now, it's correctly inserted as first node. (user: rolf, tags: trunk)
11:44
[f367501255] If sourced from tcldomsh, ensure, that the tdom script lib is also loaded. (user: rolf, tags: trunk)
00:12
[51ccedf49c] Added docObj methods asXML and asHTML. (user: rolf, tags: trunk)
00:08
[587edc41f2] Minor bugfix for attribute creation. (user: rolf, tags: trunk)
00:05
[a7870ef616] A few documentation updates (user: rolf, tags: trunk)
2002-10-15
12:27
[976ea89d00] Removed some old defines (user: zoran, tags: trunk)
2002-10-14
23:56
[b1dc4a4d34] A few minor (and mostly not even notable) optimizations, partly of dubious value. At least the improved match pattern predicates optimizations point to the right direction (and are real winner for some stylesheets and real big input data), even if this hole predicate optimization business should reworked to a more general solution, instead of the current 'handle some common cases and try to be on the secure side for all other' approach. (user: rolf, tags: trunk)
2002-10-13
00:54
[4a8cfb7247] Minimal code tweaking, needed for VC++ 6.0 build. (user: rolf, tags: trunk)
00:08
[fd09eaa553] Updated to the new build system. (user: rolf, tags: trunk)
00:02
[f4771d1e04] Made format-number() i18n aware (for Tcl >= 8.1). Together with that reworked format-number a bit and fixed some bugs. This format-number thingy is definitely one of the more annoying parts of the XSLT rec. Such a functionality is undoubted important, but it was a bad idea, to specify it with a reference to a Java 1.1 class. Well, the Java folks don't care, they just use this class (I assume). But what the link to the Java 1.1 doc out of the spec gives, is far away from a complete description of the required behavior (at least for an implementor). The Java books (at least, to one, I saw) are not of any help; typically they provide even lesser info. Kay, in contrary, does provide a bit additional info in his XSLT Programmer's Reference, but unfortunately let also some questions open. Therefor the only way in some cases is, to study the output of the java engines and to try to understand there formating rules. (user: rolf, tags: trunk)
2002-10-11
22:02
[37983a92fc] Removed unuse astType type 'Str'. (user: rolf, tags: trunk)
2002-10-09
22:51
[1cc88b03f7] CONSTyfied tnc. (user: rolf, tags: trunk)
20:22
[203c9d7cbd] Update to expat-1.95.5. (user: rolf, tags: trunk)
20:17
[91d3c0816f] New file in expat-1.95.5. (user: rolf, tags: trunk)
01:41
[a5019185cc] As in r1.50 presumed, there's always more to do with resultset. Now, I hope, I got it somewhat finaly right (and fixed a few bugs, which just wasn't triggered by the tests up now). We expect at several points, that every result set is given in document order. Now, rsAddNode takes care, that this is in deed the case. (Experience shows, that it is seldom needed, to insert a node into the set; in almost all all day cases, the node must simply appended to the result set.) Removed the nowhere used step type "Str". Fixed the steppattern optimization code. Removed some dead code. (user: rolf, tags: trunk)
01:19
[78b1dcdc6e] Mostly some optimization work. Depending on what you do a debatable one. There's a small group of stylesheets, that are perceptible slowed down by this chances. Bitten are really small stylesheets with only a few templates. An example would be the classical identity.xsl, given already in the XSLT rec and in a variation in the xsltmark test suite, which has only one template. The identity.xsl stylesheet out of xsltmark for example is slowed down around 20 Percent. Which is probably a very extreme example. Such extremly simple XSLT stylesheets are uncommon in daily practice. Due to already present small positiv effects, the overall result of the xsltmark is lightly improved. The point of this changes is to improve the finding of the matching template. Additional to the already metioned penalty for stylesheets with only a few templates there is another penalty for the needed additional analyzing and preparation work, during the initial XSLT stylesheet data processing. This additional work is needed once, and pays back relatively fast. The transformation of very small docbook documents (for which the size of the document is much smaller then the sum of the docbook xslt stylesheets) will be slowed down by around 25 percent (but due to the fast parser and DOM parts and the over all still slim XSLT overhead, we're still around double as fast as any other OS solutions, I'm aware off). The more templates the XSLT stylesheet has and as bigger the document is, the more important are normaly this optimizations. For example they more than halves the processing time for a nearly 2 MByte docbook document. The changes also includes a fix for a very old problem. Now the priority of a match, which contains alternatives (something like match="a|b|node()") is determined for each alternative separately. (user: rolf, tags: trunk)
00:26
[3f4740e079] MutationEvent() is a define, that currently is replaced to a noop by the preprocessor. They are a preparation for DOM 2 events. There isn't a callback to tcl level for them, up to now, but Jochen claims, that they are at the according places. Removed a erroneous MutationEvent(), inserted by me. (user: rolf, tags: trunk)
2002-10-02
00:14
[cee5915867] Better memory clean up in case of erroneous XPath expression. (user: rolf, tags: trunk)
2002-10-01
12:28
[e8db0b1af9] Checks if we are in the correct platform directory when doing configure (user: zoran, tags: trunk)
11:02
[6ec76aea49] "make test" target fixes environment for doing package test before actual "make install" (user: zoran, tags: trunk)
11:01
[0578b383a6] Just bare-bones loader; now works with "make test" as well (user: zoran, tags: trunk)
11:00
[1be5bdd642] Removed traces to old tdom loader (user: zoran, tags: trunk)
11:00
[e66725042a] Added RCS string to comment (user: zoran, tags: trunk)
10:07
[4de5447229] Resolved TCL_DBGX in tdomConfig.sh instead of propagating the original Tcl value. This makes like simpler for tdom extensions. (user: zoran, tags: trunk)
07:56
[9b7a6d8de2] Relaxed rules for specifying key/value pairs to nodecmd. We now allow both "-key" and "key" specifications. (user: zoran, tags: trunk)
2002-09-30
23:27
[2769a45244] Added a few tests of moving namespaced nodes from one tree to another. (user: rolf, tags: trunk)
23:26
[64e35793a3] Adjusted tests to the changed behavior of getElementsByTagName. Added more tests for getElementsByTagNameNS. Added a few tests for cloneNode method. Tests for setting multiple attributes at once. Added a few tests for appendFromScript. (user: rolf, tags: trunk)
23:17
[69fa7aee8e] Changed getElementsByTagName behavior again. Now it inspects every node, namespaced or not (of course only looking at the tagname). This should be according to the DOM rec. Bug fix fpr getElementsByTagNameNS if uri is "" (no namespace). (user: rolf, tags: trunk)
23:12
[9b3f2ced93] Implemented optional flag -disableOutputEscaping for TEXT_NODE creating nodeCmds inside appendFromScript scripts. Minor bug fix: now errorInfo is returned, in case of script errors inside a appendFromScript script. Editorial change: removed the log info, as in all other source files. (user: rolf, tags: trunk)
23:08
[e95a142242] Make moving namespaced nodes and attributes from one tree to another work. This is not allowed by the DOM rec, but it always worked intentional for not namespaced subtrees, because it's pretty handy in some cases. Additional, if subtrees are moved around in one document, namespace declarations are inserted, if necessary, to make the result a namespace correct result. Again, this does not follow the letters of the DOM rec, which requests, that the application is responsible for this. But it's much more convenient (at least for the application programmer), if the DOM layer takes care about this. If someone really insist in messing up namespace declarations, it still has any chance to do this with changing or removing namespace declaration attributes. (user: rolf, tags: trunk)
2002-09-28
17:29
[81a93a0e3b] Fixed broken test 11.6. (user: rolf, tags: trunk)
00:44
[4e816d173a] Added a few tests for the ne domNode method disableOutputEscaping. (user: rolf, tags: trunk)
00:42
[e888f5e0bc] Added documentation for the new domNode method disableOutputEscaping. (user: rolf, tags: trunk)
00:40
[4573670b04] Added new domNode method disableOutputEscaping. (user: rolf, tags: trunk)
2002-09-27
20:44
[dde8a0bf1b] Added documentation for setStoreLineColumn (user: rolf, tags: trunk)
20:37
[5f24880800] Lots of minor updates and minor fixes. (user: rolf, tags: trunk)
20:35
[8e10d54b19] More tests. Especially new tests, that tests the setting of multiple attributes with one setAttribute call (was not working for more than 4 attrName attrValue pairs). (user: rolf, tags: trunk)
20:28
[fcb04c3d83] A lot of miner bug fixing of the domNode cmd. Now setAttribute could be used with arbitrary pairs of attrName Value. SetAttributeNS now also allows arbitrary triples of uri attrName Value as args. The @attr shortcut does not make sense for PROCESSING_INSTRUCTION_NODEs. SetAttributes requires now at least one attrName Value pair. Added args checks for several methods. NodeValue now works (according to the DOM rec) also for COMMENT_NODEs and PROCESSING_INSTRUCTION_NODEs. (user: rolf, tags: trunk)
14:11
[94d42f1d9c] Changed asHTML serialization. Up to now, CDATA nodes are simply ignored. OK, HTML doesn't have CDATA sections. But since the CDATA nodes are content of the document, they are now simply serialized to text (with the necessary escaping). (user: rolf, tags: trunk)
2002-09-20
01:52
[1d45960b0d] Changed the handling of call-template. Up to now the complete list of templates was scanned to find the requested named template. The hole list must be scanned, because it is possible, that different templates have the same name but different precedence. Now the template with the highest precedence for a given name is dectected at 'startup' and stored in a tcl hash table (prefixed with the namespace, if present). The lookup of a named template now has more or less 'constant' execution time costs, throu the lookup in the tcl hash table. This is probably a small slow down for short XSLT stylesheets with only a few templates but is somewhat important for stylesheets with a lot of templates (as the docbook stylesheets). (user: rolf, tags: trunk)
2002-09-18
22:07
[877829fd76] Further tinkering with rsAddNode, which is most of the problem, that heftix has reported (http://groups.yahoo.com/group/tdom/message/273). This changes are probably not the hole story, but this version passes all my standard tests. (user: rolf, tags: trunk)
2002-09-14
16:00
[e4366dc400] Fixed the tcldom_docTrace prototype (CONSTYfing). (user: rolf, tags: trunk)
2002-09-12
17:13
[29057ac4f2] Fixed problem with appendChild and node crossing doc boundaries for MT-builds. Thanks to Harray Moreau for the patch. (user: zoran, tags: trunk)
2002-09-11
15:28
[49d0197ac3] Fixed document teardown problem when compiled with threads. Thanks to Harry Moreau for the report. (user: zoran, tags: trunk)
2002-09-10
13:55
[e4b54425b6] Added tests, which documents bug reported in http://groups.yahoo.com/group/tdom/message/240 (and the fix). (user: rolf, tags: trunk)
13:51
[2e36e10845] Fix for seg fault, if somebody provides an erroneous XPath (something $node selectNodes {*[1}). Bug reported by "Bart Teeuwisse" <bart-yahoo@7-sisters.com>. Now, returns sensible error msg. (user: rolf, tags: trunk)
13:47
[e497d3576f] Code change to pacify gcc -Wall. (user: rolf, tags: trunk)
2002-09-08
20:12
[1e9eb8feaf] mpatrol'ed and valgrind'ed the tests and fixed a closed a few memory leaks. CONSTyfied tcldom_docTrace() and tcldom_nodeTrace(). (user: rolf, tags: trunk)
20:10
[1f8a0f0d11] mpatrol'ed and valgrind'ed the tests and fixed a closed a few memory leaks. (user: rolf, tags: trunk)
18:21
[0379bd8d82] Added a test. (user: rolf, tags: trunk)
2002-09-07
16:26
[6998863dc4] Editorial change. (user: rolf, tags: trunk)
16:25
[33833391a2] Fixed the sorting by doc order for nodesets, which includes attribute nodes. (user: rolf, tags: trunk)
2002-09-06
21:20
[711bc77d57] Fix. (user: rolf, tags: trunk)
2002-09-03
21:00
[53688c2c65] Improved the error msg, if an unknown XPath function was called: now return also, which function is unknown. (user: rolf, tags: trunk)
2002-09-01
00:14
[f8700bbb5a] Initial check in. (user: rolf, tags: trunk)
00:11
[bc0742b883] Added check to domFreeNode() is needed under some circumstances while using the tdom command. Initialised a var in setDomDocumnet, to pacify -Wall. Fixed docNode handling of the tdom command. (user: rolf, tags: trunk)
00:07
[d08c40ed32] Removed unused var. (user: rolf, tags: trunk)
00:05
[399d6e7a5b] Fixed a couple of bugs related too the usage of multiple tcl scripted handler sets and the tdom command. See stackedhdl.test. (user: rolf, tags: trunk)
2002-08-31
18:48
[850c8fd9f2] Added cleanup of the already builded DOM tree in case of an XML parse error. Fixed the completely broken tdom command (r1.20 removed the "return TCL_OK" at the end of the case's, instead of replacing them with "break".) This means, the tdom command is broken in 0.7.4! (user: rolf, tags: trunk)
2002-08-20
23:50
[4a61df19da] If a tcl coded XPath function returs nodes, we have to sort the result set, because we haven't any guaranty from where in the tree this nodes are and we always asume the resultset to be in doc order. Tcl_DecrRefCount(Tcl_GetObjResult(interp)) seems to have fooled the interp. With it, test xpath-4.9 seg faults. (user: rolf, tags: trunk)
23:44
[ab838fca4d] The new 1.95-4 needs expat_config.h. (user: rolf, tags: trunk)
23:43
[119e5ceddb] Was needed by expat 1.95.1. The new 1.95-4 has renamed this to expat_config.h. (user: rolf, tags: trunk)
23:41
[999508dd49] Editorial/typo fixes. (user: rolf, tags: trunk)
23:39
[a551b99b29] Added a few tests for Tcl coded XPath functions. (user: rolf, tags: trunk)
23:34
[6027fd23d1] Added BYTEORDER define needed by expat 1.95-4. (user: rolf, tags: trunk)
23:29
[4a032d3921] m4 macros for byte order check. It's out ouf the expat 1.95-4 distribution (with small modification). (user: rolf, tags: trunk)
23:26
[50ccf9f14e] Added check for byte order. Define needed by expat 1.95-4. (user: rolf, tags: trunk)
23:24
[d14d944e90] Update from expat 1.95.1 to 1.95.4. (user: rolf, tags: trunk)
23:23
[552e8be473] Not valid any more, because of the change from expat 1.95.1 to 1.95.4. (I wonder, what it was in the first place.) (user: rolf, tags: trunk)
2002-08-19
00:33
[3636f23b8c] Bug fix: for every node type other than element nodes the type given to a tcl coded extension function was "attrnodes", which was cleary wrong for text nodes etc. Added error msg, if the result type of the tcl coded XPath function was not known. (user: rolf, tags: trunk)
00:27
[745b6729b7] Package version bumped to 0.2. (user: rolf, tags: trunk)
00:26
[f5b11e7270] Small opitimization: Now we store the Attribute informatation for an element direct in the TNC_Content structure, and don't look them up every time, they are needed any more. Package version bumped to 0.2. (user: rolf, tags: trunk)
00:23
[215772d6dc] Completely new build stuff, following the lines of TEA 2 and building on the great groundwork of Zoran. (user: rolf, tags: trunk)
00:20
[b04dc7e8af] Not longer needed for the new build stuff. (user: rolf, tags: trunk)
2002-08-09
00:41
[cc052ed3ac] More getElementsByTagName and getElementsByTagNameNS Fixes: it worked on the descendant-or-self axes, now works on descendant axis. Special handling of namespace ""; this now the same as getElementsByTagName. getElementsByTagName does not return any element, that is in a namespace. Plus editorial change. (user: rolf, tags: trunk)
00:34
[026953d29f] More getElementsByTagName and getElementsByTagNameNS tests. (user: rolf, tags: trunk)
2002-08-07
22:38
[7d087beae7] Fixed problems, if there are was no -baseurl given while parsing the stylesheet document. (user: rolf, tags: trunk)
2002-08-06
02:35
[b086ab2cc1] Added doc for new method getElementsByTagNameNS (user: rolf, tags: trunk)
02:35
[72641c4794] getElementsByTagNameNS: made clear, that the user have to give uri and localname. (user: rolf, tags: trunk)
02:27
[ec10501831] Added a few tests for getElementsByTagName and getElementsByTagNameNS (we need more!). (user: rolf, tags: trunk)
02:26
[1f7c74236a] Changed the ref handler so, that absolute urls under w32 (file://C:/...) also work. (user: rolf, tags: trunk)
02:23
[44551d1078] Editorial change: Removed the log out of the file header. (user: rolf, tags: trunk)
02:22
[c2d843993a] Changed the version number to 0.7.5 (user: rolf, tags: trunk)
02:21
[83a955723a] Fixed the getElementsByTagNameNS node method, which was not standard compliant, incomplete and broken in several ways. Added a getElementsByTagNameNS method to the doc interface, according DOM 2. Added a few arg checks to methods. (user: rolf, tags: trunk)
02:17
[4e160a0dad] Fix in domLookupNamespace(). doc->nsptr points to the last used namespace. It is initialized with -1. There for the new <= is right and secure. (user: rolf, tags: trunk)
2002-08-05
00:15
[1491270150] Bumped the 'little help' by Zoran an me to the more realistic 'major contributions'. Added a few things to the features list and w2k to the platforms list. (user: rolf, tags: trunk)
2002-08-04
23:49
[ae0c6f4b12] Add the 'build-in' namespace prefix "xml" also for documents parsed with the simple parser. (user: rolf, tags: trunk)
23:47
[88aeb96b3f] Fix for the format-number() code. Fix for the notorious (notorious what? - Hm, to complicated, to slow) variable/parameter handling. In cases like <xsl:call-template name="PrintNSPrefix"> <xsl:with-param name="prefix"> <xsl:call-template name="GetElementPrefix"> <xsl:with-param name="element" select="$element"/> </xsl:call-template> </xsl:with-param> </xsl:call-template> ie we call a template with a parameter, which setting template calls another template, there was a var scope problem. Code to handle differences between node and attrnode structures at a few places. (user: rolf, tags: trunk)
23:35
[12bab8d699] Bugfix for absolute path starting with full qualified elementname. Notorious Problem: the attribute nodes structure is substantial different from the node structure - no ownerDocument pointer, parent node pointer at different place. This means type check at all places, where the context node could also be an ATTRIBUTE_NODE. This is already done at, well, as this example shows shows, almost all places. Now it's also done for selectRoot. Minor editorial changes. (user: rolf, tags: trunk)
23:27
[1f6a4c4f40] domCreateXMLNamespaceNode() is now also used by xmlsimple. Editorial change: removed the cvs log, as in the other files. (user: rolf, tags: trunk)
23:23
[1541e67085] Fixed handling of the 'build-in' namespace prefix "xml". (user: rolf, tags: trunk)
2002-08-03
20:54
[8d8d823606] Fixed clean files (added the tdomConfig.sh to the list) (user: zoran, tags: trunk)
20:53
[1cd97562f4] Added definitions for generating entries in the config file. (user: zoran, tags: trunk)
20:52
[b42d6e52ff] First import. Used for extensions building (user: zoran, tags: trunk)
20:51
[aa0bf0d9a0] Added some targets for locating and loading the config file. (user: zoran, tags: trunk)
2002-08-02
21:20
[bd3a38e641] Shouldn't this actually be the Mozzila license? (user: zoran, tags: trunk)
21:19
[f4eea6df9d] Added this file. It references the MPL 1.1 so we might add this one also. (user: zoran, tags: trunk)
21:19
[4204a31929] Added the *bare bones* README. (user: zoran, tags: trunk)
19:09
[0689db8101] Added tests for memmove and bcopy early in the configuration sequence. (user: zoran, tags: trunk)
2002-07-29
21:58
[ce90ca7c2b] Changed a few remining isnan to IS_NAN. (user: rolf, tags: trunk)
16:01
[eb1fda13df] Uses normal Tcl allocator for aolserver (user: zoran, tags: trunk)
2002-07-28
23:22
[7bdad16ac2] Moved external files used by some tests from tests/ to tests/data. (user: rolf, tags: trunk)
23:20
[0c74c1fded] Added the inclusion of loadtdom.tcl and adjusted baseURI / load of external files where necessary. (user: rolf, tags: trunk)
23:17
[c131ac18a4] New file: sourced by all.tcl and all test files to enforce (and ensure), that the tcltest package and the newest tdom build are availible in the interpreter. (user: rolf, tags: trunk)
23:15
[da09dc365d] Not needed anymore. (user: rolf, tags: trunk)
23:14
[b952799c5e] Moved to subdir data. (user: rolf, tags: trunk)
17:28
[871000ae8d] Updated the [package provide tdom <version>] to the patch level given by the configure. (user: rolf, tags: trunk)
17:20
[0cbcc81d53] New versions of the man pages, generated with the -soelim option enabled (that means, the man.macros are not included with .so man.macros, but in deed included in every man page, as the tcl core man pages also do, because of some problems at some systems with the .so directive). (user: rolf, tags: trunk)
17:17
[4731c5683f] Removed, because this file is not needed to build the man pages with the standard tmml tools and since the man pages are now build with -soelim, the man pages even don't need man.macros (so .so of them anymore). (user: rolf, tags: trunk)
17:14
[e3812f2935] Removed footer.xml and index-chars.xml. They are not needed, if the HTML doc is build with the standard tmml tools. (user: rolf, tags: trunk)
08:43
[8b287177a8] Fixed reference to old expat directory (user: zoran, tags: trunk)
08:32
[1524fd9d1a] Moved here for the TEA builds (user: zoran, tags: trunk)
08:27
[6eb6a47711] Moved to new memory allocation macros. (user: zoran, tags: trunk)
08:15
[d6a65d5b13] Added for new TEA build (user: zoran, tags: trunk)
08:13
[f0cb3c6ac0] Now moved to the ../expat directory (user: zoran, tags: trunk)
08:11
[da3ad62e7d] Now moved to ../expat directory (user: zoran, tags: trunk)
08:10
[6983356974] Added. Content is the expat version used. (user: zoran, tags: trunk)
08:09
[416ed0f90d] Files from the expat-* directory should now live under the "expat" since this eases build scenarios. (user: zoran, tags: trunk)
08:06
[c1325838b3] Removed in preparation for new TEA build. Some files are now moved to the source dir, some to tclconfig. (user: zoran, tags: trunk)
08:04
[ae05a9d2c2] Added new TEA build (user: zoran, tags: trunk)
2002-07-25
00:47
[e81a5db4b2] Closed a memory leak, if the data to parse turns out to not be well-formed XML. (user: rolf, tags: trunk)
2002-07-22
13:28
[246e713d28] Added the "-soelim" option, so that the created man pages inlcudes the man.macros (and not per .so command). That's necessary, to display the man page correct on certain systems. Introduces the problem, that processing the TMML doc requires the soelim tool. Since this more or less matters only the maintainer and the developers, that's regarded as a minor problem. (user: rolf, tags: trunk)
2002-07-19
14:58
[1855514489] Removed excess CR's since it is confusing the suncc (user: zoran, tags: trunk)
2002-07-17
15:01
[83d8ed76cc] Corrected strange constructs [$doc documentElement $doc]. (Problem found bei Zoran.) (user: rolf, tags: trunk)
01:44
[289784d373] Fixed some memory problems (which could result to seg fault, for invalid documents, because after detection of the validation error some structures would have been not filled, as expected by free proc. Got rid of the ridiculously zero/one pointers. Start overhaul of the hole thing. (user: rolf, tags: trunk)
01:34
[481bc0be4b] Closed a small memory leak. (user: rolf, tags: trunk)
01:34
[f8d7ad35d7] Fixed both a memory leak and seg fault problem (depending on circumstances). (user: rolf, tags: trunk)
01:31
[ca7eb95e35] Initializing xs.stripInfo.hasData and xs.preserveInfo.data avoids unnecessary traversal of the XML sources (if no white space must be stripped) (user: rolf, tags: trunk)
01:28
[0ae5ead236] Fixed opaque memory allocation. (user: rolf, tags: trunk)
2002-07-14
14:41
[2eb1aee07c] Removed the free'ing of the element content modes, returned by expat. They are now free'ed in tclexpat.c. (user: rolf, tags: trunk)
07:07
[b7613f9f1e] Was including WRONG stub file (should test more before commit!) (user: zoran, tags: trunk)
07:02
[6fc22941f1] Revert to standard Tcl_Alloc/Tcl_Free for AOLserver builds. This is because those are redierected to AOLserver own memory management functions which are better suited for MT operation (user: zoran, tags: trunk)
07:00
[1016ea7901] Added small comment describing what aolstub.cpp does. (user: zoran, tags: trunk)
06:59
[32397fe9f1] Loads the stub only inf NOT compiled within the tdomtdp extension (user: zoran, tags: trunk)
06:20
[274aaa63df] Changed order of loading h files (dom.h comes before domalloc.h) (user: zoran, tags: trunk)
2002-07-12
17:19
[1df636f8dd] Fixed some typos. (user: rolf, tags: trunk)
2002-07-11
23:37
[bb2be003a5] A few more tests for setAttributeNS (user: rolf, tags: trunk)
23:35
[213b5ccd1b] First short instructions, how to create HTML files and man pages from the TMML documentation. (user: rolf, tags: trunk)
23:09
[3226478015] Enhanced the setAttributeNS documentation. (Hopefully) clearyfied the other *AttributeNS methods (user: rolf, tags: trunk)
23:07
[beb9fcfc8c] Initial commit (user: rolf, tags: trunk)
23:06
[7e9e1e12d5] Initial commit of the dtd of the tmml files. Handy, to have it in the doc dir, for validation. (user: rolf, tags: trunk)
21:31
[355e36034a] Added a test for the new HTML entities. (user: rolf, tags: trunk)
21:31
[6d4b7b7e9c] Corrected "yacute" entity (\335) to "Yacute". Added all HTML entites known by XHTML 1.0 (see http://www.w3.org/TR/2000/REC-xhtml1-20000126/#dtds A.2 Entity Sets.) (user: rolf, tags: trunk)
06:56
[a7bb097f96] First import. (user: zoran, tags: trunk)
06:40
[41b20aaa8d] Updated AppendResult macro (was broken by the previous checkin (user: zoran, tags: trunk)
05:10
[f805904693] Fixed SetResult (and friends) again: previous change did forget to set the interp result after copying the (shared) object. Huh! (user: zoran, tags: trunk)
01:25
[cafc0dd27c] Fixed character entity handling for tcl >= 8.1. Fix for documents, that only have a documentElement "<doc/>" - there was not rootNode added for this documents. (user: rolf, tags: trunk)
01:22
[a4afd7f729] Fix for setAttributeNS (user: rolf, tags: trunk)
01:14
[da21eba74d] Optimization for xpath expr of the form 'foo[1]' or 'foo[position() < 3]': build the result node set only up to the point, needed for the filter predicate. (user: rolf, tags: trunk)
01:08
[70b8ed2449] Fixed handling of character entities for tcl >= 8.1 (user: rolf, tags: trunk)
01:00
[c862db14a7] Fix for setAttributeNS: Added more tests of the arguments (user: rolf, tags: trunk)
00:54
[4788565b3a] Added tests for method setAttributeNS (user: rolf, tags: trunk)
00:53
[ce1970c310] Started a test file for the HTML parser (user: rolf, tags: trunk)
00:52
[33bbc21f67] Started a test file for the simple parser (user: rolf, tags: trunk)
2002-07-10
16:38
[ce2fe80370] Fixed macros fiddling with object result: now they properly check if the object in the interp result is shared or not and do a proper object duplicate before changing the value. (user: zoran, tags: trunk)
03:19
[277ce9b1b7] Reset interp result in nodecmd_appendFromScript to leave the clean object rep because tcldom.c SetResult and friends macros fail to check the object found in interp result for being shared (or not) (user: zoran, tags: trunk)
2002-07-07
21:15
[3348afa16c] Added NaN/Infinity handling related tests. (user: rolf, tags: trunk)
21:12
[936b72d814] More changes and fixes related to the NaN/Infinity problem. (user: rolf, tags: trunk)
2002-07-05
12:18
[d04dfd3362] Changed handling of nan/inf/-inf. Should now work on a wide(r) range of plattforms and (hopefully) not any more a build problem. (user: rolf, tags: trunk)
2002-07-04
15:06
[e48709c4b3] fixed reference to unsigned* to char since Sun compiler barfs at it. (user: zoran, tags: trunk)
12:32
[c82a4bbb4f] Removed a not reached return NULL to satisfy (picky) Sun compiler. (user: rolf, tags: trunk)
11:28
[895fec6100] Changed some switch logic to satisfy (picky) Sun compiler. (user: zoran, tags: trunk)
2002-07-03
13:47
[791f0f1c94] Cosmetic changes, to pacify some compilers (compile warnings). (user: rolf, tags: trunk)
10:12
[ee41562449] Fixed conditional for Sun compilation; now properly checks both __sun__ and __sun to satisfy both GCC and Sun's own compiler. (user: zoran, tags: trunk)
10:11
[3dd7939827] Added some comments so one could better understand the output of the Sun's compiler; most notably lines of code never reached. (user: zoran, tags: trunk)
10:10
[f6aae9285b] Removed spurious ctrl-m; heh, windows users ... (user: zoran, tags: trunk)
2002-07-02
22:52
[e8d68632ba] Fixed a compilation error on AIX. (user: rolf, tags: trunk)
20:20
[a0b24cf429] Added test, that documents the childAppend bug (and that it's fixed). (user: rolf, tags: trunk)
19:25
[cf121768d4] Fixed references to CONS'ified Tcl API (8.4 and later) Also, fixed (disappeared) NODE_NO references which broke the threaded build (mainly in the dom.c) (user: zoran, tags: trunk)
07:06
[b39c6efc96] Fixed some make/compile problems (reported by Larry Virden) (user: loewerj, tags: trunk)
2002-06-26
17:39
[ddd751a059] Fixed `make install` and pkgIndex.tcl. (user: rolf, tags: trunk)
2002-06-25
23:35
[4f4e1b94f3] Re-added the improved reuse of namespace indexes, that was removed by mistake with the previous commit. (user: rolf, tags: trunk)
13:06
[70a1200332] fixed ugly appendChild bug. (user: loewerj, tags: trunk)
2002-06-24
15:19
[c8e83afb83] Bug Fix in error handling code. (user: rolf, tags: trunk)
2002-06-23
20:51
[c632e9437a] new enhancements for better robust parsing (user: loewerj, tags: trunk)
20:49
[7547293c07] fixed problem when parsing single tag (user: loewerj, tags: trunk)
08:36
[c6d2cbfa28] Made -DTDOM_NO_UNKNOWN_CMD the default. (user: rolf, tags: trunk)
00:25
[42237afcd2] Removed tclDummyMathPtr. Not needed since tcl7.6, and would break build with upcomming tcl8.4. (user: rolf, tags: trunk)
00:23
[6e10b49cd5] Made -DTDOM_NO_UNKNOWN_CMD the default. (user: rolf, tags: trunk)
00:21
[ce6236ad2e] Made simple parser -baseurl and -externalentitycommand aware. (user: rolf, tags: trunk)
00:20
[f39edd49bb] Made simple parser namespace awareness work. Made simple parser -baseurl and -externalentitycommand aware. (user: rolf, tags: trunk)
00:16
[b790da375b] Changed findBaseURI(), that it works also with the now -baseurl aware simple parser. Removed dom -ns option, which was senseless since some time and even would break anything, if used, because DOM keeps track on namespaces by it's own. (-ns even wasn't documented.) (user: rolf, tags: trunk)
00:11
[68a83dd4ee] Minor bug fix. (user: rolf, tags: trunk)
00:05
[10e1e38aa0] Improved reuse of namespace indexes. (user: rolf, tags: trunk)
2002-06-21
10:38
[621b16c214] Fixed node numbering to use document-private node-counter when compiled with -DTCL_THREADS. Node Tcl-command names are still defined in the usual fashion, by using the (unsigned int)(domNode*) in order to get unique command names within the process and accross thread/interp combi. (user: zoran, tags: trunk)
09:52
[cdc2797d0e] Added a importand missing break. (user: rolf, tags: trunk)
2002-06-20
19:16
[e6be684d82] Re-inserted a varaible declaration needed for tcl >= 8.1 (compile error) (user: rolf, tags: trunk)
13:15
[ee0db9b972] fixed compile warnings (user: loewerj, tags: trunk)
13:14
[1a2378d93d] fixed compile warnings (user: loewerj, tags: trunk)
12:58
[2ea744e7bd] fixed compile warnings (user: loewerj, tags: trunk)
12:23
[c0f5ca15e9] made namespace aware (user: loewerj, tags: trunk)
12:22
[d88f8c6893] fixed Tcl8.0.x compile problems (user: loewerj, tags: trunk)
12:21
[243441d7da] fixed typo (Tcl8.0.x compile problem) (user: loewerj, tags: trunk)
12:20
[d7cf9c525f] fixed formatting (user: loewerj, tags: trunk)
12:18
[bf4ffaa595] fixed indentation (user: loewerj, tags: trunk)
2002-06-19
23:55
[e3de7b186c] Updated to the newest version from tmml head. (user: rolf, tags: trunk)
2002-06-14
23:48
[99d0ac424e] Added documentation for new -parameters option for the xslt method. Fixed @attrName option. Bit cleanup. (user: rolf, tags: trunk)
22:59
[193a375003] Added tests for setting FQ top-level parameters via the -parameter option. (user: rolf, tags: trunk)
22:54
[07cd6b0eca] Now, if templates are called with with-params, for which they haven't a parameter, this with-params are ignored, as the spec requests. (Up to now the where wrongly visible.) Made FQ top-level params settable via the xslt -parameter option. Minor bug fix in numbering code. (user: rolf, tags: trunk)
2002-06-10
01:03
[03f1a66395] Mainly made xsl:decimal-format/format-number() somewhat work (no user defined per-mille sign at all (and no detetection even of the default per-mille special char for tcl8.0 users) and only 7 bit ASCII chars for all other special chars, but at least that seems to work, with changed default decimal-format and named decimal-formats and namespaced decimal-formats and such bells and whistles. (user: rolf, tags: trunk)
01:02
[4c0c694345] Closed a few memory leaks. (user: rolf, tags: trunk)
01:02
[c38384c9fa] Namespace handling fix. (user: rolf, tags: trunk)
2002-06-07
08:51
[09eb27be69] Fixed memory leak in domFreeNode (user: zoran, tags: trunk)
2002-06-06
11:27
[000ea73aae] Fixed a bug (typo) (user: rolf, tags: trunk)
2002-06-03
18:59
[99bd7aa3a8] Fixed missing reference count on extResolver object in domReadDocument. (user: zoran, tags: trunk)
2002-06-02
06:37
[2d478cb11e] Added domlock.obj (user: zoran, tags: trunk)
06:36
[7077725403] Added thread safety with capability of sharing DOM trees between threads and ability to read/write-lock DOM documents (user: zoran, tags: trunk)
06:34
[a9ea60df26] Added reader/writer locks for threaded builds (user: zoran, tags: trunk)
06:33
[c7e52dd052] Added Tcl_StaticPackage call (user: zoran, tags: trunk)
06:32
[0630d932dc] Updated to the version supplied with tcl8.3.4 since it contains setup from "-lpthread" for lib (user: zoran, tags: trunk)
06:31
[575b3d81c4] Added domlocks.c file (user: zoran, tags: trunk)
2002-05-26
19:55
[adaa1ca752] Fixed the fix about var scopes - the parameters set with with-param must of course not be visible in the scope of the caller (call-template, apply-templates). Better handling of error cases: pop the var frame always befor checking the result code of ExecActions. This should guarantee var memory cleanup even in error cases therefor prevents (even more) memory leaks. Don't free the baseURI's subdoc entries for the xml and xslt document, because this strings are owned by the documents. (user: rolf, tags: trunk)
19:54
[a95866d02a] Prevent the extResolver Tcl_Obj from shimmering by copying. (I wonder, why incrementing the ref Count is not enough, but I got "UpdateStringProc should not be invoked for type cmdName" panics while stress testing, which vanished, after this change.) (user: rolf, tags: trunk)
19:52
[5a21f73136] Better handling of xslt -parameter option (copying of the parameter list guarantees, that the pointer to the string reps of the list obj's remain valid, even if somebody tries to cheat or does something unusual at tcl level in some handler script). (user: rolf, tags: trunk)
2002-05-24
13:51
[fa50653391] Closed some really big leaks (incomplete cleanup of subdocs). Plus better cleanup in case of xslt errors. (user: rolf, tags: trunk)
13:48
[45964023c8] Copy the extResolver for every dom document. The reason, why this is needed, is deep inside of tcl's handling of Tcl_Obj's. Inrecementing the obj's refCounter doesn't protect the obj to 'shimmer' (to change his internal representation). TclCmdNameObj's don't know how to regenerate there string representation, if that string rep was invalidated. If that happens, tcl panics with "UpdateStringProc should not be invoked for type cmdName". (user: rolf, tags: trunk)
2002-05-23
22:27
[1a0f855ef3] Better code for xslt -parameter handling (user: rolf, tags: trunk)
22:25
[1a77be3578] Fixed bug with var scope (a var/param is only visible inside his defining template). Closed memory leak (don't strdup -parameter names). Better cleanup in case of xslt errors. (user: rolf, tags: trunk)
22:19
[b5dd1d0555] Added deleting of the created parser objects, for lesser 'noise', while memory leak debugging. New test in xslt (var scope bug). (user: rolf, tags: trunk)
2002-05-22
16:42
[50118713e6] Added deleting of the created parser objects, for lesser 'noise', while memory leak debugging. (user: rolf, tags: trunk)
16:40
[6b68d7b876] Fixed a memory leak (handling of element content models). (user: rolf, tags: trunk)
2002-05-19
00:41
[adc606e802] Optimization for predicate handling. No visible effect with standard xsltmark test files, but a lifesaver for other cases out of the wild. For example, xmlconf.xml / xmlconformance.xsl out of http://www.oasis-open.org/committees/xml-conformance/suite-v1se/xmlconf-20010315.htm is speeded up more than six times. (user: rolf, tags: trunk)
2002-05-17
14:24
[4299a6eab1] With space is significant, in source documents. (user: rolf, tags: trunk)
2002-05-16
20:36
[f59c38b4f0] External entities, needed by the dtd tests. (user: rolf, tags: trunk)
20:34
[3e0659712a] Added helper proc's, that read xml declaration, detect the encoding of the XML data and configures the input channel. (user: rolf, tags: trunk)
20:28
[af8232dbf8] Removed reference to TclXML. Use [package require tdom] instead of [package require expat 2.0]. (user: rolf, tags: trunk)
17:45
[a25ac56080] Added a xpath test non US-ASCII chars (uh, blame me, only one...) (user: rolf, tags: trunk)
17:30
[33e13ca4d3] Added tests for setting of global parameters. (user: rolf, tags: trunk)
17:10
[eed5e62bf7] Updated tests to the changed createDocumentNS syntax. Added some tests. (user: rolf, tags: trunk)
13:16
[e60fa09baf] There's something wrong, with the header files (well, at least VC++6.0 thinks so). Seems, it works in this include order. (user: rolf, tags: trunk)
12:46
[bda233a9c9] Corrected version numbers. (user: rolf, tags: trunk)
12:03
[d3a7fead57] Corrected tdom stubs table export. (user: rolf, tags: trunk)
2002-05-15
23:21
[36c50120a9] Updated after tdom.decls change (we don't have a hook). (user: rolf, tags: trunk)
22:56
[9fde8342b2] Changes needed for MS build. (user: rolf, tags: trunk)
22:54
[cee75cca67] Export tdom stubs table. (user: rolf, tags: trunk)
22:46
[c511c160a6] Inital commit (user: rolf, tags: trunk)
22:12
[caa786e427] Use tdom stubs table. (user: rolf, tags: trunk)
21:21
[e787af70d9] Initial check in. (user: rolf, tags: trunk)
20:19
[9c7ef4e572] Simplified QName check for creation of elements with xsl:element. Added QName check for creation of attributes with xsl:attribute. Report unresolvable prefixes in xml:strip-space / xml:preserve-space. (user: rolf, tags: trunk)
20:15
[35df4f33d8] Inital commit (user: rolf, tags: trunk)
19:42
[fcd3a5fdda] New files needed for the tdom stubs table. (Under unix, tDOM still isn't build as stubs enabled extension, because that's a lot of define hassle, as log as Jochen need tcl8.0.5 support. But the extension stubs table is needed for the MS plattform, to make tDOM extensions - like tnc - work.) (user: rolf, tags: trunk)
16:19
[7913817752] *** empty log message *** (user: rolf, tags: trunk)
2002-05-13
23:24
[2ebe7a8cbd] Ignore (user: rolf, tags: trunk)
2002-05-11
16:57
[53f9d10272] Made variable/parameter namespace aware. (user: rolf, tags: trunk)
2002-05-10
21:52
[80c514621e] Made modes namespace aware. (user: rolf, tags: trunk)
20:29
[58cd284453] Made key names namespace aware. (user: rolf, tags: trunk)
02:30
[9e4ae2ec82] A few things at one: Made attribute set names namespace aware. If a literal result node has no namespace, and at the insertion point of the result tree is a default namespace in scope, unset the default namespace, while adding the node. Enhanced domSetDocument, that it not only set the ownerDocument right, but also resets the namespace indexes. (user: rolf, tags: trunk)
2002-05-09
01:17
[f376f8d74e] Futher i18n-lization. Most basic stuff in xpathLexer() should be done no, though there is much room left for optimations. (user: rolf, tags: trunk)
2002-05-07
23:44
[559305970e] A NMTOKEN is always != the empty string (""); NMTOKENS are always at least one NMTOKEN. (user: rolf, tags: trunk)
2002-05-04
01:30
[378cc65ccb] Inlined xpathRSInit (for speed). (user: rolf, tags: trunk)
01:29
[04590fa80c] Some optimizations and a bit code cleanup. Removed all XPath functions code from xpathEvalStep() and packed it in a own xpathEvalFunction() function. Introduced a xpath function tag for fast identifying of the function; the tagging is done at xpath expression parse time (since the function name is already known, at this time) and therefor saves any strcmp() calls for any following calls to the function. Stripped the initialization of xpathResultSet's down to setting the type (to EmptyResult) and the nr_nodes (to 0) - that's all needed settings - and inlined the xpathRSInit(). (user: rolf, tags: trunk)
2002-05-03
01:23
[f5347c9ef2] Improvement for XPath substring(): Really only a corner case: postive infinity is a acceptable value for the third arg. (See XPath rec 4.2, it has an explizte example for this.) (user: rolf, tags: trunk)
2002-05-01
00:54
[24fb8a62ad] Introduced AxisDescendantLit and AxisDescendantOrSelfLit (a bit of a, aehm, let't call it workaround). With that, wie can distinguish between // and descencant or descendant-or-self. And reinsert the handling of the predicate filter with respect to the child axes for // in xpathEvalStepAndPredicates(). (user: rolf, tags: trunk)
2002-04-30
00:32
[883658ca7c] Better error detection in xsl:element: ":foo" isn't really a QName. Damned complicated check, for this single corner case, sigh. (user: rolf, tags: trunk)
00:26
[a6793350a4] Bug fix for XPath local-name(): the local name of a default namespace attribute (xmlns=".."") is the empty string "" (XPath rec 5.4) (user: rolf, tags: trunk)
2002-04-29
23:37
[5c727a1687] Bug fix for literal result elements and namespace copy from source to result: of course copy only the actual scope, not hidden namespaces (that ended in not wellformed results)! I thought, that is done already, but I simply was dreaming. Now we have this four interleaved while loops, which is quit a mess, in case of pathologic documents, like very deep one, lot's of namespaces declarations etc. (user: rolf, tags: trunk)
20:49
[c264ddc33a] Bug fix in domAppendNewElementNode(): if element uri is NULL, but there is a default namespace in scope, add xmlns="" (unset default namespace). (user: rolf, tags: trunk)
16:42
[1de23925e3] Bug fix in count(). Bug fix: corrected typo in unparsed-entity-uri() function name. (user: rolf, tags: trunk)
16:26
[3f260eddd1] Made xsl:call-namespace namespace aware. (user: rolf, tags: trunk)
15:56
[bc58a13476] Better propagation of (+/-)Infinity. (user: rolf, tags: trunk)
14:04
[003b2a37da] Cleanup in xpathEvalStep(): Use consistently xpathEvalStep() for every argument of XPath functions (instead of several xpathEvalSteps()). This is save, because XPath function calls are added with AddChildWithEvalSteps() in Production(FilterExpr). (user: rolf, tags: trunk)
03:29
[c2d5fcb1eb] Better propagation of NaN. (user: rolf, tags: trunk)
02:29
[92244eac07] Bug Fix: namespace attributes are not in a namespace. (user: rolf, tags: trunk)
02:12
[ba9ff2790f] Bug fix for XPath substring(). The type change of the var 'from' from unsigned int to int prevents an error, if from must be negative in the substring code. A bit code cleanup (and added handling of EmptyResult for two of the XPath functions. (user: rolf, tags: trunk)
2002-04-28
23:56
[e1bad840e7] Bug fixes in new UnaryMinus and full qualified attribute queries code. (user: rolf, tags: trunk)
23:26
[9490c37af4] Bug fix for xpath round(): round(-2.5) should return -2. (user: rolf, tags: trunk)
22:27
[a9500c3a2b] Improved xsl:elements: non QNAME name as element name is detected now. Bug Fix in domSetAttributeNS(). Small improvement of domCopyTo(): don't copy namespace attribute if it isn't necessary. Bug fix for xsl:copy. (user: rolf, tags: trunk)
22:20
[48fafe5882] Added full qualified and namespace wildcard attribute queries. Fixed a Bug with following axis expression starting from an attribute. Added handling of UnaryExpr to xpathEvalStep(). Improved xpathGetPrio(). (user: rolf, tags: trunk)
2002-04-26
01:14
[6925b06892] Improved namespace support. New domCopyTo() for XSLT. Little improvement of xpathGetPrio(). (user: rolf, tags: trunk)
2002-04-23
23:55
[40f2ded91f] Bug fix for following axis starting from an attribute. (user: rolf, tags: trunk)
23:41
[12a19a41ee] Bug Fix in xpathMatches (user: rolf, tags: trunk)
22:01
[ae97545ffc] Improved namespace handling for xsl:attribute. Improved attribute node set handling. Improved error detection: Unknown xslt elements and top level elements not in any namespace are reported. (user: rolf, tags: trunk)
20:46
[d7989bd111] domSetAttributeNS: if the attribute is in a namespace, check, if the namespace, actually bound to the attribute prefix is in deed the same, the attribute must be in. (user: rolf, tags: trunk)
20:42
[5a2a55be3e] Bugfix for FillNodeList: a match pattern with predicate may need a FillNodeList. Such a match pattern can now match the documentElement. (user: rolf, tags: trunk)
2002-04-22
21:33
[ab569aef00] Editorial changes. (user: rolf, tags: trunk)
21:32
[5b62c9f047] Added xsl:namespace-alias. (user: rolf, tags: trunk)
00:54
[4ff4ec642f] Improved handling of literal result elements: now namespaces in scope are also copied to the result tree, if needed. exclude-result-prefixes and extension-element-prefixes of xsl:stylesheet elements are respected. (Still to do: xsl:extension-element-prefixes and xsl:exclude-result-prefixes attributes of literal elements.) (user: rolf, tags: trunk)
2002-04-19
20:48
[084a5878bb] Added handling of IS_NS_NODE flag set for an attribute node at a few more places. (user: rolf, tags: trunk)
18:55
[b5afde4623] Changed / enhanced namespace handling and namespace information storage. The namespace field of the domNode and domAttributeNode structurs is still set. But other than up to now, namespace attributes are now stored in the DOM tree as other, 'normal' attributes also, only with the nodeFlag set to "IS_NS_NODE". It is taken care, that every 'namespace attribute' is stored befor any 'normal' attribute node, in the list of the attributes of an element. The still saved namespace index in the namespace field is used for fast access to the namespace information. To speed up the look up of the namespace info, an element or attributes contains to, the namespace index is now the index number (plus offset 1) of the corresponding namespace info in the domDoc->namespaces array. All xpath expressions with the exception of the namespace axes (still not implemented) have to ignore this 'namespace attributes'. With this enhanced storage of namespace declarations, it is now possible, to find all "namespaces in scope" of an element by going up the ancestor-or-self axis and inspecting all namespace declarations. (That may be a bit expensive, for documents with lot of namespace declarations all over the place or deep documents. Something like http://linux.rice.edu/~rahul/hbaker/ShallowBinding.html (thanks to Joe English for that url) describes, may be an idea, if this new mechanism should not scale good enough.) Changes at script level: special attributes used for declaring XML namespaces are now exposed and can be manipulated just like any other attribute. (That is now according to the DOM2 rec.) It isn't guaranteed (as it was), that the necessary namespace declarations are created during serializing. (That's also DOM2 compliant, if I read it right, even if this seems to be a bit a messy idea.) Because the old behavior have some advantages, from the viepoint of a programmer, it eventually should restored (as default or as 'asXML' option?). (user: rolf, tags: trunk)
2002-04-10
02:48
[e0fda7769a] Optimization: Now handles xsltVarFrames and xsltVariables as stacks, instead of constantly malloc/free it. On the way removed xsltVariable->select (because it isn't used anywhere) and renamed xsltVariable->value to xsltVariable->node (because that's, to what this structur member points). (user: rolf, tags: trunk)
2002-04-09
17:20
[e3ba6d222a] Actual HEAD does not compile (!! arg). With this (intermediate) state it should. Some of the changes will be undo and replaced by others. (user: rolf, tags: trunk)
01:59
[69ed879f48] xslt rec 5.2: "The string-value of an element node is the concatenation of the string-values of all text node descendants of the element node in document order." (Also true for root node.) The xpathGetTextValue() could not used for recursive getting of the text node descendants, because it also returns the text value of comment and processing instruction nodes. xpathGetTextValueForElement() does, what the spec requires. (user: rolf, tags: trunk)
01:17
[78779edd38] Corrected the check in log for the least check in... (user: rolf, tags: trunk)
01:14
[691495afd1] Allowed reseting of variable in successive for-each loops (of course not in one loop) and inside template bodys of xsl elements. xt, xalan (and gnomexslt, for what is's worth) do, saxon don't - and the spec isn't really clear about this (I would say, it's right now). Anyway, there are only two clear ways, to handle this: allow it, or don't. tDOM does, but variable declarations inside the for-each (or other template bodies of xslt elements) polluted the var context outside the for-each or template bodies, which is clearly wrong (example: xalan tests: variable20, local: varscope). Unfortunately, the XSLT 2.0 WD is a bit clearer about this and does it the saxon way (no wonder, since Kay is the editor of that spec ;-)). But then XSLT 2.0 is another story, where currently definitely not in. (user: rolf, tags: trunk)
2002-04-08
03:43
[30ab7af562] Optimation: re-initialize current var frame in ApplyTemplates() loop only if necessary (i.e. if the applied template has "populated" it). (user: rolf, tags: trunk)
02:11
[cf4305e95b] Added -parameters option to domNode xslt method, to enable setting of top level parameters from tcl level. (user: rolf, tags: trunk)
02:01
[123891f1e6] Added optional -parameters option to domNode xslt method, to enable setting of top level parameters from tcl level. BugFix: Don't use direct calles to ApplyTemplate(), always go throw ApplyTemplates(), to get var context right (example: xalan tests variable35). (user: rolf, tags: trunk)
2002-04-06
18:05
[1d7b74d309] Bug fix for attribute value templates: "A right curly brace inside a Literal in an expression is not recognized as terminating the expression." (xslt rec 7.6.2) (user: rolf, tags: trunk)
00:44
[d98de7757e] Added a few more rsAddNodeFast and checkRsAddNode. (user: rolf, tags: trunk)
2002-04-05
16:47
[18a313771b] Bug fix for attribute value templates. Should now handle cases like attr="}}" and attr="{{" right. (user: rolf, tags: trunk)
2002-04-02
00:36
[bc13e06b37] Escape '\n' in Attribute Values while serializing, to fulfill the note in xslt rec. 7.1.3. (user: rolf, tags: trunk)
2002-04-01
04:24
[1cf8371190] Closed a memory leak in not(). (user: rolf, tags: trunk)
2002-03-31
03:27
[b11313f86e] Enhanced the useage of rsAddNodeFast(). Fixed a bug in Production(StepPattern) and closed a memory leak in xpathMatches(). (user: rolf, tags: trunk)
03:22
[5c2eaabf66] Closed a memory leak in xsltFreeStats(). Changed xsl:element handling (work in progress). (user: rolf, tags: trunk)
2002-03-25
13:56
[eb5288f209] Initial check in. (user: rolf, tags: trunk)
01:29
[36b80d4fb1] Closed some memory leaks. Fixed a bug in // handling. A bit code cleanup. (user: rolf, tags: trunk)
01:28
[42fdb62c0c] Closed a cuple of memory leaks. A bit Code cleanup. (user: rolf, tags: trunk)
2002-03-23
00:31
[a4ded5b2c6] Fix for multiple predicates on pattern steps. Patterns of the form foo[attr='c'][2] now work correct. (user: rolf, tags: trunk)
2002-03-22
00:14
[88276c97b8] Removed some overseen debugging code. (user: rolf, tags: trunk)
2002-03-21
01:47
[0e6533ac59] Collected the various nodeSet Result types into "nodeSetResult" (there still exists a seperate emptyResult type). Reworked xpathEvalStep. Fixed memory leak in xpathMatches, added rsAddNodeFast(), if it's known for sure, that the node to add isn't already in the nodeSet. (user: rolf, tags: trunk)
2002-03-16
13:06
[f00c8a6439] Optimised xsl:sort: the string or numeric value of the nodes to sort are computed only once and cached for further comparisons in the sort process. (user: rolf, tags: trunk)
2002-03-14
13:28
[cbe771bf12] Fixed the Fix of the last commit. (user: rolf, tags: trunk)
01:27
[7b7e247135] Minimal Fix: doubled namespaceURI method corrected to prefix (user: rolf, tags: trunk)
2002-03-10
01:21
[2fa449f347] Added documentation for the new dom command method createDocumentNS. (user: rolf, tags: trunk)
01:20
[473353233e] Added tests for [dom createDocument] and the new [dom createDocumentNS]. Documented a bug (test dom-3.1). (user: rolf, tags: trunk)
01:17
[ca9c194567] Added method createDocumentNS to the dom command. (user: rolf, tags: trunk)
01:16
[bd23419f09] Added support for [dom createDocumentNS]. Added tests for correctness of document Element tag name. (user: rolf, tags: trunk)
01:14
[44b0ba5fd3] Introduced distinction between XML Name and XML NC Name. (user: rolf, tags: trunk)
2002-03-08
23:49
[6c5f787294] Fixed small, obvious bug in DBG code. (user: rolf, tags: trunk)
2002-03-07
22:16
[916956c205] Improved recognition of REALs (of the form .123). Made variable name recognition UTF-8 save. Freeze of actual state, befor feeding stuff to Jochen. (user: rolf, tags: trunk)
22:11
[cf9a256595] Freeze of actual state, befor feeding stuff to Jochen. (user: rolf, tags: trunk)
22:09
[f180b1c8a2] Added infrastructur to be able to do NCNAME tests. Freeze of actual state, befor feeding stuff to Jochen. (user: rolf, tags: trunk)
22:04
[80cde7bfa4] Freeze of actual state, befor feeding stuff to Jochen. (user: rolf, tags: trunk)
2002-03-05
16:15
[687ef565b9] Dummy config.h needed for expat. (user: rolf, tags: trunk)
2002-03-03
20:08
[4b3d9115e0] Improved detection of improper stylesheets: now triggers error if any mandatory attribute of a xsl element is missing. The mandatory attributes are: xsl:stylesheet: version; xsl:transform: version; xsl:include: href; xsl:import: href; xsl:strip-space: elements; xsl:preserve-space: elements; xsl:call-template: name; xsl:namespace-alias: stylesheet-prefix result-prefix; xsl:element: name; xsl:attribute: name; xsl:attribute-set: name; xsl:processing-instruction: name; xsl:value-of: select; xsl:for-each: select; xsl:if: test; xsl:when: test; xsl:variable: name; xsl:param: name; xsl:copy-of: select; xsl:with-param: name; xsl:key: name match use (user: rolf, tags: trunk)
01:02
[8ba496bb01] tcltest test suite started. The expat related tests are mostly out of an older tclexpat test suite by Steve Ball (reviewed, bug fixed and adapted to tDOMs SAX interface). Plus a few tDOM specific tests. (user: rolf, tags: trunk)
2002-03-01
04:06
[5350288274] Improved detection of improper stylesheets: xsl:include xsl:import xsl:strip-space xsl:preserve-space xsl:apply-imports xsl:namespace-alias xsl:value-of xsl:number xsl:sort xsl:copy-of xsl:key xsl:decimal-format and xsl:output must be emtpy. (user: rolf, tags: trunk)
01:30
[1ac62d594e] No real code changes. Only to log additional change in 1.3: Fixed namespace overflow throu repeated (identical in prefix and uri) namespace declarations. (user: rolf, tags: trunk)
01:18
[8cc106f218] Changed parsing. [dom parse ..] now uses Tcl_GetStringFromObj(), dom parse -channel now respects the encoding of the channel. (user: rolf, tags: trunk)
01:16
[7f6fbcaa63] Changed behavior of [<parserObj> parse <data>] and [<parserObj> parsechannel <Tcl channel>]. The method 'parse' now uses Tcl_GetStringFromObj(), the method 'parsechannel' now respects the encoding of the channel. (user: rolf, tags: trunk)
2002-02-28
00:57
[9874d60ad2] Changed to new version number 0.7 (user: rolf, tags: trunk)
00:39
[5edd91ead4] Added tcl coded xpath function element-avaliable. Changed function-avaliable accordingly. (user: rolf, tags: trunk)
2002-02-26
14:05
[7d7e46a6ec] Updated the [load ...] to the new version number 0.7 (user: rolf, tags: trunk)
14:04
[5636300b8d] Updated the [package provide] to the new version number 0.7 (user: rolf, tags: trunk)
2002-02-24
02:31
[9373983392] Fixed UTF-8 char byte length determination (user: rolf, tags: trunk)
2002-02-23
01:13
[64a4af89f8] Some code tweaking for a mostly warning free MS build (user: rolf, tags: trunk)
01:12
[35a577fc36] Removed some file noise (user: rolf, tags: trunk)
01:08
[0ce4795ef9] Initial check in of win makefile. Tested on w2k with VC 6++ (user: rolf, tags: trunk)
2002-02-22
01:05
[98cd4affb5] Initial revision (user: rolf, tags: trunk)