]> git.ipfire.org Git - thirdparty/wireguard-apple.git/log
thirdparty/wireguard-apple.git
6 years agoFix writing of preshared key to config format
Roopesh Chander [Sat, 9 Feb 2019 09:27:24 +0000 (14:57 +0530)] 
Fix writing of preshared key to config format

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoProject: don't embed swift binaries into appex
Jason A. Donenfeld [Fri, 8 Feb 2019 16:16:05 +0000 (17:16 +0100)] 
Project: don't embed swift binaries into appex

Otherwise we're rejected from the app store.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoGlobal: fix swiftlint issues
Jason A. Donenfeld [Fri, 8 Feb 2019 16:05:58 +0000 (17:05 +0100)] 
Global: fix swiftlint issues

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: get rid of nopie warning
Jason A. Donenfeld [Fri, 8 Feb 2019 15:42:25 +0000 (16:42 +0100)] 
wireguard-go-bridge: get rid of nopie warning

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: Cache go tarballs
Jason A. Donenfeld [Fri, 8 Feb 2019 15:23:40 +0000 (16:23 +0100)] 
wireguard-go-bridge: Cache go tarballs

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoKeyEncoding: rename file to match extension filename style
Jason A. Donenfeld [Fri, 8 Feb 2019 15:15:10 +0000 (16:15 +0100)] 
KeyEncoding: rename file to match extension filename style

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoKey: we already do len checking in C
Jason A. Donenfeld [Fri, 8 Feb 2019 13:39:59 +0000 (14:39 +0100)] 
Key: we already do len checking in C

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoInfo.plist: Add missing key types 0.0.20190207-1
Jason A. Donenfeld [Fri, 8 Feb 2019 02:47:33 +0000 (03:47 +0100)] 
Info.plist: Add missing key types

I worry that LSMinimumSystemVersion in the extension's plist might be
problematic, since that same plist runs on macOS and iOS. We _might_
need to bifurcate.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump
Jason A. Donenfeld [Fri, 8 Feb 2019 02:28:28 +0000 (03:28 +0100)] 
Version bump

First Mac App Store release if all goes well.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoKey: Use C implementation instead
Jason A. Donenfeld [Fri, 8 Feb 2019 02:21:52 +0000 (03:21 +0100)] 
Key: Use C implementation instead

Swift compiles so slowly and it's unclear all of the insane type punning
was even correct.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoKey: Constant time encoding
Jason A. Donenfeld [Thu, 7 Feb 2019 23:44:14 +0000 (00:44 +0100)] 
Key: Constant time encoding

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnelsManager: Ignore status changes on tunnel providers we don't have
Roopesh Chander [Thu, 7 Feb 2019 23:08:08 +0000 (04:38 +0530)] 
TunnelsManager: Ignore status changes on tunnel providers we don't have

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Use shorter pretty time
Roopesh Chander [Thu, 7 Feb 2019 22:44:10 +0000 (04:14 +0530)] 
iOS: Use shorter pretty time

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Tunnel detail: Turn off animation when showing fields changing
Roopesh Chander [Thu, 7 Feb 2019 21:52:16 +0000 (03:22 +0530)] 
iOS: Tunnel detail: Turn off animation when showing fields changing

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Show alert if exiting with an active tunnel
Roopesh Chander [Thu, 7 Feb 2019 21:31:17 +0000 (03:01 +0530)] 
macOS: Show alert if exiting with an active tunnel

Instead of deactivating the tunnel.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: Don't lose .restarting state
Roopesh Chander [Thu, 7 Feb 2019 18:47:05 +0000 (00:17 +0530)] 
TunnelsManager: Don't lose .restarting state

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: Log startDeactivation calls
Roopesh Chander [Thu, 7 Feb 2019 13:23:37 +0000 (18:53 +0530)] 
TunnelsManager: Log startDeactivation calls

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go: Bump
Jason A. Donenfeld [Thu, 7 Feb 2019 20:09:03 +0000 (21:09 +0100)] 
wireguard-go: Bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoEnable hardened runtime
Jason A. Donenfeld [Thu, 7 Feb 2019 18:17:27 +0000 (19:17 +0100)] 
Enable hardened runtime

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoNetworkExtensionMac: Don't forget to link to the networkextension framework
Jason A. Donenfeld [Thu, 7 Feb 2019 18:13:43 +0000 (19:13 +0100)] 
NetworkExtensionMac: Don't forget to link to the networkextension framework

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoStatusItemController: Show animation when deactivating
Jason A. Donenfeld [Thu, 7 Feb 2019 17:19:15 +0000 (18:19 +0100)] 
StatusItemController: Show animation when deactivating

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoPacketTunnelProvider: proper fix for 32073323
Jason A. Donenfeld [Thu, 7 Feb 2019 14:01:37 +0000 (15:01 +0100)] 
PacketTunnelProvider: proper fix for 32073323

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnelsManager: When creating/modifying a tunnel, update the associated object
Roopesh Chander [Thu, 7 Feb 2019 12:48:04 +0000 (18:18 +0530)] 
TunnelsManager: When creating/modifying a tunnel, update the associated object

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: prohibit multiple instances of app
Jason A. Donenfeld [Wed, 6 Feb 2019 02:32:40 +0000 (03:32 +0100)] 
macOS: prohibit multiple instances of app

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoPrivateDataConfirmation: prompt with touch/face/pin/password ID for viewing/exporting...
Jason A. Donenfeld [Wed, 6 Feb 2019 02:23:51 +0000 (03:23 +0100)] 
PrivateDataConfirmation: prompt with touch/face/pin/password ID for viewing/exporting keys

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoLegacyConfig: Remove and support plaintext for .mobileconfig
Jason A. Donenfeld [Wed, 6 Feb 2019 01:01:12 +0000 (02:01 +0100)] 
LegacyConfig: Remove and support plaintext for .mobileconfig

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoKeychain: store configurations in keychain instead of providerConfig
Jason A. Donenfeld [Mon, 4 Feb 2019 06:37:26 +0000 (07:37 +0100)] 
Keychain: store configurations in keychain instead of providerConfig

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnelsManager: cache access to configuration object
Jason A. Donenfeld [Mon, 4 Feb 2019 20:30:33 +0000 (21:30 +0100)] 
TunnelsManager: cache access to configuration object

Supposedly we never change it once per object, so we do the objective C
hack of adding it cached to the extension. This prevents 1000s of calls
to the keychain and improves the speed of imports.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoProject: Remove OS name from appex file name
Jason A. Donenfeld [Mon, 4 Feb 2019 23:50:11 +0000 (00:50 +0100)] 
Project: Remove OS name from appex file name

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnelsManager: Wait for 6 seconds on deactivation instead of 5
Jason A. Donenfeld [Tue, 5 Feb 2019 15:56:17 +0000 (16:56 +0100)] 
TunnelsManager: Wait for 6 seconds on deactivation instead of 5

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowg-quick conf parser: Handle inline comments correctly
Roopesh Chander [Tue, 5 Feb 2019 11:15:32 +0000 (16:45 +0530)] 
wg-quick conf parser: Handle inline comments correctly

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Select tunnel after adding it with 'Add empty tunnel'
Roopesh Chander [Tue, 5 Feb 2019 11:09:19 +0000 (16:39 +0530)] 
macOS: Select tunnel after adding it with 'Add empty tunnel'

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Ensure fields are updated on saving
Roopesh Chander [Tue, 5 Feb 2019 10:45:43 +0000 (16:15 +0530)] 
macOS: Ensure fields are updated on saving

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Ensure fields are updated on saving
Roopesh Chander [Tue, 5 Feb 2019 10:24:23 +0000 (15:54 +0530)] 
iOS: Ensure fields are updated on saving

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Apply runtime configuration by diff-ing
Roopesh Chander [Mon, 4 Feb 2019 12:55:32 +0000 (18:25 +0530)] 
macOS: Apply runtime configuration by diff-ing

And apply the diff on the tableView as insertRows/removeRows.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelViewModel: Don't call peer change handler if there are no changes
Roopesh Chander [Mon, 4 Feb 2019 13:27:59 +0000 (18:57 +0530)] 
TunnelViewModel: Don't call peer change handler if there are no changes

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel detail: Refactor calculation of tableViewModelRows
Roopesh Chander [Mon, 4 Feb 2019 10:57:11 +0000 (16:27 +0530)] 
macOS: Tunnel detail: Refactor calculation of tableViewModelRows

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agox25519: demand RNG is successful
Jason A. Donenfeld [Mon, 4 Feb 2019 23:49:18 +0000 (00:49 +0100)] 
x25519: demand RNG is successful

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoConfig: Add template for macOS key
Jason A. Donenfeld [Sun, 3 Feb 2019 12:47:42 +0000 (13:47 +0100)] 
Config: Add template for macOS key

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoiOS: SwitchCell should hold the observation token
Roopesh Chander [Sun, 3 Feb 2019 07:07:57 +0000 (12:37 +0530)] 
iOS: SwitchCell should hold the observation token

And should nil the token when preparing for reuse.

This also reverts "iOS: Tunnel detail: Refactor updation of status"

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: KeyValueCell should hold the observation token
Roopesh Chander [Sun, 3 Feb 2019 06:57:51 +0000 (12:27 +0530)] 
iOS: KeyValueCell should hold the observation token

And should nil the token when preparing for reuse.

Otherwise, the observation closure is still active even after the cell
gets reused.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go: bump
Jason A. Donenfeld [Sat, 2 Feb 2019 23:20:24 +0000 (00:20 +0100)] 
wireguard-go: bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoiOS: Apply runtime configuration by diff-ing
Roopesh Chander [Fri, 1 Feb 2019 11:36:42 +0000 (17:06 +0530)] 
iOS: Apply runtime configuration by diff-ing

And apply the diff on the tableView as insert/remove/reloads.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Tunnel detail: Keep track of visible fields with a [Bool] array
Roopesh Chander [Fri, 1 Feb 2019 10:34:42 +0000 (16:04 +0530)] 
iOS: Tunnel detail: Keep track of visible fields with a [Bool] array

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoStrings: fix backwards clock wording
Jason A. Donenfeld [Fri, 1 Feb 2019 13:49:38 +0000 (14:49 +0100)] 
Strings: fix backwards clock wording

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoiOS: Tunnel detail: Reload runtime config every second
Roopesh Chander [Thu, 31 Jan 2019 14:04:44 +0000 (19:34 +0530)] 
iOS: Tunnel detail: Reload runtime config every second

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Tunnel detail: Refactor updation of status
Roopesh Chander [Thu, 31 Jan 2019 13:09:24 +0000 (18:39 +0530)] 
iOS: Tunnel detail: Refactor updation of status

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoFix handling of 'PersistentKeepalive: every n seconds'
Roopesh Chander [Thu, 31 Jan 2019 12:47:46 +0000 (18:17 +0530)] 
Fix handling of 'PersistentKeepalive: every n seconds'

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Make it compile again
Roopesh Chander [Thu, 31 Jan 2019 12:47:04 +0000 (18:17 +0530)] 
iOS: Make it compile again

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoConfigure timers to fire even when tracking mouse events
Roopesh Chander [Thu, 31 Jan 2019 11:34:34 +0000 (17:04 +0530)] 
Configure timers to fire even when tracking mouse events

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel detail: Reload runtime config every second
Roopesh Chander [Thu, 31 Jan 2019 09:13:37 +0000 (14:43 +0530)] 
macOS: Tunnel detail: Reload runtime config every second

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoLogger: Convert do-catch to try?
Roopesh Chander [Mon, 28 Jan 2019 12:16:12 +0000 (17:46 +0530)] 
Logger: Convert do-catch to try?

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoRuntime info: Make bytecount and timestamp info prettier
Roopesh Chander [Mon, 28 Jan 2019 10:52:20 +0000 (16:22 +0530)] 
Runtime info: Make bytecount and timestamp info prettier

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoPersistent Keepalive detail should read 'every n seconds'
Roopesh Chander [Mon, 28 Jan 2019 07:35:16 +0000 (13:05 +0530)] 
Persistent Keepalive detail should read 'every n seconds'

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: Invoke reload() in a subsequent runloop
Roopesh Chander [Sat, 26 Jan 2019 09:01:38 +0000 (14:31 +0530)] 
TunnelsManager: Invoke reload() in a subsequent runloop

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Delay .deactivated status to workaround system bug
Roopesh Chander [Fri, 25 Jan 2019 12:44:48 +0000 (18:14 +0530)] 
macOS: Delay .deactivated status to workaround system bug

For some time after it's connection status becomes .disconnected,
if a tunnel gets started, it gets automatically killed by the system
after ~25 seconds.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Select the active tunnel when showing the manage tunnels window
Roopesh Chander [Thu, 24 Jan 2019 13:05:07 +0000 (18:35 +0530)] 
macOS: Select the active tunnel when showing the manage tunnels window

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsTracker: Simplify using TunnelsManager.tunnelInOperation()
Roopesh Chander [Thu, 24 Jan 2019 12:41:55 +0000 (18:11 +0530)] 
TunnelsTracker: Simplify using TunnelsManager.tunnelInOperation()

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: func tunnelInOperation()
Roopesh Chander [Thu, 24 Jan 2019 12:41:26 +0000 (18:11 +0530)] 
TunnelsManager: func tunnelInOperation()

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Ensure status is up-to-date on startup
Roopesh Chander [Thu, 24 Jan 2019 11:21:01 +0000 (16:51 +0530)] 
macOS: Ensure status is up-to-date on startup

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoConfig file parsing: Fix bug when there are comments at the end
Roopesh Chander [Thu, 24 Jan 2019 10:53:07 +0000 (16:23 +0530)] 
Config file parsing: Fix bug when there are comments at the end

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: show runtime configuration in tunnel manager
Jason A. Donenfeld [Wed, 23 Jan 2019 23:33:22 +0000 (00:33 +0100)] 
macOS: show runtime configuration in tunnel manager

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnel: support getting runtime configuration
Jason A. Donenfeld [Wed, 23 Jan 2019 23:00:46 +0000 (00:00 +0100)] 
Tunnel: support getting runtime configuration

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: allow querying internal settings
Jason A. Donenfeld [Wed, 23 Jan 2019 21:15:01 +0000 (22:15 +0100)] 
wireguard-go-bridge: allow querying internal settings

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: fix standalone build
Jason A. Donenfeld [Wed, 23 Jan 2019 20:59:51 +0000 (21:59 +0100)] 
wireguard-go-bridge: fix standalone build

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Tunnel detail: Fix updation of tunnelEditVC
Roopesh Chander [Wed, 23 Jan 2019 13:56:35 +0000 (19:26 +0530)] 
macOS: Tunnel detail: Fix updation of tunnelEditVC

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Deactivate any active tunnel when app exits
Roopesh Chander [Wed, 23 Jan 2019 11:01:26 +0000 (16:31 +0530)] 
macOS: Deactivate any active tunnel when app exits

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Adapt to TunnelsManagerListDelegate changes
Roopesh Chander [Wed, 23 Jan 2019 10:51:20 +0000 (16:21 +0530)] 
macOS: Adapt to TunnelsManagerListDelegate changes

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Fix stale tunnel being shown on iPad
Roopesh Chander [Wed, 23 Jan 2019 10:15:24 +0000 (15:45 +0530)] 
iOS: Fix stale tunnel being shown on iPad

When the detail view is shown in the iPad and we delete
the current tunnel with a list view swipe rather than the delete button,
the detail view should go blank.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Fix handling of deletion outside app
Roopesh Chander [Wed, 23 Jan 2019 07:21:05 +0000 (12:51 +0530)] 
iOS: Fix handling of deletion outside app

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: reload: Iterate in reverse
Roopesh Chander [Tue, 22 Jan 2019 14:27:35 +0000 (19:57 +0530)] 
macOS: reload: Iterate in reverse

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: refresh status after replacing insides
Jason A. Donenfeld [Tue, 22 Jan 2019 14:35:14 +0000 (15:35 +0100)] 
TunnelsManager: refresh status after replacing insides

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnelsManager: use new helper
Jason A. Donenfeld [Tue, 22 Jan 2019 14:20:50 +0000 (15:20 +0100)] 
TunnelsManager: use new helper

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Tunnel edit: Handle deletion outside app
Roopesh Chander [Tue, 22 Jan 2019 14:00:06 +0000 (19:30 +0530)] 
macOS: Tunnel edit: Handle deletion outside app

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel detail: Handle deletion outside app
Roopesh Chander [Tue, 22 Jan 2019 13:53:05 +0000 (19:23 +0530)] 
macOS: Tunnel detail: Handle deletion outside app

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Handle tunnel deletions outside the app
Roopesh Chander [Tue, 22 Jan 2019 13:41:51 +0000 (19:11 +0530)] 
macOS: Handle tunnel deletions outside the app

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: remove mobile network tweeks
Jason A. Donenfeld [Tue, 22 Jan 2019 12:09:38 +0000 (13:09 +0100)] 
macOS: remove mobile network tweeks

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoMacOS: StatusMenu: Properly localize menu title
Jason A. Donenfeld [Tue, 22 Jan 2019 10:25:16 +0000 (11:25 +0100)] 
MacOS: StatusMenu: Properly localize menu title

Partially revert "macOS: StatusMenu: Remove unused menu title"

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Disable save button if the syntax highlighter detects any errors
Roopesh Chander [Tue, 22 Jan 2019 07:27:27 +0000 (12:57 +0530)] 
macOS: Disable save button if the syntax highlighter detects any errors

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Fix crash when importing using NoTunnelsDetailVC's button
Roopesh Chander [Mon, 21 Jan 2019 23:24:32 +0000 (04:54 +0530)] 
macOS: Fix crash when importing using NoTunnelsDetailVC's button

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: StatusMenu: Remove unused menu title
Roopesh Chander [Mon, 21 Jan 2019 23:11:52 +0000 (04:41 +0530)] 
macOS: StatusMenu: Remove unused menu title

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoLet there be newlines at the end of all files
Roopesh Chander [Mon, 21 Jan 2019 23:10:47 +0000 (04:40 +0530)] 
Let there be newlines at the end of all files

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoFix localization
Roopesh Chander [Mon, 21 Jan 2019 23:03:08 +0000 (04:33 +0530)] 
Fix localization

- Use Unicode ellipses
- Use single quotes everywhere
- Use smart quotes
- Minor text change ("You cannot undo this action.")

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Use Unicode version of '...' for menu text
Roopesh Chander [Mon, 21 Jan 2019 22:46:17 +0000 (04:16 +0530)] 
macOS: Use Unicode version of '...' for menu text

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Fix status-related menu items
Roopesh Chander [Mon, 21 Jan 2019 22:41:24 +0000 (04:11 +0530)] 
macOS: Fix status-related menu items

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoBetter os() directives
Roopesh Chander [Mon, 21 Jan 2019 22:36:27 +0000 (04:06 +0530)] 
Better os() directives

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel edit: actually clean up error handling
Jason A. Donenfeld [Mon, 21 Jan 2019 22:21:47 +0000 (23:21 +0100)] 
macOS: Tunnel edit: actually clean up error handling

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoXCode: set default signing identity back
Jason A. Donenfeld [Mon, 21 Jan 2019 22:16:31 +0000 (23:16 +0100)] 
XCode: set default signing identity back

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Tunnel edit: Clean up error handling when saving
Roopesh Chander [Mon, 21 Jan 2019 21:52:01 +0000 (03:22 +0530)] 
macOS: Tunnel edit: Clean up error handling when saving

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Observe private key changes for new tunnels too
Jason A. Donenfeld [Mon, 21 Jan 2019 21:40:43 +0000 (22:40 +0100)] 
macOS: Observe private key changes for new tunnels too

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Better highlighter default value and move c implementation
Jason A. Donenfeld [Mon, 21 Jan 2019 21:22:20 +0000 (22:22 +0100)] 
macOS: Better highlighter default value and move c implementation

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Make highlighter themes static
Jason A. Donenfeld [Mon, 21 Jan 2019 21:13:14 +0000 (22:13 +0100)] 
macOS: Make highlighter themes static

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoAvoid using return in single-line closures
Roopesh Chander [Mon, 21 Jan 2019 20:14:07 +0000 (01:44 +0530)] 
Avoid using return in single-line closures

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Make color theme use a dict
Roopesh Chander [Mon, 21 Jan 2019 20:28:58 +0000 (01:58 +0530)] 
macOS: Make color theme use a dict

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Reset attributes for each syntax highlight cycle
Roopesh Chander [Mon, 21 Jan 2019 19:49:16 +0000 (01:19 +0530)] 
macOS: Reset attributes for each syntax highlight cycle

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Refactor syntax highlighting
Roopesh Chander [Mon, 21 Jan 2019 19:35:10 +0000 (01:05 +0530)] 
macOS: Refactor syntax highlighting

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Simplify NSColor extension
Roopesh Chander [Mon, 21 Jan 2019 13:37:42 +0000 (19:07 +0530)] 
macOS: Simplify NSColor extension

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: show icon for inactive state
Jason A. Donenfeld [Fri, 18 Jan 2019 20:17:53 +0000 (21:17 +0100)] 
macOS: show icon for inactive state

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agohighlighter: do not rely on localized case comparisons
Jason A. Donenfeld [Fri, 18 Jan 2019 06:27:34 +0000 (01:27 -0500)] 
highlighter: do not rely on localized case comparisons

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoXcode: move directives to toplevel project when possible
Jason A. Donenfeld [Fri, 18 Jan 2019 06:04:19 +0000 (07:04 +0100)] 
Xcode: move directives to toplevel project when possible

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>