Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modify some "free" references which were failing to build with clib2 debug mode | Chris Young | 2019-06-09 | 2 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | HTML content handler: Handle content msg for getdims. | Michael Drake | 2019-05-06 | 1 | -0/+7 |
| | |||||
* | Quieten dukky a little more in default log levels | Daniel Silverstone | 2019-05-06 | 1 | -3/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Do not prevent reattempting conversion of HTML contents | Daniel Silverstone | 2019-05-06 | 1 | -8/+0 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Use new safe context dump | Daniel Silverstone | 2019-05-06 | 1 | -9/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Support context dump safely in duktape | Daniel Silverstone | 2019-05-06 | 2 | -2/+24 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add some missing unrefs | Daniel Silverstone | 2019-05-06 | 1 | -0/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | complete basic binding documentation | Vincent Sanders | 2019-05-06 | 1 | -3/+13 |
| | | | | improve the alert() method parameter handling | ||||
* | Properly set log levels | Daniel Silverstone | 2019-05-06 | 1 | -8/+8 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | change content get_source_data interfaces to return uint8_t and size_t | Vincent Sanders | 2019-05-05 | 16 | -56/+69 |
| | | | | | previously these interfaces returned char * and unsigned int which was undesirable. | ||||
* | Use consoleFormatter in Console.bnd | Daniel Silverstone | 2019-05-05 | 1 | -6/+27 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Generics: Add consoleFormatter | Daniel Silverstone | 2019-05-05 | 1 | -0/+76 |
| | | | | | | | | In order to support the console logging formatting specification as per https://console.spec.whatwg.org/#logger we need to implement the Formatter(...) algorithm which is easier done within JavaScript Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Dukky: Change from specifically named generics | Daniel Silverstone | 2019-05-05 | 3 | -8/+18 |
| | | | | | | | | Instead of specifically having to extract each generic by name, such as makeListProxy, instead support the entire generics table and use `dukky_push_generics()` to gain access to it. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Logging: migrate and provide content interface | Daniel Silverstone | 2019-05-05 | 1 | -1/+1 |
| | | | | | | | | Migrate the console enums into netsurf/console.h and add support so that contents can raise a message to log to the console. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Force a GC to ensure old compartment goes away | Daniel Silverstone | 2019-05-05 | 1 | -1/+5 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Ensure we clear the cbt entry after finishing a non-recurring callback | Daniel Silverstone | 2019-05-05 | 1 | -7/+21 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | make missing xxd command fail the build correctly | Vincent Sanders | 2019-05-05 | 1 | -1/+2 |
| | |||||
* | Support content_exec for content_html | Daniel Silverstone | 2019-05-05 | 1 | -0/+85 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Replace zd with PRIsizet to appease Windows | Daniel Silverstone | 2019-05-05 | 2 | -7/+8 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add missing semi-colon. Sorry | Daniel Silverstone | 2019-05-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | change back to unsigned long to avoid warning on gnueabihf platforms | Vincent Sanders | 2019-05-04 | 1 | -1/+1 |
| | |||||
* | Support nodelist indexing | Daniel Silverstone | 2019-05-04 | 6 | -3/+99 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | add some comments to window location binding | Vincent Sanders | 2019-05-04 | 1 | -0/+2 |
| | |||||
* | Support Document::createDocumentFragment | Daniel Silverstone | 2019-05-04 | 1 | -0/+14 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Expose Number and Error on Window | Daniel Silverstone | 2019-05-04 | 1 | -0/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add createElementNS | Daniel Silverstone | 2019-05-04 | 2 | -1/+42 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | JS: Attribute external JS to the URI it came from in backtraces | Daniel Silverstone | 2019-05-04 | 4 | -9/+16 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> |