Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-12-16 | Fix potential null dereference | David Robillard | 1 | -1/+3 | |
2020-12-16 | Clean up includes | David Robillard | 1 | -9/+6 | |
2020-12-01 | Use the canonical path for state directories | David Robillard | 1 | -7/+8 | |
This fixes an issue on MacOS if hosts use a temporary directory generated with mkdtemp, which can create paths that involve symlinks. This is problematic since the parent directory comparisons here need to determine if a file is really in one of the state directories. The actual paths here shouldn't be visible in saved state, so resolve them fully so that the directory membership tests work correctly and copies and/or links are created when necessary. | |||||
2020-11-17 | Suppress internal deprecation warnings about serd_uri_to_path() | David Robillard | 1 | -0/+9 | |
This function is deprecated, but is only used here in the implementation of lilv_uri_to_path() which is also deprecated (for the same reason), so application code will still get the warning. | |||||
2020-11-11 | Fix types | David Robillard | 1 | -2/+2 | |
Oof. How this got past me is anyone's guess. | |||||
2020-11-11 | Fix unlikely undefined behavior when saving state | David Robillard | 1 | -2/+17 | |
2020-11-11 | Fix potential memory error when joining filesystem paths | David Robillard | 1 | -4/+5 | |
2020-08-07 | Fix error handling when copying files | David Robillard | 1 | -0/+4 | |
2020-08-06 | Implement file locking on Windows | David Robillard | 1 | -1/+14 | |
2020-08-06 | Add lilv_remove() | David Robillard | 4 | -8/+18 | |
2020-08-06 | Fix lilv_create_directories() error handling when path is a file | David Robillard | 1 | -1/+2 | |
2020-08-06 | Make lilv_dir_for_each() ignore dot entries | David Robillard | 2 | -9/+9 | |
2020-08-06 | Add lilv_create_temporary_directory() | David Robillard | 2 | -0/+51 | |
2020-08-06 | Add lilv_is_directory() | David Robillard | 2 | -0/+12 | |
2020-08-06 | Add lilv_path_current() | David Robillard | 2 | -0/+10 | |
2020-08-06 | Add lilv_temp_directory_path() | David Robillard | 2 | -0/+23 | |
2020-08-06 | Add block parameter to lilv_flock | David Robillard | 3 | -7/+12 | |
2020-08-06 | Remove lilv_dir_path() | David Robillard | 3 | -27/+4 | |
This function was weird. Instead, to make a directory path with trailing separator, join nothing as in Python. | |||||
2020-08-06 | Rename some filename utilities for clarity | David Robillard | 4 | -16/+16 | |
Loosely inspired by Python and the std::filesystem API. | |||||
2020-08-06 | Separate filesystem utilities | David Robillard | 8 | -410/+568 | |
2020-07-17 | Fix potential NULL dereference warning | David Robillard | 1 | -3/+9 | |
Not really something that matters in these cases since allocation failure is not handled gracefully anyway. | |||||
2020-07-16 | Fix potential va_list leak | David Robillard | 1 | -0/+1 | |
2020-07-16 | Add missing variable initializations | David Robillard | 3 | -6/+7 | |
2020-07-16 | Fix conversion warnings | David Robillard | 3 | -3/+3 | |
2020-07-16 | Remove unnecessary defines | David Robillard | 1 | -2/+0 | |
2020-07-16 | Only define Windows path utility function on Windows | David Robillard | 1 | -0/+2 | |
Avoids a warning about an unused fuction. | |||||
2020-07-16 | Clean up includes | David Robillard | 5 | -3/+12 | |
2020-06-19 | Check for CreateSymbolicLink at configure time | David Robillard | 1 | -18/+2 | |
This uses the system CreateSymbolicLink if it is available at compile time, and if not, just acts as if the link failed (which is extremely likely anyway). This removes the ugly wrapper code that has been a constant source of compatibility headaches with weird toolchains. | |||||
2020-05-17 | Make lilv_world_get() use translations | David Robillard | 1 | -0/+20 | |
2020-01-18 | Fix memory leak when dyn-manifest has no plugins | David Robillard | 3 | -11/+21 | |
2020-01-18 | Fix cases where incorrect translation is used | David Robillard | 1 | -8/+15 | |
2020-01-18 | Clean up i18n code | David Robillard | 1 | -20/+20 | |
2020-01-18 | Update manifest when deleting state from a non-empty bundle | David Robillard | 1 | -1/+6 | |
This fixes a bug where the manifest would contain dangling references to old state if multiple states were saved to a single bundle and one is deleted. As far as I know this has not been encountered by anyone in reality, since this is an uncommon scenario (it's somewhat in question whether it should be supported at all). | |||||
2020-01-18 | Support deleting state that has not been saved | David Robillard | 1 | -16/+21 | |
This makes it possible to delete state bundles created from an instance, where the plugin has added some files to the bundle, but the state has not yet been saved by the host so there is no manifest and/or state file. | |||||
2020-01-18 | Clean up path code in lilv_state_delete() | David Robillard | 1 | -6/+5 | |
2020-01-18 | Fix deleting state bundles loaded from the model | David Robillard | 1 | -7/+18 | |
2020-01-18 | Only remove files in state bundle when deleting state | David Robillard | 1 | -6/+8 | |
2020-01-18 | Factor out writing state manifest | David Robillard | 1 | -10/+25 | |
2020-01-18 | Ensure state directory path always ends in a separator | David Robillard | 3 | -8/+33 | |
This can cause problems when resolving relative paths against the bundle directory, and it's simpler to ensure that the path always ends in a separator than deal with both cases in every place it is used. | |||||
2020-01-18 | Remove redundant LILV_API declarations | David Robillard | 10 | -130/+130 | |
There are specified in the declarations in the public API header, there is no need to duplicate them in the definitions. | |||||
2019-12-08 | Implement state:freePath feature | David Robillard | 1 | -8/+31 | |
2019-10-17 | Fix Windows warnings | David Robillard | 1 | -1/+5 | |
2019-08-18 | Fix lilv_plugin_get_latency_port_index() for lv2:latency designation | David Robillard | 1 | -2/+11 | |
2019-06-21 | Refuse to store state properties with null keys | David Robillard | 1 | -0/+4 | |
2019-06-21 | Refuse to store duplicate properties when saving plugin state | David Robillard | 1 | -0/+5 | |
2019-06-21 | Factor out state property searching | David Robillard | 1 | -5/+13 | |
2019-04-15 | Fix lilv_mkdir_p when used with forward slashes on Windows | David Robillard | 1 | -2/+3 | |
2019-04-15 | Fix mismatched malloc/free calls | David Robillard | 2 | -5/+5 | |
2019-04-14 | Remove support for OSX < 10.6 | David Robillard | 1 | -11/+1 | |
2019-04-14 | Use modern LV2 includes | David Robillard | 7 | -18/+18 | |