Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ensure result value is propogated (coverity 1127073) | Vincent Sanders | 2014-01-24 | 1 | -4/+7 |
| | |||||
* | Fix some broken asserts | Daniel Silverstone | 2013-11-17 | 1 | -2/+2 |
| | |||||
* | Compare the name and prefix directly. Since this avoids string ↵ | Michael Drake | 2013-05-23 | 1 | -17/+5 |
| | | | | concatination, and (un)ref. | ||||
* | Name and prefix were already compared. Add sane namespace comparison. ↵ | Michael Drake | 2013-05-23 | 1 | -7/+7 |
| | | | | Remove broken comparison stuff. Remove TODO from previous commit. | ||||
* | Fix _dom_node_is_equal leaking all its refs. Replace C++ comments. Flag ↵ | Michael Drake | 2013-05-23 | 1 | -32/+65 |
| | | | | broken bit with TODO. | ||||
* | Notify user data handlers on deletion | John-Mark Bell | 2013-02-22 | 1 | -0/+5 |
| | |||||
* | add context for default action function | Vincent Sanders | 2013-02-19 | 1 | -1/+2 |
| | |||||
* | Fix buffer overflow in event dispatch | John-Mark Bell | 2012-11-11 | 1 | -1/+6 |
| | |||||
* | Be marginally less brain dead when allocating memory during event dispatch | Daniel Silverstone | 2012-11-03 | 1 | -33/+30 |
| | |||||
* | Do not validate event names and use dom_string_byte_length for fastness | Daniel Silverstone | 2012-11-03 | 1 | -5/+1 |
| | |||||
* | fixup comment damage from automated type conversion | Vincent Sanders | 2012-09-11 | 1 | -3/+3 |
| | |||||
* | unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral ↵ | Daniel Silverstone | 2012-09-10 | 1 | -3/+3 |
| | | | | fixes. Test suite does not pass | ||||
* | DOMNode: Clear string pointers when we unref them | Daniel Silverstone | 2012-07-22 | 1 | -4/+12 |
| | |||||
* | Cleanup: Remove two UNUSED()s which are not true | Daniel Silverstone | 2012-07-19 | 1 | -2/+0 |
| | |||||
* | Promote ref/unref in dom_node to be inlines. | Daniel Silverstone | 2012-03-28 | 1 | -41/+7 |
| | | | | svn path=/trunk/libdom/; revision=13761 | ||||
* | Squash scan-build issues | Daniel Silverstone | 2012-03-25 | 1 | -2/+8 |
| | | | | svn path=/trunk/libdom/; revision=13686 | ||||
* | And ensure we don't recurse comments and PIs during dom_node_get_text_content | Daniel Silverstone | 2012-03-24 | 1 | -0/+3 |
| | | | | svn path=/trunk/libdom/; revision=13603 | ||||
* | Fixup _dom_node_get_text_content | Daniel Silverstone | 2012-03-24 | 1 | -7/+14 |
| | | | | svn path=/trunk/libdom/; revision=13598 | ||||
* | Make dom_node_ref return the node | Daniel Silverstone | 2012-03-24 | 1 | -1/+3 |
| | | | | svn path=/trunk/libdom/; revision=13593 | ||||
* | C89 for BeOS build. | François Revel | 2012-03-24 | 1 | -25/+40 |
| | | | | svn path=/trunk/libdom/; revision=13581 | ||||
* | Move dom_string data accessing functions to public header. | Michael Drake | 2011-12-22 | 1 | -4/+4 |
| | | | | svn path=/trunk/libdom/; revision=13322 | ||||
* | Fix build with GCC 4.6 | John Mark Bell | 2011-12-21 | 1 | -7/+3 |
| | | | | svn path=/trunk/libdom/; revision=13317 | ||||
* | Merge branches/jmb/dom-alloc-purge back to trunk | John Mark Bell | 2011-12-21 | 1 | -297/+349 |
| | | | | svn path=/trunk/libdom/; revision=13316 | ||||
* | s/struct dom_string/dom_string/g | John Mark Bell | 2011-04-07 | 1 | -21/+21 |
| | | | | svn path=/trunk/libdom/; revision=12172 | ||||
* | Simplify DOMImplementation API by replacing dom_strings with const char * | John Mark Bell | 2010-12-06 | 1 | -2/+4 |
| | | | | svn path=/trunk/libdom/; revision=11024 | ||||
* | Fix copy constructors to actually copy all members, instead of leaving the ↵ | John Mark Bell | 2010-12-06 | 1 | -12/+20 |
| | | | | | | majority of them uninitialised svn path=/trunk/libdom/; revision=11023 | ||||
* | Remove bootstrap infrastructure, and just make dom_implementation a stub. | John Mark Bell | 2010-12-05 | 1 | -14/+6 |
| | | | | | | 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 | ||||
* | Merge branches/struggleyb/libdom-html to trunk. | John Mark Bell | 2010-08-30 | 1 | -3/+26 |
| | | | | | | A few additional fixes to reduce the number of regressions to single figures. svn path=/trunk/dom/; revision=10724 | ||||
* | Sync with modified libwapcaplet API: 11 additional DOM Level1 testsuite ↵ | John Mark Bell | 2010-08-26 | 1 | -165/+33 |
| | | | | | | failures. Most importantly, it actually compiles now. svn path=/trunk/dom/; revision=10717 | ||||
* | Merge the Events module (branches/struggleyb/libdom-events) back to trunk. :) | Bo Yang | 2009-08-13 | 1 | -13/+72 |
| | | | | svn path=/trunk/dom/; revision=9236 | ||||
* | Fix up the failed 3 test cases for DOMTS Core level 3. | Bo Yang | 2009-08-12 | 1 | -1/+5 |
| | | | | svn path=/trunk/dom/; revision=9212 | ||||
* | Merge the branches/struggleyb/libdom-remain back to trunk. | Bo Yang | 2009-08-11 | 1 | -213/+934 |
| | | | | svn path=/trunk/dom/; revision=9191 | ||||
* | Squash warnings | John Mark Bell | 2009-03-25 | 1 | -1/+1 |
| | | | | svn path=/trunk/dom/; revision=6885 | ||||
* | Convert NodeList and ProcessingInstruction. | Bo Yang | 2009-03-24 | 1 | -3/+3 |
| | | | | svn path=/trunk/dom/; revision=6830 | ||||
* | Convert the dom_characterdata to use vtable. | Bo Yang | 2009-03-15 | 1 | -1/+1 |
| | | | | svn path=/trunk/dom/; revision=6787 | ||||
* | Change the our dom to use vtable method. The first step: | Bo Yang | 2009-03-12 | 1 | -101/+124 |
| | | | | | | | convert the dom_node/dom_attr. And, this is my first commit. Great && Exciting! svn path=/trunk/dom/; revision=6780 | ||||
* | Rationalise dom_string (some consideration is required as to what happens ↵ | John Mark Bell | 2009-03-03 | 1 | -14/+7 |
| | | | | | | | | | 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 | ||||
* | Make the dom string class more useful. | John Mark Bell | 2007-10-03 | 1 | -19/+29 |
| | | | | | | | | 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 | ||||
* | Modify dom_node_initialise() API to permit specification of namespace URI ↵ | John Mark Bell | 2007-09-27 | 1 | -10/+20 |
| | | | | | | | | and prefix. Fix up everything else to cope. svn path=/trunk/dom/; revision=3599 | ||||
* | Begin to cater for XML namespaces. | John Mark Bell | 2007-09-26 | 1 | -13/+93 |
| | | | | | | | | | | | 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 | ||||
* | Move attributes field to struct dom_element as it doesn't apply to other ↵ | John Mark Bell | 2007-09-24 | 1 | -6/+7 |
| | | | | | | node types. svn path=/trunk/dom/; revision=3590 | ||||
* | Fix dom_node_{get,set}_value() to handle Attr nodes correctly -- now ↵ | John Mark Bell | 2007-09-23 | 1 | -0/+10 |
| | | | | | | delegates value accesses to the Attr-specific functions. svn path=/trunk/dom/; revision=3581 | ||||
* | Fix dom_node_get_parent_node(), dom_node_get_previous_sibling() and ↵ | John Mark Bell | 2007-09-23 | 1 | -0/+18 |
| | | | | | | dom_node_get_next_sibling() to return NULL for Attr nodes. svn path=/trunk/dom/; revision=3579 | ||||
* | Make _dom_node_readonly() accessible to library internals | John Mark Bell | 2007-09-22 | 1 | -1/+0 |
| | | | | svn path=/trunk/dom/; revision=3576 | ||||
* | Implement dom_node_get_child_nodes() | John Mark Bell | 2007-09-22 | 1 | -8/+21 |
| | | | | | | Implement dom_node_get_attributes() svn path=/trunk/dom/; revision=3570 | ||||
* | Implement dom_node_remove_node() | John Mark Bell | 2007-09-22 | 1 | -11/+46 |
| | | | | | | | Make _dom_node_replace() handle DocumentFragments correctly. Ensure _dom_node_detach_range() clears range's previous/next pointers. svn path=/trunk/dom/; revision=3558 | ||||
* | Implement dom_node_replace_child() | John Mark Bell | 2007-09-22 | 1 | -5/+83 |
| | | | | svn path=/trunk/dom/; revision=3557 | ||||
* | If new_child is already in the tree ensure its parent is not read only | John Mark Bell | 2007-09-22 | 1 | -2/+7 |
| | | | | svn path=/trunk/dom/; revision=3556 | ||||
* | Fix misleading comments | John Mark Bell | 2007-09-22 | 1 | -13/+12 |
| | | | | svn path=/trunk/dom/; revision=3555 | ||||
* | Move cardinality constraint checking for Document Element and DocumentType ↵ | John Mark Bell | 2007-09-22 | 1 | -89/+130 |
| | | | | | | | | 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 |