ChangeLog 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. 2006-03-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  2. * Request.h: Added AFTER_COMPLETED event.
  3. * TorrentDownloadEngine.cc: Prints "Download complete" message
  4. instead of downloaded size and progress(%) after download completes.
  5. * PeerInteractionCommand.cc: After download completes, sends unchoke
  6. message to the peer if it is interested in what localhost has
  7. downloaded.
  8. * TorrentMan.cc: In single-file mode, copy temporary file to the final
  9. destination instead of just renaming it.
  10. * TorrentMan.cc: Added deleteTempFile().
  11. * PeerAbstractCommand.cc: do not stop execution after download
  12. completes. This makes localhost a seeder.
  13. * Util.{h,cc}: Added fileCopy().
  14. * PeerListenCommand.cc: do not stop execution after download completes.
  15. This makes localhost a seeder.
  16. * main.cc: Do not call TorrentMan::fixFilename() in torrentHandler.
  17. Added TorrentMan::deleteTempFile() to torrentHandler.
  18. Initialized the variable dir as ".".
  19. * TorrentMan.h: Changed DEFAULT_ANNOUNCE_INTERVAL to 120 seconds.
  20. Deleted renameSingleFile().
  21. Added copySingleFile(), deleteTempFile().
  22. * DownloadEngine.h: Added virtual function afterEachIteration().
  23. * TorrentDownloadEngine.cc: Move a call to TorrentMan::fixFilename()
  24. in onEndOfRun() to afterEachIteration().
  25. In onEndOfRun(), changed if condition to check whether filenameFixed is
  26. true.
  27. * Util.cc: Implemented fileCopy() using rangedFileCopy().
  28. In rangedFileCopy(), added try-catch block to properly close file
  29. descriptors.
  30. * TorrentDownloadEngine.cc: Added a member variable filenameFixed.
  31. Added afterEachIteration(), isFilenameFixed().
  32. * Peer.cc: Changed choking strategy.
  33. * PreAllocationDiskWriter.cc: Drop O_DIRECT flag.
  34. * TrackerInitCommand.cc: Send completed event only once.
  35. * DownloadEngine.cc: Added a call to afterEachIteration().
  36. * TrackerUpdateCommand.cc: Do not stop execution after download
  37. completes.
  38. * TorrentMan.h: Defined MAX_PEER_UPDATE as 15. aria2 attempts to
  39. connect the peers at most MAX_PEER_UPDATE when a peer list is
  40. received from a tracker.
  41. * TrackerUpdateCommand.cc: Implemented above mentioned behavior.
  42. Decreased the number of failure peers to delete to 0(just comment out
  43. the line).
  44. * Release 0.3.1
  45. 2006-03-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  46. * PeerInteractionCommand.cc: added a call to
  47. TorrentMan::unadvertisePiece in Destructor.
  48. * PeerInteractionCommand.cc: make have message sent immediately
  49. if the size of pending message queue is zero.
  50. * TorrentMan.cc: set the maximum size of peer list to 250.
  51. * TorrentMan.h: changed the container type of Peers and UsedPieces
  52. to deque.
  53. * Util.cc: fixed rangedFileCopy.
  54. * AbstractDiskWriter.{h,cc}: moved digest context initialization
  55. to Constructor. Also, moved digest cleanup to Destructor.
  56. * MetaFileUtil.cc: fixed memory leak
  57. * replaced std::vector with std::deque.
  58. * AbstractCommand.cc: casted timeout value to long long int.
  59. * ChunkedEncoding.cc: fixed memory leak.
  60. * PeerInteractionCommand.cc: casted timeout value to long long int.
  61. * SleepCommand.cc: casted timeout value to long long int.
  62. * Data.cc: fixed memory leak.
  63. * Data.cc: fixed toLLInt().
  64. * BitfieldMan.cc: fixed memory leak.
  65. * TorrentMan.cc: initialized storeDir to ".".
  66. * TorrentMan.cc: fixed memory leak.
  67. * TorrentMan.cc: corrected file paths of splitted files.
  68. * PeerAbstractCommand.cc: casted timeout to long long int.
  69. * main.cc: added delete(req) and delete(te->diskWriter).
  70. * RequestSlot.cc: casted timeout value to long long int.
  71. * Request.cc: fixed memory leak.
  72. * PendingMessage.cc: make HAVE messages sent only when peer does not
  73. have the piece.
  74. * Peer.{h,cc}: added hasPiece(int index).
  75. * main.cc: corrected addCommand.
  76. 2006-03-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  77. * BitTorrent protocol support added.
  78. * Release 0.3.0
  79. 2006-03-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  80. * SocketCore.cc: remove the assignment of addrinfo.ai_addr.
  81. 2006-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  82. * ChunkedEncoding.{h,cc}: fixed the bug that if chunk data is binary,
  83. decoding did not work properly.
  84. 2006-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  85. * DownloadEngine.h: included sys/time.h
  86. * DownloadEngine.cc: remove sys/time.h
  87. * Makefile.am (SUBDIRS): Add intl.
  88. * configure.in (AC_CONFIG_FILES): Add intl/Makefile.
  89. 2006-03-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  90. * main.cc: correct help message for --http-auth-scheme.
  91. * main.cc: changed e-mail address for bug reports.
  92. * ja.po: added japanese translation.
  93. 2006-03-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  94. * SimpleLogger.cc: flush log file instead of stdout.
  95. 2006-03-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  96. * main.cc: Fixed command-line option: max-tries
  97. * HttpResponseCommand.cc: Make the request re-sent only if req->seg.sp
  98. does not equal to seg.sp.
  99. * DownloadCommand.cc: If EOF is got from the server and the total size
  100. of file is not zero, then throw DlRetryEx.
  101. * main.cc: Set the minium value of min-segment-size to 1024.
  102. * HttpResponseCommand.cc: Fixed the bug that http segmented downloading
  103. fails because of a regression since 0.2.0 release.
  104. 2006-03-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  105. * HttpConnection.cc:
  106. * common.h: defined the user agent name as macro
  107. * DownloadEngine.{h, cc}:
  108. * ConsoleDownloadEngine.{h, cc}: Console output message(size, speed)
  109. is now generated by ConsoleDownloadEngine not by DownloadEngine.
  110. * main.cc: Download complete/abort message is now generated by main.
  111. * Makefile.am (SUBDIRS): Add m4.
  112. (ACLOCAL_AMFLAGS): New variable.
  113. (EXTRA_DIST): New variable.
  114. * configure.in (AC_CONFIG_FILES): Add po/Makefile.in,
  115. * gettext: added gettext functionality
  116. 2006-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  117. * AbstractCommand.cc:
  118. * DownloadCommand.{h, cc}: Aborted downloading commands now properly
  119. unregister its cuid from SegmentMan.
  120. * DownloadEngine.cc: .aria2 file was written when a downloading
  121. failed with errors.
  122. * HttpConnection.cc: Added "Proxy-Connection" header to proxy request.
  123. Added "User-Agent" header to CONNECT proxy request.
  124. Fixed "Proxy-Authorization" header. Now proxy authorization works
  125. properly.
  126. * Logger.h:
  127. * SimpleLogger.{h,cc}: Changed the type of msg to const char*.
  128. * ChunkedEncoding.cc: Added #include directive for strings.h
  129. * Release 0.2.1
  130. 2006-02-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  131. * Util.{h,cc}: added startsWith().
  132. * CookieBox.cc: rewrited criteriaFind() using Util::startsWith() and
  133. Util::endsWith().
  134. * SocketCore.cc: struct addrinfo is now zero-initialized.
  135. * common.h: added #include directive of limit.h.
  136. * DownloadEngine.cc: added #include directive of sys/time.h and
  137. algorithm.
  138. * Exception.h: added #include directive of stdio.h.
  139. * AbstractCommand.h: added #include directive of sys/time.h.
  140. * DownloadCommand.h: added #include directive of sys/time.h.
  141. * *.h: added #include directive of common.h to all base classes.
  142. subclasses' one was removed.
  143. * common.h: defined LONG_LONG_MAX and LONG_LONG_MIN if a compiler
  144. does not define these macros.
  145. 2006-02-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  146. * Release 0.2.0
  147. * main.cc:
  148. * HttpInitiateConnectionCommand.{h,cc}:
  149. * prefs.h:
  150. * HttpConnection.{h,cc}: added --http-proxy-method option.
  151. We can now use GET command in http proxy.
  152. 2006-02-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  153. * SplitSlowestSegmentSplitter.{h,cc}: This class provies algorithm
  154. that splits slowest segment of SegmentMan::commands vector.
  155. This is the default split algorithm of aria2.
  156. * SplitFirstSegmentSplitter.{h,cc}: This class provides algorithm
  157. that splits first segment of SegmentMan::commands vector.
  158. * SegmentSplitter.{h,cc}: Added. This class provides split algorithm.
  159. * DownloadCommand.{h,cc}: Added downloading speed calculation.
  160. * Segment.h:
  161. * SegmentMan.cc: Added speed field to Segment.h
  162. * main.cc: -s option now affects all URLs in command-line arguemtns.
  163. * HttpResponseCommand.cc: Fixed bug that segment file is not loaded.
  164. * message.h: Change file size related %d to %lld.
  165. 2006-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  166. * FtpInitiateConnectionCommand.{h,cc}:
  167. * FtpNegotiationCommand.{h,cc}:
  168. * FtpDownloadCommand.{h,cc}:
  169. * FtpConnection.{h,cc}: Added FTP support
  170. * SimpleLogger.cc: Log message now includes time information.
  171. * main.cc: The value of --http-auth-scheme option is chagned from
  172. 'BASIC' to 'basic'
  173. * main.cc: Added --timeout command-line option.
  174. * main.cc: Added --min-segment-size command-line option.
  175. * main.cc: Added --max-retries command-line option.
  176. * prefs.h: option string constants are now defined in prefs.h
  177. 2006-02-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  178. * AbstractCommand.cc: Fixed timeout bug in AbstractCommand
  179. * SegmentMan.cc: Added totalSize entry to .aria2 file. No compatibility
  180. with version 0.1.0's one.
  181. 2006-02-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
  182. * configure.in: Added --enable-ssl option to configure script.
  183. * HttpConnection.cc: Make Request-URI an absolute path. Some servers
  184. cannot permit absoluteURI as Request-URI.
  185. * HttpConnection.cc: Added Referer support.
  186. * main.cc: Added referer command-line option.
  187. * main.cc: Added rety-wait command-line option.
  188. * Exception.h: Fixed formating bug in Exception::setMsg()
  189. * SocketCore.{h,cc}:
  190. * Socket.{h, cc}:
  191. * Request.cc:
  192. * InitiateConnectionCommandFactory.cc:
  193. * HttpRequestCommand.cc: Added HTTPS support.
  194. * SocketCore.{h,cc}: Added SocketCore. Socket becomes a handle class
  195. for SocketCore.
  196. * ChunkedEncoding.cc: Fixed bug in ChunkedEncoding: expanding buffer
  197. size is wrong
  198. * DownloadCommand.cc: Fixed bug in DownloadCommand: In Chunked
  199. Encoding, it wrongly adds to Segment.ds buff length from the socket.
  200. 2006-02-17 Tatsuhiro Tsujikawa <tsujikawa at rednoah dot com>
  201. * Release 0.1.0