Commit Graph

330 Commits

Author SHA1 Message Date
SweetPPro 849a36a30d
macOS fix Toolbar show/hide on macOS Mojave (#3327) 2022-06-24 00:26:36 -05:00
A Cœur 7f01ee52fe
Set torrent file's metainfo for magnets (#3322) 2022-06-21 16:47:57 -05:00
SweetPPro 90f2757448
macOS fullscreen and autosize fixes (#3315)
use constraints to set window size and remove a bunch of manual calculations
2022-06-18 12:39:22 -05:00
SweetPPro 06e5767234
macOS add full screen support (#3305) 2022-06-16 14:59:54 -05:00
SweetPPro c6b49e99d8
macOS revert fullscreen changes (#3304)
* macOS remove NSWindow subclass

as discussed in #3297
2022-06-16 12:55:33 -05:00
SweetPPro 037f1bf403
macOS remove NSWindow subclass (#3303) 2022-06-16 09:29:50 -05:00
Dzmitry Neviadomski f8264ce957
[macOS] Fix global popover clipping. (#3264)
* [macOS] Fix global popover clipping.

Fixes #3263

* [macOS] Detach global popover via ugly hack.
2022-06-13 12:26:30 -05:00
SweetPPro c3cd9cffad
re-add macOS Fullscreen support (#3261)
* re-add macOS Fullscreen support

re added Full Screen support for macOS. Also refactored window methods in Controller.mm and moved to their own category - ControllerWindowMethods.mm

This has currently only been tested on macOS Monterey, and should be good on earlier versions - but perhaps needs testing on earlier versions of macOS.

fixes #3231 #3234
2022-06-12 19:54:52 -05:00
Antoine Cœur 60254710b8
Rename sortTorrentsAndIncludeQueueOrder and nonEmptyComponentsSeparatedByCharactersInSet (#3051)
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-05-14 14:00:55 -05:00
Antoine Cœur 34ec2f5aa4
Adopting lightweight generics (#2974) 2022-04-29 17:51:40 -05:00
Antoine Cœur bdac708762
docs: fix various typos and misspellings (#2955) 2022-04-21 09:28:38 -05:00
Dmitry Serov 54d1a02e92
Use properties instead of ivars (#2453) 2022-02-22 10:04:20 -06:00
Charles Kerr df1cca9b57
chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
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