aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Version bump0.0.20190531-9Jason A. Donenfeld2019-05-311-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Dismiss modals correctlyRoopesh Chander2019-05-312-9/+12
| | | | | | | Previously, the presented vc were leaking when discarding edits or when closing the log view controller. Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Update app iconRoopesh Chander2019-05-3111-1/+1
| | | | | | Reduce the size and add a drop shadow Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Should be able to re-show tunnel detailRoopesh Chander2019-05-271-11/+9
| | | | | | | Fixes a bug introduced in the refactoring in commit 7322fb084087774e8b58e347902f6d7036cbde5c Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel detail: No need to update runtime info on tunnelSaved()Roopesh Chander2019-05-271-11/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Start refreshing runtime info in viewWillAppear(), not init()Roopesh Chander2019-05-271-1/+6
| | | | | | | Because when the window is closed and reopened, we should start refreshing runtime info again. Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Fix residual menu highlight on reopenRoopesh Chander2019-05-261-1/+3
| | | | | | | | 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>
* macOS: do not call out to recent tunnels trackerJason A. Donenfeld2019-05-261-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* iOS: Should be able to call showTunnelDetail multiple timesRoopesh Chander2019-05-261-5/+17
| | | | | | And the detail views should not stack up. Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Refactor showing of the tunnel detailRoopesh Chander2019-05-252-18/+24
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Show Home screen quick actions for recent tunnelsRoopesh Chander2019-05-254-3/+65
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Keep track of most-recently-activated tunnelsRoopesh Chander2019-05-252-1/+90
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Workaround for unresponsive main menu when launched from XcodeRoopesh Chander2019-05-221-3/+11
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ignore bogus reopen because of login item helperRoopesh Chander2019-05-222-1/+17
| | | | | | | | 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>
* macOS: Workaround for unresponsive main menu after reopenRoopesh Chander2019-05-221-6/+42
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ensure window is shown on app reopeningRoopesh Chander2019-05-221-0/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Simplify detecting the type of an Apple eventRoopesh Chander2019-05-202-10/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Don't show manage window when launched at loginRoopesh Chander2019-05-204-7/+40
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Login item: Get helper app version from xcconfigRoopesh Chander2019-05-201-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show Manage Tunnels window on startupRoopesh Chander2019-05-201-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Minor refactor of StatusMenuWindowDelegateRoopesh Chander2019-05-202-13/+18
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Disable 'Delete Selected' when nothing is selectedRoopesh Chander2019-05-201-0/+9
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Some menu item titles are automatically inferredRoopesh Chander2019-05-202-6/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Use title-style capitalization for menu itemsRoopesh Chander2019-05-201-5/+5
| | | | | | As per https://developer.apple.com/design/human-interface-guidelines/macos/menus/menu-anatomy/ Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Make it clear that status menu Quit quits the appRoopesh Chander2019-05-201-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Quit in main menu shall just close the windowRoopesh Chander2019-05-202-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Get back removing tunnel using the Delete keyRoopesh Chander2019-05-201-0/+8
| | | | | | This now works only when the list view has focus Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Both list and detail main menu items should be always enabledRoopesh Chander2019-05-201-0/+18
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: swiftlint: Suppress incorrect warningsRoopesh Chander2019-05-201-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Set a main menu for the appRoopesh Chander2019-05-204-19/+176
| | | | | | | The main menu would be shown only when the manage tunnels window is visible. Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Remove custom key event handlingRoopesh Chander2019-05-202-53/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show app in dock when showing the manage tunnels windowRoopesh Chander2019-05-202-0/+7
| | | | | | This way, the app can participate in Cmd+Tab Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Edit view: Save on Cmd+SRoopesh Chander2019-05-121-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Edit view: Dismiss on EscRoopesh Chander2019-05-121-0/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Log view: Dismiss on EscRoopesh Chander2019-05-121-0/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Log view: Improve the lookRoopesh Chander2019-04-281-3/+23
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Version bump0.0.20190423-8Jason A. Donenfeld2019-04-231-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Swift 5 migration: Make use of Result typeRoopesh Chander2019-04-219-55/+55
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Detect when updating from the App StoreRoopesh Chander2019-04-214-0/+80
| | | | | | | 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>
* Version bump0.0.20190409-7Jason A. Donenfeld2019-04-121-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Log view: Don't use a global array to store log entriesRoopesh Chander2019-04-101-5/+9
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Log view: Stop updating the log once the log view is dismissedRoopesh Chander2019-04-101-0/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Version bump0.0.20190409-6Jason A. Donenfeld2019-04-091-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Swift 5 migration: Handle changes in Data's pointer interfaceRoopesh Chander2019-04-093-5/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Swift 5 migration: Fix switch warningsRoopesh Chander2019-04-091-0/+4
| | | | | | | | | | 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>
* macOS: Minor fix to export panel textsRoopesh Chander2019-04-061-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnels list: Suppress alert buttons when removing tunnels is in progressRoopesh Chander2019-04-063-34/+56
| | | | | | Also refactor the deletion alert into a separate helper class Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: When setting a config, also set isAvailable cacheRoopesh Chander2019-04-061-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnels list: Show the confirmation alert till removal completesRoopesh Chander2019-04-061-25/+40
| | | | | | Fix tunnel selection during deletion Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: Fix comparing tunnels with tunnelProviders in reload()Roopesh Chander2019-04-051-2/+13
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>