Commit graph

70515 commits

Author SHA1 Message Date
Pierre Schweitzer
453e42beb5
[FASTFAT] Revert bd1e7bf: our VPB swapout implementation in FastFAT is buggy and
leaves volumes in half-(dis)mounted state and thus they get remounted while not
completely dismounted.
This can lead to major breakage and data corruption.
This requires deeper fixes (let's just drop that driver!).

CORE-14124
CORE-14126
CORE-14133
2017-12-25 11:24:13 +01:00
Pierre Schweitzer
fc5a61d8b7
[NTOSKRNL] Revert 4ef0887: experiments show that our FastFAT is not ready yet to live on its own.
So, bring back the infamous IopParseDevice() hack. Dismounting is to be fixed in FastFAT.
Even though it might not be the last remaining bug...

CORE-14124
CORE-14126
CORE-14133
2017-12-25 11:24:13 +01:00
Giannis Adamopoulos
c5db5399dc [USER32] Implement the index -1 for GetWindowLong which returns a pointer to WW
We don't have this struct but WND already contains the same fields in the right
order so we can just return the pointer to the first one.

The meaning of the -1 index was found here: http://www.geoffchappell.com/studies/windows/win32/user32/structs/wnd/index.htm
2017-12-25 00:12:45 +02:00
Giannis Adamopoulos
c5e707ec1f [UXTHEME] EnableThemeDialogTexture: Update window theme only when ETDT_USETABTEXTURE is used 2017-12-24 23:52:10 +02:00
Pierre Schweitzer
b9b461bde9
[DISK] Properly implement querying partition information for partition 0.
In spite of what was implemented in our NT DDK sample, this is a legit operation.

This may have been turned legit starting NT5 (reminder, our implementation is
NT4 based...). So, in this situation, just return the information about the whole
disk (and not a random size) and also, mark everything with default values.

See disk_new for an example of how it works in NT5+.

CORE-14124
2017-12-24 21:58:47 +01:00
Giannis Adamopoulos
1db8bd46d6 [NTDLL_APITEST] -Add a hacky Microsoft.Windows.GdiPlus.manifest.
This is needed because ntdlltest.manifest has a dependency
on gdiplus and won't load because we don't have it in winsxs.
Eventually this must be removed.
2017-12-24 21:19:03 +02:00
Giannis Adamopoulos
435b0b19d2 [COMCTL32] Install comctl32 v6 and its manifest in first stage 2017-12-24 21:19:03 +02:00
Giannis Adamopoulos
7059421a23 [NTDLL_APITEST] Add several tests for RtlDosApplyFileIsolationRedirection_Ustr 2017-12-24 21:19:03 +02:00
Giannis Adamopoulos
f318a25e10 [LDR] Overhaul sxs support in ldr
* Remove the hacky find_actctx_dll form ldr that was taken from wine. LdrpResolveDllName and LdrpCheckForLoadedDll should get a parameter that is already redirected.
* Use RtlDosApplyFileIsolationRedirection_Ustr in LdrpLoadImportModule and LdrpUpdateLoadCount3 to redirerect the input parameter.
2017-12-24 21:19:03 +02:00
Giannis Adamopoulos
7000fe2340 [NTDLL] Implement RtlDosApplyFileIsolationRedirection_Ustr based on existing wine's code for ldr. .local redirection is not implemented yet. 2017-12-24 21:19:03 +02:00
Giannis Adamopoulos
51c694274f [RTL] find_string_index: name parameter may not be null terminated 2017-12-24 21:19:03 +02:00
Hermès Bélusca-Maïto
ff8d8a8162
Revert 57c0678 (PR #194) that has been erroneously committed too early. 2017-12-24 16:54:48 +01:00
Hermès Bélusca-Maïto
f49caecb3b
[SDK] Fix copy-pasta, addendum to 7861960 by Mark Jansen. 2017-12-24 16:48:13 +01:00
Stanislav Motylkov
57c0678818
[NTOS:INBV] Implement rotation bar for boot screen 2017-12-24 16:47:02 +01:00
Mark Jansen
7861960a88 [SDK] Guard manifest_[dll|exe].rc against wrong usage. 2017-12-24 11:44:21 +01:00
Mark Jansen
99c7c93b83 [DLL] Fix wrong manifest includes. 2017-12-24 11:44:21 +01:00
Amine Khaldi
3c8a3a6e7e [NET] CompareInfo => CompareUserInfo. #179 2017-12-24 00:15:58 +01:00
Amine Khaldi
5ef2c4515e [NTVDM] Move the def file out of the source files list. Rename some variables and functions. #179 2017-12-24 00:04:15 +01:00
Amine Khaldi
d822478e06 [NTVDM] Missed this file. 2017-12-23 23:59:39 +01:00
Amine Khaldi
9716814879 [NTVDM] Deduplicate IsConsoleHandle() using the correct version pointed by Hermès. #179 2017-12-23 23:56:04 +01:00
Amine Khaldi
3d93998d6e [USER32] Add wine/debug.h to the PCH and remove an unneeded wine/unicode.h inclusion. 2017-12-23 23:42:40 +01:00
Amine Khaldi
17b691f5a9 [REGEDIT] Rename NUM_ICONS and _CmdWndProc(). #179 2017-12-23 14:15:02 +01:00
Amine Khaldi
fc93f23830 [INTL] Rename some variables and functions. #179 2017-12-23 14:07:33 +01:00
Amine Khaldi
eff73544ec [SYSDM] Rename some functions. #179 2017-12-23 14:05:07 +01:00
Amine Khaldi
d9a18277b8 [SERVMAN] InitDialog => InitProgressDialog. #179 2017-12-23 14:00:08 +01:00
Amine Khaldi
e3e46b2bcd [DXDIAG] Rename WIDTH, HEIGHT, InitListViewColumns and SetDeviceDetails. Zap WindowProc. #179 2017-12-23 13:57:01 +01:00
Amine Khaldi
1963e2d130 [CHARMAP] Rename OnCreate functions. #179 2017-12-23 13:46:33 +01:00
Pierre Schweitzer
fc921423f3
[VFD] Add support for installing driver from System32\drivers.
Patch by Doug Lyons.

CORE-14090
2017-12-23 09:34:34 +01:00
Mark Jansen
f941c78f50 [ATL_APITEST] Show that CComObject's COM_MAP continues enumeration after a failing blind function. 2017-12-21 21:37:54 +01:00
Mark Jansen
a730e3fce1 [ATL] Continue enumeration after a failing COM_INTERFACE_ENTRY_FUNC_BLIND 2017-12-21 21:37:54 +01:00
Amine Khaldi
7ce46d59b4 [WINDOWSCODECS_WINETEST] Add a PCH. 2017-12-21 13:57:22 +01:00
Amine Khaldi
d3626819e6 [MSXML3_WINETEST] Add a PCH. 2017-12-21 13:55:57 +01:00
Amine Khaldi
ffd9617271 [DSOUND_WINETEST] Add a PCH. 2017-12-21 13:53:36 +01:00
Amine Khaldi
0b21a561cd [DINPUT_WINETEST] Add a PCH. 2017-12-21 13:45:22 +01:00
Amine Khaldi
b09a63709b [WS2_32_APITEST] Improve the existing PCH and make use of it. 2017-12-21 13:36:04 +01:00
Amine Khaldi
823270e608 [ATL_APITEST] Add a PCH. 2017-12-21 13:31:24 +01:00
Samuel Serapion
a59d4674de [NTOS] Remove forgotten assert, see CORE-14128. 2017-12-20 21:00:52 +01:00
Stanislav Motylkov
a89c979fe0 [TRANSLATION] [NETCFGX] Fix russian translation 2017-12-20 20:35:08 +01:00
Joachim Henze
82caf5f823 [WIN32K] avoid BSOD in Bochs 2.6.8 CORE-13629, patch by Mark Jansen
We applied this patch also last second in 0.4.7rls, now in master.

IntTrackPopupMenuEx() caused the BSOD when called while window is in the process of being destroyed.
2017-12-20 17:38:36 +01:00
Amine Khaldi
9317220c00 [SHLWAPI_WINETEST] Add a PCH. 2017-12-20 13:36:27 +01:00
Amine Khaldi
e32018ba19 [SHELL32_WINETEST] Add a PCH. 2017-12-20 13:29:32 +01:00
Amine Khaldi
de6d0f24bc [OLEAUT32_WINETEST] Add a PCH. 2017-12-20 13:21:11 +01:00
Amine Khaldi
2cd1c84f7f [OLE32_WINETEST] Add a PCH. 2017-12-20 13:13:26 +01:00
Amine Khaldi
a76e7d13e2 [NTDLL_WINETEST] Add a PCH. 2017-12-20 13:07:06 +01:00
Amine Khaldi
9cfa608dcf [MSVCRT_WINETEST] Add a PCH. 2017-12-20 12:57:58 +01:00
Colin Finck
12b78f182d
Replace our dxtn.dll by a version based on the libtxc_dxtn source code (#203)
This is no official system DLL and WineD3D is its only user. But latest WineD3D prefers the libtxc_dxtn codebase instead of the alternative library we used.
This is also what Mesa uses and Fedora ships now that the patents have expired, so we should stick to the same.

I'm importing the libtxc_dxtn-1.0.1 codebase from https://people.freedesktop.org/~cbrill/libtxc_dxtn/
It compiles warning-free in our tree without modifying a single line!

I'm merging this Pull Request based on the positive response in CORE-12759.
I lack a proper test case myself, but my version at least shouldn't make things worse. In my opinion, the previous one was broken anyway due to using stdcall imports when WineD3D called cdecl ones.

This also removes the NSWPAT option from our buildsystem as dxtn was its latest user.
2017-12-20 11:15:13 +01:00
Timo Kreuzer
84c26953e4 [BOOT] Add VBox debug to livecd.ini 2017-12-20 06:56:09 +01:00
Timo Kreuzer
12e2c48a25 [NTOS:MM] Fix a bug in MiBuildPfnDatabase
MxPfnAllocation is in pages, not in bytes!
2017-12-20 06:56:09 +01:00
Timo Kreuzer
18cd763160 [NTOS:MM] Make debug code in MmArmInitSystem portable 2017-12-20 06:56:09 +01:00
Timo Kreuzer
11c78f701d [NTOS:MM] Implement x64 version of MI_MAKE_SUBSECTION_PTE 2017-12-20 06:56:09 +01:00