summaryrefslogtreecommitdiff
path: root/apps
AgeCommit message (Collapse)Author
2012-10-19Fix double free of old image in page transitionsSebastian Rasmussen
2012-10-19Fix bug where X11 motion events were parsed as button eventsSebastian Rasmussen
2012-10-17First steps towards supporting transitions.Robin Watts
Only Fade, Wipe and Blinds supported so far. Hit 'p' in the viewer to go into 'presentation' mode. Page swaps then transition from page to page. Pages auto advance until key or mouse is used.
2012-10-16Forms: avoid the need to reload the page on every changePaul Gardiner
Add pdf_update_annot, which is called before rendering an annotation, and checks that the annotation structure has correct information. There are three reasons the information can be out of date. Attributes of a field may have been changed such that its appearance stream needs updating. In this case the field will have have "Dirty" added to its dictionary The mouse may have changed state over the field, and a different appearance stream needs selecting. The annotation structure now records the mouse states for which the current appearance stream is acceptable. The field may have changed state as recorded by its "AS" value, and a different appearance stream needs selecting.
2012-10-10Add showing of encryption dictionary to pdfshowSebastian Rasmussen
2012-10-10Mention SIGHUP for reloading in manpageSebastian Rasmussen
2012-10-05Rename mubusy to mutool.Tor Andersson
2012-09-25Forms: support doc.mailDoc.Paul Gardiner
2012-09-25Forms: handle app.launchUrl, currently by displaying a warningPaul Gardiner
2012-09-25Forms: show warning for use of app.execDialogPaul Gardiner
app.execDialog looks very difficult to support. Hopefully we wont have to
2012-09-25Forms: 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-25Avoid possible buffer overflow in pdfapp_warnPaul Gardiner
2012-09-19Forms: handle print request, both from javascript and from named actionPaul 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-18Forms: add event handling api and specifically support for javascript alertPaul Gardiner
2012-09-04Forms: mass renaming for the sake of consistencyPaul Gardiner
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-23Mupdfinfo: Cope with zero page pdf files.Robin Watts
2012-08-16Bump version numbers to 1.1Tor Andersson
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-08Merge branch 'master' into formsPaul Gardiner
Conflicts: Makefile apps/mudraw.c pdf/pdf_write.c win32/libmupdf-v8.vcproj
2012-08-06Check for a display list before trying to render it in pdfappSebastian Rasmussen
Previously fix 13943b92f10796efb175e769afe5b0aea85d879a introduced continued rendering of further pages for documents where one page failed to load. However, if the entire page tree was missing from a PDF document then no display list would be obtained, yet MuPDF tried to render the display list causing a null pointer dereference. Now, check for a valid display list before trying to render it.
2012-08-06Add option to mudraw to process further files upon errorSebastian Rasmussen
2012-08-06Make use of fz_always instead of repeating code for error and normal pathSebastian Rasmussen
2012-08-06Handle exceptions better in mupdfcleanSebastian Rasmussen
pdf_write_document() may throw an exception and this was uncaught up until now.
2012-08-03Forms: add basic support for choice widgets to the Windows appPaul Gardiner
2012-08-02Forms: implement saving on 'S' keyPaul Gardiner
2012-08-02Forms: add support for save on exit to the windows appPaul Gardiner
2012-08-01Merge branch 'master' into formsPaul Gardiner
Conflicts: pdf/mupdf-internal.h pdf/pdf_font.c
2012-07-27Fix typo in pdfshow.Tor Andersson
2012-07-27Fix typo in mudraw preventing tracking of slowest page drawSebastian Rasmussen
2012-07-25Exit in child process if fork/exec to open $BROWSER doesn't work.Tor Andersson
2012-07-19Improve mudraw generation of .mjs scriptsRobin Watts
Generate example data appropriate to the type of field.
2012-07-17Forms: remove unhelpful type distinctionPaul Gardiner
2012-07-09Forms: add widget enumeration, and text-widget content typePaul Gardiner
Now reusing the internal representation of an annotation for widgets to avoid two separate lists
2012-07-06Use pdf_fprintf_obj instead of pdf_print_obj in apps.Sebastian Rasmussen
2012-07-05Merge branch 'master' into formsRobin Watts
2012-07-05Move to static inline functions from macros.Robin Watts
Instead of using macros for min/max/abs/clamp, we move to using inline functions. These are more typesafe, and should produce equivalent code on compilers that support inline (i.e. pretty much everything we care about these days). People can always do their own macro versions if they prefer.
2012-07-05Avoid calling pdf_array_len (and friends) in a loop.Robin Watts
for(i = 0; i < pdf_array_len(x); i++) ... results in lots of calls to pdf_array_len. This is not what we want.
2012-07-04Tweak mubusy so it responds to 'pdfclean' as well as 'mupdfclean' etc.Robin Watts
2012-07-02Update mujstest to write ppms if requested.Robin Watts
The cluster needs mujstest to output ppms instead of pngs, so steal a bit of code from mudraw.
2012-06-29Fix mujstest never screenshotting under unix.Robin Watts
A problem in the match routine (that didn't show up under windows due to line endings) meant that screenshots had no effect.
2012-06-22Free context in mujstest to avoid leaks.Robin Watts
2012-06-22Resize About box to restore change in size lost when merging.Robin Watts
The About box was resized on master, and this change was lost during an earlier merge.
2012-06-21Updates for more effective mujstest.Robin Watts
Mudraw is updated so when the -j flag is used it guesses the length of the text it should output for each field. It also outputs a "Lorem Ipsum" string, which should hopefully test the layout facilities a bit better. Mujstest is updated so it can read the escaped chars from that string.
2012-06-20Various small fixes found while trying to build for linux.Robin Watts
"verbose" seems to be a reserved word. Various unused vars, and warnings that didn't show up on windows.
2012-06-20Remove unused variable.Robin Watts
2012-06-20Stub wintextinput on x11.Tor Andersson
2012-06-20Add better mechanism for enumerating annotation rectangles.Robin Watts
Rather than having a dedicated call to enumerate the rectangles for the annotations on a page, add an interface for enumerating annotations with accessor functions. Currently the only accessor function is the one to get the annotation rectangle. Use this new scheme in place of fz_bound_annots within mudraw. Also use this scheme to set the caret cursor in the viewer when over a data field.