Revision 922c6aff
b/trunk/Pithos.Client.WPF/Properties/AssemblyInfo.cs | ||
---|---|---|
56 | 56 |
[assembly: AssemblyCopyright("Copyright © GRNet 2011-2012")] |
57 | 57 |
[assembly: AssemblyTrademark("")] |
58 | 58 |
[assembly: AssemblyCulture("")] |
59 |
[assembly: AssemblyInformationalVersion("2012-03-14")]
|
|
59 |
[assembly: AssemblyInformationalVersion("2012-03-20")]
|
|
60 | 60 |
|
61 | 61 |
// Setting ComVisible to false makes the types in this assembly not visible |
62 | 62 |
// to COM components. If you need to access a type in this assembly from |
... | ... | |
93 | 93 |
// You can specify all the values or you can default the Build and Revision Numbers |
94 | 94 |
// by using the '*' as shown below: |
95 | 95 |
// [assembly: AssemblyVersion("1.0.*")] |
96 |
[assembly: AssemblyVersion("0.7.20312.0")] |
|
97 |
[assembly: AssemblyFileVersionAttribute("0.7.20312.0")] |
|
96 |
[assembly: AssemblyVersion("0.7.20313.0")] |
|
97 |
[assembly: AssemblyFileVersionAttribute("0.7.20313.0")] |
b/trunk/Pithos.Core/Agents/BlockExtensions.cs | ||
---|---|---|
56 | 56 |
{ |
57 | 57 |
|
58 | 58 |
|
59 |
public static int Read(this FileInfo fileInfo,byte[] buffer,int offset,int count) |
|
60 |
{ |
|
59 |
public static int Read(this FileInfo fileInfo,byte[] buffer,long offset,int count) |
|
60 |
{ |
|
61 |
if (offset <= 0) |
|
62 |
throw new ArgumentOutOfRangeException("offset", offset, "The file offset can't be negative"); |
|
63 |
Contract.EndContractBlock(); |
|
61 | 64 |
//Open the stream only long enough to read a block |
62 | 65 |
using (var stream = fileInfo.OpenRead()) |
63 | 66 |
{ |
b/trunk/Pithos.Core/Agents/BlockUpdater.cs | ||
---|---|---|
188 | 188 |
var blockIndex = block.Key; |
189 | 189 |
using (var blockStream = File.OpenRead(blockPath)) |
190 | 190 |
{ |
191 |
var offset = blockIndex*ServerHash.BlockSize;
|
|
191 |
long offset = blockIndex*ServerHash.BlockSize;
|
|
192 | 192 |
stream.Seek(offset, SeekOrigin.Begin); |
193 | 193 |
blockStream.CopyTo(stream); |
194 | 194 |
} |
b/trunk/Pithos.Core/Agents/NetworkAgent.cs | ||
---|---|---|
959 | 959 |
{ |
960 | 960 |
//Find the proper block |
961 | 961 |
var blockIndex = treeHash.HashDictionary[missingHash]; |
962 |
var offset = blockIndex*accountInfo.BlockSize;
|
|
962 |
long offset = blockIndex*accountInfo.BlockSize;
|
|
963 | 963 |
|
964 | 964 |
var read = fileInfo.Read(buffer, offset, accountInfo.BlockSize); |
965 | 965 |
|
b/trunk/Pithos.Installer/versioninfo.xml | ||
---|---|---|
5 | 5 |
<title>Pithos MS Client</title> |
6 | 6 |
<link>https://code.grnet.gr/projects/pithos-ms-client/repository/revisions/master/changes/trunk/Pithos.Installer/versioninfo.xml</link> |
7 | 7 |
<description></description> |
8 |
<language>en</language> |
|
8 |
<language>en</language> |
|
9 |
<item> |
|
10 |
<title>Version 0.7.20313</title> |
|
11 |
<sparkle:releaseNotesLink>https://code.grnet.gr/projects/pithos-ms-client/repository/revisions/master/raw/trunk/Pithos.Installer/rnotes.0.7.20313.html</sparkle:releaseNotesLink> |
|
12 |
<pubDate>Tue, 20 Mar 2012 09:00:00 +0200</pubDate> |
|
13 |
<enclosure |
|
14 |
url="https://code.grnet.gr/attachments/download/1023/PithosPlus_Setupv0.7.20313.0.exe" |
|
15 |
length="4334895" |
|
16 |
type="application/octet-stream" |
|
17 |
sparkle:version="0.7.20313" |
|
18 |
/> |
|
19 |
</item> |
|
9 | 20 |
<item> |
10 | 21 |
<title>Version 0.7.20312</title> |
11 | 22 |
<sparkle:releaseNotesLink>https://code.grnet.gr/projects/pithos-ms-client/repository/revisions/master/raw/trunk/Pithos.Installer/rnotes.0.7.20312.html</sparkle:releaseNotesLink> |
Also available in: Unified diff