* configure: Regenerate
* config.h.in: Regenerate
* Tools/xpbs.m: If Xfixes is available, use it to receive notifications when the
owner of an X11 selection changes.
In the future we should invalidate the list of cached pasteboard types when this
happens, so, e.g. copying text from gnome-terminal, the general pasteboard will only
have the text type, but subsequently copying text from OpenOffice.org, the general
pasteboard will have plain text and RTF types (currently we don't do this, so
you can't paste RTF contents unless it is in the clipboard when gpbs starts.)
The above problem is also why DND from X to GNUstep doesn't work - the dragging
pasteboard types are never updated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33708 72102866-910b-0410-8b05-ffd578937521
to Ink working.
- OOo uses the MIME type "text/richtext", so make that another alias for RTF
- Fix an obscure bug in measuring the size of the return buffer of
XGetWindowProperty. When an array of Atom's is returned xlib will claim
that they are 32-bit when in fact they may be 64-bit. This was causing
xpbs to miss half of the available types for a clipboard on 64-bit systems.
- Don't use 'True' for the delete paramater of XGetWindowProperty. I'm not sure
why we were deleting window properties before. gtk doesn't do that.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33695 72102866-910b-0410-8b05-ffd578937521
(-xSelectionNotify:): Better handling of plain text data types.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32694 72102866-910b-0410-8b05-ffd578937521
change notification from the X server, which is already present in the
X event queue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32457 72102866-910b-0410-8b05-ffd578937521
applications contacting the pasteboard server become unresponsive.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27056 72102866-910b-0410-8b05-ffd578937521
MIME types and add support for more standard targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26005 72102866-910b-0410-8b05-ffd578937521
* Tools/GNUmakefile.preamble: Compile with -Wall.
* Tools/xpbs.m: Rename to +initializePasteboard. Return NO iff
XOpenDisplay fails.
* Tools/win32pbs.m (+initialize): Rename to +initializePasteboard.
Return YES.
* Tools/gpbs.m ([PasteboardServer -init]): Call +initializePasteboard
instead of +class. Set xPbClass to nil if the call fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19992 72102866-910b-0410-8b05-ffd578937521
Removed function osTypeToX(). Extracted method
[getSelectionData:type:] from [xSelectionNotify:].
[xSelectionNotify:] now supports incremental data transfer and is
save against failing string conversions. Complete rewrite of
[xProvideSelection:] to better follow the ICCCM
specification. This now implements TIMESTAMP, MULTIPLE and
COMPOUND_TEXT (all untested!)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17606 72102866-910b-0410-8b05-ffd578937521
bytes. [XPbOwner pasteboard:provideDataForType:] and
[XPbOwner pasteboardChangedOwner:] removed the remaining ifdef tests for
X_HAVE_UTF8_STRING. Removed function xTypeToOs() as this was not used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17490 72102866-910b-0410-8b05-ffd578937521