11 Commits
v1.74 ... v1.76

Author SHA1 Message Date
fdabb7cbbe Merge pull request #9 from s3fs-fuse/issue/#8
version number up to v1.76 for new.
2014-01-21 07:37:38 -08:00
775d8758ef version number up to v1.76 for new. 2014-01-21 15:33:02 +00:00
31c979b290 Merge pull request #7 from s3fs-fuse/issue#5
Fixed a bug - issue#5
2014-01-16 08:09:50 -08:00
5fd33405af Fixed a bug - issue#5 2014-01-16 16:04:41 +00:00
1d1e8f3e7d Update ChangeLog 2014-01-06 17:12:41 +00:00
654c58c90a Merge pull request #4 from pdeschen/patch-1
Fix compilation error on MacOSX with missing const
2014-01-05 05:24:54 -08:00
db3bd7c366 Fix compilation error on MacOSX with missing const 2014-01-04 21:24:27 -05:00
26187b954e Merge pull request #3 from worpet/master
Fixed local timezone was incorrectly being applied to IAM and Last-Modified dates.
2014-01-01 05:15:51 -08:00
33ec3739e2 Update s3fs_util.cpp
Fixed local time was incorrectly being applied to IAM and Last-Modified dates.
2013-12-30 09:35:39 -06:00
d9f13dbdcb Merge pull request #1 from dejaeghd/master
Using %20 instead of the plus (+) sign for encoding spaces
2013-12-17 07:57:15 -08:00
d5626fe595 Changed url encoding of space character to use %20 instead of the plus (+) sign. 2013-12-17 15:12:03 +01:00
7 changed files with 113 additions and 8 deletions

106
ChangeLog
View File

@ -1,10 +1,110 @@
ChangeLog for S3FS
ChangeLog for S3FS
------------------
Version 1.1 -- Mon Oct 18 2010
Version 1.75 -- Jan 6, 2014
issue #1 - Using %20 instead of the plus (+) sign for encoding spaces
issue #3 - Fixed local timezone was incorrectly being applied to IAM and Last-Modified dates.
issue #4 - Fix compilation error on MacOSX with missing const
Version 1.74 -- Nov 24, 2013
This version is initial version on Github, same as on GoogleCodes(s3fs).
https://github.com/s3fs-fuse/s3fs-fuse/releases/tag/v1.74
see more detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.74.tar.gz
Version 1.73 -- Aug 23, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.73.tar.gz
Version 1.72 -- Aug 10, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.72.tar.gz
Version 1.71 -- Jun 15, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.71.tar.gz
Version 1.70 -- Jun 01, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.70.tar.gz
Version 1.69 -- May 15, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.69.tar.gz
Version 1.68 -- Apr 30, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.68.tar.gz
Version 1.67 -- Apr 13, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.67.tar.gz
Version 1.66 -- Apr 06, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.66.tar.gz
Version 1.65 -- Mar 30, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.65.tar.gz
Version 1.64 -- Mar 23, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.64.tar.gz
Version 1.63 -- Feb 24, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.63.tar.gz
Version 1.62 -- Jan 27, 2013
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.62.tar.gz
Version 1.61 -- Aug 30, 2011
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.61.tar.gz
Version 1.60 -- Aug 29, 2011
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.60.tar.gz
Version 1.59 -- Jul 28, 2011
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.59.tar.gz
Version 1.58 -- Jul 19, 2011
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.58.tar.gz
Version 1.57 -- Jul 07, 2011
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.57.tar.gz
Version 1.56 -- Jul 07, 2011
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.56.tar.gz
Version 1.55 -- Jul 02, 2011
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.55.tar.gz
Version 1.54 -- Jun 25, 2011
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.54.tar.gz
Version 1.53 -- Jun 22, 2011
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.53.tar.gz
Version 1.40 -- Feb 11, 2011
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.40.tar.gz
Version 1.33 -- Dec 30, 2010
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.33.tar.gz
Version 1.25 -- Dec 16, 2010
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.25.tar.gz
Version 1.19 -- Dec 2, 2010
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.19.tar.gz
Version 1.16 -- Nov 22, 2010
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.16.tar.gz
Version 1.10 -- Nov 6, 2010
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.10.tar.gz
Version 1.02 -- Oct 29, 2010
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.02.tar.gz
Version 1.01 -- Oct 28, 2010
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.01.tar.gz
Version 1.0 -- Oct 24, 2010
see detail on googlecodes: http://code.google.com/p/s3fs/downloads/detail?name=s3fs-1.0.tar.gz
------
Version 1.1 -- Mon Oct 18 2010
Dan Moore reopens the project and fixes various issues that had accumulated in the tracker. Adrian Petrescu converts the project to autotools and posts it to GitHub.
Version 1.0 -- 2008
Randy Rizun releases a basic version of S3FS on Google Code.

View File

@ -20,7 +20,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(s3fs, 1.74)
AC_INIT(s3fs, 1.76)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE()

View File

@ -425,6 +425,7 @@ bool convert_header_to_stat(const char* path, headers_t& meta, struct stat* pst,
if(S_ISREG(pst->st_mode)){
pst->st_blocks = get_blocks(pst->st_size);
}
pst->st_blksize = 4096;
// mtime
pst->st_mtime = get_mtime(meta);

View File

@ -85,7 +85,7 @@ struct filepart
// for progress
struct case_insensitive_compare_func
{
bool operator()(const std::string& a, const std::string& b){
bool operator()(const std::string& a, const std::string& b) const {
return strcasecmp(a.c_str(), b.c_str()) < 0;
}
};

View File

@ -708,6 +708,8 @@ static int s3fs_getattr(const char* path, struct stat* stbuf)
}
FdManager::get()->Close(ent);
}
stbuf->st_blksize = 4096;
stbuf->st_blocks = get_blocks(stbuf->st_size);
}
FPRNINFO("[path=%s] uid=%u, gid=%u, mode=%04o", path, (unsigned int)(stbuf->st_uid), (unsigned int)(stbuf->st_gid), stbuf->st_mode);
S3FS_MALLOCTRIM(0);

View File

@ -752,7 +752,7 @@ time_t cvtIAMExpireStringToTime(const char* s)
}
memset(&tm, 0, sizeof(struct tm));
strptime(s, "%Y-%m-%dT%H:%M:%S", &tm);
return mktime(&tm); // GMT
return timegm(&tm); // GMT
}
time_t get_lastmodified(const char* s)
@ -763,7 +763,7 @@ time_t get_lastmodified(const char* s)
}
memset(&tm, 0, sizeof(struct tm));
strptime(s, "%a, %d %b %Y %H:%M:%S %Z", &tm);
return mktime(&tm); // GMT
return timegm(&tm); // GMT
}
time_t get_lastmodified(headers_t& meta)

View File

@ -130,7 +130,9 @@ string urlEncode(const string &s)
} else if (s[i] == '.' || s[i] == '-' || s[i] == '*' || s[i] == '_') {
result += s[i];
} else if (s[i] == ' ') {
result += '+';
result += '%';
result += '2';
result += '0';
} else {
result += "%";
result += hexAlphabet[static_cast<unsigned char>(s[i]) / 16];