Matteo Bruni
0c7090a1da
d3dx9/tests: Test D3DXAssembleShader() with both terminated and not terminated include data.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 11:43:26 +02:00
Rémi Bernon
90f766fa76
ntdll: Use next_block helper in heap_reallocate.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:50 +02:00
Rémi Bernon
39697a2c00
ntdll: Check that ptr is in committed blocks in find_subheap.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:50 +02:00
Rémi Bernon
8fc51f3c21
ntdll: Use next_block helper to iterate in heap_set_debug_flags.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:50 +02:00
Rémi Bernon
3001a2ff31
ntdll: Use block helpers to iterate blocks in heap_validate.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:50 +02:00
Rémi Bernon
06681774af
ntdll: Remove unused QUIET/NOISY constants and parameters.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:50 +02:00
Jacek Caban
c883822d2b
winemac: Directly use ntdll for registry access in copy_system_cursor_name.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:20 +02:00
Jacek Caban
7f7f9fa22c
winemac: Directly use ntdll for registry access in create_original_display_mode_descriptor.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:20 +02:00
Jacek Caban
85d4a9cd53
winemac: Directly use ntdll for registry access in write_display_settings.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:20 +02:00
Jacek Caban
6045ad5bcf
winemac: Directly use ntdll for registry access in init_original_display_mode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:20 +02:00
Jacek Caban
9b66a5397a
winemac: Directly use ntdll in get_display_device_reg_key.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:20 +02:00
Jacek Caban
e040731881
winemac: Directly use ntdll for display device mutex.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:20 +02:00
Jacek Caban
5c9eb1905c
winemac: Directly use ntdll to write display settings.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:19 +02:00
Jacek Caban
ffa7c40951
winemac: Directly use ntdll for querying display settings.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:19 +02:00
Jacek Caban
718db04398
winemac: Directly use ntdll in setup_options.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 10:23:19 +02:00
Paul Gofman
56d9ed83c1
rsaenh: Output FIXME when HMAC hash algorithm is not found.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Paul Gofman
06e125ab3a
rsaenh: Allow importing bigger RC2 keys.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Paul Gofman
0ce784300e
rsaenh: Factor out alloc_key() function.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Paul Gofman
4474004b88
rsaenh: Store key state in hash data for _MAC hash algorithm.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Paul Gofman
dc9ab100fd
rsaenh: Factor out block_encrypt() function.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Paul Gofman
6bb21c771b
rsaenh: Handle uneven hash data updates sizes for CALG_MAC.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Paul Gofman
cec9705008
rsaenh: Use CRT memory allocators.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Stefan Dösinger
d72942e907
wined3d: Make normalized format handling more generic in wined3d_format_convert_from_float.
...
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Stefan Dösinger
6cb0e8d025
wined3d: Mark some d3d9 formats as normalized formats.
...
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Stefan Dösinger
e8c9588e2a
wined3d: Support CPU clear of float16 formats.
...
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Stefan Dösinger
f637414446
wined3d: Add support for sysmem-clearing float32 formats.
...
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Stefan Dösinger
2465e1e1da
wined3d: Prepare wined3d_format_convert_from_float for > 32bpp formats.
...
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Chip Davis
ff80861b4f
d3d11: Implement ID3D11Device1::CreateBlendState1().
...
Signed-off-by: Chip Davis <cdavis5x@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Chip Davis
5bdccb53ad
d3d11/tests: Test logic op.
...
Signed-off-by: Chip Davis <cdavis5x@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Gabriel Ivăncescu
2e9d086b04
jscript: Pass undefined 'this' instead of null in ES5 mode.
...
Based on the spec (ECMA-262 5.1 Edition 11.2.3.7), whereas the ES3 spec
says it gets replaced with null.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Gabriel Ivăncescu
5007c4d72f
jscript: Handle detached scope objects 'this' in all calls.
...
Not just for interpreted functions.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Zebediah Figura
bb791a7dd0
dinput: Allocate the dinput_device structure in the caller to dinput_device_alloc().
...
Rename it to dinput_device_init() accordingly.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Rémi Bernon
c6011504a4
dinput: Rename This to device in dinput_device_alloc.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Rémi Bernon
10b00e66bc
dinput: Return an HRESULT from hid_joystick_device_try_open.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Zebediah Figura
ac7fa1677a
dinput: Return E_OUTOFMEMORY on allocation failure in hid_joystick_create_device().
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Zebediah Figura
dd5f3b6fc1
dinput: Rename dinput_device_init() to dinput_device_init_device_format().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Zebediah Figura
cc5178fe73
dinput: Factor out the dinput_device_init() call into dinput7_CreateDeviceEx().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Rémi Bernon
39f903481c
dinput: Store the user_format field inline in struct dinput_device.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Zebediah Figura
34bb223715
dinput: Store the device_format field inline in struct dinput_device.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Rémi Bernon
eb923466f1
winexinput.sys: Clear the buffer passed to IOCTL_HID_GET_DEVICE_DESCRIPTOR.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Rémi Bernon
b83f97dffc
hidclass.sys: Clear the buffer passed to IOCTL_HID_GET_DEVICE_DESCRIPTOR.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Nikolay Sivov
bae687ec6b
vbscript: Implement DateSerial().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Rémi Bernon
279a6b1e48
ntdll: Simplify validate_free_block.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Rémi Bernon
12d611a03b
ntdll: Simplify validate_used_block.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Rémi Bernon
6ab0200119
ntdll: Simplify validate_large_arena.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Rémi Bernon
585f52231d
ntdll: Simplify validate_block_pointer.
...
And rename it to unsafe_block_from_ptr.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Rémi Bernon
13c836626d
ntdll: Use heap_validate_ptr in validate_block_pointer.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Martin Storsjö
ce4fdb1517
msvcrt: Hook up __C_specific_handler and __jump_unwind for arm.
...
This was set up for arm in ntdll and ucrtbase in
3ef9a04f91
, but msvcrt was missed.
Also hook them up similarly in msvcr110, msvcr120 and msvcr120_app.
Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Jacek Caban
e2d79b395d
user32: Remove no longer used WINPOS_WindowFromPoint.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Jacek Caban
781b954424
win32u: Handle sys color brushes in fill_rect.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53004
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00