summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add lpu to the requirementsJohn Mark Bell2009-06-261-0/+11
| | | | svn path=/trunk/dom/; revision=8021
* 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-294-16/+58
| | | | | | 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
* Sync with core buildsystem changesJohn Mark Bell2009-04-213-11/+10
| | | | svn path=/trunk/dom/; revision=7225
* More best guesses.John Mark Bell2009-04-172-0/+3
| | | | svn path=/trunk/dom/; revision=7114
* Shared library versioningJohn Mark Bell2009-04-033-23/+27
| | | | svn path=/trunk/dom/; revision=7037
* Pkg-config control file.John Mark Bell2009-03-312-0/+20
| | | | | | Add requirements based upon build configuration. svn path=/trunk/dom/; revision=7015
* Add typedefs for public DOM interfaces.Bo Yang2009-03-317-8/+13
| | | | svn path=/trunk/dom/; revision=7002
* Work around bug in libxml headers.John Mark Bell2009-03-261-0/+4
| | | | svn path=/trunk/dom/; revision=6895
* Add test dir to include path. Probably useful for the DOMTS stuff.John Mark Bell2009-03-261-1/+1
| | | | svn path=/trunk/dom/; revision=6894
* Attempt to integrate DOMTS stuff.John Mark Bell2009-03-261-24/+18
| | | | | | | | This currently fails for two reasons: 1) XSLTProc doesn't like the input. 2) The build process bails before building any DOMTS tests. svn path=/trunk/dom/; revision=6890
* Purge testrunnerJohn Mark Bell2009-03-251-147/+0
| | | | svn path=/trunk/dom/; revision=6888
* Add -I$(CURDIR) to TESTCFLAGSJohn Mark Bell2009-03-251-0/+2
| | | | svn path=/trunk/dom/; revision=6887
* Squash warningsJohn Mark Bell2009-03-253-17/+14
| | | | svn path=/trunk/dom/; revision=6885
* Fix inclusion of Makefile.config.overrideJohn Mark Bell2009-03-251-1/+2
| | | | svn path=/trunk/dom/; revision=6884
* First cut at a port to the new buildsystem.John Mark Bell2009-03-2513-688/+103
| | | | | | 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-243-16/+101
| | | | | | 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-203-121/+517
| | | | svn path=/trunk/dom/; revision=6808
* Convert DOMFragment to use vtable structure.Bo Yang2009-03-192-5/+21
| | | | svn path=/trunk/dom/; revision=6806
* Convert DocumentType to use vtable structure.Bo Yang2009-03-193-22/+134
| | | | svn path=/trunk/dom/; revision=6804
* Convert DOM document interface to use vtable structure.Bo Yang2009-03-196-124/+598
| | | | 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-156-39/+193
| | | | svn path=/trunk/dom/; revision=6787
* Change the our dom to use vtable method. The first step: Bo Yang2009-03-126-219/+874
| | | | | | | 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-056-140/+731
| | | | svn path=/trunk/dom/; revision=6711
* Omitted to remove this yesterday.John Mark Bell2009-03-041-19/+0
| | | | svn path=/trunk/dom/; revision=6694
* Rationalise dom_string (some consideration is required as to what happens ↵John Mark Bell2009-03-0319-1407/+202
| | | | | | | | | 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
* Use pkg-config for hubbub cflags/librariesJohn Mark Bell2009-03-032-6/+2
| | | | svn path=/trunk/dom/; revision=6681
* Fix typoJohn Mark Bell2008-04-071-1/+1
| | | | svn path=/trunk/dom/; revision=4074
* Make TestObject support both HTML and XML documents and auto-detect which ↵John Mark Bell2007-11-047-38/+520
| | | | | | | | | | parser to use. Make binding testcase attempt to load an HTML document. Hubbub parser binding constructor takes Aliases file path as a parameter. Hubbub parser binding's token handler now spews debug at stdout. svn path=/trunk/dom/; revision=3648
* Fix TestObject after xml binding error changesJohn Mark Bell2007-11-041-4/+5
| | | | svn path=/trunk/dom/; revision=3647
* Beginnings of a hubbub binding to libdomJohn Mark Bell2007-11-047-0/+408
| | | | | | | | | | | | Currently comprises a stubbed-out parser wrapper Todo: 1) Complete parser wrapper, such that it actually creates a DOM tree 2) Provide a hubbub-backed DOMImplementationSource svn path=/trunk/dom/; revision=3646
* Fix up names of xml binding error enum valuesJohn Mark Bell2007-11-043-14/+14
| | | | svn path=/trunk/dom/; revision=3645
* Fix up bindings buildsystem to permit multiple bindings to be built -- quite ↵John Mark Bell2007-11-0410-202/+168
| | | | | | | | | 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
* 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-033-29/+414
| | | | | | | | | | | | | 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
* Add notes about casting/temp variables for asserts, control structures, ↵James Shaw2007-10-051-1/+73
| | | | | | attribute gets/sets and method calls svn path=/trunk/dom/; revision=3624
* Sketch out some implementation ideas:James Shaw2007-10-041-54/+215
| | | | | | | 'throw' variable propagated in same way to 'vardefs' 'condition-before' allows the creation of temporary DOMStrings before they're needed svn path=/trunk/dom/; revision=3623
* Make the dom string class more useful.John Mark Bell2007-10-0310-282/+675
| | | | | | | | 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
* Add better docs for <var>James Shaw2007-10-021-1/+10
| | | | svn path=/trunk/dom/; revision=3618
* DOM Strings are now capable of containing either UTF-8 or UTF-16 encoded data.John Mark Bell2007-09-3016-26/+856
| | | | | | | | | | | | | | | | | | 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