summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-08-09Print version on -v (and fix dead code).David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@246 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-09Fix some const correctness violations (found by -Wcast-qual).David Robillard1-13/+13
Alas, not all... being truly clean of this warning would mean an API change. git-svn-id: http://svn.drobilla.net/sord/trunk@245 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-09Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard4-39/+39
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/sord/trunk@244 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-07-06Don't print nonexistent file/line information in error messages.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@228 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-07-06Fix uninitialized values.David Robillard1-4/+6
git-svn-id: http://svn.drobilla.net/sord/trunk@227 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-07-05Add error callback to world for custom error reporting.David Robillard1-10/+41
git-svn-id: http://svn.drobilla.net/sord/trunk@226 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-05-17Fix compilation with --test.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@224 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-04-17Update copyright date.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@217 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-04-13Add -l option to sord_validator for printing each error on a single line. ↵David Robillard1-10/+24
Useful in conjunction with grep and friends. git-svn-id: http://svn.drobilla.net/sord/trunk@214 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-04-06Fix compilation as C++.David Robillard1-30/+29
git-svn-id: http://svn.drobilla.net/sord/trunk@212 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-30Add convenient sord_search(), sord_ask(), and sord_count().David Robillard4-11/+449
Add sord_validate tool for validating data against RDF/OWL schemas. git-svn-id: http://svn.drobilla.net/sord/trunk@211 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-27Delete trailing whitespace.David Robillard2-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@210 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-18Add SordInserter for writing to a model via Serd sink functions.David Robillard1-58/+63
git-svn-id: http://svn.drobilla.net/sord/trunk@209 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-18Fix rusty comment.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@208 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-18Make test blank actually a blank.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@207 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-18Always use an absolute base URI.David Robillard1-13/+28
git-svn-id: http://svn.drobilla.net/sord/trunk@206 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-09Add sord_new_relative_uri().David Robillard2-0/+38
git-svn-id: http://svn.drobilla.net/sord/trunk@204 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-08Fix null test case.David Robillard1-7/+4
git-svn-id: http://svn.drobilla.net/sord/trunk@203 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-08Refuse to intern relative URIs in sord_new_uri*().David Robillard1-1/+5
Make sord_iter_get_node() tolerate a NULL iterator. git-svn-id: http://svn.drobilla.net/sord/trunk@202 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-03Add sord_iter_get_node().David Robillard2-4/+12
git-svn-id: http://svn.drobilla.net/sord/trunk@201 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard3-3/+3
git-svn-id: http://svn.drobilla.net/sord/trunk@198 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-16Avoid non-portable %zu.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@196 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-16Fix warnings.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/sord/trunk@195 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-16Support compilation as C++ under MSVC++.David Robillard8-72/+68
git-svn-id: http://svn.drobilla.net/sord/trunk@194 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-16Remove unnecessary include.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/sord/trunk@193 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-16Use correct WIN32 define.David Robillard2-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@192 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-14Lint.David Robillard2-49/+84
git-svn-id: http://svn.drobilla.net/sord/trunk@186 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-05Fix comparison of typed literals.David Robillard2-40/+166
Take advantage of interning in sord_node_equals(). Improve test coverage. git-svn-id: http://svn.drobilla.net/sord/trunk@185 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-12-23Use serd_file_sink.David Robillard1-8/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@184 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-12-12Fix crashes caused by serd passing NULL to the statement callback.David Robillard2-2/+5
git-svn-id: http://svn.drobilla.net/sord/trunk@181 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-09-29Tidy.David Robillard5-47/+51
git-svn-id: http://svn.drobilla.net/sord/trunk@166 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-09-28Tidy.David Robillard2-52/+34
git-svn-id: http://svn.drobilla.net/sord/trunk@164 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-09-28Remove glib dependencyDavid Robillard7-132/+1199
git-svn-id: http://svn.drobilla.net/sord/trunk@163 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-09-27Add function sord_write_iter for writing a queried range.David Robillard1-0/+12
git-svn-id: http://svn.drobilla.net/sord/trunk@162 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-09-01Report Serd errors while writing model.David Robillard1-3/+10
git-svn-id: http://svn.drobilla.net/sord/trunk@158 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-06-11Fix potential use of uninitialized valueDavid Robillard1-5/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@150 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-06-09Add sord_contains (ticket #711).David Robillard2-0/+23
git-svn-id: http://svn.drobilla.net/sord/trunk@148 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-25Add man page and fix sordi help output.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@136 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-24Free all nodes on world destruction (fix memory leaks).David Robillard2-1/+14
git-svn-id: http://svn.drobilla.net/sord/trunk@132 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-24Cleaner serialisation API. Fix partially abbreviated serialisation.David Robillard1-163/+16
git-svn-id: http://svn.drobilla.net/sord/trunk@131 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-24Fix crash when input is missingDavid Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/sord/trunk@127 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-24Fix removing.David Robillard2-1/+22
git-svn-id: http://svn.drobilla.net/sord/trunk@125 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-19Update for new Serd API.David Robillard2-25/+31
git-svn-id: http://svn.drobilla.net/sord/trunk@122 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-18Add sordi-i option to select input syntax.David Robillard2-166/+105
Add syntax parameter to sord_write_string and sord_write_file. Remove read functions in favour of sord_new_reader and direct use of SerdReader API. Bump version to 0.3.0. git-svn-id: http://svn.drobilla.net/sord/trunk@121 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-16Fix return value.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/sord/trunk@120 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-16Add name parameter to sord_read_file_handle (for error messages).David Robillard2-8/+57
Support reading from string parameter or stdin in sordi. git-svn-id: http://svn.drobilla.net/sord/trunk@119 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-15Remove dead code found by clang static analyserDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@117 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-13Save space by storing a single quad in each index and passing ordering to ↵David Robillard1-52/+53
comparator function rather than permuting the actual quads. git-svn-id: http://svn.drobilla.net/sord/trunk@116 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-13Tidy.David Robillard3-52/+37
git-svn-id: http://svn.drobilla.net/sord/trunk@114 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-13Remove pointless sord_id_compare function (cruft from disk days).David Robillard1-25/+5
git-svn-id: http://svn.drobilla.net/sord/trunk@113 3d64ff67-21c5-427c-a301-fe4f08042e5a