Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-20 | Improve PDF annotation error handling. | Sebastian Rasmussen | |
2017-04-20 | js: 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-20 | js: Add set/get of interior color of annotations. | Sebastian Rasmussen | |
2017-04-18 | Use 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-18 | Consistently use pdf_name_eq() where possible. | Sebastian Rasmussen | |
2017-04-14 | js: Avoid duplicating cleanup code. | Sebastian Rasmussen | |
2017-04-14 | js: Deleting an annotation has no return value. | Sebastian Rasmussen | |
2017-04-14 | Scan converter; API tweak. | Robin Watts | |
Decide whether to dash or not in the scan converter, not the draw-device. | |||
2017-04-13 | Scan 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-13 | Scan 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-13 | Export fz_recognize_document and use it in java code. | Sebastian Rasmussen | |
2017-04-13 | Move 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-13 | Change 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-13 | Clean up mutool usage messages. | Tor Andersson | |
2017-04-13 | Fix 697725: silly typo when parsing GoToR destination. | Tor Andersson | |
2017-04-11 | Bug 697662: Support named actions to first/last/next/previous page. | Sebastian Rasmussen | |
2017-04-11 | Add fz_asprintf function to allocate a string and format output. | Tor Andersson | |
2017-04-05 | jpx: Make Luratech decoder glue layer compile. | Sebastian Rasmussen | |
2017-03-31 | Fix typo in PDFAnnotation.setQuadPoints. | Tor Andersson | |
2017-03-31 | Remove 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-31 | Remove excess newline in mutool draw output. | Robin Watts | |
2017-03-31 | Fix leaks of reaped object keys. | Robin Watts | |
2017-03-31 | Fix mutex asserts seen during reaping. | Robin Watts | |
As seen with: mutool draw -o out.ppm Bug697706.epub | |||
2017-03-29 | Happy New Year! | Sebastian Rasmussen | |
2017-03-28 | Pass the 'serif' flag to fz_lookup_noto_font. | Tor Andersson | |
2017-03-28 | pdf: Swallow unrecoverable errors and ignore rest of page. | Tor Andersson | |
2017-03-28 | pdf: Use FZ_ERROR_SYNTAX code for syntax errors. | Tor Andersson | |
2017-03-28 | Return fz_document from all document handlers. | Sebastian Rasmussen | |
To make it possible to avoid casting in most cases. | |||
2017-03-28 | Rejig fz_new_annot to fz_new_derived_annot. | Robin Watts | |
More consistent with the rest of the code. | |||
2017-03-28 | Rejig fz_new_device to be fz_new_derived_device. | Robin Watts | |
In keeping with the rest of the code. | |||
2017-03-28 | Rename fz_new_archive to fz_new_derived_archive | Robin Watts | |
Fits with the rest of the code. | |||
2017-03-27 | Tweak document_writer - don't pass dev back in. | Robin Watts | |
It seems odd for a document writer to pass a device pointer out, and then require it to be passed back in. Hide that in the public API. | |||
2017-03-25 | Add fz_storable_needs_reaping. | Robin Watts | |
Avoids needing to access the internals of reference counting. | |||
2017-03-24 | Fix needs_reap entry in key storable. | Robin Watts | |
There is no need to hold a separate flag to say that we need reaping, when this can be implied from the store_key_refs and the normal refcount being equal. In addition, I don't think we were ever actually setting this, so the code was wrong to start with. | |||
2017-03-24 | Ensure fz_store_types are all static const. | Robin Watts | |
2017-03-24 | Add fz_new_XXX_document_writer calls for pixmaps. | Robin Watts | |
This enables people to access (say) a PNG writer without pulling in every single document writer at link time. (Of course, currently, without function level linking, even now we'll pull everything in, but we can improve this by splitting source files up). | |||
2017-03-23 | Introduce fz_new_derived_... | Robin Watts | |
Instead of having fz_new_XXXX(ctx, type, ...) macros that call fz_new_XXXX_of_size etc, use fz_new_derived_... Clearer naming, and doesn't clash with fz_new_document_writer. | |||
2017-03-23 | Add fz_new_writer function. | Robin Watts | |
Moves document_writers into the same style as fz_new_{image,document,page} etc. | |||
2017-03-23 | Add generic pixmap document writer. | Tor Andersson | |
Allow mutool convert to output all image formats we can write. Add sanity checks for pbm and pkm writers. | |||
2017-03-23 | Fix bug with printing integer zero in printf. | Tor Andersson | |
2017-03-22 | Update fz_new_page. | Robin Watts | |
Move this into the same style as fz_new_document and fz_new_image. | |||
2017-03-22 | Fix threaded muraster build. | Robin Watts | |
2017-03-22 | Extend our printf formatting to take width and precision. | Tor Andersson | |
2017-03-22 | Simplify string formatter API. | Tor Andersson | |
Emit characters with callbacks so we don't need to do two passes using vsnprintf to count, format, and copy the result. | |||
2017-03-22 | Always use %g for short-as-possible format character. | Tor Andersson | |
Call fz_append_string instead of fz_append_printf for static strings. Call fz_write_string instead of fz_write_printf for static strings. | |||
2017-03-22 | Rename fz_putc/puts/printf to fz_write_*. | Tor Andersson | |
Rename fz_write to fz_write_data. Rename fz_write_buffer_* and fz_buffer_printf to fz_append_*. Be consistent in naming: fz_write_* calls write to fz_output. fz_append_* calls append to fz_buffer. Update documentation. | |||
2017-03-21 | Replace fontdump, bin2hex and cquote with one tool: hexdump. | Tor Andersson | |
Still need specialty tools for namedump and cmapdump. | |||
2017-03-20 | Remove fz_drop_image_base. | Robin Watts | |
2017-03-20 | Fix threaded mutool build breakage. | Robin Watts | |
2017-03-20 | Update API header documentation | Robin Watts | |
Images, Document and Document Handlers. |