summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Implement dom_characterdata_get_data()John Mark Bell2007-09-291-6/+21
| | | | | | Implement dom_characterdata_set_data() svn path=/trunk/dom/; revision=3610
* Implement dom_namednodemap_get_named_item_ns()John Mark Bell2007-09-291-14/+110
| | | | | | | Implement dom_namednodemap_set_named_item_ns() Implement dom_namednodemap_remove_named_item_ns() svn path=/trunk/dom/; revision=3609
* Implement dom_element_get_attribute_ns()John Mark Bell2007-09-291-29/+259
| | | | | | | | | | Implement dom_element_set_attribute_ns() Implement dom_element_remove_attribute_ns() Implement dom_element_get_attribute_node_ns() Implement dom_element_set_attribute_node_ns() Implement dom_element_has_attribute_ns() svn path=/trunk/dom/; revision=3608
* dom_initialise() and dom_finalise() are now completely public, rather than ↵John Mark Bell2007-09-295-27/+51
| | | | | | | | 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
* Add finalisation method to libxml-libdom.John Mark Bell2007-09-293-2/+32
| | | | | | Ensure testcases clean up after themselves by calling xml_dom_binding_finalise() svn path=/trunk/dom/; revision=3605
* Introduce global initialistaion/finalisation for DOM library. This should be ↵John Mark Bell2007-09-2910-75/+387
| | | | | | | | | used to initialise any parts of the library before they are used. Mostly, this will comprise of static initialisers. Finalisation cleans up afterwards. This API is only exposed to language-specific binding libraries -- they should expose their own global initialisation/finalisation routines which call the core libdom ones. Introduce new utility code for namespace and qname processing. Port dom_document_create_element_ns() and dom_document_create_attribute_ns() to this new code. Make libdom-libxml's initialiser initialise libdom itself first of all. svn path=/trunk/dom/; revision=3604
* Stub out all test templates. Remove all previous tests.James Shaw2007-09-2818-1527/+243
| | | | svn path=/trunk/dom/; revision=3602