Commit Graph

535 Commits

Author SHA1 Message Date
ado
53c5b779d4 [skip ci] Update version 2024-03-14 19:15:32 +01:00
ado
107a122718 [skip ci] Update README 2024-03-14 19:13:03 +01:00
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
1b9a01f787
Feature/fuzz (#44)
* Add fuzzing ci, add bedge to README
2024-03-03 20:46:12 +01:00
red0124
f5b750dd93
Merge pull request #43 from red0124/bugfix/ftell_slowdown
Remove usage of ftell when updating cursor position value
2024-03-02 02:20:05 +01:00
ado
7f53b585f9 Remove usage of ftell when updating cursor position value 2024-03-02 00:34:19 +01:00
ado
67ef6651c1 Fix README typos 2024-03-01 17:23:26 +01:00
ado
fa4ec324de Update version 2024-03-01 16:22:45 +01:00
red0124
f229de61d6
Merge pull request #42 from red0124/dev
Merge with development
2024-03-01 16:17:16 +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
red0124
126329608c
Add macOS ci (#36)
* Add macOS ci, update README
2024-02-28 22:20:26 +01:00
ado
ddaa446819 Update version 2024-02-28 00:58:14 +01:00
red0124
8bad2d72ea
Merge pull request #35 from red0124/feature/csv_buffer
Feature/csv buffer
2024-02-28 00:13:20 +01:00
ado
899a6e6f5e [skip ci] Update README 2024-02-28 00:08:04 +01:00
ado
0d3d8fa83e [skip ci] Update README 2024-02-28 00:04:59 +01:00
ado
7bbe2879cd [skip ci] Update README 2024-02-28 00:02:58 +01:00
ado
063d56fad9 [skip ci] Update README 2024-02-28 00:01:37 +01:00
ado
df78865f04 [skip ci] Update README 2024-02-27 23:56:13 +01:00
ado
852481d233 Fix converter unit tests 2024-02-27 02:49:50 +01:00
ado
c516a6f826 Fix extraction tests 2024-02-26 02:37:30 +01:00
ado
b660310acf [skip ci] Merge with master 2024-02-25 18:27:26 +01:00
ado
0a695cf09e Add ss::uint8 and ss::int8, add unit tests for them 2024-02-25 17:46:35 +01:00
ado
f8e14b1fcf [skip ci] Add std:: to invoked C std lib functions 2024-02-25 13:03:52 +01:00
ado
0ebbee1174 [skip ci] Remove obsolete check from get_line_buffer 2024-02-25 12:10:46 +01:00
ado
b3f3bdf8d1 [skip ci] Update ssp.hpp 2024-02-25 10:54:56 +01:00
ado
f4a06d40e7 Fix non-POSIX get_line 2024-02-25 10:53:21 +01:00
ado
f2ff40a625 Add strict_realloc 2024-02-25 10:42:11 +01:00
ado
110ee840cc Fix header usage functionality 2024-02-25 03:54:33 +01:00
ado
05f87bc78b [skip ci] Fix line method 2024-02-25 02:57:46 +01:00
ado
88e711a5f7 Add positions method to parser, write unit tests for it, update other parser tests 2024-02-25 02:06:48 +01:00
ado
383de57f9a Make ssize_t equal to intptr_t for non-POSIX environments 2024-02-24 19:09:41 +01:00
ado
c6f6ba9821 [skip ci] Reduce number of runs for no new line at end of data test 2024-02-24 14:37:26 +01:00
ado
c5e491041d [skip ci] Disable file mode for no new line at end of data test 2024-02-24 14:17:23 +01:00
ado
21b543ea4f [skip ci] Disable buffer mode no new line at end of data test 2024-02-24 13:55:31 +01:00
ado
8881649aca Update get_line_buffer, update new version of get_line_file to work with data that has no new line at eof 2024-02-23 23:25:03 +01:00
red0124
a27fd121a1
Merge pull request #34 from red0124/improvement/getline_update
Fix reallocation issues with non-POSIX get_line
2024-02-23 23:04:19 +01:00
ado
c0d3087f85 Fix reallocation issues with non-POSIX get_line 2024-02-23 21:56:44 +01:00
ado
273e8ad950 Merge with master, resolve conflicts 2024-02-23 02:49:13 +01:00
red0124
f8fdb97151
Merge pull request #33 from red0124/improvement/getline_update
Improvement/getline update
2024-02-23 01:53:47 +01:00
ado
c0ee100f99 Update ssp.hpp 2024-02-23 01:04:40 +01:00
ado
09e628020d Fix typo in common.hpp 2024-02-23 01:01:31 +01:00
ado
ea21b9ba04 Fix get_line possible leak 2024-02-23 00:59:58 +01:00
ado
230da6a3f2 Update getline implementation for non-POSIX systems 2024-02-22 23:59:58 +01:00
ado
3ea8adedfd Add extended tests with no new line at eof 2024-02-22 00:30:05 +01:00
ado
57ba23c574 [skip ci] Restore extended tests 2024-02-21 21:53:01 +01:00
ado
6516c6cc94 [skip ci] Restore CMAKE_GITHUB_CI, disable some extended tests 2024-02-21 21:38:27 +01:00
ado
cbb0a1ad8e [skip ci] Fix coverage.yml typo, disable extended tests 2024-02-21 21:23:38 +01:00