Commit Graph

62 Commits (54c77c0054c13aed866c19bec1179a886eaefea8)

Author SHA1 Message Date
Waqas Hussain bce9527795 Makefile.win: Added support for util.windows, improved cleanup of temporary files, switched to dynamic linking with MSVCRT, etc. 16 years ago
Waqas Hussain 5b2d9e2f87 util.windows: Initial commit. Adds support for querying the windows DNS API for nameservers. 16 years ago
Matthew Wild 0dcc6dc478 util.pposix: Add abort() function 16 years ago
Matthew Wild 600e5878bb util-src/Makefile: Add missing flags to building of util.signal 16 years ago
Waqas Hussain 724ffca435 util.encodings: Removed a bit of unreachable code. 16 years ago
Waqas Hussain eadb0d45b9 util.encodings: Included idn-free.h, which explicitly declares the idn_free function. 16 years ago
Waqas Hussain 27766b1c03 util.encodings: Fixed: Last change was not ANSI C compatible. 16 years ago
Matthew Wild e094c8b08b util.encodings: Don't throw an error but return nil when passed nil or a non-string value 17 years ago
Matthew Wild d059f42d87 util.pposix: Compatibility with Solaris systems (thanks Filip) 17 years ago
Matthew Wild 5407a9c88d util.signal: Change ifdef to allow signal.kill() on Solaris (thanks Filip) 17 years ago
Matthew Wild 241f825d41 Makefile: Don't combine variable export with assignment for compatibility with other shells (thanks Filip) 17 years ago
Waqas Hussain c7b6a85abb Makefile.win: Updated the windows Makefile with more appropriate paths. 17 years ago
Waqas Hussain 930f0ab083 util.encodings: Fixed an issue with cross-module memory deallocation (crashes on some windows versions). 17 years ago
Matthew Wild 59c0104106 pposix, mod_posix: Bump pposix version number 17 years ago
Matthew Wild 1e86adb619 pposix: Add setgid() function 17 years ago
Matthew Wild 015da98269 pposix: Change LOG_EMERG -> LOG_CRIT, which makes more sense, thanks to intosi for reporting and an initial patch 17 years ago
Matthew Wild b0c602ba74 Close std{in,out,err} when daemonizing 17 years ago
Matthew Wild fcd300734f Makefiles: Add signal.so to install targets 17 years ago
Matthew Wild 9008dd1e1c util.lsignal: Add lsignal library for catching POSIX signals 17 years ago
Matthew Wild 23e9b6c71a Makefiles, util.signal: Add lsignal library for catching POSIX signals 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild 8cb5eb1311 pposix: Standardize error messages 17 years ago
Matthew Wild c3ca79a8e4 pposix: Small fix for copyright notice 17 years ago
Tobias Markmann 3d1e7adbbc Make the code actually build. 17 years ago
Tobias Markmann 70e434d505 Added missing code. 17 years ago
Tobias Markmann 57ad1b3a49 Adding setrlimits() binding. 17 years ago
Matthew Wild 82d6c67565 util.pposix: Add getuid/setuid (we don't use them yet) 17 years ago
Matthew Wild 6f1ac0657b Use $CC, $LD in Makefile. Add --c-compiler, --linker flags to ./configure script. Add --lflags to ./configure script. Thanks to Lorenzo for the initial patch! 17 years ago
Matthew Wild 5f37a23f35 util.pposix: Fix incompatible pointer type compiler warnings 17 years ago
Matthew Wild 25d0df0a5b Licensing/version updates for some files (forgot to commit, doh...) 17 years ago
Matthew Wild 02d83854f0 Remove redundant linking in util-src modules' Makefile 17 years ago
Matthew Wild dbbaf43f8c pposix: Remove debug line 17 years ago
Matthew Wild 26e856e3d1 pposix: Add syslog_setmask (use config: minimum_log_level = 'warn' etc.) 17 years ago
Matthew Wild 43c5e28558 pposix: Add _NAME and _VERSION 17 years ago
Matthew Wild b1f16033b0 mod_posix/pposix: Fix reporting of incorrect PID on daemonization. Log correct PID, and support writing a pidfile (pidfile = '/path/to/prosody.pid' in config). Added getpid() to pposix and improved function names. 17 years ago
Matthew Wild 333914c98d mod_posix: Support for logging to syslog (log = 'syslog' in config) 17 years ago
Matthew Wild a3737f12ad Makefile fix for clean target 17 years ago
Waqas Hussain f7596f63cf Fixed util.encodings.base64.decode to not truncate results when encountering an '=' before the end of the given input. 17 years ago
Matthew Wild f53f472410 Remove some debugging from pposix.c 17 years ago
Matthew Wild 8b821c21d3 Add posix support library, and adjust makefiles for it 17 years ago
Matthew Wild d1d7509f31 Fix Makefile to link with Lua again 17 years ago
Matthew Wild 87703412c1 Fix configure to save LFLAGS, and also set proper defaults for all sensible OSes 17 years ago
Tobias Markmann d2d44b512b Making makefile work under OS X finally. Yeah OS X's gcc is a little bit strange. 17 years ago
Matthew Wild 72f6ff8408 and the C files too 17 years ago
Matthew Wild 464b5d6c0f Use install to strip symbols 17 years ago
Matthew Wild da2f3ee85a Potential fixes for building on Mac OSX 17 years ago
Matthew Wild e6c50bbe65 Add -fPIC to util-src/Makefile 17 years ago
Matthew Wild dcf87bb7c9 Add a top-level Makefile and ./configure script. Update util-src Makefile for this. 17 years ago
Tobias Markmann a718775bd4 Use unsigned int instead of uint because uint is already in use on OS X. 17 years ago
Tobias Markmann 0df2b3f0c5 To use free you should include stdlib.h rather than malloc.h according to man page of free() and various C reference websites. 17 years ago