In native Windows, the COPY command will display the names of the files as they are copied. Wine should do the same. This change enables that.
--
v9: cmd/tests: Add tests to verify COPY command output
cmd: COPY should output file names as they are copied.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8200
When an instance of IEnumString in the ETQW World Editor is used to provide shell autocompletion strings, a crash can occur because its implementation of IEnumString::Next never initializes the output number of strings returned on success, which results in the uninitialized count being used to expand the enumerated strings array without bound.
To determine if a string was successfully retrieved from IEnumString::Next, the enumeration of autocompletion strings now retrieves only one string at a …
[View More]time and checks the returned HRESULT for appropriate success. This avoids reliance on the output count for determining success.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51630
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8239
[View Less]
I tripped over this function while trying to run a game, so I thought I would have a go at it :-)
The implementation is very similar to what is done in `Local32Info16` already.
Regarding the place to put the function: I am not sure about the exact relationship between `kernel32` and `kernelbase`, but as most of the heap related functions are implemented in `kernelbase` I opted to add it to the latter. The tests reside in the `kernel32` directory though.
The tests are currently pretty basic …
[View More]as I was a bit hesitant to compare against hard coded sizes for reserved / committed memory (that could break if someone made changes to the heap implementation).
Also, I am not entirely sure about the semantics of the `cbMaxReserve` field. I opted to always set it to the same value as `cbReserved`, which seems *good enough™*.
Let me know if this needs improvement!
--
v2: kernelbase: Implement HeapSummary
https://gitlab.winehq.org/wine/wine/-/merge_requests/8237
[View Less]
I tripped over this function while trying to run a game, so I thought I would have a go at it :-)
The implementation is very similar to what is done in `Local32Info16` already.
Regarding the place to put the function: I am not sure about the exact relationship between `kernel32` and `kernelbase`, but as most of the heap related functions are implemented in `kernelbase` I opted to add it to the latter. The tests reside in the `kernel32` directory though.
The tests are currently pretty basic …
[View More]as I was a bit hesitant to compare against hard coded sizes for reserved / committed memory (that could break if someone made changes to the heap implementation).
Also, I am not entirely sure about the semantics of the `cbMaxReserve` field. I opted to always set it to the same value as `cbReserved`, which seems *good enough™*.
Let me know if this needs improvement!
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8237
[View Less]
--
v2: ole32/tests: Check calling a proxy after re-creating the STA.
ole32/tests: Add more tests with RPC from the wrong thread.
ole32/tests: Add an test with implicit MTA creation.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8235