summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-02-18Update copyright year where appropriate.David Robillard3-5/+5
git-svn-id: http://svn.drobilla.net/sord/trunk@284 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-02-02sord_validate: Pass type check when range is xsd:anyURI and value is a URI.David Robillard1-13/+26
sord_validate: Support any subClassOf rdf:Property, not just baked-in ones. git-svn-id: http://svn.drobilla.net/sord/trunk@281 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-01-14Add sord_node_get() for easily getting single property values.David Robillard2-0/+41
git-svn-id: http://svn.drobilla.net/sord/trunk@280 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-09-09Implement better data type validation in sord_validate conformant with the ↵David Robillard1-40/+186
XSD and OWL specifications. Fix memory leaks in sord_validate. git-svn-id: http://svn.drobilla.net/sord/trunk@261 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-23Remove problematic "Loaded n statements" output from serdi.David Robillard1-3/+0
git-svn-id: http://svn.drobilla.net/sord/trunk@255 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-10Fix void pointer arithmetic.David Robillard1-7/+8
git-svn-id: http://svn.drobilla.net/sord/trunk@252 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-10Shave 8 bytes off of SordNode.David Robillard2-44/+63
git-svn-id: http://svn.drobilla.net/sord/trunk@251 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-10Use a single node hash for all types of nodes.David Robillard6-219/+332
Inline nodes in hash table nodes and eliminate key+value pointer overhead. Use SSE 4.2 accelerated node and string hashing when available. git-svn-id: http://svn.drobilla.net/sord/trunk@250 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-09Get rid of language hash and store language inline with nodes.David Robillard2-43/+28
git-svn-id: http://svn.drobilla.net/sord/trunk@249 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-09Hide zix symbols (fix static builds with lilv).David Robillard6-116/+274
git-svn-id: http://svn.drobilla.net/sord/trunk@248 3d64ff67-21c5-427c-a301-fe4f08042e5a
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