aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version bump0.0.20190423-8Jason A. Donenfeld2019-04-231-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Xcode: Use dwarf for debug and dwarf-with-dsym for releaseRoopesh Chander2019-04-211-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* 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-215-0/+84
| | | | | | | 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-103-8/+12
| | | | 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>
* wireguard-go-bridge: bump again for version file placementJason A. Donenfeld2019-04-092-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Swift 5 migration: Handle changes in Data's pointer interfaceRoopesh Chander2019-04-094-11/+37
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Swift 5 migration: Fix switch warningsRoopesh Chander2019-04-093-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>
* wireguard-go-bridge: version bump to new tagJason A. Donenfeld2019-04-092-13/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Xcode: Move to Swift 5.0Roopesh Chander2019-04-071-4/+12
| | | | | | No code changes were necessary 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-064-34/+60
| | | | | | 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>
* TunnelsManager: Cache isTunnelConfigurationAvailableInKeychainRoopesh Chander2019-04-051-1/+12
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Attempt to remove keychain item only if verifiedRoopesh Chander2019-04-041-1/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Simplify reusing of the detail VC when applicableRoopesh Chander2019-04-041-12/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Hide other-user tunnels in the status menuRoopesh Chander2019-04-031-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Better handling of tunnels created by another userRoopesh Chander2019-04-036-9/+115
| | | | | | Previously, the tunnels just got deleted. Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Log view: Make log text selectableRoopesh Chander2019-04-011-2/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Log view: Fix autoscroll to end of logRoopesh Chander2019-04-011-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>
* macOS: Bring app to front before 'exiting with an active tunnel' alertRoopesh Chander2019-03-291-2/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: If a sheet is being shown, ignore quit and bring window to frontRoopesh Chander2019-03-291-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>
* wireguard-go-bridge: update depsJason A. Donenfeld2019-03-282-12/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Log view: No need to disable Close buttonRoopesh Chander2019-03-282-3/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Ability to view the logRoopesh Chander2019-03-284-42/+146
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Xcode: Minor project rearrangementRoopesh Chander2019-03-281-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ability to view the logRoopesh Chander2019-03-285-28/+316
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Add LogViewHelperRoopesh Chander2019-03-272-0/+58
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Syntax highlighter: Free spans arrayRoopesh Chander2019-03-221-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Hide exclude private IPs when PrivateKey / PublicKey is missingRoopesh Chander2019-03-222-10/+21
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Syntax highlighter: Swift can bridge c strings automaticallyRoopesh Chander2019-03-221-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: On Add new, Exclude Private IPs should remain hiddenRoopesh Chander2019-03-221-0/+2
| | | | | | because there aren't any peers in the bootstrapped config. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Xcode: iOS: Remove armv7 as 'Required device capabilities'Roopesh Chander2019-03-201-1/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Privacy notice is provided by system dialogsJason A. Donenfeld2019-03-204-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>
* macOS: Login item: Add a simple login itemJason A. Donenfeld2019-03-195-0/+178
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20190319-5Jason A. Donenfeld2019-03-191-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wireguard-go-bridge: do not use getdirentries64 on macosJason A. Donenfeld2019-03-193-3/+427
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* iOS: Delete confirmation prompt should be a questionRoopesh Chander2019-03-191-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Add 'Deactivate' status menu itemRoopesh Chander2019-03-191-1/+15
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Version: CFBundleVersion must always increase for macOS app store0.0.20190319-4Jason A. Donenfeld2019-03-191-1/+1
| | | | | | So we'll just start doing it like that, then. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Swiftlint: variable_name -> identifier_nameJason A. Donenfeld2019-03-181-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20190319-1Jason A. Donenfeld2019-03-181-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macos: TunnelsList: set allowsEmptySelection after making initial selectionJason A. Donenfeld2019-03-181-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>
* iOS: Consolidate all showConfirmationAlert()s into one placeRoopesh Chander2019-03-185-47/+37
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Tunnels list: Ability to remove multiple tunnels at a timeRoopesh Chander2019-03-183-4/+145
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>