Commit Graph

31 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
Dmitry Serov 845dfe6017 Transition to ARC 2017-07-29 23:14:22 +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 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 9c8395d109 silence several warnings related to printing ints in strings 2012-08-13 00:52:04 +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 8ca8c76799 bump Mac copyright to 2012 2012-01-14 17:12:04 +00:00
Mitchell Livingston bfc288a309 consider the corresponding torrent when comparing tracker nodes 2012-01-14 16:06:39 +00:00
Mitchell Livingston 6a6887242f #4713 (Lion) animate removing rows from the tracker table 2012-01-14 02:28:54 +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 75767317ad (trunk) "Tier name" in the inspector is editable by double clicking it 2011-10-12 03:35:55 +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 d0aac9336b when removing trackers, handle hidden duplicates 2011-04-05 23:03:33 +00:00
Mitchell Livingston 1dd57609d5 #4063 Adding a tracker before last failed add causes lockup 2011-03-24 00:56:36 +00:00
Mitchell Livingston 4fa5de2a90 change the add/remove tracker buttons in the inspector to the rounded rect style, and add tooltips 2011-02-12 05:01:31 +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 f939207703 make sure that the inspector is fully reloaded, specifically for when a transfer is demagnetized 2010-04-17 18:44:34 +00:00
Mitchell Livingston b9e7cc8990 set the inspector views' titles in each view's class 2010-03-14 03:09:12 +00:00
Mitchell Livingston f1bfa1a3d5 move the code for remembering resize information for the info views into the individual views 2010-03-14 02:53:22 +00:00
Mitchell Livingston c5a3856e4f add an optional clearView method to the InfoViewController protocol 2010-03-14 01:52:45 +00:00
Mitchell Livingston 15c2279052 avoid setting views in the inspector until necessary 2010-03-09 02:26:52 +00:00
Mitchell Livingston 41f29d45eb make sure a info tab is loaded the first time it's shown 2010-03-07 01:40:32 +00:00
Mitchell Livingston d5f4c15fb8 Refactor the info window, so that each view is in a separate xib and view controller. This should make future localizations simpler and the code more modular/readable. 2010-03-06 23:12:30 +00:00