Commit Graph

123 Commits

Author SHA1 Message Date
ado
2c1fe9be9f update documentation 2022-03-28 19:11:41 +02:00
ado
27d0a2f33e fix minor memory leask 2022-03-27 21:41:46 +02:00
ado
a8fa5c753c add ignore_header setup option, add unit tests for parsing by header, add string_view to possible conversion values 2022-03-27 21:04:02 +02:00
ado
45d166f93d add header parsing to parser 2022-02-27 19:40:23 +01:00
ado
2944b90100 add column mapping to converter 2022-02-26 18:47:15 +01:00
ado
1ddc61c62e add possibility to iterate with the parser, update unit tests, update README 2021-02-28 19:22:54 +01:00
ado
a9b73dfc37 update README, made parser handle invalid last line 2021-02-27 20:18:38 +01:00
ado
46e1d70551 remove user defined warnings, remove win icc ci 2021-02-27 12:41:51 +01:00
ado
b1e44ee9f8 try fix vs16 ci 2021-02-23 21:07:02 +01:00
ado
14d67d87bd try fix vs16 ci 2021-02-23 21:05:04 +01:00
ado
ae355a6242 remove one warning, update the other 2021-02-23 20:48:18 +01:00
ado
4939904f44 try fix mingw i686 2021-02-23 20:39:03 +01:00
ado
529fcc30a8 try fix mingw i686 2021-02-23 20:27:54 +01:00
ado
71e3acd1c4 try fix mingw-clang ci 2021-02-23 02:31:24 +01:00
ado
e3c098246d make clang mingw32 not use builtin overflow functions 2021-02-23 02:25:24 +01:00
ado
43e4e8a9de replace ifdef WIN with ifdef __unix__ 2021-02-21 22:25:58 +01:00
ado
3578e7b99c add custom getline for WIN... 2021-02-21 22:22:18 +01:00
ado
1af0e75788 update all unit tests, fix bug with unterminated escape, updated multiline parsing, refactored some code, removed unused code 2021-02-21 02:49:23 +01:00
ado
2dbc21780f WIP, added multiline restriction, fixed a few bugs for multiline, updated unit tests 2021-02-20 15:53:18 +01:00
ado
2985027505 add trim_left and trim_right, add setup static asserts, update type_traits, refactor some code, add unit tests 2021-02-14 01:59:06 +01:00
ado
ea42948c42 add string_error and multiline within the setup, remove set_error_mode, update unit tests, update documentation 2021-02-13 01:14:25 +01:00
ado
6f2f4d9171 fix out of range copy_n within the splitter 2021-02-07 22:12:23 +01:00
ado
b626f78a71 make reader a struct 2021-02-07 21:29:12 +01:00
ado
c094ede588 update test names 2021-02-07 21:24:41 +01:00
ado
b847699b5e add/delete constructors and assign operators for the parser, refactor some code, update unit tests 2021-02-07 21:12:13 +01:00
ado
9408c385d6 replace float/double conversion with fast_float, update unit tests, update meson 2021-02-07 11:33:16 +01:00
ado
a1ca012203 minor refactoring 2021-02-06 21:08:59 +01:00
ado
9b90803f6f make split_input private, make resplit private, update tests and the converter 2021-02-06 01:44:46 +01:00
ado
42629c39c4 refactore a bit more, increase escape shifting performance 2021-02-06 00:55:05 +01:00
ado
f973f404be refactor code, increase performance 2021-02-05 18:28:10 +01:00
ado
7640c038f3 move setup to seperate header, add static asserts 2021-02-02 21:43:36 +01:00
ado
6da0cb3544 add mismatched quote error, update error handling for splitter, add unit tests, update test_helpers buffer 2021-02-02 02:17:31 +01:00
ado
d887dff82a get rid of maybe-uninitialized warnings 2021-02-01 00:56:42 +01:00
ado
035e27c5ab add converter tests with quote trim and escape, enable resplit on converter, make parser handle multi-line csv, add unit tests 2021-01-31 23:08:46 +01:00
ado
1bf6b9d595 write unit tests for resplit, fix some issues with resplit 2021-01-30 21:52:32 +01:00
ado
a5c9216824 refator splitter, add resplit functionality, write some unit tests 2021-01-25 00:16:55 +01:00
ado
bea7775118 merge with master 2021-01-21 01:54:20 +01:00
ado
92e8e200f9 add meson support, update pipeline 2021-01-19 20:26:36 +01:00
ado
6193c65388 enable matchers for parser 2021-01-17 21:46:36 +01:00
ado
4932138fba fix parser destructor 2021-01-17 15:22:50 +01:00
ado
024e5d3810 refactor splitter 2021-01-17 14:53:07 +01:00
ado
263dba7626 create seperate header for the splitter, move splitter tests to different cpp file 2021-01-17 02:15:06 +01:00
ado
69d6df12be add splitter, update converter and parser, update unit tests 2021-01-17 00:46:05 +01:00
ado
cd264faa70 add buffer to converter 2021-01-10 23:51:20 +01:00
ado
f6b0201bf5 try fix pipeline 2021-01-07 22:57:55 +01:00
ado
f2cc7265b6 undo removal of right_of_impl 2021-01-06 19:41:39 +01:00
ado
7ea33c80e2 replace stdlib.h with cstdlib, remove not needed forward declarations in type traits, fix README typo 2021-01-06 09:08:59 +01:00
ado
91853a3287 fix try_next and try_object when returning false, update unit tests 2021-01-03 17:27:21 +01:00
ado
fdae9b6413 add lt gt lte gte restrictions, update unit tests, update documentation 2021-01-03 15:38:07 +01:00
ado
60c8156fb7 replace or_else_object with or_object inside the parser, update documentation 2021-01-02 02:31:45 +01:00
ado
f39e1669f4 implement the try_object method, update unit tests, update documentation 2021-01-01 23:52:14 +01:00
ado
0487f33eb1 replace error_mode String and Bool with error_string and error_bool 2021-01-01 21:57:14 +01:00
ado
aec49e7e4f update documentation, fix minor bug 2021-01-01 18:38:53 +01:00
ado
aa97b18aa7 update documentation, fix error message not being set in case of an invalid file 2020-12-31 01:01:18 +01:00
ado
f0d3e6c635 add README, start writing documentation 2020-12-27 20:50:45 +01:00
ado
918023496e make default error_mode Bool 2020-12-27 17:00:06 +01:00
ado
bb6296ef6e replace None with none 2020-12-26 00:56:39 +01:00
ado
e406253694 make indent with 4 caracters instead of 8 2020-12-26 00:46:42 +01:00
ado
16f4648cb3 make on_error accept lambda without arguments, update tests 2020-12-26 00:42:01 +01:00
ado
371da072be move values inside composite when possible, write unit tests for composite 2020-12-26 00:36:08 +01:00
ado
bf92abdb2c add variant support 2020-12-20 03:16:17 +01:00
ado
879c726964 make converter able to take a tuple as conversion argument 2020-12-19 14:41:19 +01:00
ado
508e091469 rename to_struct to to_object, refactor some code 2020-12-15 22:32:34 +01:00
ado
7b6794c4fa add comments for composite, add values method for composte 2020-12-12 23:41:56 +01:00
ado
a06121ff92 add composite, add bool error handling 2020-12-12 23:32:06 +01:00
ado
0c25efd353 add support for std::optional when extracting 2020-12-11 21:17:07 +01:00
ado
0d84fcf7e8 add support for CRLF 2020-12-11 18:14:06 +01:00
ado
83bbab4112 fix extract bool 2020-12-11 00:57:44 +01:00
ado
6972d2832e minor change to extrac bool function 2020-12-10 21:09:15 +01:00
ado
47ef93b532 remove throws on invalid 2020-12-10 21:05:17 +01:00
ado
cbdd350b63 make specialization inline 2020-12-10 20:43:27 +01:00
ado
6b9639afc8 update converter.hpp to work with gcc, add uninstall to makefile 2020-12-10 20:41:49 +01:00
ado
9d45ff7b62 initial commit, copy everything to new repository 2020-12-10 19:26:56 +01:00