summaryrefslogtreecommitdiffstats
path: root/src/state.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-06Use raw type/size/value instead of LilvNode for port values.David Robillard1-61/+47
Remove use of half-baked node_to_serd() and use sratom for port values as well. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4023 a436a847-0d15-0410-975c-d299462d15a1
2012-03-05Add missing pkg-config dependencies.David Robillard1-21/+18
Update for latest state extension. Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4022 a436a847-0d15-0410-975c-d299462d15a1
2012-03-03Remove pointless wrapper around Sord API.David Robillard1-12/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4020 a436a847-0d15-0410-975c-d299462d15a1
2012-03-03Use a fully-fledged Atom serialisation API for state saving.David Robillard1-250/+160
Add lilv_state_to_string(). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4018 a436a847-0d15-0410-975c-d299462d15a1
2012-02-26Fix state restoration with paths.David Robillard1-10/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4000 a436a847-0d15-0410-975c-d299462d15a1
2012-02-19Update for latest LV2 changes.David Robillard1-9/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3987 a436a847-0d15-0410-975c-d299462d15a1
2012-02-03Gracefully tolerate NULL get_value passed to lilv_state_new_from_instance().David Robillard1-10/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3975 a436a847-0d15-0410-975c-d299462d15a1
2012-02-01Windows compatibility fixes.David Robillard1-10/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3971 a436a847-0d15-0410-975c-d299462d15a1
2012-01-28Update state interface to support multiple state snapshots with shared files.David Robillard1-119/+158
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3967 a436a847-0d15-0410-975c-d299462d15a1
2012-01-18Fix memory leaks.David Robillard1-2/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3966 a436a847-0d15-0410-975c-d299462d15a1
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3963 a436a847-0d15-0410-975c-d299462d15a1
2012-01-17Support compilation as C++ under MSVC++,David Robillard1-10/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3955 a436a847-0d15-0410-975c-d299462d15a1
2012-01-15Shrink code.David Robillard1-18/+13
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3951 a436a847-0d15-0410-975c-d299462d15a1
2012-01-15Lint.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3949 a436a847-0d15-0410-975c-d299462d15a1
2012-01-14Lint.David Robillard1-20/+24
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3948 a436a847-0d15-0410-975c-d299462d15a1
2012-01-12Factor out common SerdWriter creation code.David Robillard1-44/+42
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3935 a436a847-0d15-0410-975c-d299462d15a1
2012-01-10Fix loading state from world model.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3930 a436a847-0d15-0410-975c-d299462d15a1
2012-01-09Make lilv_state_save take a full filename with extension.David Robillard1-8/+10
Use a proper path joining function for separator normalisation. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3927 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Fix compilation without state extension.David Robillard1-13/+21
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3925 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Move all non-portable stuff to util.c.David Robillard1-45/+9
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3921 a436a847-0d15-0410-975c-d299462d15a1
2012-01-08Add file support to state implementation.David Robillard1-137/+345
Use cleaner and more consistent names for world URIs. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3918 a436a847-0d15-0410-975c-d299462d15a1
2012-01-04Implement proper support for LV2_STATE_BUNDLE.David Robillard1-39/+76
Test saving state to default bundle path. Fix memory leaks. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3915 a436a847-0d15-0410-975c-d299462d15a1
2012-01-03Add lilv_state_get_num_properties().David Robillard1-32/+39
Rearrange state code. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3912 a436a847-0d15-0410-975c-d299462d15a1
2012-01-03Fix memory error.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3910 a436a847-0d15-0410-975c-d299462d15a1
2011-12-30Support arbitrary binary data in plugin state via base64 encoding.David Robillard1-35/+149
Unit testing for plugin instantiation and state. Build without LV2 state available. Support URID values in plugin state nicely. Fix various holes in state implementation exposed by tests. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3908 a436a847-0d15-0410-975c-d299462d15a1
2011-12-23Add LilvState API for handling plugin state. This makes it simple to save andDavid Robillard1-0/+794
restore plugin state both in memory and on disk, as well as save presets in a host-sharable way since the disk format is identical to the LV2 presets format. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3899 a436a847-0d15-0410-975c-d299462d15a1