reactos.git
6 years ago[FSUTIL]
Pierre Schweitzer [Mon, 25 Sep 2017 18:59:54 +0000 (18:59 +0000)]
[FSUTIL]
- Modify OpenVolume so that it can restrict volume opening to a NTFS volume (broken on ROS...)
- Implement fsutil fsinfo ntfsinfo

svn path=/trunk/; revision=75966

6 years ago[WINED3D] Silence a noisy DPRINT that makes Test KVM AHK abort.
Mark Jansen [Sun, 24 Sep 2017 21:32:18 +0000 (21:32 +0000)]
[WINED3D] Silence a noisy DPRINT that makes Test KVM AHK abort.
CORE-13829

svn path=/trunk/; revision=75965

6 years ago[MORE]: Remove an unused library import (user32).
Hermès Bélusca-Maïto [Sun, 24 Sep 2017 19:02:29 +0000 (19:02 +0000)]
[MORE]: Remove an unused library import (user32).

svn path=/trunk/; revision=75964

6 years ago[CHCP][CMD]: Make the CHCP command a standalone executable, for backwards compatibili...
Hermès Bélusca-Maïto [Sun, 24 Sep 2017 19:00:47 +0000 (19:00 +0000)]
[CHCP][CMD]: Make the CHCP command a standalone executable, for backwards compatibility with Windows etc. This allows the user to be able to replace it with a 3rd-party one.
CORE-10295 #resolve
CORE-9444

svn path=/trunk/; revision=75963

6 years ago[MBEDTLS]
Thomas Faber [Sun, 24 Sep 2017 13:11:18 +0000 (13:11 +0000)]
[MBEDTLS]
- Disable the use of SSE2 instruction. ROS supports CPUs that do not support these.
CORE-13826 #resolve
CORE-10338

svn path=/trunk/; revision=75962

6 years ago[FASTFAT]
Pierre Schweitzer [Sun, 24 Sep 2017 12:35:37 +0000 (12:35 +0000)]
[FASTFAT]
Implement statistics counting for non cached read/write operations.

svn path=/trunk/; revision=75961

6 years ago[WS2_32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:36:21 +0000 (11:36 +0000)]
[WS2_32_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75960

6 years ago[REG_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:33:35 +0000 (11:33 +0000)]
[REG_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75959

6 years ago[REG] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:33:04 +0000 (11:33 +0000)]
[REG] Sync with Wine Staging 2.16. CORE-13762

39e0e81 reg: Null-terminate incomplete REG_EXPAND_SZ and REG_MULTI_SZ Unicode data.
82fc4c8 reg: Close any open registry keys before starting the key deletion process.
5de883c reg: Use the correct return codes during the import operation.
56e58e4 reg: Delete registry keys via the state machine.
d90f2a5 reg: Delete registry values via the state machine.
db98cc4 reg: Handle unknown registry data types in the state machine.
32d5368 reg: Import hex data via the state machine.
f1874c1 reg: Import REG_DWORD data via the state machine.
038f1c6 reg: Parse data types and import REG_SZ data via the state machine.
0565934 reg: Parse key names and value names in the state machine.
3e87a70 reg: Introduce a partial state machine for importing Windows 3.1 registry data.
aa386af reg: Add initial support for the import operation.
f2fbbec reg: Rename reg.h to resource.h.
c6c95a0 reg: Compile with msvcrt.
8c253c4 reg: Make some variables 'static const'.
337e0f4 reg: Avoid an uninitialized variable warning.
8abec73 reg: Dynamically allocate memory for the value name buffer when deleting all registry values in a specified key.
e7ea838 reg: Use a helper function to resize a memory buffer.
a1bc33a reg: Use a helper function to free allocated memory.
a6e28cc reg: Use a helper function to allocate memory and die on failure.
90da210 reg: Account for sizeof(WCHAR) when resizing the value name buffer during the query operation.
fb22f6c reg: Avoid using RegQueryInfoKey() to enumerate subkeys and values in the query operation.

svn path=/trunk/; revision=75958

6 years ago[PSDK] Update winreg.h. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:32:16 +0000 (11:32 +0000)]
[PSDK] Update winreg.h. CORE-13762

svn path=/trunk/; revision=75957

6 years ago[XMLLITE_WINETEST] Addendum to r75951.
Amine Khaldi [Sun, 24 Sep 2017 11:27:47 +0000 (11:27 +0000)]
[XMLLITE_WINETEST] Addendum to r75951.

svn path=/trunk/; revision=75956

6 years ago[FREETYPE] Update to v2.8.1. CORE-13825
Amine Khaldi [Sun, 24 Sep 2017 11:20:15 +0000 (11:20 +0000)]
[FREETYPE] Update to v2.8.1. CORE-13825

svn path=/trunk/; revision=75955

6 years ago[WINDOWSCODECS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:19:20 +0000 (11:19 +0000)]
[WINDOWSCODECS_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75954

6 years ago[PSDK] Update wincodec.idl and winerror.h. [WINDOWSCODECS] Sync with Wine Staging...
Amine Khaldi [Sun, 24 Sep 2017 11:19:07 +0000 (11:19 +0000)]
[PSDK] Update wincodec.idl and winerror.h. [WINDOWSCODECS] Sync with Wine Staging 2.16. CORE-13762

b2229cc windowscodecs: Add support for CMYK to BGR conversion.
22b69e6 windowscodecs: Move JPEG frame image data initialization from Frame::CopyPixels to Decoder::Initialize. (v2)
b635fa0 windowscodecs: Move additional processing out of the JPEG decoding loop.
80649c5 windowscodecs: Fix stride calculation in JPEG decoder.
0d88ec1 windowscodecs: Fix IWICBitmapEncoder::SetPalette for a not initialized case in JPEG encoder.
267bca1 windowscodecs: PNGEncoder: Return 32bppRGBA pixel format by default.
8bae213 windowscodecs: Fix 32bppGrayFloat to 8bppGray conversion.
8648aaf wincodecs: Add encoder options for JPEG.
2eeef78 windowscodecs: Fix a memory leak.
c092f1a windowscodecs: Add some tests for IWICMetadataQueryReader.
2271ba8 windowscodecs: Add initial implementation of IWICMetadataQueryReader::GetMetadataByName.
d3280c8 windowscodecs: Implement IWICBitmapDecoder::GetMetadataQueryReader in the GIF decoder.
c94bf3c windowscodecs: Implement IWICMetadataQueryReader::GetLocation.
3059668 windowscodecs: Use PropVariantCompareEx to compare metadata items.
f258903 windowscodecs: Implement IWICMetadataQueryReader::GetContainerFormat.
714175e windowscodecs: Implement WICMapSchemaToName.
e1eed88 windowscodecs: Implement WICMapShortNameToGuid.
37ae4f2 windowscodecs: Implement WICMapGuidToShortName.
cf1269a windowscodecs: Register WICImagingFactory2 interface.

svn path=/trunk/; revision=75953

6 years ago[PSDK] Update propidl.idl. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:18:52 +0000 (11:18 +0000)]
[PSDK] Update propidl.idl. CORE-13762

svn path=/trunk/; revision=75952

6 years ago[XMLLITE_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:18:47 +0000 (11:18 +0000)]
[XMLLITE_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75951

6 years ago[XMLLITE] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:18:39 +0000 (11:18 +0000)]
[XMLLITE] Sync with Wine Staging 2.16. CORE-13762

49a57bc xmllite/writer: Improve handling of the output with invalid encoding.
a6d6beb xmllite/writer: Do not indent after just BOM has been written.
5773a5d xmllite/writer: Fix indentation on WriteElementString().
5f4ed88 xmllite/writer: Fix empty element and state handling in WriteElementString().
b06dd7d xmllite/reader: Added a helper for setting current attribute cursor.
be56791 xmllite/reader: Implement MoveToAttributeByName().

svn path=/trunk/; revision=75950

6 years ago[WINTRUST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:18:27 +0000 (11:18 +0000)]
[WINTRUST] Sync with Wine Staging 2.16. CORE-13762

59a476e wintrust: use enhanced crypto provider in VerifyImageHash
9369e80 wintrust: Increase buffer size to silence a gcc warning.

svn path=/trunk/; revision=75949

6 years ago[WINMINE] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:18:18 +0000 (11:18 +0000)]
[WINMINE] Sync with Wine Staging 2.16. CORE-13762

ca8f056 winemine: Added Shift+LClick hotkey to uncover multiple cells.
9b90266 winemine: Mine random placing fix.

svn path=/trunk/; revision=75948

6 years ago[WININET_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:18:11 +0000 (11:18 +0000)]
[WININET_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75947

6 years ago[WININET] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:17:59 +0000 (11:17 +0000)]
[WININET] Sync with Wine Staging 2.16. CORE-13762

43deec9 wininet: Use standard wine_dbgstr_longlong.
085ce26 wininet: Drain content before reusing connection in open_http_connection.
59395d8 wininet: Never do blocking reads in chunked_read if zero chunk size is aready read.
4f40039 wininet: Release connection in HTTPREQ_Read only if remaining control data may be drainad without blocking.
8090d16 wininet: Store error state separately from end of stream in chunked stream.
752d078 wininet: Always use drain_content specific to stream type.
90b936f wininet: Try to read reamaining data in chunked_drain_content.
2ecdac8 wininet: Return error codes from HTTP streams.
7949a22 wininet: Correctly pass URL length to InternetCrackUrlW in get_redirect_url.
a24b826 wininet: Improved cookie debug traces.
f55a116 wininet: Fix potential use-after-free (Coverity).
89f1d8c wininet: Fixed connection_pool_cs declaration.
cee9982 wininet: Return an error on redirect with no host name specified.
61e28c0 wininet: Moved INTERNET_STATUS_REDIRECT notification to HTTP_HandleRedirect.
9c95915 wininet: Correctly handle redirects to non-http URLs.

svn path=/trunk/; revision=75946

6 years ago[WINHTTP_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:17:51 +0000 (11:17 +0000)]
[WINHTTP_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75945

6 years ago[WINHTTP] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:17:43 +0000 (11:17 +0000)]
[WINHTTP] Sync with Wine Staging 2.16. CORE-13762

d0813b7 winhttp: Avoid returning while holding a lock (Coverity).
5a61913 winhttp: Rename host_t to hostdata_t.
2a99f0e winhttp: Periodically free outdated connections.
5226865 winhttp: Cache and reuse persistent HTTP connections.
e0e8a3f winhttp: Introduce global connected hosts store and keep reference to host in netconn_t.
d1d65c9 winhttp: Merge netconn_create and netconn_connect implementations.
3e60241 winhttp: Store socked address in netconn_t.
e129023 winhttp: Pass socket address as sockaddr_storage to netconn_connect.
c2f464d winhttp: Get rid of no longer needed netconn_init.
8c9df5b winhttp: Use notification flags to explicitly mark notifications that should signal an event.
c502629 winhttp: Allocate netconn_t separately from request_t.
c06104c winhttp: Store security_flags in request_t instead of netconn_t.
f2bb206 winhttp: Reset content length when a redirect creates a new connection.
0923897 winhttp: Only read as much data as advertized when draining content.

svn path=/trunk/; revision=75944

6 years ago[WINEMP3.ACM] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:17:34 +0000 (11:17 +0000)]
[WINEMP3.ACM] Sync with Wine Staging 2.16. CORE-13762

ffebb91 winemp3.acm: Fix error in acmStreamSize().

svn path=/trunk/; revision=75943

6 years ago[WBEMPROX] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:17:27 +0000 (11:17 +0000)]
[WBEMPROX] Sync with Wine Staging 2.16. CORE-13762

65d7ff8 wbemprox: Add FreePhysicalMemory to Win32_OperatingSystem.

svn path=/trunk/; revision=75942

6 years ago[WBEMDISP] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:17:20 +0000 (11:17 +0000)]
[WBEMDISP] Sync with Wine Staging 2.16. CORE-13762

82527f8 wbemdisp: Add a trailing newline to a TRACE() message.

svn path=/trunk/; revision=75941

6 years ago[USP10_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:17:14 +0000 (11:17 +0000)]
[USP10_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75940

6 years ago[USP10] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 24 Sep 2017 11:17:06 +0000 (11:17 +0000)]
[USP10] Sync with Wine Staging 2.16. CORE-13762

9d32c2d usp10: Fall back to 'dflt' language if shaping language tag isn't found.
866eec8 usp10: Undefined characters above the BMP should be assigned to Script_Surrogates.
4f96439 user32: Fix rendering of tabs in edit control.
b736dbe make_unicode: Update data tables to Unicode 10.0.0.

svn path=/trunk/; revision=75939

6 years ago[FASTFAT]
Pierre Schweitzer [Sun, 24 Sep 2017 09:50:36 +0000 (09:50 +0000)]
[FASTFAT]
Implement statistics counting for create operations.

svn path=/trunk/; revision=75938

6 years ago[FASTFAT]
Pierre Schweitzer [Sun, 24 Sep 2017 08:56:06 +0000 (08:56 +0000)]
[FASTFAT]
Start implementing statistics support. So far, everything is just nulled.
These 0 can be properly queried with fsutil fsinfo statistics.

svn path=/trunk/; revision=75937

6 years ago[WLNOTIFY]
Eric Kohl [Sat, 23 Sep 2017 22:29:36 +0000 (22:29 +0000)]
[WLNOTIFY]
- Add Notifications for the Scheduler Service.

svn path=/trunk/; revision=75936

6 years ago[FSUTIL]
Pierre Schweitzer [Sat, 23 Sep 2017 20:22:59 +0000 (20:22 +0000)]
[FSUTIL]
Use saved last error, don't get it again

svn path=/trunk/; revision=75935

6 years ago[FSUTIL]
Pierre Schweitzer [Sat, 23 Sep 2017 20:15:16 +0000 (20:15 +0000)]
[FSUTIL]
Implement fsutil fsinfo statistics
Note that compared to w2k3 one, ours really supports FAT volumes (even though our FAT doesn't support it!).

svn path=/trunk/; revision=75934

6 years ago[PSDK]
Pierre Schweitzer [Sat, 23 Sep 2017 20:13:54 +0000 (20:13 +0000)]
[PSDK]
Define FSCTL_FILESYSTEM_GET_STATISTICS and its associated structures

svn path=/trunk/; revision=75933

6 years ago[LSASRV]
Eric Kohl [Sat, 23 Sep 2017 18:58:39 +0000 (18:58 +0000)]
[LSASRV]
Add some comments and improve trace messages.

svn path=/trunk/; revision=75932

6 years ago[DATETIME]
Eric Kohl [Sat, 23 Sep 2017 18:54:58 +0000 (18:54 +0000)]
[DATETIME]
Invert the sort order of the timezone list. List the timezones from GMT-12:00 to GMT+13:00.

svn path=/trunk/; revision=75931

6 years ago[TRANSLATION]
Eric Kohl [Sat, 23 Sep 2017 17:32:13 +0000 (17:32 +0000)]
[TRANSLATION]
Polish translation update.
Patch by Adam Słaboń.
CORE-13802

svn path=/trunk/; revision=75930

6 years ago[DRIVERS][NTOS][EVTLIB][USER32]
Thomas Faber [Sat, 23 Sep 2017 13:34:50 +0000 (13:34 +0000)]
[DRIVERS][NTOS][EVTLIB][USER32]
- Silence some debug spam

svn path=/trunk/; revision=75929

6 years ago[USER32][WIN32K] Make antialiased disabled font readable. Patch by Katayama Hirofumi...
Mark Jansen [Fri, 22 Sep 2017 19:47:34 +0000 (19:47 +0000)]
[USER32][WIN32K] Make antialiased disabled font readable. Patch by Katayama Hirofumi MZ. CORE-7721

svn path=/trunk/; revision=75928

6 years ago[ACPPAGE] Work around a crash with BSTR's. CORE-13800 #resolve
Mark Jansen [Fri, 22 Sep 2017 19:42:08 +0000 (19:42 +0000)]
[ACPPAGE] Work around a crash with BSTR's. CORE-13800 #resolve

svn path=/trunk/; revision=75927

6 years ago[DDK]
Eric Kohl [Fri, 22 Sep 2017 17:45:04 +0000 (17:45 +0000)]
[DDK]
Add all ide commands to make the storahci driver happy.

svn path=/trunk/; revision=75926

6 years ago[SAMSRV]
Eric Kohl [Fri, 22 Sep 2017 12:29:53 +0000 (12:29 +0000)]
[SAMSRV]
Implement SamIFree_SAMPR_DISPLAY_INFO_BUFFER.

svn path=/trunk/; revision=75925

6 years ago[SAMSRV]
Eric Kohl [Fri, 22 Sep 2017 10:05:48 +0000 (10:05 +0000)]
[SAMSRV]
Implement SamIFree_SAMPR_ALIAS_INFO_BUFFER, SamIFree_SAMPR_DOMAIN_INFO_BUFFER and SamIFree_SAMPR_GROUP_INFO_BUFFER.

svn path=/trunk/; revision=75924

6 years ago[CMAKE]
Thomas Faber [Fri, 22 Sep 2017 09:26:32 +0000 (09:26 +0000)]
[CMAKE]
- Hackfix base addresses to avoid comctl32/rpcrt4 overlap. This makes use of the fact that baseaddress_winspool.drv is not being used (it should be called baseaddress_winspool).
Base addresses should be properly regenerated at some point, and the issues exposed by the relocations are still bugs that need to be fixed. This should at least make testbot reliable again though.
CORE-13804

svn path=/trunk/; revision=75923

6 years ago[NDIS]
Thomas Faber [Fri, 22 Sep 2017 07:31:57 +0000 (07:31 +0000)]
[NDIS]
- Don't assert on IRP_MJ_CLEANUP
CORE-7630

svn path=/trunk/; revision=75922

6 years ago[NDIS]
Thomas Faber [Fri, 22 Sep 2017 07:28:29 +0000 (07:28 +0000)]
[NDIS]
- Don't assert on unimplemented ioctl. Print the control code instead.
CORE-7630

svn path=/trunk/; revision=75921

6 years ago[SVCHOST]
Thomas Faber [Fri, 22 Sep 2017 07:17:20 +0000 (07:17 +0000)]
[SVCHOST]
- Don't print "GetProcAddress failed" error for optional functions

svn path=/trunk/; revision=75920

6 years ago[FASTFAT]
Pierre Schweitzer [Thu, 21 Sep 2017 10:33:23 +0000 (10:33 +0000)]
[FASTFAT]
Don't allow temporary attribute to be set on a directory.
Even though our FastFAT totally ignores such attribute, this is illegal on Windows and makes SetFileAttribute fail, so do the same.

CORE-13495

svn path=/trunk/; revision=75919

6 years ago[FASTFAT]
Pierre Schweitzer [Thu, 21 Sep 2017 09:47:13 +0000 (09:47 +0000)]
[FASTFAT]
Notify in case of attributes/dates changes

svn path=/trunk/; revision=75918

6 years ago[FASTFAT]
Pierre Schweitzer [Thu, 21 Sep 2017 09:45:23 +0000 (09:45 +0000)]
[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

6 years ago[KMTESTS:KERNEL32]
Pierre Schweitzer [Thu, 21 Sep 2017 08:52:27 +0000 (08:52 +0000)]
[KMTESTS:KERNEL32]
Magic values--;

svn path=/trunk/; revision=75916

6 years ago[KERNEL32]
Pierre Schweitzer [Wed, 20 Sep 2017 16:38:48 +0000 (16:38 +0000)]
[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

6 years ago[KERNEL32]
Pierre Schweitzer [Wed, 20 Sep 2017 16:13:15 +0000 (16:13 +0000)]
[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

6 years ago[FSUTIL]
Pierre Schweitzer [Wed, 20 Sep 2017 11:41:28 +0000 (11:41 +0000)]
[FSUTIL]
Implement fsutil volume diskfree

svn path=/trunk/; revision=75913

6 years agoexplorer: Improve Japanese resource
Eric Kohl [Wed, 20 Sep 2017 10:35:55 +0000 (10:35 +0000)]
explorer: Improve Japanese resource
Patch by Katayama Hirofumi MZ.
CORE-13809

svn path=/trunk/; revision=75912

6 years ago[VFATLIB]
Pierre Schweitzer [Wed, 20 Sep 2017 08:45:28 +0000 (08:45 +0000)]
[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

6 years ago[FSUTIL]
Pierre Schweitzer [Wed, 20 Sep 2017 08:15:10 +0000 (08:15 +0000)]
[FSUTIL]
Implement fsutil volume dismount

CORE-13805

svn path=/trunk/; revision=75910

6 years ago[FSUTIL]
Pierre Schweitzer [Wed, 20 Sep 2017 07:50:48 +0000 (07:50 +0000)]
[FSUTIL]
Define handlers type

svn path=/trunk/; revision=75909

6 years ago[FASTFAT]
Pierre Schweitzer [Tue, 19 Sep 2017 21:19:55 +0000 (21:19 +0000)]
[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

6 years ago[USBPORT]
Thomas Faber [Mon, 18 Sep 2017 12:01:12 +0000 (12:01 +0000)]
[USBPORT]
- Simplify some loops in USBPORT_OpenInterface. No logical changes

svn path=/trunk/; revision=75907

6 years ago[USBPORT]
Thomas Faber [Mon, 18 Sep 2017 11:50:42 +0000 (11:50 +0000)]
[USBPORT]
- Rename NumInterfaces to NumEndpoints in USBPORT_OpenInterface

svn path=/trunk/; revision=75906

6 years ago[URLMON_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:58:07 +0000 (22:58 +0000)]
[URLMON_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75903

6 years ago[URLMON] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:58:01 +0000 (22:58 +0000)]
[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

6 years ago[PSDK] Update urlmon.idl. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:57:54 +0000 (22:57 +0000)]
[PSDK] Update urlmon.idl. CORE-13762

svn path=/trunk/; revision=75901

6 years ago[SXS] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:57:49 +0000 (22:57 +0000)]
[SXS] Sync with Wine Staging 2.16. CORE-13762

3c4f6ed sxs: Use standard wine_dbgstr_longlong.

svn path=/trunk/; revision=75900

6 years ago[RPCRT4_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:57:43 +0000 (22:57 +0000)]
[RPCRT4_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75899

6 years ago[RPCRT4] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:57:32 +0000 (22:57 +0000)]
[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

6 years ago[RICHED20_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:57:24 +0000 (22:57 +0000)]
[RICHED20_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75897

6 years ago[RICHED20] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:57:18 +0000 (22:57 +0000)]
[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

6 years ago[PROPSYS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:57:07 +0000 (22:57 +0000)]
[PROPSYS_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75895

6 years ago[PROPSYS] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:56:55 +0000 (22:56 +0000)]
[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

6 years ago[OLEAUT32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:56:47 +0000 (22:56 +0000)]
[OLEAUT32_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75893

6 years ago[OLEAUT32] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:56:37 +0000 (22:56 +0000)]
[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

6 years ago[OLE32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:56:20 +0000 (22:56 +0000)]
[OLE32_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75891

6 years ago[OLE32] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:56:11 +0000 (22:56 +0000)]
[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

6 years ago[MSIMG32] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:55:42 +0000 (22:55 +0000)]
[MSIMG32] Sync with Wine Staging 2.16. CORE-13762

f77bf35 msimg32: Label ordinals.

svn path=/trunk/; revision=75889

6 years agosyssetup: Improve Japanese translation
Eric Kohl [Sun, 17 Sep 2017 22:55:33 +0000 (22:55 +0000)]
syssetup: Improve Japanese translation
Patch by Katayama Hirofumi MZ.
CORE-13785

svn path=/trunk/; revision=75888

6 years ago[MSACM32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:55:26 +0000 (22:55 +0000)]
[MSACM32_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75887

6 years ago[MSACM32] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:55:04 +0000 (22:55 +0000)]
[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

6 years ago[MAPI32] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:54:52 +0000 (22:54 +0000)]
[MAPI32] Sync with Wine Staging 2.16. CORE-13762

b0a31c3 mapi32: A spelling fix in a comment.

svn path=/trunk/; revision=75885

6 years ago[JSPROXY] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:54:44 +0000 (22:54 +0000)]
[JSPROXY] Sync with Wine Staging 2.16. CORE-13762

a79c6a8 jsproxy: Label ordinals.

svn path=/trunk/; revision=75884

6 years ago[JSCRIPT_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:54:31 +0000 (22:54 +0000)]
[JSCRIPT_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75883

6 years ago[JSCRIPT] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:54:24 +0000 (22:54 +0000)]
[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

6 years ago[INETCOMM_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:54:17 +0000 (22:54 +0000)]
[INETCOMM_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75881

6 years ago[INETCOMM] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:54:12 +0000 (22:54 +0000)]
[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

6 years ago[IMAADP32.ACM] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:54:07 +0000 (22:54 +0000)]
[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

6 years ago[COMCTL32] Addendum to r75862. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 22:54:01 +0000 (22:54 +0000)]
[COMCTL32] Addendum to r75862. CORE-13762

svn path=/trunk/; revision=75878

6 years agodesk.cpl: Improve Japanese translation
Eric Kohl [Sun, 17 Sep 2017 22:50:06 +0000 (22:50 +0000)]
desk.cpl: Improve Japanese translation
Patch by Katayama Hirofumi MZ.
CORE-13784

svn path=/trunk/; revision=75877

6 years agodevmgr: Japanese translation
Eric Kohl [Sun, 17 Sep 2017 22:41:08 +0000 (22:41 +0000)]
devmgr: Japanese translation
Patch by Katayama Hirofumi MZ.
CORE-13783

svn path=/trunk/; revision=75876

6 years agoSysSetup: Russian translation of Theme dialog
Eric Kohl [Sun, 17 Sep 2017 22:23:24 +0000 (22:23 +0000)]
SysSetup: Russian translation of Theme dialog
Patch by amber.
CORE-13708

svn path=/trunk/; revision=75875

6 years agoTRANSLATION: Update Polish translation
Eric Kohl [Sun, 17 Sep 2017 22:11:50 +0000 (22:11 +0000)]
TRANSLATION: Update Polish translation
Patch by Marcin Mikołajczak.
CORE-13750

svn path=/trunk/; revision=75874

6 years ago[GDIPLUS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 12:34:24 +0000 (12:34 +0000)]
[GDIPLUS_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75873

6 years ago[GDIPLUS] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 12:34:15 +0000 (12:34 +0000)]
[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

6 years ago[PSDK] Update gdiplusflat.h. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 12:34:07 +0000 (12:34 +0000)]
[PSDK] Update gdiplusflat.h. CORE-13762

svn path=/trunk/; revision=75871

6 years ago[FUSION_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 12:34:03 +0000 (12:34 +0000)]
[FUSION_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75870

6 years ago[FUSION] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 12:33:57 +0000 (12:33 +0000)]
[FUSION] Sync with Wine Staging 2.16. CORE-13762

da03b46 fusion: Use standard wine_dbgstr_longlong.

svn path=/trunk/; revision=75869

6 years ago[DBGHELP] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 12:33:49 +0000 (12:33 +0000)]
[DBGHELP] Sync with Wine Staging 2.16. CORE-13762

00e27186 dbghelp: Silence a noisy FIXME.

svn path=/trunk/; revision=75868

6 years ago[CRYPTUI] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 12:33:43 +0000 (12:33 +0000)]
[CRYPTUI] Sync with Wine Staging 2.16. CORE-13762

8dcc4ed cryptui: Use proper size for combobox controls.

svn path=/trunk/; revision=75867

6 years ago[CRYPT32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 12:33:34 +0000 (12:33 +0000)]
[CRYPT32_WINETEST] Sync with Wine Staging 2.16. CORE-13762

svn path=/trunk/; revision=75866

6 years ago[CRYPT32] Sync with Wine Staging 2.16. CORE-13762
Amine Khaldi [Sun, 17 Sep 2017 12:33:29 +0000 (12:33 +0000)]
[CRYPT32] Sync with Wine Staging 2.16. CORE-13762

8738b03 crypt32: Increase buffer size to silence a gcc warning.

svn path=/trunk/; revision=75865