Commit Graph

40536 Commits

Author SHA1 Message Date
Henrik Rydgård
d298c6f6f5
Merge pull request #19227 from hrydgard/more-text-fixes
More text fixes on iOS/Mac
2024-06-01 14:09:33 +02:00
Henrik Rydgård
f2e15c30c9
Merge pull request #19226 from sandboxgamedev123/master
Add AppImage Scripts for Linux
2024-06-01 13:55:27 +02:00
Henrik Rydgård
81c642e2b2 Fix scaling issues in cocoa text drawer 2024-06-01 13:44:11 +02:00
sandboxgamedev123
46fb1272e9
Add files via upload 2024-06-01 07:41:23 -04:00
Henrik Rydgård
7b50443c66 Simplfication 2024-06-01 13:15:14 +02:00
Henrik Rydgård
65fb1a5aa7
Merge pull request #19224 from hrydgard/more-ios-fixes
More iOS fixes
2024-06-01 13:14:39 +02:00
Henrik Rydgård
8e1218976d Fix wrong function signature in iOS file picker, also a lifetime issue 2024-06-01 12:31:12 +02:00
Henrik Rydgård
bd13653153 iOS: Call hideKeyboard from a couple more places 2024-06-01 12:28:13 +02:00
Henrik Rydgård
ba82360861 Some additions to credits 2024-06-01 12:28:13 +02:00
Henrik Rydgård
929ced7acc Minor cleanup in draw_text_cocoa 2024-06-01 12:28:13 +02:00
Henrik Rydgård
e1b760f628
Merge pull request #19223 from hrydgard/more-text-cleanup
More text rendering code cleanup
2024-06-01 10:35:33 +02:00
Henrik Rydgård
28cf69f67e Remove duplicate code from the text rendering backends 2024-06-01 09:58:58 +02:00
Henrik Rydgård
d6b6d087c0 Make the font lifecycle more similar between the backends. 2024-06-01 09:43:11 +02:00
Henrik Rydgård
9f36970f7f sv_SE updates 2024-06-01 09:35:29 +02:00
Henrik Rydgård
c38f448d85
Merge pull request #19222 from hrydgard/more-text-cleanup
More text rendering code cleanup
2024-06-01 00:00:58 +02:00
Henrik Rydgård
65126668e0 Mac/iOS font rendering - Fix line breaking 2024-05-31 23:07:04 +02:00
Henrik Rydgård
e10858d8b5 Mac/iOS: Enable ARC on draw_text_cocoa.mm 2024-05-31 22:21:43 +02:00
Henrik Rydgård
b93e8f9d79
Merge pull request #19221 from hrydgard/main-screen-crash-fix
Rewrite GetFriendlyPath
2024-05-31 21:41:38 +02:00
Henrik Rydgård
4051f34758 Implement MeasureStringRect generically based on MeasureString 2024-05-31 21:11:48 +02:00
Henrik Rydgård
5b0007f391 Remove unused and broken text rotation code 2024-05-31 20:58:53 +02:00
Henrik Rydgård
3b83ab0f06
Merge pull request #19216 from ANR2MERefork/manual_generate_ipa
[Workflow] Some missing env vars for ccache
2024-05-31 20:48:12 +02:00
Henrik Rydgård
b85890c37b Rewrite GetFriendlyPath to not crash and work in more situations 2024-05-31 20:41:03 +02:00
Henrik Rydgård
a431d53da3
Merge pull request #19219 from hrydgard/more-text-rendering-work
Unify DrawString between Windows, UWP and Android. More to come.
2024-05-31 20:15:11 +02:00
Henrik Rydgård
06f7f39e3e Unify SDL's version of the function too. 2024-05-31 19:23:47 +02:00
Henrik Rydgård
2061f04885 Also remove DrawString in the SDL text backend 2024-05-31 19:08:25 +02:00
Henrik Rydgård
423f7620dd Also implement for Cocoa. 2024-05-31 19:00:23 +02:00
Henrik Rydgård
533f8f06be Unify DrawString between Windows, UWP and Android. More to come. 2024-05-31 17:27:59 +02:00
Henrik Rydgård
eb317378e3 Typo fix, thanks oltolm 2024-05-31 13:01:41 +02:00
Henrik Rydgård
7547126a7d
Merge pull request #19218 from hrydgard/text-remove-ampersand-replacement
i18n: Remove our awkward &-escape support, except in [DesktopUI]
2024-05-31 09:58:53 +02:00
Henrik Rydgård
5999690af5 i18n: Remove our awkward ampersand-escape support, except in [DesktopUI] 2024-05-31 09:45:59 +02:00
AdamN
8048e32fcf
Some missing env vars for ccache 2024-05-31 03:20:04 +07:00
Henrik Rydgård
1f7310d4cf
Merge pull request #19184 from hrydgard/native-text-draw-mac-ios
Native text drawing on macOS/iOS
2024-05-29 19:52:12 +02:00
Henrik Rydgård
c02e5b36ab Use the default UI font, bugfixes 2024-05-29 19:29:49 +02:00
Henrik Rydgård
021d2d5ef0 Scaling and line spacing work 2024-05-29 18:52:39 +02:00
Henrik Rydgård
5f4257bf4a Get it to build and run on iOS too, not just Mac. There's some odd DPI issue though. 2024-05-29 18:52:39 +02:00
Henrik Rydgård
0bbaaef787 Seems to be working now, though need to figure out which font face we can use. 2024-05-29 18:52:39 +02:00
Henrik Rydgård
3965c1ae6b Start implementing cocoa-based text rendering. Doesn't work yet, renders garbage. 2024-05-29 18:52:39 +02:00
Henrik Rydgård
455e28da6c Rename Point to Point2D to avoid a cocoa name clash 2024-05-29 18:52:39 +02:00
Henrik Rydgård
7e7d1d587a Start lifting up common parts to the base class 2024-05-29 18:52:39 +02:00
Henrik Rydgård
d017be5516
Merge pull request #19215 from hrydgard/ios-fix-gl-hang
iOS: Fix hang when task switching in GL mode
2024-05-29 18:46:20 +02:00
Henrik Rydgård
4bc655d5d3 Should not display the Geometry Shader culling option on iOS (not supported) 2024-05-29 18:32:18 +02:00
Henrik Rydgård
3065979528 iOS: Fix hang when task switching in GL mode 2024-05-29 18:21:58 +02:00
Henrik Rydgård
f23f54bf87
Merge pull request #19214 from hrydgard/fix-vulkan-errors
Fix some Vulkan-related bugs
2024-05-29 15:53:11 +02:00
Henrik Rydgård
53ebba4a3e Vulkan: Fix bug when stepping / pausing-on-lost-focus 2024-05-29 14:49:53 +02:00
Henrik Rydgård
d29a2a2b8c Make the "Pause when not focused" setting available in the regular settings menu 2024-05-29 13:06:49 +02:00
Henrik Rydgård
87ead3f492 Fix bad framebuffer bind in Parappa The Rapper 2024-05-29 12:23:54 +02:00
Henrik Rydgård
e5662f63d5
Merge pull request #19213 from hrydgard/fix-recents-ios
iOS: Prevent the Recents list from disappearing a lot
2024-05-29 10:48:56 +02:00
Henrik Rydgård
869139078a Do the same for the current browsed directory 2024-05-29 10:16:48 +02:00
Henrik Rydgård
606a895985 iOS: Update recents paths on load
Fixes the main part of #19211
2024-05-29 10:12:20 +02:00
Henrik Rydgård
a851e82b28
Merge pull request #19207 from hrydgard/sdl-avoid-spinning
SDL: Switch to SDL_WaitEventTimeout instead of SDL_PollEvent when possible.
2024-05-28 20:38:35 +02:00