ChangeLog 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542
  1. 2006-04-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  2. To print ETA:
  3. * src/TorrentDownloadEngine.cc (afterEachIteration): Added download
  4. completion handling when dealing with
  5. TorrentMan::isPartialDownloadingMode() == true.
  6. * src/TorrentDownloadEngine.h (onPartialDownloadingCompletes):
  7. New function.
  8. * src/TorrentConsoleDownloadEngine.h (startup): New variable.
  9. (sessionDownloadLength): New variable.
  10. (avgSpeed): New variable.
  11. (eta): New variable.
  12. * src/TorrentConsoleDownloadEngine.cc (initStatistics): Initialized
  13. new variables: eta, avgSpeed, startup.
  14. (calculateSpeed): Calculate average speed and ETA.
  15. (printStatistics): Added ETA.
  16. * src/Util.h (secfmt): New function.
  17. * src/Util.cc (secfmt): New function.
  18. 2006-04-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  19. To detect "keep alive" flooding:
  20. * src/PeerInteractionCommand.h (keepAliveCount): New variable
  21. * src/PeerInteractionCommand.cc (Constructor): Initialized new
  22. variable: keepAliveCount.
  23. (detectMessageFlooding): Added "keep alive" flooding detection.
  24. (receiveMessage): Increase keepAliveCount when "keep alive" message
  25. received.
  26. To add the ability to download only specified files in multi-file
  27. torrent:
  28. * src/BitfieldMan.h (filterBitfield): New variable.
  29. (filterEnabled): New variable.
  30. (setFilterBit): New function.
  31. (enableFilter): New function.
  32. (disableFilter): New function.
  33. (isFilterEnabled): New function.
  34. (getFilteredTotalLength): New function.
  35. (getCompletedLength): New function.
  36. * src/BitfieldMan.cc (Constructor): Initialized new variable:
  37. filterBitfield, filterEnabled.
  38. (CopyConstructor): Added filterBitfield and filterEnabled.
  39. (operator==): Added filterBitfield and filterEnabled.
  40. (Destructor): Added filterBitfield.
  41. (getMissingIndex): Use filterBitfield.
  42. (getMissingUnusedIndex): Use filterBitfield.
  43. (getFirstMissingUnusedIndex): Use filterBitfield.
  44. (getFirstMissingUnusedIndex): Use filterBitfield.
  45. (getAllMissingIndexes): Use filterBitfield.
  46. (countMissingBlock): Use filterBitfield.
  47. (countBlock): Use filterBitfield.
  48. (setBitInternal): Added new argument on.
  49. (setUseBit): Use setBitInternal.
  50. (unsetUseBit): Use setBitInternal.
  51. (setBit): Use setBitInternal.
  52. (unsetBit): Use setBitInternal.
  53. (isAllBitSet): Use filterBitfield.
  54. (setFilterBit): New function.
  55. (addFilter): New function.
  56. (enableFilter): New function.
  57. (disableFilter): New function.
  58. (clearFilter): New function.
  59. (isFilterEnabled): New function.
  60. (getFilteredTotalLength): New function.
  61. (getCompletedLength): New function.
  62. * src/TorrentMan.h [FileEntry](Constructor): Updated signature.
  63. Initalized newly added variables.
  64. [FileEntry](offset): New variable.
  65. [FileEntry](extracted): New variable.
  66. [FileEntry](requested): New variable.
  67. (readFileEntry): New function.
  68. (option): New variable.
  69. (splitMultiFile): Removed const qualifier.
  70. (fixFilename): Removed const qualifier.
  71. (readFileEntryFromMetaInfoFile): New function.
  72. (finishPartialDownloadingMode): New function.
  73. (isPartialDownloadingMode): New function.
  74. (setFileEntriesToDownload): New function.
  75. (getCompletedLength): New function.
  76. (getPartialTotalLength): New function.
  77. * src/TorrentMan.cc (readFileEntry): New function.
  78. (setup): Use readFileEntry. If no-preallocation option is specified,
  79. use DefaultDiskWriter.
  80. (readFileEntryFromMetaInfoFile): New function.
  81. (fixFilename): Removed const qualifier.
  82. (splitMultiFile): Removed const qualifier.
  83. (setFileEntriesToDownload): New function.
  84. (isPartialDownloadingMode): New function.
  85. (finishPartialDownloadingMode): New function.
  86. (getCompletedLength): New function.
  87. (getPartialTotalLength): New function.
  88. * src/TorrentConsoleDownloadEngine.h (partialDownloadLengthDiff):
  89. New variable.
  90. (partialTotalLength): New variable.
  91. (downloadLength): New variable.
  92. (totalLength): New variable.
  93. * src/TorrentConsoleDownloadEngine.cc (onPartialDownloadingCompletes):
  94. Added log.
  95. (initStatistics): Initialized new variables: partialDownloadLengthDiff,
  96. partialTotalLength, downloadLength, totalLength.
  97. (calculate): Calculate downloadLength and totalLength.
  98. * src/prefs.h :New definition PREF_NO_PREALLOCATION
  99. * src/main.cc (addCommand): Changed argument signature.
  100. (main): Added new variable: args. Added new option "torrent-show-files"
  101. "no-preallocation". Usage is not updated yet.
  102. 2006-04-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  103. * src/PeerMessage.cc (setBitfield): Fixed invalid memory de-allocation.
  104. 2006-04-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  105. Attempt to add the ability to listing file entries in a .torrent file.
  106. This feature is not yet complete.
  107. * src/prefs.h (PREF_TORRENT_SHOW_FILES): New definition
  108. * src/TorrentMan.cc (getMultiFileEntries): New function.
  109. (getName): New function.
  110. * src/TorrentMan.h (getMultiFileEntries): New function.
  111. (getName): New function.
  112. * src/main.cc (main): Use above 2 funtion.
  113. * Release 0.3.2
  114. 2006-03-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  115. * src/PeerInteractionCommand.cc (checkInactiveConnection): New function
  116. (detectMessageFlooding): Updated threshold value.
  117. (checkLongTimePeerChoking): Updated timeout value.
  118. (getNewPieceAndSendInterest): Added debug log.
  119. * src/PeerInteractionCommand.h (checkInactiveConnection): New function
  120. * src/TorrentMan.cc (deleteOldErrorPeers): Updated.
  121. (getPeer): Updated.
  122. * src/TorrentMan.h: Added MAX_PEER_ERROR.
  123. * src/PeerAbstractCommand.cc (onAbort): Increment error counter.
  124. * src/PeerListenCommand.cc (execute): Close connection if incoming peer
  125. is localhost.
  126. * src/main.cc (main): Updated PREF_PEER_CONNECTION_TIMEOUT to 60.
  127. * src/PendingMessage.cc (processMessage): Not to send piece message
  128. if peer is not interested in the pieces localhost has.
  129. * src/Peer.cc (shouldChoke): Updated.
  130. * src/SendMessageQueue.cc (cancelAllRequest): Fixed.
  131. * src/Util.cc (isPowerOf): New function.
  132. * src/Util.h (isPowerOf): New function.
  133. * src/PeerMessageUtil.cc (checkLength): Added a check for length
  134. whether or not it is power of 2.
  135. 2006-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  136. Added new class SendMessageQueue that includes PendingMessages and
  137. RequestSlotMan.
  138. * src/SendMessageQueue.h: New class.
  139. * src/SendMessageQueue.cc: New class.
  140. * src/PendingMessage.h: Added new member variable blockIndex and its
  141. accessors.
  142. (createRequestMessage): Updated.
  143. * src/PendingMessage.cc (createRequestMessage): Updated.
  144. * src/PeerInteractionCommand.cc (executeInternal): Updated with
  145. SendMessageQueue.
  146. (checkLongTimePeerChoking): Updated with SendMessageQueue.
  147. (receiveMessage): Updated with SendMessageQueue.
  148. (deletePendingPieceMessage): Removed.
  149. (getNewPieceAndSendInterest): Updated with SendMessageQueue.
  150. (sendInterest): Updated with SendMessageQueue.
  151. (createRequestPendingMessage): Updated with SendMessageQueue.
  152. (sendMessages): Updated with SendMessageQueue.
  153. (onAbort): Updated with SendMessageQueue.
  154. (keepAlive): Updated with SendMessageQueue.
  155. (beforeSocketCheck): Updated SendMessageQueue.
  156. * src/PeerInteractionCommand (sendMessages): Shuffle
  157. missingBLockIndexes before using it.
  158. Added its own timeout for peer connection.
  159. * src/PeerAbstractCommand.h: Added member variable timeout and its
  160. setter.
  161. * src/prefs.h: Added PREF_PEER_CONNECTION_TIMEOUT.
  162. * src/PeerInteractionCommand.cc (PeerInteractionCommand):
  163. Added setTimeout() call.
  164. (executeInternal): Added setTimeout() call.
  165. * src/PeerAbstractCommand.cc (PeerAbstractCommand):
  166. Added timeout.
  167. (isTimeoutDetected): Updated.
  168. * src/main.cc (main): Added PREF_PEER_CONNECTION_TIMEOUT entry to
  169. option.
  170. Added *simple* message flooding checker.
  171. * src/PeerInteractionCommand.cc (executeInternal):
  172. Added detectMessageFlooding() call.
  173. (detectMessageFlooding): New function.
  174. (receiveMessage): Count up CHOKE, UNCHOKE, HAVE message.
  175. (beforeSocketCheck): Added detectMessageFlooding() call.
  176. * src/PeerInteractionCommand.h: Added sendMessageQueue,
  177. chokeUnchokeCount, haveCount, detectMessageFlooding().
  178. Removed deletePendingPieceMessage(), getRequestSlot(),
  179. deleteRequestSlot(), deleteAllRequestSlot().
  180. * src/PeerInteractionCommand.cc (beforeSocketCheck):
  181. Added checkLongTimePeerChoking() call.
  182. * src/RequestSlotMan.h: Renamed deleteTimeoutRequestSlot().
  183. * src/TorrentMan.cc (addPeer): Delete at most MAX_PEER_LIST_SIZE peers
  184. if duplicate == false.
  185. The parameter "uploaded" and "downloaded" in the tracker request are
  186. the size since the client sent the "started" event to the tracker.
  187. * src/TorrentMan.cc (setup): Assigned saved downloaded Size and
  188. uploaded size to preDownloadedSize, preUploadedSize respectively.
  189. * src/TorrentMan.h: Added preDownloadedSize, preUploadedSize,
  190. getSessionDownloadedSize(), getSessionUploadedSize().
  191. * src/TrackerInitCommand.cc (execute): Use getSessionDownloadedSize(),
  192. getSessionUploadedSize() instead of getDownloadedSize(),
  193. getUploadedSize().
  194. * src/PendingMessage.cc (processMessage): Do not send request message
  195. if the peer is choking the client.
  196. * src/TrackerUpdateCommand.cc (execute): Check wtheher minInterval is
  197. less than interval.
  198. 2006-03-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  199. * configure.in: Added gnutls support. Added several CPP macros.
  200. * m4/openssl.m4: Added.
  201. * src/SocketCore.{h,cc}: Drop const quarifier from writeData(),
  202. readData(), peekData(). Added gnutls support.
  203. * src/HttpDownloadCommand.cc: Removed SleepCommand.h
  204. * src/TrackerWatcherCommand.{h,cc}: Added. This command creates
  205. TrackerInitCommand periodicaly(TorrentMan::minInterval).
  206. * src/TorrentMan.cc: Remove downloadedSize == 0 check from save().
  207. Instead, added a check for whether setup method has executed
  208. successfully.
  209. * src/TorrentMan.h: Added member vaiable setupComplete. Updated
  210. DEFAULT_ANNOUNCE_INTERVAL and DEFAULT_ANNOUNCE_MIN_INTERVAL to 300.
  211. * src/Makefile.am: Updated.
  212. * src/messageDigest.h: Added. This is a macro calculating SHA1 digest
  213. using whether OpenSSL or gcrypt, depending on the result of configure
  214. script.
  215. * src/ShaVisitor.{h,cc}: Removed direct dependency on OpenSSL by using
  216. messageDigest.h.
  217. * src/TorrentAutoSaveCommand.h: Removed unused variable cuid.
  218. * src/PeerListenCommand.cc: Added log about port binded successfully.
  219. Fixed memory leak.
  220. * src/main.cc: Added gnutls support. Replaced LIB_SSL with
  221. ENABLE_BITTORRENT where they are not related to OpenSSL but BitTorrent.
  222. Removed instantiation of TrackerInitCommand. Instead,
  223. TrackerWatcherCommand is instantiated and pushed to the command queue.
  224. * src/InitiateConnectionCommandFactory.cc: Replaced HAVE_LIBSSL with
  225. ENABLE_SSL.
  226. * src/Request.cc: Replaced HAVE_LIBSSL with ENABLE_SSL.
  227. * src/RequestSlotMan.cc (deleteCompletedRequestSlot):
  228. If a piece is already acquired by another command, delete the request
  229. slots for the piece.
  230. * src/TrackerUpdateCommand.cc (execute):
  231. Changed log level of MSG_TRACKER_WARNING_MESSAGE from info to warn.
  232. Added a check whether peer list is null.
  233. Fixed the bug that causes sending completed event to the tracker
  234. several times.
  235. * src/TrackerInitCommand.cc (execute):
  236. Fixed the bug that causes sending completed event to the tracker
  237. several times.
  238. * src/AbstractDiskWriter.{h,cc}: Removed direct dependency on OpenSSL
  239. by using messageDigest.h.
  240. 2006-03-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  241. * PeerConnection.cc: Replaced log message "keep-alive" with
  242. "keep alive".
  243. * PeerInteractionCommand.{h,cc}: Close connection if peer is choking
  244. localhost long time.
  245. * TorrentMan.cc: When adding new peer with duplicate = true, if the
  246. number of peer list is equal to or grater than MAX_PEER_LIST, delete
  247. at most 100 failure entry from the list. If with duplicate = false,
  248. MAX_PEER_LIST is not checked.
  249. * PeerListenCommand.cc: Fixed the argument order of log message.
  250. 2006-03-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  251. * Logger.h: Moved enum LEVEL from SimpleLogger.h to here.
  252. Added warn().
  253. * SimpleLogger.h: Moved enum LEVEL to Logger.h.
  254. Implemented warn().
  255. Defined 2 macros(WRITE_LOG, WRITE_LOG_EX) to avoid duplicated code.
  256. 2006-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  257. * Request.h: Added AFTER_COMPLETED event.
  258. * TorrentDownloadEngine.cc: Prints "Download complete" message
  259. instead of downloaded size and progress(%) after download completes.
  260. * PeerInteractionCommand.cc: After download completes, sends unchoke
  261. message to the peer if it is interested in what localhost has
  262. downloaded.
  263. * TorrentMan.cc: In single-file mode, copy temporary file to the final
  264. destination instead of just renaming it.
  265. * TorrentMan.cc: Added deleteTempFile().
  266. * PeerAbstractCommand.cc: do not stop execution after download
  267. completes. This makes localhost a seeder.
  268. * Util.{h,cc}: Added fileCopy().
  269. * PeerListenCommand.cc: do not stop execution after download completes.
  270. This makes localhost a seeder.
  271. * main.cc: Do not call TorrentMan::fixFilename() in torrentHandler.
  272. Added TorrentMan::deleteTempFile() to torrentHandler.
  273. Initialized the variable dir as ".".
  274. * TorrentMan.h: Changed DEFAULT_ANNOUNCE_INTERVAL to 120 seconds.
  275. Deleted renameSingleFile().
  276. Added copySingleFile(), deleteTempFile().
  277. * DownloadEngine.h: Added virtual function afterEachIteration().
  278. * TorrentDownloadEngine.cc: Move a call to TorrentMan::fixFilename()
  279. in onEndOfRun() to afterEachIteration().
  280. In onEndOfRun(), changed if condition to check whether filenameFixed is
  281. true.
  282. * Util.cc: Implemented fileCopy() using rangedFileCopy().
  283. In rangedFileCopy(), added try-catch block to properly close file
  284. descriptors.
  285. * TorrentDownloadEngine.cc: Added a member variable filenameFixed.
  286. Added afterEachIteration(), isFilenameFixed().
  287. * Peer.cc: Changed choking strategy.
  288. * PreAllocationDiskWriter.cc: Drop O_DIRECT flag.
  289. * TrackerInitCommand.cc: Send completed event only once.
  290. * DownloadEngine.cc: Added a call to afterEachIteration().
  291. * TrackerUpdateCommand.cc: Do not stop execution after download
  292. completes.
  293. * TorrentMan.h: Defined MAX_PEER_UPDATE as 15. aria2 attempts to
  294. connect the peers at most MAX_PEER_UPDATE when a peer list is
  295. received from a tracker.
  296. * TrackerUpdateCommand.cc: Implemented above mentioned behavior.
  297. Decreased the number of failure peers to delete to 0(just comment out
  298. the line).
  299. * Release 0.3.1
  300. 2006-03-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  301. * PeerInteractionCommand.cc: added a call to
  302. TorrentMan::unadvertisePiece in Destructor.
  303. * PeerInteractionCommand.cc: make have message sent immediately
  304. if the size of pending message queue is zero.
  305. * TorrentMan.cc: set the maximum size of peer list to 250.
  306. * TorrentMan.h: changed the container type of Peers and UsedPieces
  307. to deque.
  308. * Util.cc: fixed rangedFileCopy.
  309. * AbstractDiskWriter.{h,cc}: moved digest context initialization
  310. to Constructor. Also, moved digest cleanup to Destructor.
  311. * MetaFileUtil.cc: fixed memory leak
  312. * replaced std::vector with std::deque.
  313. * AbstractCommand.cc: casted timeout value to long long int.
  314. * ChunkedEncoding.cc: fixed memory leak.
  315. * PeerInteractionCommand.cc: casted timeout value to long long int.
  316. * SleepCommand.cc: casted timeout value to long long int.
  317. * Data.cc: fixed memory leak.
  318. * Data.cc: fixed toLLInt().
  319. * BitfieldMan.cc: fixed memory leak.
  320. * TorrentMan.cc: initialized storeDir to ".".
  321. * TorrentMan.cc: fixed memory leak.
  322. * TorrentMan.cc: corrected file paths of splitted files.
  323. * PeerAbstractCommand.cc: casted timeout to long long int.
  324. * main.cc: added delete(req) and delete(te->diskWriter).
  325. * RequestSlot.cc: casted timeout value to long long int.
  326. * Request.cc: fixed memory leak.
  327. * PendingMessage.cc: make HAVE messages sent only when peer does not
  328. have the piece.
  329. * Peer.{h,cc}: added hasPiece(int index).
  330. * main.cc: corrected addCommand.
  331. 2006-03-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  332. * BitTorrent protocol support added.
  333. * Release 0.3.0
  334. 2006-03-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  335. * SocketCore.cc: remove the assignment of addrinfo.ai_addr.
  336. 2006-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  337. * ChunkedEncoding.{h,cc}: fixed the bug that if chunk data is binary,
  338. decoding did not work properly.
  339. 2006-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  340. * DownloadEngine.h: included sys/time.h
  341. * DownloadEngine.cc: remove sys/time.h
  342. * Makefile.am (SUBDIRS): Add intl.
  343. * configure.in (AC_CONFIG_FILES): Add intl/Makefile.
  344. 2006-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  345. * main.cc: correct help message for --http-auth-scheme.
  346. * main.cc: changed e-mail address for bug reports.
  347. * ja.po: added japanese translation.
  348. 2006-03-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  349. * SimpleLogger.cc: flush log file instead of stdout.
  350. 2006-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  351. * main.cc: Fixed command-line option: max-tries
  352. * HttpResponseCommand.cc: Make the request re-sent only if req->seg.sp
  353. does not equal to seg.sp.
  354. * DownloadCommand.cc: If EOF is got from the server and the total size
  355. of file is not zero, then throw DlRetryEx.
  356. * main.cc: Set the minium value of min-segment-size to 1024.
  357. * HttpResponseCommand.cc: Fixed the bug that http segmented downloading
  358. fails because of a regression since 0.2.0 release.
  359. 2006-03-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  360. * HttpConnection.cc:
  361. * common.h: defined the user agent name as macro
  362. * DownloadEngine.{h, cc}:
  363. * ConsoleDownloadEngine.{h, cc}: Console output message(size, speed)
  364. is now generated by ConsoleDownloadEngine not by DownloadEngine.
  365. * main.cc: Download complete/abort message is now generated by main.
  366. * Makefile.am (SUBDIRS): Add m4.
  367. (ACLOCAL_AMFLAGS): New variable.
  368. (EXTRA_DIST): New variable.
  369. * configure.in (AC_CONFIG_FILES): Add po/Makefile.in,
  370. * gettext: added gettext functionality
  371. 2006-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  372. * AbstractCommand.cc:
  373. * DownloadCommand.{h, cc}: Aborted downloading commands now properly
  374. unregister its cuid from SegmentMan.
  375. * DownloadEngine.cc: .aria2 file was written when a downloading
  376. failed with errors.
  377. * HttpConnection.cc: Added "Proxy-Connection" header to proxy request.
  378. Added "User-Agent" header to CONNECT proxy request.
  379. Fixed "Proxy-Authorization" header. Now proxy authorization works
  380. properly.
  381. * Logger.h:
  382. * SimpleLogger.{h,cc}: Changed the type of msg to const char*.
  383. * ChunkedEncoding.cc: Added #include directive for strings.h
  384. * Release 0.2.1
  385. 2006-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  386. * Util.{h,cc}: added startsWith().
  387. * CookieBox.cc: rewrited criteriaFind() using Util::startsWith() and
  388. Util::endsWith().
  389. * SocketCore.cc: struct addrinfo is now zero-initialized.
  390. * common.h: added #include directive of limit.h.
  391. * DownloadEngine.cc: added #include directive of sys/time.h and
  392. algorithm.
  393. * Exception.h: added #include directive of stdio.h.
  394. * AbstractCommand.h: added #include directive of sys/time.h.
  395. * DownloadCommand.h: added #include directive of sys/time.h.
  396. * *.h: added #include directive of common.h to all base classes.
  397. subclasses' one was removed.
  398. * common.h: defined LONG_LONG_MAX and LONG_LONG_MIN if a compiler
  399. does not define these macros.
  400. 2006-02-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  401. * Release 0.2.0
  402. * main.cc:
  403. * HttpInitiateConnectionCommand.{h,cc}:
  404. * prefs.h:
  405. * HttpConnection.{h,cc}: added --http-proxy-method option.
  406. We can now use GET command in http proxy.
  407. 2006-02-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  408. * SplitSlowestSegmentSplitter.{h,cc}: This class provies algorithm
  409. that splits slowest segment of SegmentMan::commands vector.
  410. This is the default split algorithm of aria2.
  411. * SplitFirstSegmentSplitter.{h,cc}: This class provides algorithm
  412. that splits first segment of SegmentMan::commands vector.
  413. * SegmentSplitter.{h,cc}: Added. This class provides split algorithm.
  414. * DownloadCommand.{h,cc}: Added downloading speed calculation.
  415. * Segment.h:
  416. * SegmentMan.cc: Added speed field to Segment.h
  417. * main.cc: -s option now affects all URLs in command-line arguemtns.
  418. * HttpResponseCommand.cc: Fixed bug that segment file is not loaded.
  419. * message.h: Change file size related %d to %lld.
  420. 2006-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  421. * FtpInitiateConnectionCommand.{h,cc}:
  422. * FtpNegotiationCommand.{h,cc}:
  423. * FtpDownloadCommand.{h,cc}:
  424. * FtpConnection.{h,cc}: Added FTP support
  425. * SimpleLogger.cc: Log message now includes time information.
  426. * main.cc: The value of --http-auth-scheme option is chagned from
  427. 'BASIC' to 'basic'
  428. * main.cc: Added --timeout command-line option.
  429. * main.cc: Added --min-segment-size command-line option.
  430. * main.cc: Added --max-retries command-line option.
  431. * prefs.h: option string constants are now defined in prefs.h
  432. 2006-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  433. * AbstractCommand.cc: Fixed timeout bug in AbstractCommand
  434. * SegmentMan.cc: Added totalSize entry to .aria2 file. No compatibility
  435. with version 0.1.0's one.
  436. 2006-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  437. * configure.in: Added --enable-ssl option to configure script.
  438. * HttpConnection.cc: Make Request-URI an absolute path. Some servers
  439. cannot permit absoluteURI as Request-URI.
  440. * HttpConnection.cc: Added Referer support.
  441. * main.cc: Added referer command-line option.
  442. * main.cc: Added rety-wait command-line option.
  443. * Exception.h: Fixed formating bug in Exception::setMsg()
  444. * SocketCore.{h,cc}:
  445. * Socket.{h, cc}:
  446. * Request.cc:
  447. * InitiateConnectionCommandFactory.cc:
  448. * HttpRequestCommand.cc: Added HTTPS support.
  449. * SocketCore.{h,cc}: Added SocketCore. Socket becomes a handle class
  450. for SocketCore.
  451. * ChunkedEncoding.cc: Fixed bug in ChunkedEncoding: expanding buffer
  452. size is wrong
  453. * DownloadCommand.cc: Fixed bug in DownloadCommand: In Chunked
  454. Encoding, it wrongly adds to Segment.ds buff length from the socket.
  455. 2006-02-17 Tatsuhiro Tsujikawa <tsujikawa at rednoah dot com>
  456. * Release 0.1.0