--
v4: win32u: Fix thread safety when accessing rawinput device data.
win32u: Read rawinput device preparsed data using virtual memory.
win32u: Enumerate mouse and keyboard devices first and skip duplicates.
dinput/tests: Add some rawinput joystick tests.
dinput/tests: Wait for Acquire to complete when injecting input.
https://gitlab.winehq.org/wine/wine/-/merge_requests/531
Currently, Widl's code formatting is in a very dissatisfying state, making in hard to dig through and work with it.
For example, the used tabs have a width of 8, but some code areas then mix them with 4 or even just 2 space indents...
Even worse, some code parts using just tabs aren't formatted properly in the first place. Making the code look like a minified JavaScript blob a bunch of times, which causes you to lose track of where you are often, and giving you a harder time to understand of what's going on:
![image](/uploads/71056cb65d3c0ddd00e2749a762f5365/image.png)
This patch set is a draft on how this could be improved, using just space indents in the lexer file as an example.
It surely isn't a great thing for version control (especially on Widl), but does *in my opinion* greatly improve the code use- and readability.
![image](/uploads/95b0d3c94ea8cd4f7f9dac4996312145/image.png)
The improvement is even better when you take wrong tab sizes into account:
![image](/uploads/5ee2b5949bae68260dd6e0d2e8abbea2/image.png)
Excited about some opinions.
Signed-off-by: Bernhard K��lbl <besentv(a)gmail.com>
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/421
Fixes Civilization IV crashing on creating a new game (and possibly when loading game save).
--
v2: msxml3: Use node_get_text() in domelem_get_nodeTypedValue() if no type is present.
https://gitlab.winehq.org/wine/wine/-/merge_requests/526
--
v3: win32u: Read and cache adapter modes from the registry.
win32u: Introduce new add_mode device manager callback.
winemac.drv: Introduce new display_mode_to_devmode helper.
winex11.drv: Set desktop settings handler before updating display devices.
https://gitlab.winehq.org/wine/wine/-/merge_requests/406
--
v3: win32u: Fix thread safety when accessing rawinput device data.
win32u: Read rawinput device preparsed data using virtual memory.
win32u: Enumerate mouse and keyboard devices first and skip duplicates.
dinput/tests: Add some rawinput joystick tests.
dinput/tests: Wait for Acquire to complete when injecting input.
https://gitlab.winehq.org/wine/wine/-/merge_requests/531
--
v2: win32u: Fix thread safety when accessing rawinput device data.
win32u: Read rawinput device preparsed data using virtual memory.
win32u: Enumerate mouse and keyboard devices first and skip duplicates.
dinput/tests: Add some rawinput joystick tests.
dinput/tests: Wait for Acquire to complete when injecting input.
https://gitlab.winehq.org/wine/wine/-/merge_requests/531