Commit Graph

8480 Commits

Author SHA1 Message Date
Mike Hearn 3186bd2300 Make typelib marshaller safe for systems that don't allow executable
code on the heap, plug a leak of the assembly stub block.
2004-06-28 23:51:24 +00:00
Hajime Segawa 76e280b401 Added some Japanese translations. 2004-06-28 23:50:22 +00:00
Aric Stewart 401bd3f772 Start implementing actions. 2004-06-28 20:34:35 +00:00
Ge van Geldorp c390bb2aea Match prototypes to Platform SDK. 2004-06-28 20:32:53 +00:00
Mike Hearn 163eb22bff Dump function return type in typelib traces, add trace support for
VT_HRESULT.
2004-06-28 20:31:39 +00:00
Mike Hearn e1d7def952 Change REFIID to IID* for stack declarations to avoid initializers
being discarded.
2004-06-28 20:30:29 +00:00
Stefan Leichter 8d34b14f0b Skip tests of GetAcceptLanguagesA if a correct call to the function
does not return anything useful.
2004-06-28 20:29:54 +00:00
Stefan Leichter 204ec74044 Skip tests without error if psapi.dll could not be loaded. 2004-06-28 20:29:36 +00:00
Robert Shearman 5c5a0608e5 - Clean up the mask drawing code.
- Improve bitmap not found message.
2004-06-28 20:29:00 +00:00
Dimitrie O. Paun f3b681a2ad Fix the function names in some of the comments. 2004-06-28 20:28:38 +00:00
Mike McCormack c0523aaa57 Pull the codepage from the string table. 2004-06-26 00:18:36 +00:00
Mike McCormack fb3f40b962 Fix crash that occurred when an invalid query string was deleted
twice.
2004-06-26 00:18:23 +00:00
Mike McCormack 9d66d94780 Implement queries by string value. 2004-06-26 00:11:08 +00:00
Dmitry Timoshkov b3569e7015 Add a test case for clipboard functionality and fix some bugs revealed
by it.
2004-06-25 02:55:37 +00:00
Dimitrie O. Paun 0377462460 Split the MSVCRT implementation headers from the public headers.
Fix some naming conventions aberrations.
Add tests to ensure consistency between the two sets of symbols.
2004-06-25 01:19:15 +00:00
Michael Jung de22be2c9e Changed type of "Signature" registry key value to REG_BINARY. 2004-06-25 01:17:37 +00:00
Alexandre Julliard 2130f61310 In GlobalMemoryStatus, also cap the sum of dwAvailPhys and
dwAvailPageFile at 2Gb to avoid a bug in Photoshop 4.
2004-06-24 04:08:33 +00:00
Robert Shearman 55efefddee Fix small mistake in the previous visible region patch. 2004-06-24 04:06:51 +00:00
Dmitry Timoshkov fdc295db0b Add a prototype for MDI message tests. 2004-06-23 20:51:21 +00:00
Dmitry Timoshkov d530e54883 WM_WINDOWPOSCHANGED should always contain a final window position. 2004-06-23 20:50:30 +00:00
Alexandre Julliard e8d86b7cd4 Moved visible region calculation to the server. 2004-06-23 20:44:58 +00:00
Mike Hearn 86cc2d54c7 - Don't ERR on a used connection being destroyed.
- Don't print an extra newline in the olerelay code.
2004-06-23 00:10:29 +00:00
Alexandre Julliard 38affc4097 We no longer need to make the import directory writable, the loader
takes care of that now.
2004-06-22 03:02:35 +00:00
Filip Navara fc51760f48 Unprotect Import Address Table while filling it. 2004-06-22 02:07:47 +00:00
Vincent Béron 9d8036e1d8 Replace some more -debugmsg references for WINEDEBUG. 2004-06-21 23:56:15 +00:00
Mike Hearn b6908b4c9f Default to Win98 in DLL linkage heuristics. 2004-06-21 23:55:07 +00:00
Royce Mitchell III 0d592611bd Shell32 run dialog combobox should also have WS_TABSTOP style. 2004-06-21 23:54:19 +00:00
Christian Costa 810231c592 Some more texture ops fixes. 2004-06-21 23:53:59 +00:00
Alexandre Julliard 0118c8ba0f Only unmap the window when it gets moved off-screen by the app, not by
the window manager.
2004-06-18 22:34:19 +00:00
Dmitry Timoshkov b6175f49af ShowWindow shouldn't fix SWP_ flags, it's the job of SetWindowPos. 2004-06-18 19:37:37 +00:00
Pierre d'Herbemont c196f63a72 Fix a compile error for SNOOP_GetProcAddress and RELAY_GetProcAddress
on non-i386.
2004-06-18 19:34:10 +00:00
Dmitry Timoshkov cbbb887d35 Add tests for child activation by ShowWindow/SetWindowPos. 2004-06-18 19:33:55 +00:00
Dmitry Timoshkov ac42c45745 Do not allow creation of not aligned EMF records by GDI code. 2004-06-18 19:33:41 +00:00
Stefan Leichter 5a86e5dc5b Add logging to the GetAcceptLanguagesA tests. 2004-06-18 19:31:25 +00:00
Alexandre Julliard fd9792bdc9 Added support for the IMAGE_FILE_LARGE_ADDRESS_AWARE flag. 2004-06-18 00:26:57 +00:00
Robert Shearman 77b7f95716 Make ole32 a delay-load import of shell32. 2004-06-18 00:23:38 +00:00
Alexandre Julliard 2ed053b5a0 Take spin count into account in RtlEnterCriticalSection. 2004-06-17 23:11:08 +00:00
Alexandre Julliard 2bcef9e1fb Don't use lseek when truncating a file to avoid corrupting the current
file position.
2004-06-17 23:05:48 +00:00
Mike Hearn d440ca4a89 Fix typelib marshaller relaying, add a comment describing what it is,
don't print the ugly L"" parts of Unicode strings in the relay trace.
2004-06-17 23:03:26 +00:00
Francois Gouget de9af2414b Split the 'dsound' test into two parts:
- the sound format test. Plays a 5 second reference tone to help
  debug issues with the tone duration and help detect stutter issues.
  Prints explanations describing the sound format interactive
  test. Then plays a 1 second test tone for each supported sound
  format.
- the 3D sound tests. Performs the volume, panning, moving listener
  tests, etc.
2004-06-17 23:03:11 +00:00
Stefan Leichter de16a00fa5 Fix the GetPrivateProfileIntA tests for the win9x platform. 2004-06-17 23:00:54 +00:00
Dmitry Timoshkov 4000d1d268 Make user/tests/win.c tests pass under Windows98. 2004-06-17 23:00:40 +00:00
Ivan Leo Puoti 5729abea73 Removed the winedefault.reg message. 2004-06-17 19:55:24 +00:00
Mike Hearn 484f1b82d2 Remove the RPC connection cache as Windows does not allow multiple
binds on the same connection.
2004-06-17 19:54:34 +00:00
Alexandre Julliard 9cb122c2ef Added a couple of tests for SetCurrentDirectoryA. 2004-06-17 04:26:59 +00:00
Alexandre Julliard 225c6d2cee Check for non-existent directory in INT21_SetCurrentDirectory to
return a proper error when the directory is not on the current drive.
2004-06-17 04:26:17 +00:00
Stefan Leichter 1d9672ec61 Added tests for GetAcceptLanguagesA. 2004-06-17 04:24:31 +00:00
Mike Hearn c71c514fec Correct connection releases on error path in RPCRT4_OpenBinding. 2004-06-16 20:07:19 +00:00
Stefan Leichter d3278b6f41 Added some logging to the GetPrinterDriverDirectoryA tests. 2004-06-16 20:07:02 +00:00
Francois Gouget d8e9b8f7aa Log the format when mapping the sound device (or failing to). 2004-06-16 20:06:48 +00:00
Huw Davies c22171836b Add support for bitmap fonts. 2004-06-16 20:06:26 +00:00
Gerald Pfeifer 69075d0c1c Remove incorrect support for FreeBSD and NetBSD in
DVD_StartSession().
2004-06-16 19:03:25 +00:00
Gerald Pfeifer 0febf5fb3b Avoid unused variable warning. 2004-06-16 19:03:06 +00:00
Huw Davies ed4bc907ef Remove an incorrect LeaveCriticalSection. 2004-06-16 19:02:25 +00:00
Marcus Meissner 751e991210 Fixed some illegal lvalue casts / increments. 2004-06-16 19:02:11 +00:00
Francois Gouget 497709b9bb Assorted spelling and case fixes. 2004-06-15 20:26:45 +00:00
Francois Gouget 1d834f4717 Fix the check for SNDCTL_DSP_GETCAPS so that it is compliant with the
OSS specification.
Only test the different formats if tracing is on.
2004-06-15 20:25:46 +00:00
Stefan Leichter 5ea386e7f4 Fix the tests of GetDefaultPrinterA on win2k if no default printer is
configured.
2004-06-15 20:25:24 +00:00
Francois Gouget 20ab4b395f Change the ARTS_Init() error message from an ERR() to a WARN() since
it can happen in perfectly normal conditions.
2004-06-15 20:25:11 +00:00
Stefan Leichter 0d4fff4fdd Moved implementation of GetModuleBaseName from ascii to unicode, added
some tests for GetModuleBaseNameA.
2004-06-15 20:23:47 +00:00
Francois Gouget 1117e69c14 SHELL_ExecuteW() passes a Unicode environment to CreateProcessW() so
it must specify the CREATE_UNICODE_ENVIRONMENT flag. Also the
SHELL_ExecuteW32() functions will always be called with a Unicode
environment so adjust their prototype accordingly.
2004-06-15 18:27:50 +00:00
Dmitry Timoshkov 4ad5ccfb58 Add a test for client/nonclient window dimensions calculation. 2004-06-15 18:27:06 +00:00
Ulrich Czekalla 06a60621ab ScrollDC should take into account overlapped windows. With this change
ScrollWindowEx can be moved out of X11drv.
2004-06-15 17:04:02 +00:00
Dmitry Timoshkov a98f0dffa6 Fix warnings introduced by my last patch. 2004-06-15 17:02:46 +00:00
Dmitry Timoshkov c7d2379916 - Fix erroneous use of LOCALE_SDATE in the place of LOCALE_SSHORTDATE.
- Fix incorrect assumptions about format strings when parsing date
  formats and setting LOCALE_IDATE and LOCALE_ILDATE values.
2004-06-15 17:02:31 +00:00
Huw Davies 72ebbb61fa Don't allocate a glyphset until we actually need it. 2004-06-15 17:01:52 +00:00
Alexandre Julliard f435914b88 Added magic number in the FindFirstFile structure to allow more robust
detection of bad handles (with help from Aric Stewart).
2004-06-15 00:55:04 +00:00
Alexandre Julliard cc461324da Store the number of processors in the PEB structure.
More correct support for setting critical section spin counts (based
on a patch by Robert Shearman).
2004-06-15 00:52:03 +00:00
Eric Pouech db52588754 Const correctness. 2004-06-15 00:47:00 +00:00
Uwe Bonnes e98a664d57 Support for reading encrypted DVDs. 2004-06-15 00:45:01 +00:00
Dmitry Timoshkov d321561ba4 Restore default "open" functionality of ShellExecute. 2004-06-15 00:44:14 +00:00
Alexandre Julliard 410db2ada4 Rewrote SetFilePointer to use SetFilePointerEx. 2004-06-14 19:40:44 +00:00
Huw Davies e937e469b1 Fix 'pointers are not permitted as case values' compile error. 2004-06-14 19:35:14 +00:00
Dmitry Timoshkov 7c1ae16431 Ignore DdeClientTransaction error in ShellExecute. 2004-06-14 19:32:32 +00:00
Dmitry Timoshkov 4e23f101f3 Do nothing in ShowWindow(SW_SHOW) if a window is already visible. 2004-06-14 19:32:21 +00:00
Eric Pouech eb25084eee - implemented EnumDirTree, SearchTreeForFile, SymFindFileInPath,
SymMatchFileName
- made use of SymFindFileInPath to lookup .dbg and .pdb files
- fixed a crash in CodeView enum handling
2004-06-14 17:58:31 +00:00
Robert Shearman bc06d4ba8e - Fix ref count on standard proxy creation.
- Release channel buffer in StdMarshal_UnmarshalInterface, since we no
  longer use it and the proxy should have taken a reference on it.
- Add a few comments.
2004-06-14 17:58:03 +00:00
Mike McCormack b288f71e29 Pass pointers around internally instead of handles. 2004-06-14 17:57:26 +00:00
Lionel Ulmer d8817fe467 Added stub for _CrtCheckMemory. 2004-06-14 17:57:06 +00:00
Mike McCormack 6122eeb5ca Implemented SetFilePointerEx. 2004-06-14 17:56:50 +00:00
Robert Reif a9d5f0829a Added tracing to all functions.
Added error explanations.
Changed debug channel from msacm to wavemap so not confused with
msacm.
2004-06-14 17:55:03 +00:00
Robert Reif 3aab82079e Removed 11 bit sample size capture test because at least 2
manufacturers sound cards on two different OSs seem to support this.
Added some invalid parameter checks to wave[In,Out]GetDevCaps.
One test is commented out because wine doesn't handle it properly.
Minor info printing cleanup.
2004-06-14 17:54:45 +00:00
Dmitry Timoshkov 5567887fd3 Add support for quoting "file://%1" like format strings. 2004-06-14 17:54:24 +00:00
Eric Pouech 62a860988c Const correctness, pointer cast correctness, removed extraneous ';'. 2004-06-14 17:04:34 +00:00
Eric Pouech b0fd2ade62 - Added ProcessBasicInformation class to ntdll.NtQueryInformationProcess.
- Make use of it in kernel32.
2004-06-14 17:02:00 +00:00
Robert Shearman 6c91e9bff6 Use the same path transformation for WaitNamedPipe and
CreateNamedPipe.
2004-06-14 17:00:21 +00:00
Robert Reif 1e2dcc457e Reset played variables on open. 2004-06-14 16:59:34 +00:00
Rein Klazes 136a93e6be Set last error value to ERROR_CALL_NOT_IMPLEMENTED in QueryActCtxW()
to make Photoshop 7.0 work again.
2004-06-14 16:59:19 +00:00
Mike Hearn 0bc2edf341 Make UseXrandr default to true in the no config file case. 2004-06-14 16:58:38 +00:00
Dmitry Timoshkov 752de682c9 Set last DDE error in XTYP_EXECUTE handler according to the value
returned by an application.
2004-06-14 16:58:19 +00:00
Raphael Junqueira ac6f401056 - fix version string
- some fixes to ATI specific paths of set_tex_op (Christian needs to
  complete it)
- fix use of GL_SUPPORT(NV_TEXGEN_REFLECTION). I have used the wrong
  define, I'll get a brown paper bag :(
2004-06-14 16:57:41 +00:00
Robert Shearman 4560b25b80 Support 15- and 16-bit colour output. 2004-06-14 16:56:58 +00:00
Ulrich Czekalla d886064101 Implemented RealDriveType. 2004-06-14 16:56:39 +00:00
Mike McCormack afcf01ff92 Fixed ASCII redirect callbacks. 2004-06-14 16:56:10 +00:00
Mike McCormack 8b0b70ab50 Fix PlaySound. 2004-06-14 16:55:33 +00:00
Robert Shearman f28da5a844 Avoid crash by passing pointer to RegSetValueEx. 2004-06-14 16:54:56 +00:00
Stefan Leichter 48c51eea23 Log the last error too if the tests fail without default printer. 2004-06-14 16:54:42 +00:00
Robert Reif 95bd820fe1 Don't try to map the mapper device. 2004-06-14 16:53:59 +00:00
Lionel Ulmer 112c426c47 Move the FPS computation from the D3D code to the common code. 2004-06-04 19:37:16 +00:00
Christian Costa 92c62e23f4 Removed compilation warnings + some fixes. 2004-06-04 19:36:56 +00:00
Dimitrie O. Paun 6d53c65048 Win 2000, XP, etc. fail the sysparams tests when run
non-interactively, so avoid running the tests in that case.
2004-06-04 19:36:43 +00:00
Jon Griffiths 438bf11a7d Implemented TCM_SETITEMEXTRA. 2004-06-04 18:11:03 +00:00
Lionel Ulmer 4f640697bd - some new logging on device enumeration
- fix version setting in DirectInputCreate(A/W) functions
2004-06-04 18:06:37 +00:00
Rein Klazes 667ac7ff5e Fix a crash when launching Unix executables. 2004-06-04 18:01:02 +00:00
Dimitrie O. Paun 5a0575e845 Some of our testers don't have a default printer, simply skip the
winspool tests if that's the case.
2004-06-04 17:59:17 +00:00
Dimitrie O. Paun f28155de3f In Win9x, {Create,Remove}Directory returns ERROR_PATH_NOT_FOUND when
given directories containing '*' or '?'.
2004-06-04 17:59:05 +00:00
Dimitrie O. Paun b395a0c560 Win9x does not convert FIXED to MOVEABLE. It also discards locked
memory.
2004-06-04 17:58:49 +00:00
Dimitrie O. Paun 4b6ed4ed84 Clear the state image bits only if LVS_EX_CHECKBOXES is set.
Fix obvious logical error in focus handling.
Indentation and formatting fixes.
(based on a patch by Krishna Murthy).
2004-06-04 17:58:29 +00:00
Robert Reif 7bd78fe59a Treat WAVE_MAPPER as a real device and performs all tests on it.
Added 16000Hz because win9x hardware spec requires it.
2004-06-04 17:58:00 +00:00
Robert Reif a7e8f6f3a2 Handle case where partial structure update requested.
Minor white space cleanup.
2004-06-04 17:57:40 +00:00
Mike Hearn eff34efcf8 Ignore attempts to hide an already invisible window. Add a test case
for this behaviour, passes on Wine and Windows 2000.
2004-06-03 23:26:35 +00:00
Rein Klazes a1e8ba9fc2 In INT21_GetFreeDiskSpace adjust the sectors-per-cluster value to make
the total number of clusters fit in a 16 bit register.
2004-06-03 23:20:35 +00:00
Hans Leidekker 746470f544 Stub for DrawDibProfileDisplay. 2004-06-03 23:19:51 +00:00
Robert Reif 55b57417e1 I got the test for failure on NT wrong in my last patch. The function
returns 0 on error and sets last error to ERROR_INVALID_FLAGS.
2004-06-03 23:19:27 +00:00
Raphael Junqueira 31f6cf32b8 Created more needed registry key in DllRegisterServer. 2004-06-03 23:18:59 +00:00
Raphael Junqueira d6bd6b0488 Added _vsnwprintf (needed by some native XP dlls). 2004-06-03 00:26:35 +00:00
Alexandre Julliard 10e6f57fab Set the WINEPRELOADRESERVE variable when starting a new process. 2004-06-03 00:25:08 +00:00
Ulrich Czekalla e32e1f0598 EnableWindow should not remove the focus of child windows. 2004-06-03 00:08:55 +00:00
Christian Costa 7590fe58f4 Added d3dxof dll, part of Direct3D. 2004-06-03 00:03:23 +00:00
Ulrich Czekalla 0178c1116b Handle case when item text is empty.
According to MSDN, length should be returned when lParam is NULL.
2004-06-02 21:34:05 +00:00
Ulrich Czekalla ed3d86f9be When we send out a notification to a registered window with
SHCNRF_NewDelivery, we should send a LPNOTIFICATIONLIST and the
process id of the caller.
2004-06-02 21:33:47 +00:00
Rein Klazes 0d6adce37a In FILEDLG_ScanDir do not try to set the current directory to a path
that is empty.
2004-06-02 21:33:32 +00:00
Hans Leidekker 190db273de Stub for WSCUnInstallNameSpace. 2004-06-02 21:33:17 +00:00
Raphael Junqueira ac825d02f4 Semi stubs for GetSystemWow64Directory[AW]. 2004-06-02 21:32:55 +00:00
Lionel Ulmer 04d77f4dcc - some TRACEing improvements
- fix mouse Acquire which switched right and middle buttons
- reset the mouse cursor at its original location on Unacquiring the
  device
2004-06-02 00:36:54 +00:00
Dimitrie O. Paun 6e28fe7144 Do not fix the drive letter to 'C', it fails on other people's boxes. 2004-06-02 00:36:36 +00:00
Robert Shearman db78e091da Created needed registry key in DllRegisterServer. 2004-06-02 00:36:12 +00:00
Robert Shearman b81934c2c7 Don't draw whole button pressed when separate dropdown pressed, just
the separate dropdown itself.
2004-06-02 00:36:00 +00:00
Raphael Junqueira f86e64e1ae Compile fix. 2004-06-02 00:35:41 +00:00
Mike McCormack db0d0bb39b Copy the vsnprintfW implementation from libunicode.so to msvcrt and
add a handler for the %S flag.  That requires a conversion to unicode
and knowledge of the current ASCII code page.
2004-06-02 00:35:09 +00:00
Stefan Leichter 8a918011fe Replaced the call to GetFullPathNameA by a call to GetFullPathNameW to
get rid of the W->A cross calls.
2004-06-02 00:34:08 +00:00
Robert Reif bdbb54f340 Fix calculation of SMPTE time (round up to full frame).
More accurate ms calculation.
2004-06-01 20:22:11 +00:00
Robert Reif e32f49381a Added a test to check playback position after done playing. 2004-06-01 20:20:54 +00:00
Raphael Junqueira 28d175b52c Stub for SHFlushSFCacheWrap. 2004-06-01 20:20:33 +00:00
Mike McCormack a9b405cf9a Fix proxy support, remove typecasts. 2004-06-01 20:19:56 +00:00
Robert Reif 0f939fc9b5 Returns proper error code when trying to get caps when no devices
present.
2004-06-01 20:19:30 +00:00
Dmitry Timoshkov 4f9ebc471f Test whether we can destroy a menu assigned to a window. 2004-06-01 19:46:23 +00:00
Hans Leidekker 64e10d271d Link to ntdll. 2004-06-01 19:45:34 +00:00
Mike Hearn 3c705bf008 Use TRACE rather than FIXME for check_resource_write. 2004-06-01 19:45:15 +00:00
Mike Hearn 17d5e07ec6 Display more informative message when HtmlHelp stub is invoked, add
A/W conversion code, remove useless (and wrong) hungarian notation
from function prototypes.
2004-06-01 19:44:59 +00:00
Raphael Junqueira f10b38811a Correct typo in LoadWave (wave is an DMObject not a DMTrack). 2004-06-01 19:44:01 +00:00
Lionel Ulmer 378dec1519 Fix the case where lpszSearchFile is NULL in FtpFindFirstFile. 2004-06-01 19:42:43 +00:00
Robert Reif c75c2668f2 Fixed a bug where wrong a return value was returned when mapping is
not possible.
2004-06-01 19:41:18 +00:00
Robert Reif cd072ca269 Added trace and debug printing info. 2004-06-01 19:41:01 +00:00
Robert Reif fd758586d1 Added some trace and debug printing. 2004-06-01 19:40:48 +00:00
Robert Reif 458cf0bd6d Added another possible windows failure mode. 2004-06-01 19:40:00 +00:00
Dmitry Timoshkov 5079a41ed8 Add dialog class name to the list of classes handled by hook, add hook
messages to the modal dialog message test.
2004-06-01 19:39:26 +00:00
Robert Reif 4751ff2b44 NT 4.0 doesn't support MAP_EXPAND_LIGATURES so skip test if it returns
ERROR_INVALID_FLAGS.
2004-05-30 03:11:24 +00:00
Alexandre Julliard 08183bdbfd Use wine_exec_wine_binary in all cases to start the server. 2004-05-30 03:11:10 +00:00
Robert Shearman 3270bb1ee1 Fixed CoMarshalInterThreadInterfaceInStream and
CoGetInterfaceAndReleaseStream.
2004-05-29 00:22:55 +00:00