Commit Graph

629 Commits

Author SHA1 Message Date
Andrew Gaul
cbf7777f41 Configure cppcheck 2015-08-08 05:18:51 -07:00
Robb Kistler
fcb55c2109 Fix mem leaks in openssl_auth.cpp, nss_auth.cpp
Fix memory leaks in openssl_auth.cpp:s3fs_sha256hexsum and
nss_auth.cpp:s3fs_sha256hexsum.  Leaks occur every time a file
is created.
2015-08-06 12:45:40 -07:00
Andrew Gaul
b6fa2deb9f Annotate constructors as explicit
This prevents implicit conversions.
2015-08-05 23:41:53 -07:00
Andrew Gaul
801ca0c2d3 Compare idiomatically 2015-08-05 23:35:08 -07:00
Andrew Gaul
5f792a9a2b Test removing a non-empty directory 2015-08-05 23:31:13 -07:00
Andrew Gaul
8ee71caabb Address Coverity errors
Fixed an uninitialized member, misordered NULL check, resource leak,
and unconsumed return value.
2015-08-05 23:28:06 -07:00
Jelle van der Waa
ed70f7763a Override install, so that the make install does not install
rename_before_close under /test
2015-08-01 17:15:00 +02:00
Takeshi Nakatani
730262f000 Merge pull request #212 from s3fs-fuse/master
update content of the master to macosx branch.
2015-07-20 01:38:42 +09:00
Takeshi Nakatani
cbc057bca7 Merge pull request #211 from s3fs-fuse/release179
Updated ChangeLog and configure.ac for v1.79
2015-07-20 01:23:35 +09:00
Takeshi Nakatani
6442642656 Updated ChangeLog and configure.ac for v1.79 2015-07-19 16:14:33 +00:00
Takeshi Nakatani
07a5a36b6a Merge pull request #207 from jalessio/fix_a_few_spelling_issues
Fixed a few small spelling issues.
2015-07-12 01:02:53 +09:00
Jamie Alessio
912bc58df0 Fixed a few small spelling issues. 2015-07-10 11:50:40 -07:00
Takeshi Nakatani
13a91a52e8 Merge pull request #204 from andrewgaul/xattr-test
Add integration test for xattr
2015-06-29 00:51:24 +09:00
Takeshi Nakatani
4190130194 Merge pull request #202 from flandr/osx-xattr
Specialize {set,get}xattr for OS X
2015-06-29 00:29:57 +09:00
Andrew Gaul
d9b124f91e Add integration test for xattr 2015-06-28 04:16:35 -07:00
Nate Rosenblum
9b3c87ec97 Specialize {set,get}xattr for OS X
These system calls take an extra 'position' parameter on OS X. A
non-zero position value is only valid for resource forks (the Darwin
VFS layer will reject anything else with EINVAL); this patch simply
adds and ignores the parameter on Apple platforms.

Allows building against OSXFUSE.
2015-06-25 12:56:15 -07:00
Takeshi Nakatani
8f85e5e543 Merge pull request #200 from s3fs-fuse/fixbug
fixed fallback to sigv2 for bucket create and GCS
2015-06-20 13:45:45 +09:00
Takeshi Nakatani
966d229787 fixed fallback to sigv2 for bucket create and GCS 2015-06-20 04:34:32 +00:00
Takeshi Nakatani
4d49ace06b Merge pull request #192 from andrewgaul/special-characters
Simplify URL encoding
2015-06-20 11:47:22 +09:00
Takeshi Nakatani
ad8c64104e Merge pull request #199 from s3fs-fuse/xattr
Supported extended attributes(retry)
2015-06-20 11:46:47 +09:00
Takeshi Nakatani
d59eff4288 Merge pull request #198 from andrewgaul/travis
Disasble integration tests for Travis
2015-06-20 10:42:23 +09:00
Andrew Gaul
219b155037 Disasble integration tests for Travis
The previous KVM infrastructure supported this but their new VMware
infrastructure does not.
2015-06-18 11:28:10 -07:00
Takeshi Nakatani
fe3abed9f0 Chaged codes about iterator etc 2015-06-13 03:27:07 +00:00
Takeshi Nakatani
0ecf4aa6b4 Chaged codes about iterator 2015-06-13 03:08:56 +00:00
Takeshi Nakatani
477573265a Merge pull request #190 from Rotwang/master
Add a no_check_certificate option.
2015-06-13 11:12:35 +09:00
Andrew Gaul
4e03acf17a Simplify URL encoding
This also encodes asterisk and tilde correctly when listing a file
with a V4 auth endpoint.  Also add tests for special characters
although s3proxy does not yet support V4 auth.
Fixes #188.  Fixes #194.
2015-06-10 13:15:58 -07:00
Takeshi Nakatani
84fb3d83d8 Fixed xattr for binary value 2015-06-06 16:39:39 +00:00
Bartlomiej Palmowski
3522e5eda3 Add no_check_certificate option which allows to ignore issues with self signed certs. 2015-05-20 17:32:36 +02:00
Takeshi Nakatani
3056644969 Merge pull request #185 from andrewgaul/typos
Correct obvious typos in usage and README
2015-05-06 22:37:22 +09:00
Takeshi Nakatani
91587ad2c8 Merge pull request #184 from andrewgaul/multipart-size
Add usage information for multipart_size
2015-05-06 22:36:37 +09:00
Andrew Gaul
8a73d9fff0 Correct obvious typos in usage and README 2015-05-04 16:25:05 -07:00
Andrew Gaul
28ee9f27b9 Add usage information for multipart_size
Also improve error message.
2015-05-04 16:21:58 -07:00
Takeshi Nakatani
7ac58a1c69 Merge pull request #178 from andrewgaul/gitignore
Update .gitignore
2015-04-29 00:56:54 +09:00
Takeshi Nakatani
3914281f1b Merge pull request #177 from andrewgaul/mailmap
Add .mailmap
2015-04-29 00:56:44 +09:00
Takeshi Nakatani
3d734ad3e3 Merge pull request #176 from mooredan/master
configure.ac: detect target, if target is darwin (OSX), then
2015-04-29 00:55:35 +09:00
Takeshi Nakatani
bb4075d7b9 Merge pull request #173 from andrewgaul/travis
Run integration tests via Travis
2015-04-29 00:54:14 +09:00
Dan Moore
5b11ac0f4c Moved __APPLE__ #endif to correct position 2015-04-27 12:14:09 -07:00
Andrew Gaul
7bc5f0ca13 Update .gitignore 2015-04-27 11:19:14 -07:00
Andrew Gaul
14ce061215 Add .mailmap
This cleans up git shortlog output.
2015-04-27 11:17:39 -07:00
Dan Moore
adb5a35097 configure.ac: detect target, if target is darwin (OSX), then
change the minimum version of fuse required.  Change the
checkers to use a variable for the minimum fuse version
instead of it being hardcoded in four different places.

src/s3fs.cpp: Use __APPLE__ define around fuse code that
is offensive to osxfuse. Not including the code doesn't
seem to matter.
2015-04-25 17:13:20 -07:00
Andrew Gaul
b0a12bcac1 Disable rename_before_close
This test currently fails and interferes with the larger integration
test.  References #145.
2015-04-24 11:28:18 -07:00
Andrew Gaul
39d4715b82 Run integration tests via Travis
Mail from the Travis team:

Thanks for the email. I have set up s3fs-fuse/s3fs-fuse with our alpha
testing stack which may allow you to use FUSE.

To use it, add the following to your .travis.yml:
dist: trusty

Please keep in mind that the service may become unavailable without
notice, and change details. We welcome your feedback as to what works
and what does not with this setup.
2015-04-23 21:25:24 -07:00
Takeshi Nakatani
aac92bd6c0 Fixed wrong owner checking and return codes 2015-04-21 16:18:05 +00:00
Takeshi Nakatani
f258a14070 Supported extended attributes, initial commit 2015-04-20 17:24:57 +00:00
Takeshi Nakatani
3701f1c16b Merge pull request #171 from pabigot/mixedcase
Support buckets with mixed-case names
2015-04-21 02:06:07 +09:00
Peter A. Bigot
92fcee824b curl: use pathrequeststyle option when constructing Host endpoint
Buckets with mixed-case names can't be accessed with the virtual-hosted
style API due to DNS limitations.  S3FS has an option for
pathrequeststyle which is used for the URL, but it was not applied when
building the endpoint passed through the Host header.  Fix this, and
relax the validation on bucket names when using this style.

See: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2015-04-19 08:31:40 -05:00
Takeshi Nakatani
00f8e1d0ba Merge pull request #170 from s3fs-fuse/issue/#157
Reviewed and fixed response codes print in curl.cpp - #157
2015-04-18 23:37:28 +09:00
Takeshi Nakatani
43191eea53 Added cache apt in travis.yml 2015-04-18 13:45:58 +00:00
Takeshi Nakatani
490ed8f689 Reviewed and fixed response codes print in curl.cpp - #157 2015-04-18 13:32:04 +00:00
Takeshi Nakatani
30152284cc Merge pull request #168 from kahing/fix-v4-host-endpoint
switch to use region specific endpoints to compute correct v4 signature
2015-04-18 18:02:45 +09:00