Commit Graph

  • 413af2f5f1 Addressed comments Elad Lahav 2023-01-10 09:06:36 -05:00
  • 38b35a3414 Allow the use of posix_spawn() instead of vfork/execlp() Elad Lahav 2023-01-10 07:02:00 -05:00
  • 56522034db Fixed building with Visual Studio 2010 Sam Lantinga 2023-01-09 18:30:23 -08:00
  • 9fa55d9cab hidapi: switch: Add user calibration support Narr the Reg 2023-01-09 17:42:17 -06:00
  • 2aa9569b3e Replaced SDL_SIMDAlloc(), SDL_SIMDRealloc(), and SDL_SIMDFree() with SDL_aligned_alloc() and SDL_aligned_free() Sam Lantinga 2023-01-09 17:42:16 -08:00
  • 9597c482fa ci: add haiku to ci matrix Anonymous Maarten 2022-12-02 20:07:36 +01:00
  • a486d0e2b2 ci: rename *.yaml -> *.yaml Anonymous Maarten 2023-01-09 18:35:48 +01:00
  • 049e6ff408 cmake: haiku uses CXX code, so enable it in C-only project Anonymous Maarten 2023-01-09 20:09:27 +01:00
  • 837416ef85 cmake: command-line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ Anonymous Maarten 2023-01-09 18:02:40 +01:00
  • aa7fdd6624 haiku: remove unused variable in SDL_BApp.h Anonymous Maarten 2023-01-09 16:58:25 +01:00
  • 0ab99ffb2a cmake: add SDL_TESTS_TIMEOUT_MULTIPLIER to account for slower machines Anonymous Maarten 2022-12-17 00:05:55 +01:00
  • f85ef6fc3c haiku: fix use of SDL_ConvertSurfaceFormat Anonymous Maarten 2022-12-02 22:18:46 +01:00
  • 5ed00d34aa Document that condition variable mutexes can't be locked recursively. Sam Lantinga 2023-01-09 15:59:39 -08:00
  • e9b86eebf3 Functions which return function pointers now return SDL_FunctionPointer instead of void* Sam Lantinga 2023-01-09 14:55:12 -08:00
  • 7275b2b352 SDL_GetTicks64: entry added in SDL_ENABLE_OLD_NAMES Sylvain 2023-01-09 21:59:50 +01:00
  • 5feebcdce0 SDL_AddHintCallback() now returns a standard int result instead of void Sam Lantinga 2023-01-09 12:09:30 -08:00
  • 05b03032f1 Updated copyright for 2023 Sam Lantinga 2023-01-09 09:52:59 -08:00
  • 0479df53ca Updated copyright for 2023 Sam Lantinga 2023-01-09 09:48:21 -08:00
  • fde78d12f2 Updated copyright for 2023 Sam Lantinga 2023-01-09 09:41:41 -08:00
  • 78ccadd5a2 Speed up processing of update-copyright.sh Sam Lantinga 2023-01-09 09:38:36 -08:00
  • 504bce5187 Set SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS for the virtual joystick test Sam Lantinga 2023-01-09 09:16:10 -08:00
  • c663e6d568 Revert "Always allow controller events for virtual joysticks regardless of focus state" Sam Lantinga 2023-01-09 09:05:40 -08:00
  • dbd4b88abc Generally removed generally Sam Lantinga 2023-01-09 09:04:05 -08:00
  • 40833d2526 Documented thread starvation issue raised in https://github.com/libsdl-org/SDL/pull/7023 Sam Lantinga 2023-01-09 09:01:41 -08:00
  • 59308cb3e9 SDL_platform_defines.h is already included in SDL_platform.h Sam Lantinga 2023-01-09 08:40:11 -08:00
  • 62297e7da5 cmake: avoid string(SUBSTRING) on short strings Anonymous Maarten 2023-01-09 15:44:38 +01:00
  • 607ddd0e10 Merge pull request #7033 from 1bsyl/br_oldname_gettick64 Sylvain Becker 2023-01-09 13:44:53 +01:00
  • 4798c36197 Add oldname entry: GetTicks64() is renamed GetTicks() Sylvain 2023-01-09 13:43:39 +01:00
  • 0b0d256a69 Fix loongarch64 support yuanhecai 2023-01-09 15:52:07 +08:00
  • 50af65a7dd Fix loongarch64 support yuanhecai 2023-01-09 15:52:07 +08:00
  • c49d02cd13 cmake (CheckPTHREAD): remove _GNU_SOURCE define after bug #7026 fix Ozkan Sezer 2023-01-09 01:30:50 +03:00
  • d09d0aaab6 cmake (CheckPTHREAD): remove _GNU_SOURCE define after bug #7026 fix Ozkan Sezer 2023-01-09 01:30:50 +03:00
  • 0d8c22acd2 cmake (CheckPTHREAD): remove _GNU_SOURCE define after bug #7026 fix Ozkan Sezer 2023-01-09 01:30:37 +03:00
  • a486eeccf4 Remove one test that contains call of SDL_Quit() / SDL_Init() because it conficts with the initializaion of test common. (before it used SDL_VideoInit SDL_VideoQuit which weren't perturbated by SDL_Quit()) Sylvain 2023-01-07 15:59:18 +01:00
  • f91a747549 include: SDL_dynapi.h depends on platform defines Anonymous Maarten 2023-01-08 00:40:09 +01:00
  • d94f2a9ee5 Always allow controller events for virtual joysticks regardless of focus state Sam Lantinga 2023-01-08 10:47:58 -08:00
  • e312fbb37d cmake: do all compile tests with -D_GNU_SOURCE=1 Anonymous Maarten 2023-01-08 19:12:11 +01:00
  • 460b7b247f cmake: do all compile tests with -D_GNU_SOURCE=1 Anonymous Maarten 2023-01-08 19:12:11 +01:00
  • 61f76efb85 cmake: do all compile tests with -D_GNU_SOURCE=1 Anonymous Maarten 2023-01-08 18:45:59 +01:00
  • 3c72e2de4d Fixed infinite loop shutting down WGI controllers Sam Lantinga 2023-01-08 09:32:31 -08:00
  • ebc2fb411f Fixed infinite loop shutting down WGI controllers Sam Lantinga 2023-01-08 09:32:31 -08:00
  • ac99db9fc8 Fixed infinite loop shutting down WGI controllers Sam Lantinga 2023-01-08 09:32:31 -08:00
  • f53d797cca cmake: generate git hash using GetRevisionDescription CMake module Anonymous Maarten 2022-10-20 18:47:17 +02:00
  • d4f7b0aa0e cmake: added missing INTERFACE to target_compile_definitions Ozkan Sezer 2023-01-08 19:41:32 +03:00
  • 9ffeae7b58 Added a migration note for SDL_Vulkan_GetInstanceExtensions() Sam Lantinga 2023-01-08 07:59:14 -08:00
  • a2b2464b46 SDL_Vulkan_GetInstanceExtensions: Require Vulkan Hunter Kvalevog 2023-01-07 11:17:16 -06:00
  • 0953367967 SDL_Vulkan_GetInstanceExtensions: Remove window Hunter Kvalevog 2023-01-07 10:51:58 -06:00
  • c8286fc9a2 testevdev: cannot test evdev capabilities without linux input Anonymous Maarten 2023-01-08 01:28:12 +01:00
  • 1d60030e84 cmake: add -Wformat when checking -Wformat-extra-args Anonymous Maarten 2023-01-07 22:25:09 +01:00
  • e85e11b211 cmake: avoid adding full path to SDL_EXTRA_LIBS Anonymous Maarten 2023-01-07 20:38:33 +01:00
  • dfcd8d5835 cmake: remove unused function 'listtostrrev' Anonymous Maarten 2023-01-07 19:40:23 +01:00
  • 77025417dd cmake: add SDL_ prefix to EXTRA_LIBS/EXTRA_LDFLAGS Anonymous Maarten 2023-01-07 18:57:56 +01:00
  • bffbfa572c cmake: rename SDL_STATIC_LIBS -> SDL_PC_STATIC_LIBS Anonymous Maarten 2023-01-07 18:32:58 +01:00
  • 2f1860cfc6 cmake: add sdl-shared-build-options target to collect SDL shared library flags Anonymous Maarten 2023-01-07 18:17:55 +01:00
  • 0003559adf cmake: handle macos current and compatibility version through VERSION/SOVERSION properties Anonymous Maarten 2023-01-07 18:08:46 +01:00
  • 053c37583c cmake: avoid modifying CMAKE_C_FLAGS Anonymous Maarten 2023-01-07 17:45:58 +01:00
  • 8fc445c730 cmake: SDL3 does not need -lmingw32 anymore because SDL_main has gone Anonymous Maarten 2023-01-07 16:58:42 +01:00
  • 562a8209d8 cmake: HAVE_LINUX_VERSION_H is unused Anonymous Maarten 2023-01-07 16:57:28 +01:00
  • 5555284a70 cmake: use target_compile_options to use -idirafter for khronos headers Anonymous Maarten 2023-01-07 16:55:32 +01:00
  • 4d9ee735fd cmake: SIZEOF_VOIDP, LIBNAME and LIBTYPE are not used Anonymous Maarten 2023-01-07 16:25:17 +01:00
  • 0a4420e02f cmake: rename cmake variables to include _PC_ as they are meant for pkgconfig file Anonymous Maarten 2023-01-07 16:24:11 +01:00
  • 373a6464c8 cmake: collect cflags in sdl-build-options and sdl-global-options Anonymous Maarten 2023-01-07 16:15:28 +01:00
  • fb80608fff cmake: use cmake <LANG>_VISIBILITY_PRESET property to pass -fvisibility=hidden Anonymous Maarten 2023-01-07 15:06:21 +01:00
  • 87af5cfc9f cmake: HAVE_GCC_PREFERRED_STACK_BOUNDARY is not used anymore Anonymous Maarten 2023-01-07 15:00:30 +01:00
  • d73b9fec1e cmake: target_compile_definitions does not need -D prefix Anonymous Maarten 2023-01-07 14:07:19 +01:00
  • 1277c7784d Merge pull request #7022 from 1bsyl/br_test_mouse Sylvain Becker 2023-01-08 13:44:49 +01:00
  • 51ae7cc35c Fix testautomation_mouse: FLT_MIN is positive and very small. we want -FLT_MAX here. Sylvain 2023-01-08 13:28:10 +01:00
  • ec14487e1d unix/SDL_systimer.c: add ';' to statement Anonymous Maarten 2023-01-07 23:46:52 +01:00
  • cbe01319e0 Fix testautomation_pixels using really invalid pixel format Sylvain 2023-01-07 18:56:50 +01:00
  • 76e1c7c509 Fix testautomation_pixels: we can create all pixel format, including SDL_PIXELFORMAT_UNKNOWN (as before). Sylvain 2023-01-07 16:48:51 +01:00
  • 7f0801377b Separate wmain() and main() implementations Sam Lantinga 2023-01-07 08:28:07 -08:00
  • 8e31fc4130 cmake: check for math library functions even in the absence of libm Ozkan Sezer 2023-01-07 14:25:04 +03:00
  • 0d5467a6e9 cmake: check for math library functions even in the absence of libm Ozkan Sezer 2023-01-07 14:25:04 +03:00
  • ca541789ea cmake: check for math library functions even in the absence of libm Ozkan Sezer 2023-01-07 14:25:04 +03:00
  • 75834df37c cmake: fix detection of library functions when -Werror is enabled. Ozkan Sezer 2023-01-07 14:25:04 +03:00
  • 305e7b55bd cmake: fix detection of library functions when -Werror is enabled. Ozkan Sezer 2023-01-07 14:25:04 +03:00
  • 5ea06f487d cmake: fix detection of library functions when -Werror is enabled. Ozkan Sezer 2023-01-07 14:25:04 +03:00
  • 0f9b923ff4 cmake: fix detection of math library functions. Ozkan Sezer 2023-01-07 14:25:04 +03:00
  • 5a2a91cb05 Fixed compile warnings with unused parameters Sam Lantinga 2023-01-06 16:24:20 -08:00
  • ad0d1e2ad5 wayland: Fallback to default cursor if chosen one wasn't found Guldoman 2023-01-04 18:47:16 +01:00
  • 13ab100317 Fixed bug #6990: fix computation of alpha in BlitRGBtoRGBPixelAlphaMMX backport from SDL2 branch Sylvain 2023-01-06 13:27:53 +01:00
  • 7bf4319eb2 fix computation of alpha in BlitRGBtoRGBPixelAlphaMMX3DNOW (see #6990) Sylvain 2023-01-06 21:24:24 +01:00
  • 5dd07a5773 The alloc_size attribute isn't supported in clang 3.x Sam Lantinga 2023-01-06 12:10:21 -08:00
  • 6b5855e990 Removed SDL_REVISION_NUMBER Sam Lantinga 2023-01-06 09:53:18 -08:00
  • 93e2903ac5 Add SDL_PlayAudioDevice() to play audio. Remove pause_on param from SDL_PauseAudioDevice() Sylvain 2023-01-06 13:59:45 +01:00
  • 0ebda87425 Fixed bug #6990: fix computation of alpha in BlitRGBtoRGBPixelAlphaMMX Sylvain 2023-01-06 13:27:53 +01:00
  • 26be384801 SDL_syswm.h provides the platform specific types by default again Sam Lantinga 2023-01-05 22:53:40 -08:00
  • 230ad2a201 wayland: Handle modifier keys internally Frank Praznik 2022-12-30 11:04:08 -05:00
  • d2917918c0 events: Add function to send keystrokes and not update the modifier state Frank Praznik 2022-12-30 10:06:00 -05:00
  • 59ad6793b9 Fix For issue #6948 (#6991) Matt Durgavich 2023-01-05 11:54:27 -05:00
  • 2d7f8d7d51 Remove legacy SDL_Audio functions that acts on device id == 1 Sylvain 2023-01-05 09:57:14 +01:00
  • bb34441474 Provide a better real-world example of the SDL_RWread() API change Sam Lantinga 2023-01-05 00:48:44 -08:00
  • 228d9ae791 rename_headers.py covers begin_code.h/close_code.h Sam Lantinga 2023-01-04 23:50:08 -08:00
  • c93f2f06c9 Updated release_checklist.md for SDL 3.0 Sam Lantinga 2023-01-04 23:47:01 -08:00
  • 51a80d03ce Be really explicit about needing to check for negative error codes with SDL_RWread() Sam Lantinga 2023-01-04 22:29:16 -08:00
  • 5a42831345 wayland: Fallback to default cursor if chosen one wasn't found Guldoman 2023-01-04 18:47:16 +01:00
  • 0bbf6cc379 Test text rendering APIs take floating point coordinates Sam Lantinga 2023-01-04 16:22:40 -08:00
  • 0901657278 Document renamed API functions in SDL_keyboard.h Sam Lantinga 2023-01-04 15:41:35 -08:00
  • 1dc119c316 Removed functions from SDL_oldnames.h that are no longer in the API Sam Lantinga 2023-01-04 14:53:29 -08:00
  • 4f978456a8 Renamed SDL_GAMEPADDEVICEREMAPPED to SDL_GAMEPADREMAPPED Sam Lantinga 2023-01-04 14:32:37 -08:00