summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
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
2012-03-28Disable link support in android app for 1.0 release.Tor Andersson
The link support still has several outstanding issues that need to be solved.
2012-03-20Use a subtler background tiling pattern from subtlepatterns.comTor Andersson
The patterns can be used freely in both personal and commercial projects with no attribution required, but always appreciated. darkdenim3.png was made by Brandon Jacoby.
2012-03-20Android app: fix missing highlightsPaul Gardiner
2012-03-20Android app: delay the appearance of the page render progress dialogsPaul Gardiner
2012-03-20Android app: delay the appearance of the search progress dialogPaul Gardiner
2012-03-15Android app: highlighting and inhibiting of linksPaul Gardiner
2012-03-15Android app: remove search highlights on search-term change and show progressPaul Gardiner
2012-03-15Handle view requests from the Transformer Prime's file managerPaul Gardiner
2012-03-15android app: support hardware accelerationPaul Gardiner
2012-03-13Merge master and pg_android branchesRobin Watts
Bring up to date with current APIs, including text device changes.
2012-03-13Rename some functions and accessors to be more consistent.Tor Andersson
Debug printing functions: debug -> print. Accessors: get noun attribute -> noun attribute. Find -> lookup when the returned value is not reference counted. pixmap_with_rect -> pixmap_with_bbox. We are reserving the word "find" to mean lookups that give ownership of objects to the caller. Lookup is used in other places where the ownership is not transferred, or simple values are returned. The rename is done by the sed script in scripts/rename3.sed
2012-02-22Tweak animations and colors.Tor Andersson
2012-02-21Replace Android application icon with one based on the logo.Tor Andersson
2012-02-21android app: slide buttons on instead of fadingTor Andersson
2012-02-21Android app: react to "Done" button when searchingPaul Gardiner
2012-02-21Add new Android button icons and tweak the layouts.Tor Andersson
2012-02-21Use a fixed duration of 400ms for scroll animation.Tor Andersson
Make fade in/out animations 200ms long, the same as the default animation duration for iOS UI animations.
2012-02-21Android app: decode the uri before using as a file namePaul Gardiner
2012-02-21Remove android/local.properties from the git.Tor Andersson
Seeing as it has local configuration, it should not be version controlled. The android manual says so.
2012-02-21Android app: make taps on side margins move to next and previousPaul Gardiner
2012-02-21Android app: implement Tor's request to clamp vertical position when height ↵Paul Gardiner
within screen
2012-02-21Go back to using a direct fade animation in favour of the ViewAnimatorPaul Gardiner
2012-02-20Android tweaks; attempt to trigger on .xps and .cbz files too.Robin Watts
In theory, the changes here should make mupdf be recognised as a handler for .xps and .cbz files (and for .pdf files without the correct mimetype). In practise I can't actually make this work right on my device. I'll open a stack overflow question and ask there.