aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
AgeCommit message (Collapse)AuthorFilesLines
2022-08-31Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2022-07-16Simplify command line usage printingDavid Robillard1-16/+19
2022-07-16Remove redundant check for command line argument countDavid Robillard1-4/+1
2022-07-16Define _POSIX_C_SOURCE globally in the build systemDavid Robillard1-2/+0
Using inconsistent defines like this that affect the standard library implementation can cause issues. So, doing this consistently for the whole library is a better approach, although it unfortunately makes the code more difficult to compile manually.
2022-05-26Update serdi version outputDavid Robillard1-3/+3
2021-05-31Make most function parameters constDavid Robillard1-6/+6
More const never hurts in general, but in particular this allows the compiler to make better nullability deductions, which reduces the amount of manual nullability casting required.
2021-05-31Remove "static inline" for functions in implementation filesDavid Robillard1-1/+1
This is just noise since these are static functions local to a C compilation unit.
2021-04-12Sort command line argument handling codeDavid Robillard1-7/+7
2021-04-11Support combining several BSD-style command line flags in serdiDavid Robillard1-59/+68
2021-01-09Only define WIN32_LEAN_AND_MEAN for MSVCDavid Robillard1-1/+3
This avoids a warning with MinGW.
2021-01-02Update date in version outputDavid Robillard1-1/+1
2021-01-02Use email address instead of website for attributionDavid Robillard1-2/+2
2021-01-01Remove the need for a generated configuration headerDavid Robillard1-2/+2
2020-12-31Format all code with clang-formatDavid Robillard1-275/+277
2020-12-31Avoid "else" after "break" and "return"David Robillard1-3/+12
2020-11-14Deprecate serd_uri_to_path()David Robillard1-2/+8
2020-11-12Add missing const qualifiersDavid Robillard1-4/+4
2020-11-12Factor out output style selectionDavid Robillard1-22/+34
2020-11-10Add const, pure, and malloc function attributesDavid Robillard1-1/+1
2020-11-10Define WIN32_LEAN_AND_MEANDavid Robillard1-0/+1
2020-09-27Update stale copyright datesDavid Robillard1-1/+1
2020-08-16Use conventional short variable name for statusDavid Robillard1-8/+8
2020-08-14Avoid absurd Windows warnings about "deprecated" POSIX functionsDavid Robillard1-2/+2
2020-08-14Clean up and separate internal headersDavid Robillard1-1/+24
2020-07-06Fix spurious semicolon warningsDavid Robillard1-2/+2
2020-06-21Clean up includesDavid Robillard1-4/+7
2019-03-16Set stdin and stdout to binary mode on Windows to preserve newlinesDavid Robillard1-0/+10
2019-01-05Fix unused parameter warningsDavid Robillard1-0/+2
2018-01-04Open files in binary mode to preserve line endings on WindowsDavid Robillard1-1/+1
2017-12-29Don't force ASCII for NQuadsDavid Robillard1-2/+1
2017-12-29Add serdi option to write ASCII outputDavid Robillard1-1/+6
2017-09-24Make serdi guess input syntax from extension if unspecifiedDavid Robillard1-2/+27
2017-09-24Make serdi syntax options case-insensitiveDavid Robillard1-20/+28
2017-02-07Remove comment fragment cruftDavid Robillard1-6/+1
2017-01-06Add support for reading TriGDavid Robillard1-5/+8
2017-01-05Add support for NQuadsDavid Robillard1-4/+6
2017-01-03Always escape file URIsDavid Robillard1-1/+1
2016-09-18Update copyright datesDavid Robillard1-2/+2
2016-05-29Fix handling of file I/O errorsDavid Robillard1-4/+8
2015-10-08Update copyright datesDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@505 490d8e77-9747-427b-9fa3-0b8f29cee8a0
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-03Show serdi errors in standard formatDavid Robillard1-13/+21
git-svn-id: http://svn.drobilla.net/serd/trunk@493 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-12-10Configurable strict parsing to tolerate invalid URIs.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@480 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-08Update copyright dates.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@467 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-30Add more tests from the new W3C Turtle test suite.David Robillard1-3/+3
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
2012-08-08Fix incorrect prototype.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@373 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-07-05Add error callback to reader and writer for custom error reporting.David Robillard1-0/+15
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-3/+16
git-svn-id: http://svn.drobilla.net/serd/trunk@350 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-29Don't break relative URIs with up-references when parsing a document with no ↵David Robillard1-1/+1
base URI. git-svn-id: http://svn.drobilla.net/serd/trunk@342 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-10Add serd_writer_set_root_uri(), root parameter toDavid Robillard1-18/+23
serd_uri_serialise_relative(), and -r option to serdi, to enable writing URIs with up references (../) within a parent namespace. Resolve dot segments in serd_uri_resolve() instead of at write time. git-svn-id: http://svn.drobilla.net/serd/trunk@336 490d8e77-9747-427b-9fa3-0b8f29cee8a0