Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-20 | possible fix for invalid cleanup space calc on win32. | Robin Gareus | |
2015-10-20 | NOOP, re-indent | Robin Gareus | |
2015-10-05 | use quotes for in-tree pbd/glib wrapper include | Robin Gareus | |
2015-10-04 | globally remove all trailing whitespace from ardour code base. | Paul Davis | |
Paul Davis was responsible for introducing almost all of this. | |||
2015-09-27 | update semantics of PBD::remove_directory() | Robin Gareus | |
Remove the directory recursively including itself. The function is used in two places only: * LV2Plugin::add_state() -- no change, remove tmp. state * Session::save_as() -- on error, remove target In both cases removing the folder itself is correct. | |||
2015-09-17 | use pbd's gstdio compatibility wrapper | Robin Gareus | |
2015-07-26 | Move ARDOUR::touch_file to pbd/file_utils.h | Tim Mayberry | |
2015-03-16 | hide issues with g_close() not being available in somewhat older versions of ↵ | Paul Davis | |
glib | |||
2015-03-16 | add PBD::toggle_file_existence() | Paul Davis | |
2015-03-08 | Fix PBD::copy_file on windows to work with non-ascii paths | Tim Mayberry | |
This breakage was indicated by the filesystem unit tests. | |||
2015-03-03 | recursive regexp file search. | Robin Gareus | |
2015-02-03 | Add an extra test to prevent 'PBD::path_is_within()' from looping infinitely ↵ | John Emmas | |
on Windows The infinite loop would happen if the 2 supplied paths were on different Windows drives - for example if one was on drive C:\ and the other on drive E:\ I don't think this new test will be detrimental to the other platforms but if it is, we could easily separate it out with a '#ifdef PLATFORM_WINDOWS' directive. | |||
2014-12-14 | move ScopedFileDescriptor into libpbd and use it | Paul Davis | |
2014-12-10 | remove file manager LRU cache from code. | Paul Davis | |
This was a very clever attempt to fix a non-problem. If the platform doesn't have enough file descriptors available then the platform is broken and we're not going to hack around trying to fix it. | |||
2014-12-03 | Add PBD::tmp_writable_directory utility function to pbd/file_utils.h/cc | Tim Mayberry | |
2014-09-28 | recursive file copy function | Robin Gareus | |
2014-07-08 | Add PBD::get_suffix() for ripping file suffixes from paths | Paul Davis | |
2014-06-28 | Use 'GStatBuf' in preference to 'struct stat' (which isn't necessarily the ↵ | John Emmas | |
same thing) | |||
2014-06-25 | Use PBD::FdFileDescriptor in PBD::copy_file | Tim Mayberry | |
2014-06-25 | Fix PBD::copy_file so it works with non-ASCII filenames on windows | Tim Mayberry | |
2014-06-25 | Fix PBD::copy_files so that it uses O_BINARY on windows and doesn't add line ↵ | Tim Mayberry | |
endings to copied files | |||
2014-06-25 | Change PBD::get_files and PBD::get_paths to take a Searchpath instead of ↵ | Tim Mayberry | |
directory path Both these functions use the internal function run_functor_for_paths which takes a Searchpath so this avoids a temporary variable in cases where a Searchpath is passed directly. The usage is the same as the compiler will generate a temporary Searchpath from a string(directory path) if necessary. | |||
2014-06-25 | Add/Update docs in pbd/file_utils.h | Tim Mayberry | |
2014-06-25 | Use run_functor_for_paths in PBD::get_paths | Tim Mayberry | |
2014-06-25 | Rename PBD::get_files_in_directory to just PBD::get_files, change parameter ↵ | Tim Mayberry | |
order and fix docs | |||
2014-06-25 | Rename PBD::get_directory_contents to PBD::get_paths | Tim Mayberry | |
shorter name and change order of parameters to match other functions | |||
2014-06-25 | Use run_functor_for_paths in PBD::find_files_matching_pattern | Tim Mayberry | |
2014-06-25 | Add function PBD::find_paths_matching_filter | Tim Mayberry | |
2014-06-25 | Use run_functor_for_paths in PBD::find_files_matching_filter | Tim Mayberry | |
2014-06-25 | Add function to file_utils intended to be used internally | Tim Mayberry | |
2014-06-25 | Add some debug output in file_utils.cc | Tim Mayberry | |
2014-06-25 | Remove reference to strtok_r now that it isn't used | Tim Mayberry | |
2014-06-25 | Change formatting of DEBUG_TRACE calls to match style guide | Tim Mayberry | |
2014-06-25 | Move functions in pbd/clear_dir.h/cc into pbd/file_utils.h/cc | Tim Mayberry | |
2014-06-25 | Rename PBD::find_file_in_search_path to just PBD::find_file | Tim Mayberry | |
saves a bit of typing and not necessary if you look at how it is used. | |||
2014-06-25 | Use PBD::find_files_matching_pattern instead of other variations | Tim Mayberry | |
2014-06-25 | Add a variation of PBD::find_files_matching_pattern for convenience | Tim Mayberry | |
2014-06-25 | Add new function PBD::find_files_matching_pattern | Tim Mayberry | |
This new function is intended to replace the three existing PBD::find_matching_files_* functions. The order of parameters matches find_files_matching_regex and find_files_matching_filter | |||
2014-06-25 | Change PBD::find_files_matching_regex and PBD::find_files_matching_filter to ↵ | Tim Mayberry | |
take a Searchpath | |||
2014-06-25 | Reimplement PBD::find_files_matching_filter using SearchPath and ↵ | Tim Mayberry | |
get_directory_contents | |||
2014-06-25 | Remove limit parameter from PBD::find_files_matching_regex | Tim Mayberry | |
This limit was not used or documented. The same functionality can be performed when iterating through the results. | |||
2014-06-25 | Remove parameters from PBD::find_files_matching_regex | Tim Mayberry | |
The only users of this API always used the same options so just remove them. | |||
2014-06-25 | Change PBD::get_files_in_directory to return full paths in result | Tim Mayberry | |
get_files_in_directory uses get_directory_contents internally now | |||
2014-06-25 | Add PBD::get_directory_contents to pbd/file_utils.h | Tim Mayberry | |
2014-06-19 | Move the definition for 'strtok_r' (to avoid clashing with a different ↵ | John Emmas | |
definition in pthread_win32) | |||
2014-06-17 | Replace all use of PathScanner with equivalent functions from pbd/file_utils.h | Tim Mayberry | |
2014-06-17 | Move member functions from PathScanner to functions in pbd/file_utils.h | Tim Mayberry | |
This allows us to remove PathScanner source file and keep PathScanner class as header only until it is removed | |||
2014-06-17 | Change PBD::PathScanner API to return results by value to avoid inadvertent ↵ | Tim Mayberry | |
memory leaks | |||
2014-06-15 | fix pathscanner / stl_vector related memory leaks | Robin Gareus | |
2014-03-22 | replace use of Gio:: with primitives (fix for #5889 part 1) | Robin Gareus | |