Commit Graph

92 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
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
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 375571c9b4 #6078: Show main window and scroll to torrent on notification click 2016-03-03 17:57:08 +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
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 7cdcc7cadf #4360 Warning when building Transmission on Mac because the delegate of TorrentTableView does not implement the protocol NSOutlineViewDelegate 2011-08-06 02:04:45 +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 b28c4fb6cc #4376 Lion: Use popovers for per-torrent gear button 2011-07-21 02:35:03 +00:00
Mitchell Livingston c6e9e58e0c dead code removal 2011-05-29 15:35:36 +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 34bd2914db first attempt at a single-row, more compact Compact (Minimal) View 2010-03-20 03:27:17 +00:00
Mitchell Livingston 1fec2fb2d0 happy new year! 2010-01-01 21:12:04 +00:00
Mitchell Livingston 1af529aa96 phase one of moving quicklook into the controller - it's not as pretty code-wise but the behavior is a lot more consistent 2009-10-11 23:16:46 +00:00
Mitchell Livingston 1642a05ebc move some #imports out of header files 2009-10-11 02:22:38 +00:00
Mitchell Livingston 70acab2791 re-add r9257 on 10.6 2009-10-10 13:24:13 +00:00
Mitchell Livingston a292153b26 attempt number one of fixing 10.5 support 2009-10-10 13:21:27 +00:00
Mitchell Livingston 9be4a3979b make sure the "move data" context option actually works 2009-09-07 21:37:58 +00:00
Mitchell Livingston 5e2ef3aa89 draft #1 of #2369 - use public API for QuickLook on 10.6 (and drop the hack for 10.5-support) 2009-09-04 04:10:46 +00:00
Mitchell Livingston 1181e4e8f1 add ability to set transfer priority in the Mac ui 2009-04-20 03:36:35 +00:00
Mitchell Livingston 80eca9666d add an option in the per-torrent action menu to follow the global bandwidth limit 2009-03-05 22:48:01 +00:00
Mitchell Livingston 055afd2d4d update the Mac code's copyright dates 2009-01-10 23:37:37 +00:00
Mitchell Livingston afb9d97f55 update NEWS; trivial changes 2008-11-01 15:22:32 +00:00
Mitchell Livingston bb48869f3e update NEWS; trivial changes 2008-10-29 01:18:03 +00:00
Mitchell Livingston 860ef24480 typo fix 2008-06-11 03:29:06 +00:00
Mitchell Livingston 60b5c525cf updated help from jah 2008-06-11 03:28:14 +00:00
Mitchell Livingston b7ab0132e7 the pieces bar "slides" using NSAnimation instead of a timer 2008-06-10 05:09:30 +00:00
Mitchell Livingston e6f66b1d07 quicklook window expands from the icon instead of the whole table row 2008-05-21 22:09:05 +00:00
Mitchell Livingston bfa9efc9f3 #902 pasting a link into transmission will open the url 2008-05-01 02:20:53 +00:00
Mitchell Livingston 24fedbe044 add "move data file" to torrent action menu 2008-03-22 17:05:48 +00:00
Mitchell Livingston 9426e0bf1e more group row adjustments 2008-02-19 02:10:20 +00:00
Mitchell Livingston d17cb50d25 add color and adjust size of group row 2008-02-19 01:58:36 +00:00
Mitchell Livingston a06c1ace83 save collapsed groups between launches 2008-02-07 21:26:04 +00:00
Mitchell Livingston 0c61836b1e collapsed groups were expanded and vice versa 2008-02-07 16:23:22 +00:00
Mitchell Livingston dd0bf1fa8f better encapsulate the collapsed group values 2008-02-07 16:20:24 +00:00
Mitchell Livingston 5e2308daf9 when turning on group view, show all groups expanded 2008-02-07 02:15:24 +00:00
Mitchell Livingston 346060659d expand a torrent's group when removing it, since either the whole group is being removed or it is already expanded 2008-02-07 02:11:26 +00:00
Mitchell Livingston 015f40e498 initial saving of collapsed/expanded groups when switching filters, adding torrents, etc 2008-02-07 01:26:12 +00:00
Mitchell Livingston a0061f43fb First commit of collapsable groups. A lot more needs to still be done. 2008-02-06 23:45:44 +00:00
Mitchell Livingston da6a108375 hopefully fix weird drawing issues when resizing, and eliminate a memory leak 2008-01-24 01:05:00 +00:00
Mitchell Livingston 5852c78682 keep track of which rows are groups with a separate object 2008-01-23 17:03:42 +00:00
Mitchell Livingston c0463820f7 fix type selection 2008-01-23 03:38:24 +00:00
Mitchell Livingston 1fa3e0d869 first experimental commit: sorting by group will now add group dividers 2008-01-23 02:51:58 +00:00
Mitchell Livingston d0fb48121e add a convenience function for getting the selected torrents 2008-01-22 23:48:14 +00:00
Mitchell Livingston 30cee125da treat the entire file icon as the action button 2008-01-20 18:51:53 +00:00
Mitchell Livingston bf146526bf fix error where the table would lose track of the selected torrent when sorting by activity 2008-01-20 18:28:28 +00:00