Commit Graph

21531 Commits

Author SHA1 Message Date
J. Nick Koston
ae0dc8d21f Merge branch 'esp8266-logger-vsnprintf-p' into integration 2026-02-02 17:40:39 +01:00
J. Nick Koston
9ba295d334 preen 2026-02-02 17:40:26 +01:00
J. Nick Koston
aad3ed3411 Merge branch 'esp8266-logger-vsnprintf-p' into integration 2026-02-02 17:34:51 +01:00
J. Nick Koston
1501db38b1 tweak 2026-02-02 13:28:00 +01:00
J. Nick Koston
bc6d88fabe [logger] Use vsnprintf_P directly for ESP8266 flash format strings
Instead of copying the format string from flash to RAM before
formatting, use vsnprintf_P to read the format string directly
from flash memory.

This eliminates:
- The byte-by-byte copy loop from PROGMEM
- The complex dual-purpose buffer management
- Potential buffer overflow if format string is very long

The new format_body_to_buffer_P_() function is a simple variant
that uses vsnprintf_P instead of vsnprintf.
2026-02-02 07:58:49 +01:00
J. Nick Koston
62f34bea83 [template.output] Avoid heap allocation for triggers (#13709) 2026-02-02 07:36:27 +01:00
J. Nick Koston
6114005952 [template.water_heater] Avoid heap allocation for trigger (#13712) 2026-02-02 07:36:08 +01:00
J. Nick Koston
c0e5ae4298 [template.text] Avoid heap allocation for trigger (#13711) 2026-02-02 07:35:21 +01:00
J. Nick Koston
420de987bc [micro_wake_word] Avoid heap allocation for trigger (#13714) 2026-02-02 07:35:03 +01:00
J. Nick Koston
61e33217cd [cc1101] Avoid heap allocation for trigger (#13715) 2026-02-02 07:34:50 +01:00
J. Nick Koston
b5b9a89561 [light] Avoid heap allocation for AutomationLightEffect trigger (#13713) 2026-02-02 07:34:34 +01:00
J. Nick Koston
bc9fc66225 [template.datetime] Avoid heap allocation for triggers (#13710) 2026-02-02 04:30:46 +00:00
J. Nick Koston
6727fe9040 [remote_transmitter] Avoid heap allocation for triggers (#13708) 2026-02-02 04:18:17 +00:00
J. Nick Koston
7e740208aa Merge branch 'remote_transmitter_no_heap_trigger' into integration 2026-02-02 05:16:53 +01:00
J. Nick Koston
e1c8a3e679 Merge remote-tracking branch 'origin/dev' into integration 2026-02-02 05:16:21 +01:00
J. Nick Koston
81317b2108 Merge branch 'micro_wake_word_no_heap_trigger' into integration 2026-02-02 05:16:13 +01:00
J. Nick Koston
b94b98ad90 Merge branch 'cc1101_no_heap_trigger' into integration 2026-02-02 05:16:07 +01:00
J. Nick Koston
56110d4495 [time_based] Avoid heap allocation for cover triggers (#13703) 2026-02-02 05:15:50 +01:00
J. Nick Koston
1362ff6cba [speaker.media_player] Avoid heap allocation for triggers (#13707) 2026-02-02 05:15:33 +01:00
J. Nick Koston
dbd7401721 [feedback] Avoid heap allocation for cover triggers (#13693) 2026-02-02 05:15:13 +01:00
J. Nick Koston
f1f9c14e93 [cc1101] Avoid heap allocation for trigger 2026-02-02 05:14:20 +01:00
J. Nick Koston
f0801ecac0 [template.lock] Avoid heap allocation for triggers (#13704) 2026-02-02 05:14:11 +01:00
J. Nick Koston
89cc20c423 [micro_wake_word] Avoid heap allocation for trigger 2026-02-02 05:12:18 +01:00
J. Nick Koston
1b1d74d679 Merge remote-tracking branch 'origin/template_datetime_no_heap_triggers' into integration 2026-02-02 05:10:29 +01:00
J. Nick Koston
8141d9838b Merge branch 'base_light_effects_no_heap_trigger' into integration 2026-02-02 05:10:15 +01:00
J. Nick Koston
16e645d8d6 Merge branch 'template_water_heater_no_heap_trigger' into integration 2026-02-02 05:10:09 +01:00
J. Nick Koston
379652f631 [thermostat] Remove dead null checks for triggers (#13706) 2026-02-02 04:10:08 +00:00
J. Nick Koston
69d9085944 Merge remote-tracking branch 'origin/template_text_no_heap_trigger' into integration 2026-02-02 05:10:04 +01:00
J. Nick Koston
7cc83400a4 Merge branch 'template_text_no_heap_trigger' into integration 2026-02-02 05:09:57 +01:00
J. Nick Koston
440de782e8 [light] Avoid heap allocation for AutomationLightEffect trigger 2026-02-02 05:09:17 +01:00
J. Nick Koston
333ac18f53 missed another 2026-02-02 05:08:44 +01:00
J. Nick Koston
37389a9709 [template.water_heater] Avoid heap allocation for trigger 2026-02-02 05:06:47 +01:00
J. Nick Koston
b1dff2b2d8 missed a few 2026-02-02 05:06:03 +01:00
J. Nick Koston
6cfce56f98 [template.text] Avoid heap allocation for trigger 2026-02-02 05:03:30 +01:00
J. Nick Koston
3f90fe0623 Merge branch 'template_datetime_no_heap_triggers' into integration 2026-02-02 05:02:08 +01:00
J. Nick Koston
d95d4afdae Merge branch 'template_output' into integration 2026-02-02 05:02:04 +01:00
J. Nick Koston
dbfec4e53a [template.datetime] Avoid heap allocation for triggers 2026-02-02 05:01:13 +01:00
J. Nick Koston
b59c100235 [template.output] Avoid heap allocation for triggers 2026-02-02 04:59:14 +01:00
J. Nick Koston
7a5352453e Merge branch 'speaker_media_player_no_heap_trigger' into integration 2026-02-02 04:57:24 +01:00
J. Nick Koston
45f6321ba1 fix missing include that is unrelated to this 2026-02-02 04:57:12 +01:00
J. Nick Koston
18c152723c [sprinkler] Avoid heap allocation for triggers (#13705) 2026-02-02 04:53:46 +01:00
J. Nick Koston
3fb794206d [remote_transmitter] Avoid heap allocation for triggers 2026-02-02 04:53:02 +01:00
J. Nick Koston
e764483f9a Merge branch 'speaker_media_player_no_heap_trigger' into integration 2026-02-02 04:51:01 +01:00
J. Nick Koston
7fcbb06a9e [speaker.media_player] Avoid heap allocation for triggers 2026-02-02 04:50:22 +01:00
J. Nick Koston
09b76d5e4a [voice_assistant] Avoid heap allocation for triggers (#13689) 2026-02-02 04:50:16 +01:00
J. Nick Koston
8791c24072 [api] Avoid heap allocation for client connected/disconnected triggers (#13688) 2026-02-02 04:50:01 +01:00
J. Nick Koston
652c02b9ab [bang_bang] Avoid heap allocation for climate triggers (#13701) 2026-02-02 04:49:46 +01:00
J. Nick Koston
4ab552d750 [http_request] Avoid heap allocation for triggers (#13690) 2026-02-02 04:47:49 +01:00
J. Nick Koston
e420964b93 [template.switch] Avoid heap allocation for triggers (#13691) 2026-02-02 04:47:34 +01:00
J. Nick Koston
7d717a78dc [template] Avoid heap allocation for number set trigger (#13694) 2026-02-02 04:47:21 +01:00