Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rsvg246: Fix build against librsvg 2.48 | Michael Drake | 2022-12-13 | 1 | -0/+7 |
| | | | | The version of librsvg is used on Ubuntu 20.04TLS. | ||||
* | rsvg246: Split out width/height acquisition | Michael Drake | 2022-12-13 | 1 | -21/+29 |
| | |||||
* | add rsvg image decoder that uses the new API | Vincent Sanders | 2022-11-27 | 2 | -1/+266 |
| | |||||
* | gif: Ensure we never pass NSERROR_OK to error broadcast | Michael Drake | 2022-11-04 | 1 | -3/+0 |
| | |||||
* | gif: Mark gifs as complete after scanning source data | Michael Drake | 2022-11-04 | 1 | -2/+4 |
| | | | | | | This allows libnsgif to distinguish between awaiting more data, and a broken truncated GIF. In the latter case we can display what we have. | ||||
* | content: image cache: Avoid int overflow before size_t conversion | Michael Drake | 2022-10-23 | 1 | -1/+1 |
| | |||||
* | Ensure image cache logging does not cause division by zero at exit | Vincent Sanders | 2022-09-11 | 1 | -6/+6 |
| | |||||
* | inttypes: custom format for UnixLib ssize_t | John-Mark Bell | 2022-06-03 | 1 | -6/+6 |
| | | | | | | | | UnixLib defines ssize_t to be a long int, which forces the corresponding format string to need to be %ld to avoid compiler warnings. Making this change uncovered a number of places where we were using the wrong format specifier entirely (namely PRIssizet where we meant PRIsizet). Fix these, too. | ||||
* | Bitmap: Implement test_opaque in core instead of in every frontend. | Michael Drake | 2022-03-29 | 2 | -3/+3 |
| | |||||
* | WebP: Optimisation: If it's opaque avoid any PMA conversions. | Michael Drake | 2022-03-28 | 1 | -0/+4 |
| | |||||
* | PNG: Allow support for premultiplied alpha. | Michael Drake | 2022-03-28 | 1 | -4/+13 |
| | | | | | | | | | | | | | LibPNG doesn't support premultiplied alpha, so now that the core supports it, we can't just say that the decoded PNG is in the core bitmap format. So we now say it's in the core pixel layout, and if it's opaque we say it has the same premultipled alpha setting as core bitmaps because the conversion is costly and makes no difference. On the other hand if it is not opaque we now admit that it is not premultipled alpha so it gets converted if needed. | ||||
* | Image: JPEG: Decode to client bitmap format where possible. | Michael Drake | 2022-03-27 | 1 | -51/+125 |
| | |||||
* | Image: JPEG: Warn if not using libjpeg-turbo. | Michael Drake | 2022-03-27 | 1 | -7/+2 |
| | | | | Replaces RISC OS warning with a more general and relevant one. | ||||
* | Image: WebP: Decode to client bitmap format where possible. | Michael Drake | 2022-03-27 | 1 | -8/+24 |
| | |||||
* | Image: WebP: Correct output buffer size for rowstride. | Michael Drake | 2022-03-27 | 1 | -1/+1 |
| | |||||
* | Image: Sprite: Avoid multiple bitmap format conversions. | Michael Drake | 2022-03-27 | 1 | -14/+4 |
| | |||||
* | Image: RSVG: Just use bitmap to client for conversion. | Michael Drake | 2022-03-27 | 1 | -39/+1 |
| | |||||
* | Image: PNG: Decode to client bitmap format. | Michael Drake | 2022-03-27 | 1 | -11/+32 |
| | |||||
* | Image: GIF: Decode directly to client bitmap format. | Michael Drake | 2022-03-27 | 1 | -36/+22 |
| | |||||
* | Bitmap: Move bitmap pixel to colour macro to bitmap header. | Michael Drake | 2022-03-27 | 1 | -1/+2 |
| | |||||
* | Image: WebP: Call bitmap format conversion after decode. | Michael Drake | 2022-03-27 | 1 | -0/+4 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: RSVG: Call bitmap format conversion after decode. | Michael Drake | 2022-03-27 | 1 | -0/+4 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: PNG: Call bitmap format conversion after decode. | Michael Drake | 2022-03-26 | 1 | -0/+11 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: Sprite: Call bitmap format conversion after decode. | Michael Drake | 2022-03-26 | 1 | -0/+4 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: JPEG: Call bitmap format conversion after decode. | Michael Drake | 2022-03-26 | 1 | -0/+5 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: ICO: Abstract image decode into helper. | Michael Drake | 2022-03-26 | 1 | -29/+23 |
| | |||||
* | Image: ICO: Call bitmap format conversion after decode. | Michael Drake | 2022-03-26 | 1 | -0/+10 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: GIF: Call bitmap format conversion before/after decode. | Michael Drake | 2022-03-26 | 1 | -2/+36 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Image: BMP: Call bitmap format conversion after decode. | Michael Drake | 2022-03-26 | 1 | -0/+4 |
| | | | | | Currently a no-op, because we decode to the default format and no front end requests anything but the default format. | ||||
* | Bitmap API: Clean up creation flags. | Michael Drake | 2022-03-24 | 8 | -12/+12 |
| | |||||
* | Image: ICO: Update for new libnsbmp API. | Michael Drake | 2022-03-24 | 1 | -1/+0 |
| | |||||
* | Image: BMP: Update for new libnsbmp API. | Michael Drake | 2022-03-24 | 1 | -3/+1 |
| | |||||
* | PNG: Bytes per pixel is always 4. | Michael Drake | 2022-03-24 | 1 | -1/+1 |
| | |||||
* | GIF: Update to new libnsgif API. | Michael Drake | 2022-03-23 | 1 | -1/+2 |
| | | | | Set required colour component order. | ||||
* | GIF: Tolerate errors during scan if at least one frame. | Michael Drake | 2022-03-03 | 1 | -5/+9 |
| | |||||
* | GIF: Update to latest libnsgif API. | Michael Drake | 2022-02-26 | 1 | -206/+160 |
| | |||||
* | split out the about scheme imagecache page generator | Vincent Sanders | 2020-09-20 | 1 | -0/+1 |
| | |||||
* | improve desktop text search header usage | Vincent Sanders | 2020-06-24 | 1 | -0/+1 |
| | | | | | | | | | remove unecessary inclusion of desktop search header in content header which has knock on effect of not having ctype or string system headers dragged in unecessarily. Futher this highlighted use of ctype API where internal ascii processing ought to be used. | ||||
* | implement content opacity check through the function table | Vincent Sanders | 2020-05-13 | 10 | -3/+99 |
| | |||||
* | add missing header includes from previous change | Vincent Sanders | 2020-05-08 | 2 | -0/+2 |
| | |||||
* | improve content header usage | Vincent Sanders | 2020-05-07 | 7 | -4/+17 |
| | |||||
* | clean up content headers and documentation comments | Vincent Sanders | 2020-05-06 | 1 | -0/+1 |
| | | | | pure formatting and documentation changes, no code difference | ||||
* | webp: NetSurf bitmap format is RGBA. | Michael Drake | 2019-12-08 | 1 | -1/+3 |
| | | | | | Issue a bitmap modified call after conversion, to allow front ends with different pixel formats to convert. | ||||
* | gif: Change how we rate-limit frames to match other browsers. | Michael Drake | 2019-11-11 | 1 | -2/+4 |
| | | | | This makes the old minimum_gif_delay option unused. | ||||
* | Content: Remove redundant and unused redraw message fields. | Michael Drake | 2019-11-11 | 1 | -23/+1 |
| | | | | | | | | | | This was archaic support for rendering images as "overlays", and avoiding a redraw via the browser window redraw and HTML contents. Basically it was "plot this image here", but it was too error prone, so it was removed a long time ago. These are some last vestiges that made the redraw message look more complex than it is. | ||||
* | remove unused external declaration and unecessary header use | Vincent Sanders | 2019-10-06 | 2 | -12/+9 |
| | |||||
* | nssprite: content_broadcast_error fix | Daniel Silverstone | 2019-08-05 | 1 | -3/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | content: Rename content_broadcast_errorcode() | Daniel Silverstone | 2019-08-05 | 6 | -20/+20 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Content messages: Remove ERRORCODE, rework ERROR | Daniel Silverstone | 2019-08-05 | 1 | -1/+2 |
| | | | | | | | This reworks CONTENT_MSG_ERROR to be structured data and removes the CONTENT_MSG_ERRORCODE message kind. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | 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. |