Commit graph

2365 commits

Author SHA1 Message Date
Sean Cross
49ce85f9a8 ticktimer-server: prepare for using ReplyAndReceiveNext
Misc cleanup prior to switching which call we use.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-12-29 16:26:37 +08:00
bunnie
2f30e1b50a implement #269 2022-12-29 00:11:03 +08:00
bunnie
5370c333da add callback for monitoring basis lock/unlock events 2022-12-29 00:10:42 +08:00
bunnie
89500015a7 try to fix regression from #284
still hitting cache coherence edge cases. expanding the flush
set read by one more way.
2022-12-15 17:52:55 +08:00
bunnie
e422740d37 chore: last one. really. 2022-12-13 23:03:50 +08:00
bunnie
ad79ebf8ba chore: more typos. no really, i can stop at any time. 2022-12-13 23:02:09 +08:00
bunnie
b1b6d46d27 chore: more typos
probably should not have tried to spell check this, now i'm wasting
my time.
2022-12-13 22:56:37 +08:00
bunnie
283ea1de0d chore: fix more typos, add french dictionary to vscode workspace settings 2022-12-13 22:49:25 +08:00
bunnie
1d94968b2f chore: fix typos 2022-12-13 22:36:47 +08:00
bunnie
bd230f5bb0 fix text to speech mode preferences setting
never allow the audio system to be turned off for blind people,
and disallow 0-volume setting as well.
2022-12-12 16:51:27 +08:00
bunnie
38bc254bb9 fix missing ja/zh translation 2022-12-12 16:28:33 +08:00
bunnie
5370ce396d bump all revs due to SoC artifact update 2022-12-12 16:07:20 +08:00
bunnie
80ce119c95 fix RSSI calculations 2022-12-12 15:31:06 +08:00
bunnie
edf24d9fc2 clean up on the wifi signal bars 2022-12-12 14:11:19 +08:00
bunnie
eb17edc4ec
Merge pull request #283 from gsora/feat/wifi-signal-bars
feat: wifi signal bar
2022-12-12 11:47:18 +08:00
bunnie
9a580070a3 revert threaded init question now that deface issue is fixed 2022-12-11 17:50:51 +08:00
bunnie
196ceb0d29 fix: avoid thrashing when recomputing previously defaced canvases
There was a dubious line that I never felt good about and today
I found out why. By flipping every canvas to drawable before doing
the intersection computation we also throw away the defacement state,
so previously defaced canvases would lose their status bit, causing
thrashing of the canvases anytime there is a re-computation of
the canvas ordering.

This fix caches if a canvas was already defaced, and if it turns out
that an on-screen canvas should not be drawable but was already
defaced, the setting is re-applied, preventing thrashing.
2022-12-11 16:42:03 +08:00
bunnie
dca043d387 improve context swap debug messages 2022-12-11 16:41:53 +08:00
bunnie
8d8dd2bd2f fix typo in unwrap message 2022-12-11 16:41:25 +08:00
bunnie
f31afa5125 remove unused opcode in shellchat; improve debug output 2022-12-11 16:41:06 +08:00
bunnie
6138b65d76 update comments to reflect changes in CI infra 2022-12-10 23:44:18 +08:00
bunnie
399124f942 fix hosted mode 2022-12-10 22:05:47 +08:00
bunnie
939e13950d comment out debug in rootkeys implementation section 2022-12-10 18:59:55 +08:00
bunnie
2097afc166 add efuse burning flow to rootkeys
currently only available for builds that have the `efuse` feature
enabled
2022-12-10 18:58:06 +08:00
bunnie
19e16aea29 fix jtag fuse burning & add diagnostic messages
- msb/lsb swap on efuse bank fixed
- hazardous-debug feauter gates added
- dry-run for "testing only" added
2022-12-10 18:56:59 +08:00
bunnie
4ec866e1d7 add diagnostic seal command 2022-12-10 18:56:12 +08:00
bunnie
1f89843122 defer init root keys question until status thread starts
also defer the preference thread from loading until after the
PDDB mount thread is started -- doesn't make sense to start it
any earlier than that, since it depends on the PDDB being mounted.
2022-12-09 12:38:53 +08:00
bunnie
02f9701546 make an explicit dvt feature to simplify flags 2022-12-08 17:42:12 +08:00
bunnie
4dd983bfc4 adjust security parameters for dvt build 2022-12-08 17:19:05 +08:00
bunnie
fc08c3e29d add hazardous-debug to modals bip-39
for convenient key printout during debug. flag is normally off.
2022-12-08 17:14:47 +08:00
bunnie
dd82b7f32a add no-codec mode to status
this is for DVT builds where the codec isn't supported, needed
for efuse testing
2022-12-08 17:14:21 +08:00
bunnie
4f270f54be revert debugging on status opcodes 2022-12-07 22:24:56 +08:00
Gianguido Sorà
435a6ea2bd feat: wifi signal bar
This commit draws a Wi-Fi signal bar with 5 bars (lowest to highest signal), to the right of SSID name.

Signal power is calculated from a lowest of -90dBm to a maximum of -30dBm, by increments of 13dBm.
2022-12-07 14:28:07 +01:00
bunnie
f84a9d10c7 add placeholder for the efuse flow in the rootkey service 2022-12-04 18:13:37 +08:00
bunnie
8208a86c08 add the UX front-end for backup key burning
- instructions for BBRAM flow (refers to wiki)
- consent for efuse flow
- fix a blocking issue on backup prep (minor problem, just gives
users more time to contemplate without a panic)
2022-12-04 18:12:30 +08:00
bunnie
3838f3bc15 add a pause for context swaps on menu release 2022-12-04 18:12:05 +08:00
bunnie
52955681d5 reflect unmount status after tryunmount
this fixes a problem where backups fail when autobacklight is
enabled, because autobacklight is constantly querying the PDDB
for the length of the autobacklight timeout, even after the
PDDB is unmounted.
2022-12-02 20:10:10 +08:00
bunnie
6f5d37866c clean up warning message 2022-12-02 15:06:00 +08:00
bunnie
f0e1597b5c don't restore default text if field is cleared with backspace
even if persist is set, if the field has been edited, don't
restore the default text. otherwise, the default text re-appears
if you backspace to an empty string.
2022-11-30 15:15:56 +08:00
bunnie
6a1271e890 add persistent default text for issue #281
this adds a method field_placeholder_persist() to the
text entry box builder. When this is used (instead of
field()), the placeholder, if provided, is treated as
"persistent" data, that is, when you press a key, it is
not automatically cleared, but instead, the user starts
editing the existing data.
2022-11-30 14:58:23 +08:00
bunnie
e77588805c fix issue #282
this now refers the keyboard preference setting to the
correct, specialized location because it is the only parameter
that must strictly be available before the system is secured.
2022-11-30 00:23:52 +08:00
bunnie
1d1b3a35b7 commit version bump 2022-11-26 10:00:44 +08:00
bunnie
998061448c autobacklight on earlier; blocking poll of pddb mount
previously a busy-wait loop was used to poll the PDDB,
this makes it a blocking loop so the wait is more efficient.
also, allow the autobacklight to turn on before the PDDB
is mounted (so you can type your unlock PIN in the dark).
2022-11-24 14:02:18 +08:00
bunnie
9aa235d3d0 fix one more instance of old value being used for setting 2022-11-24 05:07:17 +08:00
bunnie
bacf2b65ab trigger off of the new value setting not the old; fix default value on boot for autobacklight 2022-11-24 05:06:03 +08:00
bunnie
ae68aa4120 Merge branch 'feat/user-preferences' into main 2022-11-24 01:15:00 +08:00
bunnie
be6f898e63 final re-org of top level menu before casting into CI 2022-11-24 00:47:32 +08:00
bunnie
b9682c240f add comment about menu positions and the final decision and rationale 2022-11-24 00:34:51 +08:00
bunnie
9e79dd5292 more translations and cosmetic improvements 2022-11-23 06:29:58 +08:00
bunnie
e9c94aaab6 fixup more translations 2022-11-23 06:12:18 +08:00