| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
function.
Implement dom_attr_get_value()
svn path=/trunk/dom/; revision=3588
|
|
|
|
| |
svn path=/trunk/dom/; revision=3583
|
|
|
|
|
|
|
| |
Implement dom_attr_set_value()
Rework dom_attr_get_owner() to make use of base class' parent pointer rather than having an explicit owner pointer (the base class' parent pointer would be unused, otherwise, and the Node class is aware that attributes have no parent, so this is safe)
svn path=/trunk/dom/; revision=3582
|
|
|
|
|
|
| |
delegates value accesses to the Attr-specific functions.
svn path=/trunk/dom/; revision=3581
|
|
|
|
|
|
| |
value of an existing attribute -- attribute values are stored as a tree of child nodes, not as a string attached to the nodeValue pointer.
svn path=/trunk/dom/; revision=3580
|
|
|
|
|
|
| |
dom_node_get_next_sibling() to return NULL for Attr nodes.
svn path=/trunk/dom/; revision=3579
|
|
|
|
|
|
| |
dom_element_remove_attribute{_node}
svn path=/trunk/dom/; revision=3578
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement dom_element_set_attribute()
Implement dom_element_remove_attribute()
Implement dom_element_get_attribute_node()
Make dom_element_set_attribute_node() ensure that the element is writable
Implement dom_element_remove_attribute_node()
Implement dom_element_get_elements_by_tag_name()
Implement dom_element_get_elements_by_tag_name_ns()
Implement dom_element_has_attribute()
svn path=/trunk/dom/; revision=3577
|
|
|
|
| |
svn path=/trunk/dom/; revision=3576
|
|
|
|
| |
svn path=/trunk/dom/; revision=3575
|
|
|
|
| |
svn path=/trunk/dom/; revision=3574
|
|
|
|
| |
svn path=/trunk/dom/; revision=3573
|
|
|
|
|
|
|
| |
Implement dom_document_get_elements_by_tag_name()
Implement dom_document_get_elements_by_tag_name_ns()
svn path=/trunk/dom/; revision=3572
|
|
|
|
| |
svn path=/trunk/dom/; revision=3571
|
|
|
|
|
|
| |
Implement dom_node_get_attributes()
svn path=/trunk/dom/; revision=3570
|
|
|
|
| |
svn path=/trunk/dom/; revision=3569
|
|
|
|
|
|
| |
Make test/binding.c include stdio.h itself rather than relying on other things to include it.
svn path=/trunk/dom/; revision=3568
|
|
|
|
| |
svn path=/trunk/dom/; revision=3567
|
|
|
|
| |
svn path=/trunk/dom/; revision=3566
|
|
|
|
| |
svn path=/trunk/dom/; revision=3565
|
|
|
|
|
|
| |
at end of file
svn path=/trunk/dom/; revision=3564
|
|
|
|
|
|
|
| |
Sprinkle some assertions about so as to catch malloc failure at the earliest opportunity.
Pedantic line length and brace position changes.
svn path=/trunk/dom/; revision=3563
|
|
|
|
| |
svn path=/trunk/dom/; revision=3562
|
|
|
|
| |
svn path=/trunk/dom/; revision=3561
|
|
|
|
| |
svn path=/trunk/dom/; revision=3560
|
|
|
|
| |
svn path=/trunk/dom/; revision=3559
|
|
|
|
|
|
|
| |
Make _dom_node_replace() handle DocumentFragments correctly.
Ensure _dom_node_detach_range() clears range's previous/next pointers.
svn path=/trunk/dom/; revision=3558
|
|
|
|
| |
svn path=/trunk/dom/; revision=3557
|
|
|
|
| |
svn path=/trunk/dom/; revision=3556
|
|
|
|
| |
svn path=/trunk/dom/; revision=3555
|
|
|
|
|
|
|
|
| |
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_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
|
|
|
|
|
|
|
|
| |
testcases already have it appended.
Fixup binding testcase appropriately.
svn path=/trunk/dom/; revision=3552
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/dom/; revision=3550
|
|
|
|
|
|
| |
Implement dom_element_set_attribute_node() [still has some outstanding sanity checking]
svn path=/trunk/dom/; revision=3549
|
|
|
|
|
|
| |
There's still a couple of outstanding issues here, marked as todos.
svn path=/trunk/dom/; revision=3548
|
|
|
|
|
|
| |
Fix segfault caused by failure to add attribute to element
svn path=/trunk/dom/; revision=3547
|
|
|
|
|
|
| |
checking at present so will probably break, badly.
svn path=/trunk/dom/; revision=3546
|
|
|
|
| |
svn path=/trunk/dom/; revision=3544
|
|
|
|
| |
svn path=/trunk/dom/; revision=3543
|
|
|
|
|
|
|
| |
Fixup dom_node_destroy appropriately.
Implement dom_node_{set,get}_user_data.
svn path=/trunk/dom/; revision=3542
|
|
|
|
| |
svn path=/trunk/dom/; revision=3541
|
|
|
|
|
|
|
| |
Use it to log interesting things during parsing.
This needs to grow some i18n at some point.
svn path=/trunk/dom/; revision=3540
|
|
|
|
|
|
| |
libexslt 0.8.13) complains otherwise
svn path=/trunk/dom/; revision=3539
|
|
|
|
|
|
| |
to ref/unref it is stupid
svn path=/trunk/dom/; revision=3538
|
|
|
|
| |
svn path=/trunk/dom/; revision=3526
|
|
|
|
| |
svn path=/trunk/dom/; revision=3506
|
|
|
|
| |
svn path=/trunk/dom/; revision=3505
|
|
|
|
| |
svn path=/trunk/dom/; revision=3495
|