Commit Graph

  • de30400a7b Fixed uninitialized variable warning Sam Lantinga 2024-07-31 18:35:59 -07:00
  • 1954ac407f Don't mix keyboard and mouse raw input timestamps Sam Lantinga 2024-07-31 18:34:42 -07:00
  • 55e9a8ca45 d3d12: Import DirectX-Headers, use local d3d12.h in SDL_render. Ethan Lee 2024-07-31 20:18:57 -04:00
  • c5a99f1515 Fixed detecting wrapping Windows message time Sam Lantinga 2024-07-31 16:36:47 -07:00
  • 364bbd545d audio: SDL_ClosestAudioFormats now favors float32 and native byte order. Ryan C. Gordon 2024-05-26 13:53:36 -04:00
  • 80f5f0b1fb android: Fix activity pause/resume with external graphics context Sami Kyöstilä 2024-07-31 12:28:13 +10:00
  • 89de8e2110 Fixed infinite loop searching for matching video modes (thanks @Synt4xErr0r4!) Sam Lantinga 2024-07-30 17:29:21 -07:00
  • b68ac011e0 ctest: fail if there are outstanding allocations Anonymous Maarten 2024-07-28 17:19:49 +02:00
  • c7a1876536 SDL_test: use mutex based on SDL_AtomicInt in memory tracking Anonymous Maarten 2024-07-30 12:28:08 +02:00
  • 4c00433b69 SDL_test: format tracked allocation names during report generation Anonymous Maarten 2024-07-27 20:02:43 +02:00
  • bc8f4a1d0b ci: fix artifacts on libsdl-org repo Anonymous Maarten 2024-07-30 22:55:36 +02:00
  • 1ef3263ad4 ci: only upload artifacts in libsdl-org GitHub organization Anonymous Maarten 2024-07-30 13:58:38 +02:00
  • afabccd4d0 examples: Split up description text by line breaks. Ryan C. Gordon 2024-07-30 15:37:46 -04:00
  • b24bfc2c98 fix RandFunc typedef Ozkan Sezer 2024-07-30 21:15:04 +03:00
  • 6aca728056 Fix examples description CSS Semphris 2024-07-30 13:24:49 -04:00
  • 3b5c3d6cc8 examples/snake: Actually fixed build this time. Ryan C. Gordon 2024-07-30 13:43:03 -04:00
  • 883576beb8 examples: Improve source code output when there are multiple files. Ryan C. Gordon 2024-07-30 13:40:09 -04:00
  • bc8b768b9a examples/snake: Fix up build. Ryan C. Gordon 2024-07-30 13:39:35 -04:00
  • dbb4e05c28 Add "Snake" game example Dylam De La Torre 2024-07-30 18:55:35 +02:00
  • 69a2d7960c examples: first shot at description text at top of page. Not working yet. Ryan C. Gordon 2024-07-30 13:18:37 -04:00
  • b881e19896 android: Update window/surface pointers on change Sami Kyöstilä 2024-07-31 02:00:43 +10:00
  • 6a25e94472 examples: Print a description of the program to the console on startup. Ryan C. Gordon 2024-07-30 12:22:39 -04:00
  • a6407e88da Document the events that need to be handled in a callback Sam Lantinga 2024-07-30 07:51:56 -07:00
  • f039b2290a Added logging for life cycle events Sam Lantinga 2024-07-30 07:49:37 -07:00
  • 900213e16e examples: Pop up the console on new output for three seconds if hidden. Ryan C. Gordon 2024-07-30 09:45:06 -04:00
  • 6559cfb143 examples: make SDL_Log work with the Emscripten console. Ryan C. Gordon 2024-07-30 08:59:34 -04:00
  • fbed34a645 cmake: Don't warn about lack of X11/Wayland backend on Emscripten. Ryan C. Gordon 2024-07-30 00:33:08 -04:00
  • 89cc526a67 examples: Fix out-of-tree builds. Ryan C. Gordon 2024-07-30 00:12:55 -04:00
  • 949765a3b0 Stylize examples/template.html Semphris 2024-07-29 18:22:04 -04:00
  • de209c81d1 Fixed macOS build Sam Lantinga 2024-07-29 17:38:59 -07:00
  • 9fac7d7eb0 metal: set the shader input type based on the colorspace, not the pixel format Sam Lantinga 2024-07-29 17:18:45 -07:00
  • 61e78830d0 Revert "Revert "Fixed warning: result of comparison of constant 9223372035 with expression of type '__kernel_old_time_t' (aka 'long') is always true"" Sam Lantinga 2024-07-29 14:45:03 -07:00
  • 8caebf823a Revert "Fixed warning: result of comparison of constant 9223372035 with expression of type '__kernel_old_time_t' (aka 'long') is always true" Sam Lantinga 2024-07-29 14:44:02 -07:00
  • 0a924b185d Fixed crash with joystick rumble after disconnection Sam Lantinga 2024-07-29 12:48:40 -07:00
  • 67b973b5fa Fixed whitespace Sam Lantinga 2024-07-29 12:52:03 -07:00
  • 614a88ca3b SDL_IOFromFile: Apple targets no longer use the app bundle's resources dir. Ryan C. Gordon 2024-07-29 14:50:57 -04:00
  • 299d181984 Fixed warning: result of comparison of constant 9223372035 with expression of type '__kernel_old_time_t' (aka 'long') is always true Sam Lantinga 2024-07-29 12:04:08 -07:00
  • 930d83aed2 Fixed warning: implicit conversion loses integer precision: 'VkDeviceSize' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') Sam Lantinga 2024-07-29 12:01:53 -07:00
  • c4582a6536 Fixed warning building on tvOS Sam Lantinga 2024-07-29 11:56:28 -07:00
  • 062caeaa4b Fixed Android build with audio disabled Sam Lantinga 2024-07-29 10:39:29 -07:00
  • 51cccf3fa2 video: Disable relative warp emulation when warping the cursor after a fullscreen transition Frank Praznik 2024-07-29 12:39:18 -04:00
  • 5637cd009a Don't assert or change window draggable state if SDL isn't managing hit testing Sam Lantinga 2024-07-29 09:15:55 -07:00
  • 5318e30ee5 Pause and resume Android audio without taking device locks Sam Lantinga 2024-07-29 08:17:10 -07:00
  • 9d35f178a6 Follow up to removing the ancient Android audio driver Sam Lantinga 2024-07-29 08:06:43 -07:00
  • 691cf15e75 Removed the ancient Android audio driver Sam Lantinga 2024-07-29 08:05:36 -07:00
  • 446c05a001 ci: update actions descriptions + fix loongarch64 action Anonymous Maarten 2024-07-28 13:33:14 +02:00
  • 3b01a0b884 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-29 11:26:36 +00:00
  • 61a88077a7 Re-added SDL_HINT_APP_ID and SDL_HINT_APP_NAME Sam Lantinga 2024-07-28 14:45:38 -07:00
  • 94827e0acd SDL_mslibc.c: revert PR/10303 changes Ozkan Sezer 2024-07-28 21:40:40 +03:00
  • 45ecea1346 Fixed crash when switching a window from using OpenGL to Metal Sam Lantinga 2024-07-28 11:43:11 -07:00
  • e35a559442 Revert "Add two more mapping for Nvidia controller (2019)" Sam Lantinga 2024-07-28 11:07:59 -07:00
  • 383ccb2b6a Finish removing SDL_DECLSPEC_FREE Sam Lantinga 2024-07-28 08:06:20 -07:00
  • 5d6333d6ea Add two more mapping for Nvidia controller (2019) Arias800 2024-07-22 18:18:09 +02:00
  • dfe6efcd2d Fixed memory leak in testthread Sam Lantinga 2024-07-28 07:51:31 -07:00
  • 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() Sam Lantinga 2024-07-28 07:46:44 -07:00
  • b5ad74998b Removed SDL_DECLSPEC_FREE Sam Lantinga 2024-07-28 07:06:22 -07:00
  • 18fe89e036 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-28 14:23:13 +00:00
  • a36fe632fd Added SDL_SetAppMetadata() (#10404) Sam Lantinga 2024-07-28 07:22:46 -07:00
  • 35e42d0a25 Remove SDL_DECLSPEC_FREE before SDL_DECLSPEC in gendynapi hwsmm 2024-07-28 14:15:54 +09:00
  • 44f1f81d6c ci: add vita job Anonymous Maarten 2024-07-28 00:12:49 +02:00
  • 5617ce277d wayland: Don't fail to retrieve a system cursor if no window is focused Frank Praznik 2024-07-27 20:22:10 -04:00
  • f080336fa6 Fixed memory leak if logging is done after SDL_Quit() Sam Lantinga 2024-07-27 16:26:54 -07:00
  • 82c89c0125 Removed redundant subystem quit calls Sam Lantinga 2024-07-27 16:26:28 -07:00
  • 95dd8781ce Do a full cleanup if renderer creation fails during autodetection Sam Lantinga 2024-07-27 16:19:05 -07:00
  • ebd059e6eb Don't send keys consumed by the IME on macOS Sam Lantinga 2024-07-26 09:22:38 -07:00
  • 91d2dbdc9d Fixed memory leak if joysticks were initialized but gamepads were not Sam Lantinga 2024-07-27 13:44:45 -07:00
  • 7eb2605630 Fixed memory leak when a renderer fails to be created Sam Lantinga 2024-07-27 13:36:12 -07:00
  • da035142b2 Use SDL_InitFlags for the SDL_Init* function implementations Sam Lantinga 2024-07-27 10:31:51 -07:00
  • 7cd23bfb6a Respect Android's auto-rotate setting when choosing orientation Anthony 2024-07-27 17:10:35 +01:00
  • 9da58e9fb7 Fixed storing a key in the persistent string hashtable that's about to be freed Sam Lantinga 2024-07-27 09:34:49 -07:00
  • 1d5f9c7b92 testaudio: fixed memory leak in SetTitleBar() Sam Lantinga 2024-07-27 09:16:29 -07:00
  • 473feab2a4 Added SDL_unsetenv() Sam Lantinga 2024-07-26 22:57:53 -07:00
  • b854e1fe0b Fixed some issues found with static analysis Sam Lantinga 2024-07-26 23:35:30 -07:00
  • 218e45247f Fixed memory leak when SDL_Init() was called multiple times Sam Lantinga 2024-07-27 09:06:52 -07:00
  • 623a90c47d testutils: use SDL_asprintf() to simplify path composition Sam Lantinga 2024-07-27 08:41:06 -07:00
  • 625bc2d250 Fixed getting the initial window safe area Sam Lantinga 2024-07-27 08:40:31 -07:00
  • 12eb1f1497 ci: limit jobs by using sdl-ci-filter Anonymous Maarten 2024-07-26 18:48:27 +02:00
  • eae6758abe ci: build haiku as canary Anonymous Maarten 2024-07-26 00:19:18 +02:00
  • da8aa84c1d ci: merge all workflows into one Anonymous Maarten 2024-07-17 00:26:04 +02:00
  • 3374e57102 stdinc: strcasecmp is declared in strings.h Anonymous Maarten 2024-07-25 11:45:50 +02:00
  • 76f60c4b66 riscos: fix -Wunused-variable Anonymous Maarten 2024-07-24 23:30:23 +02:00
  • 3bfc103e76 tests: start memory tracking first + clean up cached text textures Anonymous Maarten 2024-07-27 13:44:04 +02:00
  • 6f1136c6ce testgles2: fix leaks Anonymous Maarten 2024-07-27 13:06:54 +02:00
  • 8a5d1fc196 cmake: add swift test Anonymous Maarten 2024-07-26 21:00:33 +02:00
  • 37881b3150 cmake: use genex to link with Apple Frameworks Anonymous Maarten 2024-07-26 18:16:58 +02:00
  • 538adc52d2 Removed the temporary memory symbols from the public API Sam Lantinga 2024-07-26 21:10:47 -07:00
  • 0f2fc2fbaa Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-27 03:59:43 +00:00
  • 4f55271571 Removed temporary memory from the API Sam Lantinga 2024-07-26 18:57:18 -07:00
  • 21411c6418 Don't apply creation window flags to external windows. Sam Lantinga 2024-07-26 10:39:05 -07:00
  • 2137e6eed1 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-26 17:05:33 +00:00
  • 5e513ecc7f Don't automatically free temporary memory, let the application call SDL_FreeTemporaryMemory() when it's ready. Sam Lantinga 2024-07-26 06:05:57 -07:00
  • 2f38a4bf5e Fixed a typo in the link to the GetTouchFingers function Eduard Gushchin 2024-07-26 17:57:24 +03:00
  • a1a8278029 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-26 00:47:35 +00:00
  • 750aef2bee Clarified that temporary memory shouldn't be kept beyond the current function scope or event handling. Sam Lantinga 2024-07-25 17:46:23 -07:00
  • a880410cb2 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-25 23:58:09 +00:00
  • 66eb2ea443 mouse: Make pointer warp emulation via relative mode available to all platforms Frank Praznik 2024-07-24 17:43:02 -04:00
  • 92667e3066 Update SDL_keycode.h Eduard Gushchin 2024-07-25 23:47:50 +03:00
  • 3ee59359c4 Fix documentation references and update method usage for SDL_GetGamepadGUIDForID in SDL_gamepad.h Eduard Gushchin 2024-07-25 21:13:09 +03:00
  • 2aad26abb0 cmake: gate all preseeding behind SDL_PRESEED option Anonymous Maarten 2024-07-25 18:13:31 +02:00
  • 546cd3ac83 cmake: Preseed CMake cache for Emscripten builds. Ryan C. Gordon 2024-07-25 11:46:35 -04:00