Commit graph

45045 commits

Author SHA1 Message Date
Johannes Anderwald 542a951d46 [TEE]
- TEE should overwrite existing file
- Patch by vins8920 hotmail 
See issue #6022 for more details.

svn path=/trunk/; revision=51226
2011-04-02 15:15:08 +00:00
Rafal Harabien 88e51aaa47 [SYSTEMINFO]
* Fix Domain field
* Get rid of TCHAR
* Translate System Up Time to polish

svn path=/trunk/; revision=51225
2011-04-02 14:54:24 +00:00
Giannis Adamopoulos 0857319218 [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
2011-04-02 10:12:44 +00:00
Aleksey Bragin 1d045ebeb3 [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
2011-04-02 09:20:16 +00:00
Rafal Harabien f4f2b68256 [ADVAPI32]
* Fix bug in RegQueryValueExA, which causes buffer overflow
* Fixes systeminfo in ReactOS
See issue #6050 for more details.

svn path=/trunk/; revision=51222
2011-04-01 22:10:52 +00:00
Rafal Harabien 7c126a9a69 [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
2011-04-01 18:58:12 +00:00
Aleksey Bragin 472df5e17a - Fix build. Happens.
svn path=/trunk/; revision=51218
2011-04-01 12:18:54 +00:00
Aleksey Bragin 0ca9a93ca6 [KERNEL32]
- Implement a simple version of BasepGetDllPath()/BasepGetProcessPath().

svn path=/trunk/; revision=51217
2011-04-01 10:06:03 +00:00
James Tabor 951d604b0c [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
2011-03-31 21:20:06 +00:00
Rafal Harabien 04afecea16 [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
2011-03-31 16:51:19 +00:00
Johannes Anderwald 0a3b87a1ef - Fix build attempt #1
svn path=/trunk/; revision=51214
2011-03-31 16:21:38 +00:00
Johannes Anderwald 62d4baba03 [PSDK]
- More header updates

svn path=/trunk/; revision=51213
2011-03-31 16:16:10 +00:00
Rafal Harabien ddbfebc22a [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
2011-03-31 15:56:24 +00:00
Aleksey Bragin 73b6d5b3d6 [NTDLL]
- Change Context/Parameter in LdrEnumerateLoadedModules() to PVOID (previous ULONG type was a typo).

svn path=/trunk/; revision=51210
2011-03-31 11:32:57 +00:00
Aleksey Bragin c7b59706ce - Fix build.
svn path=/trunk/; revision=51209
2011-03-30 21:33:57 +00:00
Aleksey Bragin b98f8ccd88 [NTDLL]
- Implement LdrEnumerateLoadedModules().

svn path=/trunk/; revision=51208
2011-03-30 21:21:42 +00:00
Aleksey Bragin b94139f67f [NTDLL]
- Add RtlDosApplyFileIsolationRedirection_Ustr() stub.

svn path=/trunk/; revision=51207
2011-03-30 20:56:05 +00:00
Olaf Siejka 5882dc9038 [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
2011-03-30 18:49:01 +00:00
Gabriel Ilardi e37934bec0 [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
2011-03-30 13:02:57 +00:00
Aleksey Bragin 550e976e24 [NTOS/KE]
- Clear KernelApcPending flag every time the Kernel APCs queue is not empty.

svn path=/trunk/; revision=51204
2011-03-30 11:05:40 +00:00
James Tabor 88339aa831 [User32|Win32k]
- Move EnableWindow to Win32k.
- Fix sign in class function.

svn path=/trunk/; revision=51203
2011-03-30 08:19:52 +00:00
James Tabor 815eb466ba [User32]
- Connect the rest of the pump hooks and start tracking from application testing.

svn path=/trunk/; revision=51202
2011-03-30 01:26:54 +00:00
James Tabor 0d6b3c7ebd [User32|Win32k]
- Update NtUser pump functions, based on known values. Move one more function to the right place.

svn path=/trunk/; revision=51201
2011-03-30 01:00:28 +00:00
James Tabor f42a29cf5c [Win32k]
- Move IntGdiSetBrushOwner and IntGdiSetRegionOwner out of the export section.

svn path=/trunk/; revision=51200
2011-03-29 23:44:22 +00:00
Olaf Siejka c07f34ceee [SHELL32]
- Fix a bug, by Johannes Anderwald

svn path=/trunk/; revision=51199
2011-03-29 21:59:57 +00:00
Olaf Siejka 615f45bf9a [SHELL32]
- Fix build, borked by copypasta

svn path=/trunk/; revision=51198
2011-03-29 21:48:30 +00:00
Aleksey Bragin a77d09adf9 [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
2011-03-29 21:48:13 +00:00
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
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