summaryrefslogtreecommitdiff
path: root/bindings
Commit message (Collapse)AuthorAgeFilesLines
* Bindings: source is a hubbub_charset_source reallyDaniel Silverstone2020-03-261-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* hubbub: Add fragment parser creation supportDaniel Silverstone2020-02-212-1/+120
| | | | | | | In order to support innerHTML, we have to support parsing into document fragments. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Assert instead of checkingDaniel Silverstone2019-05-061-1/+4
| | | | | | | At this point, we MUST have an element created, so assert it rather than half-heartedly checking. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Begin to support SCRIPT elements flagsDaniel Silverstone2019-05-041-0/+35
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Ignore http and https addresses when fetching entity refsChris Young2016-11-201-0/+13
| | | | | The fopen() causes a requester on AmigaOS which I'm bored of hearing about. See also bug 2313
* Slightly better fix for afl issuesDaniel Silverstone2016-08-271-20/+15
|
* fix expat parser adding comment if no node is being constructedVincent Sanders2016-08-241-0/+5
|
* protect expat parser from null current nodeVincent Sanders2016-08-241-0/+17
|
* Revert "Don't attempt to fetch external entity references blindly with fopen"Chris Young2016-08-231-3/+35
| | | | | | | It appears that this change broke the libdom tests because they expect to be able to load relative paths, and thus will not work without some external entity ref fetching system. Therefore this external entity reference fetching problem will need to have a proper fix written to resolve #2313 and avoid the security implications of not taking the base URI into account. This reverts commit 389f74b11d3f6cd54c32ffcf423cee1c9b07f845.
* Don't attempt to fetch external entity references blindly with fopenChris Young2016-08-231-35/+3
| | | | | | The system_id is a URI, either absolute or relative to 'base', it needs to be fetched using network calls, fopen won't work. I've put a half-working POC in chris/fetch-x-ent-ref but it needs fixing up and testing. Removing this non-working code fixes #2313 for now, but fetching of external entities will still need to be added.
* make unused variable macro more portable in expat bindingVincent Sanders2016-02-061-1/+1
|
* make unused variable macro more portable in hubbub bindingVincent Sanders2016-02-061-1/+1
|
* Split out tag names from general string table and enum.Michael Drake2016-01-271-5/+6
| | | | | Previously these were mixed in the the document's general memoised strings. This also gives us an enum by which HTML elements can be identified.
* Fix some doxygen warningsVincent Sanders2015-09-012-7/+8
|
* Fix include paths for Haiku.Adrien Destugues2015-03-212-2/+2
|
* Update for new hubbub API.Michael Drake2013-12-141-20/+0
|
* add context for default action functionVincent Sanders2013-02-193-0/+3
|
* add default action fetcher to binding parametersVincent Sanders2012-12-062-5/+9
|
* make the hubbub binding creation take a parameter struct and return standard ↵Vincent Sanders2012-12-063-70/+95
| | | | error codes
* Fix typos.Michael Drake2012-11-071-1/+1
|
* Intern a few more bits in the expat handlerDaniel Silverstone2012-11-031-12/+14
|
* Change XML Parser API to be more saneDaniel Silverstone2012-11-033-72/+32
|
* Add some casts through void to shush the RISC OS compilerDaniel Silverstone2012-11-031-3/+4
|
* Remove unused variablesDaniel Silverstone2012-11-021-2/+0
|
* Augment expat binding to support namespaced attribute valuesDaniel Silverstone2012-11-021-5/+29
|
* Update expat binding to cope better with namespaced tag namesDaniel Silverstone2012-11-021-2/+27
|
* Move generation of id_name into document by default. Since 'id' is the most ↵Daniel Silverstone2012-11-021-10/+0
| | | | common name of the 'id' attribute
* alter when the id name is set to before the hubbub parse completion so id ↵Vincent Sanders2012-11-021-10/+16
| | | | based searches work during dom creation
* extend binding error enumeration to explicitly include hubbub errorsVincent Sanders2012-10-181-0/+19
|
* Update comment.Michael Drake2012-10-111-6/+2
|
* Mostly implement HTMLOptionElement, HTMLSelectElement.John-Mark Bell2012-08-081-1/+11
| | | | Enable HTMLOptionElement tests that pass.
* Move document out parameter after in parameters.John-Mark Bell2012-08-052-11/+15
|
* Obtain the docuemnt object at parser creation time.Vincent Sanders2012-08-052-24/+12
| | | | Remove the unecessary document retrival API
* fix error handling return from script completion calbackVincent Sanders2012-07-311-3/+8
|
* Fix masterChris Young2012-07-291-2/+2
|
* Change back for branch onlyChris Young2012-07-291-2/+2
|
* Resynchronise hubbub binding with masterDaniel Silverstone2012-07-291-2/+2
|
* Merge branch 'master' of git://git.netsurf-browser.org/libdom into ↵Chris Young2012-07-282-0/+31
|\ | | | | | | chris/amiga-hubbub-lib-compat
| * Allow control over parser pause stateVincent Sanders2012-07-272-0/+31
| |
* | Merge branch 'master' of git://git.netsurf-browser.org/libdom into ↵Chris Young2012-07-221-2/+0
|\ \ | |/ | | | | chris/amiga-hubbub-lib-compat
| * Cleanup: Remove two UNUSED()s which are not trueDaniel Silverstone2012-07-191-2/+0
| |
* | Merge branch 'master' of git://git.netsurf-browser.org/libdom into ↵Chris Young2012-07-193-55/+269
|\ \ | |/ | | | | chris/amiga-hubbub-lib-compat
| * HTMLTextAreaElement: Make it workDaniel Silverstone2012-07-181-0/+10
| |
| * XML Binding: Allow expat handler to coalesce TEXT nodes. Core suite now ↵Daniel Silverstone2012-07-151-1/+35
| | | | | | | | passes with expat.
| * XML Binding: Allow expat binding to create text nodes if not parsing cdataDaniel Silverstone2012-07-151-6/+32
| |
| * XML Binding: Add doctype support to Expat handlerDaniel Silverstone2012-07-151-0/+45
| |
| * XML Binding: Add comment support to Expat handlerDaniel Silverstone2012-07-151-0/+52
| |
| * XML binding: Expat handler, dodgy external entity ref handlerDaniel Silverstone2012-07-151-48/+95
| |
| * XML binding: Not libxml only any moreDaniel Silverstone2012-07-151-1/+1
| |
* | Compatibility with libhubbub chris/amiga-lib branch (which includes a tweak ↵Chris Young2012-07-081-2/+2
|/ | | | to stop compatibility breakage with older versions of libhubbub)