summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2012-11-09Android: restrict annotation updates to ones within the patch areaPaul Gardiner
2012-11-09Android: fix bug causing intermittent out of position hq renderingPaul Gardiner
1) Check before attempting to perform a partion update that the current view area corresponds to the recorded one. Otherwise the held bitmap will not be suitable for the basis of an update 2) When performing a complete update, reallocate the bitmap holder to avoid risk of another task (possibly drawing for a different area) interacting with the about-to-be-started task.
2012-11-08Android: fix rendering-wrong-page bugPaul Gardiner
The page number was being cached at two levels, and some calls were skipping the upper level, leaving it out of date. The fix is always to call the lower level gotoPage from the upper level. Since the lower level caches, there is little to gain in avoiding the call, in any case.
2012-10-31android: avoid regeneration of annotation display list between updatesPaul Gardiner
Also add more detail to debug output
2012-10-31Android: cache only one page object for the sake of hq renderingPaul Gardiner
2012-10-31Android: use partial updates to speed rendering after interactionPaul Gardiner
2012-10-30Android: cache information for 3 pages in the corePaul Gardiner
2012-10-29Add fz_update_pagePaul Gardiner
Regenerate dirty appearance streams and report changed annotations since last call. Also include a partial revert of changes in 96f335bc, that turn out not to be necessary. fz_update_page must now be called between each document-changing event and the next render. pdfapp.c and the android app have been updated to do so, but do not yet take advantage of the possibility to render only the updated areas of the screen.
2012-10-25Update the android app to keep a separate display list for annotationsPaul Gardiner
2012-10-22Android: update file list upon download directory changesSebastian Rasmussen
2012-10-22Android: wait for page to be rendered even if no more interactionSebastian Rasmussen
It still takes a long time to render all the queued up page requests, but the app no longer force closes due to a NullPointerException.
2012-10-22Android: handle all ContentProvider paths the sameSebastian Rasmussen
2012-10-21Android: scan list of files when resumingSebastian Rasmussen
Previously files downloaded/pushed while the app was running were not added to the list when resuming the application, it had to be restarted.
2012-10-21Android: improve build instructionsSebastian Rasmussen
* Add unpack commands for Linux. * Specify that API level 11 is required to build. * Describe how to get the thirdparty package using git submodule.
2012-10-21Android: eliminate redundant step in build instructionsSebastian Rasmussen
2012-10-21Android: handle empty downloads directorySebastian Rasmussen
2012-10-21Android: show version number in file pickerSebastian Rasmussen
2012-10-21Android: move version number to string resourcesSebastian Rasmussen
2012-10-16Forms: avoid the need to reload the page on every changePaul Gardiner
Add pdf_update_annot, which is called before rendering an annotation, and checks that the annotation structure has correct information. There are three reasons the information can be out of date. Attributes of a field may have been changed such that its appearance stream needs updating. In this case the field will have have "Dirty" added to its dictionary The mouse may have changed state over the field, and a different appearance stream needs selecting. The annotation structure now records the mouse states for which the current appearance stream is acceptable. The field may have changed state as recorded by its "AS" value, and a different appearance stream needs selecting.
2012-10-11Android: support entry of text into formsPaul Gardiner
2012-10-11Android Forms: pass in mouse events and handle updatingPaul Gardiner
Also add a function to report whether the core has javascript support, so that the additional features can be enabled only when the javascript engine is present
2012-10-10android: v8 buildPaul Gardiner
2012-10-10Fix Android build.Robin Watts
Files had been added to project, but not to android makefiles. Thirdparty file paths needed updating in android makefiles. Rebuilding with the latest ndk (r8b) shows a problem due to a bug in the NDK. Work around this.
2012-09-19Android: make bitmap creation part of the synchronised drawPage methodPaul Gardiner
If the user rapidly changes page, many drawPage calls can be queued for many page views, each holding a reference to a bitmap. This change ensures that bitmap creation will be delayed until the bitmaps of other views will be gc'able, thus fixing bug 693230: "Mupdf/android provokes out of memory when continuously rendering pages in pdf with large images".
2012-09-18Forms: add event handling api and specifically support for javascript alertPaul Gardiner
2012-09-06Update android makefile to build with the newly merged forms code.Tor Andersson
2012-08-16Bump version numbers to 1.1Tor Andersson
2012-08-16Android: fix divide by zero errorPaul Gardiner
2012-08-14Fix bug 693276: Mupdf/android gui widget overlapPaul Gardiner
Just fix a typo in the xml
2012-08-14Android: further increase the page-slider's resolution for small docsPaul Gardiner
2012-08-14Android: ensure the search dialog appears with correct initial progressPaul Gardiner
2012-08-14Fix bug 693227: Counter intuitive message on searching to last pagePaul Gardiner
Now selects between displaying "Text not found" and "No further occurences found"
2012-08-14Fix bug 693229: Mupdf/android has inconsistent search phrase highlightingPaul Gardiner
The highlights were unintentionally being cached between file invocations. In fact it was possible for the highlighting from one file to appear when opening another, even if those highlights didn't match words on the page. That could happen if both files happened to have been last opened on a common page (common in terms of page number).
2012-08-13Android: react to menu button.Paul Gardiner
Also change the search button to behave as a toggle.
2012-08-13bug 693225 android: Can't easily switch to last page using seek barPaul Gardiner
Fixed by doubling the seekbar resolution and rounding odd positions upwards.
2012-08-13Android: react to search buttonPaul Gardiner
2012-08-13Fix android build after last thirdparty updatePaul Gardiner
2012-06-12Android app: explicitly release resources when page moves out of cache areaPaul Gardiner
2012-06-12Android app: build safe AsyncTask behaviour into a derived classPaul Gardiner
2012-05-11Split part of fz_document interface for pdf_document into separate file.Tor Andersson
Make a separate constructor function that does not link in the interpreter, so we can save space in the mubusy binary by not including the font and cmap resources.
2012-05-10Combine all small tools into mubusy and remove the separate executables.Tor Andersson
2012-04-24Maintain search results across a device rotationPaul Gardiner
Thanks to Robin for the nice idea of storing the text with the search so that we can test whether it matches the edit contents
2012-04-24Provoke search with the Return key in addition to the Done keyPaul Gardiner
Also ensure that starting a search closes the keyboard.
2012-04-24Fix crash in android app due to flood of page seeks.Robin Watts
Sebras found a way of crashing the MuPDF Android app by seeking quickly back and forth with the page seek bar. After about 30 seconds of frantically tapping either end of it, we'd force close. Examination shows this is due to the Async task queue getting full and throwing an exception. A simple fix is to catch the exception and perform the same tasks in the foreground. Testing indicates that this causes the UI to stall, but it's far preferable to a crash.
2012-04-24Add local.properties back in as local.properties.sampleRobin Watts
Also update the android ReadMe.txt file to include details of this.
2012-04-23Minimize android ThirdParty.mk targets.Tor Andersson
2012-04-23Remove local.properties.Tor Andersson
2012-04-23Update build files for new thirdparty package with freetype 2.4.9.Tor Andersson
2012-04-23Android tweak; more null checks.Robin Watts
When building MuPDFActivity as part of a framework, the application lifecycle is slightly different. This can mean that if an attempt is made to open a corrupt file (that fails to open) createUI can be called with core == null. The fix is just to check that core is non-null. We add this check in various places to be doubly sure.
2012-03-28Update application icons.Tor Andersson