This website requires JavaScript.
287b50fb2f
Exception handling for the C Interface.
Deukhoofd
2020-07-19 11:08:05 +02:00
0295bb949a
Actually export the C Interface.
Deukhoofd
2020-07-19 10:44:54 +02:00
b55e0c5473
Tell the build server to run a tests build.
Deukhoofd
2020-07-17 12:17:16 +02:00
4f5ae70634
Cleanup for the cmake file.
Deukhoofd
2020-07-17 12:15:32 +02:00
eb3e174877
Reset to before c++20 features that required clang.
Deukhoofd
2020-07-12 15:06:20 +02:00
23bbd45d92
Further fixes in the hope of fixing conan.
Deukhoofd
2020-07-12 14:50:22 +02:00
ab7504e79a
Further fixes in the hope of fixing conan.
Deukhoofd
2020-07-12 13:36:20 +02:00
03d1ff23e1
Log exact cmake command used by conan.
Deukhoofd
2020-07-12 12:26:38 +02:00
1ddbfb09b9
Test to see if this works better with Conan.
Deukhoofd
2020-07-12 11:46:48 +02:00
592e3c3ffe
Found a better way to remove -fPIC flag for Windows build.
Deukhoofd
2020-07-12 10:19:21 +02:00
61aa266737
More work on figuring out wclang with conan.
Deukhoofd
2020-07-11 14:24:10 +02:00
e578331001
Dont use mingw linker
Deukhoofd
2020-07-11 14:06:33 +02:00
d11661e06e
Removed build step that was no longer needd.
Deukhoofd
2020-07-11 13:49:27 +02:00
f873dc97bf
Several fixes for new build, ensuring we build DLLs for Windows, and that the proper libraries are included.
Deukhoofd
2020-07-11 13:46:48 +02:00
69bf782c4c
Do not statically link for conan build.
Deukhoofd
2020-07-10 15:24:28 +02:00
9a7ce7dacb
Dont link statically on release build, due to Valgrind testing.
Deukhoofd
2020-07-10 14:32:01 +02:00
d9aca71d32
Update to new Windows build container
Deukhoofd
2020-07-10 14:12:22 +02:00
84052a2d94
Make StringViewLiteral use ConstEval
Deukhoofd
2020-07-10 11:07:34 +02:00
0d2bec95e8
C Interface for random class.
Deukhoofd
2020-07-10 09:30:10 +02:00
950464ae79
Implements piping StringView into streams.
Deukhoofd
2020-07-08 13:28:43 +02:00
97b15650f1
Intialize StringView fields to default values/
Deukhoofd
2020-07-04 15:33:59 +02:00
25772e7d5a
Remove constexpr from non-constexpr function.
Deukhoofd
2020-07-04 15:04:31 +02:00
d3aacee0ef
Replace StringView with shared_ptr.
Deukhoofd
2020-07-04 14:59:56 +02:00
5994299baa
Further tweaks to StringViews.
Deukhoofd
2020-06-27 15:15:13 +02:00
9f5b8e9c83
Removed std::string_view ctor on StringView.
Deukhoofd
2020-06-27 14:24:43 +02:00
083c00f85e
Changes for how Literal changes to normal StringView.
Deukhoofd
2020-06-27 14:16:15 +02:00
773e765c83
Slight rework of StringView.
Deukhoofd
2020-06-27 14:02:35 +02:00
030f82d34f
Reset pointer on charholder to prevent multiple deletions.
Deukhoofd
2020-06-27 13:59:01 +02:00
49b5e2cfe9
Fixes Windows build.
Deukhoofd
2020-06-27 13:35:29 +02:00
f64224131b
Tweaks for StringView to make the backing value the owner of the string.
Deukhoofd
2020-06-27 13:27:17 +02:00
544c541bc3
Remove dereference operator as it just causes issues.
Deukhoofd
2020-06-26 17:49:42 +02:00
7da8a46c45
Hopefully fixes issues with incomplete types in BorrowedPtrs.
Deukhoofd
2020-06-26 17:42:43 +02:00
d3c9998afa
Fixes for dereference operator.
Deukhoofd
2020-06-26 17:31:52 +02:00
c08224ed26
Style fixes.
Deukhoofd
2020-06-26 17:18:50 +02:00
7fe8c80141
Fixed issue where the dereferencing function broke compilation on some compilers.
Deukhoofd
2020-06-26 17:17:06 +02:00
72aad2a5e3
Fixed dereference operators being noexcept.
Deukhoofd
2020-06-26 16:31:33 +02:00
4ffe9f10a3
Style fixes.
Deukhoofd
2020-06-26 16:27:17 +02:00
e52b824a51
Mark StringView and StringViewLiteral as final.
Deukhoofd
2020-06-26 16:24:58 +02:00
57f2d15723
Revert "Add virtual destructor to BasicStringView."
Deukhoofd
2020-06-26 16:20:46 +02:00
94fec63c1b
Add virtual destructor to BasicStringView.
Deukhoofd
2020-06-26 16:17:19 +02:00
088f66c385
Style fixes.
Deukhoofd
2020-06-26 15:58:42 +02:00
abca51d331
Large rework of the project, specifically the String classes.
Deukhoofd
2020-06-26 15:56:00 +02:00
8eba3b28ff
Add dereference operator for BorrowedPtr.
Deukhoofd
2020-06-26 13:13:46 +02:00
d547046752
Assert BorrowedPtr is not null when trying to dereference it.
Deukhoofd
2020-06-26 13:12:58 +02:00
f59ec6c957
Follow code style with noexcept, add Const() function to BorrowedPtr to return a const pointer of itself.
Deukhoofd
2020-06-20 17:45:41 +02:00
893aa969d5
Make BorrowedPtr hashable.
Deukhoofd
2020-06-02 16:03:47 +02:00
4323e59ed4
Further fixes for Remove function on UniquePtrList
Deukhoofd
2020-06-02 14:40:59 +02:00
44fc403fb6
Fixes for Remove function on UniquePtrList
Deukhoofd
2020-06-02 14:28:09 +02:00
5196bed8aa
Implement Remove function for UniquePtrList.
Deukhoofd
2020-06-02 13:57:40 +02:00
ad2d3be7e4
Add iterator for const version of UniquePtrList.
Deukhoofd
2020-05-31 18:50:22 +02:00
a3a0859b94
Style fixes.
Deukhoofd
2020-05-31 17:16:20 +02:00
8ecf765ead
Make retrieve operation a const.
Deukhoofd
2020-05-31 17:06:04 +02:00
262156fbd2
Allow initialization of UniquePtrList from vector of pointers.
Deukhoofd
2020-05-31 16:58:45 +02:00
bfe1fcc805
Style fixes.
Deukhoofd
2020-05-31 16:40:33 +02:00
b7f1812153
Helper collection class that functions as list of unique pointers.
Deukhoofd
2020-05-31 16:37:49 +02:00
0b740ee24d
Fixed cast functions on BorrowedPtr being invalid.
Deukhoofd
2020-05-26 19:40:08 +02:00
90bda57d79
Renamed borrowed ptr to be in line with other types.
Deukhoofd
2020-05-26 17:39:27 +02:00
c8ca951dd8
Reduce namespace length further
Deukhoofd
2020-05-26 17:36:39 +02:00
3dc96de34b
Change namespace name so it's a lot less verbose.
Deukhoofd
2020-05-26 17:21:08 +02:00
2ae108517d
Support for easy type casting from borrowed_ptr.
Deukhoofd
2020-05-26 17:18:12 +02:00
f1ebfd78f6
Mark several more borrowed_ptr functions as const.
Deukhoofd
2020-05-26 14:01:52 +02:00
a84c7ae45c
Implements assignment, some tweaks for borrowed_ptr.
Deukhoofd
2020-05-26 13:44:06 +02:00
817b4c55d8
Fixes for style in Random class.
Deukhoofd
2020-05-26 13:33:43 +02:00
373988c8b0
Removed overloaded equality members.
Deukhoofd
2020-05-26 13:31:56 +02:00
e599bc730f
Style changes for pcg_random to keep my CI from yelling at me.
Deukhoofd
2020-05-26 13:24:40 +02:00
779ddd49e3
Replace old memory management tests with simple borrowed_ptr.cpp.
Deukhoofd
2020-05-26 13:22:18 +02:00
394042ec65
Ensure extern headers are included in conan.
Deukhoofd
2020-05-22 12:53:55 +02:00
28f427fa36
Switches Random handling to PCG family, specifically for better cross platform predictability.
Deukhoofd
2020-05-22 12:37:25 +02:00
a458a8da14
Copy libwinpthread to correct position.
Deukhoofd
2020-05-03 12:38:00 +02:00
1e90ca80fe
Don't link statically, but copy libwinpthread for Windows build.
Deukhoofd
2020-05-03 12:35:17 +02:00
444816ce1b
Link everything statically if StaticC is defined.
Deukhoofd
2020-05-03 12:31:23 +02:00
f99243481e
Better support for linking C libraries statically.
Deukhoofd
2020-05-03 12:27:22 +02:00
fe2bec18f5
Style fixes.
Deukhoofd
2020-05-02 15:55:55 +02:00
b5201ec46d
Attempted rework of conanfile
Deukhoofd
2020-05-02 15:49:37 +02:00
84b08f66e5
Fixes for ConstString
Deukhoofd
2020-05-02 15:30:25 +02:00
517f95bfc5
Support for building Static
Deukhoofd
2020-05-02 12:31:04 +02:00
2e227a2688
Style fixes.
Deukhoofd
2020-04-28 16:55:00 +02:00
8111d5ea0a
We don't have a CInterface dir to style echeck
Deukhoofd
2020-04-28 16:53:13 +02:00
74edd7137e
Don't style check MacroUtils.hpp, as it's autogenerated.
Deukhoofd
2020-04-28 16:50:57 +02:00
741aa787ce
Added style check.
Deukhoofd
2020-04-28 16:45:43 +02:00
50f430b7be
Use map::at() function for Dictionary::Get, as it already throws an exception if it doesn't exist.
Deukhoofd
2020-04-25 15:53:17 +02:00
fea040252d
Fixed type issue in List.
Deukhoofd
2020-04-24 19:13:55 +02:00
846a9380a7
Make List constructor with capacity reserve the space, instead of creating the vector with a set size.
Deukhoofd
2020-04-24 18:48:23 +02:00
409b52bbf7
Support for reserving space in List.
Deukhoofd
2020-04-24 18:47:17 +02:00
fbf2e42b8f
Performance improvements for collections.
Deukhoofd
2020-04-24 17:47:49 +02:00
24aff14745
Fixed const issue.
Deukhoofd
2020-04-22 22:54:57 +02:00
535b68bb8c
Return GetRandomEngine not by const, so we can actually use it
Deukhoofd
2020-04-22 22:50:36 +02:00
1b623c2b76
Support for getting the random engine from Random class.
Deukhoofd
2020-04-22 22:44:26 +02:00
0777561a21
Removed unsensible explicit in list constructor
Deukhoofd
2020-04-22 13:26:39 +02:00
e34f60a8ac
Return previous value from Set function.
Deukhoofd
2020-04-22 13:22:20 +02:00
8306c14163
Add Set function to List.
Deukhoofd
2020-04-22 13:21:06 +02:00
195043d4c5
Implements easier assertions for iterators
Deukhoofd
2020-04-22 12:44:50 +02:00
43e612122c
Further fixes for NO_ASSERT builds.
Deukhoofd
2020-04-22 12:17:47 +02:00
479a240c6f
Don't throw compilation error when NO_ASSERT is used.
Deukhoofd
2020-04-22 12:02:00 +02:00
91b9854932
Further tweaks to ConstString.
Deukhoofd
2020-04-21 17:06:49 +02:00
5e3b067452
Make Dictionary function parameters all passed by reference
Deukhoofd
2020-04-21 13:59:01 +02:00
96995d071f
Handler for when a ConstString is assigned to an already equal ConstString.
Deukhoofd
2020-04-21 13:56:06 +02:00
9bd30cb9c4
Rework of empty string handler on ConstString.
Deukhoofd
2020-04-21 10:20:37 +02:00
c230f8b11c
Revert "Don't link C libraries statically by default for Windows, as this isn't needed if another library has their own C libraries already has them statically linked."
Deukhoofd
2020-04-21 10:19:49 +02:00
c033060c16
Handle ConstString empty pointer better.
Deukhoofd
2020-04-20 19:49:39 +02:00