Pk11 - Major refactor: Don't keep JSON around after loading, switch to RapidJSON (#203)
- Add RapidJSON Prep for next commit build Major refactor: Don't keep JSON around after loading, switch to RapidJSON This is WIP! I have only changed some of the JSON over to RapidJSON, there's still more work to do. The most notable improvements are on inital load and in the UniStore list. I hope this is free of regressions, but its a huge commit, there might be some regressions -- be warned if using git builds. Please let me know anything that's broken. build After CIA self-update, cleanly exit and reload build Fix download list not showing top screen info So that's why it had a special case :sweat_smile It now properly fades out build If A pressed on empty queue, return to entry info build keyboard: Restore tolower Yes, it is required unless you want to force the user to type capitals build Fix messing up the global entries vector on downloading/updating UniStores without selecting them build Remove CITRA flag Azahar has fixed the wifi check build download: Switch to RapidJSON build theme: Convert to RapidJSON, refactor to not store JSON This one looks big, but its not too too scary. Most of the changes are because I changed the global from "std::unique_ptr UIThemes" to "Theme UITheme" because there's no compelling reason for it to be a pointer The other reason its so big is that the Theme now represents one single theme where before it was both a single theme and all the themes build language: Switch to RapidJSON, load to std::map instead of keeping JSON build Fix crash on invalid theme JSON I accidentally wrote Config to Theme.json and found this :p build config: Use RapidJSON & don't store JSON build Old JSON cleanup build meta: Switch to RapidJSON and refactor to not store as JSON Big change on this one too, proper structured data at runtime instead of just JSON build Remove nlohmann::json build Fix crash in arg mode when trying to load no-icon icon build Fix auto-update UniStores setting not being applied correctly; use more descriptive variable names for those settings