summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2016-12-23Remember to stroke the graphics in the fake document.Sebastian Rasmussen
Additionally clean up the objects created for the fake document along with the document itself and report error to the caller by return code, not by using an exception.
2016-12-22When document reloading fails, do not leak filename.Sebastian Rasmussen
2016-12-19Squash WIN32 build warning.Robin Watts
2016-12-16gl: Print warning when link destinations cannot be found.Tor Andersson
2016-12-14Bug 697392: Close device before dropping it.Sebastian Rasmussen
2016-12-12PDF Portfolio support.Robin Watts
New PDF Portfolio manipulation API. Simple mutool 'portfolio' tool for listing/extracting/embedding files.
2016-12-02Bump version number.Tor Andersson
2016-12-02Fix iOS build.Tor Andersson
2016-12-02iOS: Let Xcode 8.1 perform it's recommended updatesJoseph Heenan
Only really important change is updating the deployment target to iOS 8, as earlier versions aren't supported by Xcode 8.1.
2016-12-02iOS: Build fix for fz_resolve_link API changeJoseph Heenan
2016-12-02iOS: Fix for xcode build after cmap re-arrangementJoseph Heenan
Just check for one of the new filenames
2016-11-23Add 'X' option to disable document styles.Tor Andersson
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-22Rearrange CMap resources. Only include the ones that are used.Tor Andersson
Silences unused variable warnings on gcc.
2016-11-22Remove unused variable.Sebastian Rasmussen
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-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-16Fix 697334: disable text input in x11 viewer permanently.Tor Andersson
The hacky stdin workaround has never worked satisfactorily. Just nuke it.
2016-11-16pdf: Add 'compressed/raw' flag to pdf_add_stream.Tor Andersson
Also expose the argument to JS and JNI.
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 android build after fz_buffer internal hiding.Robin Watts
2016-11-15MSVC: Fix Commercial build locations.Robin Watts
Also tweak dependencies to avoid strange build problems for Commercial builds.
2016-11-14gl: Only force a ui redraw when link is clicked, not just highlighted.Tor Andersson
2016-11-14More API tweaks.Robin Watts
Move internal functions from public to private headers.
2016-11-14Make 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-14Add/fix page coordinates to link targets.Tor Andersson
Correctly transformed target coordinates for PDF. Target coordinates for EPUB and HTML.
2016-11-14Add optional 'object' argument to pdf_add_stream.Tor Andersson
2016-11-11Update JNI code to compile on Win32 and Win64.Robin Watts
Just some typecasting required.
2016-11-11Add 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-08Change access to protected on parts of Image.java to allow AndroidImage to ↵fred ross-perry
build.
2016-11-08fix iOS app issue where deleted annotations don't properly disappear.fred ross-perry
2016-11-08Fix android warnings.Tor Andersson
2016-11-04Disable 64bit OpenSSL builds as we have no lib.Robin Watts
2016-11-04MSVS: More solution fixes.Robin Watts
In particular ensure that curl builds properly for 32 and 64bit modes.
2016-11-04MSVS: Remove superfluous configurations from libfonts.vcprojRobin Watts
No point in building libfonts in anything other than release mode. It's just data. This avoids needless rebuilds in batch builds.
2016-11-04MSVS: Remove superfluous configurations from generated.vcprojRobin Watts
No point in building the 'generated' tools in anything other than debug mode. This avoids repeatedly building the same thing in batch builds.
2016-11-04MSVS: Add libluratech to project.Robin Watts
This will only be built in "DebugCommercial" "ReleaseCommercial" and "MementoCommercial" configuration builds. A note on the way MSVS solutions work; libluratech is listed as a dependency of the executables - this applies to ALL configurations. In order to stop normal builds failing when we have no source, we set each non "Commercial" configuration to not build libluratech. The linker still looks for the output from the libluratech stage to link in though, so for all non "Commercial" configurations, we have the libluratech stage set to produce output named " ". This is copied into the linker command line, and all is happy. The sole downside to this is that if we try to build libluratech in "Debug" (say) rather than "DebugCommercial", the build will fail at the library making step. This will never happen unless we manually try to build that project in that configuration though.
2016-11-03Fix MSVC build of JNI native code.Robin Watts
2016-11-02iOS app: adapt to the latest API changes, and fix display issue introduced ↵fred ross-perry
in 1dec53c.
2016-11-03jni: Make it easy to use stext without options.Sebastian Rasmussen