]> git.ipfire.org Git - thirdparty/wireguard-apple.git/log
thirdparty/wireguard-apple.git
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>
6 years agoXcode: Move to Swift 5.0
Roopesh Chander [Sun, 7 Apr 2019 11:12:36 +0000 (16:42 +0530)] 
Xcode: Move to Swift 5.0

No code changes were necessary

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Minor fix to export panel texts
Roopesh Chander [Sat, 6 Apr 2019 12:29:42 +0000 (17:59 +0530)] 
macOS: Minor fix to export panel texts

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnels list: Suppress alert buttons when removing tunnels is in progress
Roopesh Chander [Sat, 6 Apr 2019 09:52:05 +0000 (15:22 +0530)] 
macOS: Tunnels list: Suppress alert buttons when removing tunnels is in progress

Also refactor the deletion alert into a separate helper class

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: When setting a config, also set isAvailable cache
Roopesh Chander [Fri, 5 Apr 2019 18:56:06 +0000 (00:26 +0530)] 
TunnelsManager: When setting a config, also set isAvailable cache

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnels list: Show the confirmation alert till removal completes
Roopesh Chander [Fri, 5 Apr 2019 13:52:42 +0000 (19:22 +0530)] 
macOS: Tunnels list: Show the confirmation alert till removal completes

Fix tunnel selection during deletion

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: Fix comparing tunnels with tunnelProviders in reload()
Roopesh Chander [Fri, 5 Apr 2019 08:13:05 +0000 (13:43 +0530)] 
TunnelsManager: Fix comparing tunnels with tunnelProviders in reload()

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: Cache isTunnelConfigurationAvailableInKeychain
Roopesh Chander [Fri, 5 Apr 2019 07:59:17 +0000 (13:29 +0530)] 
TunnelsManager: Cache isTunnelConfigurationAvailableInKeychain

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Attempt to remove keychain item only if verified
Roopesh Chander [Thu, 4 Apr 2019 09:59:25 +0000 (15:29 +0530)] 
macOS: Attempt to remove keychain item only if verified

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Simplify reusing of the detail VC when applicable
Roopesh Chander [Thu, 4 Apr 2019 06:54:25 +0000 (12:24 +0530)] 
macOS: Simplify reusing of the detail VC when applicable

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Hide other-user tunnels in the status menu
Roopesh Chander [Wed, 3 Apr 2019 13:48:53 +0000 (19:18 +0530)] 
macOS: Hide other-user tunnels in the status menu

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Better handling of tunnels created by another user
Roopesh Chander [Wed, 3 Apr 2019 11:02:12 +0000 (16:32 +0530)] 
macOS: Better handling of tunnels created by another user

Previously, the tunnels just got deleted.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Log view: Make log text selectable
Roopesh Chander [Mon, 1 Apr 2019 17:59:15 +0000 (23:29 +0530)] 
iOS: Log view: Make log text selectable

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Log view: Fix autoscroll to end of log
Roopesh Chander [Mon, 1 Apr 2019 17:06:16 +0000 (22:36 +0530)] 
macOS: Log view: Fix autoscroll to end of log

Looks like the tableview doesn't know how much to scroll to get to the
end when we use usesAutomaticRowHeights. So we wait for the tableview
to realize its frame has changed and then scroll to the bottom of the
frame explicitly.

Also, we keep track of whether the scroll view is scrolled to the end or
not every time scrolling happens, not just when we add log entries to
the table.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Bring app to front before 'exiting with an active tunnel' alert
Roopesh Chander [Thu, 28 Mar 2019 18:40:05 +0000 (00:10 +0530)] 
macOS: Bring app to front before 'exiting with an active tunnel' alert

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: If a sheet is being shown, ignore quit and bring window to front
Roopesh Chander [Thu, 28 Mar 2019 18:32:54 +0000 (00:02 +0530)] 
macOS: If a sheet is being shown, ignore quit and bring window to front

Otherwise, the 'exiting with an active tunnel' alert could get queued up
to be shown after the current sheet is dismissed.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go-bridge: update deps
Jason A. Donenfeld [Thu, 28 Mar 2019 14:55:53 +0000 (15:55 +0100)] 
wireguard-go-bridge: update deps

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Log view: No need to disable Close button
Roopesh Chander [Thu, 28 Mar 2019 14:02:58 +0000 (19:32 +0530)] 
macOS: Log view: No need to disable Close button

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Ability to view the log
Roopesh Chander [Thu, 28 Mar 2019 13:58:27 +0000 (19:28 +0530)] 
iOS: Ability to view the log

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Xcode: Minor project rearrangement
Roopesh Chander [Thu, 28 Mar 2019 08:40:42 +0000 (14:10 +0530)] 
iOS: Xcode: Minor project rearrangement

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Ability to view the log
Roopesh Chander [Wed, 27 Mar 2019 12:26:38 +0000 (17:56 +0530)] 
macOS: Ability to view the log

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoAdd LogViewHelper
Roopesh Chander [Tue, 26 Mar 2019 07:51:00 +0000 (13:21 +0530)] 
Add LogViewHelper

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Syntax highlighter: Free spans array
Roopesh Chander [Fri, 22 Mar 2019 12:23:34 +0000 (17:53 +0530)] 
macOS: Syntax highlighter: Free spans array

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Hide exclude private IPs when PrivateKey / PublicKey is missing
Roopesh Chander [Fri, 22 Mar 2019 10:22:39 +0000 (15:52 +0530)] 
macOS: Hide exclude private IPs when PrivateKey / PublicKey is missing

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Syntax highlighter: Swift can bridge c strings automatically
Roopesh Chander [Fri, 22 Mar 2019 10:01:02 +0000 (15:31 +0530)] 
macOS: Syntax highlighter: Swift can bridge c strings automatically

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: On Add new, Exclude Private IPs should remain hidden
Roopesh Chander [Fri, 22 Mar 2019 09:45:22 +0000 (15:15 +0530)] 
macOS: On Add new, Exclude Private IPs should remain hidden

because there aren't any peers in the bootstrapped config.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoXcode: iOS: Remove armv7 as 'Required device capabilities'
Roopesh Chander [Wed, 20 Mar 2019 08:04:35 +0000 (13:34 +0530)] 
Xcode: iOS: Remove armv7 as 'Required device capabilities'

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Privacy notice is provided by system dialogs
Jason A. Donenfeld [Wed, 20 Mar 2019 03:24:23 +0000 (04:24 +0100)] 
macOS: Privacy notice is provided by system dialogs

So it really doesn't make sense to add our own. This causes several
popups when trying to add a tunnel, which is madness.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Login item: Add a simple login item
Jason A. Donenfeld [Tue, 19 Feb 2019 15:13:52 +0000 (16:13 +0100)] 
macOS: Login item: Add a simple login item

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump 0.0.20190319-5
Jason A. Donenfeld [Tue, 19 Mar 2019 20:25:38 +0000 (21:25 +0100)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: do not use getdirentries64 on macos
Jason A. Donenfeld [Tue, 19 Mar 2019 19:57:26 +0000 (13:57 -0600)] 
wireguard-go-bridge: do not use getdirentries64 on macos

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoiOS: Delete confirmation prompt should be a question
Roopesh Chander [Tue, 19 Mar 2019 10:09:06 +0000 (15:39 +0530)] 
iOS: Delete confirmation prompt should be a question

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Add 'Deactivate' status menu item
Roopesh Chander [Tue, 19 Mar 2019 10:05:15 +0000 (15:35 +0530)] 
macOS: Add 'Deactivate' status menu item

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVersion: CFBundleVersion must always increase for macOS app store 0.0.20190319-4
Jason A. Donenfeld [Tue, 19 Mar 2019 05:00:40 +0000 (06:00 +0100)] 
Version: CFBundleVersion must always increase for macOS app store

So we'll just start doing it like that, then.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoSwiftlint: variable_name -> identifier_name
Jason A. Donenfeld [Tue, 19 Mar 2019 04:26:13 +0000 (22:26 -0600)] 
Swiftlint: variable_name -> identifier_name

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump 0.0.20190319-1
Jason A. Donenfeld [Tue, 19 Mar 2019 02:29:06 +0000 (03:29 +0100)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacos: TunnelsList: set allowsEmptySelection after making initial selection
Jason A. Donenfeld [Tue, 19 Mar 2019 02:25:38 +0000 (03:25 +0100)] 
macos: TunnelsList: set allowsEmptySelection after making initial selection

Otherwise we never get the event that the selection changed, so we don't
wind up showing anything in the details pane.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoiOS: Consolidate all showConfirmationAlert()s into one place
Roopesh Chander [Mon, 18 Mar 2019 19:54:06 +0000 (01:24 +0530)] 
iOS: Consolidate all showConfirmationAlert()s into one place

Signed-off-by: Roopesh Chander <roop@roopc.net>