| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
A dom_string is the first member of the underlying
dom_string_internal and thus their addresses are equivalent. We
shouldn't be exposing the internal alignment requirements through
the public header at all, so remove the bogus _ALIGNED and cast
through void internally to tell the compiler that we know what
we're doing.
|
| |
|
|
|
|
|
|
| |
Make it clear that dom_string_internal extends it
svn path=/trunk/libdom/; revision=13785
|
|
|
|
|
|
| |
ugly
svn path=/trunk/libdom/; revision=13762
|
|
|
|
|
|
| |
implemented yet.
svn path=/trunk/libdom/; revision=13592
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13427
|
|
|
|
|
|
| |
string data accessers.
svn path=/trunk/libdom/; revision=13327
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13322
|
|
|
|
| |
svn path=/trunk/libdom/; revision=13316
|
|
|
|
| |
svn path=/trunk/libdom/; revision=12172
|
|
|
|
|
|
| |
failures. Most importantly, it actually compiles now.
svn path=/trunk/dom/; revision=10717
|
|
|
|
| |
svn path=/trunk/dom/; revision=9191
|
|
|
|
| |
svn path=/trunk/dom/; revision=7002
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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=3394
|
|
|
|
|
|
| |
Document the functions in document.c
svn path=/trunk/dom/; revision=3385
|
|
This is mainly stub functions atm (and is missing a number of key interfaces).
svn path=/trunk/dom/; revision=3384
|