Commit graph

24 commits

Author SHA1 Message Date
3889efde67 Utilities - Hash combining helper 2020-09-26 10:37:13 +02:00
a4a2a9eda4 Reference-counting helpers - Equality operators
* Added == and != operators; they can only be used if the referenced types are
from the same hierarchy
 * Tests for the above
2019-01-02 17:52:56 +01:00
6afe127d13 Reference-counting helpers - Copy/move cons/ass w/ casts
Added tests and fixed a few bugs.
2019-01-02 17:14:08 +01:00
e8e0e8101d Reference-counting helpers - Tests clean-up
Only test either the atomic or the simple version through the test
class, and have the type to test as a template argument.

Also added test source list file, which had been modified but forgotten
in previous commits.
2019-01-02 16:52:38 +01:00
ddaa46867d Reference counting helpers - Progress, tests
* Assignment copy/move operators
 * Boolean conversion / ! operator
 * Content access
2019-01-02 15:50:21 +01:00
f519387dad MultiArrays - Moved to a separate header 2018-12-23 18:34:43 +01:00
fc3415047f Filesystem paths - Path style support 2018-12-23 18:17:55 +01:00
53fbc35c43 FSPath - Started writing tests
I'm not satisfied with how the class works regarding differences between
Linux and Windows, however.
2018-12-16 13:48:17 +01:00
bd0494ecd8 Strings - Added some missing unit tests 2018-12-15 21:50:53 +01:00
30d8d3057e Windows "compatibility"
* Makefile changes allowing for cross-compilation
* SRDData: had to rename an enum member from ERROR to ERR because
apparently creating a macro called ERROR is a thing in the windows
headers
* DynLib: ported
* Strings: fixes in toOSString, untested for now
* Fixes in some tests
* TODO list update
2018-06-17 12:39:02 +02:00
ae2ad1f8b4 Arrays - Predicate-based indexOf/contains methods 2018-05-09 14:12:27 +02:00
d823721fb2 Strings - Character mapping, conversion to upper/lowercase 2018-05-08 13:58:39 +02:00
fbff6e8352 Tests - Removed a random printf 2018-05-08 13:58:10 +02:00
8f939b6a32 MultiArray - Function that returns total values count 2018-05-07 12:57:26 +02:00
6f52668540 SyntaxTree - Location field 2018-03-31 22:38:26 +02:00
b659f2f237 Syntax tree - Visitors
Syntax trees can return a pre-configured visitor object that can be used
to visit all the nodes. Also added a method to create a "root node"
handle for the visitor, because I'm a lazy bastard.
2018-03-31 22:11:00 +02:00
a9762a901e Syntax tree - Added basic abstraction 2018-03-31 16:58:13 +02:00
86a3fe34b4 String builder - truncate() method 2017-11-29 09:24:51 +01:00
46fa84d967 Types - T_Optional access
Changed so it's relatively similar to the interface of pointers.
2017-11-07 17:40:02 +01:00
90048ad3cc Arrays - C++-style iterators 2017-11-02 14:23:19 +01:00
4ab3dc1b29 Finished importing the good bits from LW's library 2017-11-01 23:21:01 +01:00
b9d77922ed More stuff and tests integrated 2017-11-01 22:07:41 +01:00
ccd7cc30ef Started making the library sort-of-buildable 2017-11-01 21:44:54 +01:00
221f0c8ef8 Repo init with mostly unchanged import of LW code 2017-11-01 20:14:23 +01:00