summaryrefslogtreecommitdiff
path: root/src/core/document.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement dom_document_get_implementation()John Mark Bell2007-09-221-14/+13
| | | | | | | Implement dom_document_get_elements_by_tag_name() Implement dom_document_get_elements_by_tag_name_ns() svn path=/trunk/dom/; revision=3572
* Begin implementation of DocumentType classJohn Mark Bell2007-09-191-41/+10
| | | | | | | | | | | | | | | Remove dom_document_set_doctype() -- dom_node_insert_before() (and thus _append_child()) can be used to achieve the same effect. DocumentType node is now a child of the Document node (as it should have been) rather than a hidden field. Make dom_node_destroy() aware of DocumentType nodes potentially having no owner. Make dom_node_finalise() aware of it, too. Make dom_node_get_owner_document() return NULL for Document nodes, as per the spec. Fix bug in dom_node_insert_before() -- previously it failed to catch attempts to insert a second root element. Make dom_node_insert_before() handle DocumentType nodes appropriately. Implement XML binding's dom_implementation_create_document_type() function. Fix XML binding's dom_implementation_create_document() implementation to cope with changed API relating to doctype insertion. Fix up XML parser wrapper to cater for new doctype insertion mechanism. Also sprinkle some NULL about for paranoia purposes. svn path=/trunk/dom/; revision=3551
* Make Document nodes own themselves (removes need for special case for Documents)John Mark Bell2007-09-171-2/+4
| | | | | | | Fixup dom_node_destroy appropriately. Implement dom_node_{set,get}_user_data. svn path=/trunk/dom/; revision=3542
* Implement Document destructor.John Mark Bell2007-07-281-2/+77
| | | | | | Fix handling of nodes within a document (they no longer explicitly reference the document) svn path=/trunk/dom/; revision=3468
* Finalisation and destruction of nodesJohn Mark Bell2007-07-281-1/+0
| | | | svn path=/trunk/dom/; revision=3467
* Add Document constructorJohn Mark Bell2007-07-281-3/+104
| | | | svn path=/trunk/dom/; revision=3466
* Sort out somewhat messy object construction.John Mark Bell2007-07-281-15/+19
| | | | | | We now have explicit types for all classes (rather than using the parent class for those which inherit but add no extra data content). svn path=/trunk/dom/; revision=3465
* Implement type-specific node constructors and veneer the appropriate ↵John Mark Bell2007-07-261-45/+47
| | | | | | Document APIs onto them. svn path=/trunk/dom/; revision=3463
* Add ability to set a document's doctype after the document has been createdJohn Mark Bell2007-07-261-0/+30
| | | | svn path=/trunk/dom/; revision=3462
* Add omitted dom_document_create_comment APIJohn Mark Bell2007-07-221-0/+23
| | | | svn path=/trunk/dom/; revision=3459
* rename dom_document_get_element() to dom_document_get_document_element()James Shaw2007-07-211-1/+1
| | | | svn path=/trunk/dom/; revision=3453
* Make NamedNodeMap more genericJohn Mark Bell2007-07-121-5/+6
| | | | svn path=/trunk/dom/; revision=3404
* Add NamedNodeMap.John Mark Bell2007-07-101-1/+109
| | | | | | 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/+114
| | | | svn path=/trunk/dom/; revision=3394
* Purge all trace of the ballache that was dom_ctx.John Mark Bell2007-07-061-98/+479
| | | | | | Document the functions in document.c svn path=/trunk/dom/; revision=3385
* Import DOM library.John Mark Bell2007-07-061-0/+356
This is mainly stub functions atm (and is missing a number of key interfaces). svn path=/trunk/dom/; revision=3384