reactos.git
5 years ago[NTOSKRNL/FREELDR/NDK]
Timo Kreuzer [Tue, 5 May 2015 20:36:07 +0000 (20:36 +0000)]
[NTOSKRNL/FREELDR/NDK]
- "equalize" internal arch specific Mm headers
- Move some definitions into more appropriate locations

svn path=/trunk/; revision=67568

5 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 5 May 2015 20:35:27 +0000 (20:35 +0000)]
[NTOSKRNL]
Clean up some obsolete architecture specific Mm definitions

svn path=/trunk/; revision=67567

5 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 5 May 2015 20:35:00 +0000 (20:35 +0000)]
[NTOSKRNL]
Remove unused MmGetPageDirectory.

svn path=/trunk/; revision=67566

5 years ago[DDK]
Timo Kreuzer [Tue, 5 May 2015 20:34:34 +0000 (20:34 +0000)]
[DDK]
Fix declaration of NdisCopyLookaheadData

svn path=/trunk/; revision=67565

5 years ago[CPPRT]
Timo Kreuzer [Tue, 5 May 2015 20:14:28 +0000 (20:14 +0000)]
[CPPRT]
Add some symbol aliases for ARM

svn path=/trunk/; revision=67564

5 years ago[DDK]
Ged Murphy [Tue, 5 May 2015 18:54:28 +0000 (18:54 +0000)]
[DDK]
Fix the FS filter callback definitions

svn path=/trunk/; revision=67563

5 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 5 May 2015 18:16:56 +0000 (18:16 +0000)]
[NTVDM]
Revert r67561. It's incorrect.

svn path=/trunk/; revision=67562

5 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 5 May 2015 17:56:37 +0000 (17:56 +0000)]
[NTVDM]
The DOS CON driver should support extended keystrokes.

svn path=/trunk/; revision=67561

5 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 5 May 2015 17:37:06 +0000 (17:37 +0000)]
[NTVDM]
Fix the BIOS handling of extended scancodes.

svn path=/trunk/; revision=67560

5 years ago[ROSAPPS]
Daniel Reimer [Tue, 5 May 2015 17:02:28 +0000 (17:02 +0000)]
[ROSAPPS]
After r67555 regexpl builds fine on MSVC. So reactivate it. Thx goes to ThFabba

svn path=/trunk/; revision=67559

5 years ago[NTVDM]
Christoph von Wittich [Tue, 5 May 2015 08:11:22 +0000 (08:11 +0000)]
[NTVDM]
addenum to r67557

svn path=/trunk/; revision=67558

5 years ago[NTVDM]
Christoph von Wittich [Tue, 5 May 2015 08:07:08 +0000 (08:07 +0000)]
[NTVDM]
don't try to deference an uninitialized Timer

svn path=/trunk/; revision=67557

5 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 5 May 2015 03:52:25 +0000 (03:52 +0000)]
[NTVDM]
In DosTerminateProcess, McbSegment is the segment of the MCB itself, not the data
it contains.

svn path=/trunk/; revision=67556

5 years ago[C++]
Thomas Faber [Tue, 5 May 2015 02:44:17 +0000 (02:44 +0000)]
[C++]
- Add nothrow versions of new/delete operators
- Add <cassert>
- Fix a TODO and add missing dependency to <exception> header

svn path=/trunk/; revision=67555

5 years agooooops
Daniel Reimer [Tue, 5 May 2015 01:27:21 +0000 (01:27 +0000)]
oooops

svn path=/trunk/; revision=67554

5 years ago[ROSAPPS]
Daniel Reimer [Tue, 5 May 2015 01:25:11 +0000 (01:25 +0000)]
[ROSAPPS]
Disable regexpl for now because this is a strange MSVC build error...

svn path=/trunk/; revision=67553

5 years ago[ROSAPPS]
Daniel Reimer [Tue, 5 May 2015 01:07:42 +0000 (01:07 +0000)]
[ROSAPPS]
Add some missing german translations
Add some missing manifests
Improve some resources
Add possibility to build an application with one language

svn path=/trunk/; revision=67552

5 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 5 May 2015 00:55:56 +0000 (00:55 +0000)]
[NTVDM]
Send 0xE0 before each extended key scancode.

svn path=/trunk/; revision=67551

5 years ago[ROSAPPS]
Daniel Reimer [Tue, 5 May 2015 00:18:15 +0000 (00:18 +0000)]
[ROSAPPS]
Fix binpatch and systeminfo MSVC build.

svn path=/trunk/; revision=67550

5 years ago[NTVDM]: Add a debug feature to detect which apps erroneously call by themselves...
Hermès Bélusca-Maïto [Tue, 5 May 2015 00:11:43 +0000 (00:11 +0000)]
[NTVDM]: Add a debug feature to detect which apps erroneously call by themselves the BIOS initialization routine (POST). For whatever reason it is what MSD version 2 and above does.

svn path=/trunk/; revision=67549

5 years ago[ROSAPPS]
Daniel Reimer [Mon, 4 May 2015 23:08:17 +0000 (23:08 +0000)]
[ROSAPPS]
Fix symdump, ncftp and netreg MSVC build.

svn path=/trunk/; revision=67548

5 years ago[FAST486]
Aleksandar Andrejevic [Mon, 4 May 2015 22:16:20 +0000 (22:16 +0000)]
[FAST486]
The parameter count is not pushed onto the stack for call gates.

svn path=/trunk/; revision=67547

5 years ago[USETUP]: Instead of defining a special function "DrawInputField" just to draw an...
Hermès Bélusca-Maïto [Mon, 4 May 2015 20:50:51 +0000 (20:50 +0000)]
[USETUP]: Instead of defining a special function "DrawInputField" just to draw an input field for entering the partition size number, just use the already existing CONSOLE_SetInputTextXY function (and adapt the calling code because the string buffer for the SetInputTextXY function wants a unicode string). We now have a consistent input UI for usetup.
CORE-9453 #resolve #comment I committed a more elegant solution to this problem.

svn path=/trunk/; revision=67546

5 years ago[FAST486]
Aleksandar Andrejevic [Mon, 4 May 2015 19:14:23 +0000 (19:14 +0000)]
[FAST486]
- Implement call gates.
- Fix Fast486InterruptInternal and get rid of ugly hacks.
- Fix IRET (CS loaded too early).
- Add a structure definition for the 16-bit TSS (not supported yet).

svn path=/trunk/; revision=67545

5 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 3 May 2015 22:02:41 +0000 (22:02 +0000)]
[NTVDM]
Implement VGA read mode 1.

svn path=/trunk/; revision=67541

5 years ago[NTFS]
Pierre Schweitzer [Sun, 3 May 2015 18:36:58 +0000 (18:36 +0000)]
[NTFS]
Handle the file query information IRP major with the dispatch routine

svn path=/trunk/; revision=67540

5 years ago[NTFS]
Pierre Schweitzer [Sun, 3 May 2015 18:25:55 +0000 (18:25 +0000)]
[NTFS]
Store stack & FO in IRP context

svn path=/trunk/; revision=67539

5 years ago[NTFS]
Pierre Schweitzer [Sun, 3 May 2015 18:17:39 +0000 (18:17 +0000)]
[NTFS]
Set a flag in the IRP context when an IRP can wait on locking

svn path=/trunk/; revision=67538

5 years ago[CRT]
Timo Kreuzer [Sun, 3 May 2015 18:15:19 +0000 (18:15 +0000)]
[CRT]
- Implement portable fabsf.c
- Move some ARM stubs to a better location
- Add stubs for __dtoi64, __i64tos, __u64tos, _clearfp

svn path=/trunk/; revision=67537

5 years ago[NTFS]
Pierre Schweitzer [Sun, 3 May 2015 18:13:16 +0000 (18:13 +0000)]
[NTFS]
An IRP context without an IRP sounds like a challenge...

svn path=/trunk/; revision=67536

5 years ago[ATL]
Timo Kreuzer [Sun, 3 May 2015 18:03:31 +0000 (18:03 +0000)]
[ATL]
- Handle failure to allocate VM for thunk code
- Factor out the assembly thumk code, fix amd64 code and implement ARM code

svn path=/trunk/; revision=67535

5 years ago[ATL]
Timo Kreuzer [Sun, 3 May 2015 15:10:09 +0000 (15:10 +0000)]
[ATL]
- Convert tabs to spaces
- Remove excessive local variable indentation for alignment, since that doesn't help to improve readability
- No code changes

svn path=/trunk/; revision=67534

5 years ago[FAST486]
Aleksandar Andrejevic [Sun, 3 May 2015 13:14:53 +0000 (13:14 +0000)]
[FAST486]
Don't overwrite the masked flags in IRET.

svn path=/trunk/; revision=67533

5 years ago[KERNEL32] Add Italian translation by Carlo Bramini. CORE-9650
Amine Khaldi [Sun, 3 May 2015 12:56:51 +0000 (12:56 +0000)]
[KERNEL32] Add Italian translation by Carlo Bramini. CORE-9650

svn path=/trunk/; revision=67532

5 years ago[SETUPAPI_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Sun, 3 May 2015 11:33:46 +0000 (11:33 +0000)]
[SETUPAPI_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67531

5 years ago[REG_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Sun, 3 May 2015 11:32:28 +0000 (11:32 +0000)]
[REG_WINETEST] Import from Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67530

5 years ago[REG] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Sun, 3 May 2015 11:30:49 +0000 (11:30 +0000)]
[REG] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67529

5 years ago[FAST486]
Aleksandar Andrejevic [Sun, 3 May 2015 03:37:06 +0000 (03:37 +0000)]
[FAST486]
Properly check the limit for "expand down" segments.

svn path=/trunk/; revision=67528

5 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 3 May 2015 02:11:32 +0000 (02:11 +0000)]
[NTVDM]
- Fix a typo.
- Use a #define for the device flag.
- In r67526, the following change was committed but not described in the commit message:
- Enable opening devices in DosCreateFile and DosCreateFileEx.

svn path=/trunk/; revision=67527

5 years ago[FAST486]
Aleksandar Andrejevic [Sun, 3 May 2015 01:45:57 +0000 (01:45 +0000)]
[FAST486]
Update the copyright year (better late than never).
Push the error code inside Fast486InterruptInternal, to make the size of the
pushed value on the stack correct.
Update the CPL in Fast486TaskSwitch.

svn path=/trunk/; revision=67526

5 years ago[NDK]
Timo Kreuzer [Sat, 2 May 2015 23:12:19 +0000 (23:12 +0000)]
[NDK]
Add a few definitions based on (Windows RT 8.1) symbol files, ks386.inc, ksamd64.inc, ksarm.inc and Windows 10 WDK (ntosp.h ftw!)

svn path=/trunk/; revision=67525

5 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 2 May 2015 23:11:50 +0000 (23:11 +0000)]
[NTOSKRNL]
- Implement KiCpuId and make use of it
- Get rid of ugly CPUID, RDMSR and WRMSR functions
- remove unused KTS_ constants

svn path=/trunk/; revision=67524

5 years ago[NTOSKRNL] Handle some more KeFeatureFlags in amd64/cpu.c and set RtlpUse16ByteSLists
Timo Kreuzer [Sat, 2 May 2015 22:20:59 +0000 (22:20 +0000)]
[NTOSKRNL] Handle some more KeFeatureFlags in amd64/cpu.c and set RtlpUse16ByteSLists
[NTDLL] Set RtlpUse16ByteSLists
[RTL] Make use of RtlpUse16ByteSLists in x64 Interlocked SList functions

svn path=/trunk/; revision=67523

5 years ago[RTL]
Timo Kreuzer [Sat, 2 May 2015 22:20:38 +0000 (22:20 +0000)]
[RTL]
- Implement C versions of RtlInterlockedPushEntrySList, RtlInterlockedPushListSList, RtlInterlockedPopEntrySList and RtlInterlockedFlushSList.
- RtlInterlockedPushListSList is fastcall, not stdcall

svn path=/trunk/; revision=67522

5 years ago[DDK/XDK]
Timo Kreuzer [Sat, 2 May 2015 22:20:18 +0000 (22:20 +0000)]
[DDK/XDK]
- Improve definition of ExInterlockedCompareExchange64 and interlocked SList functions and improve some annotations based on native header
- Update processor feature constants

svn path=/trunk/; revision=67521

5 years ago[XDK/DDK/NDK]
Timo Kreuzer [Sat, 2 May 2015 22:19:47 +0000 (22:19 +0000)]
[XDK/DDK/NDK]
Simplify RtlXxxByteSwap macros (use them unconditionally)

svn path=/trunk/; revision=67520

5 years ago[CRT] Fix MSVC warnings
Timo Kreuzer [Sat, 2 May 2015 22:19:31 +0000 (22:19 +0000)]
[CRT] Fix MSVC warnings

svn path=/trunk/; revision=67519

5 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 2 May 2015 20:48:08 +0000 (20:48 +0000)]
[NTVDM]

Mouse:
- Remove now useless code in mouse support in BIOS.
- Implement INT 33h, AH=1Bh "Return mouse sensitivity" (returning hardcoded standard values since we don't support custom sensitivities) (AH=13h and 1Ah are marked as UNSUPPORTED).
- INT 33h, AH=1Fh "Disable mouse driver" returns in ES:BX the old INT 33h vector value: implement that.
- Implement INT 33h, AH=21h "Software reset", AH=24h and 4Dh and 6Dh "Software version and mouse info", "pointer to copyright string" and "version 'string'" functionalities.

DOS:
- Initialize in Win2k3-ntvdm-compatible order the DOS drivers: NUL, then CON, then XMS, and then EMS.
- Fix segment/offset inversion usage in INT 21h, AH=5Ch "Lock/Unlock region of file": when using MAKELONG macro to build a far pointer, the first parameter (loword) is the offset, and the second parameter (hiword) is the segment.

svn path=/trunk/; revision=67518

5 years ago[BOOTDATA] Add missing font DPI entries in registry. By Ziliang Guo. CORE-8902
Amine Khaldi [Sat, 2 May 2015 19:55:55 +0000 (19:55 +0000)]
[BOOTDATA] Add missing font DPI entries in registry. By Ziliang Guo. CORE-8902

svn path=/trunk/; revision=67517

5 years ago[SYSSETUP] Fix timezone setup in the unattended install of ReactOS. Spotted and fixed...
Amine Khaldi [Sat, 2 May 2015 19:48:26 +0000 (19:48 +0000)]
[SYSSETUP] Fix timezone setup in the unattended install of ReactOS. Spotted and fixed by V. CORE-9648

svn path=/trunk/; revision=67516

5 years ago[WBEMDISP_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Sat, 2 May 2015 19:40:48 +0000 (19:40 +0000)]
[WBEMDISP_WINETEST] Import from Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67515

5 years ago[WBEMDISP] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Sat, 2 May 2015 19:38:14 +0000 (19:38 +0000)]
[WBEMDISP] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67514

5 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 2 May 2015 18:51:03 +0000 (18:51 +0000)]
[NTVDM]
Save/restore the processor state when executing/terminating nested tasks.

svn path=/trunk/; revision=67513

5 years ago[FAST486]
Aleksandar Andrejevic [Sat, 2 May 2015 16:09:00 +0000 (16:09 +0000)]
[FAST486]
When storing a segment selector, the operand size attribute is only ignored when
writing to memory (where it's treated as if it's always 16-bit).

svn path=/trunk/; revision=67512

5 years ago[CRT]
Timo Kreuzer [Sat, 2 May 2015 14:07:28 +0000 (14:07 +0000)]
[CRT]
Implement _setjmp / longjmp on ARM

svn path=/trunk/; revision=67511

5 years ago[CRT]
Timo Kreuzer [Sat, 2 May 2015 12:48:50 +0000 (12:48 +0000)]
[CRT]
Add stub for __i64tod and C++ wrappers for ARM

svn path=/trunk/; revision=67510

5 years ago[MSPORTS] Introduce a setting that makes the driver accept resources with an IRQ...
Amine Khaldi [Sat, 2 May 2015 10:23:26 +0000 (10:23 +0000)]
[MSPORTS] Introduce a setting that makes the driver accept resources with an IRQ instead of only resources without an IRQ. Brought to you by The ReactOS Printing Group. CORE-9645

svn path=/trunk/; revision=67509

5 years ago[PARPORT] Introduce a skeleton that will serve as base for implementing the parallel...
Amine Khaldi [Sat, 2 May 2015 10:15:37 +0000 (10:15 +0000)]
[PARPORT] Introduce a skeleton that will serve as base for implementing the parallel port function driver. Brought to you by The ReactOS Printing Group. CORE-9644

svn path=/trunk/; revision=67508

5 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 2 May 2015 02:59:21 +0000 (02:59 +0000)]
[NTVDM]
Implement INT 27h (Terminate and Stay Resident).
Keep track of the last entry SS:SP in the INT 21h handler.
Restore the stack in DosTerminateProcess.
The number of bytes to keep resident applies only to the block which holds the PSP,
other blocks are not freed.

svn path=/trunk/; revision=67507

5 years agoFix compilation.
Hermès Bélusca-Maïto [Sat, 2 May 2015 01:26:42 +0000 (01:26 +0000)]
Fix compilation.

svn path=/trunk/; revision=67506

5 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 2 May 2015 01:23:27 +0000 (01:23 +0000)]
[NTVDM]
- Fix command-line handling.
- Disable a hack introduced in r65012 for testing purposes.

svn path=/trunk/; revision=67505

5 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 1 May 2015 23:04:03 +0000 (23:04 +0000)]
[NTVDM]
Implement INT 21h, AH = 36h "Get Free Disk Space".

svn path=/trunk/; revision=67504

5 years ago[NPFS]
Thomas Faber [Fri, 1 May 2015 19:40:04 +0000 (19:40 +0000)]
[NPFS]
- Correctly check for write quota in NpCommonWrite. Should fix test regressions after enabling fast I/O.

svn path=/trunk/; revision=67503

5 years ago[NTFS]
Pierre Schweitzer [Fri, 1 May 2015 18:58:00 +0000 (18:58 +0000)]
[NTFS]
Why would you allocate NTFS global data structure twice to use it from only one location?
Fix that misbehavior.

svn path=/trunk/; revision=67502

5 years ago[NTFS]
Pierre Schweitzer [Fri, 1 May 2015 18:38:10 +0000 (18:38 +0000)]
[NTFS]
Add FastIO non-support in NTFS

svn path=/trunk/; revision=67501

5 years ago[CDFS]
Pierre Schweitzer [Fri, 1 May 2015 17:45:16 +0000 (17:45 +0000)]
[CDFS]
No, FastIo is not possible!

svn path=/trunk/; revision=67500

5 years ago[CDFS]
Pierre Schweitzer [Fri, 1 May 2015 17:41:38 +0000 (17:41 +0000)]
[CDFS]
Set SizeOfFastIoDispatch member

svn path=/trunk/; revision=67499

5 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 1 May 2015 15:42:54 +0000 (15:42 +0000)]
[NTVDM]
Separate the process-related code from the DOS kernel.
Enable starting processes from other processes in STANDALONE mode.
Implement INT 21h, AH = 55h and INT 21h, AH = 26h (Create/Clone PSP).
Implement overlay loading.

svn path=/trunk/; revision=67498

5 years ago[BLUE]
Thomas Faber [Fri, 1 May 2015 13:58:37 +0000 (13:58 +0000)]
[BLUE]
- Arch, learn how to properly revert things?

svn path=/trunk/; revision=67497

5 years ago[BLUE][CDFS]
Thomas Faber [Fri, 1 May 2015 13:56:37 +0000 (13:56 +0000)]
[BLUE][CDFS]
- Arch, don't assume the driver you see in the backtrace is one that needs fixing. CDFS is the one who's a file system driver here...

svn path=/trunk/; revision=67496

5 years ago[BLUE]
Thomas Faber [Fri, 1 May 2015 13:46:08 +0000 (13:46 +0000)]
[BLUE]
- FastIoDispatch is not optional for file system drivers!

svn path=/trunk/; revision=67495

5 years ago[NTOS:IO]
Thomas Faber [Fri, 1 May 2015 13:20:26 +0000 (13:20 +0000)]
[NTOS:IO]
- Implement Fast I/O support in NtReadFile/NtWriteFile
CORE-9624

svn path=/trunk/; revision=67494

5 years ago[KMTESTS:IO]
Thomas Faber [Fri, 1 May 2015 12:50:12 +0000 (12:50 +0000)]
[KMTESTS:IO]
- Also test write operations in IoReadWrite
- Add some nonzero success statuses
CORE-9624

svn path=/trunk/; revision=67493

5 years ago[FASTFAT]
Eric Kohl [Fri, 1 May 2015 12:15:49 +0000 (12:15 +0000)]
[FASTFAT]
VfatRead: Check the Length before checking the ByteOffset because reading 0 bytes should always be successful.

svn path=/trunk/; revision=67492

5 years ago[NTOS:IO]
Thomas Faber [Fri, 1 May 2015 12:00:50 +0000 (12:00 +0000)]
[NTOS:IO]
- Free the correct event pointer when out of memory in IopDeviceFsIoControl

svn path=/trunk/; revision=67491

5 years ago[NTOS:IO]
Thomas Faber [Fri, 1 May 2015 11:57:51 +0000 (11:57 +0000)]
[NTOS:IO]
- Don't leak event object reference when out of memory in NtReadFile/NtWriteFile

svn path=/trunk/; revision=67490

5 years ago[NTOS:IO]
Thomas Faber [Fri, 1 May 2015 11:52:32 +0000 (11:52 +0000)]
[NTOS:IO]
- IopCompleteRequest: in case of an exception, fail the IRP as shown by kmtest:IoReadWrite
CORE-9624

svn path=/trunk/; revision=67489

5 years ago[KMTESTS:IO]
Thomas Faber [Fri, 1 May 2015 11:07:40 +0000 (11:07 +0000)]
[KMTESTS:IO]
- Fix GCC build

svn path=/trunk/; revision=67488

5 years ago[KMTESTS:IO]
Thomas Faber [Fri, 1 May 2015 11:03:21 +0000 (11:03 +0000)]
[KMTESTS:IO]
- Add a test for the interaction between NtReadFile and a file system driver
CORE-9624

svn path=/trunk/; revision=67487

5 years ago[KMTEST]
Thomas Faber [Fri, 1 May 2015 10:52:37 +0000 (10:52 +0000)]
[KMTEST]
- Add TESTENTRY_NO_READONLY_DEVICE and TESTENTRY_BUFFERED_IO_DEVICE flags for standalone drivers

svn path=/trunk/; revision=67486

5 years ago[NTOS:IO]
Thomas Faber [Fri, 1 May 2015 10:49:50 +0000 (10:49 +0000)]
[NTOS:IO]
- Add missing SEH around user buffer access in IopCompleteRequest
- Remove a redundant condition
CORE-9624

svn path=/trunk/; revision=67485

5 years agoNote to self: review diffs and remove temporary changes BEFORE commiting (not after).
David Quintana [Thu, 30 Apr 2015 22:09:11 +0000 (22:09 +0000)]
Note to self: review diffs and remove temporary changes BEFORE commiting (not after).

svn path=/trunk/; revision=67484

5 years agoThis commit brings support for compiling ReactOS with Visual Studio 2015 RC (and...
David Quintana [Thu, 30 Apr 2015 21:48:26 +0000 (21:48 +0000)]
This commit brings support for compiling ReactOS with Visual Studio 2015 RC (and possibly the final release).

[BUILD]
msvc.cmake: Disable thread-local static initialization.
CMakeLists.txt: Disable PCH for VS2015.
configure.cmd: Make it aware of cl.exe version 19.x

[CPPRT]
Add alias for the new variants of the delete operators.

[BROWSEUI]
[MFIFS]
[FRAMEDYN]
[NDIS]
[DDK]
[PSDK]
[STLPORT]
Add explicit declarations of the new delete operators for those modules that don't use the WITH_RUNTIME option.

[WIDL]
[WPP]
Do not alias the snprintf family of functions to the _snprintf variants, since VS14 already declares them internally.

svn path=/trunk/; revision=67483

5 years ago[CRT/KERNEL32]
Timo Kreuzer [Thu, 30 Apr 2015 21:07:08 +0000 (21:07 +0000)]
[CRT/KERNEL32]
Add some more ARM stubs

svn path=/trunk/; revision=67482

5 years ago[CRT]
Timo Kreuzer [Thu, 30 Apr 2015 21:04:29 +0000 (21:04 +0000)]
[CRT]
Add a number of ARM

svn path=/trunk/; revision=67481

5 years ago[COMCTL32] Export DrawShadowText() and mention that it's exported only in v6. Dedicat...
Amine Khaldi [Thu, 30 Apr 2015 15:56:19 +0000 (15:56 +0000)]
[COMCTL32] Export DrawShadowText() and mention that it's exported only in v6. Dedicated to Stefano Toncich aka Tonix.

svn path=/trunk/; revision=67480

5 years ago[FAST486]
Aleksandar Andrejevic [Wed, 29 Apr 2015 20:41:41 +0000 (20:41 +0000)]
[FAST486]
When a segment isn't present, the exception should always be #NP (unless
it was the stack segment, in which case the exception should be #SS).

svn path=/trunk/; revision=67479

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 29 Apr 2015 03:18:02 +0000 (03:18 +0000)]
[NTVDM]
The fix in r67477 was incorrect. When loading an executable high, we need to
allocate all of the memory and copy the program itself to the highest part of it.
I know it sounds illogical but that's how it works...

svn path=/trunk/; revision=67478

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 29 Apr 2015 01:21:58 +0000 (01:21 +0000)]
[NTVDM]
If both e_minalloc and e_maxalloc are 0, the program should be loaded high.

svn path=/trunk/; revision=67477

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 29 Apr 2015 00:58:22 +0000 (00:58 +0000)]
[NTVDM]
Also check for BlockData == 0 in RosResizeMemory. This, however, wasn't a crash since we
were lucky enough to cast the segment to a WORD before the access.

svn path=/trunk/; revision=67476

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 29 Apr 2015 00:47:06 +0000 (00:47 +0000)]
[NTVDM]
Don't crash when DosFreeMemory is called with BlockData == 0.

svn path=/trunk/; revision=67475

5 years ago[RAPPS_NEW]
David Quintana [Wed, 29 Apr 2015 00:07:54 +0000 (00:07 +0000)]
[RAPPS_NEW]
Continue the work converting the UI to using ATL-wrapped windows. CORE-9593

[RSHELL]
[EXPLORER]
Fixup two class declarations to work with the rosctrls.h changes.

svn path=/trunk/; revision=67474

5 years ago[NDK/KERNEL32]
Timo Kreuzer [Tue, 28 Apr 2015 21:27:35 +0000 (21:27 +0000)]
[NDK/KERNEL32]
Improve definition of FIBER. Based on ks386.inc, ksarm.h and ksamd64.inc

svn path=/trunk/; revision=67473

5 years ago[KERNEL32/NDK]
Timo Kreuzer [Tue, 28 Apr 2015 21:27:16 +0000 (21:27 +0000)]
[KERNEL32/NDK]
Move definition of FIBER to NDK

svn path=/trunk/; revision=67472

5 years ago[NDK]
Timo Kreuzer [Tue, 28 Apr 2015 21:26:56 +0000 (21:26 +0000)]
[NDK]
- Move definition of TIMER_TABLE_ENTRY from ntoskrnl to NDK
- Add definitions of KTIMER_TABLE, KDPC_LIST, SYNCH_COUNTERS

svn path=/trunk/; revision=67471

5 years ago[NDK]
Timo Kreuzer [Tue, 28 Apr 2015 21:26:37 +0000 (21:26 +0000)]
[NDK]
Use portable definitions for service table constants. (Moved from ARM specific definition in ntoskrnl internal header, with a fixed value for TABLE_NUMBER_BITS, which is 1, not 3)

svn path=/trunk/; revision=67470

5 years ago[NDK]
Timo Kreuzer [Tue, 28 Apr 2015 21:26:15 +0000 (21:26 +0000)]
[NDK]
- Move _MMPTE definition to arch specific files
- Fix _MMPTE_HARDWARE on arm (struct, not union!)

svn path=/trunk/; revision=67469

5 years ago[PSDK]
Timo Kreuzer [Tue, 28 Apr 2015 21:25:57 +0000 (21:25 +0000)]
[PSDK]
Update sdkddkver.h with latest version constants up to windows 10.

svn path=/trunk/; revision=67468

5 years ago[FREELDR]
Timo Kreuzer [Tue, 28 Apr 2015 21:25:43 +0000 (21:25 +0000)]
[FREELDR]
Hey Arch, hyperspace is not the page table range!
Rename HYPER_SPACE_ENTRY to SELFMAP_ENTRY.

svn path=/trunk/; revision=67467

5 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 28 Apr 2015 21:25:21 +0000 (21:25 +0000)]
[NTOSKRNL]
Fix MSVC warnings.

svn path=/trunk/; revision=67466