- logic/reader/archive_source.c:档案册页源实现 M6 mr_book 契约 (mz_open/mz_count/mz_entry_at/mz_read_alloc),条目自然序 + 图片后缀 + 路径安全(`..`/绝对路径/反斜杠/隐藏段/内嵌 NUL)+ 单页尺寸上限过滤; meta 按需解压只读图片头(不落缓存,结果按页记忆);mr_book_open_auto 统一目录册/档案册开册,翻页与条漫两套消费代码零改动。 - logic/reader/page_cache.c/h:解压页落 MeowData/<pkg>/cache,LRU 64 页或 32MiB,启动清 mrpage_* 孤儿,写入 .part + rename;与缩略图缓存同目录、 前缀隔离;互斥量保护,解码/缩略图线程可并发。 - logic/library.c/h:扫描直接子文件里的 .cbz/.zip 成册(行=文件名+页数, 点入直接阅读);档案探测由调用方注入(logic 不依赖 zip 容器),不注入时 与 M7 行为逐字一致;册间衔接兄弟表=含图目录∪含页档案册,同列自然序。 条目构造/副标题/角标/兄弟判据拆成小函数,便于 M13 书库重写拼接。 - ui/library:档案册行 + 封面缩略图(解压档内首图)、扫描注入探测、缓存 目录统一由 page_cache 推导(一份规则)。 - ui/reader:open_book 走 mr_book_open_auto;跨册衔接纳入档案册。 - build_tuku.sh 补 zip/archive/cache 源与 sysroot zlib 头(zip.c include <zlib.h>);run_tests.sh 纳入 zip+cbz 用例;run_webtoon_tests.sh 的宿主 集成构建补新源与 -lz;.gitignore 同步测试产物。 - test/test_cbz.c(267 项断言)+ make_cbz_samples.py 真实 cbz 夹具: 列档/自然序/解压字节 CRC/路径安全/坏档与 zip 炸弹容错/LRU 与 32MiB 上限/ 启动清孤儿/续读角标/封面首图。
63 lines
1.2 KiB
Plaintext
63 lines
1.2 KiB
Plaintext
# ---- 构建产物 ----
|
|
*.o
|
|
*.a
|
|
|
|
# ---- 宿主测试二进制(SDK test_*.c 编译出的可执行;源码 .c 仍跟踪)----
|
|
test_ime_fix
|
|
test_meow_cachegov
|
|
test_meow_img_color
|
|
test_meow_lyric
|
|
test_meow_lyric_view
|
|
test_meow_md3
|
|
test_meow_ui_anim
|
|
test_meow_ui_home_gesture
|
|
test_meow_ui_iconbtn
|
|
test_meow_ui_lazygrid
|
|
test_meow_ui_select
|
|
test_meow_ui_swipe
|
|
test_meow_ui_theme_export
|
|
test_meow_ui_view_event
|
|
test_net_ipc
|
|
test_meow_ui_box
|
|
test_meow_ui_config
|
|
test_meow_ui_dispatch
|
|
test_meow_ui_listvirt
|
|
test_meow_ui_scroll
|
|
test_meow_ui_str
|
|
test_meow_ui_theme
|
|
test_meow_ui_vol
|
|
test_meow_ui_widgets
|
|
test_notif_gesture
|
|
test_notif_open
|
|
test_notify_integration
|
|
test_notify_ipc
|
|
test_overlay_suppress
|
|
test_p1p2p3_repro
|
|
test_pinyin
|
|
test_sb_collapse
|
|
test_sdk_fixes
|
|
test_sdk_input_keys
|
|
test_ui_audio_host
|
|
test_umbrella
|
|
|
|
# ---- 示例 App 交叉二进制/生成物 ----
|
|
examples/hello/hello
|
|
examples/hello/render_test*.png
|
|
|
|
# ---- 图库产物 ----
|
|
tuku/picbrowser
|
|
tuku/*.mpk
|
|
tuku/build/
|
|
tuku/test/test_library
|
|
tuku/test/test_reader_core
|
|
tuku/test/test_settings_reader_persist
|
|
tuku/test/test_settings_lock_host
|
|
tuku/test/test_pin
|
|
tuku/test/test_zip
|
|
tuku/test/test_cbz
|
|
|
|
# ---- 杂项 ----
|
|
*.orig
|
|
*.log
|
|
*.tmp
|