Andrew Gaul
c0b21d8808
Enable all cppcheck rules
2015-08-16 17:13:24 -07:00
Andrew Gaul
17d223b542
Refactor tests into individual functions
2015-08-16 15:50:17 -07:00
Andrew Gaul
9c5bf0bb66
Plug leak during complete multipart upload
2015-08-15 22:38:24 -07:00
Andrew Gaul
dfa63345ed
Always hold stat_cache_lock when using stat_cache
...
We could further improve this code by holding stat_cache_lock before
calls to DelStat instead of unlocking then relocking it.
2015-08-14 20:14:12 -07:00
Andrew Gaul
3f59b8da01
Rewrite AutoLock
...
Previously AutoLock::Lock allowed subsequent callers to proceed
without the lock. Further is_locked was not always protected by
auto_mutex. Finally AutoLock eagerly released auto_mutex when
recursively unlocking. s3fs does not need recursive locks so we
rewrite and simplify AutoLock. Partially surfaced by Coverity.
2015-08-14 20:00:56 -07:00
Andrew Gaul
0ea88a73c7
Remove IntToStr
...
str duplicates this functionality. Also add unit test.
2015-08-12 08:25:09 -07:00
Takeshi Nakatani
2e344bb48f
Merge pull request #229 from andrewgaul/test-rename-before-close
...
Convert rename_before_close to a shell script
2015-08-13 00:10:07 +09:00
Takeshi Nakatani
c91a645782
Convert rename_before_close to a shell script #229
2015-08-12 15:09:34 +00:00
Takeshi Nakatani
96f63a17c0
Merge pull request #224 from andrewgaul/cppcheck
...
Configure cppcheck
2015-08-13 00:05:31 +09:00
Takeshi Nakatani
756d1e5e81
Configure cppcheck #224
2015-08-12 15:04:16 +00:00
Takeshi Nakatani
2482aada43
Merge pull request #222 from andrewgaul/explicit
...
Annotate constructors as explicit
2015-08-12 23:42:03 +09:00
Takeshi Nakatani
64146f69a4
Merge pull request #221 from andrewgaul/compare
...
Compare idiomatically
2015-08-12 23:41:24 +09:00
Takeshi Nakatani
edb3c78fe9
Merge pull request #220 from andrewgaul/test-rmdir-nonempty-directory
...
Test removing a non-empty directory
2015-08-12 23:41:08 +09:00
Takeshi Nakatani
49e32967ec
Merge pull request #219 from andrewgaul/coverity
...
Address Coverity errors
2015-08-12 23:40:47 +09:00
Takeshi Nakatani
5655cffd32
Merge pull request #217 from jelly/master
...
Override install, so that the make install does not install rename_before_close under /test
2015-08-12 23:40:18 +09:00
Takeshi Nakatani
09dff484e1
Merge pull request #215 from RobbKistler/memleak
...
Fix mem leak in openssl_auth.cpp:s3fs_sha256hexsum
2015-08-12 23:38:51 +09:00
Takeshi Nakatani
deb0e9eec3
Merge pull request #213 from andrewgaul/rename-large-files
...
Parse ETag from copy multipart correctly
2015-08-12 23:38:22 +09:00
Andrew Gaul
5d1c8a7eda
Convert rename_before_close to a shell script
2015-08-11 20:51:18 -07:00
Andrew Gaul
ff8a0c2eea
Parse ETag from copy multipart correctly
...
Previously s3fs misparsed this, preventing renames of files larger
than 5 GB. Integration test disabled until S3Proxy 1.5.0 is released.
2015-08-11 14:43:35 -07:00
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