Commit f9cfcac
committed
feat(ShellPkg/VisualFileMan): implement full-featured dual-pane Visual File Manager
Developed a visual, native text-based file manager application for the UEFI Shell to facilitate intuitive file and directory management.
Key implementations and features include:
1. UI & Navigation:
- Dual-pane layout with color-coded syntax (Directories: Cyan, Executables: Green).
- High-performance, flicker-free rendering by optimizing screen redraw logic instead of full `ClearScreen` clearing.
- Smooth keyboard navigations (`Tab` to switch panes, `Up/Down` to scroll).
2. File System Traversal:
- Handled deep directory logic with universal `..` injection.
- Designed a virtual `Drives:` parent level bridging across all block devices, dynamically mapping handles via `GetMapFromDevicePath` to allow smooth fs0:, fs1: transversals.
- Safe DirName trailing slash normalization avoiding `EFI_UNSUPPORTED` exception under strict filesystem drivers.
3. Core File Operations (F-Keys):
- Implemented `InputBox` with active cursor and inline editing (Left/Right/Backspace/Delete), alongside `ConfirmBox` and `MessageBox`.
- F5 Copy & F6 Move: Smart destination detection (automatically appending filenames when targets are pure directories).
- F7 MkDir & F8 Delete: Complete operations bound safely to EDKII ShellLib protocols.0 parents commit f9cfcac
3 files changed
Lines changed: 935 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
0 commit comments