summaryrefslogtreecommitdiff
path: root/src/core/node.c
Commit message (Collapse)AuthorAgeFilesLines
* Change dom node type count to last value plus one.Michael Drake2017-02-041-0/+1
|
* Fix Coverity #1350096.Michael Drake2016-02-091-1/+1
|
* Further optimise event dispatch.Michael Drake2016-01-291-5/+20
| | | | | Only add event targets to the array of targets for capture/bubbling if it is actually listening for the event type we're dispatching.
* Optimise event dispatch.Michael Drake2016-01-291-20/+57
| | | | | | | - Only allocate array of event targets when there is at least one target listening. - Only add targets to the list if they have got at least one listener registered.
* Remove parameter documentation for non-existant parameter.Michael Drake2016-01-291-1/+0
|
* Don't add target event to list of capture/bubbling event targets.Michael Drake2016-01-291-4/+2
|
* Remove call to non-existant function.Michael Drake2015-12-201-1/+1
| | | | | | There was no implementation of dom_document_get_base, and call to it were trying to run code at 0x0. Replace with call to dom_document_get_uri instead.
* Ensure we don't capture or bubble on targetDaniel Silverstone2015-11-011-2/+2
|
* Handle situation where we cleanup during target gatheringDaniel Silverstone2015-10-311-2/+2
|
* Fix end-of-event phasingDaniel Silverstone2015-10-311-13/+6
|
* Add a _FINISHED event action callbackDaniel Silverstone2015-10-311-0/+8
| | | | We can then use this for JS to hook cleanups into place.
* Strip doc from event layerDaniel Silverstone2015-08-211-3/+0
|
* ensure result value is propogated (coverity 1127073)Vincent Sanders2014-01-241-4/+7
|
* Fix some broken assertsDaniel Silverstone2013-11-171-2/+2
|
* 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-191-1/+2
|
* Fix buffer overflow in event dispatchJohn-Mark Bell2012-11-111-1/+6
|
* 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
|
* fixup comment damage from automated type conversionVincent Sanders2012-09-111-3/+3
|
* unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral ↵Daniel Silverstone2012-09-101-3/+3
| | | | fixes. Test suite does not pass
* DOMNode: Clear string pointers when we unref themDaniel Silverstone2012-07-221-4/+12
|
* Cleanup: Remove two UNUSED()s which are not trueDaniel Silverstone2012-07-191-2/+0
|
* Promote ref/unref in dom_node to be inlines.Daniel Silverstone2012-03-281-41/+7
| | | | svn path=/trunk/libdom/; revision=13761
* Squash scan-build issuesDaniel Silverstone2012-03-251-2/+8
| | | | svn path=/trunk/libdom/; revision=13686
* And ensure we don't recurse comments and PIs during dom_node_get_text_contentDaniel Silverstone2012-03-241-0/+3
| | | | svn path=/trunk/libdom/; revision=13603
* Fixup _dom_node_get_text_contentDaniel Silverstone2012-03-241-7/+14
| | | | svn path=/trunk/libdom/; revision=13598
* Make dom_node_ref return the nodeDaniel Silverstone2012-03-241-1/+3
| | | | svn path=/trunk/libdom/; revision=13593
* C89 for BeOS build.François Revel2012-03-241-25/+40
| | | | svn path=/trunk/libdom/; revision=13581
* Move dom_string data accessing functions to public header.Michael Drake2011-12-221-4/+4
| | | | svn path=/trunk/libdom/; revision=13322
* Fix build with GCC 4.6John Mark Bell2011-12-211-7/+3
| | | | svn path=/trunk/libdom/; revision=13317
* Merge branches/jmb/dom-alloc-purge back to trunkJohn Mark Bell2011-12-211-297/+349
| | | | svn path=/trunk/libdom/; revision=13316
* s/struct dom_string/dom_string/gJohn Mark Bell2011-04-071-21/+21
| | | | svn path=/trunk/libdom/; revision=12172
* Simplify DOMImplementation API by replacing dom_strings with const char *John Mark Bell2010-12-061-2/+4
| | | | svn path=/trunk/libdom/; revision=11024
* Fix copy constructors to actually copy all members, instead of leaving the ↵John Mark Bell2010-12-061-12/+20
| | | | | | majority of them uninitialised svn path=/trunk/libdom/; revision=11023
* Remove bootstrap infrastructure, and just make dom_implementation a stub.John Mark Bell2010-12-051-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 Bell2010-08-301-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 Bell2010-08-261-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 Yang2009-08-131-13/+72
| | | | svn path=/trunk/dom/; revision=9236
* Fix up the failed 3 test cases for DOMTS Core level 3.Bo Yang2009-08-121-1/+5
| | | | svn path=/trunk/dom/; revision=9212
* Merge the branches/struggleyb/libdom-remain back to trunk.Bo Yang2009-08-111-213/+934
| | | | svn path=/trunk/dom/; revision=9191
* Squash warningsJohn Mark Bell2009-03-251-1/+1
| | | | svn path=/trunk/dom/; revision=6885
* Convert NodeList and ProcessingInstruction. Bo Yang2009-03-241-3/+3
| | | | svn path=/trunk/dom/; revision=6830
* Convert the dom_characterdata to use vtable.Bo Yang2009-03-151-1/+1
| | | | svn path=/trunk/dom/; revision=6787
* Change the our dom to use vtable method. The first step: Bo Yang2009-03-121-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 Bell2009-03-031-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 Bell2007-10-031-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