--
v3: qasf: Configure WMReader stream selection in asf_reader_init_stream.
qasf: Configure WMReader stream format in asf_reader_init_stream.
qasf: Start/stop the WM reader in asf_reader_init/cleanup_stream.
qasf: Implement ASF Reader filter init_stream and cleanup_stream.
qasf: Wait for IWMReader_Open to complete in ASF Reader Load.
https://gitlab.winehq.org/wine/wine/-/merge_requests/625
The last patch will be useful later when we have to use the dispex itself.
--
v2: mshtml: Return DISP_E_MEMBERNOTFOUND when not finding member by DISPID.
mshtml: Implement document.location with a hook.
mshtml: Implement window.setTimeout with a hook.
mshtml: Implement window.location setter with a hook.
mshtml: Forward Document's Invoke to InvokeEx.
https://gitlab.winehq.org/wine/wine/-/merge_requests/632
On Wed Aug 10 14:12:37 2022 +0000, Torge Matthies wrote:
> So update:
> I used `HeapValidate` to check if `Context`s stay valid after thread
> exit if in use. They don't. It only works because either the Context is
> not used once the chores are running or the data in the memory stays
> valid enough for it to not crash. So we don't need to do refcounting.
> This implementation of `_StructuredTaskCollection` here doesn't use the
> context anyway once the chores are running, so there should rarely (if
> ever) be crashes if some program doesn't clean up its task collections.
> For the caching: It seems like there are always n/m Contexts cached,
> with n = the number of logical CPUs (probably
> `CurrentScheduler::GetNumberOfVirtualProcessors()`) and more
> interestingly m = the number of schedulers created (default scheduler +
> any created with `Scheduler_Create`).
I have tested _StructuredTaskCollection behavior on Context destroy, here are some thoughts:
- the _StructuredTaskCollection is not canceled
- destructor is not waiting for chores to finish
- there's no crash if Context is destroyed while tasks are running/scheduled to run
- when context is reused old tasks are gone
I think, that in order to implement it correctly, tasks queue needs to be moved to scheduler. On _Context destroy, all tasks created by the context should be removed from the list.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/464#note_6113
--
v2: qasf: Configure WMReader stream selection in asf_reader_init_stream.
qasf: Configure WMReader stream format in asf_reader_init_stream.
qasf: Start/stop the WM reader in asf_reader_init/cleanup_stream.
qasf: Implement ASF Reader filter init_stream and cleanup_stream.
qasf: Wait for IWMReader_Open to complete in ASF Reader Load.
https://gitlab.winehq.org/wine/wine/-/merge_requests/625
mf_media_type_from_wg_format() may return NULL.
Fix Airborne Kingdom crash at start because WG_AUDIO_FORMAT_UNKNOWN is passed to
mf_media_type_from_wg_format().
Signed-off-by: Zhiyi Zhang <zzhang(a)codeweavers.com>
--
v2: winegstreamer: Trace mf_media_type_from_wg_format_{audio|video}().
winegstreamer: Always check the return value from mf_media_type_from_wg_format().
https://gitlab.winehq.org/wine/wine/-/merge_requests/616
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
v2: mfreadwrite/writer: Create output stream if it wasn't provided.
mfreadwrite/writer: Create archive sink automatically when writer is created from url/bytestream.
mf: Add archive sink creation exported functions.
https://gitlab.winehq.org/wine/wine/-/merge_requests/629
--
v3: mf: Actually implement SESSION_CMD_END internal command.
mf: Use session_submit_command to put SESSION_CMD_END ahead of the queue.
mf: Keep pending session command out of the queued commands list.
mf: Use a dedicated session callback interface for sample requests.
https://gitlab.winehq.org/wine/wine/-/merge_requests/607
Some transforms, such as the EVR mixer do not implement GetInputAvailableType
and may not have any current media type set, though they would accept upstream
media type right away.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/608
On Wed Aug 10 19:57:25 2022 +0000, Davide Beatrici wrote:
> > If you're adding parameters to existing unixcalls you should at least
> zero-init them in the caller.
> I planned to do that when achieving a single `mmdevdrv.c`, but to avoid
> confusion I'll do it in this MR instead.
> > Also, this MR is getting rather long. I'd suggest just pushing the
> first five or so commits, saving the rest for later MRs.
> We would end up with a single "topic" split between different MRs, though.
> I think it would make more sense to divide the commits like this:
> - 1-3 in this MR.
> - 4-12 in a 2nd MR.
> - 13 in a 3rd MR.
Maybe I should merge `wineoss` and `winecoreaudio`'s `unixlib.h` here as well.
That way we can then create a merge request for each driver, strictly focused on making it work with `mmdevdrv`'s header.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/600#note_6080
When first parsed to names in english and other non-native languages,
after parsing to names in native languages, this will result in second_name
not corresponding to names in english.
Signed-off-by: Jiajin Cui <cuijiajin(a)uniontech.com>
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/628
This is the very first step for merging the `mmdevdrv.c` files into a single one.
The commit strictly focuses on Linux drivers, `wine{oss,coreaudio}` will follow.
Huge thanks to @jacek and @huw for making this simple, as they took care of ELF/PE separation.
--
v6: mmdevapi: Integrate winepulse's additions in unixlib.h
winealsa: Move common unixlib.h content into mmdevapi
winealsa: Drop "alsa_" prefix in unixlib enum, apply it to the functions instead
https://gitlab.winehq.org/wine/wine/-/merge_requests/600
--
v2: mf: Actually implement SESSION_CMD_END internal command.
mf: Use session_submit_command to put SESSION_CMD_END ahead of the queue.
mf: Keep pending session command out of the queued commands list.
https://gitlab.winehq.org/wine/wine/-/merge_requests/607