Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-19 | More Memory squeezing fixes | Robin Watts | |
2011-12-15 | More Memsqueezing fixes. | Robin Watts | |
2011-12-08 | Throw exceptions for read errors. | Tor Andersson | |
2011-11-15 | Merge branch 'master' into context | Robin 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-01 | Avoid pointer arithmetic in fz_seek. | Tor Andersson | |
The pointer arithmetic could over/underflow, causing the range test to pass even when it shouldn't (due to compiler oddities). | |||
2011-10-04 | Move 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-21 | Add warning context. | Tor Andersson | |
2011-09-15 | Add 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-14 | Initial import of exception handling code | Robin 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-04-07 | Optimize file seeks that can be done within the buffered data. | Tor Andersson | |
2011-04-04 | Le Roi est mort, vive le Roi! | Tor Andersson | |
The run-together words are dead! Long live the underscores! The postscript inspired naming convention of using all run-together words has served us well, but it is now time for more readable code. In this commit I have also added the sed script, rename.sed, that I used to convert the source. Use it on your patches and application code. | |||
2011-03-10 | Fix integer overflow in compression bomb multiplication by using a division ↵ | Tor Andersson | |
instead. | |||
2011-03-06 | Add explicit EOF testing functions. | Tor Andersson | |
2011-03-02 | Use buffering for small reads. | Tor Andersson | |
2011-02-04 | Tweak the compression bomb detection. | Tor Andersson | |
2011-02-04 | Don't reset stream wp pointer at end of file, since that will clobber ↵ | Tor Andersson | |
streams opened with openbuffer. | |||
2011-01-02 | Relaxed limits when detecting compression bombs. | Sebastian Rasmussen | |
2010-11-12 | Clean up memory when returning an error. | Tor Andersson | |
2010-11-12 | Detect flate/runlength decompression bombs. | Tor Andersson | |
2010-08-02 | When seeking relative to the current position in a stream object, take ↵ | Sebastian Rasmussen | |
number of bytes read into buffer into consideration. | |||
2010-07-30 | Make an educated guess at the stream length by looking at the filters used ↵ | Tor Andersson | |
in pdf_loadstream. | |||
2010-07-29 | Use chained reader like interface for filters instead of process interface. | Tor Andersson | |
2010-07-17 | Minor edits of multi-line comments. | Tor Andersson | |
2010-07-13 | Fix clang warnings. | Tor Andersson | |
2010-07-09 | Rearrange and merge some files in the fitz directory. | Tor Andersson | |
2010-07-05 | Use NDEBUG rather than DEBUG to test build at compile time. | Tor Andersson | |
2010-05-26 | Optimize lexer by using unreadbyte and switches rather than chained ifs. | Robin Watts | |
2009-12-03 | Consolidate include lines to a single fitz.h. | Tor Andersson | |
2009-11-20 | Malloc cannot return null. Clean up streams and filters. | Tor Andersson | |
2009-03-11 | Remove fz_outofmem constant. | Tor Andersson | |
2009-03-11 | Change fz_error* struct into an integer error type fz_error. | Tor Andersson | |
2009-03-05 | Remove unused and mostly untested pdf updating and writing code. | Tor Andersson | |
2009-02-28 | Merge and move header files into the source directories. | Tor Andersson | |
2009-02-28 | Moved Fitz files into one directory. | Tor Andersson | |