Commit graph

62264 commits

Author SHA1 Message Date
Amine Khaldi 3b59131ee6 [NOTEPAD] Apply Wine commit 80cf194 by Francois Gouget: Remove the unimplemented help search menu. CORE-9371
* The previous commit (r67679) was from Francois Gouget too. Apologies.

svn path=/trunk/; revision=67680
2015-05-12 10:27:25 +00:00
Amine Khaldi 17390e9975 [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
2015-05-12 10:22:20 +00:00
Amine Khaldi b2e5b85696 [NOTEPAD] Apply Wine commit 276306e by Alexandre Julliard: Don't offer vertical fonts in the font dialog. CORE-9371
svn path=/trunk/; revision=67678
2015-05-12 10:13:32 +00:00
Amine Khaldi 6a731923f3 [NOTEPAD] Apply Wine commit dc8b11e by Frédéric Delanoy: Use BOOL type where appropriate. CORE-9371
svn path=/trunk/; revision=67677
2015-05-12 10:11:31 +00:00
Aleksandar Andrejevic 5f2e9eb893 [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
2015-05-12 03:47:10 +00:00
Aleksandar Andrejevic 367a28ce87 [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
2015-05-12 03:37:00 +00:00
Aleksandar Andrejevic c0e9ec7940 [FAST486]
The default segment is SS when the SIB base is EBP.


svn path=/trunk/; revision=67674
2015-05-12 02:47:59 +00:00
Aleksandar Andrejevic c2725fbadb [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
2015-05-11 23:56:15 +00:00
Hermès Bélusca-Maïto 5e85a378c0 Revert a change that should never have been done.
svn path=/trunk/; revision=67672
2015-05-11 23:10:00 +00:00
Hermès Bélusca-Maïto 16d08be7b0 [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
2015-05-11 23:04:24 +00:00
Pierre Schweitzer 7f03ff50e9 [NTFS]
Handle IRP_MJ_DEVICE_CONTROL with the dispatch routine

svn path=/trunk/; revision=67670
2015-05-11 21:11:48 +00:00
Aleksandar Andrejevic 07a731ed1c [FAST486]
Duplicate prefixes don't generate #UD. Multiple segment overrides
override each other, and so do REP and REPNZ.


svn path=/trunk/; revision=67669
2015-05-11 18:49:10 +00:00
Amine Khaldi 8d53d6c2bd [PSDK] Bring lmserver.h a bit into our formatting. NFC.
svn path=/trunk/; revision=67668
2015-05-11 17:27:08 +00:00
Amine Khaldi 4e7c96a96e [CDROM_NEW] Fix MSVC build.
svn path=/trunk/; revision=67667
2015-05-11 17:23:38 +00:00
Thomas Faber 442e80cb84 [PSDK]
- Add __field_bcount_full
- Add a stub definition for __deref_out_range

svn path=/trunk/; revision=67666
2015-05-11 16:15:18 +00:00
Thomas Faber 1e20486956 [DDK]
- Add NTSTRSAFE_UNICODE_STRING_MAX_CCH

svn path=/trunk/; revision=67664
2015-05-11 14:09:02 +00:00
Amine Khaldi 0c5434f36d [WS2_32] Apply Wine commit 51e7732 by Piotr Caban: Fix ai_canonname buffer allocation in addrinfo_AtoW.
svn path=/trunk/; revision=67663
2015-05-11 13:43:37 +00:00
Amine Khaldi eacecfd85e [WTSAPI32_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67661
2015-05-11 12:58:10 +00:00
Amine Khaldi 4f5bd9b360 [WTSAPI32] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67660
2015-05-11 12:55:05 +00:00
Amine Khaldi 02b3db07d5 [PSDK] Add missing WTS_CURRENT_SERVER_HANDLE definition.
svn path=/trunk/; revision=67659
2015-05-11 12:52:08 +00:00
Amine Khaldi a9b4645a46 [WINTRUST_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67658
2015-05-11 12:51:23 +00:00
Amine Khaldi bf967c9470 [WINTRUST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67657
2015-05-11 12:51:01 +00:00
Amine Khaldi f3b6069ebd [WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67656
2015-05-11 12:50:02 +00:00
Amine Khaldi cc67cfede3 [WINDOWSCODECS] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67655
2015-05-11 12:49:42 +00:00
Amine Khaldi 037f0d351f [XCOPY] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67654
2015-05-11 12:47:54 +00:00
Thomas Faber 059e72b8c3 [CRT]
- Add missing __INTRIN_INLINE for x64 intrinsics

svn path=/trunk/; revision=67653
2015-05-11 12:27:54 +00:00
Thomas Faber 4b07b445ac [CRT]
- Fix some x64 GCC intrinsics

svn path=/trunk/; revision=67652
2015-05-11 12:10:19 +00:00
Aleksandar Andrejevic 6fb47e311b [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
2015-05-11 03:36:02 +00:00
Aleksandar Andrejevic c7f19ff4c0 [FAST486]
In HLT, check the CPL and not CS.DPL.


svn path=/trunk/; revision=67650
2015-05-11 03:31:04 +00:00
Aleksandar Andrejevic e4960b02d3 [NTVDM]
Move various private DOS variables into the Swappable Data Area.
It's still mostly unused though.


svn path=/trunk/; revision=67649
2015-05-11 02:54:46 +00:00
Aleksandar Andrejevic f1bf14da62 [FAST486]
Don't perform privilege checks while reading the IDT, GDT or TSS.


svn path=/trunk/; revision=67648
2015-05-11 02:49:25 +00:00
Aleksandar Andrejevic ee08940855 [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
2015-05-10 23:50:33 +00:00
Aleksandar Andrejevic 45b03b53d3 [FAST486]
Don't check for gates in virtual 8086 mode.


svn path=/trunk/; revision=67646
2015-05-10 22:54:15 +00:00
Aleksandar Andrejevic ed774c797b [FAST486]
- Fix VM86-related stuff.
- Optimize MOV.


svn path=/trunk/; revision=67645
2015-05-10 21:59:07 +00:00
Pierre Schweitzer 4daee24f06 [NTFS]
Don't call MmGetSystemAddressForMdl()

svn path=/trunk/; revision=67644
2015-05-10 21:24:51 +00:00
Timo Kreuzer acfb380603 [RTL]
Implement DbgUserBreakPoint and DbgBreakPointWithStatus on ARM

svn path=/trunk/; revision=67643
2015-05-10 21:05:01 +00:00
Timo Kreuzer c7e9f9e06c [CRT]
Implement __rt_srsh

svn path=/trunk/; revision=67642
2015-05-10 21:04:48 +00:00
Timo Kreuzer 70ff0e774d [CRT/RTL/NTOSKRNL]
Add new ARM files to build and improve the stubs a bit

svn path=/trunk/; revision=67641
2015-05-10 21:04:27 +00:00
Timo Kreuzer 9fbce543e9 [ASM]
- Make syscalls ARM compatible

svn path=/trunk/; revision=67640
2015-05-10 21:03:53 +00:00
Timo Kreuzer 89ee675f59 [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
2015-05-10 21:03:33 +00:00
Timo Kreuzer 7c09970347 [ASM]
Update templates for asm include generation

svn path=/trunk/; revision=67638
2015-05-10 21:03:09 +00:00
Timo Kreuzer d6c154bc77 [CRT]
- Add _JUMP_BUFFER for ARM
- On ARM there are no underscore prefixes

svn path=/trunk/; revision=67637
2015-05-10 21:02:53 +00:00
Pierre Schweitzer 07f38d007d [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
2015-05-10 20:56:48 +00:00
Pierre Schweitzer 0c5f4d92cd [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
2015-05-10 20:47:44 +00:00
Pierre Schweitzer edef9fdfae [NTFS]
Handle IRP_MJ_READ with the dispatch routine

svn path=/trunk/; revision=67634
2015-05-10 20:35:40 +00:00
Timo Kreuzer 241a326520 [NTOSKRNL/MM]
Add MI_MAKE_CLEAN_PAGE
Use PTE access macros for portability

svn path=/trunk/; revision=67633
2015-05-10 19:35:24 +00:00
Timo Kreuzer 73e043f5b5 [NTOSKRNL]
- Fix MMPTE vs MMPDE usage
- Use MiPteToPde instead of MiAddressToPte

svn path=/trunk/; revision=67632
2015-05-10 19:35:00 +00:00
Timo Kreuzer c74c888770 [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
2015-05-10 19:34:38 +00:00
Timo Kreuzer 840af6fcb3 [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
2015-05-10 19:33:56 +00:00
Hermès Bélusca-Maïto d60f8dcc0a [NTVDM]: Implement support for DMA transfers, single-mode only for now, and fix its support for VDDs.
svn path=/trunk/; revision=67629
2015-05-10 18:02:45 +00:00