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
red0124
df2beab6c3
Fix buffer overflow on multiline restricted with unterminated quote and multiple empty lines ( #41 )
2024-03-01 15:46:34 +01:00
red0124
c5b50f2b47
Fix compile issues for c++20 ( #39 )
2024-03-01 00:52:00 +01:00
b7e5dd28b8
Update splitter tests
2023-08-08 12:10:20 +02:00
a7ea9e42e5
Update error handling methods
2023-08-05 11:45:31 +02:00
634abdd38b
Add invalid header usage tests
2023-08-04 21:22:23 +02:00
77631b8c0d
Merge remote-tracking branch 'origin/master' into improvement/throw_on_error
2023-07-25 00:53:51 +02:00
6edce88d79
Fix bug where the default delimiter would be used for multiline data
2023-07-25 00:36:53 +02:00
29c471e33a
Update valid method for throw_on_error
2023-07-16 20:26:09 +02:00
9f4bcb03e1
Add buffer_size_ to reader move constructor and move operator=, apply minor changes
2023-07-12 23:33:33 +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
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
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
2944b90100
add column mapping to converter
2022-02-26 18:47:15 +01:00
a9b73dfc37
update README, made parser handle invalid last line
2021-02-27 20:18:38 +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
9b90803f6f
make split_input private, make resplit private, update tests and the converter
2021-02-06 01:44:46 +01:00
f973f404be
refactor code, increase performance
2021-02-05 18:28:10 +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
a5c9216824
refator splitter, add resplit functionality, write some unit tests
2021-01-25 00:16:55 +01:00
bea7775118
merge with master
2021-01-21 01:54:20 +01:00
92e8e200f9
add meson support, update pipeline
2021-01-19 20:26:36 +01:00
263dba7626
create seperate header for the splitter, move splitter tests to different cpp file
2021-01-17 02:15:06 +01:00
69d6df12be
add splitter, update converter and parser, update unit tests
2021-01-17 00:46:05 +01:00
cd264faa70
add buffer to converter
2021-01-10 23:51:20 +01:00
0487f33eb1
replace error_mode String and Bool with error_string and error_bool
2021-01-01 21:57:14 +01:00
aec49e7e4f
update documentation, fix minor bug
2021-01-01 18:38:53 +01:00
918023496e
make default error_mode Bool
2020-12-27 17:00:06 +01:00
e406253694
make indent with 4 caracters instead of 8
2020-12-26 00:46:42 +01:00
879c726964
make converter able to take a tuple as conversion argument
2020-12-19 14:41:19 +01:00
508e091469
rename to_struct to to_object, refactor some code
2020-12-15 22:32:34 +01:00
a06121ff92
add composite, add bool error handling
2020-12-12 23:32:06 +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