Commit graph

23293 commits

Author SHA1 Message Date
Maarten Bosma
e83af284f2 New Downloader
- Description field is not done yet. 
- Download.c is taken from getfirefox.

svn path=/trunk/; revision=25168
2006-12-15 16:11:59 +00:00
Magnus Olsen
0296188f39 adding experment code for createsurface overlay. but this code show how we should do the backbuffer.
svn path=/trunk/; revision=25167
2006-12-14 22:58:44 +00:00
Magnus Olsen
acb5f1bb20 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
2006-12-14 21:11:00 +00:00
Sylvain Petreolle
8a0deccf20 build control with unicode=yes
svn path=/trunk/; revision=25165
2006-12-14 20:40:18 +00:00
Magnus Olsen
662f1546cf create backbuffer works, left todo is to implement getattach surface.
svn path=/trunk/; revision=25164
2006-12-14 20:03:06 +00:00
Magnus Olsen
23153cc3cf 1. fixed fullscreen crash when we exit
2. more prepations for backbuffer support

svn path=/trunk/; revision=25163
2006-12-14 19:33:05 +00:00
Magnus Olsen
4eca115ed8 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
2006-12-14 18:10:18 +00:00
Aleksey Bragin
627e0b918d A correct check, finally.
svn path=/trunk/; revision=25161
2006-12-14 13:22:55 +00:00
Aleksey Bragin
734c8972dd GreyGhost: Fixing typos.
svn path=/trunk/; revision=25160
2006-12-14 12:51:16 +00:00
Magnus Olsen
3b179ca6a9 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
2006-12-14 12:49:19 +00:00
Magnus Olsen
75f5b641f2 make the cleanup working as it should, do not crash when it try free unlinked dd interface.
svn path=/trunk/; revision=25158
2006-12-14 10:53:35 +00:00
Magnus Olsen
80f2505753 The format change of setup.c cause unexpect error. some typo ??
svn path=/trunk/; revision=25157
2006-12-14 10:32:23 +00:00
Magnus Olsen
f6dc17f3c0 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
2006-12-14 09:35:19 +00:00
Magnus Olsen
45000c2da2 start implement release for dd interface, we do not release everthing yet, we still have some memory leak.
svn path=/trunk/; revision=25155
2006-12-14 09:20:00 +00:00
Magnus Olsen
849df320ad fixing a small check in createsurface
svn path=/trunk/; revision=25154
2006-12-14 08:43:04 +00:00
Magnus Olsen
fc31996a7d Implement full support for GetPixelFormat
svn path=/trunk/; revision=25153
2006-12-14 08:22:17 +00:00
Magnus Olsen
ac78b1e624 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
2006-12-13 23:19:20 +00:00
Magnus Olsen
e24638087b 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
2006-12-13 23:06:48 +00:00
Sylvain Petreolle
1f89928830 build wordpad with unicode="yes/no"
svn path=/trunk/; revision=25150
2006-12-13 22:05:14 +00:00
Magnus Olsen
82d454c95b more cleanup,
1. fixed more tab to space
2. rewrite addref for some inteface. 

svn path=/trunk/; revision=25149
2006-12-13 21:48:35 +00:00
Magnus Olsen
b7bb710426 fixing more format from tab to space
svn path=/trunk/; revision=25148
2006-12-13 21:28:52 +00:00
Magnus Olsen
ca82e66f85 fixed format of this file do not mix tab and space
svn path=/trunk/; revision=25147
2006-12-13 20:57:09 +00:00
Aleksey Bragin
209f1567c8 - Improve a debug print to provide more info.
svn path=/trunk/; revision=25146
2006-12-13 16:04:17 +00:00
Hervé Poussineau
8a628a8eea 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
2006-12-13 14:58:10 +00:00
Johannes Anderwald
7f7148ea0c - msvc compability fixes
- fix build breakage introduced by me

svn path=/trunk/; revision=25144
2006-12-13 14:45:23 +00:00
Magnus Olsen
4c1c201d3c 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
2006-12-13 09:36:39 +00:00
Magnus Olsen
519c0fdb36 small cleanup for unlock
svn path=/trunk/; revision=25142
2006-12-13 08:31:02 +00:00
Magnus Olsen
cb00971319 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
2006-12-13 07:54:45 +00:00
Peter Ward
f696e3e547 - Compilation fix.
svn path=/trunk/; revision=25140
2006-12-13 05:37:55 +00:00
Johannes Anderwald
86ee432e0b Part 2/2 of WDK compability fixes
- reflect previous header changes
- fix prototype for GetConsoleAliasA/W
                    CreateSymbolicLinkA/W


svn path=/trunk/; revision=25139
2006-12-12 23:57:24 +00:00
Johannes Anderwald
170373b2b0 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
2006-12-12 23:52:02 +00:00
Magnus Olsen
0354fd8d4b 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
2006-12-12 22:03:49 +00:00
Magnus Olsen
6d0fbf46e2 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
2006-12-12 20:35:12 +00:00
Johannes Anderwald
2e89f9158d - fix bug in IntChangeDisplaySettings
svn path=/trunk/; revision=25135
2006-12-12 20:22:07 +00:00
Magnus Olsen
fe01bb3090 bltblt is hacked now. but it draw a yellow surface now
svn path=/trunk/; revision=25134
2006-12-12 19:34:33 +00:00
Aleksey Bragin
0d5961e9e4 - Improve debug output
svn path=/trunk/; revision=25133
2006-12-12 19:08:32 +00:00
Maarten Bosma
5c0d1ea97a Check if This and ThisSrc are NULL.
svn path=/trunk/; revision=25132
2006-12-12 18:54:50 +00:00
Magnus Olsen
f1c6b23eaa 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
2006-12-12 17:56:27 +00:00
Maarten Bosma
e564de2bbd 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
2006-12-12 17:51:50 +00:00
Aleksey Bragin
8d383c3bad 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
2006-12-12 12:18:17 +00:00
Johannes Anderwald
d7b7be7821 set svn:eolstyle native
svn path=/trunk/; revision=25128
2006-12-12 07:59:45 +00:00
Sylvain Petreolle
159c3a0448 add french translation to ipconfig
svn path=/trunk/; revision=25127
2006-12-11 22:41:37 +00:00
Sylvain Petreolle
e094e5bf06 unicode build fixes
svn path=/trunk/; revision=25126
2006-12-11 18:04:02 +00:00
Aleksey Bragin
1a86140ef5 - Assign a proper InterfaceType to the resource descriptor. Fixes assert when using VMWare video driver.
Approved by hpoussin.

svn path=/trunk/; revision=25125
2006-12-11 17:31:04 +00:00
Peter Ward
37d0a75dc4 - Fix GCC 4.1.2 build. Patch by Usurp.
svn path=/trunk/; revision=25122
2006-12-10 22:39:21 +00:00
Peter Ward
204be1a566 Fix compilation \ -> /.
svn path=/trunk/; revision=25121
2006-12-10 22:26:01 +00:00
Alex Ionescu
c853849d00 - Add missing header.
svn path=/trunk/; revision=25119
2006-12-10 21:21:08 +00:00
Alex Ionescu
c39989df1b - 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
2006-12-10 18:40:30 +00:00
Magnus Olsen
2ae5e0b1ff 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
2006-12-10 17:39:01 +00:00
Andrew Greenwood
d14487acdf Stubbing of Kernel Streaming DRM module
svn path=/trunk/; revision=25115
2006-12-10 15:12:12 +00:00