646 Commits

Author SHA1 Message Date
Blue
912af10f08 Format 2025-12-02 11:47:25 -08:00
Blue
6fc68e8999 Apply PR feedback 2025-12-02 11:45:49 -08:00
Blue
61bca24c7b
Update src/windows/common/WSLAContainerLauncher.cpp
Co-authored-by: Pooja Trivedi <poojatrivedi@gmail.com>
2025-12-02 11:22:09 -08:00
Blue
4acb3a424c
Update test/windows/WSLATests.cpp
Co-authored-by: Pooja Trivedi <poojatrivedi@gmail.com>
2025-12-02 11:21:10 -08:00
Blue
2c7c305340
Update src/windows/wslaservice/inc/wslaservice.idl
Co-authored-by: Pooja Trivedi <poojatrivedi@gmail.com>
2025-12-02 11:18:42 -08:00
Blue
6d2831f4a7
Update src/windows/wslaservice/exe/WSLAContainer.cpp
Co-authored-by: Pooja Trivedi <poojatrivedi@gmail.com>
2025-12-02 11:18:02 -08:00
Blue
dcc0f5f2bd Merge branch 'user/oneblue/create-container' of https://github.com/microsoft/WSL into user/oneblue/create-container 2025-12-01 14:23:03 -08:00
Blue
70ac182edb Format 2025-12-01 14:20:09 -08:00
Blue
0760be6bec Update the stdin test 2025-12-01 14:19:57 -08:00
Blue
e786943e88
Merge branch 'feature/wsl-for-apps' into user/oneblue/create-container 2025-12-01 20:07:40 +00:00
Ben Hillis
3a176eddf8
Merge pull request #13807 from microsoft/user/benhill/merge_master
merge master -> feature/wsl-for-apps
2025-12-01 12:01:49 -08:00
Blue
8d9e9cb2d1 Install the test .vhd in the MSI 2025-12-01 11:49:35 -08:00
Blue
8aab7bdc09
wsla: Fix incorrect call to EqualSid causing WSLAUserSession to always be created (#13789) 2025-12-01 11:19:32 -08:00
Ben Hillis
e8a0d62839 Remove duplicate GuestDeviceManager files. 2025-12-01 09:17:02 -08:00
Ben Hillis
3ef44d8027 Merge remote-tracking branch 'origin/master' into HEAD 2025-12-01 09:00:30 -08:00
Blue
71c87c211f
Localization change from build: 134886165 (#13802)
Co-authored-by: WSL localization <noreply@microsoft.com>
2025-12-01 08:33:25 -08:00
Blue
9c5ed51502 ifdef ARM64 2025-11-26 16:07:53 -08:00
Blue
52aa7f8759 Format 2025-11-26 16:06:24 -08:00
Blue
2c28e536b7 Use ifdefs 2025-11-26 16:06:11 -08:00
Ben Hillis
be82716c40
cleanup: move common functonality out of service exe (#13788)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-11-26 15:50:42 -08:00
Blue
08d5929e06 Update cmakelists.txt 2025-11-26 15:42:58 -08:00
Blue
ee948d514a Add copyright header 2025-11-26 15:28:41 -08:00
Blue
a4ed4b28c6 Fix ARM build 2025-11-26 15:12:32 -08:00
Blue
987b1b73f4 Prepare for PR 2025-11-26 14:52:37 -08:00
Blue
e4822ba4fe Merge remote-tracking branch 'origin/feature/wsl-for-apps' into user/ptrivedi/create-cont 2025-11-26 13:59:42 -08:00
Blue
0eda07f0ef Test cleanup 2025-11-26 12:31:42 -08:00
Blue
292707e3ac Test cleanup 2025-11-26 12:29:11 -08:00
Blue
9dd34f230d Add new files 2025-11-26 11:36:46 -08:00
Blue
315cc27a5a
User/oneblue/initial tty size (#13786)
* Save state

* Pass in the terminal size when creating a WSLA process
2025-11-26 11:33:17 -08:00
Ben Hillis
ba90ee11fa
cleanup: remove invalid m_deviceHostSupport checks (#13787)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-11-26 07:59:33 -08:00
Ben Hillis
256e637795
merge master -> feature/wsl-for-apps (#13785)
* wslsettings: allow OOBE window to close with escape key (#13686)

* wslsettings: allow OOBE windows to close with escape key

* fix memory leak

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* Localization change from build: 133610492 (#13704)

Co-authored-by: WSL localization <noreply@microsoft.com>

* wslsettings: fix OOBE text truncation at 200% text scaling (#13693)

* wslsettings: fix OOBE text truncation at 200% text scaling

Add text scaling factor to window resize calculation and make hero image height responsive to text scaling. Increase minimum window size for better accessibility. Fix MAS 1.4.4 compliance for OOBE dialog.

* pr feedback

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* wslsettings: add underlines to links in about page (#13703)

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* .clang-format: add InsertBraces: true and minor fix to FormatSource.ps1 (#13712)

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* Localization change from build: 134015316 (#13731)

Co-authored-by: WSL localization <noreply@microsoft.com>

* wslsettings: ensure selected setting is auto-expanded and selected (#13689)

* wslsettings: ensure selected setting is auto-selected

Implement keyboard focus management for SettingsExpander controls across settings pages. This resolves an accessibility issue reported internally.

* add asserts

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* build: fix minor compiler errors when building with VS2026 (#13744)

* build: fix minor compiler errors when building with VS2026

* s

* use VS2022 for clang format and cross compiling

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* chore(distributions): Almalinux auto-update - 20251119 12:04:35 (#13743)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Mask systemd-networkd-wait-online.service during boot (#13611)

* deps: update a number of NuGet packages to the latest available versions (#13728)

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* Notice change from build: 134267142 (#13751)

Co-authored-by: WSL notice <noreply@microsoft.com>

* Add *.slnx to .gitignore (#13754)

* Fix service crash when collecting a linux crash dump when maxCrashDumpCount is set to 0 (#13755)

* Fix service crash when collecting a linux crash dump when maxCrashDumpCount is set to 0

* Move the check inside the function

* cleanup: VirtioNetworking refactoring (#13760)

* cleanup: update VirtioNetworking class to not rely on the WslCoreConfig struct

* cleanup: simplify VirtioNetworking construction

* remove old constructor and other cleanup

* more minor cleanup

* string cleanup in HandleVirtioModifyOpenPorts

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* cleanup: switch from Microsoft::WRL::ComPtr to wil::com_ptr (#13767)

* cleanup: switch from Microsoft::WRL::ComPtr to wil::com_ptr

* reformat

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* chore(distributions): Almalinux auto-update - 20251124 17:13:02 (#13780)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Notice change from build: 134527933 (#13782)

Co-authored-by: WSL notice <noreply@microsoft.com>

* cleanup: VirtioNetworking refactoring to be more portable (#13783)

* cleanup: VirtioNetworking refactoring to be more portable

* more refactoring

* make m_guestDeviceManager private

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
Co-authored-by: Blue <OneBlue@users.noreply.github.com>
Co-authored-by: WSL localization <noreply@microsoft.com>
Co-authored-by: AlmaLinux Autobot <107999298+almalinuxautobot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-26 02:19:42 +00:00
Blue
2a4f8d0bdd Fix various issues 2025-11-25 16:57:45 -08:00
Ben Hillis
4207cc80bd
cleanup: VirtioNetworking refactoring to be more portable (#13783)
* cleanup: VirtioNetworking refactoring to be more portable

* more refactoring

* make m_guestDeviceManager private

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-11-25 16:40:36 -08:00
Blue
3b5c028af5 Start writing tests 2025-11-24 18:29:39 -08:00
Blue
b0df225c51
Notice change from build: 134527933 (#13782)
Co-authored-by: WSL notice <noreply@microsoft.com>
2025-11-24 14:33:51 -08:00
AlmaLinux Autobot
722eecafba
chore(distributions): Almalinux auto-update - 20251124 17:13:02 (#13780)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-24 13:01:54 -08:00
Ben Hillis
66904342a5
cleanup: switch from Microsoft::WRL::ComPtr to wil::com_ptr (#13767)
* cleanup: switch from Microsoft::WRL::ComPtr to wil::com_ptr

* reformat

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-11-24 12:47:22 -08:00
Blue
47117005db
Return ERROR_INVALID_STATE if CreateLinuxProcess is invoked while m_processExitThread is not running (#13765) 2025-11-24 11:32:34 -08:00
Ben Hillis
955cb899ea
cleanup: remove old WSLA* files from the WSL service folder (#13763)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-11-22 01:07:00 +00:00
Ben Hillis
4017d23ac9
wsla: add support for ARM64 (#13762)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-11-21 17:01:41 -08:00
Ben Hillis
d9c69a50ab
cleanup: VirtioNetworking refactoring (#13760)
* cleanup: update VirtioNetworking class to not rely on the WslCoreConfig struct

* cleanup: simplify VirtioNetworking construction

* remove old constructor and other cleanup

* more minor cleanup

* string cleanup in HandleVirtioModifyOpenPorts

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-11-21 16:50:26 -08:00
Blue
cdf7c46124 Format 2025-11-21 16:08:34 -08:00
Blue
9c18826a1f Merge branch 'user/ptrivedi/create-cont' of https://github.com/microsoft/WSL into user/ptrivedi/create-cont 2025-11-21 16:05:16 -08:00
Blue
29971ace13 Format 2025-11-21 16:01:34 -08:00
Blue
cff1cd25b4 Prototype CreateContainer() 2025-11-21 15:59:30 -08:00
Ben Hillis
e702db9d5c
Fix midl warning around WSLA_CONTAINER strings being const (#13759)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-11-21 13:34:05 -08:00
Pooja Trivedi
b8c5b8ca63 Fix nerdctl host networking parameter 2025-11-21 16:32:56 -05:00
Pooja Trivedi
3a8a66934b
Update src/windows/wslaservice/exe/WSLAContainer.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-21 16:25:28 -05:00
Pooja Trivedi
3d5fa8becf Implement CreateContainer method 2025-11-21 16:23:59 -05:00
Blue
0920c523ea Build fixes 2025-11-21 12:59:37 -08:00