Commit Graph

  • 3e4d7e48b0 Fixed memory leak in XInput code Sam Lantinga 2023-11-06 00:40:19 -08:00
  • 64a7e75dd3 Only save ibus_addr_file after we've successfully read an address from it. Sam Lantinga 2023-11-05 22:12:37 -08:00
  • bc3d9e99f3 Only save ibus_addr_file after we've successfully read an address from it. Sam Lantinga 2023-11-05 22:12:37 -08:00
  • 04dfca958a Added a note to events indicating that memory is owned by SDL Sam Lantinga 2023-11-05 21:25:43 -08:00
  • 20cd789bab Improved migration documentation for the event memory change. Sam Lantinga 2023-11-05 21:20:48 -08:00
  • 459f17257c cmake: fix MSVC unrecognized option link warning Anonymous Maarten 2023-11-06 01:58:26 +01:00
  • 761390b62f cmake: detect linker id, and assume MSVC does not support version scripts Anonymous Maarten 2023-11-06 00:40:41 +01:00
  • d2e005ee13 dynapi: remove duplicated SDL_LoadWAV entries Ozkan Sezer 2023-11-05 20:32:50 +03:00
  • 21ff699251 test: Fix popup test crash on exit Frank Praznik 2023-11-05 12:04:49 -05:00
  • 70c149c88f Automatically clean up memory associated with events Sam Lantinga 2023-11-05 08:48:37 -08:00
  • 93e51dd33e fix a possible memory leak in SDL_vasprintf() Ozkan Sezer 2023-11-05 20:01:02 +03:00
  • 9b2c70c9c8 fix a possible memory leak in SDL_vasprintf() Ozkan Sezer 2023-11-05 20:01:02 +03:00
  • 1a83bf2399 fix a possible memory leak in SDL_vasprintf() Ozkan Sezer 2023-11-05 20:01:02 +03:00
  • 59b37d0e5b cmake: fix Windows unrecognized option link warning Jamie Madill 2023-11-05 11:28:22 -05:00
  • 9302d7732d Fixed touch normalized coordinates Sam Lantinga 2023-11-05 00:03:23 -07:00
  • ff3c20a799 Sync SDL3 wiki -> header SDL Wiki Bot 2023-11-05 14:11:05 +00:00
  • 17a0fe3a0c Sync SDL3 wiki -> header SDL Wiki Bot 2023-11-05 14:06:05 +00:00
  • 14d2471a8f Sync SDL3 wiki -> header SDL Wiki Bot 2023-11-05 14:04:05 +00:00
  • 2ad22eeeb5 Sync SDL3 wiki -> header SDL Wiki Bot 2023-11-05 14:02:06 +00:00
  • 930438dfb7 Added note that the #ifdef is for !__IOS__ Sam Lantinga 2023-11-05 00:33:08 -07:00
  • c56583fe45 Fix duplicate symbol on iOS/tvOS kanjitalk755 2023-11-05 15:57:15 +09:00
  • 2b62f25a6f Add SDL_sysmain_callbacks.c to the Xcode project kanjitalk755 2023-11-05 14:50:14 +09:00
  • 4ab31ca678 Fix dropping file event kanjitalk755 2023-11-05 15:21:17 +09:00
  • 5dce4bc716 Makes SDLInputConnection and DummyEdit public classes (thanks Cole!) Sam Lantinga 2023-11-04 23:22:55 -07:00
  • d3f2eb2aba Use XINPUT_STATE instead of XINPUT_STATE_EX (thanks Andrew!) Sam Lantinga 2023-11-04 22:24:55 -07:00
  • e8f4045d0b Use XINPUT_STATE instead of XINPUT_STATE_EX (thanks Andrew!) Sam Lantinga 2023-11-04 22:24:55 -07:00
  • 3a482ebae0 Add createSDLMainRunnable() to SDLActivity (thanks Cole!) Sam Lantinga 2023-11-04 21:18:16 -07:00
  • ac23faf0a6 Fixed potential uninitialized memory access (thanks Mathieu!) Sam Lantinga 2023-11-04 21:10:10 -07:00
  • aa129c9257 Fixed potential uninitialized memory access (thanks Mathieu!) Sam Lantinga 2023-11-04 21:10:10 -07:00
  • b9784feb24 Fixed potential uninitialized memory access (thanks Mathieu!) Sam Lantinga 2023-11-04 21:10:10 -07:00
  • 75ea3a8d32 Dynamically allocate long text for SDL_EVENT_TEXT_INPUT events Sam Lantinga 2023-11-04 16:53:25 -07:00
  • 2a1660ab51 Additional cleanup for SDL_RWprintf() (thanks @sezero!) Sam Lantinga 2023-11-04 20:47:08 -07:00
  • e5f2cea234 Sync wiki -> headers Ryan C. Gordon 2023-11-04 22:18:38 -04:00
  • ad842dd5ad Fixed a typo in SDL_log.h Sam Lantinga 2023-11-04 13:56:31 -07:00
  • f9d11807c0 Added SDL_RWprintf() and SDL_RWvprintf() to do formatted printing to an SDL_rwops stream Sam Lantinga 2023-11-04 13:57:16 -07:00
  • 52c4e3eab3 events: Update self-referential pointers when copying event objects Frank Praznik 2023-11-04 18:03:53 -04:00
  • 91f0456391 Add the source application for drag and drop events (thanks Nathan!) Sam Lantinga 2023-11-04 12:40:52 -07:00
  • 1a8bf31a69 include: Fixing whitespace on SDL_MixAudioFormat. Ryan C. Gordon 2023-11-04 15:06:25 -04:00
  • 4c2eb6b95d Use the default UCS2/UCS4 conversion rather than non-portable INTERNAL encoding Sam Lantinga 2023-11-04 12:00:38 -07:00
  • d07a264a9b Use the default UCS2/UCS4 conversion rather than non-portable INTERNAL encoding Sam Lantinga 2023-11-04 12:00:38 -07:00
  • 780b6612a9 wayland: Wayland_Vulkan_GetInstanceExtensions didn't set the count variable. Ryan C. Gordon 2023-11-04 14:53:24 -04:00
  • 46b940d571 Updated documentation to note that the event callback is called on the same thread as the main iteration callback Sam Lantinga 2023-11-04 11:31:54 -07:00
  • 4481754359 Make sure we only dispatch events on the main thread when using application callbacks Sam Lantinga 2023-11-04 11:06:42 -07:00
  • 274da8561c Updated the migration guide to note that you can check the return value of SDL_AddEventWatch() Sam Lantinga 2023-11-04 10:42:28 -07:00
  • ad9dcdbbce Clarify that you should use the other field when reading the event Sam Lantinga 2023-11-04 09:58:35 -07:00
  • a19029e3c1 docs: Updated README-main-functions.md based on feedback. Ryan C. Gordon 2023-11-04 10:02:46 -04:00
  • 019468dc59 main: Check for SDL_AddEventWatch failure, now that it can report it. Ryan C. Gordon 2023-11-04 09:31:07 -04:00
  • 7e445da569 Added SDL_CleanupEvent() Sam Lantinga 2023-11-04 00:55:55 -07:00
  • c4bf05fd9d Added subsystem refcount tests to testautomation Ivan Mogilko 2023-10-13 19:43:18 +03:00
  • 7f65ed6461 Handle subsystem dependencies recursively Ivan Mogilko 2023-10-12 12:37:35 +03:00
  • a6b85c81cc Fixed build Sam Lantinga 2023-11-03 22:37:53 -07:00
  • 3ab6670cb1 Sync SDL3 wiki -> header SDL Wiki Bot 2023-11-04 05:36:15 +00:00
  • f439ccfc1a Updated return values for SDL event functions Sam Lantinga 2023-11-03 22:31:42 -07:00
  • e0379c3b37 Grab events in large chunks in SDL_IterateMainCallbacks() Sam Lantinga 2023-11-03 21:47:44 -07:00
  • ad5264e54f Don't run SDL_IterateMainCallbacks() if the init call returns an exit code Sam Lantinga 2023-11-03 21:34:04 -07:00
  • dad1a84be4 Fixed building Vivante video driver Sam Lantinga 2023-11-03 14:56:15 -07:00
  • fe175d025f Fixed building Vivante video driver Sam Lantinga 2023-11-03 14:54:11 -07:00
  • 0b460f34ba The HP HyperX controllers have a share button Sam Lantinga 2023-11-03 14:47:20 -07:00
  • f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression Sam Lantinga 2023-11-03 09:27:29 -07:00
  • a76d8e39aa Changed SDL_bool from an enum to unsigned int Sam Lantinga 2023-11-03 08:44:26 -07:00
  • cf7e5bd0e8 Sync SDL3 wiki -> header SDL Wiki Bot 2023-11-03 15:41:14 +00:00
  • 853c28e624 docs: Added first draft of README-main-functions.md Ryan C. Gordon 2023-11-03 11:39:53 -04:00
  • 70d75b4a23 Sync wiki -> headers Ryan C. Gordon 2023-11-03 10:13:46 -04:00
  • ea02630143 More audio migration clarification Sam Lantinga 2023-11-03 00:28:05 -07:00
  • 14980b25a8 Clarify documentation for audio callback migration Sam Lantinga 2023-11-02 22:32:25 -07:00
  • 221d6ea8a8 configure: move HAVE_LINUX_INPUT_H to CheckInputEvents() Ozkan Sezer 2023-11-02 23:33:20 +03:00
  • e226008d83 configure: move HAVE_LINUX_INPUT_H to CheckInputEvents() Ozkan Sezer 2023-11-02 23:33:20 +03:00
  • 6cf84e2c5b cmake: fold HAVE_INPUT_EVENTS into HAVE_LINUX_INPUT_H Anonymous Maarten 2023-11-02 21:31:32 +01:00
  • 01eb305493 cmake: fold HAVE_INPUT_EVENTS into HAVE_LINUX_INPUT_H Anonymous Maarten 2023-11-02 20:46:14 +01:00
  • 8b1b6734f6 cmake: fold HAVE_INPUT_EVENTS into HAVE_LINUX_INPUT_H Anonymous Maarten 2023-11-02 20:46:14 +01:00
  • 5e869d1b35 fix Cocoa_Vulkan_GetInstanceExtensions prototype for Mac Ozkan Sezer 2023-11-02 22:12:56 +03:00
  • 07a776f255 include: Fixed documentation for SDL_Vulkan_GetInstanceExtensions. Ryan C. Gordon 2023-11-02 15:12:24 -04:00
  • 5b3a2c6df6 docs: Updated SDL_Vulkan_GetInstanceExtensions info in README-migration.md. Ryan C. Gordon 2023-11-02 14:57:13 -04:00
  • 9224a0a2d8 Fix emscripten, android, uikit and windows ilyas-taouaou 2023-11-02 18:54:27 +01:00
  • d0d8b28df1 Change SDL_Vulkan_GetInstanceExtensions ilyas-taouaou 2023-11-02 17:20:26 +01:00
  • 338974bb29 SDL_test_memory.c: fix build against older windows SDKs. Ozkan Sezer 2023-11-02 20:33:02 +03:00
  • 618d15bce6 Fixed typo Sam Lantinga 2023-11-02 10:33:44 -07:00
  • 15ead9a40d Updated to version 2.28.5 for release release-2.28.5 Sam Lantinga 2023-11-02 10:00:33 -07:00
  • 97c2bdf256 Added patch note for SDL_GDKGetDefaultUser() Sam Lantinga 2023-11-02 09:59:25 -07:00
  • 7ebfaa0ea2 Check to make sure the Windows joystick device has buttons and axes Sam Lantinga 2023-11-02 08:33:15 -07:00
  • 20ecd2afcb Check to make sure the Windows joystick device has buttons and axes Sam Lantinga 2023-11-02 08:33:15 -07:00
  • ad0af48883 Check to make sure the Windows joystick device has buttons and axes Sam Lantinga 2023-11-02 08:33:15 -07:00
  • ac6b32bb02 gendynapi.py: Discard SDLMAIN_DECLSPEC functions. Ryan C. Gordon 2023-11-01 21:47:42 -04:00
  • 9c664b0062 main: Added _optional_ callback entry points. Ryan C. Gordon 2023-11-01 18:40:41 -04:00
  • 9323417e9c Fixed gendyapi.py parsing of SDL_RELEASE_GENERIC Sam Lantinga 2023-11-01 08:36:51 -07:00
  • 759cdf6159 audio: Fixed GetFirstAudioDeviceAdded(). Ryan C. Gordon 2023-11-01 00:39:51 -04:00
  • 0e614d9179 audio: Massive reworking on thread locking. Ryan C. Gordon 2023-11-01 00:10:25 -04:00
  • 40fb76196c audio: Don't let simplified audio streams bind to new devices. Ryan C. Gordon 2023-10-31 10:52:50 -04:00
  • 24e3328cca audio: Don't reset device ID counter on subsystem init/quit. Ryan C. Gordon 2023-10-31 10:50:37 -04:00
  • 5d95cbde37 cmake: reset check state before testing -fobjc-arc Anonymous Maarten 2023-10-30 20:43:22 +01:00
  • 5f4ddebf76 cmake: reset check state before testing -fobjc-arc Anonymous Maarten 2023-10-30 20:51:18 +01:00
  • 517db6d887 cmake: reset check state before testing -fobjc-arc Anonymous Maarten 2023-10-30 20:51:18 +01:00
  • f18120c83c cmake: check -fobjc-arc compiler flag on Apple platforms Anonymous Maarten 2023-10-30 19:59:28 +01:00
  • 0f8858cf2d cmake: check -fobjc-arc compiler flag on Apple platforms Anonymous Maarten 2023-10-30 19:56:46 +01:00
  • 20630b2e6c cmake: check -fobjc-arc compiler flag on Apple platforms Anonymous Maarten 2023-10-30 19:56:46 +01:00
  • 4aacc4b92e cmake: file(RELATIVE_PATH) needs 2 absolute paths Anonymous Maarten 2023-10-30 19:50:35 +01:00
  • 98abc15769 cmake: file(RELATIVE_PATH) needs 2 absolute paths Anonymous Maarten 2023-10-30 19:45:49 +01:00
  • 7774de0fe3 cmake: file(RELATIVE_PATH) needs 2 absolute paths Anonymous Maarten 2023-10-30 19:45:49 +01:00
  • dcc8805c21 testaudio: Fixed compiler warning on Visual Studio. Ryan C. Gordon 2023-10-30 13:09:56 -04:00
  • 9cb259e865 audio: Never SDL_PushEvent from anywhere but SDL_UpdateAudio(). Ryan C. Gordon 2023-10-30 13:08:10 -04:00