Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Keep the complete certificate chain from a fetch | Vincent Sanders | 2020-02-23 | 6 | -347/+171 |
| | | | | | | | | | Instead of extracting information from the X509 certificate chain in the fetcher the entire chain is propagated in Distinguished Encoding Rules (DER) format. This allows all the information contained in a certificate chain to be retained which can subsequently be presented to the user | ||||
* | Improve some content documentation comments | Vincent Sanders | 2020-02-23 | 2 | -38/+116 |
| | |||||
* | HTML Script: Check for success on intern of mimetype. | Michael Drake | 2020-02-23 | 1 | -1/+5 |
| | |||||
* | HTML: Ignore dom exceptions we don't care about | Daniel Silverstone | 2020-02-23 | 1 | -4/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Node: nodeValue setter should return value set into node | Daniel Silverstone | 2020-02-23 | 1 | -1/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | dukky: Guard pointless work for deep debug | Daniel Silverstone | 2020-02-23 | 1 | -2/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS: it's Infinity not infinity | Daniel Silverstone | 2020-02-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS: Add Element::attributes and NamedNodeMap to handle it | Daniel Silverstone | 2020-02-21 | 3 | -0/+103 |
| | | | | | | | This is a *very* rudimentary implementation lacking most of the functionality of NamedNodeMap but it's enough to get jQuery 1.12.4 up. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS Generics: Add a NodeMap proxy builder | Daniel Silverstone | 2020-02-21 | 1 | -0/+23 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Element: support innerHTML | Daniel Silverstone | 2020-02-21 | 1 | -0/+123 |
| | | | | | | | | To get us further along the JavaScript pathway, support the getter and setter for innerHTML. The getter always returns an empty string for now, but the setter works. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS: Add DOMImplementation::createHTMLDocument | Daniel Silverstone | 2020-02-21 | 3 | -0/+142 |
| | | | | | | This was the last major thing blocking basic jQuery support Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Ignore LOADING status in html_proceed_to_done() | Daniel Silverstone | 2020-02-21 | 1 | -1/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Don't transition the content state machine if we do nothing | Daniel Silverstone | 2020-02-21 | 1 | -1/+7 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Complete content state machine after async script | Daniel Silverstone | 2020-02-21 | 3 | -5/+29 |
| | | | | | | | | | The async script completion process needs to complete the content state machine so that browser throbbers eventually stop once async scripts have fetched and run, even if that happens *after* conversion finishes. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | re-order config include so strcasecmp is correctly detected on RISC OS/win32 | Vincent Sanders | 2019-12-22 | 1 | -1/+2 |
| | |||||
* | html_script: Count sync scripts to prevent unpausing early | Daniel Silverstone | 2019-12-19 | 1 | -2/+11 |
| | | | | | | | | | If there is more than one incomplete sync script then it's important that we don't unpause hubbub too early. This commit adds a counter so that if there're unfinished sync scripts in the set, we don't unpause until the last one completes. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: box_consturction: cleanup name dom_string in box_object. | Michael Drake | 2019-12-10 | 1 | -0/+2 |
| | |||||
* | HTML redraw: Never draw box scrollbars for textareas. | Michael Drake | 2019-12-09 | 1 | -0/+1 |
| | | | | | | | The scrollbars for textareas are rendered by the widget. This stops us from putting broken scrollbars over the top of the textarea's own scrollbars. | ||||
* | webp: NetSurf bitmap format is RGBA. | Michael Drake | 2019-12-08 | 1 | -1/+3 |
| | | | | | Issue a bitmap modified call after conversion, to allow front ends with different pixel formats to convert. | ||||
* | fetch_curl_report_certs_upstream: Use new SSL_CERT_ERR_CERT_MISSING | Daniel Silverstone | 2019-12-03 | 1 | -1/+5 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | fetch_curl_verify_callback: Do depth update after check | Daniel Silverstone | 2019-12-03 | 1 | -5/+5 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html: css fetcher: Fix passing LWC borrow to fetcher_add, which consumes. | Michael Drake | 2019-12-02 | 1 | -1/+2 |
| | | | | | | | | | Fixes abort on exit when corestring finalisation tried to unref what should have been the final ref: $ ./nsgtk3 corrupted double-linked list Aborted (core dumped) | ||||
* | html: Fire DOM KeyboardEvents on keypresses. | Michael Drake | 2019-12-01 | 1 | -0/+36 |
| | |||||
* | dukky_push_event: Enable KeyboardEvent specialisation. | Michael Drake | 2019-12-01 | 1 | -1/+31 |
| | |||||
* | JavaScript: Add KeyboardEvent bindings. | Michael Drake | 2019-12-01 | 2 | -1/+143 |
| | |||||
* | html: Add function for issuing a keypress event. | Michael Drake | 2019-12-01 | 2 | -0/+85 |
| | |||||
* | html: Split out helper for firing DOM events and swallowing errors. | Michael Drake | 2019-12-01 | 1 | -4/+23 |
| | |||||
* | HTML: Rename fire_dom_event to fire_generic_dom_event. | Michael Drake | 2019-12-01 | 3 | -4/+4 |
| | |||||
* | Add missing unrefs | Daniel Silverstone | 2019-12-01 | 1 | -0/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_saw_insecure_objects: Don't infinite loop on objects | Daniel Silverstone | 2019-12-01 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_css_fetcher: Use corestring_lwc_x_ns_css | Daniel Silverstone | 2019-12-01 | 1 | -8/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | content_saw_insecure_objects: Fix various corner cases | Daniel Silverstone | 2019-12-01 | 1 | -3/+12 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add missing include | Daniel Silverstone | 2019-12-01 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Allow contents to indicate if they believe they may not be secure. | Daniel Silverstone | 2019-12-01 | 7 | -0/+137 |
| | | | | | | | | | | HTML contents reference many other objects. The browser window needs to know if any of them may not be secure, in which case it needs to report that in its page state. If other content types might refer to sub-contents, they will need to define the callback too. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | box_construct: Do not leak attributes in <embed> boxes | Daniel Silverstone | 2019-11-30 | 1 | -0/+5 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML redraw: Don't render scrollbars when the CSS doesn't permit it. | Michael Drake | 2019-11-30 | 1 | -3/+6 |
| | |||||
* | llcache: Reload SSL certificate data from serialised store | Daniel Silverstone | 2019-11-30 | 1 | -0/+130 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | llcache: Persist SSL certificate data | Daniel Silverstone | 2019-11-30 | 1 | -0/+117 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | llcache: Support storing SSL certificate data | Daniel Silverstone | 2019-11-30 | 1 | -3/+68 |
| | | | | | | | In order to support persisting SSL data we first have to store it and support catching up new users. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | make unknown content drag assert have meanigful message | Vincent Sanders | 2019-11-29 | 1 | -1/+1 |
| | |||||
* | change mouse action drag handling to use a more efficient dispatch | Vincent Sanders | 2019-11-17 | 1 | -13/+16 |
| | |||||
* | move remaining mouse action drag handling into separate functions | Vincent Sanders | 2019-11-17 | 1 | -21/+60 |
| | |||||
* | move more select menu handling into mouse_action_select_menu() | Vincent Sanders | 2019-11-17 | 1 | -8/+7 |
| | |||||
* | make mouse track and mouse action content handlers return an error code | Vincent Sanders | 2019-11-12 | 3 | -8/+13 |
| | |||||
* | Remove redundant drag handling for content selection | Vincent Sanders | 2019-11-12 | 1 | -10/+0 |
| | | | | | | | This redundant code was added by: 4747bbbfb21d645f950149bbe173a2618cd3eba9 HTML drags now go via content msg. and then added again with: c2a718075ad321a9cf4678e72645acda5c3471a9 A load of refactoring of how content selection and input work. | ||||
* | split out html interaction header elements and rename source | Vincent Sanders | 2019-11-12 | 6 | -148/+278 |
| | |||||
* | Data fetcher: Include stdarg.h header. | Michael Drake | 2019-11-12 | 1 | -0/+1 |
| | |||||
* | gif: Change how we rate-limit frames to match other browsers. | Michael Drake | 2019-11-11 | 1 | -2/+4 |
| | | | | This makes the old minimum_gif_delay option unused. | ||||
* | Content: Remove redundant and unused redraw message fields. | Michael Drake | 2019-11-11 | 4 | -71/+17 |
| | | | | | | | | | | This was archaic support for rendering images as "overlays", and avoiding a redraw via the browser window redraw and HTML contents. Basically it was "plot this image here", but it was too error prone, so it was removed a long time ago. These are some last vestiges that made the redraw message look more complex than it is. | ||||
* | Data fetcher: Squash BSD warning. | Michael Drake | 2019-11-11 | 1 | -4/+3 |
| |