Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix longjmp to invalid address on jpeg init error | Sergei Rogachev | 2016-08-14 | 1 | -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 handler | Vincent Sanders | 2016-08-14 | 1 | -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 frontends | Vincent Sanders | 2016-06-13 | 1 | -1/+2 |
| | |||||
* | Move javascript content handler as appropriate for updated source format | Vincent Sanders | 2016-06-07 | 80 | -1/+100695 |
| | |||||
* | Allow include directories to be added by sub makefiles | Vincent Sanders | 2016-06-06 | 18 | -36/+38 |
| | |||||
* | fixup rsvg image handler for content API changes | Vincent Sanders | 2016-06-06 | 1 | -2/+4 |
| | |||||
* | Update content to split public and internal API | Vincent Sanders | 2016-06-06 | 11 | -20/+39 |
| | |||||
* | move plotters header into public API | Vincent Sanders | 2016-05-30 | 5 | -5/+5 |
| | |||||
* | move misc header into public API | Vincent Sanders | 2016-05-30 | 2 | -2/+2 |
| | |||||
* | move bitmap API header to core include directory | Vincent Sanders | 2016-05-26 | 10 | -186/+9 |
| | |||||
* | move the CSS content handler | Vincent Sanders | 2016-05-26 | 16 | -3/+6576 |
| | |||||
* | move image content handlers to accomodate core build changes | Vincent Sanders | 2016-05-23 | 25 | -0/+4821 |