Commit Graph

81 Commits

Author SHA1 Message Date
Mike Gelfand db3d40d0ed Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
Dmitry Serov af3a4d4557
Modern Objective-C syntax (#509)
* Update enabled complier warnings

* Convert to Modern Objective-C syntax using Xcode's tool

* Convert to modern objc syntax manually, fix some PR issues

* Remove unnecessary parentheses

* Use property syntax for all custom properties

* Use property syntax for all system properties

* Fix erroneously autoreleased values

* Revert VDKQueue to old objc syntax

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
Co-authored-by: Mitch Livingston <livings124@mac.com>
2021-08-07 10:27:56 +03:00
Mitchell Livingston 470ee010f2 Revert "Merge pull request #1039 from MaddTheSane/patch-4"
This reverts commit c0c463d660, reversing
changes made to cd2587a435.
2020-04-25 10:35:15 -04:00
C.W. Betts f1616c5065 Replace some instances of -UTF8String with -fileSystemRepresentation. 2019-07-20 13:40:33 -06: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 22cabec67b NSDictionary init literals 2017-07-08 22:02:00 +07:00
Dmitry Serov b743b64262 NSArray init literals 2017-07-08 15:23:05 +07:00
Dmitry Serov 87b6c451ac NSString literals 2017-07-08 15:06:32 +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
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 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 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 8abd52938c replace 'fldr' with kGenericFolderIcon 2011-10-06 03:16:06 +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 94517feeeb #2860 Display trackers for all selected torrents in the inspector 2010-02-05 02:51:42 +00:00
Mitchell Livingston 0a113245b1 remove an extra frame resize in the drag overlay window 2010-01-28 03:23:35 +00:00
Mitchell Livingston dc31055e53 add a missing removeObserver: to the message window controller 2010-01-28 03:16:55 +00:00
Mitchell Livingston 1fec2fb2d0 happy new year! 2010-01-01 21:12:04 +00:00
Mitchell Livingston 5812c61812 small code nudges here and there 2009-12-23 02:02:11 +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 851595b11c get the mac build to compile again 2009-08-05 02:13:45 +00:00
Mitchell Livingston 6fd6b4b5b0 potentially (hopefully) fix bug where some users couldn't add torrents 2009-06-10 22:56:24 +00:00
Mitchell Livingston 4eff9949fc eplace another file extension check with a Uniform Type Identifier check 2009-05-23 20:09:41 +00:00
Charles Kerr c3b24bc471 (trunk) modify tr_torrentParse() and tr_torrentNew() arguments s.t. they use the ctor's session instead of passing it in again. Allow a NULL session pointer for some cases of tr_torrentParse(). 2009-04-02 17:30:29 +00:00
Mitchell Livingston 055afd2d4d update the Mac code's copyright dates 2009-01-10 23:37:37 +00:00
Mitchell Livingston f3add380e5 eliminate some more enumerator objects 2008-12-26 07:25:17 +00:00
Charles Kerr 55f263312f (trunk) patch from wereHamster to finish off tr_handle 2008-12-22 19:14:43 +00:00
Charles Kerr a1cd6d85dc (libT) add #ifdefs to ensure that client apps don't #include private libtransmission headers. 2008-11-24 20:17:36 +00:00
Mitchell Livingston fd01b7395d trivial changes 2008-11-01 22:08:02 +00:00
Mitchell Livingston 46f80eb754 eliminate all "warning: implicit declaration of function..." messages when compiling 2008-10-25 20:54:09 +00:00
Mitchell Livingston 830bb2f57b remove a redundant framework reference and other trivial changes 2008-10-01 02:40:04 +00:00
Mitchell Livingston 9ccad6ce62 capitalization changes 2008-04-07 13:25:55 +00:00
Mitchell Livingston da52925b20 fix bug where dragging on and then off a torrent file that has already been added would cause the overlay to instantly appear and fade out 2008-03-24 02:57:59 +00:00
Mitchell Livingston 32b41bb72e more string folding 2008-03-18 22:11:43 +00:00
Mitchell Livingston f80bd47056 update copyright info for 2008 2008-01-02 16:55:05 +00:00
Mitchell Livingston 83e2b3d547 play around with the drag overlay 2007-12-27 23:31:54 +00:00
Mitchell Livingston 44e56e64e8 patch up a small memory leak 2007-12-26 16:42:46 +00:00
Mitchell Livingston ec00579ea7 remove ctor from torrent creation and parse functions 2007-12-22 18:43:40 +00:00
Mitchell Livingston b276f285b0 get rid of all the deprecated functions for the ctor versions 2007-12-22 03:31:22 +00:00
Mitchell Livingston d9246b1ad4 preliminary commit of group code 2007-12-17 16:06:20 +00:00
Mitchell Livingston 06743cb430 clean up icon memory management for the window drag overlay - pointed out by Stick Men on the forum 2007-12-04 06:03:38 +00:00
Mitchell Livingston e49ca41f2c display file count in inspector next to total size, instead of under the file table 2007-11-25 04:06:26 +00:00
Mitchell Livingston cd7de9ae16 fix bug where dragging a torrent that is already opened off of the window will make the overlay appear and fade off 2007-11-17 14:43:05 +00:00
Mitchell Livingston 7f9e4d9efe when dragging a file on the window, check if it has the .torrent extension; smaller changes 2007-11-13 00:56:58 +00:00
Mitchell Livingston 92bb5c33de get mac build compiling again 2007-10-15 21:52:51 +00:00