summaryrefslogtreecommitdiffstats
path: root/src/state.c
AgeCommit message (Collapse)AuthorFilesLines
2019-06-21Refuse to store state properties with null keysDavid Robillard1-0/+4
2019-06-21Refuse to store duplicate properties when saving plugin stateDavid Robillard1-0/+5
2019-06-21Factor out state property searchingDavid Robillard1-5/+13
2019-04-15Fix mismatched malloc/free callsDavid Robillard1-3/+3
2019-04-14Use modern LV2 includesDavid Robillard1-6/+6
2019-04-14Fix Windows cross-library malloc/free errorsDavid Robillard1-2/+5
2019-04-14Fix Windows buildDavid Robillard1-1/+0
2019-03-10Store port values in state as atomsDavid Robillard1-17/+18
2019-01-13Update copyright datesDavid Robillard1-1/+1
2019-01-13Clean up includesDavid Robillard1-6/+17
Sorts includes from local to global (which catches errors) and fixes missing includes found by the resulting breakage and include-what-you-use.
2019-01-11Use a clearer name for state directory and improve documentationDavid Robillard1-13/+13
2018-09-16Fix lilv_state_delete() for state bundles with extra filesDavid Robillard1-11/+23
2018-09-16Ensure state directory member is always set to a pathDavid Robillard1-9/+14
2018-09-16Don't print errors when saving state if correct links already existDavid Robillard1-3/+9
2018-09-16Make handle parameter to lilv_path_exists constDavid Robillard1-3/+3
2018-07-10Don't check for existence before attempting to create directoriesDavid Robillard1-7/+7
2017-12-29Remove pointless castsDavid Robillard1-1/+1
2017-01-04Lilv 0.24.2v0.24.2David Robillard1-1/+1
2017-01-03Always escape file URIsDavid Robillard1-5/+5
2016-09-26Fix comparison of restored states with pathsDavid Robillard1-1/+1
2016-09-18Fix memory, file, and library leaksDavid Robillard1-5/+8
2016-08-16Never call qsort on NULLDavid Robillard1-2/+6
(Fix clang static analyzer warning)
2016-07-24Add lilv_state_set_metadata()David Robillard1-70/+124
This allows setting useful metadata on a state description accessible to hosts but not plugins, such as pset:bank and rdfs:comment. Based on patch from Hanspeter Portner.
2016-07-11Improve test coverageDavid Robillard1-4/+4
2015-11-04Fix restoring state from stringsDavid Robillard1-1/+1
Patch from falktx, fixes #1107. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5809 a436a847-0d15-0410-975c-d299462d15a1
2015-10-29Fix restoring plugins with no state interfaceDavid Robillard1-5/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5802 a436a847-0d15-0410-975c-d299462d15a1
2015-10-29Fix buildDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5801 a436a847-0d15-0410-975c-d299462d15a1
2015-10-29Fix long linesDavid Robillard1-43/+49
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5800 a436a847-0d15-0410-975c-d299462d15a1
2015-10-04Improve test coverageDavid Robillard1-2/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5742 a436a847-0d15-0410-975c-d299462d15a1
2015-09-10Use lilv_free() where appropriate.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5721 a436a847-0d15-0410-975c-d299462d15a1
2015-05-22Clarify comment.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5682 a436a847-0d15-0410-975c-d299462d15a1
2015-05-21Delete trailing whitespace.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5680 a436a847-0d15-0410-975c-d299462d15a1
2015-03-07Add support for state deletion.David Robillard1-47/+191
Add lilv_node_get_path(). Add lilv_state_get_uri(). Add lilv_state_delete(). Fix creation of duplicate manifest entries when saving state. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5617 a436a847-0d15-0410-975c-d299462d15a1
2015-02-19Add lilv_state_emit_port_values() for special port value handling.David Robillard1-6/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5586 a436a847-0d15-0410-975c-d299462d15a1
2015-02-08Preserve absolute paths in state if no link directory is given.David Robillard1-3/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5540 a436a847-0d15-0410-975c-d299462d15a1
2014-10-05Tolerate passing NULL to lilv_state_restore().David Robillard1-4/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5473 a436a847-0d15-0410-975c-d299462d15a1
2014-08-08Use Markdown in doc comments for better source readability.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5429 a436a847-0d15-0410-975c-d299462d15a1
2014-07-31Minor code cleanups, slightly reduce LOC.David Robillard1-26/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5416 a436a847-0d15-0410-975c-d299462d15a1
2014-07-15Add lilv_world_unload_bundle() and lilv_world_unload_resource().David Robillard1-1/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5413 a436a847-0d15-0410-975c-d299462d15a1
2013-12-17Fix more const issues.David Robillard1-9/+10
Require latest LV2 svn for Ingen (fix #945). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5174 a436a847-0d15-0410-975c-d299462d15a1
2013-03-25Allow lilv_state_restore() to be used without passing an instance, for ↵David Robillard1-2/+2
restoring port values via a callback only. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5100 a436a847-0d15-0410-975c-d299462d15a1
2013-02-18Make use of sord_get().David Robillard1-20/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5057 a436a847-0d15-0410-975c-d299462d15a1
2013-02-18Fix SordNode leaks.David Robillard1-5/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5056 a436a847-0d15-0410-975c-d299462d15a1
2013-02-02Require a URI for lilv_state_to_string() and fail gracefully otherwise.David Robillard1-0/+9
Fail gracefully when lilv_state_new_from_string() is called on NULL. Fixes #865. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5030 a436a847-0d15-0410-975c-d299462d15a1
2013-01-27Don't print errors when loading plugin description as default state.David Robillard1-5/+7
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5010 a436a847-0d15-0410-975c-d299462d15a1
2013-01-26Support state:loadDefaultState.David Robillard1-0/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5007 a436a847-0d15-0410-975c-d299462d15a1
2012-08-13Fix potential crash when state saving fails.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4676 a436a847-0d15-0410-975c-d299462d15a1
2012-08-10Always back LilvNode with a SordNode and shave 16 bytes off of LilvNode.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4642 a436a847-0d15-0410-975c-d299462d15a1
2012-08-09Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard1-10/+10
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4631 a436a847-0d15-0410-975c-d299462d15a1
2012-07-29Fix bogus warning about control reaching end of non-void function.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4568 a436a847-0d15-0410-975c-d299462d15a1