Commit Graph

263 Commits

Author SHA1 Message Date
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
Deukhoofd 195043d4c5
Implements easier assertions for iterators
continuous-integration/drone/push Build is passing Details
2020-04-22 12:44:50 +02:00
Deukhoofd 43e612122c
Further fixes for NO_ASSERT builds.
continuous-integration/drone/push Build is passing Details
2020-04-22 12:17:47 +02:00
Deukhoofd 479a240c6f
Don't throw compilation error when NO_ASSERT is used.
continuous-integration/drone/push Build is passing Details
2020-04-22 12:02:00 +02:00
Deukhoofd 91b9854932
Further tweaks to ConstString.
continuous-integration/drone/push Build is passing Details
2020-04-21 17:06:49 +02:00
Deukhoofd 5e3b067452
Make Dictionary function parameters all passed by reference
continuous-integration/drone/push Build is passing Details
2020-04-21 13:59:01 +02:00
Deukhoofd 96995d071f
Handler for when a ConstString is assigned to an already equal ConstString.
continuous-integration/drone/push Build is passing Details
2020-04-21 13:56:06 +02:00
Deukhoofd 9bd30cb9c4
Rework of empty string handler on ConstString.
continuous-integration/drone/push Build is passing Details
2020-04-21 10:20:37 +02:00
Deukhoofd 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."
This reverts commit 978fa704
2020-04-21 10:19:49 +02:00
Deukhoofd c033060c16
Handle ConstString empty pointer better.
continuous-integration/drone/push Build is passing Details
2020-04-20 19:49:39 +02:00
Deukhoofd 79384efb85
Tweaks and fixes for ConstString.
continuous-integration/drone/push Build is passing Details
2020-04-20 19:38:45 +02:00
Deukhoofd 7d98d5b467
Assert that max is higher than min on random.
continuous-integration/drone/push Build is passing Details
2020-04-19 18:45:59 +02:00
Deukhoofd 63da7ffda0
Fix start value not working on Enum.
continuous-integration/drone/push Build is passing Details
2020-04-18 15:12:34 +02:00
Deukhoofd bc64e35c8a
Implements Enum with specific start value.
continuous-integration/drone/push Build is passing Details
2020-04-18 14:57:23 +02:00
Deukhoofd e850f728bc
Add constexpr to GetValue on ConstString holder.
continuous-integration/drone/push Build is passing Details
2020-04-16 11:16:55 +02:00
Deukhoofd de702b5569
Cleanup of ConstString.
continuous-integration/drone/push Build is failing Details
2020-04-16 11:01:46 +02:00
Deukhoofd d6b7344dde
Limit amount of copies of ConstString by implementing reference counter.
continuous-integration/drone/push Build is passing Details
2020-04-13 13:59:43 +02:00
Deukhoofd 978fa70473
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.
continuous-integration/drone/push Build is passing Details
2020-04-12 10:51:00 +02:00
Deukhoofd d64964b7cb
Include cmath in Enum for log10 use.
continuous-integration/drone/push Build is passing Details
2020-04-10 20:02:41 +02:00
Deukhoofd f89fb303b5
Fixed memory issues with new Enum ToString handling.
continuous-integration/drone/push Build is passing Details
2020-04-10 19:57:12 +02:00
Deukhoofd 9244249a64
Better handling of out of bound enum values in ToString.
continuous-integration/drone/push Build is failing Details
2020-04-10 19:51:35 +02:00
Deukhoofd 60802341b0
Fixed assignment memory issue.
continuous-integration/drone/push Build is passing Details
2020-04-10 14:38:01 +02:00
Deukhoofd 0427aa9ef1
Don't force conan alias push, in the hope to fix it not functioning.
continuous-integration/drone/push Build is passing Details
2020-04-09 18:23:33 +02:00
Deukhoofd d720b9116f
Fixed Windows Build.
continuous-integration/drone/push Build is passing Details
2020-04-09 18:04:28 +02:00
Deukhoofd fe01886114
Separate ConstString into normal and literal variant.
continuous-integration/drone/push Build is failing Details
2020-04-09 18:01:38 +02:00
Deukhoofd e2c9d9899a
Add string terminator to test.
continuous-integration/drone/push Build is failing Details
2020-04-07 18:57:11 +02:00