aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/AppDelegate.swift (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ringlogger: support mpsc for singlefileJason A. Donenfeld2019-03-171-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Show 'quitting with active tunnel' only when appropriateRoopesh Chander2019-02-221-10/+5
| | | | | | Not when logging off or when the machine's shutting down Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show alert if exiting with an active tunnelRoopesh Chander2019-02-081-3/+20
| | | | | | Instead of deactivating the tunnel. Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Deactivate any active tunnel when app exitsRoopesh Chander2019-01-231-0/+6
| | | | 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-8/+28
| | | | | | | 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: Different status bar icon looks for different statesRoopesh Chander2019-01-161-12/+11
| | | | | | | | - 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: Handle errors from TunnelsManager.create()Roopesh Chander2019-01-141-1/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Present tunnel activation errors from the window when possibleRoopesh Chander2019-01-141-19/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Manage tunnels: Export log pulldown menu implementationRoopesh Chander2019-01-141-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ability to activate / deactivate a tunnelRoopesh Chander2019-01-141-0/+19
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ability to import tunnels from fileRoopesh Chander2019-01-141-0/+2
| | | | | | | 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: Create status bar with tunnel namesRoopesh Chander2019-01-141-6/+18
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Remove MainMenu.xibRoopesh Chander2019-01-141-3/+0
| | | | | | | When there's no xib, we should explicitly set the app delegate, so we override NSApplication and set the app delegate in NSApplication.shared Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Fix WireGuardmacOS targetRoopesh Chander2019-01-141-0/+22
- Include non-UI code from iOS while building - Add run scripts - Move files to WireGuard/UI/macOS - Set Swift-Obj-C bridging header Signed-off-by: Roopesh Chander <roop@roopc.net>