Commit graph

24931 commits

Author SHA1 Message Date
Magnus Olsen ea4a1dfdd0 adding two idl file 100% compatible with ms dxsdk 2004 dec
This two idl can not yet be auto genrated in reactos for varius reason. 

svn path=/trunk/; revision=26899
2007-05-26 09:28:26 +00:00
Magnus Olsen 780533a258 Created folder remotely
This folder will contain dxsdk idl files

svn path=/trunk/; revision=26898
2007-05-26 08:36:56 +00:00
Magnus Olsen 4a0055bc36 Wrote two new header this morning compatible with dxsdk 2004 dec release.
svn path=/trunk/; revision=26897
2007-05-26 07:03:52 +00:00
Magnus Olsen 2f6b952a84 Wrote one new header this night compatible with dxsdk 2004 dec release.
svn path=/trunk/; revision=26896
2007-05-25 21:51:35 +00:00
Dmitry Gorbachev 997f872497 Uncomment Japanese, as it is supported already.
svn path=/trunk/; revision=26895
2007-05-25 18:25:06 +00:00
Dmitry Gorbachev b73dbd37d5 Borrow Japanese NLS file from WINE project.
svn path=/trunk/; revision=26894
2007-05-25 18:24:55 +00:00
Dmitry Gorbachev 0f337a24cb Do not free the string twice.
svn path=/trunk/; revision=26893
2007-05-25 17:10:11 +00:00
Aleksey Bragin 5f53b128c9 - Remove a hack from IopCreateDriver(), no boot hang happens in VMWare without it anymore.
- Uncomment a ExFreePool() in a Delete routine for Driver object type, should prevent a possible memory leak (was commented due to the previous hack).
- Added a small piece of a new logic into IopCreateDriver(). In ReactOS it's being called two times almost immediately, which results in a non-unique driver object name, since KeTickCount is the same. In order to prevent this situation a loop is added, having 100 iterations as max.

svn path=/trunk/; revision=26891
2007-05-25 13:52:58 +00:00
Magnus Olsen e0d8bd0a65 switch to dxsdk 2 of 2 step
This commit fix the build again

svn path=/trunk/; revision=26889
2007-05-25 11:19:11 +00:00
Magnus Olsen 5fcac65ce9 switch to dxsdk 1 of 2 step
This commit break the build

svn path=/trunk/; revision=26888
2007-05-25 11:18:13 +00:00
Magnus Olsen d7e4c52534 fixing two typo
svn path=/trunk/; revision=26887
2007-05-25 10:51:26 +00:00
Magnus Olsen ec5f57ddaf remove a dprint that is not lonnger need it
svn path=/trunk/; revision=26886
2007-05-25 10:07:18 +00:00
Magnus Olsen 45333a49c3 Wrote one new header this morning compatible with dxsdk 2004 dec release.
svn path=/trunk/; revision=26885
2007-05-25 10:02:08 +00:00
Magnus Olsen e7b2733b20 Wrote one new header this morning compatible with dxsdk 2004 dec release.
svn path=/trunk/; revision=26884
2007-05-25 09:32:37 +00:00
Timo Kreuzer 2b0336eaf8 - initialize display class with "Ms Shell Dlg"
- don't show display window until font is set
- use negative value for font size (patch by roytam1)

See issue #2260 for more details.

svn path=/trunk/; revision=26883
2007-05-25 07:48:17 +00:00
Aleksey Bragin 86ca0a4eba - ACPI was intentionally disabled. Reverting 26870, thus unregressing VMWare video driver installation (since PCI bus is now again being enumerated).
svn path=/trunk/; revision=26882
2007-05-25 07:46:48 +00:00
Aleksey Bragin 03356a723c - Fix wrong access-rights when referencing the object (fixes NtEnumerateKey() API).
- Add DPRINTs for problems with objects referencing.

svn path=/trunk/; revision=26880
2007-05-24 13:23:33 +00:00
Aleksey Bragin 2691c6bc92 - Add tracing DPRINTs to all public APIs.
svn path=/trunk/; revision=26878
2007-05-24 08:59:34 +00:00
James Tabor 9f2630ccce - Fixed arithmetic semantics. Making it more Windows compatible.
- This example work now.
double F2F(PFLOATOBJ f)
{
 if(SIGN(f->ul1)) // negate mant
   return (double) -(-f->ul1 * pow(2,(double)f->ul2-32));
 else return (double) f->ul1 * pow(2,(double)f->ul2-32);
}

svn path=/trunk/; revision=26877
2007-05-24 01:39:31 +00:00
Hervé Poussineau 8b7099f2cd Specify W suffix when possible
Don't allocate unneeded memory in SetupDiCreateDeviceInfoListExW
Replace strings by array of WCHARs

svn path=/trunk/; revision=26876
2007-05-23 21:40:46 +00:00
Magnus Olsen f1a1a96940 Fixing CreateDirectDraw crash
svn path=/trunk/; revision=26873
2007-05-23 19:48:54 +00:00
Magnus Olsen e9753c14a8 comment out GetDOURCC data from DDHALINFO for it seam some strang crash.
svn path=/trunk/; revision=26872
2007-05-23 19:27:29 +00:00
Timo Kreuzer 96b50f2d59 - make fontview look closer to MS fontview, patch by roytam1, modified by me.
- Create fonts only once
- Remove possibility to get page height without drawing


See issue #2260 for more details.

svn path=/trunk/; revision=26871
2007-05-23 00:25:31 +00:00
Ged Murphy 5cecf17b6f re-enable ACPI
svn path=/trunk/; revision=26870
2007-05-22 19:33:20 +00:00
Maarten Bosma a898075895 Fix two oversights in GetDisplayMode.
svn path=/trunk/; revision=26869
2007-05-22 19:30:25 +00:00
Maarten Bosma f31403fe80 Change EnumDisplayModes to use EnumDisplaySettingsEx because Nvidia does not set lpModeInfo in DDHALINFO.
svn path=/trunk/; revision=26868
2007-05-22 12:39:59 +00:00
Ged Murphy 6545618504 remove unnecessary NDEBUG definitions. freeldr has it's own debugging system.
svn path=/trunk/; revision=26867
2007-05-22 11:00:00 +00:00
Maarten Bosma 5dd4476d06 Fix another typo.
svn path=/trunk/; revision=26866
2007-05-22 10:58:27 +00:00
Maarten Bosma fb06e53fc5 Fix a typo and improve a test.
svn path=/trunk/; revision=26865
2007-05-22 10:57:53 +00:00
Magnus Olsen 3355adf732 Fixing another memory crash bug this time for GetFourCCCodes
svn path=/trunk/; revision=26864
2007-05-22 10:46:17 +00:00
Hervé Poussineau 2a62b56fd9 Add installation path for VMware 6.0
svn path=/trunk/; revision=26863
2007-05-22 10:40:57 +00:00
Ged Murphy f18c692bc2 turn debugging off
svn path=/trunk/; revision=26862
2007-05-22 10:17:07 +00:00
Ged Murphy 41624f4f99 - fix the release build for Colin.
- clean up formatting of a file I was playing with.

svn path=/trunk/; revision=26861
2007-05-21 23:12:16 +00:00
Magnus Olsen d746c66d94 Fixing another memory crash bug this time for GetFourCCCodes
svn path=/trunk/; revision=26860
2007-05-21 20:51:55 +00:00
Magnus Olsen 3893f07116 hacking so we manger only create one directdraw interface, the linked code for create one is offline.
svn path=/trunk/; revision=26859
2007-05-21 20:25:23 +00:00
Ged Murphy fe490d6ce0 revert 26844 to fall back in line with widl
svn path=/trunk/; revision=26858
2007-05-21 19:48:47 +00:00
Magnus Olsen 298cd5e094 Thx DrFred notice I did take wrong struct at alloc, I also comment up the code bit.
svn path=/trunk/; revision=26857
2007-05-21 18:49:28 +00:00
Eric Kohl 30740cbe3d Revert latest update due to unexpected bug in compiled files.
svn path=/trunk/; revision=26856
2007-05-21 18:28:00 +00:00
Maarten Bosma 6891a17fe5 MIN => min
svn path=/trunk/; revision=26855
2007-05-21 18:25:17 +00:00
Maarten Bosma 813da313d4 - Also leave critical section if lpNumCodes is 0
- make sure we do not copy too much - thanks to Hervé
- check if window is valid 

svn path=/trunk/; revision=26854
2007-05-21 17:18:41 +00:00
Magnus Olsen 327cd7852d fixing thread safe in GetFourCCCodes
svn path=/trunk/; revision=26853
2007-05-21 16:23:43 +00:00
Maarten Bosma 1c247edcf4 Implement IDirectDraw7::GetFourCCCodes
svn path=/trunk/; revision=26852
2007-05-21 15:47:39 +00:00
Magnus Olsen 0dd6b57e78 Fixing minors bugs
1. The linking interface was use when we req no linking interface.
2. The no linking was use when we req linking interface
3. cleanup the linking interface code so it getting simplire, like reuse same dx  handler and other stuff. (have not check if ms ddraw resue it or not)

svn path=/trunk/; revision=26851
2007-05-21 15:44:27 +00:00
Maarten Bosma 16abbb4536 Test for IDirectDraw7::GetFourCCCodes
svn path=/trunk/; revision=26850
2007-05-21 15:24:57 +00:00
Maarten Bosma ded6f889ce Implement IDirectDraw7::EnumDisplayModes and IDirectDraw7::RestoreDisplayMode
svn path=/trunk/; revision=26849
2007-05-21 12:01:07 +00:00
Maarten Bosma 8bbbeb08ba - Implement IDirectDraw7::GetMonitorFrequency, GetDisplayMode
- Outsource display mode related APIs into own file
- Some formatting and spelling fixes

svn path=/trunk/; revision=26848
2007-05-21 10:11:10 +00:00
Aleksey Bragin f52f59db1d - Make 2 disk read error messages different, so it's possible to see what fails more exactly.
svn path=/trunk/; revision=26847
2007-05-21 08:46:18 +00:00
Maarten Bosma 6a11c13aa1 Sorry, I forgot this one.
svn path=/trunk/; revision=26846
2007-05-20 22:56:32 +00:00
Maarten Bosma d49bca10c2 Implement IDirectDraw7::GetAvailableVidMem.
svn path=/trunk/; revision=26845
2007-05-20 22:48:19 +00:00
Aleksey Bragin cc557fcbd2 - Fix WebBrowser struct declaration to conform with a new WIDL.
svn path=/trunk/; revision=26844
2007-05-20 11:29:22 +00:00