Commit Graph

347 Commits

Author SHA1 Message Date
Deukhoofd 3e9fd2bea8
Switch from Catch2 to DocTest for unit tests.
continuous-integration/drone/push Build is passing Details
2020-09-25 11:50:53 +02:00
Deukhoofd 51c7ba1c50
Use a precompiled header for many std includes.
continuous-integration/drone/push Build is passing Details
2020-09-25 11:06:55 +02:00
Deukhoofd 87706ffae0 Adds License
continuous-integration/drone/push Build is passing Details
2020-09-24 19:32:34 +00:00
Deukhoofd 74d7e23056
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-09-24 21:02:22 +02:00
Deukhoofd 2e93cd65c5
Remove constevals for now, until mingw32-w64 supports it on the build server.
continuous-integration/drone/push Build is passing Details
2020-09-24 20:54:11 +02:00
Deukhoofd 9d7b2d62b6
Check whether everything has documentation on build
continuous-integration/drone/push Build is failing Details
2020-09-24 20:48:00 +02:00
Deukhoofd f20b55b0d5
Lots more documentation.
continuous-integration/drone/push Build is failing Details
2020-09-24 20:40:21 +02:00
Deukhoofd 31b63d56db
Lots of documentation.
continuous-integration/drone/push Build is passing Details
2020-09-22 19:32:40 +02:00
Deukhoofd 95f1e818e7
Further build fixes.
continuous-integration/drone/push Build is passing Details
2020-09-21 18:59:26 +02:00
Deukhoofd 79e6bd4aa1
Fixes for build failing.
continuous-integration/drone/push Build is failing Details
2020-09-21 18:58:30 +02:00
Deukhoofd 3f4b026071
Header cleanup.
continuous-integration/drone/push Build is failing Details
2020-09-21 14:01:19 +02:00
Deukhoofd 4a476dcf4c
Try using Ninja instead of make.
continuous-integration/drone/push Build is failing Details
2020-09-21 13:19:19 +02:00
Deukhoofd 49ca3d0426
Use LLD as linker when we build with Clang.
continuous-integration/drone/push Build is passing Details
2020-09-21 12:37:34 +02:00
Deukhoofd 514186a1e6
Remove thinlto, causes more issues than it helps.
continuous-integration/drone/push Build is passing Details
2020-09-18 19:32:50 +02:00
Deukhoofd 38f36699ac
Only use ThinLTO for shared libraries.
continuous-integration/drone/push Build is passing Details
2020-09-12 16:59:07 +02:00
Deukhoofd 4f8ca03a39
Attempt using RanLib and AR
continuous-integration/drone/push Build is failing Details
2020-09-12 16:55:27 +02:00
Deukhoofd b6de3a730b
Use ThinLTO for Clang.
continuous-integration/drone/push Build is failing Details
2020-09-12 16:50:36 +02:00
Deukhoofd fedb27790e
Fixed checks for less than 0 on List indexing, as it was always false.
continuous-integration/drone/push Build is passing Details
2020-08-20 13:27:39 +02:00
Deukhoofd 675407d7f5
Fixed Windows issues.
continuous-integration/drone/push Build is passing Details
2020-08-20 13:21:39 +02:00
Deukhoofd 8fecd2079a
Remove Windows signal handling for now, as it's causing issues.
continuous-integration/drone/push Build is failing Details
2020-08-20 13:19:11 +02:00
Deukhoofd efe902d045
Dont include signal handler in Windows.
continuous-integration/drone/push Build is failing Details
2020-08-20 13:10:10 +02:00
Deukhoofd 8dac6c632b
Link pthread statically.
continuous-integration/drone/push Build is passing Details
2020-08-20 12:54:37 +02:00
Deukhoofd a91a57aa0a
Style fix
continuous-integration/drone/push Build is passing Details
2020-08-18 19:18:38 +02:00
Deukhoofd 5eb95805f6
Further Windows fixes.
continuous-integration/drone/push Build is passing Details
2020-08-18 19:15:00 +02:00
Deukhoofd 16b083d927
Tweaks to make Windows happy again hopefully
continuous-integration/drone/push Build is failing Details
2020-08-18 18:50:03 +02:00
Deukhoofd c1a207f918
Further fixes for Windows.
continuous-integration/drone/push Build is failing Details
2020-08-18 18:46:50 +02:00
Deukhoofd c2655568d7
Fixes for Windows.
continuous-integration/drone/push Build is failing Details
2020-08-18 18:44:06 +02:00
Deukhoofd cfcdbfe984
Support for custom signal callbacks.
continuous-integration/drone/push Build is failing Details
2020-08-18 18:41:18 +02:00
Deukhoofd d59c13a34d
Allow disabling pretty traces and remove dependency on libdw.
continuous-integration/drone/push Build is passing Details
2020-08-17 20:08:23 +02:00
Deukhoofd 37b1e16b34
Style fix.
continuous-integration/drone/push Build is passing Details
2020-08-17 12:05:15 +02:00
Deukhoofd a665ad3eaf
Set up macros for easier exception throwing.
continuous-integration/drone/push Build is passing Details
2020-08-17 12:02:42 +02:00
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