reactos.git
17 years agofixed a bug in DdDeleteDirectDrawObject
Magnus Olsen [Sat, 23 Dec 2006 12:25:07 +0000 (12:25 +0000)]
fixed a bug in DdDeleteDirectDrawObject
Zero the DirectDraw handler if it have sussess been free

svn path=/trunk/; revision=25210

17 years agofix a typo
Magnus Olsen [Sat, 23 Dec 2006 10:52:07 +0000 (10:52 +0000)]
fix a typo

svn path=/trunk/; revision=25209

17 years agoadding joliet flags to bootcd
Magnus Olsen [Sat, 23 Dec 2006 10:34:05 +0000 (10:34 +0000)]
adding joliet flags to bootcd

svn path=/trunk/; revision=25208

17 years agoreformat dib16bpp.c remove mix betwin tab and space
Magnus Olsen [Sat, 23 Dec 2006 05:45:24 +0000 (05:45 +0000)]
reformat dib16bpp.c remove mix betwin tab and space

svn path=/trunk/; revision=25207

17 years agofixed some warnings
Christoph von Wittich [Fri, 22 Dec 2006 21:49:18 +0000 (21:49 +0000)]
fixed some warnings

svn path=/trunk/; revision=25206

17 years agofixed a typo
Magnus Olsen [Thu, 21 Dec 2006 23:36:55 +0000 (23:36 +0000)]
fixed a typo

svn path=/trunk/; revision=25205

17 years agofix GCC 4.1 build
Ged Murphy [Thu, 21 Dec 2006 22:58:35 +0000 (22:58 +0000)]
fix GCC 4.1 build

svn path=/trunk/; revision=25204

17 years agoLast part of the new strectsblt
Magnus Olsen [Thu, 21 Dec 2006 22:36:16 +0000 (22:36 +0000)]
Last part of the new strectsblt
remove all mul and div from the loop.

svn path=/trunk/; revision=25203

17 years agostart of new strechblt huge speed incress, the idea is not doing any mul or the div...
Magnus Olsen [Thu, 21 Dec 2006 21:57:17 +0000 (21:57 +0000)]
start of new strechblt huge speed incress, the idea is not doing any mul or the div in the for loop. this is only done for 16bpp, same code will be copy to rest later.
1. remove all div and mul from for Y loops
2. todo remove so much as psoible mul and div from X loop

svn path=/trunk/; revision=25202

17 years agothx filip notice I use wrong filed to detect alpha blend.
Magnus Olsen [Thu, 21 Dec 2006 20:03:06 +0000 (20:03 +0000)]
thx filip notice I use wrong filed to detect alpha blend.

svn path=/trunk/; revision=25201

17 years agoFixed alpha blend support in DrawIconEx
Magnus Olsen [Thu, 21 Dec 2006 19:43:13 +0000 (19:43 +0000)]
Fixed alpha blend support in DrawIconEx

svn path=/trunk/; revision=25200

17 years agosome more stuff from filip dymatic resolutions change patch.
Magnus Olsen [Thu, 21 Dec 2006 17:38:36 +0000 (17:38 +0000)]
some more stuff from filip dymatic resolutions change patch.

svn path=/trunk/; revision=25199

17 years agofrom filip
Magnus Olsen [Thu, 21 Dec 2006 02:43:31 +0000 (02:43 +0000)]
from filip
This is small part of filip dymatic change resolution  patch
1. fix a bsod in IntEngBitBltEx if the destsurface is NULL do not bsod or aseert, send back false.

svn path=/trunk/; revision=25198

17 years agocontrast is implemented, don't grey it out
Ged Murphy [Thu, 21 Dec 2006 00:01:37 +0000 (00:01 +0000)]
contrast is implemented, don't grey it out

svn path=/trunk/; revision=25197

17 years agoUpdate the display resolution text while the slider is being moved.
Eric Kohl [Wed, 20 Dec 2006 23:03:08 +0000 (23:03 +0000)]
Update the display resolution text while the slider is being moved.

svn path=/trunk/; revision=25196

17 years agoThanks janderwald you did think it was something wrong with the pointer This at begin...
Magnus Olsen [Tue, 19 Dec 2006 22:33:22 +0000 (22:33 +0000)]
Thanks janderwald you did think it was something wrong with the pointer This at begin of Create_DirectDraw
1. if some idot send in iPface is NULL to DirectDrawCreate/DirectDrawCreateEx  (example DirectDrawCreate/DirectDrawCreateEx(NULL,NULL,NULL)) we do not free the alloc memory at fail.

svn path=/trunk/; revision=25194

17 years agoReduce flickering.
Maarten Bosma [Tue, 19 Dec 2006 22:03:24 +0000 (22:03 +0000)]
Reduce flickering.

svn path=/trunk/; revision=25193

17 years agoFixup ReleaseDC and add information.
James Tabor [Tue, 19 Dec 2006 18:29:57 +0000 (18:29 +0000)]
Fixup ReleaseDC and add information.

svn path=/trunk/; revision=25192

17 years agoprevent crash
Maarten Bosma [Mon, 18 Dec 2006 15:02:55 +0000 (15:02 +0000)]
prevent crash

svn path=/trunk/; revision=25190

17 years agosome small warning fixes
Christoph von Wittich [Mon, 18 Dec 2006 14:22:43 +0000 (14:22 +0000)]
some small warning fixes

svn path=/trunk/; revision=25189

17 years agoDefault text for application tree view.
Maarten Bosma [Sun, 17 Dec 2006 22:38:35 +0000 (22:38 +0000)]
Default text for application tree view.

svn path=/trunk/; revision=25188

17 years agoExplicitly use Unicode Versions to please Ged.
Maarten Bosma [Sun, 17 Dec 2006 21:14:19 +0000 (21:14 +0000)]
Explicitly use Unicode Versions to please Ged.

svn path=/trunk/; revision=25187

17 years ago- Disallow warnings
Maarten Bosma [Sun, 17 Dec 2006 20:53:04 +0000 (20:53 +0000)]
- Disallow warnings
- Explictically define _UNICODE
- Btn -> Button

svn path=/trunk/; revision=25186

17 years agoPrettier description field.
Maarten Bosma [Sun, 17 Dec 2006 20:34:19 +0000 (20:34 +0000)]
Prettier description field.

svn path=/trunk/; revision=25185

17 years agofixing some problem with backbuffer, we still can not draw to primary or backbuffer...
Magnus Olsen [Sun, 17 Dec 2006 13:53:19 +0000 (13:53 +0000)]
fixing some problem with backbuffer, we still can not draw to primary or backbuffer surface when we create a backbuffer why ??

svn path=/trunk/; revision=25184

17 years agoFix build.
Maarten Bosma [Sat, 16 Dec 2006 18:49:57 +0000 (18:49 +0000)]
Fix build.

svn path=/trunk/; revision=25183

17 years agoOutsource strings to resource.
Maarten Bosma [Sat, 16 Dec 2006 18:36:45 +0000 (18:36 +0000)]
Outsource strings to resource.

svn path=/trunk/; revision=25182

17 years ago- include required header
Johannes Anderwald [Sat, 16 Dec 2006 17:28:08 +0000 (17:28 +0000)]
- include required header

svn path=/trunk/; revision=25181

17 years agoMore detailed Messages.
Maarten Bosma [Sat, 16 Dec 2006 11:57:07 +0000 (11:57 +0000)]
More detailed Messages.

svn path=/trunk/; revision=25180

17 years agoClose window if xml file could not be found.
Maarten Bosma [Sat, 16 Dec 2006 11:33:38 +0000 (11:33 +0000)]
Close window if xml file could not be found.

svn path=/trunk/; revision=25179

17 years agoDo not crash when download button is hit and no application selected and some other...
Maarten Bosma [Sat, 16 Dec 2006 11:18:03 +0000 (11:18 +0000)]
Do not crash when download button is hit and no application selected and some other improvements.

svn path=/trunk/; revision=25178

17 years ago- ReactOS does not directly aim NT4 compatibility everywhere, reflect this in the...
Aleksey Bragin [Sat, 16 Dec 2006 11:06:33 +0000 (11:06 +0000)]
- ReactOS does not directly aim NT4 compatibility everywhere, reflect this in the readme.
- Add a sentence about RosBE.

svn path=/trunk/; revision=25177

17 years agodont crash if apps.xml cant be read
Sylvain Petreolle [Sat, 16 Dec 2006 10:55:15 +0000 (10:55 +0000)]
dont crash if apps.xml cant be read

svn path=/trunk/; revision=25176

17 years agoClean up the code bit, and move some code. nothing new really, it is basic new redesi...
Magnus Olsen [Fri, 15 Dec 2006 23:54:42 +0000 (23:54 +0000)]
Clean up the code bit, and move some code. nothing new really, it is basic new redesign for createsurface code.

svn path=/trunk/; revision=25175

17 years agoClean up the code bit, and move some code. nothing new really, it is basic new redesi...
Magnus Olsen [Fri, 15 Dec 2006 23:54:15 +0000 (23:54 +0000)]
Clean up the code bit, and move some code. nothing new really, it is basic new redesign for createsurface code.

svn path=/trunk/; revision=25174

17 years ago[AUDIT]
Aleksey Bragin [Fri, 15 Dec 2006 20:22:43 +0000 (20:22 +0000)]
[AUDIT]
- Unlocking most of Mm components, because, first of all Memory Manager is based on a completely different concept, which is not like NT4, NT5, NT5.1 or NT5.2. Secondly, init routines are again different due to different Loader Parameter Block and different ways of passing memory map. Thirdly, there are a lot of stubs.
- All code was looked through and it does not seem to contain any suspicious details.

svn path=/trunk/; revision=25173

17 years agoAdd the applications, which were in the old package manager.
Maarten Bosma [Fri, 15 Dec 2006 18:50:00 +0000 (18:50 +0000)]
Add the applications, which were in the old package manager.

svn path=/trunk/; revision=25172

17 years agoEven set icon, if there is none given in the xml file. Workaround for ReactOS bug.
Maarten Bosma [Fri, 15 Dec 2006 18:14:49 +0000 (18:14 +0000)]
Even set icon, if there is none given in the xml file. Workaround for ReactOS bug.

svn path=/trunk/; revision=25171

17 years agoDo not hardcode the path to the xml file.
Maarten Bosma [Fri, 15 Dec 2006 16:54:18 +0000 (16:54 +0000)]
Do not hardcode the path to the xml file.

svn path=/trunk/; revision=25170

17 years agoForgot to remove this
Maarten Bosma [Fri, 15 Dec 2006 16:40:18 +0000 (16:40 +0000)]
Forgot to remove this

svn path=/trunk/; revision=25169

17 years agoNew Downloader
Maarten Bosma [Fri, 15 Dec 2006 16:11:59 +0000 (16:11 +0000)]
New Downloader
- Description field is not done yet.
- Download.c is taken from getfirefox.

svn path=/trunk/; revision=25168

17 years agoadding experment code for createsurface overlay. but this code show how we should...
Magnus Olsen [Thu, 14 Dec 2006 22:58:44 +0000 (22:58 +0000)]
adding experment code for createsurface overlay. but this code show how we should do the backbuffer.

svn path=/trunk/; revision=25167

17 years agowe can now create backbuffer surface. but some how we are doing it wrong ??
Magnus Olsen [Thu, 14 Dec 2006 21:11:00 +0000 (21:11 +0000)]
we can now create backbuffer surface. but some how we are doing it wrong ??
1. hacked getattachsurface was not a good idea. we can not lure program with curren code so tehy fails.

svn path=/trunk/; revision=25166

17 years agobuild control with unicode=yes
Sylvain Petreolle [Thu, 14 Dec 2006 20:40:18 +0000 (20:40 +0000)]
build control with unicode=yes

svn path=/trunk/; revision=25165

17 years agocreate backbuffer works, left todo is to implement getattach surface.
Magnus Olsen [Thu, 14 Dec 2006 20:03:06 +0000 (20:03 +0000)]
create backbuffer works, left todo is to implement getattach surface.

svn path=/trunk/; revision=25164

17 years ago1. fixed fullscreen crash when we exit
Magnus Olsen [Thu, 14 Dec 2006 19:33:05 +0000 (19:33 +0000)]
1. fixed fullscreen crash when we exit
2. more prepations for backbuffer support

svn path=/trunk/; revision=25163

17 years agostart prepare for implement of the backbuffer. we do not alloc the backbuffers yet.
Magnus Olsen [Thu, 14 Dec 2006 18:10:18 +0000 (18:10 +0000)]
start prepare for implement of the backbuffer. we do not alloc the backbuffers yet.
1. add alloc of backbuffer to own files so it is easy understand how it is done.
   the file createsurface.c are not include to rbuild yet. I do not want lose current
   code. if something happen with it.

svn path=/trunk/; revision=25162

17 years agoA correct check, finally.
Aleksey Bragin [Thu, 14 Dec 2006 13:22:55 +0000 (13:22 +0000)]
A correct check, finally.

svn path=/trunk/; revision=25161

17 years agoGreyGhost: Fixing typos.
Aleksey Bragin [Thu, 14 Dec 2006 12:51:16 +0000 (12:51 +0000)]
GreyGhost: Fixing typos.

svn path=/trunk/; revision=25160

17 years agorevers 25135 for it is incorrect change, do ask before change any code in win32k...
Magnus Olsen [Thu, 14 Dec 2006 12:49:19 +0000 (12:49 +0000)]
revers 25135 for it is incorrect change, do ask before change any code in win32k. and do not assume code is wrong
See issue #25 for more details.

svn path=/trunk/; revision=25159

17 years agomake the cleanup working as it should, do not crash when it try free unlinked dd...
Magnus Olsen [Thu, 14 Dec 2006 10:53:35 +0000 (10:53 +0000)]
make the cleanup working as it should, do not crash when it try free unlinked dd interface.

svn path=/trunk/; revision=25158

17 years agoThe format change of setup.c cause unexpect error. some typo ??
Magnus Olsen [Thu, 14 Dec 2006 10:32:23 +0000 (10:32 +0000)]
The format change of setup.c cause unexpect error. some typo ??

svn path=/trunk/; revision=25157

17 years agofixing the last problem with release of dd interface, hopply I do not forget to free...
Magnus Olsen [Thu, 14 Dec 2006 09:35:19 +0000 (09:35 +0000)]
fixing the last problem with release of dd interface, hopply I do not forget to free any memory it alloc this time.
fixing proper shourtdown of dx.

svn path=/trunk/; revision=25156

17 years agostart implement release for dd interface, we do not release everthing yet, we still...
Magnus Olsen [Thu, 14 Dec 2006 09:20:00 +0000 (09:20 +0000)]
start implement release for dd interface, we do not release everthing yet, we still have some memory leak.

svn path=/trunk/; revision=25155

17 years agofixing a small check in createsurface
Magnus Olsen [Thu, 14 Dec 2006 08:43:04 +0000 (08:43 +0000)]
fixing a small check in createsurface

svn path=/trunk/; revision=25154

17 years agoImplement full support for GetPixelFormat
Magnus Olsen [Thu, 14 Dec 2006 08:22:17 +0000 (08:22 +0000)]
Implement full support for GetPixelFormat

svn path=/trunk/; revision=25153

17 years agoDo not crash in GetDC, mplayer company we do not have a backbuffer now. good news...
Magnus Olsen [Wed, 13 Dec 2006 23:19:20 +0000 (23:19 +0000)]
Do not crash in GetDC, mplayer company we do not have a backbuffer now. good news, instead for a crash

svn path=/trunk/; revision=25152

17 years agoexprement code for GetPxielformat, (manger crash mplayer (the gui version) in the...
Magnus Olsen [Wed, 13 Dec 2006 23:06:48 +0000 (23:06 +0000)]
exprement code for GetPxielformat, (manger crash mplayer (the gui version) in the GetDC api, and maybe for we do not have the clipper implement. yet.

svn path=/trunk/; revision=25151

17 years agobuild wordpad with unicode="yes/no"
Sylvain Petreolle [Wed, 13 Dec 2006 22:05:14 +0000 (22:05 +0000)]
build wordpad with unicode="yes/no"

svn path=/trunk/; revision=25150

17 years agomore cleanup,
Magnus Olsen [Wed, 13 Dec 2006 21:48:35 +0000 (21:48 +0000)]
more cleanup,
1. fixed more tab to space
2. rewrite addref for some inteface.

svn path=/trunk/; revision=25149

17 years agofixing more format from tab to space
Magnus Olsen [Wed, 13 Dec 2006 21:28:52 +0000 (21:28 +0000)]
fixing more format from tab to space

svn path=/trunk/; revision=25148

17 years agofixed format of this file do not mix tab and space
Magnus Olsen [Wed, 13 Dec 2006 20:57:09 +0000 (20:57 +0000)]
fixed format of this file do not mix tab and space

svn path=/trunk/; revision=25147

17 years ago- Improve a debug print to provide more info.
Aleksey Bragin [Wed, 13 Dec 2006 16:04:17 +0000 (16:04 +0000)]
- Improve a debug print to provide more info.

svn path=/trunk/; revision=25146

17 years agoTry to read shell name from HKCU registry key.
Hervé Poussineau [Wed, 13 Dec 2006 14:58:10 +0000 (14:58 +0000)]
Try to read shell name from HKCU registry key.
If HKCU registry key or file not found, fall back to HKLM registry key
If HKLM registry key or file not found, fall back to names "explorer.exe" and "cmd.exe"

svn path=/trunk/; revision=25145

17 years ago- msvc compability fixes
Johannes Anderwald [Wed, 13 Dec 2006 14:45:23 +0000 (14:45 +0000)]
- msvc compability fixes
- fix build breakage introduced by me

svn path=/trunk/; revision=25144

17 years agofixed setcorative level set now the DDRAWILCL_ISFULLSCREEN flags,
Magnus Olsen [Wed, 13 Dec 2006 09:36:39 +0000 (09:36 +0000)]
fixed setcorative level set now the DDRAWILCL_ISFULLSCREEN flags,
remove some code from blt for it does not work in fullscreen. our bltblt working now in fullscreen and windows mode.

svn path=/trunk/; revision=25143

17 years agosmall cleanup for unlock
Magnus Olsen [Wed, 13 Dec 2006 08:31:02 +0000 (08:31 +0000)]
small cleanup for unlock

svn path=/trunk/; revision=25142

17 years agoFixed, yeah our second test apps works ms dx sdk font.exe works equal good as it...
Magnus Olsen [Wed, 13 Dec 2006 07:54:45 +0000 (07:54 +0000)]
Fixed, yeah our second test apps works ms dx sdk font.exe works equal good as it use to now. We are getting Ddlock and Ddunlock working again.

svn path=/trunk/; revision=25141

17 years ago- Compilation fix.
Peter Ward [Wed, 13 Dec 2006 05:37:55 +0000 (05:37 +0000)]
- Compilation fix.

svn path=/trunk/; revision=25140

17 years agoPart 2/2 of WDK compability fixes
Johannes Anderwald [Tue, 12 Dec 2006 23:57:24 +0000 (23:57 +0000)]
Part 2/2 of WDK compability fixes
- reflect previous header changes
- fix prototype for GetConsoleAliasA/W
                    CreateSymbolicLinkA/W

svn path=/trunk/; revision=25139

17 years agoPart 1/2 of WDK compability fixes
Johannes Anderwald [Tue, 12 Dec 2006 23:52:02 +0000 (23:52 +0000)]
Part 1/2 of WDK compability fixes
- add struct CONSOLE_READCONSOLE_CONTROL to wincon.h
- add missing pointer typedef
- fix declaration of ReadConsoleA
                     ReadConsoleW
                     FindFirstVolumeA
                     FindFirstVolumeW
                     FindFirstVolumeMountPointA
                     FindFirstVolumeMountPointW
                     FindNextVolumeA
                     GetApplicationRecoveryCallback
                     RegisterApplicationRecoveryCallback
                     SystemTimeToTzSpecificLocalTime

- fix typedef of WIN32_FIND_STREAM_DATA

svn path=/trunk/; revision=25138

17 years agodo not crash if we call lock and unlock but something are wrong.
Magnus Olsen [Tue, 12 Dec 2006 22:03:49 +0000 (22:03 +0000)]
do not crash if we call lock and unlock but something are wrong.
we manger getting a lock but ms sdk font sample does not showing the font why ??

svn path=/trunk/; revision=25137

17 years agonow we are back in track, we are almost same state as we got with the old desgin...
Magnus Olsen [Tue, 12 Dec 2006 20:35:12 +0000 (20:35 +0000)]
now we are back in track, we are almost same state as we got with the old desgin of ddraw.dll
bltblt working again for HAL

svn path=/trunk/; revision=25136

17 years ago- fix bug in IntChangeDisplaySettings
Johannes Anderwald [Tue, 12 Dec 2006 20:22:07 +0000 (20:22 +0000)]
- fix bug in IntChangeDisplaySettings

svn path=/trunk/; revision=25135

17 years agobltblt is hacked now. but it draw a yellow surface now
Magnus Olsen [Tue, 12 Dec 2006 19:34:33 +0000 (19:34 +0000)]
bltblt is hacked now. but it draw a yellow surface now

svn path=/trunk/; revision=25134

17 years ago- Improve debug output
Aleksey Bragin [Tue, 12 Dec 2006 19:08:32 +0000 (19:08 +0000)]
- Improve debug output

svn path=/trunk/; revision=25133

17 years agoCheck if This and ThisSrc are NULL.
Maarten Bosma [Tue, 12 Dec 2006 18:54:50 +0000 (18:54 +0000)]
Check if This and ThisSrc are NULL.

svn path=/trunk/; revision=25132

17 years agoremove fireball hack in changedisplay, do not hard code the display number,
Magnus Olsen [Tue, 12 Dec 2006 17:56:27 +0000 (17:56 +0000)]
remove fireball hack in changedisplay, do not hard code the display number,
with this patch we are now extract the display number from the desktop and use it
patch was wroten by me and janderwald. I was to lazy finish it so janderwald did finish it
thanks janderwald.

svn path=/trunk/; revision=25131

17 years agoMake it a compile time choice, whether you want to use a clipper or not, because...
Maarten Bosma [Tue, 12 Dec 2006 17:51:50 +0000 (17:51 +0000)]
Make it a compile time choice, whether you want to use a clipper or not, because our ddraw does not support it yet.

svn path=/trunk/; revision=25130

17 years agoChangeDisplaySettingsEx() can be called with NULL DeviceName. In this case, we should...
Aleksey Bragin [Tue, 12 Dec 2006 12:18:17 +0000 (12:18 +0000)]
ChangeDisplaySettingsEx() can be called with NULL DeviceName. In this case, we should look it up, instead of BSODing.

Right now, this case is fixed by substituting the value to a hardcoded one "\\.\DISPLAY1" in case of NULL and call is made to store the values in registry.

svn path=/trunk/; revision=25129

17 years agoset svn:eolstyle native
Johannes Anderwald [Tue, 12 Dec 2006 07:59:45 +0000 (07:59 +0000)]
set svn:eolstyle native

svn path=/trunk/; revision=25128

17 years agoadd french translation to ipconfig
Sylvain Petreolle [Mon, 11 Dec 2006 22:41:37 +0000 (22:41 +0000)]
add french translation to ipconfig

svn path=/trunk/; revision=25127

17 years agounicode build fixes
Sylvain Petreolle [Mon, 11 Dec 2006 18:04:02 +0000 (18:04 +0000)]
unicode build fixes

svn path=/trunk/; revision=25126

17 years ago- Assign a proper InterfaceType to the resource descriptor. Fixes assert when using...
Aleksey Bragin [Mon, 11 Dec 2006 17:31:04 +0000 (17:31 +0000)]
- Assign a proper InterfaceType to the resource descriptor. Fixes assert when using VMWare video driver.

Approved by hpoussin.

svn path=/trunk/; revision=25125

17 years ago- Fix GCC 4.1.2 build. Patch by Usurp.
Peter Ward [Sun, 10 Dec 2006 22:39:21 +0000 (22:39 +0000)]
- Fix GCC 4.1.2 build. Patch by Usurp.

svn path=/trunk/; revision=25122

17 years agoFix compilation \ -> /.
Peter Ward [Sun, 10 Dec 2006 22:26:01 +0000 (22:26 +0000)]
Fix compilation \ -> /.

svn path=/trunk/; revision=25121

17 years ago- Add missing header.
Alex Ionescu [Sun, 10 Dec 2006 21:21:08 +0000 (21:21 +0000)]
- Add missing header.

svn path=/trunk/; revision=25119

17 years ago- Fix SleepEx.
Alex Ionescu [Sun, 10 Dec 2006 18:40:30 +0000 (18:40 +0000)]
- Fix SleepEx.
- Put volatile statements in EX_RUNDOWN_REF, IRP, DEVICE_OBJECT, ERESOURCE, FILE_OBJECT, IO_REMOVE_LOCK, WORK_QUEUE_ITEM where required (thanks to Microsoft's changes in the WDK to mark the fields properly).
- Update FILE_OBJECT definition.
- Add some asserts to some I/O functions.
- Add stub support for File Objects created by XP+ Drivers which have File Object Extensions.
- Add some fixes to IopDeleteFile, including proper reference counting for the DO and VPB, as well as cleanup when the file is closed without a handle.
- Fix a bug in IopSecurityFile.
- Queue and unqueue IRPs in all I/O functions.
- Fully support IRP cancellation now.
- Fix critical bugs in NtDeviceIoControlFile and NtDeviceFsControlFile which were causing double queueing of IRPs and freeing of invalid memory, as well as invalid paramter checking for user-mode buffers.
- Add exhaustive validation checks to IoCreateFile, add more failure cases, and validate the EA buffer. Also support IO_ATTACH_DEVICE_API flag.
- Implement IoCreateStreamFileObjectEx and IoCreateStreamFileObjectLite and fix several bugs in the original implementation of IoCreateStreamFileObject.
- Fix a bug in RtlRaiseException.
- Update Io*ShareAccess routines to support XP+ style semantics related to special File Object flags which disable their use.
- Add validation to all Query/Set routines so that information clasess, lengths, buffers and alignment are properly checked.
- Also add an array for the proper acess rights that each query/set operation requires.
- Check backup/restore privileges during I/O File operations.
- Check traverse access during I/O File Operations.
- Check access privileges to the device during I/O file operations.
- Rename IopReferenceDeviceObject and also verify if an exclusive DO is trying to be invalidly opened.
- Support various extra security checks during I/O File/Device Parse Routine.
- Fix a bug during IopCleanupIrp so that we don't dereference the File OBject if this was a create operation.
- Fix some bogus asserts in IofCompleteRequest, and save the IRP Flags before signalling it's event, since the driver might've freed it behind our back.
- Fix a large bug in ObInsertObject which affected the insert of unnamed objects with forced security options (Such as process/threads).
- Fix the creation of the Process/Thread/Job Obejct Types to that security information is forced.
- Remove "Fix PS!!!" messages since the bug is now fixed and these objects now get proper security descriptors.
- Fix another bug in ObInsertObjet which wasn't properly validating user-mode objects and always assumed kernel mode.
- Silence multiple trace/checkpoint messages that have accumulated throughout time for various debugging purposes.

svn path=/trunk/; revision=25118

17 years agocommit the patch from bug 1874 even it does not use the RDMSR and WRMSR measure metho...
Magnus Olsen [Sun, 10 Dec 2006 17:39:01 +0000 (17:39 +0000)]
commit the patch from bug 1874 even it does not use the RDMSR and WRMSR measure methood, we need use the RDMSR and WRMSR for dual core and CPU support it see Intel documentations AP-485, who u should do it. The patch is from HTO  Bugfix detections of RTSC support for single and dual core by me, adding check if the CPU support RDMSR and WRMSR and send a true or false value to GetCpuSpeed, so we known which method we should use. HTO patch should be use when it is false. other wise we should use the RDMSR and WRMSR measure method

See issue #1874 for more details.

svn path=/trunk/; revision=25117

17 years agoStubbing of Kernel Streaming DRM module
Andrew Greenwood [Sun, 10 Dec 2006 15:12:12 +0000 (15:12 +0000)]
Stubbing of Kernel Streaming DRM module

svn path=/trunk/; revision=25115

17 years agoFurther stubbing of Kernel Streaming APIs:
Andrew Greenwood [Sun, 10 Dec 2006 15:09:46 +0000 (15:09 +0000)]
Further stubbing of Kernel Streaming APIs:
KS.SYS PORTCLS.SYS

svn path=/trunk/; revision=25114

17 years agoFixed all hack in createsurface, we still have some bugs and do not create surface...
Magnus Olsen [Sun, 10 Dec 2006 13:32:35 +0000 (13:32 +0000)]
Fixed all hack in createsurface, we still have some bugs and do not create surface as we should.
but we lest create a single primary surface.

svn path=/trunk/; revision=25113

17 years agofixed some check in createsurface so user can not easy crash it.
Magnus Olsen [Sun, 10 Dec 2006 10:44:39 +0000 (10:44 +0000)]
fixed some check in createsurface so user can not easy crash it.

svn path=/trunk/; revision=25112

17 years agoRemove more of createsurface hack for primary surface.
Magnus Olsen [Sun, 10 Dec 2006 08:11:08 +0000 (08:11 +0000)]
Remove more of createsurface hack for primary surface.

svn path=/trunk/; revision=25111

17 years agosmall optimzing of drawing line by George Veskov (jkxxster at gmail dot com) irc...
Magnus Olsen [Sun, 10 Dec 2006 07:39:20 +0000 (07:39 +0000)]
small optimzing of drawing line by  George Veskov (jkxxster at gmail dot com) irc nick jkxx

svn path=/trunk/; revision=25110

17 years ago- Revert 25108, requested by silverblade.
Peter Ward [Sun, 10 Dec 2006 05:43:49 +0000 (05:43 +0000)]
- Revert 25108, requested by silverblade.

svn path=/trunk/; revision=25109

17 years agoFurther stubbing of Kernel Streaming APIs
Andrew Greenwood [Sun, 10 Dec 2006 04:16:35 +0000 (04:16 +0000)]
Further stubbing of Kernel Streaming APIs
(corrective path fix to follow...)

svn path=/trunk/; revision=25108

17 years agoThese files aren't complete yet, but this will put them at least in
Andrew Greenwood [Sun, 10 Dec 2006 04:04:03 +0000 (04:04 +0000)]
These files aren't complete yet, but this will put them at least in
their right place...

svn path=/trunk/; revision=25107

17 years agoremove most of the hack in createsurface
Magnus Olsen [Sat, 9 Dec 2006 21:41:42 +0000 (21:41 +0000)]
remove most of the hack in createsurface

svn path=/trunk/; revision=25105

17 years agoTest code to create surface. it is a big hack to create a primare surface.
Magnus Olsen [Sat, 9 Dec 2006 18:31:31 +0000 (18:31 +0000)]
Test code to create surface. it is a big hack to create a primare surface.
but we success create a primary surface. with this hack.

svn path=/trunk/; revision=25104