Christoph von Wittich [Sun, 2 Jan 2011 14:21:47 +0000 (14:21 +0000)]
[PSDK]
sync urlmon.idl with wine 1.3.10
svn path=/trunk/; revision=50261
Timo Kreuzer [Sun, 2 Jan 2011 13:05:51 +0000 (13:05 +0000)]
[WIN32K]
Improve LDEVOBJ_bLoadImage, use ExportSectionPointer from the GdiDriverInfo structure instead of calling RtlImageDirectoryEntryToData
svn path=/trunk/; revision=50260
Aleksey Bragin [Sun, 2 Jan 2011 09:30:24 +0000 (09:30 +0000)]
[NTOS]
- Temporary bring back the old boot image until I or sir_richard commit a proper fix.
svn path=/trunk/; revision=50259
Johannes Anderwald [Sat, 1 Jan 2011 21:34:17 +0000 (21:34 +0000)]
[NETCFGX]
- Fix case where there is only one static dns server set
svn path=/trunk/; revision=50258
Johannes Anderwald [Sat, 1 Jan 2011 21:13:07 +0000 (21:13 +0000)]
[IPHLPAPI]
- Rewrite name server enumeration routines
- Check if static dns entries are present before checking for dynamic dns entries
- Fixes static dns entries
[NETCFGX]
- GetPerAdapterInfo requires IP_PER_ADAPTER_INFO struct
- Fix reading static dns entries
- Delete static name server key, when changing dns servers to automatic (dhcp)
- Don't delete DhcpNameServer key yet, as more interaction is needed with dhcp service when changing from static dns to dynamic dhcp
- Should finally fix static dns when dhcp is active
svn path=/trunk/; revision=50257
Sir Richard [Sat, 1 Jan 2011 18:15:25 +0000 (18:15 +0000)]
[VIDEOPRT/WIN32K]: Synchronize and share PEVENT/ENG_EVENT/VIDEO_PORT_EVENT implementation, as these objects are actually the same (and VideoPrt Event* APIs can be used on GRE Event Objects). Use ENG_EVENT structure from ntddvdeo.h instead of re-creating our own. Drivers using these interfaces will no longer explode.
[VIDEOPRT]: Add parameter checks to DeleteEvent and WaitForSingleObject.
[VIDEOPRT]: Fix WaitForSingleObject. It was waiting on the Object paramter itself -- which is the VideoPrt/ENG Event, not a real object, we have to wait on ->pKEvent instead.
[VIDEOPRT]: Fix WaitForSingleObject round two, it was returning the NT_STATUS, while VideoPrt should return VP_STATUS/Win32 error codes.
[WIN32K]: Allocate/free GRE events directly from pool, instead of using Eng APIs. Use documented tag for GRE Events (Dfsm), found in pooltag.txt
[WIN32K]: Implement EngMapEvent and EngUnmapEvent.
svn path=/trunk/; revision=50256
Colin Finck [Sat, 1 Jan 2011 15:54:31 +0000 (15:54 +0000)]
Proper fix for r50248 ;-)
Happy New Year from my side as well!
svn path=/trunk/; revision=50254
Timo Kreuzer [Sat, 1 Jan 2011 13:50:07 +0000 (13:50 +0000)]
[CRT]
Fix bugs in new printf implementation: use buffer size in _snprintf and check for the right failure return value of streamout_char.
svn path=/trunk/; revision=50251
Eric Kohl [Sat, 1 Jan 2011 12:40:24 +0000 (12:40 +0000)]
[NPFS]
- Add NpfsDirectoryControl routine in order to enumerate pipes.
- Use NpfsGetFcb and NpfsGetCcb to retrieve the FCB or CCB and use SEH to protect these routines.
svn path=/trunk/; revision=50250
Michael Martin [Sat, 1 Jan 2011 12:20:19 +0000 (12:20 +0000)]
[usb/usbehci]:
- Remove all hardware related routines from fdo.c as they are now in hardware.c
- Replace ExecuteControlRequest with new SubmitControlTransfer.
- For internal control requests (originating from ehci driver) use an event to signal request completion.
- When submitting non internal control request save the Irp in the software part of the QueueHead.
For these requests check for errors and complete the Irp with the appropriate URB Status when the QueueHead is complete.
- Misc code cleanup and dead code removal.
- UsbEhci now works as before and should be ready for some forward progress.
svn path=/trunk/; revision=50249
Aleksey Bragin [Fri, 31 Dec 2010 23:06:19 +0000 (23:06 +0000)]
Happy New Year!
Dear ReactOS team, you're the best.
svn path=/trunk/; revision=50248
James Tabor [Fri, 31 Dec 2010 21:10:29 +0000 (21:10 +0000)]
[User32]
- Start creeping in more Left to Right support, readying up for the next wine User32 controls port and test sync. Code is based on wine, credit them for any breakages. 8^P Our positions are off by 103 x 122 in some test cases, anyone having an idea please chime in.
svn path=/trunk/; revision=50247
Roel Messiant [Fri, 31 Dec 2010 16:27:01 +0000 (16:27 +0000)]
[UMPNPMGR]
- Start using XP- and Vista-compatible pipe names for the RPC endpoint. Kick out the ROS-specific \pipe\umpnpmgr one.
- Use only the Vista pipe name for now, using the XP one makes device installation fail..
- Use the correct PNP interface UUID
[SETUPAPI]
- Bind to the PNP service using the Vista-compatible pipe.
svn path=/trunk/; revision=50242
Michael Martin [Fri, 31 Dec 2010 12:26:12 +0000 (12:26 +0000)]
[usb/usbehci]:
- Remove all hardware related structs from usbehci.h as they are now in hardware.h.
- Add debugging routines for usb descriptors, queue heads and transfer descriptors.
- This will break building usbehci, but not a problem as it is not included in the default build. Will be fixed with later commit.
svn path=/trunk/; revision=50231
Michael Martin [Fri, 31 Dec 2010 12:01:21 +0000 (12:01 +0000)]
[usb/usbehci]:
- Implement creating and deleting Queue Heads and Transfer Descriptors from common buffer.
- Implement linking/unlinking QueueHeads to create a linked list for Asynchronous Schedule traversal.
- Implement BuildSetupPacketFromURB for creating a setup packet from a URB.
- Implement SubmitControlTransfer.
svn path=/trunk/; revision=50230
James Tabor [Fri, 31 Dec 2010 04:43:35 +0000 (04:43 +0000)]
[Win32k|User32]
- Add hack to mark desktop window as a desktop window and notes for creating a desktop with tips in win32k. Move user position code from window to winpos.
svn path=/trunk/; revision=50229
Sylvain Petreolle [Thu, 30 Dec 2010 22:17:33 +0000 (22:17 +0000)]
[CMAKE]
Add all winetests to bootcd, thanks to unix find :)
svn path=/trunk/; revision=50228
Sylvain Petreolle [Thu, 30 Dec 2010 21:49:36 +0000 (21:49 +0000)]
[CMAKE]
Add rosautotest and kernel32_winetest to bootcdregtest.
cmake bootcdregtest lives.
svn path=/trunk/; revision=50227
Amine Khaldi [Thu, 30 Dec 2010 17:58:18 +0000 (17:58 +0000)]
[CMAKE]
- Wine lib isn't needed for rosautotest.
svn path=/trunk/; revision=50226
Amine Khaldi [Thu, 30 Dec 2010 17:55:25 +0000 (17:55 +0000)]
[CMAKE]
- Update oleaut32 winetest.
- Add rosautotest to build.
svn path=/trunk/; revision=50225
Michael Martin [Thu, 30 Dec 2010 15:12:46 +0000 (15:12 +0000)]
[usb/usbehci]:
- Reorganization code to put hardware related structures and routines in own source files.
- Modify ResetPort to correctly reset the port instead of the controller.
- Implement allocating chunks of memory from the Common Buffer for use with the rest of source code.
svn path=/trunk/; revision=50223
James Tabor [Thu, 30 Dec 2010 05:56:50 +0000 (05:56 +0000)]
- Fix copy paste error, which means this code is not used, should have pop up during testing.
svn path=/trunk/; revision=50222
James Tabor [Thu, 30 Dec 2010 05:52:06 +0000 (05:52 +0000)]
[Win32k|User32]
- Fix most of the user32 wine win test_mdi tests. Leaving 6 failures dealing with rect size. Start A2U and U2A support.
svn path=/trunk/; revision=50221
James Tabor [Thu, 30 Dec 2010 03:03:45 +0000 (03:03 +0000)]
[Win32k]
- NtUserSetWindowFNID, sets user client side window function Ids, expands to ghost.
svn path=/trunk/; revision=50220
James Tabor [Thu, 30 Dec 2010 02:32:50 +0000 (02:32 +0000)]
[User32]
- Controls: Set fnids for the user client controls.
svn path=/trunk/; revision=50219
James Tabor [Thu, 30 Dec 2010 00:59:10 +0000 (00:59 +0000)]
[Win32k|User32]
- Fix mdi class window function Id, now msi message tests do not assert.
svn path=/trunk/; revision=50218
Sylvain Petreolle [Wed, 29 Dec 2010 16:12:56 +0000 (16:12 +0000)]
[CMAKE]
Fix rpcrt4_winetest build.
svn path=/trunk/; revision=50214
Aleksey Bragin [Wed, 29 Dec 2010 11:12:17 +0000 (11:12 +0000)]
[NTOS]
- Greatly simplify and fix the incorrect and overcomplicated if condition in IoIsOperationSynchronous(), based on MSDN description. Bug spotted, fix tested by Pierre.
svn path=/trunk/; revision=50210
James Tabor [Wed, 29 Dec 2010 08:17:54 +0000 (08:17 +0000)]
[User32]
- Fix most of the user32 wine win test_mdi tests. Leaving 30 failures dealing with rect size, Class and Title names.
svn path=/trunk/; revision=50208
James Tabor [Wed, 29 Dec 2010 04:52:06 +0000 (04:52 +0000)]
- Update note after 50205.
svn path=/trunk/; revision=50206
James Tabor [Wed, 29 Dec 2010 04:43:51 +0000 (04:43 +0000)]
[Win32k]
- Fix all the user32 wine win test_enum_thread_windows tests.
svn path=/trunk/; revision=50205
Pierre Schweitzer [Tue, 28 Dec 2010 21:40:23 +0000 (21:40 +0000)]
[NTOSKRNL]
Fix typo ~
svn path=/trunk/; revision=50204
Pierre Schweitzer [Tue, 28 Dec 2010 21:34:54 +0000 (21:34 +0000)]
[NTOSKRNL]
Hoovering part 2...
svn path=/trunk/; revision=50203
Pierre Schweitzer [Tue, 28 Dec 2010 21:12:51 +0000 (21:12 +0000)]
[NTOSKRNL]
Plumber work part 1. To prevent leaks
svn path=/trunk/; revision=50202
Pierre Schweitzer [Tue, 28 Dec 2010 20:59:24 +0000 (20:59 +0000)]
[NTOSKRNL]
Hoover a bit in CC part 1. Should make MM happier.
But MS fastfat driver not yet
svn path=/trunk/; revision=50201
Timo Kreuzer [Tue, 28 Dec 2010 18:20:28 +0000 (18:20 +0000)]
[DRIVERS]
Add missing breaks. Patch by Samuel Serapion.
svn path=/trunk/; revision=50197
Pierre Schweitzer [Tue, 28 Dec 2010 14:49:53 +0000 (14:49 +0000)]
[NTOSKRNL]
Apply consistent formatting to CcMapData
svn path=/trunk/; revision=50190
James Tabor [Tue, 28 Dec 2010 10:38:38 +0000 (10:38 +0000)]
[Win32k]
- Fix all the user32 wine win test_CreateWindow tests.
svn path=/trunk/; revision=50185
James Tabor [Tue, 28 Dec 2010 10:03:07 +0000 (10:03 +0000)]
[User32]
- Fix all the user32 wine win test_parent_owner tests.
svn path=/trunk/; revision=50183
James Tabor [Tue, 28 Dec 2010 07:22:42 +0000 (07:22 +0000)]
[Win32k|User32]
- Fix all the user32 wine win test_SetParent tests.
svn path=/trunk/; revision=50181
Aleksey Bragin [Mon, 27 Dec 2010 22:02:11 +0000 (22:02 +0000)]
[FASTFAT_NEW]
- Don't use same name for a local boolean var and global enum. Spotted by Pierre.
svn path=/trunk/; revision=50175
Pierre Schweitzer [Mon, 27 Dec 2010 21:38:40 +0000 (21:38 +0000)]
[FASTFAT]
Remove unused vars ~
svn path=/trunk/; revision=50173
Aleksey Bragin [Mon, 27 Dec 2010 18:14:24 +0000 (18:14 +0000)]
[FASTFAT_NEW]
- Some fixes to the previous commit.
svn path=/trunk/; revision=50168
Pierre Schweitzer [Mon, 27 Dec 2010 18:11:35 +0000 (18:11 +0000)]
[FASTFAT]
MagicValue--;
ThanksTo(James, Amine);
/* EOF */
svn path=/trunk/; revision=50167
Timo Kreuzer [Mon, 27 Dec 2010 17:55:53 +0000 (17:55 +0000)]
[PSEH]
Allow configuration of native SEH vs PSEH vs dummy PSEH with macro definitions (USE_NATIVE_SEH, USE_DUMMY_PSEH)
svn path=/trunk/; revision=50166
Amine Khaldi [Mon, 27 Dec 2010 17:51:08 +0000 (17:51 +0000)]
[CRT]
- Add missing _A_VOLID definition.
svn path=/trunk/; revision=50165
Aleksey Bragin [Mon, 27 Dec 2010 16:49:21 +0000 (16:49 +0000)]
[FASTFAT_NEW]
- Substantially improve FatiCreate routine, to handle previously unhandled cases, fix wrong code structure in some places, add a stub for further implementation of a new file creation branch.
- Hackskip setting delay-on-close for a file for now (with a debug print reminder!)
svn path=/trunk/; revision=50164
Jérôme Gardou [Mon, 27 Dec 2010 16:23:59 +0000 (16:23 +0000)]
[GDI32]
- Consistent formatting, no code change.
svn path=/trunk/; revision=50163
Aleksey Bragin [Mon, 27 Dec 2010 15:32:47 +0000 (15:32 +0000)]
[PSDK]
- Add missing definitions.
svn path=/trunk/; revision=50161
Christoph von Wittich [Mon, 27 Dec 2010 12:45:03 +0000 (12:45 +0000)]
[CRT]
import strtoi64 from wine 1.3.10
svn path=/trunk/; revision=50159
Roel Messiant [Mon, 27 Dec 2010 10:15:36 +0000 (10:15 +0000)]
[SCSIPORT]
- ScsiPortDeviceControl: Slight improvement to buffer length validation. Return failure status on a handful of failure cases. Prevents buffer overruns in user code.
svn path=/trunk/; revision=50158
Christoph von Wittich [Mon, 27 Dec 2010 09:54:01 +0000 (09:54 +0000)]
[FUSION]
use crt="msvcrt" instead of <library>msvcrt</library>
svn path=/trunk/; revision=50157
Christoph von Wittich [Mon, 27 Dec 2010 09:50:02 +0000 (09:50 +0000)]
[FUSION]
sync to wine 1.3.10
svn path=/trunk/; revision=50156
Timo Kreuzer [Mon, 27 Dec 2010 09:18:00 +0000 (09:18 +0000)]
[NSLOOKUP]
Use memcpy with sizeof instead of strncpy with strlen to make sure the destination string will be zero terminated.
CID 1649
svn path=/trunk/; revision=50155
James Tabor [Mon, 27 Dec 2010 09:08:01 +0000 (09:08 +0000)]
[Win32k]
- Use SendNotifyMessage for broadcasting these messages and SendMessageNoWait when not broadcasting.
svn path=/trunk/; revision=50154
Christoph von Wittich [Mon, 27 Dec 2010 09:07:27 +0000 (09:07 +0000)]
[CRT]
import MSVCRT_I10_OUTPUT from wine
svn path=/trunk/; revision=50153
Timo Kreuzer [Sun, 26 Dec 2010 22:25:47 +0000 (22:25 +0000)]
[NTOSKRNL]
Make definitions of ExpChangeRundown, ExpChangePushlock and ExpSetRundown 64 bit safe (have one portable definition and use it accordingly)
svn path=/trunk/; revision=50152
Daniel Reimer [Sun, 26 Dec 2010 16:28:51 +0000 (16:28 +0000)]
Update Winefile to 1.3.10 too
svn path=/trunk/; revision=50151
Daniel Reimer [Sun, 26 Dec 2010 16:25:30 +0000 (16:25 +0000)]
Sync xcopy, iexplore, winhlp32, wordpad and write to wine 1.3.10
svn path=/trunk/; revision=50150
Timo Kreuzer [Sun, 26 Dec 2010 15:23:03 +0000 (15:23 +0000)]
[NTOSKRNL]
Remove all #line 15 "ARM³::BLA"
Reasons:
- It doesn't provide any benefits, its only purpose was to "look cool"
- It never looked cool, instead a character mess appeared
- It makes finding the related file harder, especially when the file is named differently then the description or when multiple files have the same tag
- It effectively breaks Coverity scans
svn path=/trunk/; revision=50149
Timo Kreuzer [Sun, 26 Dec 2010 15:04:02 +0000 (15:04 +0000)]
[VMX_SVGA]
Convert a pointer to a WCHAR string to an array of WCHARs to fix sizeof calculation. CID 10404
svn path=/trunk/; revision=50148
Timo Kreuzer [Sun, 26 Dec 2010 14:54:57 +0000 (14:54 +0000)]
[VGA_NEW]
Use strlen() istead of sizeof() to get the string length from a pointer. CID 10403.
svn path=/trunk/; revision=50147
Daniel Reimer [Sun, 26 Dec 2010 14:37:41 +0000 (14:37 +0000)]
Fix for Fox Audio Player. Newest Version and leading to a Setup with libmpg
svn path=/trunk/; revision=50146
Daniel Reimer [Sun, 26 Dec 2010 13:54:57 +0000 (13:54 +0000)]
Update rapps database.
svn path=/trunk/; revision=50145
Daniel Reimer [Sun, 26 Dec 2010 13:28:51 +0000 (13:28 +0000)]
Bug 5756: TRANSLATION: multiple modules: Bulgarian by CCTAHEB
Bug 5761: TRANSLATION: Czech translation update by Radek Liska
svn path=/trunk/; revision=50144
Aleksey Bragin [Sun, 26 Dec 2010 12:56:51 +0000 (12:56 +0000)]
[PSDK]
- Oleg Baikalow: Don't call TDIEntityID structure and type with the same name.
svn path=/trunk/; revision=50143
James Tabor [Sun, 26 Dec 2010 11:11:27 +0000 (11:11 +0000)]
[Win32k]
- Fixes bug 5792 and Get/PeekMessage tests. I noticed co_IntPostOrSendMessage to co_IntSendMessageNoWait changes when it should have been changed to co_IntSendMessage. Same as co_IntSendMessage to co_IntSendMessageNoWait when it should have not changed.... I'm sorting it out. ATM win test locks up and the system shutdown box is not present only the text message.
svn path=/trunk/; revision=50141
Timo Kreuzer [Sun, 26 Dec 2010 09:39:31 +0000 (09:39 +0000)]
[CALC]
Initialize next field. Fixes CID 11063
svn path=/trunk/; revision=50140
Timo Kreuzer [Sat, 25 Dec 2010 11:01:14 +0000 (11:01 +0000)]
[WIN32K]
Remove SetLastWin32Error and use EngSetLastError instead
svn path=/trunk/; revision=50139
Timo Kreuzer [Sat, 25 Dec 2010 10:37:55 +0000 (10:37 +0000)]
[WIN32K]
Fix EngGetLastError and EngSetLastError
svn path=/trunk/; revision=50138
Johannes Anderwald [Sat, 25 Dec 2010 09:08:44 +0000 (09:08 +0000)]
[INF]
- Fix PCI group key
svn path=/trunk/; revision=50136
Roel Messiant [Sat, 25 Dec 2010 05:27:01 +0000 (05:27 +0000)]
[WIN32K]
- IntCreateWindow: Fill out MaximumLength field of the window name. Fixes potential buffer overflow in at least NtUserDefSetText.
svn path=/trunk/; revision=50135
Art Yerkes [Fri, 24 Dec 2010 22:54:24 +0000 (22:54 +0000)]
Make sure to initialize our page operation mutex.
Scan the whole range of the MemoryArea for pages to evict.
This fixes cache section page eviction.
svn path=/trunk/; revision=50134
Jérôme Gardou [Fri, 24 Dec 2010 20:29:25 +0000 (20:29 +0000)]
[GDI32]
- remove useless memory reallocation : the buffer size must be dword aligned, we have no way to guarantee the buffer location will be.
- pass BITMAPINFO pointer size to NtGdiGetDIBitsInternal
[WIN32K]
- Improve "not enough memory" check when creating a bitmap
- use correct function to set the last error.
svn path=/trunk/; revision=50133
Giannis Adamopoulos [Fri, 24 Dec 2010 12:11:10 +0000 (12:11 +0000)]
[win32k]
- Remove co_IntPostOrSendMessage and use co_IntSendMessageNoWait where possible
svn path=/trunk/; revision=50121
Amine Khaldi [Fri, 24 Dec 2010 12:09:01 +0000 (12:09 +0000)]
[CMAKE]
- Add the remaining winetests to build. We compile them all now.
svn path=/trunk/; revision=50120
Dmitry Gorbachev [Fri, 24 Dec 2010 01:59:13 +0000 (01:59 +0000)]
Marco Radossevich <fwdprojects=at=email=dot=it>, a.k.a. forart:
"Just two important examples that involved my contributions: UniATA & FullFAT."
No code changes.
See thread <http://www.reactos.org/forum/viewtopic.php?f=14&t=8809> for more details.
svn path=/trunk/; revision=50117
Timo Kreuzer [Thu, 23 Dec 2010 19:11:19 +0000 (19:11 +0000)]
[RTL}
Replace RtlMoveMemory x86 asm code with the code from CRT's memmove, which is better. Now we can close bug #1941
svn path=/trunk/; revision=50116
Aleksey Bragin [Thu, 23 Dec 2010 16:59:55 +0000 (16:59 +0000)]
[UNIATA]
- Update uniata to 0.40a1. Prepared by Samuel Serapion, edited by me.
See issue #5762 for more details.
svn path=/trunk/; revision=50115
Roel Messiant [Thu, 23 Dec 2010 15:38:14 +0000 (15:38 +0000)]
[SHELL32]
- Add NULL checks in IShellView and IDropTarget implementations. Should fix bug #5780.
svn path=/trunk/; revision=50114
Roel Messiant [Thu, 23 Dec 2010 14:10:59 +0000 (14:10 +0000)]
[WIN32K]
- NtGdiGetDIBitsInternal: Copy the requested amount of scanlines into the return buffer, not the whole bitmap. Should fix bug #5766.
svn path=/trunk/; revision=50113
Timo Kreuzer [Thu, 23 Dec 2010 12:11:19 +0000 (12:11 +0000)]
[VBEMP]
Fix rounding error when calculating display size
Loosely based on patch by neoman.
Fixes gdi32_winetest:mapping
See issue #5790 for more details.
svn path=/trunk/; revision=50112
Aleksey Bragin [Thu, 23 Dec 2010 09:14:42 +0000 (09:14 +0000)]
[NTOS]
- Fix copypasta, thanks Victor!
svn path=/trunk/; revision=50111
Art Yerkes [Thu, 23 Dec 2010 08:42:51 +0000 (08:42 +0000)]
Do the required flush when the last reference to a cache stripe is released.
The installer now completes given enough ram in NEWCC=1, and writes an
understandable FS. There's at least one more problem preventing the
resulting installation from booting however.
Fix a bug in rmap where we were checking the next (unfortunately named
current) rmap for a segment membership.
Fix a mistake in cache trim.
#ifdef detection of DirectMapping in section in NEWCC mode in page out.
svn path=/trunk/; revision=50110
Aleksey Bragin [Wed, 22 Dec 2010 22:18:32 +0000 (22:18 +0000)]
[NTOS]
- Fix a typo in region size calculation of special memory areas, which unbreaks OllyDbg & co. Thanks Michael Martin for the hint.
See issue #5692 for more details.
svn path=/trunk/; revision=50109
Aleksey Bragin [Wed, 22 Dec 2010 21:59:27 +0000 (21:59 +0000)]
[NTOS]
- Fix memory region size calculation in MemoryBasicInformation in certain cases. Spotted by Michael Martin.
svn path=/trunk/; revision=50108
Aleksey Bragin [Wed, 22 Dec 2010 21:27:31 +0000 (21:27 +0000)]
[NTOS]
- Fix incompatibility with newer KiEnterTrap implementation. Should fix spontaneous issues I possibly introduced with my previous commit, and finally fixes that VirtualBox issue.
svn path=/trunk/; revision=50107
Timo Kreuzer [Wed, 22 Dec 2010 20:20:52 +0000 (20:20 +0000)]
[NTDLL]
Fix harderror status on machine type mismatch and pass file name.
svn path=/trunk/; revision=50106
Roel Messiant [Wed, 22 Dec 2010 19:09:25 +0000 (19:09 +0000)]
[I8042PRT]
- Calculate packet type according to PS/2++ spec (CID 1810).
- Fix technical detail in comment to match spec.
svn path=/trunk/; revision=50105
Timo Kreuzer [Wed, 22 Dec 2010 18:30:59 +0000 (18:30 +0000)]
[WIN32K]
Silence 3 DPRINTs
svn path=/trunk/; revision=50103
Amine Khaldi [Wed, 22 Dec 2010 16:33:37 +0000 (16:33 +0000)]
[CMAKE]
- Add the apitests to build.
- Improve some winetests.
svn path=/trunk/; revision=50100
Timo Kreuzer [Wed, 22 Dec 2010 16:19:40 +0000 (16:19 +0000)]
[NTDLL]
Raise harderror and terminate process when the image is of a foreign architecture.
svn path=/trunk/; revision=50099
Timo Kreuzer [Wed, 22 Dec 2010 16:14:58 +0000 (16:14 +0000)]
[NDK] Add IMAGE_FILE_MACHINE_NATIVE
[NTOS] Remove IMAGE_FILE_MACHINE_NATIVE and IMAGE_FILE_MACHINE_ARCHITECTURE definitions, use only the former
svn path=/trunk/; revision=50098
Timo Kreuzer [Wed, 22 Dec 2010 14:31:39 +0000 (14:31 +0000)]
[HAL]
Convert while (TRUE); to ASSERT(FALSE); on unimplemented pathes.
svn path=/trunk/; revision=50096
Aleksey Bragin [Wed, 22 Dec 2010 14:26:36 +0000 (14:26 +0000)]
[NTOS]
- Always initialize TrapFrame segment selectors in KiEnterTrap, because further C code relies on at least TrapFrame->SegFs being correct. Running Arwinss on VirtualBox exposed this bug.
I wouldn't find solution for this bug without Timo's great help!
svn path=/trunk/; revision=50095
Timo Kreuzer [Wed, 22 Dec 2010 13:33:09 +0000 (13:33 +0000)]
[FORMATTING]
Apply indentation of 4 spaces.
svn path=/trunk/; revision=50093
Timo Kreuzer [Wed, 22 Dec 2010 13:07:04 +0000 (13:07 +0000)]
[NTDLL]
Move RtlPcToFileHeader to rtl/libsupp.c
svn path=/trunk/; revision=50092
Timo Kreuzer [Wed, 22 Dec 2010 13:00:47 +0000 (13:00 +0000)]
[FORMATTING]
Apply indentation of 4 spaces.
svn path=/trunk/; revision=50091
Pierre Schweitzer [Wed, 22 Dec 2010 00:13:03 +0000 (00:13 +0000)]
[FASTFAT]
Fix for a buffer overflow and then a buffer overrun (if ever it fixes something)
The way filenames are handled for FAT entries should be REALLY simplified. This would prevent such errors.
Thus, there are more magic values in fastfat driver than everywhere else in ReactOS which makes proper fixing hard (impossible?).
Finally, the code for that fix is crappy, but I don't care, it fits the rest of the fastfat driver code.
*pissed off*
Fixes CID #2502
svn path=/trunk/; revision=50090
Timo Kreuzer [Tue, 21 Dec 2010 23:48:15 +0000 (23:48 +0000)]
[SCSIPORT]
ScsiPortConvertPhysicalAddressToUlong takes an ULONG_PTR as input, fix function accordingly and do the "calculation" directly instead of calling RtlConvertUlongToLargeInteger
Spotted by Samuel.
svn path=/trunk/; revision=50089