Alexandre Julliard
0ba0d7a119
GetUpdateRgn should clip the returned region to the client area.
...
Changed GetUpdateRect and ExcludeUpdateRgn to call GetUpdateRgn.
Moved these 3 functions to dlls/user/painting.c.
2004-08-26 00:46:11 +00:00
Alexandre Julliard
f466c651ae
Allow enabling or disabling todo_wine for each message sequence so
...
that we can properly test the sequences that are already correct.
2004-08-25 17:35:06 +00:00
Francois Gouget
20b8b56d5f
Enable the disabled tests in tests.data or add a comment describing
...
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Huw Davies
174e6a5d28
Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif.
2004-08-24 18:33:01 +00:00
Ferenc Wagner
1b53ecba89
The desktop process is not automatically restarted under Win95, so
...
stop killing it.
2004-08-16 23:19:02 +00:00
Francois Gouget
e69f38551e
Add the CCHILDREN_TITLEBAR+1 and NUM_POINTS macros.
...
Add a couple base types that winapi_test does not know how to parse.
Fix a bug so that 'signed' and 'unsigned' are recognised as valid
types.
2004-08-16 19:46:09 +00:00
Alexandre Julliard
87115b23c2
WM_NEXTDLGCTL should not change the default button ID (based on a
...
patch by Krishna Murthy).
2004-08-14 00:44:08 +00:00
Alexandre Julliard
b459952144
Avoid some non-portable makefile constructs, and get rid of the
...
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Francois Gouget
9806c99033
Define _WIN32_WINNT otherwise we are missing some definitions with the
...
Windows headers.
2004-08-11 18:50:40 +00:00
Dmitry Timoshkov
d134ca1ea8
Fix button behaviour on WM_SETFOCUS/WM_KILLFOCUS with a test case.
2004-08-09 23:38:40 +00:00
Hans Leidekker
dbb3e14748
Fix signed/unsigned comparison warnings.
2004-08-09 18:52:18 +00:00
Henning Gerhardt
68ade3b7ac
Minor fixes and updates to the German resource files.
2004-07-22 20:35:07 +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
Krishna Murthy
d84de2c4a1
Added regression test for WM_NEXTDLGCTL and default button ID
...
behavior.
2004-07-16 23:22:49 +00:00
Eric Frias
0b072cb67a
Fixed memory allocation bug.
2004-07-14 21:46:25 +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
Alexandre Julliard
503ffff9a5
Allow specifying multiple graphics drivers and use the first one that
...
loads successfully.
2004-07-13 03:53:55 +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
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
Mike McCormack
126884f030
Stop PrivateExtractIcons from crashing given an invalid icon index.
2004-07-12 19:53:36 +00:00
Dmitry Timoshkov
a98beddcce
Add a test case for scroll APIs, fix a few bugs spotted by it.
2004-07-09 19:25:26 +00:00
Dmitry Timoshkov
81fa85cdb8
Add more MDI message tests.
2004-06-30 18:16: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
Dmitry Timoshkov
fdc295db0b
Add a prototype for MDI message tests.
2004-06-23 20:51:21 +00:00
Dmitry Timoshkov
cbbb887d35
Add tests for child activation by ShowWindow/SetWindowPos.
2004-06-18 19:33:55 +00:00
Dmitry Timoshkov
4000d1d268
Make user/tests/win.c tests pass under Windows98.
2004-06-17 23:00:40 +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
Huw Davies
e937e469b1
Fix 'pointers are not permitted as case values' compile error.
2004-06-14 19:35:14 +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
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
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
Ulrich Czekalla
e32e1f0598
EnableWindow should not remove the focus of child windows.
2004-06-03 00:08:55 +00:00
Dmitry Timoshkov
4f9ebc471f
Test whether we can destroy a menu assigned to a window.
2004-06-01 19:46:23 +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
Dmitry Timoshkov
cdeeb84822
Add a test for accessing classes from another thread.
...
Fix UnregisterClass behaviour with NULL hInstance.
2004-05-28 19:27:17 +00:00
Ivan Leo Puoti
3e42f6953e
Changed my name, so update copyright info.
2004-05-27 02:25:13 +00:00
Kevin Koltzau
0a5ad9eb0f
Remove part of test that crashes win95.
2004-05-27 01:56:04 +00:00
Dmitry Timoshkov
97ea6fffde
Add message test for DrawMenuBar.
2004-05-24 19:08:54 +00:00
Dmitry Timoshkov
9df137b84a
Add a test for focus change on ShowWindow(child, SW_HIDE).
2004-05-24 19:08:41 +00:00
Dmitry Timoshkov
e4dfaab29e
Add a test for window's hinstance.
2004-05-21 20:50:55 +00:00
Dmitry Timoshkov
d8e990c1e4
- Make new tests pass on win2k SP4 and win95 OSR2.
...
- Add logging of some useful messages in the parent window.
- Add logging of wparam for WM_IME_SETCONTEXT.
2004-05-20 01:17:28 +00:00
Eric Pouech
df93f2eeee
GetModuleFileName[AW] doesn't terminate the string if the buffer is
...
too small.
2004-05-19 03:22:55 +00:00
Alexandre Julliard
47a1df45b2
Added some optional messages to make all tests succeed on XP.
...
Added tests for EndDialog and a simple modal dialog.
2004-05-18 20:44:23 +00:00
Alexandre Julliard
447e647716
Added a couple of tests for SetActiveWindow.
2004-05-18 00:48:09 +00:00
Dmitry Timoshkov
f74516843f
- Add a test for GetWindowInfo, it should not check cbSize member of
...
the WINDOWINFO structure.
- Add tests for window state at the time the system calls
HCBT_CREATEWND (failing under Wine at the moment).
2004-05-11 22:17:19 +00:00
Dmitry Timoshkov
683ea2f2b7
Add more ShowWindow/SetWindowPos tests.
2004-05-10 19:59:20 +00:00
Ilya Korniyko
4943881d28
Encoding fixes in Ukrainian translation.
2004-05-10 19:54:10 +00:00
Dmitry Timoshkov
80422fb830
Make WM_GETMINMAXINFO default behaviour more like the Windows one.
2004-05-07 00:41:32 +00:00
Andrey Panov
f4a535d61e
In get_buffer_space() function, HeapReAlloc() will not allocate memory
...
if passed *buffer value is NULL.
2004-05-06 23:41:15 +00:00
Alexandre Julliard
900492a69c
A couple of changes to avoid some failures on XP.
2004-05-05 22:01:49 +00:00
Francois Gouget
bc8007fb1a
Add trailing '\n's to ok() calls.
2004-05-05 01:35:37 +00:00
Jakob Eriksson
9e19e3f81e
Prevent Windows 95 from blocking on linking issue.
2004-05-05 01:07:04 +00:00
Alexandre Julliard
319fa1c31e
Some more tests for focus behavior when hiding/showing windows.
2004-05-04 04:18:29 +00:00
Francois Gouget
cfc3943c5f
Make our ascii strings static const.
...
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Alexandre Julliard
a11b2bbafb
Updated the auto-generated tests.
2004-05-04 00:41:11 +00:00
Dmitry Timoshkov
c5524e1e6b
Replace wParam values for WM_PARENTNOTIFY message by appropriate
...
symbolic names.
2004-04-30 04:15:13 +00:00
Dmitry Timoshkov
9634233407
Add a test for creation of a maximized child window.
2004-04-29 20:00:40 +00:00
Alexandre Julliard
57b0cbff26
Added test for setting focus to an invisible window.
2004-04-28 03:52:27 +00:00
Ilya Korniyko
1c279bfd89
Added Ukrainian translations.
2004-04-26 23:35:17 +00:00
Dmitry Timoshkov
85ef456512
Fix the DDE PFNCALLBACK prototype.
2004-04-26 23:29:44 +00:00
Dmitry Timoshkov
48eae0bbe8
Call appropriate DefWindowProc in DDE client/server window procs
...
depending on whether a window proc is unicode or ANSI.
2004-04-26 20:01:20 +00:00
Dmitry Timoshkov
61daaf8bd3
Fix a bug in ShellExecute which called DdeCreateStringHandleW with a
...
wrong parameter. Revert previous erroneous fix.
2004-04-23 21:32:17 +00:00
Dmitry Timoshkov
476ac454ee
Unicode version of DdeCreateStringHandle should ignore codepage parameter.
2004-04-22 23:46:21 +00:00
Alexandre Julliard
f1e755db4b
Preload keyboard.drv when Windows version is Win9x.
2004-04-21 22:30:08 +00:00
Dmitry Timoshkov
f04b9d0b07
Add a message test for custom dialog initialization.
2004-04-20 04:02:50 +00:00
Francois Gouget
52c0832161
Make Unicode strings static const.
2004-04-20 01:12:17 +00:00
Dmitry Timoshkov
6ba0d27e45
Add a test for GW_HWNDLAST.
2004-04-13 21:15:51 +00:00
Dmitry Timoshkov
7104df5d0d
Add WM_QUERYNEWPALETTE in appropriate places of the message test.
2004-04-12 23:13:14 +00:00
Dmitry Timoshkov
e1d413da84
Add a test case for children Z ordering at window creation time.
2004-04-12 22:05:53 +00:00
Dmitry Timoshkov
b53f87865c
Add WM_SETREDRAW test.
2004-04-08 19:07:06 +00:00
Sami Aario
78f1224fd9
Stubs to prevent taskmgr.exe from crashing or aborting during
...
startup.
2004-04-07 19:41:21 +00:00
Alexandre Julliard
bb133bd596
Fixed a couple of header files ordering issues.
2004-04-07 03:59:41 +00:00
Dmitry Timoshkov
a6b405d6f4
Make use of the 'defwinproc' flag in the message test.
2004-04-06 20:09:59 +00:00
José Manuel Ferrer Ortiz
24dd96a907
Updated Spanish translations.
2004-04-06 03:24:19 +00:00
Sami Aario
dd0a1f944b
Fix return types of GetThreadDesktop and OpenDesktopA.
2004-04-06 03:21:13 +00:00
Dmitry Timoshkov
2d91357831
Add new tests for various window creation/positioning behaviours.
2004-04-02 20:22:53 +00:00
Dimitrie O. Paun
abe9c975a8
Remove the rest of the Tweak look hack.
2004-04-01 21:06:14 +00:00
Dimitrie O. Paun
126227a55a
Remove the support for the Win 3.1 Look.
2004-04-01 04:57:12 +00:00
Raphael Junqueira
b9f45e7a70
Added some stubs.
2004-04-01 02:12:41 +00:00
Dmitry Timoshkov
c7d9f75eeb
Workaround a msvcrt.realloc bug under Win9x by using Win32 APIs instead.
...
Take into account that HeapRealloc may move the allocated memory block.
2004-03-27 20:41:43 +00:00
Dmitry Timoshkov
f38a07b205
Add a procedure for logging WM_PARENTNOTIFY messages.
2004-03-26 02:28:28 +00:00
Dmitry Timoshkov
d5a1e761ee
Make DestroyWindow() not mess with a window focus, this should be
...
taken care of by ShowWindow(SW_HIDE).
Add a test for DestroyWindow() on a focused child.
2004-03-26 01:06:15 +00:00
Dmitry Timoshkov
6a203fb885
Add 'hook' flag for messages. Add a test for CBT hook messages.
2004-03-26 00:18:20 +00:00
Dmitry Timoshkov
bb1df89a2f
Add 'optional' flag for messages, make the test run under win2k.
2004-03-25 23:35:52 +00:00
Alexandre Julliard
9e4ed6460c
.spec.c files are no longer used for 32-bit dlls.
2004-03-24 03:36:44 +00:00
Dmitry Timoshkov
946cd3c117
Add a test case which confirms that SetMenu implementation in Wine is
...
correct.
2004-03-19 19:14:45 +00:00
Alexandre Julliard
9e1bafd0df
Get rid of the registry lookups, rely entirely on the kernel devices
...
instead.
2004-03-19 01:18:48 +00:00
Justin Chevrier
7e997ef081
Implemented SPI{GET,SET}MOUSEHOVERWIDTH, SPI{GET,SET}MOUSEHOVERHEIGHT,
...
SPI{GET,SET}MOUSEHOVERTIME, SPI{GET,SET}MOUSESCROLLLINES,
SPI{GET,SET}MENUSHOWDELAY.
2004-03-19 01:16:12 +00:00
Dmitry Timoshkov
4edbbbd8ea
Windows truncates windows coordinates at 16 bits when moving or
...
resizing a window.
2004-03-11 03:51:46 +00:00
Bobby Bingham
f0ee76dc0d
Stub EnumDesktopsW for now.
...
Implement EnumDesktopsA in terms of EnumDesktopsW.
2004-03-09 00:41:39 +00:00
Robert Shearman
e2b1222ee0
Stub for RegisterDeviceNotificationW.
2004-03-05 20:44:15 +00:00
Justin Chevrier
0a25dd4668
Move implementation of SysParametersInfo from Ascii to Unicode.
2004-03-04 01:41:11 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Dmitry Timoshkov
c162263d3f
First step in using faster approach for A<->W message mapping.
2004-02-20 05:14:48 +00:00
Alexandre Julliard
492ac292b9
Added support for building a dll from a .def file for cases where we
...
don't want to write a full .spec.
Renamed --spec option to --dll for consistency.
2004-02-17 20:36:16 +00:00
Huw Davies
14743a0f3b
SetMenu should always call SetWindowPos whether the window is visible
...
or not. However we shouldn't call SWP from CreateWindowEx.
Added a test for this behaviour.
2004-02-17 20:29:05 +00:00
Bill Medland
df0916b494
Added the automatic tabbing in IsDialogMessage.
...
Added corrections to GetNextTab/GroupItem.
Included tests.
2004-02-12 02:16:33 +00:00