Commit Graph

230 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
4595e0262d 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented tellWaiting xml-rpc method in man page.
	* doc/aria2c.1.txt
2009-07-05 09:32:51 +00:00
Tatsuhiro Tsujikawa
f0edf98651 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Set manual and source attribute in aria2c.1.txt
	* doc/aria2c.1.txt
2009-07-05 05:57:09 +00:00
Tatsuhiro Tsujikawa
990928b518 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented that the default value of --use-head is 'false' in man
	page.
	* doc/aria2c.1.txt
2009-07-05 05:44:45 +00:00
Tatsuhiro Tsujikawa
3354f9d2d1 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added bt-stop-timeout option to -i list.
	* doc/aria2c.1.txt
	* src/download_helper.cc
2009-07-05 05:42:36 +00:00
Tatsuhiro Tsujikawa
6388bb52fb 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed peer-id-prefix option from -i list.
	* doc/aria2c.1.txt
	* src/download_helper.cc
2009-07-05 05:37:06 +00:00
Tatsuhiro Tsujikawa
dd3a3434be 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* doc/aria2.1.txt
	* src/usage_text.h
2009-07-05 05:34:29 +00:00
Tatsuhiro Tsujikawa
5c0380b073 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --bt-stop-timeout option in man page.
	* doc/aria2c.1.txt
2009-07-05 05:30:47 +00:00
Tatsuhiro Tsujikawa
86fce3e67a 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page regarding multi-file torrent web-seeding.
	* doc/aria2c.1.txt
2009-07-05 05:20:23 +00:00
Tatsuhiro Tsujikawa
1c070ed66e 2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented 'position' parameter is starting from 0 in man page.
	* doc/aria2c.1.txt
2009-06-14 07:22:16 +00:00
Tatsuhiro Tsujikawa
4dc9217bb6 2009-06-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented missing seeder in getPeers xml-rpc method.
	Documented uploadLength and numSeeders.
	* doc/aria2c.1.txt
2009-06-06 14:42:24 +00:00
Tatsuhiro Tsujikawa
5e23c3b6a2 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed docs of aria2.addMetalink xml-rpc method.
	* doc/aria2c.1.txt
2009-05-31 14:10:55 +00:00
Tatsuhiro Tsujikawa
abdb6249bf 2009-05-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented max-concurrent-downloads of changeGlobalOption method
	in man page.
	* doc/aria2c.1.txt
2009-05-30 14:29:54 +00:00
Tatsuhiro Tsujikawa
c1549cbc65 2009-05-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented position parameter in man page.
	* doc/aria2c.1.txt
2009-05-30 14:00:12 +00:00
Tatsuhiro Tsujikawa
7a8e2fdadb 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten the help message for --allow-overwrite option.
	* doc/aria2c.1.txt
	* src/usage_text.h
2009-05-27 12:58:33 +00:00
Tatsuhiro Tsujikawa
afe1d551e8 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* doc/aria2c.1.txt
	* src/usage_text.h
2009-05-27 12:51:12 +00:00
Anthony Bryan
403335cb4b Make text more natural 2009-05-26 16:58:58 +00:00
Tatsuhiro Tsujikawa
1c1ec3bd6d 2009-05-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --xml-rpc-max-request-size option in man page.
	* doc/aria2c.1.txt
2009-05-26 15:45:34 +00:00
Tatsuhiro Tsujikawa
4c1ed46094 2009-05-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented XML-RPC API in man page.
	* doc/aria2c.1.txt
2009-05-26 14:16:01 +00:00
Tatsuhiro Tsujikawa
50060985c3 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed PKG_CONFIG variable in sqlite3.m4, which conflicts the
	variable in pkg.m4. Use PKG_CHECK_MODULES instead of hand-crafted
	scripts. Renamed SQLITE3_CPPFLAGS as SQLITE3_CFLAGS since
	PKG_CHECK_MODULES macro uses latter name.	
	* m4/sqlite3.m4
	* src/Makefile.am
	* test/Makefile.am
2009-05-23 06:20:29 +00:00
Tatsuhiro Tsujikawa
aafbe6f74b 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Since upcoming libgnutls 2.8 doesn't have libgnutls-config, Check
	presence of libgnutls using pkg-config first. If it fails, fall
	back to old macro libgnutls.m4.
	* configure.ac
2009-05-23 05:20:21 +00:00
Tatsuhiro Tsujikawa
7567ff8188 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --on-download-* option and --save-cookies option in man
	page.	
	* doc/aria2c.1.txt
2009-05-22 15:03:45 +00:00
Tatsuhiro Tsujikawa
59c1a80888 2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Corrected the description of --file-allocation option.
	* doc/aria2c.1.txt
2009-05-14 16:06:34 +00:00
Tatsuhiro Tsujikawa
bab4b09a36 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved --no-netrc option from ftp option section to http/ftp option
	section.
	* doc/aria2c.1.txt
	* src/OptionHandlerFactory.cc
2009-05-13 12:30:38 +00:00
Tatsuhiro Tsujikawa
842dd43aac 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed garbage "\" character before '
	* doc/aria2c.1.txt
2009-05-12 16:42:40 +00:00
Tatsuhiro Tsujikawa
5586d88266 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed garbage "\" character before http.
	* doc/aria2c.1.txt
2009-05-12 16:38:44 +00:00
Tatsuhiro Tsujikawa
dc5cd20036 2009-05-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented additional options that can be specified in -i list.
	Documented --enable-xml-rpc, --xml-rpc-listen-port, --xml-rpc-user
	and --xml-rpc-passwd. Removed --enable-http-server and
	--http-server-listen-port.
	* doc/aria2c.1.txt
2009-05-12 16:30:27 +00:00
Tatsuhiro Tsujikawa
aba7efb95c 2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Generated configure and Makefile.in using autoconf 2.63 and
	automake 1.10.2.  Removed AC_GNU_SOURCE from configure.ac because
	it is subset of AC_USE_SYSTEM_EXTENSIONS and we use latter.
	* configure.ac
2009-05-06 08:00:57 +00:00
Tatsuhiro Tsujikawa
752fb34bbb 2009-03-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* doc/aria2c.1.txt
2009-03-30 14:13:18 +00:00
Tatsuhiro Tsujikawa
ce1231280a 2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented 'falloc' in man page.
	* doc/aria2c.1.txt
2009-03-25 06:07:11 +00:00
Tatsuhiro Tsujikawa
1e17795a84 2009-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated usage doc for --bt-tracker-interval option.
	* src/usage_text.h
	* doc/aria2c.1.txt
2009-03-22 07:27:52 +00:00
Tatsuhiro Tsujikawa
f227c19076 2009-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --bt-tracker-interval option in man page.
	* doc/aria2c.1.txt
2009-03-21 15:14:46 +00:00
Tatsuhiro Tsujikawa
b721f2e192 2009-03-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page: Documented --dry-run and --index-out
	options. Changed the default value of --uri-selector and
	--http-auth-challenge options. Removed --direct-file-mapping
	option. Added example for --index-out
	* doc/aria2c.1.txt
2009-03-13 13:35:30 +00:00
Tatsuhiro Tsujikawa
b6effe2435 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --max-overall-download-limit in man page.
	Updated --max-overall-upload-limit, --max-download-limit
	option's doc.
	* doc/aria2c.1.txt
2009-02-28 11:50:17 +00:00
Tatsuhiro Tsujikawa
362cd20bf1 2009-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented select-file option in Input File section.
	Documented --http-auth-challenge option.
	* doc/aria2c.1.txt
2009-02-28 09:53:59 +00:00
Tatsuhiro Tsujikawa
604cbccd0a 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Enclosed all URLs in double quotes in command-line examples.
	* doc/aria2c.1.txt
2009-02-15 03:36:55 +00:00
Tatsuhiro Tsujikawa
f362463e15 2009-02-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated reference/see also section.
	* README
	* doc/aria2c.1.txt
2009-02-15 03:22:00 +00:00
Tatsuhiro Tsujikawa
0c1e09e64f 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Reorganized man page based on man man-pages.
	* doc/aria2c.1.txt
2009-02-14 10:17:40 +00:00
Tatsuhiro Tsujikawa
9b9c527d21 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented sc_avg_speed, mc_avg_speed and counter in SERVER
	PERFORMANCE PROFILE section.
	* doc/aria2c.1.txt
2009-02-14 09:43:55 +00:00
Tatsuhiro Tsujikawa
b642ee92cd 2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten the section for configuration file.
	* README
	* doc/aria2c.1.txt
2009-02-14 09:27:32 +00:00
Tatsuhiro Tsujikawa
366e5f40d5 2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --bt-external-ip option in man page.  Updated man
	pages for --proxy-method option.
	* doc/aria2c.1.txt
2009-02-07 14:01:38 +00:00
Tatsuhiro Tsujikawa
d4704a9d47 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated doc for --uri-selector, --http-server-listen-port and
	--enable-http-server option. Documented --event-poll option.	
	* doc/aria2c.1.txt
2009-02-02 14:30:29 +00:00
Tatsuhiro Tsujikawa
a2fcc3f037 2009-02-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented --http-server-listen-port and --enable-http-server in
	man page.
	* doc/aria2c.1.txt
2009-02-02 14:18:02 +00:00
Tatsuhiro Tsujikawa
ea370b864e 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added doc for adaptive URI selector.
	* doc/aria2c.1.txt
2009-01-19 14:14:26 +00:00
Tatsuhiro Tsujikawa
526e1677d9 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added doc for --bt-max-peers option.
	* doc/aria2c.1.txt
2009-01-19 13:59:29 +00:00
Tatsuhiro Tsujikawa
8bd9ca287d 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added doc for --bt-hash-check-seed option.
	* doc/aria2c.1.txt
2009-01-19 13:56:19 +00:00
Tatsuhiro Tsujikawa
c38a2491a6 2009-01-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented exit codes.
	* doc/aria2c.1.txt
2009-01-19 13:46:39 +00:00
Tatsuhiro Tsujikawa
b9d4caeee9 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten the usage text for --bt-request-peer-speed-limit
	option.
	* doc/aria2c.1.txt
	* src/usage_text.h
2009-01-15 15:57:48 +00:00
Tatsuhiro Tsujikawa
55df3c78a3 2009-01-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made the max value of split option unlimited.
	* doc/aria2c.1.txt
	* src/OptionHandlerFactory.cc
2009-01-15 15:41:15 +00:00
Tatsuhiro Tsujikawa
0c47649378 2008-12-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added the description of --use-head option to man page.
	* doc/aria2c.1.txt
2008-12-29 14:11:15 +00:00
Tatsuhiro Tsujikawa
b32654bc8e 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added a note for --dht-listen-port option.
	* doc/aria2c.1.txt
2008-12-17 12:08:09 +00:00
Tatsuhiro Tsujikawa
47580b88da 2008-12-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Update doc for --realtime-chunk-checksum option.
	* doc/aria2c.1.txt
2008-12-17 12:06:05 +00:00
Tatsuhiro Tsujikawa
8c1894720f 2008-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --max-overall-upload-limit option. This option limits the
	overall upload speed.  Stated in help message that the existing
	--max-upload-limit option limits the upload speed per each
	torrent.  Man page is also updated.
	* doc/aria2c.1.txt
	* src/DefaultBtMessageDispatcher.cc
	* src/DefaultBtMessageDispatcher.h
	* src/OptionHandlerFactory.cc
	* src/PeerInteractionCommand.cc
	* src/option_processing.cc
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
2008-12-10 14:14:11 +00:00
Tatsuhiro Tsujikawa
fe66fb6eae 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Documented the default value of --check-certificate option in
	man page.
	* doc/aria2c.1.txt
2008-12-03 16:10:12 +00:00
Tatsuhiro Tsujikawa
63ddc1f147 2008-12-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Enabled --check-certificate by default.  Added compile
	time(configure) option --with-ca-bundle to specify CA bundle.
	Warn if --check-certificate=true and --ca-certificate is not
	specified or loading CA certificate is failed.
	* configure.ac
	* src/MultiUrlRequestInfo.cc
	* src/OptionHandlerFactory.cc
	* src/message.h
2008-12-03 16:07:14 +00:00
Tatsuhiro Tsujikawa
9ee32f8a21 2008-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Mentioned https tag in help option.
	* doc/aria2c.1.txt
2008-12-02 15:55:46 +00:00
Anthony Bryan
6733b4ccf0 2008-12-02 Ant Bryan
Caught a few more minor typos.
2008-12-02 05:19:43 +00:00
Tatsuhiro Tsujikawa
56a1eb0691 2008-12-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typos
	* doc/aria2c.1.txt
2008-12-01 16:47:54 +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
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
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
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
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
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
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
eb27476c6e 2008-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Cross referenced among -s, -C and -j options.
	Updated usage of -C and -s options.
	* src/usage_text.h
	* doc/aria2c.1.txt
2008-11-11 11:55:23 +00:00
Tatsuhiro Tsujikawa
d2f47847e3 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added usege for proxy.
	* doc/aria2c.1.txt
2008-11-09 09:13:57 +00:00
Tatsuhiro Tsujikawa
5a1f1fbd1a 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added usage for --ca-certificate, --certificate, --private-key
	and --check-certificate options.
	* doc/aria2c.1.txt
2008-11-09 09:06:25 +00:00
Tatsuhiro Tsujikawa
52749ba3c8 2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated man page
	* doc/aria2c.1.txt
2008-11-09 08:59:05 +00:00
Tatsuhiro Tsujikawa
3f14ad6da3 2008-10-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Replaced '@' with 'at' in AUTHOR and REPORT BUG.
	* doc/aria2c.1.txt
2008-10-14 13:16:59 +00:00
Tatsuhiro Tsujikawa
9352cb37a6 2008-10-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated man page. Changed doctype of aria2c.1.html to manpage in 
order
	not to replace '--' with em dash character.
	* doc/aria2c.1.txt
	* doc/makeman
2008-10-13 13:59:59 +00:00
Tatsuhiro Tsujikawa
a7018cb595 2008-10-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added missing m4 macros.
	* m4/cppunit.m4
	* m4/libgcrypt.m4
	* m4/libgnutls-extra.m4
	* m4/libgnutls.m4
	* m4/libxml2.m4
2008-10-08 14:18:01 +00:00
Tatsuhiro Tsujikawa
080fcd5fb8 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated man page.
	* doc/aria2c.1.txt
2008-09-27 05:33:05 +00:00
Tatsuhiro Tsujikawa
0cac0dabde 2008-08-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added firefox3 cookie support based on the patch submitted by
	tizianomueller.
	firefox3 cookie is SQLite3 database. libsqlite3 is required to 
enable
	this functionality.
	* configure.ac
	* m4/sqlite3.m4
	* src/CookieBoxFactory.cc
	* src/CookieBoxFactory.h
	* src/Makefile.am
	* src/Makefile.in
	* src/Sqlite3MozCookieParser.cc
	* src/Sqlite3MozCookieParser.h
	* src/main.cc
	* test/CookieBoxFactoryTest.cc
	* test/Makefile.am
	* test/Makefile.in
	* test/Sqlite3MozCookieParserTest.cc
	* test/badcookies.sqlite
	* test/cookies.sqlite
2008-08-17 10:44:12 +00:00
Tatsuhiro Tsujikawa
a49523ce99 2008-08-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed man page: --follow-bittorrent should be --follow-torrent
	* doc/aria2c.1.txt
2008-08-14 14:02:18 +00:00
Tatsuhiro Tsujikawa
5122ae031d 2008-07-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Changed help text for --load-cookie option.
	* doc/aria2c.1.txt
	* src/usage_text.h
2008-07-18 15:12:38 +00:00
Tatsuhiro Tsujikawa
525bdbc4aa 2008-07-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated the descriptions for --bt-seed-unverified.
	* doc/aria2c.1
	* doc/aria2c.1.html
	* doc/aria2c.1.txt
2008-07-12 13:55:32 +00:00
Tatsuhiro Tsujikawa
10f730cfec 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated the descriptions for -j, -s. Added --bt-seed.
	* doc/aria2c.1
	* doc/aria2c.1.html
	* doc/aria2c.1.txt
2008-07-08 14:23:30 +00:00
Tatsuhiro Tsujikawa
1059b8b951 2008-07-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated DESCRIPTION of man page.
	* doc/aria2c.1
	* doc/aria2c.1.html
	* doc/aria2c.1.txt
2008-07-08 12:12:21 +00:00
Tatsuhiro Tsujikawa
d791807add 2008-06-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added gzip, deflate decoding support in HTTP using libz. If 
compiled
	with this feature, aria2 sends "Accept-Encoding: deflate, gzip" 
header
	to a HTTP server. If a server returns "Content-Encoding: gzip" 
or
	"Content-Encoding: deflate" then, aria2 decodes the response 
body on the
	fly and writes decoded data to a local disk.
	* README
	* README.html
	* configure.ac
	* m4/aria2_arg.m4: Added ARIA2_ARG_WITH and ARIA2_ARG_ENABLE, 
they are
	wrapper function for AC_ARG_WITH and AC_ARG_ENABLE respectively.
	* m4/libz.m4
	* src/Decoder.h
	* src/DownloadCommand.cc
	* src/DownloadCommand.h
	* src/Exception.h
	* src/GZipDecoder.cc
	* src/GZipDecoder.h
	* src/HttpHeader.cc
	* src/HttpHeader.h
	* src/HttpRequest.cc
	* src/HttpRequest.h
	* src/HttpResponse.cc
	* src/HttpResponse.h
	* src/HttpResponseCommand.cc
	* src/Makefile.am
	* test/GZipDecoderTest.cc
	* test/HttpRequestTest.cc
	* test/HttpResponseTest.cc
	* test/Makefile.am
	* test/Makefile.in
	* test/gzip_decode_test.gz
2008-06-29 14:29:36 +00:00
Tatsuhiro Tsujikawa
2f99cf6b86 2008-06-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated man page.
	* doc/aria2c.1.txt
	* doc/aria2c.1
	* doc/aria2c.1.html
2008-06-17 14:22:20 +00:00
Tatsuhiro Tsujikawa
95ca33bba3 2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Bump up version number to 0.14.0b.
	* src/configure.ac
2008-06-10 14:31:08 +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
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
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
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
698d2889ca 2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated man page: --async-dns and --ftp-reuse-connection were 
added.
	Changed -j option's default value from 5 to 1.
	Added new examples using protocol auto detection feature.
	Removed -T, -M usage where it can be omitted.
	* doc/aria2c.1.txt
	* doc/aria2c.1.html
	* doc/aria2c.1.txt
2008-05-09 15:34:43 +00:00
Tatsuhiro Tsujikawa
d8f911b581 2008-05-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated man page: --quiet, --header were added.
	--metalink-servers and --enable-http-keep-alive option were 
updated.
	* doc/aria2c.1
	* doc/aria2c.1.html
	* doc/aria2c.1.txt
2008-05-06 15:43:26 +00:00
Tatsuhiro Tsujikawa
99733a84e2 2008-04-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed type in man page.
	* doc/aria2c.1.txt
2008-04-15 12:37:15 +00:00
Tatsuhiro Tsujikawa
b1aeb277aa 2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated Makfefile.am to make 'make dist' work.
	Now packaged filename is aria2c-VERSION.tar.bz2.
	Added README, README.html, and aria2c.1.html to dist_doc_DATA.
	Added LICENSE.OpenSSL to dist_noinst_DATA.

	Large file support is now configured by configure script.
	* configure.ac
	
	Removed unsused source files
	* src/
	* test/

	Removed PeerDecl.h and BtContextDecl.h. typedefs are removed to
	Peer.h and BtContext.h respectively.
	* src/Peer.h
	* src/BtContext.h

	Updated translations.
	Added Polish, Thai, Indonesian, Norwegian Nynorsk, Hungarian
	translations. Great thanks to all translators!;)
	* po/*.{po, gmo}
2008-03-01 04:42:53 +00:00
Tatsuhiro Tsujikawa
8958b4c4d4 2008-02-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated README. Added html version of README and man page.
	* README
	* README.html
	* readme2html: Shell script to generate README.html from README 
using
	asciidoc.
	* doc/aria2c.1.html
	* doc/makeman: Added the line to generate aria2c.1.html
2008-02-26 12:38:45 +00:00
Tatsuhiro Tsujikawa
6148b08d34 2008-02-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated man page and some usage text.
	* doc/aria2c.1.txt
	* src/usage_text.h
	* po/*.{po, gmo}
2008-02-21 14:23:36 +00:00
Tatsuhiro Tsujikawa
79764a1f11 2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed compiler warning about redefinition of SIZE_MAX.
	Use common.h instead of config.h directly here.
	* src/Platform.{h, cc}

	The check of ENABLE_NLS is made in gettext.h, so it is not 
required
	here.
	* common.h
	
2008-02-02  gettextize  <bug-gnu-gettext@gnu.org>

	Updated gettext related files.
	* configure.ac (AC_CONFIG_FILES): Add intl/Makefile.
	* configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.17.
2008-02-02 04:38:24 +00:00
Tatsuhiro Tsujikawa
7ff1f5a620 2007-12-22 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added --metalink-enable-unique-protocol option.
	* src/Metalink2RequestGroup.cc
	* src/option_processing.cc
	* src/prefs.h
	* src/version_usage.cc
	* doc/aria2c.1.txt
	* doc/aria2c.1
2007-12-22 06:40:58 +00:00
Tatsuhiro Tsujikawa
3ea4fe447a 2007-12-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed possible memory leak when an exception is thrown.
	* src/XML2SAXMetalinkProcessor.cc

	Added Expat support. If both libxml2 and Expat are installed, 
then
	libxml2 is used by default.
	MetalinkProcessorFactory chooses from XML2SAXMetalinkProcessor 
and
	ExpatMetalinkProcessor according to the configuration.
	* src/ExpatMetalinkProcessor.{h, cc}
	* src/main.cc: Removed libxml2 specific header and init/free 
function.
	* src/MetalinkProcessorFactory.{h, cc}
	* src/MetalinkHelper.cc
	* src/Metalinker.h: Removed unnecessary libxml2 header.
	* src/MetalinkProcessor.h
	* test/XML2SAXMetalinkProcessorTest.cc: Removed because
	MetalinkProcessorTest is used instead.
	* test/MetalinkProcessorTest.cc: Added. It is actually the same 
with
	XML2SAXMetalinkProcessor, replaced XML2SAXMetalinkProcessor with
	MetalinkProcessorFactory::newInstance().
	* m4/libexpat.m4
	* configure.ac: Added configuration options for libexpat.
2007-12-14 00:46:32 +00:00
Tatsuhiro Tsujikawa
e870ab2622 Updated man page 2007-12-12 14:12:06 +00:00
Tatsuhiro Tsujikawa
5a050dacfa Fixed typo 2007-12-10 14:09:09 +00:00
Tatsuhiro Tsujikawa
4786871721 Updated doc 2007-12-08 10:50:08 +00:00
Tatsuhiro Tsujikawa
84e896eb09 2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed typo
	* src/version_usage.cc

	Updated doc
	* doc/aria2c.1.txt
	* doc/aria2c.1
2007-12-05 17:10:31 +00:00
Tatsuhiro Tsujikawa
24bdbf9aa6 2007-12-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added --allow-piece-length-change option.
	* src/DefaultBtProgressInfoFile.cc
	* test/DefaultBtProgressInfoFileTest.cc
	* src/OptionHandlerFactory.cc
	* src/option_processing.cc
	* src/prefs.h
	* src/version_usage.cc
	* doc/aria2c.1.txt
	* doc/aria2c.1
	
	Fixed: duplicated result entry appears when exception is thrown 
in
	RequestGroup::createInitiateConnectionCommand().
	* src/RequestGroupMan.cc (fillRequestGroupFromReserver):
	Add RequestGroup to _requestGroup after RequetGroup::
	createInitiateConnectionCommand() succeeds.

	Externalized  message
	* src/XML2SAXMetalinkProcessor.cc
	* src/message.h
2007-12-04 14:52:46 +00:00
Tatsuhiro Tsujikawa
23a41fba06 2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated usage
	* src/version_usage.cc

	Updated man page
	* doc/aria2c.1.txt
	* doc/aria2c.1

	Updated po files
	* po/aria2c.pot
	* po/*.po
	* po/*.gmo
2007-11-29 14:22:37 +00:00
Tatsuhiro Tsujikawa
9aee8878be 2007-11-25 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added the check to see whether ares_host_callback accepts 
timeouts
	with c-ares; only c-ares 1.5.0 or newer accepts it.
	* src/NameResolver.{h, cc}
	* m4/libcares.m4
	* configure.ac: Set C++ for language choice.
2007-11-25 04:41:31 +00:00
Tatsuhiro Tsujikawa
83ac8a80e6 2007-11-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Corrected typo. Examples are removed since they are available in 
man
	page.
	* src/version_usage.cc

	Updated man page.
	* doc/aria2c.1
	* doc/aria2c.1.txt
	* doc/makeman: Commented out sed command.
2007-11-23 13:58:50 +00:00
Tatsuhiro Tsujikawa
c9e3d51054 2007-11-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Preallocate non-requested file which is adjacent forward to 
requested
	file('requested' files means the files given in --select-file 
option)
	if they share a same piece.
	This fixes long pause in the file system which doesn't support 
sparse
	files like FAT32 while downloading.
	* src/MultiFileAllocationIterator.{h, cc}
	* test/MultiFileAllocationIteratorTest.cc
	* src/FileEntry.{h, cc}

	Removed unused _option.
	* src/MultiDiskAdaptor.h
	* test/MultiDiskAdaptorTest.cc
	* src/DefaultPieceStorage.cc

	Set the default value of --seed-ratio to 1.0.
	If 0.0 is given, then seeding continues regardless of share 
ratio.
	* src/version_usage.cc
	* src/option_processing.cc
	* src/BtSetup.cc
	* doc/aria2c.1.txt
	* doc/aria2c.1

	Fixed: Selective download is not working in BitTorrent
	* src/RequestGroup.cc

	Introduced Sequence class. Use this instead of 
Util::unfoldRange()
	* src/PieceStorage.h
	* test/MockPieceStorage.h
	* src/UnknownLengthPieceStorage.h
	* src/DefaultPieceStorage.{h, cc}
	* src/Metalink2RequestGroup.cc
	* src/RequestGroup.cc
	* src/Sequence.h
	* test/SequenceTest.cc
	* src/IntSequence.h
	* src/message.h
	* src/Util.{h, cc}
	* test/UtilTest.cc

	Added new function 'parse' to catch exception thrown by 
subclass's
	parseArg
	* src/OptionHandler.h
	* src/OptionParser.cc
	* src/NameMatchOptionHandler.h
	* src/OptionHandlerImpl.h
	* test/OptionHandlerTest.cc

	Added IntegerRangeOptionHandler. Used for --listen-port and
	--select-file. Now --listen-port accepts range of port.
	* src/OptionHandlerFactory.cc
	* src/version_usage.cc
	* src/OptionHandlerImpl.h
	* src/option_processing.cc
	* src/BtSetup.cc
	* src/PeerListenCommand.{h, cc}
	* doc/aria2c.1.txt
	* doc/aria2c.1
	
	Implemented operator< for Exception class to provide easy way to 
print
	exception stack trace.
	* src/Exception.{h, cc}
	* src/main.cc
	* src/option_processing.cc
2007-11-21 16:14:40 +00:00
Tatsuhiro Tsujikawa
59fb4066fb 2007-11-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* src/version_usage.cc
	(showVersion): Reworked.
	(showUsage): Added examples.

	Removed Hint for total length and file name.
	* src/Metalink2RequestGroup.cc
	* src/RequestGroup.{h, cc}
	* src/HttpResponseCommand.cc
	* src/FtpNegotiationCommand.cc

	Now --follow-torrent and --follow-metalink option work properly.
	* src/RequestGroup.cc

	Updated man page
	* doc/aria2c.1.txt
	* doc/aria2c.1
2007-11-18 11:59:42 +00:00
Tatsuhiro Tsujikawa
8cba9bc24c 2007-11-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Now --metalink-location accepts a comma-deliminated list of 
locations.
	* src/MetalinkEntry.{h, cc}
	* test/MetalinkEntryTest.cc
	* src/version_usage.cc
	* src/Metalink2RequestGroup.cc
	* src/Xml2MetalinkProcessor.cc
	* test/Xml2MetalinkProcessorTest.cc
	* doc/aria2c.1.txt
	* doc/aria2c.1

	* src/Util.cc (toUpper)(toLower): Rewritten.
2007-11-13 13:49:10 +00:00
Tatsuhiro Tsujikawa
8b27671e58 2007-10-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Use File::renameTo()
	* src/DefaultBtProgressInfoFile.cc

	Added --no-file-allocation-limit command-line option.
        * src/version_usage.cc
	* src/option_processing.cc
        * src/OptionHandlerFactory.cc
        * src/RequestGroup.{h, cc}
	* src/BtCheckIntegrityEntry.cc
	* src/StreamCheckIntegrityEntry.cc
        * src/prefs.h
        * doc/aria2c.1.txt
        * doc/aria2c.1

	Now prealloc is the default value for --file-allocation option.
        * src/version_usage.cc
	* src/option_processing.cc
        * doc/aria2c.1.txt
        * doc/aria2c.1

	Don't URL-encode user-agent.
	* src/HttpRequest.cc

	Updated translations
        * po/LINGUAS: Added nl for Dutch translation.
        * po/nl.po: Added Dutch translation, thanks to A. Bram Neijt.
        * po/de.po: Updated German translation, thanks to Patrick 
Ruckstuhl.
	* po/POTFILES.in: Updated.
2007-10-29 12:43:45 +00:00
Tatsuhiro Tsujikawa
295c36c767 2007-09-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated man page.
	* doc/aria2c.1.txt
	
	* Release 0.11.3
2007-09-09 16:17:35 +00:00
Tatsuhiro Tsujikawa
9c1bef16c2 2007-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated man page.
	* doc/aria2.1.txt
	
	* Release 0.11.3-rc
2007-09-03 14:17:10 +00:00
Tatsuhiro Tsujikawa
6aa98f9b9f 2007-08-10 Ross Smith II <aria2spam at smithii dot com>
Move sleep functions to Util class:
	* src/Util.cc
	(sleep): New function.
	(usleep): New function.
	* src/DownloadCommand.cc: sleep -> Util::sleep
	* test/TimeSeedCriteriaTest.cc: sleep -> Util::sleep

	MinGW build enhancements. The following files are added:
	* src/timegm.{c,h}

	Changes to support the above new files:
	* configure.ac
	* src/Makefile.am
	* src/a2time.h
	* src/Util.cc:
	* src/strptime.c: Added support for %Z option.

	Miscellenous build fixes/enhancements.
	* configure.ac: Added summary report.
	* src/Platform.h: Tweaked #include's.
	* src/a2netcompat.h: Tweaked #include's.
	* src/strptime.h: Tweaked #include's.
	* src/gai_strerror.c: Tweaked #include's.
	* src/gai_strerror.h: _D_GETADDRINFO_H -> _D_GAI_STRERROR_H
	* src/getaddrinfo.h: Moved #ifndef __MINGW32__
	* src/gettimeofday.h: Added HAVE_CONFIG_H
2007-08-14 14:51:08 +00:00
Tatsuhiro Tsujikawa
1232c9fc7f Marked 0.11.2 release
Updated man page
2007-08-09 15:34:03 +00:00
Tatsuhiro Tsujikawa
a3afa89941 Applied Ross's patch
* src/a2netcompat.h
	* src/main.cc

Updated man page
2007-08-08 15:26:19 +00:00
Tatsuhiro Tsujikawa
46e8c332cd 2007-08-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Make a2netcompat.h include a2io.h to fix compilation error:
	* src/a2netcompat.h
	* src/SocketCore.cc: Removed include of a2io.h
	* src/Util.cc: Removed include of a2io.h
	
	Gather time related functions to a2time.h:
	* src/a2time.h: New file.
	* src/DefaultPeerStorage.cc
	* src/SimpleLogger.cc
	* src/Util.{h, cc}
	* src/SimpleRandomizer.h
	* src/TimeA2.{h,cc}
	* src/DownloadCommand.cc
	* src/main.cc

	Removed #ifdef __MINGW32__ since gai_strerror is included in
	a2netcompat.h:
	* src/NameResolver.cc
	
	Fixed compilation error without openssl:
	* src/SocketCore.{h,cc}: Moved include of openssl/err.h to 
SocketCore.h

	Added default block to suppress compiler warnings:
	* src/MetalinkRequestInfo.cc (AccumulateNonP2PUrl::operator())
	
2007-07-26  Ross Smith II  <aria2spam at smithii dot com>

	MinGW build enhancements. The following files are added:
	* src/gai_strerror.{c,h}
	* src/gettimeofday.{c,h}

	Changes to support the above new files:
	* configure.ac
	* src/Makefile.am
	* src/a2netcompat.h
	* src/TimeA2.cc
	* src/DefaultPeerStorage.cc
	* src/NameResolver.cc: removed mingw_strerror() function.
	* src/SocketCore.cc: removed mingw_strerror() function.

	Miscellaneous MinGW build fixes. 
	* src/a2io.h: Use _lseeki64() instead of lseek()
	* src/common.h
	* src/DefaultFileAllocator.cc
	* src/GlowFileAllocator.cc
	* src/main.cc: Moved #include "prefs.h" to quiet compile error.
	* src/NameResolver.cc
	(callback): Changed int32_t to int.
	(resolve): Changed int32_t to int.
	* src/Platform.cc
	* src/Platform.h
	* test/MultiDiskWriterTest.cc
	* test/PeerMessageUtilTest.cc
	* src/localtime_r.c: Add DeleteCriticalSection() and at exit().

	Other enhancements and fixes.
	* src/HttpRequestCommand.cc
	(executeInternal) Use non-blocking socket for HTTPS (MinGW 
only).
	* src/SocketCore.cc: 
	(error): New function to abstract errno/WSAGetLastError().
	(errorMsg): New function to abstract errno/WSAGetLastError().
	(initiateSecureConnection): Added more detailed error reporting.
	* src/SocketCore.h: Added private variable blocking, to allow
	proper handling of OpenSSL psuedo-errors.
	* src/message.h
	(EX_SSL_INIT_FAILURE)
	(EX_SSL_IO_ERROR)
	(EX_SSL_PROTOCOL_ERROR)
	(EX_SSL_UNKNOWN_ERROR)
	(EX_SSL_CONNECT_ERROR)
	(EX_SOCKET_BLOCKING)
	(EX_SOCKET_NONBLOCKING)
	(EX_SOCKET_UNKNOWN_ERROR)
	* src/Util.cc
	(setGlobalSignalHandler): Renamed signal to sig as signal is a
	reserved name.
	(httpGMT): Fixed typo.
2007-07-31 16:45:16 +00:00
Tatsuhiro Tsujikawa
380e3f0187 2007-07-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Merged Ross's win32 patch(manually)
	In the course of merging, following files are added.
	* src/strptime.{h,c}
	* src/libgen.{h,c}
	* src/inet_aton.{h,c}
	* src/Platform.{h,cc}
	* src/localtime_r.{h,c}
	* src/getaddrinfo.{h,c}
	I've gethered network related things, and put them to following 
file:
	* src/a2netcompat.h
	Also io related things are put to following file:
	* src/a2io.h
	
	Changed %lld to %s because mingw32 doesn't recognize %lld.
	* src/message.h
	(MSG_ALLOCATION_COMPLETED)
	(EX_TOO_LARGE_FILE)
	(EX_SIZE_MISMATCH)
	(EX_FILE_OFFSET_OUT_OF_RANGE)
	(EX_INVALID_CHUNK_CHECKSUM)
	(EX_INVALID_RANGE_HEADER)
	* src/FileAllocationCommand.cc
	* src/HttpResponse.cc
	* src/RequestGroup.cc
	* src/MultiDiskAdaptor.cc
	* src/OptionHandlerImpl.h
	* src/HttpResponseCommand.cc
	* src/FtpNegotiateCommand.cc
	* src/IteratableChecksumValidator.cc
	* src/SegmentMan.cc
	* src/ChunkChecksumValidator.cc
	
	Added Randomizer::getRandomNumber(long int)
	* src/Randomizer.h (getRandomNumber)
	* src/SimpleRandomizer.h (getRandomNumber)
	* src/BitfieldMan.cc (getMissingIndexRandomly): Use this new 
function.
	* src/Util.cc (randomAlpha): Use this new function.
2007-07-23 13:04:48 +00:00
Tatsuhiro Tsujikawa
6303da136a Fixed examples for metalink 2007-07-09 13:30:45 +00:00
Tatsuhiro Tsujikawa
759c3fbf48 Updated man page 2007-07-05 16:06:31 +00:00
Tatsuhiro Tsujikawa
800bc3a6c3 Fixed compile error when message digest is not available. 2007-07-04 16:04:57 +00:00
Tatsuhiro Tsujikawa
50b4cf67e0 2007-06-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added the default listening ports to the help message.
	* src/main.cc (showUsage)
2007-06-23 06:25:12 +00:00
Tatsuhiro Tsujikawa
649830316e Fixed the bug that caused -c command-line option did not work properly. 2007-06-10 08:29:56 +00:00
Tatsuhiro Tsujikawa
fe9c638735 Update doc about configuration file. 2007-03-28 16:13:36 +00:00
Tatsuhiro Tsujikawa
24d199632b 2007-03-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
To cache resolved hostname:
	* src/AbstractCommand.h, src/AbstractCommand.cc
	(resolveHostname): Put outside #ifdef ENABLE_ASYNC_DNS clause.
	Added dns cache.
	* src/FtpInitiateConnectionCommand.cc
	(executeInternal): Removed #ifdef ENABLE_ASYNC_DNS.
	* src/NameResolver.h, src/NameResolver.cc: Added synchronized
	NameResolver working without ares.
	* src/TorrentRequestInfo.cc
	(execute): Don't cache dns in torrent download.
	* src/HttpInitiateConnectionCommand.cc
	(executeInternal): Removed #ifdef ENABLE_ASYNC_DNS
	* src/DNSCache.h: New class.
	* src/UrlRequestInfo.cc
	(execute): Use dns cache
2007-03-28 15:08:22 +00:00
Tatsuhiro Tsujikawa
11907c175d 2007-03-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
To handle Segment as SegmentHandle:
	* src/AbstractCommand.cc (execute): Rewritten.
	* src/SegmentMan.h: Segment -> SegmentHandle

	Introducded HttpResponse class, HttpRequest class to improve 
code
	extensiveness and make it clear:
	* src/HttpDownloadCommand.cc: transfer encoders are now managed 
by
	HttpResponse class.
	* src/HttpRequest.h, src/HttpRequest.cc: New class.
	* src/HttpResponse.h, src/HttpResponse.cc: New class.
	* src/HttpConnection.cc: Contruction of http request were moved 
to
	HttpRequest class.
	* src/HttpResponseCommand.h, src/HttpResponseCommand.cc: 
Refactored.
	* src/HttpRequestCommand.cc (executeInternal): Rewritten.
	* src/HttpAuthConfig.h: New class.
	* src/Range.h: New class.
	
	To make FtpTunnel{Request, Response}Command and
	HttpProxy{Request, Response}Command derived from
	AbstractProxy{Request, Response}Command:
	* src/FtpTunnelResponseCommand.h, 
src/FtpTunnelResponseCommand.cc:
	Derived from AbstractProxyRequestCommand class.
	* src/FtpTunnelRequestCommand.h, src/FtpTunnelRequestCommand.cc:
	Derived from AbstractProxyResponseCommand class.
	* src/HttpProxyRequestCommand.h, src/HttpProxyRequestCommand.cc:
	Derived from AbstractProxyRequestCommand class.
	* src/HttpProxyResponseCommand.h, 
src/HttpProxyResponseCommand.cc:
	Derived from AbstractProxyResponseCommand class.
	* src/AbstractProxyRequestCommand.h, 
src/AbstractProxyRequestCommand.cc
	: New class.
	* src/AbstractProxyResponseCommand.h,
	src/AbstractProxyResponseCommand.cc: New class.

	To add netrc support:
	* src/Netrc.h, src/Netrc.cc: New class.
	* src/Util.h, src/Util.cc (split): New function.
	
	* src/HttpHeader.cc (getRange): Fixed so that it inspects
	"Content-Range" header instead of "Range" header.
	* src/HttpHeader.h
	(getStatus): Removed.
	(setStatus): Removed.

	* src/Segment.h
	(getPositionToWrite): New function.
2007-03-15 15:07:18 +00:00
Tatsuhiro Tsujikawa
cd91e2ea4f 2007-01-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* src/Xml2MetalinkProcessor.h
	(xpathExists): New function.
	* src/Xml2MetalinkProcessor.cc
	(xpathExists): New function.

	Not to send HEAD request if filename and size are available in 
Metalink
	file:
	* src/UrlRequestInfo.h
	(filename): New variable.
	(totalLength): New variable.
	(setTotalLength): New function.
	(setFilename): New function.
	* src/MetalinkRequestInfo.cc
	(execute): Set filename and size to UrlRequestInfo.
	* src/MetalinkEntry.cc
	(MetalinkEntry): Initialize size with 0.
	* src/UrlRequestInfo.cc
	(execute): Set filename and size to SegmentMan.
	
	Not to download rest of the files after selected files are 
downloaded
	in BitTorrent:
	* src/PieceStorage.h
	(allDownloadFinished): New function.
	* src/DefaultBtAnnounce.cc
	(isCompleteAnnounceReady): Use allDownloadFinished instead of
	downloadFinished.
	(getAnnounceUrl): Use allDownloadFinished instead of 
downloadFinished.
	* src/DefaultPieceStorage.cc
	(completePiece): Use allDownloadFinished instead of 
downloadFinished.
	Commented out the call to finishSelectiveDownloadingMode().
	(downloadFinished): Call isFilteredAllBitSet() instead of
	isAllBitSet().
	(allDownloadFinished): New function.
	* src/DefaultBtInteractive.cc
	(addBitfieldMessageToQueue): Call allDownloadFinished() instead 
of
	downloadFinished().
	(checkHave): Call allDownloadFinished() instead of 
downloadFinished().
	* src/TorrentDownloadEngine.cc
	(onEndOfRun): Call allDownloadFinished() instead of 
downloadFinished().
	* src/BitfieldMan.h
	(isFilteredAllBitSet): New function.
	* src/ShareRatioSeedCriteria.h
	(PieceStorage.h): New include.
	(pieceStorage): New variable.
	(evaluate):
	btContext->getTotalLength() -> 
pieceStorage->getCompletedLength()
	* src/BitfieldMan.cc
	(isFilteredAllBitSet): New function.
	(isAllBitSet): Filter is not took into account.
	
	Rename --force-truncate as --allow-overwrite:
	* src/TorrentRequestInfo.cc
	(execute): PREF_FORCE_TRUNCATE -> PREF_ALLOW_OVERWRITE
	* src/main.cc
	(showUsage): --force-truncate -> --allow-overwrite
	* src/message.h
	(EX_FILE_ALREADY_EXISTS): --force-truncate -> --allow-overwrite
	* src/prefs.h
	(PREF_FORCE_TRUNCATE): Removed.
	(PREF_ALLOW_OVERWRITE): New definition.
	* src/SegmentMan.cc
	(shouldCancelDownloadForSafety): --force-truncate -> 
--allow-overwrite
	
	* src/MetalinkRequestInfo.cc
	(execute): Queueing message are now logged in info level.

	* src/common.h
	(LONG_LONG_MAX): Removed.
	(LONG_LONG_MIN): Removed.
	* src/HttpResponseCommand.cc
	(handleDefaultEncoding): LONG_LONG_MAX -> INT64_MAX
	* src/FtpNegotiateCommand.cc
	(recvSize): LONG_LONG_MAX -> INT64_MAX
	
	* src/main.cc
	(showUsage): Added --check-integiry and 
--realtime-chunk-checksum
	command-line option.
	(main): Added --check-integiry and --realtime-chunk-checksum
	command-line option.
	--force-truncate -> --allow-overwrite
	Set initial value of --check-integrity option to false.
	Don't show usage when error occurs while persing command-line 
options.
	Removed deprecated --upload-limit option.
2007-01-28 14:18:35 +00:00
Tatsuhiro Tsujikawa
c0fd1fff2a 2006-10-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Request -> RequestHandle:
	
	* src/HttpResponseCommand.h: Request->RequestHandle
	* src/AbstractCommand.cc: Request->RequestHandle
	* src/HttpDownloadCommand.cc: Request->RequestHandle
	* src/HttpRequestCommand.cc: Request->RequestHandle
	* src/FtpInitiateConnectionCommand.h: Request->RequestHandle
	* src/AbstractCommand.h: Request->RequestHandle
	* src/HttpProxyRequestCommand.h: Request->RequestHandle
	* src/HttpResponseCommand.cc: Request->RequestHandle
	* src/HttpInitiateConnectionCommand.h: Request->RequestHandle
	* src/FtpNegotiateCommand.cc: Request->RequestHandle
	* src/FtpTunnelResponseCommand.h: Request->RequestHandle
	* src/HttpConnection.h: Request->RequestHandle
	* src/HttpProxyResponseCommand.cc: Request->RequestHandle
	* src/InitiateConnectionCommandFactory.h: Request->RequestHandle
	* src/FtpTunnelResponseCommand.cc: Request->RequestHandle
	* src/DownloadCommand.h: Request->RequestHandle
	* src/FtpDowndloadCommand.cc: Request->RequestHandle
	* src/HttpInitiateConnectionCommand.cc: Request->RequestHandle
	* src/HttpRequestCommand.h: Request->RequestHandle
	* src/FtpNegotiateCommand.h: Request->RequestHandle
	* src/FtpTunnelResponseCommand.cc: Request->RequestHandle
	* src/FtpInitiateConnectionCommand.cc: Request->RequestHandle
	* src/HttpDownloadCommand.h: Request->RequestHandle
	* src/FtpConnection.cc: Request->RequestHandle
	* src/InitiateConnectionCommandFactory.cc: 
Request->RequestHandle
	* src/UrlRequestInfo.cc: Request->RequestHandle
	* src/HttpProxyResponseCommand.h: Request->RequestHandle
	* src/HttpConnection.h: Request->RequestHandle
	* src/DownloadCommand.cc: Request->RequestHandle
	* src/FtpConnection.h: Request->RequestHandle
	* src/FtpDowndloadCommand.h: Request->RequestHandle
	* src/HttpProxyRequestCommand.cc: Request->RequestHandle
	* src/FtpTunnelRequestCommand.h: Request->RequestHandle
	* src/Request.h
	(SharedHandle.h): New include.
	(RequestHandle): New type definition.
	(Requests): Redefined.
	
	To add MULTITRACKER support:

	* src/TrackerWatcherCommand.h
	(createRequestCommand): New function.
	* src/DownloadEngineFactory.cc
	(newTorrentConsoleEngine): Removed req.
	* src/prefs.h
	(PREF_TRACKER_MAX_TRIES): New definition.
	* src/TorrentMan.cc
	(TorrentMan): Removed req. Added trackerNumTry.
	(~TorrentMan): Removed req.
	(setupInternal1): Added announceList.
	* src/TorrentRequestInfo.cc
	(execute): Set PREF_MAX_TIRES to 1. The max number of tries for
	announces is now specified by PREF_TRACKER_MAX_TRIES.
	* src/main.cc
	(main): Added PREF_TRACKER_MAX_TRIES.
	* src/TorrentMan.h
	(Request.h): Removed.
	(AnnounceList.h): New include.
	(trackerNumTry): New variable.
	(req): Removed.
	(announceList): New variable.
	* src/TrackerWatcherCommand.cc
	(execute): Rewritten.
	(createRequestCommand): New function.
	* src/TrackerUpdateCommand.cc
	(execute): Updated with the use of AnnounceList.
	* src/AnnounceList.cc: New class.
	* src/AnnounceList.h: New class.
	
	To fix typo:

	* src/prefs.h
	(PREF_MAX_TRIES): max_try->max_tries

	To not to decode "+" as space in URL decode:

	* src/Util.cc
	(urldecode): Removed "+"->space decoding rule. Test case was 
updated.
2006-10-18 14:57:00 +00:00
Tatsuhiro Tsujikawa
98378a98c8 Added doc/Makefile.in 2006-10-01 14:16:14 +00:00
Tatsuhiro Tsujikawa
d354e48441 Added man page 2006-10-01 14:11:29 +00:00