Jesse Hills
9ea3643b74
[core] os.path -> Path ( #10654 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-09-19 12:59:48 +00:00
Keith Burzinski
9c201afe76
[api_protobuf.py] Use type appropriate for estimated_size
( #10797 )
2025-09-18 20:55:45 -05:00
Keith Burzinski
adcba4fd9a
[api_protobuf.py] Use type based on size/length ( #10696 )
2025-09-13 17:02:04 -05:00
J. Nick Koston
23c6650902
[api] Fix VERY_VERBOSE logging compilation error with bool arrays ( #10539 )
2025-09-04 08:07:13 +12:00
J. Nick Koston
761c6c6685
[api] Mark protobuf message classes as final to enable compiler optimizations ( #10276 )
2025-08-18 15:55:30 -05:00
J. Nick Koston
42aee53dde
[bluetooth_proxy] Replace dynamic vector with fixed array for BLE advertisements ( #10174 )
2025-08-11 15:47:46 -05:00
J. Nick Koston
00d9baed11
[bluetooth_proxy] Eliminate heap allocations in connection state reporting ( #10010 )
2025-08-01 20:26:00 -10:00
J. Nick Koston
f13e742bd5
[ruff] Enable RET and fix all violations ( #9929 )
2025-08-01 02:10:56 +00:00
J. Nick Koston
28b277c1c4
[bluetooth_proxy] Optimize UUID transmission with efficient short_uuid field ( #9995 )
2025-07-31 16:20:53 -05:00
J. Nick Koston
76d33308d9
[api] Eliminate heap allocations when populating repeated fields from containers ( #9948 )
2025-07-30 10:41:37 +12:00
J. Nick Koston
2c9987869e
[api] Align ProtoSize API design with ProtoWriteBuffer pattern ( #9920 )
2025-07-29 10:28:32 +12:00
J. Nick Koston
68f388f78e
[api] Optimize protobuf empty message handling to reduce flash and runtime overhead ( #9908 )
2025-07-29 10:25:07 +12:00
J. Nick Koston
1702356fc8
[api] Fix string lifetime issue in Home Assistant service calls with templated values ( #9909 )
2025-07-28 16:39:25 +12:00
J. Nick Koston
ffebd30033
[ruff] Enable SIM rules and fix code simplification violations ( #9872 )
2025-07-25 18:26:08 +12:00
J. Nick Koston
c74f12be98
[api] Use C++17 nested namespace syntax ( #9856 )
2025-07-24 07:15:42 +00:00
J. Nick Koston
4a27b34685
[api] Reduce code duplication in protobuf dump methods with helper functions ( #9809 )
2025-07-24 15:19:58 +12:00
J. Nick Koston
f863189f96
[api] Simplify generated authentication check code ( #9806 )
2025-07-24 15:18:01 +12:00
J. Nick Koston
04d9698681
[api] Replace magic numbers with MESSAGE_TYPE constants in protobuf switch cases ( #9776 )
2025-07-24 15:16:54 +12:00
J. Nick Koston
a614a68f1a
[api] Implement zero-copy string optimization for outgoing protobuf messages ( #9790 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-22 07:33:03 -10:00
J. Nick Koston
ac08fb314f
[api] Optimize protobuf memory usage with fixed-size arrays for Bluetooth UUIDs ( #9782 )
2025-07-22 21:50:49 +12:00
J. Nick Koston
db62a94712
[api] Implement zero-copy for all protobuf bytes fields ( #9761 )
2025-07-22 09:38:39 +12:00
J. Nick Koston
acca629c5c
[api] Fix missing ifdef guards for AreaInfo and DeviceInfo messages ( #9730 )
2025-07-20 23:05:53 +00:00
J. Nick Koston
2540e7edb2
[api] Remove deprecated protobuf fields to reduce flash usage ( #9679 )
2025-07-21 10:35:53 +12:00
J. Nick Koston
5b3d61b4a6
[api] Fix missing ifdef guards for field_ifdef fields in protobuf base classes ( #9693 )
2025-07-20 15:41:00 +12:00
J. Nick Koston
71cc298363
Use message_source_map consistently in proto generation ( #9542 )
2025-07-19 00:28:08 +12:00
J. Nick Koston
ec5a517a76
Fix bluetooth_proxy heap allocations during BLE scanning ( #9633 )
2025-07-18 16:24:29 +12:00
J. Nick Koston
f5afe1145e
Refactor API send_message from template to non-template implementation ( #9561 )
2025-07-18 10:28:14 +12:00
J. Nick Koston
15768ec00d
Reduce API proto vtable overhead by splitting decode functionality ( #9541 )
2025-07-16 20:46:04 +12:00
J. Nick Koston
3ab1ee7a04
Reduce binary size with field-level conditional compilation for protobuf messages ( #9473 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-07-16 18:36:26 +12:00
J. Nick Koston
c691f01c7f
Reduce flash usage by replacing ProtoSize template with specialized methods ( #9487 )
2025-07-16 01:50:32 +00:00
J. Nick Koston
b5be45273f
Improve API protobuf decode method readability and reduce code size ( #9455 )
2025-07-16 13:15:11 +12:00
J. Nick Koston
856cb182fc
Remove dead code: 64-bit protobuf types never used in 7 years ( #9471 )
2025-07-15 15:12:12 -10:00
J. Nick Koston
1fda40f0ce
Only generate protobuf encode/decode methods for the message direction they're used ( #9461 )
2025-07-13 10:58:57 +12:00
J. Nick Koston
8863188dd8
Apply existing protobuf buffer optimization to nested message encoding (~2.3x speed up) ( #9458 )
2025-07-13 06:55:32 +12:00
J. Nick Koston
ca5ee0ce07
Reduce API flash usage by eliminating unnecessary template instantiations ( #9452 )
2025-07-12 03:56:08 +00:00
J. Nick Koston
01f949e097
Optimize API proto size calculations by removing redundant force parameter ( #9449 )
2025-07-11 21:08:52 -05:00
J. Nick Koston
143bf694c7
Optimize API flash usage by storing message size at compile time ( #9447 )
2025-07-11 19:38:23 -05:00
J. Nick Koston
e58c793da2
Replace deprecated sprintf with snprintf in API protobuf code generation ( #9365 )
2025-07-08 08:38:41 +12:00
J. Nick Koston
4ef5c941c9
Fix missing ifdef guards in API protobuf generator ( #9296 )
2025-07-03 09:39:20 +12:00
J. Nick Koston
eba2c82fec
Use encode_bytes() for protobuf bytes fields ( #9289 )
2025-07-02 04:36:09 +00:00
Jesse Hills
6a096c1d5a
[api] Dump bytes fields as hex instead of unreadable string ( #9288 )
2025-07-02 13:36:15 +12:00
J. Nick Koston
e907050a17
Remove unused return value from read_message and fix ifdef placement in generated API code ( #9256 )
2025-06-30 11:45:03 +12:00
J. Nick Koston
f029f4f20e
Fix missing protobuf message dump for batched messages with very verbose logging ( #9206 )
2025-06-26 13:57:41 +12:00
J. Nick Koston
a08d021f77
Reduce code duplication in auto-generated API protocol code ( #9097 )
2025-06-19 12:10:01 +12:00
J. Nick Koston
b7b1d17ecb
Remove empty generated protobuf methods ( #9098 )
2025-06-19 12:06:39 +12:00
J. Nick Koston
1dbebe90ba
Add common base classes for entity protobuf messages to reduce duplicate code ( #9090 )
2025-06-16 09:29:25 +12:00
J. Nick Koston
2ed5611a08
Replace API deferred queue with efficient message batching system ( #9012 )
2025-06-11 11:49:15 +12:00
J. Nick Koston
54ead9a6b4
Reserve buffer space to avoid frequent realloc when generating protobuf messages ( #8707 )
2025-05-07 21:56:54 -05:00
J. Nick Koston
3677ef71d1
Add typing to protobuf code generator ( #8541 )
2025-04-16 08:19:22 +12:00
dependabot[bot]
4adda632bb
Bump ruff from 0.9.2 to 0.11.0 ( #8409 )
2025-03-20 09:51:23 -10:00