Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | UI: macOS: remove donation link1.0.10-19 | Jason A. Donenfeld | 2020-12-16 | 2 | -4/+2 |
| | | | | | | | | | Apple forbids us from having a simple donation link in the "About WireGuard" dialog, due to new policies. And arguing with the giant is not going to be a fruitful battle. Do the practical thing and just remove it. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Version bump1.0.10-18 | Jason A. Donenfeld | 2020-12-15 | 1 | -2/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | WireGuardApp: Refactor TunnelListCell | Andrej Mihajlov | 2020-12-15 | 1 | -35/+33 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Replace AnyObject with a concrete NSKeyValueObservation | Andrej Mihajlov | 2020-12-15 | 1 | -2/+2 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Animate switch control in TunnelListCell | Andrej Mihajlov | 2020-12-15 | 1 | -9/+9 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Remove 200ms delay when updating tunnel status switch | Andrej Mihajlov | 2020-12-15 | 2 | -13/+8 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Pin status switch to cell margin | Andrej Mihajlov | 2020-12-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Refactor indicator view initialization | Andrej Mihajlov | 2020-12-15 | 1 | -6/+5 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Use Bundle.forInfoDictionaryKey to access Info.plist fields | Andrej Mihajlov | 2020-12-15 | 1 | -2/+2 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Refactor indicator initialization | Andrej Mihajlov | 2020-12-15 | 1 | -6/+5 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Fix window background color to default black | Andrej Mihajlov | 2020-12-15 | 1 | -5/+0 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | global: support DNS search domains | Jason A. Donenfeld | 2020-12-15 | 6 | -16/+28 |
| | | | | | | | This has been supported by Windows and Linux for quite some time. Add support here for iOS and macOS. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | WireGuardKitGo: update to latest wireguard-go tag | Jason A. Donenfeld | 2020-12-15 | 5 | -38/+48 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Revert "[REVERT ME SOON] TunnelsManager: Workaround for macOS Catalina deleting tunnels arbitrarily" | Jason A. Donenfeld | 2020-12-11 | 1 | -161/+2 |
| | | | | | | | | This reverts commit 028e76eb3fda127d84eb88dc5cb96d4278f37b96. It's been over a year. I really hope this is fixed by Apple. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | WireGuardApp: modify xcodeproj when syncing translations | Jason A. Donenfeld | 2020-12-11 | 2 | -9/+107 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | WireGuardKit: Let wireguard-go backend run in offline on macOS | Andrej Mihajlov | 2020-12-11 | 1 | -3/+8 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: add CrowdIn syncer and run it | Jason A. Donenfeld | 2020-12-11 | 19 | -20/+4234 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | WireGuardKit: Conditionally turn on/off wireguard-go | Andrej Mihajlov | 2020-12-11 | 3 | -106/+213 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardGoKit: drop support for armv7 | Jason A. Donenfeld | 2020-12-09 | 1 | -3/+2 |
| | | | | | | Apple and Go have both dropped it, so we do the same. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | global: fix remaining swiftlint violations | Jason A. Donenfeld | 2020-12-09 | 4 | -4/+5 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | WireGuardKitGo: get rid of missing -Wno-unused-command-line-argument flag | Jason A. Donenfeld | 2020-12-09 | 1 | -1/+1 |
| | | | | | | Recent toolchains error out on it, and it's no longer needed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | WireGuardKitGo: rebase boottime patch onto Go 1.15.6 | Jason A. Donenfeld | 2020-12-09 | 2 | -39/+13 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | global: bump year in header | Jason A. Donenfeld | 2020-12-04 | 102 | -102/+102 |
| | | | | | | A bit overdue, but better late than never. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | WireGuardApp: Update target membership to exclude sources that are only used in network extensions | Andrej Mihajlov | 2020-12-04 | 1 | -16/+0 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardKit: Delegate IPv*Address initialization to self.init | Andrej Mihajlov | 2020-12-04 | 1 | -10/+2 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Remove backend version call in Logger.swift & extract wireguard-go version script from network extension targets | Andrej Mihajlov | 2020-12-04 | 3 | -40/+2 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardKit: Log XLAT resolution errors | Andrej Mihajlov | 2020-12-04 | 2 | -5/+20 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Disable SWIFT_PRECOMPILE_BRIDGING_HEADER | Andrej Mihajlov | 2020-12-04 | 1 | -0/+2 |
| | | | | | | Clang automatically picks up module.modulemap files from WireGuardKit directories when precompiling bridging header file, which causes the compiler to fail with obscure error. Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Update swift version from 4.2 to 5.0 | Andrej Mihajlov | 2020-12-04 | 1 | -2/+2 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | Update checkout path in README | Andrej Mihajlov | 2020-12-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | Keychain: Avoid roundtrip via items when accessing item label (stored in kSecAttrLabel) | Andrej Mihajlov | 2020-12-04 | 1 | -4/+3 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | Keychain: Remove unnecessary cast to String in Keychain queries | Andrej Mihajlov | 2020-12-04 | 1 | -23/+23 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Remove WireGuardKit.swift from Xcode source tree | Andrej Mihajlov | 2020-12-04 | 1 | -10/+0 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuadKit: Rename WireGuardAdapter.version -> .backendVersion & remove `var wireGuardVersion` with WireGuardKit.swift | Andrej Mihajlov | 2020-12-04 | 2 | -9/+1 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Add back the wireguard-go version extraction script and use WIREGUARD_GO_VERSION directly | Andrej Mihajlov | 2020-12-04 | 5 | -8/+86 |
| | | | | | | Avoids linking against libwg-go.a in order to access the WireGuard backend version. Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Include headers from WireGuardKitC | Andrej Mihajlov | 2020-12-04 | 2 | -2/+5 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: integrate WireGuardKit sources directly | Andrej Mihajlov | 2020-12-03 | 27 | -85/+188 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | Remove Sources/ in project folder names | Andrej Mihajlov | 2020-12-03 | 1 | -6/+9 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardKit: Rename WireGuardKitSwift -> WireGuardKit | Andrej Mihajlov | 2020-12-03 | 14 | -2/+2 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | Linter: Fix all linter issues across the codebase | Andrej Mihajlov | 2020-12-03 | 12 | -42/+48 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardApp: Fix build working dir for go-bridge targets | Andrej Mihajlov | 2020-12-03 | 1 | -2/+2 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardNetworkExtension: Remove wireguard.h from bridging header | Andrej Mihajlov | 2020-12-03 | 1 | -1/+0 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | Fix paths pointing to xcconfigs | Andrej Mihajlov | 2020-12-03 | 2 | -4/+4 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardKit: Add wireguard-go files to exclude list to eliminate SwiftPM warnings | Andrej Mihajlov | 2020-12-03 | 1 | -0/+7 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardKit: Set publicHeadersPath = "." to flatten public headers structure | Andrej Mihajlov | 2020-12-03 | 3 | -4/+6 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardKit: Fix module map for WireGuardKitC | Andrej Mihajlov | 2020-12-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardKit: Fix import statements | Andrej Mihajlov | 2020-12-03 | 3 | -3/+3 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | Move all source files to `Sources/` and rename WireGuardKit targets | Andrej Mihajlov | 2020-12-03 | 209 | -58/+54 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardKit: Assert that resolutionResults must not contain failures | Andrej Mihajlov | 2020-12-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | ||||
* | WireGuardKit: Only assign self.settingsGenerator upon success to set tunnel network settings to avoid inconsistent state | Andrej Mihajlov | 2020-12-03 | 1 | -1/+5 |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> |