Commit graph

27903 commits

Author SHA1 Message Date
Aleksey Bragin
df0a21e8a8 - There is no DllMain in mesa32.
svn path=/trunk/; revision=30382
2007-11-12 10:22:41 +00:00
Hervé Poussineau
dd3812a909 Add missing macro
svn path=/trunk/; revision=30381
2007-11-12 10:14:28 +00:00
Hervé Poussineau
c7a1e0107c No need for <library> tags static libraries (which are never linked)
svn path=/trunk/; revision=30380
2007-11-12 10:12:01 +00:00
Hervé Poussineau
89cf1a7029 Silent some MSVC warnings
svn path=/trunk/; revision=30379
2007-11-12 10:06:05 +00:00
Hervé Poussineau
0981bbc07e Silent some MSVC warnings
svn path=/trunk/; revision=30378
2007-11-12 10:03:04 +00:00
Hervé Poussineau
85c79d4b97 Use NEXT_RESOURCE macro in acpi driver
Move pci hack a little bit later

svn path=/trunk/; revision=30377
2007-11-12 10:01:52 +00:00
Hervé Poussineau
be33f0b0ec Display wrong path in case of error
svn path=/trunk/; revision=30376
2007-11-12 09:59:52 +00:00
Hervé Poussineau
3be8ab2337 Small cleanup
svn path=/trunk/; revision=30375
2007-11-12 09:57:58 +00:00
James Tabor
f0e8f2df37 3rd FIN.
svn path=/trunk/; revision=30374
2007-11-12 06:43:44 +00:00
James Tabor
98f75aa494 2nd Sort out gdi device mess.
svn path=/trunk/; revision=30373
2007-11-12 04:58:41 +00:00
James Tabor
a990ff1e0a Removed unused DeviceDriver. Fix behavior for dcattr.
svn path=/trunk/; revision=30371
2007-11-12 03:22:12 +00:00
James Tabor
cd2962c5b8 1st Sort out gdi device mess.
svn path=/trunk/; revision=30370
2007-11-12 01:26:32 +00:00
Art Yerkes
d399d73f7a Handle recvfrom with no address buffer.
svn path=/trunk/; revision=30369
2007-11-11 22:28:39 +00:00
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