Commit Graph

1110 Commits

Author SHA1 Message Date
Charles Kerr 970211acf0 roll back r4356 2007-12-27 22:38:53 +00:00
Charles Kerr aacb21fdc4 silence a debug message gone wild 2007-12-27 22:33:24 +00:00
Charles Kerr f88eb7d771 experimental code that should make tracker interaction (especially shutdown) much faster. 2007-12-27 21:48:41 +00:00
Charles Kerr e319a6ffe4 dead code removal 2007-12-26 20:45:08 +00:00
Charles Kerr 71efb5c74b add per-priority-level endgame mode 2007-12-26 07:25:50 +00:00
Charles Kerr 1f3084179e remove debugging messages that aren't needed anymore. 2007-12-26 07:19:05 +00:00
Charles Kerr e870440025 add a per-block request TTL of 120 seconds 2007-12-25 17:22:51 +00:00
Charles Kerr 819b83d90d fix another file priority bug. 2007-12-25 06:37:21 +00:00
Charles Kerr f8bc11e094 fix a couple of related file priority bugs. 2007-12-25 05:42:33 +00:00
Charles Kerr 473907d891 a little housekeeping: move tr_torrent stuff into its own header 2007-12-25 05:37:32 +00:00
Charles Kerr 16e273ed05 fix torrent parsing bug reported by m1b, SoftwareElves, and BentMyWookie 2007-12-25 01:23:07 +00:00
Charles Kerr 6db02c401b add message queueing flag to tr_initFull() too 2007-12-24 16:12:23 +00:00
Charles Kerr bc84156d4f add a messageLevel argument to tr_initFull() 2007-12-24 16:02:36 +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 a33f68a344 fix Gimp_'s problem 2007-12-24 05:17:12 +00:00
Charles Kerr 401cfbdb6b replace the per-torrent PEX setting with a global one, as per discussion with SoftwareElves and BentMyWookie 2007-12-24 05:03:40 +00:00
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