Commit graph

160865 commits

Author SHA1 Message Date
Matthew Tran 17329f342e hidparse.sys: Fix incorrect HID STRING_INDEX tag value. 2022-11-21 21:21:20 +01:00
Matthew Tran b30a372099 dinput/tests: Fix incorrect HID STRING_INDEX tag value. 2022-11-21 21:21:20 +01:00
Rémi Bernon 87744a57fa dinput/tests: Add more HidP_(Set|Get)UsageValue tests with array caps. 2022-11-21 21:21:20 +01:00
Matthew Tran 4c02d8e7a8 dinput/tests: Add more tests for HidP_SetUsageValue. 2022-11-21 21:21:20 +01:00
Eric Pouech 4119430e57 dbghelp: Locate alternate debug info files by their build id.
(including debuginfo client cache)

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-21 18:03:53 +01:00
Eric Pouech b718fbc31f dbghelp: Search debug info files into local cache of debuginfod.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-21 18:03:53 +01:00
Eric Pouech 69108af654 dbghelp: Convert of couple more of string literals.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-21 18:03:53 +01:00
Eric Pouech d1eb78a75d ucrtbase: Handle undecoration of function's reference qualifiers (C++11).
Introducing get_function_qualifier().
Feature is not available in msvcrt.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-21 18:03:53 +01:00
Eric Pouech 56b973cdb9 msvcrt: Rename modifier into qualifier.
That's how they are defined in C/C++ standard.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-21 18:03:53 +01:00
Eric Pouech 854eb9990f ucrtbase: Extend ucrtbase's undname tests.
Renumbering entries' comment to match actual output.
Adding ability to pass flags.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-21 18:03:53 +01:00
Alexandre Julliard 9f363a6905 ntdll: Build the Unix side without -DWINE_NO_LONG_TYPES. 2022-11-21 18:03:53 +01:00
Alexandre Julliard 0adec25f92 ntdll: Build the PE side without -DWINE_NO_LONG_TYPES. 2022-11-21 18:03:53 +01:00
Alexandre Julliard af4378d46d ntdll: Use unsigned int for the return value of server calls.
To avoid typecasts in debug traces.
2022-11-21 18:03:53 +01:00
Alexandre Julliard 74a5851ef4 ntdll: Use int instead of long types in a few places.
To avoid typecasts in debug traces.
2022-11-21 18:03:53 +01:00
Alexandre Julliard 1a7cacc489 ntdll: Use unsigned int instead of NTSTATUS in async callbacks.
To avoid typecasts in debug traces.
2022-11-21 18:03:53 +01:00
Alexandre Julliard 7afd11232e ntdll: Use UINT instead of ULONG in ioctl helpers.
To avoid typecasts in debug traces.
2022-11-21 18:03:53 +01:00
Alexandre Julliard d5e2ab1a98 ntdll: Fix int/long type mismatches. 2022-11-21 18:03:53 +01:00
Piotr Caban f63a9b592c winprint: Implement RAW print processor. 2022-11-21 18:03:53 +01:00
Piotr Caban b7d7b23a61 winprint: Add stub dll. 2022-11-21 18:03:53 +01:00
Alex Henrie f0605758e0 dinput/tests: Avoid using GCC's typeof extension.
typeof is not available in MSVC.
2022-11-21 18:03:53 +01:00
Alex Henrie c366fa4340 msxml3: Use standard C functions for memory allocation in saxreader.c. 2022-11-21 15:36:02 +01:00
Alex Henrie 6e79aff665 mshtml: Handle realloc failure in add_func_info. 2022-11-21 15:35:53 +01:00
Alex Henrie dc3189a710 urlmon: Remove unused function heap_strdupWtoA.
This function was introduced in commit
59055c4d45 but never used.
2022-11-21 15:35:42 +01:00
Nikolay Sivov ce91ef6426 kernelbase: Add SetProcessInformation().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53954
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-21 13:09:41 +01:00
Nikolay Sivov ec749f4e1f xmllite/reader: Use consistent formatting for traces.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-21 13:08:56 +01:00
Zhiyi Zhang df012ba4eb win32u: Fix a memory leak. 2022-11-21 13:07:45 +01:00
Alex Henrie d34d0c1001 appwiz: Use standard C functions for memory allocation. 2022-11-21 13:07:07 +01:00
Alex Henrie 82c451596b oledb32: Handle memory allocation failure in rowpos_cp_Advise. 2022-11-21 13:06:32 +01:00
Alex Henrie 9d7e045c78 adsldp: Use standard C functions for memory allocation in adsldp.c. 2022-11-21 13:06:18 +01:00
Rémi Bernon 93dcfef00b opengl32: Use the +opengl debug channel everywhere. 2022-11-21 13:03:48 +01:00
Rémi Bernon 7443db1ce9 opengl32: Cast wow64 pointers in glGet(VertexAttrib)Pointerv.
They are byte offsets in the buffers data.
2022-11-21 13:03:33 +01:00
Rémi Bernon 09652f121c opengl32: Implement wow64 thunks for glMapBuffer (et al.). 2022-11-21 13:03:16 +01:00
Rémi Bernon 50ab0f8f71 opengl32: Use manual win32 thunks for glMapBuffer (et al.). 2022-11-21 13:03:04 +01:00
Rémi Bernon 17abb6f4e7 opengl32: Implement wow64 thunk for glGetString (et al.).
This is a bit tricky because the strings are supposed to be static, but
we also cannot return the unix strings directly either.

So instead we keep track, on the unix side, of known unix / wow64 string
associations, and return the known wow64 string if the unix string was
already requested before.

If the string wasn't found, the syscall returns STATUS_BUFFER_TOO_SMALL,
and the PE side allocates the required memory, calling the syscall once
again with the wow64 string pointer to copy the string to.

On concurrent calls, the syscall may return a different wow64 string, in
which case the PE side uses it instead and frees the one it allocated.

Lastly, the PE side also keeps record of wow64 strings it had allocated,
so that we can free them on process detach. The unix side also does some
cleanup of its mapping buffer, as there's no guarantee that it will be
completely unloaded.
2022-11-21 13:02:47 +01:00
Gerald Pfeifer 66f6cc5965 msado15: Avoid uninitialized variable warning in fields_get_Item.
This avoids the following warning by GCC 13:
dlls/msado15/recordset.c:790:32: warning: 'i' may be used uninitialized
2022-11-21 13:00:32 +01:00
Mohamad Al-Jaf c0913c34ea windows.media: Stub IClosedCaptionPropertiesStatics interface.
Needed by Chromium-based browsers.
2022-11-21 13:00:32 +01:00
Mohamad Al-Jaf e0aca838c8 windows.media: Add stub DLL. 2022-11-21 13:00:32 +01:00
Mohamad Al-Jaf efcaa605f7 include/windowscontracts: Bump contractversion to 14. 2022-11-21 12:59:49 +01:00
Eric Pouech 190fbc7500 comctl32/tests: Fix monthcal selection tests.
Changed MCHITTESTINFO.cbSize to fall back to V1:
  From the rest of the tests, it looks like the extended size
  of MCHITTESTINFO requires loading common controls V6, which is
  only done afterwards in the tests.

Improved lookup of an unselected day.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50097
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-21 12:58:35 +01:00
Rémi Bernon 0908161bbd dwrite: Avoid memcpy source overflow in GetFontAxisValues. 2022-11-21 12:58:31 +01:00
Alex Henrie 5f981c37e7 secur32: Use the wcsdup function instead of reimplementing it. 2022-11-21 12:58:09 +01:00
Alex Henrie ebe6e74730 winhttp: Use the wcsdup function instead of reimplementing it. 2022-11-21 12:58:00 +01:00
Alex Henrie 7f5a718926 wldap32: Use the wcsdup function instead of reimplementing it. 2022-11-21 12:57:45 +01:00
Nikolay Sivov 5d1820c40b xmllite/writer: Handle surrogate pairs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-18 21:13:38 +01:00
Alex Henrie 971548728c windowscodecs: Use standard C functions for memory allocation in metadataquery.c. 2022-11-18 21:13:38 +01:00
Alex Henrie 81a432c356 jscript: Remove unused function heap_strdupW. 2022-11-18 18:52:12 +01:00
Alex Henrie 844f771b13 jscript: Use standard C functions for memory allocation in jscript.c. 2022-11-18 18:52:12 +01:00
Alex Henrie 7c26da1ae9 jscript: Use standard C functions for memory allocation in dispex.c. 2022-11-18 18:52:11 +01:00
Rémi Bernon eabd176cc0 opengl32: Implement wow64 thunks for glFenceSync (et al.). 2022-11-18 18:52:11 +01:00
Rémi Bernon edcea32c6a opengl32: Implement wow64 thunks for input pointer arrays. 2022-11-18 18:52:11 +01:00