Commit graph

172155 commits

Author SHA1 Message Date
Eric Pouech ab1782fc86 cmd: Set success/failure return code for SETLOCAL/ENDLOCAL commands.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-05 18:07:28 +02:00
Eric Pouech 310cde555b cmd/tests: Test success / failure for more commands.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-05 18:07:28 +02:00
Rémi Bernon 017317ce66 mfreadwrite/reader: Look for a matching output type if setting it failed.
The source reader accepts incomplete output types that decoders don't.

This is for instance the case with audio types with only a subtype but
no MF_MT_AUDIO_BITS_PER_SAMPLE attribute specified.
2024-07-05 18:07:28 +02:00
Ilia Docin b45ad560e4 comctl32/rebar: Hide chevron if rebar's band is resized back to full size with gripper. 2024-07-05 18:07:28 +02:00
Alexandre Julliard 888f7b83ca ntdll/tests: Add tests for in-process memory notifications on ARM64. 2024-07-05 18:07:28 +02:00
Alexandre Julliard 3062191bf8 wow64: Add more cross-process notifications. 2024-07-05 13:23:46 +02:00
Alexandre Julliard 7a6966604e wow64: Call pre- and post- memory notifications also in the current process case. 2024-07-05 13:20:16 +02:00
Rémi Bernon ab71725972 win32u: Pass the shape bitmap info and bits to window_surface flush. 2024-07-05 11:05:41 +02:00
Rémi Bernon 0931c2a4eb win32u: Update the window surface shape with color key and alpha. 2024-07-05 11:05:40 +02:00
Rémi Bernon 07b801f229 win32u: Use a 1bpp bitmap to store the window surface shape bits. 2024-07-05 11:05:40 +02:00
Rémi Bernon 03e43434c2 win32u: Introduce a new window surface helper to set window shape. 2024-07-05 11:05:40 +02:00
Rémi Bernon 8128209124 win32u: Pass whether window is shaped to drivers WindowPosChanging. 2024-07-05 11:05:40 +02:00
Rémi Bernon 27f63ff1cd win32u: Pass the window surface rect for CreateLayeredWindow.
Cropping and rounding it similarly to non-layered window surfaces.
2024-07-05 11:05:40 +02:00
Rémi Bernon a149011c2e win32u: Split a new create_window_surface helper from apply_window_pos. 2024-07-05 11:05:40 +02:00
Rémi Bernon 8dd4b62e4c win32u: Move offscreen window surface creation fallback. 2024-07-05 11:05:40 +02:00
Ziqing Hui aaea7027c7 winegstreamer/video_encoder: Implement ProcessMessage. 2024-07-05 11:05:40 +02:00
Ziqing Hui 2bb40c7625 winegstreamer/video_encoder: Implement ProcessInput. 2024-07-05 11:05:40 +02:00
Ziqing Hui 7cd172a6fb winegstreamer/video_encoder: Create wg_transform. 2024-07-05 11:05:40 +02:00
Ziqing Hui 8b7674a551 winegstreamer/video_encoder: Clear input type when setting output type. 2024-07-05 11:05:40 +02:00
Ziqing Hui edebd07338 winegstreamer/video_encoder: Rename create_input_type to video_encoder_create_input_type. 2024-07-05 11:05:40 +02:00
Mohamad Al-Jaf a584b81436 windows.web: Implement IJsonValueStatics::CreateStringValue().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56914
2024-07-05 11:05:40 +02:00
Mohamad Al-Jaf 4e5c578869 windows.web/tests: Add IJsonValueStatics::CreateStringValue() tests. 2024-07-05 11:05:40 +02:00
Mohamad Al-Jaf f98929e5eb windows.web: Add IJsonValueStatics stub interface. 2024-07-05 11:05:40 +02:00
Mohamad Al-Jaf 4c81ee3f8a include: Add IJsonValueStatics interface definition. 2024-07-05 11:05:40 +02:00
Mohamad Al-Jaf c490335df4 windows.web: Implement IActivationFactory::ActivateInstance(). 2024-07-05 11:05:40 +02:00
Mohamad Al-Jaf dbdc0dce46 windows.web: Add stub DLL. 2024-07-05 11:05:40 +02:00
Mohamad Al-Jaf c03035d342 include: Add windows.data.json.idl file. 2024-07-05 11:01:14 +02:00
Connor McAdams 797df8df39 d3dx9: Add support for mipmap generation to D3DXCreateVolumeTextureFromFileInMemoryEx().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams c9e6f6f84f d3dx9: Use d3dx_image structure inside of D3DXCreateVolumeTextureFromFileInMemoryEx().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams 438fba77d7 d3dx9: Cleanup texture value argument handling in D3DXCreateVolumeTextureFromFileInMemoryEx().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams 935c324d3a d3dx9: Refactor texture creation and cleanup in D3DXCreateVolumeTextureFromFileInMemoryEx().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams ab512adc1e d3dx9/tests: Add more tests for D3DXCreateVolumeTextureFromFileInMemoryEx().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams de286c6b65 d3dx9: Use shared code in D3DXLoadVolumeFromFileInMemory().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams 83ba4c0955 d3dx9/tests: Add more D3DXLoadVolumeFromFileInMemory() tests.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Connor McAdams d4090df3f4 d3dx9/tests: Move the images used across multiple test files into a shared header.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-07-04 23:27:11 +02:00
Shaun Ren 9002039101 dinput: Call handle_foreground_lost() synchronously in cbt_hook_proc().
mouse_unacquire() needs to be called on the same thread as
mouse_acquire(), otherwise the cursor hidden by mouse_unacquire() will
not be restored.
2024-07-04 23:25:58 +02:00
Zhiyi Zhang 1581af4793 winemac.drv: Remove the clear OpenGL views to black hack.
Fix black screen issues for Active Trader Pro and Assetto Corsa. This reverts commit 4124478b.

For Active Trader Pro, the hack ends up clearing a context that was previously drawn to to black,
possibly because multiple OpenGL contexts are involved according to Henri's investigation.

Assetto Corsa creates a D3D device for a window but doesn't actually do any rendering with it. After
ceefcca7, having an OpenGL context for a window clears its OpenGL surface to black after its view
becomes visible. The OpenGL surface is on top of other layers for the window so the window becomes
black after that. The blackness is originally from glDrawBuffer(GL_FRONT_AND_BACK), which presumably
prepares a zero-initialized OpenGL front draw buffer. This also suggests that 4124478b is no longer
necessary. I could delay the clearToBlackIfNeeded() call so it uses the behavior before ceefcca7,
but now that it seems the hack is no longer necessary and might cause more errors. CrossOver has
disabled the hack for a while and it seems fine. I think it's time to remove the hack.
2024-07-04 21:07:06 +02:00
Eric Pouech 9e770440cc cmd: Don't set ERRORLEVEL in case of redirection error.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Eric Pouech 2fe271ef81 cmd: Set success/failure return code for RMDIR/RD command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Eric Pouech bec2a9fa34 cmd: Set success/failure return_code for POPD command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Eric Pouech 61a1b87b85 cmd: Improve return code / errorlevel handling.
Mainly for commands not setting ERRORLEVEL in case of
failure.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Eric Pouech b1ff1a0415 cmd: Return tri-state for WCMD_ReadParseLine().
And move handling of the syntax error cases in callers.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Eric Pouech c7e5e4c021 cmd: Add some more tests for success/failure.
Focusing on POPD and RMDIR/RD that don't set errorlevel
in case of failure.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-04 20:00:23 +02:00
Alex Henrie bfed14d6bc mscoree: Pass size in bytes to RegGetValueW. 2024-07-04 20:00:23 +02:00
Rémi Bernon d9b3c025d8 win32u: Use input shared memory for NtUserGetGUIThreadInfo.
When the current thread is requested.
2024-07-04 20:00:23 +02:00
Rémi Bernon 6253e8c1ea server: Move caret window and rect to input shared memory. 2024-07-04 20:00:23 +02:00
Rémi Bernon 18d1af889e server: Move capture window to input shared memory.
As well as menu owner / menu size window handles.
2024-07-04 20:00:22 +02:00
Rémi Bernon be93b3ac92 server: Move focus window to input shared memory. 2024-07-04 20:00:22 +02:00
Rémi Bernon d42b502425 server: Move active window to input shared memory. 2024-07-04 20:00:22 +02:00
Rémi Bernon 953ee0714c server: Create a thread input shared mapping. 2024-07-04 20:00:22 +02:00