Commit Graph

45 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
Dzmitry Neviadomski 18266e080e Move ivars to @implementation. 2021-01-12 22:06:30 +03:00
Mitchell Livingston 74189416c6 Remove pre-10.10 codepaths 2020-12-22 22:00:06 -05:00
Dmitry Serov 845dfe6017 Transition to ARC 2017-07-29 23:14:22 +07:00
Dmitry Serov 87b6c451ac NSString literals 2017-07-08 15:06:32 +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 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 fa439f6ad7 fix the mac build when compiling in 32-bit mode, which doesn't support the "modern runtime" for creating ivars 2012-01-21 14:58:39 +00:00
Mitchell Livingston 63b5979594 for the fun of it, replace some variables with @property in the file and tracker nodes 2012-01-20 02:41:49 +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 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 25ee42d68d update the copyright years in the Mac code to 2011 2011-01-01 20:42:14 +00:00
Mitchell Livingston bd635f22d0 for scrapes: add a new field to distinguish from error messages returned from the tracker, and scrape timeouts, so that they can be displayed differently 2010-02-25 23:06:05 +00:00
Mitchell Livingston 4524029ab4 add the ability to remove trackers when multiple torrents are selected 2010-02-13 04:30:47 +00:00
Mitchell Livingston 1440e61555 if the last announce resulted in no peers being retrieved, don't display info on the number of peers retrieved 2010-02-11 03:15:06 +00:00
Mitchell Livingston 1dd5dddcec improve how tracker tiers are sent to the inspector code 2010-02-06 02:35:27 +00:00
Mitchell Livingston ce81f5c888 specify timeouts in the tracker tab 2010-02-06 00:45:28 +00:00
Mitchell Livingston bc0f2bb3f0 remove a few 1.8 -> 1.9 warnings 2010-01-31 21:25:49 +00:00
Charles Kerr a77770a51a (trunk) add tr_torrent_stat.id to RPC documentation. Rename tr_tracker_stat.identifier as tr_tracker_stat.id for consistency with tr_torrent.id 2010-01-13 22:40:07 +00:00
Mitchell Livingston 6138daec3f add an identifier to trackers, for use by the ui's (this should hopefully fix the problem for removing trackers with "invisible" trackers) 2010-01-10 02:34:00 +00:00
Mitchell Livingston f18fa22d53 even more logs 2010-01-09 00:57:30 +00:00
Mitchell Livingston b5ad91e3de fix pluralization of "got 1 peer" 2010-01-05 04:34:31 +00:00
Mitchell Livingston 1fec2fb2d0 happy new year! 2010-01-01 21:12:04 +00:00
Mitchell Livingston 9add3fe570 when displaying the tracker/scrape last announce, factor in an error with no message 2009-11-21 18:23:54 +00:00
Mitchell Livingston 11befebac5 fix mac build again 2009-10-10 00:30:04 +00:00
Eric Petit 37b57a1284 Fixes Release build 2009-10-10 00:16:57 +00:00
Mitchell Livingston 3f7ef917b8 minimal efficiency change: when drawing on the torrent cell, don't copy the bound rect unnecessarily 2009-10-09 23:02:10 +00:00
Mitchell Livingston 391b009c58 fix Mac build 2009-10-09 22:29:34 +00:00
Mitchell Livingston edefc9a10a getting closer to re-adding "add tracker" functionality 2009-09-29 03:02:44 +00:00
Mitchell Livingston 32c197a985 a little string cleanup 2009-09-28 14:51:13 +00:00
Mitchell Livingston efe4c51873 don't use a NSCache until we go 10.6-only 2009-09-28 14:13:20 +00:00
Mitchell Livingston fbecc713a6 fix favicons 2009-09-28 03:42:35 +00:00
Mitchell Livingston e85b92b305 distinguish trackers meant as backups 2009-09-28 03:19:11 +00:00
Mitchell Livingston df7ae11485 show the full tracker address in a tooltip 2009-09-28 02:55:16 +00:00
Mitchell Livingston 298af84273 make dates in the tracker tab relative (say Today instead of September 27, 2009 for example) 2009-09-28 02:36:16 +00:00
Mitchell Livingston 87a48834cb add lastAnnouncePeerCount to tracker info tab 2009-09-28 02:27:38 +00:00
Mitchell Livingston a9101bb1c2 first go at redoing the tracker inspector tab (some functionality is still missing) 2009-09-28 01:57:35 +00:00
Mitchell Livingston c3b81a378c let's copy the tracker stat object only once instead of twice on each pulse 2009-09-26 16:46:14 +00:00
Mitchell Livingston 06df79d02f begin the reorganization of the inspector tracker tab - a lot still left to do 2009-09-26 04:02:39 +00:00