Commit graph

28073 commits

Author SHA1 Message Date
Magnus Olsen 8067ef28f9 update mesa32 icd def file so it contain almost all standalon. so it can be use as opengl32.dll or icd interface
svn path=/trunk/; revision=30745
2007-11-25 17:12:27 +00:00
Pierre Schweitzer 63c8167a57 Simplified code
svn path=/trunk/; revision=30744
2007-11-25 17:08:13 +00:00
Magnus Olsen 32162878f4 Update the icd with two more opengl api.
mark up which opengl api belong to which version
BugFix : DrvDescribePixelFormat so it does not crash in windows.
mesa3D ICD works now in windows. 

svn path=/trunk/; revision=30743
2007-11-25 16:56:51 +00:00
Daniel Reimer dfe92554e8 German Translation fixes by Gregor Schneider (grschneiderATgmailDTcom)
svn path=/trunk/; revision=30741
2007-11-25 15:57:20 +00:00
Pierre Schweitzer 1b3dd9fe0e Use a default path if there are no settings
svn path=/trunk/; revision=30740
2007-11-25 15:46:06 +00:00
Magnus Olsen fb7fa3afaf add directdraw3 guid to dxguid
svn path=/trunk/; revision=30737
2007-11-25 14:43:36 +00:00
Magnus Olsen 8b838171f0 fix a header issue with wine d3d.h
svn path=/trunk/; revision=30736
2007-11-25 13:35:45 +00:00
Magnus Olsen 2d0b2c25bf make our ddraw.h better that ms.
add the DirectDraw3 interface, I did not found any doc of it from ms.
 so I did look at wine headers see if they got it, so I using that info into our ddraw.h
DirectDraw3 are being use of ms iexplorer according some devs from wine  

svn path=/trunk/; revision=30735
2007-11-25 12:59:30 +00:00
Magnus Olsen 6bdea4f82c include wine d3d9 to bootcd
svn path=/trunk/; revision=30734
2007-11-25 12:42:13 +00:00
Magnus Olsen 2c03dfe5ad do not build our stub d3d9 build wine instead
svn path=/trunk/; revision=30733
2007-11-25 12:41:00 +00:00
Magnus Olsen fc63f9adee import wine directx d3d9 version 0.9.49
svn path=/trunk/; revision=30732
2007-11-25 12:13:33 +00:00
Magnus Olsen 7a53ca4d32 fix compiling warings for d3d9 that I got local.
svn path=/trunk/; revision=30731
2007-11-25 12:08:36 +00:00
Magnus Olsen c6102fb959 update d3d8 to wine 0.9.49
svn path=/trunk/; revision=30730
2007-11-25 11:16:27 +00:00
Magnus Olsen 3d237b54ad fix some of wine d3d8 waring at compiling.
no waring are show in d3d8 now. 

svn path=/trunk/; revision=30729
2007-11-25 11:14:43 +00:00
Aleksey Bragin 0b0fb5b032 - Guard MSVC's intrinsics with #ifdefs. Proper solution is to move those functions to intrin.h once host tools including target headers problem is solved. libcntpr now builds with MSVC8.
svn path=/trunk/; revision=30728
2007-11-24 21:28:11 +00:00
Thomas Bluemel 9e8530d01a Support hiding keyboard cues and focus rectangles
See issue #2839 for more details.

svn path=/trunk/; revision=30727
2007-11-24 20:49:20 +00:00
Aleksey Bragin 5e4658d7a9 - Don't escape defines with a " -> " conversion, just omit the quotes.
svn path=/trunk/; revision=30724
2007-11-24 17:13:30 +00:00
Aleksey Bragin db2556cb04 - MS's crt headers define this as 'const'. Fixes an error with MSVC compilation.
svn path=/trunk/; revision=30723
2007-11-24 16:51:05 +00:00
Hervé Poussineau 0777353232 Remove YDEBUG define support, replaced by DEBUGCHANNEL environment variable
Syntax: set DEBUGCHANNEL = [[fixme|err|warn|trace]+|-{channel}|all]*

svn path=/trunk/; revision=30722
2007-11-24 15:31:50 +00:00
Colin Finck b3cfc14c86 Bulgarian translations by Станев (sstpr AT narod DOT ru)
See issue #2837 for more details.

svn path=/trunk/; revision=30721
2007-11-24 13:28:58 +00:00
Magnus Olsen 19ae483e87 Main_DirectDraw_EnumDisplayModes
Forget Zero out two struct before they are being use

svn path=/trunk/; revision=30717
2007-11-24 12:57:26 +00:00
Pierre Schweitzer f05d14ae61 Updated French translation
svn path=/trunk/; revision=30716
2007-11-24 11:20:53 +00:00
Pierre Schweitzer ec59ed82f2 - Fixed and enabled about dialog
- Added French translation

svn path=/trunk/; revision=30714
2007-11-24 09:14:56 +00:00
Magnus Olsen 267c6c63f9 fix stupied bug in GetDeviceIdentifier/GetDeviceIdentifier7,
spotted by Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) 


svn path=/trunk/; revision=30709
2007-11-23 23:36:53 +00:00
Magnus Olsen be9c3ff7cb fix return code in ddraw.dll GetCaps.cbug spotted by Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
svn path=/trunk/; revision=30706
2007-11-23 22:02:43 +00:00
Aleksey Bragin cbf9e5b6d4 - Cleanup NtCreateKey and NtOpenKey to make it simpler for the final steps of the rewirte.
- Remove SEH and callbacks (yes this is "bad", but won't break anything, and it will be added back).
- Try to make the code as similar as possible to isolate broken-Ob calls from proper Cm behavior.

svn path=/trunk/; revision=30705
2007-11-23 20:32:38 +00:00
Aleksey Bragin 0fa0af9d7a - Huge cleanup of cm.h -- remove stuff that's not needed/used anymore
- Get rid of registry.c.
- Move CmpLinkHiveToMaster to cmsysini.c since it now uses new config code and works properly.
- Move CmpRosGetHardwareHive to cmsysini.c since it's an initialization function (will go away eventually).

svn path=/trunk/; revision=30704
2007-11-23 19:29:45 +00:00
Aleksey Bragin ab909ae7aa - Remove CmiInitHives.
- Enable parallel hive loading, this speeds up boot by loading the registry in 6 threads instead of just one (once we start having large registries and MP support this will be more evident).
- Added some little hacks to make this work for now.
- Fix a memory leak in CmInit1.
- Add hardware hive to machine hive list so it can be properly loaded after.

svn path=/trunk/; revision=30703
2007-11-23 18:52:46 +00:00
Art Yerkes 011800f50d Mostly revert my earlier attempt at fixing IRP cancellation. I'll attack it
again later.

svn path=/trunk/; revision=30701
2007-11-23 18:06:07 +00:00
Art Yerkes 3e39927a8f We need an address within the stack in order for freeing it to work properly.
svn path=/trunk/; revision=30700
2007-11-23 17:33:29 +00:00
Colin Finck 517c73e082 [FORMATTING]
- Fix the indentation mess
- Fix some typos in comments

No code changes

svn path=/trunk/; revision=30698
2007-11-23 16:21:10 +00:00
Colin Finck 8d91a510a9 When someone tries to copy a file over itself, show an error message.
We already had such a check in the code, but after Brandon's copy.c rewrite in r16561, it never got called.
I removed the old check now and put a new one at the right position.

See issue #2827 for more details.

svn path=/trunk/; revision=30696
2007-11-23 15:53:57 +00:00
Aleksey Bragin ccba9533e8 - Remove hack in CmpLinkHiveToMaster and make it support the "Allocate" boolean parameter.
- Enable code in CmiInitHives to take advantage of the new link code when using the SYSTEM hive on the bootcd/setup.
- Don't skip CmpCreateControlSet anymore, just add a simple hack to hard-code Current to 001.
- Remove CmiInitControlSetLink since CmpCrateControlSet now does the work
- Enable code in CmpInitializeSystemHive to use CmpInitializeHive(HINIT_CREATE) when creating a new SYSTEM hive, since we now have new link code that supports the "Allocate" flag.
- This means we now have a working SYSTEM hive on the Boot CD as well since early bootup, and not only when NtInitializeRegistry is called
- Do bootcd vs hard-disk boot registry path setup in CmpGetRegistryPath instead of in-line.

svn path=/trunk/; revision=30695
2007-11-23 15:26:27 +00:00
Aleksey Bragin 6896e0c290 - Major cleanup of code inside CmiConnectHive:
- Don't derefernece the parent key since we need to keep a reference to it
- Set the hive dirty flag to clean after a connect
- Simplify code
- Move code as part of CmpLinkHivetoMAster
- Use new function CmpCreateLinkNode instead of CmpDoCreate
- Fix some asserts in CmpCreateLinkNode since we don't lock the KCB yet.

svn path=/trunk/; revision=30694
2007-11-23 14:15:04 +00:00
Art Yerkes 06220aab9e tcpip:
Factor out common datagram receive code.
Actually implement datagram cancellation.

afd:
Reorganize IRP cancellation and simplify socket shutdown.
Fix datagram recv with no address differently (and better).

Overall: fix hang after ping.

svn path=/trunk/; revision=30693
2007-11-23 13:52:56 +00:00
Aleksey Bragin c24f0e963d - Fix typos.
svn path=/trunk/; revision=30692
2007-11-23 13:48:25 +00:00
Aleksey Bragin 787a5cdaa4 - Add a check for an incorrect virtual size. Currently ReactOS's floppy.sys has such an incorrect section.
svn path=/trunk/; revision=30691
2007-11-23 13:39:31 +00:00
Christoph von Wittich d4e96ba358 don't free pool when allocation failed
svn path=/trunk/; revision=30690
2007-11-23 10:36:00 +00:00
Christoph von Wittich 337038529d link to secur32 - will be needed by newer wine versions
svn path=/trunk/; revision=30689
2007-11-23 10:10:21 +00:00
Christoph von Wittich 6691091e28 add stub for InitializeSecurityContextW
svn path=/trunk/; revision=30688
2007-11-23 09:10:32 +00:00
Christoph von Wittich 119d8d8d28 don't try to alphablend monochrome bitmaps - fixes the red zone overwrite in opera 9.24
svn path=/trunk/; revision=30687
2007-11-23 07:33:54 +00:00
Magnus Olsen 4a7a3ecee7 small fix for cGetTTFFromFOT
fix the number of param, 
did do a pedump. on export to found out it is @28
but I need look at my private note later

svn path=/trunk/; revision=30686
2007-11-23 01:38:54 +00:00
Timo Kreuzer 5aff597e67 add cGetTTFFromFOT stub. I don't know the number of parameters, but this allows loading gdi32 on win xp using myapp.exe.local
gdi32api test on win xp: 209 tests pass, 62 tests fail.

svn path=/trunk/; revision=30685
2007-11-23 01:08:47 +00:00
Magnus Olsen 669a391613 patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
update the dx version number for ddraw.dll to same as windows xp ddraw.dll 
it help some program works. 


svn path=/trunk/; revision=30684
2007-11-22 22:26:04 +00:00
Timo Kreuzer ed7c97c492 add fontview to bootcd and add ttf file association
See issue #1411 for more details.

svn path=/trunk/; revision=30683
2007-11-22 20:15:30 +00:00
Magnus Olsen f249b4f16d Implement DirectDrawEnumerateW, DirectDrawEnumerateExW they always return DDERR_UNSUPPORTED
svn path=/trunk/; revision=30682
2007-11-22 19:36:16 +00:00
Magnus Olsen de3d1d2725 Implement DirectDrawEnumerateA
the DirectDrawEnumerateProcData struct are from wine. rest of the code are writen by me. 
the DirectDrawEnumerateExA are not finish but it is a start. 


svn path=/trunk/; revision=30681
2007-11-22 19:11:43 +00:00
Aleksey Bragin 95e31f7de7 - Fix prototype of NtLoadKeyEx.
- Refactor CmiLoadHives using new config routines instead of deprecated cm routines.
- Stop using deprecated CmiScanKeyForValue (delete regfile.c as a result).
- Add code for parallel hive loading to speed up boot process, but don't yet fully use it due to changes required in linking hives.
- Add code for new hive linking process (CmpCreateLinkNode/CmpDoOpen). Not yet used to avoid too many changes in one patch. 
- Add new code in CmiLoadHives to deal with updated linking process when it becomes used.
- Implement NtLoadKey2 to cal NtLoadKeyEx.
- Implement NtLoadKeyEx as a new config routine, using CmLoadKey, move out of Cm.
- Add some more code in CmpInitializeSystemHive to deal with SYSTEM hive creation during setup, once hive linking is refactored.
- Implement a new command except for flushing -- open: CmpCmdHiveOpen. Used by CmLoadKey.
- Add support for impersonating the SYSTEM account if the hive can't be open in the current client security context.
- Fill out CmpMachineHiveList, to be used in parallel hive loading.

svn path=/trunk/; revision=30680
2007-11-22 18:38:32 +00:00
Aleksey Bragin 76f076659d Igor Koshpaev <tumans@nm.ru>
- More fixes for rasapi32's russian translation.

svn path=/trunk/; revision=30679
2007-11-22 18:22:28 +00:00
Aleksey Bragin 1cbd3b7d55 Dmitry Chapyshev <lentind@yandex.ru>
- Fix russian translation in shell32 and rasapi32.
- Add rasdlg.dll ("Wine-style").

svn path=/trunk/; revision=30678
2007-11-22 18:04:21 +00:00