Tatsuhiro Tsujikawa
c81fd8e194
InternalMessageDigestImpl: Fix memory leak
2013-09-25 23:58:59 +09:00
Tatsuhiro Tsujikawa
7dc5567cad
InternalMessageDigestImpl: Code cleanup
2013-09-25 23:57:03 +09:00
Tatsuhiro Tsujikawa
77b7747ca8
Ensure that Commands are cleaned up before RequestGroupMan is deleted
2013-09-25 23:35:18 +09:00
Tatsuhiro Tsujikawa
ca8ac6e7d3
bignum.h: Fix compile error
2013-09-25 22:43:48 +09:00
Tatsuhiro Tsujikawa
6198b607e9
Merge branch 'master' into bignum-arc4
2013-09-25 21:55:32 +09:00
Tatsuhiro Tsujikawa
e3e4ff700a
Merge branch 'master' into random
2013-09-25 21:41:16 +09:00
Tatsuhiro Tsujikawa
cf5b049999
Merge branch 'patch-2' of https://github.com/ITriskTI/aria2 into ITriskTI-patch-2
2013-09-25 21:33:23 +09:00
Nils Maier
450677f2bb
Mention --without-appletls for checksumming
2013-09-25 04:10:19 +02:00
Nils Maier
ede8ee7fe8
Add notes about AppleTLS and -MD
2013-09-25 04:00:57 +02:00
ITriskTI
f2137eb784
Fixed a typo in the English manual
...
Closes #133
2013-09-25 02:51:31 +02:00
ITriskTI
5787b1e161
Update aria2c.rst
2013-09-24 22:39:09 +03:00
Nils Maier
99f170b888
Provide internal ARC4 implementation
...
Now you can build bittorrent support without without external
libraries, meaning you can skip libnettle, libgmp, libgcrypt, GnuTLS and
OpenSSL on OSX (for now).
2013-09-24 19:11:26 +02:00
Nils Maier
e854463b2d
Internal implementation of DHKeyExchange
...
Reusing a bignum (well, unsigned very-long) implementation I had lying
around for years and just cleaned up a bit and brought to C++11 land.
It might not be the most performant implementation, but it shoud be fast
enough for our purposes and will go a long way of removing gcrypt,
nettle, gmp, openssl dependencies when using AppleTLS and WinTLS
(upcoming).
2013-09-24 19:11:00 +02:00
Nils Maier
86c61fcf5b
Make generateRandomBytes less biased.
2013-09-24 19:07:18 +02:00
Nils Maier
213de910fd
Add myself to AUTHORS
2013-09-24 19:04:25 +02:00
Nils Maier
e5644a7188
Revert OptionHandlerFactory changes
2013-09-24 16:17:15 +02:00
Nils Maier
d1ae9f87fd
using to typedef to make gcc-4.6 happy
2013-09-24 16:14:35 +02:00
Nils Maier
4a1d186962
Better error messages when PKCS12 import fails
2013-09-24 01:05:58 +02:00
Nils Maier
063451f0c9
TLS: Minor code cleanups
2013-09-23 15:43:11 +02:00
Nils Maier
d560bf0e6f
TLS: Fix dangling str() pointers
2013-09-23 15:10:53 +02:00
Nils Maier
2f1f45bcc5
Document PKCS12 availability
2013-09-22 12:55:27 +02:00
Nils Maier
37f9c668ff
Teach GnuTLS backend to load .p12 files
2013-09-22 12:55:27 +02:00
Nils Maier
f7b0fbbf53
Teach Libssl backend to load .p12 files
2013-09-22 12:55:27 +02:00
Nils Maier
08e2e412dc
Add some md5 tests
2013-09-20 23:07:11 +02:00
Nils Maier
7cb69c4d9e
Add --disable-ssl configure option
2013-09-20 23:06:50 +02:00
Nils Maier
38bdea4e06
Add internal md5 and sha1 message digests
2013-09-20 23:06:50 +02:00
Nils Maier
a1deb0e9f1
Only use AppleMessageDigest when using AppleTLS
2013-09-20 23:06:50 +02:00
Nils Maier
fa30fe4b15
One MessageDigestImpl.h to rule them all.
2013-09-20 23:06:49 +02:00
Nils Maier
a4e29303ef
WinTLS: Implement messsage digest using the Cryptography Provider
2013-09-20 23:06:49 +02:00
Nils Maier
b678bc5e10
Fix AppleMessageDigestImpl use with large data
2013-09-20 23:06:49 +02:00
Nils Maier
7738063100
AppleTLS: Remove unused variables
2013-09-20 23:06:49 +02:00
Nils Maier
3b9988251f
clang-modernize -add-override on headers
2013-09-20 23:06:49 +02:00
Nils Maier
e2700f50a5
Code cleanup in Http*
2013-09-20 23:06:49 +02:00
Nils Maier
29d569eef9
Cleanup RequestGroup code a bit
2013-09-20 23:06:49 +02:00
Nils Maier
3590077d5c
More auto-converts by cpp11-migrate
2013-09-20 23:06:49 +02:00
Nils Maier
a76eeb2b81
Introduce PrefPtr typedef
2013-09-19 19:59:33 +02:00
Nils Maier
8e6e46dfcf
More code cleanups
2013-09-19 19:59:33 +02:00
Tatsuhiro Tsujikawa
9e7579b475
Set old cookie's creation-time to new cookie on replacement
...
As described in http://tools.ietf.org/html/rfc6265#section-5.3
2013-09-20 00:24:03 +09:00
Tatsuhiro Tsujikawa
c6eb970173
Update README.rst
2013-09-18 23:28:17 +09:00
Tatsuhiro Tsujikawa
e3a41a51da
Fix link error with Android NDK r9
...
Since Android ndk r9, __set_errno is deprecated. It is now defined as
inline function in errno.h. The syscall assembly calls __set_errno,
but since libc.so does not export it, the link fails. To workaround
this, replace all occurrences of __set_errno with a2_set_errno and
define it as normal C function.
2013-09-18 23:10:25 +09:00
Tatsuhiro Tsujikawa
fa09dc9115
Clean up if defined style
2013-09-17 23:17:08 +09:00
Tatsuhiro Tsujikawa
58f35a07a5
Update .gitignore
2013-09-14 21:08:32 +09:00
Nils Maier
7ca627bfe9
Fix out-of-tree builds of libaria2api
...
Also it's not just the `html` target that needs libaria2api generated.
The fix is mighty ackward, as it is not really out-of-tree: libaria2api
still will be but into the srcdir. I settled for this because trying to
do a real include from the build dir is really a mess, either requireing
heavy pre-processing or a custom sphinx Include directive :p
2013-09-09 23:35:15 +02:00
Tatsuhiro Tsujikawa
4bd4aa2dc3
mingw: Deactivate __USE_MINGW_ANSI_STDIO
...
Deactivate __USE_MINGW_ANSI_STDIO because it causes lots of errors for
PRId64.
2013-09-10 01:25:28 +09:00
Tatsuhiro Tsujikawa
51bbdbb085
Update NEWS
2013-09-08 19:29:43 +09:00
Tatsuhiro Tsujikawa
9a164bb4b1
Bump up version number to 1.18.0
2013-09-08 16:41:56 +09:00
ITriskTI
d668a8a604
Update aria2c.rst
2013-09-03 09:23:43 +03:00
Tatsuhiro Tsujikawa
acd2af82d0
util::htmlEscape: Optimize a bit
...
The cause of slowness of the first implementation is the memory
allocation overhead and appending character by character. In this
implementation, the output buffer is reserved the same size of input.
This is reasonable because most likely no replacement happens in
practice. And the unmodified region is copied using iterator range to
speed up a bit.
2013-08-29 01:09:15 +09:00
Nils Maier
3b0ad59ee5
Use AM subdir-objects
...
Doing so in AM_INIT_AUTOMAKE seems to be the most compatible way of
doing so.
Closes GH-120
2013-08-25 16:17:05 +02:00
Nils Maier
75e61ee3d0
Fast-path for percentEncodeMini(string&)
2013-08-24 22:25:29 +02:00