summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2017-01-17MSVC: Fix 64bit builds of libmuthreadsRobin Watts
2017-01-17Remove preprocessor defines from vcproj.Tor Andersson
Keeping them up to date is difficult and prone to errors, so we move setting the USE_OUTPUT_DEBUG_STRING and FZ_LARGEFILE flags to the source instead of relying on project file definitions.
2017-01-17x11: Add -b flag to x11 viewer.Tor Andersson
2017-01-17java: Call dispose() instead of System.exit() when closing the window.Tor Andersson
2017-01-09Remove platform/android/example directory.Tor Andersson
The Android example viewer has been moved to its own git repository.
2017-01-09Remove platform/android/viewer directory.Tor Andersson
The Android viewer has been moved to its own git repository.
2017-01-09Remove platform/ios directory.Tor Andersson
The iOS viewer has been moved to its own git repository.
2017-01-09java: Clean up and simplify example viewer.Tor Andersson
Don't pull in swing classes for simple desktop AWT viewer. Use inner classes for helper classes. Add list of zoom levels. Add table of content list. Make page canvas flicker free.
2017-01-09java: Handle outlines with duff links.Tor Andersson
2017-01-09java: Fix encoding problems when turning strings into java strings.Tor Andersson
Most strings coming out of various MuPDF functions are already decoded to utf-8; so manually decoding from PDFDocEncoding or UCS-2 is actually harmful rather than helpful.
2017-01-09java: Use default build type when compiling.Sebastian Rasmussen
The default choice is overridden in the same way as for a normal compile.
2017-01-09java: Automatically determine openjdk path.Sebastian Rasmussen
Also allow for overriding the decision by setting JAVA_HOME.
2016-12-27Strip extraneous blank lines.Tor Andersson
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