Commit Graph

4617 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
18c73f51a4 travis: Add libssh2 and run make check 2015-05-30 13:54:18 +09:00
Tatsuhiro Tsujikawa
e210f57594 travis: Add autopoint and use libssl-dev
nettle-dev is not white listed yet, and libgcrypt is a bit old.
libssl-dev is mostly up-to-date and usable.
2015-05-30 13:33:49 +09:00
Tatsuhiro Tsujikawa
9334256658 Add travis integration 2015-05-30 13:33:48 +09:00
Tatsuhiro Tsujikawa
bb8df11d7e ftp, sftp: Fix heap-after-free bug on exception 2015-05-28 22:15:25 +09:00
Tatsuhiro Tsujikawa
70541498d8 ftp: Fix timeout when reusing FTP connection 2015-05-28 22:14:43 +09:00
Tatsuhiro Tsujikawa
2a168172dc Bump up version number to 1.19.0 2015-05-24 18:50:23 +09:00
Tatsuhiro Tsujikawa
d1bb9d3863 Update bash_completion 2015-05-24 18:45:45 +09:00
Tatsuhiro Tsujikawa
5e9992b2be Add outdated warning to pt translation 2015-05-24 18:43:23 +09:00
Tatsuhiro Tsujikawa
abe7bc9c32 Add libaria2 build test target 2015-05-24 18:43:12 +09:00
Tatsuhiro Tsujikawa
df5c86ba70 Update NEWS 2015-05-24 18:42:59 +09:00
Tatsuhiro Tsujikawa
03e5764936 Add Dockerfile.raspberrypi to EXTRA_DIST 2015-05-24 18:42:34 +09:00
Tatsuhiro Tsujikawa
e30becdbed Fix uninitialized field bug in WebSocketSession 2015-05-23 21:17:47 +09:00
Tatsuhiro Tsujikawa
b84ae3a232 Add build test without libssh2 2015-05-23 15:24:12 +09:00
Tatsuhiro Tsujikawa
fa3401dcb2 Update copyright year in -v output 2015-05-21 00:52:49 +09:00
Tatsuhiro Tsujikawa
fb720b3077 android: Build and link with zlib
Previously, we linked with zlib shipped with NDK, but it seems this is
not part of NDK API, and thus could break our app.
2015-05-21 00:00:37 +09:00
Tatsuhiro Tsujikawa
eb9dafc247 Add libssh2 to Dockerfile.mingw 2015-05-20 23:55:34 +09:00
Tatsuhiro Tsujikawa
65505be1be Merge branch 'ITriskTI-patch-1' 2015-05-20 21:08:38 +09:00
ITriskTI
b073735d82 Update aria2c.rst 2015-05-19 19:53:43 +03:00
Tatsuhiro Tsujikawa
c1417f08ce Remove useless --with-*-prefix from andrond-config 2015-05-16 23:07:26 +09:00
Tatsuhiro Tsujikawa
ce36021447 Add libssh2 to android build config 2015-05-16 23:00:26 +09:00
Tatsuhiro Tsujikawa
381533e32d Add libssh2 to mingw build config 2015-05-16 21:38:53 +09:00
Tatsuhiro Tsujikawa
ee12923122 Arrange #ifdef guard so that formatter does not get fooled 2015-05-16 20:58:51 +09:00
Tatsuhiro Tsujikawa
c26da09687 Add --ssh-host-key-md option
Set checksum for SSH host public key.  Use same syntax with --checksum
option.  TYPE is hash type.  The supported hash type is sha-1 or
md5. DIGEST is hex digest.  For example:
sha-1=b030503d4de4539dc7885e6f0f5e256704edf4c3.  This option can be
used to validate server's public key when SFTP is used.  If this
option is not set, which is default, no validation takes place.
2015-05-16 19:43:11 +09:00
Tatsuhiro Tsujikawa
4273885f16 Document --netrc-path option 2015-05-14 21:26:38 +09:00
Tatsuhiro Tsujikawa
a89c52734a Merge branch 'zi0r-master' 2015-05-14 21:21:33 +09:00
Ryan Steinmetz
ceee04cfe8 Allow netrc-path to be specified in the config file 2015-05-14 21:20:11 +09:00
Tatsuhiro Tsujikawa
2a9012ab60 Merge branch 'multiSnow-master' 2015-05-14 21:15:23 +09:00
multisnow
e84176d1f0 fix build error without libssh2 2015-05-14 08:44:17 +08:00
Tatsuhiro Tsujikawa
9297bc8c5c Remove a2x and asciidoc checks 2015-05-13 23:56:45 +09:00
Tatsuhiro Tsujikawa
3855205026 Exit with 32 status code if checksum verification failed 2015-05-12 23:08:10 +09:00
Tatsuhiro Tsujikawa
5100f96bfa Update doc 2015-05-12 22:52:09 +09:00
Tatsuhiro Tsujikawa
62826d691d ftp: Fix accessing first element in empty segments vector 2015-05-12 22:42:26 +09:00
Tatsuhiro Tsujikawa
5723f4211a sftp: Seek to the correct position to resume, fix slow start of transfer 2015-05-12 22:31:14 +09:00
Tatsuhiro Tsujikawa
89c1916fa5 Merge branch 'sftp' 2015-05-12 00:55:12 +09:00
Tatsuhiro Tsujikawa
2758fba10c sftp: Add SFTP and libssh2 to feature summary, and add tests 2015-05-12 00:52:50 +09:00
Tatsuhiro Tsujikawa
17a642551f sftp: Mention SFTP in README.rst; add libssh2 dependency doc 2015-05-12 00:40:59 +09:00
Tatsuhiro Tsujikawa
46595e77d7 sftp: Guard sftp code with HAVE_LIBSSH2 2015-05-12 00:37:21 +09:00
Tatsuhiro Tsujikawa
21c328fc11 sftp: Make sftp works through HTTP proxy 2015-05-12 00:32:30 +09:00
Tatsuhiro Tsujikawa
d0ad7033c3 sftp: basic download works
This commits implements basic downloading feature for sftp URI.  This
includes segmented downloads, and connection (sftp session) pooling.
Download via HTTP proxy has not been implemented yet.
2015-05-12 00:31:57 +09:00
Tatsuhiro Tsujikawa
82ba003209 Add basic ssh/sftp code to SocketCore and introduce SSHSession
We use libssh2 to implement sftp feature.  SSHSession is closely
designed to TLSSession, but it differs in several aspects.  In this
code, we only implements read part of sftp, since aria2 won't offer
uploading feature.  Adding SSH/sftp to SocketCore is a bit bloat.  But
by doing this we can reuse DownloadCommand, without mostly no
modification.  We can just create SSHDownloadCommand by inheriting it,
just like existing ftp.
2015-05-10 00:00:23 +09:00
Tatsuhiro Tsujikawa
4654f1974a Update sphinx_rtd_theme 2015-05-07 21:22:56 +09:00
Tatsuhiro Tsujikawa
da5b925b15 Merge branch 'ITriskTI-patch-1' 2015-05-04 19:29:43 +09:00
ITriskTI
3d5b5cc0e9 Update aria2c.rst 2015-05-04 11:59:06 +03:00
Tatsuhiro Tsujikawa
1f3667a1ee Merge pull request #365 from hostmaster/dockerfile-raspberrypi
Added Dockerfile to cross complile aria2 for RaspberryPI (armhf)
2015-04-22 23:48:54 +09:00
Tatsuhiro Tsujikawa
0ab23e7a8d Document --multiple-interface option
Thic commit documents --multiple-interface option, and move option
handler for it to the place alphabetical order as we do usually
2015-04-22 22:48:49 +09:00
Igor Khomyakov
e182b0e174 Added Dockerfile to cross complile aria2 for RaspberryPI (armhf) 2015-04-22 14:50:56 +03:00
Tatsuhiro Tsujikawa
3c84aa0745 Merge branch 'sarim-master' 2015-04-22 00:17:50 +09:00
Tatsuhiro Tsujikawa
45199d3691 Merge branch 'master' of https://github.com/sarim/aria2 into sarim-master 2015-04-22 00:08:57 +09:00
Sarim Khan
34d773a465 multiple interface support for link aggregation
fix: wrong variable
2015-04-21 20:59:38 +06:00
Tatsuhiro Tsujikawa
692a674fe0 SocketRecvBuffer: Eliminate memmove
Since we don't try to read into buffer if buffer is not empty, we
don't have to memmove things.  This commit mostly rewrites
SocketRecvBuffer.
2015-04-14 00:25:23 +09:00