Commit Graph

4145 Commits

Author SHA1 Message Date
Jordan Lee 1b5cc093e6 (libT) when announcing a magnet link for the first time, send 'left=0' 2013-01-30 19:59:55 +00:00
Jordan Lee 553bd58681 (libT) peer-mgr doesn't care about non-piece data being transferred, so don't notify it when it happens 2013-01-30 18:00:03 +00:00
Jordan Lee fdcba2a7fa only show ratios to one decimal place 2013-01-30 00:16:20 +00:00
Jordan Lee e85ece214e (libT) rename internal struct 'tr_torrent_peers' as 'tr_swarm' 2013-01-27 21:03:52 +00:00
Jordan Lee 722867ad62 (libT) tweaks to rename-test to give better line numbers on failure in Jenkins 2013-01-27 17:47:38 +00:00
Jordan Lee cee6cb5c61 (libT) better implementation of move-test 2013-01-27 06:20:39 +00:00
Jordan Lee d9940acf75 (libT) #5259 'Minor memory leak in tr_torrentDeleteLocalData()' -- fixed. 2013-01-27 06:19:33 +00:00
Jordan Lee 5f9e7f773b #5146 'seeding complete callback called twice': revert r13627 due to issues described in https://trac.transmissionbt.com/ticket/5146#comment:15 2013-01-27 06:02:52 +00:00
Jordan Lee 388da24dd0 (libT) add package-visible API hook for when a block is downloaded. Add unit test to confirm that when the last file finishes downloading, its .part suffix is removed and it's moved from the incomplete to complete dir 2013-01-26 23:08:51 +00:00
Jordan Lee f75027d5e9 make all the log functions/structs/enums use a single 'tr_log' namespace, such as tr_logGetQueue, tr_logAddInfo, tr_logIsLevelActive 2013-01-25 23:34:20 +00:00
Jordan Lee 797976b336 copyediting: modify more files to the new indentation/whitespace formatting 2013-01-25 06:01:45 +00:00
Jordan Lee ad3407567b (libT) copyediting: modify more files to the new indentation/whitespace formatting 2013-01-24 23:59:52 +00:00
Jordan Lee eb4b2d609a (libT) #5249 'error parsing json in some locales': fix the bug; the new locale unit tests in json-test pass now 2013-01-24 16:33:49 +00:00
Jordan Lee 887850a636 (libT) #5249 'error parsing json in some locales': add unit tests to test for this bug. 2013-01-24 16:04:09 +00:00
Jordan Lee 644c647799 (libT) unroll decode_hex_string() 2013-01-24 00:53:37 +00:00
Jordan Lee 06d9f20759 (libT) #1220 'change file and folder names': finish cleaning up the unit test for calling tr_torrentRenamePath() on an incomplete torrent with .part files 2013-01-23 22:53:58 +00:00
Jordan Lee e34be5e573 (libT) rename-test tracers 2013-01-23 22:43:16 +00:00
Jordan Lee ee2e408288 (libT) rename-test tracers 2013-01-23 22:30:23 +00:00
Jordan Lee a75f9394a6 (libT) rename-test tracers 2013-01-23 22:20:37 +00:00
Jordan Lee beee17f9b2 (libT) more hacking on the rename + .part unit test 2013-01-23 22:10:40 +00:00
Jordan Lee 0daad8b7f6 (libT) fix red herring issue that tr_mkdirp() was setting errno even if the call succeeded. Add tests to confirm the fix. 2013-01-23 21:28:35 +00:00
Jordan Lee 5fb6ec36de continuation of previous commit to find out why Jenkins doesn't like the new rename unit tests 2013-01-23 20:59:20 +00:00
Jordan Lee cd4543fe4c add temporary verbosity to the rename-test to coax log info out of Jenkins 2013-01-23 20:51:55 +00:00
Jordan Lee ef2cb627f2 (libT) #1220 'change file and folder names': add a unit test for the r13837 bugfix of .part files + tr_torrentRenamePath() 2013-01-23 20:23:37 +00:00
Jordan Lee e2c1a360d4 (libT) replace errant snprintf() calls with tr_snprintf() calls 2013-01-23 04:28:37 +00:00
Mitchell Livingston 45c8174cc2 Use tr_torrentRenamePath() instead of the removed tr_torrentRename() 2013-01-23 03:44:47 +00:00
Jordan Lee 3f4c9e9d2f (libT) #1220 'change file and folder names': handle .part file suffixs 2013-01-22 05:58:31 +00:00
Jordan Lee e898374a48 (libT) #1220 'change file and folder names': add unit tests for renaming a root, then branch, then leaf in the torrent 2013-01-22 05:40:10 +00:00
Jordan Lee 77ecf6d08c (libT) #1220 'change file and folder names': add a test to confirm passing tor->info.name as the 'oldname' argument works 2013-01-22 05:06:38 +00:00
Jordan Lee 2e354dfb10 (libT) #1220 'change file and folder names': fold tr_torrentRename() into tr_torrentRenamePath(); it's not useful enough on its own to be a separate function 2013-01-22 04:57:45 +00:00
Mitchell Livingston aae38eb05f (libT) update the rename callback to include the previous torrent name 2013-01-22 00:43:50 +00:00
Jordan Lee 434bd6b287 (libT) #1220 'change top folder names' -- when the root file/folder is changed, update tr_info.name too. 2013-01-22 00:25:42 +00:00
Jordan Lee 0da726e639 (libT) #4632 'custom blocklist generates 2x # of rules': add a fix, which causes r13825's test to pass 2013-01-21 21:14:14 +00:00
Jordan Lee 5d9335201d (libT) #4632 'custom blocklist generates 2x # of rules': add unit test (currently failing) to test for this issue. 2013-01-21 21:11:00 +00:00
Jordan Lee 2d5fe73969 (libT) copyediting: rename the internal tr_blocklist class 'tr_blocklistFile' to distinguish the private per-file API from the public, global API in libtransmission.h 2013-01-21 17:48:36 +00:00
Jordan Lee 1ece2b3f98 (libT) copyediting: reformat blocklist.c to the new indentation style 2013-01-21 17:39:20 +00:00
Jordan Lee 1f817193ef (libT) update our jsonsl snapshot 2013-01-21 01:26:59 +00:00
Jordan Lee cc3d08da3d (libT) #5234 'typo causing RPC session-get error in nightlies': remove the typo'ed quark to avoid future confusion 2013-01-21 00:11:48 +00:00
Jordan Lee 473c20f612 (libT) #5234 'typo causing RPC session-get error in nightlies': add a fix, which causes r13814's test to pass 2013-01-21 00:03:52 +00:00
Jordan Lee 5ccf3fc7e2 (libT) #5234 'typo causing RPC session-get error in nightlies': add unit test (currently failing) to test for this issue. 2013-01-21 00:00:00 +00:00
Jordan Lee b42a7ebdc3 (qt) Qt client should have the option to play a sound when the download completes, as the Mac and GTK+ clients do -- implemented. 2013-01-20 23:57:09 +00:00
Jordan Lee ac28b6df6e (trunk) move sandboxed session creation/teardown into libtransmission-test.[ch] so that it can be reused as a fixture by future tests 2013-01-20 04:41:38 +00:00
Jordan Lee dd955b121e (trunk) #1220 'change top folder names' -- add file-renaming to the Qt client 2013-01-20 01:31:58 +00:00
Jordan Lee 10e4c297d6 (trunk) #1220 'change top folder names' -- tweak the API documentation in transmission.h 2013-01-19 08:50:57 +00:00
Jordan Lee 016f38f066 (trunk) #1220 'change top folder names' -- added support for this in libtransmission's C and RPC APIs. 2013-01-19 08:43:26 +00:00
Jordan Lee 818308376b (libT) #5102 'don't invalidate the OS' filesystem cache when closing files -- done. 2013-01-18 19:20:22 +00:00
Jordan Lee 7c6868b622 reduce the default peer counts: global goes from 240 to 200, per-torrent goes from 60 down to 50 2013-01-17 20:39:16 +00:00
Jordan Lee bcc130e804 in getReconnectIntervalSecs(), raise the interval between reconnection attempts if the peer was previously unreachable 2013-01-17 20:08:21 +00:00
Jordan Lee 447b558cdf (utils) #4137 'support user-defined piece sizes in transmission-create' -- done. Initial patch by lav. 2013-01-17 18:55:51 +00:00
Jordan Lee 4d627b79c2 (libT) tweak getMaxAtomCount() 2013-01-17 01:10:59 +00:00