Alexandre Julliard
15566391e2
Proper support for CPPFLAGS and LDFLAGS (suggested by Todd Vierling).
2003-06-13 23:26:01 +00:00
Sylvain Petreolle
656dc7a8f2
Added Euro and antiquote to the French keyboard layout.
2003-06-13 18:54:00 +00:00
Carlos Lozano
c11d4d9ac3
Avoid printing an uninitialized buffer.
2003-05-20 19:18:37 +00:00
Alexandre Julliard
c177c6e695
Make sure drawable_org is set correctly when using one of the parents
...
as drawable (found by Dmitry Timoshkov).
2003-05-19 19:09:40 +00:00
Alexandre Julliard
08eac70d3e
Avoid the 'Below' stacking mode when changing Z order since many
...
window managers don't get it right.
Fix Z order synchronization for child windows (found by Dmitry
Timoshkov and Ulrich Czekalla).
2003-05-19 19:08:57 +00:00
Dmitry Timoshkov
42c4d27842
Mask out MWMO_WAITALL if only server queue handle was passed in.
2003-05-19 19:07:32 +00:00
Ulrich Czekalla
4d837749d8
We should pass the callers client-area rect and clip rect to x11drv
...
otherwise we'll fail to scroll all children.
2003-05-11 03:01:42 +00:00
Mike Hearn
34dd455f44
Support _NET_WM_PING protocol so the WM can detect freezes.
2003-05-04 02:27:20 +00:00
Alexandre Julliard
69361e08b9
Moved x11drv.h to dlls/x11drv.
2003-04-22 04:05:08 +00:00
Alex Pasadyn
330179f956
Implemented EnumDisplaySettings* and ChangeDisplaySettings*.
2003-04-22 00:15:48 +00:00
Alexandre Julliard
b650372b86
Don't bother sending WM_NCCREATE to the desktop window, this doesn't
...
work anyway (spotted by Uwe Bonnes).
2003-04-19 21:27:19 +00:00
Rein Klazes
82b0a13cab
Fix the path of keyboard.c inside a FIXME log statement.
2003-04-16 23:10:21 +00:00
Alexandre Julliard
8d361bd41c
Properly initialize keyboard auto-repeat for all X connections.
2003-03-23 20:07:55 +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
Tony Lambregts
2e24a148bf
Replace DPRINTF with TRACE.
2003-03-15 00:12:42 +00:00
Duane Clark
5d35bc7428
Correctly encode wParam for WM_SYSCOMMAND,SC_SIZE messages.
2003-02-18 23:24:57 +00:00
Alexandre Julliard
27441a91e0
XCloseIM sometimes crashes in Xlib, don't call it.
2003-01-30 01:08:53 +00:00
Liu Spider
bda34eaa52
Added XNFocusWindow attribute when creating a IC.
2003-01-30 01:07:43 +00:00
Alexandre Julliard
49a013cdd3
When using desktop mode attach all thread inputs together, so that
...
keyboard focus works properly.
2003-01-28 00:34:07 +00:00
Leonardo Quijano Vincenzi
0207855e1d
Fixed Latin American keyboard (key "?!" was reversed).
2003-01-24 00:47:08 +00:00
Alexandre Julliard
a52b2777b2
Keysym check should use 0x8000 instead of 0x800 (spotted by Dmitry
...
Timoshkov).
2003-01-23 21:35:14 +00:00
Alexandre Julliard
f8aa3b506c
Added -Wpointer-arith gcc flag, and fixed the resulting warnings.
2003-01-23 21:32:35 +00:00
Alexandre Julliard
e5fb975a6e
Added dead keys support using X input methods (based on a patch by
...
Dmitry Timoshkov).
2003-01-23 01:29:58 +00:00
Alexandre Julliard
8b6a21950d
Create an X input context for each top-level window.
2003-01-23 01:28:12 +00:00
Alexandre Julliard
a29960e702
Make sure to always set X focus on the top-level window, not on
...
child windows.
2003-01-21 20:16:20 +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
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Dimitrie O. Paun
cef5961d2b
Eliminate lots of __WINE__ conditionals from the headers.
2003-01-03 19:12:55 +00:00
Mauro Carvalho Chehab
9a1c52e6f6
Included a specific ABNT-2 scan and vkey tables, and an ABNT-2
...
keyboard with <ALT><GR> key codes.
2002-12-19 21:14:47 +00:00
Alexandre Julliard
dbf8b78acd
Added .spec.def files.
2002-12-12 22:04:04 +00:00
Alexandre Julliard
435e2e63f4
winnt.h should not be self-contained, it must depend on windef.h so
...
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Peter Mladek
5dc7f13380
Added 2 more Czech keyboard layouts compatible with XFree86 4.1.
2002-12-05 19:55:04 +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
Alexandre Julliard
9169729b0b
Merged font.h and path.h into gdi.h. Moved x11font.h to
...
dlls/x11drv. Removed a number of unnecessary #includes.
2002-12-03 19:18:41 +00:00
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +00:00
Lionel Ulmer
bc8cc53163
Add DDCAPS2_CANRENDERWINDOWED capabilities to our DDraw driver.
2002-11-30 01:53:13 +00:00
Vincent Béron
ca7bce5960
Fix for deprecated use of label at the end of compound statement.
2002-11-27 20:14:32 +00:00
Lionel Ulmer
56ab2b3e91
Load OpenGL library dynamically from x11drv.
2002-11-15 04:16:38 +00:00
Huw Davies
94705862d6
Client side render fonts for XServers without the Render extension
...
using X11 core requests.
2002-11-14 22:31:34 +00:00
Alexandre Julliard
3f61afbbc8
Added ReleaseDC function to the USER driver interface.
2002-11-14 22:30:20 +00:00
Huw Davies
80ffa243d8
Use iso8859-15 on European keyboards.
2002-11-13 19:46:08 +00:00
Alexandre Julliard
1e1313d54c
Made the dll entry point default to DllMain and removed most of the
...
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard
cf2e57d0c7
Split out some more 16-bit code.
2002-10-31 22:06:53 +00:00
Alexandre Julliard
e0315e4433
Converted x11drv to -DSTRICT.
2002-10-31 02:38:20 +00:00
Alexandre Julliard
9376fb30c5
Fixed a number of -DSTRICT warnings.
2002-10-31 02:12:18 +00:00
Jeff Smith
6f31013f7b
Corrections to the Spanish keyboard layout.
2002-10-29 21:28:12 +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
Greg Turner
0159c07011
Avoid X11 error during DGA detection.
2002-10-25 21:04:35 +00:00
Andreas Mohr
6e256c72fe
- fix some pselling
...
- enhance some TRACEs
2002-10-25 19:09:02 +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
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
11e3523949
Rewrote caret implementation to store the information in the server.
2002-10-17 01:24:33 +00:00
Alexandre Julliard
a9e8f59c95
Moved mouse capture handling into the server.
2002-10-12 01:24:37 +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
Nerijus Baliunas
9f47e97818
Better Lithuanian keyboard layout.
2002-10-10 23:30:13 +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
Alexandre Julliard
ceb25b5b34
Enable anti-aliasing for all font sizes.
2002-10-02 18:33:53 +00:00
Alexandre Julliard
137eed8d9b
Moved X flags and libraries out of Make.rules into the makefiles that
...
need them.
2002-10-01 18:16:19 +00:00
Jukka Heinonen
6f5dd37b8a
Use correct check to see if xserver supports xvidmode.
2002-09-29 18:02:40 +00:00
Alexandre Julliard
db057e70f5
Fixed X11 error code mismatch and removed debugging output.
2002-09-26 03:23:13 +00:00
Alexandre Julliard
4b9344eb15
Moved ts_xlib.c into x11drv and removed libwine_tsx11.
2002-09-25 03:29:55 +00:00
Alexandre Julliard
2c40e29987
Import wine_tsx11_lock/unlock directly from x11drv in opengl32 and
...
ddraw, so that they don't need to link with libwine_tsx11.
Removed header wine_gl.h.
2002-09-25 00:29:56 +00:00
Alexandre Julliard
e9119c198d
Removed some more TSX11 functions and files.
2002-09-24 18:36:51 +00:00
Alexandre Julliard
8f1f4c2d5f
Fixed #endif.
2002-09-24 03:59:08 +00:00
Alexandre Julliard
df8e6eeb0f
Removed a bunch of no longer used TSX wrappers.
2002-09-24 03:17:31 +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
Alexandre Julliard
1a80921903
Added support for the take focus protocol.
2002-09-18 23:09:50 +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
Mike McCormack
5ece353acd
Rely on the window manager to show and hide popup windows for us.
2002-08-29 01:48:18 +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
Hleb Valoska
8df5fc96ce
Added Belarusian keyboard.
2002-08-27 18:16:06 +00:00
Bill Medland
155710ce62
SetWindowPos sends WM_WINDOWPOSCHANGED even if it has been told not to
...
send WM_WINDOWPOSCHANGING.
2002-08-27 00:33:07 +00:00
Alexandre Julliard
911a17748f
Don't map/unmap a top-level window when WS_VISIBLE changes, only when
...
we explicitly do a SetWindowPos(SWP_SHOWWINDOW/HIDEWINDOW).
Update the WM hints when mapping a window in case the style has
changed in the meantime.
2002-08-20 00:36:45 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Dmitry Timoshkov
b6e3f49854
Added Greek keyboard layout.
...
Updated Brazilian ABNT-2 keyboard layout.
2002-08-16 23:28:38 +00:00
Alexandre Julliard
a2302fbecf
Don't update the mouse button status in update_key_state, leave that
...
to the input processing.
2002-08-16 01:43:41 +00:00
Alexandre Julliard
21ec1d2a4c
Fixed setting of min/maximize mwm hints.
2002-07-16 01:45:31 +00:00
Lionel Ulmer
33dfdfcabc
Test for X11 errors for DGA2 and XVidMode extensions.
2002-07-16 01:16:44 +00:00
Gregg Mattinson
81cbb28d07
- Forte C does not support nameless structures or unions
...
- Implemented __builtin_return_address for Forte C on sparc
- Implemented DECL_GLOBAL_CONSTRUCTOR for non-386, non-GNU C
- Implemented WINE_DPRINTF to have function name with Forte C
2002-07-05 21:22:09 +00:00
Alexandre Julliard
7015ce3096
No need to call GetModuleFileName16 now that GetModuleFileNameA
...
handles 16-bit tasks.
2002-07-05 01:28:10 +00:00
Dmitry Timoshkov
09b4c500c2
Added Bulgarian keyboards.
2002-06-22 01:10:37 +00:00
Huw D M Davies
998ae970e5
Store the cache entry indices and not the ptrs.
...
Protect cache with a critical section.
2002-06-22 01:01:34 +00:00
Vincent Béron
e35580f4c9
Fixed some various comparisons wrt signedness.
2002-06-21 22:25:17 +00:00
Rok Mandeljc
52bb643edb
Added Slovenian keyboard.
2002-06-21 20:14:15 +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
9428f06993
Update the cursor for each window on receiving an X11 event, don't
...
wait for the SetCursor call.
Added EnterNotify handler to set the cursor on window map/unmap.
2002-06-14 00:08:40 +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
Uwe Bonnes
f7635f3d3d
Display the name of the started process in the desktop title.
2002-06-13 19:11:21 +00:00
David Hammerton
50e8768f62
MapVirtualKey actually returns uppercase keys in Windows.
2002-06-10 23:02:41 +00:00
Alexandre Julliard
d3cab1857a
Moved DC origin into device-specific structure.
...
Fixed handling of DC origin in X11 driver.
2002-06-10 22:52:47 +00:00
Alexandre Julliard
376e65092a
Better separation of the palette functions.
...
Removed the palette driver.
2002-06-02 21:40:24 +00:00
Alexandre Julliard
70e192b9cf
Removed CURSORICON_IconToCursor now that we support color cursors.
2002-06-02 21:29:23 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
332d62ba10
Avoid division by zero (thanks to David Ronis).
2002-05-31 19:14:40 +00:00
Alexandre Julliard
d8a9244fc4
Added function table to GDI objects for better encapsulation.
...
Removed some direct accesses to the bitmap structure.
Fixed handling of stock bitmap if selected in multiple DCs.
Some minor fixes to the DC function table.
2002-05-31 18:43:22 +00:00
Shachar Shemesh
4b050944fe
Added Israeli Hebrew keyboard, and fixed a problem in the matching of
...
characters against dead keys.
2002-05-31 18:21:33 +00:00
Alexandre Julliard
be367c7270
Added wine_server_fd_to_handle to replace FILE_DupUnixHandle.
2002-05-30 20:40:02 +00:00
Alexandre Julliard
07439cd2d0
Removed dependencies on the internals of the region object.
...
Do not store the region type in the object, it's trivial to determine
from the rectangle count.
Rewrote a few routines to not depend on internal clipping or region
functions.
2002-05-25 22:16:12 +00:00
Alexandre Julliard
55e845d11b
Removed most inclusions of options.h.
...
Removed a few no longer used PROFILE_* functions.
2002-05-23 19:40:18 +00:00
Alexandre Julliard
5954602461
Restored managed mode config file option.
2002-05-23 16:32:32 +00:00
Dimitrie O. Paun
e361ceab45
Remove the --managed option, and make wine use the managed mode by
...
default.
2002-05-23 02:43:09 +00:00
Alexandre Julliard
3536316a31
New loading scheme for Winelib apps, makes them behave like builtin
...
dlls and takes load order into account. Install them in dlldir.
Improved MODULE_GetBinaryType to recognize ELF binaries.
Added a wrapper script to setup the environment when running directly
from inside the source tree.
2002-05-22 21:32:49 +00:00
Patrik Stridvall
5e6943f421
Fixed some issues found by winapi_check.
2002-05-22 01:55:18 +00:00
Alexandre Julliard
67e8dc6861
Added configure check for the soname of libraries that we load
...
dynamically. Added a few other configure macros, and moved all macros
into aclocal.m4.
2002-05-20 18:29:58 +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
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
ce830a9c18
Added mkinstalldirs to create directories more portably.
2002-05-09 04:31:39 +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
Michael Cardenas
f0b6b9a1ba
Cap window sizes at 65535.
2002-05-07 01:52:15 +00:00
Huw D M Davies
d3cbb2ed76
Detect and warn about buggy versions of libXrender.
2002-05-04 18:25:43 +00:00
Alexandre Julliard
dec2cee2fb
Removed some direct accesses to the DC structure.
2002-05-02 01:39:48 +00:00
Alexandre Julliard
d0893548e6
Moved remaining files in windows/x11drv to dlls/x11drv.
2002-04-30 21:16:39 +00:00
Alexandre Julliard
046dbf94f8
Never activate the window on SW_SHOWNOACTIVATE.
2002-04-24 22:26:34 +00:00
Huw D M Davies
0f31a34bc7
Don't check hwndInsertAfter if SWP_NOZORDER is set.
2002-04-24 22:20:11 +00:00
Alexandre Julliard
64896d03da
Added support for installing an error callback when expecting an X11
...
error.
2002-04-24 21:32:11 +00:00
Alexandre Julliard
21e916676f
Load libXrender at run-time with dlopen (based on a patch by Huw
...
Davies).
2002-04-23 22:06:41 +00:00
Alexandre Julliard
ab246a679b
Pass a PHYSDEV to EnumDeviceFont and release the GDI lock in
...
FONT_EnumInstance instead.
2002-04-14 19:42:43 +00:00
Huw D M Davies
5b01b50631
Implement GetTextExtentPointI and add support for ETO_GLYPH_INDEX.
2002-04-03 22:08:27 +00:00
Huw D M Davies
afd519be0e
Fix a few font problems with rotated text and non MM_TEXT mapping
...
modes. Do slightly better with the FF_ flags in WineEngGetTextMetrics.
2002-04-03 21:06:09 +00:00
Francois Gouget
0763abf115
Fix warnings for Linux, FreeBSD and Solaris.
2002-04-01 21:08:16 +00:00
Alexandre Julliard
e21c15e39d
Changed the GDI driver interface to pass an opaque PHYSDEV pointer
...
instead of a DC structure.
Removed some direct accesses to the DC structure from the drivers.
Got rid the bitmap driver.
2002-03-28 22:22:05 +00:00
Marco Pietrobono
0449937a84
Added support for 16bit mouse cursor bitmaps in RGB 565 format.
2002-03-28 22:05:57 +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
Jukka Heinonen
b7beb7278f
Added option SW_FORCEMINIMIZE to ShowWindow.
2002-03-12 19:18:48 +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
Lionel Ulmer
e88edac600
Fix crash in the X11 HAL when setting a NULL palette to a surface.
2002-02-26 00:36:21 +00:00
Rein Klazes
861d7c83c0
In X11DRV_ScrollDC only move pixels that are within the clip
...
rectangle, before and after they are scrolled.
2002-02-05 19:44:31 +00:00
Huw D M Davies
6f7fc50424
Uses Xrender extension to allow client side font rendering.
...
Adds nice things like anti-aliased text.
2002-01-29 03:07:21 +00:00
Patrik Stridvall
74e4d21ebe
Avoid wildcards in .cvsignore.
2002-01-29 03:05:12 +00:00
Ove Kaaven
77e7fd7a24
Added support for MWM hints.
2002-01-21 18:41:27 +00:00
Rein Klazes
0f2f2b34fa
Move calling of CBT hooks from WIN_CreateWindowEx() to the driver.
2002-01-09 19:09:06 +00:00
Alexandre Julliard
80a3bb4fc0
Removed LoadOEMResource from USER driver.
2002-01-04 18:27:41 +00:00
Duane Clark
3169072b2f
Added color cursor support.
2001-12-26 20:30:40 +00:00
Paul Rupe
90d8354bab
Prevent "window belongs to another process" errors when running
...
multiple programs simultaneously.
2001-12-17 22:09:18 +00:00
Andriy Palamarchuk
c7de3401ac
Removed Get/SetScreenSaveTimeout user driver functions because they
...
are not used.
2001-11-30 23:15:32 +00:00
Glenn Schrader
97ba673271
Use gdi_display everywhere to avoid BadColor errors.
2001-11-30 23:14:18 +00:00
Eric Pouech
0b83d4cbc6
New console code based on Win32 windows.
2001-11-23 23:04:58 +00:00
Andriy Palamarchuk
096bab67c0
Implemented processing for actions SPI_GET/SETSCREENSAVETIMEOUT,
...
SPI_GET/SETSCREENSAVEACTIVE, SPI_GET/SETSCREENSAVERRUNNING.
2001-11-20 20:27:26 +00:00
Patrik Stridvall
8f4ffb92bd
Fixed some issues found by winapi_check.
2001-11-20 18:55:02 +00:00
Andreas Mohr
9cef2d0b1d
- fix wrong hexadecimal GetLastError() output
...
- misc fixes
- changed my email address
2001-11-19 02:30:01 +00:00
Gerard Patel
e5fe7798fe
Fix the server paint count in SetWindowPos.
2001-11-13 22:02:20 +00:00
Gerard Patel
6c58cdce16
Repaired child window activation broken by previous change.
2001-11-07 23:19:42 +00:00
Alexandre Julliard
03e07b56e3
Window activation cleanups.
2001-11-06 22:28:18 +00:00
François Gouget
1425941e29
Fix the #include order for config.h.
...
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Alexandre Julliard
ddc3317b7a
Store in the server all the window information accessible with
...
Get/SetWindowLong.
2001-10-22 19:08:33 +00:00
Andrew Lewycky
ad73ed2d92
XFree86 4.1 gamma ramp support.
2001-10-21 15:02:01 +00:00
Alexandre Julliard
32fb580515
Changed X11 mouse driver to use SendInput, and removed WINE_MOUSEEVENT
...
hack. Moved mouse.c to dlls/x11drv.
Added KeymapNotify event handler, and fixed handling with multiple
alt/shift/control keys.
Removed dinput functions from USER driver.
2001-10-18 21:38:59 +00:00
Alexandre Julliard
fb0ff053c0
Added internal Wine messages to perform SetWindowPos, ShowWindow and
...
SetParent in the correct thread.
Replace QUEUE_IsExitingQueue by USER_IsExitingThread.
Store window rectangles in the server.
Prevent DestroyWindow on windows not belonging to the current thread.
2001-10-16 21:58:58 +00:00
Alexandre Julliard
8fd26b9134
Renamed WIN_GetWndPtr into WIN_GetPtr and added corresponding
...
WIN_ReleasePtr. Started using it instead of WIN_FindWndPtr where we
don't need to access windows of other processes.
2001-10-15 17:56:45 +00:00
Alexandre Julliard
80593bf842
Removed next and child fields in the window structure and use
...
WIN_ListChildren instead.
2001-10-11 20:49:40 +00:00
Alexandre Julliard
556607a147
Store window parent as an HWND instead of a pointer.
2001-10-10 20:28:17 +00:00
Gerard Patel
94ce2a3303
Map a window if it is shown by a direct style change.
2001-10-03 18:44:02 +00:00
Ilya Konstantinov
560ca323e2
Added a _NET_WM_NAME(UTF8_STRING) property to every window.
2001-10-02 18:44:56 +00:00
Alexandre Julliard
9c89290e89
Ignore ConfigueNotify size changes while the window is iconic.
2001-09-21 21:04:56 +00:00
Alexandre Julliard
d23a82bc86
Made all 16<->32 HWND conversions use explicit functions instead of
...
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Alexandre Julliard
f44bbb8d10
Make sure that HWND comparisons are always done with full 32-bit
...
handles.
2001-09-14 00:24:39 +00:00
Francois Gouget
45cc1430e9
Check for htotal=vtotal=0 (for xfree 4 vesa driver).
2001-09-14 00:05:44 +00:00
Patrik Stridvall
3c0211f969
Cleanup code that is strange or difficult to parse.
2001-09-11 00:32:32 +00:00
Alexandre Julliard
a2ae982978
Ignore size change on ConfigureNotify if window rect is empty and new
...
size is 1x1.
2001-09-10 23:27:57 +00:00
Francois Gouget
0fe854b7dd
Added an option to disable XVidMode support.
2001-09-10 23:05:57 +00:00
Alexandre Julliard
1a66d226eb
Added global management of user handles in the server.
...
Very preliminary support for shared window handles.
2001-08-28 18:44:52 +00:00
Jukka Heinonen
c3f2a140cf
GrabPointer uses now SetWindowLong to change window procedure instead
...
of accessing directly WND structure.
2001-08-27 19:04:18 +00:00
Alexandre Julliard
9d9dac0947
Added WIN_ListParents function and renamed WIN_BuildWinArray into
...
WIN_ListChildren. Made owner field in WND structure an HWND.
2001-08-24 19:28:21 +00:00
Alexandre Julliard
0801ffc5a3
Implemented GetAncestor and removed WIN_GetTopParent.
...
Removed a few more accesses to the WND structure.
2001-08-24 00:26:59 +00:00
Dmitry Timoshkov
4bc0b28897
Fixed an incorrect (harmless) memory allocation.
2001-08-22 18:04:00 +00:00
Alexandre Julliard
fa42aa81e4
Removed WIN_GetDesktop().
2001-08-21 17:13:55 +00:00
Alexandre Julliard
4ff32c8aef
Removed a number of direct accesses to the window structure.
2001-08-18 18:08:26 +00:00
Alexandre Julliard
301df6b5cd
Added names to standard critical sections (suggested by Andreas
...
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard
de42428f23
Removed a number of direct accesses to the WND structure, replacing
...
them by API calls.
2001-08-10 22:51:42 +00:00
Patrik Stridvall
a2afd5b8ad
Documentation fixes.
2001-08-09 21:36:39 +00:00
Alexandre Julliard
e994d5036e
Added Interlocked*Pointer functions.
...
Fixed InterlockedCompareExchange prototype.
2001-08-09 21:21:13 +00:00
Jukka Heinonen
822ab45314
XGrabPointer is now called from the correct thread context and it is
...
made sure that we have keyboard focus when using DirectX.
2001-08-06 18:47:25 +00:00
Alexandre Julliard
bfb4a23aa9
Replaced MSG_InternalGetMessage calls by equivalent exported APIs.
2001-08-06 18:05:47 +00:00
Alexandre Julliard
8f4c007ff5
Fixed desktop window structure initialization.
2001-07-31 01:00:50 +00:00
Alexandre Julliard
9208301d16
Rewrote Escape to avoid calling down to Escape16.
...
Replaced Escape by ExtEscape in the DC function table.
2001-07-29 20:25:14 +00:00
Alexandre Julliard
99bb9f9775
Added GetDeviceCaps to the DC driver interface. Removed devCaps
...
pointer in the generic DC structure.
2001-07-28 00:18:02 +00:00
Alexandre Julliard
3dd63eb2ad
Build the DC function table by using GetProcAddress on the graphics
...
driver module. Moved driver support to dlls/gdi.
2001-07-27 19:37:31 +00:00
Alexandre Julliard
8afe6628f8
Avoid using GetFastQueue16 from USER.
2001-07-26 20:12:22 +00:00
Alexandre Julliard
f899ef07a6
Removed some unnecessary includes.
2001-07-23 00:04:00 +00:00
Alexandre Julliard
8cd1f719bc
Use AdjustWindowRect to translate X to window rectangle instead of
...
duplicating what's done in nonclient.c.
2001-07-20 18:37:37 +00:00
Lionel Ulmer
1fc39be64f
Fix X crash when running in managed mode.
2001-07-12 22:27:56 +00:00
Alexandre Julliard
704d035364
Fixed a few issues with tsx11 locking.
...
Always map the client window when moving out of iconic state.
2001-07-12 02:49:31 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Dmitry Timoshkov
7aa8694908
Fix some inter dll dependencies.
2001-07-02 18:02:10 +00:00
Alexandre Julliard
f25487a10f
Removed unnecessary SetWindowPos call in SetWindowRgn.
2001-06-29 01:41:32 +00:00
Alexandre Julliard
ed15fc7de1
Moved ForceWindowRaise to the USER driver and removed the WND driver.
2001-06-29 01:26:41 +00:00
Alexandre Julliard
649637f53f
Added window properties to make some x11drv-specific information
...
available to higher level code.
2001-06-26 21:10:11 +00:00
Alexandre Julliard
9446387170
Make the visible region empty for non-visible windows.
2001-06-26 20:09:19 +00:00
Alexandre Julliard
f4b14106f7
Don't rely on X to expose windows covered by a sibling, do it
...
manually.
2001-06-22 03:42:27 +00:00
Ove Kaaven
624f14e776
Make GetCursorPos call XQueryPointer.
2001-06-21 00:44:09 +00:00
Alexandre Julliard
64264be49b
Clip parent client area when using the drawable from a higher level
...
parent.
2001-06-20 00:22:40 +00:00
Alexandre Julliard
8ffcf755fe
Fixed region leak.
2001-06-20 00:18:48 +00:00
Alexandre Julliard
838d65aebe
Moved hardware message queue handling to the server.
2001-06-19 19:16:41 +00:00
Patrik Stridvall
8b216b3d02
Documentation ordinal fixes.
2001-06-19 18:20:47 +00:00
Alexandre Julliard
0cbfb24f83
Fixed one more bug in clip_children.
2001-06-19 03:47:11 +00:00
Dmitry Timoshkov
de70d2b2c7
Replace PROFILE_ functions by RegQueryValueExA in x11drv.
2001-06-19 03:32:44 +00:00
Alexandre Julliard
8f750d5c3a
clip_children: don't crash if child is not in list (can happen on
...
WM_NCCREATE).
2001-06-15 19:44:35 +00:00
Alexandre Julliard
7b25ed534b
Use the topmost parent that isn't clipping children as drawable,
...
to make sure parent siblings are not clipped.
2001-06-13 20:07:48 +00:00
Alexandre Julliard
883cff405b
Fixed handling of zero-sized client window.
...
Create the X windows before sending WM_NCCREATE.
2001-06-12 04:02:10 +00:00
Alexandre Julliard
0b16474c2a
Removed WIN_NATIVE flag.
2001-06-08 19:00:56 +00:00
Gerard Patel
ad363030a1
Use a flag to test if create structure is unicode.
2001-06-06 21:26:50 +00:00
Alexandre Julliard
dc4fe7735b
Create an X window for every window, including children.
...
Fixed non-client rectangle calculations in managed mode.
Added support for icon window in managed mode.
2001-06-04 21:55:17 +00:00
Alexandre Julliard
51ab43bd13
Moved the major part of message queue and window timer handling into
...
the server.
Implemented MsgWaitForMultipleObjectsEx.
2001-05-18 22:51:56 +00:00
Marcus Meissner
b30d59dcdf
Fixed compile if we do not have the xf86vidmode extension.
2001-05-18 20:59:22 +00:00
Marcus Meissner
4e5903aa8f
Adopted to new threaded displays.
2001-05-16 21:01:06 +00:00
Alexandre Julliard
4323004bf1
Create an X connection for each thread, and process X events in the
...
thread that created the corresponding X window.
Spawn a separate thread to run the desktop message loop in desktop
mode.
2001-05-16 19:52:29 +00:00
Alexandre Julliard
c559735bf8
Renamed display to gdi_display where it is used for GDI operations, to
...
allow supporting multiple X connections.
2001-05-11 00:17:47 +00:00
Alexandre Julliard
b19c57ca71
Fixed reparenting to desktop (found by Gerard Patel).
2001-05-10 21:06:56 +00:00
Alexandre Julliard
e3fe9f24ce
Moved ScrollWindowEx implementation to the graphics driver.
2001-05-10 03:23:59 +00:00
Alexandre Julliard
3abeae8f4a
Moved window move/resize syscommand handling to the graphics driver.
2001-05-09 17:21:04 +00:00
Alexandre Julliard
c6a835a63e
Remove Get/SetBeepActive from USER driver and manage it locally inside
...
SystemParametersInfo.
2001-05-05 00:49:15 +00:00
Ove Kaaven
6753dea682
Reimplemented DXGrab with improvements; it no longer depends on
...
XVidMode, and it releases the grab if the app exits full-screen
DirectDraw. Also made the UseDGA option available for AppDefaults
configuration.
2001-04-27 18:00:06 +00:00
Patrik Stridvall
b3086a7593
Fixed some issues found by winapi_check.
2001-04-25 19:54:21 +00:00
Alexandre Julliard
9ae0fe54b0
Moved most of the implementation of SetWindowPos and SetDrawable into
...
the user driver, and the corresponding code into the dlls/x11drv
directory. Moved a few functions out of the window driver into the
user driver. Plus a few related cleanups.
2001-04-24 23:28:52 +00:00
Ove Kaaven
169e36b9a0
Implemented the XF86DGA2 driver for the ddraw HAL.
...
Entered some basic HAL device capabilities data.
Added a GetDriverInfo handler.
2001-04-16 19:54:07 +00:00
Alexandre Julliard
7aa7d9493e
Added support for application-specific configuration for a few options
...
(Desktop, Managed, ScreenDepth and Synchronous).
2001-03-28 19:43:38 +00:00
Gavriel State
4d73ba6e21
- Always use a double-buffered visual if one is available.
...
- Ensure that all colormaps created use the double-buffered visual if
it exists. This prevents problems where DRI GL implementations fail
to work unless the colormap visual matches the window visual matches the
glX visual.
- Get around similar visual issue with the default GL context created for
apps that don't create their own contexts before trying to use GL functions.
2001-03-28 01:45:08 +00:00
Alexandre Julliard
26320d1f75
Cleanup properly on x11drv unloading.
...
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
Jeff Garzik
9fd15a9f2f
Added needed string.h includes.
2001-03-22 19:33:57 +00:00
Ove Kaaven
313051f9d6
Added gamma ramp code to the XVidMode interface.
2001-03-20 01:24:08 +00:00
Ove Kaaven
6e7ded456b
Guts of a simple XVidMode-supporting DirectDraw HAL in x11drv.
2001-02-14 00:27:34 +00:00
Josh DuBois
46fb7e0057
Make some noise in a few cases where the X11drv doesn't load, but used
...
to fail silently.
2001-01-17 21:51:07 +00:00
Alexandre Julliard
598412ed6a
Cleaned up the various errno location tests in configure.
...
Added (h_)errno_location pointers in the library that allow remapping
the calls in higher level dlls.
Moved X11DRV_CritSection out of sysdeps.c and into x11drv.dll.
2001-01-17 20:22:22 +00:00
Alexandre Julliard
8efd454067
Removed CALL_LARGE_STACK support.
2001-01-15 22:30:50 +00:00
Alexandre Julliard
a90797d09d
Updated debug channels.
2001-01-15 20:23:05 +00:00
Alexandre Julliard
b018239fef
Build tsx11 layer as a separate shared library.
2000-12-06 00:04:10 +00:00
David Elliott
ea186796eb
Remove libXXXX.so.1.0 lines from .cvsignore files.
2000-11-30 19:57:34 +00:00
Jeremy White
3101315b79
Allow desktop=N in the [x11drv] section of .winerc, instead of
...
defaulting to desktop=640x480.
2000-11-15 22:11:33 +00:00
Andreas Mohr
efc17535ac
Implemented the Desktop=XXXxYYY setting in the [x11drv] section of the
...
config file.
2000-11-12 03:41:47 +00:00
Alexandre Julliard
eb58e1d597
Declare debug channels in all dlls that need them; added imports of
...
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Alexandre Julliard
67c883be31
Removed obsolete TOOLSUBDIRS dependency.
2000-10-31 00:23:15 +00:00
Dmitry Timoshkov
8a31634a00
Replaced ToAscii by ToUnicode in the User driver interface.
2000-10-25 21:34:31 +00:00
Lionel Ulmer
81b7208eee
Do not do any GLX calls on a display that does not support GLX.
2000-10-19 20:22:36 +00:00
Andreas Mohr
c941effc24
Make GetTickCount not use the whole Unix epoch (since 1970) any more,
...
since that crashed several games or caused problems with them as they
aren't used to a high Windows uptime of more than 24.9 days.
2000-09-22 22:37:56 +00:00
Alexandre Julliard
42d20f9dca
Merged clipboard driver into USER driver.
...
Moved all ttydrv source files to dlls/ttydrv.
Load functions pointer for the USER driver from the graphics driver
dll with GetProcAddress.
2000-08-10 01:16:19 +00:00
Alexandre Julliard
b0efe28f6c
Removed a few dependencies on GDI internals from USER dll.
2000-08-04 04:18:04 +00:00
Alexandre Julliard
6c9d83aa4c
Added imports of user32/gdi32/kernel32 wherever necessary.
2000-08-03 00:04:24 +00:00
Alexandre Julliard
646c562f9c
Cleaned up some more USER dependencies.
2000-07-31 23:32:47 +00:00
Francois Jacques
5b6879c5c0
- implementation of SetWindowsRgn and GetWindowRgn
...
- X11DRV and TTYDRV updated with new API SetWindowRgn
2000-07-28 23:04:54 +00:00
Marcus Meissner
398d8b4e9b
Restrict nTimeout to 0-32767, since it is a 16bit value in X.
2000-06-23 16:49:46 +00:00
Alexandre Julliard
6953d6756c
For dlls, derive SPEC_SRCS from MODULE and ALTNAMES.
2000-06-20 20:24:14 +00:00
Alexandre Julliard
2b5d564e63
Merged mouse dll into USER.
2000-06-08 04:57:22 +00:00
Patrik Stridvall
c94e086161
Fixed some warnings.
2000-06-07 02:16:47 +00:00
Alexandre Julliard
7fe09bce86
Moved kernel initialization to kernel_main.c
2000-06-03 04:49:40 +00:00