summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-10-01Transition away from deprecated _BSD_SOURCEDavid Robillard2-4/+3
2016-09-19Fix compilation as C++David Robillard1-29/+30
2016-09-18Update copyright datesDavid Robillard8-10/+10
2016-09-18Correctly report write errorsDavid Robillard1-31/+22
2016-09-18Fix test suite memory leaksDavid Robillard1-0/+5
2016-09-18Fix erasing default graph iteratorsDavid Robillard2-3/+4
2016-09-06Do proper comparison for numeric property boundsDavid Robillard1-41/+42
Allow xsd:decimal values for xsd:double properties
2016-07-31Fix compilation with C++David Robillard1-1/+1
2016-07-11Fix doxygen warningsDavid Robillard1-0/+4
2016-07-11Improve test coverageDavid Robillard1-0/+15
2016-07-11Remove pointless assertionDavid Robillard1-1/+0
2016-07-09Fix construction of URIs with UTF-8 charactersDavid Robillard1-3/+2
2016-03-17Return NULL from sord_iter_get for end iteratorsDavid Robillard1-1/+3
2016-03-15Make sord_node_get_counted return byte countDavid Robillard2-9/+36
Also clarify formerly ambiguous documentation, and add sord_node_get_string_measured to get both byte and character counts. Technically, this breaks behaviour, but most (if not all) existing code that uses this function was actually expecting a byte count. This is unsurprising since a UTF-8 character count is almost always useless. This approach causes less problems in reality, since it fixes broken behaviour in the wild without requiring any changes in user code.
2015-12-04Return inserter error when node can not be writtenDavid Robillard1-0/+4
2015-10-08Improve test coverageDavid Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@338 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-10-04Improve test coverageDavid Robillard5-33/+81
git-svn-id: http://svn.drobilla.net/sord/trunk@335 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-10-03Show sordi errors in standard formatDavid Robillard1-12/+16
git-svn-id: http://svn.drobilla.net/sord/trunk@333 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-10-03Fix using sordi with stdinDavid Robillard1-1/+1
Improve test coverage (100% of sordi.c). git-svn-id: http://svn.drobilla.net/sord/trunk@332 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-10-03Improve test coverageDavid Robillard2-15/+99
git-svn-id: http://svn.drobilla.net/sord/trunk@331 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-09-10Fix crash caused by multiple deletion of datatype nodes.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@329 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-09-10Fix minor memory leak in sordi.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@328 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-03-28sord_validate: Warn about properties with no label.David Robillard1-0/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@327 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-03-07Fix iteration during erase.David Robillard1-4/+16
git-svn-id: http://svn.drobilla.net/sord/trunk@326 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-02-21More extensive validation support in sord_validate.David Robillard1-94/+270
git-svn-id: http://svn.drobilla.net/sord/trunk@324 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-12-18Fix deleting statements with no graph.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@320 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-12-18Fix unlikely tree bugs.David Robillard1-2/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@319 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-11-22Fix compilation as C++.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@316 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-11-03Fix bugs with stores that contain both graphs and default graph statements.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@315 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-10-03Compile cleanly as C++.David Robillard2-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@314 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-09-24Add sord_erase() for erasing statements via an iterator.David Robillard4-99/+205
git-svn-id: http://svn.drobilla.net/sord/trunk@310 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-09-24Verify that removing actually succeeds.David Robillard1-0/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@309 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-09-23Fix B-tree on 32-bit systems.David Robillard1-30/+31
git-svn-id: http://svn.drobilla.net/sord/trunk@308 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-09-23Reduce memory usage and increase performance with a better data structure.David Robillard8-954/+904
git-svn-id: http://svn.drobilla.net/sord/trunk@307 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-09-23Fix const-violating casts.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/sord/trunk@306 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-08-08Use Markdown in doc comments for better source readability.David Robillard3-26/+26
git-svn-id: http://svn.drobilla.net/sord/trunk@301 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-08-08Use Markdown in doc comments for better source readability.David Robillard1-10/+10
git-svn-id: http://svn.drobilla.net/sord/trunk@300 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-08-08Update copyright dates.David Robillard3-3/+3
git-svn-id: http://svn.drobilla.net/sord/trunk@298 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-08-08Fix some const-correctness violations.David Robillard3-9/+9
git-svn-id: http://svn.drobilla.net/sord/trunk@297 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-07-15Fix iteration over an entire graph (* * * graph).David Robillard1-6/+10
git-svn-id: http://svn.drobilla.net/sord/trunk@296 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-02-18Fix reference counting semantics of sord_get().David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/sord/trunk@286 3d64ff67-21c5-427c-a301-fe4f08042e5a
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