{"push_id":609462701,"size":1,"distinct_size":1,"ref":"refs/heads/autogenerated_lua_error_email_reports","head":"c154e80ecbfb4be1b217af1041d10abfe9c149f9","before":"5b919a5db9ab90dd0ffac1a13ba189b996a6867c","commits":[{"sha":"c154e80ecbfb4be1b217af1041d10abfe9c149f9","author":{"email":"3192e078da104ebe877a2e3ad0120c37d3090897@live.co.uk","name":"J-Shep"},"message":"Implemented auto crash error reporting\n\nError Report Changes:\n1. Created \"report_error.lua\"\n2. Created a \"ui_report_error\" dialog which has text boxes for request info\n  from a player who's experienced an error.\n3. New \"Unsent error reports\" directory.\n4. New \"save_info.table\" persistance file:\n   Created to store a lua table containing data about saved games so that this\n   data can be lookedup without having to deepersist a saved game's state.\n5. Made App:run() start the error reporting process by displaying the error\nreport dialog.\n6. report_error.lua:makeReportMessage() is now responsible for printing crash\nerror messages to the console instead of App:run() doing this because it can\nprint more information.\n\nChanges Required For Error Report Changes:\n7. tree_ctrl.lua:findChildsPath(childs_name):\n   \"save_info.table\" only references a saved game with its name because\n   its path can change so error reports use this new function to find the\n   path for a saved game referenced in \"save_info.table\".\n8. GameUI:setScreenOffset(x, y)\n9. New file: choose_file.lua:\n   Used report_error.lua for when a player must manually select a saved game\n   to be attached to an error report. file_browser.lua also had to be edited\n   to support this new dialog.\n10. App:addWindow(constructor, ...):\n   Created to help non dialog class files make the app display dialogs and\n   called by report_error.lua\n11. UI:MakeScreenshot():\n   + optional name parameter.\n   + return screenshot's name.\n   These changes are required by error reports to give the error screenshots\n   suitable names.\n12. Utility:wait(delay)\n    This function is used by the error reporting coroutine to make it wait\n    for one second before telling the app to redraw itself, in order to\n    prevent the screen from flicking.\n13. Gave world's id numbers to allow the saved games for a world an error has\n    occured in to be auto found by report_error.lua.\n14. english.lua: new phrases for the \"Report Error\" dialog.\n15. App:announceError(...) : Used by the error report dialog for responding to\nits execution errors.","distinct":true,"url":"https://api.github.com/repos/J-Shep/CorsixTH/commits/c154e80ecbfb4be1b217af1041d10abfe9c149f9"}]}