summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-16epub: Free chapter, path and buffer in case of error.Sebastian Rasmussen
2017-06-16Drop type 3 glyph pixmap in case of error.Sebastian Rasmussen
2017-06-16Allow fz_output to close the file as requested.Sebastian Rasmussen
2017-06-16Drop HTML document in case of error.Sebastian Rasmussen
2017-06-16Drop pdf document if creation fails.Sebastian Rasmussen
2017-06-16Fix MSVC build of mupdf_native.cRobin Watts
Usual "declaration not at top of block" thing. Also, fix a warning; casting an int to a size_t then using the size_t where an int was wanted seems odd.
2017-06-16Strip doc out of color space load methodMichael Vrhel
Also the pdf_load_function call. Doc was not used in either of these.
2017-06-16Handle error when reading OCGs.Sebastian Rasmussen
2017-06-16Do not throw exception when dropping pdf document.Sebastian Rasmussen
2017-06-16Plug leak of uri if creating link fails.Sebastian Rasmussen
2017-06-16MSVC solution: Add missing header.Robin Watts
2017-06-16MSVC: Avoid signed/unsigned warning.Robin Watts
2017-06-16Windows MuPDF viewer; add ability to start on a given page.Robin Watts
Same mechanism as the x11 version: mupdf.exe in.pdf 10
2017-06-16platform/java/winmake.bat - Fix due to sources being moved.Robin Watts
The java sources were pushed down into 'src' which broke the .bat file.
2017-06-15Silence warning about not building a glyph bbox table.Tor Andersson
This is very common and not a problem. Let's keep warnings for problematic things, and not use them for informational messages such as these.
2017-06-15Add contributor license agreement link to the docs.Tor Andersson
2017-06-15Update how to build native examples.Sebastian Rasmussen
2017-06-15Update 'make install' for new documentation layout.Tor Andersson
2017-06-15Update android library build instructions.Sebastian Rasmussen
2017-06-15Update android viewer build instructions.Tor Andersson
The ant is dead, long live the gradle wrapper!
2017-06-15Make inline fz_write_*() normal public functions.Sebastian Rasmussen
This avoids a macOS compilation error due to strlen() being redeclared.
2017-06-13Add edgebuffer based rasterizerRobin Watts
2017-06-13Introduce fz_rasterizer encapsulationRobin Watts
This is intended to be a way to allow us to implement compiletime/runtime selection of different scan converter implementations.
2017-06-11Ensure TIFF images have the correct colorspace.Robin Watts
CMYK+Alpha get resolved to RGB+Alpha as part of loading.
2017-06-11When loading indexed PNG images, get the colorspace right.Robin Watts
2017-06-08Plug leak of opj decoder in case of fz_new_pixmap() throwing.Sebastian Rasmussen
2017-06-08Plug leak of PDF page object.Sebastian Rasmussen
2017-06-08Avoid using fz_var() when not necessary.Sebastian Rasmussen
2017-06-06Declare missing functions in header files.Sebastian Rasmussen
2017-06-06Rename misnamed pdf object graft map keep interface.Sebastian Rasmussen
2017-06-06Declare functions without arguments as taking void.Sebastian Rasmussen
2017-06-06Remove unused variable/function.Sebastian Rasmussen
2017-06-03Tweak pdf_graft_map API.Robin Watts
Passing a pdf_document to pdf_graft_object to specify the source document is redundant, as if we need to know the document, it will be pickled into the object we are copying. Similarly, repeatedly having to pass the destination document seems silly when we can just pickle it into the map too (and this removes the possibility of people using a different destination document part way through). This leaves to simplifying the pdf_graft_object call, at the expense of splitting it into 2 calls - one with a map, and one without. Also, we can delay the creation of the mapping table until we are first asked to copy an object that requires deep copying. This avoids us ever having to manually pass in the source document. This has knock-on effects in the java and javascript classes, but with the advantage of being clearer in the end (IMHO). Conflicts: include/mupdf/pdf/document.h
2017-06-03Alphabetically sort mutool options.Robin Watts
2017-06-03Allow fz_set_user_css to accept NULL.Robin Watts
2017-06-03Add pdf_keep_document.Robin Watts
We have pdf_drop_document, so a pdf_keep_document seems justified too.
2017-06-03Add documentation for pdf_processors.Robin Watts
Expose pdf_new_output_processor. Remove pdf_document argument to pdf_new_filter_processor. It is only ever used when copying resources from the old resource dictionary to the new one, whereupon it must agree with the bound pdf_document in the old resource dictionary.
2017-06-03Remove forcing of isolate mode in clipping paths.Robin Watts
This causes breakages of rendering for non-rectangular clipping paths, as seen on page 10 of Transparency-DesignGuide.pdf in the "Knockout group on" image, if we disable the rectangular optimisation case in fz_draw_clip_path.
2017-06-03jpx: Use subsampled width when reading subsampled data.Sebastian Rasmussen
This bug caused an indeterminism with issue726.j2k.
2017-06-02tiff: Avoid dropping wild pointer in case of error.Sebastian Rasmussen
2017-06-01tiff: Check for degenerate YCbCr subsampling factors.Sebastian Rasmussen
2017-05-31Avoid double literals causing casts to float.Sebastian Rasmussen
2017-05-31Change forgotten M_PI uses to FZ_PI.Sebastian Rasmussen
2017-05-29Tweak JPEG2000 colorspace detection.Tor Andersson
2017-05-29sort input filesBernhard M. Wiedemann
when building packages (e.g. for openSUSE Linux) (random) filesystem order of input files influences ordering of functions in the output, thus without the patch, builds (in disposable VMs) would differ. See https://reproducible-builds.org/ for why this matters.
2017-05-29Make PI/RADIAN/SQRT2/LN2 global single precision float constants.Sebastian Rasmussen
2017-05-29java: Avoid casts where original type can be used.Sebastian Rasmussen
2017-05-27Bug 697947: Handle Illegal hex codes in PDF names.Sebastian Rasmussen
PDF 1.2 and prior treats # in PDF names to be regular characters. PDF 1.2 and later treats # as escape characters for character hex codes. Previously illegal hex codes, e.g. #BX, were partially parsed as escaped hex codes and the illegal remainder parsed as regular characters. Now illegal hex codes are handled as consisting entirely of regular characters. Note that character code 0 is also considered to be an illegal hex code.
2017-05-27Handle extremely long PDF names.Sebastian Rasmussen
Previously the parser would cut these names short and then parse the remainder as a separate name.
2017-05-25Add -Wdeclaration-after-statement.Tor Andersson
This warning should help us not break Windows builds when working on Linux. Clang claims to support this warning, but seems to silently ignore it. To get any use from this we should make sure to test build with GCC.