Commit Graph

151652 Commits

Author SHA1 Message Date
Eric Pouech 7bde153afe dbghelp/dwarf: Store line numbers and file info for inlined functions.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:28:19 +02:00
Eric Pouech 27f133732f dbghelp: Implement SymGetLineFromInlineContext(W) for inlined frame.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:28:14 +02:00
Eric Pouech 3d6b65dd38 dbghelp: In SymGetLine* family, compute displacement relative to line_info's address.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:28:02 +02:00
Eric Pouech 1c5989465e dbghelp: Make symt_add_func_line() last parameter an absolute address.
It used to be an offset to the start of function, but it's actually
stored as an absolute address afterwards. This avoids unnecessary
computations.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:27:41 +02:00
Eric Pouech 0187675065 dbghelp: Rename line_info's pc_offset field into address.
It's actually an absolute address.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:27:23 +02:00
Alistair Leslie-Hughes f26e0ba212 include: Define WMADecMediaObject.
The SDK headers have it defined in both places.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:27:01 +02:00
Alistair Leslie-Hughes fed2ca76c1 msdasql: Add IConvertType interface for ICommandText.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:26:08 +02:00
Alistair Leslie-Hughes d9e0dde2ca msdasql: Add IColumnsInfo interface for ICommandText.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:26:02 +02:00
Alistair Leslie-Hughes e18045a662 msdasql: Trace unsupported interfaces.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:25:51 +02:00
Alistair Leslie-Hughes 1bc19b0c40 msdasql: Add ICommandProperties interface to ICommandText.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:25:41 +02:00
Alistair Leslie-Hughes 067c0e91e3 msdasql: Implement IDBCreateCommand CreateCommand.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:25:21 +02:00
Rémi Bernon 75bccf99d1 server: Remove dr7 PTRACE_POKEUSER workaround.
It is needed for Linux Kernel version 4.18, and has been fixed in 4.19.

Also see https://bugzilla.kernel.org/show_bug.cgi?id=200965 for a more
detailed description of the regression and the fix.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46472
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:24:46 +02:00
Rémi Bernon 4db8cdc267 server: Clear dr7 before setting other registers.
Resetting their length to make sure we pass alignment checks both for
their current values and for the new values we'll write.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46472
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:24:42 +02:00
Nikolay Sivov 3d5f8b9869 d3d10/effect: Reduce duplication when releasing shader objects.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:22:46 +02:00
Nikolay Sivov 166babb2d1 d3d10/effect: Get rid of interface pointer casts in IsValid().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:22:44 +02:00
Nikolay Sivov e81ad39d87 d3d10/effect: Remove a cast in IsValid() for SRV variables.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 21:22:13 +02:00
Nikolay Sivov 3c1a02eb97 evr/presenter: Fix a crash when releasing partially initialized object.
This happens when presenter is unable to create d3d device.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 15:20:15 +02:00
Nikolay Sivov 8c0c3d296f evr/mixer: Implement stream rectangle scaling.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 15:20:13 +02:00
Nikolay Sivov 2095a4132f dxva2: Remove AYUV from accepted input formats.
It was added for completeness only, and it appears to be not universally
support on Windows via regular d3d9 API. DXVA might be using different path
to present video frames, but we don't make such distinction at the moment.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 15:20:11 +02:00
Rémi Bernon f0cd5c5c3c dinput: Move device data format to struct dinput_device.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 12:29:58 +02:00
Rémi Bernon 4e56801abd dinput: Rewrite and simplify user data format object matching.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 12:29:54 +02:00
Rémi Bernon 621af39c11 dinput: Use user object data format array to keep user offsets.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 12:29:49 +02:00
Alexandre Julliard 6677ba7834 ctapi32: Move libctapi.so interface to a separate Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:58:55 +02:00
Alexandre Julliard 85b063af4c capi2032: Move libcapi20.so interface to a separate Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:58:55 +02:00
Alexandre Julliard eab0f52e9b capi2032: Link directly to libcapi20.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:58:55 +02:00
Alexandre Julliard 1dd462b62c twain_32: Fix loading of TWAIN source modules.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:58:55 +02:00
Alexandre Julliard 8f70855f88 gphoto2.ds: Use the bundled libjpeg and build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:35:12 +02:00
Alexandre Julliard bbfbfd0869 gphoto2.ds: Move libgphoto2 handling to a separate Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:34:35 +02:00
Alexandre Julliard 929e2a54e3 configure: Disable gphoto2.ds if the needed Unix libraries are missing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:33:30 +02:00
Hans Leidekker 84a968abce secur32/tests: Add DTLS tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:29:12 +02:00
Hans Leidekker 6047409669 secur32: Fix error return for DTLS contexts in schan_InitializeSecurityContextW().
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:29:08 +02:00
Hans Leidekker c1993458ac secur32: Validate the context handle in schan_InitializeSecurityContextW().
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:29:06 +02:00
Hans Leidekker 96185c7e39 secur32: Clear expiry timestamp in schan_InitializeSecurityContextW().
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:29:04 +02:00
Hans Leidekker 5e8acd7a04 secur32/tests: Check supported DTLS protocols.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:29:02 +02:00
Hans Leidekker a2d8fe5597 secur32: Fix expected buffer size in trace message.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:29:00 +02:00
Nikolay Sivov ecd8fdfb38 combase: Clarify stream data format used by FT marshaler.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-29 09:24:54 +02:00
Alistair Leslie-Hughes e5f7a73c83 msdasql: Add IDBCreateCommand to session.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:31:17 +02:00
Alistair Leslie-Hughes 2f4e22d053 msdasql: Add ISessionProperties to session.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:31:06 +02:00
Alistair Leslie-Hughes 4ba940afaa msdasql: Add IOpenRowset support to session.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:30:58 +02:00
Alistair Leslie-Hughes 33563cf16f msdasql: Add IGetDataSource support to session.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:30:46 +02:00
Zebediah Figura bc52edc19d winegstreamer: Implement IWMSyncReader::GetOutputFormatCount().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:27:49 +02:00
Zebediah Figura b3655b5be5 winegstreamer: Implement IWMSyncReader::GetOutputFormat().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:27:46 +02:00
Zebediah Figura 95ffc87988 winegstreamer: Implement IWMOutputMediaProps::GetMediaType().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:27:42 +02:00
Zebediah Figura 0dc309ef6a winegstreamer: Implement IWMSyncReader::GetOutputProps().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:27:36 +02:00
Zebediah Figura 2594822212 winegstreamer: Implement IWMStreamConfig::GetStreamType().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:27:31 +02:00
Eric Pouech 232681da96 dbghelp: Implement SymSetScopeFromInlineContext for inlined frames.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 18:25:17 +02:00
Eric Pouech eee701ad52 dbghelp: Implement SymFromInlineContext for inlined frames.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 18:25:16 +02:00
Eric Pouech 82bac5d080 dbghelp: Implement StackWalkEx for inlined frames.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 18:25:16 +02:00
Eric Pouech fb34c82ef8 dbghelp/dwarf: Store each subrange for an inlined function.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 18:25:16 +02:00
Eric Pouech 690c2e51bf dbghelp/dwarf: Generate proper inline functions.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 18:25:16 +02:00