Commit graph

160436 commits

Author SHA1 Message Date
Eric Pouech 1ed24f7ec6 dbghelp: Support loading modules from Wine's multi-arch build tree.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-09 21:23:48 +01:00
Eric Pouech 31e76b5333 dbghelp: Introduce a helper for module lookup.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-09 21:23:48 +01:00
Eric Pouech e6fd3021ba dbghelp: Added missing DECLSPEC_HIDDEN attribute.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-09 21:23:48 +01:00
Zhiyi Zhang 2e622d1041 user32: Use NtUserSetWindowLongPtr() in set_dialog_proc().
Using NtUserSetWindowLong() truncates 64bit dialog procedure pointers to 32bit.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53631
2022-11-09 21:23:48 +01:00
Zebediah Figura efcb734414 wined3d: Set the window state thread description only if it's actually a new thread.
Fixes: a2c03e2356
2022-11-09 21:23:48 +01:00
Zebediah Figura 6a4d688f4e wined3d: Factor out creating the window state thread. 2022-11-09 21:23:48 +01:00
Jacek Caban 923aa288aa winevulkan: Use generated thunks for VkPipelineCreationFeedback conversion. 2022-11-09 21:23:48 +01:00
Jacek Caban 9ff9f81855 winevulkan: Convert struct chain conversions for all structs that need it. 2022-11-09 21:23:47 +01:00
Jacek Caban 4c0ec72127 winevulkan: Use const types in conversion function declarations. 2022-11-09 21:23:47 +01:00
Jacek Caban edbb9eced2 winevulkan: Use generated thunks for vkGetImageSparseMemoryRequirements(2) conversion. 2022-11-09 21:23:47 +01:00
Jacek Caban 95d83f019d winevulkan: Support pointer dynamic array lengths. 2022-11-09 21:23:47 +01:00
Jacek Caban 8047c230db winevulkan: Store parent in VkVariable. 2022-11-09 21:23:47 +01:00
Jacek Caban 52ae9be12a winevulkan: Always fill output in fill_luid_property. 2022-11-09 21:23:47 +01:00
Alexandre Julliard 45eca854c4 openal32: Remove dll.
It's not part of Windows, so applications have to ship the native
version anyway.
2022-11-09 21:23:41 +01:00
Alexandre Julliard 988d9ddbf5 ntdll: Don't inline NtCurrentTeb() in Unix libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-11-09 21:10:29 +01:00
Alexandre Julliard 1ebf0f2b31 win32u: Always use the full union for sysparams entries.
This silences compiler warnings on gcc 12.
2022-11-09 21:10:29 +01:00
Rémi Bernon 40bd3b69ed opengl32: Use ntdll registry functions to read disabled extensions. 2022-11-09 16:19:59 +01:00
Rémi Bernon d4bed8ed2c opengl32: Avoid recursively entering WGL critical section. 2022-11-09 16:19:58 +01:00
Rémi Bernon cb4fecc208 opengl32: Split opengl_ext.h into private.h and unix_private.h. 2022-11-09 16:19:58 +01:00
Rémi Bernon 2e1d5af702 opengl32: Use glReserved1[0] and glReserved1[1] for draw and read DCs. 2022-11-09 16:19:58 +01:00
Rémi Bernon 8c17811312 opengl32: Avoid calling back the wglMakeCurrent win32 thunk. 2022-11-09 16:19:58 +01:00
Hans Leidekker b003fa795e netprofm: Use CRT allocation functions. 2022-11-09 16:19:58 +01:00
Zhiyi Zhang 9f3138b0ea light.msstyles: Add nonclient metrics. 2022-11-09 10:42:09 +01:00
Alex Henrie f7e1bb9f36 include: Define PROPSHEETPAGE[AW]_V[1-4].
Needed to compile Tera Term.
2022-11-09 10:41:51 +01:00
Brendan Shanks 13cc08e32d ntdll: Stop using deprecated kIOMasterPortDefault constant. 2022-11-08 21:32:53 +01:00
Brendan Shanks 3873d43461 ntdll: Suppress deprecation warnings when calling MPTaskIsPreemptive(). 2022-11-08 21:32:53 +01:00
Brendan Shanks e605bc17a5 ntdll: Fix runtime availability check for pthread_attr_set_qos_class_np. 2022-11-08 21:32:53 +01:00
Evan Tang 5c997de8dc riched20: Don't emit EN_CHANGE events during window creation. 2022-11-08 21:32:53 +01:00
Evan Tang 0b069106b0 riched20: Add test for EN_CHANGE events during window creation.
GenoPro isn't very happy if it receives one
2022-11-08 21:32:53 +01:00
Evan Tang f9083961ed riched20: Move test class creation to a helper function. 2022-11-08 21:32:53 +01:00
Gabriel Ivăncescu 21219fa315 mshtml: Add SVG and XHTML document information to the registry.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-08 20:09:13 +01:00
Gabriel Ivăncescu 4bd8339de9 include: Add CLSID_XHTMLDocument and CLSID_SVGDocument.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-08 20:09:13 +01:00
Gabriel Ivăncescu 2a5d096f2c include: Add IDOMParser interface, dispinterface, and coclass.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-08 20:09:13 +01:00
Gabriel Ivăncescu 0c875dfa5f jscript: Convert filetime to date properly using unsigned division.
Also, the result has to be signed type before converting to double, since
it can be negative then (e.g. if system clock is set before 1970).

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-08 20:09:13 +01:00
Gabriel Ivăncescu 67f07ffb3f mshtml: Use nsIDOMDocument instead of nsIDOMHTMLDocument where possible.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-08 20:09:13 +01:00
Rémi Bernon 819a848a5f winegstreamer: Merge wm_reader_get_stream_sample with GetNextSample. 2022-11-08 20:09:13 +01:00
Rémi Bernon 407aba3008 winegstreamer: Return no buffer when wg_parser stream is disabled. 2022-11-08 20:09:13 +01:00
Rémi Bernon 042c1cefa5 winegstreamer: Allow wg_parser_stream_get_buffer to wait on all streams.
For the WM reader, returning the earliest buffer.
2022-11-08 20:09:13 +01:00
Rémi Bernon af751b594e winegstreamer: Split the wm_reader_get_stream_sample helper. 2022-11-08 20:09:13 +01:00
Rémi Bernon 2d442738f5 winegstreamer: Introduce new wm_stream_allocate_sample helper. 2022-11-08 20:09:13 +01:00
Nikolay Sivov d2c2c0c4a3 vbscript: Improve argument type handling in Mid().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53888
2022-11-08 20:09:13 +01:00
Nikolay Sivov 47ecca2541 vbscript: Improve invalid argument checks in Right().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-08 20:09:13 +01:00
Nikolay Sivov 514832393c vbscript: Fix a typo in Right() argument type check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-08 20:09:13 +01:00
Rémi Bernon 2e5e5ade82 winebuild: Put the delay import descriptor in data section.
This fixes incorrect .text section flags for any module using delay
imports. The use of a custom .text$2 section as dlltool is doing causes
the section to be flagged as DATA, and ends up with the .text section
being writable, which triggers the anti tamper used in Forza Horizon.
2022-11-08 20:07:52 +01:00
Rémi Bernon cfe83e80fc winebuild: Fix import hint value for symbols imported by name.
This fixes incorrect hint values generated by dlltool: instead of the
index in the name table, it used the ordinal value, which almost always
ends up in a hint lookup failure and a fallback to binary search.
2022-11-08 20:07:52 +01:00
Rémi Bernon 6b9773529c winebuild: Implement delay import lib generation without dlltool. 2022-11-08 20:07:52 +01:00
Rémi Bernon 244e8fd357 winebuild: Enable unwind tables by default in PE files.
Making sure it also emits .cfi and .seh directives and generates unwind
tables for the delay import thunks.
2022-11-08 20:07:52 +01:00
Rémi Bernon 103eb83156 winebuild: Implement import lib generation without dlltool. 2022-11-08 20:07:52 +01:00
Rémi Bernon b9375920f9 winebuild: Introduce a new --without-dlltool winebuild flag.
Set it only when -Wl,--delay-load linker flag is not supported to keep using
dlltool in LLVM builds, for MSVC-like import libs.
2022-11-08 20:07:52 +01:00
Paul Gofman 2d5de1d911 ws2_32/tests: Don't test protocol name in test_WSASocket().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53893
2022-11-08 20:07:52 +01:00