Commit graph

165916 commits

Author SHA1 Message Date
Gabriel Ivăncescu a916bc768d mshtml: Use unlink and destructor in the vtbl for Console.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-08 11:56:07 +09:00
Jinoh Kang 915c391014 server: Avoid relying on linux/ipx.h to define SOL_IPX.
musl libc doesn't supply any definitions for IPX, such as the SOL_IPX
macro.  However, it still provides linux/ipx.h from Linux uAPI header
files if it exists.

Linux kernel wouldn't drop linux/ipx.h from uAPI headers until 5.15,
although IPX support has already been marked obsolete since 2018.

Fix this by not defining HAS_IPX if linux/ipx.h has been included but
nothing defines the SOL_IPX macro.

Status of IPX support from other libcs are noted below:

- bionic: netipx/ipx.h does not exist.  linux/ipx.h may or may not
  exist.  Note that sys/socket.h defines SOL_IPX even if linux/ipx.h is
  missing.

- glibc: netipx/ipx.h exists.  In this case, Wine assumes IPX support
  even if the operating system does not support it in runtime.

- BSD variants: netipx/ipx.h may or may not exist.  linux/ipx.h does not
  exist.  Some BSDs supply SO_DEFAULT_HEADERS instead of SOL_IPX.

Fixes: 41cc117b3f
2023-08-05 10:45:10 +09:00
Jinoh Kang 0deab78dc5 ws2_32: Avoid relying on linux/ipx.h to define SOL_IPX.
musl libc doesn't supply any definitions for IPX, such as the SOL_IPX
macro.  However, it still provides linux/ipx.h from Linux uAPI header
files if it exists.

Linux kernel wouldn't drop linux/ipx.h from uAPI headers until 5.15,
although IPX support has already been marked obsolete since 2018.

Fix this by not defining HAS_IPX if linux/ipx.h has been included but
nothing defines the SOL_IPX macro.

Status of IPX support from other libcs are noted below:

- bionic: netipx/ipx.h does not exist.  linux/ipx.h may or may not
  exist.  Note that sys/socket.h defines SOL_IPX even if linux/ipx.h is
  missing.

- glibc: netipx/ipx.h exists.  In this case, Wine assumes IPX support
  even if the operating system does not support it in runtime.

- BSD variants: netipx/ipx.h may or may not exist.  linux/ipx.h does not
  exist.  Some BSDs supply SO_DEFAULT_HEADERS instead of SOL_IPX.

Fixes: da4e359a70
2023-08-05 10:45:07 +09:00
Jinoh Kang 14d4a896bd ntdll: Avoid relying on linux/ipx.h to define SOL_IPX.
musl libc doesn't supply any definitions for IPX, such as the SOL_IPX
macro.  However, it still provides linux/ipx.h from Linux uAPI header
files if it exists.

Linux kernel wouldn't drop linux/ipx.h from uAPI headers until 5.15,
although IPX support has already been marked obsolete since 2018.

Fix this by not defining HAS_IPX if linux/ipx.h has been included but
nothing defines the SOL_IPX macro.

Status of IPX support from other libcs are noted below:

- bionic: netipx/ipx.h does not exist.  linux/ipx.h may or may not
  exist.  Note that sys/socket.h defines SOL_IPX even if linux/ipx.h is
  missing.

- glibc: netipx/ipx.h exists.  In this case, Wine assumes IPX support
  even if the operating system does not support it in runtime.

- BSD variants: netipx/ipx.h may or may not exist.  linux/ipx.h does not
  exist.  Some BSDs supply SO_DEFAULT_HEADERS instead of SOL_IPX.

Fixes: 954bf9e050
2023-08-05 10:45:04 +09:00
Alistair Leslie-Hughes f8aca52718 d3dx11_43/tests: Add a trailing '\n' to ok() calls. 2023-08-05 10:43:59 +09:00
Paul Gofman e195aafe54 d3d11/tests: Add basic tests for keyed mutexes. 2023-08-05 10:43:24 +09:00
Jeff Smith 0b34786097 gdiplus/tests: Use compare_uint() in compare_float() instead of abs().
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
2023-08-05 10:43:06 +09:00
Zebediah Figura 0057357ffd wined3d: Move struct wined3d_rendertarget_info to wined3d_gl.h. 2023-08-05 10:42:48 +09:00
Zebediah Figura ca954a0571 wined3d: Move struct wined3d_query_gl to wined3d_gl.h. 2023-08-05 10:42:48 +09:00
Zebediah Figura 0f1679f379 wined3d: Move struct wined3d_fence to wined3d_gl.h. 2023-08-05 10:42:48 +09:00
Zebediah Figura a9cd6112dc wined3d: Avoid using GL-specific types in struct wined3d_stream_info. 2023-08-05 10:42:48 +09:00
Zebediah Figura 2ace2166a1 wined3d: Move struct wined3d_bo_gl to wined3d_gl.h. 2023-08-05 10:42:46 +09:00
Jacek Caban f1749b0808 win32u: Pack input param for CB_GETCOMBOBOXINFO message.
Based on patch by Tim Clem.
2023-08-04 19:21:03 +09:00
Gabriel Ivăncescu 59865c9e51 mshtml: Use unlink and destructor in the vtbl for HTMLNamespaceCollection.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 21abb999d9 mshtml: Use unlink and destructor in the vtbl for HTMLPerformance.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 8dac93e6d1 mshtml: Use unlink and destructor in the vtbl for HTMLPerformanceNavigation.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 6306e86bfd mshtml: Use unlink and destructor in the vtbl for Navigator.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 530c68d829 mshtml: Use unlink and destructor in the vtbl for HTMLMimeTypesCollection.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 679617179c mshtml: Use unlink and destructor in the vtbl for HTMLPluginsCollection.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu d373377765 mshtml: Use unlink and destructor in the vtbl for History.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 94c85bf9bf mshtml: Use unlink and destructor in the vtbl for HTMLScreen.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 5a687bb49c mshtml: Use unlink and destructor in the vtbl for HTMLDOMImplementation.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 62d39e86b3 mshtml: Use unlink and destructor in the vtbl for HTMLDOMAttribute.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 1904dd0be3 mshtml: Use unlink and destructor in the vtbl for HTMLTxtRange.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 5c3f4e4b7c mshtml: Use unlink and destructor in the vtbl for HTMLDOMRange.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 159b6d75d0 mshtml: Use unlink and destructor in the vtbl for HTMLSelectionObject.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 9541020f16 mshtml: Use unlink and destructor in the vtbl for HTMLStorage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:39 +09:00
Gabriel Ivăncescu 392a15cdc9 mshtml: Unlink variants using a helper function.
And move the clear to the destructor.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-08-04 19:20:36 +09:00
Hans Leidekker ff5db66c43 secur32: Also copy user function tables in nego_SpInitLsaModeContext() and nego_SpAcceptLsaModeContext(). 2023-08-04 18:56:47 +09:00
Ilia Docin b43ba81e17 sane.ds: Add array of resolutions support.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55378
2023-08-04 18:56:30 +09:00
Biswapriyo Nath 26e72a7580 include: Add missing default value in IXAudio2.
This was removed in 14c44d0b0a commit.
2023-08-04 18:07:42 +09:00
Piotr Caban e2414b55b6 winedump: Support REG_QWORD values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 49c40d502c winedump: Support dumping UTF16 value names in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 2908537f3f winedump: Don't dump volatile keys from regf file. 2023-08-04 18:07:42 +09:00
Piotr Caban 1a58a7032a winedump: Enlarge buffer in dump_want_n helper. 2023-08-04 18:07:42 +09:00
Piotr Caban bed6f9dfb3 winedump: Skip data blocks when dumping regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban b4fb0aef0d winedump: Support REG_MULTI_SZ values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 037677932b winedump: Support REG_BINARY values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 814d8d74f6 winedump: Support REG_NONE values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban c6c844f172 winedump: Support REG_EXPAND_SZ values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 1727302892 winedump: Fix empty string handling in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 654a83a583 winedump: Support dumping default values without VAL_COMP_NAME flag. 2023-08-04 18:07:42 +09:00
Piotr Caban 8242dbe5a0 winedump: Support REG_DWORD values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban b17fed0255 winedump: Add support for decoding data stored in offset in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 8885aea089 winedump: Fix non null terminated strings printing in regf files. 2023-08-04 18:07:42 +09:00
Vitaly Lipatov 982f1983c4 include: Update SECURITY_LOGON_TYPE and SECURITY_LOGON_SESSION_DATA in ntsecapi.h.
Signed-off-by: Vitaly Lipatov <lav@etersoft.ru>
2023-08-04 09:51:41 +09:00
Mohamad Al-Jaf 0b3b28c245 widl: Add support for default_overload attribute.
Needed for IDeviceInformationStatics.
2023-08-04 09:51:24 +09:00
Hans Leidekker b26ec54e6f ldap: Set trailer size when sasl_client_start() succeeds. 2023-08-03 20:46:11 +09:00
Hans Leidekker 07d5bd7a33 ldap: Set SSF when sasl_client_start() succeeds.
This can happen when credentials are cached.
2023-08-03 20:46:08 +09:00
Hans Leidekker 51571ba577 ldap: Use SECPKG_ATTR_SESSION_KEY to retrieve the key size. 2023-08-03 20:46:08 +09:00