Commit Graph

1319 Commits

Author SHA1 Message Date
Mike Gelfand
f1010159a6 Send dummy events each second to prevent excessive memory use (inspired by xnyhps)
I'm not that good in Mac programming it seems as I can't figure out why
doesn't the memory being allocated by frequent NSNewBitmapBackingStore
(system internal) calls being freed even if I wrap the code into
@autoreleasepool explicitly. Disabling animations does slow it down but
not stop. This commit is certainly a dirty fix but it seems to work in
my case and I hope it helps a few other people while we wait for a
proper solution.
2015-04-18 21:45:37 +00:00
Mitchell Livingston
0d49daf36d Yosemite: slight sseparation between pause/resume buttons in the toolbar 2014-10-18 16:41:31 +00:00
Jordan Lee
e40a7d5359 (trunk) replace the tr_metainfo_builder.isSingleFile and tr_info.isMultifile fields an 'isFolder' bool in both structs.
This makes the variable naming more uniform. It also clarifies the information we're really trying to convey -- previously, isSingleFile was false whenever the torrent held a directory tree, even if there was only a single file in the tree.

Sync the Mac OS X client's use to match the libtransmission variable names.
2014-06-08 22:16:01 +00:00
Mitchell Livingston
0755f81aa9 #5404 Coalesce multiple Speed Limit Auto Enabled/Disabled notifications 2014-01-10 18:20:51 +00:00
Mitchell Livingston
6be3af35b3 #5584 Share option in File menu and context menu 2014-01-10 17:50:05 +00:00
Mitchell Livingston
ac45921cb4 #5576 Share Button (to iMessage, email, etc) for torrent file 2014-01-09 16:23:54 +00:00
Mitchell Livingston
78662f6532 #5494 Filter should reset when bar is hidden 2013-09-21 16:24:40 +00:00
Mitchell Livingston
d1b406131b #5414 Download speed very slow until edited 2013-08-03 01:24:42 +00:00
Mitchell Livingston
6573789b66 r14044 Use OSAtomicIncrement32(&value) instead of OSAtomicAdd32(1, &value) 2013-03-07 04:27:31 +00:00
Mitchell Livingston
9bbf4b3899 #5319 potential race condition when counting torrents 2013-03-07 04:21:26 +00:00
Mitchell Livingston
0a5024adc9 combine the two rpc delete data methods 2013-03-04 04:18:21 +00:00
Mitchell Livingston
b5be6e86b6 stop when we find the torrent 2013-03-04 04:14:11 +00:00
Mitchell Livingston
7f03e04538 a tiny bit more safety by assigning the torrent directly, instead of getting the index 2013-03-04 04:12:54 +00:00
Mitchell Livingston
ac7b2ee6a7 cleanup and GCD-ing of the rpc methods 2013-03-04 04:01:38 +00:00
Mitchell Livingston
b15027b8ce #5241 Mac crash with VDKQueue 2013-02-08 13:31:38 +00:00
Mitchell Livingston
5a04552631 fix autoreleasing the file watcher queue 2013-02-08 13:18:41 +00:00
Mitchell Livingston
e79005e150 trivial changes 2013-02-08 13:02:16 +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
Mitchell Livingston
806fdb0314 When renaming a transfer or file, reload the proper tables. 2013-01-22 03:54:51 +00:00
Mitchell Livingston
694861217c add the rename option to the main window context menu 2013-01-22 00:50:28 +00:00
Mitchell Livingston
5a53ea421f use the new rename function for the torrent, instead of the per-file function; update the interface right away when renaming the torrent 2013-01-22 00:44:58 +00:00
Mitchell Livingston
9236571f1c #1220 Initial Mac support for changing file and folder names. Not fully complete. 2013-01-22 00:09:48 +00:00
Mitchell Livingston
bc574a559a #5223 Use VDKQueue for watching for torrent files 2013-01-19 05:03:00 +00:00
Mitchell Livingston
68d68d9420 add new quark files to the project file, and update the libtransmission initialization constants 2012-12-23 03:17:18 +00:00
Mitchell Livingston
1dc8c47059 mac build compiles with r13667 2012-12-14 23:28:49 +00:00
Jordan Lee
e96ed247fe refactor libtransmission's tr_benc class as tr_variant. 2012-12-14 04:34:42 +00:00
Mitchell Livingston
06fb61cbda #5106 Work around for crash when seeding completes and the transfer is auto-removed. 2012-11-24 03:34:45 +00:00
Mitchell Livingston
16c3540792 remove invalid break in r13611 2012-11-04 19:29:53 +00:00
Mitchell Livingston
1e34d5a78b #5121 Stopped torrents resume after sleep automatically. 2012-11-04 19:28:51 +00:00
Mitchell Livingston
6c8adbfc1d some cleanup to retains when removing torrents 2012-11-01 03:21:35 +00:00
Mitchell Livingston
4b5b4271eb revert r13603 2012-10-31 21:27:59 +00:00
Mitchell Livingston
13d5c76437 experimental fix for #5106 2012-10-30 00:44:20 +00:00
Mitchell Livingston
1e0f36fda0 #2794 Don't apply auto-grouping until torrent is demagnetized 2012-10-30 00:22:10 +00:00
Mitchell Livingston
79d0f5d792 don't update the badge count when a transfer finishes seeding and is removed at the same time. 2012-10-17 00:25:28 +00:00
Mitchell Livingston
493d2824b3 #5090 Include seeding-complete transfers in badged count on Dock icon 2012-10-15 02:12:44 +00:00
Mitchell Livingston
83d89cd33a Remove another debug logging message. 2012-10-14 17:46:42 +00:00
Mitchell Livingston
3fbc1efd2b comment out a debug log statement 2012-10-14 17:32:38 +00:00
Mitchell Livingston
4cce91e006 Refine the logic for determining the "partial/full file size" string. It's better, but not perfect, depending on how languages are localized for special cases. A partial size of zero will now always hide the unit. 2012-09-11 00:46:32 +00:00
Mitchell Livingston
d04bd9b8be when generating the size units for libtransmission, use an arbitrary size instead of 0 to avoid potential pluralization special cases in some localizations 2012-09-10 03:21:07 +00:00
Mitchell Livingston
76bc93b6a6 On Mountain Lion, pull the file/memory size units for libtransmission from the operating system using a byte count formatter, rather than using a localized string. 2012-09-10 03:09:56 +00:00
Mitchell Livingston
7dd5b57851 properly retain/release nstimers like any other objective-c object 2012-09-10 02:37:29 +00:00
Mitchell Livingston
4382b7c93a avoid creating the Bonjour Controller singleton unnecessarily 2012-09-10 02:01:07 +00:00
Mitchell Livingston
1f58ca17e5 re-commit change from r13488 2012-09-09 13:01:53 +00:00
Mitchell Livingston
e016d25414 revert the last commit because of styling changes snuck in from copy/paste 2012-09-09 12:58:53 +00:00
Mitchell Livingston
9699c550f8 #4874 Deleting multiple torrents from the WebUI fails 2012-09-09 12:42:10 +00:00
Mitchell Livingston
bb9c73bda4 Take an int instead of an NSInteger for the Bonjour port 2012-09-09 12:26:18 +00:00
Mitchell Livingston
3b066d3c97 use "Show" instead of "Reveal" in the "seeding complete" notification button 2012-08-30 00:18:18 +00:00
Mitchell Livingston
06d250a7a2 silence warnings about string literals 2012-08-13 00:56:52 +00:00
Mitchell Livingston
9c8395d109 silence several warnings related to printing ints in strings 2012-08-13 00:52:04 +00:00