Commit Graph

100 Commits

Author SHA1 Message Date
Jørgen P. Tjernø
9e99462c06 Add new controller mappings for Windows. 2013-04-02 18:09:30 -07:00
Sam Lantinga
dd7f59a25e Make SDL support the X11 clipboard TARGETS protocol, which advertises what formats text is available in from the application. This is necessary for many Linux programs to interact well with the clipboard. 2013-03-22 11:42:31 -07:00
Jørgen P. Tjernø
06837bd3e2 Add GameController mappings for popular controllers.
This adds mappings for:
  - Another type of wired X360 controller
  - A wireless X360 controller
  - Logitech F710 (XInput and DInput modes)
  - Logitech F310 (XInput mode)
  - Logitech Cordless RumblePad 2
2013-03-12 18:28:36 -07:00
Sam Lantinga
ca94467587 Generate debug info for all configurations on all platforms
Turned off C++ exception handling for all configurations and all platforms
Turned on comdat folding and optimized references for all optimized builds

CR: Bruce Dawson
2013-02-27 11:39:38 -08:00
Sam Lantinga
69e2715258 Removed SDL_input.h from various projects 2013-02-19 05:46:51 -08:00
Jørgen P. Tjernø
da448f5b13 Fix SDL_SetWindowSize on certain WMs.
Makes SDL_SetWindowSize work on some WMs (like Fluxbox, ion3, Awesome,
WindowMaker), and when running without a WM.

Fixes bug 1513.
CR: saml
2013-02-18 18:28:02 -08:00
Sam Lantinga
019c60c1e8 Happy New Year! 2013-02-15 08:47:44 -08:00
Sam Lantinga
29997d1175 Don't crash if we have the extension but couldn't load the XInput shared library. 2013-02-14 15:40:19 -08:00
Sam Lantinga
94b78a3298 Added SDL_bits.h to the Xcode projects 2013-02-13 21:22:29 -08:00
Jørgen P. Tjernø
8e2aba3d97 Fix a corruption when you remove first joystick on Linux.
Fixes a bug where the joystick subsystem would get corrupted if you unplug the
first of multiple joysticks. Fixes bug 1714.


CR: saml
2013-02-12 11:47:29 -08:00
Sam Lantinga
d30bd5f691 tree e293c2b7fde8
parent d0a3ee09cf93
author Edward Rudd <urkle@outoforder.cc> 1358013809 18000
committer Edward Rudd <urkle@outoforder.cc> 1358013809 18000
revision 6806
branch default

cleanup the test xcode project to compile on current codebase and be simpler to add new tests
2013-02-11 21:04:41 -08:00
Sam Lantinga
7d4908e1d0 Added missing SDL_gamecontroller.h to the Mac OS X project 2012-12-13 16:57:12 -08:00
Sam Lantinga
f4c4c1e5d8 Fixed building new joystick code on Mac OS X 2012-11-26 21:55:59 -08:00
Sam Lantinga
23950f0183 Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds 2012-11-26 16:37:54 -08:00
Sam Lantinga
d3db855b77 Added Cocoa messagebox implementation to the OSX Xcode project 2012-10-30 12:37:57 -07:00
Sam Lantinga
e91fdd5b30 Turned off the install flag for the static library because we don't want it getting into application distribution packages.
Added SDL_x11messagebox.c to the static library target
2012-10-27 02:54:10 -07:00
Sam Lantinga
7c80d3d457 Added new message box API to Xcode projects 2012-10-24 00:13:50 -07:00
Sam Lantinga
6df7eadc37 Added patchlevel to version number 2012-10-19 21:19:30 -07:00
Sam Lantinga
d74045da2a tree fc1a744f184c
parent 88580fa6c549
author Edward Rudd <urkle@outoforder.cc> 1350500791 14400
committer Edward Rudd <urkle@outoforder.cc> 1350500791 14400
revision 6592
branch default

use different rpath so SDL2.framework will live in the bundle's Framework folder
2012-10-19 21:18:06 -07:00
Sam Lantinga
396cc73864 tree 451ddf291d85
parent 7925f0f43dc4
author Edward Rudd <urkle@outoforder.cc> 1350500747 14400
committer Edward Rudd <urkle@outoforder.cc> 1350500747 14400
revision 6591
branch default

A few fixes to the SDL framework plist

- correct version number
- remove CFBundleExecutable
- correct CFBundleIdentifier
2012-10-19 21:17:58 -07:00
Sam Lantinga
12f7e857fb Fixed copying headers to the Framework 2012-10-02 23:23:44 -07:00
Sam Lantinga
ffabd91859 Added SDL_system.h to the various projects 2012-06-23 06:46:06 -04:00
Sam Lantinga
3da89b1dd0 Updated Mac OS X and iOS projects 2012-06-21 10:41:25 -04:00
Sam Lantinga
5277741dcd Updated Android Makefile for SDL2 2012-01-30 20:09:50 -05:00
Sam Lantinga
254cf2c53c Removed old compat files from Visual Studio and Xcode projects 2012-01-22 22:09:29 -05:00
Sam Lantinga
c484f884c5 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
Sam Lantinga
2e7c2ac7c8 Futzing around with strip settings 2012-01-09 00:24:08 -05:00
Sam Lantinga
566e80ff71 Updated Xcode project 2012-01-08 14:45:57 -05:00
Sam Lantinga
1576610f7c Updated SDL test projects 2012-01-07 17:08:17 -05:00
Sam Lantinga
69800abcef Use version B instead of A until we switch SDL 1.3 to SDL2
C.W. Betts 2012-01-06 22:58:41 PST
I would NOT use A. SDL 1.2 uses A, and if I understand correctly, SDL 1.3 and
SDL 1.2 are not binary compatible. Having a different link path for 1.2 and 1.3
will solve any runtime linking errors that might occur.

Sam Lantinga 2012-01-07 00:22:09 PST
Good point.  Until we switch SDL 1.3 to SDL2, we shouldn't use the same link
path.
2012-01-07 03:22:47 -05:00
Sam Lantinga
97ea7268fb Switched back to version A, since we don't actually have a version A for SDL 1.3.
It would only be meaningful if we were planning to ship 1.2 as A, and 1.3 as B, which is completely worthless given the headers will be for 1.3 and the API is completely different.
2012-01-07 01:03:54 -05:00
Sam Lantinga
20abdb9182 Switched to @rpath for the install path and switched minimum OS to 10.5
Removed extra build configurations
2012-01-02 00:47:54 -05:00
Sam Lantinga
85cc916176 Upgraded SDL Xcode project for XCode 4.2, including switching Framework Version to "B", which is required by the Apple Store. 2011-12-31 13:29:09 -05:00
Ryan C. Gordon
9aba292cfc Added SDL_dropevents to the Xcode project files.
Fixes build.
2011-12-06 21:46:19 -05:00
Ryan C. Gordon
9a4e598f42 Removed sail.bmp reference from Xcode project.
Fixes Buildbot.
2011-09-09 10:45:48 -04:00
Ryan C. Gordon
82df1959c1 Removed legacy Mac OS X dlcompat code.
It was only needed for Mac OS X 10.0 through 10.2, so it seems silly to keep
 it around for SDL 1.3.

I'll leave it in the 1.2 branch for now, though.
2011-09-09 00:34:48 -04:00
Ryan C. Gordon
6634d3d1fe Merged Mac OS X and iOS audio targets. 2011-08-04 00:45:09 -04:00
Sam Lantinga
117146456c Removed buggy and LGPL MMX mixing routines. 2011-04-08 13:16:33 -07:00
Sam Lantinga
b12e397498 Don't be clever, just call it testthread 2011-03-25 11:09:57 -07:00
Sam Lantinga
81c862f80d The Xext directory no longer exists 2011-03-05 10:03:57 -08:00
Sam Lantinga
5e0f2c8b85 Updated the template code 2011-02-20 19:15:00 -08:00
Sam Lantinga
dbb0a44739 Renamed SDL_keysym.h to SDL_keycode.h to avoid confusion. 2011-02-16 15:46:12 -08:00
Sam Lantinga
e3883e9792 The scripts to generate header files are no longer necessary. 2011-02-16 12:15:04 -08:00
Sam Lantinga
76489b5e9e Removed unused leak detection code. 2011-02-11 14:23:22 -08:00
Sam Lantinga
65eb03e87b Fixed compile in Xcode 2011-02-11 10:18:34 -08:00
Sam Lantinga
2354f8cc88 Updated Xcode project with OpenGL shader files 2011-02-09 10:37:52 -08:00
Sam Lantinga
47818cfba9 Added a simple log message API 2011-02-07 16:45:40 -08:00
Sam Lantinga
1a384e89c4 Updated Xcode project with moved and removed files 2011-02-06 02:41:32 -08:00
Sam Lantinga
c952c0543d Updated Mac OS X and iOS projects 2011-02-05 16:02:30 -08:00
Sam Lantinga
93a4e38e98 Added a way to get a framebuffer interface for a window, and also a way to create a software renderer for an arbitrary surface.
The software renderer has been re-routed to use the framebuffer interface, which makes it possible to have software rendering available even on simple ports.
2011-02-03 15:49:37 -08:00