Commit Graph

305 Commits

Author SHA1 Message Date
Deukhoofd ec3c8e7701
Handle THROW macro in its own scope.
continuous-integration/drone/push Build is passing Details
2021-08-22 11:35:08 +02:00
Deukhoofd a0488d7078
Fixes Windows issues
continuous-integration/drone/push Build is passing Details
2021-06-20 12:05:30 +02:00
Deukhoofd c693c2635e
Include <optional> in precompiled.
continuous-integration/drone/push Build is passing Details
2021-06-19 12:46:40 +02:00
Deukhoofd eb662cb2e4
If Windows and shared, force .dll extension.
continuous-integration/drone/push Build is passing Details
2021-04-30 14:36:31 +02:00
Deukhoofd fe523f6c0d
Show actual length when logging out of bounds errors on lists.
continuous-integration/drone/push Build is passing Details
2021-04-17 14:49:29 +02:00
Deukhoofd 6ef9a6d67b
When calling Clear on UniquePtrList, also clear the vector.
continuous-integration/drone/push Build is passing Details
2021-04-14 19:27:56 +02:00
Deukhoofd b3ab6dab59
TakeOwnership shouldn't be const.
continuous-integration/drone/push Build is passing Details
2021-03-27 12:23:31 +01:00
Deukhoofd 5274ba735c
Further fixes for optional scoped ptr.
continuous-integration/drone/push Build is passing Details
2021-03-27 12:10:33 +01:00
Deukhoofd c805b4eee8
Fixes for OptionalScopedPtr.
continuous-integration/drone/push Build is passing Details
2021-03-27 12:03:00 +01:00
Deukhoofd 29ac434679
Adds implicit cast to raw pointer to ScopedPtr.
continuous-integration/drone/push Build is passing Details
2021-03-27 11:08:09 +01:00
Deukhoofd ce1268b1de
Adds OptionalScopedPtr, made ScopedPtr non nullable, fixes some APIs on the optional pointer variants.
continuous-integration/drone/push Build is passing Details
2021-03-27 11:03:41 +01:00
Deukhoofd 47ee3a0295
When we were doing STATICC we were linking libdw dynamically, still requiring many dependencies. THis switches to libbfd, which should massively reduce the number of required libraries.
continuous-integration/drone/push Build is passing Details
2021-03-26 13:37:01 +01:00
Deukhoofd 12f643a80e
Style fixes.
continuous-integration/drone/push Build is passing Details
2021-03-07 10:15:34 +01:00
Deukhoofd c1917c6f77
Adds misc macro NO_COPY_OR_MOVE, which allows you to delete copy and move constructors and assignment operators.
continuous-integration/drone/push Build is passing Details
2021-03-07 09:54:55 +01:00
Deukhoofd 28ba531a47
Work on reducing file sizes, by adding fewer debug symbols.
continuous-integration/drone/push Build is passing Details
2020-12-31 13:48:52 +01:00
Deukhoofd b3c9c95345
Add Debug compile flag if we're building in debug mode.
continuous-integration/drone/push Build is passing Details
2020-12-23 12:04:55 +01:00
Deukhoofd 95266f71ba
Lots of cleanups to get stacks properly working in all cases. 2020-12-23 12:04:20 +01:00
Deukhoofd 0e49c58647
Delete comparison with nullptr for non-null pointers.
continuous-integration/drone/push Build is passing Details
2020-12-13 11:51:47 +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 4466aeeee6
Fixes OptionalBorrowedPtr casts.
continuous-integration/drone/push Build is passing Details
2020-12-12 13:50:09 +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 362e4bf59b
Fixes inequality with raw pointer with smart pointers being inverted.
continuous-integration/drone/push Build is passing Details
2020-12-12 12:10:37 +01:00
Deukhoofd 7ec2a3f2b0
Fixes naming.
continuous-integration/drone/push Build is passing Details
2020-12-12 11:57:47 +01:00
Deukhoofd b909fc720a
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-12-12 11:56:13 +01:00
Deukhoofd a972162d6e
Adds OptionalUniquePtrList
continuous-integration/drone/push Build is passing Details
2020-12-12 11:53:32 +01:00
Deukhoofd 9f064c1e25
Fixes optional pointers.
continuous-integration/drone/push Build is passing Details
2020-12-12 11:37:19 +01:00
Deukhoofd f704a6c2f7
Fixes copy constructor in OptionalBorrowedPtr being broken.
continuous-integration/drone/push Build is passing Details
2020-12-12 11:30:22 +01:00
Deukhoofd 5ef9d5f6fc
Fixes assignment of raw pointers to smart pointers being broken.
continuous-integration/drone/push Build is passing Details
2020-12-11 17:27:58 +01:00
Deukhoofd 1119012158
Removes Result class.
continuous-integration/drone/push Build is passing Details
2020-12-11 17:16:36 +01:00
Deukhoofd e35129ceed
Fixes destructor.
continuous-integration/drone/push Build is passing Details
2020-12-11 16:48:07 +01:00
Deukhoofd 577f105c61
Result destructor for _errorMessage.
continuous-integration/drone/push Build is passing Details
2020-12-11 16:42:58 +01:00
Deukhoofd fdfd5f05c0
Adds copy operators on Result.
continuous-integration/drone/push Build is passing Details
2020-12-11 16:38:38 +01:00
Deukhoofd e3853bf290
Implicitly cast result value to OK result with given value.
continuous-integration/drone/push Build is passing Details
2020-12-11 16:25:18 +01:00
Deukhoofd 6f932f375f
Fixes style.
continuous-integration/drone/push Build is passing Details
2020-12-11 16:19:36 +01:00
Deukhoofd 880f476034
Fixes specialization error
continuous-integration/drone/push Build is passing Details
2020-12-11 16:19:18 +01:00
Deukhoofd 3b4ba7c82b
Add trivial constructors to pointers.
continuous-integration/drone/push Build is passing Details
2020-12-11 16:14:12 +01:00
Deukhoofd f7a161c690
Adds new result class to show a functions success or failure.
continuous-integration/drone/push Build is passing Details
2020-12-11 16:02:18 +01:00
Deukhoofd 0116ed8f4c
Fix specialization error.
continuous-integration/drone/push Build is passing Details
2020-12-11 15:37:46 +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 c4a4aedb04
Even more documentation.
continuous-integration/drone/push Build is passing Details
2020-12-11 15:25:24 +01:00
Deukhoofd d133b0a6fb
Adds documentation and fixes a couple issues.
continuous-integration/drone/push Build is failing Details
2020-12-11 15:22:21 +01:00
Deukhoofd efdce7b74c
Several fixes for new memory model.
continuous-integration/drone/push Build is failing Details
2020-12-11 15:12:17 +01:00
Deukhoofd 0e6ae18a32
Reworked memory model.
continuous-integration/drone/push Build is failing Details
2020-12-11 14:58:16 +01:00
Deukhoofd ea97089e23
Fix build.
continuous-integration/drone/push Build is passing Details
2020-10-23 16:52:22 +02:00
Deukhoofd 09bc55ec94
Allow disabling signal handling, turn signal handling off by default.
continuous-integration/drone/push Build is failing Details
2020-10-18 17:18:27 +02:00
Deukhoofd c445536aed
Fixed issue preventing THROW macro having easy access to sstream.
continuous-integration/drone/push Build is passing Details
2020-10-15 18:05:51 +02:00
Deukhoofd c3606c25f6
Replaces some overrides with final for minor performance gains.
continuous-integration/drone/push Build is passing Details
2020-10-15 17:54:06 +02:00
Deukhoofd edaa9f496d
Modify THROW macro to use a constexpr function for file name, instead of macro.
continuous-integration/drone/push Build is passing Details
This prevents potential warnings (such as clang-tidy's "cppcoreguidelines-pro-bounds-pointer-arithmetic") from showing up when using this macro.
2020-10-09 13:48:21 +02:00
Deukhoofd 5fcebd4d4d
Implements faster hash mechanic for StringView.
continuous-integration/drone/push Build is passing Details
2020-10-09 13:23:32 +02:00