Commit Graph

5100 Commits

Author SHA1 Message Date
Shachar Shemesh 7ee13d8f3e - Defined IDs for string constants for font color names and for the
various charsets.
- Load the color names from the resources in the fonts dialog.
2003-01-28 00:18:31 +00:00
Andreas Mohr 056d2a4421 "InternetAutoDial" should be "InternetAutodial". 2003-01-28 00:17:15 +00:00
Jukka Heinonen 6758f027fa Handle horizontal and vertical retrace separately. 2003-01-28 00:16:15 +00:00
Jukka Heinonen 1f5e6994af Unify VGA and VESA video mode setting code. 2003-01-28 00:16:01 +00:00
Enrico Horn eaae7050fa Added d3dim.dll with stubs. 2003-01-24 01:08:15 +00:00
Alexandre Julliard 43690e9e47 Removed no longer needed inclusion of heap.h. 2003-01-24 00:54:58 +00:00
Jason Edmeades aaa68a32f7 Add support for color material sources, with help from Lucho. 2003-01-24 00:48:10 +00:00
Leonardo Quijano Vincenzi 0207855e1d Fixed Latin American keyboard (key "?!" was reversed). 2003-01-24 00:47:08 +00:00
Matthew Davison 620323e294 Removed some Unicode -> Ascii cross-calls. 2003-01-24 00:45:51 +00:00
Stefan Leichter f2710545ba Removed windows version checks from GetPrinterDriverDirectory tests. 2003-01-24 00:45:21 +00:00
Matthew Davison 60009b9a56 Removed calls to HEAP_strdupAtoW. 2003-01-23 23:07:38 +00:00
Marcus Meissner f63e5b646a Remove errno.h from files that do not need it. 2003-01-23 22:51:04 +00:00
Jason Edmeades 5840a1bffc Use device max lights and clipplane support. Also change clipplane to
be affected by view matrix.
2003-01-23 22:38:51 +00:00
Alexandre Julliard a52b2777b2 Keysym check should use 0x8000 instead of 0x800 (spotted by Dmitry
Timoshkov).
2003-01-23 21:35:14 +00:00
Alexandre Julliard f8aa3b506c Added -Wpointer-arith gcc flag, and fixed the resulting warnings. 2003-01-23 21:32:35 +00:00
Greg Turner 92cc5868ae Fix some problems when Extract is used more than once. 2003-01-23 21:22:24 +00:00
Waldeck Schutzer dda7f979d5 Audio codecs were erroneously being listed multiple times, making it
difficult to run certain applications like VirtualDub.
2003-01-23 21:21:33 +00:00
Waldeck Schutzer ab908c4162 Make sure the parameter phas is correct by setting it equal to NULL in
query mode.
2003-01-23 21:21:02 +00:00
Gerald Pfeifer 701ab7dd61 Improve portability wrt. struct sockaddr_ipx. 2003-01-23 21:20:36 +00:00
Alexandre Julliard e5fb975a6e Added dead keys support using X input methods (based on a patch by
Dmitry Timoshkov).
2003-01-23 01:29:58 +00:00
Alexandre Julliard 8b6a21950d Create an X input context for each top-level window. 2003-01-23 01:28:12 +00:00
Marcus Meissner d0372b4e6e Fixed ICOM_CALLs for IFont_xx methods.
Added IPersistPropertyBag, IPersistStreamInit interfaces with stubs.
Implemented IDispatch::Invoke for the used DISPIDs.
2003-01-23 01:23:59 +00:00
Jukka Heinonen 66b29b275e Return number of bytes written when writing to DOS console using int21
function 0x40. Move some int21 functions to winedos.
2003-01-23 01:23:01 +00:00
Jukka Heinonen fcba2b538e Reorganize int10 code. Fix comments. 2003-01-23 01:22:40 +00:00
Waldeck Schutzer f9b35fac09 Fixed initialization of szDevice in ICINFO. 2003-01-23 01:22:16 +00:00
Christian Costa a49cc9e4e1 Implement vertex and pixel fog.
Fix fog color initialization.
2003-01-23 01:21:50 +00:00
Alexandre Julliard a29960e702 Make sure to always set X focus on the top-level window, not on
child windows.
2003-01-21 20:16:20 +00:00
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
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