Commit graph

121 commits

Author SHA1 Message Date
51610fdc23
Allow title text to be set per app 2025-01-19 17:31:46 -08:00
6b2eb8155f
Update dependencies (again) 2025-01-19 16:48:09 -08:00
e26a83299c
Override config/data paths
Without this the config is saved to $HOME/.config/core/config.json5
2025-01-19 16:44:53 -08:00
14a8ea7429
Update version numbers to match 2025-01-19 16:43:59 -08:00
6ea2df892f
Update dependencies 2025-01-19 16:03:04 -08:00
5343912699
Move shared code to core lib 2025-01-19 15:24:19 -08:00
e029e02cc2
Refactor footer text 2025-01-19 14:07:34 -08:00
a77bf0c9c6
Refactor left pane
Just use Strings instead of the various structs
2025-01-19 14:01:17 -08:00
3c0c12fa7a
Refactor right pane
Added DVLine struct to use instead of passing an Arc<Mutex>>.
This allows the right into pane to be agnostic of any app details.
2025-01-18 14:10:52 -08:00
9d6fa954b2
Refactor next_mode()
The return type better reflects the next state
2025-01-13 00:45:14 -08:00
253385c2a7
Move clone settings to separate struct
The App struct had too many fields IMO
2025-01-13 00:39:20 -08:00
fc0b82418b
move shared Mode to separate file 2025-01-12 00:51:54 -08:00
608f07d445
Revert "Add support for getting Modes by name"
This moves a compile-time check to runtime.  It's worth the "bloat" to
keep things compile-time IMO

This reverts commit 828a2736be.
2025-01-12 00:21:11 -08:00
828a2736be
Add support for getting Modes by name
Should support app implementations for multiple binaries
2025-01-12 00:17:18 -08:00
81aa7a8984
Update pe_menu title 2025-01-11 22:38:53 -08:00
da1892710f
Load title from config file 2025-01-11 22:37:07 -08:00
76a27cd179
WIP from 2024-12-01 2025-01-11 16:24:54 -08:00
3674fbdee7
Expand boot diagnostic sections 2024-12-01 16:50:28 -08:00
783e31a582
Set title based on CLI Mode 2024-12-01 16:49:59 -08:00
6938960f3e
Add initial boot diagnostic sections 2024-12-01 16:10:24 -08:00
f6d01068a3
Update descriptions 2024-11-28 16:02:05 -08:00
2d29a8f748
Refactor setting mode in app.rs
Really just need to break it into smaller chunks
2024-11-28 15:42:34 -08:00
fe76d47155
Update config path 2024-11-21 06:00:37 -08:00
d7c070aad8
Convert to workspace with both deja-vu and pe-menu 2024-11-21 05:34:10 -08:00
83badb9c43
Revert "Make key mapping case-insensitive"
This reverts commit 265feed100.
2024-11-21 04:24:06 -08:00
265feed100
Make key mapping case-insensitive 2024-11-21 03:58:35 -08:00
2266da9106
Apply Clippy pedantic recommendations 2024-11-17 16:12:04 -08:00
2427d24980
Apply Clippy recommendations 2024-11-17 15:17:07 -08:00
3afb007442
Skip MBR extended partition containers 2024-11-17 14:56:21 -08:00
e40003482d
Improve error handling in Tasks 2024-11-17 14:37:35 -08:00
4e80badc92
Move fast, break things (round 3?)
- Move sequential items to Tasks and leave async in Actions
- Move main control of disk_list (Arc<Mutex>) to Tasks
  This allows updates to happen AFTER I/O events (clone, update dest,
etc)
- Finally got SelectParts to use the actual state of the disks
post-clone
- Broke Tasks somewhere - bcdedit is never called despite being added to
the VecDeque
- Probably more
2024-11-16 23:53:55 -08:00
87ec05126b
Ignore Enter presses during Pre/Mid/Post Clone 2024-11-16 04:59:22 -08:00
61e539e071
Refactored to add command and diskpart script support
Replaced previous background task setup to ensure tasks are run
sequentially and not in parallel
2024-11-16 04:09:56 -08:00
c9884d5b6d
Show boot/OS partitions during SelectParts 2024-11-14 05:50:30 -08:00
ff344d4e37
Remove unwanted auto-added lines 2024-11-14 04:04:55 -08:00
f6d45b7de0
Preserve source/dest disk selection 2024-11-13 00:20:40 -08:00
5e29c1ab48
Clear selections as needed in right.rs 2024-11-12 23:38:00 -08:00
df6623ef36
Show CPU details during driver selection 2024-11-12 23:37:30 -08:00
6c76021bf4
Show source/destination disk info 2024-11-12 23:23:07 -08:00
2a5167bf52
Refactor PostClone sections
Added a new Mode to handle an error last screen instead of complete.

This avoids running commands with unexpected arguments
2024-11-11 00:34:45 -08:00
dd03962c84
Drop use of Option for Partition fields
This simplifies the code quite a bit and the Option<T> logic is only
used for string parsing.  s.is_empty() is just fine in this case IMO.
2024-11-10 23:10:26 -08:00
1e223aa56a
Use usize for Disk & Partition id values 2024-11-10 22:42:47 -08:00
485bb9357b
Refactor add_partition_details 2024-11-10 21:54:08 -08:00
2ff4a2ce54
Refactor add_disk_details into get_disk_details
Drops requirement to update Disk in-place
2024-11-10 19:30:53 -08:00
92e2e53b16
Add disk helper functions 2024-11-10 18:47:12 -08:00
c9e33bb848
Update StatefulList implementation
Drop dead functions
Add helper functions to get/set inner data from items/state
2024-11-10 18:39:24 -08:00
14df5b82ce
Add clone and Pre/Post actions 2024-11-09 23:36:01 -08:00
a2cfe4baf8
Rename variable names to match usage
Disk/Partition IDs aren't necessarily going to match the Vec index
2024-11-09 23:30:43 -08:00
3251a22836
Update config.json5 2024-11-09 22:00:24 -08:00
1a13931831
Use more specific import for popup Type 2024-11-09 20:53:33 -08:00