Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Element: Change API to return a reference to callers. | Michael Drake | 2021-07-05 | 1 | -12/+9 |
| | |||||
* | Element: API docs: Reword based on review. | Michael Drake | 2021-07-05 | 1 | -3/+12 |
| | |||||
* | Element: Improve API documentation: Returned nodes aren't reffed. | Michael Drake | 2021-07-05 | 1 | -3/+3 |
| | |||||
* | Constify vtables. | Michael Drake | 2021-02-02 | 1 | -2/+2 |
| | |||||
* | element: Mirror parent NULL check in dom_element_is_default_namespace() | Daniel Silverstone | 2020-10-02 | 1 | -1/+6 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | element: Issue DOMSubtreeModified *after* updating attr value | Daniel Silverstone | 2019-08-04 | 1 | -4/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Fix compiler warning. | Michael Drake | 2016-02-07 | 1 | -1/+1 |
| | | | | error: expression result unused [-Werror,-Wunused-value] | ||||
* | Fix: Handle class list allocation failure in HTMLElement copy constructor. | Michael Drake | 2016-02-05 | 1 | -5/+13 |
| | |||||
* | Split out element content copying from allocation in copy constructor. | Michael Drake | 2016-02-05 | 1 | -25/+36 |
| | | | | | | | This creates a new _dom_element_copy_internal() function, which does the copying. The old _dom_element_copy() continues to do the allocation. This follows the same pattern as in dom_node_internal class. | ||||
* | Style: Fix sporadic use of spaces for indentation in element copy constructor. | Michael Drake | 2016-02-05 | 1 | -5/+5 |
| | |||||
* | 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 |