Commit Graph

735 Commits

Author SHA1 Message Date
irisz64
4e7afcd49e remove json lib 2025-06-26 23:33:03 +02:00
irisz64
df55ee6d9b Merge commit 'b22c6238d5eb65ced42808ec326aae75d0d5c9ed' into back-to-imgui 2025-06-26 22:23:47 +02:00
irisz64
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
2025-06-26 22:23:47 +02:00
irisz64
bb865f0e82 Merge commit '55f3024dc9f206862ed3f328e8a1ffc91f7e19d2' into back-to-imgui 2025-06-26 22:22:03 +02:00
irisz64
55f3024dc9 Squashed 'external/json/' changes from 60c48755e..55f93686c
55f93686c Merge branch 'release/3.12.0'
34e46d76d 🔖 set version to 3.12.0
00ecc7ed7 ⬆️ Bump github/codeql-action from 3.28.13 to 3.28.14 (#4726)
4424a0fcc 📝 update documentation (#4723)
11aa5f944 Make std::filesystem::path conversion to/from UTF-8 encoded string explicit (#4631)
79587f896 ⬆️ Bump mkdocs-material from 9.6.10 to 9.6.11 in /docs/mkdocs (#4715)
b67f8644e ⬆️ Bump actions/dependency-review-action from 4.5.0 to 4.6.0 (#4716)
71884486d ⬆️ Bump step-security/harden-runner from 2.11.0 to 2.11.1 (#4718)
9ef496738 ⬆️ Bump cpplint from 2.0.0 to 2.0.1 in /cmake/requirements (#4719)
9f40a7b45 ⬆️ Bump mkdocs-material from 9.6.9 to 9.6.10 in /docs/mkdocs (#4711)
d41ca94fa Adjust CMake minimal version (#4709)
3a5703931 ⬆️ Bump cppcheck from 1.4.8 to 1.5.0 in /cmake/requirements (#4698)
4d216e0c3 ⬆️ Bump actions/upload-artifact from 4.6.1 to 4.6.2 (#4700)
f971dd770 ⬆️ Bump github/codeql-action from 3.28.11 to 3.28.13 (#4707)
cd92c09c1 tests: Fix ignored attributes warning during build (#4670)
b477d2b95 Suppress clang-analyzer-webkit.NoUncountedMemberChecker (#4701)
11a835df8 ⬆️ Bump cppcheck from 1.4.7 to 1.4.8 in /cmake/requirements (#4697)
b592b6f2d ⬆️ Bump mkdocs-material from 9.6.8 to 9.6.9 in /docs/mkdocs (#4695)
e2c95baef ⬆️ Bump mkdocs-git-revision-date-localized-plugin (#4689)
7abcb5e9a fixes issue 4691 (#4693)
5474b2227 ⬆️ Bump mkdocs-material from 9.6.5 to 9.6.8 in /docs/mkdocs (#4688)
6e684350b ⬆️ Bump github/codeql-action from 3.28.10 to 3.28.11 (#4683)
f506d8acc ⬆️ Bump jinja2 from 3.1.5 to 3.1.6 in /tools/generate_natvis (#4680)
34665ae64 Correct typo in sax_interface.md (#4679)
f3dc4684b ⬆️ Bump github/codeql-action from 3.28.9 to 3.28.10 (#4661)
0b938993e ⬆️ Bump lukka/get-cmake from 3.31.5 to 3.31.6 (#4668)
543d8e417 ⬆️ Bump actions/upload-artifact from 4.6.0 to 4.6.1 (#4665)
f2e494686 ⬆️ Bump ossf/scorecard-action from 2.4.0 to 2.4.1 (#4664)
8215dbafb ⬆️ Bump mkdocs-material from 9.6.4 to 9.6.5 in /docs/mkdocs (#4659)
a3143f5f2 ⬆️ Bump step-security/harden-runner from 2.10.4 to 2.11.0 (#4652)
0b6881a95 Add regression test for #3810 (#4608)
a43350c4e Remove wsjcpp package manager (#4623)
8fb5d6f92 Some documentation updates (#4636)
2dc82053d ⬆️ Bump mkdocs-material from 9.5.50 to 9.6.4 in /docs/mkdocs (#4648)
bf6b1e2f4 ⬆️ Bump github/codeql-action from 3.28.6 to 3.28.9 (#4646)
606b6347e ⬆️ Bump coverallsapp/github-action from 2.3.4 to 2.3.6 (#4634)
c7d949f9f ⬆️ Bump github/codeql-action from 3.28.4 to 3.28.6 (#4635)
e90c860d5 Add note on derived return type for value function (#4628)
d0789e365 Bump lukka/get-cmake from 3.31.4 to 3.31.5 (#4625)
97dd60c22 Bump github/codeql-action from 3.28.3 to 3.28.4 (#4624)
666d06144 Bump github/codeql-action from 3.28.2 to 3.28.3 (#4620)
bf8ccc20e fix compilation issue (#4613)
786c5040e Bump github/codeql-action from 3.28.1 to 3.28.2 (#4617)
bd4fea39e Bump actions/stale from 9.0.0 to 9.1.0 (#4616)
8c7dcd3b4 Bump step-security/harden-runner from 2.10.3 to 2.10.4 (#4614)
b23cdeac2 Bump mkdocs-material from 9.5.49 to 9.5.50 in /docs/mkdocs (#4615)
1b813519c Add VisionOS support to Swift Package Manager Package.swift definition file (#4611)
f06604fce Bump the copyright years (#4606)
d23291ba2 use diagnostic positions in exceptions (#4585)
0f9e6ae09 Fix broken links (#4605)
8a882f32e Generate template functions with NLOHMANN_DEFINE_TYPE macros (#4597)
bdb8d2b7b Serialize empty tuple into '[]'  instead of null (#4594)
e72046ef9 Bump step-security/harden-runner from 2.10.2 to 2.10.3 (#4604)
4a0081a1c Bump actions/upload-artifact from 4.5.0 to 4.6.0 (#4603)
52b261421 Bump srvaroa/labeler (#4602)
f74e5c6a5 Bump github/codeql-action from 3.27.9 to 3.28.1 (#4601)
e25a82461 Bump lukka/get-cmake from 3.31.2 to 3.31.4 (#4600)
26cfec34b Clean up and document project files (#4560)
ad2ee1853 Fix coverage job (#4595)
2d42229f4 Support BSON uint64 de/serialization (#4590)
1809b3d80 Add note to Jetbrains support (#4592)
48e7b4c23 BJData Fixes (#4588)
0cb1241d5 Improve Bazel support: Switch to Bzlmod (#4584)
2e50d5b2f BJData optimized binary array type (#4513)

git-subtree-dir: external/json
git-subtree-split: 55f93686c01528224f448c19128836e7df245f72
2025-06-26 22:22:03 +02:00
irisz64
8e2a80ff9b Merge commit '17c41323d9a870a4c75d5dfc5def37f32278ced7' into back-to-imgui 2025-06-26 22:18:57 +02:00
irisz64
17c41323d9 Squashed 'external/imgui/' changes from f4d935909..3f0699cf0
3f0699cf0 Backends: Vulkan: Fix failing assertion for platforms where viewports are not supported (#8734)
adfa5364c Merge branch 'master' into docking
673eb7de9 Version 1.92.0
da3c86925 Demo: added TextLinkOpenURL() call in Widgets section.
2819ab32f Layout: commented out legacy ErrorCheckUsingSetCursorPosToExtendParentBoundaries() fallback. (#5548, #4510, #3355, #1760, #1490, #4152, #150)
6f21bed66 Fonts: removing assert from legacy PushFont() to mirror new PushFont(). for consistency.
719a3fe98 Additional comments on ErrorCheckUsingSetCursorPosToExtendParentBoundaries(). (#5548)
5bc70c68e Fonts: fix PushFont(NULL) to work as advertised.
dcf14505e Backends: SDLGPU: fixes call to SDL_MapGPUTransferBuffer(). Fixes artifacts on OSX/Metal. (#8465, #8703)
d8c695371 Fonts: comments.
e4bba0b53 Merge branch 'master' into docking
89b5a2c3d (Breaking) Fonts: removed ImFontFlags_DefaultToLegacySize.
97e0d5961 (Breaking) Fonts: removed PushFontSize(), PopFontSize().
ca72eb059 (Breaking) Fonts: obsolete PushFont() default parameter.
04a5b9c2c Backends: SDL3: fixed pulling SDL_PROP_WINDOW_COCOA_WINDOW_POINTER into viewport->PlatformHandleRaw. (#8725, #8726)
776897d3c Fonts: fixed PVS Studio false positive "expression 'cmd_count != draw_list->CmdBuffer.Size' is always false." (#8720, #8465)
7cd567202 Merge branch 'master' into docking
0218ddd57 Fonts: moved GetFont(), GetFontSize(), GetFontBaked() to higher section.
6722d789e (Breaking) Fonts: Removed support for PushFont(NULL) which was a shortcut for "default font".
6e846c56b Demo: fixed ID conflicts. (#8723)
608dd96de Fonts: fixed RenderText() asserting when crossing VtxOffset change boundaries. (#8720, #8465)
a49ddaac8 Fonts: add comments and examples for GlyphExcludeRanges[].
613a6a964 Fonts: AddFontDefault() adds to GlyphOffset.y instead of overriding it.
0dc2885f3 InputText: fix for InsertChars() to work on read-only buffer. (#8714, #8689, #8242)
efe2b21a5 Backends: GLFW: Fixed not installing WndProc hook in all GLFW version, so AddMouseSourceEvent() logic was missing for some viewports.
e132b444a Backends: GLFW: Fixed crash when using GLFW 3.3 (#8713, #8676, #8239, #8069)
4fde473f3 Backends: warning fixes (for docking branch).
afe20dc9b Backends: warning fix.
b580c1130 Merge branch 'master' into docking
e97e55adb Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends.
2f9c518ca Textures: ImTextureData::GetPixels() returns void* for clarity.
9a50c0917 Bsckends: SDL2, GLFW: fixed ImGui_ImplXXXX_GetContentScaleXXX functions never using SDL 2.0.4 & GLFW 3.3 path in master.
3a964d18e Comments on ImGuiMod_XXXX and ImGuiKey_GamepadXXXX values.
8d6e66d38 Backends: DX10, DX11, DX12, OpenGL3, Vulkan, WGPU: Assert when CreateDeviceObjects() calls return false.
f7dabede8 Backends: Allegro5: Fixed missing invisible mouse cursor, broken by ee8941e0d.
725d185a3 Backends: DirectX12: fixed build on MinGW. (#8702, #4594)
2a8c75f3e Backends: GLFW: amend for multi-context support with multi-viewport. (#8676, #8239, #8069)
c2c38beec Merge branch 'master' into docking
f633a6058 Backends: GLFW: Added support for multiple Dear ImGui contexts. (#8676, #8239, #8069)
d290e583c Backends: GLFW: fixed WndProc relying on current context. (#8676, #8239, #8069)
c56e8b496 imgui_freetype: fixed NULL that creeped in instead of nullptr.
344d5ff4b Merge branch 'master' into docking
b2c73596a InputText: fixed a buffer overrun that could happen when using dynamically resizing buffers. (#8689)
12626b85c InputText: minor changes to match for both insert chars paths to look more similar.
08bb34814 Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358)
041abe852 Revert "Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358) [@radjkarl]"
39a90ac4d Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358) [@radjkarl]
f2e4e8039 Windows: BeginChild(): fixed being unable to combine manual resize on one axis and automatic resize on the other axis. (#8690)
fe048efea DrawList, Fonts: fixed PushFont()/AddImage() not restoring correct atlas texture id when using multiple atlas (#8694)
24f7328e5 DrawList, Fonts: fixed ImFontAtlasTextureRepack() overwriting draw list shared data UV's etc. even when not bound. (#8694, #8465)
842837e35 imgui_freetype: fix conversion null -> bool in FontBakedLoadGlyph (#8696)
6b3cbb10a Backends: Vulkan: correct minimum pool size assertion (#8691)
d896eab16 Backends: OSX: ImGui_ImplOSX_HandleEvent() only process event for window containing our viewports. Amend 7ac99a4 for docking. (#8644)
4cf85ee54 Merge branch 'master' into docking
cfa43e721 Windows: clicking on a window close button doesn't claim focus and bring to front. (#8683)
d8da97f75 Fonts: UpdateCurrentFontSize() early out doesn't need to clear FontBaked.
ca3169310 Fonts: fixed FontBaked=NULL in initial call to SetCurrentWindow() in Begin() using previous frame value of SkipItems. (#8465)
1ec1510ef Fonts: clarify assert. (#8680)
7ac99a436 Backends: OSX: ImGui_ImplOSX_HandleEvent() only process event for window containing our view. (#8644)
b7f13df13 Docs: reformat Changelog.
571dae966 Backends: WGPU: added ImGuiBackendFlags_RendererHasTextures support. (#8465)
b178fd428 Backends: WebGPU: moved sampler creation out of ImGui_ImplWGPU_CreateFontsTexture().
115a8e74c Fonts: update misc comments, docs.
41f4acfb4 Fonts: add has_textures parameters to ImFontAtlasUpdateNewFrame().
7b8e00013 Fixed duplicate symbols in some compile-time configurations.
1ce75e2bc Fixed duplicate symbols in some compile-time configurations.
e8f831dea Merge branch 'master' into docking
f6fc16658 TreeNode: fixed runtime asan warning (#2920)
a0b3eceec Fixed using IMGUI_DISABLE_DEMO_WINDOWS without IMGUI_DISABLE_DEBUG_TOOLS and without linking with imgui_demo.cpp
7d70c0ff9 Merge branch 'master' into docking
7a42233d4 imgui_freetype: fixed using legacy names.
895bff652 Removed unneeded check in RenderText() loop + disable static analyzer false-positive warnings.
e43fd7537 Merge branch 'master' into docking
df068ce11 Various/misc fixes following back-and-forth dynamic_fonts->master->docking merges. Added missing API BREAKING CHANGES section.
e4055e763 Fonts: Misc merge fixes.
1e130e045 Examples: set ConfigDpiScaleFonts / ConfigDpiScaleViewports in all examples already setup for scaling.
65857236c Backends: GLFW, SDL2, SDL3, update for docking to use helpers.
6af6cec23 Merge branch 'master_fonts' into docking
96be95731 Docs: update Changelog, FAQ, Fonts docs.
4acce8565 Fonts: tweaks demo and exposure to sliders, etc.
cc3d4cab2 (Breaking) renamed ImFontConfig::FontBuilderFlags -> FontLoaderFlags. ImFontAtlas::FontBuilderFlags -> FontLoaderFlags. ImGuiFreeTypeBuilderFlags -> ImGuiFreeTypeLoaderFlags.
e1481a731 Fonts: fixed NewFrame() when atlas builder has been created but fonts not added. Fixed GetCustomRect() after atlas clear.
29fbf3c1e Fonts: demote ImFont::GetFontBaked() as slighty internal.
0e769c541 Fonts: amend UpdateCurentFontSize() early out optimization.
573f08135 Fonts: fixed PopFont() broken recovery.
2e67bd4de Fonts: rename to ImFontAtlasBuildLegacyPreloadAllGlyphRanges().
c18301f35 Examples: remove explicit font sizes from AddFontXXX() calls. Add commented out style.FontSizeBase assignment.
02f58b320 Fonts: AddFont() functions now allow size_pixels==0.0f (only required when using certain functions)
bc394410a Examples: Win32+DX9/DX10/DX11/DX12, SDL2+DX11/OpenGL2/OpenGL3/SDLRenderer/Vulkan, SDL3+OpenGL/SDLGPU/SDLRenderer/Vulkan: made example DPI aware by default. (master + docking: partial support for multi-dpi by scaling fonts + viewports but not style)
b98e92839 Backends: SDL2, SDL3, GLFW: Backport small part of c90ea13 from docking.
8269924c3 Backends: GLFW: added ImGui_ImplGlfw_GetContentScaleForMonitor(), ImGui_ImplGlfw_GetContentScaleForWindow() helpers.
9da3e6696 Backends: SDL2: added ImGui_ImplSDL2_GetDpiScaleForDisplay(), ImGui_ImplSDL2_GetContentScaleForWindow() helpers.
d72e66cde Examples: remove comments/references about baking and GetGlyphRangesJapanese().
2d2b1cee6 Fonts: internals: renamed g.FontSizeBeforeScaling to g.FontSizeBase for consistency.
3c27c643a Fonts: internals: renamed g.FontScale to g.FontBakedScale for clarity. Comments.
d85e22d20 Added style.FontScaleDpi which is the field overwritten by ImGuiConfigFlags_DpiEnableScaleFonts.
8766efcba (Breaking) Renamed io.FontGlobalScale to style.FontScaleMain.
80c08f228 (Breaking) Fonts: obsoleting SetWindowFontScale().
59a11363a Fonts: ground work for allowing SizePixels to be optional.
402db2ef3 Fonts: fixed passing negative sizes to stb_truetype loader.
1e118ab89 Fonts: added ImGuiStyle::FontSizeBase. Ensuring PushFontSize() works before main loop and across NewFrame().
b029be6b6 Fonts: avoid calling GetFontBaked() during SetFontSize(). Also fixes loading extraneous baked on atlas that will be locked
033cdc413 Fonts: comments and slight packing of ImFontConfig fields.
69547bd4b Fonts: ImFont::DefaultSize -> ImFont::LegacySize. ImFontFlags_UseDefaultSize -> ImFontFlags_DefaultToLegacySize.
e3860aa6a (Breaking) Fonts: removing obsolete ImFont::Scale.
25f9c318e Fonts: added "Input Glyphs Overlap Detection Tool". Added "Clear bakes", "Clear unused" buttons. Move code.
5926c877a Fonts: detect if ImFontAtlasUpdateNewFrame() is not being called.
9f8b4bdaf Fonts: fixed edge case calling RenderText() without priming with CalcTextSize().
b2343d624 Fonts: fallback to default default rasterizer density + pick one from existing viewports at the time of calling AddUpdateViewport().
83aad8127 Fonts: comments + made IMGUI_DEBUG_LOG_FONT() work without an ImGui context.
f3780c735 Fonts: adding GetFontBaked() in public API.
92ff15376 Fonts: added notes/comments and dummy type about renaming ImFontBuilderIO::GetBuilderForFreeType() to ImFontLoader::GetFontLoader().
3d848a886 Fonts: fixed support for IMGUI_STB_NAMESPACE.
822903e56 Fonts: fixed ImFontAtlas::RemoveFont() with multiple sources.
5ee984555 Fonts: automatically set current rasterizer density to viewport density. Effectively should fix most things on macOS.
ea756ede1 Fonts: reorder ImFontFlags according likelihood of being useful.
1b51a88bb Fonts: moved compare operators to internal. Removed commented out ones aimed legacy backends: not needed anymore since we didn't rename ImTextureID.
39f6c793b Fonts: proof of concept support for user textures.
91ed6e67b Fonts: fixed support for multiple atlases.
fad5280d4 Fonts: fixed broken support for legacy backend due to a mismatch with initial pre-build baked id.
65e603997 Fonts: remove unnecessary ImDrawListSharedData::FontAtlas which is actually getting in the way of using multiple atlases.
46fa9e8ef Fonts: Debug display status. Fixed truncated raw texture id. Fixed FormatTextureIDForDebugDisplay(). Comments.
f6735c223 Fonts: remove ImFontHooks in favor of a AddRemapChar() implementation.
89e880dfd Fonts: adding ImFontHooks for codepoint remapping.
8523cbdf5 Fonts: rework ImFontLoader::FontBakedLoadGlyph() interface
4dec946ae Fonts: don't pretend to half recover from OOM for now + debug log filename on load failure.
b32ef3c05 Fonts: make RasterizerDensity a dynamic field. (temporarily exposed as SetFontRasterizerDensity()).
8140a9d8a Fonts: comments on ImTextureData fields.
42e7bb80b imgui_freetype: removed anonymous namespace + extracting two functions outside of ImGui_ImplFreeType_FontSrcData.
6a455e128 imgui_freetype: moving data out of ImGui_ImplFreeType_FontSrcData.
5310f5fba Fonts: rework toward reducing reliance on ImFontConfig::DstFont since we ought to separate them.
2b0d49a90 Fonts: make ImFont::Sources a vector.
e7efe94fd Fonts: shallow rework of ImFontAtlasBakedAddFontGlyph() to facilitate upcoming change.
890fff92f Fonts: rename many internal functions for consistency. No other changes.
c4fa9bb61 Fonts: add ImFontGlyph::SourceIdx. Extract code out of DebugNodeFont() into DebugNodeFontGlyphesForSrcMask().
bcd1a94b8 Fonts: Extract ImFontAtlasBuildGetFontBaked() out of ImFont::GetFontBaked() mostly for consistency with upcoming changes + tweak locals in AddFont().
7840e453b Fonts: ImFontAtlasBuildInit() is always called with atlas->Builder == NULL.
eb650c468 Fonts: fixed unused variable warning.
c43b138a6 Fonts: no need to load current baked on SkipItems window? + removed unused field.
cdfa537ad Fonts: packing of shared basic/line/cursor data uses more public API.
ed2bb2cff Fonts: encode additional data in ImFontAtlasRectId to detect invalid id + added Rects debug browser.
0436fba13 Fonts: fixed compaction gc-ing baked fonts used in the current frame + rename.
e8035b94e Fonts: misc tidying up.
d789263e0 Fonts: internal rendering uses higher level functions.
12599da53 Fonts: do not mark whole ImTextureData struct as IMGUI_API to fix warning when used in ImVector<> (8559)
fb5c53708 Fonts: changing loader/backend or loader flags may be done without losing custom rects. Sharing more code.
526a5d0f8 Fonts: tidying up.
1ea9ff367 Fonts: add optional out parameter to AddCustomRect()
074bf39e4 Fonts: GC Compact All exposed in Metrics->Memory Allocations includes compacting texture data.
23dc46c4f Fonts: added RemoveCustomRect().
e9cf3de58 Fonts: moved ImFontAtlasRectId back to public API.
69d28f867 Fonts: added ImFontAtlasRectId_Invalid == -1
db30e1b5b (Breaking) Fonts: rework GetCustomRect() api. Reintroduce ImFontAtlasRect.
f40274702 (Breaking) Fonts: renamed AddCustomRectRegular() -> AddCustomRect().
253dff765 Fonts: Comments.
fc8708113 Fonts: fixed GetCustomRectUV().
9324961cd Fonts: fixed calling AddFontXXX not invalidating texture for legacy backends.
44498825c (Breaking) Fonts: PushFont() default to preserve current font size.
168b97c29 Fonts: removed size rounding in AddFont() which breaks relative sizing of merged fonts (8502)
2de15dc64 Fonts: fixed legacy backend path preloading all sources sizes erroneously + failing to use ellipsis.
5460903f9 Fonts: awkwardly alias old TexID name to TexRef using an union (may backtrack and just keep old name)
cb4c03756 Fonts: detect if backend assign to texture on creation but doesn't update Status.
a548cd993 Fonts: avoid both ImTextureRef fields being set simultaneously.
0fff7ceda Fonts: comments, tweaks, minor amends.
e41bf16ff Fonts: fixed ImTextureID() being zero-cleared instead of using ImTextureUserID_Invalid. .
8bd1fc4f0 Textures: Added ImTextureRef::GetTexID() mostly for consistency.
cc65015e4 Fonts: fixed crashing password fields.
41517bca0 (Breaking) Fonts: renamed CalcCustomRectUV() to GetCustomRectUV() for simplicity.
4048494aa Fonts: rename ImFontAtlasBuildClearTexture() to ImFontAtlasBuildClear().
f816b861f (Breaking) Fonts: rename GetCustomRectByIndex() to GetCustomRect(). Made return struct const.
85d050758 Fonts: narrowed invalid value for ImFontAtlasRectId to -1 a we will change implementation.
b12c42e75 Fonts: change uses of ImFontAtlasRect to ImTextureRect for simplicity.
e76cfe5aa Fonts: fixed implicit init when calling AddCustomRectRegular(). LoaderShutdown match BuildDestroy.
7ac1bff48 Fonts: fixed an issue calling legacy ImFontAtlas::Clear().
144f44421 Fonts: fixed memory leaks, shutting down font loader, and on AddFont() failure in FreeType backend.
52a686377 Textures: ImTextureData pixels are not immediately destroyed on setting ImTextureStatus_WantDestroy.
8ea0ae454 Fonts: fixed a bug using size specified by secondary font sources.
735d31e54 Demo: Exposed some basic UI in demo for sanity.
41a0e991f Fonts: Added UI to edit FreeType loader flags. Added ImFontAtlasBuildReloadAll() / ImFontAtlasBuildReloadFont()
40f988ce2 Fonts: in ShowFontAtlas() preserve open-state for latest texture. Improve debug display.
c98e3c0ef Fonts: ImFontConfig::GlyphExcludeRanges is owner and copied.
da51485e1 Fonts: Obsolete GetGlyphRangesXXX() functions. Update font documentation.
93410c47e Fonts: Fixed various small warnings / build issues.
dec8d3863 Fonts: Added a ImFontFlags_NoLoadError flag to let user code try file paths. (3611)
131f5c57a Textures: Detect when using a texture that's about to be destroyed.
0b7133912 Demo: Add a "Fonts" section for visibility.
161e22232 Fonts: GetFontBaked() default to searching for closest size font.
e98a314e0 Textures: Added ImTextureData::UsedRect.
2bf6879da Fonts: tidying up font scale logic.
ef6beaeff Fonts: removed LockSingleSrcConfigIdx which isn't needed anymore since we don't load glyphs in ImFontAtlasBuildAddFont().
d8a612f73 Fonts: Fallback glyph is now lazily loaded on demand (yay!). Moving ImFontBaked:: functions outside of class.
78a17038c imgui_freetype: no need to store metrics locally.
18c8a93cc Fonts: Rework ImFontLoader signatures.
c06a7585a Fonts: A font source can specify its own loader/backend.
1cfc0de31 Fonts: Core allocates per-baked-per-src backend buffers, to allow having custom backend per font source. Backend BakedInit/Destroy/AddGlyph process a single source.
d59f10d7f Fonts: reinstated ImFontAtlasBuildSetupFontCreateEllipsisFromDot() compatible with baked system, lazily baked.
76b252f80 Fonts: Added ImFontAtlasBakedSetFontGlyphBitmap().
92993e68c Fonts: Baked system, fix subsequent sources overriding shared font metrics.
dc1320df6 Fonts: ImFontFlags: ImFontFlags_NoLoadGlyphs + add ImFontFlags_LockBakedSizes
8a8d8a7b3 Fonts: Exposed CompactCache(). Hide ClearCache().
eb79e3ab3 Fonts: Restore a functional AddCustomRectFontGlyph().
815553c4b Fonts: ImFontConfig: added GlyphExcludeRanges[].
96786a183 Fonts: Create a fallback glyph if none is available (fix crash on fonts with no fallback)
066b24d74 Fonts: Fixed _OnChangedTextureID() asserting when calling on e.g. finalized drawlists.
82b81fce6 Fonts: PushFontSize() with -1 uses sources[0]'s size for now (backward compat design)
658059022 Fonts: Allow PushFont/NewFrame/PopFont idioms to function.
842c313db Fonts: Reordered ImFont fields.
99f6b305c Fonts: Baked system, v12: support GlyphOffset / GlyphMinAdvanceX / GlyphMaxAdvanceX by scaling from ref value.
df694c89b Fonts: Baked system, v11.
57d345ff8 Textures: Comments around ImTextureID type.
3ce753c48 Fonts: Debug dump to disk, debug log.
be151977c Fonts: Texture resizing favor growing height, halve pack nodes.
daaf0e4ef Fonts: Added PushFontSize(), PopFontSize() api. Added font_size param to PushFont() as well.
80404fae3 Fonts: clarify ClearTexData() as not supported with dynamic atlases.
093d01269 Fonts: Baked system, with auto-bind, v10.
7aba8da55 (Breaking) Fonts: CalcWordWrapPositionA() -> CalcWordWrapPosition(), takes size instead of scale as this will be needed.
a2371ef90 Internals: added ImStableVector<> helper.
fb69a09d6 Fonts: Fixed leak due to indirectly recursing ImFontAtlasPackInit().
c5653d5f3 Fonts: stb_truetype loader: Reworked scale handling to suggest this is not required caching.
b203ac1e0 Fonts: Reduced reliance on ImFontConfig::DstFont.
722f6013f Fonts: Added a bit of user facing tooling.
bd19bc508 Fonts: Removed BuildClearGlyphs(), conflated with ClearOutputData()
2bf6552f2 Fonts: Fixed/improved support for legacy backend. SetTexID() writes into our ImTextureData to keep the indirection, clear TexIsBuilt.
ba62becb7 (Breaking) Fonts: remove ImFontAtlasCustomRect which is now the same as ImTextureRect
a509790a1 Fonts: Added back support for AddCustomRectFontGlyph()
953ce90d2 Fonts: ImFontAtlasBuildInit() uses the occasion to sync HasTexUpdates from imgui context, narrowing the scope where it isn't set.
288055180 Fonts: Comments, remove ImFontAtlas facing BuildGrowTexture(), BuildCompactTexture(). Make IsBuilt() obsolete.
8ed4e2dde Fonts: Basic heuristic to repack instead of growing. Moved rects count/surface to internals.
2137b3448 Textures: Added atlas's TexMinWidth/TexMinHeight/TexMaxWidth/TexMaxHeight.
14614f561 Textures: Ensure UpdateBox is set on texture _WantCreate state too.
b06f3c6d1 Fonts: turn public facing BuildRegisterGlyph() into ImFontAtlasBuildAddFontGlyph() thats sets up UV.
4ff1631b3 Fonts: Rasterizing ellipsis character from dot as one glyph + avoid preloading if it not needed.
a2bc3d81c Fonts: Fixed support for multiple contexts.
cec3e945f Fonts: added ImFontAtlas::RemoveFont(), fixed various leaks.
df8450d92 Fonts: marked ImFontAtlas::Build() as obsolete
4399599de Fonts: ClearCache(), ImFontAtlasBuildGetTextureSizeEstimate(), tweak clearing functions.
ef1521b47 Fonts: fix for password fields
a51a26e2a Fonts: use a structure for post-processing - easier to pass things around and iterate on.
553b1c301 Fonts: repack without full reload, discard rectangle, fixed CustomRect api with stable id, remove public BuildInit().
a6c780192 Fonts: Measured and tweaked CalcTextSize() computation to minimize cost in our stress tests.
076a1ab85 Fonts: Misc amends, remove _PackNodesFactor, comments.
ac13683c2 Fonts: ImFontAtlas accept DrawListSharedData not being set.
43cc3fc8b Fonts: optimization bake FallbackAdvanceX into IndexAdvanceX[].
4f27792ff (Breaking) Removed atlas->TexDesiredWidth now unnecessary (github 327)
b670f799d Fonts: use TexGlyphPadding. Fixed packing issues. Removed old code.
0f553c57b Fonts: AddFont() actually does the work, so we can handle errors & return an accurate return value.
1269467fa imgui_freetype: Removing old code.
08e1e7681 imgui_freetype: Added Freetype implementation for new architecture.
26c017d5e Backends: Metal: added ImGuiBackendFlags_RendererHasTextures support.
ee8941e0d Backends: Allegro5: added ImGuiBackendFlags_RendererHasTextures support.
16fe666e3 Backends: SDLGPU3: added ImGuiBackendFlags_RendererHasTextures support.
e538883a2 Backends: SDL_Renderer3: added ImGuiBackendFlags_RendererHasTextures support.
9fa65cd19 Backends: SDL_Renderer2: added ImGuiBackendFlags_RendererHasTextures support.
abe294bfd Backends: Vulkan: added ImGuiBackendFlags_RendererHasTextures support.
0430c55b8 Backends: OpenGL2: added ImGuiBackendFlags_RendererHasTextures support.
dbb91a574 Backends: OpenGL3: added ImGuiBackendFlags_RendererHasTextures support.
eefe5d5aa Backends: DirectX12: added ImGuiBackendFlags_RendererHasTextures support.
2d2b1bc1c Backends: DirectX10: added ImGuiBackendFlags_RendererHasTextures support.
75efba7ec Backends: DirectX9: added ImGuiBackendFlags_RendererHasTextures support
372fd27e7 Backends: DirectX11: added ImGuiBackendFlags_RendererHasTextures support.
c20e160e0 Textures: added texture list pointer in ImDrawData.
208705368 Textures: Adding a RefCount to textures so backend can avoid destroying them on shutdown if atlas is shared.
a21a2e855 Textures: Single Textures[] array allows backend to not have to care about atlases.
ee357aadd Textures: Add ImTextureUserID_Invalid + introducing SetTexID().
2cde9125d Fonts: Selecting font config source list done by shared code.
0f0473bf1 Fonts, Textures: main code for ImGuiBackendFlags_RendererHasTextures feature.
191a728ec (Breaking) added ImTextureRef struct. Changed ImDrawCmd::TextureId to TexRef.
e55415bfe (Breaking) renamed/moved ImGuiConfigFlags_DpiEnableScaleFonts -> ioConfigDpiScaleFonts, ImGuiConfigFlags_DpiEnableScaleViewports -> io.ConfigDpiScaleViewports
b2f39318c Adding .cache to ignore list. (#8674)
201899b61 Backends: OpenGL3: Fixed using non-existing features on GLES 3.20 which would push a GL error. (#8664)
eaac68ca2 Merge branch 'master' into docking
c3d7ada9d Demo: add indentation to simplify upcoming merges.
91f72bbe1 Demo: omit ImGui:: prefix from ShowStyleEditor(), ShowUserGuide() code.
9485aeb5c Demo: changed default framed item width to use Min(GetFontSize() * 12, GetContentRegionAvail().x * 0.40f).
e877f78b0 TreeNode: minor amend to b7ab2b7. (#2920)
ef503ab0c TreeNode: fixed out of bound access in ImGuiTreeNodeFlags_DrawLinesXXX feature. (#2920)
b7ab2b752 TreeNode: fixed an issue where tree lines are not drawn on node opening frame. (#2920)
a92b53df7 Backends: Win32: Viewports: handle WM_DPICHANGED in backend when ImGuiConfigFlags_DpiEnableScaleViewports flag is enabled.
ac6b84a7d Viewports: fixed handling of simultaneous move + resize (e.g. toggling maximized) when ImGuiConfigFlags_DpiEnableScaleViewports is enabled.
5e17c0801 Merge branch 'master' into docking
69e1fb50c Docs: fixed missing commit credit. (#8656)
e6913f58b imgui_freetype: Update lunasvg API to support v3.0+ (#8656, #6842, #6591)
c3a3a39e9 Nav: fixed abnormal clipping disable over large ranges, could lead to stall. (#3841, #1725)
19289d587 Nav: fixed scroll fallback (when there are no interactive widgets to jump to) not being enabled on windows with menu or title bar.
c53c9a864 Clipper: further mitigation/improvements for abnormally large contents ranges (larger than e.g. 2^31). (#3609, #8215)
87a6443c5 Scroll: fixed contents size, scrollbar visibility and scrolling reet issue with abnormally large contents ranges. (#3609, #8215)
2bf57bbad Refactor: move SetCurrentFont(), PushFont(), PopFont() to a section.
77f1d3b31 Refactor: move SetCurrentFont(), PushFont(), PopFont() to a section.
407a0b972 (Breaking) Fonts: CalcWordWrapPositionA() -> CalcWordWrapPosition(), takes size instead of scale.
346f5c681 Platform IME: Fixed multi-viewports IME support, affecting SDL backends. (#8648, #8584, #7492, #6341)
5f0acadf7 RenderTextEllipsis() added breaking comments.
143924bbf Image(), ImageWithBg(): added extra comments. (#8131, #8238)
1ffa7a40a TextLinkOpenURL(): added bool return value on click. (#8645, #8451, #7660)
e11ad6b77 Merge branch 'master' into docking
415dddf0f Tooltips: tooltips have a maximum size corresponding to host display/monitor size.
10a0eb3e1 Alter windows min/max size logic to prioritize enforcing size_max bounds rather than size_min.
cdb5cbe6f (Breaking) Commented out ImGuiListClipper::ForceDisplayRangeByIndices() which was obsoleted in 1.89.6.
d93d918ec (Breaking) Commented out PushAllowKeyboardFocus()/PopAllowKeyboardFocus() which was obsoleted in 1.89.4. (#3092)
6d939fced (Breaking) TreeNode: renamed ImGuiTreeNodeFlags_NavLeftJumpsBackHere to ImGuiTreeNodeFlags_NavLeftJumpsToParent for clarity. (#1079, #8639)
9361c3517 Backends: SDL2, SDL3: maximum room for sanitizer to not be zealous.
c008c7d49 Merge remote-tracking branch 'origin/master' into docking
c90ea1315 Viewports: added per-viewport FramebufferScale, Platform_GetWindowFramebufferScale() + Backends: GLFW, SDL2, SDL3, Apple: added support. (#1065, #1542, #1676, #1786, #2826, #3757, #5081, #5580, #5592, #6465, #7273, #7779 etc.) )
63554bcee Backends: OSX: rename internal struct for consistency with other backends.
b5a73033a Examples: Apple: Amend build scripts and gitignore, fix misc OSX warnings. (#8637)
2df9e9b10 Examples: Apple: add Makefile for example_apple_metal, example_apple_opengl2. (#8637)
2fd474132 Update pull_request_template.md
4e487cfa9 stb_textedit: subsequent comments to match ocornut/stb branch. (#8635, #7925)
1387d356a stb_textedit: subsequent fixes for next/prev word impl (not used by imgui) + PageUp/Home/End (no side effect but more correct) (#8635, #7925)
5c3ac9333 stb_textedit: minor edits to match PR submitted upstream.
61242e2e6 InputText: fixed cursor positioning issue using up/down keys on non-ASCII text. (#8635, #7925)
08689c51a Backends: GLFW, SDL2, SDL3: include GLFW/SDL version number in io.BackendPlatformName.
4a6ba9539 Backends: SDL3: Comments (#6146)
e33069ce5 Viewports: fallback DpiScale pulled from fallback Monitor for consistency.
b9ac32a0d Backends: DirectX12: Make sure texture sampling in the dx12 backend is not limited to the highest mip. (#8631)
f484af34c Font: rename ImFont::AddRemapChar() parameters for clarity. (#609)
ba513ba80 Backends: DX10, DX11, DX12: honor FramebufferScale. (#8412)
0a222a3e2 Backends: Vulkan: fixed build with VK_NO_PROTOTYPES.
bf68040dc Backends: Vulkan: fixed build with VK_NO_PROTOTYPES.
37fba4bed Backends: Vulkan: fixed validation errors during window detach in multi-viewport mode. [docking branch amend] (#8600, #8176)
1c8fad73f Merge branch 'master' into docking
bbc89b639 Backends: Vulkan: fixed validation errors during window detach in multi-viewport mode. (#8600, #8176)
64a5e2748 Docs: bad merge error.
d1dc2a329 Backends: Vulkan: Load dynamic rendering functions using vkGetDeviceProcAddr() + try both non-KHR and KHR versions. (#8600, #8326, #8365)
46235e91f Examples: SDL3: specify SDL_WINDOW_HIGH_PIXEL_DENSITY and make centering consistent + call SDL_RenderScale().
afd3a36f6 Demo: added basic Fonts section under main demo (same as Metrics one) for visibility.
c5e2bb7cd Backends: SDLGPU3: Fixed creating atlas texture earlier than other backends.
ef62aa733 Backends: SDL3: macOS: Fixed secondary-viewports not appearing on a different monitor than the main viewport.
e3bfaab3f Examples: update xcode projects.
c0dfd65d6 Backends: Win32: Fixed an issue where externally losing mouse capture (due to e.g. focus loss) would fail to claim it again the next subsequent click. (#8594)
20066a896 Examples: DirectX12+Win32: also test for IsIconic() for sleeping since we don't seem to get a DXGI_STATUS_OCCLUDED signal when minimized. (#8603)
3f8033324 Demo: Dual List Box: fix sorting function, in theory should return 0 when equal. (#8601)
75ddd9a6c Backends: SDLGPU3: added support for ImDrawCallback_ResetRenderState. (#8599)
b3c96bde8 Demo: use IM_ARRAYSIZE more consistently InputText calls in demo window (#8596)
cbb8edb0b Tables: fixed an assert when combining Tables, Frozen Rows, Clipper and BeginMultiSelect() in a certain order. (#8595, #8250)
fcdaa3279 Backends: GLFW: Disable multi-viewports under Wayland. (#8587)
fe298cf98 Revert "Backends: SDL2, SDL3: viewports created with ImGuiViewportFlags_NoInputs are passing SDL_WINDOW_TOOLTIP to SDL_CreateWindow(). (#8576)"
75964a986 CI: run on ubuntu-latest.
b81991ac0 Backends: SDLGPU3: clear ImGuiBackendFlags_RendererHasViewports flag on shutdown.
2a000ee09 Backends: SDL2, SDL3: viewports created with ImGuiViewportFlags_NoInputs are passing SDL_WINDOW_TOOLTIP to SDL_CreateWindow(). (#8576)
f53de38e1 Viewports, Backends: Debug logging.
3563f4db3 Rework TextAligned() api to fix issues with baseline alignment + use standard CalcItemSize(). (#7024)
f2ba3a937 Rework TextAligned() api to take size input. (#7024)
0fc4967eb Rework TextAligned() api to fix issues with baseline alignment + use standard CalcItemSize(). (#7024)
aed1bcc12 Rework TextAligned() api to take size input. (#7024)
839e3274e Merge branch 'master' into docking
6a42d6b33 Added wp TextAligned() TextAlignedV(), TextAlignedExV() to internal API. (#7024)
dcf0d8cab Tables: fixed TableHeader() eager vertical clipping of text. (#6236)
7c6ce12fa Platform IME: minor amend to bf0f586 (#8584)
bf0f586b6 Platform IME: added ImGuiPlatformImeData::WantTextInput, ViewportId. Backends: SDL3: honor WantTextInput. (#8584, #7492, #6341)
facf671ec Demo: rename DockingSplitterSize slider label to DockingSeparatorSize for consistency. (#8579)
af987eb11 Backends: DX12: build fix for Clang. (#8582)
87f12e56f Backends: SDL_GPU: Added multi-viewport support. Amends + update example. (#8573, #8163, #7998, #7988)
baffc4e8b Backends: SDL_GPU: Added multi-viewport support. (#8573, #8163, #7998, #7988)
0ddc36f54 RenderTextEllipsis()): pixel align every dot for consistent display.
88d2df24b Merge branch 'master' into docking
69d572bb1 Fonts: reworked text ellipsis logic to ensure a "..." is always displayed instead of a single character. (#7024)
97d85338e Tabs: adjust handling of ellipsis now that Close Button visibility changed. (#8387) Internals: remove extra parameter to RenderTextEllipsis().
e4a865177 ImFont: added cpu clip fine option for ImFont::RenderChar() (which is technically internal).
faea19380 Internals: minor refactor of TabItemLabelAndCloseButton(), should be no-op.
7ab4728a3 Error Handling: added better error report and recovery when calling EndFrame() or Render() without NewFrame().
b23a216ec Examples: added SDL2+Vulkan, SDL3+Vulkan, GLFW+Vulkan makefiles. Amend ignore list. (#2480)
d3bb3336f Backends: OSX: remove duplicate variable. (#8565)
3ab50c334 TreeNode, Style: added style.TreeLinesRounding support. (#2920)

git-subtree-dir: external/imgui
git-subtree-split: 3f0699cf02b07c8312edbcd937f1881e3564d1ac
2025-06-26 22:18:57 +02:00
irisz64
f5641bad2c Merge commit 'fca3b644b31a19bb12194b40fd3086688f012789' into back-to-imgui 2025-06-26 22:16:38 +02:00
irisz64
fca3b644b3 Squashed 'external/fmt/' changes from 093b39ca5..353bd895a
353bd895a Add FMT_EXPORT on ranges.h customization points (#4476)
953cffa70 Replace memset with constexpr fill_n in bigint::align (#4471)
571c02d47 Add xchar support for std::byte formatter (#4480)
f4345467f Fix compilation on clang-21 / libc++-21 (#4477)
1ef834807 Properly constrain `detail::copy` optimization (#4474)
a5dccffa5 Add double and float support to scan test
4a149f513 Test non-SSO constexpr string formatting
067bc479b Avoid redundant work when processing UTF-8 strings (#4475)
730fd4d9a Remove redundant tests
5860688d7 Enable constexpr support for fmt::format (fmtlib#3403) (#4456)
46be88bc1 Cleanup FP formatting
cc8891490 Export fmt::dynamic_format_arg_store in fmt module (#4459)
fc0c76a07 Handle large precision
6332a3852 Bump ossf/scorecard-action from 2.4.0 to 2.4.2 (#4462)
02de29e00 Remove a reference to a compromised account
6d51c78c1 Cleanup FP formatting
0f4e9d0bd Cleanup FP formatting
d9d50495a Optimize the default FP formatting
befbc5fdb Fix ADL lookup for memory_buffer
8aa1d6a9f Minor cleanup
6d79757a3 Interpret precision as display width (#4443)
1ff0b7f5e Cleanup warning suppression
ea985e84f Remove some implicit conversions (#4447)
f7033da09 Avoid include locale inline if C++20 modules are enabled (#4451)
b723c021d Give useful error when misusing fmt::ptr. (#4453)
3ba3c390f Clarify that formatting of pointers is disallowed
ab161a71c Fix some typos in comments (#4448)
b5266fd3b Remove some redundant `const`s (#4445)
9b0ebd443 Cleanup base-test
7af94e559 Remove old gcc workaround
2924fcf8f Cleanup base-test
102752ad4 Update docs
a6cd72c9e Cleanup base-test
07885271a Minor cleanup
4999416e5 Fix reference_wrapper ambiguity with format_as (#4434)
55a8f6a4b Change component prefix for NSIS compatibility (#4442)
eb9a95d42 Clarify that formatting of pointers is disallowed
d5c33e4f4 Make template parameter order consistent
a2225f288 Remove unused include
b43b2f953 Cleanup standard formatters
1312b4a16 Cleanup standard formatters
4404dc05d Consolidate implementation details
7bb6fcb32 Bump version
59259a5fd Make a doc directory if it doesn't exist
542ea7c40 Clarify that Formatter parameter is deprecated
40626af88 Update version
7fdd6846b Bump version
6caff7ed9 Cleanup test
71a548387 Update changelog
448929d49 Update and apply clang-format
26d87edab Bump github/codeql-action from 3.28.13 to 3.28.16 (#4432)
505ee058f Update changelog
ccab41719 Update changelog
ec1349d34 Update changelog
0ed2a65a8 Clarify why we use __builtin_strlen instead of strlen
e22c94307 Update changelog
b252bad3c Update changelog
268083123 Cleanun string_view
8978ab09b Avoiding __builtin_strlen (#4429)
c936e2e44 Implement debug format for error_code
a7d7b894c Implement the s specifier for error_code
e98155a6f Remove redundant specializations
41b3bed4d Clarify why we don't use qualified names
67d9e4932 Update changelog
9db5e4df2 Don't specialize std::is_floating_point
906eaf2dd Make specifier order consistent
9f6c12c3d Remove deprecated localtime from docs
2d0518b5f Fix cmake error in pedantic mode (#4426)
c81cbed2b Simplify test
c7925241c Remove `core.h` from README (#4422)
c70913835 Add support for incomplete types
db405954c Remove `fmt/core.h` from docs (#4421)
0a917ee2f Minor comment tweak
969d4aef6 Update doc image
8061c7c8c Cleanup duration formatter
7b59df411 Remove redundant member
b8192d233 Fix build error with MSVC v141 (#4413)
e814b5fab Reduce template parametrization
ed0d216f7 Fix localization and formatting of timezone names
bd9554a29 Fix formatting of timezone names
f086dc0d2 Fix timezone handling in tm
f10b6dd81 Improve chrono formatting
f470b9c56 Cleanup chrono tests and set consistent TZ
b28214487 Fix handling of %Z
6d69f0c5f Improve chorno tests
da776c9a6 Test timezone
64db979e3 Added a missing FMT_STRING in fmt::println() (#4407)
5f2e61fdd Cleanup chrono detail
b3d45e1d3 Remove fmt_detail
5f6fb96df Bump github/codeql-action from 3.28.8 to 3.28.13 (#4403)
5199e0f88 Fix a flush issue on libstdc++
2f5843057 Move buffering tests to os-test
d5d32c1e8 Bazel support: Update platforms to 0.0.11 (#4400)
204661287 Improve local_time test
e1ab38336 Report an error when timezone is not available
b9e0e94a0 Enable more chrono tests on Windows
a81842428 Update changelog
f53055efe Revert "Workaround an ABI issue in spdlog"
b2dfcb2b8 Fix local_time test
7ac97cbd1 Enable some local_time tests and make them deterministic
17898794a Use fmt::local_time
443a8ef34 Deprecate fmt::localtime
3607e92dc Bump version
43e31614c Test ambiguous time
989826ce5 Update changelog
9d6e24c64 Fix handling of long with FMT_BUILTIN_TYPES=0
0843317e0 Update changelog
784eac839 Workaround an ABI issue in spdlog
6fdf225a3 Always inline value ctors in optimized gcc mode only
332da79bf Always inline value ctors
7b273fbb5 Minor cleanup
191c504b1 Cleanup build config
d13fb6092 Cleanup build config
dd780fde4 Add clang-3.4
37e647471 Fix dynamic named arg format spec handling (#4361)
77c0fc07d Switch to supported ubuntu image
9212ff6ca Apply coding conventions and use constexpr
864bdf963 Report error on duplicate named arg names (#4367)
b776cf66f Optimize `text_style` using bit packing (#4363)
bdbf957b9 Bump msys2/setup-msys2 from 2.25.0 to 2.27.0
577fd3be8 Fix TU-local entity exposition error in GCC 15
faac8b1fa Remove exports in std.h
123913715 Update version
8c1059b92 Update changelog
4e5aafbf4 Bump version
db30fb3b8 Update changelog
3401ce2be Fix ABI compatibility
7f7695524 Fix conflict with std::ignore (#4356)
251320fcb Add .vs folder to .gitignore (#4355)
94ab51cb8 Simplify implementation of `operator""_cf` (#4349)
0ca42e836 Workaround an MSVC v140 bug
ed27df576 Replace forward slashes by backslashes in BMI path for MSVC. (#4344)
d42a068db Apply coding conventions
f2cec917d Move is_compiled_string to public API (#4342)
d5b866e24 fix gcc 8.3 compile errors (#4336)
5676e408f Bump github/codeql-action from 3.27.0 to 3.28.8 (#4337)
71d24b564 Bump actions/upload-artifact from 4.4.0 to 4.6.0 (#4339)
c9267da4d Fix typo in `FMT_HAS_BUILTIN` check
373855c1b Clarify difference in FP representation
52eeeb52a Make exponent threshold depend on representation (#3649)
9cf9f38ed Update version
4946bdb72 Update changelog
01a5b56f0 Fix error of unitialized variable FMT_HEADERS
cb6fdf219 Restore constraint on map formatter (#4326)
f841ae61e Fix #4303: avoid instantiating formatter<const T> (#4325)
a3d05d70c Silence a constexpr warning when compiling with MSVC and /W4 (#4322)
41539c29f Workaround a bug in gcc 6 (#4318)
aabe63910 Tweak changelog
f90090be2 Update changelog
9ff9c695d Bump version
06ad1224e Update changelog
5f0572acd Workaround a compilation error on gcc 9.4
898d43857 Fix formatting into std::ostreambuf_iterator using a compiled format (#4312)
937b7c5c1 Add args() accessor back to fmt::format_context (#4310)
01914f038 Reduce size of basic_specs
c43da3570 Workaround an ICE when using modules with gcc 14.2 and earlier
8303d140a Update version
b0b3dc5ff Bump version
586ea06f0 Rename set_fill to copy_fill_from
5750f434f Update changelog
bfbdc2be9 Add parameter to the fallback to_sys function.
87e007267 Update changelog
d57040f94 Prefix components
21aa0956d Restore ABI compatibility
3f864a450 Address MSVC C4127 warning when formatting non unicode `tm` (#4299)

git-subtree-dir: external/fmt
git-subtree-split: 353bd895a2bf9d0b1bc5977dc002fb6e0cdb0960
2025-06-26 22:16:38 +02:00
irisz64
e13270e41e Merge commit '16a2cf3873e00fa08e587d1b05c9132d98c24f50' into back-to-imgui 2025-06-26 22:15:44 +02:00
irisz64
16a2cf3873 Squashed 'external/capstone/' changes from b102f1b8..5af28808
5af28808 Update Auto-Sync to Python 3.13 and tree-sitter-py 24.0 (#2705)
99f018ac Python binding: (#2742)
a07baf83 Auto-Sync update Sparc LLVM-18 (#2704)
81c5c93d Enable to generate legacy MC tests for the fuzzer. (#2733)
a25d4980 Add warning about naive search and replace to patch reg names. (#2728)
7ac87d17 Print immediate only memory operands for AArch64. (#2732)
c34034c8 Add x30 implicit read to the RET alias. (#2739)
95a4ca3e Update source list before installing valgrind. (#2730)
6909724e Make assertion hit warnings optional in release builds. (#2729)
fe6bdc6e Make SStream respect the CS_OPT_UNSIGNED flag. (#2723)
21ce3624 Use cs_ac_type for operand access mode in all arches and use cs_xtensa_op_type for Xtensa operand type (#2721)
df26583f clang-format: change license to BSD-3-Clause (#2724)
280b749e Remove unused files. (#2709)
87908ece Add flag for the SoftFail case of the LLVM disassembler. (#2707)
efc0ba44 Fix missing operand for smstart, due to space replaced by tab (#2720)
2ae64133 Fix missing sp register read in ret instruction (#2719)
8df252a6 Fix arm pop reg access (#2718)
14612272 ARM: fix typo, cspr -> cpsr (#2716)
f2f0a3c3 Fix LoongArch ld/st instructions register info (#2701)
829be2bf LoongArch: Compute absolute address for address operand (#2699)
42fbce6c Add jump group for generic jirl (#2698)
fc525c73 Apple AArch64 proprietary (#2692)
895f2f2e Build PDB for debugging on Windows (#2685)
5c3aef03 Version: Update to v6.0.0-alpha4 (#2682)
106f7d3b Update read/written registers for x87 comparison instructions (#2680)
ebe3ef2a Add workflow for building on Windows (#2675)
72f7d305 Revert "Add a script to compare the inc file content with the latest generate…" (#2678)
5b5c5ed8 Fix nanomips decoding of jalrc (#2672)
ae03cca4 Mips32r6_64r632 is for both mips32r6 and mips64r6 (#2673)
21178aea Add a script to compare the inc file content with the latest generated ones. (#2667)
81a6ba03 MIPS: Fix MIPS16 decoding, wrong flags and ghost registers (#2665)
98a393e3 Stringify BH fields when printing ppc details (#2663)
2607d0f3 Remove undefined constants in riscv_const.py (#2660) (#2661)
5058c634 Decode BH field in print_insn_detail_ppc (#2662)
6461ed08 Add Call group to svc, smc and hvc. (#2651)
e2f1dc8d Tms32c64x Little Endian (#2648)
5464c91d Fix build for compilers requiring explicit static for inline functions.. (#2645)
bb2f6579 Enhance shift value and types of shift instructions. (#2638)
cd282ef5 Update operand type enums of all arch modules to the one in `capstone.h` (#2633)
dc0c0909 cmake: Fix building capstone as sub-project (#2629)
cd8dd20c - Added missing files for sdist archive (#2624)
9affd99b Give the user some guidance where to add missing enumeration values. (#2639)
1bea3fab Add checks for MIPS details on cstest_py (#2640)
ace8056c Add aliases mapping for MIPS & test for id, alias_id (#2635)
1abe1868 Build Tarball before DEB/RPM package. (#2627)
0a012190 Switch to ubuntu-24.04-arm runner image (#2625)
4e0b8c48 Fix wrong version requirement of tricore instructions: (#2620)
8ac2843b chore(version): Update Version to 6.0.0-Alpha3 (#2616)
d7ef910b Rebased #2570 (#2614)
c831cd5e Fix SystemZ macro in Makefile (#2603)
30601176 Apply new EVM opcode updates (#2602)
3c4d7fc8 Add tricore tc1.8 instructions (#2595)
5f290cad Create debian and rpm package on releases (#2590)
0f09210a delete travis (#2600)
5c5f756f Downgrade labeler to v4 due to https://github.com/actions/labeler/issues/710. (#2598)

git-subtree-dir: external/capstone
git-subtree-split: 5af288083e9f03e32723f9708c305692f866b666
2025-06-26 22:15:44 +02:00
SimoneN64
2ec3abbe14 blep 2025-06-23 18:49:29 +02:00
SimoZ64
891c722b33 Next step is actually using the user config for input 2025-06-02 20:07:06 +02:00
irisz64
efe6a2fcb8 Merge branch 'dev' into back-to-imgui 2025-05-30 10:30:10 +02:00
SimoZ64
7629e22746 Merge branch 'master' into dev 2025-05-27 23:08:09 +02:00
irisz64
4f596f5856 Fix crash with event watchers + handle SDL loop better + shut down more appropriately 2025-05-27 15:30:36 +02:00
irisz64
ab44f6d980 Make these event watchers 2025-05-27 08:42:41 +02:00
irisz64
67c761d34b make it single threaded for now...
Hmm don't quite get it

idfk
2025-05-26 17:21:53 +02:00
irisz64
2152a73cce More GUI work 2025-05-23 15:57:49 +02:00
irisz64
3b28de6afc What a dumb bug... 2025-05-23 15:53:32 +02:00
irisz64
9fd6c585d6 Settings widget mostly works 2025-05-23 10:15:25 +02:00
SimoZ64
1de29dd76d Next try to make the settings modal work 2025-05-22 23:39:05 +02:00
SimoZ64
ca21e57835 Easier solution: only run the actual emulation logic in the child thread; call Parallel-RDP in main thread. Still needs sync with RDRAM buffer (the GPU crashes now LMAO) 2025-05-22 23:18:39 +02:00
irisz64
326b4b43cd It renders something, crashes because ImGui exhausts the display list. Need to find a better way for thread sync. Message queue? 2025-05-22 09:16:58 +02:00
irisz64
668edbcd91 Merge branch 'master' into back-to-imgui 2025-05-22 08:35:37 +02:00
SimoZ64
0ec2327818 remove mario face
Some checks are pending
build / build-linux (push) Waiting to run
build / build-windows (push) Waiting to run
2025-05-22 08:35:06 +02:00
SimoZ64
e706513862 remove mario face 2025-05-22 08:34:05 +02:00
SimoZ64
722a0e98c0 Some progress 2025-05-22 00:30:33 +02:00
SimoZ64
8fa341bf72 Upgrade to C++23 2025-05-20 17:47:52 +02:00
SimoZ64
be711bf5b3 doesnt quite work yet 2025-05-19 07:01:26 +02:00
SimoZ64
6cf2e7ab70 can't use shared_ptr on SDL_Window 2025-05-07 17:22:01 +02:00
SimoZ64
c175d58f03 start infrastructure for SDL window 2025-05-07 16:11:46 +02:00
SimoZ64
4d10495c88 input settings should be complete now 2025-05-07 16:11:36 +02:00
SimoZ64
3759be86a1 smaller imgui impl improvements 2025-05-06 14:12:35 +02:00
SimoZ64
dcdf961988 start working towards imgui + sdl + vulkan init 2025-05-06 14:12:13 +02:00
SimoZ64
b4c5c7a3e4 Compiles! 2025-05-05 22:15:45 +02:00
SimoZ64
20e8e720a6 whatever 2025-05-05 22:12:55 +02:00
SimoZ64
50b4fcc316 ignore .vscode settings file 2025-05-05 22:11:41 +02:00
SimoZ64
6827f93d09 Merge commit '6e9eb898f5c6e241591d4953ae0b36668cd59f94' as 'external/nfd' 2025-05-04 00:37:23 +02:00
SimoZ64
6e9eb898f5 Squashed 'external/nfd/' content from commit a1a40106
git-subtree-dir: external/nfd
git-subtree-split: a1a401062819beb8c3da84518ab1fe7de88632db
2025-05-04 00:37:23 +02:00
SimoZ64
730f5bed24 more wrappers and helpers! 2025-04-29 22:40:07 +02:00
SimoZ64
b319255178 more work towards a clean code 2025-04-28 23:51:34 +02:00
SimoZ64
f57e15f4de lay down basic imgui wrappers/helpers 2025-04-28 21:22:27 +02:00
SimoZ64
3f14a99ea0 skjadfahasdf 2025-04-28 15:53:47 +02:00
SimoZ64
0cb479dda8 comment out bunch of qt things 2025-04-16 15:20:12 +02:00
SimoZ64
a27ccf87d8 Basic initial work to replace Qt 2025-04-15 22:11:52 +02:00
SimoZ64
3ab403b8bd add cflags 2025-04-15 14:09:43 +02:00
SimoZ64
3fff8ca568 Merge commit '3985029fd63ff5abfef0a3d2b0eef64b2b3f6cea' as 'external/cflags' 2025-04-15 12:23:13 +02:00
SimoZ64
3985029fd6 Squashed 'external/cflags/' content from commit cc3ea1b95
git-subtree-dir: external/cflags
git-subtree-split: cc3ea1b95d49fb3183cc26b60a7caa978e80500b
2025-04-15 12:23:13 +02:00
SimoZ64
152cdb0197 start 2025-04-15 09:33:30 +02:00