Commit Graph

317 Commits

Author SHA1 Message Date
Mike Gelfand b7ba261359
Port macOS client to C++ (#1830)
* Rename all .m (Obj-C) files to .mm (Obj-C++)

* Fix build in Obj-C++ mode

* Fix Xcode build
2021-09-24 07:56:57 -05:00
Mike Gelfand db3d40d0ed Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
Dmitry Serov af3a4d4557
Modern Objective-C syntax (#509)
* Update enabled complier warnings

* Convert to Modern Objective-C syntax using Xcode's tool

* Convert to modern objc syntax manually, fix some PR issues

* Remove unnecessary parentheses

* Use property syntax for all custom properties

* Use property syntax for all system properties

* Fix erroneously autoreleased values

* Revert VDKQueue to old objc syntax

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
Co-authored-by: Mitch Livingston <livings124@mac.com>
2021-08-07 10:27:56 +03:00
Dzmitry Neviadomski 18266e080e Move ivars to @implementation. 2021-01-12 22:06:30 +03:00
Mitchell Livingston 73f2bb52f5 Silence two more warnings 2020-11-22 08:31:39 -05: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
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 aa2730d47c Switch to HTTPS links, adjust wiki links where possible
Fixes #39
2018-01-16 01:12:59 +03:00
Dmitry Serov 9632af7c25 Remove Growl support 2017-11-29 00:38:14 +03: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
Mike Gelfand 4160743738 Convert tabs to spaces, remove trailing whitespace (Mac client) 2017-01-24 20:53:16 +03:00
Mike Gelfand 2248d3670f Get rid of $Id$ SVN keywords in source files 2016-09-02 23:10:15 +03: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
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 0a5024adc9 combine the two rpc delete data methods 2013-03-04 04:18:21 +00:00
Mitchell Livingston ac7b2ee6a7 cleanup and GCD-ing of the rpc methods 2013-03-04 04:01:38 +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 d2d3671e22 fix the build on the build Mac 2013-01-19 05:13:00 +00:00
Mitchell Livingston bc574a559a #5223 Use VDKQueue for watching for torrent files 2013-01-19 05:03:00 +00:00
Mitchell Livingston 3479946084 #4963 Support Notification Center on 10.8 2012-07-25 12:49:11 +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 bcde8ebef6 #4920 On Lion, use window restoration on the message log and stats window 2012-05-27 22:31:58 +00:00
Mitchell Livingston 496290d263 #4839 Use configuration directory retrieved from libtransmission 2012-03-18 14:33:50 +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 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 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 3cb231283e store the list of newly-adding transfers in a set rather than an array 2012-01-08 04:11:07 +00:00
Mitchell Livingston 21ba5ced8c When adding torrents, slide them in from the left 2012-01-08 00:51:05 +00:00
Mitchell Livingston db9606d67a don't animate the main table on launch 2012-01-07 22:06:23 +00:00
Mitchell Livingston b2f3bc7eaf #4696 Step one of getting the main table to animate for everything besides the already-added sorting. This also contains improvements to the sorting code by sorting in-place. 2012-01-07 15:46:42 +00:00
Mitchell Livingston 62cef8ea98 speed up for #4696 2012-01-04 23:40:23 +00:00
Mitchell Livingston 9eab42d613 #4696 (Lion) animate sorting the main table 2012-01-04 05:16:07 +00:00
Mitchell Livingston d024e6bf39 #4694 Don't call reloadData on the main table on each updateUI call (and each sort) if the order hasn't changed; instead call setNeedsDisplay:. Don't call reloadData when toggling the main window per-torrent status string 2012-01-03 01:53:53 +00:00
Mitchell Livingston 30f7fae5a5 eliminate all warnings by switching NSOpenPanel/NSSavePanels to use completion handler blocks 2011-12-11 22:31:01 +00:00
Mitchell Livingston 317c20622f silence two warnings by declaring the NSURLDownloadDelegate protocol 2011-10-20 01:08:30 +00:00
Mitchell Livingston 0808bdd2fe We now require Mac OS X 10.6 or later. Make that change and all the nice little adjustments that go with it. 2011-10-06 00:30:40 +00:00
Mitchell Livingston 516164e78e add an RPC session callback for when queue order changes 2011-08-27 23:54:10 +00:00
Mitchell Livingston 7003a5544e #4421 Fix warnings related to missing protocols definition 2011-08-15 00:30:29 +00:00
Mitchell Livingston 075454604b generate the dock menu exclusively in code 2011-08-05 23:18:02 +00:00
Mitchell Livingston 4c5aef91a9 rename updateTorrentsInQueue to a more generic (and appropriate) name 2011-08-04 02:03:58 +00:00
Mitchell Livingston cd5b9b16fd first go at bringing the libT queue to the Mac client 2011-08-02 12:43:26 +00:00