Commit Graph

65 Commits

Author SHA1 Message Date
Sebastian Messmer c5187bb0d7 Fix an issue when using `-o` atime mount options 2023-08-06 22:16:38 -07:00
Bernhard Rosenkraenzer ee6250380f Fix build with fmt 9.0 (#433)
* Fix build with fmt 9.0

Co-authored-by: Sebastian Meßmer <smessmer@users.noreply.github.com>
2022-07-22 07:36:34 -05:00
Sebastian Messmer 31c9290487 Fix subprocess call sites 2021-12-12 13:14:05 +01:00
Sebastian Messmer 69770c77d4 cryfs-unmount correctly unmounts paths that contain spaces 2021-12-10 17:51:52 +01:00
midchildan fe1b0f10d3
Support the latest FUSE on macOS (#378)
* feat: support latest FUSE on macOS

This drops osxfuse support in favor of macFUSE. macFUSE is a newer
version of osxfuse that supports the latest release of macOS, and is a
rebranded version of the same project.

* build: use pkg-config to find FUSE

Co-authored-by: Sebastian Messmer <smessmer@users.noreply.github.com>
2021-04-13 00:45:47 -07:00
Sebastian Messmer e2cd97de96 Update ranges-v3 to 0.11.0 2021-01-14 20:08:09 -08:00
Sebastian Messmer ad0e064f42 Use noatime by default 2020-07-14 20:16:32 -07:00
Sebastian Messmer 6f94834c90 Fix bug where a comma in the base directory name would make the file system fail to mount, https://github.com/cryfs/cryfs/issues/326 2020-06-30 19:13:28 -07:00
Sebastian Messmer f179b8c4a4 Fix appveyor build 2020-06-27 17:27:16 -07:00
Sebastian Messmer 8e617b1342 Add support for atime mount options (noatime, strictatime, relatime, atime, nodiratime). As before, relatime is the default. 2019-11-05 10:08:04 -05:00
Sebastian Messmer cb01025c81 Simplify mocking thanks to new googletest features 2019-10-25 23:38:04 -07:00
Sebastian Messmer 50341b763c Merge branch 'release/0.10' into develop 2019-06-08 13:33:06 -07:00
Sebastian Messmer efac089c76 - Add Clang 8 and GCC 9 to CI
- Switch clang-tidy to Clang 9
- Fix compiler and clang-tidy warnings produced by the previous points
2019-06-08 13:06:17 -07:00
Sebastian Messmer e7f50badea Fix unintentionally setting the thread name twice 2019-06-06 20:34:49 -07:00
Sebastian Messmer c5febd032a Merge branch 'release/0.10' into develop 2019-05-25 20:19:44 -07:00
Sebastian Messmer ad5b1e72e3 Improve fspp logging 2019-05-25 19:25:28 -07:00
Sebastian Messmer 412a1ecb90 Silence unused parameter warning 2019-05-25 14:22:45 -07:00
Sebastian Messmer 1d422cbb38 Fix occasional crash in mkdir() on Windows 2019-05-25 13:35:44 -07:00
Sebastian Messmer 5596aa2a4f Merge branch 'release/0.10' into develop 2019-03-02 21:38:07 -08:00
Sebastian Messmer a09d38e182 Don't change locale on musl since it would crash 2019-02-28 01:21:49 -08:00
Sebastian Messmer 58fd7c3956 Merge from release/0.10 2019-01-27 05:38:17 -08:00
Sebastian Messmer 13ad69b3c0 Fix Windows encoding issues for non-ascii characters in filenames (https://github.com/cryfs/cryfs/issues/247) 2019-01-27 05:24:26 -08:00
Sebastian Messmer 136716e65f merge 2019-01-20 20:23:49 -08:00
Sebastian Messmer 8d09fb4c46 Set meaningful thread names for debugging purposes 2019-01-20 13:15:15 -08:00
Sebastian Messmer 58cb91102d Implement cryfs-unmount for unmounting filesystems 2019-01-19 13:02:41 -08:00
Sebastian Messmer d0efbaaa72 Fix creation of relative symlinks ( https://github.com/cryfs/cryfs/issues/244 ) 2019-01-13 09:27:50 -08:00
Sebastian Messmer d8691d282b Defer daemonization to Fuse, introduce Fuse::runInBackground() / Fuse::runInForeground() 2018-12-24 19:03:38 +01:00
Sebastian Messmer 64150f294e Fuse offers an onMounted callback that is called when everything is ready. 2018-12-09 12:27:53 -05:00
Sebastian Messmer 449133e3da - Allow callback when fuse filesystem is mounted
- Use that callback to initialize the file system instead of initializing it up front
2018-12-03 01:57:30 -05:00
acheronfail 43755969ca feat: make volname default to mountdir (#226)
* feat: make volname default to mountdir
2018-10-19 20:37:21 +02:00
Sebastian Messmer 5da8eac56e Remove unused parameter from statfs() 2018-09-22 14:24:31 -07:00
Sebastian Messmer a866fda3a9 Use FUSE_STAT on Dokan 2018-09-15 18:02:03 -07:00
Sebastian Messmer 8d21e09159 Introduce fspp::num_bytes_t 2018-09-15 14:32:58 -07:00
Sebastian Messmer b1dfd94243 Introduce fspp::uid_t, fspp::gid_t and fspp::mode_t 2018-09-14 02:34:11 -07:00
Sebastian Messmer dd500d631c Catch const exceptions 2018-08-01 17:02:37 -07:00
Sebastian Messmer dc83bde24d Fix path assertions for windows 2018-07-30 00:42:51 -07:00
Sebastian Messmer 0016438fd9 Fix and add more assertions on the path format passed in by fuse 2018-07-30 00:33:34 -07:00
Sebastian Messmer 708cd99868 Start splitting fspp-fuse from fspp-interface 2018-05-21 08:11:43 -07:00
Sebastian Messmer 2ea77d4c26 Use boost::filesystem::path more portably 2018-05-20 19:22:46 -07:00
Sebastian Messmer 9d872ea00c - Fix clash of our ERROR log level with the ERROR macro defined in windows
- Fix definition of log levels so msvc accepts them
2018-05-16 23:03:03 -07:00
Sebastian Messmer 706ef263c9 Fix error logging 2018-04-15 21:37:06 -07:00
Sebastian Messmer f439bf9d0f Remove c style casts and unaligned memory accesses 2017-12-03 19:01:41 +00:00
Sebastian Messmer 5fe3cada4c Enable some more clang-tidy checks and fix warnings 2017-10-29 16:35:10 +00:00
Sebastian Messmer 180170e250 Fix memory leak reported by asan. Not a bad one since it only happens on program exit when the memory is freed anyhow, but better be clean ;) 2017-10-02 07:56:31 +01:00
Sebastian Messmer 3787777967 Optimize std::move use 2017-10-01 09:04:29 +01:00
Sebastian Messmer cab1c71cac Merge from develop 2017-02-04 19:18:00 +00:00
Sebastian Messmer 9a304fc52b Upgrade spdlog to 0.11.0 2017-02-04 19:03:20 +00:00
Sebastian Messmer d2cecb4ecc Disable large_read fuse option, since it's not used in new fuse versions anyhow and makes problems when fuse is run in user mode linux. 2016-07-22 20:44:06 +02:00
Sebastian Messmer f6141f515b TODOs 2016-07-16 17:08:53 +02:00
Sebastian Messmer e3690e2f6b Add comment 2016-07-16 16:47:27 +02:00