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

History of generic/domhtml.c

2018-08-26
00:42
Fix for [6abd3a24fbadf]. file: [368434d317] check-in: [8dfd0cb03d] user: rolf branch: htmlreader, size: 59279
2018-08-16
23:34
Applied modified patch from [3807a4ac722c] (and removed unnecessary initializations seen while working on the code). file: [17c2ae18c3] check-in: [18d8d9f083] user: rolf branch: htmlreader, size: 59279
2018-08-08
22:39
Changed the license to MPL 2.0. file: [e556a61526] check-in: [39f9d6bbbf] user: rolf branch: trunk, size: 58622
2018-07-12
21:47
Editorial change to pacify a compiler warning. file: [b0b25e20d8] check-in: [c6ed107738] user: rolf branch: trunk, size: 58622
21:44
Fixed the last commit. file: [1010cf2e03] check-in: [5fda7dd7cb] user: rolf branch: trunk, size: 58611
21:40
More editorial changes to pacify compiler warnings. file: [d517df42f1] check-in: [0b3ae53e6c] user: rolf branch: trunk, size: 58611
2018-05-02
15:12
Removed "support" for Tcl 8.0 - it probably doesn't even build any more. Eventually it's time prune out this #ifdefery. file: [6e8c333df5] check-in: [d729de4c39] user: rolf branch: abandon80, size: 58820
2018-02-21
22:46
HTML reader: Fixed reading of numeric character entities. Thanks to Gustaf Neumann for reporting and most of the work. file: [9e09ee68cd] check-in: [56d76bf7d7] user: rolf branch: trunk, size: 65205
2018-02-01
00:16
A couple of spell fixes / typing error corrections. Thanks goes to Gustav Neumann. file: [1b20f81001] check-in: [4897033c1b] user: rolf branch: trunk, size: 64488
2017-08-31
02:47
Exploring optimization possibilities. Using doc specific simple mem pools speeds up a [dom parse $xml doc; $doc delete] by a factor of 1.25 (though, while DOM tree building is also slightly faster most of the gain is a much faster doc free). Test suite runs valgrind clean. Some tests fail but most of them do rightly so. Because this has a price: no subree move between documentes (the DOM recommendation doesn't allow this but tdom did, so far), no [domNode delete] (but this in fact freed the memory already only in non-threaded builds), no line/column information. Needs creation of nodeCmds in doc specific namespace for cleanup of the tcl commands in one go (to be implemented) and thread safety consideration. If all goes well and still looks as a gain could be integrated in a switch on/of at runtime way. file: [f6e7a729d1] check-in: [1965531605] user: rolf branch: fastFree, size: 64390
2017-07-14
12:24
Added knowledge about the (HTML5) tag "source" to the html parser. file: [c2893b476e] check-in: [ea10f0d3f2] user: rolf branch: trunk, size: 64487
2017-04-04
23:58
Changed default of --enable-html5 back to off. By following the rules now the generated DOM trees are "namespaced", the HTML tags in the xhtml, the sgv and mathml tags and the xlink attributes in their respectivly namespaces. Since this probably isn't wanted by a lot of users and adds only burden for no good in a lot of use cases -html5 can be combined with -ignorexmlns, in which case all nodes and attributes in the DOM tree are not in an XML namespace. Added a few words of documentation and tests. file: [fb2ac1d582] check-in: [15f1033a6f] user: rolf branch: html5_by_gumbo, size: 64387
2013-08-28
12:50
Raise the limit of maximum number of different xml namespace declarations within an xml document. file: [ee07c45f88] check-in: [a689b0c326] user: rolf branch: more-xml-ns, size: 64323
2011-03-30
16:17
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 file: [d80e84904e] check-in: [1968382659] user: jolo@osslab-jl.emea.hpqcorp.net branch: trunk, size: 64513
2008-03-04
20:52
Added a cast, to pacify picky compliers. file: [8a0379032b] check-in: [33c186a204] user: rolf branch: trunk, size: 65252
2007-10-30
01:04
ID Attributes in HTML documents parsed with -html do what you expect: you find it with getElementById. file: [00a7874b73] check-in: [4ce79736e0] user: rolf branch: trunk, size: 65205
2007-10-08
16:23
Fixed handling of attributes without value. Now, an attribute without value gets the attribute name as value. file: [a2297a003d] check-in: [d11d12aebe] user: rolf branch: trunk, size: 64467
2007-08-05
17:52
Casted arg of ctype.h is* macros/function calles to unsigned char to reduce compiler warning noise. file: [ebfa2c40ac] check-in: [523049bfc6] user: rolf branch: trunk, size: 64516
2007-07-22
23:45
Fix for problem reported by http://tech.groups.yahoo.com/group/tdom/message/1666 file: [a1f9dc98dc] check-in: [bf1ece8716] user: rolf branch: trunk, size: 64483
2006-11-22
16:40
Normalize case of attribute also (not only elements). Accept space on both sides of the = of attribute values. file: [1bb01fcfd4] check-in: [749a4d3019] user: rolf branch: trunk, size: 64478
2005-06-10
00:20
Internal dispersion: Cleaned up rootNode/toplevel nodes connection, added new function domSetDocumentElement. file: [b561b6331c] check-in: [7988ebf1b0] user: rolf branch: trunk, size: 64288
2005-05-13
00:28
Fixed seg fault is case of some garbage input. file: [46e62eb649] check-in: [b07dff03b4] user: rolf branch: trunk, size: 64567
2005-01-18
23:44
Renamed exported symbols attrNames and tagNames to tdom_attrNames and tdom_tagNames, to avoid name clash. tartDoctypeDeclHandler() and endDoctypeDeclHandler(): added missing static. file: [41429f279c] check-in: [2ac9019f04] user: rolf branch: trunk, size: 64548
2004-05-08
00:57
Fixed html-2.1 and html-2.2. (This html reader ist crusty stuff...) file: [88e0ea7586] check-in: [64cb1af84b] user: rolf branch: trunk, size: 64498
2003-10-12
01:57
Merged domCreateEmptyDoc() and domCreateDoc(), now there is only one API proc: domCreateDoc(). file: [9a7ec999da] check-in: [7f2fefd0c2] user: rolf branch: trunk, size: 64442
2002-10-20
15:53
Adjusted the size of the hash table for the known entities. file: [54fdfbbe29] check-in: [c01edd680e] user: rolf branch: trunk, size: 64963
2002-07-28
08:27
Moved to new memory allocation macros. file: [98fd5bb233] check-in: [6eb6a47711] user: zoran branch: trunk, size: 64907
2002-07-11
21:31
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.) file: [435c4b22b7] check-in: [6d4b7b7e9c] user: rolf branch: trunk, size: 64949
01:08
Fixed handling of character entities for tcl >= 8.1 file: [7f284d9a5d] check-in: [70b8ed2449] user: rolf branch: trunk, size: 58527
2002-06-23
20:51
new enhancements for better robust parsing file: [63d237ecca] check-in: [c632e9437a] user: loewerj branch: trunk, size: 54265
2002-06-21
10:38
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. file: [9be2591747] check-in: [621b16c214] user: zoran branch: trunk, size: 50821
2002-06-02
06:36
Added thread safety with capability of sharing DOM trees between threads and ability to read/write-lock DOM documents file: [8f0aea7320] check-in: [7077725403] user: zoran branch: trunk, size: 50838
2002-02-22
01:05
Initial revision file: [e8cda5580a] check-in: [98cd4affb5] user: rolf branch: trunk, size: 52382 Added