Commit Graph

266 Commits

Author SHA1 Message Date
Deukhoofd a64c2aaca8
Trim whitespace of snippets in stack traces.
continuous-integration/drone/push Build is passing Details
2020-08-16 19:45:19 +02:00
Deukhoofd 98ff6b3b69
Improves exception stack traces by including inlined functions, and displaying snippets of code.
continuous-integration/drone/push Build is passing Details
2020-08-16 19:15:45 +02:00
Deukhoofd 010600c76b
Fix unit test
continuous-integration/drone/push Build is passing Details
2020-08-16 17:35:51 +02:00
Deukhoofd 5c9e58d032
Style fixes.
continuous-integration/drone/push Build is failing Details
2020-08-16 17:34:58 +02:00
Deukhoofd 73e67b8c5d
Fixed define flag.
continuous-integration/drone/push Build is passing Details
2020-08-16 17:31:11 +02:00
Deukhoofd c58bc6f785
Hide some functions that aren't used by Windows from the Windows build.
continuous-integration/drone/push Build is failing Details
2020-08-16 17:27:09 +02:00
Deukhoofd 5c0c0878a6
Fixed issue where compile options were added too late.
continuous-integration/drone/push Build is failing Details
2020-08-16 17:24:37 +02:00
Deukhoofd 34ba9331ed
Only add debug symbols on Linux build
continuous-integration/drone/push Build is failing Details
2020-08-16 17:18:12 +02:00
Deukhoofd 620248f329
Include debug symbols in Release build, rework exception stack trace.
continuous-integration/drone/push Build is failing Details
2020-08-16 16:59:13 +02:00
Deukhoofd 5a14c712d2
Style fix
continuous-integration/drone/push Build is passing Details
2020-08-16 10:43:54 +02:00
Deukhoofd 20a7dc55a0
Return a value when stacktrace is empty.
continuous-integration/drone/push Build is passing Details
2020-08-16 10:41:10 +02:00
Deukhoofd 9726920b7f
Fixes for Windows.
continuous-integration/drone/push Build is passing Details
2020-08-15 16:14:33 +02:00
Deukhoofd 7de12d53b5
Implements noexcept copy constructor for Exception. 2020-08-15 16:14:06 +02:00
Deukhoofd 0a2acc1eea
Link stacktrace to library instead of test executable.
continuous-integration/drone/push Build is passing Details
2020-08-15 14:58:44 +02:00
Deukhoofd 34362a2cd7
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-08-15 14:54:19 +02:00
Deukhoofd faaa4cdc9b
Make C Interface return stack.
continuous-integration/drone/push Build is passing Details
2020-08-15 14:52:15 +02:00
Deukhoofd f158dbf8a2
Throw all exceptions with Arbutils exception. 2020-08-15 14:50:17 +02:00
Deukhoofd 3e96d2fd76
Dont include test for stack trace on Windows.
continuous-integration/drone/push Build is passing Details
2020-08-15 14:32:38 +02:00
Deukhoofd 168c45cb3b
Further fixes for Exception class on Windows.
continuous-integration/drone/push Build is failing Details
2020-08-15 14:25:27 +02:00
Deukhoofd c7d18db8b7
Completely not include the stacktrace on Windows.
continuous-integration/drone/push Build is failing Details
2020-08-15 14:22:32 +02:00
Deukhoofd e778b61839
Don't use stacktrace on Windows.
continuous-integration/drone/push Build is failing Details
2020-08-15 14:19:36 +02:00
Deukhoofd 002902eed9
Dont include stack trace test in valgrind.
continuous-integration/drone/push Build is failing Details
2020-08-15 14:05:22 +02:00
Deukhoofd 1dee4cd4a8
Better handling for Exception stack trace testing.
continuous-integration/drone/push Build is failing Details
2020-08-15 13:59:10 +02:00
Deukhoofd 5ac7654be1
Add option to get depth of stack trace.
continuous-integration/drone/push Build is failing Details
2020-08-15 13:48:34 +02:00
Deukhoofd f29e111b78
Support new exception type with stack trace.
continuous-integration/drone/push Build is failing Details
2020-08-15 13:31:16 +02:00
Deukhoofd fb6b04bf03
Style Fix
continuous-integration/drone/push Build is passing Details
2020-08-10 17:22:47 +02:00
Deukhoofd 6e7a28d754
Support for swapping in a UniquePtrList.
continuous-integration/drone/push Build is passing Details
2020-08-10 17:20:37 +02:00
Deukhoofd 08952c86d0
Support for passing parameters to list to construct item in list.
continuous-integration/drone/push Build is passing Details
2020-08-09 10:47:41 +02:00
Deukhoofd d18e2c080c
Style fix..
continuous-integration/drone/push Build is passing Details
2020-08-08 12:22:28 +02:00
Deukhoofd 74ebb40afc
Fixes build.
continuous-integration/drone/push Build is passing Details
2020-08-08 12:20:20 +02:00
Deukhoofd 93e14af1e8
Trigger new build.
continuous-integration/drone/push Build is failing Details
2020-08-08 12:19:01 +02:00
Deukhoofd 0d9ea1d3a3
Changes empty static StringView, as it caused conflicts with older Empty bool checker.
continuous-integration/drone/push Build is failing Details
2020-08-08 12:10:25 +02:00
Deukhoofd f330e8a9e0
Fixes naming.
continuous-integration/drone/push Build is passing Details
2020-08-08 11:41:21 +02:00
Deukhoofd d8c3fe1436
Add support for simple empty StringView.
continuous-integration/drone/push Build is passing Details
2020-08-08 11:26:46 +02:00
Deukhoofd 18c7c3ddcb
Remove thread_local as it causes issues with shared library linking.
continuous-integration/drone/push Build is passing Details
2020-07-28 19:24:35 +02:00
Deukhoofd 1000893652
Make C Interface exceptions thread local.
continuous-integration/drone/push Build is passing Details
2020-07-28 18:35:42 +02:00
Deukhoofd 5fda89bc72
Add support for setting and taking ownership on a pointer in UniquePtrList.
continuous-integration/drone/push Build is passing Details
2020-07-25 14:28:00 +02:00
Deukhoofd 287b50fb2f
Exception handling for the C Interface.
continuous-integration/drone/push Build is passing Details
2020-07-19 11:08:05 +02:00
Deukhoofd 0295bb949a
Actually export the C Interface.
continuous-integration/drone/push Build is passing Details
2020-07-19 10:44:54 +02:00
Deukhoofd b55e0c5473
Tell the build server to run a tests build.
continuous-integration/drone/push Build is passing Details
2020-07-17 12:17:16 +02:00
Deukhoofd 4f5ae70634
Cleanup for the cmake file.
continuous-integration/drone/push Build is failing Details
2020-07-17 12:15:32 +02:00
Deukhoofd eb3e174877
Reset to before c++20 features that required clang.
continuous-integration/drone/push Build is passing Details
2020-07-12 15:06:20 +02:00
Deukhoofd 23bbd45d92
Further fixes in the hope of fixing conan.
continuous-integration/drone/push Build is passing Details
2020-07-12 14:50:22 +02:00
Deukhoofd ab7504e79a
Further fixes in the hope of fixing conan.
continuous-integration/drone/push Build is passing Details
2020-07-12 13:36:20 +02:00
Deukhoofd 03d1ff23e1
Log exact cmake command used by conan.
continuous-integration/drone/push Build is passing Details
2020-07-12 12:26:38 +02:00
Deukhoofd 1ddbfb09b9
Test to see if this works better with Conan.
continuous-integration/drone/push Build is passing Details
2020-07-12 11:46:48 +02:00
Deukhoofd 592e3c3ffe
Found a better way to remove -fPIC flag for Windows build.
continuous-integration/drone/push Build is passing Details
2020-07-12 10:19:21 +02:00
Deukhoofd 61aa266737
More work on figuring out wclang with conan.
continuous-integration/drone/push Build is passing Details
2020-07-11 14:24:10 +02:00
Deukhoofd e578331001
Dont use mingw linker
continuous-integration/drone/push Build is passing Details
2020-07-11 14:06:33 +02:00
Deukhoofd d11661e06e
Removed build step that was no longer needd.
continuous-integration/drone/push Build is passing Details
2020-07-11 13:49:27 +02:00