Commit graph

69836 commits

Author SHA1 Message Date
Eric Kohl 4364981793 [NETAPI32]
Implement NetLogonSetServiceBits().

svn path=/trunk/; revision=75974
2017-09-26 09:18:20 +00:00
Giannis Adamopoulos 03acaff5b1 [WINLOGON][WIN32K][WINSRV] -Silence a lot of debug prints in the shutdown sequence. Add some debug prints in case of error. Also print the name of the processes that get terminated. Keep the debug prints that show the parameters that are passed to SrvExitWindowsEx and WM_LOGONNOTIFY.
svn path=/trunk/; revision=75973
2017-09-26 09:11:51 +00:00
Eric Kohl b7bb40a33e [NETAPI32]
Implement NetStatisticsGet() and move NetpNtStatusToApiStatus().

svn path=/trunk/; revision=75972
2017-09-26 09:03:27 +00:00
Eric Kohl 98789a5ce7 [NETAPI32]
Rename misc.c to utils.c because misc.c will be used for something else.

svn path=/trunk/; revision=75971
2017-09-26 07:51:56 +00:00
Eric Kohl fdd95cf2c9 [NETAPI]
Add proper client implementations for NetQueryDisplayInformation() and NetGetDisplayInformationIndex().

svn path=/trunk/; revision=75970
2017-09-26 07:32:49 +00:00
Pierre Schweitzer 45b7500fd9 [KERNEL32]
W2K3ify GetVolumeInformationA().
Also fix a regression brought by GetVolumeInformationW() rewrite (yay, winetests!).

svn path=/trunk/; revision=75969
2017-09-26 06:18:07 +00:00
Hermès Bélusca-Maïto 6b45a088f3 [TIMEOUT]: Implement the TIMEOUT utility (found on Win2k3 and upwards). This is an improved "pause" command, with elapsed time count display.
Based from a patch by Lee Schröder, with modifications by myself.
CORE-10044 #resolve

svn path=/trunk/; revision=75968
2017-09-25 23:31:44 +00:00
Pierre Schweitzer d2669dc03b [KERNEL32]
- Implement IsThisARootDirectory()
- Reimplement GetVolumeInformationW() to make it w2k3 compliant.
This fixes a few winetests and makes fsutil fsinfo ntfsinfo work in ROS :-)

svn path=/trunk/; revision=75967
2017-09-25 21:33:56 +00:00
Pierre Schweitzer 282de8aeb9 [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
2017-09-25 18:59:54 +00:00
Mark Jansen 5e87235129 [WINED3D] Silence a noisy DPRINT that makes Test KVM AHK abort.
CORE-13829

svn path=/trunk/; revision=75965
2017-09-24 21:32:18 +00:00
Hermès Bélusca-Maïto 236b03f729 [MORE]: Remove an unused library import (user32).
svn path=/trunk/; revision=75964
2017-09-24 19:02:29 +00:00
Hermès Bélusca-Maïto c72889ae3d [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
2017-09-24 19:00:47 +00:00
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