Commit Graph

  • 644c159d94 Added SDL_fmod() and SDL_fmodf() Sam Lantinga 2017-11-04 17:35:03 -07:00
  • 49c1806a96 Updated math code from the uClibc 0.9.33 release Sam Lantinga 2017-11-04 15:53:19 -07:00
  • 48bcdfd8cc Added float versions of SDL's math functions Sam Lantinga 2017-11-04 15:34:14 -07:00
  • 325dff1cb1 Fixed using libunwind on iOS, where it's only available on the simulator (thanks Vit!) Sam Lantinga 2017-11-04 09:44:29 -07:00
  • 46bbc5d328 Fixed bug 3917 - Android, issues with getManifestEnvironmentVariable Sam Lantinga 2017-11-04 09:37:29 -07:00
  • 79b0c8af83 Fixed bug 3940 - Add support for EGL_SURFACE_TYPE Sam Lantinga 2017-11-04 09:07:33 -07:00
  • 3ad3120f32 Raspberry Pi: fix ES 1/PVR support & autodetect Mesa driver * The brcmGLESv2 vendor library also supports ES PVR/1 profiles * Fallback to standard Mesa libraries if the VC4 driver is loaded Conn O'Griofa 2017-11-04 09:04:19 -07:00
  • 3a9d15b4da SDL_video: try to bootstrap KMSDRM before RPI video driver Allow better coexistence between RPI's vendor libraries and VC4 mesa driver. Conn O'Griofa 2017-11-04 09:03:20 -07:00
  • 30962f0b83 Android configure-based build fixes (thanks Vit!) Sam Lantinga 2017-11-04 09:00:40 -07:00
  • a531ac1b76 Emscripten: use cursor hotspot the cursor's hotspot simply wasn't translated to it's CSS equivalent, yet see https://developer.mozilla.org/en-US/docs/Web/CSS/cursor?v=example#Syntax. no explicit hotspot if (0|0) for compatibility with Edge and IE, which indeed don't support custom hot spots Johannes Bader 2017-11-04 11:16:49 +00:00
  • 65195e610d Make SDL fullscreen windows on Android actually fullscreen Sam Lantinga 2017-11-02 10:41:55 -07:00
  • 6a33d1a746 Fixed bug 3935 - Not find joysticks if android run 24-48 days. Sam Lantinga 2017-11-02 08:48:14 -07:00
  • 084cfc4173 Fixed bug 3933 - Android, no need of the listener thread Sam Lantinga 2017-11-02 08:46:14 -07:00
  • 62d6c387e8 Fixed bug 3917 - Android, issues with getManifestEnvironmentVariable Sam Lantinga 2017-11-01 19:19:21 -07:00
  • b4e2edf099 Allow the activity to persist through connecting or disconnecting a keyboard Sam Lantinga 2017-11-01 18:41:11 -07:00
  • efa038fbaf Moved the meta-data into the right section Sam Lantinga 2017-11-01 18:40:11 -07:00
  • bb156ce5ec Fixed bug 3926 - SDL_main export Sam Lantinga 2017-11-01 17:41:25 -07:00
  • bcfba1fc8a Fixed bug 3932 - Android, GetDisplayDPI release local reference Sam Lantinga 2017-11-01 17:30:02 -07:00
  • 4081459702 Fixed building on non-Android platforms Sam Lantinga 2017-11-01 10:07:04 -07:00
  • 98af57285f Added controller mapping for Android TV remotes Also fixed the back button on the remote exiting the application Sam Lantinga 2017-11-01 10:06:58 -07:00
  • 8c4dc3c464 Add SDL_GetDisplayDPI implementation on Android. (thanks Rachel!) Sam Lantinga 2017-10-31 13:49:59 -07:00
  • 6ac44b9bba WinRT: Move Windows::Foundation::Initialize to SDL2.dll, from SDL_main. David Ludwig 2017-10-24 13:21:11 -04:00
  • 082143db78 Fixed Java string comparison with "" Sam Lantinga 2017-10-29 21:09:09 -07:00
  • 990a5258af Added the old ant Android build project structure Sam Lantinga 2017-10-28 12:11:25 -07:00
  • 02c0174483 Fixed bug 3902 - Add a specific KMSDRM hint for low latency video Brandon Schaefer 2017-10-26 16:37:20 -07:00
  • b9c87556fb Updated SDL iOS project for tvOS Sam Lantinga 2017-10-26 10:49:33 -07:00
  • 88ae51606d Added missing keyinfotable.h Sam Lantinga 2017-10-26 10:42:14 -07:00
  • d985978f55 android: Fix softkeyboard issue in SDL on Android. Sam Lantinga 2017-10-26 10:41:38 -07:00
  • 7ecdde2631 cocoa: Don't change the NSWindow background color. Ryan C. Gordon 2017-10-25 18:02:11 -04:00
  • 467aa0904e Added the ability to set SDL hints from AndroidManifest.xml (thanks Rachel!) This is especially useful for things like the accelerometer hint which could be needed before application main(). Sam Lantinga 2017-10-24 00:17:07 -07:00
  • 7658113c79 Fixed crash if mSurface isn't set up when we pause the application Sam Lantinga 2017-10-24 00:04:40 -07:00
  • ef9f4473dc Removed unneeded file automatically generated by Android Studio Sam Lantinga 2017-10-23 23:35:04 -07:00
  • 95e883fbda Updated the minimum and target SDK versions in AndroidManifest.xml Sam Lantinga 2017-10-23 23:26:40 -07:00
  • be3cbc7751 Updated Android build tools version, which bumped minimum deployment target to API 14 Also added native code to the Android gradle project, which allows using gradle or Android Studio to build the entire SDL application without a separate ndk-build step. Sam Lantinga 2017-10-23 23:23:47 -07:00
  • 108a029672 Fixed build with older Android SDK Sam Lantinga 2017-10-23 23:23:34 -07:00
  • b0c78879e9 Switched to new style gradle Android application build process Sam Lantinga 2017-10-23 15:23:43 -07:00
  • 0c8fe5a63c Added tag release-2.0.7 for changeset 2088cd828335 Sam Lantinga 2017-10-23 12:33:18 -07:00
  • 236c143dd4 Don't X error in SDL_CreateWindow with unsupported GL attributes release-2.0.7 Sven Hesse 2017-10-22 20:24:58 +02:00
  • b9c2f1c58f Added Visual Studio solution files for WinRT projects Sam Lantinga 2017-10-21 22:26:24 -07:00
  • 5dd66f2899 Fixed bug 3901 - Fix vsync-ed pageflips on the KMSDRM video driver Sam Lantinga 2017-10-21 04:20:57 -07:00
  • 765e991000 Fixed typo converting 4 channel audio to 2 channel Sam Lantinga 2017-10-20 16:53:42 -07:00
  • 7cb271f718 Added a note about adjusting channel weights when converting to fewer channels Sam Lantinga 2017-10-20 14:51:22 -07:00
  • 1e63db4504 Document the SDL audio channel mapping Sam Lantinga 2017-10-20 14:48:10 -07:00
  • ff2da1f583 Added SDL_AudioStreamFlush() to the list of new audio stream functions Sam Lantinga 2017-10-20 10:45:38 -07:00
  • dfec20b5f5 Reverted changes a970b2ae1bd7 and 4a94743e31fe I don't want to introduce any regressions with Android TV remote support Sam Lantinga 2017-10-20 10:29:22 -07:00
  • 04affe2c5e Fixed Android joystick detection Sam Lantinga 2017-10-19 15:37:52 -07:00
  • ba79be8ef6 audio: Added SDL_AudioStreamFlush(). Ryan C. Gordon 2017-10-19 18:05:42 -04:00
  • 01f3a63f9c Don't use DPAD devices as joystick input on Android Sam Lantinga 2017-10-19 13:54:56 -07:00
  • 09b2171103 Check correct variable for malloc() results. Ryan C. Gordon 2017-10-18 23:49:46 -04:00
  • 948387965d Fixed bug 3876 - Resampling of certain sounds adds heavy distortion Sam Lantinga 2017-10-18 19:30:47 -07:00
  • f6db48f792 Added a staging buffer to the audio stream so that we can accumulate small amounts of data if needed when resampling Sam Lantinga 2017-10-18 19:26:36 -07:00
  • 34f15d9394 Added audio stream conversion functions: SDL_NewAudioStream SDL_AudioStreamPut SDL_AudioStreamGet SDL_AudioStreamAvailable SDL_AudioStreamClear SDL_FreeAudioStream Sam Lantinga 2017-10-18 15:54:05 -07:00
  • 900313d061 Fixed bug 3821 - Allow SDL_CreateWindow and SDL_CreateRenderer with OpenGL ES 3.0 (GLES3) for Angle (Windows) Sam Lantinga 2017-10-18 08:52:04 -07:00
  • 03c1e8e2c8 Fixed compiler warning on iOS Sam Lantinga 2017-10-16 15:22:40 -07:00
  • faab598185 Fixed bug 3890 - Incomplete fix for CVE-2017-2888 Sam Lantinga 2017-10-16 14:57:42 -07:00
  • 0bf446b21a Added min/max macros for the sized SDL datatypes Sam Lantinga 2017-10-16 14:39:56 -07:00
  • 73c8051875 Fixed bug 3883 - SDL_assert / SDL_PromptAssertion in TTY mode does not accept options ("abriA") Sam Lantinga 2017-10-15 21:21:19 -07:00
  • eb1ab72af6 Fixed bug 3882 - cmake fix for osx Sam Lantinga 2017-10-15 21:07:01 -07:00
  • b050f9e559 Android Studio code analyzer fixes Sam Lantinga 2017-10-13 19:55:07 -07:00
  • 5775a64d9c Fixed bug 3880 - X Error upon quit since rev. 11607 Sam Lantinga 2017-10-13 19:30:34 -07:00
  • 20adf3231d Fixed bug 3879 - add missing SDLCALL to SDLTest_TrackedMalloc & co. Sam Lantinga 2017-10-13 09:50:04 -07:00
  • eb1eb01873 coreaudio: changed device close procedure to prevent long hangs in some cases. Ryan C. Gordon 2017-10-13 01:15:29 -04:00
  • 893ecf8094 Build both 32 and 64-bit architectures in the OSX Framework Sam Lantinga 2017-10-12 17:21:57 -07:00
  • e7ae12dc1e Fixed compiler warning Sam Lantinga 2017-10-12 17:17:09 -07:00
  • db5ef6da76 Use the lower-case hex output to match other stack trace printouts Sam Lantinga 2017-10-12 14:46:28 -07:00
  • 34d3a2f65a Fixed compiler warning Sam Lantinga 2017-10-12 14:44:54 -07:00
  • 731fbbd2e1 Fixed bug 3877 - missing SDLCALL in SDLTest_ExampleHitTestCallback Sam Lantinga 2017-10-12 14:25:07 -07:00
  • 84dfc945e8 Android doesn't have libunwind.h in API 16 Sam Lantinga 2017-10-12 14:21:21 -07:00
  • f9cdf14b5d Added missing file Sam Lantinga 2017-10-12 14:20:17 -07:00
  • 8c0edbc4f1 Fixed compiler warning Sam Lantinga 2017-10-12 14:02:24 -07:00
  • c606ae0d25 Fixed compiler warning Sam Lantinga 2017-10-12 13:55:35 -07:00
  • eea9c57d52 Added functions to query and set the SDL memory allocation functions: SDL_GetMemoryFunctions() SDL_SetMemoryFunctions() SDL_GetNumAllocations() Sam Lantinga 2017-10-12 13:44:28 -07:00
  • 0c5aae969d Fixed memory leak in Cocoa mouse code The video quit call cleans up the mouse cursor driver data, which happens after mouse quit Sam Lantinga 2017-10-12 13:28:48 -07:00
  • 6ed9129321 Fixed bug 3866 - CMake error when trying to make the 'uninstall' target when it already exists Sam Lantinga 2017-10-12 08:47:02 -07:00
  • ed3926d524 Fixed bug 3867 - Can't find install_manifest.txt when running 'uninstall' target Sam Lantinga 2017-10-12 08:44:45 -07:00
  • ab69dec982 Fixed bug 3874 - Compiler warnings SDL_Surface.c and SDL_cocoakeyboard.m Sam Lantinga 2017-10-12 08:41:11 -07:00
  • 5f0c8ce64a Normalize touch events to the render viewport (thanks Sylvain!) Sam Lantinga 2017-10-12 08:37:55 -07:00
  • e69470f237 Fixed divide by zero with a 1x1 sized window Sam Lantinga 2017-10-12 08:27:22 -07:00
  • 4ec40a6c1c make sure that SDL_malloc(0) or SDL_calloc(0,x) doesn't return NULL. Ozkan Sezer 2017-10-12 14:28:05 +03:00
  • 7847ffdd25 Updated version to 2.0.7 Sam Lantinga 2017-10-12 08:08:04 -07:00
  • 2df6bb0dc3 Check SDL_UDEV_DYNAMIC first, then SDL_UDEV_LIBS separately Ethan Lee 2017-10-10 20:22:15 -04:00
  • 9a8a513f06 Fixed bug 3871 - Touch events are not normalised on X11 Sam Lantinga 2017-10-11 13:31:21 -07:00
  • e2a1bcd95a Fixed size in realloc Sam Lantinga 2017-10-11 13:26:58 -07:00
  • 12433302db audio: Turns out the accumulation errors sound better. :/ Ryan C. Gordon 2017-10-11 12:07:43 -04:00
  • a67c0d10ed audio: Moved the resampler state up to double precision. Ryan C. Gordon 2017-10-11 11:51:14 -04:00
  • 82900f6589 audio: calculate resampling time directly, don't increment (thanks, Eric!). Ryan C. Gordon 2017-10-11 11:43:35 -04:00
  • 8c6a1a0032 audio: clamp resampler interpolation values to prevent buffer overflow. Ryan C. Gordon 2017-10-11 02:33:55 -04:00
  • 75310be1f6 audio: Moved unchanging variable out of loop. Ryan C. Gordon 2017-10-11 02:31:58 -04:00
  • 7426bf8016 audio: Make sure audio stream resampling doesn't overflow buffers. Ryan C. Gordon 2017-10-11 02:03:05 -04:00
  • ec2f673d29 audio: Fixed check for minimum audio stream put size. Ryan C. Gordon 2017-10-11 01:37:11 -04:00
  • 497c759788 Updated WhatsNew.txt for 2.0.7 changes Sam Lantinga 2017-10-10 20:16:52 -07:00
  • 9d5a885398 Changed overlapping memcpy to memmove Sam Lantinga 2017-10-10 20:11:05 -07:00
  • 83483255df Fixed potentially calling a callback after it has been removed (and userdata possibly deleted) Sam Lantinga 2017-10-10 19:44:33 -07:00
  • 48b43473c5 audio: SDL_ResampleCVT() should use memmove instead of memcpy. Ryan C. Gordon 2017-10-10 22:31:02 -04:00
  • 4b87826e08 audio: Don't stack-allocate resampler padding. Ryan C. Gordon 2017-10-10 22:18:46 -04:00
  • 689eee3864 The event filter and event watch functions are now thread-safe Sam Lantinga 2017-10-10 17:41:41 -07:00
  • 3d4eeb8f97 audio: reworked audio streams to have right-hand resampling padding available. Ryan C. Gordon 2017-10-10 16:12:56 -04:00
  • 08dd8307b9 Added SDL_PeekIntoDataQueue(). Ryan C. Gordon 2017-10-10 11:56:54 -04:00
  • a074f79dd9 Exposed the joystick locking functions for multi-threaded access to the joystick API Sam Lantinga 2017-10-10 11:10:15 -07:00
  • 520a96016b Fixed crash in SDL_IsGameController() on Windows if called when a controller is being removed Sam Lantinga 2017-10-09 11:45:15 -07:00