summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-08git stripspaceTor Andersson
2016-07-08Separate 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-08Slim pdf_xobject: remove cached colorspace field.Tor Andersson
2016-07-08Slim pdf_xobject: remove cached document field.Tor Andersson
2016-07-08Slim pdf_xobject: remove cached transparency/isolated/knockout fields.Tor Andersson
2016-07-08Slim pdf_xobject struct: remove cached matrix field.Tor Andersson
2016-07-08Slim pdf_xobject struct: remove cached bbox field.Tor Andersson
2016-07-08Slim 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-08Slim pdf_xobject struct: Rename me to obj.Tor Andersson
2016-07-08Slim pdf_annot struct: remove cached page_ctm field.Tor Andersson
2016-07-08Slim pdf_annot struct: remove cached inv_page_ctm field.Tor Andersson
2016-07-08Slim pdf_annot struct: remove cached annot_type and widget_type fields.Tor Andersson
2016-07-08Slim pdf_annot struct: remove cached matrix field.Tor Andersson
2016-07-08Slim pdf_annot struct: remove cached rect field.Tor Andersson
2016-07-08Slim pdf_annot struct: remove cached pagerect field.Tor Andersson
2016-07-08Safe defaults for pdf_to_rect and pdf_to_matrix.Tor Andersson
Return the empty rectangle and identity matrix when the pdf object is missing or not an array.
2016-07-08js: Add wrapper for fz_stext_page to search, select and copy text.Tor Andersson
2016-07-08Use fz_vsnprintf to format warnings and error messages.Tor Andersson
2016-07-08android: Fix mixed tabs/spaces in DocViewActivity.java.Tor Andersson
2016-07-07Ignore duplicate character in structured text extraction.Sebastian Rasmussen
2016-07-06Android example: modify to use new JNI, N-up page displayfredrossperry
- uses AndroidDrawDevice for rendering - very simple sample app - mupdf-specific functionality in a module called "mupdf" - N-up page display - page rendering in a background task Signed-off-by: fredrossperry <fredrossperry@gmail.com>
2016-07-06Proofing - fix a bug in the use of gswin32.exe.fredrossperry
Surround the final filename parameter in quotes ("") so file and folder names with spaces can be used.
2016-07-06Android viewer - replace missing build.gradle filefredrossperry
also, change SUPPORT_GPROOF to FZ_ENABLE_GPRF
2016-07-06Android viewer: add mupdf_native.c to buildfredrossperry
This is because platform/android/example also uses the resulting shared library.
2016-07-06x11: Fix segfault when creating presentation transitions.Tor Andersson
2016-07-06Start 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-06Add fitz to pdf downcasting functions for pages and annotations.Tor Andersson
2016-07-06Update luratech jbig2 function prototype with int to size_t change.Tor Andersson
2016-07-06Add annotations to murun.Tor Andersson
2016-07-06Remove premature optimization: don't bother to resolve page objects.Tor Andersson
2016-07-06Fix 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-06pdf: 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-06pdf: Increment generation number in the xref when deleting an object.Tor Andersson
2016-07-06pdf: Flatten inheritable page properties when copying pages.Tor Andersson
Affects pdfclean, pdfmerge, and pdfposter.
2016-07-06pdf: Check ownership when adding objects to a document.Tor Andersson
2016-07-06gl: Fix buffer overrun when there are too many annotations.Tor Andersson
2016-07-06Add support for decoding pbm/pgm/ppm/pam images.Sebastian Rasmussen
2016-07-06Add optional support for JPEG-XR.Sebastian Rasmussen
2016-07-06Some minor optimizations.Tor Andersson
2016-07-06Add optional support for Luratech JPEG2000 decoder.Sebastian Rasmussen
2016-07-06Expose LAB colorspaceSebastian Rasmussen
2016-07-05Fix Java makefile to link to system freetype library.Sebastian Rasmussen
2016-07-05Support J2K/JP2 files in CBZ.Sebastian Rasmussen
2016-07-05cbz: Use case insensitive comparison for extension.Sebastian Rasmussen
2016-07-05Fix bug in optimized clearing of CMYK pixmaps.Sebastian Rasmussen
The implementation assumed that a variable contained a number of 32-bit words when it actually contained the number of bytes hence fz_clear_pixmap_with_value() touched memory outside of the samples array.
2016-06-30Fix bug when opening small PDF-files.Sebastian Rasmussen
The PDF repair code suffered an buffer index overflow while searching the buffer of file data if the file (and hence the buffer) was sufficiently small. This also happened while attempting to open a path pointing to a directory as they are treated as zero byte files.
2016-06-29Handle alpha-only PAM output as grayscale.Sebastian Rasmussen
2016-06-29Output only as many components for PAM as exist.Sebastian Rasmussen
2016-06-29JBIG2 is supported by jbig2dec/luratech decoders.Sebastian Rasmussen
2016-06-29Make docs/thirdparty.txt info current and accurate.Sebastian Rasmussen