Commit Graph

38 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
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
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 9c8395d109 silence several warnings related to printing ints in strings 2012-08-13 00:52:04 +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 491a98cf87 #4875 "Web Seeds" field should allow copying 2012-04-29 00:53:34 +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 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 553b85443f #4072 Remove "known" field in Inspector->Peers 2011-03-04 02:58:08 +00:00
Mitchell Livingston d7c1cf3b4b display protocol information (TCP or µTP) in the peer table's tooltip 2011-02-18 04:28:59 +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 8c4f3549c7 #3595 Allow promotion of the "from" value in peer_atom (and still show where it was first discovered) 2010-12-23 02:35:21 +00:00
Mitchell Livingston 488faac3c7 a couple of float -> double changes 2010-11-14 15:16:39 +00:00
Mitchell Livingston 2980120847 #3298 Move percentage string formatting into its own method, and don't append .00 to 100% 2010-06-24 00:00:43 +00:00
Mitchell Livingston d0bf7ff409 #3216 Progress Percentage Should Round Down 2010-05-31 14:06:54 +00:00
Mitchell Livingston 306cdead06 nothing exciting 2010-05-19 23:08:14 +00:00
Charles Kerr 382ae1334c (trunk mac) maybe now? 2010-05-08 08:54:45 +00:00
Charles Kerr 627f458e6a Sync mac client with libtransmission's LDS->LDP changes, maybe 2010-05-08 08:48:28 +00:00
Mitchell Livingston a17dfd02b2 add "local peer discovery" peer info to the inspector 2010-05-01 16:19:40 +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 d83c14dd89 set default sorts for the peer, web seed, and message log tables in the xib instead of code 2010-03-07 14:39:13 +00:00
Mitchell Livingston c1e70f4e17 one less warning 2010-03-07 02:28:50 +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 9945c07f80 add some missing localizable strings, and remove some warnings 2010-03-06 23:56:44 +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