Rémi Bernon
b89c9c60d5
win32u: Move desktop resize on WM_DISPLAYCHANGE out of the drivers.
2024-06-04 22:25:12 +02:00
Rémi Bernon
0a2ae3c41d
win32u: Send display change messages when host display mode changes.
...
Similarly to when it is changed from an application call, but avoid
broadcasting WM_DISPLAYCHANGE to all windows when called from the
drivers, as we may have done it already.
2024-06-04 22:25:09 +02:00
Rémi Bernon
e54bb48eb8
win32u: Fix a restorer_str typo.
2024-06-04 22:25:09 +02:00
Rémi Bernon
d49cf1021b
winemac: Merge RESET_DEVICE_METRICS and DISPLAYCHANGE internal messages.
2024-06-04 22:25:08 +02:00
Jacek Caban
7cb0b66eb7
mshtml: Use DispatchEx for exposing document node IDispatchEx interface.
2024-06-04 22:22:01 +02:00
Jacek Caban
0856706071
mshtml: Use DISPEX_IDISPATCH_IMPL macro for document object implementation.
2024-06-04 22:22:01 +02:00
Jacek Caban
88a06f18b4
mshtml: Use DispatchEx for document node InvokeEx implementation.
2024-06-04 22:22:01 +02:00
Jacek Caban
af86139fa4
mshtml: Use DispatchEx vtbl for document node GetDispID implementation.
2024-06-04 22:22:01 +02:00
Elizabeth Figura
fd904eb19c
wined3d: Update multisample state when the sample count changes.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56591
2024-06-04 22:22:01 +02:00
Rémi Bernon
d2372d60f0
win32u: Get rid of move_window_bits_parent, using move_window_bits.
2024-06-04 22:22:01 +02:00
Rémi Bernon
fae4046694
win32u: Don't map points to the parent window in move_window_bits_parent.
...
We now use NtGdiStretchBlt, and the valid rects are relative to the
window rect, not the parent.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56766
2024-06-04 22:22:01 +02:00
Rémi Bernon
feff510717
win32u: Use a dedicated helper to move bits from a previous surface.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56766
2024-06-04 22:22:01 +02:00
Rémi Bernon
09b9c1b5fe
win32u: Restore surface rect, which may offsetted from the window rect.
...
Some drivers only create surfaces over the visible part of the window,
and the surface rect has an offset.
Fixes a regression from 5d0efbcc6e
, which
causes XSHM errors with partially offscreen windows.
2024-06-04 22:22:01 +02:00
Hans Leidekker
e39a973778
ntdll: Provide fallback values for DMI fields only readable by root.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56744
2024-06-04 22:22:01 +02:00
Eric Pouech
1890a3de3f
cmd: Separate IF command parsing from execution.
...
Introducting CMD_IF_CONDITION to hold IF condition.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-04 22:22:01 +02:00
Eric Pouech
5388414923
cmd: Let errorlevel be a signed integer.
...
Manual testing show that native reports errorlevel as a signed
entity.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-04 22:22:01 +02:00
Eric Pouech
855642d565
cmd: Create helper to execute a command.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-04 22:22:01 +02:00
Eric Pouech
a899caac7b
cmd: Introduce structure CMD_REDIRECTION.
...
This structure will hold information for a redirection, and
can be chained in a list when multiple redirections are listed.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-04 22:22:01 +02:00
Eric Pouech
18d8c6fe52
cmd: Introduce a helper to set std handles.
...
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-04 22:22:01 +02:00
Alexandre Julliard
bc76e9cfe0
msvcrt: Consistently use the rtti_rva() helper.
2024-06-04 13:35:30 +02:00
Alexandre Julliard
b8edf6d920
msvcrt: Share the common part of _fpieee_flt between platforms.
2024-06-04 13:13:31 +02:00
Alexandre Julliard
8f2d3e8396
msvcrt: Share the __CxxExceptionFilter implementation between platforms.
2024-06-04 13:13:20 +02:00
Alexandre Julliard
91fab73309
msvcrt: Use the copy_exception() helper in __CxxExceptionFilter.
2024-06-04 11:54:14 +02:00
Elizabeth Figura
325c365786
include: Add more types to windows.networking.connectivity.idl.
...
Based on a patch by Alistair Leslie-Hughes.
2024-06-04 09:49:45 +02:00
Rémi Bernon
b6abacbb7b
win32u: Create a HBITMAP backing the window surface pixels.
2024-06-03 23:25:00 +02:00
Rémi Bernon
6ace92e0ca
winex11: Create a HBITMAP for the allocated surface pixels.
2024-06-03 23:24:59 +02:00
Rémi Bernon
cacafddea2
winex11: Create XImage before initializing the window surface.
2024-06-03 23:24:59 +02:00
Rémi Bernon
d9aa239c43
winex11: Simplify the XSHM extension function calls.
2024-06-03 23:24:59 +02:00
Rémi Bernon
444436abfd
win32u: Pass BITMAPINFO and a HBITMAP to window_surface_init.
2024-06-03 23:24:59 +02:00
Rémi Bernon
3c7dc5f132
win32u: Move the window surface color bits to the common struct.
2024-06-03 23:24:59 +02:00
Hans Leidekker
cd780fe609
wmic: Add csproduct and systemenclosure aliases.
2024-06-03 23:24:59 +02:00
Hans Leidekker
a293b2f23a
wmic: Sort the alias list.
2024-06-03 23:24:59 +02:00
Danyil Blyschak
a3e33d40a8
wineps.drv: Call ResetDCW() to update Devmode in the Unix interface.
...
Previously, PSDRV_ResetDC() only updated the devmode contained in the
print context, which could cause the devmode in the unix interface to be
inconsistent with the print context's devmode. This can cause problems
later when PostScript is being outputted, as get_device_caps() in the
unix interface would reference this inconsistent devmode. By calling
ResetDCW() in PSDRV_ResetDC(), these two devmodes remain in-sync.
2024-06-03 23:24:59 +02:00
Connor McAdams
242be50f01
d3dx9: Use d3dx_load_pixels_from_pixels() in D3DXLoadVolumeFromMemory().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Connor McAdams
3241270b85
d3dx9: Use d3dx_pixels structure in decompression helper function.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Connor McAdams
4a98510663
d3dx9: Introduce d3dx_load_pixels_from_pixels() helper function.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Connor McAdams
5473dd6963
d3dx9: Use d3dx_image structure in D3DXLoadSurfaceFromFileInMemory().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Connor McAdams
4e83d4a49f
d3dx9: Introduce d3dx_image structure for use in D3DXGetImageInfoFromFileInMemory().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Connor McAdams
a034bf0c7b
d3dx9: Refactor WIC image info retrieval code in D3DXGetImageInfoFromFileInMemory().
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Connor McAdams
b81b72765a
d3dx9: Refactor WIC GUID to D3DXIMAGE_FILEFORMAT conversion code.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-03 23:24:59 +02:00
Benjamin Mayes
dcb5c97d02
windowscodecs: Add conversions from PixelFormat32bppBGRA->PixelFormat16bppBGRA5551.
2024-06-03 23:24:59 +02:00
Mohamad Al-Jaf
6070536f17
coremessaging: Add CreateDispatcherQueueController() stub.
...
Needed by Photoshop 2024.
2024-06-03 23:24:59 +02:00
Mohamad Al-Jaf
05ff16ebb6
include: Add dispatcherqueue.idl file.
2024-06-03 23:24:59 +02:00
Rémi Bernon
ee908ad076
widl: Use mangled namespace names in typedef pointer types.
2024-06-03 23:24:59 +02:00
Mohamad Al-Jaf
c0878d7f95
coremessaging: Add stub DLL.
...
Needed by Photoshop 2024.
2024-06-03 23:24:59 +02:00
Elizabeth Figura
93d50fd9de
widl: Do not write type definitions for types defined in an imported header.
...
midl does not, and this would result in redefinition errors.
An equivalent (and arguably a bit more declarative) way to do this would be to
keep track in the parser whether a type or typedef statement is actually a
definition or not, and record that information in the statement_t. However, this
would require passing additional information alongside the type_t from each
relevant bison rule, which would thrash a lot of code.
2024-06-03 23:24:59 +02:00
Elizabeth Figura
1db2eaf0b3
widl: Update the type location in define_type().
...
This improves error reporting for the following IDL:
interface apple;
[uuid(12345678-1234-1234-1234-123456654321)]
interface apple {void func(void);}
[uuid(12345678-1234-1234-1234-123456654321)]
interface apple {void func(void);}
Previously widl would report:
test2.idl:19:34: error: type apple already defined at test2.idl:2
This changes it to refer to line 5, where the interface is actually defined.
2024-06-03 23:24:59 +02:00
Elizabeth Figura
1522d7b727
widl: Factor out a define_type() helper.
2024-06-03 23:24:59 +02:00
Elizabeth Figura
da8d81c63d
widl: Invert "declonly".
...
This makes the logic around it a bit simpler, and I find it easier to understand as well.
2024-06-03 23:24:59 +02:00
Elizabeth Figura
9839a0d68d
widl: Allow using UDTs with the keyword even when the identifier is also a typedef.
...
E.g. in cases like
typedef int apple;
struct apple { ... };
allow subsequently using "struct apple" in future expressions.
Note that this already worked for UDT definitions (so the above example by
itself was legal in widl), but any attempt to use the defined type would result
in a syntax error.
2024-06-03 23:24:59 +02:00