Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-16 | Fix java build. | Tor Andersson | |
2018-03-16 | jni: Fix expression conflating booleans and bitfields. | Sebastian Rasmussen | |
2018-03-12 | jni: Fix reference counting when creating PDF annotations. | Sebastian Rasmussen | |
2018-03-12 | jni: Temporary fix to make sure annot AP field is updated. | Tor Andersson | |
2018-03-07 | Fix 699081: Missing coordinate transformation when copying text. | Tor Andersson | |
2018-02-27 | Remove pdf_xobject wrapper struct. | Tor Andersson | |
Just use the pdf_obj directly. Revise ap_iteration and split annot->dirty into separate flags. One flag for needs_new_ap, and one for has_new_ap (to be used by clients who may have cached a rendered annotation). | |||
2018-02-27 | Use fz_point for pdf_set_annot_ink_list and vertices too. | Tor Andersson | |
2018-02-27 | Improve line ending style accessors. | Tor Andersson | |
2018-02-27 | Add annotation Vertices creation functions. | Tor Andersson | |
2018-02-27 | jni: Add the ability to supply extra C flags to Android libmupdf builds. | Fred Ross-Perry | |
Use the MUPDF_EXTRA_CFLAGS, CPPFLAGS, LDLIBS, and LDFLAGS variables. | |||
2018-02-27 | Use text encoding for pdf_choice_widget options and values. | Tor Andersson | |
Adds a requirement on the caller to free the returned strings. | |||
2018-02-13 | Add JNI and JS bindings to layer device calls. | Tor Andersson | |
2018-02-12 | Clear search highlight when opening a new search, or hitting escape. | Tor Andersson | |
2018-02-08 | jni: Remove unnecessary close callback in seekable stream interface. | Tor Andersson | |
2018-02-08 | Update Windows build to properly handle pkcs7 reorganisation | Paul Gardiner | |
Remove direct inclusion of pkcs7 source from the mupdf project and create a separate libpkcs7 project with others as dependants | |||
2018-02-02 | Signature support: add a null pdf_check_signature function | Paul Gardiner | |
Add a version of pdf_check_signature function that reports no support, for builds without openssl. This allows the removal of ifdefs from the apps. | |||
2018-02-02 | Signature support: fix windows build for the openssl-present case | Paul Gardiner | |
2018-02-02 | Signature support: decouple mupdf from the pkcs7 implementation | Paul Gardiner | |
The mupdf build included an implimentation of the pkcs7 functions that are needed for signing documents and verifying signatures, the implementation being either an openssl-based one, or a stub that returned errors. This commit removes the pkcs7 functions from the main mupdf library. For the sake of verification, there wasn't really a need for the pkcs7 functions to be part of mupdf. It was only the checking function that used them. The checking function is now provided as a helper, outside of the main build. The openssl-based pkcs7 functions area also supplied as a helper. Users wishing to verify signatures can either use the checking function directly, or use the source on which to base their own. Document signing requires more integration between mupdf and pkcs7 because part of the process is performed at time of signing and part when saving the document. Mupdf already had a pdf_pkcs7_signer object that kept information between the two phases. That object has now been extended to include the pkcs7 functions involved in signing, and the signing function now requires such an object, rather than a file path to a certificate. The openssl-based pkcs7 helper provides a function that, given the path to a certificate, will return a pdf_pkcs7_signer object. The intention is that different implementations can be produced for different platforms, based on cryptographic routines built into the operationg system. In each case, for the sake of document signing, the routines would be wrapped up as a pdf_pkcs7_signer object. | |||
2018-02-02 | Signature support: separate pkcs7 specifics into a separate file. | Paul Gardiner | |
Previously, pdf-pkcs7.c contained mishmash of functions required for creating and checking signatures, with no separation between the parts relating to pdf and those relating to pkcs7. This commit introduces pdf_signature.c which contains the pdf specifics, leaving pdf-pkcs7.c to be purely pkcs7 functions. This should more easily allow the use of pkcs7 solutions other than openssl. The pkcs7 api is declared in pdf-pkcs7.h. It is entirely free of mupdf specifics, other than using an fz_stream to specify the bytes to be hashed. | |||
2018-01-31 | java: Don't overwrite LD_LIBRARY_PATH in 'run' target in java makefile. | Tor Andersson | |
2018-01-31 | Fix 698878: Mouse wheel scrolling. | Tor Andersson | |
2018-01-31 | Add buffering to fz_output. | Tor Andersson | |
2018-01-31 | Update mupdf_native.h header. | Tor Andersson | |
2018-01-27 | jni: Add Java interfaces to fz_stream and fz_output types. | Tor Andersson | |
This will allow us to read and write documents using I/O written in Java, exposed by SeekableInputStream and SeekableOutputStream. We supply an example FileStream which implements seekable streams backed by a RandomAccessFile. | |||
2018-01-19 | Perform signature verification via fz_stream | Paul Gardiner | |
Previously, signature verification worked only for file-based documents and the file path had to be passed into the verification function. | |||
2018-01-15 | Bug 698857: Delete local reference after use. | Sebastian Rasmussen | |
Without deleteing it the local reference table may overflow. | |||
2018-01-15 | Use C comments instead of C++ comments. | Fred Ross-Perry | |
2018-01-04 | Add portable pseudo-random number generator based on the lrand48 family. | Tor Andersson | |
2017-12-13 | Fix 698787: avoid using "system()" to copy files. | Tor Andersson | |
2017-12-13 | gl: Tell glut to return from main loop when the window closes. | Tor Andersson | |
This allows us to clean up memory so we can check for memory leaks. Also fix one memory leak. | |||
2017-11-22 | jni/js: Add support for annotation modification dates. | Sebastian Rasmussen | |
2017-11-22 | jni/js: Use correct text encoding in annotation author and contents. | Fred Ross-Perry | |
Also clarify that a copy of author/contents is returned, and that the caller must free them. | |||
2017-11-22 | jni/js: Add interfaces for creating UTF-16BE and PDF byte strings. | Sebastian Rasmussen | |
This mirrors the existing PDFObject.asByteString(). | |||
2017-11-22 | jni: Remove unnecessary PDFObject.asByteName(). | Sebastian Rasmussen | |
2017-11-22 | jni: Make sure to dirty annotation whenever it changes. | Fred Ross-Perry | |
2017-11-22 | jni: Silence warning by casting boolean to integer. | Sebastian Rasmussen | |
2017-11-22 | jni: Fix bugs in StructuredText_getBlocks(). | Fred Ross-Perry | |
When iterating through blocks, make sure to include text blocks. After building the char array for a given line, be sure to add it to the line object. | |||
2017-11-22 | jni: Put destination coordinates into Outline object. | Fred Ross-Perry | |
2017-11-22 | jni: Free quadpoints and vertices upon JNI error. | Sebastian Rasmussen | |
2017-11-22 | jni: Only keep the reference when the java constructor succeeds. | Sebastian Rasmussen | |
2017-11-22 | jni: Check for exception after allocating objects. | Sebastian Rasmussen | |
2017-11-22 | jni: Initialize Context before using any MuPDF classes. | Sebastian Rasmussen | |
2017-11-22 | jni: Return correct quadpoints coordinates. | Sebastian Rasmussen | |
2017-11-22 | jni: Return correct inklist coordinates. | Sebastian Rasmussen | |
2017-11-22 | jni: Prevent memory leak by freeing upon error. | Sebastian Rasmussen | |
Previously the counts and points arrays would leak if GetFloatArrayRegion() threw an exception. | |||
2017-11-22 | jni: Clarify initialization order in Context. | Sebastian Rasmussen | |
Previously the initialization order of init() and the field inited was not obvious. Move the static block as far up as possible but make sure that inited is initialized before that. Also add a comment explaining why. | |||
2017-11-22 | Prefer using fz_snprintf over snprintf. | Sebastian Rasmussen | |
This way the MuPDF library itself only uses fz_snprintf for consistent formatting. | |||
2017-11-17 | Purge remnants of GLFW. | Tor Andersson | |
2017-11-13 | gl: Fix GLUT build on MacOS X. | Tor Andersson | |
2017-11-13 | gl: Make KEY_DELETE match actual ASCII DEL code. | Tor Andersson | |