Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-13 | Bug 696892: PDF annotation appearance stream synthesis SEGV | Robin Watts | |
The code would SEGV if we were trying to synthesise an appearance stream for an annotation, and the docs pdf resources table had not been initialised. We now intialise the pdf resource tables when we initialise a pdf device. This is the earliest point we know we are going to need them, and covers all cases. | |||
2016-07-13 | Use fz_malloc_struct rather than fz_calloc. | Robin Watts | |
This helps with Memento debugging, and looks neater. | |||
2016-07-13 | Fix memory leaks in SVG device. | Robin Watts | |
2016-07-13 | Bug 696846: Fix badly formed SVG output. | Robin Watts | |
This has been broken since fz_text was changed to be multiple fz_text_spans. | |||
2016-07-13 | Fix knockout/mask interaction. | Robin Watts | |
When we are rendering a knockout group, we set the knockout flag. Do NOT carry this forward into the renderings of any softmasks. This fixes Bug 696870 and 696872. | |||
2016-07-13 | Fix MSVC build of murun | Robin Watts | |
2016-07-12 | js: Add doc.loadOutline and page.getLinks functions. | Tor Andersson | |
These just convert fz_outline and fz_link into plain JS arrays and objects with no associated native userdata. | |||
2016-07-12 | js: Check if some arguments exist before converting to boolean/number. | Tor Andersson | |
2016-07-12 | Fix typo in fz_new_image_from_pixmap. | Tor Andersson | |
2016-07-12 | Fix bugs in pdf_add_image. | Tor Andersson | |
2016-07-12 | js: Fix memory leak in new Image(). | Tor Andersson | |
2016-07-12 | xps: Only recognize <dir>/_rels/.rels type paths, not any .rels file. | Tor Andersson | |
2016-07-12 | Zero terminate fz_vsnprintf output when formatting warnings and error messages. | Tor Andersson | |
Fix for bug 696913. | |||
2016-07-08 | Bug 696872: Avoid trying to paint with zero alpha. | Robin Watts | |
Short circuit any attempt to paint a pixmap with zero alpha. | |||
2016-07-08 | Bug 696911: muraster with no threads lib. | Robin Watts | |
Fix various niggles with muraster when compiled with no thread lib. Thanks to Tamir Evan. | |||
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-08 | Safe 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-08 | js: Add wrapper for fz_stext_page to search, select and copy text. | Tor Andersson | |
2016-07-08 | Use fz_vsnprintf to format warnings and error messages. | Tor Andersson | |
2016-07-07 | Ignore duplicate character in structured text extraction. | Sebastian Rasmussen | |
2016-07-06 | Proofing - 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-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 | Update luratech jbig2 function prototype with int to size_t change. | Tor Andersson | |
2016-07-06 | Add annotations to murun. | Tor Andersson | |
2016-07-06 | Remove premature optimization: don't bother to resolve page objects. | 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: Increment generation number in the xref when deleting an object. | Tor Andersson | |
2016-07-06 | pdf: Flatten inheritable page properties when copying pages. | Tor Andersson | |
Affects pdfclean, pdfmerge, and pdfposter. | |||
2016-07-06 | pdf: Check ownership when adding objects to a document. | Tor Andersson | |
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 | Some minor optimizations. | Tor Andersson | |
2016-07-06 | Add optional support for Luratech JPEG2000 decoder. | Sebastian Rasmussen | |