Alex Ionescu [Tue, 1 Nov 2005 23:37:26 +0000 (23:37 +0000)]
- Revert so call "Fixes" introduced in 18941 because they are bugs which I had to fix in 18002 and adding back bugs isn't really a good idea.
svn path=/trunk/; revision=18942
Thomas Bluemel [Tue, 1 Nov 2005 22:45:35 +0000 (22:45 +0000)]
various minor fixes
svn path=/trunk/; revision=18941
Thomas Bluemel [Tue, 1 Nov 2005 22:39:14 +0000 (22:39 +0000)]
fixed a typo
svn path=/trunk/; revision=18940
Thomas Bluemel [Tue, 1 Nov 2005 22:36:00 +0000 (22:36 +0000)]
properly handle fragmented self-relative security descriptors in the 64 bit version of RtlSelfRelativeToAbsoluteSD2
svn path=/trunk/; revision=18939
Thomas Bluemel [Tue, 1 Nov 2005 21:53:36 +0000 (21:53 +0000)]
implemented RtlSelfRelativeToAbsoluteSD2 for 32 and 64 bit builds
svn path=/trunk/; revision=18938
Martin Fuchs [Tue, 1 Nov 2005 20:30:17 +0000 (20:30 +0000)]
create two new functions String::str() and String::toLower() to avoid _tcslwr() calls and allow convenient string conversions
svn path=/trunk/; revision=18937
Magnus Olsen [Tue, 1 Nov 2005 18:53:37 +0000 (18:53 +0000)]
do not try free memmory at exit it seam like the DdDeleteDirectDrawObject doing it for us, and it does not crash any longer at exists
svn path=/trunk/; revision=18936
Magnus Olsen [Tue, 1 Nov 2005 18:42:50 +0000 (18:42 +0000)]
Fixed a crach. and do not hardcode the flag ddsd to primersurface amd other value.
svn path=/trunk/; revision=18935
Magnus Olsen [Tue, 1 Nov 2005 18:27:09 +0000 (18:27 +0000)]
split up CreateSurface to hal and hel interface
svn path=/trunk/; revision=18934
Brandon Turner [Tue, 1 Nov 2005 17:01:36 +0000 (17:01 +0000)]
Small unicode safe changes by me. Small msvc build error fix by jvangael@wisc.edu.
svn path=/trunk/; revision=18933
Thomas Bluemel [Tue, 1 Nov 2005 16:17:25 +0000 (16:17 +0000)]
- if a file object is a named pipe don't allow the FILE_APPEND_DATA access right as it equals FILE_CREATE_PIPE_INSTANCE (NtFlushBuffersFile and NtWriteFile)
- add more parameters probing and capturing code
svn path=/trunk/; revision=18932
Magnus Olsen [Tue, 1 Nov 2005 14:46:34 +0000 (14:46 +0000)]
* Source cleanup.
* SetMode adding a check see if it same reslution or not if it not same we change it.
* SetMode adding correct check for hal or hel. choice hal if it the drv provide it.
svn path=/trunk/; revision=18931
Eric Kohl [Tue, 1 Nov 2005 13:52:22 +0000 (13:52 +0000)]
- Mark service for delete in the registry.
svn path=/trunk/; revision=18930
Eric Kohl [Tue, 1 Nov 2005 13:47:40 +0000 (13:47 +0000)]
Update the Indentation.
svn path=/trunk/; revision=18929
Maarten Bosma [Tue, 1 Nov 2005 12:17:25 +0000 (12:17 +0000)]
Another few cosmetic changes and also except DDSURFACEDESC as parameter for CreateSurface.
svn path=/trunk/; revision=18928
Maarten Bosma [Tue, 1 Nov 2005 12:02:12 +0000 (12:02 +0000)]
Add call to DdReenableDirectDrawObject (GdiEntry10) where it is needed.
svn path=/trunk/; revision=18927
Maarten Bosma [Tue, 1 Nov 2005 11:35:01 +0000 (11:35 +0000)]
fix compiling again, sorry.
svn path=/trunk/; revision=18926
Maarten Bosma [Tue, 1 Nov 2005 11:32:35 +0000 (11:32 +0000)]
Some cosmetic changes like replacing tabs with spaces and grouping all stubs together.
svn path=/trunk/; revision=18925
Maarten Bosma [Tue, 1 Nov 2005 09:59:21 +0000 (09:59 +0000)]
fix compile
svn path=/trunk/; revision=18924
Maarten Bosma [Tue, 1 Nov 2005 09:50:29 +0000 (09:50 +0000)]
Fixed the "header problems".
svn path=/trunk/; revision=18923
Maarten Bosma [Tue, 1 Nov 2005 09:48:01 +0000 (09:48 +0000)]
Remove DUMMYUNIONNAMEs since it fixes compile problems.
svn path=/trunk/; revision=18922
Maarten Bosma [Tue, 1 Nov 2005 08:37:43 +0000 (08:37 +0000)]
Created makefile for alphablend-test in rosapps.
svn path=/trunk/; revision=18921
Martin Fuchs [Tue, 1 Nov 2005 01:39:45 +0000 (01:39 +0000)]
correctly call HCR_GetFolderAttributes() in SHELL32_GetItemAttributes() to fix explorer's start menu root
svn path=/trunk/; revision=18920
Magnus Olsen [Mon, 31 Oct 2005 20:43:06 +0000 (20:43 +0000)]
fill in the DDSD we got from the call of createsurface it is not complete
svn path=/trunk/; revision=18919
Thomas Bluemel [Mon, 31 Oct 2005 20:35:03 +0000 (20:35 +0000)]
fix return type of ObDereferenceSecurityDescriptor
svn path=/trunk/; revision=18918
Magnus Olsen [Mon, 31 Oct 2005 20:08:24 +0000 (20:08 +0000)]
Fix someprat of Createsurface now it is working for ati readon, the code is not complete.
svn path=/trunk/; revision=18917
Thomas Bluemel [Mon, 31 Oct 2005 19:41:27 +0000 (19:41 +0000)]
added stubs for ObLogSecurityDescriptor and ObDereferenceSecurityDescriptor
svn path=/trunk/; revision=18916
Thomas Bluemel [Mon, 31 Oct 2005 19:39:22 +0000 (19:39 +0000)]
don't ask for generic read access rights in WaitNamedPipe
svn path=/trunk/; revision=18915
Maarten Bosma [Mon, 31 Oct 2005 19:12:07 +0000 (19:12 +0000)]
Fix wrong DDESC2 to DDESC conversion. Spotted by GreatLord.
svn path=/trunk/; revision=18914
Magnus Olsen [Mon, 31 Oct 2005 19:02:09 +0000 (19:02 +0000)]
Use the info we got from callback for the res in createsurface
svn path=/trunk/; revision=18913
Hartmut Birr [Mon, 31 Oct 2005 18:56:44 +0000 (18:56 +0000)]
Removed the 'special' mode, because it didn't connect a pipe.
svn path=/trunk/; revision=18912
Hervé Poussineau [Mon, 31 Oct 2005 16:46:46 +0000 (16:46 +0000)]
Big move of driver input stack to a Plug-and-Play model:
- mouclass:
Do non buffered IO. The pointer move should be smoother.
Search non Plug-and-Play drivers in registry, instead of using their device name.
- kbdclass:
Full rewrite to support more than one keyboard.
Use registry settings as specified in MSDN.
(Info: kbdclass is now very similar to mouclass)
- i8042prt:
Keep it as a non Plug-and-Play driver, but register it in DEVICEMAP registry key.
- USB controller:
Enable USB keyboard/mouse
I may have broken support for serial mice, i'll add it back in a few days...
svn path=/trunk/; revision=18911
Aleksey Bragin [Mon, 31 Oct 2005 11:59:29 +0000 (11:59 +0000)]
I don't think tracert really depends on winmm lib.
svn path=/trunk/; revision=18910
Hartmut Birr [Mon, 31 Oct 2005 08:02:49 +0000 (08:02 +0000)]
Do always dereference the section object if it was created (in PspCreateProcess).
svn path=/trunk/; revision=18909
Magnus Olsen [Mon, 31 Oct 2005 01:22:19 +0000 (01:22 +0000)]
Fix some crach in ddraw.dll startup process for surface, we still got crach and surface are being setup wrong. working on this.
svn path=/trunk/; revision=18908
Brandon Turner [Mon, 31 Oct 2005 00:53:00 +0000 (00:53 +0000)]
only show one screen of text at a time for displaying help.
svn path=/trunk/; revision=18907
Hervé Poussineau [Mon, 31 Oct 2005 00:14:45 +0000 (00:14 +0000)]
Rewrite mouclass, so it can now handle more than one mouse.
win32k: try to open the keyboard/mouse in a loop, as they can not be present at startup
svn path=/trunk/; revision=18906
Brandon Turner [Mon, 31 Oct 2005 00:10:32 +0000 (00:10 +0000)]
Removed some code to make dir behave the same way as MS CMD. bug reported by irc::mikedep333
svn path=/trunk/; revision=18905
Magnus Olsen [Mon, 31 Oct 2005 00:10:04 +0000 (00:10 +0000)]
Fix so startup process of ddraw hal can be compile with visualstudio
svn path=/trunk/; revision=18904
Magnus Olsen [Sun, 30 Oct 2005 23:54:05 +0000 (23:54 +0000)]
Free Hal memory that have been alloc at exist
svn path=/trunk/; revision=18903
Hervé Poussineau [Sun, 30 Oct 2005 23:48:30 +0000 (23:48 +0000)]
Prevent i8042prt to search for a keyboard/mouse more than once
svn path=/trunk/; revision=18902
Magnus Olsen [Sun, 30 Oct 2005 23:29:40 +0000 (23:29 +0000)]
small ceanup in hal startup process
svn path=/trunk/; revision=18901
Magnus Olsen [Sun, 30 Oct 2005 23:21:57 +0000 (23:21 +0000)]
Small change for hal startup process only few callbacks are not include
svn path=/trunk/; revision=18900
Art Yerkes [Sun, 30 Oct 2005 22:47:31 +0000 (22:47 +0000)]
use %lx for printing NTSTATUS
svn path=/trunk/; revision=18899
Art Yerkes [Sun, 30 Oct 2005 22:33:26 +0000 (22:33 +0000)]
Some upgrades for green:
- Either create the blue device or attach to it
- If we can't open a serial device, forward the IRP to the original blue
- Scrolling fix
- Don't do DO_BUFFERED_IO if we use Irp->UserBuffer
- Pass a zero offset when writing to serial port
Green now displays correctly and fails back correctly. Keyboard part doesn't
yet coexist with current ReactOS. That's next.
svn path=/trunk/; revision=18898
Gregor Anich [Sun, 30 Oct 2005 22:19:33 +0000 (22:19 +0000)]
Add NtGdiAlphaBlend to w32ksvc.db (and fix tabs)
Forward gdi32:GdiAlphaBlend to NtGdiAlphaBlend
svn path=/trunk/; revision=18897
Gregor Anich [Sun, 30 Oct 2005 22:16:30 +0000 (22:16 +0000)]
Add IntEngAlphaBlend and NtGdiAlphaBlend functions, EngAlphaBlend (the real implementation) is still missing.
svn path=/trunk/; revision=18896
Gregor Anich [Sun, 30 Oct 2005 22:14:11 +0000 (22:14 +0000)]
Add NtGdiAlphaBlend prototype.
svn path=/trunk/; revision=18895
Eric Kohl [Sun, 30 Oct 2005 21:52:23 +0000 (21:52 +0000)]
- Implement GetServiceKeyNameW (untested).
- Mark deleted service in the service list.
- Some SCM-Calls fail if the has been marked for delete.
svn path=/trunk/; revision=18894
Hervé Poussineau [Sun, 30 Oct 2005 19:37:11 +0000 (19:37 +0000)]
Implement IRP_MJ_PNP / IRP_MN_QUERY_INTERFACE for GUID_BUS_INTERFACE_STANDARD
svn path=/trunk/; revision=18893
Magnus Olsen [Sun, 30 Oct 2005 19:36:29 +0000 (19:36 +0000)]
Correct One struct
svn path=/trunk/; revision=18892
Gregor Anich [Sun, 30 Oct 2005 18:43:16 +0000 (18:43 +0000)]
Silence warning for non-win32 compilations.
svn path=/trunk/; revision=18891
Brandon Turner [Sun, 30 Oct 2005 18:01:50 +0000 (18:01 +0000)]
Handle possible error from FindFirstFile. Thanks to Thomas for finding the problem.
svn path=/trunk/; revision=18890
Brandon Turner [Sun, 30 Oct 2005 17:50:03 +0000 (17:50 +0000)]
Add a new function to return a path with correct casing. Remove the get[short/long]pathname hack that was there before to do it.
svn path=/trunk/; revision=18889
Thomas Bluemel [Sun, 30 Oct 2005 17:30:53 +0000 (17:30 +0000)]
fixed difference in signedness warnings
svn path=/trunk/; revision=18888
Magnus Olsen [Sun, 30 Oct 2005 16:14:42 +0000 (16:14 +0000)]
Fix broke SVN after me, thx to it I found wrong ref was release in different place fixed
svn path=/trunk/; revision=18887
Magnus Olsen [Sun, 30 Oct 2005 15:45:40 +0000 (15:45 +0000)]
adding more stuff for create surface right
svn path=/trunk/; revision=18886
Maarten Bosma [Sun, 30 Oct 2005 15:39:00 +0000 (15:39 +0000)]
Fix compile
svn path=/trunk/; revision=18885
Maarten Bosma [Sun, 30 Oct 2005 15:34:03 +0000 (15:34 +0000)]
Implement IDirectDrawSurface::Blt for HAL
svn path=/trunk/; revision=18884
Thomas Bluemel [Sun, 30 Oct 2005 14:51:12 +0000 (14:51 +0000)]
fix some flags calculations and access rights in CreateNamedPipe and CreatePipe
svn path=/trunk/; revision=18883
Hartmut Birr [Sun, 30 Oct 2005 13:55:28 +0000 (13:55 +0000)]
Fixed the check for the MEM_TOP_DOWN flag in MmMapViewOfSection.
svn path=/trunk/; revision=18882
Hartmut Birr [Sun, 30 Oct 2005 13:54:02 +0000 (13:54 +0000)]
Map the NLS tables after creating the PEB.
The top-down mapping of the NLS tables may occupied the region for the PEB.
svn path=/trunk/; revision=18881
Eric Kohl [Sun, 30 Oct 2005 13:13:53 +0000 (13:13 +0000)]
- Implement GetServiceDisplayNameW (untested).
- SCM must store a services display name.
- Some SCM-Calls must fail while the SCM is shutting down.
svn path=/trunk/; revision=18880
Magnus Olsen [Sun, 30 Oct 2005 12:53:32 +0000 (12:53 +0000)]
lay some gorun for blt but not implement
svn path=/trunk/; revision=18879
Magnus Olsen [Sun, 30 Oct 2005 10:58:53 +0000 (10:58 +0000)]
Bind the Hal and Hel right in main call only to hal if the api are implement in the drv if not choice hel.
svn path=/trunk/; revision=18878
Thomas Bluemel [Sun, 30 Oct 2005 10:49:55 +0000 (10:49 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=18877
Magnus Olsen [Sun, 30 Oct 2005 10:43:03 +0000 (10:43 +0000)]
Rename files so it be more easy to wrok with them in VS
svn path=/trunk/; revision=18876
Magnus Olsen [Sun, 30 Oct 2005 09:49:29 +0000 (09:49 +0000)]
Forgot cleanup the code. in Main_setDisplayMode.
svn path=/trunk/; revision=18875
Magnus Olsen [Sun, 30 Oct 2005 09:45:10 +0000 (09:45 +0000)]
Move hel SetDisplayMode to hel and write a stub for hal SetDisplayMode.
Hel SetDisplayMode is already implmenet by DrFred
svn path=/trunk/; revision=18874
Magnus Olsen [Sun, 30 Oct 2005 09:21:03 +0000 (09:21 +0000)]
implment Hal FlipToGDISurface
svn path=/trunk/; revision=18873
Maarten Bosma [Sun, 30 Oct 2005 08:46:46 +0000 (08:46 +0000)]
Check if CanCreateSurface is implemented by the driver before calling it.
svn path=/trunk/; revision=18872
Magnus Olsen [Sun, 30 Oct 2005 08:41:19 +0000 (08:41 +0000)]
implement Hal GetScanLine
svn path=/trunk/; revision=18871
Magnus Olsen [Sun, 30 Oct 2005 08:10:43 +0000 (08:10 +0000)]
Fix one crach in createsurface for DrFred
svn path=/trunk/; revision=18870
Maarten Bosma [Sun, 30 Oct 2005 07:47:15 +0000 (07:47 +0000)]
Forgot to remove that test line
svn path=/trunk/; revision=18869
Magnus Olsen [Sun, 30 Oct 2005 07:41:33 +0000 (07:41 +0000)]
implement Hal WaitForVerticalBlank
svn path=/trunk/; revision=18868
Brandon Turner [Sun, 30 Oct 2005 06:02:18 +0000 (06:02 +0000)]
add gettype.exe to the bootcd
svn path=/trunk/; revision=18867
Brandon Turner [Sun, 30 Oct 2005 06:01:29 +0000 (06:01 +0000)]
add gettype.exe clone. It works in windows and partially in ROS. I will look into the reason it doesn't more tomorrow.
svn path=/trunk/; revision=18866
Brandon Turner [Sun, 30 Oct 2005 05:56:45 +0000 (05:56 +0000)]
add definitions for VER_SUITE_SINGLEUSERTS and VER_SUITE_EMBEDDEDNT
svn path=/trunk/; revision=18865
Magnus Olsen [Sun, 30 Oct 2005 01:06:56 +0000 (01:06 +0000)]
Implement Hal GetAvailableVidMem and is it working in windows
svn path=/trunk/; revision=18864
Thomas Bluemel [Sat, 29 Oct 2005 23:40:05 +0000 (23:40 +0000)]
protect access to buffers in NtOpenProcess
svn path=/trunk/; revision=18863
Magnus Olsen [Sat, 29 Oct 2005 23:28:12 +0000 (23:28 +0000)]
Cover the most hal startup process it now time start implement hal in ddraw.dll
But we still does not doing the whole startup process right.
svn path=/trunk/; revision=18862
Thomas Bluemel [Sat, 29 Oct 2005 22:58:14 +0000 (22:58 +0000)]
release the keep-alive reference of the process object
svn path=/trunk/; revision=18861
Thomas Bluemel [Sat, 29 Oct 2005 22:15:10 +0000 (22:15 +0000)]
- don't dereference the section object in MmCreateProcessAddressSpace
- properly handle object references in PspCreateProcess
svn path=/trunk/; revision=18860
Thomas Bluemel [Sat, 29 Oct 2005 21:33:57 +0000 (21:33 +0000)]
- protect access to buffers in NtCreateThread and NtOpenThread
- fix incorrect usage of PSEH in NtCreateThread
svn path=/trunk/; revision=18859
Magnus Olsen [Sat, 29 Oct 2005 21:20:50 +0000 (21:20 +0000)]
Setup the hal startup process some bit. We still does not insate hal right yet.
svn path=/trunk/; revision=18858
Maarten Bosma [Sat, 29 Oct 2005 21:07:04 +0000 (21:07 +0000)]
Improve macro for stubs inside of ddraw. Thx to w3seek.
svn path=/trunk/; revision=18857
Magnus Olsen [Sat, 29 Oct 2005 20:08:49 +0000 (20:08 +0000)]
sorry forget This->DirectDrawGlobal
svn path=/trunk/; revision=18856
Magnus Olsen [Sat, 29 Oct 2005 20:06:23 +0000 (20:06 +0000)]
Do not trust msdn what it say about dwContext in any struct "MSDN : it is not in use for windows nt", "My note: it is in use for all os, and it always point to DDRAWI_DIRECTDRAW_GBL.hDD and we doing that. now the callbacks works in startup process.
svn path=/trunk/; revision=18855
Magnus Olsen [Sat, 29 Oct 2005 18:57:45 +0000 (18:57 +0000)]
Setup the hal inisate bit more. and commect the code. We still does not insate hal right yet.
svn path=/trunk/; revision=18854
Thomas Bluemel [Sat, 29 Oct 2005 16:00:00 +0000 (16:00 +0000)]
- probe and capture parameters in NtCreateKey
- added ProbeForWriteUnicodeString and ProbeForReadUnicodeString macros
svn path=/trunk/; revision=18853
Thomas Bluemel [Sat, 29 Oct 2005 15:05:37 +0000 (15:05 +0000)]
implemented the 32 bit version of GetSystemWow64DirectoryA/W (just set the last error code to ERROR_CALL_NOT_IMPLEMENTED)
svn path=/trunk/; revision=18852
Thomas Bluemel [Sat, 29 Oct 2005 14:51:18 +0000 (14:51 +0000)]
- deleting a registry value requires the KEY_SET_VALUE right
- capture the value name
svn path=/trunk/; revision=18851
Hartmut Birr [Sat, 29 Oct 2005 14:12:20 +0000 (14:12 +0000)]
Merged MmReleaseMemoryArea into MmReleaseMmInfo.
We can only release the address space look if we are calling MmUnmapViewOfSection.
svn path=/trunk/; revision=18850
Hartmut Birr [Sat, 29 Oct 2005 14:10:35 +0000 (14:10 +0000)]
- Lock always the address space if we changing the virtual mapping.
This is necessary because we can create or remove a page table.
- If we unmap a section, we have to wait for all pending pageops
for the section within the current process. We do this by waiting
for all pageops for the section.
svn path=/trunk/; revision=18849
Hartmut Birr [Sat, 29 Oct 2005 14:09:00 +0000 (14:09 +0000)]
Lock always the address space if we changing the virtual mapping.
This is necessary because we can create or remove a page table.
svn path=/trunk/; revision=18848
Nathan Woods [Sat, 29 Oct 2005 13:43:09 +0000 (13:43 +0000)]
Calc: Fixed Enter key
svn path=/trunk/; revision=18847
Magnus Olsen [Sat, 29 Oct 2005 12:36:04 +0000 (12:36 +0000)]
Fixed some hal insate problem
but it still is not right
svn path=/trunk/; revision=18846
Thomas Bluemel [Sat, 29 Oct 2005 11:28:37 +0000 (11:28 +0000)]
#include "w32k.h" -> #include <w32k.h>
svn path=/trunk/; revision=18845
Maarten Bosma [Sat, 29 Oct 2005 11:05:23 +0000 (11:05 +0000)]
Stub IDirectDrawKernel and IDirectDrawSurfaceKernel. This where the last two; now we got Stub for every COM-Interface in ddraw.dll.
svn path=/trunk/; revision=18844
Maarten Bosma [Sat, 29 Oct 2005 10:55:45 +0000 (10:55 +0000)]
Define the GUIDs and other stuff.
svn path=/trunk/; revision=18843