aria2/po
Tatsuhiro Tsujikawa 65e0ffe6ca 2006-09-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* src/AbstractCommand.cc
	(execute): Check whether the download has finished before 
checking
	socket status.
	Return true if peerStat->getStatus() == REQUEST_IDLE.
	Do not exit even if no segment is available.

	* src/prefs.h
	(PREF_STARTUP_IDLE_TIME): New definition.

	* src/PeerInteractionCommand.cc
	(executeInternal): Removed max speed limit. Because it performs 
bad.
	(receiveMessages): Added max speed limit. This was better than 
above,
	but still a little bit to be desired. Sometimes the download 
speed
	became much faster than I specified.

	* src/SpeedCalc.h
	(start): New variable.
	(accumulatedLength): New variable.
	(getAvgSpeed): New function.
	* src/SpeedCalc.cc
	(reset): Added start, accumulatedLength.
	(update): Added calculation of an average speed.
	(getAvgSpeed): New function.

	* src/DownloadCommand.h
	(sw): Removed.

	* src/main.cc
	(main): Added PREF_STARTUP_IDLE_TIME.

	* src/PeerStat.h
	(STATUS): Added REQUEST_IDLE.
	(getMaxSpeed): Renamed as getMaxDownloadSpeed().
	(getAvgDownloadSpeed): New function
	(requestIdle): New function.

	* src/SegmentMan.h
	(SegmentEntryHandle): New type definition.
	(SegmentEntries): Now holds SegmentEntryHandle.
	(findSlowerSegmentEntry): New funtion.
	* src/SegmentMan.cc
	(save): Updated according to the changes in SegmentEntries.
	(read): Updated according to the changes in SegmentEntries.
	(FindSegmentEntryByIndex): Updated according to the changes in
	SegmentEntries.
	(FindSegmentEntryByCuid): Updated according to the changes in
	SegmentEntries.
	(checkoutSegment): Updated according to the changes in 
SegmentEntries.
	(onNullBitfield): Updated according to the changes in 
SegmentEntries.
	Renamed uitr as itr.
	(findSlowerSegmentEntry): New function.
	(getSegment): Updated according to the changes in 
SegmentEntries.
	Added the feature that cancels the segment with slow server and 
fast
	one takes it over.
	(cancelSegment): Updated according to the changes in 
SegmentEntries.
	(getDownloadLength): Updated according to the changes in
	SegmentEntries.
	(init): Assigned 0 to bitfield after deleting it.
	
	* src/DownloadCommand.cc
	(STARTUP_IDLE_TIME): Removed.
	(executeInternal): Use PREF_STARTUP_IDLE_TIME.
2006-09-21 06:56:54 +00:00
..
ChangeLog * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
LINGUAS 2006-08-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-08-07 16:28:41 +00:00
Makefile.in 2006-09-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2006-09-21 06:56:54 +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-08-28 15:40:50 +00:00
POTFILES.in 2006-08-28 15:40:50 +00:00
Rules-quot * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
aria2c.pot 2006-08-28 15:40:50 +00:00
boldquot.sed * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00
de.gmo 2006-08-28 15:40:50 +00:00
de.po 2006-08-28 15:40:50 +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-08-28 15:40:50 +00:00
ja.po 2006-08-28 15:40:50 +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
ru.gmo 2006-08-28 15:40:50 +00:00
ru.po 2006-08-28 15:40:50 +00:00
stamp-po * DownloadEngine.{h, cc}: 2006-03-02 10:43:00 +00:00