Commit graph

14 commits

Author SHA1 Message Date
Kim Alvefur
5a608450d5 lint: Remove use of the 143 error code
Does not appear to be invoked by anything
2018-12-08 17:10:51 +01:00
Kim Alvefur
2b289f34f9 various: Don't rely on _G.unpack existing 2018-12-08 17:09:55 +01:00
Kim Alvefur
874cf01e2b net.websocket.frames: Prefer Lua 5.2 built-in bit module over LuaJIT version
When running on Lua 5.2 this makes sense since bit32 is usually already
loaded. It's sensible to prefer this going forward in case of
incompatibilities between the two variants.
2018-11-29 16:53:22 +01:00
Kim Alvefur
3ec060fc0c Fix spelling throughout the codebase [codespell] 2018-02-04 01:51:25 +01:00
Kim Alvefur
6f1b772ce0 net.websocket.frames: Ignore Lua 5.3-only fields [luacheck] 2017-12-02 02:12:06 +01:00
Matthew Wild
8967760df5 net.websocket.frames, util.datetime, util.json, util.prosodyctl, util.rfc6724: Remove unused variables [luacheck] 2016-03-10 17:52:03 +00:00
Kim Alvefur
b75d87f63d net.websocket.frames: Fix syntax error due to code copy pasting 2015-10-06 18:08:58 +02:00
Kim Alvefur
0ce785a39c net.websocket.frames: Use struct packing in Lua 5.3 or struct lib if available 2015-10-06 18:05:27 +02:00
Kim Alvefur
2efcb9f82f net.websocket.frames: Pack and unpack 64bit ints without overflows (lua-bitop/bit32 are 32bit) 2015-10-06 18:03:04 +02:00
Kim Alvefur
5d941b553a net.websocket.frames: Link to documentation when bitop is missing 2015-10-06 16:49:01 +02:00
Kim Alvefur
fc34f3fdbf net.websocket.frames: Throw an error if no bit lib is found 2015-10-06 16:26:23 +02:00
Kim Alvefur
49fccb11b2 net.websocket.frames: Simplify import of bitlib 2015-10-06 16:06:22 +02:00
Florian Zeitz
0504583316 net.websocket: Make data masking configurable 2014-09-26 22:12:21 +02:00
daurnimator
143508d675 net/websocket: Add new websocket client code 2014-09-03 15:28:46 -04:00