aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-03-08Move error handling to worldDavid Robillard6-51/+55
2021-03-08Add SerdWorld for shared library stateDavid Robillard17-72/+182
2021-03-08Clean up nodes in reader/writer testsDavid Robillard1-12/+20
2021-03-08Add numeric node construction and access APIDavid Robillard5-50/+307
2021-03-08Add serd_new_float() and serd_new_double()David Robillard6-1/+63
2021-03-08Add serd_new_boolean()David Robillard4-0/+35
2021-03-08Remove serd_node_align constantDavid Robillard1-10/+8
2021-03-08Remove old floating point testsDavid Robillard1-88/+0
2021-03-08WIP: Use exess for reading and writing numeric and binary literalsDavid Robillard5-281/+112
2021-03-08Add exess from git@gitlab.com:drobilla/exess.git 4638b1fDavid Robillard120-1/+17581
2021-03-08Simplify literal construction APIDavid Robillard5-71/+131
2021-03-08Expand datatype of literal nodes in serd_env_expand_nodeDavid Robillard2-3/+19
2021-03-08Move syntax name/extension utilities to public APIDavid Robillard4-51/+110
2021-03-08Improve reader error handlingDavid Robillard1-31/+40
2021-03-08Remove unnecessary parameter from read_LANGTAG()David Robillard1-8/+8
2021-03-08Set flags directly when reading literal nodesDavid Robillard1-57/+35
2021-03-08Improve push_byte() performanceDavid Robillard1-5/+4
2021-03-08Add debug checks for node paddingDavid Robillard2-9/+37
2021-03-08Zero node padding before passing to reader sinksDavid Robillard5-2/+41
2021-03-08Remove datatype and language from reader contextDavid Robillard2-32/+25
2021-03-08Simplify stack management by popping in bulk at higher levelsDavid Robillard4-109/+51
Since all memory used by the reader is POD in the stack, there is no benefit to forcing code to explicitly pop everything pushed to the stack, since any function can record an offset and pop back down to it regardless of what its callers pushed if it knows that it does not need those items.
2021-03-08Use a fixed-size reader stackDavid Robillard14-206/+259
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 Robillard8-167/+113
2021-03-07Add SerdSink interface and hide implementationsDavid Robillard12-154/+334
2021-03-07Use consistent naming for function typesDavid Robillard8-55/+55
2021-03-07Bring read/write interface closer to C standardDavid Robillard11-93/+97
2021-03-07Simplify reader interfaceDavid Robillard6-162/+121
2021-03-07Set datatypes on integer, decimal, and base64 nodesDavid Robillard4-39/+135
2021-03-07Simplify node construction APIDavid Robillard10-260/+327
2021-03-07Simplify URI API and implementationDavid Robillard12-436/+514
2021-03-07Add serd_node_uri_view()David Robillard2-0/+27
2021-03-07Add serd_node_string_view()David Robillard2-0/+18
2021-03-07Merge datatype/language into nodeDavid Robillard9-128/+258
This moves closer to the sord API, and is more convenient in most cases.
2021-03-07Remove SERD_NOTHING node typeDavid Robillard4-26/+1
2021-03-07Make nodes opaqueDavid Robillard16-482/+530
2021-03-07Add node accessor APIDavid Robillard2-0/+44
2021-03-07Shorten node constructor namesDavid Robillard6-62/+58
2021-03-07Add string view construction macrosDavid Robillard1-0/+30
2021-03-07Remove "get" from accessor namesDavid Robillard6-18/+21
2021-03-07Rename SerdStyle to SerdWriterFlagsDavid Robillard4-48/+50
2021-03-07Rename SerdType to SerdNodeTypeDavid Robillard5-21/+27
The old name will be even more ambiguous with the increased scope.
2021-03-07Rename SerdURI to SerdURIViewDavid Robillard8-105/+107
2021-03-07Rename SerdChunk to SerdStringViewDavid Robillard7-35/+30
2021-03-07Use char* for strings in public APIDavid Robillard23-385/+344
The constant casting just makes user code a mess, for no benefit.
2021-03-07Remove escape parameter from serd_node_new_file_uriDavid Robillard4-19/+11
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-03-07Remove useless character countingDavid Robillard11-99/+55
2021-03-07Add SerdBuffer type for mutable buffersDavid Robillard8-38/+44
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2021-03-07Remove serd_uri_to_path()David Robillard4-95/+7
2021-03-07WIP: Switch to MesonDavid Robillard22-721/+812
2021-03-07Factor out test suite running to a standalone scriptDavid Robillard2-199/+419