reactos.git
13 years ago[CMAKE]
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

13 years ago[CMAKE]
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

13 years ago[CMAKE]
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

13 years ago[usb/usbehci]:
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

13 years ago- Fix copy paste error, which means this code is not used, should have pop up during...
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

13 years ago[Win32k|User32]
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

13 years ago[Win32k]
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

13 years ago[User32]
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

13 years ago[Win32k|User32]
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

13 years ago[CMAKE]
Sylvain Petreolle [Wed, 29 Dec 2010 16:12:56 +0000 (16:12 +0000)]
[CMAKE]
Fix rpcrt4_winetest build.

svn path=/trunk/; revision=50214

13 years ago[NTOS]
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

13 years ago[User32]
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

13 years ago- Update note after 50205.
James Tabor [Wed, 29 Dec 2010 04:52:06 +0000 (04:52 +0000)]
- Update note after 50205.

svn path=/trunk/; revision=50206

13 years ago[Win32k]
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

13 years ago[NTOSKRNL]
Pierre Schweitzer [Tue, 28 Dec 2010 21:40:23 +0000 (21:40 +0000)]
[NTOSKRNL]
Fix typo ~

svn path=/trunk/; revision=50204

13 years ago[NTOSKRNL]
Pierre Schweitzer [Tue, 28 Dec 2010 21:34:54 +0000 (21:34 +0000)]
[NTOSKRNL]
Hoovering part 2...

svn path=/trunk/; revision=50203

13 years ago[NTOSKRNL]
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

13 years ago[NTOSKRNL]
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

13 years ago[DRIVERS]
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

13 years ago[NTOSKRNL]
Pierre Schweitzer [Tue, 28 Dec 2010 14:49:53 +0000 (14:49 +0000)]
[NTOSKRNL]
Apply consistent formatting to CcMapData

svn path=/trunk/; revision=50190

13 years ago[Win32k]
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

13 years ago[User32]
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

13 years ago[Win32k|User32]
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

13 years ago[FASTFAT_NEW]
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

13 years ago[FASTFAT]
Pierre Schweitzer [Mon, 27 Dec 2010 21:38:40 +0000 (21:38 +0000)]
[FASTFAT]
Remove unused vars ~

svn path=/trunk/; revision=50173

13 years ago[FASTFAT_NEW]
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

13 years ago[FASTFAT]
Pierre Schweitzer [Mon, 27 Dec 2010 18:11:35 +0000 (18:11 +0000)]
[FASTFAT]
MagicValue--;
ThanksTo(James, Amine);
/* EOF */

svn path=/trunk/; revision=50167

13 years ago[PSEH]
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

13 years ago[CRT]
Amine Khaldi [Mon, 27 Dec 2010 17:51:08 +0000 (17:51 +0000)]
[CRT]
- Add missing _A_VOLID definition.

svn path=/trunk/; revision=50165

13 years ago[FASTFAT_NEW]
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

13 years ago[GDI32]
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

13 years ago[PSDK]
Aleksey Bragin [Mon, 27 Dec 2010 15:32:47 +0000 (15:32 +0000)]
[PSDK]
- Add missing definitions.

svn path=/trunk/; revision=50161

13 years ago[CRT]
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

13 years ago[SCSIPORT]
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

13 years ago[FUSION]
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

13 years ago[FUSION]
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

13 years ago[NSLOOKUP]
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

13 years ago[Win32k]
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

13 years ago[CRT]
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

13 years ago[NTOSKRNL]
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

13 years agoUpdate Winefile to 1.3.10 too
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

13 years agoSync xcopy, iexplore, winhlp32, wordpad and write to wine 1.3.10
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

13 years ago[NTOSKRNL]
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

13 years ago[VMX_SVGA]
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

13 years ago[VGA_NEW]
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

13 years agoFix for Fox Audio Player. Newest Version and leading to a Setup with libmpg
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

13 years agoUpdate rapps database.
Daniel Reimer [Sun, 26 Dec 2010 13:54:57 +0000 (13:54 +0000)]
Update rapps database.

svn path=/trunk/; revision=50145

13 years agoBug 5756: TRANSLATION: multiple modules: Bulgarian by CCTAHEB
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

13 years ago[PSDK]
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

13 years ago[Win32k]
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

13 years ago[CALC]
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

13 years ago[WIN32K]
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

13 years ago[WIN32K]
Timo Kreuzer [Sat, 25 Dec 2010 10:37:55 +0000 (10:37 +0000)]
[WIN32K]
Fix EngGetLastError and EngSetLastError

svn path=/trunk/; revision=50138

13 years ago[INF]
Johannes Anderwald [Sat, 25 Dec 2010 09:08:44 +0000 (09:08 +0000)]
[INF]
- Fix PCI group key

svn path=/trunk/; revision=50136

13 years ago[WIN32K]
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

13 years agoMake sure to initialize our page operation mutex.
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

13 years ago[GDI32]
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

13 years ago[win32k]
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

13 years ago[CMAKE]
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

13 years agoMarco Radossevich <fwdprojects=at=email=dot=it>, a.k.a. forart:
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

13 years ago[RTL}
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

13 years ago[UNIATA]
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

13 years ago[SHELL32]
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

13 years ago[WIN32K]
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

13 years ago[VBEMP]
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

13 years ago[NTOS]
Aleksey Bragin [Thu, 23 Dec 2010 09:14:42 +0000 (09:14 +0000)]
[NTOS]
- Fix copypasta, thanks Victor!

svn path=/trunk/; revision=50111

13 years agoDo the required flush when the last reference to a cache stripe is released.
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

13 years ago[NTOS]
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

13 years ago[NTOS]
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

13 years ago[NTOS]
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

13 years ago[NTDLL]
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

13 years ago[I8042PRT]
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

13 years ago[WIN32K]
Timo Kreuzer [Wed, 22 Dec 2010 18:30:59 +0000 (18:30 +0000)]
[WIN32K]
Silence 3 DPRINTs

svn path=/trunk/; revision=50103

13 years ago[CMAKE]
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

13 years ago[NTDLL]
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

13 years ago[NDK] Add IMAGE_FILE_MACHINE_NATIVE
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

13 years ago[HAL]
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

13 years ago[NTOS]
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

13 years ago[FORMATTING]
Timo Kreuzer [Wed, 22 Dec 2010 13:33:09 +0000 (13:33 +0000)]
[FORMATTING]
Apply indentation of 4 spaces.

svn path=/trunk/; revision=50093

13 years ago[NTDLL]
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

13 years ago[FORMATTING]
Timo Kreuzer [Wed, 22 Dec 2010 13:00:47 +0000 (13:00 +0000)]
[FORMATTING]
Apply indentation of 4 spaces.

svn path=/trunk/; revision=50091

13 years ago[FASTFAT]
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

13 years ago[SCSIPORT]
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

13 years ago[NTOSKRNL]
Pierre Schweitzer [Tue, 21 Dec 2010 22:24:50 +0000 (22:24 +0000)]
[NTOSKRNL]
Fix CID 3454

svn path=/trunk/; revision=50087

13 years ago[VGA_NEW]
Jérôme Gardou [Tue, 21 Dec 2010 21:55:29 +0000 (21:55 +0000)]
[VGA_NEW]
  - avoid buffer overrun, CID 11049
Brought to light by vicmarcal

svn path=/trunk/; revision=50085

13 years ago[NTSOKRNL]
Timo Kreuzer [Tue, 21 Dec 2010 21:48:29 +0000 (21:48 +0000)]
[NTSOKRNL]
add a comment so that noone will stumble upon this atrocity a second time.

svn path=/trunk/; revision=50084

13 years ago[NTOSKRNL]
Pierre Schweitzer [Tue, 21 Dec 2010 21:35:04 +0000 (21:35 +0000)]
[NTOSKRNL]
Actually, code was correct, but ugly (who said "normal, that's a hack).
So, when that code is called from SetupLDR, KeyHandle is required to be to 1. This what code does. Thing we do in the if condition when it appears we are called from SetupLDR.
To avoid any further question, or warning, adding more parenthesis to show that we know what we do.
So, to sum up, there's no comparaison for KeyHandle

svn path=/trunk/; revision=50083

13 years ago[NTOSKRNL]
Amine Khaldi [Tue, 21 Dec 2010 20:28:21 +0000 (20:28 +0000)]
[NTOSKRNL]
- Fix an assign where a comparison was intended. CID 2626.

svn path=/trunk/; revision=50082

13 years ago[NTOS]: Check that MaximumSize is valid value if the section is being backed by pagin...
Michael Martin [Tue, 21 Dec 2010 15:19:58 +0000 (15:19 +0000)]
[NTOS]: Check that MaximumSize is valid value if the section is being backed by paging file.

svn path=/trunk/; revision=50081

13 years ago[DEVMGR]
Roel Messiant [Tue, 21 Dec 2010 14:58:13 +0000 (14:58 +0000)]
[DEVMGR]
- DisplayDevicePropertyText: Use full DWORD value, not just one byte of it (CID 1803).
[WINMM]
- MCI_Close: Use UINT instead of UINT16 for the device id (CID 1804).

svn path=/trunk/; revision=50080

13 years ago[EXPLORER-NEW]
Cameron Gutman [Tue, 21 Dec 2010 04:48:36 +0000 (04:48 +0000)]
[EXPLORER-NEW]
- Fix another "sizeof" usage mistake
- CID 1631

svn path=/trunk/; revision=50078

13 years ago[USBDRIVER]
Cameron Gutman [Tue, 21 Dec 2010 04:35:12 +0000 (04:35 +0000)]
[USBDRIVER]
- Fix a bug that resulted in us only copying half of the old keyboard data
- CID 10402

svn path=/trunk/; revision=50077

13 years ago[CLASSPNP]
Roel Messiant [Tue, 21 Dec 2010 00:41:52 +0000 (00:41 +0000)]
[CLASSPNP]
- Use correct type in sizeof expression (CID 1646 and 10401).
- Simplify signature define (CID 3653 and 3654).
- Remove funky 0xFF characters.

svn path=/trunk/; revision=50076

13 years ago[URLMON]
Cameron Gutman [Mon, 20 Dec 2010 21:29:55 +0000 (21:29 +0000)]
[URLMON]
- Sync to Wine 1.3.9

svn path=/trunk/; revision=50074

13 years ago[WININET]
Cameron Gutman [Mon, 20 Dec 2010 21:25:11 +0000 (21:25 +0000)]
[WININET]
- Sync to Wine 1.3.9

svn path=/trunk/; revision=50073

13 years ago[NDIS]
Cameron Gutman [Mon, 20 Dec 2010 20:57:22 +0000 (20:57 +0000)]
[NDIS]
- Fix sizeof typo
- CID 10400

svn path=/trunk/; revision=50072

13 years ago[WINHTTP]
Cameron Gutman [Mon, 20 Dec 2010 20:36:21 +0000 (20:36 +0000)]
[WINHTTP]
- Sync to Wine 1.3.9

svn path=/trunk/; revision=50071

13 years ago- Update "slightly less than all" IDLs to Wine-1.3.9. (Except for shlobj, shobjidl...
Aleksey Bragin [Mon, 20 Dec 2010 11:56:24 +0000 (11:56 +0000)]
- Update "slightly less than all" IDLs to Wine-1.3.9. (Except for shlobj, shobjidl and shtypes.h, and DirectX stuff).

svn path=/trunk/; revision=50070

13 years ago[CRT]
Timo Kreuzer [Mon, 20 Dec 2010 11:48:55 +0000 (11:48 +0000)]
[CRT]
rename pow_asm.c to powl.c to reflect it's content.

svn path=/trunk/; revision=50069

13 years ago[CRT]
Timo Kreuzer [Mon, 20 Dec 2010 10:16:43 +0000 (10:16 +0000)]
[CRT]
Fix bugs in converted asm file. Fixes Firefox color issues.

svn path=/trunk/; revision=50068