aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27Add faster decimal digit counting functionDavid Robillard1-0/+55
2020-10-27Add integer and bit math utilitiesDavid Robillard1-0/+64
2020-10-27Add validation to command line interfaceDavid Robillard32-0/+723
2020-10-27Add support for reading multiple files at onceDavid Robillard3-0/+12
2020-10-27Add test for failure while writing a list from a modelDavid Robillard1-0/+68
2020-10-27Replace serd_reader_set_strict() with SerdReaderFlagsDavid Robillard3-7/+9
This makes reader options extensible and should hopefully prevent the need for grafting on more similar functions in the future.
2020-10-27Report writer errors and add strict write modeDavid Robillard1-1/+38
2020-10-27Align nodes with posix_memalign if possibleDavid Robillard1-13/+15
2020-10-27Add support for writing terse collectionsDavid Robillard6-0/+163
2020-10-27Fix various warnings and conversion issuesDavid Robillard2-12/+26
2020-10-27Add serd_new_boolean()David Robillard1-0/+17
2020-10-27Handle read errors more preciselyDavid Robillard1-1/+1
2020-10-27Add model validationDavid Robillard1-1/+1
2020-10-27Add modelDavid Robillard4-0/+1006
2020-10-27Add function to SerdSink for freeing opaque handleDavid Robillard4-6/+6
This can be used to associate dynamically allocated data with a sink and have it managed along with the sink's lifetime.
2020-10-27Use public sink interface in readerDavid Robillard1-0/+1
2020-10-27Clean up and expose base64 implementationDavid Robillard2-6/+128
2020-10-27Remove serd_env_foreach()David Robillard1-2/+4
This is not particularly useful except to write prefixes, which is what serd_env_write_prefixes is for, and the name implies that namespace prefixes are the only thing in an Env, which will be problematic in the future.
2020-10-27Simplify reader test sinkDavid Robillard1-34/+29
2020-10-27Add stack overflow testsDavid Robillard1-0/+69
2020-10-27Ensure serd_new_resolved_uri returns an absolute URI or NULLDavid Robillard1-1/+3
2020-10-27Simplify streaming API and improve pretty printingDavid Robillard3-2/+98
This removes the obligation from the caller to correctly maintain flags to describe the current anonymous context, instead making the writer handle this itself as much as possible. Flags remain for the cases the writer can not infer from context: the start of anonymous subject and object nodes.
2020-10-27Add SerdNodes class for storing a cache of nodesDavid Robillard2-0/+93
2020-10-27Add serd_env_copy() and serd_env_equals()David Robillard1-0/+19
2020-10-27Separate ByteSink from WriterDavid Robillard1-3/+11
2020-10-27Expose SerdByteSink in public APIDavid Robillard1-0/+1
2020-10-27Remove serd_reader_set_default_graph()David Robillard1-9/+2
2020-10-27Add rooted URI resolution testDavid Robillard1-1/+2
2020-10-27Separate style enum from style flags typesDavid Robillard1-2/+2
2020-10-27Make SerdSink opaqueDavid Robillard3-16/+33
2020-10-27Simplify SerdEnv APIDavid Robillard1-24/+29
2020-10-27Add SerdCursor to public APIDavid Robillard4-2/+64
2020-10-27Remove escape parameter from serd_new_file_uriDavid Robillard1-9/+6
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 Robillard2-76/+92
2020-10-27Make statement sink take a statement rather than nodesDavid Robillard2-29/+16
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-27Use a fixed-size reader stackDavid Robillard2-5/+5
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 Robillard1-7/+19
2020-10-27Add serd_world_get_blank()David Robillard1-0/+18
2020-10-27Clean up node construction APIDavid Robillard2-83/+120
2020-10-27Hide fopen wrapper and use reader interface consistentlyDavid Robillard1-19/+18
2020-10-27Add blank node APIDavid Robillard2-0/+16
2020-10-27Make serd_node_new_literal take datatype as a nodeDavid Robillard1-5/+10
2020-10-27Add SerdWorld for shared library stateDavid Robillard3-8/+25
2020-10-27Add SerdSink interface and hide individual function implementationsDavid Robillard2-30/+25
2020-10-27Bring read/write interface closer to C standardDavid Robillard1-4/+4
2020-10-27Merge datatype and/or language into nodeDavid Robillard2-37/+60
This moves closer to the sord API, and is more convenient in most cases.
2020-10-27Simplify reader interfaceDavid Robillard2-28/+31
2020-10-27Remove serd_uri_to_path()David Robillard1-29/+0
2020-10-27Remove SERD_NOTHING node typeDavid Robillard1-19/+0
2020-10-27Make nodes opaqueDavid Robillard2-165/+198