Commit Graph

58 Commits

Author SHA1 Message Date
Deukhoofd 26fea2ac20
Reorganise memory model to make it clear Memory.hpp should be referenced. 2020-12-11 15:29:27 +01:00
Deukhoofd 3e9fd2bea8
Switch from Catch2 to DocTest for unit tests. 2020-09-25 11:50:53 +02:00
Deukhoofd 31b63d56db
Lots of documentation. 2020-09-22 19:32:40 +02:00
Deukhoofd 3f4b026071
Header cleanup. 2020-09-21 14:01:19 +02:00
Deukhoofd 37b1e16b34
Style fix. 2020-08-17 12:05:15 +02:00
Deukhoofd 98ff6b3b69
Improves exception stack traces by including inlined functions, and displaying snippets of code. 2020-08-16 19:15:45 +02:00
Deukhoofd 010600c76b
Fix unit test 2020-08-16 17:35:51 +02:00
Deukhoofd 5c9e58d032
Style fixes. 2020-08-16 17:34:58 +02:00
Deukhoofd 620248f329
Include debug symbols in Release build, rework exception stack trace. 2020-08-16 16:59:13 +02:00
Deukhoofd 34362a2cd7
Style fixes. 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. 2020-08-15 14:19:36 +02:00
Deukhoofd 002902eed9
Dont include stack trace test in valgrind. 2020-08-15 14:05:22 +02:00
Deukhoofd 1dee4cd4a8
Better handling for Exception stack trace testing. 2020-08-15 13:59:10 +02:00
Deukhoofd 5ac7654be1
Add option to get depth of stack trace. 2020-08-15 13:48:34 +02:00
Deukhoofd f29e111b78
Support new exception type with stack trace. 2020-08-15 13:31:16 +02:00
Deukhoofd d18e2c080c
Style fix.. 2020-08-08 12:22:28 +02:00
Deukhoofd 93e14af1e8
Trigger new build. 2020-08-08 12:19:01 +02:00
Deukhoofd 0d9ea1d3a3
Changes empty static StringView, as it caused conflicts with older Empty bool checker. 2020-08-08 12:10:25 +02:00
Deukhoofd d8c3fe1436
Add support for simple empty StringView. 2020-08-08 11:26:46 +02:00
Deukhoofd 950464ae79
Implements piping StringView into streams. 2020-07-08 13:28:43 +02:00
Deukhoofd 083c00f85e
Changes for how Literal changes to normal StringView. 2020-06-27 14:16:15 +02:00
Deukhoofd 4ffe9f10a3
Style fixes. 2020-06-26 16:27:17 +02:00
Deukhoofd 088f66c385
Style fixes. 2020-06-26 15:58:42 +02:00
Deukhoofd abca51d331
Large rework of the project, specifically the String classes. 2020-06-26 15:56:00 +02:00
Deukhoofd bfe1fcc805
Style fixes. 2020-05-31 16:40:33 +02:00
Deukhoofd b7f1812153
Helper collection class that functions as list of unique pointers. 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. 2020-05-26 17:21:08 +02:00
Deukhoofd 779ddd49e3
Replace old memory management tests with simple borrowed_ptr.cpp. 2020-05-26 13:22:18 +02:00
Deukhoofd 28f427fa36
Switches Random handling to PCG family, specifically for better cross platform predictability. 2020-05-22 12:37:25 +02:00
Deukhoofd 2e227a2688
Style fixes. 2020-04-28 16:55:00 +02:00
Deukhoofd 195043d4c5
Implements easier assertions for iterators 2020-04-22 12:44:50 +02:00
Deukhoofd f89fb303b5
Fixed memory issues with new Enum ToString handling. 2020-04-10 19:57:12 +02:00
Deukhoofd 9244249a64
Better handling of out of bound enum values in ToString. 2020-04-10 19:51:35 +02:00
Deukhoofd 60802341b0
Fixed assignment memory issue. 2020-04-10 14:38:01 +02:00
Deukhoofd d720b9116f
Fixed Windows Build. 2020-04-09 18:04:28 +02:00
Deukhoofd e2c9d9899a
Add string terminator to test. 2020-04-07 18:57:11 +02:00
Deukhoofd 6b4d18f434
Resolve issue where ConstString can lose internal string representation due to not owning it.
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. 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. 2020-04-04 17:48:05 +02:00
Deukhoofd 872c275bc7
Support for pointer holder outline. 2020-03-28 21:08:55 +01:00
Deukhoofd 7524c2d61c
Added IndexOf support for List. 2020-03-24 22:56:40 +01:00
Deukhoofd 97bd13a1cb
Fixed not being able to assign to bool list. 2020-03-22 18:44:50 +01:00
Deukhoofd 79ab962e2f
Fixed not being to iterate over const collections. 2020-03-22 18:15:13 +01:00
Deukhoofd 5e9ffa0d69
Implements List collection type for safe access to vector. 2020-03-22 17:09:25 +01:00
Deukhoofd 3bbb12f485
Add initializer list support for Dictionary. 2020-03-22 16:53:42 +01:00
Deukhoofd 5de26d0866
Implements Dictionary class, a wrapper for the unordered_map, with more safety. 2020-03-22 16:38:48 +01:00
Deukhoofd e07e07253d
Tweaks and fixes for Assert 2020-03-22 12:20:39 +01:00
Deukhoofd 638a414961
More fixes for Assert. 2020-03-22 12:05:16 +01:00