Commit Graph

154902 Commits

Author SHA1 Message Date
Jacek Caban c24326b8b6 user32: Use GetIconInfo in CopyIcon.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:31:42 +01:00
Jacek Caban 76f02eeb12 user32: Directly use NtUserGetIconInfo in GetIconInfo.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:31:42 +01:00
Jacek Caban 5b4a57dcc8 win32u: Move NtUserGetIconInfo implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:31:42 +01:00
Jacek Caban 0885c7cc5a win32u: Move NtUserGetCursorFrameInfo implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:31:42 +01:00
Jacek Caban 745b6a300a win32u/tests: Add cursor icon tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:31:42 +01:00
Jacek Caban 9e4be5467c win32u: Move NtUserGetIconSize implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:31:42 +01:00
Jacek Caban 744853fd56 win32u: Move NtUserSetCursor implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:31:42 +01:00
Nikolay Sivov 4f1853c576 comctl32/listview: Initialize subitem text buffer before drawing each subitem.
Notification handler for LVN_GETDISPINFO is not guaranteed to touch text buffer.
When it doesn't, it can lead to already queried text to be reused for subitems.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52583
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:31:41 +01:00
Alistair Leslie-Hughes f67bc47693 mfuuid: Add more schema CLSIDs.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:31:41 +01:00
Alistair Leslie-Hughes 4662dbd796 mfplat: Correctly calculate url scheme length.
When a url is passed in, for example "http://..."
We need to include the : in the scheme string not exclude it.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 17:28:46 +01:00
Rafał Harabień a3cd6220e4 user32/tests: Remove now unused TODO_COUNT in static tests.
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:55:59 +01:00
Rafał Harabień 9584e0d8e3 user32/tests: Fix invalidation in static control tests.
Rectangle used for invalidation was outside of windows rect of static
controls with SS_ETCHEDHORZ/SS_ETCHEDVERT style because they resize
after creation. Improve test by changing the invalidated rect and
add more details in comment about SS_ETCHEDHORZ/SS_ETCHEDVERT styles.

Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:55:51 +01:00
Rafał Harabień 9e0aa5ef81 user32: Send WM_CTLCOLORSTATIC for all static control types.
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:55:47 +01:00
Rafał Harabień a6faf54b16 user32: Fix handling of SS_ETCHEDHORZ/SS_ETCHEDVERT static control styles.
Instead of drawing the frame in WM_PAINT use WS_EX_STATICEDGE style that
adds the frame outside of the client rect and change control size after
creation to make it look like a line.

Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:54:39 +01:00
Rafał Harabień b52e0dc64a user32/tests: Check client rect in static control tests.
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:52:58 +01:00
Rafał Harabień 59e37ec4a1 user32/tests: Test static control exstyle.
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:52:53 +01:00
Rafał Harabień 281c536551 user32/tests: Add tests for more static control styles.
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:52:45 +01:00
Damjan Jovanovic fc4726c225 krnl386.exe: Fix VxD filename format checks in __wine_vxd_open().
__wine_vxd_open() has several bugs. If filenameW doesn't end in
".vxd", it is wrongly
allowed to be over 8 characters long. If it does end in ".vxd", then a
maximum length
filename, eg. "12345678.vxd", always gets misdetected as being too long, as:
"lstrlenW( filenameW ) >= ARRAY_SIZE(name) - 4"
becomes 12 >= 12.

Rather do the checks for maximum filename length when we detect the
filename format.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:34:51 +01:00
Alexandre Julliard bf8c5afef1 api-ms-*: Get rid of the apiset placeholder files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:23:53 +01:00
Alexandre Julliard 8c719c8919 apisetchema: Add some more misc apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:36 +01:00
Alexandre Julliard 5f4a17a639 apisetchema: Add some more comctl32 apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:36 +01:00
Alexandre Julliard e7af7b8ce7 apisetchema: Add some more winmm apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:35 +01:00
Alexandre Julliard 26cd2f7e76 apisetchema: Add some more shlwapi apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:35 +01:00
Alexandre Julliard 26c20f43ec apisetchema: Add some more shcore apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:35 +01:00
Alexandre Julliard 229e059d9b apisetchema: Add some more sechost apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:35 +01:00
Alexandre Julliard c625a28ac3 apisetchema: Add some more user32 apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:35 +01:00
Alexandre Julliard e0a27da528 apisetchema: Add some more gdi32 apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:35 +01:00
Alexandre Julliard 5f99dc164a apisetchema: Add some more advapi32 apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:35 +01:00
Alexandre Julliard f4d8da36e6 apisetchema: Add some more ole32 apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:35 +01:00
Alexandre Julliard 030f9018e4 apisetchema: Add some more combase apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:35 +01:00
Alexandre Julliard 48c6356072 apisetchema: Add some more kernel32 apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:35 +01:00
Alexandre Julliard c4d18c82c0 apisetchema: Add some more kernelbase apisets.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:20:35 +01:00
Eric Pouech f4e7d7b8e7 cryptui/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:26 +01:00
Eric Pouech 9aeb6d4198 cryptnet/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:26 +01:00
Eric Pouech c51ea8566b crypt32/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:26 +01:00
Eric Pouech cdc92a7bcb credui/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech 2021c98bad comsvcs/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech e240aeb757 comdlg32/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech cd4c58f588 comcat/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech 8c7d53a5b0 cabinet/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech ab27b548a5 avifil32/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech 4e1c7cd007 atl/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech 0c88eeee74 atl100/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech b2de0f43a3 apphelp/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech 78b6f417f9 amstream/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech 488505360e advpack/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech 339f4a3a70 advapi32/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech 63bcb0f609 adsldp/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech 45399c9c38 activeds/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00
Eric Pouech fb3b849321 winemapi: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:17:25 +01:00