Commit graph

10340 commits

Author SHA1 Message Date
bunnie
a48992c709 track latest smoltcp 2023-12-10 12:53:25 +08:00
nworbnhoj
046873cec5 add status text to Sigchat::connect() 2023-12-10 06:34:08 +11:00
nworbnhoj
90aec71d33 add logging to sigchat Event::Focus 2023-12-08 05:10:14 +11:00
nworbnhoj
5be8040e00 remove redundant sigchat MenuOp::Link & MenueOp::Register
alternatives are presented to user as required
2023-12-08 04:30:49 +11:00
bunnie
ca19bb48ed note 1.74 rust release 2023-12-07 18:45:29 +08:00
bunnie
0a0ac292c3 modernize opcode debug on PDDB 2023-12-07 18:41:51 +08:00
bunnie
0047913a2d fix readme comment 2023-12-07 16:56:04 +08:00
nworbnhoj
0eb1838ada Add Sigchat.account_setup() option to abort (and read Chat Dialogue in pddb) 2023-12-07 18:36:31 +11:00
nworbnhoj
b032a80a18 refine Sigchat::connect() to link/register on first use 2023-12-07 18:33:30 +11:00
nworbnhoj
404dc29fec include Signal registered Number in Account::read() 2023-12-07 18:13:47 +11:00
nworbnhoj
270746daf4 update sigchat readme 2023-12-07 18:10:06 +11:00
bunnie
d9b8fe686d on second thought, no need to check if tz is 0
any time setting would have a non-zero utc offset since the hw
RTC starts near epoch. it is sufficient to just check for that.
2023-12-07 10:01:58 +08:00
bunnie
a36545073d fix #459
This is an error in the "unset time" validator -- should be an &&
statement instead of an || in checking for an unit'd state.
2023-12-07 02:15:25 +08:00
bunnie
9ab66eea80 change error message that's more of a warning 2023-12-07 02:15:05 +08:00
bunnie
fd6409702e Merge branch 'main' of github.com:betrusted-io/xous-core into main 2023-12-07 01:32:05 +08:00
bunnie
8892c0d9ea bump release notes 2023-12-07 01:31:45 +08:00
bunnie
7da070f37c fix #460 - prevent PDDB mount dialog from popping up during updates
check the newly-minted EC ready bit prior to running the PDDB mount
handler.
2023-12-07 01:31:06 +08:00
bunnie
6c39534a7b mark the EC as ready at the conclusion of all update activity
by marking the EC as ready after all the update checks are done
we can ensure that the PDDB mount dialog does not attempt to come
up during an EC update.
2023-12-07 01:30:33 +08:00
bunnie
5bff1f6c46 add routines to set/get EC readiness
The nominal purpose of this is to allow other services to delay
interactions that could interfere with an EC update.

Note that anyone could call this routine and mark the EC as not
ready, since the llio block is not secured and the API is public.

I don't think it's a security problem, but is a DoS vector.
2023-12-07 01:29:05 +08:00
bunnie
ed3d1fda61 continue to track smoltcp main while we wait for its next release 2023-12-07 01:28:37 +08:00
nworbnhoj
90daccea46 merge main into sigchat 2023-12-05 13:19:49 +11:00
bunnie
7eabf2b495
Merge pull request #458 from nworbnhoj/main
fix chat-test menu_name
2023-12-03 13:27:44 +08:00
nworbnhoj
b6c5550116 fix chat-test menu_name 2023-12-02 21:26:51 +11:00
bunnie
efb087c01a
Merge pull request #455 from betrusted-io/mtxchat-layout-tests
WIP: Mtxchat layout refactor
2023-12-02 16:13:04 +08:00
bunnie
2596ebed86 add chat-test to the lockfile 2023-12-02 16:10:23 +08:00
bunnie
7dc4b9213f add chat-test mini-app
this now contains the UI tests as a stand-alone app
2023-12-02 16:09:59 +08:00
bunnie
0632e510be remove tests from mtxchat app 2023-12-02 16:09:37 +08:00
bunnie
6d71dc0662 fix verifier numbers 2023-12-01 22:09:17 +08:00
bunnie
5aff0f2413 cleanup doc comment errors 2023-12-01 22:08:34 +08:00
bunnie
0b26530887 bump pins for xous 2023-12-01 21:23:32 +08:00
bunnie
fa3f349a0a bump pins as xous-rs has changed 2023-12-01 21:20:01 +08:00
bunnie
b1a9d12839 track smoltcp latest branch.
still waiting for their next release to pin this one down, but looks
like maybe they are getting ready for one soon?
2023-12-01 21:19:19 +08:00
bunnie
05aa899762
Merge pull request #456 from Foundation-Devices/wip/misc
xous-rs: miscellaneous impromevements.
2023-12-01 21:18:29 +08:00
Jean-Pierre De Jesus DIAZ
b265985f06
xous-rs: Change into_iter to iter. 2023-12-01 11:47:37 +01:00
Jean-Pierre De Jesus DIAZ
2331086755
xous-rs: Omit 'static lifetime on consts. 2023-12-01 11:47:37 +01:00
Jean-Pierre De Jesus DIAZ
c85658def9
xous-rs: Do not pass reference to command args. 2023-12-01 11:47:37 +01:00
Jean-Pierre De Jesus DIAZ
b4e020b027
xous-rs: Simplify TcpStream::connect. 2023-12-01 11:47:37 +01:00
Jean-Pierre De Jesus DIAZ
0a1382224a
xous-rs: hosted: Do not pass &mut data.
data is already a &mut [_] so we were passing &mut &mut [_].
2023-12-01 11:47:37 +01:00
Jean-Pierre De Jesus DIAZ
94737e9be2
xous-rs: Simplify return expressions. 2023-12-01 11:47:37 +01:00
Jean-Pierre De Jesus DIAZ
0141378192
xous-rs: Remove reference on self match. 2023-12-01 11:47:37 +01:00
Jean-Pierre De Jesus DIAZ
6c9cc968f6
xous-rs: Remove usize castings when not necessary. 2023-12-01 11:47:37 +01:00
Jean-Pierre De Jesus DIAZ
9a393ed0aa
xous-rs: Fix doc comment warning. 2023-12-01 11:25:39 +01:00
Jean-Pierre De Jesus DIAZ
fd98acc82e
xous-rs: Remove build.rs.
Not used so it's best to remove it to avoid compiling it.

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
2023-12-01 11:10:25 +01:00
bunnie
f88afd1a1a fix various edge cases; move status bar redraw to end of routine
putting the status bar redraw at the end means that even if
the fitting of the boxes isn't 100% correct, the status bar still
ends up "on top".
2023-12-01 17:55:39 +08:00
bunnie
0da86640b1 cleanup debug statement 2023-12-01 17:55:26 +08:00
bunnie
e4fba76ed2 add some debugging infos
the scroll-down freeze is actually because of the nature of
the test program hijacking the main loop. the test program
probably needs to be redesigned so it takes in events so we
don't eventually end up in deadlock
2023-12-01 03:17:00 +08:00
bunnie
157f0031e6 refactor layout to take advantage of pre-computed height bubbles
mostly works, so checkpointing it here. need to debug why going down
after going up (in terms of selection) is not working.
2023-12-01 02:23:47 +08:00
bunnie
f479344668 Merge branch 'main' of github.com:betrusted-io/xous-core into mtxchat-layout-tests 2023-11-30 23:09:25 +08:00
bunnie
49c2e1a857 bump lock file 2023-11-30 23:09:00 +08:00
bunnie
7222fb0de9 add an optional bounding rectangle field to posts
this is computed when the post is added to the list of posts.

Also split out the visual properties of a UI into a separate
struct so that we can pass it as a single argument to routines
that could handle layout-related tasks.
2023-11-30 23:05:41 +08:00