Commit graph

69664 commits

Author SHA1 Message Date
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
Eric Kohl
0cf7641a8e explorer: Improve Japanese resource
Patch by Katayama Hirofumi MZ.
CORE-13809

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

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

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

CORE-13805

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

CORE-13805

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

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

CORE-13805

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

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

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

svn path=/trunk/; revision=75902
2017-09-17 22:58:01 +00:00
Amine Khaldi
24a6fd76cb [PSDK] Update urlmon.idl. CORE-13762
svn path=/trunk/; revision=75901
2017-09-17 22:57:54 +00:00