Commit Graph

540 Commits

Author SHA1 Message Date
ado
c097732352 Enable the parser to accept a header with one empty field, update unit tests 2024-03-14 14:58:33 +01:00
ado
8b1cf56549 Modify header parsing for empty headers, update old and add new tests for header parsing 2024-03-14 11:55:14 +01:00
ado
50de5b3a5a Add const where fitting, make splitter class members private, add #pragma once to ssp.hpp 2024-03-14 04:40:07 +01:00
red0124
f4bca3915f
Add [[nodiscard]] where fitting, update unit tests (#49) 2024-03-14 04:28:33 +01:00
ado
809939d0e2 Update parser error messages, fix parser tests 2024-03-13 19:39:07 +01:00
ado
b9f4afdd5f Add header and raw_header methods, update header usage methods error handling, write new and update existing unit tests 2024-03-13 17:15:31 +01:00
red0124
69875c238e
Resolve clang-tidy warnings (#48)
* Resolve clang-tidy warnings, update single_header_generator.py

* Update single header test, resolve additional clang-tidy warnings
2024-03-12 18:31:24 +01:00
red0124
457defadaa
Bugfix/odr violations (#47)
* Make common non-member functions inline, remove unreachable line from get_line_buffer

* [skip ci] Fix namespace comments
2024-03-12 10:22:10 +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