| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Fixes: NetSurf bug #2466.
|
| |
|
| |
|
|
|
|
| |
Clients can set the URI on a document with dom_document_set_uri()
|
| |
|
| |
|
| |
|
|
|
|
| |
element.
|
| |
|
| |
|
|
|
|
| |
common name of the 'id' attribute
|
| |
|
| |
|
| |
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13761
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13686
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13633
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13616
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13604
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13602
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13581
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13579
|
|
|
|
|
|
|
|
| |
* HTMLElement and HTMLDocument now have vtables
* All HTML nodes require an HTMLDocument to create
* Miscellaneous other cleanups
svn path=/trunk/libdom/; revision=13424
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13316
|
|
|
|
| |
svn path=/trunk/libdom/; revision=12172
|
|
|
|
|
|
| |
We only support a single implementation, so all the registry and implementation list stuff is totally unnecesary and overcomplex
svn path=/trunk/dom/; revision=11017
|
|
|
|
|
|
| |
A few additional fixes to reduce the number of regressions to single figures.
svn path=/trunk/dom/; revision=10724
|
|
|
|
|
|
| |
failures. Most importantly, it actually compiles now.
svn path=/trunk/dom/; revision=10717
|
|
|
|
| |
svn path=/trunk/dom/; revision=9236
|
|
|
|
| |
svn path=/trunk/dom/; revision=9211
|
|
|
|
| |
svn path=/trunk/dom/; revision=9191
|
|
|
|
|
|
| |
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=6809
|
|
|
|
| |
svn path=/trunk/dom/; revision=6802
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Implement dom_document_get_elements_by_tag_name()
Implement dom_document_get_elements_by_tag_name_ns()
svn path=/trunk/dom/; revision=3572
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fixup dom_node_destroy appropriately.
Implement dom_node_{set,get}_user_data.
svn path=/trunk/dom/; revision=3542
|
|
|
|
|
|
| |
Fix handling of nodes within a document (they no longer explicitly reference the document)
svn path=/trunk/dom/; revision=3468
|
|
|
|
| |
svn path=/trunk/dom/; revision=3467
|
|
|
|
| |
svn path=/trunk/dom/; revision=3466
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Document APIs onto them.
svn path=/trunk/dom/; revision=3463
|