aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27Replace multiple stream callbacks with SerdEventDavid Robillard9-104/+194
This makes plumbing easier since everything goes through the same "stream" and only one callback is required to handling everything. It's also more easily extensible in case more event types need to be added in the future.
2020-10-27Remove old floating point testsDavid Robillard1-96/+0
2020-10-27Add precise floating point parsingDavid Robillard5-26/+621
2020-10-27Separate decimal parsing from floating point conversionDavid Robillard2-42/+126
2020-10-27Add support for xsd:double and xsd:floatDavid Robillard4-0/+114
These can be used to serialise a float or double in the shortest normalised form that can be read back in to the exact same floating point value.
2020-10-27Add precise decimal digit generationDavid Robillard6-65/+400
2020-10-27Factor out decimal digit generationDavid Robillard3-51/+72
2020-10-27Add minimal big integer implementationDavid Robillard5-0/+1674
This is needed for floating point decimal conversion.
2020-10-27Add minimal soft floating point implementationDavid Robillard6-1/+408
2020-10-27Add IEEE floating point utility headerDavid Robillard1-0/+55
2020-10-27Add faster decimal digit counting functionDavid Robillard5-1/+112
2020-10-27Move MIN macro to int_math.hDavid Robillard13-19/+17
2020-10-27Add integer and bit math utilitiesDavid Robillard4-0/+205
2020-10-27Add validation to command line interfaceDavid Robillard39-1/+2000
2020-10-27Add support for reading multiple files at onceDavid Robillard6-37/+112
2020-10-27Suppress simple test outputDavid Robillard1-1/+1
2020-10-27Add empty syntax type for suppressing outputDavid Robillard6-19/+39
2020-10-27Improve add and chop prefix functions when given empty stringsDavid Robillard2-8/+10
2020-10-27Simplify handling of input string argumentsDavid Robillard3-11/+14
2020-10-27Add input base URI optionDavid Robillard3-11/+23
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 Robillard7-35/+31
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 Robillard7-177/+274
2020-10-27Align nodes with posix_memalign if possibleDavid Robillard10-41/+95
2020-10-27Use C11 if possibleDavid Robillard2-1/+4
2020-10-27Add support for writing terse collectionsDavid Robillard10-18/+207
2020-10-27Tolerate lack of predicate when context is poppedDavid Robillard1-1/+2
2020-10-27Reset writer to empty when finished to avoid spurious blank linesDavid Robillard1-0/+1
2020-10-27Pass context flags to write_sep()David Robillard1-22/+24
2020-10-27Add initial flags to write contextDavid Robillard1-14/+22
2020-10-27Simplify internal writer context APIDavid Robillard1-21/+17
2020-10-27Strengthen writer statement preconditionsDavid Robillard1-1/+3
2020-10-27Add option for writing terse output without newlinesDavid Robillard5-28/+36
2020-10-27Factor out writing top level separatorDavid Robillard1-6/+10
2020-10-27Rename writer flags for consistency with enum typeDavid Robillard3-8/+8
2020-10-27Support reading lone lists in lax modeDavid Robillard1-1/+1
This allows parsing documents like "(42) ."
2020-10-27Simplify writer statement validity checkingDavid Robillard1-3/+2
2020-10-27WIP: Fix reading from socket-like streamsDavid Robillard1-0/+1
2020-10-27Make reader tolerant of being started several timesDavid Robillard1-0/+4
2020-10-27Fix various warnings and conversion issuesDavid Robillard15-66/+63
2020-10-27Add serd_new_boolean()David Robillard4-0/+29
2020-10-27Handle read errors more preciselyDavid Robillard5-25/+22
2020-10-27Add model validationDavid Robillard6-4/+928
2020-10-27Add model to benchmarksDavid Robillard1-3/+4
2020-10-27Add modelDavid Robillard20-5/+3070
2020-10-27Add function to SerdSink for freeing opaque handleDavid Robillard7-10/+23
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 consistent naming for function typesDavid Robillard4-23/+23
2020-10-27Add extensible logging APIDavid Robillard8-73/+281
2020-10-27Use line comments where appropriate and clean up headerDavid Robillard1-435/+212
2020-10-27Use public sink interface in readerDavid Robillard4-18/+14