Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4588 commits
Select commit Hold shift + click to select a range
a9b8935
Prepare for upcoming core changes.
Jun 24, 2024
1b1357b
Merged from trunk.
Jun 24, 2024
a9fd8ae
Added code which handles outside BMP codepoints even for Tcl 8.6 in c…
Jun 26, 2024
dfd7bf8
Updated to HTML 5 entities also for serializating with -htmlEntities.
Jun 26, 2024
01194f7
Enhanced the set of recognised entities to HTML 5.
Jun 26, 2024
774c72e
Fixed [5fec5cdc5d]
Jun 26, 2024
0ae4f21
Now in fact fixed [5fec5cdc5d].
Jun 26, 2024
40dd1b3
Updated to defines to what expat uses.
Jun 28, 2024
e754894
wip
Jun 29, 2024
4d64410
wip
Jun 30, 2024
5038e57
Use the enhanced encoding capabilities of Tcl 9 better. And more chan…
Jul 1, 2024
f4dbed8
Merged from trunk.
Jul 1, 2024
0b12f90
Added the isHTML5CustomName method to the dom command. The simple HTM…
Jul 2, 2024
a365070
Added the isHTML5CustomName method to the dom command. The simple HTM…
Jul 2, 2024
4c79427
Updated the CHANGES file.
Jul 2, 2024
250268f
Temporary work around for a bug of the gcc build chain on RiscV. See …
Jul 2, 2024
be41e0f
Started release work.
Jul 4, 2024
5cab1ce
Added documentation for isHTML5CustonName.
Jul 4, 2024
60aee24
Merged from trunk.
Jul 4, 2024
283bf1c
Regenerated included doc.
Jul 4, 2024
38735ad
More version number updates.
Jul 4, 2024
bc1d23a
Better only 7-bit ASCII characters in test files.
Jul 4, 2024
838832b
Fixed previous commit.
Jul 4, 2024
c7368f5
wip
Jul 6, 2024
12591ad
wip
Jul 6, 2024
4289610
wip
Jul 6, 2024
86112c4
wip
Jul 6, 2024
85fe44e
wip
Jul 7, 2024
230ac17
Do not use the included allocator even on windows.
Jul 7, 2024
54a3830
More type massage and fixes.
Jul 8, 2024
cb87fb6
Again more type massage and fixes.
Jul 8, 2024
114395a
Fixed ebcdic encoding handling. Braced an expr.
Jul 8, 2024
0e464fa
In a few cases Tcl 9 needs Tcl_Size and Tcl 8 long.
Jul 8, 2024
cb83173
Restored build with VC build chain.
Jul 8, 2024
912ffa4
Started with Tcl 9 there are only threaded builds.
Jul 8, 2024
431145a
Postpone release.
Jul 8, 2024
a5135c7
More type correction for Tcl 9.
Jul 8, 2024
abb0337
More changes needed for Tcl 9 detected while preparing a new release.
Jul 8, 2024
2443f4c
Added some const declaration and spell fixes. Bow to Gustaf.
Jul 15, 2024
73f23fb
Merged from trunk.
Jul 21, 2024
a4205b4
The currently used TEA sets TCL_THREADS even for Tcl 9 so there is no…
Jul 24, 2024
2f1a2d8
Updated the readme.
Jul 24, 2024
4b75bd1
Added a few type casts to malloc returns to suppress warnings with no…
Jul 25, 2024
41e627c
Merged from trunk.
Jul 25, 2024
c9ea0c5
The VC build chain need the TCL_THREADS define with Tcl 9.
Jul 25, 2024
b36d0dc
We support only 8.5-.
Jul 25, 2024
1bf1d58
We now need 4 windows binaries: Tcl 8/9 32/64 bit.
Jul 26, 2024
3eeb396
Add the release date.
Jul 26, 2024
b43a601
Cut tdom 0.9.4 release.
Jul 26, 2024
cab3b2b
Added a simple scripted json to dict proc (::tdom::json:asDict).
Jul 27, 2024
f732ef4
Note the supported Tcl versions. Updated history section.
Jul 28, 2024
dd4a132
Fixed [e4ce2078f994].
Jul 30, 2024
f0c299c
Made the "--" option to [dom parse] not necessary even in case the JS…
Aug 1, 2024
dda80da
Fixed typos.
Aug 1, 2024
7c5b153
Started, wip.
Aug 3, 2024
31170fc
Better done this way in C.
Aug 6, 2024
8992224
Added the optional argument typevariable to the domDoc and domNode me…
Aug 9, 2024
3eca5bb
Simplyfied a few functions.
Aug 10, 2024
3467d31
Missed to call Tcl_InitStubs() in tnc accoding to the Tcl major version.
Aug 12, 2024
5d31052
Rename tnc configure.in to configure.ac to follow nowadays habits.
Aug 13, 2024
01cea3f
Regenerated tnc configure.
Aug 13, 2024
0874ccc
Updated the nmake build infrastructure.
Aug 13, 2024
c88d4ad
Dll import/export gymnastics.
Aug 13, 2024
6eea2e1
At some point in time the test data file REC-xslt-19991116.xml got lo…
Aug 14, 2024
c578b1e
Modified pkgIndex.tcl.in so that it is usable for a side by side inst…
Aug 14, 2024
c92bc6c
Merged from trunk.
Aug 14, 2024
0ce9a36
Changed the name of the method to asTclValue.
Aug 14, 2024
86c3d15
Added the asTclValue method to the domDoc and domNode commands.
Aug 14, 2024
6b8e187
Made asTclValue more robust.
Aug 17, 2024
1fff936
Error message reform: Started with dom_usage.
Aug 17, 2024
e3876ec
Adapted the internal function name to the script level name.
Aug 19, 2024
714b094
More improvements to the dom error messages. Done domDoc commands. Ad…
Aug 23, 2024
9066ec3
Done domNode commands.
Aug 23, 2024
2416dd3
Pluged a memory leak in the new asTclValue method.
Aug 23, 2024
0a8831b
Fixed [40d770587f].
Aug 24, 2024
940fdb7
Merged from trunk.
Aug 24, 2024
d427e78
Changed the error messages of the dom, domDoc and domNode commands to…
Aug 26, 2024
22756fc
Just for documentation.
Aug 27, 2024
ccb674b
Fixed SAX parser. Restore the context in well-formdness error even if…
Aug 28, 2024
4d12beb
Fixed pull parser.
Aug 28, 2024
d52da1c
Added a test.
Aug 28, 2024
7efa021
Renamed the define and changed the default of TDOM_PCS to INT_MAX / 2.
Aug 28, 2024
fabae7b
Removed dated comment.
Aug 28, 2024
9c11c21
Started.
Aug 30, 2024
a10adaa
Text node commands created by createNodeCmd of the json type NULL, TR…
Aug 31, 2024
f6df6f5
Tests to check the results of getLine/Column/ByteIndex for other node…
Sep 1, 2024
fb0e119
Corrected typo.
Sep 1, 2024
bbb779a
Handle line/column/byteIndex for CDATA nodes. Fixed long standing bug…
Sep 2, 2024
b894cbd
Towards line/column/byteindex reporting for tdom cmd generated DOM tr…
Sep 3, 2024
51e63cd
More interaction between parser, tdom command and dom building to get…
Sep 5, 2024
3b09159
Merged from trunk.
Sep 5, 2024
0a79909
Fixed the machinery, added a few more tests and some words of documen…
Sep 6, 2024
c059bfb
Added documentation for the dom createDocumentNode -jsonType flag (wh…
Sep 7, 2024
14ab6a4
Started.
Sep 8, 2024
03bb3b4
Added the flag -keepTextStart to the expat command. Fix for [757e85ef…
Sep 8, 2024
29ff097
Merged from trunk.
Sep 8, 2024
87e60bd
Experimenting, hardening, optimisation, opening the door for customis…
Sep 10, 2024
d647c78
Compare simple approach versus reuse symbol Tcl_Objs.
Sep 10, 2024
eaa5324
Removed the first approach, improved the second, added a few basic te…
Sep 10, 2024
649fa9e
Added a first version (fully working for correct input but with some …
Sep 18, 2024
9a05c5a
Made the optioal newObjVar argument of createDocumentFromTypedList in…
Sep 18, 2024
1781f2f
Improved detection of invalid typed lists. Fixed XML well-formed erro…
Sep 20, 2024
82a5fcd
Fixes and an improvement to the error messages in case of invalid typ…
Sep 20, 2024
1cbd858
wip
Sep 20, 2024
2731ed1
Done.
Sep 22, 2024
57ee3f8
Used the valid json data of the various tests in domjson.test for tes…
Sep 22, 2024
42a572c
A bit trickery to only run tests with valid json data if testing asTy…
Sep 23, 2024
b1ac849
Fixed syntax error.
Sep 23, 2024
ef1b4d4
Renamed createDocumentFromTypedList createFromTypedList - it is still…
Sep 23, 2024
26c0ca7
Updated to expat 2.6.3.
Sep 23, 2024
a0a80ea
Improved error handling and error messages.
Sep 27, 2024
dd3332e
Noted the expat update in CHANGES.
Sep 27, 2024
15c9d99
Merged from trunk.
Sep 27, 2024
92e426b
Added a few more tests.
Sep 27, 2024
f957bbe
Added the asTypedList method to the domDoc and domNode commands. Adde…
Sep 27, 2024
47ea25e
Updated tclconfig.
Sep 27, 2024
4fc94c9
Regenerate doc.
Sep 28, 2024
8d4ddd2
Started.
Sep 28, 2024
e8b29a2
More places bump up the version number.
Sep 30, 2024
fbb4349
With Tcl 9 now even on windows (worded already on LP64 platforms) a s…
Sep 30, 2024
59b12d6
Merged from trunk.
Sep 30, 2024
8a5fe19
More type massage.
Sep 30, 2024
8545d23
Attempt to clean up the fall out of the recent type changes.
Oct 1, 2024
c71c76e
Adapted test to the changed error message.
Oct 1, 2024
4999709
Merge trunk.
Oct 2, 2024
a406309
wip
Oct 3, 2024
ed8584d
wip
Oct 4, 2024
68ef501
wip
Oct 4, 2024
d1c687f
wip
Oct 4, 2024
3c306cb
wip
Oct 5, 2024
2fa2ca8
Do this detail as it should be although this probably means that now …
Oct 5, 2024
8e6737e
Another approach: Use XML_LARGE_SIZE on all platforms and Tcl-Version…
Oct 7, 2024
132603f
More tweaks to silence compiler warnings.
Oct 7, 2024
24ea565
And again more tweaks to silence compiler warnings.
Oct 7, 2024
71615b1
Fixed typedef.
Oct 7, 2024
b974be7
More type corrections.
Oct 8, 2024
e60f119
Cast away remaining compiler warnings (some, even most of them have e…
Oct 9, 2024
04b62a2
Added a few more casts.
Oct 9, 2024
c43bf65
More casts.
Oct 9, 2024
9ebd940
Simplest (*)printf d modifier limbo I could find.
Oct 9, 2024
ce0f9b3
First round of build tests on a couple of platforms and OS.
Oct 9, 2024
0364abc
Merged from trunk.
Oct 9, 2024
665b567
Fixed indentation.
Oct 10, 2024
c042f33
Improved compatibility with older VC compiler.
Oct 10, 2024
e507894
Merged from trunk.
Oct 10, 2024
6eff913
Fixed link.
Oct 11, 2024
14a17f6
Use the configure created pkgIndex.tcl for tnc. Removed an not used v…
Oct 12, 2024
c62d8a6
Corrected the tnc pkgIndex.tcl.in.
Oct 12, 2024
ce84e79
Merged from trunk.
Oct 13, 2024
2d401c6
Updated README.md.
Oct 13, 2024
0694a97
Cut tdom 0.9.5 release.
Oct 13, 2024
5b881a6
Regenerated the domDoc documentation. Fix for [095e293157].
Oct 15, 2024
8815683
Added another fossil setting to the repostiory.
Oct 17, 2024
057a0be
Updated the VC build tool chain related files.
Oct 17, 2024
2712853
Fix tnc nmake for Tcl 9
Oct 21, 2024
b1437c3
Integrated the fix for tnc nmake for Tcl 9. Thanks.
Oct 24, 2024
c78d010
Added a test.
Oct 27, 2024
41424ad
Corrected typos.
Oct 31, 2024
ed00f7b
Save.
Nov 9, 2024
a7974a1
Save.
Nov 9, 2024
7a00284
Updated to expat 2.6.4.
Nov 10, 2024
703afd3
Added a few tests for appendXML with XML namespaced nodes in document…
Nov 10, 2024
b2c1c33
Merged from trunk.
Nov 10, 2024
8566fc8
Bit more tests; added minimal documentation.
Nov 11, 2024
0b06733
Enhanced the attribute creation in *FromScript scripts. If an attribu…
Dec 12, 2024
fe4fcf1
Review, testing and cleanup.
Dec 12, 2024
5734398
Added the dom command method jsonEscape which escapes the string argu…
Dec 12, 2024
7eec2c8
Merged from trunk.
Dec 12, 2024
a0302b3
Additionally enforce in "check attribute name mode" that the attribut…
Dec 13, 2024
b792017
Minor typo fixes.
Dec 25, 2024
7f7cd8e
Minor typo fix.
Dec 25, 2024
423c2b7
Started.
Dec 26, 2024
d643ee0
Request the answer to a few dom featureinfo calls from the actually u…
Dec 27, 2024
5035066
test
Dec 27, 2024
461a174
Merged from test.
Dec 30, 2024
0c8c45b
Moved the "check which expat to use" part nearer to end of configure …
Dec 30, 2024
7650378
Check for entropy soures and other flags for the build of the bundled…
Jan 2, 2025
4880e7a
Even on windows someone may not use the included expat version.
Jan 5, 2025
ef15360
Two documentation typo fixes.
Jan 5, 2025
473f8c2
Improved configure/build with system expat.
Jan 5, 2025
3e13300
Merged from trunk.
Jan 9, 2025
96af311
Added a way to create XML namespaced attributes in *FromScripts.
Jan 9, 2025
c82d122
Started nodecmds which inserts a node only, if it has content.
Jan 9, 2025
8adf2a4
Added a few tests.
Jan 9, 2025
9e59f7b
Pacify a (by gcc 13.0) hallucinated compiler warning.
Jan 9, 2025
aa64091
The entity translator of the simple XML parser was too forgiving; fixed.
Jan 10, 2025
894dcf0
Plugged memory leak in case of invalid entity in attribute value.
Jan 10, 2025
4faaf24
Pacified a few scan-build warnings while fixing a few bugs revealed b…
Jan 10, 2025
f4cbbee
Plugged memory leak in case of invalid value to the selectNodes -cach…
Jan 10, 2025
9903780
Plugged memory leak in case of selectNodes with -namespaces and -list…
Jan 10, 2025
5c80b83
Pacify scan-build warning.
Jan 10, 2025
c044a9f
Merged from trunk.
Jan 10, 2025
fc6bc28
Fixed error handling of invalid return of scripted XPath functions in…
Jan 10, 2025
6153a37
Plugged memory leak in case of XPath substring() call with invalid, s…
Jan 10, 2025
2036da7
Added dom featureinfo largedata, returning a boolean. If the result i…
Jan 12, 2025
4891e02
Fixed driver script for the OASIS xslt test suite. Fixed a potential …
Jan 15, 2025
fdd99bc
Documented the lately added dom featureinfo largedata option.
Jan 15, 2025
697600f
Merged from trunk.
Jan 15, 2025
0153473
Added minimal documentation.
Jan 15, 2025
6afc82b
Added the flag -notempty to dom createNodeCmd. If this flag is used t…
Jan 15, 2025
e354ff7
Plugged potentially memory leaks. Code clean-up.
Jan 16, 2025
d876116
Fix for the namespace axis: resolve the prefix with the context node,…
Jan 17, 2025
45a8f41
Maybe a virtual boolean json type for text nodes would be useful.
Jan 19, 2025
aa85844
Fixed the expat SAX interface (commands expat,xml:parser) method pars…
Jan 20, 2025
c0d33fc
Fixed the implementation, added documentation and a few tests.
Jan 21, 2025
25ccfaa
Added a few tests.
Jan 22, 2025
70fdc48
Merged from trunk.
Jan 22, 2025
9f7912c
Added the "virtual" JSON type BOOLEAN for text nodes.
Jan 22, 2025
21ef8ce
Typo fix.
Jan 22, 2025
3578b05
Bumpt to the next release version (not to be released in short time).
Jan 22, 2025
edf8660
Modified the sample xslt.tcl script to use -channel in in- and output…
Jan 29, 2025
eadb418
Pacify a (pointless) compiler warning.
Jan 30, 2025
29f8249
Added a so far missing data file for a test.
Jan 30, 2025
9dedc6a
Disable tests by default which use huge amounts of memory.
Jan 31, 2025
ea26510
Disable another test by default because it works with large data.
Jan 31, 2025
eae88ed
Datatype fix.
Feb 1, 2025
cdc908f
Added the node creation command flag -notempty also to tdom::fsnewNode.
Feb 16, 2025
74b48aa
Fixed clashes of variable names with new C23 keywords.
Feb 24, 2025
bf5d63b
Merged from trunk (started branch not from trunk tip by mistake).
Feb 24, 2025
df5ef3b
Resolved more variable name clashes with new C23 keywords.
Feb 24, 2025
7b84a5a
More variable renames because of clashes with new C23 keywords.
Feb 24, 2025
8132ecf
Again more variable renames because of clashes with new C23 keywords.
Feb 24, 2025
75afca1
Made code base C23 compliant.
Feb 24, 2025
a82dd19
Some documentation improvements.
Feb 24, 2025
56a90eb
The first approach to add XML namespaced attributes to the *fromScrip…
Mar 19, 2025
78758d9
Try the "natural" approach: if the attribute name has a prefix resolv…
Mar 20, 2025
1e5a38a
Revised.
Mar 20, 2025
cd49712
Updated to expat 2.7.0.
Mar 20, 2025
ad6ea34
Documented the new behaviour.
Mar 21, 2025
647e471
Changed the way to create XML namespaced attributes in *FromScript sc…
Mar 21, 2025
af2972c
Updated to expat 2.7.1.
Mar 28, 2025
61df388
Fixed typo.
Mar 28, 2025
618994b
Added a simple way to get the current parent node in fromScript context.
Apr 3, 2025
2878484
Added some documentation and a first test.
Apr 3, 2025
e1df537
Fixed the dom command method specification.
Apr 3, 2025
bd00485
Added a test. Fixed markup error in documentation.
Apr 5, 2025
d5031b0
Added the dom command method fromScriptContext.
Apr 5, 2025
8e52566
Re-generated docs.
Apr 11, 2025
676837d
Added a test.
May 1, 2025
b855547
Documented the behaviour in case an element creating node command is …
May 1, 2025
a339076
Made some constans/limits more configurable by environment variables …
Jun 5, 2025
7000518
Added documentation for the scripted additional XPath functions featu…
Jun 5, 2025
7edfab1
Updated CHANGES.
Jun 5, 2025
fa3d801
Silenced an unwarranted compiler warning.
Jun 22, 2025
ec76542
HTML parser: brought parsing of <ol> in line with <ul>
cyanogilvie Feb 9, 2015
3f8a8a8
Improved appendFromScript error handling - if the script returns an e…
cyanogilvie Jul 4, 2015
8af8509
Fix html parsing of incomplete and invalid character entity references
cyanogilvie Jul 9, 2015
5d92423
Prevent the HTML serialization code from inserting newlines where the…
cyanogilvie Mar 12, 2023
0285bd8
Expand stubs table with 10 DOM functions needed by parsetcl.
cyanogilvie Apr 1, 2026
45b8822
Release 0.9.6.1 on rl_0.9.6 branch with hacks to build outside of the…
cyanogilvie Apr 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .fossil-settings/crlf-glob
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.vc

8 changes: 8 additions & 0 deletions .fossil-settings/ignore-glob
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*/win/Debug*
*/win/Release*
*/win/version*.vc
*/win/nmakehlp.exe
*/win/nmakehlp.obj
*/win/nmakehlp.out
*/win/_junk.pch

1 change: 1 addition & 0 deletions .fossil-settings/manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
on
Empty file.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*.o
*.a
*.so
tags
autom4te.cache
config.log
config.status
*~
*.swp
Makefile
pkgIndex.tcl
tdomConfig.sh
/versionhash.h
Loading