Commit graph

61344 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto
2188c7a30c [NTVDM]
Write a proper exception filter for the emulated CPU. Allows to:
- handle memory access exceptions inside the virtual memory space (happens when a VDD installs a memory hook on a memory region and a DOS app tries to read/write inside this region);
- detect NTVDM bugs (if during emulation one tries to read/write in invalid memory areas). This should unveils at least 1 bug in the DOS device emulation, when running 386TO486.COM inside NTVDM.

svn path=/trunk/; revision=66897
2015-03-26 01:46:27 +00:00
Hermès Bélusca-Maïto
8c77dacbfe Fix 3 misspellings. No code changes.
svn path=/trunk/; revision=66896
2015-03-26 01:43:47 +00:00
Aleksandar Andrejevic
56063f930f [NTVDM]
Implement DOS character device support and driver loading support.
Separate the DOS memory manager code from the main DOS kernel source file.

CORE-9370 #resolve #comment Committed in revision r66895.


svn path=/trunk/; revision=66895
2015-03-26 00:21:25 +00:00
Giannis Adamopoulos
4817056662 [SHELL32]
- Stub SHGetComputerDisplayNameW.

svn path=/trunk/; revision=66894
2015-03-26 00:00:24 +00:00
Timo Kreuzer
976a3274ad [WIN32K]
Rewrite brush code in C++

svn path=/trunk/; revision=66893
2015-03-25 22:38:20 +00:00
Timo Kreuzer
ec0f3d9ba9 [WIN32K]
Handle DIB_PAL_INDICES in DIB_BitmapInfoSize

svn path=/trunk/; revision=66892
2015-03-25 22:37:16 +00:00
Timo Kreuzer
0f8766d749 [WIN32K]
- Make brush structure definition C++ compatible
- Add delete callback for GDI objects and use if for brushes.
- Make IntGdiSetSolidBrushColor NTAPI instead of FASTCALL

svn path=/trunk/; revision=66891
2015-03-25 22:32:48 +00:00
Timo Kreuzer
20d7540340 [WIN32K]
- Add InterlockedIn/DecrementUL
- Define NULL to nullptr for C++ code
- Reorder includes a bit. First GDI then USER. Don't include most USER headers for C++ for now.

svn path=/trunk/; revision=66890
2015-03-25 22:32:35 +00:00
Timo Kreuzer
8123f0d8b5 [WIN32K]
Make internal GDI headers C++ compatible, get rid of USER dependencies

svn path=/trunk/; revision=66889
2015-03-25 22:32:22 +00:00
Timo Kreuzer
12e465be82 [WIN32SS/INCLUDE]
- Add ntwin32.h, move declaration of PTHREADINFO, PPROCESSINFO and W32CLIENTINFO there
- Avoid language extensions that are not C++ compatible
- Avoid dependenence to PTHREADINFO/PPROCESSINFO in ntuser.h and use incomplete types instead
- Move duplicate definition of PATRECT from ntusrtyp.h to user32.h private header

svn path=/trunk/; revision=66888
2015-03-25 22:32:06 +00:00
Timo Kreuzer
40e758b16f [WIN32K/INCLUDE]
Add ntwin32.h

svn path=/trunk/; revision=66887
2015-03-25 22:30:28 +00:00
Timo Kreuzer
d6e49e3561 [INCLUDE]
- intsafe.h: Fix some constants to be C++ compatible
- sal.h: Implement _Analysis_mode_, __prefast_operator_new_null and __prefast_operator_new_throws annotations
- Make probe.h (mostly) C++ compatible

svn path=/trunk/; revision=66886
2015-03-25 22:27:44 +00:00
Timo Kreuzer
5528fd245a [WIN32K]
Implement GreCreateDIBitmapFromPackedDIB

svn path=/trunk/; revision=66885
2015-03-25 22:27:16 +00:00
Timo Kreuzer
1ddbcff3ca [WIN32K]
Add definition for DIB_PAL_INDICES and fix typo in the related brush flag (BR_IS_DIBPALINDICES). See http://support.microsoft.com/kb/kbview/108497

svn path=/trunk/; revision=66884
2015-03-25 22:27:05 +00:00
Timo Kreuzer
e431dd155c [WIN32K]
- Handle allocation failures in FixupDIBBrushPalette
- In IntCreateDIBitmap make sure to the absolute height to GreCreateBitmap

svn path=/trunk/; revision=66883
2015-03-25 22:26:52 +00:00
Amine Khaldi
dcc59fc583 [MCIQTZ32] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66882
2015-03-25 16:00:49 +00:00
Amine Khaldi
c9a0232604 [MAPI32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66881
2015-03-25 16:00:04 +00:00
Amine Khaldi
dee70c51c0 [MCIAVI32] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66880
2015-03-25 15:59:32 +00:00
Amine Khaldi
39dde93a8c [LOCALSPL] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66879
2015-03-25 15:58:54 +00:00
Amine Khaldi
27db0e5449 [JSCRIPT_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66878
2015-03-25 15:58:33 +00:00
Amine Khaldi
ff44482672 [JSCRIPT] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66877
2015-03-25 15:58:08 +00:00
Amine Khaldi
65d7d6a954 [PSDK] Update mlang.idl. CORE-9246
svn path=/trunk/; revision=66876
2015-03-25 11:59:44 +00:00
Amine Khaldi
0db8db7878 [ITSS_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66875
2015-03-25 11:58:28 +00:00
Amine Khaldi
86cc1d9ca6 [IMAGEHLP_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66874
2015-03-25 11:57:51 +00:00
Amine Khaldi
df6c97a806 [IMAGEHLP] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66873
2015-03-25 11:57:17 +00:00
Amine Khaldi
a807e7dd38 [IEFRAME] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66872
2015-03-25 11:56:14 +00:00
Amine Khaldi
72f999efd7 [ICCVID] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66871
2015-03-25 11:54:53 +00:00
Amine Khaldi
9d1ae195ab [HNETCFG] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66870
2015-03-25 11:54:05 +00:00
Amine Khaldi
b3f9d34e0f [GDIPLUS_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66869
2015-03-25 11:51:58 +00:00
Hermès Bélusca-Maïto
14f8c43fb1 Fix build.
svn path=/trunk/; revision=66868
2015-03-25 00:09:09 +00:00
Hermès Bélusca-Maïto
dcf029ad84 [CONSRV]
- Introduce a "console configuration" library that is used by both CONSRV and the console properties applet so that they can share common code concerning getting/setting console registry properties.
- Make use of the Windows-compatible (and undocumented) CONSOLE_STATE_INFO structure for that purpose (as well as the WM_SETCONSOLEINFO): see commits r63819 and r58415 and links within for more details. Note: this structure needs to be 4-byte packed (contrary to what it is said in almost all the links from above. The difference is only visible at the level of the last member that is the ConsoleTitle string array. This was tested on windows).
- Simplify some parts of console settings initialization.
- Some work is still needed concerning how to correctly retrieve the default console settings (without touching the ConsoleTitle member of CONSOLE_STATE_INFO, contrary to what we do currently).

[CONSOLE.DLL]
- Make the console properties applet windows-compatible, in the sense that you can now run it on win2k3 and use it instead of the windows one. This implies having the same strange hacks as windows' one, namely, that the window handle parameter of the CPlApplet entry point is either used as the caller (parent) window handle, OR, as a shared section handle to shared data with CONSRV.

[KERNEL32]
- Rework the console applet initialization accordingly. Also we reload each time the console.dll when opening the console applet, and then unload it: this "allows" to reset all the global variables that console.dll may (and does) have.

svn path=/trunk/; revision=66867
2015-03-24 23:58:44 +00:00
Hermès Bélusca-Maïto
79243bfdce [NTOS]: Don't hardcode the size of the ShutDownWaitEntry and use the correct pool tags when freeing the entry.
svn path=/trunk/; revision=66866
2015-03-24 00:19:43 +00:00
Eric Kohl
4f573a59dc [NETAPI32]
Implement NetWkstaTransportAdd, NetWkstaTransportDel and NetWkstaTransportEnum.

svn path=/trunk/; revision=66865
2015-03-23 21:47:50 +00:00
Kamil Hornicek
61e77276a2 [GDI32]
- export GdiGetBitmapBitsSize

svn path=/trunk/; revision=66864
2015-03-23 13:25:16 +00:00
Giannis Adamopoulos
6f9088f10e [WINLOGON]
- Create the window station handle and the desktops with MAXIMUM_ALLOWED access rights.
- Call AddAceToWindowStation before calling SetWindowStationUser.

svn path=/trunk/; revision=66863
2015-03-23 07:46:17 +00:00
Eric Kohl
218064f15d [SCHEDSVC]
Start work on the seceduler service.

[NETAPI32]
Implement the scheduler service client functions.

svn path=/trunk/; revision=66862
2015-03-22 21:57:55 +00:00
Giannis Adamopoulos
e4f7b62262 - Fix build
svn path=/trunk/; revision=66861
2015-03-22 21:37:02 +00:00
Giannis Adamopoulos
b69a61ee7c [SHELL32]
- Call SetTaskmanWindow right before RegisterShellHookWindow like the old explorer did.

svn path=/trunk/; revision=66860
2015-03-22 21:34:08 +00:00
Sylvain Petreolle
efbc9e3dc9 [IPHLPAPI]
Add checks for the family.

svn path=/trunk/; revision=66859
2015-03-22 20:35:21 +00:00
Amine Khaldi
9a95a99726 [FUSION_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66858
2015-03-22 18:34:09 +00:00
Amine Khaldi
5478176ded [GDIPLUS] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66857
2015-03-22 18:33:30 +00:00
Amine Khaldi
89656789aa [MPLAY32] Give a valid pointer to a MCI_SEEK_PARMS structure when using MCI_SEEK_TO_START flag. By Ricardo Hanke. CORE-9408
svn path=/trunk/; revision=66856
2015-03-22 18:07:59 +00:00
Colin Finck
40da1525c9 [ROSAUTOTEST]
Make outputting a string as easy as it should be. Now that our StringOut internally uses OutputDebugStringA instead of DbgPrint, we don't need to output in 512 byte chunks anymore.
Additionally, do an explicit flush when using std::cout to not lose debug output.

ROSTESTS-158 #resolve #comment Committed in r66855

svn path=/trunk/; revision=66855
2015-03-22 12:35:08 +00:00
Kamil Hornicek
d2bc21c312 [WIN32K]
- set the devmode size for ENUM_REGISTRY_SETTINGS case in NtUserEnumDisplaySettings so it gets copied back to caller later

svn path=/trunk/; revision=66854
2015-03-22 12:08:09 +00:00
Johannes Anderwald
a60fb0c766 [SYSAUDIO][KMIXER]
- convert to pnp software device

svn path=/trunk/; revision=66853
2015-03-22 11:27:52 +00:00
Johannes Anderwald
750c4f7d1d [KS]
- fix a few bugs

svn path=/trunk/; revision=66852
2015-03-22 10:27:44 +00:00
Christoph von Wittich
4a5a775bf6 [WIN32K]
Gracefully handle failure in DrvEnableSurface.
patch by Timo Kreuzer

svn path=/trunk/; revision=66851
2015-03-21 16:29:40 +00:00
Sylvain Petreolle
7bab2c0560 [LDR]
Addendum to r66735:
Copy it, but copy it good.

svn path=/trunk/; revision=66850
2015-03-21 15:26:50 +00:00
Amine Khaldi
d407d661cb [NTDLL_WINETEST] Bring-in Mark Jansen's ipv4/6 test additions.
svn path=/trunk/; revision=66849
2015-03-21 13:07:55 +00:00
Amine Khaldi
9e40fb7db8 [FUSION] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66848
2015-03-21 12:21:40 +00:00