| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/dom/; revision=9281
|
|
|
|
| |
svn path=/trunk/dom/; revision=9236
|
|
|
|
| |
svn path=/trunk/dom/; revision=9191
|
|
|
|
| |
svn path=/trunk/dom/; revision=7436
|
|
|
|
| |
svn path=/trunk/dom/; revision=7433
|
|
|
|
| |
svn path=/trunk/dom/; revision=7393
|
|
|
|
|
|
| |
this little problem.
svn path=/trunk/dom/; revision=7392
|
|
|
|
|
|
| |
is the partly-completed testcase that find this problem. Our DOMTS is on its way.
svn path=/trunk/dom/; revision=7365
|
|
|
|
|
|
| |
dom_processing_instruction to public DOM interface.
svn path=/trunk/dom/; revision=7363
|
|
|
|
| |
svn path=/trunk/dom/; revision=7002
|
|
|
|
|
|
| |
successfully again.
svn path=/trunk/dom/; revision=6833
|
|
|
|
| |
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=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
|
|
|
|
|
|
|
|
|
| |
why this wasn't done in the first place is currently beyond me.
Tidy up XML binding -- ensure all public API is prefixed dom_xml_ to avoid confusion, remove xml_alloc (it's pointless), and move xml_msg to <dom/functypes.h> (as dom_msg, as it's more useful there)
Fix up testobject to compile once more
svn path=/trunk/dom/; revision=3643
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
hidden away in a header only meant for inclusion by bindings. Client applications are responsible for initialisation and finalisation of the dom library. This must happen before/after (respectively) any call to a dom library or dom binding library function.
The reason for this change is that, if multiple bindings are required, then the dom library should still only be initialised/finalised once. Only the client can enforce this sensibly.
svn path=/trunk/dom/; revision=3606
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
of the code
svn path=/trunk/dom/; revision=3489
|
|
|
|
| |
svn path=/trunk/dom/; revision=3474
|
|
|
|
| |
svn path=/trunk/dom/; revision=3470
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/dom/; revision=3462
|
|
|
|
| |
svn path=/trunk/dom/; revision=3459
|
|
|
|
| |
svn path=/trunk/dom/; revision=3455
|
|
|
|
| |
svn path=/trunk/dom/; revision=3453
|
|
|
|
| |
svn path=/trunk/dom/; revision=3442
|
|
|
|
|
|
| |
Minor other changes.
svn path=/trunk/dom/; revision=3424
|
|
|
|
| |
svn path=/trunk/dom/; revision=3422
|
|
|
|
| |
svn path=/trunk/dom/; revision=3414
|
|
|
|
|
|
| |
Beginnings of xmlparser SAX handling.
svn path=/trunk/dom/; revision=3413
|
|
|
|
|
|
| |
This is mostly stub, at present
svn path=/trunk/dom/; revision=3412
|
|
|
|
|
|
|
|
| |
the situation where there exists no document.
This should only be used in order to create dom_strings for use by DocumentType and Document constructors -- in any other situation, a suitable document already exists.
svn path=/trunk/dom/; revision=3411
|
|
|
|
| |
svn path=/trunk/dom/; revision=3409
|
|
|
|
|
|
|
|
|
| |
Add DOMImplementationRegistry
Define DOMImplementationSource and provide API to allow their registration
This little lot should permit some kind of sensible DOM bootstrapping.
svn path=/trunk/dom/; revision=3403
|
|
|
|
|
|
| |
Fix Attr's get_schema_type_info to have the right name.
svn path=/trunk/dom/; revision=3400
|
|
|
|
| |
svn path=/trunk/dom/; revision=3399
|
|
|
|
|
|
| |
Add Text.
svn path=/trunk/dom/; revision=3398
|
|
|
|
| |
svn path=/trunk/dom/; revision=3397
|
|
|
|
|
|
| |
Minor fix for NodeList unref function; ensure it unrefs the owner document after it has finished using it.
svn path=/trunk/dom/; revision=3395
|