Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-25 | Forms: support doc.mailDoc. | Paul Gardiner | |
2012-09-25 | Javascript: support test for boolean | Paul Gardiner | |
2012-09-25 | Forms: handle app.launchUrl, currently by displaying a warning | Paul Gardiner | |
2012-09-25 | Forms: show warning for use of app.execDialog | Paul Gardiner | |
app.execDialog looks very difficult to support. Hopefully we wont have to | |||
2012-09-25 | Forms: handle app.execMenuItem (presently just as a not-supported warning) | Paul Gardiner | |
The name of the menu item is passed, so presumably the app could respond to some of the possibilities. | |||
2012-09-21 | Add ifdef option to embed either the small or full CJK fallback font. | Tor Andersson | |
The default is to embed the full font. | |||
2012-09-21 | Move defaulting of image params into predictor function. | Robin Watts | |
This makes no difference to the current operation of the code, but ensures that 'saner' values are put into the image_params structure. This will help pdfwrite give more aesthetically pleasing output later. | |||
2012-09-19 | Forms: handle print request, both from javascript and from named action | Paul Gardiner | |
Currently the app windows app responds with a message box explaining that the MuPDF library passes print requests to the app, but the app does not implement printing. | |||
2012-09-19 | Forms: ensure result from alert callback is passed back to caller | Paul Gardiner | |
2012-09-19 | Forms: handle 'additional' actions for mouse up and mouse down | Paul Gardiner | |
2012-09-19 | Forms: correct bug in form reset | Paul Gardiner | |
If the 'fields' parameter is not present then all fields should be reset | |||
2012-09-18 | Forms: add event handling api and specifically support for javascript alert | Paul Gardiner | |
2012-09-18 | Forms: support property access in the javascript engine | Paul Gardiner | |
2012-09-18 | Forms: improve cpp/c interface regarding exceptions | Paul Gardiner | |
Three alterations: We were previously being careful to avoid throwing exceptions in the DOM-implementation callbacks because these were being called directly from C++. This commit adds three veneers that turn exceptions into warnings, hence allowing the callbacks to be written in usual mupdf style. Protect the "field" callbacks from executing with a NULL field. Ensure that the event object is set up before executing A actions | |||
2012-09-06 | Add pdf_dict_puts_drop function. | Robin Watts | |
Does the same as pdf_dict_puts, but guarantees to always drop the value passed in (even if the function throws an error). This allows calling code to have a much simpler life in some cases. Update pdf_write to make use of this. Also, fix pdf_dict_puts so it doesn't leak the key object that it creates in the event of an error while growing the dictionary. | |||
2012-09-04 | Make pdf resource localisation procedure non-static. | Robin Watts | |
And add a flag in the xref for evey PDF document to say whether it has been localised or not; this will be important for PDF editing to avoid us having to localise on every edit. | |||
2012-09-04 | Improve error message when an object is missing from the xref. | Tor Andersson | |
2012-09-04 | Fix error message/comment typos. | Sebastian Rasmussen | |
2012-09-04 | Prevent recursive image soft masks from being loaded | Sebastian Rasmussen | |
Print a warning instead and ignore the soft mask | |||
2012-09-04 | Don't adjust stream lengths for encrypted documents when repairing | Sebastian Rasmussen | |
Fixes http://bugs.ghostscript.com/show_bug.cgi?id=693314 | |||
2012-09-04 | Merge branch 'master' into forms | Paul Gardiner | |
Conflicts: pdf/pdf_xref_aux.c | |||
2012-09-04 | Forms: mass renaming for the sake of consistency | Paul Gardiner | |
2012-08-31 | Forms: rework form reset action to use new method introduced for JS | Paul Gardiner | |
2012-08-31 | Forms: implement javascript doc.resetForm method | Paul Gardiner | |
2012-08-31 | Forms: provide js engine method for determining object type | Paul Gardiner | |
2012-08-31 | Forms: don't focus hidden fields | Paul Gardiner | |
2012-08-31 | Forms: keep checkbox and radio button values up to date | Paul Gardiner | |
2012-08-29 | Forms: implement javascript Field.display property | Paul Gardiner | |
2012-08-29 | Merge branch 'master' into forms | Paul Gardiner | |
Conflicts: cbz/mucbz.c pdf/pdf_parse.c pdf/pdf_form.c xps/xps_zip.c | |||
2012-08-28 | Add fz_open_document_with_stream function. | Tor Andersson | |
Use a "magic" string for filetype detection: filename or mime-type. | |||
2012-08-27 | Add DOM object "app" initially with no properties or methods. | Paul Gardiner | |
2012-08-24 | Forms: avoid javascript action execution when engine not available | Paul Gardiner | |
This was necessary to avoid indirecting through a NULL pointer returned from pdf_js_get_event, but is a generally sensible restriction. Also separate the execution of the document-level javascript actions from the pdf_js contstructor, so that doc->js is set during those actions. Also add a missing const | |||
2012-08-23 | Rename fz_new_name to pdf_new_name. | Robin Watts | |
Should have been pdf_new_name ever since the pre 1.0 rename, but evidently we missed it. | |||
2012-08-23 | Silence some warnings. | Robin Watts | |
Mountian Lion causes various different warnings to be given, possibly because a change to clang by default. Fix them here. | |||
2012-08-23 | Forms: allow for globally-defined javascript as string, rather than stream | Paul Gardiner | |
pdf_to_utf8 had been updated in an earlier commit, so it was sufficient to remove the object-type test. Also added a neglected fz_var. | |||
2012-08-23 | Forms: fix typo in javascript utility functions | Paul Gardiner | |
2012-08-23 | Fix bug introduced in preceding commit | Paul Gardiner | |
Not handling pdf_jsimp_toString returning NULL Throwing C exceptions in a call issued by v8 Iterating a pointer later used to free a buffer | |||
2012-08-22 | Forms: convert js field names from utf8 to pdf-doc before lookup | Paul Gardiner | |
2012-08-21 | Forms: implement a few more utility functions | Paul Gardiner | |
Also fix some uses of null.length | |||
2012-08-20 | Forms: treat NULL event value as "" in pdf_js_setup_event | Paul Gardiner | |
2012-08-16 | Forms: handle pdf_js_setup_event being passed it's own internal value | Paul Gardiner | |
2012-08-16 | Javascript: implement main Keystroke and Validate functions | Paul Gardiner | |
2012-08-16 | Forms: correct the mechanism for detecting failed field validations | Paul Gardiner | |
2012-08-16 | Adjust out of range tests for encryption key lengths | Sebastian Rasmussen | |
Encryption keys for rev. 4 and prior may at most be 128-bits. Encryption keys for rev. 5/6 may only be 256-bits long Thanks to zeniko for pointing this out. | |||
2012-08-16 | Add PDF 1.7 ExtensionLevel 8 encryption algorithm | Sebastian Rasmussen | |
Thanks to zeniko for implementing the algorithm. | |||
2012-08-16 | Silence some warnings. | Robin Watts | |
Avoid the C++ code complaining about casting string literals to non-const char *'s. | |||
2012-08-16 | Forms: respond to failed validation in windows app | Paul Gardiner | |
2012-08-12 | Fix comparison typo in encryption code | Sebastian Rasmussen | |
2012-08-10 | Forms: handle Keystroke and Validate actions | Paul Gardiner | |
2012-08-10 | Forms: move js-side event setup out of execute_action | Paul Gardiner | |
Makes it easier to alter the setup for some action types |