| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
DOMTS stuff currently disabled.
svn path=/trunk/dom/; revision=6883
|
|
|
|
| |
svn path=/trunk/dom/; revision=6836
|
|
|
|
|
|
| |
successfully again.
svn path=/trunk/dom/; revision=6833
|
|
|
|
| |
svn path=/trunk/dom/; revision=6830
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/dom/; revision=6812
|
|
|
|
| |
svn path=/trunk/dom/; revision=6809
|
|
|
|
| |
svn path=/trunk/dom/; revision=6808
|
|
|
|
| |
svn path=/trunk/dom/; revision=6806
|
|
|
|
| |
svn path=/trunk/dom/; revision=6804
|
|
|
|
| |
svn path=/trunk/dom/; revision=6802
|
|
|
|
| |
svn path=/trunk/dom/; revision=6788
|
|
|
|
| |
svn path=/trunk/dom/; revision=6787
|
|
|
|
|
|
|
| |
convert the dom_node/dom_attr.
And, this is my first commit. Great && Exciting!
svn path=/trunk/dom/; revision=6780
|
|
|
|
| |
svn path=/trunk/dom/; revision=6711
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/dom/; revision=4074
|
|
|
|
| |
svn path=/trunk/dom/; revision=3642
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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_set_data()
svn path=/trunk/dom/; revision=3610
|
|
|
|
|
|
|
| |
Implement dom_namednodemap_set_named_item_ns()
Implement dom_namednodemap_remove_named_item_ns()
svn path=/trunk/dom/; revision=3609
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Implement dom_document_create_attribute_ns().
These need more sanity checking.
svn path=/trunk/dom/; revision=3600
|
|
|
|
|
|
|
|
| |
and prefix.
Fix up everything else to cope.
svn path=/trunk/dom/; revision=3599
|
|
|
|
|
|
| |
dom_node_get_node_name(), which implements the gory details.
svn path=/trunk/dom/; revision=3597
|
|
|
|
|
|
|
|
|
|
|
| |
The localname member of Node has been removed. The name member already caters for this.
Fix NodeList to cope with this and add some pointer vs NULL comparisons for sanity.
Replace implementation of dom_element_get_tag_name() with a simple call to dom_node_get_node_name(), which is where the gory details lie.
Add the QName building stuff to dom_node_get_node_name() (as per previous implementation of dom_element_get_tag_name()).
Implement dom_node_set_prefix().
Ensure dom_node_get_local_name() returns NULL for nodes created by non-namespace-aware methods (nodes must also be Elements or Attributes)
svn path=/trunk/dom/; revision=3596
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(dom_element_get_first_attribute())
Implement dom_namednodemap_get_length()
Implement dom_namednodemap_get_named_item()
Implement dom_namednodemap_set_named_item()
Implement dom_namednodemap_remove_named_item()
Implement dom_namednodemap_item()
All dom_namednodemap_*() still require support for maps of Entity and Notation nodes to be added (this requires DocumentType to gain support for these nodes).
svn path=/trunk/dom/; revision=3591
|
|
|
|
|
|
| |
node types.
svn path=/trunk/dom/; revision=3590
|
|
|
|
|
|
| |
Implement dom_nodelist_item()
svn path=/trunk/dom/; revision=3589
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Implement dom_document_get_elements_by_tag_name()
Implement dom_document_get_elements_by_tag_name_ns()
svn path=/trunk/dom/; revision=3572
|
|
|
|
|
|
| |
Implement dom_node_get_attributes()
svn path=/trunk/dom/; revision=3570
|
|
|
|
| |
svn path=/trunk/dom/; revision=3569
|
|
|
|
| |
svn path=/trunk/dom/; revision=3561
|
|
|
|
|
|
|
| |
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
|