Commit graph

68709 commits

Author SHA1 Message Date
Amine Khaldi 02b8adbe36 [ADVPACK_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74784
2017-06-03 18:37:03 +00:00
Amine Khaldi f91f6781d9 [ADVPACK] Sync with Wine Staging 2.9. CORE-13362
a059696 advpack: Sort specfile.
c0b3703 advpack: Don't trace the contents of an output buffer (Valgrind).
31c1895 advpack: Fix some spec file entries.
2ed059a advpack: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().

svn path=/trunk/; revision=74783
2017-06-03 18:36:59 +00:00
Amine Khaldi 3e73825c04 [QUARTZ] Sync with Wine Staging 2.9. CORE-13362
1f765fb quartz: Remove an unnecessary if.

svn path=/trunk/; revision=74782
2017-06-03 18:36:47 +00:00
Pierre Schweitzer 53c317d86d [UDFS]
Our current storage stack iteration considers that any CDROM is read-only and forces it.
Reflect that fact in UDFS; we cannot assume that our device won't be readonly.

CORE-4375

svn path=/trunk/; revision=74781
2017-06-03 18:29:44 +00:00
Pierre Schweitzer bcd5f02d0f [UDFS]
HIde a bug in UDFQueueDelayedClose() by removing the boolean storing the fact
that VCB resource was (or not) acquired.
If you debug it, you see that in finally block, value is set to false on exit
without any reason: it is always acquired!
Given it's always acquired, just drop the boolean, but this doesn't explain the
root cause of this bug....

Here it helps avoiding deadlocks on directory listing on a DVD formatted with UDF

CORE-4375

svn path=/trunk/; revision=74780
2017-06-03 18:12:25 +00:00
Amine Khaldi 61e603ee5a [DPLAYX_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74779
2017-06-03 18:06:05 +00:00
Amine Khaldi 755627e213 [DPLAYX] Sync with Wine Staging 2.9. CORE-13362
2bb3636 dplayx: Skip over unknown DataTypes guids in EnumAddressTypes.

svn path=/trunk/; revision=74778
2017-06-03 18:05:58 +00:00
Amine Khaldi d52d8cb667 [DMUSIC] Sync with Wine Staging 2.9. CORE-13362
40a4a5c dmusic: Fail in CreatePort() if SetDirectSound() wasn't called.
62bf207 dmusic: Remove the port from the ports list on the port destruction.
3b4909f dmusic: Set the dsound pointer to NULL on an error path.
829ef41 dmusic: Fix compilation on systems that don't support nameless structs or unions.
43b3f84 dmusic: Add dsound handling to the synth port Activate() method.
f968edb dmusic: Partially implement the synth IDirectMusicPort::SetDirectSound().
e8873b7 dmusic: Pass only the needed stuff to the DMPort create functions.
36a88d2 dmusic: Implement IDirectMusic8::SetDirectSound().
b75e8bc dmusic: Use more sensible and consistent field names for IDirectMusic8Impl.
950b8a9 dmusic: Avoid an intermediate copy in PackStructured().
7cd7f14 dmusic: Implement IDirectMusicBuffer::PackUnstructured().
4fbae8e dmusic: Use DMUS_EVENT_SIZE() to calculate the size of the message.

svn path=/trunk/; revision=74777
2017-06-03 18:05:52 +00:00
Amine Khaldi 6ab32d28bf [DINPUT] Sync with Wine Staging 2.9. CORE-13362
e87ccb8 dinput: Assume a 1-to-1 axes map when no axes match.
41b126b dinput: Handle username in EnumDevicesBySemantics.
967399e dinput: Keep username same between device objects.

svn path=/trunk/; revision=74776
2017-06-03 18:05:46 +00:00
Amine Khaldi e1aaa10312 [DEVENUM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
svn path=/trunk/; revision=74775
2017-06-03 17:29:09 +00:00
Amine Khaldi 81c8fd62b3 [DEVENUM] Sync with Wine Staging 2.9. CORE-13362
7d07768 devenum: Populate AudioCompressorCategory.
116743c devenum: Implement IMoniker::IsEqual().
ff0a25c devenum: Use RegQueryValueExW instead of RegQueryValueW.
05ed831 devenum: Implement IMoniker::GetClassID().

svn path=/trunk/; revision=74774
2017-06-03 17:29:04 +00:00
Amine Khaldi 15f8d4f061 [IEXPLORE] Sync with Wine Staging 2.9. CORE-13362
79d01be iexplore: Follow translation version info to detect native IE.

svn path=/trunk/; revision=74773
2017-06-03 17:28:59 +00:00
Amine Khaldi 6b4d06cee9 [XCOPY] Sync with Wine Staging 2.9. CORE-13362
373604f xcopy: Avoid using isdigit() for WCHARs.

svn path=/trunk/; revision=74772
2017-06-03 17:28:54 +00:00
Pierre Schweitzer 70740f2a14 [UDFS]
Fix broken KdPrint

svn path=/trunk/; revision=74770
2017-06-03 16:54:18 +00:00
Amine Khaldi e1cb837969 [PSDK] Update asptlb.idl. CORE-13362
svn path=/trunk/; revision=74765
2017-06-03 15:44:58 +00:00
Mark Jansen 44616bacfb [SHELL32] CMenuDeskBar: Prevent destruction of the start menu when receiving a WM_CLOSE message. CORE-12028
svn path=/trunk/; revision=74764
2017-06-03 15:35:21 +00:00
Hermès Bélusca-Maïto 70cd488931 [HIVESYS]: Add some missing PnP classes... But as it says, "Device classes (this list is incomplete... and should be generated from .inf files during installation)" <-- the INFs in question are the INF hardware files in the media/inf directory.
svn path=/trunk/; revision=74761
2017-06-03 14:25:38 +00:00
Mark Jansen eb88e1e349 [KERNEL32] Fix IsShimInfrastructureDisabled. CORE-13352
svn path=/trunk/; revision=74760
2017-06-03 13:06:32 +00:00
Pierre Schweitzer 63eb4b623a [KMTESTS:MM]
Test various sizes with MmMapLockedPagesSpecifyCache() to show that behavior is strictly identical.
This was designed/tested under W2K3.

CORE-8204

svn path=/trunk/; revision=74759
2017-06-03 10:29:39 +00:00
Thomas Faber 440e3c69e4 [KERNEL32_APITEST]
- Add tests for IsDBCSLeadByteEx. Patch by Katayama Hirofumi MZ.
ROSTESTS-281 #resolve

svn path=/trunk/; revision=74758
2017-06-03 07:05:31 +00:00
Thomas Faber e98a0d8a85 [LOCALSPL]
- Fix out-of-bounds access in _LocalGetPrinterLevel5. Patch by Ivan Rodionov.
CORE-13356 #resolve

svn path=/trunk/; revision=74757
2017-06-03 06:46:34 +00:00
Peter Hater 21b16a63ed [MSWSOCK] Revert r74753 and r74755 as it showed regressions
svn path=/trunk/; revision=74756
2017-06-03 00:30:20 +00:00
Peter Hater a59bc8597f [MSWSOCK] Rearrange the function places to avoid forward declarations and code formatting
svn path=/trunk/; revision=74755
2017-06-02 21:57:37 +00:00
Eric Kohl 95d15ef760 [NETAPI32]
- Implement NetShareEnum, NetShareEnumSticky, NetShareGetInfo and NetShareSetInfo. These functions call their counterparts in the server service.
- NetShareAdd: Fix the level check.

svn path=/trunk/; revision=74754
2017-06-02 21:56:17 +00:00
Peter Hater d5ae9f5408 [MSWSOCK] Add wine debug messages on mswsock debug channel.
Better cleanup some failure paths.
Fix some error codes.
Add some error checks.
Add some comments.

svn path=/trunk/; revision=74753
2017-06-02 21:01:47 +00:00
Eric Kohl daff560348 [NETAPI32]
- Implement NetShareAdd, NetShareCheck, NetShareDel and NetShareDelSticky. These functions call their counterparts in the server service.
- Add stubs for NetShareEnum, NetShareEnumSticky, NetShareGetInfo and NetShareSetInfo.
- Get rid of the NetShare wine stubs.

svn path=/trunk/; revision=74752
2017-06-02 20:02:49 +00:00
Pierre Schweitzer 8679f001d9 [KMTESTS:MM]
Add tests for MmMapLockedPagesSpecifyCache() functions, and more specifically for usermode mapping.
This was designed/tested under W2K3.

CORE-8204

svn path=/trunk/; revision=74751
2017-06-02 19:19:32 +00:00
Peter Hater 1611dc4086 [MSWSOCK] Call explicitly DnsQuery_W. Copy host aliases if available as answer from the query
svn path=/trunk/; revision=74750
2017-06-02 17:52:20 +00:00
Hermès Bélusca-Maïto 0f80ead8ec [USETUP]: Creating a registry key with zero access is just plainly invalid. Fix it. It was not caught before because, we never ever booted a 1st-stage setup with a valid mounted existing SYSTEM key (as Windows does).
svn path=/trunk/; revision=74742
2017-06-02 00:44:04 +00:00
Hermès Bélusca-Maïto cead3c26ac [MKHIVE]: Fix string byte size vs. count in number of characters confusion in append_multi_sz_value(); this was already OK in wine's code. Should fix corrupted multi-string entries in the livecd registry hives, for example...
In addition, always open the hive file to be created in write mode only.
CORE-13347

svn path=/trunk/; revision=74740
2017-06-02 00:05:53 +00:00
Hermès Bélusca-Maïto b03f8990c0 [MKHIVE]: Formatting changes only + sync back the names of the reg-inf functions with the ones where they are coming from (aka. Wine's setupapi/install.c).
svn path=/trunk/; revision=74739
2017-06-02 00:00:37 +00:00
Hermès Bélusca-Maïto 375355b9a6 [MKHIVE]: Implement CmpFileRead().
svn path=/trunk/; revision=74738
2017-06-01 23:54:08 +00:00
Pierre Schweitzer b39d02678f [RDBSS]
Fix uninit var usage

CORE-13345
CORE-11327

svn path=/trunk/; revision=74737
2017-06-01 21:37:08 +00:00
Hermès Bélusca-Maïto fce964935e [BUGCODES]: Move our MORAL_EXCEPTION_ERROR BSOD to where it should really belong (aka BSOD 0x9A) (see https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0x9a--system-license-violation why). BSOD 0x7C is however legit: BUGCODE_NDIS_DRIVER.
svn path=/trunk/; revision=74736
2017-06-01 20:20:25 +00:00
Hermès Bélusca-Maïto 07a0591894 [NTOS]: Better clean up behind ourselves on failure paths (aka. closing handles). These functions are clearly not written with correct cleanup-on-failure concept in mind...
svn path=/trunk/; revision=74735
2017-06-01 18:37:48 +00:00
Hermès Bélusca-Maïto 7d14e79c4c [NTOS]: Code formatting only.
svn path=/trunk/; revision=74734
2017-06-01 18:35:48 +00:00
Hermès Bélusca-Maïto e5da5bc0d6 [NTOS]: Minor code formatting + don't leak a handle in case of failure, in CmpInitializeHardwareConfiguration().
svn path=/trunk/; revision=74733
2017-06-01 18:27:41 +00:00
Hermès Bélusca-Maïto 8538be9a1f [HAL]
Update the PCI hardware IDs database. Extracted from the pci.ids database from http://pci-ids.ucw.cz/ from 2017-05-25 03:15:02
Maintained by Albert Pool, Martin Mares, and other volunteers from the PCI ID Project.

svn path=/trunk/; revision=74732
2017-06-01 17:31:23 +00:00
Peter Hater 0c26c6fe3f [MSWSOCK] Unstub AcceptEx and GetAcceptExSockaddrs. Note that real implementation in msafd is not available, so result will still be FALSE
svn path=/trunk/; revision=74731
2017-06-01 15:25:25 +00:00
Peter Hater cc95312078 [MSWSOCK] Change functions to be able to use control flags with DnsQuery.
Add host aliases to hostent if available and requested.
Only copy servent aliases if available and requested.

svn path=/trunk/; revision=74730
2017-06-01 15:22:06 +00:00
Thomas Faber 50313aa5c8 [ACPICA]
- Update to version 20170531
CORE-13348 #resolve

svn path=/trunk/; revision=74729
2017-06-01 10:54:48 +00:00
Peter Hater 3be9010b96 [MSAFD] Don't try to accept on non listening socket. Return WSAEINVAL
svn path=/trunk/; revision=74728
2017-06-01 09:41:19 +00:00
Peter Hater d060749ca4 [MSWSOCK] Update network protocols. Patch by Marco Savelli. CORE-13320 #resolve
svn path=/trunk/; revision=74727
2017-06-01 09:00:32 +00:00
Hermès Bélusca-Maïto c1d754ee9f [FREELDR/WINLDR]: Rework LoadModule() so that we can load custom kernels & hals via the /KERNEL= and /HAL= boot option switches.
svn path=/trunk/; revision=74725
2017-05-31 18:40:29 +00:00
Pierre Schweitzer c6fc31e430 [RXCE]
Fix broken cast
By Thomas

svn path=/trunk/; revision=74724
2017-05-31 17:10:45 +00:00
Pierre Schweitzer 47a6faa9cd [DDK]
sed -i s/__volatile/volatile/g to fix build with VS2010

CORE-13345

svn path=/trunk/; revision=74723
2017-05-31 17:02:44 +00:00
Hermès Bélusca-Maïto f51faa4a0f [NTOS]: Underline the fact that CmpGetRegistryPath (especially when being run in 1st-stage text mode) is just a big hack (introduced in r3794 and r3795). I however need to monitor its output for the moment...
svn path=/trunk/; revision=74709
2017-05-31 00:03:33 +00:00
Hermès Bélusca-Maïto 3ef498a4de [NTOS]: Minor fixes:
- Correctly specify the buffer size for RtlInitEmptyUnicodeString calls;
- Prefer using RtlAppendUnicodeStringToString instead of RtlAppendStringToString: both actually do the very same job on counted strings, but the former doesn't need the explicit PSTRING casts, and NULL-terminate the string buffer if possible (aka. if the available remaining length permits it, otherwise it doesn't add any NULL terminator, falling back to the default behaviour of RtlAppendStringToString).
- Remove a deprecated commented-out variable.

svn path=/trunk/; revision=74708
2017-05-31 00:01:31 +00:00
Pierre Schweitzer 7b67bd00c4 [NTDLL_VISTA]
Fix GCC build after r74706.
Patch by Thomas

svn path=/trunk/; revision=74707
2017-05-30 22:01:13 +00:00
Mark Jansen c588ecb84f Fix the build for MSVC.
svn path=/trunk/; revision=74706
2017-05-30 21:48:04 +00:00