Charles Kerr
b13d8d1dd6
save a copy of the torrent's metadata in tr_torrentInit(), not tr_torrentParse(). remove dead code from metainfo.c.
2007-12-22 18:00:47 +00:00
Charles Kerr
c946168b1e
(1) fix peer limits in fastresume (2) possible fastresume corruption (3) add `save' field to torrent ctor
2007-12-22 17:30:31 +00:00
Charles Kerr
3ecb9910e0
save per-torrent peer limits in the fastresume file
2007-12-22 16:11:15 +00:00
Charles Kerr
2764f9a140
fix indentation errors in r4278.
...
fix consistency errors between ctor and the new functions in r4278.
2007-12-22 04:11:17 +00:00
Mitchell Livingston
3449e2d15c
separate getting/setting # connections and # unchoked
2007-12-22 04:00:19 +00:00
Charles Kerr
7542573044
brush away the last remnants of tr_torrentInit()
2007-12-22 03:51:12 +00:00
Charles Kerr
9148c9211f
(gtk) tweak the display speed/size units again.
2007-12-22 03:01:14 +00:00
Charles Kerr
93f69d2b5c
(gtk) add options to set global & per-torrent peer connection limits
2007-12-22 00:06:38 +00:00
Charles Kerr
8c7434dded
fix a different r4267 bug, also reported by John_Clay
2007-12-21 22:38:01 +00:00
Charles Kerr
99d6e5deab
fix r4267 crash reported by John_Clay
2007-12-21 22:29:22 +00:00
Charles Kerr
69f1ee48c1
remove some stubbed code that should've been removed in the last checkin
2007-12-21 22:24:37 +00:00
Charles Kerr
287975caf5
the torrent ctor is here.
2007-12-21 22:18:40 +00:00
Charles Kerr
f1baca587b
add torrent-ctor so that xcode can be updated. it's not plugged in yet though.
2007-12-21 16:51:42 +00:00
Charles Kerr
5c4f841c7e
added tr_torrentSetPeerLimits(), tr_torrentGetPeerLimits(), tr_setGlobalPeerLimit(), tr_getGlobalPeerLimit()
2007-12-20 21:44:16 +00:00
Charles Kerr
cf30fac9cf
upgrade to miniupnp-20071213
2007-12-20 20:18:22 +00:00
Mitchell Livingston
911a6ce32e
remove unused variables
2007-12-20 01:15:13 +00:00
Charles Kerr
75d4a2b8c2
fix an obscure bug in tr_torrentStat() where (% verified + % unverified + % unavailable) could be > 1.0
2007-12-19 05:57:55 +00:00
Charles Kerr
e9ca72237f
if tr_torrentStat() is called again in the same second for a torrent, return the cached value.
2007-12-19 02:44:21 +00:00
Charles Kerr
d58d5210d0
fix tr_stat error: fields desiredSize and desiredAvailable could be too large.
2007-12-18 05:01:00 +00:00
Charles Kerr
371287136a
fix build error reported by berkut in the forums
2007-12-17 02:21:06 +00:00
Charles Kerr
36391e02c1
add support for TRANSMISSION_HOME environment variable so I can have multiple copies of Transmission running concurrently in different directories.
2007-12-15 22:22:30 +00:00
Charles Kerr
4ff5b472a8
raise the maximum connection limit a bit.
2007-12-15 16:36:43 +00:00
Charles Kerr
1cb314f0cc
try to make the natpmp error messages yet more helpful. thanks to m1b and Lacrocivious
2007-12-15 06:10:24 +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
20c5f2a77c
fix off-by-one introduced in r4153
2007-12-15 05:05:23 +00:00
Charles Kerr
10b6e8ff8f
lessons learned from 0.82:
...
* if we can't bind a socket to a peer, take that peer out of the retry pool.
* also, try to connect with more peers up-front.
2007-12-15 04:26:31 +00:00
Charles Kerr
4da5fc85bb
fix bad log message
2007-12-15 03:25:13 +00:00
Charles Kerr
f8f4e1fc32
more helpful error message
2007-12-15 03:17:50 +00:00
Charles Kerr
99e8b9a19d
two arguments were transposed.
2007-12-15 03:14:16 +00:00
Charles Kerr
6ded40d360
increase the number of tracker connections we allow during shutdown.
2007-12-13 23:43:50 +00:00
Charles Kerr
7582f4a929
(maybe) fix shutdown crash in "pulse" reported by pea_
2007-12-13 21:48:39 +00:00
Charles Kerr
de5c84a52c
allocate more sockets to the tracker during shutdown to help get all the `stopped' commands done
2007-12-13 21:08:05 +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
7f335e1bf0
follow Chinstrap's suggestion of waiting a small interval between sending nat commands as per the nat spec
2007-12-13 19:28:51 +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
39773104be
accept tiennou's file-checking tweak that clarifies the log messages
2007-12-13 17:28:13 +00:00
Charles Kerr
c4e6a04131
tweak the debug messages
2007-12-13 17:18:35 +00:00
Mitchell Livingston
1b6a8a9504
display the infinity symbol in stats for ratio when there is upload but no download
2007-12-13 04:31:38 +00:00
Charles Kerr
e1d10bba7e
add extra debugging messages for upnpDiscover()
2007-12-13 02:48:30 +00:00
Charles Kerr
c8c9012697
fix the 500ms remap reported by Chinstrap
2007-12-13 01:20:16 +00:00
Charles Kerr
c2e314743f
added more upnp debugging messages for Chinstrap_
2007-12-09 17:50:05 +00:00
Charles Kerr
7249aed5e4
fix r4109 oops: a debugging console message snuck into svn
2007-12-09 17:17:44 +00:00
Charles Kerr
ffe9e52e14
I think this one-line change may fix all the "Transmission 0.95 ate my data, corrupted my hard drive, and killed my cat!" complaints
2007-12-09 15:26:27 +00:00
Charles Kerr
33f284ead1
let the other config directories that we create also respect umask
2007-12-09 15:22:01 +00:00
Charles Kerr
67a86a2274
finish the `shared' update: bind & listen the incoming port.
...
better logging in network code.
2007-12-09 00:28:34 +00:00
Charles Kerr
b17d8c34f8
undo r4093 for bmw
2007-12-08 19:47:44 +00:00
Charles Kerr
008a403463
ensure that the `file' variable passed to tr_msg() is never NULL
2007-12-08 19:42:07 +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
d3d1263a84
use fizz' suggestion on from ticket #534 on how to make platform.c more portable wrt header include order
2007-12-07 19:25:54 +00:00
Charles Kerr
481a210e82
fix tracker connection error reported by Gimp_
2007-12-05 02:06:05 +00:00