1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-30 19:46:56 +00:00
Commit graph

109 commits

Author SHA1 Message Date
Charles Kerr
84a8592d1d first cut at adding i18n hooks into libtransmission. 2008-03-04 02:02:25 +00:00
Charles Kerr
deaeb24cb5 cleanup #includes for errno & strerror 2008-02-19 04:16:04 +00:00
Charles Kerr
ce6c33b7bf set copyright info to 2008 2008-01-01 17:20:20 +00:00
Charles Kerr
35adeec1d0 (gtk) fix startup port issue by hitting it with a damn big hammer 2007-12-24 07:02:40 +00:00
Charles Kerr
cf30fac9cf upgrade to miniupnp-20071213 2007-12-20 20:18:22 +00:00
Charles Kerr
fe0640caa7 add messages asking the user to check & make sure that port forwarding is enabled on their router 2007-12-15 05:28:16 +00:00
Charles Kerr
4da5fc85bb fix bad log message 2007-12-15 03:25:13 +00:00
Charles Kerr
bddcf5e10d fix crash on shutdown on natpmp routers reported by SoftwareElves 2007-12-13 20:19:52 +00:00
Charles Kerr
a51d790d81 take pea_'s suggestion of not sending out natpmp/upnp discover messages until port forwarding is enabled 2007-12-13 18:56:22 +00:00
Charles Kerr
e1d10bba7e add extra debugging messages for upnpDiscover() 2007-12-13 02:48:30 +00:00
Charles Kerr
c2e314743f added more upnp debugging messages for Chinstrap_ 2007-12-09 17:50:05 +00:00
Charles Kerr
73ee11f233 Use libnatpmp for port mapping. rewrite the upnp/natpmp manager.
NOTE: this will break the xpjets build until SoftwareElves or a volunteer patches the xcode project file to make a libnatpmp library just like was done for libminiupnp.
2007-12-08 19:34:15 +00:00
Charles Kerr
6242508fe2 minor tweaks. 2007-11-12 22:26:10 +00:00
Charles Kerr
4792788d24 move the gateway discovery from init() to start() so that tr_init() doesn't block. 2007-11-09 16:10:48 +00:00
Charles Kerr
dc6a7b9485 fix crash reported by hussam in #transmission 2007-11-07 00:42:19 +00:00
Charles Kerr
9df263326d use Thomas Bernard's miniupnp library instead of rolling our own. 2007-11-06 16:02:50 +00:00
Charles Kerr
14d8abb323 maybe fix portmapping 2007-11-05 03:56:54 +00:00
Charles Kerr
8c0e2434f5 fix OpenBSD build error. 2007-10-25 13:59:46 +00:00
Mitchell Livingston
76da1185ca merge encryption branch to trunk (xcode project is still out of date) 2007-09-20 16:32:01 +00:00
Charles Kerr
77e7bc4f84 make upnp's internal structures' naming schemes whallop-like 2007-08-21 20:38:34 +00:00
Charles Kerr
13c91c2d99 upnp.c needs platform.h if VERBOSE_LOG is defined (ticket #305, mtolman) 2007-08-19 02:07:29 +00:00
Charles Kerr
dbd016e503 sync joshe's changes with win32 2007-08-04 02:55:06 +00:00
Josh Elsasser
2ead51f79d Use __BEOS__ to test for beos instead of relying on the build to set SYS_BEOS.
Add missing headers and other miscellaneous fixes for beos.
2007-08-04 01:17:39 +00:00
Charles Kerr
1fd5f90a77 win32 cleanly compiles and starts now. (still doesn't atually *work*, but we're getting closer...) 2007-08-02 19:43:29 +00:00
Charles Kerr
ba3dc008fc get the socket/net code working on win32 too 2007-07-31 16:55:47 +00:00
Charles Kerr
0f85cc3297 continue whittling away at internal.h to reduce the global #include dependencies 2007-07-31 14:26:44 +00:00
Charles Kerr
d209052051 add portability wrapper for in_port_t... 2007-07-30 18:04:10 +00:00
Charles Kerr
e07d0220a9 this looks bug but it's not: just janitorial cleanup, moving #includes from headers into source file 2007-07-29 18:11:21 +00:00
Josh Elsasser
900aff7beb Include trcompat.h for asprintf()
Don't mix function and non function pointers without casting.
Replace a couple bzero()s with memset()s.
Remove a stray ;
Include a missing header.
2007-07-18 17:25:42 +00:00
Charles Kerr
ad6ae58e06 fix the bugs outlined by cluthi81 in ticket #255. 2007-07-15 17:36:56 +00:00
Josh Elsasser
1ecbe8da65 Change a couple functions to take an in_addr pointer instead of an in_addr.
Forward declare struct in_addr and include the relevant headers in the .c files where it's used.
2007-07-14 16:29:21 +00:00
Charles Kerr
790476ac23 clean up #includes a bit. 2007-07-12 17:51:45 +00:00
Charles Kerr
b79beeff66 clean up #includes a bit. 2007-07-09 20:10:42 +00:00
Charles Kerr
06e761d950 * fix error checking large files reported by Gimp_
* portability changes to pathname/filename building
* small gratuitous changes
2007-06-18 19:39:52 +00:00
Josh Elsasser
cf6994f559 Fix upnp verbose logging to show outgoing http requests. 2007-06-10 23:12:43 +00:00
Josh Elsasser
1315161ae4 Add some code for verbose UPnP logging which can be enabled at compile-time. 2007-06-10 22:26:59 +00:00
Josh Elsasser
de7287a829 Add a missing quote and fix UPnP regressions. 2007-06-10 22:01:46 +00:00
Josh Elsasser
f9613c4dbc Quick hack to get some PPP UPnP devices working. 2007-04-20 01:27:58 +00:00
Josh Elsasser
312fe89d7b Add some debugging code that's handy for parsing upnp root files. 2007-04-20 00:39:52 +00:00
Josh Elsasser
57d06d55e8 Don't try port mapping if binding the port fails. 2007-04-15 07:36:24 +00:00
Josh Elsasser
eccba76d2b Fix UPnP for vendors which specify relative paths and no urlbase. 2007-04-09 23:06:28 +00:00
Josh Elsasser
09c87aad84 Merge PEX branch, I hope this works. 2007-03-23 08:28:01 +00:00
Josh Elsasser
c4ad02aaf3 Remove natpmp and upnp locks and rely on the shared lock. 2007-02-06 05:37:48 +00:00
Josh Elsasser
1a55f5272d Remove misleading error message. 2007-01-26 01:14:15 +00:00
Eric Petit
40d8abb68f More simplifications 2007-01-21 19:42:11 +00:00
Eric Petit
14aa4e5ab0 Officially give up on making libT reentrant, and simplify our code instead 2007-01-21 07:16:18 +00:00
Eric Petit
e5e6a8b5df Merge io branch into trunk 2007-01-14 12:00:21 +00:00
Josh Elsasser
1cdf0839c1 Silence gcc warning. 2007-01-10 23:38:33 +00:00
Josh Elsasser
6f39467deb Handle urlbase properly in UPnP root file. 2006-12-27 05:16:12 +00:00
Josh Elsasser
82ead7c85b Whoops, read UPnP root urlbase correctly. 2006-12-27 03:45:51 +00:00
Josh Elsasser
a5c14049ef Fix a spurious compiler warning. 2006-12-11 19:42:08 +00:00
Josh Elsasser
025f466489 I guess I don't know how xml namespaces work. 2006-09-28 03:33:17 +00:00
Josh Elsasser
bc366f8de1 How about we actually put an <?xml?> tag in the xml we send? 2006-09-28 02:33:02 +00:00
Josh Elsasser
6fd43ab22b More miscellaneous UPnP fixes. 2006-09-28 02:27:42 +00:00
Josh Elsasser
ab661c6dc9 Minor UPnP compatibility fixes. 2006-09-28 01:40:51 +00:00
Josh Elsasser
a1983664f2 Don't verify part of the UPnP root descript that apparently isn't standard. 2006-09-28 00:17:56 +00:00
Josh Elsasser
7bb623eb43 Add more UPnP debugging messages. 2006-09-27 23:23:22 +00:00
Josh Elsasser
5b58c7aec0 Properly exit the upnp device pulse when a loop is detected. 2006-09-26 18:43:02 +00:00
Josh Elsasser
0257761670 Merge nat-traversal branch to trunk. 2006-09-25 18:37:45 +00:00