summaryrefslogtreecommitdiffstats
path: root/src/sord.c
AgeCommit message (Collapse)AuthorFilesLines
2022-11-16Switch to external zix dependencyDavid Robillard1-117/+137
2022-09-08Fix accidentally exposed internal zix symbolsDavid Robillard1-1/+1
2022-09-01Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2022-07-18Switch to meson build systemDavid Robillard1-1/+1
2022-07-17Fix conversion warningsDavid Robillard1-1/+1
2022-07-17Fix unused parameter warningsDavid Robillard1-0/+2
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2020-12-26Format all code with clang-formatDavid Robillard1-823/+838
2020-12-16Clean up includesDavid Robillard1-10/+16
2020-12-01Add an assertion that the world is not null on node destructionDavid Robillard1-0/+3
2020-11-11Fix filtering query modesDavid Robillard1-1/+18
These were incorrect before because the tree was not ordered with respect to the search key. Enabling ZIX_BTREE_SORTED_CHECK (which should probably have a configure option) catches this.
2020-11-11Fix flaky literal comparisonDavid Robillard1-14/+37
2020-11-11Fix another unsigned integer underflowDavid Robillard1-1/+1
2020-11-11Fix unsigned integer underflowDavid Robillard1-1/+1
This is not undefined behaviour, but sanitizers have a check for it that is useful sometimes, and this makes the return value more predictable anyway.
2020-09-26Update zixDavid Robillard1-1/+1
2020-07-17Update zixDavid Robillard1-1/+1
Fixes an issue introduced by 616517f among various other minor things.
2020-07-17Fix potential string null termination issueDavid Robillard1-1/+1
2020-07-17Add missing break statementDavid Robillard1-0/+1
Completely redundant in this case, but avoids a warning.
2020-07-17Fix accidental use of comma operatorDavid Robillard1-1/+1
2020-07-17Remove dead codeDavid Robillard1-3/+0
2020-07-17Fix incorrect printf format specifiersDavid Robillard1-1/+8
2018-01-06Fix build with MSVCDavid Robillard1-1/+1
2017-12-29Remove pointless castDavid Robillard1-1/+1
2017-12-29Fix inconsistent parameter namesDavid Robillard1-90/+91
2017-12-16Fix various minor style issuesDavid Robillard1-13/+25
2016-09-18Fix erasing default graph iteratorsDavid Robillard1-1/+1
2016-07-31Fix compilation with C++David Robillard1-1/+1
2016-07-11Remove pointless assertionDavid Robillard1-1/+0
2016-07-09Fix construction of URIs with UTF-8 charactersDavid Robillard1-3/+2
2016-03-17Return NULL from sord_iter_get for end iteratorsDavid Robillard1-1/+3
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.
2015-10-04Improve test coverageDavid Robillard1-14/+14
git-svn-id: http://svn.drobilla.net/sord/trunk@335 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-10-03Improve test coverageDavid Robillard1-14/+9
git-svn-id: http://svn.drobilla.net/sord/trunk@331 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-09-10Fix crash caused by multiple deletion of datatype nodes.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@329 3d64ff67-21c5-427c-a301-fe4f08042e5a
2015-03-07Fix iteration during erase.David Robillard1-4/+16
git-svn-id: http://svn.drobilla.net/sord/trunk@326 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-12-18Fix deleting statements with no graph.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@320 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-11-03Fix bugs with stores that contain both graphs and default graph statements.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@315 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-09-24Add sord_erase() for erasing statements via an iterator.David Robillard1-9/+49
git-svn-id: http://svn.drobilla.net/sord/trunk@310 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-09-23Reduce memory usage and increase performance with a better data structure.David Robillard1-78/+42
git-svn-id: http://svn.drobilla.net/sord/trunk@307 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-08-08Use Markdown in doc comments for better source readability.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/sord/trunk@301 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-08-08Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/sord/trunk@298 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-08-08Fix some const-correctness violations.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/sord/trunk@297 3d64ff67-21c5-427c-a301-fe4f08042e5a
2014-07-15Fix iteration over an entire graph (* * * graph).David Robillard1-6/+10
git-svn-id: http://svn.drobilla.net/sord/trunk@296 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-02-18Fix reference counting semantics of sord_get().David Robillard1-6/+6
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@284 3d64ff67-21c5-427c-a301-fe4f08042e5a
2013-01-14Add sord_node_get() for easily getting single property values.David Robillard1-0/+25
git-svn-id: http://svn.drobilla.net/sord/trunk@280 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-10Shave 8 bytes off of SordNode.David Robillard1-39/+46
git-svn-id: http://svn.drobilla.net/sord/trunk@251 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-10Use a single node hash for all types of nodes.David Robillard1-144/+85
Inline nodes in hash table nodes and eliminate key+value pointer overhead. Use SSE 4.2 accelerated node and string hashing when available. git-svn-id: http://svn.drobilla.net/sord/trunk@250 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-09Get rid of language hash and store language inline with nodes.David Robillard1-38/+23
git-svn-id: http://svn.drobilla.net/sord/trunk@249 3d64ff67-21c5-427c-a301-fe4f08042e5a
2012-08-09Hide zix symbols (fix static builds with lilv).David Robillard1-4/+7
git-svn-id: http://svn.drobilla.net/sord/trunk@248 3d64ff67-21c5-427c-a301-fe4f08042e5a