Commit Graph

515 Commits

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