Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't allocate array when client asks for element classes, just give pointer ↵ | Michael Drake | 2013-12-13 | 1 | -10/+4 |
| | | | | to internal array. | ||||
* | ensure _dom_element_set_attr_node does not leak on error paths (coverity ↵ | Vincent Sanders | 2013-11-08 | 1 | -3/+10 |
| | | | | 1127085) | ||||
* | Fix cloning of element attr list. | John-Mark Bell | 2012-10-06 | 1 | -8/+14 |
| | |||||
* | fixup comment damage from automated type conversion | Vincent Sanders | 2012-09-11 | 1 | -4/+4 |
| | |||||
* | unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral ↵ | Daniel Silverstone | 2012-09-10 | 1 | -8/+8 |
| | | | | fixes. Test suite does not pass | ||||
* | Fix a crash on http://gopher.floodgap.com/overbite/ | François Revel | 2012-04-07 | 1 | -0/+5 |
| | | | | | | | _dom_element_attr_list_node_clone() forgot to init the list entry. Added some asserts. svn path=/trunk/libdom/; revision=13811 | ||||
* | Add some functions to implement some of LibCSS's selection callbacks, as an ↵ | Michael Drake | 2012-03-28 | 1 | -0/+86 |
| | | | | | | experiment in clawing back performance. May well get reverted. svn path=/trunk/libdom/; revision=13755 | ||||
* | Minor improvement by short-circuiting for no classes in _dom_element_has_class | Daniel Silverstone | 2012-03-26 | 1 | -4/+7 |
| | | | | svn path=/trunk/libdom/; revision=13725 | ||||
* | Fix for actual lwc_string_isequal API. | Michael Drake | 2012-03-26 | 1 | -5/+7 |
| | | | | svn path=/trunk/libdom/; revision=13716 | ||||
* | Make _dom_element_get_classes cope with copying multiple class values | John Mark Bell | 2012-03-25 | 1 | -4/+12 |
| | | | | svn path=/trunk/libdom/; revision=13676 | ||||
* | Comment client's ownership of class array. | Michael Drake | 2012-03-25 | 1 | -1/+1 |
| | | | | svn path=/trunk/libdom/; revision=13665 | ||||
* | Take copy of classes array, for client to free. | Michael Drake | 2012-03-25 | 1 | -2/+11 |
| | | | | svn path=/trunk/libdom/; revision=13663 | ||||
* | Set failure to match properly. | Michael Drake | 2012-03-25 | 1 | -0/+2 |
| | | | | svn path=/trunk/libdom/; revision=13661 | ||||
* | Switch case sensetivity of class comparison on document quirks mode. | Michael Drake | 2012-03-24 | 1 | -5/+8 |
| | | | | svn path=/trunk/libdom/; revision=13634 | ||||
* | When copying elements, correctly copy the cached class list | Daniel Silverstone | 2012-03-24 | 1 | -1/+13 |
| | | | | svn path=/trunk/libdom/; revision=13630 | ||||
* | Minor cleanup | Daniel Silverstone | 2012-03-24 | 1 | -3/+2 |
| | | | | svn path=/trunk/libdom/; revision=13628 | ||||
* | Only get value for elements with class. | Michael Drake | 2012-03-24 | 1 | -1/+6 |
| | | | | svn path=/trunk/libdom/; revision=13627 | ||||
* | Pass element to attribute list adder, because element might not be attached ↵ | Michael Drake | 2012-03-24 | 1 | -7/+6 |
| | | | | | | to the attribute at this point. svn path=/trunk/libdom/; revision=13622 | ||||
* | Generate element's class list. | Michael Drake | 2012-03-24 | 1 | -43/+142 |
| | | | | svn path=/trunk/libdom/; revision=13621 | ||||
* | Commit a neatness | Daniel Silverstone | 2012-03-24 | 1 | -3/+1 |
| | | | | svn path=/trunk/libdom/; revision=13612 | ||||
* | Split out destruction of element class cache. | Michael Drake | 2012-03-24 | 1 | -7/+22 |
| | | | | svn path=/trunk/libdom/; revision=13597 | ||||
* | Implement the element class API for libcss, except for actually making the ↵ | Michael Drake | 2012-03-24 | 1 | -8/+40 |
| | | | | | | array of lwc_strings. svn path=/trunk/libdom/; revision=13595 | ||||
* | Don't need to include utils/hashtable.h. | Michael Drake | 2012-03-24 | 1 | -1/+0 |
| | | | | svn path=/trunk/libdom/; revision=13586 | ||||
* | Fix API documentation comments. | Michael Drake | 2012-03-24 | 1 | -13/+13 |
| | | | | svn path=/trunk/libdom/; revision=13585 | ||||
* | C89 for BeOS build. | François Revel | 2012-03-24 | 1 | -18/+23 |
| | | | | svn path=/trunk/libdom/; revision=13581 | ||||
* | Fix dom element attribute setting to return the old element as per the API | Daniel Silverstone | 2012-03-23 | 1 | -1/+1 |
| | | | | svn path=/trunk/libdom/; revision=13561 | ||||
* | Rename 'a' to 'old_attr' so we can follow this routine more easily | Daniel Silverstone | 2012-03-23 | 1 | -9/+9 |
| | | | | svn path=/trunk/libdom/; revision=13560 | ||||
* | Take reference to namespace for attribute list node. | Michael Drake | 2012-02-16 | 1 | -0/+1 |
| | | | | svn path=/trunk/libdom/; revision=13450 | ||||
* | Fix build, and don't overwrite new_list_node with the cloned attr | John Mark Bell | 2012-02-16 | 1 | -1/+4 |
| | | | | svn path=/trunk/libdom/; revision=13449 | ||||
* | Add documentation comments. | Michael Drake | 2012-02-15 | 1 | -3/+31 |
| | | | | svn path=/trunk/libdom/; revision=13448 | ||||
* | Use list for element attributes. | Michael Drake | 2012-02-15 | 1 | -434/+446 |
| | | | | svn path=/trunk/libdom/; revision=13444 | ||||
* | Provide custom API to ease optimal binding to libcss | John Mark Bell | 2012-02-11 | 1 | -0/+37 |
| | | | | svn path=/trunk/libdom/; revision=13440 | ||||
* | Fix build with GCC 4.6 | John Mark Bell | 2011-12-21 | 1 | -12/+0 |
| | | | | svn path=/trunk/libdom/; revision=13317 | ||||
* | Merge branches/jmb/dom-alloc-purge back to trunk | John Mark Bell | 2011-12-21 | 1 | -409/+213 |
| | | | | svn path=/trunk/libdom/; revision=13316 | ||||
* | s/struct dom_string/dom_string/g | John Mark Bell | 2011-04-07 | 1 | -51/+51 |
| | | | | svn path=/trunk/libdom/; revision=12172 | ||||
* | Merge branches/struggleyb/libdom-html to trunk. | John Mark Bell | 2010-08-30 | 1 | -4/+51 |
| | | | | | | 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 | -44/+21 |
| | | | | | | failures. Most importantly, it actually compiles now. svn path=/trunk/dom/; revision=10717 | ||||
* | Split the _dom_element_destroy into two functions. | Bo Yang | 2009-08-17 | 1 | -15/+26 |
| | | | | svn path=/trunk/dom/; revision=9330 | ||||
* | Remove an unused parameter 'result'. | Bo Yang | 2009-08-17 | 1 | -16/+9 |
| | | | | svn path=/trunk/dom/; revision=9327 | ||||
* | Fix up some ref/unref error produced from _dispatch_ usage. | Bo Yang | 2009-08-14 | 1 | -15/+31 |
| | | | | | | Now, the trunk/dom test result are consistent with Core. svn path=/trunk/dom/; revision=9279 | ||||
* | Merge the Events module (branches/struggleyb/libdom-events) back to trunk. :) | Bo Yang | 2009-08-13 | 1 | -20/+202 |
| | | | | svn path=/trunk/dom/; revision=9236 | ||||
* | Make the failed 5 testcases passed in DOMTS Core level2. | Bo Yang | 2009-08-12 | 1 | -0/+3 |
| | | | | svn path=/trunk/dom/; revision=9211 | ||||
* | Merge the branches/struggleyb/libdom-remain back to trunk. | Bo Yang | 2009-08-11 | 1 | -600/+1431 |
| | | | | svn path=/trunk/dom/; revision=9191 | ||||
* | Modify NamedNodeMap, note that there is no vtable for this type because it ↵ | Bo Yang | 2009-03-23 | 1 | -6/+8 |
| | | | | | | 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 | ||||
* | Fix the spelling initialize -> initialise. | Bo Yang | 2009-03-20 | 1 | -3/+3 |
| | | | | svn path=/trunk/dom/; revision=6809 | ||||
* | Convert DOMElement interface to use vtable structure. | Bo Yang | 2009-03-20 | 1 | -69/+128 |
| | | | | svn path=/trunk/dom/; revision=6808 | ||||
* | Make the dom string class more useful. | John Mark Bell | 2007-10-03 | 1 | -1/+1 |
| | | | | | | | | 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 | ||||
* | Implement dom_element_get_attribute_ns() | John Mark Bell | 2007-09-29 | 1 | -29/+259 |
| | | | | | | | | | | 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 | ||||
* | Modify dom_node_initialise() API to permit specification of namespace URI ↵ | John Mark Bell | 2007-09-27 | 1 | -7/+11 |
| | | | | | | | | 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 | -35/+3 |
| | | | | | | | | | | | 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 |