Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-08 | Bug 697864: Free temporary pixmaps only if created. | Sebastian Rasmussen | |
Previously this caused memory checker errors due to a non-temporary pixmap being accidentally freed and then later reused as expected. | |||
2017-05-08 | Make sure source text in pdf-js-util.js is zero terminated. | Tor Andersson | |
When using .incbin, we forgot to zero-terminate. Add a -0 option to the hexdump script. | |||
2017-05-08 | js: Propagate errors from JS devices to fitz. | Tor Andersson | |
2017-05-04 | Drop FZ_PATH_MAX macro. | Tor Andersson | |
Define PATH_MAX in the few files that use it, should it be missing. | |||
2017-05-04 | Fix macOS build. | Tor Andersson | |
2017-05-03 | Fix windows build: Don't set _LARGEFILE64_SOURCE on windows | Robin Watts | |
This causes zlib to look for a header we don't have. | |||
2017-05-03 | Fix windows builds: windows doesn't have sys/time.h | Robin Watts | |
A nicer fix wouldn't require this #ifdeffery everywhere. Maybe later. | |||
2017-05-03 | Fix windows builds: No S_ISDIR macro. | Robin Watts | |
2017-05-03 | Fix MSVC project; function.c has been removed. | Robin Watts | |
2017-05-02 | tiff: Fix typo in validation of tiles images. | Sebastian Rasmussen | |
2017-05-02 | tiff: Scale Lab components to suit colorspace. | Sebastian Rasmussen | |
TIFF already provides the a/b components prescaled. Previously the colorspace color conversion process scaled them again, causing out of range behaviour. | |||
2017-04-30 | tiff: Set k>0 for CCITT fax group 3 1D/2D compression. | Sebastian Rasmussen | |
Previously, if a TIFF file was encoded using CCITT fax group 3 compression and mixing 1D and 2D codes, the fax decoder was not instructed to parse the 1D/2D indication bit after EOL. This caused later issues when parsing the succeeding 1D/2D code, e.g. resulting in the decoder encountering a negative 1D code and returning with an error. Setting k>0 means the 1D/2D indication bit is parsed. The CCITT fax group 3 specification recommends setting k based on the vertical resolution. MuPDF's fax decoder depends only on if k is <0, 0 or >0, not its value (as recommended by the PDF specification). Therefore it is not necessary to use the vertical resolution to determine a particular value for k. | |||
2017-04-28 | Update to zlib 1.2.11. | Sebastian Rasmussen | |
This fixes a compilation warning when compiling for Android. | |||
2017-04-28 | jni: Include "mupdf/ucdn.h" explicitly. | Sebastian Rasmussen | |
This really should have been part of commit 5030ba7ebf7b3706ac065deef750d647570525b3 which changed most places where ucdn.h is used. | |||
2017-04-28 | Add support for manipulating PDF annotation vertices. | Sebastian Rasmussen | |
2017-04-27 | Break line at public identifiers, making them easily grepable. | Sebastian Rasmussen | |
2017-04-27 | Avoid typecasting function pointers in subclasses. | Tor Andersson | |
Do the typecasting in the functions instead, reducing the risk of function prototype mismatches. | |||
2017-04-27 | Typedef function pointers consistently. | Tor Andersson | |
2017-04-27 | Remove debug printing code. | Tor Andersson | |
It's not used, so prone to bit rot. Better to purge it. | |||
2017-04-27 | Make CSS rule debug printing functions static. | Tor Andersson | |
2017-04-27 | Rewrite HTML layout debug printing. | Tor Andersson | |
2017-04-27 | Clean up store debug printing. | Tor Andersson | |
Replace fz_print_hash with fz_hash_for_each iterator. Use string formatting callback. | |||
2017-04-27 | Move fz_outline and pdf_xref debug printing to pdfshow.c | Tor Andersson | |
That's where it's actually being used. | |||
2017-04-27 | Use FZ_SEEK_SET macros for fz_seek. | Tor Andersson | |
Don't depend on stdio.h for our own I/O functions. | |||
2017-04-27 | Ensure we can compile as -pedantic -std=c99. | Tor Andersson | |
2017-04-27 | Include required system headers. | Tor Andersson | |
2017-04-27 | Remove fz_function abstract structure. | Tor Andersson | |
There is only one implementation, so don't bother with the abstraction. Just use pdf_function directly. | |||
2017-04-27 | Remove unused fz_function debug printing. | Tor Andersson | |
2017-04-27 | Use feature defines in tools. | Tor Andersson | |
If DISABLE_MUTHREADS is set, don't include the thread helper library. If FZ_ENABLE_PDF is 0, don't include mupdf/pdf.h. | |||
2017-04-27 | Use fz_snprintf. | Tor Andersson | |
2017-04-27 | Remove public SVG header. | Tor Andersson | |
Move the two SVG utility functions into fitz/util.h | |||
2017-04-27 | Make HTML header private. | Tor Andersson | |
2017-04-27 | Include "mupdf/ucdn.h" explicitly. | Tor Andersson | |
2017-04-27 | Use namespace prefix for bidi defines. | Tor Andersson | |
2017-04-27 | Use FZ_PATH_MAX. | Tor Andersson | |
PATH_MAX is Linux specific. | |||
2017-04-27 | Use namespace for AES crypto code. | Tor Andersson | |
2017-04-27 | Rename FMT_zu to FZ_FMT_zu. | Tor Andersson | |
Don't use FMT_zu macro for fz_throw/fz_warn, since we can portably handle '%zu' in our own printf formatting. | |||
2017-04-27 | memento: Don't include unnecessary headers. | Tor Andersson | |
2017-04-26 | Tweak gel bbox calculation. | Robin Watts | |
2017-04-25 | Fix 697123: Handle nesting of block-boxes deep inside inline-boxes. | Tor Andersson | |
When we climb up the box tree to create a new block box for block-level elements that are deep inside inline-level elements, we should propagate this to the caller so it can also climb up. Otherwise other child elements in the inline-level element will be inserted before the block box that was created for the content that was shunted up the tree. | |||
2017-04-21 | js: Extend PDF app object with a few properties. | Sebastian Rasmussen | |
2017-04-20 | Remove needless -Igenerated flags. | Tor Andersson | |
Also remove -I../../ucdn from the visual studio project. | |||
2017-04-20 | Split long lists onto multiple lines. | Tor Andersson | |
2017-04-20 | The default color of ink annotation is transparent. | Sebastian Rasmussen | |
Previously the default color of ink annotations was red, but according to the pdf specification the default color should be colorless transparent if no color is given. | |||
2017-04-20 | jni: Add constructor to duplicate existing matrix. | Sebastian Rasmussen | |
2017-04-20 | jni: Pass independent character matrices when walking through text. | Sebastian Rasmussen | |
This avoids altering the matrices previously given to the Text walker. | |||
2017-04-20 | jni: Fix typo in native identifier. | Sebastian Rasmussen | |
2017-04-20 | jni: to_Annotation() may fz_throw(), make it safe. | Sebastian Rasmussen | |
Previously to_Annotation() would fz_throw() upon errors, but the code calling it couldn't handle that. Create to_Annotation_safe() that does not throw and remove the now unused to_Annotation(). | |||
2017-04-20 | jni: PDFAnnotation and PDFPage additions. | Sebastian Rasmussen | |
2017-04-20 | jni: Implement missing interfaces. | Sebastian Rasmussen | |