Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Onion V4 release candidate (OnionUI#120)
* Initial restructuring (not in working condition) * Add RetroArch submodule * Moved retroarch-dingux to submodule * Revamped `mainUiBatPerc` - it now respects theming! New battery percentage theme variables: - `color` (hexidecimal color code) - `font` - `size` - `offset` (apply a vertical offset) - `onleft` (default=false, moves percentage to left side of icon) * Cleanup * Update updater * Add submodule `SearchFilter` * Build is working ✅ * Dynamically add featured themes * Set default theme * Cache downloaded themes * Enable `make release` to use current build * Update get_themes.sh * Test action * Test `pwd` * Action `checkout` * Fix syntax * Test container with user root in action * Test docker run cmd * Install docker * Added `-i` to bash call * Try with `source` instead * Removed `-it` flag (should be non-interactive) * Checkout submodules and build `core`, `apps` and `external` * Test makefile contents * Inspect checkout * Correction * Add `pwd` for inspection * Test * Try this * Try this 2 * Test this 3 * Does it even exist * Test 4 * With source bashrc * This should work then * Cleanup * Setup initial action * More workflows * `installUI` now shows progress * Updates - Separated configs from core - Implemented progress in installUI - Began work on installPrompt (to ask for fresh install or update) * Experimenting with resource management and rendering * Prompt menu and cleanup * Lots of debug and refactor * Update dotfile location * Indicate turning off after * Restructuring: `Layer 1, 2, 3` moved to `static/packages` + refactoring! * Update Makefile * Language improvements * Added empty ROM folders back + refactor + build up and running (SEGFAULT on prompt.c though) * Minor refactor * Implemented shared mk files and percBat service * Build is now `working on-device` * Keymon now working properly * Bootscreen now loads from theme's extra folder * Minor fixes (thank you Schmurtz) * Fix logs clearing * Updated X68000 core * Implemented suspend/resume for battery warning * Big oopsie: Batmon should run async - and bootScreen free resources * Fixed Game Switcher screenshot not showing + batmon shouldn't be executed arbitrarily * Theme Switcher now edits lang files and transfers problematic images * Made `settings.h` not rely on `libshmvar` * Cleanup + fixed `bg-io-testing` * Ensure romScreens are saved to profile * Fixed some keymappings * Don't delete old romScreens location * Fix RA install + updater detects installer - if only the `miyoo` folder has been copied, the runtime updater will detect the installation * Refined hide recents logic * New shortcut: Holding `MENU` button in MainUI launches the Game Switcher (OnionUI#43) * New shortcut: menu button launches the gameSwitcher from MainUI Short press will now launch gameSwitcher, works from MainUI only. Require to enable double buffering on gameSwitcher to display it corretly just after closing MainUI. * pico8 update to v0.0.2.18 & better icon Better icon for pico 8 fake-08 emulator updated to v0.0.2.18 * Save the current time after setting it * Changed shortcut to `HOLD MENU` Co-authored-by: Mathias H <[email protected]> * Corrected `config_flag_get` * Ports collection now uses new `infoPanel` * Moved romScreens location to root of current profile * Disabled the "Auto-loading succeeded" notification * chargingState updated with improved behaviour and theme support * Small corrections to battery logic * Forgot `#include` ... * Fixed romScreens dir * packageManager : Change the prev/next page keys to L/R Change the previous/next page keys from L2/R2 to L/R * Make sure keymon doesn't suspend when starting up from chargingState * `chargingState` now puts CPU in `powersave` mode * Made buttons ***nicer*** * Implemented `lang` loader and code-splitted render functions * Optimizations, fixes, keymon, and began work on tweaks * Also check for running process - game switcher was reported when RA failed to quit - this is still a faster check than before, if first condition is false! * Fixed prompt not giving correct return codes * Added install spin animation * Update config.json Specific for pico-8 : the thumbnail is the rom itself so rompath and imgpath are the same * New icons (OnionUI#49) * Added confirm dialog to pacman on install (if no changes) * Allow quit when changes are made * Added change tracking and "reapply all" to pacMan * Improved theme resource management * Implemented Tweaks menu skeleton (no actions yet) * Fixed screenshot names for apps! * PacMan: new behaviour during Onion installation... - Ask for confirmation if no `Emu` is selected when pressing START * Fixed footer background rendering * Fixed invisible apps after killing MainUI + worked on Tweaks and render engine * Updated manual pages + new theme variable "hideLabels" (icons/hints sep.) + theme overrides in Tweaks * Tweaks: `System`, `Menu button`, and `User interface` settings implemented * Updated app descriptions * More appropriate icon for PacMan * Fixed RA startup command * Fixed crash because of `hideLabels`, render battery on top of footer * Support theme changes in our bins * Removed initial background blit (was causing glitch behaviour) * Added even more contrast to toggles (better support for light themes) * Added icons to `Tweaks` * Draw battery on header change * gameSwitcher go back in simple buffering (OnionUI#54) * gameSwitcher go back in simple buffering * pacman doesn't select the next item automatically after a modification * Caches docker image pull + direct toolchain access via `make toolchain` * Fixed clock, long press not working after setting time + Added `Expert mode shortcut` to pacman + Updated `Search` to stay inside apps + Implemented tools in `Tweaks` + Added tweak: `MainUI: Start tab` (which tab MainUI starts on) + Added tweak: `Emulated time skip` (how many hours to add on startup) * Startup tab now working * All tools implemented for `Tweaks` * Reenabled `MENU+POWER` for screenshots + removed click sounds when using menu button in MainUI + mapped `SELECT` to context menu in MainUI (additionally) * Hide red frame as soon as charger is plugged in * Added `MainUI: X button` and `Y button` shortcuts * app clock fixes (OnionUI#51) * app clock fixes * added Clock app to the apps Makefile section * added Clock app sources to the Apps directory to build via toolchain * * fixed linkage * removed useless comments from makefile * * removed unused variable * added ability to quit on B button * * removed clock app from static dir * fixed rotation of date/time * * added fallback to default datetime "01/01/2022" when year is 1970 * added datetime hint * refactoring clock app * * updated the app description * * fixed review notes * Remove unused/deprecated cores * Updated `playActivityUI`: No longer shows entries <1m + updated background * Updated `SearchFilter` and added `Back` to `playActivityUI` bg * Officially bumped version to `v4.0.0` and added `autorun.inf` ! * Optimized the 16x16 version of the ico and added an icon for mac * be able to navigate backward in the manual (OnionUI#53) * * implemented load of manual via infoPanel * * removed old manual binary * * added backwards navigation * updated images path to relative * changed directory to the manual's one in the launcher script * * implemented cache of images with sliding window of 3 items * * moved drawing image with cache into a separate file * * removed useless comment * * fixed bugs in images caching * added images cache cleaning * added ability to not strip in dev build * added debug symbols in dev build * Renaming cores in Package Manager (OnionUI#90) * gameSwitcher go back in simple buffering - gameSwitcher go back in simple buffering - pacman doesn't select the next item automatically after a modification * pac-man doesn't select the next item automatically after a modification pac-man doesn't select the next item automatically after a modification * Remove commented code * Experimental cores's folders renamed For better ordering in Onion Pack Manager. Renaming template : Manufacturer - Systemid (Corename) Example : Nintendo - GBA (mGBA) * Removing some cores from the Package Manager Removed from the experimental's section of Package Installer (core binaries still available) : - Arcade (Final Burn Alpha) - Arcade (MAME 2003) - Palm OS - m515 (mu) MSX modifications : - adding libretro fmsx core - fmsx_libretro.so is now by default in Onion's console section because it supports save states. - bluemsx_libretro.so is now relayed in experimental section. * Renaming of the "Consoles" section of Package Manager * Update Pico8 / FAKE08 emulator no more tearing thank to the double buffering activation See issue : jtothebell/fake-08#153 * Palm OS - m515 (mu) restored in Package manager * gameSwitcher : Images fixes & pacman : core renames (OnionUI#97) * gameSwitcher go back in simple buffering - gameSwitcher go back in simple buffering - pacman doesn't select the next item automatically after a modification * pac-man doesn't select the next item automatically after a modification pac-man doesn't select the next item automatically after a modification * Remove commented code * Experimental cores's folders renamed For better ordering in Onion Pack Manager. Renaming template : Manufacturer - Systemid (Corename) Example : Nintendo - GBA (mGBA) * Removing some cores from the Package Manager Removed from the experimental's section of Package Installer (core binaries still available) : - Arcade (Final Burn Alpha) - Arcade (MAME 2003) - Palm OS - m515 (mu) MSX modifications : - adding libretro fmsx core - fmsx_libretro.so is now by default in Onion's console section because it supports save states. - bluemsx_libretro.so is now relayed in experimental section. * Renaming of the "Consoles" section of Package Manager * Update Pico8 / FAKE08 emulator no more tearing thank to the double buffering activation See issue : jtothebell/fake-08#153 * Palm OS - m515 (mu) restored in Package manager * gameSwitcher : Images fixes & pacman : core renames - Fix of some images resources from the gameswitcher - Restored previously deleted cores in Pacman, now hidden in pacman thanks to"." prefix - remove prefix "Game engine - " to Pico8 and Tic80 for easier finding * Optimized the batmon * Batmon: Reset ticks * pacman updates (OnionUI#94) * pacman updates * fixes OnionUI#91 (exclude Mac's dot items) * fix compiler warnings * * removed excessive filename checks * Began working on advanced section of Tweaks + chargingState optimizations * Done optimizing chargingState * chargingState fix * fixed infopanel for single image operation (OnionUI#99) * Added change click to Tweaks + install batmon fix * Added `msleep(15)` to `updateKeystate` (lowers CPU usage significantly!) * `Advanced` section in `Tweaks` implemented (Tweaks done!!) + Button test page removed from MainUI * Remove included apps during install * Update build.yml * fixed memory leak for baseTime (OnionUI#103) * Implemented `imageCache` for `gameSwitcher` + no more warnings + began work on separating into header/source files * Added more submenus to Tweaks + fixed GameSwitcher CPU usage at 0 games * Fixed `prompt` segfault (install should now work) * Fixed "press any key" message not showing * Fixed too long vibration * Fixed timing of `chargingState` + improved `batmon` logic * improved navigation for infoPanel (OnionUI#105) * * added navigation by left/right * added exit by menu * * fixed direction * `GameSwitcher` revamp + theme support * Sound "change" now supports bgm volume setting * Disable auto save/load for `mame2003-plus` * Add tests with GTest for infoPanel (OnionUI#101) * temp commit * * removed overriding of CFLAGS * moved compilation of imagesCache out of recipes.mk * fixed review note * moved src/test to test * * suppressed build messages for test * * explicit declaration of c/cpp standards * fixed includes for test * * set default c standard explicitly * * added test to GH actions * * added gtest to github actions * * get rid of sudo in actions * * fix build * * switch off test in action * * renamed test module to more abstract name * enabled test at CI * * fix CI * * fix test CI * * fix test CI * * fix CI * * fix CI * * fix CI * * fix CI * * fix CI * * fix CI * * moved test to separate GH action * * fixed test * * fix test * * fix test * * fix test * * fix test * * fix test * * fixed typo * Updated install splash + retaining `.tmp_update/config` folder during install * `gameSwitcher` and `keymon` brightness is now in sync * Making Coleco works out of box (OnionUI#109) Adding COLECO.opt , it's a core option file "Per Content Directory Override" bluemsx_cartmapper = "Auto" bluemsx_msxtype = "ColecoVision" Detailed by retrobreeze : https://youtu.be/tDtrmM-hLno?t=52 Co-authored-by: Mathias H <[email protected]> * Fix `batmon` and include it in `build` * Tabs -> spaces * Added slideshow to `installUI` + fixed installer * Better wording for install tips * Fixed CPU consumption of `infoPanel` (OnionUI#111) * Fixed CPU consumption of `infoPanel` * added 100ms sleep between reading keystrokes * * updated sleep time from 100ms to 4ms per review note Co-authored-by: Mathias H <[email protected]> * Add Terminal submodule * Better naming for packages + moved packages `/mnt/SDCARD/App/The_Onion_Installer/data/Layer[1|2|3]` -> `/mnt/SDCARD/Packages/[Emu|App|RApp]` + added `Terminal` app * Remove old apps on `repair` (fresh install + keep settings) * Updated RA (OnionUI#112) * Update RA subversion * Fixes to install process + remap for GB * Added progress spinner to `Tweaks -> Tools` * wording: "key" -> "button" * Forgot to remove debug `sleep` * Update option now only available for v4+ * Reapply theme after install * Simplified wording on install slides, upped the timeout to 10s + changed the install complete to be installUI (the user can then watch the rest of the slides) * image browsing for infoPanel (OnionUI#106) * image browsing for infoPanel * * draw black backgroud before drawing image * added support of trailing path in dir path * * added basic theming support for infoPanel * * added sorting of images * view more than 100 images * * added lang for NEXT button * added titles for images from JSON for infoPanel * added theming for infoPanel * * added ability to not to quit on navigation keys * unified curly braces position * fixed crash on freeing resources * * loaded settings in infoPanel * * translated NEXT to other languages * * made title optional in JSON * * fixed background rendering * * forthed theme for Onion Manual * fixed background rendering for single image * removed extra background rendering Co-authored-by: Mathias H <[email protected]> * infoPanel sigHandler fixed * Add `beta` to version number * Implemented custom header/footer for GS + added support for theme frame border * Added ability to disable GS header/footer * Corrected popup title color * GS: Toggle total time * Fix dialog: Draw transparent black behind * Fixed Quick Guide slide titles + unified GS config location * Fix: Pac-Man now disregards `Roms` folder when checking installed status * Partial packages will now either be fully installed or removed * Tweaks: Updated the reset logic + removed "Databases" BIOS folder + enabled "save state thumbnails" in RA + simplified the quick menu in RA + enabled "quit on close content" in RA * Fixed arrows in Tweaks not being centered + Fixed double "Off" selection for X/Y in Tweaks + Enabled skip disclaimer and warnings in mame * Fixed imageCache (modulo operation wasn't working with negative numbers) + Changed `B` in GS to be "exit to menu" + Added left/right navigation to `installUI` * Pac-Man: Improved hint + status bar + reverted "Upgrade" option for < V4 * Ignore mac's special files in infoPanel (OnionUI#118) * fixes OnionUI#117 Co-authored-by: Mathias H <[email protected]> * Improved keymon * Pac-Man: Show reinstalls as "added" + alt. start icon * Pac-Man: Better navigation * Add `DinguxCommander` submodule * Add `DinguxCommander` to external builds * Add third-parties to `make clean` * Final touches * Add PCSX-ReARMed standalone in experimental section (OnionUI#119) * Add PCSX-ReARMed standalone in experimental section PCSX-ReARMed added with enhanced resolution enabled by default. Up to date (commit 029e681) * Little details in retroarch.cfg - set scrolling text speed (was too slow) - disable fastforward frameskip (the Miyoo Mini can handle good framerate on FF) - change default path for screenshots * Adding mame2003-xtreme to experimental cores mame2003-xtreme is a great alternative to mame2003 plus * Corrections on PCSX standalone * Update km_mame2003_xtreme_libretro.so Compilation made with flags recommended by Snow : https://discord.com/channels/529983248114122762/926552349609164872/1014557422561546251 Co-authored-by: Mathias H <[email protected]> * Update version `-rc` Co-authored-by: Sichroteph <[email protected]> Co-authored-by: Schmurtz <[email protected]> Co-authored-by: DeepLight01 <[email protected]> Co-authored-by: Sergey G <[email protected]>
- Loading branch information