Commit graph

25193 commits

Author SHA1 Message Date
Magnus Olsen f26b273557 simplefly Main_DirectDraw_QueryInterface code
svn path=/trunk/; revision=27266
2007-06-23 09:57:34 +00:00
Magnus Olsen 2d2cf54cc3 small redesgin do not type cast DirectDraw COM to LPDDRAWI_DIRECTDRAW_INT, use LPDDRAWI_DIRECTDRAW_INT as prototype in all directdraw functions.
svn path=/trunk/; revision=27265
2007-06-22 20:03:04 +00:00
Magnus Olsen bd57936267 Fixing comping waring, also diamble our debug macro (it does not work for full screen for some reason
svn path=/trunk/; revision=27264
2007-06-22 19:34:06 +00:00
Magnus Olsen 1d08d6b833 fixing a member that are not being set
svn path=/trunk/; revision=27263
2007-06-22 16:50:36 +00:00
Magnus Olsen e46a5994cf Fixing smaller bugs, like save the internal surface list, document up some members what they do
svn path=/trunk/; revision=27262
2007-06-22 15:11:59 +00:00
Magnus Olsen a06823792a revert 27246 it is a hack a proper fix should be done in gdi32 or win32k
thx ged for review the old code with me, and talking what can be wrong 
this hack also solv dispare buttom in some case. 

svn path=/trunk/; revision=27253
2007-06-21 16:16:23 +00:00
Colin Finck 9c62047e36 Re-add the "lake.bmp" wallpaper inclusion (partly imported from the deleted 0.3.1 branch, r26044)
The wallpaper is now also added to the %SystemRoot% directory instead of %SystemRoot%\system32

The only thing I did not import is the setting of the default wallpaper in "hivedef.inf". For 0.3.1, we hardcoded the full path to the wallpaper in the "hivedef.inf" file.
For 0.3.3, we should either do this only in the branch or better implement a proper solution like setting the path in 2nd stage setup.

svn path=/trunk/; revision=27250
2007-06-21 15:23:49 +00:00
Colin Finck f214c4f31e Finally fix the left/right confusion in all translations
svn path=/trunk/; revision=27249
2007-06-21 13:06:28 +00:00
Colin Finck 5f6ee9af28 Change the "ReactOS (R) Version 5.2 ..." boot message to "ReactOS (R) Kernel Version 5.2 ...", so people don't get confused by the different version numbers of the Kernel and ReactOS itself
svn path=/trunk/; revision=27248
2007-06-21 12:27:36 +00:00
Magnus Olsen 87c9cac62c fixing regress of icon drawing copyimage are complete mess and have allot of bugs.
I fixed tempary the icon drawing bug until I or some else got time rewriting copyimage image_load case
here is known bugs 
1. alpha icon does not working. 
2. wrong background getting selected 
3. and allot other thing. 

svn path=/trunk/; revision=27246
2007-06-20 19:54:22 +00:00
Magnus Olsen ec6a3bd4ea do not cause a crash in lock, some how lock and unlock does not work as they should
svn path=/trunk/; revision=27244
2007-06-20 05:23:09 +00:00
Magnus Olsen 73ca69bb50 actavite debuger trace again
svn path=/trunk/; revision=27243
2007-06-20 05:14:45 +00:00
Christoph von Wittich 9eaf219355 return FALSE instead of 0
svn path=/trunk/; revision=27241
2007-06-19 20:38:49 +00:00
Aleksey Bragin a2c98932c0 - Russian language translation by Dmitry Chapyshev.
svn path=/trunk/; revision=27236
2007-06-19 08:40:36 +00:00
Aleksey Bragin 556cfbf54a - Russian language translation and fixes to existing translation by Dmitry Chapyshev.
svn path=/trunk/; revision=27235
2007-06-19 08:37:36 +00:00
Aleksey Bragin 04c89b07a5 - Russian language translation fixes by Dmitry Chapyshev.
svn path=/trunk/; revision=27234
2007-06-19 08:27:45 +00:00
Magnus Olsen 74d47c7244 Check the sub_lang before a commit I do not want other langues that english,
like getting ukrain instead for english when the os are set to english

svn path=/trunk/; revision=27232
2007-06-18 21:57:11 +00:00
Magnus Olsen d6273d8a62 Fixed some smaller bugs
svn path=/trunk/; revision=27226
2007-06-18 18:11:39 +00:00
Maarten Bosma 0e95f8362e - Some formatting fixes
- Some checks and fixed return values

svn path=/trunk/; revision=27224
2007-06-18 14:58:44 +00:00
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