Commit Graph

279 Commits

Author SHA1 Message Date
Julien 4b8cfa2e57
chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
SweetPPro 1e988c9ce4
fix magnet link start logic (#4528) 2023-02-02 00:19:20 -06:00
A Cœur d2ee0d2d08
feat: Align active filter macOS (#3944) 2022-11-07 11:20:15 -06:00
Dmitry Serov 3a8dc9d203
Replace preprocessor defines with constants in objc code (#3974) 2022-10-19 14:28:21 -05:00
Charles Kerr 47fe7c47d2
refactor: replace per-torrent callbacks with per-session ones. (#3495) 2022-07-23 01:04:34 -05:00
Dzmitry Neviadomski 37f7f83d4d
[macOS] Apply ObjC modernizations once again. (#3358)
This doesn't include designated initializers refactoring.
2022-06-28 23:20:42 -05:00
Dmitry Serov 7e278c453a
[macOS] Optimise framework imports (#3323) 2022-06-28 19:15:52 -05:00
Antoine Cœur 5d52da8726
Address format conversion warnings in localizations (#3059) 2022-05-14 00:31:24 -05:00
Antoine Cœur 34ec2f5aa4
Adopting lightweight generics (#2974) 2022-04-29 17:51:40 -05:00
SweetPPro a009a7f930
migrate macOS client to using tr_sessionLoadTorrents (#2686)
* migrate macOS client to using tr_sessionLoadTorrents

With this PR the macOS client now loads torrents at startup using `tr_sessionLoadTorrents`

The history file is used in tandem to provide macOS specific additions
2022-03-02 15:11:04 -08:00
Charles Kerr df1cca9b57
chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
Charles Kerr 8cdc2c633e
refactor: replace tr_torrentFiles() with tr_torrentFileProgress() (#1994)
* refactor: s/tr_torrentFiles/tr_torrentFileProgress

Replace tr_torrentFiles() with a new function, tr_torrentFileProgress().

tr_torrentFiles() heap-allocated an array of progress structs. There is
nothing intrinsic in tr_torrent making batch computation more efficient,
so this PR replaces it with tr_torrentFileProgress(), a per-file variant
that doesn't use the heap.
2021-10-21 13:31:03 -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
Dzmitry Neviadomski 18266e080e Move ivars to @implementation. 2021-01-12 22:06:30 +03: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 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 88983c1ac1 Use tr_sys_path_remove instead of remove 2015-10-23 04:09:40 +00:00
Mitchell Livingston 9236571f1c #1220 Initial Mac support for changing file and folder names. Not fully complete. 2013-01-22 00:09:48 +00:00
Mitchell Livingston 1e0f36fda0 #2794 Don't apply auto-grouping until torrent is demagnetized 2012-10-30 00:22:10 +00:00
Mitchell Livingston 6bb897d175 #4454 Patch by 0ptional: Time Machine exclusion for partial download does not work on Lion 2012-08-06 03:59:07 +00:00
Mitchell Livingston 2586396a11 Explicitly create an ivar for Torrent's remove flag 2012-07-07 02:14:08 +00:00
Mitchell Livingston 8a647287ae #2353 Add an option to the inspector to remove transfers from the list when seeding completes 2012-07-07 01:47:12 +00:00
Mitchell Livingston d7db1a4c46 revert 13327 (#4924) 2012-06-03 23:29:39 +00:00
Mitchell Livingston 5c1feaf937 #4924 Use recycleURLs:completionHandler: to trash files 2012-05-29 01:53:36 +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 3aba37aa13 remove redundant code 2011-08-28 00:07:30 +00:00
Mitchell Livingston 154f2f96af fix starting transfers when adding 2011-08-11 01:54:14 +00:00
Mitchell Livingston 9386563e5e change the (temporary) name at the cell level, not the torrent level 2011-08-05 03:11:22 +00:00
Mitchell Livingston cd5b9b16fd first go at bringing the libT queue to the Mac client 2011-08-02 12:43:26 +00:00
Mitchell Livingston d0aac9336b when removing trackers, handle hidden duplicates 2011-04-05 23:03:33 +00:00
Mitchell Livingston 5ec3f8e891 remove unused totalPeersKnown method 2011-03-04 03:13:15 +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 cb99607614 #1408 display elapsed time in the Mac UI 2010-12-23 20:07:41 +00:00
Mitchell Livingston 3f20d52371 #3675 "Not all .part files are removed" - Mac patch 2010-12-16 03:39:11 +00:00
Mitchell Livingston ef3865ec45 only show the eta string for idle seeding time remaining if the time is less than 2 minutes 2010-08-14 17:32:52 +00:00
Mitchell Livingston c3715ca6ce add a stat for the eta of the seeding idle limit, and use it in the Mac eta display 2010-08-14 15:30:43 +00:00
Mitchell Livingston 8bee7fa23c update Mac build for the change from inactive to idle 2010-07-24 03:19:41 +00:00
Mitchell Livingston feb6e6b785 fix inactivity typo 2010-07-23 11:02:57 +00:00
Mitchell Livingston fd0dd10419 First go at #2560 "inactive seeding time limit". libtransmission and Mac support are currently implemented. 2010-07-16 03:12:57 +00:00
Mitchell Livingston a17dfd02b2 add "local peer discovery" peer info to the inspector 2010-05-01 16:19:40 +00:00
Mitchell Livingston 6a4954e867 #1869 Move the finished state to libtransmission. This setting is now remembered between launches. This also causes torrents that hit the seed ratio to not have this setting changed to unlimited until start. 2010-04-02 17:57:25 +00:00
Mitchell Livingston 1ed383776f when adding a new tracker, display tier as "New Tier" 2010-02-15 19:26:23 +00:00
Mitchell Livingston 26ccf12b3e #2902 New tracker addition field obscured when trackers vertically fill inspector view 2010-02-14 04:48:12 +00:00
Mitchell Livingston 4524029ab4 add the ability to remove trackers when multiple torrents are selected 2010-02-13 04:30:47 +00:00
Mitchell Livingston 1dd5dddcec improve how tracker tiers are sent to the inspector code 2010-02-06 02:35:27 +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 6138daec3f add an identifier to trackers, for use by the ui's (this should hopefully fix the problem for removing trackers with "invisible" trackers) 2010-01-10 02:34:00 +00:00