Commit Graph

8636 Commits

Author SHA1 Message Date
Alexandre Julliard
ebc6a2d9b6 Moved all files from the objects/ directory to dlls/gdi.
Merged text.c into font.c and dcvalues.c into dc.c.
2004-07-21 04:07:28 +00:00
Alexandre Julliard
f7b4a4e2f1 Moved LineDDA implementation to dlls/gdi/painting.c. 2004-07-21 03:41:27 +00:00
Francois Gouget
da24dff4ff Make sure we won't get an overflow in check_position() even if we play
longer test tones.
2004-07-21 03:23:29 +00:00
Robert Reif
02a8ab2fee Save enumerated GUIDs in a global array so they persist after
enumeration.
White space cleanup.
Add tests for opening default devices.
2004-07-21 03:23:13 +00:00
Alexandre Julliard
400b34493c Fixed flags handling in StrIsIntlEqualA/W (spotted by James Hawkins). 2004-07-21 03:12:16 +00:00
Robert Reif
f3b7cadf8d Adds *GetDevCapsW bad pointer check.
Adds waveOutGetDevCapsW test.
2004-07-21 03:10:24 +00:00
Kevin Koltzau
e3e6704ddf Add idl files required for scripting. 2004-07-21 03:08:46 +00:00
Filip Navara
2b95caccd3 - Implementation of mmTaskCreate. Based on patch by Eric Pouech.
- Fallback implementation in waveOut[Un]PrepareHeader.
2004-07-21 03:02:36 +00:00
Alexandre Julliard
2c90b52bbc Rewrote load_messageA/W to deal properly with multibyte characters. 2004-07-20 22:12:21 +00:00
Francois Gouget
8b5c40fd0c Revert my previous incorrect check_position() patch: Windows returns
exactly the number of samples/bytes played (no plus one there).
Modify check_position() to work off the actual number of bytes as
calculated by wave_generate_la(). This fixes problems due to rounding
when duration is not a neat integer.
Round up the frame field when checking TIME_SMPTE.
2004-07-20 22:09:53 +00:00
Zach Gorman
4bb95f3915 Add test to demonstrate DrawText() with DT_CALCRECT incorrect behavior
in MM_HIENGLISH mapping mode.
2004-07-20 22:09:14 +00:00
Robert Reif
c47b4f7941 Notify when position format not supported.
Test that position is 0 at start.
2004-07-20 01:22:47 +00:00
Aric Stewart
84837d96a6 If the data table for a called action does not exist (for example
CreateFolders wants a CreateFolder table to read the data from) do not
fail, instead just do not perform the action.
2004-07-20 01:22:37 +00:00
Robert Shearman
907ac44aa7 Fix string length return from HttpQueryInfoA. 2004-07-20 01:21:08 +00:00
Mike Hearn
850dcad17d Make STARTUPINFO.lpDesktop tests pass on NT. 2004-07-20 01:20:50 +00:00
Mike McCormack
3a1391b8dd Use pointers internally and refcount all objects. 2004-07-19 21:49:39 +00:00
Hans Leidekker
4104c622af Set VersionMsi property.
Accept a dot in a number value.
2004-07-19 21:49:15 +00:00
Mike Hearn
ad4a00d35a Add some test cases for _wputenv, fix deletion of non-existent
environment variables, return -1 on error.
2004-07-19 21:23:02 +00:00
Francois Gouget
2e13bf774e Check that we are still playing in wodUpdatePlayedTotal(). If not,
then the value returned by snd_pcm_delay() is not usable so assume
delay=0. This gets the winmm test to complete in interactive mode with
winealsa.
2004-07-19 21:20:59 +00:00
Francois Gouget
cc3a95c6e9 Make the listener/sound position update duration and TIME_SLICE
independent.
Set the sound and listener velocity and increase the sound source
velocity so we may get some doppler effect.
Added some traces so one can monitor the listener/sound positions with
WINETEST_DEBUG=3.
2004-07-19 21:20:38 +00:00
Francois Gouget
9d9c6431da In interactive mode, check that the tone duration is within 10% of the
expected value.
2004-07-19 21:20:03 +00:00
Vincent Béron
5c60510bc0 Implement the repair mechanism in msiexec, and stub it out in
msi.dll.
2004-07-19 21:19:45 +00:00
Robert Shearman
d6315926e6 Honour INTERNET_FLAG_NO_COOKIES. 2004-07-19 21:18:33 +00:00
Robert Shearman
dee8751ca8 Fix HttpQueryInfo(HTTP_QUERY_RAW_HEADERS*) so that it returns the
actual headers received, not just reconstituting them from processed
data.
2004-07-19 20:09:20 +00:00
Marcelo Duarte
95f067d3cd Update localization for Portuguese language. 2004-07-19 20:09:00 +00:00
Francois Gouget
8d4b362631 Fix the check_position() test: on Windows waveOutGetPosition() returns
the number of samples played plus one (also one extra sample for the
byte count).
2004-07-19 20:08:24 +00:00
Francois Gouget
54751b230d Use round() instead of ceil() in wodGetPosition(TIME_SMPTE).
Fixes the corresponding winmm conformance test.
2004-07-19 20:08:06 +00:00
Robert Reif
3ce9c5f4b8 Do initialization to match windows behavior (with test). 2004-07-19 20:06:22 +00:00
James Hawkins
c0e4c40bbb Better fix for collate icon behavior. 2004-07-19 19:35:28 +00:00
Mike McCormack
f3c8b83055 Fix the return code of MsiDatabaseOpenView. 2004-07-19 19:35:05 +00:00
Robert Reif
429d3059b1 Fixes the right bugs and keeps intent of test.
Adds more reference count checks.
2004-07-19 19:34:44 +00:00
Stefan Leichter
2575070120 Forward shlwapi.459/460 (SHExpandEnvironmentStringsA/W) to
kernel32.ExpandEnvironmentStringsA/W.
2004-07-19 19:32:51 +00:00
Robert Shearman
e27ab315fd Fix size return from InternetGetCookieW. 2004-07-19 19:32:36 +00:00
Filip Navara
cbe79616bd Use system metrics values in TOOLBAR_DrawPattern instead of hardcoded
values.
2004-07-19 19:32:16 +00:00
Alexandre Julliard
932e8165c9 Implemented GetUIVersion (based on a patch by Stefan Leichter). 2004-07-17 00:05:23 +00:00
Francois Gouget
b5ee682cae Don't try to create a IDirectSound3DBuffer, partly to keep this test
simple and partly because it's going to fail since we did not request
DSBCAPS_CTRL3D. Fixes a crash on Windows.
Don't request unneeded caps.
2004-07-17 00:04:17 +00:00
Shachar Shemesh
8c24ef7845 System default locale in Windows determines the ANSI encoding
(LC_CTYPE on Unix).
2004-07-16 23:44:18 +00:00
James Hawkins
0a8c92b499 Fixed collate icon behavior. 2004-07-16 23:43:20 +00:00
Francois Gouget
57aa9ebc38 Get and print the DirectSound primary buffer volume. 2004-07-16 23:42:44 +00:00
Francois Gouget
910b695822 Keep track of how much has been played and get rid of last_pos. This
fixes a bug where buffer_service() would not detect that everything
had been played.
Check that the actual sound duration was within 10% of the expected
value.
Make BUFFER_LEN and TIME_SLICE independent, make sure TIME_SLICE does
not divide BUFFER_LEN to spice things up a bit.
2004-07-16 23:42:32 +00:00
Krishna Murthy
d84de2c4a1 Added regression test for WM_NEXTDLGCTL and default button ID
behavior.
2004-07-16 23:22:49 +00:00
Francois Gouget
4c64f9bdf9 Call IDirectSound::Initialize() as per MSDN before using the
DirectSound object. Fixes a crash on Windows.
2004-07-16 23:21:46 +00:00
Francois Gouget
acb7207a9d On Windows GetPan() may not return the value that was just set with
SetPan().
2004-07-16 23:21:33 +00:00
Stefan Leichter
1e00ad2477 Added stubs for DllInstall and DllRegisterServer. 2004-07-16 23:21:16 +00:00
Filip Navara
6a9cc38d9e Make the pattern drawing in TOOLBAR_DrawPattern look better. 2004-07-16 23:20:55 +00:00
Marcus Meissner
2de54537d6 Fixed lvalue casts for new compiler. 2004-07-16 23:20:38 +00:00
Alexandre Julliard
01bb813156 Fixed some duplicate CRYPT_Free calls (spotted by Michael Jung). 2004-07-16 19:19:00 +00:00
Francois Gouget
817c520909 Assorted spelling fixes. 2004-07-16 19:15:40 +00:00
James Hawkins
f3eec54a66 Check for empty PrinterName in PRINTDLG_WMCommandW. 2004-07-16 19:14:19 +00:00
Martin Fuchs
f045c9df81 Distinguish between Open and Explore commands.
Execute items by default.
2004-07-16 19:13:21 +00:00
Alexandre Julliard
c4ec2108b1 Pass the environment for a child process through the server instead of
relying on the Unix environment.
2004-07-16 03:54:35 +00:00
Alexandre Julliard
9d3ee0d7c1 Implemented _spawnle and _spawnlpe. 2004-07-16 03:08:19 +00:00
Alexandre Julliard
df55257115 Support for large profile values (based on a patch by Robert
Shearman).
Fixed PROFILE_FlushFile to correctly truncate the file before saving
it.
2004-07-16 02:45:00 +00:00
Stefan Leichter
3f7749a6dd Removed the crosscalls (unicode to ascii) from GetAcceptLanguagesW.
Removed todo_wine from GetAcceptLanguagesA tests.
2004-07-16 02:31:41 +00:00
Jon Griffiths
86a0e50a1d Don't crash on NULL tab text. 2004-07-16 02:30:48 +00:00
Marcus Meissner
553b0fca1f Do not assign to casted values. 2004-07-15 22:07:54 +00:00
Mike McCormack
e42d8aef24 Fix a few serious race conditions in the OLE object pipe server. 2004-07-15 22:07:44 +00:00
Alexandre Julliard
9f58ee709d Set the system directory in ntdll as soon as we have determined it. 2004-07-15 22:07:21 +00:00
Alexandre Julliard
9f1b81977b Don't get system directory from the environment, use
GetSystemDirectory instead.
2004-07-15 19:00:35 +00:00
Michael Jung
4651067f43 Use RegQueryValueExA instead of RegQueryValueA in
CryptEnumProviderTypes.
2004-07-15 18:59:34 +00:00
Alexandre Julliard
48243e32b9 Authors: Mike McCormack <mike@codeweavers.com>, Robert Shearman <rob@codeweavers.com>
- Change the way that the response headers are reconstructed to reduce
  the chance of memory being incorrectly allocated.
- Return the correct error when a header is not found.
- remove all the response headers before receiving new ones so that we
  don't merge headers from two responses.
- Add extra standard fields.
- Split the status line into http version, status code and status text
  and store those in the response data, without using use a fake
  field.
2004-07-15 18:57:32 +00:00
Krishna Murthy
38603c4c93 Add the selected extension from file type filter if file name does not
contain the file extension.
2004-07-14 21:47:11 +00:00
Eric Frias
0b072cb67a Fixed memory allocation bug. 2004-07-14 21:46:25 +00:00
Francois Gouget
170dbf4243 An SNDCTL_DSP_SETDUPLEX failure should be a WARN(), not an ERR(),
since the OSS specifications say we have to call it before knowing if
the sound card is full-duplex capable.
2004-07-14 21:44:50 +00:00
Aric Stewart
694af895e0 Report win2k service pack 4 instead of 3. 2004-07-14 21:44:10 +00:00
Aric Stewart
9c76b14469 Implement the functionality that allows one to call MsiOpenPackage
with #nnn where nnn is a string representing the handle to an open
database.
2004-07-14 21:43:49 +00:00
Dmitry Timoshkov
4381a80efe Make it possible to open read-only AVI files for a playback. 2004-07-14 21:43:03 +00:00
Aric Stewart
55de9f40dd Update the MSI version to be the same as on win2k. 2004-07-14 21:42:50 +00:00
Huw Davies
03fa4c6f57 Fix font replacements to work with bitmap fonts.
Enumerate System, Terminal, FixedSys in that order.
2004-07-14 21:42:35 +00:00
Sami Aario
00f1b61c82 Added tests for registering a dialog box created by using the CLASS
directive in a resource file, then creating the dialog using
CreateDialogParam.
2004-07-14 00:52:55 +00:00
Alexandre Julliard
218c478d24 Allocate the dialog info in DIALOG_CreateIndirect if this wasn't
already done by the dialog procedure.
2004-07-14 00:49:40 +00:00
Jon Griffiths
5288361f52 Prevent the debug buffer from overflowing on long stabs. 2004-07-14 00:44:27 +00:00
Alexandre Julliard
d13e0c98ad Fixed handling of includes stack. 2004-07-14 00:42:25 +00:00
Ge van Geldorp
4d80215062 Fix 16/32 bit separation. 2004-07-14 00:39:10 +00:00
Henning Gerhardt
4bbc1b3fb6 More German translations. 2004-07-13 23:36:37 +00:00
Robert Reif
605cc1b029 Remove DirectSound reference counts by buffers and add Destroy
functions to buffer components and DirectSound to allow proper
destruction even with outstanding references.
Remove trailing white space.
Add tests for proper release even with active buffers.
2004-07-13 23:35:09 +00:00
Robert Shearman
4cd38b4829 Accept headers without \r\n ending in HttpAddRequestHeaders. 2004-07-13 23:34:28 +00:00
Michael Jung
81e6f0c15c Reference counting for CRYPTPROV objects.
Implemented CryptContextAddRef.
2004-07-13 23:34:13 +00:00
Rein Klazes
932533ca09 In GetVolumeInformationW handle the case when there are no permissions
accessing the device the same way as when no device is found.
2004-07-13 23:33:47 +00:00
James Hawkins
6a358c4090 Added and cleaned API docs. 2004-07-13 23:33:14 +00:00
Alexandre Julliard
503ffff9a5 Allow specifying multiple graphics drivers and use the first one that
loads successfully.
2004-07-13 03:53:55 +00:00
Alexandre Julliard
642584c560 Make x11drv fail to load when it can't open the display, instead of
killing the whole process.
2004-07-13 03:49:52 +00:00
Mike Hearn
6812cbc829 Add a 16 bit pair DLL for TWAIN. 2004-07-13 03:37:07 +00:00
Pierre d'Herbemont
2c3bf27108 Don't test i386 types on non i386. 2004-07-12 23:48:58 +00:00
Mike McCormack
5995596a9a Added a few stub implementations. 2004-07-12 23:48:39 +00:00
Robert Shearman
0d9f93ab06 Implemented PSM_HWNDTOINDEX. 2004-07-12 23:48:11 +00:00
James Hawkins
250c7c08bb Added some more API docs. 2004-07-12 23:32:10 +00:00
Aric Stewart
d8b20cf53b Properly handle quoted number literals in MSI condition statements. 2004-07-12 23:31:18 +00:00
Robert Shearman
cd2065f170 Add stubs for some new property sheet messages. 2004-07-12 23:30:54 +00:00
Mike McCormack
194450d8ff Add a regression test for accelerators. 2004-07-12 23:27:09 +00:00
Mike McCormack
e983f757a3 - Windows always strips the high bit (0x80) of the fVirt member in the
accelerator structure.
- If the FVIRTKEY bit of fVirt is set, the value of the key field is
  limited to the range of one byte.
- Remove annoying fixmes about accelerator table checking.  Windows
  appears to do no more checking than the above.
2004-07-12 23:26:05 +00:00
Hajime Segawa
a4ee7c5838 Added Japanese translation for msrle32, wininet, wcmd.
Fixed untranslated messages of regedit.
2004-07-12 20:46:10 +00:00
José Manuel Ferrer Ortiz
e3cea2785b Updated the Spanish shell32 translation and made some corrections to
other language files.
2004-07-12 20:44:33 +00:00
Hans Leidekker
ba848ac195 Fix command line parsing. 2004-07-12 20:43:09 +00:00
Mike McCormack
9243c96e01 - CopyAcceleratorTable can cause a buffer overflow because it uses an
incorrect comparison between the number of accelerator entries
  available and the number of accelerator entries in the output buffer.
- My tests show that CopyAcceleratorTable always strips the high bit
  of the fVirt member of the accel struct.
- Calling DestroyAcceleratorTable with a NULL accelerator should
  return FALSE.
2004-07-12 20:42:30 +00:00
Henning Gerhardt
74cebde291 Translated some English resource files into German. 2004-07-12 19:55:59 +00:00
Marcus Meissner
66d3261e65 Fixed (LPDIRECTMUSICLOADER8) cast. 2004-07-12 19:54:20 +00:00
Mike McCormack
bb1194aeec Minor spelling fix. 2004-07-12 19:53:54 +00:00
Mike McCormack
126884f030 Stop PrivateExtractIcons from crashing given an invalid icon index. 2004-07-12 19:53:36 +00:00
Marcus Meissner
f4c813f74b Remove lvalue casts that are no longer supported. 2004-07-12 19:53:24 +00:00