Commit Graph

139 Commits

Author SHA1 Message Date
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
Mitchell Livingston e6a77b0306 significantly cleaner code (and more than likely just-as or more efficient) for the Mac message log cap - avoids sorting the whole thing, which is, I'm sure, more expensive than the search that it's being replaced with 2009-12-02 01:35:48 +00:00
Mitchell Livingston 25c8e4f0d0 cap the message log count in the Mac UI 2009-12-02 00:27:07 +00:00
Mitchell Livingston bb2a86300e add a bit more safety to the message log code 2009-11-29 02:17:11 +00:00
Mitchell Livingston ec73af134a (hopefully) fix a potential crash in the message log window 2009-11-28 22:10:30 +00:00
Mitchell Livingston f5655c8d8b Mac message log: 1. when changing logging level, scroll to bottom, 2. free the message list taken from the core outside the lock 2009-11-28 21:44:27 +00:00
Mitchell Livingston 94f110e314 add a lock to the message lock code 2009-11-28 21:01:27 +00:00
Mitchell Livingston b9ef88e898 #2624 Message Log's level filter should act as an actual filter, and all messages should be stored 2009-11-28 20:39:31 +00:00
Mitchell Livingston aa4389082a update some fields in the inspector and main window for magnetized transfers 2009-11-27 20:47:03 +00:00
Mitchell Livingston 8f13af5040 remove the cap on the number of messages in the message log - my tests had no problem with over 50,000 messages 2009-11-22 03:56:04 +00:00
Mitchell Livingston 00fc846037 in the message window code, create the processed file name/line number right away, to avoid having to store an extra number 2009-11-22 03:40:19 +00:00
Mitchell Livingston db80a915aa we should use the size of the array that we're actually using 2009-10-25 21:31:01 +00:00
Mitchell Livingston 7eed54904a delay part of generating the message log text until after choosing a location 2009-10-25 21:30:19 +00:00
Mitchell Livingston 581afef25a use libtransmission for moving, incomplete directory, and directory controlling in general (still rough around the edges) 2009-10-21 13:01:14 +00:00