Commit Graph

111 Commits (02027fafeb00508b0a5f04d197d22d9508ae3b9d)

Author SHA1 Message Date
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
Matthew Wild 238beb4df6 util.pposix: Add mkdir(path) 17 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 17 years ago
Matthew Wild 4558719f38 util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in mod_posix) 17 years ago
Matthew Wild f2f2393a6a util.pposix: Fix return type of lc_abort to shush compiler warning 17 years ago
Matthew Wild 409189ec26 util.posix: Trailing whitespace 17 years ago
Matthew Wild 2aab3bf617 util.signal: Restore the old debug hook earlier, just in case we receive another signal between clearing the signal queue and restoring it 17 years ago
Matthew Wild 15b926d7a2 util.signal: Restore the old debug hook earlier, just in case we receive another signal between clearing the signal queue and restoring it 17 years ago
Matthew Wild 45db3bf84a util.signal: Update version in header, and author's email 17 years ago
Matthew Wild 2fca9d7e79 util.signal: Update version in header, and author's email 17 years ago
Matthew Wild 96c4c4f090 util.signal: Queue up multiple signals, instead of trampling on the previous debug hook (and never clearing our own) 17 years ago
Matthew Wild ca9c6121a2 util.signal: Queue up multiple signals, instead of trampling on the previous debug hook (and never clearing our own) 17 years ago
Matthew Wild 7cbfe364b6 util.signal: Update header comment for new filename 17 years ago
Waqas Hussain 1b3f83b619 util.signal: Make kill() available on Solaris; really fixes #136. 17 years ago