No description
Find a file
Sam Lantinga 7b97d492a6 Fixed bug 1599 - On X11, SDL2 should use CLIPBOARD as well as PRIMARY for copy/paste
David White 2012-09-12 13:22:52 PDT

Background: X has two main 'buffers' for copy/paste:

PRIMARY -- normally used for implicit selection of text, with middle-click to
paste
CLIPBOARD -- works with an explicit copy/paste like on other platforms.

Currently SDL2 only provides access to PRIMARY. Since CLIPBOARD is much closer
to functionality of other platforms, SDL should provide access to that instead.

The attached patch makes it so that SDL_SetClipboardText() sets both PRIMARY
and CLIPBOARD and SDL_GetClipboardText() reads from CLIPBOARD instead of
primary.
2012-09-14 01:16:27 -07:00
acinclude Ozkan Sezer to slouken 2011-01-26 12:23:32 -08:00
android-project Fixes bug #1506, Changing orientation on the Android device throws off touch scaling 2012-08-24 13:10:29 -03:00
build-scripts small improvements in the iosbuild.sh script 2012-06-19 20:16:45 -03:00
include Implements SDL_GL_BindTexture and SDL_GL_UnbindTexture (#1576) 2012-09-03 11:16:12 -03:00
src Fixed bug 1599 - On X11, SDL2 should use CLIPBOARD as well as PRIMARY for copy/paste 2012-09-14 01:16:27 -07:00
test Added testaudioinfo to the build. 2012-09-01 00:25:17 -07:00
VisualC Patched to compile on Windows with VS2008 and VS2010. 2012-07-11 20:56:15 -04:00
Xcode Added SDL_system.h to the various projects 2012-06-23 06:46:06 -04:00
Xcode-iOS Updated the Demos project to link with SDL2 2012-09-04 23:17:56 -07:00
.DISABLED-hgeol Disable .hgeol for now...it doesn't work well at the moment. 2011-01-20 11:51:23 -05:00
.hgignore Ignore SVN metadata 2012-06-04 12:31:14 -04:00
.hgtags Tagging version before everything gets ripped out. 2010-05-09 17:00:56 -07:00
.indent.pro
aclocal.m4 Made it possible to build SDL from a fresh checkout without any additional steps. 2011-02-16 02:37:09 -08:00
Android.mk Updated Android Makefile for SDL2 2012-01-30 20:09:50 -05:00
autogen.sh SDL_revision.h is always updated as part of the build process now. 2011-02-28 09:06:15 -08:00
BUGS
configure Fixed bug 1547 - Fix test(1) utilization within the autoconf script 2012-07-20 12:57:25 -07:00
configure.in Removed AC_GNU_SOURCE from SDL2's configure script. 2012-08-26 20:27:25 -04:00
COPYING Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2 2012-01-22 17:21:00 -05:00
CREDITS Removed outdated Atari support 2009-09-20 04:15:19 +00:00
INSTALL Added svn checkout install step 2009-12-14 23:43:57 +00:00
Makefile.ds Updated Nintendo DS support 2012-02-12 21:04:01 -05:00
Makefile.in Added SDL_system.h to the various projects 2012-06-23 06:46:06 -04:00
Makefile.minimal Made it possible to build SDL from a fresh checkout without any additional steps. 2011-02-16 02:37:09 -08:00
Makefile.pandora Removed /dev/dsp DMA audio target. 2011-07-24 03:37:13 -07:00
Makefile.wiz Removed /dev/dsp DMA audio target. 2011-07-24 03:37:13 -07:00
README Removing some more references to SDL 1.3 2012-01-22 17:26:45 -05:00
README-SDL.txt Updated documentation to reflect new license 2011-04-15 14:22:08 -07:00
README.android Bumped up Android SDK version in README.android. 2012-08-04 00:01:34 -04:00
README.DirectFB Updated the DirectFB support, from Couriersud 2011-02-05 16:07:10 -08:00
README.ds Updated Nintendo DS support 2012-02-12 21:04:01 -05:00
README.gesture Fixed some typos in the documentation 2010-08-22 12:03:53 -07:00
README.HG Whitespace change in a README. 2011-01-22 03:57:27 -05:00
README.iOS Fixed bug 1564 - SDL has no function to open a screen keyboard on Android. 2012-08-11 10:15:59 -07:00
README.MacOSX
README.pandora Removing some more references to SDL 1.3 2012-01-22 17:26:45 -05:00
README.Platforms SDL still supports older iPod Touch and first generation iPhones. 2011-02-21 11:04:27 -08:00
README.Porting
README.touch Fixed some typos in the documentation 2010-08-22 12:03:53 -07:00
README.WinCE
sdl2-config.in Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2 2012-01-22 17:21:00 -05:00
sdl2.m4 Switched the SDL 2 autoconf macro to AM_PATH_SDL2 2012-01-30 21:39:26 -05:00
sdl2.pc.in Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2 2012-01-22 17:21:00 -05:00
SDL2.spec.in Successfully built an SDL 2.0 RPM 2012-01-22 23:36:59 -05:00
TODO Removing some more references to SDL 1.3 2012-01-22 17:26:45 -05:00
UNDER_CONSTRUCTION.txt
VisualC.html Removed newline, to make sure revision control post-commit hook is working. 2008-12-01 09:45:01 +00:00
WhatsNew Clearing the API changes for the 1.3.0 release 2011-01-19 22:20:44 -08:00

                         Simple DirectMedia Layer

                                  (SDL)

                                Version 2.0

---
http://www.libsdl.org/

This is the Simple DirectMedia Layer, a general API that provides low
level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL,
and 2D framebuffer across multiple platforms.

The current version supports Windows, Windows CE, Mac OS X, Linux, FreeBSD,
NetBSD, OpenBSD, BSD/OS, Solaris, iOS, and Android. The code contains
support for other operating systems but those are not officially supported.

SDL is written in C, but works with C++ natively, and has bindings to
several other languages, including Ada, C#, Eiffel, Erlang, Euphoria,
Go, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP,
Pike, Pliant, Python, Ruby, and Smalltalk.

This library is distributed under the zlib license, which can be found
in the file "COPYING".

The best way to learn how to use SDL is to check out the header files in
the "include" subdirectory and the programs in the "test" subdirectory.
The header files and test programs are well commented and always up to date.
More documentation is available in HTML format in "docs/index.html", and
a documentation wiki is available online at:
	http://www.libsdl.org/cgi/docwiki.cgi

The test programs in the "test" subdirectory are in the public domain.

Frequently asked questions are answered online:
	http://www.libsdl.org/faq.php

If you need help with the library, or just want to discuss SDL related
issues, you can join the developers mailing list:
	http://www.libsdl.org/mailing-list.php

Enjoy!
	Sam Lantinga				(slouken@libsdl.org)