7399062855
Renamed SDLGenericMotionListener back to SDLGenericMotionListener_API12
Joseba Garc?a Etxebarria
2015-03-27 18:09:51 -04:00
e7a659ebcc
Removed not needed call to SDL_free().
Philipp Wiesemann
2015-03-25 22:48:57 +01:00
37672303d3
Android: Removed outdated comment from source.
Philipp Wiesemann
2015-03-25 22:47:22 +01:00
03f5185eff
Make the Dynamic API master switch more clear.
Ryan C. Gordon
2015-03-25 11:18:54 -04:00
1270247ccd
Add a hint watch callback for SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH.
Ryan C. Gordon
2015-03-25 10:59:10 -04:00
83a44680cb
Removed unnecessary SDL_log.h include.
Ryan C. Gordon
2015-03-25 10:48:59 -04:00
ca7b18e43f
* More Android patch work
Joseba Garc?a Etxebarria
2015-03-24 21:02:28 +01:00
387fa5dcfb
* Improve mouse support in Android. These changes require Android API v12 to compile
Joseba Garc?a Etxebarria
2015-03-24 20:45:29 +01:00
87ef19c44a
Keep track of maximum number of events in-flight in the SDL queue at once.
Ryan C. Gordon
2015-03-25 10:19:10 -04:00
3f9f0027bc
Patched to compile on C89 compilers.
Ryan C. Gordon
2015-03-24 14:40:31 -04:00
672ccb4f54
Make the signal handler hint more generic.
Ryan C. Gordon
2015-03-24 14:36:36 -04:00
a91a5604cd
Added a hint to prevent SDL from installing signal handlers.
Ryan C. Gordon
2015-03-24 14:29:25 -04:00
162ef5eae9
Cleanups in the joystick code.
Ryan C. Gordon
2015-03-24 13:52:01 -04:00
4a071b311b
Mac: patched to compile with haptic subsystem disabled (thanks, Rodrigo!).
Ryan C. Gordon
2015-03-24 03:24:57 -04:00
9470f4a2bd
Better fixes for CMake subsystem enabling (thanks, Sebastian!).
Ryan C. Gordon
2015-03-24 03:21:57 -04:00
d9f378530b
Make SDL error string formatting deal with nasty corner cases.
Ryan C. Gordon
2015-03-24 03:12:35 -04:00
54f4725a12
Ran hardcoded game controller database through sort_controllers.py.
Ryan C. Gordon
2015-03-24 02:48:16 -04:00
a300a73501
Added Logitect RumblePad 2 controller mapping for Linux (thanks, Nicholas!).
Ryan C. Gordon
2015-03-24 02:47:25 -04:00
878c2324b1
winmm: Let audio callback buffer size be less than 1/4 second (thanks, Jon!).
Ryan C. Gordon
2015-03-24 02:13:25 -04:00
ac2bb3f200
configure script: fix recursive mutex test on Linux systems (thanks, Ozkan!).
Ryan C. Gordon
2015-03-23 20:07:24 -04:00
c76130c9cc
X11: Reenabled setlocale() and fork() for message boxes.
Ryan C. Gordon
2015-03-23 19:54:33 -04:00
331a434fa1
Windows: Report window HDC in SDL_SysWMinfo.
Ryan C. Gordon
2015-03-23 19:47:08 -04:00
528e48b980
Android: Removed not needed include statement.
Philipp Wiesemann
2015-03-23 20:24:04 +01:00
8a58e12f5f
Updated test program for Emscripten.
Philipp Wiesemann
2015-03-23 20:21:45 +01:00
b42c259752
Cocoa: Handle more cases of lost focus when Key window closes (thanks, Alex!).
Ryan C. Gordon
2015-03-22 01:25:12 -04:00
49f33b41a7
Added missing SDL_DOLLARRECORD event type documentation in header.
Philipp Wiesemann
2015-03-21 22:42:53 +01:00
716ef0d5f2
Fixed confusing audio and touch events because of shared enumeration values.
Philipp Wiesemann
2015-03-21 08:01:43 +01:00
eb49f8caa3
Patched to compile on OpenGL ES-based platforms.
Ryan C. Gordon
2015-03-21 00:09:22 -04:00
161e5d150f
Whoops, lost a newline in here.
Ryan C. Gordon
2015-03-20 23:29:09 -04:00
3c76d2ff19
Several corrections to the CMake project files (thanks, Ozkan!).
Ryan C. Gordon
2015-03-20 21:57:15 -04:00
34415c4557
Windows: support for OpenGL extension WGL_ARB_context_flush_control.
Ryan C. Gordon
2015-03-20 12:23:53 -04:00
89be609adf
Wayland: Properly discover displays and their modes.
Emmanuel Gil Peyrot
2015-03-18 01:14:45 +01:00
e7ba78a35a
CMake: Dependency variable for FUSIONSOUND_SHARED was wrong (thanks, Kaleb!).
Ryan C. Gordon
2015-04-07 21:52:22 -04:00
5b6e064acd
CMake: fix CHECK_OBJC_SOURCE_COMPILES to work with GCC (thanks, Ivan!).
Ryan C. Gordon
2015-04-07 20:01:43 -04:00
684f9e9603
Fixed typo in gesture README.
Philipp Wiesemann
2015-04-07 23:00:56 +02:00
3e9c2e7512
Another attempt to make MSVC's /W4 warning level cooperate with SDL_assert.
Ryan C. Gordon
2015-04-07 00:39:16 -04:00
a4458a7002
Fix DBus error message if IBus couldn't be initialized.
Alex Baines
2015-03-20 19:47:03 +00:00
8011557458
Refuse to make a window that's too large. Some systems (x11) freak out at this.
Ryan C. Gordon
2015-04-06 18:26:13 -04:00
f5d96416ad
Allow setting of GL_CONTEXT_RELEASE_BEHAVIOR when creating the GL context when GLX_ARB_context_flush_control is available.
Marc Di Luzio
2015-03-06 16:03:40 +00:00
70191a9302
CMake: Don't search for the OpenGL library on Mac OS X. It's always there.
Ryan C. Gordon
2015-03-20 11:51:03 -04:00
182a7768e1
Audio hotplug fixes for winmm and XAudio2 backends.
Ryan C. Gordon
2015-03-20 11:11:44 -04:00
c1091f32fb
CMake project files no longer force you to link against Wayland or Mir libs.
Ryan C. Gordon
2015-03-20 10:35:42 -04:00
d8988ea842
Fixed some defaults in CMake project file.
Ryan C. Gordon
2015-03-20 10:02:45 -04:00
6c072917e9
Patched to compile on gcc2.
Ryan C. Gordon
2015-03-19 23:54:35 -04:00
06e85acd72
Removed unused variable.
Ryan C. Gordon
2015-03-19 23:45:34 -04:00
b24ff44692
Make static analysis happy.
Ryan C. Gordon
2015-03-19 23:44:47 -04:00
277e07e700
Fixed a compiler warning on Visual Studio.
Ryan C. Gordon
2015-03-19 23:39:53 -04:00
1877f5745b
Patched to compile on Windows.
Ryan C. Gordon
2015-03-19 23:35:43 -04:00
e9a7a81f28
Immediately minimize the goofy window in testaudiohotplug.
Ryan C. Gordon
2015-03-19 22:20:12 -04:00
537b68b9f0
Zero out the audio hotplug event structure, so the "padded" fields are sane.
Ryan C. Gordon
2015-03-19 22:11:20 -04:00
cafd030ba6
PulseAudio: Hotplug support!
Ryan C. Gordon
2015-03-19 22:08:12 -04:00
11cffe1dc9
SDL_RemoveAudioDevice() should specify capture vs output.
Ryan C. Gordon
2015-03-19 15:43:00 -04:00
1e78ef2155
Removed the broken audio streaming code, other small cleanups.
Ryan C. Gordon
2015-03-19 13:34:17 -04:00
5cbb32ef57
Disconnected/broken/lost audio devices now continue to fire their callback.
Ryan C. Gordon
2015-03-19 13:27:10 -04:00
75973f81b2
Don't assert if an audio backend reports the same device disconnected twice.
Ryan C. Gordon
2015-03-19 13:15:28 -04:00
7c4b88f2db
PulseAudio: Improved multidevice support.
Ryan C. Gordon
2015-03-18 10:29:04 -04:00
f9cfd9fa14
Bunch of reworking to how we manage audio devices.
Ryan C. Gordon
2015-03-18 02:01:17 -04:00
0e02ce0856
Initial work on audio device hotplug support.
Ryan C. Gordon
2015-03-16 02:11:39 -04:00
338bf5d297
Changed some SDL_memset() calls to SDL_zero().
Ryan C. Gordon
2015-03-18 10:09:39 -04:00
97ff10c63c
Tweaked a couple comments, added some FIXMEs.
Ryan C. Gordon
2015-03-18 10:09:23 -04:00
1110f53610
WinRT: updated names, and references-to, various ANGLE/WinRT repositories
David Ludwig
2015-03-18 12:03:32 -04:00
43674503e1
Patched to compile on C89 compilers.
Ryan C. Gordon
2015-03-18 10:05:36 -04:00
9a83151e9c
PulseAudio: Added multiple device support, other cleanups.
Ryan C. Gordon
2015-03-18 09:59:22 -04:00
73feb8c042
Fixed a compiler warning.
Ryan C. Gordon
2015-03-18 00:56:33 -04:00
522fd82901
WinRT: made OpenGL window-init work with latest round of ANGLE/WinRT updates
David Ludwig
2015-03-17 19:45:47 -04:00
b12ea75991
WinRT: another ANGLE/OpenGL-initialization, error messaging tweak
David Ludwig
2015-03-17 10:25:21 -04:00
1083ae22e6
WinRT: ANGLE/OpenGLES-initialization, error message improvements
David Ludwig
2015-03-17 10:22:36 -04:00
5b7ddd534c
Updated name of assert type in test program.
Philipp Wiesemann
2015-03-15 19:25:10 +01:00
809b7be27f
Cleaning out a silly coding style I used to use.
Ryan C. Gordon
2015-03-13 12:20:17 -04:00
3a53258814
Removed an unnecessary #ifdef.
Ryan C. Gordon
2015-03-13 00:48:30 -04:00
da843f6a8d
Updated internal documentation comments.
Philipp Wiesemann
2015-03-11 21:14:21 +01:00
060d243f66
Windows: Fixed ignoring return value of internal function.
Philipp Wiesemann
2015-03-06 21:34:10 +01:00
8f4c2a8f9c
Emscripten: Fixed ignoring return value of internal function.
Philipp Wiesemann
2015-03-06 21:29:25 +01:00
1686af726e
Emscripten: Partially fixed not removing key event callbacks if hint was used.
Philipp Wiesemann
2015-03-06 21:26:37 +01:00
483ea8b7b0
Fixed SDL_PRI?64 for 64-bit Linux.
Ryan C. Gordon
2015-03-02 21:36:45 -05:00
d34d608e59
SDL - fix crash on OSX when removing a device. If the remove happened due to the CFRunLoopRunInMode call in SDL_SYS_JoystickDetect then we would delete the device right away, before SDL_SYS_JoystickUpdate could clean it up. So move the CFRunLoopRunInMode to after the cleanup logic, preventing this case. This does mean that adds and removes of joysticks now take 1 extra frame to show up.
Alfred Reynolds
2015-03-02 11:43:24 -08:00
d6c4296653
Fixed bug 2868 - SDL_FillRect can crash if surface's clip-rect is out-of-bounds
David Ludwig
2015-02-22 20:34:08 -05:00
8321efba33
Emscripten: Fixed out of range joystick device index after joystick disconnect.
Philipp Wiesemann
2015-02-22 23:21:32 +01:00
5c43207fad
Emscripten: Fixed sending button and motion events for not opened joysticks.
Philipp Wiesemann
2015-02-22 21:00:35 +01:00
e4be934f5d
Fixed naming conventions in some SDL_assert types, added compat #defines.
Ryan C. Gordon
2015-02-21 00:33:25 -05:00
201868156e
Mac OS X: Better way to stop duplicate joystick reports (thanks, Kyungdahm!).
Ryan C. Gordon
2015-02-19 23:52:10 -05:00
33b9d9ad7f
Windows: Added a FIXME.
Ryan C. Gordon
2015-02-19 21:51:13 -05:00
674eb55638
Windows: Free the argv we allocated for console_wmain().
Ryan C. Gordon
2015-02-19 21:50:40 -05:00
e974ccf828
Windows: Added a FIXME.
Ryan C. Gordon
2015-02-19 21:49:30 -05:00
f7c4c3d010
Windows: Make a distinction between ANSI mainline and UTF-8 mainline.
Ryan C. Gordon
2015-02-19 21:49:15 -05:00
e93ee5d7b1
Windows: Support unicode arguments for console applications (thanks, Jorgen!).
Ryan C. Gordon
2015-02-19 21:44:41 -05:00
1b2cb70ca0
Mac OS X: replace some deprecated APIs with modern equivalents (thanks, Alex!).
Ryan C. Gordon
2015-02-19 19:55:30 -05:00
635a369c9d
SDL_SetWindowPosition respects display num for SDL_WINDOWPOS_CENTERED_DISPLAY.
Edward Rudd
2015-02-19 19:40:58 -05:00
b88ca1b4a6
the last parameter of XChangeProperty is the number of elements.. and when the element format is 32.. the element is "long" so we have 5 long elements here.
Edward Rudd
2015-02-10 16:28:56 -05:00
66867e654c
Merged default into iOS-improvements
Alex Szpakowski
2015-01-24 23:58:07 -04:00
3e17fbee7e
Fixed the extended launch screen causing minor visual issues when rotating the screen in some circumstances.
Alex Szpakowski
2015-01-24 23:53:41 -04:00