Commit graph

25156 commits

Author SHA1 Message Date
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
Magnus Olsen bbbe421396 making portcls can be compile now
svn path=/trunk/; revision=27157
2007-06-12 15:37:30 +00:00
Dmitry Gorbachev d37dc1d14e Dutch translation by Joost de Meij (bug report #2300).
svn path=/trunk/; revision=27156
2007-06-12 15:35:03 +00:00
Magnus Olsen 425ddbf45a fixing some header problem for portcls
svn path=/trunk/; revision=27155
2007-06-12 15:23:28 +00:00
Magnus Olsen 36f388cc37 adding include windows.h it take care for some macro was not declare and COM macro are only in psdk what I known, still create compiling issue
svn path=/trunk/; revision=27154
2007-06-12 10:26:47 +00:00
Hervé Poussineau ad0d69c348 Do not create a new device node if we already know the PDO
svn path=/trunk/; revision=27153
2007-06-12 08:38:32 +00:00
Aleksey Bragin 5b7bb95ec1 Massive changes to the driver loading / device creation logic (as a result of collaborative work with Herve):
- Really reuse the driver's object, instead of always failing in "IopGetDriverObject()". Fix driver's object creation accordingly in NtLoadDriver() and IopActionInitChildServices().
- Move InvalidateRelations to a later stage, when it really should happen (previously it just delayed the boot process but couldn't load any driver since boot device was inaccessible and reusing drivers loaded by the bootloader was not possible).
- Minor bugfixes in various places related to these changes.
- Add DPRINTs for easier debugging and failure tracking (silent failure is the worst enemy of a developer).

Results:
- VMWare video driver regression is gone.
- "New device found" wizard appears in the 3rd stage like in "old good times".
- Network drivers hang somewhere, so a hack is added to temporarily disable installation of pcnet.sys.


svn path=/trunk/; revision=27151
2007-06-11 22:02:55 +00:00
Hervé Poussineau 8bb5ea4208 Always complete the IRP_MJ_PNP irp, even if we don't recognize the minor function
svn path=/trunk/; revision=27150
2007-06-11 21:26:51 +00:00
Aleksey Bragin 0a8b633b06 - hpoussin: If minor function is not recognized, you must not change the Irp->IoStatus.Status field.
svn path=/trunk/; revision=27149
2007-06-11 21:20:25 +00:00
Timo Kreuzer 1b70c2f495 - use LOGFONTW structure from GetFontResourceInfo for face name
- use LF_FULLFACESIZE
- some cleanup

svn path=/trunk/; revision=27148
2007-06-11 20:38:55 +00:00
Thomas Bluemel 07e6389f6c Fix syntax error
svn path=/trunk/; revision=27147
2007-06-11 18:14:14 +00:00
Aleksey Bragin c8492ec043 - Remove a call to TREEVIEW_Update() which causes an infinite loop on ReactOS. Now it should be possible to use treeview controls (such as regedit's left pane) without major problems.
svn path=/trunk/; revision=27146
2007-06-11 17:57:07 +00:00
Dmitry Gorbachev 6284ebf8b2 Update Polish translation. Bug #2298.
svn path=/trunk/; revision=27145
2007-06-11 15:57:16 +00:00
Dmitry Gorbachev 272fa75e9d Translations:
- Dutch  by Joost de Meij (dreamsmsn *at* gmail *dot* com). Bug #2296.
- French by Pierre Schweitzer. Bug #2297.
- Polish by Olaf Siejka. Bug #2298.

svn path=/trunk/; revision=27144
2007-06-11 15:56:42 +00:00
Dmitry Gorbachev 12130e71ab - Remove root device hack.
- Add event dereferencing hack (bug report #2240).

svn path=/trunk/; revision=27141
2007-06-11 15:02:23 +00:00
Ged Murphy ca4a88afa0 fix build
svn path=/trunk/; revision=27140
2007-06-11 14:48:39 +00:00
Ged Murphy b0b8a08702 delete todo.h the definitions
svn path=/trunk/; revision=27139
2007-06-11 14:24:50 +00:00
Ged Murphy 72c2c80949 move a couple more definitions into the public sdk
svn path=/trunk/; revision=27138
2007-06-11 14:23:49 +00:00
Aleksey Bragin 80f6386261 - Fix a bug with querying registry values (a typo, spotted/fixed by Herve).
- Fix a problem when a device, which was already in the list is freed and memory corruption is introduced.

svn path=/trunk/; revision=27137
2007-06-11 13:35:42 +00:00