Alex Ionescu [Tue, 9 Aug 2005 03:31:22 +0000 (03:31 +0000)]
Fix invalid Object Attributes
svn path=/trunk/; revision=17224
Alex Ionescu [Tue, 9 Aug 2005 03:29:51 +0000 (03:29 +0000)]
Add some DDK limits that were missing
svn path=/trunk/; revision=17223
Alex Ionescu [Tue, 9 Aug 2005 01:07:06 +0000 (01:07 +0000)]
- Fix broken loop, this fixes the WINE thread wait tests
svn path=/trunk/; revision=17222
Alex Ionescu [Tue, 9 Aug 2005 00:02:24 +0000 (00:02 +0000)]
Fix exception handling by not reseting PreviousMode to kernel when a user-mode exception occurs. This fixes some winetest bugchecks
svn path=/trunk/; revision=17221
Hervé Poussineau [Mon, 8 Aug 2005 22:14:04 +0000 (22:14 +0000)]
Remove console debug output
svn path=/trunk/; revision=17220
Magnus Olsen [Mon, 8 Aug 2005 21:29:25 +0000 (21:29 +0000)]
Add a check to see if surface can be create, it return it can be create, but still createsurface return invaild param
svn path=/trunk/; revision=17219
Magnus Olsen [Mon, 8 Aug 2005 18:59:56 +0000 (18:59 +0000)]
fixing bug 690 by Brandon Turner. note ms only allown start "notepad" or "note"pad not notep"ad or notepad" but we do that, for we think it is a bug in ms cmd that only allowing " at start of a file name to start the apps.
svn path=/trunk/; revision=17218
Thomas Bluemel [Mon, 8 Aug 2005 16:58:30 +0000 (16:58 +0000)]
revert my last changes back to Alex's version of ObpCaptureObjectAttributes as I'm being an incompetent ass. This will introduce several vulnerabilities and bugs again.
svn path=/trunk/; revision=17217
Magnus Olsen [Mon, 8 Aug 2005 16:36:39 +0000 (16:36 +0000)]
fix a simple bug that I did intrudes with my last commit
svn path=/trunk/; revision=17215
Hervé Poussineau [Mon, 8 Aug 2005 16:21:35 +0000 (16:21 +0000)]
I forgot to add SetupDiDeleteDeviceInfo to .spec file in rev 17212
svn path=/trunk/; revision=17214
Maarten Bosma [Mon, 8 Aug 2005 16:18:44 +0000 (16:18 +0000)]
Fix another bug thanks to GreatLord.
svn path=/trunk/; revision=17213
Hervé Poussineau [Mon, 8 Aug 2005 16:09:48 +0000 (16:09 +0000)]
Implement SetupDiBuildDriverInfoList, SetupDiOpenDeviceInfoA/W, SetupDiEnumDriverInfoA/W, SetupDiCreateDeviceInfoW
Add stubs for SetupDiDeleteDeviceInfo, SetupDiDestroyDriverInfoList
svn path=/trunk/; revision=17212
Hervé Poussineau [Mon, 8 Aug 2005 16:06:52 +0000 (16:06 +0000)]
Change structures used to keep information about devices/interfaces/drivers. This one is more logical and should be more extensible
Sorry, i've disabled code to enumerate devices implementing some interface (not ported)
Do related changes in the file
svn path=/trunk/; revision=17210
Maarten Bosma [Mon, 8 Aug 2005 15:56:27 +0000 (15:56 +0000)]
Fix a bug, thanks to Salamander again.
svn path=/trunk/; revision=17209
Thomas Bluemel [Mon, 8 Aug 2005 15:49:37 +0000 (15:49 +0000)]
don't dereference a NULL pointer
svn path=/trunk/; revision=17208
Thomas Bluemel [Mon, 8 Aug 2005 15:46:41 +0000 (15:46 +0000)]
remove a bugcheck that was only used for debug purpose
svn path=/trunk/; revision=17207
Magnus Olsen [Mon, 8 Aug 2005 15:41:02 +0000 (15:41 +0000)]
Fix some error checking for DireactDrawCreate and DireactDrawCreateEx, we checking if the param is right or not.
svn path=/trunk/; revision=17206
Thomas Bluemel [Mon, 8 Aug 2005 15:39:35 +0000 (15:39 +0000)]
- reverted ObpCaptureObjectAttributes back to my old implementation (slightly modified and extended) because that one at least does what it's supposed to correctly
svn path=/trunk/; revision=17205
Thomas Bluemel [Mon, 8 Aug 2005 15:33:04 +0000 (15:33 +0000)]
pass the correct access mode to ObOpenObjectByName
svn path=/trunk/; revision=17204
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