Commit Graph

32 Commits

Author SHA1 Message Date
red0124
f4bca3915f
Add [[nodiscard]] where fitting, update unit tests (#49) 2024-03-14 04:28:33 +01:00
red0124
69875c238e
Resolve clang-tidy warnings (#48)
* Resolve clang-tidy warnings, update single_header_generator.py

* Update single header test, resolve additional clang-tidy warnings
2024-03-12 18:31:24 +01:00
red0124
457defadaa
Bugfix/odr violations (#47)
* Make common non-member functions inline, remove unreachable line from get_line_buffer

* [skip ci] Fix namespace comments
2024-03-12 10:22:10 +01:00
ado
f8e14b1fcf [skip ci] Add std:: to invoked C std lib functions 2024-02-25 13:03:52 +01:00
ado
2e1c4c97ec Fix handling of invalid conversion/split within parser, update parser tests 2023-08-05 18:11:13 +02:00
ado
2b132bc33a Apply minor changes to tests 2023-08-05 12:05:17 +02:00
ado
a7ea9e42e5 Update error handling methods 2023-08-05 11:45:31 +02:00
ado
29c471e33a Update valid method for throw_on_error 2023-07-16 20:26:09 +02:00
ado
956156b412 Fix resplit segmentation fault, fix issues when working with empty files 2023-07-10 22:21:07 +02:00
ado
a7a97b3ba8 Make throw_on_error and string_error separate options, update parser to have line reading a separate function with respect to splitting 2023-07-10 02:39:24 +02:00
ado
41b89d1d3d Add converter tests with throw_on_error 2023-07-09 17:11:52 +02:00
ado
f3225b8b16 Add splitter tests with throw_on_error 2023-07-09 12:54:39 +02:00
ado
eeac30651a Implement throw_on_error functionality, rename some template parameters 2023-06-29 23:41:03 +02:00
ado
a4ecbd4dc8 Replace ss::ternary_t with std::conditional_t 2023-02-12 12:45:49 +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
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
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
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