Commit Graph

4946 Commits

Author SHA1 Message Date
Marcus Meissner 4beaa06e9d Process TKIND_ALIAS in SLTG typelibs, 0x14 in the tail is the
tdescAlias.vt entry.
Added a small handler for TKIND_DISPATCH in SLTG.
ITypeLib_Release can have a NULL pointer as ITypeInfo*.
Split out _copy_arg function for both DispCall and ITypeInfo_fnInvoke,
added some more functionality.
ITypeInfo_fnInvoke can handle VT_USERDEFINED variants.
2003-01-02 23:11:19 +00:00
Francois Gouget 3b761a6b39 Add the ability of playing a test tone when in interactive mode.
Test both primary and secondary buffers.
2003-01-02 23:08:57 +00:00
Alberto Massari 4ab2eac2cd - Implemented InternetCrackUrlW and re-implemented InternetCrackUrlA
by using the Unicode version.
- InternetCrackUrlW now parses URL having the "about" and "res"
  schemes.
2003-01-02 23:08:22 +00:00
Lionel Ulmer 442b235e63 Fix for stupid applications reading some bytes after the end of the
surface memory.
2003-01-02 20:14:24 +00:00
Lionel Ulmer 00a3d5f3f8 - added enumeration of the Reference device (some games seems to need
it to work and they want it enumerated first..)
- some comments about potential problems with Z masking
2003-01-02 20:13:47 +00:00
Lionel Ulmer 4dac4a5580 Added support for per-vertex material properties. 2003-01-02 20:12:16 +00:00
Christian Costa bc2cf94d2f Reimplemented SwapTextureHandles. 2003-01-02 20:07:05 +00:00
Lionel Ulmer ae10e9c5aa - removed some useless WARNs
- fixed backface culling and material settings
2003-01-02 20:05:48 +00:00
Christian Costa f78cf542dc Fix IDirect3DVertexBuffer interface.
Implements GetVertexBufferDesc.
Remove some useless FIXME.
2003-01-02 20:02:49 +00:00
Lionel Ulmer d70a2c0322 - beginning of Material and Light support for D3D7
- new rendering states supported
2003-01-02 20:01:54 +00:00
Lionel Ulmer 825ad05656 Fixed texturing. 2003-01-02 20:00:25 +00:00
Lionel Ulmer b07df8a198 - allow application to load palette-less textures
- handle palette change of loaded textures
- some changes in the ExecuteBuffer
2003-01-02 19:59:49 +00:00
Lionel Ulmer bb9837d2a4 - added some tracing in the fake ZBuffer methods
- added support for the DEPTH_FILL BLT
- set by defaut perspective correction to nicest.
- decrease the limit where 'w' is ignored
2003-01-02 19:58:21 +00:00
Lionel Ulmer f0541aa544 Added some blend states. 2003-01-02 19:56:52 +00:00
Christian Costa eb620386dd Handle more blend states. 2003-01-02 19:56:08 +00:00
Lionel Ulmer 07bcdf40d1 Prevent memory leak in freeing of the VertexBuffer. 2003-01-02 19:54:09 +00:00
Lionel Ulmer eb6e830727 Implement GetTransform and rework a bit the matrices storage. 2003-01-02 19:53:43 +00:00
Lionel Ulmer 7a025001d3 - implemented GetTexture
- semi-stubbed ValidateTexture
- fixed some errors in logging
2003-01-02 19:52:22 +00:00
Lionel Ulmer 6fb7ed8fa7 Added 'blt' and 'bltfast' override functions. 2003-01-02 19:51:25 +00:00
Lionel Ulmer ce3d96889f Added 'emulated' VertexBuffer support. 2003-01-02 19:46:46 +00:00
Lionel Ulmer c3d89f5566 - do not use the alpha coordinates when ALPHABLEND is disabled
- disable fogging in the XYZRHW case
- various other small fixes
2003-01-02 19:45:23 +00:00
Lionel Ulmer 62d4f41ee8 Factorize some code in the texture uploading function. 2003-01-02 19:44:14 +00:00
Lionel Ulmer da66dad0cc Handle texture addressing the D3D7 way. 2003-01-02 19:43:08 +00:00
Lionel Ulmer ffc8344ef2 Prevent lock-up in paletted texture with no palette case. 2003-01-02 19:41:25 +00:00
Lionel Ulmer 8cd2609587 Enable the application to create first textures and then the D3D
device.
2003-01-02 19:39:57 +00:00
Dmitry Timoshkov 5a23a0012f Added ctl3d, ctl3dv2 and ctl3d32 API implementations. 2003-01-02 19:34:14 +00:00
Patrik Stridvall 46304a7361 Fixed some issues found by winapi_check. 2003-01-02 19:28:09 +00:00
Alberto Massari ca70e84f7f Moved implementation of strpbrkW from filedlg95.c to wine/unicode.h. 2003-01-02 19:25:44 +00:00
Alberto Massari c019f53568 Add stub implementation for ReplaceFile. 2003-01-02 19:24:42 +00:00
Eric Pouech 0fcada9fa7 Removed unused #include of module.h. 2003-01-02 17:59:47 +00:00
Raphael Junqueira 559b10699f - integration with DrawPrimitive
- remove non-esthetic c++ comments into c comments block ;)
- more more debug
- indent, cleanups
- trying to use DIFFUSE and SPECULAR for vertex shader
- many fixes
- integration with Jason's texture patch
2003-01-02 17:59:01 +00:00
Lionel Ulmer 1d97f52fa1 Some clean-ups after the DrawPrimitive rewrite. 2003-01-02 17:57:58 +00:00
Lionel Ulmer 3429c3cffe Fix crash in GetAvailableVidMem function when TRACE is activated. 2003-01-02 17:57:39 +00:00
Eric Pouech 1d854a10b0 When unmapping a (wave|midi)-header unprepare message, make sure the
unpreparation was successful.
2003-01-02 17:56:41 +00:00
Eric Pouech a2251e285a Fixed some nasty bugs in drawdib creation/deletion. 2003-01-02 17:56:07 +00:00
Dominik Strasser 2e27f8c930 Some stubs for dll setup needed by IE6 setup. 2003-01-02 17:55:45 +00:00
Marcus Meissner 1c421d779d Support DllGetClassObject of CLSID_StdPicture.
PICTYPE_NONE has width/height 0.
2003-01-02 17:54:57 +00:00
Rein Klazes 0e162e4643 Let ANIMATE_OpenA return FALSE (= failure) upon a request to close a
previously opened AVI clip when there isn't one.
2003-01-02 17:54:23 +00:00
Gerald Pfeifer e9ba70c364 Fix off_t cast that breaks FreeBSD. 2003-01-02 17:52:53 +00:00
Francois Gouget 88a5cb569b Add support for WINETEST_INTERACTIVE. If set then tests can perform
additional explicitly interactive tests.
Modify the winmm test to use WINETEST_INTERACTIVE.
2003-01-02 17:52:05 +00:00
Alberto Massari bb7e49a4e2 IBindCtx::RegisterObjectParam is supposed to replace the old value if
the key is already registered.
2003-01-02 17:51:34 +00:00
Duane Clark 521aa7412d Validate imagelists with christmas magic. 2003-01-02 17:51:13 +00:00
Francois Gouget dadbce9a44 Fix mapping of STATUS_DEVICE_NOT_CONNECTED to match XP.
Fixed the prototype of statustodoserror to make the test work on NT4.
Added alternate return values to make the test work on Win98.
Check whether RtlNtStatusToDosError ismissing to make the test work on
Win95.
Added a strict option to cause the test to only accept the standard
mapping.
2003-01-02 17:50:48 +00:00
Francois Gouget 236ae4d2c9 Remove unnecessary sprintf calls. 2003-01-02 17:49:51 +00:00
Chris Morgan 761dc0d626 Use the locale id we created instead of the system or user default,
otherwise some tests are broken on systems where things aren't
english/us.
2003-01-02 17:47:22 +00:00
Francois Gouget 3b640ca405 Fix signed/unsigned warnings. 2003-01-02 17:47:01 +00:00
Alexandre Julliard 6ed40bb2af Pass the correct instance when installing the mouse hook (spotted by
Lionel Ulmer).
2002-12-24 01:18:21 +00:00
Lionel Ulmer 74c3eab255 - actually use the background color when Clear-ing
- replace glOrtho by a hand-built matrix
- fix applications doing SetTransform + using XYZRHW vertices
2002-12-24 01:07:21 +00:00
Lionel Ulmer 608da067ac - factorize Clear method between Viewport and Device
- some more rendering states handled
2002-12-24 01:03:04 +00:00
Lionel Ulmer 5f78568b53 Support viewports the D3D7 way. 2002-12-24 01:00:45 +00:00
Lionel Ulmer c40b756021 Added some stencil / D3DDevice7 capabilities. 2002-12-24 00:58:27 +00:00
Lionel Ulmer 90bf1f2ea8 Combine texturing for D3D3 and 7 by thunking 3 to 7. 2002-12-24 00:53:50 +00:00
Francois Gouget 49e119f95f Move the test strings into their own array and convert them to unicode
using a for loop. This lets us later print the offending string when a
test fails.
Fix the MSVC compilation error (XXXe183) and warnings (put suffixes as
in 0L & 1.0F, signed/unsigned warnings, s/-2147483648/0x80000000L/).
Uncomment the DateFromStr tests and fill in the todo fields where
appropriate.
Define an NB_OLE_STRINGS macro and use it to make sure all the arrays
have the right number of fields.
In the *FromStr loops, fill the return field with a dummy value (42)
before calling the conversion function. This way a test no longer
depends on whether the previous test failed or not!
If a test is expected to fail, then retval is meaningless -> omit it
from the result arrays.
If a test actually fails or was expected to fail, then there is no
point in checking retval.
Improve error reporting.
Pass the printf-style format directly to ok, remove the unnecessary
sprintfs.
2002-12-24 00:49:27 +00:00
Lionel Ulmer 800cb96bd7 Dump new D3D7 rendering states. 2002-12-24 00:48:21 +00:00
Lionel Ulmer 8768a6ba27 - factorize the D3D1/2 draw_primitive code with the new strided function
- rewrote a little bit this strided function to always use the static
  functions
2002-12-24 00:48:03 +00:00
Alexandre Julliard 37516b3621 The name of the driver should be the 16-bit one in case the app tries
to load it.
2002-12-24 00:29:40 +00:00
Dimitrie O. Paun 48be9c6e87 Fix definitions for Uuid{To,From}String, RpcStringFree. 2002-12-24 00:26:55 +00:00
Christian Costa 81ac4adbcb Remove useless FIXMEs since there is nothing to do in BeginScene and
EndScene.
2002-12-24 00:25:55 +00:00
Christian Costa 3da729eab6 Update and clean-up draw_primitive_strided_7.
Make draw_primitive_7 based on draw_primitive_strided_7.
2002-12-24 00:25:39 +00:00
Lionel Ulmer 3542c9c4d5 - fix mipmap texture creation
- some logging improvements
2002-12-23 02:10:31 +00:00
Lionel Ulmer 19ef31e802 - fix small TRACE bug introduced in a previous patch
- add WRAPU / WRAPV warning
2002-12-23 02:09:20 +00:00
Alexandre Julliard 69e711ef01 wineps16.dll should be named .drv. 2002-12-23 02:07:20 +00:00
Jeff Smith b9f0fce668 Correct all instances of mixMessage to mxdMessage. 2002-12-23 02:05:30 +00:00
Lionel Ulmer f5e1e3beba Have the 'Lock' warning a bit clearer. 2002-12-23 02:04:12 +00:00
Lionel Ulmer f876bf6f67 Report that we do not support compressed texture yet. 2002-12-23 02:03:57 +00:00
Lionel Ulmer c6f5baac23 - fix returning of capabilities in FindDevice
- fill properly some caps according to what OpenGL can do
2002-12-23 02:03:38 +00:00
Marcus Meissner ef2f1b6ec5 VariantChangeTypeEx for VT_ARRAY | type style variants. 2002-12-23 02:03:10 +00:00
Marcus Meissner 7c290abd85 Fixed VarBstrCmp/Cat .spec entries.
Started regression test for SafeArray functions.
Fixed SafeArrayAllocDescriptor (check bounds, set cDims).
Fixed VARTYPE_SIZE array entries so it matches native.
2002-12-23 02:02:49 +00:00
Duane Clark 3d2e380244 Report mode padding tweaks.
Fix to LISTVIEW_GetSubItemRect.
2002-12-23 02:02:06 +00:00
Alexandre Julliard 3c25c8e933 Get rid of ole.h. 2002-12-23 01:46:34 +00:00
Alexandre Julliard d2c034a8dc Removed some remaining references to wine/obj_base.h. 2002-12-23 01:39:35 +00:00
Jason Edmeades 13ee7cd154 Query opengl to ensure it supports multitexture, and honour the number
of supported texture units. Especially important for NVidia drivers
which only support 2 texture units.
2002-12-23 01:34:59 +00:00
Lionel Ulmer 4feb257eed Fix Direct3D2 => Direct3D3 thunk for FindDevice. 2002-12-23 01:34:15 +00:00
Alexandre Julliard 7ea8a0b9be Handle unknown format chars correctly (spotted by György 'Nog'
Jeney) and added test for it.
Removed unneeded _L_ macro.
2002-12-20 00:35:41 +00:00
Alexandre Julliard 87fa2d586d Fixed a few problems caused by the new objidl.idl. 2002-12-19 22:16:35 +00:00
Greg Turner 55b2bf1d89 - port cabextract to wine
- implement cabinet.dll.Extract, urlmon.dll.Extract
- add SP6a registry key to winedefault.reg
2002-12-19 21:16:56 +00:00
Alexandre Julliard ea2b6df7f6 Avoid some warnings. 2002-12-19 21:15:41 +00:00
Mauro Carvalho Chehab 9a1c52e6f6 Included a specific ABNT-2 scan and vkey tables, and an ABNT-2
keyboard with <ALT><GR> key codes.
2002-12-19 21:14:47 +00:00
Francois Gouget 979770b1ca On Win9x "hi\n" gives us "hi\r\n". 2002-12-19 21:12:48 +00:00
Chris Morgan 8bf2c059bc Add additional tests for GetTimeFormat() and GetDateFormat().
Uncomment wine_todo tests that now succeed with fixes to
GetTime/DateFormat().
2002-12-19 21:12:09 +00:00
Alexandre Julliard 5f31b32946 Use MSVCRT_wchar_t instead of WCHAR so that the implementation matches
the prototypes.
2002-12-19 04:21:30 +00:00
Robert Shearman de35ace58c Implemented UrlCreateFromPath[AW] and slightly related
PathCreateFromFileA.
2002-12-19 04:16:54 +00:00
Chris Morgan ee8411f4b0 Stub for GetSecurityInfoExW(). 2002-12-19 04:15:23 +00:00
Lionel Ulmer 96a24ec8ea Added surface dumping function for debug. 2002-12-19 04:13:46 +00:00
Martin Fuchs 09746293f3 Implementation of SystemTimeToTzSpecificLocalTime() and
TzSpecificLocalTimeToSystemTime().
2002-12-19 04:12:42 +00:00
Rolf Kalbermatter 7df7cdb6e2 Introduced some declarations and resources needed for a more complete
implementation of SHFileOperation.
2002-12-19 04:11:22 +00:00
Alexandre Julliard 0ca46dc338 LPCONVCONTEXT should be PCONVCONTEXT (spotted by Dimitrie O. Paun).
Same for LPHSZPAIR and LPCONVINFO.
2002-12-19 01:18:49 +00:00
Ove Kaaven a93a5e9ce0 Moved some definitions from include/wine/obj_moniker.h to
dlls/ole32/moniker.h.
2002-12-19 01:09:40 +00:00
Francois Gouget b611dac7ef On Win9x netapi32.dll does not export a single API so we do a
GetProcAddress for each of them and skip the tests when necessary.
On Win9x GetUserNameW and GetComputerNameW are stubs.
Improve error reporting in access.c.
2002-12-19 01:04:12 +00:00
Francois Gouget 305ead6205 Declare LocalDiscard and GlobalDiscard (used by kernel/tests/alloc.c)
Remove the DISCARD_DEFINED #ifdefs.
Remove another double HeapFree (caused an assert when run on NT4),
and a HeapSize on a freed heap (the test failed on Win9x).
Fix the LocalLock/LocalUnlock tests (the memory must be allocated
with LMEM_MOVEABLE otherwise the tests don't make sense).
Remove many unnecessary casts.
Improved error reporting somewhat.
2002-12-19 01:03:48 +00:00
Francois Gouget 4b1479c990 Improve error reporting. 2002-12-18 20:52:00 +00:00
Francois Gouget 52614c62e4 All filenames containing a ":" are invalid on Win9x and 2000 but are
valid on NT4 -> remove these tests.
2002-12-18 20:51:48 +00:00
Francois Gouget 4f38047987 #ifdef-out decodeW since it is not used yet.
Fix the lpDesktop and lpTitle checks on NT platforms.
2002-12-18 20:51:33 +00:00
Francois Gouget 50c0cdef7e wsprintfW is not supported on Win9x platforms.
wsprintf{A,W}Test should be void.
Improve error reporting.
Remove unnecessary #includes.
2002-12-18 20:51:14 +00:00
Francois Gouget 23aa0f64a2 Fix signed/unsigned warnings. 2002-12-18 20:50:49 +00:00
Ove Kaaven dcb9240a92 Removed a few more inclusions of deprecated wine/obj_*.h headers. 2002-12-18 20:48:05 +00:00
Alexandre Julliard 2aed5d77ff Made crtdll a normal user of msvcrt by setting the right include
path.
2002-12-18 20:17:51 +00:00
Alexandre Julliard 3f5ff2fba2 Avoid including other headers from the msvcrt headers, duplicate some
definitions instead like Windows does.
Always define wchar_t (suggested by Dimitrie O. Paun), and use wchar_t
everywhere instead of WCHAR to avoid depending on Windows headers.
2002-12-18 20:17:20 +00:00
Raphael Junqueira 1df8f18e46 - some fixes in CreateDevice init
- vertex shader declaration parser (with output dump) and
   interpretation (generate the FVF descriptor for program input)
 - vertex shader program parser (with output dump)
 - software vertex shader program emulation
2002-12-18 05:05:41 +00:00
Alexandre Julliard a16ed909c5 Implemented RtlTimeToElapsedTimeFields. 2002-12-18 02:31:33 +00:00