| Files | Last commit | Last update |
|---|---|---|
refactor(extensions): give file-scope globals the g_ camelBack names What: - The DDS communication trace source and its test, the bag command, the topic command stop flag (command_lifecycle.h and its users) and the managed exact candidate now name their mutable file-scope variables with the g_ prefix and camelBack, for example g_slots, g_binding, g_exactEnabled and g_stopRequested. - Two output statements in the DDS trace source are split so no line starts with "<<", and the exact-mode switch is computed from three named conditions before it is stored. The stored value is the same. Why: The code checker asks for one naming style for global variables. Only names and statement layout change; behaviour stays the same. command_lifecycle.h is not installed, so no public header changes. Verification: build-ci incremental build without errors, ctest 74/75: the bounded queue timing test BoundedBlockingQueueTest.StarvedSpinnerDoesNotStallSteadyPushes failed, and also failed in 2 of 3 runs alone. Its sources and test binary are not changed by this work; the cause was not investigated. Build and ctest were run on the final tree, not on each commit. Other checks: the trace source, its test and the candidate syntax-checked with communication trace on, clang-format clean, clang-tidy naming check finds no global variable names left (the candidate scan is partial: clang rejects a generated header). Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(extensions): rename internal members, constants and functions What: - Internal members of the record/playback, bag, DDS, SHM, iceoryx and other extensions now use camelBack, keeping the trailing underscore of private members; designated initializers follow the new names. - Internal constants and enum values now use UPPER_CASE without the "k" prefix. Playback stream results are named RECEIVE_OK, RECEIVE_ERROR and CLOSED to avoid the OK and ERROR macros. - The DDS communication trace helpers are named Mode and Active, also in the test-hook build branch. - Comments that mention a renamed name were updated. - Names kept: yaml-cpp convert specializations, size() and what() required by templates and std::exception, the action wire contract and Fast DDS type support names reached from installed headers, and the test mirror of the C ABI structure fields. Why: - The code checker asks for one naming style; these names are internal. Verification: - build-ci and a second build with the optional transports and features turned on: no errors; ctest 75/75 passed. - Files that are not built in these configurations were compared with the previous commit by a syntax check: no new errors. - clang-format dry run over all tracked C/C++ files: clean; generated code format check, function size check and license check: clean. - A search for every old name finds only uses that belong to other scopes (public API names, message fields, other classes). Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(extensions): rename internal members, constants and functions What: - Internal members of the record/playback, bag, DDS, SHM, iceoryx and other extensions now use camelBack, keeping the trailing underscore of private members; designated initializers follow the new names. - Internal constants and enum values now use UPPER_CASE without the "k" prefix. Playback stream results are named RECEIVE_OK, RECEIVE_ERROR and CLOSED to avoid the OK and ERROR macros. - The DDS communication trace helpers are named Mode and Active, also in the test-hook build branch. - Comments that mention a renamed name were updated. - Names kept: yaml-cpp convert specializations, size() and what() required by templates and std::exception, the action wire contract and Fast DDS type support names reached from installed headers, and the test mirror of the C ABI structure fields. Why: - The code checker asks for one naming style; these names are internal. Verification: - build-ci and a second build with the optional transports and features turned on: no errors; ctest 75/75 passed. - Files that are not built in these configurations were compared with the previous commit by a syntax check: no new errors. - clang-format dry run over all tracked C/C++ files: clean; generated code format check, function size check and license check: clean. - A search for every old name finds only uses that belong to other scopes (public API names, message fields, other classes). Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(extensions): rename internal members, constants and functions What: - Internal members of the record/playback, bag, DDS, SHM, iceoryx and other extensions now use camelBack, keeping the trailing underscore of private members; designated initializers follow the new names. - Internal constants and enum values now use UPPER_CASE without the "k" prefix. Playback stream results are named RECEIVE_OK, RECEIVE_ERROR and CLOSED to avoid the OK and ERROR macros. - The DDS communication trace helpers are named Mode and Active, also in the test-hook build branch. - Comments that mention a renamed name were updated. - Names kept: yaml-cpp convert specializations, size() and what() required by templates and std::exception, the action wire contract and Fast DDS type support names reached from installed headers, and the test mirror of the C ABI structure fields. Why: - The code checker asks for one naming style; these names are internal. Verification: - build-ci and a second build with the optional transports and features turned on: no errors; ctest 75/75 passed. - Files that are not built in these configurations were compared with the previous commit by a syntax check: no new errors. - clang-format dry run over all tracked C/C++ files: clean; generated code format check, function size check and license check: clean. - A search for every old name finds only uses that belong to other scopes (public API names, message fields, other classes). Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(extensions): rename internal members, constants and functions What: - Internal members of the record/playback, bag, DDS, SHM, iceoryx and other extensions now use camelBack, keeping the trailing underscore of private members; designated initializers follow the new names. - Internal constants and enum values now use UPPER_CASE without the "k" prefix. Playback stream results are named RECEIVE_OK, RECEIVE_ERROR and CLOSED to avoid the OK and ERROR macros. - The DDS communication trace helpers are named Mode and Active, also in the test-hook build branch. - Comments that mention a renamed name were updated. - Names kept: yaml-cpp convert specializations, size() and what() required by templates and std::exception, the action wire contract and Fast DDS type support names reached from installed headers, and the test mirror of the C ABI structure fields. Why: - The code checker asks for one naming style; these names are internal. Verification: - build-ci and a second build with the optional transports and features turned on: no errors; ctest 75/75 passed. - Files that are not built in these configurations were compared with the previous commit by a syntax check: no new errors. - clang-format dry run over all tracked C/C++ files: clean; generated code format check, function size check and license check: clean. - A search for every old name finds only uses that belong to other scopes (public API names, message fields, other classes). Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(extensions): rename internal members, constants and functions What: - Internal members of the record/playback, bag, DDS, SHM, iceoryx and other extensions now use camelBack, keeping the trailing underscore of private members; designated initializers follow the new names. - Internal constants and enum values now use UPPER_CASE without the "k" prefix. Playback stream results are named RECEIVE_OK, RECEIVE_ERROR and CLOSED to avoid the OK and ERROR macros. - The DDS communication trace helpers are named Mode and Active, also in the test-hook build branch. - Comments that mention a renamed name were updated. - Names kept: yaml-cpp convert specializations, size() and what() required by templates and std::exception, the action wire contract and Fast DDS type support names reached from installed headers, and the test mirror of the C ABI structure fields. Why: - The code checker asks for one naming style; these names are internal. Verification: - build-ci and a second build with the optional transports and features turned on: no errors; ctest 75/75 passed. - Files that are not built in these configurations were compared with the previous commit by a syntax check: no new errors. - clang-format dry run over all tracked C/C++ files: clean; generated code format check, function size check and license check: clean. - A search for every old name finds only uses that belong to other scopes (public API names, message fields, other classes). Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(extensions): give file-scope globals the g_ camelBack names What: - The DDS communication trace source and its test, the bag command, the topic command stop flag (command_lifecycle.h and its users) and the managed exact candidate now name their mutable file-scope variables with the g_ prefix and camelBack, for example g_slots, g_binding, g_exactEnabled and g_stopRequested. - Two output statements in the DDS trace source are split so no line starts with "<<", and the exact-mode switch is computed from three named conditions before it is stored. The stored value is the same. Why: The code checker asks for one naming style for global variables. Only names and statement layout change; behaviour stays the same. command_lifecycle.h is not installed, so no public header changes. Verification: build-ci incremental build without errors, ctest 74/75: the bounded queue timing test BoundedBlockingQueueTest.StarvedSpinnerDoesNotStallSteadyPushes failed, and also failed in 2 of 3 runs alone. Its sources and test binary are not changed by this work; the cause was not investigated. Build and ctest were run on the final tree, not on each commit. Other checks: the trace source, its test and the candidate syntax-checked with communication trace on, clang-format clean, clang-tidy naming check finds no global variable names left (the candidate scan is partial: clang rejects a generated header). Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago |