net.server: Fix potential nil handler usage

Automated merge with http://waqas.ath.cx:8000/

Stopped using presencemanager in stanza_router

Automated merge with http://waqas.ath.cx:8000/

mod_presence: initial commit

core/eventmanager2 - new event manager

Allow setting LFLAGS with ./configure --lflags=

mod_debug: Set default interface to 127.0.0.1

net.server: Simple logging fix

core.s2smanager: Don't initiate dialback if we don't have a connection yet

net.server: Remove some debug code which slipped through

Makefiles: Add signal.so to install targets

prosody: Add prosody_shutdown() function to initiate a server shutdown, add code to gracefully close connections before stopping

mod_posix: Allow logging and pidfile options to take effect without needing to daemonize. Add the ability to catch SIGTERM.

xmppserver_listener: Add session:close() method to outgoing s2s connections too

net.server: Add server.setquitting() to gracefully quit the socket loop

util.lsignal: Add lsignal library for catching POSIX signals

Makefiles, util.signal: Add lsignal library for catching POSIX signals

componentmanager: Set core_route_stanza after stanza_router is loaded

componentmanager: Use core_route_stanza to reply in the default component

componentmanager: Restore default component when unregistering

componentmanager: Small logging fix

componentmanager: Improve default component stanza handler

mod_component: Deregister component on disconnect

net.adns: Flush buffer after sending DNS request

mod_component: Update for new net_activate_ports

Allow config to specify listening interfaces

Remove more debugging code which was accidentally committed (don't trust hg)

(0) -1000 -300 -100 -50 -28 +28 +50 +100 +300 +1000 +3000 tip

mercurial