Tatsuhiro Tsujikawa
|
8246fd1ff5
Updating upload size and speed must be done separately
|
9 år sedan |
Tatsuhiro Tsujikawa
|
b1132d6b10
make clang-format using clang-format-3.6
|
9 år sedan |
Tatsuhiro Tsujikawa
|
1adef4db0c
Fix compile warning with Mingw64 x86 build
|
10 år sedan |
Tatsuhiro Tsujikawa
|
318c804504
Use user-defined literal for k, m, and g (powers of 1024)
|
10 år sedan |
Nils Maier
|
3590077d5c
More auto-converts by cpp11-migrate
|
12 år sedan |
Nils Maier
|
8526ceeb45
Convert to autos and ranged loops
|
12 år sedan |
Nils Maier
|
d8f44ef4f6
Convert most 0/NULL pointers to nullptr
|
12 år sedan |
Tatsuhiro Tsujikawa
|
81f46fbf92
Use CXX11_OVERRIDE
|
12 år sedan |
Tatsuhiro Tsujikawa
|
7e6db8d801
Use std::unique_ptr instead of array_ptr
|
12 år sedan |
Tatsuhiro Tsujikawa
|
4f7d1c395b
Use std::unique_ptr for ProgressUpdate instead of raw pointer
|
12 år sedan |
Tatsuhiro Tsujikawa
|
098f1571be
Wrap BtMessage objects by std::unique_ptr instead of std::shared_ptr
|
12 år sedan |
Tatsuhiro Tsujikawa
|
03ae308faa
Use RequestSlot as pointer to avoid copying
|
12 år sedan |
Tatsuhiro Tsujikawa
|
1a299c4d7c
Use raw pointers to PieceStorage, PeerStorage and DownloadContxt for BtMessages
|
12 år sedan |
Tatsuhiro Tsujikawa
|
07d270c87e
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
|
12 år sedan |
Tatsuhiro Tsujikawa
|
e3506b04fb
Revert 9eea959 only the parts which affect src/BtPieceMessage.cc
|
12 år sedan |
Tatsuhiro Tsujikawa
|
9eea959455
Improve peer bitfield and piece stat update
|
12 år sedan |
Tatsuhiro Tsujikawa
|
63b6075c91
Pack Piece message header and body into one chunk
|
12 år sedan |
Tatsuhiro Tsujikawa
|
c893d82867
Removed BtMessage::isSendingProgress()
|
12 år sedan |
Tatsuhiro Tsujikawa
|
8ba0d58ee1
Vectorized write for SocketBuffer to avoid small packet
|
12 år sedan |
Tatsuhiro Tsujikawa
|
838949ab85
Append new data to the contagious cache data
|
13 år sedan |
Tatsuhiro Tsujikawa
|
56c498bcbf
Clear write cache on Segment::clear and Piece::clearAllBlock
|
13 år sedan |
Tatsuhiro Tsujikawa
|
f314719618
Added --disk-cache option
|
13 år sedan |
Tatsuhiro Tsujikawa
|
9c1fe4addd
Use array_ptr to remove try block
|
13 år sedan |
Tatsuhiro Tsujikawa
|
b2893f1e31
Get the correct uploaded data size
|
13 år sedan |
Tatsuhiro Tsujikawa
|
0ecfa19925
Reworked download/upload statistics calculation
|
13 år sedan |
Tatsuhiro Tsujikawa
|
3258614033
Removed *Handle typedef
|
13 år sedan |
Tatsuhiro Tsujikawa
|
215d1d3d0b
Made static create function of BtMessage subclass return raw pointer
|
13 år sedan |
Tatsuhiro Tsujikawa
|
c63af24c63
Made BtMessage's NAME const char[]
|
13 år sedan |
Tatsuhiro Tsujikawa
|
860f4dd06a
Use int64_t instead of off_t
|
13 år sedan |
Tatsuhiro Tsujikawa
|
4b03634f36
Use PRId64 for int64_t format specifier
|
13 år sedan |