Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-12 | PDF Portfolio support. | Robin Watts | |
New PDF Portfolio manipulation API. Simple mutool 'portfolio' tool for listing/extracting/embedding files. | |||
2016-12-12 | pdf: Fix bug 697431. | Tor Andersson | |
We were incorrectly calling pdf_update_object to try to make sure that an edited array was going to be saved during incremental saves. This call was both buggy and unnecessary. | |||
2016-12-12 | pdf: Add missing prepare_object_for_alteration calls. | Tor Andersson | |
pdf_array_delete and pdf_dict_put_val_null weren't calling this function. | |||
2016-12-12 | Change pdf_dict_put_val to pdf_dict_put_val_null. | Tor Andersson | |
It's only used to 'fix' duff indirect references when cleaning PDF files. Writing general values into dictionaries should be done by key, not by internal index. | |||
2016-12-08 | Update pdf_array_put to allow extension. | Robin Watts | |
Previously, attempting to put an object beyond the end of an array would throw an error. Here we update the code to allow objects to be placed *exactly* at the end (i.e. to extend the length by 1). Update js use of pdf_array_put. | |||
2016-12-08 | Fix incorrect recursive object marking. | Robin Watts | |
We use pdf_mark_obj/pdf_unmark_obj to catch cycles when traversing PDF structures. In some cases we were failing to actually test the return code, making it pointless. | |||
2016-11-23 | Fix object leak in pdf_array_put_drop() and pdf_dict_put_val_drop(). | Sebastian Rasmussen | |
2016-11-23 | Fix sorting of cmap lists. | Tor Andersson | |
Sorting with LC_ALL set to anything other than "C" is folly! | |||
2016-11-23 | Fix pdf-write bug when ascii encoding. | Robin Watts | |
2016-11-22 | Rearrange CMap resources. Only include the ones that are used. | Tor Andersson | |
Silences unused variable warnings on gcc. | |||
2016-11-22 | Fix const compiler warning. | Sebastian Rasmussen | |
2016-11-21 | Fix a few cases where pdf_unmark_obj wasn't always being called on errors. | Tor Andersson | |
2016-11-21 | Harden viewers against failures when loading outlines. | Tor Andersson | |
Ignore invalid page references in outlines. This was shown by a file that had [null 0 0 1] as a link dest. Attempting to parse that threw an error, which caused the whole outline load to fail. | |||
2016-11-17 | Rename openssl flags to libcrypto. | Sebastian Rasmussen | |
Only libcrypto is used to do checking of digital signatures. The SSL library openssl is never used. | |||
2016-11-16 | pdf: Add x and y output parameters to pdf_lookup_anchor. | Tor Andersson | |
2016-11-16 | pdf: Use '#page=N' for remote destination pages. | Tor Andersson | |
As per Adobe's recommendation: https://helpx.adobe.com/acrobat/kb/link-html-pdf-page-acrobat.html | |||
2016-11-16 | pdf: Add 'compressed/raw' flag to pdf_add_stream. | Tor Andersson | |
Also expose the argument to JS and JNI. | |||
2016-11-14 | pdf: Don't pass form UI events to link annotations. | Tor Andersson | |
Don't try handling them both as links and form widgets. | |||
2016-11-14 | pdf: Use URI dictionary for relative URIs. | Tor Andersson | |
2016-11-14 | Fix return in void function. | Tor Andersson | |
2016-11-14 | Continued Layer API work. | Robin Watts | |
Hide pdf_is_hidden_ocg from the public interface. Ensure that RBGroups and Order properly fall back to the default entries if they are missing in the OCCDs. Add pdf_set_layer_config_as_default. This sets the default layer config to be current one. This destroys the current default dictionary, but we leave the other configs intact. | |||
2016-11-14 | Make fz_buffer structure private to fitz. | Robin Watts | |
Move the definition of the structure contents into new fitz-imp.h file. Make all code outside of fitz access the buffer through the defined API. Add a convenience API for people that want to get buffers as null terminated C strings. | |||
2016-11-14 | Add/fix page coordinates to link targets. | Tor Andersson | |
Correctly transformed target coordinates for PDF. Target coordinates for EPUB and HTML. | |||
2016-11-14 | Add optional 'object' argument to pdf_add_stream. | Tor Andersson | |
2016-11-11 | Add pdf_layer configuration API. | Robin Watts | |
Add API to: * allow enumeration of layer configs (OCCDs) within PDF files. * allow selection of layer configs. * allow enumeration of the "UI" (or "Human readable") form of layer configs. * allow selection/toggling of entries in the UI. | |||
2016-11-07 | Default background of luminosity masks should be black. | Robin Watts | |
In CMYK groups this is NOT the same as "all components 0". This improves the rendering of Bug689931a.pdf | |||
2016-11-03 | Fix signed/unsigned and size_t/int/fz_off_t warnings. | Robin Watts | |
All seen in MSVC, mostly in 64bit builds. | |||
2016-11-02 | Use pdf_annot_border to get the border width of an annotation. | fred ross-perry | |
2016-11-02 | Fix 697284: The origin was incorrectly calculated for rotated pages. | Tor Andersson | |
2016-11-01 | When hinted object is not found, avoid return from within fz_try(). | Sebastian Rasmussen | |
2016-10-28 | Clean up link destination handling. | Tor Andersson | |
All link destinations should be URIs, and a document specific function can be called to resolve them to actual page numbers. Outlines have cached page numbers as well as string URIs. | |||
2016-10-21 | Clean up pdf_add_image to handle unknown image formats more robustly. | Tor Andersson | |
2016-10-21 | Clean up FZ_IMAGE_XXX enums and purge unused FZ_IMAGE_JBIG2. | Tor Andersson | |
2016-10-19 | Rename internal headers to follow pattern *-imp.h. | Sebastian Rasmussen | |
2016-10-18 | Internal drop functions don't need to check for NULL. | Sebastian Rasmussen | |
2016-10-18 | All external drop functions handles NULL. | Sebastian Rasmussen | |
2016-10-18 | Avoid checking argument to fz_drop_*()/fz_free(). | Sebastian Rasmussen | |
As fz_drop_*()/fz_free() all must handle NULL. | |||
2016-10-18 | Remove unused luminosity. | Sebastian Rasmussen | |
2016-10-16 | Avoid casting when dropping super objects. | Sebastian Rasmussen | |
2016-10-13 | crypt: Handle null pointer when dropping crypt object. | Sebastian Rasmussen | |
Exposed by weird-jpx.pdf from bug 696885. | |||
2016-10-12 | Fix (harmless) typo in function prototypes. | Tor Andersson | |
2016-10-12 | Always call fz_drop_document() to drop the document. | Sebastian Rasmussen | |
2016-10-11 | Free document in fz_drop_document(), not in subclassing documents. | Sebastian Rasmussen | |
2016-10-07 | Add ctx to fz_font functions. | Robin Watts | |
2016-10-07 | pdf: Support UTF-8 encoded text strings. | Tor Andersson | |
New in PDF 2.0. | |||
2016-10-07 | pdf: Separate functions to read text strings and text streams as UTF-8. | Tor Andersson | |
The stream loading is used only by the JS code loading. | |||
2016-10-07 | pdf: Remove unneccessary document argument to pdf_to_utf8 etc. | Tor Andersson | |
2016-10-07 | Add annotation editing functions and clean interface of existing ones. | Tor Andersson | |
2016-10-07 | Remove separate tmp/deleted/changed annotation lists. | Tor Andersson | |
Use a flag in the pdf_annot struct instead. Don't pass pdf_document to annotation edit functions. | |||
2016-10-06 | Hide internals of fz_colorspace | Robin Watts | |
The implementation does not need to be in the public API. |