Commit graph

160823 commits

Author SHA1 Message Date
Rémi Bernon 28bc3b0703 kernel32: Return success from GlobalReAlloc with locked HGLOBAL pointer.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon f43fc5121b kernelbase: Avoid moving locked HLOCAL pointer without LMEM_MOVEABLE.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon c2c6536926 kernelbase: Handle LMEM_DISCARDABLE flag specifically in LocalReAlloc.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon 86d09091e6 kernelbase: Handle LMEM_MODIFY flag first in LocalReAlloc.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon 2be9b0ff4a kernelbase: Don't try in-place HeapReAlloc in LocalReAlloc.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon f051444ff8 user32: Call GlobalReAlloc with GMEM_MOVEABLE flag.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon 6299e8a54c winemac.drv: Call GlobalReAlloc with GMEM_MOVEABLE flag.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon dfd44bb979 riched20: Call GlobalReAlloc with GMEM_MOVEABLE flag.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon da929946e6 ole32: Call GlobalReAlloc with GMEM_MOVEABLE flag.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon 6ffef221a1 comdlg32: Call GlobalReAlloc with GMEM_MOVEABLE flag.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon 170e046480 kernel32/tests: Add more (Global|Local)ReAlloc tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53474
2022-11-22 18:27:31 +01:00
Rémi Bernon 37478a8695 server: Set missing error status for get_process_image_name. 2022-11-22 18:27:31 +01:00
Paul Gofman 25c52eb764 xinputuap.dll: Add new dll.
Based on a patch by Yusuf Khan <yusisamerican@gmail.com>.

Required for Halo Infinite.
2022-11-22 18:27:31 +01:00
Nikolay Sivov 29cbec5e6c ntdll: Use system language as preferred, if user language is custom-unspecified.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:31 +01:00
Nikolay Sivov beb9e11370 vbscript: Handle CP_UTF8 in Chr()/Asc(). 2022-11-22 18:27:31 +01:00
Jason Millard 393f740bb7 vbscript: Add support for redim byref. 2022-11-22 18:27:31 +01:00
Rémi Bernon 1429d211ac winebus.sys: Add more trace messages. 2022-11-22 18:27:31 +01:00
Rémi Bernon 1d2ea5fb89 hidclass.sys: Add more trace messages. 2022-11-22 18:27:31 +01:00
Nikolay Sivov 644143d553 comctl32/hotkey: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:31 +01:00
Nikolay Sivov 389f961bc5 comctl32/ipaddress: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:31 +01:00
Nikolay Sivov 40c9966efe comctl32/progress: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:31 +01:00
Nikolay Sivov 25ad6d7594 comctl32/treeview: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:31 +01:00
Nikolay Sivov fca468beb4 comctl32/updown: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:30 +01:00
Nikolay Sivov a79b761cdd comctl32/pager: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:30 +01:00
Nikolay Sivov 80de410139 comctl32/animate: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-22 18:27:30 +01:00
Ivo Ivanov 6b1b521193 dinput: Remove redundant physical range values.
The physical range is not correct for the given usage.

Signed-off-by: Ivo Ivanov <logos128@gmail.com>
2022-11-22 18:27:30 +01:00
Ivo Ivanov 29894e1c9a dinput: Prevent a potential array overflow error during the conversion from spherical to Cartesian coordinates.
Signed-off-by: Ivo Ivanov <logos128@gmail.com>
2022-11-22 18:27:30 +01:00
Piotr Caban 1cf1412a12 gdi32: Get printer output file name in StartDoc. 2022-11-22 18:27:30 +01:00
Piotr Caban 4e527045d5 gdi32: Don't crash in StartDoc on NULL DOCINFO. 2022-11-22 18:27:30 +01:00
Alexandre Julliard a9183c7e3b makedep: Assume that all modules are built with msvcrt. 2022-11-22 18:27:30 +01:00
Alexandre Julliard 5884e98fbe configure: Don't rename the loader to wine64 for multi-arch builds. 2022-11-22 18:27:30 +01:00
Alexandre Julliard 9e7a9270e2 ntdll: Fall back to the current loader if the corresponding 32/64-bit loader isn't found. 2022-11-22 18:27:30 +01:00
Alexandre Julliard ae8562ed22 ntdll: Always use the name of the current loader to exec a new process. 2022-11-22 18:27:30 +01:00
Alexandre Julliard d45de31874 ntdll: Always set WINELOADER variable to the current loader name. 2022-11-22 18:27:30 +01:00
Santino Mazza d5385c7177 kernelbase: Implement GetGeoInfoEx. 2022-11-22 18:27:30 +01:00
Santino Mazza 52ffd338fa kernel32/tests: Test for GetGeoInfoEx. 2022-11-22 18:27:30 +01:00
Santino Mazza f51c752c43 kernelbase: Create GetGeoInfoEx stub. 2022-11-22 18:27:30 +01:00
Alex Henrie a62400a8df ucrtbase/tests: Put the calling convention inside the function pointer parentheses.
As required by MSVC.
2022-11-22 18:27:30 +01:00
Alex Henrie d7ef00e66e oledlg: Use standard C functions for memory allocation in pastespl.c. 2022-11-22 18:27:30 +01:00
Alex Henrie b59defb244 shlwapi/tests: Use standard C functions for memory allocation in path.c. 2022-11-22 18:27:30 +01:00
Alex Henrie 777383b81d oledb32: Use standard C functions for memory allocation in rowpos.c. 2022-11-22 18:27:30 +01:00
Alex Henrie f41214edaa hhctrl: Handle memory allocation failure in GetChmString. 2022-11-22 18:27:30 +01:00
Alex Henrie 73bbada784 taskschd: Remove unused function heap_strdupW. 2022-11-22 18:27:30 +01:00
Alex Henrie 5f1dd90c76 taskschd: Use standard C functions for memory allocation in task.c. 2022-11-22 18:27:30 +01:00
Alex Henrie fa77645e4c taskschd: Use standard C functions for memory allocation in regtask.c. 2022-11-22 18:27:30 +01:00
Alex Henrie e0b9fbe597 taskschd: Use standard C functions for memory allocation in folder_collection.c. 2022-11-22 18:27:30 +01:00
Alex Henrie d2ad82c87e advapi32/tests: Avoid using GCC's typeof extension. 2022-11-22 18:27:30 +01:00
Alex Henrie abf14cd4bc windows.media.speech: Put the calling convention inside the function pointer parentheses.
As required by MSVC.
2022-11-22 18:27:30 +01:00
Alex Henrie dab61cdcd1 explorer: Put the calling convention inside the function pointer parentheses.
As required by MSVC.
2022-11-22 18:27:30 +01:00
Alex Henrie 318d02723c kernel32/tests: Avoid using GCC's typeof extension. 2022-11-22 18:27:30 +01:00