Time Nick Message 07:00 hmmmm i hate microsoft 07:00 hmmmm this is complete bullshit 07:12 VanessaE ? 07:13 VanessaE well everyone hates them, but why now? 07:15 hmmmm http://paste.dy.fi/c2u i got it :p 07:15 hmmmm so then now I can do this: 07:16 hmmmm #ifdef _WIN32 #define strlcpy(d, s, n) strcpy_s(d, n, s) #endif 15:56 tomreyn hey there 15:57 tomreyn looks like you're not using coverity's free (for open source) static analysis, yet: https://scan.coverity.com/projects?search=minetest 15:58 tomreyn i'm not affiliated with them, but it's kind of useful. 17:47 hmmmm guys 17:48 hmmmm when you are *making* a lua api that takes some sort of flags field, don't go and do your own thing, use getflagsfield() instead 17:48 hmmmm this accepts both the string flag format, "flag1, flag2, noflag3" or a table boolean format {flag1=true, flag2=true, flag3=false} 17:51 sapier can you add a doc in lua_api too? (if not already there) 18:00 sapier https://github.com/minetest/minetest/pull/1143 ... new aproach for clean client init. Investigation has shown the initial attempt to use existing messages to detect client beeing ready doesn't work reliable. Therefore it's useless to "abuse" a existing message as "ready". I added a new one which is now really sent only on client ready (after media, texture loading and preloading item images). 18:01 sapier old clients will (hopefully) work as good as before. but could suffer about some bugs hidden by broken texture dowload before. 18:11 MrElmux latest git suffers from (probably) missing strlcopy in c_content.cpp 18:11 hmmmm is that on windows? 18:12 hmmmm MrElmux, try this https://github.com/kwolekr/minetest/commit/3b7c5ca963a398a22dd2daa3406859040e7a8c5d 18:12 MrElmux no Arch Linux 18:13 hmmmm hmm 18:13 MrElmux missing headers ? 18:15 MrElmux it seems that strlcopy isnt a standard c function 18:15 hmmmm oh wow 18:15 hmmmm i'm sorry 18:15 hmmmm i thought it was posix standard for some reason 18:15 hmmmm you're right, linux doesn't have it 18:26 hmmmm well 18:26 hmmmm fuck drepper 18:26 hmmmm i wonder how much C he writes outside of glibc 18:26 hmmmm probably zero 18:27 hmmmm such a pompous, arrogant attitude, and thanks to him everybody who wants to use strlcpy and strlcat have to reimplement them 19:03 MrElmux thx works again 19:08 sapier https://gist.github.com/sapier/8904455 Does anyone (except me) understand what I have written in there? 19:09 hmmmm i get it 19:09 hmmmm wow that's actually a very nice diagram 19:09 hmmmm haha 19:10 sapier it's the new handling only ... old one was quite chaotic 19:12 sapier well it did work ... but did create "states" from multiple bool variables set or not set 19:39 emptty1 sapier: you may want to look at http://plantuml.sourceforge.net/ 19:41 specing java. NOPE 19:43 sfan5 eeeww.. java 19:44 sfan5 sapier: you may want to respond to https://github.com/minetest/minetest/pull/1143#issuecomment-34580868 19:50 sapier thanks emptty ... I've been looking for something like that before :-) 19:51 sapier well celeron55 didn't say anything about client and there's already something linke a client version so it's not a real difference 19:55 sapier and as I said the lua access is optional. 19:56 sfan5 can you add suggestion 1 then 19:56 sfan5 ? 19:56 sapier what's system information good for? 19:56 sfan5 nothing 19:57 sfan5 just informal 19:57 sfan5 could be used for statistics 19:57 sapier what exactly do you mean with "systeminformation"? 19:58 sfan5 >Return system information 19:58 sfan5 >e.g. "Linux/3.12.7 x86_64" 19:58 sapier and where to get that information? 19:58 sfan5 do you even click the link 19:58 sfan5 https://github.com/minetest/minetest/blob/master/src/porting.h#L170-174 19:59 sapier what's this gonna result on windows? 19:59 sapier w 19:59 sapier nothing 20:00 sapier wrong file 20:00 sfan5 Windows/6.1-Service_Pack_1 x86 for example 20:03 sapier I guess it won't be a big issue ... except I don't like to send more information about client then necessary ... especially as this is not minetest data 20:03 sapier lets hear what others do think about this first 20:03 sfan5 it is sent with the http user agent too 20:03 sfan5 the server would get it anyway 20:04 sfan5 (when the client uses http to fetch things [assuming remote_media and the mt server are on the same machine]) 20:04 sfan5 but it is available to lua this way too 20:24 sapier http is a feature you don't have to use 21:26 hmmmm ahhhh 21:26 hmmmm m_emerger was the work of kahrl 21:27 hmmmm pretty sure I can eliminate the entire IBackgroundBlockEmerger interface now 21:37 hmmmm https://github.com/minetest/minetest/commit/89f7dc1efd6b0062b4b9e5c3509c301ccadb7a13