Commit Graph

122 Commits (613c9b00c4e9073f74e53efaa1c31ae00a73eae4)

Author SHA1 Message Date
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
Tobias Markmann 93b0dcf56a util.encodings: Support for ICU for IDNA operations. 15 years ago
Matthew Wild c739eebe35 util.pposix: uname(): Fix to push nil,err in case of error 16 years ago
Matthew Wild 50b20f4af4 util.pposix: Add pposix.uname(), bump version 16 years ago
Matthew Wild b465aa90b9 util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb) 16 years ago
Matthew Wild 3553829ba5 util-src/Makefile: Stop linking dynamic libraries to Lua, it isn't necessary as symbols are exported from the Lua binary (thanks deryni) 16 years ago
Waqas Hussain 1f75bd5099 util.signal: Moved a variable declaration to the top of a function, for ANSI C compliance. 16 years ago
Waqas Hussain c4f2a6c8b3 util.signal: Removed #include <sys/param.h>, as it appears unnecessary. 16 years ago
Waqas Hussain 8840b66c84 util.signal: Make kill() available on OS X (thanks darkrain). 16 years ago
Waqas Hussain f832bae509 util.signal: Make kill() available on OpenBSD, NetBSD (thanks Florob, filip). 16 years ago
Matthew Wild 7fd387c390 util.windows: Convert from Windows line endings 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Waqas Hussain a226e93664 util.encodings: Use STD3 ASCII rules for idna.to_ascii. 16 years ago
Tobias Markmann 063347c86a util.signal: Using stdlib.h instead of malloc.h. 16 years ago
Tobias Markmann 8f18928543 util.signal: Using stdlib.h instead of malloc.h. 16 years ago
Matthew Wild cafffad5b8 util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdir 16 years ago
Matthew Wild 238beb4df6 util.pposix: Add mkdir(path) 16 years ago
Matthew Wild 54f7dc1d2f util.pposix: Replace the unwieldy module table generation with luaL_register() call - side effect - it now sets the pposix global to the module table 16 years ago