Commit Graph

5595 Commits

Author SHA1 Message Date
Huw Davies 130e21795c Fixed a possible memory corruption.
Fixed a memory leak.
2003-05-12 03:19:35 +00:00
Raphael Junqueira eb36d31d6f - surface pool init fixes
- minor indentation and traces fixes
- fix locking/unlocking/dirty behavior (dirtify on lock) +
  optimisations (only copy when dirty)
- fix IDirect3DDevice8::Clear behavior (problem seen after a
  locking/unlocking code error)
- begin to fix volume and cube textures management
2003-05-12 03:10:27 +00:00
Lionel Ulmer a872c781ea - separate geometry tracing in a new debug channel (ddraw_geom)
- added handling for some new texturing ops
- prepare for addition of multi-texturing
- another way to fix the device enumeration for the reference device
- fix compilation with some glext.h files
- fix a bug in one texture conversion function
- added new texture format (but still texturing problems in 3DMark2000)
2003-05-12 03:09:17 +00:00
Pierre d'Herbemont 836ce4b3e8 Undef if_type, if_mtu and if_lastchange for darwin. 2003-05-12 03:08:18 +00:00
Lionel Ulmer 7ebdcb3538 Initialize the dwMipmapCount field even if the application forgets it. 2003-05-11 03:46:53 +00:00
Lionel Ulmer 449f6b212f - added mipmapping support
- added locking for concurrent access to the D3D device
- improved tracing
- added support for most texture combine stages (inspired by the D3D8
  code)
- disable current lock / unlock code pending proper solution
2003-05-11 03:44:53 +00:00
Stephan Beuze 442dd75420 Implemented Get/SetToolTips functions. 2003-05-11 03:44:13 +00:00
Alexandre Julliard dd74d9d889 Ordinals 410-413 are the window subclassing functions. 2003-05-11 03:40:59 +00:00
Raphael Junqueira 89ec35fe43 - minor COM fixes (fixes some crashes on stupid games)
- minor indentation changes
- fix SELECTARG2 behavior (with help from Lionel Ulmer)
- surface locking/unlocking (only rendering and textures surfaces
  supported now)
- beginning of Target/Front surface support
- try to get D3DTOP_SELECTARG_* working
- implemented D3DTOP_SUBTRACT: currently only if OpenGL1.3 is used, we
  have to use GL_SUBTRACT_ARB for other versions
2003-05-11 03:35:27 +00:00
Alexandre Julliard ebc9abd1a1 Added partial stub for GetTransform. 2003-05-11 03:31:53 +00:00
Mike McCormack bd69422ca8 Clean up SHFileOperationA/W debugging a little. 2003-05-11 03:31:08 +00:00
Eric Pouech 639db3ef8b Stop wavemap lookup if a device isn't functional (spotted by Lionel
Ulmer).
2003-05-11 03:30:51 +00:00
Jukka Heinonen cadffabd2d Make read from stdin use buffered input code and redirect stderr to
console.
2003-05-11 03:30:24 +00:00
Dimitrie O. Paun c6e988eaa0 Fix custom draw for item 0. 2003-05-11 03:29:25 +00:00
Christian Costa 0955adfc2e Enable branch forward operation in execute buffer. 2003-05-11 03:28:53 +00:00
Christian Costa 4ea9589981 Put the device name string on the stack during devices enumeration.
Disable reference enumeration.
2003-05-11 03:28:33 +00:00
Alexandre Julliard f54ffdac93 Removed unnecessary function link names. 2003-05-11 03:04:57 +00:00
Huw Davies 4bdeae37a1 Added stub for SetVirtualResolution. 2003-05-11 03:03:25 +00:00
Ulrich Czekalla 4d837749d8 We should pass the callers client-area rect and clip rect to x11drv
otherwise we'll fail to scroll all children.
2003-05-11 03:01:42 +00:00
Alexandre Julliard 1bb3645443 Avoid local WINAPI function pointers. 2003-05-11 03:00:32 +00:00
Mike McCormack 31c9b82411 Implemented InternetSetOptionExA/W. 2003-05-11 02:59:52 +00:00
Dmitry Timoshkov 07eda42808 Fix the logic for setting the lps->fErase flag in BeginPaint. 2003-05-11 02:58:53 +00:00
Alexandre Julliard 17c63bbab3 Added A<->W mappings for WM_IME_CHAR. 2003-05-11 02:58:19 +00:00
Dmitry Timoshkov 25481334f6 Do not abort dialog creation if DS_NOFAILCREATE allows to continue. 2003-05-11 02:42:28 +00:00
Aric Stewart 6d9e148a23 Added RasEnumEntriesW stub. 2003-05-11 02:41:18 +00:00
Mike McCormack 936d1059e2 Implemented WriteFmtUserTypeStg and ReadFmtUserTypeStg. 2003-05-11 02:40:29 +00:00
Mike McCormack 0bb73f53d5 Fill the filedialog95 controls before sending a CDN_INITDONE
notification.
2003-05-11 02:39:08 +00:00
Huw Davies 5594fcea74 Invalidate the window when the range is changed. 2003-05-11 02:38:05 +00:00
Mike McCormack 493d89d888 Stubs for AccessCheckAndAuditAlarmA/W. 2003-05-11 02:37:11 +00:00
Lionel Ulmer 9914a8ec5d - only enumerate 32 bpp ARGB texture format and remove RGBA one
- add support for 32 bpp ARGB texture format
2003-05-08 21:03:57 +00:00
Adam Gundy 9ea3c2d3ee _open_osfhandle is expected to take the absence of either _O_TEXT or
_O_BINARY to mean _O_BINARY.
2003-05-08 21:02:31 +00:00
Raphael Junqueira 18af8d8611 - Disable some 'classic' debug traces (avoid useless flood of traces
while debugging games).
- Fix the texture size caps using GL_MAX_TEXTURE_SIZE.
2003-05-08 17:36:00 +00:00
Maxime Bellengé 3270641c60 - Fix scanline size in OLEPictureImpl_Load for jpeg
- Convert from RGB to BGR according to BITMAPINFOHEADER
  documentation.
2003-05-08 17:35:12 +00:00
Alexandre Julliard d9bab57477 Added support for calling the TLS callback functions. 2003-05-08 04:13:26 +00:00
Alexandre Julliard c808e67da1 Fixed wrong file offset used when mapping the import directory from a
shared section.
2003-05-08 03:50:32 +00:00
Jason Edmeades 8534f79124 - Move texture loading into PreLoad for 2D textures (needs doing for
the others as well), and call when needed as well.
- Change D3DFMT_R5G6B5 handling to make backdrop of Max Payne appear.
- Add code to reject attempts to use invalid texture units (Max Payne
  did this a lot).
- ValidateDevice fixme silenced as harmless but occurs frequently.
- Add trace which can be compiled in to debug vertex shaders, and
  correct fixmes and dprintf's into appropriate trace statements.
- Ensure we trace what we return when querying the device caps.
- Correct bug with negative numbers in vertex shader code.
2003-05-08 03:49:04 +00:00
Eric Pouech 3a10bf5890 Added environment tests. 2003-05-08 03:47:24 +00:00
Eric Pouech 2d758c6444 Implemented a bunch of environment related NTDLL APIs. 2003-05-08 03:47:00 +00:00
Alexandre Julliard 54daeae72a Added NONAMELESSUNION/STRUCT defines. 2003-05-07 04:01:52 +00:00
Alexandre Julliard ce4d111cd8 Moved the EnumResource* functions to the kernel dll, and fixed their
prototypes.
2003-05-07 03:21:26 +00:00
Alexandre Julliard cbd9eca2c3 Use RtlFindMessage to load message resources. 2003-05-07 03:19:17 +00:00
Michael Schlüter 5e8d015a8c Added wglGetExtensionsStringARB. 2003-05-07 03:18:51 +00:00
Jukka Heinonen fb3080a2f3 Add scrolling support for VGA text mode. 2003-05-07 03:16:34 +00:00
Alexandre Julliard 54f59e5005 Added comment about why changing ADDRESS_SPACE_LIMIT is wrong. 2003-05-06 18:52:43 +00:00
Alexandre Julliard ebe67a2864 Added support for retrieving page fault address on Solaris (based on a
patch by Robert Lunnon).
2003-05-06 18:50:08 +00:00
Robert Lunnon 2eab8afaa9 Eliminate segfault due to NULL This->sIcoPath. 2003-05-06 18:36:54 +00:00
Dimitrie O. Paun 1a1f9bffb3 Make it easy to use something other than wrc to compile resources. 2003-05-06 18:34:53 +00:00
Thomas Mertes 4f6caf6ca3 Tests for RtlDuplicateUnicodeString, RtlFindCharInUnicodeString,
RtlInitUnicodeStringEx.
2003-05-06 18:28:02 +00:00
Thomas Mertes d628d125ab Implement RtlDuplicateUnicodeString, RtlFindCharInUnicodeString,
RtlInitUnicodeStringEx.
Documentation updates for RtlInitAnsiString, RtlInitString,
RtlInitUnicodeString, RtlAnsiStringToUnicodeString and
RtlOemStringToUnicodeString.
2003-05-06 18:27:40 +00:00
Marcus Meissner dac51c005a Added include <errno.h>. 2003-05-06 18:25:11 +00:00
Alexandre Julliard ab61506401 Fixed return value of CreateNamedPipe (spotted by Mike McCormack). 2003-05-06 00:19:59 +00:00
Jason Edmeades 5ba50508ff Add support for MultiplyTransform (helps make the SkimmedMesh SDK
sample look better).
2003-05-06 00:19:11 +00:00
Jason Edmeades cb677f6388 Add the beginnings of support for texture coordinates. 2003-05-06 00:15:49 +00:00
Marcus Meissner 2aad01e2a8 Fix return code of DPNHPAST_DllGetClassObject stub. 2003-05-06 00:15:03 +00:00
Rok Mandeljc 8d54728696 - implemented some more port related-functions
- fixed warnings (reported by Gerald Pfeifer)
2003-05-06 00:14:31 +00:00
Jukka Heinonen 643e8740d5 Report errors to applications when illegal dates are passed to set
system date call (required by many installation checks).
2003-05-06 00:12:52 +00:00
Igor Stepin 97b7bc1984 Added a lot of Russian translations. 2003-05-04 02:33:08 +00:00
Mike Hearn 34dd455f44 Support _NET_WM_PING protocol so the WM can detect freezes. 2003-05-04 02:27:20 +00:00
Rok Mandeljc 9d1ca9fb8a Dmusic class factory can now create dmloader8 and dmperformance8. 2003-05-04 02:26:03 +00:00
Marcus Meissner cba9795f14 Fixed non-x86 DOSVM_Wait prototype. 2003-05-04 02:25:21 +00:00
Marcus Meissner e65d6715ce Fixed powerpc compile. 2003-05-04 02:25:07 +00:00
Lionel Ulmer f5a4a9b60a Give the right ids to the DirectSoundCreate8 function (thanks to
Robert Reif).
2003-05-04 02:24:36 +00:00
Lionel Ulmer 1279d9a0f4 Actually set the GL context before doing any GL calls. 2003-05-04 02:24:03 +00:00
Lionel Ulmer 12c61661ab Added SetSystemTimeAdjustment stub. 2003-05-04 02:23:38 +00:00
Andreas Mohr b5754fc86f Added some stubs. 2003-05-02 21:23:46 +00:00
Robert Reif 772539a84a Move all tests to outside the loop when setting volume.
Add traces to functions.
2003-05-02 21:23:16 +00:00
Lionel Ulmer 6ad962142f - misc. tracing fixes
- handle IID_IDirectSound(8) as the default sound driver
2003-05-02 21:22:49 +00:00
Rok Mandeljc 88240805ab Implemented DirectMusic:EnumPort and DirectMusic:GetDefaultPort. 2003-05-02 21:21:58 +00:00
Robert Reif abde7d0acf Reversed relationship between buffers and notifies.
Fixed notify reuse bug.
Minor documentation and error message cleanup.
2003-05-02 20:16:48 +00:00
Robert Reif bcfff87be5 Added driver property set implementation.
Fixed notify release bug.
2003-05-02 20:16:20 +00:00
Adam Gundy a982259e3e When items are inserted in a partially populated treeview, the first
visible item was not correctly updated.
The first visible item was sometimes used to calculate the location of
other items when it had been freed.
2003-05-02 20:15:36 +00:00
Adam Gundy 06d610ec9b Check the mask flags in the item structure to determine how much
memory to read/write.
2003-05-02 20:14:33 +00:00
Jukka Heinonen e2ae56e0b9 Remove obsolete code from DOSVM_Wait.
Prepare DOSVM_Wait for handling nested interrupts in both real and
protected mode.
Provide temporary workaround for keyboard related deadlock.
2003-05-02 20:12:52 +00:00
Jukka Heinonen 40bebee7ce Report correct IRQ bases to DPMI applications.
Make int31 print more tracing information.
2003-05-02 20:12:10 +00:00
Jukka Heinonen f93d452d78 Fix argument passing to DOS program from winevdm.
Add support for invoking DOS programs with long command lines.
2003-05-02 20:11:52 +00:00
Andreas Mohr 8eb105ca31 Added missing Win98 user32.dll function exports entries. 2003-05-02 20:10:26 +00:00
Robert Shearman f0025e2adc - Implemented RtlAddAccessAllowedAce, RtlAddAccessDeniedAce,
RtlAddAce, RtlValidAcl.
- Added the corresponding functions in advapi32.
- Grouped the ACL functions in advapi32.
2003-05-01 00:29:26 +00:00
Mike Hearn 266a2f297e Change return code comparison in AVI control (from patch by
stanleyg76@yahoo.com).
2003-04-30 23:59:46 +00:00
Alexandre Julliard 812b4f46e9 Avoid calling Win32 resource functions on 16-bit modules. 2003-04-30 17:28:45 +00:00
Steven Edwards e426e9a785 Fix for building lzexpand with Mingw or MS_VC++ includes 2003-04-30 17:15:06 +00:00
Alexandre Julliard 88fbc45dc9 Fixed typo in last minute change (spotted by Gerald Pfeifer). 2003-04-30 17:12:14 +00:00
Alexandre Julliard 424202bd9a Moved most of the kernel resource APIs to dlls/kernel. 2003-04-30 00:53:23 +00:00
Dmitry Timoshkov befff55609 Protect BeginPaint and EndPaint from lps being NULL. 2003-04-30 00:50:43 +00:00
Maxime Bellengé 0485fc19b6 Fix bounding rectangle computation for an ownerdraw tab. 2003-04-30 00:50:26 +00:00
Dimitrie O. Paun dfdeaaf922 Generate custom draw notifications for ownerdraw listviews (based on a
patch by Maxime Bellengé).
Reorganize the custom draw code for better reuse.
2003-04-30 00:49:44 +00:00
Juan Lang 7b55bc45eb Better API compliance and test case for NetWkstaTransportEnum. 2003-04-30 00:48:56 +00:00
Alexandre Julliard 86666c51e2 Implemented ntdll resource functions. 2003-04-29 23:00:48 +00:00
Robert Reif aa8559e84a Fixed a problem where OSS trigger support is inconsistent. 2003-04-29 22:54:09 +00:00
Alexandre Julliard e3d681ba0a Get rid of the COMMDLG_hInstance variables. 2003-04-29 22:52:02 +00:00
Robert Reif e743e091ed Added partial property set support which is used by dxdiag.exe. 2003-04-29 22:49:52 +00:00
Robert Reif 144d7f5da2 Added driver notify implementation. 2003-04-29 22:47:59 +00:00
Christian Costa 9d74dca27c Small fix in IDirectInputDevice2Impl_QueryInterface. 2003-04-29 22:47:04 +00:00
Christian Costa 6dca3ecc45 Reserve space for 16 streams in the stateblock. 2003-04-29 22:44:18 +00:00
Christian Costa b92a58ea07 Enable creation of DirectInput objects trough CoCreateInstance. 2003-04-29 22:43:48 +00:00
Alexandre Julliard 78654e2bff Fixed non-MZ case broken by previous patch. 2003-04-27 20:38:22 +00:00
Uwe Bonnes 7c578ab349 Some UrlCache stubs. 2003-04-27 20:35:38 +00:00
Uwe Bonnes 1d60387e9c Added GetPrintProcessorDirectoryA stub. 2003-04-27 20:35:08 +00:00
Stephan BEUZE 8410e71fb5 Implemented message TCM_SETPADDING with the Dimitri's advice. 2003-04-27 20:34:30 +00:00
Alexandre Julliard fedc411743 Moved the functionality of starting Win16 and DOS programs from the
common process startup into a separate winevdm application.
2003-04-27 00:47:58 +00:00
Alexandre Julliard 8f6727c57d Added NONAMELESSUNION/STRUCT defines. 2003-04-27 00:40:47 +00:00