J. Nick Koston
0ddb59cf72
[api] Drop the unused base decode(), group the vtable asserts, and test the decode emitters
...
A generated decodable message that lost its decode() would now fail to compile instead of
silently keeping its defaults. The asserts cover exactly the classes that derive from
ProtoDecodableMessage, under one ifdef per run instead of one per line, and the generator
tests pin the inline decode() wrapper, its absence on fixed vector messages, and the
this-> free static body.
2026-09-24 15:53:50 +01:00
J. Nick Koston
e8e1f434e4
[api] Decode without a vtable
...
decode_field() becomes a static per message function and the generated decode() hands it
to the shared loop as a function pointer, so decodable messages carry no vtable and no
vptr store at every construction site. The loop loses the two vtable loads per field. The
protected destructor on ProtoDecodableMessage goes with the virtuals; ProtoMessage keeps
its own guard for the dump builds that still have them.
2026-09-24 15:53:50 +01:00
J. Nick Koston
9f5ac44db1
[api] Default response only string fields to a null StringRef ( #19025 )
2026-09-24 15:52:37 +01:00
J. Nick Koston
f1f83cda07
[api] Collapse the three protobuf decode virtuals into one ( #19016 )
2026-09-24 15:30:11 +01:00
J. Nick Koston
c27cbb132d
[api] Make generated encode and size entry points type erased ( #19015 )
2026-09-24 15:13:52 +01:00
J. Nick Koston
da148bedfe
[api] Pass the encode cursor by value through the protobuf helpers ( #19014 )
2026-09-24 14:25:50 +01:00
Christopher Pruijsen and J. Nick Koston
457bb3ecc9
[file] Keep resolved image paths as Path so config-hash normalizes them ( #19267 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-09-15 11:33:33 -05:00
Jesse Hills
94e5c3839d
[udp] Use cv.invalid for relocated packet_transport options ( #19032 )
2026-09-08 16:17:22 +12:00
Jesse Hills
d58b37faa1
[esp32_hosted] Add ESP-NOW-over-hosted shim for the ESP32-P4 ( #17712 )
2026-09-07 10:29:20 +12:00
J. Nick Koston and pre-commit-ci-lite[bot]
f65ab5629e
[esp8266] Drop Arduino framework versions before 3.0.0 ( #18917 ) to
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-09-03 15:16:36 -04:00
J. Nick Koston
6957576867
[esp32] Skip full rebuild on sdkconfig change with the esp-idf toolchain ( #18876 )
2026-08-29 03:09:12 +00:00
Clyde Stubbs
c9848d8fa6
[light] Fix gamma table dead zone collapsing to 0 ( #18845 )
2026-08-29 08:37:20 +10:00
c272c4c1a6
[lvgl] Add table widget ( #18422 )
...
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2026-08-26 08:44:42 +10:00
J. Nick Koston
150f75d8f6
[esp8266] Add linker-script surgery and board build metadata for the native toolchain ( #18555 )
2026-08-26 10:29:57 +12:00
J. Nick Koston
145373ed13
[api] Widen message type storage to uint16_t ( #18526 )
2026-08-25 18:04:41 +00:00
Keith Burzinski and J. Nick Koston
b97c877992
[api] Acknowledge proxy subscribe and configuration requests ( #18312 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-08-24 20:27:24 +00:00
Jesse Hills
463e3833da
[light] Replace rgb_order/is_rgbw/is_wrgb with channel_colors ( #18474 )
2026-08-18 13:19:48 +12:00
J. Nick Koston
dd51624fbb
[core] Partially revert "Hash entity keys from the raw name to fix collisions" ( #18361 )
2026-08-13 20:06:48 -05:00
J. Nick Koston
58a42fe5c2
[core] Batch remote file downloads during config validation ( #18069 )
2026-08-12 18:44:35 +12:00
J. Nick Koston
622942482c
[rp2] Size the lwIP segment pool and heap for concurrent senders ( #18257 )
2026-08-12 17:30:17 +12:00
J. Nick Koston
37eae9b466
[api] Gate the bluetooth connection messages on their own define ( #18281 )
2026-08-11 21:31:13 -05:00
Jesse Hills
3349046c5d
[rp2] Record the RP2350 die on generated board entries ( #18305 )
2026-08-12 01:56:05 +00:00
Jesse Hills
f697cf2011
[api] Add DeviceCapabilities message for optional-feature flags ( #17984 )
2026-08-11 14:52:19 +12:00
J. Nick Koston
73689f8d8b
[rp2] Limit pin validation to GPIO 0-29 on RP2350A boards ( #18102 )
2026-08-06 08:55:24 -05:00
Pete Keen
3d093c0ae8
[esp32_rmt_led_strip] Add RGBW channel ordering ( #18028 )
2026-08-05 07:57:59 -04:00
J. Nick Koston
c2ddc17063
[libretiny] Give each platform its own CONFIG_SCHEMA instance ( #18056 )
2026-08-04 11:05:04 -05:00
J. Nick Koston
a1c2983394
[core] Hash entity keys from the raw name to fix collisions ( #17949 )
2026-08-03 20:05:25 -05:00
J. Nick Koston
4424af8c5b
[api] Move runtime log client out of the component package ( #18043 )
2026-08-03 19:57:52 -05:00
J. Nick Koston
e8dadf2852
[esp32] Flag crash records captured by a different firmware build ( #17770 )
2026-08-03 19:56:20 -05:00
J. Nick Koston
e0644ab20a
[esp32] Capture fault address and raw cause in crash handler ( #17769 )
2026-07-25 18:12:53 -10:00
J. Nick Koston
cd8d76fa34
[esp8266] Fail fast when Rosetta 2 is missing on Apple Silicon Macs ( #17737 )
2026-07-21 08:17:01 +12:00
J. Nick Koston
dfb988c563
[micro_wake_word] Download models in parallel ( #17701 )
2026-07-20 16:16:15 +12:00
J. Nick Koston
2a59c0ad9e
[logs] Cap the logs reconnect backoff for deep-sleep devices ( #17656 )
2026-07-17 17:16:14 -10:00
J. Nick Koston
5b4ae22f58
[api] Don't spam tracebacks when decoding a crash without a local build ( #17597 )
2026-07-16 08:08:28 -04:00
J. Nick Koston
49bbceb1da
[libretiny] Keep renamed board generic-ln882hki validating against generic-ln882h ( #17542 )
2026-07-14 11:51:54 +12:00
Jesse Hills and Jonathan Swoboda
cdd334284e
[rp2] Rename rp2040 platform to rp2 ( #17145 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-07-07 08:20:24 +12:00
Franck Nijhof
239211e521
[time] Defer aioesphomeapi import to speed up config validation ( #17214 )
2026-06-25 15:34:44 -04:00
J. Nick Koston
750cf1995b
[esp8266] Decode crash handler PC and backtrace in logs ( #16911 )
2026-06-11 08:47:50 -05:00
J. Nick Koston
ceb9d406e1
[core] Enable ruff PIE (flake8-pie) lint family ( #16658 )
2026-05-26 07:46:44 -04:00
Jesse Hills
62b0a93e5e
[rp2040] Add variant config option for RP2040/RP2350 ( #16602 )
2026-05-25 10:43:39 +12:00
J. Nick Koston
96106d25bc
[wifi] Refuse to compile when wifi_ssid is the device-builder placeholder ( #16444 )
2026-05-15 10:20:15 -07:00
J. Nick Koston
b967adeb9d
[wifi] Accept lowercase variant in variant_has_wifi ( #16345 )
2026-05-11 09:11:36 -04:00
J. Nick Koston
17080ddce6
[wifi][rp2040] Add stable wifi-capability helpers for device-builder ( #16300 )
2026-05-11 12:56:56 +12:00
Diorcet Yann
690a197346
[main] Move stacktrace handling out of platformio_api and FlashImage into platform components/util ( #16186 )
2026-05-04 15:07:31 -04:00
J. Nick Koston
9ddb828da3
[api] Don't tear down log connection on stack-trace decode failure ( #16196 )
2026-05-03 20:05:13 -05:00
Jesse Hills
e1d629f0d2
[time] Handle Windows EINVAL when validating POSIX TZ strings ( #15934 )
2026-04-23 14:35:13 +12:00
J. Nick Koston
9ee5089891
[time] Support */N syntax in cron expressions ( #15434 )
2026-04-04 00:30:41 -10:00
J. Nick Koston
5da3253f4b
[esp8266] Add enable_scanf_float option ( #15284 )
2026-03-29 11:57:52 -10:00
J. Nick Koston
6a77b8b1f4
[light] Fix gamma LUT quantizing small brightness to zero ( #15060 )
2026-03-23 09:19:28 +13:00
J. Nick Koston
02ada93ea5
[wifi] Reject WiFi config on RP2040/RP2350 boards without CYW43 chip ( #14990 )
2026-03-19 18:40:33 -10:00