summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-20Split long lists onto multiple lines.Tor Andersson
2017-04-20The default color of ink annotation is transparent.Sebastian Rasmussen
Previously the default color of ink annotations was red, but according to the pdf specification the default color should be colorless transparent if no color is given.
2017-04-20jni: Add constructor to duplicate existing matrix.Sebastian Rasmussen
2017-04-20jni: Pass independent character matrices when walking through text.Sebastian Rasmussen
This avoids altering the matrices previously given to the Text walker.
2017-04-20jni: Fix typo in native identifier.Sebastian Rasmussen
2017-04-20jni: to_Annotation() may fz_throw(), make it safe.Sebastian Rasmussen
Previously to_Annotation() would fz_throw() upon errors, but the code calling it couldn't handle that. Create to_Annotation_safe() that does not throw and remove the now unused to_Annotation().
2017-04-20jni: PDFAnnotation and PDFPage additions.Sebastian Rasmussen
2017-04-20jni: Implement missing interfaces.Sebastian Rasmussen
2017-04-20jni: Check that JNI enums match those in the library.Sebastian Rasmussen
2017-04-20Add annotation interfaces for open state/icon name/line endings.Sebastian Rasmussen
2017-04-20Improve PDF annotation error handling.Sebastian Rasmussen
2017-04-20js: Push annotation error handling down to library.Sebastian Rasmussen
This makes is possible for JNI code to depend on the library for error handling.
2017-04-20js: Add set/get of interior color of annotations.Sebastian Rasmussen
2017-04-20jni: Remove exposed device hints.Sebastian Rasmussen
2017-04-18Use splay trees for loading/merging cmaps.Robin Watts
This allows for overlaps, merges adjacent (mergeable) ranges and gets us properly searchable results. This causes 1 diff in the test suites (Bug694353.pdf), which is due to the fallback font not having a hypen present at UCS 0x2010.
2017-04-18jni: Propagate exception message, do not override it.Sebastian Rasmussen
2017-04-18jni: Clear java exception when rethrow via fz_throw().Sebastian Rasmussen
Previously when a java exception was pending CallObjectMethod() was called. This is not permitted and so the exception must be cleared before this function is called. Secondly if the method called by CallObjectMethod() throws an exception this exception was left pending when fz_throw() for unknown java errors was called. Later on jni_rethrow() would be called which in turn called ThrowNew(). This is not permitted either, so the pending exception must be cleared if caused by the call to CallObjectMethod(). Because fz_throw_java() always ends with a fz_throw() it is safe to assume that the pre-existing exception (or the one caused by CallObjectMethod()) will always be converted into a fz_throw(), which in turn will be converted back to a java exception since all calls to fz_throw_java() are enclosed in fz_try() where fz_catch() ends with calling jni_rethrow().
2017-04-18jni: NewStringUTF() may throw exception, handle this.Sebastian Rasmussen
When NewStringUTF() throws an exception NewObject() may not be called. Change to code to avoid this.
2017-04-18jni: Use consistent naming in conversion functions.Sebastian Rasmussen
2017-04-18jni: Fix typo in identifier.Sebastian Rasmussen
2017-04-18Consistently use pdf_name_eq() where possible.Sebastian Rasmussen
2017-04-14js: Avoid duplicating cleanup code.Sebastian Rasmussen
2017-04-14js: Deleting an annotation has no return value.Sebastian Rasmussen
2017-04-14Scan converter; API tweak.Robin Watts
Decide whether to dash or not in the scan converter, not the draw-device.
2017-04-13Scan converter; simplify API.Robin Watts
In all cases we reset the gel before populating it, so pull this out of the draw device into the population routines.
2017-04-13Scan converter; simplify API.Robin Watts
In all cases, we sort the gel before scan converting it. So just roll the sort call into the scan convert call.
2017-04-13Register .fb2 extension in mupdf-gl on windows.Tor Andersson
2017-04-13Register .fb2 extension in windows viewer.Tor Andersson
2017-04-13Export fz_recognize_document and use it in java code.Sebastian Rasmussen
2017-04-13Move extension/mimetype detection to common function.Sebastian Rasmussen
A document handler normally only exposes a list of extensions and mimetypes. Only formats that use some kind of extra detection mechnism need to supply a recognize() callback, such as xps that can handle .xps-files unpacked into a directory.
2017-04-13Change generated files to be C instead of headers.Tor Andersson
Remove AdobeCA.p7c from autogenerated files. Just include the array in the source. Simplifies makefile dependencies and makes the sizes of each bit of data easier to look at. It also paves the way for eventually using objcopy to create binary objects for the fonts instead of needing to use hexdump.
2017-04-13Remove obsolete script to create browsable source files.Tor Andersson
2017-04-13Add an example JPEG2000 to PDF script.Tor Andersson
2017-04-13Use addRawStream in pdf-create-lowlevel.js example script.Tor Andersson
The more explicit createObject, writeObject, writeRawStream idiom is shown in pdf-merge.js.
2017-04-13Add android library build instructions.Tor Andersson
2017-04-13Organize docs into HTML files.Tor Andersson
2017-04-13Move all examples to docs/examples directory.Tor Andersson
2017-04-13Clean up mutool usage messages.Tor Andersson
2017-04-13Clean up mupdf-gl usage message.Tor Andersson
2017-04-13gl: Support going to a specific page number on the command line.Tor Andersson
2017-04-13Fix 697725: silly typo when parsing GoToR destination.Tor Andersson
2017-04-11Bug 697662: Support named actions to first/last/next/previous page.Sebastian Rasmussen
2017-04-11Add fz_asprintf function to allocate a string and format output.Tor Andersson
2017-04-11jstest: Stop printing bogus script lines.Sebastian Rasmussen
2017-04-11Bug 697551: Make path and line buffers of equal size.Sebastian Rasmussen
Previously a too long line could be copied into the too short path buffer.
2017-04-05jpx: Make Luratech decoder glue layer compile.Sebastian Rasmussen
2017-03-31Fix typo in PDFAnnotation.setQuadPoints.Tor Andersson
2017-03-31Remove Reap lock.Robin Watts
I can see no reason for having the reap lock now. We always hold the ALLOC lock when we need it, so just live with that.
2017-03-31Remove excess newline in mutool draw output.Robin Watts
2017-03-31Fix leaks of reaped object keys.Robin Watts