Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-04 | Rename pdf_get_annot_contents to pdf_annot_contents. | Tor Andersson | |
Since the function no longer returns ownership of the string, use the common naming convention. | |||
2018-07-04 | java: Fix bugs introduced when caching text strings in pdf_obj. | Tor Andersson | |
2018-06-22 | Use fz_quad type in structured text and selection/highlighting. | Tor Andersson | |
2018-06-22 | Keep copy of decoded utf8 text string in pdf_obj. | Tor Andersson | |
Removes the need to alloc/free text strings in the API, allowing for simple functions like pdf_dict_get_text_string. | |||
2018-06-11 | Fix Windows JNI builds. | Robin Watts | |
2018-05-18 | Fix android build. | Tor Andersson | |
2018-05-16 | Purge unused functions. | Tor Andersson | |
2018-05-09 | Fix java build. | Tor Andersson | |
2018-04-26 | Clean up and simplify makefiles. | Tor Andersson | |
* Use autogenerated header file dependencies. * Use mkdir to create target output directory directly. | |||
2018-04-25 | Update Noto fonts. | Tor Andersson | |
Import Source Han Serif 1.001. Use serif fonts in preference for sans. | |||
2018-04-25 | Default CJK language to traditional chinese. | Tor Andersson | |
2018-04-25 | Use objcopy to compile font resources. | Tor Andersson | |
2018-04-25 | Remove document argument from pdf_new_primitive functions. | Tor Andersson | |
Also remove useless pdf_new_null and pdf_new_bool functions. Use the PDF_NULL, PDF_TRUE, and PDF_FALSE macros instead. | |||
2018-04-24 | Remove need for namedump by using macros and preprocessor. | Tor Andersson | |
Add a PDF_NAME(Foo) macro that evaluates to a pdf_obj for /Foo. Use the C preprocessor to create the enum values and string table from one include file instead of using a separate code generator tool. | |||
2018-04-12 | Update Android.mk for recent build changes. | Tor Andersson | |
2018-04-05 | jni: Expose interfaces for setting gamma and inverting pixmaps. | Sebastian Rasmussen | |
2018-04-03 | Android: Scavenge on Bitmap.lockPixels() failure. | Robin Watts | |
If Bitmap.lockPixels fails with an allocation error, scavenge in the store. | |||
2018-04-03 | Android: Avoid crashes if we fail to lock a Bitmap. | Robin Watts | |
If a call to Bitmap_lockPixels() fails, then previously we would have continued on blindly and tried to use it anyway. Now, spot failures and return so we get a java exception. | |||
2018-03-22 | Add phony target to java makefile so it properly rebuilds the native lib. | Tor Andersson | |
Always recurse for the native library, so that it will be rebuilt if the sources change. | |||
2018-03-22 | Load most annotations, even if they are missing appearances. | Tor Andersson | |
Filter out Link and Popup annotations. Links are not comments, popup annotations are auxiliary information for other annotations, so neither of these types should be present in our list of annotations, but all other annotations should be there, whether they have appearance streams or not. Ensure has_new_ap is zero when first loaded, and changed if either the active AP object is changed or the current AP content stream is updated. | |||
2018-03-16 | Add simple fonts with 8-bit greek and cyrillic encodings. | Tor Andersson | |
Use KOI8-U for Cyrillic, and ISO 8859-7 for Greek. Use with 'mutool create' using an extra argument to the %%Font directive: %%Font TmRmC Times-Roman Cyrillic BT /TmRmC 16 Tf 10 10 Td <fa c4 d2 c1 d7 d3 d4 d7 d5 ca d4 c5 21> Tj ET The alternatives are "Latin", "Greek", and "Cyrillic". | |||
2018-03-16 | Add simple CJK font creation. | Tor Andersson | |
Create a non-embedded CJK font using UTF-16 encoding. This can be used in mutool create like so: %%CJKFont Ming GB1 BT /Ming 10 Tf 100 100 Td <4F60 597D> Tj ET | |||
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-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-13 | Add JNI and JS bindings to layer device calls. | Tor Andersson | |
2018-02-08 | jni: Remove unnecessary close callback in seekable stream interface. | Tor Andersson | |
2018-01-31 | java: Don't overwrite LD_LIBRARY_PATH in 'run' target in java makefile. | 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-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 | |
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: 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 | |