summaryrefslogtreecommitdiff
path: root/src/DefaultPieceStorage.cc
Commit message (Expand)AuthorAgeFilesLines
* Don't download piece which is filtered out (e.g., --select-file)Tatsuhiro Tsujikawa2016-10-261-1/+6
* Use default where possibleNils Maier2016-08-291-1/+1
* Change have entry indexing methodTatsuhiro Tsujikawa2016-07-101-25/+33
* Use std::make_shared for efficiencyTatsuhiro Tsujikawa2016-05-161-2/+2
* Merge branch 'master' into random-webseedingTatsuhiro Tsujikawa2016-03-261-244/+227
|\
| * make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-241/+223
* | Merge branch 'master' into random-webseedingTatsuhiro Tsujikawa2015-10-031-24/+12
|\|
| * Use std::shuffle, instead of std::random_shuffleTatsuhiro Tsujikawa2015-06-111-1/+3
| * Replace timer facility with chrono libTatsuhiro Tsujikawa2015-06-091-23/+9
* | Add --stream-piece-selector=randomTatsuhiro Tsujikawa2015-02-141-0/+4
|/
* Add --bt-detach-seed-only optionTatsuhiro Tsujikawa2014-10-141-4/+7
* Use std::make_shared and make_unique where possible, part 1Tatsuhiro Tsujikawa2014-09-131-15/+17
* Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, alwaysNils Maier2014-04-171-8/+0
* Limit number of opened file globally with --bt-max-open-files optionTatsuhiro Tsujikawa2013-11-171-2/+0
* More auto-converts by cpp11-migrateNils Maier2013-09-201-1/+1
* Convert to autos and ranged loopsNils Maier2013-08-211-27/+20
* Convert most 0/NULL pointers to nullptrNils Maier2013-08-201-1/+1
* DefaultPieceStorage::initStorage: Clean upTatsuhiro Tsujikawa2013-07-061-4/+4
* MultiDiskAdaptor: Use std::unique_ptr for DiskWriterEntry and DiskWriterTatsuhiro Tsujikawa2013-07-061-3/+2
* Return nullptr directly where std::shared_ptr is expectedTatsuhiro Tsujikawa2013-07-041-6/+6
* Use std::unique_ptr for StreamPieceSelector instead of std::shared_ptrTatsuhiro Tsujikawa2013-07-041-3/+6
* Use std::unique_ptr for PieceSelector instead of std::shared_ptrTatsuhiro Tsujikawa2013-07-041-1/+12
* Use std::unique_ptr instead of array_ptrTatsuhiro Tsujikawa2013-07-031-5/+5
* Return std::unique_ptr member as const refTatsuhiro Tsujikawa2013-06-261-2/+1
* DownloadContext::attrs_ now holds std::unique_ptrTatsuhiro Tsujikawa2013-06-231-2/+1
* Use std::mem_fn instead of std::mem_funTatsuhiro Tsujikawa2013-06-221-1/+2
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-54/+54
* Send HAVE message to the peer which the piece is downloaded fromTatsuhiro Tsujikawa2013-06-131-3/+0
* Refactor Notifier interface to accept DownloadEventListener interfaceTatsuhiro Tsujikawa2013-05-111-1/+1
* mingw32: Re-open files with read-only mode enabled on seedingTatsuhiro Tsujikawa2012-12-241-0/+11
* Added --disk-cache optionTatsuhiro Tsujikawa2012-12-031-1/+35
* Removed *Handle typedefTatsuhiro Tsujikawa2012-09-281-8/+8
* Use std::vector instead of std::map for ContextAttribute objectsTatsuhiro Tsujikawa2012-09-221-1/+1
* Added new file allocation method called 'trunc'Tatsuhiro Tsujikawa2012-08-121-0/+2
* Use enum to select file allocation methodTatsuhiro Tsujikawa2012-08-111-1/+1
* Don't sum in-flight piece which does not intersect filtered rangesTatsuhiro Tsujikawa2012-06-271-5/+20
* Use int64_t instead of off_tTatsuhiro Tsujikawa2012-06-251-7/+7
* Use std::set instead of std::deque if the elements are sorted andTatsuhiro Tsujikawa2012-03-231-20/+8
* Added JSON-RPC over WebSocket.Tatsuhiro Tsujikawa2012-03-201-0/+5
* Fixed clang warning and errors.Tatsuhiro Tsujikawa2012-03-011-1/+1
* Use int32_t for piece length instead of size_tTatsuhiro Tsujikawa2011-12-091-1/+1
* Replaced uint64_t with off_t or int64_t.Tatsuhiro Tsujikawa2011-12-091-7/+7
* Added PieceStorage::onDownloadIncomplete() virtual function.Tatsuhiro Tsujikawa2011-08-241-0/+5
* GeomStreamPieceSelector: Made base changeable and added offsetIndexTatsuhiro Tsujikawa2011-08-241-1/+1
* Added geom parameter to --stream-piece-selector option.Tatsuhiro Tsujikawa2011-08-241-4/+5
* wallclock is now retrieved using global::wallclock() call.Tatsuhiro Tsujikawa2011-08-101-2/+2
* Consistent naming scheme for hash type and digest for Piece.Tatsuhiro Tsujikawa2011-07-271-2/+2
* Consistent naming scheme for hash type and digest for DownloadContext.Tatsuhiro Tsujikawa2011-07-271-2/+2
* Removed use of O_DIRECT because it performs bad.Tatsuhiro Tsujikawa2011-07-161-7/+0
* Managed user cuid in Piece.Tatsuhiro Tsujikawa2011-07-161-31/+61