summaryrefslogtreecommitdiff
path: root/apps
AgeCommit message (Collapse)Author
2011-12-08Remove deprecated error handling code.Tor Andersson
2011-12-08Use context in x11_main.Tor Andersson
2011-12-08Throw exceptions for read errors.Tor Andersson
2011-12-08Fix exception handling in pdfdraw to avoid leaks.Robin Watts
Remove use of 'die', in place of proper exception handling.
2011-12-08Merge branch 'master' into contextRobin Watts
2011-12-08Undo pre-multiplied alpha when saving PNG with alpha channels.Tor Andersson
2011-12-07Fix mismerge, causing error on closedown of mupdf.exe.Robin Watts
At some point I'd mismerged some code for handling app->doctitle, resulting in app->doctitle pointing to something that's not a heap block. This caused an error when app->doctitle was freed at closedown. Remove the offending code and all is well.
2011-12-06Move antialias levels into context.Robin Watts
In builds that support configurable layers of antialiasing, move the variables that control this into the context. This makes it possible to safely use different levels of antialiasing in different threads.
2011-11-25Merge branch 'master' into contextRobin Watts
2011-11-22Fix bug where app->doctitle wasn't pointing to an alloced string.Tor Andersson
2011-11-17Bug 692487: Make pdfclean keep internal links where possible.Robin Watts
Take on a (cosmetically tweaked) version of Zenikos patch to allow pdfclean to keep link destinations that are in preserved pages.
2011-11-17Fix bug 692627; pdfclean -ggg of encrypted files fails.Robin Watts
Encryption bakes the object numbers into the strings/streams. This means that our renumbering technique falls down; when we move an object to its new position, then come to read it, we find that it decrypts badly. The fix here is (as suggested by Zeniko) to avoid renumbering when encryption is in use.
2011-11-15Merge branch 'master' into contextRobin Watts
Mostly redoing the xps_context to xps_document change and adding contexts to newly written code. Conflicts: apps/pdfapp.c apps/pdfapp.h apps/x11_main.c apps/xpsdraw.c draw/draw_device.c draw/draw_scale.c fitz/base_object.c fitz/fitz.h pdf/mupdf.h pdf/pdf_interpret.c pdf/pdf_outline.c pdf/pdf_page.c xps/muxps.h xps/xps_doc.c xps/xps_xml.c
2011-11-10Add XPS outline parsing and move outline data struct to fz_outline.Tor Andersson
2011-10-12Make sure PDF title is always an allocated string.Sebastian Rasmussen
Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
2011-10-12Add pdfdraw option to print the table of contents / outline.Tor Andersson
2011-10-12Make entering search terms not interfere with page number drawing.Sebastian Rasmussen
2011-10-12Default to opening URIs with xdg-open instead of open in X11 viewer.Sebastian Rasmussen
Based on a patch by Zhihao Yuan <lichray@gmail.com>.
2011-10-12Ask for screen resolution in X11 viewer.Sebastian Rasmussen
Based on a patch by Zhihao Yuan <lichray@gmail.com>.
2011-10-04Reintroduce alloc context section.Robin Watts
This was removed during a previous commit to make the editing easier. Now added back in.
2011-10-04Move to exception handling rather than error passing throughout.Robin Watts
This frees us from passing errors back everywhere, and hence enables us to pass results back as return values. Rather than having to explicitly check for errors everywhere and bubble them, we now allow exception handling to do the work for us; the downside to this is that we no longer emit as much debugging information as we did before (though this could be put back in). For now, the debugging information we have lost has been retained in comments with 'RJW:' at the start. This code needs fuller testing, but is being committed as a work in progress.
2011-09-21Rename xps_context to xps_document.Tor Andersson
2011-09-21Add warning context.Tor Andersson
2011-09-21Rename malloc functions for arrays (fz_calloc and fz_realloc).Tor Andersson
2011-09-21Don't thread ctx through safe fz_obj functions.Tor Andersson
2011-09-20Plug some memory leaks in pdfapp.Sebastian Rasmussen
2011-09-20Reshuffle exception context code to fit Tor's aesthetic sense.Tor Andersson
2011-09-19In X11 viewer, repaint entire page if no match found.Sebastian Rasmussen
2011-09-17Show page number in X11 viewer upon 'P' keypress.Sebastian Rasmussen
2011-09-17Implement backwards search in viewer.Sebastian Rasmussen
2011-09-15Add context to mupdf.Robin Watts
Huge pervasive change to lots of files, adding a context for exception handling and allocation. In time we'll move more statics into there. Also fix some for(i = 0; i < function(...); i++) calls.
2011-09-14Initial import of exception handling codeRobin Watts
Import exception handling code from WSS, modified to fit into the fitz world. With this code we have 'real' fz_try/fz_catch/fz_rethrow functions, handling a fz_except type. We therefore rename the existing fz_throw/ fz_catch/fz_rethrow to be fz_error_make/fz_error_handle/fz_error_note. We don't actually use fz_try/fz_catch/fz_rethrow yet...
2011-09-05Version 0.9Tor Andersson
2011-09-04Update manpages for tools.Sebastian Rasmussen
2011-09-04Reload file in X11 viewer upon SIGHUP.Sebastian Rasmussen
2011-09-04Coalesce consecutive X11 resize events into a single resize operation.Sebastian Rasmussen
2011-09-04Repaint only viewer search area when editing search string.Sebastian Rasmussen
2011-09-04Do not redraw viewer window if the search string is not found.Sebastian Rasmussen
2011-09-04Fix panning bug in viewer related to backwards search.Sebastian Rasmussen
Searching backwards in the document for a non-existing string resulted in the window being redrawn with no document. Until next repaint, at which point the window was redrawn again this time with the document present.
2011-09-04Send string not found message to viewer app, don't print on stdout.Sebastian Rasmussen
2011-09-04Do not search for empty strings in viewer.Sebastian Rasmussen
2011-09-04Go to first page when 'g' is pressed without number prefix in viewer.Sebastian Rasmussen
2011-09-04Remove unused redraw timeout from X11 viewer.Sebastian Rasmussen
2011-08-30Ignore X11 key mappings when searching.Bert
2011-08-30Do not change view when reloading file.Bert
2011-08-29Turn off shrinkwrap mode when maximizing the window.Tor Andersson
2011-08-17pdfdraw: Add command line option to gamma correct and invert images.Tor Andersson
2011-08-09Fix bug 692412: typo in buffer size.Tor Andersson
2011-05-26Flip pages when panning beyond threshhold.Cedric Sodhi
Added BEYOND_TRESHHOLD for pdfapp and code which flips to next/previous page if one pans beyond the page end plus that threshhold.
2011-04-29Don't use RegDeleteTree; it's only supported in Vista and up.Tor Andersson