Mike Gelfand
dc60d25608
Attempt to remove OSX.KeRanger.A for unlucky users...
2016-03-06 19:45:41 +00:00
Mike Gelfand
375571c9b4
#6078 : Show main window and scroll to torrent on notification click
2016-03-03 17:57:08 +00:00
Mike Gelfand
8cde6de555
#6083 : Remove what looks like unintended changes (added in r14343)
...
Surprisingly, this change made notification center preserve seeding complete
notifications upon recent notifications removal by clicking the (x) button.
2016-03-03 13:38:12 +00:00
Mike Gelfand
2ca7ac7473
Get rid of some more deprecation warnings (OS X)
2016-01-08 10:05:19 +00:00
Mike Gelfand
147ae097f4
#6042 : Remove dead code now that we build for OS X 10.7+ (patch by mattrajca)
...
In addition to the patch,
* remove unused global actions menu (popover is used instead)
* remove *Lion class macros, use NSPopover and NSDataDetector directly
2016-01-06 11:05:37 +00:00
Mike Gelfand
008730d02c
Revert r14501
2015-12-24 20:52:40 +00:00
Mike Gelfand
f89fab72f9
Remove unused session tag
2015-10-18 18:39:14 +00:00
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
Mitchell Livingston
c8ce481f38
add creation date and client information to the quick look preview
2012-08-12 13:55:06 +00:00
Mitchell Livingston
d4c38b79fa
#5005 Torrent file deleted twice when added via url
2012-08-05 03:48:13 +00:00
Mitchell Livingston
678a65d9e3
Set each notification's subtitle as the informative text instead of the subtitle, so that it wraps to a second line.
2012-08-05 03:10:56 +00:00
Mitchell Livingston
3479946084
#4963 Support Notification Center on 10.8
2012-07-25 12:49:11 +00:00
Mitchell Livingston
8a647287ae
#2353 Add an option to the inspector to remove transfers from the list when seeding completes
2012-07-07 01:47:12 +00:00
Mitchell Livingston
d1a47ce520
explicit return type for a NSComparator
2012-06-22 11:42:50 +00:00
Mitchell Livingston
b830e8cba2
#4749 When accessing images using imageNamed:, don't include the .png. This fixes the app not using the @2x images in HiDPI mode.
2012-06-10 02:35:58 +00:00
Mitchell Livingston
c1f2085715
session_handle does not need to be a global variable in the prefs controller
2012-05-29 01:03:21 +00:00
Mitchell Livingston
84a7f149a6
#4922 On Lion, use window restoration on the preferences window
2012-05-28 17:26:15 +00:00
Mitchell Livingston
8e4eea032b
fix compiling in 32-bit mode
2012-05-28 14:34:32 +00:00
Mitchell Livingston
7466139067
#4921 On Lion, use window restoration on the torrent creation window
2012-05-28 14:28:50 +00:00
Mitchell Livingston
bcde8ebef6
#4920 On Lion, use window restoration on the message log and stats window
2012-05-27 22:31:58 +00:00
Mitchell Livingston
429438d021
remove unused code
2012-05-23 00:54:58 +00:00
Mitchell Livingston
9756b5dcf1
#4912 Filter and check all/uncheck all in Add Transfer window
2012-05-20 00:19:55 +00:00
Mitchell Livingston
4332e45f23
remove an NSLog used for debugging
2012-04-28 23:56:53 +00:00
Mitchell Livingston
fb4f10cf38
Don't use the screen size when there is no screen.
2012-04-28 23:44:38 +00:00
Mitchell Livingston
496290d263
#4839 Use configuration directory retrieved from libtransmission
2012-03-18 14:33:50 +00:00
Mitchell Livingston
87b6288c73
more cleanup
2012-03-13 03:49:30 +00:00
Mitchell Livingston
b6c2134338
more changes to make future porting to ARC easier
2012-03-13 03:39:56 +00:00
Mitchell Livingston
4252d0ca02
re-add non-ARC-specific changes from r13248-50, mainly to make re-adding ARC support easier in the future
2012-03-13 03:20:09 +00:00
Mitchell Livingston
2406572104
reverse r13248-r13250, since ARC doesn't support 32-bit.
2012-03-13 02:52:11 +00:00
Mitchell Livingston
11f57ccb18
#4822 Enable Automatic Reference Counting
2012-03-10 03:38:58 +00:00
Mitchell Livingston
bc6d6fb54b
#4788 "export TRANSMISSION_HOME=" broken in Mac client
2012-02-29 02:45:42 +00:00
Mitchell Livingston
34d9663139
replace NSAutoreleasePool objects with @autoreleasepool blocks
2012-02-11 05:13:46 +00:00
Mitchell Livingston
480700e835
remove redundant code in Torrent's canChangeDownloadCheckForFile:, and enumerate of the files in canChangeDownloadCheckForFiles: concurrently.
2012-01-31 04:22:51 +00:00
Mitchell Livingston
f7cab515f4
Sort the Sort menu items on launch, since the main menu is now localized through a strings file.
2012-01-30 00:14:43 +00:00
Mitchell Livingston
d37b29264d
use NSSearchPathForDirectoriesInDomains to retrieve the Application Support directory for config files, instead of libtransmission's hardcoded path
2012-01-22 17:57:55 +00:00
Mitchell Livingston
4a64ae9fa2
use NSFileManager to read/write the torrent history in the Application Support directory, instead of a hard-coded path
2012-01-21 23:28:34 +00:00
Mitchell Livingston
12dc463e61
revert accidental removal in r13172
2012-01-19 00:27:11 +00:00
Mitchell Livingston
52e447603d
Make sure groups are expanded/collapsed correctly when filtering on 10.6
2012-01-19 00:25:08 +00:00
Mitchell Livingston
e1510639c7
miscellaneous fiddling
2012-01-18 01:40:34 +00:00
Mitchell Livingston
bdd9a157e7
remove an extraneous endUpdates call
2012-01-15 07:47:31 +00:00
Mitchell Livingston
7228dddbc2
Reselect proper rows after removing transfers on Snow Leopard
2012-01-15 07:39:24 +00:00
Mitchell Livingston
56a0a90b1e
improve on r13164
2012-01-14 20:11:51 +00:00
Mitchell Livingston
66a268bb7f
unconditionally expand all groups when toggling group rows
2012-01-14 20:07:26 +00:00
Mitchell Livingston
6777c6f0f6
On Lion with group rows shown, when moving torrents to a group row that did not previously exist, do sliding instead of fading and keep selected torrents selected.
2012-01-14 19:53:08 +00:00
Mitchell Livingston
8ca8c76799
bump Mac copyright to 2012
2012-01-14 17:12:04 +00:00
Mitchell Livingston
0adcc8c6f4
use GCD instead of a variable to not animate the main table at launch
2012-01-14 16:08:45 +00:00
Mitchell Livingston
3de5847158
#4705 Removing a group in prefs doesn't remove the group row in the main window
2012-01-12 00:12:17 +00:00
Mitchell Livingston
5b653e17d4
merge the code to update the table when toggling the group rows
2012-01-09 23:59:57 +00:00
Mitchell Livingston
f05360e5a3
another concurrency safety change
2012-01-08 20:22:43 +00:00
Mitchell Livingston
ee8977d5c3
fix a theoretical concurrency issue when removing previous pieces info
2012-01-08 19:58:58 +00:00
Mitchell Livingston
27595b4888
Use concurrent enumeration when generating the list of filtered torrents.
2012-01-08 19:28:59 +00:00