Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-09 | Add documentation for exposed LAB function. | Sebastian Rasmussen | |
2016-07-08 | Avoid warnings in non-Memento builds. | Robin Watts | |
2016-07-08 | Use fz_keep_imp and fz_drop_imp for all reference counting. | Tor Andersson | |
2016-07-08 | git stripspace | Tor Andersson | |
2016-07-08 | Separate close and drop functionality for devices and writers. | Tor Andersson | |
Closing a device or writer may throw exceptions, but much of the foreign language bindings (JNI and JS) depend on drop to never throw an exception (exceptions in finalizers are bad). | |||
2016-07-08 | Slim pdf_xobject: remove cached colorspace field. | Tor Andersson | |
2016-07-08 | Slim pdf_xobject: remove cached document field. | Tor Andersson | |
2016-07-08 | Slim pdf_xobject: remove cached transparency/isolated/knockout fields. | Tor Andersson | |
2016-07-08 | Slim pdf_xobject struct: remove cached matrix field. | Tor Andersson | |
2016-07-08 | Slim pdf_xobject struct: remove cached bbox field. | Tor Andersson | |
2016-07-08 | Slim pdf_xobject struct: remove cached resources field. | Tor Andersson | |
The "contents" field is the same as the "obj" field, so can also be removed. | |||
2016-07-08 | Slim pdf_xobject struct: Rename me to obj. | Tor Andersson | |
2016-07-08 | Slim pdf_annot struct: remove cached page_ctm field. | Tor Andersson | |
2016-07-08 | Slim pdf_annot struct: remove cached inv_page_ctm field. | Tor Andersson | |
2016-07-08 | Slim pdf_annot struct: remove cached annot_type and widget_type fields. | Tor Andersson | |
2016-07-08 | Slim pdf_annot struct: remove cached matrix field. | Tor Andersson | |
2016-07-08 | Slim pdf_annot struct: remove cached rect field. | Tor Andersson | |
2016-07-08 | Slim pdf_annot struct: remove cached pagerect field. | Tor Andersson | |
2016-07-06 | Start slimming pdf_page. | Tor Andersson | |
We want to turn pdf_page into a thin wrapper around a pdf_obj, so that any updates to the underlying PDF objects will be reflected without having to reload the pdf_page. | |||
2016-07-06 | Add fitz to pdf downcasting functions for pages and annotations. | Tor Andersson | |
2016-07-06 | Add annotations to murun. | Tor Andersson | |
2016-07-06 | Fix garbage collection and page grafting for indirect reference chains. | Tor Andersson | |
The mark & sweep pass of garbage collection, and resolving indirect objects when grafting objects was following the full chain of indirect references. In the unusual case where a numbered object is itself only an indirect reference to another object, this intermediate numbered object would be missed both when marking for garbage collection, and when copying objects for grafting. Add a function to resolve only one step for these two uses. The following is an example of a file that would break during garbage collection if we follow full indirect reference chains: %PDF-1.3 1 0 obj <</Type/Catalog /Foo[2 0 R 3 0 R]>> endobj 2 0 obj 4 0 R endobj 3 0 obj 5 0 R endobj 4 0 obj <</Length 1>> stream A endstream endobj 5 0 obj <</Length 1>> stream B endstream endobj | |||
2016-07-06 | pdf: Drop generation number from public interfaces. | Tor Andersson | |
The generation number is only needed for decryption, and is assumed to be zero or irrelevant for all other uses. Store the original object number and generation in the xref slot, so that we can decrypt them even when the objects have been renumbered, without needing to pass the original object number around through the stream loading APIs. | |||
2016-07-06 | pdf: Flatten inheritable page properties when copying pages. | Tor Andersson | |
Affects pdfclean, pdfmerge, and pdfposter. | |||
2016-07-06 | Add support for decoding pbm/pgm/ppm/pam images. | Sebastian Rasmussen | |
2016-07-06 | Add optional support for JPEG-XR. | Sebastian Rasmussen | |
2016-07-06 | Expose LAB colorspace | Sebastian Rasmussen | |
2016-07-05 | Support J2K/JP2 files in CBZ. | Sebastian Rasmussen | |
2016-06-29 | JBIG2 is supported by jbig2dec/luratech decoders. | Sebastian Rasmussen | |
2016-06-28 | Fix inconsistency in band handling. | Robin Watts | |
In an earlier commit, I changed some of the band writing functions to take the band starting offset, rather than the band number. This was done to accomodate the idea of rendering the page in bands of different heights. Sadly, it seems I didn't push this all the way through, and had different band writing functions still taking the band number. Fix all the band writing functions to be consistent. | |||
2016-06-27 | Fix GProof operation. | Robin Watts | |
Broken due to recent API changes. Also retire SUPPORT_GPROOF in favour of FZ_ENABLE_GPRF. | |||
2016-06-23 | epub: Use markup language when shaping and selecting fallback fonts. | Tor Andersson | |
2016-06-23 | Update JNI code. Take explicit alpha argument in toPixmap functions. | Tor Andersson | |
2016-06-22 | Tweak PDF annot API. | Robin Watts | |
The values returned from the pdf_annot_{contents, author, date} functions should not be altered, hence make it const. | |||
2016-06-22 | Add support for getting additional annotation information | Michael Vrhel | |
GSView will make use of the details about the annotations including the author, the date and which annotation the annotation is in reply to. This commit provides the interface to do this easily. | |||
2016-06-17 | Set pixmap resolution when creating pixmaps for draw device. | Tor Andersson | |
2016-06-17 | Add separate X and Y resolution to draw device options. | Tor Andersson | |
2016-06-17 | Add mediabox argument to fz_new_display_list. | Tor Andersson | |
To return the proper size from fz_bound_display_list, which has been broken since the begin_page device call was removed. | |||
2016-06-17 | Add device space transform state to draw device. | Tor Andersson | |
Allows us to remove the out parameter 'transform' from fz_begin_page. | |||
2016-06-17 | Fix fz_write_pam code. | Robin Watts | |
It was incorrectly missing the alpha in the header writing code. | |||
2016-06-17 | Improve banding API. | Robin Watts | |
Previously the API assumed that all bands had to be the same height. By moving the multiplication into the caller, we can lift that assumption. | |||
2016-06-17 | Use 'size_t' instead of int as appropriate. | Robin Watts | |
This silences the many warnings we get when building for x64 in windows. This does not address any of the warnings we get in thirdparty libraries - in particular harfbuzz. These look (at a quick glance) harmless though. | |||
2016-06-16 | Add PNG output for mutool convert. | Tor Andersson | |
2016-06-16 | Add fz_format_output_path function. | Tor Andersson | |
2016-06-16 | Return options struct argument from pdf_parse_write_options. | Tor Andersson | |
Makes it easier to chain function calls. | |||
2016-06-16 | Add fz_draw_options struct for use with draw device. | Tor Andersson | |
2016-06-16 | Drop save_alpha argument from image writing functions. | Tor Andersson | |
2016-06-14 | Add TIFF SGI LUV decoding. | Robin Watts | |
2016-06-14 | Update TIFF LZW decode. | Robin Watts | |
TIFF 5.0 uses a slightly laxer set of rules for TIFF decode. Specifically, when we hit the maximum code, we are not required to send a clear code immediately, but it can overrrun. We don't bother storing codes > 12 bits, because they can never be used. This avoids the need to extend the table. | |||
2016-06-14 | Fix typos in various parts of the code. | Sebastian Rasmussen | |