84 Commits (e9b014772d60dfe3890e58c99a551c18d1bc2ab3)

Author SHA1 Message Date
David Robillard 02a41f39b2 Add error callback to reader and writer for custom error reporting. 11 years ago
David Robillard 4de86fdfb6 Add incremental read interface suitable for reading from infinite streams. 11 years ago
David Robillard 91ae836711 Add serd_reader_set_default_graph() for reading a file as a named graph. 11 years ago
David Robillard d14a7d1136 Add serd_writer_set_root_uri(), root parameter to 11 years ago
David Robillard 44177f8c18 Add escape parameter to serd_node_new_file_uri(). 11 years ago
David Robillard 1725dfdf7c serd_node_new_uri_from_path => serd_node_new_file_uri. 11 years ago
David Robillard f4365012b5 Add serd_writer_get_env(). 11 years ago
David Robillard 7b022006c4 Add serd_chunk_sink for easy writing to a string. 11 years ago
David Robillard 192508f364 Implement pretty-printing for collections. 11 years ago
David Robillard 8778ef5322 Make serd_node_new_integer take int64_t instead of long. 12 years ago
David Robillard 2d724f0e19 Support compilation as C++ under MSVC++ 12 years ago
David Robillard 3c3e2de8a7 Update copyright dates. 12 years ago
David Robillard e092ff0935 Lint. 12 years ago
David Robillard 62b8156a4b Update man page. 12 years ago
David Robillard 847e56d9e6 Add serd_node_new_blob and serd_base64_decode for handling arbitrary binary 12 years ago
David Robillard 4b512a6890 Add serd_file_sink for the common case of writing to a FILE* stream. 12 years ago
David Robillard 2469c739d8 Add serd_strtod(), serd_node_new_decimal(), and serd_node_new_integer() for 12 years ago
David Robillard 22ac239266 Make bulk writer internal and inlinable to avoid function call overhead in the writer. 12 years ago
David Robillard 6e4a3a9ea9 Add SerdBulkSink for writing bulk output and corresponding serdi -B option. 12 years ago
David Robillard 2eec748dbf Move serd_strlen and serd_strerror to string.c and document both in "String Utilities" section. 12 years ago
David Robillard c8e9bd0923 Tidy. 12 years ago
David Robillard de5aa9e275 Add serd_env_set_prefix_from_strings for convenience. 12 years ago
David Robillard 59143950ec Gracefully handle NULL reader sinks. 12 years ago
David Robillard 92fe7781dc Tidy up documentation 12 years ago
David Robillard ba61f09501 Add serd_uri_to_path to API. 12 years ago
David Robillard f2a023926e Improve documentation. 12 years ago
David Robillard 54f826be2f Express inlining information via statement flags rather than node types. 12 years ago
David Robillard b92d598a22 Add test to ensure blank node IDs don't clash with generated IDs. 12 years ago
David Robillard bc42e1c4d4 Use conventional string lengths not including NULL terminator 12 years ago
David Robillard 926f29ed81 Create SerdNodeFlags typedef for flags. 12 years ago
David Robillard efd2a2ecb1 Record whether strings contains quotes or newlines for smart selection of long strings vs short strings in writer output. 12 years ago
David Robillard 64f006162d Improve documentation and const-correctness. 12 years ago
David Robillard 00433beb65 Make writer methods directly compatible with reader callbacks. 12 years ago
David Robillard 246aa2aca7 Merge SerdEnv and SerdReadState. 12 years ago
David Robillard 6bd8d39e12 Improve documentation. 12 years ago
David Robillard b490ec05c2 Tidy. 12 years ago
David Robillard 8c7698ce03 Make serd_read_state_get_base_uri return a pointer. 12 years ago
David Robillard 3ef3583423 Use descriptive return codes instead of bool 12 years ago
David Robillard 68aa3540cb Don't hide pointers in typedefs. 12 years ago
David Robillard 0b04f70d82 Fix reader memory stack use and verify read_object fully clears its stack. 12 years ago
David Robillard c8bca42125 Improve node struct alignment 12 years ago
David Robillard ecc3adb41d Tidy. 12 years ago
David Robillard 78492aeaf5 Fix license header (awk oops). 12 years ago
David Robillard 0cdf509658 Switch to ISC license (legally equivalent to MIT license but with less obnoxious lawyer noise). 12 years ago
David Robillard 7da7a6510b Update library preprocessor boilerplate 12 years ago
David Robillard 71068dae1e Improve documentation. 12 years ago
David Robillard 6574e511d9 Fix documentation typo. 12 years ago
David Robillard 5e70c8f459 Fix Doxygen warning. 12 years ago
David Robillard bb14fdecab Fix parsing several files/strings with the same parser. 12 years ago
David Robillard ddd073f0a1 Abstract common read state tracking code (SerdReadState) to make user code less tedious. 12 years ago