Cœur
e5e768e2ab
fix: implicit conversion loses integer precision ( #6466 )
2023-12-31 14:04:26 -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
Dzmitry Neviadomski
1c18737e67
refactor: move macOS default app logic to dedicated class ( #6120 )
2023-10-30 20:44:32 -04:00
Dzmitry Neviadomski
fab21fc9c2
feat: add option to set macOS client as default for torrent files ( #6099 )
2023-10-23 08:33:37 -04:00
Dzmitry Neviadomski
6af7cde55e
feat: directly open macOS notifications preferences for app ( #6121 )
2023-10-20 16:01:30 -05:00
Cœur
c6b1d8851f
fix: broken UI and windows on macOS Sonoma ( #6016 )
2023-09-25 21:48:23 -05:00
Dmitry Serov
ca392ba5da
refactor: use idiomatic enum names & types in objc ( #5090 )
2023-04-15 16:33:43 -05:00
Dzmitry Neviadomski
7e353588dc
fix: Add tooltip explaining why auto adding for magnets is unavailable. ( #5035 )
...
Fixes #5034
Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2023-02-24 16:44:55 -06:00
Julien
4b8cfa2e57
chore: update copyrights to 2023 ( #4834 )
2023-02-11 14:49:42 -06:00
Charles Kerr
f01191edbc
fix: ensure prefs window is centered the first time shown ( #4659 )
2023-01-25 14:30:06 -06:00
A Cœur
191c6d1402
fix: SecKeychain is deprecated ( #4190 )
2022-11-21 23:14:10 -06:00
A Cœur
d26db72d7e
Fix "Implicit conversion loses integer precision" ( #4194 )
2022-11-21 10:19:45 -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
48e42ac71e
Fix NSURLConnection is deprecated - Use NSURLSession ( #4112 )
2022-11-11 21:29:48 -06:00
A Cœur
69fda72a8b
refactor: remove superfluous interface declarations ( #4110 )
2022-11-08 23:36:53 -06:00
A Cœur
12e564096b
fix: "Implicit conversion loses integer precision" warnings ( #3960 )
2022-10-25 11:14:42 -05:00
Dmitry Serov
3a8dc9d203
Replace preprocessor defines with constants in objc code ( #3974 )
2022-10-19 14:28:21 -05:00
Charles Kerr
bf156a97cf
refactor: port forwarding ( #3850 )
...
* refactor: rename state enum type as tr_port_forwarding_state
* chore: use snake_case for tr_shared struct fields
* refactor: replace tr_shared with tr_port_forwarding
* refactor: make tr_natpmp_state an enum class
* refactor: uniform naming for port-forwarding module
* refactor: move output-only parameters in tr_natpmp::pulse() to return struct
* fix: use a nullptr multicastif if bindaddr is empty
* chore: use PascalCase for enum class values
* chore: clean up port-forwarding #includes
* chore: remove unused tr_port_forwarding::peerPort()
2022-09-30 08:59:10 -05:00
Mike Gelfand
9539484cdc
Sync translations ( #3519 )
...
* Handle default value for `PrefWindowSize` in code
* Add new Mac client resources to Transifex config
* Remove non-user-visible titles from XIB files
* Sync translations with code
* Sync translations with Transifex
2022-07-24 18:13:04 +01:00
SweetPPro
8724c3dc1a
macOS internationalization of xibs ( #3409 )
2022-07-17 18:04:32 -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
c6b49e99d8
macOS revert fullscreen changes ( #3304 )
...
* macOS remove NSWindow subclass
as discussed in #3297
2022-06-16 12:55:33 -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
9cbb4d3384
fix a number of UI render issues in the macOS torrent creator window ( #3205 )
...
* fixes a number of UI issues in the macOS torrent creator window listed in: https://github.com/transmission/transmission/issues/1891
* also fixes positioning of the source field, the piece info textfield, and the piece info stepper
* also updates the tracker add/remove control to use the newer rounded trect style as in the rest of the UI
2022-06-05 11:14:33 -05:00
FX Coudert
f5e6c5b782
fix: minor xcode warnings in macOS client ( #3174 )
2022-06-01 19:51:09 -05:00
Antoine Cœur
5d52da8726
Address format conversion warnings in localizations ( #3059 )
2022-05-14 00:31:24 -05:00
Antoine Cœur
659969a436
Fix Display window option incorrectly enabled on start ( #3056 )
2022-05-13 21:27:31 -05:00
Antoine Cœur
d5533ee648
Fix "Port checker returned invalid status: 0" ( #3064 )
...
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-05-10 09:54:39 -05:00
Antoine Cœur
34ec2f5aa4
Adopting lightweight generics ( #2974 )
2022-04-29 17:51:40 -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
Charles Kerr
32f854a7cf
refactor: add a tr_port safety class ( #2952 )
2022-04-21 10:58:13 -05:00
Antoine Cœur
bdac708762
docs: fix various typos and misspellings ( #2955 )
2022-04-21 09:28:38 -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
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
Charles Kerr
98e16a178f
refactor: add an enumeration of the script types ( #1934 )
...
* refactor: add an enumeration of the script types
This simplifies the API by having a single set of functions that can be
used for getting/setting all the script types.
2021-10-12 22:46:12 -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