Commit Graph

120 Commits

Author SHA1 Message Date
ado
0b3b719155 [ckip ci] Replace getline with fread, update parser 2023-08-12 21:15:44 +02:00
ado
8b72deb1ed Remove some comments, update README, update ssp.hpp 2023-08-08 14:38:49 +02:00
ado
672b89b213 Add ability to convert larger numbers without fast_float, write unit tests 2023-08-08 14:11:51 +02:00
ado
b7e5dd28b8 Update splitter tests 2023-08-08 12:10:20 +02:00
ado
deee577c1f Update conversion for integral values to use std::from_chars 2023-08-07 14:11:06 +02:00
ado
7df96d95c7 Make line method work on errors too 2023-08-06 19:56:28 +02:00
ado
9c11f22d79 Update rethrow error message line number 2023-08-06 19:43:41 +02:00
ado
a152a8cb4a Apply minor change to iterator, add handling of invalid header 2023-08-06 15:55:23 +02:00
ado
a378998e34 Update parser exception handling for invalid split/conversion 2023-08-06 14:04:21 +02:00
ado
3c0a440fe9 [skip ci] Update README 2023-08-06 12:33:05 +02:00
ado
952ff236ff Fix header generation on empty line buffer 2023-08-05 20:48:01 +02:00
ado
7d44d503d9 Update the remainder of the unit tests to handle throw_on_error, make parser not set error if all lines are empty 2023-08-05 19:58:00 +02:00
ado
2e1c4c97ec Fix handling of invalid conversion/split within parser, update parser tests 2023-08-05 18:11:13 +02:00
ado
03870aa1ba Update header parsing 2023-08-05 13:30:14 +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
81484f737f Remove std::from_chars from extract.hpp 2023-08-04 22:31:29 +02:00
ado
634abdd38b Add invalid header usage tests 2023-08-04 21:22:23 +02:00
ado
c981ed6644 Write additional parser tests, update some of the existing tests to work with throw_on_error 2023-08-04 16:48:07 +02:00
ado
5f46259914 Merge with bugfix 2023-07-31 21:52:08 +02:00
ado
fbe19de70c Merge remote-tracking branch 'origin/bugfix/terminated_escape_on_quoted_multiline' into improvement/throw_on_error 2023-07-31 21:50:45 +02:00
ado
27ef7f2e21 Fix bug where the parsing of data containing escaped new lines within quotes would produce bad outputs 2023-07-31 21:49:15 +02:00
ado
84a7d46cbf WIP, Continue writing additional parser tests, add big object flag to test cmake 2023-07-30 22:59:37 +02:00
ado
560bf815dc Merge with master 2023-07-29 16:53:24 +02:00
ado
a9903f7441 Add TODO comments 2023-07-29 16:47:50 +02:00
ado
31cbd20f8f WIP, Continue writing additional parser tests 2023-07-28 00:17:22 +02:00
ado
103ff33f21 Update ssp.hpp to handle issue fixed in the previous commit 2023-07-25 11:13:32 +02:00
ado
6dfc30d5c9 WIP, Fix merge compile error 2023-07-25 01:01:06 +02:00
ado
a6db4a7ad2 WIP, Write additional parser tests 2023-07-25 00:56:38 +02:00
ado
77631b8c0d Merge remote-tracking branch 'origin/master' into improvement/throw_on_error 2023-07-25 00:53:51 +02:00
ado
6edce88d79 Fix bug where the default delimiter would be used for multiline data 2023-07-25 00:36:53 +02:00
ado
7d0a5598a8 Merge branch 'improvement/throw_on_error' of https://github.com/red0124/ssp into improvement/throw_on_error 2023-07-23 13:12:37 +02:00
ado
29c471e33a Update valid method for throw_on_error 2023-07-16 20:26:09 +02:00
ado
0ff86630f8 Add comment 2023-07-16 18:26:24 +02:00
ado
5ab41c0315 Fix bug where header reading corrupted the current line buffer 2023-07-16 18:25:15 +02:00
ado
03f5b839fc Minor changes 2023-07-13 22:29:49 +02:00
ado
9f4bcb03e1 Add buffer_size_ to reader move constructor and move operator=, apply minor changes 2023-07-12 23:33:33 +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
9fa9edb24d add spp.hpp 2022-03-30 20:11:55 +02:00
ado
c214975ca0 add unit tests for conversion without the fast float library 2022-03-30 19:54:50 +02:00
ado
62055f03c7 add script to generate single header 2022-03-30 18:14:30 +02:00
ado
0aacff5729 add a few more parser unit test, disable clang12 workflow 2022-03-28 19:30:39 +02:00
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