Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-21 | Move defaulting of image params into predictor function. | Robin Watts | |
This makes no difference to the current operation of the code, but ensures that 'saner' values are put into the image_params structure. This will help pdfwrite give more aesthetically pleasing output later. | |||
2012-07-05 | Move 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-04 | Prediction filter assumes it's writing to zeroed memory. | Robin Watts | |
The putcomponent function assumes the function has been cleared. Simple fix to clear bytes at the start of each scanline. Problem seen with normal_217.pdf | |||
2012-06-28 | Update tiff iamge predictor to cope with 16 bits. | Robin Watts | |
normal_178.pdf contains a monochrome black and white image, encoded as 16bpc rgb. | |||
2012-03-06 | Split fitz.h/mupdf.h into internal/external headers. | Robin Watts | |
Attempt to separate public API from internal functions. | |||
2012-02-03 | Remove extraneous blank lines. | Tor Andersson | |
2012-01-27 | Remove dependency on fz_obj from the filter creation parameters. | Tor Andersson | |
2011-12-17 | More memsqueezing fixes; stream creation. | Robin Watts | |
2011-12-17 | Change stream 'close' functions to facilitate error cleanup. | Robin Watts | |
Rather than passing a stream to a close function, just pass context and state - that's all that is required. This enables us to call close to cleanup neatly if the stream fails to allocate. | |||
2011-12-16 | Add fz_malloc_struct, and make code use it. | Robin Watts | |
The new fz_malloc_struct(A,B) macro allocates sizeof(B) bytes using fz_malloc, and then passes the resultant pointer to Memento_label to label it with "B". This costs nothing in non-memento builds, but gives much nicer listings of leaked blocks when memento is enabled. | |||
2011-12-08 | Throw exceptions for read errors. | Tor Andersson | |
2011-09-21 | Add warning context. | Tor Andersson | |
2011-09-21 | Don't thread ctx through safe fz_obj functions. | 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-08 | Remove inline keyword where it is not strictly necessary for performance. | Tor Andersson | |
Also put the function on the same line for inline functions, so they stick out and are easy to find with grep. | |||
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. | |||
2010-08-02 | Use 'while (rp < wp)' idiom for filter output buffering state. | Tor Andersson | |
2010-07-29 | Use chained reader like interface for filters instead of process interface. | Tor Andersson | |
2010-07-23 | Fix typo in grayscale image sampling. | Tor Andersson | |
2010-07-23 | Make predictor filter flush partially processed scanlines when encountering ↵ | Sebastian Rasmussen | |
EOF in input. | |||
2010-07-20 | Replace explicit comparisons with MIN/MAX/ABS macros. | Sebastian Rasmussen | |
2010-07-17 | Remove all trailing whitespace. | Tor Andersson | |
2010-06-29 | Reformat to remove all instances of double spaces (to easier spot ↵ | Tor Andersson | |
indentation errors in the future). | |||
2010-06-29 | Move over to RGBA instead of ARGB. Add missing gray-alpha 'duff' functions. | Robin Watts | |
2010-06-18 | Prediction filter optimisations: avoid needless copying and switch then for, ↵ | Robin Watts | |
not for then switch. | |||
2009-12-03 | Consolidate include lines to a single fitz.h. | Tor Andersson | |
2009-11-29 | Add some braces and fix up double-indentation on multi-line if/while ↵ | Tor Andersson | |
expressions. | |||
2009-11-29 | Fix up indentation. | Tor Andersson | |
2009-11-20 | Malloc cannot return null. Clean up streams and filters. | Tor Andersson | |
2009-11-19 | Remove unused and largely untested encoding filters. | Tor Andersson | |
2009-06-22 | Handle invalid predictors properly. | Sebastian Rasmussen | |
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-02-28 | Merge and move header files into the source directories. | Tor Andersson | |
2009-02-28 | Moved Fitz files into one directory. | Tor Andersson | |