1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-11 09:04:01 +03:00
Commit Graph

264 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
73c197bf1a lvgui: BackButton: fix metrics 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
898be48fba lvgui: OptionsSelection: rework a bit 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
f1ceb95cd9 lvgui: Rework Toolbar a bit 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
1069f1aa0a lvgui: Update Page 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
b05c4a7e29 lvgui: Bind more 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
aff5df2cb8 lvgui: Add MobileNixOS namespace 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
cee29f9a05 lvgui: Add initialization hook to BaseWindow 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
e3e1ce9191 lvgui: Add header hook to base window
This allows any uses of BaseWindow to add something to the flow at the
location the header bar would be.
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
bf3cc95968 lvgui: Add header bar 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
3c6c72d0d6 lvgui: Add Placeholder widget
Used to replace something while the other thing is not available...

(wow, such clarity)
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
3419dd6035 lvgui: Move general stuff in __init 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
aae04ccd45 lvgui: Use correct fonts for status bar 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
3d032921fa lvgui: Extract status_bar 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
604e46a1b8 lvgui: extract clock 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
93c9a3d35d lvgui: extract back button 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
30dd4a0ce2 lvgui: Rework back button a bit 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
f8fd4bd919 lvgui: Extract button
As it's meant to be inherited from inside of LVGUI too, prefix it with
an underscore so it's lexicographilcally preferred :/
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
a1934c41a8 lvgui: Extract horizontal separator 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
ff9464c947 lvgui: Extract battery 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
90f629e309 lvgui: Extract page 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
1127cee44f lvgui: Extract the base widget 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
8f41fa751a lvgui: Extract screen in a file 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
2fee791301 lvgui: Extract toolbar in a file 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
505f58e8f7 lvgui: Define scalable sizes 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
f9e13d3e06 lvgui: header -> status bar 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
cd27836faf lvgui: Use the NixOS theme 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
bad1f0566d lvgui: Add colors 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
2d2e852b58 lvgui: Export LVGL 'DPI' 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
1a66222e0b lvgui: 2021-02-20 -> 2021-07-19 2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
b4e6f98fc6 boot/lib: Make reboot modes HAL more robust
Allows running in the simulator.
2021-07-15 18:16:47 -04:00
Samuel Dionne-Riel
2410994f17 boot/lib: Be a bit more resilient outside of stage-1
Mainly allows using the simulator with the error applet
2021-07-15 18:16:47 -04:00
Samuel Dionne-Riel
29e2940ca2 boot/lib: init xdg.rb 2021-07-15 18:16:47 -04:00
Samuel Dionne-Riel
98e2ab907f
Merge pull request #305 from samueldr-wip/feature/lvgui-pan
lvgui: "pan" framebuffers
2021-02-23 20:59:51 -05:00
Samuel Dionne-Riel
d82733b13e
Merge pull request #306 from samueldr-wip/fix/armv7l
armv7: Misc. fixes
2021-02-23 20:59:28 -05:00
Samuel Dionne-Riel
fb11c6f3fe boot/script-loader: Strip store path hashes
This is required otherwise nuke-refs will destroy the irep.
2021-02-20 17:23:01 -05:00
Samuel Dionne-Riel
072325ce00 boot/script-loader: Fix for new mruby.builder 2021-02-20 17:23:01 -05:00
Samuel Dionne-Riel
441701d215 lvgui: Update native fragment 2021-02-20 16:41:23 -05:00
Samuel Dionne-Riel
32f86364a1 boot/init: Make udev a dependency for the switch root target
In some instances, e.g. really slow CPU, udev might not have run, and
libinput will not be able to work appropriately.

That is because uevent files will be missing.
2021-02-20 16:40:38 -05:00
Samuel Dionne-Riel
7332254db2
Merge pull request #298 from MetaDark/fix-libxkbcommon
boot/lib/lvgui: fix libxkbcommon after nixpkgs#108004
2021-02-15 17:22:37 -05:00
Samuel Dionne-Riel
f0a7e33767 boot/init: switch root forwards FDT properties as needed 2021-02-11 18:15:34 -05:00
Samuel Dionne-Riel
b667d2298f boot/init: kexec now uses generation DTB if possible
Fixes #264
2021-02-11 18:15:23 -05:00
Samuel Dionne-Riel
2a46962d76 boot/init: Honor skipping kexec 2021-02-11 18:14:30 -05:00
Samuel Dionne-Riel
aea3b46d13 boot/recovery-menu: Add option to skip kexec
But why?

Multiple reasons:

 - generation kernel does not work as expected
 - booting a boot.img with an experimental kernel

I'm sure there's other reasons too.

Fixes #266
2021-02-11 18:14:30 -05:00
Samuel Dionne-Riel
5d50144468 boot/recovery-menu: Pass data around using JSON 2021-02-11 18:14:30 -05:00
Kira Bruneau
7beb26204f boot/lib/lvgui: fix libxkbcommon after nixpkgs#108004 2021-02-09 17:55:57 -05:00
Samuel Dionne-Riel
225ed39dad Fix stdenv.lib being removed
Deals with https://github.com/NixOS/nixpkgs/pull/111284
2021-02-02 05:51:18 -05:00
Samuel Dionne-Riel
76b5e79ca5 boot/init: Add System.umount() 2021-01-27 19:09:07 -05:00
Samuel Dionne-Riel
5ba41dd963 boot/init: Fix shellOnFail
- It was running too late.
 - Wasn't actually using `shellOnFail` config
2021-01-27 19:09:07 -05:00
Samuel Dionne-Riel
ba2873771d lvgui: 2020-11-20 -> 2021-01-23 2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
7a0f906571 boot/lib/lvgui: Add add_select helper 2021-01-25 18:40:54 -05:00