Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> | ||||
* | 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 | 3 | -6/+15 |
| | | | | 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> | ||||
* | Window.bnd: Suppress some unnecessary stack frame dumps | Daniel Silverstone | 2019-06-09 | 1 | -3/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Window.bnd: Expose isNan | Daniel Silverstone | 2019-06-09 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Window.bnd: Do not remove in-train callbacks | Daniel Silverstone | 2019-06-09 | 1 | -8/+17 |
| | | | | | | | | | | Sometimes callbacks may be cancelled from within themselves. In that case we need to simply ensure that should the callback be wanted to repeat, we instead stop that so that once the callback is completed we do not attempt to reschedule something which had already been deleted. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Update schedulers return codes | Vincent Sanders | 2019-06-08 | 1 | -1/+6 |
| | | | | | The GTK and monkey frontends schedulers now return NSERROR_NOT_FOUND when a caller is using a negative schedule time to remove a callback. | ||||
* | html.c: Correct ordering for reformat time | Daniel Silverstone | 2019-06-05 | 1 | -1/+1 |
| | | | | | | Fix a minor bug where we'd likely never end up reformatting. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Document.bnd: createDocumentFragment() unref fragment | Daniel Silverstone | 2019-06-01 | 1 | -0/+2 |
| | | | | | | | The pushed fragment node holds the reference, so unref it in the end of createDocumentFragment() Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | html_script.c: html_script_exec() reqacquire script ptr | Daniel Silverstone | 2019-06-01 | 1 | -0/+5 |
| | | | | | | | | | Since executing a script can cause more scripts to be appended to the script array, and that can cause a reallocation which might move the script array, reacquire the script pointer after running the script so that we don't wander off into the reeds. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Improve javascript unimplemented bnding documentation generation | Vincent Sanders | 2019-05-31 | 1 | -4/+8 |
| | |||||
* | Expose NaN on Window | Daniel Silverstone | 2019-05-25 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add dodgy window method to clear callbacks | Daniel Silverstone | 2019-05-25 | 2 | -1/+39 |
| | | | | | | | | | Until we can determine *how* the compartment isn't cleaning up properly in the duktape context, this will at least mean we don't get unpleasant callback related issues when compartments are reset during browsing. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Log when we finalise window objects | Daniel Silverstone | 2019-05-25 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Use generics for makeListProxy properly | Daniel Silverstone | 2019-05-25 | 1 | -2/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Use generics for makeListProxy properly | Daniel Silverstone | 2019-05-25 | 1 | -2/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Remove unnecessary generics magic | Daniel Silverstone | 2019-05-25 | 1 | -1/+0 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | HTML: Update selection media data for new libcss API. | Michael Drake | 2019-05-07 | 1 | -4/+7 |
| | |||||
* | CSS: One inch is 96 css pixels. | Michael Drake | 2019-05-07 | 1 | -2/+2 |
| | |||||
* | HTML: Set up the CSS length measuring context in CSS pixels. | Michael Drake | 2019-05-06 | 1 | -2/+2 |
| | |||||
* | CSS: Use helper to convert form css to physical pixels. | Michael Drake | 2019-05-06 | 1 | -2/+1 |
| | |||||
* | CSS: Add helpers to convert between css and physical pixels. | Michael Drake | 2019-05-06 | 1 | -0/+25 |
| | |||||
* | CSS: Extern the nscss_baseline_pixel_density value. | Michael Drake | 2019-05-06 | 1 | -0/+3 |
| | | | | | Front ends should be able to set this, or it should be a config option. | ||||
* | Convert css_len2pt and css_len2px for CSS pixels. | Michael Drake | 2019-05-06 | 1 | -15/+20 |
| | |||||
* | HTML: Squash error-path leaks in select box construction. | Michael Drake | 2019-05-06 | 1 | -0/+2 |
| | |||||
* | HTML: Before building the box tree, get viewport dimensions. | Michael Drake | 2019-05-06 | 1 | -0/+21 |
| |