summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-04Fix Release and Memento builds under VS.Robin Watts
Include paths for thirdparty stuff were wrong.
2012-09-04Improve error message when an object is missing from the xref.Tor Andersson
2012-09-04Fix error message/comment typos.Sebastian Rasmussen
2012-09-04Prevent recursive image soft masks from being loadedSebastian Rasmussen
Print a warning instead and ignore the soft mask
2012-09-04Don't adjust stream lengths for encrypted documents when repairingSebastian Rasmussen
Fixes http://bugs.ghostscript.com/show_bug.cgi?id=693314
2012-09-04Merge branch 'master' into formsPaul Gardiner
Conflicts: pdf/pdf_xref_aux.c
2012-09-04Forms: mass renaming for the sake of consistencyPaul Gardiner
2012-08-31Forms: rework form reset action to use new method introduced for JSPaul Gardiner
2012-08-31Forms: implement javascript doc.resetForm methodPaul Gardiner
2012-08-31Forms: provide js engine method for determining object typePaul Gardiner
2012-08-31Forms: don't focus hidden fieldsPaul Gardiner
2012-08-31Forms: keep checkbox and radio button values up to datePaul Gardiner
2012-08-29Forms: implement javascript Field.display propertyPaul Gardiner
2012-08-29Handle missing clear codes in LZW.Sebastian Rasmussen
Previously if the lookup table was full and no clear code appeared the decoder would try to add more entries to the table. However the table is of fixed size (4096 entries) so it would write outside the table. Fix this by detecting when the lookup table is full and a clear code ought to appear. At this point the decoder will now treat and process any code as a clear code. For valid documents this will never happen, for invalid documents this means risking that succeeding codes may be misinterpreted and that the decoded data will be incorrect, this case should be handled by the consumer of the data though. Fixes bug 693306.
2012-08-29Merge branch 'master' into formsPaul Gardiner
Conflicts: cbz/mucbz.c pdf/pdf_parse.c pdf/pdf_form.c xps/xps_zip.c
2012-08-28Add fz_open_document_with_stream function.Tor Andersson
Use a "magic" string for filetype detection: filename or mime-type.
2012-08-27Add DOM object "app" initially with no properties or methods.Paul Gardiner
2012-08-24Forms: avoid javascript action execution when engine not availablePaul 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-23Rename 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-23Silence 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-23Mupdfinfo: Cope with zero page pdf files.Robin Watts
2012-08-23Update Memento to match the version in gs.Robin Watts
This brings in Memento_breakOnRealloc and Memento_breakOnFree along with some other small tweaks.
2012-08-23Forms: allow for globally-defined javascript as string, rather than streamPaul 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-23Forms: fix typo in javascript utility functionsPaul Gardiner
2012-08-23Fix bug introduced in preceding commitPaul 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-22Forms: convert js field names from utf8 to pdf-doc before lookupPaul Gardiner
2012-08-21Forms: implement a few more utility functionsPaul Gardiner
Also fix some uses of null.length
2012-08-20Forms: treat NULL event value as "" in pdf_js_setup_eventPaul Gardiner
2012-08-16Forms: handle pdf_js_setup_event being passed it's own internal valuePaul Gardiner
2012-08-16Javascript: implement main Keystroke and Validate functionsPaul Gardiner
2012-08-16ios: Use fz_max and fz_min inline functions instead of MAX/MIN macros.Tor Andersson
2012-08-16Forms: correct the mechanism for detecting failed field validationsPaul Gardiner
2012-08-16Fix 64-bit integer typedefs for MSVC.Tor Andersson
2012-08-16Bump version numbers to 1.1Tor Andersson
2012-08-16Use ULL suffix for SHA512 constants.Tor Andersson
2012-08-16Android: fix divide by zero errorPaul Gardiner
2012-08-16Read unsigned numbers in PNG parser to avoid negative numbersSebastian Rasmussen
Thanks to zeniko for pointing out this fix.
2012-08-16Adjust out of range tests for encryption key lengthsSebastian 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-16Add PDF 1.7 ExtensionLevel 8 encryption algorithmSebastian Rasmussen
Thanks to zeniko for implementing the algorithm.
2012-08-16Add SHA-384/-512 hash algorithmsSebastian Rasmussen
2012-08-16Prepare for addition of SHA-384/-512Sebastian Rasmussen
Adjust macros to make them reusable with 64-bit arithmetic. Rename functions to avoid future namespace collisions.
2012-08-16Make 64-bit integers available everywhere in fitzSebastian Rasmussen
2012-08-16Instead of giving error, throw exception when password is invalidSebastian Rasmussen
Previously this triggered an assertion in the cleanup code when freeing the partially opened document.
2012-08-16Silence some warnings.Robin Watts
Avoid the C++ code complaining about casting string literals to non-const char *'s.
2012-08-16Forms: respond to failed validation in windows appPaul Gardiner
2012-08-14Fix bug 693276: Mupdf/android gui widget overlapPaul Gardiner
Just fix a typo in the xml
2012-08-14Android: further increase the page-slider's resolution for small docsPaul Gardiner
2012-08-14Android: ensure the search dialog appears with correct initial progressPaul Gardiner
2012-08-14Fix bug 693227: Counter intuitive message on searching to last pagePaul Gardiner
Now selects between displaying "Text not found" and "No further occurences found"
2012-08-14Fix bug 693229: Mupdf/android has inconsistent search phrase highlightingPaul Gardiner
The highlights were unintentionally being cached between file invocations. In fact it was possible for the highlighting from one file to appear when opening another, even if those highlights didn't match words on the page. That could happen if both files happened to have been last opened on a common page (common in terms of page number).