aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/StatusMenu.swift (follow)
Commit message (Collapse)AuthorAgeFilesLines
* macOS: Show 'quitting with active tunnel' only when appropriateRoopesh Chander2019-02-221-2/+2
| | | | | | Not when logging off or when the machine's shutting down Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: fix swiftlint issuesJason A. Donenfeld2019-02-081-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MacOS: StatusMenu: Properly localize menu titleJason A. Donenfeld2019-01-221-1/+1
| | | | | | Partially revert "macOS: StatusMenu: Remove unused menu title" Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: StatusMenu: Remove unused menu titleRoopesh Chander2019-01-221-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Fix status-related menu itemsRoopesh Chander2019-01-221-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* global: Fix up copyright headersJason A. Donenfeld2019-01-181-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Rafactor by introducing a TunnelsTrackerRoopesh Chander2019-01-181-104/+54
| | | | | | | The TunnelTracker is now the central place to track what the current tunnel is, and for keeping track of the tunnel list. Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Make sure app is active when showing the About dialogRoopesh Chander2019-01-171-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Networks should show allowedIPs and disappear when inactiveJason A. Donenfeld2019-01-151-5/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Different status bar icon looks for different statesRoopesh Chander2019-01-161-1/+14
| | | | | | | | - Looks dimmed when no tunnel is active - Looks normal when a tunnel is active - Animates when a tunnel is activating Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Add About dialogRoopesh Chander2019-01-141-0/+18
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Default view controller sizesEric Kuck2019-01-141-0/+1
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Cut/copy/paste now workEric Kuck2019-01-141-2/+3
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* macOS: Quit menu itemRoopesh Chander2019-01-141-0/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Fix 'Network' entry in menuRoopesh Chander2019-01-141-5/+9
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Consolidate presenting of the import panelRoopesh Chander2019-01-141-8/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Present tunnel activation errors from the window when possibleRoopesh Chander2019-01-141-0/+26
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Manage tunnels: Update tunnels list on changesRoopesh Chander2019-01-141-2/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Manage tunnels: Set window titleRoopesh Chander2019-01-141-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show open panel as sheet on manage windowRoopesh Chander2019-01-141-5/+11
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: s/macMenuStatus/macStatus/g;Roopesh Chander2019-01-141-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Manage tunnels window: Tunnels listRoopesh Chander2019-01-141-1/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show status as disabled menu itemsRoopesh Chander2019-01-141-1/+63
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ability to activate / deactivate a tunnelRoopesh Chander2019-01-141-32/+68
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ability to import tunnels from fileRoopesh Chander2019-01-141-7/+59
| | | | | | | For now, the open panel shows as a separate window. Later, we'll open it as a sheet on the 'Manage tunnels' window. Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Add tunnel management menu itemsRoopesh Chander2019-01-141-0/+19
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Create status bar with tunnel namesRoopesh Chander2019-01-141-0/+34
Signed-off-by: Roopesh Chander <roop@roopc.net>