Commit graph

62823 commits

Author SHA1 Message Date
Amine Khaldi ef6a028073 [CMAKE] Disable treating warnings as errors in GCC release builds, at least until we get everything under control, for example CORE-7885.
svn path=/trunk/; revision=68153
2015-06-15 18:48:38 +00:00
Thomas Faber 4945778e7d [NTOS:CC]
- Properly stub CcCanIWrite, CcDeferWrite, CcFastCopyRead, CcFastCopyWrite
CORE-9624

svn path=/trunk/; revision=68152
2015-06-15 18:44:08 +00:00
Amine Khaldi 820f01a764 [NDK][NTDLL][PSAPI] Correct the the names of two LDR_DATA_TABLE_ENTRY fields. Brought to you by Mike Nordell aka tamlin. CORE-9817
svn path=/trunk/; revision=68151
2015-06-15 18:38:57 +00:00
Amine Khaldi 7a3b665ba3 [CMAKE] Add some FIXMEs so these won't be forgotten.
svn path=/trunk/; revision=68150
2015-06-15 17:45:24 +00:00
Amine Khaldi 2d7fe93b09 [CMAKE] Disable debug sections compression in GCC release builds.
svn path=/trunk/; revision=68149
2015-06-15 17:35:29 +00:00
Amine Khaldi 983d1bf043 [CMAKE] Disable debugging related GCC flags in release mode.
svn path=/trunk/; revision=68148
2015-06-15 17:26:04 +00:00
Amine Khaldi 74c80a51dd [CMAKE] Disable rossym for GCC release builds.
svn path=/trunk/; revision=68147
2015-06-15 16:43:11 +00:00
Daniel Reimer ad9dc105b0 [UDFS]
Use the same fix for the PIMAGE_NT_HEADERS32 redefinition which is bein used in uniata. Spotted by Thomas Faber

svn path=/trunk/; revision=68146
2015-06-15 11:59:49 +00:00
Daniel Reimer da7e2c1c32 [ARM arch]
PATCH: Get configure and host-tools building on arm again by Steven Edwards from dev-ml
+ adding Timo's portable sqrt variant to where it's needed to fix win32k build.
+ disabled the assert in sqrt.c for now.

svn path=/trunk/; revision=68145
2015-06-15 11:40:33 +00:00
Daniel Reimer 1b5231d4ed [UDFS]
Fix compilation for AMD64 and ARM.
- It's no good idea to use the x86 ASM optimizations on any architecture. Luckily Alter made plain C++ ones for that case, too. Thus modify the #ifdefs a bit to use em.
- Fix a few directly used functions instead of the defined architecture fixed ones of em.
- After some discussion with Thomas Faber the ULONG vs UINT32 problems were resolved by using the same platform defines for all three architectures.
BUILDS? yes WORKS? Trololololo ^^

svn path=/trunk/; revision=68144
2015-06-15 11:35:30 +00:00
Daniel Reimer 6d2d280649 [UDFS]
VC makefiles and their deps are not needed for us.

svn path=/trunk/; revision=68143
2015-06-15 01:35:25 +00:00
Pierre Schweitzer 3e7c3b4697 [NTOSKRNL]
Complete NtQuerySystemInformation - SystemNumaProcessorMap stub so that it is possible to query the highest node number (and only that!)

CORE-9680

svn path=/trunk/; revision=68142
2015-06-14 19:58:45 +00:00
Pierre Schweitzer 5ee87f9ad5 [NTOSKRNL]
Stub out NtSetSystemInformation - SystemLoadGdiDriverInSystemSpaceInformation
Stub out NtQuerySystemInformation - SystemNumaProcessorMap

svn path=/trunk/; revision=68141
2015-06-14 19:27:19 +00:00
Pierre Schweitzer 4bcdd47a49 [KERNEL32]
Fix stupidness, spotted by Thomas

svn path=/trunk/; revision=68140
2015-06-14 18:54:57 +00:00
Hermès Bélusca-Maïto 1011d89eaa [TOOLS]
Improve bin2c by saving in a #define the size of the generated array, and specify this size in the declaration of the array so that doing sizeof(...) becomes possible. Use "unsigned char" as the (portable) type of the contents of the array.

[HAL]
Add PCHAR casts where needed to take into account the previous modifications.

svn path=/trunk/; revision=68139
2015-06-14 18:13:50 +00:00
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