Commit Graph

2392 Commits

Author SHA1 Message Date
Charles Kerr b52ae72009 (trunk libT) prevent stupid double-close error introduced a few minutes ago :/ 2009-04-26 21:00:58 +00:00
Charles Kerr 698aa192aa (trunk libT) convert tr_open_file_for_scanning() and tr_close_file() to use file descriptors instead of file pointers so that we don't have to mix and match between them 2009-04-26 20:44:18 +00:00
Charles Kerr 75520acd38 (trunk libT) tweak tr_open_file_for_scanning() on OS X for sequential, non-cached reading suitable for verify() and tr_fileLoad() 2009-04-26 19:50:31 +00:00
Charles Kerr a84a1720a7 (trunk libT) experimental commit for wereHamster 2009-04-26 16:14:47 +00:00
Charles Kerr 13a0a0556c (trunk libT) make tr_loadFile() use tr_open_file_for_scanning() 2009-04-26 07:59:36 +00:00
Charles Kerr 879f287c9a (trunk libT) remove debugging message that got committed by accident :/ 2009-04-26 00:52:48 +00:00
Charles Kerr d99438bd1c (trunk libT) need feedback from Mac users on this change. On Linux, it gets rid of the inactive-memory-grows-during-torrent-verification behavior that's often reported as a bug. 2009-04-26 00:51:51 +00:00
Charles Kerr 114e6b3626 undo r8288 2009-04-25 19:22:27 +00:00
Charles Kerr 94c1b90fe1 (trunk libT) small bandwidth patch from wereHamster 2009-04-25 19:04:48 +00:00
Charles Kerr 7f60d9db17 (trunk gtk) #1473: Properties dialog should let you edit/view multiple torrents at once 2009-04-24 01:37:04 +00:00
Charles Kerr 577edddaea (trunk libT) #1993: Check if UPNP port is still open. Patch from KyleK 2009-04-22 16:00:45 +00:00
Charles Kerr 098658e3ad (trunk libT) tweak the bencode comments a bit 2009-04-21 16:52:28 +00:00
Charles Kerr fb587a5b30 (trunk libT) make sure that outbound protocol messages don't get blocked by bandwidth limits 2009-04-21 16:18:51 +00:00
Charles Kerr e3994f90df (trunk) #1997: rpc spec cleanup 2009-04-19 17:02:27 +00:00
Charles Kerr 3c97a10a3e (trunk libT) add an assertion to tr_torrentStop() 2009-04-19 16:21:27 +00:00
Charles Kerr 03fa0b3e7d (trunk) experimental support for tr_torrentSetPriority() 2009-04-18 23:17:30 +00:00
Charles Kerr e2b7b05e55 (trunk) remove obscure macro 2009-04-17 17:34:21 +00:00
Charles Kerr 452fd21d15 (trunk libT) #1996: Regression: Crash on shutdown when IPv6 is unavailable 2009-04-17 16:49:56 +00:00
Charles Kerr 8387e3abcc (trunk libT) minor benc cleanups 2009-04-16 21:01:00 +00:00
Charles Kerr 54e2e8ca2f (trunk libT) avoid unnecessary malloc()s & free()s in tr_utf8clean() 2009-04-16 21:00:48 +00:00
Charles Kerr cdd779bb2a (trunk libT) fix long-standing wart of a few public API calls returning strdup'ed char*, rather than a const char* like all the others 2009-04-16 19:14:37 +00:00
Charles Kerr bee21fb545 (trunk libT) #1992: try to cleanly destroy the "verify local data" thread on shutdown 2009-04-16 13:10:25 +00:00
Erick Turnquist 9d9e03fdf9 (trunk libT) ? I'm guessing an error in wereHamsters git tree, which I branched, caused this. 2009-04-15 21:10:50 +00:00
Erick Turnquist 2719372bc6 (trunk) #1497 Options to listen on specific network sockets 2009-04-15 21:05:58 +00:00
Charles Kerr 03a7251054 (trunk) make it possible to #include "version.h" without having to add -I${TOP}/libtransmission/ to your CFLAGS 2009-04-13 19:04:21 +00:00
Charles Kerr 221b6903ee (trunk rpc) bump rpc-version to "5" to denote the new features are present since 1.5x 2009-04-13 15:55:06 +00:00
Charles Kerr cf552651f7 (trunk libT) in tr_torrentFiles(), avoid some expensive calculations if the torrent is a seed. 2009-04-12 17:31:17 +00:00
Charles Kerr a2b53f5cbd (trunk libT) more speed tweaks from valgrind 2009-04-12 14:52:17 +00:00
Charles Kerr b3813000e9 (trunk libT) add more tests to verify r8214 2009-04-11 15:48:58 +00:00
Charles Kerr 35564b76a4 (trunk libT) startup uses less cpu now on big torrents. another cachegrind discovery 2009-04-11 06:58:14 +00:00
Charles Kerr f4dde1eb67 (trunk libT) omit some unnecessary tests on the bitfield checks. these seem small, but bitfields are always the top CPU abuser when I profile... 2009-04-11 03:24:36 +00:00
Charles Kerr f00c152315 (trunk libT) better filtering of maliciously-crafted URLs when serving web interface files 2009-04-10 15:09:31 +00:00
Charles Kerr 2b8f8166bd (trunk libT) possible IO speedup on OS X based on feedback from ticket #1967 2009-04-10 14:26:01 +00:00
Charles Kerr 2877eddd58 (trunk libT) experimental commit to reduce IO lag during fast downloads 2009-04-10 00:58:26 +00:00
Charles Kerr 81766a8dcb (trunk libT) another possible fix for #1894: Crash when download finishes and seed ratio is already met 2009-04-09 14:10:31 +00:00
Charles Kerr 1ab6ce13eb more benc code simplification 2009-04-09 00:26:53 +00:00
Charles Kerr ce92e45936 (trunk libT) make libtransmission/makemeta.h C++-safe 2009-04-08 20:57:47 +00:00
Charles Kerr d1c6956598 (trunk) tr_metaInfoBuilderCreate() doesn't need a tr_session* handle anymore 2009-04-08 18:47:48 +00:00
Charles Kerr 8c372572a2 (trunk libT) faster serialization from tr_benc structs into json and benc formats 2009-04-08 17:25:17 +00:00
Charles Kerr 640c9a25dd (trunk libT) update the blocklist URL to "http://update.transmissionbt.com/level1" 2009-04-07 20:38:15 +00:00
Charles Kerr 87e4c99fbb (trunk libT) #1976: build problem with r8173: "erreur: ‘POSIX_FADV_SEQUENTIAL’ undeclared" 2009-04-07 20:25:32 +00:00
Charles Kerr 30bb6b3ecf (trunk libT) yet another fix found by RolCol 2009-04-07 04:23:04 +00:00
Charles Kerr 0746a8eafa (trunk libT) posix_fadvise() tweak to the new verify code. 2009-04-06 23:51:55 +00:00
Charles Kerr f4c0b8c3c2 (trunk libT) fix typo 2009-04-06 20:33:50 +00:00
Charles Kerr 0c6d70040a remove double-extern-"C" wrapping 2009-04-06 17:54:11 +00:00
Charles Kerr 0727849c7f (trunk rpc) add a method to make the daemon test & see if the incoming peer port is open 2009-04-06 16:36:00 +00:00
Charles Kerr 76f7e59a8c (trunk libT) tr_getDefaultDownloadDir(): always honor $XDG_CONFIG_HOME/user-dirs.dirs if it exists. 2009-04-06 16:10:37 +00:00
Charles Kerr 62395da3be (trunk libT) faster code for verifying entire torrents. Timing tests @ http://transmission.pastebin.com/m4e1d6ee 2009-04-06 04:02:51 +00:00
Charles Kerr 3a28dd02e5 (trunk libT) silence a spurious warning in the new bencode code 2009-04-06 01:32:55 +00:00
Charles Kerr 6373802ca8 better bool, real handling in (1) the gtk prefs interface, (2) the dictionary merge code, (2) the json parser 2009-04-05 23:46:53 +00:00