Commit graph

69630 commits

Author SHA1 Message Date
Pierre Schweitzer 4cbe35070d [FASTFAT]
Notify in case of attributes/dates changes

svn path=/trunk/; revision=75918
2017-09-21 09:47:13 +00:00
Pierre Schweitzer 8e33b21e34 [FASTFAT]
Misc fixes:
- Only set file attributes if they changed
- Fail to set attributes if directory attribute is asked for a file
- Perform file attributes setting before dates to allow safe fail

svn path=/trunk/; revision=75917
2017-09-21 09:45:23 +00:00
Pierre Schweitzer d8753f3e88 [KMTESTS:KERNEL32]
Magic values--;

svn path=/trunk/; revision=75916
2017-09-21 08:52:27 +00:00
Pierre Schweitzer 31316a72ad [KERNEL32]
Rewrite GetFileAttributesW() to make it simpler and more accurate.
Make GetFileAttributesA() call GetFileAttributesW()
This fixes the last failing tests from r75236.

CORE-13495

svn path=/trunk/; revision=75915
2017-09-20 16:38:48 +00:00
Pierre Schweitzer 2a7d12c9c0 [KERNEL32]
Rewrite SetFileAttributesW() to make it W2K3 compliant.
Notable improvements:
- Supports reparse points
- Doesn't query attributes to set them (speedup!)

This fixes a few failures in tests committed in r75236.

CORE-13495

svn path=/trunk/; revision=75914
2017-09-20 16:13:15 +00:00
Pierre Schweitzer 64047e551c [FSUTIL]
Implement fsutil volume diskfree

svn path=/trunk/; revision=75913
2017-09-20 11:41:28 +00:00
Eric Kohl 0cf7641a8e explorer: Improve Japanese resource
Patch by Katayama Hirofumi MZ.
CORE-13809

svn path=/trunk/; revision=75912
2017-09-20 10:35:55 +00:00
Pierre Schweitzer 2ac2acf2d7 [VFATLIB]
Fix a really bad bug in VfatChkdsk(), the routine used to check a volume:
In case readwrite is enabled (ie, volume fixing is allowed), when the volume is opened, it is also locked.
If the volume has the clean shutdown bit and is to be checked only if that one is not set, then the volume lock is leaked.
This makes the volume then totally unusable later on (any later open will fail).

Because r75772 fixed volume locking on non-system partition, this totally broke (access denied) any secondary FAT volume in ROS.

Now, we just properly release the lock when required, also made a comment more explicit to avoid later bugs like that.

CORE-13805

svn path=/trunk/; revision=75911
2017-09-20 08:45:28 +00:00
Pierre Schweitzer 84fd9647d3 [FSUTIL]
Implement fsutil volume dismount

CORE-13805

svn path=/trunk/; revision=75910
2017-09-20 08:15:10 +00:00
Pierre Schweitzer 2bcf27a7d0 [FSUTIL]
Define handlers type

svn path=/trunk/; revision=75909
2017-09-20 07:50:48 +00:00
Pierre Schweitzer 0fa3874c25 [FASTFAT]
Only perform dismount check on close/cleanup for volume opening.
This prevents random dismounts and fixes 1st stage when ENABLE_SWAPOUT is enabled in FastFAT (disabled by default).

CORE-13805

svn path=/trunk/; revision=75908
2017-09-19 21:19:55 +00:00
Thomas Faber 67b277f50f [USBPORT]
- Simplify some loops in USBPORT_OpenInterface. No logical changes

svn path=/trunk/; revision=75907
2017-09-18 12:01:12 +00:00
Thomas Faber f8f16e6698 [USBPORT]
- Rename NumInterfaces to NumEndpoints in USBPORT_OpenInterface

svn path=/trunk/; revision=75906
2017-09-18 11:50:42 +00:00
Amine Khaldi 194b4799ae [URLMON_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75903
2017-09-17 22:58:07 +00:00
Amine Khaldi 51e0becc32 [URLMON] Sync with Wine Staging 2.16. CORE-13762
5660a9b urlmon: Remove a redundant NULL check before SysFreeString().
acb1f03 urlmon: Support BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS in BindProtocol object.
ccc5ba2 urlmon: Added a helper function for releasing protocol handler.
cded077 urlmon: Release previously set URI in BindProtocol::StartEx.
9e92254 urlmon: Added support for BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS in http protocol handler.

svn path=/trunk/; revision=75902
2017-09-17 22:58:01 +00:00
Amine Khaldi 24a6fd76cb [PSDK] Update urlmon.idl. CORE-13762
svn path=/trunk/; revision=75901
2017-09-17 22:57:54 +00:00
Amine Khaldi 9aead4c3e9 [SXS] Sync with Wine Staging 2.16. CORE-13762
3c4f6ed sxs: Use standard wine_dbgstr_longlong.

svn path=/trunk/; revision=75900
2017-09-17 22:57:49 +00:00
Amine Khaldi dd8abae2c1 [RPCRT4_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75899
2017-09-17 22:57:43 +00:00
Amine Khaldi 0ee2ebaf78 [RPCRT4] Sync with Wine Staging 2.16. CORE-13762
2d9e894 rpcrt4: Always protect ref access for connections associated with protseq in RPCRT4_ReleaseConnection.
aea6d23 rpcrt4: Mark function that are only called from assembly as hidden.
bea5c0c rpcrt4: Spelling fixes in comments.
2cb32b2 rpcrt4: Change RPCRT4_ReleaseConnection return type to void.
e889b02 rpcrt4: Fix a race when server grabs a connection from the list of active connections.
09e98be rpcrt4: Wait for server threads to finish in RpcMgmtWaitServerListen.
e98c7a5 rpcrt4: Wait for all active connections to be released before quiting server thread.
10a6b33 rpcrt4: Recreate listening pipe in rpcrt4_protseq_np_get_wait_array if needed.
5c2083f rpcrt4: Store listening pipe name in RpcConnection_np.
5c81f82 rpcrt4: Store server thread handle in RpcServerProtseq.

svn path=/trunk/; revision=75898
2017-09-17 22:57:32 +00:00
Amine Khaldi c615faa665 [RICHED20_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75897
2017-09-17 22:57:24 +00:00
Amine Khaldi ec29185ee5 [RICHED20] Sync with Wine Staging 2.16. CORE-13762
58cac9c riched20: Remove the separate implementation of IOleWindow as IOleInPlaceSite inherits from IOleWindow.
adf53a9 riched20: Add support for pasting EMFs.
bbf34a4 riched20: Use the implementation of EM_PASTESPECIAL for EM_CANPASTE.
46fef3d riched20: Use the implementation of EM_PASTESPECIAL for WM_PASTE.
9bec53f riched20: Add support for EM_PASTESPECIAL.
417c80d riched20: Don't create a special richedit ole instance for the RTF parser.
1bc48be riched20: Initialize ME_TextEditor members in ME_MakeEditor().
5cc8c9f riched20: Retrieve the default paragraph alignment from the text host.
4cb7578 riched20: Move the editor initialization out of CreateTextHost().
2d91663 riched20: New high resolution cursor generated from SVG.
17b7cde riched20: The background colour is set using \highlight.

svn path=/trunk/; revision=75896
2017-09-17 22:57:18 +00:00
Amine Khaldi ac45094d68 [PROPSYS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75895
2017-09-17 22:57:07 +00:00
Amine Khaldi f20aa39c5f [PROPSYS] Sync with Wine Staging 2.16. CORE-13762
7960ed9 propsys: Don't use the format string size as buffer size.

svn path=/trunk/; revision=75894
2017-09-17 22:56:55 +00:00
Amine Khaldi 212b13d23c [OLEAUT32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75893
2017-09-17 22:56:47 +00:00
Amine Khaldi 1fdf9e8b55 [OLEAUT32] Sync with Wine Staging 2.16. CORE-13762
8da116d oleaut32: Don't copy uninitialized data.
0dde882 oleaut32: Use variable with the correct type in LIST_FOR_EACH_ENTRY_SAFE macro.
840ab7c oleaut32: Simplify VarCat implementation.
538e46a oleaut32: Improve support for IDispatch in VarCat.
cf45f3b oleaut32: Add an arguments check to LoadTypeLibEx.
4be8d83 oleaut32: Make VARIANT_GetLocalisedText() static.

svn path=/trunk/; revision=75892
2017-09-17 22:56:37 +00:00
Amine Khaldi ddc5ae090a [OLE32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75891
2017-09-17 22:56:20 +00:00
Amine Khaldi 7634613083 [OLE32] Sync with Wine Staging 2.16. CORE-13762
a56bc8f ole32: Store proxy/stub CLSIDs per process, not per apartment.
3b44927 ole32: New high resolution cursors generated from SVG.
5a3b87a ole32: Avoid null pointer dereferences in CoGetTreatAsClass.
13c6d37 ole32: Add stub for OleGetIconOfFile.
33a720b ole32: InitNew() should fail if there is a current storage.
966e8a2 ole32: Create initial cache entries for the CLSID_Picture_ classes.
111b72f ole32: Add the ability to create an entry without returning it.
705ccd7 ole32: Start allocating regular cache entries with id of 2.
0267564 ole32: Fix incorrectly assigned member in the presentation stream.
85a1309 ole32: Make bitmap_info_size() static.

svn path=/trunk/; revision=75890
2017-09-17 22:56:11 +00:00
Amine Khaldi 88ff4126bc [MSIMG32] Sync with Wine Staging 2.16. CORE-13762
f77bf35 msimg32: Label ordinals.

svn path=/trunk/; revision=75889
2017-09-17 22:55:42 +00:00
Eric Kohl 77c2852a86 syssetup: Improve Japanese translation
Patch by Katayama Hirofumi MZ.
CORE-13785

svn path=/trunk/; revision=75888
2017-09-17 22:55:33 +00:00
Amine Khaldi 228f385b07 [MSACM32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75887
2017-09-17 22:55:26 +00:00
Amine Khaldi 2eca02f322 [MSACM32] Sync with Wine Staging 2.16. CORE-13762
993faf5 msacm32: Implement ACMFORMATCHOOSE_STYLEF_INITTOWFXSTRUCT.
84e61e6 msacm32: Add invalid parameter checks for acmFormatChoose().
5e2c243 msacm32: Don't add a format entry if it is decode-only.
cadedd7 msacm32: Rewrite PCM conversion functions.
7493364 msacm32: Check correct variable.
ab2760e msacm32: Try to suggest PCM to PCM conversion first.
8e88af3 msacm32: Add more invalid parameter checks for acmFormatSuggest().
1e30f79 msacm32: Add invalid parameter checks for acmFormatDetails().
c984aa5 msacm32: Add more invalid parameter checks for acmFormatEnum().
4e0c370 msacm32: Don't write cbSize if the format is WAVE_FORMAT_PCM.

svn path=/trunk/; revision=75886
2017-09-17 22:55:04 +00:00
Amine Khaldi dd68529ca0 [MAPI32] Sync with Wine Staging 2.16. CORE-13762
b0a31c3 mapi32: A spelling fix in a comment.

svn path=/trunk/; revision=75885
2017-09-17 22:54:52 +00:00
Amine Khaldi f3e05d3f32 [JSPROXY] Sync with Wine Staging 2.16. CORE-13762
a79c6a8 jsproxy: Label ordinals.

svn path=/trunk/; revision=75884
2017-09-17 22:54:44 +00:00
Amine Khaldi 438c6a92bc [JSCRIPT_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75883
2017-09-17 22:54:31 +00:00
Amine Khaldi b78d31eea4 [JSCRIPT] Sync with Wine Staging 2.16. CORE-13762
c25208f jscript: Added support for VT_R4 VARIANT types.
5c8c4d9 jscript: A spelling fix in a comment.

svn path=/trunk/; revision=75882
2017-09-17 22:54:24 +00:00
Amine Khaldi c6b07cf471 [INETCOMM_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75881
2017-09-17 22:54:17 +00:00
Amine Khaldi a9ac902402 [INETCOMM] Sync with Wine Staging 2.16. CORE-13762
fe6367a inetcomm: Implemented IMimeBody::GetClassID().
5557081 inetcomm: Release previously set data (Valgrind).

svn path=/trunk/; revision=75880
2017-09-17 22:54:12 +00:00
Amine Khaldi 6a84c2d5cb [IMAADP32.ACM] Sync with Wine Staging 2.16. CORE-13762
0f0fb98 imaadp32.acm: Fix nibble ordering.
2a1c1a4 imaadp32.acm: Fix block size calculations.

svn path=/trunk/; revision=75879
2017-09-17 22:54:07 +00:00
Amine Khaldi d848cc9cc3 [COMCTL32] Addendum to r75862. CORE-13762
svn path=/trunk/; revision=75878
2017-09-17 22:54:01 +00:00
Eric Kohl a7f1e83942 desk.cpl: Improve Japanese translation
Patch by Katayama Hirofumi MZ.
CORE-13784

svn path=/trunk/; revision=75877
2017-09-17 22:50:06 +00:00
Eric Kohl a5e393fe66 devmgr: Japanese translation
Patch by Katayama Hirofumi MZ.
CORE-13783

svn path=/trunk/; revision=75876
2017-09-17 22:41:08 +00:00
Eric Kohl 53b96724e4 SysSetup: Russian translation of Theme dialog
Patch by amber.
CORE-13708

svn path=/trunk/; revision=75875
2017-09-17 22:23:24 +00:00
Eric Kohl fd8f7eb653 TRANSLATION: Update Polish translation
Patch by Marcin Mikołajczak.
CORE-13750

svn path=/trunk/; revision=75874
2017-09-17 22:11:50 +00:00
Amine Khaldi 73232b5227 [GDIPLUS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75873
2017-09-17 12:34:24 +00:00
Amine Khaldi c6f32e4a5f [GDIPLUS] Sync with Wine Staging 2.16. CORE-13762
6bf1b63 gdiplus: Account for gdi32 transform in SOFTWARE_GdipDrawThinPath.
e127101 gdiplus: Send paths to gdi32 in device coordinates.
93e8507 gdiplus: Account for gdi32 transform in GdipDrawImage.
be95252 gdiplus: Use SOFTWARE_GdipDrawPath with alpha hdc's.
0914f62 gdiplus: Account for gdi transform in brush_fill_pixels.
399fd55 gdiplus: Account for gdi transform in SOFTWARE_GdipFillRegion.
016dc76 gdiplus: Transform clipping region to gdi device coordinates.
cfa4f08 gdiplus: Replace DPtoLP with an internal coordinate space constant.
5c12ced gdiplus: Check for invalid coordinate space in GdipTransformPoints.
8c593bd gdiplus: Set correct color space flags for grayscale images.
7860d11 gdiplus: Don't call PlayEnhMetaFileRecord for records handled by gdiplus.
5870431 gdiplus: Force conversion of 8 bpp grayscale PNG images to 32 bpp BGRA.
42e5d27 gdiplus: Use defined constants for wrap modes.
79ebd3f gdiplus: Fix copy-paste typo.
a4ab858 gdiplus: GdipCreateMetafileFromWmfFile will also load EMFs.
aac33da gdiplus: Implement transform matrix for line gradient brushes.
14bb8df gdiplus: Support GdipSetClipRegion in metafiles.
4a02870 gdiplus: Add write_region_data helper and use it in GdipGetRegionData.
595959c gdiplus: Add more accurate algorithm for inverting scaling and translation matrices in GdipInvertMatrix.
1744277 gdiplus: Implement stub for GdipGraphicsSetAbort.
331a7af gdiplus: Fix a possible floating point exception in path gradients.
400cfb0 gdiplus: Avoid division by zero in SOFTWARE_GdipDrawThinPath.
2176348 gdiplus: Return success saving path to metafile.
70afb4e gdiplus: Fix saving pen dashed line cap style to metafile.
a172cc6 gdiplus: Free dash_pattern_scaled (Coverity).
58eb74c gdiplus: Use write_path_data helper in GdipGetRegionData.
a892b68 gdiplus: Add write_path_data helper to create EMF+ path object.
5545332 gdiplus: Store newer gdi+ version in created GdipRegions.
cfe2b3f gdiplus: Don't require specific gdi+ versions in metafile structures.
a8b5fdd gdiplus: Use VERSION_MAGIC2 constant in metafiles functions.
8498aa3 gdiplus: Add support for creating image object containing metafile.
9f22041 gdiplus: Fix leak in widen_dashed_figure.
f9b881e gdiplus: Fix GdipGetVisibleClipBounds behavior on metafiles.
de37ced gdiplus: Add partial support for GdipFillPath on metafiles.
e79c4ca gdiplus: Add partial support for GdipDrawPath on metafiles.
7d6896e gdiplus: Add helper for saving pens to metafile.
e502a8d gdiplus: Add helper for saving path objects in metafile.
8608bf5 gdiplus: Add DrawPath stub for metafiles.
29968cf gdiplus: Support GdipSetInterpolationMode in metafiles.
f248374 gdiplus: Support GdipSetCompositingQuality in metafiles.
1cecd47 gdiplus: Support GdipSetCompositingMode in metafiles.
910975a gdiplus: Support GdipSetSmoothingMode in metafiles.
f716029 gdiplus: Support GdipSetPixelOffsetMode in metafiles.
683315d gdiplus: Support GdipSetTextRenderingHint in metafiles.
689268d gdiplus: Add support for ImageAttributes when drawing image to metafile.
ac231b1 gdiplus: Add function for managing metafile objects id.
e1e4dd2 gdiplus: Add partial support for GdipDrawImagePointsRect on metafile.
1a75f76 gdiplus: Remove unused clsid parameter from encode_image_func helpers.
01c9fb9 gdiplus: Remove a duplicate word in a comment.
6ec3cd9 gdiplus: Set flatness more appropriately in GdipDrawPath.
7e1522c gdiplus: Scale widened dashes to the pen width.
c95877d gdiplus: Write API documentation for GdipAddPathArc and GdipAddPathArcI.
f1123f3 gdiplus: Write API for GdipClonePath.
f96e319 gdiplus: Write API for GdipAddPathLine and GdipAddPathLineI.
260cbd0 gdiplus: Implement triangular line caps in widened paths.
a4b7fe6 gdiplus: Initialize containers list in GdipCloneImage.

svn path=/trunk/; revision=75872
2017-09-17 12:34:15 +00:00
Amine Khaldi 2a10a08909 [PSDK] Update gdiplusflat.h. CORE-13762
svn path=/trunk/; revision=75871
2017-09-17 12:34:07 +00:00
Amine Khaldi 7fe9b5b5c7 [FUSION_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75870
2017-09-17 12:34:03 +00:00
Amine Khaldi 224936e090 [FUSION] Sync with Wine Staging 2.16. CORE-13762
da03b46 fusion: Use standard wine_dbgstr_longlong.

svn path=/trunk/; revision=75869
2017-09-17 12:33:57 +00:00
Amine Khaldi bcd314bf3f [DBGHELP] Sync with Wine Staging 2.16. CORE-13762
00e27186 dbghelp: Silence a noisy FIXME.

svn path=/trunk/; revision=75868
2017-09-17 12:33:49 +00:00
Amine Khaldi 10e905a8e0 [CRYPTUI] Sync with Wine Staging 2.16. CORE-13762
8dcc4ed cryptui: Use proper size for combobox controls.

svn path=/trunk/; revision=75867
2017-09-17 12:33:43 +00:00