aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
AgeCommit message (Expand)AuthorFilesLines
2012-02-21Trim code.David Robillard1-16/+9
2012-02-21Further isolate collection writing stuff.David Robillard1-34/+24
2012-02-21Avoid comparing against NS_XSD several times per node.David Robillard1-6/+6
2012-02-21Tidy.David Robillard1-7/+5
2012-02-21Print command name in serdi error messages.David Robillard1-10/+6
2012-02-20Fix collection writing memory leaks.David Robillard1-2/+2
2012-02-20Break collection writing out into a simple separate case to avoid confusing t...David Robillard1-22/+24
2012-02-20Implement pretty-printing for collections.David Robillard1-44/+157
2012-01-16Avoid non-portable %zu (offset is of dubious value in this case anyway).David Robillard1-1/+1
2012-01-16Fix compilation on sane platforms.David Robillard1-1/+3
2012-01-16Support compilation as C++ under MSVC++David Robillard1-6/+6
2012-01-16Update copyright dates.David Robillard1-1/+1
2012-01-14Lint.David Robillard1-4/+4
2011-12-26Escape non-printable ASCII characters in ASCII output (fix #795).David Robillard1-1/+2
2011-12-25Near 100% branch coverage.David Robillard1-20/+15
2011-12-25100% test coverage.David Robillard1-9/+24
2011-12-23Escape ASCII control characters in output (e.g. fix problems with stringDavid Robillard1-8/+9
2011-12-23Add serd_file_sink for the common case of writing to a FILE* stream.David Robillard1-0/+9
2011-12-15Remove peek_string, use exactly 1 page as a read buffer.David Robillard1-1/+3
2011-12-12Make bulk writer internal and inlinable to avoid function call overhead in th...David Robillard1-60/+79
2011-12-12Reuse write context node memory where possible.David Robillard1-33/+51
2011-12-11Move all #ifdef gunk to serd_internal.h.David Robillard1-2/+2
2011-12-11Improve write performance by doing bulk writes for unescaped substrings.David Robillard1-0/+16
2011-09-29Tidy.David Robillard1-4/+5
2011-07-26Fix pretty printing of successive blank descriptions, i.e. "] , [".David Robillard1-3/+9
2011-06-19Fix abbreviation of repeated predicates with blank objects, and abbreviation ...David Robillard1-2/+4
2011-05-24Remove unused object component of write context.David Robillard1-9/+2
2011-05-19Express inlining information via statement flags rather than node types.David Robillard1-66/+71
2011-05-18Add test to ensure blank node IDs don't clash with generated IDs.David Robillard1-11/+41
2011-05-12Use conventional string lengths not including NULL terminatorDavid Robillard1-11/+11
2011-05-12Only abbreviate rdf:type to "a" in predicate position.David Robillard1-12/+13
2011-05-12Print newline after @prefix statements.David Robillard1-0/+5
2011-05-12Correctly abbreviate repeated inline blank node objects ("] , [").David Robillard1-6/+19
2011-05-11Fix crash when setting an identical namespace prefix.David Robillard1-1/+1
2011-05-11Record whether strings contains quotes or newlines for smart selection of lon...David Robillard1-23/+38
2011-05-06Make writer methods directly compatible with reader callbacks.David Robillard1-23/+30
2011-05-05Tidy.David Robillard1-2/+2
2011-05-04Fix too-short buffer.David Robillard1-1/+1
2011-04-30Use descriptive return codes instead of boolDavid Robillard1-14/+16
2011-04-30Consistent error messagesDavid Robillard1-3/+3
2011-04-27Don't hide pointers in typedefs.David Robillard1-16/+16
2011-04-24Fix reader memory stack use and verify read_object fully clears its stack.David Robillard1-18/+39
2011-04-23Tidy.David Robillard1-1/+0
2011-04-22Fix license header (awk oops).David Robillard1-1/+1
2011-04-22Switch to ISC license (legally equivalent to MIT license but with less obnoxi...David Robillard1-20/+12
2011-02-25Switch to 2-clause BSD license.David Robillard1-18/+24
2011-02-16Make serd_writer_set_prefix return bool so it is compatible with SerdPrefixSi...David Robillard1-9/+18
2011-02-16Turtle rdf:type, xsd:decimal, xsd:integer, and xsd:float abbreviation.David Robillard1-1/+21
2011-02-10Make serd_uri_resolve return void, since it has no error case anyway.David Robillard1-6/+5
2011-01-28Fix crashes when passed NULL nodes.David Robillard1-3/+5