Commit Graph

95 Commits

Author SHA1 Message Date
Gunnar Beutner 21ea872651 Gracefully deactivate all dynamic objects before shutting down. 2012-08-07 13:08:14 +02:00
Gunnar Beutner d4c6824056 Fixed compiler warnings. 2012-08-04 09:58:31 +02:00
Gunnar Beutner 22dabfc60d Updated the checker and delegation components to use replication for the "checker" property. 2012-08-03 23:03:58 +02:00
Gunnar Beutner d789cee443 Build fixes and code cleanup. 2012-08-03 13:19:55 +02:00
Gunnar Beutner a38379c56d Implemented support for replicating object tags [WIP - broken]. 2012-08-02 11:45:50 +02:00
Gunnar Beutner 24a5a10e00 Refactored ConfigObject adapter classes. 2012-07-27 19:56:57 +02:00
Gunnar Beutner 1eb25ad4e9 Keep track of time using fractions of seconds. 2012-07-25 12:59:17 +02:00
Gunnar Beutner 5a80d47ca0 Build fixes for *NIX. 2012-07-24 13:45:21 +02:00
Gunnar Beutner 4814fed13a Refactored the Component class. 2012-07-23 10:24:27 +02:00
Gunnar Beutner 0ad6026f29 Cleaned up socket exception handling. 2012-07-17 20:41:06 +02:00
Gunnar Beutner a224c20a30 Revert 78215843 as it requires Boost version 1.43. 2012-07-17 19:19:03 +02:00
Gunnar Beutner 78215843cf Use Boost.Range instead of tie(). 2012-07-17 10:29:30 +02:00
Gunnar Beutner e2bf3bd56b Use BOOST_FOREACH for most for loops. 2012-07-16 22:00:50 +02:00
Gunnar Beutner b176963c93 Improved Event::Post performance. 2012-07-13 23:37:05 +02:00
Gunnar Beutner 330c3710e3 More Win32 build fixes. 2012-07-13 15:29:39 +02:00
Gunnar Beutner 7807b87ff5 Win32 build fix. 2012-07-13 15:24:19 +02:00
Gunnar Beutner 2450504382 Fixed uninitialized variable. 2012-07-13 09:59:26 +02:00
Gunnar Beutner 9104bdd8da Implemented support for writing a PID file. 2012-07-12 17:03:34 +02:00
Gunnar Beutner 746400afe5 Fixed crash while shutting down Icinga. 2012-07-12 15:50:31 +02:00
Gunnar Beutner 1405d1961a Cleaned up the Variant class. 2012-07-11 20:55:46 +02:00
Gunnar Beutner a64c99c176 Implemented logging to files and made logging configurable. 2012-07-10 15:14:45 +02:00
Gunnar Beutner 50ffb492b9 Implemented syslog logger class. 2012-07-10 13:31:17 +02:00
Gunnar Beutner 60c4dce4dd Added assert()s for some common thread-safety problems. 2012-07-10 13:00:53 +02:00
Gunnar Beutner 7d859e2e18 Made logging more modular. 2012-07-10 12:21:19 +02:00
Gunnar Beutner 7fadf56ded Make sure that include paths are interpreted as relative to the config file that contains the include directive. 2012-07-08 21:19:10 +02:00
Gunnar Beutner 34d26d424f Made sockets multi-threaded. 2012-06-24 05:27:01 +02:00
Gunnar Beutner cae84e9827 Bugfixes. 2012-06-22 13:40:09 +02:00
Gunnar Beutner d2332c8fd4 Avoid unnecessary wake-ups for timers. 2012-06-22 11:19:58 +02:00
Gunnar Beutner 49c7cd27d2 Check whether there's an application instance before calling Shutdown(). 2012-06-20 15:23:10 +02:00
Gunnar Beutner 468a0ad5b2 Ignore debug log for now. 2012-06-20 10:46:18 +02:00
Gunnar Beutner 7f4c3f84be Code cleanups. 2012-06-17 16:37:36 +02:00
Gunnar Beutner 728f72dcce Use adapters in the checker/delegation components. 2012-06-16 20:47:43 +02:00
Gunnar Beutner dbe48e501c Use specific types (rather than Object::Ptr) for event handlers. 2012-06-16 13:09:17 +02:00
Gunnar Beutner 7753e229cc Remove EventArgs struct. 2012-06-16 03:42:54 +02:00
Gunnar Beutner 10138c7ff8 Cleaned up Application::GetExeDirectory 2012-06-15 22:26:25 +02:00
Gunnar Beutner 9ab3f6aaba Compilation fixes for *NIX. 2012-06-15 19:56:28 +02:00
Gunnar Beutner 0bd5323629 Prefer boost::* over C++0x features. 2012-06-15 19:32:41 +02:00
Gunnar Beutner 1e1bb43dea Replaced custom event code with Boost.Signals. 2012-06-14 15:16:41 +02:00
Gunnar Beutner d45bcf99b1 Integrate libdyn with the configfile component. 2012-06-12 10:13:57 +02:00
Gunnar Beutner 9b8fd9755b Implemented additional parts of the config compiler. 2012-06-05 15:05:15 +02:00
Gunnar Beutner d130d6017f Improved MingW compatibility. 2012-05-28 10:41:21 +02:00
Gunnar Beutner b9af44cd98 Fixed compilation on *NIX. 2012-05-26 21:36:24 +02:00
Gunnar Beutner 33d67401b9 Use STL exceptions as far as possible. 2012-05-26 21:30:04 +02:00
Gunnar Beutner 94eba566af Proper integration for Boost. 2012-05-25 22:04:03 +02:00
Gunnar Beutner 0527ff012a Added support for POSIX.1-2001 realpath() (Hello Solaris 10). 2012-05-25 20:30:11 +02:00
Gunnar Beutner e14bf9faec Fixed compilation on Solaris 10. 2012-05-25 16:56:47 +02:00
Gunnar Beutner 1f56d2eb13 Win32: added handler for Ctrl-C
Removed unused code from the Component class
Added accessor function for Application::Instance
2012-05-21 12:54:28 +02:00
Gunnar Beutner d02dd4eb0a Documentation update.
Code cleanup.
2012-05-18 22:56:34 +02:00
Gunnar Beutner df4c8b9bae Cleaned up code. 2012-05-17 19:14:03 +02:00
Gunnar Beutner 877c7a09b2 Cleaned up Dictionary/Message classes. 2012-05-16 11:30:54 +02:00