Steven Edwards [Mon, 8 Aug 2005 15:01:03 +0000 (15:01 +0000)]
add setupapi test for stringtable functions. At this time they only pass on Ros and Windows 2000. I will fix the test to pass on later versions of Windows soon.
svn path=/trunk/; revision=17203
Maarten Bosma [Mon, 8 Aug 2005 14:54:24 +0000 (14:54 +0000)]
Remove exclamation mark that does not belong there. Thanks to Salamander again.
svn path=/trunk/; revision=17202
Maarten Bosma [Mon, 8 Aug 2005 14:20:05 +0000 (14:20 +0000)]
Forgot it again. :)
svn path=/trunk/; revision=17201
Maarten Bosma [Mon, 8 Aug 2005 14:19:20 +0000 (14:19 +0000)]
Fix wrong syntax, missing file and non existing module in makefile. Thanks to Salamander and Usurp.
svn path=/trunk/; revision=17200
Maarten Bosma [Mon, 8 Aug 2005 13:29:50 +0000 (13:29 +0000)]
The beginning of a ddraw implementation. Does not work yet for unknown reason.
svn path=/trunk/; revision=17199
Thomas Bluemel [Mon, 8 Aug 2005 10:54:32 +0000 (10:54 +0000)]
enter a critical region before looking up a CID handle
svn path=/trunk/; revision=17198
Thomas Bluemel [Mon, 8 Aug 2005 10:41:34 +0000 (10:41 +0000)]
delete no longer used file
svn path=/trunk/; revision=17197
Thomas Bluemel [Mon, 8 Aug 2005 10:08:34 +0000 (10:08 +0000)]
unlock the CID in PsLookupProcessByProcessId, PsLookupProcessThreadByCid and PsLookupThreadByThreadId when the lookup succeeded, not failed
svn path=/trunk/; revision=17196
Filip Navara [Mon, 8 Aug 2005 09:24:20 +0000 (09:24 +0000)]
Revert part of #17156 and #17157 changes.
svn path=/trunk/; revision=17195
Art Yerkes [Mon, 8 Aug 2005 04:26:23 +0000 (04:26 +0000)]
Fixes for various 64-bit hosting problems.
svn path=/trunk/; revision=17194
Hartmut Birr [Mon, 8 Aug 2005 01:47:52 +0000 (01:47 +0000)]
Fixed the load count in LdrpDetachProcess. That made it again possible to call the dll entry with DLL_PROCESS_DETACH.
svn path=/trunk/; revision=17193
Thomas Bluemel [Mon, 8 Aug 2005 00:45:04 +0000 (00:45 +0000)]
use loops instead of gotos
svn path=/trunk/; revision=17192
Thomas Bluemel [Sun, 7 Aug 2005 23:43:58 +0000 (23:43 +0000)]
directly translate handles to indexes in ex/handle.c
svn path=/trunk/; revision=17191
Thomas Bluemel [Sun, 7 Aug 2005 23:37:59 +0000 (23:37 +0000)]
use the correct pointer to free the string. Thx to Hartmut for spotting this bug
svn path=/trunk/; revision=17190
Alex Ionescu [Sun, 7 Aug 2005 23:22:18 +0000 (23:22 +0000)]
Retry waiting if STATUS_ALERTED is returned
svn path=/trunk/; revision=17189
Thomas Bluemel [Sun, 7 Aug 2005 23:19:15 +0000 (23:19 +0000)]
RtlFreeHandle only should call RtlIsValidHandle in debug builds.
svn path=/trunk/; revision=17188
Alex Ionescu [Sun, 7 Aug 2005 23:18:40 +0000 (23:18 +0000)]
Fix horridly wrong SignalObjectAndWait return values, should make more wine tests pass
svn path=/trunk/; revision=17187
Hartmut Birr [Sun, 7 Aug 2005 23:08:07 +0000 (23:08 +0000)]
Allocate the map registers according to the dma controllers properties (boundary and highest possible address).
svn path=/trunk/; revision=17186
Hartmut Birr [Sun, 7 Aug 2005 23:07:17 +0000 (23:07 +0000)]
- Changed MmGetContinuousPages from using an alignment to using a boundary.
- Removed MmAllocateContiguousAlignedMemory.
svn path=/trunk/; revision=17185
Thomas Bluemel [Sun, 7 Aug 2005 23:05:57 +0000 (23:05 +0000)]
fixed differences in signedness warnings
svn path=/trunk/; revision=17184
Alex Ionescu [Sun, 7 Aug 2005 23:00:51 +0000 (23:00 +0000)]
- Fix return value.
svn path=/trunk/; revision=17183
Alex Ionescu [Sun, 7 Aug 2005 22:48:07 +0000 (22:48 +0000)]
- Remove cid.c
- Do direct handle creation/deletion where needed.
svn path=/trunk/; revision=17182
Alex Ionescu [Sun, 7 Aug 2005 21:48:14 +0000 (21:48 +0000)]
- Return correct error. Spotted by Thomas.
svn path=/trunk/; revision=17181
Alex Ionescu [Sun, 7 Aug 2005 21:45:12 +0000 (21:45 +0000)]
- Send proper ClientID structure
svn path=/trunk/; revision=17180
Alex Ionescu [Sun, 7 Aug 2005 21:29:51 +0000 (21:29 +0000)]
- Completely reimplement NtWaitForMultipleObjects:
- Check for invalid Objectcount and wait type
- Don't use 2.6KB of stack space (kernel threads only get 4...)
- Don't call ObReferenceObjectByHandle since it does a lot of superflous checks, continous locking/unlocking and makes us extremly slow for a large wait and also doesn't give us the full flexibility we need.
- Detect if a Waitall is being done with the same object duplicated.
- Protect wait with SEH.
- General fixes for all NtWaitXXX:
- Use DefaultObject from Object Header and remove all previous associated hacks, including the IO_TYPE hack. The DefaultObject will either be NULL, an offset to an internal Object Event, or a pointer to a default event. We handle all three.
- Guard the KeWaitXXX call with SEH since it can raise exceptions.
- Fix all object type intiailizers regarding DefaultObject.
svn path=/trunk/; revision=17179
Eric Kohl [Sun, 7 Aug 2005 20:33:11 +0000 (20:33 +0000)]
Replace Win32 types by native ones.
svn path=/trunk/; revision=17178
Thomas Bluemel [Sun, 7 Aug 2005 18:47:26 +0000 (18:47 +0000)]
also actually rename the files...
svn path=/trunk/; revision=17177
Alex Ionescu [Sun, 7 Aug 2005 18:38:37 +0000 (18:38 +0000)]
- Initialize more fields when creating an Object Type
- Correct the Pool Charge for Object Types, select a Default Object, always use a security procedure, read global flag for maintaing type lists, set the pool type
- Initialize a Default Wait Object.
- Fix security callback for objects.
- Implement SeDefaultObjectMethod for security callbacks of objects which don't have a custom one.
svn path=/trunk/; revision=17176
Steven Edwards [Sun, 7 Aug 2005 17:12:11 +0000 (17:12 +0000)]
no need for long xml filenames
svn path=/trunk/; revision=17174
Eric Kohl [Sun, 7 Aug 2005 17:11:13 +0000 (17:11 +0000)]
Remove trailing whitespace and fix the indentation.
svn path=/trunk/; revision=17173
Steven Edwards [Sun, 7 Aug 2005 17:07:35 +0000 (17:07 +0000)]
change rostest name back to dllname_test.exe
svn path=/trunk/; revision=17172
Steven Edwards [Sun, 7 Aug 2005 17:07:00 +0000 (17:07 +0000)]
rename tests to dllname_winetest to make it less trouble on exception to change build system rules for ros tests
svn path=/trunk/; revision=17171
Magnus Olsen [Sun, 7 Aug 2005 16:22:37 +0000 (16:22 +0000)]
GdiEntry11 (not tested, we can not test it yet in ros, until we got ddraw.dll and some api in win32k/ntdraw been implement)
svn path=/trunk/; revision=17170
Filip Navara [Sun, 7 Aug 2005 15:55:01 +0000 (15:55 +0000)]
Change the module type to win32gui. We really don't want to attempt to create consoles at this stage.
svn path=/trunk/; revision=17169
Hartmut Birr [Sun, 7 Aug 2005 14:01:17 +0000 (14:01 +0000)]
Fixed the comment from my last commit.
svn path=/trunk/; revision=17167
Hartmut Birr [Sun, 7 Aug 2005 13:59:05 +0000 (13:59 +0000)]
- Removed the exclusive deletion because '-' is a valid file name character.
- Optimized the recursive deletion in directories.
- Preload some nice strings.
svn path=/trunk/; revision=17166
Filip Navara [Sun, 7 Aug 2005 13:06:30 +0000 (13:06 +0000)]
Fix setupapi build and prototypes.
svn path=/trunk/; revision=17165
Magnus Olsen [Sun, 7 Aug 2005 12:54:41 +0000 (12:54 +0000)]
Implement Gdintry4 (not tested, we can not test it yet in ros, until we got ddraw.dll and some api in win32k/ntdraw been implement)
svn path=/trunk/; revision=17164
Hervé Poussineau [Sun, 7 Aug 2005 11:59:43 +0000 (11:59 +0000)]
Implement SetupGetInfFileListW and SetupGetInfInformationW
Inf file parser now accept UNICODE files with FF FE header
Return required buffer size when buffer is too small in SetupGetLineTextA/W, SetupGetStringFieldA/W
svn path=/trunk/; revision=17162
Filip Navara [Sun, 7 Aug 2005 11:47:50 +0000 (11:47 +0000)]
Fix a race condition in input packet processing.
svn path=/trunk/; revision=17160
Thomas Bluemel [Sun, 7 Aug 2005 11:47:45 +0000 (11:47 +0000)]
fixed the order of the parameters of RtlIsValidIndexHandle
svn path=/trunk/; revision=17159
Eric Kohl [Sun, 7 Aug 2005 11:44:41 +0000 (11:44 +0000)]
Support size_is(*Length) attributes for strings.
svn path=/trunk/; revision=17158
Filip Navara [Sun, 7 Aug 2005 11:25:36 +0000 (11:25 +0000)]
Readd check that I accidently removed.
svn path=/trunk/; revision=17157
Filip Navara [Sun, 7 Aug 2005 10:56:57 +0000 (10:56 +0000)]
Correctly set internal state in NpfsDisconnectPipe and fix some return values in NpfsRead.
svn path=/trunk/; revision=17156
Maarten Bosma [Sun, 7 Aug 2005 10:13:46 +0000 (10:13 +0000)]
A simple test app for DirectDraw.
svn path=/trunk/; revision=17155
Filip Navara [Sun, 7 Aug 2005 10:08:25 +0000 (10:08 +0000)]
Fix mutex unlocking in NpfsWaiterThread and add ASSERT.
svn path=/trunk/; revision=17154
Thomas Bluemel [Sun, 7 Aug 2005 09:55:54 +0000 (09:55 +0000)]
SVN maintainance
svn path=/trunk/; revision=17153
Thomas Bluemel [Sun, 7 Aug 2005 09:55:08 +0000 (09:55 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=17152
Thomas Bluemel [Sun, 7 Aug 2005 09:48:38 +0000 (09:48 +0000)]
fixed uninitialized variables warnings
svn path=/trunk/; revision=17151
Alex Ionescu [Sun, 7 Aug 2005 09:40:00 +0000 (09:40 +0000)]
Fix NtSignalAndwaitForSingleObject: Use SEH when appropriate, use direct Mutant release call, query handle info and write fixmes when permission checking needed, optimize failure cases, fix horrid tab/space formatting mismatches
svn path=/trunk/; revision=17150
Thomas Bluemel [Sun, 7 Aug 2005 09:24:10 +0000 (09:24 +0000)]
added a newline at the end of the file to fix a warning
svn path=/trunk/; revision=17149
Filip Navara [Sun, 7 Aug 2005 09:12:10 +0000 (09:12 +0000)]
- Fix size check in SystemBasicInformation and SystemTimeOfDayInformation.
- Add SEH protection to SystemProcessInformation.
- Implement SystemKernelDebuggerInformation.
- Fix returning of ResultLength in NtQuerySystemInformation.
svn path=/trunk/; revision=17148
Eric Kohl [Sun, 7 Aug 2005 09:03:35 +0000 (09:03 +0000)]
Fix CM_Get_Registry_Property_ExW.
Implement CM_Set_Registry_Property_ExA.
svn path=/trunk/; revision=17147
Hartmut Birr [Sun, 7 Aug 2005 08:06:56 +0000 (08:06 +0000)]
Allocated a converting buffer for WideCharToMultiByte. This does fix bug #702.
svn path=/trunk/; revision=17146
Martin Fuchs [Sun, 7 Aug 2005 07:49:07 +0000 (07:49 +0000)]
update SVN properties
svn path=/trunk/; revision=17145
Martin Fuchs [Sun, 7 Aug 2005 07:42:36 +0000 (07:42 +0000)]
update SVN properties
svn path=/trunk/; revision=17144
Martin Fuchs [Sun, 7 Aug 2005 07:33:14 +0000 (07:33 +0000)]
update SVN properties
svn path=/trunk/; revision=17143
Martin Fuchs [Sun, 7 Aug 2005 07:32:36 +0000 (07:32 +0000)]
update SVN properties
svn path=/trunk/; revision=17142
Alex Ionescu [Sun, 7 Aug 2005 07:30:46 +0000 (07:30 +0000)]
And here goes another test for two unsupported flags.
svn path=/trunk/; revision=17141
Alex Ionescu [Sun, 7 Aug 2005 07:14:52 +0000 (07:14 +0000)]
One more test can't hurt.
svn path=/trunk/; revision=17140
Alex Ionescu [Sun, 7 Aug 2005 07:11:03 +0000 (07:11 +0000)]
Add failure cases for more things then a WINE test could shake a stick at (hopefully)
svn path=/trunk/; revision=17139
Steven Edwards [Sun, 7 Aug 2005 03:15:15 +0000 (03:15 +0000)]
enable the ntdll and kernel32 wine tests and watch them fail
svn path=/trunk/; revision=17138
Steven Edwards [Sun, 7 Aug 2005 03:14:17 +0000 (03:14 +0000)]
added kernel32 wine tests
svn path=/trunk/; revision=17137
Steven Edwards [Sun, 7 Aug 2005 03:00:44 +0000 (03:00 +0000)]
make the ros test name dllname_rostest.exe, suggested by Usurp
svn path=/trunk/; revision=17136
Steven Edwards [Sun, 7 Aug 2005 02:54:10 +0000 (02:54 +0000)]
Named reactos regression tests dllname_tests.exe and wine test name dllname_test.exe to prevent conflicts
svn path=/trunk/; revision=17135
Steven Edwards [Sun, 7 Aug 2005 02:22:29 +0000 (02:22 +0000)]
add some missing values from Wine
svn path=/trunk/; revision=17134
Steven Edwards [Sun, 7 Aug 2005 02:16:34 +0000 (02:16 +0000)]
ntdll pending some winerror.h fixes
svn path=/trunk/; revision=17133
Steven Edwards [Sun, 7 Aug 2005 01:23:40 +0000 (01:23 +0000)]
updated winternl.h, PSDK fixes, etc...
svn path=/trunk/; revision=17132
Steven Edwards [Sun, 7 Aug 2005 00:26:13 +0000 (00:26 +0000)]
DCX_USESTYLE is a wineism. Dont use it in a header
svn path=/trunk/; revision=17131
Steven Edwards [Sun, 7 Aug 2005 00:25:26 +0000 (00:25 +0000)]
added local define for DCX_USESTYLE
svn path=/trunk/; revision=17130
Steven Edwards [Sun, 7 Aug 2005 00:21:24 +0000 (00:21 +0000)]
added DCX_USESTYLE
svn path=/trunk/; revision=17129
Steven Edwards [Sun, 7 Aug 2005 00:06:29 +0000 (00:06 +0000)]
turn on more the winetests
svn path=/trunk/; revision=17128
Steven Edwards [Sun, 7 Aug 2005 00:03:28 +0000 (00:03 +0000)]
again dump the .cvsignore
svn path=/trunk/; revision=17127
Steven Edwards [Sat, 6 Aug 2005 23:58:36 +0000 (23:58 +0000)]
add some of the shlwapi tests
svn path=/trunk/; revision=17126
Steven Edwards [Sat, 6 Aug 2005 23:41:45 +0000 (23:41 +0000)]
added user32 wine regression test
svn path=/trunk/; revision=17125
Steven Edwards [Sat, 6 Aug 2005 23:20:14 +0000 (23:20 +0000)]
we don't need a .cvsignore
svn path=/trunk/; revision=17124
Steven Edwards [Sat, 6 Aug 2005 23:19:47 +0000 (23:19 +0000)]
added gdi32 wine regression tests
svn path=/trunk/; revision=17123
Steven Edwards [Sat, 6 Aug 2005 23:12:16 +0000 (23:12 +0000)]
moved psapi test
svn path=/trunk/; revision=17122
Steven Edwards [Sat, 6 Aug 2005 23:11:59 +0000 (23:11 +0000)]
moved psapi test
svn path=/trunk/; revision=17121
Steven Edwards [Sat, 6 Aug 2005 23:08:51 +0000 (23:08 +0000)]
add version tests
svn path=/trunk/; revision=17120
Steven Edwards [Sat, 6 Aug 2005 23:05:16 +0000 (23:05 +0000)]
added msvcrt regression test
svn path=/trunk/; revision=17119
Maarten Bosma [Sat, 6 Aug 2005 22:08:13 +0000 (22:08 +0000)]
add case if _NO_COM is defined structure _DDRAWI_DDRAWSURFACE_MORE
svn path=/trunk/; revision=17118
Thomas Bluemel [Sat, 6 Aug 2005 20:23:08 +0000 (20:23 +0000)]
fixed some uninitialized variables warnings
svn path=/trunk/; revision=17117
Magnus Olsen [Sat, 6 Aug 2005 20:18:59 +0000 (20:18 +0000)]
add #define DDRAWISURFGBL_NOTIFYWHENUNLOCKED
svn path=/trunk/; revision=17116
Thomas Bluemel [Sat, 6 Aug 2005 20:15:29 +0000 (20:15 +0000)]
allow warnings
svn path=/trunk/; revision=17115
Thomas Bluemel [Sat, 6 Aug 2005 19:42:40 +0000 (19:42 +0000)]
add missing directory.xml
svn path=/trunk/; revision=17114
Filip Navara [Sat, 6 Aug 2005 18:56:20 +0000 (18:56 +0000)]
Fix translation of extended keys.
svn path=/trunk/; revision=17111
Steven Edwards [Sat, 6 Aug 2005 18:08:07 +0000 (18:08 +0000)]
and this
svn path=/trunk/; revision=17110
Steven Edwards [Sat, 6 Aug 2005 18:07:47 +0000 (18:07 +0000)]
forgot this
svn path=/trunk/; revision=17109
Steven Edwards [Sat, 6 Aug 2005 18:05:15 +0000 (18:05 +0000)]
enable Wine regression tests for advapi32 and comctl32. Not tested under ReactOS. To build tests now you can use the wine name 'make advapi32_test' 'make comctl32_test' etc
svn path=/trunk/; revision=17108
Steven Edwards [Sat, 6 Aug 2005 18:03:53 +0000 (18:03 +0000)]
add prototype for DbgPrint so Winetests link properly with ReactOS.
svn path=/trunk/; revision=17107
Steven Edwards [Sat, 6 Aug 2005 18:02:57 +0000 (18:02 +0000)]
stick the winetests in the sub folder with the other regtests
svn path=/trunk/; revision=17106
Steven Edwards [Sat, 6 Aug 2005 18:00:17 +0000 (18:00 +0000)]
remove comctl32 winetests
svn path=/trunk/; revision=17105
Steven Edwards [Sat, 6 Aug 2005 17:59:46 +0000 (17:59 +0000)]
remove msvcrt winetests
svn path=/trunk/; revision=17104
Steven Edwards [Sat, 6 Aug 2005 17:59:01 +0000 (17:59 +0000)]
remove main winetest program
svn path=/trunk/; revision=17103
Steven Edwards [Sat, 6 Aug 2005 17:58:12 +0000 (17:58 +0000)]
remove version winetests
svn path=/trunk/; revision=17102
Steven Edwards [Sat, 6 Aug 2005 17:57:33 +0000 (17:57 +0000)]
remove advapi32 winetests. I am going to refactor the import
svn path=/trunk/; revision=17101
Hartmut Birr [Sat, 6 Aug 2005 15:55:59 +0000 (15:55 +0000)]
Don't try to acquire the mutex, if the mutex already exist (reported by Joseph Galbraith).
svn path=/trunk/; revision=17100
Thomas Bluemel [Sat, 6 Aug 2005 15:01:08 +0000 (15:01 +0000)]
fixed uninitialized variable warning and indentation
svn path=/trunk/; revision=17099
Thomas Bluemel [Sat, 6 Aug 2005 14:58:07 +0000 (14:58 +0000)]
#include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=17098