Commit Graph

269 Commits

Author SHA1 Message Date
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
Gunnar Beutner 0634075abd Removed unused code. 2012-07-15 17:36:02 +02:00
Gunnar Beutner fd38babd98 More bugfixes for AsyncTask. 2012-07-15 17:29:59 +02:00
Gunnar Beutner 18bbde330c Bugfixes for the AsyncTask class. 2012-07-15 17:15:49 +02:00
Gunnar Beutner 310edc1074 Re-enabled /MP (parallel builds) on Windows. 2012-07-15 13:15:51 +02:00
Gunnar Beutner d703f80e62 Enabled pre-compiled headers for Windows builds. 2012-07-15 13:13:19 +02:00
Gunnar Beutner f5431a953c Build fixes for *NIX. 2012-07-15 13:07:12 +02:00
Gunnar Beutner 3e472012d1 Implemented exception support for AsyncTasks. 2012-07-15 10:58:03 +02:00
Gunnar Beutner 59d4b2ef6b Fixed assert() in ~AsyncTask obscuring other errors. 2012-07-14 20:06:09 +02:00
Gunnar Beutner 30aa16d9dc Implemented script tasks. 2012-07-14 15:59:59 +02:00
Gunnar Beutner 6cbccdc91c Cleaned up AsyncTask class. 2012-07-14 13:57:50 +02:00
Gunnar Beutner eb2e4ac205 Bugfixes for the Process/AsyncTask classes. 2012-07-14 12:44:37 +02:00
Gunnar Beutner b176963c93 Improved Event::Post performance. 2012-07-13 23:37:05 +02:00
Gunnar Beutner a73f41fb6c Fixed compilation errors on *NIX. 2012-07-13 21:07:39 +02:00
Gunnar Beutner 20dbad0131 Implemented Process class, cleaned up NagiosCheckTask. 2012-07-13 21:00:54 +02:00
Gunnar Beutner 06f9bf2eaa Fixed compiler warning. 2012-07-13 19:38:14 +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 3c972b9793 Made Timer::Timers private. 2012-07-13 15:03:24 +02:00
Gunnar Beutner c0d7241eaf Re-implemented integer support for the Variant class. 2012-07-13 13:09:09 +02:00
Gunnar Beutner eebd660d4f Fixed Variant::IsEmpty() 2012-07-13 11:24:05 +02:00
Gunnar Beutner 2450504382 Fixed uninitialized variable. 2012-07-13 09:59:26 +02:00
Gunnar Beutner 6473416352 Implemented 'log' config object and 'logpath' property for the 'application' object. 2012-07-13 09:03:22 +02:00
Gunnar Beutner 9104bdd8da Implemented support for writing a PID file. 2012-07-12 17:03:34 +02:00
Gunnar Beutner ff3259eee6 Removed I2_PLATFORM* macros. 2012-07-12 16:54:33 +02:00
Gunnar Beutner 746400afe5 Fixed crash while shutting down Icinga. 2012-07-12 15:50:31 +02:00
Gunnar Beutner ace116c732 Fix: Make Dictionary::Add() return the new key. 2012-07-12 10:24:54 +02:00
Gunnar Beutner 1405d1961a Cleaned up the Variant class. 2012-07-11 20:55:46 +02:00
Gunnar Beutner 6c03c495b5 Use STD*_FILENO constants in Utility::Daemonize. 2012-07-10 16:24:17 +02:00
Gunnar Beutner 1896ed356f Removed unused ConfigObject methods. 2012-07-10 15:57:54 +02:00
Gunnar Beutner ffd884a6ab Fixed compilation on Windows. 2012-07-10 15:44:59 +02:00
Gunnar Beutner a64c99c176 Implemented logging to files and made logging configurable. 2012-07-10 15:14:45 +02:00
Gunnar Beutner 3fa6531b3d Cleaned up syslog class. 2012-07-10 13:32:15 +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 f2979eb08b Added documentation for the logger classes. 2012-07-10 12:51:53 +02:00
Gunnar Beutner 7d859e2e18 Made logging more modular. 2012-07-10 12:21:19 +02:00
Gunnar Beutner 8dc5ba7632 Added missing GPL headers and Visual Studio filters. 2012-07-09 20:32:02 +02:00
Gunnar Beutner 4402a26c3e Renamed Ringbuffer class to RingBuffer 2012-07-09 20:17:32 +02:00
Gunnar Beutner 777f39c1ef Renamed Dictionary::{Set,Get}Property -> Dictionary::{Set,Get} 2012-07-09 16:19:56 +02:00
Gunnar Beutner 55ca6fd276 Implemented host dependencies 2012-07-09 10:09:53 +02:00