Commit graph

63650 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 4ad08f6ee4 [NTVDM]: Add a diagnostic dprint to check why some apps seem to fail allocating memory.
svn path=/trunk/; revision=69203
2015-09-12 18:13:53 +00:00
James Tabor 5547abd08e [Win32k]
- Fix Alpha Blending while using layered windows in lower bit modes. See CORE-10167.

svn path=/trunk/; revision=69202
2015-09-12 17:29:16 +00:00
Hermès Bélusca-Maïto 28b957e970 [KERNEL32]
GetNextVDMCommand function:
- Avoid using deep nested levels of indentation.
- Fix the error check conditions (+ status value) for the CsrClientCallServer call to make it compatible with what windows' basesrv can return to us.

[BASESRV]
- Remove some useless "NTAPI" from functions.
- Factor out some code used for creating and destroying console records, and for the destruction of the pair of event handles.
- Use "IsListEmpty" when needed.
- Fix BaseSrvFillCommandInfo so that it returns the needed lengths (even if the user-given lengths are zero) and set the expected status error in case the buffer lenghts are too small (not STATUS_BUFFER_TOO_SMALL but STATUS_INVALID_PARAMETER because it's what kernel32 error check expects, for windows compat; see above).
- Fix initialization of new DOS records: no need to create a new one if there is one already free (status VDM_READY).
- Fix the loop that searches for a valid DOS record containing command information available as well as the conditions in which case our caller needs to wait in GetNextVDMCommand call.

NOTE: The internal state flags of the DOS records have normally nothing to do with the VDM state flags we report back to the user.

CORE-8247 CORE-9711 CORE-9773

svn path=/trunk/; revision=69201
2015-09-12 16:23:32 +00:00
Hermès Bélusca-Maïto 38b81a6049 [KERNEL32]: Code formatting; use the real size of structure members when computing the needed buffer lengths.
svn path=/trunk/; revision=69200
2015-09-12 16:03:53 +00:00
Eric Kohl d53df6db90 [INTL]
- Read the current user locale when the CPL is created.
- Modify the user locale and update the examples when the user selects a new language.
- Save the user locale only if the user changed the settings.
CORE-10074

svn path=/trunk/; revision=69199
2015-09-12 15:25:36 +00:00
Hermès Bélusca-Maïto e709e70d0e [PEFILE:APITEST]: Validate IMAGE_SCN_MEM_NOT_PAGED flag for PE files. By Mark Jansen. CORE-10160
svn path=/trunk/; revision=69198
2015-09-12 13:08:47 +00:00
James Tabor 59b9ff5e23 [Win32k]
- Fix some composition drawing while using layered windows. See CORE-10155 and CORE-10157.

svn path=/trunk/; revision=69197
2015-09-12 12:54:05 +00:00
Daniel Reimer 393d90900e [NTOSKRNL]
Fix 1 unresolved external on ARM build.

svn path=/trunk/; revision=69196
2015-09-12 11:31:43 +00:00
Amine Khaldi 954c9da68c [ADVAPI32] Order the exports and make sure the list matches our target (Windows Server 2003 Sp2). CORE-8174
svn path=/trunk/; revision=69195
2015-09-12 11:16:34 +00:00
Amine Khaldi 37b4177aee [SERVICES] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114
svn path=/trunk/; revision=69194
2015-09-12 10:58:07 +00:00
Amine Khaldi 4932643114 [KERNEL32] Order the exports and make sure the list matches our target (Windows Server 2003 Sp2). CORE-8174
svn path=/trunk/; revision=69193
2015-09-12 10:50:28 +00:00
Thomas Faber f016cbfce8 [FREELDR]
- Add missing asm dependency to freeldr_common

svn path=/trunk/; revision=69192
2015-09-12 10:06:39 +00:00
Daniel Reimer edca40a05a - "::" instead of "REM" inside a if () in batch is evil and can cause a really nice mess from time to time.
- Changing one "exit" to "exit /b" was not nice from me in the past.
ARM build now prepares host tools nicely again and you can build em. ARM build itself dies very early due to ..\..\boot\freeldr\freeldr\arch\arm\boot.S(9) : fatal error C1083: Cannot open include file: 'ksarm.h': No such file or directory

svn path=/trunk/; revision=69191
2015-09-12 09:51:25 +00:00
Pierre Schweitzer eb498f8e5d [MSGINA]
Addendum to r69186

svn path=/trunk/; revision=69190
2015-09-12 09:21:11 +00:00
Alex Ionescu feab49d6ab [BOOTMGFW]
- Additional El Torito support. We now parse the EFI, BOOT directories, and find/open the BCD file, and get a handle to it!

svn path=/trunk/; revision=69189
2015-09-12 08:57:42 +00:00
Stefan Ginsberg b1114c9e93 - Fix some broken stuff involving DPRINT. Thought I had tested this, sorry for build break!
svn path=/trunk/; revision=69188
2015-09-11 20:42:49 +00:00
Stefan Ginsberg 656e59a392 Fix over a hundred thousand warnings by:
- Disabling C4214 (nonstandard extension used : bit field types other than int), a somewhat overzealous warning for a "nonstandard" extension we rely on all over.
- Defining inactive DPRINT and friends for MSVC using __noop (no not __nop, __noop. See  https://msdn.microsoft.com/en-us/library/s6btaxcs.aspx) to get at a whole bunch of C4127 (conditional expression is constant).
- Remove the last of the exported DriverEntry from dxg and dxgthk. There is no need in anyw way to export them -- dxg exports DxDdStartupDxGraphics to Win32k for initialization purposes and dxgthk is just a forwarder. Linking to a DriverEntry is to begin with is a pretty bad idea. Say goodbye to the last of LNK4216.

svn path=/trunk/; revision=69187
2015-09-11 20:18:12 +00:00
Sylvain Petreolle 6ac7bdabc3 [TRANSLATIONS]
Translate remaining French strings in msgina.dll

svn path=/trunk/; revision=69186
2015-09-11 19:30:29 +00:00
Stefan Ginsberg e9950e5ef7 - Fix a thousand warnings
svn path=/trunk/; revision=69185
2015-09-11 18:02:58 +00:00
Amine Khaldi 8ce9283986 [USER32] Reorder the exports, add missing ones and make sure the list matches our target (Windows Server 2003 Sp2). CORE-8174
svn path=/trunk/; revision=69184
2015-09-11 14:41:23 +00:00
Amine Khaldi b1e9a9d195 [GDI32] Order the exports and make sure they match our target (Windows Server 2003 Sp2). CORE-8174
svn path=/trunk/; revision=69183
2015-09-11 13:29:37 +00:00
Thomas Faber 953771f506 [WIN32K:NTUSER]
- Probe parameters in NtUserGetLayeredWindowAttributes
- Don't call UserGetWindowObject without holding the user lock

svn path=/trunk/; revision=69182
2015-09-11 07:31:06 +00:00
Alex Ionescu e88843426b [BOOTMGFW]
- Hey Arch, your buddies gave you ETFS support for native EFI boot, of course reading sector 0 is all zeroes, you're not on FAT, you idiot! ETFS has data at sector 16 and 17.
- Implement beginning of ETFS support. We correctly mount the reactOS boot cd as ETFS and open the root directory entry!

svn path=/trunk/; revision=69181
2015-09-11 04:33:24 +00:00
Alex Ionescu 51d5eadd25 [CDFS_NEW]
- Resurrect back 7 years later (revert commit 34622).
- Add correct MS-PL (Public) License. Not added to build/used, but I need some of the headers/data structures in here.
- Source: https://github.com/Microsoft/Windows-driver-samples/blob/master/filesys/cdfs

svn path=/trunk/; revision=69180
2015-09-11 04:02:21 +00:00
James Tabor fca682a62e [Win32SS]
- Hackplement Layered Window Support from wine.
- See CORE-1576 for more information. Three days work, ReactOS needs more support for playing with GDI bits.

svn path=/trunk/; revision=69179
2015-09-11 02:34:11 +00:00
Alex Ionescu 884d17f9c0 [BOOTMGFW]
- Implement Block I/O read operations & related functions. Code needs cleanup, TBD.
- Unfortunately, I wish I could say it works, but it seems like all we get back are zeroes (from EFI itself). I suspect we are reading from the wrong device -- will have to investigate for a bit.

svn path=/trunk/; revision=69178
2015-09-10 23:13:31 +00:00
Sylvain Petreolle fe979cfbfb [MOUNTMGR]
Declare MountmgrReadNoAutoMount.

svn path=/trunk/; revision=69177
2015-09-10 22:06:10 +00:00
Pierre Schweitzer c0e3ff9c79 [MOUNTMGR]
Move DriverEntry() and MountmgrReadNoAutoMount() to INIT_SECTION

svn path=/trunk/; revision=69176
2015-09-10 21:41:20 +00:00
Pierre Schweitzer 7584156a40 [FASTFAT]
Move VfatInitFastIoRoutines to the INIT section

svn path=/trunk/; revision=69175
2015-09-10 21:35:15 +00:00
Eric Kohl 5dd06ab375 [USETUP]
Fix the GeoID for most languages.
CORE-10073 #resolve

svn path=/trunk/; revision=69174
2015-09-10 21:28:37 +00:00
Stefan Ginsberg b77dacb82b - Add some globals WinDbg expected to find when using !sysptes and !vm. Unused but makes the debugger happy
svn path=/trunk/; revision=69173
2015-09-10 19:47:45 +00:00
James Tabor d6f9fd9121 [Win32k]
- Trap out right button double clicks. See CORE-6754.

svn path=/trunk/; revision=69172
2015-09-10 14:27:14 +00:00
Robert Naumann c02c39bb4e [USER32] check the XOR flag in ocr_cross.cur and ocr_ibeam.cur. Patch by Vort CORE-6168
svn path=/trunk/; revision=69171
2015-09-10 13:26:33 +00:00
Stefan Ginsberg 7fc480a7c1 Fix the FSDs to use the INIT_SECTION-style and add the alloc_text-s required for MSVC. Please make sure to add section declarations for both compilers for any new functions!
svn path=/trunk/; revision=69170
2015-09-10 12:00:28 +00:00
Thomas Faber 317b564ba0 [KMTESTS:MM]
- Add some more reserved mapping tests for special pool tags and unaligned addresses
- Validate MDL pages in MmMdl test

svn path=/trunk/; revision=69169
2015-09-10 11:16:53 +00:00
Thomas Faber 62d6fa7706 [KMTESTS:MM]
- Add a test for MmAllocateMappingAddress/MmMapLockedPagesWithReservedMapping
CORE-10147

svn path=/trunk/; revision=69168
2015-09-10 09:58:02 +00:00
Alex Ionescu 01dfcee2fa [BOOTMGFW]
- UNIX strikes again.

svn path=/trunk/; revision=69167
2015-09-10 05:24:50 +00:00
Alex Ionescu fb3da6296d [BOOTMGFW]:
- Implement read/offset-read frontend interface.

svn path=/trunk/; revision=69166
2015-09-10 05:19:50 +00:00
Alex Ionescu 58407edd6b [BOOTMGFW]
- Implement initial File I/O routines.
- We now die on attempting to mount the FAT volume.

svn path=/trunk/; revision=69165
2015-09-10 04:01:41 +00:00
Hermès Bélusca-Maïto bda290bc5e [USER32]: Use FIXME instead of DbgPrint (so that we can get the line of the source file together).
svn path=/trunk/; revision=69164
2015-09-10 00:39:18 +00:00
Thomas Faber 79faa9c9cd [REGEDIT]
- Properly walk CM_RESOURCE_LIST contents
CORE-10146

svn path=/trunk/; revision=69163
2015-09-09 22:01:49 +00:00
Eric Kohl 4d40db8e1c [BOOTDATA]
Add missing default locale values.

svn path=/trunk/; revision=69162
2015-09-09 20:17:25 +00:00
Stefan Ginsberg c20976ef8c [WIN32SS] Fix the fix by removing the correct parameter. The NtUserChangeDisplaySettings syscall is expected to make use of the lParam pointer (which must be NULL unless the CDS_VIDEOPARAMETERS flag is set).
svn path=/trunk/; revision=69161
2015-09-09 19:56:22 +00:00
Hermès Bélusca-Maïto 95a7eb8721 [EFISYS]: Add 'bcd_hive' as a dependency.
[FATTEN]: Fix help message. Functions with no parameters are void. Remove an hardcoded array size.

svn path=/trunk/; revision=69160
2015-09-09 19:48:15 +00:00
Stefan Ginsberg 30ea4eb1ae [WIN32SS] Fix NtUserChangeDisplaySettings, I accidently removed one (unused) param too much (parameter count should be 4 after all), and it seems code relied on this check.
svn path=/trunk/; revision=69159
2015-09-09 19:38:36 +00:00
Stefan Ginsberg db9febf4fa [WIN32SS] Fix NtGdiOpenDCW and NtUserChangeDisplaySettings to have the correct amount of parameters by removing two more unused/deprecated/ignored parameters. NtUserEnumDisplayMonitors is the only remaining one now, which needs to do a usermode callback to get rid of its extra parameter.
svn path=/trunk/; revision=69158
2015-09-09 19:12:48 +00:00
Alex Ionescu 5650394ec5 [EFI]
- Case sensitivity?

svn path=/trunk/; revision=69157
2015-09-09 18:45:51 +00:00
Alex Ionescu 28b4a595d3 [EFI]
- Add BCD creation.
- Add BCD to bootcd, and also to EFISYS.BIN. Verified the BCD is now present on the EFI partition.

svn path=/trunk/; revision=69156
2015-09-09 18:43:09 +00:00
Alex Ionescu be0ecbd74e - Implement BmpFwGetApplicationDirectoryPath and most of BmFwInitializeBootDirectoryPath.
- Implement boolean, integer, and string BCD reading.
- Fix a more bugs.
- We are now ready to open the BCD hive!

svn path=/trunk/; revision=69155
2015-09-09 18:09:04 +00:00
Amine Khaldi de917295f6 [PEFILE_APITEST] Introduce tests that load ntoskrnl.exe and validate various section flags. Created by Mark Jansen in light of r68930. CORE-10106
svn path=/trunk/; revision=69154
2015-09-09 17:27:36 +00:00