bunnie
c5e6391e22
remove mention of Sendable and the ipc.rs module
2021-02-18 02:01:11 +08:00
bunnie
0af72ffb6d
clean up Sendable references and warnings
2021-02-17 23:29:20 +08:00
Sean Cross
7d9fdb9c0d
services: graphics: fix unused import warnings in op
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:52:23 +08:00
Sean Cross
f962be1f3c
services: graphics: text: fix unused import warnings
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:51:59 +08:00
Sean Cross
5d59fccbc0
services: graphics: fix warnings in lib
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:51:05 +08:00
bunnie
2b003f8a7d
intermediate checkin
2021-02-16 00:28:44 +08:00
bunnie
07b3dd9afa
add PID printout to every service as it starts
2021-02-15 19:16:21 +08:00
bunnie
af012c48dc
getting a little further with the port, but still crashing on a borrow message
2021-02-15 04:42:30 +08:00
bunnie
fc8290cdb4
futzing around and something is kind of working on xous-string port to rkyv
2021-02-15 00:05:42 +08:00
Sean Cross
374e411b74
cargo: use resolver 2 to fix graphics issue
...
The graphics server has an issue where something upstream is activating
the "std" feature on "log", which prevents us from compiling anything
that includes the "log" crate. Which is everything.
Use resolver "2", which requires Rust 1.51 or newer.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-10 15:00:16 +08:00
bunnie
75cd321175
great usize extinction event - graphics-server
2021-01-22 00:33:49 +08:00
bunnie
87501444c5
the great usize extinction event: remove usize from blitstr
2021-01-22 00:27:45 +08:00
bunnie
cc6992c3df
implement "imports" methodology
...
This commit simplifies managing git-repo hosted dependencies, so
there is a single location for changing the package path.
2021-01-20 16:22:38 +08:00
bunnie
53713baaa6
trying to debug why lend_mut() isn't working
2021-01-20 03:18:13 +08:00
bunnie
f247e557e8
now to the point of testing the general message flow in hosted mode
2021-01-19 18:58:57 +08:00
bunnie
54d299daf8
the other half of the previous commit
2021-01-19 17:10:52 +08:00
bunnie
757812423c
refactor graphics-server api crate organization
2021-01-19 17:10:31 +08:00
bunnie
086a4da862
refactor TextView into graphics-server
2021-01-19 04:54:54 +08:00
bunnie
b72d2f2bb3
refactoring of interfaces
2021-01-19 00:05:33 +08:00
bunnie
73286828c8
more GAM API fleshing out; now to the point of updating a TextView
2021-01-18 04:12:40 +08:00
bunnie
cc66c3911a
starting to lay out initial framework for the graphical abstraction manager (GAM)
2021-01-17 04:02:08 +08:00
bunnie
72b8d6a3de
add keyboard input emulation in hosted mode
2021-01-13 23:17:09 +08:00
bunnie
18fbd046f6
use git version of blitstr
2021-01-13 04:42:06 +08:00
bunnie
95cbf42cf2
refactor frame buffer to use double buffering
2021-01-13 04:39:04 +08:00
bunnie
2958858a3a
refactor to use UTRA for control registers
2021-01-13 01:17:43 +08:00
bunnie
ea78de8014
convert all services to use xous-names server
2021-01-09 02:12:01 +08:00
Sean Cross
147100fa38
graphics-server: minifb: use iterators for drawing the screen
...
This removes the bounds checks that were being performed, and goes for a
pure iterator approach.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 20:30:42 +08:00
bunnie
ec675eefb4
cleanup warnings
2021-01-05 04:45:23 +08:00
Sean Cross
7b50d00eb8
repo: run cargo fmt
...
This reformats line endings to be consistent, and reinforces the
contents of `.gitattributes`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-03 18:31:51 +08:00
bunnie
6b39946d31
fix git refs for push to master
2020-12-13 02:10:44 +08:00
bunnie
95719852b3
Merge remote-tracking branch 'betrusted/master' into hardware
2020-12-12 12:58:06 +08:00
Sean Cross
25e4d16de3
xous-os: rename CreateServer to CreateServerWithAddress
...
Servers will, by default, get randomly-assigned SIDs. Certain servers
will want to have well-known SIDs, such as the log server or the
nameserver. These will use a separate call in order to perform this
priveledged operation.
A subsequent patch will add `CreateServer`.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 20:33:33 +08:00
bunnie
bcb52f1a59
eliminate unused code
2020-12-03 23:58:26 +08:00
bunnie
bd64323f36
revert to local repo for builds
2020-12-03 01:54:21 +08:00
bunnie
72ed8cd35d
refer to pushed gitref for merge to main
2020-12-03 01:52:20 +08:00
bunnie
c0842517f6
major refactor of the graphics-server API
...
- remove redundant Rect/Rectangle implementations
- refactor Lines and Circles
- add DrawStyle to the message passing regimen
- depracate modal Styles; now every object has a DrawStyle shipped with it
- remove unused/redundant API calls
2020-12-03 01:48:10 +08:00
bunnie
cbf3ffa4a4
refer to the latest blitstr commit ref for public distribution
2020-11-28 02:08:15 +08:00
bunnie
5cd1bf7012
incorporate blitstr for string drawing
2020-11-28 02:05:55 +08:00
bunnie
c05153b5af
add dirty bit set to put_pixel()
2020-11-27 17:21:31 +08:00
bunnie
2c3aef886c
remove final vestiges of debug.rs, deprecate 4-uart support
2020-11-27 17:12:49 +08:00
bunnie
7ba75b14f9
add ability to render strings on multiple lines
2020-11-27 03:33:44 +08:00
bunnie
bc832b3a50
fix interrupt pending clear issue in debug module
...
during conversion to documented interrupts from Litex a case was
missed.
2020-11-24 22:44:19 +08:00
Sean Cross
958fa96fde
Merge branch 'master' of github.com:betrusted-io/xous-core
2020-11-23 19:32:31 +08:00
Sean Cross
0732075869
graphics-server: bounds-check the circle drawing
...
Otherwise we could overflow the buffer.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 19:31:52 +08:00
bunnie
1aa01fdf5d
confirm sleep works, some minor fixup to UTRA style usage
2020-11-23 19:02:02 +08:00
bunnie
d26c80582e
clean up gfx server API, allow for string size setting
2020-11-23 15:42:58 +08:00
bunnie
41d7f2a0e5
add ScreenSize message, add hanzi test to boot screen
2020-11-23 14:55:56 +08:00
bunnie
a2670a7537
minor tweaks to improve the rendering of the bouncyball
2020-11-23 03:49:09 +08:00
bunnie
2d5bd20c16
bouncing ball "招财猫"-like totem now working
2020-11-23 03:18:43 +08:00
bunnie
16e9f43015
add circle drawing to graphics
2020-11-23 00:40:40 +08:00