bunnie
944a1b1672
fix format specifier
2022-02-01 01:20:23 +08:00
bunnie
7c93b16c13
minor tweaks
...
The japanese phrase for "disconnected" is very long and doesn't
fit in the allocated space :-/ something to think about in the future.
2022-02-01 01:19:31 +08:00
bunnie
4690075c40
clean build, but...much testing to do.
2022-01-31 04:03:31 +08:00
bunnie
cf485fbbb2
add a check if the stats bar overflowed its bounds, redraw secnotes if that happens
2022-01-29 17:16:52 +08:00
bunnie
0dbe05dd46
document magic constants
2022-01-28 16:33:06 +08:00
bunnie
9f124c646c
more constants fixing
2022-01-28 16:31:34 +08:00
bunnie
de1f6f942d
fix out of range consntant
2022-01-28 16:29:24 +08:00
bunnie
f7ea782e73
fix some ergonomics around the status bar
2022-01-28 16:28:06 +08:00
bunnie
a4d84ae290
clean up cosmetic bits on uptime rendering
2022-01-25 17:09:03 +08:00
bunnie
18b97cea83
fix battstats decimal places on wattage
2022-01-25 16:48:44 +08:00
bunnie
75d41cfb1a
fiddling with icons
2022-01-25 15:17:55 +08:00
bunnie
65bd1d416a
improve the iconography of the status bar
2022-01-25 15:02:25 +08:00
bunnie
583c2e172b
add a demo REPL app to help users get started with something more interactive
2022-01-24 19:06:58 +08:00
bunnie
a52f498edb
change the menu order to make apps a bit easier to access
2022-01-24 17:38:02 +08:00
bunnie
7193f7003e
some tweaks to improve the UX rendering quality
2022-01-24 17:07:45 +08:00
bunnie
8e13d6bcdf
add drawlists to the GAM and gfx abstractions
...
this helps to prevent race conditions and improves performance
2022-01-24 16:33:01 +08:00
bunnie
f2b49f39d3
add a white line under the status bar so black user backgrounds have a border
2022-01-23 18:26:20 +08:00
bunnie
d2a054ec33
laying in some framework for user applications
...
The first "app" is just going to be a whole-framebuffer
demo that gets raw keys and does some stuff on the screen.
It's the starting point if you wanted to eg. write a simple
video game or something for the device, but you didn't care
about much of the other UX sugar.
2022-01-23 15:52:17 +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
94a8a4736f
make wlan status checks asynchronous
...
the synchronous method would lead to stutter in the animation
of the status bar during netork congestion.
2022-01-23 00:24:45 +08:00
bunnie
0cafd10e28
refactor status bar to take advantage of the new fonts
2022-01-22 18:25:39 +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
356d95a266
yet another refactor of the word wrapping
...
Really clear up the roles and structures of word wrapping.
Significantly, we have now figured out that the word wrapper
should be the word wrapper, and that the text bounds should
be computed by a text bounds computation.
Conflating flexible text bounds with word wrapping makes
the math really hard.
So, the word wrapper always works with a bounding area starting
at 0,0, and will wrap until it hits a Point designated as its
absolute max bounds.
The returned typeset block is referenced to 0,0, and then it
is shifted to the correct location by the rendering function.
This externalizes the computation of the final location plus
the rendering bounds to the outer functions that need to care
about this, thus simplifying the word wrapper significantly.
2022-01-20 18:30:13 +08:00
bunnie
3c87091565
cleanup the policy token straggler
2022-01-17 04:36:40 +08:00
bunnie
d719360a4d
fix a minor UX glitch
2022-01-17 03:36:28 +08:00
bunnie
2c711036a9
add a submenu for PDDB operations
2022-01-17 01:59:38 +08:00
bunnie
80bf673731
massage the loader to work
...
however -- it is now very slow
2022-01-17 01:10:41 +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
700975ec63
disallow sleep while charging
2022-01-15 16:31:21 +08:00
bunnie
77f4356620
Sync the EC to the SOC on boot
...
Always reset the EC on boot. If we have a cold-boot situation,
it's hard to know what state the EC is in versus our stack;
a hard reset on the EC guarantees we at least always start from
the same point.
Note that on suspend/resume, there is no reset - the EC continues
trundling onwards, but the system was designed for this.
2022-01-15 15:43:03 +08:00
bunnie
69eefb3e64
add a reboot command to the main menu
2022-01-12 14:00:31 +08:00
bunnie
b161b021fe
stop pump updates while we're doing the RTC setting
...
The RTC set dialog box is blocking, the pump will eventually
lock up the system if we don't stop it.
nb: ~200k saved in RAM with the refactor
2022-01-11 16:19:31 +08:00
bunnie
4f638bb49a
massive refactor to eliminate the RTC crate
...
Saves a bit on resources and the RTC crate doesn't need
to be stand-alone now that the modals crate is a thing;
we are able to split the UX routine to manage the RTC out
of the code that actually manages the hardware.
The hardware code ended up in LLIO, and the UX ended up in the status
routine.
2022-01-11 15:45:20 +08:00
bunnie
994e3d7cfb
refactor llio crate (phase 1): organize files into sub-systems
2022-01-11 12:02:27 +08:00
bunnie
ccbe7c479f
improve braille testing flags, make them more consistent
...
i wonder if there isn't a workspace-level way to flip a flag...
2021-09-07 19:11:54 +08:00
bunnie
1a55973346
adjustments to self test routines
2021-09-06 14:39:44 +08:00
bunnie
24d1bed9f8
restore thread in hosted mode
2021-08-22 17:52:28 +08:00
bunnie
74531517dd
move more crates to standardized formatting
2021-08-20 00:24:16 +08:00
bunnie
d801749e18
move more crates to standardized formatting
2021-08-20 00:19:16 +08:00
bunnie
8a82caf2fc
intermediate check-in on rootkeys enclave
2021-08-16 23:35:36 +08:00
bunnie
a19fc87687
clean up warnings, and fix some hosted mode issues
2021-08-15 00:46:16 +08:00
bunnie
ee4368e747
gateware update code in place
2021-08-13 06:00:21 +08:00
bunnie
4b175df36b
fix multithreaded gateware verification at boot
2021-08-10 05:08:09 +08:00
bunnie
cf3ed935e7
add staging location lockout and xous-names completion checking
2021-08-10 04:30:45 +08:00
bunnie
184bb8405f
getting closer to a finalized flow.
2021-08-10 03:04:03 +08:00
bunnie
352b725f7a
add an abort option to the initialization flow
2021-08-10 02:48:32 +08:00
bunnie
29f7cbe53b
refactor main menu to give options for rootkey operations
2021-08-10 01:54:35 +08:00
bunnie
ec6a3fd1a3
self-signing working, but the patch to use the SHA hash engine seems to be disregarded...
2021-08-09 03:27:43 +08:00
bunnie
82aaeb072f
gateware HMAC verification now working!
2021-08-06 02:33:52 +08:00