summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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 Robillard2-8/+57
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-13Save space by storing a single quad in each index and passing ordering to ↵David Robillard1-52/+53
comparator function rather than permuting the actual quads. git-svn-id: http://svn.drobilla.net/sord/trunk@116 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-13Tidy.David Robillard3-52/+37
git-svn-id: http://svn.drobilla.net/sord/trunk@114 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-13Remove pointless sord_id_compare function (cruft from disk days).David Robillard1-25/+5
git-svn-id: http://svn.drobilla.net/sord/trunk@113 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-12Performance improvements for sord_node_from_serd_node.David Robillard1-19/+21
git-svn-id: http://svn.drobilla.net/sord/trunk@112 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-12Add base_uri parameter to sord_read_file.David Robillard3-86/+121
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 Robillard4-176/+164
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 Robillard3-39/+90
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-13/+20
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 Robillard4-26/+45
git-svn-id: http://svn.drobilla.net/sord/trunk@107 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-06Update for new Serd APIDavid Robillard1-15/+14
git-svn-id: http://svn.drobilla.net/sord/trunk@106 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-05TidyDavid Robillard2-7/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@104 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-30Update for new Serd APIDavid Robillard2-13/+13
git-svn-id: http://svn.drobilla.net/sord/trunk@102 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-30Consistent error messagesDavid Robillard2-15/+15
git-svn-id: http://svn.drobilla.net/sord/trunk@101 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-28Fix warnings.David Robillard1-12/+12
git-svn-id: http://svn.drobilla.net/sord/trunk@99 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-28Const-correct node API.David Robillard2-27/+30
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 Robillard3-9/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@97 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-28Remove redundant search in sord_add.David Robillard1-15/+13
git-svn-id: http://svn.drobilla.net/sord/trunk@95 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Fix uninitialized value crash when reading syntax.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@94 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Remove boost and glibmm dependencies from sordmm.hpp.David Robillard2-1/+26
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 Robillard5-179/+174
git-svn-id: http://svn.drobilla.net/sord/trunk@91 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Remove unused API.David Robillard2-117/+0
git-svn-id: http://svn.drobilla.net/sord/trunk@89 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Fix memory leaks.David Robillard3-6/+17
git-svn-id: http://svn.drobilla.net/sord/trunk@88 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Update for new Serd API.David Robillard2-32/+32
git-svn-id: http://svn.drobilla.net/sord/trunk@86 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-24Minor node comparison performance improvements (fast cases).David Robillard1-13/+10
git-svn-id: http://svn.drobilla.net/sord/trunk@85 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-23Improve node struct alignmentDavid Robillard2-5/+5
git-svn-id: http://svn.drobilla.net/sord/trunk@84 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-23Fix some memory leaks.David Robillard2-36/+58
git-svn-id: http://svn.drobilla.net/sord/trunk@83 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-22Fix license header (awk oops).David Robillard5-5/+5
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 Robillard5-100/+55
obnoxious lawyer noise). git-svn-id: http://svn.drobilla.net/sord/trunk@77 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-16Update copyright headersDavid Robillard4-13/+12
git-svn-id: http://svn.drobilla.net/sord/trunk@75 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-28Fix sord_file_uri_to_path on Windows.David Robillard1-1/+8
Print error messages on various parsing failures. git-svn-id: http://svn.drobilla.net/sord/trunk@72 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-03-08Gracefully handle attempts to add broken quads (fix ticket #640).David Robillard1-1/+4
git-svn-id: http://svn.drobilla.net/sord/trunk@55 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Remove node free that crashes SLV2. Kludge, probably a leak...David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@53 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Fix reference counting error.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@52 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Sane reference counting semantics.David Robillard3-20/+66
git-svn-id: http://svn.drobilla.net/sord/trunk@51 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Fix reference counting and memory leaks.David Robillard2-3/+8
git-svn-id: http://svn.drobilla.net/sord/trunk@50 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Fix memory leak.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@49 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Fix memory leak.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@48 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Fix literal comparison and memory leaks.David Robillard2-44/+73
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
2011-02-25Use new SerdReadState to simplify code.David Robillard1-53/+18
git-svn-id: http://svn.drobilla.net/sord/trunk@42 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-25Update style and switch to 2-clause BSD license.David Robillard5-93/+124
git-svn-id: http://svn.drobilla.net/sord/trunk@41 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-19String reading/writing.David Robillard1-30/+113
git-svn-id: http://svn.drobilla.net/sord/trunk@39 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-16Sord::Resource => Sord::URI (consistency with C API).David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/sord/trunk@37 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-16Make serd.h C++ safe.David Robillard1-39/+162
Add C++ API (serdmm.hpp). Add serialisation API (easily write models to files). git-svn-id: http://svn.drobilla.net/sord/trunk@36 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-16Sord => SordModel.David Robillard4-37/+48
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 Robillard4-86/+130
library instance). git-svn-id: http://svn.drobilla.net/sord/trunk@34 3d64ff67-21c5-427c-a301-fe4f08042e5a