mirror of
https://protopirate.net/ProtoPirate/ProtoPirate.git
synced 2026-11-23 09:08:11 +00:00
REFACTORS and OPTIMIZATIONS, PLUGIN and HOST API changes * Re-ordered strucct variables for less padding and smaller compiled code. HOST API: All plugins now use the same host api, and the host api has been extended to support. * Changed Tool Scene Host to Shared Plugin Host (and renamed sources) * Got rid of ProtoPirateToolScenePluginKind, and fixed the header hell that came with it! * ToolScenes are now SharedPlugins, we can refactor HOST API etc now. * Header Cleanup in Main App header file * Moved host api header file into helpers REFACTORS: Removed all API Host #defines from all plugins. * The code was ugly, I never liked it but followed convention * The AI found bug in unload caused by them was enough reason to kill them * Move Sub Decode and Timing Tuner plugin code logic from scenes source to plugins/XXX_plugin.c * Standarizes the 2 Tool Scenes with the other plugins. * Remove shared plugin pointers for each type, replaced with ONE void * * Remove all the Entry Point Checks in Plugins. * Remove plugin path from all plugins, use it once. PLUGIN CHANGES: Use Same SharedPlugin Struct for all Plugins that dont need to expose functions. * API of ALL Plugins is now the Size of the Host API, or PluginStruct if no API. * This only leaves Config and Bruteforce having own structs, as they have own API. * Remove emulate_plugin pointer from main app, we dont need it. * Remove plugin_ensure_loaded for Sub Decode and Timing Tuner, make it consistent and save 0.5Kb on FAP size. * PSA BF is now BRUTEFORCE, we have Renault as well now. * Made plugin names shorter, and removed plugin_names from the descriptor as we dont use them. (Save FAP Size) * SUB DECODE: Pack Context Struct for RAM, replace FuriStrings with char * * IF we can't determine BF, Pop an (Error) widget button. * Added INLINING in Plugin Host API (Compiler seems to already inline!) * Added Error button if can't load BF plugin. (Added to Saved Info too) * BRUTEFORCE speed improvement. (Don't update UI as often) Added REMOTE ANALYZER to ProtoPirate. * Is in its own plugin * Has ENABLE_REMOTE_ANALYZER * Looks at Modulation Type, automatically selects AM and FM for you. * Has new UI, with instructions and history shows preset. * Put Menu under Saved Remotes Added WELCOME SCREEN to ProtoPirate