Commit Graph

17 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
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 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 87373cdafd Fix constraints issues on Yosemite when hiding web seed view (OS X) 2016-03-03 22:27:45 +00:00
Mike Gelfand 626f58e720 Use autolayout for torrent info window (OS X) 2016-02-27 20:29:57 +00:00
Mitchell Livingston 491a98cf87 #4875 "Web Seeds" field should allow copying 2012-04-29 00:53:34 +00:00
Mitchell Livingston 8ca8c76799 bump Mac copyright to 2012 2012-01-14 17:12:04 +00:00
Mitchell Livingston 7003a5544e #4421 Fix warnings related to missing protocols definition 2011-08-15 00:30:29 +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 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 efce4e9759 add a protocol for the info view controllers, and as a result eliminate some excessive code 2010-03-14 01:42:49 +00:00
Mitchell Livingston 15c2279052 avoid setting views in the inspector until necessary 2010-03-09 02:26:52 +00:00
Mitchell Livingston c1e70f4e17 one less warning 2010-03-07 02:28:50 +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