Commit 2ca9be9
committed
docs(specs): v1.5.0 spec refresh — autocorrect, sanitization, clipboard, settings, setup
All file:line citations re-verified against current source with rg.
- autocorrect-spec (v1.5.0): entry point WordPredictor.kt:1855; guard
layer (AutocorrectContextGuard NON_PROSE_CHARS :22, morphology :1946,
possessive AC-4 :1951, elongation :1889); Damerau transposition
(:1831, TRANSPOSITION_PENALTY :153); same-length sub cap
(MAX_SAME_LENGTH_SUBSTITUTIONS :73); rule-based tiebreak verbatim
(:2163-2185) replaces the removed ALIAS_SCORE_BONUS four-tier model;
FrequencyFloor slider 100-2000 -> dictionary-scaled (:40-59, use
:2023); disabled-word exclusion :2062; custom-word floor exemption
:2202; #151 URI-field token replacement (SuggestionHandler.kt:491)
- url-sanitization-spec (v1.5.0): current URL_REGEX (quotes allowed
inside, :47-49); rules compiled as anchored regex (:52-62, was
literal-key matching); verbatim stripQueryParams (:108-130); system
clipboard write-back (systemClipboardRewrite :34-35, service
:304-308, :349-362); 207 providers; reddit_embed_host_url chaining;
mid-session reload via reloadSanitizationSettings (Config.kt:965)
- clipboard-history-spec (v1.4.0): new Duplicate Handling section —
move-to-top on re-copy (#108, ClipboardDatabase.kt:186-199), pinned/
todo duplicates still rejected
- haptics-spec (v1.5.0): rewritten from illustrative pseudo-code to
the real VibratorCompat dispatch (:60-97), per-event constants, #154
one-time migration (vibrate_custom_migration_v1, Config.kt:1480),
real pref keys/defaults (swipe-complete now true, Config.kt:84)
- settings-system-architecture-spec (v1.5.0): decomposed ui/settings/
layer (17 section composables), settings search subsystem
(SettingsSearch.kt, generated index, gate-aware scroll), corrected
Defaults snippet values (height 27/40, thresholds, clipboard limit)
- appearance-spec (v1.5.0): Secondary Label Size #133
(secondary_label_size_scale, Keyboard2View.kt:1275)
- setup-spec (v1.5.0): Defaults table re-cited (swipe-complete true,
height 27, gesture %-units); launcher Enable/Select flow UT-6
(LauncherActivity.kt:131-164); language packs are imported via SAF,
never downloaded (no INTERNET permission) — replaced the fictional
"download from GitHub releases" flow; packs install to
files/langpacks/
- short-swipes-spec (v1.5.0): config table corrected — max distance is
the 141% short/long boundary (range 50-200, was "65% / 40-80"), key
short_gestures_enabled, PercentOfKey value class
— Fable 51 parent ba9ac45 commit 2ca9be9
8 files changed
Lines changed: 535 additions & 468 deletions
File tree
- docs/wiki/specs
- clipboard
- gestures
- getting-started
- settings
- typing
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
175 | 197 | | |
176 | 198 | | |
177 | 199 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
84 | 93 | | |
85 | 94 | | |
86 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
247 | 258 | | |
248 | 259 | | |
249 | 260 | | |
| |||
0 commit comments