Commit graph

69824 commits

Author SHA1 Message Date
Thomas Faber fe3618347b [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
2017-09-24 13:11:18 +00:00
Pierre Schweitzer d875d1bd49 [FASTFAT]
Implement statistics counting for non cached read/write operations.

svn path=/trunk/; revision=75961
2017-09-24 12:35:37 +00:00
Amine Khaldi bc87785826 [WS2_32_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75960
2017-09-24 11:36:21 +00:00
Amine Khaldi 9c8d9cd263 [REG_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75959
2017-09-24 11:33:35 +00:00
Amine Khaldi 044cf8a897 [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
2017-09-24 11:33:04 +00:00
Amine Khaldi 3826e0eec9 [PSDK] Update winreg.h. CORE-13762
svn path=/trunk/; revision=75957
2017-09-24 11:32:16 +00:00
Amine Khaldi 62b637c47c [XMLLITE_WINETEST] Addendum to r75951.
svn path=/trunk/; revision=75956
2017-09-24 11:27:47 +00:00
Amine Khaldi 106ef83977 [FREETYPE] Update to v2.8.1. CORE-13825
svn path=/trunk/; revision=75955
2017-09-24 11:20:15 +00:00
Amine Khaldi 38346faf51 [WINDOWSCODECS_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75954
2017-09-24 11:19:20 +00:00
Amine Khaldi 060ff9c61a [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
2017-09-24 11:19:07 +00:00
Amine Khaldi 9cbeb9ed81 [PSDK] Update propidl.idl. CORE-13762
svn path=/trunk/; revision=75952
2017-09-24 11:18:52 +00:00
Amine Khaldi 93c3651871 [XMLLITE_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75951
2017-09-24 11:18:47 +00:00
Amine Khaldi c95d5971f0 [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
2017-09-24 11:18:39 +00:00
Amine Khaldi 73ddc666c6 [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
2017-09-24 11:18:27 +00:00
Amine Khaldi f1c2481230 [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
2017-09-24 11:18:18 +00:00
Amine Khaldi 1f77be3c1e [WININET_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75947
2017-09-24 11:18:11 +00:00
Amine Khaldi 40cc018ed0 [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
2017-09-24 11:17:59 +00:00
Amine Khaldi 11ab123dcd [WINHTTP_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75945
2017-09-24 11:17:51 +00:00
Amine Khaldi 9048599788 [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
2017-09-24 11:17:43 +00:00
Amine Khaldi 9b95d548ca [WINEMP3.ACM] Sync with Wine Staging 2.16. CORE-13762
ffebb91 winemp3.acm: Fix error in acmStreamSize().

svn path=/trunk/; revision=75943
2017-09-24 11:17:34 +00:00
Amine Khaldi 3e1315cb4b [WBEMPROX] Sync with Wine Staging 2.16. CORE-13762
65d7ff8 wbemprox: Add FreePhysicalMemory to Win32_OperatingSystem.

svn path=/trunk/; revision=75942
2017-09-24 11:17:27 +00:00
Amine Khaldi f8f96865c6 [WBEMDISP] Sync with Wine Staging 2.16. CORE-13762
82527f8 wbemdisp: Add a trailing newline to a TRACE() message.

svn path=/trunk/; revision=75941
2017-09-24 11:17:20 +00:00
Amine Khaldi 36aff8b89c [USP10_WINETEST] Sync with Wine Staging 2.16. CORE-13762
svn path=/trunk/; revision=75940
2017-09-24 11:17:14 +00:00
Amine Khaldi b24cdd026a [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
2017-09-24 11:17:06 +00:00
Pierre Schweitzer 10a7555f9e [FASTFAT]
Implement statistics counting for create operations.

svn path=/trunk/; revision=75938
2017-09-24 09:50:36 +00:00
Pierre Schweitzer 1fac1ca781 [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
2017-09-24 08:56:06 +00:00
Eric Kohl 1ffd7e141b [WLNOTIFY]
- Add Notifications for the Scheduler Service.

svn path=/trunk/; revision=75936
2017-09-23 22:29:36 +00:00
Pierre Schweitzer 43f11525a6 [FSUTIL]
Use saved last error, don't get it again

svn path=/trunk/; revision=75935
2017-09-23 20:22:59 +00:00
Pierre Schweitzer e54cfbd253 [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
2017-09-23 20:15:16 +00:00
Pierre Schweitzer a497f5aae2 [PSDK]
Define FSCTL_FILESYSTEM_GET_STATISTICS and its associated structures

svn path=/trunk/; revision=75933
2017-09-23 20:13:54 +00:00
Eric Kohl 4de8e2e114 [LSASRV]
Add some comments and improve trace messages.

svn path=/trunk/; revision=75932
2017-09-23 18:58:39 +00:00
Eric Kohl 62e2601488 [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
2017-09-23 18:54:58 +00:00
Eric Kohl 8929269a24 [TRANSLATION]
Polish translation update.
Patch by Adam Słaboń.
CORE-13802

svn path=/trunk/; revision=75930
2017-09-23 17:32:13 +00:00
Thomas Faber 7cf06c89d0 [DRIVERS][NTOS][EVTLIB][USER32]
- Silence some debug spam

svn path=/trunk/; revision=75929
2017-09-23 13:34:50 +00:00
Mark Jansen 763d7b8473 [USER32][WIN32K] Make antialiased disabled font readable. Patch by Katayama Hirofumi MZ. CORE-7721
svn path=/trunk/; revision=75928
2017-09-22 19:47:34 +00:00
Mark Jansen 8749cbd5b9 [ACPPAGE] Work around a crash with BSTR's. CORE-13800 #resolve
svn path=/trunk/; revision=75927
2017-09-22 19:42:08 +00:00
Eric Kohl 6192c20ab7 [DDK]
Add all ide commands to make the storahci driver happy.

svn path=/trunk/; revision=75926
2017-09-22 17:45:04 +00:00
Eric Kohl 451d484fcd [SAMSRV]
Implement SamIFree_SAMPR_DISPLAY_INFO_BUFFER.

svn path=/trunk/; revision=75925
2017-09-22 12:29:53 +00:00
Eric Kohl 70d4f2c68f [SAMSRV]
Implement SamIFree_SAMPR_ALIAS_INFO_BUFFER, SamIFree_SAMPR_DOMAIN_INFO_BUFFER and SamIFree_SAMPR_GROUP_INFO_BUFFER.

svn path=/trunk/; revision=75924
2017-09-22 10:05:48 +00:00
Thomas Faber ef8a43b733 [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
2017-09-22 09:26:32 +00:00
Thomas Faber 5fd71adffe [NDIS]
- Don't assert on IRP_MJ_CLEANUP
CORE-7630

svn path=/trunk/; revision=75922
2017-09-22 07:31:57 +00:00
Thomas Faber 95646b73c9 [NDIS]
- Don't assert on unimplemented ioctl. Print the control code instead.
CORE-7630

svn path=/trunk/; revision=75921
2017-09-22 07:28:29 +00:00
Thomas Faber d40669cdad [SVCHOST]
- Don't print "GetProcAddress failed" error for optional functions

svn path=/trunk/; revision=75920
2017-09-22 07:17:20 +00:00
Pierre Schweitzer 05fa2e9b51 [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
2017-09-21 10:33:23 +00:00
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