Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-13 | Don't pass -Wdeclaration-after-statement to C++ compiler. | Tor Andersson | |
2017-12-13 | Parse XML using pool allocator. | Tor Andersson | |
This needs adding a fz_xml_doc type to hold the pool. | |||
2017-12-13 | Fix 698785: Catch malformed numbers in PDF lexical scanner. | Tor Andersson | |
Return error tokens when parsing numbers with trailing garbage rather than ignoring the extra characters. Also handle error tokens more gracefully in array and dictionary parsing. Treat error tokens as the 'null' keyword and continue parsing. | |||
2017-12-13 | Fix 698787: avoid using "system()" to copy files. | Tor Andersson | |
2017-12-13 | Put extra apps in separate (non-default) makefile build target. | Tor Andersson | |
2017-12-13 | Add 'clean' option to pdfclean to clean (but not sanitize) content streams. | Tor Andersson | |
This goes well with the 'mutool clean -d' decompression option to debug content streams, without doing the sanitize optimization pass. | |||
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-12-13 | Import FreeGLUT fixes for clipboard and unicode input. | Tor Andersson | |
Fixes issues with dead keys in unicode input. | |||
2017-12-08 | Fix SEGV in redaction code due to TJ with no chars. | Robin Watts | |
If the first TJ we meet in a file has an adjustment, but no chars, then we end up calling 'adjustment' without ever having set fontdesc. This causes a crash. Fix it here. | |||
2017-12-06 | Ensure that our ICC base spaces have colorant names. | Robin Watts | |
2017-12-06 | Update fz_convert_separation_colors to cope with unnamed separations. | Robin Watts | |
Well, at least not to crash. | |||
2017-12-06 | Bug 698801: Always copy background in when clipping an imagemask. | Robin Watts | |
Don't attempt to rely on alpha, as it is incompatible with the way we clip through the mask at the end. | |||
2017-11-23 | Bump version number to 1.12.0. | Tor Andersson | |
2017-11-23 | Update CHANGES. | Tor Andersson | |
2017-11-23 | Allow RGB based proofing profile and output intent | Michael Vrhel | |
Also do not do the extra group push if the destination pixmap is in the proper color space and has all the required sep support. | |||
2017-11-23 | Workaround freetype synthesizing unicode cmaps. | Tor Andersson | |
2017-11-23 | Make time stamps 64-bit integers. | Tor Andersson | |
Future proof the API for the Year 2038 problem. | |||
2017-11-22 | Remove unused annotation function. | Tor Andersson | |
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 | Add pdf_new_text_string utility function. | Tor Andersson | |
Create a PDF 'text string' type string from a UTF-8 input string. If the input is plain ASCII, keep it as is, otherwise re-encode it as UTF-16BE. | |||
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 | js: Return undef when not finding metadata. | Sebastian Rasmussen | |
Previously when metadata was not found mupdf still tried to return a string to the caller, but the string was uninitialized. | |||
2017-11-22 | Add usage for missing options to pdf-write. | Sebastian Rasmussen | |
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-22 | Use custom allocator everywhere zlib is used. | Sebastian Rasmussen | |
2017-11-22 | Warn on irretrievable glyph name. | Sebastian Rasmussen | |
2017-11-22 | Update freeglut and change freeglut build output directory. | Tor Andersson | |
It should be in "build/$release/thirdparty/freeglut". | |||
2017-11-22 | Skip unnecessary newline when writing ASCII streams. | Tor Andersson | |
2017-11-17 | Fix build if lcms2 is not present. | Tor Andersson | |
We NEED lcms2art (the artifex branch) and cannot build with stock lcms2. Disable ICC support if the lcms2 thirdparty library is not present. | |||
2017-11-17 | Purge remnants of GLFW. | Tor Andersson | |
2017-11-15 | Bug 698740: Avoid NULL fz_default_colorspaces structures. | Robin Watts | |
Remove code left over from development that is now wrong. We should have default colorspaces in the system, even in NON_ICC builds. | |||
2017-11-15 | Bug 698745: Avoid broken colorspaces in NO_ICC builds. | Robin Watts | |
If we attempt to make an icc colorspace in a NO_ICC build, throw an exception. This stops us ending up with 'UNKNOWN' colorspaces in the system. | |||
2017-11-14 | Ensure that after_text functions get ctm. | Robin Watts | |
Also wrap their contents in q/Q, so they can't screw up the rest of the stream. | |||
2017-11-14 | Ensure filter inits the Trm values on a BT. | Robin Watts | |
Otherwise we can get empty bbox values. | |||
2017-11-14 | Rejig filter internals slightly. | Robin Watts | |
Hold 2 instances of a structure, rather than a structure with 2 of each fields in it. Also, correct the logic for when we send color changes. | |||
2017-11-13 | Update docs for Android SDK. | Tor Andersson | |