These two commits shouldn't change anything functional wise, but with minimal changes on wine side, they allow easy integration of d3d9/tests/visual.c into GoogleTest native runner. visual.c code is C++ compatible, except the `enums`.
Second change is done, because we had to redefine `ok()` macro, so without proper braces around conditions it cannot be expanded to multiple lines.
Here is [MR how we import](https://github.com/axeldavy/Xnine/pull/12) the `visual.c`
Third commit just correct my name in the `.mailmap`
My main goal here is bring code which run in Mesa3D CI workflow as closer to the original wine d3d9 tests, so we can easily update from wine and eventually provide also fixes and improvements back.
If you find this MR suitable, we could try figure out a way, to incorporate data about [nine_todo](https://github.com/axeldavy/Xnine/commit/7ac97c8350ea5b2bfd7307c…, of course only if you find some use of these extra information.
/cc @zfigura
--
v2: mailmap: Add a mailmap entry for myself with the proper name
d3d9/tests: define enums outside of struct
https://gitlab.winehq.org/wine/wine/-/merge_requests/5324
The motivator is `ShellExecute`, currently it searches for executables first relative to the current executable, then relative to the current working directory; whereas it should only search in the current working directory.
While trying to fix that, I found some related bugs in `FindExecutable` and `PathResolve`.
--
v7: shell32: Rely solely on SHELL_FindExecutable for ShellExecute.
shell32: Fix FindExecutable search path.
shell32: PathResolve should remove trailing dot.
shell32: PathResolve should be able to find files that already have extensions.
shell32: Make sure PathResolve can find files in the current directory.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5342
These two commits shouldn't change anything functional wise, but with minimal changes on wine side, they allow easy integration of d3d9/tests/visual.c into GoogleTest native runner. visual.c code is C++ compatible, except the `enums`.
Second change is done, because we had to redefine `ok()` macro, so without proper braces around conditions it cannot be expanded to multiple lines.
Here is [MR how we import](https://github.com/axeldavy/Xnine/pull/12) the `visual.c`
Third commit just correct my name in the `.mailmap`
/cc @zfigura
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5324