When the listview expands or collapses an item it notifies the parent using the TVN_ITEMEXPANDING message. The parent can return true on this message and it prevents the treeview from expanding or collapsing the item. WINE does not let you deny TVN_ITEMEXPANDING by returning true.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53727
--
v10: comctl32/treeview: Allow treeview parent to deny treeview expansion.
comctl32/tests: Add test to check if treeview expansion can be denied.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6218
On Thu Aug 15 10:05:31 2024 +0000, Zhiyi Zhang wrote:
> Is REBAR_POST_CHILD needed? Even if you do, it shouldn't be an enum.
Yes, sure. It's involved in child rect calculation just before showing or hiding chevron. The desicion depends on comparing child rect width and cxIdeal.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6075#note_78836
This gets prototype/constructor hierarchy right, but there is more work needed to get it fully right (the same is true for some other objects as well, to lesser extend). Comment and document fragment nodes should not expose element/document properties, attribute nodes should be actual nodes and legacy unknown elements seem to be some parser quirk (so `use_generic` is not exactly right even in legacy modes).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6287
Takes advantage of linux's ID register emulation. The msr instruction is manually assembled to support older compilers and those that disallow reading e.g. SVE ID registers if unsupported by the target, even though they RAZ if unsupported.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6225
Huw Davies (@huw) commented about dlls/wineoss.drv/ossmidi.c:
> BOOL bEnabled;
> MIDIOPENDESC midiDesc;
> BYTE runningStatus;
> + BYTE dev; /* OSS dev id. */
```suggestion:-0+0
int dev; /* OSS device */
```
Also, please change the commit message to something like:
```
wineoss: Store the OSS device in midi_dest.
This avoids having to calculate the OSS device from the Windows dev_id.
```
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6251#note_78829