Commit graph

48 commits

Author SHA1 Message Date
5ef2e8e8d9 Windows build + instructions 2018-12-16 11:57:58 +01:00
bd0494ecd8 Strings - Added some missing unit tests 2018-12-15 21:50:53 +01:00
c31280325f Arrays - Use array helpers 2018-12-15 20:42:54 +01:00
71fee96926 Utilities - Array helpers
A bunch of utility functions to move array data around, based on the
array elements' types.
2018-12-15 20:42:39 +01:00
da2034c589 Utilities - M_UNUSED macro 2018-12-15 20:40:37 +01:00
ed126a2d5e Optional type - Don't use target() in operators 2018-12-15 20:40:14 +01:00
e2f548d55e Strings - Fixed compiler warning 2018-12-15 18:45: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
d2122aff38 Buffers - append() method 2018-04-30 09:10:39 +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
7b97993448 Files - Set path in stream errors 2017-12-28 09:52:47 +01:00
165c19109f Streams - Ability to read exception path 2017-12-28 09:52:30 +01:00
0651ea28e0 Streams - Added optional path to errors 2017-12-27 19:00:56 +01:00
424ba93472 Files - Use T_FSPath 2017-12-27 14:57:24 +01:00
5497856be2 Filesystem abstraction 2017-12-27 10:49:31 +01:00
324774848f Sets - Missing returns in assignment operators 2017-12-14 18:53:03 +01:00
04726e2067 Hash tables - Accessing values in RW mode 2017-12-10 12:00:17 +01:00
53feddb4ee SRD errors - Errors, warnings and notes
Replaced the "details" flag with a type which indicates whether an error
record contains an actual error, a warning or just a note.
2017-12-02 09:16:17 +01:00
86a3fe34b4 String builder - truncate() method 2017-11-29 09:24:51 +01:00
5db261909a SRD parser - Access value as a RW reference 2017-11-17 15:44:49 +01:00
1ce16d63cb Arrays - Bug fix on resize( )
Default constructor was not being called for new items.
2017-11-14 20:58:01 +01:00
9f666eea49 Sets - Fixed bug with heap-allocated sets 2017-11-09 09:59:43 +01:00
cdbc81094d Sets - Imported from prototype 2017-11-09 09:40:56 +01:00
0bc11d32d7 Algorithms - Visitor implementation 2017-11-08 09:07:04 +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
82fc8406b3 Types - Helper for enum-based flags 2017-11-07 13:38:41 +01:00
3adfdadd11 SRDIO - Memory target can ignore comments 2017-11-06 10:53:54 +01:00
073fcb3d5e SRD locations - << to string builder fixed 2017-11-05 19:12:10 +01:00
1b1be9e6b2 KV tables - getOrCreate 2017-11-05 13:00:35 +01:00
c35f4c6644 Arrays - std::initializer_list support for dynamic arrays 2017-11-04 12:39:41 +01:00
3745631e02 Arrays - Fixed drug-induced error in ::empty() 2017-11-03 11:38:04 +01:00
ec0dba97f2 Arrays - Fixed bad asserts in iterators 2017-11-03 11:33:48 +01:00
1c0527caab Arrays - resize( ) 2017-11-03 11:21:17 +01:00
4d336e7086 Arrays - New utility methods
empty(), last() and removeLast()
2017-11-03 09:35:14 +01:00
90048ad3cc Arrays - C++-style iterators 2017-11-02 14:23:19 +01:00
2e8092af9a Strings - Automatically construct from char* 2017-11-02 10:40:26 +01:00
302894e404 Vim settings - "IDE" builds in debug mode 2017-11-02 10:19:12 +01:00
9e75356509 Build static library 2017-11-01 23:32:06 +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