summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix misleading commentsJohn Mark Bell2007-09-221-13/+12
| | | | svn path=/trunk/dom/; revision=3555
* Move cardinality constraint checking for Document Element and DocumentType ↵John Mark Bell2007-09-221-89/+130
| | | | | | | | children to _dom_node_permitted_child(). Break tree insertion/removal code out from dom_node_insert_before() and into their own utility routines. svn path=/trunk/dom/; revision=3554
* Implement dom_node_get_node_name()John Mark Bell2007-09-201-12/+133
| | | | | | | | Implement dom_node_get_node_value() Implement dom_node_set_node_value() Implement utility routines to determine if a given node type is permitted as a child of a node and to detect if a given node is read only. svn path=/trunk/dom/; revision=3553
* Stop TestObject appending .xml to the filename -- the auto-generated ↵John Mark Bell2007-09-192-2/+2
| | | | | | | | testcases already have it appended. Fixup binding testcase appropriately. svn path=/trunk/dom/; revision=3552
* Begin implementation of DocumentType classJohn Mark Bell2007-09-197-87/+202
| | | | | | | | | | | | | | | 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
* More informational messagingJohn Mark Bell2007-09-181-6/+45
| | | | svn path=/trunk/dom/; revision=3550
* Implement dom_element_get_tag_name()John Mark Bell2007-09-181-8/+105
| | | | | | Implement dom_element_set_attribute_node() [still has some outstanding sanity checking] svn path=/trunk/dom/; revision=3549
* Implement sanity checking in dom_node_insert_before()John Mark Bell2007-09-181-18/+116
| | | | | | There's still a couple of outstanding issues here, marked as todos. svn path=/trunk/dom/; revision=3548
* More logging of failed DOM calls.John Mark Bell2007-09-171-4/+45
| | | | | | Fix segfault caused by failure to add attribute to element svn path=/trunk/dom/; revision=3547
* Partial implementation of dom_node_insert_before. This has utterly no sanity ↵John Mark Bell2007-09-171-5/+29
| | | | | | checking at present so will probably break, badly. svn path=/trunk/dom/; revision=3546
* Fix potential segfaultsJohn Mark Bell2007-09-171-2/+4
| | | | svn path=/trunk/dom/; revision=3544
* Implement xml-binding-specific dom_implementation_create_documentJohn Mark Bell2007-09-171-8/+46
| | | | svn path=/trunk/dom/; revision=3543
* Make Document nodes own themselves (removes need for special case for Documents)John Mark Bell2007-09-172-17/+78
| | | | | | | Fixup dom_node_destroy appropriately. Implement dom_node_{set,get}_user_data. svn path=/trunk/dom/; revision=3542
* Fix testcases after change to xml_parser API (messaging callback)John Mark Bell2007-09-161-3/+18
| | | | svn path=/trunk/dom/; revision=3541
* Add callback for informational messaging (with variable severity, a la syslog)John Mark Bell2007-09-163-43/+99
| | | | | | | Use it to log interesting things during parsing. This needs to grow some i18n at some point. svn path=/trunk/dom/; revision=3540
* Move parameter declaration, as xsltproc (libxml 2.6.26, libxslt 1.1.21, ↵John Mark Bell2007-09-161-5/+5
| | | | | | libexslt 0.8.13) complains otherwise svn path=/trunk/dom/; revision=3539
* Fix bug in dom_node_destroy -- Document nodes have no owner, so attempting ↵John Mark Bell2007-09-161-8/+18
| | | | | | to ref/unref it is stupid svn path=/trunk/dom/; revision=3538
* Notes on W3C test suite elementsJames Shaw2007-08-161-0/+179
| | | | svn path=/trunk/dom/; revision=3526
* Import more W3C tests that compile successfullyJames Shaw2007-08-113-0/+146
| | | | svn path=/trunk/dom/; revision=3506
* Implement assertSizeJames Shaw2007-08-111-2/+66
| | | | svn path=/trunk/dom/; revision=3505
* Import more W3C tests that compile successfullyJames Shaw2007-08-095-0/+233
| | | | svn path=/trunk/dom/; revision=3495
* Add assertTrue and assertFalse templates; add boolean primitive to ↵James Shaw2007-08-092-1/+28
| | | | | | ctypes.xml. Bugfix get-ctype to translate primitive typename when specified. svn path=/trunk/dom/; revision=3494
* Import more W3C tests that compile successfullyJames Shaw2007-08-086-0/+277
| | | | svn path=/trunk/dom/; revision=3492
* Import string helper functions from XSLT Standard LibraryJames Shaw2007-08-081-0/+1233
| | | | svn path=/trunk/dom/; revision=3491
* Fix casting of structs as 'out' parameters. Update ctypes.xml mappings.James Shaw2007-08-082-2/+63
| | | | svn path=/trunk/dom/; revision=3490
* Rename dom_named_node_map to dom_namednodemap to be consistent with the rest ↵James Shaw2007-08-082-4/+4
| | | | | | of the code svn path=/trunk/dom/; revision=3489
* Fix structure name dom_nodelistJames Shaw2007-08-032-4/+4
| | | | svn path=/trunk/dom/; revision=3474
* Import test from W3C test suiteJames Shaw2007-08-031-0/+45
| | | | svn path=/trunk/dom/; revision=3473
* Reinstate assertEquals templateJames Shaw2007-08-031-2/+51
| | | | svn path=/trunk/dom/; revision=3472
* Implemented variable-or-literal type guessing. Implemented creation of ↵James Shaw2007-08-011-11/+38
| | | | | | temporary DOMStrings with autogenned, globally unique identifiers. svn path=/trunk/dom/; revision=3471
* Comment fixesJohn Mark Bell2007-07-293-9/+9
| | | | svn path=/trunk/dom/; revision=3470
* Improve description of the list of nodes pending deletion and how it is ↵John Mark Bell2007-07-281-0/+40
| | | | | | related to the process of deleting a Document. svn path=/trunk/dom/; revision=3469
* Implement Document destructor.John Mark Bell2007-07-283-8/+109
| | | | | | 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-2821-5/+463
| | | | svn path=/trunk/dom/; revision=3467
* Add Document constructorJohn Mark Bell2007-07-282-3/+108
| | | | svn path=/trunk/dom/; revision=3466
* Sort out somewhat messy object construction.John Mark Bell2007-07-2820-152/+480
| | | | | | 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
* Improve infrastructure for generating parameters for method calls. Stub out ↵James Shaw2007-07-271-20/+194
| | | | | | guess-var-or-literal-type template. svn path=/trunk/dom/; revision=3464
* Implement type-specific node constructors and veneer the appropriate ↵John Mark Bell2007-07-2615-83/+413
| | | | | | 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-263-3/+45
| | | | svn path=/trunk/dom/; revision=3462
* Further work on libxml binding.John Mark Bell2007-07-221-29/+325
| | | | | | | This is now has support for enough node types to allow the XML-based testsuite to run sensibly. (The core library is missing a bunch of functionality that the testsuite requires, like the creation of nodes) Insertion of DocumentType nodes into a Document is mostly there -- the remainder is waiting on a suitable API in the core library. svn path=/trunk/dom/; revision=3461
* Fix binding.c API usage.John Mark Bell2007-07-222-2/+11
| | | | | | Modify testcase Makefile to build things other than the XML-based testsuite svn path=/trunk/dom/; revision=3460
* Add omitted dom_document_create_comment APIJohn Mark Bell2007-07-222-0/+26
| | | | svn path=/trunk/dom/; revision=3459
* More libxml binding workJohn Mark Bell2007-07-221-45/+228
| | | | svn path=/trunk/dom/; revision=3458
* Rewritten produce-specific-attribute to handle casts properly. IDL to C ↵James Shaw2007-07-222-240/+233
| | | | | | names are now held in ctypes.xml. produce-specific-method and <assertEquals> are not yet reimplemented. svn path=/trunk/dom/; revision=3457
* More name changes for consistency with specJames Shaw2007-07-212-12/+12
| | | | svn path=/trunk/dom/; revision=3455
* rename dom_document_get_element() to dom_document_get_document_element()James Shaw2007-07-212-2/+2
| | | | svn path=/trunk/dom/; revision=3453
* Silence GCC/LD command lines when building test cases.John Mark Bell2007-07-214-10/+11
| | | | | | Improve structure of xml-based testsuite svn path=/trunk/dom/; revision=3452
* Add cast for attribute result variableJames Shaw2007-07-212-16/+128
| | | | svn path=/trunk/dom/; revision=3451
* Fix RISC OS buildJohn Mark Bell2007-07-204-9/+15
| | | | svn path=/trunk/dom/; revision=3446
* Silence XSLT invocation.John Mark Bell2007-07-201-1/+2
| | | | | | Ensure generated testcase source files are deleted from clean target. svn path=/trunk/dom/; revision=3445