1.4.16. Migration to 7.8.3

1.4.16.1. Stylecheck

CodingStyle-AllmanBraces, CodingStyle-WhitesmithBraces

The reporting of preprocessor directives that are treated identically for both rules, has been changed. Directives are supposed to start in column 1 if not specified differently in option expected_indent. To avoid violations for directives, an empty list should be given for a matching entry in expected_indent.

Properly aligned directives starting at column 1 within a statement block no longer cause multiple violations within the statement block when all other statements are starting at the same wrong column. Reporting violations for #define, #undef and #line relies on the presence of source code, but now the presence or absence of source code no longer changes violations for statement blocks. Wrong reports for #define and #undef have been removed. Positions for these violations have been corrected. New violations for #line directives may arise as these have been ignored before. Nothing is reported for these directives if source code is missing.

Another minor change is that tokens are now reported (if available) instead of statements to avoid multiple violations only differing due to macro expansions.

Before, most directives starting with #if, #ifdef, or #ifndef have been ignored for being irregular. These are now reported if not excluded via the option expected_indent. To also check the indentation of #elif, #else and #endif the rule CodingStyle-MisalignedIfEndIf should be activated.

1.4.16.2. Dashboard

As additional defense mechanism, some critical entries in the configuration database of the Axivion Dashboard Server (dashboard2.db) will be encrypted. The necessary keys are stored in the file secrets.json next to the dashboard2.db. Without the corresponding secrets.json, the dashboard2.db cannot be used anymore.

The generation of the secrets.json and the migration of the dashboard2.db will be done automatically without manual migration steps. However, when copying the dashboard2.db (e.g., to serve as template for new Axivion Dashboard Server configurations), a secrets.json next to it has to be copied as well.