| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add removeDownload, pauseDownload and unpauseDownload API function | Tatsuhiro Tsujikawa | 2013-05-01 | 1 | -26/+24 |
| | | |||||
| * | Implement IndexedList::iterator | Tatsuhiro Tsujikawa | 2013-03-03 | 1 | -5/+5 |
| | | | | | | It is dangerous to expose internal iterator to the outside, which is easily misused. | ||||
| * | Remove PeerStorage::getActivePeers() and add getUsedPeers() instead | Tatsuhiro Tsujikawa | 2013-01-26 | 1 | -6/+7 |
| | | | | | | PeerStorage::getUsedPeers() returns non-active peers, so caller must call Peer::isActive() to get active peers. | ||||
| * | Faster deletion of RequestGroup and DownloadResult lists | Tatsuhiro Tsujikawa | 2012-12-19 | 1 | -20/+18 |
| | | |||||
| * | Use 64 bits random bytes as GID | Tatsuhiro Tsujikawa | 2012-12-16 | 1 | -29/+47 |
| | | | | | | | | | | | This change replaces the current 64 bit sequential GID with 64 bits random bytes GID in an attempt to support persistent GID. Internally, the GID is stored as uint64_t. For human representation and RPC interface, GID is represented as 16 bytes hex string. For console readout, 16 bytes are too long, so it is abbreviated to first 6 bytes. When querying GID in RPC calls, user can speicfy the prefix of GID as long as the prefix is shared by more than 1 GID entries. | ||||
| * | Simplified TransferStat struct | Tatsuhiro Tsujikawa | 2012-10-26 | 1 | -3/+3 |
| | | |||||
| * | Reworked download/upload statistics calculation | Tatsuhiro Tsujikawa | 2012-10-25 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | The old implementation calculates download/upload statistics for a RequestGroup by summing up all PeerStat objects. For global statistics, those are summed together. This clearly incurs runtime penalty and we introduced some kind of caching which updates statistics every 250ms but it did not work right. This change removes all these aggregation code, and instead makes RequestGroup and RequestGroupMan objects hold NetStat object and download/upload bytes are directly calculated by thier own NetStat. This is far more simplar than the old way and less runtime penalty and brings more accuracy. | ||||
| * | Added --rpc-save-upload-metadata option | Tatsuhiro Tsujikawa | 2012-10-16 | 1 | -27/+36 |
| | | | | | | | | | | | If true is given, which is default, save the uploaded torrent or metalink metadata in the directory specified by --dir option. The filename consists of SHA1-hash hex string of metadata plus extension. For torrent, the extension is '.torrent'. For metalink, it is '.meta4'. If false is given to this option, the downloads added by aria2.addTorrent or aria2.addMetalink will not be saved by --save-session option. | ||||
| * | Removed trailing spaces | Tatsuhiro Tsujikawa | 2012-10-01 | 1 | -3/+3 |
| | | |||||
| * | Handle OptionHandlers as raw pointer | Tatsuhiro Tsujikawa | 2012-09-27 | 1 | -2/+2 |
| | | |||||
| * | Use nothrow version of parseInt, parseUInt and parseLLInt | Tatsuhiro Tsujikawa | 2012-09-27 | 1 | -1/+6 |
| | | |||||
| * | Rewritten FeatureConfig into set of functions | Tatsuhiro Tsujikawa | 2012-09-22 | 1 | -5/+4 |
| | | |||||
| * | Use std::vector instead of std::map for ContextAttribute objects | Tatsuhiro Tsujikawa | 2012-09-22 | 1 | -3/+3 |
| | | | | | Now key for ContextAttribute object store is int instead of string. | ||||
| * | Add GID => RequestGroup index for faster access to RequestGroup | Tatsuhiro Tsujikawa | 2012-07-31 | 1 | -87/+59 |
| | | |||||
| * | Specify torrent file explicitly in createRequestGroupForBitTorrent() | Tatsuhiro Tsujikawa | 2012-07-26 | 1 | -3/+3 |
| | | |||||
| * | Use int64_t instead of off_t | Tatsuhiro Tsujikawa | 2012-06-25 | 1 | -3/+3 |
| | | | | | | Some classes such as DiskAdaptor, DiskWriter, FileAllocationIterator and ChecksumValidator are left unchanged. | ||||
| * | Use PRId64 for int64_t format specifier | Tatsuhiro Tsujikawa | 2012-06-25 | 1 | -13/+13 |
| | | |||||
| * | Use std::set instead of std::deque if the elements are sorted and | Tatsuhiro Tsujikawa | 2012-03-23 | 1 | -2/+2 |
| | | | | | insertions and deletions are frequent. | ||||
| * | Added checkRequiredInteger() to check integer param is in valid range. | Tatsuhiro Tsujikawa | 2012-02-26 | 1 | -1/+1 |
| | | | | | | Ensure that fileIndex in aria2.changeUri RPC method is greater than or equal to 1. | ||||
| * | Fixed compile error without BitTorrent support | Tatsuhiro Tsujikawa | 2011-12-11 | 1 | -0/+2 |
| | | |||||
| * | Fixed compile error without BitTorrent and Metalink support | Tatsuhiro Tsujikawa | 2011-12-11 | 1 | -2/+5 |
| | | |||||
| * | Use util::itos() for signed integrals | Tatsuhiro Tsujikawa | 2011-12-09 | 1 | -15/+15 |
| | | |||||
| * | Use int32_t for piece length instead of size_t | Tatsuhiro Tsujikawa | 2011-12-09 | 1 | -4/+4 |
| | | |||||
| * | Replaced uint64_t with off_t or int64_t. | Tatsuhiro Tsujikawa | 2011-12-09 | 1 | -4/+4 |
| | | | | | | Since off_t is int64_t with LFS, we cannot take advantage of extra capacity of uint64_t. | ||||
| * | Use %lld to fomat a2_gid_t | Tatsuhiro Tsujikawa | 2011-12-02 | 1 | -37/+13 |
| | | |||||
| * | Rewritten parse*Int | Tatsuhiro Tsujikawa | 2011-11-12 | 1 | -1/+1 |
| | | |||||
| * | Rewritten base64::decode and base64::encode | Tatsuhiro Tsujikawa | 2011-11-05 | 1 | -2/+6 |
| | | |||||
| * | mv Base64.{cc,h} base64.{cc,h} | Tatsuhiro Tsujikawa | 2011-11-05 | 1 | -1/+1 |
| | | |||||
| * | Made util::fromHex and base32::decode function template | Tatsuhiro Tsujikawa | 2011-11-05 | 1 | -3/+1 |
| | | |||||
| * | util::divide now takes iterators as arguments. | Tatsuhiro Tsujikawa | 2011-11-03 | 1 | -5/+8 |
| | | |||||
| * | Changed parse*Int functions so that it accepts iterators. | Tatsuhiro Tsujikawa | 2011-11-03 | 1 | -1/+1 |
| | | |||||
| * | Use merged option values. | Tatsuhiro Tsujikawa | 2011-11-02 | 1 | -13/+13 |
| | | |||||
| * | --index-out option is now available in aria2.changeOption. | Tatsuhiro Tsujikawa | 2011-11-02 | 1 | -0/+14 |
| | | | | | | --index-out option is now available in aria2.changeOption if a download is waiting/paused in queue. | ||||
| * | --dir and --out option is now available in aria2.changeOption. | Tatsuhiro Tsujikawa | 2011-11-02 | 1 | -0/+9 |
| | | | | | | --dir and --out option is now available in aria2.changeOption if a download is waiting/paused in queue. | ||||
| * | Changed interface of BtRegistry. | Tatsuhiro Tsujikawa | 2011-11-01 | 1 | -11/+14 |
| | | | | | BtRegistry now uses SharedHandle<BtObject> instead of BtObject. | ||||
| * | --max-connection-per-server option is now available in aria2.changeOption. | Tatsuhiro Tsujikawa | 2011-10-31 | 1 | -0/+8 |
| | | | | | | --max-connection-per-server option is now available in aria2.changeOption if a download is waiting/paused in queue. | ||||
| * | --split option is now available in aria2.changeOption. | Tatsuhiro Tsujikawa | 2011-10-30 | 1 | -0/+3 |
| | | | | | | --split option is now available in aria2.changeOption if a download is waiting/paused in queue. | ||||
| * | --select-file option is now available in aria2.changeOption | Tatsuhiro Tsujikawa | 2011-10-30 | 1 | -0/+6 |
| | | | | | | --select-file option is now available in aria2.changeOption if a download is waiting/paused in queue. | ||||
| * | --checksum option is now available in aria2.changeOption. | Tatsuhiro Tsujikawa | 2011-10-29 | 1 | -0/+8 |
| | | | | | | --checksum option is now available in aria2.changeOption if download is waiting/paused in queue. | ||||
| * | Options for -i list is now available in aria2.changeOption. | Tatsuhiro Tsujikawa | 2011-10-29 | 1 | -15/+31 |
| | | | | | | | | | | Options for -i list, except for PREF_CHECKSUM, PREF_DIR, PREF_DRY_RUN, PREF_INDEX_OUT, PREF_LOWEST_SPEED_LIMIT, PREF_MAX_CONNECTION_PER_SERVER, PREF_METALINK_BASE_URI, PREF_OUT, PREF_PIECE_LENGTH, PREF_SELECT_FILE, PREF_SPLIT, PREF_PAUSE and PREF_PARAMETERIZED_URI, are available in aria2.changeOption if the download is waiting state, including paused downloads. | ||||
| * | Made --max-download-result option available in aria2.changeGlobalOption. | Tatsuhiro Tsujikawa | 2011-10-22 | 1 | -0/+4 |
| | | |||||
| * | OptionHandler now knows its option can be used in -i list option, | Tatsuhiro Tsujikawa | 2011-10-22 | 1 | -30/+32 |
| | | | | | | | changeable in aria2.changeOption or aria2.changeGlobalOption. OptionHandler also now its option is cumulative. | ||||
| * | Rewritten OptionParser. Made it simpler and efficient. | Tatsuhiro Tsujikawa | 2011-10-22 | 1 | -2/+2 |
| | | |||||
| * | Rewritten Option. Introduced Pref. | Tatsuhiro Tsujikawa | 2011-10-21 | 1 | -11/+13 |
| | | | | | | Now preference key is Pref instead of just string. It has Option ID. Now option lookup and setting takes O(1) using Pref object. | ||||
| * | Renamed DownloadResult::bitfieldStr to bitfield and changed its | Tatsuhiro Tsujikawa | 2011-10-13 | 1 | -6/+5 |
| | | | | | content from hex string to raw byte string. | ||||
| * | Renamed DownloadResult::infoHashStr to infoHash and changed its | Tatsuhiro Tsujikawa | 2011-10-13 | 1 | -2/+2 |
| | | | | | contents from hex digest to raw byte string. | ||||
| * | Removed asString, asList, ... and use downcast<T> instead. | Tatsuhiro Tsujikawa | 2011-09-26 | 1 | -7/+7 |
| | | |||||
| * | Throw exception if parameter has wrong type in RPC method. | Tatsuhiro Tsujikawa | 2011-09-25 | 1 | -97/+95 |
| | | | | | | | | Formally, depending on the method implementation, this kind of error is just ignored and parameter is skipped. Now aria2 responds error for these cases. The required parameter checking is also reworked along with this change. | ||||
| * | Added completedLength response key in aria2.getFiles RPC method. | Tatsuhiro Tsujikawa | 2011-08-23 | 1 | -6/+54 |
| | | |||||
| * | Added aria2.getGlobalStat RPC method. | Tatsuhiro Tsujikawa | 2011-06-17 | 1 | -0/+17 |
| | | | | | | It returns overall download/upload speed and the number of active/stopped/waiting downloads. | ||||
