Hermès Bélusca-Maïto [Sat, 30 Sep 2017 14:10:21 +0000 (14:10 +0000)]
[CMD]: Little refactoring to lay out the way to using the CONUTILS library in CMD.
- Move the code used to beep, clear screen, and color the screen into console.c ;
- Rename SetScreenColor into ConSetScreenColor, and invert its second parameter (bNoFill -> bFill); its default behaviour is to fill all the screen.
svn path=/trunk/; revision=76000
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 14:04:24 +0000 (14:04 +0000)]
[CMD]: Minor modifications in the files I'm going to touch next:
- Use ARRAYSIZE() instead of hardcoding string buffer max. number of chars.
- Un-globalize a variable; remove dead defines.
- Minor code formatting fixes.
svn path=/trunk/; revision=75999
Timo Kreuzer [Sat, 30 Sep 2017 12:43:08 +0000 (12:43 +0000)]
[MSVCRT] Export _pwctype
How did CRTDLL, which forwards _pwctype_dll to msvcrt._pwctype, ever link?
svn path=/trunk/; revision=75998
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 11:39:08 +0000 (11:39 +0000)]
[CMD]: Diverse improvements:
- Add pre-support for "enable extensions".
- Load CMD settings at startup from the registry (from HKLM and HKCU
Software\\Microsoft\\Command Processor reg key), as done by Windows' CMD.EXE.
- Add support for CMD.EXE /E(:OFF), /X, /Y command-line switches.
- Correctly set the console colors when using CMD.EXE /T: switch.
- Start support for two control characters for the completion: the standard CompletionChar
and the PathCompletionChar (if one desires to autocomplete *just* directory
names -- or associated -- but not everything), as Windows' CMD.EXE offers.
svn path=/trunk/; revision=75997
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 10:29:50 +0000 (10:29 +0000)]
[ASM]: CORE-13850 #comment Fix MASM compilation errors with the CFI annotation macros substitutes (broken by r75989).
svn path=/trunk/; revision=75996
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 10:29:06 +0000 (10:29 +0000)]
[ASM]: Code formatting only.
svn path=/trunk/; revision=75995
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 09:50:08 +0000 (09:50 +0000)]
[CMD]: Fix translations for the COLOR command.
For few translations, the COLOR command help contained a deprecated /F switch,
which was changed long time ago to the /-F switch ("Does not fill the console
blank space with color attribute").
Also, remove a now-unneeded localized informative string for the COLOR command (which rendered it Windows-incompatible).
svn path=/trunk/; revision=75994
Hermès Bélusca-Maïto [Sat, 30 Sep 2017 09:13:04 +0000 (09:13 +0000)]
[CMD]: Fix few comments & use ARRAYSIZE(str) instead of sizeof(str)/sizeof(str[0]) for strings.
svn path=/trunk/; revision=75993
Colin Finck [Fri, 29 Sep 2017 18:33:04 +0000 (18:33 +0000)]
[ROSTESTS] Use the new header with SPDX license identifier for my printing-related API tests
svn path=/trunk/; revision=75992
Colin Finck [Fri, 29 Sep 2017 18:13:54 +0000 (18:13 +0000)]
[ROSAUTOTEST] Use the new header with SPDX license identifier and remove dead source files.
svn path=/trunk/; revision=75991
Jérôme Gardou [Fri, 29 Sep 2017 17:32:11 +0000 (17:32 +0000)]
[RTL]
- Add CFI annotations to debug functions
CORE-8531
svn path=/trunk/; revision=75990
Jérôme Gardou [Fri, 29 Sep 2017 17:31:23 +0000 (17:31 +0000)]
[ASM]
- Add CFI annotation macros
CORE-13850 #resolve
svn path=/trunk/; revision=75989
Colin Finck [Fri, 29 Sep 2017 17:18:19 +0000 (17:18 +0000)]
[PRINTING] [SKIPLIST] Use the new header with SPDX license identifier and relicense the entire Printing Stack as well as its Skiplist dependency under GPL-2.0+
Previously, the Printing Stack was a mix of GPLed and LGPLed code. Having everything under GPL-2.0+ makes things consistent and allows me to import code from most Open Source licenses.
Given that the Printing Stack components are exchangeable with their Windows counterparts and implement documented interfaces, this license change doesn't impose any additional restrictions on dependent components (like printer drivers).
svn path=/trunk/; revision=75988
Colin Finck [Fri, 29 Sep 2017 13:58:14 +0000 (13:58 +0000)]
[VGAFONTEDIT] Use the new header with SPDX license identifier and make the entire application GPL-2.0+
The code of the single GPL-2.0 only file "misc.c" was originally derived from GPL-2.0 only devmgmt.
I have now replaced it with the same code from LGPL-2.1+ mmc, which makes my application a full GPL-2.0+ work. This is legit, because I know that Thomas Weidenmueller is the original author of the "misc.c" code.
svn path=/trunk/; revision=75987
Colin Finck [Fri, 29 Sep 2017 10:21:33 +0000 (10:21 +0000)]
[FASTFAT_NEW] [FULLFAT] Remove the FullFAT-based "fastfat_new" driver and the third-party FullFAT library itself.
Our driver has not seen any development since 2010 and the current fastfat driver has long surpassed it.
Even more important, FullFAT is licensed under a modified version of GPLv3 that forbids commercial usage. Shipping it as a ReactOS dependency would render the OS unusable for commercial scenarios.
If anybody wants to resurrect the driver, you can always get it from the repository history.
svn path=/trunk/; revision=75986
Colin Finck [Fri, 29 Sep 2017 10:10:26 +0000 (10:10 +0000)]
[HEADERS] Use the new header with SPDX license identifier for host headers I've contributed to and ensure license compliance for pshpack/poppack.
- The pshpack and poppack headers were rewritten from scratch as their current versions came with no license information and included obsolete checks (e.g. for an ancient FreeBSD version).
I have put the new ones under CC0-1.0, which is equivalent to Public Domain but legally valid also in jurisdictions which have no concept of Public Domain (e.g. Germany).
- Relicense nls.h under CC0-1.0 too. I'd recommend the same for typedefs.h, but I'm not the only contributor to that file.
svn path=/trunk/; revision=75985
Colin Finck [Thu, 28 Sep 2017 20:21:45 +0000 (20:21 +0000)]
[BOOTSECTORS] Use the new header with SPDX license identifier for the ISO boot sector files I contributed to.
Remove the unmaintained .asm files.
svn path=/trunk/; revision=75984
Colin Finck [Thu, 28 Sep 2017 15:47:25 +0000 (15:47 +0000)]
[CONTROL] Use the new header with SPDX license identifier.
- The original header committed in 2004 clearly indicated "or any later version", so use GPL-2.0+
That header has since been removed in r33507 by some "Colin Finck" guy ;)
- Add Hermès to the list of copyright holders, since he rewrote most of this in r62694.
svn path=/trunk/; revision=75983
Sylvain Petreolle [Thu, 28 Sep 2017 14:43:09 +0000 (14:43 +0000)]
Set the resolution to 800x600x16 bit onbootcdregtest.
This removes the fallback to 640x480x256 colors induced by the lack of 32bits in KVM's cirrus GPU.
Fixes:
dosbox 2.intro
irfanview 2.OpenDocument
smplayer 2.play_file
svn path=/trunk/; revision=75982
Eric Kohl [Wed, 27 Sep 2017 22:59:48 +0000 (22:59 +0000)]
[PCI]
Fix a port base adddress decoding bug. Port base addresses were always decoded like memory base addresses. Because of this bug, a device could have two port address ranges starting at the same base address but with different lengths.
svn path=/trunk/; revision=75981
James Tabor [Wed, 27 Sep 2017 22:39:17 +0000 (22:39 +0000)]
[NtUser]
- Patch by MudHead : Should test for invalid parent parameter. See CORE-13718.
svn path=/trunk/; revision=75980
James Tabor [Wed, 27 Sep 2017 22:35:26 +0000 (22:35 +0000)]
[NtUser]
- Patch by MudHead : Not setting error on success. See CORE-13717.
svn path=/trunk/; revision=75979
Pierre Schweitzer [Wed, 27 Sep 2017 17:43:52 +0000 (17:43 +0000)]
[KERNEL32]
- Move InternalOpenDirW() to disk.c; that's the last place where it's used
- Implement GetVolumePathNamesForVolumeNameA(); its -W implementation is still to be implemented
- W2K3ify SetVolumeLabelW() and SetVolumeLabelA()
svn path=/trunk/; revision=75978
Hermès Bélusca-Maïto [Tue, 26 Sep 2017 14:29:25 +0000 (14:29 +0000)]
[TIMEOUT]: Use a waitable timer to wait for a maximum of 1 second, instead of using some Sleep(100) calls. The only Sleep() call allowed is the Sleep(INFINITE) one.
svn path=/trunk/; revision=75977
Eric Kohl [Tue, 26 Sep 2017 13:49:09 +0000 (13:49 +0000)]
[FASTFAT]
Revert r75975 because of failures in the advpack files winetest.
svn path=/trunk/; revision=75976
Eric Kohl [Tue, 26 Sep 2017 12:36:17 +0000 (12:36 +0000)]
[FASTFAT]
Terminate the path name at the last slash when a file is opened using the IO_OPEN_TARGET_DIRECTORY option. This fixes some IoCreateFile kernel mode tests.
svn path=/trunk/; revision=75975
Eric Kohl [Tue, 26 Sep 2017 09:18:20 +0000 (09:18 +0000)]
[NETAPI32]
Implement NetLogonSetServiceBits().
svn path=/trunk/; revision=75974
Giannis Adamopoulos [Tue, 26 Sep 2017 09:11:51 +0000 (09:11 +0000)]
[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
Eric Kohl [Tue, 26 Sep 2017 09:03:27 +0000 (09:03 +0000)]
[NETAPI32]
Implement NetStatisticsGet() and move NetpNtStatusToApiStatus().
svn path=/trunk/; revision=75972
Eric Kohl [Tue, 26 Sep 2017 07:51:56 +0000 (07:51 +0000)]
[NETAPI32]
Rename misc.c to utils.c because misc.c will be used for something else.
svn path=/trunk/; revision=75971
Eric Kohl [Tue, 26 Sep 2017 07:32:49 +0000 (07:32 +0000)]
[NETAPI]
Add proper client implementations for NetQueryDisplayInformation() and NetGetDisplayInformationIndex().
svn path=/trunk/; revision=75970
Pierre Schweitzer [Tue, 26 Sep 2017 06:18:07 +0000 (06:18 +0000)]
[KERNEL32]
W2K3ify GetVolumeInformationA().
Also fix a regression brought by GetVolumeInformationW() rewrite (yay, winetests!).
svn path=/trunk/; revision=75969
Hermès Bélusca-Maïto [Mon, 25 Sep 2017 23:31:44 +0000 (23:31 +0000)]
[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
Pierre Schweitzer [Mon, 25 Sep 2017 21:33:56 +0000 (21:33 +0000)]
[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
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
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
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
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
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
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
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
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
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
Amine Khaldi [Sun, 24 Sep 2017 11:32:16 +0000 (11:32 +0000)]
[PSDK] Update winreg.h. CORE-13762
svn path=/trunk/; revision=75957
Amine Khaldi [Sun, 24 Sep 2017 11:27:47 +0000 (11:27 +0000)]
[XMLLITE_WINETEST] Addendum to r75951.
svn path=/trunk/; revision=75956
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
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
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
Amine Khaldi [Sun, 24 Sep 2017 11:18:52 +0000 (11:18 +0000)]
[PSDK] Update propidl.idl. CORE-13762
svn path=/trunk/; revision=75952
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Pierre Schweitzer [Thu, 21 Sep 2017 08:52:27 +0000 (08:52 +0000)]
[KMTESTS:KERNEL32]
Magic values--;
svn path=/trunk/; revision=75916
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
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
Pierre Schweitzer [Wed, 20 Sep 2017 11:41:28 +0000 (11:41 +0000)]
[FSUTIL]
Implement fsutil volume diskfree
svn path=/trunk/; revision=75913
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
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
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
Pierre Schweitzer [Wed, 20 Sep 2017 07:50:48 +0000 (07:50 +0000)]
[FSUTIL]
Define handlers type
svn path=/trunk/; revision=75909
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
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
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
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
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
Amine Khaldi [Sun, 17 Sep 2017 22:57:54 +0000 (22:57 +0000)]
[PSDK] Update urlmon.idl. CORE-13762
svn path=/trunk/; revision=75901
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
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