Commit graph

2189 commits

Author SHA1 Message Date
Leon Styhre b3ac8b6320 Changed the text shaping function to return the segment vector 2024-08-02 23:31:47 +02:00
Leon Styhre 9e7b02291b Added a hack to make shaped text wrap somehow correctly 2024-08-02 15:58:26 +02:00
Leon Styhre 45091547b7 Changed two font calculation functions to use shaped text
Also consolidated the HarfBuzz segment creation and shaping into a single function
2024-08-02 12:43:26 +02:00
Leon Styhre b1adbc0f2a Added support for the pl_PL locale 2024-08-01 21:36:45 +02:00
Leon Styhre 81bc30cc26 Fixed a text shaping issue when there was a font change for the last character of a string 2024-08-01 14:36:29 +02:00
Leon Styhre 84e850a507 Moved the text shaping to a separate function 2024-08-01 14:34:34 +02:00
Leon Styhre 412e74738a Moved the HarfBuzz segment building to a separate function
Also implemented segment caching and fixed an issue where missing glyphs were not handled correctly
2024-08-01 12:20:39 +02:00
Leon Styhre 82f6686cbf Changed the font VRAM usage calculation to actually only include texture data 2024-08-01 10:58:15 +02:00
Leon Styhre 539cdd8146 Added initial text shaping support 2024-07-31 18:44:26 +02:00
Leon Styhre f9d5b2b12e Added support for the nl_NL locale 2024-07-30 18:18:04 +02:00
Leon Styhre 4c1b5fde3c Reorganized some per-language menu title font size entries 2024-07-29 11:25:38 +02:00
Leon Styhre 192035e16a Clarified the custom event script sorting in a code comment 2024-07-28 16:21:44 +02:00
Leon Styhre 9703531273 Added a code comment regarding Unicode case mapping entries for the Latin Extended-B Unicode block 2024-07-26 21:16:27 +02:00
Leon Styhre 3b5d5a7da4 Added a StringUtil function to return the string length in Unicode characters 2024-07-26 21:09:51 +02:00
Leon Styhre 0d41632352 Added a menu title font size adjustment for the Japanese translations 2024-07-25 13:13:00 +02:00
Leon Styhre 9300f00b94 Added case conversion support for the Latin Extended-B Unicode block 2024-07-24 19:02:30 +02:00
Leon Styhre 0cf89ea875 Changed some per-language menu title font sizes 2024-07-24 11:57:24 +02:00
Leon Styhre 076709b239 Moved the Ubuntu Condensed font higher in the loading order 2024-07-24 11:47:12 +02:00
Leon Styhre f4d1534bab Added gettext context support 2024-07-23 18:17:44 +02:00
Leon Styhre a1e31331b5 Added support for the ro_RO locale 2024-07-23 10:34:12 +02:00
Leon Styhre 39e0a1773b Added support for the ru_RU locale 2024-07-22 16:12:04 +02:00
Leon Styhre d86923fb98 Added menu title per-language font sizing to the entire application 2024-07-22 11:25:25 +02:00
Leon Styhre 298b371715 Added support for the es_ES locale 2024-07-21 11:50:06 +02:00
Leon Styhre 1f605347c3 Added support for the el_GR locale 2024-07-21 11:37:53 +02:00
Leon Styhre afea0eace9 Added support for the fr_FR locale 2024-07-21 11:13:49 +02:00
Leon Styhre 0582856b84 Fixed an issue where formatting translation strings could lead to crashes on some platforms 2024-07-20 22:17:44 +02:00
Leon Styhre 2dc805bcbd (Linux) Added workaround for a library or OS bug that prevented some locales from working correctly 2024-07-20 16:50:44 +02:00
Leon Styhre f1ee285b3e Added support for the pt_BR locale 2024-07-20 13:42:51 +02:00
Leon Styhre 335b3dd4ff Added support for the ja_JP locale 2024-07-20 13:35:37 +02:00
Leon Styhre 01406c27c3 Added support for the it_IT locale 2024-07-20 13:31:21 +02:00
Leon Styhre 0b5b0e0572 Added support for the en_GB locale 2024-07-20 13:24:37 +02:00
Leon Styhre 72ee58e748 Added localization support to parts of the application 2024-07-18 15:07:41 +02:00
Leon Styhre 13fadd1658 Removed some obsolete code from DateTimeEditComponent 2024-07-17 16:49:51 +02:00
Leon Styhre 35f51e6904 Added localization support to parts of the application 2024-07-17 14:14:59 +02:00
Leon Styhre 5bea1dfb8b Reverted the change where StringUtil::toCapitalized() would capitalize characters follow apostrophes 2024-07-16 21:27:29 +02:00
Leon Styhre b067481f3f tringUtil::toCapitalized() will now capitalize characters following apostrophes and quotation marks 2024-07-16 21:25:08 +02:00
Leon Styhre 7ea52c13a5 StringUtil::toCapitalized() will now capitalize characters following the ( and [ characters 2024-07-16 21:19:49 +02:00
Leon Styhre cac5ec0402 Fixed an issue where the StringUtil::toCapitalized() function didn't correctly capitalize multi-byte Unicode characters
Also modernized some code
2024-07-16 21:13:50 +02:00
Leon Styhre f7be57336b (Windows) Fixed some MSVC compiler warnings 2024-07-16 16:58:55 +02:00
Leon Styhre 062288ad07 Added localization support to parts of the application 2024-07-16 16:50:46 +02:00
Leon Styhre 14b65cb2e4 Added localization support to parts of the application 2024-07-16 13:56:35 +02:00
Leon Styhre b13c3ee582 Added localization support to parts of the application 2024-07-16 12:04:50 +02:00
Leon Styhre 42f7e46d08 Added localization plural rules support 2024-07-16 10:15:42 +02:00
Leon Styhre 4ffc5d6bf9 Added a very simplified implementation of std::format 2024-07-15 17:39:03 +02:00
Leon Styhre f9886b904f Added localization support to parts of the application 2024-07-14 23:46:33 +02:00
Leon Styhre 557748970a Added localization support to parts of the application 2024-07-14 16:48:31 +02:00
Leon Styhre f088658004 Added localization support to parts of the application 2024-07-13 22:14:37 +02:00
Leon Styhre be95b494dc Added localization support to parts of the application 2024-07-13 19:14:34 +02:00
Leon Styhre e0c57b068d Added localization support to parts of the application 2024-07-13 12:32:16 +02:00
Leon Styhre 59507ecc0c Renamed the zh_rCN locale to zh_CN 2024-07-12 21:25:43 +02:00
Leon Styhre a5b1b17c2c Changed the application name in all header files 2024-07-10 18:04:40 +02:00
Leon Styhre 6d9a95a667 Added initial zh_rCN localization support 2024-07-10 17:52:44 +02:00
Leon Styhre 43060f9b41 Added an error popup if incorrect credentials are used when scraping using ScreenScraper 2024-07-08 17:53:15 +02:00
Leon Styhre 7b4cfefbc4 Fixed a typo where the 32:9 aspect ratio was referred to as 32:0 2024-07-06 13:07:25 +02:00
Leon Styhre 1df2641e0c Changed to scaling the menu title per language instead of the overall menu 2024-07-04 19:33:07 +02:00
Leon Styhre 6b541ad501 Added localization support to parts of the application 2024-07-04 18:53:13 +02:00
Leon Styhre 1700bb195c Removed some forced uppercase conversions 2024-07-04 18:47:26 +02:00
Leon Styhre 661bb5d539 Added support for per-language menu scaling 2024-07-04 18:38:49 +02:00
Leon Styhre dfc217d006 Added localization support for en_US to be able to handle special cases 2024-07-04 18:36:37 +02:00
Leon Styhre eeccee307d Added a menu option for selecting the application language 2024-07-02 23:57:44 +02:00
Leon Styhre e3148e6cda (Windows) Added an extra precaution in case of an invalid locale entry 2024-07-02 22:09:51 +02:00
Leon Styhre 2d3a559cee Added support for falling back to the closest matching locale if there is not an exact match 2024-07-02 22:05:40 +02:00
Leon Styhre 63729cce19 (Android) Added localization support 2024-07-02 18:04:42 +02:00
Leon Styhre 302305b3ee Changed to using SDL_GetPreferredLocales() also on Linux
Also set the LANGUAGE environment variable on Linux
2024-06-30 23:22:48 +02:00
Leon Styhre 552f540a49 (macOS) Added language auto-detection 2024-06-30 23:10:04 +02:00
Leon Styhre 51c9507b87 (Windows) Added localization support 2024-06-30 22:27:22 +02:00
Leon Styhre ec8a49623a Added initial localization support 2024-06-29 21:24:28 +02:00
Leon Styhre 82bd856366 (Windows) Fixed an issue where video textures were sometimes not aligned correctly 2024-06-28 22:44:21 +02:00
Leon Styhre 38a99abf79 (Windows) Video textures were sometimes not aligned correctly horizontally 2024-06-28 22:17:19 +02:00
Leon Styhre cfa53c5097 Fixed a GCC compiler warning 2024-06-23 21:39:02 +02:00
Leon Styhre 990e26369d Added 'backgroundMargins' and 'backgroundCornerRadius' properties to the datetime element 2024-06-16 22:39:41 +02:00
Leon Styhre 8b5a447da6 Bumped the version to 3.1.0-alpha 2024-06-16 21:47:12 +02:00
XargonWan d6e1bf606c Updated to ES-DE 3.0.3 2024-06-15 19:23:32 +09:00
Leon Styhre e0b555e51d Bumped the version to 3.0.3 2024-06-09 21:54:49 +02:00
Leon Styhre f240094191 Added an 'imageCropPos' property to the grid element 2024-06-05 20:22:44 +02:00
Leon Styhre 248df769eb Added an 'imageCropPos' property to the carousel element 2024-06-05 20:21:32 +02:00
Leon Styhre 3008011acd Added a 'cropPos' property to the video element 2024-06-05 18:46:27 +02:00
Leon Styhre 96452849e7 Added a 'cropPos' property to the image element 2024-06-05 18:43:36 +02:00
Leon Styhre 5dd7a371fe Added a 'selectedBackgroundCornerRadius' property to the textlist element 2024-06-03 17:34:07 +02:00
Leon Styhre c8c601bcc9 Added a 'backgroundCornerRadius' property to the text element 2024-06-03 17:27:00 +02:00
Leon Styhre 87dc77ceaa Added a 'selectedBackgroundMargins' property to the textlist element 2024-06-02 22:36:52 +02:00
Leon Styhre f1642393a4 Added a 'backgroundMargins' property to the text element 2024-06-02 22:30:41 +02:00
Leon Styhre f53650072b Added a 'selectedItemOffset' property to the carousel element 2024-06-02 17:01:38 +02:00
Leon Styhre 05e641c04e (Android) Added experimental support for running ES-DE as the home app 2024-05-20 19:49:28 +02:00
Leon Styhre b9805053a9 Fixed an issue where AudioManager::deinit() could cause a crash 2024-05-19 18:42:29 +02:00
Leon Styhre 7cc901bb7f Fixed an issue where updating font textures caused random glyph artifacts 2024-05-19 18:39:26 +02:00
Leon Styhre 4cd4a8e6c0 Bumped the version to 3.0.2 2024-05-11 16:07:42 +02:00
Leon Styhre 47baa3629a Added a User-Agent string when making non-scraper HTTP requests 2024-04-16 20:59:41 +02:00
Leon Styhre a021fc22a9 Moved ApplicationVersion.h from es-app to es-core 2024-04-16 20:57:04 +02:00
Leon Styhre 9cf9b942ee (Android) Added a 'Back button/back swipe exits app' menu option 2024-04-08 22:07:52 +02:00
Leon Styhre 9b7685dd5d Fixed an issue where the application couldn't be built with an older SDL release than 2.0.14 2024-04-08 19:32:30 +02:00
Leon Styhre f839ced47b Improved multithreading for the network code 2024-04-08 19:26:08 +02:00
XargonWan 577449f018 Merge branch 'master' of https://gitlab.com/es-de/emulationstation-de into update/3.1 2024-03-13 09:18:49 +01:00
Leon Styhre 8a91c558db Fixed some deprecation warnings in VideoFFmpegComponent.cpp when building with FFmpeg 6.1 or higher 2024-03-10 17:24:02 +01:00
Leon Styhre 28c91d1c0e Prepared code in VideoFFmpegComponent.cpp for how to handle the deprecated AVFrame::pkt_pos and AVFrame::pkt_size fields 2024-03-10 16:48:26 +01:00
Leon Styhre 4260ecdbfc (Linux and Unix) Made it possible to change the application data directory using the ESDE_APPDATA_DIR environment variable 2024-03-10 14:56:19 +01:00
Leon Styhre 863d8b04af (Android) Removed support for the Lite release 2024-03-09 13:03:59 +01:00
Leon Styhre a49f22144f (Android) Removed symlink support 2024-03-09 12:30:28 +01:00
Leon Styhre 83baa5b5d0 Added a more informative error message than 'HTTP error code 430' when exceeding the daily ScreenScraper quota 2024-03-02 15:49:43 +01:00
Leon Styhre d806e9376d (Android) Fixed an issue where pressing the backspace key twice while editing text using a physical keyboard would close the text input dialog 2024-02-26 18:03:47 +01:00
Leon Styhre 68c906635f (Android) Added a check for application updates on startup 2024-02-25 12:26:32 +01:00
XargonWan 119cc001a2 Merge remote-tracking branch 'upstream/stable-3.0' into update/3.0 2024-02-19 15:32:54 +01:00
Leon Styhre 7e64c15388 (Android) Added a reset of the video element delay timer on activity resume 2024-02-10 10:49:02 +01:00
Leon Styhre 2a2400fc73 Changed the VideoFFmpegComponent stream re-sync threshold from 2.0 to 1.2 seconds 2024-02-10 10:45:19 +01:00
Leon Styhre bd6c9646fc The VideoFFmpegComponent audio and video streams are now re-synchronized after resuming the appliction 2024-02-08 19:27:15 +01:00
Leon Styhre 2e5f56970a Fixed a few issues where text editing was not stopped when leaving the text edit popup dialogs 2024-02-08 19:20:09 +01:00
Leon Styhre a8f93cb2bb (Android) Made the multiline text edit popup smaller when using the Android soft keyboard 2024-02-07 22:33:35 +01:00
Leon Styhre 2822cadc1f Putting the computer to sleep while a video was playing will no longer result in a massive fast-forward on resume 2024-02-07 21:53:15 +01:00
Leon Styhre 2f599846a9 (Android) Disabled the UserThemeDirectory setting 2024-02-04 16:47:31 +01:00
Leon Styhre 45bcfa9179 (Android) Enabled the use of the OS-supplied virtual keyboard if the ES-DE virtual keyboard setting has been disabled 2024-02-01 23:25:43 +01:00
Leon Styhre a1a104e003 (Android) Added an option for controlling the touch overlay opacity
Also added an 'extra small' overlay size entry
2024-01-29 22:37:45 +01:00
Leon Styhre f8d2086ef1 Changed the default theme from slate-es-de to linear-es-de 2024-01-28 18:50:26 +01:00
Leon Styhre 24c3817aaa Made the text element 'defaultValue' property usable with metadata types systemName, systemFullname, sourceSystemName and sourceSystemFullname 2024-01-28 12:34:41 +01:00
Leon Styhre 0b33884baa Combining video pillarboxes with rounded corners will no longer round corners for the actual video frame (except for extreme values) 2024-01-27 22:41:48 +01:00
Leon Styhre 54125ca7ad Fixed an issue where videos were sometimes positioned incorrectly if combining pillarboxes with rounded corners while using an origin value higher than 0.5 2024-01-27 22:09:02 +01:00
Leon Styhre 99c80e389a Added a 'selectorWidth' property to the textlist element 2024-01-27 14:50:32 +01:00
Leon Styhre 6dff5ac75c Added a 'hideIfZero' property to the rating element 2024-01-27 13:32:58 +01:00
Leon Styhre 00e6908ccd Fixed an issue where the last row of grids with fractionalRows set to true would sometimes not render correctly 2024-01-21 15:42:19 +01:00
Leon Styhre 531c72cfb7 Fixed an issue where theme loading debug output would sometimes print incorrect paths when the configuration included files using variables 2024-01-21 14:22:49 +01:00
Leon Styhre d27b0f85e3 Changed some more theme loading errors to state that legacy configuration is simply unsupported 2024-01-21 13:27:39 +01:00
Leon Styhre 45ab2228fd If a formatVersion theme tag is found the error message now states that it's an unsupported tag and not a legacy tag 2024-01-21 13:22:26 +01:00
Leon Styhre 8244b4229b Changed the menu position for the button swap setting 2024-01-17 22:31:10 +01:00
Leon Styhre 0e636f1bb3 Made the A/B and X/Y button swap setting not affect keyboard input 2024-01-17 22:19:15 +01:00
Leon Styhre dcb2aaedef Added an option to the Input device settings menu to swap the A/B and X/Y buttons 2024-01-17 22:09:50 +01:00
Leon Styhre c9ff27b3be (Android) Separated the build artifacts for the Full and Lite releases 2024-01-15 19:20:44 +01:00
Leon Styhre 3964cb2bcf (Android) Fixed some CMake issues when building ARM and x86 at the same time 2024-01-15 17:39:25 +01:00
Leon Styhre ba7874b0e7 Fixed an issue where touch input was not logged correctly 2024-01-14 22:18:21 +01:00
Leon Styhre c27ee24cc4 (Android) Added fade-out support to the touch overlay 2024-01-14 21:55:09 +01:00
Leon Styhre 927cb6f2f7 (Android) Added support for medium, large and small touch overlay sizes 2024-01-14 12:36:21 +01:00
Leon Styhre 183e8a1f93 (Android) Added shoulder and trigger buttons to the touch overlay 2024-01-13 19:44:42 +01:00
Leon Styhre 2fd58b3052 Fixed a compiler error and a compiler warning 2024-01-13 16:22:33 +01:00
Leon Styhre e91512a519 (Android) Added initial touch overlay support 2024-01-13 16:14:46 +01:00
Leon Styhre 0535f0d333 Removed the ScraperHaltOnInvalidMedia option and corresponding menu entry 2024-01-11 01:02:35 +01:00
Leon Styhre ee0f2be819 Added a ScraperIgnoreHTTP404Errors option to specifically ignore 404 errors (resource not found) 2024-01-11 00:46:11 +01:00
Leon Styhre 39bb28e353 Fixed an issue where controllers were sometimes not added correctly when there was a mix of supported and unsupported devices present 2024-01-08 21:25:33 +01:00
Leon Styhre c2201da47a (Android) Added a system directories creation state to the splash screen 2024-01-06 12:55:29 +01:00
Leon Styhre 6bad84a27a Fixed a number of potential issues where SDL_Event unions were not properly initialized 2024-01-05 10:42:28 +01:00
Leon Styhre 9cd35bed3d (Android) Pressing the back button now closes the application 2024-01-04 21:40:51 +01:00
Leon Styhre 83ff89acb2 (Android) Removed support for using the SAF to list directory contents 2024-01-03 17:32:04 +01:00
Leon Styhre d934cfb48f Added support for filtering UTF-8 strings using UTF8-CPP 2024-01-03 17:29:22 +01:00
Leon Styhre 63c21fcea0 (Android) Added support for getting directory listings via the SAF 2023-12-30 17:01:54 +01:00
Leon Styhre 88778e47a5 (Android) Some customizations for the Lite release 2023-12-25 23:23:39 +01:00
Leon Styhre 476230606b Placeholder entries in es_systems.xml are now skipped by default when creating the system directories and systemsinfo.txt files
Also added a CreatePlaceholderSystemDirectories option that can be manually set in es_settings.xml to still create placeholder directories
2023-12-25 13:12:14 +01:00
Leon Styhre cfb71c378f The HTTP error code will now be shown on scraper errors instead of the 'File is smaller than 350 bytes' message 2023-12-24 11:48:14 +01:00
Leon Styhre b863861399 (Android) Disabled the DisableComposition setting and corresponding menu option 2023-12-24 00:37:42 +01:00
Leon Styhre 5ffd06736a (Android) Fixed an issue where the Alt+F4 keyboard quit shortcut wouldn't work 2023-12-24 00:30:24 +01:00
Leon Styhre 458560bcd9 (Android) Changed the theme directory parsing order 2023-12-23 23:41:51 +01:00
Leon Styhre c5caab290e (Android) Disabled the quit menu 2023-12-23 23:28:22 +01:00
Leon Styhre 193f98cc1e (Android) Disabled the RunInBackground setting and corresponding menu option 2023-12-23 23:14:25 +01:00
Leon Styhre e3387c9016 Changed the game launch state to be kept in Window instead of ViewController 2023-12-23 23:03:40 +01:00