Commit Graph

23 Commits

Author SHA1 Message Date
Evgeny Kulikov
116412b27c Fix. Mac GUI. Incorrect filter selected when hiding the Filter Bar and then showing it again (#7844)
* Set filter to "All" when hiding the filter bar

Otherwise the filters will reset but the tab, for example "Downloading" will still be selected
when the filter is shown again. We want to keep the tabs synchronized with filters state.

* Remove unused BOOL parameter (the method is always called with YES)

---------

Co-authored-by: beyondcompute <beyondcompute@users.noreply.github.com>
2025-12-26 12:01:22 -06:00
Dzmitry Neviadomski
54f0417f42 Simplify "bars" logic in Main Window (#7840)
* Adopt NSTitlebarAccessoryViewController for filter and status bars

Also remove custom views as separator is drawn with Horizontal Line.
Simplifies maintainance a bit.

* Unembed main content and status bar from NSStackView

Stack is no longer needed, as bars are moved into titlebar.
2025-11-19 21:30:55 -05:00
Dzmitry Neviadomski
821e70d742 Add missing protocols to fix deprecation warnings (#7826) 2025-11-18 07:13:59 -05:00
Julien
8ac323d5d6 chore: removed copyright timespans in headers (#4850) 2023-11-01 16:11:11 -05:00
Cœur
1722f00777 chore: apply clang-format version 17.0.1 (#6054) 2023-10-01 18:45:52 -05:00
Julien
4b8cfa2e57 chore: update copyrights to 2023 (#4834) 2023-02-11 14:49:42 -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
befeafbcfe hook action in the xib (#4135) 2022-11-15 10:50:16 -06:00
Dmitry Serov
3a8dc9d203 Replace preprocessor defines with constants in objc code (#3974) 2022-10-19 14:28:21 -05:00
Dmitry Serov
7e278c453a [macOS] Optimise framework imports (#3323) 2022-06-28 19:15:52 -05:00
Antoine Cœur
34ec2f5aa4 Adopting lightweight generics (#2974) 2022-04-29 17:51:40 -05:00
Markus Amalthea Magnuson
143c5f5381 Added ability to filter on error status. (#19) 2022-03-07 01:01:01 -05:00
Dmitry Serov
54d1a02e92 Use properties instead of ivars (#2453) 2022-02-22 10:04:20 -06:00
Charles Kerr
df1cca9b57 chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06: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
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
3479946084 #4963 Support Notification Center on 10.8 2012-07-25 12:49:11 +00:00
Mitchell Livingston
8ca8c76799 bump Mac copyright to 2012 2012-01-14 17:12:04 +00:00
Mitchell Livingston
95126c5505 #4493 improve search filter behavior 2011-09-19 00:48:30 +00:00
Mitchell Livingston
c1ac1d629f restore cmd-option-f to select the search filter field when the torrent table view is selected 2011-02-20 04:34:46 +00:00
Mitchell Livingston
6d10cd2c9c move the filter bar into its own xib 2011-02-20 03:58:50 +00:00