Commit Graph

181 Commits

Author SHA1 Message Date
Charles Kerr 76891225b9 more i18n work. 2008-03-07 03:26:59 +00:00
Charles Kerr 84a8592d1d first cut at adding i18n hooks into libtransmission. 2008-03-04 02:02:25 +00:00
Charles Kerr 5f3efe434b better win32 thread support 2008-02-28 16:40:31 +00:00
Charles Kerr cfe068876e remove unnecessary #includes 2008-02-19 18:39:49 +00:00
Charles Kerr e20a5cf3df fix a possible crash on shutdown 2008-02-13 01:33:29 +00:00
Charles Kerr 17e76707f2 make the stats code a little more difficult to corrupt 2008-02-04 19:54:47 +00:00
Charles Kerr 0dd150844a make tr_handleStatus() return a const 2008-01-21 18:24:37 +00:00
Charles Kerr 1b7706e101 finish the trunk/1.0x libT merge: router death & portability 2008-01-21 02:11:57 +00:00
Charles Kerr de21d77af2 test code to test a "router death" theory in the nightlies 2008-01-20 03:21:51 +00:00
Charles Kerr 43a83f31bb change the default global connection limit to 200 in tr_init() 2008-01-20 01:50:51 +00:00
Mitchell Livingston ff833b37d6 fix compiling error with last commit 2008-01-15 22:40:58 +00:00
Charles Kerr a7ff9218ab grumble bikeshed grumble 2008-01-07 17:52:50 +00:00
Charles Kerr 30d00fbc53 cleanup 2008-01-07 06:19:34 +00:00
Charles Kerr ce6c33b7bf set copyright info to 2008 2008-01-01 17:20:20 +00:00
Charles Kerr e319a6ffe4 dead code removal 2007-12-26 20:45:08 +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 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 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 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 287975caf5 the torrent ctor is here. 2007-12-21 22:18:40 +00:00
Charles Kerr 5c4f841c7e added tr_torrentSetPeerLimits(), tr_torrentGetPeerLimits(), tr_setGlobalPeerLimit(), tr_getGlobalPeerLimit() 2007-12-20 21:44:16 +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 f9670dc7ac throw away all pending `scrape' requests on shutdown... we don't need them then, so they just slow us down 2007-11-29 02:31:21 +00:00
Charles Kerr 827dc86bb4 rewrite the tracker code. this should improve and/or fix a number of bugs, including "too many open files", "router death", "slow internet", and the mutex release crash. 2007-11-29 00:43:58 +00:00
Charles Kerr 033ee7ff58 fix crash-on-exit introduced by stats code 2007-11-26 20:44:19 +00:00
Charles Kerr 2185081fcb more stats 2007-11-26 20:05:46 +00:00
Charles Kerr 6df942138b fix portmapping crash. 2007-11-22 06:13:57 +00:00
Charles Kerr 91e672d428 some progress on the overall statistics, though probably not visible to end users yet 2007-11-21 20:03:53 +00:00
Charles Kerr 9f0ca608f6 fix r3892 oops 2007-11-19 21:24:53 +00:00
Charles Kerr b61dcfdbff add "this session" stats stubs for BentMyWookie 2007-11-19 20:07:21 +00:00
Charles Kerr f6371c99a3 add "time running" to tr_global_stats 2007-11-19 19:30:24 +00:00
Charles Kerr 4cfa1ca6b5 added tr_global_stats prototypes for BentMyWookie 2007-11-19 17:29:17 +00:00
Charles Kerr 0aee22aaff have tr_close() call tr_torrentClose() on all running torrents 2007-11-10 22:29:28 +00:00
Charles Kerr fd430fde90 undoing the r3773-r3774 experiment. 2007-11-09 20:07:52 +00:00
Charles Kerr 67b719c2de on Darwin, use NSCParameterAssert() instead of assert(). 2007-11-09 19:50:40 +00:00
Mitchell Livingston b382628933 have libtransmission be in charge of checking if nat traversal is disabled when quitting 2007-11-09 15:06:32 +00:00
Charles Kerr 42e70ad53e fix John_Clay's assertion bugreport 2007-11-09 01:25:34 +00:00
Charles Kerr 906c5d6f1f dead code removal: azId 2007-11-07 01:27:32 +00:00
Charles Kerr 5e2b2d34c3 ensure that tr_close() exits gracefully even when the trackers aren't responding. 2007-11-05 05:42:25 +00:00
Charles Kerr 747cd0b396 (gtk) if two torrents are selected -- one running, one paused -- both "pause" and "resume" buttons should be enabled. reported by glyphobet. 2007-10-26 23:29:19 +00:00
Charles Kerr e6fbcaeae6 Quick & dirty fix to crasher ticket #415. 2007-10-26 03:02:23 +00:00
Charles Kerr 814a56046d fix ul/dl speed wart reported by BentMyWookie 2007-10-21 15:47:26 +00:00
Charles Kerr 25fa56d294 * don't fire the "status changed" event if the status changes while a torrent's being started for the first time.
* cleaner setting of the DND flags in the gtk+ client.
* cpStatus cleanup.
2007-10-19 23:23:21 +00:00
Charles Kerr e698756c98 remove unused flags 2007-10-15 20:58:39 +00:00
Charles Kerr 89d511e9dd get fastresume working again (I think) 2007-10-13 04:19:38 +00:00
Charles Kerr 6179809146 break the build so svn users won't corrupt their fastresume files 2007-10-13 04:11:11 +00:00
Charles Kerr cbaf1b8faa commit more of tiennou's fastpeers patch 2007-10-10 16:39:12 +00:00
Charles Kerr c75f49bc26 * add a per-peer request queue to hold the next 10-15 seconds' worth of requests so that we always have more requests at hand when the current requests start to run low.
* increase the tracker `numwant' variable to grow our peer pool
* bugfixes in cancelling requests.
* make the debug log sexy and readable like uTorrent's ;)
2007-10-06 18:20:52 +00:00