-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose array size limit in IDL where size limit seems intentional #13699
Merged
andy31415
merged 10 commits into
project-chip:master
from
andy31415:attribute_list_sizes
Jan 21, 2022
Merged
Expose array size limit in IDL where size limit seems intentional #13699
andy31415
merged 10 commits into
project-chip:master
from
andy31415:attribute_list_sizes
Jan 21, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pullapprove
bot
requested review from
anush-apple,
austinh0,
balducci-apple,
Byungjoo-Lee,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
emargolis,
franck-apple,
gjc13,
hawk248,
holbrookt,
jelderton,
jepenven-silabs,
jmartinez-silabs,
kghost,
LuDuda,
lzgrablic02,
mlepage-google and
msandstedt
January 19, 2022 14:17
examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
Outdated
Show resolved
Hide resolved
bzbarsky-apple
previously requested changes
Jan 19, 2022
/rebase |
woody-apple
force-pushed
the
attribute_list_sizes
branch
from
January 19, 2022 20:58
7896df1
to
d60c0e6
Compare
PR #13699: Size comparison from ffd25d8 to d60c0e6 Full report (30 builds for efr32, esp32, k32w, mbed, nrfconnect, p6, qpg, telink)
|
andy31415
force-pushed
the
attribute_list_sizes
branch
from
January 19, 2022 22:59
d60c0e6
to
0442520
Compare
andy31415
dismissed
bzbarsky-apple’s stale review
January 20, 2022 13:20
I removed the separate list sizing, only the string one remains. Re-requesting review.
PR #13699: Size comparison from 59a61a3 to 64d9419 Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
PR #13699: Size comparison from fd815cd to d4289f0 Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
jmartinez-silabs
approved these changes
Jan 20, 2022
bzbarsky-apple
approved these changes
Jan 21, 2022
PR #13699: Size comparison from cf1b254 to 917e524 Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
selissia
pushed a commit
to selissia/connectedhomeip
that referenced
this pull request
Jan 28, 2022
…oject-chip#13699) * Expose array size limit in IDL where size limit seems intentional * Only use sizes for strings and place it together with the data type * Remove if_valid_list_size usage * ZAP regen * Fix removal of list sizes - had an extra maxLength remaining, now removed * Add unless check in structure member for string size. Not that no output diff * Add size info for attribute string types as well
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
We have internal size limits for arrays, and some of them are intentional while some development-restriction (i.e. 254 to say "unlimited").
Change overview
Add an array size for attributes in the IDL where the size seems intentional (smaller than 254).
Testing
Manual view of the resulting IDL files.