This MR contains a set of patches that move away from using `D3DFORMAT` inside of `struct d3dx_image`. This will allow us to support formats that do not have a direct mapping to `D3DFORMAT`, and eventually once we share code with d3dx10/d3dx11 formats that do not have a direct mapping to `DXGI_FORMAT`.
I've pushed a branch [here](https://gitlab.winehq.org/cmcadams/wine/-/tree/UPSTREAM/d3dx9-new-fmt… containing patches that actually use this new internal format system in practice. I would've included those in this MR, but that seemed like it'd make for a rather large MR. Hopefully splitting it this way makes it easier to review. :)
--
v2: d3dx9: Use the d3dx_pixel_format_id enumeration inside of the WIC pixel format lookup structure.
d3dx9: Use the d3dx_pixel_format_id enumeration inside of the DDS pixel format lookup structure.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6746
This MR contains a set of patches that move away from using `D3DFORMAT` inside of `struct d3dx_image`. This will allow us to support formats that do not have a direct mapping to `D3DFORMAT`, and eventually once we share code with d3dx10/d3dx11 formats that do not have a direct mapping to `DXGI_FORMAT`.
I've pushed a branch [here](https://gitlab.winehq.org/cmcadams/wine/-/tree/UPSTREAM/d3dx9-new-fmt… containing patches that actually use this new internal format system in practice. I would've included those in this MR, but that seemed like it'd make for a rather large MR. Hopefully splitting it this way makes it easier to review. :)
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6746
I added a new test method, please tell me if I should merge that into an existing one, but as far as I understood, there is no tests for the querying yet.
--
v3: wbemprox: Add property "ExecutablePath" to Win32_Process
wbemprox/tests: Add test for Win32_Process querying "ExecutablePath" propery
https://gitlab.winehq.org/wine/wine/-/merge_requests/6734
On Thu Oct 31 10:21:42 2024 +0000, Alanas wrote:
> do `ok`s in
> ```c
> case forward_test_code:
> if (forward_test)
> {
> ok(hdr == &forward_test_nmhdr, "Got unexpected header.\n");
> ok(wParam == forward_test_idFrom, "Got unexpected wParam
> 0x%Ix.\n", wParam);
> }
> else
> {
> ok(FALSE, "Got unexpected WM_NOTIFY.\n");
> }
> forward_test = FALSE;
> return forward_test_return;
> ```
> need to be replaced with `todo_wine ok`?
> they get passed 1 in first argument in windows and never run in wine
> without editing `dlls/comctl32/toolbar.c`
If these ok() in parent_wnd_notify() don't have failures before your fix, then you don't need to add todo_wines in parent_wnd_notify().
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6737#note_86364
On Thu Oct 31 09:39:11 2024 +0000, Zhiyi Zhang wrote:
> Put the todo_wine before each ok() statement in test_WM_NOTIFY() instead.
do `ok`s in
```c
case forward_test_code:
if (forward_test)
{
ok(hdr == &forward_test_nmhdr, "Got unexpected header.\n");
ok(wParam == forward_test_idFrom, "Got unexpected wParam 0x%Ix.\n", wParam);
}
else
{
ok(FALSE, "Got unexpected WM_NOTIFY.\n");
}
forward_test = FALSE;
return forward_test_return;
```
need to be replaced with `todo_wine ok`?
they get passed 1 in first argument in windows and never run in wine without editing `dlls/comctl32/toolbar.c`
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6737#note_86362
This starts using MDT_RAW_DPI in the drivers, and provides the necessary raw/virt monitor information to wineserver. For now, this should not change much, as MDT_RAW_DPI is still the same as MDT_DEFAULT_DPI, but later it will return the DPI of the physical mode while MDT_DEFAULT_DPI will return a DPI for the possibly virtualized current display mode.
--
v2: server: Use the monitor infos to compute the virtual screen rect.
win32u: Inform wineserver about the winstation monitors.
win32u: Move some monitor info getter code around.
win32u: Use MDT_RAW_DPI monitor DPI type in the drivers.
win32u: Implement get_win_monitor_dpi.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6743
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/toolbar.c:
> test_drawtext_flags();
> test_imagelist();
> test_BTNS_SEP();
> + todo_wine test_WM_NOTIFY();
Put the todo_wine before each ok() statement in test_WM_NOTIFY() instead.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6737#note_86359