Commit Graph

648 Commits

Author SHA1 Message Date
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