Roopesh Chander
7bde4a6300
DNSResolver: DNS resolution can now happen synchronously
2018-11-08 17:52:11 +05:30
Roopesh Chander
8f35d70482
Model: Endpoint.hostname()
2018-11-08 17:52:11 +05:30
Roopesh Chander
e83af4bce5
Move logic to extension: NETunnelProviderProtocol extension code should be shared
2018-11-08 17:52:01 +05:30
Roopesh Chander
80e563406b
Move logic to extension: Refactor PacketTunnelOptionsGenerator into a PacketTunnelSettingsGenerator
2018-11-08 15:44:13 +05:30
Roopesh Chander
13eebb2e64
Move logic to extension: Move DNSResolver to extension
2018-11-08 15:09:45 +05:30
Roopesh Chander
3f3f22a048
Move logic to extension: .resolvingEndpointDomains is not longer a valid status
2018-11-08 15:08:57 +05:30
Roopesh Chander
7c9d45ac97
Move logic to extension: DNS resolution no longer happens in the app
2018-11-08 15:04:12 +05:30
Roopesh Chander
6e5b691a83
Move logic to extension: Include shared model code when building the extension
2018-11-08 14:50:05 +05:30
Roopesh Chander
2afb2244ff
Model: Move InterfaceConfiguration.publicKey to Curve25519.swift
...
The code for public key calculation need not be shared with the extension
2018-11-08 14:48:25 +05:30
Roopesh Chander
de92f2dcd8
Move logic to extension: Move PacketTunnelOptionsGenerator to the extension
2018-11-08 14:16:30 +05:30
Roopesh Chander
c7cad030aa
Move logic to extension: Invoke startTunnel() without any options
2018-11-08 14:15:01 +05:30
Roopesh Chander
f438f3ef6b
Move logic to extension: Move model files to Shared
2018-11-08 13:56:50 +05:30
Roopesh Chander
d15473a2f5
Tunnel edit: While preparing for reuse, should make onValueBeingEdited nil as well
2018-11-08 12:25:36 +05:30
Jason A. Donenfeld
8cb1850e44
Version bump
2018-11-07 17:43:50 +01:00
Roopesh Chander
cc52c88321
iPad: Ensure we set sourceRect for all cases where we use sourceView
2018-11-07 17:43:30 +01:00
Roopesh Chander
2fd8792fa5
Info.plist: Register for handling public.text files for Open-in
2018-11-07 17:43:30 +01:00
Roopesh Chander
8ad6ba6adc
Importing: Also support importing public.text files in the file picker
2018-11-07 17:43:30 +01:00
Roopesh Chander
6e142cd924
iPad: Set correct sourceRect for the popover anchored on the central 'Add' button
2018-11-07 18:23:12 +05:30
Roopesh Chander
d477b132e4
TunnelsManager: Return a manager with no tunnels in the simulator
...
To be able to run at least parts of the app in the simulator.
2018-11-07 18:15:20 +05:30
Roopesh Chander
1bba1ffe16
iPad: Configuring the split-view controller should happen in init(), not loadView()
2018-11-07 15:54:30 +05:30
Jason A. Donenfeld
f8f19ef3d7
Settings: show build id
2018-11-07 05:45:39 +01:00
Jason A. Donenfeld
bfab65348c
Make license consistent
...
We changed all the files and the README to MIT a long time ago but
forgot to update COPYING.
2018-11-07 01:26:32 +01:00
Jason A. Donenfeld
b927c961ae
Version bump
2018-11-06 20:18:11 +01:00
Jason A. Donenfeld
414835e60e
Importing: simplify
2018-11-06 20:16:40 +01:00
Roopesh Chander
b9b8ae8908
Importing: Assume imported files without .conf or .zip extensions to be a config file
2018-11-07 00:35:37 +05:30
Roopesh Chander
c9b27d1617
DNSResolver: No need to resolve if the endpoint is already an IP address
2018-11-06 23:59:48 +05:30
Roopesh Chander
1410b89f23
Model: Endpoint.hasHostAsIPAddress()
2018-11-06 23:59:48 +05:30
Jason A. Donenfeld
b57824cde1
PacketTunnelProvider: modernize header
2018-11-06 19:04:53 +01:00
Jason A. Donenfeld
9247f216cf
Not horribly broken
...
Instead it's just mostly broken. Maybe someday it will only be partially
broken. Then a bit broken. And then maybe not broken at all? Before, of
course, it's broken again.
2018-11-06 19:02:46 +01:00
Roopesh Chander
cc57d8443e
Global: swiftlint autocorrect --format
2018-11-06 22:42:53 +05:30
Roopesh Chander
fe191b1eff
Global: swiftlint autocorrect
2018-11-06 22:42:05 +05:30
Roopesh Chander
2b3347b294
Importing: Error out on file with unsupported file extension
2018-11-06 22:32:33 +05:30
Jason A. Donenfeld
040f0a25ea
wireguard-go-bridge: take fd instead of fnptr
2018-11-06 16:27:25 +01:00
Jason A. Donenfeld
2a7aa578d2
Xcode: enable more warnings
2018-11-06 16:27:25 +01:00
Roopesh Chander
0f61703c34
Tunnel edit: TunnelEditTableViewKeyValueCell need not support a read-only mode now
2018-11-06 19:01:13 +05:30
Roopesh Chander
845305d8c8
Tunnel edit: A new cell class for the public key field, to make the value scrollable
2018-11-06 17:05:03 +05:30
Roopesh Chander
5ea1c5aea8
Tunnel detail: Refactor out the label scrolling into a separate UI class
2018-11-06 16:49:09 +05:30
Roopesh Chander
e9044966bf
Tunnel view model: Peers in a configuation may not share the same public key
2018-11-06 08:17:56 +05:30
Roopesh Chander
e05a6c31b9
Parser: Peers in a configuation may not share the same public key
2018-11-06 08:17:56 +05:30
Jason A. Donenfeld
e6a6decd79
Version bump
...
We update the build number, not the version number, so that test flight
doesn't need a new review.
2018-11-05 21:44:00 +01:00
Roopesh Chander
4c701a0e4f
Parser: Address, DNS and AllowedIPs can have mutliple entries
2018-11-05 23:53:00 +05:30
Roopesh Chander
c1286c95c3
QR Code: Dismiss the QR code screen when the name prompt is cancelled
2018-11-05 23:38:41 +05:30
Roopesh Chander
3e8af3fd19
Tunnel view model: No need to save if we already have a validated configuration object
2018-11-05 22:55:09 +05:30
Jason A. Donenfeld
12a4acef61
global: convert to Swift 4.2
2018-11-05 06:31:25 +01:00
Jason A. Donenfeld
145b524954
TunnelsManager: account for no or many endpoints
2018-11-05 06:23:26 +01:00
Jason A. Donenfeld
bf6b2b6cb1
wireguard-go-bridge: work around DWARF generation issue
...
Golang bug 25148 upstream.
2018-11-05 04:47:11 +01:00
Jason A. Donenfeld
8958a04ba4
PacketTunnelProvider: clamp v6 addresses to /120
2018-11-05 03:11:11 +01:00
Jason A. Donenfeld
395ccf0e87
Settings: account for bottom padding on iPhone X
...
Reported-by: Jeffrey A. Donenfeld <jad@runblue.com>
2018-11-05 02:09:40 +01:00
Jason A. Donenfeld
54cfa3dba3
XCode: use old network extension ID
2018-11-04 05:42:25 +01:00
Jason A. Donenfeld
ab14c0070c
wireguard-go-bridge: xcode expects install target
2018-11-04 03:56:15 +01:00