nfengine icon indicating copy to clipboard operation
nfengine copied to clipboard

Refresh PackerTool and add new functionailities

Open lookeypl opened this issue 9 years ago • 0 comments

PackerTool is one huge chunk of legacy code to refresh. The tool will be useful for us in the future, so it will be necessary to refresh it, make new functionalities easier and make it more generic.

  • [ ] Fix code style:
    • [ ] Remove useless underscores (ex. p_UI -> pUI; m_command -> mCommand)
    • [ ] Constants should be ALL_CAPITALS (ex. helpStr_load -> HELP_STR_LOAD)
    • [ ] Use namespaces and anonymous namespaces where applicable
    • [ ] commends should have space between // and rest of the text
  • [ ] Code design improvements:
    • [ ] packerToolCommand should be more generic
    • [ ] packerToolException should inherit std::exception
    • [ ] packerToolCommand should be kept in a map in packerToolUI for faster command search
  • [ ] New features:
    • [ ] PackerTool configuration file (probably using JSON)
    • [ ] CLI should have command completion implemented (pressing Tab inputs possible commands, or completes it automatically if there is only one possible command found)
    • [ ] Editing contents of PAK file (this might require some new APIs to Packer)
  • [ ] GUI Mode:
    • [ ] A lightweight GUI library used for PackerTool GUI (maybe AntTweakBar could be used as such interface)
    • [ ] Visual representation of created PAK archive (a tree view of some kind)
    • [ ] Already created PAK file should have its contents visible (however without a tree view due to file path hashing, this probably should be separated from the rest of the archive)

lookeypl avatar Sep 23 '15 07:09 lookeypl