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
7f53b585f9
Remove usage of ftell when updating cursor position value
2024-03-02 00:34:19 +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
27bd60b5ce
Fix bug with get_line_buffer when used with data buffer that is not null terminated and does not end with \n ( #40 )
2024-03-01 02:47:04 +01:00
red0124
c5b50f2b47
Fix compile issues for c++20 ( #39 )
2024-03-01 00:52:00 +01:00
red0124
d8dcce7f2a
Fix buffer overflow on multiline csv data containing null characters ( #38 )
2024-02-29 22:03:20 +01:00
b660310acf
[skip ci] Merge with master
2024-02-25 18:27:26 +01:00
0a695cf09e
Add ss::uint8 and ss::int8, add unit tests for them
2024-02-25 17:46:35 +01:00
f8e14b1fcf
[skip ci] Add std:: to invoked C std lib functions
2024-02-25 13:03:52 +01:00
0ebbee1174
[skip ci] Remove obsolete check from get_line_buffer
2024-02-25 12:10:46 +01:00
b3f3bdf8d1
[skip ci] Update ssp.hpp
2024-02-25 10:54:56 +01:00
f2ff40a625
Add strict_realloc
2024-02-25 10:42:11 +01:00
88e711a5f7
Add positions method to parser, write unit tests for it, update other parser tests
2024-02-25 02:06:48 +01:00
c0d3087f85
Fix reallocation issues with non-POSIX get_line
2024-02-23 21:56:44 +01:00
273e8ad950
Merge with master, resolve conflicts
2024-02-23 02:49:13 +01:00
c0ee100f99
Update ssp.hpp
2024-02-23 01:04:40 +01:00
230da6a3f2
Update getline implementation for non-POSIX systems
2024-02-22 23:59:58 +01:00
3ea8adedfd
Add extended tests with no new line at eof
2024-02-22 00:30:05 +01:00
d422667477
[skip ci] Remove some magic numbers
2024-02-19 01:16:19 +01:00
aaa22046a5
Add null data buffer error handler and unit test, resolve TODOs
2024-02-19 01:00:42 +01:00
dbaa8131e7
Update ssp.hpp
2024-02-18 15:29:03 +01:00
8d1637cad1
Update single-header.yml
2024-02-17 02:34:51 +01:00
8b72deb1ed
Remove some comments, update README, update ssp.hpp
2023-08-08 14:38:49 +02:00
32cbfe1d17
Update extraction tests, update coverage-ci, update ssp.hpp
2023-08-08 12:43:56 +02:00
7b16f24d03
[skip ci] Update version and spp.hpp
2023-08-07 15:29:50 +02:00
b913344722
Update README and ssp.hpp
2023-08-06 20:02:08 +02:00
7df96d95c7
Make line method work on errors too
2023-08-06 19:56:28 +02:00
6b4f456654
Update ssp.hpp
2023-08-06 19:44:26 +02:00
2c7bc763a5
Update ssp.hpp, add more parser unit tests
2023-08-06 16:55:52 +02:00
f17a3bdc59
Update ssp.hpp
2023-08-05 22:04:19 +02:00
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
103ff33f21
Update ssp.hpp to handle issue fixed in the previous commit
2023-07-25 11:13:32 +02:00
774f452689
fix typo
2023-03-19 19:48:22 +01:00
a4ecbd4dc8
Replace ss::ternary_t with std::conditional_t
2023-02-12 12:45:49 +01:00
9fa9edb24d
add spp.hpp
2022-03-30 20:11:55 +02:00