summaryrefslogtreecommitdiffstats
path: root/sord
AgeCommit message (Collapse)AuthorFilesLines
2016-07-09Fix Doxygen warningDavid Robillard1-0/+1
2016-07-07Remove unused variableDavid Robillard1-2/+1
2016-03-17Return NULL from sord_iter_get for end iteratorsDavid Robillard1-0/+2
2016-03-15Make sord_node_get_counted return byte countDavid Robillard1-2/+12
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-02-21More extensive validation support in sord_validate.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/sord/trunk@324 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-02-08Set base URI when serializing to string.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/sord/trunk@323 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-09-27Clarify sord_contains() return value.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@313 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-09-27Clarify sord_add() return value.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@312 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-09-24Add sord_erase() for erasing statements via an iterator.David Robillard1-1/+16
git-svn-id: http://svn.drobilla.net/sord/trunk@310 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-08-08Use Markdown in doc comments for better source readability.David Robillard1-27/+27
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-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@300 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-08-20Remove unused membersDavid Robillard1-5/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@289 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-02-18Fix reference counting semantics of sord_get().David Robillard2-6/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@286 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-02-18Update copyright year where appropriate.David Robillard2-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@285 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-01-14Add sord_node_get() for easily getting single property values.David Robillard2-0/+29
git-svn-id: http://svn.drobilla.net/sord/trunk@280 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-01-14Add Node::to_serd_node().David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/sord/trunk@279 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-01-14Don't automatically add RDF namespace prefix to world.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/sord/trunk@278 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-01-14Add convenient numeric constructors for decimal and integer literals.David Robillard1-1/+33
git-svn-id: http://svn.drobilla.net/sord/trunk@276 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-07-05Add error callback to world for custom error reporting.David Robillard1-0/+12
git-svn-id: http://svn.drobilla.net/sord/trunk@226 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-05-13Correctly handle Sord::Node self-assignment.David Robillard1-5/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@223 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-05-12sordmm.hpp: Add indices and graphs parameters to Model constructor.David Robillard1-8/+10
sordmm.hpp: Remove overzealous URI scheme assertion. git-svn-id: http://svn.drobilla.net/sord/trunk@222 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-04-17Update copyright dates.David Robillard2-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@216 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-30Add convenient sord_search(), sord_ask(), and sord_count().David Robillard1-1/+35
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-18Add SordInserter for writing to a model via Serd sink functions.David Robillard1-0/+67
git-svn-id: http://svn.drobilla.net/sord/trunk@209 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-10Use proper URI <=> path conversion.David Robillard1-11/+9
git-svn-id: http://svn.drobilla.net/sord/trunk@205 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-09Add sord_new_relative_uri().David Robillard2-3/+19
git-svn-id: http://svn.drobilla.net/sord/trunk@204 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-03Add sord_iter_get_node().David Robillard1-0/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@201 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-16Support compilation as C++ under MSVC++.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@194 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-16Use correct WIN32 define.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@192 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-14Lint.David Robillard1-11/+17
git-svn-id: http://svn.drobilla.net/sord/trunk@186 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-21Remove locale kludges.David Robillard1-12/+4
git-svn-id: http://svn.drobilla.net/sord/trunk@183 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-12-09Fix URI <=> filename conversion.David Robillard1-1/+6
git-svn-id: http://svn.drobilla.net/sord/trunk@179 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-09-27Add function sord_write_iter for writing a queried range.David Robillard1-0/+10
git-svn-id: http://svn.drobilla.net/sord/trunk@162 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-09-24Fix memory leakDavid Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@161 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-09-01Don't leak open file descriptors in Model::write_to_file (which was causing ↵David Robillard1-0/+2
empty files to be written). git-svn-id: http://svn.drobilla.net/sord/trunk@159 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-08-31Fix Sord::Namespaces::qualify which was chopping the last character from the ↵David Robillard1-1/+1
prefix name. git-svn-id: http://svn.drobilla.net/sord/trunk@156 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-06-09Add sord_contains (ticket #711).David Robillard1-0/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@148 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-24Tidy up documentationDavid Robillard1-9/+9
git-svn-id: http://svn.drobilla.net/sord/trunk@134 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-24Cleaner serialisation API.David Robillard2-45/+93
git-svn-id: http://svn.drobilla.net/sord/trunk@130 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-20Fix string_to_node incorrect string lengthDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@124 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-18Add sordi-i option to select input syntax.David Robillard2-71/+42
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-16Add name parameter to sord_read_file_handle (for error messages).David Robillard1-0/+1
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-12Add base_uri parameter to sord_read_file.David Robillard2-5/+19
Add sord_write_writer. Use command line base URI in sordi if given. Use correct output style options for output syntax in sordi. Use sord_write_writer in sordi instead of manual writing code. Abbreviate serialised model output for Turtle. Preserve UTF-8 length information for nodes from Serd. Use string lengths not including terminator (match new Serd). Add test suite. git-svn-id: http://svn.drobilla.net/sord/trunk@111 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-12Expose sord_node_from_serd_node.David Robillard1-36/+21
Remove _counted node constructor methods. Use SerdNode directly for equivalent fields in SordNode. git-svn-id: http://svn.drobilla.net/sord/trunk@110 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-12Abbreviate inline blank node objects.David Robillard1-0/+11
git-svn-id: http://svn.drobilla.net/sord/trunk@109 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-11Pass environment to sord write methods for CURIE abbreviation.David Robillard2-5/+11
git-svn-id: http://svn.drobilla.net/sord/trunk@108 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-11Preserve serd node flags for pretty serialisation.David Robillard2-3/+10
git-svn-id: http://svn.drobilla.net/sord/trunk@107 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-06Update for new Serd APIDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@106 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-05Align.David Robillard1-20/+20
git-svn-id: http://svn.drobilla.net/sord/trunk@105 3d64ff67-21c5-427c-a301-fe4f08042e5a