Commit Graph

271 Commits (eeb98faa3a09ab9bdfeaa8ed9d2ff3d1d3a94de9)

Author SHA1 Message Date
Kim Alvefur c42a786ec7 util.encodings: Allow unassigned code points in ICU mode to match libidn behavior (fixes #1348) 7 years ago
Kim Alvefur 7ef028d8d4 util.hashes: Use HMAC function provided by OpenSSL (fixes #1345) 7 years ago
Kim Alvefur d21439da5c util-src/makefile: Update with util.poll and util.compat (fixes #1251) 7 years ago
Matthew Wild 1454ac8208 util.xpcall, util.compat: Add non-hacky multi-argument xpcall() for Lua 5.1 7 years ago
Kim Alvefur 2bb3772374 net.server_epoll: Special handling of signal interrupts 7 years ago
Kim Alvefur afeb1f6f02 net.server_epoll: Ignore ENOENT when deregitering socket 7 years ago
Kim Alvefur bbf669b2c5 net.server_epoll: Graceful handling of registering already added socket 7 years ago
Kim Alvefur f26390b484 util.poll: Fix inverted logic 7 years ago
Kim Alvefur 9547e0e66d util.poll: Handle failed epoll FD creation 7 years ago
Kim Alvefur 22e0c16d4c util.poll: Early return from __gc in case of no valid epoll FD 7 years ago
Kim Alvefur 28522988cc util.poll: Increase max epoll events per call 7 years ago
Kim Alvefur 4a73f5daef util.poll: Zero FD sets watched for errors on creation 7 years ago
Kim Alvefur ceadb9c57c net.poll: Guard against negative or too large FDs 7 years ago
Kim Alvefur 31c8b1aca3 util.poll: Fix missing return for adding duplicate FD 7 years ago
Kim Alvefur 8126707125 util.poll: Tweak metatable name field 7 years ago
Kim Alvefur d3c236c693 util.poll: Fix monitoring of socket exceptions in select mode 7 years ago
Kim Alvefur 110ce660d5 util.poll: Lua 5.1 compat 7 years ago
Kim Alvefur 1ad376770f util.poll: Remove 'inline' from function declaration 7 years ago
Kim Alvefur 530a9f9c8e util.pposix: Fix or silence a warning on OS X (#1202) 7 years ago
Kim Alvefur b78f1d3da1 util.pposix: Fix building on OS X (#1202) 8 years ago
Kim Alvefur fa4507823f util.poll: Import poll library with epoll and select support 8 years ago
Kim Alvefur 2f939029ef util.pposix: Allow _DARWIN_C_SOURCE to be overriden 7 years ago
Kim Alvefur 6391242937 util.pposix: Restrict use of malloc_info to glibc 7 years ago
Kim Alvefur 53c20a796e util.pposix: Do not attempt to assign to stdio variables [pedantic] 7 years ago
Kim Alvefur 49232398ed util-src/makefile: Add util.time to BSD makefile 8 years ago
Kim Alvefur 592ccd8233 util.time: Allow for already set constant 8 years ago
Kim Alvefur 5485202439 util.signal: Fix loop (fixes #1047) 8 years ago
Kim Alvefur 27d99dd43b util.signal: Use a static array to keep track of pending signals (fixes #1029) 8 years ago
Kim Alvefur 8956f32a9c util.encodings: Use the 'idx' argument correctly [-Wunused-parameter] 8 years ago
Kim Alvefur 237f991e4f util.crand: Build with musl/non-glibc (can't have undefined argument-taking macros?) 9 years ago
Kim Alvefur 7f1be1b938 util.time: Add monotonic time 9 years ago
Kim Alvefur b0e0a1d487 util.time: Convert to C 9 years ago
Emmanuel Gil Peyrot 2363ba3749 encodings: Explicitly say that base64 decoding falls through in a switch, fixes a warning in gcc 7+. 8 years ago
Emmanuel Gil Peyrot c1be2da977 pposix: Generate an error when a passed string isn’t "unlimited". 8 years ago
Emmanuel Gil Peyrot 1a23a874bc pposix, signal: Ignore unused arguments. 8 years ago
Emmanuel Gil Peyrot 9d9392a941 net, pposix, signal: Check for redefined defines, fix warnings. 8 years ago
Kim Alvefur 39c7ba2a8f util.pposix: Use freopen(3) when replacing standard IO streams (thanks ratchetfreak) 8 years ago
Kim Alvefur 1eb7584483 util.ringbuffer: Fix typo in comment [codespell] 8 years ago
Kim Alvefur cdd71f28ac Add makefiles compatible with BSD make 8 years ago
Kim Alvefur e156c05ad4 Rename Makefile -> GNUmakefile to reflect dependency on GNU Make 8 years ago
Kim Alvefur 28ba10b6b4 util.ringbuffer: Add method for discarding buffered data without returning it to lua 8 years ago
Kim Alvefur a92cdf75b1 util.ringbuffer: Add various comments 8 years ago
Kim Alvefur 36ff81d81a util.crand: Return early if a zero bytes are requested 8 years ago
Kim Alvefur 96d9651ece util.crand: Throw an error for sizes smaller than 1 byte 8 years ago
Kim Alvefur abb425e70f util.crand: Make it possible to use arc4random on Linux (needs libbsd) 8 years ago
Kim Alvefur da570eb0a4 util.crand: Use a small buffer on the stack for small pieces of random, should be faster 8 years ago
Kim Alvefur af554a9feb util.crand: Remove unneeded cast 8 years ago
Kim Alvefur bc2a2bbd4d util.crand: Silence signedness warning 8 years ago
Kim Alvefur ebeea12c82 util.crand: Only keep return value of getrandom() as the others don't return partial results 8 years ago
Kim Alvefur 991280175b util.crand: Try getrandom() again until buffer is filled 8 years ago