aboutsummaryrefslogtreecommitdiffstats
path: root/Sources/WireGuardApp/UI/macOS (follow)
Commit message (Collapse)AuthorAgeFilesLines
* App: bump copyrightJason A. Donenfeld2023-02-1531-31/+31
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* App: bump minimum OS versionsJason A. Donenfeld2023-02-151-18/+14
| | | | | | This allows us to remove a good deal of legacy cruft. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: apply MIT more consistentlyJason A. Donenfeld2022-11-172-2/+2
| | | | | | People keep asking. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: macOS: increase login detector file timeoutJason A. Donenfeld2021-09-231-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* WireGuardApp: use file to communicate launch-by-login-helperJason A. Donenfeld2021-09-225-40/+43
| | | | | | Apple event params are broken on recent macOS versions. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MacAppStoreUpdateDetector: Detect StoreAEService correctlyRoopesh Chander2021-09-221-1/+1
| | | | | | | | | | In macOS 10.15 and macOS 11, the quit Apple event is sent by: com.apple.AppStoreDaemon.StoreAEService In some earlier macOS release, the quit Apple event was sent by: com.apple.CommerceKit.StoreAEService Signed-off-by: Roopesh Chander <roop@roopc.net>
* MacAppStoreUpdateDetector: Add pid to the logRoopesh Chander2021-09-221-1/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* build: Fix swiftlint warningsRoopesh Chander2021-09-224-4/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* build: Fix swift warningsRoopesh Chander2021-09-223-3/+3
| | | | | | Use 'AnyObject' instead of 'class' to restrict protocol inheritance Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: macOS: do on-demand ritual for clicking list item tooJason A. Donenfeld2021-09-222-7/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: macOS: Incorporate on-demand-ness in status menuRoopesh Chander2021-07-301-6/+29
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: macOS: Tunnel detail: Incorporate on-demand-ness in toggle buttonRoopesh Chander2021-07-302-27/+56
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: macOS: Tunnel detail: Incorporate on-demand-ness in the status rowRoopesh Chander2021-07-302-19/+41
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: macOS: Tunnel list: Incorporate on-demand-ness in the status circleRoopesh Chander2021-07-301-6/+18
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* UI: macOS: Add yellow circle imageRoopesh Chander2021-07-304-3/+25
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: bump copyright yearJason A. Donenfeld2021-06-1731-31/+31
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: macOS: Group more than 10 tunnels into submenuAndrej Mihajlov2020-12-231-32/+137
| | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net>
* UI: use NotificationToken to properly clean up observersAndrej Mihajlov2020-12-221-2/+5
| | | | | | | When the variable goes out of scope, the observer isn't removed unless an explicit call is made to the token. Signed-off-by: Andrej Mihajlov <and@mullvad.net>
* UI: macOS: Fix UTF-8 and UTF-16 conversions in highlighter codeAndrej Mihajlov2020-12-172-9/+25
| | | | | | NSString uses UTF-16 internally, while String uses UTF-8 in Swift 5. Signed-off-by: Andrej Mihajlov <and@mullvad.net>
* UI: macOS: remove donation link1.0.10-19Jason A. Donenfeld2020-12-161-3/+1
| | | | | | | | | Apple forbids us from having a simple donation link in the "About WireGuard" dialog, due to new policies. And arguing with the giant is not going to be a fruitful battle. Do the practical thing and just remove it. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: support DNS search domainsJason A. Donenfeld2020-12-151-6/+6
| | | | | | | This has been supported by Windows and Linux for quite some time. Add support here for iOS and macOS. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: fix remaining swiftlint violationsJason A. Donenfeld2020-12-091-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: bump year in headerJason A. Donenfeld2020-12-0431-31/+31
| | | | | | A bit overdue, but better late than never. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* WireGuardApp: Add back the wireguard-go version extraction script and use WIREGUARD_GO_VERSION directlyAndrej Mihajlov2020-12-041-1/+1
| | | | | | Avoids linking against libwg-go.a in order to access the WireGuard backend version. Signed-off-by: Andrej Mihajlov <and@mullvad.net>
* WireGuardApp: integrate WireGuardKit sources directlyAndrej Mihajlov2020-12-034-4/+0
| | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net>
* Move all source files to `Sources/` and rename WireGuardKit targetsAndrej Mihajlov2020-12-0368-0/+4595
Signed-off-by: Andrej Mihajlov <and@mullvad.net>