Commit Graph

643 Commits

Author SHA1 Message Date
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
rfjakob
7b9b7ad847 README: Add FAQ for Dropbox (#390)
Fixes https://github.com/vgough/encfs/issues/388
2017-08-25 23:30:15 -07:00
Valient Gough
1e43b05712
spread CI work over targets 2017-08-25 23:16:46 -07:00
Valient Gough
64c3b4459c
cleanup code, check errno usage 2017-08-25 22:52:59 -07:00
Valient Gough
9089b8555f
cleanup lint warnings, run clang-format 2017-08-25 22:34:33 -07:00
Valient Gough
e2e1fadfa9
skip sudo tests by default unless in CI 2017-08-25 22:29:52 -07:00
Ben RUBSON
72e21f3c09 Merge branch 'master' into sanity 2017-08-22 07:49:03 +02:00
Valient Gough
56978fb905 drop circle, add clang-tidy to travis build (#389)
* drop circle, improve ci scripts
* allow branch builds
* travis: turn off sudo for one of the builds
2017-08-21 21:09:42 -07:00
Code7R
636766e620 link with libatomic (#387)
* link with libatomic when available
* Use --as-needed flag to avoid libatomic reference where not required
2017-08-19 23:37:52 -07:00
benrubson
41d5ec4cba Open file for write for every truncate
solves #382
2017-08-15 16:15:58 +02:00
benrubson
acbeb64765 Make write() write all its data even if it takes time 2017-08-11 07:51:21 +02:00
Valient Gough
d4273b0331 Merge pull request #381 from benrubson/testinc
Add current path to perl integration tests
2017-08-10 19:33:56 -04:00
Valient Gough
9794a9f0c1 Merge branch 'master' into testinc 2017-08-10 18:16:11 -04:00
benrubson
dd0df7c60c Add current path to perl integration tests 2017-08-10 20:49:39 +02:00
benrubson
8e13120b18 Check BADMSG return codes 2017-08-10 13:04:24 +02:00
benrubson
59ba9de03f Typo 2017-08-10 12:23:28 +02:00
benrubson
3cd97c3568 Check (not entirely yet) read and write return codes 2017-08-10 12:18:46 +02:00
benrubson
5c90ad451e Make write return the number of bytes written 2017-08-09 17:36:20 +02:00
Valient Gough
6fe24b671b Merge pull request #377 from benrubson/build
Re-enable integration tests in Travis
2017-08-09 00:41:28 -04:00
Valient Gough
da06619901 Merge branch 'master' into build 2017-08-09 00:34:59 -04:00
Valient Gough
5682ade36d Merge pull request #379 from vgough/travis-osx
switch to osx_image xcode8.3
2017-08-09 00:30:27 -04:00
Valient Gough
5dfa28508e
switch to osx_image xcode8.3 2017-08-08 23:34:32 -04:00
benrubson
01ffc39269 Re-enable integration tests in Travis 2017-08-08 17:50:44 +02:00
Ben RUBSON
a031aa208c Merge branch 'master' into errno 2017-08-08 08:26:57 +02:00
Valient Gough
1eb93609ce Merge pull request #376 from vgough/osx
Special case FDATASYNC check on Apple
2017-08-08 01:58:18 -04:00
Valient Gough
a8eebf3d8e
special case Linux Travis setup 2017-08-08 01:54:15 -04:00
Valient Gough
a98efa9a0b
add osx to travis build 2017-08-08 00:32:30 -04:00
Valient Gough
91e183fb85
special case fdatasync check on apple
fixes #375
2017-08-08 00:26:01 -04:00
Valient Gough
d820f708ad
format 2017-08-07 23:01:44 -04:00
Valient Gough
217f646ea1
update install instructions 2017-08-07 22:49:38 -04:00
Valient Gough
27c0c71c42
remove another coverity reference 2017-08-07 22:10:51 -04:00
Valient Gough
206f0d9271
remove coverity links 2017-08-07 22:05:59 -04:00
Valient Gough
b45006d791 Merge pull request #365 from pobv/patch-1
Update de.po
2017-08-07 21:07:17 -04:00
Valient Gough
3758dfa59e Merge branch 'master' into patch-1 2017-08-07 21:02:32 -04:00
Valient Gough
924a480984 Merge pull request #373 from vgough/vendor-gtest
add unit test and benchmark targets
2017-08-07 20:58:14 -04:00
Valient Gough
af48c86437
fix execute permission on check script 2017-08-07 20:05:27 -04:00
Valient Gough
bee004f892
update ci builds 2017-08-07 19:58:03 -04:00
Valient Gough
6d130cda8b
move unit tests and integration tests to separate dirs 2017-08-07 19:52:03 -04:00