summaryrefslogtreecommitdiffstats
path: root/src/syntax.c
AgeCommit message (Collapse)AuthorFilesLines
2020-07-17Remove dead codeDavid Robillard1-1/+1
2017-12-29Fix inconsistent parameter namesDavid Robillard1-4/+4
2017-12-16Update BTreeDavid Robillard1-1/+1
2016-09-18Update copyright datesDavid Robillard1-1/+1
2015-12-04Return inserter error when node can not be writtenDavid Robillard1-0/+4
2015-10-04Improve test coverageDavid Robillard1-12/+10
git-svn-id: http://svn.drobilla.net/sord/trunk@335 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-04-17Update copyright date.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@217 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-18Add SordInserter for writing to a model via Serd sink functions.David Robillard1-58/+63
git-svn-id: http://svn.drobilla.net/sord/trunk@209 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-16Support compilation as C++ under MSVC++.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@194 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-12-12Fix crashes caused by serd passing NULL to the statement callback.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/sord/trunk@181 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-09-28Remove glib dependencyDavid Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/sord/trunk@163 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-09-27Add function sord_write_iter for writing a queried range.David Robillard1-0/+12
git-svn-id: http://svn.drobilla.net/sord/trunk@162 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-09-01Report Serd errors while writing model.David Robillard1-3/+10
git-svn-id: http://svn.drobilla.net/sord/trunk@158 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-24Cleaner serialisation API. Fix partially abbreviated serialisation.David Robillard1-163/+16
git-svn-id: http://svn.drobilla.net/sord/trunk@131 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-19Update for new Serd API.David Robillard1-18/+26
git-svn-id: http://svn.drobilla.net/sord/trunk@122 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-05-18Add sordi-i option to select input syntax.David Robillard1-141/+63
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-2/+3
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-29/+70
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-99/+16
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-11Pass environment to sord write methods for CURIE abbreviation.David Robillard1-7/+5
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-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 Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@104 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-30Update for new Serd APIDavid Robillard1-12/+12
git-svn-id: http://svn.drobilla.net/sord/trunk@102 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-30Consistent error messagesDavid Robillard1-9/+9
git-svn-id: http://svn.drobilla.net/sord/trunk@101 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-28Const-correct node API.David Robillard1-11/+13
git-svn-id: http://svn.drobilla.net/sord/trunk@98 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-27Don't hide pointers behind typedefs.David Robillard1-25/+25
git-svn-id: http://svn.drobilla.net/sord/trunk@91 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Fix memory leaks.David Robillard1-4/+9
git-svn-id: http://svn.drobilla.net/sord/trunk@88 3d64ff67-21c5-427c-a301-fe4f08042e5a
2011-04-27Update for new Serd API.David Robillard1-24/+24
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-04-16Update copyright headersDavid Robillard1-5/+4
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-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 Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/sord/trunk@51 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-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 Robillard1-16/+24
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 Robillard1-3/+3
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-5/+8
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-5/+5
git-svn-id: http://svn.drobilla.net/sord/trunk@33 3d64ff67-21c5-427c-a301-fe4f08042e5a