Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2017-04-20 | jni: Check that JNI enums match those in the library. | Sebastian Rasmussen | |
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-20 | jni: Remove exposed device hints. | 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 | jni: Propagate exception message, do not override it. | Sebastian Rasmussen | |
2017-04-18 | jni: Clear java exception when rethrow via fz_throw(). | Sebastian Rasmussen | |
Previously when a java exception was pending CallObjectMethod() was called. This is not permitted and so the exception must be cleared before this function is called. Secondly if the method called by CallObjectMethod() throws an exception this exception was left pending when fz_throw() for unknown java errors was called. Later on jni_rethrow() would be called which in turn called ThrowNew(). This is not permitted either, so the pending exception must be cleared if caused by the call to CallObjectMethod(). Because fz_throw_java() always ends with a fz_throw() it is safe to assume that the pre-existing exception (or the one caused by CallObjectMethod()) will always be converted into a fz_throw(), which in turn will be converted back to a java exception since all calls to fz_throw_java() are enclosed in fz_try() where fz_catch() ends with calling jni_rethrow(). | |||
2017-04-18 | jni: NewStringUTF() may throw exception, handle this. | Sebastian Rasmussen | |
When NewStringUTF() throws an exception NewObject() may not be called. Change to code to avoid this. | |||
2017-04-18 | jni: Use consistent naming in conversion functions. | Sebastian Rasmussen | |
2017-04-18 | jni: Fix typo in identifier. | Sebastian Rasmussen | |