summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2013-06-19Android build fixes.Robin Watts
2013-06-18Merge common and internal headers into one.Tor Andersson
2013-06-17Tweaks to ink annotation for smoothness.Paul Gardiner
Patch from "andyhan2000" to make the ink annotations smoother.
2013-06-13Make display lists reference counted objects.Robin Watts
Remove fz_free_display_list from the API; instead use fz_drop_display_list.
2013-06-12Support begin/end page calls in text extraction device.Tor Andersson
2013-06-09Remove fz_interactive API in favour of direct use of pdf APIPaul Gardiner
2013-05-30Android: Tweak towards api-7 compatibilityRobin Watts
Avoid using event.getActionMasked.
2013-05-30Android manifest tweaks.Robin Watts
Make it easier to do release builds.
2013-05-29Remove unneccessary variables in android makefiles.Tor Andersson
2013-05-28Android: disable whole "extras" menu when in reflow modePaul Gardiner
2013-05-28Document the android app classesPaul Gardiner
2013-05-27Android: Add label when deleting annotation.Robin Watts
Simple layout tweak to add 'Delete' into the header when deleting annotations.
2013-05-27Fix a crash when saving a file in the android app.Robin Watts
When saving, we'd close the document before we save it. As part of the leak fixing work, I'd freed the path as part of the closing process. Rework slightly to avoid this.
2013-05-27Pull in latest fixes to jbig2dec.Robin Watts
Also fix android building with latest openjpeg2.
2013-05-27Treat multiple whitespace in search strings as single.Robin Watts
Skip over successive whitespace in search string. Make android use text_search.c
2013-05-27Fix indentation to be consistent with regard to tabs/spaces.Tor Andersson
2013-05-24Android: Update makefiles for new single lib V8 builds.Robin Watts
We have a new method of making V8 libs for android that results in a single lib rather than 2, and works on armeabi and x86 as well as armeabi-v7a.
2013-05-24Bug 694092: Android: Redraw performance (overdraw) fixesRobin Watts
Thanks to Goncalo Ferreira(*) (aka monxalo) for this patch. Firstly, we move our textured background off the layout and into a style applied to MuPDFActivity. By using "windowBackground", we avoid the default background being redrawn only to be overlaid with ours. This cuts out one level of overdrawing. Secondly, when drawing each PageView, the old code would render the background for the page, then would draw the bitmap over the top of that. While it's important to draw the background of the page before we have a bitmap for the page, we can avoid that stage once a page bitmap arrives. (* apologies for not being able to put the cedilla on the 'c' in your name, but git gives problems with top bit set chars.)
2013-05-21Android: Fix crash when selecting text.Robin Watts
We were failing to setup and maintain the span number correctly.
2013-05-21Fix app breakages.Robin Watts
Android app was still thinking that we had only one fz_device_rgb rather than one per context. Android app had a typo in resulting in searching ending in an infinite loop. Text search failed to search outside the first block of each page.
2013-05-07Android: Fix android build.Robin Watts
Update android build in line with text extraction structure changes.
2013-05-06Add simple visual-to-logic RTL reordering as a text extraction pass.Tor Andersson
2013-05-06Add UCDN unicode character library.Tor Andersson
2013-05-03Simple Image file format recogniserRobin Watts
Now can open jpeg/png/tiff files within mupdf.
2013-04-30Split dev_text into three parts.Tor Andersson
One for the raw span extraction pass, one for paragraph sorting, and another for HTML output.
2013-04-30Android: Update text handling in android specific code.Robin Watts
Need to update text handling in line with new object types due to image extraction.
2013-04-29Android: Fix the makefile (again) for v8 or not.Robin Watts
Eventually I will get this right.
2013-04-29Internationalisation: Translations of strings.Robin Watts
2013-04-29Add Memento build option to Android build. Fix memory leaks.Robin Watts
Following up on a report from a potential customer, fix various places in mupdf.c where we were leaking memory (devices not freed, context not properly freed etc). In order to track this down, I added a Memento build - just do: ndk-build MEMENTO=1 when building. This only checks for leaks, not for memory overwrites by default as it uses MEMENTO_LEAKONLY to avoid any possibility of the android kernel killing stuff for being too slow or using too much memory.
2013-04-29Android: Missed renaming of function.Robin Watts
We renamed fz_new_output_buffer to be fz_new_output_with_buffer, and missed the call from the Android specific source. Fixed here. Thanks to Philippe Le Becq for the report.
2013-04-18Android: Fix V8_BUILD makefile logic.Robin Watts
V8_OK needs to be set before the includes. LOCAL_LDLIBS need to be set after them.
2013-04-16android: More string cleanups.Tor Andersson
2013-04-11Move pdf_image to fz_image.Robin Watts
In order to be able to output images (either in the pdfwrite device or in the html conversion), we need to be able to get to the original compressed data stream (or else we're going to end up recompressing images). To do that, we need to expose all of the contents of pdf_image into fz_image, so it makes sense to just amalgamate the two. This has knock on effects for the creation of indexed colorspaces, requiring some of that logic to be moved. Also, we need to make xps use the same structures; this means pushing PNG and TIFF support into the decoding code. Also we need to be able to load just the headers from PNG/TIFF/JPEGs as xps doesn't include dimension/resolution information. Also, separate out all the fz_image stuff into fitz/res_image.c rather than having it in res_pixmap.
2013-04-11android: Clean up string resources.Tor Andersson
2013-04-09Android: Ensure mTopBarMode is initialisedRobin Watts
Otherwise loading calc.pdf and clicking buttons causes a null pointer exception.
2013-04-09Android: Remove import of java.util.DequeRobin Watts
We have this as a local class, and the import was a hangover from old code that stops it working on Froyo/Gingerbread.
2013-04-09Disable V8 usage on armeabi - only for armeabi-v7a for now.Robin Watts
Until someone can get me v8 libs that work on armeabi at least!
2013-04-09Android: handle features not supported other than for PDF filesPaul Gardiner
2013-04-09Android: new, more-logical menu hierarchyPaul Gardiner
2013-04-08Android: Fix operation under Froyo/Gingerbread.Robin Watts
Android resolves references at class load time, so when MuPDFActivity is loaded, it tries to resolve AnimatorInflater. This fails on a 2.2 system. The fix is to push the code into 'SafeAnimatorInflater'. When MuPDFActivity is loaded, SafeAnimatorInflater is resolved, but it's not actually loaded until it's used. We never use it unless we have at least honeycomb, hence we never try to resolve the missing class.
2013-04-04Android: quicker response to print failurePaul Gardiner
2013-04-03Android: avoid SEGV when printing fails, and display errorPaul Gardiner
2013-04-03Updated print icons.Robin Watts
Less 'pretty', but more in the style of the others.
2013-04-03Android: prepare for localisationPaul Gardiner
2013-04-03Use xml onClick field to avoid some of the explicit Button objectsPaul Gardiner
2013-03-29Android: some user-feedback improvementsPaul Gardiner
Disable some features when in reflow mode Disable features when document format prohibits Add a few instructional on-scrren, info messages
2013-03-29Android: initial support for printingPaul Gardiner
This wont work for other than PDF documents Also, we should save the file before printing if it has been changed
2013-03-27Android: fix git rebase slipPaul Gardiner
2013-03-26Make pdf_functions public as fz_functions.Robin Watts
Implementations remain unexposed, but this means we can safely pass functions in shades without having to 'sample' them (though we may still choose to do this for speed).
2013-03-26Reflow: Move from html output using tables to html output using div/spanRobin Watts
The div/spans still use table style rendering, but it's simpler code (and html) this way.