Commit Graph

21 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
Cœur
5d56e9039a fix: torrentTableView crash after superview.superview.superview (#6207) 2023-11-05 14:35:22 -06:00
Dmitry Serov
2a65169461 refactor: remove unnecessary NSNotificationCenter observer removals (#5118) 2023-11-03 12:50:45 -05:00
Julien
8ac323d5d6 chore: removed copyright timespans in headers (#4850) 2023-11-01 16:11:11 -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
69fda72a8b refactor: remove superfluous interface declarations (#4110) 2022-11-08 23:36:53 -06:00
A Cœur
fa7100bdef Auto enlarge search field when editing (#4067) 2022-11-01 20:40:24 -05: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
SweetPPro
286d438222 macOS use AutoLayout in utility bars (#3326)
update filterbar to use constraints=
2022-06-23 11:18:53 -05:00
SweetPPro
06e5767234 macOS add full screen support (#3305) 2022-06-16 14:59:54 -05:00
Antoine Cœur
60254710b8 Rename sortTorrentsAndIncludeQueueOrder and nonEmptyComponentsSeparatedByCharactersInSet (#3051)
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-05-14 14:00:55 -05:00
Antoine Cœur
34ec2f5aa4 Adopting lightweight generics (#2974) 2022-04-29 17:51:40 -05:00
Mike Gelfand
d943f069f5 Fix code_style.sh to include *.mm files after switch to Obj-C++ (#2846) 2022-03-31 00:52:23 +03: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
C.W. Betts
3b4909ac9d Move private interfaces to interface extensions (#932) 2022-01-23 19:32:45 -06:00
Charles Kerr
df1cca9b57 chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
Dzmitry Neviadomski
b8c01a581e [macos] Replace Deprecated constants. (#2038)
* Replace Deprecated constants pt.1

- `NSOnState` -> `NSControlStateValueOn`
- `NSOffState` -> `NSControlStateValueOff`
- `MSMixedState` -> `NSControlStateValueMixed`

* Replace Deprecated constants pt.2

- `NS(\w+)AlertStyle` -> `NSAlertStyle$1`

* Replace Deprecated constants pt.3

- `NSFileHandlingPanel(\w+)Button` -> `NSModalResponse$1`

* Replace Deprecated constants pt.4

- `NSMouse(Entered|Exited)Mask` -> `NSEventMaskMouse$1`
- `NS(Left|Right)Mouse(Down|Up|Dragged)Mask` -> `NSEventMask$1Mouse$2`
- `NSMouse(Entered|Exited)` -> `NSEventTypeMouse$1`
- `NS(Left|Right)Mouse(Up|Down)` -> `NSEventType$1Mouse$2`

* Replace Deprecated constants pt.5

- `NSComposite(\w+)` -> `NSCompositingOperation$1`

* Replace Deprecated constants pt.6

- `NSAlternateKeyMask` -> `NSEventModifierFlagOption`
- `NSCommandKeyMask` -> `NSEventModifierFlagCommand`

* Replace Deprecated constants pt.7

- `NS(\w+)TextAlignment` -> `NSTextAlignment$1`
- `NSBackgroundStyleDark` -> `NSBackgroundStyleEmphasized`

* Replace Deprecated constants pt.8

- `NSTexturedRoundedBezelStyle` -> `NSBezelStyleTexturedRounded`
- `NSBorderlessWindowMask` -> `NSWindowStyleMaskBorderless`
- `NS(OK|Cancel)Button` -> `NSModalResponse$1`
2021-10-31 10:18:27 -05:00
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