Commit graph

7232 commits

Author SHA1 Message Date
Leon Styhre 302f6e0fc5 Added an assertion to GuiComponent::setSize() to check for negative mSize values 2024-08-13 21:42:50 +02:00
Leon Styhre eccc5095fb Fixed an issue where ComponentList could generate elements with negative widths 2024-08-13 21:41:17 +02:00
Leon Styhre 3f8abb0807 Removed direct use of Font::wrapText() from TextComponent 2024-08-12 22:03:17 +02:00
Leon Styhre 1d3b2f8066 Removed direct use of Font::wrapText() from OptionListComponent, TextEditComponent and TextListComponent 2024-08-12 20:51:52 +02:00
Leon Styhre 0723ae8364 (Haiku) Added find rule configuration for RetroArch
Also added a single core for testing purposes
2024-08-11 22:04:52 +02:00
Leon Styhre 9be6cdc42b Documentation update 2024-08-11 21:58:21 +02:00
Leon Styhre 17f55fd8cf (Haiku) Updated CMake configuration to make ES-DE build on Haiku Nightly (but no longer on R1/beta4) 2024-08-11 21:56:02 +02:00
Leon Styhre a841d4175a Changed a compiler silencing option to only apply to Clang 2024-08-11 19:26:14 +02:00
Leon Styhre 3d0701f288 Changed Font::buildTextCache() and Font::renderTextCache() to protected functions 2024-08-11 19:20:03 +02:00
Leon Styhre aba1163c44 Changed TextEditComponent to use TextComponent instead of using Font facilities directly 2024-08-11 19:01:47 +02:00
Leon Styhre 75fdd94d45 Minor code cleanup 2024-08-11 18:27:37 +02:00
Leon Styhre b0616fcbb1 Changed DateTimeEditComponent to use TextComponent instead of using Font facilities directly 2024-08-11 18:22:45 +02:00
Leon Styhre b697dc2a52 Reverted ButtonComponent and SliderComponent to render the debug overlays themselves 2024-08-11 18:14:39 +02:00
Leon Styhre 8ee7b6f118 Changed SliderComponent to use TextComponent instead of using Font facilities directly 2024-08-11 15:03:04 +02:00
Leon Styhre 5b7becf446 Changed ButtonComponent to use TextComponent instead of using Font facilities directly 2024-08-11 14:00:40 +02:00
Leon Styhre ccf680b433 Changed Window to use TextComponent instead of using Font facilities directly 2024-08-11 13:28:26 +02:00
Leon Styhre 8ff6f50635 Changed ScreenSaver to use TextComponent instead of using Font facilities directly 2024-08-11 12:32:04 +02:00
Leon Styhre 5776d37d54 Updated the pl_PL translations 2024-08-11 10:31:06 +02:00
Leon Styhre 3defff515d Documentation update 2024-08-10 16:36:23 +02:00
Leon Styhre 7353f04e66 (Haiku) Added support for the ScummVM Game Engine (scummvm) game system 2024-08-10 16:17:13 +02:00
Leon Styhre 3adee7c863 (Haiku) Added support for the Sony PlayStation Portable (psp) game system 2024-08-10 15:14:27 +02:00
Leon Styhre a9956e2f07 (Haiku) Added a ScreenScraper platform identifier 2024-08-10 15:13:05 +02:00
Leon Styhre c15eff8994 Added experimental support for building on Haiku 2024-08-10 14:28:24 +02:00
Leon Styhre 0347a276ea Silenced some Clang compiler warnings 2024-08-09 22:54:57 +02:00
Leon Styhre 2d84fa78db Documentation update 2024-08-09 22:14:00 +02:00
Leon Styhre 544abf1e81 Changed a code comment that referred to BSD Unix 2024-08-09 21:09:00 +02:00
Leon Styhre 9c07456d21 Removed support for NetBSD and OpenBSD 2024-08-09 21:05:12 +02:00
Leon Styhre 7791859d14 Added a menu title font size adjustment for the pl_PL translations 2024-08-09 19:51:35 +02:00
Leon Styhre f6b3f11714 Updated the pl_PL translations 2024-08-09 18:11:35 +02:00
Leon Styhre 92c3696843 Documentation update 2024-08-09 17:54:23 +02:00
Leon Styhre c63184f010 Replaced all built-in Unicode case conversion logic and lookup tables with facilities from the ICU library 2024-08-09 17:48:46 +02:00
Leon Styhre de317b4c91 (Windows) Fixed an MSVC compiler warning 2024-08-09 17:25:13 +02:00
Leon Styhre 22478ed145 (Windows) Added the ICU library as a dependency 2024-08-09 17:24:08 +02:00
Leon Styhre 2bbcdd375c (macOS) Added the ICU library as a dependency 2024-08-08 21:53:13 +02:00
Leon Styhre 6ad96ba252 (Android) Added the ICU library as a dependency 2024-08-08 20:28:29 +02:00
Leon Styhre 3afe2bacc3 Added the ICU library as a dependency 2024-08-08 20:26:10 +02:00
Leon Styhre ee61283e2b Removed a lot of unnecessary text processing 2024-08-06 20:31:26 +02:00
Leon Styhre b2e796c664 Documentation update 2024-08-05 22:49:46 +02:00
Leon Styhre 2c95d5a7d6 Fixed a source file header typo 2024-08-05 22:47:13 +02:00
Leon Styhre a7d673f541 Some font-related code and comments cleanup 2024-08-04 13:43:44 +02:00
Leon Styhre 03f6567dd5 Added support for the ar_EG locale 2024-08-04 13:02:00 +02:00
Leon Styhre 16697c0503 Added sharing of glyph atlas entries between shaped glyph entries that need the same texture 2024-08-04 12:46:57 +02:00
Leon Styhre 91d3f3a43a Fixed a regression where text shaping stopped working 2024-08-04 12:16:13 +02:00
Leon Styhre b288bd172c Removed a temporary member variable in Font and replaced it with proper argument passing 2024-08-04 11:52:25 +02:00
Leon Styhre 14c4e00bf2 Changed Font::shapeText() to pass the segments vector by reference 2024-08-04 11:31:03 +02:00
Leon Styhre 5d653a9e93 Reverted a change in TextComponent as it caused unforeseen issues 2024-08-03 21:20:28 +02:00
Leon Styhre 2e01613e41 Removed the offensive wrapText hacks and added some optimizations
Also changed the three dots to an actual ellipsis Unicode character when abbreviating text
2024-08-03 20:50:59 +02:00
Leon Styhre c873441851 Made accurate text layout work correctly using HarfBuzz 2024-08-03 19:04:45 +02:00
Leon Styhre 7a8bd97226 Added a precaution to prevent crashes in case of broken fonts being used 2024-08-03 14:54:49 +02:00
Leon Styhre 75b93794b0 Fixed another failure mode for the wrapText shaped text hack 2024-08-03 14:22:36 +02:00