{"push_id":598049206,"size":10,"distinct_size":6,"ref":"refs/heads/lua52","head":"2260571c35452bd1f943951409679ef18811ac1d","before":"5fb5edbd013301d2453ae1f94c818aed591a17af","commits":[{"sha":"2cbc5dbeeac702d63c8ea867f13e009f376ca4a0","author":{"email":"b3749b89cbedcca05725df6a4f9140692ea29313@gmail.com","name":"Stephen E. Baker"},"message":"Update README.md\n\nGood Old Games changed it's name to GOG.com back in 2012: http://www.rockpapershotgun.com/2012/03/27/good-old-games-gone-relaunches-as-gog-com/","distinct":false,"url":"https://api.github.com/repos/TheCycoONE/CorsixTH/commits/2cbc5dbeeac702d63c8ea867f13e009f376ca4a0"},{"sha":"96df7e183e58bce1b1d8f63b0bd3937855fe72ea","author":{"email":"9a225e3959709243ed5006e3a729425214ac2f95@gmail.com","name":"Edvin"},"message":"Merge pull request #712 from TheCycoONE/gogcom\n\nUpdate README.md (GOG.com name change)","distinct":false,"url":"https://api.github.com/repos/TheCycoONE/CorsixTH/commits/96df7e183e58bce1b1d8f63b0bd3937855fe72ea"},{"sha":"f06682835d6447ef2910e36a601670bb4e165420","author":{"email":"3c096611a4c1f9f73d986f4dd123edb83d9cff5a@gmail.com","name":"Alberth"},"message":"Simplify shift and masking operations in the extended object list of maps.","distinct":false,"url":"https://api.github.com/repos/TheCycoONE/CorsixTH/commits/f06682835d6447ef2910e36a601670bb4e165420"},{"sha":"e3d2b0377552ef2bdd1a2e93e49a09270a25fd71","author":{"email":"3c096611a4c1f9f73d986f4dd123edb83d9cff5a@gmail.com","name":"Alberth"},"message":"Improve expected size of c++ data, and add explicit casts.\n\nThis eliminates most compiler warnings.","distinct":false,"url":"https://api.github.com/repos/TheCycoONE/CorsixTH/commits/e3d2b0377552ef2bdd1a2e93e49a09270a25fd71"},{"sha":"968dc9e740377d26ca4e3e6c56709b0477d93f58","author":{"email":"b3749b89cbedcca05725df6a4f9140692ea29313@gmail.com","name":"Stephen E. Baker"},"message":"Lua 5.2 compatibility\n\nWith this commit the game is fully playable in Lua 5.2.\n\nSeveral compatibility functions were added or corrected to the luaT C api:\nluaT_load - replaces lua_load\nluaT_register - replaces lua_register and old luaT_register when second\nargument is not null.  (Not assigned to global)\nluaT_setfuncs - replaces lua_register when second argument is null\nluaT_resume - replaces lua_resume\nlua_setfenv - corrections to resulting stack in lua 5.2\n\nluaL_typerror was removed. I replaced it with luaL_argerror with suitable\nmessages generated for each context (which is what that function did in\n5.1).\n\nOther changes to the lua C API required us to change all luaL_reg to\nluaL_Reg which is compatible with 5.1 and 5.2.\n\nThere were many places in the existing C code which were not using the\ncompatibility functions already written, they were all changed.\n\nAdditionally a few changes had to be made in lua.  In particular:\nIt is an error in lua 5.2 to pass nil to tonumber.\nCompatibility replacements for debug api functions were needed for\npersistence.\nloadstring is replaced by load in lua 5.2\n\nl_persist_dofile was using all lua_upvalueindex which is\noff from luaT_upvalueindex by 1 in lua 5.2 - the environment is stored\nat index 1. After several fruitless attempts at finding where the upvalue\nwas being cross, I decided to change all upvalueindex's to the luaT\ncompatbility versions.\n\nThis as well as the compatibility replacement for debug.getfenv allows\nsaving games to work.  They can be loaded again in lua 5.1.","distinct":true,"url":"https://api.github.com/repos/TheCycoONE/CorsixTH/commits/968dc9e740377d26ca4e3e6c56709b0477d93f58"},{"sha":"d926631397d2039857e7c7119239e85962eeb510","author":{"email":"b3749b89cbedcca05725df6a4f9140692ea29313@gmail.com","name":"Stephen E. Baker"},"message":"Add debugging functions for viewing lua state in C\n\nluaT_printstack shows the items currently in the lua stack\nluaT_printrawtable shows the items in a 1 indexed table (similar to ipairs)","distinct":true,"url":"https://api.github.com/repos/TheCycoONE/CorsixTH/commits/d926631397d2039857e7c7119239e85962eeb510"},{"sha":"e9cc1a04986f82acd4d552e2300fefc6a1eae497","author":{"email":"b3749b89cbedcca05725df6a4f9140692ea29313@gmail.com","name":"Stephen E. Baker"},"message":"Update CorsixTH.lua to indicate official support for Lua 5.2","distinct":true,"url":"https://api.github.com/repos/TheCycoONE/CorsixTH/commits/e9cc1a04986f82acd4d552e2300fefc6a1eae497"},{"sha":"b42445b654a12b224b66b020f1d086bad9261ebe","author":{"email":"b3749b89cbedcca05725df6a4f9140692ea29313@gmail.com","name":"Stephen E. Baker"},"message":"Add Lua 5.3 support\n\nThe only incompatibilities with Lua 5.2 revolve around the treating of\nintegers.\n\nAll instances of lua_checkint and lua_optint have been replaced with\nLua 5.3 compatible lua_checkinteger and lua_optinteger methods which have\nexisted since Lua 5.1.\n\nAdditionally Lua 5.3 is much pickier about methods that take ints actually\nreceiving ints, so a number of math.floor calls have been added to the lua\nto ensure the appropriate values are passed.","distinct":true,"url":"https://api.github.com/repos/TheCycoONE/CorsixTH/commits/b42445b654a12b224b66b020f1d086bad9261ebe"},{"sha":"5bb43e8d135a6445feae2364de18178f18bd6179","author":{"email":"b3749b89cbedcca05725df6a4f9140692ea29313@gmail.com","name":"Stephen E. Baker"},"message":"Make FindLua more flexible for finding different versions and namings","distinct":true,"url":"https://api.github.com/repos/TheCycoONE/CorsixTH/commits/5bb43e8d135a6445feae2364de18178f18bd6179"},{"sha":"2260571c35452bd1f943951409679ef18811ac1d","author":{"email":"b3749b89cbedcca05725df6a4f9140692ea29313@gmail.com","name":"Stephen E. Baker"},"message":"Cast all luaL_[check|opt]integer calls to appropriate types to avoid warnings","distinct":true,"url":"https://api.github.com/repos/TheCycoONE/CorsixTH/commits/2260571c35452bd1f943951409679ef18811ac1d"}]}