summaryrefslogtreecommitdiff
path: root/src/core/document.h
Commit message (Collapse)AuthorAgeFilesLines
* Strip and collapse whitespace when gathering html option values.Michael Drake2014-01-231-0/+2
|
* add context for default action functionVincent Sanders2013-02-191-2/+4
|
* Ensure we memoise all the strings used in the core event dispatchDaniel Silverstone2012-11-031-0/+9
|
* DOMDocument: Memoize the empty stringDaniel Silverstone2012-07-051-0/+1
|
* Promote ref/unref in dom_node to be inlines.Daniel Silverstone2012-03-281-0/+1
| | | | svn path=/trunk/libdom/; revision=13761
* Migrate quirks from html_document to documentDaniel Silverstone2012-03-241-2/+12
| | | | svn path=/trunk/libdom/; revision=13633
* Store 'class' string as dom_string instead of lwc_string.Michael Drake2012-03-241-1/+1
| | | | svn path=/trunk/libdom/; revision=13616
* Store 'class' string on document.Michael Drake2012-03-241-1/+3
| | | | svn path=/trunk/libdom/; revision=13604
* Documents and document types do not have text contentDaniel Silverstone2012-03-241-0/+44
| | | | svn path=/trunk/libdom/; revision=13602
* A bunch of panel beating:John Mark Bell2012-02-051-0/+1
| | | | | | | | * HTMLElement and HTMLDocument now have vtables * All HTML nodes require an HTMLDocument to create * Miscellaneous other cleanups svn path=/trunk/libdom/; revision=13424
* Merge branches/jmb/dom-alloc-purge back to trunkJohn Mark Bell2011-12-211-125/+77
| | | | svn path=/trunk/libdom/; revision=13316
* s/struct dom_string/dom_string/gJohn Mark Bell2011-04-071-27/+27
| | | | svn path=/trunk/libdom/; revision=12172
* Remove bootstrap infrastructure, and just make dom_implementation a stub.John Mark Bell2010-12-051-6/+4
| | | | | | 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-301-0/+29
| | | | | | 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-261-7/+0
| | | | | | failures. Most importantly, it actually compiles now. svn path=/trunk/dom/; revision=10717
* Remove spurious inline qualifiers.John Mark Bell2009-08-131-2/+2
| | | | svn path=/trunk/dom/; revision=9238
* Merge the Events module (branches/struggleyb/libdom-events) back to trunk. :)Bo Yang2009-08-131-1/+10
| | | | svn path=/trunk/dom/; revision=9236
* Merge the branches/struggleyb/libdom-remain back to trunk.Bo Yang2009-08-111-23/+85
| | | | svn path=/trunk/dom/; revision=9191
* Modify NamedNodeMap, note that there is no vtable for this type because it ↵Bo Yang2009-03-231-2/+2
| | | | | | is not in the DOM inherit hierarchy. And the internal API used between different DOM parts should use struct dom_node_internal instead of struct dom_node. svn path=/trunk/dom/; revision=6821
* Convert DOM document interface to use vtable structure.Bo Yang2009-03-191-1/+140
| | | | svn path=/trunk/dom/; revision=6802
* Rationalise dom_string (some consideration is required as to what happens ↵John Mark Bell2009-03-031-6/+0
| | | | | | | | | 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-031-0/+5
| | | | | | | | 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-301-1/+4
| | | | | | | | | | | | | | | | | | 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
* Implement Document destructor.John Mark Bell2007-07-281-0/+3
| | | | | | Fix handling of nodes within a document (they no longer explicitly reference the document) svn path=/trunk/dom/; revision=3468
* Implement type-specific node constructors and veneer the appropriate ↵John Mark Bell2007-07-261-2/+2
| | | | | | Document APIs onto them. svn path=/trunk/dom/; revision=3463
* Make NamedNodeMap more genericJohn Mark Bell2007-07-121-2/+2
| | | | svn path=/trunk/dom/; revision=3404
* Add NamedNodeMap.John Mark Bell2007-07-101-1/+11
| | | | | | 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-101-0/+16
| | | | svn path=/trunk/dom/; revision=3394
* Purge all trace of the ballache that was dom_ctx.John Mark Bell2007-07-061-3/+3
| | | | | | Document the functions in document.c svn path=/trunk/dom/; revision=3385
* Import DOM library.John Mark Bell2007-07-061-0/+19
This is mainly stub functions atm (and is missing a number of key interfaces). svn path=/trunk/dom/; revision=3384