Commit graph

10 commits

Author SHA1 Message Date
Frederik Carlier
ba1c582024
Define WINBOOL on non-MinGW platforms (#52)
The Windows SDK declares BOOL as an int.  Objective C defines BOOl as a char.
Those two types clash.  MinGW's implementation of the Windows SDK uses the WINBOOL
type to avoid this clash.  When compiling natively on Windows, we need to manually
define WINBOOL.
MinGW will define _DEF_WINBOOL_ if it has defined WINBOOL so we can use the same trick
here.
See https://github.com/mingw-w64/mingw-w64/blob/master/mingw-w64-headers/include/ntdef.h#L355
2024-09-17 21:19:25 +02:00
Gregory John Casamento
245f0a2a14 * 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
Fred Kiefer
a547222bf6 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
Fred Kiefer
6a9f0cf8d9 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
Fred Kiefer
9bf26442df 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
Fred Kiefer
0f8c5487c7 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
Nicola Pero
de05f167ad 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
Adam Fedor
7a3f75f9ac 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
Alexander Malmberg
b1d769a07f 2004-09-04 23:59 Alexander Malmberg <alexander@malmberg.org>
* 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
2004-09-04 22:08:18 +00:00
Fred Kiefer
61c347194d Added winodws clipboard interaction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18298 72102866-910b-0410-8b05-ffd578937521
2003-12-31 17:21:46 +00:00