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
Mitchell Livingston 74189416c6 Remove pre-10.10 codepaths 2020-12-22 22:00:06 -05: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 18e33c5cdb Remove leftover dealloc empty lines, nullify StatsWindowController instance on close 2017-08-01 17:57:27 +07:00
Dmitry Serov 845dfe6017 Transition to ARC 2017-07-29 23:14:22 +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
Mitchell Livingston a7444a21b5 Yosemite: use NSDateComponentsFormatter instead of custom time string code 2014-10-17 05:12:00 +00:00
Mitchell Livingston ac0372f932 missed updating one updatePiecesView 2013-03-12 03:33:54 +00:00
Mitchell Livingston 9e99950dd4 add a note to myself to set off the pieces view target/action in the xib instead of code 2013-03-12 03:08:59 +00:00
Mitchell Livingston 90b042f789 the PiecesView will use target/action instead of notification center for mouse-down events 2013-03-12 02:56:35 +00:00
Mitchell Livingston 7e2f344ff6 re-add layout code commented out in r13583 2012-10-29 22:44:12 +00:00
Mitchell Livingston b2b1aeb282 don't do layout in code until localizations are updated in 2.8 2012-10-19 03:52:59 +00:00
Mitchell Livingston 2430bb060d move a variable outside of a loop 2012-10-14 17:33:23 +00:00
Mitchell Livingston 126583ba85 in Mac world it's NSRect, not CGRect 2012-09-27 00:21:10 +00:00
Mitchell Livingston 340c8aedf7 perform localization of InfoActivityViewController with a strings files and resizing code 2012-09-27 00:17:43 +00:00
Mitchell Livingston 4bf03c3be7 since it uses a relative date, set the date added value on each pulse 2012-04-17 10:59:59 +00:00
Mitchell Livingston 27f7ecbcbd #4872 "December 31, 1969 7:00 PM" is displayed in the inspector instead of "N/A" 2012-04-17 03:11: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 25ee42d68d update the copyright years in the Mac code to 2011 2011-01-01 20:42:14 +00:00
Mitchell Livingston cb99607614 #1408 display elapsed time in the Mac UI 2010-12-23 20:07:41 +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 51fc9cd34f --warnings 2010-06-18 03:21:29 +00:00
Mitchell Livingston d0bf7ff409 #3216 Progress Percentage Should Round Down 2010-05-31 14:06:54 +00:00
Charles Kerr 044823baf4 (trunk macosx) maybe fix the utils.h breakage? 2010-04-23 16:59: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 909b710f04 restore ability to toggle pieces view by clicking on it 2010-04-06 01:41:16 +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 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 c83b9c5cb9 allow the pieces grid's type to be changed once again 2010-03-07 02:46:15 +00:00
Mitchell Livingston 539e5f4da8 fix the pieces grid 2010-03-07 01:55:05 +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