1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00
Commit graph

185 commits

Author SHA1 Message Date
Jordan Lee
5df3c77cf2 #4260 "µTP not working on embedded device" -- apply the changes from https://github.com/ghazel/libutp rather than http://github.com/bittorrent/libutp 2011-08-10 14:51:59 +00:00
Mitchell Livingston
1a4f4c5812 as of revision 41 of our libevent checkout, we no longer need to include our own evutil_rand.c 2011-08-09 12:34:09 +00:00
Jordan Lee
cdb95995e8 (trunk, libutp) #4260 "uTP not working when compiler doesn't honor 'pragma pack'" -- apply alus' revised patch for testing. 2011-07-30 22:15:32 +00:00
Mitchell Livingston
d7ab7d9012 #4387 Update miniupnpc to 1.6 2011-07-26 01:36:30 +00:00
Juliusz Chroboczek
54948efa2d Avoid warning in the DHT code. 2011-07-25 22:01:21 +00:00
Juliusz Chroboczek
d40fea774b Import dht-0.21. This has blacklisting support. 2011-07-25 21:30:43 +00:00
Juliusz Chroboczek
8018973257 Resynchronise with upstream libutp.c, commit 4be31bb7. 2011-07-25 19:27:17 +00:00
Mitchell Livingston
68dd9c5ccd add a temporary custom version of evutil_rand.c 2011-07-21 02:22:56 +00:00
Juliusz Chroboczek
d20a492e0c Import dht-0.20.
This fixes compilation on systems that have memmem, but don't define
HAVE_MEMMEM.
2011-07-06 22:23:39 +00:00
Jordan Lee
2492ac63e5 (trunk libutp) #4260 "uTP not working on embedded device" -- use __attribute__ ((__packed__)) on gcc compilers as suggested by KyleK 2011-05-28 00:50:11 +00:00
Mitchell Livingston
ab08085280 update the mac libevent config files 2011-05-03 21:50:04 +00:00
Juliusz Chroboczek
09c67f749a Include dht-0.19.
This fixes a bug with parsing of announce messages, noticed by cjdelisle.
2011-04-30 23:03:25 +00:00
Jordan Lee
38669a6c3b (trunk libT) #4153 "Protect against non-monotonic time in libutp" -- try again. 2011-03-30 23:54:39 +00:00
Jordan Lee
7aa90a3812 (trunk libT) #4153 "Protect against non-monotonic time in libutp" -- another attempt at getting it to compile on win32 2011-03-30 23:50:25 +00:00
Jordan Lee
4cf4000620 (trunk libT) #4153 "Protect against non-monotonic time in libutp" -- move UTP_GetMilliseconds() and UTP_GetMicroseconds() outside of the if-not-windows ifdef section. Based on feedback from rb07 in ticket comment 5 2011-03-30 23:26:00 +00:00
Juliusz Chroboczek
7b06392812 Don't explicitly protect against non-monotonic gettimeofday.
Since we're now protecting against non-monotonic time unconditionally,
there's no need for additional protection in the gettimeofday case.
2011-03-30 00:29:07 +00:00
Juliusz Chroboczek
c0ef0f50ad Protect against monotonic time being non-monotonic, take 2.
This is a better fix, suggested by ghazel.
2011-03-30 00:14:41 +00:00
Juliusz Chroboczek
74c0721a2c Protect against monotonic time being non-monotonic.
Within utp.cpp, there's a bunch of assertions that will cause us
to crash if monotonic time isn't.  While I have no idea about Windows,
under Unix we use real time instead of monotonic time if POSIX clocks
are not available, and real time can be stepped backwards.  Since the
protection is cheap, we perform it on all platforms.
2011-03-29 23:15:38 +00:00
Jordan Lee
b4d36aeb54 (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
Juliusz Chroboczek
63917c907b Revert "Protect against broken implementations of monotonic time."
There are other instances of GetMicroseconds in the code, so a proper
paranoiac would want to work around that at a lower level.
2011-03-12 22:45:14 +00:00
Juliusz Chroboczek
97229c1813 Protect against broken implementations of monotonic time.
Fixes #4090.
2011-03-09 15:31:54 +00:00
Jordan Lee
4f5a8dbec3 (trunk libutp) silence a couple of useless asserts.
From 577e03dc3e
2011-02-19 17:52:02 +00:00
Jordan Lee
cd04051de8 add configure script switch to enable/disable utp 2011-02-18 00:45:44 +00:00
Juliusz Chroboczek
fb82ff08a4 Resynchronise with libutp 2011-02-09 15:29:29. 2011-02-18 00:43:56 +00:00
Jordan Lee
9dca338032 make a note that we need to implement UTP_GetGlobalUTPBytesSent in libtransmission 2011-02-18 00:33:54 +00:00
Jordan Lee
7df7d34f6d automake/autoconf; #includes in libtransmission 2011-02-18 00:32:19 +00:00
Jordan Lee
01f5a8b093 import libutp into third-party/ and plug it in to autoconf, automake 2011-02-18 00:31:49 +00:00
Jordan Lee
e4fb51a778 revert r11894 2011-02-15 19:51:31 +00:00
Jordan Lee
634c09f9b0 (trunk dht) apply patch from jch to increase the number of token_bucket_tokens. 2011-02-15 19:48:57 +00:00
Juliusz Chroboczek
efadbaf812 Import dht-0.18. 2011-01-20 20:43:57 +00:00
Juliusz Chroboczek
429754cfb5 Fix incorrect overflow handling in the DHT's parser. 2011-01-10 01:58:13 +00:00
Juliusz Chroboczek
5bb25bbe72 Import dht-0.17. 2011-01-09 23:44:59 +00:00
Juliusz Chroboczek
3d25f2dc7e Import dht-0.16. 2011-01-09 21:48:40 +00:00
Mitchell Livingston
f8ea720ba9 update miniupnp to 1.4.20101221 2010-12-22 16:10:14 +00:00
Mitchell Livingston
97e5dc7111 fix replace-all of #undef -> #under 2010-12-20 02:19:33 +00:00
Mitchell Livingston
705b8ec884 update the Mac project and libevent files 2010-12-20 02:16:56 +00:00
Mitchell Livingston
78f2bff2a2 update to miniupnpc-1.4.20101209 2010-12-10 04:07:30 +00:00
Charles Kerr
2060f72f22 (trunk third-party) #3707 "remove dependency to which" -- committed. fix by geirha. 2010-11-02 13:37:34 +00:00
Charles Kerr
5725b7c922 (trunk) #3663 "clang warnings in 2.11" -- fixed. 2010-10-24 05:52:38 +00:00
Charles Kerr
6c3d651ffe (trunk) #3618 "FreeBSD 8.1 & GCC 4.2.1 compiler warnings" -- fix some compiler warnings. 2010-10-11 21:44:46 +00:00
Charles Kerr
8b386a63b1 (trunk libT) #3311 "MingW build of Transmission" -- added rb07's revisions to my revisions to his diff. :P 2010-07-01 04:00:41 +00:00
Charles Kerr
ba3d117b81 (trunk third-party/dht) #3311 "mingw build of Transmission" -- use jch's upstream win32 portability fixes 2010-06-30 23:30:21 +00:00
Charles Kerr
954a309d8f (trunk) #3311 "MingW build of Transmission" -- apply more of rb07's diffs, though edited to lessen the inevitable #ifdefs 2010-06-30 21:24:36 +00:00
Mitchell Livingston
faeb04bec4 missed one 2010-06-09 23:22:10 +00:00
Mitchell Livingston
b13cfe2ea6 update miniupnpc to 20100609 2010-06-09 23:22:00 +00:00
Charles Kerr
52ac4cd0b9 (trunk) #3222 "don't bundle libevent" -- autoconf-based builds no longer use our copy of libevent, and it's not included in the tarball anymore. 2010-05-20 20:16:22 +00:00
Mitchell Livingston
c1f73b89d7 update miniupnp to 20100412 2010-04-13 00:11:34 +00:00
Mitchell Livingston
7a086ec6df update miniupnp to 20100407 2010-04-07 22:45:35 +00:00
Mitchell Livingston
62ceb344f6 update miniupnp to 20100405 2010-04-05 22:44:14 +00:00
Charles Kerr
638485c5b6 (trunk third-party) #2767 "DHT-formatted dictionaries are incorrect" -- fixed by upgrading our DHT snapshot to dht-0.15 from http://www.pps.jussieu.fr/~jch/software/files/dht-0.15.tar.gz 2010-03-25 20:03:56 +00:00