ChangeLog 10 KB

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