Commit graph

68776 commits

Author SHA1 Message Date
Amine Khaldi 100b1d6e92 [USP10] Sync with Wine Staging 2.9. CORE-13362
30e8768 usp10: Validate substition record sequence indices in GSUB_apply_ContextSubst().
ebe75cb usp10: Simplify the "sr_2" assignments in GSUB_apply_ContextSubst().
6c13170 usp10: Range check glyph counts in GSUB_apply_ContextSubst().
c5619be usp10: Validate positioning record sequence indices in GPOS_apply_ContextPos().
82d36ba usp10: Simplify the "pr_2" assignment in GPOS_apply_ContextPos().
1b02c1a usp10: Range check glyph counts in GPOS_apply_ContextPos().
d1ca880 usp10: Validate substition record sequence indices in GSUB_apply_ChainContextSubst().
34a9400 usp10: Validate positioning record sequence indices in GPOS_apply_ChainContextPos().
9694aeb usp10: Avoid special handling if the substitution count is 0 in GSUB_apply_ChainContextSubst().
f7b943e usp10: Range check glyph counts in GSUB_apply_ChainContextSubst().
24943fe usp10: Simplify the chaining context table assignments in GSUB_apply_ChainContextSubst().
02316e6 usp10: Rename the chaining context tables in GSUB_apply_ChainContextSubst() to something more descriptive.
0389768 usp10: Return early if the number of positioning operations is 0 in GPOS_apply_ChainContextPos().
7dfe9b9 usp10: Range check glyph counts in GPOS_apply_ChainContextPos().
f6c0146 usp10: Simplify the chaining context table assignments in GPOS_apply_ChainContextPos().
fb3ea0a usp10: Rename the chaining context tables in GPOS_apply_ChainContextPos() to something more descriptive.
04e5466 usp10: Handle invalid arguments in ScriptIsComplex().
4553871 usp10: Check if corresponding headers are present before accessing their feature lists in _initialize_feature_cache.
63bcfa3 usp10: Get rid of the code duplication between GSUB_initialize_feature_cache() and GPOS_expand_feature_cache().
9b0f3f1 usp10: Get rid of some code duplication in GPOS_expand_feature_cache().
0ffd5b4 usp10: Double the languages array size when growing it in GPOS_expand_language_cache().
218be44 usp10: Double the scripts array size when growing it in GPOS_expand_script_cache().
9a15753 usp10: Introduce a helper function to lookup a language in a LoadedScript structure.
2a0ffc9 usp10: Introduce a helper function to lookup a script in the script cache.
213d358 usp10: Avoid LPVOID.
1403087 usp10: Avoid LPCVOID.
a204e58 usp10: Avoid LPWSTR.
cdd47c3 usp10: Avoid LPCWSTR.
af617aa usp10: Avoid LPBYTE.
34c2f74 usp10: Avoid LPWORD.
ab8ec60 usp10: Avoid LPPOINT.
ba66b62 usp10: Avoid LPOUTLINETEXTMETRICW.
df21247 usp10: Make the script cache parameter to get_opentype_script() const.
c8f87ad usp10: Make the script cache parameter to GPOS_apply_MarkToBase() const.
cd9db34 usp10: Pass const metrics to GPOS_convert_design_units_to_device().
c3dc9ed usp10: Use heap_free() instead of HeapFree().
6a0e5bb usp10: Use heap_alloc() instead of HeapAlloc().
77e5a2f usp10: Use heap_alloc_zero() instead of HeapAlloc() with HEAP_ZERO_MEMORY.
3c704c2 usp10: Use bsearch() to lookup the script range in get_char_script().
a523b46 usp10: Introduce an enumeration for script types.
502d239 usp10: Do not fall back to presentation form B if the contextual feature exists in ContextualShape_Arabic().
f13dea5 usp10: Properly determine the glyph run direction when shaping Script_Arabic.
c94a5fd usp10: Take the script direction into account when applying OpenType features.
1727dd4 usp10: Use USP10_FindGlyphInLogClust() in UpdateClusters().
bab506e usp10: Use memmove() in GSUB_apply_LigatureSubst().
66df220 usp10: Make feature tables const.
b32fb23 usp10: Fix ScriptGetProperties spec file entry.
1a42ee3 usp10: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
892393b usp10: Filter out DeltaFormat == 0 too, valid range is [1, 3].
66dce1e usp10: Introduce an enumeration for GSUB lookup types.
fefd151 usp10: Ignore device tables with invalid delta format.
b6d541c usp10: Iterate in visual order in GPOS_apply_feature().
6fec9b1 usp10: Return the logical offset in GPOS_apply_lookup().
8d15667 usp10: Return the logical offset in GPOS_apply_ChainContextPos().
2210196 usp10: Return the logical offset in GPOS_apply_ContextPos().
6e84358 usp10: Return the logical offset in GPOS_apply_PairAdjustment().
61e8a38 usp10: Introduce an enumeration for GPOS lookup types.
4b22953 usp10: Properly get glyph widths for OpenType fonts in ScriptPlaceOpenType().

svn path=/trunk/; revision=74851
2017-06-04 01:46:51 +00:00
Amine Khaldi 83eaf4cbac [URLMON_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74850
2017-06-04 01:46:38 +00:00
Amine Khaldi a905c2dc5b [URLMON] Sync with Wine Staging 2.9. CORE-13362
700010f urlmon: Fix some spec file entries.
c1ae3db urlmon: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
9c4ac7f urlmon: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().

svn path=/trunk/; revision=74849
2017-06-04 01:46:26 +00:00
Amine Khaldi f41d8818ce [SHLWAPI_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74848
2017-06-03 22:40:14 +00:00
Amine Khaldi 4a2db60d45 [SHLWAPI] Sync with Wine Staging 2.9. CORE-13362
98d0fa9 shlwapi: Use isalnumW() instead of isalnum() for WCHARs.
dfb846c shlwapi: Fixed error handling in StrRetToBufW.

svn path=/trunk/; revision=74847
2017-06-03 22:39:50 +00:00
Amine Khaldi e80a0f88e0 [SCRRUN_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74846
2017-06-03 22:39:28 +00:00
Amine Khaldi f3782aaf23 [SCRRUN] Sync with Wine Staging 2.9. CORE-13362
f601660 scrrun: Added DateLastModified property for IFile.

svn path=/trunk/; revision=74845
2017-06-03 22:38:57 +00:00
Amine Khaldi 1866b31f5e [RSAENH_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74844
2017-06-03 22:38:34 +00:00
Amine Khaldi 81bce5b365 [RSAENH] Sync with Wine Staging 2.9. CORE-13362
e705dfc rsaenh: Don't import a public key to a key container.

svn path=/trunk/; revision=74843
2017-06-03 22:38:03 +00:00
Amine Khaldi 3a2d3f54c7 [RICHED20_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74842
2017-06-03 22:37:05 +00:00
Amine Khaldi 5c6a327cb8 [RICHED20] Sync with Wine Staging 2.9. CORE-13362
d4b1938 riched20: Only write out non-default pattern colours.
5f3772a riched20: Don't compare the colours if the old and new states are both auto.
6bcf4d6 riched20: Add linefeeds after the colortbl and generator groups.
8b79854 riched20: Remove a hack that should be longer be needed.
3d291dd riched20: Write the char format for the end-of-paragraph marker.

svn path=/trunk/; revision=74841
2017-06-03 22:36:44 +00:00
Amine Khaldi 35e1e225d6 [REGEDIT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74840
2017-06-03 22:36:19 +00:00
Amine Khaldi 4d8caff209 [QUARTZ_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74839
2017-06-03 22:36:05 +00:00
Amine Khaldi 8454158975 [PSAPI_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74838
2017-06-03 22:35:45 +00:00
Amine Khaldi 16a6deef46 [PROPSYS_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74837
2017-06-03 22:35:33 +00:00
Amine Khaldi c547bb4ae4 [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
2017-06-03 22:35:14 +00:00
Amine Khaldi 24ff00e99b [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
2017-06-03 22:35:01 +00:00
Amine Khaldi 28c0ee0f60 [OPENGL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74834
2017-06-03 22:34:42 +00:00
Amine Khaldi 9b660289c6 [OLEDLG] Sync with Wine Staging 2.9. CORE-13362
0028360 oledlg: Use W-functions to access window property.

svn path=/trunk/; revision=74833
2017-06-03 22:34:33 +00:00
Amine Khaldi 2f788a0264 [OLEAUT32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74832
2017-06-03 22:34:23 +00:00
Amine Khaldi 09236d66df [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
2017-06-03 22:34:09 +00:00
Amine Khaldi 82997f0e3b [OLE32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74830
2017-06-03 22:33:48 +00:00
Amine Khaldi e1f8933518 [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
2017-06-03 22:33:33 +00:00
Amine Khaldi 3152f3df52 [ODBCCP32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74828
2017-06-03 22:33:08 +00:00
Amine Khaldi 20c0e9f71f [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
2017-06-03 22:32:52 +00:00
Amine Khaldi 37f0182a2b [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
2017-06-03 22:32:33 +00:00
Amine Khaldi df088c988e [NTPRINT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74825
2017-06-03 22:32:11 +00:00
Amine Khaldi 8890301a84 [NETAPI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74824
2017-06-03 22:31:54 +00:00
Amine Khaldi fd26e762c0 [MSXML3_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74823
2017-06-03 22:31:39 +00:00
Amine Khaldi 09bc8f6843 [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
2017-06-03 22:31:11 +00:00
Amine Khaldi a99ab25ade [MSVFW32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74821
2017-06-03 22:30:54 +00:00
Amine Khaldi 7a5517640f [MSTASK_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74820
2017-06-03 22:30:32 +00:00
Amine Khaldi 4988f293f8 [MSI_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74819
2017-06-03 22:30:19 +00:00
Amine Khaldi 69571f3303 [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
2017-06-03 22:29:55 +00:00
Amine Khaldi 04488bf33d [MSCTF_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74817
2017-06-03 22:29:38 +00:00
Amine Khaldi 18ce9d2c37 [MSCMS] Sync with Wine Staging 2.9. CORE-13362
cd55d5d mscms: Fix some spec file entries.

svn path=/trunk/; revision=74816
2017-06-03 22:29:30 +00:00
Amine Khaldi e798892743 [MPR_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74815
2017-06-03 22:29:16 +00:00
Amine Khaldi 9f53283069 [MLANG_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74814
2017-06-03 22:29:06 +00:00
Amine Khaldi 3f34a77f7b [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
2017-06-03 22:28:56 +00:00
Amine Khaldi dac59d58ed [JSCRIPT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74812
2017-06-03 22:28:34 +00:00
Amine Khaldi 96d090509e [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
2017-06-03 22:28:19 +00:00
Amine Khaldi 7a8fa2cc0e [IMM32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74810
2017-06-03 22:28:03 +00:00
Amine Khaldi 60751dbf95 [INETCOMM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74809
2017-06-03 22:27:55 +00:00
Amine Khaldi acfef1de4a [INETCOMM] Sync with Wine Staging 2.9. CORE-13362
dcc545b inetcomm: Fixed buffer leak on error path (Coverity).

svn path=/trunk/; revision=74808
2017-06-03 22:27:45 +00:00
Amine Khaldi 8de656fc77 [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
2017-06-03 22:27:36 +00:00
Pierre Schweitzer fb9fc24487 [UDFS]
Don't use perf prints

svn path=/trunk/; revision=74806
2017-06-03 21:56:32 +00:00
Pierre Schweitzer 52d2b0fff1 [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
2017-06-03 21:50:29 +00:00
Pierre Schweitzer 6045d865f8 [UDFS]
Attempt to fix MSVC build

CORE-4375

svn path=/trunk/; revision=74804
2017-06-03 21:47:53 +00:00
Hermès Bélusca-Maïto d144147237 [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
2017-06-03 20:26:26 +00:00
Pierre Schweitzer c3265cc215 [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
2017-06-03 20:09:21 +00:00