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