541 Commits

Author SHA1 Message Date
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
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
c3d369df90
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
2025-11-21 08:16:04 -08:00
Blue
1b7e27ef6f
Add *.slnx to .gitignore (#13754) 2025-11-20 15:40:20 -08:00
Blue
c38230d1f1
Notice change from build: 134267142 (#13751)
Co-authored-by: WSL notice <noreply@microsoft.com>
2025-11-20 13:12:51 -08:00
Ben Hillis
1ea3a8e18b
deps: update a number of NuGet packages to the latest available versions (#13728)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-11-20 11:02:06 -08:00
Blue
f75997128d
Mask systemd-networkd-wait-online.service during boot (#13611) 2025-11-20 09:23:12 -08:00
AlmaLinux Autobot
dbf49f1ae9
chore(distributions): Almalinux auto-update - 20251119 12:04:35 (#13743)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-19 15:36:09 -08:00
Ben Hillis
b73897e88a
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>
2025-11-19 15:35:49 -08:00
Ben Hillis
7226b05100
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>
2025-11-18 08:19:50 -08:00
Blue
b6cc29eefc
Localization change from build: 134015316 (#13731)
Co-authored-by: WSL localization <noreply@microsoft.com>
2025-11-17 11:18:05 -08:00
Ben Hillis
87c1100620
.clang-format: add InsertBraces: true and minor fix to FormatSource.ps1 (#13712)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-11-14 16:12:02 -08:00
Ben Hillis
7c010a1e93
wslsettings: add underlines to links in about page (#13703)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-11-13 13:53:05 -08:00
Ben Hillis
9fad2a1b59
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>
2025-11-13 13:52:29 -08:00
Blue
b2c28b92fe
Localization change from build: 133610492 (#13704)
Co-authored-by: WSL localization <noreply@microsoft.com>
2025-11-11 08:12:16 -08:00
Ben Hillis
ea5c29eae7
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>
2025-11-07 12:53:10 -08:00
Scott Bradnick
09c17eb6c6
Remove SLE15SP6; add SLE16.0 (#13647) 2025-11-04 15:56:49 -08:00
Arch Linux Technical User
bafd381aec
archlinux: Release 2025.11.01.150831 (#13661)
This is an automated release [1].

[1] https://gitlab.archlinux.org/archlinux/archlinux-wsl/-/blob/main/.gitlab-ci.yml
2025-11-03 08:15:59 -08:00
AlmaLinux Autobot
d48ece45a4
chore(distributions): Almalinux auto-update - 20251030 17:08:25 (#13653)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-30 13:29:45 -07:00
Blue
ae4347d9df
Notice change from build: 132846777 (#13654)
Co-authored-by: WSL notice <noreply@microsoft.com>
2025-10-30 11:42:48 -07:00
Blue
64160a40f0
Make the sample WSL_POST_BUILD_COMMAND more resilient (#13652) 2025-10-30 10:25:03 -07:00
Jeremy Cline
fdfe1eb843
fedora: Add Fedora 43 to the distribution list (#13643)
Six months have gone by, so it's time for another Fedora release. In
addition to the general Fedora updates this release, the WSL image is
now properly suffixed.
2025-10-28 14:45:41 -07:00
Blue
296fe805b9
Localization change from build: 132491007 (#13639)
Co-authored-by: WSL localization <noreply@microsoft.com>
2025-10-25 12:09:22 -07:00
Ben Hillis
a231b6b5f9
Fix WslDistributionConfig to not default-initialize FeatureFlags or NetworkingMode optional fields (#13629)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-10-23 08:28:13 -07:00
Blue
2715a79fb4
Localization change from build: 132360042 (#13630)
Co-authored-by: WSL localization <noreply@microsoft.com>
2025-10-23 08:27:52 -07:00
Blue
3361736a3a
Localization change from build: 132310101 (#13627)
Co-authored-by: WSL localization <noreply@microsoft.com>
2025-10-22 10:42:21 -07:00
Blue
cccae113d7
Localization change from build: 132289123 (#13625)
Co-authored-by: WSL localization <noreply@microsoft.com>
2025-10-22 08:42:54 -07:00
Ben Hillis
9e9ef6f145
Fix edge cases around .vhd support (#13061)
* Fix edge cases around .vhd support

* PR feedback

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* pr feedback

* remove unneeded scope exit in unit test

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-21 17:00:47 -07:00
Blue
c1b77b125d
Notice change from build: 131949882 (#13608)
Co-authored-by: WSL notice <noreply@microsoft.com>
2025-10-16 14:47:32 -06:00
Ben Hillis
dab574ebc1
Update Microsoft.WSL.DeviceHost package to version 1.0.0-20251015.1 which contains support virtioproxy support for ICMP (#13606)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-10-16 13:20:26 -06:00
Ben Hillis
a445eaa89f
Update Microsoft.NETCore.App.Runtime packages version with fix for CVE-2025-55248 (#13607)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-10-16 12:06:26 -07:00
Blue
b3a7b7d395
Add logic to handle partial hvsocket writes and additional logging (#13602) 2025-10-16 10:53:49 -07:00
Blue
0974c302c0
Remove unused LXSS_DISTRO_FLAGS_WSLCORE_MODE (#13603) 2025-10-15 21:42:39 -07:00
Blue
c7aad61611
Improve logging when socket operations fail (#13579)
* Don't throw when processing an empty argument

* Cleanup diff
2.6.2
2025-10-08 18:24:31 -07:00
Blue
5d097195fa
Fix potential service deadlock when plugin returns an error from OnVmStarted (#13569) 2025-10-08 15:40:02 -07:00
Blue
8540b2b6f5
Add WTI rule to detect usermode crashes (#13574) 2025-10-07 15:52:56 -07:00
Ben Hillis
05d6129c4f
Implement clean instance terminate when using systemd (#13552)
* Implement clean instance terminate when using systemd

* pr feedback

* more pr feedback

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-10-07 15:37:41 -07:00
Hideyuki Nagase
491d8d5707
Update WSLg to 1.0.71 (#13570)
Co-authored-by: Hideyuki Nagase <hideyukn@ntdev.microsoft.com>
2025-10-07 09:29:18 -07:00
Blue
babf0c24f1
Add hypervkvpd.service to the list of discouraged systemd units (#13568) 2025-10-06 17:20:12 -07:00
Blue
9f77522f64
Update the initramfs to set 755 permissions on /init (#13567) 2025-10-06 17:19:49 -07:00
Blue
9b5659d4b9
Respect the distribution manifest ordering when listing distributions (#13561)
* Respect the distribution manifest ordering when listing distributions

* Fix test

* Update test/windows/UnitTests.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-06 12:42:32 -07:00
Blue
d4e64b658f
Add more verbose output to bsdtar to help root cause 'ImportExportStdout' test failures (#13555) 2025-10-03 17:37:40 -07:00
Blue
65eea7b31c
Introduce a new wsl.conf config value to allow distributions to opt-in to cgroupv1 mounts (#13546)
* Introduce a new wsl.conf config value to allow distributions to opt-in to cgroupv1 mounts

* Add test coverage

* Fix tmpfs on wsl1

---------

Co-authored-by: Ben Hillis <benhillis@gmail.com>
2025-10-02 23:36:12 -04:00
Junhao Liao
98f4960118
fix: correct sparse VHD command to include true (#13512)
* fix: correct sparse VHD command to include `true`

* Revert all localization strings to f8c26f7c3 except en-US/Resources.resw

* fix: run validate-localization.py with --fix option
2025-10-01 16:49:49 -07:00
Blue
e0c6196cd5
Create a persistent install log file to help root cause package upgrade issues (#13500)
* Create a persistent install log file to help root cause package upgrade issues

* Update src/windows/common/wslutil.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Collect log file in diagnostic script

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-01 15:40:41 -07:00
Blue
8313d50f2e
Introduce a new kernel command line argument to collect hvsocket event logs during boot (#13537)
* Introduce a new kernel command line argument to collect hvsocket event logs during boot

* Cleanup diff

* unset env

* Add test coverage

* Fix format

* Remove prefix
2025-10-01 15:35:49 -07:00
Arch Linux Technical User
582e15e4e0
archlinux: Release 2025.10.01.148042 (#13547)
This is an automated release [1].

[1] https://gitlab.archlinux.org/archlinux/archlinux-wsl/-/blob/main/.gitlab-ci.yml
2025-10-01 11:08:41 -07:00
Scott Bradnick
004bb36f9e
Swap Leap 16.0 in for Leap 15.6 (#13549)
If we can have Leap 15.6 AND Leap 16.0 (5 total distros), that would be great 

Tumbleweed
SLE 15SP6
SLE 15SP7
Leap 15.6
Leap 16.0
2025-10-01 11:08:29 -07:00
Blue
5c5fd4a1b4
Remove no-op GetRuntimeId() call (#13545) 2025-09-30 13:33:44 -07:00