summaryrefslogtreecommitdiff
path: root/include/dom/core
Commit message (Collapse)AuthorAgeFilesLines
* add context for default action functionVincent Sanders2013-02-191-0/+1
|
* Fix dom_node_set_text_content.John-Mark Bell2012-12-311-1/+1
|
* fixup comment damage from automated type conversionVincent Sanders2012-09-111-1/+1
|
* unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral ↵Daniel Silverstone2012-09-106-36/+36
| | | | fixes. Test suite does not pass
* DOMString: Add toupper and tolower methodsDaniel Silverstone2012-07-211-0/+8
|
* Force dom_string to have maximal alignment requirements.John Mark Bell2012-04-011-3/+3
| | | | | | Make it clear that dom_string_internal extends it svn path=/trunk/libdom/; revision=13785
* Remove casts related to dom_string in API macros because they were hiding ↵Daniel Silverstone2012-03-289-104/+74
| | | | | | errors such as the one fixed in r13764 svn path=/trunk/libdom/; revision=13765
* Promote ref/unref in dom_string to be inline -- This implementation is a bit ↵Daniel Silverstone2012-03-281-3/+20
| | | | | | ugly svn path=/trunk/libdom/; revision=13762
* Promote ref/unref in dom_node to be inlines.Daniel Silverstone2012-03-281-5/+30
| | | | svn path=/trunk/libdom/; revision=13761
* Add some functions to implement some of LibCSS's selection callbacks, as an ↵Michael Drake2012-03-281-0/+12
| | | | | | experiment in clawing back performance. May well get reverted. svn path=/trunk/libdom/; revision=13755
* Migrate quirks from html_document to documentDaniel Silverstone2012-03-241-0/+32
| | | | svn path=/trunk/libdom/; revision=13633
* Make dom_node_ref return the nodeDaniel Silverstone2012-03-241-1/+1
| | | | svn path=/trunk/libdom/; revision=13593
* API for comparing dom_string with lwc_string. Caseless version not ↵Michael Drake2012-03-241-0/+5
| | | | | | implemented yet. svn path=/trunk/libdom/; revision=13592
* Fix build on ARM.Michael Drake2012-03-231-1/+1
| | | | svn path=/trunk/libdom/; revision=13565
* Provide custom API to ease optimal binding to libcssJohn Mark Bell2012-02-111-0/+29
| | | | svn path=/trunk/libdom/; revision=13440
* Add constructor which auto-interns dataJohn Mark Bell2012-02-061-0/+2
| | | | svn path=/trunk/libdom/; revision=13427
* 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