Commit graph

30314 commits

Author SHA1 Message Date
Johannes Anderwald 84d4c7f4da - fix flickering of DirectDraw tests by Pigglesworth (Kamil Hornicek)
- enumerate all available display / sound adapters dynamically at start (does not work yet)
- rewrite TabCtrl_OnSelChange to reflect changes


svn path=/trunk/; revision=33188
2008-04-29 12:19:55 +00:00
Johannes Anderwald dd03a00484 - query current time zone
- retrieve localized country for a version
- pass length parameter to avoid potential buffer overflows

svn path=/trunk/; revision=33187
2008-04-29 10:27:03 +00:00
James Tabor 5d1a36463e Implement DxEngSetDCOwner, add stub for IntGdiSetDCOwnerEx.
svn path=/trunk/; revision=33186
2008-04-29 02:00:56 +00:00
James Tabor 6e7d793b62 Update DxEngSetDCOwner and add owner masks.
svn path=/trunk/; revision=33185
2008-04-29 01:46:58 +00:00
Johannes Anderwald ff187406a6 - enumerate driver files, driver version and driver time
svn path=/trunk/; revision=33184
2008-04-28 21:47:43 +00:00
Andrey Korotaev 67e7cbefcb Fix build
svn path=/trunk/; revision=33183
2008-04-28 20:20:53 +00:00
Dmitry Chapyshev 94ae49ad03 - Add some defines
svn path=/trunk/; revision=33182
2008-04-28 19:29:08 +00:00
Johannes Anderwald bd67e0b8ba - implement more details for display adapter page
- enlarge general details groupbox

svn path=/trunk/; revision=33181
2008-04-28 17:16:57 +00:00
Dmitry Chapyshev ed2f55b464 - Update Russian translation
svn path=/trunk/; revision=33180
2008-04-28 16:57:57 +00:00
Johannes Anderwald fe85b2aafe - add DirectDraw tests by Pigglesworth (Kamil Hornicek)
- add resources for display page
- start implementing display page
- sync german resources
- display custom service provider for DirectPlay

svn path=/trunk/; revision=33178
2008-04-28 15:14:12 +00:00
Johannes Anderwald a8e3a8cc03 - add GUID_DEVCLASS_DISPLAY
- fix format

svn path=/trunk/; revision=33177
2008-04-28 14:55:21 +00:00
Dmitry Chapyshev 67880e7352 - Add support second keyboard layout
- Update all translations

svn path=/trunk/; revision=33175
2008-04-28 14:04:22 +00:00
Marc Piulachs dbe6f7e739 make rbuild files XML compliant by adding the XInclude namespace , no code change
svn path=/trunk/; revision=33174
2008-04-28 13:44:11 +00:00
Magnus Olsen 621c32a3f3 update intEnableReactXDriver with more code
svn path=/trunk/; revision=33173
2008-04-28 06:03:29 +00:00
Dmitry Chapyshev 506f10166e - Add kbswitch to autorun
svn path=/trunk/; revision=33172
2008-04-27 20:42:01 +00:00
Dmitry Chapyshev 30d6c42539 - Don't be loaded more than one copy of the application (based on mutex)
svn path=/trunk/; revision=33171
2008-04-27 17:14:58 +00:00
Marc Piulachs d74dbb71d9 spanish translation for kbswitch
svn path=/trunk/; revision=33170
2008-04-27 17:09:51 +00:00
Magnus Olsen d69543779c Getting the pain in the ass api DxDdCreateDirectDrawObject inside ms dxg.sys working it is now returning info now
it needs a negtive value set in struct edd_directdraw_global member llAssertModeTimeout. 

svn path=/trunk/; revision=33169
2008-04-27 17:00:06 +00:00
Dmitry Chapyshev 3f20c9565c - Implement current layout indicator
svn path=/trunk/; revision=33168
2008-04-27 15:40:42 +00:00
Magnus Olsen 687cbecc1a add new : define a new flags for edd_directdraw_global, struct member in edd_directdraw_global
Fixed : some comment 
Add DD_MISCELLANEOUS2CALLBACKS so it works now with ms dxg.sys from user mode with callbacks.
it mean follow api from the gf card drv should work now with syscall to win32k from user mode
NtGdiDdAlphaBlt, NtGdiDdCreateSurfaceEx, NtGdiDdGetDriverState, NtGdiDdDestroyDDLocal


svn path=/trunk/; revision=33167
2008-04-27 15:31:47 +00:00
Daniel Reimer d312eca131 Fix one warning.
svn path=/trunk/; revision=33166
2008-04-27 15:18:20 +00:00
Daniel Reimer 5ca87d6bc1 Bug 3198: add new slovak translations and some changes by Mário Kačmár (kario@szm.sk)
Bug 3196: some spanish traslation by Javier Remacha (remialdo@gmail.com)

svn path=/trunk/; revision=33165
2008-04-27 15:02:13 +00:00
Magnus Olsen a5110635fa add DD_VIDEOPORTCALLBACKS it mean directx video port interface should started working now to user mode, with ms dxg.sys
svn path=/trunk/; revision=33164
2008-04-27 13:05:13 +00:00
Magnus Olsen a1197a2e61 ms dxg.sys can now found and execute GetAvailDriverMemory it works from usermode with syscall,
svn path=/trunk/; revision=33163
2008-04-27 12:47:28 +00:00
Magnus Olsen c08cbfa7a2 adding more code for init the drv in intEnableReactXDriver
svn path=/trunk/; revision=33162
2008-04-27 12:11:00 +00:00
Dmitry Chapyshev e18ad707c8 - Add new layouts to bootcd
svn path=/trunk/; revision=33161
2008-04-27 12:02:29 +00:00
Dmitry Chapyshev 2b7c04a7d9 Add keyboard layouts:
- Romanian
- Tatar
- US Dvorak for left hand
- US Dvorak for right hand
- US International

svn path=/trunk/; revision=33160
2008-04-27 12:01:38 +00:00
Magnus Olsen a5e7b91fe0 no new code, only fixed some more members in EDD_DIRECTDRAW_GLOBAL struct, and copy some private note to it.
svn path=/trunk/; revision=33159
2008-04-27 09:41:21 +00:00
Dmitry Chapyshev 72aa848eff - Increasing the size of controls
svn path=/trunk/; revision=33158
2008-04-27 09:07:43 +00:00
Magnus Olsen 3919a3d42a EDD_DIRECTDRAW_GLOBAL mark out ddSurfaceCallbacks is corrct and corrected the comment about it
updateddump_edd_directdraw_global so it dump even more data. 

svn path=/trunk/; revision=33157
2008-04-27 01:11:13 +00:00
Magnus Olsen 08f772b7c6 BugFix : EDD_DIRECTDRAW_GLOBAL put ddCallbacks in right position.
that mean  driver api DestroyDriver, CreateSurface, SetColorKey, SetMode, WaitForVerticalBlank, CanCreateSurface, CreatePalette, GetScanLine, MapMemory works inside ms dxg.sys now
test of that is NtGdiDdCreateSurface, NtGdiDdSetColorKey, NtGdiDdWaitForVerticalBlank, NtGdiDdCanCreateSurface, NtGdiDdCreatePalette, NtGdiDdGetScanLine
works and show prof it being call to the drv. that mean we got the graphic card api working now. It still exists bugs. Long live our ReactX that showing frist life sign with ms dxg.sys inside vmware and thuse api working. But it is not egunt getting a dx apps working yet. 

svn path=/trunk/; revision=33156
2008-04-26 20:18:42 +00:00
Dmitry Chapyshev c6a77c874d - Add new layouts to bootcd
svn path=/trunk/; revision=33155
2008-04-26 19:07:51 +00:00
Dmitry Chapyshev 14c92a0ec5 Add keyboard layouts:
- Canadian French (Legacy)
- Canadian Multilingual Standard
- Dutch
- Estonian
- Georgian
- Latvian
- Macedonian (FYRO)

svn path=/trunk/; revision=33154
2008-04-26 19:07:16 +00:00
Magnus Olsen 77edaa1c87 finish proting of intEnableDriver from ReactOS 0.3.1 - 0.3.2 that have been rename to intEnableReactXDriver
lefttodo fix correct positions of everything in the edd_directdraw_global amd fill in the driver phdev correct in that struct as well.
Hacked : NtGdiDdGetScanLine for now, it crash when it being call again. 


svn path=/trunk/; revision=33153
2008-04-26 18:25:24 +00:00
Magnus Olsen cd73d524b9 Add : started port in intEnableDriver from reactos 0.3.2 and rename it to intEnableReactXDriver. it is the part activate the graphic card directx support.
Add : more debug data for ReactX it is need it to fill all edd_ struct right, allot of the debug functions will go away after we got up stable interface. 
BugFix : EDD_DIRECTDRAW_LOCAL the struct did miss one member. 

svn path=/trunk/; revision=33152
2008-04-26 17:27:35 +00:00
Magnus Olsen da69013f65 remove some debug output it is not longer need it.
Bugfix PEDD_DIRECTDRAW_LOCAL define 
add allot debug data at NtGdiDdQueryDirectDrawObject we are here now, prepare activate the whole graphic driver directx interface. 
we will add back some older code of the old desgin of the directx interface, for we need init the graphic card directx interface
it is not done by dxg.sys, it is done by win32k and dxg.sys using the cached data from win32k. rember it is cached for each drv. 
but we will only support one graphic drv for dx for now, when the code comes alive again.

svn path=/trunk/; revision=33151
2008-04-26 14:13:59 +00:00
Magnus Olsen 9206e4dfaf fixed bit more in the struct EDD_DIRECTDRAW_GLOBAL,
the struct are still wrong. trust only on thuse I wrote verify on 

svn path=/trunk/; revision=33150
2008-04-26 12:55:14 +00:00
Daniel Reimer 75fc10972f Add alternative German "de-ergo/eMeier 0.1", "NEO 1.1" and "Ristome" Layouts.
If you have a modified Keyboard lying around, have fun writing.

svn path=/trunk/; revision=33149
2008-04-26 12:30:46 +00:00
Magnus Olsen c7ef3adff2 Bugfix : EngDeleteSemaphore one line patch by Samuel Serapión (samcharly at hotmail dot com) aka irc : encoded
-------------
it did not releas the create resuse, it was leaking.  

svn path=/trunk/; revision=33148
2008-04-26 12:11:01 +00:00
Magnus Olsen a5887ec19a fixed : we do not longer losing the hdev for ms dxg.sys
fixed : remove few hacks I did and reactivate some api I did take offline. 
the struct EDD_DIRECTDRAW_LOCAL from yuah gdi book does not match windows xp, I have verify some member for windows xp.
the struct EDD_DIRECTDRAW_GLOBAL from yuah gdi book does not match windows xp, I have verify some member for windows xp.
and add two new member so hPDEV get in right place. 



svn path=/trunk/; revision=33147
2008-04-26 09:29:10 +00:00
Dmitry Chapyshev ae3f9c0f59 - Add US IBM Arabic 238_L and Icelandic layouts to bootcd
svn path=/trunk/; revision=33146
2008-04-25 16:50:06 +00:00
Dmitry Chapyshev 94996695bd - Add US IBM Arabic 238_L keyboard layout
- Add Icelandic keyboard layout

svn path=/trunk/; revision=33145
2008-04-25 16:49:17 +00:00
Daniel Reimer 4cbe7697a1 Replace ROSCalc with Wine Calc.
svn path=/trunk/; revision=33144
2008-04-25 15:41:03 +00:00
Daniel Reimer bdfd4666ac Replace Wine Calc with ROSCalc
svn path=/trunk/; revision=33143
2008-04-25 15:40:31 +00:00
Daniel Reimer 4c90f1b335 What do we learn here? Always try patches with a updated trunk. Removed Bulgarian Translation again. Its outdated.
svn path=/trunk/; revision=33142
2008-04-25 11:55:28 +00:00
Daniel Reimer 3f380b3dc9 Bug 3192: Bulgarian translation of ReactOS by Станев (sstpr@narod.ru)
Bug 3194: Czech translation update by Radek Liška (radekliska@gmail.com)

svn path=/trunk/; revision=33141
2008-04-25 11:46:01 +00:00
Johannes Anderwald baf72dcc52 - implement enumerating DirectPlay service providers
- update resources

svn path=/trunk/; revision=33140
2008-04-25 10:56:18 +00:00
Aleksey Bragin 37f8eef287 - Add more MDL flags.
- Reformat MDL implementation (mdlsup.c) to make it readable, and add comments.
- Add a couple dozen assertions to validate that MDL flags, state and addresses.
- Use ADDRESS_AND_SIZE_TO_SPAN_PAGES macro for nice MDL calculations.
- Set Mdl->Process only when required, and set/unset various MDL flags which were being ignored/incorrectly manipulated.
- Keep track of Process->NumberOfLockedPages during MDL lock/unlock.
- Don't return the base address of the MDL allocation when mapping locked pages - MDLs have a byte offset which was being ignored.
- Fix incorrect usage of MDLs found in the kernel (thanks to the new assertions).
- Split kernel vs. user mode MDL requests in a much more organized and optimized fashion.
- Fix a number of smaller bugs throughout the code.

svn path=/trunk/; revision=33139
2008-04-25 07:55:12 +00:00
Magnus Olsen c9e1e6a6ad adding more debug output for dx
svn path=/trunk/; revision=33138
2008-04-25 05:47:32 +00:00
Timo Kreuzer 92fefe8a51 ULONG -> SIZE_T
svn path=/trunk/; revision=33137
2008-04-25 01:42:25 +00:00