path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* Merge branches/jmb/dom-alloc-purge back to trunkJohn Mark Bell2011-12-217-326/+119
| | | | svn path=/trunk/libdom/; revision=13316
* s/struct dom_string/dom_string/gJohn Mark Bell2011-04-076-28/+26
| | | | svn path=/trunk/libdom/; revision=12172
* Sync with modified libwapcaplet API: 11 additional DOM Level1 testsuite ↵John Mark Bell2010-08-262-8/+5
| | | | | | failures. Most importantly, it actually compiles now. svn path=/trunk/dom/; revision=10717
* Merge the Events module (branches/struggleyb/libdom-events) back to trunk. :)Bo Yang2009-08-132-0/+14
| | | | svn path=/trunk/dom/; revision=9236
* Make the failed 5 testcases passed in DOMTS Core level2. Bo Yang2009-08-121-0/+7
| | | | svn path=/trunk/dom/; revision=9211
* Merge the branches/struggleyb/libdom-remain back to trunk.Bo Yang2009-08-1112-9/+1291
| | | | svn path=/trunk/dom/; revision=9191
* First cut at a port to the new buildsystem.John Mark Bell2009-03-251-52/+3
| | | | | | DOMTS stuff currently disabled. svn path=/trunk/dom/; revision=6883
* Make hubbub parser binding build trees correctly (credit: Bo Yang)John Mark Bell2009-03-051-32/+59
| | | | svn path=/trunk/dom/; revision=6711
* Omitted to remove this yesterday.John Mark Bell2009-03-041-19/+0
| | | | svn path=/trunk/dom/; revision=6694
* Rationalise dom_string (some consideration is required as to what happens ↵John Mark Bell2009-03-036-692/+6
| | | | | | | | | wrt interning -- lwc_strings should probably be used) Purge charset handling -- a) documents are always converted to utf-8 b) use parserutils for utf-8 handling Fix Hubbub binding to compile. svn path=/trunk/dom/; revision=6682
* Make the dom string class more useful.John Mark Bell2007-10-032-72/+69
| | | | | | | | Purge all trace of dom_string_get_data() from outside the dom string implementation. Port affected code to new, more useful, APIs. This also fixes the interned node name strings mentioned in the previous commit. svn path=/trunk/dom/; revision=3621
* DOM Strings are now capable of containing either UTF-8 or UTF-16 encoded data.John Mark Bell2007-09-307-1/+705
| | | | | | | | | | | | | | | | | | The charset used for strings within a document is specified at document creation time. Whilst it is possible to mix charsets within a document, it's not recommended. Things that need fixing: + dom_string_get_data() doesn't return the charset. Better would be to permit the client to request a charset for the data to be returned in. + Interned node name strings will break if the document is UTF-16 (dom_document_create()). In fact, these could quite happily be globals, rather than allocating a set for each document. + Other usage of dom string constructors need checking for sanity + DOM Strings need to gain more utility APIs (such as getting the character length of a string, string concatenation etc). svn path=/trunk/dom/; revision=3614
* Introduce global initialistaion/finalisation for DOM library. This should be ↵John Mark Bell2007-09-294-2/+306
| | | | | | | | | used to initialise any parts of the library before they are used. Mostly, this will comprise of static initialisers. Finalisation cleans up afterwards. This API is only exposed to language-specific binding libraries -- they should expose their own global initialisation/finalisation routines which call the core libdom ones. Introduce new utility code for namespace and qname processing. Port dom_document_create_element_ns() and dom_document_create_attribute_ns() to this new code. Make libdom-libxml's initialiser initialise libdom itself first of all. svn path=/trunk/dom/; revision=3604
* Import DOM library.John Mark Bell2007-07-061-0/+28
This is mainly stub functions atm (and is missing a number of key interfaces). svn path=/trunk/dom/; revision=3384