Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2017-11-13 | gl: 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-10 | Purge obsolete NDK_PROFILER code. | Tor Andersson | |
2017-11-10 | jni: Update for StructuredText highlight and copy changes. | Tor Andersson | |
2017-11-09 | Fix windows build of GL app. | Robin Watts | |
2017-11-09 | VS2005: Fix Freeglut build. | Robin Watts | |
2017-11-08 | Be 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-08 | Select and copy structured text by lines. | Tor Andersson | |
2017-11-08 | gl: 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-08 | Bug 698616: Fix use after free in Page_textAsHtml | Robin Watts | |
2017-11-08 | Use fz_snprintf in preference to snprintf. | Robin Watts | |
If nothing else, this avoids warnings on VS2005. | |||
2017-11-06 | Update lcms2art with the latest from lcms2 (2.9). | Robin Watts | |
2017-11-01 | Add separate fz_close_output step. | Tor Andersson | |
Closing flushes output and may throw exceptions. Dropping frees the state and never throws exceptions. | |||
2017-11-01 | Use 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-16 | Add missing pdfsign.c file to MSVC project. | Robin Watts | |
2017-10-13 | Add fz_deflate family of functions. | Robin Watts | |
This gives us a friendlier interface to zlib. Simplifies PNG output and PCLM output code. | |||
2017-10-13 | Simple 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-12 | Purge out of date separation bindings. | Tor Andersson | |
2017-09-20 | gl: Remember scroll position in history and bookmarks. | Tor Andersson | |
2017-09-20 | gl: Scroll to link coordinates when following links. | Tor Andersson | |
Also save link coordinates in outline nodes. | |||
2017-09-20 | gl: Add 'I' invert colors command. | Tor Andersson | |
Also apply an inverse gamma correction curve. | |||
2017-09-07 | Make sure to always drop a fz_device even upon error. | Sebastian Rasmussen | |
2017-08-21 | Remove redundant fz_stext_char_bbox function. | Tor Andersson | |
2017-08-17 | Fix Android java build: harfbuzz memory callbacks. | Tor Andersson | |
2017-08-17 | Update java for structured text and other changes. | Tor Andersson | |
2017-08-17 | Simplify 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. |