Commit Graph

1126 Commits

Author SHA1 Message Date
Gunnar Beutner 77abfed873 Avoid updating the file descriptor list for poll() unless we really need to
refs 
2016-02-23 09:31:52 +01:00
Michael Friedrich eda28b219d Improve performance for Zone::CanAccessObject
fixes 
2016-02-23 09:25:27 +01:00
Michael Friedrich 2bc1d32caa Fix priority ordering for IDO queries
fixes 
refs 
2016-02-23 09:09:06 +01:00
Gunnar Beutner a40fc653ef Implement support for priorities in the WorkQueue class
fixes 
2016-02-23 09:09:06 +01:00
Gunnar Beutner 2e930826e3 Make sure that all strings in the IDO database are UTF8-encoded
fixes 
2016-02-23 09:08:32 +01:00
Gunnar Beutner c544c686a8 Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
Michael Friedrich 833e28025a Fix crash on startup with incorrect directory permissions
fixes 
2015-12-08 15:28:51 +01:00
Michael Friedrich 383a6a1334 Fix missing path in mkdir() exception
fixes 
2015-12-04 10:17:40 +01:00
Gunnar Beutner 141f255d5b Build fix for Windows
refs 
2015-11-26 11:19:33 +01:00
Gunnar Beutner b14a48d519 Implement Platform* global variables
refs 
2015-11-26 11:19:32 +01:00
Gunnar Beutner 93c5fc5b82 Use the ZoneName and NodeName constants for 'node setup' and 'node wizard'
refs 
2015-11-25 17:44:45 +01:00
Gunnar Beutner d96ee6b417 Build fix for systems where strsignal() returns a const char * 2015-11-24 14:45:51 +01:00
Gunnar Beutner b75aa74cbd Fix crash in Process::IOThreadProc when building Icinga 2 with GCC 4.7.2
fixes 
2015-11-17 22:08:05 +01:00
Gunnar Beutner 7d8c8aac5a Use notify_one in WorkQueue::Enqueue
fixes 
2015-11-16 08:13:55 +01:00
Gunnar Beutner eb67f3779f Fix incorrect error messages on Windows
fixes 
2015-11-15 21:18:27 +01:00
Michael Friedrich 545607be9f Fix that custom attribute with function value cannot be cloned
fixes 
2015-11-11 14:18:25 +01:00
Gunnar Beutner e3c75faabc Implement support for recursive object locks
fixes 
2015-11-11 10:21:30 +01:00
Gunnar Beutner 2d2e7ecdb2 Improve location information for exceptions
fixes 
2015-11-10 17:05:40 +01:00
Gunnar Beutner 1667fbaf31 Build fix for Windows 2015-11-10 13:09:34 +01:00
Gunnar Beutner 0a6505ce2d Use poll() for the command pipe fd
refs 
2015-11-10 11:41:21 +01:00
Gunnar Beutner 2cc33b7fb3 Don't validate arguments/parameters that aren't strings
refs 
2015-11-10 07:59:10 +01:00
Gunnar Beutner 9ea51aa86e Use non-blocking open() for the command pipe
fixes 
2015-11-09 20:39:26 +01:00
Gunnar Beutner 5a74f69819 Fix memory leak for JSON-RPC/HTTP connections
fixes 
2015-11-09 10:22:52 +01:00
Gunnar Beutner 7621870278 Implement a debugger for Icinga scripts
fixes 
2015-11-05 14:29:45 +01:00
Gunnar Beutner 645f054980 Fix invalid field IDs in Type::GetField
refs 
2015-11-05 10:58:09 +01:00
Gunnar Beutner 783b58536f Fix 'Invalid field ID' error when serializing Type objects
refs 
2015-11-05 10:52:25 +01:00
Gunnar Beutner 701961b73b Fix the 'type' attribute for the Object class
refs 
2015-11-05 10:29:02 +01:00
Gunnar Beutner a3fd33f8a1 Fix race condition in ConfigWriter::EmitIdentifier
fixes 
2015-11-04 19:05:47 +01:00
Gunnar Beutner fe1c5e9507 Improve formatting for arrays
refs 
2015-11-04 17:06:33 +01:00
Gunnar Beutner 7378964f31 Fix indentation for nested dictionaries
refs 
2015-11-04 16:42:19 +01:00
Michael Friedrich 5d46f661ea Implement 'console' cli command using the API
fixes 
2015-11-04 16:01:06 +01:00
Gunnar Beutner a51bc4010a Fix indentation for Dictionary::ToString
fixes 
2015-11-04 08:44:56 +01:00
Gunnar Beutner 51f473d08a Implement the current_filename and current_line keywords
fixes 
2015-11-03 16:34:34 +01:00
Gunnar Beutner ae23e456a6 Fix race condition in ConfigWriter::GetKeywords
fixes 
2015-11-03 09:46:45 +01:00
Gunnar Beutner ed90d9a847 Fix race condition in CreatePipeOverlapped
fixes 
2015-11-01 12:59:57 +01:00
Gunnar Beutner b2829ca522 Fix plural name for the Array type
fixes 
2015-11-01 10:35:31 +01:00
Gunnar Beutner 050c520b2a Convert Comment/Downtime to config objects
fixes 
2015-10-28 17:56:29 +01:00
Gunnar Beutner dd77863910 Implement Array::ToString and Dictionary::ToString
fixes 
2015-10-26 11:05:24 +01:00
Gunnar Beutner fd2cd7a3a5 Use operator[] instead of insert() for Dictionary::Set
refs 
2015-10-23 06:19:46 +02:00
Michael Friedrich d516d16c9a Fix restore_attribute not working in clusters
fixes 
2015-10-22 14:50:43 +02:00
Michael Friedrich 286538c17e Implement api event streams
Documentation is not yet complete.

refs 
2015-10-21 15:34:26 +02:00
Gunnar Beutner e93dd3cf15 Ensure that the main thread pool gets re-initialized properly after fork()
refs 
2015-10-21 09:18:52 +02:00
Gunnar Beutner d01f09f3ef Hide internal attributes in the API
fixes 
2015-10-20 08:25:10 +02:00
Gunnar Beutner 5aa91551a5 Improve validation for CIDR masks
fixes 
2015-10-19 10:40:48 +02:00
Michael Friedrich ed00ab04c7 Fix OSX control sequence
refs 
2015-10-16 13:46:43 +02:00
Michael Friedrich 6cc4f85c66 Disallow modify attribute for certain object attributes
fixes 
2015-10-16 12:44:08 +02:00
Gunnar Beutner 74aa5c1d6b Make sure that the 'version' attribute is updated when config attributes are changed
fixes 
2015-10-14 13:04:39 +02:00
Thomas Gelf 29188a4a10 Improve error handling in cidr_match function
refs 

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-10-14 12:23:59 +02:00
Gunnar Beutner 06a0f182a5 Implement the cidr_match function
fixes 
2015-10-14 10:14:01 +02:00
Gunnar Beutner e92b7beeb4 Fix parsing performance data labels which contain '='
fixes 
2015-10-13 09:38:31 +02:00