Commit graph

22 commits

Author SHA1 Message Date
3f1b7651e9 GPL header whitespace 2010-12-17 23:28:49 +01:00
Christian Thaeter
c29ea07138 lumiera_error_expect() lets one easily handle expected errors
This is a convenience function which clears the error state when some
expected error occurred and lets one branch on this.
2010-01-13 17:41:26 +01:00
Christian Thaeter
b232a4f9f0 errors for locking
* add a 'unknown' error to the error system as fallback
 * lockerror.c|h define all errors which can happen due locking
 * lumiera_lockerror_set() translates posix errors to lumiera errors
 * remove stale errors from sectionlock.h
2010-01-13 00:10:33 +01:00
Christian Thaeter
a78ec21fea ERROR_SET_* macros for different logging levels 2009-01-15 01:05:07 +01:00
Christian Thaeter
d37bb17566 Add a context string to the error system
lumiera_error_set() now takes an optional extra string which can be used
to pass context relevant data along. This string gets copied into the
error state so one can easily create it by the tmpbuf_snprintf() facility.

Also a lot of places which define errors get fixed according to this.
2009-01-13 21:23:37 +01:00
Christian Thaeter
257b310699 add an error_peek function, fix prototypes
lumiera_error_peek() lets one investigate the error state without resetting
it.
2008-11-03 08:03:48 +01:00
Christian Thaeter
93e126f5ab add a 'lumiera_err' typedef 2008-08-10 12:19:08 +02:00
Mano Stienen
163ba179ed moved documentation from error.c to .h 2008-07-20 16:11:08 +02:00
Christian Thaeter
00b9dff106 Doxygen config update
* set EXPORT_ALL=NO to leave out undcoumented entities.
* Fix a lot @file directives
2008-05-19 16:27:29 +02:00
Christian Thaeter
27ca8a7362 let LUMIERA_DIE take an error identifier as parameter 2008-05-13 20:54:05 +02:00
e737b9ef1b Lumiera renaming -- source code 2008-03-10 06:09:44 +01:00
0baf15ca94 Cinelerra-3 renamed to Lumiera -- copyright and documentation 2008-03-10 04:25:03 +01:00
Odin Omdal Hørthe
74a7bf4493 Made a @file-skeleton for doxygen for the files in src/lib/ 2007-10-20 17:27:27 +02:00
Odin Omdal Hørthe
6eea8a60e0 Moved function doc from error.h to error.c 2007-10-20 16:52:59 +02:00
Christian Thaeter
194d7810f4 add a cinelerra error which can be used to forward standard C errors from errno 2007-08-31 01:21:44 +02:00
Christian Thaeter
5832cfeae2 Merge branch 'master' of git://git.pipapo.org/cinelerra3/ichthyo 2007-08-30 01:42:06 +02:00
d54b600382 implemented C++ error handling system 2007-08-26 19:14:39 +02:00
Christian Thaeter
e2ffd09f4b doxycomment errorhandling, small macro improvement 2007-08-23 05:30:29 +02:00
Christian Thaeter
9507fae565 reverted CINELERRA_DIE(msg) to CINELERRA_DIE 2007-08-18 05:12:14 +02:00
Christian Thaeter
7627271ce3 convinience macro CINELERRA_ERROR_SET(flag, err) 2007-08-18 05:05:11 +02:00
Christian Thaeter
d36a38a56e errorhandling finished for now, as proposed 2007-08-14 04:40:13 +02:00
Christian Thaeter
af7bfd6fa7 just a scratch 2007-07-19 04:31:06 +02:00