Commit Graph

  • be3b1cff0b Added logging for SDL_DISPLAYEVENT_MOVED Sam Lantinga 2022-12-08 17:03:29 -08:00
  • ab479b4961 Make sure the display list is up to date for window placement Sam Lantinga 2022-12-08 17:01:18 -08:00
  • a4a80360f5 Added SDL_DISPLAYEVENT_MOVED to detect when display positioning changes Sam Lantinga 2022-12-08 12:46:13 -08:00
  • 98fa97de91 Fixed memory leak when removing existing displays Sam Lantinga 2022-12-08 12:43:23 -08:00
  • 264da8c127 Added SDL_DISPLAYEVENT_MOVED to detect when display positioning changes Sam Lantinga 2022-12-08 12:46:13 -08:00
  • cfc7cac3c9 Fixed memory leak when removing existing displays Sam Lantinga 2022-12-08 12:43:23 -08:00
  • 8b74be464f wayland: Handle the Num Lock and Caps Lock modifiers via modifier events Frank Praznik 2022-12-08 10:56:55 -05:00
  • 653e484da1 wayland: Handle the Num Lock and Caps Lock modifiers via modifier events Frank Praznik 2022-12-08 10:56:55 -05:00
  • e93769d2c9 Extract the name of a callback paramter Sylvain 2022-12-08 10:16:30 +01:00
  • 67a4094eea Rewrite + gendynapi into python Sylvain 2022-12-07 23:16:10 +01:00
  • c265fb74b0 Renamed AUDIODRIVER and VIDEODRIVER hint/env to AUDIO_DRIVER and VIDEO_DRIVER Sylvain 2022-12-08 10:40:01 +01:00
  • 7ca0d15d64 events: Changed SDL_GetEventState from a macro to a function. Ryan C. Gordon 2022-12-08 00:08:51 -05:00
  • fc689a6cb3 Fixed build Sam Lantinga 2022-12-07 16:06:17 -08:00
  • b4d547905d Use the correct name for the DualSense controllers Sam Lantinga 2022-12-07 14:53:33 -08:00
  • 9a6bcca6b8 Use the correct name for the DualSense controllers Sam Lantinga 2022-12-07 14:53:33 -08:00
  • 4ee36a9474 Added support for the DualSense Edge paddles Sam Lantinga 2022-12-07 14:25:53 -08:00
  • c2b2f2a71e Clarified where the paddle locations are Sam Lantinga 2022-12-07 14:17:58 -08:00
  • 9339085593 Added support for the DualSense Edge paddles Sam Lantinga 2022-12-07 14:25:53 -08:00
  • ea714956b6 Clarified where the paddle locations are Sam Lantinga 2022-12-07 14:17:58 -08:00
  • a71ac0eb06 Revert "Add window title to app_ids for different" Sam Lantinga 2022-12-07 07:39:40 -08:00
  • 30bb8f616d wayland: Pass through event timestamps of 0 Frank Praznik 2022-12-05 18:50:22 -05:00
  • 39eab4bf44 Add window title to app_ids for different Lei.Huang 2022-12-05 10:28:31 +08:00
  • d1b4810542 Fixed centering the D-pad on some joysticks Sam Lantinga 2022-12-05 13:36:51 -08:00
  • e8b1dfef9b Fixed centering the D-pad on some joysticks Sam Lantinga 2022-12-05 13:33:04 -08:00
  • fcafe40948 Removed balls from the joystick API Sam Lantinga 2022-12-05 12:47:48 -08:00
  • 75f1eb9216 Don't assume evdev events and SDL_GetTicks() use the same time source Sam Lantinga 2022-12-05 10:40:16 -08:00
  • 57d34f2e10 Make sure we never get a zero tick_start value Sam Lantinga 2022-12-05 10:17:38 -08:00
  • c468d93760 Removed unnecessary conversion from nanoseconds to milliseconds in SDL_GetTicks() Sam Lantinga 2022-12-05 10:11:22 -08:00
  • 82b01035d1 Reduce the chance of overflow when calculating nanosecond time Sam Lantinga 2022-12-05 09:42:22 -08:00
  • ed6d401616 gendynapi.pl: fix "Use of uninitialized value $7" after commit 0f9482e. Ozkan Sezer 2022-12-05 20:29:56 +03:00
  • af5bda5ef3 Fix warnings 'macro argument should be enclosed in parentheses' Sylvain 2022-12-05 15:20:48 +01:00
  • 8cafde5ecc wayland: Add high-resolution event timestamp support Frank Praznik 2022-12-04 11:45:19 -05:00
  • bcccbbd894 tests: avoid redefinition warnings for MSVC _CRT_???_NO_DEPRECATE macros Ozkan Sezer 2022-12-05 00:35:32 +03:00
  • 4a22ee7277 tests: avoid redefinition warnings for MSVC _CRT_???_NO_DEPRECATE macros Ozkan Sezer 2022-12-05 00:35:20 +03:00
  • 38de07d9e4 Cancel current CI actions when a PR is updated Sam Lantinga 2022-12-04 10:02:22 -08:00
  • 39e39f335e Only cancel previous builds when iterating on pull requests Sam Lantinga 2022-12-04 09:50:06 -08:00
  • d6327a00fb re-applied the SDL_NewAudioStream deconstification, including to its definition Ozkan Sezer 2022-12-04 20:50:20 +03:00
  • d3ba6529e6 Fixed windows build Sam Lantinga 2022-12-04 09:39:55 -08:00
  • ee0e9e979c Move intrinsic includes into a private header Cameron Cawley 2022-11-26 17:12:42 +00:00
  • b4da4ed95a Removed SDL_SensorGetDataWithTimestamp() and SDL_GameControllerGetSensorDataWithTimestamp() Sam Lantinga 2022-12-04 09:21:14 -08:00
  • b8760a3ffe The timestamp_us member of the sensor events has been renamed sensor_timestamp and now represents nanoseconds. Sam Lantinga 2022-12-04 08:31:19 -08:00
  • 73f4aeee6a Pass the event timestamp for joystick events Sam Lantinga 2022-12-03 11:15:50 -08:00
  • f32cdfa096 Fixed presentation reset calculation (thanks @zturtleman!) Sam Lantinga 2022-12-04 09:28:03 -08:00
  • f9ad84fd5d Cancel current CI actions when a PR is updated Sam Lantinga 2022-12-04 09:06:06 -08:00
  • 25e62193f4 just revert the const removal from SDL_NewAudioStream in commit d0bbfdb Ozkan Sezer 2022-12-04 12:56:50 +03:00
  • 4e465f25d0 reverted const removal from SDL_NewAudioStream in commit d0bbfdbfb. Ozkan Sezer 2022-12-04 12:55:15 +03:00
  • 202eaeea11 replace windows timeapi.h with mmsystem.h for better compatibility. Ozkan Sezer 2022-12-04 12:50:04 +03:00
  • 36a43eac00 apply const removal changes from SDL_NewAudioStream to dynapi side too. Ozkan Sezer 2022-12-04 12:47:20 +03:00
  • 1f40b9de96 wayland: Pass event timestamps to SDL Frank Praznik 2022-12-03 14:01:19 -05:00
  • 4ffa7f868d Fixed bug libsdl-org#6745 - Check for overflow in SDL_CalculateYUVSize (#6747) Sylvain Becker 2022-12-03 21:22:14 +01:00
  • 7ac66972b7 Detect Logitech PRO Racing Wheel as wheel Max Bachmann 2022-12-03 09:45:04 +01:00
  • 5650046f93 Detect Logitech PRO Racing Wheel as wheel Max Bachmann 2022-12-03 09:45:04 +01:00
  • 3e9ae3ea64 Fix wrong clang-tidy modification. This is an integer division. Thanks @meyraud705 (see PR #6725) Sylvain 2022-12-03 13:36:09 +01:00
  • 021d0b7300 Fix wrong clang-tidy modification. This is an integer division. Thanks @meyraud705 (see PR #6725) Sylvain 2022-12-03 13:36:09 +01:00
  • 0f9482ebc3 reran gendynapi.pl to add SDL_GetTicksNS / SDL_DelayNS to SDL_dynapi.sym Ozkan Sezer 2022-12-03 00:33:50 +03:00
  • 1a890808a4 Fixed build Sam Lantinga 2022-12-02 13:11:04 -08:00
  • 1878674477 build: add symbol versioning for SDL Jan Engelhardt 2022-11-24 20:58:10 +01:00
  • 92cd2c0a74 Enable creation of yuv SDL_Surfaces (#6735) Sylvain Becker 2022-12-02 21:53:48 +01:00
  • 0a3262e819 Pass the OS event timestamp for keyboard, mouse, and touch events where possible Sam Lantinga 2022-12-02 09:03:13 -08:00
  • 1f4cc733a1 Removed the nanosecond versions of event and thread primitive waits from the public API Sam Lantinga 2022-12-02 08:29:46 -08:00
  • e2432bbd3b How did PS2 build without a condition variable implementation? Sam Lantinga 2022-12-02 02:29:25 -08:00
  • 8121bbd083 Convert ticks to 64-bit, added nanosecond precision to the API Sam Lantinga 2022-12-02 01:17:17 -08:00
  • 0a91a793cf Fix Conditional jump or move depends on uninitialised value(s) eg ./testsprite2 --trackmem Sylvain 2022-12-02 21:11:33 +01:00
  • 764b899a13 Fix Conditional jump or move depends on uninitialised value(s) eg ./testsprite2 --trackmem Sylvain 2022-12-02 21:11:33 +01:00
  • 07d6d116ed Commented out syntax that causes Visual Studio 2019 to complain on every edit Sam Lantinga 2022-12-02 00:43:01 -08:00
  • 4713db1484 Commented out syntax that causes Visual Studio 2019 to complain on every edit Sam Lantinga 2022-12-02 00:43:01 -08:00
  • a3d7dd2464 SDL_sysfilesystem.c (SDL_GetBasePath): fixed the solaris code path. Ozkan Sezer 2022-12-02 06:23:30 +03:00
  • ab916e8a61 fixed corrupted (zero-sized) SDL3-WinRTResource_BlankCursor.cur. Ozkan Sezer 2022-12-02 03:32:00 +03:00
  • bb8adf74e0 cmake/sdlchecks.cmake: make it diff smaller against SDL2 Ozkan Sezer 2022-12-02 03:01:02 +03:00
  • b5483f2c68 Fix formatting on Wayland and Pipewire function signatures Frank Praznik 2022-12-01 18:03:36 -05:00
  • b990e9145b build fixes after d0bbfdbfb8 Ozkan Sezer 2022-12-02 02:13:59 +03:00
  • 378b1c286a Fix formatting on Wayland and Pipewire function signatures Frank Praznik 2022-12-01 18:03:36 -05:00
  • 3bdc62215e Fixed Apple build after d0bbfdbfb8 Sam Lantinga 2022-12-01 15:11:29 -08:00
  • ab1f4172e3 Remove SDL_GL_CONTEXT_EGL #6657 (#6683) Sylvain Becker 2022-12-01 23:53:37 +01:00
  • 423c558e44 Detect the G923 (Xbox style) and PXN V900 (PS3 mode) as wheels Sam Lantinga 2022-12-01 14:43:34 -08:00
  • 7237c56499 Detect the G923 (Xbox style) and PXN V900 (PS3 mode) as wheels Sam Lantinga 2022-12-01 14:43:34 -08:00
  • 42238f88ea Fixed build after d0bbfdbfb8 Sam Lantinga 2022-12-01 13:28:48 -08:00
  • d0bbfdbfb8 Clang-Tidy fixes (#6725) Pierre Wendling 2022-12-01 16:07:03 -05:00
  • 3c501b963d Clang-Tidy fixes (#6725) Pierre Wendling 2022-12-01 16:07:03 -05:00
  • 2d86b4ef76 Removed check for _HAVE_STDINT_H, which nobody defines Sam Lantinga 2022-12-01 12:54:02 -08:00
  • e29c0661cc Removed check for _HAVE_STDINT_H, which nobody defines Sam Lantinga 2022-12-01 12:54:02 -08:00
  • c2ce44bead More cleanup for #6619 Sam Lantinga 2022-12-01 12:52:48 -08:00
  • f17058b562 Updated to version 2.26.1 for release release-2.26.1 Sam Lantinga 2022-12-01 11:54:51 -08:00
  • 11ef4df207 cmake: rely on targets from the main cmake script Anonymous Maarten 2022-11-30 23:40:34 +01:00
  • 14ffaba399 cmake: build with rpath's, they are removed on install Anonymous Maarten 2022-11-30 23:39:54 +01:00
  • 1dce3f9265 ci: RISCOS is a bool Anonymous Maarten 2022-11-30 23:38:50 +01:00
  • 88b41c47fa ci: do verbose PSP build Anonymous Maarten 2022-11-30 23:38:25 +01:00
  • e57554ea65 SDL_main.h: added field to SDL_GDKSuspendComplete documentation. Ozkan Sezer 2022-12-01 20:37:00 +03:00
  • a463aca0d1 Simplified SDL_CreateRGBSurface* functions Sam Lantinga 2022-12-01 08:53:14 -08:00
  • 1e7e25626b Use SDL_PIXELFORMAT_RGB565, which is the most common 16-bit format Sam Lantinga 2022-12-01 08:34:41 -08:00
  • a01759f8f0 Fixed 16-bit RGBA masks Sam Lantinga 2022-12-01 08:32:57 -08:00
  • 09ee811f4b Small format changed (using clang-format 15.0.2-1) Sylvain 2022-12-01 09:39:08 +01:00
  • c30b2063e0 Clarified the migration path for SDL_CreateSurface() Sam Lantinga 2022-12-01 08:26:32 -08:00
  • 932f61348d Remove mask versions of SDL_CreateRGBSurface* #6701 (#6711) Sylvain Becker 2022-12-01 17:04:02 +01:00
  • 778b8926b4 Small format changed (using clang-format 15.0.2-1) Sylvain 2022-12-01 09:39:08 +01:00
  • b067ab9202 restore SDL_malloc.c original formatting. Ozkan Sezer 2022-12-01 03:11:00 +03:00
  • 45025799b7 restore SDL_malloc.c original formatting. Ozkan Sezer 2022-12-01 03:11:00 +03:00
  • b3b94cf36b Fix xcode project after opengles renderer removal Sasha Szpakowski 2022-11-30 20:40:49 -04:00
  • 36c5d5cc65 Added support for the Logitech Cordless Precision PS3 controller Sam Lantinga 2022-11-30 17:03:29 -08:00
  • 4f9c2b3e2e Added support for the HORIPAD Pro for Xbox Series X Sam Lantinga 2022-11-30 16:42:00 -08:00