aria2/po
Tatsuhiro Tsujikawa df2364b1db 2006-04-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
To add --select-file command-line option:
	
	* src/Util.cc
	(unfoldRange): New function.
	(getNum): New function.
	(unfoldSubRange): New function
	* src/main.cc
	(showUsage): Added help message.
	(main): Added --select-file command-line option.
	
2006-04-28  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>

	To deploy upload rate based choking algorithm:
	
	* src/PeerInteractionCommand.cc
	(PeerInteractionCommand): Add peer to TorrentMan::activePeers to 
track
	peer currently used.
	(decideChoking): Deleted the choke/unchoke decision algorithm 
when
	download completes. Simplified.
	(receiveMessage): Updated.
	* src/TorrentMan.h
	(activePeers): New variable.
	(addActivePeer): New function.
	(getActivePeers): New function.
	(deleteActivePeer): New function.
	* src/TorrentMan.cc
	(addPeer): deleteOldErrorPeers is moved to the begining of the 
function
	* src/PeerAbstractCommand.cc
	(onAbort): Use peer->resetStatus().
	* src/main.cc
	(PeerChokeCommand.h): Included.
	(main): Added the instance of ChokingCommand to the command 
queue.
	* src/Peer.h
	(amChoking): Renamed from amChocking
	(chokingRequired): New variable.
	(optUnchoking): New variable.
	(deltaUpload): New variable.
	(deltaDownload): New variable.
	(addDeltaUpload): New function.
	(resetDeltaUpload): New function.
	(addDeltaDownload): New function.
	(resetDeltaDownload): New function.
	(addPeerUpload): Added a call to addDeltaUpload.
	(addPeerDownload): Added a call to addDeltaDownload.
	* src/Peer.cc
	(shouldBeChoking): Renamed from shouldChoke.
	(resetStatus): New function.
	* src/PeerChokeCommand.h: New class.
	* src/PeerChokeCommand.cc: New class.
	
	To add lazy upload speed limiter:

	* src/TorrentConsoleDownloadEngine.h: Moved the variables for
	statistics calculation to TorrentDownloadEngine.
	* src/TorrentConsoleDownloadEngine.cc
	(sendStatistics): Renamed from printStatistics.
	(initStatistics): Removed. Moved to TorrentDownloadEngine.
	(calculateSpeed): Removed. Moved to TorrentDownloadEngine.
	(calculateStatistics): Removed. Moved to TorrentDownloadEngine.
	* src/TorrentDownloadEngine.h: Added the variables for 
statistics
	calculation.
	(sendStatistics): New function as pure virtual function.
	(getUploadSpeed): New function.
	* src/TorrentDownloadEngine.cc
	(initStatistics): New function.
	(calculateSpeed): New function.
	(calculateStatistics): New function.
	* src/SendMessageQueue.h
	(uploadLength): New variable.
	(send): Added an argument.
	(setUploadLimit): New function.
	(getUploadLimit): New function.
	* src/SendMessageQueue.cc
	(send): Added upload speed limiter.
	* src/prefs.h
	(PREF_UPLOAD_LIMIT): New definition.
	* src/PeerInteractionCommand.cc
	(PeerInteractionCommand): Set upload speed limit to 
sendMessageQueue.
	* src/main.cc
	(main): Added --upload-limit option

	For bug fixes:
	
	* src/main.cc
	(showUsage): Corrected --listen-port help

	Other changes:
	
	* src/TorrentMan.cc
	(getPeer): Return nullPeer if connection is grather than
	MAX_PEER_UPDATE(15) in order to leave space for incoming peers.
2006-04-28 15:55:11 +00:00
..
ChangeLog * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
LINGUAS * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
Makefile.in 2006-04-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-04-18 17:06:17 +00:00
Makefile.in.in * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
Makevars 2006-03-05 06:32:01 +00:00
POTFILES 2006-03-05 06:32:01 +00:00
POTFILES.in 2006-03-05 06:32:01 +00:00
Rules-quot * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
aria2c.pot 2006-04-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-04-28 15:55:11 +00:00
boldquot.sed * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
en@boldquot.header * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
en@quot.header * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
insert-header.sin * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
ja.gmo 2006-04-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-04-28 15:55:11 +00:00
ja.po 2006-04-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-04-28 15:55:11 +00:00
quot.sed * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
remove-potcdate.sed * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
remove-potcdate.sin * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
stamp-po * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00