aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/ui.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ui: bind all new components togetherAnthony Dong2019-04-231-230/+35
| | | | | Signed-off-by: Anthony Dong <aanthony.dong@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: split tray logic into tray componentAnthony Dong2019-04-231-0/+11
| | | | | Signed-off-by: Anthony Dong <aanthony.dong@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add tunnels management viewAnthony Dong2019-04-231-8/+13
| | | | | Signed-off-by: Anthony Dong <aanthony.dong@gmail.com> 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: abstract test interface nameJason A. Donenfeld2019-04-011-4/+6
| | | | 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-211-2/+14
| | | | 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-121-1/+1
| | | | 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-091-0/+1
| | | | 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-071-1/+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>
* 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>
* ui: show runtime configJason A. Donenfeld2019-03-051-1/+40
| | | | 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>
* 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-281-2/+2
| | | | 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-281-1/+2
| | | | | | | 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-281-0/+140
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>