Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | change content get_source_data interfaces to return uint8_t and size_t | Vincent Sanders | 2019-05-05 | 9 | -33/+34 |
| | | | | | previously these interfaces returned char * and unsigned int which was undesirable. | ||||
* | SVG content handler: Fix plot style stroke_width | Michael Forney | 2019-03-05 | 1 | -1/+1 |
| | | | | | | | | In 8332bf6b2a, when the stroke width was moved from a parameter to the plot style field, it accidentally used the `stroke` field of the svgtiny shape (the color) instead of `stroke_width`. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> | ||||
* | add webp image handler | Vincent Sanders | 2019-02-17 | 4 | -0/+269 |
| | |||||
* | improve some comments | Vincent Sanders | 2019-02-17 | 1 | -2/+6 |
| | |||||
* | tidy up bmp and ico makefile entries to be one per line | Vincent Sanders | 2019-02-17 | 1 | -1/+2 |
| | |||||
* | Plotters: Remove width param from path plotter. | Michael Drake | 2018-05-23 | 1 | -2/+2 |
| | | | | We now use the stroke_width in the plot_style. | ||||
* | Plotters: Change stroke width in the plot_style_t to fixed point. | Michael Drake | 2018-05-23 | 1 | -5/+6 |
| | |||||
* | Plotters: Add plot_style_fixed type, and use for font size. | Michael Drake | 2018-05-23 | 1 | -1/+1 |
| | |||||
* | JPEG: handle CMYK/YCCK images | John-Mark Bell | 2018-01-20 | 1 | -15/+40 |
| | | | | | | No real colourspace conversion here, so expect oversaturated images Fixes #2570. | ||||
* | RSVG: fix colour conversion | John-Mark Bell | 2018-01-20 | 1 | -3/+11 |
| | |||||
* | fix image cache format specifiers signedness | Vincent Sanders | 2017-09-11 | 1 | -6/+9 |
| | |||||
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 6 | -69/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7); | ||||
* | Errorcodes: Add SPRITE_ERROR and use it in sprite content handler. | Michael Drake | 2017-08-30 | 1 | -1/+1 |
| | |||||
* | Sprite content handler: Ensure we broadcast error on librosprite error. | Michael Drake | 2017-08-29 | 1 | -0/+1 |
| | |||||
* | Sprite content handler: Fix leaked rosprite_mem_context on rosprite_load error. | Michael Drake | 2017-08-29 | 1 | -4/+11 |
| | |||||
* | RSVG content handler: Remove unused assignement. | Michael Drake | 2017-08-28 | 1 | -1/+0 |
| | |||||
* | SVG content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-28 | 1 | -4/+1 |
| | |||||
* | RSVG content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-28 | 1 | -15/+6 |
| | |||||
* | PNG content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-28 | 1 | -11/+4 |
| | |||||
* | Sprite content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-28 | 1 | -5/+2 |
| | |||||
* | ICO content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-27 | 1 | -8/+3 |
| | |||||
* | GIF content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-27 | 1 | -9/+6 |
| | |||||
* | BMP content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-27 | 1 | -9/+4 |
| | |||||
* | Content API: Make content_broadcast take pointer to content_msg_data. | Michael Drake | 2017-08-26 | 8 | -24/+24 |
| | |||||
* | Update all core use of plotters to new API | Vincent Sanders | 2017-02-11 | 5 | -39/+74 |
| | |||||
* | create netsurf inttypes header to have portable integer formatting macros | Vincent Sanders | 2017-01-21 | 2 | -1/+2 |
| | |||||
* | fix spelling and doxygen comments in image cache | Vincent Sanders | 2016-11-21 | 1 | -24/+72 |
| | |||||
* | 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. | ||||
* | Allow include directories to be added by sub makefiles | Vincent Sanders | 2016-06-06 | 11 | -23/+23 |
| | |||||
* | 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 | 2 | -2/+2 |
| | |||||
* | move image content handlers to accomodate core build changes | Vincent Sanders | 2016-05-23 | 24 | -0/+4817 |