Commit Graph

5023 Commits

Author SHA1 Message Date
Rolf Kalbermatter 49e1b69172 Change SHChangeNotify to be Unicode and ANSI indifferent, as the type
of parameters is really defined by uFlags parameter.
2003-01-21 19:36:24 +00:00
Liu Spider 5f66cf3a0b Implemented GetFileTitleW; GetFileTitleA now is a call to
GetFileTitleW.
2003-01-21 19:32:21 +00:00
Gerald Pfeifer 6fb1c40eb9 Only declare variables we actually need. 2003-01-21 19:30:52 +00:00
Marcus Meissner 0df0304048 Print a large failure message if we try to load stdole32.tlb and
fail.
2003-01-21 19:29:33 +00:00
Waldeck Schutzer 91d4f41e6e Fixed problems with finding and listing all the video
compression/decompression codecs.
Proper initialization of szDriver field in ICINFO by ICGetInfo.
2003-01-21 19:29:09 +00:00
Robert Shearman 004fed63c5 - Clear bits in structure passed to IOleCommandTarget_QueryStatus to
show that we don't support any Exec's.
- Add two Exec cases that were found during testing.
2003-01-21 19:28:36 +00:00
Jason Edmeades b4a3f1dc68 Ensure using correct args during complement texture operations. 2003-01-21 00:41:32 +00:00
Jason Edmeades ffd4fd517e Restore the texture env mode on SetTexture - Fixes problem in
codesampler demo.
2003-01-21 00:30:27 +00:00
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