red0124
55d0a4e598
Updated and added new functions related to headers, resolved ODR issues, resolved clang-tidy warnings ( #50 )
...
* Bugfix/odr violations (#47 )
* Make common non-member functions inline, remove unreachable line from get_line_buffer
* [skip ci] Fix namespace comments
* Resolve clang-tidy warnings (#48 )
* Resolve clang-tidy warnings, update single_header_generator.py
* Update single header test, resolve additional clang-tidy warnings
* Add header and raw_header methods, update header usage methods error handling, write new and update existing unit tests
* Update parser error messages, fix parser tests
* Add [[nodiscard]] where fitting, update unit tests (#49 )
* Add const where fitting, make splitter class members private, add #pragma once to ssp.hpp
* Modify header parsing for empty headers, update old and add new tests for header parsing
* Enable the parser to accept a header with one empty field, update unit tests
* Fix test CMakeLists.txt typo
2024-03-14 17:22:57 +01:00
f8e14b1fcf
[skip ci] Add std:: to invoked C std lib functions
2024-02-25 13:03:52 +01:00
2e1c4c97ec
Fix handling of invalid conversion/split within parser, update parser tests
2023-08-05 18:11:13 +02:00
2b132bc33a
Apply minor changes to tests
2023-08-05 12:05:17 +02:00
a7ea9e42e5
Update error handling methods
2023-08-05 11:45:31 +02:00
29c471e33a
Update valid method for throw_on_error
2023-07-16 20:26:09 +02:00
956156b412
Fix resplit segmentation fault, fix issues when working with empty files
2023-07-10 22:21:07 +02:00
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
41b89d1d3d
Add converter tests with throw_on_error
2023-07-09 17:11:52 +02:00
f3225b8b16
Add splitter tests with throw_on_error
2023-07-09 12:54:39 +02:00
eeac30651a
Implement throw_on_error functionality, rename some template parameters
2023-06-29 23:41:03 +02:00
a4ecbd4dc8
Replace ss::ternary_t with std::conditional_t
2023-02-12 12:45:49 +01:00
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
2dbc21780f
WIP, added multiline restriction, fixed a few bugs for multiline, updated unit tests
2021-02-20 15:53:18 +01:00
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
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
6f2f4d9171
fix out of range copy_n within the splitter
2021-02-07 22:12:23 +01:00
b847699b5e
add/delete constructors and assign operators for the parser, refactor some code, update unit tests
2021-02-07 21:12:13 +01:00
a1ca012203
minor refactoring
2021-02-06 21:08:59 +01:00
9b90803f6f
make split_input private, make resplit private, update tests and the converter
2021-02-06 01:44:46 +01:00
42629c39c4
refactore a bit more, increase escape shifting performance
2021-02-06 00:55:05 +01:00
f973f404be
refactor code, increase performance
2021-02-05 18:28:10 +01:00
7640c038f3
move setup to seperate header, add static asserts
2021-02-02 21:43:36 +01:00
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
d887dff82a
get rid of maybe-uninitialized warnings
2021-02-01 00:56:42 +01:00
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
1bf6b9d595
write unit tests for resplit, fix some issues with resplit
2021-01-30 21:52:32 +01:00
a5c9216824
refator splitter, add resplit functionality, write some unit tests
2021-01-25 00:16:55 +01:00
024e5d3810
refactor splitter
2021-01-17 14:53:07 +01:00
263dba7626
create seperate header for the splitter, move splitter tests to different cpp file
2021-01-17 02:15:06 +01:00