summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Include html_document.h in dom.hDaniel Silverstone2012-03-241-0/+1
| | | | svn path=/trunk/libdom/; revision=13618
* Change bool for an enum because quirks are tristate.Daniel Silverstone2012-03-241-4/+14
| | | | svn path=/trunk/libdom/; revision=13617
* Rudimentary API for dom_html_document_{get,set}_quirks_mode -- Replete with ↵Daniel Silverstone2012-03-241-0/+22
| | | | | | exception API for orthogonality if not happiness svn path=/trunk/libdom/; revision=13614
* 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
* Rename 'namespace' argument to _dom_text_event_init_nsDaniel Silverstone2012-03-241-1/+1
| | | | svn path=/trunk/libdom/; revision=13590
* Include html element from dom.hDaniel Silverstone2012-03-241-0/+3
| | | | svn path=/trunk/libdom/; revision=13578
* 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
* Make HTMLDocument use dynamic dispatch like everything else.John Mark Bell2012-02-051-39/+225
| | | | | | | | Fix variable misuse in HTMLDocument constructor. Overload Document.createElement and Document.createElementNS for HTMLDocuments Re-enable decision to create HTMLDocument instead of Document in DOMImplementation.createDocument svn path=/trunk/libdom/; revision=13425
* A bunch of panel beating:John Mark Bell2012-02-052-21/+92
| | | | | | | | * HTMLElement and HTMLDocument now have vtables * All HTML nodes require an HTMLDocument to create * Miscellaneous other cleanups svn path=/trunk/libdom/; revision=13424
* Excise more API bizarrenessJohn Mark Bell2012-02-051-6/+0
| | | | svn path=/trunk/libdom/; revision=13421
* Implement HTMLDocument constructor/destructorJohn Mark Bell2012-02-051-1/+1
| | | | svn path=/trunk/libdom/; revision=13420
* Remove parser unpleasantness from HTMLDocumentJohn Mark Bell2012-02-051-6/+1
| | | | svn path=/trunk/libdom/; revision=13419
* 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-218-48/+79
| | | | svn path=/trunk/libdom/; revision=13316
* s/struct dom_string/dom_string/gJohn Mark Bell2011-04-0728-433/+422
| | | | svn path=/trunk/libdom/; revision=12172
* Provide mechanism for binding/client to define the features a document ↵John Mark Bell2010-12-062-1/+12
| | | | | | | | | 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-057-342/+9
| | | | | | 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
* Fix buildJohn Mark Bell2010-12-051-1/+1
| | | | svn path=/trunk/dom/; revision=11016
* Beginnings of some of HTMLElementDaniel Silverstone2010-12-051-11/+28
| | | | svn path=/trunk/dom/; revision=11009
* Merge branches/struggleyb/libdom-html to trunk.John Mark Bell2010-08-3060-24/+827
| | | | | | 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-264-9/+7
| | | | | | failures. Most importantly, it actually compiles now. svn path=/trunk/dom/; revision=10717
* Add events module header into the dom.hBo Yang2009-08-141-0/+3
| | | | svn path=/trunk/dom/; revision=9281
* Merge the Events module (branches/struggleyb/libdom-events) back to trunk. :)Bo Yang2009-08-1317-1/+823
| | | | svn path=/trunk/dom/; revision=9236
* Merge the branches/struggleyb/libdom-remain back to trunk.Bo Yang2009-08-1114-84/+174
| | | | 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-295-0/+54
| | | | | | 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
* Make hubbub parser binding build trees correctly (credit: Bo Yang)John Mark Bell2009-03-051-0/+14
| | | | svn path=/trunk/dom/; revision=6711
* Rationalise dom_string (some consideration is required as to what happens ↵John Mark Bell2009-03-034-23/+5
| | | | | | | | | 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
* Fix up bindings buildsystem to permit multiple bindings to be built -- quite ↵John Mark Bell2007-11-041-0/+20
| | | | | | | | | why this wasn't done in the first place is currently beyond me. Tidy up XML binding -- ensure all public API is prefixed dom_xml_ to avoid confusion, remove xml_alloc (it's pointless), and move xml_msg to <dom/functypes.h> (as dom_msg, as it's more useful there) Fix up testobject to compile once more svn path=/trunk/dom/; revision=3643
* 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-303-4/+18
| | | | | | | | | | | | | | | | | | 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
* dom_initialise() and dom_finalise() are now completely public, rather than ↵John Mark Bell2007-09-292-10/+21
| | | | | | | | hidden away in a header only meant for inclusion by bindings. Client applications are responsible for initialisation and finalisation of the dom library. This must happen before/after (respectively) any call to a dom library or dom binding library function. The reason for this change is that, if multiple bindings are required, then the dom library should still only be initialised/finalised once. Only the client can enforce this sensibly. svn path=/trunk/dom/; revision=3606