Eric Pouech
e5da8e6260
Correctness for const pointer casts.
2005-04-18 09:51:03 +00:00
Dimitrie O. Paun
e3e5cf19a8
Remove the need for the non-standard (Close|Delete)MetaFile16().
2005-04-13 15:16:40 +00:00
Alexandre Julliard
65e4d34599
Merged X11DRV_BITMAP_CreateBitmapHeaderFromPixmap into
...
X11DRV_DIB_CreateDIBFromPixmap and simplified the code a bit.
2005-03-28 10:06:06 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Ron Jensen
888fb43ba2
Avoid bad visual errors in thread_selection_wnd().
2005-03-23 13:08:35 +00:00
Peter Berg Larsen
4293b614c4
Assorted memleak fixes. Found on Michael Stefaniuc smatch list.
2005-03-14 10:03:39 +00:00
Ulrich Czekalla
5067909587
Create a thread-specific selection window to make sure we receive the
...
selection events in the correct thread.
2005-03-07 19:31:46 +00:00
Alexandre Julliard
d0ee9f9309
Avoid spaces before preprocessor directives, that's not portable.
2005-03-02 12:23:20 +00:00
Ulrich Czekalla
18fe91d8d2
If unexpected condition occurs just report an error.
2005-03-01 10:43:58 +00:00
Alexandre Julliard
94846a39dc
Use a table of handlers to dispatch X events and get rid of the
...
special casing for DGA and tablet events.
Unify the declarations of all the event handlers.
2005-02-26 17:49:38 +00:00
Alexandre Julliard
0778a45da2
Moved clipboard event handling functions and some private data
...
structures to clipboard.c.
2005-02-25 21:01:15 +00:00
Alexandre Julliard
fc5ce14592
Avoid most references to the internals of the WND structure by passing
...
around an x11drv_win_data pointer instead.
2005-01-17 19:17:47 +00:00
Jacek Caban
7e2a7c949d
Get rid of W->A calls.
2005-01-11 15:10:56 +00:00
Ulrich Czekalla
318b963f9f
Always clearAllSelections since not clearing CLIPBOARD can get us into
...
an odd state.
2005-01-04 20:34:46 +00:00
Hans Leidekker
5f6f63a49d
Fix signed/unsigned comparison warnings.
2004-08-11 23:45:34 +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
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
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
Rein Klazes
46138d8ef7
Do not crash if the clipboard format is unknown.
2004-04-05 20:17:13 +00:00
Ulrich Czekalla
455a22394a
Implemented rendering synthesized BITMAP and DIB formats.
2004-02-20 05:43:00 +00:00
Ulrich Czekalla
0bc05d41a3
Advance index as we set the atom values.
2004-02-19 01:10:16 +00:00
Alexandre Julliard
294c8af60b
Removed some unnecessary inclusions of gdi.h.
2004-01-20 22:48:57 +00:00
Ulrich Czekalla
6af0df45d6
Add option to use the primary selection in addition to the clipboard
...
selection.
2004-01-08 00:43:46 +00:00
Sami Aario
bee1f7c8df
Fixed a typo.
2003-12-30 19:14:35 +00:00
Alexandre Julliard
5329fc8902
Get rid of clipboard.h.
2003-12-05 04:45:50 +00:00
Alexandre Julliard
1bacc584e3
Portability fixes.
2003-12-04 05:11:56 +00:00
Alexandre Julliard
64c0e2ac96
Removed the remaining TSX calls.
2003-11-21 21:48:36 +00:00
Alexandre Julliard
3f6cb0cc3f
Delay the creation of the X atoms until we really need them, to allow
...
getting more of them in one call.
Use XGetAtomNames to retrieve all the selection atoms at once.
2003-11-21 05:23:17 +00:00
Alexandre Julliard
2496c08b76
Get rid of a bunch of TSX functions.
2003-11-21 00:17:33 +00:00
Alexandre Julliard
d09c3289a2
Intern all the atoms we'll need in one step to avoid multiple server
...
round trips.
2003-11-20 04:24:18 +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
Dmitry Timoshkov
8a8d1b93ca
Added support for CP_UNIXCP.
2003-07-09 04:22:57 +00:00
Ulrich Czekalla
18873e77d0
Fixed handling of synthesized data.
...
Don't report errors when there is no selection owner.
Reintegrate the COMPOUND_TEXT patch by Kusanagi Kouichi.
2003-07-08 21:02:51 +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
Alexandre Julliard
f8aa3b506c
Added -Wpointer-arith gcc flag, and fixed the resulting warnings.
2003-01-23 21:32:35 +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
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
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +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
Alexandre Julliard
d0893548e6
Moved remaining files in windows/x11drv to dlls/x11drv.
2002-04-30 21:16:39 +00:00