J. Nick Koston
bd23e3ffa9
[api] Skip class generation for empty SOURCE_CLIENT protobuf messages
2026-02-09 04:05:23 -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
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
J. Nick Koston
e4dd75f0b5
empty messages
2026-02-08 09:15:15 -06:00
J. Nick Koston
a7d1686cfd
empty messages
2026-02-08 09:14:15 -06:00
J. Nick Koston
d71f7df367
empty messages
2026-02-08 09:12:41 -06:00
J. Nick Koston
a56415ca3f
empty messages
2026-02-08 09:10:48 -06:00
J. Nick Koston
41fedaedb3
[udp] Eliminate per-loop heap allocation using std::span ( #13838 )
...
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com >
2026-02-08 08:26:47 -06:00
schrob
7b40e8afcb
[epaper_spi] Declare leaf classes final ( #13776 )
2026-02-07 19:21:37 -06:00
J. Nick Koston
a43e3e5948
[dashboard] Close WebSocket after process exit to prevent zombie connections ( #13834 )
2026-02-07 15:19:20 -06:00
schrob
9de91539e6
[epaper_spi] Add Waveshare 1.54-G ( #13758 )
2026-02-08 06:24:57 +11:00
tronikos
eb7aa3420f
Add target_temperature to the template water heater ( #13661 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-02-06 21:23:42 +01:00
J. Nick Koston
86f91eed2f
[mqtt] Move switch string tables to PROGMEM_STRING_TABLE ( #13802 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-06 19:30:05 +01:00
J. Nick Koston
41cecbfb0f
[template] Convert alarm sensor type to PROGMEM_STRING_TABLE and narrow enum to uint8_t ( #13804 )
2026-02-06 18:22:26 +00:00
Jonathan Swoboda
9315da79bc
[core] Add missing requests dependency to requirements.txt ( #13803 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-06 13:03:16 -05:00
PolarGoose
155447f541
[dsmr] Fix issue with parsing lines like 1-0:0.2.0((ER11)) ( #13780 )
2026-02-06 12:53:59 -05:00
J. Nick Koston
238e40966f
[light] Move CSWTCH lookup table to PROGMEM in get_suitable_color_modes_mask_ ( #13801 )
2026-02-06 17:33:26 +00:00
J. Nick Koston
f9192b5f75
[wifi] Avoid jump tables in LOG_STR switch statements to save ESP8266 RAM ( #13799 )
2026-02-06 18:20:46 +01:00
J. Nick Koston
2917057da8
[analyze-memory] Trace CSWTCH switch table symbols to source components ( #13798 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-02-06 18:08:30 +01:00
J. Nick Koston
c7c9ffe7e1
[light] Convert color_mode_to_human to PROGMEM_STRING_TABLE using to_bit() ( #13797 )
2026-02-06 17:38:03 +01:00
J. Nick Koston
368ef5687b
[update] Move update_state_to_string to update component and convert to PROGMEM_STRING_TABLE ( #13796 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-06 17:37:41 +01:00
J. Nick Koston
b7dc975331
[core] Convert entity string lookups to PROGMEM_STRING_TABLE ( #13794 )
2026-02-06 17:37:19 +01:00
J. Nick Koston
44f308502e
[gpio] Convert interrupt_type_to_string to PROGMEM_STRING_TABLE ( #13795 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-06 17:37:02 +01:00
J. Nick Koston
ec477801ca
[wifi] Defer ESP8266 WiFi listener callbacks from system context to main loop ( #13789 )
2026-02-06 16:23:19 +00:00
J. Nick Koston
c3622ef7fb
[http_request] Fix chunked transfer encoding on Arduino platforms ( #13790 )
2026-02-06 15:52:41 +01:00
J. Nick Koston
e4ad2082bc
[core] Add PROGMEM_STRING_TABLE macro for flash-optimized string lookups ( #13659 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-06 15:26:16 +01:00
Andrew Rankin
7afd0eb1aa
[esp32_ble] include sdkconfig.h before ESP-Hosted preprocessor guards ( #13787 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-06 11:36:55 +00:00
Clyde Stubbs
112a2c5d92
[const] Move some constants to common ( #13788 )
2026-02-06 20:11:08 +11:00
Jonathan Swoboda
fef5d3f88f
[rdm6300] Add ID-20LA compatibility by skipping CR/LF bytes ( #13779 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-06 04:10:22 -05:00
Jonathan Swoboda
8e461db301
[ota] Fix CLI upload option shown when only http_request platform configured ( #13784 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-06 04:09:48 -05:00
dependabot[bot]
6decdfad26
Bump github/codeql-action from 4.32.1 to 4.32.2 ( #13781 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-06 10:05:10 +01:00
Jonathan Swoboda
c7729cb019
[esp32] Use underscores in arduino_libs_stub folder name ( #13785 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-06 09:51:13 +01:00