J. Nick Koston
16d40be33c
Merge branch 'scanf_bloat' into integration
2026-01-30 20:36:13 -06:00
J. Nick Koston
e68b302bba
[ci] Block new scanf() usage to prevent ~9.8KB flash bloat
2026-01-30 20:21:43 -06:00
J. Nick Koston
3e11a9d8a5
[ci] Block new scanf() usage to prevent ~9.8KB flash bloat
2026-01-30 20:20:24 -06:00
J. Nick Koston
3f93633404
Merge remote-tracking branch 'origin/no_new_to_string' into integration
2026-01-30 20:14:01 -06:00
J. Nick Koston
22ab20ba4c
aioesphomeapi and esphome both always have M format, it was overkill
2026-01-30 00:36:17 -06:00
J. Nick Koston
6ca1b90752
Address Copilot review feedback
...
- Fix regex to actually match std::to_string() by using alternation
(the : in the lookbehind was preventing matches)
- Update error message to mention both std::to_string() and
unqualified to_string() forms
- Correct buffer sizes for signed integer types:
- int8_t: 5 chars (not 4) for "-128\0"
- int16_t: 7 chars (not 6) for "-32768\0"
- int32_t: 12 chars (not 11) for "-2147483648\0"
2026-01-28 18:14:16 -10:00
J. Nick Koston
fe1aa7e9ba
Merge branch 'dev' into no_new_to_string
2026-01-28 17:42:57 -10:00
J. Nick Koston
a7fbecb25c
[ci] Soft-deprecate str_sprintf/str_snprintf to prevent hidden heap allocations ( #13227 )
2026-01-26 17:28:07 -10:00
J. Nick Koston
8d51e2f580
Merge remote-tracking branch 'upstream/dev' into no_new_to_string
...
# Conflicts:
# script/ci-custom.py
2026-01-21 19:50:39 -10:00
J. Nick Koston
fc16ad806a
[ci] Block sprintf/vsprintf usage, suggest snprintf alternatives ( #13305 )
2026-01-20 17:53:36 -10:00
J. Nick Koston
971a1a3e00
[ci] Block new std::to_string() usage, suggest snprintf alternatives
2026-01-19 08:49:31 -10:00
J. Nick Koston
ea0fac96cb
[core][mqtt] Add str_sanitize_to(), soft-deprecate str_sanitize() ( #13233 )
2026-01-18 18:42:04 -10:00
J. Nick Koston
3f892711c7
[core][opentherm] Add format_bin_to(), soft-deprecate format_bin() ( #13232 )
2026-01-17 11:09:42 -10:00
J. Nick Koston
42491569c8
[analyze_memory] Add nRF52/Zephyr platform support for memory analysis ( #13249 )
2026-01-15 17:53:53 -10:00
J. Nick Koston
00cc9e44b6
[analyze_memory] Fix ELF section mapping for RTL87xx and LN882X platforms ( #13213 )
2026-01-15 10:38:24 -10:00
J. Nick Koston
7fed9144a6
[api] Use stack buffer for VERY_VERBOSE proto message dumps ( #13176 )
2026-01-13 08:04:48 -10:00
J. Nick Koston
6c043be4d3
[ci] Add format_hex_pretty to heap-allocating helper lint check ( #13178 )
2026-01-12 20:55:23 -10:00
J. Nick Koston
889886909b
[core] Soft deprecate heap-allocating string helpers to prevent fragmentation patterns ( #13156 )
2026-01-12 12:48:54 -10:00
J. Nick Koston
7ea6bcef88
[api] Use stack buffer for bytes field dumping in proto message logs ( #13162 )
2026-01-12 07:37:58 -10:00
J. Nick Koston
912f94d1e8
[api] Use StringRef for HomeassistantServiceMap.value to eliminate heap allocations ( #13154 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-11 17:54:06 -10:00
J. Nick Koston
45c0796e40
[ci] Add RP2040 to memory impact analysis ( #13134 )
2026-01-11 17:19:00 -10:00
Keith Burzinski
f2eb61a767
[api] Proto code generator changes for #12985 ( #13100 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-01-10 15:43:27 -10:00
J. Nick Koston
546cdbde0d
[api] Simplify string handling by removing bifurcated client/server storage ( #12822 )
2026-01-07 08:23:28 -10:00
J. Nick Koston
5b9be7c169
[ci] Add lint check to prevent usage of deprecated CORE.using_esp_idf ( #13029 )
2026-01-06 17:54:04 -10:00
David Woodhouse
94bedd83be
async_tcp: Add AsyncClient for ESP-IDF and host ( #12337 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-05 23:37:38 +00:00
J. Nick Koston
6aaaae5d0e
[ci] Add LibreTiny (BK72XX) to memory impact analysis ( #12983 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-05 07:40:49 -10:00
tomaszduda23
12027569d3
[nrf52,zigbee] add support for binary_input ( #11535 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-01-04 21:11:14 -05:00
J. Nick Koston
00fd4f2fdd
[esp8266] Exclude unused waveform code to save ~596 bytes RAM ( #12690 )
2026-01-02 19:51:07 -10:00
J. Nick Koston
2a5be725c8
[api] Enable zero-copy bytes SOURCE_BOTH messages ( #12816 )
2026-01-02 19:50:30 -10:00
J. Nick Koston
e7001c5eea
[api] Auto-generate zero-copy pointer access for incoming API bytes fields ( #12654 )
2026-01-02 14:05:37 -10:00
J. Nick Koston
6d4f4d8d23
[api] Auto-generate StringRef for incoming API string fields ( #12648 )
2026-01-02 08:17:05 -10:00
J. Nick Koston
b47b7d43fd
[api] Remove unused force parameter from encode_message ( #12551 )
2025-12-18 09:06:16 -07:00
Jonathan Swoboda
3d673ac55e
[ci] Check changed headers in clang-tidy when using --changed ( #12540 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-17 11:13:18 -10:00
J. Nick Koston
608f834eaa
[ci] Isolate usb_cdc_acm in component tests due to tinyusb/usb_host conflict ( #12392 )
2025-12-10 00:49:29 +01:00
J. Nick Koston
5919355d18
[ci] Allow memory impact target branch build to fail without blocking CI ( #12381 )
2025-12-10 00:26:24 +01:00
Clyde Stubbs
3c7d6b7fc6
[ci-custom] Fix after switch from string to path ( #12314 )
2025-12-06 07:49:23 -06:00
Keith Burzinski
d4bd282bb4
[helpers] Fix unit tests following #12135 ( #12237 )
2025-12-01 22:08:49 +00:00
J. Nick Koston
fb82362e9c
[api] Eliminate rx_buf heap churn and release buffers after initial sync ( #12133 )
2025-11-28 12:13:29 -06:00
Jonathan Swoboda
61cef0a75c
[api] Fix format warnings in dump ( #11999 )
2025-11-19 12:58:47 -05:00
J. Nick Koston
82692d7053
[tests] Migrate components to shared packages and fix ID ambiguity ( #11819 )
2025-11-10 19:00:54 -06:00
J. Nick Koston
a5bf55b6ac
[ci] Fix component batching for beta/release branches (3-4 → 40 per batch) ( #11759 )
2025-11-07 20:19:45 +13:00
J. Nick Koston
bdfd88441a
[ci] Skip memory impact analysis when more than 40 components changed ( #11741 )
2025-11-05 19:31:23 -06:00
J. Nick Koston
ce5e608863
[ci] Skip memory impact analysis for release and beta branches ( #11740 )
2025-11-05 14:32:45 -06:00
J. Nick Koston
060bb4159f
[ci] Cache component dependency graph for up to 3.4x faster determine-jobs ( #11648 )
2025-11-04 17:38:57 +13:00
J. Nick Koston
980098ca77
[ci] Fix non-component files incorrectly detected as components ( #11701 )
2025-11-04 16:47:11 +13:00
J. Nick Koston
6220084fe6
[ci] Fix memory impact analysis to filter incompatible platform components ( #11706 )
2025-11-04 12:23:04 +11:00
Jonathan Swoboda
9c7cb30ae5
[esp32_hosted] Initial OTA implementation ( #11562 )
2025-11-03 14:08:50 -06:00
J. Nick Koston
42833c85f5
[climate] Replace std::vector<std::string> with const char* for custom fan modes and presets ( #11621 )
2025-11-02 23:16:39 -06:00
J. Nick Koston
08aae39ea4
[ci] Consolidate component splitting into determine-jobs ( #11614 )
2025-10-30 14:27:28 +13:00
Jesse Hills
09d89000ad
[core] Remove deprecated schema constants ( #11591 )
2025-10-29 00:14:02 -05:00