Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-02-14 | Update jbig2dec thirdparty to latest. | Tor Andersson | |
2013-02-13 | Android: highlight reflow icon when in reflow mode | Paul Gardiner | |
2013-02-13 | Redraw reflow icons in Xara to get better antialiasing. | Robin Watts | |
2013-02-13 | Add CHANGES file. | Robin Watts | |
2013-02-13 | Update doc/multi-threaded.c for passing rect/matrix by reference. | Tor Andersson | |
2013-02-13 | Update doc/example.c for passing rect/matrix by reference. | Tor Andersson | |
2013-02-13 | Bump version number strings and dates for 1.2 release. | Tor Andersson | |
2013-02-13 | Apple 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-13 | Update iOS app for rect/matrix pass by reference. | Tor Andersson | |
2013-02-11 | Fix problem with text selection caused by 0399332d54 | Paul Gardiner | |
2013-02-11 | Android: factor out ReaderView's special handling of MuPDFView objects | Paul Gardiner | |
2013-02-11 | Android: factor out search from main activity | Paul Gardiner | |
2013-02-06 | Fix Android build after reference/irect changes. | Robin Watts | |
2013-02-06 | Rename bbox to irect. | Tor Andersson | |
2013-02-06 | Solve 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-06 | Add 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-06 | Change 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-06 | Fix forgetting to open fz_output for xml output. | Robin Watts | |
2013-02-06 | Fix 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-06 | Tweak text extraction block creation. | Robin Watts | |
Better tolerate long horizontal spaces without breaking lines. | |||
2013-02-05 | Android: reflow - request layout each time we learn a new page height | Paul Gardiner | |
2013-02-05 | Android: Avoid SEGV on reflow on HTC Desire HD | Robin 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-05 | Android: use identity matrix in html extraction to improve font sizes | Paul Gardiner | |
2013-02-05 | Android: avoid view churn in reflow mode | Paul Gardiner | |
2013-02-05 | Android: reflow - get zoom working again | Paul Gardiner | |
2013-02-05 | Android: avoid byte[] -> String -> byte[] | Paul Gardiner | |
2013-02-05 | Tweak HTML output. | Robin Watts | |
Send blocks as paragraphs, rather than lines. Send lines as spans. | |||
2013-02-05 | Android: Use HTML output in reflow mode. | Robin Watts | |
This gets us styles. | |||
2013-02-04 | Add 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-04 | Android: reset zoom on mode change | Paul 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-04 | Android: alter zoom range for reflow mode | Paul Gardiner | |
2013-02-04 | Android: zooming in reflow mode altering CSS fontSize via javascript | Paul Gardiner | |
2013-02-04 | Android: add hooks for zooming in reflow mode | Paul Gardiner | |
2013-02-04 | Android: add button for reflow | Paul Gardiner | |
2013-02-04 | Android: handle Unicode correctly in reflow | Paul Gardiner | |
2013-02-03 | Android: first attempt at reflow mode | Paul Gardiner | |
2013-02-02 | Android: introduce common interface for normal and reflowed views | Paul Gardiner | |
2013-02-01 | Android: quick and dirty conversion of text to html | Paul Gardiner | |
2013-01-31 | Create annotations in indirect-object form | Paul Gardiner | |
2013-01-31 | Android: fix build | Paul Gardiner | |
2013-01-31 | Fix missing linewidth in pdf-device-created appearance streams | Paul Gardiner | |
2013-01-31 | Android: use a single fz_page to render both main and hq bitmaps | Paul Gardiner | |
2013-01-31 | Android: implement strikeout annotation creation | Paul Gardiner | |
2013-01-31 | Add support for annotation creation | Paul Gardiner | |
2013-01-30 | Improve exception handling in fz_bound_t3_glyph | Paul Gardiner | |
Also simplify some other functions using pdf_dict_puts_drop | |||
2013-01-30 | Parts of Robin's PDF editing/page creation commit useful for annotations | Paul Gardiner | |
2013-01-30 | Fix Android build after rect/bbox changes. | Robin Watts | |
2013-01-30 | Rename fz_irect back to fz_bbox. | Tor Andersson | |
2013-01-30 | Always pass value structs (rect, matrix, etc) as values not by pointer. | Tor Andersson | |
2013-01-30 | Rename 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. |