summaryrefslogtreecommitdiff
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* DOM Walker: Rename client private word parameter.HEADmasterMichael Drake2021-07-091-6/+6
|
* Add DOM tree walker functionality.Michael Drake2021-06-292-1/+131
|
* namespace: Support finalising the namespace stringsDaniel Silverstone2019-09-071-3/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* make unused variable macro more portableVincent Sanders2016-02-061-1/+1
|
* remove logically unecessary checks (coverity 1127074)Vincent Sanders2014-01-241-4/+0
|
* fix resource leak in error path (coverity 1127082)Vincent Sanders2013-11-081-0/+2
|
* fix resource leak of lname in _dom_namespace_validate_qname() (coverity 1127083)Vincent Sanders2013-11-081-2/+4
|
* fixup comment damage from automated type conversionVincent Sanders2012-09-111-2/+2
|
* unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral ↵Daniel Silverstone2012-09-102-4/+4
| | | | fixes. Test suite does not pass
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/libdom/; revision=14005
* Replace algorithm used by _dom_validate_{nc,}name so that instead of O(n^2) ↵Daniel Silverstone2012-03-281-26/+50
| | | | | | it's O(n) by unwinding dom_string_at into the validate functions. svn path=/trunk/libdom/; revision=13763
* C89.François Revel2012-03-241-1/+3
| | | | svn path=/trunk/libdom/; revision=13583
* Fix conflicting return type for _dom_hash_get_length().François Revel2012-03-241-2/+2
| | | | svn path=/trunk/libdom/; revision=13582
* Revert r13456John Mark Bell2012-02-201-6/+3
| | | | svn path=/trunk/libdom/; revision=13457
* Fix blatent brokennessJohn Mark Bell2012-02-201-3/+6
| | | | svn path=/trunk/libdom/; revision=13456
* 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