Skip to content

Comments

pr1 method renaming#57

Merged
yoziru merged 12 commits intomainfrom
pr1-method-renaming
Feb 2, 2026
Merged

pr1 method renaming#57
yoziru merged 12 commits intomainfrom
pr1-method-renaming

Conversation

@yoziru
Copy link
Owner

@yoziru yoziru commented Feb 1, 2026

  • fix(clang-tidy): use config file + lint headers
  • fix(AGENTS.md): code style sync with clang-tidy
  • refactor: Standardize method names to snake_case
  • chore: remove unused imports
  • defs.h: use VA_OPT
  • fix: clang-tidy issues and renaming
  • set CMAKE_EXPORT_COMPILE_COMMANDS ON
  • update .gitignore
  • lint.sh improvements

yoziru added 11 commits January 31, 2026 10:58
Convert all camelCase method names to snake_case for consistency
with C++ naming conventions.

Files modified:
- include/client.h & src/client.cpp
- include/peer.h & src/peer.cpp
- include/crypto_context.h & src/crypto_context.cpp
- include/message_builders.h & src/message_builders.cpp
- include/vehicle.h (already snake_case)
- include/vin_utils.h & src/vin_utils.cpp
- include/tb_logging.h (defs.h)
- include/adapters.h (already snake_case)
- include/errors.h & src/errors.cpp
- src/logging_bridge.cpp
- src/vehicle.cpp
- All test files updated to use new method names

All 206 tests pass and all lint checks pass.
- Split scripts/lint.sh into separate clang-format.sh and clang-tidy.sh
- Make scripts POSIX sh compatible for Linux/macOS portability
- Add --check flag for CI mode and --fix flag for clang-tidy
- Update .clang-tidy config with HeaderFilterRegex to check project headers
- Add ExcludeHeaderFilterRegex to skip generated/_deps headers
- Update CI workflow to use new unified scripts
- Update AGENTS.md documentation with new commands
@yoziru yoziru force-pushed the pr1-method-renaming branch from 84ad9c7 to 2a755ec Compare February 2, 2026 18:27
CI: separate build examples step
@yoziru yoziru force-pushed the pr1-method-renaming branch from 2a755ec to c6d51ee Compare February 2, 2026 18:30
@yoziru yoziru merged commit c987807 into main Feb 2, 2026
4 checks passed
@yoziru yoziru deleted the pr1-method-renaming branch February 2, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant