feat(files): 新增外置系统文件管理器 os.meow.files (agent-183) — 目录浏览(虚拟化列表/空态)+文本预览(≤256KB截断)+删除/重命名/新建/属性(BottomSheet+IME);路径写操作限 TF 卡内(拒 .. 越界);多文件结构(app.c+ui/{browser,viewer}.c+ui/common/chrome.c+logic/fsx.c) 按批次②范本

files md5 6f6b0a6d; 0 warning; 宿主 test_fsx 全过(路径安全/格式化/排序/虚拟化/写操作/文本嗅探); qemu 离屏冒烟通过
SDK 缺口记录: listview 仅单行 label(本 App 用 custom 画布自绘行); common 档字库中文缺字(未声明 fonts:full)
真机待验证: 列表渲染/滚动手感/IME 重命名/弹窗交互
This commit is contained in:
MeowOS committed 2026-08-31 04:03:56 +08:00
1 parent b5038f8673
commit c187b7bce3
12 files changed
+1741

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
# Build the Files app (MeowOS 外置文件管理器 os.meow.files,SDK framework=1):
# 链 meow_ui.a(已内含 meow_font.o)+ 系统 libz.a + -lpthread,静态 MIPS32r2 (musl sf)。
# 多文件结构(仿 hello_app 批次②拆分):app.c + ui/browser.c + ui/viewer.c +
# ui/common/chrome.c + logic/fsx.c。仅改本目录文件,编译期不改 SDK(patch_v2/sdk/ 零触及)。
# mipsel -Wall -Wextra 0 warning。
set -e
cd "$(dirname "$0")"
ROOT="$HOME/Project/R3ProII"
CC="$ROOT/.tools/zig-mipsel-cc"
SYSROOT="$ROOT/.tools/mipsel-linux-muslsf-cross/mipsel-linux-muslsf"
"$CC" -Os -static -Wall -Wextra -I../sdk -I. \
app.c ui/browser.c ui/viewer.c ui/common/chrome.c logic/fsx.c \
../sdk/meow_ui.a "$SYSROOT/lib/libz.a" -lpthread -o files
ls -la files
file files