Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-08 | Move from volatile to fz_var. | Robin Watts | |
When using exceptions (which are implemented using setjmp/longjmp), we need to be careful to ensure that variable values get written back before any exception happens. Previously we've done that using volatile, but that produces nasty warnings (and unduly limits the compilers freedom to optimise). Here we introduce a new macro fz_var that passes the address of the variable out of scope. This means that the compiler has to ensure that any changes to its value are written back to memory before calling any out of scope function. | |||
2011-11-14 | Simplify fz_try/fz_catch by removing failed flag. | Robin Watts | |
The failed flag can be removed by having the fz_throw (and fz_rethrow) functions do the popping of the stack. | |||
2011-09-21 | Add warning context. | Tor Andersson | |
2011-09-20 | Reshuffle exception context code to fit Tor's aesthetic sense. | Tor Andersson | |
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-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-06 | Add error message buffer for GUI applications to display the latest error ↵ | Tor Andersson | |
stack trace. | |||
2011-03-06 | Inhibit warning message spam by introducing a repeat counter. | Tor Andersson | |
2010-07-08 | Simplify #ifdef labyrinth and make some source more c89 compatible. | Tor Andersson | |
2010-05-14 | Remove prefix ascii art from error messages stored in the error text buffer. | Tor Andersson | |
2009-12-03 | Consolidate include lines to a single fitz.h. | Tor Andersson | |
2009-11-29 | Fix up indentation. | Tor Andersson | |
2009-08-23 | Print the newline at the end of error messages separately from the snprintf, ↵ | Tor Andersson | |
since it may be trimmed off if the message is too long to fit the buffer. | |||
2009-08-22 | Append newline to end of error messages. | Sebastian Rasmussen | |
2009-08-21 | Save error messages in a static buffer so that the windows viewer can show ↵ | Tor Andersson | |
them in a dialog box. | |||
2009-03-11 | Change fz_error* struct into an integer error type fz_error. | Tor Andersson | |
2009-03-11 | Add fz_catch function, and cause the throw/rethrow/catch functions to print ↵ | Tor Andersson | |
the errors immediately. | |||
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 | |
2005-06-04 | new world order | Tor Andersson | |
2005-03-30 | rename and shuffle -- part 2 | Tor Andersson | |