Dmitry Timoshkov
e898c53f2c
Make button return exactly the same dialog codes as Windows does.
...
Add a test case.
2004-10-26 21:18:10 +00:00
Dimitrie O. Paun
438ac9d56f
Use proper types/names in all cases. Fix some indentation.
2004-10-25 21:49:30 +00:00
Alexandre Julliard
d3c0cb77d9
VK_0-9 and VK_A-Z are not defined in the Windows headers, removed them
...
(spotted by Francois Gouget).
2004-10-22 20:29:10 +00:00
Vincent Béron
6c644d68cf
Fix various function prototypes.
2004-10-19 23:55:15 +00:00
Dmitry Timoshkov
b1267aec5e
Make TranslateAcceleratorA handle national characters.
2004-10-19 21:10:17 +00:00
Dmitry Timoshkov
5736111c83
Protect USER32 against early graphics driver unloading.
2004-10-18 21:25:26 +00:00
Dimitrie O. Paun
134560e9e5
Implement LBS_COMBOBOX, and make use of it.
...
Better separation between the Listbox and Combobox.
Have a single set of wndprocs, just like Windows.
2004-10-18 21:22:44 +00:00
Marcus Meissner
77ad4cebbc
Stub function for OpenInputDesktop.
2004-10-18 19:38:01 +00:00
Dmitry Timoshkov
c3cecc5d57
- WM_MDISETMENU handler should update new frame menu only if an active
...
and maximized MDI child is visible.
- Add a test case for MDI child activation sequence.
2004-10-11 19:55:28 +00:00
Dimitrie O. Paun
d0c950c808
Audit the listbox control.
...
Fix some indentation problems.
2004-10-11 19:51:16 +00:00
Dmitry Timoshkov
132470a2b1
Properly handle the case when last MDI child is being destroyed.
2004-10-08 23:36:18 +00:00
Dimitrie O. Paun
861f6240a2
Audit the scroll control.
...
Reorganize the documentation in a more readable format.
2004-10-08 20:51:05 +00:00
Dimitrie O. Paun
91e7437aab
Audit the edit control.
2004-10-08 20:50:52 +00:00
Alexandre Julliard
998863bf63
Only send WM_PAINTICON and WM_ICONERASEBKGND to 16-bit windows (found
...
by Jeremy White).
2004-10-07 03:09:37 +00:00
Dmitry Timoshkov
0c48fbc624
Skip interthread message test under win9x, it causes a crash there.
2004-10-06 18:51:27 +00:00
Steven Edwards
1e23cb7d33
Remove useless FIXME in comment.
2004-10-06 00:05:07 +00:00
Dmitry Timoshkov
b0c45123e5
Add a test case for accelerators, make the test pass on Wine.
2004-10-05 23:45:35 +00:00
Dmitry Timoshkov
7c7693f8d0
Added a test case for inter-thread DispatchMessage.
2004-10-05 22:35:00 +00:00
Jon Griffiths
7a9e800566
Draw background of the empty selected item in empty lists.
...
Don't draw a focus rect if we dont have the focus.
Don't select items on key up/down in multi-select lists.
Handle LBS_NOSEL correctly, fix remaining todo_wine tests.
2004-10-05 22:31:00 +00:00
Dimitrie O. Paun
7e8d5cebb7
Audit combo control code.
...
Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W.
2004-10-05 04:39:35 +00:00
Dimitrie O. Paun
0c202b7483
Audit the static control code.
...
Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W.
2004-10-05 04:11:29 +00:00
Dimitrie O. Paun
4c90609067
Audit and document button code.
...
Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W.
Change WM_GETDLGCODE as per the MSDN documentation.
2004-10-05 04:11:13 +00:00
Dmitry Timoshkov
01a88ff01e
If there no MDI child to activate set hwndActiveChild to 0 in
...
WM_MDIDESTROY hander, add a test case.
2004-10-05 02:10:04 +00:00
Dmitry Timoshkov
11d550dfa8
Add more message conversion tests, make the tests pass under Wine.
2004-10-04 20:39:00 +00:00
Robert Shearman
85a707e378
Add tests for conversion of message parameters.
2004-10-04 19:10:37 +00:00
James Hawkins
336d84583c
Limit scrolling of the edit control to the last line of text.
2004-09-29 21:04:18 +00:00
Richard Cohen
52373b2df3
MenuItemFromPoint shouldn't crash if there's no menu.
2004-09-24 00:22:13 +00:00
Dmitry Timoshkov
64d69b60c9
- Skip shell window test on Win9x and restore its functionality on NT
...
platforms.
- Use keybd_event instead of SendInput in order to perform keyboard
input test on Win95 as well.
2004-09-23 22:52:26 +00:00
Robert Shearman
bbdac5e475
GetWindowLong -> GetWindowLongPtr.
2004-09-22 19:14:08 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
Dmitry Timoshkov
a1ccb921bd
Make message flow for MDI creation/activation/destruction more like in
...
Windows. Add a bunch of MDI message tests.
2004-09-21 00:24:22 +00:00
Dmitry Timoshkov
2abf2c7aa5
Make menu code cope with WM_SYSKEY*/WM_SYSCHAR messages.
...
Unblock menu loop if a window being destroyed owns a tracked menu.
2004-09-20 21:45:45 +00:00
Ulrich Czekalla
4543c27822
Handle painting the border if WS_EX_CLIENTEDGE is not set.
2004-09-16 20:28:10 +00:00
Dmitry Timoshkov
9c2dcb255e
Add a test case for WM_KEY* to WM_SYSKEY* message conversion.
2004-09-16 19:09:44 +00:00
Dmitry Timoshkov
30db053f2a
Accept WM_SYSCHAR message for processsing in TranslateAcceleratorW.
2004-09-16 19:09:30 +00:00
Dimitrie O. Paun
630dc0f5a9
Use the W version of the function were we can.
2004-09-15 18:04:07 +00:00
Steven Edwards
4d563e0195
Added stub for SwitchDesktop.
2004-09-14 19:29:11 +00:00
Alexandre Julliard
9f53add86c
Stop testing a sequence upon the first expected error, to avoid
...
spurious errors later on.
2004-09-14 00:46:03 +00:00
Dmitry Timoshkov
914231e87b
Add support for HCBT_SYSCOMMAND hook, add logging for HCBT_SYSCOMMAND
...
in the message test.
2004-09-13 19:32:59 +00:00
Dmitry Timoshkov
18651f778e
Add a bunch of new MDI tests.
2004-09-13 19:16:31 +00:00
Dmitry Timoshkov
d304e4f80d
Log flags for WM_WINDOWPOSCHANGING/WM_WINDOWPOSCHANGED messages, make
...
the tests pass on Win95/Win98/Win2000, fix some test failures under
Wine.
2004-09-13 18:03:09 +00:00
Michael Kaufmann
53374683c8
Make the menus of Delphi applications work.
2004-09-10 22:29:32 +00:00
Zach Gorman
9358f3e9a1
The initial dialog focus should be established by the default handler
...
for SetFocus(), not in the dialog creation code.
2004-09-10 22:29:02 +00:00
Zach Gorman
5c8ceb497e
Modal dialogs should not be shown via ShowWindow until the message
...
queue first runs empty. This allows all initialization to complete
before a default focus is assigned.
2004-09-10 21:27:02 +00:00
Zach Gorman
9b5c0ff375
Added tests for default focus assignment in dialogs.
2004-09-10 21:14:43 +00:00
Ulrich Czekalla
322cd5de80
Allow copying selection when control is read only.
2004-09-09 19:18:40 +00:00
Alexandre Julliard
92acc58af6
Get rid of the WIN_SetRectangles export from user32.
2004-09-09 00:30:29 +00:00
Alexandre Julliard
371662faca
Fixed some message sequences to succeed on XP.
...
Added some tests for showing/hiding a child window with an invisible
parent.
2004-09-08 22:02:23 +00:00
Dmitry Timoshkov
5344d70c16
Reset BUTTON_HASFOCUS state in WM_KILLFOCUS handler before calling
...
ReleaseCapture.
2004-09-07 19:33:11 +00:00
Francois Gouget
5512ae2685
Disable MSVC warning 4116 to avoid the 'unnamed type definition in
...
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Alexandre Julliard
28a8cacaf5
GetUpdateRect should return TRUE even if only the non-client area is
...
invalid (reported by Rein Klazes).
2004-09-02 20:13:19 +00:00
Francois Gouget
6825ed811d
Added missing trailing '\n's to ok() calls.
2004-09-02 20:09:37 +00:00
Alexandre Julliard
80bba3bd61
Moved keyboard.c to dlls/user/kbd16.c.
...
Keyboard, mouse and display drivers are 16-bit only.
2004-09-01 22:47:48 +00:00
Alexandre Julliard
f56c6fb9b2
Moved some window painting functions to uitools.c.
2004-09-01 18:26:40 +00:00
Alexandre Julliard
2ceb42dd43
Moved all files from the controls/ directory to dlls/user.
2004-08-31 01:10:08 +00:00
Alexandre Julliard
3c39a9912e
Get rid of the non-standard CONV_POINT and CONV_RECT functions.
2004-08-31 00:02:02 +00:00
Alexandre Julliard
97f4e4ef7d
Removed struct32.[ch].
2004-08-30 19:32:08 +00:00
Alexandre Julliard
c158550998
Moved a couple of 16-bit functions to user16.c.
2004-08-30 18:42:17 +00:00
Mike McCormack
9386cb2228
Use Heap functions instead of malloc/free.
2004-08-30 18:40:47 +00:00
Dmitry Timoshkov
58fe866d01
Button should do ReleaseCapture() on WM_KILLFOCUS if it's in a pressed
...
state.
Add a comprehensive test case for capture behaviour.
2004-08-26 18:33:40 +00:00
Dmitry Timoshkov
93dd39a37c
Button should send BM_SETSTATE message after it has changed its
...
internal state.
2004-08-26 18:31:56 +00:00
Dmitry Timoshkov
58e93d5e14
Fix msg test failures when run under win2k.
2004-08-26 18:21:56 +00:00
Alexandre Julliard
009ae91f34
Added some tests for paint messages and update regions.
2004-08-26 00:49:06 +00:00
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
Alexandre Julliard
a2e2e18586
Avoid a few more GetModuleHandle calls.
2004-02-12 00:35:01 +00:00
Dmitry Timoshkov
9b24af8acb
Add a test case and a fix for the window styles state at the window
...
creation time.
2004-02-06 05:18:56 +00:00
Alexandre Julliard
55d72b792f
lpCreateParams should be a SEGPTR in 16-bit code.
2004-01-28 21:41:56 +00:00
Alexandre Julliard
df5800fdd7
Properly translate the message result for WM_GETTEXT-style messages.
2004-01-27 20:28:42 +00:00
Dmitry Timoshkov
525ac67945
MSDN is wrong: WM_NCACTIVATE takes the same lParam as WM_ACTIVATE.
2004-01-27 20:11:23 +00:00
Francois Gouget
6b6ed724ae
Add missing '\n's to debug traces.
2004-01-27 00:01:43 +00:00
Yoshiro Takeno
c91d9f0c90
In Windows, the leading byte for multibyte characters are set to upper
...
byte. If single byte character is used, the upper byte is set to 0.
2004-01-26 20:20:07 +00:00
Uwe Bonnes
347b7bbd51
Small fix for the WPR_SIGNED case (count the sign).
2004-01-26 20:13:36 +00:00
Francois Gouget
47e116225a
Add trailing '\n's to ok() calls.
2004-01-23 20:50:35 +00:00
Francois Gouget
7494b5b980
Add trailing '\n's to ok() calls.
...
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00
Dmitry Timoshkov
dc70553cae
Merge the MDI and common window creation code. Change the way MDI
...
children are managed in MDIClient.
Add support for MDICREATESTRUCT A<->W conversions.
Add support for WM_MDIREFRESHMENU.
2004-01-20 04:29:20 +00:00
Francois Gouget
30acf519b6
Add trailing '\n's to ok() calls.
2004-01-18 22:10:55 +00:00
Francois Gouget
83795a7530
The MSVC headers won't give a name to the nameless union of INPUT
...
despite our request (NONAMELESSUNION). So define our own type and use
it instead.
Remove useless NONAMELESSSTRUCT.
Fix signed/unsigned warning.
2004-01-16 02:02:38 +00:00
Francois Gouget
79495fe5a9
We need to set _WIN32_WINNT to 0x501 to get CS_DROPSHADOW and
...
ICON_SMALL2.
2004-01-16 02:02:19 +00:00
Alexandre Julliard
a51bb8151d
ScrollDC doesn't need to be in the graphics driver.
2004-01-12 21:15:16 +00:00
Ferenc Wagner
88bc174873
Pin down LoadStringA behaviour on different buffer lengths.
2004-01-09 00:36:51 +00:00
Francois Gouget
640cc3f3e1
Assorted spelling fixes.
2004-01-06 22:08:33 +00:00
Steven Edwards
892a28323b
Split up the Win16/32 MDI support a bit.
2004-01-02 20:48:13 +00:00
Ivan Leo Murray-Smith
b0d57e7c31
Completed Italian language support.
2004-01-02 03:56:24 +00:00
Chris Morgan
4e2c03644c
Make the debug mark printing unconditional instead of conditional upon
...
the SHELL debug channel. Make mark text obvious by changing the
output text to 'Debug mark requested by user' and adding 'Debug mark'
to the menu resource text.
2004-01-02 01:50:50 +00:00
Alexandre Julliard
446d8321a7
Store window icons in the window structure so that WM_SETICON can do
...
the right thing (based on a patch by Aric Stewart).
2003-12-31 23:51:52 +00:00
Rein Klazes
8e74404fea
IsdialogMessage16 must not process messages that are not intended for
...
the dialog box.
2003-12-31 00:15:16 +00:00
Dmitry Timoshkov
1a620f29d2
Add MDI child creation tests.
2003-12-30 21:54:54 +00:00
Vik Kumar
c04cf2d12c
Fixed MS UI Gothic font names.
2003-12-30 19:19:18 +00:00
Ge van Geldorp
d1632bf652
Pass dtp parameter on from DrawTextExA to DrawTextExW.
2003-12-13 03:25:57 +00:00
Alexandre Julliard
54b951a480
Make Char{Lower,Upper}A call Char{Lower,Upper}BuffA.
...
Small optimization to avoid a memory allocation.
Fixed sign extension in Char{Lower,Upper}A (reported by Andreas
Rosenberg).
2003-12-12 06:07:28 +00:00
Vik Kumar
103f9893ca
Font changes from MS P Gothic to MS UI Gothic.
2003-12-12 05:59:14 +00:00
Alexandre Julliard
bd13ab8d78
Store a pointer to the client-side class structure in the server and
...
return it on create_window and destroy_class.
Only create a single instance of the desktop class for the whole
session.
Added some missing locking in the client-side class management.
2003-12-11 05:34:53 +00:00
Alexandre Julliard
ca10d8a5bd
Added tests for class style and instance handling.
2003-12-10 04:25:48 +00:00
Alexandre Julliard
bfce151ae5
Added window classes in the server, and support for inter-process
...
GetClassWord/Long (based on a patch by Mike McCormack).
Various fixes to the class instance handling.
2003-12-10 04:08:06 +00:00
Andreas Rosenberg
2fa87d2908
Point size in DLG_TEMPLATE may be negative.
2003-12-10 02:12:09 +00:00
Kevin Koltzau
cc09196356
Implemented GetTitleBarInfo.
2003-12-08 23:46:29 +00:00
Dimitrie O. Paun
2eaefbd1a4
Move content of global.h into the appropriate private headers.
2003-12-08 21:58:55 +00:00
Steven Edwards
cfcc449324
Porting fixes.
2003-11-26 22:29:30 +00:00
Jeff Miller
811c4119b9
Mask off bit 0x80 in the accelerator table entry field fVirt if it's
...
not the last entry.
2003-11-26 22:28:16 +00:00
Dmitry Timoshkov
86e4079bc2
Make Alt+[national key] menu shortcuts work.
2003-11-26 05:08:48 +00:00
Alexandre Julliard
b7976c00a0
Fixed declarations of BroadcastSystemMessage and TranslateAccelerator
...
in winuser.h. Added GetWindowModuleFileName.
2003-11-26 04:09:00 +00:00
Alexandre Julliard
436eda3071
Removed task.h.
2003-11-25 00:42:26 +00:00
Ivan Leo Murray-Smith
5a2f3c1f1f
Added/updated Italian resources.
2003-11-20 22:07:35 +00:00
Dmitry Timoshkov
f2963aeb86
Make national (hot)keys work in menus. Make menu code use unicode APIs.
2003-11-18 19:42:31 +00:00
Martin Fuchs
76adb1ff0d
- Move shell window into the background.
...
- Add tests for Get/SetShellWindow().
2003-11-18 00:13:34 +00:00
Dmitry Timoshkov
b0c2e54a03
Add preliminary support for keyboard layout APIs.
2003-11-14 03:32:43 +00:00
Alexandre Julliard
6d9350fa1f
Use a timeout when sending broadcast messages.
2003-10-31 04:18:55 +00:00
Francois Gouget
f405629e8e
Weekly spelling fixes.
2003-10-28 21:45:30 +00:00
Rein Klazes
7ee2ed5a39
Test WM_KEY* and WM_SYSKEY* messages generated by various keyboard
...
events.
2003-10-28 00:18:40 +00:00
Alexandre Julliard
b83789fdc3
Updated some of the generated tests.
2003-10-24 04:45:35 +00:00
Dmitry Timoshkov
88de9ef068
More tests for window creation parameters.
2003-10-24 04:22:24 +00:00
Dmitry Timoshkov
5376c868c9
Fix an obvious typo in call_hook_AtoW.
2003-10-15 20:50:38 +00:00
Oleg Prokhorov
de12a97041
Another portion of HeapReAlloc fixes.
2003-10-14 05:24:20 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Alexandre Julliard
1c73771f30
Use the standard DllMain entry point.
2003-10-10 04:30:54 +00:00
Alexandre Julliard
8d174d3f47
Store the global shell, progman and taskman windows in the server
...
(based on a patch by Martin Fuchs).
2003-10-07 03:40:23 +00:00
Vincent Béron
5dc5bf5d8a
Change resources from last language file used to LANG_NEUTRAL.
2003-10-06 21:13:01 +00:00
Daniel Marmier
0348649853
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-06 21:03:32 +00:00
Dimitrie O. Paun
16c62e645c
Merge all binary resources for user32 in one file.
2003-10-04 03:58:57 +00:00
Dimitrie O. Paun
54e6b0d938
Extract binary resources to files, to fit the standard.
2003-10-03 05:01:33 +00:00
Dimitrie O. Paun
9eedca2b05
Move the message sequences documented in documentation/gui into a unit
...
test.
2003-10-02 04:32:56 +00:00
Dimitrie O. Paun
441033f749
Removed obsolete TODO file.
2003-10-02 04:31:21 +00:00
Dmitry Timoshkov
2999165c83
Implemented RealGetWindowClass.
2003-09-27 03:47:07 +00:00
Alexandre Julliard
fd47c8a647
Renamed comm.dll, display.dll, keyboard.dll and mouse.dll to use the
...
.drv extension.
2003-09-27 02:32:53 +00:00
Dimitrie O. Paun
8b255842ec
Remove the obsolete pascal16 (replaced by pascal -ret16).
2003-09-26 04:32:19 +00:00
Alexandre Julliard
16cd86197a
Moved DLLFLAGS to a separate variable instead of including it in
...
DEFS.
2003-09-24 19:01:44 +00:00
Vincent Béron
bf5f07a5b4
Yet another batch of French resources updates.
2003-09-22 21:16:56 +00:00
Mike McCormack
e76cf04ae9
Always initialize send_message_info.flags.
2003-09-22 19:31:13 +00:00
Eric Pouech
9b81b83882
- Implemented IsHungAppWindow.
...
- Added rejection of interprocess messages related to icons.
2003-09-15 19:58:05 +00:00
Francois Gouget
68ea3623b8
Modify winetest_ok to only add a trailing '\n' if there is none.
...
Modify macros in the kernel, oleaut32 and user tests to print a '\n'.
2003-09-11 01:07:19 +00:00
Alexandre Julliard
cf52644a1c
Removed the A/W constants for builtin cursors, icons and resource
...
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
7df1b9e03a
Start using the exported TEB structure from winternl.h where
...
possible.
2003-08-28 19:57:35 +00:00
Alexandre Julliard
617839d522
Added varargs support for 16-bit entry points.
...
Added -ret16 entry point flag to allow 16-bit cdecl and varargs
function to return 16-bit values too.
2003-08-27 02:20:44 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Mike McCormack
0e27c979a6
Stub implementation of FlashWindowEx.
2003-08-12 20:33:26 +00:00
Richard Cohen
92e0a05749
SystemParametersInfo returning a value for Wallpaper does not mean
...
that the registry key exists.
2003-08-07 02:57:15 +00:00
Alexandre Julliard
039e13118e
Implemented inter-thread SendMessageCallback.
2003-07-26 20:36:43 +00:00
Steven Edwards
ad90402408
Move comm16.c to the 16-bit sources.
2003-07-24 00:04:35 +00:00
Mike McCormack
08264e679d
wvsnprint accepts %p too (on win2k).
2003-07-18 23:00:26 +00:00
Alexandre Julliard
ca3ac8f155
Run WH_KEYBOARD_LL and WH_MOUSE_LL hooks in the context of the thread
...
that set the hook.
2003-07-11 21:55:58 +00:00
Alexandre Julliard
09029b2878
Implemented the SMTO_ABORTIFHUNG flag of SendMessageTimeout.
2003-07-11 04:09:42 +00:00
Alexandre Julliard
07f1198eea
Store window procedures in a static array instead of creating a heap.
...
Only allocate the winproc selector when actually needed.
2003-07-09 22:31:34 +00:00
Alexandre Julliard
04c1f9f88c
Only compute dialog base units once we need them.
2003-07-09 19:53:17 +00:00
Alexandre Julliard
7535424254
Lookup COM/LPT devices in the registry when they are used, instead of
...
loading everything at startup.
2003-07-08 21:14:07 +00:00
Francois Gouget
14a5d168e9
Fixed some common spelling errors.
2003-07-02 04:37:26 +00:00
Marcelo Duarte
de08661413
- Localization to Portuguese of Brazil
...
- Revision and addition of missing resources
- Minor typo fix and codepage fix in programs/winefile resource.
2003-06-30 20:22:35 +00:00
Alexandre Julliard
2b72be546c
Replace calls to WaitForMultipleObjects with a 0 count by calls to
...
SleepEx.
2003-06-30 02:10:19 +00:00
Ulrich Czekalla
b2df5f9f19
- use global atoms for the format ids
...
- add timeout when calling XCheckTypedWindowEvent
- fix broken IsClipboardFormatAvailable; it tried to do a trick with
EnumClipboardFormats by making incorrect assumptions
- in X11DRV_IsClipboardFormatAvailable do a quick exit if no one owns
the selection
- add 1 second *minimum* time lapse between XSelectionOwner calls
- sync clipboard ownership between different wine processes
- prevents apps from getting into wierd state where they thought they
didn't own the selection but they did and as a result queried
themselves for available selection data
2003-06-23 23:02:02 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Rok Mandeljc
e36fa4551a
Updated a bunch of translations for Slovenian language.
2003-06-16 01:32:09 +00:00
Mike Hearn
26fa3496e0
Protect WDML_GetConv against null handles.
2003-06-07 00:33:53 +00:00
Vitaliy Margolen
3fc25446fe
DrawTextEx: honor clipping for underscores.
2003-06-04 20:21:21 +00:00
Dmitry Timoshkov
3e6b5e574c
Revert some really unwanted changes to the DDE code.
2003-06-04 20:16:17 +00:00
Dmitry Timoshkov
37d3996355
Expect multiple DNS_ flags.
...
Partially implemented DdeEnableCallback.
Call a callback with XTYP_CONNECT_CONFIRM after an accepted
XTYP_CONNECT.
Added traces, clarify data types, other cosmetics.
2003-05-19 23:27:16 +00:00
Dmitry Timoshkov
33cf3e0bfd
GetClassInfo returns class atom on success.
2003-05-19 23:10:54 +00:00
Alexandre Julliard
d0af123a41
Catch broadcast window handles in functions that are implemented using
...
SendMessage.
2003-05-19 19:00:02 +00:00
Mike McCormack
020f8a4c82
Implemented BroadcastSystemMessageW.
2003-05-19 18:56:49 +00:00
Alexandre Julliard
54100873d3
Avoid using the MapHModule functions.
2003-05-16 20:17:52 +00:00
Alexandre Julliard
1ed73fae13
Call the user signal proc for exe modules too, to avoid duplicating
...
the module cleanup code.
2003-05-16 20:16:56 +00:00
Alexandre Julliard
c963e25c0e
Get rid of the 32-bit user signal proc since we always run builtin
...
USER now. Moved USER module cleanups to the 16-bit signal proc.
2003-05-15 23:11:00 +00:00
Robert Shearman
5d6f328e0d
PrivateExtractIcon* should search the path for the icon file.
2003-05-13 23:38:21 +00:00
Mike McCormack
98e5e7705a
Implemented SetMessageExtraInfo.
2003-05-13 23:36:01 +00:00
Mike McCormack
0e3425d37d
Fixed packing/unpacking of WM_WININICHANGE.
2003-05-13 22:23:44 +00:00
Alexandre Julliard
8f55ac51fb
Commented out the new win98 exports, they are causing trouble.
2003-05-12 03:34:00 +00:00
Dmitry Timoshkov
07eda42808
Fix the logic for setting the lps->fErase flag in BeginPaint.
2003-05-11 02:58:53 +00:00
Alexandre Julliard
17c63bbab3
Added A<->W mappings for WM_IME_CHAR.
2003-05-11 02:58:19 +00:00
Dmitry Timoshkov
25481334f6
Do not abort dialog creation if DS_NOFAILCREATE allows to continue.
2003-05-11 02:42:28 +00:00
Dimitrie O. Paun
1a1f9bffb3
Make it easy to use something other than wrc to compile resources.
2003-05-06 18:34:53 +00:00
Igor Stepin
97b7bc1984
Added a lot of Russian translations.
2003-05-04 02:33:08 +00:00
Andreas Mohr
b5754fc86f
Added some stubs.
2003-05-02 21:23:46 +00:00
Andreas Mohr
8eb105ca31
Added missing Win98 user32.dll function exports entries.
2003-05-02 20:10:26 +00:00
Dmitry Timoshkov
befff55609
Protect BeginPaint and EndPaint from lps being NULL.
2003-04-30 00:50:43 +00:00
Ferenc Wagner
572b33b4d9
Added listbox test.
2003-04-26 02:09:43 +00:00
Alex Pasadyn
330179f956
Implemented EnumDisplaySettings* and ChangeDisplaySettings*.
2003-04-22 00:15:48 +00:00
Alexandre Julliard
2e12d33dfd
Removed no longer needed uses of LDPATH.
2003-04-21 23:54:05 +00:00
Alexandre Julliard
fc09423d3d
Allow overriding CFLAGS when running configure. Other small cleanups.
2003-04-14 21:46:41 +00:00
Alexandre Julliard
74a66ff99d
Avoid warning.
2003-04-08 00:56:32 +00:00
Vitaliy Margolen
c0a5823fb0
Remove bogus initialization in SetKeyboardState.
2003-04-03 18:03:22 +00:00
Andreas Mohr
114b667f41
Some spelling and formatting fixes.
2003-04-02 01:23:43 +00:00
Alexandre Julliard
5577637034
Added support for specifying an stdcall dll entry point.
2003-04-01 00:08:32 +00:00
Alexandre Julliard
a65a8a6a8e
Moved 16-bit dialog routines to a separate dialog16.c file.
...
Fixed window creation to create ASCII windows when called through one
of the ASCII dialog functions.
2003-03-28 19:40:37 +00:00
Dimitrie O. Paun
8794935e12
Remove unused options -a and -C.
...
Collapse the -w into -O, for symmetry with -J.
Update the man page to the latest options.
2003-03-27 18:37:59 +00:00
Alexandre Julliard
e048adab83
List 16-bit spec files explicitly to avoid problems with some versions
...
of make.
2003-03-23 20:00:02 +00:00
Alexandre Julliard
9e4fc4c9b6
Converted winebuild option parsing to use getopt_long. Added a number
...
of long aliases for the existing short options.
2003-03-23 01:12:30 +00:00
Alexandre Julliard
114a31a2a8
Take advantage of new winebuild syntax to remove redundant function
...
names in spec files.
2003-03-20 03:53:12 +00:00
Alexandre Julliard
b1095da50c
Fixed bug that could cause SendMessage to return too early in certain
...
cases.
2003-03-19 00:12:17 +00:00
Vitaliy Margolen
aba2579c3c
Fixed typo in PrivateExtractIconExW function.
2003-03-10 19:04:39 +00:00
Alexandre Julliard
7e92c9af7b
Replaced most uses of the auto-generated glue code by explicit calls
...
to WOWCallback16Ex.
2003-02-27 21:09:45 +00:00
Alexandre Julliard
ac13d2f47e
Print thread ids in traces with only 4 digits now that they are small
...
integers.
2003-02-18 23:29:47 +00:00
Bill Medland
62a80b76f2
Better handling of bad data in TabbedTextOut/TabbedTextExtent
...
Checked with:
a) Null tabstop array with non-zero number of entries
b) Negative number of entries (MSDN is wrong; it is not an error)
c) Single tabwidth of negative size
d) Single specified tabwidth of zero size
2003-01-31 03:23:18 +00:00
Matthew Davison
60009b9a56
Removed calls to HEAP_strdupAtoW.
2003-01-23 23:07:38 +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
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
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
d0019a6040
AlignRects stub.
2003-01-13 20:36:39 +00:00
Dimitrie O. Paun
4a883a55f6
Collapse the -hHrs options into the -O option.
...
Generate .res files by default.
2003-01-09 00:03:53 +00:00
Dan Kegel
0fd521fee3
Change RECT to use LONG to match win32 standard headers and fix format
...
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard
8ba666f3a7
Store the keyboard state in the thread input structure on the server
...
side.
2003-01-08 19:56:31 +00:00
Alexandre Julliard
242e395bbc
Store the hardware messages in the thread input structure, not in the
...
thread queue. Get rid of the cooked messages queue.
2003-01-08 00:27:58 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Francois Gouget
ecf2c570d2
Fix signed/unsigned compilation warnings.
2003-01-05 01:02:57 +00:00
Francois Gouget
f947a58006
Win9x does not support {Get,Set}WindowLongW. Use the Ansi version
...
instead since it won't impact _these_ tests anyway.
2003-01-03 19:09:23 +00:00
Dmitry Timoshkov
5a23a0012f
Added ctl3d, ctl3dv2 and ctl3d32 API implementations.
2003-01-02 19:34:14 +00:00
Alexandre Julliard
0ca46dc338
LPCONVCONTEXT should be PCONVCONTEXT (spotted by Dimitrie O. Paun).
...
Same for LPHSZPAIR and LPCONVINFO.
2002-12-19 01:18:49 +00:00
Francois Gouget
50c0cdef7e
wsprintfW is not supported on Win9x platforms.
...
wsprintf{A,W}Test should be void.
Improve error reporting.
Remove unnecessary #includes.
2002-12-18 20:51:14 +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
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
Alexandre Julliard
dbf8b78acd
Added .spec.def files.
2002-12-12 22:04:04 +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
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
Alexandre Julliard
18d029722f
Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
...
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Rolf Kalbermatter
a53a988171
Modify PrivateExtractIcons{AW} to match better current MDSN
...
documentation.
2002-12-03 21:35:27 +00:00
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +00:00
Bill Medland
6c5e2b6703
Correct UnhookWindowsHook: clear the handle so that the server doesn't
...
try to use it.
2002-11-24 22:15:01 +00:00
Alexandre Julliard
aff7ddaeeb
Made user compile with -DSTRICT.
2002-11-22 21:22:14 +00:00
Alexandre Julliard
a8a422f70d
Fixed more -DSTRICT issues.
2002-11-22 20:43:01 +00:00
Alexandre Julliard
45078fb008
Properly split the 16-bit versions of GrayString and TabbedTextOut.
2002-11-22 20:41:17 +00:00
Alexandre Julliard
7ef66af34a
Moved some more 16-bit functions to user16.c.
...
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Steve Lustbader
24677dd4d9
Have PostMessage call PostThreadMessage when hwnd is NULL.
2002-11-21 23:44:58 +00:00
Alexandre Julliard
14e68ba7fe
Added support for system-wide hooks.
2002-11-20 19:54:32 +00:00
Alexandre Julliard
a9135e8333
Removed support for 'rsrc' spec file statement.
2002-11-18 23:16:09 +00:00
Patrik Stridvall
e1e063d788
Made tests compile on Windows.
2002-11-15 00:02:51 +00:00
Alexandre Julliard
3f61afbbc8
Added ReleaseDC function to the USER driver interface.
2002-11-14 22:30:20 +00:00
Patrik Stridvall
9398d9c129
Updated the generated tests.
2002-11-12 01:13:10 +00:00
Eric Pouech
b6aad50245
Implemented a Wine-only scheme for interprocess WinHelp message
...
passing.
2002-11-11 22:20:47 +00:00
Patrik Stridvall
74476416b0
Updated the generated tests.
2002-11-06 21:59:15 +00:00
Alexandre Julliard
910851a20e
Added winebuild -e option to specify the entry point and removed the
...
'init' spec file directive.
Winebuild long options now use a more standard double dash format
(older format still supported for backwards compatibility).
2002-11-06 20:02:59 +00:00
Zoly Nagy
9560ece6c4
Added/upgraded Hungarian resources.
2002-11-04 22:45:22 +00:00
Patrik Stridvall
df7ffb8017
Updated the generated tests.
2002-11-04 22:40:40 +00:00
Alexandre Julliard
cf2e57d0c7
Split out some more 16-bit code.
2002-10-31 22:06:53 +00:00
Dmitry Timoshkov
601a3abec1
Fix some types and function prototypes according to Platform SDK
...
definitions.
2002-10-31 01:04:39 +00:00
Michael Stefaniuc
ec5612ee1d
Some more fixes for compiling the user dll with -DSTRICT.
2002-10-30 23:45:38 +00:00
Alexandre Julliard
0b1a367b78
Removed a couple of no longer used queue functions.
2002-10-29 21:32:37 +00:00
Patrik Stridvall
c72255c715
Fixed some issues found by winapi_check.
2002-10-29 21:31:26 +00:00
Patrik Stridvall
fc832f0fcf
Fixed tests to compile with MS C on Windows.
2002-10-29 21:24:35 +00:00
Patrik Stridvall
7d226139e9
Updated the generated tests.
2002-10-29 21:24:09 +00:00
Alexandre Julliard
0286135de3
Rewrote hook support to store the hook chain in the server.
...
Split off 16-bit hook functions and re-implemented them on top of the
32-bit ones; system-wide 16-bit hooks are no longer supported at this
point.
2002-10-29 00:41:42 +00:00
Michael Stefaniuc
95591a6e90
Some fixes for the compilation of the user dll with -DSTRICT.
2002-10-28 20:11:40 +00:00
Alexandre Julliard
48f860cbd9
Moved a few remaining 16-bit window functions to wnd16.c and moved it
...
to the C_SRCS16 sources.
2002-10-28 19:04:39 +00:00
Alexandre Julliard
0c32905ccc
Install the shell hook as a 32-bit hook.
2002-10-25 19:26:46 +00:00
Vincent Béron
d1d586e2a9
Bring some French resources in sync with English ones.
2002-10-23 23:34:32 +00:00
Alexandre Julliard
a7062be9ba
Moved network.c to 16-bit sources.
2002-10-23 20:22:53 +00:00
Alexandre Julliard
f871f2d528
Store thread id instead of queue handle in timer structure.
2002-10-23 18:56:34 +00:00
Alexandre Julliard
d8bbcb2f23
Implemented GetWindowTask16 on top of GetWindowThreadProcessId.
...
Removed no longer used hmemTaskQ field in WND structure.
2002-10-23 18:56:02 +00:00
Patrik Stridvall
ab974c310c
Updated the generated tests.
2002-10-23 18:45:15 +00:00
Dmitry Timoshkov
9abcad524c
Restore setting of caption "Error".
2002-10-22 00:42:53 +00:00
Michael Stefaniuc
61d92562b9
Silence some warnings due to casts between pointer and integers of
...
different size.
2002-10-19 00:52:55 +00:00
Michael Stefaniuc
bd6590a86b
Fix warnings when converting between an ATOM and a HSZ.
2002-10-19 00:51:00 +00:00
Alexandre Julliard
23bb3715f7
Added support for building certain dlls with -DSTRICT.
...
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard
0ccb9feadc
Store the original GDI palette functions in pfnSelectPalette and
...
pfnRealizePalette so that USER doesn't have to import them.
2002-10-18 04:05:49 +00:00
Alexandre Julliard
011605edf3
Use the WOWHandle functions to convert between task handle and thread
...
id. Stop exporting TASK_GetPtr and THREAD_IdToTEB from kernel.
2002-10-17 18:26:53 +00:00
Alexandre Julliard
0ca051e555
Fixed wownt32.h to make it usable from inside Wine, and use it to
...
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Alexandre Julliard
11e3523949
Rewrote caret implementation to store the information in the server.
2002-10-17 01:24:33 +00:00
Michael Stefaniuc
9444dd2541
Compile fix when all handles are converted to a void*.
2002-10-15 21:00:05 +00:00
Patrik Stridvall
ebf582cd48
Updated the generated tests.
2002-10-15 01:53:45 +00:00
Alexandre Julliard
5030bda77c
Reimplemented Get/SetActiveWindow, Get/SetFocus and
...
Get/SetForegroundWindow by storing the information in the
server. Implemented correct inter-process window activation.
2002-10-11 23:41:06 +00:00
Alexandre Julliard
ab5063b217
Added server-side infrastructure for the thread input structure.
...
Reimplemented AttachThreadInput() and added GetGUIThreadInfo().
2002-10-11 18:50:15 +00:00
Michael Stefaniuc
bc54d78532
- change the internal functions in windows/cursoricon.c to use 32bit
...
handles
- move the implementation of ExtractAssociatedIcon16 to
ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
doing the above
2002-10-10 21:22:09 +00:00
Steve Lustbader
c15b0a2515
Provide a stub for GetComboBoxInfo.
2002-10-10 21:17:12 +00:00
Alexandre Julliard
c2f3a6634c
Avoid infinite SendMessage recursion, just like Windows does.
2002-10-09 20:36:15 +00:00
Michael Stefaniuc
8b24293b4e
Fix handle conversions.
2002-10-09 18:12:47 +00:00
Eric Pouech
60a20eaf32
Fixed some NULL pointer handling errors.
2002-10-07 18:21:03 +00:00
Alexandre Julliard
a5e995ae12
Fixed printf formats for -DSTRICT handles.
2002-10-04 00:56:05 +00:00
Alexandre Julliard
613ead7f0f
Fixed some handle conversions in prevision of void* handles.
2002-10-04 00:27:10 +00:00
Alexandre Julliard
54f228733a
Added process_id_t and thread_it_t types to the server interface
...
instead of using void*, and removed a number of type casts.
2002-10-03 19:54:57 +00:00
Alexandre Julliard
a593d3d95e
Build tests with -DSTRICT.
2002-10-03 19:42:45 +00:00
Patrik Stridvall
928ecb4891
Added some more autogenerated tests.
2002-10-02 19:58:27 +00:00
Alexandre Julliard
9842b19931
Make sure things still work if 16-bit dlls cannot be loaded.
2002-10-02 02:36:20 +00:00
Alexandre Julliard
c728efc3c9
Added --disable-win16 configure option.
2002-10-02 02:34:09 +00:00
Alexandre Julliard
b989620b46
Use correct 16-bit resources to avoid warnings.
2002-10-01 18:14:04 +00:00
Michael Stefaniuc
2d0acacb45
Moved some 16-bit functions from windows/cursoricon.c to
...
dlls/user/user16.c.
2002-09-27 22:04:54 +00:00
Alexandre Julliard
7dafa61700
Fixed a number of bugs in the handling of window parent and owner and
...
added a regression test (based on the work of Bill Medland).
2002-09-25 00:21:56 +00:00
Patrik Stridvall
b5bb32c09a
Fixed some issues found by winapi_check.
2002-09-24 18:29:39 +00:00
Dimitrie O. Paun
9dd1279a82
- Remove export of DRAG_QueryUpdate from USER.
...
- Get rid of associated 16 bit code from x11drv.
- Simplifications, cleanups, etc.
2002-09-23 20:56:37 +00:00
Dimitrie O. Paun
9ffa91ef12
Have USER deal with the caret when scrolling a window.
2002-09-20 19:35:54 +00:00
Francois Gouget
71f8fc27e5
IDI_APPLICATIONW does not exist on Windows. Use IDI_APPLICATION
...
instead and cast to LPWSTR.
Fixed type cast warnings.
2002-09-17 00:05:34 +00:00
Alexandre Julliard
16a303b376
Replaced 'heap' .spec statement by a command line option.
...
Updated winebuild manpage.
2002-09-12 22:51:20 +00:00
Dimitrie O. Paun
f476a0fbdc
Make all spec files grep-able.
2002-09-12 00:52:39 +00:00
Alexandre Julliard
cea2e825b2
Link all remaining dlls except kernel32 as separated dlls, by
...
temporarily exporting the few functions that are not properly
separated yet.
2002-09-06 18:51:31 +00:00
Michael Stefaniuc
2247af320d
- Rename WIN_Handle16 to HWDN_16 and make it a macro.
...
- Prepare user.dll for the change of HWND to a void*.
2002-09-04 19:37:01 +00:00
Per Nystrom
e765bc1a41
Implemented GetCursorInfo.
2002-08-28 23:38:10 +00:00
Alexandre Julliard
aface53759
Fixed a number of dll separation issues.
2002-08-28 22:35:23 +00:00
Michael Stefaniuc
4a75c5c6ea
Convert HACCEL to a void*.
2002-08-28 00:39:39 +00:00
Patrik Stridvall
d8f50798b6
Implement wrapper calls for the 16 bit GlobalAtom* functions.
2002-08-28 00:38:42 +00:00
Ulrich Czekalla
651c5988aa
- Add a max wait time for selection notifies.
...
- Add new function to the x11drv to get clipboard format names of
externally registered formats.
- When a clipboard format is registered we should pass the global atom
value as the format identifier.
- Clipboard format name should be treated as case insensitive.
- Serialize metafile bits when requested via a clipboard selection.
- Return format ids for native formats when mapping from properties.
2002-08-27 19:19:49 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Aric Stewart
bbea20d675
Added BroadcastSystemMessageA.
2002-08-16 20:01:28 +00:00
Alexandre Julliard
f22ba0560d
Added support for #pragma code_page.
...
Fixed a few bugs in language handling.
Added error message when Ansi->Unicode conversion in the current
codepage loses information.
2002-08-15 21:57:36 +00:00
Alexandre Julliard
41a22f2c74
Add QM_SMRESULT in wake bits too in case the changed bits get cleared
...
while processing a sent message.
2002-08-13 18:17:19 +00:00
Alexandre Julliard
edeee89c3e
Create separate makefiles for tests for more flexibility.
2002-08-09 01:22:40 +00:00
Alexandre Julliard
526531eb6c
Create at most one glue file for a single dll.
...
Avoid the intermediate .tmp.o file when building programs.
2002-08-01 18:36:58 +00:00
Alexandre Julliard
267ca68253
Fixed HANDLE<->HFILE conversions, since they will be different types
...
when handles are void*.
2002-07-31 17:20:00 +00:00
Alexandre Julliard
13f2a17eb2
Convert HTASK to void* (based on a patch by Michael Stefaniuc).
2002-07-28 23:48:27 +00:00
Jon Griffiths
273f86fc74
Stubs/docs for NotifyWinEvent,SetWinEventHook,IsWinEventHookInstalled,
...
UnhookWinEvent.
2002-07-10 23:20:49 +00:00
Alexandre Julliard
f5e5fcac97
Tried to make IsDialogMessageW more compatible. Changed
...
IsDialogMessage16/A to call IsDialogMessageW.
2002-07-05 00:23:02 +00:00
Gregg Mattinson
2e38a17021
Void functions can't return a value, even if it is the return value
...
from another void function.
2002-07-03 01:20:07 +00:00
Philipp Wollermann
a32dc91711
Implemented SPI_GETDESKWALLPAPER action, fixed SPI_SETDESKWALLPAPER.
2002-06-28 23:27:37 +00:00
Alexandre Julliard
75de8fe16c
Added printf format checking to the ok() and trace() macros, and fixed
...
the resulting warnings.
2002-06-22 00:08:10 +00:00
Alexandre Julliard
77afd6c47e
Made some more spec file entries optional or unnecessary.
...
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard
1c40426e95
Removed install_libdir targets and centralized the symlinks creation
...
in the main dll makefile.
2002-06-14 02:09:08 +00:00
Alexandre Julliard
a5755b10a7
Authors: Mike McCormack <mikem@codeweavers.com>, Jeremy White <jwhite@codeweavers.com>
...
Fixed memory leaks.
2002-06-13 23:54:55 +00:00
Paul Rupe
2e2988dec6
Faster performance in TEXT_Ellipsify for long strings.
2002-06-10 22:47:58 +00:00
Won-kyu Park
ff4f41d81e
Added Korean resources.
2002-06-10 02:32:31 +00:00
Alexandre Julliard
df6fa30288
Duplicated wsprintf implementation in shlwapi.
2002-06-04 23:11:09 +00:00
Alexandre Julliard
7cae558bdc
Removed some more trailing whitespace.
2002-06-01 02:55:48 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Francois Gouget
4c314000b9
Make the tests compile with Visual C++.
2002-05-23 02:40:07 +00:00
Alexandre Julliard
cc2ee7636d
Renamed Winelib apps to .exe.so to follow the dll naming convention.
2002-05-21 19:42:29 +00:00
Eric Pouech
9259cfa855
Added 16/32 DDE message conversion.
...
Finished the 16 bit implementation of DDEML.
2002-05-21 18:03:15 +00:00
Alexandre Julliard
4344c368cb
Got rid of GetSysColorPen.
2002-05-20 18:15:28 +00:00
Andreas Mohr
11b35c0b4c
Better error messages.
2002-05-20 18:11:08 +00:00
Andreas Mohr
012478c9d3
Spelling stuff.
2002-05-20 18:01:44 +00:00
Francois Gouget
ea668d1be1
Make the 'error' string of a couple of checks consistent with the
...
others.
2002-05-19 22:22:06 +00:00
Alexandre Julliard
2ab7625934
Removed most imports of ntdll since we no longer import Wine internal
...
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard
6044307c3a
A few fixes for mingw cross-compilation.
2002-05-17 03:31:08 +00:00
Alexandre Julliard
0aa28b5b8d
Export the debugging API from libwine instead of ntdll.
...
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard
ad53383f9b
Added winebuild support for generating a .dbg.c file containing the
...
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard
9bb05fc48e
Specify the complete source file list for a dll inside the main
...
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Alexandre Julliard
67371bcc8d
Added -res option to specify resources on winebuild command-line.
...
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard
32459912dc
Moved imports specification from the .spec into the Makefile so that
...
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
David Hammerton
ca30e48f71
Added implementation of GetWindowInfo.
2002-05-06 20:11:18 +00:00
Robert O'Callahan
71a8a74b43
Fixed bug in TEXT_WordBreak that was variously throwing Lotus Notes
...
into an infinite loop or causing it to crash.
2002-04-27 00:14:16 +00:00
Alexandre Julliard
5769d1de00
Better support for configure detection of missing types, added check
...
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Bill Medland
61245b2867
First regression test for wsprintf.
2002-04-24 21:16:51 +00:00
Mike McCormack
0f7b48b890
Added a simple test set for window classes.
2002-04-21 22:05:42 +00:00
Bill Medland
28cbea801c
Correct handling of zero-padded negative numbers; transfer the sign
...
BEFORE adding the zeroes.
2002-04-20 20:53:59 +00:00
Stefan Leichter
32b6ef349d
Check for NULL pointer in DrawTextExA.
2002-04-05 21:17:00 +00:00
François Gouget
ffb6d763f4
Include wine/test.h before windows headers.
...
Add definitions for IDI_APPLICATIONA and IDC_ARROWA for Windows.
Fix a check in the SPI_{GET,SET}BORDER test.
Fix bad copy/paste in the SPI_{GET,SET}BORDER test.
Use eq macro to print values when something goes wrong.
2002-04-02 00:44:51 +00:00
Alexandre Julliard
740ba2ca65
Fixed pack/unpack routines for WM_DDE_EXECUTE.
2002-03-29 17:59:20 +00:00
Alexandre Julliard
a05e448d90
Renamed some 16-bit spec files to match the dll name.
2002-03-26 19:56:06 +00:00
Bill Medland
2162eb867a
Initialise a stack variable.
2002-03-22 00:12:15 +00:00
Alexandre Julliard
c1bfca04e1
Changed builtin dlls file names to make it clear they are not normal
...
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Francois Gouget
902540cf0b
Don't show the window.
2002-03-19 02:03:17 +00:00
Alexandre Julliard
302208f12a
Fixed inter-process packing of CB/LB_FINDSTRING, CB/LB_FINDSTRINGEXACT
...
and CB/LB_SELECTSTRING.
2002-03-11 05:06:04 +00:00
Hidenori Takeshima
e4745cbfe9
Added and fixed some Japanese resources.
2002-03-11 01:16:42 +00:00
Bill Medland
7d983d244a
Pass information through arguments instead of static variables.
...
Add protection to prevent reading outside the buffer.
Better handling of degenerate cases.
2002-03-11 01:15:31 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andriy Palamarchuk
812bc5298b
Added SystemParametersInfo unit test.
2002-02-27 21:32:18 +00:00
Bill Medland
bc39eeec40
Correct Word breaking in centred/right justified mode; it was leaving a
...
trailing space which it should only do for left-justified text.
Also tighten up some comments.
2002-02-26 00:39:30 +00:00
Eric Pouech
92e838f263
Fixed DdeGetData when called for getting size.
2002-02-26 00:37:57 +00:00
Peter Hunnisett
73ab649ced
New file msvcrt/excpt.h. Move some stuff out of winnt.h into it.
2002-02-25 20:10:35 +00:00
Bill Medland
7423dc0463
DrawText ellipsification on all lines, not just single-line.
2002-02-21 20:07:26 +00:00
Bill Medland
8513907f2c
Drawtext tidying up ready for the next big change:
...
- Fix brainfade in previous delta
- Move ellipsification results to static memory; they are going to
have to be referenced inside NextLineW and the arg list is too big
already.
- Add the missing ellipsification result (len_under) to simplify coding.
- Slight correction to prefix tracking for when there are several
underlined characters on a single line (DT_EXPANDTABS only).
- Allocate and free the temporary copy required for DT_MODIFYSTRING
rather than using a fixed size stack array.
- Introduce lastline into the main loop; it simplifies the code and we
are going to need it.
2002-02-20 18:56:18 +00:00
Bill Medland
7af9098f6b
Change the way that DrawText parses the next line to display, ready to
...
support multiline ellipsification etc. Rather than measuring the text
each time we add a character and breaking once it is too long and
WORDBREAK is enabled, we copy a whole text segment and then measure
it; GetTextExtentPointEx is designed to tell us how much fitted. This
may result in a little rescanning if wordbreak is enabled but will be
well worth while when multiline path ellipsification is brought down
into the NextLine function. Note also that the wordbreak calculation
is a little more complete (e.g. including break-within-word for
DT_EDITCONTROL).
2002-02-19 18:25:53 +00:00
Patrik Stridvall
651a8ba880
Added some defines for compatibility with Windows headers.
2002-02-15 19:12:35 +00:00
Bill Medland
0f9013f7e0
Measure the text more reasonably. This handles intercharacter spacing
...
and should handle any kerning etc. that might happen. Also ensure no
wordbreaking on singleline text.
2002-02-15 18:21:59 +00:00
Bill Medland
92d77c9bb2
DrawText should not split words just because of clipping.
2002-02-14 19:21:59 +00:00
Bill Medland
cabe8ca580
Put in place a proper tab model within DrawText (also includes
...
simplifying TEXT_NextLineW to remove duplicate code).
2002-02-12 18:40:36 +00:00