This is the fourth part in cmd.exe's engine rewrite.
It concerns:
- start of decoupling parsing from execution by introducing
ad hoc structure to hold parsing result to be passed for
execution (done here for redirection, and if conditions),
- refactor execution code with putting into helpers:
+ change of input/output streams
+ save / restore of input/output streams before / after
execution
Note:
- the handling of fd > 2 is clearly wrong, but it just
mimics the current implementation. More work will be
required afterwards (likely using directly CRT low level
I/O),
- I kept a few specific debug channels in place. They will
be removed (or simplified at some point), but they
could be useful to debug remaining issues.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5641
This should achieve the same thing as https://github.com/ValveSoftware/wine/commit/e8801e96fedf67b88e6f3f5d9f9e2d…
--
v3: win32u: Enumerate offscreen vulkan devices as GPU devices.
win32u: Query GPU memory from vulkan physical device.
win32u: Match driver GPUs with vulkan GPUS from their ids, or index.
win32u: Keep a list of vulkan GPUS in the device manager context.
win32u: Load the graphics driver vulkan functions lazily.
win32u: Fix default_update_display_devices return type to NTSTATUS.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5616