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

13 years agoDon't assume WM_DESTROY is last message - listview sends notification after it. Confi...
Rafal Harabien [Mon, 21 Mar 2011 14:21:16 +0000 (14:21 +0000)]
Don't assume WM_DESTROY is last message - listview sends notification after it. Confirmed in Windows 7.
See issue #6026 for more details.

svn path=/trunk/; revision=51105

13 years agoSet last error to ERROR_PROC_NOT_FOUND in case of NULL module in GetProcAddress
Rafal Harabien [Mon, 21 Mar 2011 14:16:01 +0000 (14:16 +0000)]
Set last error to ERROR_PROC_NOT_FOUND in case of NULL module in GetProcAddress
Check for error when freeing datafile
Fixes 2 winetests

svn path=/trunk/; revision=51104

13 years agoDon't destroy ImageList used by ListView if control was created without LVS_SHAREIMAG...
Rafal Harabien [Mon, 21 Mar 2011 14:07:29 +0000 (14:07 +0000)]
Don't destroy ImageList used by ListView if control was created without LVS_SHAREIMAGELISTS flag
Fixes crashes when closing RegEdit, RApps and hardware tab in mouse settings.

svn path=/trunk/; revision=51103

13 years ago[Win32k]
James Tabor [Mon, 21 Mar 2011 02:20:24 +0000 (02:20 +0000)]
[Win32k]
- Setup RectInRegion for internal use.

svn path=/trunk/; revision=51102

13 years ago[win32k]
Giannis Adamopoulos [Sun, 20 Mar 2011 14:28:12 +0000 (14:28 +0000)]
[win32k]
- Fix disconnecting from a desktop when IntSetThreadDesktop gets NULL parameter

svn path=/trunk/; revision=51101

13 years ago[User32_ApiTests]
James Tabor [Sun, 20 Mar 2011 12:59:07 +0000 (12:59 +0000)]
[User32_ApiTests]
- Patch by Thomas Faber: Tests for new DeferWindowPos implementation. See bug 6025.

svn path=/trunk/; revision=51100

13 years ago- Fix a miss var for testing.
James Tabor [Sun, 20 Mar 2011 11:29:51 +0000 (11:29 +0000)]
- Fix a miss var for testing.

svn path=/trunk/; revision=51099

13 years ago[CACLS]
Olaf Siejka [Sun, 20 Mar 2011 11:25:34 +0000 (11:25 +0000)]
[CACLS]
- Danish translation by Wilhelm Wiens

[RAPPS]
- Polish translations of SumatraPDF entry by Adam Stachowicz

[SETUP]
- Polish translation of 'VBR only' in the reactos.exe

svn path=/trunk/; revision=51098

13 years ago[MSI]
Pierre Schweitzer [Sun, 20 Mar 2011 10:10:52 +0000 (10:10 +0000)]
[MSI]
Fix build according to Christoph recommandations

svn path=/trunk/; revision=51097

13 years ago[msi]
Christoph von Wittich [Sun, 20 Mar 2011 08:47:41 +0000 (08:47 +0000)]
[msi]
-partial sync to wine 1.3.16

svn path=/trunk/; revision=51096

13 years ago[User32]
James Tabor [Sun, 20 Mar 2011 01:29:39 +0000 (01:29 +0000)]
[User32]
- Finishing with setting window class types from the window proc. Next step will be checking it in the User32 message exchange instead of using the class structure. This was recognized with the MDI tests, this too could fix the combo listbox issue.
- Minor static test fixes and miscellaneous notes.

svn path=/trunk/; revision=51095

13 years ago[Win32k]
James Tabor [Sun, 20 Mar 2011 01:09:15 +0000 (01:09 +0000)]
[Win32k]
- Move the appropriate code from window.c to winpos.c, decreasing the size in window.c. Adding proper checks for maximums and desktop/message windows.
- Started MinMaximize, experimental, based on an idea and boredom, needing a good test case. Also away of troubleshooting our window positioning with minimize and maximizing windows.

svn path=/trunk/; revision=51094

13 years ago[Win32k]
James Tabor [Sun, 20 Mar 2011 00:21:45 +0000 (00:21 +0000)]
[Win32k]
- Fix sign for BeginDeferWindowPos(-1) test, see bug 6025.

svn path=/trunk/; revision=51093

13 years ago[SERVICES]
Eric Kohl [Sat, 19 Mar 2011 19:14:53 +0000 (19:14 +0000)]
[SERVICES]
RQueryServiceConfig2A/W must return ERROR_SUCCESS if the Description value of a service does not exist. This fixes a winetest failure.

svn path=/trunk/; revision=51092

13 years ago[DESK.CPL]
Olaf Siejka [Sat, 19 Mar 2011 14:11:37 +0000 (14:11 +0000)]
[DESK.CPL]
- Activate "Show window contents while dragging" button for all languages present. Spotted by Piotr_hh
See issue #6002 for more details.

svn path=/trunk/; revision=51091

13 years ago[HAL]
Pierre Schweitzer [Sat, 19 Mar 2011 13:59:23 +0000 (13:59 +0000)]
[HAL]
Remove HAL entry point (HalInitSystem) from generic lib, and move it to generic libs that handle different build flags.
This fixes HAL MP entry point, for example

svn path=/trunk/; revision=51090

13 years ago[Win32k]
James Tabor [Fri, 18 Mar 2011 22:41:22 +0000 (22:41 +0000)]
[Win32k]
- Implement the set of DeferWindowPos functions. Regedit (one of many application) uses it and allocated three when it should be four. This was a good test to verify the batch list growing routine. Instead of drawing per DeferWindowPos call, now a real list is created and run down as a batch.
- ReactOS should handle this the correct way and a good test case is located here: http://bugs.winehq.org/show_bug.cgi?id=23187
- The code is from wine and modified for the use in ReactOS.

svn path=/trunk/; revision=51089

13 years ago[NTDLL]
Aleksey Bragin [Fri, 18 Mar 2011 20:23:18 +0000 (20:23 +0000)]
[NTDLL]
- Rewrite the very first initialization routine: LdrpInit().
- Rename LdrpInit2() to LdrpInitializeProcess(), and LdrpAttachThread() to LdrpInitializeThread(). Still old code there.

svn path=/trunk/; revision=51088

13 years ago[Y]
Johannes Anderwald [Fri, 18 Mar 2011 16:28:21 +0000 (16:28 +0000)]
[Y]
- Fix argument checking
- Close correct handle
- Patch by Kuts Alexey
- bug 6004

svn path=/trunk/; revision=51087

13 years ago[win32k]
Giannis Adamopoulos [Thu, 17 Mar 2011 20:32:24 +0000 (20:32 +0000)]
[win32k]
- SetThreadDesktop: Actually set hdesk in PTHREADINFO
Now GetThreadDesktop doesn't return 0

svn path=/trunk/; revision=51086

13 years ago[NTDLL/LDR]
Aleksey Bragin [Thu, 17 Mar 2011 17:47:42 +0000 (17:47 +0000)]
[NTDLL/LDR]
- Use LdrpRunInitializeRoutines() instead of the old LdrpAttachThread(). This adds calls to unimplemented context functions, but since they were not called at all by the old code it shouldn't change the behaviour significantly. Besides of that, it's start of significant changes in the "mainstream" codepaths, so regressions might occur.

svn path=/trunk/; revision=51085

13 years ago[NTDLL]
Aleksey Bragin [Thu, 17 Mar 2011 14:25:59 +0000 (14:25 +0000)]
[NTDLL]
- Implement fetching address of a security cookie in an image. Still not used even if it's present there.
- Silence some debug prints.

svn path=/trunk/; revision=51084

13 years ago[RTL]
Aleksey Bragin [Thu, 17 Mar 2011 14:24:34 +0000 (14:24 +0000)]
[RTL]
- Limit unimplemented warnings about RtlActivateActivationContextUnsafeFast calls for now so that they don't flood the log too much.

svn path=/trunk/; revision=51083

13 years ago[win32k]
Giannis Adamopoulos [Thu, 17 Mar 2011 13:19:18 +0000 (13:19 +0000)]
[win32k]
- Improve the definition and simplify NtUserCreateDesktop, NtUserOpenDesktop, NtUserCreateWindowStation, NtUserOpenWindowStation

svn path=/trunk/; revision=51082

13 years ago- Fix build.
Aleksey Bragin [Thu, 17 Mar 2011 11:20:16 +0000 (11:20 +0000)]
- Fix build.

svn path=/trunk/; revision=51080

13 years ago[NTDLL/LDR]
Aleksey Bragin [Thu, 17 Mar 2011 10:59:54 +0000 (10:59 +0000)]
[NTDLL/LDR]
- Fix a typo in LdrQueryProcessModuleInformationEx().
- Stub LdrpEnsureLoaderLockIsHeld() for now.
- Improve LdrpRunInitializeRoutines() and enable it (just compiling, it's not in the running path of the code yet).
- Fix an uninit var warning in ldrpe.c
- Implement LdrpClearLoadInProgress().
- Rename "ExeModule" to a more consistent LdrpImageEntry.

svn path=/trunk/; revision=51079

13 years ago[GENERAL]
Roel Messiant [Wed, 16 Mar 2011 21:07:25 +0000 (21:07 +0000)]
[GENERAL]
Patch by Rafal Harabien (rafalh1992 at o2 dot pl)
- Change () to (VOID) in function declarators. Part 6/XX.
[USETUP]
Patch by Rafal Harabien (rafalh1992 at o2 dot pl)
- Initialize Offset field of partition list. Spotted using DPH.

svn path=/trunk/; revision=51072

13 years ago[SHELL32]
Colin Finck [Wed, 16 Mar 2011 16:46:37 +0000 (16:46 +0000)]
[SHELL32]
Thomas Faber
- Fix memory leak in RenderHDROP.
  Modifications by me to have just a single return statement in the function.

See issue #5998 for more details.

svn path=/trunk/; revision=51069

13 years ago[WDMAUD_KERNEL]
Johannes Anderwald [Wed, 16 Mar 2011 15:18:52 +0000 (15:18 +0000)]
[WDMAUD_KERNEL]
- Don't alter the IoStatus.Information field with the number of bytes written
- Fixes sndrec32 crash (now also working in ReactOS)
- Should be merged to 0.3.13 ;)

svn path=/trunk/; revision=51067

13 years ago[NTDLL/LDR]
Aleksey Bragin [Wed, 16 Mar 2011 14:22:15 +0000 (14:22 +0000)]
[NTDLL/LDR]
- Rewrite LdrQueryProcessModuleInformation.
- Start committing PE loader related code (quite a lot of it, and still not all parts yet), unused right now so won't break anything.

svn path=/trunk/; revision=51065