Commit Graph

85 Commits

Author SHA1 Message Date
Mitchell Livingston 4cce91e006 Refine the logic for determining the "partial/full file size" string. It's better, but not perfect, depending on how languages are localized for special cases. A partial size of zero will now always hide the unit. 2012-09-11 00:46:32 +00:00
Mitchell Livingston 76bc93b6a6 On Mountain Lion, pull the file/memory size units for libtransmission from the operating system using a byte count formatter, rather than using a localized string. 2012-09-10 03:09:56 +00:00
Mitchell Livingston 9412c55bb5 Tweak how we first load in the torrent file list. 2012-08-06 03:49:36 +00:00
Mitchell Livingston 4021d39a63 On 10.8, use NSByteCountFormatter to keep file sizes consistent with the operating system. Also, on 10.8 don't use a number formatter to localize unsigned integers. 2012-07-25 12:46:49 +00:00
Mitchell Livingston 58de3d3f93 When displaying file sizes in TB, show at most 2 fraction digits. 2012-07-05 00:18:15 +00:00
Mitchell Livingston bc3026a13f only create the number formatter for formatting integers once 2012-06-28 12:29:01 +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 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 4ff20ab627 trivial tweak to betterComponentsSeparatedByCharactersInSet: 2011-09-24 19:38:04 +00:00
Mitchell Livingston 3362a73a22 even more work on betterComponentsSeparatedByCharactersInSet: 2011-09-19 02:00:52 +00:00
Mitchell Livingston e0278e8d52 improvements to betterComponentsSeparatedByCharactersInSet: 2011-09-19 01:55:52 +00:00
Mitchell Livingston aead1caae1 whoops, comment 2011-09-19 01:38:01 +00:00
Mitchell Livingston 2389bbd49b roll my own method to separate a string into components 2011-09-19 01:37:43 +00:00
Mitchell Livingston 95126c5505 #4493 improve search filter behavior 2011-09-19 00:48:30 +00:00
Mitchell Livingston e14f36edc3 #4124 Show years in Statistics window 2011-03-17 22:33:42 +00:00
Mitchell Livingston 7fc28b1019 if file size is less than 10 KB, show one decimal place 2011-01-09 19:24:27 +00:00
Mitchell Livingston 64f6b2cb5f silence a warning 2011-01-09 18:45:18 +00:00
Mitchell Livingston e37848ca60 use a float instead of a double for file unit size 2011-01-08 17:19:17 +00:00
Mitchell Livingston 3abf813bbf #3878 don't show the units of a partial file size when it's the same as the full file size's units 2011-01-08 05:11:28 +00:00
Mitchell Livingston 035b67677b #3877 Match Finder's file size display: start at KB, each increase in units increases the number of decimals shown, and truncate trailing zeros 2011-01-08 03:16:13 +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 c8ada6126c add a string function to format an NSUInteger as a formatted string 2010-11-14 20:26:58 +00:00
Mitchell Livingston 363e83ffec slight change to the file size formatting function 2010-10-24 18:06:32 +00:00
Mitchell Livingston 0e2dd87c08 #3518 Snow Leopard systems should show file sizes and speeds in base 10 2010-09-12 22:20:19 +00:00
Mitchell Livingston 5c66ff7c9a when localizing units of speed, localize the full speed string; localize the speed & size strings passed to libtransmission 2010-07-10 02:31:05 +00:00
Mitchell Livingston 2980120847 #3298 Move percentage string formatting into its own method, and don't append .00 to 100% 2010-06-24 00:00:43 +00:00
Charles Kerr 044823baf4 (trunk macosx) maybe fix the utils.h breakage? 2010-04-23 16:59:14 +00:00
Mitchell Livingston 1fec2fb2d0 happy new year! 2010-01-01 21:12:04 +00:00
Mitchell Livingston f2bbae3fd8 some more insignificant changes I have sitting around locally 2009-12-31 03:19:54 +00:00
Mitchell Livingston 4522ae9e14 trivial tweaks here and there 2009-12-12 18:52:03 +00:00
Mitchell Livingston 3d30bb32d5 reset the message index when clearing the log 2009-12-10 04:44:21 +00:00
Mitchell Livingston 7f16bbaa02 have the Mac UI build its own ratio string 2009-11-17 01:48:00 +00:00
Mitchell Livingston 4fc5cff523 use pow() instead of powf() 2009-11-07 22:57:37 +00:00
Mitchell Livingston ae5c51060c bump the ratio buffer size to 12, to be on the safe side 2009-10-27 04:35:34 +00:00
Mitchell Livingston 0ce3e4ac41 allocate much less memory for the ratio text 2009-10-26 23:57:09 +00:00
Mitchell Livingston e38c3c8165 potential fix to #2519 2009-10-26 23:43:15 +00:00
Mitchell Livingston c0c6a4f6b7 don't store a copy of the pieces view's background - regenerate it when needed instead 2009-10-18 01:54:13 +00:00
Mitchell Livingston c8abe4e28b in the off chance this ocurs, "1 byte" instead of "1 bytes" 2009-09-18 03:49:55 +00:00
Mitchell Livingston 8b4ec4b7b7 remove distinction between built-in trackers and custom-added trackers; add trackers to the end of the list instead of the beginning 2009-09-17 00:33:39 +00:00
Mitchell Livingston 90b83c3224 use 10.6's localizedStandardCompare: when sorting by name 2009-09-16 02:18:23 +00:00
Mitchell Livingston d4b7ec04b8 #1881: Displayed ratio should be truncated, not rounded (Mac) 2009-03-05 04:59:24 +00:00
Mitchell Livingston 19a8b5a99d whoops ratio 2009-03-05 04:31:30 +00:00
Mitchell Livingston 852bbbe508 #8021 per-torrent vs. global speed limit confusion for mac ui 2009-03-05 01:10:09 +00:00
Mitchell Livingston 055afd2d4d update the Mac code's copyright dates 2009-01-10 23:37:37 +00:00
Mitchell Livingston 333e226a3c so long Tiger support 2008-12-26 05:57:51 +00:00
Mitchell Livingston e3b2d77ebf reuse existing TorrentGroup object instead of recreating constantly (fixes #1415) 2008-12-26 00:16:19 +00:00
Mitchell Livingston ddfe1eddfc even more type changes 2008-11-04 01:31:24 +00:00
Mitchell Livingston 98e5967dfc use NSIntegerMax and NSUIntegerMax 2008-11-03 03:41:49 +00:00