aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/ZipArchive (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Importing: Ignore case in matching file extensions inside zip filesRoopesh Chander2019-02-091-1/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* import Foundation instead of UIKit wherever possibleRoopesh Chander2019-01-142-2/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Update copyrightJason A. Donenfeld2019-01-073-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* minizip: Remove zip encryption codeRoopesh Chander2018-12-252-103/+0
| | | | | | We can now remove -DNOCRYPT cflag while compiling Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move name from interface to tunnelJason A. Donenfeld2018-12-222-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* providerConfiguration is now a WgQuickConfigEric Kuck2018-12-212-8/+4
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Localize all the thingsRoopesh Chander2018-12-213-5/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Reorganized ViewControllers (split out UIViews and UITableViewCells into their own classes)Eric Kuck2018-12-133-11/+5
| | | | | | All swiftlint warnings except one fixed up Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* More formatting nits and cyclomatic complexity fixesEric Kuck2018-12-123-6/+5
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Tons more swiftlint warnings fixed. Still a few remaining.Eric Kuck2018-12-123-30/+21
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Added swiftlint and fixed all errors (and a bunch, but not all, warnings)Eric Kuck2018-12-122-7/+7
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Zip importing: Handle spaces in filenames correctlyRoopesh Chander2018-12-122-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>
* Error handling: alertText() can be nilRoopesh Chander2018-12-113-3/+3
| | | | | | Indicating that no alert is to be shown for that error. Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip: Fix commentRoopesh Chander2018-12-081-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip: Increase size of buffer used to read data from the archiveRoopesh Chander2018-12-081-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Error handling: Use WireGuardAppError and WireGuardResult throughout the appRoopesh Chander2018-12-073-10/+40
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Exporting: Export to zip in a background threadRoopesh Chander2018-11-151-13/+22
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Exporting: Refactor out zip exporting into a separate classRoopesh Chander2018-11-151-0/+28
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Import from zip in a background threadRoopesh Chander2018-11-151-30/+33
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Refactor out zip importing into a separate classRoopesh Chander2018-11-141-0/+48
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip archive: Handle files within folders inside the zipRoopesh Chander2018-11-031-4/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: fix up stringsJason A. Donenfeld2018-11-011-2/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: fix up captialization in headersJason A. Donenfeld2018-10-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ZIP: fix linter warningsJason A. Donenfeld2018-10-302-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Export: Exporting config filesRoopesh Chander2018-10-291-0/+18
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip: Add zip file readerRoopesh Chander2018-10-291-0/+78
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Zip: Add code from the minizip projectRoopesh Chander2018-10-297-0/+5460
Source: https://zlib.net/zlib-1.2.11.tar.gz Signed-off-by: Roopesh Chander <roop@roopc.net>