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 | 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-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-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 | 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 | 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 | Add annotation interfaces for open state/icon name/line endings. | Sebastian Rasmussen | |
2017-04-20 | Improve PDF annotation error handling. | Sebastian Rasmussen | |
2017-04-20 | js: Push annotation error handling down to library. | Sebastian Rasmussen | |
This makes is possible for JNI code to depend on the library for error handling. | |||
2017-04-20 | js: Add set/get of interior color of annotations. | Sebastian Rasmussen | |
2017-04-18 | Use splay trees for loading/merging cmaps. | Robin Watts | |
This allows for overlaps, merges adjacent (mergeable) ranges and gets us properly searchable results. This causes 1 diff in the test suites (Bug694353.pdf), which is due to the fallback font not having a hypen present at UCS 0x2010. | |||
2017-04-18 | Consistently use pdf_name_eq() where possible. | Sebastian Rasmussen | |
2017-04-14 | js: Avoid duplicating cleanup code. | Sebastian Rasmussen | |
2017-04-14 | js: Deleting an annotation has no return value. | Sebastian Rasmussen | |
2017-04-14 | Scan converter; API tweak. | Robin Watts | |
Decide whether to dash or not in the scan converter, not the draw-device. | |||
2017-04-13 | Scan converter; simplify API. | Robin Watts | |
In all cases we reset the gel before populating it, so pull this out of the draw device into the population routines. | |||
2017-04-13 | Scan converter; simplify API. | Robin Watts | |
In all cases, we sort the gel before scan converting it. So just roll the sort call into the scan convert call. | |||
2017-04-13 | Export fz_recognize_document and use it in java code. | Sebastian Rasmussen | |
2017-04-13 | Move extension/mimetype detection to common function. | Sebastian Rasmussen | |
A document handler normally only exposes a list of extensions and mimetypes. Only formats that use some kind of extra detection mechnism need to supply a recognize() callback, such as xps that can handle .xps-files unpacked into a directory. |