bunnie
0f937037e4
just getting to the point of implementing defacement
...
menu now pops up. does nothing, but we can at least
change contexts for the Ux into a different Ux theme.
2021-06-18 16:20:56 +08:00
bunnie
62c9737bbc
tenuous addition of a menu object
...
things don't crash, but...haven't really validated if they work, either!
2021-06-18 04:10:41 +08:00
bunnie
3664ff6718
clean up keyboard event handling so the GAM is the gateway server
...
this allows the GAM to handle authentication for listening requests.
2021-06-17 01:12:25 +08:00
bunnie
03bcf18348
clean up enum-based dispatch for Layouts, pulling in enum_dispatch crate.
2021-06-16 17:41:47 +08:00
bunnie
356b07dacc
works on "real hardware" but some issues with hosted mode
2021-06-16 17:03:28 +08:00
bunnie
5301f4af20
major refactor of the Ux -- can create, redirect I/O contexts
...
getting ready for Precursor to do more than just one thing.
2021-06-16 04:50:26 +08:00
bunnie
13a8cf7417
it helps to save the file before committing it
2021-06-15 17:46:10 +08:00
bunnie
8cd84d3be0
Merge branch 'bunnie-dev' into ux-refactor
...
incorporates the upstreamed xous-names connection count patch
2021-06-15 17:45:07 +08:00
bunnie
eee9f4e765
refactor xous-names to permit only a fixed number of connections
...
this prevents less trusted processes from connecting to servers
after the kernel initializations are done.
this works so long as we don't have disconnects from the kernel
servers. In order to support disconnects we will also need a
way to re-enumerate the SID to guarantee that we don't have a re-use
problem. But for now, the kernel is not designed with any practical
disconnect mechanism; there is no code that calls the Quit mechanism
on any server.
2021-06-15 17:41:14 +08:00
bunnie
4058b56aae
intermediate checkin of UX refactor
2021-06-15 12:50:29 +08:00
bunnie
7e141aba91
commit some API changes before making even more API changes
...
yo dawg i herd u liek API changes so I made API changes to ur API changes
2021-06-14 02:51:41 +08:00
bunnie
0db9ad9e6f
add status bar extension to inform of security states
...
- inverted text indicates a trusted message. policy is enforced in the GAM.
- we don't have a way to lock the USB port yet; but at least now it's communicated.
2021-06-13 04:40:50 +08:00
Sean Cross
eb7895d601
xous: add a return code to TerminateProcess
...
As part of this refactor, make `terminate_process()` a divergent call.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-20 11:01:00 +08:00
bunnie
391122823d
refactor heapless version in attempt to debug issue that cropped up in xous-names
...
somehow, updating the toolchain has broken the FnvIndexMap implementation
2021-05-08 18:44:23 +08:00
bunnie
076ee3588e
add blank screen for ship mode
2021-04-22 18:07:41 +08:00
bunnie
24e9408ce0
fix most of the inter-server bugs
...
still some issue with the predictions showing a longer length
than expected, but this is progress.
2021-04-06 02:48:55 +08:00
bunnie
8c12dbe2af
found a bug.
2021-04-06 01:52:26 +08:00
bunnie
9ba2fb134c
refactor most major modules, but Xous now crashes
2021-04-05 23:50:00 +08:00
bunnie
4a504943dc
part-way through the GAM refactor
2021-04-05 05:47:17 +08:00
bunnie
470b5c6440
finalize API refactor for xous-names
2021-03-30 02:13:23 +08:00
bunnie
f35d478cf0
attempt to refactor xous_names
2021-03-29 04:35:11 +08:00
bunnie
e889765caf
refactor the Ticktimer API.
2021-03-28 18:14:41 +08:00
Sean Cross
fdce58d06e
ipc: convert project to use xous-ipc
...
This rewrites the entire project so that most runnable projects now use
`xous-ipc` instead of `xous::String` where possible.
This also removes `rkyv` from the list of dependencies in `xous-rs`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 20:22:33 +08:00
Sean Cross
52c993556f
services: gam: use create_thread_4
...
This replaces create_thread_simple() which is unsound and has been
deprecated.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-25 13:15:42 +08:00
bunnie
ca07645dce
remove loop polling on GAM, seems unecessary
2021-03-18 16:21:10 +08:00
bunnie
ea8b208a15
finalize rkyv 0.4.1 refactor
2021-03-18 03:54:48 +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
d2ef03b7e2
intermediate commit to try and lock in a bug
2021-03-11 22:32:05 +08:00
bunnie
54cf95aec1
turn off more debugging for demo
2021-03-11 04:43:58 +08:00
bunnie
835bee2c75
lay in foundations to support the sleep function
2021-03-11 01:45:54 +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
71e45c4bf8
refactor redraw to be on-demand
...
seems to make the performance much better
2021-03-09 02:32:36 +08:00
bunnie
7d1fb5a31b
ellipsis support and fixing prediction redraw bugs
2021-03-09 02:24:45 +08:00
bunnie
8a8c1e6a66
foundations for predictive text display
2021-03-08 00:57:50 +08:00
bunnie
33df36f841
make input text preview area grow dynamically as text gets too long
2021-03-07 18:58:48 +08:00
bunnie
0cc1f9f5fb
it doesn't look that impressive, but there's a lot of plumbing now.
2021-03-06 01:10:18 +08:00
bunnie
5ea2a21d2d
tighten up APIs, implement a very 0th-order input loop
...
this is where the debugging begins of the beginning of
the API. it's like finally finding the start of a roll
of clear tape.
2021-03-04 19:02:56 +08:00
bunnie
aa8c0e5792
a bit more deck shuffling on the APIs
...
feels a lot cleaner now.
2021-03-04 16:02:42 +08:00
bunnie
92ca22c38c
refactor IME plugin API into a common crate
...
This will allow other APIs to just include the API crate
to define all the gazintas and gozoutas.
2021-03-04 03:14:26 +08:00
bunnie
2b768e9b86
fix warnings in initial API
2021-03-03 23:27:30 +08:00
bunnie
313f12acbb
clean up warnings
2021-03-03 22:38:20 +08:00
bunnie
8f809c2a51
start layering in the IME front end and prediction APIs
2021-03-03 14:53:33 +08:00
bunnie
9a2bce24cb
clean up timing and cosmetic issues on status updates
2021-03-02 21:47:23 +08:00
bunnie
4b0f50293f
another intermediate commit
2021-03-02 21:15:40 +08:00
bunnie
96a19baa8d
state before refactor of status to own process
2021-03-02 19:25:41 +08:00
bunnie
d1609d2a31
another commit checkpoint. somehow, i have a race condition now.
2021-03-01 15:08:08 +08:00
bunnie
70aa5b792b
check in for inspection
2021-03-01 14:40:39 +08:00
bunnie
5917ff4664
add object drawing to the GAM abstraction layer
2021-03-01 04:01:33 +08:00
bunnie
ce59bea2fa
add function to extract canvas dimensions from GAM
...
gfx_conn should be exclusive from GAM to gfx_conn, so
need to refactor out all the errant calls that are
scattered about.
2021-03-01 02:33:13 +08:00
bunnie
bee1f796ee
add rounded rectangle drawing
2021-03-01 01:49:22 +08:00