Commit Graph

309 Commits

Author SHA1 Message Date
Gunnar Beutner 06b1a73864 Fixed crash while shutting down Icinga. 2012-08-14 14:04:05 +02:00
Gunnar Beutner 160219f4d3 Refactored Application class to use DynamicObject as a base class. 2012-08-14 12:51:51 +02:00
Gunnar Beutner 645a767ecc Build fix for Boost 1.50 (and possibly other versions as well). 2012-08-14 10:40:43 +02:00
Gunnar Beutner a3cdcae7ce Fixed crash when shutting down Icinga. 2012-08-14 10:31:19 +02:00
Gunnar Beutner a9610ecb9e Cleaned up exception handling. 2012-08-14 09:51:11 +02:00
Gunnar Beutner c5c534b55b Build fix for Solaris. 2012-08-13 13:06:43 +02:00
Gunnar Beutner 1e0bb5d51c Build fix for FreeBSD. 2012-08-13 12:39:37 +02:00
Gunnar Beutner 0e8a5587a9 State file: Store attributes of type Attribute_Local. 2012-08-13 10:27:49 +02:00
Gunnar Beutner 7aed3f6b47 Build fix (when using the bundled ltdl lib). 2012-08-11 18:32:03 +02:00
Gunnar Beutner 0e674a7a70 Fixed some more compiler warnings. 2012-08-08 08:34:15 +02:00
Gunnar Beutner 60f5ded83a Fixed some compiler warnings. 2012-08-07 21:02:12 +02:00
Gunnar Beutner 3c2acab7d7 Fixed log message incorrectly referring to temp file. 2012-08-07 14:17:36 +02:00
Gunnar Beutner 21ea872651 Gracefully deactivate all dynamic objects before shutting down. 2012-08-07 13:08:14 +02:00
Gunnar Beutner 4d02780f4c Improved performance for Dictionary::Get. 2012-08-06 12:03:38 +02:00
Gunnar Beutner caf08b3069 Improved TcpClient lock usage. 2012-08-06 10:01:21 +02:00
Gunnar Beutner 378894d24f Fixed restoring the program state. 2012-08-05 03:10:53 +02:00
Gunnar Beutner 2f7b67ce2b Fixed invalid iterator use. 2012-08-04 14:25:02 +02:00
Gunnar Beutner d8be3f088f Bugfix for restoring objects from the retention.dat file. 2012-08-04 14:13:04 +02:00
Gunnar Beutner b9ee3b26eb Fixed remote replication of non-config attributes. 2012-08-04 10:23:18 +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 bb7e1e639d Code cleanup. 2012-08-03 15:35:27 +02:00
Gunnar Beutner d789cee443 Build fixes and code cleanup. 2012-08-03 13:19:55 +02:00
Gunnar Beutner 99b153e482 Bugfixes. 2012-08-02 12:12:59 +02:00
Gunnar Beutner a38379c56d Implemented support for replicating object tags [WIP - broken]. 2012-08-02 11:45:50 +02:00
Gunnar Beutner 8c185a38b0 Renamed ConfigObject to DynamicObject. 2012-07-30 10:17:29 +02:00
Gunnar Beutner 24a5a10e00 Refactored ConfigObject adapter classes. 2012-07-27 19:56:57 +02:00
Gunnar Beutner 61e381befc Fixed incorrect references to the 'retention.dat' file. 2012-07-26 11:42:57 +02:00
Gunnar Beutner 1eb25ad4e9 Keep track of time using fractions of seconds. 2012-07-25 12:59:17 +02:00
Gunnar Beutner 97a8869df1 Use throw_exception() instead of throw. 2012-07-24 15:38:04 +02:00
Gunnar Beutner 928804b5f3 Don't save properties for non-persistent config objects. 2012-07-24 14:18:33 +02:00
Gunnar Beutner 5a80d47ca0 Build fixes for *NIX. 2012-07-24 13:45:21 +02:00
Gunnar Beutner bd8e0a9001 Add support for serializing empty Variants. 2012-07-24 13:33:38 +02:00
Gunnar Beutner 709cd36e83 Implemented state retention. 2012-07-24 13:13:02 +02:00
Gunnar Beutner 44b3de76c9 Moved serialization functionality into the base library. 2012-07-24 10:50:53 +02:00
Gunnar Beutner d87c1758d5 Build fix for *NIX. 2012-07-23 10:27:12 +02:00
Gunnar Beutner 4814fed13a Refactored the Component class. 2012-07-23 10:24:27 +02:00
Gunnar Beutner bcb1b23d9f Handle all exception types rather than just the ones inheriting from std::exception. 2012-07-23 08:57:19 +02:00
Gunnar Beutner b162ca9bfb Added TcpClient::OnConnected event. 2012-07-18 11:15:39 +02:00
Gunnar Beutner 1fd0800780 Build fix. 2012-07-17 20:44:22 +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 bc1ded140f Build fixes for *NIX. 2012-07-17 00:01:23 +02:00
Gunnar Beutner e2bf3bd56b Use BOOST_FOREACH for most for loops. 2012-07-16 22:00:50 +02:00
Gunnar Beutner 6ebb1bf192 Bugfixes for SSL sockets. 2012-07-16 12:25:09 +02:00
Gunnar Beutner dd26fd46f5 Keep track of whether sockets are connected. 2012-07-16 11:15:20 +02:00
Gunnar Beutner 7270fb160c Renamed "hooks" to "methods". 2012-07-16 08:19:51 +02:00
Gunnar Beutner 52f4bd7a72 Added missing GPL Header. 2012-07-16 00:04:16 +02:00
Gunnar Beutner 802fc15969 Cleaned up TcpClient interface. 2012-07-16 00:02:31 +02:00