aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* build: convert project to standard libtool library with pkg-configTadas Vilkeliskis2026-06-111-3/+2
| | | | | | | - Update tests and examples to link against libcsv_parser.la instead of compiling raw sources directly. - Add csv_parser.pc.in to generate pkg-config file for standard linking and library discovery by other projects.
* Fix multiple parsing bugs and add RFC 4180 quote supportTadas Vilkeliskis2026-06-111-16/+69
| | | | | | | | | | | | | | - Change nread to size_t to prevent overflow. - Fix state machine to handle consecutive newlines appropriately. - Add csv_parser_finish to emit pending trailing fields at EOF. - Fix nread boundary count on callback errors. - Add support for quoted fields, including escaped quotes. - Update and expand test suite to cover new cases and quote parsing.
* put parser into error state if callback returns non-zeroTadas Vilkeliskis2013-11-031-0/+38
|
* make sure to return non-zero code when tests failTadas Vilkeliskis2013-10-311-2/+3
|
* support make testTadas Vilkeliskis2013-10-271-1/+3
|
* csv parserTadas Vilkeliskis2013-10-262-0/+223