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
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
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
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
953780f38e
Improve the looks a bit on Yosemite. The app must now be compiled with the 10.10 SDK.
2014-10-16 13:01:17 +00:00
Mitchell Livingston
2430bb060d
move a variable outside of a loop
2012-10-14 17:33:23 +00:00
Mitchell Livingston
c9f86ff4e3
#5053 Fix crash on 10.6
2012-09-26 16:55:34 +00:00
Mitchell Livingston
9e7e64fe04
Revert r13468 for now.
2012-09-06 03:21:03 +00:00
Mitchell Livingston
0de19ad251
when drawing the status bar lines, don't assume the full lines will be drawn (although they probably will be)
2012-08-30 03:40:13 +00:00
Mitchell Livingston
9dadb8928f
#5026 Slight decrease in the opacity of the toolbar noise
2012-08-30 02:48:07 +00:00
Mitchell Livingston
656ebb3bc0
#5026 StatusBarView doesn't fully match toolbar on 10.7+
2012-08-30 02:37: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
8ca8c76799
bump Mac copyright to 2012
2012-01-14 17:12:04 +00:00
Mitchell Livingston
f6579d58b2
before applying the gradient to the status and filter bars, check that the remaining rect is not empty
2011-09-14 03:31:34 +00:00
Mitchell Livingston
c9cf99d9cc
when drawing gradients in the status and filter bar, always draw the full height
2011-09-14 03:15:58 +00:00
Mitchell Livingston
334aa46d60
override isOpaque for the status bar and filter bar
2011-06-09 02:15:22 +00:00
Mitchell Livingston
bb00924a4c
remove the status bar view's observer on dealloc
2011-02-19 21:38:38 +00:00
Mitchell Livingston
0d776a929d
Instead of explicitly setting the status bar as draggable, let it take on the window's default behavior.
2011-01-03 03:41:42 +00:00
Mitchell Livingston
4b190aa0c2
separate the code for the filter and status bars
2011-01-02 17:11:41 +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
d42017ba10
adjust the status bar's color when inactive
2010-12-30 17:36:09 +00:00
Mitchell Livingston
f99fe83e16
use the lighter bottom line of the filter bar when the window is inactive
2010-12-21 03:32:33 +00:00
Mitchell Livingston
8b8ec60007
lighten the line at the bottom of the filter bar
2010-12-21 03:31:18 +00:00
Mitchell Livingston
0371e8bc80
#3788 Adjust the status and filter bars' colors; make status bar draggable (again)
2010-12-09 23:30:35 +00:00
Mitchell Livingston
09cbb20c87
undo the status bar in #3788 for now
2010-12-05 19:20:07 +00:00
Mitchell Livingston
d684d6398b
lighten the status bar color a tiny bit
2010-12-04 17:14:52 +00:00
Mitchell Livingston
a1bee768e0
give the filter bar a darker bottom line
2010-12-04 04:08:24 +00:00
Mitchell Livingston
03632ac9d8
experiment for #3788 Adjust the status and filter bars' colors; make main window draggable
2010-12-04 03:55:36 +00:00
Mitchell Livingston
1fec2fb2d0
happy new year!
2010-01-01 21:12:04 +00:00
Mitchell Livingston
6d49680077
have status bar drawing occur all at once
2009-11-14 03:17:07 +00:00
Mitchell Livingston
055afd2d4d
update the Mac code's copyright dates
2009-01-10 23:37:37 +00:00
Mitchell Livingston
6bc269d2bc
more trivial type changes
2008-10-28 00:08:49 +00:00
Mitchell Livingston
5b5890c8dc
remove "Tiger conditionals" from the status bar
2008-03-28 18:47:43 +00:00
Mitchell Livingston
70845fe104
fix crash when torrent creation fails because an integer was being treated as a string
2008-03-28 15:19:07 +00:00
Mitchell Livingston
dbcbd99bf0
slightly more efficient drawing in the status bar (avoids filling in the whole bar and then drawing lines on top of it)
2008-03-28 13:32:44 +00:00
Mitchell Livingston
79931a5b6a
dead code removal for the status bar
2008-03-28 13:26:02 +00:00
Mitchell Livingston
5daf7d4938
minor adjustments to the status bar
2008-03-28 03:57:18 +00:00
Mitchell Livingston
51b0bf38cb
a first-shot at making the status and filter bars match those in Finder (and other "scope" bars)
2008-03-28 03:47:08 +00:00
Mitchell Livingston
f80bd47056
update copyright info for 2008
2008-01-02 16:55:05 +00:00
Mitchell Livingston
1b6a8a9504
display the infinity symbol in stats for ratio when there is upload but no download
2007-12-13 04:31:38 +00:00
Mitchell Livingston
377266a412
fix typo
2007-12-12 15:28:09 +00:00
Mitchell Livingston
566ec81269
use CTGradient fill function
2007-12-12 15:18:16 +00:00
Mitchell Livingston
cf4f43f090
color the background of the status bar on tiger
2007-12-12 15:17:33 +00:00
Mitchell Livingston
bf3a103a9c
make status bar filled only on 10.5 and greater; use NSGradient instead of CTGradient (since 10.4 support isn't needed for this)
2007-12-06 00:57:10 +00:00
Mitchell Livingston
2c4244b540
keep track of sort menu item by using tag and validate methods instead of storing the current menu items
2007-11-07 05:02:43 +00:00
Mitchell Livingston
6253979516
load the status bar background in the init method, because awakeFromNib drew the back with a white background on launch
2007-11-07 00:35:03 +00:00
Mitchell Livingston
44075895b2
remove the separate filter bar view and instead reuse the status bar view
2007-11-07 00:14:33 +00:00