Commit Graph

  • 85b7f131b0 Fixed warning C4701: potentially uninitialized local variable 'percent' used Sam Lantinga 2024-04-01 14:27:19 -07:00
  • c10a3df552 Only add the UniformTypeIdentifiers framework if we're building the dialog subsystem Sam Lantinga 2024-04-01 14:13:31 -07:00
  • 18c8af6e48 Sync SDL3 wiki -> header SDL Wiki Bot 2024-04-01 21:00:26 +00:00
  • 8847b35244 Separate joystick power state into battery status and percentage Sam Lantinga 2024-03-30 10:55:13 -07:00
  • 5e624c2083 Moved display and window event renaming to the correct header section Sam Lantinga 2024-04-01 13:57:05 -07:00
  • 63cb541797 cmake: set SYSTEM property in SDL3Config.cmake for compatibility with older CMake versions Anonymous Maarten 2024-04-01 20:09:51 +02:00
  • 5f763083fc Use SDL_EventType and fix event name in comment Susko3 2024-04-01 19:19:10 +02:00
  • c40e9cc634 Sort includes Susko3 2024-04-01 01:58:25 +02:00
  • 4eb0f10dda cmake: install SDL headers with SYSTEM property disabled Anonymous Maarten 2024-03-29 19:38:46 +01:00
  • fb8ac1ab7d ci: verify SDL build system does not include installed SDL headers Anonymous Maarten 2024-03-29 19:04:16 +01:00
  • 19b01c39b0 ci: don't fix pspsdk toolchain anymore Anonymous Maarten 2024-03-29 18:32:09 +01:00
  • a00ac61514 time: Fix UWP build Frank Praznik 2024-04-01 10:52:24 -04:00
  • 650ba8f3ec Vulkan Renderer - closes #9385. When the vertex buffer size is exceeded, make sure to wait for outstanding work before resizing it. This fixes validation errors/crash found with using Imgui SDL3 renderer on Vulkan. danginsburg 2024-04-01 09:19:58 -04:00
  • 3448273be1 Weakly link UniformTypeIdentifiers.framework Sean Ridenour 2024-03-31 20:07:06 -06:00
  • feebb9fcf8 Fix file selection dialog boxes not working on macOS 11.0+ Sean Ridenour 2024-03-31 19:26:03 -06:00
  • c0bfd8bafd time: Only call GetSystemTimePreciseAsFileTime if available Frank Praznik 2024-04-01 09:31:27 -04:00
  • c96bc8b1a2 Add missing includes for SDL_MouseID Susko3 2024-04-01 00:47:00 +02:00
  • 74b58aebb9 README-migration: fix function signature on SDL_(Read|Write)IO docs. Ryan C. Gordon 2024-03-31 16:43:53 -04:00
  • 6b20152bda README-migration: Removed duplicate paragraph. Ryan C. Gordon 2024-03-31 16:25:25 -04:00
  • a9cab01185 Don't change cwd with file dialogs Sam Huang 2024-03-31 01:57:07 -07:00
  • 60cacc8277 README-migration: Fix wrong new name for SDL_WINDOWEVENT_ENTER and SDL_WINDOWEVENT_LEAVE Mirko Galimberti 2024-03-31 16:14:08 +02:00
  • fbbee04423 Revert "Only clear the raw input queue status if we don't call GetRawInputBuffer()" Sam Lantinga 2024-03-31 12:42:50 -07:00
  • 02246aaeb9 wikiheaders.pl: Report a function's header file name. Ryan C. Gordon 2024-03-31 12:56:00 -04:00
  • e055a9fc2d wikiheaders.pl: Report a function's header file name. Ryan C. Gordon 2024-03-31 12:56:00 -04:00
  • 4d00706f57 Do not store pointer before potentialy freeing it Mathieu Eyraud 2024-03-30 18:59:19 +01:00
  • 36dec0bf4e Fix return value of WIN_GetMonitorPathInfo Mathieu Eyraud 2024-03-30 18:50:04 +01:00
  • 8201b6dc4d Added support for raw mousewheel events Sam Lantinga 2024-03-30 07:38:38 -07:00
  • 4a00d34a86 Always send raw mouse button state changes Sam Lantinga 2024-03-30 07:30:43 -07:00
  • 335fa5d6e4 Disable SDL dialogs for tvOS and iOS Semphris 2024-03-30 00:34:29 -04:00
  • 72cf9c0ef4 test: don't run testautomation in parallel Anonymous Maarten 2024-03-29 21:11:35 +01:00
  • 96c93d2252 Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-29 19:02:25 +00:00
  • 49029c8454 stdinc: Document a bunch of ctype/string functions. Ryan C. Gordon 2024-03-29 14:15:07 -04:00
  • a5c892d2c3 stdlib: Improve Unicode support and consistency in string comparison functions. Ryan C. Gordon 2024-03-26 13:22:38 -04:00
  • 4659a84bd1 coreaudio: fix race condition when closing an input device. Ryan C. Gordon 2024-03-29 00:55:38 -04:00
  • 2fd9447670 coreaudio: Make sure device handles are unique. Ryan C. Gordon 2024-03-29 00:01:49 -04:00
  • 87235e0f6d Fixed detecting CoreAudio devices that have both capture and output endpoints Sam Lantinga 2024-03-28 18:35:42 -07:00
  • af5728b94d Fixed event handle accumulation when the SDL window doesn't have focus Sam Lantinga 2024-03-28 15:11:45 -07:00
  • 6d37f4798e SDL_pen.c: release pen mutex on error return Christoph Reichenbach 2024-03-28 20:37:54 +00:00
  • d785a647a4 Fix 'SyntaxWarning: invalid escape sequence' when running gendynapi.py Susko3 2024-03-28 20:14:56 +01:00
  • 4d91f0e796 SDL_stdinc.h: Android passes sizeof(ENUM) == sizeof(int) assertion Ozkan Sezer 2024-03-28 20:28:02 +03:00
  • 6cf71ca9a9 SDL_stdinc.h: Android passes sizeof(ENUM) == sizeof(int) assertion Ozkan Sezer 2024-03-28 20:28:02 +03:00
  • 47378eddf6 Fixed error: ordered comparison of pointer with integer zero Sam Lantinga 2024-03-28 09:34:48 -07:00
  • 0aa1022358 Clarify that SDL_SetWindowKeyboardGrab() is only needed if you set SDL_HINT_GRAB_KEYBOARD Sam Lantinga 2024-03-28 09:25:22 -07:00
  • fc81d4e5fc Fixed 64-bit conversion warnings Sam Lantinga 2024-03-28 09:12:26 -07:00
  • c8489a3710 Disable XInput2 keyboard events Sam Lantinga 2024-03-28 08:50:47 -07:00
  • fb5307c1b3 Vulkan Renderer - fix synchronization validation issues with testrendertarget and testcopyex. When a texture is destroyed, VULKAN_IssueBatch is called to make sure the texture isn't referenced in any outstanding command work. This path did not wait on the semaphore from vkAcquireNextImageKHR, which would create a hazard. danginsburg 2024-03-28 10:20:15 -04:00
  • 863f39fb9f psp: Fixed building with pspdev when not using CMake. Ryan C. Gordon 2024-03-28 09:47:28 -04:00
  • 0d8ce4a761 psp: Fixed building with pspdev when not using CMake. Ryan C. Gordon 2024-03-28 09:47:28 -04:00
  • 0d007bbb01 psp: Fixed building with pspdev when not using CMake. Ryan C. Gordon 2024-03-28 09:27:21 -04:00
  • ad92c9e300 README-main-functions.md: Added notes about the new appstate parameter. Ryan C. Gordon 2024-03-27 23:04:10 -04:00
  • 7a9f99cff3 Corrected migration documentation for SDL_GetDisplayDPI() Sam Lantinga 2024-03-27 18:27:57 -07:00
  • d00ccc1546 audio: Fix audio stream incorrectly not unlocking during unbind. Ryan C. Gordon 2024-03-27 17:36:26 -04:00
  • 38e3c6a4aa main: Add an optional appstate param to main callback entry points. Ryan C. Gordon 2024-03-27 17:22:08 -04:00
  • a9dbdb1947 Removed SDL_RenderSetIntegerScale() renaming note Sam Lantinga 2024-03-27 12:44:59 -07:00
  • cde2dcd0d4 Note that SDL_EVENT_SYSWM has been removed Sam Lantinga 2024-03-27 11:39:10 -07:00
  • 05b3605a41 Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-27 18:02:23 +00:00
  • 5abcfad352 video: Document that renderer lifetimes are tied to their associated windows Frank Praznik 2024-03-27 12:45:51 -04:00
  • 02c63667c7 Only clear the raw input queue status if we don't call GetRawInputBuffer() Sam Lantinga 2024-03-26 15:01:19 -07:00
  • d6fc629b5b Fixed Windows rawinput crash Sam Lantinga 2024-03-26 14:11:38 -07:00
  • a7df28201b Revert "testautomation: fix renderer leak in video tests" Frank Praznik 2024-03-26 14:43:53 -04:00
  • 8f14fa1113 video: Destroy the associated renderer when a window is destroyed Frank Praznik 2024-03-26 14:43:33 -04:00
  • f0cd3ed330 x11: don't send raw mouse motion when the application doesn't have focus Sam Lantinga 2024-03-26 13:10:54 -07:00
  • c47f9b9b54 x11: fixed mouse and keyboard input when XInput2 isn't available Sam Lantinga 2024-03-26 13:01:00 -07:00
  • fed5f3a81b We no longer automatically set up a logical presentation mode Sam Lantinga 2024-03-26 10:21:34 -07:00
  • 823ab13b9c SDL_CreateTexture() takes a SDL_PixelFormatEnum format parameter Sam Lantinga 2024-03-26 10:20:01 -07:00
  • 35785d1354 SDL_CreateWindowTexture() shouldn't use 10-bit or float textures Sam Lantinga 2024-03-26 10:17:47 -07:00
  • 696ecca499 Fixed SDL_MapRGB(), SDL_MapRGBA(), SDL_GetRGB() and SDL_GetRGBA() when used with 10-bit pixel formats Sam Lantinga 2024-03-26 10:03:39 -07:00
  • 3eb8f35f3b windows: handle the Pause key sequence for raw keyboard input Sam Lantinga 2024-03-26 09:22:00 -07:00
  • 4562b41a4d VisualC-GDK: Add missing dialog sources, fix Xbox builds Daniel Ludwig 2024-03-26 14:34:51 +01:00
  • 693c75e36e SDL_x11events.c: fix build if Xinput2 is not available after 3dfc3b4c8 Ozkan Sezer 2024-03-26 11:56:02 +03:00
  • 0556362c38 SDL_windowsevents.c: comment out unused local mouse var after 70b5cd44 Ozkan Sezer 2024-03-26 11:47:32 +03:00
  • 70b5cd44ec windows: explicitly check whether raw_mouse_enabled is true before handling Windows mouse messages Sam Lantinga 2024-03-25 20:49:16 -07:00
  • 3dfc3b4c8d x11: added hotplug support for XInput2 devices Sam Lantinga 2024-03-25 16:32:40 -07:00
  • f1f24b173c Added support for multiple distinct keyboards Sam Lantinga 2024-03-25 15:18:27 -07:00
  • 78c7834f90 Added SDL_HINT_WINDOWS_RAW_KEYBOARD to control whether raw keyboard is enabled on Windows Sam Lantinga 2024-03-25 14:46:31 -07:00
  • 9095cb64c4 linux/SDL_system_theme.c: fix an include path Mark Delk 2024-03-25 18:05:55 -05:00
  • a65982e15d testevdev: include SDL_internal.h first, and fixup SDL_main.h Anonymous Maarten 2024-03-25 19:55:22 +01:00
  • ffc3f71aa2 wayland: Use the floating width/height for initial window creation Frank Praznik 2024-03-25 14:43:46 -04:00
  • b9a88bbecb Removed SDL_TextInputShown() Sam Lantinga 2024-03-25 13:05:42 -07:00
  • 6443c75eda Removed SDL_TEXTINPUTEVENT_TEXT_SIZE Sam Lantinga 2024-03-25 12:55:49 -07:00
  • fa236f169b Only do work to process text events if text input is active Sam Lantinga 2024-03-25 12:49:09 -07:00
  • 658f3cdcf1 x11: use XInput2 for lower level access to keyboard events Sam Lantinga 2024-03-25 12:23:04 -07:00
  • 012fc1e32b windows: enable raw keyboard input when raw mouse input is enabled Sam Lantinga 2024-03-25 09:49:35 -07:00
  • d33b28c9fe Don't fail joystick initialization if udev isn't available Sam Lantinga 2024-03-25 11:45:41 -07:00
  • c15a87a614 remove non-existent vulkan.hpp and vulkan_mir.h from Xcode project Ozkan Sezer 2024-03-25 21:23:24 +03:00
  • 45de0635ac VisualC: remove vulkan.hpp Anonymous Maarten 2024-03-25 18:04:40 +01:00
  • 35d335e61f Fixed warning C4267: 'function': conversion from 'size_t' to 'DWORD', possible loss of data Sam Lantinga 2024-03-25 11:46:47 -07:00
  • 5fff9bc1e3 Don't fail joystick initialization if udev isn't available Sam Lantinga 2024-03-25 11:45:41 -07:00
  • 43b8e9f681 Fixed spacing Sam Lantinga 2024-03-25 11:41:51 -07:00
  • 5e8486bb29 Don't fail joystick initialization if udev isn't available Sam Lantinga 2024-03-25 11:29:03 -07:00
  • 5a1c48be5c remove non-existent vulkan.hpp and vulkan_mir.h from Xcode project Ozkan Sezer 2024-03-25 21:23:32 +03:00
  • 358a80a473 remove non-existent vulkan.hpp and vulkan_mir.h from Xcode project Ozkan Sezer 2024-03-25 21:23:24 +03:00
  • eb185e8d88 VisualC: remove vulkan.hpp Anonymous Maarten 2024-03-25 18:04:40 +01:00
  • 58f2e102a9 visualc: filters also contained 2 wrong include headers Anonymous Maarten 2024-03-25 18:02:05 +01:00
  • c7d32ff64b visualc: rename/remove 2 include paths Anonymous Maarten 2024-03-25 17:09:26 +01:00
  • 977285ef6a Send joystick added events on portable handheld platforms Sam Lantinga 2024-03-25 07:14:00 -07:00
  • b391e6477e The joystick instance ID is already set in the open call Sam Lantinga 2024-03-25 06:57:02 -07:00
  • 07c49d1a67 Fixed text input being active after SDL_StopTextInput() (thanks @AntTheAlchemist!) Sam Lantinga 2024-03-25 06:46:23 -07:00
  • 53ade19430 udev: Fix O(n^2) device walking issue (closes #9092) Tyson Whitehead 2024-03-23 14:10:28 -04:00
  • bca314c339 Add Yawman Arrow flightstick controller Alynne 2024-03-25 07:11:24 -04:00