Commit Graph

139 Commits (5c1d94de1b67353da7e2c348379c8a8509a9e66a)

Author SHA1 Message Date
Kim Alvefur 92ed3576fc util.pposix: Fix error reporting from really old Linux fallocate() that did not use errno for some reason (thanks pro) 12 years ago
Kim Alvefur 15b883a2f5 util.pposix: Fix error reporting from posix_fallocate, it doesn't use errno (thanks pro) 12 years ago
Kim Alvefur 6d5db18948 util.pposix: Verify that file handle is open 12 years ago
Waqas Hussain 3b6c5dc15e util.windows: Incorrect output buffer size passed to ReadConsoleOutputAttribute (fixes issue#362, thanks yanjun). 12 years ago
Kim Alvefur 25d7ead6bb util.pposix: Fix building on non-Linux with glibc 13 years ago
Kim Alvefur beb69a4ab0 util.net: Fix s2sout on Windows (return 0.0.0.0 and :: instead of an empty list) 13 years ago
Kim Alvefur a6f6a0568f util.hashes: Silence compiler warning about pointer signedness 13 years ago
Kim Alvefur 22ad7256ba util.hashes: Correct argument order 13 years ago
Matthew Wild 6575f3a4e9 util.net: Fix compilation on Windows (outputs an empty list of addresses for now) (tested only in my head) 13 years ago
Matthew Wild 8dd5866eda util.net: Include missing header needed for successful compiltion on FreeBSD 13 years ago
Matthew Wild accb25e18f util.pposix: setrlimit(): Add missing return on error when an incorrect number of arguments are passed 13 years ago
Matthew Wild c4d2d22648 util.net: Add util.net, containing local_addresses() (removed from LuaSocket 3.0) 13 years ago
Waqas Hussain af2f923773 util.hashes: inttypes.h not available with MS Windows SDK, use MS specific __int32 instead. 13 years ago
Florian Zeitz b6199cf81a util.hashes, util.sasl.scram: Implement SCRAM-SHA1's Hi in C 13 years ago
Florian Zeitz 1dc0a831cf util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashes 13 years ago
Matthew Wild f1adfcc147 mod_posix, util.pposix: Bump version for API change 13 years ago
Matthew Wild 844700e023 util.pposix: syslog(): Support an optional source parameter (producing messages of the form '<source>: <message>' 13 years ago
Matthew Wild a2a4f805cd util.pposix: Allow fetching RLIMIT_NICE when available 13 years ago
Kim Alvefur acbda76a75 util.pposix: Prevent FDs 0, 1 and 2 from being assigned to connections 13 years ago
Kim Alvefur 4b640bb161 util.pposix: Put the warning back, mention how we might still use posix_fallocate() 14 years ago
Kim Alvefur 534b0bc771 util.pposix: Try posix_fallocate() if fallocate() is unsupported by the file system 14 years ago
Kim Alvefur 8578efc0b9 util.pposix: Warn about posix_fallocate 14 years ago
Kim Alvefur fd2ce1e761 util.pposix: Add fallocate method, backed by either posix_fallocate() or Linux fallocate() 14 years ago
Matthew Wild 1c1baa42c8 util.pposix: Add comments to mallinfo fields we use, so I don't forget tomorrow what they mean 14 years ago
Matthew Wild 364fd69154 util.pposix: Add meminfo() binding to memory allocation stats provided by mallinfo() [compilation tested on Ubuntu...] 14 years ago
Kim Alvefur 0c7777aeb6 util.pposix: Add setenv() 14 years ago
Kim Alvefur 150e5e4aec util.hashes: Add sha224, sha384, sha512 14 years ago
Kim Alvefur ce764dee87 util.hashes: Use defined hash function output lengths. 14 years ago
Kim Alvefur 51e01dfd14 util.pposix: Don't trust errno for success. Thanks Quince 14 years ago
Matthew Wild 850d092305 Makefile, util-src/Makefile: Add .PHONY, reorganise util-src/Makefile 14 years ago
Matthew Wild 8b31cde5a9 util.encodings: Fix small typo introduced in 7f789266b741 15 years ago
Paul Aurich 544b19989d util.encodings: Check return values before proceeding 15 years ago
Paul Aurich 6499dc4b3b util.encodings: Swap code order ("ifndef" bugs me) 15 years ago
Paul Aurich ee01f42195 util.encodings: Fix idna.to_unicode 15 years ago
Waqas Hussain 30be4fa585 windows.c: Return nil,err from functions instead of throwing errors. 15 years ago
Matthew Wild ae079311da util.pposix: Remove extraneous semicolon 15 years ago
Matthew Wild 3a5ee7ec2d util.encodings: Switch comment styles to build ok as ANSI C 15 years ago
Matthew Wild 5d2fe8b479 util-src/Makefile: Change parameter order so that LDFLAGS always comes later than the input files 15 years ago
Matthew Wild ff4b723537 util-src/Makefile: Clean up and remove unnecessary all linking 15 years ago
Matthew Wild 54c91de993 util-src/Makefile, util-src/encodings.c{,pp}: Port ICU code to C, rename encodings.cpp back to .c and amend the Makefile accordingly 15 years ago
Tobias Markmann 8f4671cca2 Make libidn default when not specifiying a IDN lib. 15 years ago
Tobias Markmann 211cf6c775 util.encodings: Support for ICU for IDNA operations. 15 years ago
Waqas Hussain d3aac67ca6 util-src/windows.c: Added get_consolecolor, set_consolecolor. 15 years ago
Matthew Wild 167b4e430f util.pposix: Remove extraneous semicolon 15 years ago
Matthew Wild deff5bbb18 util.encodings: Switch comment styles to build ok as ANSI C 15 years ago
Matthew Wild a5f09ade0b util-src/Makefile: Change parameter order so that LDFLAGS always comes later than the input files 15 years ago
Matthew Wild 53b1315810 util-src/Makefile: Clean up and remove unnecessary all linking 15 years ago
Matthew Wild 1f3e0e60e4 util-src/Makefile, util-src/encodings.c{,pp}: Port ICU code to C, rename encodings.cpp back to .c and amend the Makefile accordingly 15 years ago
Waqas Hussain 2b65d66589 util-src/windows.c: Added get_consolecolor, set_consolecolor. 15 years ago
Tobias Markmann c1efda1ffd Make libidn default when not specifiying a IDN lib. 15 years ago