Commit Graph

505 Commits

Author SHA1 Message Date
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
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
ado 1798b4c6f3 [skip ci] Update coverage.yml, fix lcov usage error 2024-02-21 20:52:34 +01:00
ado 90a116ac7b [skip ci] Update coverage.yml, add lcov filters 2024-02-21 20:19:42 +01:00
ado cbbe0acb25 [skip ci] Fix ci_install_lcov.sh 2024-02-21 20:06:32 +01:00
ado b993eb8852 [skip ci] Update coverage.yml to work with lcov2.0 2024-02-21 19:41:06 +01:00
ado 5e32d722e8 [skip ci] Update coverage.yml, add unit test for files and buffers without new line at the end of the file 2024-02-21 02:19:14 +01:00
ado 59f6591da3 [skip ci] Update coverage.yml 2024-02-21 01:25:53 +01:00
ado 9d96a7d47f [skip ci] Update coverage.yml 2024-02-19 01:59:10 +01:00
ado d4fc2ee561 [skip ci] Update .gitignore 2024-02-19 01:23:09 +01:00
ado d422667477 [skip ci] Remove some magic numbers 2024-02-19 01:16:19 +01:00
ado aaa22046a5 Add null data buffer error handler and unit test, resolve TODOs 2024-02-19 01:00:42 +01:00
ado 775b8c93e2 Fix parser tests part 2 segment issues 2024-02-19 00:16:22 +01:00
ado e4fba8a918 Split parser tests part 2 into additional segments 2024-02-19 00:04:09 +01:00
ado 11d57bd073 [skip ci] Try fix MINGW ci 2024-02-18 23:40:53 +01:00
ado 45b840a30a [skip ci] Try fix MINGW ci 2024-02-18 23:22:37 +01:00
ado 8bb773625b [skip ci] Try fix MINGW ci 2024-02-18 23:16:10 +01:00
ado 0466c7234c [skip ci] Try fix MINGW ci 2024-02-18 23:13:16 +01:00
ado d21c387a33 [skip ci] Try fix MINGW ci 2024-02-18 23:07:26 +01:00
ado d019edb2bf [skip ci] Update unit test CMakeList for MINGW 2024-02-18 21:58:06 +01:00
ado a2666816de Add maybe_unused attribute to test helper functions 2024-02-18 19:58:25 +01:00
ado 417a03a8a4 Fix unit tests build 2024-02-18 19:36:41 +01:00
ado baf4317ffa Add more unit tests for buffer mode 2024-02-18 18:58:51 +01:00
ado 63a618957b Add more unit tests for buffer mode 2024-02-18 18:46:26 +01:00
ado dbaa8131e7 Update ssp.hpp 2024-02-18 15:29:03 +01:00
ado ef8cf30919 Merge remote-tracking branch 'origin/master' into feature/csv_buffer 2024-02-18 15:27:46 +01:00
ado 42d618ed64 Make CI unit tests run sequentially 2024-02-18 14:12:10 +01:00
ado 8b07f7d6cb Remove tmpnam usage for random file generation 2024-02-18 13:55:14 +01:00
ado 82f8ed12b4 Fix out of bounds reading for get_line_buffer, write more buffer mode unit tests 2024-02-18 11:20:36 +01:00
ado e89e268280 Update test helpers random file name generator 2024-02-17 22:21:37 +01:00
ado aacf690640 Fix unit test CMakeLists typo 2024-02-17 21:10:25 +01:00
ado f8c5757d99 Fix unit test CMakeLists 2024-02-17 21:08:24 +01:00