Commit Graph

  • 1d1a0d7f03 atomic: Patched to compile on Android. Ryan C. Gordon 2017-04-13 15:28:56 -04:00
  • 1c9c7633d9 atomic: favor compiler intrinsics for compare-and-swap over macOS APIs. Ryan C. Gordon 2017-04-13 13:28:52 -04:00
  • 8c00de57f6 atomic: let Clang always use atomic_load_n if available. Ryan C. Gordon 2017-04-13 13:22:23 -04:00
  • 2bf79c2e0e mir: Fixed typo in error messages. Philipp Wiesemann 2017-04-09 23:00:54 +02:00
  • f6eb23a617 linux: Changed two variables to be static. Philipp Wiesemann 2017-04-09 23:00:42 +02:00
  • 37b49e6344 ios: Fixed compiler warnings about unused variables in demo. Philipp Wiesemann 2017-04-09 23:00:26 +02:00
  • 366adae360 android: More robust fix for screen locking in landscape (thanks, Sylvain!). Ryan C. Gordon 2017-04-07 20:17:30 -04:00
  • 27023ed2b3 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
  • 1eb92f6342 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
  • a4dbf56574 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
  • 66555f6115 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
  • 53f3786bc0 Added support for a number of game controllers, including the Nintendo Switch Pro Controller Sam Lantinga 2017-04-04 08:43:44 -07:00
  • 5789da67cf 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
  • 1517ba7285 PSP: Fixed error messages. Philipp Wiesemann 2017-04-02 21:33:54 +02:00
  • f96cdca4e7 Mir: Changed two internal functions to be static. Philipp Wiesemann 2017-04-02 21:33:42 +02:00
  • f1296a8652 Emscripten: Simplified option name in build script and README. Philipp Wiesemann 2017-04-02 21:33:24 +02:00
  • 06d6ada817 Updated generated configure script. Philipp Wiesemann 2017-04-02 21:33:02 +02:00
  • 7ae7fceb2e Fixed typos and documentation in haptic header file. Philipp Wiesemann 2017-04-02 21:32:49 +02:00
  • c57fe6d78a Backing out broken change from previous commit. Ryan C. Gordon 2017-04-01 00:46:42 -04:00
  • ed7f16e227 Intentionally breaking buildbot to test email server change. Ryan C. Gordon 2017-04-01 00:46:15 -04:00
  • 2ce52bf9e1 README-hg.md: Updated main Mercurial website. Ryan C. Gordon 2017-04-01 00:17:15 -04:00
  • 1018d56485 BUGS.txt: Changed mailing list link to discourse.libsdl.org. Ryan C. Gordon 2017-04-01 00:05:25 -04:00
  • 2092a88359 android: fix wrong events when locking device in landscape (thanks, Joshua!). Ryan C. Gordon 2017-03-31 23:43:53 -04:00
  • 7891e72dca __atomic_load_n() appears to be available in GCC 5 but not GCC 4 Sam Lantinga 2017-03-30 06:52:34 -07:00
  • 028716e79f wasapi: deal with default device changes, and more robust failure recovery. Ryan C. Gordon 2017-03-30 16:33:47 -04:00
  • c85c57a05d wasapi: Handle lost audio device endpoints. Ryan C. Gordon 2017-03-29 14:23:39 -04:00
  • f2179944cc Patched to compile on some platforms. Ryan C. Gordon 2017-03-29 12:04:17 -04:00
  • 1dc9ae5c1e Use GCC's atomic loads in SDL_AtomicGet and SDL_AtomicGetPtr James Legg 2017-03-29 15:48:22 +01:00
  • 266816b4aa Removed newlines from error messages. Philipp Wiesemann 2017-03-26 21:00:19 +02:00
  • 00da0824f5 Updated axis/button mapping for Dualshock 3, for upcoming Sony driver changes Sam Lantinga 2017-03-23 13:53:09 -07:00
  • 6bd87635ee iOS: Fixed compiling template on C89 compilers. Philipp Wiesemann 2017-03-19 22:17:01 +01:00
  • 34a2a46f66 Removed unused constant in testgesture program. Philipp Wiesemann 2017-03-19 22:16:37 +01:00
  • 7122036d03 Updated file name in porting README. Philipp Wiesemann 2017-03-19 22:16:24 +01:00
  • c35f46d03c mir: Set the max/min w/h vs just setting the window w/h Brandon Schaefer 2017-03-18 13:57:57 -07:00
  • 60ba8552d8 Backed out changeset e3fcdad257fc - testaudiocapture.c already does what we want Sam Lantinga 2017-03-16 16:45:12 -07:00
  • 570e286fd6 Added an audio recording test program Sam Lantinga 2017-03-15 11:39:54 -07:00
  • 22161480ee Compile fix for android. Sam Lantinga 2017-03-14 07:22:08 -07:00
  • 6814f5dbc0 ALSA driver improvements: * alsa hotplug thread is low priority * give a chance for other threads to catch up when audio playback is not progressing * use nonblocking for alsa audio capture There is a bug with SDL hanging when an audio capture USB device is removed, because poll never returns Sam Lantinga 2017-03-14 07:20:14 -07:00
  • c4d54504fa differentiate between capture / playback audio thread names Sam Lantinga 2017-03-14 07:16:56 -07:00
  • 763e138903 Added an API to get the joystick instance ID before opening the device: SDL_JoystickGetDeviceInstanceID() Sam Lantinga 2017-03-09 16:09:16 -08:00
  • 6bdc0e724d Fixed tabs to spaces Sam Lantinga 2017-03-09 15:12:19 -08:00
  • aae481294d Added support to loopwave for hotplugging audio devices Sam Lantinga 2017-03-09 14:50:23 -08:00
  • c1802ef646 Fixed compile error with gcc -std=c99 Sam Lantinga 2017-03-06 21:25:06 -08:00
  • 20c846ebe7 Fixed warning about implicit conversion in controllermap program. Philipp Wiesemann 2017-03-04 23:05:47 +01:00
  • 72fdf62980 Mir: Fixed crash if creating default cursor failed. Philipp Wiesemann 2017-03-04 23:05:32 +01:00
  • 42d02890f4 Linux: Fixed error message. Philipp Wiesemann 2017-03-04 23:05:11 +01:00
  • 6aa17426a6 video: Don't compile isAtLeastGL3() if we don't have OpenGL support _at all_. Ryan C. Gordon 2017-03-03 16:38:45 -05:00
  • ca0bf151d5 Fix some more compiler warnings on armcc. Ryan C. Gordon 2017-03-03 16:38:17 -05:00
  • d526b8a1e9 Some patches to make SDL compile with armcc (ARM's C compiler). Ryan C. Gordon 2017-03-02 13:33:04 -05:00
  • 94a69443c7 mistake: Revert the files that I did not mean to commit Brandon Schaefer 2017-03-01 15:05:54 -08:00
  • 7bbb13ea59 * Some refactoring and bug fixes. Thanks Micha? Kuchta! Brandon Schaefer 2017-03-01 14:50:59 -08:00
  • bc8778854e raspberrypi: RPI_Destroy() should free the SDL_VideoDevice and its driverdata. Ryan C. Gordon 2017-02-28 19:48:52 -05:00
  • 5a47ee0365 mir: Get ready for Mir 1.0, clean up deprecations. Thanks Micha? Kuchta! Brandon Schaefer 2017-02-27 12:20:16 -08:00
  • 1066bcc83a audio: clarified what SDL_AudioSpec::samples is, removed note about power of 2. Ryan C. Gordon 2017-02-27 10:11:40 -05:00
  • e5d9b25d8c Fixed comment style. Philipp Wiesemann 2017-02-26 21:20:39 +01:00
  • 32ef85b52c Updated generated configure script. Ryan C. Gordon 2017-02-26 01:03:39 -05:00
  • a4249b48ee Patched to compile on C89 compilers. Ryan C. Gordon 2017-02-26 00:56:13 -05:00
  • 4d525d465b configure: Cygwin and MingW should try to use -Wdeclaration-after-statement. Ryan C. Gordon 2017-02-26 00:54:45 -05:00
  • 3b9e4d0a6c audio: Try to keep callbacks firing at normal pace when device is lost. Ryan C. Gordon 2017-02-26 00:39:22 -05:00
  • 07519a6b95 Removed a bunch of unnecessary #ifdefs. Ryan C. Gordon 2017-02-26 00:40:04 -05:00
  • a366c35f37 audio: run the audio callback even if device was lost. Ryan C. Gordon 2017-02-26 00:12:33 -05:00
  • 5728cb2025 audio: Make sure the disk and dummy targets are the last ones we try to init. Ryan C. Gordon 2017-02-26 00:10:02 -05:00
  • e07e446a3f WinRT: removed Windows 8.0 from build-bot + NuGet package creation scripts David Ludwig 2017-02-25 21:23:12 -05:00
  • b13c443cd8 WinRT: removed buildbot debug code, pending further research David Ludwig 2017-02-24 20:49:14 -05:00
  • f7bfa3b79e WinRT: more buildbot debug code David Ludwig 2017-02-24 20:19:28 -05:00
  • ecb1eb823e WinRT: added code to help debug a buildbot error David Ludwig 2017-02-24 19:59:57 -05:00
  • 0e7530b057 cmake: add WASAPI audio target to the build (thanks, Martin!). Ryan C. Gordon 2017-02-23 22:38:04 -05:00
  • 71a4e8ed13 Stop CoreAudio from doing expensive audio rate conversion Sam Lantinga 2017-02-23 12:10:02 -08:00
  • a9762551cd Added config for the Razer Wildcat on Mac OS X Sam Lantinga 2017-02-20 11:02:35 -08:00
  • 43dbbd6375 Updated iOS fat build Sam Lantinga 2017-02-20 10:55:49 -08:00
  • 94754c3968 Updated config headers to override the base SDL_config.h if both are included Sam Lantinga 2017-02-20 10:55:33 -08:00
  • dfa8fb3105 Fixed warnings if compiling loopwave programs with C++. Philipp Wiesemann 2017-02-19 21:05:42 +01:00
  • 9f8c1d779a Updated library name in header file. Philipp Wiesemann 2017-02-19 21:05:26 +01:00
  • cfcec57f42 Fixed comment. Philipp Wiesemann 2017-02-19 21:05:09 +01:00
  • 9428ff19a9 Added support for the Razer Wildcat on Linux Sam Lantinga 2017-02-17 17:46:58 -08:00
  • 0d647d35b0 Emscripten: implement custom cursors Charlie Birks 2017-02-17 10:13:17 +00:00
  • 33bddcfda2 Emscripten: refactor cursor handling Charlie Birks 2017-02-17 10:13:12 +00:00
  • 90e302d074 Remove link to emscripten tests Not updated since early port. Also stopped working when Dropbox stopped allowing HTML to be parsed. Charlie Birks 2017-02-17 10:13:10 +00:00
  • 613955b4f2 Emscripten: only update pixel ratio if HiDPI is enabled Charlie Birks 2017-02-17 10:13:07 +00:00
  • e8677a1bd2 audio: Added basic WAVE_FORMAT_EXTENSIBLE support to .wav loader. Ryan C. Gordon 2017-02-17 02:25:37 -05:00
  • 4a0b287def More HTTPS doc tweaks. Ryan C. Gordon 2017-02-16 16:59:07 -05:00
  • 8ade96ccc4 More HTTPS changes in the documentation. Ryan C. Gordon 2017-02-16 16:52:03 -05:00
  • 8ad131b78e readme: more HTTPS changes. Ryan C. Gordon 2017-02-16 13:55:12 -05:00
  • 32f85a99d8 readme: correct webpage URL to use HTTPS. Ryan C. Gordon 2017-02-16 13:30:34 -05:00
  • 1ed41d6d0d Patched to compile on Windows. Ryan C. Gordon 2017-02-14 03:12:09 -05:00
  • 6046fd4cb0 wasapi: Initial WASAPI support, for Windows Vista and later. Ryan C. Gordon 2017-02-14 03:03:27 -05:00
  • c93bca489d stdlib: Fixed crash on SDL_snprintf("%s", NULL). Ryan C. Gordon 2017-02-14 02:49:08 -05:00
  • d1eb2d190d thread: Don't use SetThreadDescription on WinRT right now. Ryan C. Gordon 2017-02-13 17:05:14 -05:00
  • 70c0400b12 windows: Try to unify all the GUID comparison code into a core helper function. Ryan C. Gordon 2017-02-13 17:00:46 -05:00
  • e5fc93baca audio: Don't wrap bootstrap declarations in preprocessor macros. Ryan C. Gordon 2017-02-13 16:59:02 -05:00
  • ad9c702f6a audio: SDL_AudioStream's *_sample_frame_size should be in bytes, not bits. Ryan C. Gordon 2017-02-13 16:56:41 -05:00
  • 175f1e8f4a audio: Added a ThreadDeinit() method to match ThreadInit. Ryan C. Gordon 2017-02-13 16:55:00 -05:00
  • 886736a2c8 Fixed bug 3584 - Small stack size for audio callback thread Sam Lantinga 2017-02-11 16:38:16 -08:00
  • cf31ea1478 Fixed bug 3583 - X11 touch device can be permanently lost Sam Lantinga 2017-02-11 11:14:48 -08:00
  • 06ccb71bcd Make sure the memory barrier functions are always available, and now they are implemented on Android __ARM_ARCH_5TE__ Sam Lantinga 2017-02-10 11:21:15 -08:00
  • 9171f71dbe Fixed warning in Android build Sam Lantinga 2017-02-10 09:41:16 -08:00
  • 107c19daad Log the error returned by XAudio2Create() Sam Lantinga 2017-02-09 06:01:14 -08:00
  • 8eee82cd84 Windows: Fixed warning about unused variable. Philipp Wiesemann 2017-02-03 23:30:43 +01:00
  • 33ff5bd148 Fixed typo in log message. Philipp Wiesemann 2017-02-03 23:30:29 +01:00
  • 8f78f5bb94 Fixed build on Apple TV Sam Lantinga 2017-02-02 16:56:02 -08:00