SDL/src
Christian Semmler 581c18f693 emscripten: Fix crash on Safari when probing gamepad rumble support
Safari's older Gamepad API exposes `vibrationActuator` with `playEffect`
and `reset` but no `effects` enumeration array. The probe added in
651136ac7 dereferences `vibrationActuator['effects']['includes']`
unconditionally, throwing `TypeError: undefined is not an object` on
every Safari client that opens a connected gamepad. Add the missing
`['effects']` null check so the probe returns false on Safari instead
of aborting.

(cherry picked from commit db7ac820f9)
2026-05-16 15:48:06 -07:00
..
atomic atomic: Implement loads on MSVC without RMW operations 2026-05-11 06:43:40 -07:00
audio pipewire: Don't mark a device disconnected if pw_stream_dequeue_buffer fails. 2026-04-02 13:59:43 -04:00
camera camera: Fix crash when setting frame rate and improve FPS precision 2026-03-02 12:00:32 -08:00
core unix: Fix infinite looping in SDL_FriBidi_Process if len > 127 2026-05-15 15:40:55 -07:00
cpuinfo Updated copyright for 2026 2026-01-01 09:48:19 -08:00
dialog make sure #endif comment matches the macro name 2026-05-14 16:29:53 -07:00
dynapi Improve constness with Clipboard APIs 2026-04-19 07:06:43 -04:00
events Return the touch device name for SDL_TOUCH_MOUSEID 2026-05-13 09:07:51 -07:00
filesystem SDL_EnumerateDirectory(""): Don't append path separator if path is empty 2026-04-23 22:53:16 -04:00
gpu GPU: Set missing fields on Vulkan swapchain texture (#15606) 2026-05-15 11:44:33 -07:00
haptic make sure #endif comment matches the macro name 2026-05-14 16:29:53 -07:00
hidapi Detect the GameSir Super Nova in Xbox 360 mode 2026-05-15 10:13:53 -07:00
io io: With stdio, only forbid opening directories as files. 2026-03-12 13:17:08 -04:00
joystick emscripten: Fix crash on Safari when probing gamepad rumble support 2026-05-16 15:48:06 -07:00
libm Updated copyright for 2026 2026-01-01 09:48:19 -08:00
loadso Updated copyright for 2026 2026-01-01 09:48:19 -08:00
locale emscripten: Move some EM_ASM blocks to MAIN_THREAD_EM_ASM. 2026-02-20 10:28:12 -05:00
main emscripten: Add support for automounting persistent storage before SDL_main. 2026-03-29 07:41:37 -07:00
misc misc: Use the OpenURI D-Bus portal for opening URLs 2026-04-05 16:33:11 -04:00
power More prefer SDL_zero*() 2026-01-23 16:02:27 -08:00
process process: Don't duplicate NULL stdio handles on Windows. 2026-03-30 16:28:41 -04:00
render PS2, VITA: Fix void pointer arithmetic warnings (#14995) 2026-05-13 19:32:50 +03:00
sensor make sure #endif comment matches the macro name 2026-02-24 09:49:08 -08:00
stdlib Fix msvc analyzer warnings 2026-03-30 10:49:46 -07:00
storage Updated copyright for 2026 2026-01-01 09:48:19 -08:00
test Updated copyright for 2026 2026-01-01 09:48:19 -08:00
thread make sure #endif comment matches the macro name 2026-05-14 16:29:53 -07:00
time include: Added \threadsafety notes to about 60 more functions. 2026-02-18 19:51:25 -05:00
timer Use Uint64 instead for tick_numerators in USE_128BIT_MATH 2026-02-25 20:19:30 -08:00
tray Fix warning: strict prototypes (#14992) 2026-05-13 19:32:50 +03:00
video surface: cannot set a palette to a non-indexed surface 2026-05-14 20:55:02 -07:00
SDL.c Deprecate SDL_INIT_EVERYTHING from SDL2 2026-03-03 15:10:43 -05:00
SDL_assert.c make sure #endif comment matches the macro name 2026-02-24 09:49:08 -08:00
SDL_assert_c.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_error.c error: Alternate between two buffers in SDL_SetError. 2026-04-25 15:18:25 -04:00
SDL_error_c.h error: Alternate between two buffers in SDL_SetError. 2026-04-25 15:18:25 -04:00
SDL_guid.c Prefer SDL_zero()/SDL_zerop() 2026-01-23 11:23:55 -08:00
SDL_hashtable.c Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_hashtable.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_hints.c Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_hints_c.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_internal.h Loading PNG files are part of the core SDL library 2026-03-01 11:44:01 -08:00
SDL_list.c Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_list.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_log.c Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_log_c.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_properties.c Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_properties_c.h Updated copyright for 2026 2026-01-01 09:48:19 -08:00
SDL_utils.c Fixed crash in SDL_startswith() when passed NULL strings 2026-04-24 07:34:54 -07:00
SDL_utils_c.h dbus: Better handle local URI paths 2026-04-06 19:45:12 -04:00