Commit Graph

101 Commits

Author SHA1 Message Date
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 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
Mike Gelfand 4160743738 Convert tabs to spaces, remove trailing whitespace (Mac client) 2017-01-24 20:53:16 +03: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
Jordan Lee e40a7d5359 (trunk) replace the tr_metainfo_builder.isSingleFile and tr_info.isMultifile fields an 'isFolder' bool in both structs.
This makes the variable naming more uniform. It also clarifies the information we're really trying to convey -- previously, isSingleFile was false whenever the torrent held a directory tree, even if there was only a single file in the tree.

Sync the Mac OS X client's use to match the libtransmission variable names.
2014-06-08 22:16:01 +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 e94cf23702 #4956 Crash when creating a torrent on 10.7 2012-07-23 11:31:48 +00:00
Mitchell Livingston 739ae4a99a Don't call setRestorationClass: on 10.6. 2012-06-18 01:33:27 +00:00
Mitchell Livingston 5bcc41da4e #4923 "Open when created" might not be respected 2012-05-28 19:43:53 +00:00
Mitchell Livingston 7466139067 #4921 On Lion, use window restoration on the torrent creation window 2012-05-28 14:28:50 +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 30f7fae5a5 eliminate all warnings by switching NSOpenPanel/NSSavePanels to use completion handler blocks 2011-12-11 22:31:01 +00:00
Mitchell Livingston bc79f36f8c #3948 Fix crash with command-option-w 2011-11-15 00:09:17 +00:00
Mitchell Livingston 8abd52938c replace 'fldr' with kGenericFolderIcon 2011-10-06 03:16:06 +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 25ee42d68d update the copyright years in the Mac code to 2011 2011-01-01 20:42:14 +00:00
Mitchell Livingston 76f5a1f680 a couple more formatted integers 2010-11-14 21:04:25 +00:00
Mitchell Livingston 1a242558f1 remove an extra space 2010-05-20 00:16:49 +00:00
Mitchell Livingston a17dfd02b2 add "local peer discovery" peer info to the inspector 2010-05-01 16:19:40 +00:00
Charles Kerr 044823baf4 (trunk macosx) maybe fix the utils.h breakage? 2010-04-23 16:59:14 +00:00
Mitchell Livingston fec2a18dd3 #3006 Allow Trackers to be copied in Create Window 2010-04-23 02:13:54 +00:00
Mitchell Livingston 3b38ec9205 #3006 Allow Trackers to be pasted in Create Window 2010-04-23 02:05:34 +00:00
Charles Kerr 7feaa9faae (trunk) #2938 -- sync gtk, mac, and cli clients with previous commit 2010-02-20 15:57:34 +00:00
Mitchell Livingston 1fec2fb2d0 happy new year! 2010-01-01 21:12:04 +00:00
Mitchell Livingston e743ffd43c update the text for when creating a trackerless torrent, add a separate "don't ask again" check for private trackerless torrent creation, and don't disable the "open when created" check when there are no trackers 2009-11-26 00:44:21 +00:00
Mitchell Livingston e777fefd63 dead code removal 2009-10-30 22:53:30 +00:00
Mitchell Livingston 7aa6a2b20a #2486 In the Mac's "create torrent" window, place each tracker into its own tier 2009-10-10 12:58:40 +00:00
Mitchell Livingston d35d9d9d2a #2398 Check if save path exists before generating torrent file 2009-09-26 20:13:15 +00:00
Mitchell Livingston 38821fbee6 use NSSearchPathForDirectoriesInDomains() for searching for sounds 2009-09-20 20:58:13 +00:00
Mitchell Livingston 0bc9135377 when creating a torrent with a single piece, remove "each" from "X size each" 2009-09-18 03:57:18 +00:00
Mitchell Livingston 7d0a458f63 remove comment 2009-09-12 01:07:21 +00:00
Mitchell Livingston 980b09522c (trunk) make sure the creator window size/placement is saved correctly 2009-09-12 01:00:54 +00:00
Mitchell Livingston 34afe5f0d0 (trunk) hopefull fix #2354 - end editing of the tracker table before attempting torrent creation 2009-09-12 00:23:13 +00:00
Mitchell Livingston ace6821574 remove a couple of 10.6 deprecated methods 2009-08-28 23:40:11 +00:00
Mitchell Livingston 52454105b2 more love for users having problem with the torrent file UTI 2009-06-11 23:02:54 +00:00
Charles Kerr d1c6956598 (trunk) tr_metaInfoBuilderCreate() doesn't need a tr_session* handle anymore 2009-04-08 18:47:48 +00:00
Mitchell Livingston 83dcd3b358 (trunk) #1736 Text for unknown error in torrent creator 2009-01-23 02:39:34 +00:00
Mitchell Livingston 25790cc11e use the torrent file's UTI in open/save dialogs 2009-01-11 21:49:17 +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
Charles Kerr 55f263312f (trunk) patch from wereHamster to finish off tr_handle 2008-12-22 19:14:43 +00:00