Commit Graph

26 Commits

Author SHA1 Message Date
ec16afc747 except: add custom base exception 2018-12-03 15:29:21 +11:00
77c88438d4 except: move posix/win32 exceptions to own units 2017-12-18 15:46:52 +11:00
34788756d2 build: don't use './' as an include prefix
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
a93dd90da9 types: remove elems function, prefer std::size
Now that std::size is part of our supported compilers we can remove the
old elems function.
2016-11-17 18:06:39 +11:00
9a798446b5 build: remove unnecessary includes
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
abce134089 except: add missing methods to win32_error 2016-04-27 16:07:42 +10:00
a941f4d74e except: add code and last_code accessors to errno_error 2016-04-27 16:06:58 +10:00
354573f369 except: rename errno_error::id to m_code 2016-04-27 16:06:32 +10:00
755ba5a6a7 except: explicitly qualify win32 message table
if the mesage table isn't specified when formatting error codes some
systems will fail to render the string.
2016-04-15 15:55:30 +10:00
679a2c9e71 except: add code to string for win32 2016-04-05 11:04:50 +10:00
07885819e3 except: add expect conditions for try_code 2015-09-09 18:45:23 +10:00
fa9fac1d92 except: add throw_code for win32_error 2015-08-10 15:42:58 +10:00
a8d341632e except: style 2015-08-10 15:42:40 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
c487a00175 debug: use newer CHECK macros 2015-01-30 17:36:35 +11:00
52f53caee5 debug: drop support for CHECK_HARD
HARD vs SOFT assertions were never very well defined or supported.
Currently they just imply a level of functionality that isn't present;
it's better to remove them instead of expending the effort at this
point.
2015-01-28 14:49:34 +11:00
6e82915975 Place util exceptions in the util namespace 2012-05-16 15:01:01 +10:00
4f5d75a1df Make all check macros uppercase 2012-05-11 12:34:21 +10:00
5ef9f02a19 Add win32 error class for throwing 2012-05-08 15:01:56 +10:00
51e2e223cc Add throw_code methods to errno_error 2012-04-30 11:51:11 +10:00
77942e008d Change my email to an active domain 2012-04-23 13:10:50 +10:00
a3d965b917 Change licencing from waif to libgim 2012-04-11 15:21:00 +10:00
898d082fb0 Expand brief documentation for classes 2011-06-23 22:06:28 +10:00
20f81a7630 Correct package name in copyright headers
Package is no longer waif, after its seperation from the waif
library/application. Hopefully there aren't any more dependencies...
2011-06-21 20:26:32 +10:00
547fdc629a added try_code routines for errno_error 2011-05-25 23:02:15 +10:00
745e06d1af initial import from waif 2011-05-23 17:18:52 +10:00