Previously, map_font() could return a font that does not directly
support the requested codepage but has a child font that does. By
enumerating fonts for the specific charset, as well as checking each
candidate font's signature, the returned font now directly supports the
codepage.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6450
Commit 1 prevents the media session from starting execution of an asynchronous operation while another asynchronous operation is still running. Without this, it was possible for invalid state transitions to happen, which could leave the session in an intermediary state (not stopped, started, paused, closed or shut down) indefinitely.
Commits 2, 3 and 4 are some more fixes around pausing and unpausing in mfplat.
--
v2: mf/session: Fix pausing a media session when the media source sends buffering events.
winegstreamer: Also flush token queue on seek.
mf/sar: Allow starting audio renderer again after pausing it.
mf/session: Prevent media session from running commands concurrently.
mf: Fix media session staying in RESTARTING_SOURCES state after failing to start/seek a media source.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6255
[Documentation for EnumSystemLocalesA/W](https://learn.microsoft.com/en-us/windows/win32/api/w… says "If [`LCID_ALTERNATE_SORTS`] is used with either `LCID_INSTALLED` or `LCID_SUPPORTED`, the installed or supported locales are retrieved, **as well as** the alternate sort locale identifiers." (emphasis mine).
Until now, Wine *only* returned alternate sorts in this case, which apparently breaks some versions of NexusDB.
This MR fixes the issue and adds some basic tests to ensure the issue isn't accidentally re-introduced at a later time.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6455