summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
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
2016-11-03jni: Only release stext options when present.Sebastian Rasmussen
2016-11-02android: Don't bound twice in update_changed_rects.Tor Andersson
2016-11-02android: Fix spelling error.Tor Andersson
2016-11-02android: Fix screen updates when deleting annotations.Tor Andersson
2016-11-02jni: Add AndroidImage, using Android Bitmaps to create Images.Sebastian Rasmussen
2016-10-31gl: Use MessageBox for GLFW initialization error messages on windows.Tor Andersson
2016-10-31Fix android build.Tor Andersson
2016-10-28Clean up link destination handling.Tor Andersson
All link destinations should be URIs, and a document specific function can be called to resolve them to actual page numbers. Outlines have cached page numbers as well as string URIs.
2016-10-28win32: Clean up namedump.obj and namedump.exe in generate.batTor Andersson
2016-10-26Bump version number to 1.10.Tor Andersson
2016-10-26Fix 697233: Add FB2 file type to mobile viewers.Tor Andersson
2016-10-26gl: Show more search result hits.Tor Andersson
2016-10-26Update ios/android to use new way of passion stext options.Sebastian Rasmussen
In addition, make all callers passing 0 as a point pass NULL instead.
2016-10-24Bug 697226: Fix SEGV in Android viewer.Robin Watts
As we skip through pages very quickly, it is apparently possible to trigger a SEGV. Alex Talis has given a clear description of the problem on the bug, and proposed this solution. Essentially this tweaks our CancellableAsyncTask class to ensure that we do not destroy the cookie before it has finished being accessed.
2016-10-21jni: Update mupdf_native.h.Tor Andersson
2016-10-19Rename internal headers to follow pattern *-imp.h.Sebastian Rasmussen
2016-10-18Avoid checking argument to fz_drop_*()/fz_free().Sebastian Rasmussen
As fz_drop_*()/fz_free() all must handle NULL.
2016-10-17gl: Add reload key binding: 'r'.Tor Andersson
2016-10-16Avoid casting when dropping super objects.Sebastian Rasmussen
2016-10-16Only check digital signature when mouse button is released.Sebastian Rasmussen
2016-10-14gl: Do document layout before loading outline, to prevent laying out twice.Tor Andersson
Loading the outline automatically triggers a layout.
2016-10-12Remove superfluous context null checks.Tor Andersson
Code MUST pass a non-null context to all functions. Checking ctx for null and failing silently is no more useful than segfaulting. fz_keep_imp and fz_drop_imp handle NULL pointers safely, so the NULL checks for this can also be dropped at the same time.
2016-10-12Android: Bug 697054: Increase zoom limitRobin Watts
Increase zoom limit to 64 times.
2016-10-10Bug 697094: Disable viewer text input on linux.Robin Watts
Only Windows and Android have form filling text input implemented properly so far. Neither of those build using the Makefile. We therefore disable text input in Makefile built viewers.
2016-10-10Update VS solution with new font.Robin Watts
2016-10-07Update Android build with fz_font/fz_colorspace API changes.Robin Watts
2016-10-07Update Noto fonts.Tor Andersson
New Devanagari serif font, several other updated fonts.
2016-10-07gl: Set glfw error callback before initialisation to catch setup errors.Tor Andersson
2016-10-07Add annotation editing functions and clean interface of existing ones.Tor Andersson
2016-10-07Remove separate tmp/deleted/changed annotation lists.Tor Andersson
Use a flag in the pdf_annot struct instead. Don't pass pdf_document to annotation edit functions.
2016-10-06Hide internals of fz_colorspaceRobin Watts
The implementation does not need to be in the public API.
2016-10-06Bug 697196: Add missing openjpeg file to Android Makefiles.Robin Watts
When updating openjpeg, I forgot to update the Android JNI makefiles with a newly created file. Thanks to szukw000 for reporting this!
2016-10-05Move fz_font definition to be private.Robin Watts
Move the definition of fz_font to be in a private header file rather than in the public API. Add accessors for specific parts of the structure and use them as appropriate. The font flags, and the harfbuzz records remain public. This means that only 3 files now need access to the font implementation (font.c, pdf-font.c and pdf-type3.c). This may be able to be improved further in future.
2016-09-26Update OpenJPEG to the latest (git) version.Robin Watts
Part of the change in this code is to require opj_malloc and co. Sadly, opj_malloc and co do not take a context field, so a we need to wrap calls to openjpeg with a lock. I am reusing the freetype lock here for simplicity.
2016-09-27Add newly added files missing from VS project.Sebastian Rasmussen