summaryrefslogtreecommitdiffstats
path: root/sord/sord.h
AgeCommit message (Collapse)AuthorFilesLines
2020-07-21Always include stdbool.hDavid Robillard1-2/+1
This was a workaround for ancient versions of MSVC that are no longer supported.
2017-12-29Fix inconsistent parameter namesDavid Robillard1-4/+4
2016-09-18Update copyright datesDavid Robillard1-1/+1
2016-09-10Fix cross-links in documentationDavid Robillard1-8/+8
2016-07-09Fix Doxygen warningDavid Robillard1-0/+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.
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-02-18Fix reference counting semantics of sord_get().David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@286 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-02-18Update copyright year where appropriate.David Robillard1-1/+1
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 Robillard1-0/+13
git-svn-id: http://svn.drobilla.net/sord/trunk@280 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-04-17Update copyright dates.David Robillard1-1/+1
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-09Add sord_new_relative_uri().David Robillard1-1/+10
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
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-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 Robillard1-27/+3
git-svn-id: http://svn.drobilla.net/sord/trunk@130 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-18Add sordi-i option to select input syntax.David Robillard1-43/+19
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 Robillard1-0/+9
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 Robillard1-0/+3
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 Robillard1-2/+9
git-svn-id: http://svn.drobilla.net/sord/trunk@107 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
2011-04-28Const-correct node API.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@98 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-28Use size_t for node and triple counts.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@97 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-28Update documentation.David Robillard1-22/+42
git-svn-id: http://svn.drobilla.net/sord/trunk@96 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Don't hide pointers behind typedefs.David Robillard1-82/+78
git-svn-id: http://svn.drobilla.net/sord/trunk@91 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Use @c for argument documentation (not @a).David Robillard1-24/+24
git-svn-id: http://svn.drobilla.net/sord/trunk@90 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Remove unused API.David Robillard1-18/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@89 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Update for new Serd API.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/sord/trunk@86 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-22Fix license header (awk oops).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@81 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-22Switch to ISC license (legally equivalent to MIT license but with less ↵David Robillard1-20/+11
obnoxious lawyer noise). git-svn-id: http://svn.drobilla.net/sord/trunk@77 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-29Update library preprocessor boilerplateDavid Robillard1-13/+13
git-svn-id: http://svn.drobilla.net/sord/trunk@74 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-17Improve documentation.David Robillard1-14/+33
git-svn-id: http://svn.drobilla.net/sord/trunk@60 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Tidy.David Robillard1-25/+35
git-svn-id: http://svn.drobilla.net/sord/trunk@54 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Sane reference counting semantics.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@51 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Fix literal comparison and memory leaks.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@47 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-25Use size_t for string lengths.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/sord/trunk@44 3d64ff67-21c5-427c-a301-fe4f08042e5a