J. Nick Koston
5ea4b5b74b
Improve comments explaining why explicit close() is unnecessary before delete
2026-02-20 18:20:56 -06:00
J. Nick Koston
9fc291e98f
Address review: rename close_socket_ to destroy_socket_, use log helper for reuseaddr, clarify destructor behavior
2026-02-20 18:10:52 -06:00
J. Nick Koston
f389314945
Address review comments: clarify socket type comments, use log helper for reuseaddr
2026-02-20 18:06:38 -06:00
J. Nick Koston
7a6df910e5
[api,ota,captive_portal] Use raw pointer for listen sockets to reduce flash
...
Replace std::unique_ptr<Socket> with raw Socket* for listen sockets
that are created once in setup() and live for the program lifetime.
The unique_ptr move-assign generates dead code to destroy the previous
value (which is always nullptr in setup), including a virtual destructor
call through the vtable that the compiler cannot eliminate because
__uniq_ptr_impl::reset is not inlined.
Changes:
- Use .release() to extract raw pointer from socket factory return
- Add socket_failed_/server_failed_ helpers that combine error logging,
cleanup, and mark_failed into a single call
- Convert error messages to LOG_STR for flash storage on ESP8266
- Socket destructor already calls close(), so explicit close() before
delete is unnecessary
Saves 20 bytes on ESP32-IDF, 180 bytes on ESP8266.
2026-02-20 17:57:23 -06:00
Jonathan Swoboda
efe54e3b5e
[ld2410/ld2450] Replace header sync with buffer size increase for frame resync ( #14138 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 23:25:25 -05:00
Jonathan Swoboda
5af871acce
[ld2420] Increase MAX_LINE_LENGTH to allow footer-based resync ( #14137 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 22:36:12 -05:00
Jonathan Swoboda
a2f0607c1e
[ld2410] Add frame header synchronization to readline_() ( #14136 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-20 03:04:38 +00:00
Jonathan Swoboda
b67b2cc3ab
[ld2450] Add frame header synchronization to fix initialization regression ( #14135 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-20 02:56:20 +00:00
Jonathan Swoboda
7a2a149061
[esp32] Bump ESP-IDF to 5.5.3 ( #14122 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 21:43:29 -05:00
J. Nick Koston
afbc45bf32
[e131] Drain all queued packets per loop iteration ( #14133 )
2026-02-19 20:35:42 -06:00
J. Nick Koston
c1265a9490
[core] Use constexpr for hand-written PROGMEM arrays in C++ ( #14129 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 18:54:57 -06:00
J. Nick Koston
94712b3961
[esp8266][web_server] Use constexpr for PROGMEM arrays in codegen ( #14128 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 18:54:44 -06:00
J. Nick Koston
d29288547e
[core] Use constexpr for PROGMEM arrays ( #14127 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 18:54:33 -06:00
Jonathan Swoboda
1b4de55efd
[pulse_counter] Fix PCNT glitch filter calculation off by 1000x ( #14132 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-20 00:12:37 +00:00
J. Nick Koston
cceb109303
[uart] Always call pin setup for UART0 default pins on ESP-IDF ( #14130 )
2026-02-19 23:48:18 +00:00
Jonathan Swoboda
17a810b939
[wifi] Sync output_power with PHY max TX power to prevent brownout ( #14118 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 15:14:48 -05:00
J. Nick Koston
4aa8f57d36
[json] Add SerializationBuffer for stack-first JSON serialization ( #13625 )
2026-02-19 14:08:44 -06:00
Jonathan Swoboda
f2c98d6126
[safe_mode] Log brownout as reset reason on OTA rollback ( #14113 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 17:45:04 +00:00
J. Nick Koston
7a5c3cee0d
[esp32_ble] Enable CONFIG_BT_RELEASE_IRAM on ESP32-C2 ( #14109 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 17:41:00 +00:00
Jonathan Swoboda
9aa17984df
[pulse_counter] Fix build failure when use_pcnt is false ( #14111 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 17:25:26 +00:00
Jonathan Swoboda
da616e0557
[ethernet] Improve clk_mode deprecation warning with actionable YAML ( #14104 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 17:00:05 +00:00
Kevin Ahrendt
d2026b4cd7
[audio] Disable FLAC CRC validation to improve decoding efficiency ( #14108 )
2026-02-19 11:56:34 -05:00
Jonathan Swoboda
ed74790eed
[i2c] Remove deprecated stop parameter overloads and readv/writev methods ( #14106 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 16:56:06 +00:00
Jonathan Swoboda
bf2e22da4f
[esp32] Remove deprecated add_idf_component() parameters and IDF component refresh option ( #14105 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 16:55:03 +00:00
Jonathan Swoboda
bd50b80882
[opentherm] Remove deprecated opentherm_version config option ( #14103 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 11:34:40 -05:00
Kevin Ahrendt
b11ad26c4f
[audio] Support decoding audio directly from flash ( #14098 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-19 11:20:19 -05:00
J. Nick Koston
f7459670d3
[core] Optimize WarnIfComponentBlockingGuard::finish() hot path ( #14040 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 16:10:22 +00:00
Jonathan Swoboda
5304750215
[socket] Fix IPv6 compilation error on host platform ( #14101 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 16:00:34 +00:00
J. Nick Koston
a8171da003
[web_server] Reduce set_json_id flash and stack usage ( #14029 )
2026-02-19 09:38:57 -06:00
J. Nick Koston
916cf0d8b7
[e131] Replace std::map with std::vector for universe tracking ( #14087 )
2026-02-19 09:28:00 -06:00
J. Nick Koston
0484b2852d
[e131] Fix E1.31 on ESP8266 and RP2040 by restoring WiFiUDP support ( #14086 )
2026-02-19 09:27:05 -06:00
J. Nick Koston
b5a8e1c94c
[ci] Update lint message to recommend constexpr over static const ( #14099 )
2026-02-19 09:06:46 -06:00
dependabot[bot]
01a46f665f
Bump esptool from 5.1.0 to 5.2.0 ( #14058 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-19 09:42:22 -05:00
J. Nick Koston
535980b9bd
[cse7761] Use constexpr for compile-time constants ( #14081 )
2026-02-19 08:40:41 -06:00
J. Nick Koston
b0085e21f7
[core] Devirtualize call_loop() and mark_failed() in Component ( #14083 )
2026-02-19 08:40:23 -06:00
J. Nick Koston
6daca09794
[logger] Replace LogListener virtual interface with LogCallback struct ( #14084 )
2026-02-19 08:40:08 -06:00
J. Nick Koston
7b53a98950
[socket] Log error when UDP socket requested on LWIP TCP-only platforms ( #14089 )
2026-02-19 08:39:44 -06:00
Rodrigo Martín
4cc1e6a910
[esp32_ble_server] add test for lambda characteristic ( #14091 )
2026-02-19 09:23:22 -05:00
Marc Hörsken
4d05e4d576
[esp32_camera] Add support for sensors without JPEG support ( #9496 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-02-18 21:52:38 -06:00
Kevin Ahrendt
eefad194d0
[audio, speaker] Add support for decoding Ogg Opus files ( #13967 )
2026-02-18 21:51:33 -06:00
Kevin Ahrendt
ba7134ee3f
[mdns] add Sendspin advertisement support ( #14013 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-02-18 21:51:16 -06:00
Kevin Ahrendt
264c8faedd
[media_player] Add more commands to support Sendspin ( #12258 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2026-02-18 21:51:01 -06:00
Kevin Ahrendt
3c227eeca4
[audio] Add support for sinking via an arbitrary callback ( #14035 )
2026-02-18 21:50:39 -06:00
J. Nick Koston
c8598fe620
[bluetooth_proxy] Use constexpr for remaining compile-time constants ( #14080 )
2026-02-18 21:34:25 -06:00
J. Nick Koston
2f9b76f129
[pn7160] Use constexpr for compile-time constants ( #14078 )
2026-02-18 21:33:39 -06:00
J. Nick Koston
9a8b00a428
[nfc] Use constexpr for compile-time constants ( #14077 )
2026-02-18 21:33:23 -06:00
J. Nick Koston
eaf0d03a37
[ld2420] Use constexpr for compile-time constants ( #14079 )
2026-02-18 21:32:37 -06:00
J. Nick Koston
e7f2021864
[http_request] Replace std::map with std::vector in action template ( #14026 )
2026-02-18 21:32:24 -06:00
J. Nick Koston
dff9780d3a
[core] Use constexpr for compile-time constants ( #14071 )
2026-02-19 03:19:48 +00:00
J. Nick Koston
20239d1bb3
[remote_base] Use constexpr for compile-time constants ( #14076 )
2026-02-19 03:16:09 +00:00