aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuardNetworkExtension (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-04-10Log view: Don't use a global array to store log entriesRoopesh Chander3-8/+12
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-10macOS: Log view: Stop updating the log once the log view is dismissedRoopesh Chander1-0/+10
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-09Version bump0.0.20190409-6Jason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-09wireguard-go-bridge: bump again for version file placementJason A. Donenfeld2-3/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-09Swift 5 migration: Handle changes in Data's pointer interfaceRoopesh Chander4-11/+37
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-09Swift 5 migration: Fix switch warningsRoopesh Chander3-0/+12
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>
2019-04-09wireguard-go-bridge: version bump to new tagJason A. Donenfeld2-13/+8
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-07Xcode: Move to Swift 5.0Roopesh Chander1-4/+12
No code changes were necessary Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-06macOS: Minor fix to export panel textsRoopesh Chander1-2/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-06macOS: Tunnels list: Suppress alert buttons when removing tunnels is in progressRoopesh Chander4-34/+60
Also refactor the deletion alert into a separate helper class Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-06TunnelsManager: When setting a config, also set isAvailable cacheRoopesh Chander1-0/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-06macOS: Tunnels list: Show the confirmation alert till removal completesRoopesh Chander1-25/+40
Fix tunnel selection during deletion Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-05TunnelsManager: Fix comparing tunnels with tunnelProviders in reload()Roopesh Chander1-2/+13
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-05TunnelsManager: Cache isTunnelConfigurationAvailableInKeychainRoopesh Chander1-1/+12
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-04macOS: Attempt to remove keychain item only if verifiedRoopesh Chander1-1/+3
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-04macOS: Simplify reusing of the detail VC when applicableRoopesh Chander1-12/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-03macOS: Hide other-user tunnels in the status menuRoopesh Chander1-0/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-03macOS: Better handling of tunnels created by another userRoopesh Chander6-9/+115
Previously, the tunnels just got deleted. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-01iOS: Log view: Make log text selectableRoopesh Chander1-2/+4
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-04-01macOS: Log view: Fix autoscroll to end of logRoopesh Chander1-7/+18
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>
2019-03-29macOS: Bring app to front before 'exiting with an active tunnel' alertRoopesh Chander1-2/+4
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-29macOS: If a sheet is being shown, ignore quit and bring window to frontRoopesh Chander1-0/+5
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>
2019-03-28wireguard-go-bridge: update depsJason A. Donenfeld2-12/+19
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-03-28macOS: Log view: No need to disable Close buttonRoopesh Chander2-3/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-28iOS: Ability to view the logRoopesh Chander4-42/+146
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-28iOS: Xcode: Minor project rearrangementRoopesh Chander1-1/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-28macOS: Ability to view the logRoopesh Chander5-28/+316
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-27Add LogViewHelperRoopesh Chander2-0/+58
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-22macOS: Syntax highlighter: Free spans arrayRoopesh Chander1-0/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-22macOS: Hide exclude private IPs when PrivateKey / PublicKey is missingRoopesh Chander2-10/+21
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-22macOS: Syntax highlighter: Swift can bridge c strings automaticallyRoopesh Chander1-1/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-22macOS: On Add new, Exclude Private IPs should remain hiddenRoopesh Chander1-0/+2
because there aren't any peers in the bootstrapped config. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-20Xcode: iOS: Remove armv7 as 'Required device capabilities'Roopesh Chander1-1/+0
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-20macOS: Privacy notice is provided by system dialogsJason A. Donenfeld4-46/+9
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>
2019-03-19macOS: Login item: Add a simple login itemJason A. Donenfeld5-0/+178
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-03-19Version bump0.0.20190319-5Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-03-19wireguard-go-bridge: do not use getdirentries64 on macosJason A. Donenfeld3-3/+427
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-03-19iOS: Delete confirmation prompt should be a questionRoopesh Chander1-2/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-19macOS: Add 'Deactivate' status menu itemRoopesh Chander1-1/+15
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-19Version: CFBundleVersion must always increase for macOS app store0.0.20190319-4Jason A. Donenfeld1-1/+1
So we'll just start doing it like that, then. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-03-18Swiftlint: variable_name -> identifier_nameJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-03-18Version bump0.0.20190319-1Jason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-03-18macos: TunnelsList: set allowsEmptySelection after making initial selectionJason A. Donenfeld1-1/+1
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>
2019-03-18iOS: Consolidate all showConfirmationAlert()s into one placeRoopesh Chander5-47/+37
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18iOS: Tunnels list: Ability to remove multiple tunnels at a timeRoopesh Chander3-4/+145
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18iOS: Tunnel edit: Add missing enum valuesRoopesh Chander1-0/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-19macOS: ButtonedDetailViewController: Set min dimensionsRoopesh Chander1-0/+6
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18ringlogger: document racesJason A. Donenfeld1-0/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-03-18macOS: Tunnels list: Double-click to activate / deactivateRoopesh Chander1-0/+13
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-03-18macOS: Tunnels list: Don't allow empty selectionRoopesh Chander1-0/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>