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
Hans Leidekker
5f6f63a49d
Fix signed/unsigned comparison warnings.
2004-08-11 23:45:34 +00:00
Huw Davies
dbf5b2a320
Don't try to rotate bitmap fonts.
2004-08-11 19:34:20 +00:00
Huw Davies
175208f5e1
Ever since win98 pattern brushes have been able to be larger than 8x8
...
pixels, so remove this restriction.
2004-08-11 18:50:52 +00:00
Ulrich Czekalla
8322fc6a57
Avoid holding x11drv lock while calling function that grabs gdi
...
lock. Prevents potential deadly embrace.
2004-08-10 23:42:52 +00:00
Lionel Ulmer
aa25b1f886
Do not initialize variables before going into the Render short-cut.
2004-08-09 18:50:35 +00:00
Ofir Petruska
7054a8de78
Default DesktopDoubleBuffered to true.
2004-08-09 18:48:49 +00:00
Huw Davies
2bf1562c28
Actually pass the blend function on to the graphics driver.
2004-08-06 18:59:31 +00:00
Huw Davies
4e54df5a95
Added top-down dib support to AlphaBlend.
2004-08-04 18:15:42 +00:00
Huw Davies
dd5b23fddb
Implement AlphaBlend using the XRENDER extension.
2004-08-02 18:54:54 +00:00
Huw Davies
f45befe411
Draw underline and strikeout lines in the non-xrender cases too.
2004-07-22 19:44:10 +00:00
Alexandre Julliard
642584c560
Make x11drv fail to load when it can't open the display, instead of
...
killing the whole process.
2004-07-13 03:49:52 +00:00
Marcus Meissner
035f34c99b
Replaced lvalue casts / postincrement mixes.
2004-07-12 19:46:24 +00:00
Mike Hearn
c34b79ce43
Output X11 protocol errors before breaking into debugger.
2004-07-09 19:25:59 +00:00
Ulrich Czekalla
5b1a13b281
If the selection owner doesn't understand TARGETS, try retrieving
...
XA_STRING.
2004-07-08 20:14:37 +00:00
Ulrich Czekalla
0a8d550901
Handle case when data type is not registered.
2004-07-08 20:14:23 +00:00
Alexandre Julliard
6acd40dc98
Fixed X11DRV_GetDC for the desktop window.
...
Use the client window as drawable when possible.
2004-07-06 23:57:01 +00:00
Alexandre Julliard
618a7e5813
Added support for window regions in the server.
2004-06-29 03:53:25 +00:00
Alexandre Julliard
e59ec7cd94
Use X11DRV_GetRegionData to implement X11DRV_SetWindowRgn instead of
...
duplicating that functionality.
2004-06-28 23:54:22 +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
Robert Shearman
55efefddee
Fix small mistake in the previous visible region patch.
2004-06-24 04:06:51 +00:00
Dmitry Timoshkov
d530e54883
WM_WINDOWPOSCHANGED should always contain a final window position.
2004-06-23 20:50:30 +00:00
Alexandre Julliard
e8d86b7cd4
Moved visible region calculation to the server.
2004-06-23 20:44:58 +00:00
Vincent Béron
9d8036e1d8
Replace some more -debugmsg references for WINEDEBUG.
2004-06-21 23:56:15 +00:00
Alexandre Julliard
0118c8ba0f
Only unmap the window when it gets moved off-screen by the app, not by
...
the window manager.
2004-06-18 22:34:19 +00:00
Dmitry Timoshkov
b6175f49af
ShowWindow shouldn't fix SWP_ flags, it's the job of SetWindowPos.
2004-06-18 19:37:37 +00:00
Huw Davies
ed4bc907ef
Remove an incorrect LeaveCriticalSection.
2004-06-16 19:02:25 +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
72ebbb61fa
Don't allocate a glyphset until we actually need it.
2004-06-15 17:01:52 +00:00
Dmitry Timoshkov
4e23f101f3
Do nothing in ShowWindow(SW_SHOW) if a window is already visible.
2004-06-14 19:32:21 +00:00
Mike Hearn
0bc2edf341
Make UseXrandr default to true in the no config file case.
2004-06-14 16:58:38 +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
Mike Hearn
e2a7b28960
Default to 96dpi when not specified in the config file.
2004-05-28 03:39:59 +00:00
Troy Rollo
2cf4ec3e2d
Make underlining of fonts drawn at an angle follow the text.
2004-05-27 02:20:50 +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
Patrik Stridvall
070db4e5de
Fixed some issues found by winapi_check.
2004-05-17 21:08:31 +00:00
Dmitry Timoshkov
89525a1925
Fix Croatian keyboard layout to better match the XFree86 one.
2004-05-11 22:17:36 +00:00
Dmitry Timoshkov
80422fb830
Make WM_GETMINMAXINFO default behaviour more like the Windows one.
2004-05-07 00:41:32 +00:00
Ulrich Czekalla
b41466b3b1
Allow applications, under certain conditions, to set data into the
...
clipboard even if they are not the clipboard owners.
2004-05-06 23:40:30 +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
9f986f9a99
Don't close the current thread display on process exit, we don't close
...
the other ones anyway. Should avoid XRender error in metafile test.
2004-05-04 02:57:29 +00:00
Krzysztof Foltman
9a900aa279
Make sure ascent/descent values don't become negative after coordinate
...
mapping.
2004-04-29 20:01:23 +00:00
Alexandre Julliard
7f8ad0a2bf
Fixed unsigned comparison issue in previous change.
2004-04-28 00:31:21 +00:00
Alexandre Julliard
59b7d34b7d
Replace empty window rect checks by a new X11DRV_is_window_rect_mapped
...
function so that we can reuse that support for off-screen windows.
2004-04-27 23:32:01 +00:00
Jukka Heinonen
6d58de6374
If source and destination are the same object, don't lock the object
...
twice as it will only be unlocked once.
2004-04-26 20:06:08 +00:00
Dmitry Timoshkov
11af61652b
- start assigning custom VK codes from VK_OEM_8 since this code
...
already presents in the layout tables
- search the layout tables only if XLookupString returned non zero
number of characters for a keysym, otherwise that's a non character
key
- avoid inserting VK_OEM_x codes into unassigned positions since these
codes might already be in the layout table, thus creating a conflict
2004-04-17 00:21:51 +00:00
Dmitry Timoshkov
e06dd2cfe4
A workaround for missing real support for keyboard layout APIs.
2004-04-14 19:34:06 +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
062080d633
Conditionally compile code which uses XK_EuroSign definition.
2004-04-09 19:06:08 +00:00
Dmitry Timoshkov
70c4864e8c
Restore correct focus handling for ShowWindow(SW_HIDE) case.
2004-04-08 19:47:01 +00:00
Dmitry Timoshkov
b9001f3443
Revert an erroneous patch.
2004-04-08 19:07:20 +00:00
Mike McCormack
c7c9f93913
Load the XRandR extension dynamically (with help from Alex Pasadyn).
2004-04-07 03:57:35 +00:00
Rein Klazes
46138d8ef7
Do not crash if the clipboard format is unknown.
2004-04-05 20:17:13 +00:00
Dmitry Timoshkov
11a3a4f59c
Add SWP_NOZORDER in the case it's not needed.
2004-04-02 20:22:29 +00:00
Dmitry Timoshkov
9858e235d2
A decision whether add SWP_NOACTIVATE or not should be based on
...
GetActiveWindow() test.
2004-04-02 20:18:20 +00:00
Dmitry Timoshkov
0d3748bbf6
ShowWindow should not optimize SW_HIDE, it's the job of SetWindowPos.
2004-04-02 20:16:39 +00:00
Dmitry Timoshkov
85571bb128
Sending WM_SHOWWINDOW is a job of SetWindowPos.
2004-04-02 20:14:15 +00:00
Dmitry Timoshkov
0ad1a6c6dd
Setting WS_VISIBLE style does not require any special handling.
2004-04-02 20:12:38 +00:00
Huw Davies
210b54670c
We don't support GetDIBits with BI_RLE4/8, so for now return an
...
uncompressed bitmap if the bits buffer is large enough.
2004-03-30 20:39:09 +00:00
Dmitry Timoshkov
d687ed2e28
Fix Slovenian keyboard layout to better match the XFree86 one.
2004-03-29 22:56:18 +00:00
Alexandre Julliard
fac49cbae8
Avoid crash in X11DRV_IsSolidColor for TrueColor displays.
2004-03-27 01:37:32 +00:00
Huw Davies
caab4c6f39
Build the correct colour map when the mode is DIB_PAL_COLORS.
2004-03-27 01:37:09 +00:00
Alexandre Julliard
9e4ed6460c
.spec.c files are no longer used for 32-bit dlls.
2004-03-24 03:36:44 +00:00
Mike Hearn
99afa3a4a2
The KeymapNotify event does not use the window member, so don't warn
...
about it being unknown.
2004-03-19 01:17:32 +00:00
Dmitry Timoshkov
21fc3c8067
CreateDIBSection takes a const pointer to BITMAPINFO.
2004-03-12 19:46: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
Jason Edmeades
af83e4cf91
Calculate the size of BI_BITFIELDS dib sections via the width and
...
height.
2004-03-07 03:47:55 +00:00
Alexandre Julliard
05df86a38f
Moved more GDI definitions to gdi_private.h.
...
Get rid of bitmap.h and palette.h.
2004-03-04 20:41:12 +00:00
Alexandre Julliard
83decd25ad
Changed the CreateDC driver entry point to use an HDC instead of a DC
...
pointer.
2004-03-04 06:26:11 +00:00
Alexandre Julliard
37fda71e41
Get rid of the X11DRV_DC_Funcs hack.
...
Removed a couple of unused bitmap functions.
2004-03-04 06:13:21 +00:00
Alexandre Julliard
ebd24807fe
Pass the gdiFont object to the SelectFont driver entry point so that
...
we don't need to look into the DC structure for it.
2004-03-04 04:05:04 +00:00
Alexandre Julliard
9b90e95d65
Avoid direct accesses to the xformWorld2Vport DC field.
2004-03-04 03:55:52 +00:00
Alexandre Julliard
8d18b2a518
Pass the breakExtra value in the ExtTextOut driver call, since there
...
is no function to retrieve it from the HDC.
2004-03-04 01:42:57 +00:00
Alexandre Julliard
45468c06df
Changed the GetTextExtentPoint graphics driver entry point to return
...
device coordinates.
Removed not used breakCount field in the DC structure.
2004-03-03 21:32:15 +00:00