summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
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.
2012-02-20Remove "MuPDF" title bar on Android app.Robin Watts
Simple change to the XML.
2012-02-20Update android app to use document interfaceRobin Watts
This adds XPS and CBZ support for free.
2012-02-20Updated MuPDF Android app from Paul Gardiner.Paul Gardiner
2012-02-13Remove arch_port.c from visual C solution/Android build.Robin Watts
File references escaped deletion in previous commit.
2012-02-11Purge unused and bit rotted fz_accelerate stuff, part 2.Tor Andersson
2012-02-09Update ios and Android projects with locking changes.Robin Watts
I forgot to update Android and iOS projects with the extra arg to fz_new_context. Fixed here.
2012-02-07Rename a few functions.Tor Andersson
2012-02-03Reference count fz_link objects.Tor Andersson
2012-01-30Move PNG, JPEG and TIFF image loading from muxps into fitz.Tor Andersson
2012-01-27Android/Windows build fixesRobin Watts
Update Android build for new thirdparty.zip. Small windows fix for pdf_xref -> pdf_document changes.
2012-01-27Rename pdf_xref type to pdf_document.Tor Andersson
2012-01-27Makefile/Project changes to use new thirdparty.zipRobin Watts
Updated thirdparty.zip contains newer jpeg, jbig2 and freetype code.
2012-01-20Update Android build to cope with removal of pdf_load_page_tree.Robin Watts
Just mirror the changes done in pdfdraw.
2012-01-19Remove confusing optional 'password' argument to pdf_open_xref.Tor Andersson
Require that clients call pdf_needs_password/pdf_authenticate_password instead. For dumb clients, we still allow for decrypting a file with a blank password without calling those functions.
2012-01-12Use the same coordinate system for pdf and xps pages in the interface.Tor Andersson
Move coordinate space tweaks into pdf_ and xps_run_page, and provide neutral pdf_ and xps_bound_page functions to return the page size as a zero-origined bounding box.
2012-01-12Fix android for previous glyph cache changes.Tor Andersson
2012-01-11Use enum for FZ_STORE_DEFAULT default size.Tor Andersson
2012-01-06Android tweaks.Robin Watts
Include android headers in fitz.h so we can debug. Arrange for error throwing to output to android error stream as well as stderr. Change jpeg library to not use backing store. Solves bug 692473.
2012-01-04Bug 692739: Add ability to abort time consuming actionsRobin Watts
A new 'cookie' parameter is added to page rendering/interpretation functions. Supply this as NULL to get existing behaviour. If you supply a non-NULL cookie, then this is taken as a pointer to a struct that can be used for simple, non-thread locked communication between caller and library. The entire struct should be memset to zero before entry, except for specific flags (thus coping with future extensions to this struct). The abort flag should be zero on entry. It will be checked periodically by the library - if the caller sets it non-zero (via another thread) then the current operation will be aborted. No guarantees are given as to how often this will be checked, or how fast it will be responded to. The progress_max field will be set to an integer (-1 for unknown) representing the number of 'things' to do. The progress field will count up from 0 to this number as time goes by. No guarantees are made as to the accuracy of this information, but it should be useful for offering some sort of progress bar etc. Note that progress_max may increase during the job. In general, callers should be careful to accept out of range or invalid data in this structure as this is deliberately accessed 'unlocked'.
2011-12-23Generalise pdf_links to be fz_links.Robin Watts
Move to a non-pdf specific type for links. PDF specific parsing is done in pdf_annots.c as before, but the essential type (and handling functions for that type) are in a new file fitz/base_link.c. The new type is more expressive than before; specifically all the possible PDF modes are expressable in it. Hopefully this should allow XPS links to be represented too.
2011-12-21Bring the Android demo port up to date.Robin Watts
Hadn't been updated to allow for context/exceptions.
2011-11-14Add 'simple scale' variant of scaling routines.Robin Watts
draw_simple_scale.c is a cut down version of draw_scale.c, that only uses filter functions that return values strictly in the 0 to 1 range. Because of that, we can use bytes rather than ints as intermediate storage, and have no clipping to do.
2011-11-14ARM opts in draw_scale.c; updated android build opts.Robin Watts
Kammerer reports 90%+ of CPU time is spent in the image scaling code for his documents on Android. In this commit we provide ARM optimised cores for the common scaling routines (1/2/4 components). Tests indicate this doubles the speed of rendering for a bitmap heavy PDF file on an HTC desire. This code is included if ARCH_ARM is defined. If ARCH_THUMB is defined then extra instructions are added to ensure correct interworking. We also update the Android jni makefiles to set these defines. We update the ReadMe.txt with more explicit instructions and update with more modern ndk/sdk versions. We update build.xml in line with new sdk releases.
2011-07-05Fix bug 692276. Android not displaying pdf contents.Robin Watts
The calculation of the translation due to the mediabox/cropbox was wrong on android, causing nothing to be rendered.
2011-07-04Android build lifecycle tweaks; fix leaking.Robin Watts
If the app was hidden, and then restarted, it would leak lots of memory due to onCreate not only being called on create. To fix this, we armour the app a bit aginst such problems, including adding code to destroy the core when the app really is destroyed.
2011-07-04Update android documentation to be clearer.Robin Watts
In particular say where to get thirdparty and how to generate generated. Also note that ndk-build should be run in android, NOT in andoid/jni.