Commit graph

167565 commits

Author SHA1 Message Date
Alexandre Julliard cf21c75bbf ntdll: Simplify platform checks for exception handling functions.
And sync the corresponding forwards.
2023-10-19 18:19:30 +02:00
Alexandre Julliard 8db7f7a6ae Revert "loader: Translate wine.desktop to Catalan".
This reverts commit 7a22152ba1.
There was already a translation.
2023-10-19 14:56:32 +02:00
Alex Henrie fbbabca177 commdlg: Set lCustData the same in GetSaveFileName as GetOpenFileName.
Fixes: 691c7775d1
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55715
2023-10-19 10:12:19 +02:00
Alex Henrie e8d849efce wined3d: Use debugstr_fourcc instead of debugstr_an. 2023-10-19 10:12:14 +02:00
Dmitry Timoshkov 6391b8d5c9 cryptui: Use CertNameToStr(CERT_NAME_STR_NO_QUOTING_FLAG) to disable quoting.
This makes the certificate selecting UI look similar to Windows.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-10-18 20:47:00 +02:00
Dmitry Timoshkov c23865d9c3 crypt32: Add support for CERT_NAME_STR_NO_QUOTING_FLAG to CertNameToStr().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-10-18 20:47:00 +02:00
Dmitry Timoshkov 1252426d71 crypt32/tests: Add some tests for quoted RDN values.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-10-18 20:47:00 +02:00
Dmitry Timoshkov c2962b2283 crypt32: Avoid truncating unicode chars.
So that strings containing Cyrillic Capital Letter ER (0x420) won't be
quoted when not needed.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-10-18 20:47:00 +02:00
Arkadiusz Hiler 2bfe81e41f winex11.drv: Send missed KEYUP events on KeymapNotify.
Full focus lost / focus gained events on the Windows side are not
feasible for X11's FocusIn/FocusOut events generated by keyboard grabs
(see XGrabKeyboard()) that are used for example for Atl+Tab handling.
Using them would degrade user's experience by causing the window to
minimize or flash multiple times depending on a game/window manager
combo.

Because of that the programs may miss on some KEYUP events that happen
during the grab, and since there are no focus changes on the Windows
side the state doesn't get resynced.

This change attempts to improve user experience by syncing any missed
key release events that happened while the window haven't had focus on
the X11 side.

There's no syncing of key presses as those are more problematic because
of window manager quirks, e.g. on KDE it may end up syncing the Tab
press portion of Alt+Tab. Luckily missing key events for keys that were
pressed and not released while the WM had the keyboard grab is not
nearly as confusing as stuck keys.

For Warhammer: Chaosbane, theHunter: Call of the Wild, Far Cry Primal
and many other games that end up with stuck Alt after Alt+Tabbing.
2023-10-18 20:47:00 +02:00
Rémi Bernon 6631e6bc2d dmime: Remove FIXME from methods now mostly implemented. 2023-10-18 20:47:00 +02:00
Rémi Bernon 8a4989f3a6 dmime: Translate some DMUS_CURVE_PMSG messages to MIDI. 2023-10-18 20:47:00 +02:00
Rémi Bernon 2c4fc0adcf dmusic: Use a dmusic_midi.h header for MIDI messages. 2023-10-18 20:47:00 +02:00
Rémi Bernon 65e388137c dmime: Adjust MIDI message time with DMUS_NOTE_PMSG nOffset. 2023-10-18 20:47:00 +02:00
Rémi Bernon 5a66857fb4 dmime: Don't interrupt track iteration if SetParam failed. 2023-10-18 20:47:00 +02:00
Rémi Bernon 12d3ccb495 dmime: Only use index if group is set in IDirectMusicSegment_SetParam. 2023-10-18 20:47:00 +02:00
Rémi Bernon e9fdbe4d55 dmband: Set DMUS_PATCH_PMSG bank LSB/MSB from instrument patch. 2023-10-18 20:47:00 +02:00
Rémi Bernon 10a1e533c3 dmband: Download segment tracks if performance auto-download is set. 2023-10-18 20:46:59 +02:00
Rémi Bernon 4106217718 dmsynth: Set default modulators according to the DLS2 spec. 2023-10-18 20:46:59 +02:00
Rémi Bernon 7f629f7f54 dmsynth: Convert modulator values from DLS2 to SF2 convention. 2023-10-18 20:46:59 +02:00
Rémi Bernon c7ca1643f7 dmsynth: Fix FluidSynth generators for direct connections. 2023-10-18 20:46:59 +02:00
Rémi Bernon 0eaa06b51d dmsynth: Fix DLS2 to FluidSynth conversion for CONN_SRC_CCx. 2023-10-18 20:46:59 +02:00
Rémi Bernon 832a2127cd dmsynth: Avoid using fluid_ prefix for internal helpers. 2023-10-18 20:46:59 +02:00
Rémi Bernon 1728f82a2a dmsynth: Correctly lookup instrument from the default drum bank. 2023-10-18 20:46:59 +02:00
Rémi Bernon 7274902a3b dmsynth: Implement sink rendering to DirectSound buffer. 2023-10-18 20:46:59 +02:00
Rémi Bernon 0d56c54d8b dmsynth: Create a render thread on sink activation. 2023-10-18 20:46:59 +02:00
Connor McAdams 27aed609c6 uiautomationcore: Implement IUIAutomationElement::get_CachedBoundingRectangle.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams f9f59d109f uiautomationcore: Implement IUIAutomationElement::get_CachedName.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams e9e009b723 uiautomationcore: Implement IUIAutomationElement::get_CachedIsKeyboardFocusable.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams 118b74f82f uiautomationcore: Implement IUIAutomationElement::get_CachedHasKeyboardFocus.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams 15f098c34e uiautomationcore: Implement IUIAutomationElement::get_CachedControlType.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Connor McAdams 6d0047ad66 uiautomationcore/tests: Add tests for cached value helper functions in the COM API.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-10-18 20:46:59 +02:00
Brendan Shanks 83e80e9b60 configure: Only build Wayland if linux/input.h is present. 2023-10-18 20:46:59 +02:00
Alexandre Julliard 52618e1d3c dbghelp: Fix a compiler warning on ARM64. 2023-10-18 20:46:59 +02:00
Alexandre Julliard 7ff690f4bd zydis: Disable assertions. 2023-10-18 18:35:21 +02:00
Matteo Bruni f9c7fabed6 wined3d: Don't skip setting clip planes if the view transform state is dirty.
More fallout from 2ddb6b66a7.
2023-10-18 17:12:57 +02:00
Matteo Bruni 527955544b wined3d: Implement shadow sampling for the ARB shader backend. 2023-10-18 17:12:54 +02:00
Matteo Bruni 1eba5fd959 wined3d: Allow FFP blits to non-render targets with the 'none' shader backend.
In the same vein as 6247bee483b31b1ea0ad49f85f1cffde7433fed2; avoids
infinite recursion in the blitter. Triggered by the ddraw tests.
2023-10-18 17:12:53 +02:00
Matteo Bruni 87937d6182 wined3d: Handle NULL push constant buffers with the ARB shader backend.
Fixes: c065b4fe0b
2023-10-18 17:12:50 +02:00
Matteo Bruni 333a0be42d wined3d: Fix handling of system-memory GL vertex buffers.
Fixes: c065b4fe0b
2023-10-18 17:12:44 +02:00
Zebediah Figura 307b200363 wined3d: Do not track dirty ranges for buffers without WINED3D_BUFFER_USE_BO.
Since we never upload the buffer, and may very well never invalidate the whole
thing, this just results in continually increasing memory consumption.

This is especially a problem for our internal push constant buffers, which are
sysmem buffers that usually are never wholly invalidated, but it could also
potentially be a problem for other buffers.
2023-10-18 14:01:57 +02:00
Zebediah Figura 8378a786a6 wined3d: Use wined3d_array_reserve() to pre-allocate the buffer dirty ranges array. 2023-10-18 14:01:57 +02:00
Zebediah Figura 352d04935a wined3d: Rename buffer dirty ranges fields.
Make the fields names consistent with each other and with the usual scheme for field naming.
2023-10-18 14:01:49 +02:00
Alex Henrie 344eee2024 win32u: Use debugstr_fourcc instead of debugstr_an. 2023-10-18 14:01:45 +02:00
Eric Pouech 43598133e6 dbghelp: Remove unneeded parameter to pe_map_file.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-10-18 11:01:56 +02:00
Eric Pouech d4104e8505 dbghelp: Simplified module_find_by_addr().
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-10-18 11:01:56 +02:00
Eric Pouech e1064850ff dbghelp: Set the machine type for mach-O modules.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-10-18 11:01:56 +02:00
Eric Pouech 0a1de579a7 dbghelp: Use is_host_64bit for handling bitness of mach-o libs.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55650
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-10-18 11:01:51 +02:00
Eric Pouech d6096057f5 dbghelp: Rename internal field (system -> host).
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-10-18 11:01:50 +02:00
Nikolay Sivov 0c7a09cb1f maintainers: Add EVR to the Media Foundation section. 2023-10-17 21:48:20 +02:00
Paul Gofman deff1303fb winegstreamer: Add AVDecVideoAcceleration_H264 attribute for h264 decoder MFT. 2023-10-17 21:48:20 +02:00