reactos.git
8 years ago[NTOS]
Thomas Faber [Fri, 18 Sep 2015 14:22:12 +0000 (14:22 +0000)]
[NTOS]
- Add some missing OBJ_KERNEL_HANDLE
CORE-10207

svn path=/trunk/; revision=69269

8 years ago[NDISUIO]
Thomas Faber [Fri, 18 Sep 2015 13:33:05 +0000 (13:33 +0000)]
[NDISUIO]
- Improve NduNetPnPEvent. Patch by Jacob S. Preciado
CORE-10205 #resolve

svn path=/trunk/; revision=69268

8 years ago[NTOS:CM]
Thomas Faber [Fri, 18 Sep 2015 13:00:16 +0000 (13:00 +0000)]
[NTOS:CM]
- Fix SID mixup in CmpHiveRootSecurityDescriptor

svn path=/trunk/; revision=69267

8 years ago[NTOS:CM]
Thomas Faber [Fri, 18 Sep 2015 11:14:54 +0000 (11:14 +0000)]
[NTOS:CM]
- Actually use the allocated security descriptor in CmpCreateRegistryRoot

svn path=/trunk/; revision=69266

8 years ago[KMTESTS:CM]
Thomas Faber [Fri, 18 Sep 2015 11:06:11 +0000 (11:06 +0000)]
[KMTESTS:CM]
- Add a test for registry hive security descriptors

svn path=/trunk/; revision=69265

8 years ago[DISKPART][EXPLORER][LOGONUI][SMSS][USERINIT][WINLOGON] Improve the FILE header secti...
Amine Khaldi [Fri, 18 Sep 2015 10:13:50 +0000 (10:13 +0000)]
[DISKPART][EXPLORER][LOGONUI][SMSS][USERINIT][WINLOGON] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114

svn path=/trunk/; revision=69264

8 years ago[Win32k]
James Tabor [Fri, 18 Sep 2015 09:28:20 +0000 (09:28 +0000)]
[Win32k]
- Fix a activation drawing issue, if the window is not activated do not draw it active. Used testmenu program from CORE-1573 to test it. If this creates a new problem please open a Jira report.

svn path=/trunk/; revision=69263

8 years ago[NTOS:CM]
Thomas Faber [Fri, 18 Sep 2015 09:25:58 +0000 (09:25 +0000)]
[NTOS:CM]
- Improve pool tagging

svn path=/trunk/; revision=69262

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Thu, 17 Sep 2015 23:04:05 +0000 (23:04 +0000)]
[NTVDM]
- Support loading executables with the old EXE signature ('ZM' instead of 'MZ').
- Fix the EXE loader so that:
  * we can load programs of >= 1Mb size, by exploiting the fact that on real DOS, the computed exe size (which uses the number of 512-byte blocks, stored in the EXE header) is stored in a WORD variable.
    This has as an effect to truncate the value, and if it is such that the truncated value is less than the size of available memory, the EXE can be loaded (partly, of course). Some apps expect this behaviour,
    for example, Turbo C++ IDE.
  * Simplify the memory limits computation, according to http://www.tavi.co.uk/phobos/exeformat.html , which is the correct algorithm used by DOS (and confirmed by FreeDOS also).

svn path=/trunk/; revision=69261

8 years ago[TRANSLATION]
Daniel Reimer [Thu, 17 Sep 2015 17:26:52 +0000 (17:26 +0000)]
[TRANSLATION]
Romanian resources maintenance by Ștefan Fulea
CORE-10042 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=69260

8 years ago[RTL] Add support for vectored continue handlers, complementing the vectored exceptio...
Stefan Ginsberg [Thu, 17 Sep 2015 13:36:55 +0000 (13:36 +0000)]
[RTL] Add support for vectored continue handlers, complementing the vectored exception handler support we already have, by doing some massive shared code usage: just use two different lists for the different handler types and all the code is basically the same. Call the "new" functionality from RtlDispatchException and stub it out for kernel mode. Clean up the existing code and simplify it. Passes the Winetests fine, not that they test this a a lot.

#CORE-10202

svn path=/trunk/; revision=69259

8 years ago[MSXML3] When renaming an icon identifier in the header, do it in the resource file...
Robert Naumann [Thu, 17 Sep 2015 05:23:29 +0000 (05:23 +0000)]
[MSXML3] When renaming an icon identifier in the header, do it in the resource file too CORE-10200

svn path=/trunk/; revision=69258

8 years ago[MSXML3][BOOTDATA] Add icons for XML and XSL files and use them. Patch by Jared Smudd...
Robert Naumann [Wed, 16 Sep 2015 21:45:48 +0000 (21:45 +0000)]
[MSXML3][BOOTDATA] Add icons for XML and XSL files and use them. Patch by Jared Smudde with some modifications by me. CORE-10133

svn path=/trunk/; revision=69257

8 years ago[SYSDM]
Eric Kohl [Wed, 16 Sep 2015 20:56:14 +0000 (20:56 +0000)]
[SYSDM]
Set the proper title for the hardware profile properties dialog.
CORE-10197 #resolve #comment Looks much better now!

svn path=/trunk/; revision=69256

8 years ago[NETSHELL] Change the icons to make network activity more visible. Icons by reactosfa...
Robert Naumann [Wed, 16 Sep 2015 18:20:40 +0000 (18:20 +0000)]
[NETSHELL] Change the icons to make network activity more visible. Icons by reactosfanboy. CORE-10031

svn path=/trunk/; revision=69255

8 years ago[UxTheme]
James Tabor [Wed, 16 Sep 2015 08:53:35 +0000 (08:53 +0000)]
[UxTheme]
- Fix uninitialized local variable context, MSVC Build. See CORE-9225.

svn path=/trunk/; revision=69254

8 years ago[UxTheme]
James Tabor [Wed, 16 Sep 2015 08:12:52 +0000 (08:12 +0000)]
[UxTheme]
- Fix user side GetScrollBarInfo. See CORE-9225.

svn path=/trunk/; revision=69253

8 years ago- Real fix MSVC build?
James Tabor [Wed, 16 Sep 2015 08:06:26 +0000 (08:06 +0000)]
- Real fix MSVC build?

svn path=/trunk/; revision=69252

8 years ago- Fix MSVC build?
James Tabor [Wed, 16 Sep 2015 07:55:42 +0000 (07:55 +0000)]
- Fix MSVC build?

svn path=/trunk/; revision=69251

8 years ago[User32]
James Tabor [Wed, 16 Sep 2015 07:13:03 +0000 (07:13 +0000)]
[User32]
- Fix return for SCROLLBARINFO RECT to use screen coordinates. See CORE-9225.

svn path=/trunk/; revision=69250

8 years ago[User32]
James Tabor [Wed, 16 Sep 2015 04:15:35 +0000 (04:15 +0000)]
[User32]
- Fix wine sync, Notify parent after capture is released, see CORE-10194.

svn path=/trunk/; revision=69249

8 years ago[HAL] Get rid off REGISTERCALL ("regparm(3)" for GCC) and replace with good old NTAPI...
Stefan Ginsberg [Tue, 15 Sep 2015 23:03:42 +0000 (23:03 +0000)]
[HAL] Get rid off REGISTERCALL ("regparm(3)" for GCC) and replace with good old NTAPI (stdcall). Such an obsession with avoiding stack usage is not healthy nor makes much sense today (or even a long time before today) with processors that have a decent L1 cache, whose "cost of access" is basically the same as to that of a register, and with processors being capable of recognising basic access patterns to ensure frequently used memory (read: stack) is in the cache. Slapping FASTCALL/regparm on frequently used code does not ensure it actually operates faster. You want to know what really hurts performance (and cache)? Slapping FORCEINLINE on everything like if it was some kind of asm macro, making code needlessly bloated.

svn path=/trunk/; revision=69248

8 years ago[SHELL33] fix a typo and the icon id's in recyclebin reg script. Now the icons are...
Robert Naumann [Tue, 15 Sep 2015 21:26:08 +0000 (21:26 +0000)]
[SHELL33] fix a typo and the icon id's in recyclebin reg script. Now the icons are correct again. CORE-10193

svn path=/trunk/; revision=69247

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 15 Sep 2015 20:09:11 +0000 (20:09 +0000)]
[NTVDM]
Correctly call the device strategy/interrupt routines. Should fix a bunch of weird errors. This also fixes the NTVDM crash when Command&Conquer terminates, however it doesn't fix the DOS/4GW exception it encounters.
CORE-9678

svn path=/trunk/; revision=69246

8 years agouse the same file as 33.ico for 142.ico. should fix CORE-10193
Robert Naumann [Tue, 15 Sep 2015 19:56:53 +0000 (19:56 +0000)]
use the same file as 33.ico for 142.ico. should fix CORE-10193

svn path=/trunk/; revision=69245

8 years agoCompletely disable the debug register assertions in the trap exit code for KDBG as...
Stefan Ginsberg [Tue, 15 Sep 2015 17:55:14 +0000 (17:55 +0000)]
Completely disable the debug register assertions in the trap exit code for KDBG as it sets them improperly. These checks should not have been added for KDBG to begin with and would have made any usage of address breakpoints inside KDBG end up in a trap exit breakpoint. Whoever knows KDBG better than I do please investigate. However, enable the DR7 debug check for KD as it handles the debug registers just fine. The likelihood of loading a driver that modifies a debug register (which would be the only other thing triggering this) is pretty slim.

svn path=/trunk/; revision=69244

8 years ago[KMTESTS:MM]
Thomas Faber [Tue, 15 Sep 2015 16:46:28 +0000 (16:46 +0000)]
[KMTESTS:MM]
- Keep the number of tests constant in MmMdl because Testman

svn path=/trunk/; revision=69243

8 years agoFix a load of assumptions about default calling convention, a lot more remain.
Stefan Ginsberg [Tue, 15 Sep 2015 13:15:28 +0000 (13:15 +0000)]
Fix a load of assumptions about default calling convention, a lot more remain.

svn path=/trunk/; revision=69242

8 years ago[CMD]
Pierre Schweitzer [Tue, 15 Sep 2015 11:14:58 +0000 (11:14 +0000)]
[CMD]
- Fix a broken check
- Plug a memory leak

svn path=/trunk/; revision=69241

8 years ago[FREELDR] Fix a whole bunch of assumptions about default calling convention being...
Stefan Ginsberg [Tue, 15 Sep 2015 11:07:28 +0000 (11:07 +0000)]
[FREELDR] Fix a whole bunch of assumptions about default calling convention being cdecl, mostly in code called from/to assembly. Freeldr now links with /Gz (standard calling convention as stdcall), which is what this is all about

svn path=/trunk/; revision=69240

8 years agoFix unexpected side-effect of properly defining CDECL for CRT (how is gcc fine with...
Stefan Ginsberg [Tue, 15 Sep 2015 10:48:39 +0000 (10:48 +0000)]
Fix unexpected side-effect of properly defining CDECL for CRT (how is gcc fine with this?)

svn path=/trunk/; revision=69239

8 years agoSprinkle cdecl declarations liberally all around to make a bunch of the base componen...
Stefan Ginsberg [Tue, 15 Sep 2015 10:35:49 +0000 (10:35 +0000)]
Sprinkle cdecl declarations liberally all around to make a bunch of the base components compile (freeldr compiles but does not link yet). Some of these should really be NTAPI, working on that.

svn path=/trunk/; revision=69238

8 years ago[SHELL32] Add missing icons. Patch by Jared Smudde CORE-9938
Robert Naumann [Tue, 15 Sep 2015 10:28:01 +0000 (10:28 +0000)]
[SHELL32] Add missing icons. Patch by Jared Smudde CORE-9938

svn path=/trunk/; revision=69237

8 years ago[MSFS]
Thomas Faber [Tue, 15 Sep 2015 09:40:30 +0000 (09:40 +0000)]
[MSFS]
- Use a NULL timeout for infinite waits instead of waiting for 100 ns. CORE-10188 #resolve
- Wait for available read data in user mode to handle thread termination
- Return STATUS_IO_TIMEOUT also for a zero-length timeout. Fixes Wine tests
- Avoid MmGetSystemAddressForMdl
- Acquiring a mutex is not a UserRequest

svn path=/trunk/; revision=69236

8 years ago[NOTEPAD] Use the correct class name for Notepad. Now we use the same as Wine and...
Robert Naumann [Tue, 15 Sep 2015 07:26:09 +0000 (07:26 +0000)]
[NOTEPAD] Use the correct class name for Notepad. Now we use the same as Wine and Windows. Patch by Ricardo Hanke CORE-5629

svn path=/trunk/; revision=69235

8 years ago[ASM]
Hermès Bélusca-Maïto [Tue, 15 Sep 2015 01:59:14 +0000 (01:59 +0000)]
[ASM]
Fix the file header description. Consistently use .endm for closing a macro started with .macro.

[NTVDM]
- Add "_clean" targets to generated asm16 targets.
- Fix CMake dependency generation in a somewhat hackish way: I don't know how to cleanly specify the location of generated files for custom targets. And it is also hackish because in a CMake custom command which depends on the COMMAND.COM target, I also need to explicitely say that the command depends on the output file created by the COMMAND.COM target...
- Add COMMAND.COM to the CD files, even if NTVDM doesn't use an external command.com for now. CORE-5221

svn path=/trunk/; revision=69234

8 years ago[User32]
James Tabor [Tue, 15 Sep 2015 00:15:16 +0000 (00:15 +0000)]
[User32]
- Patch by Alex Henrie : Send BM_SETCHECK before WM_CAPTURECHANGED and add tests.

svn path=/trunk/; revision=69233

8 years ago[MOUNTMGR]
Pierre Schweitzer [Mon, 14 Sep 2015 22:30:13 +0000 (22:30 +0000)]
[MOUNTMGR]
Implement the IOCTL IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_DELETED:
- Implement MountMgrVolumeMountPointDeleteed()
- Rename a struct var to reflect its real usage

svn path=/trunk/; revision=69232

8 years ago[MEH]
Pierre Schweitzer [Mon, 14 Sep 2015 22:10:47 +0000 (22:10 +0000)]
[MEH]
Meh.

svn path=/trunk/; revision=69231

8 years ago[MOUNTMGR]
Pierre Schweitzer [Mon, 14 Sep 2015 21:52:16 +0000 (21:52 +0000)]
[MOUNTMGR]
MountMgrVolumeMountPointCreated() returns success if databases are already performing a sync

svn path=/trunk/; revision=69230

8 years ago[SHELL32]
Thomas Faber [Mon, 14 Sep 2015 19:20:55 +0000 (19:20 +0000)]
[SHELL32]
- Arch, don't leave unused variables
CORE-9867

svn path=/trunk/; revision=69229

8 years ago[SHELL32]
Thomas Faber [Mon, 14 Sep 2015 19:14:48 +0000 (19:14 +0000)]
[SHELL32]
- Stop asserting 'ref == 0' in CComCreatorCentralInstance::Term. It's caught enough reference leaks and is mostly just annoying now.
CORE-9867 #resolve

svn path=/trunk/; revision=69228

8 years ago[NTOS:PNP]
Thomas Faber [Mon, 14 Sep 2015 18:58:58 +0000 (18:58 +0000)]
[NTOS:PNP]
- Fix memory leak in IopDetectResourceConflict. While we're at it use pool tagging, kernel handles and avoid INVALID_HANDLE_VALUE.

svn path=/trunk/; revision=69227

8 years ago[USETUP] Addendum to r69121 CORE-10058
Robert Naumann [Mon, 14 Sep 2015 10:40:44 +0000 (10:40 +0000)]
[USETUP] Addendum to r69121 CORE-10058

svn path=/trunk/; revision=69226

8 years ago[UNIATA] Get back a ros diff spotted by Thomas and use our debug checks in some more...
Amine Khaldi [Mon, 14 Sep 2015 10:33:09 +0000 (10:33 +0000)]
[UNIATA] Get back a ros diff spotted by Thomas and use our debug checks in some more places. CORE-10185

svn path=/trunk/; revision=69225

8 years ago[UNIATA] Sync to 0.45h1. CORE-10185
Amine Khaldi [Mon, 14 Sep 2015 10:24:48 +0000 (10:24 +0000)]
[UNIATA] Sync to 0.45h1. CORE-10185

svn path=/trunk/; revision=69224

8 years ago[ACLEDIT] Order the exports, add missing one and make sure the list matches our targe...
Amine Khaldi [Mon, 14 Sep 2015 09:51:11 +0000 (09:51 +0000)]
[ACLEDIT] Order the exports, add missing one and make sure the list matches our target (Windows Server 2003 Sp2). By Radek Liška, confirmed and slightly changed by me. CORE-8174

svn path=/trunk/; revision=69223

8 years ago[NOTEPAD] Calculate the border around the printing area based on the margins the...
Amine Khaldi [Mon, 14 Sep 2015 09:32:57 +0000 (09:32 +0000)]
[NOTEPAD] Calculate the border around the printing area based on the margins the user has selected in the page setup dialog, instead of using a fixed size one. Brought to you by Ricardo Hanke with minor changes by me. CORE-10184

svn path=/trunk/; revision=69222

8 years ago[MOUNTMGR]
Pierre Schweitzer [Sun, 13 Sep 2015 22:52:07 +0000 (22:52 +0000)]
[MOUNTMGR]
Implement the IOCTL IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED:
- Implement WriteRemoteDatabaseEntry()
- Implement MountMgrVolumeMountPointCreated()

svn path=/trunk/; revision=69221

8 years agoStop using ATTRIB_NORETURN in hal and kernel, replace with the UNREACHABLE macro...
Stefan Ginsberg [Sun, 13 Sep 2015 20:37:28 +0000 (20:37 +0000)]
Stop using ATTRIB_NORETURN in hal and kernel, replace with the UNREACHABLE macro that both compilers can understand. Also fix up the UNREACHABLE def a bit.

svn path=/trunk/; revision=69220

8 years ago[RPCRT4] Order the exports and make sure the list matches our target (Windows Server...
Amine Khaldi [Sun, 13 Sep 2015 17:01:55 +0000 (17:01 +0000)]
[RPCRT4] Order the exports and make sure the list matches our target (Windows Server 2003 Sp2). CORE-8174

svn path=/trunk/; revision=69219

8 years ago[SETUP][USETUP][WELCOME] Improve the FILE header section. Brought to you by Adam...
Amine Khaldi [Sun, 13 Sep 2015 16:40:36 +0000 (16:40 +0000)]
[SETUP][USETUP][WELCOME] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114

svn path=/trunk/; revision=69218

8 years ago[NTDLL] Order the exports and make sure the list matches our target (Windows Server...
Amine Khaldi [Sun, 13 Sep 2015 16:38:17 +0000 (16:38 +0000)]
[NTDLL] Order the exports and make sure the list matches our target (Windows Server 2003 Sp2). CORE-8174

svn path=/trunk/; revision=69217

8 years agoHepp didn't work
Stefan Ginsberg [Sun, 13 Sep 2015 11:46:15 +0000 (11:46 +0000)]
Hepp didn't work

svn path=/trunk/; revision=69216

8 years agoGive kernel32 a little bit of extra space to see if it makes the hybrid server not...
Stefan Ginsberg [Sun, 13 Sep 2015 11:40:12 +0000 (11:40 +0000)]
Give kernel32 a little bit of extra space to see if it makes the hybrid server not crash.

svn path=/trunk/; revision=69215

8 years agoDefine __RELFILE__ the same for an -O0 build so the tests don't get edgy when compari...
Stefan Ginsberg [Sun, 13 Sep 2015 11:08:16 +0000 (11:08 +0000)]
Define __RELFILE__ the same for an -O0 build so the tests don't get edgy when comparing it to our optimized builds.

svn path=/trunk/; revision=69214

8 years ago[RAPPS][RAPPS_NEW]
Thomas Faber [Sun, 13 Sep 2015 06:34:23 +0000 (06:34 +0000)]
[RAPPS][RAPPS_NEW]
- Don't redefine the default "Application" facility in the .mc file. Fixes MSVC warning

svn path=/trunk/; revision=69213

8 years ago[MSVC]
Thomas Faber [Sun, 13 Sep 2015 06:22:58 +0000 (06:22 +0000)]
[MSVC]
- Silence warning LNK4104 (Export of symbol 'X' should be PRIVATE) where appropriate

svn path=/trunk/; revision=69212

8 years ago[COMMAND]
Hermès Bélusca-Maïto [Sun, 13 Sep 2015 01:18:50 +0000 (01:18 +0000)]
[COMMAND]
- Fix the GCC macro for structure declaration, so that referencing an offset to the structure doesn't fail anymore (ie. doing "mov dx, offset MyStruct" doesn't assemble to "mov dx, 0x100").
This fixes NTVDM not being able to start any DOS app. Reported by Aleksander Rechitskiy.
CORE-9677 CORE-9679 #resolve
CORE-9678

[NTVDM]
- Fix newline in DPRINT.

svn path=/trunk/; revision=69211

8 years ago[KDBG] Don't bring down the kernel either when int2c-ing from user mode
Stefan Ginsberg [Sat, 12 Sep 2015 22:01:10 +0000 (22:01 +0000)]
[KDBG] Don't bring down the kernel either when int2c-ing from user mode

svn path=/trunk/; revision=69210

8 years ago- Make KDBG handle assertion failures/int2C the same way as breakpoints/int3 (that...
Stefan Ginsberg [Sat, 12 Sep 2015 21:44:48 +0000 (21:44 +0000)]
- Make KDBG handle assertion failures/int2C the same way as breakpoints/int3 (that is, ignore them from user-mode by default) for the time being until an internal prompt-routine is implemented.

svn path=/trunk/; revision=69209

8 years ago[NTVDM]: Reenable the mouse driver that I disabled by error in my previous commit.
Hermès Bélusca-Maïto [Sat, 12 Sep 2015 20:25:45 +0000 (20:25 +0000)]
[NTVDM]: Reenable the mouse driver that I disabled by error in my previous commit.

svn path=/trunk/; revision=69208

8 years ago[INTL]
Eric Kohl [Sat, 12 Sep 2015 20:24:10 +0000 (20:24 +0000)]
[INTL]
Set the system default language and codepages.
CORE-10075

svn path=/trunk/; revision=69207

8 years ago[NTVDM]: Fix parentheses. Thanks GCC.
Hermès Bélusca-Maïto [Sat, 12 Sep 2015 20:13:22 +0000 (20:13 +0000)]
[NTVDM]: Fix parentheses. Thanks GCC.

svn path=/trunk/; revision=69206

8 years ago[KDBG]: Add new command "reboot" that does exactly what it says.
Stefan Ginsberg [Sat, 12 Sep 2015 20:10:43 +0000 (20:10 +0000)]
[KDBG]: Add new command "reboot" that does exactly what it says.

svn path=/trunk/; revision=69205

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 12 Sep 2015 20:09:25 +0000 (20:09 +0000)]
[NTVDM]
- Add support for DOS VDM reentry, i.e. the fact that a DOS app can start a 32-bit app, which in turn can start another DOS app, ad infinitum...
CORE-9711 CORE-9773 #resolve
- Add a small COMMAND.COM which is, for now, completely included in NTVDM. This COMMAND.COM is needed in order to support reentrancy. The fact that I chose to put it inside NTVDM is that any user can use instead his/her own COMMAND.COM, while retaining the possibility to perform VDM reentrancy (on Windows, if you remove the COMMAND.COM in windows\system32 and replace it with your own, you will break VDM reentrancy on windows' ntvdm).
CORE-5221 #resolve #comment I choose for the moment an internal COMMAND.COM, but you can recompile NTVDM to use it externally instead.

Global remarks:
- Quite a few DPRINTs were added for diagnostic purposes (since DOS reentrancy is a new feature), to be sure everything behaves as expected when being used with a large panel of applications. They will be removed when everything is OK.
- Support for current directories and 16/32-bit environment translation (in ntvdm + basevdm-side) remain to be implemented.

Other changes:
- Improve a bit the VDM shutdown code by gathering it at one place (there's still room for other improvements).
- Add suppport for properly pausing/resuming NTVDM.
- Bufferize some console events before dispatching.

Have fun ;^)

svn path=/trunk/; revision=69204

8 years ago[NTVDM]: Add a diagnostic dprint to check why some apps seem to fail allocating memory.
Hermès Bélusca-Maïto [Sat, 12 Sep 2015 18:13:53 +0000 (18:13 +0000)]
[NTVDM]: Add a diagnostic dprint to check why some apps seem to fail allocating memory.

svn path=/trunk/; revision=69203

8 years ago[Win32k]
James Tabor [Sat, 12 Sep 2015 17:29:16 +0000 (17:29 +0000)]
[Win32k]
- Fix Alpha Blending while using layered windows in lower bit modes. See CORE-10167.

svn path=/trunk/; revision=69202

8 years ago[KERNEL32]
Hermès Bélusca-Maïto [Sat, 12 Sep 2015 16:23:32 +0000 (16:23 +0000)]
[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

8 years ago[KERNEL32]: Code formatting; use the real size of structure members when computing...
Hermès Bélusca-Maïto [Sat, 12 Sep 2015 16:03:53 +0000 (16:03 +0000)]
[KERNEL32]: Code formatting; use the real size of structure members when computing the needed buffer lengths.

svn path=/trunk/; revision=69200

8 years ago[INTL]
Eric Kohl [Sat, 12 Sep 2015 15:25:36 +0000 (15:25 +0000)]
[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

8 years ago[PEFILE:APITEST]: Validate IMAGE_SCN_MEM_NOT_PAGED flag for PE files. By Mark Jansen...
Hermès Bélusca-Maïto [Sat, 12 Sep 2015 13:08:47 +0000 (13:08 +0000)]
[PEFILE:APITEST]: Validate IMAGE_SCN_MEM_NOT_PAGED flag for PE files. By Mark Jansen. CORE-10160

svn path=/trunk/; revision=69198

8 years ago[Win32k]
James Tabor [Sat, 12 Sep 2015 12:54:05 +0000 (12:54 +0000)]
[Win32k]
- Fix some composition drawing while using layered windows. See CORE-10155 and CORE-10157.

svn path=/trunk/; revision=69197

8 years ago[NTOSKRNL]
Daniel Reimer [Sat, 12 Sep 2015 11:31:43 +0000 (11:31 +0000)]
[NTOSKRNL]
Fix 1 unresolved external on ARM build.

svn path=/trunk/; revision=69196

8 years ago[ADVAPI32] Order the exports and make sure the list matches our target (Windows Serve...
Amine Khaldi [Sat, 12 Sep 2015 11:16:34 +0000 (11:16 +0000)]
[ADVAPI32] Order the exports and make sure the list matches our target (Windows Server 2003 Sp2). CORE-8174

svn path=/trunk/; revision=69195

8 years ago[SERVICES] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE...
Amine Khaldi [Sat, 12 Sep 2015 10:58:07 +0000 (10:58 +0000)]
[SERVICES] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114

svn path=/trunk/; revision=69194

8 years ago[KERNEL32] Order the exports and make sure the list matches our target (Windows Serve...
Amine Khaldi [Sat, 12 Sep 2015 10:50:28 +0000 (10:50 +0000)]
[KERNEL32] Order the exports and make sure the list matches our target (Windows Server 2003 Sp2). CORE-8174

svn path=/trunk/; revision=69193

8 years ago[FREELDR]
Thomas Faber [Sat, 12 Sep 2015 10:06:39 +0000 (10:06 +0000)]
[FREELDR]
- Add missing asm dependency to freeldr_common

svn path=/trunk/; revision=69192

8 years ago- "::" instead of "REM" inside a if () in batch is evil and can cause a really nice...
Daniel Reimer [Sat, 12 Sep 2015 09:51:25 +0000 (09:51 +0000)]
- "::" 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

8 years ago[MSGINA]
Pierre Schweitzer [Sat, 12 Sep 2015 09:21:11 +0000 (09:21 +0000)]
[MSGINA]
Addendum to r69186

svn path=/trunk/; revision=69190

8 years ago[BOOTMGFW]
Alex Ionescu [Sat, 12 Sep 2015 08:57:42 +0000 (08:57 +0000)]
[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

8 years ago- Fix some broken stuff involving DPRINT. Thought I had tested this, sorry for build...
Stefan Ginsberg [Fri, 11 Sep 2015 20:42:49 +0000 (20:42 +0000)]
- Fix some broken stuff involving DPRINT. Thought I had tested this, sorry for build break!

svn path=/trunk/; revision=69188

8 years agoFix over a hundred thousand warnings by:
Stefan Ginsberg [Fri, 11 Sep 2015 20:18:12 +0000 (20:18 +0000)]
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

8 years ago[TRANSLATIONS]
Sylvain Petreolle [Fri, 11 Sep 2015 19:30:29 +0000 (19:30 +0000)]
[TRANSLATIONS]
Translate remaining French strings in msgina.dll

svn path=/trunk/; revision=69186

8 years ago- Fix a thousand warnings
Stefan Ginsberg [Fri, 11 Sep 2015 18:02:58 +0000 (18:02 +0000)]
- Fix a thousand warnings

svn path=/trunk/; revision=69185

8 years ago[USER32] Reorder the exports, add missing ones and make sure the list matches our...
Amine Khaldi [Fri, 11 Sep 2015 14:41:23 +0000 (14:41 +0000)]
[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

8 years ago[GDI32] Order the exports and make sure they match our target (Windows Server 2003...
Amine Khaldi [Fri, 11 Sep 2015 13:29:37 +0000 (13:29 +0000)]
[GDI32] Order the exports and make sure they match our target (Windows Server 2003 Sp2). CORE-8174

svn path=/trunk/; revision=69183

8 years ago[WIN32K:NTUSER]
Thomas Faber [Fri, 11 Sep 2015 07:31:06 +0000 (07:31 +0000)]
[WIN32K:NTUSER]
- Probe parameters in NtUserGetLayeredWindowAttributes
- Don't call UserGetWindowObject without holding the user lock

svn path=/trunk/; revision=69182

8 years ago[BOOTMGFW]
Alex Ionescu [Fri, 11 Sep 2015 04:33:24 +0000 (04:33 +0000)]
[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

8 years ago[CDFS_NEW]
Alex Ionescu [Fri, 11 Sep 2015 04:02:21 +0000 (04:02 +0000)]
[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

8 years ago[Win32SS]
James Tabor [Fri, 11 Sep 2015 02:34:11 +0000 (02:34 +0000)]
[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

8 years ago[BOOTMGFW]
Alex Ionescu [Thu, 10 Sep 2015 23:13:31 +0000 (23:13 +0000)]
[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

8 years ago[MOUNTMGR]
Sylvain Petreolle [Thu, 10 Sep 2015 22:06:10 +0000 (22:06 +0000)]
[MOUNTMGR]
Declare MountmgrReadNoAutoMount.

svn path=/trunk/; revision=69177

8 years ago[MOUNTMGR]
Pierre Schweitzer [Thu, 10 Sep 2015 21:41:20 +0000 (21:41 +0000)]
[MOUNTMGR]
Move DriverEntry() and MountmgrReadNoAutoMount() to INIT_SECTION

svn path=/trunk/; revision=69176

8 years ago[FASTFAT]
Pierre Schweitzer [Thu, 10 Sep 2015 21:35:15 +0000 (21:35 +0000)]
[FASTFAT]
Move VfatInitFastIoRoutines to the INIT section

svn path=/trunk/; revision=69175

8 years ago[USETUP]
Eric Kohl [Thu, 10 Sep 2015 21:28:37 +0000 (21:28 +0000)]
[USETUP]
Fix the GeoID for most languages.
CORE-10073 #resolve

svn path=/trunk/; revision=69174

8 years ago- Add some globals WinDbg expected to find when using !sysptes and !vm. Unused but...
Stefan Ginsberg [Thu, 10 Sep 2015 19:47:45 +0000 (19:47 +0000)]
- Add some globals WinDbg expected to find when using !sysptes and !vm. Unused but makes the debugger happy

svn path=/trunk/; revision=69173

8 years ago[Win32k]
James Tabor [Thu, 10 Sep 2015 14:27:14 +0000 (14:27 +0000)]
[Win32k]
- Trap out right button double clicks. See CORE-6754.

svn path=/trunk/; revision=69172

8 years ago[USER32] check the XOR flag in ocr_cross.cur and ocr_ibeam.cur. Patch by Vort CORE...
Robert Naumann [Thu, 10 Sep 2015 13:26:33 +0000 (13:26 +0000)]
[USER32] check the XOR flag in ocr_cross.cur and ocr_ibeam.cur. Patch by Vort CORE-6168

svn path=/trunk/; revision=69171

8 years agoFix the FSDs to use the INIT_SECTION-style and add the alloc_text-s required for...
Stefan Ginsberg [Thu, 10 Sep 2015 12:00:28 +0000 (12:00 +0000)]
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