Commit graph

303 commits

Author SHA1 Message Date
bunnie
4319faa9d0 improve layout for modals 2026-04-23 00:34:15 +08:00
bunnie
3f869ca389 bump utralib version for publication 2026-01-29 19:12:00 +08:00
bunnie
88ccc7e042 fully specify the bao1x target on blitstr2 for bao1x builds 2026-01-29 18:58:55 +08:00
bunnie
b2cf705c59 bump ticktimer version to drop susres dependency 2026-01-28 20:53:57 +08:00
bunnie
fba011db3a commit version bump so that we may publish our packages 2026-01-08 03:04:19 +08:00
bunnie
d874c3e5c2 commit for version bump 2025-12-16 02:02:37 +08:00
bunnie
ebb7e8dfae refactor QR code notification implementation
Previous implementation sent the QR code as draw commands.
This is inefficient as it would require hundreds of draw
commands to be sent per QR code rendered.

This implementation codes the QR code as a bool and sends
it in a single memory message, and implements a QR code renderer
on the receiver side.

The QR code rendering is also cleaned up so that the QR code is
always centered and takes the full screen, to give the best
conditions for someone scanning the code from another device.
2025-12-07 18:58:33 +08:00
bunnie
98e9d99de8 add stateful list creation
this allows us to have "pre-checked" checklists
2025-11-30 21:31:39 +08:00
bunnie
dbb0a75118 bump versions
have to absorb a version change due to xous-semver change

might as well also update the utra/svd generator dependencies
since that's been held off for a long time now.
2025-10-06 13:23:18 +08:00
bunnie
179e178e96 fix up formatting that changed due to the flag day 2025-09-18 21:31:54 +08:00
bunnie
1255bf12d9 FLAG DAY: fix all names to harmonize around 'bao1x'
The code base had evolved through several code names, interim
names, company names and chip names that alternatively did or did
not exist.

Baochip is the definitive name of the company, and the Baochip1x
(full part number BAO1X2S4F-WA) is the definitivey part number of
the SoC. For convenience, the part number is shortened to 'bao1x'
in most feature flags and variable references.

This commit fixes all of the odd names and removes some unmaintained
early targets.
2025-09-18 21:25:51 +08:00
bunnie
ecbac27e76 fix rustc-1.89 warnings 2025-08-19 19:45:29 +08:00
bunnie
821c6ce47c cleanup dependency tree going down to the cramium-hal layer
remove features that we don't need so as to make the tree as
simple as possible to descend

in particular if we're just pinging the HAL layer for some simple
constants we don't have to pull in the hairball of std targets
2025-05-20 14:38:03 +08:00
bunnie
e2379821e6 republish xous-rs to fix cargo test 2025-05-11 15:36:17 +08:00
bunnie
8a4959056b bump version for xous crate update - commit so we can publish crates 2025-05-11 14:45:24 +08:00
bunnie
ee6fb3ef4f arch migrations make PDDB_LEN harder to reach in modals
this constant was just used to create a "realistic" test case
instead of trying to add the dependency we just hard-code the
constant into the test case, because in the end what we wanted
was that specific constant to test a specific edge case of
a progress bar.
2025-05-11 12:36:46 +08:00
bunnie
4640213410 fix hosted mode 2025-05-06 03:06:21 +08:00
bunnie
8a2651e9cb add no-gam coordination of keyboard hits based on focus of keys
modals has to be able to acquire/release focus without the
assistance of the GAM in a no-gam model.
2025-05-06 01:46:56 +08:00
bunnie
86fb450ab4 improve compatibility of signatures 2025-04-29 22:28:20 +08:00
bunnie
94969feb3c modify the entry validator test to work the numeric OSK selection 2025-04-29 03:03:13 +08:00
bunnie
0d2ecc1db3 add missing modals release calls 2025-04-28 19:03:06 +08:00
bunnie
74b427e1c4 shorten description string
this allows the test to run more nicely on small screen devices
2025-04-28 18:56:33 +08:00
bunnie
77d18530f7 match dependencies on modals tests to platform 2025-03-05 20:47:51 +08:00
bunnie
aafec72e64 add keyboard listener to modals in cramium targets 2025-03-04 02:04:22 +08:00
bunnie
a013720b6f more dependency fixup 2025-03-04 01:29:13 +08:00
bunnie
4c16d42d45 fixup features 2025-03-04 01:27:37 +08:00
bunnie
531f5ee4f9 add modals testing mode 2025-03-03 02:14:58 +08:00
bunnie
3dec223d9d allow modals testing in more modes 2025-03-03 02:14:43 +08:00
bunnie
275ae9b96c fix warnings 2025-02-24 00:59:20 +08:00
bunnie
fabb3174c7 specify the doc-deps feature in ux-api so that cargo doc builds correctly 2025-02-22 01:07:31 +08:00
bunnie
f798f5cf3d fix doc-deps configuration 2025-02-20 18:37:58 +08:00
bunnie
5e825aa38c move cramium-emu path as it migrated location 2025-02-20 15:07:27 +08:00
bunnie
e4292c38e7 cleanup path specifiers to methods to improve portability 2025-02-18 23:21:14 +08:00
bunnie
49f14d32c9 add doc-deps target to modals 2025-02-18 10:16:06 +08:00
bunnie
23c96f2d96 add a default graphics library for cargo doc runs
'gam' in the case of modals.
2025-02-17 22:55:29 +08:00
bunnie
79e95742b9 light-fingered changes to the modals layer to accommodate ux-api
trying to keep this layer as cross-compatible as possible while
compressing the stack underneath it
2025-02-11 16:26:13 +08:00
buncram
60c28c10b4 patch modals to handle multiple platform targets 2025-02-11 08:36:58 +08:00
Jeanie
5850794fa0 rearranging docs image location for better organization 2024-12-24 00:59:09 +08:00
bunnie
45a8eb2227 stage tomls for version bump: try_send added to xous-ipc 2024-12-16 18:50:11 +08:00
bunnie
93b9ec00bf bump version numbers on all the packages so we can absorb num-derive changes 2024-12-02 19:14:11 +08:00
bunnie
83e26ff4c7 update num-derive dependency
this became mandatory in 1.83 to remove warnings. I think it
should have no impact on functionality.
2024-12-02 18:52:59 +08:00
bunnie
043dfd84ae update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
bunnie
f494da21cc absorb new xous-ipc version 2024-09-23 22:05:50 +08:00
bunnie
75954de8d6 commit the version bump 2024-09-23 01:46:25 +08:00
bunnie
5973e48bf4 missed a case that is in hosted mode 2024-09-23 01:16:59 +08:00
bunnie
4c7c9312c1 change xous-ipc api to 0.10.0 2024-09-23 00:24:48 +08:00
bunnie
839923967c git rid of a .clone() that crept in, now fixed by prior commit 2024-09-22 18:50:38 +08:00
bunnie
f6f7cbdc98 bunnie-review: fix borrows in modals main loop
note for more review by bunnie down the road to make sure
that I have not changed any behaviors accidentally in fixing
the loss of Copy on a core structure
2024-09-22 15:28:11 +08:00
bunnie
af35f6e118 more cleanup of copy trait 2024-09-22 15:13:46 +08:00
bunnie
dfd7272773 review-needed: modify the alert modal prompt loop
The original loop takes advantage of the copy-trait that is
no longer available. I think the intent of the loop was to
mutate a field within the copy through each iteration so you
can update the prompt to handle field validations that failed
without re-allocating the ManagedPromtWithTextResponse structure.

This has been rewritten to alloc that each iteration to avoid
the borrow error, and instead the `prompt` itself is a string
that's initialized with the initial prompt message and is updated
on each iteration if the form validation fails.

@gsora git seems to say you wrote this code, maybe I could use
your help to review this patch.
2024-09-22 15:10:31 +08:00