aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2021-03-07dox_to_sphinx: Support computeroutput nodes with childrenDavid Robillard1-2/+1
2021-03-07Rewrite man page in mdoc and use mandoc to generate HTMLDavid Robillard3-78/+344
2021-02-15Fix writing long literals with triple quotesDavid Robillard5-4/+83
2021-01-20Serd 0.30.10v0.30.10David Robillard3-4/+4
2021-01-17Remove aligned_alloc supportDavid Robillard4-27/+2
This causes build issues when targeting older versions of MacOS. That could be fixed, but I don't have the ability to reproduce it at the moment, and it's a problem in the build system check code which is about to be entirely replaced anyway. Since, as far as I know, this does not actually add aligned allocation support to any real system (they all support one of the other methods), just remove it for now.
2021-01-16Fix documentation installation directoryGuido Aulisi2-1/+3
2021-01-16Add fallback configuration if documentation theme is unavailableDavid Robillard2-27/+52
2021-01-10Add clant configurationDavid Robillard2-0/+10
Older versions of include-what-you-use do not understand stdint.h for some reason, so add some local configuration for this for now.
2021-01-10Add missing includesDavid Robillard1-0/+2
2021-01-10Avoid use of strcpyDavid Robillard1-3/+3
Again, really just skirting around warnings here, but this is faster anyway since we know what we're doing here and doing require any fine-grained null termination.