808 Commits

Author SHA1 Message Date
AmirMS
4734e7fd7a Fix kill 2026-01-30 18:33:58 -08:00
AmirMS
7c3acdc88e Fix exec 2026-01-30 17:31:49 -08:00
AmirMS
69e4d6e972 Initial draft enhanced 2026-01-30 17:04:57 -08:00
AmirMS
42c4e9af97 Adding error messages 2026-01-30 16:25:04 -08:00
AmirMS
4b6047c7ca Generate a unique container name 2026-01-30 15:37:06 -08:00
AmirMS
ebde670fe2 Enhance structure 2026-01-30 14:05:00 -08:00
AmirMS
1ae0d80820 Update structure 2026-01-29 13:52:58 -08:00
AmirMS
d6cffde5da Initial draft for container inspect 2026-01-29 13:09:36 -08:00
AmirMS
fdbf90d570 Initial draft for container exec 2026-01-29 12:53:47 -08:00
AmirMS
c349e5d392 Fix build 2026-01-29 12:33:38 -08:00
AmirMS
ba1a80ea09 Initial draft for container start/stop/kill/delete/list 2026-01-29 09:30:25 -08:00
AmirMS
c31f1349c0 Initial draft for container create 2026-01-29 00:21:37 -08:00
AmirMS
ae00f81f82 Initial draft for container run 2026-01-28 23:37:44 -08:00
AmirMS
435b093065 Initial draft for image pull 2026-01-28 22:30:17 -08:00
AmirMS
b8c857394c Initial draft for image list 2026-01-28 22:05:28 -08:00
AmirMS
90b03d63e4 Added a simple TablePrinter class 2026-01-28 19:38:33 -08:00
AmirMS
93dc4cd535 CE 2026-01-28 16:30:19 -08:00
AmirMS
2f073b4e18 Init image commands 2026-01-28 13:38:15 -08:00
AmirMS
bc4cc7de68 Init new commands 2026-01-28 09:31:09 -08:00
AmirMS
52d91944f4 Init 2026-01-27 18:25:10 -08:00
Blue
66f6d20a49
Redesign WSLA Session management (#14067)
* Save state

* Save state

* Save state

* Refactor WSLAUserSession into WSLASessionManager

* Add test coverage

* Disconnect on service stop

* Rework Delete() logic

* Fix WSL tests

* Use a different method to acquire non-elevated tokens

* Fix token generation logic

* Apply suggestions from code review

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

* Fix naming issues

* Revert token generation logic

* Apply PR feedback

* Merge with wslc changes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-20 19:09:02 -08:00
Ben Hillis
d8bf290b55
Merge pull request #14086 from microsoft/user/benhill/merge_console_fix_feature_branch
merge master -> feature/wsl-for-apps
2026-01-20 16:56:36 -08:00
Ben Hillis
f4ef770ab5 Merge remote-tracking branch 'origin/master' into HEAD 2026-01-20 15:21:55 -08:00
Ben Hillis
a52e18085e
WSLA: Switch to using the system distro vhd. (#14074)
* WSLA: Switch to using the system distro vhd.

* new system.vhd and fix port mapping for docker v25

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2026-01-20 15:11:21 -08:00
yao-msft
66296adf6a
Initial delete container image (#14062) 2026-01-20 14:25:54 -08:00
Ben Hillis
a03462f50b
Fix issue with svccommio incorrectly resetting console state in the move operator (#14083)
The ConsoleInput and ConsoleOutput classes used = default move operations, which caused the moved-from temporary's destructor to restore the original console mode (re-enabling ENABLE_PROCESSED_INPUT) after the object was moved into the std::optional. The fix uses emplace() to construct objects directly in-place, avoiding moves entirely. Move operations are now deleted to prevent future misuse.

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2026-01-20 13:27:25 -08:00
David Bennett
304ae34663
Merge pull request #14075 from microsoft/user/dkbennett/cli
Create initial wslc.exe project
2026-01-16 16:04:25 -08:00
Ben Hillis
4b23185dfe
cleanup: fix UserConfig.cmake.sample in master branch (#14076)
* cleanup: fix UserConfig.cmake.sample in master branch

* remove incorrect wsldevicehost.dll handling, wix file always uses the version from the bin folder

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2026-01-16 15:30:05 -08:00
David Bennett
5c16ff5d36 Add missing resources. 2026-01-16 14:22:04 -08:00
David Bennett
de74cd0e2c PR feedback 2026-01-16 14:08:28 -08:00
David Bennett
cf98d0668d Merge branch 'feature/wsl-for-apps' into user/dkbennett/cli 2026-01-16 13:51:24 -08:00
David Bennett
e2f730e087 Initial creation of wslc.exe 2026-01-16 13:09:46 -08:00
Blue
515b481110
Update UserConfig.cmake.sample to make VHDs readable by everyone (#14068)
* Update UserConfig.cmake.sample to make VHDs readable by everyone

* Apply PR feedback
2026-01-16 11:25:14 -08:00
Ben Hillis
116f8d6bf5
Packages: Update Microsoft.WSLg version 1.0.73 (#14066)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2026-01-16 11:11:35 -08:00
Blue
76d040c3b4
Remove configfile dependency on common (#14071) 2026-01-16 10:52:54 -08:00
Ben Hillis
fafb09c53d
Merge pull request #14065 from microsoft/user/benhill/merge_master
merge master -> feature/wsl-for-apps
2026-01-14 14:26:32 -08:00
Ben Hillis
2ef54e99f9
Merge branch 'feature/wsl-for-apps' into user/benhill/merge_master 2026-01-14 12:28:27 -08:00
Ben Hillis
e2a7b1d168
cleanup: refactor svccommio class (#13843)
* cleanup: refactor svccommio class

* add logging if setting code page fails

* pr feedback

* remove unneeded if

* remove unneeded if

* pr feedbacK'

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2026-01-14 12:24:04 -08:00
Blue
5cde0550c2
Followup fixes from the persistent sessions change (#14061)
* Followup fixes from the persistent sessions change

* Fix inverted condition
2026-01-14 09:37:12 -08:00
Ben Hillis
87ed36a1e4
diagnostics: combine wprp files in a single one with profiles (#14048)
* diagnostics: combine wprp files in a single one with profiles

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2026-01-14 09:26:46 -08:00
Blue
f90c8e8e52
Add experimental implementation for pull & run with related API changes (#14050)
* Add API flags for creating & opening persistent sessions

* Properly handle session name conflicts

* Format

* Format

* Save state

* Working end to end pull

* Clean up console cursor logic

* Save state

* Save state

* Implement run

* Merge

* Correctly handle error messages

* Improve error handling

* Add test coverage
2026-01-14 08:47:23 -08:00
Blue
21e60dcfb2
Localization change from build: 137534777 (#14059)
Co-authored-by: WSL localization <noreply@microsoft.com>
2026-01-13 15:46:54 -08:00
rfu-cn
2a84749f91
Update eLxr distribution name (#14032)
Keep command-line install/unregister eLxr operations consistent
2026-01-13 17:09:24 -05:00
Blue
0a2f80d2cd
Localization change from build: 137487010 (#14057)
Co-authored-by: WSL localization <noreply@microsoft.com>
2026-01-13 10:56:13 -08:00
Kevin Vega
23bda7c6d6
Fix dmesg warning from enable crash dump collection (#14035)
* Do not write write to core_pattern after chroot
* Recreate symlink
2026-01-13 10:43:41 -08:00
Ben Hillis
d27b648830
Update to Azure Linux 3 (#14049)
* Update StartDhcpClient to use dhcpcd which is the Azure Linux 3 equivalent
* Update Microsoft.WSLg to version 1.0.72 which moves to Azure Linux 3
2026-01-13 09:15:15 -08:00
Blue
0491cb6d54
Add API flags for creating & opening persistent sessions (#14047)
* Add API flags for creating & opening persistent sessions

* Properly handle session name conflicts

* Format

* Format

* Fix broken port mapping logic

* PR feedback

* Remove last message reference
2026-01-12 16:18:55 -08:00
beena352
6bce95978e
Merge pull request #13965 from beena352/user/beenachauhan/wsladiag-verb-parsing
Refactor wsladiag CLI parsing and fix shell PTY handling
2026-01-12 12:40:34 -08:00
Beena352
f276156705 Remove LOG_CAUGHT_EXCEPTION 2026-01-12 05:41:27 -08:00
Beena352
3a436d25c7 fix --verbose for shell 2026-01-10 13:05:33 -08:00