aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard.xcodeproj/project.pbxproj (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Got TunnelsManager back under the max file length by splitting out NEVPNStatus+CustomStringConvertibleEric Kuck2018-12-161-0/+4
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Provide mock tunnels for the SimulatorRoopesh Chander2018-12-161-0/+4
| | | | | | To help in generation of screenshots for the App Store Signed-off-by: Roopesh Chander <roop@roopc.net>
* KeyValueCells now share codeEric Kuck2018-12-141-16/+4
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Reorganized project structureEric Kuck2018-12-141-27/+19
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Most similar views now shared between ViewControllersEric Kuck2018-12-141-61/+36
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Reorganized ViewControllers (split out UIViews and UITableViewCells into their own classes)Eric Kuck2018-12-131-4/+89
| | | | | | All swiftlint warnings except one fixed up Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Remove unused code: InternetReachabilityRoopesh Chander2018-12-131-4/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logging: Use ringlogger for logging from the extensionRoopesh Chander2018-12-131-0/+22
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* mv WireGuard/WireGuard/VPN/ WireGuard/WireGuard/Tunnel/Roopesh Chander2018-12-131-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* More linter warnings fixed, enabled more swiftlint rules, project cleanupEric Kuck2018-12-121-0/+4
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Added swiftlint and fixed all errors (and a bunch, but not all, warnings)Eric Kuck2018-12-121-0/+38
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Error handling: Introduce a WireGuardResult type to handle errors in callbacks across the appRoopesh Chander2018-12-071-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Error handling: Introduce a WireGuardAppError protocol to manage errorsRoopesh Chander2018-12-071-0/+4
| | | | | | The alert strings shall be located next to where the errors are declared. Signed-off-by: Roopesh Chander <roop@roopc.net>
* NE: Logging: Log file should begin with version numbers and tunnel nameRoopesh Chander2018-12-071-0/+20
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Error out when tunnel activation fails because there's no internetRoopesh Chander2018-12-031-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* NE: Write log to fileRoopesh Chander2018-11-301-0/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Xcode: Add app groups capabilityRoopesh Chander2018-11-291-0/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Exporting: Refactor out zip exporting into a separate classRoopesh Chander2018-11-151-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Refactor out zip importing into a separate classRoopesh Chander2018-11-141-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model, Tunnels manager: Rewrite the model for VPN-on-demandRoopesh Chander2018-11-121-6/+4
| | | | | | | | | The VPN-on-demand settings should not be part of the tunnel configuration. Rather, the onDemandRules stored in the tunnel provider configuration serve as the one place where the VPN-on-demand settings are stored. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: ActivityType enum to represent VPN-on-demand optionsRoopesh Chander2018-11-101-0/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* NE: When there's an error starting the tunnel, show it to the user using displayMessage()Roopesh Chander2018-11-091-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Remove unused file PacketTunnelOptionKey.swiftRoopesh Chander2018-11-081-6/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move logic to extension: NETunnelProviderProtocol extension code should be sharedRoopesh Chander2018-11-081-0/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move logic to extension: Refactor PacketTunnelOptionsGenerator into a PacketTunnelSettingsGeneratorRoopesh Chander2018-11-081-4/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move logic to extension: Move DNSResolver to extensionRoopesh Chander2018-11-081-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move logic to extension: Include shared model code when building the extensionRoopesh Chander2018-11-081-0/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move logic to extension: Move PacketTunnelOptionsGenerator to the extensionRoopesh Chander2018-11-081-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move logic to extension: Move model files to SharedRoopesh Chander2018-11-081-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Xcode: enable more warningsJason A. Donenfeld2018-11-061-1/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Tunnel detail: Refactor out the label scrolling into a separate UI classRoopesh Chander2018-11-061-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* global: convert to Swift 4.2Jason A. Donenfeld2018-11-051-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* XCode: use old network extension ID0.0.20181104-1Jason A. Donenfeld2018-11-041-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* XCode: unify version stringsJason A. Donenfeld2018-11-041-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add document iconRoopesh Chander2018-11-021-0/+32
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: An ErrorPresenter class to consolidate showing of error alertsRoopesh Chander2018-11-011-1/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* wireguard-go-bridge: extract version for consumption by network extensionJason A. Donenfeld2018-10-311-3/+24
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* UI: More elegant copy-to-clipboard behaviorJason A. Donenfeld2018-10-311-0/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* XCode: fall back to default settingsJason A. Donenfeld2018-10-301-34/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Export: Exporting config filesRoopesh Chander2018-10-291-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* mv Parsing/ ConfigFile/Roopesh Chander2018-10-291-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Settings: Add a settings panelRoopesh Chander2018-10-291-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip: Import configs from zip filesRoopesh Chander2018-10-291-4/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip: Add zip file readerRoopesh Chander2018-10-291-0/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip: Include minizip in our Xcode projectRoopesh Chander2018-10-291-0/+42
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* QR code: Integrate Eric's QR code scannerRoopesh Chander2018-10-281-0/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Xcode: Disable bitcodeRoopesh Chander2018-10-271-0/+2
| | | | | | Enabling bitcode generates a linker error when linking with libwg-go.a Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Bring up the tunnelRoopesh Chander2018-10-271-0/+18
| | | | | | | | | | The app figures out all settings and passes them in the 'options' parameter of startTunnel(). The network extension just takes them as is and just plugs the supplied values into the right places. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Xcode: Make Xcode build libwg-go.a automaticallyRoopesh Chander2018-10-271-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | This is based on Jeroen Leenarts' work (commit a3cdb84) and Jason Donenfeld's work (commit 9d01829). To reproduce: In Xcode, add a new target called 'WireGuardGoBridge' with the Cross-platform > External build system template. Configure that target with the 'make' build tool and ask it to build on the wireguard-go-bridge directory. The Makefile in wireguard-go-bridge is already configured to handle being called from Xcode as an external build system. In WireGuardNetworkExtension's build phases, add a dependancy to WireGuardGoBridge, and ask it to link to libwg-go.a (the make command shall generate this archive). Add libwg-go.a as a library to be linked with. Edit the Xcode pbxproj file and in the file reference entry for libwg-go.a, set path as "libwg-go.a" and sourceTree as BUILT_PRODUCTS_DIR. Signed-off-by: Roopesh Chander <roop@roopc.net>
* NE: Add bridging headerRoopesh Chander2018-10-271-0/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>