J. Nick Koston
8b733921b5
rename dict to make bot happy
2026-02-09 12:20:01 -06:00
J. Nick Koston
04943e71b0
Merge remote-tracking branch 'upstream/dev' into no_gen_empty_messages
...
# Conflicts:
# esphome/components/api/api_pb2_service.cpp
# script/api_protobuf/api_protobuf.py
2026-02-09 12:10:01 -06:00
J. Nick Koston
d33f23dc43
[ld2410] Batch UART reads to reduce loop overhead ( #13820 )
2026-02-09 12:07:55 -06:00
J. Nick Koston
c43d3889b0
[modbus] Use stack buffer instead of heap vector in send() ( #13853 )
2026-02-09 12:07:42 -06:00
J. Nick Koston
50fe8e51f9
[ld2412] Batch UART reads to reduce loop overhead ( #13819 )
2026-02-09 12:07:28 -06:00
J. Nick Koston
c7883cb5ae
[ld2450] Batch UART reads to reduce loop overhead ( #13818 )
2026-02-09 12:06:38 -06:00
J. Nick Koston
3b0df145b7
[cse7766] Batch UART reads to reduce loop overhead ( #13817 )
2026-02-09 12:05:59 -06:00
J. Nick Koston
2383b6b8b4
[core] Deprecate set_retry, cancel_retry, and RetryResult ( #13845 )
2026-02-09 12:05:32 -06:00
J. Nick Koston
c658d7b57f
[api] Merge auth check into base read_message, eliminate APIServerConnection ( #13873 )
2026-02-09 12:02:02 -06:00
Jonathan Swoboda and Claude Opus 4.6
04a6238c7b
[esp32] Set UV_CACHE_DIR inside data dir so Clean All clears it ( #13888 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-09 17:49:58 +00:00
J. Nick Koston
919afa1553
[web_server_base] Fix RP2040 compilation when Crypto-no-arduino is present ( #13887 )
2026-02-09 12:47:59 -05:00
c28c97fbaf
[mixer] Refactor for stability and to support Sendspin ( #12253 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2026-02-09 10:19:00 -05:00
J. Nick Koston
e24bb092e5
Merge branch 'merge_read_message' into no_gen_empty_messages
2026-02-09 09:09:30 -06:00
J. Nick Koston
9c74efe265
Merge remote-tracking branch 'upstream/dev' into merge_read_message
2026-02-09 08:49:04 -06:00
J. Nick Koston
3cde3daceb
[api] Collapse APIServerConnection intermediary layer ( #13872 )
2026-02-09 08:45:33 -06:00
J. Nick Koston
be4e573cc4
[esp32_hosted] Replace set_retry with set_interval to avoid heap allocation ( #13844 )
2026-02-09 08:45:18 -06:00
J. Nick Koston
66af998098
[dashboard] Handle malformed Basic Auth headers gracefully ( #13866 )
2026-02-09 08:45:03 -06:00
J. Nick Koston
938a11595d
[speaker] Replace set_retry with set_interval to avoid heap allocation ( #13843 )
2026-02-09 08:44:50 -06:00
J. Nick Koston
c812ac8b29
[ms8607] Replace set_retry with set_timeout chain to avoid heap allocation ( #13842 )
2026-02-09 08:44:35 -06:00
J. Nick Koston
248fc06dac
[scheduler] Eliminate heap allocation in full_cleanup_removed_items_ ( #13837 )
2026-02-09 08:44:20 -06:00
J. Nick Koston
8b8acb3b27
[dashboard] Use constant-time comparison for username check ( #13865 )
2026-02-09 08:31:06 -06:00
J. Nick Koston
1c60efa4b6
[ota] Use secrets module for OTA authentication cnonce ( #13863 )
2026-02-09 08:30:49 -06:00
J. Nick Koston
4ef238eb7b
[analyze-memory] Attribute third-party library symbols via nm scanning ( #13878 )
2026-02-09 08:26:03 -06:00
J. Nick Koston
22c77866d8
[e131] Remove unnecessary heap allocation from packet receive loop ( #13852 )
2026-02-09 06:42:26 -06:00
J. Nick Koston
790ac620ab
[web_server_idf] Use C++17 nested namespace style ( #13856 )
2026-02-09 06:42:12 -06:00
J. Nick Koston
4f5be934a0
[api] Skip class generation for empty SOURCE_CLIENT protobuf messages
2026-02-09 04:12:01 -06:00
J. Nick Koston
f3a0d46ee9
Revert "[api] Skip class generation for empty SOURCE_CLIENT protobuf messages"
...
This reverts commit bd23e3ffa9 .
2026-02-09 04:11:39 -06:00
J. Nick Koston
bd23e3ffa9
[api] Skip class generation for empty SOURCE_CLIENT protobuf messages
2026-02-09 04:05:23 -06:00
tronikos
fb93283720
[water_heater] Add state masking to distinguish explicit commands from no-change ( #13879 )
2026-02-09 03:52:49 -06:00
J. Nick Koston
926e74db9b
Merge branch 'collapse_intermediary' into merge_read_message
2026-02-09 03:45:51 -06:00
J. Nick Koston
bed01da345
[api] Guard varint parsing against overlong encodings ( #13870 )
2026-02-09 03:45:40 -06:00
J. Nick Koston
acdd5e6ac4
Merge remote-tracking branch 'upstream/dev' into collapse_intermediary
2026-02-09 03:44:58 -06:00
J. Nick Koston
422f413680
[lps22] Replace set_retry with set_interval to avoid heap allocation ( #13841 )
2026-02-09 03:26:44 -06:00
J. Nick Koston
c3c0c40524
[mqtt] Return friendly_name_() by const reference to avoid string copies ( #13810 )
2026-02-09 03:26:29 -06:00
J. Nick Koston
46f8302d8f
[mqtt] Use stack buffer for discovery topic to avoid heap allocation ( #13812 )
2026-02-09 03:26:15 -06:00
J. Nick Koston
e24528c842
[analyze-memory] Attribute CSWTCH symbols from SDK archives ( #13850 )
2026-02-09 03:25:59 -06:00
J. Nick Koston
5370687001
[wizard] Use secrets module for fallback AP password generation ( #13864 )
2026-02-09 03:25:41 -06:00
J. Nick Koston
6ee185c58a
[dashboard] Use resolve/relative_to for download path validation ( #13867 )
2026-02-09 03:25:23 -06:00
J. Nick Koston
eb6a6f8d0d
[web_server_idf] Remove unused host() method ( #13869 )
2026-02-09 03:25:05 -06:00
J. Nick Koston
140ec0639c
[api] Elide empty message construction in protobuf dispatch ( #13871 )
2026-02-09 03:24:45 -06:00
Clyde Stubbs
756f1c6b7e
[lvgl] Fix crash with unconfigured top_layer ( #13846 )
2026-02-08 21:53:43 -05:00
tomaszduda23
28b9487b25
[nrf52,logger] fix printk ( #13874 )
2026-02-08 17:52:05 +00:00
J. Nick Koston
491112db69
Generate auth check unconditionally in read_message
...
If all messages required auth (both no_conn_ids and conn_only_ids
empty), the auth check block would be skipped entirely. Now generates
a simple check_authenticated_() call as fallback when there are no
exceptions to the default auth requirement.
2026-02-08 10:23:22 -06:00
J. Nick Koston
2376c020e8
Merge auth check into base read_message, eliminate APIServerConnection
...
Move the authentication/connection check switch into
APIServerConnectionBase::read_message before the dispatch switch,
eliminating the APIServerConnection class entirely. APIConnection
now inherits directly from APIServerConnectionBase.
2026-02-08 10:11:42 -06:00
J. Nick Koston
d28c3e2641
Collapse APIServerConnection intermediary layer
...
Remove the 48 on_xxx overrides and 48 pure virtual methods from
the generated APIServerConnection class. APIConnection now overrides
on_xxx() directly from APIServerConnectionBase, eliminating one
virtual call per message dispatch and ~96 vtable entries.
2026-02-08 10:05:10 -06:00
J. Nick Koston
4cf1d7babf
Revert "Collapse APIServerConnection intermediary layer"
...
This reverts commit cac82280b3 .
2026-02-08 09:57:03 -06:00
J. Nick Koston
cac82280b3
Collapse APIServerConnection intermediary layer
...
Remove the 48 on_xxx overrides and 48 pure virtual methods from
the generated APIServerConnection class. APIConnection now overrides
on_xxx() directly from APIServerConnectionBase, eliminating one
virtual call per message dispatch and ~96 vtable entries.
2026-02-08 09:55:31 -06:00
J. Nick Koston
25b1ce4268
Merge branch 'dev' into empty_messages_reduce
2026-02-08 09:33:42 -06:00
J. Nick Koston
aa38ec379a
Address review: fix RECEIVE_CASES type annotation and log format
...
- Update RECEIVE_CASES type hint from 2-tuple to 3-tuple to match
the actual stored shape (case, ifdef, message_name)
- Use consistent log format "%s: {}" for empty message overload
to match the "%s: %s" pattern of non-empty messages
2026-02-08 09:32:40 -06:00
J. Nick Koston
c641256396
empty messages
2026-02-08 09:16:53 -06:00