]> git.ipfire.org Git - thirdparty/wireguard-apple.git/log
thirdparty/wireguard-apple.git
5 years agoLocalization: Add Italian translation
Roopesh Chander [Sat, 11 Apr 2020 11:07:18 +0000 (16:37 +0530)] 
Localization: Add Italian translation

Signed-off-by: Roopesh Chander <roop@roopc.net>
5 years agoLocalization: Wire up Japanese translation
Roopesh Chander [Wed, 8 Apr 2020 07:41:08 +0000 (13:11 +0530)] 
Localization: Wire up Japanese translation

By adding the translated Localizable.strings to the Xcode project

Signed-off-by: Roopesh Chander <roop@roopc.net>
5 years agohighlighter: insist on 256-bit keys, not 257-bit or 258-bit
Jason A. Donenfeld [Sat, 4 Apr 2020 05:17:56 +0000 (23:17 -0600)] 
highlighter: insist on 256-bit keys, not 257-bit or 258-bit

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoJapanese Translation
Eiji Tanioka [Sun, 23 Feb 2020 07:11:17 +0000 (16:11 +0900)] 
Japanese Translation

Translation for wireguard-apple. Checked on Xcode iOS simulator but not
all messages.

Signed-off-by: Eiji Tanioka <tanioka404@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agowireguard-go-bridge: use C string instead of gostring_t
Andrej Mihajlov [Fri, 7 Feb 2020 11:31:42 +0000 (12:31 +0100)] 
wireguard-go-bridge: use C string instead of gostring_t

Signed-off-by: Andrej Mihajlov <and@mullvad.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoVersion bump 0.0.20200127-17
Jason A. Donenfeld [Mon, 27 Jan 2020 11:10:53 +0000 (12:10 +0100)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agowireguard-go-bridge: bump
Jason A. Donenfeld [Mon, 27 Jan 2020 11:10:21 +0000 (12:10 +0100)] 
wireguard-go-bridge: bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoUpdate repo urls
Jason A. Donenfeld [Mon, 30 Dec 2019 10:54:13 +0000 (11:54 +0100)] 
Update repo urls

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agowireguard-go-bridge: style
Jason A. Donenfeld [Wed, 20 Nov 2019 08:59:21 +0000 (09:59 +0100)] 
wireguard-go-bridge: style

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoREADME: specify required version in readme
Jason A. Donenfeld [Tue, 5 Nov 2019 10:59:24 +0000 (18:59 +0800)] 
README: specify required version in readme

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoVersion bump 0.0.20191105-16
Jason A. Donenfeld [Tue, 5 Nov 2019 09:24:04 +0000 (17:24 +0800)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years ago[REVERT ME SOON] TunnelsManager: Workaround for macOS Catalina deleting tunnels arbit...
Roopesh Chander [Thu, 31 Oct 2019 07:16:42 +0000 (12:46 +0530)] 
[REVERT ME SOON] TunnelsManager: Workaround for macOS Catalina deleting tunnels arbitrarily

In macOS Catalina, for some users, the tunnels get deleted arbitrarily
by the OS. It's not clear what triggers that.

As a workaround, in macOS Catalina, when we realize that tunnels have
been deleted outside the app, we reinstate those tunnels using the
information in the keychain.

Signed-off-by: Roopesh Chander <roop@roopc.net>
5 years agowireguard-go-bridge: update to 1.13.4
Jason A. Donenfeld [Tue, 5 Nov 2019 09:20:31 +0000 (17:20 +0800)] 
wireguard-go-bridge: update to 1.13.4

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoUI: iOS: more dark mode fixes
Jason A. Donenfeld [Fri, 25 Oct 2019 08:59:16 +0000 (10:59 +0200)] 
UI: iOS: more dark mode fixes

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agowireguard-go-bridge: work around Go 1.13.3 regression
Jason A. Donenfeld [Wed, 23 Oct 2019 11:20:36 +0000 (13:20 +0200)] 
wireguard-go-bridge: work around Go 1.13.3 regression

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoRevert "NetworkExtension: don't use exit(0) hack on Catalina"
Jason A. Donenfeld [Tue, 15 Oct 2019 14:51:50 +0000 (16:51 +0200)] 
Revert "NetworkExtension: don't use exit(0) hack on Catalina"

This reverts commit 3619279a65d9a506fb13d7f24909b38a5202fa8f.

Still broken!

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoVersion bump 0.0.20191015-15
Jason A. Donenfeld [Tue, 15 Oct 2019 12:53:34 +0000 (14:53 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoiOS: UI: Make edit views full screen modal
Jason A. Donenfeld [Tue, 15 Oct 2019 12:51:04 +0000 (14:51 +0200)] 
iOS: UI: Make edit views full screen modal

This might be worse on the iPad. Oh well.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoNetworkExtension: don't use exit(0) hack on Catalina
Jason A. Donenfeld [Tue, 15 Oct 2019 09:44:13 +0000 (11:44 +0200)] 
NetworkExtension: don't use exit(0) hack on Catalina

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoUI: iOS: adjust colors for iOS 13
Diab Neiroukh [Mon, 14 Oct 2019 21:43:56 +0000 (22:43 +0100)] 
UI: iOS: adjust colors for iOS 13

To be compatible with Dark Mode, we need to change some of our
color references to be "dynamic".

Signed-off-by: Diab Neiroukh <officiallazerl0rd@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoVersion bump 0.0.20191012-14
Jason A. Donenfeld [Sat, 12 Oct 2019 19:59:52 +0000 (21:59 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoiOS: UI: abort is optimized out in release builds
Jason A. Donenfeld [Sat, 12 Oct 2019 20:20:30 +0000 (22:20 +0200)] 
iOS: UI: abort is optimized out in release builds

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoKeychain: make verification errors only happen when we're sure it's due to not found
Jason A. Donenfeld [Fri, 11 Oct 2019 19:52:55 +0000 (21:52 +0200)] 
Keychain: make verification errors only happen when we're sure it's due to not found

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agoui: add donation link
Jason A. Donenfeld [Fri, 11 Oct 2019 19:31:20 +0000 (21:31 +0200)] 
ui: add donation link

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agowireguard-go-bridge: reduce version checks and cleanup
Jason A. Donenfeld [Tue, 8 Oct 2019 14:40:21 +0000 (16:40 +0200)] 
wireguard-go-bridge: reduce version checks and cleanup

We now rely on -trimpath which restricts us to >= 1.13, and the patch
application should fail too. This has the downside that the user will
need to clean their xcode project when they upgrade go, though.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5 years agowireguard-go-bridge: update for 1.13
Jason A. Donenfeld [Thu, 19 Sep 2019 05:26:57 +0000 (23:26 -0600)] 
wireguard-go-bridge: update for 1.13

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoUI: iOS: set CFBundleDisplayName to satisfy new ITMS-90783 error
Jason A. Donenfeld [Fri, 28 Jun 2019 12:42:43 +0000 (14:42 +0200)] 
UI: iOS: set CFBundleDisplayName to satisfy new ITMS-90783 error

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump 0.0.20190610-13
Jason A. Donenfeld [Fri, 28 Jun 2019 11:51:32 +0000 (13:51 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoWgQuickConfig: Swift treats \r\n as a single character
Jason A. Donenfeld [Fri, 28 Jun 2019 10:26:39 +0000 (12:26 +0200)] 
WgQuickConfig: Swift treats \r\n as a single character

let blah = "hello\nworld\ndoes\nthis\nwork"
print(blah.split(separator: "\n"))
//output: ["hello", "world", "does", "this", "work"]

let blah2 = "hello\r\nworld\r\ndoes\r\nthis\r\nwork"
print(blah2.split(separator: "\n"))
//output: ["hello\r\nworld\r\ndoes\r\nthis\r\nwork"]
//expected: ["hello\r", "world\r", "does\r", "this\r", "work\r"]

In blah2, the string splitting fails because swift considers \r\n to be
its own character.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoUI: macOS: Show useful error message on .conf import
Jason A. Donenfeld [Fri, 28 Jun 2019 10:06:58 +0000 (12:06 +0200)] 
UI: macOS: Show useful error message on .conf import

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoiOS: Importing: If tunnelsManager isn't ready yet, we should wait for it
Roopesh Chander [Thu, 13 Jun 2019 17:31:47 +0000 (23:01 +0530)] 
iOS: Importing: If tunnelsManager isn't ready yet, we should wait for it

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel detail: Handle deletion outside app, again
Roopesh Chander [Thu, 13 Jun 2019 12:55:13 +0000 (18:25 +0530)] 
macOS: Tunnel detail: Handle deletion outside app, again

This was previously done in commit f281b93, but the changes in commit
1507a97 for handling deletion of multiple tunnels undid this capability.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: store UID on macOS for keychain availability
Jason A. Donenfeld [Tue, 11 Jun 2019 00:03:11 +0000 (02:03 +0200)] 
TunnelsManager: store UID on macOS for keychain availability

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump 0.0.20190610-12
Jason A. Donenfeld [Mon, 10 Jun 2019 16:50:01 +0000 (18:50 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnelProvider: remove all cleverness
Jason A. Donenfeld [Mon, 10 Jun 2019 16:47:39 +0000 (18:47 +0200)] 
TunnelProvider: remove all cleverness

This will cause more socket flaps than necessary but hopefully will fix
some bugs.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoon-demand: iOS: Fix crash on selecting Any SSID when already selected
Roopesh Chander [Sun, 9 Jun 2019 18:17:05 +0000 (23:47 +0530)] 
on-demand: iOS: Fix crash on selecting Any SSID when already selected

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: Don't crash on encountering unexpected on-demand rules
Roopesh Chander [Sun, 9 Jun 2019 11:07:20 +0000 (16:37 +0530)] 
on-demand: Don't crash on encountering unexpected on-demand rules

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Remove unused strings
Roopesh Chander [Tue, 4 Jun 2019 19:57:33 +0000 (01:27 +0530)] 
macOS: Remove unused strings

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVersion bump 0.0.20190609-11
Jason A. Donenfeld [Sun, 9 Jun 2019 09:38:49 +0000 (11:38 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: remove store update escape hatch
Jason A. Donenfeld [Sun, 9 Jun 2019 09:37:45 +0000 (11:37 +0200)] 
macOS: remove store update escape hatch

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnelProvider: store the entire NWPath
Jason A. Donenfeld [Sat, 8 Jun 2019 20:35:09 +0000 (22:35 +0200)] 
TunnelProvider: store the entire NWPath

Otherwise [utun0, en0] == [en0, utun0] before WiFi has connected, and we
wind up not rebinding after WiFi does successfully connect, which means
people have trouble when resuming from sleep.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoREADME: update repo location
Jason A. Donenfeld [Thu, 6 Jun 2019 10:23:07 +0000 (12:23 +0200)] 
README: update repo location

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump 0.0.20190531-10
Jason A. Donenfeld [Thu, 6 Jun 2019 08:27:34 +0000 (10:27 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: App menu > Quit shall show a prompt to quit or close window
Roopesh Chander [Tue, 4 Jun 2019 20:47:49 +0000 (02:17 +0530)] 
macOS: App menu > Quit shall show a prompt to quit or close window

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Save/restore the log window's size
Roopesh Chander [Tue, 4 Jun 2019 10:26:22 +0000 (15:56 +0530)] 
macOS: Save/restore the log window's size

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Log view: Allow resizing horizontally
Roopesh Chander [Sat, 1 Jun 2019 14:35:31 +0000 (20:05 +0530)] 
macOS: Log view: Allow resizing horizontally

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agogo-bridge: bump version
Jason A. Donenfeld [Fri, 31 May 2019 17:20:51 +0000 (19:20 +0200)] 
go-bridge: bump version

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump 0.0.20190531-9
Jason A. Donenfeld [Fri, 31 May 2019 15:30:06 +0000 (17:30 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoNetworkExtension: bump sockets on path change
Jason A. Donenfeld [Thu, 30 May 2019 13:31:09 +0000 (15:31 +0200)] 
NetworkExtension: bump sockets on path change

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Dismiss modals correctly
Roopesh Chander [Wed, 29 May 2019 14:15:22 +0000 (19:45 +0530)] 
macOS: Dismiss modals correctly

Previously, the presented vc were leaking when discarding edits
or when closing the log view controller.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Update app icon
Roopesh Chander [Wed, 29 May 2019 02:11:48 +0000 (07:41 +0530)] 
macOS: Update app icon

Reduce the size and add a drop shadow

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Should be able to re-show tunnel detail
Roopesh Chander [Mon, 27 May 2019 10:06:34 +0000 (15:36 +0530)] 
iOS: Should be able to re-show tunnel detail

Fixes a bug introduced in the refactoring in
commit 7322fb084087774e8b58e347902f6d7036cbde5c

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel detail: No need to update runtime info on tunnelSaved()
Roopesh Chander [Mon, 27 May 2019 09:11:56 +0000 (14:41 +0530)] 
macOS: Tunnel detail: No need to update runtime info on tunnelSaved()

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Start refreshing runtime info in viewWillAppear(), not init()
Roopesh Chander [Sun, 26 May 2019 14:34:02 +0000 (20:04 +0530)] 
macOS: Start refreshing runtime info in viewWillAppear(), not init()

Because when the window is closed and reopened, we should start
refreshing runtime info again.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Fix residual menu highlight on reopen
Roopesh Chander [Sat, 25 May 2019 18:38:13 +0000 (00:08 +0530)] 
macOS: Fix residual menu highlight on reopen

If we close the window with Cmd+W or Cmd+Q and then re-launch the app,
the main menu shows residual highlight from the close action. This
commit fixes that.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: do not call out to recent tunnels tracker
Jason A. Donenfeld [Sat, 25 May 2019 16:08:09 +0000 (18:08 +0200)] 
macOS: do not call out to recent tunnels tracker

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoNetworkExtension: apparently the extension process is scoped properly anyway
Jason A. Donenfeld [Sat, 25 May 2019 16:02:16 +0000 (18:02 +0200)] 
NetworkExtension: apparently the extension process is scoped properly anyway

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoNetworkExtension: use excludedRoutes instead of binding on iOS
Jason A. Donenfeld [Sat, 25 May 2019 11:48:51 +0000 (13:48 +0200)] 
NetworkExtension: use excludedRoutes instead of binding on iOS

The networking stack there is to flaky and the notifier doesn't always
fire correctly. Hopefully excludedRoutes works well with XLAT; otherwise
we're in trouble.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoiOS: Should be able to call showTunnelDetail multiple times
Roopesh Chander [Sat, 18 May 2019 22:35:44 +0000 (04:05 +0530)] 
iOS: Should be able to call showTunnelDetail multiple times

And the detail views should not stack up.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Refactor showing of the tunnel detail
Roopesh Chander [Sat, 18 May 2019 21:34:23 +0000 (03:04 +0530)] 
iOS: Refactor showing of the tunnel detail

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Show Home screen quick actions for recent tunnels
Roopesh Chander [Tue, 30 Apr 2019 12:58:06 +0000 (18:28 +0530)] 
iOS: Show Home screen quick actions for recent tunnels

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Keep track of most-recently-activated tunnels
Roopesh Chander [Tue, 30 Apr 2019 10:08:38 +0000 (15:38 +0530)] 
iOS: Keep track of most-recently-activated tunnels

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Workaround for unresponsive main menu when launched from Xcode
Roopesh Chander [Wed, 22 May 2019 14:08:15 +0000 (19:38 +0530)] 
macOS: Workaround for unresponsive main menu when launched from Xcode

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Ignore bogus reopen because of login item helper
Roopesh Chander [Wed, 22 May 2019 12:01:05 +0000 (17:31 +0530)] 
macOS: Ignore bogus reopen because of login item helper

The bogus reopen occurs because the SMLoginItemSetEnabled actually runs
the helper app immediately. The helper app attempts to launch the main
app, causing a reopen Apple event (rapp) to be sent.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Workaround for unresponsive main menu after reopen
Roopesh Chander [Wed, 22 May 2019 09:56:38 +0000 (15:26 +0530)] 
macOS: Workaround for unresponsive main menu after reopen

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Ensure window is shown on app reopening
Roopesh Chander [Wed, 22 May 2019 09:48:50 +0000 (15:18 +0530)] 
macOS: Ensure window is shown on app reopening

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Simplify detecting the type of an Apple event
Roopesh Chander [Mon, 20 May 2019 10:56:02 +0000 (16:26 +0530)] 
macOS: Simplify detecting the type of an Apple event

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Don't show manage window when launched at login
Roopesh Chander [Mon, 20 May 2019 08:34:47 +0000 (14:04 +0530)] 
macOS: Don't show manage window when launched at login

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Login item: Get helper app version from xcconfig
Roopesh Chander [Mon, 20 May 2019 08:32:52 +0000 (14:02 +0530)] 
macOS: Login item: Get helper app version from xcconfig

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Login item: Fix Info.plist path
Roopesh Chander [Mon, 20 May 2019 08:31:45 +0000 (14:01 +0530)] 
macOS: Login item: Fix Info.plist path

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Show Manage Tunnels window on startup
Roopesh Chander [Sun, 19 May 2019 19:54:43 +0000 (01:24 +0530)] 
macOS: Show Manage Tunnels window on startup

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Minor refactor of StatusMenuWindowDelegate
Roopesh Chander [Wed, 15 May 2019 10:46:00 +0000 (16:16 +0530)] 
macOS: Minor refactor of StatusMenuWindowDelegate

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Disable 'Delete Selected' when nothing is selected
Roopesh Chander [Sun, 12 May 2019 06:22:36 +0000 (11:52 +0530)] 
macOS: Disable 'Delete Selected' when nothing is selected

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Some menu item titles are automatically inferred
Roopesh Chander [Thu, 9 May 2019 19:30:10 +0000 (01:00 +0530)] 
macOS: Some menu item titles are automatically inferred

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Use title-style capitalization for menu items
Roopesh Chander [Thu, 9 May 2019 19:18:24 +0000 (00:48 +0530)] 
macOS: Use title-style capitalization for menu items

As per https://developer.apple.com/design/human-interface-guidelines/macos/menus/menu-anatomy/

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Make it clear that status menu Quit quits the app
Roopesh Chander [Thu, 9 May 2019 19:03:57 +0000 (00:33 +0530)] 
macOS: Make it clear that status menu Quit quits the app

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Quit in main menu shall just close the window
Roopesh Chander [Thu, 9 May 2019 19:00:02 +0000 (00:30 +0530)] 
macOS: Quit in main menu shall just close the window

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Get back removing tunnel using the Delete key
Roopesh Chander [Thu, 9 May 2019 13:28:12 +0000 (18:58 +0530)] 
macOS: Get back removing tunnel using the Delete key

This now works only when the list view has focus

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Both list and detail main menu items should be always enabled
Roopesh Chander [Thu, 9 May 2019 13:22:58 +0000 (18:52 +0530)] 
macOS: Both list and detail main menu items should be always enabled

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: swiftlint: Suppress incorrect warnings
Roopesh Chander [Tue, 7 May 2019 11:27:31 +0000 (16:57 +0530)] 
macOS: swiftlint: Suppress incorrect warnings

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Set a main menu for the app
Roopesh Chander [Mon, 6 May 2019 13:38:57 +0000 (19:08 +0530)] 
macOS: Set a main menu for the app

The main menu would be shown only when the manage tunnels window
is visible.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Remove custom key event handling
Roopesh Chander [Mon, 6 May 2019 05:42:47 +0000 (11:12 +0530)] 
macOS: Remove custom key event handling

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Show app in dock when showing the manage tunnels window
Roopesh Chander [Wed, 24 Apr 2019 09:49:20 +0000 (15:19 +0530)] 
macOS: Show app in dock when showing the manage tunnels window

This way, the app can participate in Cmd+Tab

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Edit view: Save on Cmd+S
Roopesh Chander [Sun, 12 May 2019 10:15:26 +0000 (15:45 +0530)] 
macOS: Edit view: Save on Cmd+S

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Edit view: Dismiss on Esc
Roopesh Chander [Sun, 12 May 2019 07:53:52 +0000 (13:23 +0530)] 
macOS: Edit view: Dismiss on Esc

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Log view: Dismiss on Esc
Roopesh Chander [Sun, 12 May 2019 07:42:43 +0000 (13:12 +0530)] 
macOS: Log view: Dismiss on Esc

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Log view: Improve the look
Roopesh Chander [Sat, 27 Apr 2019 20:15:02 +0000 (01:45 +0530)] 
iOS: Log view: Improve the look

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go-bridge: add missing format specifier for error
Jason A. Donenfeld [Wed, 24 Apr 2019 11:23:45 +0000 (13:23 +0200)] 
wireguard-go-bridge: add missing format specifier for error

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump 0.0.20190423-8
Jason A. Donenfeld [Tue, 23 Apr 2019 04:36:47 +0000 (06:36 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoXcode: Use dwarf for debug and dwarf-with-dsym for release
Roopesh Chander [Sun, 21 Apr 2019 12:52:31 +0000 (18:22 +0530)] 
Xcode: Use dwarf for debug and dwarf-with-dsym for release

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoSwift 5 migration: Make use of Result type
Roopesh Chander [Mon, 8 Apr 2019 07:52:06 +0000 (13:22 +0530)] 
Swift 5 migration: Make use of Result type

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Detect when updating from the App Store
Roopesh Chander [Wed, 17 Apr 2019 08:05:43 +0000 (13:35 +0530)] 
macOS: Detect when updating from the App Store

And show an alert when tunnels are active during updation -- that
might cause the update to not work correctly.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVersion bump 0.0.20190409-7
Jason A. Donenfeld [Fri, 12 Apr 2019 08:32:06 +0000 (10:32 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoLog view: Don't use a global array to store log entries
Roopesh Chander [Wed, 10 Apr 2019 10:28:00 +0000 (15:58 +0530)] 
Log view: Don't use a global array to store log entries

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Log view: Stop updating the log once the log view is dismissed
Roopesh Chander [Wed, 10 Apr 2019 09:37:48 +0000 (15:07 +0530)] 
macOS: Log view: Stop updating the log once the log view is dismissed

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVersion bump 0.0.20190409-6
Jason A. Donenfeld [Tue, 9 Apr 2019 08:49:48 +0000 (10:49 +0200)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: bump again for version file placement
Jason A. Donenfeld [Tue, 9 Apr 2019 08:43:24 +0000 (10:43 +0200)] 
wireguard-go-bridge: bump again for version file placement

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoSwift 5 migration: Handle changes in Data's pointer interface
Roopesh Chander [Tue, 9 Apr 2019 05:41:28 +0000 (11:11 +0530)] 
Swift 5 migration: Handle changes in Data's pointer interface

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoSwift 5 migration: Fix switch warnings
Roopesh Chander [Mon, 8 Apr 2019 09:48:26 +0000 (15:18 +0530)] 
Swift 5 migration: Fix switch warnings

We now get a warning when switching over enums from system
frameworks even when we handle all public cases because
there can be future cases that aren't handled.

When such a future case is introduced, we'll get a warning.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go-bridge: version bump to new tag
Jason A. Donenfeld [Tue, 9 Apr 2019 05:44:50 +0000 (07:44 +0200)] 
wireguard-go-bridge: version bump to new tag

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>