| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_safe_call-userdata
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that DUK_OPT_XXX feature selection has been removed.
This means we can't use `DUK_OPT_HAVE_CUSTOM_H`, so we need another
way to tell duktape about our custom header.
This means assembling our own duktape distribution with a
duktape "tools/configure.py" invocation.
Instructions for updating duktape have been added to NetSurf's
`Docs/` directory.
See:
https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_opt_xxx-feature-option-support-removed
|
| |
|
|
|
|
|
| |
This adds the binding for EventTarget along with implementations for
addEventListener() removeEventListener() and dispatchEvent()
|
|
|
|
|
|
|
| |
This paves the way for EventTarget and its associated event listener support.
In particular it ensures the generic event handling we do supports the
semantics of the addEventListener() and removeEventListener() managed lists of
callbacks.
|
| |
|
| |
|
|
|
|
|
| |
move plotter style header and adjust all callers to use only what they
actually require.
|
| |
|
|
|
|
| |
Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 1.6.0 import.
|
|
|
|
| |
Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 1.6.0 import.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 1.5.1 import.
|
|
|
|
| |
Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 1.5.1 import.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Version 1.5.1 includes some of our own fixes, reducing our delta
to upstream.
These should not be needed now:
- 2cbb337756d9af5bda4d594964d446439f602551
Squash harmless Clang warning introduced in Duktape 1.5.0.
- 8f8cda2b48d1063366302204559c1ed3362656bc
Fix Duktape on AmigaOS3 (thanks to Tygre and Sami)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Libjpeg used in NetSurf for decoding of JPEG images handles exceptions using a
pair of non-local jump functions: setjmp() and longjmp(). When a decompression
context is created via a call to the function jpeg_create_decompress() the
caller passes a structure jpeg_decompress_struct as a parameter. This structure
should has a validly initialized jump buffer, so the initialization or other
functions called in future can jump to the exception handling context.
The jpeg backend of NetSurf now initializes libjpeg mistakenly: jump buffer is
filled after the call to jpeg_create_decompress(). It results in jump to random
addresses in the case of exception caught during operation of the function
jpeg_create_decompress().
The patch moves the initialization of jump buffer before the call to
jpeg_create_decompress().
Signed-off-by: Sergei Rogachev <rogachevsergei@gmail.com>
|
|
|
|
|
|
|
|
| |
bitmap file decoding is done at first call to redraw but was not
calling the modified callback at the correct time immediately after
decode so frontend image chnages were not being done. This caused
nsgtk to fail to apply its colour space fixups so red was swapped with
blue.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|