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
65fb765fcc
Manually released collections are not autoreleased anymore, pointer syntax adheres to codestyle
2017-07-18 00:34:52 +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
87b6c451ac
NSString literals
2017-07-08 15:06:32 +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
Eitot
290fed53eb
Add flat variants of status icons for message log
2017-01-08 01:54:19 +01: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
94a329b38a
update Mac code for logging changes in r13868
2013-01-26 19:17:58 +00:00
Jordan Lee
f75027d5e9
make all the log functions/structs/enums use a single 'tr_log' namespace, such as tr_logGetQueue, tr_logAddInfo, tr_logIsLevelActive
2013-01-25 23:34:20 +00:00
Mitchell Livingston
7dd5b57851
properly retain/release nstimers like any other objective-c object
2012-09-10 02:37:29 +00:00
Mitchell Livingston
781776dd69
revert MessageWindowController changes
2012-09-06 03:25:52 +00:00
Mitchell Livingston
9e7e64fe04
Revert r13468 for now.
2012-09-06 03:21:03 +00:00
Mitchell Livingston
9c8395d109
silence several warnings related to printing ints in strings
2012-08-13 00:52:04 +00:00
Mitchell Livingston
c2c8186003
replace a string with the constant NSTableViewColumnDidResizeNotification
2012-07-24 00:20:04 +00:00
Mitchell Livingston
739ae4a99a
Don't call setRestorationClass: on 10.6.
2012-06-18 01:33:27 +00:00
Mitchell Livingston
b830e8cba2
#4749 When accessing images using imageNamed:, don't include the .png. This fixes the app not using the @2x images in HiDPI mode.
2012-06-10 02:35:58 +00:00
Mitchell Livingston
bcde8ebef6
#4920 On Lion, use window restoration on the message log and stats window
2012-05-27 22:31:58 +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
bb16b6b4e2
improve how we search the message window's message array
2012-01-08 17:05:12 +00:00
Mitchell Livingston
30f7fae5a5
eliminate all warnings by switching NSOpenPanel/NSSavePanels to use completion handler blocks
2011-12-11 22:31:01 +00:00
Mitchell Livingston
bc5b4be310
remove most instances of deprecated filename and filenames methods
2011-10-06 02:16:19 +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
6485bea986
replace the deprecated setRequiredFileType: with setAllowedFileTypes:
2011-10-03 01:38:55 +00:00
Eric Petit
2da9a2e03c
Build fix
2011-07-21 22:12:34 +00:00
Mitchell Livingston
73b5bfbf5d
#4375 Lion: animate filtering message window
2011-07-21 02:36:27 +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
d83c14dd89
set default sorts for the peer, web seed, and message log tables in the xib instead of code
2010-03-07 14:39:13 +00:00
Mitchell Livingston
633920d362
when the message log is full, only reload if the content changes
2010-02-20 14:29:33 +00:00
Mitchell Livingston
1eaf271510
#2593 Add a Filter field to the Message Log window
2010-02-02 01:13:15 +00:00
Mitchell Livingston
5b41378241
add a missing removeObserver: to the message window controller
...
the last commit ensured that the drag overlay window resized when not window, which led to inaccurate sizes when exposé-d
2010-01-28 03:17:50 +00:00
Mitchell Livingston
1fec2fb2d0
happy new year!
2010-01-01 21:12:04 +00:00
Mitchell Livingston
33f20dc457
resize the level popup in the message window for localizations
2009-12-13 21:56:51 +00:00
Mitchell Livingston
e3cdefcd8a
warnings--
2009-12-11 04:01:47 +00:00
Mitchell Livingston
a9cabe918c
return to using a static NSUInteger for message index - even if never reset, it's never going to hit its max and this is much simpler
2009-12-10 13:06:04 +00:00
Mitchell Livingston
123c8e72ce
one more tweak
2009-12-10 05:28:45 +00:00
Mitchell Livingston
23b652d2bc
fix a bug with the new message index code
2009-12-10 05:25:12 +00:00
Mitchell Livingston
9888043e13
calculate the message attributes when opening the window, to avoid constant checking for nil
2009-12-10 05:16:30 +00:00
Mitchell Livingston
b739e72f0f
on second thought, there's no need to store the index at all - it's just the number of messages we have
2009-12-10 04:49:57 +00:00
Mitchell Livingston
3d30bb32d5
reset the message index when clearing the log
2009-12-10 04:44:21 +00:00
Mitchell Livingston
888034385c
avoid a potential crash when removing transfers
2009-12-07 03:53:52 +00:00