Commit graph

162829 commits

Author SHA1 Message Date
Rémi Bernon 27c5abe378 win32u: Keep the current user locale when loading layout. 2023-03-14 18:38:31 +01:00
Rémi Bernon d12dda395f win32u: Keep the current user locale when enumerating layouts.
The low word of the enumerated HKL is the desired user locale, the high
word is either the keyboard layout LANGID, or the keyboard "Layout Id"
for additional layouts with the same LANGID.
2023-03-14 18:38:31 +01:00
Derek Lesho ab80ee17fa winegstreamer/media_source: Close bytestream in ::Shutdown.
Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
2023-03-14 18:38:31 +01:00
Derek Lesho 698cc602f0 mfplat/tests: Test bytestream closing behavior in IMFMediaSource::Shutdown.
Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
2023-03-14 18:38:31 +01:00
Francois Gouget d3c32ccfe1 d3d8/tests: Remove an unused call to IDirect3D8_GetAdapterDisplayMode().
It is no longer used now that test_fpu_setup() uses create_device().
2023-03-14 18:34:34 +01:00
Henri Verbeet 34139937b0 wined3d: Sort the exports.
For the most part these were already sorted, but a few exceptions appear to
have crept in.
2023-03-14 18:34:28 +01:00
Henri Verbeet 890877f145 d3d11: Get rid of the DXBC tag definitions.
These have been unused for a while now.
2023-03-14 18:34:22 +01:00
Alexandre Julliard e3e0c3a91a wineboot: Use the SystemProcessorBrandString query instead of cpuid. 2023-03-14 17:38:51 +01:00
Alexandre Julliard c44e58c88b ntdll: Implement the SystemProcessorFeaturesInformation query. 2023-03-14 17:38:51 +01:00
Alexandre Julliard 72422be6d2 ntdll: Implement the SystemProcessorBrandString query. 2023-03-14 17:34:09 +01:00
Alexandre Julliard b72c2dca01 ntdll: Fix some CPU information tests on ARM64. 2023-03-14 17:26:13 +01:00
Rémi Bernon 0392621858 imm32: Use a single ime_is_unicode helper. 2023-03-14 15:02:20 +01:00
Rémi Bernon ea4b97bf4e imm32: Delete unnecessary uSelected struct ime member. 2023-03-14 15:02:20 +01:00
Rémi Bernon c76b55991a imm32: Rename some struct ime members. 2023-03-14 15:02:20 +01:00
Rémi Bernon fa9de19a66 imm32: Implement ImmLoadIME and ImmFreeLayout. 2023-03-14 15:02:20 +01:00
Zebediah Figura 53aa0be037 ddraw: Move sub-resource surface initialization to ddraw_surface_create_wined3d_texture(). 2023-03-14 14:24:59 +01:00
Zebediah Figura 54fb279302 ddraw: Factor out more common initialization into ddraw_surface_create_wined3d_texture(). 2023-03-14 14:24:59 +01:00
Zebediah Figura 7a61760c60 ddraw: Move sysmem_fallback setting to ddraw_surface_create_wined3d_texture(). 2023-03-14 14:24:59 +01:00
Zebediah Figura fbcd01ff1f ddraw: Remove some outdated comments from ddraw_surface7_SetSurfaceDesc(). 2023-03-14 14:24:59 +01:00
Zebediah Figura 0fb06e8ac7 ddraw: Rename "is_complex_root" to "is_root".
"is_complex_root" is somewhat misleading, given that it is TRUE for surfaces with no attached surfaces.
2023-03-14 14:24:59 +01:00
Max Figura 916904f49f wined3d: Move the WINED3D_RS_COLORKEYBLENDENABLE stub to wined3d_device_apply_stateblock. 2023-03-14 14:24:59 +01:00
Max Figura 37e206558d wined3d: Move the WINED3D_RS_EXTENTS stub to wined3d_device_apply_stateblock. 2023-03-14 14:24:59 +01:00
Max Figura fc9324f2a9 wined3d: Move the WINED3D_RS_WRAP0 stub to wined3d_device_apply_stateblock. 2023-03-14 14:24:59 +01:00
Max Figura 8f2a2dfb01 wined3d: Move the WINED3D_RS_WRAP1 stub to wined3d_device_apply_stateblock. 2023-03-14 14:24:59 +01:00
Max Figura 044371508d wined3d: Move the WINED3D_RS_WRAP2 stub to wined3d_device_apply_stateblock. 2023-03-14 14:24:59 +01:00
Henri Verbeet 5925c1d1bb wined3d: Use wined3d_get_line() in shader_spirv_scan_shader(). 2023-03-14 14:24:59 +01:00
Henri Verbeet ca8b05e9cd wined3d: Use wined3d_get_line() in shader_spirv_compile_shader(). 2023-03-14 14:24:59 +01:00
Henri Verbeet 0fb1020965 wined3d: Use wined3d_get_line() in shader_arb_compile(). 2023-03-14 14:24:59 +01:00
Henri Verbeet eb31dcf04d wined3d: Use wined3d_get_line() in shader_glsl_dump_program_source().
Thereby removing the last user of get_info_log_line().
2023-03-14 14:24:59 +01:00
Henri Verbeet 2945180927 wined3d: Use wined3d_get_line() in shader_glsl_compile(). 2023-03-14 14:24:59 +01:00
Henri Verbeet 4144f2e864 wined3d: Don't bother explicitly terminating the GLSL info log in print_glsl_info_log(). 2023-03-14 14:24:59 +01:00
Jacek Caban 67c6770331 winedump: Print static lib EC symbols. 2023-03-13 22:07:24 +01:00
Gabriel Ivăncescu 5ddeae6ac1 jscript: Fix jsstr leak after changing variant type to BSTR.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2023-03-13 22:07:14 +01:00
Florian Will 4e167e7e1e comdlg32/tests: Fix itemdlg tests on Windows.
The wine testbot runs tests with C:\Users\Public\Documents as the
working directory. Itemdlg tests create test files in the working
directory and then try to select them for opening in an IFileOpenDialog.
The dialog has its SetFolder method called to point it to the current
working directory before showing the dialog, in order for the test code
to find the test files it had created there just before opening the
dialog.

On Windows, this failed because calling the dialog's SetFolder method
with C:\Users\Public\Documents doesn't work as expected. The dialog
points to the C:\Users\[CURRENT_USER]\Documents directory instead.
Subsequently, the test would be unable to select the test file because
it doesn't exist in that directory. So the dialog wouldn't accept the
file and close itself to finish the test, but show an error message
instead, resulting in a test timeout.

To fix this, set the current working directory to the temporary
directory before calling individual itemdlg test_* functions.
2023-03-13 21:31:55 +01:00
Francois Gouget 1d9de16091 vbscript/tests: Fix the testChrError() tests in the mixed locale case.
VBscript actually uses the default code page of the user default locale
which may not be the same as CP_THREAD_ACP.
Also for locales that don't have an ANSI code page, such as Hindi, it
falls back to UTF-8.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54003
2023-03-13 15:56:32 +01:00
Rémi Bernon 4e7aa4fb6a imm32: Rename input context immKbd to ime. 2023-03-13 10:43:15 +01:00
Rémi Bernon 0b34236dfd imm32: Move IMM_FreeThreadData helper around. 2023-03-13 10:43:15 +01:00
Rémi Bernon 245465ba1d imm32: Return early if IMM_GetImmHkl fails. 2023-03-13 10:43:15 +01:00
Rémi Bernon 84cec42e62 imm32: Fail to load IME on any missing entry.
Testing shows that this is what native does.
2023-03-13 10:43:13 +01:00
Rémi Bernon 1ac7125813 imm32: Avoid casts when calling into A/W IME. 2023-03-13 10:43:12 +01:00
Alex Henrie 6ed4a2e40e wldap32: Add ldap_set_dbg_flags stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54663
2023-03-13 10:42:48 +01:00
Evan Tang a7b49b0e86 kernel32/tests: Fix tls callback tests on Windows 7.
Also add a few more so the full set of callbacks is tested.

Fixes: 2203a8564c
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54657
2023-03-13 10:42:10 +01:00
Fan WenJie 67f992c831 wow64: Fix missing conversion of ThreadWineNativeThreadName in wow64_NtSetInformationThread. 2023-03-13 10:39:31 +01:00
Connor McAdams 98027dd6f5 uiautomationcore: Implement IUIAutomationElement::BuildUpdatedCache.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-13 10:39:25 +01:00
Connor McAdams 062584af05 uiautomationcore/tests: Add tests for IUIAutomationElement caching methods.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-13 10:39:25 +01:00
Connor McAdams 549b4f3db4 uiautomationcore: Implement IUIAutomation::CreateCacheRequest.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-13 10:39:25 +01:00
Connor McAdams 64d13cb7ec uiautomationcore: Add support for element array properties in IUIAutomationElement::GetCurrentPropertyValueEx.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-13 10:39:25 +01:00
Connor McAdams 6749649180 uiautomationcore: Validate input arguments for IUIAutomationElement::GetCurrentPropertyValueEx.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-03-13 10:39:25 +01:00
Alexandre Julliard 4c255f5a63 tiff: Import upstream release 4.5.0. 2023-03-11 18:55:35 +01:00
Alexandre Julliard f93e53c94b ldap: Import upstream release 2.5.14. 2023-03-11 18:55:04 +01:00