aboutsummaryrefslogtreecommitdiffstats
path: root/ui (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ui: remove trailing ā€¦ from file dialog titlesSimon Rozman2019-11-122-3/+3
| | | | | | This is Microsoft Windows general convention. Signed-off-by: Simon Rozman <simon@rozman.si>
* syntax: disable events when highlightingJason A. Donenfeld2019-10-311-0/+2
|
* ui: use unicode ā€¦Jason A. Donenfeld2019-10-285-16/+16
|
* ui: more accurate listview icon drawingJason A. Donenfeld2019-10-281-18/+16
|
* ui: if we're raised before initiation, spin the queues a bitJason A. Donenfeld2019-10-271-0/+6
|
* ui: fix configuration editbox accessibility nameSimon Rozman2019-10-261-2/+16
| | | | | | | RichEdit controls without a label report their name as "RichEdit Control" and the Dynamic Annotation cannot override this. Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: allow (Shift+)Tab to move focus to sibling controls in RichEditSimon Rozman2019-10-261-0/+8
| | | | | | | | | | | With RTF control consuming Tab and Enter keystrokes, there was no way to create or edit a tunnel using keyboard only. This was a major concern for accessibility. Should user want to explicitly insert \t into configuration, one can use Ctrl+Tab, paste it, or use Alt+09 (on numeric keyboard). Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: do not scroll list view horizontallyJason A. Donenfeld2019-10-241-0/+1
|
* ui: fix classic theme drawing with gross hackJason A. Donenfeld2019-10-241-46/+73
| | | | | | | | Classic theme won't draw transparent images. But new theme erases the text if we draw ourselves, and we want the OS to draw the text so that we have better accessibility. Support both by hacking classic theme with a zero-sized transparent image for the indentation, while using the transparent image normally for new theme.
* ui: use native styling on list viewJason A. Donenfeld2019-10-241-44/+52
|
* ui: remove unused structJason A. Donenfeld2019-10-041-6/+0
|
* ui: annotate controlsSimon Rozman2019-10-043-0/+6
| | | | | | | | | | | | | | 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: always show manage page on tray clickJason A. Donenfeld2019-09-271-4/+2
| | | | | | | It's confusing if it only does this when the window is not already visible. Reported-by: Kai Haberzettl <khaberz@gmail.com>
* ui: don't show more than one about boxJason A. Donenfeld2019-09-271-18/+29
| | | | Reported-by: Kai Haberzettl <khaberz@gmail.com>
* mod: bump versionsJason A. Donenfeld2019-09-271-1/+1
|
* manager: switch to vanilla gob from rpc to remove reflection bloatJason A. Donenfeld2019-09-231-2/+1
|
* global: use SECURITY_DESCRIPTOR apis from x/sys/windowsJason A. Donenfeld2019-09-232-4/+3
|
* ui: do not use tray object when nilJason A. Donenfeld2019-09-131-3/+7
|
* ui: fix popup menu placement in syntaxeditSimon Rozman2019-09-131-3/+4
| | | | | | | When pop-up menu is invoked using keyboard, the coordinates are (-1,-1). However, LOWORD/HIWORD return (65535, 65535). Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: cleanupSimon Rozman2019-09-131-1/+0
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: syntax: support Shift+Ins pasting tooSimon Rozman2019-09-051-5/+5
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: syntax: xor colors with backgroundSimon Rozman2019-09-051-1/+8
| | | | | | | | | | This makes syntax highlighting retain text contrast on black background (e.g. high-contrast mode) Maybe using a smarter arithmetic than XOR could be used to retain errors in red. They turn cyan on black background now. Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: fix log view alternating row high-contrast theme switching issueSimon Rozman2019-09-051-9/+7
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: do not initialize in global init()Jason A. Donenfeld2019-09-051-4/+10
|
* ui: add gridlines to logJason A. Donenfeld2019-09-051-0/+1
|
* ui: fix dot-gray.svg iconSimon Rozman2019-09-051-1/+1
| | | | | | | | | | | | | 1. The ImageMagick convert has issues with upsampling. The icon was resized to make ImageMagick downsample it for a much sharper .ico result. 2. The transform was removed to make all coordinates integral. 3. The circle has been shrunken a bit. Spanning edge-to-edge it appeared huge. Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: add label mnemonicsSimon Rozman2019-08-307-22/+20
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* manager: fix nits in adapter cleanup logic and also handle ā€˜%sā€™ uniformlyJason A. Donenfeld2019-08-301-1/+1
|
* version: hard code name and version at compile timeJason A. Donenfeld2019-08-301-2/+1
| | | | | | | We really do want the true name and version in logs so that external consumers have a good reference point for helping us debug. We can then do the log file directory explicitly.
* version: use ProductName and ProductVersion as stringsJason A. Donenfeld2019-08-301-1/+2
|
* ui: enable priority boostJason A. Donenfeld2019-08-261-0/+3
| | | | | This makes things a bit more responsive, despite causing some minor issues for Go timers.
* ui: when check error, reparse textJason A. Donenfeld2019-08-251-2/+3
| | | | | Sometimes walk misfires check events. For example, when pressing enter in the title box. This works around the consequences.
* ui: increase default widthJason A. Donenfeld2019-08-191-1/+1
|
* ui: remove SetFocus hack from EditDialogAlexander Neumann2019-08-051-2/+0
| | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com>
* ui: raise window more aggressivelyJason A. Donenfeld2019-08-051-5/+18
| | | | | Since we might now be shell-exec'ing from elsewhere, we probably want to do a bit of input attachment shuffling.
* ui: improve error handlingAlexander Neumann2019-07-2911-138/+401
| | | | Signed-off-by: Alexander Neumann <an2048@gmail.com>
* ui: use now exposed ItemCountChanged eventAlexander Neumann2019-07-221-2/+1
| | | | Signed-off-by: Alexander Neumann <an2048@gmail.com>
* ui: update action enabled status also when model items changeAlexander Neumann2019-07-221-0/+1
| | | | | | This fixes using the Ctrl+A shortcut in the case the log table view never has been focused before. Signed-off-by: Alexander Neumann <an2048@gmail.com>
* ui: add layout item helper for new layout systemJason A. Donenfeld2019-07-171-0/+4
|
* ui: remove cloneJason A. Donenfeld2019-06-262-29/+5
|
* ui: bind shortcuts using new apiJason A. Donenfeld2019-06-262-5/+8
|
* ui: avoid flicker on toolbar when closing modalJason A. Donenfeld2019-06-261-0/+1
|
* ui: confview: only suspend if interface is changingJason A. Donenfeld2019-06-111-4/+4
|
* global: cleanup TODO comment spacingJason A. Donenfeld2019-06-075-9/+9
|
* ui: get rid of hacks in tunnelspageAlexander Neumann2019-06-071-4/+2
| | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com>
* ui: remove hacks from confviewAlexander Neumann2019-06-071-25/+3
| | | | Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com>
* ui: confview: add more super horrible wm_sizing hacksJason A. Donenfeld2019-06-071-0/+4
|
* ui: cache last observed stateJason A. Donenfeld2019-06-071-5/+15
| | | | | | Sometimes State() is out of sync with the notifications when a service removal is pending. This unifies that, and also removes IPC from the main thread.
* ui: do not pass pointer into closure from loopJason A. Donenfeld2019-05-271-2/+2
|
* 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.