Commit Graph

124 Commits (07ca080e07a5e80dd6b4349960b6ca01547d4f21)

Author SHA1 Message Date
Matthew Wild 4031be743b mod_posix, util.pposix: Bump version for API change 13 years ago
Matthew Wild 84b29550d6 util.pposix: syslog(): Support an optional source parameter (producing messages of the form '<source>: <message>' 13 years ago
Matthew Wild c35eabfe0d util.pposix: Allow fetching RLIMIT_NICE when available 13 years ago
Kim Alvefur c70a761d64 util.pposix: Prevent FDs 0, 1 and 2 from being assigned to connections 14 years ago
Kim Alvefur 56c30635cc util.pposix: Put the warning back, mention how we might still use posix_fallocate() 14 years ago
Kim Alvefur 4c936ac70e util.pposix: Try posix_fallocate() if fallocate() is unsupported by the file system 14 years ago
Kim Alvefur dbfa0c8ce7 util.pposix: Warn about posix_fallocate 14 years ago
Kim Alvefur 5d4399e9a5 util.pposix: Add fallocate method, backed by either posix_fallocate() or Linux fallocate() 14 years ago
Matthew Wild b3048f56eb util.pposix: Add comments to mallinfo fields we use, so I don't forget tomorrow what they mean 14 years ago
Matthew Wild 518414dbf7 util.pposix: Add meminfo() binding to memory allocation stats provided by mallinfo() [compilation tested on Ubuntu...] 14 years ago
Kim Alvefur 70d751fdfe util.pposix: Add setenv() 14 years ago
Kim Alvefur 0b7dc871a3 util.hashes: Add sha224, sha384, sha512 14 years ago
Kim Alvefur 5bcd964506 util.hashes: Use defined hash function output lengths. 14 years ago
Kim Alvefur 06ae7417fb util.pposix: Don't trust errno for success. Thanks Quince 15 years ago
Matthew Wild b37d69ecf9 Makefile, util-src/Makefile: Add .PHONY, reorganise util-src/Makefile 15 years ago
Matthew Wild f083fe1783 util.encodings: Fix small typo introduced in 7f789266b741 15 years ago
Paul Aurich bcc05defac util.encodings: Check return values before proceeding 15 years ago
Paul Aurich 966205e425 util.encodings: Swap code order ("ifndef" bugs me) 15 years ago
Paul Aurich 60eed47422 util.encodings: Fix idna.to_unicode 15 years ago
Waqas Hussain 30be4fa585 windows.c: Return nil,err from functions instead of throwing errors. 16 years ago
Matthew Wild ae079311da util.pposix: Remove extraneous semicolon 16 years ago
Matthew Wild 3a5ee7ec2d util.encodings: Switch comment styles to build ok as ANSI C 16 years ago
Matthew Wild 5d2fe8b479 util-src/Makefile: Change parameter order so that LDFLAGS always comes later than the input files 16 years ago
Matthew Wild ff4b723537 util-src/Makefile: Clean up and remove unnecessary all linking 16 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 16 years ago
Tobias Markmann 8f4671cca2 Make libidn default when not specifiying a IDN lib. 16 years ago
Tobias Markmann 211cf6c775 util.encodings: Support for ICU for IDNA operations. 16 years ago
Waqas Hussain d3aac67ca6 util-src/windows.c: Added get_consolecolor, set_consolecolor. 16 years ago
Matthew Wild 167b4e430f util.pposix: Remove extraneous semicolon 16 years ago
Matthew Wild deff5bbb18 util.encodings: Switch comment styles to build ok as ANSI C 16 years ago
Matthew Wild a5f09ade0b util-src/Makefile: Change parameter order so that LDFLAGS always comes later than the input files 16 years ago
Matthew Wild 53b1315810 util-src/Makefile: Clean up and remove unnecessary all linking 16 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 16 years ago
Waqas Hussain 2b65d66589 util-src/windows.c: Added get_consolecolor, set_consolecolor. 16 years ago
Tobias Markmann c1efda1ffd Make libidn default when not specifiying a IDN lib. 16 years ago
Tobias Markmann 93b0dcf56a util.encodings: Support for ICU for IDNA operations. 16 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. 17 years ago
Tobias Markmann 063347c86a util.signal: Using stdlib.h instead of malloc.h. 17 years ago
Tobias Markmann 8f18928543 util.signal: Using stdlib.h instead of malloc.h. 17 years ago
Matthew Wild cafffad5b8 util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdir 17 years ago