Commit graph

163778 commits

Author SHA1 Message Date
Henri Verbeet 7f90c9d7eb vkd3d: Update the version information for release 1.7. 2023-04-20 22:55:56 +02:00
Piotr Caban 5ece770d37 wineps: Handle EMR_STRETCHDIBITS record in spool files. 2023-04-20 22:55:56 +02:00
Piotr Caban a3d1985ca8 wineps: Handle EMR_SETDIBITSTODEVICE record in spool files. 2023-04-20 22:55:56 +02:00
Piotr Caban 40c5790c55 wineps: Handle EMR_SELECTPALETTE record in spool files. 2023-04-20 22:55:56 +02:00
Piotr Caban 40fdf388cf wineps: Handle EMR_CREATEPALETTE record in spool files. 2023-04-20 22:55:56 +02:00
Piotr Caban 08386cd984 wineps: Clip visible rectangle to bitmap size in get_vis_rectangles. 2023-04-20 22:55:56 +02:00
Francois Gouget 4d3eb56e7c kernel32/tests: Fix the ScrollConsoleScreenBuffer() tests on Windows 10 1909.
On Windows 10 1909 ScrollConsoleScreenBufferA() returns an error if
the destination is not within the clip rectangle but still modifies the
console buffer as expected! So mark this behavior as very_broken().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54871
2023-04-20 22:55:56 +02:00
Francois Gouget c441ad6a4e wininet/tests: Add more proxy tests. 2023-04-20 09:47:30 +02:00
Francois Gouget e6ac3499a5 wininet: Add constants for DetectAutoProxyUrl(). 2023-04-20 09:47:28 +02:00
Connor McAdams cd9f3e5d05 uiautomationcore: Add normalization navigation to UiaGetUpdatedCache.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-04-19 22:00:48 +02:00
Connor McAdams f93bd3ff2c uiautomationcore: Implement conditional NavigateDirection_Parent navigation.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-04-19 22:00:48 +02:00
Connor McAdams b532f695c1 uiautomationcore: Implement IUIAutomation::GetRootElement.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-04-19 22:00:48 +02:00
Connor McAdams a97cdeaf20 uiautomationcore: Implement UiaGetRootNode.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-04-19 22:00:46 +02:00
Andrey Gusev af6d82613a dxgi: Update TRACE in dxgi_device_create_resource(). 2023-04-19 20:26:15 +02:00
Jinoh Kang 3268601dae kernelbase: Implement activation context switching for fibers. 2023-04-19 20:26:15 +02:00
Jinoh Kang 7c4eb574f0 ntdll: Implement RtlFreeActivationContextStack(). 2023-04-19 20:26:15 +02:00
Jinoh Kang 41a193c418 ntdll: Use ActivationContextStackPointer instead of referencing ActivationContextStack directly.
This allows changing the location of activation context stack if it
should be put somewhere else (e.g. inside the fiber structure).
2023-04-19 20:26:15 +02:00
Jinoh Kang 68e354f3e4 ntdll: Store current activation context stack pointer into a local variable.
This refactoring makes it easier to change the algorithm of obtaining
the current activation context stack.
2023-04-19 20:26:15 +02:00
Jinoh Kang 4dadf7a0de ntdll: Factor out reading current activation context into a helper function.
This refactoring makes it easier to change the algorithm of obtaining
the current activation context stack.

Note that RtlAddRefActivationContext(NULL) is a no-op, and
check_actctx(NULL) returns NULL without doing anything.
2023-04-19 20:26:15 +02:00
Jinoh Kang f7315ebe5b kernel32/tests: Test for activation context switching between fibers. 2023-04-19 20:26:15 +02:00
Alexandre Julliard 002d6a9475 zlib: Run source files through zlib2ansi to avoid K&R function definitions. 2023-04-19 20:26:15 +02:00
Alexandre Julliard 36203f1b86 include: Update the PEB and TEB structures.
According to Geoff Chappell's information.
2023-04-19 16:44:54 +02:00
Alexandre Julliard b7f6620c01 include: Add the ARM64EC context structure. 2023-04-19 14:31:00 +02:00
Francois Gouget d46f888123 dnsapi/tests: Make DnsQuery()'s CNAME tests more compatible with CDNs.
Depending on the DNS server, querying test.winehq.org may point to CDN
servers, resulting in more records than expected.
Also some of the CDN servers may have IPv6 addresses.
Dump the DNS records if $WINETEST_DEBUG > 1.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54847
2023-04-19 14:26:03 +02:00
Piotr Caban 0d95b82182 wineps: Add BiDi support in EMR_EXTTEXTOUTW record. 2023-04-19 14:19:46 +02:00
Piotr Caban 2df476c11f wineps: Handle EMR_EXTTEXTOUTW record in spool files. 2023-04-19 14:19:46 +02:00
Piotr Caban ac13b95020 wineps: Store text justification info in print processor data. 2023-04-19 14:19:46 +02:00
Piotr Caban f2f90fae67 wineps: Handle font selection in spool files. 2023-04-19 14:19:45 +02:00
Piotr Caban 16a8da44f1 wineps: Handle EMR_EXTCREATEFONTINDIRECTW record in spool files. 2023-04-19 14:19:45 +02:00
Piotr Caban a2c644a8f1 wineps: Set text and background color during device creation. 2023-04-19 14:19:45 +02:00
Piotr Caban c15add3210 wineps: Rename handle count parameter in hmf_proc. 2023-04-19 14:19:45 +02:00
Henri Verbeet 11fe071d51 wined3d: Implement shader_extract_from_dxbc() on top of vkd3d_shader_parse_dxbc(). 2023-04-19 14:19:31 +02:00
Stefan Dösinger 31cb8d8aa6 wined3d: Fall back to general layout if necessary.
If a texture is used as shader resource and DS/RT at the same time, including
cases where a different subresource is bound to each.

In theory this could be handled better, but would require per-subresource layout
tracking.
2023-04-19 14:19:22 +02:00
Stefan Dösinger 9d4e4e496f wined3d: Avoid VK_IMAGE_LAYOUT_GENERAL.
This improves GPU-side performance considerably by allowing the driver
to keep lossless texture compression enabled for textures that are used
as both render taget / depth stencil and shader resource.
2023-04-19 14:19:18 +02:00
Stefan Dösinger 75e82b77aa wined3d: Sync depth stencils to both early and late depth test.
We don't know which test the next draw will use when we place the
barrier. We may be able to figure this out, but it is not trivial.

This avoids a read-after-write hazard after the next patch. The layout
transition from shader-read-only to depth stencil needs to be finished
before the early depth test in a follow-up draw if this draw uses early
depth.
2023-04-19 14:19:16 +02:00
Stefan Dösinger 9e99c6f66d d3dx9/tests: Use __VA_ARGS__ instead of GCCs named variadics. 2023-04-18 21:33:17 +02:00
Stefan Dösinger 54890fe3c4 d3dx9: Use __VA_ARGS__ instead of GCCs named variadics.
MSVC doesn't support "name...".
2023-04-18 21:33:17 +02:00
Mohamad Al-Jaf 0b4dc016b9 include: Add windows.graphics.capture.interop.idl file.
Needed for PyWinRT.
2023-04-18 21:33:17 +02:00
Eric Pouech f01ce56a49 winedbg: Improve size management in watch command.
- support 8 byte targets
- default to CPU pointer size if size isn't present nor supported.
- detect unaligned requests

Signed-off-by: Eric Pouech <eric.pouech@codeweavers.com>
2023-04-18 18:18:19 +02:00
Eric Pouech adde76fabd winedbg: Simplify watch command implementation.
This also correctly initialize some lvalue.
Context of the bug has changed, but the underlying issue remained the same.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=39495
Signed-off-by: Eric Pouech <eric.pouech@codeweavers.com>
2023-04-18 18:18:16 +02:00
Eric Pouech 812b4b1ca3 dbghelp: Use source file path as stored in debug info format.
Currently, dbghelp returns the source file either:
- in DOS format when native module option isn't enabled
- as stored in debug info format otherwise

This used to work for PE modules inside ELF shared libraries but is broken
since evolution to REAL modules. This generates several issues:
- winedbg does not always set the native module option when calling dbghelp
  for source file related functions, leading to heterogenous output to user
- some dbghelp function rely on matching source paths, hence leading to
  errors in winedbg when mixing the two formats for the same source file.

Introduce a new Wine only dbghelp option to return the source paths as they
are stored inside debug information format, and activate it unconditionaly
inside winedbg.

This fixes some failure cases of command 'break <NN>' in winedbg.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-04-18 18:17:44 +02:00
Eric Pouech fd87ddfae7 winedbg: Let 'break symbol : line' command work again.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-04-18 18:17:44 +02:00
Alexandre Julliard fe693a7047 winedump: Dump hybrid metadata also for i386 CHPE modules. 2023-04-18 17:49:51 +02:00
Alexandre Julliard 6e348640c5 include: Add some CHPE definitions. 2023-04-18 17:49:23 +02:00
Zebediah Figura f19555c866 wined3d: Disable shaderTessellationAndGeometryPointSize. 2023-04-18 16:48:18 +02:00
Zebediah Figura f74de8e0ab ddraw: Retrieve the frontbuffer directly from wined3d. 2023-04-18 16:48:17 +02:00
Zebediah Figura 83518a6810 wined3d: Allow retrieving the frontbuffer from a wined3d swapchain.
For ddraw.
2023-04-18 16:48:17 +02:00
Martin Garton 0dda5753c5 msvcrt: Fix typo in #define. 2023-04-18 10:23:52 +02:00
Brendan Shanks 06011209d7 winemac: Don't constrain surface dimensions to the onscreen part of a window.
Fixes an issue where a window's image would be stretched as it was moved
further offscreen.
The offscreen part of a window also did not display correctly in Exposé.
2023-04-18 10:22:31 +02:00
Brendan Shanks 88a09dd334 winemac: Set the Cocoa window contentMaxSize to the size limits from constrain_window_frame(). 2023-04-18 10:22:31 +02:00