Commit graph

90 commits

Author SHA1 Message Date
fredkiefer
4e3a5c5caf * Tools/gpbs.m: Revert last change and correct the implementation
and usage of gpbs_log.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37852 72102866-910b-0410-8b05-ffd578937521
2014-05-06 22:22:34 +00:00
ivucica
f3cf7840de In gpbs, removed barely used, overly complex and almost certainly buggy logging code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37842 72102866-910b-0410-8b05-ffd578937521
2014-05-06 02:04:54 +00:00
fredkiefer
40fc6bfe72 * Tools/xpbs.m (-xProvideSelection:): Leave enough space for all
possible types.
* Source/x11/XGDragView.m: Simplify D&D window detection code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@37457 72102866-910b-0410-8b05-ffd578937521
2013-12-13 12:58:09 +00:00
rfm
e1551e60be fix order of use of library and header directories
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@36837 72102866-910b-0410-8b05-ffd578937521
2013-07-04 16:44:28 +00:00
gcasa
ed217caac9 * Tools/win32pbs.m: (+ownerByOsPb:) compare against name
instead of pasteboard object to prevent condition where
	paste works only once as observed on Windows.
	(MainWindowProc) Add code to handle WM_RENDERALLFORMATS as documented
	on MSDN here: http://msdn.microsoft.com/en-us/library/windows/desktop/ms649029(v=vs.85).aspx



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@35933 72102866-910b-0410-8b05-ffd578937521
2013-01-05 06:02:33 +00:00
rfm
48b00f0cab simplificatons and more debug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34751 72102866-910b-0410-8b05-ffd578937521
2012-02-14 18:29:51 +00:00
rfm
ebb9c2eccc fix failure to call super description
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34748 72102866-910b-0410-8b05-ffd578937521
2012-02-08 21:55:43 +00:00
rfm
f7beb9ce28 add a little debug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34743 72102866-910b-0410-8b05-ffd578937521
2012-02-08 11:00:34 +00:00
ericwa
e65aa1f9f9 * Tools/xpbs.m: Add some more comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33709 72102866-910b-0410-8b05-ffd578937521
2011-08-07 21:49:43 +00:00
ericwa
defca0e36e * configure.ac: Test for Xfixes
* 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
2011-08-07 21:38:42 +00:00
ericwa
66c1fa999a * Tools/xpbs.m: Get copy and paste of rich text from OpenOffice.org
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
2011-08-05 00:13:25 +00:00
fredkiefer
29cf03bc43 Add include needed for Cygwin.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33544 72102866-910b-0410-8b05-ffd578937521
2011-07-14 06:53:52 +00:00
fredkiefer
c5e5d1d202 Fixes warnings reported by clang.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32823 72102866-910b-0410-8b05-ffd578937521
2011-04-09 17:10:49 +00:00
fredkiefer
f4de37421d * Tools/xpbs.m (-pasteboard:provideDataForType:, -availableTypes)
(-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
2011-03-23 19:44:46 +00:00
wlux
09fa98f760 Fix race condition where gpbs could time out waiting for a property
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
2011-03-05 14:40:22 +00:00
fredkiefer
c3bf8b14c5 Fixed problems found by sttic code analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@31326 72102866-910b-0410-8b05-ffd578937521
2010-09-11 14:00:35 +00:00
nicola
4661c2abaa Minor tidyups to back makefiles; removed references to GNUmakefile.local (totally obsolete) and minor fix for uninstalling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29558 72102866-910b-0410-8b05-ffd578937521
2010-02-11 18:28:58 +00:00
fredkiefer
ce071a0bd5 Add missing comma after name of selection atom.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29270 72102866-910b-0410-8b05-ffd578937521
2010-01-12 21:28:01 +00:00
nicola
c2540ddcd1 Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-back
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27349 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:05:05 +00:00
nicola
785acecbdf Set GNUSTEP_CORE_SOFTWARE to YES so that gnustep-back is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27335 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:51:49 +00:00
rfm
47317fdc8c remove some unnecessary code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27321 72102866-910b-0410-8b05-ffd578937521
2008-12-17 09:11:22 +00:00
rfm
ad067b2fda Fix #24671
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27192 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:51:34 +00:00
rfm
8f039df645 add keepalive
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27110 72102866-910b-0410-8b05-ffd578937521
2008-11-21 09:47:34 +00:00
wlux
eb084d0f64 Prevents an issue where gpbs could block in XNextEvent and other
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
2008-11-14 21:36:30 +00:00
fredkiefer
e8f4f76ae1 Use XInternAtom when XInternAtoms isn't available.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26962 72102866-910b-0410-8b05-ffd578937521
2008-10-24 17:04:10 +00:00
fedor
52a046da0f Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26620 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:12:46 +00:00
nicola
3241d08998 Use gnustep-make v2 variables when installing documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26569 72102866-910b-0410-8b05-ffd578937521
2008-05-25 10:06:13 +00:00
fedor
9bbb15310f Standardize cache name to handle new Mac OS X display names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26530 72102866-910b-0410-8b05-ffd578937521
2008-05-16 17:14:30 +00:00
fredkiefer
e365010701 Correct bug in last win32pbs change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26064 72102866-910b-0410-8b05-ffd578937521
2008-02-14 19:39:38 +00:00
fredkiefer
0087a1679b Use same event polling code as WIN32Server,m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26016 72102866-910b-0410-8b05-ffd578937521
2008-01-31 22:20:24 +00:00
fredkiefer
e6bb6f08ad Improve RTF format handling and add TIFF handling in X pasteboard.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26015 72102866-910b-0410-8b05-ffd578937521
2008-01-31 21:27:36 +00:00
fredkiefer
dfed2b09c7 Add some RTF support to X clipboard.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26011 72102866-910b-0410-8b05-ffd578937521
2008-01-29 01:47:04 +00:00
fredkiefer
8dc49e44e2 Add secondary selection support. Define some more
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
2008-01-26 17:17:41 +00:00
fredkiefer
fa6e35e2f8 Change files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25538 72102866-910b-0410-8b05-ffd578937521
2007-10-29 23:25:10 +00:00
fredkiefer
86a9213e9f Increase version number of font format, as font mask values have
changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25397 72102866-910b-0410-8b05-ffd578937521
2007-08-16 14:47:45 +00:00
fredkiefer
cda1672a5c Add more EWMH methods and helper methods.
Simplify dragging support code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25389 72102866-910b-0410-8b05-ffd578937521
2007-08-14 22:44:40 +00:00
rfm
a069984c71 Add auto-stop option
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24789 72102866-910b-0410-8b05-ffd578937521
2007-03-06 21:44:40 +00:00
nicola
907f34a2f1 Fixed compilation with new mingw/msys packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24716 72102866-910b-0410-8b05-ffd578937521
2007-02-28 06:48:08 +00:00
nicola
8a6dd7384f Use GNUSTEP_INSTALLATION_DOMAIN instead of GNUSTEP_INSTALLATION_DIR, and DESTDIR instead of INSTALL_ROOT_DIR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24095 72102866-910b-0410-8b05-ffd578937521
2006-11-15 17:06:17 +00:00
fedor
33ae6f14bb Add documentation on options
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23438 72102866-910b-0410-8b05-ffd578937521
2006-09-09 04:04:44 +00:00
rfm
ed8cacbcab Avoid spurious warnings produced by gcc-4.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23127 72102866-910b-0410-8b05-ffd578937521
2006-07-04 21:54:48 +00:00
rfm
c64d018856 Fix for profiling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23115 72102866-910b-0410-8b05-ffd578937521
2006-06-29 13:34:04 +00:00
fredkiefer
c6bf40df52 Cleanup in xlib backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22990 72102866-910b-0410-8b05-ffd578937521
2006-05-28 23:38:33 +00:00
fredkiefer
199885a31a Removed some compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22444 72102866-910b-0410-8b05-ffd578937521
2006-02-06 19:33:56 +00:00
CaS
97aecfddb2 Coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22020 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:40:31 +00:00
fedor
dd3627a2bf Add/fix copyright and licenses.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21392 72102866-910b-0410-8b05-ffd578937521
2005-07-01 20:43:10 +00:00
fedor
d4eedb48e2 * Tools/gpbs.m ([PasteboardServer -connectionBecameInvalid:]):
Use isKindOfClass.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21324 72102866-910b-0410-8b05-ffd578937521
2005-06-17 14:57:57 +00:00
fedor
faaebcda2a Update FSF Address
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21263 72102866-910b-0410-8b05-ffd578937521
2005-05-26 22:51:53 +00:00
alexm
26022aee3e 2005-02-10 00:50 Alexander Malmberg <alexander@malmberg.org>
* Tools/gpbs.m (init): Remove the program name from the arguments
	passed to the new task.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20680 72102866-910b-0410-8b05-ffd578937521
2005-02-09 23:43:54 +00:00
CaS
52f83fccb9 Use NSTask to run as daemon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20672 72102866-910b-0410-8b05-ffd578937521
2005-02-08 11:54:25 +00:00