Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-05-06 | Fix formatting. | Tor Andersson | |
2013-03-21 | Add 'void' to a function declaration. | Robin Watts | |
2013-02-19 | Fix whitespace. | Tor Andersson | |
2012-11-29 | Fix a couple of leaks | Paul Gardiner | |
2012-11-20 | Fix android javascript build compile error. | Robin Watts | |
A slip up in the previous whitespace fix commit removed a {. Put it back. | |||
2012-11-20 | Obsess about whitespace. | Tor Andersson | |
2012-11-07 | Javascript: implement Field.name | Paul Gardiner | |
2012-11-01 | Forms: extend setFillColor implementation to include text widgets | Paul Gardiner | |
Also update pdf_dict_puts so that passing NULL to val deletes the terminal key. Update pdfapp.c to update the screen between passing a mouse event and invoking a dialog box for value entry Extend javascript wrapper to handle all color spaces | |||
2012-10-11 | Android Forms: pass in mouse events and handle updating | Paul Gardiner | |
Also add a function to report whether the core has javascript support, so that the additional features can be enabled only when the javascript engine is present | |||
2012-09-25 | Forms: support doc.mailDoc. | 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-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-18 | Forms: add event handling api and specifically support for javascript alert | 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-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-29 | Forms: implement javascript Field.display property | Paul Gardiner | |
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 | 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 | 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-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 | Forms: respond to failed validation in windows app | Paul Gardiner | |
2012-08-10 | Forms: handle Keystroke and Validate actions | Paul Gardiner | |
2012-08-10 | Forms: alter the handling of the javascript event object | Paul Gardiner | |
2012-07-18 | Forms: convert strings from pdf to utf8 before passing to the js engine | Paul Gardiner | |
2012-07-17 | Forms: implement AFDate_FormatEx | Paul Gardiner | |
Also get javascript to use a fixed "today's" date for cluster testing | |||
2012-07-12 | Separate out the Javascript utility functions and autogenerate C string | Paul Gardiner | |
2012-07-02 | Form: implement calculation action and javascrip AFSimple_Calculate | Paul Gardiner | |
2012-06-28 | Forms: implement javascript form-field formatting | Paul Gardiner | |
Consists in adding JS function AFNumber_Format and updating the DOM to include event.value | |||
2012-06-21 | Forms: implement javascript "color" convenience object (fixes bug 693130) | Paul Gardiner | |
2012-06-20 | Various fixes to pdf forms stuff found while compiling for linux. | Robin Watts | |
Mostly char * <-> unsigned char * conversions. | |||
2012-06-18 | Forms: fix potential SEGV | Paul Gardiner | |
2012-06-15 | Fix bug 693128: MuPDF forms support: crash on button click | Paul Gardiner | |
Fix one pdf_js function that didn't protect agains doc->js == NULL. Also change exception handling in pdf_new_js so that it doesn't abort just because of a single failed stream load. | |||
2012-05-28 | Forms: implement JavaScript Field methods setFillColor and setTextColor | Paul Gardiner | |
2012-05-25 | Forms: additions necessary to make toggle-button example work | Paul Gardiner | |
Add to DOM field borderStyle and buttonSetCaption Introduce event object Add border helper object Fix v8 problem to do with access to external pointers | |||
2012-05-16 | JavaScript: provide mechanism via which C++ js engines can fz_throw errors | Paul Gardiner | |
2012-05-15 | JavaScript: arrange for v8 gc to destroy native-side objects | Paul Gardiner | |
2012-05-08 | JavaScript: add v8 implementation | Paul Gardiner | |
2012-05-08 | Free javascript types and objects correctly | Paul Gardiner | |
2012-05-08 | Implement dummy JavaScript engine just for the sake of viewing calc.pdf | Paul Gardiner | |
2012-05-08 | First go at Javascript-engine abstract API | Paul Gardiner | |