Commit graph

161526 commits

Author SHA1 Message Date
Eric Pouech
cbde184047 wined3d: Reduce usage of long integral types in stateblock.c. 2022-12-09 17:52:25 +01:00
Eric Pouech
e213d17d4c wined3d: Let sampler_states and texture_states be 2D arrays of uint32_t.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-09 17:52:25 +01:00
Eric Pouech
0ddce7525b wined3d: Enable long integral types in shader_sm4.c. 2022-12-09 17:52:25 +01:00
Eric Pouech
f1f234f44c wined3d: Reduce usage of long integral types in shader_sm4.c. 2022-12-09 17:52:25 +01:00
Eric Pouech
7bea5460ca wined3d: Enable long types in shader_sm1.c. 2022-12-09 17:52:25 +01:00
Eric Pouech
de990db0a5 wined3d: Reduce usage of long integral types in shader_sm1.c.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-09 17:52:25 +01:00
Eric Pouech
a922577986 winedbg: Avoid passing a non allocated buffer to HeapFree.
Latest changes to heap management can lead to a crash in this situation.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-09 17:52:25 +01:00
Nikolay Sivov
df65aee926 comctl32: Switch back to internal allocation function.
We are still using exported string functions internally,
and that caused mismatches after recent incomplete switching to crt functions.

There is also no evidence that crt functions are used at all there,
so for now switch back to fix mismatching calls.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-12-09 17:52:25 +01:00
Jacek Caban
f44cd1823f user32: Merge focus.c into input.c. 2022-12-09 17:52:25 +01:00
Jacek Caban
7fc68b7ac5 win32u: Move GetTaskmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
7d53e27cff win32u: Move SetTaskmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
592abf3379 win32u: Move GetProgmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
62852dc503 win32u: Move SetProgmanWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
c8f1d41183 win32u: Move NtUserSetShellWindowEx implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
67c3fff7cd win32u: Move GetShellWindow implementation from user32. 2022-12-09 17:52:25 +01:00
Jacek Caban
ae7effbd78 win32u: Move NtUserWaitMessage implementation from user32. 2022-12-09 17:52:25 +01:00
Ivo Ivanov
647bec85ee wineusb.sys: Add usbver, revision, busnum and portnum to PDO's instance id.
Makes the device instance id unique (at least to the bus), as
required by MS. It is also easily addressable by other drivers.
2022-12-09 17:52:25 +01:00
Ivo Ivanov
a51af111ab wineusb.sys: Implement DevClass compatible id for devices with multiple interfaces.
Fixes also single interface devices not showing class, subclass,
protocol of the first interface, which is the behavior on Windows.
2022-12-09 17:52:25 +01:00
Ivo Ivanov
ddb3a5ee89 wineusb.sys: Pass interface and interface_index from the event data to the usb device data. 2022-12-09 17:52:25 +01:00
Etaash Mathamsetty
5fd79c32ed ntoskrnl.exe: Use KeQueryMaximumProcessorCountEx for KeQueryMaximumProcessorCount. 2022-12-09 17:52:25 +01:00
Alex Henrie
5792785879 cmd: Use standard C functions for memory allocation. 2022-12-09 17:52:25 +01:00
Alex Henrie
702b92ad23 wsdapi: Annotate duplicate_(string|name) with __WINE_MALLOC. 2022-12-09 17:52:25 +01:00
Rémi Bernon
640e9766fd opengl32: Avoid calling functions that have not been queried yet.
The glMapBuffer and al. functions are all duplicated between EXT/ARB and
core functions, and we reduced code duplication by redirecting the EXT
to the core functions.

The internal function table is only filled as the functions are queried,
and it causes crahes when games are using the EXT functions without
querying the core function first.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53990
2022-12-09 17:52:25 +01:00
Paul Gofman
8254905b12 winhttp/tests: Test calling WinHttpReceiveResponse() recursively from various send callbacks. 2022-12-09 17:52:25 +01:00
Paul Gofman
5ac6eb434c winhttp/tests: Test WinHttpReceiveResponse() synchronous behaviour. 2022-12-09 17:52:25 +01:00
Paul Gofman
32141dfa93 winhttp: Execute receive_response() synchronously when possible. 2022-12-09 17:52:25 +01:00
Paul Gofman
8e0812ef9e winhttp: Wait for WINHTTP_CALLBACK_STATUS_SENDREQUEST_COMPLETE in request_send(). 2022-12-09 17:52:25 +01:00
Paul Gofman
c43dd486be winhttp: Call receive_response() recursively instead of looping. 2022-12-09 17:52:25 +01:00
Paul Gofman
5a94affcfd winhttp: Factor out queue_receive_response(). 2022-12-09 17:52:25 +01:00
Paul Gofman
aa8f97e829 winhttp: Receive server reply in send_request(). 2022-12-09 17:52:25 +01:00
Paul Gofman
ee2de0b8fe winhttp: Send notifications from receive_response() directly. 2022-12-09 17:52:25 +01:00
Paul Gofman
0ed844712f winhttp: Don't refill buffer after receiving server response. 2022-12-09 17:52:25 +01:00
Paul Gofman
9caf603ad6 winhttp: Do not open connection in handle_redirect().
Let send_request() do it.
2022-12-09 17:52:25 +01:00
Alexandre Julliard
7d81575c68 apisetschema: Add a few more API sets pointing to existing dlls. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
7585376ee8 winecrt0: Include basetsd.h to get the _WIN64 definition. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
dae4031a28 wintab: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
3925f42452 user.exe: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
9f6b7eef43 shell: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
5289d0ef4e setupx: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
4619a45f62 ntdll: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
73ebf69abf msvideo: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
468d68d60d msvcrt: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
1c5e38f3ec msacm: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
6368a46aa0 mmsystem: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
e2b8fad779 kernel32/tests: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
8414449ce7 gdi.exe: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
8e6317ffee commdlg: Consistently use %I printf format for ULONG_PTR values. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
42b0a3b917 configure: Enable printf format warnings for 64-bit PE builds. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
79650e403b configure: Only require frame pointer on the MSVCRT side. 2022-12-09 17:52:25 +01:00
Alexandre Julliard
4091758b78 configure: Simplify checks for functions that require an external library. 2022-12-09 17:52:25 +01:00