aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
Commit message (Collapse)AuthorAgeFilesLines
* util.pposix: Verify that file handle is openKim Alvefur2013-11-281-0/+2
|
* util.windows: Incorrect output buffer size passed to ↵Waqas Hussain2013-10-101-1/+1
| | | | ReadConsoleOutputAttribute (fixes issue#362, thanks yanjun).
* 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.hashes: Silence compiler warning about pointer signednessKim Alvefur2013-08-091-1/+1
|
* util.hashes: Correct argument orderKim Alvefur2013-08-061-1/+1
|
* 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)
* 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.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()
* util.pposix: Try posix_fallocate() if fallocate() is unsupported by the file ↵Kim Alvefur2012-07-311-10/+21
| | | | system
* util.pposix: Warn about posix_fallocateKim Alvefur2012-07-291-0/+1
|
* util.pposix: Add fallocate method, backed by either posix_fallocate() or ↵Kim Alvefur2012-07-281-0/+43
| | | | Linux fallocate()
* util.pposix: Add comments to mallinfo fields we use, so I don't forget ↵Matthew Wild2012-07-081-0/+6
| | | | tomorrow what they mean
* util.pposix: Add meminfo() binding to memory allocation stats provided by ↵Matthew Wild2012-07-081-0/+28
| | | | mallinfo() [compilation tested on Ubuntu...]
* util.pposix: Add setenv()Kim Alvefur2012-07-031-0/+33
|
* util.hashes: Add sha224, sha384, sha512Kim Alvefur2012-05-101-0/+6
|
* util.hashes: Use defined hash function output lengths.Kim Alvefur2012-05-091-3/+3
|
* util.pposix: Don't trust errno for success. Thanks QuinceKim Alvefur2011-11-181-14/+18
|
* Makefile, util-src/Makefile: Add .PHONY, reorganise util-src/MakefileMatthew Wild2011-10-131-9/+11
|
* util.encodings: Fix small typo introduced in 7f789266b741Matthew Wild2011-06-041-1/+1
|
* util.encodings: Check return values before proceedingPaul Aurich2011-05-221-3/+17
|
* util.encodings: Swap code order ("ifndef" bugs me)Paul Aurich2011-05-221-75/+77
|
* util.encodings: Fix idna.to_unicodePaul Aurich2011-05-221-1/+1
|
* windows.c: Return nil,err from functions instead of throwing errors.Waqas Hussain2011-01-291-12/+14
|
* util.pposix: Remove extraneous semicolonMatthew Wild2010-12-261-1/+1
|
* util.encodings: Switch comment styles to build ok as ANSI CMatthew Wild2010-12-261-5/+5
|
* util-src/Makefile: Change parameter order so that LDFLAGS always comes later ↵Matthew Wild2010-12-261-3/+3
| | | | than the input files
* util-src/Makefile: Clean up and remove unnecessary all linkingMatthew Wild2010-12-261-5/+6
|
* util-src/Makefile, util-src/encodings.c{,pp}: Port ICU code to C, rename ↵Matthew Wild2010-12-172-39/+45
| | | | encodings.cpp back to .c and amend the Makefile accordingly
* Make libidn default when not specifiying a IDN lib.Tobias Markmann2010-12-141-3/+3
|
* util.encodings: Support for ICU for IDNA operations.Tobias Markmann2010-12-142-5/+143
|
* util-src/windows.c: Added get_consolecolor, set_consolecolor.Waqas Hussain2010-12-151-0/+29
|
* util.pposix: uname(): Fix to push nil,err in case of errorMatthew Wild2010-08-311-0/+1
|
* util.pposix: Add pposix.uname(), bump versionMatthew Wild2010-08-311-1/+26
|
* util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump ↵Matthew Wild2010-08-281-1/+58
| | | | module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb)
* util-src/Makefile: Stop linking dynamic libraries to Lua, it isn't necessary ↵Matthew Wild2010-07-081-1/+1
| | | | as symbols are exported from the Lua binary (thanks deryni)
* util.signal: Moved a variable declaration to the top of a function, for ANSI ↵Waqas Hussain2010-06-201-1/+1
| | | | C compliance.
* util.signal: Removed #include <sys/param.h>, as it appears unnecessary.Waqas Hussain2010-06-201-4/+0
|
* util.signal: Make kill() available on OS X (thanks darkrain).Waqas Hussain2010-06-201-3/+3
|
* util.signal: Make kill() available on OpenBSD, NetBSD (thanks Florob, filip).Waqas Hussain2010-06-151-2/+6
|
* Merge 0.6->0.7Matthew Wild2010-03-224-54/+67
|\