Commit Graph

497 Commits

Author SHA1 Message Date
Michael Stefaniuc 15a308a9d7 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2005-01-03 14:56:42 +00:00
Dmitry Timoshkov ce81088eb5 - Do not print FIXME in X11DRV_GetKeyboardLayout if dwThreadid
identifies current thread.
- Make X11DRV_GetKeyboardLayoutList follow the same rule as
  X11DRV_GetKeyboardLayout and X11DRV_GetKeyboardLayoutName for CJK
  locales.
- There is no need to have 0xe001 in the high word of Japanese
  keyboard layouts lcids in main_key_tab, the above APIs take care of
  it.
- High word of a returned keyboard layout duplicates low word for non
  CJK locales under Windows.
2005-01-03 14:44:27 +00:00
Mike Hearn 9b98d3d3d8 Fix Xlib locking in create_desktop. 2004-12-27 17:03:15 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech 4fa1d6bba7 Fixed bug with unsigned index in decreasing loop. 2004-12-22 17:16:03 +00:00
Jon Griffiths 32454a81a5 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-20 19:00:11 +00:00
Rémi Assailly 853f79bdad - removed unused tagPALETTEOBJ and tagWINDOWPOS
- tagBITMAPOBJ is declared twice, removed one.
2004-12-17 19:35:16 +00:00
Dmitry Timoshkov 99fda0a1de Add a mouse input test case, make the test pass under Wine. 2004-12-17 18:49:24 +00:00
Michael Stefaniuc 1493433e38 Missing HeapFree's + 1 LocalFree (found by smatch). 2004-12-14 11:38:50 +00:00
Alexandre Julliard 25b6493aee Added some sanity checks on window dimensions. 2004-12-09 16:58:00 +00:00
Alexandre Julliard 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Alexandre Julliard 5defa49979 Moved update region handling to the server. 2004-12-07 17:31:53 +00:00
Jean-Michel Dault ee2f10d51d Added another Canadian keyboard layout. 2004-12-06 17:06:20 +00:00
Dmitry Timoshkov 12f49fb9b1 ShowWindow activates only a being maximized child window, add a couple
of message tests for MDI child activation.
2004-12-06 16:38:19 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Robert Shearman 83f7b39dab When changing from DIB_Status_GdiMod to DIB_Status_GdiMod, we have to
set the previous status to DIB_Status_GdiMod, otherwise a
non-committing unlock could incorrectly revert the DIB to another
state, rather than the correct DIB_Status_GdiMod.
2004-11-23 12:21:05 +00:00
Glenn Wurster c26d15f876 Use physDev->textPixel instead of GetTextColor for ExtTextOut. 2004-11-22 18:10:16 +00:00
Huw Davies a90a60866c Fallback to some sensible default values when underlining and striking
out bitmap fonts.
Rotate the strikeout line if the escapement is non-zero.
2004-11-19 18:10:47 +00:00
Kevin Koltzau 0e6408c408 Change AlphaBlend to use destination dimensions rather then source. 2004-11-09 20:02:57 +00:00
Walt Ogburn 0bec4b7024 Turn ISO_Left_Tab back into a tab character if needed. 2004-11-08 20:25:37 +00:00
Michael Kaufmann 0dd2910eba - Extended support for BITMAPCOREINFO / BITMAPCOREHEADER structures.
- Always calculate the location of the color table.
- CreateCompatibleBitmap: Create a DIB section if necessary.
- Added some tests.
2004-11-02 05:23:49 +00:00
Kevin Koltzau 92ec21bd2b Add stretching support to AlphaBlend. 2004-10-27 00:43:50 +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
Robert North e2bd6f36d0 Fix WTInfoA in wintab.c so it can now take lpOutput == NULL, as per
standard.
2004-10-21 19:53:02 +00:00
Alexandre Julliard 065fdde8f6 Authors: Doug Paul <doug@elemental.ath.cx>, Glenn Wurster <gwurster@scs.carleton.ca>
Change reading of PC_(EXPLICIT|NOCOLLAPSE|RESERVED) to handle multiple
values.
2004-10-18 21:18:30 +00:00
Vincent Béron 57fb99fa25 Protect some more types which can be redeclared in Xmd.h. 2004-10-18 19:37:19 +00:00
Dmitry Timoshkov 4f8a7592a7 Disable remaining piece of the code which auto assigns virtual key
codes, it breaks VK_OEM_102 in finnish/swedish keyboard layouts.
2004-10-08 20:50:24 +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 7d6f360f94 Ignore FocusOut event if there is no event window. 2004-09-29 21:11:28 +00:00
Michael Kaufmann 54be3001b4 - Add as many entries to the color map as specified by the DIB.
- Support bitmaps with a BITMAPV{4,5}HEADER.
2004-09-27 20:33:58 +00:00
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Rein Klazes 3430bc2cb2 X11DRV_ScrollDC should not have a WINAPI attribute. 2004-09-20 19:10:55 +00:00
Alexandre Julliard 807fe07417 Don't bother to return partial region data in get_window_region and
get_visible_region, return STATUS_BUFFER_OVERFLOW instead.
2004-09-17 18:20:11 +00:00
Huw Davies daf776fdde When we blit with a monochrome dibsection as the source we should use
the colour table of that dib.
Added a test for this.
2004-09-16 20:29:25 +00:00
Huw Davies 530e789d7e It's important to keep the original dib colour table and not just the
colour mapping associated with a dib section - it's this table that
GetDIBColorTable should retrieve.
Added some GetDIBColorTable tests.
2004-09-16 19:10:14 +00:00
Dmitry Timoshkov ca27b29f92 Remove a stray 'else' left by a previous patch. 2004-09-15 18:03:15 +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
Huw Davies ce34568351 We want all 1bpp dibsections to have a monochrome bitmap and
everything else to be at the screen depth.
2004-09-10 19:35:56 +00:00
Alexandre Julliard 92acc58af6 Get rid of the WIN_SetRectangles export from user32. 2004-09-09 00:30:29 +00:00
Alexandre Julliard bf5470c00e We still need to look for the top parent that doesn't clip siblings in
GetDC because of the X window clipping.
2004-09-01 17:30:35 +00:00
Alexandre Julliard 9fff718a6d wineclipsrv is no longer used, remove it. 2004-09-01 01:40:57 +00:00
Uwe Bonnes a8509028c1 Spelling fix. 2004-08-30 18:36:35 +00:00
Huw Davies ce4dfe23b4 Deprecate the "Resolution" entry in the config file in favour of
HKEY_CURRNET_CONFIG\Software\Fonts\LogPixels.
2004-08-26 18:24:49 +00:00
Evan Deaubl 627423d10b Fix an ERR log in X11DRV_CreateWindow. 2004-08-26 18:11:29 +00:00
Alexandre Julliard 8680ce1a0e In GetDC use the parent drawable when DCX_PARENTCLIP is set. 2004-08-24 18:49:34 +00:00
Alexandre Julliard 041c489a47 When possible, use the X window of the requested window in GetDC
instead of the parent to avoid trouble with OpenGL clipping.
2004-08-24 02:35:25 +00:00
Robert Shearman 553dc348b0 Allow the user to move managed windows by dragging on HTCAPTION
areas.
2004-08-18 23:47:48 +00:00
Krishna Murthy af5feb9bdd Allow resizing windows without thickframe style. 2004-08-17 22:28:02 +00:00
Huw Davies 13f52454c4 Sync with dibsection in SetDIBitsToDevice. 2004-08-13 19:47:29 +00:00
Huw Davies dd8922f20b Repect the width of both the src and dst when calculating how many
pixels to copy in a dib <-> bmp operation.
2004-08-12 20:02:39 +00:00