Commit graph

613 commits

Author SHA1 Message Date
bunnie
bdf70ab0e4 refactor API to upgrade subtle API in attempt to fix ct_eq problem
this didn't work, but, it's probably worth leaving the change in
place because this might fix other stuff we don't know about.
2023-09-18 23:55:33 +08:00
bunnie
2e1b3afc8b update pins in lockfile 2023-09-12 16:32:36 +08:00
bunnie
cb4a2589e6 fix verifier pin and bump lockfile 2023-08-08 14:44:15 +08:00
bunnie
c109410352 bump lockfile 2023-08-04 01:32:32 +08:00
bunnie
d5b2ce63f3 update lockfile 2023-08-01 23:54:39 +08:00
bunnie
f8284916f6 bump lockfile 2023-07-29 01:02:58 +08:00
bunnie
ed7bdf2589 bump lockfile 2023-07-17 18:27:53 +08:00
bunnie
cde56555d4 Pull utralib and svd2utra from local repo; downgrade crates.io check
In order to reduce friction of bringing on new platforms and experimenting
in utralib and svd2utra, xous-core now by default pulls these libraries
from the local repository.

Differences between the local version and the published version for
just these two packages are now downgraded to warnings, instead of
hard errors. This is because a difference does not indicate that
crates.io has had a modification we didn't expect; it simply means
we forgot to publish the package and we should eventually do so
once we have stabilized changes, so that others who rely upon it
can have the updated version.

But, with this patch, at least if we are experimenting with utralib
or svd2utra we don't have to publish a patch to bump revisions on
every major package every single time for a build to succeed.

I think this is an OK trade-off, but happy to roll this decision
back if it affects @eupn / @jeandudey negatively.
2023-07-17 15:14:33 +08:00
bunnie
5d34ffccbf bump lockfile 2023-07-04 11:26:50 +08:00
bunnie
4ac979f0ab update pins, again 2023-07-04 11:20:12 +08:00
bunnie
2ba77894bd it helps to test against the local copy :P 2023-07-04 11:19:12 +08:00
bunnie
5a111e68c2 bump lockfile 2023-07-04 10:43:45 +08:00
bunnie
ff6195a76e cleanup lockfile after patch-out was reverted 2023-06-16 04:07:46 +08:00
bunnie
36982c39c3 update cargo.lock 2023-06-16 01:34:21 +08:00
bunnie
1300771a38 fixes to make PR work 2023-06-16 01:29:55 +08:00
bunnie
c5d0dabb08
Merge pull request #391 from Foundation-Devices/jeandudey/sft-1858-remove-localizationlanguage-code-from-xous-rs
xous-rs: move LANG to locales
2023-06-16 01:16:20 +08:00
bunnie
6c0d252166
Merge pull request #390 from Foundation-Devices/jeandudey/sft-2309-improve-svd2utra-code
svd2utra: improve code
2023-06-16 01:16:07 +08:00
Jean-Pierre De Jesus DIAZ
2af737b57e
xous-rs: move LANG variable to locales
This change is made with the intention of making the xous-rs crate a bit
more freestanding without depending on the xtask build system.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-06-15 18:23:12 +02:00
Jean-Pierre De Jesus DIAZ
4dd50032e7
svd2utra: Remove convert_case dependency.
Not used.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-06-15 17:50:32 +02:00
bunnie
0b32ac073b add scan state information to ssid scans
ssid scans can now be in-progress, and they also record
the time elapsed since the last scan was performed.

this allows the network manager to be a bit smarter about when
it decides to kick off a scan.

the ssid scan dialog box is also updated to show
the scan results in progress. This addresses #336.
2023-05-29 02:12:28 +08:00
bunnie
54de42cd52 update lockfile with the new versions 2023-05-28 16:13:35 +08:00
bunnie
cf51f79d91 bump lockfile 2023-05-23 18:22:02 +08:00
bunnie
5a2df4432c technical debt: cleanup UTRA package
- make the "base" field no longer public. It is accessible, but only
through an `unsafe` method, because, it is unsafe.
- add accessors to offest/mask fields. Because, it's not at all
unsafe to access these, and it can be useful for bit-ops that are
not part of the generic set of UTRA.
- add Arc to AtomicCSR, and require `std` for AtomicCSR types.
This should not break anything, I checked inside @foundation-devices
keyOS and they don't seem to be using AtomicCSR anywhere.

The Arc makes it a bit safer to clone the AtomicCSR base pointer
and share it between threads, but it will have an impact on performance.
The USB stack (which requires AtomicCSR) was regression testing and the
impact seems minimal.

Recall that the main purpose of AtomicCSR is to provide a CSR accessor
that does not require a mutable reference to the base object. This
can make certain Rust idioms a bit cleaner. We wrap the base accessor
in Arc+Atomic to try and improve the safety of throwing the borrow
checker under the bus, but it's still not perfect because hardware
mutable state can have side-effects within hardware itself that cannot
be modeled or checked by Rust's borrow checker.
2023-05-23 18:11:24 +08:00
bunnie
2aa51736f5 fix #353 and possibly also #333
this adds a configurable autotype delay, and also adds a
left-handed mode option to the `vault` ui.

more testing is needed for #333, I think.
2023-05-22 17:22:17 +08:00
bunnie
faa4e502b6 bump lockfile and verification pins 2023-05-03 23:18:20 +08:00
bunnie
c323773568 bump lockfile 2023-05-03 23:10:15 +08:00
bunnie
aa3c363548 Merge branch 'main' of github.com:betrusted-io/xous-core into main 2023-05-03 22:54:09 +08:00
bunnie
7513f237e4 cleanup rev/revision manifest error 2023-05-03 22:53:54 +08:00
bunnie
c7a0057685
Merge pull request #370 from gsora/gsora/sleep-on-lock
Sleep device on lock
2023-05-03 22:53:18 +08:00
bunnie
2429cbd990
Merge pull request #379 from Foundation-Devices/com_rs-ref-removal
imports: remove com_rs-ref
2023-05-03 22:45:47 +08:00
Gianguido Sorà
183723b385 update xous-ipc, xous Cargo.lock version 2023-05-02 16:16:27 +02:00
Gianguido Sorà
7cb2ec73f2 Merge branch 'main' into gsora/sleep-on-lock 2023-05-02 15:37:36 +02:00
Jean-Pierre De Jesus DIAZ
3e2eb63663
imports: remove com_rs-ref
The crate just re-exports the com_rs crate. This patch changes usages of
com_rs-ref to use com_rs directly.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-05-02 14:33:17 +02:00
Jean-Pierre De Jesus DIAZ
02e7c44a35
services/pddb: update rand to 0.8
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-05-02 12:55:23 +02:00
Jean-Pierre De Jesus DIAZ
980d3403b3
services/spinor: update rand to 0.8
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-05-02 12:55:23 +02:00
Jean-Pierre De Jesus DIAZ
e757b4e686
services/usb-device-xous: update rand to 0.8
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-05-02 12:55:23 +02:00
Jean-Pierre De Jesus DIAZ
2fa9c3244e
services/usb-test: update rand to 0.8
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-05-02 12:55:23 +02:00
Jean-Pierre De Jesus DIAZ
66df563313
kernel: update rand to 0.8
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-05-02 12:50:56 +02:00
bunnie
712ff0d26a update the lockfile 2023-04-27 22:29:39 +08:00
Gianguido Sorà
e6d44795a1
early_settings: first commit 2023-04-21 18:10:36 +02:00
Jean-Pierre De Jesus DIAZ
8c62e84284
services/aes-test: update to use the aes crate
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-04-20 15:42:18 +02:00
Jean-Pierre De Jesus DIAZ
14e9b4162b
xous-rs: move vex AES functions to services/aes
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-04-20 15:42:18 +02:00
Jean-Pierre De Jesus DIAZ
271689058f
services/aes: remove unused hex-literal dependency
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-04-20 14:15:01 +02:00
bunnie
1f03977084 bump lockfile 2023-04-17 03:48:17 +08:00
bunnie
6c1769328a bump lockfile 2023-04-16 02:37:28 +08:00
bunnie
1392fdcf33 bump pins for updated log API 2023-04-16 02:27:37 +08:00
bunnie
210c501bb7 initial USB-serial mode working 2023-04-14 13:01:06 +08:00
bunnie
6f89430133 add updated pins 2023-04-12 23:08:36 +08:00
bunnie
38026e67ff fix dependabot reported DoS vuln in zip crate dependency
seems to not break anything else
2023-04-09 14:29:50 +08:00
bunnie
d3f2de8dfa bump lockfile to match latest pins 2023-04-09 00:59:54 +08:00