Commit Graph

4986 Commits

Author SHA1 Message Date
Raphael Junqueira 6b03dd5c85 - move input and output data in VertexShader struct
- better traces
- specific input data filling function for vertex shaders using vertex
  shader declaration (and not FVF ... maybe FVF will return for fast
  path with simples vertex shader declarations)
- huge vertex shader fixes:
  - add and fix many vs (1.0->2.0) used opcodes in complex shaders
  - improvements to programs parser: parse comments, version, ..
  - add a vertex shader input filler function (parsing vertex shader
    declaration): almost complete
- comments most of the traces (else flood ...)
- add more urls in comments
- indent, cleanups
2003-01-14 20:29:33 +00:00
Alberto Massari 04ee55e994 - Align the cleanup phase of ReleaseStgMedium to the native API.
- When the data is a bitmap or an enhanced metafile, use the correct
  data member.
2003-01-14 19:32:14 +00:00
Uwe Bonnes 574d4a91a6 Stubs for Un|LockServiceDatabase. 2003-01-14 19:31:44 +00:00
Rok Mandeljc 5438df173e Added cone support. 2003-01-14 19:31:08 +00:00
Robert Shearman bda22de541 - Add some stubs.
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Enrico Horn a96bfbd181 Add version info to dinput. 2003-01-13 20:41:18 +00:00
Enrico Horn 6b83bb622b Add version info to dll/dsound. 2003-01-13 20:40:45 +00:00
Francois Gouget 6fed1e3738 Update the registry keys of SPI_ICONHORIZONTALSPACING,
SPI_ICONVERTICALSPACING and SPI_SETICONTITLEWRAP to match XP.
The SPI_SETBORDER test leaves an incorect border setting and is just
too erratic: comment it out for now.
Modified the SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING and
SPI_SETWORKAREA to not cause the icons to be reorganized.
Don't test out-of-bound values for SPI_SETKEYBOARDSPEED as behavior
differs accross Windows platforms.
On Win9x the maximum value for SPI_SETSCREENSAVETIMEOUT is 32767.
The registry keys and values stored in them for
SPI_ICONHORIZONTALSPACING and SPI_ICONVERTICALSPACING depend on the
Windows platform: ignore them.
No Windows platform seems to SPI_SETFASTTASKSWITCH: no longer test it.
The lParam of WM_SETTINGCHANGE is quite useless (even the MSDN says
so!) and varies accross Windows platforms. Ignore it.
Always check the SystemParametersInfoA return code as it fails in very
strange ways on some platforms. Skip unsupported settings.
Skip Unicode tests on platforms that don't support it.
2003-01-13 20:40:22 +00:00
Robert Shearman 37d9b486f9 Support a few trivial cases in PropVariantClear. 2003-01-13 20:37:39 +00:00
Robert Shearman d0019a6040 AlignRects stub. 2003-01-13 20:36:39 +00:00
Enrico Horn daeaff6944 Extend version info. 2003-01-13 18:31:19 +00:00
Lionel Ulmer f85759bcc9 Update the 'DIRECTDRAW7' flag according to the interface initialized. 2003-01-13 18:30:47 +00:00
Francois Gouget 18e6bb81e3 Fix the case of floats in VarBstrFromR4, VarBstrFromR8 and
VarBstrFromCy.
We cannot check for equality of floats or doubles because of rounding
errors. Check equality to 14 digits for doubles.
Add more precision to the expected results so that they match actual
results.
Print floating values with more precision so we know what went wrong.
Specify the locale for all variant functions that depend on it.
Added return codes for Win95. Win95 returns dates with only two digits
for the year.
Uncommented more VariantCopyInd and VariantChangeTypeEx tests.
2003-01-13 18:30:18 +00:00
Francois Gouget c7de2085bb Use only Ansi APIs for cleaning up the registry.
Skip Unicode tests if the Unicode APIs are not implemented.
If the value name buffer is too small, Win9x returns the number of
characters returned as specified in the MSDN while other Windows
return the number of bytes written (including the trailing '\0').
2003-01-13 18:29:31 +00:00
Eric Pouech a2534ca00f Added tests for environment variables, debug and suspend flags. 2003-01-13 18:28:43 +00:00
Alexandre Julliard 76db6b062e Warning fixes. 2003-01-11 22:50:15 +00:00
Eric Pouech e9005937ad Added a few more stubs. 2003-01-11 22:48:11 +00:00
Francois Gouget ce0557fe8e Modify OSS_Wave{In,Out}Init to report the exact capabilities of the
OSS driver.
Add support for the 48kHz and 96kHz formats.
2003-01-11 22:47:51 +00:00
Eric Pouech e8a7ad3040 Some code cleanups.
Better error handling.
Removed unneeded internal variables.
2003-01-11 22:47:21 +00:00
Alexandre Julliard a3717a2edd Fixed EOF return value for sscanf. 2003-01-11 21:06:02 +00:00
John K. Hohm 5778165d65 Reimplemented DllRegisterServer and DllUnregisterServer in a more
generally useful way, entirely in regsvr.c.  Added (un)registration of
interfaces.
2003-01-11 21:05:15 +00:00
Dimitrie O. Paun 13098ea188 Create stubs for chsize, dup, and dup2. 2003-01-11 21:01:04 +00:00
Marcus Meissner fe483aae1d Coerce VT_UNKNOWN <-> VT_DISPATCH, NULL is valid in these cases.
Drop VT_x -> VT_x coercions, they are handled before the switch()
already.
2003-01-11 20:58:58 +00:00
Marcus Meissner d5e60ea373 Convert VT_DISPATCH variants into VT_USERDEFINED/TKIND_DISPATCH and
TKIND_INTERFACE targets, Query IID_IDispatch if necessary.
2003-01-11 20:58:35 +00:00
Marcus Meissner 27627d977e Implemented CoGetTreatAsClass. 2003-01-11 20:58:10 +00:00
Francois Gouget 32140adefa DSB.SetFormat:Trace the requested format as soon as possible in case
it is not supported and simplify validity check.
Initialize the buffer format, and only from the fields we checked.
DirectSoundCreate8 fully initializes the buffer format (just in case).
2003-01-11 20:54:56 +00:00
Francois Gouget 8325deaa33 Fix latent deadlock in DSOUND_callback. 2003-01-11 20:53:43 +00:00
Mehmet Yasar 653510348a - return EOF when stream is empty
- conformance test updated
2003-01-11 20:53:22 +00:00
Rok Mandeljc 438985f3dd 3d sound diminishes with distance. 2003-01-10 01:46:36 +00:00
Juergen Schmied 7cf87c521e Fixed crash in winamp reported by Andreas Mohr. 2003-01-10 01:46:15 +00:00
Juergen Schmied 799e6ce629 Fix recently broken GetDisplayNamesOf of names of shell extension
dlls.
2003-01-10 01:45:57 +00:00
Marcus Meissner 728bedcfc6 Added GIF decompressor support to OLE Automation IPictures. 2003-01-09 06:04:33 +00:00
Jason Edmeades cf5c35bc81 Calculate starting position for a copyrect correctly. 2003-01-09 06:02:39 +00:00
Eric Pouech fa8b85aa5c Set the edition mode as a specific attribute, not an extension of the
console mode.
2003-01-09 06:01:32 +00:00
Alexandre Julliard 39720afa84 Remove global NONAMELESS* define for tests too. 2003-01-09 01:56:27 +00:00
Matthew Mastracci 4caf4bf877 Add implementation for PathCreateFromUrlW and add the start for some
URL unit tests.
2003-01-09 00:50:17 +00:00
Dimitrie O. Paun 4a883a55f6 Collapse the -hHrs options into the -O option.
Generate .res files by default.
2003-01-09 00:03:53 +00:00
Eric Pouech d93cb70558 Implemented GetModuleBaseName(AW), GetModuleFileNameEx(AW) and
GetModuleInformation.
2003-01-09 00:02:26 +00:00
Eric Pouech 2359b57574 - no longer depend on toolhelp definitions for generating snapshots
- added get_dll_info request
2003-01-09 00:01:28 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard 8ba666f3a7 Store the keyboard state in the thread input structure on the server
side.
2003-01-08 19:56:31 +00:00
Stefan Leichter 7a78ca04ed GetPrinterDriverDirectoryA: do not crash on null pointers. 2003-01-08 19:52:25 +00:00
Alexandre Julliard 242e395bbc Store the hardware messages in the thread input structure, not in the
thread queue. Get rid of the cooked messages queue.
2003-01-08 00:27:58 +00:00
Francois Gouget 3efacb0acf Remove extra #include directives from winspool.h. 2003-01-07 23:09:22 +00:00
Lionel Ulmer 1213c17489 - rewrote a little bit the state magagement to remove the RenderState
stucture and use only the state_block code
 - factorize some code between interface revisions
 - fix some smalls bugs
2003-01-07 23:08:31 +00:00
Francois Gouget ede0e8ae64 In OSS_RawOpenDevice, always retrieve the device format and store it
in the OSS_DEVICE structure.
Modify our internal functions so that they can be told to still open
the device even if the device format is not an exact match.
In wodOpen return the actual device format if the WAVE_DIRECTSOUND
flag is set.
Fixes DirectSound on i810 soundcards (i.e. cards supporting only
48000x16x2).
2003-01-07 23:08:05 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Francois Gouget 112cf22a12 Always open the device in the default 22050x8x2 format, and let it
report the actual device format to us.
2003-01-07 19:43:18 +00:00
Francois Gouget 772cabeba9 Fix the BlockSize check. 2003-01-07 19:43:02 +00:00
Dimitrie O. Paun f53ddb2618 Stubs for DllGetClassObject, Ole[GS]etClipboard in ole2. 2003-01-07 19:42:43 +00:00