Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add previously failing icon with transparancy as test | Vincent Sanders | 2016-08-19 | 3 | -2/+9 |
| | |||||
* | allow icons with transparaency to be saved in P7 format | Vincent Sanders | 2016-08-19 | 1 | -133/+182 |
| | |||||
* | allow 32bpp icon to use their alpha channel for opacity | Vincent Sanders | 2016-08-19 | 1 | -0/+7 |
| | | | | modified patch from François Revol | ||||
* | separate 24bpp decoder from 32bpp | Vincent Sanders | 2016-08-19 | 1 | -17/+110 |
| | |||||
* | do not stop bitmap decode on first out of range colour table index | Vincent Sanders | 2016-08-15 | 1 | -5/+8 |
| | | | | | | | This changes behaviour to ignore image indices outside the range of entries in the colour table. This allows a greater number of "real world" bitmaps to be decoded which often have such bad palette references within them. | ||||
* | Split RLE decoding into two separate less complex routines | Vincent Sanders | 2016-08-15 | 1 | -93/+224 |
| | |||||
* | make sign of comparison explicit | Vincent Sanders | 2016-08-14 | 1 | -1/+1 |
| | | | | | The size being computed cannot be negative so simply cast the result to unsigned value for the sake of comparison which resolves the warning. | ||||
* | source code cleanup and reformat no functional changes | Vincent Sanders | 2016-08-14 | 2 | -1009/+1147 |
| | |||||
* | fix test runner icon image selection | Vincent Sanders | 2016-08-14 | 1 | -1/+1 |
| | |||||
* | cope with palette bitmaps that have a bad offset | Vincent Sanders | 2016-08-14 | 1 | -0/+10 |
| | | | | | | some palette bitmaps have a image data offset that does not account for the palette data. This works round the issue by skipping the palette data in such bitmaps to get a correct image. | ||||
* | generate output ppm if the decode was incomplete | Vincent Sanders | 2016-08-14 | 2 | -129/+132 |
| | |||||
* | futher fixes to RLE decoding to cope with top down decoding | Vincent Sanders | 2016-08-14 | 1 | -4/+21 |
| | |||||
* | fix bounds checking in RLE decode | Vincent Sanders | 2016-08-13 | 1 | -5/+10 |
| | |||||
* | Add AFL demo bitmap and icon corpus to unit tests | Vincent Sanders | 2016-08-13 | 968 | -1/+21 |
| | |||||
* | Improve test runner and prevent generation of excessively large output | Vincent Sanders | 2016-08-12 | 2 | -10/+70 |
| | |||||
* | add tests for problematic bitmaps | Vincent Sanders | 2016-08-11 | 2 | -0/+7 |
| | | | | mantis 2446 has a problematic bitmap we can use to test with | ||||
* | move library usage documentation into a README file | Vincent Sanders | 2016-08-11 | 2 | -58/+62 |
| | |||||
* | Update Component version for releaserelease/0.1.3 | Vincent Sanders | 2015-12-18 | 1 | -2/+2 |
| | |||||
* | Range check colour table accesses. | John-Mark Bell | 2015-11-20 | 2 | -5/+26 |
| | | | | Issue-reported-by: Hans Jerry Illikainen | ||||
* | Fix pixels_left calculation in RLE decoding. | John-Mark Bell | 2015-11-20 | 2 | -5/+6 |
| | | | | | | | Additionally, improve input data range check for RLE4 absolute mode. Issue-reported-by: Hans Jerry Illikainen | ||||
* | Trivial spelling fix | John-Mark Bell | 2015-11-20 | 1 | -1/+1 |
| | |||||
* | test decoding of ico files | Vincent Sanders | 2015-09-02 | 1 | -3/+3 |
| | |||||
* | add decode test suite | Vincent Sanders | 2015-09-01 | 52 | -0/+35 |
| | |||||
* | Caused a syntax error in previous commit while altering CFLAGS | Vincent Sanders | 2015-03-22 | 1 | -1/+1 |
| | |||||
* | Update CFLAGS to avoid deprication warning for glibc 2.21 and later. | Vincent Sanders | 2015-03-22 | 1 | -2/+10 |
| | |||||
* | Fix paths for Haiku. | Adrien Destugues | 2015-03-22 | 2 | -2/+2 |
| | |||||
* | Update the component version for releaserelease/0.1.2 | Vincent Sanders | 2015-03-08 | 1 | -1/+1 |
| | |||||
* | Fix up for new buildsystem | John-Mark Bell | 2014-11-16 | 1 | -1/+1 |
| | |||||
* | We don't need read_int8 right now | Daniel Silverstone | 2014-08-29 | 1 | -0/+2 |
| | |||||
* | Update component version for releaserelease/0.1.1 | Vincent Sanders | 2014-04-18 | 1 | -1/+1 |
| | |||||
* | Add support for multilib | John-Mark Bell | 2014-01-13 | 2 | -3/+3 |
| | |||||
* | update component version for releaserelease/0.1.0 | Vincent Sanders | 2013-04-19 | 1 | -1/+1 |
| | |||||
* | add a .gitattributes so .gitignore is not exported | Vincent Sanders | 2013-04-18 | 1 | -0/+2 |
| | |||||
* | Remove suspend/invalidate stuff. | Michael Drake | 2012-10-14 | 4 | -61/+0 |
| | |||||
* | Update to new NSBUILD infrastructure | Daniel Silverstone | 2012-06-29 | 2 | -3/+5 |
| | | | | svn path=/trunk/libnsbmp/; revision=14008 | ||||
* | Simple gitignore | Daniel Silverstone | 2012-06-04 | 1 | -0/+2 |
| | | | | svn path=/trunk/libnsbmp/; revision=13952 | ||||
* | Bump version | John Mark Bell | 2011-04-07 | 1 | -1/+1 |
| | | | | svn path=/trunk/libnsbmp/; revision=12170 | ||||
* | Squash warning about comparison between signed and unsigned values. | Michael Drake | 2010-12-17 | 1 | -1/+3 |
| | | | | svn path=/trunk/libnsbmp/; revision=11084 | ||||
* | Fix bug #3128147: range check bitmap data size and header offset in .ico ↵ | John Mark Bell | 2010-12-16 | 1 | -0/+11 |
| | | | | | | handling svn path=/trunk/libnsbmp/; revision=11072 | ||||
* | Correct arg name | Chris Young | 2010-11-19 | 1 | -1/+2 |
| | | | | | | Include stddef.h as it typedefs size_t svn path=/trunk/libnsbmp/; revision=10945 | ||||
* | Bump version | John Mark Bell | 2010-04-19 | 1 | -1/+1 |
| | | | | svn path=/trunk/libnsbmp/; revision=10441 | ||||
* | Fix ICO decoding on big-endian platforms. | Chris Young | 2009-12-19 | 1 | -1/+4 |
| | | | | svn path=/trunk/libnsbmp/; revision=9741 | ||||
* | -Wextra is only understood by GCC 3.4.6 or later. | John Mark Bell | 2009-11-06 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | It is a more descriptive synonym for -W. Use -W instead which is understood by all common versions of GCC (i.e. GCC 2.95 supports it, which is the oldest GCC version we have to support) Additionally, conditionalise our -Werror usage on whether we're building for BeOS/Haiku. On these platforms, the standard library headers result in warnings. GCC 2 is quite happy to build this code on other platforms, so shouldn't be the trigger for dropping -Werror (even if BeOS is the only target where GCC2 is likely to be used). svn path=/trunk/libnsbmp/; revision=9666 | ||||
* | Ensure local include path overrides buildsystem settings. | John Mark Bell | 2009-08-01 | 1 | -2/+2 |
| | | | | svn path=/trunk/libnsbmp/; revision=8962 | ||||
* | "Improve" broken-looking inverse height calculation. This probably regresses ↵ | John Mark Bell | 2009-05-27 | 1 | -2/+1 |
| | | | | | | something but someone needs to create a testsuite to determine that. svn path=/trunk/libnsbmp/; revision=7586 | ||||
* | Don't even think about -Werror with gcc2... | François Revel | 2009-04-24 | 1 | -2/+2 |
| | | | | svn path=/trunk/libnsbmp/; revision=7309 | ||||
* | Update libnsbmp to new shared object standards | Daniel Silverstone | 2009-04-21 | 2 | -3/+3 |
| | | | | svn path=/trunk/libnsbmp/; revision=7207 | ||||
* | Fix palette endianness of 16bpp and higher BMPs. | Chris Young | 2009-04-19 | 1 | -0/+4 |
| | | | | | | | All BMP test suite images now display correctly on PowerPC (AmigaOS 4) except g04rle.bmp which is crashing in bmp_decode_rle() svn path=/trunk/libnsbmp/; revision=7135 | ||||
* | Fix palette endianness | Chris Young | 2009-04-19 | 1 | -0/+1 |
| | | | | svn path=/trunk/libnsbmp/; revision=7134 | ||||
* | Fix compilation | Chris Young | 2009-04-19 | 2 | -2/+2 |
| | | | | svn path=/trunk/libnsbmp/; revision=7133 |