Commit Graph

332 Commits

Author SHA1 Message Date
Deukhoofd ba411d011b
Cleanup exception stacktraces, so the compile the same on Windows.
Stacktraces still appear to be empty on Windows, but that's an issue for a later day.
2022-02-26 14:55:28 +01:00
Deukhoofd eb8356145f
Merge remote-tracking branch 'origin/master' 2022-02-12 13:46:04 +01:00
Deukhoofd 7532e4d94d
Only statically link libm and pthread on Windows 2022-02-12 13:45:55 +01:00
Deukhoofd e9395f71b8
Only statically link libm and pthread on Windows 2022-02-12 12:41:51 +01:00
Deukhoofd 923483e9b9
Sign build 2022-02-05 15:47:41 +01:00
Deukhoofd 069320318e
Fixes build 2022-02-05 15:46:11 +01:00
Deukhoofd 26db32299d
Change TESTS option to ARBUTILS_TESTS 2022-02-05 15:45:11 +01:00
Deukhoofd 656de2ab17
Only add doctest when tests are enabled 2022-02-05 13:51:50 +01:00
Deukhoofd ea2fa7b547
Dont build our dependencies, they have header only implementations in their repos. 2022-02-05 13:48:13 +01:00
Deukhoofd f5690363da
Moves extern dependencies to CPM 2022-02-05 13:37:47 +01:00
Deukhoofd b239b556dc
Documents Exception::Throw. 2021-11-21 12:35:40 +01:00
Deukhoofd 69714084d6
Style fixes. 2021-11-21 12:34:00 +01:00
Deukhoofd dbe3923cc4
Removes unused function 2021-11-21 12:33:34 +01:00
Deukhoofd 52130fa8a5
Mark Exception::Throw as noreturn, fix windows build. 2021-11-21 12:30:35 +01:00
Deukhoofd 1be055760a
Reworks ensure and throw to not fully depend on macros anymore. 2021-11-21 12:27:46 +01:00
Deukhoofd ea5c824d34
Fixes for Windows. 2021-10-30 13:38:52 +02:00
Deukhoofd b72685ff05
Removes noexcept from UniquePtrList constructor. 2021-10-30 12:59:36 +02:00
Deukhoofd 1280e19fd0
Add reference to <vector> to Enum header. 2021-10-30 12:56:52 +02:00
Deukhoofd 999dc675fa
Remove precompiled header, as it only caused issues. 2021-10-30 12:54:57 +02:00
Deukhoofd 5a352357fb
Updates for new Windows CI 2021-10-02 16:39:54 +02:00
Deukhoofd 78d4513a4d
Removes Conan build step, adds documentation to dictionary. 2021-09-26 10:47:19 +02:00
Deukhoofd dbf6fbc1db
Adds documentation, style fixes. 2021-09-25 17:59:06 +02:00
Deukhoofd 73b2270fca
Further fixes for new convenience functions. 2021-09-25 14:34:34 +02:00
Deukhoofd b7c9944784
Fixes invalid declaration 2021-09-25 14:30:09 +02:00
Deukhoofd a2b52c5ed5
Adds helper functions to the list types. 2021-09-25 14:21:31 +02:00
Deukhoofd 54c5422cda
Adds helper functions for ScopedPtr 2021-08-29 16:23:04 +02:00
Deukhoofd b58b8537b5
Update backward to 1.6 2021-08-29 16:21:30 +02:00
Deukhoofd ec3c8e7701
Handle THROW macro in its own scope. 2021-08-22 11:35:08 +02:00
Deukhoofd a0488d7078
Fixes Windows issues 2021-06-20 12:05:30 +02:00
Deukhoofd c693c2635e
Include <optional> in precompiled. 2021-06-19 12:46:40 +02:00
Deukhoofd eb662cb2e4
If Windows and shared, force .dll extension. 2021-04-30 14:36:31 +02:00
Deukhoofd fe523f6c0d
Show actual length when logging out of bounds errors on lists. 2021-04-17 14:49:29 +02:00
Deukhoofd 6ef9a6d67b
When calling Clear on UniquePtrList, also clear the vector. 2021-04-14 19:27:56 +02:00
Deukhoofd b3ab6dab59
TakeOwnership shouldn't be const. 2021-03-27 12:23:31 +01:00
Deukhoofd 5274ba735c
Further fixes for optional scoped ptr. 2021-03-27 12:10:33 +01:00
Deukhoofd c805b4eee8
Fixes for OptionalScopedPtr. 2021-03-27 12:03:00 +01:00
Deukhoofd 29ac434679
Adds implicit cast to raw pointer to ScopedPtr. 2021-03-27 11:08:09 +01:00
Deukhoofd ce1268b1de
Adds OptionalScopedPtr, made ScopedPtr non nullable, fixes some APIs on the optional pointer variants. 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. 2021-03-26 13:37:01 +01:00
Deukhoofd 12f643a80e
Style fixes. 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. 2021-03-07 09:54:55 +01:00
Deukhoofd 28ba531a47
Work on reducing file sizes, by adding fewer debug symbols. 2020-12-31 13:48:52 +01:00
Deukhoofd b3c9c95345
Add Debug compile flag if we're building in debug mode. 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. 2020-12-13 11:51:47 +01:00
Deukhoofd 90bb8d54b6
Rename Assert.hpp --> Ensure.hpp, style fixes. 2020-12-13 11:45:00 +01:00
Deukhoofd 4e854516c1
Rename Assert macro to Ensure, clean up exception to be in line with THROW. 2020-12-13 11:41:41 +01:00
Deukhoofd 4466aeeee6
Fixes OptionalBorrowedPtr casts. 2020-12-12 13:50:09 +01:00
Deukhoofd 96315cb857
Rework Dictionary::TryGet to use std::optional. 2020-12-12 12:53:47 +01:00
Deukhoofd 362e4bf59b
Fixes inequality with raw pointer with smart pointers being inverted. 2020-12-12 12:10:37 +01:00