aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
AgeCommit message (Expand)AuthorFilesLines
2013-03-24Set SERD_HAS_NEWLINE and SERD_HAS_QUOTE flags when unescaped newlines or quot...David Robillard1-4/+14
2013-03-24Remove unused SERD_URI enum value.David Robillard1-1/+0
2013-03-03Don't write xsd:decimal literals to Turtle bare if they would not be read backDavid Robillard1-1/+9
2013-03-03Pass turtle-syntax-bad-prefix-01 (propagate errors in write_node).David Robillard1-5/+8
2013-02-25Support most of the latest Turtle Editor's Draft.David Robillard1-75/+135
2013-01-22Fix possible crash in serd_writer_end_anon() when writing invalid listsDavid Robillard1-2/+1
2012-11-14Fix bug that caused "a" abbreviation in non-predicate position (#862).David Robillard1-1/+1
2012-09-09Fix clashing symbol "error" in amalgamation build.David Robillard1-4/+4
2012-08-08Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmis...David Robillard1-3/+3
2012-07-05Add error callback to reader and writer for custom error reporting.David Robillard1-38/+64
2012-05-13Fix dead assignment.David Robillard1-1/+1
2012-05-10Reset indent when finishing a write.David Robillard1-0/+1
2012-03-27Don't emit a ; at the end of anonymous descriptions.David Robillard1-2/+1
2012-03-10Add serd_writer_set_root_uri(), root parameter toDavid Robillard1-20/+39
2012-03-08Fix compilation in VC++.David Robillard1-2/+3
2012-03-08Add serd_writer_get_env().David Robillard1-38/+64
2012-03-03Add serd_chunk_sink for easy writing to a string.David Robillard1-0/+19
2012-02-21Trim code.David Robillard1-4/+2
2012-02-21Remove dead code.David Robillard1-8/+3
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