18 Commits

Author SHA1 Message Date
Roman Zakharchuk 54fa022e2c feat: upgrade to awg2 deps, remove obsolete params (#77)
* upgrade to awg2 deps, remove obsolete params

(cherry picked from commit 4258ea0fd72f71dcded8155833e437b36afbdedc)

* remove H checks

* remove S checks
2025-12-08 12:21:23 +08:00
RomikB 9b0947bab2 support for awg15 params 2025-07-15 00:15:28 +02:00
RomikB 3f898ed0f5 check and highlight advanced security params 2025-05-30 09:58:10 +02:00
Jason A. Donenfeld 6ed37f30f5 global: bump date
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-01-06 17:28:13 +01:00
Jason A. Donenfeld a3534b576f global: interface{} -> any
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-12-16 03:14:14 +01:00
Jason A. Donenfeld 182247f5c8 global: apply gofumpt
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-12-09 23:13:56 +01:00
Jason A. Donenfeld 96e5d80a3e tunnel: support turning off automatic routing table
This supports the familiar "Table = off" syntax as on Linux, and then
interprets other valid values as simply "on".

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-18 11:39:38 +02:00
Jason A. Donenfeld b37434e846 global: bump copyright date
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-01 16:55:02 +01:00
Jason A. Donenfeld 2061a4904a global: switch to using %w instead of %v for Errorf
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-13 14:42:54 +01:00
Simon Rozman ea200f82c3 syntax: port to go
Arm has no CGo support, so port the syntax editor C code to Go and hope
that it's fast enough. This is a pretty literal/unsafe translation from
the C.

Signed-off-by: Simon Rozman <simon@rozman.si>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-13 14:42:54 +01:00
Jason A. Donenfeld 320a0ffcf8 ui: add layout item helper for new layout system
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-07-17 10:35:04 +02:00
Jason A. Donenfeld f10997a8df global: correct names and patterns for go lint
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-16 15:49:18 +02:00
Jason A. Donenfeld f98e1cb9f0 ui: react to DPI changes in syntax editor
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-16 11:41:11 +02:00
Jason A. Donenfeld 20f9b0386d ui: syntax: implement trafic blocking semantics
This is our "auto kill switch".

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-05 13:34:54 +02:00
Alexander Neumann 808ff79d55 ui: replace PrivateKeyEvent with walk.StringEvent
Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-04-23 11:04:59 +02:00
Jason A. Donenfeld 84ac0732fd syntax: lazily load ui library
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>
2019-03-07 03:02:12 +01:00
Jason A. Donenfeld dd9e66f067 ui: move walk to go module replace operation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-28 08:18:01 +01:00
Jason A. Donenfeld ebe3f0a0cc ui: move syntaxedit to sub-package
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>
2019-02-28 08:05:02 +01:00