Commit graph

296 commits

Author SHA1 Message Date
bunnie
db5e56fd1a futzing with structures to try and figure out a threading issue 2021-03-18 16:21:43 +08:00
bunnie
ca07645dce remove loop polling on GAM, seems unecessary 2021-03-18 16:21:10 +08:00
bunnie
9c49940e1d add callback test back into shellchat 2021-03-18 04:22:17 +08:00
bunnie
2d5c1dd6db leverage min_const_generics and cleanup
the spoils of a hard fought battle to refactor to rkyv 0.4.1
2021-03-18 04:00:38 +08:00
bunnie
ea8b208a15 finalize rkyv 0.4.1 refactor 2021-03-18 03:54:48 +08:00
bunnie
8fbd900a4c Merge branch 'hardware-no-cb' into rkyv-refactor
Bring the two branches up to date, while also laying the groundwork
for XousServerName to be used as a native index type in xous-names
so we aren't burdening xous::String with a hasher
2021-03-17 16:06:06 +08:00
bunnie
edb099d3f2 fix hosted mode with dummy i2c emulation calls 2021-03-16 19:28:01 +08:00
bunnie
eda33b5de7 factor out the shellchat callback, which mysterious breaks things 2021-03-16 18:03:12 +08:00
bunnie
d74b3189e6 it builds, at least. 2021-03-16 16:37:38 +08:00
bunnie
8b8cad067c add the i2c file proper 2021-03-16 15:52:30 +08:00
bunnie
eff3e7d7bf incremental i2c changes 2021-03-16 15:52:13 +08:00
bunnie
f9439b48d6 checking in a refactor that we're going to abort 2021-03-16 12:27:29 +08:00
bunnie
d68e3e8cf4 an attempt to refactor to rkyv 0.4.1
unfortunately, it looks like deserialize requires an alloc??
2021-03-16 02:02:53 +08:00
bunnie
ab1b839900 checkpoint before figuring out how to deal with the String rkyv version issue... 2021-03-16 00:11:23 +08:00
bunnie
be38661a1e half-baked i2c stuff, but about to tear a bunch of it out 2021-03-15 14:58:48 +08:00
bunnie
2f71f2a1f5 add/test facility for handling async callbacks from shell commands 2021-03-14 00:39:27 +08:00
bunnie
0950467a37 Merge branch 'hardware' of https://github.com/betrusted-io/xous-core into hardware 2021-03-13 18:15:37 +08:00
bunnie
5c1940a019 change the name of the window 2021-03-13 18:15:30 +08:00
Sean Cross
14c9d62046 gam: make sure opcodes are only available in-crate
This prevents them from accidentally being used outside of the crate.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-13 18:05:33 +08:00
Sean Cross
e1890b1717 graphics-server: buffer keypresses
Buffer keypresses so that keys are not lost. This improves
responsiveness, although there are still kernel plumbing issues.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-13 18:01:12 +08:00
bunnie
beb3e0fec6 add a screenshot of shellchat 2021-03-11 23:04:04 +08:00
bunnie
4006df3c4f add instructions on how to make commands 2021-03-11 22:54:24 +08:00
bunnie
685f36af41 commit that shows the bug fixed 2021-03-11 22:35:57 +08:00
bunnie
307df04e8b a commit that exhibits the string bug 2021-03-11 22:33:57 +08:00
bunnie
d2ef03b7e2 intermediate commit to try and lock in a bug 2021-03-11 22:32:05 +08:00
bunnie
ae418f5718 refactor shellchat API to have less repeated code 2021-03-11 22:31:38 +08:00
bunnie
e84845553e Merge branch 'hardware' of github.com:betrusted-io/xous-core into hardware 2021-03-11 18:53:53 +08:00
bunnie
443e4a1444 remove draw_order from TextView
We can't support this anyways, because the textviews are
immediately drawn on call by the calling app
2021-03-11 18:52:10 +08:00
bunnie
d24a8a67b5
Update README.md 2021-03-11 18:49:30 +08:00
bunnie
b8dfa1ddcb
Update README.md 2021-03-11 18:28:38 +08:00
bunnie
54cf95aec1 turn off more debugging for demo 2021-03-11 04:43:58 +08:00
bunnie
16d8438a0d turn off some debugging 2021-03-11 04:12:14 +08:00
bunnie
0dbfa6a668 clean up warnings 2021-03-11 04:09:47 +08:00
bunnie
7db6f857dd change boot screen to be more informative 2021-03-11 04:09:35 +08:00
bunnie
0f0ab91879 fix margin on uptime 2021-03-11 04:09:12 +08:00
bunnie
4baaec61d2 add sensors command to read ADC values 2021-03-11 02:57:58 +08:00
bunnie
835bee2c75 lay in foundations to support the sleep function 2021-03-11 01:45:54 +08:00
bunnie
2b66ab1db0 refactor to put commands in static storage
so that state can actually persist across multiple calls
2021-03-11 01:45:02 +08:00
bunnie
812d334a01 fix unnecessarily long server name
xous server names are 64 characters long, not 256.

maybe should refactor to just eliminate the xous server name
structure -- it's actually redundant, and a vestige from when
we were just figuring out how to use rkyv.
2021-03-10 23:30:02 +08:00
bunnie
9566355f9a refactor command API
should be a bit more convenient now to add/modify command
lists as time goes on
2021-03-10 22:59:52 +08:00
bunnie
e829c0bd06 add framework for modular commands
I am not happy with this. I think the framework could be better
but I also can't figure out how.
2021-03-10 04:18:57 +08:00
bunnie
fbcb991e06 turn of debugging 2021-03-10 02:08:37 +08:00
bunnie
3e5936e920 fix backspace edge case 2021-03-10 02:05:31 +08:00
bunnie
63159e50db wire up some function keys in hosted mode, add some fun glyphs for testing 2021-03-10 01:58:38 +08:00
bunnie
9a455051bf forgot to do dynamic updates of the predictor
that'll be handy once we have a real IME
2021-03-10 01:50:50 +08:00
bunnie
ab277a6cdd fix less than one line check criteria 2021-03-10 01:36:40 +08:00
bunnie
44c1b66b8b fix border width arg 2021-03-10 01:25:36 +08:00
bunnie
a9a7ac435f add support for rounded rectangle text bubbles and dynamic sizing
this makes more more natural chat-style text bubble interactions
2021-03-10 00:25:14 +08:00
bunnie
6d6d62f794 add an api for content canvas plugins
some calls are mandatory, such as supporting a redraw of the canvas
2021-03-10 00:24:29 +08:00
bunnie
07a9cbb02d initial structuring of the shellchat app 2021-03-09 04:31:51 +08:00