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
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
ffb38957bf
remove debug on listeners
2021-04-15 18:43:33 +08:00
bunnie
75295485a7
fix RTC callbacks
2021-04-14 02:58:22 +08:00
bunnie
f1d97fe428
RTC cmdline function mostly working
...
seems there is some issue with de-registering/disconnecting
connections though, need to make simpler test cases to diagnose
2021-04-10 01:01:51 +08:00
bunnie
ca349ec1b0
clean up minor bugs and other issues
2021-04-06 22:38:11 +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
9ba2fb134c
refactor most major modules, but Xous now crashes
2021-04-05 23:50:00 +08:00
bunnie
75a6f779f8
initial refactor of ime-frontend
2021-04-05 03:39:14 +08:00
bunnie
470b5c6440
finalize API refactor for xous-names
2021-03-30 02:13:23 +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
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
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
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
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
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
07a9cbb02d
initial structuring of the shellchat app
2021-03-09 04:31:51 +08:00
bunnie
b5411851fd
rudimentary shellchat -- commit for help on debug Move message
2021-03-09 03:52:39 +08:00
bunnie
d54b815653
add input listeners to get input lines.
...
next up: shellchat
2021-03-09 03:08:34 +08:00
bunnie
3cec151ffd
fix prediction order
2021-03-09 02:47:25 +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
c9e82c427e
fix a bunch of minor bugs
2021-03-08 05:12:26 +08:00
bunnie
5dc537df05
fold in the predictor
2021-03-08 04:28:17 +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
f495b40fd8
insertion/deletion of text with back/forward buttons working now
2021-03-07 03:43:46 +08:00
bunnie
49d6018e5e
new feature: backspace (*gasp* iknowrite?)
...
harder than it looks with utf8 and variable-width characters
2021-03-06 19:37:22 +08:00
bunnie
547dbbfe6b
fix carriage return emulation and handling
2021-03-06 03:26:13 +08:00
bunnie
cb0686803e
split out the background clear/redraw from the core loop
2021-03-06 02:45:47 +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
fff7c024ad
prep to migrate API in git
2021-03-04 18:13:50 +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
f565fdaf6f
refactor API into a separate crate with traits
2021-03-04 04:33:20 +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
b04e57f5a4
prepare for a merg
2021-03-03 22:09:45 +08:00
bunnie
8f809c2a51
start layering in the IME front end and prediction APIs
2021-03-03 14:53:33 +08:00