aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* ui: add tunnels management viewAnthony Dong2019-04-232-8/+422
| | | | | Signed-off-by: Anthony Dong <aanthony.dong@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add tunnels tableviewAnthony Dong2019-04-231-0/+117
| | | | | Signed-off-by: Anthony Dong <aanthony.dong@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: syntax: guard calls to highlightJason A. Donenfeld2019-04-151-13/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: lock to OS threadJason A. Donenfeld2019-04-031-0/+3
| | | | | | We do this ourselves rather than having lxn/win do it for us. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: update irc channelJason A. Donenfeld2019-04-031-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ringlogger: give unprivd access via inheritable mapping handleJason A. Donenfeld2019-04-021-6/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove spacer that was only needed in a container other than ScrollViewAlexander Neumann2019-04-011-8/+0
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: abstract test interface nameJason A. Donenfeld2019-04-011-4/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: Remove WM_SIZING hack from ConfView, fixed bug in walkAlexander Neumann2019-03-251-5/+5
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* errors: don't put periods at end of errorsJason A. Donenfeld2019-03-211-1/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ringlogger: introduce basic file ring loggingJason A. Donenfeld2019-03-212-2/+142
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* confview: dns -> dns serversJason A. Donenfeld2019-03-171-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunneltracker: don't track tunnels that haven't been startedJason A. Donenfeld2019-03-121-9/+9
| | | | | | | | | | Otherwise we get the hasn't-been-started-yet error, and the tracker quits. Meanwhile this is reported back to the ui as an error. While we're at it, don't let multiple trackers be run, in the event that the at-start tracker races with the installation tracker. And, make sure we actually get the deletion notification. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunneltracker: redo deletion state machineJason A. Donenfeld2019-03-121-1/+1
| | | | | | | We're now properly examining the notifier return value and also making sure events are delivered in order. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: hack around rendering glitchJason A. Donenfeld2019-03-121-0/+1
| | | | | | | This doesn't actually fix the root cause, but it makes things almost not awful for now. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: reduce flicker when changing viewJason A. Donenfeld2019-03-121-1/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: initial stab at a better confviewJason A. Donenfeld2019-03-127-353/+416
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* service: keep track of proper errorsJason A. Donenfeld2019-03-101-2/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: ensure window comes up on topJason A. Donenfeld2019-03-092-0/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: styleJason A. Donenfeld2019-03-081-5/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: nagJason A. Donenfeld2019-03-071-2/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: embed resource the old fashioned wayJason A. Donenfeld2019-03-072-15/+1
| | | | | | | | | | | If we ever get rid of the cgo requirement, we can return to rsrc or some variant of it. But given that win32 GUI stuff benefits from the larger cgo stacks, that seems unlikely. This gives us a bit more latitude to embed all sorts of interesting things in here as well. Clean up the makefile while we're at it and reduce the size of the exe. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* syntax: lazily load ui libraryJason A. Donenfeld2019-03-074-12/+10
| | | | | | | This way we don't have msftedit.dll loaded into the address space of the process doing real crypto. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* syntax: safe dll loadingJason A. Donenfeld2019-03-062-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: expose base64 key parsingJason A. Donenfeld2019-03-051-21/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: show last tunnel configJason A. Donenfeld2019-03-051-2/+18
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* syntaxeditor: reject keys we don't parseJason A. Donenfeld2019-03-051-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: show runtime configJason A. Donenfeld2019-03-051-1/+40
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add temporary confview disgusting kludgeJason A. Donenfeld2019-03-053-0/+353
| | | | | | | This is not the right way to show this information and this commit should be reverted as soon as we have a real UI. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ipc: work out service state transitionsJason A. Donenfeld2019-03-021-13/+50
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* syntax: flat borderJason A. Donenfeld2019-03-022-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: disable editor when runningJason A. Donenfeld2019-03-011-0/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: move walk to go module replace operationJason A. Donenfeld2019-02-283-6/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* service: track tunnel service statusJason A. Donenfeld2019-02-281-7/+33
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ipc: implement event system with pipesJason A. Donenfeld2019-02-281-5/+4
| | | | | | Also use Go 1.12's Sysconn Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: move syntaxedit to sub-packageJason A. Donenfeld2019-02-286-2/+3
| | | | | | | This speeds up compilation time considerably by not needing to invoke cgo for changes in the main UI. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add initial sample UI for testingJason A. Donenfeld2019-02-2815-0/+1352
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>