Because WINENV is limited (32767 bytes), and HOSTENV can be much larger,
a whitelisting approach is used to keep WINENV as small as possible.
Currently, only the following envvars are propagated from the host env to WINENV
WINEPATH, WINEPWD, WINEHOME, WINETEMP, WINETMP, WINEQT_, WINEVK_, WINEXDG_SESSION_TYPE
Moreover, the NIXENV (env for running wine processes - not applications) on the
host system is not produced from WINENV anymore, but the global ENV
is propagated to all wine processes and threads.
This might be an alternative approach to MR!5231, MR!6140, bug #56941
and should provide a more deterministic behaviour of wine, because unrelated
envvars do have no influence on the env for running windows applications.
Initial tests (winemine, notepad, cmd, etc) seem to run fine, but some envvars might need additional
consideration. XVDK_* was mentioned, WINE*, MESA_*, VK_*, QT_*, LIBGL_* are other suspects.
Moreover, this is my first merge request, so your feedback is highly appreciated.
--
v19: include: Add http3 flag in winhttp.h.
msi: Implement the InstallAdminImage action.
msi: Add support for the ADMIN top level action.
msi: Remove traces from a couple of helpers.
cmd: Report an error from ftype or assoc if the value is empty.
cmd: Allow deleting associations via ftype.
cmd/tests: Test running a file with an association.
combase: Group the post quit info in a structure.
ieframe: Widen toolbar buttons to accommodate Dutch translation.
explorer: Don't display "Default" in the virtual desktop window title.
explorer: Make the "Wine Desktop" window title translatable.
odbc32: Correcly convert columns ID in SQLColAttribute/W for ODBC v2.0.
odbc32: Pass through field id SQL_MAX_COLUMNS_IN_TABLE in SQLColAttribute/W.
wmiutils: Handle paths with implied key.
windows.gaming.input: Zero 'value' in GetCurrentReading until first state change.
winegstreamer/video_encoder: Initially implement ProcessOutput.
winegstreamer/video_encoder: Add ICodecAPI stubs.
mf/tests: Test codecapi for h264 encoder.
mf/tests: Test h264 encoder sample processing.
This merge request has too many patches to be relayed via email.
Please visit the URL below to see the contents of the merge request.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6166