Commit Graph

5015 Commits

Author SHA1 Message Date
Marcus Meissner 4a46348a9c Changed MONITORINFOEXA,W definition to the one in MSDN which does not
cause gcc 3.3 warnings.
2003-01-21 00:29:31 +00:00
Francois Gouget acc5e9bba1 Check for sysparams keys in either the Win9x or NT locations. This
makes the test succeed on Win9x and NT4 platforms.
Add a 'strict' mode which specifically makes sure that the NT location
is set. In strict mode the test succeeds on Windows XP and Wine.
2003-01-20 23:30:22 +00:00
Francois Gouget 48dacc4996 Make sure we always know about the 48 and 96kHz formats even if they
are not defined in the (old) Windows headers.
2003-01-20 23:28:50 +00:00
Gerald Pfeifer 61e9670d31 #include <stdlib.h> instead of the non-standard <malloc.h>. 2003-01-20 23:27:27 +00:00
Christian Costa 820b8ca0e8 Handle more light states. 2003-01-20 23:27:08 +00:00
Francois Gouget 2a56437f72 {Get,Set}ThreadPriorityBoost are stubs on Win98. 2003-01-20 23:26:09 +00:00
John K. Hohm 2db37e20cd Added optional OLESelfRegister to wine_common_ver.rc, used in
dlls/comcat.
2003-01-20 23:24:43 +00:00
Christian Costa 6d9630f397 Make D3D1..3 lights code rely on D3D7. 2003-01-20 23:24:05 +00:00
Jason Edmeades f5885defc9 Only reload the mipmap images when dirty. 2003-01-20 23:23:41 +00:00
Matthew Davison 6f2a071df1 Remove some calls to HEAP_strdupAtoW from advapi32. 2003-01-20 23:23:12 +00:00
Lawson Whitney 0c391fe32f Fix reversed hour and minute in int 21 ah=2c. 2003-01-20 23:22:27 +00:00
Francois Gouget 9140349886 Warn if open_count is already 0 when OSS_CloseDevice is called.
Don't decrement it in that case.
2003-01-16 01:16:46 +00:00
Francois Gouget 8e9dcb6655 Use the same 8/16bit conversion routines as in pcmconverter.c.
Reorder the two ifs in the first part of cp_fields to simplify the
code.
2003-01-16 00:20:07 +00:00
Francois Gouget 336d8fe298 SetFormat may not change the primary buffer format as requested.
Dump the effective format and prepare the tone signal accordingly.
Play tones from the secondary buffers at -3dB rather than -12dB.
Always print the volume the tone is going to be played at.
Remove the gamedev URL.
2003-01-16 00:19:49 +00:00
Francois Gouget a4c90cff02 Don't use old_spacing-1 if old_spacing already has the minimum value. 2003-01-16 00:19:24 +00:00
Francois Gouget 2147b9f5da Return MMSYS_NOERROR even if we don't open the device with the
requested format, otherwise OSS_OpenDevice will not increment
open_count.
Use -1 to signal OSS_RawOpenDevice not to do ioctls because 0 is
ambiguous (also means mono as opposed to stereo).
2003-01-16 00:19:04 +00:00
Bill Medland 37bbb1c26e Correct GetDateFormat handling of uninitialised fields: only the year,
month and day fields matter; the rest may be uninitialised.
2003-01-16 00:18:34 +00:00
Francois Gouget e1685e6bf5 ok() does not support '%S'. Store the Ansi version, convert to Unicode
when needed, and print the Ansi version using ok().
Fix 'value is so large it is unsigned' warnings.
2003-01-16 00:11:32 +00:00
Juergen Schmied 8be60f8212 Translated some remaining English words. 2003-01-15 03:33:08 +00:00
Juergen Schmied d5281fd393 Give some functions real names. 2003-01-15 00:53:39 +00:00
Stefan Leichter 8780853ab7 Make GetPrinterDriverDirectoryA pass all tests. 2003-01-15 00:51:16 +00:00
Stefan Leichter 88b1106492 Added tests for GetPrinterDriverDirectoryA. 2003-01-15 00:50:48 +00:00
Robert Shearman 8c1911f65a Separate the HINSTANCEs used by GetShellOle() and other delay load
functions.
2003-01-15 00:45:19 +00:00
Francois Gouget 6bbce6cd22 Initialize the pwave array whenever we don't have a hardware buffer.
Always create the wineoss thread.
Change the mmap ERR into a TRACE: there are normal circumstances where
mmap will fail and we can deal with them.
2003-01-15 00:44:50 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Raphael Junqueira 9e43683316 - beginning of vertex matrix blending using extensions (currently
alpha alpha stage as i haven't understand needed extension behavior)
- modify SetRenderState for matrix blending specific params
- by default diffuse color is white ;)
- comments most of the traces (else flood ...)
- add more urls in comments
- indent, cleanups
2003-01-14 23:12:37 +00:00
Raphael Junqueira 72fb7acf8d Beginning of more COM compliant behavior:
- AddRef/Release where needed
- use IUnknown* instead void*
- fix many GetDevice using AddRef
- fix IDirect3DSurface8Impl_GetContainer using QueryInterface
2003-01-14 23:05:39 +00:00
Jason Edmeades 7472d72e03 Copyrect should flag destination texture as dirty, to force it to be
reloaded.
2003-01-14 22:53:50 +00:00
Jason Edmeades bcb05fd43e Add support for some of the texture address states and border colour. 2003-01-14 22:50:00 +00:00
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