This website requires JavaScript.
b324cfdd00
Use mold if available as linker
master
Deukhoofd
2022-05-18 17:23:19 +02:00
cd0e183598
Remove valgrind build step on CI for now
Deukhoofd
2022-05-16 19:07:35 +02:00
758b3f5631
Potential fix for strange new error in clang 14
Deukhoofd
2022-05-16 19:03:30 +02:00
468f5b5e05
Style fixes.
Deukhoofd
2022-05-16 18:38:05 +02:00
39ea396e2b
Adds missing documentation.
Deukhoofd
2022-05-16 18:37:39 +02:00
eec26f2c12
Makes usings of StringViewDictionary public
Deukhoofd
2022-05-16 17:10:50 +02:00
f8ba0b32b6
Fixes iterator over StringViewDictionary
Deukhoofd
2022-05-16 17:07:47 +02:00
dd2169bb02
Fixes StringViewDictionary::Remove(u32)
Deukhoofd
2022-05-16 17:03:29 +02:00
9dc7a0c6e3
Adds function to remove by hashed value in StringViewDictionary
Deukhoofd
2022-05-16 17:00:12 +02:00
e2ea281de1
Fixes functions for getting underlying std map from StringViewDictionary
Deukhoofd
2022-05-16 16:43:52 +02:00
e0c16b772c
Adds new StringViewDictionary with specialized methods to retrieve values by the hash of the StringView
Deukhoofd
2022-05-16 16:36:52 +02:00
b9ea517f6e
Removes optional downcast to raw pointer from Optional Unique Ptr
Deukhoofd
2022-05-14 17:34:37 +02:00
8e35267bb0
Doxygen fixes, style fixes
Deukhoofd
2022-05-14 16:24:22 +02:00
7373f7a26b
Fixes for doxygen, style
Deukhoofd
2022-05-14 16:19:43 +02:00
0b545c46ee
Adds documentation for undocumented functions
Deukhoofd
2022-05-14 16:18:30 +02:00
1d8bf3e747
Makes GCC happy
Deukhoofd
2022-05-14 16:14:30 +02:00
407f9aaf73
Removes completely invalid copy and move operators on unique pointers
Deukhoofd
2022-05-14 15:58:23 +02:00
74ef6b5bdc
Adds functions to take ownership from a unique ptr
Deukhoofd
2022-05-14 15:32:10 +02:00
64108448bc
Fixes build
Deukhoofd
2022-05-14 12:06:19 +02:00
dad30a05f0
Fixes GCC complaining about a non error
Deukhoofd
2022-05-14 12:02:54 +02:00
30cb3c0d5e
Fixes for StringView to make working with non-null terminated strings easier
Deukhoofd
2022-04-26 11:19:59 +02:00
70e30833bb
Set up parallelism for drone build
Deukhoofd
2022-04-10 13:06:38 +02:00
219fbfc94e
Adds pedantic-error flag, work on making source more aligned with ISO C++
Deukhoofd
2022-04-01 12:05:48 +02:00
510fa60c0e
Ignore sanitizer error on scopedptr::takeownership
Deukhoofd
2022-03-25 19:19:56 +01:00
464b3f3ac1
Fix log spam from unknown sanitizer
Deukhoofd
2022-03-23 14:34:52 +01:00
47272b0206
Document StringViewLiteral equality members
Deukhoofd
2022-03-23 14:20:20 +01:00
a618f2b98b
Style fixes
Deukhoofd
2022-03-23 14:16:18 +01:00
eda1a29427
Fixes missing documentation
Deukhoofd
2022-03-23 14:15:48 +01:00
3b19f8b268
Turns out vector::data() can return null
Deukhoofd
2022-03-23 13:04:04 +01:00
9eca4fa9bb
Expand on the use of defines and non_null/nullable
Deukhoofd
2022-03-23 12:56:12 +01:00
0031804fe8
Implements Defines with common defines, initial work on nullability
Deukhoofd
2022-03-23 11:13:42 +01:00
ac7d8e58b4
Fixes non clang builds
Deukhoofd
2022-03-23 11:02:13 +01:00
9d02cca1a8
Demote error for unknown sanitizers to warning
Deukhoofd
2022-03-23 10:58:32 +01:00
afd51a7924
More sanitizers, fixes several errors caught by these.
Deukhoofd
2022-03-23 10:53:02 +01:00
6005850115
Disable SanitizerTests for Windows :(
Deukhoofd
2022-03-22 12:42:56 +01:00
d6c8512617
Fixes for AddressSanitizer not working in valgrind.
Deukhoofd
2022-03-22 12:36:52 +01:00
4eb33d7964
Add support for AddressSanitizer to unit tests
Deukhoofd
2022-03-22 12:28:42 +01:00
ca9c885657
Fixes Dictionary error.
Deukhoofd
2022-03-20 12:21:04 +01:00
84dd686b61
Revers change to Dictionary using pointer.
Deukhoofd
2022-03-20 12:17:11 +01:00
f4a9059150
Fixes style
Deukhoofd
2022-03-20 12:02:25 +01:00
8667c8f8ff
Adds documentation for Ensure macros
Deukhoofd
2022-03-20 11:59:18 +01:00
e8f4ab27b5
Fixes destructor missing.
Deukhoofd
2022-03-20 11:55:56 +01:00
94ca0327ef
Adds copy and assignment operators for Dictionary
Deukhoofd
2022-03-20 11:39:00 +01:00
74e3cb36a7
Make Dictionary use pointer to map
Deukhoofd
2022-03-20 11:34:24 +01:00
97babe79e1
Adds new Ensure helpers for clearer error messages.
Deukhoofd
2022-03-20 11:05:44 +01:00
be81082588
Fixes GCC build
Deukhoofd
2022-03-11 11:32:44 +01:00
2bf12ab879
Update doctest
Deukhoofd
2022-03-11 11:06:44 +01:00
ba411d011b
Cleanup exception stacktraces, so the compile the same on Windows.
Deukhoofd
2022-02-26 14:55:28 +01:00
eb8356145f
Merge remote-tracking branch 'origin/master'
Deukhoofd
2022-02-12 13:46:04 +01:00
7532e4d94d
Only statically link libm and pthread on Windows
Deukhoofd
2022-02-12 12:41:51 +01:00
e9395f71b8
Only statically link libm and pthread on Windows
Deukhoofd
2022-02-12 12:41:51 +01:00
923483e9b9
Sign build
Deukhoofd
2022-02-05 15:47:41 +01:00
069320318e
Fixes build
Deukhoofd
2022-02-05 15:46:11 +01:00
26db32299d
Change TESTS option to ARBUTILS_TESTS
Deukhoofd
2022-02-05 15:45:11 +01:00
656de2ab17
Only add doctest when tests are enabled
Deukhoofd
2022-02-05 13:51:50 +01:00
ea2fa7b547
Dont build our dependencies, they have header only implementations in their repos.
Deukhoofd
2022-02-05 13:48:13 +01:00
f5690363da
Moves extern dependencies to CPM
Deukhoofd
2022-02-05 13:37:47 +01:00
b239b556dc
Documents Exception::Throw.
Deukhoofd
2021-11-21 12:35:40 +01:00
69714084d6
Style fixes.
Deukhoofd
2021-11-21 12:34:00 +01:00
dbe3923cc4
Removes unused function
Deukhoofd
2021-11-21 12:33:34 +01:00
52130fa8a5
Mark Exception::Throw as noreturn, fix windows build.
Deukhoofd
2021-11-21 12:30:35 +01:00
1be055760a
Reworks ensure and throw to not fully depend on macros anymore.
Deukhoofd
2021-11-21 12:27:46 +01:00
ea5c824d34
Fixes for Windows.
Deukhoofd
2021-10-30 13:38:52 +02:00
b72685ff05
Removes noexcept from UniquePtrList constructor.
Deukhoofd
2021-10-30 12:59:36 +02:00
1280e19fd0
Add reference to <vector> to Enum header.
Deukhoofd
2021-10-30 12:56:52 +02:00
999dc675fa
Remove precompiled header, as it only caused issues.
Deukhoofd
2021-10-30 12:54:57 +02:00
5a352357fb
Updates for new Windows CI
Deukhoofd
2021-10-02 16:39:54 +02:00
78d4513a4d
Removes Conan build step, adds documentation to dictionary.
Deukhoofd
2021-09-26 10:47:19 +02:00
dbf6fbc1db
Adds documentation, style fixes.
Deukhoofd
2021-09-25 17:59:06 +02:00
73b2270fca
Further fixes for new convenience functions.
Deukhoofd
2021-09-25 14:34:34 +02:00
b7c9944784
Fixes invalid declaration
Deukhoofd
2021-09-25 14:30:09 +02:00
a2b52c5ed5
Adds helper functions to the list types.
Deukhoofd
2021-09-25 14:21:31 +02:00
54c5422cda
Adds helper functions for ScopedPtr
Deukhoofd
2021-08-29 16:23:04 +02:00
b58b8537b5
Update backward to 1.6
Deukhoofd
2021-08-29 16:21:30 +02:00
ec3c8e7701
Handle THROW macro in its own scope.
Deukhoofd
2021-08-22 11:35:08 +02:00
a0488d7078
Fixes Windows issues
Deukhoofd
2021-06-20 12:05:30 +02:00
c693c2635e
Include <optional> in precompiled.
Deukhoofd
2021-06-19 12:46:40 +02:00
eb662cb2e4
If Windows and shared, force .dll extension.
Deukhoofd
2021-04-30 14:36:31 +02:00
fe523f6c0d
Show actual length when logging out of bounds errors on lists.
Deukhoofd
2021-04-17 14:49:29 +02:00
6ef9a6d67b
When calling Clear on UniquePtrList, also clear the vector.
Deukhoofd
2021-04-14 19:27:56 +02:00
b3ab6dab59
TakeOwnership shouldn't be const.
Deukhoofd
2021-03-27 12:23:31 +01:00
5274ba735c
Further fixes for optional scoped ptr.
Deukhoofd
2021-03-27 12:10:33 +01:00
c805b4eee8
Fixes for OptionalScopedPtr.
Deukhoofd
2021-03-27 12:03:00 +01:00
29ac434679
Adds implicit cast to raw pointer to ScopedPtr.
Deukhoofd
2021-03-27 11:08:09 +01:00
ce1268b1de
Adds OptionalScopedPtr, made ScopedPtr non nullable, fixes some APIs on the optional pointer variants.
Deukhoofd
2021-03-27 11:03:41 +01:00
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.
Deukhoofd
2021-03-26 13:37:01 +01:00
12f643a80e
Style fixes.
Deukhoofd
2021-03-07 10:15:34 +01:00
c1917c6f77
Adds misc macro NO_COPY_OR_MOVE, which allows you to delete copy and move constructors and assignment operators.
Deukhoofd
2021-03-07 09:54:55 +01:00
28ba531a47
Work on reducing file sizes, by adding fewer debug symbols.
Deukhoofd
2020-12-31 13:48:52 +01:00
b3c9c95345
Add Debug compile flag if we're building in debug mode.
Deukhoofd
2020-12-23 12:04:55 +01:00
95266f71ba
Lots of cleanups to get stacks properly working in all cases.
Deukhoofd
2020-12-23 12:04:20 +01:00
0e49c58647
Delete comparison with nullptr for non-null pointers.
Deukhoofd
2020-12-13 11:51:47 +01:00
90bb8d54b6
Rename Assert.hpp --> Ensure.hpp, style fixes.
Deukhoofd
2020-12-13 11:45:00 +01:00
4e854516c1
Rename Assert macro to Ensure, clean up exception to be in line with THROW.
Deukhoofd
2020-12-13 11:41:41 +01:00
4466aeeee6
Fixes OptionalBorrowedPtr casts.
Deukhoofd
2020-12-12 13:50:09 +01:00
96315cb857
Rework Dictionary::TryGet to use std::optional.
Deukhoofd
2020-12-12 12:53:47 +01:00
362e4bf59b
Fixes inequality with raw pointer with smart pointers being inverted.
Deukhoofd
2020-12-12 12:10:37 +01:00
7ec2a3f2b0
Fixes naming.
Deukhoofd
2020-12-12 11:57:47 +01:00
b909fc720a
Style fixes.
Deukhoofd
2020-12-12 11:56:13 +01:00
a972162d6e
Adds OptionalUniquePtrList
Deukhoofd
2020-12-12 11:53:32 +01:00