Releases: m5stack/M5Utility
Releases · m5stack/M5Utility
0.0.12
Changed
- Unified
U16/S16into genericEndianInt<T, DataIsLittle>template and added 32/64/128-bit endian-aware integer types
Fixes
- Fixed
operator<bug in endian-aware integer comparisons
変更
U16/S16を汎用テンプレートEndianInt<T, DataIsLittle>に統合し、32/64/128 ビットのエンディアン対応整数型を追加
修正
- エンディアン対応整数型の
operator<バグを修正
0.0.11
Fixes
- Fixed
trimRight/trimLeftbeing swapped (each was performing the other's operation) - Fixed undefined behavior in
BitSegmentwith signed types - Fixed UB in
std::swapspecialization forcircular_buffer - Fixed VLA usage in
formatString() - Fixed
byteswapto use portable implementation with__builtin_bswapoptimization and__int128support
修正
trimRight/trimLeftの実装が入れ替わっていたバグを修正- 符号付き型での
BitSegmentの未定義動作を修正 circular_bufferのstd::swap特殊化における UB を修正formatString()での VLA 使用を修正byteswapをポータブル実装に修正(__builtin_bswap最適化、__int128サポート)
0.0.10
Add
- Added
m5::stl::clamp(including a compatibility implementation for pre-C++17) - Added Base64 decode APIs (
decode_base64,decodeBase64,decodeBase64URL) - Added
intelhexinstallation in CI before PlatformIO runs
Fixes
- Fixed 3DES guards for
nullptrinputs (out/in) andin_len == 0 - Improved
byteswaptype constraints (better support for enum/integer types, including__int128) - Adjusted test/workflow conditions to improve CI stability
追加
m5::stl::clampを追加(C++17未満向け互換実装含む)- Base64 デコードAPIを追加(
decode_base64/decodeBase64/decodeBase64URL) - CIで
intelhexインストールを追加(PlatformIO実行前)
修正
- 3DES処理で
out/inのnullptrとin_len==0のガードを修正 byteswapの型制約を改善(enum/整数系、__int128系への対応強化)- テスト/ワークフロー条件を調整(CI安定化)