summaryrefslogtreecommitdiff
path: root/include/dom/core
Commit message (Collapse)AuthorAgeFilesLines
* Fix comparison of interned and non-interned dom strings. Constify dom ↵Michael Drake2011-12-221-2/+2
| | | | | | string data accessers. svn path=/trunk/libdom/; revision=13327
* Move dom_string data accessing functions to public header.Michael Drake2011-12-221-0/+10
| | | | svn path=/trunk/libdom/; revision=13322
* Merge branches/jmb/dom-alloc-purge back to trunkJohn Mark Bell2011-12-213-17/+9
| | | | svn path=/trunk/libdom/; revision=13316
* s/struct dom_string/dom_string/gJohn Mark Bell2011-04-0710-285/+277
| | | | svn path=/trunk/libdom/; revision=12172
* Provide mechanism for binding/client to define the features a document ↵John Mark Bell2010-12-061-0/+11
| | | | | | | | | object should support. Utilise this to decide whether to create a raw Document or an HTMLDocument instance. Disable the above decision, as the HTMLDocument implementation is garbage svn path=/trunk/libdom/; revision=11025
* Simplify DOMImplementation API by replacing dom_strings with const char *John Mark Bell2010-12-061-6/+5
| | | | svn path=/trunk/libdom/; revision=11024
* Remove bootstrap infrastructure, and just make dom_implementation a stub.John Mark Bell2010-12-053-39/+6
| | | | | | We only support a single implementation, so all the registry and implementation list stuff is totally unnecesary and overcomplex svn path=/trunk/dom/; revision=11017
* Merge branches/struggleyb/libdom-html to trunk.John Mark Bell2010-08-302-1/+48
| | | | | | A few additional fixes to reduce the number of regressions to single figures. svn path=/trunk/dom/; revision=10724
* Sync with modified libwapcaplet API: 11 additional DOM Level1 testsuite ↵John Mark Bell2010-08-262-3/+3
| | | | | | 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-1/+19
| | | | svn path=/trunk/dom/; revision=9236
* Merge the branches/struggleyb/libdom-remain back to trunk.Bo Yang2009-08-1111-48/+138
| | | | svn path=/trunk/dom/; revision=9191
* Some more typo.Bo Yang2009-05-081-3/+3
| | | | svn path=/trunk/dom/; revision=7436
* Modify some macro typo. Found by the testcases.Bo Yang2009-05-081-1/+1
| | | | svn path=/trunk/dom/; revision=7433
* Some more typo found by the testcases.Bo Yang2009-05-051-2/+2
| | | | svn path=/trunk/dom/; revision=7393
* Modify some typo, thanks to the partly-completed testcase to help to find ↵Bo Yang2009-05-051-1/+1
| | | | | | this little problem. svn path=/trunk/dom/; revision=7392
* Make dom_namednodemap and dom_nodelist more usable through macroes. Note, it ↵Bo Yang2009-04-292-8/+50
| | | | | | is the partly-completed testcase that find this problem. Our DOMTS is on its way. svn path=/trunk/dom/; revision=7365
* Add dom_document_fragment, dom_cdata_section, dom_entity_reference, ↵Bo Yang2009-04-294-0/+50
| | | | | | dom_processing_instruction to public DOM interface. svn path=/trunk/dom/; revision=7363
* Add typedefs for public DOM interfaces.Bo Yang2009-03-316-6/+11
| | | | svn path=/trunk/dom/; revision=7002
* Convert Text to use vtable structure. Now the whole libdom is compiled ↵Bo Yang2009-03-241-10/+54
| | | | | | successfully again. svn path=/trunk/dom/; revision=6833
* Convert DOMElement interface to use vtable structure.Bo Yang2009-03-201-52/+300
| | | | svn path=/trunk/dom/; revision=6808
* Convert DOMFragment to use vtable structure.Bo Yang2009-03-191-3/+3
| | | | svn path=/trunk/dom/; revision=6806
* Convert DocumentType to use vtable structure.Bo Yang2009-03-191-13/+84
| | | | svn path=/trunk/dom/; revision=6804
* Convert DOM document interface to use vtable structure.Bo Yang2009-03-192-65/+406
| | | | svn path=/trunk/dom/; revision=6802
* Convert the dom_characterdata to use vtable.Bo Yang2009-03-151-17/+114
| | | | svn path=/trunk/dom/; revision=6787
* Change the our dom to use vtable method. The first step: Bo Yang2009-03-122-87/+546
| | | | | | | convert the dom_node/dom_attr. And, this is my first commit. Great && Exciting! svn path=/trunk/dom/; revision=6780
* Rationalise dom_string (some consideration is required as to what happens ↵John Mark Bell2009-03-033-19/+4
| | | | | | | | | 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
* Add, and implement, dom_string_insert() and dom_string_replace() APIJohn Mark Bell2007-11-031-0/+10
| | | | | | | | | | | | | Fix dom_string_substr() to have correct length limits when calling _dom_utf{8,16}_next() Fix dom_string_substr() to calculate correct length of output string when creating from ptr Implement dom_characterdata_get_length() Implement dom_characterdata_substring_data() Implement dom_characterdata_append_data() Implement dom_characterdata_insert_data() Implement dom_characterdata_delete_data() Implement dom_characterdata_replace_data() svn path=/trunk/dom/; revision=3641
* Make the dom string class more useful.John Mark Bell2007-10-031-4/+22
| | | | | | | | 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-302-2/+9
| | | | | | | | | | | | | | | | | | 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
* Rename dom_named_node_map to dom_namednodemap to be consistent with the rest ↵James Shaw2007-08-081-2/+2
| | | | | | of the code svn path=/trunk/dom/; revision=3489
* Fix structure name dom_nodelistJames Shaw2007-08-031-2/+2
| | | | svn path=/trunk/dom/; revision=3474
* Sort out somewhat messy object construction.John Mark Bell2007-07-281-5/+12
| | | | | | We now have explicit types for all classes (rather than using the parent class for those which inherit but add no extra data content). svn path=/trunk/dom/; revision=3465
* Implement type-specific node constructors and veneer the appropriate ↵John Mark Bell2007-07-261-1/+4
| | | | | | Document APIs onto them. svn path=/trunk/dom/; revision=3463
* Add omitted dom_document_create_comment APIJohn Mark Bell2007-07-221-0/+3
| | | | svn path=/trunk/dom/; revision=3459
* More name changes for consistency with specJames Shaw2007-07-211-6/+6
| | | | svn path=/trunk/dom/; revision=3455
* rename dom_document_get_element() to dom_document_get_document_element()James Shaw2007-07-211-1/+1
| | | | svn path=/trunk/dom/; revision=3453
* Add email addressJames Shaw2007-07-191-1/+1
| | | | svn path=/trunk/dom/; revision=3442
* Stub out remainder of DocumentType API.John Mark Bell2007-07-161-4/+19
| | | | | | Minor other changes. svn path=/trunk/dom/; revision=3424
* Stub implementation of of dom_document_type methodsJames Shaw2007-07-161-0/+21
| | | | svn path=/trunk/dom/; revision=3422
* Rename to dom_node_get_owner_document() in line with specJames Shaw2007-07-151-1/+1
| | | | svn path=/trunk/dom/; revision=3414
* Add extra dom_string constructor that permits strings to be manufactured in ↵John Mark Bell2007-07-141-0/+5
| | | | | | | | the situation where there exists no document. This should only be used in order to create dom_strings for use by DocumentType and Document constructors -- in any other situation, a suitable document already exists. svn path=/trunk/dom/; revision=3411
* Modify node value, type and name functions to match w3c specJames Shaw2007-07-141-4/+4
| | | | svn path=/trunk/dom/; revision=3409
* Add DOMImplementation, DOMImplementationListJohn Mark Bell2007-07-122-0/+74
| | | | | | | | | Add DOMImplementationRegistry Define DOMImplementationSource and provide API to allow their registration This little lot should permit some kind of sensible DOM bootstrapping. svn path=/trunk/dom/; revision=3403
* Add Element.John Mark Bell2007-07-112-1/+79
| | | | | | Fix Attr's get_schema_type_info to have the right name. svn path=/trunk/dom/; revision=3400
* Fix TypeInfo -> type_info conversionJohn Mark Bell2007-07-111-3/+3
| | | | svn path=/trunk/dom/; revision=3399
* Make CharacterData struct public (within library)John Mark Bell2007-07-111-0/+28
| | | | | | Add Text. svn path=/trunk/dom/; revision=3398
* Add CharacterDataJohn Mark Bell2007-07-111-0/+35
| | | | svn path=/trunk/dom/; revision=3397
* Add NamedNodeMap.John Mark Bell2007-07-101-0/+43
| | | | | | Minor fix for NodeList unref function; ensure it unrefs the owner document after it has finished using it. svn path=/trunk/dom/; revision=3395
* Add NodeList and string comparison APIJohn Mark Bell2007-07-102-0/+30
| | | | svn path=/trunk/dom/; revision=3394
* Purge all trace of the ballache that was dom_ctx.John Mark Bell2007-07-065-178/+143
| | | | | | Document the functions in document.c svn path=/trunk/dom/; revision=3385