bunnie
6e0d025dea
add "menu mode" option to the IMEF
...
in "menu mode" the predictive area functions as four menu
option keys instead of dynamic prediction updates.
this patch is mostly working but we need to figure out how to
force a redraw of the predction area when the app is raised,
because we get a stale image from the previous app on context
switch.
2022-06-17 12:40:44 +08:00
bunnie
e32ea4d3f5
fix #174
2022-06-10 21:36:53 +08:00
Sean Cross
3ae9d8abf0
apps/services: remove xous::xous_main macro usage
...
This macro will be removed, since it is no longer necessary. Remove this
macro across the project and replace it with a standard `main()`
function.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-05-31 13:33:30 +08:00
bunnie
b246a369d4
lay in another layer of tts functionality
...
now shellchat can talk, and password entries are a thing.
next up: debug oom issues in STT when we start doing really big
strings.
2022-03-11 02:37:48 +08:00
bunnie
21ad8d9283
change en-audio to en-tts
2022-03-10 15:38:55 +08:00
bunnie
fd5c6568d1
trim out some excess redraw calls that are slowing down boot
2022-02-05 18:55:46 +08:00
Jeanie
58e8120526
ja translations added
2022-01-30 19:23:49 +09:00
bunnie
0f4743fc0b
only one connection is allowed to the imef: remove multi-callback support
...
only cone connection is allowed to the IMEF anyways, because
the GAM does traffic control on who has authorization to access it.
So, no need for multi-callback support. Saves a tiny bit of RAM.
2022-01-25 01:05:31 +08:00
bunnie
6653d42114
cleanup UX context registry
...
it's now a much smaller nightmare to maintain the registry, as all
the items are concentrated into a single location
2022-01-23 14:31:21 +08:00
bunnie
2b46f21ae8
remove dependency on blitstr v1 entirely
2022-01-23 04:08:32 +08:00
bunnie
2642e6c075
various UX fixes that take advantage of the new font rendering engine
2022-01-22 00:10:31 +08:00
bunnie
7277b7bc1d
start to refactor out the old blitstr v1 apis
2022-01-21 15:01:56 +08:00
bunnie
991f48dc1f
macro-ize the emoji menu
2022-01-16 18:27:26 +08:00
bunnie
b7b0bdc852
convert menu infrastructure to the "menumatic" API call
...
hopefully this makes menus a bit easier
2022-01-16 17:30:32 +08:00
bunnie
d1eff9e052
ah, that's how you init an Option<String> array...
2022-01-15 17:04:40 +08:00
bunnie
b77b38552d
reduce pre-allocs in ime-frontend
2022-01-15 17:00:43 +08:00
bunnie
b3788a54af
clarify the dependency policy
2022-01-10 16:50:10 +08:00
bunnie
995915ed4e
nail down a couple more dependencies, and add a policy note to Cargo.toml
...
Each Cargo.toml now includes a comment which remnids maintainers
of the dependency policy for Xous (that is, nail down every dependency
to the minor number).
2022-01-10 15:54:27 +08:00
bunnie
dd943c5416
pin down versions and harmonize versions across servers
...
Versions are pinned down to the minor number. Yes, this means that
we don't automatically pull in features and bug updates from crates.io,
but it also means we don't pull in new attack surfaces and code that
hasn't been tested or reviewed. I'd like this process to be very deliberate
and not automatic for Xous.
The `rand` crate is almost pinned down to a single version, except
for an odd dependency that's pulled in by hosted mode that depends
on rand 0.8.4 via a subordinate dependency via the `tempfile` crate.
Pondering if it's worth it to try and eliminate that, because the
0.8.4 version doesn't get compiled into any version that touches
real hardware. It just makes it harder to analyze the Cargo.lock
file, mostly. I think I'll leave it as-is.
2022-01-10 15:39:55 +08:00
bunnie
6623d58f43
reduce some debug logging
2022-01-07 23:36:05 +08:00
bunnie
c0ce66ee51
fix permissions. windows is sort of stupid and makes everything +x
2021-08-19 23:34:29 +08:00
bunnie
9ae5feab78
refactor to add helper threads to the UX format; documentation
2021-07-28 17:35:25 +08:00
bunnie
86e113b678
add locale to front-end; update menus to suppress 🔇 characters automatically
2021-07-26 00:49:33 +08:00
bunnie
c0d4cbe81d
make the menu object more generic; demo with emoji selection
2021-06-19 04:44:21 +08:00
bunnie
69a22adee9
menus basically working
2021-06-19 00:25:18 +08:00
bunnie
769c90764c
menu Ux is now nominally doing something menu-like
2021-06-18 19:35:03 +08:00
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
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
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
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