summaryrefslogtreecommitdiff
path: root/content/handlers
Commit message (Collapse)AuthorAgeFilesLines
* Properly initialize heap to avoid malloc failuresAshish Gupta2017-06-101-2/+0
|
* Get logging working.Ashish Gupta2017-06-101-0/+2
|
* Duktape: Make declarations match definitions for fastint-enabled functions.Michael Drake2017-04-211-2/+2
|
* Duktape: Enable fastints.Michael Drake2017-04-201-0/+1
| | | | Suggested by svaarala.
* Duktape: Make declaration match definition for duk_refzero_check_fast()Michael Drake2017-04-161-1/+1
|
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2017-04-161-6/+6
| | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.1.0 import.
* Duktape: Prevent clang static analysis.Michael Drake2017-04-161-0/+3
| | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.1.0 import.
* Duktape: Update to 2.1.0 release.Michael Drake2017-04-163-5539/+7089
|
* CSS: Handle presentational hint for HR's "width" attribute.Michael Drake2017-04-101-0/+1
|
* Presentational hints: Ensure length is initialised for auto margins.Michael Drake2017-04-061-0/+2
| | | | | | | | | | | Although the length is unused when margin is auto, having uninitialised values present in a computed style means that the style hashing may give the same style different hashes depending on the unintitialised info. The effect of this would have been be to reduce the chance of computed style sharing. It would have had no effect on page rendering.
* Duktape: Suppress warnings about increasing alignment of pointer type.Michael Drake2017-03-231-2/+2
|
* Duktape: Atari Mint lacks trunc, log2 and cbrt.Michael Drake2017-03-231-1/+7
| | | | | | | | build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x978): undefined reference to `_trunc' build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x990): undefined reference to `_log2' build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x99c): undefined reference to `_cbrt'
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2017-03-231-6/+6
| | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.0.2 import.
* Duktape: Prevent clang static analysis.Michael Drake2017-03-231-0/+3
| | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.0.2 import.
* Duktape 2.X: duk_error now returns a duk_ret_tMichael Drake2017-03-233-10/+6
| | | | | | https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_error-duk_error_va-duk_throw-duk_fatal-have-a-return-value This also changes Console.bnd to return on error, rather than ignoring it.
* Duktape 2.x: duk_safe_call callbacks now have a void ptr user data param.Michael Drake2017-03-231-5/+5
| | | | https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_safe_call-userdata
* Duktape 2.X: Update to Duktape 2.0.2.Michael Drake2017-03-233-21021/+24871
| | | | | | | | | | | | | | | | 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
* Update all core use of plotters to new APIVincent Sanders2017-02-115-39/+74
|
* Add EventTarget bindingDaniel Silverstone2017-02-053-0/+279
| | | | | This adds the binding for EventTarget along with implementations for addEventListener() removeEventListener() and dispatchEvent()
* Add EventListener support to duktape binding.Daniel Silverstone2017-02-052-7/+187
| | | | | | | 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.
* Support fixed nsgenbind bindingsDaniel Silverstone2017-02-052-4/+6
|
* create netsurf inttypes header to have portable integer formatting macrosVincent Sanders2017-01-213-5/+5
|
* move plot style header to netsurf include directoryVincent Sanders2017-01-131-0/+1
| | | | | move plotter style header and adjust all callers to use only what they actually require.
* fixup usage of directory creation macro in MakefilesVincent Sanders2017-01-071-2/+2
|
* Duktape: Prevent clang static analysis.Michael Drake2016-12-281-0/+3
| | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 1.6.0 import.
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2016-12-281-6/+6
| | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 1.6.0 import.
* Duktape: Update to version 1.6.0.Michael Drake2016-12-283-125/+324
|
* make nsgenbind call last in rule so faliures are noticed by makeVincent Sanders2016-11-241-1/+0
|
* fix spelling of retrivedVincent Sanders2016-11-211-2/+2
|
* fix spelling and doxygen comments in image cacheVincent Sanders2016-11-211-24/+72
|
* Work in Progress: Update for style-sharing LibCSS API.Michael Drake2016-11-191-32/+23
|
* Table cell nowrap attribute is presentational hint, not UA style.Michael Drake2016-10-131-0/+17
|
* Duktape: Prevent clang static analysis.Michael Drake2016-08-311-0/+3
| | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 1.5.1 import.
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2016-08-311-6/+6
| | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 1.5.1 import.
* Duktape: Update to version 1.5.1.Michael Drake2016-08-313-81/+185
| | | | | | | | | | | | 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)
* Fix Duktape on AmigaOS3 (thanks to Tygre and Sami)Chris Young2016-08-271-1/+1
|
* Fix longjmp to invalid address on jpeg init errorSergei Rogachev2016-08-141-2/+2
| | | | | | | | | | | | | | | | | | | 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>
* fix bitmap modification callback calling for bmp image handlerVincent Sanders2016-08-141-4/+10
| | | | | | | | 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.
* msplit public url database API out for frontendsVincent Sanders2016-06-131-1/+2
|
* Move javascript content handler as appropriate for updated source formatVincent Sanders2016-06-0780-1/+100695
|
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-0618-36/+38
|
* fixup rsvg image handler for content API changesVincent Sanders2016-06-061-2/+4
|
* Update content to split public and internal APIVincent Sanders2016-06-0611-20/+39
|
* move plotters header into public APIVincent Sanders2016-05-305-5/+5
|
* move misc header into public APIVincent Sanders2016-05-302-2/+2
|
* move bitmap API header to core include directoryVincent Sanders2016-05-2610-186/+9
|
* move the CSS content handlerVincent Sanders2016-05-2616-3/+6576
|
* move image content handlers to accomodate core build changesVincent Sanders2016-05-2325-0/+4821