On Fri Jul 8 04:21:30 2022 +0000, Ziqing Hui wrote:
> I didn't checkout the SDK header files though.
If it's not in SDK, we shouldn't have it in public headers either. There is an equivalent E_NOT_SET macro that you can use, and if D2DERR one appears in SDK at some point we'll switch to it.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/388#note_3597
Nikolay Sivov (@nsivov) commented about dlls/d2d1/d2d1_private.h:
> void d2d_factory_register_effect(struct d2d_factory *factory,
> struct d2d_effect_registration *effect) DECLSPEC_HIDDEN;
>
> +struct d2d_offset_transform
> +{
> + ID2D1OffsetTransform ID2D1OffsetTransform_iface;
> + LONG refcount;
> + D2D1_POINT_2L offset;
> +};
> +
Do we need a separate structure for each type of node? Maybe we could have a structure similar to d2d_brush. My understanding is it's not possible to have user-defined node types.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/388#note_3596
Based on <https://source.winehq.org/patches/data/238821> by Zhao Yi.
--
v4: ntdll: Correctly handle shift greater than the type width in 64-bit shift functions.
ntdll: Avoid depending on compiler support for 64-bit shift functions.
ntdll/tests: Add tests for runtime 64-bit shift functions.
ntdll: Fix the calling convention for runtime 64-bit shift functions.
https://gitlab.winehq.org/wine/wine/-/merge_requests/375
--
v7: winegstreamer: Use an atomic queue for wg_transform input buffers.
winegstreamer: Release requested samples if they are too small.
mf/tests: Add todo_wine for newer FFmpeg versions.
https://gitlab.winehq.org/wine/wine/-/merge_requests/302
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52128
Signed-off-by: Robert Wilhelm <robert.wilhelm(a)gmx.net>
--
v4: scrrun: Support wildcards in MoveFolder().
scrrun: Move source dir into destination dir if destination ends with separator in MoveFolder().
scrrun: Check that source is directory in MoveFolder.
scrrun: Check for non-existant source in MoveFolder.
scrrun: Test MoveFolder with already existing destination.
scrrun: Check for null and empty arguments in MoveFolder.
scrrun: Implement MoveFolder().
https://gitlab.winehq.org/wine/wine/-/merge_requests/391
This re-uses existing functions from Win32_ComputerSystemProduct to provide
more accurate values, which are helpful to system overview applications.
How to test:
`wmic.exe computersystem GET Manufacturer`
Previously discussed with davidebeatrici, 2022-07-02 in #winehackers.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/401
"The King of Fighters '98 Ultimate Match Final Edition" depends on
this behavior. At least, the build I have is; it seems other builds
are not.
Signed-off-by: Giovanni Mascellani <gmascellani(a)codeweavers.com>
--
v2: xactengine3_7/tests: Test notifications when loading a wave bank.
https://gitlab.winehq.org/wine/wine/-/merge_requests/398
"The King of Fighters '98 Ultimate Match Final Edition" depends on
this behavior. At least, the build I have is; it seems other builds
are not.
Signed-off-by: Giovanni Mascellani <gmascellani(a)codeweavers.com>
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/398
Based on <https://source.winehq.org/patches/data/238821> by Zhao Yi.
--
v3: ntdll: Correctly handle shift greater than the type width in 64-bit shift functions.
ntdll: Avoid depending on compiler support for 64-bit shift functions.
ntdll/tests: Add tests for runtime 64-bit shift functions.
ntdll: Fix the calling convention for runtime 64-bit shift functions.
https://gitlab.winehq.org/wine/wine/-/merge_requests/375
On Thu Jul 7 06:09:46 2022 +0000, Chip Davis wrote:
> What about `'/'`? I know that's a valid separator to the Win32 API. Is
> it one to this API?
Thanks. '/' is indeed a valid separator. I will create new MR.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/391#note_3523
Some games with support for the haptic feedback and speaker features of the Sony DualSense controller select the controller's audio output by filtering on the ContainerId IMMDevice property to find one that matches the controller's HID's. This MR, together with !359, adds support for exposing such a ContainerId to applications.
I marked this MR as a draft because I understand that the way the ���guid��� is generated is far from ideal. Furthermore, I will need to map from sysfs to container Id in other components as well (`winebus` for the HID device, and possibly `winealsa` and other audio drivers), so moving that part elsewhere would make sense. However, I think I will need help with those tasks.
--
v2: winepulse: Add support for containerId property from sysfs path
winepulse: Store PulseAudio device's sysfs path when available
https://gitlab.winehq.org/wine/wine/-/merge_requests/360
Nikolay Sivov (@nsivov) commented about include/d2derr.h:
> #ifndef __WINE_D2DERR_H
> #define __WINE_D2DERR_H
>
> +#define D2DERR_NOT_FOUND HRESULT_FROM_WIN32(ERROR_NOT_FOUND)
I don't see in 10.0.2200.0 SDK. Where does it come from?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/388#note_3514
Chip Davis (@cdavis5e) commented about dlls/scrrun/filesystem.c:
> if((attrs == INVALID_FILE_ATTRIBUTES) || !(attrs & FILE_ATTRIBUTE_DIRECTORY))
> return CTL_E_PATHNOTFOUND;
>
> + _wsplitpath(source, src_drive, src_dir, file_name, file_ext);
> + len = lstrlenW(destination);
> +
> + if (destination[len-1] == '\\') {
What about `'/'`? I know that's a valid separator to the Win32 API. Is it one to this API?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/391#note_3508
--
v3: regedit: Directly use RegQueryValueExW() instead of a helper function.
regedit: Correctly calculate REG_MULTI_SZ size before reading from the buffer.
regedit: Remove unneeded valueDataLen override for DWORD values.
https://gitlab.winehq.org/wine/wine/-/merge_requests/392
I'll have a look at the time failures, I was seeing them locally but not on the testbot run so I assumed they were flukes caused by some decoder differences, looks like it may be something else after all.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/393#note_3477
On Wed Jul 6 17:52:44 2022 +0000, **** wrote:
> Zebediah Figura replied on the mailing list:
> ```
> On 7/6/22 05:08, R��mi Bernon (@rbernon) wrote:
> >> So yes, we could not block in IWMReader::Stop(), but that's not
> >> ultimately going to help anything. We do still need to wait for the
> >> streaming thread to stop at some point.
> >
> > Well we could then call `Stop` and wait for the WMT_STOPPED callback
> notification with a condition variable, releasing the filter_cs so the
> callbacks are free to enter it to make the thread-safety obviously correct.
> Unfortunately we can't release the filter CS while waiting for the
> thread to stop. We need to protect the whole operation.
> ```
I opened https://gitlab.winehq.org/wine/wine/-/merge_requests/393#note_3473 to make WM async reader state transitions asynchronous, so that we can then do the right thing here and wait for the callback notifications while entering the CS and avoiding the deadlock.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/140#note_3475