aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix handling of 'PersistentKeepalive: every n seconds'Roopesh Chander2019-01-314-4/+12
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Make it compile againRoopesh Chander2019-01-311-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Configure timers to fire even when tracking mouse eventsRoopesh Chander2019-01-313-4/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel detail: Reload runtime config every secondRoopesh Chander2019-01-311-6/+24
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Logger: Convert do-catch to try?Roopesh Chander2019-01-281-3/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Runtime info: Make bytecount and timestamp info prettierRoopesh Chander2019-01-282-6/+71
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Persistent Keepalive detail should read 'every n seconds'Roopesh Chander2019-01-282-1/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: Invoke reload() in a subsequent runloopRoopesh Chander2019-01-261-1/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Delay .deactivated status to workaround system bugRoopesh Chander2019-01-261-2/+17
| | | | | | | | 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>
* macOS: Select the active tunnel when showing the manage tunnels windowRoopesh Chander2019-01-242-1/+18
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsTracker: Simplify using TunnelsManager.tunnelInOperation()Roopesh Chander2019-01-241-17/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: func tunnelInOperation()Roopesh Chander2019-01-241-0/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ensure status is up-to-date on startupRoopesh Chander2019-01-241-2/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Config file parsing: Fix bug when there are comments at the endRoopesh Chander2019-01-241-28/+28
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: show runtime configuration in tunnel managerJason A. Donenfeld2019-01-241-1/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Tunnel: support getting runtime configurationJason A. Donenfeld2019-01-249-0/+278
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wireguard-go-bridge: allow querying internal settingsJason A. Donenfeld2019-01-243-7/+22
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wireguard-go-bridge: fix standalone buildJason A. Donenfeld2019-01-231-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Tunnel detail: Fix updation of tunnelEditVCRoopesh Chander2019-01-231-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Deactivate any active tunnel when app exitsRoopesh Chander2019-01-232-1/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Adapt to TunnelsManagerListDelegate changesRoopesh Chander2019-01-231-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Fix stale tunnel being shown on iPadRoopesh Chander2019-01-233-15/+10
| | | | | | | | 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>
* iOS: Fix handling of deletion outside appRoopesh Chander2019-01-232-24/+14
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: reload: Iterate in reverseRoopesh Chander2019-01-221-5/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: refresh status after replacing insidesJason A. Donenfeld2019-01-221-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: use new helperJason A. Donenfeld2019-01-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Tunnel edit: Handle deletion outside appRoopesh Chander2019-01-221-1/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel detail: Handle deletion outside appRoopesh Chander2019-01-221-4/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Handle tunnel deletions outside the appRoopesh Chander2019-01-221-18/+39
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: remove mobile network tweeksJason A. Donenfeld2019-01-224-2/+22
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MacOS: StatusMenu: Properly localize menu titleJason A. Donenfeld2019-01-222-1/+2
| | | | | | Partially revert "macOS: StatusMenu: Remove unused menu title" Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Disable save button if the syntax highlighter detects any errorsRoopesh Chander2019-01-222-3/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Fix crash when importing using NoTunnelsDetailVC's buttonRoopesh Chander2019-01-221-1/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: StatusMenu: Remove unused menu titleRoopesh Chander2019-01-221-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Let there be newlines at the end of all filesRoopesh Chander2019-01-226-6/+6
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Fix localizationRoopesh Chander2019-01-221-29/+29
| | | | | | | | | - 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>
* macOS: Use Unicode version of '...' for menu textRoopesh Chander2019-01-221-4/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Fix status-related menu itemsRoopesh Chander2019-01-222-3/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Better os() directivesRoopesh Chander2019-01-224-7/+21
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel edit: actually clean up error handlingJason A. Donenfeld2019-01-211-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* XCode: set default signing identity backJason A. Donenfeld2019-01-211-3/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Tunnel edit: Clean up error handling when savingRoopesh Chander2019-01-221-35/+30
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Observe private key changes for new tunnels tooJason A. Donenfeld2019-01-211-10/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Better highlighter default value and move c implementationJason A. Donenfeld2019-01-214-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* macOS: Make highlighter themes staticJason A. Donenfeld2019-01-213-21/+18
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Avoid using return in single-line closuresRoopesh Chander2019-01-222-4/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Make color theme use a dictRoopesh Chander2019-01-222-55/+34
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Reset attributes for each syntax highlight cycleRoopesh Chander2019-01-222-3/+22
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Refactor syntax highlightingRoopesh Chander2019-01-224-86/+89
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Simplify NSColor extensionRoopesh Chander2019-01-211-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>