Commit graph

68423 commits

Author SHA1 Message Date
Giannis Adamopoulos 971c0bc040 [COMCTL32_APITEST] -Add a couple more tests.
svn path=/trunk/; revision=74147
2017-03-11 13:23:49 +00:00
Giannis Adamopoulos ec2450447a [COMCTL32_APITEST] -Add tests for the BST_HOT state.
svn path=/trunk/; revision=74146
2017-03-10 22:46:35 +00:00
Giannis Adamopoulos 7e6dc5a06d [COMCTL32_APITEST] -Get rid of some hardcoded values.
svn path=/trunk/; revision=74145
2017-03-10 22:17:26 +00:00
Giannis Adamopoulos 0feb059c77 [UXTHEME] -Add tests for SetWindowTheme to test the behavior that was changed in r74038.
svn path=/trunk/; revision=74144
2017-03-10 17:56:18 +00:00
Sebastian Gasiorek 0b0e9bd364 [DXG] Implement DdAllocateObject, DdFreeObject, DdGetFreeHandle, DdHmgAlloc, DdHmgFree CORE-4490
svn path=/trunk/; revision=74143
2017-03-10 17:51:20 +00:00
Sebastian Gasiorek c6af963e8d [NTUSER] Lock before getting DesktopDC. Fixes crash during loading DirectX CORE-7733
svn path=/trunk/; revision=74142
2017-03-10 16:33:45 +00:00
Giannis Adamopoulos 29bf877001 [COMCTL32] -Add lots of tests for the messages that are sent when the button is painted due to the mouse entering and leaving the button.
svn path=/trunk/; revision=74141
2017-03-10 15:32:32 +00:00
Hermès Bélusca-Maïto baa9ecf7e8 [SYSSETUP]: Translations update.
svn path=/trunk/; revision=74140
2017-03-09 23:08:39 +00:00
Hermès Bélusca-Maïto 4f6e241a71 [NETSHELL]: Fix the height of some dialog boxes.
svn path=/trunk/; revision=74139
2017-03-09 22:42:29 +00:00
Hermès Bélusca-Maïto 6073c0f854 [NETSHELL][SYSSETUP]: Revert r74134 as it's not the correct fix for what I wanted to improve.
svn path=/trunk/; revision=74138
2017-03-09 22:39:26 +00:00
Sebastian Gasiorek 5f624ba435 [WIN32SS] Allocate memory for EDD_DIRECTDRAW_GLOBAL while creating PDEV (partially fixes CORE-7733)
[SDK] Update EDD_DIRECTDRAW_GLOBAL structure

svn path=/trunk/; revision=74137
2017-03-09 21:03:47 +00:00
Hermès Bélusca-Maïto b1b42795a9 [COMCTL32]: comctl32/propsheet: Diverse UI fixes:
- Draw static text elements with a transparent background, so that they acquire the correct background color of the wizard window.
- Modify the check for the header bitmap, as the header's hbmHeader is initialized also if the flag PSH_HEADER but not PSH_USEHBMHEADER is set (see function PROPSHEET_LoadWizardBitmaps).
- Add a check for header's hbmWatermark so that the watermark is drawn only when a valid bitmap handle is present.
- Fix a copy-pasta error when drawing the header's subtitle.

CORE-12912 #comment Patch for the wizard visual problem sent upstream.
CORE-12823

svn path=/trunk/; revision=74136
2017-03-09 20:30:16 +00:00
Hermès Bélusca-Maïto 5ea4ffbcaf [i8042prt]: Add yet another Dell Latitude hack, (for D810 this time). These Dell laptops undeniably have a peculiar init way that our driver doesn't support naturally.
CORE-12899

svn path=/trunk/; revision=74135
2017-03-09 16:43:25 +00:00
Hermès Bélusca-Maïto 94a9d5ba0b [NETSHELL][SYSSETUP]: Enlarge a bit the height of the setup wizard pages, to not have the bottom text cropped. Fixes the appearance of them when being run from Windows.
svn path=/trunk/; revision=74134
2017-03-09 16:39:43 +00:00
Eric Kohl 4358ac07a7 [NTOS:OB]
Replace calls to ExFreePool by calls to ExFreePoolWithTag.

svn path=/trunk/; revision=74132
2017-03-08 22:27:06 +00:00
Eric Kohl 5383e90959 [SHUTDOWN]
shutdown -t causes crash
Patch by Michael Fritscher.
CORE-12886 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=74131
2017-03-08 22:22:21 +00:00
Giannis Adamopoulos 48c9363c36 [UXTHEME_APITEST] -Add a test to show that CloseThemeData doesn't use exception handling.
svn path=/trunk/; revision=74128
2017-03-08 15:15:19 +00:00
Giannis Adamopoulos 5855a53b74 [UXTHEME] -Fix most new tests for DrawThemeParentBackground. Hackfix CloseThemeData.
svn path=/trunk/; revision=74127
2017-03-08 15:08:56 +00:00
Giannis Adamopoulos 761c932726 [UXTHEME_APITEST] -Add one more test for DrawThemeParentBackground.
svn path=/trunk/; revision=74126
2017-03-08 14:54:02 +00:00
Giannis Adamopoulos eb86e8afd5 [UXTHEME_APITEST] -Add more tests for DrawThemeParentBackground.
svn path=/trunk/; revision=74125
2017-03-08 14:46:36 +00:00
Giannis Adamopoulos 93bbc9d548 [USER32_APITEST] -Move the helper functions in the common include directory
[UXTHEME_APITEST] -Use the helper functions to test the messages sent by DrawThemeParentBackground

svn path=/trunk/; revision=74123
2017-03-07 22:29:48 +00:00
Giannis Adamopoulos f7b5561d60 [COMCTL32] -Buttons with the BS_PUSHLIKE style are drawn as if they were BS_PUSHBUTTON. Fixes the appearance of buttons in the advanced appearance dialog.
svn path=/trunk/; revision=74120
2017-03-06 21:57:10 +00:00
Hermès Bélusca-Maïto f606ee89dd [KERNEL32]: Check for NULL pointer specified to lstrlenA/W and return null length, as specified in the MSDN doc and checked by the tests of r74118.
This should remove the unwanted 1st-chance exceptions caught when debugging Office 2010 installation, that calls from time to time lstrlen with NULL pointers.

svn path=/trunk/; revision=74119
2017-03-06 19:17:53 +00:00
Hermès Bélusca-Maïto c5dde308bf [KERNEL32_APITEST]: Add basic tests for lstrlenA/W, focusing on its special handling of the NULL pointer.
We detect that the NULL pointer is handled separately because no exception is generated, contrary to when the function is called with truly invalid pointers.
I thank Mark for having mentioned the vectored exception handling to me, needed to catch first-chance exceptions.

svn path=/trunk/; revision=74118
2017-03-06 19:14:27 +00:00
Hermès Bélusca-Maïto 80db48ee6f [PSDK][NDK]: Add AddVectoredContinueHandler, RemoveVectoredContinueHandler, and RtlRemoveVectoredExceptionHandler, RtlAddVectoredContinueHandler and RtlRemoveVectoredContinueHandler to our headers.
svn path=/trunk/; revision=74117
2017-03-06 19:04:17 +00:00
James Tabor e0eab0e64c [NtUser]
- Remove scroll bar search that sends another WM_NCCALCSIZE message. Use wine as an example. See CORE-12827.

svn path=/trunk/; revision=74116
2017-03-06 18:28:03 +00:00
Colin Finck 8e993c1a64 [MKISOFS]
Update mkisofs to schily-2017-02-16, which comes with the following fixes:
- Fix null termination in libschily's Win32 implementation of opendir (submitted upstream by me).
  The bug was triggered when building an ISO from a directory instead of a graft-points (.lst) file.
- Prevent -duplicates-once from being used together with -cache-inodes. These options exclude each other.

svn path=/trunk/; revision=74112
2017-03-05 22:54:33 +00:00
Amine Khaldi bb24e3a5e4 [OLEAUT32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
svn path=/trunk/; revision=74111
2017-03-05 21:51:44 +00:00
Amine Khaldi 8a80051169 [OLEAUT32] Sync with Wine Staging 2.2. CORE-12823
43c59f0 oleaut32: Accept DISP_E_PARAMNOTFOUND for missing optional parameters in ITypeInfo::Invoke implementation. (v3)
a4f9840 oleaut32: Fix calling function with instance and VARIANT return type. (v2)
78ee7f5 oleaut32: Standardize the heap_xxx() functions.
9e54ae7 oleaut32: Return proper interface pointers.
655af6d oleaut32: Fix OleTranslateColor spec file entry.

svn path=/trunk/; revision=74110
2017-03-05 21:50:37 +00:00
Amine Khaldi b400ac7ae6 [RICHED20_WINETEST] Sync with Wine Staging 2.2. CORE-12823
svn path=/trunk/; revision=74109
2017-03-05 21:44:19 +00:00
Amine Khaldi a142fcc929 [RICHED20] Sync with Wine Staging 2.2. CORE-12823
440b921 riched20: Return proper interface pointers.
e63cea5 riched20: A spelling fix in a comment.
9f37f6a riched20: Check for NULL in fnTextSrv_TxSetText and add test.

svn path=/trunk/; revision=74108
2017-03-05 21:43:39 +00:00
Amine Khaldi e007edf028 [INETCOMM_WINETEST] Sync with Wine Staging 2.2. CORE-12823
svn path=/trunk/; revision=74107
2017-03-05 21:37:58 +00:00
Amine Khaldi 54297235d4 [INETCOMM] I guess I asked too much from svn when I renamed the existing file and then added a new one with the same name as the old.
svn path=/trunk/; revision=74106
2017-03-05 21:36:38 +00:00
Amine Khaldi 8e07a66b68 [INETCOMM] Sync with Wine Staging 2.2. CORE-12823
51e1a08 inetcomm: Return S_FALSE if no data is returned in IInternetProtocol::Read.
0672bfa inetcomm: Added support for decoding quoted-printable data.
07af9d0 inetcomm: Added mhtml binding tests.
cf8e259 inetcomm: Added support for binding mhtml protocol handler.
3f644cb inetcomm: Added IInternetProtocolInfo::CombineUrl implementation.
37792a2 inetcomm: Added MimeOleObjectFromMoniker semi-stub implementation.
242cbb1 inetcomm: Added tests reading MHTML page as MIME message.
eb0bd22 inetcomm: Removed unneeded type check in init_content_type.
56dc246 inetcomm: Read content encoding from MIME header.
dec243f inetcomm: Don't include headers in data stream in create_sub_body.
3ccba10 inetcomm: Properly handle boundary in the beginning of body stream in create_body_offset_list.
9c01a94 inetcomm: Use relative seek in copy_headers_to_buf.
915acd6 inetcomm: Added support for decoding base64 in IMimeBody::GetData.
0b80666 inetcomm: Return a new instance of stream in IMimeBody::GetData.
393512d inetcomm: Don't restore base stream position in sub stream Read.
bb5056e inetcomm: Moved sub_stream_t implementation before MimeBody implementation.
a1d0c6d inetcomm: Added COM aggregation support to MimeHtmlProtocol object.
fe3e5b9 inetcomm: Added IInternetProtocolInfo stub implementation.
6832273 inetcomm: Added MimeHtmlProtocol stub implementation.
d5d9aa3 inetcomm: Register mhtml protocol handler.

svn path=/trunk/; revision=74105
2017-03-05 21:33:13 +00:00
Amine Khaldi 48277d058b [PSDK] Update mimeole.idl. CORE-12823
svn path=/trunk/; revision=74104
2017-03-05 21:29:40 +00:00
Eric Kohl c4b8caf365 [NTOS:OB]
- Define and use a pool tag for directory security descriptors.
- Use a custom security descriptor to create the KernelObjects directory.

svn path=/trunk/; revision=74103
2017-03-05 21:28:10 +00:00
Amine Khaldi a1488a0f38 [CRYPT32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
svn path=/trunk/; revision=74102
2017-03-05 21:22:31 +00:00
Amine Khaldi 9b06dff0d9 [CRYPT32] Sync with Wine Staging 2.2. CORE-12823
a7d1d77 crypt32: Recognize sha256/384/512 KEY OIDs.
e376123 crypt32: Remove unused parameter and dead code.
254eb21 crypt32: Fix wrong Base64 trailer WCHAR constants.
a2f2de1 crypt32: CryptStringToBinary accepts any header.
552820a crypt32: Fix Base64 issues in CryptStringToBinary.
e353ab6 crypt32: Base64 header requires a space.

svn path=/trunk/; revision=74101
2017-03-05 21:21:36 +00:00
Amine Khaldi 36c77a1616 [PSDK] Update wincrypt.h. CORE-12823
svn path=/trunk/; revision=74100
2017-03-05 21:19:15 +00:00
Amine Khaldi 3606086387 [GDIPLUS_WINETEST] Sync with Wine Staging 2.2. CORE-12823
svn path=/trunk/; revision=74099
2017-03-05 21:16:17 +00:00
Amine Khaldi 687ee5ded5 [GDIPLUS] Sync with Wine Staging 2.2. CORE-12823
818b141 gdiplus: Add support for more image color formats.
f8f0a35 gdiplus: Implement GdipInitializePalette. (v2)
973bba9 gdiplus: Ignore an externally set DC clipping region.
650b8d0 gdiplus: Ignore an externally set DC origin.
e100661 gdiplus: Add GdipCreateHBITMAPFromBitmap tests when bitmap bits are locked.
b58276a gdiplus: Reimplement GdipCreateHBITMAPFromBitmap so it can work on locked bitmaps.
5673d82 gdiplus: GpBitmap can be only locked once, get rid of numlocks field.
0eaaa15 gdiplus: Make GpBitmap->bitmapbits access thread safe.
4e685eb gdiplus: Added GdipGetCustomLineCapType().
36bb9d9 gdiplus: Fix some spec file entries.
f870708 gdiplus: Make some GdipDraw*Path() functions static.
046fc19 gdiplus: Fix memory leak in format_string_callback error path.
5018594 gdiplus: Create the FontFamily before checking for duplicates.
0d6a4b0 gdiplus: Don't include rotated fonts in the installed font collection.

svn path=/trunk/; revision=74098
2017-03-05 21:15:16 +00:00
Amine Khaldi 814dd8031a [PSDK] Update wincodec.idl. CORE-12823
svn path=/trunk/; revision=74097
2017-03-05 21:08:10 +00:00
Amine Khaldi 9d0f4183f7 [PSDK] Update gdiplusenums.h and gdiplusflat.h. CORE-12823
svn path=/trunk/; revision=74096
2017-03-05 21:06:16 +00:00
Amine Khaldi 85353f2fba [OLE32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
svn path=/trunk/; revision=74095
2017-03-05 21:03:59 +00:00
Amine Khaldi 41772c8273 [OLE32] Sync with Wine Staging 2.2. CORE-12823
23607d0 ole32: Implement returning a name in IEnumSTATPROPSTG.
5cf1db5 ole32: Support reading VT_BOOL, VT_R8 and VT_I8 into propery storage.
591c9c8 ole32: Correctly parse unicode property storage dictionaries.
93a8ede ole32: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().
182fad8 ole32: Call GetClipboardFormatName with the correct parameters.
e31dd0f ole32: Use a HWND_MESSAGE window for the clipboard.
c85eaae ole32: Only trace a clipboard format name if it has one.
77e566a ole32: Don't set zero-size clipboard data, this no longer works.

svn path=/trunk/; revision=74094
2017-03-05 21:03:00 +00:00
Amine Khaldi 74568a6e4d [COMDLG32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
svn path=/trunk/; revision=74093
2017-03-05 20:57:57 +00:00
Amine Khaldi 6993f86ef3 [COMDLG32] Sync with Wine Staging 2.2. CORE-12823
e07d20f comdlg32: Don't crash if an IShellFolder could not be created.
bd1b3c1 comdlg32: Use localized "Path does not exist" string.
1707df3 comdlg32: Delay OleInitialize() until after file dialog window is created.
6c4aaf7 comdlg32: Always use original Open File dialog template.
eff2ecc comdlg32: Avoid some superfluous pointer casts.

svn path=/trunk/; revision=74092
2017-03-05 20:57:05 +00:00
Amine Khaldi 12b5c1dd77 [COMCTL32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
svn path=/trunk/; revision=74091
2017-03-05 20:53:49 +00:00
Amine Khaldi 9ce65ea71e [COMCTL32] Sync with Wine Staging 2.2. CORE-12823
cc055c4 comctl32: Add support for PSPCB_ADDREF/PSPCB_RELEASE callback notifications. (v2)
83cde06 comctl32/propsheet: Implement PSM_SETHEADERSUBTITLE.
ce9c06b comctl32/propsheet: Implement PSM_SETHEADERTITLE.
1a750f7 comctl32/propsheet: Add helpers to do string duplication.
14a6c98 comctl32/pager: Don't block window size changes.
a6661ba comctl32/propsheet: Added PSM_INSERTPAGE implementation.
34dd326 comctl32/propsheet: Only use header bitmap when asked for it.
6eafebe comctl32/propsheet: Force wizard header if any of pages has title/subtitle.
70c9a96 comctl32: Fix some more spec file entries.
2dd0fb8 comctl32: Correctly set the colour table for ILC_COLOR4 and ILC_COLOR8 imagelists.
a0e73a1 comctl32/syslink: Don't use exported StrCmpNIW().
970029b comctl32/toolbar: Fix TB_SETDRAWTEXTFLAGS handler.
99913e8 comctl32: Fix some spec file entries.
9d404dd comctl32/propsheet: Double size of a template buffer passed to PSCB_PRECREATE.
bb1d68e comctl32/trackbar: Fix TBM_SETRANGEMAX handling when new limit is less than current min boundary.
26067cc comctl32/toolbar: Protect from NULL pointer access in TB_GETBUTTONINFOW handler.
a6aabe0 comctl32/trackbar: Update thumb unconditionally on TBM_SETTICFREQ.
c7c8994 comctl32: Recompute the text width if necessary.
3ed6ba5 comctl32: Set the text and bkgnd colours to the default before the item pre-paint notification.
8915404 comctl32: Use wine_dbgstr_point in TRACES.

svn path=/trunk/; revision=74090
2017-03-05 20:52:24 +00:00
Amine Khaldi 07ecda8b60 [PSDK] Add missing PSPCB_ADDREF. CORE-12823
svn path=/trunk/; revision=74089
2017-03-05 20:49:12 +00:00