3095 Commits

Author SHA1 Message Date
Gunnar Beutner
09f1c46714 Implement the exit() script function.
Refs #5846
2014-03-23 17:26:36 +01:00
Gunnar Beutner
d23078d6c4 Make sure +=, -=, *= and /= behave like they did before.
Refs #5846
2014-03-23 17:26:31 +01:00
Gunnar Beutner
aacc699dd4 Refactor the config parser's AST.
Refs #5846
2014-03-23 11:27:40 +01:00
Gunnar Beutner
67d8bc219e Clean up the AExpression class.
Refs #5846
2014-03-22 10:29:45 +01:00
Gunnar Beutner
24e029bdb0 Allow values as top-level statements.
Refs #5846
2014-03-22 09:50:44 +01:00
Gunnar Beutner
ddbbd42c4b Implement the log() function.
Refs #5846
2014-03-22 09:47:29 +01:00
Gunnar Beutner
3afad7a96d Implement comparison operators for operands of different types.
Refs #5846
2014-03-22 08:40:35 +01:00
Gunnar Beutner
2a6a75d52e Improve error messages for exceptions in AExpressions.
Refs #5846
2014-03-22 08:40:09 +01:00
Gunnar Beutner
3c067e9547 Don't show stack traces for user errors.
Refs #5846
2014-03-22 08:38:46 +01:00
Gunnar Beutner
c9590d5183 Fix location messages.
Refs #5825
2014-03-21 16:01:32 +01:00
Gunnar Beutner
c0b10a8245 Make config error messages friendler.
Refs #5825
2014-03-21 15:58:13 +01:00
Gunnar Beutner
c286c25183 Show additional lines for config errors.
Refs #5825
2014-03-21 15:51:55 +01:00
Gunnar Beutner
0b90444dd8 Build fix. 2014-03-21 15:41:00 +01:00
Gunnar Beutner
dde483d7a8 Make config error messages more awesome.
Refs #5825
2014-03-21 15:39:52 +01:00
Michael Friedrich
e3ad587364 Documentation: Fix anchor. 2014-03-21 15:15:51 +01:00
Gunnar Beutner
87e4b24686 Add line number info to duplicate object error message.
Refs #5825
2014-03-21 14:48:18 +01:00
Gunnar Beutner
7d7c8e8ec9 Fix path names in DebugInfo objects.
Refs #5825
2014-03-21 14:45:01 +01:00
Michael Friedrich
b442bd8372 Documentation: Revamp schemas, add livestatus details.
Refs #5608
2014-03-21 11:54:33 +01:00
Gunnar Beutner
8629071392 Improve line number information.
Fixes #5825
2014-03-21 10:28:58 +01:00
Michael Friedrich
f3f157d60d Set check source only on local instance (empty authority).
Fixes #5824

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-03-21 10:18:11 +01:00
Michael Friedrich
bda7e9f362 Revert "DB IDO: Add check_source_object_id reference to endpoint objects."
There's not necessarily a 1:1 relation between the check source node
name and the endpoint name.

This reverts commit a26df23e3d55abee4d0bd3c34da49d63702d209f.

Refs #5810
Refs #5636

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-03-21 10:18:03 +01:00
Gunnar Beutner
0c7d53503d Resolve relative paths for StackTrace::Addr2Line.
Fixes #5792
2014-03-21 08:44:55 +01:00
Michael Friedrich
793acda14e Documentation: Configure cluster node name. 2014-03-20 22:16:01 +01:00
Michael Friedrich
306851c497 Documentation: Add 'contribute' section. 2014-03-20 21:24:39 +01:00
Michael Friedrich
fee925720d Merge branch 'feature/db-endpoints-5636' into next
Fixes #5636
Fixes #5690
Fixes #5810
Fixes #5811
Fixes #5812
2014-03-20 19:34:05 +01:00
Michael Friedrich
28469ac284 Livestatus: Add missing test.
Refs #5812
2014-03-20 19:26:40 +01:00
Michael Friedrich
e22d2b7ba1 Documentation: Add schema extensions.
Refs #5636
Refs #5811
Refs #5812
2014-03-20 19:17:15 +01:00
Michael Friedrich
662e6dd547 Livestatus: Add check_source to services table.
Refs #5636
Refs #5812
2014-03-20 19:15:19 +01:00
Michael Friedrich
098dbe7506 Livestatus: Add endpoints table.
Refs #5636
Refs #5811
2014-03-20 18:53:08 +01:00
Michael Friedrich
a26df23e3d DB IDO: Add check_source_object_id reference to endpoint objects.
Refs #5810
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
b4f0148871 DB IDO: Add status/history references from local node to endpoint object.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
dfd08ec6ea DB IDO: Use node name for local status updates.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
88dafa8eef Revert "DB IDO: Add endpoint id to history tables, part 1."
This reverts commit 5e2308b065427e15f96dbdcbfe65e6dfded9575e.
2014-03-20 18:03:47 +01:00
Michael Friedrich
6899d967d7 DB IDO: Additional endpoint object id tables.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
c1ed614201 Fix Windows build.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
a29b50cad4 DB IDO: Add endpoint id to history tables, part 1. 2014-03-20 18:03:47 +01:00
Michael Friedrich
dbee02a23a DB IDO: Set is_connected=1 on identity==node.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
ea973e5c82 Move cluster endpoint/jsonrpc functionality into libremote.
Refs #5690
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
0264e52211 DB IDO: Clean schema.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
fc7d7cc9eb DB IDO: Send endpoint authority for status updates.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
097bb5ac97 DB IDO: Add endpoints/endpointstatus tables.
Refs #5636
2014-03-20 18:03:47 +01:00
Gunnar Beutner
1ea91ef49f Windows build fix. 2014-03-20 15:53:45 +01:00
Gunnar Beutner
4d9cd0070c Add missing #include. 2014-03-20 15:41:37 +01:00
Gunnar Beutner
95bf7ca560 Make duplicate object definitions an error.
Fixes #3638
2014-03-20 15:38:29 +01:00
Gunnar Beutner
3ad233400e Make accessing undefined variables an error (instead of a warning).
Fixes #5809
2014-03-20 15:31:48 +01:00
Gunnar Beutner
cb0c1b01d5 Add special cases for Array and Dictionary in Value::GetTypeName().
Refs #5804
2014-03-20 14:28:29 +01:00
Gunnar Beutner
012c0caeec Implement union() and intersection() functions.
Fixes #5801
2014-03-20 14:25:40 +01:00
Gunnar Beutner
8e472211cb Add missing file. 2014-03-20 13:45:10 +01:00
Gunnar Beutner
296d9ce97b Update documentation.
Refs #5789
2014-03-20 13:04:53 +01:00
Gunnar Beutner
02fc3278c8 Implement missing operators for the Value class.
Fixes #5804
2014-03-20 13:02:31 +01:00