summaryrefslogtreecommitdiff
path: root/src/core
Commit message (Collapse)AuthorAgeFilesLines
* make core string handling functions cope with NULL dom_string being passedVincent Sanders2014-01-241-2/+17
|
* ensure result value is propogated (coverity 1127073)Vincent Sanders2014-01-241-4/+7
|
* ensure dom_implementation_create_document_type() parameters are present ↵Vincent Sanders2014-01-241-5/+7
| | | | (coverity 1127076)
* fix sill automatic conversion typoVincent Sanders2014-01-241-1/+1
|
* Fix STRIP_TRAILING to work fully when COLLAPSE isn't requested.Michael Drake2014-01-241-2/+6
|
* Strip and collapse whitespace when gathering html option values.Michael Drake2014-01-234-2/+124
|
* Prevent attempt to concatinate string with null.Michael Drake2013-12-271-7/+11
|
* Don't allocate array when client asks for element classes, just give pointer ↵Michael Drake2013-12-131-10/+4
| | | | to internal array.
* Fix some broken assertsDaniel Silverstone2013-11-171-2/+2
|
* fix error handling in walk_logic_adjacent_text() (coverity 1127084)Vincent Sanders2013-11-081-5/+4
|
* ensure _dom_element_set_attr_node does not leak on error paths (coverity ↵Vincent Sanders2013-11-081-3/+10
| | | | 1127085)
* dom_document_get_element_by_id increments the ref counter of any returned ↵Michael Drake2013-08-231-0/+3
| | | | element.
* Compare the name and prefix directly. Since this avoids string ↵Michael Drake2013-05-231-17/+5
| | | | concatination, and (un)ref.
* Name and prefix were already compared. Add sane namespace comparison. ↵Michael Drake2013-05-231-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 Drake2013-05-231-32/+65
| | | | broken bit with TODO.
* Notify user data handlers on deletionJohn-Mark Bell2013-02-221-0/+5
|
* add context for default action functionVincent Sanders2013-02-194-10/+16
|
* Fix use of incorrect variable in dom_string(_caseless)_isequalJohn-Mark Bell2012-12-311-4/+4
|
* Fix reference leak in error case.John-Mark Bell2012-12-311-1/+3
|
* Initialise *retJohn-Mark Bell2012-12-311-0/+2
|
* Fix buffer overflow in event dispatchJohn-Mark Bell2012-11-111-1/+6
|
* Remove name validation from doctype creation.John-Mark Bell2012-11-031-14/+0
|
* Merge branch 'master' of git://git.netsurf-browser.org/libdomDaniel Silverstone2012-11-031-14/+12
|\
| * Implement dom_document_type_get_(public|system)id.John-Mark Bell2012-11-031-14/+12
| |
* | Be marginally less brain dead when allocating memory during event dispatchDaniel Silverstone2012-11-031-33/+30
| |
* | Do not validate event names and use dom_string_byte_length for fastnessDaniel Silverstone2012-11-031-5/+1
|/
* Ensure we memoise all the strings used in the core event dispatchDaniel Silverstone2012-11-032-0/+107
|
* Move generation of id_name into document by default. Since 'id' is the most ↵Daniel Silverstone2012-11-021-2/+8
| | | | common name of the 'id' attribute
* Close off two scan-build warnings as best as I can make out.Daniel Silverstone2012-10-081-4/+8
|
* Fix cloning of element attr list.John-Mark Bell2012-10-061-8/+14
|
* fixup comment damage from automated type conversionVincent Sanders2012-09-112-7/+7
|
* unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral ↵Daniel Silverstone2012-09-1011-43/+43
| | | | fixes. Test suite does not pass
* DOMDocument::_dom_find_element_by_id: Only compare ids, if the element *has* oneDaniel Silverstone2012-08-061-5/+6
|
* DOMNode: Clear string pointers when we unref themDaniel Silverstone2012-07-221-4/+12
|
* DOMDocument: Actually free the empty memoised stringDaniel Silverstone2012-07-211-1/+2
|
* DOMString: Add toupper and tolower methodsDaniel Silverstone2012-07-211-1/+115
|
* Cleanup: Remove two UNUSED()s which are not trueDaniel Silverstone2012-07-191-2/+0
|
* Nodelist: Support caseless node listsDaniel Silverstone2012-07-072-14/+73
|
* CharacterData.delete: Fix this and enable 5 more testsDaniel Silverstone2012-07-051-1/+5
|
* DOMDocument: Memoize the empty stringDaniel Silverstone2012-07-052-0/+11
|
* DOMString.replace: Swap source/target in byte counterDaniel Silverstone2012-07-051-2/+2
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/libdom/; revision=14005
* Fix a crash on http://gopher.floodgap.com/overbite/François Revel2012-04-071-0/+5
| | | | | | | _dom_element_attr_list_node_clone() forgot to init the list entry. Added some asserts. svn path=/trunk/libdom/; revision=13811
* Force dom_string to have maximal alignment requirements.John Mark Bell2012-04-011-9/+9
| | | | | | Make it clear that dom_string_internal extends it svn path=/trunk/libdom/; revision=13785
* Actually handle errors from lwc_string_caseless_isequalDaniel Silverstone2012-03-291-3/+5
| | | | svn path=/trunk/libdom/; revision=13773
* Should be passing the _s variants hereDaniel Silverstone2012-03-281-1/+1
| | | | svn path=/trunk/libdom/; revision=13764
* Promote ref/unref in dom_string to be inline -- This implementation is a bit ↵Daniel Silverstone2012-03-281-80/+70
| | | | | | ugly svn path=/trunk/libdom/; revision=13762
* Promote ref/unref in dom_node to be inlines.Daniel Silverstone2012-03-288-48/+17
| | | | svn path=/trunk/libdom/; revision=13761
* Add some functions to implement some of LibCSS's selection callbacks, as an ↵Michael Drake2012-03-281-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_classDaniel Silverstone2012-03-261-4/+7
| | | | svn path=/trunk/libdom/; revision=13725