reactos.git
3 years ago[PROPSYS_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:35:33 +0000 (22:35 +0000)]
[PROPSYS_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74837

3 years ago[PROPSYS] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:35:14 +0000 (22:35 +0000)]
[PROPSYS] Sync with Wine Staging 2.9. CORE-13362

090b4f2 propsys: Add support for VT_LPSTR and VT_LPWSTR to PropVariantCompareEx. (v2)
99758d9 propsys: Add support for VT_LPSTR to PropVariantChangeType. (v2)
43fa646 propsys: Make VT_FILETIME handling by PropVariantChangeType more implicit.
55b3752 propsys: Add support for VT_BSTR to PropVariantChangeType.
fc00aec propsys: Add support for VT_LPWSTR and VT_BSTR to PropVariantToStringAlloc.
aa841b3 propsys: Add support for VT_I1 and VT_UI1 to PropVariantChangeType.
8e273c8 propsys: Fix PSGetPropertyDescriptionListFromString spec file entry.
6df21d4 propsys: Use snprintf in PROPVAR_ConvertFILETIME.

svn path=/trunk/; revision=74836

3 years ago[PDH] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:35:01 +0000 (22:35 +0000)]
[PDH] Sync with Wine Staging 2.9. CORE-13362

88c4d33 pdh: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.

svn path=/trunk/; revision=74835

3 years ago[OPENGL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:34:42 +0000 (22:34 +0000)]
[OPENGL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74834

3 years ago[OLEDLG] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:34:33 +0000 (22:34 +0000)]
[OLEDLG] Sync with Wine Staging 2.9. CORE-13362

0028360 oledlg: Use W-functions to access window property.

svn path=/trunk/; revision=74833

3 years ago[OLEAUT32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:34:23 +0000 (22:34 +0000)]
[OLEAUT32_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74832

3 years ago[OLEAUT32] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:34:09 +0000 (22:34 +0000)]
[OLEAUT32] Sync with Wine Staging 2.9. CORE-13362

6e7179e oleaut32: Make OleLoadPicture load DIBs using WIC decoder.
1762f89 oleaut32: Use VariantChangeTypeEx to convert to VT_BOOL.
c260de0 oleaut32: Remove dead code.
efc86ec oleaut32: Fix parse error when converting non-ascii string to VT_DATE.
f506ffc oleaut32: Use VariantInit() rather than open coding it.
c082edb oleaut32: Remove redundant call to VariantClear().
7fb4809 oleaut32: Implement GetAltMonthNames().
d90fcb4 oleaut32: Fix OleLoadPictureEx spec file entry.

svn path=/trunk/; revision=74831

3 years ago[OLE32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:33:48 +0000 (22:33 +0000)]
[OLE32_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74830

3 years ago[OLE32] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:33:33 +0000 (22:33 +0000)]
[OLE32] Sync with Wine Staging 2.9. CORE-13362

9cc976a ole32: Fix compilation with recent versions of gcc.
2e36326 ole32: Synthesize dibs or bitmaps as appropriate.
e27708f ole32: Create CF_DIB and CF_BITMAP entries when either is cached.
20a8f1a ole32: Implement IOleCache_EnumCache().
f9b0f60 ole32: Check the cache entry's stgmedium for the unloaded state.
8fc1a4c ole32: OleUninitialize() does not release the reference to the clipboard's source dataobject.
1d2860e ole32: Fix up the dib's resolution on loading.
e7bb4ba ole32: Don't cache the BITMAPFILEHEADER.
fc49d98 ole32: Set the advise flags in CreateEntry().
77d1eba ole32: Use the helper function to copy the clipboard's FORMATETC.
9ee30d7 ole32: Use the helper function to copy the datacache's FORMATETC.
11db491 ole32: Add a helper to copy FORMATETC structures.
b399baf ole32: Add CoRegisterSurrogate/Ex stubs.
87dba2b ole32: Zero STGMEDIUM before calling IDataObject::GetData.
c7e6fe6 ole32: Added GlobalOptions object stub implementation.
fd09c37 ole32: Use generic class factory for StdComponentCategoriesMgr object.
076c782 ole32: Use generic class factory for pointer moniker.
961c3dc ole32: Use generic class factory for class moniker.
947c9ba ole32: Use generic class factory for composite moniker.
b05fd46 ole32: Use generic class factory for anti moniker.
dee6463 ole32: Use generic class factory for item moniker.
cf7883f ole32: Added generic class factory implementation and use it for file moniker.

svn path=/trunk/; revision=74829

3 years ago[ODBCCP32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:33:08 +0000 (22:33 +0000)]
[ODBCCP32_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74828

3 years ago[ODBCCP32] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:32:52 +0000 (22:32 +0000)]
[ODBCCP32] Sync with Wine Staging 2.9. CORE-13362

c92189c odbccp32: Handle ODBC_CONFIG_DRIVER request in SQLConfigDriver/W.
3b5a870 odbccp32: Look in LOCAL_MACHINE for the driver.
764ee72 odbccp32: Implement SQLConfigDriver/W.
e7afcb9 odbccp32: Implement SQLRemoveTranslator/W.
d687fc8 odbccp32: Implement SQLInstallTranslator.
3136bed odbccp32: Implement SQLRemoveDriver/SQLRemoveDriverW.
27482bc odbccp32: Implement SQLInstallDriverEx.
093d870 odbccp32: Fix some spec file entries.
65b6cf1 odbccp32: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().

svn path=/trunk/; revision=74827

3 years ago[PSDK] Update sql.h and sqlucode.h. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:32:33 +0000 (22:32 +0000)]
[PSDK] Update sql.h and sqlucode.h. CORE-13362
[ODBC32] Sync with Wine Staging 2.9. CORE-13362

0dd43e9 odbc32: Made ODBC function signatures 64-bit compliant.

svn path=/trunk/; revision=74826

3 years ago[NTPRINT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:32:11 +0000 (22:32 +0000)]
[NTPRINT_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74825

3 years ago[NETAPI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:31:54 +0000 (22:31 +0000)]
[NETAPI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74824

3 years ago[MSXML3_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:31:39 +0000 (22:31 +0000)]
[MSXML3_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74823

3 years ago[MSXML3] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:31:11 +0000 (22:31 +0000)]
[MSXML3] Sync with Wine Staging 2.9. CORE-13362

d7d5d93 msxml3: Improve error handling (Coverity).
cebed39 msxml3: Added support for setting IResponse as xsl processor output.
ea9b797 msxml3: Support IPersistStream* as IXSLProcessor output.
ba018b5 msxml3/saxreader: Handle NULL interface input in parse().
8bc68f3 msxml3: Don't QI for IPersistStream in internal_parse.
135e98a msxml3: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.

svn path=/trunk/; revision=74822

3 years ago[MSVFW32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:30:54 +0000 (22:30 +0000)]
[MSVFW32_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74821

3 years ago[MSTASK_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:30:32 +0000 (22:30 +0000)]
[MSTASK_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74820

3 years ago[MSI_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:30:19 +0000 (22:30 +0000)]
[MSI_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74819

3 years ago[MSI] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:29:55 +0000 (22:29 +0000)]
[MSI] Sync with Wine Staging 2.9. CORE-13362

f6ced24 msi: Avoid using isspace()/isdigit() for WCHARs.
635457b msi: Add MsiGetPatchFileListA/W stubs.
b956b1f msi: Set patch property Uninstallable.
f3adb4a msi: Properly handle DWORD registry values in MsiGetPatchInfoEx.
d94653d msi: Apply feature selection to the whole feature subtree.
d12728a msi: Avoid zero size allocations (Valgrind).
b53957d msi: Use the correct type when calculating feature cost.
64c0625 msi: Implement MsiGetComponentPathExA/W.
5aa2d48 msi: Fix some more spec file entries.

svn path=/trunk/; revision=74818

3 years ago[MSCTF_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:29:38 +0000 (22:29 +0000)]
[MSCTF_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74817

3 years ago[MSCMS] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:29:30 +0000 (22:29 +0000)]
[MSCMS] Sync with Wine Staging 2.9. CORE-13362

cd55d5d mscms: Fix some spec file entries.

svn path=/trunk/; revision=74816

3 years ago[MPR_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:29:16 +0000 (22:29 +0000)]
[MPR_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74815

3 years ago[MLANG_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:29:06 +0000 (22:29 +0000)]
[MLANG_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74814

3 years ago[MCIAVI32] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:28:56 +0000 (22:28 +0000)]
[MCIAVI32] Sync with Wine Staging 2.9. CORE-13362

c59dcfa mciavi32: Implement MCI_BREAK.
d3c25df mciavi32: Trace MCIAVI_CreateWindow.
1b57f07 mciavi32: Report version as 1.1.

svn path=/trunk/; revision=74813

3 years ago[JSCRIPT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:28:34 +0000 (22:28 +0000)]
[JSCRIPT_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74812

3 years ago[JSCRIPT] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:28:19 +0000 (22:28 +0000)]
[JSCRIPT] Sync with Wine Staging 2.9. CORE-13362

59c39fa jscript: Added new debug channel printing details and backtrace of unwinded exceptions.
60232cc jscript: Always jump to finally block from OP_pop_exept when available.
685cd43 jscript: Pass finally offset instead of catch ident to OP_push_except.
8bd99c3 jscript: Ensure that OP_pop_except is called with proper stack depth.
622eb72 jscript: Added new opcode to enter catch block and use it to setup the scope.
b7bb166 jscript: Simplify pop_to_stat implementation.
1731629 jscript: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.

svn path=/trunk/; revision=74811

3 years ago[IMM32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:28:03 +0000 (22:28 +0000)]
[IMM32_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74810

3 years ago[INETCOMM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:27:55 +0000 (22:27 +0000)]
[INETCOMM_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74809

3 years ago[INETCOMM] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:27:45 +0000 (22:27 +0000)]
[INETCOMM] Sync with Wine Staging 2.9. CORE-13362

dcc545b inetcomm: Fixed buffer leak on error path (Coverity).

svn path=/trunk/; revision=74808

3 years ago[IEFRAME] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 22:27:36 +0000 (22:27 +0000)]
[IEFRAME] Sync with Wine Staging 2.9. CORE-13362

2bb8458 ieframe: Return DISP_E_UNKNOWNNAME in IShellUIHelper2::GetIDsOfNames.
bd8bd97 ieframe: Fix IEWinMain spec file entry.
f499395 ieframe: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.

svn path=/trunk/; revision=74807

3 years ago[UDFS]
Pierre Schweitzer [Sat, 3 Jun 2017 21:56:32 +0000 (21:56 +0000)]
[UDFS]
Don't use perf prints

svn path=/trunk/; revision=74806

3 years ago[UDFS]
Pierre Schweitzer [Sat, 3 Jun 2017 21:50:29 +0000 (21:50 +0000)]
[UDFS]
Revert r74780: it indeed works here, but when the problem happens in other places (it does!)
where it cannot be solved that way, we're doomed. It will be required to find an appropriate solution...

CORE-4375

svn path=/trunk/; revision=74805

3 years ago[UDFS]
Pierre Schweitzer [Sat, 3 Jun 2017 21:47:53 +0000 (21:47 +0000)]
[UDFS]
Attempt to fix MSVC build

CORE-4375

svn path=/trunk/; revision=74804

3 years ago[NTDLL][USER32]: Stub out two APIs that are called by Win32 dlls:
Hermès Bélusca-Maïto [Sat, 3 Jun 2017 20:26:26 +0000 (20:26 +0000)]
[NTDLL][USER32]: Stub out two APIs that are called by Win32 dlls:
- ntdll.dll: RtlConvertUiListToApiList(), which is a helper used by netapi32.dll;
- user32.dll: GetWinStationInfo() (that just calls into win32k), which is called by e.g. winmm.dll .

svn path=/trunk/; revision=74803

3 years ago[UDFS]
Pierre Schweitzer [Sat, 3 Jun 2017 20:09:21 +0000 (20:09 +0000)]
[UDFS]
Make the driver really less verbose by introducing two macros UDFPrint and UDFPrintErr
So far, because of sed -i, almost all KdPrint became UDFPrint. It would be interesting
to promote some to UDFPrintErr (if someone motivated ;-))

CORE-4375

svn path=/trunk/; revision=74802

3 years ago[UDFS]
Pierre Schweitzer [Sat, 3 Jun 2017 19:56:50 +0000 (19:56 +0000)]
[UDFS]
Fix broken code when UDF_DBG isn't set

CORE-4375

svn path=/trunk/; revision=74801

3 years ago[HTTPAPI] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 19:02:20 +0000 (19:02 +0000)]
[HTTPAPI] Sync with Wine Staging 2.9. CORE-13362

ef975ef httpapi: Add stub for HttpCreateServerSession.

svn path=/trunk/; revision=74800

3 years ago[PSDK] Update http.h. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 19:02:15 +0000 (19:02 +0000)]
[PSDK] Update http.h. CORE-13362

svn path=/trunk/; revision=74799

3 years ago[HLINK] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 19:02:10 +0000 (19:02 +0000)]
[HLINK] Sync with Wine Staging 2.9. CORE-13362

d5c3a31 hlink: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.

svn path=/trunk/; revision=74798

3 years ago[HHCTRL.OCX] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 19:02:05 +0000 (19:02 +0000)]
[HHCTRL.OCX] Sync with Wine Staging 2.9. CORE-13362

e5a12b7 hhcrtl.ocx: Fix some spec file entries.

svn path=/trunk/; revision=74797

3 years ago[GDIPLUS_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 19:01:59 +0000 (19:01 +0000)]
[GDIPLUS_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74796

3 years ago[GDIPLUS] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 19:01:50 +0000 (19:01 +0000)]
[GDIPLUS] Sync with Wine Staging 2.9. CORE-13362

11fc5c0 gdiplus: Prefer using pre-multiplied ARGB data in the scaler.
17162a9 gdiplus: Remove ceilf/floorf calls from bilinear scaler. (v2)
6bade0c gdiplus: Change multiplications by additions in the x/y scaler loops.
db49130 gdiplus: Change the order of x/y loops in the scaler.
9247b54 gdiplus: Set correct color space flags for grayscale images.
81ccd6b gdiplus: Force conversion of 8 bpp grayscale PNG images to 32 bpp BGRA.
4fe61f3 gdiplus: Ignore an externally set DC clipping region.
a188922 gdiplus: Ignore an externally set DC origin.
b8a8e1b gdiplus: Check SHADEBLENDCAPS only for printer devices.
c2a4f19 gdiplus: Fix compilation on systems that don't support nameless unions.
29a55bc gdiplus: Use software mode to draw semi-transparent lines when necessary.
c89de1d gdiplus: Use better naming for line alignment format field.
69b41e7 gdiplus: Fix generic string formats behavior.
a3f0a59 gdiplus: Avoid infinite recursion in flatten_bezier().
36c9ac3 gdiplus: Check for null in GdipGetFontHeight.
7f25431 gdiplus: Fix GdipCreateStreamOnFile spec file entry.
43e36d6 gdiplus: Simplify and standardize the heap_xxx() declarations.

svn path=/trunk/; revision=74795

3 years ago[DBGHELP] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 19:01:43 +0000 (19:01 +0000)]
[DBGHELP] Sync with Wine Staging 2.9. CORE-13362

d47c07d dbghelp: Avoid using isdigit() for WCHARs.
8d6cf80 dbghelp: Add support for char32_t type.
b316ac1 dbghelp: Add support for char16_t type.
74f05b8 dbghelp: Use the main module load address from the PEB.
329b176 dbghelp: Use debugstr_a() to trace a string that can be NULL.
4bbb252 dbghelp: Removed no longer needed psapi import.

svn path=/trunk/; revision=74794

3 years ago[INCLUDE/WINE] Update mscvpdb.h. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 19:01:38 +0000 (19:01 +0000)]
[INCLUDE/WINE] Update mscvpdb.h. CORE-13362

svn path=/trunk/; revision=74793

3 years ago[CRYPTNET] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 19:01:33 +0000 (19:01 +0000)]
[CRYPTNET] Sync with Wine Staging 2.9. CORE-13362

9a47398 cryptnet: Fix CryptGetObjectUrl spec file entry.

svn path=/trunk/; revision=74792

3 years ago[PSDK] Update cvconst.h. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:44:01 +0000 (18:44 +0000)]
[PSDK] Update cvconst.h. CORE-13362

svn path=/trunk/; revision=74791

3 years ago[CRYPT32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:37:38 +0000 (18:37 +0000)]
[CRYPT32_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74790

3 years ago[CRYPT32] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:37:28 +0000 (18:37 +0000)]
[CRYPT32] Sync with Wine Staging 2.9. CORE-13362

31943c4 crypt32: Add MS root CA 2010/2011.
148ece3 crypt32: Sort specfile.
71e6152 crypt32: Use isspaceW() instead of isspace() for WCHARs.

svn path=/trunk/; revision=74789

3 years ago[CABINET_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:37:22 +0000 (18:37 +0000)]
[CABINET_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74788

3 years ago[CREDUI] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:37:18 +0000 (18:37 +0000)]
[CREDUI] Sync with Wine Staging 2.9. CORE-13362

dc0a49f credui: Use SetRectEmpty() instead of memset().

svn path=/trunk/; revision=74787

3 years ago[AMSTREAM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:37:13 +0000 (18:37 +0000)]
[AMSTREAM_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74786

3 years ago[AVIFIL32] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:37:08 +0000 (18:37 +0000)]
[AVIFIL32] Sync with Wine Staging 2.9. CORE-13362

78c49a4 avifil32: Use SetRectEmpty() instead of memset().

svn path=/trunk/; revision=74785

3 years ago[ADVPACK_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:37:03 +0000 (18:37 +0000)]
[ADVPACK_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74784

3 years ago[ADVPACK] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:36:59 +0000 (18:36 +0000)]
[ADVPACK] Sync with Wine Staging 2.9. CORE-13362

a059696 advpack: Sort specfile.
c0b3703 advpack: Don't trace the contents of an output buffer (Valgrind).
31c1895 advpack: Fix some spec file entries.
2ed059a advpack: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().

svn path=/trunk/; revision=74783

3 years ago[QUARTZ] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:36:47 +0000 (18:36 +0000)]
[QUARTZ] Sync with Wine Staging 2.9. CORE-13362

1f765fb quartz: Remove an unnecessary if.

svn path=/trunk/; revision=74782

3 years ago[UDFS]
Pierre Schweitzer [Sat, 3 Jun 2017 18:29:44 +0000 (18:29 +0000)]
[UDFS]
Our current storage stack iteration considers that any CDROM is read-only and forces it.
Reflect that fact in UDFS; we cannot assume that our device won't be readonly.

CORE-4375

svn path=/trunk/; revision=74781

3 years ago[UDFS]
Pierre Schweitzer [Sat, 3 Jun 2017 18:12:25 +0000 (18:12 +0000)]
[UDFS]
HIde a bug in UDFQueueDelayedClose() by removing the boolean storing the fact
that VCB resource was (or not) acquired.
If you debug it, you see that in finally block, value is set to false on exit
without any reason: it is always acquired!
Given it's always acquired, just drop the boolean, but this doesn't explain the
root cause of this bug....

Here it helps avoiding deadlocks on directory listing on a DVD formatted with UDF

CORE-4375

svn path=/trunk/; revision=74780

3 years ago[DPLAYX_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:06:05 +0000 (18:06 +0000)]
[DPLAYX_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74779

3 years ago[DPLAYX] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:05:58 +0000 (18:05 +0000)]
[DPLAYX] Sync with Wine Staging 2.9. CORE-13362

2bb3636 dplayx: Skip over unknown DataTypes guids in EnumAddressTypes.

svn path=/trunk/; revision=74778

3 years ago[DMUSIC] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:05:52 +0000 (18:05 +0000)]
[DMUSIC] Sync with Wine Staging 2.9. CORE-13362

40a4a5c dmusic: Fail in CreatePort() if SetDirectSound() wasn't called.
62bf207 dmusic: Remove the port from the ports list on the port destruction.
3b4909f dmusic: Set the dsound pointer to NULL on an error path.
829ef41 dmusic: Fix compilation on systems that don't support nameless structs or unions.
43b3f84 dmusic: Add dsound handling to the synth port Activate() method.
f968edb dmusic: Partially implement the synth IDirectMusicPort::SetDirectSound().
e8873b7 dmusic: Pass only the needed stuff to the DMPort create functions.
36a88d2 dmusic: Implement IDirectMusic8::SetDirectSound().
b75e8bc dmusic: Use more sensible and consistent field names for IDirectMusic8Impl.
950b8a9 dmusic: Avoid an intermediate copy in PackStructured().
7cd7f14 dmusic: Implement IDirectMusicBuffer::PackUnstructured().
4fbae8e dmusic: Use DMUS_EVENT_SIZE() to calculate the size of the message.

svn path=/trunk/; revision=74777

3 years ago[DINPUT] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 18:05:46 +0000 (18:05 +0000)]
[DINPUT] Sync with Wine Staging 2.9. CORE-13362

e87ccb8 dinput: Assume a 1-to-1 axes map when no axes match.
41b126b dinput: Handle username in EnumDevicesBySemantics.
967399e dinput: Keep username same between device objects.

svn path=/trunk/; revision=74776

3 years ago[DEVENUM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 17:29:09 +0000 (17:29 +0000)]
[DEVENUM_WINETEST] Sync with Wine Staging 2.9. CORE-13362

svn path=/trunk/; revision=74775

3 years ago[DEVENUM] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 17:29:04 +0000 (17:29 +0000)]
[DEVENUM] Sync with Wine Staging 2.9. CORE-13362

7d07768 devenum: Populate AudioCompressorCategory.
116743c devenum: Implement IMoniker::IsEqual().
ff0a25c devenum: Use RegQueryValueExW instead of RegQueryValueW.
05ed831 devenum: Implement IMoniker::GetClassID().

svn path=/trunk/; revision=74774

3 years ago[IEXPLORE] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 17:28:59 +0000 (17:28 +0000)]
[IEXPLORE] Sync with Wine Staging 2.9. CORE-13362

79d01be iexplore: Follow translation version info to detect native IE.

svn path=/trunk/; revision=74773

3 years ago[XCOPY] Sync with Wine Staging 2.9. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 17:28:54 +0000 (17:28 +0000)]
[XCOPY] Sync with Wine Staging 2.9. CORE-13362

373604f xcopy: Avoid using isdigit() for WCHARs.

svn path=/trunk/; revision=74772

3 years ago[UDFS]
Pierre Schweitzer [Sat, 3 Jun 2017 16:54:18 +0000 (16:54 +0000)]
[UDFS]
Fix broken KdPrint

svn path=/trunk/; revision=74770

3 years ago[PSDK] Update asptlb.idl. CORE-13362
Amine Khaldi [Sat, 3 Jun 2017 15:44:58 +0000 (15:44 +0000)]
[PSDK] Update asptlb.idl. CORE-13362

svn path=/trunk/; revision=74765

3 years ago[SHELL32] CMenuDeskBar: Prevent destruction of the start menu when receiving a WM_CLO...
Mark Jansen [Sat, 3 Jun 2017 15:35:21 +0000 (15:35 +0000)]
[SHELL32] CMenuDeskBar: Prevent destruction of the start menu when receiving a WM_CLOSE message. CORE-12028

svn path=/trunk/; revision=74764

3 years ago[HIVESYS]: Add some missing PnP classes... But as it says, "Device classes (this...
Hermès Bélusca-Maïto [Sat, 3 Jun 2017 14:25:38 +0000 (14:25 +0000)]
[HIVESYS]: Add some missing PnP classes... But as it says, "Device classes (this list is incomplete... and should be generated from .inf files during installation)" <-- the INFs in question are the INF hardware files in the media/inf directory.

svn path=/trunk/; revision=74761

3 years ago[KERNEL32] Fix IsShimInfrastructureDisabled. CORE-13352
Mark Jansen [Sat, 3 Jun 2017 13:06:32 +0000 (13:06 +0000)]
[KERNEL32] Fix IsShimInfrastructureDisabled. CORE-13352

svn path=/trunk/; revision=74760

3 years ago[KMTESTS:MM]
Pierre Schweitzer [Sat, 3 Jun 2017 10:29:39 +0000 (10:29 +0000)]
[KMTESTS:MM]
Test various sizes with MmMapLockedPagesSpecifyCache() to show that behavior is strictly identical.
This was designed/tested under W2K3.

CORE-8204

svn path=/trunk/; revision=74759

3 years ago[KERNEL32_APITEST]
Thomas Faber [Sat, 3 Jun 2017 07:05:31 +0000 (07:05 +0000)]
[KERNEL32_APITEST]
- Add tests for IsDBCSLeadByteEx. Patch by Katayama Hirofumi MZ.
ROSTESTS-281 #resolve

svn path=/trunk/; revision=74758

3 years ago[LOCALSPL]
Thomas Faber [Sat, 3 Jun 2017 06:46:34 +0000 (06:46 +0000)]
[LOCALSPL]
- Fix out-of-bounds access in _LocalGetPrinterLevel5. Patch by Ivan Rodionov.
CORE-13356 #resolve

svn path=/trunk/; revision=74757

3 years ago[MSWSOCK] Revert r74753 and r74755 as it showed regressions
Peter Hater [Sat, 3 Jun 2017 00:30:20 +0000 (00:30 +0000)]
[MSWSOCK] Revert r74753 and r74755 as it showed regressions

svn path=/trunk/; revision=74756

3 years ago[MSWSOCK] Rearrange the function places to avoid forward declarations and code formatting
Peter Hater [Fri, 2 Jun 2017 21:57:37 +0000 (21:57 +0000)]
[MSWSOCK] Rearrange the function places to avoid forward declarations and code formatting

svn path=/trunk/; revision=74755

3 years ago[NETAPI32]
Eric Kohl [Fri, 2 Jun 2017 21:56:17 +0000 (21:56 +0000)]
[NETAPI32]
- Implement NetShareEnum, NetShareEnumSticky, NetShareGetInfo and NetShareSetInfo. These functions call their counterparts in the server service.
- NetShareAdd: Fix the level check.

svn path=/trunk/; revision=74754

3 years ago[MSWSOCK] Add wine debug messages on mswsock debug channel.
Peter Hater [Fri, 2 Jun 2017 21:01:47 +0000 (21:01 +0000)]
[MSWSOCK] Add wine debug messages on mswsock debug channel.
Better cleanup some failure paths.
Fix some error codes.
Add some error checks.
Add some comments.

svn path=/trunk/; revision=74753

3 years ago[NETAPI32]
Eric Kohl [Fri, 2 Jun 2017 20:02:49 +0000 (20:02 +0000)]
[NETAPI32]
- Implement NetShareAdd, NetShareCheck, NetShareDel and NetShareDelSticky. These functions call their counterparts in the server service.
- Add stubs for NetShareEnum, NetShareEnumSticky, NetShareGetInfo and NetShareSetInfo.
- Get rid of the NetShare wine stubs.

svn path=/trunk/; revision=74752

3 years ago[KMTESTS:MM]
Pierre Schweitzer [Fri, 2 Jun 2017 19:19:32 +0000 (19:19 +0000)]
[KMTESTS:MM]
Add tests for MmMapLockedPagesSpecifyCache() functions, and more specifically for usermode mapping.
This was designed/tested under W2K3.

CORE-8204

svn path=/trunk/; revision=74751

3 years ago[MSWSOCK] Call explicitly DnsQuery_W. Copy host aliases if available as answer from...
Peter Hater [Fri, 2 Jun 2017 17:52:20 +0000 (17:52 +0000)]
[MSWSOCK] Call explicitly DnsQuery_W. Copy host aliases if available as answer from the query

svn path=/trunk/; revision=74750

3 years ago[USETUP]: Creating a registry key with zero access is just plainly invalid. Fix it...
Hermès Bélusca-Maïto [Fri, 2 Jun 2017 00:44:04 +0000 (00:44 +0000)]
[USETUP]: Creating a registry key with zero access is just plainly invalid. Fix it. It was not caught before because, we never ever booted a 1st-stage setup with a valid mounted existing SYSTEM key (as Windows does).

svn path=/trunk/; revision=74742

3 years ago[MKHIVE]: Fix string byte size vs. count in number of characters confusion in append_...
Hermès Bélusca-Maïto [Fri, 2 Jun 2017 00:05:53 +0000 (00:05 +0000)]
[MKHIVE]: Fix string byte size vs. count in number of characters confusion in append_multi_sz_value(); this was already OK in wine's code. Should fix corrupted multi-string entries in the livecd registry hives, for example...
In addition, always open the hive file to be created in write mode only.
CORE-13347

svn path=/trunk/; revision=74740

3 years ago[MKHIVE]: Formatting changes only + sync back the names of the reg-inf functions...
Hermès Bélusca-Maïto [Fri, 2 Jun 2017 00:00:37 +0000 (00:00 +0000)]
[MKHIVE]: Formatting changes only + sync back the names of the reg-inf functions with the ones where they are coming from (aka. Wine's setupapi/install.c).

svn path=/trunk/; revision=74739

3 years ago[MKHIVE]: Implement CmpFileRead().
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 23:54:08 +0000 (23:54 +0000)]
[MKHIVE]: Implement CmpFileRead().

svn path=/trunk/; revision=74738

3 years ago[RDBSS]
Pierre Schweitzer [Thu, 1 Jun 2017 21:37:08 +0000 (21:37 +0000)]
[RDBSS]
Fix uninit var usage

CORE-13345
CORE-11327

svn path=/trunk/; revision=74737

3 years ago[BUGCODES]: Move our MORAL_EXCEPTION_ERROR BSOD to where it should really belong...
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 20:20:25 +0000 (20:20 +0000)]
[BUGCODES]: Move our MORAL_EXCEPTION_ERROR BSOD to where it should really belong (aka BSOD 0x9A) (see https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0x9a--system-license-violation why). BSOD 0x7C is however legit: BUGCODE_NDIS_DRIVER.

svn path=/trunk/; revision=74736

3 years ago[NTOS]: Better clean up behind ourselves on failure paths (aka. closing handles)...
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 18:37:48 +0000 (18:37 +0000)]
[NTOS]: Better clean up behind ourselves on failure paths (aka. closing handles). These functions are clearly not written with correct cleanup-on-failure concept in mind...

svn path=/trunk/; revision=74735

3 years ago[NTOS]: Code formatting only.
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 18:35:48 +0000 (18:35 +0000)]
[NTOS]: Code formatting only.

svn path=/trunk/; revision=74734

3 years ago[NTOS]: Minor code formatting + don't leak a handle in case of failure, in CmpInitial...
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 18:27:41 +0000 (18:27 +0000)]
[NTOS]: Minor code formatting + don't leak a handle in case of failure, in CmpInitializeHardwareConfiguration().

svn path=/trunk/; revision=74733

3 years ago[HAL]
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 17:31:23 +0000 (17:31 +0000)]
[HAL]
Update the PCI hardware IDs database. Extracted from the pci.ids database from http://pci-ids.ucw.cz/ from 2017-05-25 03:15:02
Maintained by Albert Pool, Martin Mares, and other volunteers from the PCI ID Project.

svn path=/trunk/; revision=74732

3 years ago[MSWSOCK] Unstub AcceptEx and GetAcceptExSockaddrs. Note that real implementation...
Peter Hater [Thu, 1 Jun 2017 15:25:25 +0000 (15:25 +0000)]
[MSWSOCK] Unstub AcceptEx and GetAcceptExSockaddrs. Note that real implementation in msafd is not available, so result will still be FALSE

svn path=/trunk/; revision=74731

3 years ago[MSWSOCK] Change functions to be able to use control flags with DnsQuery.
Peter Hater [Thu, 1 Jun 2017 15:22:06 +0000 (15:22 +0000)]
[MSWSOCK] Change functions to be able to use control flags with DnsQuery.
Add host aliases to hostent if available and requested.
Only copy servent aliases if available and requested.

svn path=/trunk/; revision=74730

3 years ago[ACPICA]
Thomas Faber [Thu, 1 Jun 2017 10:54:48 +0000 (10:54 +0000)]
[ACPICA]
- Update to version 20170531
CORE-13348 #resolve

svn path=/trunk/; revision=74729

3 years ago[MSAFD] Don't try to accept on non listening socket. Return WSAEINVAL
Peter Hater [Thu, 1 Jun 2017 09:41:19 +0000 (09:41 +0000)]
[MSAFD] Don't try to accept on non listening socket. Return WSAEINVAL

svn path=/trunk/; revision=74728

3 years ago[MSWSOCK] Update network protocols. Patch by Marco Savelli. CORE-13320 #resolve
Peter Hater [Thu, 1 Jun 2017 09:00:32 +0000 (09:00 +0000)]
[MSWSOCK] Update network protocols. Patch by Marco Savelli. CORE-13320 #resolve

svn path=/trunk/; revision=74727

3 years ago[FREELDR/WINLDR]: Rework LoadModule() so that we can load custom kernels & hals via...
Hermès Bélusca-Maïto [Wed, 31 May 2017 18:40:29 +0000 (18:40 +0000)]
[FREELDR/WINLDR]: Rework LoadModule() so that we can load custom kernels & hals via the /KERNEL= and /HAL= boot option switches.

svn path=/trunk/; revision=74725

3 years ago[RXCE]
Pierre Schweitzer [Wed, 31 May 2017 17:10:45 +0000 (17:10 +0000)]
[RXCE]
Fix broken cast
By Thomas

svn path=/trunk/; revision=74724

3 years ago[DDK]
Pierre Schweitzer [Wed, 31 May 2017 17:02:44 +0000 (17:02 +0000)]
[DDK]
sed -i s/__volatile/volatile/g to fix build with VS2010

CORE-13345

svn path=/trunk/; revision=74723

3 years ago[NTOS]: Underline the fact that CmpGetRegistryPath (especially when being run in...
Hermès Bélusca-Maïto [Wed, 31 May 2017 00:03:33 +0000 (00:03 +0000)]
[NTOS]: Underline the fact that CmpGetRegistryPath (especially when being run in 1st-stage text mode) is just a big hack (introduced in r3794 and r3795). I however need to monitor its output for the moment...

svn path=/trunk/; revision=74709