summaryrefslogtreecommitdiff
path: root/content/handlers/image
Commit message (Collapse)AuthorAgeFilesLines
* Plotters: Remove width param from path plotter.Michael Drake2018-05-231-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 Drake2018-05-231-5/+6
|
* Plotters: Add plot_style_fixed type, and use for font size.Michael Drake2018-05-231-1/+1
|
* JPEG: handle CMYK/YCCK imagesJohn-Mark Bell2018-01-201-15/+40
| | | | | | No real colourspace conversion here, so expect oversaturated images Fixes #2570.
* RSVG: fix colour conversionJohn-Mark Bell2018-01-201-3/+11
|
* fix image cache format specifiers signednessVincent Sanders2017-09-111-6/+9
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-066-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 Drake2017-08-301-1/+1
|
* Sprite content handler: Ensure we broadcast error on librosprite error.Michael Drake2017-08-291-0/+1
|
* Sprite content handler: Fix leaked rosprite_mem_context on rosprite_load error.Michael Drake2017-08-291-4/+11
|
* RSVG content handler: Remove unused assignement.Michael Drake2017-08-281-1/+0
|
* SVG content handler: Convert to using content_broadcast_errorcode().Michael Drake2017-08-281-4/+1
|
* RSVG content handler: Convert to using content_broadcast_errorcode().Michael Drake2017-08-281-15/+6
|
* PNG content handler: Convert to using content_broadcast_errorcode().Michael Drake2017-08-281-11/+4
|
* Sprite content handler: Convert to using content_broadcast_errorcode().Michael Drake2017-08-281-5/+2
|
* ICO content handler: Convert to using content_broadcast_errorcode().Michael Drake2017-08-271-8/+3
|
* GIF content handler: Convert to using content_broadcast_errorcode().Michael Drake2017-08-271-9/+6
|
* BMP content handler: Convert to using content_broadcast_errorcode().Michael Drake2017-08-271-9/+4
|
* Content API: Make content_broadcast take pointer to content_msg_data.Michael Drake2017-08-268-24/+24
|
* Update all core use of plotters to new APIVincent Sanders2017-02-115-39/+74
|
* create netsurf inttypes header to have portable integer formatting macrosVincent Sanders2017-01-212-1/+2
|
* fix spelling and doxygen comments in image cacheVincent Sanders2016-11-211-24/+72
|
* 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.
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-0611-23/+23
|
* 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-262-2/+2
|
* move image content handlers to accomodate core build changesVincent Sanders2016-05-2324-0/+4817