summaryrefslogtreecommitdiff
path: root/apps/jstest_main.c
AgeCommit message (Collapse)Author
2012-11-28Bug 693392: Add \n to some printfs in mujstest.Robin Watts
This stops all the warnings coming out on a single line.
2012-11-27Forms: avoid directly saving to the original filePaul Gardiner
MuPDF needs access to the original file when saving, and in any case directly overwritting the original file has much more potential for data loss than use of a temporary file.
2012-11-20Obsess about whitespace.Tor Andersson
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-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-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-03Forms: add basic support for choice widgets to the Windows appPaul Gardiner
2012-08-02Forms: add support for save on exit to the windows appPaul Gardiner
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-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-15Add colorspace entry to pdfapp_s to set default colorspace.Robin Watts
This is initialised to rgb or bgr according to whether _WIN32 is set as has always been the case. This allows apps that want to override it (such as mujstest) to do so though.
2012-06-15Fix binary handling in mujstestRobin Watts
When encountering top bit set chars in script files, behave well.
2012-06-15Tweaks to mujstest; -v and -p flags.Robin Watts
The -v flag tells mujstest to echo the lines read from the script file as it runs (useful to see at what point things crash). The -p flag gives a prefix to apply to the paths from in the script file.
2012-06-14First version of mujstest-v8.pdf and associated solution changes.Robin Watts
Simple command line tool made from cutting all the windows specifics out of win_main.c and adding a simple script handler in. Read lines from the script, and feed those events to pdfapp. Screenshot pages as required.