fetzu
3c0cb395c5
Updated copyright strings to 2019
...
Updated Transmission Project copyright dates to 2005-2019 in headers and code.
2019-01-11 19:36:19 +01: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
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
5e18ddbca8
Remove NSApp isOnMountainLionOrBetter helper
2017-02-05 22:29:20 +03: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
Mike Gelfand
2248d3670f
Get rid of $Id$ SVN keywords in source files
2016-09-02 23:10:15 +03:00
Mitchell Livingston
a7444a21b5
Yosemite: use NSDateComponentsFormatter instead of custom time string code
2014-10-17 05:12:00 +00:00
Mitchell Livingston
0323c7531a
Simplify betterComponentsSeparatedByCharactersInSet:
2013-03-07 23:55:31 +00:00
Mitchell Livingston
f28c421e40
Remove the Simplified Chinese localization. We are on the lookout for a new localizer.
2012-09-22 16:09:52 +00:00
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