Commit graph

171242 commits

Author SHA1 Message Date
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
Elizabeth Figura 07243c4e12 widl: Assign to the right location variable.
yyloc is an internal variable; we want to assign to yylloc here.

This fixes error reporting.

Fixes: 3b12583db0
2024-06-03 23:24:59 +02:00
Alexandre Julliard d85ba60371 msvcrt: Don't use rva_to_ptr() for non-RVA values. 2024-06-03 23:24:59 +02:00
Alexandre Julliard 1f7333f1ae msvcrt: Fix the ip_to_state() helper for out of bounds values. 2024-06-03 23:24:59 +02:00
Alexandre Julliard df09103ab6 msvcrt: Share the dump_function_descr() helper between platforms. 2024-06-03 14:10:02 +02:00
Alexandre Julliard e7546542ab msvcrt: Share a helper macro to print an exception type. 2024-06-03 14:08:00 +02:00
Alexandre Julliard 41c65022c1 faudio: Import upstream release 24.06. 2024-06-02 22:04:47 +02:00
Alexandre Julliard 951e0e27a7 Release 9.10. 2024-05-31 22:33:46 +02:00
Fabian Maurer d919d57293 user32/tests: Fix ok_sequence succeeding in todo block not giving a test failure. 2024-05-31 21:05:40 +02:00
Alexandros Frantzis d38d455c4b server: Set VK_PACKET async state in raw input legacy mode. 2024-05-31 19:05:58 +02:00
Alexandros Frantzis 713ffad893 user32/tests: Check async key state in raw nolegacy tests. 2024-05-31 19:05:55 +02:00
Alexandros Frantzis 69aad4aeca server: Don't send raw input events for unicode inputs. 2024-05-31 19:05:55 +02:00
Alexandros Frantzis d14a827b8c server: Apply modifier vkey transformations regardless of unicode flag. 2024-05-31 19:05:55 +02:00
Alexandros Frantzis d0e3286d96 server: Use right-left modifier vkeys for hooks. 2024-05-31 19:05:55 +02:00
Alexandros Frantzis 2e0facb19c user32/tests: Add tests for raw keyboard messages. 2024-05-31 19:05:52 +02:00
Alexandros Frantzis e382867599 user32/tests: Add more test for unicode input with vkey. 2024-05-31 19:05:49 +02:00
Eric Pouech 95e6302e82 winedump: Dump Memory64List streams in minidumps.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-31 19:04:26 +02:00