Commit Graph

619 Commits

Author SHA1 Message Date
Davide De Rosa eb56a9a56c Optimize [Data].flatCount 2019-06-05 14:14:15 +02:00
Davide De Rosa a861c69f36 Fix missing paths in LZO subspec
StandardLZO.m was not matched.

Regression in ee4a446fa5
2019-05-28 15:42:02 +02:00
Davide De Rosa 2409443b4e [ci skip] Add link to Travis-CI badge 2019-05-27 22:16:36 +02:00
Davide De Rosa 5ba49aea45 Merge branch 'update-readme' 2019-05-27 22:06:01 +02:00
Davide De Rosa 969f524b86 [ci skip] Update README to new structure 2019-05-27 22:03:36 +02:00
Davide De Rosa 3244c31600 Add Travis-CI badge 2019-05-27 22:01:39 +02:00
Davide De Rosa 5bc44c4842 Restrict Travis-CI to master and stable
Should run in PRs though.
2019-05-27 22:00:15 +02:00
Davide De Rosa 6004d3fcc8 Move OpenSSL dependency to OpenVPN 2019-05-27 21:35:41 +02:00
Davide De Rosa 2135180e72 [ci skip] Add missing jazzy entities 2019-05-27 21:28:31 +02:00
Davide De Rosa 4c4b537721 Merge branch 'travis-testing' 2019-05-27 21:27:32 +02:00
Davide De Rosa 137ab17474 Run tests on Travis-CI
Rely on Travis for basic test stage. No manual xcodebuild script.

Had to inject a manual "pod repo update" though.

https://github.com/travis-ci/travis-ci/issues/6473#issuecomment-247777762

Extend build time to 20 minutes (OpenSSL takes a lot).
2019-05-27 19:21:12 +02:00
Davide De Rosa 74e04a47b9 Fix Podfile targets 2019-05-27 17:15:37 +02:00
Davide De Rosa bad16a5b4c Update bundle
Fix CocoaPods version.
2019-05-27 17:14:59 +02:00
Davide De Rosa a2ba2520fe Make Swift import paths recursive 2019-05-27 12:10:00 +02:00
Davide De Rosa 12a1526c1e Fix Podfile targets 2019-05-27 12:09:55 +02:00
Davide De Rosa f3edd6ec59 Merge branch 'openvpn-appextension' 2019-05-24 16:04:39 +02:00
Davide De Rosa 2ddf712176 Update jazzy YAML 2019-05-24 16:04:19 +02:00
Davide De Rosa adcae1686e Update Demo 2019-05-24 16:02:59 +02:00
Davide De Rosa be1081aad6 Nest subspecs by purpose
- Protocols
- Extra
2019-05-24 16:02:59 +02:00
Davide De Rosa 21eee24e7c Add missing documentation 2019-05-24 16:02:06 +02:00
Davide De Rosa 72ce14b676 Make AppExtension entities public 2019-05-24 16:02:06 +02:00
Davide De Rosa 334613401b Organize tests by subspec
Split TestUtils.
2019-05-24 10:59:20 +02:00
Davide De Rosa 3edd00b2da Drop deprecated endpointProtocols 2019-05-24 10:59:20 +02:00
Davide De Rosa 185f0707cf Move OpenVPN configuration part on top 2019-05-24 10:59:20 +02:00
Davide De Rosa 1f8c51c126 Parse OpenVPN.Configuration from defaults 2019-05-24 10:59:20 +02:00
Davide De Rosa 5561c7adc6 Group OpenVPN.Configuration funcs into extension
- with (creation)
- store (convert to dict)
- print (log)
2019-05-24 10:54:25 +02:00
Davide De Rosa a85404e951 Rename provider class to OpenVPNTunnelProvider 2019-05-24 10:41:30 +02:00
Davide De Rosa 9445b825d0 Make AppExtension generic
- Make AppExtension a standalone util subspec
- Move OpenVPN tunnel provider to OpenVPN subspec
- Move Utils to Core subspec
- Depend OpenVPN on Core + AppExtension
2019-05-24 10:41:26 +02:00
Davide De Rosa 011a407edd Merge branch 'wrap-protocol-specifics' 2019-05-23 20:07:42 +02:00
Davide De Rosa b6da3f2d13 Rename proxy to session
According to SessionProxy -> OpenVPNSession.
2019-05-19 15:56:44 +02:00
Davide De Rosa 8be0f14aa9 Move PRNG initialization to namespace level 2019-05-19 15:52:55 +02:00
Davide De Rosa 821cf66d79 Restore tests with recent changes 2019-05-19 15:50:30 +02:00
Davide De Rosa d057e9645b Restore AppExtension with recent changes 2019-05-19 15:50:12 +02:00
Davide De Rosa 3ae07ec9da Move OpenSSL dependency to OpenVPN subspec 2019-05-19 15:08:46 +02:00
Davide De Rosa 6ebf025859 Take Session protocol out of OpenVPNSession
Fix some doc.
2019-05-19 15:08:43 +02:00
Davide De Rosa 313d076ddf Move Error extension to Core 2019-05-19 14:34:27 +02:00
Davide De Rosa c4a84a5ade Prefix top-level entities with OpenVPN* 2019-05-19 14:34:23 +02:00
Davide De Rosa 9c7ae47679 Make SessionProxy* top level
Drop redundant SessionReply.
2019-05-19 14:17:18 +02:00
Davide De Rosa 465e08e42f Wrap OpenVPN entities in pseudonamespace
Temporarily exclude AppExtension and tests.
2019-05-19 14:05:02 +02:00
Davide De Rosa df6c18f939 Merge branch 'move-generic-entities-to-core' 2019-05-19 12:40:28 +02:00
Davide De Rosa 5748d29094 Update jazzy categories 2019-05-19 12:40:20 +02:00
Davide De Rosa 50d492096f Move a few generic entities to Core
- IPv4Settings
- IPv6Settings
- Proxy
- EndpointProtocol (Codable)
2019-05-19 12:40:20 +02:00
Davide De Rosa 17426e4621 Merge branch 'split-core-openvpn' 2019-05-19 12:40:05 +02:00
Davide De Rosa 930f05c984 Move OpenVPN timeouts out of Core 2019-05-19 12:39:51 +02:00
Davide De Rosa 5b81aa6a78 Drop "Box" from error codes 2019-05-19 12:22:32 +02:00
Davide De Rosa ee4a446fa5 Add new OpenVPN subspec
- AppExtension will need to be protocol-agnostic
- Adjust Errors.h access in LZO subspec

Fixes "umbrella header for module 'xxx' does not include header".
2019-05-19 12:22:32 +02:00
Davide De Rosa 9da7fa9667 Split Core into Core+OpenVPN
Two Obj-C modules:

- __TunnelKitCore
- __TunnelKitOpenVPN

Seems the only way to do it in multiple module maps.

Move OpenVPN specifics out of CoreConfiguration.
2019-05-19 12:22:32 +02:00
Davide De Rosa 491092f2a3 Drop extra header lines 2019-05-19 12:21:44 +02:00
Davide De Rosa 21b67fd9ff Make CoreConfiguration a class for bundle lookup 2019-05-19 11:36:26 +02:00
Davide De Rosa 470c50b037 Return just <masked> when masked description
Why bother with useless hashes?
2019-05-19 11:36:26 +02:00