aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/resources.rc (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-13build: actually set cflagsJason A. Donenfeld2-2/+2
2019-05-13version: bumpJason A. Donenfeld1-2/+2
2019-05-13firewall: fix logic errorJason A. Donenfeld1-1/+1
2019-05-13version: bumpJason A. Donenfeld1-2/+2
2019-05-13firewall: only allow specified dns serversJason A. Donenfeld3-49/+186
2019-05-13ui: always do WM_SIZING hack in confviewJason A. Donenfeld1-2/+1
Gets around the situation where a row is hidden in the interface but not the peer and a gap is left.
2019-05-13ui: add easter eggJason A. Donenfeld1-0/+15
2019-05-13service: use more standard naming scheme for syscallsJason A. Donenfeld5-100/+96
2019-05-13ui: show taskbar progressJason A. Donenfeld1-0/+9
2019-05-13service: allow go to create correct environment blockJason A. Donenfeld8-88/+178
2019-05-13ui: lock runtime thread as early as possibleJason A. Donenfeld1-0/+2
2019-05-13ui: do not overlay gray dot on iconJason A. Donenfeld1-0/+3
2019-05-13Makefile: remove unused variableJason A. Donenfeld1-1/+0
2019-05-13ui: reduce width of gray icon borderJason A. Donenfeld1-1/+1
2019-05-13ui: remove unused iconsJason A. Donenfeld4-9/+0
These dots were good while they lasted, and I'll be sad to see them go. We can always recover them from git history need be. Next perhaps we'll axe dot-gray.svg?
2019-05-13installer: add note to remove before julyJason A. Donenfeld1-1/+1
2019-05-13ui: give foreground status to foreign process in raiseJason A. Donenfeld1-0/+2
While UIPI prevents us from sending real window messages, we can at least give the foreground privilege to the other process, which lets it then actually come in front as it wants.
2019-05-12installer: make UpgradeCode platform-specificSimon Rozman1-2/+17
Platform specific UpgradeCode(s) stop Group Policy Management Editor from offering x86 for amd64 or vice-versa upgrades. Note: The amd64 is keeping the original UpgradeCode, the x86 line got a new one. Nevertheless, the x86 MSI is authored as an upgrade of <v0.0.4 legacy/amd64 packages too. Signed-off-by: Simon Rozman <simon@rozman.si>
2019-05-12ui: unlock thread after raisingJason A. Donenfeld1-0/+1
2019-05-12ui: leave it to walk to lock threadJason A. Donenfeld1-3/+0
2019-05-12ui: give editor different iconJason A. Donenfeld1-0/+3
2019-05-12ui: don't tie ctrl+S to exportingJason A. Donenfeld1-2/+0
Roopesh doesn't like it.
2019-05-12ui: adjust message filter for raiseJason A. Donenfeld2-6/+6
High integrity means UIPI blocks this, so let it through.
2019-05-12service: run UI with elevated tokenJason A. Donenfeld4-381/+15
There are too many attacks possible when starting this with a non-elevated token.
2019-05-11service: run UI at high integrityJason A. Donenfeld4-0/+35
2019-05-11ui: allow editing existing tunnels without changing nameJason A. Donenfeld1-18/+19
2019-05-11ui: tunnel cloningSteven Honson2-8/+31
Allows a tunnel to be cloned verbatim. It's not part of the toolbar or with a shortcut, as it's a rather obscure action. Signed-off-by: Steven Honson <steven@honson.id.au> [zx2c4: removed from toolbar and shortcut]
2019-05-11ui: edit requires further informationSteven Honson1-1/+1
As edit generally requires further information from the user, it should be suffixed with an ellipsis. Signed-off-by: Steven Honson <steven@honson.id.au>
2019-05-11ui: use ipc client to list existing tunnelsSteven Honson1-3/+4
The manager service and ui application may be running as different users, and therefore use different configurations directories. Using the ipc client ensures that tunnels are listed from the perspective of the service. Signed-off-by: Steven Honson <steven@honson.id.au>
2019-05-11ui: optimise window sizing for a single peerSteven Honson1-1/+2
Increasing the default size of the manage window allows all of the detail and status for a basic single peer configuration with a preshared key to be visible without scrolling. Also sets a minimum window size for the manage window. Signed-off-by: Steven Honson <steven@honson.id.au> [zx2c4: reduced from 800x600 to 670x525]
2019-05-10service: use LUID directlyJason A. Donenfeld1-15/+5
InterfaceGuidToLuid fails if called soon after device creation.
2019-05-10version: bumpJason A. Donenfeld1-2/+2
2019-05-10ui: dont use main window and run our own message loopJason A. Donenfeld3-19/+50
This allows us to do custom things like send raise click messages.
2019-05-10service: clean up addresses from stale interfacesJason A. Donenfeld1-0/+51
Other VPN implementations leave trash laying around...
2019-05-10ui: somewhat aggressively cache iconsJason A. Donenfeld7-65/+107
2019-05-10service: fix user logoutJason A. Donenfeld1-17/+50
2019-05-09ui: show correct name in deletion confirmationJason A. Donenfeld1-1/+1
2019-05-09conf: don't verify scope as part of ip checkingJason A. Donenfeld1-1/+5
2019-05-09ui: networks -> addressesSteven Honson1-2/+2
Consistent with how these are referred to in confview. Signed-off-by: Steven Honson <steven@honson.id.au>
2019-05-09version: bumpJason A. Donenfeld1-2/+2
2019-05-09service: account for delete pending windows bug in tunneltrackerJason A. Donenfeld2-12/+35
Sometimes deleting a service disables it and prepares it for being deleted, but doesn't actually mark it as pending deletion. Presumably this is due to a race condition in the service management code. Workaround this by polling for disabled services, so that we don't wind up sleeping forever. Reported-by: Thomas Gschwantner <tharre3@gmail.com>
2019-05-08ui: confview: recycle more peerviewsJason A. Donenfeld1-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.
2019-05-08ui: fix ctrl+a on list invalidating listJason A. Donenfeld1-3/+4
2019-05-08ui: don't allow ctrl+a on empty list to hide fillerJason A. Donenfeld1-0/+3
2019-05-08ui: do not allow removed items state changes to change tray stateJason A. Donenfeld1-0/+3
runtime error: invalid memory address or nil pointer dereference goroutine 1 [running, locked to thread]: runtime/debug.Stack(0xc0000bbbc0, 0x9de240, 0x93bf40) C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/.deps/go/src/runtime/debug/stack.go:24 +0xa4 golang.zx2c4.com/wireguard/windows/ui.RunUI.func1() C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/ui/ui.go:25 +0x75 panic(0x9de240, 0x93bf40) C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/.deps/go/src/runtime/panic.go:522 +0x1c3 github.com/lxn/walk.(*Action).Checked(...) C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/.deps/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.0.0-20190508085227-303a670b0ee4/action.go:118 golang.zx2c4.com/wireguard/windows/ui.(*Tray).SetTunnelState(0xc000106540, 0xc000041540, 0x2, 0xc000166001) C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/ui/tray.go:272 +0xa1 golang.zx2c4.com/wireguard/windows/ui.(*Tray).onTunnelChange.func1() C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/ui/tray.go:214 +0x99 github.com/lxn/walk.runSynchronized() C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/.deps/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.0.0-20190508085227-303a670b0ee4/form.go:55 +0x95 github.com/lxn/walk.(*FormBase).Run(0xc000166000, 0x0) C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/.deps/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.0.0-20190508085227-303a670b0ee4/form.go:413 +0x117 golang.zx2c4.com/wireguard/windows/ui.RunUI() C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/ui/ui.go:79 +0x225 main.main() C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/main.go:207 +0x2cf Reported-by: Jungle Boogie <jungleboogie0@gmail.com>
2019-05-08ui: make window restoring and pop-up more aggressiveSimon Rozman4-14/+23
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-05-08ui: confview: do not poll when minimizedJason A. Donenfeld2-1/+4
Also poll for the log less often.
2019-05-08service: prevent against multiple routines per sessionJason A. Donenfeld1-4/+18
2019-05-08service: print in log after UI exitsJason A. Donenfeld1-3/+10
2019-05-08conf: read presharedkey as a hexstring when converting to uapiSteven Honson1-1/+1
Signed-off-by: Steven Honson <steven@honson.id.au>