Commit Graph

119 Commits

Author SHA1 Message Date
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
Mitchell Livingston 3ae277af17 on 10.6, use the new copying methods in the message window 2009-10-19 03:14:49 +00:00
Mitchell Livingston c2f8e82c3d when pruning message log messages, sort them in reverse chronological before trimming and use removeObjectsAtIndexes: for assumedly more efficient removal 2009-10-19 03:10:29 +00:00
Mitchell Livingston 3e26db6ed0 add an extra check when determining if the message window should be scrolled to the bottom 2009-10-19 02:44:04 +00:00
Mitchell Livingston 53273caef2 add some more switch statement asserts 2009-10-11 17:17:29 +00:00
Mitchell Livingston e4e0400f31 make the message count a static variable 2009-10-11 16:42:39 +00:00
Mitchell Livingston 5feb9100df double the amount of messages allowed in the message window - let's see what happens 2009-10-11 16:29:06 +00:00
Mitchell Livingston 1172f62803 trivial cleanup to the message window: set the pulldown's images in the xib, use NSInteger instead of int (same for unsigned), and don't bother storing the dot images as instance variables 2009-10-11 16:25:07 +00:00
Mitchell Livingston 4cf26bd5db remove a couple more deprecated methods and an unneed stringWithFormat: 2009-08-29 00:09:18 +00:00
Mitchell Livingston 8ec25a2fdb random cleanup and update the strings file 2009-01-26 02:16:03 +00:00
Mitchell Livingston 055afd2d4d update the Mac code's copyright dates 2009-01-10 23:37:37 +00:00
Mitchell Livingston cd7b38e007 warnings--; miscellaneous other cleanup 2009-01-06 02:07:55 +00:00
Mitchell Livingston 7e8a187b69 missed one class for fast enumeration 2008-12-26 15:31:25 +00:00
Mitchell Livingston 333e226a3c so long Tiger support 2008-12-26 05:57:51 +00:00
Mitchell Livingston c9e5427ed6 now that the types have been converted, revert some that shouldn't have been 2008-11-02 14:04:57 +00:00
Mitchell Livingston 99982b55a8 update some floats to CGFloats; append "f" to some float constants 2008-10-25 21:34:30 +00:00
Mitchell Livingston 9d5430a381 move a lot of loop counters into the loops' scopes; trivial changes 2008-10-12 21:38:13 +00:00
Mitchell Livingston b6fca67fb1 improved sort by date in the message log 2008-04-15 19:57:56 +00:00
Mitchell Livingston 558e612853 give the message window a "brushed" look 2008-03-24 22:42:30 +00:00
Mitchell Livingston 8e45cc27b2 #763 better determination of needed space 2008-03-17 19:59:26 +00:00
Mitchell Livingston e59104e36a clean up a little more of the message log code 2008-03-16 15:44:10 +00:00