summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-14Fix whitespace and indentation.Tor Andersson
2016-07-14Add editorconfig and update gitattributes.Tor Andersson
2016-07-14Update MuJS.Tor Andersson
2016-07-14x11: Update x11/win32 viewer for fz_close_device changes.Tor Andersson
2016-07-13Bug 696699: Fix Text extraction mediabox information.Robin Watts
Since the removal of the begin_page device function, structured text extraction has been unable to correctly establish the mediabox for extracted pages. Update the fz_new_stext_page call to take this mediabox information. This is an API change, but hopefully most people are calling fz_new_stext_page_from_page or fz_new_stext_page_from_display_list which are updated here to cope. Update all the apps/tools to behave properly.
2016-07-13Bug 696493: Fix MINGW build of viewer.Robin Watts
Adopt patch from Tamir Evan. Many thanks.
2016-07-13Bug 696892: PDF annotation appearance stream synthesis SEGVRobin Watts
The code would SEGV if we were trying to synthesise an appearance stream for an annotation, and the docs pdf resources table had not been initialised. We now intialise the pdf resource tables when we initialise a pdf device. This is the earliest point we know we are going to need them, and covers all cases.
2016-07-13Use fz_malloc_struct rather than fz_calloc.Robin Watts
This helps with Memento debugging, and looks neater.
2016-07-13Bug 696910: Fix MINGW build.Robin Watts
Additional flags/compiler settings required for successful building on MINGW due to harfbuzz's use of strdup.
2016-07-13Fix memory leaks in SVG device.Robin Watts
2016-07-13Bug 696846: Fix badly formed SVG output.Robin Watts
This has been broken since fz_text was changed to be multiple fz_text_spans.
2016-07-13Fix knockout/mask interaction.Robin Watts
When we are rendering a knockout group, we set the knockout flag. Do NOT carry this forward into the renderings of any softmasks. This fixes Bug 696870 and 696872.
2016-07-13Fix MSVC build of murunRobin Watts
2016-07-13Fix Memento builds; static references were upsetting refcounting.Robin Watts
2016-07-12Fix typo in comment.Robin Watts
2016-07-12js: Add doc.loadOutline and page.getLinks functions.Tor Andersson
These just convert fz_outline and fz_link into plain JS arrays and objects with no associated native userdata.
2016-07-12Android JNI Annotation fix.Robin Watts
We pass pointers from the JNI layer into the java to be stored as java longs. When doing this it is VITAL that we cast them correctly as otherwise the JNI layer on android has problems - presumably because of alignment in the procedure calling standard. I'd missed this in one place. Fixed here. <log></log>
2016-07-12js: Update DrawDevice example.Tor Andersson
2016-07-12js: Check if some arguments exist before converting to boolean/number.Tor Andersson
2016-07-12Fix typo in fz_new_image_from_pixmap.Tor Andersson
2016-07-12Fix bugs in pdf_add_image.Tor Andersson
2016-07-12js: Fix memory leak in new Image().Tor Andersson
2016-07-12xps: Only recognize <dir>/_rels/.rels type paths, not any .rels file.Tor Andersson
2016-07-12Zero terminate fz_vsnprintf output when formatting warnings and error messages.Tor Andersson
Fix for bug 696913.
2016-07-11Java desktop example: detect retina and scale accordinglyfredrossperry
also: zoom in/out buttons
2016-07-11android desktop viewer: scale the page box before making the pixmap in ↵fred ross-perry
imageFromPageWithDevice
2016-07-11JNI: Fix annotation crashing problem.Robin Watts
I was forgetting to 'keep' the annot. Inspection of the code shows just 1 other place where I've made that mistake, and it's currently disabled (but updated here anyway).
2016-07-11MSVC: Add DebugJava/ReleaseJava configurations.Robin Watts
These build the mupdf desktop java viewer.
2016-07-11Update mupdf_native.c for Windows.Robin Watts
Use Windows threads rather than pthreads when building on windows.
2016-07-11Fixes to iOS application for recent API changesMichael Vrhel
2016-07-09Add documentation for exposed LAB function.Sebastian Rasmussen
2016-07-08Avoid warnings in non-Memento builds.Robin Watts
2016-07-08Bug 696872: Avoid trying to paint with zero alpha.Robin Watts
Short circuit any attempt to paint a pixmap with zero alpha.
2016-07-08Fix Windows builds.Robin Watts
generated.sh was broken (wrong font path). load_pnm.c had been omitted from VS projects.
2016-07-08Bug 696911: muraster with no threads lib.Robin Watts
Fix various niggles with muraster when compiled with no thread lib. Thanks to Tamir Evan.
2016-07-08Use fz_keep_imp and fz_drop_imp for all reference counting.Tor Andersson
2016-07-08git stripspaceTor Andersson
2016-07-08Separate close and drop functionality for devices and writers.Tor Andersson
Closing a device or writer may throw exceptions, but much of the foreign language bindings (JNI and JS) depend on drop to never throw an exception (exceptions in finalizers are bad).
2016-07-08Slim pdf_xobject: remove cached colorspace field.Tor Andersson
2016-07-08Slim pdf_xobject: remove cached document field.Tor Andersson
2016-07-08Slim pdf_xobject: remove cached transparency/isolated/knockout fields.Tor Andersson
2016-07-08Slim pdf_xobject struct: remove cached matrix field.Tor Andersson
2016-07-08Slim pdf_xobject struct: remove cached bbox field.Tor Andersson
2016-07-08Slim pdf_xobject struct: remove cached resources field.Tor Andersson
The "contents" field is the same as the "obj" field, so can also be removed.
2016-07-08Slim pdf_xobject struct: Rename me to obj.Tor Andersson
2016-07-08Slim pdf_annot struct: remove cached page_ctm field.Tor Andersson
2016-07-08Slim pdf_annot struct: remove cached inv_page_ctm field.Tor Andersson
2016-07-08Slim pdf_annot struct: remove cached annot_type and widget_type fields.Tor Andersson
2016-07-08Slim pdf_annot struct: remove cached matrix field.Tor Andersson
2016-07-08Slim pdf_annot struct: remove cached rect field.Tor Andersson