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
SweetPPro
955091ce12
macOS - fix some window drawing issues ( #3278 )
...
* macOS - fix some window drawing issues
fixes an issue with torrent clipping when number of torrents displayed overflows the screen height
2022-06-13 09:48:09 -05:00
SweetPPro
c3cd9cffad
re-add macOS Fullscreen support ( #3261 )
...
* re-add macOS Fullscreen support
re added Full Screen support for macOS. Also refactored window methods in Controller.mm and moved to their own category - ControllerWindowMethods.mm
This has currently only been tested on macOS Monterey, and should be good on earlier versions - but perhaps needs testing on earlier versions of macOS.
fixes #3231 #3234
2022-06-12 19:54:52 -05:00
A Cœur
af5db6e6f2
refactor: autogenerate the macOS client's Message Log dots ( #3224 )
...
* Replaces DotFlat png with generated icons
* code review: udating popup item icons
* code review: increasing inset
2022-06-08 16:35:51 -05:00
SweetPPro
aabb8c809e
macOS remove FullScreen support ( #3220 )
...
removed fullscreen support, as it opens a can of worms trying to fully support it....
https://github.com/transmission/transmission/issues/3215#issuecomment-1147477253
2022-06-08 14:15:51 -05:00
A Cœur
7b6b87b0e6
fix: macOS build warning "cannot find protocol definition for 'PortCheckerDelegate'" ( #3222 )
2022-06-07 14:27:40 -05:00
SweetPPro
163f6c2544
more FullScreen fixes, and some toolbar animation fixes ( #3195 )
...
* Update Controller.mm
fix fullscreen behaviour as described here https://github.com/transmission/transmission/issues/1906
* more FullScreen fixes, and some toolbar animation fixes
https://github.com/transmission/transmission/issues/1906 , https://github.com/transmission/transmission/issues/1903
2022-06-05 08:49:31 -05:00
A Cœur
84195254ec
Fix: "Cannot begin activity without reason string or empty reason string" ( #3197 )
2022-06-04 18:42:32 -05:00
SweetPPro
d31254df50
Update Controller.mm ( #3191 )
...
fix fullscreen behaviour as described here https://github.com/transmission/transmission/issues/1906
2022-06-04 14:30:03 -05:00
SweetPPro
182e51492a
fix macOS statusBar icons ( #3113 )
...
* fix macOS statusBar icons
* improved CleanupTemplagte images
2022-05-27 06:59:37 -05:00
Antoine Cœur
e23a4b3589
refactor copyMagnetLinks ( #3086 )
2022-05-16 12:08:20 -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
wiz78
79274bb335
macOS: disable App Nap. Fixes #577 ( #874 )
...
* disable App Nap
* Update Controller.m
merged with upstream changes
* Delete Controller.m
* chore: code-style.sh
Co-authored-by: Simone Tellini <wiz78>
Co-authored-by: Simone Tellini <simone@Argon.local>
Co-authored-by: Simone Tellini <simone@tellini.info>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-05-14 01:57:20 -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
Antoine Cœur
aafedcaae1
Address deprecations with NSKeyedUnarchiver ( #2973 )
2022-04-29 16:44:59 -05:00
Antoine Cœur
7f9264940e
Compatibility to build on the last macOS 32 bit system with its last compatible Xcode ( #2844 )
...
* Compatibility to build on the last macOS 32 bit system with its last compatible Xcode
* Code review: Compatibility declarations
* compatibility with `make`
* Code review: headers
* Avoiding dummy NSImageSymbolConfiguration implementation
* clang-format
* Don't force-include compat header
* Remove compat header from pch header
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: Mike Gelfand <mikedld@mikedld.com>
2022-04-24 21:34:30 +01:00
Antoine Cœur
bdac708762
docs: fix various typos and misspellings ( #2955 )
2022-04-21 09:28:38 -05:00
Antoine Cœur
bafb8d6495
Trim spaces when using cmd+u sheet ( #2915 )
2022-04-15 23:02:25 -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
Charles Kerr
54ef7341a2
refactor: fmt pt 4 ( #2774 )
...
Co-authored-by: Mike Gelfand <mikedld@mikedld.com>
2022-03-16 19:23:44 -05:00
Markus Amalthea Magnuson
143c5f5381
Added ability to filter on error status. ( #19 )
2022-03-07 01:01:01 -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
Dmitry Serov
54d1a02e92
Use properties instead of ivars ( #2453 )
2022-02-22 10:04:20 -06:00
FX Coudert
4fe33496c7
macOS: remove quitting badge ( #2495 )
...
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-01-25 11:45:06 -06:00
Charles Kerr
df1cca9b57
chore: update copyright years, make notices consistent ( #2463 )
2022-01-20 12:27:56 -06:00
Charles Kerr
8b65b660c8
refactor: use std::string in tr_file ( #2382 )
2022-01-08 12:53:35 -06:00
Charles Kerr
3f8cf63e59
refactor: use tr_torrent_metainfo in mac client ( #2343 )
2021-12-25 21:12:32 -06:00
Charles Kerr
1e20d676c1
refactor: make tr_torrentInfo() private ( #2285 )
...
* refactor: make tr_torrentInfo() private
2021-12-14 15:59:44 -06:00
Dzmitry Neviadomski
689063b305
Fix deprecated NSURL to NSString conversion. ( #2090 )
...
clang warning:
```
'stringByReplacingPercentEscapesUsingEncoding:' is deprecated: first deprecated in macOS 10.11 - Use -stringByRemovingPercentEncoding instead, which always uses the recommended UTF-8 encoding. [-Wdeprecated-declarations]
```
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2021-11-03 10:04:05 -05:00
Dzmitry Neviadomski
1bf6189526
Migrate Deprecated OSAtomicIncrement32 function. ( #2074 )
...
As per clang output:
`warning: 'OSAtomicIncrement32' is deprecated: first deprecated in macOS 10.12 - Use std::atomic_fetch_add_explicit(std::memory_order_relaxed) from <atomic> instead`
2021-11-03 01:00:52 -05: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
Charles Kerr
241dc34019
fixup! refactor: tr_variant*Str() functions now take a std::string_view ( #1990 ) ( #1999 )
2021-10-20 17:43:31 -05:00
Charles Kerr
1fb5a79813
refactor: use maybe unused attribute ( #1918 )
...
* refactor: replace TR_UNUSED with [[maybe_unused]]
2021-10-10 11:52:26 -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