Commit graph

23469 commits

Author SHA1 Message Date
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
Andrew Greenwood c7765a6c6c Further stubbing of Kernel Streaming APIs:
KS.SYS PORTCLS.SYS


svn path=/trunk/; revision=25114
2006-12-10 15:09:46 +00:00
Magnus Olsen 0fe6b951ac 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
2006-12-10 13:32:35 +00:00
Magnus Olsen 33ba72260b fixed some check in createsurface so user can not easy crash it.
svn path=/trunk/; revision=25112
2006-12-10 10:44:39 +00:00
Magnus Olsen 41059dabf4 Remove more of createsurface hack for primary surface.
svn path=/trunk/; revision=25111
2006-12-10 08:11:08 +00:00
Magnus Olsen da0a71a8bc small optimzing of drawing line by George Veskov (jkxxster at gmail dot com) irc nick jkxx
svn path=/trunk/; revision=25110
2006-12-10 07:39:20 +00:00
Peter Ward 5ad7b6a0c9 - Revert 25108, requested by silverblade.
svn path=/trunk/; revision=25109
2006-12-10 05:43:49 +00:00
Andrew Greenwood 26fa983af4 Further stubbing of Kernel Streaming APIs
(corrective path fix to follow...)


svn path=/trunk/; revision=25108
2006-12-10 04:16:35 +00:00
Andrew Greenwood 275e3ef97e These files aren't complete yet, but this will put them at least in
their right place...


svn path=/trunk/; revision=25107
2006-12-10 04:04:03 +00:00
Magnus Olsen b06bb7eb7e remove most of the hack in createsurface
svn path=/trunk/; revision=25105
2006-12-09 21:41:42 +00:00
Magnus Olsen 465b3d78e8 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
2006-12-09 18:31:31 +00:00
Eric Kohl 9360360cb5 Don't show a wallpapers file extension.
svn path=/trunk/; revision=25102
2006-12-09 15:31:06 +00:00
Johannes Anderwald 71d16876ff - only control panel applet should be started with rundll32.exe, other modules can be started w/o it
svn path=/trunk/; revision=25101
2006-12-09 14:43:02 +00:00
Christoph von Wittich cc41125c21 fix version information display when using yasm
svn path=/trunk/; revision=25100
2006-12-09 13:47:38 +00:00
Magnus Olsen 94ca1acc37 revert the 25082 it cause unknown regress.
I did not notice it becose I did have a crashed dx hal interface.


svn path=/trunk/; revision=25099
2006-12-09 12:11:09 +00:00
Johannes Anderwald 659dc2230c - various msvc fixes
* inline -> __inline
 * use msvc generated interface name
 * fix duplicate definition of ElfrRegisterEventSourceA -> ElfrRegisterEventSourceW
 * fix memory leak in ElfrOpenELA 

svn path=/trunk/; revision=25097
2006-12-09 09:07:15 +00:00
Christoph von Wittich 880ee116c3 -display version information for compiler, binutils and nasm
svn path=/trunk/; revision=25092
2006-12-08 18:41:20 +00:00
Johannes Anderwald 3e7c9ccd65 - generated client header/source files get _c postfix
- generated server header/source files get _s postfix
- only generate code for the required module
Note: due to an bug in VS2005 build tool lib tool does only get part of generated object filename i.e. pnp_c.obj becomes pnp.obj. As a result the lib tool cannot link. However we need to generate unique obj files so that client / server project always compiles the requires source files

svn path=/trunk/; revision=25091
2006-12-08 12:47:58 +00:00
Johannes Anderwald 9813d8a0b7 - silence output
svn path=/trunk/; revision=25090
2006-12-08 12:24:40 +00:00
Johannes Anderwald bc5080e521 - include path to generated idl files for dependant projects
svn path=/trunk/; revision=25089
2006-12-08 11:50:56 +00:00
Christoph von Wittich adfd78e1b8 fix unused variable warning in release build
svn path=/trunk/; revision=25088
2006-12-08 11:15:48 +00:00
Johannes Anderwald e731b55f87 - add missing source header
svn path=/trunk/; revision=25087
2006-12-08 10:53:14 +00:00
Christoph von Wittich 6bf437add2 updated buslogic driver to version 1.2.0.4
See issue #1891 for more details.

svn path=/trunk/; revision=25086
2006-12-08 02:01:34 +00:00
Christoph von Wittich ae69669470 fix a typo in ObFindObject patch by hto
See issue #1861 for more details.

svn path=/trunk/; revision=25085
2006-12-08 01:06:10 +00:00
Christoph von Wittich ceff92df91 -new german language file
-some fixed for the english language file
patch by Colin Finck
See issue #1900 for more details.

svn path=/trunk/; revision=25084
2006-12-08 01:00:51 +00:00