summaryrefslogtreecommitdiffstats
path: root/src/sord.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-24Free all nodes on world destruction (fix memory leaks).David Robillard1-0/+13
git-svn-id: http://svn.drobilla.net/sord/trunk@132 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-24Fix removing.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@125 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-19Update for new Serd API.David Robillard1-7/+5
git-svn-id: http://svn.drobilla.net/sord/trunk@122 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 Robillard1-27/+34
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 Robillard1-11/+18
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-65/+140
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-29/+57
git-svn-id: http://svn.drobilla.net/sord/trunk@109 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-11Preserve serd node flags for pretty serialisation.David Robillard1-14/+26
git-svn-id: http://svn.drobilla.net/sord/trunk@107 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-28Const-correct node API.David Robillard1-16/+17
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-5/+5
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-27Don't hide pointers behind typedefs.David Robillard1-120/+115
git-svn-id: http://svn.drobilla.net/sord/trunk@91 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Remove unused API.David Robillard1-87/+0
git-svn-id: http://svn.drobilla.net/sord/trunk@89 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Fix memory leaks.David Robillard1-2/+5
git-svn-id: http://svn.drobilla.net/sord/trunk@88 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-23Fix some memory leaks.David Robillard1-30/+49
git-svn-id: http://svn.drobilla.net/sord/trunk@83 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-4/+4
git-svn-id: http://svn.drobilla.net/sord/trunk@75 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-07Sane reference counting semantics.David Robillard1-7/+27
git-svn-id: http://svn.drobilla.net/sord/trunk@51 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Fix reference counting and memory leaks.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/sord/trunk@50 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-03-07Fix literal comparison and memory leaks.David Robillard1-44/+65
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-25Update style and switch to 2-clause BSD license.David Robillard1-25/+24
git-svn-id: http://svn.drobilla.net/sord/trunk@41 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-16Sord => SordModel.David Robillard1-27/+38
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-39/+77
library instance). git-svn-id: http://svn.drobilla.net/sord/trunk@34 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-16Simpler and more typical node creation API.David Robillard1-38/+33
git-svn-id: http://svn.drobilla.net/sord/trunk@33 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-16Consistent names for node accessors.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@32 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-16Remove pointless SordID type.David Robillard1-61/+41
git-svn-id: http://svn.drobilla.net/sord/trunk@31 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-16Remove unused node user data.David Robillard1-23/+0
git-svn-id: http://svn.drobilla.net/sord/trunk@25 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-04Remove sord_set_option and sord_open, just pass options to sord_new instead.David Robillard1-60/+21
git-svn-id: http://svn.drobilla.net/sord/trunk@22 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-04SordTuple => SordQuad.David Robillard1-74/+74
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-29/+32
Fix literal languages. git-svn-id: http://svn.drobilla.net/sord/trunk@20 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-04Fix memory leaks.David Robillard1-36/+50
git-svn-id: http://svn.drobilla.net/sord/trunk@18 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-04Fix iterating over ranges within a graph.David Robillard1-5/+11
git-svn-id: http://svn.drobilla.net/sord/trunk@17 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-02-03Add SordTupleIndex enumeration for more readable Tuple code.David Robillard1-17/+23
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-6/+6
git-svn-id: http://svn.drobilla.net/sord/trunk@14 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-01-28Syntax support via Serd.David Robillard1-0/+7
Preliminary syntax-using command line program. git-svn-id: http://svn.drobilla.net/sord/trunk@9 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-01-27`data' => `buf'.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/sord/trunk@8 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-01-27Unify node struct.David Robillard1-88/+44
git-svn-id: http://svn.drobilla.net/sord/trunk@7 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-01-27Remove pointless sord_new_btree.David Robillard1-13/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@5 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-01-27Remove meta struct.David Robillard1-18/+11
git-svn-id: http://svn.drobilla.net/sord/trunk@4 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-01-27Initial check-in (branched from <http://svn.drobilla.net/qure/branches/mem>).David Robillard1-0/+1142
git-svn-id: http://svn.drobilla.net/sord/trunk@2 3d64ff67-21c5-427c-a301-fe4f08042e5a