Commit graph

68239 commits

Author SHA1 Message Date
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
Amine Khaldi 2d709a011a [MSI_WINETEST] Sync with Wine Staging 2.2. CORE-12823
svn path=/trunk/; revision=74088
2017-03-05 20:45:43 +00:00
Amine Khaldi 4630534773 [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
2017-03-05 20:45:25 +00:00
Amine Khaldi 00d5ff1307 [RPCRT4_WINETEST] Sync with Wine Staging 2.2. CORE-12823
svn path=/trunk/; revision=74086
2017-03-05 20:43:17 +00:00
Amine Khaldi f2ad28ea2d [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
2017-03-05 20:42:41 +00:00
Giannis Adamopoulos 8832faa915 [UXTHME] Implement drawing themed text with shadows.
svn path=/trunk/; revision=74083
2017-03-05 19:34:01 +00:00
Thomas Faber f59a44447a [FREELDR]
- "ReactOS Medium" isn't a trademark or anything, no need to capitalize it

svn path=/trunk/; revision=74077
2017-03-05 11:24:31 +00:00
Giannis Adamopoulos 504b19f120 [COMCTL32] -Slightly improve the hack.
svn path=/trunk/; revision=74076
2017-03-05 10:26:57 +00:00
Giannis Adamopoulos cd690901ea [COMCTL32] -Remove a debug print that is no longer needed.
svn path=/trunk/; revision=74075
2017-03-05 09:42:29 +00:00
Giannis Adamopoulos f3a00c2f57 [COMCTL32] - A button with the style BS_DEFPUSHBUTTON is drawn as defaulted instead of normal.
svn path=/trunk/; revision=74074
2017-03-05 09:35:12 +00:00
Giannis Adamopoulos c27717bac7 [COMCTL32] -Make the lautus hack a bit more strict.
svn path=/trunk/; revision=74073
2017-03-05 09:14:12 +00:00
Giannis Adamopoulos 2e5058f3bf [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
2017-03-05 09:09:30 +00:00
Hermès Bélusca-Maïto 71c5ed5c2f [USER32]: Use RtlInitEmptyUnicodeString where needed. Fix CID 1401230 and CID 701428 in the process.
svn path=/trunk/; revision=74071
2017-03-05 01:20:40 +00:00
Hermès Bélusca-Maïto 254b1fbb03 [USER32]: Trim trailing whitespace + few code style changes only.
svn path=/trunk/; revision=74070
2017-03-05 01:19:07 +00:00
Thomas Faber a8d5478895 [NTOS:LPC]
- Implement the early exit case (e.g. on connection refused) in NtAcceptConnectPort
CORE-12145

svn path=/trunk/; revision=74069
2017-03-05 00:55:50 +00:00
Hermès Bélusca-Maïto cc3b08af40 [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
2017-03-05 00:40:22 +00:00
Hermès Bélusca-Maïto abc2d4d228 [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
2017-03-05 00:24:08 +00:00
Hermès Bélusca-Maïto 0989caed38 [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
2017-03-04 23:55:30 +00:00
Giannis Adamopoulos 6e64a5904a [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
2017-03-04 22:33:21 +00:00
Mark Jansen 80c4567edf [NTDLL] Implement some basic shim engine integration. CORE-10368
svn path=/trunk/; revision=74064
2017-03-04 20:34:36 +00:00
Mark Jansen ba1534d005 [NTDLL] Fix RtlDecodeSystemPointer for usage inside ntdll. CORE-10368
svn path=/trunk/; revision=74063
2017-03-04 20:32:12 +00:00
Mark Jansen 0adcb4d02a [APPHELP] Fix a possible read past the buffer in SdbpIsPathOnRemovableMedia.
svn path=/trunk/; revision=74062
2017-03-04 20:29:46 +00:00
Mark Jansen 985555c58f [APPHELP_APITEST] Check which parts of apphelp accept NT paths
svn path=/trunk/; revision=74061
2017-03-04 20:27:39 +00:00
Eric Kohl 6c5070eb34 [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
2017-03-04 19:48:27 +00:00
Thomas Faber fd343d21dd [USER32]
- Fix overflow check in SetScrollRange. CID 731535
CORE-12763 #resolve

svn path=/trunk/; revision=74059
2017-03-04 19:02:30 +00:00
Thomas Faber 3df8b3ccc8 [USER32_APITEST]
- Add a test for SetScrollRange
CORE-12763

svn path=/trunk/; revision=74058
2017-03-04 18:34:35 +00:00
Robert Naumann 5641391fa5 [DESK] Fix Font Smoothing Dropdown Field. Patch by Katayama Hirofumi MZ CORE-12568
svn path=/trunk/; revision=74057
2017-03-04 18:12:42 +00:00
Thomas Faber 2c49ea705c [ACPICA]
- Update to version 20170303
CORE-12885

svn path=/trunk/; revision=74056
2017-03-04 16:54:26 +00:00
Thomas Faber 95cf9fc991 [BOOTDATA]
- Support integrating Intel's DC21x4 network card driver (for Hyper-V/VirtualPC) into our ISOs until we have our own.
CORE-8724

svn path=/trunk/; revision=74055
2017-03-04 16:29:51 +00:00
Eric Kohl 3625064e10 [NTOS:OB]
Create a custom security descriptor for the global DosDevices directory.

svn path=/trunk/; revision=74054
2017-03-04 16:02:06 +00:00
Thomas Faber 16b4b0a874 [NTOS:PNP]
- Make device instance paths unique if necessary (by adding the parent ID prefix), regardless of the return status from IRP_MN_QUERY_ID/BusQueryInstanceID. Support for this IRP is optional in most cases, and a failure status just indicates no instance id information is needed by the driver stack.
Major thanks to Vadim Galyant for debugging this and identifying the root cause.
CORE-12732 CORE-12818 CORE-12745 CORE-12733 CORE-12717 CORE-12735

svn path=/trunk/; revision=74053
2017-03-04 16:01:59 +00:00
Thomas Faber ab14ba211c [NTOS:PNP]
- Use UNICODE_STRINGs in IopCreateDeviceInstancePath instead of messing around with unsafe string functions and stack buffers

svn path=/trunk/; revision=74052
2017-03-04 15:17:30 +00:00
Thomas Faber bf594249dd [FASTFAT]
- Avoid use after free in vfatDestroyFCB

svn path=/trunk/; revision=74051
2017-03-04 14:48:05 +00:00
Eric Kohl 81b072cc64 [NTOS:SE]
Add a missing ACE(SeAliasAdminsSid / GENERIC_ALL) to the SePublicDefaultDacl ACL. This fixes a kmtest:ObSecurity failure. 

svn path=/trunk/; revision=74050
2017-03-04 14:38:13 +00:00
Thomas Faber 4c03c1a55a [NTOS:PNP]
Fix IopGetParentIdPrefix:
- Do not include null terminator in UNICODE_STRING::Length
- Use pool tagging
- Use strsafe printf
- Avoid a magic number

svn path=/trunk/; revision=74049
2017-03-04 13:50:55 +00:00