aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
AgeCommit message (Collapse)AuthorFilesLines
2017-06-30Fix various clang-tidy issuesDavid Robillard1-43/+40
2017-06-29Fix strict parsing of abolute URI schemesDavid Robillard1-17/+26
2017-04-24Allow arbitrary page size to be passed for custom sourcesDavid Robillard1-6/+8
2017-04-14Factor out file reading from readerDavid Robillard1-83/+94
2017-04-14Cleanup: Fix whitespaceDavid Robillard1-1/+1
2017-04-14Store status in reader rather than error flagDavid Robillard1-14/+11
2017-02-14Improve struct packingDavid Robillard1-1/+1
2017-01-06Add support for reading TriGDavid Robillard1-37/+100
2017-01-06TidyDavid Robillard1-20/+11
2017-01-06Add support for SPARQL PREFIX and BASE directivesDavid Robillard1-62/+102
2017-01-05Add support for NQuadsDavid Robillard1-19/+145
2016-08-09Report missing statement separator errorsDavid Robillard1-0/+6
2016-07-31Fix compilation with C++David Robillard1-2/+3
2016-06-13Fix use of uninitialized fieldsDavid Robillard1-16/+1
Fixes #1135
2016-05-29Fix handling of file I/O errorsDavid Robillard1-3/+10
2016-05-17Fix unaligned memory access (UB which breaks ARM)David Robillard1-6/+6
With this fix, the test suite runs cleanly with UBSan.
2016-01-17Support mixed-case language tagsArto Bendiken1-1/+1
See: https://www.w3.org/TR/turtle/#grammar-production-LANGTAG
2015-10-07Update copyright datesDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@500 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2015-10-04Delete trailing whitespaceDavid Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@494 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2015-10-02Full test coverageDavid Robillard1-46/+49
git-svn-id: http://svn.drobilla.net/serd/trunk@492 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2015-09-04Fix clash resolution when a blank node ID prefix is set.David Robillard1-4/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@490 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-12-17Add support for Turtle named inline nodes extension.David Robillard1-1/+24
git-svn-id: http://svn.drobilla.net/serd/trunk@482 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-12-16Fix reading statements ending with a blank then dot with no space (#989).David Robillard1-11/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@481 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-12-10Configurable strict parsing to tolerate invalid URIs.David Robillard1-1/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@480 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-12-10Fix serd_reader_read_file() for URIs with escaped characters (spaces).David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@479 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-12-09Report errors for invalid IRI characters and missing terminators.David Robillard1-10/+17
git-svn-id: http://svn.drobilla.net/serd/trunk@478 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-08Use Markdown in doc comments for better source readability.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@471 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-08Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@467 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-05Fix const-correctness violation for reader input string.David Robillard1-11/+14
git-svn-id: http://svn.drobilla.net/serd/trunk@465 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-12-24Update to latest Turtle test suite.David Robillard1-2/+9
Support UTF-8 in blank node names. Support idiotic SPARQL escaping in local names. git-svn-id: http://svn.drobilla.net/serd/trunk@452 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-30Add more tests from the new W3C Turtle test suite.David Robillard1-9/+19
Support crazy escaped NULL characters in literals. Fix incorrect round-trip serialization test command. git-svn-id: http://svn.drobilla.net/serd/trunk@446 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-30Implement case-insensitive language tags from new Turtle spec.David Robillard1-6/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@444 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-24Set SERD_HAS_NEWLINE and SERD_HAS_QUOTE flags when unescaped newlines or ↵David Robillard1-4/+12
quotes are read. Don't escape legal ASCII characters when writing long literals. git-svn-id: http://svn.drobilla.net/serd/trunk@439 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-04Support dots and colons in pnames.David Robillard1-29/+50
git-svn-id: http://svn.drobilla.net/serd/trunk@436 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-04Add missing newline.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@434 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-04Improve dot support.David Robillard1-35/+35
Extend test suite to cover more of the new Turtle draft. git-svn-id: http://svn.drobilla.net/serd/trunk@433 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-03Fix crazy logic and redundant call in read_PN_LOCAL().David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@432 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-03Pass negative eval tests (reject invalid escaped URI characters).David Robillard1-15/+18
git-svn-id: http://svn.drobilla.net/serd/trunk@430 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-03Remove dead code.David Robillard1-8/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@429 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-03Remove comments referring to old grammar rules.David Robillard1-33/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@425 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-02Pass turtle-syntax-number-08.ttl (integer followed by terminating dot).David Robillard1-112/+145
Better error handling. git-svn-id: http://svn.drobilla.net/serd/trunk@423 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-25Support most of the latest Turtle Editor's Draft.David Robillard1-299/+332
git-svn-id: http://svn.drobilla.net/serd/trunk@418 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-24Fix typo.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@415 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-24Generate shorter blank node IDs like the new Turtle test suite.David Robillard1-13/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@414 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-09-09Fix clashing symbol "error" in amalgamation build.David Robillard1-16/+16
git-svn-id: http://svn.drobilla.net/serd/trunk@384 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-08-08Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard1-5/+5
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/serd/trunk@374 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-07-17Support digits at start of local names as per new grammar.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@360 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-07-05Add error callback to reader and writer for custom error reporting.David Robillard1-20/+42
Add -q option to serdi to suppress all non-data output, e.g. errors. Resolves #815. git-svn-id: http://svn.drobilla.net/serd/trunk@354 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-05-08Add incremental read interface suitable for reading from infinite streams.David Robillard1-12/+66
git-svn-id: http://svn.drobilla.net/serd/trunk@350 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-27Delete trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@340 490d8e77-9747-427b-9fa3-0b8f29cee8a0