Repository navigation
Conversation
…ny bounds it hit #1491 Signed-off-by: Nik Cubrilovic <[email protected]>
…s; docs say templates stay in templatesUnread #1491 Signed-off-by: Nik Cubrilovic <[email protected]>
… and local text cut #1491 Signed-off-by: Nik Cubrilovic <[email protected]>
Merged
Contributor
Author
|
Landed in v0.0.159 as nik |
This file contains hidden or 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
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.
Closes #1491.
controlsUnreadcounted a control once when its attribute windows were cut and again when its text read was cut, so a control that hit both (an attribute over 16,000 characters with more cue windows than the cap, and a text read past the visit allowance) was counted twice. Each control now counts at most once, through one set of control indexes shared by the attribute bounds, the window caps and the text read. Controls cut by the prepared-controls cap or the logo-alt cap are still counted; templates past the limit stay intemplatesUnread.Acceptance criteria
details.controlsUnreadcounts each control at most once (a control over the attribute bound, the window cap and the text read: 1; three of them: 3)templatesUnread)integrity-unread-once-1491.test.ts(11 cases, with killer cases for the constant, even-index,positionandrank >= 2mutants); 4 of the first 8 fail on main'scontrols.ts(the three-control, finding-count, mixed-cause and mixed-rank cases), checked by running the file againstorigin/main's source. Docs state the once-per-control rule.Skill change: none.