reactos.git
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

13 years ago[ADVAPI32]
Roel Messiant [Sun, 19 Dec 2010 23:19:04 +0000 (23:19 +0000)]
[ADVAPI32]
- ConvertStringSidToSidW: Stop writing 1 subauthority too much. Fixes a DWORD sized buffer overflow. Should fix bug #5764.
- ConvertStringSidToSidW: Don't leak an allocated SID in case of failure.
[SETUPAPI]
- SetupDiClassNameFromGuidExW: Rewrite to prevent a buffer overflow and pass additional winetests. Should fix bug #5474.
- SetupDiClassNameFromGuidExA: Return the required buffer size in failure cases.

svn path=/trunk/; revision=50066

13 years ago[OLEACC]
Roel Messiant [Sun, 19 Dec 2010 22:53:29 +0000 (22:53 +0000)]
[OLEACC]
- Use an actual entrypoint. Needed to record the instance handle, used by various function that access resources of the module. Should fix oleacc:main winetest.

svn path=/trunk/; revision=50064

13 years ago[WIDL]
Aleksey Bragin [Sun, 19 Dec 2010 20:47:16 +0000 (20:47 +0000)]
[WIDL]
- Update to Wine-1.3.9.
- Important note: Syntax of widl invocation changed slightly, so take this into account when merging to cmake branch.

svn path=/trunk/; revision=50063

13 years ago[PSDK]
Aleksey Bragin [Fri, 17 Dec 2010 15:32:07 +0000 (15:32 +0000)]
[PSDK]
- Oleg Baikalow: Add missing definitions to ipexport.h.

svn path=/trunk/; revision=50053

13 years ago[Win32k|User32]
James Tabor [Fri, 17 Dec 2010 01:09:42 +0000 (01:09 +0000)]
[Win32k|User32]
- Finish 50030 (work by Giannis), Now PostMessage passes all the correct data based on Get/PeekMessage. Example: Post A, Get/Peek A, Translate A, Dispatch A, should be that simple. FYI: DDE memory handling should be in win32k not user32 and why,,,,, ~see next point~
- Patch up problems (at a minimum) going into the SendMessage/Timeout A2U U2A support in win32k and fixed SMTO callback if local.

svn path=/trunk/; revision=50047

13 years agoremove some more unnecessary debug output
Giannis Adamopoulos [Thu, 16 Dec 2010 21:42:28 +0000 (21:42 +0000)]
remove some more unnecessary debug output

svn path=/trunk/; revision=50045

13 years ago[win32k]
Giannis Adamopoulos [Thu, 16 Dec 2010 20:41:25 +0000 (20:41 +0000)]
[win32k]
-Remove an unneeded debug message

svn path=/trunk/; revision=50043

13 years ago[user32_winetest]
Giannis Adamopoulos [Thu, 16 Dec 2010 19:11:13 +0000 (19:11 +0000)]
[user32_winetest]
-revert the previous commit

svn path=/trunk/; revision=50042

13 years ago[user32_winetest]
Giannis Adamopoulos [Thu, 16 Dec 2010 18:49:10 +0000 (18:49 +0000)]
[user32_winetest]
-deactivate some tests that hang in reactos that have already been deactived and reactivded by mistake twice

svn path=/trunk/; revision=50041

13 years ago[NTOS]
Aleksey Bragin [Wed, 15 Dec 2010 20:12:03 +0000 (20:12 +0000)]
[NTOS]
- Roel Messiant: Fix NtQueryObject to return the required buffer size if the buffer provided was too small. Unimplemented paths behaviour is preserved.

svn path=/trunk/; revision=50032

13 years ago[RTL]
Aleksey Bragin [Wed, 15 Dec 2010 20:03:43 +0000 (20:03 +0000)]
[RTL]
- Roel Messiant: Specify proper byte length of a unicode string. Fixes out of bounds access in actctx.c support code. No more half-cut active context stuff in debug logs.

svn path=/trunk/; revision=50031

13 years ago[win32k]
Giannis Adamopoulos [Wed, 15 Dec 2010 19:21:48 +0000 (19:21 +0000)]
[win32k]
- Use the new version of NtUserGetMessage and NtUserPeekMessage written by Jim. It is possible to use them now because GetMessage and PeekMessage don't return messages that contain pointers. As a result they don't need to do any extra work to copy the message to user mode. All messages that contain pointers are sent messages and this means that they don't get into the message loop. Instead they are passed directly to the window proc.
- DispatchMessage works only if the target window belongs to the current thread. This lets us remove uneeded copies of lparam to user mode.

[user32]
- Remove a bunch of uneeded code in GetMessage and PeekMessage that copyied the lparam in a new buffer and did unicode to ansi convertions. It is not needed because they don't receive messages with pointers any more

svn path=/trunk/; revision=50030

13 years ago- Mode detect look for 4BPP, planar, graphics < 0x800 mode now
evb [Tue, 14 Dec 2010 04:10:14 +0000 (04:10 +0000)]
- Mode detect look for 4BPP, planar, graphics < 0x800 mode now
- Add GDIINFO from NT4 VGA DDK sample driver
- Set 4BPP prefer DIB format
- No graphics caps set for VGA driver
- Put static palette/color buffer for when VGA IOCTL send later
- Convert almost done, bInitSURF is last

svn path=/trunk/; revision=50029

13 years ago- Finish make enable.c work full on vga, main change force 4BPP (disable other codes...
evb [Tue, 14 Dec 2010 03:52:00 +0000 (03:52 +0000)]
- Finish make enable.c work full on vga, main change force 4BPP (disable other codes), create 4BPP bitmap surfobj, associate and lock
- Easy part done, now hard part

svn path=/trunk/; revision=50028

13 years ago- fix now palette.c for vga, by copy logPalVGA/VGALOGPALETTE from NT4 DDK VGA sample...
evb [Tue, 14 Dec 2010 03:27:51 +0000 (03:27 +0000)]
- fix now palette.c for vga, by copy logPalVGA/VGALOGPALETTE from NT4 DDK VGA sample drv and turn off codes for allocate 256 color pallette, instead use fix 16 color logPalVGA
- fix header of debug.c

svn path=/trunk/; revision=50027

13 years ago- Add the new vga miniport to build
evb [Tue, 14 Dec 2010 03:17:29 +0000 (03:17 +0000)]
- Add the new vga miniport to build
- Replace the framebuf_new spec rc rbuild with vga_new spec rc rbuild
- Delete pointer.c
- Start make changes, driver.h new fields for VGA, change driver short/long name/tag, add macros and in enable.c remove hw pointer support

svn path=/trunk/; revision=50026

13 years ago- commit base for new vga display miniport driver, is svn copy of framebuf_new as...
evb [Tue, 14 Dec 2010 03:03:30 +0000 (03:03 +0000)]
- commit base for new vga display miniport driver, is svn copy of framebuf_new as many codes identical
- Will than commit and document differences to make into vga driver

svn path=/trunk/; revision=50025

13 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 13 Dec 2010 22:24:49 +0000 (22:24 +0000)]
[NTOSKRNL]
Silent FstubEx* debug prints on popular demand (ie, Timo)

svn path=/trunk/; revision=50024

13 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 13 Dec 2010 11:33:29 +0000 (11:33 +0000)]
[NTOSKRNL]
Merge some changes from r50021 to FsRtlIsNameInExpression() to make code easier to read and understand...

svn path=/trunk/; revision=50022

13 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 13 Dec 2010 11:24:52 +0000 (11:24 +0000)]
[NTOSKRNL]
Rewritten FsRtlIsDbcsInExpression() using FsRtlIsNameInExpression() pattern.
This fixes all failing tests from kmtest.sys and make this function definitely tastier to MS fastfat.sys

svn path=/trunk/; revision=50021

13 years ago[KMTEST]
Pierre Schweitzer [Mon, 13 Dec 2010 11:06:57 +0000 (11:06 +0000)]
[KMTEST]
Added testcases for FsRtlIsDbcsInExpression()

svn path=/trunk/; revision=50020

13 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 12 Dec 2010 22:17:45 +0000 (22:17 +0000)]
[NTOSKRNL]
Fixed FsRtlIsNameInExpression() according to r50018 tests

svn path=/trunk/; revision=50019

13 years ago[KMTEST]
Pierre Schweitzer [Sun, 12 Dec 2010 22:09:35 +0000 (22:09 +0000)]
[KMTEST]
Added more testcases for FsRtlIsNameInExpression()

svn path=/trunk/; revision=50018

13 years agoRevert r50016
Pierre Schweitzer [Sun, 12 Dec 2010 22:04:59 +0000 (22:04 +0000)]
Revert r50016

svn path=/trunk/; revision=50017

13 years agoCommit test...
Pierre Schweitzer [Sun, 12 Dec 2010 22:03:42 +0000 (22:03 +0000)]
Commit test...

svn path=/trunk/; revision=50016

13 years ago[ROSTESTS]
Sylvain Petreolle [Sun, 12 Dec 2010 21:48:05 +0000 (21:48 +0000)]
[ROSTESTS]
Delete test file.

svn path=/trunk/; revision=50015