b22c6238d5eb65ced42808ec326aae75d0d5c9ed
3 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
b22c6238d5 |
Squashed 'external/SDL/' changes from 90fd2a3cbe..279dabfc96
279dabfc96 cocoa: Don't use trick of briefly focusing the Dock on newer macOS releases. afa27243df Ignore sensor delta values that look like they're out of range cd98b66114 Allow overriding SDL_FORK_MESSAGEBOX in build environment 8d5bf053f7 Fixed detecting 8BitDo sensor timestamp on older firmware 0ac1241b7a x11: Always update the borders on frame extent events f40bf44928 Removed unnecessary include 6d3e8b749e add 8BitDo Controller sensor_timestamp (#13278) 727b4924c8 Update the viewport when logical presentation changes de6a23028a Fix #13276: Crash in SDL_GetAudioDeviceChannelMap 8442d4f0f7 joystick: Add support Xbox Adaptive Controller 3cd979b353 SDL_render.h: enum SDL_TextureAddressMode: Removed trailing comma db3a35e9bc joystick: Fix MSVC errors C2099 with `/fp:strict` 9ed83e71f6 Fixed memory leaks in KMSDRM property handling 603118c340 Sync SDL3 wiki -> header aa4f916b71 Renamed SDL_PROP_AUDIOSTREAM_KEEP_ON_SHUTDOWN_BOOLEAN to SDL_PROP_AUDIOSTREAM_AUTO_CLEANUP_BOOLEAN 6cfe211142 Sync SDL3 wiki -> header 274aa0242e audio: Let apps save an audio stream from destruction during SDL_Quit(). (#13244) af8bee2dd1 alsa: change an SDL_LogError into SDL_LogDebug. bbc674b9e7 test: Fix resource paths in testtray 796961acec Resolve bug for calibration Nintendo Switch Pro Controller (#13260) 3a6f9e01f8 Fixed Nintendo Switch thumbstick calibration 038a3806eb Fixed Nintendo Switch Pro thumbstick calibration e6c2649afc Updated testffmpeg for ffmpeg 7.1 e80d084766 expose events originating from a live-resize set the data1 field to 1. 6aedc488d3 win32: Invalidate window message mouse button flags when reading buttons from raw input or GameInput 81e3066303 hidapi/libusb: disable C5287 warning in MSVC builds 7d9fd48557 alsa: recover from snd_pcm_avail() returning -EPIPE e68f5ca99a alsa: use udev if available instead of a hotplug thread 051ce0ff89 alsa: fixed disconnecting the microphone when opened 5fcc83d93b Vita Render: Limit the scope of cliprect to viewport 1bd5110ff0 Vita: Fixed absence of clipping when viewport is set eb04219efe audio: Enumerating audio devices will skip zombie devices still in the hash. d06b6e42d2 Sync SDL3 wiki -> header c19ad189dc Clarify that SDL_GetAudioStreamDevice() returns the logical device. 7882e60f0e Don't log an error for disconnected audio devices e4e29b8601 Fix support for F21 to F24 scancodes on Linux d7939abf42 Use consistent style for pointer declarations and casts 390fe65323 test: Fix a window parenting bug in testmodal ca9b7c8ea3 video: Explicitly disallow setting the parent of a window to itself c04624972e alsa: Simplify ALSA_WaitDevice. b4ac5f43f5 include: Fixed copy/paste error in endian-specific SDL_Read function docs. 3896b1b3f4 wikiheaders: Let each subproject specify how to find their property symbols. efed3c63b3 Added support for an alternate version of the Vader 4 Pro d6bae53341 Added support for an alternate version of the Vader 4 Pro f62c982bcf Reverted Accelerometer and Gyro displays to throttled display (10hz) b833c618a9 Improved reliability detecting FlyDigi Vader controllers 0e262dfd44 Sync SDL3 wiki -> header 6c406dd122 include: a couple of documentation tweaks and typo fixes. 42c9fe119d Sync SDL3 wiki -> header f5d1402c28 Flydigi Vader 4 Pro IMU rate correction (#13215) 1e886c8a2f 8 bitdo polling rate corrections (#13221) 913b611ccd Added tools for evaluating gyroscope accuracy and IMU polling rates. (#13209) e2239c36d3 wayland: Ensure that the tablet tool list is always initialized to empty ec1297199e wayland: Implement the pointer warp protocol 558a89fdb6 Read Switch controller gyro/accel sensitivity coeffs (SDL3) fd4ffa6d27 Sync SDL3 wiki -> header c5b1341757 Tweak Vulkan include guard check and 64-bit platform defines (#13210) e18a6313de Added gyro support for the Flydigi Vader 3 Pro controller 71f479b4aa Fix a broken link inside README-cmake.md that's meant to send to README-linux.md also made said link more consistent with other links by adding .md suffix f2bcfe3dd2 Correct the texture format used for the N-Gage (#13192) 685f1720fe Revert "[Nokia N-Gage] Fix alpha transparency in 4K color mode using BitBltMasked" a89a20a9ab Fix Markdown typo in Arch Linux dependencies docs cbc9d662ea [Nokia N-Gage] Add define to disable FPS counter by default. d9af41b5ac cmake: more private definitions 5826966873 Fixed replacing existing specific gamepad mappings f90a21483c Added support for the ZEROPLUS P4 Wired Gamepad 638acdc02a Remove the CRC from automatically generated gamepad mappings 45eb6310a8 x11: Resize fixed-size windows after mapping on xmonad 7dd5e765df joystick: Report battery on GIP controllers c54a017f47 joystick: Clean up Elite Button handling 559efd58e2 joystick: Add headset stub to GIP driver 7cc3feeb1b keyboard: Search for the correct base key value when querying the keycode from a scancode 22fa45b3c1 win32: Ensure that text input is initially disabled when creating a window c240ed976f Sync SDL3 wiki -> header 27464ffb08 Clarify that icon and cursor alternate images are added with SDL_AddSurfaceAlternateImage() 2ef7944170 [Nokia N-Gage] Fix alpha transparency in 4K color mode using BitBltMasked d86fb8a83a gdk: Ignore focus loss events caused by text input showing the OSK 6622f4e1ea Added support for the NACON Revolution X Unlimited controller on macOS 45aa497813 [Nokia N-Gage] Fix SDL_GetPerformanceFrequency and SDL_GetPerformanceCounter 7457857304 Fixed input from the MayFlash GameCube adapter with version 7 firmware 1ec12b38e5 Sync SDL3 wiki -> header b6c4a46b85 workflows: Use stable Steam Runtime 3 on both x86_64 and arm64 fbba5b272a GPU: Binding validation and prevent null dereference if expected binding is missing (#13164) cf6c42e6e6 Use HEAPU8.set rather than Module.HEAPU8.set (thanks @sbc100!) 4b0f48c4cf Mark gamepads as invalid if they can't be opened a314a58e7e Sync SDL3 wiki -> header d283f4651c Sync SDL3 wiki -> header 8510331f66 .wikiheaders-options: Add Tray to quickreference categories. b8187e2abd wikiheaders: Trim whitespace from end of lines in section headers. 9e0d9f30a7 x11: Be a little less aggressive with Xinput2IsInitialized checks. 57b6e6c7f9 Checks if xinput is loaded before trying to call xinput functions ac3ab026fe audio: corrected comment about device format minimums. 83cc3bc234 audio: Opened device spec must be >= simple minimums, not device's defaults. 14a4ae521a pulseaudio: Request more recording data per-fragment. 3a4de2ad89 Sync SDL3 wiki -> header 47717f22fd cocoa: Always add a window-sized NSTrackingArea to each window. f61d956a04 cocoa: add explicit tracking areas to the window. 58afb0d8ae wayland: Update xkbcommon names and types c764e8864b wayland: Update xkbcommon to avoid using deprecated modifier names b61586b492 [Nokia N-Gage] Increase max. texture size from 256 to 1024; the previous setting was chosen at random and does not necessarily make sense in practice. 329b5f27d6 fix preprocessor directive for SDL_RESTRICT definition in C99 case. 0d58594e66 fix inverted __STDC_VERSION__ condition in SDL_RESTRICT definition. 6a686185f7 SDL_begin_code.h: Actually define SDL_RESTRICT. 51dfca813b Pass text input rect to steam deck keyboard invocation 520d73ae57 include/SDL_gpu: fix bool members documentation indentation a26e5f32e0 Gyro degrees per second is 2000 across all 8bitdo controllers (#13147) fc1c0618de kmsdrm: fixed creating GBM surfaces on NVIDIA cards 03a6d98aee Update SDL_pixels.h 885e611f3c Added macros to push/pop error messages while cleaning up 61d105247e Fixed typos 7db0ac7380 Updated SDL_StretchSurface() documentation ca988dbc2c Bail out if Xrandr returns zero CRTCs in the X11 messagebox implementation c147ddf3e3 Do not use Xrandr if the extension is not queryable in the X11 messagebox implementation df07c09f55 Use visuals and colormapsin the X11 messagebox implementation 737b9e117d Removed obsolete documentation d2be547642 Removed spurious parentheses 36936cbf37 Set the serial number to the Bluetooth MAC address for 8BitDo controllers f80e819c5b Sync SDL3 wiki -> header b7082e7e18 Sync SDL3 wiki -> header 3940c660be begin_code: Added SDL_ALIGNED macro. aa870d511e Disable SDL_HINT_JOYSTICK_RAWINPUT by default db972604a8 gpu: Xbox buildfix 8a2e2e75d1 Simplified loop logic b4f7948410 Ensure that report 06 command reads normally e3d44cdd51 wayland: Use raw timestamps to calculate the elapsed repeat time on a key up event b51273512b Sync SDL3 wiki -> header 988c0be934 Sync SDL3 wiki -> header 9b025e3cab PSP fullscreen is the only mode (#13125) 08b6f6175a Sync SDL3 wiki -> header 5e50d39b38 audio: Added SDL_PutAudioStreamDataNoCopy. 25db127450 SDL_video.c: remove two stray line continuation chars . 168d1a9253 emscripten: Proxy Emscripten_GetSystemTheme and EMSCRIPTENAUDIO_OpenDevice to the main thread. f62572344f Clean up INTERFACE_COMPILE_OPTIONS b70919ecd9 x11: Assume the window was mapped after showing 0657ece55d x11: Always send fullscreen dimensions except on XWayland 1f6b5c681d Set the initial axis values for HIDAPI and XInput controllers fdc4f8fa39 x11: Include the XTest header when needed 2b4d61e4a6 VITA: support only fullscreen windows. Fixes #13079 4cd889cb13 joystick: Several minor GIP fixes 0a7548230c Sync SDL3 wiki -> header c9cf4c42e0 Improved HIDAPI support for Flydigi controllers ead32c706d fix error handling in WideCharToMultiByte 8ddb074889 bugfix advancing UTF-8 length in UTF-16 string dcdbc0bf9f README-documentation-rules: Add a note about being UTF-8 only! 56bb73a8d2 README-ngage.md: Really actually got all the non-UTF-8 characters this time! ecef0d3564 README-ngage.md: Found a few more non-UTF-8 things. fb7afabbd6 README-ngage.md: Removed non-UTF-8 character. 73ca59b423 Sync SDL3 wiki -> header 136a44b0bd Sync SDL3 wiki -> header 7ae64592c9 Restore support for the Nokia N-Gage (#12148) 26f9940f82 Sync SDL3 wiki -> header 6f994cc7a8 Fixed macOS build 354895d975 Add Flydigi VADER 4 Pro HIDAPI support (#12874) 8d9a4fe843 stdinc: Corrected documentation for SDL_atan2 and SDL_atan2f. abcfa1b7de wayland: Use SDL_memcpy instead of SDL_copyp to copy the repeated text string 22828d5f2a Fix #13083 segfault in `SDL_RemoveTrayEntry()` for submenu entries 264eb8d440 Fixed the Bluetooth flag for the combined Joy-Con controller 05f779f61e wayland: Cap the max key repeat elapsed time 20e8ac0075 wayland: Fix keymap changed event spam with non-latin keyboard layouts b8e055ce64 use SDL style - else on same line as closing brace 8e22194217 get preferred locales on android c08b1049d3 gpu/d3d12: Acknowledge that we've bound vertex buffers (#13088) c89357bf60 Fix wrong callback type f4942b3eae GPU: Update D3D12 to create multisample textures with default MSAA alignment c7549eb0b6 wayland: Set the text input cursor rect properly 3be57ec774 docs: fix man page return value section generation 2dad6534b8 GPU: Add missing compute-writeable texture formats 992e4c59bd Fixed rare crash trying to interrupt SDL_WaitEvent() 4db8fe2f9b Sync SDL3 wiki -> header 6c61a94a4b wayland: Don't add the nanosecond timestamp offset to the pre-conversion millisecond value 25f2376e79 Fixed touch not being delivered as mouse events by default on Vita afd1e51023 Fix: GameCube controller adapter hotplug not working 510126ee63 gpu: Check shader format support in PrepareDriver 8289656a4e GPU: Update to set supported shader formats inside CreateDevice 514d96de07 Sync SDL3 wiki -> header d6a99752b7 Fix properties name in SDL_CreateGPUDeviceWithProperties 3dceb728b7 Suppress spammy gamepad and joystick update events b0a282e31f wayland: Enable relative pointer mode based on the window flag 968222e74f Fix #13057 - fixes bug with NSEventTypeMouseMoved having a NULL window causing us to suppress future mouse move events because the window was considered out of focus. d16371b923 Fix reference to nonexistent "README-3ds.md" 945eb6dc87 MacOS: fix cocoa clipboard text b08d79b832 GPU: Check that a texture format is valid for compute writes (#13044) 604c192154 GPU: Always return NULL if beginning a pass fails an assert check 252129f433 GPU: Debug mode layer and level index checks db154c8b9b Added HIDAPI mapping for the 8BitDo SF30 Pro ec685e87fd Clarify logic in UpdateLogicalPresentation() 8aa5b97bb5 renderer: Always use the output size when updating the main view 1f7aa16eae wikiheaders: Man pages should escape apostrophe chars. cf62637261 joystick: Add support for Xbox One Chatpad attachment 83cbf7f811 Sync SDL3 wiki -> header f85f83ec7c SDL GPU: Implemented opt out Vulkan device features (#13016) 1eeffc5933 Revert "x11: Send key events for dead keys consumed by the IME" 3304d24bea Revert "x11: Filter out duplicate key presses when an IME is active" cd95152b2c Fixed crash if out of memory in the Vulkan GPU driver 70b2d162e3 audio: Assert that all devices from device_hash are the appropriate type 83d4dce697 wayland: Remove all window references from seats when destroying a window 0a34279578 audio: Fix SDL_GetAudioDeviceName() not working with logical devices. e2f7c4046c Sync SDL3 wiki -> header f6c1e81394 [Process API] Quoting enhancements (#12946) 9a6f70d75a tray: Fix wrong `fByPositon` parameter of SetMenuItemInfoW in SDL_SetTrayEntryLabel 38da39c8c9 Added rightx and righty 2ae3418260 GPU Vulkan: set correct destination usage mode for storage buffer read/write bindings (#13009) c6e9d6cc79 AAudio: Implemented sample frames hint aaa5d70efc wayland: Check the cursor visibility flag when updating seat pointers e1066ceea1 Revert "pulseaudio: cleanup TLS every time we finish a threaded-mainloop callback." 84308e7fba x11: Fix the Openbox quirk flag 6344712b04 GPU Vulkan: fix for Swapchain Semaphore Reuse 3f2226a917 Add progress bar support for Linux e90f7ac4a8 Add hid_version and hid_version_str to renamed LIBUSB impl symbols f92843da83 Sync SDL3 wiki -> header 86b206dadf GPU: Special case to avoid assert on GenerateMipmaps (#12995) 7b3bd8c538 joystick: Improve GIP metadata retry 367cf9ba63 joystick: Always continue processing GIP packets 955a49c883 joystick: Add quirk for no impulse vibration on the Spectra Pro 82899501b5 joystick: Fix GIP fast ACK issue 9e0edea16f joystick: Assume GIP gamepads have the LED command if no metadata is present 9a96960728 joystick: Sort out GIP vendor messages into the supported interfaces 72dd79752e joystick: Add initial support for GIP flight sticks 2248d3812e joystick: Rework GIP code to allow separate states for individual attachments 87fe9ef79b Fixed crash if WGI isn't correlated in RAWINPUT_JoystickRumble() 29d2116495 Define illegal_instruction() when it will be actually used 2aa0957081 Fixed 8BitDo Ultimate 2 Wireless controller on macOS ad55597715 ci: Update Steam Linux Runtime tasks. 36c3a7a5e2 ci: Add slrsniper-arm64 task 8690a9ab54 Prefer the HIDAPI driver for 8BitDo controllers on macOS 2b57d58f7d Added GCController mapping for the 8BitDo SN30 Pro on macOS d157600d3d Added GCController mapping for the 8BitDo Pro 2 on macOS 09c8d4b556 Sync SDL3 wiki -> header 37b86a6d2f windows: fix Unicode function and type inconsistencies d9e58baa6d fixed the field of SDL_MouseMotionTransformCallback e7a765d648 Replace SDL_free with delete for new-allocated objects 5bee85408c Cleanup 8BitDo HIDAPI support for SF30 Pro and SN30 Pro 89a8cf2505 Sync SDL3 wiki -> header 6b048f59d7 fix #12963 2b3c481215 add 8BitDo Controller (#12964) ca47dc59a9 Fixed building with the OpenVR video driver 195ad85ba4 Fixed typo f4813ca2cf x11: Filter out duplicate key presses when an IME is active 8e1f4bafb4 [emscripten] Remove referenc to Module['createContext'] 1dbb813316 VITA: fix audio playback 20f783532b Sync SDL3 wiki -> header bbd973c8d2 Sync SDL3 wiki -> header 71303b41bf Sync SDL3 wiki -> header a7344206e8 wikiheaders: Patched to compile. 06c2f9fcfc wikiheaders: Correct wiki README digest links. ad46394e82 wikiheaders: README.md should be READMEs.md 2c97a48c51 wikiheaders: READMEs go in the base dir of the wiki now. 92a5417a98 docs: Tweak some minor things to keep wikiheaders happy. d357aa29a3 Fixed initializing the OpenVR driver f8c77908ad Use motor sequence ID 0 in the HIDAPI GIP driver 33e5f4885a x11: Don't update grab on enter when the mouse is captured 1abac3ccc3 Revert "x11: Better handle XInput2 mouse tracking outside the window" 85d2345bd8 Sync SDL3 wiki -> header 5bd886519b Sync SDL3 wiki -> header c6362b4788 tests: Revert some leftover testing code c91f9f6968 x11: #ifdef the XRandR path in the message box code 7490471796 cpuinfo: Use auxv for AltiVec on Linux if possible 17bba029ba don't prototype strdup() for __clang_analyzer__ case in windows builds. 15c6acf74f capture g27 shifter r input 795d1ae1fb testmessage: Don't push the event if "Retry" was chosen. d73fe0bc53 win32: Hide the borders when showing a fullscreen window ab12b7cbba Added support for the share button on the GameSir-K1 FLUX controller 1e6a25324c Added support for the PowerA Battle Dragon Advanced Wireless Controller 57346f2ba8 dialog: Cocoa backend should reactivate the app after the modal dialog. caf269ce00 Added a link to the GIP documentation 34c045aa39 Fixed paddles on the Xbox Elite controller using the GIP driver 0447c2f3c3 events: Add integer wheel fields for sdl2-compat ae251a05be Fixed warning: no previous prototype for function 'GIP_ParseMetadata' 193b0c8963 uikit: Use SDL_RunOnMainThread instead of dispatch_sync for message boxes. 691cc5bb5e dialog: Cocoa shouldn't crash if there's a '.' in the filters. 4ef8b6ce1b X11: Center Message Box on Multi Monitor Displays (#12819) c5d5967c3a video: Store the preferred fullscreen display in a property for sdl2-compat 11e1d4a145 Sync SDL3 wiki -> header 00f3a82ada Joystick: Add new GIP driver to replace old Xbox One wired driver 48dfc03a87 Added the gamepad hint SDL_GAMECONTROLLER_USE_GAMECUBE_LABELS 21a7bbbf14 Restore compatibility with older GameCube mappings 3730128e33 Simplify WIN_CreateHCursor (#12933) 6a0505c090 wayland: Remove unnecessary function call fdd8b5d630 wayland: Query the mouse global button states from the seats e3df61b070 Fixed right mouse button emulation when using a pen 106ccc722e Fixed missing simulated mouse events using a Wacom tablet 8ae962c904 Fixed build e04064350f Fixed right click mouse emulation for the Wacom tablet a163257295 GPU: Validate that textures are not bound for both read and write on render passes (#12925) ea67133e4f pen: Windows can't check WM_POINTER[DOWN|UP] for touches directly. f131791005 Sync SDL3 wiki -> header e1a41c1c97 GPU Vulkan: Add locks for layout object lookups (#12924) fd5380ffc6 Sync SDL3 wiki -> header b871ac0d97 Add support for non-constrained and non-grabbing popups 8abcc27535 Removed timeout in SDL_RunOnMainThread() ef54c3bf18 Always enable D3D12 GPU on Windows 39d3148185 events: Fix undefined behavior when disabling some event types 510c7edd9b migrate usage of SetCursor(NULL) to RedrawCursor() 4779499048 Split the redraw effect to own function 6c172e5220 SDL_SetCursor should not skip focus check cbf44700d8 bytepusher example: always render text to render target and remove unused variable faddff1bcc Sync SDL3 wiki -> header 31650d566c Added SDL_GAMEPAD_TYPE_GAMECUBE c4d5cc358f streamline boolean logic 441e7e488f invert cursor_visible to hide_cursor d553372682 rename cursor_shown to cursor_visible 016ba86f93 tray, unix: make pointers g_object_ref and g_object_ref_sink static 6f5892e543 cocoa: Immediately update the mouse focus when showing/hiding a popup menu 8c733d1f7b x11: Better handle XInput2 mouse tracking outside the window 0dbf585ace fix SDL_audiocvt.c MSVC build. af0972c33f audio: SDL_PutAudioStreamPlanarData should take a channel count. 5f03cb3882 d3d12: Patched to compile with GDK builds. 360cc2791f test/msdf_font.bmp: mark as non-executable. 34fe967f3e Sync SDL3 wiki -> header 22692e308f events: Added SDL_GetEventDescription(). c2ed58db7b windows: Fix stale zoom/iconic state in WM_WINDOWPOSCHANGED handler 14ae45c2b8 GDK: Handle ProjectDir with space faa2e40406 gpu: Warn about Direct3D 12 texture alignment requirements. 2e45198299 Sync SDL3 wiki -> header 608f706a95 audio: Added SDL_SetAudioIterationCallbacks(). 18a86ea6bb testaudio: Use SDL_SetAppMetadata at startup. a9bee3c0bf pipewire: Use a more specific stream name than "Audio Stream". 2767c1a440 aaudio: We PlayDevice first and WaitDevice after; reduce semaphore count by 1. 7642c0468d Log information about Wayland environment detection 5b1e92ae88 cmake: use CMAKE_ANDROID_NDK variable as root of Android ndk 09b2aae47e cocoa: Popup menus always accept first click 29ef31d589 Sync SDL3 wiki -> header 15cb9bd610 Sync SDL3 wiki -> header b28449a58c audio: Tweak SDL_GetAudioDeviceName. da3c864d4c Reset the keyboard when entering a modal loop on Windows a82f70dc21 use GetMessagePos instead of GetCursorPos bfbeaca29f inline WIN_UpdateMouseCapture de2c5c33b7 SDL_hidapi_steamdeck: report touch controller events 5cacdf2513 Fix crash in UIKit indirect pointer handling 32bbabe2a5 Add Padix Rockfire devices (#12884) 7e1d4f843c Emscripten: fix incorrect error check for WebGL context creation fcdaff4110 Fixed compiler warning dd625a6763 defer clipcursor refresh unto pump finish c84c2aa2c4 pass ground-truth cursor pos to WIN_UpdateFocus 11a3296a42 x11: Handle size/position events arriving before state events d50520462a Add and use SDL_HapticEffectID typedef fb940fff80 audio: Fix warning C4701: potentially uninitialized local variable 'isstack' used e8bd9cc150 audio: SDL_GetAudioDeviceName() doesn't need a full device lock. 3343cb2147 gpu: rework alpha-to-coverage validation ceb9fecfc1 Joystick: Add trigger rumble resend c81b62293a GPU D3D12 - Update to use typeless formats for depth buffer (#12701) 27b256022b SDL_GetRectIntersectionFloat(): Allow rendering zero-sized srcrect d04b28926c GPU: Make D3D12 debug layers optional 695cad459b Corrected documentation for SDL_SetGPUSwapchainParameters() 2b16c961ea Add and use typedefs SDL_HapticEffectType and SDL_HapticDirectionType a1332d77f6 wayland: Cleanup timestamp handling b5ed0d0138 stb_image.h: apply mainstream PR/1736 e3181a0bcd Sync SDL3 wiki -> header e3507b390e examples: added audio/05-planar-data 3905aa0587 audio: Added SDL_PutAudioStreamPlanarData. 483d1c36ed comments: Fixed a few typos I ran into in the audio code. 727a5fae59 Sync SDL3 wiki -> header 5a8be8e4c2 Fixed formatting 6e4ace310c GPU: Validate shader bytecode 89d7d406ab Added tests to cover invalid surface blits fe849f1572 SDL_BlitSurfaceScaled(): Do not divide by zero 8017d38adc SDL_BlitSurfaceScaled(): Do not blit if surfaces have no pixel data 18fbe6a92f Renamed SDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_STENCIL_UINT8 to SDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_STENCIL_NUMBER 6a6917b0df Sync SDL3 wiki -> header e70a49892b Add missing type suffix to SDL_PROP_WINDOW_OPENVR_OVERLAY_ID a696b108ac SDL_BlitSurface() comment: Remove sentence about final blit rect being stored in srcrect and dstrect c076b0d17f Removed incorrect documentation for SDL_RenderViewportSet() 47162a4168 x11: Send key events for dead keys consumed by the IME 3aed80cd82 Updated documentation for SDL_HINT_GPU_DRIVER 86b3369491 wayland: Check the origin of clipboard offers before forwarding them to the client 23a7a74133 Sync SDL3 wiki -> header 3be0ec5631 Sync SDL3 wiki -> header 5bd1578a45 wayland: Account for timer rollover when calculating the elapsed time for key repeats. 10f51da28d cocoa: Use CGFLOAT_MAX for unbounded max window dimensions 3519a59d8f The SDL_BUTTON_*MASK defines must come immediately after the SDL_MouseButtonFlags typedef to be associated 8e0b39f465 Sync SDL3 wiki -> header 9da46bc37f win32: Check internal data when positioning child windows git-subtree-dir: external/SDL git-subtree-split: 279dabfc96631965f8dad2e39d57daa4b9130d24 |
||
|
|
28d94e8b86 |
Squashed 'external/SDL/' changes from 8ec576dda..90fd2a3cb
90fd2a3cb Sync SDL3 wiki -> header
edd08771a wayland: Add xdg_toplevel v7 edge constraint support
113475acb wayland: Add multi-seat support
4093e4a19 Fixed process I/O redirection to NUL on Windows
c025fdbb7 Add the CREATE_NO_WINDOW flag for background processes
8a57c83ff Updated to GameInput v1.1
f35a2736b Don't reset the render target when invalidating GPU renderer cache state
47e52ab37 Sync SDL3 wiki -> header
6a3dbe34d Sync SDL3 wiki -> header
d84c000ac Sync SDL3 wiki -> header
98e76d283 Fixed conflict when linking both SDL and hidapi statically
f6db5ba4c Add Turtle Beach VelocityOne
a1016bd06 Allow 01-joystick-polling example to be resizable
60fb1b554 Fix IMU orientations for 8bitdo wireless 2 controller in bluetooth mode
b0860fb0c Disable EGL in Emscripten builds
f303ccca6 Updated the report size for Ultimate 2 Wireless firmware v1.02
0add03780 [Windows]: dialog: Add `OFN_OVERWRITEPROMPT` to save dialogs (#12782)
a390f5716 docs: improve man page generation
93ac1e689 Fixed non-XBox controllers being detected as Series X controllers
d29bb902f Don't treat the Keychron K1 Pro System Control keyboard as a joystick
ab57ef9d7 update sdlgenblit.pl after PR/12769
b0a0d236d fix sdlgenblit.pl so that it actually matches the generated source
0fdfa925f rename local pointer vars 'pixel' to 'pixels'
46c314cc3 Revert "bool is 4 bytes in Apple MacOS X 32 bit PPC ABI"
2abfb92c5 Sync SDL3 wiki -> header
97eddacd7 Use the actual value of EGL_PLATFORM_DEVICE_EXT if it's not defined
4c1a3ccd4 rename local vars 'pixel' to 'pixelvalue'
433704e77 rename 'pixel' params of SDL_GetRGB, SDL_GetRGBA and SDL_LookupRGBAColor
83b261ae8 Remove unused message box includes
cccad933a Updated version documentation to match SDL 3.x practice
adad7dcae x11/wayland: Ignore redundant restore and fullscreen leave requests when showing the window
d7d6d8e28 Sync SDL3 wiki -> header
f7b718883 Add SDL_CreateGPURenderer
5a59b5f32 bool is 4 bytes in Apple MacOS X 32 bit PPC ABI
3b9101768 pulseaudio: cleanup TLS every time we finish a threaded-mainloop callback.
646f1f243 x11: Only enable _NET_WM_SYNC_REQUEST for OpenGL windows
33f90f2e4 GPU Vulkan: Clean up in Submit in headless mode (#12744)
93b06cffd Sync SDL3 wiki -> header
c2c3a930b Add STRING suffix to SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_* string properties
44710a248 gpu: alpha-to-coverage support
d6d2c958a Move global event handlers to SDL_VideoInit
05939909d SDL_gpu.h: SDL_GetGPUDeviceProperties() is thread-safe.
1687bc746 Sync SDL3 wiki -> header
accd952c4 SDL_gpu.h: Another attempt to clean up SDL_GetGPUDeviceProperties() docs.
c5f369f55 Sync SDL3 wiki -> header
0c9eccd0e Sync SDL3 wiki -> header
906c6c751 GPU: Add missing error code to VkErrorMessages()
205c34c62 GPU: The D3D12 blit shaders are DXIL
300013cea GPU: Don't pass null properties to SDL_CopyProperties()
8ad64aba1 GPU: Remove subheadings from SDL_GetGPUDeviceProperties() docs
94ab2b76a Sync SDL3 wiki -> header
85281be78 Re-added text removed by the wiki bridge
b53e7b447 GPU Vulkan: Fix recursive Submit calls causing defrag to fail (#12718)
b1919783c Sync SDL3 wiki -> header
39a3b14df Renamed SDL_GetGPUDeviceDebugProperties() to SDL_GetGPUDeviceProperties()
ca613b9d8 x11: Send a restored event before entering fullscreen
667b706a9 x11: Don't set the hidden flag when minimizing windows
6430aed3d Removed SDL_XInputVersion, which isn't used
40e08ee7a Assume new XBox controllers have a share button
6bb16296b Added special handling for SDL_HINT_ANDROID_ALLOW_RECREATE_ACTIVITY
ebb52973e cmake: make SDL_CPU_xxx variable visible when using CMAKE_OSX_ARCHITECTURES
b4af01cd0 only build static library in some feature tests
756b455d3 Fixed building for Xbox One
25232c077 Sync SDL3 wiki -> header
f78aa4d8e GPU: Expose debug information from devices
008690d01 Sync SDL3 wiki -> header
df3282740 Note that you might get a different size window than you expect
ab34ea5a2 Fixed documentation for SDL_GL_*_SIZE
87d6beb89 Rename cmake/sdltargets.cmake -> cmake/sdlcommands.cmake
208ec1829 Update README-documentation-rules.md
5709466dd Sync SDL3 wiki -> header
b52140086 Note that the Emscripten window properties are strings
82b245d13 Added support for the HORI Taiko No Tatsujin Drum Controller
12ef57ede Sync SDL3 wiki -> header
735b68581 Fixed wiki reformatting
cc8ec6cf1 Handle global mouse state for Emscripten (#12669)
53d053279 Sync SDL3 wiki -> header
cbc26fe2c Add Emscripten window data to window properties
4aefde015 Only send sensor data if sensors are enabled for 8BitDo controllers
6d7827344 Return early in stead of goto
c3ce216c4 Fixed crash at shutdown on Windows
e87a00c07 tests: port failing SDL_Renderer test from pysdl2 to testautomation
10819273b tests: port failing SDL_Renderer test from pysdl2 to testautomation
ffbd434a1 tests: port failing window test from pysdl2 to testautomation
2775e7a78 tests: port failing SDL_Rect tests from pysdl2 to testautomation
39eed1d23 tests: port failing SDL_Hint tests from pysdl2 to testautomation
366a5281b Fixed comment
79a41ca7f Implemented DEBUG_8BITDO_PROTOCOL
5922e2cb7 Corrected comment with 8BitDo controller report sizes
0d9ff082f 8BitDo HIDAPI driver cleanup
e236a48e1 8BitDo
4de396734 More clarification for high DPI support
36fc1c2c9 Fixed texture colorspace when creating a texture from a surface
512485869 fix vulkan vertex buffer indexing
2e494fda3 Clarify high DPI support and best practices
44faac292 Fixed A/B/X/Y buttons on Nintendo 3DS
38c2081ae Temporarily default SDL_HINT_JOYSTICK_HIDAPI_8BITDO off
bcacc37e3 Sync SDL3 wiki -> header
e18c6bd2e 8BitDo (#12661)
6b1d6bfbe wayland: Commit the confinement region upon creation
266ee41c8 wayland: Defer creating cursor confinement regions until the surface is mapped
cb1d79db3 Sync SDL3 wiki -> header
088ad66f7 Update include/SDL3/SDL_power.h
032d69602 Add performance disclaimer in `SDL_GetPowerInfo` documentation
0d04e9ea6 Fixed build
7bb95bde4 Set the alpha opaque when blending to an RGB format
8eb57c5a4 diskaudio: Use SDL_GetAudioFormatName instead of recreating it from scratch.
f05bb7aae diskaudio: Log the raw PCM's format during "device" open.
210b317d8 x11: Popup positions after constraining are in the window-relative space, not global
daa7a5ad7 Updated Visual Studio example projects
f7a89d19c fix missing AVFoundation in CMakeLists.txt
a23f97483 Temporarily disable DwmFlush()
536a1a236 coreaudio: Added some NULL pointer checks.
712c76fdc gamepad: Fix inability to disable SDL_EVENT_GAMEPAD_UPDATE_COMPLETE events
418acf629 Sync SDL3 wiki -> header
633b9f6fb Added SDL_SetRenderTextureAddressMode() and SDL_GetRenderTextureAddressMode()
eb918af3d video: fix surface leak when duplicating mjpeg
567dfd2eb examples/renderer/19-affine-textures: add metadata for examples.libsdl.org.
5ab1aef36 examples/renderer/19-affine-textures: blue background so you can see the cube.
87e6d2250 examples, affine-textures: fix RISC-OS build.
254f34808 examples/renderer/19-affine-textures: Flip coords so SDL logo is right-side up.
391545105 examples/renderer/19-affine-textures: Whole source file was indented one space.
2ebcee203 examples: added examples/renderer/19-affine-textures to CMakeLists.txt.
2207f6bc9 examples/renderer/affine-textures: Fixed compiler warnings.
83eea00d6 Create affine-textures.c
401aaf3d2 video: Revert unnecessary member assignment
eed94cb03 Updated link to PSP Hello World
be2f7f206 Sync SDL3 wiki -> header
0f27c3aab Added SDL_PROP_PROCESS_CREATE_WORKING_DIRECTORY_STRING
289f5cfdb touch: Don't call ResetTouch() if SDL_GetTouch() can't find a virtual device.
b00b08f83 touch: Keep state correct when removing virtual touch devices during quit.
09fff161e cocoa: Clear pending state on fullscreen switch failures
05d23cae7 cocoa: Re-add sync timeout
2e61b4165 Don't send relative motion while in a modal loop
4c035a1fd audio: Allow PipeWire and PulseAudio streams to migrate to other sinks.
f3d4e6fe5 Sync SDL3 wiki -> header
8e6eaf12a wayland: Expose wl_output objects on video displays
1f917d523 Sync SDL3 wiki -> header
00f316737 Progress bar comment changes
e28974124 Added mappings for the NSO N64/SEGA/SNES controllers
b88200b79 Fixed face buttons for the NSO SNES controller under the HIDAPI driver
f355c7f21 Allow the progress API to be used on all platforms
b45ed98ae Fix spelling mistake in documentation
716e33f10 x11: Send the _XWAYLAND_MAY_GRAB_KEYBOARD message when grabbing the keyboard
a5633ad0f Sync SDL3 wiki -> header
6cc00a31b WindowProgressState API getters and fixes (#12629)
b520cde18 cocoa: Properly set the pending fullscreen spaces state when in a transition
dd9b9d451 Check if GL_OES_EGL_image_external is supported before trying to use it
7ec13a2ea Document SDL_malloc alignment guarantees
ae17b04c0 alsa: Don't start the hardware until the device thread is ready to do work.
41636959d audio: Feed output devices immediately, instead of waiting upfront.
48d4104ec pulseaudio: Fixed typo in commented-out debug logging.
8cb303126 wayland: Fix global mouse position retrieval
d6f137b2b Added a note to tag the wiki when doing feature releases
7f927de1f x11: remove 'args' and 'ret' from SDL_X11_SYM macro
b6ca03611 Fixed mixed trigger and body rumble for Xbox controllers on Windows
c3a3a11db keyboard: Don't check text input on a null window
035d9179a WIN_SetWindowProgressState(): Unsupported parameter error message
c217663fb SDL_SetWindowProgressState(): Add parameter validation check for `state`
3fa1bd81f Fixed previous commit renaming {add,remove}AudioDevice to native{Add,Remove}AudioDevice
b8381b3a2 Sync SDL3 wiki -> header
fa0a86409 Additions to progress bar comments
721476033 SDL_SetWindowProgressValue(): Move value clamp from `WIN_SetWindowProgressValue()` to `SDL_SetWindowProgressValue()`
69ad66b01 Fixed error messages in GetTaskbarList()
a3be7a137 WIN_SetWindowProgressValue(): Fix value clamp
017783835 Native functions renamed: {add,remove}AudioDevice to native{Add,Remove}AudioDevice
6e875397f Proguard: remove onNativePen
027df89ed wayland: Scale accelerated relative pointer coordinates with emulated resolutions
f52f982b1 chore: rename integer mode field names
8407a1625 Sync SDL3 wiki -> header
7a10fcdcc Add progress bar support for Windows (#12530)
6b13d6910 Improve move/resize visual smoothness on Windows
4fcef9074 audio: hold floating point exceptions when using neon
b493e29a8 x11: Fix backwards _NET_WM_SYNC_REQUEST init check
2fbb58329 SDL_ClaimWindowForGPUDevice() should fail for transparent windows
bde49abdb GPU: Support swapchain buffer transparency in Vulkan
79081a178 cocoa: Fix zoom check when leaving fullscreen
03cdd297e video: Fix boolean logic for getting the pending window position
fbdb63797 Fixed build when virtual joysticks are disabled
758eb256b Fixed DebugLogRenderCommands() output
4ceb02434 We need to rebind D3D12 resources after updating them
3538abfb8 Revert "Don't update a texture twice in the same batch on D3D12"
0681d0881 Don't update a texture twice in the same batch on D3D12
ac5b2b610 Don't send text event while ctrl/alt is held on X11/Wayland
365b7837c add private definitions to SDL_build_config.h.cmake
817260c73 Updates SDL_SetEventFilter code snippet to SDL3
3fd61b053 Updated for SDL style
581b61429 Emscripten: Support Custom Message Boxes (#12583)
54f5b7333 emscripten: Don't use legacy JS library functions for assertions
03a53ce0d Always show the on-screen keyboard on Steam Deck
8caeaaacd A Steam Controller might be generating keyboard input
cbb83be89 Show the on-screen keyboard if we don't have active keyboard input
67b4c3a15 Sync SDL3 wiki -> header
10072bb07 asyncio: SDL_LoadFileAsync was not null-terminating the file data.
85435d5a1 SDL_audio.h: Fixed typos in docs.
3ed61f203 Fixed applications that integrate Qt with SDL joystick support
de60a5f39 Revert "Make native functions be public otherwise it fails at run-time."
fe024b8fe Fixed typo in build.gradle
10fae8c34 Fixed Android build warnings
bf7b9b020 Fixed gradle deprecation warnings
ac2870250 Use the android-21 SDK as documented in README-android.md
476e7e54c Don't create surfaces with invalid pixel formats
6f456da63 GPU: Request sampleRateShading feature on Vulkan
4fd4d89b6 Make native functions be public otherwise it fails at run-time. (they are public such as the one in SDLActivity)
f2ed5c7a1 Fix illegal calls to DwmGetWindowAttribute()
96bf12444 Windows allows windows to be resized to zero height.
47b0c7547 Make sure we're getting called for the correct window
3415bc920 Fixed crash if a window couldn't be created on Windows
07e4dea69 The posix4 library has been merged into the libc library
9820f655d android: reduce visiblity as much as possible
c696e9318 GPU Vulkan: Fix render pass race (#12587)
7b93a744c time: Fix compilation on Solaris
14deef997 emscripten: Fix undefined behavior in opengles2 renderer
5283f7374 storage: Declare a private bootstrap for NDA user storage
8b924df48 Use an autoreleasepool in Cocoa_GetDisplayUsableBounds()
82335fd0e Fixed building with SDL_LEAN_AND_MEAN
a551c2a6d Fix Vulkan error check
5985f0a32 Fixed infinite recursion in SDL_IsGamepad()
6d0fb0a2e gpu: Fix MTLLibrary dispatch data destructor
3e5664a5b Fix return type in SDL_CreateGPURenderState
4fc9509ab Fixed raw input device GUIDs changing randomly between runs
0bd70684b GPU: Fix Vulkan backend never checking deallocations (#12567)
715301cef Fixed crash if info->path is NULL
f5eea7efa remove status message for SDL_STATIC_PIC PIC is controlled through CMAKE_POSITION_INDEPENDENT_CODE and not by an SDL option
35c03774f [SDL3] Adding input and FFB support for Logitech G29(PS3) on hidapi (#11598)
d66483dfc video: Send pending coordinates for moved, hidden windows
b9504f247 opengl: pixelart fragment shader uses GLSL version 1.30
05531c5f4 release: use NDK r21e for building Android release artifact
18185e30e Remove breaks under return
80ff0f45f Move default
3b58ad9d4 Add breaks and defaults to switch statements
8b6e9936e Missed a bracket
36ec4cd39 Align spacing
3b90ce499 Fix spacing; tabs to 4 spaces
60857935c Add preliminary joystick support for snake example
aad1e3516 mouse: Allow use of integer coordinates with fractional wheel events
501e71f25 Added unaligned version of SDL_ConvertPixels_SwapNV_std()
ad9f9af4e Removed accidentally enabled debug code
efe122be4 Removed width/height parameters from LoadTexture()
dcb97a5f4 Set a default shader entry point
1a2fccc56 hints: The auto mode switching hint is for 3.4.0
285fa671a Sync SDL3 wiki -> header
0bfe0497f video: Add a hint to disable auto mode switching if an exclusive fullscreen window moves between displays
58f6e9c27 Fix trailing doc comments
f15832c68 Sync SDL3 wiki -> header
17b84dbcf emscripten: add window properties for canvas ID and keyboard element (#12509)
ffe69fc35 Fixed SDL_GPUTextureSupportsSampleCount() documentation
e671bc265 Sync SDL3 wiki -> header
02faa8f75 Rename SDL_SetGPURenderStateFragmentUniformData() to SDL_SetGPURenderStateFragmentUniforms()
96194347b Added an example of fullscreen shader effects with the GPU renderer
2aee105b4 Added support for custom shaders with the GPU renderer
eb56c8af8 Sync SDL3 wiki -> header
1ae4ef65e Fixed incorrect assert
3e9e22f17 Added SDL_SCALEMODE_PIXELART
853375da6 Removed texture_size from the GPU renderer vertex shader
28ec461eb Organize the GPU renderer draw code
af0420d89 Switched GPU renderer shaders to shadercross and HLSL
c318b1f92 SDL_mutex.h: Fixed code example.
0e29c6295 gpu: Clean up unused code in Vulkan and D3D12 drivers
71c4de190 Sync SDL3 wiki -> header
512d97eab cocoa: Set the internal window data before calling methods that may result in referencing the internal data
5e951a230 windows: Fix WIN_SetWindowAlwaysOnTop causing owner window z-order changes when child windows are created or change top-level status
50a397bb4 Removed help for obsolete (and removed) command line option
3235a4eb4 Initialize the padding of aligned allocations to zero
efaafd766 VITA: Remove unused/duplicate headers
7746a9656 Fixup the mingw readme cmakelists
2ce3dfdf1 Fixed Nintendo controller face button layout under Steam
be6ed6e9c Fixed sscanf("026", "%1x%1x%1x", &r, &g, &b)
24339524c Use sized types when fixing undefined behavior
f1d16e9b4 avoid UB (left shift of negative number) in SDL_windowsevents.c
9fcca8351 gpu: Validate that CopyGPUTextureToTexture formats match
f2866418d wayland: Fix enum/boolean comparison and assignment
597bfe6b2 mouse: Add internal integer mouse mode hint for sdl2-compat
65cd2256c emscripten: Fix handling of special HTML targets
5d804a39d Implement SDL_GetSystemRAM and SDL_GetNumLogicalCPUCores for the 3ds (#12494)
99336ea37 Fixed memory leak in memory leak tracking
0306b5a86 Fix n3ds/SDL_syssem.c:SDL_SignalSemaphore (libsdl-org/SDL#12411)
3353b92a9 Fixed pen events on iOS after reinitializing SDL
ad2584813 cocoa: Ignore both clicks and motion on tooltip windows
fe245c6e0 x11: Always synthesize size events for external windows
84d047cc1 wayland: Rollback the round trip when reading data offers
fc3510785 Sync SDL3 wiki -> header
d631a3add Add a link to docs/INTRO-mingw.md
04b4577b5 Added MinGW Intro readme, touched up CMake and Visual Studio readmes. (#12485)
b99ff00a9 Removed logic forcing vsync on if setting it off fails
55695d372 Sync SDL3 wiki -> header
9c7c11f25 wayland: Roundtrip when receiving data offers
c4be7f77a wayland: Add additional MIME types for text drag & drop
e20e27e1f Added SIMD blitters for 8888 -> 8888 format conversion
4c82b5843 Added support for SDL_PIXELFORMAT_MJPG to SDL_DuplicateSurface()
cb099ebd4 Make texture scale mode a part of the 2D renderer draw state
6e2d3c9b5 x11: Enable legacy synchronization for external window resize and move events
bdde07468 Sync SDL3 wiki -> header
49af57694 Disable XTest by default
794ff283e Added support for using XTest to warp the mouse
fae324dac Update XSync code to match SDL3 conventions
f01bcaeb1 Sync SDL3 wiki -> header
fe9bdcf50 Added SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT
9f557941f Sync SDL3 wiki -> header
8f40dad46 Document the thread safety of SDL surface functions
aef240b2e Fixed continuous logging if returning to desktop mode fails on X11
e9632c83c Handle XWayland not sending display disconnected events
ca9bc6b16 Revert "Ignore BadRROutput errors from XRRGetOutputInfo()"
0c8ddc1f0 Ignore BadRROutput errors from XRRGetOutputInfo()
80ae3a751 Fixed crash when restoring the desktop mode on macOS
5f07347e4 Fixed crash unplugging a HIDAPI controller
82552e5b7 Make SDL_RegisterEvents() thread-safe
9f9a44282 video: Synthesize fullscreen related moves if the driver does not.
e7abbf158 x11: Synthesize fullscreen size events on Openbox
5d20bbf34 Presenting while drawing to a render target should fail.
debbe1cf7 Fix for Message Box failing to init on X11 (#12455)
4bb46e93c Fixed clip rect when logical presentation is enabled
7df0ffd43 Sync SDL3 wiki -> header
7c29c8b26 Added fullscreen_active to better track fullscreen state
3b9f0dff1 Use _this pointer to reference the video device
0ccf272ee Check the display device before dereferencing
6c347cbf3 video: Handle Cocoa desktop mode switch inhibition in the video layer
24ec2ed78 Don't save temporary mode changes to the desktop mode
d57aa6f7a pipewire: Don't require pw_check_library_version() with Pipewire < 0.3.75
113eb6f01 gpu: Add BC2_RGBA_UNORM_SRGB to GetBlockWidth/Height functions
2c7c3d4d7 Only use VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR on Android
ca3c5fd40 fix build: s/SDL_DetectSandbox/SDL_GetSandbox/
eac63b473 Add the definition for DBUS_TYPE_UNIX_FD to SDL_dbus.h
16f12c0d5 Implement the XDP Camera portal
c3b415641 Sync SDL3 wiki -> header
2a0223487 Sync SDL3 wiki -> header
1a7c20698 Save and restore error messages when rolling back after failed init
2c46c3d5b Updated dynamic API for new functions
5373271a1 forbid transform change while relative mode active
428f0dcd6 add SDL_SetRelativeMouseTransform
67127afe3 Fix from #12118
e25ee2246 Added tiled 9-grid texture rendering function
954675b32 Sync SDL3 wiki -> header
44bca81fd Change default texture scale mode per renderer
b0d2a4f35 gpu: Fix Z offset for D3D12 realigned 3D texture uploads
b69201dae cocoa: Don't overwrite the desktop mode when changing the fullscreen mode
078d737a2 cocoa: Run pending events to completion
b0df1cbbe Updated to version 3.3.0 for development
65864190c Added testpen to the Xcode test project
292e43174 Updated to version 3.2.6 for release
f0cb78e08 Handle XCreateIC() failing when composition UI is enabled
55484ef02 Moved WIN_UpdateMouseCapture() to be with the other mouse functions
020664bd1 Update mouse button state when re-entering a window
b836ad4d4 Fix a root signature mismatch for the D3D12 renderer
a88105784 camera: Delete some failure code that should have been removed before.
f868408a3 Ceil the audio resampling rate to avoid over-estimating output samples.
cbdc93b17 cmake: make sure a SDL3 library is present when not using COMPONENTs
8a7beca12 camera: clear the spec when closing, so re-opening can probe again
ee5f5c917 Sync SDL3 wiki -> header
6e4193b74 Note that the file names are UTF-8 encoded
60c65f9fa SDL_camera.c: fix failure-return in SDL_PrepareCameraSurfaces().
b8c2bc143 Added build dependencies for Arch Linux
7ab1412e2 Sync SDL3 wiki -> header
725af6ad1 camera: Fixed surface formats, etc, for Emscripten backend.
ef23ebfb5 Fixed the cursor clip rect when toggling window borders on macOS
c68259944 GPU_d3d12: Switched the default swapchain scaling mode to none.
ea513fd47 Fixed vulkan gpu backend android orientation behaviour to just work like on iOS.
87b1c9736 Fix pen generated mouse events not having SDL_PEN_MOUSEID (#12392)
a44107540 sysjoystick: don't leak fd on error
9a802797d SDL_pen: fix eraser check
54c7aa9c9 Sync SDL3 wiki -> header
35e8cf8ee render: allow render targets to use logical presentation.
281f0fae1 Include the VID/PID of generic keyboard/mouse devices on Windows
d09bf5681 clipboard: Cleanup coding style
edaf44767 tests: Add showing/setting the primary selection text to testclipboard
7b9036bea wayland: Don't overwrite clipboard data with the primary selection text
f7cadcba8 examples: Use SDL_GetAudioStreamQueued, not SDL_GetAudioStreamAvailable.
b3336c5a7 Match style
2b784b5bf Fix SDL_GlobDirectory
eb89d0c8c Don't put wired Switch Pro controllers into simple report mode
1ea99bc90 Early out if setting a duplicate window title
56e2955b6 Sync SDL3 wiki -> header
cc984c973 Added a mapping for the 8BitDo SN30 Pro+ controller on macOS
ba88b6aa0 Fixed reliability of initializing Switch controllers on macOS
66ecdc69a Don't update the report mode until the related hint is set
fab52b578 wayland: Ensure that color descriptions are always retrieved
9464aaa8a Change D3D12 GPU backend to respect has_depth_stencil_target
cf819ca81 Don't allow further operations on properties while we're destroying them
e01257376 Don't fixup mappings for Joy-Con controllers
34c373495 Fixed opening one Joy-Con when the other is visible but disconnected
049a7a04d Wake the main thread for main function dispatch
f0f593f04 Embed a description about Wayland clipboard instead of a link
bb748ef2d Don't cleanup clipboard in SDL_SendClipboardUpdate on Wayland
38a73a178 Sync SDL3 wiki -> header
85a302550 Set an error message if the rect passed to SDL_RenderReadPixels() is entirely outside the viewport
29df99ee3 Clarified SDL_RenderReadPixels() documentation
2f77558ba fix comment
44f1ec35c GPU: Make Vulkan transfer buffers dedicated allocs
1c2189c7c strings.h isn't available in Windows environments
ffdca343f Sync SDL3 wiki -> header
ac5fca4ae Clarify the expected usage of SDL_StorageReady()
fc365e945 Sync SDL3 wiki -> header
ad840e879 Better document that main functionality is in SDL_main.h
bb8dcf08e Sync SDL3 wiki -> header
698032531 Added support for the "%n" sscanf format specifier
e6a24fcbb fix stbi__parse_png_file() reading too much bytes (thanks @miniupnp!)
db4e6c193 Cocoa metal layers need their size updated before renderer updates
0a592b78c Sync SDL3 wiki -> header
58388e8db Add SDL_HINT_JOYSTICK_HAPTIC_AXES
db817a37f gpu: Fix forward declaration and inclusion of PrivateGPUDriver
a7bc6c5e0 gpu: initialize VkDebugUtilsLabelEXT::color
60b7faa98 gpu: Validate that reserved struct members are unset
2990d142c Map additonal Linux keycodes to SDL scancodes
a0086a5cc Add missing scancode names
35544df83 Changed PULSEAUDIO_FlushRecording() to only flush audio present when called.
deadfe0c9 Sync SDL3 wiki -> header
0815637cf vulkan build fix
ea77472d7 Document/ignore GPU features without universal support
ad11c6988 src/io/SDL_asyncio.c:SDL_AsyncIOFromFile(): Fix null-dereference warning
8bfde6755 Remove unnecessary fcitx's devel package dependency in linux doc
52af81ea1 wayland: Fix mapping borderless windows under libdecor
1a0a94b50 x11: Accommodate the borders when setting the initial window position
52e64f816 Use SDL C runtime functions in OpenVR driver
7224b4040 Fix errors when building stb_image with -DSDL_LIBC=OFF
945da099a pipewire: Fix possible deadlock when opening a device
70f657e52 ci: farewell, clang32 on msys2
e50db698e Disable all camera drivers if SDL_CAMERA_DISABLED is defined
1ddba3ad5 Replace "8BitDo Tech Ltd" with "8BitDo" in the manufacturer string
fdf72d1e4 Use the keyboard/mouse vendor if available
a811e0ef0 Added support for the 8BitDo Micro gamepad
bc85c5535 testcontroller: create window with high pixel density
75bbcbf87 Added support for Motion JPEG pipewire camera capture
5c214e5e9 testcamera: SDL_AppQuit destroys state and SDL
03e00cd34 v4l2: map SDL_PIXELFORMAT_MJPG to V4L2_PIX_FMT_MJPEG
fcd41c1d2 Check desired window area when checking zoom state
b5297de56 Add 'const' to pointer parameters
911e53dec Retain mouse focus as long as we're getting mouse events
3b8cb6228 Make it easier to enable IME debug logs
9a607e886 make start&length represent utf32 indices
9d06145d6 ci: fix type + names of intel compiler artifacts
fa380a400 Update include/SDL3/SDL_assert.h
2a1b617fb Update include/SDL3/SDL_assert.h
69e03094b fallback to defining SDL_TriggerBreakpoint as __builtin_trap in older linux arm64 environments that do not have a __has_builtin facility
c70f54e28 Remove redundant casts
2e346d716 Added 32-bit texture formats to Texture_GetBlockWidth() and Texture_GetBlockHeight()
5d776c070 Refactored SDL_CreateJoystickName() into a general SDL_CreateDeviceName()
3293eb1a1 use hidapi to get mouse/keyboard string
785584230 ci: disable precompiled headers for classic intel compiler
71d1de5d9 ci: add cppflags to CMAKE_(C|CXX)_FLAGS
28f086794 SPA_FALLTHROUGH expands to nothing when using the Intel compiler
8d3db06ff ci: GitHub is retiring Ubuntu 20.04 support
c153f83df ci: enable ccache
52ee0c105 Sync SDL3 wiki -> header
9267930fe Added a fast path for converting the same format and pitch
f24f9d3be Revert "testcamera: added support for Motion JPEG camera frames"
2e89c53eb Added support for decoding MJPG into NV12 textures
06602f4e8 Document that the pitch is the length of the image data for SDL_PIXELFORMAT_MJPG
a792434a3 Added initial MJPG support using stb_image
baf69edfc Revert "cmake: build SDL_uclibc with -fPIC"
fdf8e5a70 ci: build static loongarch libraries with -fPIC
9784414dd cmake: build SDL_uclibc with -fPIC
b48de48ef wayland: Add support for high-DPI icons
6e0264d38 x11: Use the current or last-requested window position when setting the size hint
1a38960ee Call SDL_DiscardAllCommands() for the software renderer as well
8f4c5e15f Finish any drawing when destroying a software renderer
1a853973a thread/windows: fix stack overflow in exception naming
a40b2de94 Fix SDL_emscriptenaudio.c under wasm64
523e6530a SDL_test: fix "'function': different 'const' qualifiers" warning in SDL_test_harness
9e4c657ed wayland: Fix color manager protocol string check
7500a758b Remove usages of `restrict` keyword in SDL_render.c
a7f01cd73 x11: Set the pending window position immediately after mapping
1fd626939 Renamed DreamPort to DreamPicoPort
31f9cb480 Unchecked Return Value in WIN_SuspendScreenSaver (#12316)
057c3602e Removing Double-free Issue
5c79f4cae Incorrect bfOffBits Calculation in WIN_ConvertDIBtoBMP
70d23b234 README-migration: Remove errant reference to SDL_FALSE_
6aef6ae9a AddPulseAudioDevice(): Fix use-after-free
3b4cfc11f wayland: Update copyright dates in added color manager source files
fadb261b6 wayland: Add color manager protocol support
6ef687c86 Simplified and fixed media foundation buffer handling
de12cb92d Fixed crash at shutdown with new hashtable code
a51316890 Fixed Memory/Resource Leaks (#12304)
045a4492f test/testaudio.c: Fix use-after-free warning
da2460f9e test/testautomation_audio.c: Free variables before returning
7ea0ffb74 update
06eb10c51 haiku: check if the returned _SDL_GLView is null or not
dea99e54f Sync SDL3 wiki -> header
175494359 Fixed camera frame acquisition on Windows 7
e3d9f1172 Remove the reference to the thread when it is detached
831fc7092 test/testautomation_intrinsics.c: Free variables before returning
c6a3b5b6e src/test/SDL_test_harness.c: Free variables before returning
84a236c92 hashtable: Redesign the hashtable API.
4a9b57919 joystick: remove dead udev code
ba4525694 Sync SDL3 wiki -> header
fd4e6d294 Don't render 0 sized texture rectangles
6f3b14a6d audio/video: Fix uninitialized field warnings
5b98c4a52 Fixed motion events with TOOL_TYPE_UNKNOWN
8a648dfd9 emscripten: Fixed unregistering of key event handlers
c16b7bcb7 SDL_Get*Driver() functions: Set error message on failure
ed0a03e9b Fixed Cursor Icon State for SYSTEM_CURSOR_PROGRESS
5dce8c748 SDL_GetRelativeMouseState(): Get relative mouse position also when relative mouse mode is disabled
cedf53bbc Sync SDL3 wiki -> header
3de975884 Document the "trace" log priority
b9d018f2a Fixed wayland cursor use-after-free at shutdown
041894a52 Sync SDL3 wiki -> header
3be67ced6 Fix GTK tray icon without menu + lifetime
1354affd2 haiku: Fixed keyboard input.
d2b7a8465 Fixed SDL_GetNumGamepadTouchpads() returning 1 for a NULL gamepad
ca29304ce Fixed continually resetting keyboard and mouse readings
f67c64464 Fixed reporting hat positions for GameInput controllers
1b35ca9c3 Refactored GameInput initialization
706de78a9 audio/video: Skip preferred drivers when loading a driver on demand
715c18739 Added an internal hint "SDL_VIDEO_X11_XINPUT2" for sdl2-compat
ce69e9898 Copy SDL2_SYSWMEVENT data into temporary memory for the event
55fd205ba Add missing integer texture formats to SDL_GPUTextureFormatTexelBlockSize (#12151)
e6029401d Check for non-NULL icon for trays on Unix
b03332b68 updated bytepusher demo to be C++ compatible
5dd249264 updated the snake demo to be C++ compatible
78f816d74 x11: Apply the modifier state from key events
99cf16287 Fixed the name of SDL_SYSWMEVENT
6c3797152 Removed the mapping for the Sanwa Supply JY-P76USV
9b18e8438 [GPU] D3D12 backend debug markers were being cut
0bce19cf1 The 10-bit texture formats have alpha on Direct3D
3cfa476d3 Added support for SDL_PIXELFORMAT_ABGR8888 textures
5ccee7719 testcamera: added support for Motion JPEG camera frames
cf41ccc6c Removed stb_image.h from SDL
9308404e9 Removed functions not used by SDL
5e31bbf05 Remove functions not used when STBI_NO_PNG and STBI_NO_HDR are defined
84b0c13c4 Added support for Motion JPEG camera capture
3bc53b9ad wayland: Don't set libdecor frame visibility before the first commit
c03258626 wayland: Scale-to-display mode requires both viewports and xdg-output for proper functionality
b63d3afc1 Sync SDL3 wiki -> header
0bc1f8712 Added SDL_PROP_SURFACE_HOTSPOT_X_NUMBER and SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER
da464e9e5 win32: Keep the window on the last maximized display when leaving fullscreen
bf01cc8ce Renamed "Dreamcast Controller Usb" to "DreamPort"
ecd089bb6 Don't return short waits from SDL_IOReady()
4fd0b2a85 Fix #12142 - the problem was if the size of the vertex buffer was exceeded, the currentVertexBuffer would be reset to zero and thus we'd leave it pointing to an in-use VB that would get overwritten on the next present before the vkQueueSubmit occurred.
f6126e9ea Centered joystick axis values should be 0
d35bef64e pipewire: Ensure that the correct struct is used for enumeration APIs
9bd6d3647 Added SDL_DEPS_SHARED option to control default dynamic loading of shared libraries (#12215)
78721d720 joystick: Fix PS5 player LED hint change callback name
7aba6c4c7 Proper Resource Cleanup in WIN_UpdateWindowShape
e29ebb9f1 Update geometry renderer example
ca9a044b3 Memory Leak in WIN_CreateHCursor When CreateColorBitmap Fails
69d28027a Fix for 500ms hang after user clicks on the title bar, but before moving (#12217)
a0b6c0fd8 x11: Don't wait for events when the connection errored out (#8392)
864bb65ce Removed crc
006605c3b Corrected alphabetical order
dc035c5ca Added mapping for Dreamcast Controller USB
5d1bbd9b2 Fix SSE 4.2 test
7c12c63f6 Add generic SDL_syscond to N3DS threads source list
2ced6b09f Delete src/thread/n3ds/SDL_syscond.c
7af17f874 Sync SDL3 wiki -> header
982094c85 Updated to version 3.2.5 for development
b5c3eab6b Updated to version 3.2.4 for release
48c00bfe6 Fixed creating a window with both software and hardware renderer attached
3c6e6645f Sync SDL3 wiki -> header
ad8429f1b Let the renderer always see window events
c59ac249d Revert "wayland: Don't send size events while the window is hidden"
6cb3d37a2 Sync SDL3 wiki -> header
80653a42c Remove non-ASCII character from public header SDL_hints.h
a646dc89e Note that SDL_GUIDToString() and SDL_StringToGUID() are thread-safe.
8730f6a56 dynapi: Don't use SDL_getenv; it might malloc before the app sets an allocator.
c9341489c Fix #12197: Force set /utf-8 for msvc compilers (#12198)
8397e1fcc Fix up SDL2 style mappings for HIDAPI controllers
7691cabe4 Removed incorrect HIDAPI gamepad mapping
86691d325 GPU: Remove stencil bit from sampler aspect mask on Vulkan (#12196)
6782cfe2c Don't use the HIDAPI driver for Thrustmaster wheels
1c0e2b7f9 SDL_OpenHapticFromJoystick() returns a valid haptic object
c4550d906 testcontroller: show the gamepad device type
5ad033768 Sync SDL3 wiki -> header
68dabd48c SDL_GetTrayEntries(): Rename parameter `size` to `count`
b99e19c0a Fixed potential double-free
8ba8cca69 Fixed memory leak looking up pen tool names
2cd2834df Fixed memory leak in the pen cleanup
c4c185283 dbus: fix spurious leak reports with SDL_SHUTDOWN_DBUS_ON_QUIT=0
691a6133d Remove #undef __3DS__
33c0654d5 Allow OpenGL initialization on XB1 and XSX.
eb5ab2203 Check nullptr before calling the windows message hook for WM_ENTERSIZEMOVE and WM_ENTERMENULOOP
e7f326a84 bmp: Removed debug printf call.
61b1c25ee x11: SDL_SetWindowPosition on an unmapped window will do the actual move later.
f1b3523c6 Remove redundant parenthesis in SDL_MUSTLOCK macro
8527d042b Remove const from parameter of inline function SDL_RectsEqualEpsilon()
07c22da46 Fixed decoding 4-bit RLE encoded BMP files
8ccf85c59 Formatting spaces around pointer symbol.
94409d350 Added Switch Input-only controller entries for Zuiki MasCon controller for Nintendo Switch.
a8a2874ef Added distinct VID/PIDs for the PS4 vs Xbox eSwap Pro controllers
84bc2abda Corrected the entry for the PXN V900 racing wheel
eac07bda0 Sort the controller lists by VID/PID
6243a0653 Call the windows message hook for WM_ENTERSIZEMOVE and WM_ENTERMENULOOP
ec959a434 Sync SDL3 wiki -> header
8e51b2468 Renamed SDL_SoftStretch() to SDL_StretchSurface()
f40ef62a2 Sync SDL3 wiki -> header
614ae843a Sync SDL3 wiki -> header
8848f8656 Corrected the version where SDL_SoftStretch() was added
a98a4b8a6 Re-added SDL_SoftStretch() to the API
842f85da0 Sync SDL3 wiki -> header
c06172dc1 Track mouse button state by real mouse ID
73a814358 timer, windows: allow building high resolution code with old SDKs.
be991239d Updated to version 3.2.3 for development
2fa1e7258 Updated to version 3.2.2 for release
c92276279 proposed fix: set curr_src.h is to bottom_height before drawing bottom edges / corners in SDL_RenderTexture9Grid, to avoid issue where inadvertently using top height if the npatch existed on a larger texture than the drawn edge would cause too many pixels to be included in the bottom part of the render.
235022fe2 Fixed error C2059: syntax error: '}'
dc13a6ae9 SDL_SaveBMP_IO: Write bitmap header v5 values
fe6bd8e9b Sync SDL3 wiki -> header
bc3264130 Fixed mouse motion events while the mouse is grabbed
69d361dee Ignore SDL_HINT_RENDER_DRIVER set to software when creating a window surface
70a239210 GPU: Describe "readonly storage" images as sampled images on Vulkan backend (#12149)
4c6d949e6 wayland: make sure the desktop mode is in the fullscreen mode list
ab5cb707a Fixed enabling call logging
16f8122a0 Keep the simplest mapping of scancode + modifer for a given keycode
6beda3421 do not build camera drivers if camera support is disabled
0825d07a4 wayland: Don't send size events while the window is hidden
8e766c925 GPU: Resource binding state shadowing (#12138)
43924ec87 Sync SDL3 wiki -> header
8c2682a21 Sync SDL3 wiki -> header
e4fcc7b6e gpu/vulkan/SDL_gpu_vulkan.c: fix type redefinition error
14edb21ae check for backslashes as well as the forward slash
50b8c6cdf Sync SDL3 wiki -> header
943c4abcb pipewire: Report correct device default formats instead of hardcoding Float32.
943579a54 Fix inverted pen Y tilt on macOS and add tilt display to example - Negate tilt.y in Cocoa pen handling to correct inverted Y tilt axis - Update drawing example to display X/Y tilt values for visualization - see
|
||
|
|
8821e99ab5 |
Squashed 'external/SDL/' content from commit f317581c91
git-subtree-dir: external/SDL git-subtree-split: f317581c91961ee628446886dd4df87e9c16ac79 |