| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor(style): drop blank lines at block edges and before result checks What: - Removed the blank line between a statement that stores a result and the "if" that checks it (232 places, comments in between are kept). - Removed blank lines right after an opening brace and right before a closing brace of a code block, including extern "C" blocks (56 places). Namespace blocks keep their blank lines. - Fixed the ibmw_gen templates that produced these blank lines (type support package entry point, publisher/subscriber registration checks, RPC client status checks) and regenerated the in-tree samples. Why: - The code checker wants a result check to follow the call directly and no empty lines at the edges of a block. The generator change keeps newly generated code in the same shape. Verification: - build-ci full rebuild: no errors; ctest 75/75 passed. - ibmw_gen tests: 346 passed, only the known failure that needs a build directory; scripts/regen_in_tree.sh 18/18 passed. - clang-format dry run, generated-code format check, function size check and license check: all clean; the blank-line scan finds no remaining place in tracked or generated code. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 天前 | |
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 天前 | |
refactor(style): drop blank lines at block edges and before result checks What: - Removed the blank line between a statement that stores a result and the "if" that checks it (232 places, comments in between are kept). - Removed blank lines right after an opening brace and right before a closing brace of a code block, including extern "C" blocks (56 places). Namespace blocks keep their blank lines. - Fixed the ibmw_gen templates that produced these blank lines (type support package entry point, publisher/subscriber registration checks, RPC client status checks) and regenerated the in-tree samples. Why: - The code checker wants a result check to follow the call directly and no empty lines at the edges of a block. The generator change keeps newly generated code in the same shape. Verification: - build-ci full rebuild: no errors; ctest 75/75 passed. - ibmw_gen tests: 346 passed, only the known failure that needs a build directory; scripts/regen_in_tree.sh 18/18 passed. - clang-format dry run, generated-code format check, function size check and license check: all clean; the blank-line scan finds no remaining place in tracked or generated code. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 天前 | |
refactor(style): drop blank lines at block edges and before result checks What: - Removed the blank line between a statement that stores a result and the "if" that checks it (232 places, comments in between are kept). - Removed blank lines right after an opening brace and right before a closing brace of a code block, including extern "C" blocks (56 places). Namespace blocks keep their blank lines. - Fixed the ibmw_gen templates that produced these blank lines (type support package entry point, publisher/subscriber registration checks, RPC client status checks) and regenerated the in-tree samples. Why: - The code checker wants a result check to follow the call directly and no empty lines at the edges of a block. The generator change keeps newly generated code in the same shape. Verification: - build-ci full rebuild: no errors; ctest 75/75 passed. - ibmw_gen tests: 346 passed, only the known failure that needs a build directory; scripts/regen_in_tree.sh 18/18 passed. - clang-format dry run, generated-code format check, function size check and license check: all clean; the blank-line scan finds no remaining place in tracked or generated code. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 5 天前 | ||
| 5 天前 | ||
| 5 天前 | ||
| 5 天前 |