Commit graph

599 commits

Author SHA1 Message Date
bunnie
4a1f32cffd clean up warning that emerged in rust updates 2024-04-01 15:57:19 +08:00
bunnie
d6b33159a5 stage version pin bump 2024-04-01 15:46:26 +08:00
bunnie
5fb368ae05 partial progress on porting to ring-0.17 2024-02-09 17:18:41 +08:00
bunnie
711f0eeee2 cleanup some rand dependencies that were lagging/inconsistent 2024-02-08 14:22:26 +08:00
bunnie
65fd32e181 update chrono pins
This is the weirdest damn thing. All the crates say 0.4.19 as
the chrono version, but the actual version in the lockfile
is 0.4.33. And there isn't an error about it?

Anyways, this update the pins to reflect what's in the lockfile.
2024-02-08 13:51:30 +08:00
bunnie
fb68eb9dd2 cleanup datetime API deprecation warnings 2024-02-08 13:46:24 +08:00
bunnie
699004e7b0 bump xous pins 2024-02-06 14:49:10 +08:00
bunnie
053c55c254 CHORE reformat PR
I...could swear there was no merge warning when I clicked merge.

why is this failing to check now?
2024-02-01 13:47:13 +08:00
bunnie
92e501ec01 harmonize around a single xous-usb-hid spec
otherwise we get weird conflicts on builds
2024-02-01 13:41:49 +08:00
bunnie
71d38008b8
Merge pull request #494 from gsora/gsora/app-hid
services/usb-device-xous: generic USB HID framework
2024-02-01 13:11:41 +08:00
bunnie
bf15d7c803
Merge branch 'main' into refactor-sha2 2024-02-01 01:46:31 +08:00
bunnie
40423f9448 fix hosted and renode modes 2024-02-01 01:42:18 +08:00
bunnie
995d5398da upgrade vault API to use latest hash/hkdf 2024-01-31 04:02:36 +08:00
Gianguido Sora
79db9702e3 Merge branch 'main' into gsora/app-hid 2024-01-30 18:49:09 +01:00
David Kotval
c4d40fbccb fix: don't add *EN* to en-tts locale 2024-01-29 11:54:42 -06:00
bunnie
55d88587a9 upgrade all the subordinate Cargo.toml files to match the patch
looks like about 9 crates will be affected by this. Point them
all to the latest version of the API, and specify the
"precursor" feature (which activates our patch)
2024-01-30 01:43:09 +08:00
David Kotval
701e5b46fe feat: fill app manifest with English stubs 2024-01-24 16:45:46 +00:00
bunnie
659796916a chore: cleanup typos in docs, comments 2024-01-15 02:16:43 +08:00
bunnie
c411ee881a vaultbackup-rs is not part of workspace but still needs formatting... 2024-01-15 01:03:45 +08:00
bunnie
01fe4700d2 another difference between --check and fmt runs 2024-01-15 01:02:20 +08:00
bunnie
710da30952 inconsistencies in cargo fmt
running `cargo +nightly fmt -p app-loader` gives you one result.

running `cargo +nightly fmt --check` gives you another result.

manually opening and saving the files causes a result to agree
with the check.
2024-01-15 00:59:23 +08:00
bunnie
e274fa8873 relate perlib to the libs/ directory
perflib was made before we had libs, so put it into its new, proper
home.
2024-01-15 00:52:43 +08:00
bunnie
536ad89010 format apps/mtxcli
somehow, this was missed.
2024-01-15 00:46:06 +08:00
bunnie
0267a56989 format Cargo.tomls
because apparently cargo fmt doesn't format Cargo.toml files???
2024-01-15 00:14:39 +08:00
bunnie
9f5a5d0ada rustfmt vs rustc linter: FIGHT
rustfmt shortened some blocks to be one-liners.
the blocks ensure the contents have Drop called on them.
the linter hates the braces, saying they are unused.

Perhaps, in fact, the contents don't need Drop called
on them exactly at that time because there isn't a conflicting
statement elsewhere in the block that uses it. It *might*
be right.

But then, later on, when you write some code that assumes
that implicit Drop happened, guess what. You'll spend hours
scratching your head as to what went wrong.

I just stuck a comment in the block to keep rustfmt from
thinking it should format that block.
2024-01-14 23:34:07 +08:00
bunnie
454ecac95a fix rustfmt::skip warning
turns out, stackoverflow has out of date info. woohoo!
2024-01-14 23:12:52 +08:00
bunnie
70340eb7bf format apps/vault
just our own code is formatted, vendored in files are skipped.
2024-01-14 19:09:53 +08:00
bunnie
3d1f5b032f skip formatting of vendored files
this will help make merges/patches easier against OpenSK
2024-01-14 19:09:19 +08:00
bunnie
19ebae2715 format apps/transientdisk 2024-01-14 18:56:19 +08:00
bunnie
d3eb53ba89 format apps/repl 2024-01-14 18:56:07 +08:00
bunnie
fb463786fe format apps/mtxchat 2024-01-14 18:55:57 +08:00
bunnie
7e794b3c52 format apps/hello 2024-01-14 18:55:47 +08:00
bunnie
b479d56c10 format apps/chat-test 2024-01-14 18:55:35 +08:00
bunnie
145e156fe6 format apps/ball 2024-01-14 18:55:19 +08:00
bunnie
faafa9078b format app-loader 2024-01-14 18:54:13 +08:00
Gianguido Sora
59837474cc apps/hidv2: don't print the whole report on logs 2024-01-09 12:21:06 +01:00
bunnie
d8542dab71 move sigchat to a new home: https://github.com/betrusted-io/sigchat
This allows sigchat to absorb an AGPL license and be compatible
with all the libraries it needs to work with.

https://github.com/betrusted-io/sigchat
2024-01-09 14:14:07 +08:00
nworbnhoj
364b6a5540 refine sigchat scan link qrcode instructions to better reflect Signal App 2024-01-01 05:59:01 +11:00
nworbnhoj
130f4f13f5 sigchat Account doco 2023-12-29 16:50:47 +11:00
nworbnhoj
147e60a805 add sigchat Account.link() relink validity checks 2023-12-29 16:23:36 +11:00
nworbnhoj
7eb1c07269 implement sigchat Manager Config
Tie the Staging Environment specifics to the Account Manager

Note sigchat is hard coded for the Staging Environment for now
2023-12-29 11:44:14 +11:00
nworbnhoj
8f2f464e17 store host in sigchat Account 2023-12-29 10:00:03 +11:00
nworbnhoj
fa66cdfc01 implement sigchat host_modal() with validation 2023-12-29 07:41:53 +11:00
nworbnhoj
7346f03c1a close sigchat websocket properly 2023-12-28 15:27:58 +11:00
nworbnhoj
89cdbc899e ensure that an incomplete pddb dict sigchat.account is deleted 2023-12-28 15:26:53 +11:00
nworbnhoj
3d5030f142 relocate sigchat service environment argument to lib.rs
temporarily default to Staging
2023-12-28 09:49:23 +11:00
nworbnhoj
59895ac525 add sigchat.status.initializing 2023-12-28 07:33:21 +11:00
nworbnhoj
146666cb0e implement sigchat SignalWS read(timeout) 2023-12-27 19:41:17 +11:00
nworbnhoj
535ee5de11 wrap SignalWS in Arc<Mutex<ws>> 2023-12-27 19:03:29 +11:00
Gianguido Sora
b62912914b apps: add hidv2 demo app 2023-12-26 18:35:30 +01:00