Commit graph

27927 commits

Author SHA1 Message Date
Art Yerkes fcfccd503e Simple way to encode a device tree for early boot operations.
svn path=/trunk/; revision=30351
2007-11-11 09:23:05 +00:00
James Tabor 643de8b21b We need a dpdev support for DX. All should go into ntgdidx.h.
svn path=/trunk/; revision=30350
2007-11-11 05:17:16 +00:00
Art Yerkes e5be8f87ce Doh. Fix bad vsid assignment.
svn path=/trunk/; revision=30349
2007-11-11 03:41:31 +00:00
Art Yerkes 0eb32850f0 - Don't touch real segments until after booting.
- Hang function isn't too useful.

svn path=/trunk/; revision=30348
2007-11-11 03:19:17 +00:00
Timo Kreuzer a8f9ec7c2a - NtUserScrollDC() only returns TRUE or FALSE
- NtGdiBitBlt(): don't SetLastError() on invalid dc, don't DPRINT1, DPRINT is enough.
- IntGdiGetClipBox(): don't SetLastError() on invalid dc

svn path=/trunk/; revision=30344
2007-11-11 00:41:27 +00:00
Timo Kreuzer 556614fa8a some more tests for NtUserScrollDC and NtGdiBitBlt
svn path=/trunk/; revision=30343
2007-11-11 00:19:42 +00:00
Timo Kreuzer 9c4b252f62 Some tests for NtUserScrollDC
svn path=/trunk/; revision=30342
2007-11-10 23:04:33 +00:00
Magnus Olsen ddb0cabc04 Bugfix Mesa 6.1
The ICD interface does not export all functions, as it should, This change was spoken with Alesky about.
it letting us getting closer getting quake3 working in ReactOS/Windows with mesa
Waring 
we can not update to mesa 7.0x for the ICD are broken in mesa 7.0x. I
Need investigate why or some with more opengl experiences should do that 


  

svn path=/trunk/; revision=30341
2007-11-10 22:22:28 +00:00
Magnus Olsen aa80331a5c fix a syntax erorror
svn path=/trunk/; revision=30340
2007-11-10 21:42:29 +00:00
Aleksey Bragin bd25193c35 - Fix a bug (wrong push ... pop order).
svn path=/trunk/; revision=30339
2007-11-10 20:36:11 +00:00
Pierre Schweitzer 5a89f9b8b0 Fixed a typo
svn path=/trunk/; revision=30338
2007-11-10 20:08:27 +00:00
Hervé Poussineau 0159a42429 Don't mix ReactOS and Wine debug style
svn path=/trunk/; revision=30336
2007-11-10 17:12:43 +00:00
Eric Kohl b43d7bc04a - Notify the system of changes to the environment variables.
- Parse pagefile sizes properly.
- Make pagefile sizes fully readable.

svn path=/trunk/; revision=30335
2007-11-10 16:50:22 +00:00
Eric Kohl 24e696cde0 Clean-up the resource files:
- Pushbuttons always have a height of 14 units.
- Use AUTOCHECKBOX and AUTORADIOBUTTON instead of CONTROL.
- Fix indentation.

svn path=/trunk/; revision=30334
2007-11-10 16:44:52 +00:00
Pierre Schweitzer 2f84aba958 - Added dead keys name
- Removed some comments

svn path=/trunk/; revision=30333
2007-11-10 16:22:06 +00:00
Magnus Olsen a32893eca1 Merge from ReactX branch to trunk
----------------------------------------------------------------------------------
Adding dxtn.dll to reactos it is need for mesa opengl to use compress texture. 
for some issue this library are not build default, it need the patent flag be set
NSWPAT="1", This library are need it for opengl compress texture. But it will
not be in the official build, only for thus doing own build and activate the 
patent flag, will be avail use compress texture. I have spoken with 
Aleasky about this library. 
  

svn path=/trunk/; revision=30332
2007-11-10 16:02:43 +00:00
Maarten Bosma 9e1aa0ccb4 Fix CreateLogoffSecurityAttributes. It does still not work because SetEntriesInAcl is not implemented yet.
svn path=/trunk/; revision=30331
2007-11-10 15:56:36 +00:00
Hervé Poussineau 5800eb6a82 Rename variables
svn path=/trunk/; revision=30330
2007-11-10 15:47:01 +00:00
Hervé Poussineau 019b7e82cd Limit machine name size
Implement SetupDiGetDeviceInfoListDetailA
Rework SetupDiGetDeviceInfoListDetailW

svn path=/trunk/; revision=30329
2007-11-10 15:44:16 +00:00
Magnus Olsen 759c0dde2a Merge from branch ReactX to Trunk,
Please make a clean build after this update

Add dxg.sys driver 
----------------------------------------------------------------
This driver contains all DirectX graphic APIs called by win32k. Most of them
are stubbed, and the following APIs are implemented:
DxDxgGenericThunk, DxDdIoctl, DriverEntry, DxDdStartupDxGraphics, DxDdCleanupDxGraphics

Add dxgthk.sys driver, which is 100% finished
---------------------------------------------------------
The following APIs are implemented (almost all are forwarders):
DriverEntry, EngAcquireSemaphore, EngAllocMem, EngAllocUserMem,
EngCopyBits, EngCreateBitmap, EngCreatePalette, EngCreateSemaphore,
EngDeletePalette, EngDeleteSemaphore, EngDeleteSurface,
EngFindImageProcAddress, EngFreeMem, EngFreeUserMem,
EngLoadImage, EngLockSurface, EngReleaseSemaphore,
EngSetLastError, EngUnloadImage, EngUnlockSurface

Add dxapi.sys driver
--------------------------------------------------------------
Most of the APIs used by the graphic card's driver or win32k are stubs.
The following APIs are implemented:
DriverEntry, GsDriverEntry, DxApiGetVersion, DxApi.
All APIs which DxApi wraps are stubs.
 
Changes in win32k
-------------------------------------------------------------------
Move _DC struct to include\reactos\win32k\ntgdihdl.h
--------------------------------------------------------------------------
Implement NtGdiDdCanCreateD3DBuffer, NtGdiD3dContextDestroy,
NtGdiD3dContextDestroyAll, NtGdiDdCreateD3DBuffer, NtGdiDdDestroyD3DBuffer,
NtGdiD3dDrawPrimitives2, NtGdiDdLockD3D, NtGdiD3dValidateTextureStageState, 
NtGdiDdUnlockD3D, NtGdiDdCreateSurface, NtGdiDdWaitForVerticalBlank, 
NtGdiDdCanCreateSurface, NtGdiDdGetScanLine, NtGdiDdCreateSurfaceEx,
DxDdStartupDxGraphics, NtGdiDdCreateDirectDrawObject, NtGdiDxgGenericThunk,
NtGdiDdGetDriverState, NtGdiDdColorControl, NtGdiDdCreateSurfaceObject,
NtGdiDdCreateSurfaceObject, NtGdiDdDeleteDirectDrawObject, NtGdiDdDeleteSurfaceObject,
NtGdiDdQueryDirectDrawObject, NtGdiDdReenableDirectDrawObject, NtGdiDdGetDriverInfo,
NtGdiDdGetAvailDriverMemory, NtGdiDdSetExclusiveMode, NtGdiDdFlipToGDISurface,
NtGdiDdGetDC, NtGdiDdGetDxHandle, NtGdiDdReleaseDC, NtGdiDdResetVisrgn,
NtGdiDdSetGammaRamp, NtGdiDdDestroySurface, NtGdiDdFlip, NtGdiDdLock, NtGdiDdUnlock,
NtGdiDdBlt, NtGdiDdSetColorKey, NtGdiDdAddAttachedSurface, NtGdiDdGetBltStatus,
NtGdiDdGetFlipStatus, NtGdiDdUpdateOverlay, NtGdiDdSetOverlayPosition,
NtGdiDdAlphaBlt, NtGdiDdAttachSurface, NtGdiDdUnattachSurface,
NtGdiDvpCanCreateVideoPort, NtGdiDvpColorControl, NtGdiDvpCreateVideoPort,
NtGdiDvpDestroyVideoPort, NtGdiDvpFlipVideoPort, NtGdiDvpGetVideoPortBandwidth,
NtGdiDvpGetVideoPortFlipStatus, NtGdiDvpGetVideoPortInputFormats, 
NtGdiDvpGetVideoPortLine, NtGdiDvpGetVideoPortOutputFormats, 
NtGdiDvpGetVideoPortConnectInfo, NtGdiDvpGetVideoSignalStatus,
NtGdiDvpUpdateVideoPort, NtGdiDvpWaitForVideoPortSync,
NtGdiDvpAcquireNotification, NtGdiDvpReleaseNotification,
NtGdiDvpGetVideoPortField, NtGdiDdBeginMoCompFrame,
NtGdiDdCreateMoComp, NtGdiDdDestroyMoComp,
NtGdiDdEndMoCompFrame, NtGdiDdGetInternalMoCompInfo,
NtGdiDdGetMoCompBuffInfo, NtGdiDdGetMoCompFormats,
NtGdiDdGetMoCompGuids, NtGdiDdQueryMoCompStatus,
NtGdiDdRenderMoComp, HeapVidMemAllocAligned,
VidMemFree, EngAllocPrivateUserMem, EngFreePrivateUserMem,
EngLockDirectDrawSurface, EngUnlockDirectDrawSurface

But all those functions are stubbed in dxg.sys
----------------------------------------------------------------------------
Implemented APIsL

DxEngLockDC, DxEngUnlockDC, DxEngGetDCState, EngDxIoctl
----------------------------------------------------------------------------
Stubbed APIs:

DxEngNUIsTermSrv, DxEngRedrawDesktop, DxEngDispUniq, DxEngVisRgnUniq,
DxEngEnumerateHdev, DxEngGetDeviceGammaRamp, DxEngCreateMemoryDC,
DxEngScreenAccessCheck, DxEngLockShareSem, DxEngUnlockShareSem,
DxEngLockHdev, DxEngUnlockHdev, DxEngReferenceHdev,
DxEngIsHdevLockedByCurrentThread, DxEngUnreferenceHdev, 
DxEngSetDeviceGammaRamp, DxEngSpTearDownSprites, 
DxEngSpUnTearDownSprites, DxEngSpSpritesVisible,
DxEngGetHdevData, DxEngSetHdevData, DxEngGetDesktopDC,
DxEngDeleteDC, DxEngCleanDC, DxEngSetDCOwner,
DxEngSetDCState, DxEngSelectBitmap,DxEngSetBitmapOwner, 
DxEngDeleteSurface, DxEngGetSurfaceData, DxEngAltLockSurface,
DxEngUploadPaletteEntryToSurface, DxEngMarkSurfaceAsDirectDraw, 
DxEngSelectPaletteToSurface, DxEngSyncPaletteTableWithDevice,
DxEngSetPaletteState, DxEngGetRedirectionBitmap, DxEngLoadImage, 
DxEngIncDispUniq

----------------------------------------------------------------------------
Remember we need the DxEng APIs implemented and HeapVidMemAllocAligned,
VidMemFree, EngAllocPrivateUserMem, EngFreePrivateUserMem,
EngLockDirectDrawSurface, EngUnlockDirectDrawSurface implemented
before it's possible to have full DirectX support at kmode.

svn path=/trunk/; revision=30328
2007-11-10 15:31:49 +00:00
Hervé Poussineau 6ec1d71d50 Rework SetupDiOpenDevRegKey
svn path=/trunk/; revision=30327
2007-11-10 15:11:56 +00:00
Hervé Poussineau 69a20f248e Merge some changes from Wine
svn path=/trunk/; revision=30326
2007-11-10 14:35:21 +00:00
Hervé Poussineau 040332c006 Add a stub for SetupDiDeleteDevRegKey
svn path=/trunk/; revision=30325
2007-11-10 14:07:45 +00:00
Hervé Poussineau c39ceb22e6 Rename SETUP_DEV_INFO_SET_MAGIC to SETUP_DEVICE_INFO_SET_MAGIC
Rename struct DeviceInfoElement to struct DeviceInfo
Add a link to DeviceInfoSet in each DeviceInfo structure (not used yet)

svn path=/trunk/; revision=30324
2007-11-10 14:04:55 +00:00
Aleksey Bragin ce4c1b6f78 - Fix a bug.
( jz -> js, a typo)

svn path=/trunk/; revision=30323
2007-11-10 13:02:04 +00:00
Johannes Anderwald e08c6513cc - fix a bug
svn path=/trunk/; revision=30321
2007-11-10 11:23:01 +00:00
Aleksey Bragin 399831685e - scsi.inf made by hpoussin, to address the issue in bug 2631.
See issue #2631 for more details.

svn path=/trunk/; revision=30320
2007-11-10 11:21:08 +00:00
Timo Kreuzer 83134d10e3 fix bug in NtUserToUnicodeEx. It still ignores the hkl parameter.
NtUserVkScanKeyEx: use HKL instead of ULONG_PTR.
See issue #2557 for more details.

svn path=/trunk/; revision=30318
2007-11-10 04:53:02 +00:00
Timo Kreuzer 7248541e08 some tests for NtUserToUnicodeEx
svn path=/trunk/; revision=30317
2007-11-10 04:21:35 +00:00
Timo Kreuzer 81b0a20436 add VK_OEM_102 to us keyboard layout
svn path=/trunk/; revision=30316
2007-11-10 03:44:31 +00:00
Johannes Anderwald c58299d739 - readd MFT_SEPERATOR to background context menu
- add shell new implementation


svn path=/trunk/; revision=30307
2007-11-09 19:49:18 +00:00
Colin Finck 0d730a1f45 Silence some warnings when compiling taskmgr with MSVC2005
svn path=/trunk/; revision=30306
2007-11-09 19:46:01 +00:00
James Tabor 1a98aabcd1 No need for dca here if the ScreenDeviceContext is set inaccessible. So free the dca.
svn path=/trunk/; revision=30304
2007-11-09 18:05:41 +00:00
Magnus Olsen d05c0eadf6 Update the documentation
adding lite more code 

svn path=/branches/reactx/; revision=30301
2007-11-09 17:33:02 +00:00
Johannes Anderwald f6df1d4850 - move FCIDM_SHVIEW_NEW, FCIDM_SHVIEW_NEWFOLDER, FCIDM_SHVIEW_NEWLINK, from menu to resource strings
- delete new file object from background contextmenu code as this code this should be implemented as context menu extension

svn path=/trunk/; revision=30300
2007-11-09 17:24:10 +00:00
Aleksey Bragin 940adf0ece - Fix incidentally broken russian translation.
svn path=/trunk/; revision=30298
2007-11-09 15:40:10 +00:00
Colin Finck 58df092425 Many more conversions to Unicode function and type names for taskmgr
svn path=/trunk/; revision=30297
2007-11-09 15:26:02 +00:00
Aleksey Bragin 4be92e3dad Dmitry Chapyshev <lentind@yandex.ru>
- Small visual improvements in 24 and 8 bpp icons.
- Create 8bpp or 24bpp icons if they were missing somewhere.

svn path=/trunk/; revision=30296
2007-11-09 15:15:38 +00:00
Magnus Olsen 7e69094a29 Implement KsCreateAllocator, KsCreateClock, KsCreatePin, KsCreateTopologyNode
stub : KsiCreateObjectType
all functions are call to KsiCreateObjectType, so they are not really implement.
Old code from 2004, it have not been cleanup for KsiCreateObjectType, the new ks.h header I wrote is now ready for this code. 
This module can not be merge to trunk until the new ks.h is ready. 





svn path=/branches/reactx/; revision=30295
2007-11-09 15:08:44 +00:00
Aleksey Bragin e416dfddb9 Dmitry Chapyshev <lentind@yandex.ru>
- Start implementing telephon.cpl.
- Delete flags.ico from intl.cpl, it's unused.

svn path=/trunk/; revision=30294
2007-11-09 14:56:33 +00:00
Magnus Olsen 6855595796 update the new ks-h with one more struct
svn path=/branches/reactx/; revision=30293
2007-11-09 14:21:55 +00:00
Aleksey Bragin 25c3bd5a53 - This one is not needed anymore (_LIBCNT_ is defined in libcntpr.rbuild, PCH is precomp.h).
svn path=/trunk/; revision=30292
2007-11-09 12:25:10 +00:00
Aleksey Bragin 1402877204 - Build crt and libcntpr from one source tree (using conditional code and/or different source files where code is not shared).
svn path=/trunk/; revision=30291
2007-11-09 12:20:16 +00:00
Ged Murphy 991f9bbaa6 missed a few
svn path=/trunk/; revision=30290
2007-11-09 11:47:10 +00:00
Ged Murphy 6d45e894ef convert to unicode in an attempt to address bug 2805
svn path=/trunk/; revision=30289
2007-11-09 11:40:54 +00:00
Aleksey Bragin d63772135f - Copy except and memccpy.c from libcntpr.
svn path=/trunk/; revision=30288
2007-11-09 11:22:29 +00:00
James Tabor 28a73df1a2 Fix bug spoted by Stefan100 on IRC.
svn path=/trunk/; revision=30287
2007-11-09 09:13:01 +00:00
Aleksey Bragin 375959c206 - Sync some changes in strings from libcntpr.
- Move string implementation (in "header" files) into /string dir.
- Copy over libcntpr-specific implementations into _nt.c files (for now, later they could do with a define).
- libcntpr's is now almost fully syncronized and could be merged into the tree except for "except" directory.

svn path=/trunk/; revision=30283
2007-11-08 21:06:20 +00:00
Marc Piulachs c8a87ec7b8 - Build API stats on request (new target "make rgenstat" will create apistatus.xml)
- Partly updated apistatus.lst 

svn path=/trunk/; revision=30282
2007-11-08 20:52:42 +00:00
Marc Piulachs e85c37638b Don't build rgenstat when "make clean"
svn path=/trunk/; revision=30281
2007-11-08 20:49:55 +00:00