Manually disable some warnings that are currently emitted. Eventually
the warnings should be solved and -Werror should remain alone.
--
v3: demos: Do not trigger -Wmissing-prototypes for wmain().
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/377
- Changes to allow WNetAddConnection*() and WNetCancelConnection*() to succeed
regardless of available providers (where none have been implemented yet).
Allowing for manual configuration outside of wine.
--
v5: mpr: WNetAddConnection*() and WNetCancelConnection*() always return success
https://gitlab.winehq.org/wine/wine/-/merge_requests/3966
Windows 10 [received support](https://devblogs.microsoft.com/commandline/af_unix-comes-to-window… for AF_UNIX sockets in Insider Build 17063. This merge request adds basic support for AF_UNIX sockets to ws2_32 and wineserver.
Of particular note is the difficulty in handling `sun_path`. Most of the functions that allow for translating Windows paths to Unix paths are not accessible from ws2_32. I considered the following options:
* Pass the Windows path to wineserver and do the conversion there.
* This is, as far as I can tell, not possible without major rearchitecting. wineserver does not have functions to translate Windows paths to Unix paths, for obvious reasons.
* Obtain the current working directory of the requesting process and temporarily change directories to there.
* This only handles relative paths and fails for absolute paths, UNC paths, etc.
* Conditionally change directories based on whether the path is relative or not.
* This is error-prone and wineserver does not have the requisite functions to do this cleanly.
I ultimately decided to pass the translated Unix path to wineserver, which changes directories to `dirname(path)`. It then provides `bind` and `connect` with `basename(path)`. This is not threadsafe, but wineserver is not (currently) multithreaded.
Abstract sockets are not fully supported by this patch, matching the behavior of Windows.
--
v64: ws2_32/tests: Add test for AF_UNIX sockets.
server: Fix getsockname() and accept() on AF_UNIX sockets.
server: Introduce error when attempting to create a SOCK_DGRAM AF_UNIX socket.
server: Allow for deletion of socket files.
ws2_32: Add support for AF_UNIX sockets.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2786
Windows 10 [received support](https://devblogs.microsoft.com/commandline/af_unix-comes-to-window… for AF_UNIX sockets in Insider Build 17063. This merge request adds basic support for AF_UNIX sockets to ws2_32 and wineserver.
Of particular note is the difficulty in handling `sun_path`. Most of the functions that allow for translating Windows paths to Unix paths are not accessible from ws2_32. I considered the following options:
* Pass the Windows path to wineserver and do the conversion there.
* This is, as far as I can tell, not possible without major rearchitecting. wineserver does not have functions to translate Windows paths to Unix paths, for obvious reasons.
* Obtain the current working directory of the requesting process and temporarily change directories to there.
* This only handles relative paths and fails for absolute paths, UNC paths, etc.
* Conditionally change directories based on whether the path is relative or not.
* This is error-prone and wineserver does not have the requisite functions to do this cleanly.
I ultimately decided to pass the translated Unix path to wineserver, which changes directories to `dirname(path)`. It then provides `bind` and `connect` with `basename(path)`. This is not threadsafe, but wineserver is not (currently) multithreaded.
Abstract sockets are not fully supported by this patch, matching the behavior of Windows.
--
v63: ws2_32/tests: Add test for AF_UNIX sockets.
server: Fix getsockname() and accept() on AF_UNIX sockets.
server: Introduce error when attempting to create a SOCK_DGRAM AF_UNIX socket.
server: Allow for deletion of socket files.
ws2_32: Add support for AF_UNIX sockets.
ws2_32: Add afunix.h header.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2786
- Changes to allow WNetAddConnection*() and WNetCancelConnection*() to succeed
regardless of available providers (where none have been implemented yet).
Allowing for manual configuration outside of wine.
--
v3: mpr: WNetAddConnection*() and WNetCancelConnection*() always return success
https://gitlab.winehq.org/wine/wine/-/merge_requests/3966
- Changes to allow WNetAddConnection*() and WNetCancelConnection*() to succeed
regardless of available providers (where none have been implemented yet).
Allowing for manual configuration outside of wine.
--
v2: winegstreamer: Also return output with 2 channels for multichannel inputs from AAC decoder.
winegstreamer: Validate maximum channel count in _SetInputType in AAC decoder.
winegstreamer: Correct output available types attrs in AAC decoder for channel count > 2.
winegstreamer: Handle missing or zero channel count in _GetOutputAvailableType in AAC decoder.
mf/tests: Add tests for AAC decoder with different input number of channels.
winewayland.drv: Fix removal of wl_seat globals.
winewayland.drv: Handle client-initiated user-driven window resize.
winewayland.drv: Handle client-initiated user-driven window move.
winewayland.drv: Handle xdg_toplevel maximized state.
winewayland.drv: Handle xdg_toplevel configure event size hint.
winewayland.drv: Handle xdg_toplevel close event.
winewayland.drv: Remove wayland_surface destruction double locking.
msado15: Update editMode in AddNew/Cancel/Update functions.
msado15: _Recordset::Open store active connection parameter.
msado15: Implement _Recordset::get_ActiveConnection.
ntdll/tests: Skip FileLinkInformationEx tests on older Windows versions.
ntdll/tests: Skip FileRenameInformationEx tests on older Windows versions.
user32/tests: Use open_clipboard helper in msg tests.
user32: Enable IsDialogMessageA() ASCII to Unicode mapping only when the user default lang ID is CJK.
user32/tests: Fix test failures in Hindi UTF-8 and mixed locales.
systeminfo: Add an implementation on top of WMI.
wbemprox: Implement Win32_OperatingSystem.InstallDate.
wbemprox: Fix Win32_OperatingSystem.TotalVirtual/VisibleMemorySize.
wbemprox: Get Win32_OperatingSystem.BuildType from the registry.
d3d10/tests: Test for correct return value.
d3dx9: Trace pointer value in D3DXValidMesh().
include: Move RTL functions that belong in ntddk.h from winternl.h to ntddk.h.
include: Add some structures in d3d12video.idl.
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/3966
This corresponds to vkd3d as of commit
acd3ed97dc8e1ac192b2ec6fc19596831a6b61c6.
The cpp_quoted #include directive is fixed up to match the file
naming outside of vkd3d, renaming the reference to
vkd3d_d3d12sdklayers.h back to d3d12sdklayers.h.
This matches other renamings that are done at the start of the
file for vkd3d renamed idl files as well.
Signed-off-by: Martin Storsjö <martin(a)martin.st>
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3976
Manually disable some warnings that are currently emitted. Eventually
the warnings should be solved and -Werror should remain alone.
--
v2: vkd3d: Always use CONST_VTABLE when including windows.h.
ci: Store config.log as a build artifact.
ci: Compile with -Werror.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/377
--
v2: ntdll: Add support for FILE_{RENAME,LINK}_POSIX_SEMANTICS.
ntdll: Factored out get_inode_open_sharing
ntdll/test: Add tests for FILE_LINK_POSIX_SEMANTICS.
ntdll/test: Add tests for FILE_RENAME_POSIX_SEMANTICS.
ntdll: Add support for FILE_{RENAME,LINK}_IGNORE_READONLY_ATTRIBUTE.
server: Don't allow read-only files to be replaced by File{Rename,Link}Information{,Ex}.
ntdll/test: Add tests for FILE_LINK_IGNORE_READONLY_ATTRIBUTE.
ntdll/test: Add tests for FILE_RENAME_IGNORE_READONLY_ATTRIBUTE.
ntdll/test: Use FileDispositionInformationEx to delete files and directories.
ntdll: Initial implementation of FileLinkInformationEx.
ntdll: Initial implementation of FileRenameInformationEx.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3907
This MR introduces support for basic window management in the Wayland driver.
A summary of the commits (but see commit messages for more info):
1. Replace double locking during `wayland_surface` destruction (to protect `xdg_surface` user data) with a simpler mechanism, since we established in the last MR that we don't need to worry about HWND recycling.
2. Support compositor initiated window closing.
3. Respect compositor size hints.
4. Handling/syncing of maximized state, requested by either the compositor or app/Wine.
5. Interactive window moving (but only in the compositor virtual space, see notes below!)
6. Interactive window resizing.
A few notes:
1. At the moment, the driver doesn't change the position of windows in the Windows virtual screen space, since Wayland doesn't provide any relevant position information. This can lead to situations where parts of the window become apparently inaccessible to mouse input, because although those parts are visible from a Wayland perspective they are outside the Windows virtual screen. In future MRs I will provide mitigations/workarounds for this fundamental incompatibility between Win32 and Wayland.
2. To support interactive window moving/resizing, both the `xdg_toplevel` and the `wl_seat` need to remain valid during our request, so we introduce a double lock to ensure their concurrent validity.
Thanks!
--
v2: winewayland.drv: Fix removal of wl_seat globals.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3909