summaryrefslogtreecommitdiff
path: root/apps/jstest_main.c
AgeCommit message (Collapse)Author
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.