Commit Graph

  • ef90c17686 nacl: Fixed crash if allocating memory for audio device failed. Philipp Wiesemann 2017-05-28 21:50:47 +02:00
  • 22e6082d39 qnx: Removed unnecessary check for available audio devices. Philipp Wiesemann 2017-05-28 21:50:37 +02:00
  • ec1c016ea0 qnx: Removed unnecessary call to SDL_zerop() after SDL_calloc(). Philipp Wiesemann 2017-05-28 21:50:27 +02:00
  • c5ca51cc03 haiku: Fixed SDL_SetClipboardText() putting random data in clipboard. Philipp Wiesemann 2017-05-28 21:50:11 +02:00
  • 451ca211fc haiku: Correctly set keyboard focus (thanks, Kai!). Ryan C. Gordon 2017-05-28 15:36:09 -04:00
  • ea55b8c4f2 power: Add Linux org.freedesktop.UPower D-Bus implementation. Ryan C. Gordon 2017-05-28 07:14:11 -04:00
  • 5435a621d1 linux: Simplify D-Bus interface, remove lots of boilerplate. Ryan C. Gordon 2017-05-28 07:11:52 -04:00
  • 77b469666b linux: Make system D-Bus connection available (in addition to session). Ryan C. Gordon 2017-05-28 07:08:10 -04:00
  • a60238d3e0 wasapi: properly report init failure if on pre-Vista version of Windows. Ryan C. Gordon 2017-05-28 00:41:55 -04:00
  • ee5bfb1b02 haiku: Fixed SDL_SetClipboardText() allocating too much memory and cutting text. Philipp Wiesemann 2017-05-27 23:30:21 +02:00
  • 28aebb4bb8 Removed unused errno includes. Philipp Wiesemann 2017-05-27 23:30:07 +02:00
  • 6abcd8c63b code style: wrap a single-statement if in braces. Ryan C. Gordon 2017-05-27 00:33:26 -04:00
  • d0044c7009 windows: msgboxes should specify a parent HWND if possible (thanks, Ismael!). Ryan C. Gordon 2017-05-27 00:30:06 -04:00
  • 510feea5ac Changed messages about not recognized keys to include discourse link. Philipp Wiesemann 2017-05-26 22:45:52 +02:00
  • a632226fbe emscripten: Fixed compiling on C89 compilers. Philipp Wiesemann 2017-05-26 22:45:40 +02:00
  • 2c66e2590c ios: Fixed math include in demos. Philipp Wiesemann 2017-05-25 23:01:59 +02:00
  • c1a9b5c41f directfb: Changed internal function to be static. Philipp Wiesemann 2017-05-25 23:01:34 +02:00
  • a9e988ba80 android: Fixed parameter list in function definitions. Philipp Wiesemann 2017-05-25 23:01:16 +02:00
  • ccb23bd165 wayland: Fixed freeing memory of SDL_malloc() with plain free(). Philipp Wiesemann 2017-05-25 23:00:58 +02:00
  • 4baafc70a6 Removed unused internal window shape functions. Philipp Wiesemann 2017-05-25 23:00:43 +02:00
  • 632becceb1 audio: rename bsd target to netbsd. Ryan C. Gordon 2017-05-24 19:56:59 -04:00
  • 11c7c95872 coreaudio: we don't need to track number of allocated audio buffers anymore. Ryan C. Gordon 2017-05-24 13:28:13 -04:00
  • 1e0aa57252 coreaudio: Better handling of audio buffer queue management. Ryan C. Gordon 2017-05-24 13:25:31 -04:00
  • e89a7de6ee Emscripten: Prevent default on arrow keys Charlie Birks 2017-05-24 14:04:39 +01:00
  • 785333b484 Emscripten: fixed incorrect conversion of touch motion events to mouse motion events Patrick Monaghan 2017-05-24 14:04:25 +01:00
  • 3814517cb2 coreaudio: looks like we need more like a 10ms buffer minimum, not 50ms. Ryan C. Gordon 2017-05-24 01:28:03 -04:00
  • 139f3d0491 coreaudio: dynamically allocate AudioQueueBuffers. Ryan C. Gordon 2017-05-24 00:12:22 -04:00
  • 7fe081e5c4 Removed unnecessary call to free() in testoverlay2 program. Philipp Wiesemann 2017-05-20 23:30:47 +02:00
  • ec86349dd8 Removed unused signal includes and handler in test programs. Philipp Wiesemann 2017-05-20 23:30:32 +02:00
  • 2e8438e5a7 Removed redundant mouse clean up on quit for some platforms. Philipp Wiesemann 2017-05-19 23:30:59 +02:00
  • f06f187582 android: add screenSize to AndroidManifest's configChanges (thanks, Daniel!). Ryan C. Gordon 2017-05-19 15:06:05 -04:00
  • 252c9e0637 assert: Better Emscripten support. Ryan C. Gordon 2017-05-19 14:51:03 -04:00
  • faea0af98d assert: Check for Clang _and_ GCC, in case they ever drop compatibility. Ryan C. Gordon 2017-05-19 14:49:16 -04:00
  • b80cea5e0f assert: allow assertions to work on platforms without threads. Ryan C. Gordon 2017-05-19 12:54:17 -04:00
  • 986ec1cebb wasapi: don't mark capture devices as failed for AUDCLNT_S_BUFFER_EMPTY. Ryan C. Gordon 2017-05-19 12:40:55 -04:00
  • 7667547003 render: GL_DestroyRender() should activate first. Ryan C. Gordon 2017-05-18 21:00:11 -04:00
  • 41307df3b9 test: info now reports usable display bounds and DPI (thanks, Eric!). Ryan C. Gordon 2017-05-18 16:29:10 -04:00
  • df488f3bc7 Patched to compile on Windows. Ryan C. Gordon 2017-05-18 16:27:36 -04:00
  • 58ea188693 wasapi: Replace tabs with strings in source code. Ryan C. Gordon 2017-05-18 15:46:06 -04:00
  • a93bb485cd wasapi: Deal with AUDCLNT_S_BUFFER_EMPTY when flushing audio device. Ryan C. Gordon 2017-05-18 15:43:51 -04:00
  • 0dd1b088c1 audio: One more callbackspec fix (thanks, Simon!). Ryan C. Gordon 2017-05-18 15:33:17 -04:00
  • 03b778fc4f Fixed restoring a window that was maximized then minimized, then restored. Sam Lantinga 2017-05-16 17:48:57 -07:00
  • 412cf5a3d8 SDL - add SDL_WINDOW_VULKAN and make Android_CreateWindow only create an EGLSurface when SDL_WINDOW_VULKAN is not present. This makes it so the ANativeWindow* can be used with vkCreateAndroidSurfaceKHR, otherwise it will fail because having both an EGLSurface and VkSurfaceKHR attached to a window is not allowed according to the Vulkan spec: Sam Lantinga 2017-05-16 06:30:39 -07:00
  • 3cd9fb2270 Added missing path in porting README. Philipp Wiesemann 2017-05-13 23:01:04 +02:00
  • a0b7caa6c1 directfb: Fixed compiler warnings about undefined functions. Philipp Wiesemann 2017-05-13 23:00:53 +02:00
  • 09f7a1740e emscripten: Fixed not removing pointer lock event callback. Philipp Wiesemann 2017-05-13 23:00:35 +02:00
  • 1646a146e8 emscripten: Changed internal functions to be static. Philipp Wiesemann 2017-05-12 23:01:17 +02:00
  • 3c0c53dcf1 Fixed warnings about shadowed global variable. Philipp Wiesemann 2017-05-12 23:01:04 +02:00
  • 1818c0f207 directfb: Removed duplicate comment. Philipp Wiesemann 2017-05-12 23:00:40 +02:00
  • 4dcdd44d86 directfb: Fixed typo in log message. Philipp Wiesemann 2017-05-11 23:00:39 +02:00
  • 0aeaa020f6 directfb: Fixed compiler warnings about unused variables. Philipp Wiesemann 2017-05-11 23:00:21 +02:00
  • 513ca33128 audio: fixed more "spec" references that should have been "callbackspec". Ryan C. Gordon 2017-05-10 16:18:43 -04:00
  • 23f4f40fa1 Fixed build error on Linux Sam Lantinga 2017-05-09 03:19:58 -07:00
  • caa97b2b72 Added support for mixing Qt and SDL on iOS Sam Lantinga 2017-05-09 10:10:42 -07:00
  • ea5a592da1 haiku: Fixed crash on quit if max number of joysticks was connected. Philipp Wiesemann 2017-05-07 21:02:46 +02:00
  • 7e34eb4c67 haiku: Changed internal function to be static. Philipp Wiesemann 2017-05-07 21:02:31 +02:00
  • 607ba57a45 haiku: Fixed unlocking clipboard twice. Philipp Wiesemann 2017-05-07 21:02:16 +02:00
  • fadf27b0bc haiku: Fixed comment. Philipp Wiesemann 2017-05-06 21:46:11 +02:00
  • 1e1cf0ce21 mir: Fixed memory leak if system cursor id is unknown. Philipp Wiesemann 2017-05-06 21:46:00 +02:00
  • 1b843a390b emscripten: Fixed return type in event callback declaration. Philipp Wiesemann 2017-05-06 21:45:43 +02:00
  • e137c2c887 Fixed comment typo Sam Lantinga 2017-05-05 05:10:30 -07:00
  • 8e4704c2d4 iOS: Only mark interrupted audio devices as non-interrupted if AudioQueueStart is successful. Alex Szpakowski 2017-05-03 18:05:29 -03:00
  • 5b8403efbe cocoa: Don't crash on messagebox keypress without a successful SDL_Init(). Ryan C. Gordon 2017-05-02 21:46:28 -04:00
  • c88afd6c45 Fixed another AC_DEFINE. Ryan C. Gordon 2017-05-02 11:31:14 -04:00
  • 6c05862260 Fixed configure script. Ryan C. Gordon 2017-05-02 11:16:58 -04:00
  • 4b9dbe5967 haiku: Various fixes from haikuports. Ryan C. Gordon 2017-05-01 18:39:05 -04:00
  • d101e2956f windows: Changed six internal functions to be static. Philipp Wiesemann 2017-04-29 22:50:35 +02:00
  • 9eb08f5ba0 Removed unused field in loopwavequeue program. Philipp Wiesemann 2017-04-29 22:50:23 +02:00
  • 563a43b215 Added Steam Controller mappings for Linux and iOS Sam Lantinga 2017-04-27 15:52:37 -07:00
  • 634a894eb3 audio: another wrong struct that causes NULL pointer crash (thanks, Simon!). Ryan C. Gordon 2017-04-26 01:43:40 -04:00
  • 76adc80caf windows: Add SDL_WINDOW_ALWAYS_ON_TOP support. Joshua Granick 2017-04-20 21:31:44 -04:00
  • 77edf4a468 audio: Fix audio queue functions to use new spec structure. Juha Kuikka 2017-04-20 21:25:29 -04:00
  • 4aba100b38 emscripten: keep track of pointer lock losses and maybe regrab pointer later. Ryan C. Gordon 2017-04-20 13:00:54 -04:00
  • 8ef833a85b Fix crash in SDL audio thread, by Juha Kuikka Sam Lantinga 2017-04-18 22:17:40 -07:00
  • 812146e9fa atomic: Patched to compile on Android. Ryan C. Gordon 2017-04-13 15:28:56 -04:00
  • f0cb078cfd atomic: favor compiler intrinsics for compare-and-swap over macOS APIs. Ryan C. Gordon 2017-04-13 13:28:52 -04:00
  • 034b0758b5 atomic: let Clang always use atomic_load_n if available. Ryan C. Gordon 2017-04-13 13:22:23 -04:00
  • 0fe8162911 mir: Fixed typo in error messages. Philipp Wiesemann 2017-04-09 23:00:54 +02:00
  • 8d089ed8b6 linux: Changed two variables to be static. Philipp Wiesemann 2017-04-09 23:00:42 +02:00
  • 84b25e4696 ios: Fixed compiler warnings about unused variables in demo. Philipp Wiesemann 2017-04-09 23:00:26 +02:00
  • 598c15c2c5 android: More robust fix for screen locking in landscape (thanks, Sylvain!). Ryan C. Gordon 2017-04-07 20:17:30 -04:00
  • b19130eba6 Added support for the Cyborg V.3 Rumble Pad and the Mad Catz FightPad PRO Sam Lantinga 2017-04-07 03:39:43 -07:00
  • fd4a5bf1c3 Implemented Linux joystick blacklist Based on https://raw.githubusercontent.com/denilsonsa/udev-joystick-blacklist/master/generate_rules.py Sam Lantinga 2017-04-06 06:30:43 -07:00
  • 365adbb830 Fix divide-by-zero when videodata->ime_candpgsize is zero. We're seeing this happen in Dota in the wild. Drew Bliss 2017-04-06 13:27:51 -07:00
  • a733057f7d SDL - attempt to fix https://github.com/ValveSoftware/Dota-2/issues/1199 of mouse not locking in Dota. This fix is proposed by Ryan Gordon (increase timeout in X11_SetWindowGrab from 250ms to 5000ms). I'm going to integrate to source2 and ship it to dota customers. If it works, SamL will upsteam it to SDL. Drew Bliss 2017-04-06 13:27:48 -07:00
  • 25b0217c45 Added support for a number of game controllers, including the Nintendo Switch Pro Controller Sam Lantinga 2017-04-04 08:43:44 -07:00
  • d1403ccfca Fixed bug 1859 - No SDL_VIDEORESIZE event generated when the window manager sets the window size. Sam Lantinga 2017-04-03 13:32:53 -07:00
  • 6bc4a0c0a5 PSP: Fixed error messages. Philipp Wiesemann 2017-04-02 21:33:54 +02:00
  • b30056f1c4 Mir: Changed two internal functions to be static. Philipp Wiesemann 2017-04-02 21:33:42 +02:00
  • 11874a6261 Emscripten: Simplified option name in build script and README. Philipp Wiesemann 2017-04-02 21:33:24 +02:00
  • 9bcdd178a9 Updated generated configure script. Philipp Wiesemann 2017-04-02 21:33:02 +02:00
  • 2e182a3a8a Fixed typos and documentation in haptic header file. Philipp Wiesemann 2017-04-02 21:32:49 +02:00
  • cb57d80bb8 Backing out broken change from previous commit. Ryan C. Gordon 2017-04-01 00:46:42 -04:00
  • e14ac43f22 Intentionally breaking buildbot to test email server change. Ryan C. Gordon 2017-04-01 00:46:15 -04:00
  • b8b305d875 README-hg.md: Updated main Mercurial website. Ryan C. Gordon 2017-04-01 00:17:15 -04:00
  • 4d9cb2c29c BUGS.txt: Changed mailing list link to discourse.libsdl.org. Ryan C. Gordon 2017-04-01 00:05:25 -04:00
  • 299004244a android: fix wrong events when locking device in landscape (thanks, Joshua!). Ryan C. Gordon 2017-03-31 23:43:53 -04:00
  • 17813a09e8 __atomic_load_n() appears to be available in GCC 5 but not GCC 4 Sam Lantinga 2017-03-30 06:52:34 -07:00
  • f97b4d1dde wasapi: deal with default device changes, and more robust failure recovery. Ryan C. Gordon 2017-03-30 16:33:47 -04:00
  • 1061fe64cf wasapi: Handle lost audio device endpoints. Ryan C. Gordon 2017-03-29 14:23:39 -04:00