summaryrefslogtreecommitdiff
path: root/include/dom/core
Commit message (Collapse)AuthorAgeFilesLines
* String: remove innards from public header.John-Mark Bell2019-06-291-1/+1
| | | | | | | | | A dom_string is the first member of the underlying dom_string_internal and thus their addresses are equivalent. We shouldn't be exposing the internal alignment requirements through the public header at all, so remove the bogus _ALIGNED and cast through void internally to tell the compiler that we know what we're doing.
* Add dom_node_contains()Daniel Silverstone2019-05-041-0/+10
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Change dom node type count to last value plus one.Michael Drake2017-02-041-1/+1
|
* Tweak the types on namednodemapDaniel Silverstone2015-10-311-2/+3
|
* Update character data get length property to use dom unsigned longVincent Sanders2015-10-311-1/+2
|
* add property getter and setter helpers for the dom_ulong typeVincent Sanders2015-10-251-0/+1
|
* Leave top 8 bits of dom exception unused.Michael Drake2015-08-011-3/+3
|
* 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