Commit graph

160713 commits

Author SHA1 Message Date
Rémi Bernon 4f1ed0873d opengl32: Implement wow64 thunk for wglCreateContextAttribsARB. 2022-11-18 18:52:11 +01:00
Gabriel Ivăncescu f8d4dbd703 mshtml: Implement pagehide event.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-18 17:33:49 +01:00
Gabriel Ivăncescu 570e6b2087 mshtml: Implement unload event.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-18 17:33:49 +01:00
Gabriel Ivăncescu 00dbd769b9 mshtml: Dispatch beforeunload event to the window.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-18 17:33:49 +01:00
Gabriel Ivăncescu e2bb4c1b88 mshtml: Implement pageshow event.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-18 17:33:49 +01:00
Gabriel Ivăncescu bc286247c4 mshtml: Store the nsevent listener descs in a table.
Rather than hardcoding them individually, so that it's all in one place
when adding new ones.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-18 17:33:49 +01:00
Gabriel Ivăncescu a85ebbcef1 mshtml: Add visibilitychange event stub.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-18 17:33:49 +01:00
Gabriel Ivăncescu 7d85bd5dde mshtml: Dispatch Gecko events to the window if there's no node.
The window itself is not a DOM node, so this is perfectly normal to fail
here. In fact, we weren't dispatching any gecko events sent to the window.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-18 17:33:49 +01:00
Gabriel Ivăncescu f658f68d63 mshtml: Do not register Gecko load event handler twice.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-18 17:33:49 +01:00
Gabriel Ivăncescu 574e207ab7 mshtml: Allow EVENT_BIND_TO_TARGET to bind to the window.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-18 17:33:49 +01:00
Akihiro Sagawa 6521c09d3a include: Fix typo in IN4ADDR_LOOPBACK_INIT. 2022-11-18 17:33:49 +01:00
Jacek Caban 87a3357900 winevulkan: Return error if vkMapMemory would truncate pointer on wow64. 2022-11-18 17:33:49 +01:00
Jacek Caban 1396f04f02 winevulkan: Never copy pNext pointer in 32-bit struct conversion functions. 2022-11-18 17:33:49 +01:00
Jacek Caban 5135cabb02 winevulkan: Add __wine_unix_call_wow64_funcs support. 2022-11-18 17:33:49 +01:00
Jacek Caban eb062df5ba winevulkan: Use separated implementations for all 32-bit Unix calls. 2022-11-18 17:33:49 +01:00
Jacek Caban 46f84ea226 winevulkan: Always convert 32-bit pointer arrays. 2022-11-18 17:33:49 +01:00
Jacek Caban 3eccac388d winevulkan: Use PTR32 for pointer-size variables in 32-bit structs. 2022-11-18 17:33:49 +01:00
Jacek Caban 3a5155a9d1 winevulkan: Introduce find_next_struct32. 2022-11-18 17:33:49 +01:00
Eric Pouech b6205f57fa dbghelp: Add partial implementation of SymQueryInlineTrace.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-18 14:11:50 +01:00
Eric Pouech c99bafb775 dbghelp: Implement SymAddrIncludeInlineTrace().
Replacing symt_get_inlinesite_depth() with SymAddrIncludeInlineTrace()
as they look very (very) similar.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-18 14:11:50 +01:00
Mohamad Al-Jaf 51c81714f2 dbghelp: Add SymAddrIncludeInlineTrace stub.
Football Manager 2023 Editor calls this function.

Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
2022-11-18 14:11:47 +01:00
Nikolay Sivov 57f251d050 ntdll: Do not set system locales that resolve to custom-unspecified.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-18 14:04:29 +01:00
Alex Henrie 01dae0013c spoolss: Use standard C functions for memory allocation in router.c. 2022-11-18 14:04:29 +01:00
Alex Henrie 6a5dcc5273 schedsvc: Remove unused function heap_strdupW. 2022-11-18 14:04:29 +01:00
Alex Henrie baa8b11b4d schedsvc: Use standard C functions for memory allocation in schedsvc.c. 2022-11-18 14:04:29 +01:00
Alex Henrie 4ee48f26bd schedsvc: Use standard C functions for memory allocation in atsvc.c. 2022-11-18 14:04:29 +01:00
Alex Henrie caf39cd122 sapi: Use standard C functions for memory allocation in token.c. 2022-11-18 14:04:29 +01:00
Alex Henrie cce78c245d oledb32: Use standard C functions for memory allocation in datainit.c. 2022-11-18 14:04:29 +01:00
Alex Henrie 88e3c7323a oleaut32: Use standard C functions for memory allocation in olefont.c. 2022-11-18 14:04:28 +01:00
Eric Pouech 9ff426270c ntdll/tests: Extend file tests about delete-on-close and disposition.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-18 14:04:28 +01:00
Eric Pouech b9bf5abe5b ntdll/tests: Fix share mode for some delete-on-close/delete disposition tests.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-18 14:04:28 +01:00
Eric Pouech 35ec92113f ntdll/tests: Adapt file tests on delete-on-close / delete disposition to Windows 10.
Fix a couple of failures on Windows 10:
- it seems that attributes are no longer accessible by name after
  shared deletion
- really looks like that shared deletion is now marked at object's
  name hierarchy level (see error codes have changed too)

So,
- replace tests based on GetFileAttribute with testing presence of
  pending deletion flag (FileStandardInformation)
- add Win10 error codes (and mark the Win7/8 ones as broken)

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-18 14:04:28 +01:00
Eric Pouech dcbb145658 dbghelp: Function static variables should be found by address.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-18 14:04:28 +01:00
Eric Pouech f763332b93 dbghelp: Create a single compiland instance by name in PDB.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-18 14:00:04 +01:00
Eric Pouech e37f1ada64 dbghelp: Use same compiland's pathname as native (PDB).
In PDB debug information, compiland's pathname is stored twice:
- both refer to the same file, but with variations in path handling
  (eg: one could be foo1\foo2\bar.obj and the other
   foo1\deadbeef\..\foo2\bar.obj)

Use same pathname string as native when storing compiland's pathname
(it eases comparison of dumps between the two).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-18 14:00:04 +01:00
Etaash Mathamsetty 22e9093c80 ntoskrnl.exe: Implement KeQueryActiveProcessorCount. 2022-11-18 14:00:04 +01:00
Etaash Mathamsetty 38577522ea ntoskrnl.exe: Implement KeQueryMaximumProcessorCount/Ex. 2022-11-18 14:00:04 +01:00
Brendan Shanks 8ae70731b1 ntdll: Add native thread renaming for macOS. 2022-11-18 13:55:59 +01:00
Sven Baars ca4c6f1150 ntdll/tests: Refactor the Software\Classes tests.
And add some extra ones.
2022-11-18 13:55:21 +01:00
Sven Baars 0f8b90a7de ntdll/tests: Factor out the NtEnumerateKey() tests. 2022-11-18 13:55:21 +01:00
Sven Baars fe8b10f8c8 server: Don't return the actual 32-bit Software\Classes key. 2022-11-18 13:55:21 +01:00
Sven Baars 0edf023bc6 ntdll/tests: Add some some Software\Classes query and enumerate tests. 2022-11-18 13:55:21 +01:00
Sven Baars b1a9039c17 ntdll/tests: Test that NtCreateKeyEx() also recursively obtains the Wow6432Node parent. 2022-11-18 13:55:21 +01:00
Sven Baars b8d7434e33 server: Recursively obtain the Wow6432Node parent. 2022-11-18 13:55:21 +01:00
Sven Baars 3b77a8e4ea ntdll/tests: Add some Software\Classes subkey tests. 2022-11-18 13:55:21 +01:00
Zebediah Figura 0ad6d68873 quartz: Use a single message thread for all filter graphs.
This matches native, as the test shows, but was motivated by bug 50779, which
it may alleviate.
2022-11-18 12:14:43 +01:00
Zebediah Figura c7a97b5d5d configure: Override PKG_CONFIG_LIBDIR instead of PKG_CONFIG_PATH for 32-bit builds on 64-bit hosts.
This allows 32-bit packages to be found when the user has specified
PKG_CONFIG_PATH for some other reason.

This also mirrors the way e.g. i686-linux-gnu-pkg-config is implemented on
Debian, and possibly other distributions as well.

This also prevents 64-bit .pc files from being found. This was originally
intended as a benefit [1], but can contribute to misdetection of headers which
are not actually multiarch (e.g. GStreamer, although at the time that [1] was
written that was a preëxisting problem). In general a distribution which
provides .pc files for one architecture should be expected to provide them for
any architecture that it actually provides libraries for; even if that was not
true of Debian in 2017, it is now. I moreover assert it is better to fail to
find a present library than to incorrectly find the wrong one.

Note that we can't easily use i686-linux-gnu-pkg-config, as would otherwise be
preferable, for reasons also described in [1].

[1] https://www.winehq.org/pipermail/wine-devel/2017-June/118002.html
2022-11-18 12:13:45 +01:00
Alexandre Julliard 7c9d04a4a7 winex11: Build without -DWINE_NO_LONG_TYPES. 2022-11-18 09:30:43 +01:00
Alexandre Julliard 7d614be43c winex11: Use int instead of long types in a few places. 2022-11-18 09:23:38 +01:00
Alexandre Julliard 1a5bfe1307 winex11: Add a debug helper to print color values. 2022-11-18 09:21:03 +01:00