Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-12-13 | Avoid escaping heap allocation | Jason A. Donenfeld | 1 | -3/+3 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-13 | Tidy up str to gostr conversion | Jason A. Donenfeld | 1 | -16/+8 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-13 | TunnelsManager: Remove mentions of 'internal error' | Roopesh Chander | 1 | -5/+5 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | TunnelsManager: Ask to check Internet connectivity in error alert | Roopesh Chander | 1 | -1/+1 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | Remove unused code: InternetReachability | Roopesh Chander | 2 | -55/+0 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | TunnelsManager: Remove unused variable | Roopesh Chander | 1 | -4/+0 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | TunnelsManager: Remove assert | Roopesh Chander | 1 | -1/+0 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | Simplify C strings | Jason A. Donenfeld | 1 | -13/+6 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-13 | TunnelsManager: Fix race between multiple startActivation() calls | Roopesh Chander | 1 | -0/+2 | |
After startActivate() is called on a waiting tunnel, user might turn on a different tunnel before the waiting tunnel's status gets updated. This fix prevents that from happening. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | TunnelsManager: Reintroduce waiting for another tunnel to deactivate | Roopesh Chander | 2 | -3/+23 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | Rewrite Logger | Jason A. Donenfeld | 6 | -114/+86 | |
This reverts all of Roop's changes to the C code, and then rewrites the logger logic to be cleaner. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-13 | More reliable logo sizing | Eric Kuck | 1 | -33/+34 | |
Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
2018-12-13 | TunnelsManager: Report activation errors through the activationDelegate | Roopesh Chander | 4 | -68/+77 | |
Don't report activation errors through completion handlers Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | Logging: Write versions from both app and extension | Roopesh Chander | 3 | -17/+13 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | Logging: file_log doesn't need the message type | Roopesh Chander | 1 | -3/+3 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | Logging: Tag the entries in the merged log | Roopesh Chander | 4 | -7/+14 | |
So we know which entry is from the app and which is from the network extension. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | Logging: Use ringlogger for logging from the app | Roopesh Chander | 3 | -22/+23 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | Logging: ringlogger.c: Trim trailing newlines | Roopesh Chander | 1 | -0/+7 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | Logging: Use ringlogger for logging from the extension | Roopesh Chander | 10 | -69/+121 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | Avoid using 'VPN' in code where possible | Roopesh Chander | 2 | -19/+19 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | mv WireGuard/WireGuard/VPN/ WireGuard/WireGuard/Tunnel/ | Roopesh Chander | 4 | -3/+3 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-13 | Commit untested ringlogger code | Jason A. Donenfeld | 2 | -0/+139 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-13 | Remove useless whitespace | Jason A. Donenfeld | 6 | -34/+34 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-13 | Settings: better padding calculation | Jason A. Donenfeld | 1 | -3/+3 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-12 | Fixed hacky logo display for settings | Eric Kuck | 1 | -3/+9 | |
Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
2018-12-12 | More formatting nits and cyclomatic complexity fixes | Eric Kuck | 17 | -217/+166 | |
Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
2018-12-12 | More linter warnings fixed, enabled more swiftlint rules, project cleanup | Eric Kuck | 21 | -521/+572 | |
Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
2018-12-12 | Tons more swiftlint warnings fixed. Still a few remaining. | Eric Kuck | 21 | -237/+222 | |
Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
2018-12-12 | Added swiftlint and fixed all errors (and a bunch, but not all, warnings) | Eric Kuck | 25 | -406/+437 | |
Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
2018-12-12 | Zip importing: importFromFile should take a completionHandler | Roopesh Chander | 2 | -7/+13 | |
Deletion of the being-imported file should be done in the completionHandler. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-12 | ErrorPresenter: Support onPresented for showErrorAlert(title:,message:) | Roopesh Chander | 1 | -3/+4 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-12 | Zip importing: Handle spaces in filenames correctly | Roopesh Chander | 2 | -13/+14 | |
Previously, if a filename of a .conf file inside the zip file contained spaces, it was not imported. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-12 | Supply missing pieces of path change | Jason A. Donenfeld | 4 | -13/+27 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-11 | Fixed a potential race condition, better naming on PacketTunnelSettingsGenerator methods | Eric Kuck | 2 | -18/+24 | |
Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
2018-12-11 | Added an (unfinished) NWPathMonitor implementation for reconnecting on network changes | Eric Kuck | 3 | -1/+42 | |
Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
2018-12-11 | Revert pure-go network monitoring and add wgSetConfig | Jason A. Donenfeld | 2 | -84/+18 | |
This reverts commit 99f0e457c34480f25582d7b4ed509404712c648c and adds a function too. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2018-12-11 | State restoration: Don't create duplicate mainVC and tunnelsListVC | Roopesh Chander | 1 | -6/+1 | |
This creates a duplicate tunnels manager, leading to problems tracking tunnel statuses. To reproduce the bug that this commit fixes, you can do the following: 1. Remove all tunnels 2. Run in Xcode 3. Import zip with ~10 tunnels 4. Stop app in Xcode 5. Run in Xcode 6. Turn on 1st tunnel, after it's on, turn off Turn on 2nd tunnel, after it's on, turn off ... After 6-8 tunnels, the spinner doesn't show up, indicating that the status is not being tracked. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-11 | TunnelsManager: Error out only on no-internet scenario | Roopesh Chander | 1 | -4/+4 | |
The other scenario happens even during reloading of a tunnel for activation. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-11 | Remove the feature of waiting for another tunnel to deactivate | Roopesh Chander | 3 | -59/+11 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-11 | TunnelsManager: Deactivate only when the status becomes 'connected' | Roopesh Chander | 1 | -3/+11 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-11 | Allow turning off the status switch of a waiting tunnel | Roopesh Chander | 2 | -2/+2 | |
It just means the waiting should be cancelled Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-11 | TunnelsManager: Handle status change in TunnelsManager | Roopesh Chander | 1 | -66/+78 | |
Rather than in TunnelContainer. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-11 | Error handling: alertText() can be nil | Roopesh Chander | 6 | -6/+6 | |
Indicating that no alert is to be shown for that error. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | TunnelsManager: Don't act on status change on tunnelProviders we don't have | Roopesh Chander | 1 | -2/+0 | |
That causes errors we don't want, and duplicate notifications. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | TunnelsManager: Always call the completion handler before returning | Roopesh Chander | 1 | -0/+4 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | TunnelsManager: Debugging helpers for tunnel status | Roopesh Chander | 1 | -0/+27 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | TunnelsManager: Handle deactivation of a waiting tunnel | Roopesh Chander | 1 | -1/+6 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | Tunnels list: Fix AutoLayout error during deletion of a tunnel | Roopesh Chander | 1 | -2/+6 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | Settings: Dynamic Type support | Roopesh Chander | 1 | -2/+6 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
2018-12-10 | Tunnel edit: Dynamic Type support | Roopesh Chander | 1 | -6/+56 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> |