Francois Gouget
8c777a8c8c
Add the capacity of playing a test tone using the 'play' option.
...
Factorize the regular and WAVE_FORMAT_DIRECT tests.
Test the new 48 and 96kHz formats.
2002-12-16 22:12:32 +00:00
Andreas Mohr
3873fb8958
Added some Win3.1 export stubs.
2002-12-16 22:10:10 +00:00
Andreas Mohr
dc85dc0a1b
Implemented VarOr().
2002-12-16 22:08:48 +00:00
Lionel Ulmer
66aa7e03c4
Add support for the TextureAddress render state.
2002-12-16 22:08:24 +00:00
Francois Gouget
8b97a3a391
In the latest sdk the {waveOut,midiOut}{Get,Set}Volume functions take
...
a handle as the first parameter.
2002-12-15 02:59:50 +00:00
Eric Pouech
59227d6b80
Fixed hangup condition at the end of some playback.
2002-12-15 02:59:13 +00:00
Alexandre Julliard
470cbf2757
Added support for defining forward functions as stdcall so that we can
...
get the proper number of arguments for stdcall decoration.
2002-12-15 01:22:40 +00:00
Alexandre Julliard
f1b4819ed2
Use import libraries when building tests too. Make sure the .a
...
libraries are built for crosstest.
2002-12-15 01:20:54 +00:00
Jukka Heinonen
9d7ff6c85b
Add support for DPMI32. Make winedos16.dll unnecessary.
2002-12-15 01:18:40 +00:00
Lionel Ulmer
91c6f817b9
- rework how texturing is done in the D3D driver
...
- added the generic path for DrawPrimitive API in D3D 3 / 7
2002-12-15 01:17:59 +00:00
Lionel Ulmer
d4fcfa858e
Fix bad logic in == NULL test.
2002-12-15 01:14:21 +00:00
Rolf Kalbermatter
c3c4a41f29
Add support for Unicode IExtractIcon creation in
...
IShellFolder->GetUIObjectOf.
2002-12-15 01:14:04 +00:00
Rolf Kalbermatter
d7d7e3bc33
Fix crash when constructing ANSI interface pointer to IExtractIcon,
...
found by Uwe Bonnes.
Add some traces to the constructors.
2002-12-15 01:13:45 +00:00
Francois Gouget
e4eee61a3d
If unable to set the desired format, OSS_RawOpenDevice should call
...
TRACE, not ERR.
2002-12-15 01:12:47 +00:00
Francois Gouget
e385e5e467
Our resampling algorithm is quite primitive so try simple 8/16
...
mono/stereo conversions first. Only resample if we cannot avoid it.
2002-12-15 01:12:27 +00:00
Francois Gouget
ec55d23568
Use slighly more accurate formula for C816.
...
Wrap a couple of comments to 80 columns.
2002-12-15 01:12:03 +00:00
Francois Gouget
f650222131
If given a bad device id waveOutGetDevCapsA is supposed to return
...
MMSYSERR_BADDEVICEID. Fixes a todo_wine in the winmm test.
2002-12-15 01:11:41 +00:00
Rolf Kalbermatter
caf31cee32
Added Unicode versions of the HCR_ internal functions.
2002-12-13 23:45:36 +00:00
Jukka Heinonen
bbb7dc0fad
When asynchronous signals are blocked, block also SIGUSR2.
...
Fix race that made signal handler forget to restore FS register.
2002-12-13 23:28:01 +00:00
Robert Shearman
096becedd8
Implemented StrStrIW.
2002-12-13 23:25:59 +00:00
Rok Mandeljc
f3128dad92
Implementation of IDirectSound3DListenerImpl_Set*().
2002-12-13 23:20:58 +00:00
Alexandre Julliard
dcc3afd259
Avoid casts between LARGE_INTEGER and FILETIME.
...
Fixed day of week of epoch.
Small cleanups.
2002-12-13 20:53:04 +00:00
Alexandre Julliard
309fde7a1a
Fixed some dependencies.
2002-12-13 20:45:39 +00:00
György 'Nog' Jeney
f7694794de
- Reimplement time functions using ntdll functions.
...
- Some cleanups.
2002-12-13 20:30:06 +00:00
Chris Morgan
b3123fac25
Stub NetGetDCName(). Add in the rest of the NERR_* defines.
2002-12-13 20:28:03 +00:00
Francois Gouget
a542770c55
Extend the test by creating a PrimaryBuffer object and perform a few
...
basic tests such as querying its characteristics and changing its
format.
Changing the format requires that we call SetcooperativeLevel first,
which means we need an hwnd. So the test must now link with
user32.dll.
2002-12-13 20:27:36 +00:00
Francois Gouget
78561f3eb3
IDirectSoundBuffer.GetCaps should fail if caps.dwSize is not set.
2002-12-13 20:26:23 +00:00
Jason Edmeades
2aff85c9c8
Thanks to Lucho, text support in samples now starts to
...
appear. Textures now saved in state blocks, and correct FVF's used for
drawing.
2002-12-13 20:25:59 +00:00
Chris Morgan
4691b18520
Add support for Jack audio server.
2002-12-13 02:26:18 +00:00
Francois Gouget
a522385e7d
Add support for the 48 and 96kHz formats.
2002-12-13 02:18:20 +00:00
Robert Shearman
d1b77764ae
- Change launch functions to use unicode and implement Control_RunDLLW.
...
- Enable support for unicode in control panel applications.
2002-12-13 02:17:54 +00:00
Rolf Kalbermatter
a96447160b
Fixed some signed/unsigned comparison warnings.
2002-12-13 00:36:52 +00:00
Nikolay Stefanov
08ee2e1cc2
Fix issues with i810-based audio cards.
...
Support for user-selectable audio cards through the ALSA_CARD
environment variable (M.Miroslaw@elka.pw.edu.pl ).
2002-12-13 00:36:22 +00:00
Rolf Kalbermatter
4f7ec6335c
Typo found by compiling with standard MSVC warning level.
2002-12-13 00:35:44 +00:00
Rok Mandeljc
553dded48a
Implemented IDirectSound3DBufferImpl_Set*().
2002-12-13 00:31:06 +00:00
Rolf Kalbermatter
608b6a5143
Fix SHBrowseForFolder W -> A calls.
2002-12-13 00:30:30 +00:00
Dimitrie O. Paun
737d4be892
Move excpt.h out of include/msvcrt/ as it does not conflict with any
...
standard Unix header.
2002-12-12 23:34:01 +00:00
Rok Mandeljc
17c8b8e271
Implemented IDirectSound3DListenerImpl_Get*() functions.
2002-12-12 23:01:05 +00:00
Rolf Kalbermatter
d069af18f2
Cleanup InternalExtractIconEx. The PrivateExtractIcons functions
...
should also handle the case for 32bit PE and 16bit NE files so no need
to do this here in a different way, too.
2002-12-12 23:00:47 +00:00
Rolf Kalbermatter
a1b709d32e
Resolve SHGetPathFromIDListW -> SHGetPathFromIDListA call.
...
Remove Fixme comment in SHGetPathFromIDList as StrRetToStrN should
take care of this.
Get rid of some unsigned/signed comparison warnings with default
warnings in MSVC.
2002-12-12 23:00:24 +00:00
Rolf Kalbermatter
1b7b31631d
Implement IExtractIconW and inherit IExtractIconA from it.
2002-12-12 23:00:04 +00:00
Rolf Kalbermatter
117d5326fd
Fix a possible memory leak when extracting from an ICO file.
...
Fix some signed/unsigned warnings showing up in MSVC with default
warning level.
Fix possible problem with short PIMAGE_NT_HEADERS.
2002-12-12 22:59:50 +00:00
Alberto Massari
ea1ca9c705
Implemented DispCallFunc so that it works when calling event handlers
...
that have no return value.
2002-12-12 22:59:25 +00:00
Alberto Massari
059cffd728
Calling SafeArrayDestroy on a destroyed array should be a no-op.
2002-12-12 22:59:07 +00:00
Rok Mandeljc
dcc5b4fe53
Implemented some stubs.
2002-12-12 22:27:15 +00:00
Jeff Smith
f88d00a25d
MMDRV_GetDescription32 fix + a few cosmetic improvements.
2002-12-12 22:26:01 +00:00
Francois Gouget
b42b9ddb73
Mention the applications that depend on the behavior checked by the
...
GetLocaleInfoA partial buffer test.
2002-12-12 22:25:23 +00:00
Marcus Meissner
26ffca49a2
Reverted last VT_USERDEFINED patch (was broken).
...
Marshal TKIND_DISPATCH interfaces just like TKIND_INTERFACE.
2002-12-12 22:25:07 +00:00
Marcus Meissner
561a1a8de0
Separated out 16bit sources for ole2disp.dll.
2002-12-12 22:24:45 +00:00
Alex Pasadyn
a96caa0700
Fix return from IOCTL_CDROM_CHECK_VERIFY.
2002-12-12 22:23:35 +00:00
Francois Gouget
52574ed701
Fix error reporting in wavemap.c:wodOpen(); this solves the
...
waveOutOpen problem so that we can remove the todo_wine.
Win9x does not support WAVE_FORMAT_DIRECT.
Don't check the format if the waveOutOpen command failed.
Use trace, not winetest_trace!
2002-12-12 22:23:15 +00:00
Alexandre Julliard
dbf8b78acd
Added .spec.def files.
2002-12-12 22:04:04 +00:00
Alexandre Julliard
ada5e6521b
Implemented import libraries; on Unix we import the .def file
...
directly, on Mingw we use it to build the .a library.
2002-12-12 22:03:14 +00:00
Marcus Meissner
3b5e2d1a08
Split out 16bit code into typelib16.c.
2002-12-12 03:56:36 +00:00
Francois Gouget
f73e00873c
Don't test whether Get{Currency,Date,Number,Time}FormatA writes as
...
much as possible in the buffer even if it is too small. This is
undocumented and does not match the Win9x behavior.
Skip Unicode tests on Win9x.
Fix usage of memset/sizeof/COUNTOF.
Fix signed/unsigned warnings (in MSVC) by using lstrlenA instead of
strlen.
2002-12-12 03:56:09 +00:00
Francois Gouget
4b97e24380
Add stubs for missing APIs.
2002-12-12 03:55:05 +00:00
Francois Gouget
50c433bba9
Skip the Unicode tests on Win9x.
...
Test Get{System,Windows}Directory{A,W}(NULL, 0). This is a more
standard way to get len_with_null too.
Adapt the error code checks to take into account variations between
Win9x and NT.
2002-12-12 03:54:23 +00:00
Francois Gouget
e948ad1fc7
Fix the error codes returned by DeleteFile{A,W} to match NT.
...
Adapt the DeleteFileA error code checks to take into account variations
between Win9x and NT.
Test DeleteFile(NULL).
Add tests for DeleteFileW.
On NT, calling _lclose on an already closed handle will cause memory
corruption and thus sometimes crash -> removed the relevant test.
Skip the Unicode tests when on Win9x.
2002-12-12 03:54:01 +00:00
Alexandre Julliard
72e1c64345
Added list of symbols to ignore by default in winebuild.
...
Made the -i option support removing ignored symbols too.
Removed the -noimport flag in spec files.
2002-12-12 02:20:47 +00:00
Robert Shearman
26781acb87
Implemented BindMoniker function.
2002-12-12 02:17:39 +00:00
Rolf Kalbermatter
bc5d5d6b3b
Fix shell32.ExtractIcon with A->W and 16 -> 32 calls.
2002-12-12 02:17:13 +00:00
Alberto Massari
eddf9a02d2
Added stubs for FtpCommand[A|W].
2002-12-12 02:16:54 +00:00
Francois Gouget
3773035a6d
The Win9x platforms support WideCharToMultiByte and
...
MultiByteToWideChar but not lstrcmpW! So I implemented our own so
that we can have a meaningful test.
2002-12-12 02:16:29 +00:00
Marcus Meissner
5f9e3ffdb9
Serialize/deserialize all reftypes in VT_USERDEFINED.
2002-12-12 02:15:46 +00:00
Francois Gouget
21d92f8c8a
Skip the Unicode tests (effectively all tests currently) on Win9x.
2002-12-12 02:15:28 +00:00
Alexandre Julliard
2a93f8505c
Pass the -J option to wrc to avoid including installed headers.
2002-12-11 01:34:51 +00:00
Francois Gouget
bc8b8a2221
Generate proper dependencies for testlist.c.
2002-12-11 01:29:36 +00:00
Rok Mandeljc
72a2c37076
Fixed some characters.
2002-12-11 01:29:10 +00:00
György 'Nog' Jeney
4d6ba25d4b
- Implement RtlLocalTimeToSystemTime and RtlSystemTimeToLocalTime.
...
- Use new time functions to reimplement FileTimeToLocalTime and
LocalTimeToFileTime.
2002-12-11 00:19:56 +00:00
Francois Gouget
d705b7c019
'"' is an illegal character on Win9x so we cannot test it.
...
GetShortPathNameA behaves differently on Win9x and NT: on NT it
succeeds even if not all path components exist, as long as they are
already in the 8.3 format.
Wine apparently implements the NT behavior thus many todo_wine went
away.
Fixed some error code checks to take into account all possible return
values.
GetTempFileNameA appears to only use the lower 16bits of the id on
Win95 (and never returns more than 16 bits on other platforms).
GetLongPathNameA is missing on some Windows versions.
Modified the GetTempPath tests to make sure they return the expected
value. Removed the redundant tests (e.g. if buf[0]==0 then buf!="foo",
no need to test both).
The 'len_with_null - 1' case is not testable as the Windows behavior
varies too much between versions.
We cannot check whether Windows touches the buffer either as this
heavily depends on the Windows version and specific circumstances of
the call.
Finally NT4 sometimes exaggerates the required buffer size.
2002-12-11 00:16:31 +00:00
Alexandre Julliard
435e2e63f4
winnt.h should not be self-contained, it must depend on windef.h so
...
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Alexandre Julliard
3144b3c85d
-DSTRICT is now the default behavior.
2002-12-10 22:49:15 +00:00
Alberto Massari
067a981233
Added parameters to NtXxxPort functions prototypes.
2002-12-10 20:04:40 +00:00
Jukka Heinonen
be1c6deb18
Move int21 country information handling to winedos.
...
Improve country information handling.
Move collate table to upper memory.
2002-12-10 19:58:39 +00:00
Vincent Béron
9c627aae6b
Suppress some signed/unsigned comparison warning.
2002-12-10 19:10:46 +00:00
Rolf Kalbermatter
58c04dafae
Change the return value for ExtractIconEx from HICON to UINT and make
...
the function call directly user32.PrivateExtractIconEx.
2002-12-10 19:10:11 +00:00
Rolf Kalbermatter
2dcb751aa7
- Modify ICO_ExtractIconExW to:
...
return more compliant values for usage in PrivateExtractIcons and PrivateExtractIconEx
accept and fill in the icon identifier array correctly if provided
allow to retrieve both small and large icons together.
- Simplify PrivateExtraxtIcons
- Modify PrivateExtractIconExW to:
use compatible signature to ExtractIconEx in shell32 which it really is directly
as tested on W2K by calling both functions with the same parameters
directly call internal extraction function
fix error when requesting 1 icon for both sizes
2002-12-10 19:09:45 +00:00
Dimitrie O. Paun
9c50730354
Get rid of generic notification support in comctrl32. The MS docs were
...
misleading in that all controls send these notifications. They don't.
2002-12-10 19:07:59 +00:00
Dimitrie O. Paun
5720007370
- Plug a bunch of memory leaks.
...
- Make ranges_destroy behave more like free().
- Fix messed up indentation from tabs set to 4 chars.
- Updated the documentation.
2002-12-10 19:07:27 +00:00
Chris Morgan
50bd40c775
Reset the oss device before we try to close it. Fixes hang on startup
...
of Starcraft due to oss device being in a bad state.
2002-12-10 19:06:51 +00:00
Jason Edmeades
d197d40295
VarAdd support for integers.
2002-12-10 19:06:28 +00:00
Alexandre Julliard
9b1df412f4
Don't build tests by default just yet.
2002-12-07 23:52:43 +00:00
Rolf Kalbermatter
418ca6d1b0
Add SHDefExtractIcon{AW} function.
2002-12-07 23:49:24 +00:00
Rolf Kalbermatter
3390547aef
Fix signature of SHLWAPI_334 as its string parameter really is an
...
output.
2002-12-07 23:48:10 +00:00
Jukka Heinonen
1cfc850b2c
Move int08 stub and LOL to upper memory.
...
Move simple int21 functions to winedos.
2002-12-07 23:46:41 +00:00
Alexandre Julliard
310de886e9
Check file header to differentiate between object files and resources
...
so that the -r option is not necessary.
2002-12-06 23:26:29 +00:00
Alexandre Julliard
ba2f2acc86
Fixed the list of accepted types passed to HttpOpenRequestA.
2002-12-06 23:21:35 +00:00
Rolf Kalbermatter
247457c184
Implement ParseFieldW function based on its ANSI sibling.
2002-12-06 23:20:52 +00:00
Alberto Massari
bc8bd72297
- When sending a request using HttpOpenRequest/HttpSendRequest, send the
...
User-Agent header; fixed the Accept and the Referer header handling to
really work.
- Fixed bug in the HTTP_ProcessHeader: when a second value was supposed to be
added to an existing one, the buffer was reduced to be 1 char long instead
of being expanded, due to the precedence rules of the operator '?'.
- Added support for opening URLs that redirect to a different place.
2002-12-06 23:20:31 +00:00
Francois Gouget
3db0008552
Define PSH_WIZARD97 (problem reported by jaymz@free.fr).
2002-12-06 23:19:54 +00:00
Christoph Frick
983088a03b
Force (WS_)SO_REUSEADDR before binding to a socket; ignore
...
(WS_)SO_DONTROUTE; Network games in Grand Prix Legends and Nascar 2002
are possible now.
2002-12-06 23:19:21 +00:00
Alexandre Julliard
bcf2a78268
Build test programs as part of the normal build.
2002-12-06 19:51:20 +00:00
Rolf Kalbermatter
5bfcdc8d73
Fix some parameter types.
2002-12-06 19:50:26 +00:00
Ove Kaaven
1f5315c80f
Make sure that no files except unknwn.h include wine/obj_base.h
...
directly.
2002-12-05 20:33:07 +00:00
Patrik Stridvall
75dee506ae
Replace 0x%p with %p.
2002-12-05 19:56:15 +00:00
Peter Mladek
5dc7f13380
Added 2 more Czech keyboard layouts compatible with XFree86 4.1.
2002-12-05 19:55:04 +00:00
Alberto Massari
adae4350d2
- Moved GetUrlCacheEntryInfoA and CommitUrlCacheEntryA to urlcache.c.
...
- Added stub implementation of GetUrlCacheEntryInfoExW.
- Implemented InternetQueryOptionW, InternetCombineUrl[A|W].
- InternetSetOptionW prints FIXMEs with more informations.
- INTERNET_SetLastError was crashing if called after the thread
local storage area had already been deleted (it happens if you
close Internet Explorer while the download is still in progress).
2002-12-05 19:54:40 +00:00
Alexandre Julliard
26d648887a
Back out the aRts volume patch, this is not user-friendly at all.
2002-12-05 19:20:36 +00:00
Francois Gouget
d523a45bd0
A simple test for IDirectSound.GetCaps.
2002-12-05 19:19:41 +00:00
Marcus Meissner
d344849e4e
Marshal VT_R4 (4 byte float).
2002-12-05 19:12:50 +00:00