Commit Graph

22 Commits

Author SHA1 Message Date
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
Mitchell Livingston 74189416c6 Remove pre-10.10 codepaths 2020-12-22 22:00:06 -05:00
Mitchell Livingston d2b3010210 Dark mode support
This is the first pass. A bit more work is needed.
2018-12-21 16:39:47 -05:00
Mike Gelfand 5e18ddbca8 Remove NSApp isOnMountainLionOrBetter helper 2017-02-05 22:29:20 +03:00
Mike Gelfand b6d2649ddc Initial Mac support in CMake configuration 2017-01-11 23:43:53 +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 953780f38e Improve the looks a bit on Yosemite. The app must now be compiled with the 10.10 SDK. 2014-10-16 13:01:17 +00:00
Mitchell Livingston 4021d39a63 On 10.8, use NSByteCountFormatter to keep file sizes consistent with the operating system. Also, on 10.8 don't use a number formatter to localize unsigned integers. 2012-07-25 12:46:49 +00:00
Mitchell Livingston 8ca8c76799 bump Mac copyright to 2012 2012-01-14 17:12:04 +00:00
Mitchell Livingston 5339d25dca run on Snow Leopard again 2011-12-26 02:39: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 b28c4fb6cc #4376 Lion: Use popovers for per-torrent gear button 2011-07-21 02:35:03 +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 1fec2fb2d0 happy new year! 2010-01-01 21:12:04 +00:00
Mitchell Livingston 70acab2791 re-add r9257 on 10.6 2009-10-10 13:24:13 +00:00
Mitchell Livingston a292153b26 attempt number one of fixing 10.5 support 2009-10-10 13:21:27 +00:00
Mitchell Livingston 74bcaba766 require 10.6 (and Xcode 3.2) for development, and kill some more deprecated methods too 2009-08-29 20:28:52 +00:00
Mitchell Livingston 333e226a3c so long Tiger support 2008-12-26 05:57:51 +00:00
Mitchell Livingston f80bd47056 update copyright info for 2008 2008-01-02 16:55:05 +00:00
Mitchell Livingston 16c64f98da add a function to check if running on Leopard 2007-10-27 14:41:16 +00:00