aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-02-01Fix jumps past variable initialization.David Robillard1-4/+6
git-svn-id: http://svn.drobilla.net/serd/trunk@299 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard1-1/+1
Fix amalgamation. git-svn-id: http://svn.drobilla.net/serd/trunk@298 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-18Make serd_node_new_integer take int64_t instead of long.David Robillard2-6/+6
Turns out long is sometimes 32-bits even on modern 64-bit machines on certain insane Operating Systems... git-svn-id: http://svn.drobilla.net/serd/trunk@297 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Avoid non-portable %zu (offset is of dubious value in this case anyway).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@295 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Fix compilation on sane platforms.David Robillard3-5/+7
git-svn-id: http://svn.drobilla.net/serd/trunk@292 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Support compilation as C++ under MSVC++David Robillard8-46/+60
git-svn-id: http://svn.drobilla.net/serd/trunk@291 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Update copyright dates.David Robillard8-9/+9
git-svn-id: http://svn.drobilla.net/serd/trunk@285 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-14Lint.David Robillard4-10/+10
git-svn-id: http://svn.drobilla.net/serd/trunk@283 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-08Update man page.David Robillard1-4/+4
Sort command line options in help and man page. Fix doxygen warnings about undocumented parameters. git-svn-id: http://svn.drobilla.net/serd/trunk@282 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-06Remove unused parameter.David Robillard1-7/+7
git-svn-id: http://svn.drobilla.net/serd/trunk@281 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-30Add serd_node_new_blob and serd_base64_decode for handling arbitrary binaryDavid Robillard3-0/+94
data via base64 encoding. git-svn-id: http://svn.drobilla.net/serd/trunk@280 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-27Warn on invalid unicode character and replace (fix #796).David Robillard1-7/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@279 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-26Escape non-printable ASCII characters in ASCII output (fix #795).David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@278 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-25Near 100% branch coverage.David Robillard7-104/+77
git-svn-id: http://svn.drobilla.net/serd/trunk@277 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-25100% test coverage.David Robillard5-85/+62
git-svn-id: http://svn.drobilla.net/serd/trunk@276 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-24Remove pointless check.David Robillard2-6/+1
Gracefully handle NULL strings in serd_node_new_uri_from_string(). git-svn-id: http://svn.drobilla.net/serd/trunk@272 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-24Allow digit as first character of prefixed name suffix (match latest Turtle ↵David Robillard1-20/+14
spec). Improve env.c test coverage. Add test case for ticket #734. git-svn-id: http://svn.drobilla.net/serd/trunk@271 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-24Move serd_test.c to tests/ so it doesn't show up in test coverage output.David Robillard1-181/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@270 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-24Support file://localhost/foo URIs in serd_uri_to_path().David Robillard2-15/+37
Support Windows file://c:/foo URIs in serd_uri_to_path() on all platforms. 100% test coverage (by line) for uri.c. git-svn-id: http://svn.drobilla.net/serd/trunk@269 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-24Clean up path writing logic in serd_uri_serialise.David Robillard1-30/+26
git-svn-id: http://svn.drobilla.net/serd/trunk@268 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-24Separate remove_dot_segments from serd_uri_resolve.David Robillard1-62/+73
git-svn-id: http://svn.drobilla.net/serd/trunk@267 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-24Improve URI resolution to cover most of the abnormal cases from RFC3986.David Robillard1-9/+32
Improve test coverage of uri.c. git-svn-id: http://svn.drobilla.net/serd/trunk@266 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-24Test serd_strlen and serd_strerror.David Robillard2-0/+28
git-svn-id: http://svn.drobilla.net/serd/trunk@265 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-23Escape ASCII control characters in output (e.g. fix problems with stringDavid Robillard1-8/+9
literals that start with a backspace). git-svn-id: http://svn.drobilla.net/serd/trunk@263 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-23Add serd_file_sink for the common case of writing to a FILE* stream.David Robillard2-8/+10
git-svn-id: http://svn.drobilla.net/serd/trunk@262 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-21Remove trailing whitespace.David Robillard2-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@261 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-19Add serd_strtod(), serd_node_new_decimal(), and serd_node_new_integer() forDavid Robillard4-0/+277
locale-independent numeric node parsing/serialising. git-svn-id: http://svn.drobilla.net/serd/trunk@260 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-16Remove debug print.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@259 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-15Remove peek_string, use exactly 1 page as a read buffer.David Robillard2-108/+86
git-svn-id: http://svn.drobilla.net/serd/trunk@256 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-12Use memcmp instead of strcmp for serd_node_equals.David Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@255 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-12Make bulk writer internal and inlinable to avoid function call overhead in ↵David Robillard4-151/+154
the writer. git-svn-id: http://svn.drobilla.net/serd/trunk@254 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-12More parser micro-optimization.David Robillard1-47/+48
git-svn-id: http://svn.drobilla.net/serd/trunk@253 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-12Remove eat_byte correctness checks for known-correct bytes in optimized builds.David Robillard1-70/+77
git-svn-id: http://svn.drobilla.net/serd/trunk@252 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-12Remove branch for EOF detection in eat_byte.David Robillard2-10/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@251 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-12Use common uri_to_path code.David Robillard1-16/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@249 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-12Reuse write context node memory where possible.David Robillard2-34/+55
git-svn-id: http://svn.drobilla.net/serd/trunk@248 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-12Fix memory error introduced a few commits ago.David Robillard1-2/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@247 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-12Add serdi -f option to avoid qualifying URIs.David Robillard1-4/+15
Rename serdi -B option to -b. Only resolve URIs against base if input is Turtle. git-svn-id: http://svn.drobilla.net/serd/trunk@246 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Fix debug build without --stack-check.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@245 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Move all #ifdef gunk to serd_internal.h.David Robillard8-53/+50
Centralise file open and buffer allocation to localize platform tweaks. git-svn-id: http://svn.drobilla.net/serd/trunk@244 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Use posix_fadvise to advise about sequential file access.David Robillard2-1/+17
git-svn-id: http://svn.drobilla.net/serd/trunk@243 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Add SerdBulkSink for writing bulk output and corresponding serdi -B option.David Robillard4-14/+119
git-svn-id: http://svn.drobilla.net/serd/trunk@242 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Fix string length calculation.David Robillard1-3/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@241 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Align read buffer to page boundary if posix_memalign is available.David Robillard1-1/+8
git-svn-id: http://svn.drobilla.net/serd/trunk@240 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Shrink code.David Robillard1-5/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@239 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Improve write performance by doing bulk writes for unescaped substrings.David Robillard1-0/+16
git-svn-id: http://svn.drobilla.net/serd/trunk@238 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Simply reader by using a stack of SerdNode rather than weird internal types.David Robillard1-250/+204
git-svn-id: http://svn.drobilla.net/serd/trunk@237 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Better invalid string character handling.David Robillard1-10/+40
git-svn-id: http://svn.drobilla.net/serd/trunk@236 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Report reason for failure to open file in serdi.David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@233 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-10Tolerate invalid characters in string literals by replacing with theDavid Robillard1-5/+28
Unicode replacement character. git-svn-id: http://svn.drobilla.net/serd/trunk@232 490d8e77-9747-427b-9fa3-0b8f29cee8a0