--
v3: d3dx9: Validate filter argument in texture from file functions.
d3dx9: Validate filter argument in D3DXLoadSurfaceFrom{Surface,FileInMemory,Memory}().
d3dx9: Validate filter argument in D3DXLoadVolumeFrom{Volume,FileInMemory,Memory}().
d3dx9: Further validate filter argument passed to D3DXFilterTexture().
d3dx9: Introduce helper function for retrieving the mip filter value in texture from file functions.
d3dx9/tests: Add d3dx filter argument value tests.
d3dx9: Return failure from D3DXLoadSurfaceFromMemory() if d3dx_load_pixels_from_pixels() fails.
d3dx9: Return success in D3DXLoadSurfaceFromMemory() for multisampled destination surfaces.
d3dx9/tests: Add tests for D3DXLoadSurfaceFromMemory() with a multisampled surface.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6157
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/treeview.c:
> !(item->state & TVIS_EXPANDEDONCE));
> if (sendsNotifications)
> {
> - if (!TREEVIEW_SendExpanding(infoPtr, item, TVE_EXPAND))
> - {
> - TRACE(" TVN_ITEMEXPANDING returned TRUE, exiting...\n");
> - return FALSE;
> - }
> + if (!TREEVIEW_SendExpanding(infoPtr, item, TVE_EXPAND))
Let's change TREEVIEW_SendExpanding to return the return value from TREEVIEW_SendTreeviewNotify() so we don't to need negate the return value twice and it's more intuitive this way.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6218#note_78098
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/treeview.c:
> }
> case TVN_ITEMEXPANDINGA:
> {
> - UINT newmask = pTreeView->itemNew.mask & ~TVIF_CHILDREN;
> + UINT newmask;
> + if (tvn_itemexpanding_ret)
> + {
> + tvn_itemexpanding_ret = 0;
Let's use a similar naming convention like other global variables, for example, g_reject_tvn_itemexpanding. And let parent_wnd_proc always return TRUE when g_reject_tvn_itemexpanding is TRUE and then reset the variable to zero in test_expandnotify() after your tests.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6218#note_78093
Adding PSN_QUERYINITIALFOCUS helped fix some focus issues with the property sheet in bug 54862. Previously the listview in the tab control did not get focus from the start when it should have.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54862
--
v12: comctl32: Add handling for PSN_QUERYINITIALFOCUS in prop.c.
comctl32/tests: Add test for PSN_QUERYINITIALFOCUS for the propsheet.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6145