The game "Marvel Heroes" uses AES for some session validation on login. It uses `CryptImportKey` to configure the key, but this fails in Wine (see for example the documentation of MHServerEmu: https://github.com/Crypto137/MHServerEmu/blob/f250fbd8d62a8d18afa6592e39058…) because it leaves garbage(?) data in the reserved field of the key blob header. This is ignored on Windows (tested on Windows 10, but seems to be the same on other Windows versions, since the game runs without problem), but Wine verifies this value and exits early. This removes the check and adds a barebones test to verify this behavior.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7744
--
v8: win32u: Properly scale monitor work area when emulate_modeset is enabled.
win32u: Use a more fitting name for a helper function.
win32u: Check against the monitor work area in update_maximized_pos().
https://gitlab.winehq.org/wine/wine/-/merge_requests/7708
--
v7: win32u: Properly scale monitor work area when emulate_modeset is enabled.
win32u: Use a more fitting name for a helper function.
win32u: Check against the monitor work area in update_maximized_pos().
https://gitlab.winehq.org/wine/wine/-/merge_requests/7708
This implements handling of HTTP status code 308 ([Permanant Redirect](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Statu…) in wininet/winhttp. I added handling at all places I could find, but could only test the one in `dlls/wininet/http.c` with the program where it failed (Marvel Heroes).
I tried to keep the implementation parallel to 307, since they serve a similar purpose (redirect while keeping the request intact).
PS: `case` labels are sometimes in different order, would it be a good idea to sort them in numerical HTTP status order while I'm at it?
--
v3: urlmon: Handle HTTP status code 308 (Permanent Redirect)
winhttp: Handle HTTP status code 308 (Permanent Redirect)
wininet: Handle HTTP status code 308 (Permanent Redirect)
https://gitlab.winehq.org/wine/wine/-/merge_requests/7735
--
v6: win32u: Properly scale monitor work area when emulate_modeset is enabled.
win32u: Use a more fitting name for a helper function.
win32u: Check against the monitor work area in update_maximized_pos().
https://gitlab.winehq.org/wine/wine/-/merge_requests/7708
These functions are used by Visual Studio 2019, when opening or converting some projects.
Signed-off-by: Lorenzo Ferrillo <lorenzofersteam(a)live.it>
--
v19: kernelbase: Check for PERF_SIZE_LARGE in PerfSetULongLongCounterValue and PerfSetULongCounterValue
kernelbase : Check for PERF_ATTRIB_BY_REFERENCE attribute in PerfSetCounterRefValue
advapi32/test: Add Test For PerfSetULongLongCounterValue
advapi32/tests: Create Tests for PerfSetULongCounterValue.
advapi32: Forward PerfSetULongCounterValue and PerfSetULongLongCounterValue to kernelbase
kernelbase: Add implementation for PerfSetULongLongCounterValue
kernelbase: Add implementation of PerfSetULongCounterValue
kernelbase: factor out common functionality for performance counter functions
https://gitlab.winehq.org/wine/wine/-/merge_requests/3799