Commit Graph

660 Commits

Author SHA1 Message Date
Ben RUBSON
9ad4a7b89a
Exit idleMonitor thread when it has finished
Could help debugging, see #470
2018-04-06 20:10:05 +02:00
Ben RUBSON
dbfff030ce
Cygwin, better handle read-only FS 2018-04-06 20:02:35 +02:00
Ben RUBSON
980648c3b2
Add 2 options --noattrcache --nodatacache (#500)
--nocache : disables attr and data cache.
--noattrcache : disables attr cache only.
--nodatacache : disables data cache only.
2018-03-27 08:56:31 +02:00
Ben RUBSON
a220c395f4
Cygwin support (#499) 2018-03-26 23:36:16 +02:00
benrubson
d58d9fa5b4 Cygwin, documention links 2018-03-26 23:25:19 +02:00
benrubson
4399676ec7 Cygwin, update reverse tests 2018-03-26 23:24:07 +02:00
benrubson
daedfbc861 Cygwin, update normal tests 2018-03-26 23:22:00 +02:00
benrubson
9495f6f7aa Cygwin, disable xattr support 2018-03-26 23:20:32 +02:00
benrubson
1a8a5e0246 Cygwin, unmount 2018-03-26 23:19:52 +02:00
benrubson
e8e1dc3595 Cygwin, use correct mount point 2018-03-26 22:26:44 +02:00
benrubson
27394cd198 Cygwin, correct rename
When renaming a file, Windows first opens it, renames it and then closes it.
We then must decrease the target openFiles count.
2018-03-26 22:23:09 +02:00
benrubson
be0c616d38 Cygwin, correct delete
When deleting a file, Windows first opens it, deletes it, and closes it.
But Windows does not allow deleting opened files, so no need to check before deletion.
2018-03-26 22:19:06 +02:00
benrubson
89215f16c5 Cygwin, configure cmake 2018-03-26 22:09:57 +02:00
Ben RUBSON
9197385331
Correct a possible write crash (#494)
Originate buffer was modified by encryption, which can lead to an EncFS crash, as originate application may not like its buffer to be overwritten
2018-03-26 08:09:01 +02:00
Ben RUBSON
b80d30755c
Correct a segfault in encfsctl (#498)
The context must remain and not die just after init.
Introduced in dcf8435d4c.
2018-03-25 23:04:34 +02:00
Ben RUBSON
2a24884ff0
Add option to disable file data encoding (#487) 2018-03-20 08:30:14 +01:00
Ben RUBSON
154839d67c
Correct a small issue with encfsctl cat --reverse (#489)
If user provides a path with a leading slash, in reverse mode, it will be converted to '+' by plainpath, and will fail to decode.
2018-03-19 22:29:35 +01:00
Ben RUBSON
4f3e0bae09
Log to stderr instead of stdout (#491) 2018-03-19 21:38:59 +01:00
Ben RUBSON
eb6b9d2887
Improve symlink tests (#490)
To help with #488
2018-03-19 21:19:22 +01:00
Ben RUBSON
29dbb04a7d Improve .encfs6.xml test (#485)
This PR follows #478.

We must be sure .encfs6.xml does not show up in **reverse** move.
In normal mode, it does not show up by default because the filename can't be decoded.
So the test added in normal mode in #478 is let's say quite useless.
Let's keep it, but let's add this one too.
2018-03-18 12:50:44 +01:00
Ben RUBSON
11aec8f28d
Add -c & -u cmdline options (#474) 2018-03-18 00:14:58 +01:00
Ben RUBSON
dcf8435d4c Corrects encfsctl cat and add reverse cat (#483)
Correct encfsctl cat and add --reverse
2018-03-18 00:01:05 +01:00
Ben RUBSON
e963664cae Ignore .encfs6.xml file in reverse mode (#478)
* Ignore .encfs6.xml file in reverse mode
* Update reverse tests
* Add test cases
2018-03-17 17:58:04 +01:00
Ben RUBSON
8caea461a7 Do not count usage on root path (#471) 2018-03-17 16:18:03 +01:00
Ben RUBSON
6567b82822 Correct MAC typo in FS creation (#476) 2018-03-17 16:09:04 +01:00
Ben RUBSON
d479d92807 Notify about Win port. (#477)
While there, let's make some history updates.
2018-03-17 15:34:32 +01:00
Ben RUBSON
db623272df
Revert from/to link parameters for readability 2018-03-15 19:55:59 +01:00
Vasiliy Glazov
f9a63e0b8b Correct FSF address. (#465)
* Correct FSF address.

* Correct license notice to latest version recommended by GNU.
2018-03-03 22:03:36 +01:00
Ben RUBSON
14a66e248b
Correct a int/off_t buffer overflow in getSize() (#468) 2018-02-09 08:07:05 +01:00
rfjakob
c9d6ec8cff
Update ChangeLog for v1.9.4 release (#464) 2018-01-28 22:07:41 +01:00
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