Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | util.encodings: Spell out all IDNA 2008 options ICU has | Kim Alvefur | 2019-09-11 | 1 | -1/+24 | |
| | | ||||||
| * | util.encodings: Switch ICU binding to IDNA2008 (fixes #533, #1301) | Kim Alvefur | 2019-09-11 | 1 | -4/+9 | |
| | | ||||||
| * | util.poll: Add missing return statements in fallback mode | Kim Alvefur | 2019-07-28 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | These allowed modifying or deleting select() state for unregistered FDs. During normal usage this should never happen. Modifying one that isn't set might cause weirdness but deleting an already deleted FD isn't a problem. | |||||
| * | util.encodings: Declare absence of arguments [-Wstrict-prototypes] | Kim Alvefur | 2019-05-13 | 1 | -1/+1 | |
| | | ||||||
| * | util.encodings: Add compat with ICU before version 58 | Kim Alvefur | 2019-04-29 | 1 | -0/+5 | |
| | | ||||||
| * | util.encodings: Add binding to confusables skeleton function in ICU | Kim Alvefur | 2019-04-24 | 1 | -0/+45 | |
| | | ||||||
| * | Merge 0.11->trunk | Kim Alvefur | 2019-04-24 | 1 | -1/+1 | |
| |\ | ||||||
| * | | Backed out changeset 61bc5c52c941 | Kim Alvefur | 2019-04-21 | 1 | -12/+9 | |
| | | | | | | | | | | | | luaL_buffinitsize is only available in Lua 5.2+ | |||||
| * | | util.hashes: Allow specifying output key length | Kim Alvefur | 2019-04-20 | 1 | -9/+12 | |
| | | | | | | | | | | | | This is not needed for SCRAM but PBKDF2 takes this argument. | |||||
| * | | util.hashes: Add PBKDF2-HMAC-SHA256 | Kim Alvefur | 2019-01-13 | 1 | -0/+18 | |
| | | | ||||||
| * | | util.hashes: Rename PBKDF2 function | Kim Alvefur | 2019-01-13 | 1 | -2/+3 | |
| | | | | | | | | | | | | It's not SCRAM-specific | |||||
| * | | util.hashes: Remove now unused hmac() function | Kim Alvefur | 2019-04-19 | 1 | -38/+0 | |
| | | | ||||||
| * | | util.hashes: Use PBKDF2 from libcrypto | Kim Alvefur | 2019-01-13 | 1 | -44/+9 | |
| | | | ||||||
| * | | Merge 0.11->trunk | Kim Alvefur | 2019-04-19 | 1 | -17/+11 | |
| |\ \ | ||||||
| * | | | util.hashes: Remove redundant semicolon | Kim Alvefur | 2019-04-19 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | util.poll: Minimize scope of methods | Kim Alvefur | 2019-04-13 | 1 | -9/+9 | |
| | | | | | | | | | | | | | | | | File scope is enough | |||||
| * | | | util.pposix: Don't define POSIX_C_SOURCE on FreeBSD to ensure visibility of ↵ | Matthew Wild | 2018-12-04 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | initgroups() | |||||
| * | | | util.time: Bump POSIX_C_SOURCE to ensure visibility of CLOCK_MONOTONIC on ↵ | Matthew Wild | 2018-12-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | FreeBSD (fixes #1253) | |||||
* | | | | util.pposix: Avoid overflow of malloc info at 2GB (fixes #1445 until 4GB) | Kim Alvefur | 2019-11-16 | 1 | -5/+5 | |
| |_|/ |/| | | ||||||
* | | | util.encodings: Allow unassigned code points in ICU mode to match libidn ↵ | Kim Alvefur | 2019-04-24 | 1 | -1/+1 | |
| |/ |/| | | | | | behavior (fixes #1348) | |||||
* | | util.hashes: Use HMAC function provided by OpenSSL (fixes #1345) | Kim Alvefur | 2019-04-19 | 1 | -17/+11 | |
|/ | ||||||
* | util-src/makefile: Update with util.poll and util.compat (fixes #1251) | Kim Alvefur | 2018-11-30 | 1 | -1/+2 | |
| | ||||||
* | util.xpcall, util.compat: Add non-hacky multi-argument xpcall() for Lua 5.1 | Matthew Wild | 2018-10-26 | 2 | -1/+31 | |
| | ||||||
* | net.server_epoll: Special handling of signal interrupts | Kim Alvefur | 2018-10-12 | 1 | -0/+5 | |
| | ||||||
* | net.server_epoll: Ignore ENOENT when deregitering socket | Kim Alvefur | 2018-10-12 | 1 | -1/+2 | |
| | | | | It should not really happen | |||||
* | net.server_epoll: Graceful handling of registering already added socket | Kim Alvefur | 2018-10-12 | 1 | -1/+7 | |
| | ||||||
* | util.poll: Fix inverted logic | Kim Alvefur | 2018-10-11 | 1 | -1/+1 | |
| | ||||||
* | util.poll: Handle failed epoll FD creation | Kim Alvefur | 2018-10-11 | 1 | -1/+12 | |
| | ||||||
* | util.poll: Early return from __gc in case of no valid epoll FD | Kim Alvefur | 2018-10-11 | 1 | -0/+4 | |
| | | | | | This could happen if the epoll FD has already been closed or the epoll_create call failed | |||||
* | util.poll: Increase max epoll events per call | Kim Alvefur | 2018-10-08 | 1 | -1/+1 | |
| | | | | | | | | | | This makes the struct roughly the same size in both epoll and select mode (64bit). There doesn’t seem to be much guidance on an appropriate size, it does not seem to matter too much since if there are more events they will simply show up in the next epoll_wait call. The number of exactly concurrent events should be fairly low most of the time anyways. | |||||
* | util.poll: Zero FD sets watched for errors on creation | Kim Alvefur | 2018-10-07 | 1 | -0/+2 | |
| | ||||||
* | net.poll: Guard against negative or too large FDs | Kim Alvefur | 2018-10-07 | 1 | -0/+14 | |
| | ||||||
* | util.poll: Fix missing return for adding duplicate FD | Kim Alvefur | 2018-10-07 | 1 | -0/+1 | |
| | ||||||
* | util.poll: Tweak metatable name field | Kim Alvefur | 2018-10-06 | 1 | -2/+2 | |
| | ||||||
* | util.poll: Fix monitoring of socket exceptions in select mode | Kim Alvefur | 2018-10-06 | 1 | -1/+1 | |
| | | | | | Since state->err is a set of all watched FDs, this mistake caused all sockets to appear to have errors. | |||||
* | util.poll: Lua 5.1 compat | Kim Alvefur | 2018-09-15 | 1 | -0/+6 | |
| | ||||||
* | util.poll: Remove 'inline' from function declaration | Kim Alvefur | 2018-09-15 | 1 | -1/+1 | |
| | | | | Why does this fix building? | |||||
* | util.poll: Import poll library with epoll and select support | Kim Alvefur | 2018-05-16 | 2 | -1/+425 | |
| | ||||||
* | util.pposix: Allow _DARWIN_C_SOURCE to be overriden | Kim Alvefur | 2018-09-08 | 1 | -0/+2 | |
| | | | | Like the others there | |||||
* | Merge 0.10->trunk | Kim Alvefur | 2018-09-08 | 1 | -0/+3 | |
|\ | ||||||
| * | util.pposix: Fix or silence a warning on OS X (#1202) | Kim Alvefur | 2018-09-08 | 1 | -0/+3 | |
| | | ||||||
* | | Merge 0.10->trunk | Kim Alvefur | 2018-09-08 | 1 | -1/+1 | |
|\| | ||||||
| * | util.pposix: Fix building on OS X (#1202) | Kim Alvefur | 2018-08-18 | 1 | -1/+1 | |
| | | ||||||
* | | util.pposix: Restrict use of malloc_info to glibc | Kim Alvefur | 2018-09-07 | 1 | -1/+1 | |
| | | | | | | | | Fixes build on musl based distros like Alpine linux | |||||
* | | util.pposix: Do not attempt to assign to stdio variables [pedantic] | Kim Alvefur | 2018-09-07 | 1 | -3/+3 | |
| | | | | | | | | | | | | Fixes build on gcc 6.4.0 See also https://stackoverflow.com/a/586416 | |||||
* | | util-src/makefile: Add util.time to BSD makefile | Kim Alvefur | 2018-08-11 | 1 | -1/+1 | |
| | | ||||||
* | | util.time: Allow for already set constant | Kim Alvefur | 2018-08-11 | 1 | -0/+2 | |
| | | ||||||
* | | util.time: Add monotonic time | Kim Alvefur | 2017-03-09 | 1 | -0/+9 | |
| | | ||||||
* | | util.time: Convert to C | Kim Alvefur | 2017-03-09 | 2 | -1/+25 | |
| | | ||||||
* | | encodings: Explicitly say that base64 decoding falls through in a switch, ↵ | Emmanuel Gil Peyrot | 2018-08-08 | 1 | -0/+2 | |
| | | | | | | | | fixes a warning in gcc 7+. |