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
bunnie
fadc9c29ab
Merge remote-tracking branch 'origin/master' into bunnie-dev
2021-06-02 03:59:25 +08:00
bunnie
25e6bced00
add power-on utilization reporting
...
there is now an extra field in the status bar that gives
the %'age of time that the clocks are running.
2021-06-02 01:08:31 +08:00
bunnie
30aa794f30
add reference counting on connections between servers
...
the connection number is re-used for all objects created
within a process space, so you can't `Drop` the connection
immediately when an object goes out of scope. You have to
make sure all instance of the object go out of scope. This
patch adds reference counting to all the objects so that
the `Drop` function works as intended.
2021-05-21 16:24:30 +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
5d4e716e1b
add status thread mechanism to check charger state
2021-05-16 16:30:58 +08:00
bunnie
b06e8d2a81
fix issue with datetime on hosted mode on windows
...
just monkey-patch over the call in hosted mode...
2021-05-16 02:26:24 +08:00
bunnie
08a86749fe
fix hosted mode bugs
2021-05-09 01:13:16 +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
abf308e82d
try to trace down issue #61
2021-05-02 16:39:08 +08:00
bunnie
a2280639d9
forgot to uncomment a line
2021-05-02 16:13:06 +08:00
bunnie
05df98d1c1
disable suspend/resume support in hosted mode
...
hosted mode doesn't have suspend/resume support, and it's
not worth debugging subtle issues on that side of the fence
that seem to be OS-dependent.
2021-05-02 16:10:51 +08:00
bunnie
8b29fc4dd3
make the sleep note screen a little more aesthetic
2021-05-02 03:57:40 +08:00
bunnie
9997749c4c
fix soc version
2021-04-27 21:32:43 +08:00
bunnie
4ecd7c06ac
trying to fix renode stuff, but not quite there
2021-04-23 21:49:13 +08:00
bunnie
c385f4bdd5
fix hosted mode boot vs RTC alarm clear
2021-04-23 17:59:12 +08:00
bunnie
4022462144
fix RTC wakeup alarm code
2021-04-23 17:51:12 +08:00
bunnie
076ee3588e
add blank screen for ship mode
2021-04-22 18:07:41 +08:00
bunnie
d807098ed1
more mods for the braille branch
2021-04-16 05:34:08 +08:00
bunnie
1841233d2c
add "slow mode" for braille debugging
2021-04-16 04:21:21 +08:00
bunnie
aed2325f68
fix some minor bugs in hosted mode
...
memory is not page-aligned so `if !cfg()`-out the alignment
checks in hosted mode
2021-04-09 17:31:36 +08:00
bunnie
8b93dd0c63
RTC server now basically working
...
There is an issue with the rtc commandline time checking
with respect to unhooking its callback, maybe related to
the new disconnect/destroy server code
2021-04-09 05:24:29 +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
d6fd42b593
COM refactor of callbacks
2021-04-02 16:40: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
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
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
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
54cf95aec1
turn off more debugging for demo
2021-03-11 04:43:58 +08:00
bunnie
0f0ab91879
fix margin on uptime
2021-03-11 04:09:12 +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
d54b815653
add input listeners to get input lines.
...
next up: shellchat
2021-03-09 03:08:34 +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