Commit graph

46330 commits

Author SHA1 Message Date
Olaf Siejka
ed27eba843 [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
2011-03-29 21:41:14 +00:00
Olaf Siejka
c98d64bacb [SYSSETUP]
- Fix compilation warning. Patch by Edijs Kolesnikovics <terminedijs at yahoo dot com>
See issue #6059 for more details.

svn path=/trunk/; revision=51195
2011-03-29 21:21:18 +00:00
Timo Kreuzer
2127ff030c [WIN32K]
Addendum to r51188: set last error, when overflow check fails.
Fixes test regression.

svn path=/trunk/; revision=51194
2011-03-29 15:35:10 +00:00
Aleksey Bragin
6771858659 [RTL]
- Turn off LdrVerifyMappedImageMatchesChecksum() verification for now. (should have been part of r51192).

svn path=/trunk/; revision=51193
2011-03-29 11:00:34 +00:00
Aleksey Bragin
fb0b4f31c4 [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
2011-03-29 10:56:28 +00:00
Timo Kreuzer
d7e597d60e [WIN32K]
- Move IntGdiSetBrushOwner to brush.c
- Move IntGdiSetDCOwnerEx to dclife.c
- Move IntGdiSetRegionOwner to region.c

svn path=/trunk/; revision=51191
2011-03-29 10:25:10 +00:00
Timo Kreuzer
e78589d99a [WIN32K]
Disable system service hooks, that got accidentally enabled.


svn path=/trunk/; revision=51190
2011-03-29 10:07:11 +00:00
Timo Kreuzer
854e23cc3e [WIN32K]
Make GdiTableSection a static variable and use it only from gdiobj.c

svn path=/trunk/; revision=51189
2011-03-29 10:02:38 +00:00
Timo Kreuzer
216026918d [WIN32K]
Fix parameter check and buffer probing in NtUserSetSysColors

svn path=/trunk/; revision=51188
2011-03-29 09:52:39 +00:00
James Tabor
0bf0c70444 [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
2011-03-29 05:53:34 +00:00
James Tabor
827e75cb89 [User32]
- Fix select old brush in FillRect.

svn path=/trunk/; revision=51186
2011-03-29 05:11:02 +00:00
James Tabor
9e22fe5962 [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
2011-03-29 02:57:48 +00:00
Rafal Harabien
c5dad4998c [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
2011-03-28 20:52:27 +00:00
Timo Kreuzer
9f5aa51751 [CMAKE/AVIFIL32]
Move utf-8 resources back into rsrc.rc, move avifile_Bg.rc to the bottom. Fixes compilation with MSVC

svn path=/branches/cmake-bringup/; revision=51183
2011-03-28 14:17:26 +00:00
Timo Kreuzer
cabc5ed079 [CMAKE/ROSSYM]
Implement some dummy functions for MSVC. ntoskrnl links now.

svn path=/branches/cmake-bringup/; revision=51182
2011-03-28 11:59:37 +00:00
Timo Kreuzer
0d3a397198 [NTOSKRNL]
Move macro definition out of macro instantiation.
Fixes compilation with MSVC

svn path=/branches/cmake-bringup/; revision=51181
2011-03-28 11:58:46 +00:00
Timo Kreuzer
4346778201 [CMAKE]
move the EXTERN _KiSystemService:PROC from syscalls.inc to zw.S. Fixes build of ntdll with MSVC

svn path=/branches/cmake-bringup/; revision=51180
2011-03-28 11:27:08 +00:00
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
Amine Khaldi
baa1116143 [CMAKE]
- Alter base addresses to prevent kernel32 relocation.
- Fixes 2nd stage hang.

svn path=/branches/cmake-bringup/; revision=51174
2011-03-27 17:44:53 +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
Amine Khaldi
475719f162 [CMAKE]
- Sync with trunk r51165.

svn path=/branches/cmake-bringup/; revision=51166
2011-03-26 23:14:25 +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
Amine Khaldi
56e859054d [CMAKE]
- Merge the win32k change from r51126.

svn path=/branches/cmake-bringup/; revision=51162
2011-03-26 16:56:24 +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
Amine Khaldi
9518b8f2a7 [CMAKE]
- Fix normaliz exports.

svn path=/branches/cmake-bringup/; revision=51158
2011-03-26 14:40:09 +00:00
Timo Kreuzer
9bc2dffdfa [CMAKE]
Fix build

svn path=/branches/cmake-bringup/; revision=51157
2011-03-26 13:33:46 +00:00
Amine Khaldi
66d7842e82 [CMAKE]
- Fix resource compilation with windres for 2.8.4

svn path=/branches/cmake-bringup/; revision=51156
2011-03-26 13:31:09 +00:00
Timo Kreuzer
cfa45698fb [CMAKE]
Convert normaliz to spec

svn path=/branches/cmake-bringup/; revision=51155
2011-03-26 13:30:16 +00:00
Amine Khaldi
785bea480a [CMAKE]
- Sync with trunk r51050.

svn path=/branches/cmake-bringup/; revision=51154
2011-03-26 13:00:21 +00:00
Jérôme Gardou
e8a0827c67 [CMAKE]
- fix cmake version check

svn path=/branches/cmake-bringup/; revision=51153
2011-03-26 12:36:15 +00:00
Jérôme Gardou
04410bf196 [CMAKE]
- wrap cmake 2.8.4 (which is > 2.8.2, ah ah) policy into right checks
  - put it in the right place

svn path=/branches/cmake-bringup/; revision=51152
2011-03-26 12:31:05 +00:00
Timo Kreuzer
3b76f1e67a [CMAKE]
define isinf to !_finite to fix MSVC build

svn path=/branches/cmake-bringup/; revision=51151
2011-03-26 11:43:22 +00:00
Timo Kreuzer
45fb05920d [CMAKE]
Fix wined3d dll filename for imports

svn path=/branches/cmake-bringup/; revision=51150
2011-03-26 11:37:13 +00:00
Jérôme Gardou
6765eed6e2 [CMAKE]
- cmake 2.8.4 comes with a new policy, set the needed behaviour.

svn path=/branches/cmake-bringup/; revision=51149
2011-03-26 11:11:46 +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