Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-01-02 | Use email address instead of website for attribution | David Robillard | 20 | -20/+20 | |
2021-01-02 | Remove the need for a generated configuration header | David Robillard | 3 | -5/+133 | |
2020-12-31 | Format all code with clang-format | David Robillard | 18 | -4970/+4951 | |
2020-12-31 | Avoid "else" after "return" | David Robillard | 10 | -51/+85 | |
2020-12-18 | Make symlink targets relative when they share a common parent | David Robillard | 1 | -1/+5 | |
This might not be the right thing in every case, but it's the best we can do without API to specifically configure this sort of thing (like setting a project root) which doesn't currently exist. | |||||
2020-12-18 | Windows: Fix saving state with files | David Robillard | 1 | -10/+20 | |
2020-12-18 | Windows: Fix determining state filenames from backslashey paths | David Robillard | 1 | -2/+3 | |
2020-12-18 | Windows: Fix updating state manifests | David Robillard | 1 | -12/+9 | |
This didn't work because the mode was wrong (serd uses binary because it is always UTF-8), and... other reasons I don't understand. Regarless this is more consistent without files are read elsewhere. | |||||
2020-12-18 | Windows: Prefer backslash as a path separator | David Robillard | 1 | -1/+24 | |
This situation is, as always, a total nightmare. In an attempt to not make weird paths with mixed separators, a heuristic is used here which uses forward slash if it seems that the input paths do. Otherwise, backslash (the "preferred" separator on Windows despite all good sense) is used. | |||||
2020-12-18 | Windows: Don't bother trying to create symbolic links | David Robillard | 1 | -6/+1 | |
This only works on modern systems with "Developer Mode" enabled, so everything needs to work without them in reality anyway. | |||||
2020-12-18 | Windows: Fix leaking directory handles | David Robillard | 1 | -0/+1 | |
2020-12-18 | Add lilv_path_absolute_child() | David Robillard | 2 | -0/+19 | |
2020-12-18 | Add lilv_path_filename() | David Robillard | 2 | -0/+30 | |
2020-12-18 | Fix build with ancient GCC | David Robillard | 1 | -2/+2 | |
2020-12-17 | Fix writing state manifests on Windows | David Robillard | 1 | -12/+32 | |
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 | |