summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2017-03-22Rename fz_putc/puts/printf to fz_write_*.Tor Andersson
Rename fz_write to fz_write_data. Rename fz_write_buffer_* and fz_buffer_printf to fz_append_*. Be consistent in naming: fz_write_* calls write to fz_output. fz_append_* calls append to fz_buffer. Update documentation.
2017-03-22Fix windows GLFW build.Tor Andersson
2017-03-22Rename libjpeg submodule.Tor Andersson
2017-03-21Replace fontdump, bin2hex and cquote with one tool: hexdump.Tor Andersson
Still need specialty tools for namedump and cmapdump.
2017-03-15gl: implement fullscreen supportTuncer Ayaz
2017-03-15gl: use fix title for X11 class and instanceTuncer Ayaz
When creating the GLFW window, filename was used as the title. That makes it impossible to apply window manager rules based on class or instance since each invocation gets a different string based on the filename.
2017-03-15Add PDF_ANNOT_UNKNOWN enum.Tor Andersson
2017-03-14Add MSVC project file forgotten from previous commitRobin Watts
2017-03-11Fix MSVC solution.Robin Watts
If we have mutool depend on libluratech, then it won't build when luratech is not installed. If we don't have mutool depend on libluratech, then it won't build the Commercial versions. The basic problem is that dependencies in MSVC can't be dependent on configuration. Therefore, move the guts of mutool into libmutool, and have mutool and mutool-lura projects that depend on it. mutool-lura can also depend on libluratech. mutool builds in non commercial configurations, and mutool-lura in the commercial ones.
2017-03-01Add PDFPage and PDFAnnotation subclasses.Tor Andersson
2017-02-22Move PATH_MAX to system.hMichael Vrhel
Better to have this defined at the system level rather than scattered about in various files.
2017-02-21java: Fix typo in authenticatePassword.Tor Andersson
2017-02-20android: Use system fonts as fallback instead of compiling binary blobs.Tor Andersson
This drastically reduces the size of the android library. Unfortunately it means font support is limited to what is available on the device. We look for both the old DroidSans fonts and the more recent Noto fonts.
2017-02-20Add svg writer.Tor Andersson
Now mutool convert can write SVG documents.
2017-02-20Add F1 help dialog to show key bindings in mupdf-gl.Tor Andersson
2017-02-14Fix patch drawing in AndroidDrawDevice.Tor Andersson
It can be simplified now that we support custom strides in pixmaps.
2017-02-14java: Make PDFDocument a subclass of Document.Tor Andersson
Requires use of Document.openDocument(path) to open a document. No more new Document(path) since we may need to return a PDFDocument. Create a new blank PDF with new PDFDocument() constructor.
2017-02-14gl: Add 'hjkl' keybindings that behave like the arrow keys.Tor Andersson
Change the binding 'l' for showing links to 'L'.
2017-02-06Add fitPage, fitPageWidth functions to AndroidDrawDevice.Tor Andersson
2017-02-06Add bookmarks so we can find a location after reflowing a document.Tor Andersson
2017-02-06Add -I option to mupdf to invert colors.Robin Watts
2017-01-31Add helper functions to AndroidDrawDevice.Tor Andersson
2017-01-23android: Add ndk-build makefile to build JNI library for android viewers.Sebastian Rasmussen
Run 'make android' to invoke ndk-build with the proper arguments. The results are placed in build/android.
2017-01-17java: Add gdb target for debugging JNI crashes.Sebastian Rasmussen
2017-01-17java: JNI code needs generated header files from mupdf library.Sebastian Rasmussen
2017-01-17java: Simplify loadLibrary call.Tor Andersson
Always look in order for the following libraries: mupdf_java64 mupdf_java32 mupdf_java
2017-01-17java: Add text searching.Tor Andersson
2017-01-17java: Allow custom compiler flags.Sebastian Rasmussen
2017-01-17Fix typos.Sebastian Rasmussen
2017-01-17Fix 697476: Rename header files.Tor Andersson
Xcode has an idiotic default configuration where it gets confused by include search paths and file names in projects, so that it will load our "mupdf/fitz/math.h" instead of the system <math.h>. Work around this by renaming header files that have the same base name as a system header (even though they live in a subdirectory, and should never be available directly on the compiler's include path).
2017-01-17MSVC: Fix libmupf openssl configurations include paths.Robin Watts
2017-01-17MSVC: Remove libluratech non commercial configurationsRobin Watts
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