-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lua 5.3 changes #1516
Lua 5.3 changes #1516
Conversation
Since Lua now has integers and is fairly strict about it, handle inf, nan, etc. by using default values if these pop up. This is observed when the OSC is initialized and the video size parameters are all 0 which turn into divide-by-zero (inf in Lua) which flows through and eventually are expected to be integers.
The string format is rejecting values like '400.9' because they can't be (losslessly) converted to integers. See: http://article.gmane.org/gmane.comp.lang.lua.general/113743
d232953
to
92f25cd
Compare
92f25cd
to
229678b
Compare
@wm4 Is Lua 5.3 something you're still interested in seeing? Or is it still too hard to support in parallel to the currently supported Lua versions? FWIW, Fedora no longer ships Lua modules for 5.1 which some scripts use (posix, socket-http for |
Supporting 5.3 would be ok, but I still think it'd be chaos to support both 5.3 and 5.2 at once. Does luajit support 5.3 yet? |
The luajit developer(s?) seem to not like 5.3, so "unlikely". This Reddit thread has some discussion. Apparently even 5.2 isn't fully supported either ( |
This can be closed for the same reason as #1914. |
It at least doesn't disappear with light usage now. Probably more lurking, but this should be enough to at least play around with 5.3 (5.2 is untested since I don't have it right now).