summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-21Bug 693458: Fix subscaler logic.Robin Watts
Once again, thanks to zeniko for pointing this out. With non-monochrome scales, the 'stray' cases at the end of the line will loop 0 times on x. resulting in a skewed result.
2012-11-21Bug 693458: Fix calculation of pointer offset in subsampler.Robin Watts
Thanks to zeniko for pointing this out. Non monochrome subsamples would have gone wrong in the last line.
2012-11-21Bug 693458: Fix previous image subsample factor commit.Robin Watts
Thanks to zeniko for pointing out these places that I'd missed updating the old code.
2012-11-21Forms: ensure changed widgets are marked dirty rather than parent fieldPaul Gardiner
09+20computer+20fx-fo-dx-adr-mx.pdf has a "PROJECT TITLE" field that appears on every page, but needs setting only on one page. This commit makes that field update correctly.
2012-11-21ARM code pixmap subsampler.Robin Watts
Move the assembly macros into fitz-internal.h.
2012-11-21ARM optimised fast_cmyk_to_rgb code.Robin Watts
2012-11-21Bug 693458: Fix typo in fax decoder.Robin Watts
Silly slip in my optimised code that results in failing to find differences at the ends of lines.
2012-11-20Android: fix problem if screen timesout during alert displayPaul Gardiner
2012-11-20Fix android javascript build compile error.Robin Watts
A slip up in the previous whitespace fix commit removed a {. Put it back.
2012-11-20Obsess about whitespace.Tor Andersson
2012-11-20Android: remove SafeAsyncTaskPaul Gardiner
No longer needed because apparently the lastest AsyncTask implementation, that we've included from the android source, has an unbounded queue. This wont lead to us doing unbounded renders before the one we actually want because we cancel all but the ones we want.
2012-11-20Android: use AsyncTask from android sourcePaul Gardiner
We need this because only later version of AsyncTask supported executeOnExecutor. We have one task that must not be sequentialised with others, so we need to be able to garantee it gets its own thread
2012-11-20Missed Core2.mk in the profiler commit.Robin Watts
Forgot to add a new file to git.
2012-11-20Rename "tolower" back to "fz_tolower"Chris Liddell
to avoid clashes, especially on systems where "tolower" is declared as a macro, for example Cygwin.
2012-11-19Add image subsampling function.Robin Watts
When drawing images, if they are much bigger than we need, quickly subsample them. Makes images much more cachable, reduces time spent in expensive smooth scaler.
2012-11-19Tweak image decode downscale factor internals.Robin Watts
When calculating the factor to use for image downscales, calculate it as a shift rather than a divisor.
2012-11-19Unroll inner loop of ARM version of scale_row_to_temp1.Robin Watts
This avoids a stall, and saves time on repeated loops.
2012-11-19Enable android profiler build.Robin Watts
Requires android-ndk-profiler to be copied into android and android/jni. Also requires r8c of the NDK.
2012-11-19Attempt to speed up fax decompression.Robin Watts
A huge number of calls are made to getbit from find_changing in fax decompression. On Android profiling shows that this accounts for 25% of time in handling page 2 of IA3Z0845.pdf. Rewrite code to deal with bytes at a time for speed. Profiling now shows 5% in this function.
2012-11-19Android: implement alert dialogPaul Gardiner
2012-11-19javascript fix typo in util functionPaul Gardiner
2012-11-16Implement fast_cmyk_to_rgb without calling cmyk_to_rgb.Robin Watts
Same algorithm, just implemented in fixed point with a 1 place cache and checks for trivial black/white rather than floating point.
2012-11-16Rejig cmyk_to_rgb to avoid repeated muls.Robin Watts
Avoid repeated muls by reusing intermediates. Speed generation of those intermediates by using adds/subs rather than muls.
2012-11-16Fix build with openjpeg-1.5.1Wouter van Kesteren
2012-11-16Only invert color values, not alpha, in fz_invert_pixmap_rect.Tor Andersson
2012-11-16Add functions to highlight and copy text selections.Tor Andersson
2012-11-16Move text searching function into fitz.Tor Andersson
2012-11-16Add fz_write_buffer_rune to append a utf-8 character to a buffer.Tor Andersson
2012-11-16Build on Solaris (10, at least)Chris Liddell
Requires GNU make and gcc.
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-08Forms: correctly handle setting the value of a checkbox fieldPaul Gardiner
2012-11-08Forms: handle all color types in Field.setTextColorPaul Gardiner
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-11-07Javascript: add alerts to keystroke-checking utility functionsPaul Gardiner
2012-11-07Javascript: implement Field.namePaul Gardiner
2012-11-06javascript: implement util.printfPaul Gardiner
2012-11-01Forms: extend setFillColor implementation to include text widgetsPaul Gardiner
Also update pdf_dict_puts so that passing NULL to val deletes the terminal key. Update pdfapp.c to update the screen between passing a mouse event and invoking a dialog box for value entry Extend javascript wrapper to handle all color spaces
2012-10-31Forms: add focus and blur actionsPaul Gardiner
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-29Support partial update in pdfapp.cPaul 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-29Forms: always use inherited version of default appearanceSebastian Rasmussen
2012-10-25Update the android app to keep a separate display list for annotationsPaul Gardiner
2012-10-25Update pdfapp to keep a separate display list for annotationsPaul Gardiner
2012-10-25Support separate rendering of the main page contents and the annotationsPaul Gardiner
2012-10-22Android: update file list upon download directory changesSebastian Rasmussen