aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
AgeCommit message (Collapse)AuthorFilesLines
2021-03-08Expand URIs in readerDavid Robillard1-1/+5
2021-03-08Add support for parsing variablesDavid Robillard1-0/+3
This adds a reader flag and serdi option for extending a syntax with support for SPARQL-like variables, for storing things like patterns or simple queries.
2021-03-08WIP: Make Reader always read from a ByteSourceDavid Robillard1-11/+22
2021-03-08Add support for reading multiple files at onceDavid Robillard1-29/+98
2021-03-08Simplify handling of input string argumentsDavid Robillard1-10/+11
2021-03-08Add input base URI optionDavid Robillard1-6/+11
2021-03-08WIP: Make Writer always write to a ByteSinkDavid Robillard1-17/+28
2021-03-08Add empty syntax type for suppressing outputDavid Robillard1-4/+9
2021-03-08Replace serd_reader_set_strict() with SerdReaderFlagsDavid Robillard1-7/+6
This makes reader options extensible and should hopefully prevent the need for grafting on more similar functions in the future.
2021-03-08Report writer errors and add strict write modeDavid Robillard1-1/+2
2021-03-08Add option for writing terse output without newlinesDavid Robillard1-21/+19
2021-03-08Separate ByteSink from WriterDavid Robillard1-5/+12
2021-03-08Simplify writer style optionsDavid Robillard1-31/+3
2021-03-08Add SerdCursorDavid Robillard1-4/+8
2021-03-08Add SerdWorld for shared library stateDavid Robillard1-8/+9
2021-03-08Move syntax name/extension utilities to public APIDavid Robillard1-51/+6
2021-03-08Use a fixed-size reader stackDavid Robillard1-1/+16
This improves performance, and makes the reader more suitable for embedded or network-facing applications, at the cost of requiring the user to specify a maximum stack size.
2021-03-07Simplify reader interfaceDavid Robillard1-79/+18
2021-03-07Add SerdSink interface and hide implementationsDavid Robillard1-7/+1
2021-03-07Use consistent naming for function typesDavid Robillard1-4/+4
2021-03-07Bring read/write interface closer to C standardDavid Robillard1-3/+3
2021-03-07Simplify reader interfaceDavid Robillard1-8/+31
2021-03-07Simplify node construction APIDavid Robillard1-9/+7
2021-03-07Simplify URI API and implementationDavid Robillard1-2/+3
2021-03-07Make nodes opaqueDavid Robillard1-6/+8
2021-03-07Shorten node constructor namesDavid Robillard1-2/+2
2021-03-07Rename SerdStyle to SerdWriterFlagsDavid Robillard1-11/+11
2021-03-07Rename SerdURI to SerdURIViewDavid Robillard1-2/+2
2021-03-07Use char* for strings in public APIDavid Robillard1-28/+26
The constant casting just makes user code a mess, for no benefit.
2021-03-07Remove escape parameter from serd_node_new_file_uriDavid Robillard1-1/+1
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best.
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