summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-23Try drawing all pages in a document in mudraw if ignoring errors.Sebastian Rasmussen
2016-11-23Fix mu-threads build on linux.Tor Andersson
2016-11-23js: Add setUserCSS function.Tor Andersson
2016-11-23Add 'X' option to disable document styles.Tor Andersson
2016-11-23Add toggle to enable/disable document styles.Tor Andersson
2016-11-23Update UCDN database to Unicode 9.0.0.Sebastian Rasmussen
2016-11-23Add TOFU_CJK_LANG section to config.h.Tor Andersson
2016-11-23Fix sorting of cmap lists.Tor Andersson
Sorting with LC_ALL set to anything other than "C" is folly!
2016-11-23Convert mudraw and muraster to use mu-threads.Robin Watts
Saves having the same threading code repeatedly.
2016-11-23First version of mu-office-lib.Robin Watts
2016-11-23Move threading macros out into a mu-threads helper file.Robin Watts
2016-11-23Fix pdf-write bug when ascii encoding.Robin Watts
2016-11-22Rearrange CMap resources. Only include the ones that are used.Tor Andersson
Silences unused variable warnings on gcc.
2016-11-22Remove second declaration of fz_new_annot().Sebastian Rasmussen
It is already declared in include/mupdf/fitz/annotation.h, and it makes more sense to have it there.
2016-11-22Fix fz_warn() format compiler warning.Sebastian Rasmussen
2016-11-22Fix const compiler warning.Sebastian Rasmussen
2016-11-22Remove unused variable.Sebastian Rasmussen
2016-11-21Fix a few cases where pdf_unmark_obj wasn't always being called on errors.Tor Andersson
2016-11-21Harden 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-17Build Java viewer with libcrypto support if available.Sebastian Rasmussen
2016-11-17Retain only necessary files for curl support.Sebastian Rasmussen
2016-11-17Detect openssl to support https when using curl.Sebastian Rasmussen
2016-11-17Update to curl 7.51.0.Sebastian Rasmussen
Fixes bug 697337.
2016-11-17Do cleanup when dropping curl stream.Sebastian Rasmussen
2016-11-17Rename 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-16pdf: Add x and y output parameters to pdf_lookup_anchor.Tor Andersson
2016-11-16Bug 697301: Fix "crash" in epub.Robin Watts
Actually an assert. This is caused by a paragraph separator in the text. The Unicode Bidirectional Algorithm says we should operate paragraph by paragraph, and includes code to split paragraphs at paragraph markers, changing their type to boundary neutrals as it goes. The use of this code was left "as an exercise for the reader" in the example code, so we simply hook it up here.
2016-11-16pdf: 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-16Fix 697334: disable text input in x11 viewer permanently.Tor Andersson
The hacky stdin workaround has never worked satisfactorily. Just nuke it.
2016-11-16Fix 697335: Handle links with content in nested tag.Tor Andersson
We would not create a link box for the "bar" text in links of the form: <a href="foo"><span>bar</span></a>.
2016-11-16Fix warning.Tor Andersson
2016-11-16pdf: Add 'compressed/raw' flag to pdf_add_stream.Tor Andersson
Also expose the argument to JS and JNI.
2016-11-15move the definition of GSDLLCALL to a different spot, above where it'sFred Ross-Perry
first used.
2016-11-15adapt to api change for toStructuredText.Fred Ross-Perry
No arguments are necessary.
2016-11-15Android example - smoother flingingFred Ross-Perry
scale the fling distance and time to the fling velocity. fling farther and for longer when the velocity is higher.
2016-11-15Android example - update gradle version.Fred Ross-Perry
2016-11-15Android example - fix to maintain vertical center when zooming.Fred Ross-Perry
2016-11-15Fix Java 32/64bit detection.Robin Watts
Fix some java typos. Thanks to Fred for nicely pointing out that I'd been testing the wrong build. Also, make us default to 32bit if sun.arch.data.model is not defined, as Android doesn't set this. We will need to find a nice way to spot 32/64 bittedness on Android.
2016-11-15Update JNI code to load 32 or 64 bit DLL as appropriate.Robin Watts
Make the JNI code detect whether it is running on a 32 or 64 bit machine, and change the name of the DLL appropriately. Update Android Makefile to make mupdf_java32 instead of mupdf_java. Update Java Makefile to make mupdf_java32 or mupdf_java64 based on the system it is running on. This choice can be overruled by defining BITS to be "32" or "64" before calling make. Update Windows Solution to make mupdf_java32 or mupdf_java64 as appropriate.
2016-11-15Fix compiler warning.Robin Watts
's' is char * and unsigned char * is expected.
2016-11-15Fix android build after fz_buffer internal hiding.Robin Watts
2016-11-15Bug 697045: Bring in fix to let openjpeg skip some bad data.Robin Watts
2016-11-15MSVC: Fix Commercial build locations.Robin Watts
Also tweak dependencies to avoid strange build problems for Commercial builds.
2016-11-14pdf: Don't pass form UI events to link annotations.Tor Andersson
Don't try handling them both as links and form widgets.
2016-11-14pdf: Use URI dictionary for relative URIs.Tor Andersson
2016-11-14gl: Only force a ui redraw when link is clicked, not just highlighted.Tor Andersson
2016-11-14js: Update docs for annotation functions (WIP).Tor Andersson
2016-11-14Fix return in void function.Tor Andersson
2016-11-14Continued 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-14More API tweaks.Robin Watts
Move internal functions from public to private headers.