Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-06 | Hide internals of fz_colorspace | Robin Watts | |
The implementation does not need to be in the public API. | |||
2016-10-06 | Bug 697159: Fix memory leak in CBZ error handling. | Robin Watts | |
If we fail to open a CBZ page, we were dropping the CBZ specific part, but not the fz_page part. | |||
2016-10-06 | Only build murun if we have mujs enabled. | Robin Watts | |
Otherwise we were tripping over the lack of the header file. | |||
2016-10-06 | Squash warnings in cluster builds. | Robin Watts | |
2016-10-06 | Update Xref reading code to cope with 19 byte entries. | Robin Watts | |
The spec says entries should be 20 bytes long. In practise we see 19 byte long ones more often than we like. This is due to the use of a single EOL char rather than 2. The PCLm files I've seen use 19 byte ones, so update the code to cope with these. | |||
2016-10-06 | Bug 697194: Document -gggg in muclean. | Robin Watts | |
2016-10-06 | Bug 697182: Fix memory leak in html-layout. | Robin Watts | |
Only create a text object if we are definitely going to use it, and then take care of exceptions being thrown. | |||
2016-10-06 | Bug 697196: Add missing openjpeg file to Android Makefiles. | Robin Watts | |
When updating openjpeg, I forgot to update the Android JNI makefiles with a newly created file. Thanks to szukw000 for reporting this! | |||
2016-10-05 | Bug 697177: Avoid SEGV in Epub file. | Robin Watts | |
Thanks to Vlad Glagolev for the example file, analysis and patch. We had failed to initialise the "last break class" value, so that when we use it as an index into an array, we run the risk of crashing. The fix is simply to initialise it. By initialising it to OP we don't allow any softbreaks to be added when it's uninitialised, which feels right to me. | |||
2016-10-05 | Add a const to a lookup function. | Robin Watts | |
2016-10-05 | Simplify fz_new_type3_font | Robin Watts | |
Call fz_calloc rather than fz_malloc_array and then manually clearing. | |||
2016-10-05 | Uncouple font shaper data from harfbuzz. | Robin Watts | |
The fz_font structure now doesn't know anything about harfbuzz at all, it merely offers an abstract 'fz_shaper_data_t' entry. | |||
2016-10-05 | Move fz_font definition to be private. | Robin Watts | |
Move the definition of fz_font to be in a private header file rather than in the public API. Add accessors for specific parts of the structure and use them as appropriate. The font flags, and the harfbuzz records remain public. This means that only 3 files now need access to the font implementation (font.c, pdf-font.c and pdf-type3.c). This may be able to be improved further in future. | |||
2016-10-05 | Add some more comments to API headers | Robin Watts | |
2016-09-27 | Fix typo in fz_valgrind_pixmap | Robin Watts | |
Function exists purely for doing valgrind testing of pixmap definedness. | |||
2016-09-27 | Move thirdparty/openjpeg onto the correct SHA. | Robin Watts | |
Now we use the openjpeg repo automatically generated from the gs repo. Diffing the two shows mostly only whitespace diffs, but just a couple of fixes too. Also change Makefile logic not to check for a file that isn't there any more. | |||
2016-09-28 | tiff: Do not clobber input buffer if fill order is reversed. | Sebastian Rasmussen | |
2016-09-28 | tiff: Do error handling for decoders in a single place. | Sebastian Rasmussen | |
2016-09-28 | tiff: Validate that tag/tile/strip offsets are within bounds. | Sebastian Rasmussen | |
2016-09-28 | Bug 697166: tiff: Avoid freeing offset/bytecount arrays twice. | Sebastian Rasmussen | |
2016-09-28 | Bug 697165: tiff: Do not allow duplicate array tags. | Sebastian Rasmussen | |
Previously this caused a memory leak. | |||
2016-09-28 | Bug 697155: tiff: Drop stream if compression is unknown. | Sebastian Rasmussen | |
m5-299787ea764c0a88bc481364eded5556.tif | |||
2016-09-28 | Bug 697157: tiff: Rational tag denominators may not be zero. | Sebastian Rasmussen | |
2016-09-28 | Bug 697156: tiff: Free tile arrays after use. | Sebastian Rasmussen | |
2016-09-28 | Bug 697154: tiff: Detect error when decoding strip/tile data. | Sebastian Rasmussen | |
2016-09-27 | Bug 697153: tiff: Image dimensions must always be bigger than 0. | Sebastian Rasmussen | |
2016-09-27 | Bug 697152: jpeg: Use correct macro to get client data. | Sebastian Rasmussen | |
In commit 6a8abce9603f69b57e407f0df4044be919f507d7 an agnostic memory handler was introduced for libjpeg. While this commit changed error_exit_dct() it forgot to make a similar change in error_exit(). | |||
2016-09-27 | Bug 697163: gif: Fix integer overflow in image dimensions. | Sebastian Rasmussen | |
2016-09-27 | Bug 697162: gif: Color index must be inside color table. | Sebastian Rasmussen | |
2016-09-27 | Bug 697161: gif: Frames may not be bigger than the image. | Sebastian Rasmussen | |
2016-09-27 | Bug 697160: gif: Transparency index must be inside color table. | Sebastian Rasmussen | |
2016-09-26 | Update OpenJPEG to the latest (git) version. | Robin Watts | |
Part of the change in this code is to require opj_malloc and co. Sadly, opj_malloc and co do not take a context field, so a we need to wrap calls to openjpeg with a lock. I am reusing the freetype lock here for simplicity. | |||
2016-09-27 | tiff: Fix typo in thunder decoder. | Sebastian Rasmussen | |
2016-09-27 | Add newly added files missing from VS project. | Sebastian Rasmussen | |
2016-09-26 | tiff: Support tiled images. | Sebastian Rasmussen | |
2016-09-26 | tiff: Estimate uncompressed strip sizes if missing. | Sebastian Rasmussen | |
2016-09-26 | tiff: Reorganize code, preparing for tiled image support. | Sebastian Rasmussen | |
2016-09-26 | tiff: Add support for thunder decoding. | Sebastian Rasmussen | |
2016-09-26 | tiff: Support flate compression under differnent name. | Sebastian Rasmussen | |
2016-09-26 | tiff: Support images with 2 and 16 bits per palette color. | Sebastian Rasmussen | |
2016-09-26 | tiff: Support images using Lab colorspace. | Sebastian Rasmussen | |
2016-09-26 | gif: If decompression fails, don't rely on uninitialized buffer data. | Sebastian Rasmussen | |
2016-09-26 | gif: Use frame size when parsing a frame, not size of entire image. | Sebastian Rasmussen | |
2016-09-26 | pnm: Interpret b/w image colors correctly. | Sebastian Rasmussen | |
2016-09-26 | Fix memory leak when opening html/loading raw stream. | Sebastian Rasmussen | |
2016-09-26 | Make git ignore optional thirdparty libraries. | Sebastian Rasmussen | |
2016-09-23 | JNI: Improve string/name encoding handling. | Robin Watts | |
At the moment, when we create java Strings from string or name PDFObjects, we assume they are all in javas not-quite-UTF-but-almost encoding. Here we assume they are in standard PDF format (namely that if they do not start with one of 2 specific BOMs, that they are in PDFDocEncoding). We update the code to convert to unicode, and create strings from that. This has the added side effect of correctly coping with 0 bytes in the middle of string buffers. | |||
2016-09-23 | GProof: Fix typos in gs invocation | Robin Watts | |
2016-09-23 | Android example: Make selected display profile persistent | Fred Ross-Perry | |
Also, we attempt to start the proofing at the currently-being-viewed page. | |||
2016-09-23 | Android example: add embedded profile to print profiles list | Fred Ross-Perry | |
In the proof dialog, when the document has an embedded print profile, add it to the top of the list of choices. If it's selected, send <EMBEDDED> into gs instead of a file name. |