Tatsuhiro Tsujikawa
39d8f57237
Fixed doc: neither libnettle nor libgcrypt will not be used with OpenSSL.
2012-01-16 22:50:55 +09:00
Tatsuhiro Tsujikawa
bb49e440da
Updated German and Polish translations. Thanks to all translators.
2012-01-12 00:47:07 +09:00
Tatsuhiro Tsujikawa
29296d5e3f
Updated NEWS for 1.14.1 release
2012-01-12 00:36:19 +09:00
Tatsuhiro Tsujikawa
a6803c21b5
Support network-path reference in HTTP redirect.
2012-01-11 02:17:38 +09:00
Tatsuhiro Tsujikawa
2997fa0631
Refactored splitNsName
2012-01-11 02:04:20 +09:00
Tatsuhiro Tsujikawa
3b1834e633
Avoid strlen in util::streq, util::strieq, util::startsWith and util::istartsWith
2012-01-11 01:50:35 +09:00
Tatsuhiro Tsujikawa
b340c25164
Code cleanup
2012-01-11 01:23:24 +09:00
Tatsuhiro Tsujikawa
b6fd4366fe
Use short form of util::startsWith and util::endsWith
2012-01-11 01:17:51 +09:00
Tatsuhiro Tsujikawa
9331f6a43d
Removed static const char[] as much as possible.
...
Provided convenient functions for streq, strieq, startsWith,
istartsWith, endsWith, iendsWith to support this move.
2012-01-11 01:03:38 +09:00
Tatsuhiro Tsujikawa
047d96195c
Merge branch 'patch-4' of https://github.com/ITriskTI/aria2
2012-01-08 21:00:53 +09:00
ITriskTI
bdaa55c6a3
Update doc/ru/aria2c.1.asciidoc
2012-01-08 13:31:28 +03:00
Tatsuhiro Tsujikawa
238a6936af
Updated bash_completion
2012-01-08 19:19:42 +09:00
Tatsuhiro Tsujikawa
db86ffbca9
Fixed compile error without libnettle, libgcrypt and openssl
2012-01-08 19:10:55 +09:00
Tatsuhiro Tsujikawa
57b2336e58
Bump up version number to 1.14.1
2012-01-08 17:52:25 +09:00
Tatsuhiro Tsujikawa
e2fe9f64cb
Fixed man page
2012-01-08 17:51:59 +09:00
Tatsuhiro Tsujikawa
1c292f469e
aria2 now doesn't assume download's completed just because file size matched
...
The only exception is zero-length file. If server tells file is
zero-length and --checksum option is given, aria2 now correctly checks
its checksum. There is one known issue: If downloaded file is
zero-length file and .aria2 file exists, it will not be deleted on
successful verification, because .aria2 file is not loaded.
2012-01-08 17:46:03 +09:00
Tatsuhiro Tsujikawa
b6f8a3dbb3
Use std::ifstream instead of file descriptor for generateRandomDataUrandom()
...
Usually required random bytes are short, it is advantageous to use
std::ifstream which is buffered I/O rather than read() syscall.
2012-01-08 01:21:42 +09:00
Tatsuhiro Tsujikawa
46e59c4cc3
Fixed the bug that --checksum is not working.
2012-01-08 01:15:58 +09:00
Tatsuhiro Tsujikawa
4ff29f802f
Moved PeerConnection.{h,cc} to BitTorrent resources
2012-01-08 01:09:58 +09:00
Tatsuhiro Tsujikawa
63325cfd06
Fixed compile error without libnettle, libgcrypt and openssl.
2012-01-08 01:00:02 +09:00
Tatsuhiro Tsujikawa
54d341ccc1
Added build test without libnettle, libgcrypt and openssl.
2012-01-08 00:59:34 +09:00
Tatsuhiro Tsujikawa
e6c44871c8
Fixed the bug that log file is not created if there is warning before log open
...
Use LogFactory::reconfigure() to reopen log file after setting log
filename from option.
2011-12-27 17:14:29 +09:00
Tatsuhiro Tsujikawa
11ee82df2e
Updated NEWS
2011-12-26 01:05:32 +09:00
Tatsuhiro Tsujikawa
66f5dc0c6a
Updated Chinese (Simplified), Spanish, French and Russian translations.
...
Thanks to all translators.
2011-12-26 01:03:33 +09:00
Tatsuhiro Tsujikawa
8033c647fa
Updated po templates
2011-12-26 01:00:31 +09:00
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