reactos.git
7 years ago[NDK]: No, the NDK applications do not have to use UNICODE.
Hermès Bélusca-Maïto [Wed, 15 Mar 2017 00:06:42 +0000 (00:06 +0000)]
[NDK]: No, the NDK applications do not have to use UNICODE.
Indeed the RTL/NDK/whatever always explicitely uses ANSI and/or UNICODE string types where needed (and do not depend on tchar.h stuff).
It is up to the given application to explicitely specify (in its CMakeLists.txt or elsewhere) whether it wants to define UNICODE or not.
--> Fix the problem of having the UNICODE define magically being defined after including some NDK header.

[DNSAPI][USER32_APITEST]: Explicitely use UNICODE functions where needed (and as was already done in other parts of the code).

svn path=/trunk/; revision=74172

7 years ago[DXG] Implement DxDdCreateDirectDrawObject and update DdHmgAlloc CORE-4490
Sebastian Gasiorek [Tue, 14 Mar 2017 23:05:49 +0000 (23:05 +0000)]
[DXG] Implement DxDdCreateDirectDrawObject and update DdHmgAlloc CORE-4490

svn path=/trunk/; revision=74171

7 years ago[DXG] Implement DxDdEnableDirectDraw CORE-4490
Sebastian Gasiorek [Tue, 14 Mar 2017 19:45:23 +0000 (19:45 +0000)]
[DXG] Implement DxDdEnableDirectDraw CORE-4490
[NTDDRAW] Enable DxEGShDevData_hSpooler and DxEGShDevData_ldev in DxEngGetHdevData CORE-7733

svn path=/trunk/; revision=74170

7 years ago[GDI] Windows puts DeviceObject to hSpooler field when it is graphics device. CORE...
Sebastian Gasiorek [Tue, 14 Mar 2017 19:13:19 +0000 (19:13 +0000)]
[GDI] Windows puts DeviceObject to hSpooler field when it is graphics device. CORE-7733 CORE-4490

svn path=/trunk/; revision=74169

7 years ago[EXPLORER] Now that CORE-10575 is correctly fixed, delete the old and obsolete start...
Robert Naumann [Tue, 14 Mar 2017 15:08:11 +0000 (15:08 +0000)]
[EXPLORER] Now that CORE-10575 is correctly fixed, delete the old and obsolete start icon. Final part of CORE-10030

svn path=/trunk/; revision=74168

7 years ago[NTOS:IO]
Eric Kohl [Mon, 13 Mar 2017 21:23:15 +0000 (21:23 +0000)]
[NTOS:IO]
IopGetDeviceRelations:
- Use captured parameters to probe for write.
- Do not check IopInitiatePnpIrp for STATUS_PENDING.

svn path=/trunk/; revision=74167

7 years ago[EXPLORER} -Cleanup some code that I forgot in the previous commit.
Giannis Adamopoulos [Mon, 13 Mar 2017 21:21:50 +0000 (21:21 +0000)]
[EXPLORER} -Cleanup some code that I forgot in the previous commit.

svn path=/trunk/; revision=74166

7 years ago[EXPLORER] - CTrayWindow: Implement handling WM_NCCALCSIZE to get rid of the three...
Giannis Adamopoulos [Mon, 13 Mar 2017 21:14:15 +0000 (21:14 +0000)]
[EXPLORER] - CTrayWindow: Implement handling WM_NCCALCSIZE to get rid of the three unneeded borders when themes are enabled and the taskbar is not locked. Use GetWindowDC to draw the grip properly. Misc size fixes. Patch by Sylvain Deverre with fixes by me. CORE-9668

svn path=/trunk/; revision=74165

7 years ago[SHELL32] -Fix redrawing the desktop when its size changes. This was broken in 72834.
Giannis Adamopoulos [Mon, 13 Mar 2017 21:04:35 +0000 (21:04 +0000)]
[SHELL32] -Fix redrawing the desktop when its size changes. This was broken in 72834.

svn path=/trunk/; revision=74164

7 years ago[RAPPS]
Daniel Reimer [Mon, 13 Mar 2017 19:28:09 +0000 (19:28 +0000)]
[RAPPS]
Last one... slow like hell, but here it is... Foxit Reader

svn path=/trunk/; revision=74163

7 years ago[RAPPS]
Daniel Reimer [Mon, 13 Mar 2017 19:09:07 +0000 (19:09 +0000)]
[RAPPS]
... welcome back WinXP support.

svn path=/trunk/; revision=74162

7 years ago[RAPPS]
Daniel Reimer [Mon, 13 Mar 2017 18:38:09 +0000 (18:38 +0000)]
[RAPPS]
Add "TortoiseSVN" in "ReactOS App Manager"
CORE-11748 #resolve #comment Added, thx ^^
Add NET framework 4.0 to RAPPS
CORE-11523 #resolve #comment Added, thx ^^
[RAPPS-DB] UltraVNC 1.2.1.0 link is dead
CORE-11642 #resolve #comment Added, thx ^^
And Fixed LibreOffce d/l again...

svn path=/trunk/; revision=74161

7 years ago{EXPLORER] -Fix gcc build.
Giannis Adamopoulos [Mon, 13 Mar 2017 13:19:12 +0000 (13:19 +0000)]
{EXPLORER] -Fix gcc build.

svn path=/trunk/; revision=74160

7 years ago[EXPLORER] -Remove the old way that the start button was painted. Keep some very...
Giannis Adamopoulos [Mon, 13 Mar 2017 13:07:55 +0000 (13:07 +0000)]
[EXPLORER] -Remove the old way that the start button was painted. Keep some very simple fallback code in case the text couldn't be loaded or when the optimal size can't be determined.

svn path=/trunk/; revision=74159

7 years ago[EXPLORER] use a checkmark instead of a radio button for the "Lock the taskbar" optio...
Robert Naumann [Mon, 13 Mar 2017 10:36:46 +0000 (10:36 +0000)]
[EXPLORER] use a checkmark instead of a radio button for the "Lock the taskbar" option. CORE-12760 #resolve

svn path=/trunk/; revision=74158

7 years ago[NTOS:OB]
Eric Kohl [Mon, 13 Mar 2017 00:10:23 +0000 (00:10 +0000)]
[NTOS:OB]
- Allocate all of the kernel objects security descriptor and the dos devices security descriptor from the paged pool, instead of just the ACLs.
- Replace special security descriptor free routines by calls to ExFreePoolWithTag.
- Replace the TAG_OB_DIR_SD by TAG_SD.

svn path=/trunk/; revision=74157

7 years ago[FASTFAT]: Fix an "error C4700: uninitialized local variable 'Entry' used" that is...
Hermès Bélusca-Maïto [Sun, 12 Mar 2017 18:25:21 +0000 (18:25 +0000)]
[FASTFAT]: Fix an "error C4700: uninitialized local variable 'Entry' used" that is caught by MSVC 2010 (that pointed out a genuine bug), but mysteriously unseen by MSVC 2012+, who knows why...

svn path=/trunk/; revision=74156

7 years ago[FASTFAT]: Fix compilation under MSVC 2010 (1/2).
Hermès Bélusca-Maïto [Sun, 12 Mar 2017 18:11:00 +0000 (18:11 +0000)]
[FASTFAT]: Fix compilation under MSVC 2010 (1/2).

svn path=/trunk/; revision=74155

7 years ago[HOST-TOOLS]: Add isohybrid to the list of host-tools (for NEW-BUILD scenario).
Hermès Bélusca-Maïto [Sun, 12 Mar 2017 17:43:12 +0000 (17:43 +0000)]
[HOST-TOOLS]: Add isohybrid to the list of host-tools (for NEW-BUILD scenario).
[BOOT]: Add experimental "isohybrid_bootcd(regtest)/livecd/hybridcd" targets to build patched "ISO-Hybrid" (i.e. USB-flashable) ISOs using the isohybrid tool.
CORE-12648

svn path=/trunk/; revision=74154

7 years ago[POWERCFG]
Eric Kohl [Sun, 12 Mar 2017 14:55:54 +0000 (14:55 +0000)]
[POWERCFG]
Replace 'CONTROL ... "Button", BS_AUTOCHECKBOX ...' by 'AUTOCHECKBOX'.

svn path=/trunk/; revision=74153

7 years ago[MMSYS]
Eric Kohl [Sun, 12 Mar 2017 14:06:28 +0000 (14:06 +0000)]
[MMSYS]
Convert all CHECKBOXes to AUTOCHECKBOXes.

svn path=/trunk/; revision=74152

7 years ago[BROWSEUI] -CExplorerBand: Stub QueryService method and set the site of the context...
Giannis Adamopoulos [Sun, 12 Mar 2017 09:48:25 +0000 (09:48 +0000)]
[BROWSEUI] -CExplorerBand: Stub QueryService method and set the site of the context menu so as to let the context menu find the SID_IShellBrowser when the open menu item is clicked. CORE-11783

svn path=/trunk/; revision=74151

7 years ago[COMCTL32] -Implement sending the BCN_HOTITEMCHANGE notification.
Giannis Adamopoulos [Sun, 12 Mar 2017 00:00:40 +0000 (00:00 +0000)]
[COMCTL32] -Implement sending the BCN_HOTITEMCHANGE notification.

svn path=/trunk/; revision=74150

7 years ago[COMCTL32] -Fix some tests regarding how the v6 buttons gets repainted.
Giannis Adamopoulos [Sat, 11 Mar 2017 13:42:29 +0000 (13:42 +0000)]
[COMCTL32] -Fix some tests regarding how the v6 buttons gets repainted.

svn path=/trunk/; revision=74149

7 years ago[COMCTL32_APITEST] -Add one more test.
Giannis Adamopoulos [Sat, 11 Mar 2017 13:41:03 +0000 (13:41 +0000)]
[COMCTL32_APITEST] -Add one more test.

svn path=/trunk/; revision=74148

7 years ago[COMCTL32_APITEST] -Add a couple more tests.
Giannis Adamopoulos [Sat, 11 Mar 2017 13:23:49 +0000 (13:23 +0000)]
[COMCTL32_APITEST] -Add a couple more tests.

svn path=/trunk/; revision=74147

7 years ago[COMCTL32_APITEST] -Add tests for the BST_HOT state.
Giannis Adamopoulos [Fri, 10 Mar 2017 22:46:35 +0000 (22:46 +0000)]
[COMCTL32_APITEST] -Add tests for the BST_HOT state.

svn path=/trunk/; revision=74146

7 years ago[COMCTL32_APITEST] -Get rid of some hardcoded values.
Giannis Adamopoulos [Fri, 10 Mar 2017 22:17:26 +0000 (22:17 +0000)]
[COMCTL32_APITEST] -Get rid of some hardcoded values.

svn path=/trunk/; revision=74145

7 years ago[UXTHEME] -Add tests for SetWindowTheme to test the behavior that was changed in...
Giannis Adamopoulos [Fri, 10 Mar 2017 17:56:18 +0000 (17:56 +0000)]
[UXTHEME] -Add tests for SetWindowTheme to test the behavior that was changed in r74038.

svn path=/trunk/; revision=74144

7 years ago[DXG] Implement DdAllocateObject, DdFreeObject, DdGetFreeHandle, DdHmgAlloc, DdHmgFre...
Sebastian Gasiorek [Fri, 10 Mar 2017 17:51:20 +0000 (17:51 +0000)]
[DXG] Implement DdAllocateObject, DdFreeObject, DdGetFreeHandle, DdHmgAlloc, DdHmgFree CORE-4490

svn path=/trunk/; revision=74143

7 years ago[NTUSER] Lock before getting DesktopDC. Fixes crash during loading DirectX CORE-7733
Sebastian Gasiorek [Fri, 10 Mar 2017 16:33:45 +0000 (16:33 +0000)]
[NTUSER] Lock before getting DesktopDC. Fixes crash during loading DirectX CORE-7733

svn path=/trunk/; revision=74142

7 years ago[COMCTL32] -Add lots of tests for the messages that are sent when the button is paint...
Giannis Adamopoulos [Fri, 10 Mar 2017 15:32:32 +0000 (15:32 +0000)]
[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

7 years ago[SYSSETUP]: Translations update.
Hermès Bélusca-Maïto [Thu, 9 Mar 2017 23:08:39 +0000 (23:08 +0000)]
[SYSSETUP]: Translations update.

svn path=/trunk/; revision=74140

7 years ago[NETSHELL]: Fix the height of some dialog boxes.
Hermès Bélusca-Maïto [Thu, 9 Mar 2017 22:42:29 +0000 (22:42 +0000)]
[NETSHELL]: Fix the height of some dialog boxes.

svn path=/trunk/; revision=74139

7 years ago[NETSHELL][SYSSETUP]: Revert r74134 as it's not the correct fix for what I wanted...
Hermès Bélusca-Maïto [Thu, 9 Mar 2017 22:39:26 +0000 (22:39 +0000)]
[NETSHELL][SYSSETUP]: Revert r74134 as it's not the correct fix for what I wanted to improve.

svn path=/trunk/; revision=74138

7 years ago[WIN32SS] Allocate memory for EDD_DIRECTDRAW_GLOBAL while creating PDEV (partially...
Sebastian Gasiorek [Thu, 9 Mar 2017 21:03:47 +0000 (21:03 +0000)]
[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

7 years ago[COMCTL32]: comctl32/propsheet: Diverse UI fixes:
Hermès Bélusca-Maïto [Thu, 9 Mar 2017 20:30:16 +0000 (20:30 +0000)]
[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

7 years ago[i8042prt]: Add yet another Dell Latitude hack, (for D810 this time). These Dell...
Hermès Bélusca-Maïto [Thu, 9 Mar 2017 16:43:25 +0000 (16:43 +0000)]
[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

7 years ago[NETSHELL][SYSSETUP]: Enlarge a bit the height of the setup wizard pages, to not...
Hermès Bélusca-Maïto [Thu, 9 Mar 2017 16:39:43 +0000 (16:39 +0000)]
[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

7 years ago[NTOS:OB]
Eric Kohl [Wed, 8 Mar 2017 22:27:06 +0000 (22:27 +0000)]
[NTOS:OB]
Replace calls to ExFreePool by calls to ExFreePoolWithTag.

svn path=/trunk/; revision=74132

7 years ago[SHUTDOWN]
Eric Kohl [Wed, 8 Mar 2017 22:22:21 +0000 (22:22 +0000)]
[SHUTDOWN]
shutdown -t causes crash
Patch by Michael Fritscher.
CORE-12886 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=74131

7 years ago[UXTHEME_APITEST] -Add a test to show that CloseThemeData doesn't use exception handling.
Giannis Adamopoulos [Wed, 8 Mar 2017 15:15:19 +0000 (15:15 +0000)]
[UXTHEME_APITEST] -Add a test to show that CloseThemeData doesn't use exception handling.

svn path=/trunk/; revision=74128

7 years ago[UXTHEME] -Fix most new tests for DrawThemeParentBackground. Hackfix CloseThemeData.
Giannis Adamopoulos [Wed, 8 Mar 2017 15:08:56 +0000 (15:08 +0000)]
[UXTHEME] -Fix most new tests for DrawThemeParentBackground. Hackfix CloseThemeData.

svn path=/trunk/; revision=74127

7 years ago[UXTHEME_APITEST] -Add one more test for DrawThemeParentBackground.
Giannis Adamopoulos [Wed, 8 Mar 2017 14:54:02 +0000 (14:54 +0000)]
[UXTHEME_APITEST] -Add one more test for DrawThemeParentBackground.

svn path=/trunk/; revision=74126

7 years ago[UXTHEME_APITEST] -Add more tests for DrawThemeParentBackground.
Giannis Adamopoulos [Wed, 8 Mar 2017 14:46:36 +0000 (14:46 +0000)]
[UXTHEME_APITEST] -Add more tests for DrawThemeParentBackground.

svn path=/trunk/; revision=74125

7 years ago[USER32_APITEST] -Move the helper functions in the common include directory
Giannis Adamopoulos [Tue, 7 Mar 2017 22:29:48 +0000 (22:29 +0000)]
[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

7 years ago[COMCTL32] -Buttons with the BS_PUSHLIKE style are drawn as if they were BS_PUSHBUTTO...
Giannis Adamopoulos [Mon, 6 Mar 2017 21:57:10 +0000 (21:57 +0000)]
[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

7 years ago[KERNEL32]: Check for NULL pointer specified to lstrlenA/W and return null length...
Hermès Bélusca-Maïto [Mon, 6 Mar 2017 19:17:53 +0000 (19:17 +0000)]
[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

7 years ago[KERNEL32_APITEST]: Add basic tests for lstrlenA/W, focusing on its special handling...
Hermès Bélusca-Maïto [Mon, 6 Mar 2017 19:14:27 +0000 (19:14 +0000)]
[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

7 years ago[PSDK][NDK]: Add AddVectoredContinueHandler, RemoveVectoredContinueHandler, and RtlRe...
Hermès Bélusca-Maïto [Mon, 6 Mar 2017 19:04:17 +0000 (19:04 +0000)]
[PSDK][NDK]: Add AddVectoredContinueHandler, RemoveVectoredContinueHandler, and RtlRemoveVectoredExceptionHandler, RtlAddVectoredContinueHandler and RtlRemoveVectoredContinueHandler to our headers.

svn path=/trunk/; revision=74117

7 years ago[NtUser]
James Tabor [Mon, 6 Mar 2017 18:28:03 +0000 (18:28 +0000)]
[NtUser]
- Remove scroll bar search that sends another WM_NCCALCSIZE message. Use wine as an example. See CORE-12827.

svn path=/trunk/; revision=74116

7 years ago[MKISOFS]
Colin Finck [Sun, 5 Mar 2017 22:54:33 +0000 (22:54 +0000)]
[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

7 years ago[OLEAUT32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:51:44 +0000 (21:51 +0000)]
[OLEAUT32_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74111

7 years ago[OLEAUT32] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:50:37 +0000 (21:50 +0000)]
[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

7 years ago[RICHED20_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:44:19 +0000 (21:44 +0000)]
[RICHED20_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74109

7 years ago[RICHED20] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:43:39 +0000 (21:43 +0000)]
[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

7 years ago[INETCOMM_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:37:58 +0000 (21:37 +0000)]
[INETCOMM_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74107

7 years ago[INETCOMM] I guess I asked too much from svn when I renamed the existing file and...
Amine Khaldi [Sun, 5 Mar 2017 21:36:38 +0000 (21:36 +0000)]
[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

7 years ago[INETCOMM] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:33:13 +0000 (21:33 +0000)]
[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

7 years ago[PSDK] Update mimeole.idl. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:29:40 +0000 (21:29 +0000)]
[PSDK] Update mimeole.idl. CORE-12823

svn path=/trunk/; revision=74104

7 years ago[NTOS:OB]
Eric Kohl [Sun, 5 Mar 2017 21:28:10 +0000 (21:28 +0000)]
[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

7 years ago[CRYPT32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:22:31 +0000 (21:22 +0000)]
[CRYPT32_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74102

7 years ago[CRYPT32] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:21:36 +0000 (21:21 +0000)]
[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

7 years ago[PSDK] Update wincrypt.h. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:19:15 +0000 (21:19 +0000)]
[PSDK] Update wincrypt.h. CORE-12823

svn path=/trunk/; revision=74100

7 years ago[GDIPLUS_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:16:17 +0000 (21:16 +0000)]
[GDIPLUS_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74099

7 years ago[GDIPLUS] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:15:16 +0000 (21:15 +0000)]
[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

7 years ago[PSDK] Update wincodec.idl. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:08:10 +0000 (21:08 +0000)]
[PSDK] Update wincodec.idl. CORE-12823

svn path=/trunk/; revision=74097

7 years ago[PSDK] Update gdiplusenums.h and gdiplusflat.h. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:06:16 +0000 (21:06 +0000)]
[PSDK] Update gdiplusenums.h and gdiplusflat.h. CORE-12823

svn path=/trunk/; revision=74096

7 years ago[OLE32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:03:59 +0000 (21:03 +0000)]
[OLE32_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74095

7 years ago[OLE32] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 21:03:00 +0000 (21:03 +0000)]
[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

7 years ago[COMDLG32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:57:57 +0000 (20:57 +0000)]
[COMDLG32_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74093

7 years ago[COMDLG32] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:57:05 +0000 (20:57 +0000)]
[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

7 years ago[COMCTL32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:53:49 +0000 (20:53 +0000)]
[COMCTL32_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74091

7 years ago[COMCTL32] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:52:24 +0000 (20:52 +0000)]
[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

7 years ago[PSDK] Add missing PSPCB_ADDREF. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:49:12 +0000 (20:49 +0000)]
[PSDK] Add missing PSPCB_ADDREF. CORE-12823

svn path=/trunk/; revision=74089

7 years ago[MSI_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:45:43 +0000 (20:45 +0000)]
[MSI_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74088

7 years ago[MSI] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:45:25 +0000 (20:45 +0000)]
[MSI] Sync with Wine Staging 2.2. CORE-12823

fe50dbf msi: Do not sign extend after multiplying.
c659222 msi: Fix some spec file entries.
167de42 msi: Make reg_get_{multi}sz() static.
f5e4dad msi: Fix handling of NULL buffer in MsiGetProductPropertyW() (Coverity).
3b5b3ef msi: Fix MSIREG_OpenUserComponentsKey and MSIREG_DeleteUpgradeCodesKey for Wow64.
5ac0242 msi: Correctly size packagecode as it's an unsquashed guid.

svn path=/trunk/; revision=74087

7 years ago[RPCRT4_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:43:17 +0000 (20:43 +0000)]
[RPCRT4_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=74086

7 years ago[RPCRT4] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 5 Mar 2017 20:42:41 +0000 (20:42 +0000)]
[RPCRT4] Sync with Wine Staging 2.2. CORE-12823

b85c2f7 rpcrt4: Fix some spec file entries.
042b41d rpcrt4: Avoid potential overflow in rpcrt4_protseq_ncacn_np_open_endpoint.
c32cd11 rpcrt4: Acquire new credential handle for each connection.
da05dfd rpcrt4: Store security package name in rpc_server_registered_auth_info.
f8450fa rpcrt4: Handle NULL binding in RpcBindingInqAuthClient{,Ex}.

svn path=/trunk/; revision=74085

7 years ago[UXTHME] Implement drawing themed text with shadows.
Giannis Adamopoulos [Sun, 5 Mar 2017 19:34:01 +0000 (19:34 +0000)]
[UXTHME] Implement drawing themed text with shadows.

svn path=/trunk/; revision=74083

7 years ago[FREELDR]
Thomas Faber [Sun, 5 Mar 2017 11:24:31 +0000 (11:24 +0000)]
[FREELDR]
- "ReactOS Medium" isn't a trademark or anything, no need to capitalize it

svn path=/trunk/; revision=74077

7 years ago[COMCTL32] -Slightly improve the hack.
Giannis Adamopoulos [Sun, 5 Mar 2017 10:26:57 +0000 (10:26 +0000)]
[COMCTL32] -Slightly improve the hack.

svn path=/trunk/; revision=74076

7 years ago[COMCTL32] -Remove a debug print that is no longer needed.
Giannis Adamopoulos [Sun, 5 Mar 2017 09:42:29 +0000 (09:42 +0000)]
[COMCTL32] -Remove a debug print that is no longer needed.

svn path=/trunk/; revision=74075

7 years ago[COMCTL32] - A button with the style BS_DEFPUSHBUTTON is drawn as defaulted instead...
Giannis Adamopoulos [Sun, 5 Mar 2017 09:35:12 +0000 (09:35 +0000)]
[COMCTL32] - A button with the style BS_DEFPUSHBUTTON is drawn as defaulted instead of normal.

svn path=/trunk/; revision=74074

7 years ago[COMCTL32] -Make the lautus hack a bit more strict.
Giannis Adamopoulos [Sun, 5 Mar 2017 09:14:12 +0000 (09:14 +0000)]
[COMCTL32] -Make the lautus hack a bit more strict.

svn path=/trunk/; revision=74073

7 years ago[COMCTL32] Ha^^Fix the size of the start button for lautus so as it gets the same...
Giannis Adamopoulos [Sun, 5 Mar 2017 09:09:30 +0000 (09:09 +0000)]
[COMCTL32] Ha^^Fix the size of the start button for lautus so as it gets the same size with our shell in ros and windows.

svn path=/trunk/; revision=74072

7 years ago[USER32]: Use RtlInitEmptyUnicodeString where needed. Fix CID 1401230 and CID 701428...
Hermès Bélusca-Maïto [Sun, 5 Mar 2017 01:20:40 +0000 (01:20 +0000)]
[USER32]: Use RtlInitEmptyUnicodeString where needed. Fix CID 1401230 and CID 701428 in the process.

svn path=/trunk/; revision=74071

7 years ago[USER32]: Trim trailing whitespace + few code style changes only.
Hermès Bélusca-Maïto [Sun, 5 Mar 2017 01:19:07 +0000 (01:19 +0000)]
[USER32]: Trim trailing whitespace + few code style changes only.

svn path=/trunk/; revision=74070

7 years ago[NTOS:LPC]
Thomas Faber [Sun, 5 Mar 2017 00:55:50 +0000 (00:55 +0000)]
[NTOS:LPC]
- Implement the early exit case (e.g. on connection refused) in NtAcceptConnectPort
CORE-12145

svn path=/trunk/; revision=74069

7 years ago[WS2_32]
Hermès Bélusca-Maïto [Sun, 5 Mar 2017 00:40:22 +0000 (00:40 +0000)]
[WS2_32]
- Fix pointers verification in WSALookupServiceNextW and WSALookupServiceNextA;
- In WSALookupServiceNextA: Perform extra checks to see whether we failed the first local buffer allocation, and if so, retrieve the needed size by calling a first time WSALookupServiceNextW, then reallocate the temp buffer and redo a WSALookupServiceNextW call (if it still fails, then we bail out).
  CID 513448.

svn path=/trunk/; revision=74068

7 years ago[WS2_32]: Fix the crash in ws2_32 reported in CORE-12852, that happens when opening...
Hermès Bélusca-Maïto [Sun, 5 Mar 2017 00:24:08 +0000 (00:24 +0000)]
[WS2_32]: Fix the crash in ws2_32 reported in CORE-12852, that happens when opening e.g. Word 2010 for the first time (when it asks for registration):
- Check whether WsNcLoadProvider really succeeded in loading a provider in WsNcGetCatalogFromProviderId, and return appropriate error code.
- In WsNqLookupServiceBegin, initialize CatalogEntry to NULL prior to calling WsNcGetCatalogFromProviderId, and check for success or failure of WsNqAddProvider (and fail in accordance).

svn path=/trunk/; revision=74067

7 years ago[WS2_32]
Hermès Bélusca-Maïto [Sat, 4 Mar 2017 23:55:30 +0000 (23:55 +0000)]
[WS2_32]
- Let require explicit semicolons when using the Ws***(Un)Lock macros (and thus remove the semicolon from their definition).

svn path=/trunk/; revision=74066

7 years ago[UXTHEME]: Handle WM_NCACTIVATE only when the window has a themed caption (it's not...
Giannis Adamopoulos [Sat, 4 Mar 2017 22:33:21 +0000 (22:33 +0000)]
[UXTHEME]: Handle WM_NCACTIVATE only when the window has a themed caption (it's not like windows with classic borders and no caption need to be redrawn to reflect that they get or lose the active state). Fixes the classic border drawn on deactivation in the taskbar. Found by Sylvain Deverre. CORE-12887

svn path=/trunk/; revision=74065

7 years ago[NTDLL] Implement some basic shim engine integration. CORE-10368
Mark Jansen [Sat, 4 Mar 2017 20:34:36 +0000 (20:34 +0000)]
[NTDLL] Implement some basic shim engine integration. CORE-10368

svn path=/trunk/; revision=74064

7 years ago[NTDLL] Fix RtlDecodeSystemPointer for usage inside ntdll. CORE-10368
Mark Jansen [Sat, 4 Mar 2017 20:32:12 +0000 (20:32 +0000)]
[NTDLL] Fix RtlDecodeSystemPointer for usage inside ntdll. CORE-10368

svn path=/trunk/; revision=74063

7 years ago[APPHELP] Fix a possible read past the buffer in SdbpIsPathOnRemovableMedia.
Mark Jansen [Sat, 4 Mar 2017 20:29:46 +0000 (20:29 +0000)]
[APPHELP] Fix a possible read past the buffer in SdbpIsPathOnRemovableMedia.

svn path=/trunk/; revision=74062

7 years ago[APPHELP_APITEST] Check which parts of apphelp accept NT paths
Mark Jansen [Sat, 4 Mar 2017 20:27:39 +0000 (20:27 +0000)]
[APPHELP_APITEST] Check which parts of apphelp accept NT paths

svn path=/trunk/; revision=74061

7 years ago[NTOS:CM]
Eric Kohl [Sat, 4 Mar 2017 19:48:27 +0000 (19:48 +0000)]
[NTOS:CM]
CmpSecurityMethod:
- Lock and unlock the Hive and the KCB.
- Fail, if we try to access a key that has been marked for deletion.

svn path=/trunk/; revision=74060

7 years ago[USER32]
Thomas Faber [Sat, 4 Mar 2017 19:02:30 +0000 (19:02 +0000)]
[USER32]
- Fix overflow check in SetScrollRange. CID 731535
CORE-12763 #resolve

svn path=/trunk/; revision=74059

7 years ago[USER32_APITEST]
Thomas Faber [Sat, 4 Mar 2017 18:34:35 +0000 (18:34 +0000)]
[USER32_APITEST]
- Add a test for SetScrollRange
CORE-12763

svn path=/trunk/; revision=74058