Kim Alvefur
|
d1a264a39a
|
util.pposix: Return error from ftruncate if that fails too (but what would we do here?)
|
2015-05-02 14:41:56 +02:00 |
|
Florian Zeitz
|
4d46c2e866
|
util-src/*.c: Per convention call luaL_error() as argument to return
|
2015-04-03 20:30:14 +02:00 |
|
Kim Alvefur
|
e866ef555a
|
util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux
|
2015-04-03 19:52:48 +02:00 |
|
Matthew Wild
|
f9a6cc2cc9
|
util.table, Makefile: New C module that allows pre-allocation of tables to improve performance and decrease memory fragmentation
|
2015-03-31 11:59:17 +01:00 |
|
Kim Alvefur
|
603d0df6e2
|
Merge 0.9->0.10 again
|
2015-03-27 00:27:29 +01:00 |
|
Kim Alvefur
|
b9f798f83a
|
util.encodings: Expose UTF-8 validation and length checking functions
|
2015-03-23 14:27:30 +01:00 |
|
Kim Alvefur
|
7bf2c14e9f
|
util.encodings: Perform validation of UTF-8 strings before passing to libidn (Based on code from the utf8 library in Lua 5.3)
|
2015-03-23 14:26:34 +01:00 |
|
Kim Alvefur
|
8affcc3ff7
|
util-src/*.c: Add macro for compiling with Lua 5.2
|
2014-09-17 14:30:29 +02:00 |
|
Kim Alvefur
|
4f6f0fe480
|
util-src/*.c: Use the more concise lua_setfield
|
2014-09-17 02:23:17 +02:00 |
|
Kim Alvefur
|
c57e98cd7d
|
util-src/*.c: Don't create globals when loaded
|
2014-09-16 21:56:18 +02:00 |
|
Kim Alvefur
|
dbf3c7d1a0
|
Merge 0.9->0.10
|
2014-04-27 01:02:20 +02:00 |
|
Kim Alvefur
|
92ed3576fc
|
util.pposix: Fix error reporting from really old Linux fallocate() that did not use errno for some reason (thanks pro)
|
2014-04-25 02:41:55 +02:00 |
|
Kim Alvefur
|
15b883a2f5
|
util.pposix: Fix error reporting from posix_fallocate, it doesn't use errno (thanks pro)
|
2014-04-25 00:36:01 +02:00 |
|
Kim Alvefur
|
b8ab703419
|
Merge 0.9->0.10
|
2013-11-28 16:17:21 +01:00 |
|
Kim Alvefur
|
6d5db18948
|
util.pposix: Verify that file handle is open
|
2013-11-28 16:12:40 +01:00 |
|
Matthew Wild
|
fd4afeecb7
|
Merge 0.9->0.10
|
2013-10-10 22:26:41 +01:00 |
|
Waqas Hussain
|
3b6c5dc15e
|
util.windows: Incorrect output buffer size passed to ReadConsoleOutputAttribute (fixes issue#362, thanks yanjun).
|
2013-10-10 17:18:16 -04:00 |
|
Matthew Wild
|
8eb7b73968
|
Merge 0.9->trunk
|
2013-09-03 00:20:28 +01:00 |
|
Kim Alvefur
|
25d7ead6bb
|
util.pposix: Fix building on non-Linux with glibc
|
2013-09-02 18:19:38 +02:00 |
|
Kim Alvefur
|
beb69a4ab0
|
util.net: Fix s2sout on Windows (return 0.0.0.0 and :: instead of an empty list)
|
2013-08-30 16:14:31 +02:00 |
|
Kim Alvefur
|
e350fb8478
|
util.pposix: Fix overflow in rlimit argument conversion (thanks gcc, now be quiet please)
|
2013-08-10 19:02:52 +02:00 |
|
Kim Alvefur
|
96ec63e3c3
|
Merge 0.9->trunk
|
2013-08-09 16:03:48 +02:00 |
|
Kim Alvefur
|
a6f6a0568f
|
util.hashes: Silence compiler warning about pointer signedness
|
2013-08-09 16:03:17 +02:00 |
|
Kim Alvefur
|
132f38d70a
|
Merge 0.9->trunk
|
2013-08-06 14:35:03 +02:00 |
|
Kim Alvefur
|
22ad7256ba
|
util.hashes: Correct argument order
|
2013-08-06 14:31:20 +02:00 |
|
Matthew Wild
|
e5f6bd8c4c
|
Merge 0.9->trunk
|
2013-07-15 23:43:37 +01:00 |
|
Matthew Wild
|
6575f3a4e9
|
util.net: Fix compilation on Windows (outputs an empty list of addresses for now) (tested only in my head)
|
2013-07-15 23:43:20 +01:00 |
|
Matthew Wild
|
a4810c029e
|
Merge 0.9->trunk
|
2013-07-15 23:35:49 +01:00 |
|
Matthew Wild
|
8dd5866eda
|
util.net: Include missing header needed for successful compiltion on FreeBSD
|
2013-07-15 23:34:59 +01:00 |
|
Matthew Wild
|
5adcad1a43
|
util.pposix: Correctly handle 'unlimited' limits (RLIM_INFINITY), by returning and accepting the string 'unlimited' in get/setrlimit()
|
2013-06-29 14:45:38 +01:00 |
|
Matthew Wild
|
accb25e18f
|
util.pposix: setrlimit(): Add missing return on error when an incorrect number of arguments are passed
|
2013-06-28 20:16:43 +01:00 |
|
Matthew Wild
|
c4d2d22648
|
util.net: Add util.net, containing local_addresses() (removed from LuaSocket 3.0)
|
2013-06-18 09:04:44 +01:00 |
|
Waqas Hussain
|
af2f923773
|
util.hashes: inttypes.h not available with MS Windows SDK, use MS specific __int32 instead.
|
2013-05-13 15:52:01 -04:00 |
|
Florian Zeitz
|
b6199cf81a
|
util.hashes, util.sasl.scram: Implement SCRAM-SHA1's Hi in C
|
2013-04-28 02:28:42 +02:00 |
|
Florian Zeitz
|
1dc0a831cf
|
util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashes
|
2013-04-27 17:01:31 +02:00 |
|
Matthew Wild
|
f1adfcc147
|
mod_posix, util.pposix: Bump version for API change
|
2013-04-08 16:57:59 +01:00 |
|
Matthew Wild
|
844700e023
|
util.pposix: syslog(): Support an optional source parameter (producing messages of the form '<source>: <message>'
|
2013-04-08 16:56:40 +01:00 |
|
Matthew Wild
|
a2a4f805cd
|
util.pposix: Allow fetching RLIMIT_NICE when available
|
2013-03-22 11:23:40 +00:00 |
|
Kim Alvefur
|
acbda76a75
|
util.pposix: Prevent FDs 0, 1 and 2 from being assigned to connections
|
2012-11-10 23:41:53 +01:00 |
|
Kim Alvefur
|
183b42baa0
|
util.encodings: Add compat with ICU before version 58
|
2019-04-29 15:53:52 +02:00 |
|
Kim Alvefur
|
43aed81cb5
|
util.encodings: Add binding to confusables skeleton function in ICU
|
2019-04-24 22:40:38 +02:00 |
|
Kim Alvefur
|
aac3fbdf9b
|
Merge 0.11->trunk
|
2019-04-24 18:06:48 +02:00 |
|
Kim Alvefur
|
90d4d6bda8
|
Backed out changeset 61bc5c52c941
luaL_buffinitsize is only available in Lua 5.2+
|
2019-04-21 00:59:36 +02:00 |
|
Kim Alvefur
|
165ee3a5ef
|
util.hashes: Allow specifying output key length
This is not needed for SCRAM but PBKDF2 takes this argument.
|
2019-04-20 15:11:04 +02:00 |
|
Kim Alvefur
|
ffc422e2f6
|
util.hashes: Add PBKDF2-HMAC-SHA256
|
2019-01-13 13:59:26 +01:00 |
|
Kim Alvefur
|
5a6c7ae673
|
util.hashes: Rename PBKDF2 function
It's not SCRAM-specific
|
2019-01-13 13:57:18 +01:00 |
|
Kim Alvefur
|
86219e2532
|
util.hashes: Remove now unused hmac() function
|
2019-04-19 13:24:32 +02:00 |
|
Kim Alvefur
|
5bc034dcf5
|
util.hashes: Use PBKDF2 from libcrypto
|
2019-01-13 13:57:14 +01:00 |
|
Kim Alvefur
|
70bbc77e68
|
Merge 0.11->trunk
|
2019-04-19 13:21:00 +02:00 |
|
Kim Alvefur
|
e70c9f1828
|
util.hashes: Remove redundant semicolon
|
2019-04-19 12:41:38 +02:00 |
|