Commit graph

45055 commits

Author SHA1 Message Date
James Tabor 4ef3dbc225 [GDI32|User32|Win32k]
- Fix ScrollDC ApiTest.

svn path=/trunk/; revision=51179
2011-03-28 00:17:21 +00:00
Rafal Harabien f21acd6f09 [USER32]
Don't fail if FillRect is called without brush. Fixes user32:uitools winetest

svn path=/trunk/; revision=51178
2011-03-27 23:19:56 +00:00
Rafal Harabien 54cac2ef9e [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
2011-03-27 22:47:59 +00:00
Rafal Harabien 8174c5cfde [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
2011-03-27 21:51:41 +00:00
Daniel Reimer 91eff339fd 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
2011-03-27 18:34:22 +00:00
Aleksey Bragin 29b96f834c - Lay out critical system DLLs so that they don't overlap when loaded properly.
svn path=/trunk/; revision=51173
2011-03-27 16:37:26 +00:00
Eric Kohl 4288ba6306 [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
2011-03-27 13:12:12 +00:00
Aleksey Bragin 828d04705a [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
2011-03-27 11:32:55 +00:00
James Tabor 34bb476056 [GDI32]
- Finish object attribute support.

svn path=/trunk/; revision=51170
2011-03-27 05:40:30 +00:00
Rafal Harabien 8900f7d5d4 [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
2011-03-27 01:12:25 +00:00
Olaf Siejka 47d38c2989 [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
2011-03-26 23:53:49 +00:00
Olaf Siejka 7dfe6edff5 [NTDLL]
- Fix "entry point not found" harderror parameters. Patch by Thomas Faber
See issue #5983 for more details.

svn path=/trunk/; revision=51167
2011-03-26 23:36:56 +00:00
Rafal Harabien 164140d904 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
2011-03-26 21:41:49 +00:00
Eric Kohl ac4083c6d7 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
2011-03-26 20:07:09 +00:00
Rafal Harabien 299f6a7826 [VIDEOPRT]
Add missing check
Don't assume UNICODE_STRING is NULL-terminated

svn path=/trunk/; revision=51163
2011-03-26 17:49:55 +00:00
Rafal Harabien 291012914d [GDI32]
Fix gdi32:CreatePen apitest

svn path=/trunk/; revision=51161
2011-03-26 15:24:05 +00:00
Rafal Harabien 68af0e9cd1 [GDI32_APITEST]
Improve CreatePen and GetCurrentObject tests

svn path=/trunk/; revision=51160
2011-03-26 15:23:10 +00:00
Rafal Harabien 7e914b6e08 [NDIS]
Correct Length value in case string is truncated

svn path=/trunk/; revision=51159
2011-03-26 15:12:23 +00:00
James Tabor 00a64f39cb [User32]
- Cleanup edit and add back missing break in combo.

svn path=/trunk/; revision=51148
2011-03-26 05:31:59 +00:00
James Tabor b294b7d774 [GDI32]
- Patch by Thomas Faber: GetTextExtentPoint32 must not assume null termination of lpString.

svn path=/trunk/; revision=51147
2011-03-26 02:10:04 +00:00
Timo Kreuzer 6af9026458 [USER32]
Improve formatting

svn path=/trunk/; revision=51146
2011-03-26 01:20:11 +00:00
James Tabor 6e23217097 [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
2011-03-26 00:43:56 +00:00
Rafal Harabien 61b6e9119f [WIN32K]
wcsncpy -> RtlStringCbCopyW (part 4/x)
Avoid unneeded allocation

svn path=/trunk/; revision=51144
2011-03-25 23:09:06 +00:00
Rafal Harabien 03a8c91d75 [WIN32K]
wcsncpy -> safe api (part 3/x)

svn path=/trunk/; revision=51143
2011-03-25 22:57:46 +00:00
Rafal Harabien 00cfa29229 [WIN32K]
Fix GDITAG_LDE/TAG_LDE mess

svn path=/trunk/; revision=51142
2011-03-25 22:49:30 +00:00
Rafal Harabien eeaccfdfe1 [WIN32K]
Forgotten in r51139...

svn path=/trunk/; revision=51141
2011-03-25 22:45:59 +00:00
Rafal Harabien 04d67b9ebd [WIN32K]
Change wcsncpy to safe functions (part 2/x)

svn path=/trunk/; revision=51140
2011-03-25 22:36:37 +00:00
Rafal Harabien 0b986764d4 [WIN32K]
Make sure strings returned by internal function RegQueryValue are NULL terminated

svn path=/trunk/; revision=51139
2011-03-25 22:34:53 +00:00
Rafal Harabien 547a7d215f [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
2011-03-25 22:28:15 +00:00
Rafal Harabien 54dc46543f [USER32]
Fix bug causing no NULL termination of strings after conversion in EnumDisplayDevicesA. Fixes one usr32:monitor winetest

svn path=/trunk/; revision=51137
2011-03-25 21:58:39 +00:00
Rafal Harabien c14b8afbdc Forgotten in r51135...
svn path=/trunk/; revision=51136
2011-03-25 21:49:03 +00:00
Rafal Harabien e0191e8920 [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
2011-03-25 21:42:48 +00:00
Gabriel Ilardi 855227336f [SHELL32]
Italian & Spanish fixes + RunFileDlg translations

svn path=/trunk/; revision=51133
2011-03-24 08:34:49 +00:00
Amine Khaldi 70a12312e3 [BUILD]
- Remove redundant -fms-extensions as we set it globally already.

svn path=/trunk/; revision=51132
2011-03-23 23:17:45 +00:00
Rafal Harabien 58789369ad Revert previous commit
Sorry... I'll test first next time.

svn path=/trunk/; revision=51131
2011-03-23 20:48:20 +00:00
Rafal Harabien a3c683546c [DDK]
Add most of RtlString***W functions based on ANSI versions.

svn path=/trunk/; revision=51130
2011-03-23 20:36:25 +00:00
Rafal Harabien 4732a3af3d [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
2011-03-23 17:11:40 +00:00
Rafal Harabien cd1a61c18f [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
2011-03-23 16:51:26 +00:00
Rafal Harabien fcd25281d9 [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
2011-03-23 16:22:38 +00:00
Rafal Harabien cd22887a97 [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
2011-03-23 15:49:44 +00:00
Rafal Harabien 2165af8818 [WIN32K]
Check for failed allocations when creating window
See issue #6021 for more details.

svn path=/trunk/; revision=51125
2011-03-23 15:33:13 +00:00
Gabriel Ilardi aeddc6ac0c 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
2011-03-23 14:39:39 +00:00
Aleksey Bragin 17d6f165a7 [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
2011-03-23 12:25:53 +00:00
Gabriel Ilardi 906bcad66a Paolo Devoti: Some Italian fixes.
See issue #5847 for more details.

svn path=/trunk/; revision=51122
2011-03-23 11:56:35 +00:00
Gabriel Ilardi d312252d26 [NTOS/INBV]
- Update boot screen copyright year.

svn path=/trunk/; revision=51121
2011-03-23 11:44:35 +00:00
Aleksey Bragin cc6c8e90e2 [NTOS/KE]
- Remove VirtualBox SYSENTER-hack added in r50991.
- Bring back NT-compatible SYSENTER support detection changed in r50991.

svn path=/trunk/; revision=51120
2011-03-22 16:35:51 +00:00
Aleksey Bragin 4fb00286d5 [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
2011-03-22 16:27:41 +00:00
Aleksey Bragin 64e9e4c196 [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
2011-03-22 12:41:52 +00:00
Giannis Adamopoulos 4a05e4ef29 [win32k]
- Simplify BuildWindowStationNameList a bit

svn path=/trunk/; revision=51116
2011-03-22 09:59:36 +00:00
Giannis Adamopoulos 8cf95d1319 [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
2011-03-22 09:19:26 +00:00