Commit Graph

25 Commits

Author SHA1 Message Date
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
799768641f prefer passing by reference over value 2018-07-24 15:46:28 +10:00
1d11f05918 cast: move casting functions into util::cast namespace 2018-01-16 15:11:15 +11:00
0351313c36 Merge branch 'master' into coord 2017-11-23 17:24:11 +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
c1aa0f7a3d io: slurp should default to providing bytes, not chars
std::byte has less potential for abuse. if you want an array of chars
you should ask for it.
2017-09-12 14:18:34 +10:00
9a798446b5 build: remove unnecessary includes
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
86aec9d9dd backtrace: remove excess newline in execinfo backend 2016-08-15 20:56:10 +10:00
8f8896b0f6 debug: use appropriate signed literals for CHECK 2016-08-10 17:34:54 +10:00
539188ffde backtrace_execinfo: correct newlines for ostream
if addr2line wasn't found newlines weren't consistent
2016-05-12 17:47:47 +10:00
1f432c13b7 build: avoid type truncation warnings
discovered with clang's -Wshorten-64-to-32
2016-05-12 17:39:33 +10:00
7605abeb44 backtrace/win32: enable win32 backtrace support 2016-04-19 16:08:56 +10:00
25520b6097 backtrace: fully qualify std types 2016-04-05 11:09:28 +10:00
a59844be98 don't pull in namespace std 2016-03-11 13:28:56 +11:00
424e6e8701 cast: move types/casts to cast 2015-11-17 16:19:27 +11:00
c33fd2601c backtrace: add addr2line fields in output 2015-10-29 17:52:48 +11:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10: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
84ca008305 copyright headers and date bumps 2014-09-17 18:20:28 +10:00
5a7ff4d20a build: silence sign promotion warnings 2014-07-02 15:38:05 +10:00
f5fa3219b4 Use a simple deallocator for backtrace info
Clang doesn't like using the array form of unique_ptr with backtrace
calls for some reason. Less important to figure this out.
2012-06-13 16:01:42 +10:00
4f5d75a1df Make all check macros uppercase 2012-05-11 12:34:21 +10:00
ac5a5d3a7d Initial framework for win32 backtrace 2012-05-10 16:54:47 +10:00
bc59b72fa9 Add prelim backtrace support detection in build 2011-06-25 12:40:57 +10:00