Commit Graph

2751 Commits

Author SHA1 Message Date
Sebastian Messmer
4f409953e8 Fix conan version to 1.x because 2.0 doesn't work for us yet 2023-02-26 13:50:45 -08:00
Sebastian Messmer
c1c89728d9 Fix build error 2023-01-11 19:07:16 -08:00
Sebastian Messmer
21776308d9 Trigger new CI run 2023-01-11 18:59:01 -08:00
Sebastian Messmer
f5b50f348c Fixed small inaccuracy in calculation of free space in statvfs 2022-12-25 19:14:38 +01:00
Sebastian Meßmer
6795d2bc6f
Silence clang warnings 2022-12-19 22:38:55 +01:00
Sebastian Messmer
dde3d667be Fix progress bar 2022-12-19 12:11:27 +01:00
Sebastian Messmer
cc365e9b86 Fix progress bar 2022-12-19 12:03:42 +01:00
Sebastian Messmer
9cd62c279d Remove unused 'using' statement 2022-12-18 22:04:56 +01:00
Sebastian Messmer
2e42c43415 Remove unused variable 2022-12-18 18:02:52 +01:00
Sebastian Messmer
c039629721 No need to build a vector, we can check the block id immediately when we see it 2022-12-18 17:51:55 +01:00
Sebastian Messmer
8b02ff7cc5 Improve rename tests 2022-12-18 17:35:08 +01:00
Sebastian Messmer
45895d8d4f We don't actually need to calculate or store the ancestor chain unless we're renaming 2022-12-18 16:34:16 +01:00
Sebastian Messmer
222ef46d8d Fix clang tidy warnings 2022-12-18 16:20:26 +01:00
Sebastian Messmer
987b40e138 Fix clang-tidy warning 2022-12-18 15:00:32 +01:00
Sebastian Messmer
2425ce4bc0 Make CryNode::rename() more resilient to corner cases, e.g.
- when trying to move a directory into a subdirectory of itself
- make it into its own ancestor
- allow replacing a directory with another directory, but only if the target directory is empty

Nothing here should have an effect on overall CryFS behavior because fuse already catches those corner cases.
But it's better to handle them correctly. Better safe than sorry.
2022-12-18 14:57:38 +01:00
Sebastian Messmer
cd5ac83b7d Fix another compiler warning 2022-12-18 09:48:15 +01:00
Sebastian Messmer
f5e6b3bc5f Fix compiler warning 2022-12-18 07:26:30 +01:00
Sebastian Messmer
4c10d47cd6 Further simplify getLstatSize 2022-12-18 07:14:13 +01:00
Sebastian Messmer
9ac813270b Simplify getLstatSize 2022-12-18 06:30:53 +01:00
Sebastian Messmer
64c95230ca Delete dead code 2022-12-17 18:41:58 +01:00
Sebastian Messmer
3dd8b53366 Fix a bug in DirEntryList::get() where it would throw an error when it didn't find the entry, but the function signature looks like it would return boost::none.
This bug didn't actually materialize because the only call site is in CryNode.cpp and it would throw an error anyways if it gets boost::none. But still worth fixing to reduce API confusion.
2022-12-17 18:12:24 +01:00
Sebastian Meßmer
934d190534
Installation instructions should say 'python3' instead of 'python' 2022-10-24 14:07:39 -07:00
Sebastian Messmer
1c19488d5e On some systems, when mounting a test file system, the OS asks for /.Trash and /.Trash-1000 and will unmount if the file system returns an error. So let's tell the operating system that those don't exist instead 2022-10-15 15:05:32 -07:00
Sebastian Messmer
48929bb884 Remove CMP0065 mentions from CMakeLists.txt 2022-10-13 00:00:07 -07:00
Sebastian Messmer
6f43639ab5 Merge branch 'feature/CMP0065' into develop 2022-10-12 23:58:56 -07:00
Sebastian Messmer
ac15f42978 Cleanup cmake CMP0065 2022-10-12 18:14:31 -07:00
Sebastian Messmer
1ebee6dd19 Add GCC 10 to CI 2022-10-12 17:46:56 -07:00
Sebastian Messmer
b8a20ee0b0 Fix CI apt-get timeouts by retrying more often 2022-10-12 10:08:34 -07:00
Sebastian Meßmer
04b865b009
Mention cryfs-unmount man page 2022-10-11 21:30:20 -07:00
Sebastian Messmer
16c3a47304 Add man page for cryfs-unmount 2022-10-11 21:10:31 -07:00
Sebastian Messmer
39e792ad78 It's actually clang 7 not gcc 7 that we need to disable on CI, and we only need to disable it on macos. Linux can still run it. 2022-10-11 21:03:10 -07:00
Sebastian Messmer
22151ea155 Re-add CI for Linux GCC 7, only remove GCC 7 CI on macos 2022-10-11 20:48:53 -07:00
Sebastian Messmer
26f95309b1 Remove GCC 7 from CI because the macos CI machines cannot install it anymore 2022-10-11 20:45:53 -07:00
Sebastian Messmer
f1ca6b9f63 Clarify fix statement 2022-10-11 18:56:31 -07:00
D Lamb
3ecbfc31f9
minor: shebang python -> python3 (#439)
Co-authored-by: D Lamb <dlamb.gh@mm.st>
2022-10-11 18:55:24 -07:00
Sebastian Messmer
5adcb1b6fa Mention Apple python fix 2022-10-11 18:54:17 -07:00
Sebastian Messmer
d356e30e8a Mention Apple Silicon build fix 2022-10-11 18:47:27 -07:00
Sebastian Messmer
daea2fb788 Fix building on Apple Silicon Macs (see https://github.com/cryfs/homebrew-tap/issues/10 ) 2022-10-11 18:42:21 -07:00
Bernhard Rosenkraenzer
27515e0116
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 05:13:38 -07:00
jolan78
31c831f984
Update README: macport is now up to date (#430) 2022-05-26 17:10:24 -07:00
Sebastian Meßmer
3f13b63d18
Remove Ubuntu 17.04 mention 2022-02-26 18:40:48 -08:00
Sebastian Messmer
3bd9ad52bf Mention OpenMP fix 2022-02-21 21:20:44 -08:00
Antonio Rojas
c314a3cb70
Fix OpenMP support (#415)
Prevent crypto++ from building the library via an intermediate object target. This is not necessary as we are only building the static library, and breaks passing the build flags that enable openMP support.
2022-02-21 21:18:21 -08:00
Onuralp Sezer
5f908c641c
change unversioned python commandline into versioned python3 commandline (#413)
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org>
2022-01-25 09:45:07 -08:00
Sebastian Messmer
91ba63caf6 Mark 0.11.1 as released 2021-12-23 09:07:17 +01:00
Sebastian Messmer
e1cc1cfada Update to DokanY 1.3.0.1000 2021-12-23 00:50:51 +01:00
Sebastian Messmer
e1eeb9a88c Update to DokanY 1.2.2.1001 2021-12-23 00:44:40 +01:00
Sebastian Messmer
fc906adff9 Fix Subprocess on Windows 2021-12-22 21:18:02 +01:00
Sebastian Messmer
4738c1ff78 Don't run SubprocessTest under TSAN since TSAN deadlocks with atfork handlers 2021-12-13 15:15:16 +01:00
Sebastian Messmer
47de03ccaf Fix subprocess call sites 2021-12-12 13:13:46 +01:00