Alessio Nossa
97bf1c1309
WireguardApp: macOS: Add App Intents to macOS app
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2023-04-12 00:44:03 +02:00
Alessio Nossa
ee035362ec
Implement UpdateTunnelConfiguration App Intent
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2023-04-12 00:44:02 +02:00
Alessio Nossa
e13bc40f88
Implement BuildPeerConfigurationUpdate App Intent
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2023-04-12 00:44:02 +02:00
Alessio Nossa
eec11c1eef
Remove UpdateConfiguration Intent with Dictionary input
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2023-04-12 00:44:02 +02:00
Alessio Nossa
ba250fe1a5
Implement UpdateConfiguration AppIntent with Dictionary as input
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2023-04-12 00:44:02 +02:00
Alessio Nossa
c1d7199f85
Remove WireGuardIntentsExtension
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2023-04-12 00:09:21 +02:00
Alessio Nossa
d05a1693e2
Removed UpdateConfigurationIntent SiriKit Intent
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2023-04-12 00:09:21 +02:00
Alessio Nossa
bee5d346b1
Implement GetPeers AppIntent
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2023-04-12 00:09:21 +02:00
Alessio Nossa
ab1e96fcdc
Implemented GetPeers intent
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2022-02-01 20:12:47 +01:00
Alessio Nossa
0dd0672844
project: Added sources to WireGuardIntentsExtensioniOS
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2022-02-01 20:12:15 +01:00
Alessio Nossa
3c63c386b9
project: Added WireGuardIntentsExtensioniOS target and Siri capability
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2022-02-01 20:11:33 +01:00
Alessio Nossa
a0fe44d214
Automatic configuration files changes by Xcode
...
Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com >
2022-02-01 20:10:59 +01:00
Roopesh Chander
3668f3af9f
build: Include 'swiftlint' location in the PATH before invoking it
...
In macOS 11, HomeBrew installs swiftlint under /opt/homebrew, which is not
in the default path that Xcode seems to use. So we include the PATH
to contain:
- /usr/local/bin:
Where HomeBrew installs 'swiftlint' in macOS 10.15 and earlier
- /opt/homebrew/bin:
Where HomeBrew installs 'swiftlint' in macOS 11
Signed-off-by: Roopesh Chander <roop@roopc.net >
2021-09-22 06:58:14 +02:00
Jason A. Donenfeld
a613fec2ff
project: sync translations and improve id generation again
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-12-23 14:55:29 +01:00
Andrej Mihajlov
631286e2d1
UI: use NotificationToken to properly clean up observers
...
When the variable goes out of scope, the observer isn't removed unless
an explicit call is made to the token.
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-22 12:46:30 +01:00
Jason A. Donenfeld
403ee63615
project: generate more stable locale IDs
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-12-17 12:41:23 +01:00
Andrej Mihajlov
b622fde291
build: disable hardened runtime on iOS but keep it enabled on macOS
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-17 11:58:50 +01:00
Jason A. Donenfeld
49b7d083f1
UI: add missing translations to incomplete locales
...
This is the wrong way to fix the problem. The correct way will involve
moving away from the whacky tr() macro and using translations functions
properly. But migrating to that will require some heavy scripting work.
So for now, use a hammer.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-12-17 00:40:42 +01:00
Jason A. Donenfeld
8fd4883d7e
WireGuardApp: modify xcodeproj when syncing translations
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2020-12-11 12:39:43 +01:00
Andrej Mihajlov
27ef0c6dba
WireGuardApp: Update target membership to exclude sources that are only used in network extensions
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-04 11:50:44 +01:00
Andrej Mihajlov
b4ebe2440f
WireGuardApp: Remove backend version call in Logger.swift & extract wireguard-go version script from network extension targets
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-04 11:50:44 +01:00
Andrej Mihajlov
9e909a3294
WireGuardApp: Disable SWIFT_PRECOMPILE_BRIDGING_HEADER
...
Clang automatically picks up module.modulemap files from WireGuardKit directories when precompiling bridging header file, which causes the compiler to fail with obscure error.
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-04 09:39:09 +01:00
Andrej Mihajlov
75bcf97ab2
WireGuardApp: Update swift version from 4.2 to 5.0
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-04 09:39:09 +01:00
Andrej Mihajlov
7930b94981
WireGuardApp: Remove WireGuardKit.swift from Xcode source tree
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-04 09:39:09 +01:00
Andrej Mihajlov
8976a53b05
WireGuardApp: Add back the wireguard-go version extraction script and use WIREGUARD_GO_VERSION directly
...
Avoids linking against libwg-go.a in order to access the WireGuard backend version.
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-04 09:39:05 +01:00
Andrej Mihajlov
547077a808
WireGuardApp: integrate WireGuardKit sources directly
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-03 13:32:25 +01:00
Andrej Mihajlov
0b0898dc3c
Remove Sources/ in project folder names
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-03 13:32:25 +01:00
Andrej Mihajlov
5a044e4129
Linter: Fix all linter issues across the codebase
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-03 13:32:25 +01:00
Andrej Mihajlov
35f0ada8a9
WireGuardApp: Fix build working dir for go-bridge targets
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-03 13:32:25 +01:00
Andrej Mihajlov
ec57408570
Move all source files to Sources/ and rename WireGuardKit targets
...
Signed-off-by: Andrej Mihajlov <and@mullvad.net >
2020-12-03 13:32:24 +01:00
Roopesh Chander
fc931ac23e
Prepare for rewrite: Remove Xcode project and workspace
...
Signed-off-by: Roopesh Chander <roop@roopc.net >
2018-10-27 15:13:01 +05:30
Jeroen Leenarts
eadb09eda8
Extract WireGuardGo version at build time.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-10-02 21:14:18 +02:00
Jeroen Leenarts
7f6a7481c8
Copy public key through context menu.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-10-02 19:39:26 +02:00
Jason A. Donenfeld
cd86ba92ec
Rewrite bridge build system
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-10-02 19:15:03 +02:00
Jeroen Leenarts
f118f9ef4b
Add missing file and fix hard path.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-27 07:57:42 +02:00
Jeroen Leenarts
5c853efed8
Xcode build wireguard go bridge.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-26 20:34:09 +02:00
Jeroen Leenarts
18d82d07af
Use message to extension to obtain version info.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-26 11:26:52 +02:00
Jeroen Leenarts
a55eefcd5d
Fixe file/function related warnings.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-26 11:21:53 +02:00
Jeroen Leenarts
4ad7af063a
Set a date based version number for now.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-26 09:30:14 +02:00
Jeroen Leenarts
9bdf987b42
Disable bitcode to allow reporting of GO version in App settings.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-20 00:42:55 +02:00
Jeroen Leenarts
089315ddc5
Add settings screen. Move export as zip to settings screen.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-18 21:49:59 +02:00
Jason A. Donenfeld
1c7cf59059
Give team to release
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-17 00:43:46 +02:00
Jeroen Leenarts
6104546fc6
Add intermediate "Info" screen.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-15 21:24:52 +02:00
Jeroen Leenarts
3dcaaa4e6c
Fix provisioning.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-15 20:26:17 +02:00
Jason A. Donenfeld
477433c9d5
Let XCode mess with stuff
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-15 16:13:50 +02:00
Jason A. Donenfeld
e379854dcb
Update bundle names
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-15 02:22:10 +02:00
Jason A. Donenfeld
d520420cc3
Set correct team
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-15 01:32:41 +02:00
Jeroen Leenarts
1379d97bbe
Switch copyright assignment from Jason to WireGuard LLC.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-06 07:42:23 +02:00
Jeroen Leenarts
8766750bb8
Zip export.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-02 22:47:41 +02:00
Jeroen Leenarts
2572c4781c
Add import and export logic.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2018-09-01 00:18:12 +02:00