1.5.27. Migration to 7.8.3

1.5.27.1. Stylecheck

CodingStyle-AllmanBraces, CodingStyle-WhitesmithBraces

The reporting of preprocessor directives that are treated identically for both rules has been changed. Directives are expected to start in column 1 unless specified otherwise in the expected_indent option. To avoid violations for directives, provide an empty list for the matching entry in expected_indent.

Properly aligned directives starting at column 1 within a statement block no longer cause multiple violations when all other statements start at the same incorrect column. Reporting violations for #define, #undef, and #line relies on the presence of source code; however, the presence or absence of source code no longer affects violations for statement blocks. Incorrect reports for #define and #undef have been removed. The positions of these violations have been corrected. New violations for #line directives may arise, as these were previously ignored. No violations are reported for these directives if source code is missing.

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

Previously, most directives starting with #if, #ifdef, or #ifndef were ignored because they were irregular. These are now reported unless they are excluded via the expected_indent option. To also check the indentation of #elif, #else, and #endif, the rule CodingStyle-MisalignedIfEndIf should be activated.

1.5.27.2. Dashboard

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

The generation of secrets.json and the migration of dashboard2.db are performed automatically, without manual migration steps. However, when copying dashboard2.db (e.g., to serve as a template for new Axivion Dashboard Server configurations), the accompanying secrets.json file must also be copied.