Commit Graph

1145 Commits

Author SHA1 Message Date
Jean Flach c1b4a8b757 Remove unused variables
fixes #11111
2016-02-23 09:44:05 +01:00
Gunnar Beutner 0dc6189f47 Build fix
fixes #11096
2016-02-23 09:43:18 +01:00
Michael Friedrich e3373ebfc5 Windows build fix
fixes #11096
2016-02-23 09:41:23 +01:00
Gunnar Beutner 8af6ad74c3 Fix memory leak in Stream::Close
refs #10655
2016-02-23 09:38:24 +01:00
Gunnar Beutner 9a0107d360 Fix memory/thread leak in the HttpServerConnection class
fixes #10655
2016-02-23 09:38:23 +01:00
Gunnar Beutner b6a799d53e Ensure that HttpServerConnections are properly closed
fixes #10655
2016-02-23 09:38:05 +01:00
Michael Friedrich b58ddfb158 Implement String#trim
fixes #11037
2016-02-23 09:35:05 +01:00
Michael Friedrich 9141855454 Fix incorrect --version information
fixes #10784
2016-02-23 09:34:50 +01:00
Gunnar Beutner a2cbe1a0d5 Improve performance for TlsStream::OnEvent
refs #11014
2016-02-23 09:34:20 +01:00
Gunnar Beutner 1fe27e55e9 Use multiple threads for socket IO
refs #11014
2016-02-23 09:33:45 +01:00
Gunnar Beutner 4fdc7042d6 Remove debug log message
refs #11014
2016-02-23 09:33:02 +01:00
Gunnar Beutner d36c3d4066 Avoid unnecessary pollfd updates
refs #11014
2016-02-23 09:33:01 +01:00
Gunnar Beutner 0fbbe620f9 Increase the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls
refs #11014
2016-02-23 09:32:38 +01:00
Gunnar Beutner 4565a1fdb8 Fix incorrect memcpy() with overlapping buffers
refs #11014
2016-02-23 09:32:38 +01:00
Gunnar Beutner f3ab63b60e Avoid unnecessary new/deletes
refs #11014
2016-02-23 09:32:37 +01:00
Gunnar Beutner fe79c54df6 Avoid unnecessary reallocs in FIFO::Optimize
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner 211fc5ad53 Avoid unnecessary dictionary lookups in SocketEvents::ThreadProc
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner d474877add Remove debug output
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner 579d0049f3 Avoid unnecessary wake-ups in SocketEvents::ChangeEvents (part 2)
refs #11014
2016-02-23 09:31:52 +01:00
Gunnar Beutner 77abfed873 Avoid updating the file descriptor list for poll() unless we really need to
refs #11014
2016-02-23 09:31:52 +01:00
Michael Friedrich eda28b219d Improve performance for Zone::CanAccessObject
fixes #10711
2016-02-23 09:25:27 +01:00
Michael Friedrich 2bc1d32caa Fix priority ordering for IDO queries
fixes #10829
refs #8714
2016-02-23 09:09:06 +01:00
Gunnar Beutner a40fc653ef Implement support for priorities in the WorkQueue class
fixes #8714
2016-02-23 09:09:06 +01:00
Gunnar Beutner 2e930826e3 Make sure that all strings in the IDO database are UTF8-encoded
fixes #10554
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 #10739
2015-12-08 15:28:51 +01:00
Michael Friedrich 383a6a1334 Fix missing path in mkdir() exception
fixes #10748
2015-12-04 10:17:40 +01:00
Gunnar Beutner 141f255d5b Build fix for Windows
refs #10693
2015-11-26 11:19:33 +01:00
Gunnar Beutner b14a48d519 Implement Platform* global variables
refs #10693
2015-11-26 11:19:32 +01:00
Gunnar Beutner 93c5fc5b82 Use the ZoneName and NodeName constants for 'node setup' and 'node wizard'
refs #10716
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 #10648
2015-11-17 22:08:05 +01:00
Gunnar Beutner 7d8c8aac5a Use notify_one in WorkQueue::Enqueue
fixes #10639
2015-11-16 08:13:55 +01:00
Gunnar Beutner eb67f3779f Fix incorrect error messages on Windows
fixes #10637
2015-11-15 21:18:27 +01:00
Michael Friedrich 545607be9f Fix that custom attribute with function value cannot be cloned
fixes #10583
2015-11-11 14:18:25 +01:00
Gunnar Beutner e3c75faabc Implement support for recursive object locks
fixes #10596
2015-11-11 10:21:30 +01:00
Gunnar Beutner 2d2e7ecdb2 Improve location information for exceptions
fixes #10568
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 #10410
2015-11-10 11:41:21 +01:00
Gunnar Beutner 2cc33b7fb3 Don't validate arguments/parameters that aren't strings
refs #10539
2015-11-10 07:59:10 +01:00
Gunnar Beutner 9ea51aa86e Use non-blocking open() for the command pipe
fixes #10410
2015-11-09 20:39:26 +01:00
Gunnar Beutner 5a74f69819 Fix memory leak for JSON-RPC/HTTP connections
fixes #10517
2015-11-09 10:22:52 +01:00
Gunnar Beutner 7621870278 Implement a debugger for Icinga scripts
fixes #10547
2015-11-05 14:29:45 +01:00
Gunnar Beutner 645f054980 Fix invalid field IDs in Type::GetField
refs #10387
2015-11-05 10:58:09 +01:00
Gunnar Beutner 783b58536f Fix 'Invalid field ID' error when serializing Type objects
refs #10387
2015-11-05 10:52:25 +01:00
Gunnar Beutner 701961b73b Fix the 'type' attribute for the Object class
refs #10387
2015-11-05 10:29:02 +01:00
Gunnar Beutner a3fd33f8a1 Fix race condition in ConfigWriter::EmitIdentifier
fixes #10538
2015-11-04 19:05:47 +01:00
Gunnar Beutner fe1c5e9507 Improve formatting for arrays
refs #10527
2015-11-04 17:06:33 +01:00
Gunnar Beutner 7378964f31 Fix indentation for nested dictionaries
refs #10527
2015-11-04 16:42:19 +01:00
Michael Friedrich 5d46f661ea Implement 'console' cli command using the API
fixes #10387
2015-11-04 16:01:06 +01:00