aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27Cache commonly used nodes in the worldDavid Robillard3-14/+32
2020-10-27Add SerdNodes class for storing a cache of nodesDavid Robillard3-1/+145
2020-10-27Add serd_env_copy() and serd_env_equals()David Robillard1-0/+36
2020-10-27Separate ByteSink from WriterDavid Robillard2-11/+12
2020-10-27Expose SerdByteSink in public APIDavid Robillard2-5/+104
2020-10-27Remove serd_reader_set_default_graph()David Robillard2-17/+1
2020-10-27Add zix data structures for use in modelDavid Robillard7-0/+1686
2020-10-27Simplify writer style optionsDavid Robillard2-21/+8
2020-10-27Avoid writing invalid prefixed name prefixesDavid Robillard1-1/+2
2020-10-27Separate style enum from style flags typesDavid Robillard2-22/+22
2020-10-27Automatically finish reader on destructionDavid Robillard1-0/+1
2020-10-27Make SerdSink opaqueDavid Robillard5-8/+90
2020-10-27Simplify SerdEnv APIDavid Robillard3-34/+84
2020-10-27Add cursor to statementDavid Robillard4-3/+14
This allows the file and position of statements to be used in sinks, for example for more helpful error reporting outside the parser.
2020-10-27Add SerdCursor to public APIDavid Robillard7-37/+157
2020-10-27Remove escape parameter from serd_new_file_uriDavid Robillard2-3/+3
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best.
2020-10-27Shorten node constructor namesDavid Robillard5-82/+153
2020-10-27Make statement sink take a statement rather than nodesDavid Robillard3-23/+23
This makes the interface more extensible, towards associating more information with statements. The serd_sink_write_nodes wrapper remains so that user code does not need to allocate in order to write statement.
2020-10-27Add sink interfaceDavid Robillard1-0/+62
2020-10-27Add SerdStatementDavid Robillard2-0/+80
2020-10-27Expand datatype of literal nodes in serd_env_expand_nodeDavid Robillard1-1/+12
2020-10-27Move syntax name/extension utilities to public APIDavid Robillard2-50/+72
2020-10-27Move SerdField to public APIDavid Robillard1-46/+40
2020-10-27Improve reader error handlingDavid Robillard1-33/+38
2020-10-27Remove unnecessary parameterDavid Robillard1-8/+8
2020-10-27Set flags directly when reading literal nodesDavid Robillard1-51/+32
2020-10-27Improve push_byte() performanceDavid Robillard1-4/+4
2020-10-27Add debug checks for node paddingDavid Robillard2-8/+36
2020-10-27Zero node padding before passing to reader sinksDavid Robillard5-2/+39
2020-10-27Remove datatype and language from reader contextDavid Robillard2-26/+14
2020-10-27Simplify stack management by popping in bulk at higher levelsDavid Robillard4-98/+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.
2020-10-27Use a fixed-size reader stackDavid Robillard7-180/+219
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.
2020-10-27Set datatypes on integer, decimal, and base64 nodesDavid Robillard2-27/+90
2020-10-27Add serd_world_get_blank()David Robillard2-2/+25
2020-10-27Clean up node construction APIDavid Robillard6-98/+151
2020-10-27Hide fopen wrapper and use reader interface consistentlyDavid Robillard9-163/+108
2020-10-27Add blank node APIDavid Robillard1-0/+14
2020-10-27Make serd_node_new_literal take datatype as a nodeDavid Robillard1-6/+8
2020-10-27Move error handling to worldDavid Robillard5-38/+43
2020-10-27Add SerdWorld for shared library stateDavid Robillard7-33/+99
2020-10-27Add SerdSink interface and hide individual function implementationsDavid Robillard5-57/+48
2020-10-27Bring read/write interface closer to C standardDavid Robillard8-60/+62
2020-10-27Merge datatype and/or language into nodeDavid Robillard5-50/+162
This moves closer to the sord API, and is more convenient in most cases.
2020-10-27Simplify reader interfaceDavid Robillard3-90/+71
2020-10-27Remove serd_uri_to_path()David Robillard2-25/+8
2020-10-27Remove SERD_NOTHING node typeDavid Robillard3-4/+1
2020-10-27Make nodes opaqueDavid Robillard6-197/+236
2020-10-27Use opaque node APIDavid Robillard4-55/+76
2020-10-27Add node accessor APIDavid Robillard1-0/+24
2020-10-27Remove "get" from accessor namesDavid Robillard3-6/+5