Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-06 | Fix stray consts. | Robin Watts | |
2018-07-06 | Fix muraster and mu-office-lib. | Robin Watts | |
These got broken during the fz_rect/fz_matrix pass-by-value changes. | |||
2018-07-06 | Add pdf_dict_get_rect and pdf_dict_get_matrix helpers. | Tor Andersson | |
2018-07-06 | gl: Add signing UI for Digital Signatures. | Tor Andersson | |
All the "Sign" button does for now is recreate the appearance stream. | |||
2018-07-06 | gl: Multi-line labels. | Tor Andersson | |
2018-07-06 | Fix bad error handling in pdf_pkcs7_openssl_read_pfx. | Paul Gardiner | |
Failure within this function could lead to segfaults in drop_signer. The problem was early allocation of the signer struct without setting its drop method, so that on error signer was non-null, but not in a state where drop_signer could be called. | |||
2018-07-05 | Fix document signing adding unnecessary incremental updates | Paul Gardiner | |
When a document is signed multiple times, an incremental update is needed for each, the multiple updates sometimes written to the file as a single saving operation. Within pdf_sign_signature it is the call to pdf_signature_set_value that marks the current section of the xref to which changes are recorded as "full", so that subsequent changes will trigger the creation of a new section. Within pdf_sign_signature we were creating the signature's appearance stream after the call to pdf_signature_set_value and hence triggering an extra unnecessary setction. This commit moves the pdf_signature_set_value to after the creation of the appearance stream, so that we need only as many new xref sections as there are signings. | |||
2018-07-05 | Signature support: add signing support to the windows app | Paul Gardiner | |
2018-07-05 | Add digital signature appearance synthesis. | Tor Andersson | |
The pdf_update_signature_appearance function must be called directly by the signing code when it signs the document; as only the signing code has all the text that needs to be written into the appearance. | |||
2018-07-05 | Add fz_transform_page helper function. | Tor Andersson | |
Create a matrix that transforms a page with resolution and rotation, and grid fits the resulting bounding box. | |||
2018-07-05 | Purge unused functions. | Tor Andersson | |
2018-07-05 | Silence warning. | Tor Andersson | |
2018-07-05 | Pass rects by value: device and document interface. | Tor Andersson | |
2018-07-05 | Pass matrices by value: device and document interface. | Tor Andersson | |
2018-07-05 | Pass rect and matrix by value in geometry functions. | Tor Andersson | |
Several things irk me about passing values as const pointers: * They can be NULL, which is not a valid value. * They require explicit temporary variables for storage. * They don't compose easily in a legible manner, requiring weird pointer passing semantics where the variable being assigned is hidden as an argument in the innermost function call. * We can't change the value through the pointer, requiring yet more local variables to hold copies of the input value. In the device interface where we pass a matrix to a function, we often find ourselves making a local copy of the matrix so we can concatenate other transforms to it. This copying is a lot of unnecessary busywork that I hope to eventually avoid by laying the groundwork with this commit. This is a rather large API change, so I apologize for the inconvenience, but I hope the end result and gain in legibility will be worth the pain. | |||
2018-07-05 | Add stack traces to JS error messages. | Tor Andersson | |
2018-07-05 | Fix bug in util.js: padZeros is a local function. | Tor Andersson | |
2018-07-05 | gl: Poll changed annots with pdf_update_page, and clear after rendering. | Tor Andersson | |
2018-07-05 | Return true if any annots have new APs in pdf_update_page. | Tor Andersson | |
2018-07-05 | Use separate X and Y text padding in text appearance streams. | Tor Andersson | |
2018-07-05 | Use real WinAnsi encoding when writing appearance stream text. | Tor Andersson | |
2018-07-05 | Support background and border color in Widget/Tx and Widget/Ch. | Tor Andersson | |
2018-07-04 | Fix bugs in triggering has_new_ap update. | Tor Andersson | |
* Trigger correctly on AS state changes. * Handle the case when there is no AP (such as for unchecked checkboxes): - Don't try to create Widget/Btn streams. - Don't flag/unflag when AP synthesis throws. | |||
2018-07-04 | Don't forget to resolve indirect references when clearing dirty flag. | Tor Andersson | |
2018-07-04 | Clean up some incomprehensible code. | Tor Andersson | |
2018-07-04 | Add fz_snap_selection function to snap selection to chars/words/lines. | Tor Andersson | |
Updates the input point coordinates, and also returns a quad with appropriate UI handles. | |||
2018-07-04 | gl: Track modifier keys during mouse events too. | Tor Andersson | |
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-07-04 | Add fz_is_point_inside_rect utility function. | Tor Andersson | |
2018-07-04 | Allow for CIDToGIDMap in font being "/Identity". | Robin Watts | |
Previously we would have tripped over this, thrown an error and aborted loading the whole page. Any non-stream, non "Identity" CIDToGIDMaps now produce a warning rather than an error so we don't stop processing the entire page. | |||
2018-06-22 | Update base 14 fonts to URW++ release from 2017-07-27. | Tor Andersson | |
The Dingbats and Symbol fonts have not been changed. | |||
2018-06-22 | Avoid leaking reference to "form" object. | Robin Watts | |
2018-06-22 | Improve reference handling. | Robin Watts | |
2018-06-22 | Don't pollute namespace with our 'restrict' macro. Use FZ_RESTRICT instead. | Tor Andersson | |
2018-06-22 | Tokenize on all whitespace when parsing DA string. | Tor Andersson | |
2018-06-22 | Update docs to fit with new website. | Tor Andersson | |
2018-06-22 | Simplify HTML pages. | Tor Andersson | |
2018-06-22 | Size singleline widget text to fit both width and height. | Tor Andersson | |
2018-06-22 | Update CHANGES. | Tor Andersson | |
2018-06-22 | Use fz_quad type in structured text and selection/highlighting. | Tor Andersson | |
2018-06-22 | Add fz_quad type. | Tor Andersson | |
2018-06-22 | Create appearance streams for Comb text fields. | 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-22 | Look up DA in Root/AcroForm/DA if missing in annotation property. | Tor Andersson | |
2018-06-22 | gl: Edit widget values in annotation editor. | Tor Andersson | |
2018-06-22 | gl: Add -J flag to disable Javascript in PDF forms. | Tor Andersson | |
2018-06-22 | gl: Transform rotated pages so that the pixmap origin is always at 0,0. | Tor Andersson | |
2018-06-22 | gl: Multi-line text input fields. | Tor Andersson | |
2018-06-22 | gl: Use black backdrop when displaying an inverted (black) page. | Tor Andersson | |