aa65211486
Make XInput joystick names match the numbers on the device.
Ryan C. Gordon
2013-08-28 17:17:21 -04:00
7949989884
Fixed comment typo.
Ryan C. Gordon
2013-08-28 17:12:07 -04:00
4b255c63f1
Reworked XInput and DirectInput joystick code.
Ryan C. Gordon
2013-08-28 16:43:47 -04:00
c89e04694d
Better XInput detection code for DirectInput device enumeration.
Ryan C. Gordon
2013-08-28 16:35:32 -04:00
540cb5389c
Fixed testgamecontroller output to make sense.
Ryan C. Gordon
2013-08-28 00:07:02 -04:00
aef52c3501
[Linux] Test config script: Add the X11 library search path if it is not empty
Gabriel Jacobo
2013-08-28 12:43:29 -03:00
7fc50affaa
Fixes test building
Gabriel Jacobo
2013-08-28 10:41:25 -03:00
ad20c801cb
Fixes typo in EGL code (thanks jmcfarlane!)
Gabriel Jacobo
2013-08-26 14:23:18 -03:00
2abe45e8cb
Removed obvious comment to trigger buildbot.
Ryan C. Gordon
2013-08-25 21:28:03 -04:00
833fd30eb8
reworked GetBasePath on OS X to use Contents/Resource by default if bundled, or exedir if not bundled.
Edward Rudd
2013-08-25 11:24:01 -04:00
9ce449e6cd
update xcode projects with filesystem API bits. (missing tests and missing from files from some targets)
Edward Rudd
2013-08-25 11:20:14 -04:00
64e6eeac7f
Fixes "error: conflicting types for 'GLintptr'"
Gabriel Jacobo
2013-08-25 11:48:49 -03:00
c9c6852f84
Minor FreeBSD code cleanup.
Ryan C. Gordon
2013-08-24 21:15:10 -04:00
5f45f4224f
make the examples in the doc comments match the actual output of the SDL_GetPrefPath function
Edward Rudd
2013-08-24 09:43:14 -04:00
e5b65e4e03Fix#2062 Be more diligent about validating trailing "/" existence in HOME and XDG_DATA_HOME env vars
Edward Rudd
2013-08-24 09:05:18 -04:00
58a558e326
Patched to compile on Solaris.
Ryan C. Gordon
2013-08-23 23:34:23 -04:00
88cd94a0eb
Patched to compile on FreeBSD.
Ryan C. Gordon
2013-08-23 21:48:40 -04:00
97948aef66
Add support for some BSDs and Solaris to SDL_GetBasePath().
Ryan C. Gordon
2013-08-23 21:38:54 -04:00
f60bcf8b50
Fix warning in GL ES2 renderer
Gabriel Jacobo
2013-08-22 17:26:22 -03:00
1c6d55767c
Separate EGL / GL ES detection in CMake
Gabriel Jacobo
2013-08-22 14:56:07 -03:00
faf760d203
XAudio2/DirectSound: Use the usual Windows string convert (thanks, Norfanin!).
Ryan C. Gordon
2013-08-22 13:32:27 -04:00
f77c2372e0
Added SDL_VIDEO_OPENGL_ES2 to the SDL_config.h templates (Thanks, Kerim!).
Ryan C. Gordon
2013-08-22 13:00:05 -04:00
cc122ce520Fixes#2036 and #2038, bypass camera zoom and shutter keypresses on Android.
Gabriel Jacobo
2013-08-22 10:22:22 -03:00
cd27a1ef05
Fixed compiling on old versions of the DirectX SDK
Sam Lantinga
2013-08-21 12:12:04 -07:00
9faefccd48
SDL - detect that you tried to open a gamecontroller in xinput mode and failed, then re-get the mapping for the dinput variant you did open (and most likely now just fail the open)
Sam Lantinga
2013-08-21 10:32:04 -07:00
05d8c2dcd2
Fix SDL xinput code to work at all when xinput has devices at high indexes but no device connected at lower index, for instance 0->disconnected, 1->wireles, 2->wired. Previously the SDL code assumed the indexes were always used up in order which is not true at all and lead to a bunch of failure cases where controllers would go unrecognized.
Sam Lantinga
2013-08-21 10:31:44 -07:00
3d217ed7b5
Fixed crash if the IC isn't set up for some reason (bad X11 locale?)
Sam Lantinga
2013-08-21 10:07:48 -07:00
6107705a40
Fix a couple of warnings
Gabriel Jacobo
2013-08-21 10:34:32 -03:00
5f8de2b936
Patched to compile on Darwin
Gabriel Jacobo
2013-08-21 10:27:39 -03:00
29dfdd1edc
More fixes for -Wdeclaration-after-statement
Gabriel Jacobo
2013-08-21 10:13:12 -03:00
2490166d2d
Fixes for -Wdeclaration-after-statement
Gabriel Jacobo
2013-08-21 10:12:16 -03:00
1e49b1ed6e
OCD fixes: Adds a space after /* (glory to regular expressions!)
Gabriel Jacobo
2013-08-21 09:47:10 -03:00
695344d163
OCD fixes: Adds a space before */
Gabriel Jacobo
2013-08-21 09:43:09 -03:00
3984c7d8e3
Actually, this should be a memcpy().
Ryan C. Gordon
2013-08-20 23:20:32 -04:00
38dc821b0a
Added filesystem code to Mac and iOS Xcode projects.
Ryan C. Gordon
2013-08-20 21:29:40 -04:00
9ff379ba67
Patched to compile on iOS.
Ryan C. Gordon
2013-08-20 21:21:57 -04:00
fb7a02912a
More Haiku fixes.
Ryan C. Gordon
2013-08-20 20:39:22 -04:00
24006be288
Fixed compiler warning.
Ryan C. Gordon
2013-08-20 20:31:57 -04:00
ad8aa33bce
More Windows fixes for filesystem code.
Ryan C. Gordon
2013-08-20 20:29:30 -04:00
13e67150b9
Regenerate configure script.
Ryan C. Gordon
2013-08-20 20:27:42 -04:00
06f6a59212
Corrected Haiku build.
Ryan C. Gordon
2013-08-20 20:16:15 -04:00
c9152adcb0
Patched new filesystem code to compile.
Ryan C. Gordon
2013-08-20 20:15:15 -04:00
2dd7091e50
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
Ryan C. Gordon
2013-08-20 19:57:11 -04:00
6344736696
Fixed cut-and-paste error.
Ryan C. Gordon
2013-08-20 15:28:14 -04:00
abbaa90dd6
Added SDL_DEPRECATED #define.
Ryan C. Gordon
2013-08-20 14:21:35 -04:00
094a72b8f7
Added SDL_assert_always (never disabled).
Ryan C. Gordon
2013-08-20 14:17:48 -04:00
552b04c58a
More non C89 compliant comments
Gabriel Jacobo
2013-08-20 20:34:40 -03:00
63fe3a7753
Fixes a few non C89 compliant comments
Gabriel Jacobo
2013-08-20 19:49:24 -03:00
d8f66188d1
add missing SDL_bits.h from OS X framework
Edward Rudd
2013-08-20 15:56:08 -04:00
e43ff8fb59
Added some FIXMEs for later.
Ryan C. Gordon
2013-08-20 12:43:06 -04:00
0eeb76d869
Fixes bug #2037, common EGL code for Android and X11
Gabriel Jacobo
2013-08-19 16:29:46 -03:00
b44267693d
Fixed leaking of pixel shader object in D3D renderer (thanks, Peter!).
Ryan C. Gordon
2013-08-19 11:02:44 -04:00
0ca506611c
Fixed warnings building with gcc 2 and gcc 4 on Haiku
Sam Lantinga
2013-08-18 23:18:11 -07:00
a46437f798
Replaced introduction in header file with more recent version from README.txt.
Philipp Wiesemann
2013-08-18 11:15:30 +02:00
ad608e2dc3
Corrected file names in header file comments.
Philipp Wiesemann
2013-08-18 11:12:46 +02:00
8cf730554b
Changed some documentation comments in header files to be used by doxygen.
Philipp Wiesemann
2013-08-18 11:08:52 +02:00
7e3b7dbcb6
Patched to compile with Visual Studio.
Ryan C. Gordon
2013-08-17 20:46:34 -04:00
1455a94714
Fixed Windows build
Sam Lantinga
2013-08-17 17:14:15 -07:00
d7817f424b
Fixed for consistency with the other platforms
Sam Lantinga
2013-08-17 17:04:14 -07:00
e187810eca
auto init the ticks if the GetTicks and the like methods are called before SDL_Init().. This prevents annoying game bugs such as caching SDL_GetPerformanceFrequency in a static initializer
Edward Rudd
2013-08-17 18:07:29 -04:00
6995ff18d3
Do full state initialization in D3D_Reset(), this fixes blend mode issues when resizing the window on Windows 8.
Sam Lantinga
2013-08-17 09:54:30 -07:00
9ab14aa554
Fixed windows build
Sam Lantinga
2013-08-16 17:50:44 -07:00
ff77ca8d0b
The keyboard text events should be sent after the key down events
Sam Lantinga
2013-08-16 15:38:06 -07:00
b4b12d950e
Fixed bug 1876 - SDL_TEXTINPUT only returns '?' (0x3F) in event.text.text with Khmer language input
Sam Lantinga
2013-08-16 15:35:10 -07:00
bb2671b7e7
Android quirk:Some devices don't report GL_OES_framebuffer_object but support it
Gabriel Jacobo
2013-08-16 14:38:04 -03:00
4cb0ead795
Patched to compile.
Ryan C. Gordon
2013-08-16 12:51:29 -04:00
02868b6903
[Bug 2042] OpenGL ES renderer tries to load OES functions unconditionally
Gabriel Jacobo
2013-08-16 13:37:27 -03:00
76b7b1e96c
Fixed alpha composition when destination alpha is transparent.
Sam Lantinga
2013-08-16 09:20:33 -07:00
89bc80f1ae
Fixed alpha blending for the MMX blit functions
Sam Lantinga
2013-08-16 06:59:19 -07:00
65728477af
Fix bug 2034: replace printf by SDL_Log in tests; update loopwave VS solution: copy missing dependency
Andreas Schiffler
2013-08-14 23:30:10 -07:00
67367be019
Don't print "unrecognized key" message for an X11 keycode of 0. This can happen with composed characters.
Sam Lantinga
2013-08-12 22:00:21 -07:00
5d1865c245
Fixed the tag name for the SDL 2.0 release
Sam Lantinga
2013-08-12 19:18:48 -07:00
14bf230d76
Mac: Fix restoring of Cmd-H-hidden fullscreen desktop windows.
J?rgen P. Tjern?
2013-08-12 11:09:13 -07:00
a84a97fe85
Added Julian Winter to the credits for the SDL 2.0 website.
Sam Lantinga
2013-08-12 08:45:37 -07:00
03477ef6e3
Added tag release_2.0.0 for changeset d4ce48ff30d1
Sam Lantinga
2013-08-12 08:40:49 -07:00
dad420670fFixes#2022, do not resume on Android when surfaceChanged
Gabriel Jacobo
2013-08-12 11:13:50 -03:00
e14e0ef947
Fixed crash if the OpenGL library hasn't been loaded yet
Sam Lantinga
1970-01-01 04:04:21 +00:00
d12d7952f1
Align pointer in SDL_memset before doing Uint32 loop
Yuri Kunde Schlesner
2014-05-10 21:48:46 -03:00
9bc47465ca
Changed C++ style comments.
Philipp Wiesemann
2014-05-18 21:11:30 +02:00
f5c77149bf
Fixed typo in header comment.
Philipp Wiesemann
2014-05-18 21:05:39 +02:00
ca11d7c8b5
Changed C++ style comments to fix pedantic warnings.
Philipp Wiesemann
2014-05-17 22:02:25 +02:00
0d196c3099
Removed unused standard library includes from gesture source.
Philipp Wiesemann
2014-05-17 21:52:05 +02:00
660a57f906Fixes#2541, build failure with Wayland enabled, OpenGL ES disabled
Gabriel Jacobo
2014-05-13 19:42:40 -03:00
e772f0df2b
Added a binding for the NVIDIA Shield controller
Sam Lantinga
2014-05-13 12:10:37 -07:00
6735097332
Updated coding style to match the rest of SDL
Sam Lantinga
2014-05-13 11:32:36 -07:00
81c574b8cb
Fixed typo in header comment.
Philipp Wiesemann
2014-05-11 15:59:22 +02:00
49cef77e31
WinRT: fixed the max-button count for WinPhone 8.1 message boxes
David Ludwig
2014-05-10 23:39:54 -04:00
ea99e0c03e
Added limited message-box support for Windows Phone 8.1
David Ludwig
2014-05-10 23:28:53 -04:00
d5a2e55d48
Improve handling of focus behaviour on Android. Patch by Alexey Petruchik
Gabriel Jacobo
2014-05-10 18:24:39 -03:00
b701175ab5
Include gl2platform.h in SDL_opengles2.h so we play nice with GLEW.
Gabriel Jacobo
2014-05-10 17:00:37 -03:00
de0d349e68Fixes#2512, handle configuration change messages sent by Wayland. Patch by Bryan Cain.
Gabriel Jacobo
2014-05-10 16:50:05 -03:00
d57d99a108
Updated iOS deployment target to iOS 5.1
Sam Lantinga
2014-05-10 12:34:16 -07:00
fb389950a7Fixes#2529, guard SDL_d3math.* with the proper defines
Gabriel Jacobo
2014-05-10 16:23:06 -03:00
536dd01307Fixes#2519, clear error if using the default library path for EGL succeeds.
Gabriel Jacobo
2014-05-10 16:13:22 -03:00
f565d81af7
A few more ANDROID for __ANDROID__ replacements
Gabriel Jacobo
2014-05-10 15:57:09 -03:00
548a0ee7b8
__ANDROID__ is the correct macro to check for an android system.ANDROID is only defined in NDK build system (.mk) and not in the standalone NDK.
Dimitris Zenios
2014-05-05 22:21:26 +03:00
3672aeb497
Export android jni functions even when build with -fvisibility=hidden flag
Dimitris Zenios
2014-05-05 22:26:21 +03:00
fd2d26ebbe
Show android video or android audio if detected in autotools summary.
Dimitris Zenios
2014-05-05 22:36:47 +03:00
1a4c0dacbc
Temporary fix for bug 2494 - Crashes due to the non thread-safe SDL_malloc/SDL_free on Windows
Sam Lantinga
2014-05-10 11:27:43 -07:00