aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
Commit message (Collapse)AuthorAgeFilesLines
* configure,util-src/Makefile: Make a variable that includes -l for OpenSSL ↵Kim Alvefur2015-09-271-1/+1
| | | | (like with IDNA_LIBS)
* util-src/Makefile: Remove redundant variables (set in config.unix already)Kim Alvefur2015-09-271-8/+0
|
* util-src/Makefile: Don't make exceptions for how to build .so for ↵Kim Alvefur2015-09-271-4/+2
| | | | util.hashes and util.encodings
* util-src/Makefile: Tell Make how to build .so from .o in a modern way (Let ↵Kim Alvefur2015-09-271-6/+2
| | | | built-in rules handle .o)
* util-src/Makefile: Move Lua include path into CFLAGS variableKim Alvefur2015-09-271-2/+2
|
* configure, util-src/Makefile: Move OS X deployment flag to an C compiler ↵Kim Alvefur2015-09-261-3/+0
| | | | argument set by configure
* util-src/Makefile: Use variables for install binary and target directoryKim Alvefur2015-09-261-1/+4
|
* util-src/Makefile: Move list of .so files in a variableKim Alvefur2015-09-261-6/+6
|
* util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to ↵Kim Alvefur2015-04-266-21/+21
| | | | support 5.1
* util.encodings: Move declarations to top of function [pedantic]Kim Alvefur2015-05-021-2/+3
|
* util.pposix: Return error from ftruncate if that fails too (but what would ↵Kim Alvefur2015-05-021-1/+4
| | | | we do here?)
* util-src/*.c: Per convention call luaL_error() as argument to returnFlorian Zeitz2015-04-033-5/+6
|
* util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches ↵Kim Alvefur2015-04-037-716/+846
| | | | --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux
* util.table, Makefile: New C module that allows pre-allocation of tables to ↵Matthew Wild2015-03-312-2/+16
| | | | improve performance and decrease memory fragmentation
* Merge 0.9->0.10 againKim Alvefur2015-03-271-3/+94
|\
| * util.encodings: Expose UTF-8 validation and length checking functionsKim Alvefur2015-03-231-0/+28
| |
| * util.encodings: Perform validation of UTF-8 strings before passing to libidn ↵Kim Alvefur2015-03-231-3/+67
| | | | | | | | (Based on code from the utf8 library in Lua 5.3)
* | util-src/*.c: Add macro for compiling with Lua 5.2Kim Alvefur2014-09-176-0/+24
| |
* | util-src/*.c: Use the more concise lua_setfieldKim Alvefur2014-09-174-13/+7
| |
* | util-src/*.c: Don't create globals when loadedKim Alvefur2014-09-166-11/+11
| |
* | Merge 0.9->0.10Kim Alvefur2014-04-271-3/+9
|\|
| * util.pposix: Fix error reporting from really old Linux fallocate() that did ↵Kim Alvefur2014-04-251-1/+5
| | | | | | | | not use errno for some reason (thanks pro)
| * util.pposix: Fix error reporting from posix_fallocate, it doesn't use errno ↵Kim Alvefur2014-04-251-2/+4
| | | | | | | | (thanks pro)
* | Merge 0.9->0.10Kim Alvefur2013-11-281-0/+2
|\|
| * util.pposix: Verify that file handle is openKim Alvefur2013-11-281-0/+2
| |
* | Merge 0.9->0.10Matthew Wild2013-10-101-1/+1
|\|
| * util.windows: Incorrect output buffer size passed to ↵Waqas Hussain2013-10-101-1/+1
| | | | | | | | ReadConsoleOutputAttribute (fixes issue#362, thanks yanjun).
* | Merge 0.9->trunkMatthew Wild2013-09-032-3/+12
|\|
| * util.pposix: Fix building on non-Linux with glibcKim Alvefur2013-09-021-2/+2
| |
| * util.net: Fix s2sout on Windows (return 0.0.0.0 and :: instead of an empty list)Kim Alvefur2013-08-301-1/+10
| |
* | util.pposix: Fix overflow in rlimit argument conversion (thanks gcc, now be ↵Kim Alvefur2013-08-101-1/+1
| | | | | | | | quiet please)
* | Merge 0.9->trunkKim Alvefur2013-08-091-1/+1
|\|
| * util.hashes: Silence compiler warning about pointer signedness0.9.0Kim Alvefur2013-08-091-1/+1
| |
* | Merge 0.9->trunkKim Alvefur2013-08-061-1/+1
|\|
| * util.hashes: Correct argument orderKim Alvefur2013-08-061-1/+1
| |
* | Merge 0.9->trunkMatthew Wild2013-07-151-4/+4
|\|
| * util.net: Fix compilation on Windows (outputs an empty list of addresses for ↵Matthew Wild2013-07-151-4/+4
| | | | | | | | now) (tested only in my head)
* | Merge 0.9->trunkMatthew Wild2013-07-151-0/+1
|\|
| * util.net: Include missing header needed for successful compiltion on FreeBSDMatthew Wild2013-07-151-0/+1
| |
| * util.pposix: setrlimit(): Add missing return on error when an incorrect ↵Matthew Wild2013-06-281-0/+1
| | | | | | | | number of arguments are passed
* | util.pposix: Correctly handle 'unlimited' limits (RLIM_INFINITY), by ↵Matthew Wild2013-06-291-32/+43
|/ | | | returning and accepting the string 'unlimited' in get/setrlimit()
* util.net: Add util.net, containing local_addresses() (removed from LuaSocket ↵Matthew Wild2013-06-182-2/+109
| | | | 3.0)
* util.hashes: inttypes.h not available with MS Windows SDK, use MS specific ↵Waqas Hussain2013-05-131-0/+5
| | | | __int32 instead.
* util.hashes, util.sasl.scram: Implement SCRAM-SHA1's Hi in CFlorian Zeitz2013-04-281-0/+49
|
* util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashesFlorian Zeitz2013-04-272-14/+98
|
* mod_posix, util.pposix: Bump version for API changeMatthew Wild2013-04-081-1/+1
|
* util.pposix: syslog(): Support an optional source parameter (producing ↵Matthew Wild2013-04-081-4/+5
| | | | messages of the form '<source>: <message>'
* util.pposix: Allow fetching RLIMIT_NICE when availableMatthew Wild2013-03-221-0/+3
|
* util.pposix: Prevent FDs 0, 1 and 2 from being assigned to connectionsKim Alvefur2012-11-101-0/+4
|
* util.pposix: Put the warning back, mention how we might still use ↵Kim Alvefur2012-07-311-0/+4
| | | | posix_fallocate()