aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version bump0.0.20181104-4Jason A. Donenfeld2018-11-071-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* iPad: Ensure we set sourceRect for all cases where we use sourceViewRoopesh Chander2018-11-073-1/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Info.plist: Register for handling public.text files for Open-inRoopesh Chander2018-11-071-0/+14
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Also support importing public.text files in the file pickerRoopesh Chander2018-11-071-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iPad: Set correct sourceRect for the popover anchored on the central 'Add' buttonRoopesh Chander2018-11-071-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: Return a manager with no tunnels in the simulatorRoopesh Chander2018-11-071-0/+5
| | | | | | To be able to run at least parts of the app in the simulator. Signed-off-by: Roopesh Chander <roop@roopc.net>
* iPad: Configuring the split-view controller should happen in init(), not loadView()Roopesh Chander2018-11-071-4/+9
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Settings: show build idJason A. Donenfeld2018-11-071-1/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Make license consistentJason A. Donenfeld2018-11-071-338/+19
| | | | | | | We changed all the files and the README to MIT a long time ago but forgot to update COPYING. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20181104-3Jason A. Donenfeld2018-11-061-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Importing: simplifyJason A. Donenfeld2018-11-061-26/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Importing: Assume imported files without .conf or .zip extensions to be a config fileRoopesh Chander2018-11-071-5/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* DNSResolver: No need to resolve if the endpoint is already an IP addressRoopesh Chander2018-11-061-2/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Endpoint.hasHostAsIPAddress()Roopesh Chander2018-11-061-0/+13
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* PacketTunnelProvider: modernize headerJason A. Donenfeld2018-11-061-3/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Not horribly brokenJason A. Donenfeld2018-11-061-5/+0
| | | | | | | | Instead it's just mostly broken. Maybe someday it will only be partially broken. Then a bit broken. And then maybe not broken at all? Before, of course, it's broken again. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: swiftlint autocorrect --formatRoopesh Chander2018-11-065-15/+15
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: swiftlint autocorrectRoopesh Chander2018-11-061-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Error out on file with unsupported file extensionRoopesh Chander2018-11-061-1/+9
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* wireguard-go-bridge: take fd instead of fnptrJason A. Donenfeld2018-11-067-197/+76
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Xcode: enable more warningsJason A. Donenfeld2018-11-061-1/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Tunnel edit: TunnelEditTableViewKeyValueCell need not support a read-only mode nowRoopesh Chander2018-11-061-21/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel edit: A new cell class for the public key field, to make the value scrollableRoopesh Chander2018-11-061-0/+70
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel detail: Refactor out the label scrolling into a separate UI classRoopesh Chander2018-11-063-31/+63
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel view model: Peers in a configuation may not share the same public keyRoopesh Chander2018-11-061-0/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Parser: Peers in a configuation may not share the same public keyRoopesh Chander2018-11-061-0/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Version bump0.0.20181104-2Jason A. Donenfeld2018-11-051-1/+1
| | | | | | | We update the build number, not the version number, so that test flight doesn't need a new review. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Parser: Address, DNS and AllowedIPs can have mutliple entriesRoopesh Chander2018-11-051-1/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* QR Code: Dismiss the QR code screen when the name prompt is cancelledRoopesh Chander2018-11-051-1/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel view model: No need to save if we already have a validated configuration objectRoopesh Chander2018-11-051-0/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* global: convert to Swift 4.2Jason A. Donenfeld2018-11-057-14/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: account for no or many endpointsJason A. Donenfeld2018-11-053-22/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wireguard-go-bridge: work around DWARF generation issueJason A. Donenfeld2018-11-051-2/+2
| | | | | | Golang bug 25148 upstream. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* PacketTunnelProvider: clamp v6 addresses to /120Jason A. Donenfeld2018-11-051-1/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: account for bottom padding on iPhone XJason A. Donenfeld2018-11-051-4/+4
| | | | | Reported-by: Jeffrey A. Donenfeld <jad@runblue.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* XCode: use old network extension ID0.0.20181104-1Jason A. Donenfeld2018-11-044-13/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wireguard-go-bridge: xcode expects install targetJason A. Donenfeld2018-11-041-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* XCode: unify version stringsJason A. Donenfeld2018-11-045-8/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: anchor logo to bottomJason A. Donenfeld2018-11-041-1/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add a correct launch-screen storyboardRoopesh Chander2018-11-041-11/+71
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Revert "Settings: Swap table view sections"Jason A. Donenfeld2018-11-031-5/+5
| | | | | | This reverts commit 1108f8248946f80d29012d8d43658db8461c0fed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: simplifyJason A. Donenfeld2018-11-031-24/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: run through swiftlintJason A. Donenfeld2018-11-0312-55/+54
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: limit size of logoJason A. Donenfeld2018-11-031-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: use updated wireguard banner logoJason A. Donenfeld2018-11-031-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: restore sanityJason A. Donenfeld2018-11-031-45/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Change version with 0.0.yyyymmdd versioning schemeRoopesh Chander2018-11-031-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Make sure actions inside tunnelProvider completion handlers are done in the main queueRoopesh Chander2018-11-031-17/+35
| | | | | | They should really already be in the main queue, but we do this just in case. Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Start observing the status only if startTunnel() succeedsRoopesh Chander2018-11-031-1/+1
| | | | | | This should fix the status change to .disconnected when we're resolving endpoints Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: We should never get a status change to .disconnected if we're resolving endpointsRoopesh Chander2018-11-031-0/+1
| | | | | | But we do, which we'll fix subsequently Signed-off-by: Roopesh Chander <roop@roopc.net>