Commit Graph

  • 300d1ec3ed Added audio_convertAccuracy test Brick 2023-08-12 18:41:15 +01:00
  • 32cecc2eac Fixed assertion in audio_convertAudio Brick 2023-08-12 18:40:56 +01:00
  • 33f11e21ee Removed assertions in AudioConvert(To|From)Float Brick 2023-08-12 18:40:10 +01:00
  • c2f388fd88 cmake: add SDL_HIDAPI_LIBUSB_SHARED option + test on ci Anonymous Maarten 2023-08-14 15:48:14 +02:00
  • 371cc2d173 wayland: Remove unnecessary flag and state settings Frank Praznik 2023-08-14 12:49:13 -04:00
  • fe85e6e754 cocoa: Send a maximized event instead of restored if a deminiaturized window is zoomed Frank Praznik 2023-08-14 11:00:40 -04:00
  • ddddcb78cb cocoa: Use the close method to hide a miniaturized window Frank Praznik 2023-08-12 10:38:33 -04:00
  • be8c42cfd7 Clarify that a window being 'hidden' means that it is unmapped/ordered out Frank Praznik 2023-08-10 13:22:29 -04:00
  • a44338cbc1 Fix typo in SDL_audiocvt.c Ikko Eltociear Ashimine 2023-08-15 00:58:06 +09:00
  • f464eb2c54 SDL_hidapi.c: change 'use_libusb_whitelist_default' into a macro. Ozkan Sezer 2023-08-14 17:01:24 +03:00
  • 6607a3cfac Disable cache in python http server Anonymous Maarten 2023-08-14 03:50:03 +02:00
  • 181d5d285a hidapi: Enable libusb support by default. Ethan Lee 2023-08-09 13:55:36 -04:00
  • f0f15e365d hidapi: Use a whitelist for libusb when other backends are available Ethan Lee 2023-08-09 13:52:14 -04:00
  • c3f7a7dc46 Convert audio using SDL_AUDIO_F32SYS format instead of SDL_AUDIO_F32 capehill 2023-08-13 20:27:12 +03:00
  • ae72cd57b5 Quiet spurious warning Sam Lantinga 2023-08-13 13:53:13 -07:00
  • 0b9d8e679a Quiet spurious warning Sam Lantinga 2023-08-13 13:53:13 -07:00
  • 796713b9d5 xxd.py: always write \n line endings Vlad-Stefan Harbuz 2023-08-13 19:54:08 +01:00
  • 8f858d7908 SDL_TriggerBreakppoint for riscv arch (both 32/64) version. David CARLIER 2023-08-13 13:54:07 +01:00
  • 4a0f56b679 SDL_TriggerBreakppoint for riscv arch (both 32/64) version. David CARLIER 2023-08-13 13:54:07 +01:00
  • 723bcd0a8b SDL_TriggerBreakppoint for riscv arch (both 32/64) version. David CARLIER 2023-08-13 13:54:07 +01:00
  • ec0042081e Add .gitattributes file Anonymous Maarten 2023-08-10 17:42:36 +02:00
  • a5d9db0cd0 cmake: build tests for UWP Anonymous Maarten 2023-04-19 16:28:39 +02:00
  • b7889a7389 winrt: use windowsio in non-libc mode Anonymous Maarten 2023-08-10 17:37:13 +02:00
  • ea8757a748 Make testaudiostreamdynamicresample compatible with emscripten Anonymous Maarten 2023-08-09 18:56:06 +02:00
  • 1a7a74fb2e cmake: build emscripten tests as html page Anonymous Maarten 2023-06-03 15:22:39 +02:00
  • 64d570f027 Add minimal http server for emscripten test apps Anonymous Maarten 2023-08-09 19:05:56 +02:00
  • 8e898c4a21 SDL_test does not parse --samples argument Anonymous Maarten 2023-08-09 19:06:37 +02:00
  • 91cd5478be audio: Fix resampler overflowing input buffer. Ryan C. Gordon 2023-08-12 00:52:11 -04:00
  • f290c85b22 testaudiocapture: Make sure we convert captured audio to output format. Ryan C. Gordon 2023-08-11 16:52:23 -04:00
  • b75c751dfc rwlock: Make generic implmentations work on single-threaded platforms. Ryan C. Gordon 2023-08-11 15:02:52 -04:00
  • 80850af7ce The controller update complete events are no longer disabled by default Sam Lantinga 2023-08-10 17:45:00 -07:00
  • 3f486224a9 Fixed refresh rate calculation for KMSDRM Sam Lantinga 2023-08-10 15:39:38 -07:00
  • 5bfdb6e02f Fix overflow when doing SDL_sscanf("%hd", ...) Anonymous Maarten 2023-08-10 23:43:58 +02:00
  • 10135b2d7b Fix overflow when doing SDL_sscanf("%hd", ...) Anonymous Maarten 2023-08-10 23:43:58 +02:00
  • 342ec51131 Fix overflow when doing SDL_sscanf("%hd", ...) Anonymous Maarten 2023-08-10 23:43:58 +02:00
  • 9129e1d557 Fixed crash when setting the default cursor twice Sam Lantinga 2023-08-10 12:13:40 -07:00
  • 8e99a4f4f5 Undo variable rename Sam Lantinga 2023-08-10 11:45:20 -07:00
  • be67f0de10 Fixed crashes related to the default cursor on WinRT and KMSDRM Sam Lantinga 2023-08-10 11:40:36 -07:00
  • 739d3ec189 Fix out of bound read of 'has_hat' array Mathieu Eyraud 2023-08-10 15:05:29 +02:00
  • f348370e1b Fix out of bound read of 'has_hat' array Mathieu Eyraud 2023-08-10 15:05:29 +02:00
  • 951657c99b Fixed crash when running with the dummy video driver Sam Lantinga 2023-07-25 12:08:21 -07:00
  • 7df721d4e9 Allow running tests with the dummy video driver Sam Lantinga 2023-07-25 12:07:45 -07:00
  • 94b3f78c44 Fix out of bound read of 'has_hat' array Mathieu Eyraud 2023-08-10 15:05:29 +02:00
  • 94f48f19b0 Use more specific build destinations when creating an xcframework Sam Lantinga 2023-08-10 01:52:10 -07:00
  • dabd45997e Back out change supporting multiple names for binding elements Sam Lantinga 2023-08-09 11:25:37 -07:00
  • efe15588d5 Relabel back paddles as left or right Simon McVittie 2023-08-09 18:09:42 +01:00
  • be884f0c95 ci: disable visionos.yml by renaming the file Anonymous Maarten 2023-08-09 19:17:20 +02:00
  • ac094d00f5 ci: add workflow_dispatch event to visionos workflow Anonymous Maarten 2023-08-09 16:12:29 +02:00
  • 9be9e2292b build: Consistently use pathlib APIs in cmake/xxd.py Simon McVittie 2023-08-09 14:38:59 +01:00
  • a9f6950657 Fixed deadlock shutting down Android sensors Sam Lantinga 2023-08-08 23:01:55 -07:00
  • d9f09e77f2 Actually make the sensors magical! Sam Lantinga 2023-08-08 22:34:24 -07:00
  • 690eae7d22 Implement visionOS support Ravbug 2023-07-23 23:11:09 -07:00
  • e385d6da0a Fixed build warning Sam Lantinga 2023-08-08 22:20:49 -07:00
  • 6b93e788fa Improved sensor thread-safety Sam Lantinga 2023-08-08 22:08:40 -07:00
  • 4ee0e5a984 Fixed thread-safety warnings Sam Lantinga 2023-08-08 22:03:52 -07:00
  • 12deed91f8 Added information on how to enable thread-safety analysis Sam Lantinga 2023-08-08 22:03:06 -07:00
  • 5735d2b03b coreaudio: Fixed assertion when device fails/quits mid-iteration. Ryan C. Gordon 2023-08-08 23:56:17 -04:00
  • 1022fd6e04 testaudio: the test framework opens an audio device at startup; close it. Ryan C. Gordon 2023-08-08 21:41:37 -04:00
  • 0714da37a4 audio: Fix audio stream callback calculations when future buffer has space. Ryan C. Gordon 2023-08-08 21:40:23 -04:00
  • 917e036f6f MSVC has __declspec(deprecated) Anonymous Maarten 2023-08-07 21:26:38 +02:00
  • 0465224616 Sync -Wsign-compare warning fix from sdl2-compat Anonymous Maarten 2023-08-09 01:30:56 +02:00
  • 9d6b028e01 tests: build tests with fast math disabled Anonymous Maarten 2023-08-07 22:39:47 +02:00
  • fcae9cd210 cmake: build with -Wdocumentation Anonymous Maarten 2023-08-07 19:00:38 +02:00
  • e5f3b22d63 cmake: update cmake_minimum_required to avoid deprecated warning Anonymous Maarten 2023-08-07 19:03:18 +02:00
  • 64f17314a2 MSVC has __declspec(deprecated) Anonymous Maarten 2023-08-07 21:26:38 +02:00
  • 279ff8909f Changed example code to avoid potential divide by zero Sam Lantinga 2023-08-08 16:52:09 -07:00
  • 8a1afc9b10 Fixed Android not sending controller event timestamps Sam Lantinga 2023-08-08 09:46:57 -07:00
  • 463c456b98 Fill the correct member with the joystick ID in SDL_EVENT_JOYSTICK_UPDATE_COMPLETE Sam Lantinga 2023-08-08 09:40:30 -07:00
  • 55cf1abaa6 test: Don't flag testsurround as suitable for non-interactive use Simon McVittie 2023-08-08 16:06:41 +01:00
  • 1d8806b0fc Fixed testautomation --filter pixels_allocFreePalette Sam Lantinga 2023-08-07 22:18:35 -07:00
  • e56dc9c30e Fixed testautomation --filter pixels_allocFreeFormat Sam Lantinga 2023-08-07 22:15:23 -07:00
  • 2319b2635b Fixed testautomation --filter pixels_allocFreePalette Sam Lantinga 2023-08-07 22:18:35 -07:00
  • bda161d22b Fixed testautomation --filter pixels_allocFreeFormat Sam Lantinga 2023-08-07 22:15:23 -07:00
  • a2d594269c Fixed pixel format compatibility with SDL2 Sam Lantinga 2023-08-07 22:45:21 -07:00
  • 79a190aa23 Fixed setting invalid bpp for FOURCC formats in SDL_GetMasksForPixelFormatEnum() Sam Lantinga 2023-08-07 22:20:40 -07:00
  • 8fdebdd3e0 Sync SDL3 wiki -> header SDL Wiki Bot 2023-08-08 03:37:14 +00:00
  • b903ccf945 SDL_rwops read/write functions return size_t again Sam Lantinga 2023-08-06 13:51:03 -07:00
  • c03f5b4b69 Fixed rounding up in SDL_PrintFloat Brick 2023-08-07 16:33:44 +01:00
  • 4bceea70c5 Added the Victrix Pro FS for PS4/PS5 to the controller list Sam Lantinga 2023-08-07 14:04:34 -07:00
  • 75a020aa6b Only query serial number and firmware versions from Sony PS5 controllers Sam Lantinga 2023-08-07 14:06:10 -07:00
  • fa189d302e Added the Victrix Pro FS for PS4/PS5 to the controller list Sam Lantinga 2023-08-07 14:04:34 -07:00
  • 26205b659d Fixed PS4/PS5 touchpad for third party controllers Sam Lantinga 2023-08-07 10:48:52 -07:00
  • dbfd47e77d cmake: update cmake_minimum_required to avoid deprecated warning Anonymous Maarten 2023-08-07 19:03:18 +02:00
  • 6af0448af9 include: fixed a typo in SDL_RenderGetMetalCommandEncoder docs. Ryan C. Gordon 2023-08-06 10:45:11 -04:00
  • dbb6cd02aa include: fixed a typo in SDL_RenderGetMetalCommandEncoder docs. Ryan C. Gordon 2023-08-06 10:45:11 -04:00
  • 8087c0a5d2 include: fixed a typo in SDL_RenderGetMetalCommandEncoder docs. Ryan C. Gordon 2023-08-06 10:45:11 -04:00
  • f3cb46b083 SDL_thread.h: do not conflict with sdl2-compat::sdl3_include_wrapper.h Ozkan Sezer 2023-08-06 14:11:02 +03:00
  • 080b1dfbdb Revert "Improved fallback for SDL_COMPILE_TIME_ASSERT() (thanks @icculus!)" Sam Lantinga 2023-08-05 19:23:30 -07:00
  • 9d453daa23 Improved fallback for SDL_COMPILE_TIME_ASSERT() (thanks @icculus!) Sam Lantinga 2023-08-05 19:18:31 -07:00
  • 1fb2419882 Removed reference to renamed function Sam Lantinga 2023-08-05 19:11:10 -07:00
  • e7d56dd0b2 audio: Renamed new API SDL_UnpauseAudioDevice to SDL_ResumeAudioDevice. Ryan C. Gordon 2023-08-05 19:20:14 -04:00
  • 2b0c0f5b6b Don't pass NULL to strncmp Mathieu Eyraud 2023-08-05 18:48:38 +02:00
  • 778e8185cd Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked And add diagnostic that allows to find this kind of issue in clang-tidy Mathieu Eyraud 2023-08-05 18:58:30 +02:00
  • 4bb426abad Sync SDL3 wiki -> header SDL Wiki Bot 2023-08-05 17:45:14 +00:00
  • 3a752ce650 Reapply "Changed 'freesrc' parameter from int to SDL_bool" to SDL_wave.c meyraud705 2023-08-05 18:30:41 +02:00
  • 2ba03b4db0 fix build after previous commit. Ozkan Sezer 2023-08-05 18:15:10 +03:00
  • 0026adffd4 apply force_align_arg_pointer attribute to correct version of SDL_RunApp Ozkan Sezer 2023-08-05 18:10:10 +03:00
  • 77446e2029 Unaligned stacks on i686-w64-mingw32 may lead to crashes Ozkan Sezer 2023-08-04 10:23:20 +03:00
  • 841263c9d6 updated config.guess and config.sub from mainstream Ozkan Sezer 2023-08-05 14:03:02 +03:00
  • 53d818e31c updated config.guess and config.sub from mainstream Ozkan Sezer 2023-08-05 14:03:02 +03:00