Commit graph

159854 commits

Author SHA1 Message Date
Rémi Bernon 45598d76e4 winegstreamer: Factor wm reader sample allocator error checks. 2022-09-29 12:35:47 +02:00
Rémi Bernon 42e98094a3 wmvcore/tests: Test IWMReaderAllocatorEx usage and parameters. 2022-09-29 12:35:47 +02:00
Rémi Bernon 0c51f462a7 wmvcore/tests: Test IWMSyncReader2_(Get|Set)AllocateFor(Output|Stream). 2022-09-29 12:35:45 +02:00
Francois Gouget 8bfb1ecf25 tests: Print unhandled exception messages in colour.
Note that quite often the unhandled exception messages actually come
from Windows or Wine and these cannot be colorized.
2022-09-28 21:43:44 +02:00
Paul Gofman a58c625187 msi: Disable FS redirection for temporary file in cabinet_copy_file(). 2022-09-28 21:23:16 +02:00
Alex Henrie 1be02b2b60 winegstreamer: Fix memory leak in get_available_media_type (Coverity). 2022-09-28 21:23:11 +02:00
Jacek Caban 1f1713b07e winevulkan: Separate 32-bit and 64-bit conversion functions. 2022-09-28 15:39:14 +02:00
Jacek Caban c39a71e3cd winevulkan: Pass VkVariable to ConversionFunction constructor. 2022-09-28 15:39:12 +02:00
Alexandre Julliard fe7df46118 gdiplus: Get the compositing mode directly from the graphics object.
GdipGetCompositingMode() fails when the object is busy, which happens
when flushing changes in GdipReleaseDC().

Fixes a test crash on Gitlab CI.
2022-09-28 15:39:04 +02:00
Alexandre Julliard 967c39fa51 wmvcore/tests: Reduce the number of printed todos. 2022-09-28 15:39:04 +02:00
Eric Pouech 1c5eadb482 dbghelp: Improve de-duping global symbols information (PDB).
We have dups in global / file static variables definition:
- between compiland stream and global (DBI) stream
  (we need to de-dup these)
- still adding variables only present global DBI stream
- keeping in mind, we need to keep:
  + two variables of different names at same address (aliasing)
  + variables of same name at different addresses
    (MS linker generate those)

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-28 15:28:58 +02:00
Eric Pouech 908004c3a9 dbghelp: Don't load invalid records for global symbol stream.
Only load records that are listed in global hash file when handling
the global symbol stream.
Do the same thing for the public symbols.

When using MS linker in incremental mode:
- old variable definitions are kept in the (DBI) global symbol stream
  along side the new definition
- but only the latest (valid) definition is referenced from the hash
  table

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-28 15:28:56 +02:00
Eric Pouech 108cd66933 dbghelp: Fix variable storage information (Dwarf).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-28 15:28:56 +02:00
Eric Pouech 0e345d6c43 dbghelp: Fix container for global variables (Dwarf).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-28 15:28:56 +02:00
Eric Pouech a523361b10 dbghelp: Add support for static variables at function scope (PDB).
These should be stored in function's children vector.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-28 15:28:53 +02:00
Zebediah Figura e654b631f2 widl: Generate "static inline" instead of "static FORCEINLINE" for COM inline wrappers.
mingw-w64 defines __forceinline (and therefore FORCEINLINE) as
"extern __inline__ __attribute__((__always_inline__,__gnu_inline__)). This means
that COM inline wrappers specify multiple storage classes and hence cannot be
compiled.

Wine defines FORCEINLINE simply as "inline" (and uses "static" everywhere), so
this is a non-issue for Wine. However, since Wine and mingw-w64 share the source
code of widl and of most IDL headers, this patch changes the definition for both
projects.

There's no reason to force inlining here, especially since the wrappers need to
be manually enabled, and we don't need to match PSDK semantics where these
wrappers don't even exist.

In practice, use "__inline__" instead of "inline" for GNU C targets, to preserve
compatibility with C89 in mingw-w64 headers.
2022-09-28 15:27:51 +02:00
Paul Gofman cb87c14fec winex11.drv: Do not skip taskbar and pager for app window. 2022-09-28 15:14:25 +02:00
Eric Pouech a014f19bdd winedump: Dump PDB public symbols' stream.
Add relevant structures to include/mscvpdb.h.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-27 18:29:34 +02:00
Eric Pouech 805ffc8adb winedump: Dump global hash table out of PDB symbols' stream.
Introduce relevant structures in include/wine/msvcpdb.h.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-27 18:29:27 +02:00
Jacek Caban 26dce2480a winevulkan: Always use params to return Unix thunks result. 2022-09-27 18:25:01 +02:00
Eric Pouech 6b1f051513 krnl386.exe16: Don't pass NULL to printf/%s).
GCC12.2 emits a warning here.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-27 18:14:34 +02:00
Zebediah Figura 1316383268 ddraw: Add FPS tracing in ddraw_surface_update_frontbuffer().
This usually doesn't go through the normal presentation paths.
2022-09-27 18:14:34 +02:00
Zebediah Figura 5f1cbb1b85 d3d9: Use a separate draw texture for managed resources.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52954
2022-09-27 18:14:34 +02:00
Zebediah Figura 2091bb34c2 d3d9: Add reference counting helpers for textures. 2022-09-27 18:14:33 +02:00
Zebediah Figura d5bb570542 d3d9: Introduce a d3d9_texture_preload() helper. 2022-09-27 18:14:33 +02:00
Zebediah Figura 46c9897bdf d3d9: Factor out d3d9_texture_init(). 2022-09-27 18:14:33 +02:00
Brendan Shanks a2c03e2356 wined3d: Set name of internal threads. 2022-09-27 18:14:33 +02:00
Brendan Shanks 746ad6f76e wininet: Set thread name for collect_connections_proc. 2022-09-27 18:14:33 +02:00
Alexandre Julliard 9c5b2bd62c gitlab: Run the full test suite on merge requests. 2022-09-27 18:14:33 +02:00
Alexandre Julliard 5811f5f29e vkd3d: Update version number. 2022-09-27 10:43:47 +02:00
Alexandre Julliard dbaa642717 Revert "oleaut32/tests: Get_test_recordinfo shouldn't point into a specific VARIANT.".
This reverts commit 27f417eb93.
It breaks the tests.
2022-09-27 09:16:16 +02:00
Alexandre Julliard 02ce1008b7 Revert "oleaut32: Dereference VT_RECORD|VT_BYREF in place.".
This reverts commit 28e0d8ff3b.
It breaks the tests.
2022-09-27 09:16:05 +02:00
Rémi Bernon 2a4ec7dafc winegstreamer: Use IWMSyncReader2_GetOutputCount in the async reader. 2022-09-26 21:49:54 +02:00
Rémi Bernon 0f6f105cc0 winegstreamer: Use IWMSyncReader2_SetStreamsSelected in the async reader. 2022-09-26 21:49:54 +02:00
Rémi Bernon 54843124d9 winegstreamer: Use IWMSyncReader2_GetStreamSelected in the async reader. 2022-09-26 21:49:54 +02:00
Rémi Bernon 08effb9046 winegstreamer: Use IWMSyncReader2_GetOutputFormatCount in the async reader. 2022-09-26 21:49:54 +02:00
Rémi Bernon 0dfeadd766 winegstreamer: Use IWMSyncReader2_GetOutputFormat in the async reader. 2022-09-26 21:49:54 +02:00
Rémi Bernon efb6aca850 winegstreamer: Use IWMSyncReader2_SetOutputProps in the async reader. 2022-09-26 21:49:54 +02:00
Rémi Bernon 6070192528 winegstreamer: Use IWMSyncReader2_GetOutputProps in the async reader. 2022-09-26 21:49:54 +02:00
Rémi Bernon 64ee5529e1 winegstreamer: Use IWMSyncReader2_GetMaxStreamSampleSize in the async reader. 2022-09-26 21:49:54 +02:00
Eric Pouech 25108ba266 dbghelp: Fix local scope reset upon module unloading.
Change strategy for resetting local scope when unloading a module.
Old strategy was keeping the local scoped symbol alive on some code path when
unloading a module.
This caused some bad behavior as we kept a pointer to a deleted object.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-26 21:49:54 +02:00
Floris Renaud d0204fea67 po: Update Dutch translation. 2022-09-26 21:49:54 +02:00
Zhiyi Zhang e3c0f6b3ce vulkan-1/tests: Fix test failures on llvmpipe.
This happens because the llvmpipe virtual GPU is not in the RandR provider list
when there is a hardware GPU driving the screen. So LUID for the llvmpipe is
not generated in such cases.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52931
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-09-26 21:49:54 +02:00
Brendan Shanks 3f0166fa89 rpcrt4: Set the name of internal threads. 2022-09-26 21:49:54 +02:00
Brendan Shanks fa8e36fafa ntdll: Set the name of internal thread pool threads. 2022-09-26 21:49:54 +02:00
Alexandre Julliard c3025582fd vkd3d: Import upstream release 1.5. 2022-09-26 21:49:54 +02:00
Alexandre Julliard c738be12e1 quartz/tests: Mark some tests as flaky. 2022-09-26 21:49:54 +02:00
Alexandre Julliard 48f99c4145 dinput/tests: Mark a mouse input test as flaky. 2022-09-26 21:49:54 +02:00
Alexandre Julliard 2742660e08 mmdevapi/tests: Mark some capture tests as flaky. 2022-09-26 21:49:54 +02:00
Alexandre Julliard 3af6ececec user32/tests: Mark some input tests as flaky. 2022-09-26 21:49:54 +02:00