Commit Graph

332 Commits

Author SHA1 Message Date
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 7651bb4821 Fix main table view styling 2020-11-17 22:07:45 -05:00
fetzu 3c0cb395c5 Updated copyright strings to 2019
Updated Transmission Project copyright dates to 2005-2019 in headers and code.
2019-01-11 19:36:19 +01: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
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 22cabec67b NSDictionary init literals 2017-07-08 22:02:00 +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
Dmitry Serov b743b64262 NSArray init literals 2017-07-08 15:23:05 +07:00
Dmitry Serov 80a2adc074 NSNumber literals 2017-07-07 17:34:27 +07:00
Mike Gelfand 4160743738 Convert tabs to spaces, remove trailing whitespace (Mac client) 2017-01-24 20:53:16 +03:00
Mike Gelfand ee0f7686b5 Fix some warnings revealed by CMake configuration compiler flags 2017-01-11 23:43:56 +03:00
Mike Gelfand 2248d3670f Get rid of $Id$ SVN keywords in source files 2016-09-02 23:10:15 +03:00
Mike Gelfand 375571c9b4 #6078: Show main window and scroll to torrent on notification click 2016-03-03 17:57:08 +00:00
Mike Gelfand 52ca481033 #6050: Get rid of calls to deprecated convertScreenToBase: API (patch by mattrajca) 2016-01-07 17:21:12 +00: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
Mike Gelfand 8392476b30 #5777: Trim potential URIs from clipboard on Mac (patch by jeepston, a bit modified) 2015-10-23 18:53:47 +00:00
Mitchell Livingston b242dcaf14 simplify how the torrent table gets the type ahead name for group rows 2012-11-02 21:46:18 +00:00
Mitchell Livingston 9c8395d109 silence several warnings related to printing ints in strings 2012-08-13 00:52:04 +00:00
Mitchell Livingston 87b6288c73 more cleanup 2012-03-13 03:49:30 +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 aabd4c9397 less crashing with ARC 2012-03-10 13:36:26 +00:00
Mitchell Livingston 11f57ccb18 #4822 Enable Automatic Reference Counting 2012-03-10 03:38:58 +00:00
Mitchell Livingston 3262566ab4 progress marks are floats, not doubles 2012-01-18 04:09:39 +00:00
Mitchell Livingston c157c820bc replace two unnecessary instances of reloadData with setNeedsDisplay: 2012-01-18 04:03:12 +00:00
Mitchell Livingston 7228dddbc2 Reselect proper rows after removing transfers on Snow Leopard 2012-01-15 07:39:24 +00:00
Mitchell Livingston 8ca8c76799 bump Mac copyright to 2012 2012-01-14 17:12:04 +00:00
Mitchell Livingston 2a670d54a9 support pasting magnet links into the torrent table 2011-12-27 23:19:14 +00:00
Mitchell Livingston 22a5e885ba If we have a url and string in the clipboard, only use the url when trying to open as a torrent file. This way we avoid opening the same URL twice 2011-12-26 02:46:27 +00:00
Mitchell Livingston 5339d25dca run on Snow Leopard again 2011-12-26 02:39:30 +00:00
Mitchell Livingston aafb346abd #4686 Capture pasted strings that are URLs 2011-12-26 02:33:13 +00:00
Mitchell Livingston b15cac8c43 #4356 Extend tooltip support to torrent names in the main window 2011-10-23 17:45:05 +00:00
Mitchell Livingston 995d754baf Silence some new warnings with LLVM 3.0/Xcode 4.2 2011-10-18 02:30:22 +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 ee34f2a137 Add some warnings and excessive Lion checks 2011-08-27 21:32:45 +00:00
Mitchell Livingston 974034be81 pressing the esc key with focus on the main table will deselect all 2011-08-04 02:04:25 +00:00
Mitchell Livingston 2d5d902175 Only show a single popover when excessively clicking the global and per-transfer action buttons 2011-07-27 03:38:01 +00:00
Mitchell Livingston 4cdb84aa0d #4379 Lion: Use popovers for global gear button 2011-07-23 15:54:02 +00:00
Mitchell Livingston b28c4fb6cc #4376 Lion: Use popovers for per-torrent gear button 2011-07-21 02:35:03 +00:00
Mitchell Livingston 4458697259 remove the custom alternating row code, since it isn't futureproof 2011-06-13 22:26:43 +00:00
Mitchell Livingston c6e9e58e0c dead code removal 2011-05-29 15:35:36 +00:00
Mitchell Livingston 797c6bc3fd more explicit casting 2011-05-23 00:57: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 16bd4bcefa add a missing #import 2010-11-21 14:45:06 +00:00
Mitchell Livingston efc34d4b69 update all Mac localizations 2010-11-20 16:09:48 +00:00
Mitchell Livingston 488faac3c7 a couple of float -> double changes 2010-11-14 15:16:39 +00:00
Mitchell Livingston 09666b3add appropriately shorten the title length when showing the control buttons in compact view 2010-03-20 18:54:24 +00:00
Mitchell Livingston 796869f6c8 don't set up a tracking area over the entire cell when not in compact view 2010-03-20 18:27:09 +00:00
Mitchell Livingston a075653c67 make the progress bar in compact view take up essentially the entire cell 2010-03-20 05:09:34 +00:00