summaryrefslogtreecommitdiff
path: root/src/core
Commit message (Collapse)AuthorAgeFilesLines
* A bunch of panel beating:John Mark Bell2012-02-052-1/+2
| | | | | | | | * HTMLElement and HTMLDocument now have vtables * All HTML nodes require an HTMLDocument to create * Miscellaneous other cleanups svn path=/trunk/libdom/; revision=13424
* Fix comparison of interned and non-interned dom strings. Constify dom ↵Michael Drake2011-12-221-9/+13
| | | | | | string data accessers. svn path=/trunk/libdom/; revision=13327
* Move dom_string data accessing functions to public header.Michael Drake2011-12-224-46/+36
| | | | svn path=/trunk/libdom/; revision=13322
* Fix build with GCC 4.6John Mark Bell2011-12-212-19/+3
| | | | svn path=/trunk/libdom/; revision=13317
* Merge branches/jmb/dom-alloc-purge back to trunkJohn Mark Bell2011-12-2130-2326/+1571
| | | | svn path=/trunk/libdom/; revision=13316
* s/struct dom_string/dom_string/gJohn Mark Bell2011-04-0730-319/+310
| | | | svn path=/trunk/libdom/; revision=12172
* Provide mechanism for binding/client to define the features a document ↵John Mark Bell2010-12-061-2/+25
| | | | | | | | | 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-062-28/+112
| | | | svn path=/trunk/libdom/; revision=11024
* Fix copy constructors to actually copy all members, instead of leaving the ↵John Mark Bell2010-12-062-13/+30
| | | | | | majority of them uninitialised svn path=/trunk/libdom/; revision=11023
* Remove bootstrap infrastructure, and just make dom_implementation a stub.John Mark Bell2010-12-058-195/+128
| | | | | | 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
* Make libdom work again given lack of init/finalise in hubbub and prepare ↵Daniel Silverstone2010-12-041-2/+0
| | | | | | initial attempt at importing tests into the makefile svn path=/trunk/dom/; revision=10992
* Implement DocumentType.nameJohn Mark Bell2010-08-301-4/+1
| | | | svn path=/trunk/dom/; revision=10726
* Jump through hoops to conform to the spec: apparently, it requires unsigned ↵John Mark Bell2010-08-301-8/+28
| | | | | | values to be considered as signed svn path=/trunk/dom/; revision=10725
* Merge branches/struggleyb/libdom-html to trunk.John Mark Bell2010-08-3010-15/+426
| | | | | | 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-2612-427/+152
| | | | | | failures. Most importantly, it actually compiles now. svn path=/trunk/dom/; revision=10717
* Some formatting problem.Bo Yang2009-08-231-4/+4
| | | | svn path=/trunk/dom/; revision=9408
* Split the _dom_element_destroy into two functions.Bo Yang2009-08-172-15/+28
| | | | svn path=/trunk/dom/; revision=9330
* Remove an unused parameter 'result'.Bo Yang2009-08-172-20/+12
| | | | svn path=/trunk/dom/; revision=9327
* Fix up some ref/unref error produced from _dispatch_ usage.Bo Yang2009-08-141-15/+31
| | | | | | Now, the trunk/dom test result are consistent with Core. svn path=/trunk/dom/; revision=9279
* 1. Fix a string intern bug.Bo Yang2009-08-131-0/+2
| | | | | | 2. Reset the fields when finalise a dom_event. svn path=/trunk/dom/; revision=9247
* Remove spurious inline qualifiers.Michael Drake2009-08-131-6/+6
| | | | svn path=/trunk/dom/; revision=9239
* 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-139-45/+396
| | | | svn path=/trunk/dom/; revision=9236
* Fix up the failed 3 test cases for DOMTS Core level 3.Bo Yang2009-08-122-5/+9
| | | | svn path=/trunk/dom/; revision=9212
* Make the failed 5 testcases passed in DOMTS Core level2. Bo Yang2009-08-122-1/+4
| | | | svn path=/trunk/dom/; revision=9211
* Fix up the merge.Bo Yang2009-08-121-0/+2
| | | | svn path=/trunk/dom/; revision=9207
* Merge the branches/struggleyb/libdom-remain back to trunk.Bo Yang2009-08-1134-1914/+5487
| | | | svn path=/trunk/dom/; revision=9191
* Make dom_namednodemap and dom_nodelist more usable through macroes. Note, it ↵Bo Yang2009-04-292-8/+8
| | | | | | is the partly-completed testcase that find this problem. Our DOMTS is on its way. svn path=/trunk/dom/; revision=7365
* Add typedefs for public DOM interfaces.Bo Yang2009-03-311-2/+2
| | | | svn path=/trunk/dom/; revision=7002
* Squash warningsJohn Mark Bell2009-03-252-10/+7
| | | | svn path=/trunk/dom/; revision=6885
* First cut at a port to the new buildsystem.John Mark Bell2009-03-251-57/+8
| | | | | | DOMTS stuff currently disabled. svn path=/trunk/dom/; revision=6883
* Make code more readable.Bo Yang2009-03-241-1/+1
| | | | svn path=/trunk/dom/; revision=6836
* Convert Text to use vtable structure. Now the whole libdom is compiled ↵Bo Yang2009-03-242-6/+47
| | | | | | successfully again. svn path=/trunk/dom/; revision=6833
* Convert NodeList and ProcessingInstruction. Bo Yang2009-03-243-12/+13
| | | | svn path=/trunk/dom/; revision=6830
* Modify NamedNodeMap, note that there is no vtable for this type because it ↵Bo Yang2009-03-238-43/+49
| | | | | | 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 EntityReference interface to use vtable structure.Bo Yang2009-03-211-2/+2
| | | | svn path=/trunk/dom/; revision=6812
* Fix the spelling initialize -> initialise.Bo Yang2009-03-205-7/+7
| | | | svn path=/trunk/dom/; revision=6809
* Convert DOMElement interface to use vtable structure.Bo Yang2009-03-202-69/+217
| | | | svn path=/trunk/dom/; revision=6808
* Convert DOMFragment to use vtable structure.Bo Yang2009-03-191-2/+18
| | | | svn path=/trunk/dom/; revision=6806
* Convert DocumentType to use vtable structure.Bo Yang2009-03-192-9/+50
| | | | svn path=/trunk/dom/; revision=6804
* Convert DOM document interface to use vtable structure.Bo Yang2009-03-194-59/+192
| | | | svn path=/trunk/dom/; revision=6802
* Fix the last commit, hook up the vtable for dom_characterdata.Bo Yang2009-03-151-2/+1
| | | | svn path=/trunk/dom/; revision=6788
* Convert the dom_characterdata to use vtable.Bo Yang2009-03-155-22/+79
| | | | svn path=/trunk/dom/; revision=6787
* Change the our dom to use vtable method. The first step: Bo Yang2009-03-124-132/+328
| | | | | | | 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/+8
| | | | svn path=/trunk/dom/; revision=6711
* Rationalise dom_string (some consideration is required as to what happens ↵John Mark Bell2009-03-036-626/+152
| | | | | | | | | 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 typoJohn Mark Bell2008-04-071-1/+1
| | | | svn path=/trunk/dom/; revision=4074
* Implement dom_text_split_text()John Mark Bell2007-11-032-4/+48
| | | | svn path=/trunk/dom/; revision=3642
* Add, and implement, dom_string_insert() and dom_string_replace() APIJohn Mark Bell2007-11-032-29/+404
| | | | | | | | | | | | | 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-036-201/+564
| | | | | | | | 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