Commit Graph

62 Commits

Author SHA1 Message Date
Deukhoofd 95266f71ba
Lots of cleanups to get stacks properly working in all cases. 2020-12-23 12:04:20 +01:00
Deukhoofd 90bb8d54b6
Rename Assert.hpp --> Ensure.hpp, style fixes.
continuous-integration/drone/push Build is passing Details
2020-12-13 11:45:00 +01:00
Deukhoofd 4e854516c1
Rename Assert macro to Ensure, clean up exception to be in line with THROW.
continuous-integration/drone/push Build is passing Details
2020-12-13 11:41:41 +01:00
Deukhoofd 96315cb857
Rework Dictionary::TryGet to use std::optional.
continuous-integration/drone/push Build is passing Details
2020-12-12 12:53:47 +01:00
Deukhoofd 26fea2ac20
Reorganise memory model to make it clear Memory.hpp should be referenced.
continuous-integration/drone/push Build is passing Details
2020-12-11 15:29:27 +01:00
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 31b63d56db
Lots of documentation.
continuous-integration/drone/push Build is passing Details
2020-09-22 19:32:40 +02:00
Deukhoofd 3f4b026071
Header cleanup.
continuous-integration/drone/push Build is failing Details
2020-09-21 14:01:19 +02:00
Deukhoofd 37b1e16b34
Style fix.
continuous-integration/drone/push Build is passing Details
2020-08-17 12:05:15 +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 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 34362a2cd7
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-08-15 14:54:19 +02:00
Deukhoofd f158dbf8a2
Throw all exceptions with Arbutils exception. 2020-08-15 14:50:17 +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 d18e2c080c
Style fix..
continuous-integration/drone/push Build is passing Details
2020-08-08 12:22:28 +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 d8c3fe1436
Add support for simple empty StringView.
continuous-integration/drone/push Build is passing Details
2020-08-08 11:26:46 +02:00
Deukhoofd 950464ae79
Implements piping StringView into streams.
continuous-integration/drone/push Build is passing Details
2020-07-08 13:28:43 +02:00
Deukhoofd 083c00f85e
Changes for how Literal changes to normal StringView.
continuous-integration/drone/push Build is passing Details
2020-06-27 14:16:15 +02:00
Deukhoofd 4ffe9f10a3
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-06-26 16:27:17 +02:00
Deukhoofd 088f66c385
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-06-26 15:58:42 +02:00
Deukhoofd abca51d331
Large rework of the project, specifically the String classes.
continuous-integration/drone/push Build is passing Details
2020-06-26 15:56:00 +02:00
Deukhoofd bfe1fcc805
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-05-31 16:40:33 +02:00
Deukhoofd b7f1812153
Helper collection class that functions as list of unique pointers.
continuous-integration/drone/push Build is passing Details
2020-05-31 16:37:49 +02:00
Deukhoofd c8ca951dd8
Reduce namespace length further 2020-05-26 17:36:39 +02:00
Deukhoofd 3dc96de34b
Change namespace name so it's a lot less verbose.
continuous-integration/drone/push Build is passing Details
2020-05-26 17:21:08 +02:00
Deukhoofd 779ddd49e3
Replace old memory management tests with simple borrowed_ptr.cpp.
continuous-integration/drone/push Build is passing Details
2020-05-26 13:22:18 +02:00
Deukhoofd 28f427fa36
Switches Random handling to PCG family, specifically for better cross platform predictability.
continuous-integration/drone/push Build is passing Details
2020-05-22 12:37:25 +02:00
Deukhoofd 2e227a2688
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-04-28 16:55:00 +02:00
Deukhoofd 195043d4c5
Implements easier assertions for iterators
continuous-integration/drone/push Build is passing Details
2020-04-22 12:44:50 +02:00
Deukhoofd f89fb303b5
Fixed memory issues with new Enum ToString handling.
continuous-integration/drone/push Build is passing Details
2020-04-10 19:57:12 +02:00
Deukhoofd 9244249a64
Better handling of out of bound enum values in ToString.
continuous-integration/drone/push Build is failing Details
2020-04-10 19:51:35 +02:00
Deukhoofd 60802341b0
Fixed assignment memory issue.
continuous-integration/drone/push Build is passing Details
2020-04-10 14:38:01 +02:00
Deukhoofd d720b9116f
Fixed Windows Build.
continuous-integration/drone/push Build is passing Details
2020-04-09 18:04:28 +02:00
Deukhoofd e2c9d9899a
Add string terminator to test.
continuous-integration/drone/push Build is failing Details
2020-04-07 18:57:11 +02:00
Deukhoofd 6b4d18f434
Resolve issue where ConstString can lose internal string representation due to not owning it.
continuous-integration/drone/push Build is failing Details
This sadly meant most constexpr constructors had to be removed, as it needs to copy the string.
2020-04-07 18:54:23 +02:00
Deukhoofd 460f9308a0
Fixed issue with Valgrind.
continuous-integration/drone/push Build is passing Details
2020-04-04 18:01:35 +02:00
Deukhoofd 6f60cd7c96
Rework of Random class. Now ensures better randomness, is more performant, and has function for retrieving seed.
continuous-integration/drone/push Build is failing Details
2020-04-04 17:48:05 +02:00
Deukhoofd 872c275bc7
Support for pointer holder outline.
continuous-integration/drone/push Build is passing Details
2020-03-28 21:08:55 +01:00
Deukhoofd 7524c2d61c
Added IndexOf support for List.
continuous-integration/drone/push Build is passing Details
2020-03-24 22:56:40 +01:00
Deukhoofd 97bd13a1cb
Fixed not being able to assign to bool list.
continuous-integration/drone/push Build is passing Details
2020-03-22 18:44:50 +01:00
Deukhoofd 79ab962e2f
Fixed not being to iterate over const collections.
continuous-integration/drone/push Build is passing Details
2020-03-22 18:15:13 +01:00
Deukhoofd 5e9ffa0d69
Implements List collection type for safe access to vector.
continuous-integration/drone/push Build is passing Details
2020-03-22 17:09:25 +01:00