reactos.git
8 years ago[NOTEPAD] Apply Wine commit 9b21a10 by Alexandre Julliard: Remove the 'Help on Help...
Amine Khaldi [Tue, 12 May 2015 10:22:20 +0000 (10:22 +0000)]
[NOTEPAD] Apply Wine commit 9b21a10 by Alexandre Julliard: Remove the 'Help on Help' menu. It is redundant with the help application's 'Help' menu and clutters notepad. CORE-9371

svn path=/trunk/; revision=67679

8 years ago[NOTEPAD] Apply Wine commit 276306e by Alexandre Julliard: Don't offer vertical fonts...
Amine Khaldi [Tue, 12 May 2015 10:13:32 +0000 (10:13 +0000)]
[NOTEPAD] Apply Wine commit 276306e by Alexandre Julliard: Don't offer vertical fonts in the font dialog. CORE-9371

svn path=/trunk/; revision=67678

8 years ago[NOTEPAD] Apply Wine commit dc8b11e by Frédéric Delanoy: Use BOOL type where appropri...
Amine Khaldi [Tue, 12 May 2015 10:11:31 +0000 (10:11 +0000)]
[NOTEPAD] Apply Wine commit dc8b11e by Frédéric Delanoy: Use BOOL type where appropriate. CORE-9371

svn path=/trunk/; revision=67677

8 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 12 May 2015 03:47:10 +0000 (03:47 +0000)]
[NTVDM]
Fix the XMS driver (again):
- Don't return handle information for unallocated handles.
- Don't allow freeing unallocated handles.

svn path=/trunk/; revision=67676

8 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 12 May 2015 03:37:00 +0000 (03:37 +0000)]
[NTVDM]
Fix the XMS driver. AH = 08h is supposed to return the size of the
largest free block in AX, and the total amount of *free* memory
in DX.

svn path=/trunk/; revision=67675

8 years ago[FAST486]
Aleksandar Andrejevic [Tue, 12 May 2015 02:47:59 +0000 (02:47 +0000)]
[FAST486]
The default segment is SS when the SIB base is EBP.

svn path=/trunk/; revision=67674

8 years ago[FAST486]
Aleksandar Andrejevic [Mon, 11 May 2015 23:56:15 +0000 (23:56 +0000)]
[FAST486]
The TSS limit is usually the actual limit - 1.
[NTVDM]
Increase the XMS size to use the last megabyte too.

svn path=/trunk/; revision=67673

8 years agoRevert a change that should never have been done.
Hermès Bélusca-Maïto [Mon, 11 May 2015 23:10:00 +0000 (23:10 +0000)]
Revert a change that should never have been done.

svn path=/trunk/; revision=67672

8 years ago[NTVDM][DDK]
Hermès Bélusca-Maïto [Mon, 11 May 2015 23:04:24 +0000 (23:04 +0000)]
[NTVDM][DDK]
Implement VDD user hooks: they are called when a DOS program is started or terminated, and when the VM enters a blocking state or is resumed.

[NTVDM]
- Do some parameter checks and set last errors in VDD memory helpers.
- Fix a bug in VDDInstallIOHook when installing IO hooks: the IoHandlers pointer MUST NEVER be incremented!!

[TESTVDD]: Update my test VDD with tests for the user hooks.

svn path=/trunk/; revision=67671

8 years ago[NTFS]
Pierre Schweitzer [Mon, 11 May 2015 21:11:48 +0000 (21:11 +0000)]
[NTFS]
Handle IRP_MJ_DEVICE_CONTROL with the dispatch routine

svn path=/trunk/; revision=67670

8 years ago[FAST486]
Aleksandar Andrejevic [Mon, 11 May 2015 18:49:10 +0000 (18:49 +0000)]
[FAST486]
Duplicate prefixes don't generate #UD. Multiple segment overrides
override each other, and so do REP and REPNZ.

svn path=/trunk/; revision=67669

8 years ago[PSDK] Bring lmserver.h a bit into our formatting. NFC.
Amine Khaldi [Mon, 11 May 2015 17:27:08 +0000 (17:27 +0000)]
[PSDK] Bring lmserver.h a bit into our formatting. NFC.

svn path=/trunk/; revision=67668

8 years ago[CDROM_NEW] Fix MSVC build.
Amine Khaldi [Mon, 11 May 2015 17:23:38 +0000 (17:23 +0000)]
[CDROM_NEW] Fix MSVC build.

svn path=/trunk/; revision=67667

8 years ago[PSDK]
Thomas Faber [Mon, 11 May 2015 16:15:18 +0000 (16:15 +0000)]
[PSDK]
- Add __field_bcount_full
- Add a stub definition for __deref_out_range

svn path=/trunk/; revision=67666

8 years ago[DDK]
Thomas Faber [Mon, 11 May 2015 14:09:02 +0000 (14:09 +0000)]
[DDK]
- Add NTSTRSAFE_UNICODE_STRING_MAX_CCH

svn path=/trunk/; revision=67664

8 years ago[WS2_32] Apply Wine commit 51e7732 by Piotr Caban: Fix ai_canonname buffer allocation...
Amine Khaldi [Mon, 11 May 2015 13:43:37 +0000 (13:43 +0000)]
[WS2_32] Apply Wine commit 51e7732 by Piotr Caban: Fix ai_canonname buffer allocation in addrinfo_AtoW.

svn path=/trunk/; revision=67663

8 years ago[WTSAPI32_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:58:10 +0000 (12:58 +0000)]
[WTSAPI32_WINETEST] Import from Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67661

8 years ago[WTSAPI32] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:55:05 +0000 (12:55 +0000)]
[WTSAPI32] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67660

8 years ago[PSDK] Add missing WTS_CURRENT_SERVER_HANDLE definition.
Amine Khaldi [Mon, 11 May 2015 12:52:08 +0000 (12:52 +0000)]
[PSDK] Add missing WTS_CURRENT_SERVER_HANDLE definition.

svn path=/trunk/; revision=67659

8 years ago[WINTRUST_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:51:23 +0000 (12:51 +0000)]
[WINTRUST_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67658

8 years ago[WINTRUST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:51:01 +0000 (12:51 +0000)]
[WINTRUST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67657

8 years ago[WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:50:02 +0000 (12:50 +0000)]
[WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67656

8 years ago[WINDOWSCODECS] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:49:42 +0000 (12:49 +0000)]
[WINDOWSCODECS] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67655

8 years ago[XCOPY] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:47:54 +0000 (12:47 +0000)]
[XCOPY] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67654

8 years ago[CRT]
Thomas Faber [Mon, 11 May 2015 12:27:54 +0000 (12:27 +0000)]
[CRT]
- Add missing __INTRIN_INLINE for x64 intrinsics

svn path=/trunk/; revision=67653

8 years ago[CRT]
Thomas Faber [Mon, 11 May 2015 12:10:19 +0000 (12:10 +0000)]
[CRT]
- Fix some x64 GCC intrinsics

svn path=/trunk/; revision=67652

8 years ago[NTVDM]
Aleksandar Andrejevic [Mon, 11 May 2015 03:36:02 +0000 (03:36 +0000)]
[NTVDM]
Use the SDA for storing the request in DosCallDriver.
Rename some more fields we aren't going to use to "Unused..." in the SDA.

svn path=/trunk/; revision=67651

8 years ago[FAST486]
Aleksandar Andrejevic [Mon, 11 May 2015 03:31:04 +0000 (03:31 +0000)]
[FAST486]
In HLT, check the CPL and not CS.DPL.

svn path=/trunk/; revision=67650

8 years ago[NTVDM]
Aleksandar Andrejevic [Mon, 11 May 2015 02:54:46 +0000 (02:54 +0000)]
[NTVDM]
Move various private DOS variables into the Swappable Data Area.
It's still mostly unused though.

svn path=/trunk/; revision=67649

8 years ago[FAST486]
Aleksandar Andrejevic [Mon, 11 May 2015 02:49:25 +0000 (02:49 +0000)]
[FAST486]
Don't perform privilege checks while reading the IDT, GDT or TSS.

svn path=/trunk/; revision=67648

8 years ago[FAST486]
Aleksandar Andrejevic [Sun, 10 May 2015 23:50:33 +0000 (23:50 +0000)]
[FAST486]
The LMSW instruction doesn't #GP when the program tries to return to real mode.
Rather, it just doesn't happen (the PE bit remains 1).

svn path=/trunk/; revision=67647

8 years ago[FAST486]
Aleksandar Andrejevic [Sun, 10 May 2015 22:54:15 +0000 (22:54 +0000)]
[FAST486]
Don't check for gates in virtual 8086 mode.

svn path=/trunk/; revision=67646

8 years ago[FAST486]
Aleksandar Andrejevic [Sun, 10 May 2015 21:59:07 +0000 (21:59 +0000)]
[FAST486]
- Fix VM86-related stuff.
- Optimize MOV.

svn path=/trunk/; revision=67645

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 21:24:51 +0000 (21:24 +0000)]
[NTFS]
Don't call MmGetSystemAddressForMdl()

svn path=/trunk/; revision=67644

8 years ago[RTL]
Timo Kreuzer [Sun, 10 May 2015 21:05:01 +0000 (21:05 +0000)]
[RTL]
Implement DbgUserBreakPoint and DbgBreakPointWithStatus on ARM

svn path=/trunk/; revision=67643

8 years ago[CRT]
Timo Kreuzer [Sun, 10 May 2015 21:04:48 +0000 (21:04 +0000)]
[CRT]
Implement __rt_srsh

svn path=/trunk/; revision=67642

8 years ago[CRT/RTL/NTOSKRNL]
Timo Kreuzer [Sun, 10 May 2015 21:04:27 +0000 (21:04 +0000)]
[CRT/RTL/NTOSKRNL]
Add new ARM files to build and improve the stubs a bit

svn path=/trunk/; revision=67641

8 years ago[ASM]
Timo Kreuzer [Sun, 10 May 2015 21:03:53 +0000 (21:03 +0000)]
[ASM]
- Make syscalls ARM compatible

svn path=/trunk/; revision=67640

8 years ago[KSARM.H]
Timo Kreuzer [Sun, 10 May 2015 21:03:33 +0000 (21:03 +0000)]
[KSARM.H]
- Fix/add a number of macros based on native definitions
- Add "intrinsics" for GNU ARM assembler
- Move trap macros to asmmacro.S

svn path=/trunk/; revision=67639

8 years ago[ASM]
Timo Kreuzer [Sun, 10 May 2015 21:03:09 +0000 (21:03 +0000)]
[ASM]
Update templates for asm include generation

svn path=/trunk/; revision=67638

8 years ago[CRT]
Timo Kreuzer [Sun, 10 May 2015 21:02:53 +0000 (21:02 +0000)]
[CRT]
- Add _JUMP_BUFFER for ARM
- On ARM there are no underscore prefixes

svn path=/trunk/; revision=67637

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 20:56:48 +0000 (20:56 +0000)]
[NTFS]
- Only set the IOSB status if we complete the IRP
- Fix the assert: the caller might want not to complete the IRP nor to queue it (passed down IRPs)

svn path=/trunk/; revision=67636

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 20:47:44 +0000 (20:47 +0000)]
[NTFS]
Add two more flags (mutually exclusive) for IRP context:
- _COMPLETE will cause the IRP to be completed at the end of the dispatch, with the run-time priority boost set by caller
- _QUEUE will cause the IRP to be queued for delayed execution (not yet implemented)

This allows more flexibility for callers that can set the behavior thanks to the flags.
Default behavior is the previous one: by default the IRP is completed at the end of the dispatch

That one should really come to FastFAT...

svn path=/trunk/; revision=67635

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 20:35:40 +0000 (20:35 +0000)]
[NTFS]
Handle IRP_MJ_READ with the dispatch routine

svn path=/trunk/; revision=67634

8 years ago[NTOSKRNL/MM]
Timo Kreuzer [Sun, 10 May 2015 19:35:24 +0000 (19:35 +0000)]
[NTOSKRNL/MM]
Add MI_MAKE_CLEAN_PAGE
Use PTE access macros for portability

svn path=/trunk/; revision=67633

8 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 10 May 2015 19:35:00 +0000 (19:35 +0000)]
[NTOSKRNL]
- Fix MMPTE vs MMPDE usage
- Use MiPteToPde instead of MiAddressToPte

svn path=/trunk/; revision=67632

8 years ago[XDK/DDK/NDK/PSDK/ARMDDK]
Timo Kreuzer [Sun, 10 May 2015 19:34:38 +0000 (19:34 +0000)]
[XDK/DDK/NDK/PSDK/ARMDDK]
- Move stuff from armddk.h to XDK/DDK
- Fix ARM CONTEXT flags
- Add missing KeGetCurrentIrql() for ARM
- Improve some amd64 based definitions
- Use Native math for Int64Sh**Mod32 on ARM

svn path=/trunk/; revision=67631

8 years ago[NDK]
Timo Kreuzer [Sun, 10 May 2015 19:33:56 +0000 (19:33 +0000)]
[NDK]
- Remove unused HYPERSPACE_BASE (which was broken for x86, too)
- Add PAE values for HYPER_SPACE and HYPER_SPACE_END on x86
- Add missing MM_HAL_VA_START and MM_HAL_VA_END for ARM

svn path=/trunk/; revision=67630

8 years ago[NTVDM]: Implement support for DMA transfers, single-mode only for now, and fix its...
Hermès Bélusca-Maïto [Sun, 10 May 2015 18:02:45 +0000 (18:02 +0000)]
[NTVDM]: Implement support for DMA transfers, single-mode only for now, and fix its support for VDDs.

svn path=/trunk/; revision=67629

8 years ago[RICHED20_WINETEST]
Timo Kreuzer [Sun, 10 May 2015 17:59:10 +0000 (17:59 +0000)]
[RICHED20_WINETEST]
Hey Arch, stop breaking GCC build, while trying to fix MSVC build!

svn path=/trunk/; revision=67628

8 years ago[RICHED20_WINETEST]
Timo Kreuzer [Sun, 10 May 2015 17:54:02 +0000 (17:54 +0000)]
[RICHED20_WINETEST]
Fix a few more set-but-unused warnings. ("Should be sent to wine-staging"(tm))

svn path=/trunk/; revision=67627

8 years ago[KMTEST]
Timo Kreuzer [Sun, 10 May 2015 17:37:54 +0000 (17:37 +0000)]
[KMTEST]
Hey Arch, if you turn warnings into errors, make sure to fix the warnings before!

svn path=/trunk/; revision=67626

8 years ago[ROSTESTS]: Move old testdata directory into the new one and add test files by Victor...
Hermès Bélusca-Maïto [Sun, 10 May 2015 14:59:04 +0000 (14:59 +0000)]
[ROSTESTS]: Move old testdata directory into the new one and add test files by Victor Martinez.
ROSTESTS-169 #resolve

svn path=/trunk/; revision=67625

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 14:36:00 +0000 (14:36 +0000)]
[NTFS]
Don't force the run-time priority boost in NtfsFsdDispatch(). Some dispatched MJ functions might want to adjust it (MJ_READ/MJ_WRITE/MJ_CREATE).

The same should be actually done in FastFAT. I believe that would help avoiding several code duplications...

svn path=/trunk/; revision=67624

8 years ago[FAST486]
Aleksandar Andrejevic [Sun, 10 May 2015 14:34:28 +0000 (14:34 +0000)]
[FAST486]
Fix LTR.

svn path=/trunk/; revision=67623

8 years ago[NTVDM]: Fix a bug introduced in r67619.
Hermès Bélusca-Maïto [Sun, 10 May 2015 14:26:49 +0000 (14:26 +0000)]
[NTVDM]: Fix a bug introduced in r67619.

svn path=/trunk/; revision=67622

8 years ago[CDFS]
Thomas Faber [Sun, 10 May 2015 14:09:47 +0000 (14:09 +0000)]
[CDFS]
- Mark volumes as read-only. Patch by Barrett Karish.
CORE-9655 #resolve

svn path=/trunk/; revision=67621

8 years ago[NTVDM]: Fix current directory stuff.
Hermès Bélusca-Maïto [Sun, 10 May 2015 13:34:02 +0000 (13:34 +0000)]
[NTVDM]: Fix current directory stuff.

svn path=/trunk/; revision=67620

8 years ago[NTVDM]: Fix DOS file find. Introduced in r61507, it was indeed untested...
Hermès Bélusca-Maïto [Sun, 10 May 2015 12:25:27 +0000 (12:25 +0000)]
[NTVDM]: Fix DOS file find. Introduced in r61507, it was indeed untested...

svn path=/trunk/; revision=67619

8 years ago[NTVDM]: Fix (again) command-line parsing in DosCreateProcess.
Hermès Bélusca-Maïto [Sun, 10 May 2015 11:34:35 +0000 (11:34 +0000)]
[NTVDM]: Fix (again) command-line parsing in DosCreateProcess.

svn path=/trunk/; revision=67618

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 10:30:40 +0000 (10:30 +0000)]
[NTFS]
Addendum to r67540: don't complete the IRP twice (NtfsQueryInformation() + NtfsFsdDispatch()).
This fixes regression

svn path=/trunk/; revision=67617

8 years ago[NTVDM]: temporary fix for "lastdrive": put it to 'Z' (max drive letter you can have...
Hermès Bélusca-Maïto [Sun, 10 May 2015 10:28:33 +0000 (10:28 +0000)]
[NTVDM]: temporary fix for "lastdrive": put it to 'Z' (max drive letter you can have on DOS). A better fix would be DOS listing all the accessible drives in the current PC and compute the last one.

svn path=/trunk/; revision=67616

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 10:17:29 +0000 (10:17 +0000)]
[NTFS]
Handle IRP_MJ_DIRECTORY_CONTROL with the dispatch routine

svn path=/trunk/; revision=67615

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 10:02:53 +0000 (10:02 +0000)]
[NTFS]
NTFS doesn't need CdfsGetEntryName()

svn path=/trunk/; revision=67614

8 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 10 May 2015 02:10:19 +0000 (02:10 +0000)]
[NTVDM]
Make sure the BOP doesn't repeat when the timeout expires in INT 15h, AH = 41h.

svn path=/trunk/; revision=67613

8 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 10 May 2015 01:42:39 +0000 (01:42 +0000)]
[NTVDM]
- Modify the int32 dispatch to clear the CF only on entry, so that we can
track in our handlers whether it was the first time the BOP executed.
- Implement INT 15h, AH = 41h (Wait On External Event).
- Fix INT 15h, AX = E801h - modify the stack CF instead of the handler CF.
- Make INT 16h AH = 00h clear CF when there is a character, so that the BOP doesn't
repeat.

svn path=/trunk/; revision=67612

8 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 10 May 2015 00:55:38 +0000 (00:55 +0000)]
[NTVDM]
- Implement XMS function 0x0E (Get Handle Information).
- Fix INT 15h, AX = E820h - setCF can't be used inside an int32 callback for changing
the return carry flag, because it has a different meaning there (it means that the BOP
should be repeated). Instead, we must modify the CF that was pushed on the stack.

svn path=/trunk/; revision=67611

8 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 9 May 2015 23:56:38 +0000 (23:56 +0000)]
[NTVDM]
Correct the byte order of the magic value: 'PAMS' -> 'SMAP'.

svn path=/trunk/; revision=67610

8 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 9 May 2015 23:48:09 +0000 (23:48 +0000)]
[NTVDM]
Implement BIOS INT 15h functions AX = E820 (Get Memory Map) and AX = E801
(Get Memory Size for >64M Configurations).

svn path=/trunk/; revision=67609

8 years ago[DDK]
Thomas Faber [Sat, 9 May 2015 22:49:37 +0000 (22:49 +0000)]
[DDK]
- Include <suppress.h> from wdm.h to satisfy __WARNING_MEMORY_NOT_ACQUIRED. Patch by Mark Jansen.
CORE-9657 #resolve

svn path=/trunk/; revision=67608

8 years ago[CMAKE]
Thomas Faber [Sat, 9 May 2015 22:44:52 +0000 (22:44 +0000)]
[CMAKE]
- Enable C4189 (local variable initialized but not referenced) on MSVC builds and make it an error.
CORE-9676 #resolve

svn path=/trunk/; revision=67607

8 years ago[FAST486]
Aleksandar Andrejevic [Sat, 9 May 2015 21:56:40 +0000 (21:56 +0000)]
[FAST486]
If the executable bit of a segment descriptor is set, it's never a grow-down segment.

svn path=/trunk/; revision=67606

8 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 9 May 2015 03:15:11 +0000 (03:15 +0000)]
[NTVDM]
Remove an accidentally committed temporary DPRINT1.

svn path=/trunk/; revision=67605

8 years ago[NTVDM]: hardcoded_values--;
Hermès Bélusca-Maïto [Fri, 8 May 2015 23:47:33 +0000 (23:47 +0000)]
[NTVDM]: hardcoded_values--;

svn path=/trunk/; revision=67604

8 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 8 May 2015 23:26:15 +0000 (23:26 +0000)]
[NTVDM]
DosTerminateProcess shouldn't blindly attempt to restore the old state,
(for example if the process was started manually by a debugger).

svn path=/trunk/; revision=67603

8 years ago[NTVDM]: Merge Bios32 ResetBop with POST function.
Hermès Bélusca-Maïto [Fri, 8 May 2015 19:43:12 +0000 (19:43 +0000)]
[NTVDM]: Merge Bios32 ResetBop with POST function.

svn path=/trunk/; revision=67602

8 years ago[NTVDM]: Implement PC reset handling in the BIOS. Used by some apps for switching...
Hermès Bélusca-Maïto [Fri, 8 May 2015 19:26:46 +0000 (19:26 +0000)]
[NTVDM]: Implement PC reset handling in the BIOS. Used by some apps for switching from protected mode back to real mode the 286 way (see: rcollins.org/articles/pmbasics/ for more details).

svn path=/trunk/; revision=67601

8 years ago[MSPAINT_NEW] Convert to C++, update header comments
Benedikt Freisen [Fri, 8 May 2015 16:27:46 +0000 (16:27 +0000)]
[MSPAINT_NEW] Convert to C++, update header comments

svn path=/trunk/; revision=67600

8 years ago[MSPAINT_NEW] bootstrap mspaint_new from mspaint
Benedikt Freisen [Fri, 8 May 2015 16:02:36 +0000 (16:02 +0000)]
[MSPAINT_NEW] bootstrap mspaint_new from mspaint

svn path=/trunk/; revision=67599

8 years ago[FAST486]
Aleksandar Andrejevic [Fri, 8 May 2015 03:43:31 +0000 (03:43 +0000)]
[FAST486]
Fix the order of operatins in RETF.

svn path=/trunk/; revision=67598

8 years ago[FAST486]
Aleksandar Andrejevic [Fri, 8 May 2015 02:30:28 +0000 (02:30 +0000)]
[FAST486]
The "Call" parameter should be true for calls.

svn path=/trunk/; revision=67597

8 years ago[FAST486]
Aleksandar Andrejevic [Fri, 8 May 2015 01:34:18 +0000 (01:34 +0000)]
[FAST486]
Don't forget to check for gates in 16-bit protected mode too.

svn path=/trunk/; revision=67596

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Thu, 7 May 2015 23:54:47 +0000 (23:54 +0000)]
[NTVDM]
- Move some interrupt initialization where it belongs and activate few other ones.
- Initialize interruct vector for INT 2Ah (Network check) because some apps directly call it and crash if it contains NULL.

svn path=/trunk/; revision=67595

8 years ago[NTVDM]: Initialize only the interrupt vectors that we really need, and nothing else...
Hermès Bélusca-Maïto [Thu, 7 May 2015 23:11:32 +0000 (23:11 +0000)]
[NTVDM]: Initialize only the interrupt vectors that we really need, and nothing else. I also include a (by default disabled) option that activates extended debug features that may break some DOS apps (for example, initializing ALL of the non-handled interrupts to a default vector), to be used at your own risk.

svn path=/trunk/; revision=67594

8 years ago[FAST486]
Aleksandar Andrejevic [Thu, 7 May 2015 13:38:29 +0000 (13:38 +0000)]
[FAST486]
Support legacy (286) Task State Segments in Fast486InterruptInternal and Fast486CallGate.

svn path=/trunk/; revision=67593

8 years ago[FAST486]
Aleksandar Andrejevic [Thu, 7 May 2015 12:18:41 +0000 (12:18 +0000)]
[FAST486]
The NULL selector is valid in the LDT.

svn path=/trunk/; revision=67592

8 years ago[FAST486]
Aleksandar Andrejevic [Thu, 7 May 2015 03:22:18 +0000 (03:22 +0000)]
[FAST486]
Add support for legacy (286) Task State Segments.

svn path=/trunk/; revision=67591

8 years ago[NTVDM]: Update the console title only in non-standalone mode.
Hermès Bélusca-Maïto [Thu, 7 May 2015 01:44:29 +0000 (01:44 +0000)]
[NTVDM]: Update the console title only in non-standalone mode.

svn path=/trunk/; revision=67590

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Thu, 7 May 2015 01:23:33 +0000 (01:23 +0000)]
[NTVDM]
- Improvement/Usability: when a DOS app is started in a separate console, print its full path as it's done in Windows.
- Stubplement a LoadGlobalSettings function for NTVDM so that it will be able to grab user settings from the registry.
- Move DOS-only related variables AcceptCommands, CommandThread and SessionId to where they belong. I will rework ConsoleCtrlHandler to make it more elegant in the future (DOS-agnostic).
- Remove the useless ENTER-key-up hack.

svn path=/trunk/; revision=67589

8 years ago[NTVDM]
Aleksandar Andrejevic [Thu, 7 May 2015 00:53:47 +0000 (00:53 +0000)]
[NTVDM]
Fix the previous fix.

svn path=/trunk/; revision=67588

8 years ago[NTVDM]
Aleksandar Andrejevic [Thu, 7 May 2015 00:36:14 +0000 (00:36 +0000)]
[NTVDM]
Fix the calculation of the executable's base size.

svn path=/trunk/; revision=67587

8 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 23:13:55 +0000 (23:13 +0000)]
[NTVDM]
... and don't forget to set AH to the error code.

svn path=/trunk/; revision=67586

8 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 23:06:28 +0000 (23:06 +0000)]
[NTVDM]
Implement EMS function AH = 59h (Get Expanded Memory Hardware Information).

svn path=/trunk/; revision=67585

8 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 22:41:22 +0000 (22:41 +0000)]
[NTVDM]
- INT 21h AH = 0Ah: don't increment the count for a backspace.
- Fix the EMS version number.

svn path=/trunk/; revision=67584

8 years ago[EXPLORER]
David Quintana [Wed, 6 May 2015 22:13:06 +0000 (22:13 +0000)]
[EXPLORER]
Remove notification icons when their attached HWND is no longer valid. Patch by Joachim Henze (reactosfanboy), with some extra newlines by me.
CORE-9537 #resolve

svn path=/trunk/; revision=67583

8 years ago[NTVDM]: Move the DosStartProcess dprint inside the function.
Hermès Bélusca-Maïto [Wed, 6 May 2015 22:07:16 +0000 (22:07 +0000)]
[NTVDM]: Move the DosStartProcess dprint inside the function.

svn path=/trunk/; revision=67582

8 years ago[ATL]
Ged Murphy [Wed, 6 May 2015 21:56:24 +0000 (21:56 +0000)]
[ATL]
Add support for assigning CAtlString to WCHAR

svn path=/trunk/; revision=67581

8 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 21:56:15 +0000 (21:56 +0000)]
[NTVDM]
Try to find the shortened full path in DosLoadExecutable, and use that whenever
possible.

svn path=/trunk/; revision=67580

8 years ago[ATL]
Ged Murphy [Wed, 6 May 2015 21:31:40 +0000 (21:31 +0000)]
[ATL]
Add skeleton support for CAtlStringW

svn path=/trunk/; revision=67579

8 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 20:09:38 +0000 (20:09 +0000)]
[NTVDM]
The DOS CON driver shouldn't return DOS_DEVSTAT_BUSY while an extended
character can be read.

svn path=/trunk/; revision=67578