Commit Graph

1267 Commits (5547b3a5eda5b3fbb322b95c30cc40944553b9ec)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 084da2c7e4 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typos
	* src/usage_text.h
2008-12-01 16:44:23 +00:00
Tatsuhiro Tsujikawa 15586812c5 2008-11-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Print a message when no files to download.
	* src/download_helper.cc
	* src/main.cc
	* src/message.h
2008-11-30 09:35:27 +00:00
Tatsuhiro Tsujikawa 1aef3cd005 Fixed compile error with asciidoc.
Generated man page and html.
2008-11-28 14:32:22 +00:00
Anthony Bryan 796f8373cd Fix small typos and grammer in man page. 2008-11-27 22:24:13 +00:00
Tatsuhiro Tsujikawa b3aa7cef1d 2008-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
RFC3986 complied Percent-Encoding(urlencode).
	Use uppercase hexadecimal digits for encoded text instead of
	lowercase ones.
	* src/Request.cc
	* src/Util.cc
	* src/Util.h
	* test/BtHandshakeMessageTest.cc
	* test/DefaultBtAnnounceTest.cc
	* test/DefaultBtContextTest.cc
	* test/RequestTest.cc
	* test/UtilTest.cc
2008-11-27 15:29:15 +00:00
Tatsuhiro Tsujikawa b1edad42ff 2008-11-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that prevents aria2 from downloading 0-length
	files via HTTP/FTP.
	* src/DefaultBtContext.cc
	* src/DefaultBtContext.h
	* src/DownloadContext.h
	* src/FtpNegotiationCommand.cc
	* src/HttpResponseCommand.cc
	* src/HttpResponseCommand.h
	* src/RequestGroup.cc
	* src/SingleFileDownloadContext.cc
	* src/SingleFileDownloadContext.h
	* test/BtPostDownloadHandlerTest.cc
	* test/MetalinkPostDownloadHandlerTest.cc
	* test/MockBtContext.h
2008-11-26 15:22:54 +00:00
Tatsuhiro Tsujikawa b1eee48ee3 2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that -pfalse and -ptrue are not recognized
	properly.
	* src/option_processing.cc
2008-11-26 12:54:22 +00:00
Tatsuhiro Tsujikawa 72d523b990 2008-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Applied aria2-1.0.1-mingw.patch.
	Use SOCKET_ERRNO instead of errno if the code is used both linux
	and mingw.
	Collected 4th and 5th argument types for getsockopt and
	setsockopt.
	* src/SocketCore.cc
	* src/a2netcompat.h
	* test/SocketCoreTest.cc
2008-11-26 12:50:07 +00:00
Tatsuhiro Tsujikawa e074d93348 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
* Release 1.0.1
2008-11-24 14:29:24 +00:00
Tatsuhiro Tsujikawa c0fca54dae 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated Ukrainian and Norwegian Nynorsk translations.
	Thanks to all translators.
	* po/nn.po
	* po/uk.po
2008-11-24 14:18:08 +00:00
Tatsuhiro Tsujikawa 95f726a4ca 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Don't show download result when -S option is used.
	* src/main.cc
2008-11-24 13:38:56 +00:00
Tatsuhiro Tsujikawa c881532c65 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.0.1
	* configure.ac
2008-11-24 11:21:13 +00:00
Tatsuhiro Tsujikawa 9e7a497fd9 2008-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Closed files after the test cases in MultiDiskWriterTest::
	testResetDiskWriterEntries(). This will fix the unit test error
	in mingw32 build.
	* test/MultiDiskWriterTest.cc
2008-11-24 11:13:58 +00:00
Tatsuhiro Tsujikawa 62105714ef 2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use HEAD method to get file size from HTTP server for segmented
	downloading.
	The request to the BitTorrent Tracker always uses GET method
	because the response of the tracker is small and it doesn't need
	segmented download.
	* src/FtpNegotiationCommand.cc
	* src/HttpRequest.cc
	* src/HttpResponseCommand.cc
	* src/HttpSkipResponseCommand.cc
	* src/RequestGroup.cc
	* src/RequestGroup.h
	* src/TrackerWatcherCommand.cc
	* test/HttpRequestTest.cc
2008-11-23 15:00:44 +00:00
Tatsuhiro Tsujikawa c104ac8319 2008-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that causes floating exception when -T option is
	used and no URIs are given.
	* src/download_helper.cc
	* test/DownloadHelperTest.cc
2008-11-23 12:13:53 +00:00
Ross Smith II 67d5d6d55e Applied aria2-1.0.0-mingw-r5.patch 2008-11-22 20:28:50 +00:00
Tatsuhiro Tsujikawa 5faa91e24c 2008-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo in "OPTIONS THAT TAKE AN OPTIONAL ARGUMENT" section.
	* doc/aria2c.1.txt
2008-11-20 12:21:39 +00:00
Tatsuhiro Tsujikawa 2041d8951c 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
* Release 1.0.0
2008-11-18 15:14:40 +00:00
Tatsuhiro Tsujikawa 5a5d901228 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added '~' to reserved characters.
	* src/Util.cc
2008-11-18 15:12:57 +00:00
Tatsuhiro Tsujikawa 931bd985db 2008-11-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Do not urlencode Request::url in setUrl() because we want
	unmodified URL using Request::getUrl()
	* src/Request.cc
	* src/Request.h
	* test/RequestTest.cc
2008-11-18 15:10:47 +00:00
Tatsuhiro Tsujikawa 53b418cde9 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
* Release 1.0.0
2008-11-18 14:13:30 +00:00
Tatsuhiro Tsujikawa 4976dd1813 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated Ukrainian, Japanese, Bulgarian, Russian and French
	translations. Thanks to all translators.
	* po/bg.po
	* po/fr.po
	* po/ja.po
	* po/ru.po
	* po/uk.po
2008-11-18 12:26:35 +00:00
Tatsuhiro Tsujikawa 0867efec33 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.0.0
	* configure.ac
2008-11-18 12:18:52 +00:00
Tatsuhiro Tsujikawa 98bb28f6bf 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added nosqlite3 build to build_test.sh.
	Renamed noxml as expat.
	* build_test.sh
2008-11-18 12:17:54 +00:00
Tatsuhiro Tsujikawa 567a53082f 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated INPUT FILE section.
	* doc/aria2c.1.txt
2008-11-18 11:36:24 +00:00
Tatsuhiro Tsujikawa a38e367f7f 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Excluded testLoad_compat() and testLoad_nonBt_compat() when
	compiled on big endian systems because test .aria2 files are
	made for little	endian systems.
	* test/DefaultBtProgressInfoFileTest.cc
2008-11-18 11:28:04 +00:00
Tatsuhiro Tsujikawa 091dad70cc 2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Dropped ares support.
	* README
	* configure.ac
	* m4/libares.m4: Removed.
	* src/AsyncNameResolver.cc
	* src/Makefile.am
	* test/Makefile.am
2008-11-18 11:20:53 +00:00
Tatsuhiro Tsujikawa b0029fa4bf 2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten ByteArrayDiskWriter::size() using seekg() and tellg().
	Removed const qualifier from DiskWriter::size().
	* src/AbstractDiskWriter.cc
	* src/AbstractDiskWriter.h
	* src/ByteArrayDiskWriter.cc
	* src/ByteArrayDiskWriter.h
	* src/DiskWriter.h
	* test/ByteArrayDiskWriterTest.cc
2008-11-17 12:07:24 +00:00
Tatsuhiro Tsujikawa 644f707519 2008-11-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that causes segmentation fault/bus error during
	executing choking algorithm while seeding. This is caused by
	improper implementation of compare function which returns
	inconsistent results depending on the timing of last unchoke.
	* src/BtSeederStateChoke.cc
	* src/BtSeederStateChoke.h
	* src/DefaultPeerStorage.cc
2008-11-17 11:07:04 +00:00
Tatsuhiro Tsujikawa 87b442d8c3 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed TODO
	* TODO
2008-11-16 08:42:12 +00:00
Tatsuhiro Tsujikawa 64a7770f53 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added a section that explains how to pass argument to options
	that takes optional arguments with its short form.
	* doc/aria2c.1.txt
2008-11-16 08:36:41 +00:00
Tatsuhiro Tsujikawa 03f91ba35a 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added -u for the short form of --max-upload-limit option.
	* doc/aria2c.1.txt
	* src/option_processing.cc
	* src/usage_text.h
2008-11-16 08:13:51 +00:00
Tatsuhiro Tsujikawa 3c15414420 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added -V for the short form of --check-integrity option.
	Now the argument of --check-integrity option is optional:
	if it is omitted, it is evaluated as true.
	* doc/aria2c.1.txt
	* src/option_processing.cc
	* src/usage_text.h
2008-11-16 08:06:56 +00:00
Tatsuhiro Tsujikawa adb4ef2168 2008-11-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made the default value of --ftp-pasv option set to true and it
	can take true/false values.
	* src/OptionHandlerFactory.cc
	* src/option_processing.cc
	* src/usage_text.h
	* doc/aria2c.1.txt
2008-11-16 04:41:07 +00:00
Tatsuhiro Tsujikawa 9b71a5d0b5 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Given custom random number generator to std::random_shuffle.
	* src/AnnounceList.cc
	* src/BtLeecherStateChoke.cc
	* src/BtSeederStateChoke.cc
	* src/DefaultBtRequestFactory.cc
	* src/MetalinkEntry.cc
	* src/RarestPieceSelector.cc
	* src/SimpleRandomizer.cc
	* src/SimpleRandomizer.h
2008-11-16 04:25:24 +00:00
Tatsuhiro Tsujikawa a3bfe5c504 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Now the default value of --enable-direct-io is true.
	* src/OptionHandlerFactory.cc
	* doc/aria2c.1.txt
2008-11-15 14:47:26 +00:00
Tatsuhiro Tsujikawa c1a3bba6f8 2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Erase peer before executing onReturningPeer and onErasingPeer
	because choking algorithm called from onReturningPeer doesn't
	like erasing peer in the active peer list.
	* src/DefaultPeerStorage.cc
2008-11-15 13:39:29 +00:00
Tatsuhiro Tsujikawa 7bcf0f48b2 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Instead of creating special filename in createDownloadResult()
	if inMemoryDownload() is true, now it is done in getFilePath().
	* src/RequestGroup.cc
	* test/RequestGroupTest.cc
2008-11-14 12:32:54 +00:00
Tatsuhiro Tsujikawa 690340ef02 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Print "[MEMORY]" and filename if a file is not saved in disk and
	just processed in memory. This is the fix for previous comment
	out.
	* src/MemoryBufferPreDownloadHandler.cc
	* src/RequestGroup.cc
	* src/RequestGroup.h
2008-11-14 12:02:16 +00:00
Tatsuhiro Tsujikawa 6c397fe7ba 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Commented out the code which sets virtual directory path
	"[MEMORY]" propagate directory to store to following
	RequestGroup.
	* src/MemoryBufferPreDownloadHandler.cc
2008-11-13 16:52:44 +00:00
Tatsuhiro Tsujikawa cc1546feb5 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.0.0b
	* configure.ac
2008-11-13 16:15:16 +00:00
Tatsuhiro Tsujikawa b62b860ba0 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added input_uris.txt to EXTRA_DIST
	* test/Makefile.am
2008-11-13 16:14:03 +00:00
Tatsuhiro Tsujikawa ad05b8ff30 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed PeerObject.h from Makefile.am
	* src/Makefile.am
2008-11-13 16:07:44 +00:00
Tatsuhiro Tsujikawa c0197f1040 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Avoid slow seeding
	* src/PeerInteractionCommand.cc
2008-11-13 15:39:22 +00:00
Tatsuhiro Tsujikawa 586b63fdbd 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated usage for -i option.
	* src/usage_text.h (TEXT_INPUT_FILE)
2008-11-13 15:36:36 +00:00
Tatsuhiro Tsujikawa 073d6ca265 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added INPUT FILE section to man page.
	Escaped fake URLs.
	* doc/aria2c.1.txt
2008-11-13 15:32:21 +00:00
Tatsuhiro Tsujikawa 0acfd37bdb 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed wrong note position for -o option.
	* doc/aria2c.1.txt
2008-11-13 15:11:44 +00:00
Tatsuhiro Tsujikawa 86478c49dd 2008-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error without SSL/XML library.
	* src/DefaultBtProgressInfoFile.cc
	* src/DefaultBtProgressInfoFile.h
	* src/FileMetalinkParserState.cc
	* src/RequestGroup.h
	* src/SocketCore.cc
	* src/SocketCore.h
	* src/VerificationMetalinkParserState.cc
	* src/download_helper.h
	* src/main.cc
	* test/DefaultBtProgressInfoFileTest.cc
	* test/DownloadHelperTest.cc
2008-11-13 15:08:52 +00:00
Tatsuhiro Tsujikawa eed0406484 2008-11-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten URI handling functions. They are now provided as a
	testable functions.
	* src/Makefile.am
	* src/RequestGroup.cc
	* src/RequestGroup.h
	* src/download_helper.cc
	* src/download_helper.h
	* src/main.cc
	* test/DownloadHelperTest.cc
	* test/Makefile.am
	* test/input_uris.txt
2008-11-13 13:40:40 +00:00
Tatsuhiro Tsujikawa 8b3a21eb10 2008-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Quickly terminate commands when ctrl-c is pressed.
	* src/DownloadEngine.cc
2008-11-11 16:18:23 +00:00