Commit graph

5491 commits

Author SHA1 Message Date
Ryan C. Gordon
ad1d82cf83 Added SDL_GameControllerUpdate(). 2013-02-25 01:51:21 -05:00
Ryan C. Gordon
4de257c5d2 Added SDL_haptic.h to SDL.h. 2013-02-25 01:50:59 -05:00
Ryan C. Gordon
a5862a96a3 Changed the game controller enum types to match SDL naming conventions. 2013-02-25 00:56:21 -05:00
Ryan C. Gordon
db73a392c2 Minor cleanup. 2013-02-25 00:47:47 -05:00
Ryan C. Gordon
3d19f803d8 Added PS3 game controller config for Linux. 2013-02-25 00:45:25 -05:00
Ryan C. Gordon
e4ef7cba60 Made testgamecontroller minimally more useful. 2013-02-24 22:57:25 -05:00
Ryan C. Gordon
6c4a53f561 Fixed a minor typo. 2013-02-24 22:56:35 -05:00
Ryan C. Gordon
2452978990 Added an X360 game controller config for Linux. 2013-02-24 22:56:24 -05:00
Sam Lantinga
c63c6c5103 Removed duplicate include 2013-02-24 12:56:29 -08:00
Sam Lantinga
22f666c86c Fixed compiling on older Linux systems without libudev 2013-02-24 12:55:51 -08:00
Sam Lantinga
3b188bfa98 Removed local.properties from android-project folder
Alexey Petruchik

Please remove local.properties from android-project folder and add it to hgignore
According to the local.properties:
# This file must *NOT* be checked in Version Control Systems,
2013-02-23 02:25:34 -08:00
Gabriel Jacobo
5a61cb4234 Fixes Bug 1726 - Memory leak in X11_GetDisplayBounds 2013-02-22 10:44:44 -03:00
Ryan C. Gordon
c02c04cdba Backed out changeset 9fea506e48ab
Sam beat me to this on a different branch, apparently.
2013-02-20 14:49:30 -05:00
Ryan C. Gordon
9269a3af2e Allow SDL_AUDIODRIVER="pulse" to do the right thing.
(We renamed this audio target at some point; the Internet didn't get the memo.)
2013-02-20 13:25:38 -05:00
Sam Lantinga
fed4aded8f Fixed bug 1474 - OpenGL renderer can't to display YV12 texture. 2013-02-19 07:05:15 -08:00
Sam Lantinga
aa427c702d Removed SDL_input.h from various projects 2013-02-19 05:46:51 -08:00
Sam Lantinga
70132c66ae The input API was never implemented, so removing it before release. 2013-02-19 05:39:19 -08:00
Sam Lantinga
7da5b83b75 Allow abbreviated strings to be used for driver names.
This allows people to use "pulse" with both SDL 1.2 and 2.0
2013-02-18 20:14:24 -08:00
Jørgen P. Tjernø
6e147b2087 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
72ec6bcbe2 Fixed bug where if X11 is not dynamically loaded, then we think none of the X11 modules are available. 2013-02-18 16:24:33 -08:00
Andreas Schiffler
6b7a2ee71b Fix bug 1723: flipped log text in audio suite - thanks P. Wiesemann 2013-02-18 07:59:05 -08:00
Sam Lantinga
cc3e8105ec We don't need no stinking pre-release version number!
If we do end up needing something, we should use the Mercurial revision number.
2013-02-17 23:39:25 -08:00
Sam Lantinga
1a4596d798 Fixed bug 1722 - An attempt to release NULL Direct3d surface
Evgeny

static void
D3D_DestroyRenderer(SDL_Renderer * renderer)

has a critical problem. It may try to release IDirect3DSurface9 surface pointed
by NULL pointer. That leads to really wierd consequences on my system.

It happens when the previous call to IDirect3D9_CreateDevice() fails leaving
D3D_RenderData::defaultRenderTarget uninitialized.
2013-02-17 23:30:47 -08:00
Sam Lantinga
8cd8501f09 Updated debian files to be consistent across SDL packages 2013-02-16 11:43:59 -08:00
Sam Lantinga
2563e36110 Fixed package name in the control file 2013-02-16 04:43:38 -08:00
Sam Lantinga
f142f09b1e Switched package name back, at the request of Manuel A. Fernandez Montecelo 2013-02-16 04:40:32 -08:00
Andreas Schiffler
e19bbcffd3 Add tests to Video suite 2013-02-16 23:09:10 -08:00
Sam Lantinga
36344c7379 Updated macro comment 2013-02-15 15:22:12 -08:00
Sam Lantinga
0729af112f Switched debian package name to sdl2
Disabled most of the dynamic shared libraries so that the correct dependency set is created for the runtime package.
2013-02-15 14:11:28 -08:00
Sam Lantinga
6e2c0511ee Added SDL license to Android clipboard implementation 2013-02-16 13:35:28 -08:00
Sam Lantinga
a1b447a13a Added license to Android power implementation 2013-02-16 13:33:58 -08:00
Sam Lantinga
4d92d49a5f Added native Debian package information 2013-02-15 14:56:08 -08:00
Sam Lantinga
95dcfa4c28 Happy New Year! 2013-02-15 08:47:44 -08:00
Sam Lantinga
20cad0087c Missed a few files when switching to the zlib license 2013-02-15 08:27:57 -08:00
Sam Lantinga
b96060a11e bye bye test... 2013-02-14 16:54:18 -08:00
Sam Lantinga
adb36481d7 Final test? 2013-02-14 16:53:08 -08:00
Sam Lantinga
e60d50fe7d Deleted test files 2013-02-14 16:45:09 -08:00
Sam Lantinga
8b33623d28 Test 5
2 lines
2013-02-14 16:43:38 -08:00
Sam Lantinga
8e0200b925 We're no longer under construction 2013-02-14 16:09:51 -08:00
Sam Lantinga
909068989c Updated documentation with info about the wiki
We're no longer under construction, baby!
2013-02-14 15:56:33 -08:00
Sam Lantinga
963c65929d Don't crash if we have the extension but couldn't load the XInput shared library. 2013-02-14 15:40:19 -08:00
Michael Sartain
73eaf569f4 Clear relative mouse mode and restore when bringing up sdl message box. 2013-02-14 13:22:05 -08:00
Andreas Schiffler
edbd20ec34 Add tests to SDLtest suite 2013-02-13 23:10:29 -08:00
Sam Lantinga
db07aa4faf Added SDL_bits.h to the Xcode projects 2013-02-13 21:22:29 -08:00
Jørgen P. Tjernø
6fee8913ec New SDL_MSBIndex, updated VS projects, cleanup gamecontroller.
- Updated Visual Studio 2010 project with SDL 2.0 library names
- Don't use a 256 byte LUT, but rather <32 bytes of data on the stack.
- Cleanups in SDL_gamecontroller.h

--HG--
extra : amend_source : e7d1b224d1356c5be7a89df7b82a7f5e1141c167
2013-02-13 17:19:21 -08:00
Andreas Schiffler
ea312e87fa Fix fuzzer random boundary functions; add tests for fuzzer 2013-02-12 22:23:42 -08:00
Jørgen P. Tjernø
e34e953eba Check bounds in SDL_IsGameController. Switch two functions to SDL_bool.
Switches SDL_GameControllerGetAttached and SDL_IsGameController to
       return SDL_bool, instead of int.
2013-02-12 17:07:21 -08:00
Jørgen P. Tjernø
3e60f92228 Regenerate configure to enable dbus
The configure script was out of date - re-running autogen.sh adds dbus
       support.
2013-02-12 16:17:24 -08:00
Jørgen P. Tjernø
ee501f4736 Fix another non-C90 variable declaration
This fixes a build issue with C variable declarations in the tests, for
       VisualC.
2013-02-12 14:53:47 -08:00
Jørgen P. Tjernø
2d5dc3c4ed Fix linker error for Win32 tests.
This adds the new testautomation_main.c to the VisualC projects.
2013-02-12 12:29:08 -08:00