Commit Graph

188 Commits

Author SHA1 Message Date
Deukhoofd abca51d331
Large rework of the project, specifically the String classes.
continuous-integration/drone/push Build is passing Details
2020-06-26 15:56:00 +02:00
Deukhoofd 8eba3b28ff
Add dereference operator for BorrowedPtr.
continuous-integration/drone/push Build is passing Details
2020-06-26 13:13:46 +02:00
Deukhoofd d547046752
Assert BorrowedPtr is not null when trying to dereference it.
continuous-integration/drone/push Build is passing Details
2020-06-26 13:12:58 +02:00
Deukhoofd f59ec6c957
Follow code style with noexcept, add Const() function to BorrowedPtr to return a const pointer of itself.
continuous-integration/drone/push Build is passing Details
2020-06-20 17:45:41 +02:00
Deukhoofd 893aa969d5
Make BorrowedPtr hashable.
continuous-integration/drone/push Build is passing Details
2020-06-02 16:03:47 +02:00
Deukhoofd 4323e59ed4
Further fixes for Remove function on UniquePtrList
continuous-integration/drone/push Build is passing Details
2020-06-02 14:40:59 +02:00
Deukhoofd 44fc403fb6
Fixes for Remove function on UniquePtrList
continuous-integration/drone/push Build is passing Details
2020-06-02 14:28:09 +02:00
Deukhoofd 5196bed8aa
Implement Remove function for UniquePtrList.
continuous-integration/drone/push Build is passing Details
2020-06-02 13:57:40 +02:00
Deukhoofd ad2d3be7e4
Add iterator for const version of UniquePtrList.
continuous-integration/drone/push Build is passing Details
2020-05-31 18:50:22 +02:00
Deukhoofd a3a0859b94
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-05-31 17:16:20 +02:00
Deukhoofd 8ecf765ead
Make retrieve operation a const.
continuous-integration/drone/push Build is passing Details
2020-05-31 17:06:04 +02:00
Deukhoofd 262156fbd2
Allow initialization of UniquePtrList from vector of pointers.
continuous-integration/drone/push Build is passing Details
2020-05-31 16:58:45 +02:00
Deukhoofd bfe1fcc805
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-05-31 16:40:33 +02:00
Deukhoofd b7f1812153
Helper collection class that functions as list of unique pointers.
continuous-integration/drone/push Build is passing Details
2020-05-31 16:37:49 +02:00
Deukhoofd 0b740ee24d
Fixed cast functions on BorrowedPtr being invalid.
continuous-integration/drone/push Build is passing Details
2020-05-26 19:40:08 +02:00
Deukhoofd 90bda57d79
Renamed borrowed ptr to be in line with other types.
continuous-integration/drone/push Build is passing Details
2020-05-26 17:39:27 +02:00
Deukhoofd c8ca951dd8
Reduce namespace length further 2020-05-26 17:36:39 +02:00
Deukhoofd 3dc96de34b
Change namespace name so it's a lot less verbose.
continuous-integration/drone/push Build is passing Details
2020-05-26 17:21:08 +02:00
Deukhoofd 2ae108517d
Support for easy type casting from borrowed_ptr.
continuous-integration/drone/push Build is passing Details
2020-05-26 17:18:12 +02:00
Deukhoofd f1ebfd78f6
Mark several more borrowed_ptr functions as const.
continuous-integration/drone/push Build is passing Details
2020-05-26 14:01:52 +02:00
Deukhoofd a84c7ae45c
Implements assignment, some tweaks for borrowed_ptr.
continuous-integration/drone/push Build is passing Details
2020-05-26 13:44:06 +02:00
Deukhoofd 817b4c55d8
Fixes for style in Random class.
continuous-integration/drone/push Build is passing Details
2020-05-26 13:33:43 +02:00
Deukhoofd 373988c8b0
Removed overloaded equality members.
continuous-integration/drone/push Build is passing Details
2020-05-26 13:31:56 +02:00
Deukhoofd e599bc730f
Style changes for pcg_random to keep my CI from yelling at me.
continuous-integration/drone/push Build is passing Details
2020-05-26 13:24:40 +02:00
Deukhoofd 779ddd49e3
Replace old memory management tests with simple borrowed_ptr.cpp.
continuous-integration/drone/push Build is passing Details
2020-05-26 13:22:18 +02:00
Deukhoofd 394042ec65
Ensure extern headers are included in conan.
continuous-integration/drone/push Build is passing Details
2020-05-22 12:53:55 +02:00
Deukhoofd 28f427fa36
Switches Random handling to PCG family, specifically for better cross platform predictability.
continuous-integration/drone/push Build is passing Details
2020-05-22 12:37:25 +02:00
Deukhoofd a458a8da14
Copy libwinpthread to correct position.
continuous-integration/drone/push Build is passing Details
2020-05-03 12:38:00 +02:00
Deukhoofd 1e90ca80fe
Don't link statically, but copy libwinpthread for Windows build.
continuous-integration/drone/push Build is failing Details
2020-05-03 12:35:17 +02:00
Deukhoofd 444816ce1b
Link everything statically if StaticC is defined.
continuous-integration/drone/push Build is failing Details
2020-05-03 12:31:23 +02:00
Deukhoofd f99243481e
Better support for linking C libraries statically.
continuous-integration/drone/push Build is failing Details
2020-05-03 12:27:22 +02:00
Deukhoofd fe2bec18f5
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-05-02 15:55:55 +02:00
Deukhoofd b5201ec46d
Attempted rework of conanfile
continuous-integration/drone/push Build is passing Details
2020-05-02 15:49:37 +02:00
Deukhoofd 84b08f66e5
Fixes for ConstString
continuous-integration/drone/push Build is passing Details
2020-05-02 15:30:25 +02:00
Deukhoofd 517f95bfc5
Support for building Static
continuous-integration/drone/push Build is passing Details
2020-05-02 12:31:04 +02:00
Deukhoofd 2e227a2688
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-04-28 16:55:00 +02:00
Deukhoofd 8111d5ea0a
We don't have a CInterface dir to style echeck 2020-04-28 16:53:13 +02:00
Deukhoofd 74edd7137e
Don't style check MacroUtils.hpp, as it's autogenerated.
continuous-integration/drone/push Build is passing Details
2020-04-28 16:50:57 +02:00
Deukhoofd 741aa787ce
Added style check.
continuous-integration/drone/push Build was killed Details
2020-04-28 16:45:43 +02:00
Deukhoofd 50f430b7be
Use map::at() function for Dictionary::Get, as it already throws an exception if it doesn't exist.
continuous-integration/drone/push Build is passing Details
2020-04-25 15:53:17 +02:00
Deukhoofd fea040252d
Fixed type issue in List.
continuous-integration/drone/push Build is passing Details
2020-04-24 19:13:55 +02:00
Deukhoofd 846a9380a7
Make List constructor with capacity reserve the space, instead of creating the vector with a set size.
continuous-integration/drone/push Build is passing Details
2020-04-24 18:48:23 +02:00
Deukhoofd 409b52bbf7
Support for reserving space in List.
continuous-integration/drone/push Build is passing Details
2020-04-24 18:47:17 +02:00
Deukhoofd fbf2e42b8f
Performance improvements for collections.
continuous-integration/drone/push Build is passing Details
2020-04-24 17:47:49 +02:00
Deukhoofd 24aff14745
Fixed const issue.
continuous-integration/drone/push Build is passing Details
2020-04-22 22:54:57 +02:00
Deukhoofd 535b68bb8c
Return GetRandomEngine not by const, so we can actually use it
continuous-integration/drone/push Build is passing Details
2020-04-22 22:50:36 +02:00
Deukhoofd 1b623c2b76
Support for getting the random engine from Random class.
continuous-integration/drone/push Build is passing Details
2020-04-22 22:44:26 +02:00
Deukhoofd 0777561a21
Removed unsensible explicit in list constructor
continuous-integration/drone/push Build is passing Details
2020-04-22 13:26:39 +02:00
Deukhoofd e34f60a8ac
Return previous value from Set function.
continuous-integration/drone/push Build is passing Details
2020-04-22 13:22:20 +02:00
Deukhoofd 8306c14163
Add Set function to List. 2020-04-22 13:21:06 +02:00