cdwcgt
ca40f0a4d3
Fix instability from near-zero scale by preserving sign when clamping in DrawInfo ( #6708 )
...
* Fix instability from near-zero scale by preserving sign when clamping in DrawInfo
* Add test coverage for properly accounting for numerical instability at low draw scale
---------
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com >
2026-02-20 14:13:29 +01:00
menvae
5cac7757ff
Fix typo in BlendingParameters.translateBlendingFactorSrc & add missing OneMinusSrcColor case ( #6707 )
2026-02-19 12:49:48 +09:00
Dean Herbert
090a540544
Appease the rider gods
2026-02-10 18:29:40 +09:00
YNataniel295
afd0a6ffc8
Fix hovering with tablet causing mouse buttons to be immediately released ( #6701 )
...
* Fix LMB hold when hovering with tablet pen
Fixes an issue where LMB would be released immediately when the pen is in hover range.
Added pen pressure hysteresis, may be needed.
* Fix LMB hold when hovering with tablet pen
Fixes an issue where LMB would be released immediately when the pen is in hover range.
Added pen pressure hysteresis, may be needed.
* Fix LMB hold when hovering with tablet pen
Stop continuously propagating pen LMB state; use edge-only press/release with a small internal hysteresis and release on tablet disconnect.
* Fix LMB hold when hovering with tablet pen
* Fix LMB hold when hovering with tablet pen
* Rewrite for simplicity
---------
Co-authored-by: Dean Herbert <pe@ppy.sh >
2026-02-09 09:58:37 +01:00
Susko3
ec800bc9c7
Fix unplugging controller sometimes crashing game ( #6692 )
...
Could crash if the ID wasn't in the dictionary.
The old code also didn't properly close everything
(it would close either the jostick or the gamepad, but not both).
2026-02-09 01:53:13 +09:00
maarvin
c9ee4da7a4
Add double variant for Spring class ( #6706 )
...
* Add double variant for spring class
* Fix precedence implicit brackets
---------
Co-authored-by: marvin <m.schuerz@hautzy.com >
Co-authored-by: Dean Herbert <pe@ppy.sh >
2026-02-07 21:30:50 +09:00
Dan Balasescu
5c37ed90cd
Merge pull request #6705 from minetoblend/feature/color-picker-step-button
...
Add colour picker step-button for test scenes
2026-01-30 11:57:28 +09:00
marvin
0f26e656a6
Add AddColourPickerStep method to TestScene
2026-01-29 21:36:53 +01:00
marvin
ab9e5acf5b
Add colourPicker step drawable
2026-01-29 21:36:53 +01:00
Dan Balasescu
70d27e4b9e
Merge pull request #6703 from Susko3/android-pen-workaround
...
Add workaround for pen clicks not working on Android
2026-01-29 17:14:51 +09:00
Susko3
2d602e6726
Add workaround to fix pen clicks not working on Android
2026-01-27 00:45:07 +01:00
Dan Balasescu
5b716dcbef
Merge pull request #6702 from minetoblend/fix/uniform-type-typo
...
Fix typo in uniform typecheck
2026-01-24 11:18:13 +09:00
marvin
2cf8280926
Fix typo in uniform field typecheck
2026-01-23 20:44:32 +01:00
Denis Titovets
23ac694fa2
Add localisation support for displayNames in DirectorySelector's related classes ( #6700 )
2026-01-19 01:03:25 +09:00
Dean Herbert
44c42076fa
Merge pull request #6691 from Susko3/fix-zero-displays-crashing-game
...
Fix game crashing when no displays are connected
2026-01-09 21:04:11 +09:00
Bartłomiej Dach
55317f0f23
Merge pull request #6695 from Susko3/fix-pen-device-type-crash
...
Fix crash when getting SDL3 pen device type
2026-01-07 10:42:24 +01:00
Susko3
293b5b9e68
Inline only usage of getPenType()
2026-01-07 00:32:36 +01:00
Susko3
aff9eda466
Cache pen device type
...
Prevents crashes when alt-tabbing (pen is gone but we've yet to process events).
2026-01-07 00:31:22 +01:00
Dan Balasescu
5eff3a3875
Merge pull request #6694 from minetoblend/transformsequence-extra-easing
...
Add overload for custom easing functions to `TransformSequence.TransformTo`
2026-01-06 14:51:40 +09:00
marvin
c317b9a1b8
Add overload for custom easing function to TransformSequence.TransformTo
2026-01-06 06:06:38 +01:00
Dan Balasescu
0949f030d4
Merge pull request #6683 from Susko3/stop-sdl-unsupported-spam
...
Stop calling `SDL_GetWindowBordersSize()` when it's unsupported
2026-01-05 17:16:15 +09:00
Dan Balasescu
1b6ac01a67
Merge branch 'master' into stop-sdl-unsupported-spam
2026-01-05 17:02:00 +09:00
Dan Balasescu
325f0b9d71
Merge pull request #6690 from EVAST9919/path-quad-batch
...
Use quad batch for path drawing
2026-01-05 12:50:38 +09:00
Susko3
0429fe4597
Fix game crashing when no displays are connected
2026-01-03 03:12:12 +01:00
Andrei Zavatski
16ba5e1067
Use quad batch for path drawing
2026-01-02 16:59:45 +03:00
Dan Balasescu
44725d0b2a
Merge pull request #6689 from EVAST9919/fix-choppy-path
...
Fix `Path` being choppy with small theta difference between segments
2026-01-02 13:21:08 +09:00
Andrei Zavatski
705e3829fa
Fix path being choppy with small theta difference
2026-01-02 03:55:45 +03:00
Dan Balasescu
c68f02176e
Merge pull request #6676 from EVAST9919/path-clenup
...
Improve performance of `Path` segment reduction algorithm
2025-12-29 19:04:05 +09:00
Dan Balasescu
ea392fb805
Merge branch 'master' into path-clenup
2025-12-29 18:52:14 +09:00
Andrei Zavatski
1b194cadde
Move connection into segment drawing method
2025-12-27 05:52:12 +03:00
Andrei Zavatski
58438f6273
Merge path caps with the segment
2025-12-25 02:46:21 +03:00
Andrei Zavatski
990042fd60
Simplify connection construction
2025-12-22 03:26:47 +03:00
Bartłomiej Dach
73b034a940
Merge pull request #6686 from Susko3/log-sdl-errors
...
Log SDL3 errors if function calls fail and the error is not checked
2025-12-19 11:35:31 +01:00
Bartłomiej Dach
bfd5994a23
Merge branch 'master' into log-sdl-errors
2025-12-19 11:24:20 +01:00
Susko3
25cd7dc0ff
Throw if SDL_GetPenDeviceType() fails
2025-12-18 00:58:55 +01:00
Susko3
d4a050fd54
Early-return if SDL icon surface is null
2025-12-18 00:57:11 +01:00
Susko3
12c68699ab
Clear stale error
2025-12-17 02:40:20 +01:00
Susko3
c9205dd85a
Throw SDL3Exception if error is unrecoverable
2025-12-17 02:08:21 +01:00
Andrei Zavatski
b0217dd997
Fix coment typo
2025-12-14 22:12:21 +03:00
Andrei Zavatski
b6d70ad1bd
Fix remaining path jitter in some cases
2025-12-14 01:19:56 +03:00
Andrei Zavatski
1c9d6fac78
Merge branch 'master' into path-clenup
2025-12-14 00:28:20 +03:00
Susko3
33f26bb4fe
Log SDL3 errors if function calls fail and the error is not checked
2025-12-13 06:06:19 +01:00
Dan Balasescu
dc6f00d665
Merge pull request #6685 from Susko3/fix-ci-code-quality
...
Simplify dictionary lookups with `GetValueOrDefault()`
2025-12-13 13:47:26 +09:00
Dan Balasescu
58aaa2fff7
Merge branch 'master' into fix-ci-code-quality
2025-12-13 13:33:28 +09:00
Dan Balasescu
86633d9ad4
Merge pull request #6684 from Susko3/mark-flaky-tests
...
Mark test failing on macOS runners as flaky
2025-12-13 13:32:02 +09:00
Susko3
6800b95110
Remove useless call that previously enabled SDL error logging
...
Useless since efc390d7e2 .
2025-12-13 05:23:01 +01:00
Susko3
c44324c671
Simplify dictionary lookups with GetValueOrDefault()
...
This is flagged by ReShaper under ID
`CanSimplifyDictionaryTryGetValueWithGetValueOrDefault`.
2025-12-13 03:50:45 +01:00
Susko3
dbcc188ea6
Mark test failing on macOS runners as flaky
...
Another that fails is osu.Framework.Tests.Visual.Containers.TestSceneCachedBufferedContainer - TestConstructor, but it's not simple to add flaky there.
2025-12-13 03:43:36 +01:00
Susko3
0150d64d45
Stop calling SDL_GetWindowBordersSize when it's unsupported
...
Magic value taken from https://wiki.libsdl.org/SDL3/SDL_Unsupported and
bacfd3c252/src/SDL_error.c (L88) .
2025-12-13 02:08:54 +01:00
Dean Herbert
19cf80488e
Merge pull request #6677 from frenzibyte/ipados-incorrect-menus
...
Remove useless menus from iPadOS's new app menu bar
2025-12-09 15:54:58 +09:00