Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-05 | gl: Close password dialog when pressing Escape key. | Tor Andersson | |
2018-09-05 | gl: Allow varying font sizes in text rendering. | Tor Andersson | |
2018-08-31 | Visual 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-21 | gl: Don't forget to terminate the string when clearing a text field. | Tor Andersson | |
2018-08-20 | Fix the Windows build. | Paul Gardiner | |
Offer signing support only if we have libcrypto. | |||
2018-08-10 | The proper term is apparently 'filename extension', not 'suffix'. | Tor Andersson | |
2018-08-10 | gl: Add glutLeaveMainLoop workaround for Apple's GLUT library. | Tor Andersson | |
2018-08-10 | Use proper name space for form field flag constants. | Tor Andersson | |
2018-08-10 | Tweak 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-10 | Fix Android java build. | Tor Andersson | |
2018-08-10 | Respect NoRotate flag for icon-based annotations. | Tor Andersson | |
2018-08-10 | Use 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-10 | Add digital signature UI stubs to mujstest. | Tor Andersson | |
2018-08-10 | gl: Adobe allows border widths from 0 to 12. | Tor Andersson | |
2018-08-10 | FIXUP pdf_update_page: use JNI_FALSE | Tor Andersson | |
2018-08-10 | Rejig 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-01 | Update jbig2dec. | Sebastian Rasmussen | |
2018-07-17 | Have pdfapp_save close and reopen the document in all cases | Paul 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-17 | Add MementoOpenSSL configurations. | Robin Watts | |
2018-07-09 | Silence gcc warnings about non-const arguments. | Sebastian Rasmussen | |
2018-07-06 | Only do signing if HAVE_LIBCRYPTO is defined. | Robin Watts | |
2018-07-06 | Fix stray consts. | Robin Watts | |
2018-07-06 | gl: Add signing UI for Digital Signatures. | Tor Andersson | |
All the "Sign" button does for now is recreate the appearance stream. | |||
2018-07-06 | gl: Multi-line labels. | Tor Andersson | |
2018-07-05 | Signature support: add signing support to the windows app | Paul Gardiner | |
2018-07-05 | Add fz_transform_page helper function. | Tor Andersson | |
Create a matrix that transforms a page with resolution and rotation, and grid fits the resulting bounding box. | |||
2018-07-05 | Pass rects by value: device and document interface. | Tor Andersson | |
2018-07-05 | Pass matrices by value: device and document interface. | Tor Andersson | |
2018-07-05 | Pass rect and matrix by value in geometry functions. | Tor Andersson | |
Several things irk me about passing values as const pointers: * They can be NULL, which is not a valid value. * They require explicit temporary variables for storage. * They don't compose easily in a legible manner, requiring weird pointer passing semantics where the variable being assigned is hidden as an argument in the innermost function call. * We can't change the value through the pointer, requiring yet more local variables to hold copies of the input value. In the device interface where we pass a matrix to a function, we often find ourselves making a local copy of the matrix so we can concatenate other transforms to it. This copying is a lot of unnecessary busywork that I hope to eventually avoid by laying the groundwork with this commit. This is a rather large API change, so I apologize for the inconvenience, but I hope the end result and gain in legibility will be worth the pain. | |||
2018-07-05 | gl: Poll changed annots with pdf_update_page, and clear after rendering. | Tor Andersson | |
2018-07-04 | Add fz_snap_selection function to snap selection to chars/words/lines. | Tor Andersson | |
Updates the input point coordinates, and also returns a quad with appropriate UI handles. | |||
2018-07-04 | gl: Track modifier keys during mouse events too. | Tor Andersson | |
2018-07-04 | Rename pdf_get_annot_contents to pdf_annot_contents. | Tor Andersson | |
Since the function no longer returns ownership of the string, use the common naming convention. | |||
2018-07-04 | java: Fix bugs introduced when caching text strings in pdf_obj. | Tor Andersson | |
2018-06-22 | Update base 14 fonts to URW++ release from 2017-07-27. | Tor Andersson | |
The Dingbats and Symbol fonts have not been changed. | |||
2018-06-22 | Use fz_quad type in structured text and selection/highlighting. | Tor Andersson | |
2018-06-22 | Keep copy of decoded utf8 text string in pdf_obj. | Tor Andersson | |
Removes the need to alloc/free text strings in the API, allowing for simple functions like pdf_dict_get_text_string. | |||
2018-06-22 | gl: Edit widget values in annotation editor. | Tor Andersson | |