Commit graph

  • 063c9d40d7 audio: Replaced older resamplers in SDL_AudioCVT with the new ones. Ryan C. Gordon 2017-01-09 06:00:58 -0500
  • a41103b170 audio: Patched to compile if linking directly to libsamplerate. Ryan C. Gordon 2017-01-09 05:59:30 -0500
  • e0a40fb6a9 Implemented full evdev keyboard text support This is based on the Linux kernel driver, and has fallback mapping tables in case we aren't connected to a virtual terminal. Sam Lantinga 2017-01-09 02:54:42 -0800
  • 49292705a9 Fixed bug 3545 - SDL_EVDEV_do_text_input() may be too eager to find error cases Sam Lantinga 2017-01-08 20:03:18 -0800
  • 7b66295e05 Removed console check, let the kernel decide whether muting is appropriate on this terminal. We don't fail the init if we can't mute the terminal (we might be running from ssh, or on a system without virtual terminals, etc.) Sam Lantinga 2017-01-08 19:04:38 -0800
  • c16dd74f3b Check the return value of SDL_EVDEV_Init() Sam Lantinga 2017-01-08 18:32:20 -0800
  • 38854e0333 audio: Improvements in channel conversion code. Ryan C. Gordon 2017-01-08 16:18:49 -0500
  • 35166609d5 audio: Patched to compile with libsamplerate support (again). Ryan C. Gordon 2017-01-08 14:28:44 -0500
  • d005dc21d3 audio: Patched to compile with libsamplerate support. Ryan C. Gordon 2017-01-08 14:23:15 -0500
  • 19e937fc2e audio: libsamplerate loading now happens once at init time. Ryan C. Gordon 2017-01-08 14:18:03 -0500
  • 98cc9d10d3 Fixed coding style on a function signature. Ryan C. Gordon 2017-01-08 14:17:09 -0500
  • 53588ff6b8 README-linux: added notes about libsamplerate. Ryan C. Gordon 2017-01-08 14:16:19 -0500
  • 25b47ea381 Fixed attempting to dynamically load libsamplerate when shared object loading is disabled. Thanks to Ozkan Sezer for pointing this out Sam Lantinga 2017-01-08 10:52:02 -0800
  • 9d9e92cf46 Fixed bug 3304 - Android black screen on resume Sam Lantinga 2017-01-08 10:41:22 -0800
  • b8ab4eb9a8 SDL_evdev.c: fix building against old kernel headers (K_OFF may not be defined.) Sam Lantinga 2017-01-08 10:15:22 -0800
  • 7e505b0dd3 Don't fail if we can't open the tty, this can be a legitimate use case. Sam Lantinga 2017-01-07 16:49:23 -0800
  • 267c950918 Added mappings for the 8Bitdo NES30 Pro and iBuffalo SNES Controller Also swapped the Wii U Pro controller button mappings to position instead of label, as emulators expect from XBox controllers. Sam Lantinga 2017-01-07 13:47:34 -0800
  • 70c8bd2481 Fixed a bunch of compiler warnings in the test code. Ryan C. Gordon 2017-01-07 22:24:45 -0500
  • 13f2e54295 x11: make the X11 target work on macOS with Xquartz. Ryan C. Gordon 2017-01-07 19:55:29 -0500
  • 61a3ba303c Replaced a few single-line "//" comments. Ryan C. Gordon 2017-01-07 17:09:14 -0500
  • e25f4e507d Really fixed blit issue for capehill Sam Lantinga 2017-01-07 16:51:48 -0800
  • e9c2dcdae8 Fixed bug 3469 - Keypresses leak to the console with 2.0.5 Sam Lantinga 2017-01-07 10:13:04 -0800
  • df25258a1e Added configure and cmake support for libsamplerate Sam Lantinga 2017-01-06 20:43:53 -0800
  • c5825b698d audio: Don't call a NULL function pointer when clearing audio streams. Ryan C. Gordon 2017-01-06 21:23:51 -0500
  • c1ac4c6835 Better fix for static analysis issue in SDL_DestroyRenderer(). Ryan C. Gordon 2017-01-06 21:17:33 -0500
  • 5fcd454a16 emscripten-buildbot.sh: let user override default SDKDIR. Ryan C. Gordon 2017-01-06 20:00:17 -0500
  • cbe44f7ff1 Added support for using libsamplerate to do audio resampling Sam Lantinga 2017-01-06 02:16:26 -0800
  • 37f404fb87 Fixed confusion between Ryan's new audio stream and the audio buffer we were calling stream in the callback Sam Lantinga 2017-01-06 00:47:42 -0800
  • 3df77ced1e Just roll back the entire portion of the commit from a8253d439914 which caused bug 3544 until we figure out what the right static analysis fix is. Sam Lantinga 2017-01-06 00:40:22 -0800
  • 748f46054f audio: Add an assert to make sure non-streaming audio uses good buffer sizes. Ryan C. Gordon 2017-01-06 03:38:14 -0500
  • 356c2eadf4 Fixed bug 3544 - Memory freeing bug in SDL_DestroyRenderer/SDL_DestroyTexture Sam Lantinga 2017-01-06 00:32:06 -0800
  • 345c5989f1 haiku: Patched to compile. Ryan C. Gordon 2017-01-06 03:15:27 -0500
  • 3443dc19f9 Don't do any audio conversion if none is necessary Sam Lantinga 2017-01-05 23:53:46 -0800
  • 41be9756f0 Fixed bug 3546 - SDL_EVDEV_is_console() uses type of wrong size when calling ioctl Sam Lantinga 2017-01-05 23:26:13 -0800
  • b3e8db802e audio: rename fake_stream to work_buffer. Ryan C. Gordon 2017-01-06 01:07:34 -0500
  • 992124d4de audio: Fixed SDL_AudioStreamGet() function parameters. Ryan C. Gordon 2017-01-06 01:02:58 -0500
  • 99fc1ef994 naclaudio: Untested attempt to migrate to SDL_AudioStream. Ryan C. Gordon 2017-01-06 00:56:29 -0500
  • 115d0ce71c haikuaudio: Untested attempt to get this working with SDL_AudioStream. Ryan C. Gordon 2017-01-06 00:50:01 -0500
  • 1a90c72dfc emscriptenaudio: don't get stuck in infinite loop if SDL_AudioStreamPut fails. Ryan C. Gordon 2017-01-06 00:49:35 -0500
  • f07a1a5ad5 emscriptenaudio: Reworked to use SDL_AudioStream. Ryan C. Gordon 2017-01-05 21:31:02 -0500
  • 3761b5f60b Fixed a few compiler warnings. Ryan C. Gordon 2017-01-05 20:11:19 -0500
  • 4aa9e36983 Patched to compile on some compilers. Ryan C. Gordon 2017-01-05 19:45:57 -0500
  • 30178a9b24 audio: Added SDL_AudioStream. Non-power-of-two resampling now works! Ryan C. Gordon 2017-01-05 19:29:38 -0500
  • f12ab8f2b3 audio: More effort to improve and simplify audio resamplers. Ryan C. Gordon 2017-01-05 19:12:20 -0500
  • 52130bde40 diskaudio: Use SDL_Log, not fprintf. Ryan C. Gordon 2017-01-05 19:30:45 -0500
  • d024c724d1 Fixed signedness issue when blitting on a big endian platform, as reported by capehill For example, if sR is 0 and dR is 255, we will get -255*sA casted to an unsigned value. Basically results are quite large numbers instead of the expected 0-255 range. Sam Lantinga 2017-01-05 08:16:39 -0800
  • e6e6613ca4 Fixed build warning on Haiku Sam Lantinga 2017-01-05 02:53:29 -0800
  • 4938c5054e Added SDL_JoystickGetAxisInitialState() to get a joystick axis' initial value. This is useful for controller mapping programs to determine an axis' zero state Sam Lantinga 2017-01-04 10:28:07 -0800
  • 99e10ef506 Assume D-pad or thumbstick style axes are centered at 0 Sam Lantinga 2017-01-04 07:06:48 -0800
  • 26f84d7447 Added mappings for several GameCube and SNES controllers Sam Lantinga 2017-01-04 06:21:17 -0800
  • d2a01b6e53 Added the NEXT SNES Controller to the list of zero-centered joysticks Sam Lantinga 2017-01-04 06:19:56 -0800
  • c7780497dc Increased joystick jitter tolerance for PS3 controllers Sam Lantinga 2017-01-04 05:56:47 -0800
  • 1ddff75c70 Some controllers have trouble getting out to 20000 Sam Lantinga 2017-01-04 05:09:02 -0800
  • 9d04205263 x11: deal with xrandr display size in millimeters being zero. Ryan C. Gordon 2017-01-04 09:33:47 -0500
  • 082132a70c Fixed binding the D-pad on some Super NES style controllers Fixed a case where partial trigger pull could be bound to another button Sam Lantinga 2017-01-03 23:39:28 -0800
  • d359180040 Fixed bug 3519 - SDL_GetDisplayMode fails to report mode.format when using Wayland backend Sam Lantinga 2017-01-03 00:44:05 -0800
  • 2e2572a4f1 Added SDL_ReserveSpaceInDataQueue() to make space without copying data. Ryan C. Gordon 2016-12-27 23:48:43 -0500
  • 18d9b23c65 Fixed bug 3539 - SDL2, missing MIR LDFLAGS Sam Lantinga 2017-01-02 10:30:32 -0800
  • 67ed894353 Fixed bug 3529 - SDL_EGL_UnloadLibrary is not called at all on SDL_Quit Sam Lantinga 2017-01-01 19:10:36 -0800
  • 0cfa0aa11c improved SDL_GetError() output generated by EGL code David Ludwig 2016-12-29 11:49:18 -0500
  • 0badbddef9 Run sed in binary mode so we don't have to worry about fixing line endings Sam Lantinga 2017-01-01 18:47:29 -0800
  • 9e6d729e2d Fixed typo in copyright update script Sam Lantinga 2017-01-01 18:36:35 -0800
  • 45b774e3f7 Updated copyright for 2017 Sam Lantinga 2017-01-01 18:33:28 -0800
  • 0f586d5808 Convert some files back into DOS line endings after updating copyright Sam Lantinga 2017-01-01 18:32:57 -0800
  • 49225f5f04 We don't currently support blitting to < 8 bpp surfaces, return an error instead of corrupting memory in that case. Sam Lantinga 2016-12-31 18:11:19 -0800
  • 2ba66d0525 Fixed bug 3535 - Misplaced comment #if/#endif closure comment Sam Lantinga 2016-12-31 16:21:55 -0800
  • 880842cfdf Fixed bug 3531 - internal SDL_vsnprintf implementation access memory outside given buffer ranges Sam Lantinga 2016-12-31 16:14:51 -0800
  • 7f2068daca Fixed bug 3541 - DisplayIndex out of bounds in SDL_SetWindowPosition Sam Lantinga 2016-12-31 10:30:07 -0800
  • e61daa7270 Fixed warning and missing animation delay in testoverlay2 program. Philipp Wiesemann 2016-12-30 19:57:50 +0100
  • c2b90f2df8 Fixed compiling of testgamecontroller program with C++. Philipp Wiesemann 2016-12-28 20:11:29 +0100
  • de79828b9f Fixed warning about unused variable in controllermap program. Philipp Wiesemann 2016-12-28 20:11:12 +0100
  • af26379881 Fixed crash if allocating memory for game controller failed. Philipp Wiesemann 2016-12-28 20:10:48 +0100
  • 8000e6d9e1 Added documentation for the game controller axis values Sam Lantinga 2016-12-27 09:59:36 -0800
  • 21cb42d79b Make sure we go all the way back (within the XBox controller dead zone) to prevent accidentally binding axes inverted Sam Lantinga 2016-12-27 09:51:58 -0800
  • cb8685c022 Fixed comment style Sam Lantinga 2016-12-27 02:04:38 -0800
  • 6d7da0887d Split controller axes into positive and negative sides so each can be bound independently. Using this a D-Pad can be mapped to a thumbstick and vice versa. Also added support for inverted axes, improving trigger binding support Sam Lantinga 2016-12-27 01:39:07 -0800
  • 7c31636666 x11: Don't loop forever if the X server refuses a pointer grab. Ryan C. Gordon 2016-12-26 23:02:14 -0500
  • 76f2ae3ca2 Don't use pushd/popd in autogen.sh; Ubuntu's /bin/sh doesn't support it. Ryan C. Gordon 2016-12-26 22:58:58 -0500
  • b4e069e7f8 Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes Sam Lantinga 2016-12-26 02:12:21 -0800
  • 9492492d5f Fixed bug 3516 - fix build on illumos Sam Lantinga 2016-12-26 01:56:52 -0800
  • fd85f5748d Mac: back out commit 3e9b2ae41adf. It causes significant overhead on many GPUs. Alex Szpakowski 2016-12-23 22:49:37 -0400
  • d719374cb9 Mac: Fix over-saturated colors on P3 displays (e.g. the 2016 MBPs). Alex Szpakowski 2016-12-23 22:08:18 -0400
  • 3e9284519a Windows: Fixed compile error. Philipp Wiesemann 2016-12-23 20:36:24 +0100
  • 7c60a638b0 Corrected header file guard comments. Philipp Wiesemann 2016-12-23 20:36:12 +0100
  • 4fc0fe1f69 Removed debug print statements Sam Lantinga 2016-12-23 02:23:44 -0800
  • ad26769cd7 Fixed compile errors on various platforms Sam Lantinga 2016-12-22 18:43:00 -0700
  • ca019dada5 Fixed issue where the throttle and other axes on racing wheels don't start at zero and show up as immediate input when the wheel is turned for the first time. Wait until they are actually moved before generating input from them. Sam Lantinga 2016-12-22 17:33:45 -0800
  • b2f6c4c1bd Fixed bus error when converting 16-bit to float for non-integral-multiple sample rates Sam Lantinga 2016-12-19 11:15:53 -0800
  • 366c77a9f0 audio: fixed one more incorrectly-hardcoded value in the resamplers. Ryan C. Gordon 2016-12-18 20:17:33 -0500
  • eda74fda96 tvOS: Expose remote swipe gestures as arrow key presses (thanks oviano!) Alex Szpakowski 2016-12-18 13:05:14 -0400
  • 787a54c84b iOS bug #3377: work around bugs in some third party iOS libraries (e.g. Google admob) where they assume the optional UIApplicationDelegate ?window? property always exists and will crash if it doesn?t. Alex Szpakowski 2016-12-18 12:28:28 -0400
  • f956df23bb audio: fixed arbitrary upsampling (thanks, Sylvain!). Ryan C. Gordon 2016-12-17 16:15:24 -0500
  • b515b34dbb Fixed hotplug with more than one device in testjoystick program. Philipp Wiesemann 2016-12-16 22:58:32 +0100
  • 0a3f9d0cfb Fixed warning about unused variable in controllermap program. Philipp Wiesemann 2016-12-16 22:58:16 +0100
  • 0c5e7a1067 Fixed handling joysticks that send multiple events for a single control, e.g. both a button and axis event for a trigger. Tested with the 8Bitdo NES30 Pro on Linux Sam Lantinga 2016-12-15 14:27:22 -0800
  • b4ea63ec2c Fixed crash if there are multiple joysticks closed during the joystick update loop Sam Lantinga 2016-12-14 06:25:09 -0800
  • f50a04009c windows: add whitespace to fix macro preprocessing issue (thanks, Sven!). Ryan C. Gordon 2016-12-13 00:22:42 -0500
  • 85d8a79f65 Fixed updated return value for SDL_GL_SwapWindow() Sam Lantinga 2016-12-12 09:19:48 -0800
  • e81bf12b85 Fixed edid parsing code for older gcc compilers Sam Lantinga 2016-12-12 09:18:42 -0800
  • 8414c3d4ae Fixed ABI, don't change the return type of SDL_GL_SwapWindow() Sam Lantinga 2016-12-11 12:01:44 -0800