reactos.git
13 years ago{FULLFAT]
Ged Murphy [Sat, 2 Apr 2011 15:22:48 +0000 (15:22 +0000)]
{FULLFAT]
- Update FullFat to the latest stable release (1.0.5)
- I'm awaiting a reply from James as to when 1.1.0 will be released as it have some nice improvements.

svn path=/trunk/; revision=51227

13 years ago[TEE]
Johannes Anderwald [Sat, 2 Apr 2011 15:15:08 +0000 (15:15 +0000)]
[TEE]
- TEE should overwrite existing file
- Patch by vins8920 hotmail
See issue #6022 for more details.

svn path=/trunk/; revision=51226

13 years ago[SYSTEMINFO]
Rafal Harabien [Sat, 2 Apr 2011 14:54:24 +0000 (14:54 +0000)]
[SYSTEMINFO]
* Fix Domain field
* Get rid of TCHAR
* Translate System Up Time to polish

svn path=/trunk/; revision=51225

13 years ago[win32k]
Giannis Adamopoulos [Sat, 2 Apr 2011 10:12:44 +0000 (10:12 +0000)]
[win32k]
- Simplify co_IntWaitMessage
- In co_IntGetPeekMessage, call co_MsqWaitForNewMessages instead of co_IntWaitMessage when we  need to wait for a new message. co_IntWaitMessage calls co_IntPeekMessage again without removing messages. The problem is that processing some messages produce other messages or hooks even though the message must not be removed. As a result some messages like WM_NCHITTEST were received twice by the application
- Should fix bug 3232

svn path=/trunk/; revision=51224

13 years ago[NTDLL]
Aleksey Bragin [Sat, 2 Apr 2011 09:20:16 +0000 (09:20 +0000)]
[NTDLL]
- Fix a typo which led to incorrect logic of TLS allocation. This repairs those installers broken by r51051.
See issue #6009 for more details.

svn path=/trunk/; revision=51223

13 years ago[ADVAPI32]
Rafal Harabien [Fri, 1 Apr 2011 22:10:52 +0000 (22:10 +0000)]
[ADVAPI32]
* Fix bug in RegQueryValueExA, which causes buffer overflow
* Fixes systeminfo in ReactOS
See issue #6050 for more details.

svn path=/trunk/; revision=51222

13 years ago[SYSTEMINFO]
Rafal Harabien [Fri, 1 Apr 2011 18:58:12 +0000 (18:58 +0000)]
[SYSTEMINFO]
Don't translate System Type
Don't mix TCHARs and chars
Fix Time Zone for not English systems
Use proper registry key for Install Date
Format dates using system settings
Format numbers

svn path=/trunk/; revision=51221

13 years ago- Fix build. Happens.
Aleksey Bragin [Fri, 1 Apr 2011 12:18:54 +0000 (12:18 +0000)]
- Fix build. Happens.

svn path=/trunk/; revision=51218

13 years ago[KERNEL32]
Aleksey Bragin [Fri, 1 Apr 2011 10:06:03 +0000 (10:06 +0000)]
[KERNEL32]
- Implement a simple version of BasepGetDllPath()/BasepGetProcessPath().

svn path=/trunk/; revision=51217

13 years ago[Win32k]
James Tabor [Thu, 31 Mar 2011 21:20:06 +0000 (21:20 +0000)]
[Win32k]
- Fix wine post message test, corrected the peek message window selection.
- Add a check for dead windows and new message queue flags.
- Other miscellaneous fix ups.

svn path=/trunk/; revision=51216

13 years ago[SYSTEMINFO]
Rafal Harabien [Thu, 31 Mar 2011 16:51:19 +0000 (16:51 +0000)]
[SYSTEMINFO]
Add System Manufacturer and System Model to resources
Convert TABs to spaces in resources
Sort strings in resources a bit

svn path=/trunk/; revision=51215

13 years ago- Fix build attempt #1
Johannes Anderwald [Thu, 31 Mar 2011 16:21:38 +0000 (16:21 +0000)]
- Fix build attempt #1

svn path=/trunk/; revision=51214

13 years ago[PSDK]
Johannes Anderwald [Thu, 31 Mar 2011 16:16:10 +0000 (16:16 +0000)]
[PSDK]
- More header updates

svn path=/trunk/; revision=51213

13 years ago[SYSTEMINFO]
Rafal Harabien [Thu, 31 Mar 2011 15:56:24 +0000 (15:56 +0000)]
[SYSTEMINFO]
Convert TABs to spaces
Print output to stdout instead of stderr
Close opened registry keys
Simplify a bit
Add System Manufacturer and System Model
Add System Up Time (patch by Edijs Kolesnikovics <terminedijs at yahoo dot com>, see issue 6055 for more details)

svn path=/trunk/; revision=51212

13 years ago[NTDLL]
Aleksey Bragin [Thu, 31 Mar 2011 11:32:57 +0000 (11:32 +0000)]
[NTDLL]
- Change Context/Parameter in LdrEnumerateLoadedModules() to PVOID (previous ULONG type was a typo).

svn path=/trunk/; revision=51210

13 years ago- Fix build.
Aleksey Bragin [Wed, 30 Mar 2011 21:33:57 +0000 (21:33 +0000)]
- Fix build.

svn path=/trunk/; revision=51209

13 years ago[NTDLL]
Aleksey Bragin [Wed, 30 Mar 2011 21:21:42 +0000 (21:21 +0000)]
[NTDLL]
- Implement LdrEnumerateLoadedModules().

svn path=/trunk/; revision=51208

13 years ago[NTDLL]
Aleksey Bragin [Wed, 30 Mar 2011 20:56:05 +0000 (20:56 +0000)]
[NTDLL]
- Add RtlDosApplyFileIsolationRedirection_Ustr() stub.

svn path=/trunk/; revision=51207

13 years ago[DESK]
Olaf Siejka [Wed, 30 Mar 2011 18:49:01 +0000 (18:49 +0000)]
[DESK]
- Translation patch by Adam "Saibamen" Stachowicz. See issue #6057 for more details.

[EXPLORER]
- Translation patch by Adam "Saibamen" Stachowicz.

[SERVMAN]
- Translation patch by Adam "Saibamen" Stachowicz.

[SHELL32]
- Translation patch by Adam "Saibamen" Stachowicz. See issue #6060 for more details.

svn path=/trunk/; revision=51206

13 years ago[CMD] Fix a typo in dir that led to omitting the last character in the AM/PM time...
Gabriel Ilardi [Wed, 30 Mar 2011 13:02:57 +0000 (13:02 +0000)]
[CMD] Fix a typo in dir that led to omitting the last character in the AM/PM time format.
See issue #6061 for more details.

svn path=/trunk/; revision=51205

13 years ago[NTOS/KE]
Aleksey Bragin [Wed, 30 Mar 2011 11:05:40 +0000 (11:05 +0000)]
[NTOS/KE]
- Clear KernelApcPending flag every time the Kernel APCs queue is not empty.

svn path=/trunk/; revision=51204

13 years ago[User32|Win32k]
James Tabor [Wed, 30 Mar 2011 08:19:52 +0000 (08:19 +0000)]
[User32|Win32k]
- Move EnableWindow to Win32k.
- Fix sign in class function.

svn path=/trunk/; revision=51203

13 years ago[User32]
James Tabor [Wed, 30 Mar 2011 01:26:54 +0000 (01:26 +0000)]
[User32]
- Connect the rest of the pump hooks and start tracking from application testing.

svn path=/trunk/; revision=51202

13 years ago[User32|Win32k]
James Tabor [Wed, 30 Mar 2011 01:00:28 +0000 (01:00 +0000)]
[User32|Win32k]
- Update NtUser pump functions, based on known values. Move one more function to the right place.

svn path=/trunk/; revision=51201

13 years ago[Win32k]
James Tabor [Tue, 29 Mar 2011 23:44:22 +0000 (23:44 +0000)]
[Win32k]
- Move IntGdiSetBrushOwner and IntGdiSetRegionOwner out of the export section.

svn path=/trunk/; revision=51200

13 years ago[SHELL32]
Olaf Siejka [Tue, 29 Mar 2011 21:59:57 +0000 (21:59 +0000)]
[SHELL32]
- Fix a bug, by Johannes Anderwald

svn path=/trunk/; revision=51199

13 years ago[SHELL32]
Olaf Siejka [Tue, 29 Mar 2011 21:48:30 +0000 (21:48 +0000)]
[SHELL32]
- Fix build, borked by copypasta

svn path=/trunk/; revision=51198

13 years ago[KERNEL32]
Aleksey Bragin [Tue, 29 Mar 2011 21:48:13 +0000 (21:48 +0000)]
[KERNEL32]
- Rename global vars to some better names (some of the names seen in Windows 2003 asserts and text messages).
- Add BaseDefaultPath initialization, which will be needed but the new kernel32/ldr code, which is in turn required by the new ntdll/ldr code.
- Add some beginnings of BasepGetDllPath(), but it returns NULL anyway now so no change in execution.

svn path=/trunk/; revision=51197

13 years ago[SHELL32]
Olaf Siejka [Tue, 29 Mar 2011 21:41:14 +0000 (21:41 +0000)]
[SHELL32]
- Fix compile warning (uninitialized use). Based on patch by Edijs Kolesnikovics <terminedijs at yahoo dot com> slightly modified by Aleksiej
See issue #6058 for more details.

svn path=/trunk/; revision=51196

13 years ago[SYSSETUP]
Olaf Siejka [Tue, 29 Mar 2011 21:21:18 +0000 (21:21 +0000)]
[SYSSETUP]
- Fix compilation warning. Patch by Edijs Kolesnikovics <terminedijs at yahoo dot com>
See issue #6059 for more details.

svn path=/trunk/; revision=51195

13 years ago[WIN32K]
Timo Kreuzer [Tue, 29 Mar 2011 15:35:10 +0000 (15:35 +0000)]
[WIN32K]
Addendum to r51188: set last error, when overflow check fails.
Fixes test regression.

svn path=/trunk/; revision=51194

13 years ago[RTL]
Aleksey Bragin [Tue, 29 Mar 2011 11:00:34 +0000 (11:00 +0000)]
[RTL]
- Turn off LdrVerifyMappedImageMatchesChecksum() verification for now. (should have been part of r51192).

svn path=/trunk/; revision=51193

13 years ago[NTOS/MM]
Aleksey Bragin [Tue, 29 Mar 2011 10:56:28 +0000 (10:56 +0000)]
[NTOS/MM]
- Remove IMG_SCN_TYPE_NOLOAD support which was firstly removed by Alex, then reenabled by Herve. Hopefully it works this time.
- Return proper image size after successfully mapping an image section (previously, 0 was always returned). The change above is necessary for returning correct size.

svn path=/trunk/; revision=51192

13 years ago[WIN32K]
Timo Kreuzer [Tue, 29 Mar 2011 10:25:10 +0000 (10:25 +0000)]
[WIN32K]
- Move IntGdiSetBrushOwner to brush.c
- Move IntGdiSetDCOwnerEx to dclife.c
- Move IntGdiSetRegionOwner to region.c

svn path=/trunk/; revision=51191

13 years ago[WIN32K]
Timo Kreuzer [Tue, 29 Mar 2011 10:07:11 +0000 (10:07 +0000)]
[WIN32K]
Disable system service hooks, that got accidentally enabled.

svn path=/trunk/; revision=51190

13 years ago[WIN32K]
Timo Kreuzer [Tue, 29 Mar 2011 10:02:38 +0000 (10:02 +0000)]
[WIN32K]
Make GdiTableSection a static variable and use it only from gdiobj.c

svn path=/trunk/; revision=51189

13 years ago[WIN32K]
Timo Kreuzer [Tue, 29 Mar 2011 09:52:39 +0000 (09:52 +0000)]
[WIN32K]
Fix parameter check and buffer probing in NtUserSetSysColors

svn path=/trunk/; revision=51188

13 years ago[User32|Win32k]
James Tabor [Tue, 29 Mar 2011 05:53:34 +0000 (05:53 +0000)]
[User32|Win32k]
- Properly implement RealGetWindowClass, fixes the ApiTest. Keeping the Ansi support for now, will use it as a reference.

svn path=/trunk/; revision=51187

13 years ago[User32]
James Tabor [Tue, 29 Mar 2011 05:11:02 +0000 (05:11 +0000)]
[User32]
- Fix select old brush in FillRect.

svn path=/trunk/; revision=51186

13 years ago[Win32k]
James Tabor [Tue, 29 Mar 2011 02:57:48 +0000 (02:57 +0000)]
[Win32k]
- Finish object attribute support part 2.
- Removed DC from the list, ReactOS handles this in a different way. Comment out Brush and Pen switches until proper handling is implemented.

svn path=/trunk/; revision=51185

13 years ago[USER32]
Rafal Harabien [Mon, 28 Mar 2011 20:52:27 +0000 (20:52 +0000)]
[USER32]
Fix a bug causing "Attempted to lock object, wrong reuse counter" messages when CMD was started in LiveCD. Once got desktop HDC was used in different threads. When thread, which created handle terminated, DC handle was removed and next calls to CreateIcon* API was using invalid hDC.

svn path=/trunk/; revision=51184

13 years ago[GDI32|User32|Win32k]
James Tabor [Mon, 28 Mar 2011 00:17:21 +0000 (00:17 +0000)]
[GDI32|User32|Win32k]
- Fix ScrollDC ApiTest.

svn path=/trunk/; revision=51179

13 years ago[USER32]
Rafal Harabien [Sun, 27 Mar 2011 23:19:56 +0000 (23:19 +0000)]
[USER32]
Don't fail if FillRect is called without brush. Fixes user32:uitools winetest

svn path=/trunk/; revision=51178

13 years ago[PING]
Rafal Harabien [Sun, 27 Mar 2011 22:47:59 +0000 (22:47 +0000)]
[PING]
Fix crash if option, which needs number is on the end of command line
Get rid of GetULONG and GetULONG2 functions. MS doesn't check input so precisely
Command line options can be preceded by "/"

See issue #6047 for more details.

svn path=/trunk/; revision=51177

13 years ago[SYSSETUP]
Rafal Harabien [Sun, 27 Mar 2011 21:51:41 +0000 (21:51 +0000)]
[SYSSETUP]
Set HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallDate to install date.
Patch by Edijs Kolesnikovics <terminedijs at yahoo dot com> slightly modified by me
See issue #6044 for more details.

svn path=/trunk/; revision=51176

13 years agoUpdate the Applications to the recent Versions.
Daniel Reimer [Sun, 27 Mar 2011 18:34:22 +0000 (18:34 +0000)]
Update the Applications to the recent Versions.
Add the dlls the C,VB etc Runtime Packs will install into the description.
Remove goOO from rapps.

svn path=/trunk/; revision=51175

13 years ago- Lay out critical system DLLs so that they don't overlap when loaded properly.
Aleksey Bragin [Sun, 27 Mar 2011 16:37:26 +0000 (16:37 +0000)]
- Lay out critical system DLLs so that they don't overlap when loaded properly.

svn path=/trunk/; revision=51173

13 years ago[SERVICES]
Eric Kohl [Sun, 27 Mar 2011 13:12:12 +0000 (13:12 +0000)]
[SERVICES]
ScmWriteDependencies:
- Fixed an off-by-one bug. This bug caused a wrong calculation of the 'DependOnGroup' value data length. Group dependencies were not written properly to the registry.

- Write 'DependOnService' and 'DependOnService' values to the registry only if the dependency strings are not empty. Delete a value if the corresponding dependency string is empty.

This fixes another winetest.

svn path=/trunk/; revision=51172

13 years ago[NTOS/MM]
Aleksey Bragin [Sun, 27 Mar 2011 11:32:55 +0000 (11:32 +0000)]
[NTOS/MM]
- Return STATUS_IMAGE_NOT_AT_BASE when mapping an image section to a different base address. New ntdll loader depends on this and fails to relocate the image if this status is not returned.

svn path=/trunk/; revision=51171

13 years ago[GDI32]
James Tabor [Sun, 27 Mar 2011 05:40:30 +0000 (05:40 +0000)]
[GDI32]
- Finish object attribute support.

svn path=/trunk/; revision=51170

13 years ago[WIN32K]
Rafal Harabien [Sun, 27 Mar 2011 01:12:25 +0000 (01:12 +0000)]
[WIN32K]
Rename IntResetMonitorSize to IntUpdateMonitorSize
Use IntUpdateMonitorSize instead of setting monitor size manually when attaching monitor
Change display device name from VIDEOx to DISPLAYx as it is in Windows (fixes user32:monitor winetest)

[USER32]
Return FALSE in EnumDisplayMonitors if EnumProc returned FALSE (fixes user32:monitor winetest)

svn path=/trunk/; revision=51169

13 years ago[RAPPS]
Olaf Siejka [Sat, 26 Mar 2011 23:53:49 +0000 (23:53 +0000)]
[RAPPS]
- Add DoubleCommander to app list. Russian and Ukrainian translation by Igorko, Polish translation by me.

[CMD]
- Fix Russian translation of cmd. Patch by seven_ro. See bugreport no.#6043

svn path=/trunk/; revision=51168

13 years ago[NTDLL]
Olaf Siejka [Sat, 26 Mar 2011 23:36:56 +0000 (23:36 +0000)]
[NTDLL]
- Fix "entry point not found" harderror parameters. Patch by Thomas Faber
See issue #5983 for more details.

svn path=/trunk/; revision=51167

13 years agoFix duplicated startup version string
Rafal Harabien [Sat, 26 Mar 2011 21:41:49 +0000 (21:41 +0000)]
Fix duplicated startup version string
Patch by Thomas Faber <thfabba at gmx dot de>
See issue #6015 for more details.

svn path=/trunk/; revision=51165

13 years agoDisable some misleading service tests because a test cannot determine wheter or not...
Eric Kohl [Sat, 26 Mar 2011 20:07:09 +0000 (20:07 +0000)]
Disable some misleading service tests because a test cannot determine wheter or not the number of active or inactive services is correct.

svn path=/trunk/; revision=51164

13 years ago[VIDEOPRT]
Rafal Harabien [Sat, 26 Mar 2011 17:49:55 +0000 (17:49 +0000)]
[VIDEOPRT]
Add missing check
Don't assume UNICODE_STRING is NULL-terminated

svn path=/trunk/; revision=51163

13 years ago[GDI32]
Rafal Harabien [Sat, 26 Mar 2011 15:24:05 +0000 (15:24 +0000)]
[GDI32]
Fix gdi32:CreatePen apitest

svn path=/trunk/; revision=51161

13 years ago[GDI32_APITEST]
Rafal Harabien [Sat, 26 Mar 2011 15:23:10 +0000 (15:23 +0000)]
[GDI32_APITEST]
Improve CreatePen and GetCurrentObject tests

svn path=/trunk/; revision=51160

13 years ago[NDIS]
Rafal Harabien [Sat, 26 Mar 2011 15:12:23 +0000 (15:12 +0000)]
[NDIS]

Correct Length value in case string is truncated

svn path=/trunk/; revision=51159

13 years ago[User32]
James Tabor [Sat, 26 Mar 2011 05:31:59 +0000 (05:31 +0000)]
[User32]
- Cleanup edit and add back missing break in combo.

svn path=/trunk/; revision=51148

13 years ago[GDI32]
James Tabor [Sat, 26 Mar 2011 02:10:04 +0000 (02:10 +0000)]
[GDI32]
- Patch by Thomas Faber: GetTextExtentPoint32 must not assume null termination of lpString.

svn path=/trunk/; revision=51147

13 years ago[USER32]
Timo Kreuzer [Sat, 26 Mar 2011 01:20:11 +0000 (01:20 +0000)]
[USER32]
Improve formatting

svn path=/trunk/; revision=51146

13 years ago[Csrss|Win32k]
James Tabor [Sat, 26 Mar 2011 00:43:56 +0000 (00:43 +0000)]
[Csrss|Win32k]
- Enable the desktop class and set the ReactOS variant of csrss back to local desktop class. Now all class tests pass, see bug 4778.

svn path=/trunk/; revision=51145

13 years ago[WIN32K]
Rafal Harabien [Fri, 25 Mar 2011 23:09:06 +0000 (23:09 +0000)]
[WIN32K]

wcsncpy -> RtlStringCbCopyW (part 4/x)
Avoid unneeded allocation

svn path=/trunk/; revision=51144

13 years ago[WIN32K]
Rafal Harabien [Fri, 25 Mar 2011 22:57:46 +0000 (22:57 +0000)]
[WIN32K]

wcsncpy -> safe api (part 3/x)

svn path=/trunk/; revision=51143

13 years ago[WIN32K]
Rafal Harabien [Fri, 25 Mar 2011 22:49:30 +0000 (22:49 +0000)]
[WIN32K]

Fix GDITAG_LDE/TAG_LDE mess

svn path=/trunk/; revision=51142

13 years ago[WIN32K]
Rafal Harabien [Fri, 25 Mar 2011 22:45:59 +0000 (22:45 +0000)]
[WIN32K]

Forgotten in r51139...

svn path=/trunk/; revision=51141

13 years ago[WIN32K]
Rafal Harabien [Fri, 25 Mar 2011 22:36:37 +0000 (22:36 +0000)]
[WIN32K]

Change wcsncpy to safe functions (part 2/x)

svn path=/trunk/; revision=51140

13 years ago[WIN32K]
Rafal Harabien [Fri, 25 Mar 2011 22:34:53 +0000 (22:34 +0000)]
[WIN32K]

Make sure strings returned by internal function RegQueryValue are NULL terminated

svn path=/trunk/; revision=51139

13 years ago[NTOSKRNL]
Rafal Harabien [Fri, 25 Mar 2011 22:28:15 +0000 (22:28 +0000)]
[NTOSKRNL]

Change strncpy calls to RtlStringSbCopyA (PART 1/x)
Fix bug in MmLoadSystemImage which caused FileName parameter to be freed

svn path=/trunk/; revision=51138

13 years ago[USER32]
Rafal Harabien [Fri, 25 Mar 2011 21:58:39 +0000 (21:58 +0000)]
[USER32]
Fix bug causing no NULL termination of strings after conversion in EnumDisplayDevicesA. Fixes one usr32:monitor winetest

svn path=/trunk/; revision=51137

13 years agoForgotten in r51135...
Rafal Harabien [Fri, 25 Mar 2011 21:49:03 +0000 (21:49 +0000)]
Forgotten in r51135...

svn path=/trunk/; revision=51136

13 years ago[PSDK]
Rafal Harabien [Fri, 25 Mar 2011 21:42:48 +0000 (21:42 +0000)]
[PSDK]
Import strsafe.h from mingw-w64. It's more complete compared to our headers

[DDK]
Import ntstrsafe.h from mingw-w64 (converted from strsafe.h). It's more complete compared to our headers

[NTOSKRNL]
Use sizeof instead of magic numbers

Let's use strsafe functions now instead of strncpy/wcsncpy, which doesn't always NULL terminate :)

svn path=/trunk/; revision=51135

13 years ago[SHELL32]
Gabriel Ilardi [Thu, 24 Mar 2011 08:34:49 +0000 (08:34 +0000)]
[SHELL32]
Italian & Spanish fixes + RunFileDlg translations

svn path=/trunk/; revision=51133

13 years ago[BUILD]
Amine Khaldi [Wed, 23 Mar 2011 23:17:45 +0000 (23:17 +0000)]
[BUILD]
- Remove redundant -fms-extensions as we set it globally already.

svn path=/trunk/; revision=51132

13 years agoRevert previous commit
Rafal Harabien [Wed, 23 Mar 2011 20:48:20 +0000 (20:48 +0000)]
Revert previous commit
Sorry... I'll test first next time.

svn path=/trunk/; revision=51131

13 years ago[DDK]
Rafal Harabien [Wed, 23 Mar 2011 20:36:25 +0000 (20:36 +0000)]
[DDK]
Add most of RtlString***W functions based on ANSI versions.

svn path=/trunk/; revision=51130

13 years ago[WIN32K]
Rafal Harabien [Wed, 23 Mar 2011 17:11:40 +0000 (17:11 +0000)]
[WIN32K]
Remove a useless if in cliprgn.c
Patch by Thomas Faber <thfabba at gmx dot de>
See issue #6015 for more details.

svn path=/trunk/; revision=51129

13 years ago[USER32]
Rafal Harabien [Wed, 23 Mar 2011 16:51:26 +0000 (16:51 +0000)]
[USER32]
Gray close button if SC_CLOSE is disabled is sysmenu or class has CS_NOCLOSE flag
See issue #5272 for more details.

svn path=/trunk/; revision=51128

13 years ago[SHELL32]
Rafal Harabien [Wed, 23 Mar 2011 16:22:38 +0000 (16:22 +0000)]
[SHELL32]
Sync RunFileDlg to wine. It was crashing for one char input.
Add "All files (*.*)" filter to RunDlg and OpenWith dialogs.
Improved polish translation.
Translators: please localize rest...

svn path=/trunk/; revision=51127

13 years ago[NTOSKRNL]
Rafal Harabien [Wed, 23 Mar 2011 15:49:44 +0000 (15:49 +0000)]
[NTOSKRNL]
Revert r51108. ProbeForRead doesn't check if memory is readable.
Improve comments and replace trick raising exception with call to ExRaiseAccessViolation.

[WIN32K]
Remove ASSERTs in IntSetSysColors: this function is only called in NtUserSetSysColors in SEH block. It shouldn't crash for NULL pointers.

svn path=/trunk/; revision=51126

13 years ago[WIN32K]
Rafal Harabien [Wed, 23 Mar 2011 15:33:13 +0000 (15:33 +0000)]
[WIN32K]
Check for failed allocations when creating window
See issue #6021 for more details.

svn path=/trunk/; revision=51125

13 years agoJeisson Toscano: Some Spanish translation updates plus some corrections added by...
Gabriel Ilardi [Wed, 23 Mar 2011 14:39:39 +0000 (14:39 +0000)]
Jeisson Toscano: Some Spanish translation updates plus some corrections added by elhoir and me. Bugs: 5891, 5892 and 5897.
See issue #5891 for more details.

svn path=/trunk/; revision=51124

13 years ago[NTDLL/LDR]
Aleksey Bragin [Wed, 23 Mar 2011 12:25:53 +0000 (12:25 +0000)]
[NTDLL/LDR]
- Fix a few bugs (wrong variable usage, wrong variable initialization) which led to incorrect snapping of import address table.
- Wrap LdrpSnapThunk() invocations into SEH.

svn path=/trunk/; revision=51123

13 years agoPaolo Devoti: Some Italian fixes.
Gabriel Ilardi [Wed, 23 Mar 2011 11:56:35 +0000 (11:56 +0000)]
Paolo Devoti: Some Italian fixes.
See issue #5847 for more details.

svn path=/trunk/; revision=51122

13 years ago[NTOS/INBV]
Gabriel Ilardi [Wed, 23 Mar 2011 11:44:35 +0000 (11:44 +0000)]
[NTOS/INBV]
- Update boot screen copyright year.

svn path=/trunk/; revision=51121

13 years ago[NTOS/KE]
Aleksey Bragin [Tue, 22 Mar 2011 16:35:51 +0000 (16:35 +0000)]
[NTOS/KE]
- Remove VirtualBox SYSENTER-hack added in r50991.
- Bring back NT-compatible SYSENTER support detection changed in r50991.

svn path=/trunk/; revision=51120

13 years ago[RTL/HEAP]
Aleksey Bragin [Tue, 22 Mar 2011 16:27:41 +0000 (16:27 +0000)]
[RTL/HEAP]
- Thomas Faber: Use macro instead of manually removing item from the list.
See issue #6016 for more details.

svn path=/trunk/; revision=51119

13 years ago[NTDLL]
Aleksey Bragin [Tue, 22 Mar 2011 12:41:52 +0000 (12:41 +0000)]
[NTDLL]
- Implement LdrpInitializeProcess(). Currently unused.
- Add a whole bunch of supportive PE related code. Used only by the new code, which is not enabled yet in trunk.
- Implement LdrpCheckForLoadedDll().
- Move on to usage of various global vars defined in the new code, rename some of them to match.
- Almost no changes for the codepath in trunk.

svn path=/trunk/; revision=51117

13 years ago[win32k]
Giannis Adamopoulos [Tue, 22 Mar 2011 09:59:36 +0000 (09:59 +0000)]
[win32k]
- Simplify BuildWindowStationNameList a bit

svn path=/trunk/; revision=51116

13 years ago[ntoskrnl]
Giannis Adamopoulos [Tue, 22 Mar 2011 09:19:26 +0000 (09:19 +0000)]
[ntoskrnl]
- Implement calling OkayToCloseProcedure callouts to win32k for desktop and window station objects
- Fix a bug that caused ObpCloseHandle to return success even when OkayToCloseProcedure failed

[win32k]
- Rewrite SetProcessWindowStation to actually set the current window station and close the previous one
- Implement OkayToCloseProcedure callouts from the kernel to prevent closing the current desktop or window station

svn path=/trunk/; revision=51115

13 years ago[NTDLL]
Pierre Schweitzer [Tue, 22 Mar 2011 06:53:56 +0000 (06:53 +0000)]
[NTDLL]
Fixed build

svn path=/trunk/; revision=51114

13 years ago[NTDLL/LDR]
Aleksey Bragin [Mon, 21 Mar 2011 22:58:47 +0000 (22:58 +0000)]
[NTDLL/LDR]
- Implement misc utility functions needed for monstrous LdrpInitializeProcess(). Currently unused.

svn path=/trunk/; revision=51113

13 years agoFix for r51111. Fixes build...
Rafal Harabien [Mon, 21 Mar 2011 18:30:17 +0000 (18:30 +0000)]
Fix for r51111. Fixes build...

svn path=/trunk/; revision=51112

13 years ago[GDI32]
Rafal Harabien [Mon, 21 Mar 2011 17:58:08 +0000 (17:58 +0000)]
[GDI32]
GetTextExtentExPointW doesn't fail if nMaxExtent is negative (only ANSI version does)
Fixes gdi32:GetTextExtentExPoint apitest

svn path=/trunk/; revision=51111

13 years agoFix gdi32:SetSysColors apitest
Rafal Harabien [Mon, 21 Mar 2011 14:52:08 +0000 (14:52 +0000)]
Fix gdi32:SetSysColors apitest

svn path=/trunk/; revision=51110

13 years agoMake sure rectangle is not inverted in Rectangle function
Rafal Harabien [Mon, 21 Mar 2011 14:47:06 +0000 (14:47 +0000)]
Make sure rectangle is not inverted in Rectangle function
Fixes gdi32:Rectangle apitest

svn path=/trunk/; revision=51109

13 years agoFix ProbeForRead. It wasn't ever checking if memory can be accessed. Thanks to big...
Rafal Harabien [Mon, 21 Mar 2011 14:43:56 +0000 (14:43 +0000)]
Fix ProbeForRead. It wasn't ever checking if memory can be accessed. Thanks to big-endian it wasn't breaking MmUserProbeAddress as well. Code is now nearly the same as in ProbeForWrite. It shouldn't break anything. If it does, it's not bug in this code. :)

svn path=/trunk/; revision=51108

13 years agoImprove GetClipRgn and SetSysColors apitests
Rafal Harabien [Mon, 21 Mar 2011 14:36:32 +0000 (14:36 +0000)]
Improve GetClipRgn and SetSysColors apitests

svn path=/trunk/; revision=51107

13 years agoSet last error to ERROR_INVALID_PARAMETER in NtGdiGetRandomRgn if invalid hdc is...
Rafal Harabien [Mon, 21 Mar 2011 14:32:46 +0000 (14:32 +0000)]
Set last error to ERROR_INVALID_PARAMETER in NtGdiGetRandomRgn if invalid hdc is given
Fixes gdi32:GetClipRgn apitest

svn path=/trunk/; revision=51106