Tatsuhiro Tsujikawa
82b2e5d069
2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
* src/option_processing.cc: Added missing `defined' keyword to
#if
directive.
2008-05-31 05:32:09 +00:00
Tatsuhiro Tsujikawa
4a0c657d8b
2008-05-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Bump up version number to 0.13.2+1
* src/configure.ac
2008-05-27 15:34:45 +00:00
Tatsuhiro Tsujikawa
20cb017357
2008-05-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Refactored broken outstanding piece handling.
* src/DefaultPieceStorage.cc
* src/DefaultPieceStorage.h
* src/Piece.cc
* src/Piece.h
2008-05-27 15:07:39 +00:00
Tatsuhiro Tsujikawa
27102091ad
2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed compile error on Mac OS X 10.3.9. This error was caused by
the
name collision of static variable and predefined macro.
* src/BtContext.cc
* src/BtContext.h
* src/CookieBoxFactory.cc
* src/CookieBoxFactory.h
* src/CookieParser.cc
* src/CookieParser.h
* src/DefaultBtContext.cc
2008-05-27 14:55:20 +00:00
Tatsuhiro Tsujikawa
e40ae31748
2008-05-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
* src/RequestGroup.cc
(RequestGroup::createInitialCommand): Use empty() instead of
size().
2008-05-27 14:44:55 +00:00
Tatsuhiro Tsujikawa
5699567aea
2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
* Release 0.13.2
2008-05-25 01:46:30 +00:00
Tatsuhiro Tsujikawa
8f90b6092c
2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated fr.po(thanks to Sebastien) and ja.po. ThanksDone make
update-po
* po/fr.po
* po/ja.po
* po/aria2c.pot
* po/*.po
* po/*.gmo
2008-05-25 01:43:22 +00:00
Tatsuhiro Tsujikawa
19ec823a7a
2008-05-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Bump up version number to 0.13.2
* src/configure.ac
2008-05-25 01:19:00 +00:00
Tatsuhiro Tsujikawa
eacb3fa04f
2008-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Refactord.
* src/RequestGroupMan.cc
(removeStoppedGroup)
(fillRequestGroupFromReserver)
2008-05-24 12:00:51 +00:00
Tatsuhiro Tsujikawa
5d8c2c0890
2008-05-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed compile error on Ubuntu.
* src/BtPieceMessage.cc
* src/MessageDigestHelper.cc
* src/Util.cc
2008-05-24 11:56:24 +00:00
Tatsuhiro Tsujikawa
8a653fe38b
2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed compile error when configured with --disable-bittorrent
* test/DownloadHandlerFactoryTest.cc
2008-05-21 08:43:46 +00:00
Tatsuhiro Tsujikawa
bd19e00919
2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Done make update-po
* po/aria2c.pot
* po/*.po
* po/*.gmo
2008-05-21 07:59:14 +00:00
Tatsuhiro Tsujikawa
9cf401f45d
2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Bump up version number to 0.13.2rc.
* src/configure.ac
2008-05-21 07:57:27 +00:00
Tatsuhiro Tsujikawa
9ca3763190
2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made option name bold. Updated SYNOPSIS to make it more
readable.
* doc/aria2c.1.txt
* doc/aria2c.1
* doc/aria2c.1.html
* src/version_usage.cc
2008-05-21 07:47:32 +00:00
Tatsuhiro Tsujikawa
65c7d8f26c
2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Refactored. Use std::string instead of size and char*.
* Data.cc
* Data.h
* test/Data.cc
2008-05-21 07:18:31 +00:00
Tatsuhiro Tsujikawa
ad6ffd7f33
2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added trimSelf(). Rewritten trim() to use trimSelf().
* Util.cc
* Util.h
2008-05-21 07:16:54 +00:00
Tatsuhiro Tsujikawa
90846bdafe
2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
* src/ChunkChecksum.h (getChecksum): Return const reference.
2008-05-20 15:22:53 +00:00
Tatsuhiro Tsujikawa
bf58b49d87
2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed compile error when configured with --disable-metalink.
Also moved test/DownloadHandlerFactoryTest.cc to SRC in
Makefile.am.
* test/FeatureConfigTest.cc
* test/DownloadHandlerFactoryTest.cc
2008-05-20 14:27:58 +00:00
Tatsuhiro Tsujikawa
a70a747c23
2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed compile error when configured with --without-gnutls
--without-openssl
* src/main.cc
* test/DefaultBtProgressInfoFileTest.cc
* test/SegmentManTest.cc
2008-05-20 00:42:34 +00:00
Tatsuhiro Tsujikawa
bbd2a995db
2008-05-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Fixed compile error with OpenSSL.
* src/IteratableChunkChecksumValidator.cc
* src/LibsslDHKeyExchange.h
* src/MessageDigestHelper.cc
2008-05-19 15:08:18 +00:00
Tatsuhiro Tsujikawa
13be071b6a
2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Revert the default value of --max-concurrent-downloads to 5.
Revert the default value of --metalink-servers to 5.
Man pages was also updated.
* src/option_processing.cc
* doc/aria2c.1.txt
* doc/aria2c.1.html
* doc/aria2c.1
2008-05-19 12:36:20 +00:00
Tatsuhiro Tsujikawa
ff6b5ecc9c
2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Returns const reference:
DownloadContext::getPieceHash, DownloadContext::getName,
DownloadContext::getPieceHashAlgo, DownloadContext::getDir,
BtContext::getInfoHashAsString,
* src/BtContext.h
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
* src/DownloadContext.h
* src/SingleFileDownloadContext.h
* test/MockBtContext.h
2008-05-19 11:28:17 +00:00
Tatsuhiro Tsujikawa
960d4acbce
2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
* src/RequestGroup.h (getDir): Removed.
2008-05-19 11:20:51 +00:00
Tatsuhiro Tsujikawa
f4ac2c2185
2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Returns const reference. The internal urlencode function was
optimized
a little bit.
* src/Request.cc
* src/Request.h
* src/HttpRequest.cc
* src/HttpRequest.h
2008-05-19 11:19:18 +00:00
Tatsuhiro Tsujikawa
0189bbc6bc
2008-05-19 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined option name and possible values as std::string to reduce
temporary string object creation in runtime.
* src/HelpItemFactory.cc
* src/LogFactory.cc
* src/Option.cc
* src/OptionHandlerFactory.cc
* src/option_processing.cc
* src/prefs.cc
* src/prefs.h
2008-05-19 10:25:38 +00:00
Tatsuhiro Tsujikawa
e59f4f2fe3
2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Return const reference.
* src/DownloadHandlerConstants.cc
* src/DownloadHandlerConstants.h
(getMetalinkExtensions)
(getMetalinkContentTypes)
(getBtExtensions)
(getBtContentTypes)
2008-05-18 11:53:22 +00:00
Tatsuhiro Tsujikawa
7235f2657f
2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
* src/HttpHeader.cc (get): Rewritten.
2008-05-18 10:40:23 +00:00
Tatsuhiro Tsujikawa
e1c1c010b8
2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Make HttpHeader::getFirst(...) return const reference.
* src/HttpHeader.cc
* src/HttpHeader.h
2008-05-18 10:33:06 +00:00
Tatsuhiro Tsujikawa
a0f8685de3
2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use Option::getAsBool(...) instead of Option::get(...) and
compare
it with V_TRUE.
* src/DefaultPieceStorage.cc
* src/DownloadCommand.cc
* src/FtpNegotiationCommand.cc
* src/HttpRequest.cc
* src/InitiateConnectionCommand.cc
* src/RequestGroup.cc
2008-05-18 10:25:41 +00:00
Tatsuhiro Tsujikawa
0a95211100
2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made Option::get(...) return const reference of std::string.
* src/Option.cc
* src/Option.h
2008-05-18 10:14:53 +00:00
Tatsuhiro Tsujikawa
e4b0446c61
2008-05-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Replaced std:copy with insert.
* src/DefaultBtMessageDispatcher.cc
* src/DefaultPieceStorage.cc
* src/DownloadEngineFactory.cc
* src/RequestGroup.cc
2008-05-18 10:07:42 +00:00
Tatsuhiro Tsujikawa
111edd2c56
2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Included SocketCore.h to fix compiler warning.
* src/InitiateConnectionCommand.cc
2008-05-17 13:26:25 +00:00
Tatsuhiro Tsujikawa
ef02915d82
2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Put piece selection strategy algorithm to RarestPieceSelector
class,
Added a switch to choose whether randomized selection so that
unit
tests emit same results in, possibly, win32.
* src/DefaultPieceStorage.cc
* src/DefaultPieceStorage.h
* src/RarestPieceSelector.cc
* src/RarestPieceSelector.h
* test/DefaultPieceStorageTest.cc
* test/RarestPieceSelectorTest.cc
2008-05-17 12:51:54 +00:00
Tatsuhiro Tsujikawa
77d892d7f2
2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Don't pool connection if HTTP proxy is enabled.
* src/FtpFinishDownloadCommand.cc
* src/FtpNegotiationCommand.cc
* src/HttpSkipResponseCommand.cc
2008-05-17 09:26:47 +00:00
Tatsuhiro Tsujikawa
7c6ed037e3
2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Don't add closed socket to
DownloadEngine::addSocketForReadCheck()
* src/AbstractCommand.cc
* src/AbstractCommand.h
* src/ActivePeerConnectionCommand.cc
* src/FtpInitiateConnectionCommand.cc
* src/HttpInitiateConnectionCommand.cc
* src/InitiateConnectionCommandFactory.cc
* src/PeerAbstractCommand.cc
* src/PeerAbstractCommand.h
* src/PeerInitiateConnectionCommand.cc
* src/TrackerWatcherCommand.cc
2008-05-17 09:15:14 +00:00
Tatsuhiro Tsujikawa
b5f1ca6f66
2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Sort RequestSlot in ascending order and manipulate them using
lower_bound.
* src/DefaultBtMessageDispatcher.cc
* src/DefaultBtMessageDispatcher.h
(getMessageQueue): Added const qualifier.
(getRequestSlots): Added const qualifier.
(sendMessages): Use empty() instead of size().
(doCancelSendingPieceAction): Use HandleEvent object.
(doAbortOutstandingRequestAction): Rewritten.
(doChokedAction): Rewritten.
(checkRequestSlotAndDoNecessaryThing): Rewritten.
(isOutstandingRequest): Rewritten.
(getOutstandingRequest): Rewritten.
(removeOutstandingRequest): Rewritten.
(addOutstandingRequest): Rewritten.
* src/RequestSlot.cc
* src/RequestSlot.h
(operator=): Rewritten.
(operator!=): New function.
(operator<): New function.
2008-05-17 07:31:32 +00:00
Tatsuhiro Tsujikawa
e67e998c18
2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
* src/DefaultBtRequestFactory.cc
(doChokedAction): Rewritten.
(removeCompletedPiece): Rewritten.
(removeTargetPiece): Rewritten.
(createRequestMessages): Added the debug log.
(createRequestMessagesOnEndGame: Added the debug log.
2008-05-17 07:17:07 +00:00
Tatsuhiro Tsujikawa
9787a7a5b0
2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added the debug log message.
* src/BtPieceMessage.cc (doReceivedAction)
2008-05-17 07:06:17 +00:00
Tatsuhiro Tsujikawa
4b3e582542
2008-05-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Sorted DHTPeerAnnounceEntry in a ascending order of info hash
and
used lower_bound to process them rather than linear search.
* src/DHTPeerAnnounceStorage.cc
2008-05-17 06:10:52 +00:00
Tatsuhiro Tsujikawa
73a2599a04
Fixed date
2008-05-17 05:39:17 +00:00
Tatsuhiro Tsujikawa
7bbd9cec3b
2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Call subtractPieceStats from ~PeerInteractionCommand only when
the
peer has at least one completed piece.
* src/Peer.cc
* src/Peer.h
* src/PeerInteractionCommand.cc
* src/PeerSessionResource.cc
* src/PeerSessionResource.h
2008-05-17 05:12:14 +00:00
Tatsuhiro Tsujikawa
d4d608eeb0
2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Removed unnecessary sorting
* src/DefaultPieceStorage (DefaultPieceStorage)
2008-05-17 05:09:10 +00:00
Tatsuhiro Tsujikawa
99f07b515f
2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Rewritten the portion of the code that mangaes allowed fast
indexes.
* src/PeerSessionResource.cc
* src/PeerSessionResource.h
2008-05-16 14:51:14 +00:00
Tatsuhiro Tsujikawa
738996932a
2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Removed the invalid string including '\r' from ru.po and
did make update-po.
2008-05-15 16:10:25 +00:00
Tatsuhiro Tsujikawa
2c7ae9ebaa
2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added --log-level and --summary-interval to man page.
* doc/aria2c.1.txt
* doc/aria2c.1.html
* doc/aria2c.1
2008-05-15 15:57:04 +00:00
Tatsuhiro Tsujikawa
d76e423884
2008-05-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added --log-level option to specify log level. Log messages under
the specified level are not output. Default value is `debug'.
* src/HelpItemFactory.cc
* src/LogFactory.cc
* src/LogFactory.h
* src/Logger.h
* src/OptionHandlerFactory.cc
* src/SimpleLogger.cc
* src/SimpleLogger.h
* src/main.cc
* src/option_processing.cc
* src/prefs.h
* src/usage_text.h
2008-05-15 15:48:41 +00:00
Tatsuhiro Tsujikawa
2e8e926c10
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Print download progress summary of all parallel downloads in specified
interval, default 60 secs. While aria2 could download several files
in parallel (see -j option), it displayed just first download progress,
and the other downloads are hidden from the users. This new feature
prints all downloads currently in-progress to the console so that you
can check the status of all downloads. The interval can be adjusted
by --summary-interval option.
The progress readout is now cut so that all fits in the one line of
console.
* src/ConsoleStatCalc.cc
* src/ConsoleStatCalc.h
* src/HelpItemFactory.cc
* src/OptionHandlerFactory.cc
* src/RequestGroupMan.cc
* src/RequestGroupMan.h
* src/main.cc
* src/option_processing.cc
* src/prefs.h
* src/usage_text.h
2008-05-15 14:37:02 +00:00
Tatsuhiro Tsujikawa
d8e64c764d
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Call updateFdSet() to initialize rfdset, wfdset fdmax.
* src/DownloadEngine.cc (DownloadEngine)
2008-05-14 16:01:30 +00:00
Tatsuhiro Tsujikawa
148b1baf38
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use free() to deallocate memory for _buffer if
HAVE_POSIX_MEMALIGN is
defined.
* src/SingleFileAllocationIterator.cc
(~SingleFileAllocationIterator)
2008-05-14 15:51:35 +00:00
Tatsuhiro Tsujikawa
46636201c1
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use erase+lower_bound+insert instead of sort.
* src/DefaultPieceStorage.cc (addPieceStats)
2008-05-14 15:43:38 +00:00
Tatsuhiro Tsujikawa
f2588a882b
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use A2STR::SHARP_C and A2STR::EQUAL_C.
* src/A2STR.cc
* src/A2STR.h
* src/OptionParser.cc (parse)
2008-05-14 15:33:42 +00:00
Tatsuhiro Tsujikawa
35b219ddc8
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined fake filename `[tracker.announce]' as static const
std::string.
* src/TrackerWatcherCommand.cc (createRequestGroup)
2008-05-14 15:22:52 +00:00
Tatsuhiro Tsujikawa
237ec10329
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined default filename `index.html' as static const
std::string
* src/SingleFileDownloadContext.cc
* src/SingleFileDownloadContext.h
2008-05-14 15:19:26 +00:00
Tatsuhiro Tsujikawa
f26d64ce49
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined "[MEMORY]" as static const std::string.
* src/MemoryBufferPreDownloadHandler.cc (execute)
2008-05-14 15:15:04 +00:00
Tatsuhiro Tsujikawa
013bf02662
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined control file's version number as static const
std::string.
* src/DefaultBtProgressInfoFile.cc
* src/DefaultBtProgressInfoFile.h
2008-05-14 15:12:17 +00:00
Tatsuhiro Tsujikawa
6d0aff618d
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use Request::METHOD_GET
* src/RequestGroup.cc (createNextCommandWithAdj)
2008-05-14 15:05:46 +00:00
Tatsuhiro Tsujikawa
630cee3cb7
2008-05-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined "OK", "ERR", "INPR" as static const std::string
* src/RequestGroupMan.cc (showDownloadResults)
2008-05-14 15:03:09 +00:00
Tatsuhiro Tsujikawa
919c6934a8
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined default client used in extended handshake as static
const
std::string
* src/DefaultBtInteractive.cc
(addHandshakeExtendedMessageToQueue)
2008-05-14 14:57:22 +00:00
Tatsuhiro Tsujikawa
5143a7fed0
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined AUTH_HEADER, PROXY_AUTH_HEADER as static const
std::string
* src/HttpConnection.cc (eraseConfidentialInfo)
2008-05-14 14:51:31 +00:00
Tatsuhiro Tsujikawa
cded0f5811
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined default ftp user and password as static const
std::string
* src/AuthConfigFactory.cc
* src/AuthConfigFactory.h
2008-05-14 14:40:38 +00:00
Tatsuhiro Tsujikawa
12b880a724
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined strings used in netrc as static const std::string
* src/Netrc.cc
* src/Netrc.h
2008-05-14 14:35:52 +00:00
Tatsuhiro Tsujikawa
158563d16a
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined HTTP status as static const std::string
* src/AbstractProxyResponseCommand.cc
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpResponse.cc
* src/HttpResponseCommand.cc
* src/HttpSkipResponseCommand.cc
2008-05-14 14:02:18 +00:00
Tatsuhiro Tsujikawa
9a98c71972
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined "\r\n", "A", "I" as static const std::string
* src/A2STR.cc
* src/A2STR.h
* src/FtpConnection.cc
* src/FtpConnection.h
2008-05-14 13:52:47 +00:00
Tatsuhiro Tsujikawa
30a378aa57
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Added COLON_C(".") and used it in Request::parseUrl()
* src/A2STR.cc
* src/A2STR.h
* src/Request.cc (parseUrl)
2008-05-14 13:25:42 +00:00
Tatsuhiro Tsujikawa
309ad8c5ef
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed the type of padName from `const std::string&' to `const
char*'.
* src/MSEHandshake.cc (verifyPadLength)
2008-05-14 13:14:04 +00:00
Tatsuhiro Tsujikawa
0eb5ca187f
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined "sha1" as static const std::string.
* src/MetalinkParserController.cc
* src/MetalinkParserController.h
2008-05-14 13:07:04 +00:00
Tatsuhiro Tsujikawa
9bd1fc10af
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined message digest algorithm name as static const
std::string
* src/DHTTokenTracker.cc
* src/DHTUtil.cc
* src/DefaultBtContext.cc
* src/MSEHandshake.cc
* src/MessageDigestHelper.cc
* src/Peer.cc
* src/messageDigest.cc
* src/messageDigest.h
2008-05-14 13:02:43 +00:00
Tatsuhiro Tsujikawa
48c96ac441
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made string literals used in SAX parser static const
std::string.
* src/FileMetalinkParserState.cc
* src/FileMetalinkParserState.h
* src/FilesMetalinkParserState.cc
* src/FilesMetalinkParserState.h
* src/InitialMetalinkParserState.cc
* src/InitialMetalinkParserState.h
* src/MetalinkMetalinkParserState.cc
* src/MetalinkMetalinkParserState.h
* src/PiecesMetalinkParserState.cc
* src/PiecesMetalinkParserState.h
* src/ResourcesMetalinkParserState.cc
* src/ResourcesMetalinkParserState.h
* src/VerificationMetalinkParserState.cc
* src/VerificationMetalinkParserState.h
2008-05-14 12:51:05 +00:00
Tatsuhiro Tsujikawa
1b874503cf
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use A2STR::SLASH_C, A2STR::DOT_C instead of "/", "."
respectively.
* src/A2STR.cc
* src/A2STR.h
* src/File.cc
2008-05-14 12:28:46 +00:00
Tatsuhiro Tsujikawa
1aeefb5c4b
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Defined static const std::string IP("ip"), PORT("port") and use
them
instead of string literals.
* src/DefaultPeerListProcessor.cc
* src/DefaultPeerListProcessor.h
2008-05-14 12:15:39 +00:00
Tatsuhiro Tsujikawa
9d24736208
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made string literals for torrent file processing static const
std::string.
* src/BtContext.cc
* src/BtContext.h
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
2008-05-14 12:11:04 +00:00
Tatsuhiro Tsujikawa
cb795bc989
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made string literal for tracker response static const
std::string
* src/BtAnnounce.cc
* src/BtAnnounce.h
* src/DefaultBtAnnounce.cc
2008-05-14 11:47:15 +00:00
Tatsuhiro Tsujikawa
412429dfe6
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Use DHTMessage::T instead of "t".
* src/DHTMessageTracker.cc (messageArrived)
2008-05-14 11:31:53 +00:00
Tatsuhiro Tsujikawa
87984328c5
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made keyName static const. Made trimmed charset static const
std::string.
* src/Util.cc (getContentDispositionFilename)
2008-05-13 17:05:02 +00:00
Tatsuhiro Tsujikawa
29d5651cd5
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made USER_AGENT const. Made "/" static const std::string.
* src/A2STR.cc
* src/A2STR.h
* src/HttpRequest.cc
* src/HttpRequest.h
2008-05-13 16:58:40 +00:00
Tatsuhiro Tsujikawa
0c821d0ad7
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made string listeral to static const std::string:
"Content-Range", "Content-Length"
* src/HttpHeader.cc
* src/HttpHeader.h
2008-05-13 16:44:21 +00:00
Tatsuhiro Tsujikawa
00f385c3b3
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made string listeral to static const std::string.
* src/HttpConnection.cc
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpResponse.cc
2008-05-13 16:40:34 +00:00
Tatsuhiro Tsujikawa
a37af74369
2008-05-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made string listeral to static const std::string.
* src/A2STR.cc
* src/A2STR.h
* src/SimpleLogger.cc
* src/SimpleLogger.h
2008-05-13 16:28:31 +00:00
Tatsuhiro Tsujikawa
1942b8d7b3
2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made string literal to static const std::string.
Rewritten CookieParser::setField.
* src/A2STR.cc
* src/A2STR.h
* src/CookieBoxFactory.cc
* src/CookieBoxFactory.h
* src/CookieParser.cc
* src/CookieParser.h
2008-05-13 16:13:55 +00:00
Tatsuhiro Tsujikawa
898b807ba2
2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made string literal to static const std::string
* src/DHTAbstractMessage.cc
* src/DHTAnnouncePeerMessage.cc
* src/DHTAnnouncePeerMessage.h
* src/DHTAnnouncePeerReplyMessage.cc
* src/DHTAnnouncePeerReplyMessage.h
* src/DHTFindNodeMessage.cc
* src/DHTFindNodeMessage.h
* src/DHTFindNodeReplyMessage.cc
* src/DHTFindNodeReplyMessage.h
* src/DHTGetPeersMessage.cc
* src/DHTGetPeersMessage.h
* src/DHTGetPeersReplyMessage.cc
* src/DHTGetPeersReplyMessage.h
* src/DHTMessage.cc
* src/DHTMessage.h
* src/DHTMessageFactoryImpl.cc
* src/DHTMessageReceiver.cc
* src/DHTPingMessage.cc
* src/DHTPingMessage.h
* src/DHTPingReplyMessage.cc
* src/DHTPingReplyMessage.h
* src/DHTQueryMessage.cc
* src/DHTQueryMessage.h
* src/DHTResponseMessage.cc
* src/DHTResponseMessage.h
* src/DHTUnknownMessage.cc
* src/DHTUnknownMessage.h
2008-05-13 15:55:05 +00:00
Tatsuhiro Tsujikawa
5c8db1cc20
2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Made string literal to static const std::string
* src/BtChokeMessage.cc (toString)
* src/BtHaveAllMessage.cc (toString)
* src/BtHaveNoneMessage.cc (toString)
* src/BtInterestedMessage.cc (toString)
* src/BtNotInterestedMessage.cc (toString)
* src/BtUnchokeMessage.cc (toString)
2008-05-13 14:25:27 +00:00
Tatsuhiro Tsujikawa
386d19693b
2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Replaced "" with static const variable A2STR::NIL.
Replaced string comparison against "" with std::string::empty().
Added PROTO_* to Request class and use them as a protocol string
constant.
Made "started", "stopped", "completed" static const variable in
AnnounceList class.
2008-05-13 14:15:23 +00:00
Tatsuhiro Tsujikawa
9d03f0d2f7
2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated translations. Great thanks to translators.
* po/ca.po
* po/de.po
* po/fr.po
* po/it.po
* po/ja.po
* po/ru.po
* po/zh_CN.po
2008-05-12 15:39:52 +00:00
Tatsuhiro Tsujikawa
915562f1b2
2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Updated man page; categorized options and fixed typo.
* doc/aria2c.1.txt
* doc/aria2c.1.html
* doc/aria2c.1
2008-05-12 15:26:43 +00:00
Tatsuhiro Tsujikawa
3c8918cfe0
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Removed const ref
* src/MetalinkEntry.cc (AddProtocolPreference)
* src/RequestGroup.cc (FindServerHostByHostname)
2008-05-12 14:10:14 +00:00
Tatsuhiro Tsujikawa
7ea0e831d4
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Rewritten Accept-Features handling.
* src/HttpRequestCommand.cc (createHttpRequest)
* src/a2functional.h
2008-05-12 14:08:43 +00:00
Tatsuhiro Tsujikawa
fac64b9e07
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Rewritten Accept-Features handling.
* src/HttpRequestCommand.cc (createHttpRequest)
2008-05-12 14:07:54 +00:00
Tatsuhiro Tsujikawa
c1ba19efe2
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed method signature:
DHTAbstractNodeLookupTask::toEntries
* src/DHTAbstractNodeLookupTask.cc
* src/DHTAbstractNodeLookupTask.h
2008-05-12 12:26:45 +00:00
Tatsuhiro Tsujikawa
41b6003cbd
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed method signature:
BtContext::computeFastSet, DefaultBtContext::extractUrlList
* src/BtContext.h
* src/DefaultBtContext.cc
* src/DefaultBtContext.h
* src/DefaultBtInteractive.cc
* test/DefaultBtContextTest.cc
* test/MockBtContext.h
2008-05-12 12:18:21 +00:00
Tatsuhiro Tsujikawa
6ae07106d3
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed method signature:
MultiFileAllocationIterator::makeDiskWriterEntries
* src/MultiFileAllocationIterator.cc
* src/MultiFileAllocationIterator.h
2008-05-12 11:51:09 +00:00
Tatsuhiro Tsujikawa
3da60af41e
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed method sinature:
MetalinkEntry::toFileEntry,
MetalinkHelper::query, MetalinkHelper::parseAndQuery,
Metalinker::queryEntry
* src/Metalink2RequestGroup.cc
* src/MetalinkEntry.cc
* src/MetalinkEntry.h
* src/MetalinkHelper.cc
* src/MetalinkHelper.h
* src/Metalinker.cc
* src/Metalinker.h
* src/main.cc
* test/MetalinkHelperTest.cc
* test/MetalinkerTest.cc
2008-05-12 11:39:34 +00:00
Tatsuhiro Tsujikawa
f84eac327f
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed method sinature:
RequestGroup::getURIs
* src/RequestGroup.cc
* src/RequestGroup.h
* test/Metalink2RequestGroupTest.cc
2008-05-12 11:15:17 +00:00
Tatsuhiro Tsujikawa
5f8e8e371e
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed method signature:
PeerListProcessor::extractPeer
* src/CompactPeerListProcessor.cc
* src/CompactPeerListProcessor.h
* src/DefaultBtAnnounce.cc
* src/DefaultPeerListProcessor.cc
* src/DefaultPeerListProcessor.h
* src/DelegatingPeerListProcessor.cc
* src/DelegatingPeerListProcessor.h
* src/PeerListProcessor.h
* src/UTPexExtensionMessage.cc
* test/DefaultPeerListProcessorTest.cc
2008-05-12 11:05:21 +00:00
Tatsuhiro Tsujikawa
ddd1206b42
2008-05-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed method signature:
BtRequestFactory::createRequestMessages,
BtRequestFactory::createRequestMessagesOnEndGame
* src/BtRequestFactory.h
* src/DefaultBtInteractive.cc
* src/DefaultBtRequestFactory.cc
* src/DefaultBtRequestFactory.h
* test/DefaultBtRequestFactoryTest.cc
* test/MockBtRequestFactory.h
2008-05-12 10:54:36 +00:00
Tatsuhiro Tsujikawa
d2110dc697
2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed method signature:
PieceStorage::getInFlightPieces
* src/DefaultBtProgressInfoFile.cc
* src/DefaultPieceStorage.cc
* src/DefaultPieceStorage.h
* src/PieceStorage.h
* src/UnknownLengthPieceStorage.cc
* src/UnknownLengthPieceStorage.h
* test/DefaultBtProgressInfoFileTest.cc
* test/MockPieceStorage.h
2008-05-11 14:42:34 +00:00
Tatsuhiro Tsujikawa
b96eb7fd79
2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Changed method signature:
PostDownloadHandler::getNextRequestGroups
Metalink2RequestGroup::generate
RequestGroup::postDownloadProcessing
* src/BtPostDownloadHandler.cc
* src/BtPostDownloadHandler.h
* src/Metalink2RequestGroup.cc
* src/Metalink2RequestGroup.h
* src/MetalinkPostDownloadHandler.cc
* src/MetalinkPostDownloadHandler.h
* src/PostDownloadHandler.h
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/main.cc
* test/BtPostDownloadHandlerTest.cc
* test/Metalink2RequestGroupTest.cc
* test/MetalinkPostDownloadHandlerTest.cc
2008-05-11 13:59:27 +00:00
Tatsuhiro Tsujikawa
3884d710d3
2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Rewritten AccRequestGroup
* src/main.cc
2008-05-11 13:31:30 +00:00
Tatsuhiro Tsujikawa
b22e86a6eb
2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Rewritten.
* src/TaggedItem.cc (toTagString)
2008-05-11 13:19:20 +00:00
Tatsuhiro Tsujikawa
4e3c08d50c
2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Rewritten Accept-Features handling.
* src/HttpRequestCommand.cc (createHttpRequest)
2008-05-11 13:14:41 +00:00
Tatsuhiro Tsujikawa
1f931b33bd
2008-05-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
...
Rewritten accept types handling.
* HttpRequest.cc (createRequest)
2008-05-11 13:07:26 +00:00