Time Nick Message 00:50 sapier ok the new main menu is almost completed ... only thing missing are those just added "gamemode buttons" ... are those really necessary? what happens if there are more games than room for icons? 00:53 Jordach ehm, no ones thought of this for the cpp one ye 00:53 Jordach yet* 00:54 sapier I know still there'll never be a mainmenu fitting all your requirements as they are conflicting in way to many points ... if you want to fullfill at least most of it the only way is adding a scriptable mainmenu 01:40 sapier https://github.com/minetest/minetest/pull/677 is still waiting for comments/merge/drop 01:44 sapier ok there's a comment ... there's no chance it'll rebase to master until it's merged to one single commit ... even then git doesn't handle that much changes very vell 01:49 sapier I did not do those things in lua because I tried to reduce direct metatable usage to get chance to add more security features later 01:50 Jordach again with the security 01:50 Jordach we dont need it 01:50 Jordach if someone makes a bad mod, the community will flag it 01:50 sapier calm down it's not changing anything 01:55 sapier if you want to hack clients use mainmenu formspec I'm not gonna add any security features there ;-P 02:17 sapier ok after reading irc log of yesteray morning 3 times I hope I now understood what went wrong ... forget about my comment about rebasing too :-) 02:19 sapier Still imho kahrl's aproach using lua metatables is wrong as it's not adding any feature while adding requirement to have metatable access enabled in lua. Sandboxing lua doesn't make any sense with metatables available. 02:21 sapier at least not for the time compatibility is required ... as security features aren't very loved maybe grace time for dropping those might be gone before adding them 03:39 kahrl sapier: you want to restrict builtin from having metatable access? 03:50 kahrl any objections to this? https://github.com/minetest/minetest/issues/707 09:33 sapier kahrl: with current scriptapi implementation restricting metatable access isn't possible. If we want to sandbox lua this is a no go. That's (one of the major reasons) I tried to avoid adding new situations where metatable access is required. But looking at the opposition arising once the word "security" is written I start to doubt that ANY security feature will ever be added. As of code style pespective imho your suggestion is even way 12:21 sapier ... more clean. I wonder why my last sentence was cut. 12:22 RealBadAngel propably you reached characters limit per message 12:23 sapier maybe 12:23 sapier didn't even know there is a message limit 12:24 RealBadAngel its supposed to be 512 chars 12:30 sapier what? is this sms or irc? 19:06 sapier https://github.com/sapier/minetest/commits/next_gen_main_menu after adding menu bar support (game buttons) the luaformspec main menu now supports everything the oldfashined menu did ... and much more