Fortify code around `mozInlineSpellChecker::DoSpellCheck`
Categories
(Core :: Spelling checker, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: mbrodesser-Igalia, Assigned: mbrodesser-Igalia)
References
Details
Attachments
(21 files, 3 obsolete files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Assignee | ||
Comment 1•3 years ago
|
||
Abstracts details away.
Assignee | ||
Comment 2•3 years ago
|
||
Clearer.
Depends on D113779
Updated•3 years ago
|
Pushed by mbrodesser@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/54bd4ad99198 part 1) Factor `mozInlineSpellChecker::AddRangesForMisspelledWords` out. r=smaug https://hg.mozilla.org/integration/autoland/rev/33da227d7651 part 2) Rename `mozInlineSpellChecker::CheckCurrentWordsNoSuggest` to `mozInlineSpellChecker::CheckWordsAndAddRangesForMisspellings`. r=smaug
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/54bd4ad99198
https://hg.mozilla.org/mozilla-central/rev/33da227d7651
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 5•3 years ago
|
||
Assignee | ||
Comment 6•3 years ago
|
||
Should help to simplify it. Please read the following reviews before
commenting on this one.
Depends on D114095
Assignee | ||
Comment 7•3 years ago
|
||
Assignee | ||
Comment 8•3 years ago
|
||
Should help to simplify it. Please read the following reviews before
commenting on this one.
Depends on D114097
Assignee | ||
Comment 9•3 years ago
|
||
To match the style guide.
Depends on D114098
Assignee | ||
Comment 10•3 years ago
|
||
Depends on D114099
Assignee | ||
Comment 11•3 years ago
|
||
Depends on D114100
Assignee | ||
Comment 12•3 years ago
|
||
Simplifies mozInlineSpellChecker::SpellCheckerTimeSlice::Execute
.
Depends on D114101
Updated•3 years ago
|
Assignee | ||
Comment 13•3 years ago
|
||
Depends on D114102
Assignee | ||
Comment 14•3 years ago
|
||
Depends on D114103
Assignee | ||
Comment 15•3 years ago
|
||
Depends on D114104
Updated•3 years ago
|
Assignee | ||
Comment 16•3 years ago
|
||
Will add :smaug as reviewer as soon as he's back from vacation.
Assignee | ||
Comment 17•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 18•3 years ago
|
||
Assignee | ||
Comment 19•3 years ago
|
||
Depends on D114331
Assignee | ||
Comment 20•3 years ago
|
||
Depends on D114332
Assignee | ||
Comment 21•3 years ago
|
||
Depends on D114333
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 22•3 years ago
|
||
Pushed by mbrodesser@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/91483132916f part 3) Add some documentation to `mozInlineSpellChecker::CheckWordsAndAddRangesForMisspellings`. r=smaug
Comment 23•3 years ago
|
||
bugherder |
Assignee | ||
Comment 24•3 years ago
|
||
Depends on D114334
Updated•3 years ago
|
Assignee | ||
Comment 25•3 years ago
|
||
Depends on D115352
Assignee | ||
Comment 26•3 years ago
|
||
Hides details.
Depends on D115366
Comment 27•3 years ago
|
||
Pushed by mbrodesser@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/df784a865e38 part 4) Break out method object for `mozInlineSpellChecker::DoSpellCheck`. r=smaug https://hg.mozilla.org/integration/autoland/rev/54be73d69bf4 part 5) Surround statements in `mozInlineSpellChecker::SpellCheckerTimeSlice::Execute` with curly braces. r=smaug https://hg.mozilla.org/integration/autoland/rev/7d0b7c8641ad part 6) Change some pointer members of `mozInlineSpellChecker::SpellCheckerTimeSlice` to references. r=smaug https://hg.mozilla.org/integration/autoland/rev/554e8a60c7ed part 7) Annotate `mozInlineSpellChecker::SpellCheckerTimeSlice` as `MOZ_STACK_CLASS`. r=smaug https://hg.mozilla.org/integration/autoland/rev/936a9c00a51c part 8) Move `mozInlineSpellChecker::CheckWordsAndAddRangesForMisspellings`. r=smaug https://hg.mozilla.org/integration/autoland/rev/0e8fbb1c3f35 part 9) Declare `mozInlineSpellChecker::ShouldSpellCheckNode` `static`. r=smaug https://hg.mozilla.org/integration/autoland/rev/9571e1990895 part 10) Factor `ShouldSpellCheckRange` out. r=smaug https://hg.mozilla.org/integration/autoland/rev/2122e4d660c6 part 11) Remove unnecessary block scope in `mozInlineSpellChecker::SpellCheckerTimeSlice::Execute`. r=smaug https://hg.mozilla.org/integration/autoland/rev/dfd6996a67fa part 12) Move some code into `mozInlineSpellChecker::SpellCheckerTimeSlice::ShouldSpellCheckRange`. r=smaug https://hg.mozilla.org/integration/autoland/rev/5a0ccf5c7dc4 part 13) Factor code out to `mozInlineSpellChecker::SpellCheckerTimeSlice::RemoveRanges`. r=smaug https://hg.mozilla.org/integration/autoland/rev/101827a7d1a4 part 14) Extend documentation of `mozInlineSpellChecker::SpellCheckerTimeSlice::CheckWordsAndAddRangesForMisspellings`. r=smaug https://hg.mozilla.org/integration/autoland/rev/3495c7bfdcee part 15) Update documentation of `Selection::GetRangesForInterval`. r=smaug https://hg.mozilla.org/integration/autoland/rev/e5f57b354d88 part 16) Rename `mozInlineSpellChecker::SpellCheckerTimeSlice` to `mozInlineSpellChecker::SpellCheckerSlice`. r=smaug https://hg.mozilla.org/integration/autoland/rev/06ca014ca2bf part 17) Rename `words` to `normalizedWords` in `mozInlineSpellChecker::SpellCheckerSlice::Execute`. r=smaug
Assignee | ||
Comment 28•3 years ago
|
||
Clearer and helps to simplify its caller.
Comment 29•3 years ago
|
||
Pushed by mbrodesser@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/82b803787c11 part 18) Factor `mozInlineSpellChecker::SpellCheckerSlice::IsInNoCheckRange` out. r=smaug
Assignee | ||
Comment 30•3 years ago
|
||
Clearer.
Assignee | ||
Comment 31•3 years ago
|
||
Depends on D115686
Comment 32•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/df784a865e38
https://hg.mozilla.org/mozilla-central/rev/54be73d69bf4
https://hg.mozilla.org/mozilla-central/rev/7d0b7c8641ad
https://hg.mozilla.org/mozilla-central/rev/554e8a60c7ed
https://hg.mozilla.org/mozilla-central/rev/936a9c00a51c
https://hg.mozilla.org/mozilla-central/rev/0e8fbb1c3f35
https://hg.mozilla.org/mozilla-central/rev/9571e1990895
https://hg.mozilla.org/mozilla-central/rev/2122e4d660c6
https://hg.mozilla.org/mozilla-central/rev/dfd6996a67fa
https://hg.mozilla.org/mozilla-central/rev/5a0ccf5c7dc4
https://hg.mozilla.org/mozilla-central/rev/101827a7d1a4
https://hg.mozilla.org/mozilla-central/rev/3495c7bfdcee
https://hg.mozilla.org/mozilla-central/rev/e5f57b354d88
https://hg.mozilla.org/mozilla-central/rev/06ca014ca2bf
https://hg.mozilla.org/mozilla-central/rev/82b803787c11
Updated•3 years ago
|
Comment 33•3 years ago
|
||
Pushed by mbrodesser@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d997e78d89f5 part 19) Replace output arguments with a single argument in `mozInlineSpellWordUtil::GetNextWord`. r=smaug https://hg.mozilla.org/integration/autoland/rev/4a6ddb682476 part 20) Const-qualify some variables in `mozInlineSpellChecker::SpellCheckerSlice::Execute`. r=smaug https://hg.mozilla.org/integration/autoland/rev/cc8afd010568 part 21) Reduce scope of `erv` variable in `mozInlineSpellChecker::SpellCheckerSlice::Execute`. r=smaug
Comment 34•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Description
•