Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support SSL verification through new about: handler | Daniel Silverstone | 2019-08-06 | 2 | -17/+44 |
| | | | | | | | | In doing this, also propagate why the certificates were bad so that the page can display a reason. We will need FatMessages for all these. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Reimplement handling of BAD_AUTH inside browser_window | Daniel Silverstone | 2019-08-06 | 3 | -1/+79 |
| | | | | | | | | | | | | | We now handle authentication requests via an `about:` page which presents a nice form built into the browser window. In order to do this, we add internal navigation as a concept to the browser window and we strip the 401login support from all frontends except monkey. The 401login callback is now intended for password safe type support rather than an immediately interactive prompt. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | futher refinement on about scheme query styling | Vincent Sanders | 2019-08-06 | 1 | -1/+1 |
| | |||||
* | improve css formatting in about scheme query handlers | Vincent Sanders | 2019-08-06 | 1 | -3/+4 |
| | |||||
* | fix url reference counting in about scheme query handlers | Vincent Sanders | 2019-08-06 | 1 | -0/+9 |
| | |||||
* | HTML: Don't allow objects to redraw until we have a layout. | Michael Drake | 2019-08-06 | 3 | -0/+12 |
| | |||||
* | add about scheme query handlers | Vincent Sanders | 2019-08-06 | 1 | -1/+334 |
| | |||||
* | Improve about scheme doc comments and formatting | Vincent Sanders | 2019-08-05 | 1 | -45/+122 |
| | |||||
* | curl.c: Don't use OpenSSL 1.1 only serialNumber fetcher | Daniel Silverstone | 2019-08-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | nssprite: content_broadcast_error fix | Daniel Silverstone | 2019-08-05 | 1 | -3/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_begin_conversion: If we pause in completing parse, try again later. | Daniel Silverstone | 2019-08-05 | 1 | -0/+7 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Box coordinates: Take fast route to float container. | Michael Drake | 2019-08-05 | 1 | -4/+4 |
| | | | | And assert that floats have a float_container. | ||||
* | Excise the llcache query pathway. | Daniel Silverstone | 2019-08-05 | 9 | -258/+34 |
| | | | | | | | | In further preparation for the auth and cert queries being handled as special contents from `about:` this excises the query pathway from the llcache pretty much entirely. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Migrate SSL certificate storage to the browser window | Daniel Silverstone | 2019-08-05 | 7 | -130/+177 |
| | | | | | | | | | | * Fetchers now provide the certificates before headers * This is propagated all the way to the browser window * When a query occurs, we retrieve it from there and fire the query with those stored certificates. * The serial number is a bignum, store it as hex. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | content: Rename content_broadcast_errorcode() | Daniel Silverstone | 2019-08-05 | 13 | -61/+70 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Content messages: Remove ERRORCODE, rework ERROR | Daniel Silverstone | 2019-08-05 | 8 | -33/+33 |
| | | | | | | | This reworks CONTENT_MSG_ERROR to be structured data and removes the CONTENT_MSG_ERRORCODE message kind. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | enable gnu extensions to get strcasestr from string.h | Vincent Sanders | 2019-08-05 | 1 | -0/+2 |
| | |||||
* | form: Fix situation where a gadget initialises with NULL value | Daniel Silverstone | 2019-08-04 | 1 | -2/+6 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html: Mirror gadget values in and out of the DOM | Daniel Silverstone | 2019-08-04 | 6 | -1/+169 |
| | | | | | | | | | Currently only supporting text input, password input, and hidden input, along with text areas, this mirrors the text values in and out of the DOM, allowing JS to adjust the gadget values and for the gadget values to be interrogated from JS. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | change browser_window_drop_file_at_point() to take unscaled coordinates | Vincent Sanders | 2019-08-04 | 1 | -18/+26 |
| | |||||
* | change browser_window_redraw to use unscaled coordinates | Vincent Sanders | 2019-08-04 | 1 | -2/+2 |
| | |||||
* | Add content handlers for queries | Daniel Silverstone | 2019-08-04 | 4 | -1/+58 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | llcache: Do not delete objects if they were iterator targets | Daniel Silverstone | 2019-08-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | content, hlcache: Propagate query events upward | Daniel Silverstone | 2019-08-04 | 2 | -7/+22 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | llcache.h: Migrate query event to own struct type | Daniel Silverstone | 2019-08-04 | 1 | -5/+10 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | llcache: pass the cb_pw in query_finished | Daniel Silverstone | 2019-08-04 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Duktape element binding: Check dom_string_create for error. | Michael Drake | 2019-08-04 | 1 | -0/+6 |
| | |||||
* | CSS hints: Change css_hint_advance to advance pointer by parameter. | Michael Drake | 2019-08-04 | 1 | -55/+55 |
| | |||||
* | remove unnecessary browser_window_redraw_rect interface | Vincent Sanders | 2019-08-03 | 1 | -2/+4 |
| | |||||
* | Migrate query dispatch up from llcache to hlcache | Daniel Silverstone | 2019-08-03 | 4 | -76/+110 |
| | | | | | | | | | | | | As a first step in refactoring query handling to be managed by `browser_window`, this migrates the calling of the query handler from the llcache object code up to the hlcache. In theory this may result in multiple queries happening for one object, but we mitigate multiple-responses in the llcache so all should be well. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | change browser_window_get_features to use unscaled coordinates | Vincent Sanders | 2019-08-03 | 1 | -4/+11 |
| | |||||
* | change browser_window_mouse_track to use unscaled coordinates | Vincent Sanders | 2019-08-03 | 1 | -3/+2 |
| | |||||
* | change browser_window_mouse_click to use unscaled coordinates | Vincent Sanders | 2019-08-03 | 1 | -5/+5 |
| | | | | | this means frontends no longer need to scale mouse click events thus simplifying their implementation. | ||||
* | box_construct: Check error return from dom_has_attribute | Daniel Silverstone | 2019-08-03 | 1 | -3/+11 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | llcache: Ensure we preserve iteratorness when sending messages | Daniel Silverstone | 2019-08-02 | 1 | -1/+2 |
| | | | | | | | | | In order to prevent a problem where iterating causes an abort which causes an iteration which clears the iteratorness of a user allowing it to delete itself causing a segfault, preserve the iteratorness when iterating in send_message Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | dukky: Remove unused `dukky_safe_get()` | Daniel Silverstone | 2019-08-02 | 1 | -6/+0 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | curl: Change where we lodge `inside_curl` | Daniel Silverstone | 2019-08-02 | 1 | -6/+2 |
| | | | | | | | | Because we need to be slightly more careful now, lodge ourselves `inside_curl` whenever we might be processing via the cURL messages or similar. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | dukky: Clean up our stacktrace reporting | Daniel Silverstone | 2019-08-02 | 1 | -31/+6 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | curl: Immediately abort fetchers when we can | Daniel Silverstone | 2019-08-02 | 1 | -17/+24 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Duktape: Hopefully silence issue with %lld | Daniel Silverstone | 2019-08-02 | 1 | -1/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Duktape: Make declaration match definition for memcmp and double_div. | Michael Drake | 2019-08-02 | 1 | -3/+3 |
| | |||||
* | Duktape: Make declaration match definition for duk_refzero_check_fast() | Michael Drake | 2019-08-02 | 1 | -1/+1 |
| | |||||
* | Duktape: Make declarations match definitions for fastint-enabled functions. | Michael Drake | 2019-08-02 | 1 | -2/+2 |
| | |||||
* | Duktape: Make declarations match definitions for duk_raw_read_xxx_be | Michael Drake | 2019-08-02 | 1 | -6/+6 |
| | |||||
* | Duktape: Make declarations match definitions for inline functions. | Michael Drake | 2019-08-02 | 1 | -4/+4 |
| | |||||
* | Duktape: Prevent clang static analysis. | Michael Drake | 2019-08-02 | 1 | -0/+3 |
| | |||||
* | Duktape: Update to 2.4.0 release. | Michael Drake | 2019-08-02 | 3 | -7413/+8430 |
| | |||||
* | Document.bnd: Fix cookies getter and implement setter | Daniel Silverstone | 2019-08-02 | 1 | -1/+33 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | llcache: Use last_modified instead of date | Daniel Silverstone | 2019-08-02 | 1 | -2/+2 |
| | | | | | | | | | When sending an If-Modified-Since header we should use the `last_modified` rather than the `date` property of the cached object in order to not incorrectly assume things have a modification date when they do not. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Dukky: Add and utilise a jserrors category | Daniel Silverstone | 2019-08-02 | 1 | -4/+4 |
| | | | | | | | Normal, and verbose logging will now also log all JS errors in order that we stand a chance of debugging things more easily when testing. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> |