summaryrefslogtreecommitdiffstats
path: root/src/sordi.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-09Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard1-5/+5
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/sord/trunk@244 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-03-30Add convenient sord_search(), sord_ask(), and sord_count().David Robillard1-2/+2
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 Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@210 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-08Fix null test case.David Robillard1-7/+4
git-svn-id: http://svn.drobilla.net/sord/trunk@203 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard1-1/+1
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-16Support compilation as C++ under MSVC++.David Robillard1-24/+7
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-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-09-29Tidy.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@166 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 Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@132 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-18Add sordi-i option to select input syntax.David Robillard1-25/+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-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 Robillard1-6/+54
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-13Tidy.David Robillard1-24/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@114 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-12Add base_uri parameter to sord_read_file.David Robillard1-46/+33
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-12Abbreviate inline blank node objects.David Robillard1-3/+25
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-6/+15
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-3/+6
git-svn-id: http://svn.drobilla.net/sord/trunk@107 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-30Update for new Serd APIDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@102 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-30Consistent error messagesDavid Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/sord/trunk@101 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-28Use size_t for node and triple counts.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@97 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Remove boost and glibmm dependencies from sordmm.hpp.David Robillard1-1/+1
Add C++ (sordmm.hpp) compilation test. Fix utilities only building with --test. git-svn-id: http://svn.drobilla.net/sord/trunk@92 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Don't hide pointers behind typedefs.David Robillard1-12/+12
git-svn-id: http://svn.drobilla.net/sord/trunk@91 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Update for new Serd API.David Robillard1-8/+8
git-svn-id: http://svn.drobilla.net/sord/trunk@86 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-23Improve node struct alignmentDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@84 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-04-16Update copyright headersDavid Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@75 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-19Fix references to old license.David Robillard1-3/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@68 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-25Update style and switch to 2-clause BSD license.David Robillard1-16/+24
git-svn-id: http://svn.drobilla.net/sord/trunk@41 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-16Sord => SordModel.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@35 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-16Add world object (to intern nodes and sanely support several models per ↵David Robillard1-2/+3
library instance). git-svn-id: http://svn.drobilla.net/sord/trunk@34 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-16Remove pointless SordID type.David Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/sord/trunk@31 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-04Remove sord_set_option and sord_open, just pass options to sord_new instead.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@22 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-04SordTuple => SordQuad.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/sord/trunk@21 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-04Use uint8_t for API char type for UTF-8 friendliness.David Robillard1-3/+3
Fix literal languages. git-svn-id: http://svn.drobilla.net/sord/trunk@20 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-03Add ability to set blank node prefix for parsing multiple files without ↵David Robillard1-1/+1
conflict. git-svn-id: http://svn.drobilla.net/sord/trunk@16 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-03Add SordTupleIndex enumeration for more readable Tuple code.David Robillard1-1/+1
Add sord_node_equals. Add sord_read_file_handle and add graph URI parameter to sord_read_file. Resolve relative URIs when parsing into a model. Read literal datatype or language when parsing into a model. Bettern debug printing. Add GOPS index by default. Add export_indluces to library in wscript for building against sord locally. git-svn-id: http://svn.drobilla.net/sord/trunk@15 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-01Terser iteration API.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@14 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-01-29Tidy.David Robillard1-8/+3
git-svn-id: http://svn.drobilla.net/sord/trunk@12 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-01-28Syntax support via Serd.David Robillard1-0/+166
Preliminary syntax-using command line program. git-svn-id: http://svn.drobilla.net/sord/trunk@9 3d64ff67-21c5-427c-a301-fe4f08042e5a