Commit graph

25174 commits

Author SHA1 Message Date
Colin Finck 93e0ad758f Fix bug #2312 and add a check to show only the relevant information for Windows/Unix users
See issue #2312 for more details.

svn path=/trunk/; revision=27223
2007-06-18 11:58:35 +00:00
Christoph von Wittich 5fb6fb2312 added explorer-like addressbar
svn path=/trunk/; revision=27222
2007-06-18 00:09:37 +00:00
Magnus Olsen 4f5153dd3a Time to cellbrate we got bltblt hal working again
1. Createsurface can only create one surface at moment 
2. crash can occured if wrong param are being putin to createsurface for no error check are done. 
3. createsurface are still under havy devloping 

svn path=/trunk/; revision=27221
2007-06-17 23:43:21 +00:00
Magnus Olsen 7ae32c6424 last commit for today
fixing some compile warings for ddraw. 

svn path=/trunk/; revision=27220
2007-06-17 22:11:08 +00:00
Magnus Olsen 2f7fc5300c 1. fixed typo in DD->GetCaps
2. Started implement Createsurface for real this time. 
   thanks to all old try and error the new desgin make more sent 
   and are more clean. still Createsruface does not working yet. 

3. Fixed some comment tags for some whant start writing doc for thuse api 
   you are wellcome

svn path=/trunk/; revision=27218
2007-06-17 21:49:35 +00:00
Magnus Olsen f8757ee824 GetCaps are complete, not tested in all case but almost all
svn path=/trunk/; revision=27216
2007-06-17 15:19:59 +00:00
Dmitry Gorbachev d3a9230c70 Activate debug message about misbehaving "userinit.exe"
svn path=/trunk/; revision=27215
2007-06-17 15:18:06 +00:00
Magnus Olsen 487f93e2d7 DD->GetCaps for hal are so complete we can do with current
startup process we are missing setting This->lpLcl->lpGbl->lpddNLVCaps

fixed a smaller bugs in caps data

svn path=/trunk/; revision=27214
2007-06-17 14:46:04 +00:00
Magnus Olsen d68da75a83 50% are implmene in DD->GetCaps now
svn path=/trunk/; revision=27213
2007-06-17 14:14:42 +00:00
Magnus Olsen b51c13f0a3 GetCpas filling in how much memory we got now from HAL
svn path=/trunk/; revision=27212
2007-06-17 12:30:58 +00:00
Magnus Olsen 157883db74 start implement of DirectDraw_GetCaps
svn path=/trunk/; revision=27211
2007-06-17 11:22:23 +00:00
Magnus Olsen 588314ccad fixing one more bugs in QueryInterface
svn path=/trunk/; revision=27210
2007-06-16 22:05:16 +00:00
Magnus Olsen 4d6cc7d9a6 forget using addref in DirectDraw_QueryInterface, more werid bugs in ref
svn path=/trunk/; revision=27209
2007-06-16 20:04:01 +00:00
Magnus Olsen 4f6e4650de fixing couple of bugs in Main_DirectDraw_QueryInterface
1. adding create linking when u req a new directdraw interface from old one. 
   This Type of linking is exacly same lcl pointer as the linked interface,
   it mean we shall not create new lcl but use the current we got.
 
waring still bugs in DirectDraw_QueryInterface

svn path=/trunk/; revision=27208
2007-06-16 19:38:20 +00:00
Magnus Olsen 6eae3cd5e1 rewrite lite of Create_DirectDraw and add reenble options.
svn path=/trunk/; revision=27206
2007-06-16 18:18:04 +00:00
Magnus Olsen e0e7446ed1 adding allot of fix and partly implement
1. Adding table lockup for directdraw 1-6 but they are not complete
2. remove out GetDevicreIdentifer to own file it is a large functions
3. Fixed DirectDrawCreate works now
4. found out bit more how DirectDraw_QueryInterface works and comment the new found 
5. add the new table to QueryInterface they are partly support now, the new IID is IID_IDirectDraw4, IID_IDirectDraw2 and IID_IDirectDraw it partly support now. 

svn path=/trunk/; revision=27205
2007-06-16 16:42:50 +00:00
Aleksey Bragin 9fea2af376 - Fix a typo.
svn path=/trunk/; revision=27204
2007-06-16 12:48:04 +00:00
Sylvain Petreolle 9120964800 revert previous r27194
ntoskrnl already exports InterlockedDe/Increment
spotted by hpoussin

still fails to link,
thans to heisspiter for win32 test

svn path=/trunk/; revision=27203
2007-06-16 12:45:02 +00:00
Aleksey Bragin a49bd59734 - Finally, removing frame pointer was a bad idea (think of exceptions / etc).
svn path=/trunk/; revision=27202
2007-06-16 12:28:56 +00:00
Aleksey Bragin f1c06f9d0b - Uhh.. Doing it properly now.
- Also gathered trigonometric function into one file.

svn path=/trunk/; revision=27201
2007-06-16 11:55:21 +00:00
Magnus Olsen 7c9d0792cb rewrite atan, cos, fabs, sin, sqrt, tan, it will give us better speed as well the old version was slow
svn path=/trunk/; revision=27200
2007-06-16 11:19:30 +00:00
Dmitry Gorbachev b1afaa85ca Unable to reproduce that bug (#2047). Apply r27177 patch again.
svn path=/trunk/; revision=27199
2007-06-16 08:27:02 +00:00
Magnus Olsen 21dfa5bf59 adding one missing stub
svn path=/trunk/; revision=27198
2007-06-16 01:32:59 +00:00
Magnus Olsen 9c81f9ad19 prepare vbe driver for two thing
1. a framebuf for VBE 1.2 this will be pretty hard to implement, 
   I got some idea, this mean our vbe drv will work on vbe 1.2 
   without doing a bankswitch

2. prepare for some dx api for vbe by adding support for special mode 0x81FF
   meaing we getting full access to the video driver memory in vbe. Thx aleasky
   you remmid and long talk in some month how we can do it. 


 

svn path=/trunk/; revision=27197
2007-06-15 23:58:10 +00:00
Dmitry Gorbachev a3897f253f Fix bug #2151. Thanks to Alex Ionescu.
svn path=/trunk/; revision=27196
2007-06-15 21:46:42 +00:00
Dmitry Gorbachev 7bba5bf9ba I'm sorry, but r27177 does not work for me. I just tested LiveCD on real
hardware, something goes wrong. So I'm reverting it for now. Please test it 
more carefully.

svn path=/trunk/; revision=27195
2007-06-15 21:39:28 +00:00
Sylvain Petreolle e6e9d500a4 add missing library to portcls
svn path=/trunk/; revision=27194
2007-06-15 19:52:26 +00:00
Dmitry Gorbachev 20560b2ef4 Do not break away from the loop on every error. It can cause situation when
many threads die after one client death.

svn path=/trunk/; revision=27193
2007-06-15 19:14:15 +00:00
Magnus Olsen a02534e0fe Fixing right behvoir for setcooperlevel with normal flag set in windows mode
Fixing gpl.dwflag being set right. 


svn path=/trunk/; revision=27192
2007-06-15 17:02:17 +00:00
Magnus Olsen 7ac1277f52 Fixing smaller bugs in startup.c it does not set windows handler or use windows handler hdc it create own hdc
svn path=/trunk/; revision=27191
2007-06-15 16:44:15 +00:00
Magnus Olsen 33ce8924d2 Fix so our demo apps can be compile with vs, this mean we can now using our demo apps debug our ddraw.dll internal struct data or ms ddraw.dll internal struct data allot easy.
svn path=/trunk/; revision=27190
2007-06-15 14:46:18 +00:00
Maarten Bosma 0dfb900085 Add lots of test cases for the CreateSurface API. See caps_tests.h for more info.
svn path=/trunk/; revision=27189
2007-06-15 14:46:03 +00:00
Dmitry Gorbachev 355f43c264 Improve FIXME comment. For future generations of developers. :)
svn path=/trunk/; revision=27187
2007-06-15 12:11:48 +00:00
Magnus Olsen 4f5eb73a1f make ddraw.dll lite more msvs frendly
svn path=/trunk/; revision=27184
2007-06-15 10:21:54 +00:00
Magnus Olsen 4db57afdf1 Fixing some bugs in startup.c
1. check for DDHALINFO_GETDRIVERINFOSET before using of 
   DdGetDriverInfo, it exists two diffent version of 
   DdGetDriverInfo2

2. Adding a fixme for fixing CreateSurfaceEx, GetDriverState 
   and DestroyDDLocal callbacks for HAL, and adding partly 
   code in the fixme.

   

svn path=/trunk/; revision=27183
2007-06-15 09:54:52 +00:00
Magnus Olsen 4bac086c86 more rewriting of setcooperlevel, it start working simluare as windows ddraw. and it start setup same value as well in the private struct.
svn path=/trunk/; revision=27181
2007-06-14 22:04:32 +00:00
Magnus Olsen 52c6c5e833 commit more test for setcooperlevel, not all test are in that we need.
svn path=/trunk/; revision=27180
2007-06-14 22:01:22 +00:00
Magnus Olsen 4a4c71ea2b fixing ddrawi is compatible with vs
svn path=/trunk/; revision=27178
2007-06-14 20:02:51 +00:00
Johannes Anderwald c4f39da5a8 - release lock on error
svn path=/trunk/; revision=27177
2007-06-14 19:51:19 +00:00
Dmitry Gorbachev e2299b4583 - Do not leak ports.
- Use threads. This should allow shutdown.
- Fix indentation.

svn path=/trunk/; revision=27176
2007-06-14 19:09:32 +00:00
Dmitry Gorbachev 076ca93553 - Do not create process data twice.
- Check message type.

svn path=/trunk/; revision=27175
2007-06-14 16:47:24 +00:00
Dmitry Gorbachev 0743fc87cf - Hackish solution of issue #2062.
- Turn off title change, as it can cause a deadlock.

svn path=/trunk/; revision=27174
2007-06-14 16:41:55 +00:00
Magnus Olsen 88bc96e3df start rewrite SetCooperativeLevel
we pass some more test for setcooper but not all, the wine code are allot mess and wrong. 
the wine code will be remove complete. 

svn path=/trunk/; revision=27173
2007-06-14 13:41:48 +00:00
Ged Murphy 05105d3d12 these files should have headers
svn path=/trunk/; revision=27166
2007-06-12 20:56:01 +00:00
Aleksey Bragin 59cf409608 - Translation to Russian language by Dmitry Chapyshev.
svn path=/trunk/; revision=27164
2007-06-12 20:41:34 +00:00
Aleksey Bragin 66a9ac9e88 - Translation to Russian language by Dmitry Chapyshev.
svn path=/trunk/; revision=27163
2007-06-12 20:35:04 +00:00
Aleksey Bragin adcf0f69c7 - Translation to Russian language by Dmitry Chapyshev.
svn path=/trunk/; revision=27162
2007-06-12 20:31:45 +00:00
Johannes Anderwald 77e68c3d5a - was not meant to be commited
svn path=/trunk/; revision=27161
2007-06-12 19:35:15 +00:00
Johannes Anderwald 4d8d218004 - dont double free memory
svn path=/trunk/; revision=27160
2007-06-12 19:33:44 +00:00
Johannes Anderwald 13eda403d7 - remove MenuItem from MenuItemList on request
svn path=/trunk/; revision=27158
2007-06-12 18:18:32 +00:00