Samuel Dionne-Riel
a66bd290fe
boot/init: Handle additional cryptsetup arguments
2023-03-03 13:55:04 -05:00
Samuel Dionne-Riel
2d3a3d67dc
boot/init: Pass down luks device arguments
2023-03-03 13:55:04 -05:00
Samuel Dionne-Riel
d7abb16068
Merge pull request #585 from samueldr-wip/fix/nix-cflags-compile
...
Fix/nix cflags compile
2023-03-03 08:17:59 -05:00
Samuel Dionne-Riel
cb559d2aaa
lvgui: Drop NIX_CFLAGS_COMPILE arg
...
I don't recalle why `X_DISPLAY_MISSING` was needed at some point, but it
must not be anymore since it works fine without.
Also drop the needless stdenv adapter.
2023-03-02 20:02:02 -05:00
Samuel Dionne-Riel
c6a0b27970
Merge pull request #584 from samueldr-wip/feature/lvgui-2023-03-02
...
lvgui: 2023-02-25 -> 2023-03-02
2023-03-02 19:54:20 -05:00
Samuel Dionne-Riel
21eb2dece8
lvgui: 2023-02-25 -> 2023-03-02
2023-03-02 19:42:06 -05:00
Samuel Dionne-Riel
50bd07f404
boot/init: Tear down udevd
...
This fixes amdgpu suspend/resume on Steam Deck.
2023-03-02 14:05:55 -05:00
Samuel Dionne-Riel
6a36919d68
lvgui: 2023-02-11 -> 2023-02-25
...
See https://github.com/mobile-nixos/lvgui/pull/12
2023-02-25 19:36:39 -05:00
Samuel Dionne-Riel
8784004e32
boot/splash: Ensure keyboard can't cover the UI too much
...
On a 1920×1080p the keyboard was basically full height (1056 out of
1080 pixels high).
With this, the UI will be cut-off a bit at the top, but it won't be
entirely unusable!
2023-02-12 13:43:06 -05:00
Samuel Dionne-Riel
d3867f605e
boot/gui: Fix keyboard not hiding when using physical keyboard
2023-02-12 13:43:06 -05:00
Samuel Dionne-Riel
21d1ccfa75
boot/gui: Support up/down keys for recovery menu
2023-02-12 13:43:06 -05:00
Samuel Dionne-Riel
161fdf731b
lvgui: 2022-10-26 -> 2023-02-11
2023-02-12 13:43:06 -05:00
Samuel Dionne-Riel
5f6e965add
boot/splash: Add traceback info
2022-10-26 19:38:10 -04:00
Samuel Dionne-Riel
6fcd5b91c9
boot/splash: Fix passphrase input hide semantics
...
With the recent textraction of TextArea, the `#hide` call was not
happening as it would have previously.
Additionally, keep data in the field when hiding, it's less weird.
2022-10-26 19:38:10 -04:00
Samuel Dionne-Riel
93f557369a
lvgui: 2022-10-13 -> 2022-10-26
2022-10-26 19:38:10 -04:00
Samuel Dionne-Riel
f3ac03097c
boot/init: Include backtrace in exception failure
2022-10-21 16:53:55 -04:00
Samuel Dionne-Riel
45802604c9
boot/init: Always build with backtrace info
2022-10-21 16:53:05 -04:00
Samuel Dionne-Riel
5790eaf259
lvgui: Optimize option selection a bit
...
Don't needlessly rebuild it.
2022-10-20 21:52:47 -04:00
Samuel Dionne-Riel
26195eaea9
lvgui-native: Fix lv_task_create bindings
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
519431be9d
examples/installer: init app
...
Obviously does nothing yet...
2022-10-19 16:24:56 -04:00
Samuel Dionne-Riel
e3e6a92e8c
boot/script-loader: Add mruby-securerandom
...
This will be used mainly for the installer, but it's not like it's
bloat, and may end-up useful anyway.
2022-10-19 16:24:56 -04:00
Samuel Dionne-Riel
a1627cfc6d
lvgui: Remove stray comment
2022-10-19 16:24:56 -04:00
Samuel Dionne-Riel
bf3ad01187
lvgui: Wait for lv_ta to be updated before calling callbacks
...
This solves an annoying-to-solve problem with how it is handled
internally within LVGL.
This way we wait a full "tick" until the event, but it shouldn't matter.
2022-10-19 16:24:56 -04:00
Samuel Dionne-Riel
135c063420
boot: switch_root: Ensure /run/boot exists before writing to it
2022-10-16 01:20:44 -04:00
Samuel Dionne-Riel
59e3d0386d
boot: Don't fail if we can't tell the kernel about modprobe
...
(cherry picked from commit 8db27e0c56b3934ebced48a10d749bf24d8cb6e1)
2022-10-16 01:11:37 -04:00
Samuel Dionne-Riel
2f0095af8a
boot: switch_root: Explain how generation was selected
...
(cherry picked from commit f508a8df1daba81f689db7c6f181d223ea2d60c7)
2022-10-16 01:11:37 -04:00
Samuel Dionne-Riel
e4414042bc
boot: switch_root: Ignore bogus init parameter
...
These will be provided by proprietary bootloader (e.g. google-blueline),
and cannot be removed.
Thus we'll ignore any bogus parameter.
(cherry picked from commit c961ca142650fead3c3b565cfc59f8ae0662d771)
2022-10-16 01:11:37 -04:00
Samuel Dionne-Riel
cc0385dd9c
boot/init: Autoresize wait for graphics
...
This way this time-consuming step is guaranteed to be properly shown to
the end-user.
2022-10-13 15:28:51 -04:00
Samuel Dionne-Riel
6ad619dfb4
lvgui: Add monospace font info
...
Which uses Fira Mono as added in the previous commit.
2022-10-13 03:15:38 -04:00
Samuel Dionne-Riel
fed1017592
boot/splash: Use custom styling for textarea
2022-10-13 03:15:12 -04:00
Samuel Dionne-Riel
7c6414747b
lvgui: 2022-07-30 -> 2022-10-13
2022-10-13 03:15:04 -04:00
Samuel Dionne-Riel
58efa9e6f8
lvgui: Fix options selection styles
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
d693da045b
lvgui: Fix horizontal separator styles
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
26e070a33a
lvgui: Drop splash-specific styles from text area
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
017e080d6a
lvgui: Only activate button when enabled
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
3fd8c97556
lvgui: Add button enabled/disabled state
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
82abf8c91f
lvgui: Add none type button style mod
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
3816ff7e31
lvgui: Add events to text area
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
a01a9ac0f7
lvgui: Improve keyboard
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
a4bfef26c0
lvgui: Delete async when disposing of an object
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
a78d09726d
lvgui: Add #once for LVTask
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
213cff49aa
lvgui: Delete task when deleting statusbar widgets
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
ad65abb12a
lvgui: BaseWindow add function to correctly dispos of objects
...
This is because objects *may* be added to the focus group. When added to
the focus group, they need to be removed before deleting.
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
aae84d77ee
lvgui: review status bar padding
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
a974fbb00d
lvgui: Handle tasks deletion
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
79a900c9c1
lvgui: Add header/text label helpers
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
ea26e77b7b
mruby-lvgui-native: Bind more lv_task functions
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
8f78c7d9b1
mruby-lvgui-native-fragment: Add assert debug handler
...
This, paired with the appropriate changes in lvgui, allows us to print
some information about the mruby state when LVGL asserts happen.
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
67ab49a2cb
boot/init: Add debug info flag to mrbc
2022-10-12 22:00:56 -04:00
Samuel Dionne-Riel
9168e3a4ca
Merge pull request #504 from samueldr-wip/fix/switch-root-kexec-again
...
init: Fix kexec condition in SwitchRoot
2022-10-12 16:48:47 -04:00