Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | js: duktape bindings: Squash -Wcalloc-transposed-args (gcc-14) | Michael Drake | 2024-05-24 | 1 | -1/+1 |
| | |||||
* | use attributes to indicate switch fall through instead of comments | Vincent Sanders | 2024-03-05 | 1 | -1/+1 |
| | |||||
* | Avoid integer types with platform dependent size | DeltaVonNeumann | 2023-06-17 | 1 | -3/+3 |
| | |||||
* | (Element): Honour [SameObject] for ::classList getter | Daniel Silverstone | 2022-11-27 | 1 | -10/+20 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | DOMTokenList: Add support and testing for this | Daniel Silverstone | 2022-11-27 | 5 | -0/+248 |
| | | | | | | | | | | | | We add both DOMTokenList and DOMSettableTokenList and introduce polyfills for stringifying it until nsgenbind can do that. We also bring in a test to demonstrate all that we have. Note: This does not implement the extra methods that exist according to MDN, we may need a polyfill to bring that up to snuff. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | (duktape): Clear some warnings by adding base data to css rule and stylesheet | Daniel Silverstone | 2022-11-26 | 3 | -0/+48 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | js: console: Fix argument type for formatting function | Michael Drake | 2022-10-23 | 1 | -1/+1 |
| | |||||
* | js: image data: Avoid int overflow before size_t conversion | Michael Drake | 2022-10-23 | 1 | -1/+1 |
| | |||||
* | Duktape: Prevent clang static analysis. | Michael Drake | 2022-05-29 | 1 | -0/+3 |
| | |||||
* | Duktape: Update to 2.7.0 release. | Michael Drake | 2022-05-29 | 3 | -11565/+15231 |
| | |||||
* | Bitmap API: Clean up creation flags. | Michael Drake | 2022-03-24 | 1 | -3/+3 |
| | |||||
* | dukky: Fix assignment in assert | Daniel Silverstone | 2020-10-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Console: Do not try and log through a closed down window | Daniel Silverstone | 2020-10-02 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | initial implementation of split messages in c | Vincent Sanders | 2020-06-15 | 1 | -6/+0 |
| | | | | functional but the compression switch still needs implementing | ||||
* | implement a minimal xxd for builds to remove external dependancy | Vincent Sanders | 2020-06-03 | 1 | -4/+10 |
| | |||||
* | canvas: Implement fully correct putImageData features | Daniel Silverstone | 2020-05-24 | 1 | -48/+120 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS dom event binding: Squash leak of string. | Michael Drake | 2020-05-24 | 1 | -1/+1 |
| | |||||
* | Canvas: Do not overrun destination bitmap during creation | Daniel Silverstone | 2020-05-24 | 1 | -5/+6 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | canvas: Support changing canvas size at runtime | Daniel Silverstone | 2020-05-23 | 2 | -8/+143 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Canvas: Move bitmap management to the 2D render context | Daniel Silverstone | 2020-05-23 | 1 | -0/+162 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | CanvasRenderingContext2D: More verbose input validation error message | Daniel Silverstone | 2020-05-22 | 1 | -1/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | javascript: Support Canvas to a basic level | Daniel Silverstone | 2020-05-22 | 5 | -2/+314 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | improve html content handler private headers | Vincent Sanders | 2020-05-02 | 2 | -2/+2 |
| | |||||
* | dukky: Don't allow js_exec on a thread pending destruction | Daniel Silverstone | 2020-04-26 | 1 | -0/+5 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | dukky: Various checks for win being NULL | Daniel Silverstone | 2020-04-26 | 2 | -1/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Window: Do not get stuck if callbacks are in-train during compartment close | Daniel Silverstone | 2020-04-25 | 1 | -1/+30 |
| | | | | | | | | | When we close the JS compartment we try and cancel all callbacks so that they do not fire after the compartment is closed. However if we have in-train callbacks, they can gum up the closedown and so we need to check and if we've done all we can, we break out of the callback removal loop. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | add bindings for canvas width and height | Vincent Sanders | 2020-04-24 | 2 | -1/+19 |
| | |||||
* | Window: Add flag to ensure we don't set timeouts after close | Daniel Silverstone | 2020-03-22 | 1 | -0/+14 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS: Add concept of js_closethread | Daniel Silverstone | 2020-03-22 | 1 | -0/+20 |
| | | | | | | | In order to better model content close vs destroy, add the concept of closing a thread to the JS interface. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Dukky: Make heaps refcounted too | Daniel Silverstone | 2020-03-22 | 1 | -2/+18 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Dukky: Add refcounting to threads | Daniel Silverstone | 2020-03-21 | 1 | -5/+59 |
| | | | | | | | | | In order to cope with threads which manage to navigate entirely while executing (sadly possible) we need to handle the possibility that a thread is destroyed by the browser but still needs to live until it returns from whatever exec it was doing at the time. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Dukky: Upgrade dukky binding to support new heap/thread split | Daniel Silverstone | 2020-03-21 | 3 | -95/+121 |
| | | | | | | | | Update the duktape bindings and dukky interface to support the new JS heap/thread split. Heaps may have multiple active threads though in general there will only be 2 at a time. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS: Remove unused slow script callback | Daniel Silverstone | 2020-03-21 | 1 | -1/+1 |
| | | | | 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> | ||||
* | 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 |
| | |||||
* | Window: set{Timeout,Interval}() default delay 10ms | Daniel Silverstone | 2019-08-21 | 1 | -12/+8 |
| | | | | 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 |
| | |||||
* | dukky: Remove unused `dukky_safe_get()` | Daniel Silverstone | 2019-08-02 | 1 | -6/+0 |
| | | | | 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> | ||||
* | 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 |
| |