Commit graph

  • a9650d440a Fixed MFI controller being opened while HIDAPI controller was being opened Sam Lantinga 2023-02-09 12:05:46 -0800
  • ecd2e2a609
    SDL_GetJoystickAxis(): returns 0 on success, negative on error Sylvain 2023-02-09 20:59:38 +0100
  • ae91dcbcf4 fix dynapi after commit dc74a67a Ozkan Sezer 2023-02-09 22:50:00 +0300
  • 6a6f033247
    SDL_AndroidGetExternalStorageState(): return 0 on success, and fills *state with flags Sylvain 2023-02-09 20:44:46 +0100
  • 63ac1a5a55
    Comment: JNIenv is NULL on error Sylvain 2023-02-09 16:24:24 +0100
  • f16dbe4ed5
    Change return -1 on error, to return a negative on error, which allow to be more consistent across functions. Only SDL_SetError should return explicitly -1. Sylvain 2023-02-09 16:08:03 +0100
  • dc74a67a57 SDL_UnlockTexture: change from 'int' to 'void' Sylvain 2023-02-09 20:16:41 +0100
  • 34745e142f
    SDL_UnlockTexture: change from 'int' to 'void' #7278 Sylvain 2023-02-09 20:16:41 +0100
  • cee245b6a9 SDL_*SceenSaver(): change return value to int. // add SDL_Unsupported() errors Sylvain 2023-02-09 15:34:43 +0100
  • e2e5e670bf Remove returns int from Destroy/Close/Unlock functions Sylvain 2023-02-09 16:53:47 +0100
  • dc6464892a
    Remove returns int from Destroy/Close/Unlock functions #7277 Sylvain 2023-02-09 16:53:47 +0100
  • 3bd737d44c Add error returns to void functions that can fail/set errors. Linus Probert 2023-02-08 20:43:52 +0100
  • 279098847b
    SDL_*SceenSaver(): change return value to int. // add SDL_Unsupported() errors #7274 Sylvain 2023-02-09 15:34:43 +0100
  • 26d7381179
    SDL_HapticClose and SDL_HapticDestroyEffect returns int #7272 Sylvain 2023-02-09 10:00:31 +0100
  • 2530d1b3df
    SDL_AtomicLock retun int Sylvain 2023-02-09 09:51:34 +0100
  • 78016a279b
    Add error returns to void functions that can fail/set errors. #7266 Linus Probert 2023-02-08 20:43:52 +0100
  • b305d9e3c0 Change return type from void to int for audio function. Eventually set invalid parameter error. Sylvain 2023-02-08 21:22:01 +0100
  • 824b9b0a58 Removed SDL_GetDisplayDPI() Sam Lantinga 2023-02-08 15:07:13 -0800
  • e1782082bc Removed SDL_GetDisplayDPI() #7269 Sam Lantinga 2023-02-08 15:07:13 -0800
  • d77eb8a8d5 Make sure we synchronously re-enable USB reporting mode for Switch controllers (thanks @SortaCore!) Sam Lantinga 2023-02-08 14:22:39 -0800
  • 3fb9118cb6 Note the Google Stadia controller doesn't support rumble over Bluetooth Sam Lantinga 2023-02-08 14:16:24 -0800
  • 71fb4e3d76 Fixed mis-detecting the share button on the Xbox controller over NDIS Sam Lantinga 2023-02-08 14:16:21 -0800
  • 2518e32de8 Dynamically update the serial number if it isn't available at first Sam Lantinga 2023-02-08 14:16:17 -0800
  • e8938fc66a Enable paddles on the Xbox Elite controller when connected over USB Sam Lantinga 2023-01-20 09:31:22 -0800
  • b7c6fec10a Make sure we synchronously re-enable USB reporting mode for Switch controllers (thanks @SortaCore!) Sam Lantinga 2023-02-08 14:22:39 -0800
  • 50575ed223 Note the Google Stadia controller doesn't support rumble over Bluetooth Sam Lantinga 2023-02-08 14:16:24 -0800
  • 00e02de77b Fixed mis-detecting the share button on the Xbox controller over NDIS Sam Lantinga 2023-02-08 14:16:21 -0800
  • d1c72bb0bc Dynamically update the serial number if it isn't available at first Sam Lantinga 2023-02-08 14:16:17 -0800
  • 7eea4ad85a
    Update SDL_video.c #7158 Sylvain Becker 2023-02-08 21:27:31 +0100
  • f869e07674
    Merge 178cbdfd11 into c5c94a6be6 #5346 Frank Praznik 2023-02-08 21:26:30 +0100
  • 5d80b9c966
    Change return type from void to int for audio function. Eventually set invalid parameter error. #7268 Sylvain 2023-02-08 21:22:01 +0100
  • 683565e200
    Merge 084907f17b into c5c94a6be6 #6531 Ethan Lee 2023-02-08 21:57:30 +0200
  • 79419bffdc
    Merge branch 'main' into br_remove_diagonal_dpi Sylvain Becker 2023-02-08 10:59:53 +0100
  • c5c94a6be6 Change return type from void to int, for functions that set an error (SDL_SetError(), SDL_OutOfMemory(), SDL_Unsupported(), SDL_InvalidParam()) Sylvain 2023-02-06 20:24:12 +0100
  • 13c2961461
    Change return type from void to int, for functions that set an error (SDL_SetError(), SDL_OutOfMemory(), SDL_Unsupported(), SDL_InvalidParam()) #7255 Sylvain 2023-02-06 20:24:12 +0100
  • 91e140bb54
    Merge 835f8b67b2 into 6c37d5b57f #7040 Ryan C. Gordon 2023-02-07 15:36:51 -0500
  • 6c37d5b57f x11: Cast the dot clock value to 64-bit when calculating the refresh rate Frank Praznik 2023-02-07 11:41:23 -0500
  • f7f64d06c3 x11: Cast the dot clock value to 64-bit when calculating the refresh rate #7261 Frank Praznik 2023-02-07 11:41:23 -0500
  • 20a4e31a12 Re-added the internal hint SDL_BORDERLESS_WINDOWED_STYLE Sam Lantinga 2023-02-07 09:47:17 -0800
  • fa8fba3812 Add clang-tidy config and CMake/CI support. Pierre Wendling 2022-10-25 23:26:42 -0400
  • 5fded632d6 Added support for the Turtle Beach REACT-R and Recon Xbox controllers Sam Lantinga 2023-02-06 20:14:12 -0800
  • dfc2de5d1d VisualC: add support for building static libraries #7257 Anonymous Maarten 2023-02-06 20:44:45 +0100
  • 4745b6c447
    Add clang-tidy config and CMake/CI support. #6448 Pierre Wendling 2022-10-25 23:26:42 -0400
  • d603371848 video: Try to get the display for fullscreen windows via the window position Frank Praznik 2023-02-06 19:25:19 -0500
  • 445347504c video: Try to get the display for fullscreen windows via the window position #7256 Frank Praznik 2023-02-06 19:25:19 -0500
  • a357021800 Use GNU sed if available Sam Lantinga 2023-02-06 15:47:16 -0800
  • fde6323662 fix build after the Logitech ChillStream patch. Ozkan Sezer 2023-02-07 01:11:02 +0300
  • adf31f6ec0 Updated to version 2.26.3 for release release-2.26.3 Sam Lantinga 2023-02-06 14:08:14 -0800
  • 0208a0eeb3 Added support for the Logitech ChillStream Sam Lantinga 2023-02-06 13:28:00 -0800
  • 7154605982 Added support for the Logitech ChillStream Sam Lantinga 2023-02-06 13:28:00 -0800
  • 7f3036c353 make sure to not enable SDL_PASSED_BEGINTHREAD_ENDTHREAD for WinRT Ozkan Sezer 2023-02-07 00:22:37 +0300
  • b82a8b76b1 windows/SDL_systhread.c: remove some dead code. Ozkan Sezer 2023-02-07 00:22:20 +0300
  • c68cfcdb2d make sure to not enable SDL_PASSED_BEGINTHREAD_ENDTHREAD for WinRT Ozkan Sezer 2023-02-07 00:21:56 +0300
  • 7bf3e28dc6 windows/SDL_systhread.c: remove some dead code. Ozkan Sezer 2023-02-07 00:21:40 +0300
  • 3fa5a2f794 Fixed warning running a command queue without any vertex operations Sam Lantinga 2023-02-06 11:22:00 -0800
  • 22bafe8729 Removed debug code accidentally committed Sam Lantinga 2023-02-06 11:23:53 -0800
  • f8b41919da Fixed warning running a command queue without any vertex operations Sam Lantinga 2023-02-06 11:22:00 -0800
  • 375bde8a4f
    [SDL3] Cleanup void functions (#7253) Linus Probert 2023-02-06 17:53:52 +0100
  • 9d8f98c735 Don't change presentation modes when resizing the logical target Sam Lantinga 2023-02-06 08:51:58 -0800
  • e3be635250
    Fixes review comments #7253 Linus Probert 2023-02-06 17:33:51 +0100
  • e4cb752c99
    [SDL3] Cleanup void functions Linus Probert 2023-02-06 15:30:34 +0100
  • 6f0acca8bd Return the SDL_SetError value Sylvain 2023-02-06 11:41:01 +0100
  • d12954f465
    Return the SDL_SetError value #7252 Sylvain 2023-02-06 11:41:01 +0100
  • a077cc8e4d
    [SDL3] macOS SetCursor performance fix (fixes #7151) (#7249) Sean Ridenour 2023-02-05 18:58:33 -0700
  • 2db1e70ea6
    Merge branch 'libsdl-org:main' into SDL3-macos-setcursor-fix #7249 Sean Ridenour 2023-02-05 15:26:13 -0700
  • 36a4dbe176 Cocoa: Restore -acceptsFirstMouse: function Sean Ridenour 2023-02-05 15:18:48 -0700
  • fbe0352764 SDL_DestroyRenderer: drop all commands first and don't queue new command from SDL_DestroyTexture() (memory leak) Sylvain 2023-02-05 20:29:33 +0100
  • ec5056eecd Cocoa: Remove unneeded resetCursorRects: function Sean Ridenour 2023-02-05 13:44:44 -0700
  • d6e05e4a6b Cocoa: Call [NSCursor set] to change mouse cursor Sean Ridenour 2023-02-05 12:35:30 -0700
  • 0a74e7eee0 Setting the same mouse cursor twice is a no-op Sean Ridenour 2023-02-05 10:55:43 -0700
  • 8b51ae36db
    SDL_DestroyRenderer: drop all commands first and don't queue new command from SDL_DestroyTexture() (memory leak) #7248 Sylvain 2023-02-05 20:29:33 +0100
  • af5efadd9f Setting the same mouse cursor twice is a no-op Sean Ridenour 2023-02-04 10:29:59 -0700
  • e1d79b418c fix build error due to -Wshadow Ozkan Sezer 2023-02-05 20:45:02 +0300
  • 02007e0f24
    Merge branch 'main' into br_presentation_memleak #7241 Sylvain Becker 2023-02-05 18:21:14 +0100
  • 653f2c4ba3 Made the render tests less verbose in the successful case Sam Lantinga 2023-02-05 09:08:33 -0800
  • ec1b42557f Fixed memory leak at shutdown (thanks @1bsyl!) Sam Lantinga 2023-02-05 08:35:40 -0800
  • bcecb9b2f0 Fixed memory leak at shutdown (thanks @1bsyl!) #7246 Sam Lantinga 2023-02-05 08:35:40 -0800
  • 5d1006657a SDL_migration.cocci: remove metavariable warning Sylvain 2023-02-05 17:46:59 +0100
  • 8245dec5a4
    SDL_migration.cocci: remove metavariable warning #7247 Sylvain 2023-02-05 17:46:59 +0100
  • 6f06e4bc80 Add Linux mapping for 8BitDo Pro 2 Wired Controller for Xbox Leonardo Brondani Schenkel 2023-01-04 13:46:01 +0100
  • 5b5a72e33c Sorted controller list Sam Lantinga 2023-02-05 08:43:26 -0800
  • 58fa43e7c3 Added Elecom 8button gamepad Antonis Geralis 2023-02-05 10:35:53 +0200
  • 4266cf8504 Add Linux mapping for 8BitDo Pro 2 Wired Controller for Xbox Leonardo Brondani Schenkel 2023-01-04 13:46:01 +0100
  • 1c03ddefc3 Sorted controller list Sam Lantinga 2023-02-05 08:43:26 -0800
  • d563f38a0d Note that the renderer will by default scale from window coordinates to pixels Sam Lantinga 2023-02-05 08:28:26 -0800
  • 52cd9fcbb0 Added Elecom 8button gamepad Antonis Geralis 2023-02-05 10:35:53 +0200
  • 85143c28b5 SDL_migration.cocci: fix syntax Sylvain 2023-02-05 09:36:45 +0100
  • 99b5ecafcb
    SDL_migration.cocci: fix syntax #7243 Sylvain 2023-02-05 09:36:45 +0100
  • 4ae7ac6fbc
    Added Elecom 8button gamepad #7242 Antonis Geralis 2023-02-05 10:35:53 +0200
  • 88facf9c25
    Fix memory leak when call SDL_DestroyRenderer() SDL_DestroyTexture() of the target texture calls SDL_SetRenderTargetInternal(render, NULL) which has queue viewport command Sylvain 2023-02-05 09:29:38 +0100
  • 87ed68111d cmake: allow find_package from build directory (requires CMake 3.26) #7240 Anonymous Maarten 2023-02-04 23:20:03 +0100
  • 112b8174e8 cmake: check again for unknown documentation commands Anonymous Maarten 2023-01-26 00:43:39 +0100
  • 59b9dec104 cmake: include directories of (generated) dependencies as SYSTEM Anonymous Maarten 2023-01-26 00:39:59 +0100
  • e727255032 Setting the same mouse cursor twice is a no-op #7239 Sean Ridenour 2023-02-04 10:29:59 -0700
  • 4a16d8d00e
    Merge pull request #7238 from Kontrabant/wayland_fix_portrait Frank Praznik 2023-02-04 11:42:43 -0500
  • b2d8a1a58c wayland: Transform mode values for native portrait displays #7238 Frank Praznik 2023-02-04 10:59:17 -0500
  • 31a2a9c08a
    Backport simplify flags PR #7220 #7237 Sylvain 2023-02-04 15:51:37 +0100
  • 4f7f72c257 replaced line comments in public header. Ozkan Sezer 2023-02-04 10:02:10 +0300
  • 02fbf2cf99 replaced line comments in public header. Ozkan Sezer 2023-02-04 10:02:10 +0300
  • 2a83093b36 Use a reasonable upper bound on the number of pixels we'll try to draw when traversing a line Sam Lantinga 2023-02-03 15:45:43 -0800