Commit graph

62558 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 2893d3c4ad [NTVDM]: Allocate a dedicated block of memory for the mouse driver, in which we write all the needed info (instead of putting them in the BIOS space). The INT32 stubs go in this region, too.
svn path=/trunk/; revision=68138
2015-06-14 16:40:45 +00:00
Pierre Schweitzer a4ff3c9e3f [KERNEL32]
Addendum to r68136: use appropriate define.
Spotted by Thomas

svn path=/trunk/; revision=68137
2015-06-14 16:00:27 +00:00
Pierre Schweitzer 0680a926e0 [KERNEL32]
Implement GetNumaHighestNodeNumber()
Implement GetNumaNodeProcessorMask()
Implement GetNumaProcessorNode()
Implement GetNumaAvailableMemoryNode()

They won't work yet though, given that the kernel mode counterpart is still unimplemented.

CORE-9680

svn path=/trunk/; revision=68136
2015-06-14 15:52:28 +00:00
Pierre Schweitzer b0cffa2e64 [NDK]
Add definition for SYSTEM_NUMA_INFORMATION

Source: http://fy5388.blog.163.com/blog/static/564995372009112711571197/

svn path=/trunk/; revision=68135
2015-06-14 15:49:39 +00:00
Hermès Bélusca-Maïto 64a8bbf00f [NTVDM]
- Stubplement the font generator functions for text-mode.
- Store in plane 2+ the font ONLY in text mode (guilty r68085). Fixes spurious graphics corruption in gfx modes.
CORE-9791
CORE-9794 #resolve #comment Should be fixed in r68134.

svn path=/trunk/; revision=68134
2015-06-14 15:35:38 +00:00
Thomas Faber be73844e6c [MC]
- Add missing status codes STATUS_SMARTCARD_CERT_EXPIRED through STATUS_NO_S4U_PROT_SUPPORT.
CORE-8373

svn path=/trunk/; revision=68133
2015-06-14 11:19:02 +00:00
Thomas Faber 9c0c299bb9 [MSAFD]
- Fix error mapping for STATUS_INVALID_CONNECTION
CORE-9810 CORE-9807 #resolve

svn path=/trunk/; revision=68132
2015-06-14 08:03:15 +00:00
Thomas Faber e2985287b0 [AFD]
- Immediately finish a zero-length request in TdiSendDatagram. This may not be completely correct (should possibly get forwarded to tcpip instead) but is better than asserting.
CORE-9810

svn path=/trunk/; revision=68131
2015-06-14 07:58:58 +00:00
Thomas Faber 9df20e14a3 [AFD]
- Don't leave the IRP queued if TdiSendDatagram does not perform its downcall. Complete it instead.
CORE-9810

svn path=/trunk/; revision=68130
2015-06-14 07:54:19 +00:00
Thomas Faber b5c2e0b0d1 [AFD]
- Fail sends on sockets that are not connected in AfdConnectedSocketWriteData
CORE-9810

svn path=/trunk/; revision=68129
2015-06-14 07:48:28 +00:00
Thomas Faber b5319f8a97 [PSDK]
- Add STATUS_INVALID_SIGNATURE through STATUS_PROTOCOL_NOT_SUPPORTED

svn path=/trunk/; revision=68128
2015-06-14 07:44:06 +00:00
Aleksandar Andrejevic 7d7bef9d4a [NTOS|MM]
Addendum to 68126. The loader should return STATUS_INVALID_IMAGE_PROTECT
if e_lfanew is 0, or if the DOS stub appears too large due to a bad
e_lfanew. (Note: All plain MZ executables have an invalid e_lfanew)


svn path=/trunk/; revision=68127
2015-06-14 04:07:11 +00:00
Aleksandar Andrejevic 5c16c47c54 [NTOS|MM]
Return STATUS_INVALID_IMAGE_PROTECT if the NT header can't be read from the file.


svn path=/trunk/; revision=68126
2015-06-14 01:37:56 +00:00
Aleksandar Andrejevic cecde584e8 [FAST486]
FPU exceptions are delayed until the next non-control FPU instruction.


svn path=/trunk/; revision=68125
2015-06-13 23:12:55 +00:00
Eric Kohl 84d963d77a [USETUP]
AssignDriveLetters: Fix the code that assigns drive letters to logical partitions.

svn path=/trunk/; revision=68124
2015-06-13 23:11:57 +00:00
Timo Kreuzer 0dfd2330e2 [NTOSKRNL]
- Set VadType = VadImageMap for image section mappings
- Rewrite MmGetFileNameForAddress and NtAreMappedFilesTheSame. Take into account that the first address must be an image section mapping
- Fixes a few kernel32_winetest:virtual tests
CORE-9736 #resolve

svn path=/trunk/; revision=68123
2015-06-13 19:18:25 +00:00
Eric Kohl 1d240a84ee [USETUP]
Allocate a disk layout buffer that is large enough to keep all partitions of the disk.

CORE-5818 resolve

svn path=/trunk/; revision=68122
2015-06-13 12:46:42 +00:00
Thomas Faber 09b36e8cd5 [AFD]
- Probe for read access only in TdiSend/TdiSendDatagram
CORE-9807 resolve

svn path=/trunk/; revision=68121
2015-06-13 12:30:33 +00:00
Thomas Faber d555f45389 [WS2_32_APITEST]
- Add a test for send/sendto with a read-only buffer
CORE-9807

svn path=/trunk/; revision=68120
2015-06-13 12:29:07 +00:00
Amine Khaldi cbfd0d8498 [SERVMAN] Use a glob mechanism as resource files lists do not change often. CORE-9806
svn path=/trunk/; revision=68119
2015-06-13 11:41:32 +00:00
Amine Khaldi 3ca11592cc [SERVMAN] Properly track resource file dependencies. CORE-9806
svn path=/trunk/; revision=68118
2015-06-13 11:12:48 +00:00
Amine Khaldi 1b969c0a85 [CMAKE] Introduce add_rc_deps() to take care of adding OBJECT_DEPENDS to rc source files. CORE-9806
svn path=/trunk/; revision=68117
2015-06-13 11:05:03 +00:00
Amine Khaldi fcbc8f277a [USER32][UXTHEME] Properly paint the general menubar when application is themed. Brought to you by Stefano Toncich aka Tonix. CORE-9585
svn path=/trunk/; revision=68116
2015-06-13 11:00:24 +00:00
Eric Kohl be9ea7e123 [USETUP]
Get rid of CheckForLinuxFdiskPartitions.

svn path=/trunk/; revision=68115
2015-06-13 10:08:36 +00:00
Daniel Reimer e93ccca737 [USETUP]
Update german language header.

svn path=/trunk/; revision=68114
2015-06-12 23:37:41 +00:00
Eric Kohl 063de8230b [USETUP]
Mark a disk as clean after the partition table has been written to the disk.

svn path=/trunk/; revision=68113
2015-06-12 22:56:36 +00:00
Eric Kohl 76e910579c [USETUP]
- Implement mandatory filesystem selection, formatting and filesystem checks for all new partitons.
- Implement optional filesystem selection, formatting and filesystem checks for formatted boot and install partitions.
- Enable installing ReactOS on primary partitions other than the first one. Usetup will install Freeloader on the first (or active) partition (aka boot partition) and install ReactOS on the chosen partition (aka install partition).

svn path=/trunk/; revision=68112
2015-06-12 21:51:57 +00:00
Amine Khaldi 55ee8217db [COMCTL32][EXPLORER][UXTHEME] Properly draw the taskbar rebar when themes are enabled. Brought to you by Stefano Toncich aka Tonix. CORE-8901
svn path=/trunk/; revision=68111
2015-06-12 19:11:48 +00:00
Aleksandar Andrejevic 70a31e656a [NTVDM]
Make fast memory hooks FASTCALL.
Only register the VGA memory hook for the region that needs to be hooked.


svn path=/trunk/; revision=68110
2015-06-12 16:25:23 +00:00
Aleksandar Andrejevic c063145e96 [FAST486][NTVDM]
Use FASTCALL instead of NTAPI. Merge EmulatorReadMemory with MemRead and
EmulatorWriteMemory with MemWrite.


svn path=/trunk/; revision=68109
2015-06-12 03:30:40 +00:00
Hermès Bélusca-Maïto 845fdcac41 [NTVDM]: The DOS session ID specified in the NTVDM command line is in hexadecimal format (and not decimal!). Fixes NTVDM start with double-click after 9-10 launches, on ROS and Windows.
svn path=/trunk/; revision=68108
2015-06-12 01:19:19 +00:00
Aleksandar Andrejevic 4269196da9 [FAST486]
The VM flag must be cleared before loading the new stack segment on a return
from v86 mode.


svn path=/trunk/; revision=68107
2015-06-11 21:52:46 +00:00
Pierre Schweitzer ad577755ca [NTFS]
- Use a lookaside list for FCB allocation
- Properly delete FCB in NtfsMountVolume()

svn path=/trunk/; revision=68106
2015-06-11 20:54:01 +00:00
Christoph von Wittich 658c64a7fe [HAL]
replace ' laH' by TAG_HAL

svn path=/trunk/; revision=68105
2015-06-11 18:38:52 +00:00
Daniel Reimer 67e8c26969 [DEVMGR]
Replace all E/A (German Eingabe/Ausgabe) -> I/O (Input/Output) EXCEPT in the german RC file.

svn path=/trunk/; revision=68103
2015-06-10 21:45:45 +00:00
Daniel Reimer 3aa5d0fc69 [GDI32]
[USER32]
Fix release build.

svn path=/trunk/; revision=68102
2015-06-10 12:04:51 +00:00
Daniel Reimer 971503da5d [ROSHTTPD]
Fix release build

svn path=/trunk/; revision=68101
2015-06-10 12:01:01 +00:00
Amine Khaldi b6f88d3326 [USETUP] 1024 * 1024 is 1048576 not 1048756. Spotted by Mike Nordell aka tamlin. CORE-9792
svn path=/trunk/; revision=68100
2015-06-10 09:56:48 +00:00
Hermès Bélusca-Maïto 3e0d421012 [NTVDM]
- Some INT --> UINT fixes.
- Fix the third value of MemorySizes according to the specification, confirmed by Aleksander.

svn path=/trunk/; revision=68099
2015-06-10 01:30:30 +00:00
Amine Khaldi 3ea683ba53 [SYSSETUP][UNATTENDED] Add a way to disable Gecko install. Brought to you by V.
svn path=/trunk/; revision=68098
2015-06-09 23:20:33 +00:00
Amine Khaldi f52d4e3c8d [RAPPS] Missed this bit.
svn path=/trunk/; revision=68097
2015-06-09 22:51:50 +00:00
Amine Khaldi 6a8943cf42 [RAPPS] Fix the fact that the rapps download dialog uses the 32pixel icon for the download window. By Ismael Ferreras Morezuelas (IRC name swyter). CORE-9750
svn path=/trunk/; revision=68096
2015-06-09 22:49:12 +00:00
Aleksandar Andrejevic f3c5b91037 [NTVDM]
Implement cycle-based timing for VGA.


svn path=/trunk/; revision=68095
2015-06-09 19:22:52 +00:00
Christoph von Wittich d4365a1beb [WIN32K]
fix some file headers and typos

svn path=/trunk/; revision=68094
2015-06-09 17:43:00 +00:00
Daniel Reimer 5765e6951a [TRANSLATIONS]
Add/Update Chinese (zh-CN) translation by Henry Tang Ih
CORE-9003 #comment V5 patch committed, thx ^^

svn path=/trunk/; revision=68093
2015-06-09 16:21:25 +00:00
Daniel Reimer f4e66ec3af [rapps]
Add zh-CN translation in RAPPS by Henry Tang Ih
CORE-9554 #resolve #comment Committed v4 and v5. Thx ^^

svn path=/trunk/; revision=68092
2015-06-09 16:12:17 +00:00
Aleksandar Andrejevic a9a14ab22b [NTVDM]
Properly clear the video memory when switching to a different mode.


svn path=/trunk/; revision=68091
2015-06-09 14:48:30 +00:00
Aleksandar Andrejevic e730ef4e7d [NTVDM]
Adjust Bda->ScreenColumns in graphics modes. Fix line wrapping.


svn path=/trunk/; revision=68090
2015-06-09 14:00:43 +00:00
Hermès Bélusca-Maïto d15ab1916a [NTVDM]: Fix INT 10h, AH=09h/0Ah by correctly advancing the write position (but scrolling is not supported in those functions), and make VidBiosDrawGlyph support using or not the attribute byte (for text modes only).
svn path=/trunk/; revision=68088
2015-06-09 12:47:58 +00:00
Amine Khaldi 07d842f6c6 [UDFS] Fix all GCC warnings! By V. with one little change by me to keep MSVC build working :)
svn path=/trunk/; revision=68087
2015-06-09 10:40:26 +00:00