Commit Graph

  • 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
  • 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
  • 3a482ebae0 Add createSDLMainRunnable() to SDLActivity (thanks Cole!) Sam Lantinga 2023-11-04 21:18:16 -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
  • 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
  • 6cf84e2c5b cmake: fold HAVE_INPUT_EVENTS into HAVE_LINUX_INPUT_H Anonymous Maarten 2023-11-02 21:31:32 +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
  • 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
  • f18120c83c cmake: check -fobjc-arc compiler flag on Apple platforms Anonymous Maarten 2023-10-30 19:59:28 +01:00
  • 4aacc4b92e cmake: file(RELATIVE_PATH) needs 2 absolute paths Anonymous Maarten 2023-10-30 19:50:35 +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
  • 875e45e70b wayland: Sanity check pointers and protocols before confining Frank Praznik 2023-10-29 14:23:14 -04:00
  • 0e87b71d08 wayland: Check the relative pointer handle before destroying Frank Praznik 2023-10-29 14:12:38 -04:00
  • 6127ac0871 Use SDL_DISABLE_ALLOCA instead of HAVE_ALLOCA in SDL_stdinc.h Anonymous Maarten 2023-10-02 11:00:06 +02:00
  • 552bee47cb Clear any previous errors if we successfully show a message box Sam Lantinga 2023-10-27 10:11:00 -07:00
  • 343da852a6 Don't try to use the Wayland messagebox if we're not in Wayland Sam Lantinga 2023-10-27 10:10:09 -07:00
  • f63e9a8a3f wasapi: Handle disconnected devices that get reconnected. Ryan C. Gordon 2023-10-27 01:30:27 -04:00
  • 5fa7b291d4 wasapi: Fixed memory leak if new audio devices fail to add. Ryan C. Gordon 2023-10-27 01:30:13 -04:00
  • 468c386686 wasapi: Handle disconnect notifications from the management thread, too. Ryan C. Gordon 2023-10-27 01:28:51 -04:00
  • ce3be02b48 wasapi: If device is marked as a zombie, don't try to resuscitate it. Ryan C. Gordon 2023-10-27 01:27:22 -04:00
  • 85923049a6 wasapi: Patched to compile. Ryan C. Gordon 2023-10-26 23:09:11 -04:00
  • 9bec57309c wasapi: Proxy default device change handling to management thread. Ryan C. Gordon 2023-10-26 22:59:02 -04:00
  • c45b5121ce audio: Fixed potential race condition. Ryan C. Gordon 2023-10-26 22:57:34 -04:00
  • 8b6da3c701 Fixed making the EGL context current when resuming on Android Sam Lantinga 2023-10-26 17:07:40 -07:00
  • 2e9eb1073d Sync SDL3 wiki -> header SDL Wiki Bot 2023-10-26 18:23:13 +00:00
  • e6116d399a mutex: Removed SDL_MUTEX_MAXWAIT. Ryan C. Gordon 2023-10-26 14:21:53 -04:00
  • 82f48be3ef Sync SDL3 wiki -> header SDL Wiki Bot 2023-10-26 12:58:14 +00:00
  • 899eb0d042 thread: Locking mutexes and rwlocks are now void functions. Ryan C. Gordon 2023-10-25 10:00:26 -04:00
  • 082ef41566 alsa: Fix crash from invalid handle pointer Frank Praznik 2023-10-25 19:26:40 -04:00
  • a9aa15c792 CI: change FreeBSD CI runner to cross-platform-actions. Ozkan Sezer 2023-10-26 01:03:40 +03:00
  • 23ceae94c9 Fixed Xbox 360 Controller support using libusb on Linux Sam Lantinga 2023-10-25 14:50:07 -07:00
  • ace0c2c297 mutex: Fixed bug where generic SDL_TryLockMutex would incorrectly block. Ryan C. Gordon 2023-10-25 13:02:50 -04:00
  • f52b330ed8 Added support for the HP HyperX Clutch Gladiate controller Sam Lantinga 2023-10-25 09:00:26 -07:00