summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2018-10-04Fix simple typos.1.14.0Tor Andersson
2018-10-03gl: Save history in all normal exit situations.Tor Andersson
Also save history when glut closes the window or otherwise exits the main loop.
2018-09-26Update Android build.Tor Andersson
2018-09-25Update Harfbuzz submodule to version 1.9.0.Tor Andersson
This release includes the auto-generated ragel files, so we don't need to use the Artifex branch anymore.
2018-09-25gl: Save history and bookmarks in ~/.mupdf.history.Tor Andersson
Use MuJS to parse/write JSON object.
2018-09-25Fix bin2coff rules to allow project directories with spaces in them.Tor Andersson
Such as the Windows XP "C:\Documents and Settings\" user directories.
2018-09-25gl: Fix dialog size calculation in text field dialog.Tor Andersson
2018-09-21gl: Form filling UI.Tor Andersson
When clicking a text/choice/signature field, pop up a dialog to fill in the value. Hide widget annotations in annotation editor.
2018-09-21gl: Break UI lines on space characters.Tor Andersson
2018-09-21Regularize language and script names.Tor Andersson
Drop the unused 'serif' argument to the CJK lookup functions. Use the BCP 47 names for CJK scripts and languages: zh-Hant for traditional Chinese, zh-Hans for simplified Chinese, ja for Japanese, ko for Korean. The lookup function also allows commonly used language+country codes: zh-TW and zh-HK for traditional Chinese, zh-CN for simplified Chinese.
2018-09-21Don't build freetype source files twice.Tor Andersson
Don't bother compiling the freetype C files that are #included by ftbase.c This fixes a harmless "repeated symbol" warning in the windows build.
2018-09-20Be consistent in use of #if FZ_ENABLE_...Robin Watts
Using #ifdef FZ_ENABLE_ means we build code in, even if we have defined FZ_ENABLE_WHATEVER to be 0 (as we do in config.h).
2018-09-19Add DebugGSView and ReleaseGSView configs.Robin Watts
2018-09-19gl: ifdef freeglut specific API calls so it will build on MacOS.Tor Andersson
2018-09-19Update to OpenJPEG 2.3.0.Sebastian Rasmussen
There is a regression for 2325_-_JPX_image_with_padding_rejected.pdf. Object 3 in that document is a JPX-encoded image. Its EOC marker is preceded by two extra bytes of data, 0x80 0x80. This makes the file broken according to the JPEG 2000 specification. Acrobat Reader and the Kakadu JPX decoder accepts this file without issues, so OpenJPEG 2.1.0 added code to fix this (bug 226, commit 005e75bdc). That fix detects exactly two bytes of 0x80 0x80, a rather brittle fix. Adding more padding or changing the padding byte values is not accepted. Adding more padding is acceptable to Acrobat Reader and Kakadu. An unrelated fix for another problem has since broken OpenJPEG's support for this broken image.
2018-09-16Update VS solution to cope with PKCS7 build changes.Robin Watts
2018-09-07jni: Check exposed constants for consistency with C constants.Sebastian Rasmussen
2018-09-07jni: Remove unused flags and improve the names of some others.Sebastian Rasmussen
2018-09-07jni: Depend on fz_buffer() for default buffer size.Sebastian Rasmussen
2018-09-07jni: Make Device interface abstract.Sebastian Rasmussen
This requires subclasses of Device to implement its full interface. It also makes the compiler complain if there is a difference between the interface in Device and its subclasses. The drawback is that all Devices are required to implement all methods, but that is an easy hurdle to overcome. This change found the discrepancies between the Device, NativeDevice and TraceDevice interfaces fixed in the previous commits.
2018-09-07jni: Update TraceDevice to adhere to Device interface.Sebastian Rasmussen
Several previous updates to the Device interface required updates to TraceDevice but were forgotten.
2018-09-07jni: Improve whitespace situation in TraceDevice.Sebastian Rasmussen
2018-09-07jni: Update NativeDevice to adhere to Device interface.Sebastian Rasmussen
2018-09-07jni: Make Device interface in Java and JNI correspond to each other.Sebastian Rasmussen
2018-09-07jni: Fix typo in ColorParams.Sebastian Rasmussen
2018-09-06jni: Remove redundant public access modifier.Sebastian Rasmussen
Abstract methods in interfaces offer no implementation and are implicitly declared public, making a public access modifier redundant.
2018-09-06jni: Add interface for snapping selection to structured text.Sebastian Rasmussen
2018-09-06jni: Add StructuredTextWalker interface.Sebastian Rasmussen
2018-09-05gl: Close password dialog when pressing Escape key.Tor Andersson
2018-09-05gl: Allow varying font sizes in text rendering.Tor Andersson
2018-08-31Visual Studio Solution tweaks.Robin Watts
Ensure that the generated libmupdf includes all library dependencies within it. This makes life easier for people linking MuPDF into their own projects as there is just one lib to include rather than a range of them that vary according to condfiguration. Fix 64bit Memento builds of libpkcs7. Remove double definitions of jpeg_get_small etc that are now shown up because of the libraries being merged into one.
2018-08-21gl: Don't forget to terminate the string when clearing a text field.Tor Andersson
2018-08-20Fix the Windows build.Paul Gardiner
Offer signing support only if we have libcrypto.
2018-08-10The proper term is apparently 'filename extension', not 'suffix'.Tor Andersson
2018-08-10gl: Add glutLeaveMainLoop workaround for Apple's GLUT library.Tor Andersson
2018-08-10Use proper name space for form field flag constants.Tor Andersson
2018-08-10Tweak hexdumped data to increase build portability.Tor Andersson
Follow bin2coff layout for hexdumped data instead of trying to emulate the objcopy layout (which seems to break for the android tools). Only use the basename of the resource in hexdump / bin2coff. Ifdef on HAVE_OBJCOPY instead of _WIN32.
2018-08-10Fix Android java build.Tor Andersson
2018-08-10Respect NoRotate flag for icon-based annotations.Tor Andersson
2018-08-10Use stubs instead of conditional compile with HAVE_LIBCRYPTO.Tor Andersson
The macro is only set when building the pkcs7-helper library, so cannot be used by client code. Build stub functions when compiling the pkcs7-openssl helper library without libcrypto.
2018-08-10Add digital signature UI stubs to mujstest.Tor Andersson
2018-08-10gl: Adobe allows border widths from 0 to 12.Tor Andersson
2018-08-10FIXUP pdf_update_page: use JNI_FALSETor Andersson
2018-08-10Rejig pdf_update_page and pdf_update_annot.Tor Andersson
The intent is for a user to iterate over the annotations on a page calling pdf_update_annot for each one. If this function returns true, then the annotation has changed since the last time it was called, and the user needs to re-render. pdf_update_page is a simple loop over the annotations on a page, for use if you only care about page level granularity. Users should no longer look at or change the pdf_annot.has_new_ap field.
2018-08-01Update jbig2dec.Sebastian Rasmussen
2018-07-17Have pdfapp_save close and reopen the document in all casesPaul Gardiner
We need to do this, because much can change on saving, objects renumbered and moved, and we could run into inconsistencies between the file and in-memory information. This function was already reopening in the case of saving back to the same file, but in other cases.
2018-07-17Add MementoOpenSSL configurations.Robin Watts
2018-07-09Silence gcc warnings about non-const arguments.Sebastian Rasmussen
2018-07-06Only do signing if HAVE_LIBCRYPTO is defined.Robin Watts
2018-07-06Fix stray consts.Robin Watts