summaryrefslogtreecommitdiff
path: root/platform/android/viewer
AgeCommit message (Collapse)Author
2016-07-13Bug 696699: Fix Text extraction mediabox information.Robin Watts
Since the removal of the begin_page device function, structured text extraction has been unable to correctly establish the mediabox for extracted pages. Update the fz_new_stext_page call to take this mediabox information. This is an API change, but hopefully most people are calling fz_new_stext_page_from_page or fz_new_stext_page_from_display_list which are updated here to cope. Update all the apps/tools to behave properly.
2016-07-06Android viewer - replace missing build.gradle filefredrossperry
also, change SUPPORT_GPROOF to FZ_ENABLE_GPRF
2016-07-06Android viewer: add mupdf_native.c to buildfredrossperry
This is because platform/android/example also uses the resulting shared library.
2016-06-23modified mupdf.c and mupdf_native.c to adapt to APIs that have recently changed.fredrossperry
2016-06-13Fix Android viewer build with js.Robin Watts
The recent js change requires a makefile tweak.
2016-06-13Bug 696822: Refuse to save a pdf file incrementally if it would break.Robin Watts
If a file cannot be saved incrementally, then don't accept that as an option. In practise this means if someone asks to save a file incrementally, and it was repaired, or it uses encryption then throw an error. Add a new function to ask if it's safe to save a file incrementally, and use that in the appropriate places.
2016-06-08Bug 696826: Android Viewer: Cope with null itemRobin Watts
It seems that we can end up with a null item in MuPDFReaderView onSingleTap. Add some simple checks to avoid this.
2016-06-06Android Viewer: Fix jni code w.r.t pixmap alpha API changes.Robin Watts
Need to specify that we are using alphas now.
2016-04-26svg: Add SVG parser.Tor Andersson
svg: Implement graphics state stack. svg: Use idmap for symbol and use elements. svg: Put viewport and viewBox in state stack. svg: Rebase to version 1.9 master.
2016-04-22thirdparty: Update to openjpeg 2.1.0.Sebastian Rasmussen
2016-04-21Bump patch-level.Tor Andersson
2016-04-06Update platform/android/viewer/ReadMe.txtRobin Watts
Update description to cover the fact that we no longer need cygwin, and to strongly suggest using the Android Studio supplied SDK/NDKs.
2016-04-06Bump version number.Tor Andersson
2016-03-31Initialize disabled document writing flags to zeroSebastian Rasmussen
Also remove redundant assignments. Fixes http://bugs.ghostscript.com/show_bug.cgi?id=695968
2016-03-31Reorganize java and android source.Tor Andersson
platform/java and platform/android are reorganized: platform/java The new JNI Java classes, mupdf_native.{c,h}, Makefile and Makejar. platform/java/example The example desktop viewer classes. platform/android/viewer The original demo viewer. ndk-build is used to build libmupdf_java.so, making reference to mupdf_native.{c,h} in platform/java.