Commit Graph

680 Commits

Author SHA1 Message Date
Vlad Glagolev
5dca65946a Fix encfs build with BUILD_SHARED_LIBS=1 (#463)
* Fix build against tinyxml2 with BUILD_SHARED_LIBS=1
* Force building static easyloggingpp till upstream adds shared support
2018-01-28 21:23:23 +01:00
Jakob Unterwurzacher
1f6e94704c Update ENCFS_PATCH for 1.9.4 release
The 1.9.3 release forgot to do that.
2018-01-28 21:06:25 +01:00
Jakob Unterwurzacher
5c9d739b32 Add package-source.sh helper
Automates creating a source tarball with the right
folder name inside
2018-01-28 15:36:41 +01:00
Ben RUBSON
db76b3b856
Add missing special member functions 2018-01-23 08:45:30 +01:00
Ben RUBSON
2af7c56254
Correct sign-compare warnings 2017-11-18 09:08:57 +01:00
Ben RUBSON
53196f1927
Better handle libraries' build
* Add USE_INTERNAL_EASYLOGGING cmake option
* Use -fPIC if -DBUILD_SHARED_LIBS
2017-11-15 22:00:55 +01:00
Ben RUBSON
1c273ecba5
Remove race in idle unmount 2017-11-15 21:28:37 +01:00
Ben RUBSON
9766a6c17d
Disable Clang C-style variadic warnings in autosprintf 2017-11-07 08:12:50 +01:00
Ben RUBSON
00bd6d3c45
Correct performance warnings 2017-11-05 17:48:50 +01:00
Ben RUBSON
707eddabf4
Correct readability-non-const-parameter warning
* Correct readability-non-const-parameter warning

* Double const
2017-11-05 17:28:57 +01:00
Ben RUBSON
92b209f7c0
Correct unused-parameter warnings 2017-11-02 23:16:50 +01:00
Ben RUBSON
4e19edfd56
Correct ato* clang warnings 2017-11-02 08:44:14 +01:00
Ben RUBSON
135fe9e98b
Correct unused-parameter warnings 2017-11-02 08:35:30 +01:00
Ben RUBSON
6cb5078cb2
Correct explicit-constructor clang warning 2017-11-02 08:28:22 +01:00
Ben RUBSON
a3d6b6f313
Correct unnecessary-value-param clang warnings 2017-11-02 08:06:51 +01:00
Ben RUBSON
1254c686ea
Correct misc-misplaced-widening-cast clang warnings 2017-11-02 07:52:57 +01:00
Ben RUBSON
e2ea0e4d2f
Correct parentheses and brackets clang warnings 2017-10-29 22:58:51 +01:00
Ben RUBSON
8b46390028
Make Travis use correct clang-tidy binary
also reference FreeBSD clang-tidy bin name
2017-10-29 22:49:23 +01:00
Ben RUBSON
4293ce49b9 Correct last clang warnings in readpassphrase 2017-10-20 07:31:44 +02:00
Ben RUBSON
d693858947 Update test instructions 2017-10-11 08:22:57 +02:00
Ben RUBSON
dd7edb2942 Bump FUSE_USE_VERSION to 29 2017-10-11 08:15:00 +02:00
Ben RUBSON
5ee4c14f1b Better construct Cmake lists of parameters 2017-10-11 08:07:07 +02:00
Ben RUBSON
89cb000aba Correct an uninitialized value 2017-10-11 07:59:27 +02:00
Ben RUBSON
07f64d9e21 Correct an undefined pointer dereference 2017-10-11 07:52:15 +02:00
Ben RUBSON
437c2b33ea Make Travis use last stable Xcode 2017-10-10 23:22:10 +02:00
Ben RUBSON
db97c6a7d9 Correctly sort headers
to get rid of llvm-include-order warnings
2017-10-09 19:27:04 +02:00
Ben RUBSON
18c36bb020 Enable compilation warnings for our files only 2017-10-09 16:20:17 +02:00
Valient Gough
fc185b99bf Merge pull request #414 from vgough/noinstall
skip install for tests and other vendored subdirs
2017-10-08 16:23:26 -07:00
Valient Gough
e6cd471931
skip install for tests and other vendored subdirs 2017-10-08 16:07:53 -07:00
Ben RUBSON
00472dfdd0 Handle flawlessly up to MAX(int) in read/write 2017-10-04 11:04:34 +02:00
jersou
228ebf354e Update fr.po spelling 2017-10-04 10:05:21 +02:00
Ben RUBSON
f2c1a8f760 Correctly check struct dirent 2017-10-04 08:01:51 +02:00
Ben RUBSON
0b59ca5859 Correctly check last non-checked return values 2017-10-04 07:22:10 +02:00
Ben RUBSON
42dc11e3b1 Correctly check some non-checked return values 2017-10-03 16:19:26 +02:00
Ben RUBSON
44c7576f21 Add a new option --reversewrite
to clearly indicate we want to mount reverse in write mode.
2017-10-02 19:02:55 +02:00
Ben RUBSON
209d681564 Add links to site and support 2017-10-02 11:16:29 +02:00
Ben RUBSON
e0f10e2517 Correctly use setgid/setuid with allow_other
- use these functions in the correct order ;
- correctly check for their return code.
This helps to correct #398.
2017-10-01 21:44:17 +02:00
Jakob Unterwurzacher
f5d37d2c65 Replace "linux" define with more-standard "__linux__"
The "linux" define is not available with "g++ -std=c++11",
which resulted in bug https://github.com/vgough/encfs/issues/398 .

Available defines for gcc 7.1.1, g++ 7.1.7, clang 4.0.0:

$ g++ -dM -E -x c++ /dev/null | grep linux

$ g++ -dM -E -x c++ -std=c++11 /dev/null | grep linux

$ echo "" | gcc -E -dM -c - | grep linux

$ echo "" | clang -E - -dM | grep linux
2017-10-01 19:30:01 +02:00
Ben RUBSON
85a2d74d68 Add an (empty) encfssh man page 2017-09-30 20:15:25 +02:00
Vlad Glagolev
566f4e48cf Ensure compatibility with LibreSSL 2017-09-30 19:48:15 +02:00
Ben RUBSON
1f02e6341d Merge pull request #397 from p2635/patch-1
Update README.md
2017-09-17 16:55:07 +02:00
Phil
786ce7e1d9 Update README.md
Typo
2017-09-17 15:36:30 +01:00
Ben RUBSON
439c90e040 Merge pull request #396 from benrubson/cloud
Document cloud usage in man page
2017-09-05 23:26:29 +02:00
benrubson
5a240f916d Document cloud usage in man page 2017-09-05 19:25:16 +02:00
Ben RUBSON
7d96d54339 Merge pull request #395 from benrubson/printsudo
Print whether or not we are running sudo tests
2017-08-28 09:09:33 +02:00
benrubson
b29a50b993 Print whether or not we are running sudo tests 2017-08-28 09:00:43 +02:00
Valient Gough
cc140546a1 Merge pull request #393 from benrubson/sudo
Run "sudo" tests also if user is root
2017-08-27 11:37:02 -07:00
benrubson
fbe0c52aaa Run sudo tests checking effective UID 2017-08-27 09:50:13 +02:00
benrubson
c7cea40ddc Run sudo tests also if user is root 2017-08-26 11:50:01 +02:00
Valient Gough
03d0ae793e Merge pull request #391 from vgough/pr/380
Return code rework
2017-08-25 23:31:28 -07:00