Commit graph

161535 commits

Author SHA1 Message Date
Rémi Bernon ae0891eb64 uxtheme: Use bsearch and CompareStringOrdinal in MSSTYLES_LookupProperty. 2022-12-09 18:35:33 +01:00
Eric Pouech 2e37a51b8f wined3d: Enable long types in arb_program_shader.c. 2022-12-09 18:35:33 +01:00
Eric Pouech 5b5f7528b1 wined3d: Use proper enum type in arb_program_shader.c.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-09 18:35:33 +01:00
Eric Pouech 279c1dbc3c wined3d: Reduce usage of long integral types in arb_program_shader.c. 2022-12-09 18:35:33 +01:00
Eric Pouech d2009c7305 wined3d: Enable long integral types in view.c.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-09 17:52:25 +01:00
Eric Pouech 1c682aa2f4 wined3d: Reduce usage of long integral types in view.c. 2022-12-09 17:52:25 +01:00
Eric Pouech 2a0133ffd1 wined3d: Enable long integral types in state.c. 2022-12-09 17:52:25 +01:00
Eric Pouech 45509911b8 wined3d: Reduce usage of long integral types in state.c.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-09 17:52:25 +01:00
Eric Pouech 4d4841832a wined3d: Enable long integral types in stateblock.c. 2022-12-09 17:52:25 +01:00
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