Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-25 | Fix 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-25 | gl: Fix dialog size calculation in text field dialog. | Tor Andersson | |
2018-09-21 | gl: 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-21 | gl: Break UI lines on space characters. | Tor Andersson | |
2018-09-21 | Add 'fix-s22pdf.js' script to examples. | Tor Andersson | |
2018-09-21 | Add fz_lookup_cjk_font_by_name to create builtin CJK fonts. | Tor Andersson | |
2018-09-21 | Regularize 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-21 | Don'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-20 | Be 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-20 | Bug 699798: Avoid removing page from list if page was not loaded. | Sebastian Rasmussen | |
MuPDF may attempt to load a page but fail to do so, e.g. due to a circular page tree. When this happens the page will never be introduced into the document's list of pages. Its next and prev pointers are both NULL, but the code in fz_drop_page() falsely assumed that the prev pointer was always set. Thanks to oss-fuzz for reporting. | |||
2018-09-19 | Add DebugGSView and ReleaseGSView configs. | Robin Watts | |
2018-09-19 | Update MuJS submodule to version 1.0.5. | Tor Andersson | |
2018-09-19 | gl: ifdef freeglut specific API calls so it will build on MacOS. | Tor Andersson | |
2018-09-19 | Add accessor for field text label. | Tor Andersson | |
2018-09-19 | Make fz_page objects singleton. | Tor Andersson | |
Keep a list of currently open pages for each document. Attempting to load a page that is already loaded will return the same instance again. | |||
2018-09-19 | Fix warning. | Tor Andersson | |
2018-09-19 | Update 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-16 | Update VS solution to cope with PKCS7 build changes. | Robin Watts | |
2018-09-16 | GPROOF: Move away from unlink to remove. | Robin Watts | |
This removes the need for unistd.h, which isn't around on VS2005. Also remove unused variable. | |||
2018-09-13 | jpx: Handle ICC color profiles. | Sebastian Rasmussen | |
2018-09-13 | Bug 699769: Fix bugs in upsampling code for JPX images. | Sebastian Rasmussen | |
The upsampling code in the JPX decode attempted to guess a suitable upsampling factor. The guessed factor was wrong, causing writes of samples outside of the decoded image buffer. Simply limiting the coordinates to the image buffer would not suffice because the factor was wrong for every upsampled row of pixels. openjpeg does provide an upsampling factor, so use that instead and also take the component offsets into account when decoding components into the pixmap. Combined this resolves the issue that previously triggered ASAN. Thanks to oss-fuzz for reporting. | |||
2018-09-13 | Bug 699768: Drop default colorspaces even if page transformation fails. | Sebastian Rasmussen | |
pdf_page_transform() may throw due to a cycle in the page tree. When this happened mupdf would previously forget to drop the default colorspaces obtained, after this commit they are dropped. Thanks to oss-fuzz for reporting. | |||
2018-09-13 | Make naming of effective overprint argument consistent. | Sebastian Rasmussen | |
2018-09-13 | Bug 699750: Check for overprinting correctly. | Sebastian Rasmussen | |
2018-09-12 | Update freetype to version 2.9.1. | Sebastian Rasmussen | |
2018-09-12 | Set the profile BGR flag for non-default ICC colorspaces too. | Sebastian Rasmussen | |
2018-09-07 | jni: Check exposed constants for consistency with C constants. | Sebastian Rasmussen | |
2018-09-07 | jni: Remove unused flags and improve the names of some others. | Sebastian Rasmussen | |
2018-09-07 | jni: Depend on fz_buffer() for default buffer size. | Sebastian Rasmussen | |
2018-09-07 | jni: 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-07 | jni: 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-07 | jni: Improve whitespace situation in TraceDevice. | Sebastian Rasmussen | |
2018-09-07 | jni: Update NativeDevice to adhere to Device interface. | Sebastian Rasmussen | |
2018-09-07 | jni: Make Device interface in Java and JNI correspond to each other. | Sebastian Rasmussen | |
2018-09-07 | jni: Fix typo in ColorParams. | Sebastian Rasmussen | |
2018-09-07 | Bug 699743: Pop clip upon error when flushing text. | Sebastian Rasmussen | |
Not popping causes assert to be triggered in fz_draw_end_group(). | |||
2018-09-06 | jni: 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-06 | jni: Add interface for snapping selection to structured text. | Sebastian Rasmussen | |
2018-09-06 | jni: Add StructuredTextWalker interface. | Sebastian Rasmussen | |
2018-09-06 | Bug 699723: Free alternative colorspace upon error when loading ICC colorspace. | Sebastian Rasmussen | |
2018-09-06 | Fix typo in size field of ICC profile colorspace. | Sebastian Rasmussen | |
2018-09-06 | Bug 699717: Pop clip even in case of error. | Sebastian Rasmussen | |
Not popping causes assert to be triggered in fz_draw_end_group(). | |||
2018-09-05 | Take colorspace name from ICC profile. | Sebastian Rasmussen | |
2018-09-05 | Bug 699715: Support embedded ICC color profiles in GIF. | Sebastian Rasmussen | |
2018-09-05 | When decoding GIF, move pixmap into struct so it can be changed. | Sebastian Rasmussen | |
This makes it possible to change the colorspace when encountering ICC colorspaces. | |||
2018-09-05 | Bug 699702: Handle ICC profiles split into multiple APP-markers. | Sebastian Rasmussen | |
2018-09-05 | Add missing fz_var declarations. | Tor Andersson | |
2018-09-05 | Add fz_new_stext_page_from_annot utility function. | Tor Andersson | |
2018-09-05 | gl: Close password dialog when pressing Escape key. | Tor Andersson | |
2018-09-05 | gl: Allow varying font sizes in text rendering. | Tor Andersson | |