Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-07-18 | Forms: convert strings from pdf to utf8 before passing to the js engine | Paul Gardiner | |
2012-07-18 | Forms: partial handling of utf8 output from javascript | Paul Gardiner | |
2012-07-17 | Forms: implement library api for handling list boxes and combo boxes | Paul Gardiner | |
2012-07-17 | Forms: remove unhelpful type distinction | Paul Gardiner | |
2012-07-17 | Forms: protect agains recursion during internal field recalculation | Paul Gardiner | |
2012-07-09 | Forms: add widget enumeration, and text-widget content type | Paul Gardiner | |
Now reusing the internal representation of an annotation for widgets to avoid two separate lists | |||
2012-07-05 | Merge branch 'master' into forms | Robin Watts | |
2012-07-04 | Forms: avoid infinite loop when laying out multiline text in thin box | Paul Gardiner | |
If the bounding box was too thin for even a sinlge character, the algorithm could repeat for ever throwing new lines. This in turn could lead to a SEGV. | |||
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-25 | Fix warnings/compile error on linux. | Robin Watts | |
min is a windows only define. | |||
2012-06-25 | Forms: handle clicking on one of a group of like-named check boxes | Paul Gardiner | |
All of the group are updated which can make them act like radio buttons in the case that all have different "on" values | |||
2012-06-22 | Forms support: correctly locate the field dictionary when setting value | Paul Gardiner | |
Some fields have separate widget annotations. Some have the widget rolled in. This commit correctly identifies the field when setting the field value, thus fixing bug 693145 | |||
2012-06-22 | Forms: implement appearance synthesis for combed text | Paul Gardiner | |
2012-06-22 | Rework pdf_lexbuf to allow for dynamic parsing buffers. | Robin Watts | |
Currently pdf_lexbufs use a static scratch buffer for parsing. In the main case this is 64K in size, but in other cases it can be just 256 bytes; this causes problems when parsing long strings. Even the 64K limit is an implementation limit of Acrobat, not an architectural limit of PDF. Change here to allow dynamic buffers. This means a slightly more complex setup and destruction for each buffer, but more importantly requires correct cleanup on errors. To avoid having to insert lots more try/catch clauses this commit includes various changes to the code so we reuse pdf_lexbufs where possible. This keeps the speed up. | |||
2012-06-21 | Add fz_buffer_cat_pdf_string function to avoid Bug 693143. | Robin Watts | |
Avoid overflowing fz_buffer_printf by using a dedicated string output function; this also solves potential problems with us not escaping chars in strings correctly. Unfortunately this doesn't completely cure the bug as we run straight into problems in the lexer. | |||
2012-06-21 | Forms; Improve text positioning in single-line text widgets | Paul Gardiner | |
This fixes bug 693126 | |||
2012-06-21 | Forms: handle exclusivity of radio buttons. Fixes bug 693125 | Paul Gardiner | |
2012-06-21 | Forms: implement the ResetForm action | Paul Gardiner | |
This fixes the problem with the test file in bug 693125, although it doesn't make radio buttons act correctly. The file, rather than using radio buttons, was actually using check boxes with a reset-form action to achieve the exclusivity. | |||
2012-06-20 | Various fixes to pdf forms stuff found while compiling for linux. | Robin Watts | |
Mostly char * <-> unsigned char * conversions. | |||
2012-06-19 | Avoid lots of const warnings. | Robin Watts | |
Add/Remove a few consts to pacify MSVC. | |||
2012-06-19 | Fix bug 693133: MuPDF forms support: Text incorrectly transformed | Paul Gardiner | |
Refactor the text-widget updating code to use the later-written, button-updating technique, which accounts for rotation. Also now delays generation of appearance streams until required for rendering. | |||
2012-06-15 | Forms: Assume black if default appearance doesn't specify a color | Paul Gardiner | |
2012-06-14 | Fix problem in text_splitter (badly initialised max_lines) | Robin Watts | |
Testing tests_private/v1.3/09+20anim+20fx-fo-dx-adr-mx.pdf with mujstest shows an infinite loop due to an initialisation that uses FLT_MAX rather than INT_MAX. Even using INT_MAX still shows problems until a cast is added. | |||
2012-06-13 | Merge branch 'master' into forms | Paul Gardiner | |
2012-06-13 | Merge branch 'master' into forms | Paul Gardiner | |
Conflicts: fitz/fitz-internal.h fitz/stm_buffer.c pdf/mupdf-internal.h | |||
2012-06-12 | Forms: handle carriage control in multiline text widget | Paul Gardiner | |
2012-06-12 | Forms: improved handling of text scaling in multiline text widgets | Paul Gardiner | |
2012-06-11 | Forms: first version appearance synthesis for multiline text widgets | Paul Gardiner | |
2012-06-07 | Forms: avoid repeated parsing of default appearance string | Paul Gardiner | |
Also consolidate text widget info, plus general tidying | |||
2012-06-04 | Forms: measure text using the info from the font descriptor | Paul Gardiner | |
Previously measured by rendering to the bounding box device | |||
2012-06-01 | Merge branch 'master' into forms | Paul Gardiner | |
Conflicts: fitz/doc_document.c fitz/fitz-internal.h fitz/fitz.h fitz/stm_buffer.c pdf/mupdf-internal.h pdf/pdf_object.c pdf/pdf_xobject.c pdf/pdf_xref.c win32/mupdf.sln | |||
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-24 | Forms: synthesise push button widget | Paul Gardiner | |
2012-05-08 | Forms: use existing appearance stream Tm when present and handle alignment | Paul Gardiner | |
2012-05-08 | Use defaults from AcroForm dict when attributes missing in field heirarchy | 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 | |
2012-05-08 | Forms: replace the marked content rather than the entire stream | Paul Gardiner | |
2012-05-08 | Forms: use a text matrix to fit text rather than altering the font size | Paul Gardiner | |
To achieve sufficient accuracy, non-integer font sizes were being used, which MuPDF can handle, but may be illegal. The text matrix is the better method. | |||
2012-05-08 | Forms: fix the base line for fit to width text | Paul Gardiner | |
2012-05-08 | Forms: update field value on text entry | Paul Gardiner | |
2012-05-08 | Forms: handle scaling text to fit | Paul Gardiner | |
2012-05-08 | Forms: initialise stream contents of freshly created text appearance streams | Paul Gardiner | |
ensures that saving before the user fills out the field will put sensible contents in the file. | |||
2012-05-08 | Forms: centre text vertically | Paul Gardiner | |
2012-05-08 | Forms: handle font size zero in default appearance | Paul Gardiner | |
2012-05-08 | Forms: create apearance streams for text fields when not present in the file | Paul Gardiner | |
2012-05-08 | Forms: handle some cases of setting text-field text | Paul Gardiner | |
2012-05-08 | Forms: part of text field handling | Paul Gardiner | |