Commit Graph

12181 Commits

Author SHA1 Message Date
Jordan Lee 70289d9629 (libT) #5259 'Minor memory leaks in tr_torrentDeleteLocalData()': cleaner patch suggested by cfpp2p 2013-02-01 19:21:38 +00:00
Jordan Lee 3819360ca0 (libT) when unable to run locale-specific json tests, give a hint in the terminal about how to remedy that 2013-02-01 06:11:41 +00:00
Jordan Lee 1a99b9c168 change the test harness' session initialization s.t. we can configure it for per-test needs. Add tests for moving completed torrents when downloadDir is a subdirectory of incompleteDir. (Hi, KyleK) 2013-02-01 05:57:47 +00:00
Jordan Lee ef9d4eee33 (libT) ensure that tr_torrentVerify()'s completion callback gets invoked even if it's removed from the verify queue before it gets a chance to run. 2013-02-01 00:21:30 +00:00
Jordan Lee d84836a81c fix r13913 oops: I didn't mean to check in the fail.sh change that only called rename-test 2013-01-31 22:00:32 +00:00
Jordan Lee 69f3e31230 (libT) change the API signature for tr_torrentVerify() s.t. client code can be notified when the verify is finished 2013-01-31 21:58:25 +00:00
Jordan Lee 9c550b5a78 (libT) fix dangling pointer in tor->currentDir when reloading a .resume file from disk 2013-01-31 21:57:08 +00:00
Jordan Lee 1eb2933fc5 (libT) maybe fix removed-file-found issue reported by Lacrocivious 2013-01-31 19:07:34 +00:00
Jordan Lee 500aa4569f (libT) fix a filesystem sync issue in rename-test, reported by Lacrocivious 2013-01-31 18:20:37 +00:00
Jordan Lee 47d2a1ee8f (libT) add assertions to check that block-writing functions are only invoked in the libtransmission thread 2013-01-31 17:39:06 +00:00
Jordan Lee 65859df967 fix oops 2013-01-31 05:11:32 +00:00
Jordan Lee 3eb533336d fix a race condition error in move-test 2013-01-31 05:10:08 +00:00
Jordan Lee ae1ec6aab4 fix a race condition error in rename-test 2013-01-31 05:09:19 +00:00
Jordan Lee 4aa4012a73 fix race condition triggered in the unit tests by requiring a libtransmission thread lock in torrentRemove() 2013-01-31 05:05:44 +00:00
Jordan Lee 0b9f651a93 (libT) add to rename-tests 2013-01-30 21:26:04 +00:00
Jordan Lee 8a33a1b315 (libT) increment the announced downloadCount only when the piece becomes complete. 2013-01-30 20:06:12 +00:00
Jordan Lee 6d8080bcf4 (libT) copyediting: fix whitespace 2013-01-30 20:00:43 +00:00
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 a4bbceb483 fix r13896 oops 2013-01-30 00:28:53 +00:00
Jordan Lee 90619423ff silence unnecessary warning 2013-01-30 00:23:32 +00:00
Jordan Lee 20fe66bccf more experimentation with the shortTransferString 2013-01-30 00:22:52 +00:00
Jordan Lee 4a059b79b8 when sorting by activity and both torrents' upload and download speed is zero, use how many peers we're ready to upload to / download from as a secondary key. 2013-01-30 00:20:51 +00:00
Jordan Lee fdcba2a7fa only show ratios to one decimal place 2013-01-30 00:16:20 +00:00
Jordan Lee a17d4d5e3f (qt) more futzing with file-tree 2013-01-28 18:20:20 +00:00
Jordan Lee ea6228d81b (qt) #5252: disable file editing in the options dialog. remove keyboard shortcuts that conflicted with renaming files in file-tree.c. fix refresh issue in the file-tree when renaming files. 2013-01-28 07:01:58 +00:00
Jordan Lee 04e1463b00 (qt) remove unused Torrent field 'torrentFile' 2013-01-28 02:12:07 +00:00
Jordan Lee 1d3bf93618 synchronize the Qt and GTK+ client's statusbars, including the new freespace indicator. Make the up/down speed ordering consistent between statusbar and torrent list. 2013-01-27 23:05:47 +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 779049bf1b (qt) when changing the session's download dir, call session-get to update the freespace value 2013-01-27 21:02:04 +00:00
Jordan Lee 282ef8adfd use 'folder' instead of 'directory' in the freespace tooltips 2013-01-27 18:48:59 +00:00
Jordan Lee 52fcd9d4e7 (daemon) #5260 'conflicting documentation for -w argument': fixed. 2013-01-27 18:19:52 +00:00
Jordan Lee 3e7ef0c4dd copyediting: modify more files to the new indentation/whitespace formatting 2013-01-27 18:09:49 +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 729ef84e62 (web) #5214 'add free space indicator': added with patch by taem 2013-01-27 17:41:35 +00:00
Jordan Lee 895f86e0fb (qt) #4076 'free space indicator' -- added. 2013-01-27 17:19:51 +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
Mitchell Livingston a3eafbb742 Move the inspector Rename File context menu item to the bottom of the list. 2013-01-26 22:39:32 +00:00
Mitchell Livingston 27cb435996 more variables corresponding to properties in FileRenameSheetController 2013-01-26 20:11:49 +00:00
Mitchell Livingston 1185b618ff add variables corresponding to properties in FileRenameSheetController 2013-01-26 20:05:06 +00:00
Mitchell Livingston 50d212bf88 explicitly synthesize variables in FileRenameSheetController 2013-01-26 19:59:56 +00:00
Mitchell Livingston e14b1b0d03 remove another subscript usage 2013-01-26 19:55:26 +00:00
Mitchell Livingston 802d9d5892 remove another subscript usage 2013-01-26 19:52:08 +00:00
Mitchell Livingston 65b51cb4c7 remove two dictionary subscripts 2013-01-26 19:46:42 +00:00
Mitchell Livingston 26dba009db don't access NSArrays using subscripts, since that requires the modern runtime 2013-01-26 19:42:41 +00:00
Mitchell Livingston 94a329b38a update Mac code for logging changes in r13868 2013-01-26 19:17:58 +00:00
Jordan Lee 6123bb5359 (qt) copyediting: modify more files to the new indentation/whitespace formatting 2013-01-26 01:19:54 +00:00