Commit graph

46178 commits

Author SHA1 Message Date
Sylvain Petreolle
594dd8de49 [RBUILD]
Use msvcrt as default crt for DLLs/OCX modules.

svn path=/trunk/; revision=51247
2011-04-03 22:09:07 +00:00
Aleksey Bragin
53af1b545e [KERNEL32]
- Implement BasepMapModuleHandle and use it in GetModuleFileNameW. Later, it'll be used by other module and loader related functions in kernel32.
- Wrap a call to RtlImageNtHeader into SEH, because winetest and for some reason FF installer call it with incorrect handle and expect it to not crash (Windows also has SEH, but inside RtlImageNtHeader).
- Fix null-termination problems in GetModuleFileNameA, and incorrect calculation of characters returned in GetModuleFileNameW.
- Various smaller improvements to the rewritten code (missing parenthesis, better variable names, use pretty LDR_ macros from http://msdn.microsoft.com/en-us/library/ms684179(v=vs.85).aspx ).
- Thanks for your feedback!
See issue #6079 for more details.

svn path=/trunk/; revision=51246
2011-04-03 21:46:42 +00:00
James Tabor
526f2d84e4 [Win32k]
- Fix GetPeekMessage apitest that was broken when fixing the last two post quite message test.

svn path=/trunk/; revision=51245
2011-04-03 21:12:40 +00:00
Sylvain Petreolle
e8b4cecff1 [CMAKE]
Merge r51243.

svn path=/branches/cmake-bringup/; revision=51244
2011-04-03 20:36:28 +00:00
Sylvain Petreolle
9d955773ac [CONSOLE]
Fix french resource file name.
Dedicated to HeisSpiter & JanusMagnus.


svn path=/trunk/; revision=51243
2011-04-03 20:26:57 +00:00
Timo Kreuzer
02ab41ff4d [CMAKE]
- Add HAVE_GETPAGESIZE to host config.h. should fix linux build (fix by Sylvain)
- uncomment @echo off in configure script
- Move a DECLSPEC_NORETURN

svn path=/branches/cmake-bringup/; revision=51242
2011-04-03 20:21:04 +00:00
Ged Murphy
4c2b7d67a1 [FULLFAT]
- Add the kernel APIs required by the library

svn path=/trunk/; revision=51241
2011-04-03 16:22:15 +00:00
Eric Kohl
8907f384eb [LSASRV]
Fix typos in lsa.idl (LsarLookupNames2, LsarLookupNames3 and LsarLookupNames4) and fix resulting errors in lsasrv.dll.

svn path=/trunk/; revision=51240
2011-04-03 14:51:18 +00:00
James Tabor
f66194544b [Win32k]
- Fix DDE test crash. it's a band-aide.
- Fix the last two post quite message test, all pass now.

svn path=/trunk/; revision=51239
2011-04-03 12:22:00 +00:00
Aleksey Bragin
629be1865d [KERNEL32]
- Rewrite large part of ldr.c code, including FreeLibrary, FreeLibraryAndExitThread, GetModuleFileNameA/W, GetModuleHandleA/W, ExA/W. Now they properly validate parameters, common code for getting module handles is factored into a standalone function which is reused for all 4 APIs instead of duplicating almost the same code four times. GetModuleFileNameA became a typical A->W wrapper around GetModuleFileNameW so duplication is also removed there.
- Getting module handle also became a correct implementation because now it takes process's dll path into account instead of always assuming a "default" one (which is incompatible with a new ntdll loader).
- Fixed a typo in BasepGetProcessPath which led to incorrect value being returned. Downgrade two debugprints.

svn path=/trunk/; revision=51238
2011-04-03 09:42:08 +00:00
James Tabor
6f4a96d594 [Win32k]
- Fix the return checks for  co_MsqWaitForNewMessages, now the wait_idle test no longer randomly crash, also tested the testkbd check from bug 3212. Setup co_MsqWaitForNewMessages to act like get message, checking QS bits and dispatching send messages if queued.
- Added desktop hit test data point, now the new track mouse timer code works. Not yet committed.

svn path=/trunk/; revision=51237
2011-04-03 02:14:14 +00:00
Ged Murphy
f6c92d8d84 [FULLFAT]
- Map the memory functions onto kernel APIs

svn path=/trunk/; revision=51236
2011-04-02 18:51:41 +00:00
Aleksey Bragin
901b5f0d91 [NDK]
- Add RTL_PERTHREAD_CURDIR structure definition.
- Fix RTL_DRIVE_LETTER_CURDIR type vs. structure definition typo (adding more underscores is a truly universal fix!).

svn path=/trunk/; revision=51235
2011-04-02 18:32:04 +00:00
Ged Murphy
d7899fc474 [FULLFAT]
- Fix warnings for both msc and rbuild
- These fixes will be applied to the FullFat source too, so I've not bothered with a local ros.diff

svn path=/trunk/; revision=51234
2011-04-02 18:12:31 +00:00
Rafal Harabien
a27aa83904 [SYSTEMINFO]
Clean it up a bit
Prepare for CSV format support

svn path=/trunk/; revision=51233
2011-04-02 17:51:09 +00:00
Ged Murphy
50fd13ae9c [FULLFAT]
- Switch UTF-16 support on throughout the library.

svn path=/trunk/; revision=51230
2011-04-02 16:37:25 +00:00
Ged Murphy
271454653d [FULLFAT]
- Update FullFat to the latest SVN code on James' recommendation.
- This release has many advantages over the previous, including full UTF-8 and UTF-16 support and the ability to modify attributes and timestamps. All of which are important for ros.
- It currently has a few warnings (in both gcc and msc), so I've had to turn allow warnings on.

svn path=/trunk/; revision=51229
2011-04-02 16:31:43 +00:00
Rafal Harabien
888f3912cb [SYSTEMINFO]
* Fix System Locale field
* Fix Input Locale field

svn path=/trunk/; revision=51228
2011-04-02 15:50:45 +00:00
Ged Murphy
91e657f782 {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
2011-04-02 15:22:48 +00:00
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
Jérôme Gardou
1d2b1c4a24 [CMAKE]
- Get rid of buildno_header target, builno.h is generated at configure time.

svn path=/branches/cmake-bringup/; revision=51220
2011-04-01 17:34:49 +00:00
Jérôme Gardou
ab94ebe598 [CMAKE]
- Do not make an artificial target for gendib generated files.
GENERATED property for source files is there for that and is automatically set by cmake for custom command OUTPUT files.

svn path=/branches/cmake-bringup/; revision=51219
2011-04-01 16:59:14 +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