summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-14Update jbig2dec thirdparty to latest.Tor Andersson
2013-02-13Android: highlight reflow icon when in reflow modePaul Gardiner
2013-02-13Redraw reflow icons in Xara to get better antialiasing.Robin Watts
2013-02-13Add CHANGES file.Robin Watts
2013-02-13Update doc/multi-threaded.c for passing rect/matrix by reference.Tor Andersson
2013-02-13Update doc/example.c for passing rect/matrix by reference.Tor Andersson
2013-02-13Bump version number strings and dates for 1.2 release.Tor Andersson
2013-02-13Apple broke external scripts yet again.Tor Andersson
Disable the automatic "make generate" step from the build, since it doesn't work anymore. There appears to be some hidden environment setting used by the compiler which breaks external make compiling for host while Xcode is set to cross compile. This is a pointless waste of time to track down and fix, so now you will have to run the "make generate" step manually.
2013-02-13Update iOS app for rect/matrix pass by reference.Tor Andersson
2013-02-11Fix problem with text selection caused by 0399332d54Paul Gardiner
2013-02-11Android: factor out ReaderView's special handling of MuPDFView objectsPaul Gardiner
2013-02-11Android: factor out search from main activityPaul Gardiner
2013-02-06Fix Android build after reference/irect changes.Robin Watts
2013-02-06Rename bbox to irect.Tor Andersson
2013-02-06Solve potential problems with partial update.Robin Watts
When we run a display list we pass in an area for fast eliding of objects. Ensure that the area we pass in is always at least as big as the bbox with which we create display devices.
2013-02-06Add some 'restrict' qualifiers to hopefully speed matrix ops.Robin Watts
Also, move fz_is_infinite_rect and fz_is_empty_rect to be a static inline rather than a macro. (Static inlines are preferred over macros by at least one customers). We appear to be calling them with bboxes too, so add fz_is_infinite_bbox and fz_is_empty_bbox to solve this.
2013-02-06Change to pass structures by reference rather than value.Robin Watts
This is faster on ARM in particular. The primary changes involve fz_matrix, fz_rect and fz_bbox. Rather than passing 'fz_rect r' into a function, we now consistently pass 'const fz_rect *r'. Where a rect is passed in and modified, we miss the 'const' off. Where possible, we return the pointer to the modified structure to allow 'chaining' of expressions. The basic upshot of this work is that we do far fewer copies of rectangle/matrix structures, and all the copies we do are explicit. This has opened the way to other optimisations, also performed in this commit. Rather than using expressions like: fz_concat(fz_scale(sx, sy), fz_translate(tx, ty)) we now have fz_pre_{scale,translate,rotate} functions. These can be implemented much more efficiently than doing the fully fledged matrix multiplication that fz_concat requires. We add fz_rect_{min,max} functions to return pointers to the min/max points of a rect. These can be used to in transformations to directly manipulate values. With a little casting in the path transformation code we can avoid more needless copying. We rename fz_widget_bbox to the more consistent fz_bound_widget.
2013-02-06Fix forgetting to open fz_output for xml output.Robin Watts
2013-02-06Fix SEGVs seen on unix caused by the fz_output commit.Robin Watts
It seems that gcc requires arg lists to be 'va_copy'ied, otherwise they can't be reused. This solves problems in the rework of fz_buffer_printf.
2013-02-06Tweak text extraction block creation.Robin Watts
Better tolerate long horizontal spaces without breaking lines.
2013-02-05Android: reflow - request layout each time we learn a new page heightPaul Gardiner
2013-02-05Android: Avoid SEGV on reflow on HTC Desire HDRobin Watts
Move the one time setup of the HTMLOUT javascript interface etc into the constructor. This seems to avoid the occasional SEGV caused while flipping pages on the HTC Desire in reflow mode.
2013-02-05Android: use identity matrix in html extraction to improve font sizesPaul Gardiner
2013-02-05Android: avoid view churn in reflow modePaul Gardiner
2013-02-05Android: reflow - get zoom working againPaul Gardiner
2013-02-05Android: avoid byte[] -> String -> byte[]Paul Gardiner
2013-02-05Tweak HTML output.Robin Watts
Send blocks as paragraphs, rather than lines. Send lines as spans.
2013-02-05Android: Use HTML output in reflow mode.Robin Watts
This gets us styles.
2013-02-04Add fz_output, and make output functions use it.Robin Watts
Various functions in the code output to FILE *, when there are times we'd like them to output to other things, such as fz_buffers. Add an fz_output type, together with fz_printf to allow things to output to this.
2013-02-04Android: reset zoom on mode changePaul Gardiner
We should probably record the last scale for each mode and reenstate it when returning to that mode, but there are a few difficulties to that that need to be addressed
2013-02-04Android: alter zoom range for reflow modePaul Gardiner
2013-02-04Android: zooming in reflow mode altering CSS fontSize via javascriptPaul Gardiner
2013-02-04Android: add hooks for zooming in reflow modePaul Gardiner
2013-02-04Android: add button for reflowPaul Gardiner
2013-02-04Android: handle Unicode correctly in reflowPaul Gardiner
2013-02-03Android: first attempt at reflow modePaul Gardiner
2013-02-02Android: introduce common interface for normal and reflowed viewsPaul Gardiner
2013-02-01Android: quick and dirty conversion of text to htmlPaul Gardiner
2013-01-31Create annotations in indirect-object formPaul Gardiner
2013-01-31Android: fix buildPaul Gardiner
2013-01-31Fix missing linewidth in pdf-device-created appearance streamsPaul Gardiner
2013-01-31Android: use a single fz_page to render both main and hq bitmapsPaul Gardiner
2013-01-31Android: implement strikeout annotation creationPaul Gardiner
2013-01-31Add support for annotation creationPaul Gardiner
2013-01-30Improve exception handling in fz_bound_t3_glyphPaul Gardiner
Also simplify some other functions using pdf_dict_puts_drop
2013-01-30Parts of Robin's PDF editing/page creation commit useful for annotationsPaul Gardiner
2013-01-30Fix Android build after rect/bbox changes.Robin Watts
2013-01-30Rename fz_irect back to fz_bbox.Tor Andersson
2013-01-30Always pass value structs (rect, matrix, etc) as values not by pointer.Tor Andersson
2013-01-30Rename fz_rect_covering_rect to fz_irect_from_rect.Tor Andersson
It used to be called fz_bbox_covering_rect. It does exact rounding outwards of a rect, so that the resulting irect will always cover the entire area of the input rect. Use fz_round_rect for fuzzy rounding where near-integer values are rounded inwards.