| Files | Last commit | Last update |
|---|---|---|
refactor(style): keep stream operators at the end of wrapped lines What: - Split long stream output chains into one statement per line, so no wrapped line starts with a "<<" operator. - In tests, move long conditions or lookups into named locals and build long failure messages as a string first, so each assertion fits on one line. - Applied the same change repo-wide (about 180 statements in 79 files): JSON and YAML builders, CLI output, diagnostics and tests. Why: - The code checker requires that a wrapped expression keeps its operator at the end of the line, not at the start of the next line. clang-format always breaks before "<<", so the only way to satisfy both tools is to keep each statement short enough to fit on one line. - The produced text is unchanged: every split statement writes the same pieces in the same order. Verification: - build-ci full rebuild: no errors; ctest 75/75 passed. - mw_perf_collect tests: 969 passed, 2 skipped; core metrics tests: 215 passed. - clang-format dry run, generated-code format check, function size check and license check: all clean; no code line starts with a binary operator. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(naming): use the .cpp suffix for C++ source files What: rename every C++ source file in the repository from .cc to .cpp (824 files, with git history kept as renames) and update the build lists, scripts, tests, configs, docs and source comments that name them. The project generators (ibmw-gen and ibmw_cli) now write .cpp files for new projects; when a project being regenerated already holds .cc sources from an earlier run, the generators keep .cc for it so the user's files and CMake lists stay consistent. A small helper picks the suffix from the output directory, and new tests cover both the new and the legacy case. Generated CMake lists from ibmw_cli accept both suffixes. The in-tree generated samples and the template project are regenerated with the new names. Why: the code check requires C++ source files to use the .cpp suffix. Verification: full build with 0 errors; ctest 75/75 passed; ibmw-gen tests 341 passed with only the known environment-dependent failure; mw_perf_collect tests 968 passed, 2 skipped; core metrics tests 215 passed; shell tests show only the three known environment failures; clang-format, generated-code format, license header, docs governance and release hygiene checks pass. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
refactor(naming): use the .cpp suffix for C++ source files What: rename every C++ source file in the repository from .cc to .cpp (824 files, with git history kept as renames) and update the build lists, scripts, tests, configs, docs and source comments that name them. The project generators (ibmw-gen and ibmw_cli) now write .cpp files for new projects; when a project being regenerated already holds .cc sources from an earlier run, the generators keep .cc for it so the user's files and CMake lists stay consistent. A small helper picks the suffix from the output directory, and new tests cover both the new and the legacy case. Generated CMake lists from ibmw_cli accept both suffixes. The in-tree generated samples and the template project are regenerated with the new names. Why: the code check requires C++ source files to use the .cpp suffix. Verification: full build with 0 errors; ctest 75/75 passed; ibmw-gen tests 341 passed with only the known environment-dependent failure; mw_perf_collect tests 968 passed, 2 skipped; core metrics tests 215 passed; shell tests show only the three known environment failures; clang-format, generated-code format, license header, docs governance and release hygiene checks pass. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
fix(naming): finish the camelBack rename in the text type support fixture What: - The text type support consumer fixture declared its lambda as checkStruct but still called check_struct; call it by its new name. - Two comments in the C transport handle header still named the old parameter names release_callback and timeout_ms; use releaseCallback and timeoutMs like the declarations they describe. Why: the fixture is not part of the CI build, so the half-finished rename went unnoticed and the fixture no longer compiled. Verification: a scan of every renamed parameter and local in the naming commits found no other remaining uses of an old name; the text type support consumer test builds and passes against an SDK installed from build-ci; clang-format clean. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago | |
perf(selfdev/shm): shm Core Metrics lossless perf gate (phase 4c-1) What: selfdev-shm phase 4c-1: shm Core Metrics lossless perf gate Why: as described by the author below. Where: scripts/baseline_red_lines.txt, scripts/contracts, scripts/core_metrics_perf.py, scripts/core_metrics_shm_perf.py, scripts/tests, src/samples When: 2026-11-05 Who: fanglinxu (selfdev 3+1); message reworded to the 5W2H contract during the upstream master sync, content unchanged How: as described by the author below. How much: 18 files, +919/-83 Verification: as described by the author below; the whole branch is re-verified after the rebase onto upstream master. Add scripts/core_metrics_shm_perf.py (protocol core-metrics-shm-lossless-v1, frozen load 736000) reusing core_metrics_perf.py through a private module instance, with its own protocol/dependency contracts (no iceoryx), private per-trial IBMW_SHM_ROOT, output-dir guard over all snapshot roots and shm artifact labels. The iceoryx gate's constants are parameterized only; its outputs are byte-identical. The Reporter hot bench builds with iceoryx or shm (kind via IBMW_REPORTER_HOT_KIND, default unchanged). shm_loaned_ctx gains a lossless subscriber app, a measurement window and an async-signal-safe publisher app; iox_loaned_ctx's subscriber module takes its driver by injection. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 18 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 5 days ago | ||
| 18 days ago |