Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> | ||||
* | Window: Provide a little more info on why not EXPOSE()ing some stuff | Daniel Silverstone | 2019-08-02 | 1 | -9/+10 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Window: Restructure EXPOSE()d globals | Daniel Silverstone | 2019-08-02 | 1 | -14/+82 |
| | | | | | | | By reference to the MDN and to Duktape's CLI, expose everything we possibly can on the global object (Window). Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | dukky.c: Correct typo (BUTTOM -> BUTTON) | Daniel Silverstone | 2019-08-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Dukky: Support console logging better | Daniel Silverstone | 2019-08-01 | 4 | -2/+117 |
| | | | | | | | Add a polyfill for Array.from(), and fix the console formatter so that it won't keep exploding. This should improve matters in the tests. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | dukky: Attempt to make the fallback to HTMLUnknownElement more useful. | Daniel Silverstone | 2019-08-01 | 1 | -4/+7 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_interaction.c: Default node to <HTML> node | Daniel Silverstone | 2019-08-01 | 1 | -1/+1 |
| | | | | | | | | | | | In order to cope when an entire document is `visibility: hidden` we default to the <HTML> node when interacting with the document to ensure we don't drop off the end of the box model without identifying at least one node to fire events at. This resolves #2658 Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Console.bnd: Support attempts to log when Window has gone | Daniel Silverstone | 2019-08-01 | 1 | -1/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Layout: Apply min/max width to replaced elements when width is given. | Michael Drake | 2019-07-30 | 1 | -0/+5 |
| | |||||
* | cleanup some javascript documentation comments | Vincent Sanders | 2019-07-12 | 2 | -33/+69 |
| | |||||
* | when owning context is destroyed ensure that active js compartment is ↵ | Vincent Sanders | 2019-07-12 | 1 | -24/+56 |
| | | | | destroyed first | ||||
* | make content close check the content status itself | Vincent Sanders | 2019-07-10 | 8 | -53/+89 |
| | | | | make content handler open and close return error status | ||||
* | add isFinite to global context | Vincent Sanders | 2019-07-01 | 1 | -0/+1 |
| | |||||
* | css/utils.c: Fix vw/vh handling in len2pt | Daniel Silverstone | 2019-06-30 | 1 | -2/+2 |
| | | | | | | | | | We were using integer multiplication rather than fixed-point multiplication when calculating point sizes relative to the viewport. This fixes that. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Viewport width/height in length context are fixed point. | Michael Drake | 2019-06-29 | 1 | -2/+2 |
| | |||||
* | revert 8265b8b66f7072a659dbc0f3e50fe23d6d6a68a1 as ssize_t is not available ↵ | Vincent Sanders | 2019-06-25 | 1 | -1/+1 |
| | | | | everywhere | ||||
* | Duktape: Probably should use ssize_t | Daniel Silverstone | 2019-06-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Duktape: Hopefully silence issue with %lld | Daniel Silverstone | 2019-06-15 | 2 | -1/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> |