Commit Graph

1357 Commits

Author SHA1 Message Date
C.W. Betts
33b792531d Use -[[NSFileManager defaultManager] stringWithFileSystemRepresentation:length:] in one other place. 2019-07-28 16:13:57 -06:00
C.W. Betts
f1616c5065 Replace some instances of -UTF8String with -fileSystemRepresentation. 2019-07-20 13:40:33 -06:00
Mike Gelfand
1d6d946388 Fixup some formatting leftovers 2019-02-16 10:50:37 +03:00
fetzu
3c0cb395c5 Updated copyright strings to 2019
Updated Transmission Project copyright dates to 2005-2019 in headers and code.
2019-01-11 19:36:19 +01:00
Mitchell Livingston
4a4233feae Update some selector-based alerts to block-based 2018-12-26 10:15:33 -05:00
Mike Gelfand
8863e88570 Fix build with Xcode 10
For some reason, Mac client is the only project that references
libtransmission files as if they were a part of its own project, and
inconsistently so. Make the include/import style uniform an in line with
other projects.

Adjust Mac client include directory settings a bit along the way.
2018-09-30 13:37:30 +03:00
Mike Gelfand
94be7dbd9b Merge branch '2.9x' 2018-01-25 03:07:52 +03:00
Mike Gelfand
0994e96f31 Uncaught exception when dragging multiple items between groups (macOS)
Change group after all the torrents are retrieved from drop data to avoid
premature view item index changes.

Fixes: #51
2018-01-17 01:03:23 +03:00
Mike Gelfand
95109af459 Allow host whitelist control via plist on Mac
Add RPCUseHostWhitelist (maps to rpc-host-whitelist-enabled) and
RPCHostWhitelist (maps to rpc-host-whitelist) keys loading from the plist
to allow adjustment via `defaults` command.
2018-01-17 00:46:54 +03:00
Mike Gelfand
aa2730d47c Switch to HTTPS links, adjust wiki links where possible
Fixes #39
2018-01-16 01:12:59 +03:00
Robert Vehse
a6ef87b92d Update all instances of the donation link. Fixes #26. 2018-01-15 23:57:46 +03:00
Dmitry Serov
9632af7c25 Remove Growl support 2017-11-29 00:38:14 +03:00
Dmitry Serov
488633b0dc Enforce VDKQueue destruction before closing transmission session 2017-08-05 18:41:36 +07:00
Dmitry Serov
3ae8f41f71 Correct __bridge_retained and __bridge_transfer casts using ARC 2017-08-01 17:40:39 +07:00
Dmitry Serov
845dfe6017 Transition to ARC 2017-07-29 23:14:22 +07:00
Dmitry Serov
65fb765fcc Manually released collections are not autoreleased anymore, pointer syntax adheres to codestyle 2017-07-18 00:34:52 +07:00
Dmitry Serov
22cabec67b NSDictionary init literals 2017-07-08 22:02:00 +07:00
Dmitry Serov
95ae0688eb NSDictionary subscripting 2017-07-08 21:38:47 +07:00
Dmitry Serov
40a7b8879c NSArray subscripting 2017-07-08 16:16:01 +07:00
Dmitry Serov
b743b64262 NSArray init literals 2017-07-08 15:23:05 +07:00
Dmitry Serov
87b6c451ac NSString literals 2017-07-08 15:06:32 +07:00
Dmitry Serov
80a2adc074 NSNumber literals 2017-07-07 17:34:27 +07:00
Mike Gelfand
5bdd4f4d7a Uncaught exception when dragging multiple items between groups (macOS)
Change group after all the torrents are retrieved from drop data to avoid
premature view item index changes.

Fixes: #51
2017-07-04 22:59:55 +03:00
Mike Gelfand
5e18ddbca8 Remove NSApp isOnMountainLionOrBetter helper 2017-02-05 22:29:20 +03:00
Mike Gelfand
4160743738 Convert tabs to spaces, remove trailing whitespace (Mac client) 2017-01-24 20:53:16 +03:00
Mike Gelfand
ee0f7686b5 Fix some warnings revealed by CMake configuration compiler flags 2017-01-11 23:43:56 +03:00
Markus Amalthea Magnuson
5b9ba3be0d HTTPS links for trac, forum, portcheck, and build subdomains. 2016-11-02 20:50:22 +01:00
Markus Amalthea Magnuson
727b9671f7 Update all website links to canonical HTTPS version. 2016-10-31 10:00:11 +01:00
Robert Vehse
6792a9ed98 Revert unintended whitespace changes. 2016-09-25 18:06:30 +02:00
Robert Vehse
13bae8179e Update all instances of the donation link. Fixes #26. 2016-09-23 04:36:41 +02:00
Mike Gelfand
2248d3670f Get rid of $Id$ SVN keywords in source files 2016-09-02 23:10:15 +03:00
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