aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/Config/Version.xcconfig (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-12-15Version bump0.0.20181104-6Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-14Fixed editable KeyValueCells being copyableEric Kuck2-4/+1
Fixed DNS servers not saving Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-15Fix confusing indentationJason A. Donenfeld1-3/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-14KeyValueCells now share codeEric Kuck9-390/+196
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-14Reorganized project structureEric Kuck18-27/+20
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-14Most similar views now shared between ViewControllersEric Kuck28-506/+278
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-15Prettier log time formatJason A. Donenfeld1-9/+19
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-14Simplify logging tagsJason A. Donenfeld6-22/+31
This was roop's initial idea, and it turns out to be the better one, now that we can pass cstrings more easily. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-14Fix tunnel remaining in 'Activating' stateRoopesh Chander1-1/+19
It uses to remain in 'Activating' state when we don't get a status update notification, for example, when turning on the tunnel repeatedly without Internet connectivity. Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-14Fix status switch weird state after an error occursRoopesh Chander2-2/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-14Deduplicate functionsJason A. Donenfeld2-10/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-13Simplify filemanager extensionJason A. Donenfeld1-18/+13
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-13Can't -> cannotJason A. Donenfeld2-6/+6
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-14NE: Communicate last error to app through a shared fileRoopesh Chander4-16/+84
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-14TunnelsManager: startActivation() need not take a tunnelConfigurationRoopesh Chander1-11/+3
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13Localize swiftlintJason A. Donenfeld1-1/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-13Reorganized ViewControllers (split out UIViews and UITableViewCells into their own classes)Eric Kuck31-719/+1360
All swiftlint warnings except one fixed up Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-13Avoid escaping heap allocationJason A. Donenfeld1-3/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-13Tidy up str to gostr conversionJason A. Donenfeld1-16/+8
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-13TunnelsManager: Remove mentions of 'internal error'Roopesh Chander1-5/+5
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13TunnelsManager: Ask to check Internet connectivity in error alertRoopesh Chander1-1/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13Remove unused code: InternetReachabilityRoopesh Chander2-55/+0
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13TunnelsManager: Remove unused variableRoopesh Chander1-4/+0
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13TunnelsManager: Remove assertRoopesh Chander1-1/+0
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13Simplify C stringsJason A. Donenfeld1-13/+6
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-13TunnelsManager: Fix race between multiple startActivation() callsRoopesh Chander1-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-13TunnelsManager: Reintroduce waiting for another tunnel to deactivateRoopesh Chander2-3/+23
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13Rewrite LoggerJason A. Donenfeld6-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-13More reliable logo sizingEric Kuck1-33/+34
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-13TunnelsManager: Report activation errors through the activationDelegateRoopesh Chander4-68/+77
Don't report activation errors through completion handlers Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13Logging: Write versions from both app and extensionRoopesh Chander3-17/+13
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13Logging: file_log doesn't need the message typeRoopesh Chander1-3/+3
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13Logging: Tag the entries in the merged logRoopesh Chander4-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-13Logging: Use ringlogger for logging from the appRoopesh Chander3-22/+23
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13Logging: ringlogger.c: Trim trailing newlinesRoopesh Chander1-0/+7
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13Logging: Use ringlogger for logging from the extensionRoopesh Chander10-69/+121
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13Avoid using 'VPN' in code where possibleRoopesh Chander2-19/+19
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13mv WireGuard/WireGuard/VPN/ WireGuard/WireGuard/Tunnel/Roopesh Chander4-3/+3
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-13Commit untested ringlogger codeJason A. Donenfeld2-0/+139
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-13Remove useless whitespaceJason A. Donenfeld6-34/+34
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-13Settings: better padding calculationJason A. Donenfeld1-3/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-12Fixed hacky logo display for settingsEric Kuck1-3/+9
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-12More formatting nits and cyclomatic complexity fixesEric Kuck17-217/+166
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-12More linter warnings fixed, enabled more swiftlint rules, project cleanupEric Kuck21-521/+572
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-12Tons more swiftlint warnings fixed. Still a few remaining.Eric Kuck21-237/+222
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-12Added swiftlint and fixed all errors (and a bunch, but not all, warnings)Eric Kuck25-406/+437
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-12Zip importing: importFromFile should take a completionHandlerRoopesh Chander2-7/+13
Deletion of the being-imported file should be done in the completionHandler. Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-12ErrorPresenter: Support onPresented for showErrorAlert(title:,message:)Roopesh Chander1-3/+4
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-12-12Zip importing: Handle spaces in filenames correctlyRoopesh Chander2-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-12Supply missing pieces of path changeJason A. Donenfeld4-13/+27
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>