Andrew Gaul
76c0ef86e4
Move base64 and hex functions to string_util
2015-08-19 13:47:26 -07:00
Takeshi Nakatani
a3e820e733
Merge pull request #245 from andrewgaul/map-duplicate-lookups
...
Elide duplicate lookups of std::map via iterators
2015-08-20 01:22:06 +09:00
Takeshi Nakatani
a3568a1419
Merge pull request #243 from andrewgaul/cppcheck-travis
...
Run cppcheck during Travis builds
2015-08-20 01:20:15 +09:00
Takeshi Nakatani
4ad57bdea5
Merge pull request #240 from andrewgaul/md5
...
Enable Content-MD5 during multipart upload part
2015-08-20 01:19:01 +09:00
Takeshi Nakatani
085733d7c9
Merge pull request #239 from andrewgaul/google-code
...
Update stale Google Code reference in --help
2015-08-20 01:08:00 +09:00
Takeshi Nakatani
fcb58aec3c
Merge pull request #238 from andrewgaul/cppcheck
...
Enable all cppcheck rules
2015-08-20 01:06:50 +09:00
Takeshi Nakatani
402c609316
Merge pull request #237 from andrewgaul/test-refactor
...
Refactor tests into individual functions
2015-08-20 01:03:03 +09:00
Takeshi Nakatani
026a9f2bdc
Merge pull request #235 from andrewgaul/complete-mpu-leak
...
Plug leak during complete multipart upload
2015-08-20 00:40:00 +09:00
Takeshi Nakatani
1918d6fa2d
Merge pull request #234 from andrewgaul/readme
...
Update README
2015-08-20 00:37:49 +09:00
Takeshi Nakatani
fd04b9a437
Merge pull request #233 from andrewgaul/remove-inttostr
...
Remove IntToStr
2015-08-20 00:34:21 +09:00
Takeshi Nakatani
ea99603b58
Merge pull request #232 from andrewgaul/stat-cache-locking
...
Always hold stat_cache_lock when using stat_cache
2015-08-20 00:28:57 +09:00
Takeshi Nakatani
036612dbb0
Merge pull request #231 from andrewgaul/autolock
...
Rewrite AutoLock
2015-08-20 00:24:05 +09:00
Andrew Gaul
67d1576dfb
Elide duplicate lookups of std::map via iterators
...
Also remove use of C++11 std::map::at.
2015-08-18 14:00:42 -07:00
Andrew Gaul
2850fe731b
Run cppcheck during Travis builds
2015-08-18 03:01:14 -07:00
Andrew Gaul
a157ac59ca
Enable Content-MD5 during multipart upload part
...
This allows retries of multi-part uploads instead of discovering a
fatal error during complete multipart upload. Also enable Content-MD5
for integration tests and refactor hexadecimal code.
2015-08-18 02:54:00 -07:00
Andrew Gaul
20f425fe15
Update README
...
This better explains many of the features and limitations and removes
stale information.
2015-08-17 07:48:11 -07:00
Andrew Gaul
32520fd1fb
Update stale Google Code reference in --help
2015-08-16 23:30:41 -07:00
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
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