Commit graph

27890 commits

Author SHA1 Message Date
Art Yerkes 1b2108aee2 Properly handle access violation copying from userland.
svn path=/trunk/; revision=30368
2007-11-11 22:21:37 +00:00
Johannes Anderwald 9bcd750116 - hackfix build
svn path=/trunk/; revision=30367
2007-11-11 22:10:53 +00:00
Johannes Anderwald a6a6521b06 - make INewItem_Constructor compatible to be loaded as a shell extension
- fix api definition of CDefFolderMenu_Create2
- disable loading of inewitem api (reenabled when default context menu api implementation is ready)

svn path=/trunk/; revision=30366
2007-11-11 21:38:44 +00:00
Johannes Anderwald 00b588a9c3 - fix api definition
- add clsid for new object service

svn path=/trunk/; revision=30365
2007-11-11 21:29:31 +00:00
Johannes Anderwald bdeb24a1cc - add open with clsid && clsid for new object service
svn path=/trunk/; revision=30364
2007-11-11 21:28:10 +00:00
Aleksey Bragin 5b21408b33 - Winesync cppexcept.c. This fixes try/catch C++ exception handling in various apps (like MFC based apps).
svn path=/trunk/; revision=30363
2007-11-11 20:40:21 +00:00
Johannes Anderwald ace89b703c - move Shell_MergeMenus to shlobj.h where it belongs
svn path=/trunk/; revision=30362
2007-11-11 18:14:11 +00:00
Aleksey Bragin 04be216fbb - Update MSVCRT_thread_data
- Winesync cpp.c.

svn path=/trunk/; revision=30361
2007-11-11 17:03:20 +00:00
Aleksey Bragin 2db7ea2321 - After bugfixing, more complete except_nt exception handling implementation could be used, so get rid of the old one and thus code duplication.
- Move cpp/cppexcept.c to /except directory, and add a specific note in README.WINE that those files are shared with Wine.
- I moved PowerPC stubs too, but it will most probably break anyway, due to more missing stubs, my apologize.
See issue #2371 for more details.

svn path=/trunk/; revision=30359
2007-11-11 15:47:21 +00:00
Eric Kohl f0c9da09e2 - Display the current drive letter and its free disk space.
- Display the minimum, recommended and current page file size.

svn path=/trunk/; revision=30358
2007-11-11 15:24:31 +00:00
Art Yerkes 9c612e5515 Debug devtree.
Add generation of simple device tree in freeldr.

svn path=/trunk/; revision=30354
2007-11-11 11:14:52 +00:00
Aleksey Bragin 0ad062c8a2 - Fix two more typos, now exception handling doesn't lead to an infinite loop resulting in a stack overflow and thus unhandled exception being caught by ntoskrnl.
svn path=/trunk/; revision=30353
2007-11-11 10:03:12 +00:00
Art Yerkes 4551af021f Add structures related to devtree.c
svn path=/trunk/; revision=30352
2007-11-11 09:27:07 +00:00
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