Commit Graph

81 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
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
Alexandre Jouandin b0a05c2fd1 Fix `No @interface declares "containsIndex:"`
This fixes the `No visible @interface for NSArray declares the selector "containsIndex:"` error that prevented Xcode (9b6) from compiling.
2017-08-31 01:21:08 +03:00
Dmitry Serov 845dfe6017 Transition to ARC 2017-07-29 23:14:22 +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 80a2adc074 NSNumber literals 2017-07-07 17:34:27 +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 e79005e150 trivial changes 2013-02-08 13:02:16 +00:00
Mitchell Livingston a3eafbb742 Move the inspector Rename File context menu item to the bottom of the list. 2013-01-26 22:39:32 +00:00
Mitchell Livingston c6290bcd71 Move the rename menu item to the File menu. 2013-01-23 03:46:04 +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 9236571f1c #1220 Initial Mac support for changing file and folder names. Not fully complete. 2013-01-22 00:09:48 +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 375f701203 #4902 Check all/Uncheck all buttons in the inspector 2012-05-14 00:00:19 +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 e1510639c7 miscellaneous fiddling 2012-01-18 01:40:34 +00:00
Mitchell Livingston 8ca8c76799 bump Mac copyright to 2012 2012-01-14 17:12:04 +00:00
Mitchell Livingston 7223a980f3 more array enumeration using blocks and the concurrent option 2012-01-08 05:37:18 +00:00
Mitchell Livingston bc344e6e74 update the file table node search to (possibly) use concurrent enumeration 2012-01-08 05:05:47 +00:00
Mitchell Livingston 9c75df7ddc remove the no-longer-necessary lock from the file table 2012-01-08 04:11:30 +00:00
Mitchell Livingston 9353eba3cd #4694 replace more reloadData table calls with setNeedsDisplay: 2012-01-04 00:36:21 +00:00
Mitchell Livingston c264f9d366 experimented with updated priority images 2011-10-22 20:45:20 +00:00
Mitchell Livingston 0536107144 remove unused views from InfoActivityView and InfoGeneralView 2011-10-19 02:10:56 +00:00
Mitchell Livingston 3d55b6c2c6 #4575 Bug when filtering a transfer withs its file table selected 2011-10-19 01:22:49 +00:00
Mitchell Livingston 995d754baf Silence some new warnings with LLVM 3.0/Xcode 4.2 2011-10-18 02:30:22 +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 95126c5505 #4493 improve search filter behavior 2011-09-19 00:48:30 +00:00
Mitchell Livingston 97cd1d9d05 more experimenting with locking in the files table 2011-08-01 22:27:21 +00:00
Mitchell Livingston b0659bacf9 slightly better locking in the file table 2011-07-30 00:11:29 +00:00
Mitchell Livingston 4fde6035fd #4374 Lion: animate filtering files table 2011-07-21 02:36:12 +00:00
Mitchell Livingston 27fa4091dc have FileListNodes store their corresponding torrents, allowing the removal of this functionality from the file outline view 2011-05-31 22:26:04 +00:00
Mitchell Livingston 5b01685146 Use NSDiacriticInsensitiveSearch in file list search, to match the transfer list search. 2011-05-16 02:03:27 +00:00
Mitchell Livingston 56d56a2e19 #4232 Extend tooltip support to disabled files in Inspector->Files 2011-05-09 02:13:39 +00:00
Mitchell Livingston 6de2ac3e4b r3857 Contextual Menu generates console error 2011-01-24 02:01:36 +00:00
Mitchell Livingston 25ee42d68d update the copyright years in the Mac code to 2011 2011-01-01 20:42:14 +00:00
Mitchell Livingston 78f6a488d5 remove temporary asserts 2010-02-15 14:56:14 +00:00
Mitchell Livingston 300db84d7d add some temporary asserts to track down #2805 2010-02-06 17:12:16 +00:00
Mitchell Livingston 1fec2fb2d0 happy new year! 2010-01-01 21:12:04 +00:00
Mitchell Livingston f2bbae3fd8 some more insignificant changes I have sitting around locally 2009-12-31 03:19:54 +00:00
Mitchell Livingston 7b7dbf58cd start laying a little magnet link groundwork, and remove redundant torrent parse when creating torrent objects 2009-11-25 04:11:52 +00:00
Mitchell Livingston 7f5cfbec77 don't try to reveal files that don't exist 2009-10-21 22:15:36 +00:00
Mitchell Livingston 581afef25a use libtransmission for moving, incomplete directory, and directory controlling in general (still rough around the edges) 2009-10-21 13:01:14 +00:00
Mitchell Livingston f9012885c3 QuickLook main window even if it's closed, and update the QL window when opening/closing the inspector 2009-10-11 23:50:13 +00:00
Mitchell Livingston a292153b26 attempt number one of fixing 10.5 support 2009-10-10 13:21:27 +00:00