Adds the tray icons implementation based on org.kde.StatusNotifierItem interface usage. Does allow restarting StatusNotifierWatcher object, but will fallback to XEMBED or internal tray, if wine gets initialized when there is no StatusNotifierWatcher object registered.
--
v25: winesni.drv: add dbus watch instead of using plain unix fds and flush
winesni.drv: replaced the dbus connection logic with a single connection per each SNI object
winesni.drv: wrap functions with pthread …
[View More]mutex locking
winesni.drv: implement basic balloon notification support
explorer: add winesni.drv tray implementation support
winesni.drv: add KDE StatusNotifierItem implementation for tray
https://gitlab.winehq.org/wine/wine/-/merge_requests/2808
[View Less]
Fixes Starfield not being able to take photos in photo mode (due to failing to creating windowscodecs' image factory due to COM apartment being initialized). Turns out on Windows RoGetActivationFactory() initializes implicit MTA apartment when called from STA thread, and so after that called once COM is implicitly uninitialized for any (new) thread until COM is uninitialized in the thread which called RoGetActivationFactory (or that thread exited). This is not the case on Win8 (where the …
[View More]function was first introduced) but looks consistent after that.
--
v2: combase: Create implicit MTA in STA apartment in RoGetActivationFactory().
https://gitlab.winehq.org/wine/wine/-/merge_requests/3806
[View Less]
--
v2: gdiplus: Include the newline in the measurement of each line.
gdiplus/tests: Add test for bounds of newline.
win32u: Detect and handle characters that are considered to have no width for GetTextExtentExPoint.
gdi32/tests: Add test for width of carriage return and line feed.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3517
`FileRenameInformationEx` and `FileLinkInformationEx` are expanded versions of the `FileRenameInformation` and `FileLinkInformation` classes in `NtSetInformationFile`. They replace a single `ReplaceIfExists` flag with a `Flags` field that can contain a wider selection of options.
This patch-set implements these new classes by replacing the `replace` field of the `set_fd_name_info` server request with `flags`. The original `FileRenameInformation` and `FileLinkInformation` classes are then …
[View More]reimplemented to use `FILE_RENAME_REPLACE_IF_EXISTS` and `FILE_LINK_REPLACE_IF_EXISTS` respectively.
The patch set additionally implements `FILE_RENAME_IGNORE_READONLY_ATTRIBUTE` and `FILE_LINK_IGNORE_READONLY_ATTRIBUTE`, as well as `FILE_RENAME_POSIX_SEMANTICS` and `FILE_LINK_POSIX_SEMANTICS`.
Wine Bugs:
* [#54997](https://bugs.winehq.org/show_bug.cgi?id=54997) - msys2: gpg.exe fails because "NtSetInformationFile Unsupported class (65)" / FileRenameInformationEx
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3816
[View Less]
In `Makefile`, `foobar.tab.c` is made from the following rules:
```
foobar.tab.h: foobar.y
bison -o foobar.tab.c -d foobar.y ---- Rule X
foobar.tab.c: foobar.y foobar.tab.h
bison -o $@ foobar.y --- Rule Y
```
Normally, `Rule X` is used. In parallel makes, if `foobar.tab.c` is
considered while updating `foobar.tab.h` by `Rule X`, `Rule Y` is used.
So, if we compare build directories, there might be a difference in that
`foobar.tab.c` may or may not contain `#include "foobar.tab.h"`.…
[View More]
To avoid the above situation, this patch introduces [Grouped Targets](https://www.gnu.org/software/make/manual/html_node/Multiple-Target… which is
new in GNU Make 4.3.
The previous rules still apply to prevent build failures on older
systems, such as Ubuntu 20.04 LTS.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3797
[View Less]
--
v2: tests: Compile HLSL shaders at runtime in test_unknown_dsv_format().
tests: Compile HLSL shaders at runtime in test_unknown_rtv_format().
tests: Compile HLSL shaders at runtime in test_multiple_render_targets().
tests: Compile HLSL shaders at runtime in test_create_compute_pipeline_state().
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/337
This goes on top of !325 (which was already approved).
--
v4: include: Add some misc D3D12 structs/enums/macros.
include: Add some D3D12 raytracing specific structs.
include: Add the D3D12_BARRIER_GROUP struct.
include: Add the ID3D12Tools interface.
include: Add the ID3D12VirtualizationGuestDevice interface.
include: Add the ID3D12Device10 interface.
include: Add the ID3D12Device9 interface.
include: Add the ID3D12ShaderCacheSession interface.
…
[View More]include: Add the ID3D12GraphicsCommandList4 interface.
include: Add the ID3D12MetaCommand interface.
include: Add the ID3D12Heap1 interface.
include: Add the ID3D12Resource{1,2} interfaces.
include: Add the ID3D12Device8 interface.
include: Add the structs D3D12_FEATURE_DATA_D3D12_OPTIONS{6,7}.
include: Add the ID3D12Device7 interface.
include: Add the ID3D12ProtectedResourceSession1 interface.
include: Add the ID3D12Device6 interface.
include: Add the ID3D12DeviceRemovedExtendedData{,1,2} interfaces.
include: Add the ID3D12DeviceRemovedExtendedDataSettings{,1} interfaces.
include: Add the ID3D12Device5 interface.
include: Add the ID3D12StateObjectProperties interface.
include: Add the ID3D12StateObject interface.
include: Add the ID3D12LifetimeTracker interface.
include: Add the ID3D12SwapChainAssistant interface.
include: Add the ID3D12LifetimeOwner interface.
include: Add the ID3D12Device4 interface.
This merge request has too many patches to be relayed via email.
Please visit the URL below to see the contents of the merge request.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/332
[View Less]
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
v4: vkd3d-shader/hlsl: Add constant folding for the ternary operator.
vkd3d-shader/hlsl: Use conditional moves for arithmetic operators instead of branching.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/336
I wanted to use ._xy element access to make it shorter, but that attempt was crushed by the reality - such indexing apparently compiles but does not produce correct element access loads. I'm going to update once this is fixed.
--
v5: vkd3d-shader/hlsl: Add determinant() function.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/329
Fixes Starfield not being able to take photos in photo mode (due to failing to creating windowscodecs' image factory due to COM apartment being initialized). Turns out on Windows RoGetActivationFactory() initializes implicit MTA apartment when called from STA thread, and so after that called once COM is implicitly uninitialized for any (new) thread until COM is uninitialized in the thread which called RoGetActivationFactory (or that thread exited). This is not the case on Win8 (where the …
[View More]function was first introduced) but looks consistent after that.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3806
[View Less]
And discard irrelevant parts in select request. We currently store something in CTX_PENDING and ignore it later in select request if we're currently running in wow context.
--
v6: ntdll/tests: Add tests for setting context on unsuspended thread.
server: Store both contexts in pending context object.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3566
These functions are used by Visual Studio 2019, when opening or converting some projects.
Signed-off-by: Lorenzo Ferrillo <lorenzofersteam(a)live.it>
--
v10: kernelbase: Check for PERF_SIZE_LARGE in PerfSetULongLongCounterValue and PerfSetULongCounterValue
kernelbase : Check for PERF_ATTRIB_BY_REFERENCE attribute in PerfSetCounterRefValue
advapi/test: Add Test For PerfSetULongLongCounterValue
advapi32/tests: Create Tests for PerfSetULongCounterValue
…
[View More]advapi32: Forward PerfSetULongCounterValue and PerfSetULongLongCounterValue to kernelbase
kernelbase: Add implementation for PerfSetULongLongCounterValue
kernelbase: Add implementation of PerfSetULongCounterValue
https://gitlab.winehq.org/wine/wine/-/merge_requests/3799
[View Less]
> it's necessary to cast the pointers returned from malloc and realloc here because we add 1 to the pointer before assigning it to a variable. It's unusual but it works. Still, we could simplify this code a bit by only calling realloc.
Right, sorry about that.
However, let's start off with a commit that makes this explicit, to avoid mistakes by future reviewers. Something like:
```c
if (llTypes[type].lpMlds) {
WINE_MLD *mem = llTypes[type].lpMlds - 1;
mem = HeapReAlloc(…
[View More]GetProcessHeap(), 0, mem, sizeof(WINE_MLD) * (llTypes[type].wMaxId + 1));
llTypes[type].lpMlds = mem + 1;
} else {
WINE_MLD *mem;
mem = HeapAlloc(GetProcessHeap(), 0, sizeof(WINE_MLD) * (llTypes[type].wMaxId + 1));
llTypes[type].lpMlds = mem + 1;
}
```
Then we can merge to two branches into `realloc()` in the commit that switches things to the CRT allocator.
> As far as the casts in the calls to free, they are all to avoid warnings about freeing pointers to const strings, so they can't be removed.
Got it.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3736#note_45151
[View Less]
Adds the tray icons implementation based on org.kde.StatusNotifierItem interface usage. Does allow restarting StatusNotifierWatcher object, but will fallback to XEMBED or internal tray, if wine gets initialized when there is no StatusNotifierWatcher object registered.
--
v24: winesni.drv: add dbus watch instead of using plain unix fds and flush
winesni.drv: replaced the dbus connection logic with a single connection per each SNI object
winesni.drv: wrap functions with pthread …
[View More]mutex locking
winesni.drv: implement basic balloon notification support
explorer: add winesni.drv tray implementation support
winesni.drv: add KDE StatusNotifierItem implementation for tray
https://gitlab.winehq.org/wine/wine/-/merge_requests/2808
[View Less]
It's possible that a state object pointer not in the topology node collection gets passed to
session_get_node_object(). Instead of returning the last node when the object is not found, we
should return a NULL so that the state of the last node is not changed by mistake.
--
v6: mf/tests: Test IMFMediaSession::Start().
mf/tests: Add a create_media_session() helper.
mf: Add seeking support for IMFMediaSession::Start().
mf: Add a session_flush_nodes() helper.
mf: Make …
[View More]session_get_node_object() more robust.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3572
[View Less]
On Wed Sep 13 02:57:29 2023 +0000, Alex Henrie wrote:
> You're right that it's unnecessary to cast the void pointer returned
> from malloc or realloc, so I've removed those casts. Thanks for pointing
> that out. As far as the casts in the calls to free, they are all to
> avoid warnings about freeing pointers to const strings, so they can't be removed.
No, never mind, it's necessary to cast the pointers returned from malloc and realloc here because we add 1 to the pointer before …
[View More]assigning it to a variable. It's unusual but it works. Still, we could simplify this code a bit by only calling realloc.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3736#note_45138
[View Less]
These functions are used by Visual Studio 2019, when opening or converting some projects.
Signed-off-by: Lorenzo Ferrillo <lorenzofersteam(a)live.it>
--
v9: kernelbase: Check for PERF_SIZE_LARGE in PerfSetULongLongCounterValue and PerfSetULongCounterValue
https://gitlab.winehq.org/wine/wine/-/merge_requests/3799