Tatsuhiro Tsujikawa
973e0df748
Fixed compile error on openbsd
2011-12-26 01:00:15 +09:00
Tatsuhiro Tsujikawa
3dc6d2ff6d
Updated NEWS for 1.14.0 release
2011-12-26 00:59:24 +09:00
Tatsuhiro Tsujikawa
deb0983ab4
Fixed compile error on android (which does not LFS support)
2011-12-26 00:10:27 +09:00
Tatsuhiro Tsujikawa
52155b1860
No retry for close() with EINTR. Also reverted changes in d5ffa253
.
2011-12-25 23:38:36 +09:00
Tatsuhiro Tsujikawa
8865001f01
Merge pull request #6 from ITriskTI/patch-3
...
Update doc/ru/aria2c.1.asciidoc
2011-12-18 04:24:25 -08:00
ITriskTI
f17910aae7
Update doc/ru/aria2c.1.asciidoc
2011-12-18 14:23:09 +03:00
Tatsuhiro Tsujikawa
49f94e537c
Bump up version number to 1.14.0
2011-12-18 17:17:02 +09:00
Tatsuhiro Tsujikawa
3dcd19c76c
Updated po template
2011-12-14 02:13:33 +09:00
Tatsuhiro Tsujikawa
d7b0fc2c90
Merge pull request #5 from ITriskTI/patch-2
...
Updated Russian man page
2011-12-13 09:09:56 -08:00
ITriskTI
41c5a72c92
Updated Russian man page
2011-12-12 20:39:41 +03:00
Tatsuhiro Tsujikawa
185f8739f3
Merge pull request #4 from ITriskTI/patch-1
...
Made some strings in src/version_usage.cc translatable
2011-12-12 05:59:27 -08:00
ITriskTI
aa070bc683
Update src/version_usage.cc
2011-12-12 16:09:45 +03:00
Tatsuhiro Tsujikawa
d4e9b07719
Fixed compile error without BitTorrent support
2011-12-11 03:13:33 +09:00
Tatsuhiro Tsujikawa
c8191700b1
Fixed compile error without BitTorrent and Metalink support
2011-12-11 00:08:13 +09:00
Tatsuhiro Tsujikawa
8fe92517d9
Removed deleted source file entry
2011-12-10 19:26:36 +09:00
Tatsuhiro Tsujikawa
3637291c22
Fixed compile warning/error with mingw32
2011-12-10 19:06:09 +09:00
Tatsuhiro Tsujikawa
ebc082747c
Log filename in the exception when AbstractDiskWriter::closeFile() failed.
2011-12-10 18:03:30 +09:00
Tatsuhiro Tsujikawa
413b61c316
FTP PASV: fixed IPv6 support.
...
If fake FTP URI cannot be parsed (this should not happen), throw
exception.
2011-12-10 17:57:31 +09:00
Tatsuhiro Tsujikawa
d5ffa2532d
AbstractDiskWriter::closeFile(): Throw exception if close() failed.
...
~AbstractDiskWriter calles closeFile(), but suppresses exception.
MultiDiskAdaptor::closeFile() logs error if child
DiskWriter::closeFile() throws exception. This exception is not
rethrown. If at least one exception is caught,
MultiDiskAdaptor::closeFile() throws new DlAbortEx.
RequestGroupMan::closeFile() just logs exception and suppress each
exception. Generally, don't call closeFile() in destructor. If you
need to call it, it must suppress the exception.
2011-12-09 23:32:38 +09:00
Tatsuhiro Tsujikawa
9a6f88c162
Use util::itos() for signed integrals
2011-12-09 21:40:22 +09:00
Tatsuhiro Tsujikawa
31163c6785
Check totalLength of file is less than std::numeric_limits<off_t>::max()
...
If totalLength is larger than std::numeric_limits<off_t>::max(), throw
DownloadFailureException.
2011-12-09 21:39:43 +09:00
Tatsuhiro Tsujikawa
7989cd898d
Use int or int32_t instead of size_t where suitable
2011-12-09 21:39:43 +09:00
Tatsuhiro Tsujikawa
30e0e19e67
Code cleanup
2011-12-09 21:39:43 +09:00
Tatsuhiro Tsujikawa
f0bcfa822e
Use int instead of unsigned int where unsigned int is not needed.
2011-12-09 21:39:43 +09:00
Tatsuhiro Tsujikawa
b97a7c8ecf
Use int32_t for begin, length in RangeBtMessage
2011-12-09 21:39:43 +09:00
Tatsuhiro Tsujikawa
9d15d732ed
Use int32_t for piece length instead of size_t
2011-12-09 21:39:43 +09:00
Tatsuhiro Tsujikawa
12988e5282
Replaced uint64_t with off_t or int64_t.
...
Since off_t is int64_t with LFS, we cannot take advantage of extra
capacity of uint64_t.
2011-12-09 21:39:43 +09:00
Tatsuhiro Tsujikawa
f25e67b017
FTP pasv: Use request host when connecting server with http proxy.
2011-12-09 21:37:54 +09:00
Tatsuhiro Tsujikawa
2eed1c3914
Fixed bug which causes segmentation fault when bad piece is got.
2011-12-09 21:34:18 +09:00
Tatsuhiro Tsujikawa
9752704614
Cast size_t to unsigned long for %lu
2011-12-06 23:53:43 +09:00
Tatsuhiro Tsujikawa
50a8549835
Updated aria2.pot
2011-12-03 23:34:39 +09:00
Tatsuhiro Tsujikawa
1ff1505916
Fixed typo and code cleanup
2011-12-03 21:41:07 +09:00
Tatsuhiro Tsujikawa
53fd815111
Use binary search in BtDependency for efficiency.
2011-12-03 18:34:07 +09:00
Tatsuhiro Tsujikawa
d1bb828066
Ignore peer which possibly sent bad data in next few minuts.
...
In aria2, one piece is downloaded from several peers, so when hash
check failed for that piece, it cannot determine which peer(s) sent
bad data. So, we ignore peer who sent last block of data in random
minutes. We use randomized timeout because all peers get waken up at
the almost same time.
2011-12-03 18:12:31 +09:00
Tatsuhiro Tsujikawa
6bf696ca11
New help messages. Added suggestion for unknown/ambiguous options.
...
The help messages shown when argument error were redesigned and less
verbose now. When unknown or ambiguous option is given, show
suggestions like "Did you mean...". Some constant values related to
levenstein distance are borrowed from git help.c.
2011-12-03 16:30:00 +09:00
Tatsuhiro Tsujikawa
f77da0d112
Updated aria2.pot
2011-12-02 22:40:31 +09:00
Tatsuhiro Tsujikawa
26d4ca8a6a
Made notice level log messages translatable
2011-12-02 22:38:53 +09:00
Tatsuhiro Tsujikawa
dd3f688743
Made some texts translatable
2011-12-02 22:00:48 +09:00
Tatsuhiro Tsujikawa
f860bf0d50
Use %lld to fomat a2_gid_t
2011-12-02 21:36:11 +09:00
Tatsuhiro Tsujikawa
bc9fb7cb65
Fixed bug in util::parseULLIntNoThrow()
2011-12-02 00:44:33 +09:00
Tatsuhiro Tsujikawa
dd8824ab11
Don't compare c-strng using CPPUNIT_ASSERT_EQUAL
2011-12-02 00:30:11 +09:00
Tatsuhiro Tsujikawa
11c5a13534
Return true if bits == 0 in util::inSameCidrBlock()
2011-12-02 00:27:14 +09:00
Tatsuhiro Tsujikawa
e787b30dde
Documented --stop-with-process option in man page.
2011-12-01 23:38:57 +09:00
Tatsuhiro Tsujikawa
031f1199d7
Added const to Option::getTable()
2011-12-01 23:36:17 +09:00
Tatsuhiro Tsujikawa
f9dd59eebd
Added missing XmlParser::parseMemory() in ExpatXmlParser.cc
2011-12-01 23:34:14 +09:00
Tatsuhiro Tsujikawa
82e5318e35
Fixed compile error with mingw
2011-12-01 23:21:56 +09:00
Tatsuhiro Tsujikawa
b89bc8a6cb
Added --stop-with-process=PID option.
...
This feature stops application when process PID is not running. This
is useful if aria2 process is forked from a parent process. The parent
process can fork aria2 with its own pid and when parent process exits
for some reason, aria2 can detect it and shutdown itself.
The code which detects whether or not given process PID is running is
contributed by Emmanuel Engelhart.
2011-12-01 23:21:44 +09:00
Tatsuhiro Tsujikawa
ce3b3fc88e
Merge branch 'master' of github.com:tatsuhiro-t/aria2
2011-11-30 22:01:07 +09:00
Tatsuhiro Tsujikawa
27dda3c65c
Support IPv6 address for FTP via HTTP tunneling.
...
We use control connection address as data connection address, so we
don't need to store both address and port. We just store port in
PASV/EPSV response and use SocketCore::getPeerInfo() to get peer's
address when needed.
2011-11-14 23:19:37 +09:00
Tatsuhiro Tsujikawa
c8f51378d7
Merge pull request #2 from tcz/master
...
Adding Fedora required packages
2011-11-14 04:19:20 -08:00