Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| b08bdc44 | 2018-10-26 09:27:31 | Don't build SDL_JOYSTICK_HIDAPI by default on iOS If you enable this, you'll need to link with CoreBluetooth.framework and add something like this to your Info.plist: <key>NSBluetoothPeripheralUsageDescription</key> <string>MyApp would like to remain connected to nearby bluetooth Game Controllers and Game Pads even when you're not using the app.</string> | ||
| 14329256 | 2018-10-25 16:53:14 | Generalized the XInput user index into a player index | ||
| 9987ca69 | 2018-10-25 12:54:42 | Added SDL_JoystickGetXInputUserIndex() | ||
| 7be4fca6 | 2018-10-15 11:01:00 | SDL_power.c: Adjust SDL_POWER_DISABLED ifdefs to avoid zero-size array Otherwise if SDL_POWER_DISABLED is disabled (eg with --disable-power): ... with clang -pedantic: src/power/SDL_power.c:48:50: warning: use of GNU empty initializer extension [-Wgnu-empty-initializer] static SDL_GetPowerInfo_Impl implementations[] = { ^ src/power/SDL_power.c:48:50: warning: zero size arrays are an extension [-Wzero-length-array] 2 warnings generated. ... with gcc -pedantic: src/power/SDL_power.c:48:50: warning: ISO C forbids empty initializer braces [-Wpedantic] src/power/SDL_power.c:48:50: warning: ISO C forbids empty initializer braces [-Wpedantic] static SDL_GetPowerInfo_Impl implementations[] = { ^ src/power/SDL_power.c:48:30: error: zero or negative size array ?implementations? static SDL_GetPowerInfo_Impl implementations[] = { ^~~~~~~~~~~~~~~ ... with Watcom: ./src/power/SDL_power.c(85): Error! E1112: Initializer list cannot be empty | ||
| ee97d4f4 | 2018-10-14 23:56:56 | add a minimal config and makefile to test watcom/os2 builds. | ||
| 0e5a3f6e | 2018-10-12 01:03:40 | SDL_thread.h: undefine SDL_CreateThreadWithStackSize before redefining. | ||
| acb05f50 | 2018-10-11 16:40:01 | thread: make SDL_CreateThreadWithStackSize() a public API. | ||
| b60e5b82 | 2018-10-03 15:48:26 | Update documentation to note that this hint works on Android too (thanks Trent!) | ||
| b2518761 | 2018-10-01 09:47:10 | commit c6b28f46b8116552ec2b38d1d3c8535df28ba7a1 Author: Anthony Pesch <inolen@gmail.com> Date: Fri May 4 20:21:21 2018 -0400 Added SDL_AUDIO_ALLOW_SAMPLES_CHANGE flag enabling users of SDL_OpenAudioDevice to get the sample size of the actual hardware buffer vs having a stream created to handle the delta | ||
| b11c75e9 | 2018-09-28 13:41:04 | configury, cmake: add check for endpointvolume.h : add HAVE_ENDPOINTVOLUME_H, HAVE_MMDEVICEAPI_H and HAVE_AUDIOCLIENT_H in SDL_config.h.in, SDL_config.h.cmake, SDL_config_windows.h, and in SDL_config_winrt.h. | ||
| 7df0f4fd | 2018-09-27 14:56:29 | Fixed bug 4277 - warnings patch Sylvain Patch a few warnings when using: -Wmissing-prototypes -Wdocumentation -Wdocumentation-unknown-command They are automatically enabled with -Wall | ||
| bc6c1997 | 2018-09-26 10:08:14 | Updated version to 2.0.9 | ||
| ef347048 | 2018-09-24 16:41:55 | Fixed bug 4264 - SDL_CreateTextureFromSurface generates error message but returns ok Anthony @ POW Games SDL_CreateTextureFromSurface makes an internal call to SDL_GetColorKey which can return an error and spams the error log with "Surface doesn't have a colorkey" even though the original function didn't return an error. | ||
| 6b3e8931 | 2018-09-14 19:26:26 | Added hints SDL_HINT_MOUSE_DOUBLE_CLICK_TIME and SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS to allow tuning double-click sensitivity. Also increased the default double-click radius to 32 pixels to be more forgiving for touch interfaces | ||
| afc1738e | 2018-09-07 10:47:50 | SDL_sensor.h, SDL_video.h: remove comma at end of enumerator lists. Avoids gcc -pedantic warnings, closes bug #4253. | ||
| 0cf1ae9d | 2018-09-05 21:24:13 | Fixed a comment typo. | ||
| 207428b4 | 2018-08-29 20:23:39 | Don't rumble Bluetooth PS4 controllers by default, as that switches the controller into extended input report mode, which breaks games that use DirectInput. | ||
| a794126d | 2018-08-24 09:49:48 | vulkan: SDL_Vulkan_GetInstanceExtensions should accept a NULL window. Fixes Bugzilla #4235. | ||
| 8adadf8f | 2018-08-23 10:51:54 | Added documentation for additional Android sensors | ||
| f225af0c | 2018-08-22 21:48:28 | Added SDL_GetDisplayOrientation() to get the display orientation, and added a new event SDL_DISPLAYEVENT to notify the application when the orientation changes. Documented the values returned by the accelerometer and gyroscope sensors | ||
| 7f4860e2 | 2018-08-21 20:38:22 | Doh.. __IPHONEOS__ is defined on tvOS | ||
| 74e99f74 | 2018-08-21 20:34:09 | Don't use CoreMotion on tvOS | ||
| 6f758ad2 | 2018-08-21 20:03:54 | Moved SDL_IsTablet() to a cross-platform API function | ||
| c6647bf9 | 2018-08-21 17:24:12 | Added the iOS sensor implementation | ||
| c5bcefa7 | 2018-08-21 13:44:11 | Fixed duplicate definition of SDL_JoystickID | ||
| 3e5dbc69 | 2018-08-21 13:29:21 | Added a dummy sensor driver | ||
| 7c3040e0 | 2018-08-21 12:11:34 | First pass on the new SDL sensor API | ||
| 109544ca | 2018-08-21 11:23:47 | Add SDL_IsTablet() to Android and iOS SDL. | ||
| 7d3a7ef8 | 2018-08-15 23:35:54 | Use a single hint for both Xbox 360 and Xbox One controllers, since they are often the same driver. | ||
| 5930b508 | 2018-08-09 22:53:43 | Re-enabled the HIDAPI joystick driver on Windows and Mac OS X | ||
| b37518b3 | 2018-08-09 16:03:55 | SDL: disable HIDAPI in SDL on Windows/Mac. | ||
| d2042e1e | 2018-08-09 16:00:17 | Added HIDAPI joystick drivers for more consistent support for Xbox, PS4 and Nintendo Switch Pro controller support across platforms. Added SDL_GameControllerRumble() and SDL_JoystickRumble() for simple force feedback outside of the SDL haptics API | ||
| b4fe7412 | 2018-08-04 11:52:46 | SDL_exp | ||
| ff8c9538 | 2018-07-12 13:28:13 | Allow trapping the back button so right mouse click can work on some Android systems (thanks Rachel!) Also, added a function SDL_AndroidBackButton() so applications can respond to the back button directly | ||
| a5158535 | 2018-06-18 13:14:02 | Added support for external mouse in Samsung DeX mode relative mode doesn't work, but absolute coordinates are functional | ||
| 113801b7 | 2018-06-05 12:46:13 | Added SDL_IsChromebook() to determine if we're running on a Chromebook. | ||
| 4df859c5 | 2018-05-21 11:35:42 | cpuinfo: Added SDL_HasAVX512F(). This checks for the "foundation" AVX-512 instructions (that all AVX-512 compatible CPUs support). | ||
| 8543ad7d | 2018-05-21 11:34:57 | cpuinfo: Added some internal SIMD-aligned allocation functions. Fixes Bugzilla #4150 (sort of). | ||
| b7e88aaa | 2018-05-16 02:03:06 | audio: Added ARM NEON versions of audio converters. These are _much_ faster than the scalar equivalents on the Raspberry Pi that I tested on. Often 3x to 4x as fast! | ||
| c11ae93a | 2018-05-10 08:28:00 | SDL_stdinc.h: move the alloca() includes before begin_code.h | ||
| c04dca0d | 2018-05-07 19:26:02 | Fixed bug 4159 - Windows headers are included after packing alignment change lectem The SDL_syswm.h header includes the windows.h header after including begin_code.h which changes the structure packing alignment. It seems this is not safe as suggested by the following warning : warning C4121: 'JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2': alignment of a member was sensitive to packing | ||
| 0a7faa4a | 2018-05-04 21:58:39 | Fix Linux haptic scaling, add 2.1 FIXME | ||
| f521b22e | 2018-04-23 22:07:56 | Added SDL_THREAD_PRIORITY_TIME_CRITICAL | ||
| 43231256 | 2018-04-23 19:18:52 | Added SDL_LinuxSetThreadPriority() to directly set the priority of a Linux thread (tid) This function tries using RealtimeKit connecting over DBUS as needed. | ||
| 6d39e67b | 2018-03-10 21:20:25 | Fixed bug 4103 - SDL_cpuinfo.h provokes warnings with -Wundef on non-x86 hosts Felix Geyer Forwarding from https://bugs.debian.org/892087 quoting verbatim: The SDL2 header SDL_cpuinfo.h generates gcc warnings if the program using it compiles with the -Wundef warning. (In particular, this means that QEMU builds using it fail on at least sparc hosts, since QEMU dev builds use both -Wundef and -Werror.). /usr/include/SDL2/SDL_cpuinfo.h:63:5: warning: "HAVE_IMMINTRIN_H" is not defined, evaluates to 0 [-Wundef] #if HAVE_IMMINTRIN_H && !defined(SDL_DISABLE_IMMINTRIN_H) | ||
| a8ac5885 | 2018-03-07 13:30:40 | Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened | ||
| be6ca785 | 2018-02-25 23:02:09 | Support official Vulkan SDK for macOS. This tries to load vulkan.framework or libvulkan.1.dylib before MoltenVK.framework or libMoltenVK.dylib. In the previous version, layers would not work for applications run-time loading the default library. | ||
| 5adc1b7d | 2018-02-24 08:18:09 | Updated documentation with API changes in SDL 2.0.8 | ||
| 69958441 | 2018-02-21 09:58:21 | Fix high-dpi support on macOS and simplify it and iOS variant. The detault drawableSize for a CAMetalLayer is its bounds x its scale. So it is sufficient to set the *layer's* scale to the desired value. | ||
| 8ddebfa0 | 2018-02-16 10:23:10 | Fixed bug 4085 - X11: Allow configuring _NET_WM_BYPASS_COMPOSITOR through SDL hints Callum McGing This patch allows the user to disable the behaviour that blocks the compositor through a new hint: SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR. This allows tools or other windowed applications to behave properly under KWin. | ||
| 4c2a444e | 2018-02-08 17:07:47 | add SDL_log10 and SDL_log10f to include and dynapi | ||
| f59b9c8b | 2018-02-06 15:03:38 | Replaced SDL_HINT_APPLE_TV_REMOTE_SWIPES_AS_ARROW_KEYS with SDL_HINT_TV_REMOTE_AS_JOYSTICK which controls whether remotes on iOS and Android are interpreted as joysticks (the default) or as return/escape/arrow keys. | ||
| 6ed184ec | 2018-02-06 15:03:35 | Added SDL_IsAndroidTV() | ||
| 85c34e9a | 2018-02-01 15:21:01 | Added SDL_HINT_IOS_HIDE_HOME_INDICATOR to determine how the home indicator on the iPhone X is handled. This variable can be set to the following values: "0" - The indicator bar is not hidden (default for windowed applications) "1" - The indicator bar is hidden and is shown when the screen is touched (useful for movie playback applications) "2" - The indicator bar is dim and the first swipe makes it visible and the second swipe performs the "home" action (default for fullscreen applications) | ||
| 9338a619 | 2018-01-17 17:24:15 | Added a hint SDL_HINT_APPLE_TV_REMOTE_SWIPES_AS_ARROW_KEYS to prevent turning Apple TV remote swipes into arrow key events | ||
| 11c348b4 | 2018-01-17 11:53:09 | SDL_log10 | ||
| e3cc5b2c | 2018-01-03 10:03:25 | Updated copyright for 2018 | ||
| 48fea0ce | 2017-12-31 15:21:25 | macOS: Fix MoltenVK Metal view resizing, and allow the metal view to be used without vulkan. | ||
| b92e2f02 | 2017-12-19 10:57:21 | Fixed bug 4004 - iOS: don't hide keyboard on RETURN Dominik Reichardt As discussed in 2012 the iOS onscreen keyboard hides when you hit RETURN (see https://discourse.libsdl.org/t/on-screen-keyboard-change/19216). IMO this is a bad idea to not be able to influence this behavior and just recently this was fixed for Android by adding the hint SDL_HINT_ANDROID_RETURN_HIDES_IME in changeset 11768 6ce3bb5e38a5. | ||
| 0597bf6e | 2017-12-12 16:25:43 | Fixed bug 3993 - altivec.h include in SDL_cpuinfo.h breaks compilation with -std=c++11 bastien.bouclet According to this GCC bug report, altivec.h requires building with the gnu extensions: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78263. As an application developer, I don't want SDL to force me to enable the gnu extensions. | ||
| 2afc0b7f | 2017-12-12 12:52:23 | Add the ability to set SDL to handle Return as 'hide IME' on Android softkeyboard. (thanks Rachel!) | ||
| e8bbbb37 | 2017-12-12 12:52:17 | Added support for Android video textures | ||
| f1ec8a5f | 2017-12-11 12:00:12 | Check for immintrin.h before using it in SDL_cpuinfo.h | ||
| baae74c8 | 2017-12-10 09:10:02 | Added SDL_WinRTGetDeviceFamily() to find out what type of device your application is running on (thanks Daniel Knobe!) | ||
| dbce1341 | 2017-12-09 03:24:01 | audio: fixed typo in Doxygen comment. | ||
| 7cb8b50a | 2017-12-08 17:43:57 | hints: Add "metal" to the list of SDL_RENDER_DRIVER hints. | ||
| cf3d4503 | 2017-12-08 14:30:10 | Added SDL_RenderGetMetalLayer() and SDL_RenderGetMetalCommandEncoder() | ||
| ba9c336e | 2017-12-07 17:47:01 | Fixed building for simulators or older iOS SDKs | ||
| 6deb1e75 | 2017-12-07 17:12:03 | Fixed compiling Metal renderer on iOS | ||
| 083fe066 | 2017-12-06 13:48:51 | winrt: Patched to compile on Ryan's workstation. :) I'm not sure why I needed this, but it appears to fix the build on VS2015 here. | ||
| 351d6d47 | 2017-12-06 12:24:32 | audio: Port WASAPI to WinRT, remove XAudio2 backend. XAudio2 doesn't have capture support, so WASAPI was to replace it; the holdout was WinRT, which still needed it as its primary audio target until the WASAPI code code be made to work. The support matrix now looks like: WinXP: directsound by default, winmm as a fallback for buggy drivers. Vista+: WASAPI (directsound and winmm as fallbacks for debugging). WinRT: WASAPI | ||
| 57ebc727 | 2017-12-04 20:35:01 | Fixed bug 3975 - Add GLES2 support for macOS via ANGLE library Andrey Seems latest google angle library successfully built & tested under macOS'es. https://github.com/google/angle We need to use GLES2 to implement true cross-platform code. | ||
| 14452e95 | 2017-12-04 20:21:52 | Fixed typos (thanks Martin!) | ||
| 88e3562b | 2017-11-27 15:07:07 | Use the included Khronos headers on Android so we can create Core OpenGL contexts when building with older SDK | ||
| dba9979f | 2017-11-19 23:36:54 | Added support for aarch64 memory barrier instruction | ||
| a6a4e27a | 2017-11-12 22:51:12 | Updated SDL's YUV support, many thanks to Adrien Descamps New functions get and set the YUV colorspace conversion mode: SDL_SetYUVConversionMode() SDL_GetYUVConversionMode() SDL_GetYUVConversionModeForResolution() SDL_ConvertPixels() converts between all supported RGB and YUV formats, with SSE acceleration for converting from planar YUV formats (YV12, NV12, etc) to common RGB/RGBA formats. Added a new test program, testyuv, to verify correctness and speed of YUV conversion functionality. | ||
| 846d0080 | 2017-11-11 16:20:00 | Only include Intel intrinsics header on x86 and x64 | ||
| 4026db8c | 2017-11-10 14:22:21 | Replaced the intrinsics header with the single header that includes all intrinsics so we can use AVX, etc. | ||
| 9f4e4be8 | 2017-11-07 09:10:32 | Fixed bug 3943 - General SDL_HINT_VIDEO_DOUBLE_BUFFER hint support | ||
| 2c5724ef | 2017-11-04 21:58:48 | Updated version to 2.0.8 since SDL_image depends on it | ||
| afbba182 | 2017-11-04 18:01:03 | Fixed compiling on Windows with HAVE_LIBC enabled | ||
| bcdf8b91 | 2017-11-04 17:35:03 | Added SDL_fmod() and SDL_fmodf() | ||
| 34502143 | 2017-11-04 15:34:14 | Added float versions of SDL's math functions | ||
| bba90a65 | 2017-11-04 09:44:29 | Fixed using libunwind on iOS, where it's only available on the simulator (thanks Vit!) | ||
| 7abef33c | 2017-11-04 09:00:40 | Android configure-based build fixes (thanks Vit!) | ||
| 54a0245b | 2017-11-01 17:41:25 | Fixed bug 3926 - SDL_main export e_pluschauskas I noticed that after updating SDL to 2.0.6 my application now exports SDL_main. At GitHub SDL mirror (branch 2.0.5) SDL_main prototyped as extern C_LINKAGE int SDL_main(int argc, char *argv[]); but at branch 2.0.6 prototype is extern C_LINKAGE DECLSPEC int SDL_main(int argc, char *argv[]); | ||
| 2ac567b7 | 2017-10-26 16:37:20 | Fixed bug 3902 - Add a specific KMSDRM hint for low latency video | ||
| fe2b5fec | 2017-10-20 14:48:10 | Document the SDL audio channel mapping | ||
| 7a6cf53a | 2017-10-20 10:45:38 | Added SDL_AudioStreamFlush() to the list of new audio stream functions | ||
| 72932906 | 2017-10-19 18:05:42 | audio: Added SDL_AudioStreamFlush(). | ||
| 80f8464d | 2017-10-18 15:54:05 | Added audio stream conversion functions: SDL_NewAudioStream SDL_AudioStreamPut SDL_AudioStreamGet SDL_AudioStreamAvailable SDL_AudioStreamClear SDL_FreeAudioStream | ||
| a225ffc1 | 2017-10-16 14:39:56 | Added min/max macros for the sized SDL datatypes | ||
| fc60db86 | 2017-10-12 17:17:09 | Fixed compiler warning | ||
| 4b284298 | 2017-10-12 14:21:21 | Android doesn't have libunwind.h in API 16 | ||
| 9c580e14 | 2017-10-12 13:44:28 | Added functions to query and set the SDL memory allocation functions: SDL_GetMemoryFunctions() SDL_SetMemoryFunctions() SDL_GetNumAllocations() | ||
| 0ce23a54 | 2017-10-12 08:08:04 | Updated version to 2.0.7 | ||
| d90fce3c | 2017-10-10 11:10:15 | Exposed the joystick locking functions for multi-threaded access to the joystick API | ||
| e564da78 | 2017-09-29 10:15:44 | revert files I didnt mean to commit! | ||
| e27f12e0 | 2017-09-29 10:07:37 | wayland: Fix bug 3814 -Wmissing-field-initializers | ||
| c44e741b | 2017-09-23 12:38:47 | Fixed bug 3842 - fix SDL_thread.h for emx Ozkan Sezer EMX declares _beginthread() / _endthread() in stdlib.h, not process.h. The attached patch updates the OS/2 case of SDL_thread.h for it. (It also tidies the unreadable whitespace in win32 case.) |