Commit Graph

84 Commits

Author SHA1 Message Date
Cœur
1b81883e66 fix: crash on launch from tapping on a notification (#5280) 2023-03-24 08:04:30 -05:00
Cœur
8a374a3310 fix: macOS watchdirs (#5058) 2023-02-25 22:50:30 -06:00
Dzmitry Neviadomski
026ab5ffc6 fix: Use bounds for relative NSPopover positioning. (#5019)
Fixes #5013

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2023-02-23 18:40:29 -06:00
Julien
4b8cfa2e57 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -06:00
Cœur
3fb1f8bcd7 fix: CoreAutoLayout hang during runCustomizationPalette on macOS 13.2 (#4709) 2023-02-06 12:54:38 -06:00
Cœur
41b8044b88 fix ToolbarItemIdentifierPauseResumeAll (regression from #3974) (#4692) 2023-01-31 11:04:41 -06:00
Clément Fauchereau
096db96bca fix: two Help menus in macOS (#4500) 2023-01-14 15:25:57 -06:00
SweetPPro
d967de0c5b macOS remove defunct share code (#4440) 2022-12-22 15:44:46 -06:00
Cœur
db802afc4f Addressed various warnings (#4414) 2022-12-21 14:21:16 -06:00
Cœur
cc9bc748b0 Removed ToolbarSegmentedCell (#4418) 2022-12-21 11:13:12 -06:00
Cœur
578099bf1c Replaced deprecated NSURLDownload with NSURLSessionDownloadTask. (#4308) 2022-12-15 18:19:27 -06:00
Cœur
fe1ee80342 Sorting by size should be instead by sizeWhenDone (#4365) 2022-12-14 11:46:32 -06:00
Cœur
84c0001e2f Fixed archivedDataWithRootObject: is deprecated (#4310) 2022-12-14 00:42:49 -06:00
SweetPPro
9f2a981c8c fix: empty tableview rows on macOS (#4333) 2022-12-09 13:06:00 -06:00
A Cœur
e4276a3018 Use NSIndexSet getIndexes:maxCount:inIndexRange: directly (#4179) 2022-11-27 23:10:03 -06:00
Daniil Subbotin
9a6fbc9ced Fix deleting previously selected torrent when trying to clear search field using Command + Delete (#4245)
* Fix deleting previously selected torrent when trying to clear search field using Command + Delete

Fixes #3599

* Fixes after code review

* Fixes after code review

* chore: make clang-format happy

Co-authored-by: Daniil Subbotin <d.subbotin@opends.tech>
2022-11-27 22:31:26 -06:00
A Cœur
3ecf0dfccd Fix "NSFilenamesPboardType is deprecated" (#4221) 2022-11-23 17:09:32 -06:00
A Cœur
b612020576 Support UserNotifications framework (#3040) 2022-11-23 13:47:56 -06:00
A Cœur
bde1359d5d Adopt localizedStringWithFormat for displayed quantities (#4109)
* Adopt localizedStringWithFormat for displayed quantities

* xib internationalization support is done
2022-11-14 18:30:03 +00:00
A Cœur
855b782604 Accessibility description for images (#4149) 2022-11-13 21:39:34 -06:00
A Cœur
ff2e544a6b Fix "Block implicitly retains 'self'" (#4132) 2022-11-13 13:10:58 -06:00
A Cœur
d2ee0d2d08 feat: Align active filter macOS (#3944) 2022-11-07 11:20:15 -06:00
A Cœur
46eab5f3f8 Fix "User-facing text should use localized string macro" (#4030) 2022-10-31 09:37:34 -05:00
Dmitry Serov
3a8dc9d203 Replace preprocessor defines with constants in objc code (#3974) 2022-10-19 14:28:21 -05:00
A Cœur
4ea9c87fea fix: some typos (#3904) 2022-10-13 09:35:10 -05:00
A Cœur
0954e28780 Sort order by activity is reversed (#3924) 2022-10-10 12:39:51 -05:00
Dzmitry Neviadomski
bfe6953822 macOS: Hide Title (App Name) on BigSur and later. (#3919)
Also specify Unified Toolbar Style explicitly, as hiding title
triggers Unified Compact style.

Fixes #3891

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2022-10-09 10:37:11 +03:00
Charles Kerr
76a7994eef refactor: remove tr_free() (#3668) 2022-08-18 09:14:12 -05:00
Charles Kerr
bfec98c323 refactor: avoid tr_new() in transmission-remote (#3665) 2022-08-17 20:25:42 -05:00
Charles Kerr
e49747ab51 feat: add tr_strvToBuf() (#3657)
* feat: add tr_getDefaultConfigDirToBuf()

* feat: add tr_getDefaultDownloadDirToBuf()

* feat: add tr_strvToBuf()

* feat: add tr_torrentFindFileToBuf()

* feat: add tr_torrentGetMagnetLinkToBuf()

* refactor: remove unused makeString() from tests

* feat: add tr_torrentFilenameToBuf()

* feat: add tr_torrentGetTrackerListToBuf()

* chore: remove obsolete comment references to tr_free

* chore: remove unused tr_strdup()

* chore: remove unused forward declarations
2022-08-16 19:28:57 -05:00
Charles Kerr
9c7fcf85cf refactor: tr_stats (#3542) 2022-07-28 18:56:40 -05:00
Dzmitry Neviadomski
42924f3e97 [macOS] Revamp Toolbar Segments (#3512)
Fixes #3498.
2022-07-23 14:37:57 -05:00
Charles Kerr
47fe7c47d2 refactor: replace per-torrent callbacks with per-session ones. (#3495) 2022-07-23 01:04:34 -05:00
Charles Kerr
445aad56a0 test: add platform tests (#3514)
* test: add tr_getDefaultDownloadDir() tests

this also indirectly tests xdg and homedir

* test: add PlatformTest.defaultConfigDirEnv

* test: add PlatformTest.defaultConfigDirXdgConfig

test: add PlatformTest.defaultConfigDirXdgConfigHome

* test: add PlatformTest.webClientDirEnvClutch

test: add PlatformTest.webClientDirEnvTr

test: add PlatformTest.webClientDirXdgDataHome

* fixup! test: add PlatformTest.webClientDirEnvClutch

fix: win32 breakage
2022-07-22 20:10:02 -05:00
SweetPPro
8724c3dc1a macOS internationalization of xibs (#3409) 2022-07-17 18:04:32 -05:00
SweetPPro
5fc9f22fab use the default toolbar button size on macOS 11+ (#3433) 2022-07-11 19:45:50 -05:00
Dzmitry Neviadomski
3e73913a1d [macOS] Use NSAlert APIs to show alert suppression checkbox (#3360)
* [macOS] Simplify branching for termination prevention

* [macOS] Use NSAlert APIs to show alert suppression checkbox
2022-07-02 16:38:27 -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
SweetPPro
e678f7c5f5 macOS fix quicklook toolbar icon status (#3345)
Fixes #3235
2022-06-28 18:19:06 -05:00
SweetPPro
b80e9bd8c2 macOS use standard toolbar buttons (#3356)
Co-authored-by: Dmitry Serov <barbari100@gmail.com>
2022-06-28 16:14:10 -05:00
SweetPPro
849a36a30d macOS fix Toolbar show/hide on macOS Mojave (#3327) 2022-06-24 00:26:36 -05:00
SweetPPro
286d438222 macOS use AutoLayout in utility bars (#3326)
update filterbar to use constraints=
2022-06-23 11:18:53 -05:00
A Cœur
7f01ee52fe Set torrent file's metainfo for magnets (#3322) 2022-06-21 16:47:57 -05:00
SweetPPro
90f2757448 macOS fullscreen and autosize fixes (#3315)
use constraints to set window size and remove a bunch of manual calculations
2022-06-18 12:39:22 -05:00
FX Coudert
e0c593741c Raise minimum supported target to macOS 10.13 (High Sierra) (#3310) 2022-06-18 09:26:45 -05:00
SweetPPro
06e5767234 macOS add full screen support (#3305) 2022-06-16 14:59:54 -05:00
SweetPPro
c6b49e99d8 macOS revert fullscreen changes (#3304)
* macOS remove NSWindow subclass

as discussed in #3297
2022-06-16 12:55:33 -05:00
SweetPPro
037f1bf403 macOS remove NSWindow subclass (#3303) 2022-06-16 09:29:50 -05:00
Dzmitry Neviadomski
f8264ce957 [macOS] Fix global popover clipping. (#3264)
* [macOS] Fix global popover clipping.

Fixes #3263

* [macOS] Detach global popover via ugly hack.
2022-06-13 12:26:30 -05:00