Commit Graph

35 Commits

Author SHA1 Message Date
Mike Gelfand b7ba261359
Port macOS client to C++ (#1830)
* Rename all .m (Obj-C) files to .mm (Obj-C++)

* Fix build in Obj-C++ mode

* Fix Xcode build
2021-09-24 07:56:57 -05:00
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 1527698de4 Fix a few deprecation warnings 2021-01-02 23:29:08 -05: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
Mike Gelfand c951848a5b Merge branch '2.9x' 2018-05-01 22:44:51 +03:00
Mike Gelfand 69d9afd75a Adjust CFBundleVersion format to fix Sparkle update check
Set the first version component to be the same as the last Subversion-based
release build version and add two more components (major and minor version
numbers). To allow for nightly build updates this should probably include
another component (e.g. build timestamp), but we're not there yet.
2018-04-17 13:25:49 +03:00
Dmitry Serov 845dfe6017 Transition to ARC 2017-07-29 23:14:22 +07:00
Dmitry Serov 95ae0688eb NSDictionary subscripting 2017-07-08 21:38:47 +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
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 bc79f36f8c #3948 Fix crash with command-option-w 2011-11-15 00:09:17 +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 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 5812c61812 small code nudges here and there 2009-12-23 02:02:11 +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 055afd2d4d update the Mac code's copyright dates 2009-01-10 23:37:37 +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 5b2f63e781 trivial changes 2008-09-07 16:08:29 +00:00
Mitchell Livingston 857cf6ad00 replace LICENSE with COPYING 2008-07-04 14:19:47 +00:00
Mitchell Livingston 86a701be34 miscellaneous cleanup 2008-03-23 03:57:14 +00:00
Mitchell Livingston f80bd47056 update copyright info for 2008 2008-01-02 16:55:05 +00:00
Mitchell Livingston 8d4d653044 for seeding peers overlay a check mark on progress bar 2007-09-25 21:11:54 +00:00
Mitchell Livingston 2d9875f07a miss a localized button in About window 2007-09-24 12:44:35 +00:00
Mitchell Livingston 1dda5836cf delocalize About window 2007-09-24 12:28:44 +00:00
Mitchell Livingston 844341faef this better work 2007-09-16 01:02:06 +00:00
Mitchell Livingston 1b11564e92 remove Growl 1.1... 2007-09-16 00:52:32 +00:00
Mitchell Livingston 71e3ffa3fc use colors and rects instead of images for creating the pieces view 2007-08-16 02:11:08 +00:00
Mitchell Livingston df0c5a8764 get About copyright info from the localized string file instead of the nib 2007-08-16 01:31:36 +00:00
Mitchell Livingston 02447d12b5 make short and long version strings the next release instead of the current release (peer id is still the current release with a beta flag) 2007-07-25 00:06:59 +00:00
Mitchell Livingston 8b306b674c new about window and updated credits file, inspired by adium's 2007-07-22 18:04:31 +00:00