aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/confview.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ui: remove unused structJason A. Donenfeld2019-10-041-6/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: annotate controlsSimon Rozman2019-10-041-0/+2
| | | | | | | | | | | | | | Regarding interface and peer info text boxes: The read-only edit boxes containing interface and peer status and information were read as "<value> read-only multiline" by NVDA screen reader. The read-only edit boxes that serve the informative purpose only must be annotated as ROLE_SYSTEM_STATICTEXT instead of edit box-inherited ROLE_SYSTEM_TEXT role. Regarding logo image in about dialog: NVDA reads "unknown" when reading the dialog without this patch. Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: add label mnemonicsSimon Rozman2019-08-301-2/+2
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: improve error handlingAlexander Neumann2019-07-291-67/+187
| | | | | Signed-off-by: Alexander Neumann <an2048@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview: only suspend if interface is changingJason A. Donenfeld2019-06-111-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove hacks from confviewAlexander Neumann2019-06-071-25/+3
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview: add more super horrible wm_sizing hacksJason A. Donenfeld2019-06-071-0/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add WM_SIZING hack back to confviewJason A. Donenfeld2019-05-271-0/+1
| | | | | | Helps selection of initial item. I'm not happy about this. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview: hide groupbox when removingJason A. Donenfeld2019-05-231-0/+1
| | | | | | This prevents us from loosing focus for a second. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: trade one hack for another in confviewJason A. Donenfeld2019-05-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use compact height text edits in confviewJason A. Donenfeld2019-05-201-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* service: split into tunnel and managerJason A. Donenfeld2019-05-201-27/+28
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove TODO from confview about loadingJason A. Donenfeld2019-05-161-4/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: change acronyms to uppercaseSimon Rozman2019-05-161-5/+5
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: fix dpi related code smellsAlexander Neumann2019-05-151-23/+7
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: centralize state labelsJason A. Donenfeld2019-05-141-24/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: always do WM_SIZING hack in confviewJason A. Donenfeld2019-05-131-2/+1
| | | | | | | Gets around the situation where a row is hidden in the interface but not the peer and a gap is left. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: somewhat aggressively cache iconsJason A. Donenfeld2019-05-101-23/+27
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview: recycle more peerviewsJason A. Donenfeld2019-05-081-1/+21
| | | | | | | | If there are no similarities between one peer list and the next, then ordering between peers can't possibly matter, so recycle all of the peerviews that we can. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview: do not poll when minimizedJason A. Donenfeld2019-05-081-0/+3
| | | | | | Also poll for the log less often. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: get correctly sized system iconsv0.0.1Jason A. Donenfeld2019-05-081-10/+14
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* confview: show in the case that there are no peersJason A. Donenfeld2019-05-081-1/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: move things out of iconproviderJason A. Donenfeld2019-05-071-3/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: confview should be more picky about which tunnelJason A. Donenfeld2019-05-071-13/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix up confview ticker and list sync logicJason A. Donenfeld2019-05-031-6/+38
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: set zero spacing in grid viewJason A. Donenfeld2019-05-021-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: rework marginsJason A. Donenfeld2019-05-011-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix logic error in confviewJason A. Donenfeld2019-04-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: make IPC calls in go routinesJason A. Donenfeld2019-04-291-14/+31
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* service: pass global state with notificationJason A. Donenfeld2019-04-291-21/+22
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix the status dot alignmentDmitry Bagdanov2019-04-281-1/+5
| | | | | Signed-off-by: Dmitry Bagdanov <dimbo_job@mail.ru> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: partially fix dot placementJason A. Donenfeld2019-04-281-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use normal line edit in confviewJason A. Donenfeld2019-04-271-8/+15
| | | | | | This gives better row alignment, but breaks the icon. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: enable double buffering on confviewJason A. Donenfeld2019-04-271-1/+1
| | | | | | | This fixes the flickering, but now the header labels are cut off. I'll let lxn fix this part. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: simplify everythingJason A. Donenfeld2019-04-271-41/+14
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove leftover cruft from confviewJason A. Donenfeld2019-04-251-6/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add some margin to the bottom of toggleActiveLineAlexander Neumann2019-04-231-1/+1
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use Synchronize method for cross-goroutine calls to walkAlexander Neumann2019-04-231-23/+2
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: only allow a single tunnel to be active at any timeAlexander Neumann2019-04-231-21/+28
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add new status and toggle types akin to labelTextLine and refactor as requiredAlexander Neumann2019-04-231-58/+200
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add initial support for [de]activating tunnelsAlexander Neumann2019-04-231-11/+108
| | | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: make confview spacer greedy to take full available widthAnthony Dong2019-04-231-1/+1
| | | | | Signed-off-by: Anthony Dong <aanthony.dong@gmail.com> 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: 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>
* confview: dns -> dns serversJason A. Donenfeld2019-03-171-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: initial stab at a better confviewJason A. Donenfeld2019-03-121-0/+315
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>