aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/AppDelegate.swift (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ringlogger: support mpsc for singlefileJason A. Donenfeld2019-03-171-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Importing: macOS: Support importing of multiple files at a timeRoopesh Chander2019-02-251-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Refactor importFromFileRoopesh Chander2019-01-141-1/+2
| | | | | | So that it can be used in macOS as well Signed-off-by: Roopesh Chander <roop@roopc.net>
* Update copyrightJason A. Donenfeld2019-01-071-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remove more commentsRoopesh Chander2018-12-231-2/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Removing a tunnel from iOS's settings is now immediately reflected in appEric Kuck2018-12-211-5/+2
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Most similar views now shared between ViewControllersEric Kuck2018-12-141-1/+1
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Simplify logging tagsJason A. Donenfeld2018-12-141-1/+1
| | | | | | | 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>
* Rewrite LoggerJason A. Donenfeld2018-12-131-11/+1
| | | | | | | 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>
* Logging: Write versions from both app and extensionRoopesh Chander2018-12-131-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logging: Use ringlogger for logging from the appRoopesh Chander2018-12-131-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logging: Use ringlogger for logging from the extensionRoopesh Chander2018-12-131-0/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tons more swiftlint warnings fixed. Still a few remaining.Eric Kuck2018-12-121-1/+1
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Zip importing: importFromFile should take a completionHandlerRoopesh Chander2018-12-121-2/+3
| | | | | | | Deletion of the being-imported file should be done in the completionHandler. Signed-off-by: Roopesh Chander <roop@roopc.net>
* State restoration: Don't create duplicate mainVC and tunnelsListVCRoopesh Chander2018-12-111-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>
* State restoration: Restore tunnel detail viewRoopesh Chander2018-12-071-1/+36
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Refactoring: Consolidate file deletion into a separate functionRoopesh Chander2018-12-071-7/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Refactor out VPN-handling stuff from tunnels list VC to the main VCRoopesh Chander2018-12-031-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Refresh tunnel statuses when app gets to the foregroundRoopesh Chander2018-11-091-0/+4
| | | | | | Because the tunnel could've be activated from iOS Settings now Signed-off-by: Roopesh Chander <roop@roopc.net>
* global: convert to Swift 4.2Jason A. Donenfeld2018-11-051-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: run through swiftlintJason A. Donenfeld2018-11-031-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Style: Remove 'Based on' attributionsRoopesh Chander2018-10-301-1/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: fix up captialization in headersJason A. Donenfeld2018-10-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Import: Use the refactored function for Open-inRoopesh Chander2018-10-291-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Import: Support for opening a .conf file in the appRoopesh Chander2018-10-271-1/+19
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Smaller copyright headersRoopesh Chander2018-10-271-7/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Change copyright to WireGuard LLCRoopesh Chander2018-10-271-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move UI code into a separate platform-specific folderRoopesh Chander2018-10-271-0/+28
Later, we hope to have a UI/macOS folder for developing a macOS client from this codebase. Signed-off-by: Roopesh Chander <roop@roopc.net>