summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2018-11-13gl: Calculate accurate initial window size when scaling to fit screen.Tor Andersson
2018-11-13Bug 692592: Handle relative file links.Tor Andersson
The core library doesn't know where a document comes from, since we can open it as a stream, etc. Let the viewer handle relative file URLs.
2018-11-13Bug 696569: Get rid of drop shadow and use black background when inverted.Tor Andersson
2018-11-13Use fz_image.imagemask field when adding PDF image resources.Tor Andersson
Don't pass the information as a separate argument.
2018-11-12Fix 697783: Invert mouse wheel mapping in mupdf-win32.Tor Andersson
A positive wParam value maps to button rotated forward, away from the user, which is equivalent to button 4 in X11.
2018-11-12Remove bitrotted and not working PDF portfolio code.Tor Andersson
Extracting embedded files can be trivially done with 'mutool show' or a simple mutool run script. The portfolio creation code is incomplete, and would require a lot of work and testing with Adobe in order to be useful.
2018-11-09Fix 698734: Use invoked binary name in usage message for mupdf-x11.Mohamad Barbar
2018-11-09Fix 698320: Add 'z' keybinding to reset zoom.Tor Andersson
This matches the behaviour of mupdf-gl.
2018-11-09Fix 696302: Support numeric keypad arrow keys in mupdf-x11.Tor Andersson
2018-11-09Fix 697461: Use floating point resolution in mupdf-x11.Tor Andersson
Fitting the page to the screen needs more precision than an integer DPI.
2018-11-09Fix 696310: Limit the initial window size to fit on the screen.Tor Andersson
Also zoom to fit the window.
2018-11-09Fix 695893: Match page rotation when creating FreeText annotations.Tor Andersson
This uses an undocumented Rotate property of annotations, which is also used by Adobe.
2018-11-09Update mupdf-gl documentation.Tor Andersson
2018-11-08Fix 699336: Add more levels to mupdf-x11 zoom list.Tor Andersson
2018-11-07Fix 699840: Use saved sig_widget pointer to sign signatures, not selected_annot.Tor Andersson
2018-11-07Fix 700131: Reverse ctl+wheel zoom direction.Tor Andersson
Behave like Firefox, Gimp, etc.
2018-11-07Fix 700053: Add 'decrypt' option to pdf_save_document.Tor Andersson
This option is exposed as the -D flag to mutool clean. Allow saving a document without encryption. The next step is to allow saving a document with new encryption, but this may require a fair amount of rejigging since the PDF write code to keep separate doc->crypt objects for decryption and encryption.
2018-10-26Fix Page.search() to return a Quad[], not a Rect[].Fred Ross-Perry
Fix DisplayList.search() to return a Quad[], not a Rect[]. Add a Rect constructor that takes a Quad. Modify the sample Java viewer accordingly. This is necessary to (partially) fix SmartOffice bug #700031.
2018-10-23Remove extra blank lines.Tor Andersson
2018-10-23gl: Fix launching mupdf-gl to the page number passed on the command line.Tor Andersson
2018-10-23Add Emscripten / WebAssembly build.Tor Andersson
Requires Linux (or possibly MacOS X) and an installed emsdk to build.
2018-10-17MSVC: Fix libluratech.vcproj.Robin Watts
Was set to create an exe rather than a lib. For some reason this didn't upset VS2005, but did upset VS2008.
2018-10-15Update lcms2 to lcms2mt.Robin Watts
Pull in the latest changes from mainline lcms2, and bugfixes from gs. This should now be the definitive version.
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