Gunnar Beutner
|
02dc3a9507
|
Workaround for GCC bug 61321
|
2017-12-20 08:02:17 +01:00 |
Gunnar Beutner
|
adc892bde7
|
Windows build fix
|
2017-12-20 08:01:04 +01:00 |
Gunnar Beutner
|
4866f777cc
|
Avoid unnecessary allocations for script frames
|
2017-12-18 13:40:29 +01:00 |
Gunnar Beutner
|
ab8386cf5c
|
Use std::unique_ptr for Expression objects
|
2017-12-15 10:44:54 +01:00 |
Gunnar Beutner
|
1ad83886ac
|
Replace a few more NULLs with nullptr
|
2017-12-14 15:37:20 +01:00 |
Gunnar Beutner
|
42744fde5b
|
Remove extraneous whitespace
|
2017-12-14 08:50:09 +01:00 |
Gunnar Beutner
|
96e214221d
|
Remove unused variables
|
2017-12-14 08:50:09 +01:00 |
Gunnar Beutner
|
325e4a2fb9
|
Use nullptr instead of <Type>::Ptr()
|
2017-11-30 17:47:09 +01:00 |
Gunnar Beutner
|
3c60fbf75d
|
Use std::vector::emplace_back instead of std::vector::push_back
|
2017-11-30 17:47:09 +01:00 |
Gunnar Beutner
|
9ce950b0f1
|
Replace boost::ref/boost::cref with std::ref/std::cref
|
2017-11-30 17:47:09 +01:00 |
Gunnar Beutner
|
6d09efc907
|
Use std::shared_ptr instead of boost::shared_ptr
|
2017-11-30 17:41:00 +01:00 |
Gunnar Beutner
|
300d424459
|
Use std::promise instead of boost::promise
|
2017-11-30 17:39:22 +01:00 |
Gunnar Beutner
|
c6e36723d5
|
Merge pull request #5819 from Icinga/feature/avoid-func-call-allocations
Avoid unnecessary allocations in the FunctionCallExpression class
|
2017-11-29 14:24:46 +01:00 |
Gunnar Beutner
|
db6a1fcdb7
|
Avoid unnecessary allocations in the FunctionCallExpression class
|
2017-11-29 14:11:09 +01:00 |
Gunnar Beutner
|
d5961bb76c
|
Re-implement WrapFunction() using C++11 features
|
2017-11-29 11:53:45 +01:00 |
Gunnar Beutner
|
858873b940
|
Replace boost::bind/boost::function with std::bind/std::function
|
2017-11-27 15:15:11 +01:00 |
Noah Hilverling
|
aab50f669c
|
Add process elevation & log message if user does not have enough privileges
refs #5515
|
2017-09-22 10:25:17 +02:00 |
Gunnar Beutner
|
f9feb41877
|
Implement support for handling exceptions in user scripts
|
2017-06-13 14:03:41 +02:00 |
Gunnar Beutner
|
7e3b664140
|
Add missing ->GetName() calls
fixes #5256
|
2017-05-15 11:11:08 +02:00 |
Gunnar Beutner
|
d05b7c4178
|
Allow expressions for the type in object/template declarations
|
2017-05-11 14:21:30 +02:00 |
Gunnar Beutner
|
f9f3358d09
|
Make sure all objects are set to 'active' before calling the Start() method
fixes #5224
|
2017-05-04 10:37:34 +02:00 |
Gunnar Beutner
|
4134f7fe42
|
Make sure modified attributes are applied before calling the objects' Start method
refs #4696
|
2017-05-03 12:02:19 +02:00 |
Gunnar Beutner
|
b62241e0ba
|
Remove redundant #include
refs #5168
|
2017-04-27 09:24:37 +02:00 |
Gunnar Beutner
|
d03d09160a
|
Clean up the IsAbsolutePath patch
refs #5168
|
2017-04-27 05:31:44 +02:00 |
Jean Flach
|
293625c17b
|
Fix absolute include paths for windows
fixes #5168
|
2017-04-24 15:39:21 +02:00 |
Gunnar Beutner
|
5d45c74be3
|
Improve function metadata by adding arguments
fixes #5087
|
2017-03-27 14:43:19 +02:00 |
Gunnar Beutner
|
446490ceb3
|
Fix crash in ConfigItem::RemoveIgnoredItems
fixes #4952
|
2017-02-01 12:56:53 +01:00 |
Michael Friedrich
|
b7caf0820d
|
Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
|
2017-01-10 17:19:12 +01:00 |
Gunnar Beutner
|
17029e3161
|
Suppress compiler warnings for auto-generated code
fixes #12635
|
2016-09-05 06:51:31 +02:00 |
Gunnar Beutner
|
7879c09789
|
Avoid unnecessary dictionary lookups
refs #12555
|
2016-09-01 07:41:41 +02:00 |
Gunnar Beutner
|
06cb3cf875
|
Another build fix for Windows
refs #9182
|
2016-08-31 13:43:50 +02:00 |
Gunnar Beutner
|
68dceaab06
|
Replace boost::exception_ptr with std::exception_ptr
refs #9182
|
2016-08-30 20:46:23 +02:00 |
Gunnar Beutner
|
489269e2fa
|
Fix incorrect debug hints for nested dictionary expressions
fixes #12571
|
2016-08-29 08:46:29 +02:00 |
Gunnar Beutner
|
32e6da1c60
|
Speed up item lookups for ConfigItem::GetDefaultTemplates
refs #12575
|
2016-08-29 08:40:46 +02:00 |
Gunnar Beutner
|
f12b52f465
|
Use lambdas in the ConfigItem class
refs #12509
|
2016-08-29 08:16:33 +02:00 |
Gunnar Beutner
|
11e1cc9939
|
Remove unnecessary ScriptFrame variable
refs #12509
|
2016-08-29 05:54:07 +02:00 |
Gunnar Beutner
|
2ce8a4d4cc
|
Add missing initializers for the ConfigItemBuilder class
refs #12575
|
2016-08-28 14:12:07 +02:00 |
Gunnar Beutner
|
e5af5b5dd3
|
Use raw string literals in mkembedconfig
fixes #12576
|
2016-08-28 11:01:45 +02:00 |
Gunnar Beutner
|
78cd56e277
|
Implement support for default templates
fixes #12575
|
2016-08-28 10:27:43 +02:00 |
Gunnar Beutner
|
e8b0797ec4
|
Use 'auto' keyword for iterator declarations (part 2)
refs #12561
|
2016-08-27 19:56:12 +02:00 |
Gunnar Beutner
|
eafe4c578d
|
Avoid unnecessary copies for the DebugHint class
refs #12509
|
2016-08-27 18:43:14 +02:00 |
Gunnar Beutner
|
b5b09216c6
|
Use lambda functions for INITIALIZE_ONCE
fixes #12562
|
2016-08-27 09:48:36 +02:00 |
Gunnar Beutner
|
5058c5d75b
|
Use 'auto' for iterator declarations
fixes #12561
|
2016-08-27 08:37:19 +02:00 |
Gunnar Beutner
|
7194b36d3e
|
Avoid unnecessary string copies for LiteralExpression objects
refs #12509
|
2016-08-26 18:11:56 +02:00 |
Gunnar Beutner
|
30762e5330
|
Set versions for all internal libraries
fixes #12552
|
2016-08-25 17:56:18 +02:00 |
Gunnar Beutner
|
ce7b6e4f87
|
Remove unused method: ApplyRule::DiscardRules
fixes #12544
|
2016-08-25 10:21:14 +02:00 |
Gunnar Beutner
|
288413f046
|
Replace BOOST_FOREACH with range-based for loops
fixes #12538
|
2016-08-25 06:46:17 +02:00 |
Gunnar Beutner
|
429d11daa8
|
Fix compiler warnings
fixes #12534
|
2016-08-24 20:33:34 +02:00 |
Gunnar Beutner
|
ae1ab5f865
|
Implement unit tests for state changes
fixes #12530
|
2016-08-24 19:45:52 +02:00 |
Gunnar Beutner
|
218e780a44
|
Avoid unnecessary string copies
fixes #12509
|
2016-08-23 15:01:40 +02:00 |
Gunnar Beutner
|
43a4acd5a2
|
Remove deprecated functions
fixes #12507
|
2016-08-23 15:01:40 +02:00 |
Gunnar Beutner
|
b5637a2d16
|
Fix memory leak for the 'use' keyword
fixes #12487
|
2016-08-19 09:17:40 +02:00 |
Gunnar Beutner
|
7fcf8ece72
|
Remove unnecessary dictionary lookups in the DebugHint class
refs #12457
|
2016-08-17 09:20:05 +02:00 |
Gunnar Beutner
|
b7a1b58069
|
Improve performance for type lookups
fixes #12448
|
2016-08-16 11:02:33 +02:00 |
Gunnar Beutner
|
afc1b9bdc5
|
Move type variables into the 'Types' namespace
refs #12408
|
2016-08-12 17:05:19 +02:00 |
Gunnar Beutner
|
419500e55e
|
Fix 'use' keyword for templates
fixes #12409
|
2016-08-12 13:32:13 +02:00 |
Gunnar Beutner
|
2a40a71ffa
|
Change scoping mechanism for the __using keyword
refs #12408
|
2016-08-12 13:14:10 +02:00 |
Gunnar Beutner
|
3980cf04a0
|
Fix exception with __using
refs #12408
|
2016-08-12 12:05:02 +02:00 |
Gunnar Beutner
|
c5a170a972
|
Implement support for namespaces
fixes #12408
|
2016-08-12 11:32:16 +02:00 |
Gunnar Beutner
|
f0beeba354
|
Fix missing names for user-defined functions
refs #12393
|
2016-08-11 09:08:33 +02:00 |
Gunnar Beutner
|
54bbaf9f7d
|
Implement support for marking functions as deprecated
fixes #12393
|
2016-08-10 15:48:05 +02:00 |
Gunnar Beutner
|
dc06209e4a
|
Move internal script functions into the 'Internal' namespace
fixes #12338
|
2016-08-10 06:55:44 +02:00 |
Gunnar Beutner
|
ff293661fc
|
Rename/Remove experimental script functions
fixes #12332
|
2016-08-09 10:43:55 +02:00 |
Gunnar Beutner
|
8deeb73bb8
|
Register a new script frame in Function::Invoke
fixes #9848
|
2016-08-08 14:12:08 +02:00 |
Gunnar Beutner
|
46f8c7eb59
|
Remove temporary icinga2.debug file in case the config validation fails
fixes #12318
|
2016-08-05 09:15:17 +02:00 |
Michael Friedrich
|
915ebe17cd
|
ConfigCompiler should not log included files by default
fixes #11419
|
2016-07-05 15:43:48 +02:00 |
Michael Friedrich
|
5836b5b868
|
Fix: include_recursive should gracefully handle inaccessible files
fixes #12098
|
2016-07-05 15:40:49 +02:00 |
Gunnar Beutner
|
906ab613f3
|
Fix crash when using include_recursive in an object definition
fixes #12022
|
2016-06-22 17:01:36 +02:00 |
Gunnar Beutner
|
ff57b0ccd6
|
Add name attribute for the WorkQueue class
fixes #10816
|
2016-06-14 09:08:04 +02:00 |
Gunnar Beutner
|
222b90107f
|
Fix crash in ConfigItem::Commit
fixes #11804
|
2016-05-18 12:53:41 +02:00 |
Gunnar Beutner
|
b9fdb3bfd9
|
Make sure that object names aren't empty
fixes #9989
|
2016-05-11 09:48:18 +02:00 |
Gunnar Beutner
|
81a7a002b4
|
Improve validation for flow control statements
fixes #11622
|
2016-05-11 08:01:31 +02:00 |
Michael Friedrich
|
2faf121ff4
|
Remove commentsand downtimes with reference to deleted checkable objects
Silence the warning message and change the log level to notice as well.
fixes #10717
|
2016-05-03 11:30:02 +02:00 |
Gunnar Beutner
|
93a09b874b
|
Remove the (unused) 'inherits' keyword
fixes #11659
|
2016-04-22 13:49:30 +02:00 |
Gunnar Beutner
|
d2cd4b6667
|
Improve performance for locks and value conversions
refs #11612
|
2016-04-19 09:38:22 +02:00 |
Gunnar Beutner
|
3008d5ef31
|
Improve performance for field accesses
fixes #11612
|
2016-04-18 17:05:22 +02:00 |
Michael Friedrich
|
027a23f468
|
Fix: Overwriting global type variables causes crash in ConfigItem::Commit()
fixes #11484
|
2016-03-31 11:43:16 +02:00 |
Gunnar Beutner
|
112f024810
|
Build fix for GCC
refs #9839
|
2016-03-29 14:52:48 +02:00 |
Gunnar Beutner
|
eb0892273e
|
Implement the DateTime class
fixes #9839
|
2016-03-29 13:27:20 +02:00 |
Gunnar Beutner
|
5de9a988d9
|
Improve validation for arrays
fixes #11434
|
2016-03-24 09:15:39 +01:00 |
Gunnar Beutner
|
6ba0c5fe01
|
Implement recursion limit for AST expressions which don't use a separate stack frame
fixes #11106
|
2016-03-23 09:03:49 +01:00 |
Michael Friedrich
|
47c5425137
|
Fix permissions for temporary files
fixes #11212
fixes #11211
|
2016-02-24 11:00:44 +01:00 |
Michael Friedrich
|
4cb5b97e52
|
Fix unique creation of temp files
fixes #10948
|
2016-02-23 12:30:59 +01:00 |
Gunnar Beutner
|
c06f6d7aeb
|
Fix crash in ConfigItem::RunWithActivationContext
fixes #11085
|
2016-02-04 13:17:37 +01:00 |
Gunnar Beutner
|
599929b0f6
|
Update copyright headers for 2016
|
2016-01-12 08:29:59 +01:00 |
Michael Friedrich
|
323b759a90
|
Fix config validation for templates used as object reference name
fixes #10830
|
2015-12-17 13:49:30 +01:00 |
Michael Friedrich
|
8055f05d5e
|
Fix cluster config sync for (non-)authoritative configs
Details: https://dev.icinga.org/issues/10819#note-39
refs #10819
|
2015-12-12 12:16:00 +01:00 |
Michael Friedrich
|
e5ca19b17f
|
Fix that relative paths do not work with include_zones
fixes #10828
|
2015-12-11 16:58:43 +01:00 |
Gunnar Beutner
|
678a237739
|
Turn '=>' lambda expressions into side-effect-free statements
fixes #10760
|
2015-12-01 16:41:00 +01:00 |
Gunnar Beutner
|
4ab6f2a985
|
Fix crash in ConfigItem::ActivateItems
refs #10643
|
2015-11-23 17:25:35 +01:00 |
Michael Friedrich
|
d0545c4ea2
|
Fix crash in ConfigItem::ActivateItems
refs #10643
|
2015-11-23 14:02:33 +01:00 |
Gunnar Beutner
|
5991a878a0
|
Build fix for SLES 11 (with -std=c++11)
fixes #10615
|
2015-11-21 04:46:13 +01:00 |
Gunnar Beutner
|
3505ca3c16
|
Fix race condition in the ConfigItem class
fixes #10643
|
2015-11-19 19:38:49 +01:00 |
Gunnar Beutner
|
79b15efd09
|
Allow null values for constructor calls
fixes #10628
|
2015-11-14 05:36:48 +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
|
7621870278
|
Implement a debugger for Icinga scripts
fixes #10547
|
2015-11-05 14:29:45 +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
|
51f473d08a
|
Implement the current_filename and current_line keywords
fixes #10243
|
2015-11-03 16:34:34 +01:00 |
Gunnar Beutner
|
050c520b2a
|
Convert Comment/Downtime to config objects
fixes #9777
|
2015-10-28 17:56:29 +01:00 |