summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2017-11-22jni/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-22jni/js: Add interfaces for creating UTF-16BE and PDF byte strings.Sebastian Rasmussen
This mirrors the existing PDFObject.asByteString().
2017-11-22jni: Remove unnecessary PDFObject.asByteName().Sebastian Rasmussen
2017-11-22jni: Make sure to dirty annotation whenever it changes.Fred Ross-Perry
2017-11-22jni: Silence warning by casting boolean to integer.Sebastian Rasmussen
2017-11-22jni: 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-22jni: Put destination coordinates into Outline object.Fred Ross-Perry
2017-11-22jni: Free quadpoints and vertices upon JNI error.Sebastian Rasmussen
2017-11-22jni: Only keep the reference when the java constructor succeeds.Sebastian Rasmussen
2017-11-22jni: Check for exception after allocating objects.Sebastian Rasmussen
2017-11-22jni: Initialize Context before using any MuPDF classes.Sebastian Rasmussen
2017-11-22jni: Return correct quadpoints coordinates.Sebastian Rasmussen
2017-11-22jni: Return correct inklist coordinates.Sebastian Rasmussen
2017-11-22jni: Prevent memory leak by freeing upon error.Sebastian Rasmussen
Previously the counts and points arrays would leak if GetFloatArrayRegion() threw an exception.
2017-11-22jni: 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-22Prefer using fz_snprintf over snprintf.Sebastian Rasmussen
This way the MuPDF library itself only uses fz_snprintf for consistent formatting.
2017-11-17Purge remnants of GLFW.Tor Andersson
2017-11-13gl: Fix GLUT build on MacOS X.Tor Andersson
2017-11-13gl: Make KEY_DELETE match actual ASCII DEL code.Tor Andersson
2017-11-13gl: Fix busy loop.Tor Andersson
glutMainLoopEvent does not sleep for events, so use glutMainLoop instead and destroy the window when 'q' is pressed rather than just setting the quit flag.
2017-11-10Purge obsolete NDK_PROFILER code.Tor Andersson
2017-11-10jni: Update for StructuredText highlight and copy changes.Tor Andersson
2017-11-09Fix windows build of GL app.Robin Watts
2017-11-09VS2005: Fix Freeglut build.Robin Watts
2017-11-08Be a bit paranoid.Tor Andersson
We currently don't handle errors here, but if we do in the future we don't want stale pointers lying around.
2017-11-08Select and copy structured text by lines.Tor Andersson
2017-11-08gl: Remove GLFW and reinstate FreeGLUT.Tor Andersson
GLFW doesn't build on Visual Studio 2005 anymore, and I don't have time to keep up with the changes. So, we're switching back to FreeGLUT, which is more stable. I've added the two missing features that made us switch to GLFW in the first place: input methods and system clipboard support. If MuPDF is compiled with our version of FreeGLUT, we now use these functions: * glutKeyboardExtFunc * glutSetClipboard * glutGetClipboard
2017-11-08Bug 698616: Fix use after free in Page_textAsHtmlRobin Watts
2017-11-08Use fz_snprintf in preference to snprintf.Robin Watts
If nothing else, this avoids warnings on VS2005.
2017-11-06Update lcms2art with the latest from lcms2 (2.9).Robin Watts
2017-11-01Add separate fz_close_output step.Tor Andersson
Closing flushes output and may throw exceptions. Dropping frees the state and never throws exceptions.
2017-11-01Use int64_t for public file API offsets.Tor Andersson
Don't mess with conditional compilation with LARGEFILE -- always expose 64-bit file offsets in our public API.
2017-10-16Add missing pdfsign.c file to MSVC project.Robin Watts
2017-10-13Add fz_deflate family of functions.Robin Watts
This gives us a friendlier interface to zlib. Simplifies PNG output and PCLM output code.
2017-10-13Simple PCLm device.Robin Watts
Both bandwriter and document_writer interfaces cope with multi page docs. Update mudraw to output pclm format too. Incorporates fixes from Tor.
2017-10-12Purge out of date separation bindings.Tor Andersson
2017-09-20gl: Remember scroll position in history and bookmarks.Tor Andersson
2017-09-20gl: Scroll to link coordinates when following links.Tor Andersson
Also save link coordinates in outline nodes.
2017-09-20gl: Add 'I' invert colors command.Tor Andersson
Also apply an inverse gamma correction curve.
2017-09-07Make sure to always drop a fz_device even upon error.Sebastian Rasmussen
2017-08-21Remove redundant fz_stext_char_bbox function.Tor Andersson
2017-08-17Fix Android java build: harfbuzz memory callbacks.Tor Andersson
2017-08-17Update java for structured text and other changes.Tor Andersson
2017-08-17Simplify stext structure and device.Tor Andersson
* Use pool allocator and linked lists for all levels. * Remove separate fz_stext_sheet struct. * Remove unused 'script' style. * Remove 'span' level items. * Detect visual/logical RTL layouts. * Detect indented paragraphs.
2017-08-15jni: Make jni compile again.Sebastian Rasmussen
2017-07-27MSVC: 64bit project file build fixes.Robin Watts
2017-07-27MSVC: Add mutrace.c to libmutool.Robin Watts
2017-07-19Add spots to fz_pixmaps.Robin Watts
Update separations interface further to cope with whether spots should be rendered separately, or as composite colors.
2017-07-19Rejig page separations interface.Robin Watts
Specifically this is aimed so we can efficiently get separation details for PDF files (which may require a lengthy search process).
2017-07-19Update LCMS2 to LCMS2ART to reflect our fork.Robin Watts
Pull in latest lcms2 fixes, and update our fork to be lcms2art.