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
Mitchell Livingston
13fa343a2e
update miniupnp and libnatpmp makefiles
2010-02-25 12:53:21 +00:00
Mitchell Livingston
a3328e519c
update miniupnp to 1.4
2010-02-25 12:39:22 +00:00
Mitchell Livingston
d35e2487ef
update libnatpmp to 20100202
2010-02-25 12:29:43 +00:00
Charles Kerr
743ef2a3c6
(trunk) #2795 "non-GUI compilation issues on OS X 10.4" -- fixed for 1.90
2010-01-29 19:11:56 +00:00
Charles Kerr
b0fe8bcf73
(trunk) messing around with libevent a little. this will break build.transmissionbt.com for a bit but don't worry about it
2010-01-18 19:36:06 +00:00
Charles Kerr
72603cc5a0
(trunk libevent) fix kqueue build failure
2010-01-17 04:59:21 +00:00
Charles Kerr
c8fc84b971
(trunk libevent) yes, more assertions for exiva
2010-01-17 04:52:52 +00:00
Charles Kerr
7062f7add3
(trunk libevent) #2416 - trying to find a new way for exiva to crash
2010-01-17 04:25:50 +00:00
Charles Kerr
848bf5cd41
(trunk libevent) add more debugging assertions so I can continue to torture exiva...
2010-01-17 03:44:50 +00:00
Charles Kerr
f01f00557c
(trunk libevent) oops
2010-01-17 02:35:18 +00:00
Charles Kerr
af6060165d
(trunk libT) turn on DEBUG_KQUEUE_CHANGEIDX debugging
2010-01-17 02:31:06 +00:00
Mitchell Livingston
6c713d2800
update macosx-libevent-config.h and macosx-libevent-event-config.h
2010-01-17 02:24:33 +00:00
Charles Kerr
b59775cdad
(trunk third-party) #2416 "libevent + libcurl + OS X == crash" -- undo r9910 so that Nick's experimental fix can be tested in the nightlies. This is a continuation of r9946
2010-01-17 01:31:28 +00:00
Charles Kerr
4fbaf10ad6
(trunk) #2416 "libevent + libcurl + OS X == crash" -- remove our old libevent mirror, and instead use a snapshot from git://github.com/nmathewson/Libevent.git's "kqueue_crash_fix_1.4" branch from 2001-01-14 < http://github.com/nmathewson/Libevent/commits/kqueue_crash_fix_1.4 >
2010-01-17 01:06:48 +00:00
Charles Kerr
3a908ad8d8
(trunk third-party) ensure that dht, miniupnp, and libnatpmp are compiled with @PTHREAD_CFLAGS@ on Solaris for thread safety.
2010-01-15 14:54:01 +00:00
Charles Kerr
2ac553361a
(trunk libT) #2416 "crash in event_queue_insert" -- I think this is happening if we queue up two changes, one to listen for read/write, and then a second one to delete the polling, in kqueue's event mechanism, at libcurl's request. Let's try disabling kqueue in libevent and use poll/select instead.
2010-01-10 19:52:01 +00:00
Charles Kerr
7d2dd8b8ba
(trunk) update our DHT snapshot
2009-12-15 17:34:36 +00:00
Charles Kerr
0e45a08930
(trunk third-party) #2657 "dht-0.12 is out" -- sync with dht-0.12
2009-12-11 17:10:57 +00:00
Charles Kerr
e64fb64da7
(trunk third-party) #2636 : "Fix stray printf in dht.c"
2009-12-02 23:08:33 +00:00
Charles Kerr
fc0a8b7c93
(trunk) #2614 : "incorrect memory usage when not using IPv6" -- accepted dht.c + tr-dht.c patches
2009-11-27 14:18:32 +00:00
Charles Kerr
1cbbcf9fa1
(trunk libT) jch's patches 0001 through 0004 for ticket #2576 , IPv6 support for DHT (BEP #32 )
2009-11-24 01:59:51 +00:00
Charles Kerr
0780d04fa5
(trunk third-party) #2583 : infinite loop in DHT code
2009-11-14 21:31:06 +00:00
Charles Kerr
06004319d7
(trunk) #2222 : revert r8967, as foreshadowed in http://trac.transmissionbt.com/ticket/2222#comment:20
2009-11-14 14:43:31 +00:00
Mitchell Livingston
2c0223b691
#2514 update to dht-0.10
2009-10-19 01:21:33 +00:00
Mitchell Livingston
6f33403a0c
update to miniupnpc-20091010
2009-10-11 01:32:58 +00:00
Charles Kerr
44d7373b60
(trunk third-party) get miniupnpc building again. the breakage has been reported upstream @ http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=1452#1452
2009-09-24 14:39:28 +00:00
Mitchell Livingston
ad019c6009
update miniupnp to 20090921
2009-09-24 12:17:28 +00:00
Mitchell Livingston
b9c694501f
update libevent config files
2009-09-24 01:50:42 +00:00
Charles Kerr
50cb3a97fd
update to dht 0.9
2009-09-20 18:46:58 +00:00
Charles Kerr
6805051b74
(trunk third-party) #2302 : upgrade libdht to newer version
2009-09-19 18:09:57 +00:00
Mitchell Livingston
4016dc0358
#2337 Include Mac OS X 10.5's libcurl and libcrypto in our repo to build/link against. This is the first step for restoring 10.5 compatibility.
2009-09-07 14:46:25 +00:00
Charles Kerr
a61a5779f8
(trunk third-party) #2302 : revert from dht 0.8 to 0.6 for Transmission 1.74. 0.8 reportedly adds a new crasher < http://forum.transmissionbt.com/viewtopic.php?p=39773#p39773 >
2009-08-22 16:21:13 +00:00
Charles Kerr
e7a4ee9d82
(trunk) un-remove the conditional DHT compiling for now for reasons discussed @ http://lists.opensuse.org/opensuse-gnome/2009-08/msg00033.html . I'll re-remove it for 1.80. :)
2009-08-18 16:02:16 +00:00
Charles Kerr
77ec5c12f2
(trunk third-party) update miniupnpc to the Aug 7 2009 snapshot
2009-08-18 00:56:12 +00:00
Charles Kerr
6fd19fa096
(trunk) remove the option to build without DHT. This is because of new & improved information wrt ticket #2222
2009-08-10 16:09:25 +00:00
Mitchell Livingston
e9e956acba
finish #2281 - apply DHT 0.8 typo fix
2009-08-08 00:05:25 +00:00
Mitchell Livingston
39fdda4f22
revert updateminiupnpcstrings.sh
2009-08-02 22:27:40 +00:00
Mitchell Livingston
9422dde5e8
update miniupnpc to miniupnpc-20090729
2009-08-02 22:21:46 +00:00
Charles Kerr
c33f27c06c
(trunk third-party) #2302 : upgrade from dht 0.6 to 0.8.
2009-07-29 03:06:18 +00:00
Charles Kerr
0b57127650
(trunk third-party) #2296 : commit geirha's "quick fix" to the updateminiupnpcstrings.sh
2009-07-28 18:03:47 +00:00
Charles Kerr
bd4b161cd3
better generation of miniupnpcstrings.h in automake
2009-07-22 14:19:51 +00:00
Charles Kerr
5d9859df0b
get autoconf and miniupnpc to play nice
2009-07-17 20:15:53 +00:00
Eric Petit
9520916e49
Another file missing from dist
2009-07-14 23:55:44 +00:00
Eric Petit
fed005eecd
Typo
2009-07-14 23:42:33 +00:00
Eric Petit
149077c2be
Fix missing files in tarball because of bad case
2009-07-14 23:32:03 +00:00
Eric Petit
498becec1f
Adds updateminiupnpcstrings.sh to dist
2009-07-14 23:14:33 +00:00
Charles Kerr
cbf9580ec2
(trunk third-party) #2273 - fix for "configure --srcdir"
2009-07-14 19:15:18 +00:00
Charles Kerr
6fb3660280
(trunk third-party) automatically generate miniupnpcstrings.h
2009-07-14 17:06:59 +00:00
Mitchell Livingston
2336afb975
remove miniupnpstrings.h for real this time
2009-07-14 00:14:32 +00:00
Mitchell Livingston
1df06d12a1
finish #2273 and probably break non-Mac builds in the process
2009-07-14 00:13:10 +00:00
Charles Kerr
031579b5f3
(trunk third-party) #2273 : update to latest libnatpmp and miniupnpc libraries
2009-07-13 16:00:21 +00:00
Charles Kerr
f8ecd3ad7a
(trunk dht) revert to DHT 0.6... 0.7 seems to still have some bugs that need to be shaken out
2009-07-06 12:55:24 +00:00
Charles Kerr
6aced6393f
(trunk third-party) update to dht 0.7
2009-07-02 21:54:14 +00:00
Charles Kerr
09b094e96e
(trunk) add macosx-libevent-event-config.h to EXTRA_DIST to make sure it's bundled in the tarball
2009-06-27 13:20:25 +00:00
Charles Kerr
993bb0535d
(trunk third-party) update miniupnpc and libnatpmp to the 2009-06-05 snapshots. (mostly minor win32 build fixes)
2009-06-23 05:17:50 +00:00
Charles Kerr
39330501e4
(trunk) #2222 : Make DHT support a compile-time option, enabled by default
2009-06-21 08:57:26 +00:00
Charles Kerr
c6367e9194
(trunk) #2185 : Make uninstall deletes system libevent files.
2009-06-09 21:28:54 +00:00
Charles Kerr
57c66d48ee
(trunk dht) add missing #include to fix FreeBSD 7.2
2009-06-05 14:06:52 +00:00
Charles Kerr
0a92d9e078
(trunk) try to get the new libevent scheme to play nice with "make dist"
2009-06-04 22:47:22 +00:00
Charles Kerr
2ccee6c2d3
(trunk) if libevent exists on the system, use it. otherwise, use our own copy.
2009-06-03 16:31:43 +00:00
Charles Kerr
8e6eee683f
(trunk) on non-mac platforms, try not building our own copy of libevent 1.4.x
2009-06-03 15:47:08 +00:00
Charles Kerr
9238fb0299
(trunk) #2131 : clean up benc read/write API
2009-06-02 01:48:48 +00:00
Charles Kerr
6044947ab0
(trunk) #7 : update to upstream dht-0.6
2009-05-22 16:45:41 +00:00
Charles Kerr
66da41e517
(trunk) dht seems to be crashing in bcmp() on the mac, so I suspect the homegrown implementation of memmem() is buggy... test this out by replacing memmem()'s implementation
2009-05-22 05:35:51 +00:00
Charles Kerr
7703e803b7
(trunk dht) sync with upstream code @ http://www.pps.jussieu.fr/~jch/software/repos/dht/
2009-05-21 16:39:54 +00:00
Charles Kerr
a5d9578477
(trunk) #7 DHT: apply jch's dht-warnings.patch
2009-05-20 13:42:11 +00:00
Charles Kerr
c387a22270
(trunk) #7 : jch's dht-memmem.patch
2009-05-20 04:13:19 +00:00
Charles Kerr
1e60abd6f0
(trunk) update to dht 0.5
2009-05-19 23:20:35 +00:00
Charles Kerr
a907f5c8e4
no makelog
2009-05-19 18:38:41 +00:00
Charles Kerr
3d7cc36424
(trunk) #7 : DHT support. This is a work in progress... no gui/rpc support yet
2009-05-19 18:38:26 +00:00
Charles Kerr
be63452cee
(trunk) upgrade miniupnp to miniupnpc-1.3, which has small portability fixes
2009-04-21 01:12:55 +00:00
Charles Kerr
f32e4238f4
(trunk libnatpmp) update to new version
2009-03-11 13:04:03 +00:00
Charles Kerr
8b722071fd
(trunk daemon) another experiment: implement the watchdir with opendir() and readdir(), since those are available on every system we're on, even embedded ones...
2009-02-28 15:27:39 +00:00
Charles Kerr
09161120eb
better configure-time checking for inotify & kqueue.
2009-02-28 14:43:37 +00:00
Charles Kerr
b5327c36ee
thanks wereHamster
2009-02-27 21:56:21 +00:00
Charles Kerr
5876ad8acc
(trunk daemon) experimental commit for part of #1483 : adding a WatchDir to transmission-daemon. I don't know if this will work out because of (1) any possible C/C++ issues, and (2) maybe some embedded systems don't have inotify and/or kqueue?
2009-02-27 21:49:31 +00:00
Mitchell Livingston
1dd0539973
add miniupnpcstrings.h to makefile
2009-02-07 01:40:30 +00:00
Charles Kerr
f3153648a2
(trunk libT) add file I should've added in previous commit
2009-02-07 00:36:50 +00:00
Charles Kerr
ae985a5abb
(trunk libT) update to the newest versions of miniupnp and libnatpmp
2009-02-07 00:11:58 +00:00
Charles Kerr
ea35984de4
get "make distcheck" working again after the miniupnp update
2008-10-30 20:01:29 +00:00
Charles Kerr
ab32a5c6e1
update to miniupnpc-1.2 and libnatpmp-20081009
2008-10-27 16:08:28 +00:00
Charles Kerr
ed3474c98f
updated to miniupnpc-20081002
2008-10-04 15:10:24 +00:00
Charles Kerr
585a9783ad
add support for compressing the content served by the rpc server -- rpc responses and clutch html/css/js files
2008-10-01 15:53:56 +00:00
Charles Kerr
bd5a2ae6b8
(libT) experimental code to serve clutch/rpc via evhttpd
2008-09-25 05:03:39 +00:00
Mukund Sivaraman
8384183bae
(win32) Conditionally build shttpd win32 code
2008-09-05 14:32:24 +00:00
Mukund Sivaraman
6d24dcb5ee
(win32) Don't use dllimport/dllexport (part 3)
2008-09-05 14:32:20 +00:00
Mukund Sivaraman
80d0bfba19
(win32) Don't build minissdpc.c on win32
2008-09-05 14:32:17 +00:00
Mukund Sivaraman
b4f894766a
(win32) Add includes for natpmp
2008-09-05 14:32:13 +00:00
Mukund Sivaraman
6feb76ba37
(win32) Don't use dllimport/dllexport (part 2)
2008-09-05 14:32:09 +00:00
Mukund Sivaraman
b8b46aeb12
(win32) Fix case of included header filenames
2008-09-05 14:32:03 +00:00
Charles Kerr
56736ca883
#1217 : libt/shttpd: "shttpd crash in decide_what_to_do()"
2008-08-26 15:22:00 +00:00
Charles Kerr
dcaf1f16ef
(shttpd) replace VERSION with SHTTPD_VERSION.
...
(shttpd) make shttpd_edit_passwords() a public function for now to fix the build.
2008-08-25 20:32:26 +00:00
Charles Kerr
39541d4c5f
upgrade to shttpd 1.42
2008-08-25 19:32:06 +00:00
Charles Kerr
7e4fb99f8c
* add DISABLE_GETTEXT preprocessor directive to turn off i18n in libtransmission for embedded devices.
...
* remove `wchar.h' #include from shttpd that broke the compile on embedded devices.
2008-08-21 21:04:57 +00:00
Charles Kerr
3d2ccc0002
possible fix for softwareelves' error
2008-07-23 19:29:21 +00:00
Charles Kerr
f8efe41e44
(shttpd) remove the cgi source files that we don't use
2008-07-22 18:17:20 +00:00
Charles Kerr
be78f38309
no point in compiling io_cgi.c since we're not using it.
2008-07-22 17:39:07 +00:00
Charles Kerr
bb6b471e8b
fix some minor errors reported by clang's "scan-build" tool
2008-07-18 18:14:29 +00:00
Charles Kerr
1489451d7e
(rpc) raise shttpd's buffer size from 16384 bytes to 65536
2008-07-17 14:58:41 +00:00
Charles Kerr
2281c39c1f
(third-party) upgrade shttpd from 1.39 to the latest, 1.41
2008-07-16 23:55:49 +00:00
Charles Kerr
2705db2b6a
remove the ENABLE_STRNATPMPERR ifdefs to see if that'll make hudson happy
2008-07-15 17:09:10 +00:00
Charles Kerr
5739207640
better nat-pmp error logging. (this will very briefly break the mac build)
2008-07-15 03:26:53 +00:00
Charles Kerr
99f1bdee28
add libnatpmp's new header "declspec.h" to svn
2008-07-09 02:56:40 +00:00
Charles Kerr
0dba07197c
Update to the 20080707 version of libnatpmp and the 20080703 version of miniupnpc
2008-07-09 02:51:29 +00:00
Charles Kerr
5e277ab451
possible fix to the getgateway.c build error -- let's see what hudson thinks of it
2008-06-30 19:57:57 +00:00