Commit Graph
3287 Commits
Author SHA1 Message Date
J. Nick Koston d60ab8e20f Merge branch 'kamilcuk/use-placement-new' into integration 2026-03-22 14:19:43 -10:00
J. Nick Koston 5b1b285220 Merge branch 'kamilcuk/use-placement-new' of https://github.com/Kamilcuk/esphome into kamilcuk/use-placement-new 2026-03-22 14:19:29 -10:00
J. Nick Koston 2d47c31fbf nits 2026-03-22 14:19:22 -10:00
J. Nick Koston e564114787 Merge branch 'dev' into kamilcuk/use-placement-new 2026-03-22 14:06:12 -10:00
J. Nick KostonandClaude Opus 4.6 e85065b1c4 [logger] Fix dummy_main.cpp Logger constructor for clang-tidy (#15088)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 14:06:00 -10:00
J. Nick Koston 76cd51beb9 Merge remote-tracking branch 'upstream/fix-dummy-main-logger-constructor' into integration 2026-03-22 14:02:18 -10:00
J. Nick Koston 58b6d7a0df revert fix -- moved to another pr 2026-03-22 14:01:48 -10:00
J. Nick Koston 1dde810db8 revert fix -- moved to another pr 2026-03-22 14:01:32 -10:00
J. Nick Koston 280ea52002 Merge branch 'kamilcuk/use-placement-new' into integration 2026-03-22 13:58:24 -10:00
J. Nick Koston 3eb0f1affd Merge branch 'kamilcuk/use-placement-new' of https://github.com/Kamilcuk/esphome into kamilcuk/use-placement-new 2026-03-22 13:54:09 -10:00
J. Nick Koston 8b89f5e036 avoid template overhead 2026-03-22 13:54:00 -10:00
J. Nick Koston 7bd4cde012 Merge branch 'dev' into kamilcuk/use-placement-new 2026-03-22 13:47:53 -10:00
J. Nick KostonandClaude Opus 4.6 67add9b9b6 [logger] Fix dummy_main.cpp Logger constructor for clang-tidy
The Logger constructor requires a task_log_buffer_size argument when
USE_ESPHOME_TASK_LOG_BUFFER is defined, which is the case in defines.h
used by clang-tidy.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 13:44:39 -10:00
J. Nick Koston bccaee8d79 fix test 2026-03-22 13:38:43 -10:00
J. Nick Koston f70f012dc2 fix test 2026-03-22 13:38:25 -10:00
J. Nick Koston cf27eca8fc Merge branch 'kamilcuk/use-placement-new' into integration 2026-03-22 13:14:10 -10:00
J. Nick Koston 4a2ff62d68 Merge remote-tracking branch 'upstream/dev' into integration 2026-03-22 12:58:13 -10:00
J. Nick Koston 2c06464f7b [packet_transport] Use FixedVector and parent pointer to enable inline Callback storage (#14946) 2026-03-22 12:41:54 -10:00
J. Nick Koston 08df8e15f1 Merge branch 'dev' into kamilcuk/use-placement-new 2026-03-22 12:33:56 -10:00
J. Nick Koston 4d09eb2cec [tests] Fix flaky ld24xx integration tests by disabling API batching (#15050) 2026-03-22 12:29:28 -10:00
J. Nick Koston bc688b973a address bot comments 2026-03-22 11:34:27 -10:00
J. Nick Koston 85c970e1dd globals is special 2026-03-22 11:23:46 -10:00
J. Nick Koston 4d5ff822af Merge branch 'dev' into kamilcuk/use-placement-new 2026-03-22 11:19:51 -10:00
J. Nick Koston c3ef2faa4f fixes 2026-03-22 11:09:26 -10:00
J. Nick Koston 593dbc9e67 [logger] Fix unit test and benchmark Logger constructor calls (#15085) 2026-03-23 09:50:58 +13: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 ba4be2a904 [uart] Fix RTL87xx compilation failure due to SUCCESS macro collision (#15054) 2026-03-23 09:17:59 +13:00
J. Nick Koston ca0523b86c [sht4x] Fix heater causing measurement jitter (#15030) 2026-03-23 09:16:46 +13:00
J. Nick KostonandCopilot 5e68282519 [light] Fix constant_brightness broken by gamma LUT refactor (#15048)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-23 09:14:52 +13:00
Kamil Cukrowski 7997743b15 [core] Use placement new allocation for t Pvariables 2026-03-22 20:19:31 +01:00
J. Nick Koston 86ec218f75 [benchmark] Add plaintext API frame write benchmarks (#15036) 2026-03-21 13:15:35 -10:00
J. Nick Koston a3f64b6583 Merge remote-tracking branch 'upstream/fix-uart-rtl87xx-success-macro' into integration 2026-03-21 10:32:31 -10:00
J. Nick Koston 3f1bf4cd69 Merge remote-tracking branch 'upstream/fix-gamma-lut-zero-quantization' into integration 2026-03-21 10:32:28 -10:00
J. Nick Koston 6db577f1f2 Merge remote-tracking branch 'upstream/api/peel-first-write-iteration' into integration 2026-03-21 10:32:18 -10:00
J. Nick Koston 44e1a86819 [benchmark] Use TCP loopback sockets and correct message type
Use real TCP sockets instead of AF_UNIX socketpair so TCP_NODELAY
succeeds during init() and the benchmark exercises the full write
path. Replace hardcoded message type 38 with SensorStateResponse::MESSAGE_TYPE.
2026-03-21 09:02:17 -10:00
J. Nick Koston 135c599561 [benchmark] Pre-init APIBuffer to 1460 bytes in plaintext frame benchmarks
Avoid benchmarking heap allocation by pre-reserving the buffer
to typical TCP MSS size and reusing it across iterations, matching
real-world usage where the buffer persists across writes.
2026-03-21 08:48:15 -10:00
J. Nick Koston 41ff09d18a [light] Extract generate_gamma_table and add tests
Extract the gamma table generation into a public generate_gamma_table()
function and add unit tests covering table properties and the
zero_means_zero regression from #15055.
2026-03-21 08:23:52 -10:00
J. Nick Koston b9679f6caf Merge branch 'dev' into benchmark/plaintext-frame-v2 2026-03-21 08:09:51 -10:00
J. Nick Koston 0bcb85cc72 [uart] Fix RTL87xx compilation failure due to SUCCESS macro collision
The Realtek SDK defines `#define SUCCESS 0` in basic_types.h which
collides with the FlushResult::SUCCESS enum value, breaking compilation
on RTL87xx devices when api/wifi components pull in the SDK headers.

Add `#undef SUCCESS` before the enum definition, following the same
pattern used elsewhere in the codebase for vendor SDK macro collisions.

Also add RTL87xx UART compilation test.
2026-03-21 01:06:06 -10:00
J. Nick Koston b08de20e6d Merge remote-tracking branch 'upstream/fix-constant-brightness-gamma' into integration 2026-03-20 22:14:36 -10:00
J. Nick KostonandCopilot 4d805e2d30 Update tests/integration/test_light_constant_brightness.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-20 22:06:03 -10:00
J. Nick Koston f50720a3c5 [light] Add integration tests for constant_brightness with gamma
Regression tests for #15040 using a single compiled binary with two
cwww lights to verify:
- constant_brightness: true maintains constant total CW+WW power
  output across all color temperatures with gamma correction
- constant_brightness: false correctly varies total power (higher
  at mid-range where both channels contribute)
2026-03-20 22:00:44 -10:00
J. Nick Koston 7b6312a819 Merge remote-tracking branch 'upstream/libsodium-enable-weak-symbols' into integration 2026-03-20 18:02:29 -10:00
J. Nick Koston 1920d8a887 [benchmark] Add noise encryption benchmarks (#15037) 2026-03-20 17:35:17 -10:00
J. Nick Koston 4bf84b6c61 [benchmark] Enable codegen for api dependency chain (socket, network, mdns) 2026-03-20 16:21:31 -10:00
J. Nick Koston cf7b63da60 [benchmark] Add both USE_API_PLAINTEXT and USE_API_NOISE defines 2026-03-20 16:07:30 -10:00
J. Nick Koston bc2654379b [benchmark] Fix api init: use build flag instead of enable_codegen 2026-03-20 16:05:25 -10:00
J. Nick Koston 328ef819e6 [benchmark] Fix plaintext frame benchmark build: enable api codegen 2026-03-20 16:02:44 -10:00
J. Nick Koston 9bd5d91e61 [benchmark] Add plaintext API frame write benchmarks 2026-03-20 15:53:58 -10:00
J. Nick Koston 0e9936f9fa Merge remote-tracking branch 'upstream/dev' into integration 2026-03-20 15:14:58 -10:00