Commit graph

11731 commits

Author SHA1 Message Date
Sam Lantinga 5ac57b20cb Merge commit '56522034db321676fd2d665d27e5aeac0c2383f9' into main 2023-01-10 10:18:55 -08:00
Sam Lantinga 3cf76e2581 Merge commit '9fa55d9cabc93532cd5cf44105ec589a4db1d097' into main 2023-01-10 10:18:53 -08:00
Sam Lantinga a26f810dd8 Merge commit '2aa9569b3e3dacce9338fb6964c953217d02ff65' into main 2023-01-10 10:18:51 -08:00
Sam Lantinga 45950b476d Merge commit '9597c482facce811f1f96eee346c12e8f41b2abd' into main 2023-01-10 10:18:49 -08:00
Sam Lantinga 89d8b0372d Merge commit 'a486d0e2b2985141bb1e1e9945cfc32890bfa6cd' into main 2023-01-10 10:18:46 -08:00
Sam Lantinga d44c86e443 Merge commit '049e6ff4085cdfbb311d08afc8699e1dcffffab0' into main 2023-01-10 10:18:44 -08:00
Sam Lantinga f890f97286 Merge commit '837416ef8508c2abda02da8b8c2fe4d1a877e78a' into main 2023-01-10 10:18:42 -08:00
Sam Lantinga def4d03c3f Merge commit 'aa7fdd6624645d152c498372b600d5a309293be4' into main 2023-01-10 10:18:40 -08:00
Sam Lantinga bec108a254 Merge commit '0ab99ffb2a9a887a2db30d29e917638d90a96747' into main 2023-01-10 10:18:38 -08:00
Sam Lantinga db1ff457d0 Merge commit 'f85ef6fc3cc51e641231db478783725e0ea86937' into main 2023-01-10 10:18:36 -08:00
Sam Lantinga 4354174865 Merge commit '5ed00d34aa248c3af60ba26a0a74866a15bdb704' into main 2023-01-10 10:18:34 -08:00
Sam Lantinga 053c377893 Merge commit 'e9b86eebf3018dd3653af53fc47cb772ab85059f' into main 2023-01-10 10:18:32 -08:00
Sam Lantinga 40b45970ef Merge commit '7275b2b3522cde90841b239bc61e4494f142d514' into main 2023-01-10 10:18:29 -08:00
Sam Lantinga 7da95766b5 Merge commit '5feebcdce0252f6af7c21c2aa7525134c09b5002' into main 2023-01-10 10:18:27 -08:00
Sam Lantinga bd98f8fef4 Merge commit 'fde78d12f247a776b52b007479e5274d4bd4e3fe' into main 2023-01-10 10:18:23 -08:00
Sam Lantinga f092f5982c Merge commit '78ccadd5a22bd60c015598fa0abad92705d5ea0f' into main 2023-01-10 10:18:21 -08:00
Sam Lantinga f393f65104 Merge commit '504bce5187830c082cb8803fe9447b4fb45fcccc' into main 2023-01-10 10:18:19 -08:00
Sam Lantinga b61a819e0c Merge commit 'c663e6d568a1bcb096df3ff072f1b9306980ab73' into main 2023-01-10 10:18:17 -08:00
Sam Lantinga 56ad16fb7b Merge commit 'dbd4b88abce852bb11d850333f28c66681cb5530' into main 2023-01-10 10:18:15 -08:00
Sam Lantinga 81c3343d04 Merge commit '40833d25262552fe96dec5acd3870d79f08f1456' into main 2023-01-10 10:18:12 -08:00
Sam Lantinga 8cd08097d9 Merge commit '59308cb3e99c104692b55156883cd89c2aa84699' into main 2023-01-10 10:18:10 -08:00
Sam Lantinga 60cff229c8 Merge commit '62297e7da506e767de678c8aab4efdfd2fc38c89' into main 2023-01-10 10:18:08 -08:00
Sam Lantinga 2c5b384dce Merge commit '607ddd0e101d6b0867036e5c48b0f854d553edce' into main 2023-01-10 10:18:06 -08:00
Sam Lantinga 85d6fb280a Merge commit '4798c36197d403fbb97cd4853fa109d1b0b77d62' into main 2023-01-10 10:18:04 -08:00
Sam Lantinga 69b94145d3 Updated documentation for SDL_migration.cocci
Especially note that this can be installed and run in WSL on Windows
2023-01-10 07:54:18 -08:00
Anonymous Maarten c4b471bd13 Ensure training new line in cocci files 2023-01-10 16:43:15 +01:00
Anonymous Maarten ecc48b882d migration: change 2nd arg of SDL_CreateRenderer to NULL if it was -1 2023-01-10 16:11:22 +01:00
Sylvain Becker 5066fcde69
Add SDL_migration.cocci for SDL2 to 3 migration (#7042)
* Add SDL_migration.cocci for SDL2 to 3 migration
2023-01-10 15:25:00 +01:00
Elad Lahav 413af2f5f1 Addressed comments 2023-01-10 06:19:40 -08:00
Elad Lahav 38b35a3414 Allow the use of posix_spawn() instead of vfork/execlp() 2023-01-10 06:19:40 -08:00
Sam Lantinga 56522034db Fixed building with Visual Studio 2010 2023-01-09 18:30:23 -08:00
Narr the Reg 9fa55d9cab hidapi: switch: Add user calibration support 2023-01-09 18:07:54 -08:00
Sam Lantinga 2aa9569b3e Replaced SDL_SIMDAlloc(), SDL_SIMDRealloc(), and SDL_SIMDFree() with SDL_aligned_alloc() and SDL_aligned_free()
Fixes https://github.com/libsdl-org/SDL/issues/5641
2023-01-09 18:01:59 -08:00
Anonymous Maarten 9597c482fa ci: add haiku to ci matrix 2023-01-10 02:39:09 +01:00
Anonymous Maarten a486d0e2b2 ci: rename *.yaml -> *.yaml 2023-01-10 02:39:09 +01:00
Anonymous Maarten 049e6ff408 cmake: haiku uses CXX code, so enable it in C-only project 2023-01-10 02:39:09 +01:00
Anonymous Maarten 837416ef85 cmake: command-line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ 2023-01-10 02:39:09 +01:00
Anonymous Maarten aa7fdd6624 haiku: remove unused variable in SDL_BApp.h 2023-01-10 02:39:09 +01:00
Anonymous Maarten 0ab99ffb2a cmake: add SDL_TESTS_TIMEOUT_MULTIPLIER to account for slower machines 2023-01-10 02:39:09 +01:00
Anonymous Maarten f85ef6fc3c haiku: fix use of SDL_ConvertSurfaceFormat 2023-01-10 02:39:09 +01:00
Sam Lantinga 5ed00d34aa Document that condition variable mutexes can't be locked recursively.
Fixes https://github.com/libsdl-org/SDL/issues/5497
2023-01-09 15:59:39 -08:00
Sam Lantinga e9b86eebf3 Functions which return function pointers now return SDL_FunctionPointer instead of void*
This fixes the clang warning "Cast between pointer-to-function and pointer-to-object is an extension"

You can define SDL_FUNCTION_POINTER_IS_VOID_POINTER in your project to restore the previous behavior.

Fixes https://github.com/libsdl-org/SDL/issues/2866
2023-01-09 15:46:21 -08:00
Sylvain 7275b2b352
SDL_GetTicks64: entry added in SDL_ENABLE_OLD_NAMES 2023-01-09 21:59:50 +01:00
Sam Lantinga 5feebcdce0 SDL_AddHintCallback() now returns a standard int result instead of void
Fixes https://github.com/libsdl-org/SDL/issues/7035
2023-01-09 12:09:30 -08:00
Sam Lantinga fde78d12f2 Updated copyright for 2023 2023-01-09 09:41:41 -08:00
Sam Lantinga 78ccadd5a2 Speed up processing of update-copyright.sh 2023-01-09 09:38:36 -08:00
Sam Lantinga 504bce5187 Set SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS for the virtual joystick test 2023-01-09 09:16:10 -08:00
Sam Lantinga c663e6d568 Revert "Always allow controller events for virtual joysticks regardless of focus state"
This reverts commit d94f2a9ee5.

Rather than changing behavior, we'll set SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS in the joystick tests
2023-01-09 09:05:40 -08:00
Sam Lantinga dbd4b88abc Generally removed generally 2023-01-09 09:04:05 -08:00
Sam Lantinga 40833d2526 Documented thread starvation issue raised in https://github.com/libsdl-org/SDL/pull/7023 2023-01-09 09:01:41 -08:00