J. Nick Koston
82d399400e
[core] Convert a null StringRef to an empty JSON string and pin null against null
2026-09-08 03:44:24 +02:00
J. Nick Koston
63b5331e47
[core] Let StringRef carry a null pointer at zero length
...
The generated api messages start their encode only string fields that way. starts_with,
compare and str() no longer hand a null pointer to memcmp or the std::string range
constructor when there is nothing to compare or copy, the class comment states the
contract, and gtest cases pin every member on a null, empty view.
2026-09-08 03:14:44 +02:00
J. Nick Koston
03147bc3b1
[core] Avoid double promotion in update interval and step formatting ( #18825 )
2026-08-28 15:12:50 -05:00
J. Nick Koston
16d0fa1165
[core] Add step_to_accuracy_decimals benchmarks ( #18826 )
2026-08-27 15:28:04 -05:00
J. Nick Koston
41171e61d1
[core] Keep str_contains_ignore_case needle literals in flash on ESP8266 ( #18574 )
2026-08-24 11:29:05 +12:00
J. Nick Koston
9179fe26ce
[api] Fix loop stall that triggers the task watchdog when entity list sends block ( #18577 )
2026-08-24 08:38:19 +12:00
guillempages and J. Nick Koston
46f90d0c54
[core] Add portable strcasestr implementation named str_contains_ignore_case ( #18497 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-08-20 17:28:17 -05:00
J. Nick Koston
7362c01c67
[core] Replace base64 lookup tables with arithmetic mapping ( #18454 )
2026-08-17 16:14:06 -05:00
J. Nick Koston
e90b4abe9c
[core] Enforce the preferences contracts with concepts ( #18191 )
2026-08-10 11:20:24 -05:00
J. Nick Koston
e58ba59288
[core] Add StringRef::starts_with ( #18142 )
2026-08-06 20:58:41 -05:00
J. Nick Koston
97558ce64a
[core] Add EventPool::warm() ( #18127 )
2026-08-06 20:40:04 -05:00
Bonne Eggleston
3b6f45894b
[core] StaticVector converting ctor ( #18117 )
2026-08-05 21:20:37 -05:00
J. Nick Koston
4f058585bb
[rp2040_ble] Add controller scan primitives ( #18001 )
2026-08-03 11:14:34 -05:00
Jesse Hills
ce6c122449
[core] Move JSON string escaping into helpers ( #17879 )
2026-07-27 22:16:57 -04:00
Edvard Filistovič and J. Nick Koston
d12300679e
[bk72xx_ble] Scan primitives and main-task scan report queue ( #17802 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-07-24 00:26:33 -10:00
J. Nick Koston
699cf9690a
[core] Optimize value_accuracy_to_buf to avoid snprintf ( #15596 )
2026-04-22 16:31:34 +12:00
43c6b839cd
[sensor] Filter to round to significant digits ( #11157 )
...
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2026-04-21 14:00:03 +00:00
J. Nick Koston
cf01163c8c
[core] Add uint32_to_str helper and use in preferences ( #15597 )
2026-04-14 07:49:44 -10:00
J. Nick Koston
2a530a4bf4
[core] Optimize format_hex_internal by splitting separator loop ( #15594 )
2026-04-14 07:48:33 -10:00
0c5f055d45
[core] cpp tests: Allow customizing code generation during tests ( #14681 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-18 00:16:01 +00:00