比较提交

..
作者 SHA1 备注 提交日期
mac cdf23fb4fd 记录133正式PKG公证和完整验包,准备发行标签 2026-11-11 22:43:28 +08:00
mac d15d01733c 整理安装说明长行兼容本机Python,保持脚本AST一致 2026-11-11 22:41:24 +08:00
mac 68700d4016 完成133正式安装和FCP自动预览验收,清理Debug例外 2026-11-11 22:39:57 +08:00
mac 1a4c802322 确认133完整上传且AppleAccepted,代理原字节恢复 2026-11-11 22:29:12 +08:00
mac 6f02a40a51 记录已授权Apple地址局部直连生效与上传恢复检查点 2026-11-11 22:24:03 +08:00
mac e2f4327dfd 核实两次公证上传均超时,保存局部直连待授权与恢复记录 2026-11-11 21:56:36 +08:00
mac 978cc84d53 记录公证重新提交的分片上传超时与普通通道重试 2026-11-11 21:51:31 +08:00
mac 749ef7c4b9 保存本地Debug验收后的副本清理和公证回滚状态 2026-11-11 21:38:06 +08:00
mac da15deefb7 保存Debug验收标签的独立恢复核验和正式发行待办 2026-11-11 21:37:11 +08:00
mac 46d7ff7bbc 记录用户确认Debug功能通过及原公证待办 2026-11-11 21:34:47 +08:00
mac 6541a4dd22 按用户授权准备临时Debug安装与正式版回滚记录 2026-11-11 21:29:04 +08:00
mac 158829a418 补齐公证等待中断后的原产物安全恢复入口 2026-11-11 21:23:11 +08:00
mac 6bc086ade0 保存133源码恢复核对及公证等待状态 2026-11-11 21:11:56 +08:00
mac 7f833757da 修复后台在线失败影响本地按钮并保存133候选 2026-11-11 21:06:29 +08:00
mac c7f6311506 验证自动预载边界、竖屏和层级分类,冻结132源码 2026-11-11 20:59:57 +08:00
mac da700d4e2f 统一LUT分类树并在开窗时自动批量预载缓存帧效果 2026-11-11 20:57:52 +08:00
mac 3524267800 完成在线LUT131发行下载核验、恢复与生成副本清理 2026-11-11 20:09:34 +08:00
共修改 44 个文件,包含 1517 行新增和 173 行删除

没有与搜索条件相匹配的文件

+12 -1
查看文件
@@ -144,7 +144,18 @@ def main():
appearance=dict(title="大鱼调色", subtitle="适用于 Final Cut Pro 与 Motion 的原生调色效果",
badgeImage=str(ROOT / "design/dayu-color-app-icon-v1.png"), authorContact="https://dayu.media"),
pages=dict(welcome="安装大鱼调色 " + version + ",包含原生 FxPlug 调色插件和 Final Cut Pro 效果入口。",
readme="系统要求:macOS 14.6 或更高版本。本发行构建适用于 Apple Silicon Mac。\n\n安装内容:\n/Library/Plug-Ins/FxPlug/大鱼调色.app\n登录用户“影片/Motion Templates/Effects/大鱼调色”中的效果模板与预览图。\n\n重新打开 Final Cut Pro 后,在“效果 → 大鱼调色”中应用;Motion 中可选择原生滤镜。\n本安装包不包含用户自选 LUT、预设或媒体文件。\n\n公测诊断默认开启,可在主 APP 关闭。仅发送版本、系统环境、阶段耗时、资源使用与本产品崩溃/卡顿调用栈摘要到 dayu.media;不发送素材、预设或账号,保留30天。在线 LUT 在主 APP 启动时自动识别本机已绑定的大鱼账号;未绑定时可微信登录。有效会员或购买文章 14421 / 15792 可使用全部已发布在线 LUT。插件内点击“预览当前帧”时,单独发送当前帧缩略图到 dayu.media 用于在线效果预览;服务器内存处理,不保存预览帧,不上传视频文件。主 APP 启动时检查更新,新版由用户确认安装。",
readme=(
'系统要求:macOS 14.6 或更高版本。本发行构建适用于 Apple Silicon Mac。\n'
'\n'
'安装内容:\n'
'/Library/Plug-Ins/FxPlug/大鱼调色.app\n'
'登录用户“影片/Motion Templates/Effects/大鱼调色”中的效果模板与预览图。\n'
'\n'
'重新打开 Final Cut Pro 后,在“效果 → 大鱼调色”中应用;Motion 中可选择原生滤镜。\n'
'本安装包不包含用户自选 LUT、预设或媒体文件。\n'
'\n'
'公测诊断默认开启,可在主 APP 关闭。仅发送版本、系统环境、阶段耗时、资源使用与本产品崩溃/卡顿调用栈摘要到 dayu.media;不发送素材、预设或账号,保留30天。在线 LUT 在主 APP 启动时自动识别本机已绑定的大鱼账号;未绑定时可微信登录。有效会员或购买文章 14421 / 15792 可使用全部已发布在线 LUT。打开插件 LUT 浏览器时,自动发送当前缓存帧缩略图到 dayu.media 并批量生成在线预览;服务器内存处理,不保存预览帧,不上传视频文件。在线与本地分类统一显示,点击在线 LUT 后安装到本地对应分类并应用,可供离线使用。主 APP 启动时检查更新,新版由用户确认安装。'
),
license="", conclusion="大鱼调色已安装。主 APP 自动注册插件,成功后保持运行。关闭窗口仍在后台收集已开启的诊断;菜单栏可重新打开或退出。请重开宿主并实际检查效果。"))
manifest_path = CACHE / "dayu-color-package-manifest.json"
manifest_path.write_text(json.dumps(manifest, ensure_ascii=False, indent=2) + "\n")
+19
查看文件
@@ -0,0 +1,19 @@
# 大鱼调色 1.22.1(133)
打开 LUT 浏览器即可批量预览在线效果,在线与本地共用分类栏,点击即可安装并应用。
- 打开 LUT 浏览器时自动使用当前缓存帧,批量加载当前页在线 LUT 的效果预览;保留“更新预览”按钮。首次没有缓存帧时自动等待首帧,播放过程中不持续上传。
- 在线与本地合并到同一分类栏。“在线 LUT”总分类包含在线子分类;本地文件夹支持二级及更深层级,可展开或折叠。
- 点击在线 LUT 后,校验下载并安装到本地“已安装 LUT / 对应分类”,随后应用到当前风格层,供离线使用。重复安装相同文件会复用已有副本。
- 后台预载失败不影响本地 LUT 与文件夹操作;在线预览并发限制为 2,切换分类与滚动时复用已生成图像。
适用于 Apple Silicon Mac,macOS 14.6 或更高版本;Final Cut Pro / Motion 原生 FxPlug 4。
打开浏览器时发送当前缓存帧的 PNG 缩略图到 dayu.media 用于在线预览,最长边 640;服务器内存处理,不保存帧、不上传视频文件。在线权限规则保持不变。
验证:68 项在线与分类合约、40 项本地浏览器回归、1,028 项正式安装自检及 FCP 12.4 自动预览、安装应用、划像与播放通过。APP 和 PKG 均已通过 Apple 公证、票据及系统安全检查,安装包20项展开检查通过。Motion 未复测;本轮验收使用独立正式安装的 APP,未再次运行本 PKG 的系统安装脚本。
安装包:`大鱼调色-1.22.1.pkg`,44,557,648 字节。
SHA-256:`a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663`
实际 APP 编译提交:`7f833757da243f2a4610c23c36ec278b44c80ad4`。
正式安装位置:`/Library/Plug-Ins/FxPlug/大鱼调色.app`。安装前保存工作并正常退出 Final Cut Pro / Motion 和大鱼调色。
+14 -2
查看文件
@@ -1,6 +1,16 @@
# 2026-11-11 统一 LUT 浏览器 1.22.1(133)
唯一正式安装 `/Library/Plug-Ins/FxPlug/大鱼调色.app` 已替换 Debug:Release 1.22.1(133),APP 公证 `ae55bcd2-d131-4ef2-8733-405e28d92f7e` Accepted,签名/票据/Gatekeeper、1,028 项正式安装自检及 FCP 12.4 自动在线预览、分类安装、对比与播放通过。临时 Debug 及旧 131 回滚副本已清理;用户 LUT 与既有合成验收库保留。Motion 未复测。[安装](verification/Delivery1.22.1.json) · [宿主](verification/HostUnifiedLUT1.22.1.json) · [清理](verification/Cleanup1.22.1.json)
远程 `https://dayu.media/git/dayu/dayu-color.git`,main。实际编译节点 `7f833757da243f2a4610c23c36ec278b44c80ad4`,独立 HTTPS 检出核对921个跟踪文件。克隆后 `git switch --detach 7f833757da243f2a4610c23c36ec278b44c80ad4` 恢复 APP 源码;工具用 main 最新交付记录。Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+ 与锁定 ColorManagement 依赖。通过 `tools/deliver.py` 构建和正式安装,验收后 `Packaging/build_pkg.py` 制包。主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队 B3W25FX5H5;证书、私钥、公证 profile 和 Git 账号独立恢复。
此前代理导致 S3 分片上传失败;用户授权仅 Apple 上传地址临时直连并恢复,原 Release 完整上传并获 Accepted,原代理完整字节和实际系统状态已恢复。详见 [公证记录](verification/UnifiedLUTNotaryResubmission133.json)。PKG 公证 `b1f73787-263b-47d7-b126-68d858437594` Accepted,20项验包通过;最终包44,557,648字节,SHA-256 `a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663`。[验包](verification/Package1.22.1.json)。版本标签、Git Release下载和最终恢复检出仍在继续;站点文章/更新通道仍1.21.8(126),本轮无后端部署。[当前交接](开发交接.md)
---
# 2026-11-11 在线 LUT 1.22.0(131)
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。APP 实际编译提交 `d979f8958caf36cc7b97ea838960c69f7fbb4d91`;从独立 HTTPS 检出编译,254 个应用/模板/色彩管理文件和已提交工程基线逐字节一致。正式后端另包含 188553a61313674628d9faf6f9e2962b5cdebe42 的 SQL 编号序列化修正。发行标签计划 `v1.22.0-online-luts-20261111`,完整发行提交和附件校验在发布后补充。 PKG 公证 `bfb54c49-b563-4420-9e9b-2319e1565420` Accepted,20 项验包及载荷权限检查通过。PKG 44557321 字节,SHA-256 `82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd`。
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。APP 实际编译提交 `d979f8958caf36cc7b97ea838960c69f7fbb4d91`;从独立 HTTPS 检出编译,254 个应用/模板/色彩管理文件和已提交工程基线逐字节一致。正式后端另包含 188553a61313674628d9faf6f9e2962b5cdebe42 的 SQL 编号序列化修正。发行标签 `v1.22.0-online-luts-20261111` 指向完整提交 `31d1089264e10469bececa7b27b3bcd06a7eb445`;独立远端检出核对 911 个跟踪文件、无 LFS/子模块,Git 完整性通过,APP 构建输入与实际编译节点一致。 PKG 公证 `bfb54c49-b563-4420-9e9b-2319e1565420` Accepted,20 项验包及载荷权限检查通过。PKG 44557321 字节,SHA-256 `82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd`。
新机器恢复 Git 登录后克隆,以 `git switch --detach d979f8958caf36cc7b97ea838960c69f7fbb4d91` 取回实际编译源码;恢复线上后端使用最终发行标签。使用 Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+ 和锁定的 ColorManagement 依赖;运行 `tools/deliver.py`,保持交付锁直到正式安装后的宿主验收,再输入 `complete`。从验收后的 APP 运行 `Packaging/build_pkg.py`。主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队 B3W25FX5H5,唯一安装 `/Library/Plug-Ins/FxPlug/大鱼调色.app`。证书私钥、公证 profile、Git 凭据独立恢复;用户会话重新识别/登录,不进 Git。
@@ -8,7 +18,9 @@ APP 公证 `1e57ee70-d099-4942-91fd-29a2d5f47a44` Accepted,1,028 项正式安
后端源码 `Backend/wp-content/mu-plugins/`,本机镜像 `/Users/mac/Downloads/dayumedia/dayu-color-beta`,生产根 `/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media`。保持两个相对路径:`wp-content/mu-plugins/dayu-color-online-luts.php` 和 `wp-content/mu-plugins/dayu-color-online-luts/renderer.php`。按 `Backend/deploy_online_luts.py` 核对挂载、基线与原目录旁路备份后部署,不能直接在 SMB 源上编辑。依赖现有 WordPress 的 `app_device_login`、JWT 校验、扫码登录、统一设备绑定、会员/支付记录与 LUT 材料库;本仓库不复制完整站点、用户数据库或密钥,恢复服务还需站点独立安全备份。客户端只使用硬件 UUID,随机会话令牌与设备标识分开。
[安装](verification/Delivery1.22.0.json) · [宿主](verification/HostOnlineLUT1.22.0.json) · [部署与备份](verification/OnlineLUTDeployment.json) · [硬件登录实测](verification/OnlineLUTHardwareLoginLive.json) · [专项](research/OnlineLUTIntegration-20261111.md) · [交接](开发交接.md)。文章 15792 与主 APP 更新通道仍为 1.21.8(126),本轮未更改。
Release **428** 的 PKG 附件 **69** 已发布,草稿和发布后的完整下载均匹配 44,557,321 字节与 SHA-256。保留唯一当前发行包 `/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg`;本轮恢复检出、浏览器下载副本、参考仓库检出、合成验收库及旧版生成备份已清理。
[Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.0-online-luts-20261111) · [下载校验](verification/Release1.22.0.json) · [远端恢复](verification/Recovery1.22.0.json) · [安装](verification/Delivery1.22.0.json) · [宿主](verification/HostOnlineLUT1.22.0.json) · [部署与备份](verification/OnlineLUTDeployment.json) · [硬件登录实测](verification/OnlineLUTHardwareLoginLive.json) · [专项](research/OnlineLUTIntegration-20261111.md) · [交接](开发交接.md)。文章 15792 与主 APP 更新通道仍为 1.21.8(126),本轮未更改。
---
@@ -49,3 +49,7 @@ UUID 恢复的生产接口实测通过:识别本机已有绑定,复用共享
APP 公证 `1e57ee70-d099-4942-91fd-29a2d5f47a44` Accepted,实际编译提交 d979f8958caf36cc7b97ea838960c69f7fbb4d91。正式安装主 APP 自动硬件登录、退出保持和刷新恢复通过;FCP 共享钥匙串后列出 1,233 项/17 分类。现场修正 PHP 临时数组遍历未将 SQL 字符串编号/大小转换到返回数组的问题,新增合约使总数44项。部署后网格与服务器当前帧预览实际显示,下载653号 01冰- 并应用到宿主,右侧原图/云端效果划像正常,播放通过后正常退出。只上传合成色卡,不含用户素材。新机首次微信 OAuth 和 Motion 未验收。详见最终宿主报告。
最终 131 PKG 公证 `bfb54c49-b563-4420-9e9b-2319e1565420` Accepted,票据、Gatekeeper、20 项验包通过。大小 44557321,SHA-256 82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd。修正后的生产全目录再次核对21页,1,233项均符合原生编号/大小及摘要字段规则。旧130临时PKG与131合成验收库已清理;正式浏览器下载的有效LUT保留供离线使用。
## 发行与收尾
Release428/附件69 已发布,标签 v1.22.0-online-luts-20261111 指向 31d1089264e10469bececa7b27b3bcd06a7eb445。草稿用正常登录网站会话完整下载,核对 44,557,321 字节和 SHA-256 后才发布;随后上传器复用同一附件,正式地址再次完整下载核对并回读成功。仓库原有公开属性保持,未改站点文章或 beta 更新清单。独立远端恢复核对发行节点911个跟踪文件和 Git 完整性,APP/模板/色彩输入与实际编译节点一致,无LFS/子模块。临时恢复、参考检出、草稿下载及已知生成备份已清理,正式安装和当前发行包保留;下载的有效 LUT 保留离线使用。
+16
查看文件
@@ -0,0 +1,16 @@
# 1.22.0(131)交接快照
## 1.22.0(131)在线 LUT
已接入主 APP 硬件 UUID 账号识别、微信登录回退、在线分类/搜索/分页、校验下载及手动当前帧在线预览。有效会员,或购买文章 **14421 / 15792 任意一个**的账号,可浏览全部已发布在线 LUT;每次请求由服务端复核设备绑定与权益。本地调色保持离线可用。点击“预览当前帧”才上传最长边 640 的 PNG 缩略图到 dayu.media,服务器内存处理,不保存帧;移动播放头不会自动上传。
两个 MU 后端文件已按 NAS 生产基线流程部署。44 项后端合约、46 项原生在线浏览器合约、40 项本地浏览器回归、6 项线上未授权检查和既有更新接口检查通过。最终正式 APP 的签名、票据、Gatekeeper、1,028 项正式安装检查、17 套模板及 PluginKit 唯一路径通过。
已从唯一正式路径启动 **1.22.0(131)**,APP 公证 `1e57ee70-d099-4942-91fd-29a2d5f47a44` Accepted;实际编译为独立远端检出的 `d979f8958caf36cc7b97ea838960c69f7fbb4d91`。主 APP 自动识别 macOS 硬件 UUID 绑定账号,退出保持退出,刷新恢复通过。FCP 12.4 独立合成色卡验证共享登录、1,233 个 LUT/17 分类、云端当前帧缩略图、下载应用、原图划像和 2:01→3:24 播放,宿主正常退出。主 APP 留在已登录可用状态。只上传合成色卡,未上传用户素材。真实接口另核对全部 21 页、搜索、分类与下载摘要。
现场发现 SQL 编号/大小以字符串输出导致空网格,已在后端修正,44 项 PHP 合约覆盖,并在正式 FCP 重新验收通过。新机未绑定时的微信 OAuth 首次扫码和 Motion 宿主未实测。130 的 APP/PKG 曾通过验证但未发行,现已被 131 取代。最终 PKG 已完成 Installer 签名、公证 `bfb54c49-b563-4420-9e9b-2319e1565420`、票据与 Gatekeeper 验证,20 项验包通过;大小 44557321 字节,SHA-256 `82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd`。Release **428** 已发布,附件 **69** 完整下载通过;标签 `v1.22.0-online-luts-20261111` 指向 `31d1089264e10469bececa7b27b3bcd06a7eb445`。独立远端恢复逐字节核对 911 个跟踪文件和 Git 完整性,APP 构建输入与实际编译提交一致。
[专项实现和生产映射](research/OnlineLUTIntegration-20261111.md) · [部署](verification/OnlineLUTDeployment.json) · [安装](verification/Delivery1.22.0.json) · [宿主范围](verification/HostOnlineLUT1.22.0.json) · [构建恢复](verification/OnlineLUTBuildRecovery.json)。127/128/129/130 为未发行候选,其诊断证据保留;最终 131 验证后已清理已知替换备份。工程文件既有的 Security 引用排序差异保留,不纳入本任务提交。站点文章和更新通道暂仍为 1.21.8(126),本轮没有改动它们。
[Release 及下载](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.0-online-luts-20261111) · [发行校验](verification/Release1.22.0.json) · [验包](verification/Package1.22.0.json) · [独立恢复](verification/Recovery1.22.0.json)。本轮合成验收库、恢复检出、参考检出、下载副本和旧版生成备份已清理;正式浏览器下载的一个有效 LUT 保留供离线使用。
+68 -27
查看文件
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""Single-install Release delivery; keeps a product lock through host acceptance."""
from pathlib import Path
import subprocess,os,json,shutil,plistlib,uuid,sys,datetime,hashlib,time
import subprocess,os,json,shutil,plistlib,uuid,sys,datetime,hashlib,time,argparse,tempfile,re
from template_payload import template_files
ROOT=Path(__file__).resolve().parent.parent
CACHE=Path('/Users/mac/Library/Caches/CodexBuilds/com.dayu.color')
@@ -84,7 +84,43 @@ def write_template_file(target,data,mode,flags):
finally:
temp.unlink(missing_ok=True)
def resume_notary(submission,archive,expected_hash,source):
if not re.fullmatch(r'[0-9a-f]{40}',source or ''):raise RuntimeError('恢复须提供原始完整编译提交')
if not re.fullmatch(r'[0-9a-f]{64}',expected_hash or '') or hashlib.sha256(archive.read_bytes()).hexdigest()!=expected_hash:raise RuntimeError('公证提交 ZIP 摘要不匹配,停止恢复')
run('git','cat-file','-e',source+'^{commit}');identity(APP,'com.dayu.color');run('codesign','--verify','--deep','--strict',str(APP))
# Validate the exact submitted bundle, including symlinks; never rebuild or re-sign.
with tempfile.TemporaryDirectory(prefix='notary-resume-',dir=CACHE) as scratch:
run('ditto','-x','-k',str(archive),scratch)
submitted=Path(scratch)/APP.name;identity(submitted,'com.dayu.color')
live={str(p.relative_to(APP)) for p in APP.rglob('*')};saved={str(p.relative_to(submitted)) for p in submitted.rglob('*')}
if live!=saved:raise RuntimeError('待安装 APP 与已提交 ZIP 内容清单不同')
for relative in live:
a=APP/relative;b=submitted/relative
if a.is_symlink() or b.is_symlink():same=a.is_symlink() and b.is_symlink() and os.readlink(a)==os.readlink(b)
elif a.is_dir() or b.is_dir():same=a.is_dir() and b.is_dir()
else:same=a.read_bytes()==b.read_bytes()
if not same:raise RuntimeError('待安装 APP 与已提交 ZIP 不一致:'+relative)
unregister(submitted/PLUGIN)
preflight=json.loads((CACHE/'release-preflight.json').read_text())
if not preflight.get('pass'):raise RuntimeError('缺少通过的原始发布前检查')
print('Exact submitted APP verified; querying original Apple submission '+submission,flush=True)
failures=0
while True:
try:
result=json.loads(run('xcrun','notarytool','info',submission,'--keychain-profile',PROFILE,'--keychain',KEYCHAIN,'--output-format','json'));failures=0
except subprocess.CalledProcessError:
failures+=1
if failures>=3:raise RuntimeError('连续三次无法读取 Apple 公证状态;产物保留,可继续原提交恢复')
time.sleep(15);continue
if result.get('id')!=submission:raise RuntimeError('公证编号不匹配')
if result.get('status')!='In Progress':return result
time.sleep(15)
def main():
parser=argparse.ArgumentParser(description=__doc__)
parser.add_argument('--resume-notary');parser.add_argument('--submitted-zip-sha256');parser.add_argument('--compiled-source')
args=parser.parse_args()
if not args.resume_notary and (args.submitted_zip_sha256 or args.compiled_source):parser.error('摘要与编译提交仅用于恢复原公证提交')
hosts_closed();CACHE.mkdir(parents=True,exist_ok=True);LOCK.parent.mkdir(parents=True,exist_ok=True);LOCK.mkdir()
(LOCK/'owner.json').write_text(json.dumps(dict(PID=os.getpid(),cwd=str(ROOT),product='大鱼调色',started=datetime.datetime.now(datetime.timezone.utc).isoformat())))
old=None;stage=None
@@ -92,32 +128,37 @@ def main():
ids=run('security','find-identity','-v','-p','codesigning')
if IDENTITY not in ids:raise RuntimeError('有效发布证书或私钥不可用')
if any(l.endswith('/Contents/MacOS/大鱼调色') for l in run('ps','-axo','comm=').splitlines()):raise RuntimeError('请先正常退出当前大鱼调色窗口')
print('Building final Release',flush=True)
run('xcodebuild','-project','大鱼调色.xcodeproj','-scheme','Wrapper Application','-configuration','Release','-enableAddressSanitizer','NO','-derivedDataPath',str(CACHE/'DerivedData'),'clean','build',log=CACHE/'release-build.log')
for source,bundled,_ in template_files():
target=APP/BUNDLED_TEMPLATES/bundled
target.parent.mkdir(parents=True,exist_ok=True)
shutil.copyfile(ROOT/'template'/source,target)
target.chmod(0o644)
# Sources on exFAT can be exposed as owner-only. Installer changes ownership to root.
(APP/'Contents/Resources/Basis_balanceWheel.png').chmod(0o644)
identity(APP,'com.dayu.color');plugin=APP/PLUGIN;identity(plugin,'com.dayu.color.XPC')
# Xcode registers its build product with Launch Services. Keep the host from
# discovering this generated copy while signing/notarization are pending.
unregister(plugin);unregister(LOOSE)
for name in ['FxPlug','PluginManager']:run('codesign','--force','--timestamp','--options','runtime','--sign',IDENTITY,str(plugin/'Contents/Frameworks'/(name+'.framework')))
run('codesign','--force','--timestamp','--options','runtime','--sign',IDENTITY,str(plugin))
run('codesign','--force','--timestamp','--options','runtime','--entitlements',str(ROOT/'大鱼调色/Wrapper Application/SandboxEntitlements.entitlements'),'--sign',IDENTITY,str(APP))
run('codesign','--verify','--deep','--strict',str(APP))
details=run('codesign','-dvvv',str(APP))
if 'TeamIdentifier=B3W25FX5H5' not in details or 'Timestamp=' not in details or 'runtime' not in details:raise RuntimeError('签名身份/时间戳/runtime未通过')
preflight=self_test(plugin/'Contents/MacOS/大鱼调色 XPC Service',CACHE/'release-preflight.json')
(CACHE/'release-preflight.json').write_text(json.dumps(preflight,ensure_ascii=False,indent=2)+'\n')
if not preflight.get('pass'):raise RuntimeError('Release集成自检失败,正式旧版未替换')
archive=CACHE/'notarization-submission.zip'
if archive.exists():archive.unlink()
run('ditto','-c','-k','--keepParent',str(APP),str(archive));print('Submitting signed Release to Apple',flush=True)
result=json.loads(run('xcrun','notarytool','submit',str(archive),'--keychain-profile',PROFILE,'--keychain',KEYCHAIN,'--wait','--output-format','json'));(CACHE/'notary-result.json').write_text(json.dumps(result,indent=2))
if args.resume_notary:
result=resume_notary(args.resume_notary,archive,args.submitted_zip_sha256,args.compiled_source)
(CACHE/'notary-result.json').write_text(json.dumps(result,indent=2))
else:
print('Building final Release',flush=True)
run('xcodebuild','-project','大鱼调色.xcodeproj','-scheme','Wrapper Application','-configuration','Release','-enableAddressSanitizer','NO','-derivedDataPath',str(CACHE/'DerivedData'),'clean','build',log=CACHE/'release-build.log')
for source,bundled,_ in template_files():
target=APP/BUNDLED_TEMPLATES/bundled
target.parent.mkdir(parents=True,exist_ok=True)
shutil.copyfile(ROOT/'template'/source,target)
target.chmod(0o644)
# Sources on exFAT can be exposed as owner-only. Installer changes ownership to root.
(APP/'Contents/Resources/Basis_balanceWheel.png').chmod(0o644)
identity(APP,'com.dayu.color');plugin=APP/PLUGIN;identity(plugin,'com.dayu.color.XPC')
# Xcode registers its build product with Launch Services. Keep the host from
# discovering this generated copy while signing/notarization are pending.
unregister(plugin);unregister(LOOSE)
for name in ['FxPlug','PluginManager']:run('codesign','--force','--timestamp','--options','runtime','--sign',IDENTITY,str(plugin/'Contents/Frameworks'/(name+'.framework')))
run('codesign','--force','--timestamp','--options','runtime','--sign',IDENTITY,str(plugin))
run('codesign','--force','--timestamp','--options','runtime','--entitlements',str(ROOT/'大鱼调色/Wrapper Application/SandboxEntitlements.entitlements'),'--sign',IDENTITY,str(APP))
run('codesign','--verify','--deep','--strict',str(APP))
details=run('codesign','-dvvv',str(APP))
if 'TeamIdentifier=B3W25FX5H5' not in details or 'Timestamp=' not in details or 'runtime' not in details:raise RuntimeError('签名身份/时间戳/runtime未通过')
preflight=self_test(plugin/'Contents/MacOS/大鱼调色 XPC Service',CACHE/'release-preflight.json')
(CACHE/'release-preflight.json').write_text(json.dumps(preflight,ensure_ascii=False,indent=2)+'\n')
if not preflight.get('pass'):raise RuntimeError('Release集成自检失败,正式旧版未替换')
archive=CACHE/'notarization-submission.zip'
if archive.exists():archive.unlink()
run('ditto','-c','-k','--keepParent',str(APP),str(archive));print('Submitting signed Release to Apple',flush=True)
result=json.loads(run('xcrun','notarytool','submit',str(archive),'--keychain-profile',PROFILE,'--keychain',KEYCHAIN,'--wait','--output-format','json'));(CACHE/'notary-result.json').write_text(json.dumps(result,indent=2))
if result.get('status')!='Accepted':
if result.get('id'):run('xcrun','notarytool','log',result['id'],'--keychain-profile',PROFILE,'--keychain',KEYCHAIN,str(CACHE/'notary-rejection.json'))
raise RuntimeError('Apple未Accepted,正式旧版未替换')
@@ -154,7 +195,7 @@ def main():
if entries:break
time.sleep(.5)
if len(entries)!=1 or not entries[0].rstrip().endswith('\t'+str(DEST/PLUGIN)):raise RuntimeError('PluginKit发现多份/错误版本: '+registry)
record=dict(status='installed-awaiting-host-verification',path=str(DEST),bundleID='com.dayu.color',version=plistlib.loads((DEST/'Contents/Info.plist').read_bytes())['CFBundleShortVersionString'],build=plistlib.loads((DEST/'Contents/Info.plist').read_bytes())['CFBundleVersion'],team='B3W25FX5H5',notaryID=result['id'],notaryStatus=result['status'],gatekeeper=gate,sourceCommit=run('git','rev-parse','HEAD'),templatePath=str(TEMPLATE),templateSHA256=template_hashes[str(TEMPLATE.relative_to(TEMPLATE_ROOT))],installedTemplateSHA256=template_hashes,shaderSHA256=hashlib.sha256((DEST/PLUGIN/'Contents/Resources/default.metallib').read_bytes()).hexdigest())
record=dict(status='installed-awaiting-host-verification',path=str(DEST),bundleID='com.dayu.color',version=plistlib.loads((DEST/'Contents/Info.plist').read_bytes())['CFBundleShortVersionString'],build=plistlib.loads((DEST/'Contents/Info.plist').read_bytes())['CFBundleVersion'],team='B3W25FX5H5',notaryID=result['id'],notaryStatus=result['status'],gatekeeper=gate,sourceCommit=args.compiled_source or run('git','rev-parse','HEAD'),deliveryToolCommit=run('git','rev-parse','HEAD'),templatePath=str(TEMPLATE),templateSHA256=template_hashes[str(TEMPLATE.relative_to(TEMPLATE_ROOT))],installedTemplateSHA256=template_hashes,shaderSHA256=hashlib.sha256((DEST/PLUGIN/'Contents/Resources/default.metallib').read_bytes()).hexdigest())
if old:record['previousInstallBackup']=str(old)
output=ROOT/'verification/Delivery.json';output.write_text(json.dumps(record,ensure_ascii=False,indent=2)+'\n')
run('open',str(DEST));print('FORMAL_INSTALLED. Run installed self-test and host verification; type complete only after success. Type leave to preserve pending state.',flush=True)
+67
查看文件
@@ -0,0 +1,67 @@
#!/usr/bin/env python3
"""Explicitly authorized temporary Debug install; preserve the notarized rollback."""
import argparse, datetime, hashlib, json, os, plistlib, shutil, subprocess, sys, uuid
from pathlib import Path
import deliver as delivery
from template_payload import template_files
ROOT=Path(__file__).resolve().parent.parent
CACHE=delivery.CACHE
DEST=delivery.DEST
PLUGIN=delivery.PLUGIN
APP=CACHE/'DerivedData/Build/Products/Debug/大鱼调色.app'
LOOSE=CACHE/'DerivedData/Build/Products/Debug/大鱼调色 XPC Service.pluginkit'
def main():
parser=argparse.ArgumentParser(description=__doc__)
parser.add_argument('--source',required=True,type=Path)
args=parser.parse_args();source=args.source.resolve()
commit=subprocess.check_output(['git','rev-parse','HEAD'],cwd=source,text=True).strip()
assert not subprocess.check_output(['git','status','--porcelain','--untracked-files=no'],cwd=source), '调试编译源须为干净的可恢复节点'
delivery.hosts_closed()
assert not any(line.endswith('/Contents/MacOS/大鱼调色') for line in delivery.run('ps','-axo','comm=').splitlines()),'请先正常退出大鱼调色主 APP'
lock=delivery.LOCK;lock.mkdir()
(lock/'owner.json').write_text(json.dumps(dict(PID=os.getpid(),cwd=str(ROOT),product='大鱼调色',mode='user-authorized-debug',started=datetime.datetime.now(datetime.timezone.utc).isoformat())))
backup=None;stage=None
try:
print('Building explicitly authorized Debug configuration',flush=True)
with (CACHE/'debug-local-build.log').open('w') as log:
subprocess.run(['xcodebuild','-project','大鱼调色.xcodeproj','-scheme','Wrapper Application','-configuration','Debug','-enableAddressSanitizer','NO','-derivedDataPath',str(CACHE/'DerivedData'),'build'],cwd=source,stdout=log,stderr=subprocess.STDOUT,check=True)
for reference,bundled,_ in template_files():
target=APP/delivery.BUNDLED_TEMPLATES/bundled;target.parent.mkdir(parents=True,exist_ok=True);shutil.copyfile(source/'template'/reference,target);target.chmod(0o644)
(APP/'Contents/Resources/Basis_balanceWheel.png').chmod(0o644)
info=plistlib.loads((APP/'Contents/Info.plist').read_bytes());info['DYLocalDebugBuild']=True;(APP/'Contents/Info.plist').write_bytes(plistlib.dumps(info))
delivery.identity(APP,'com.dayu.color');delivery.identity(APP/PLUGIN,'com.dayu.color.XPC')
delivery.unregister(APP/PLUGIN);delivery.unregister(LOOSE)
for name in ['FxPlug','PluginManager']:
delivery.run('codesign','--force','--timestamp','--options','runtime','--sign',delivery.IDENTITY,str(APP/PLUGIN/'Contents/Frameworks'/(name+'.framework')))
delivery.run('codesign','--force','--timestamp','--options','runtime','--sign',delivery.IDENTITY,str(APP/PLUGIN))
delivery.run('codesign','--force','--timestamp','--options','runtime','--entitlements',str(source/'大鱼调色/Wrapper Application/SandboxEntitlements.entitlements'),'--sign',delivery.IDENTITY,str(APP))
delivery.run('codesign','--verify','--deep','--strict',str(APP))
stage=DEST.parent/('.dayu-color-debug-stage-'+uuid.uuid4().hex+'.app');delivery.run('ditto',str(APP),str(stage))
delivery.identity(DEST,'com.dayu.color')
backup=DEST.parent/('.dayu-color-formal-before-debug-'+uuid.uuid4().hex+'.app');os.replace(DEST,backup);os.replace(stage,DEST);stage=None
try:
delivery.run('codesign','--verify','--deep','--strict',str(DEST));delivery.identity(DEST,'com.dayu.color')
delivery.unregister(backup/PLUGIN)
for path in [APP,LOOSE]:
if path.exists():delivery.unregister(path/PLUGIN if path==APP else path);shutil.rmtree(path)
delivery.run('pluginkit','-a',str(DEST/PLUGIN))
registry=delivery.run('pluginkit','-m','-A','-D','-v','-i','com.dayu.color.XPC')
entries=[line for line in registry.splitlines() if 'com.dayu.color.XPC(' in line]
assert len(entries)==1 and entries[0].rstrip().endswith('\t'+str(DEST/PLUGIN)),registry
delivery.run('open',str(DEST))
assert str(DEST/'Contents/MacOS/大鱼调色') in delivery.run('ps','-axo','comm=').splitlines(),'调试 APP 未从固定位置启动'
except BaseException:
failed=DEST.parent/('.dayu-color-debug-failed-'+uuid.uuid4().hex+'.app');os.replace(DEST,failed);os.replace(backup,DEST);backup=None;delivery.run('pluginkit','-a',str(DEST/PLUGIN));raise
record=dict(status='temporary-debug-awaiting-host-verification',authorization='User explicitly requested local Debug testing while Apple notarization is pending.',configuration='Debug',notarized=False,bundleID='com.dayu.color',version=info['CFBundleShortVersionString'],build=info['CFBundleVersion'],sourceCommit=commit,path=str(DEST),formalRollback=str(backup),pendingReleaseNotary='0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d',signatureVerified=True,pluginKitUniquePath=True,cleanup='Remove this temporary Debug APP when user testing ends or replace with the notarized Release; preserve the formal rollback until then.')
report=ROOT/'verification/DebugDelivery1.22.1.json';report.write_text(json.dumps(record,ensure_ascii=False,indent=2)+'\n')
print('DEBUG_INSTALLED. Verify FCP from the fixed path, then type keep to leave it for user testing.',flush=True)
for decision in sys.stdin:
if decision.strip()=='keep':
record['status']='temporary-debug-installed-for-user-testing';report.write_text(json.dumps(record,ensure_ascii=False,indent=2)+'\n');break
finally:
if stage and stage.exists():shutil.rmtree(stage)
(lock/'owner.json').unlink();lock.rmdir()
if __name__=='__main__':main()
+4
查看文件
@@ -1,6 +1,8 @@
#import <AppKit/AppKit.h>
#import "../大鱼调色/Plugin/DYLUTBrowser.h"
#import "../大鱼调色/Plugin/DYLUTLibrary.h"
#import "../大鱼调色/Shared/DYOnlineLUT.h"
#import <objc/runtime.h>
@interface DYLUTBrowser (Probe)
- (void)layoutBrowser;
- (void)layoutChanged:(id)sender;
@@ -10,9 +12,11 @@
- (void)qualityChanged:(id)sender;
@end
static NSMutableArray *checks;
static NSProgress *offlineFixture(id cls,SEL sel,NSString *path,NSDictionary *body,BOOL authenticated,DYOnlineLUTReply reply){NSProgress *task=[NSProgress discreteProgressWithTotalUnitCount:1];dispatch_async(dispatch_get_main_queue(),^{reply(nil,[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorNotConnectedToInternet userInfo:nil]);});return task;}
static void require(BOOL pass,NSString *name){[checks addObject:@{@"name":name,@"pass":@(pass)}];if(!pass){fprintf(stderr,"FAIL %s\n",name.UTF8String);exit(1);}}
static void pump(BOOL(^done)(void)){double end=NSProcessInfo.processInfo.systemUptime+15;while(!done()&&NSProcessInfo.processInfo.systemUptime<end)[[NSRunLoop mainRunLoop]runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:.005]];require(done(),@"asynchronous browser task completed");}
int main(int argc,const char **argv){@autoreleasepool{
method_setImplementation(class_getClassMethod(DYOnlineLUTClient.class,@selector(request:body:authenticated:completion:)),(IMP)offlineFixture);
checks=[NSMutableArray new];require(argc==2,@"report destination supplied");[NSApplication sharedApplication];[NSApp setActivationPolicy:NSApplicationActivationPolicyProhibited];
NSURL *root=[NSURL fileURLWithPath:[NSTemporaryDirectory()stringByAppendingPathComponent:[@"dayu-browser-layout-" stringByAppendingString:NSUUID.UUID.UUIDString]]];NSFileManager *fm=NSFileManager.defaultManager;[fm createDirectoryAtURL:root withIntermediateDirectories:YES attributes:nil error:nil];
NSString *cube=@"LUT_3D_SIZE 2\n0 0 0\n1 0 0\n0 1 0\n1 1 0\n0 0 1\n1 0 1\n0 1 1\n1 1 1\n";
+48 -10
查看文件
@@ -7,7 +7,7 @@
#include <cmath>
@interface DYLUTBrowser (OnlineAcceptance)
- (void)sourceChanged:(id)sender;
- (void)startOnlinePreviews;
- (void)revealLibrary:(id)sender;
- (void)previousOnlinePage:(id)sender;
- (void)folderClicked:(id)sender;
@@ -69,15 +69,21 @@ int main(int argc,const char **argv){@autoreleasepool{
NSImage *image=DYLUTThumbnail(nil,pixels,320,180,NSMakeSize(320,180),nil);renderPNG=[[(NSBitmapImageRep *)image.representations[0]representationUsingType:NSBitmapImageFileTypePNG properties:@{}]retain];
__block NSString *applied=nil;
DYLUTBrowser *browser=[[DYLUTBrowser alloc]initWithLibrary:library preview:frame selectedPath:nil palette:@{} selection:^NSProgress *(NSString *path,void(^completion)(NSError *)){NSProgress *job=[NSProgress discreteProgressWithTotalUnitCount:1];dispatch_async(dispatch_get_main_queue(),^{[applied release];applied=[path copy];completion(nil);});return job;}];
pump(^{return [browser valueForKey:@"libraryTask"]==nil;});require(!browser.window.visible,@"acceptance never displays an unsigned test app");[browser setValue:@YES forKey:@"visible"];[browser setValue:@YES forKey:@"remoteMode"];
NSPopUpButton *source=[browser valueForKey:@"sourceMenu"];[source selectItemAtIndex:1];[browser sourceChanged:source];pump(^{return [[browser valueForKey:@"onlineEntries"]count]==10;});
require(count(@"/catalog")==1&&count(@"/preview")==0,@"opening online categories does not upload a timeline frame");
require([[[browser valueForKey:@"importFiles"]accessibilityLabel]isEqual:@"在线预览当前帧"],@"online preview accessibility label reflects its actual action");
require([[browser valueForKey:@"folderPaths"]count]==4,@"online categories include all and named categories");
pump(^{return [browser valueForKey:@"libraryTask"]==nil;});require(!browser.window.visible,@"acceptance never displays an unsigned test app");
require(count(@"/catalog")==0&&count(@"/preview")==0,@"constructing an unopened browser never uploads a frame");
NSView *parent=[[[NSView alloc]initWithFrame:NSMakeRect(0,0,1200,760)]autorelease];[browser showInRemoteParent:parent close:nil];
pump(^{return count(@"/preview")==10&&[[browser valueForKey:@"onlineTransfers"]count]==0;});
require(![[browser valueForKey:@"onlineMode"]boolValue],@"opening local library also preloads the online page");
require(count(@"/catalog")==1&&count(@"/preview")==10,@"opening browser automatically uploads cached frame and previews the whole online page");
NSArray *folders=[browser valueForKey:@"folderPaths"];require([folders containsObject:@"@online"]&&[folders containsObject:@"@online/婚礼"]&&[folders containsObject:@"在线 LUT"],@"local and online categories share one sidebar with separate stable identities");
NSButton *online=[NSButton buttonWithTitle:@"在线 LUT" target:nil action:nil];online.identifier=@"@online";[browser folderClicked:online];
pump(^{return [browser valueForKey:@"onlineCatalogTask"]==nil;});
require([[[browser valueForKey:@"importFiles"]accessibilityLabel]isEqual:@"更新在线预览缓存帧"],@"optional refresh action has an accurate accessibility label");
require(count(@"/preview")==10,@"switching to online root reuses the automatically generated previews");
require([[[browser valueForKey:@"countLabel"]stringValue]containsString:@"1233"],@"online total and pagination remain visible");
[browser revealLibrary:nil];pump(^{return [[browser valueForKey:@"onlineCatalogTask"]isFinished]||[browser valueForKey:@"onlineCatalogTask"]==nil;});require([[requests.lastObject objectForKey:@"body"][@"page"]integerValue]==2,@"next page requests page two");
[browser revealLibrary:nil];pump(^{return [[browser valueForKey:@"onlineCatalogTask"]isFinished]||[browser valueForKey:@"onlineCatalogTask"]==nil;});NSDictionary *lastCatalog=nil;for(NSDictionary *r in requests)if([r[@"path"]hasSuffix:@"/catalog"])lastCatalog=r;require([lastCatalog[@"body"][@"page"]integerValue]==2,@"next page requests page two");
[browser previousOnlinePage:nil];pump(^{return [browser valueForKey:@"onlineCatalogTask"]==nil;});
NSButton *folder=[NSButton buttonWithTitle:@"婚礼" target:nil action:nil];folder.identifier=@"婚礼";[browser folderClicked:folder];pump(^{return [browser valueForKey:@"onlineCatalogTask"]==nil;});require([requests.lastObject[@"body"][@"category"]isEqual:@"婚礼"],@"category filter is sent to the server");
NSButton *folder=[NSButton buttonWithTitle:@"婚礼" target:nil action:nil];folder.identifier=@"@online/婚礼";[browser folderClicked:folder];pump(^{return [browser valueForKey:@"onlineCatalogTask"]==nil;});NSDictionary *categoryRequest=nil;for(NSDictionary *r in requests)if([r[@"path"]hasSuffix:@"/catalog"])categoryRequest=r;require([categoryRequest[@"body"][@"category"]isEqual:@"婚礼"],@"online child category is sent to server without sidebar prefix");
NSUInteger before=count(@"/preview");[browser captureOnlineFrame];pump(^{return count(@"/preview")>before&&[[browser valueForKey:@"onlineTransfers"]count]==0;});
require(maxPreviews<=2,@"browser limits simultaneous remote preview work");
NSDictionary *upload=nil;for(NSDictionary *r in requests)if([r[@"path"]hasSuffix:@"/preview"]){upload=r;break;}
@@ -86,6 +92,8 @@ int main(int argc,const char **argv){@autoreleasepool{
NSUInteger previous=count(@"/preview");[browser updatePreview:@{@"standard":pixels,@"standardSize":[NSValue valueWithSize:NSMakeSize(320,180)],@"time":@2}];require(count(@"/preview")==previous,@"new timeline frames never trigger automatic uploads");
NSDictionary *tiles=[browser valueForKey:@"tiles"];NSButton *tile=tiles.allValues.firstObject;[browser thumbnailClicked:tile];pump(^{return [browser valueForKey:@"selectionTask"]==nil&&applied!=nil;});
require([applied hasPrefix:library.rootURL.path]&&[NSFileManager.defaultManager fileExistsAtPath:applied],@"downloaded verified LUT is applied through local host selection");
require([applied containsString:@"/在线 LUT/婚礼/"],@"clicked online LUT installs into its local category");
require([[browser valueForKey:@"folderPaths"]containsObject:@"在线 LUT/婚礼"],@"download immediately adds the second-level local category to the same sidebar");
NSDictionary *reference=[browser valueForKey:@"previewFrames"];NSMutableData *alreadyGraded=[pixels mutableCopy];((float *)alreadyGraded.mutableBytes)[0]=.9;
[browser updatePreview:@{@"standard":alreadyGraded,@"standardSize":[NSValue valueWithSize:NSMakeSize(320,180)],@"time":@2}];
require([[browser valueForKey:@"previewFrames"]isEqual:reference],@"same-time host redraw cannot regrade the online upload reference");[alreadyGraded release];
@@ -95,10 +103,40 @@ int main(int argc,const char **argv){@autoreleasepool{
NSUInteger localCount=library.entries.count;[browser thumbnailClicked:tile];pump(^{return [browser valueForKey:@"selectionTask"]==nil;});require(library.entries.count==localCount,@"repeated online click does not duplicate installed LUT");
badDownload=YES;[browser thumbnailClicked:tile];pump(^{return [browser valueForKey:@"selectionTask"]==nil;});require([[[browser valueForKey:@"statusLabel"]stringValue]containsString:@"大小"],@"incomplete download produces a visible error");badDownload=NO;
paid=NO;[browser folderClicked:folder];pump(^{return [browser valueForKey:@"onlineCatalogTask"]==nil;});require([[browser valueForKey:@"onlineEntries"]count]==0,@"permission rejection removes online entries");
[source selectItemAtIndex:0];[browser sourceChanged:source];require(![[browser valueForKey:@"onlineMode"]boolValue]&&[[browser valueForKey:@"visibleEntries"]count]>0,@"local LUT library remains usable without online permission");
NSButton *local=[NSButton buttonWithTitle:@"全部本地 LUT" target:nil action:nil];local.identifier=@"*";[browser folderClicked:local];require(![[browser valueForKey:@"onlineMode"]boolValue]&&[[browser valueForKey:@"visibleEntries"]count]>0,@"local LUT library remains usable without online permission");
require([[browser valueForKey:@"reveal"]isEnabled],@"local reveal button is restored after an online empty page or error");
NSButton *localTile=[[[browser valueForKey:@"tiles"]allValues]firstObject];[localTile setEnabled:YES];[browser thumbnailClicked:localTile];pump(^{return [browser valueForKey:@"selectionTask"]==nil;});require([browser valueForKey:@"onlineSelectedPath"]==nil,@"local selection resets previous online highlight");
[browser close];[browser release];[library release];[applied release];[installed release];
// Hierarchy uses exact folder membership; a sibling with a common prefix is excluded.
NSString *nested=[library.rootURL.path stringByAppendingPathComponent:@"胶片/人像/柔和"];[NSFileManager.defaultManager createDirectoryAtPath:nested withIntermediateDirectories:YES attributes:nil error:nil];
[cubeData writeToFile:[nested stringByAppendingPathComponent:@"Nested.cube"]atomically:YES];
NSString *sibling=[library.rootURL.path stringByAppendingPathComponent:@"胶片2"];[NSFileManager.defaultManager createDirectoryAtPath:sibling withIntermediateDirectories:YES attributes:nil error:nil];[cubeData writeToFile:[sibling stringByAppendingPathComponent:@"Sibling.cube"]atomically:YES];[library reload:nil];
[browser performSelector:@selector(rebuildFolders)];[browser layoutBrowser];
require([[browser valueForKey:@"folderPaths"]containsObject:@"胶片/人像"]&&[[browser valueForKey:@"folderPaths"]containsObject:@"胶片/人像/柔和"],@"all local directory levels are available in sidebar");
local.identifier=@"胶片/人像";[browser folderClicked:local];require([[browser valueForKey:@"visibleEntries"]count]==1,@"local parent includes descendants and excludes prefix siblings");
id branch=nil;for(NSButton *b in [browser valueForKey:@"folderButtons"])if([b.identifier isEqual:@"胶片/人像"])branch=b;
require([[branch valueForKey:@"depth"]integerValue]==1&&[[branch valueForKey:@"branch"]boolValue],@"second-level parent is indented and expandable");
[branch setValue:@YES forKey:@"disclosureClicked"];[browser folderClicked:branch];[branch setValue:@NO forKey:@"disclosureClicked"];
require(![[browser valueForKey:@"folderPaths"]containsObject:@"胶片/人像/柔和"],@"collapsing local parent hides descendants");
[branch setValue:@YES forKey:@"disclosureClicked"];[browser folderClicked:branch];[branch setValue:@NO forKey:@"disclosureClicked"];
require([[browser valueForKey:@"folderPaths"]containsObject:@"胶片/人像/柔和"],@"expanding local parent restores descendants");
[browser close];NSUInteger closedRequests=requests.count;[browser release];
pump(^{return activePreviews==0;});require(requests.count==closedRequests,@"closing stops all preview work without scheduling more uploads");
paid=NO;NSUInteger beforeEmpty=count(@"/preview");
DYLUTBrowser *empty=[[DYLUTBrowser alloc]initWithLibrary:library preview:nil selectedPath:nil palette:@{} selection:nil];
[empty showInRemoteParent:parent close:nil];pump(^{return [empty valueForKey:@"onlineCatalogTask"]==nil&&[empty valueForKey:@"libraryTask"]==nil;});
require(count(@"/preview")==beforeEmpty,@"opening without a cached frame waits without uploading fallback imagery");
require([[empty valueForKey:@"reveal"]isEnabled],@"background online permission failure never disables local folder access");
paid=YES;[empty performSelector:@selector(loadOnlineCatalog)];pump(^{return [empty valueForKey:@"onlineCatalogTask"]==nil;});
NSMutableData *portrait=[NSMutableData dataWithLength:360*1280*16];float *portraitSamples=(float *)portrait.mutableBytes;for(NSUInteger i=0;i<360*1280;i++)portraitSamples[i*4+3]=1;
[empty updatePreview:@{@"standard":portrait,@"standardSize":[NSValue valueWithSize:NSMakeSize(360,1280)],@"time":@3}];
pump(^{return count(@"/preview")==beforeEmpty+10&&[[empty valueForKey:@"onlineTransfers"]count]==0;});
require(count(@"/preview")==beforeEmpty+10,@"first arriving cache frame automatically fills previously empty online previews");
NSDictionary *lastUpload=nil;for(NSDictionary *r in requests)if([r[@"path"]hasSuffix:@"/preview"])lastUpload=r;
NSBitmapImageRep *tall=[NSBitmapImageRep imageRepWithData:[[[NSData alloc]initWithBase64EncodedString:lastUpload[@"body"][@"frame_png"]options:0]autorelease]];
require(tall.pixelsHigh==640&&tall.pixelsWide==180,@"portrait uploads honor longest-edge cap and preserve aspect");[empty close];[empty release];
NSUInteger compactRequests=requests.count;DYLUTBrowser *compact=[[DYLUTBrowser alloc]initWithLibrary:library preview:frame selectedPath:nil palette:@{} selection:nil];[compact embedRecentInView:parent];
pump(^{return [compact valueForKey:@"libraryTask"]==nil;});require(requests.count==compactRequests,@"compact recent shortcuts do not start cloud uploads");[compact close];[compact release];
[library release];[applied release];[installed release];
[NSFileManager.defaultManager removeItemAtURL:root error:nil];
for(NSString *key in NSUserDefaults.standardUserDefaults.dictionaryRepresentation.allKeys)if([key containsString:root.path])[NSUserDefaults.standardUserDefaults removeObjectForKey:key];
NSDictionary *report=@{@"pass":@YES,@"count":@(checks.count),@"checks":checks,@"scope":@"Isolated AppKit browser with simulated network replies; real Cube validation/import; no user credentials, no production frame upload, no visible test app."};
+4 -1
查看文件
@@ -8,7 +8,10 @@
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verify-online-luts",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verify-browser-customization",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/online-lut-131",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/superseded-build130.pkg"
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/superseded-build130.pkg",
"/Users/mac/Downloads/大鱼调色-1.22.0.pkg",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/Recovery/online-lut-1.22.0",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/Reference/FcpxSoundEffectsExtension"
],
"scope": "Only this task’s known synthetic QA files and generated executables. User LUTs, source, other tasks and historical installers retained.",
"original126RollbackBackupRemoved": true,
+17
查看文件
@@ -0,0 +1,17 @@
{
"passResult": true,
"removedOrVerifiedAbsent": [
"/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app",
"/Library/Plug-Ins/FxPlug/.dayu-color-previous-f7b778a9a3564b7085a2890067351436.app",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/DerivedData/Build/Products/Release/大鱼调色.app",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/DerivedData/Build/Products/Release/大鱼调色 XPC Service.pluginkit",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip"
],
"retained": [
"/Library/Plug-Ins/FxPlug/大鱼调色.app",
"/Users/mac/Movies/大鱼调色LUT",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/大鱼调色_验收.fcpbundle"
],
"scope": "Current delivery-generated APPs and notary ZIP only. Existing historical PKGs and user LUTs retained.",
"registry": " com.dayu.color.XPC(1.1)\tB7D6A7FB-8F55-4F73-9823-6B40F13D2831\t2026-11-11 14:36:15 +0000\t/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit\n (1 plug-in)\n"
}
+20
查看文件
@@ -0,0 +1,20 @@
{
"debugInstalled": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"debugRemainsByExplicitUserAuthorization": true,
"userConfirmedWorking": true,
"formalRollback": "/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app",
"formalRollbackBuild": "131",
"formalRollbackSignatureAndStapleValidated": true,
"removedTaskGeneratedPaths": [
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/Recovery/lut-unified",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/lut-unified-133",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verify-online-unified",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verify-local-unified"
],
"debugBuildAPPRemoved": true,
"debugLooseServiceRemoved": true,
"retainedPendingNotaryAPP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/DerivedData/Build/Products/Release/大鱼调色.app",
"retainedOriginalSubmissionZIP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip",
"submissionZIPMatchesOriginal": true,
"remainingCleanup": "After notarized Release acceptance/installation, remove temporary Debug APP and original 131 rollback, then clean pending Release build product and submission ZIP."
}
+22
查看文件
@@ -0,0 +1,22 @@
{
"status": "temporary-debug-installed-for-user-testing",
"authorization": "User explicitly requested local Debug testing while Apple notarization is pending.",
"configuration": "Debug",
"notarized": false,
"bundleID": "com.dayu.color",
"version": "1.22.1",
"build": "133",
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"formalRollback": "/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app",
"pendingReleaseNotary": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
"signatureVerified": true,
"pluginKitUniquePath": true,
"cleanup": "Remove this temporary Debug APP when user testing ends or replace with the notarized Release; preserve the formal rollback until then.",
"userConfirmation": "我已测试可行",
"hostObserved": "FCP shows 1233 online LUTs, populated effect thumbnails, original/styled comparison, unified sidebar and second-level local categories.",
"releaseNotaryStatus": "Accepted",
"currentlyInstalled": false,
"exceptionEnded": true,
"replacedBy": "verification/Delivery1.22.1.json"
}
+14
查看文件
@@ -0,0 +1,14 @@
{
"pass": true,
"remote": "https://dayu.media/git/dayu/dayu-color.git",
"tag": "debug/v1.22.1-build133-20261111",
"tagCommit": "46d7ff7bbc9de3cf3bec63f1f8fe39fcbdbe0b67",
"compiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"independentHTTPSClone": true,
"filesByteMatched": 927,
"appBuildInputsMatchCompiledSource": true,
"gitFsckPassed": true,
"lfsPointers": [],
"submodules": [],
"scope": "User-accepted temporary Debug checkpoint; notarized Release and package are pending."
}
@@ -0,0 +1,8 @@
{
"tag": "debug/v1.22.1-build133-20261111",
"checkpointCommit": "46d7ff7bbc9de3cf3bec63f1f8fe39fcbdbe0b67",
"compiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"remote": "https://dayu.media/git/dayu/dayu-color.git",
"remoteVerified": true,
"kind": "User-accepted temporary local Debug checkpoint; not a notarized Release."
}
+8 -5
查看文件
@@ -2,13 +2,14 @@
"status": "verified",
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.0",
"build": "131",
"version": "1.22.1",
"build": "133",
"team": "B3W25FX5H5",
"notaryID": "1e57ee70-d099-4942-91fd-29a2d5f47a44",
"notaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
"notaryStatus": "Accepted",
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
"sourceCommit": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"deliveryToolCommit": "1a4c802322bd203f8dd152535d2a00f473a2184a",
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"installedTemplateSHA256": {
@@ -65,5 +66,7 @@
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
},
"shaderSHA256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
"hostVerification": "verification/HostOnlineLUT1.22.0.json"
"hostVerification": "verification/HostUnifiedLUT1.22.1.json",
"installedSelfTestChecks": 1028,
"debugExceptionEnded": true
}
+72
查看文件
@@ -0,0 +1,72 @@
{
"status": "verified",
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.1",
"build": "133",
"team": "B3W25FX5H5",
"notaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
"notaryStatus": "Accepted",
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"deliveryToolCommit": "1a4c802322bd203f8dd152535d2a00f473a2184a",
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"installedTemplateSHA256": {
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
},
"shaderSHA256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
"hostVerification": "verification/HostUnifiedLUT1.22.1.json",
"installedSelfTestChecks": 1028,
"debugExceptionEnded": true
}
+33
查看文件
@@ -0,0 +1,33 @@
{
"passResult": true,
"version": "1.22.1",
"build": 133,
"configuration": "Release",
"notarized": true,
"formalPath": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"host": "Final Cut Pro 12.4",
"syntheticProject": "大鱼调色_主题与LUT浏览库验收",
"observed": [
"Opened browser without clicking preview or LUT; online root automatically loaded processed synthetic chart thumbnails",
"Catalogue 1233 entries with 21 pages; S-Log3 Undone v5 child has 68 entries, two pages",
"One category tree contains online root and local categories; local installed LUT children and LUT浏览库验收素材/冷色、暖色 observed on opening",
"Clicked online:1446; UI confirmed installed to local category and applied, and inspector displayed the resulting local .cube path",
"Original/styled split comparison visibly rendered; FCP playback advanced and was paused without error"
],
"hostProcess": [
"8391 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/MacOS/大鱼调色",
"8434 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit/Contents/MacOS/大鱼调色 XPC Service"
],
"installedLUT": {
"path": "/Users/mac/Movies/大鱼调色LUT/look LUTs/在线 LUT/S-Log3 Undone v5/1446-a1 II S-Log3 Undone LC v4 33 (Monitoring)-426df6f51133.cube",
"bytes": 954243,
"sha256": "426df6f511334f314540246ec0ec52c2040b3ae7b78d17bbe91a8421065b1d69"
},
"limitations": [
"Motion not retested",
"PKG installation scripts not executed during this host acceptance"
],
"previousUserConfirmation": "我已测试可行",
"verifiedAt": "2026-11-11T14:39:00.947001+00:00"
}
@@ -0,0 +1,25 @@
{
"version": "1.22.1",
"build": 133,
"configuration": "Debug",
"notarized": false,
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"formalPath": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"userConfirmed": "我已测试可行",
"observed": [
"Main APP shows version 1.22.1 build 133 and account access available",
"Online grid displays multiple processed synthetic color-chart thumbnails",
"Catalogue total 1233 with pagination",
"One sidebar contains online root and local folders",
"Local installed categories and another local folder show second-level rows",
"Original/styled comparison visibly displays images"
],
"hostProcess": [
"4974 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit/Contents/MacOS/大鱼调色 XPC Service"
],
"automatedContracts": {
"onlineAndHierarchy": 68,
"localBrowser": 40
},
"scope": "Agent observed current FCP UI; user performed and confirmed local testing. No claim of notarized Debug delivery or Motion acceptance."
}
+10 -10
查看文件
@@ -12,7 +12,7 @@
"error": "未提供错误信息",
"name": "runtime-directory",
"pass": true,
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389"
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C"
},
{
"descriptors": 285,
@@ -1040,7 +1040,7 @@
"error": "未提供错误信息",
"name": "renderer-export-33cube",
"pass": true,
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/diagnostic-export.cube"
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C/diagnostic-export.cube"
},
{
"bytes": 1186074,
@@ -1059,8 +1059,8 @@
"pass": true
},
{
"heartbeats": 2,
"maximumGapMS": 17.447791644372046,
"heartbeats": 5,
"maximumGapMS": 5.860666686203331,
"name": "external-activation-main-loop-responsive",
"pass": true
},
@@ -1551,7 +1551,7 @@
"closePixels": 128,
"name": "workspace-offscreen-compact-icons-and-close-render-pixels",
"pass": true,
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/workspace-topbar.png",
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C/workspace-topbar.png",
"toolbarPixels": 3867
},
{
@@ -1622,7 +1622,7 @@
},
{
"name": "workspace-independent-style-fixture-inserted",
"node": "BCD3E99A-9451-422C-84B1-9E65198B0A4B",
"node": "E7795E92-7058-4ACB-AD41-7B2F7E885C39",
"pass": true,
"validDocument": true
},
@@ -1631,10 +1631,10 @@
"error": "none",
"name": "workspace-independent-style1-writes-target-node-inside-undo",
"nodePaths": {
"look0": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/node.cube"
"look0": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C/node.cube"
},
"pass": true,
"rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/user-new.cube",
"rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C/user-new.cube",
"undoStartsAfter": 3,
"undoStartsBefore": 2,
"written": true
@@ -4719,7 +4719,7 @@
{
"name": "viewer-real-osc-draws-minimal-curve-on-clear-canvas",
"pass": true,
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/viewer-workspace.png"
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C/viewer-workspace.png"
},
{
"name": "canvas-hsl-plot-captures-outside-and-commits-one-undo",
@@ -5118,6 +5118,6 @@
"pass": true
}
],
"runtimePath": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389",
"runtimePath": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/5B498C40-DD55-428D-AEA2-E40D7421C31C",
"scope": "Native model and renderer integration with real Metal/IOSurface textures and fake FxPlug host selectors; no GUI or live host document."
}
@@ -0,0 +1,166 @@
{
"pass" : true,
"checks" : [
{
"name" : "report destination supplied",
"pass" : true
},
{
"name" : "isolated library loaded",
"pass" : true
},
{
"name" : "recent use deduplicates and puts latest first",
"pass" : true
},
{
"name" : "recent history survives a new library instance",
"pass" : true
},
{
"name" : "asynchronous browser task completed",
"pass" : true
},
{
"name" : "recent category is first in the sidebar",
"pass" : true
},
{
"name" : "recent category contains only used LUTs in order",
"pass" : true
},
{
"name" : "all LUTs also put recent uses before unused names",
"pass" : true
},
{
"name" : "loading does not update recent history",
"pass" : true
},
{
"name" : "host rejection does not update history",
"pass" : true
},
{
"name" : "only successful host application records recent use",
"pass" : true
},
{
"name" : "selecting a LUT keeps the tiles in place and updates selection",
"pass" : true
},
{
"name" : "search respects recent-first ordering",
"pass" : true
},
{
"name" : "clearing a search still uses the opening order",
"pass" : true
},
{
"name" : "recent folder also uses the opening order",
"pass" : true
},
{
"name" : "grid reflows when the browser size changes",
"pass" : true
},
{
"name" : "list layout has full-width rows",
"pass" : true
},
{
"name" : "sidebar divider changes folder width without overlapping previews",
"pass" : true
},
{
"name" : "asynchronous browser task completed",
"pass" : true
},
{
"name" : "layout and sidebar width survive reopening",
"pass" : true
},
{
"name" : "reopening places the successful selection first",
"pass" : true
},
{
"name" : "asynchronous browser task completed",
"pass" : true
},
{
"name" : "remote-parent checks never display a test window",
"pass" : true
},
{
"name" : "asynchronous browser task completed",
"pass" : true
},
{
"name" : "list thumbnail keeps portrait aspect",
"pass" : true
},
{
"name" : "portrait grid cards follow frame geometry",
"pass" : true
},
{
"name" : "asynchronous browser task completed",
"pass" : true
},
{
"name" : "asynchronous browser task completed",
"pass" : true
},
{
"name" : "click reuses the original and selected tile bitmaps without replacing preview work",
"pass" : true
},
{
"name" : "empty snapshots keep both previews and pending work",
"pass" : true
},
{
"name" : "same-time host render after selection cannot replace the comparison reference",
"pass" : true
},
{
"name" : "previous previews stay visible while the next frame renders",
"pass" : true
},
{
"name" : "asynchronous browser task completed",
"pass" : true
},
{
"name" : "moving the playhead replaces the original and both uses of the LUT bitmap",
"pass" : true
},
{
"name" : "asynchronous browser task completed",
"pass" : true
},
{
"name" : "the comparison and grid use the same high resolution frame",
"pass" : true
},
{
"name" : "remote window geometry is owned and remembered by the host",
"pass" : true
},
{
"name" : "remote close callback runs once",
"pass" : true
},
{
"name" : "recent history stays bounded at 40 newest paths",
"pass" : true
},
{
"name" : "isolated fixtures and preferences cleaned",
"pass" : true
}
],
"scope" : "Real AppKit browser objects, hidden host-owned window fixture, asynchronous acknowledgement and root-scoped history; no visible test app or user LUT changes."
}
+16 -16
查看文件
@@ -1,7 +1,7 @@
{
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg",
"sha256": "82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd",
"bytes": 44557321,
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg",
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
"bytes": 44557648,
"testUnsigned": false,
"installationExecuted": false,
"checks": [
@@ -31,27 +31,27 @@
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.0",
"build": "131"
"version": "1.22.1",
"build": "133"
},
{
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-iqxoz06i/大鱼调色",
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.b400f64b-6c97-4e70-9d81-fcc94d4d9586/1C8FB4E7-D0F6-4C78-9315-5CE4F7B684EA/大鱼调色"
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-f13eo94l/大鱼调色",
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.a219b8a8-7991-4dbb-8f88-f6bba424c22c/674E6120-3C0A-4B62-ADE6-66DDD5C9B7B4/大鱼调色"
}
],
"signature": "Package \"大鱼调色-1.22.0.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-11 11:58:15 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg: accepted\nsource=Notarized Developer ID",
"signature": "Package \"大鱼调色-1.22.1.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-11 14:41:21 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg: accepted\nsource=Notarized Developer ID",
"pass": true,
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
"notarization": {
"status": "Accepted",
"name": "大鱼调色-1.22.0.pkg",
"createdDate": "2026-11-11T11:58:18.896Z",
"id": "bfb54c49-b563-4420-9e9b-2319e1565420",
"message": "Successfully received submission info"
"id": "b1f73787-263b-47d7-b126-68d858437594",
"message": "Successfully received submission info",
"name": "大鱼调色-1.22.1.pkg",
"createdDate": "2026-11-11T14:41:25.556Z"
},
"appCompiledSource": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
"appBuild": "131",
"appCompiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"appBuild": "133",
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
"residentAppClosing": {
"identifiers": [
@@ -127,6 +127,6 @@
"entries": 192,
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
},
"installedAppHostAcceptance": "verification/HostOnlineLUT1.22.0.json",
"installedAppHostAcceptance": "verification/HostUnifiedLUT1.22.1.json",
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
}
+132
查看文件
@@ -0,0 +1,132 @@
{
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg",
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
"bytes": 44557648,
"testUnsigned": false,
"installationExecuted": false,
"checks": [
"PKG Developer ID Installer signature",
"PKG stapled ticket and Gatekeeper install assessment",
"must-close attached to root-authorized payload",
"all four FCP/Motion host identifiers",
"bundle relocation disabled",
"desktop and Bundle ID preinstall guards",
"postinstall contains actual FxPlug verification invocations",
"GUI worker, registration repair and Finder reveal present",
"successful completion and consecutive registration checks",
"exact payload contents: 大鱼调色.app",
"fixed FxPlug outer APP install path",
"outer APP has one real verification action",
"service path/identifier/registration version: com.dayu.color.XPC",
"nonempty FxPlug service manifest",
"payload APP signature, independent ticket and Gatekeeper",
"exact payload contents: 大鱼调色",
"login-user resource destination: ~/Movies/Motion Templates.localized/Effects.localized",
"complete outer APP payload present",
"welcome warns to save work and close hosts",
"conclusion gives manual APP and host restart instructions"
],
"resources": [
{
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.1",
"build": "133"
},
{
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-f13eo94l/大鱼调色",
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.a219b8a8-7991-4dbb-8f88-f6bba424c22c/674E6120-3C0A-4B62-ADE6-66DDD5C9B7B4/大鱼调色"
}
],
"signature": "Package \"大鱼调色-1.22.1.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-11 14:41:21 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg: accepted\nsource=Notarized Developer ID",
"pass": true,
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
"notarization": {
"status": "Accepted",
"id": "b1f73787-263b-47d7-b126-68d858437594",
"message": "Successfully received submission info",
"name": "大鱼调色-1.22.1.pkg",
"createdDate": "2026-11-11T14:41:25.556Z"
},
"appCompiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"appBuild": "133",
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
"residentAppClosing": {
"identifiers": [
"com.apple.FinalCut",
"com.apple.FinalCutApp",
"com.apple.motionapp",
"com.apple.motionappApp",
"com.dayu.color"
],
"preinstallGuardCount": 1,
"normalQuit": true
},
"packageEntryAdaptation": {
"upstreamEntrySHA256": "a1a8bc8920cfa2dfe4a7d65c4403eec8a8f3ec81b0736951578a81a80389bfc0",
"adaptedEntrySHA256": "4d9cef08673a690427de0757a5cfe42251d01aa47e40902a5155d46d01c71503",
"requiredApplication": "com.dayu.color"
},
"packageBuilderCommit": "eb53707c0e67d8ddeab8c1270bb079f1050cfafe",
"templateSHA256": {
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
},
"payloadBundleAccess": {
"entries": 192,
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
},
"installedAppHostAcceptance": "verification/HostUnifiedLUT1.22.1.json",
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
}
@@ -0,0 +1,17 @@
{
"authorizedScope": [
"notary-submissions-prod.s3.us-west-2.amazonaws.com",
"notary-submissions-prod.s3-accelerate.amazonaws.com"
],
"originalProfileSHA256": "c2fbb33c63fbdd6018209afd172cbeb49dd28a7eefceed02f500e1202e31d078",
"phase": "finished",
"temporaryProfileSHA256": "3a1056e5e2ce19af781ed4c790d1d1a7f70e15b048c374910929b94b8a79c9ca",
"originalBytesRestored": true,
"liveProxyExactlyRestored": true,
"privateBackupRemoved": true,
"passResult": true,
"purpose": "Only Apple S3 host routing during PKG notarization upload",
"notaryID": "b1f73787-263b-47d7-b126-68d858437594",
"notaryStatus": "Accepted",
"privateConfigurationNotCommitted": true
}
+15
查看文件
@@ -0,0 +1,15 @@
{
"passResult": true,
"independentHTTPSCheckout": true,
"releaseTag": "v1.22.0-online-luts-20261111",
"releaseCommit": "31d1089264e10469bececa7b27b3bcd06a7eb445",
"compiledAppCommit": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
"trackedFilesByteVerified": 911,
"gitFsckStrict": true,
"compiledAppInputsUnchangedAtRelease": true,
"gitLFSPointers": 0,
"submodules": 0,
"scope": "Application was built from this independent remote checkout at the compiled source; release tag was independently fetched and all tracked blobs verified. No second cold build.",
"temporaryCheckout": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/Recovery/online-lut-1.22.0",
"temporaryCheckoutRemovedAfterVerification": true
}
+11 -18
查看文件
@@ -3,23 +3,16 @@
"repository": "dayu/dayu-color",
"repositoryID": 52,
"private": false,
"tag": "v1.21.8-render-fluidity-20261109",
"releaseCommit": "ec81578b25753295ad6f03579136a7fa206a5d1f",
"releaseID": 422,
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.8-render-fluidity-20261109",
"prerelease": true,
"assetID": 68,
"assetName": "大鱼调色-1.21.8.pkg",
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.8-render-fluidity-20261109/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.8.pkg",
"bytes": 44529845,
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
"tag": "v1.22.0-online-luts-20261111",
"releaseCommit": "31d1089264e10469bececa7b27b3bcd06a7eb445",
"releaseID": 428,
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.0-online-luts-20261111",
"assetID": 69,
"assetName": "大鱼调色-1.22.0.pkg",
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.0-online-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.0.pkg",
"bytes": 44557321,
"sha256": "82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd",
"existingAssetReused": true,
"verification": "Full draft download checked before publication; published attachment downloaded and checked again; release, tag and asset read-back verified.",
"credentialSource": "macOS Keychain: dayu-git-api",
"draftBrowserDownload": {
"path": "/Volumes/备份/大鱼调色-1.21.8.pkg",
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
"bytes": 44529845,
"sourceURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.8-render-fluidity-20261109/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.8.pkg"
}
"verification": "Authenticated full download SHA-256 and byte count, then release/asset read-back.",
"credentialSource": "macOS Keychain: dayu-git-api"
}
@@ -0,0 +1,11 @@
{
"passResult": true,
"releaseID": 428,
"assetID": 69,
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.0-online-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.0.pkg",
"downloadedFile": "/Users/mac/Downloads/大鱼调色-1.22.0.pkg",
"bytes": 44557321,
"sha256": "82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd",
"verification": "Actual authenticated website session download via the visible draft file link; full file byte count and SHA-256 match the signed notarized package.",
"downloadCopyRemovedAfterPublication": true
}
@@ -0,0 +1,14 @@
{
"releaseID": 428,
"draft": true,
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.0-online-luts-20261111",
"tag": "v1.22.0-online-luts-20261111",
"assets": [
{
"id": 69,
"name": "大鱼调色-1.22.0.pkg",
"size": 44557321,
"browser_download_url": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.0-online-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.0.pkg"
}
]
}
+18
查看文件
@@ -0,0 +1,18 @@
{
"passResult": true,
"repository": "dayu/dayu-color",
"repositoryID": 52,
"private": false,
"tag": "v1.22.0-online-luts-20261111",
"releaseCommit": "31d1089264e10469bececa7b27b3bcd06a7eb445",
"releaseID": 428,
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.0-online-luts-20261111",
"assetID": 69,
"assetName": "大鱼调色-1.22.0.pkg",
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.0-online-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.0.pkg",
"bytes": 44557321,
"sha256": "82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd",
"existingAssetReused": true,
"verification": "Authenticated full download SHA-256 and byte count, then release/asset read-back.",
"credentialSource": "macOS Keychain: dayu-git-api"
}
@@ -0,0 +1,13 @@
{
"version": "1.22.1",
"build": 132,
"sourceCommit": "c7f6311506d408abb9efb6246584212826864975",
"preflightChecks": 1028,
"preflightPassed": true,
"notaryID": "a0ed9a93-a639-45c7-9c97-55d982b66033",
"notaryStatus": "In Progress",
"installed": false,
"published": false,
"reason": "Superseded before install: protect local folder controls when background online catalog fails, encode cached PNG independently of local LUT parsing queue.",
"submittedZIP_SHA256": "58be5dd2a37c97b44212d4935b7ba2187ee4abe013488ea911055e99e24c9de3"
}
+279
查看文件
@@ -0,0 +1,279 @@
{
"scope" : "Isolated AppKit browser with simulated network replies; real Cube validation\/import; no user credentials, no production frame upload, no visible test app.",
"count" : 68,
"pass" : true,
"checks" : [
{
"name" : "valid online LUT imports",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "server names cannot escape local library",
"pass" : true
},
{
"name" : "repeat online download reuses matching local file",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "repeat imports do not create duplicate LUTs",
"pass" : true
},
{
"name" : "checksum mismatch rejected before library changes",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "existing local LUT preserved after rejected download",
"pass" : true
},
{
"name" : "cancelled online import reports cancellation",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "acceptance never displays an unsigned test app",
"pass" : true
},
{
"name" : "constructing an unopened browser never uploads a frame",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "opening local library also preloads the online page",
"pass" : true
},
{
"name" : "opening browser automatically uploads cached frame and previews the whole online page",
"pass" : true
},
{
"name" : "local and online categories share one sidebar with separate stable identities",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "optional refresh action has an accurate accessibility label",
"pass" : true
},
{
"name" : "switching to online root reuses the automatically generated previews",
"pass" : true
},
{
"name" : "online total and pagination remain visible",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "next page requests page two",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "online child category is sent to server without sidebar prefix",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "browser limits simultaneous remote preview work",
"pass" : true
},
{
"name" : "frame request sends image pixels without project paths or filenames",
"pass" : true
},
{
"name" : "uploaded frame preserves timeline aspect",
"pass" : true
},
{
"name" : "new timeline frames never trigger automatic uploads",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "downloaded verified LUT is applied through local host selection",
"pass" : true
},
{
"name" : "clicked online LUT installs into its local category",
"pass" : true
},
{
"name" : "download immediately adds the second-level local category to the same sidebar",
"pass" : true
},
{
"name" : "same-time host redraw cannot regrade the online upload reference",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "comparison displays LUT title without internal identifier",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "clearing online LUT removes both local and online selection markers",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "repeated online click does not duplicate installed LUT",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "incomplete download produces a visible error",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "permission rejection removes online entries",
"pass" : true
},
{
"name" : "local LUT library remains usable without online permission",
"pass" : true
},
{
"name" : "local reveal button is restored after an online empty page or error",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "local selection resets previous online highlight",
"pass" : true
},
{
"name" : "all local directory levels are available in sidebar",
"pass" : true
},
{
"name" : "local parent includes descendants and excludes prefix siblings",
"pass" : true
},
{
"name" : "second-level parent is indented and expandable",
"pass" : true
},
{
"name" : "collapsing local parent hides descendants",
"pass" : true
},
{
"name" : "expanding local parent restores descendants",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "closing stops all preview work without scheduling more uploads",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "opening without a cached frame waits without uploading fallback imagery",
"pass" : true
},
{
"name" : "background online permission failure never disables local folder access",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "first arriving cache frame automatically fills previously empty online previews",
"pass" : true
},
{
"name" : "portrait uploads honor longest-edge cap and preserve aspect",
"pass" : true
},
{
"name" : "asynchronous operation finished",
"pass" : true
},
{
"name" : "compact recent shortcuts do not start cloud uploads",
"pass" : true
}
]
}
@@ -0,0 +1,9 @@
{
"pass": true,
"sourceCommit": "c7f6311506d408abb9efb6246584212826864975",
"remote": "https://dayu.media/git/dayu/dayu-color.git",
"independentHTTPSClone": true,
"trackedFilesByteMatched": 918,
"sourceCleanBeforeBuild": true,
"scope": "Remote clone used for formal build; main workspace pre-existing project ordering diff is excluded."
}
@@ -0,0 +1,9 @@
{
"pass": true,
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"remote": "https://dayu.media/git/dayu/dayu-color.git",
"independentHTTPSClone": true,
"trackedFilesByteMatched": 921,
"sourceCleanBeforeBuild": true,
"scope": "Formal build uses the independent HTTPS clone, excluding the main workspace existing project ordering diff."
}
@@ -0,0 +1,22 @@
{
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/lut-unified-133/大鱼调色_统一LUT验收133.fcpxml",
"status": "pass",
"dtd": "/Applications/Final Cut Pro.app/Contents/Frameworks/Interchange.framework/Versions/A/Resources/FCPXMLv1_12.dtd",
"errors": [],
"warnings": [],
"checks": {
"dtd": true,
"xml": true,
"local_media": {
"checked": 1,
"missing": 0
}
},
"version": "1.12",
"summary": {
"projects": 1,
"assets": 1,
"elements": 15
},
"host_validation": "not_performed_by_this_command"
}
@@ -0,0 +1,30 @@
{
"userAuthorization": "允许临时直连并恢复",
"scope": "Only the two official Apple S3 upload hostnames; no global proxy mode/toggle changes.",
"domains": [
"notary-submissions-prod.s3.us-west-2.amazonaws.com",
"notary-submissions-prod.s3-accelerate.amazonaws.com"
],
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"submittedFilename": "dayu-color-1.22.1-build133-direct-20261111222108.zip",
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
"submittedZIPBytes": 43344165,
"uploadStartedUTC": "2026-11-11T14:21:08.717106+00:00",
"uploaderPID": 7658,
"uploadCompleted": true,
"newNotaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
"submitExitCode": 0,
"profileRestored": true,
"liveProxyRestored": true,
"profileOriginalBytesRestored": true,
"editorNormalizationProtectionTriggered": true,
"editorNormalizationReverted": true,
"temporaryUploadCopyRemoved": true,
"privateBackupRemovedAfterVerifiedRestore": true,
"phase": "accepted-and-proxy-restored",
"notaryStatus": "Accepted",
"uploadCompletedUTC": "2026-11-11T14:25:12.259402+00:00",
"effectiveAppleOnlyBypassVerified": true,
"otherProxyAddressesRemainProxied": true,
"restorationMetadataLocalOnly": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notary-direct-133-state.json"
}
@@ -0,0 +1,24 @@
{
"authorization": "用户于2026-11-11明确要求:重新发起公证。",
"version": "1.22.1",
"build": 133,
"configuration": "Release",
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"previousNotaryID": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
"previousStatusAtResubmit": "In Progress",
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
"submittedZIPBytes": 43344165,
"originalZIP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip",
"submittedFilename": "dayu-color-1.22.1-build133-resubmit-20261111214207.zip",
"startedUTC": "2026-11-11T13:42:07.444873+00:00",
"recompiled": false,
"resigned": false,
"currentDebugInstallPreserved": true,
"phase": "upload-aborted",
"newNotaryID": "e2aba6a4-a3c3-4fd8-a955-80991aff65d1",
"exitCode": 1,
"uploadCompleted": false,
"error": "HTTPClientError.deadlineExceeded",
"completedParts": 0,
"s3Acceleration": true
}
@@ -0,0 +1,36 @@
{
"authorization": "用户明确要求重新发起公证;加速通道确认上传中止后,改用普通 S3 上传通道重试。",
"version": "1.22.1",
"build": 133,
"configuration": "Release",
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"previousNotaryID": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
"previousStatusAtResubmit": "In Progress; original upload completion receipt not available",
"failedAcceleratedAttempt": "e2aba6a4-a3c3-4fd8-a955-80991aff65d1",
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
"submittedZIPBytes": 43344165,
"originalZIP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip",
"submittedFilename": "dayu-color-1.22.1-build133-resubmit-standard-20261111214849.zip",
"startedUTC": "2026-11-11T13:48:49.527458+00:00",
"recompiled": false,
"resigned": false,
"s3Acceleration": false,
"currentDebugInstallPreserved": true,
"phase": "upload-aborted",
"newNotaryID": "fec84478-43a1-4644-961d-c29558e583ee",
"exitCode": 1,
"notaryStatus": "In Progress",
"uploadCompleted": false,
"error": "HTTPClientError.deadlineExceeded",
"completedParts": 0,
"temporaryUploadCopyRemoved": true,
"debugInstallPreserved": true,
"readOnlyNetworkChecks": {
"systemProxyEnabled": true,
"ordinaryNoProxyEnvironmentIgnoredByNotarytool": true,
"directS3TLSReachable": true,
"directS3AnonymousHTTPStatus": 403,
"directS3ElapsedSeconds": 2.248898
},
"nextStep": "Await user approval for temporary bypass limited to official Apple S3 upload hostnames; restore original rules after upload."
}
@@ -0,0 +1,30 @@
{
"userAuthorization": "允许临时直连并恢复",
"scope": "Only the two official Apple S3 upload hostnames; no global proxy mode/toggle changes.",
"domains": [
"notary-submissions-prod.s3.us-west-2.amazonaws.com",
"notary-submissions-prod.s3-accelerate.amazonaws.com"
],
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"submittedFilename": "dayu-color-1.22.1-build133-direct-20261111222108.zip",
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
"submittedZIPBytes": 43344165,
"uploadStartedUTC": "2026-11-11T14:21:08.717106+00:00",
"uploaderPID": 7658,
"uploadCompleted": true,
"newNotaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
"submitExitCode": 0,
"profileRestored": true,
"liveProxyRestored": true,
"profileOriginalBytesRestored": true,
"editorNormalizationProtectionTriggered": true,
"editorNormalizationReverted": true,
"temporaryUploadCopyRemoved": true,
"privateBackupRemovedAfterVerifiedRestore": true,
"phase": "accepted-and-proxy-restored",
"notaryStatus": "Accepted",
"uploadCompletedUTC": "2026-11-11T14:25:12.259402+00:00",
"effectiveAppleOnlyBypassVerified": true,
"otherProxyAddressesRemainProxied": true,
"restorationMetadataLocalOnly": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notary-direct-133-state.json"
}
@@ -0,0 +1,34 @@
{
"version": "1.22.1",
"build": 133,
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"notaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
"notaryStatus": "Accepted",
"waitCommandInterrupted": false,
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
"preflightPassed": true,
"preflightChecks": 1028,
"installed": false,
"resume": "tools/deliver.py --resume-notary <notaryID> --submitted-zip-sha256 <submittedZIP_SHA256> --compiled-source <sourceCommit>",
"previousSubmissions": [
{
"notaryID": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
"lastKnownStatus": "In Progress",
"uploadCompletionVerified": false
},
{
"notaryID": "e2aba6a4-a3c3-4fd8-a955-80991aff65d1",
"uploadCompleted": false,
"error": "S3 upload aborted, completedParts=[], deadlineExceeded"
},
{
"notaryID": "fec84478-43a1-4644-961d-c29558e583ee",
"uploadCompleted": false,
"error": "S3 upload aborted, completedParts=[], deadlineExceeded"
}
],
"uploadCompleted": true,
"resubmissionAuthorization": "用户要求重新发起公证,并批准Apple上传地址临时直连后恢复",
"resubmissionRecord": "verification/UnifiedLUTNotaryResubmission133.json",
"proxyRestored": true
}
+120 -65
查看文件
@@ -22,6 +22,9 @@ static NSString *const DYBrowserFramePreference=@"com.dayu.color.lookLUTPreview.
static NSString *const DYBrowserLayoutPreference=@"com.dayu.color.lookLUTPreview.layout";
static NSString *const DYBrowserSidebarPreference=@"com.dayu.color.lookLUTPreview.sidebarWidth";
static NSString *const DYBrowserRecentFolder=@"@recent";
static NSString *const DYBrowserOnlineFolder=@"@online";
static NSString *const DYBrowserOnlineCategoryPrefix=@"@online/";
static BOOL DYBrowserIsOnlineFolder(NSString *folder){return [folder isEqual:DYBrowserOnlineFolder]||[folder hasPrefix:DYBrowserOnlineCategoryPrefix];}
static NSString *DYBrowserPreference(NSString *key,DYLUTLibrary *library){return [NSString stringWithFormat:@"%@|%@",key,library.rootURL.path];}
// Opt-in, local-only geometry samples. No LUT names, paths or image data.
@@ -108,7 +111,7 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
- (void)dealloc{[_thumbnail release];[_displayName release];[_failure release];[_palette release];[super dealloc];}
- (NSString *)accessibilityLabel{return _displayName?:@"LUT";}
- (id)accessibilityValue{return _chosen?@"已选择":_failure.length?@"LUT 无效":_thumbnail?@"可应用":@"正在生成缩略图";}
- (NSString *)accessibilityHelp{return _failure?:_shortcut?@"点击将此 LUT 应用到当前风格图层":@"单击应用此 LUT,双击应用并关闭浏览器";}
- (NSString *)accessibilityHelp{return _failure?:_online?@"单击安装到本地分类并应用,双击应用并关闭浏览器":_shortcut?@"点击将此 LUT 应用到当前风格图层":@"单击应用此 LUT,双击应用并关闭浏览器";}
- (void)drawRect:(NSRect)dirty{
NSRect bounds=NSInsetRect(self.bounds,1,1);
NSBezierPath *outline=[NSBezierPath bezierPathWithRoundedRect:bounds xRadius:7 yRadius:7];
@@ -123,7 +126,7 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
[NSGraphicsContext restoreGraphicsState];
}else{
[DYBrowserColor(_palette,@"background")setFill];NSRectFill(imageRect);
NSString *message=_failure.length?@"无法预览":_online?@"点“预览当前帧”":@"生成预览…";
NSString *message=_failure.length?@"无法预览":_online?@"加载在线预览…":@"生成预览…";
NSDictionary *attributes=@{NSFontAttributeName:[NSFont systemFontOfSize:11],NSForegroundColorAttributeName:DYBrowserColor(_palette,@"secondary")};
NSSize size=[message sizeWithAttributes:attributes];
[message drawAtPoint:NSMakePoint(NSMidX(imageRect)-size.width/2,NSMidY(imageRect)-size.height/2) withAttributes:attributes];
@@ -138,6 +141,8 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
@interface DYBrowserFolderButton : NSButton
@property(copy) NSDictionary *palette;
@property BOOL chosen;
@property NSUInteger depth;
@property BOOL branch,expanded,disclosureClicked;
@end
@implementation DYBrowserFolderButton
- (BOOL)isFlipped{return YES;}
@@ -145,8 +150,13 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
- (void)drawRect:(NSRect)dirty{
if(_chosen){[DYBrowserColor(_palette,@"field")setFill];[[NSBezierPath bezierPathWithRoundedRect:NSInsetRect(self.bounds,1,1) xRadius:5 yRadius:5]fill];}
NSMutableParagraphStyle *paragraph=[[[NSMutableParagraphStyle alloc]init]autorelease];paragraph.lineBreakMode=NSLineBreakByTruncatingMiddle;
[self.title drawInRect:NSInsetRect(self.bounds,9,8) withAttributes:@{NSFontAttributeName:[NSFont systemFontOfSize:11 weight:_chosen?NSFontWeightSemibold:NSFontWeightRegular],NSForegroundColorAttributeName:DYBrowserColor(_palette,_chosen?@"accent":@"text"),NSParagraphStyleAttributeName:paragraph}];
CGFloat inset=9+_depth*14;
NSDictionary *attributes=@{NSFontAttributeName:[NSFont systemFontOfSize:11 weight:_chosen?NSFontWeightSemibold:NSFontWeightRegular],NSForegroundColorAttributeName:DYBrowserColor(_palette,_chosen?@"accent":@"text"),NSParagraphStyleAttributeName:paragraph};
if(_branch)[(_expanded?@"▾":@"▸") drawAtPoint:NSMakePoint(inset,8) withAttributes:attributes];
[self.title drawInRect:NSMakeRect(inset+14,8,MAX(1,NSWidth(self.bounds)-inset-19),18) withAttributes:attributes];
}
- (void)mouseDown:(NSEvent *)event{NSPoint p=[self convertPoint:event.locationInWindow fromView:nil];_disclosureClicked=_branch&&p.x<23+_depth*14;[super mouseDown:event];_disclosureClicked=NO;}
- (void)keyDown:(NSEvent *)event{if(_branch&&((event.keyCode==123&&_expanded)||(event.keyCode==124&&!_expanded))){_disclosureClicked=YES;[self performClick:nil];_disclosureClicked=NO;}else [super keyDown:event];}
@end
@interface DYBrowserCompareView : NSView
@@ -245,17 +255,21 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
NSUInteger _libraryGeneration,_selectionGeneration,_previewGeneration;
NSInteger _columns;
CGFloat _tileWidth,_tileHeight,_sidebarWidth;
NSPopUpButton *_sourceMenu;
NSButton *_previousPage;
NSTextField *_onlineNotice;
BOOL _onlineMode;
NSArray *_onlineEntries,*_onlineCategories;
NSDictionary *_onlineFrame;
NSData *_onlinePNG;
NSString *_onlineSelectedPath,*_localFolder;
NSString *_onlineSelectedPath;
NSUInteger _onlinePage,_onlineTotal,_onlineCatalogGeneration;
NSProgress *_onlineCatalogTask;
NSMutableSet *_onlineTransfers;
NSMutableSet *_collapsedFolders,*_onlineQueuedPaths;
NSCache *_onlineThumbnailCache;
DYBrowserWork *_onlineWork;
BOOL _onlineStarted,_onlineFramePreparing;
NSUInteger _onlineFrameGeneration;
}
@end
@@ -278,14 +292,15 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
if(!library.recentPaths.count&&path.length)[library recordUsedPath:path];
if(!savedFolder)savedFolder=library.recentPaths.count?DYBrowserRecentFolder:@"*";
_library=[library retain];_previewFrames=[frames copy];_previewGeneration=1;_recentSnapshot=[library.recentPaths copy];_selectedPath=[path copy];_folder=[(savedFolder?:@"*") copy];_selection=[selection copy];
_onlineMode=DYBrowserIsOnlineFolder(_folder);_collapsedFolders=[NSMutableSet new];
_folderButtons=[NSMutableArray new];_tiles=[NSMutableDictionary new];_queuedPaths=[NSMutableSet new];_thumbnailCache=[NSCache new];_thumbnailCache.countLimit=600;_thumbnailCache.totalCostLimit=64*1024*1024;_previewQueue=dispatch_queue_create("com.dayu.color.lut-thumbnails",DISPATCH_QUEUE_SERIAL);dispatch_set_target_queue(_previewQueue,dispatch_get_global_queue(QOS_CLASS_UTILITY,0));
panel.title=@"风格 LUT";panel.contentMinSize=self.class.minimumContentSize;panel.contentMaxSize=self.class.maximumContentSize;panel.releasedWhenClosed=NO;panel.hidesOnDeactivate=NO;panel.delegate=self;
_root=[[DYBrowserCanvas alloc]initWithFrame:NSMakeRect(0,0,760,560)];_root.accessibilityLabel=@"LUT 缩略图浏览库";panel.contentView=_root;
_titleLabel=[BrowserLabel(@"LUT 文件夹",14)retain];_titleLabel.font=[NSFont systemFontOfSize:14 weight:NSFontWeightSemibold];
_sourceMenu=[[NSPopUpButton alloc]initWithFrame:NSZeroRect pullsDown:NO];[_sourceMenu addItemsWithTitles:@[@"本地 LUT",@"在线 LUT"]];_sourceMenu.target=self;_sourceMenu.action=@selector(sourceChanged:);_sourceMenu.accessibilityLabel=@"LUT 来源";
_titleLabel=[BrowserLabel(@"LUT 浏览器",14)retain];_titleLabel.font=[NSFont systemFontOfSize:14 weight:NSFontWeightSemibold];
_previousPage=[BrowserButton(@"上一页",self,@selector(previousOnlinePage:))retain];_previousPage.hidden=YES;
_onlineNotice=[BrowserLabel(@"点“预览当前帧”将缩略图发送到 dayu.media,仅供本次处理,不保存帧。",11)retain];_onlineNotice.hidden=YES;
_onlineNotice=[BrowserLabel(@"打开时自动上传缓存帧缩略图用于在线预览;服务器不保存帧。",11)retain];_onlineNotice.hidden=YES;
_onlinePage=1;_onlineTransfers=[NSMutableSet new];
_onlineQueuedPaths=[NSMutableSet new];_onlineThumbnailCache=[NSCache new];_onlineThumbnailCache.countLimit=600;_onlineThumbnailCache.totalCostLimit=64*1024*1024;
[NSDistributedNotificationCenter.defaultCenter addObserver:self selector:@selector(onlineIdentityChanged:) name:DYOnlineLUTIdentityChanged object:nil];
_countLabel=[BrowserLabel(@"0 个 LUT",11)retain];
_statusLabel=[BrowserLabel(@"单击缩略图应用 LUT",11)retain];
@@ -330,20 +345,22 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(gridScrolled:) name:NSViewBoundsDidChangeNotification object:_gridScroll.contentView];
_splitView=[[NSSplitView alloc]initWithFrame:NSMakeRect(12,80,736,425)];_splitView.vertical=YES;_splitView.dividerStyle=NSSplitViewDividerStyleThin;_splitView.accessibilityLabel=@"调整 LUT 文件夹与预览宽度";
_folderScroll.frame=NSMakeRect(0,0,162,425);_gridScroll.frame=NSMakeRect(163,0,573,425);[_splitView addSubview:_folderScroll];[_splitView addSubview:_gridScroll];
for(NSView *view in @[_titleLabel,_sourceMenu,_previousPage,_onlineNotice,_countLabel,_statusLabel,_sizeLabel,_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_hd,_sizeSlider,_layoutMenu,_splitView,_comparePanel])[_root addSubview:view];
for(NSView *view in @[_titleLabel,_previousPage,_onlineNotice,_countLabel,_statusLabel,_sizeLabel,_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_hd,_sizeSlider,_layoutMenu,_splitView,_comparePanel])[_root addSubview:view];
[_gridDocument addSubview:_emptyLabel];
_root.postsFrameChangedNotifications=YES;_root.postsBoundsChangedNotifications=YES;
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(browserRootResized:) name:NSViewFrameDidChangeNotification object:_root];
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(browserRootResized:) name:NSViewBoundsDidChangeNotification object:_root];
_splitView.delegate=self;[self reloadLibrary:nil];[self updatePalette:palette];[self layoutBrowser];
_splitView.delegate=self;[self updateSourceControls];[self reloadLibrary:nil];[self updatePalette:palette];[self layoutBrowser];
}
return self;
}
- (void)dealloc{
[NSDistributedNotificationCenter.defaultCenter removeObserver:self];
[_onlineCatalogTask cancel];[_onlineCatalogTask release];for(NSProgress *task in _onlineTransfers)[task cancel];[_onlineTransfers release];
[_onlineEntries release];[_onlineCategories release];[_onlineFrame release];[_onlinePNG release];[_onlineSelectedPath release];[_localFolder release];
[_sourceMenu release];[_previousPage release];[_onlineNotice release];
_onlineWork.cancelled=YES;_onlineWork.owner=nil;[_onlineWork release];
[_collapsedFolders release];[_onlineQueuedPaths release];[_onlineThumbnailCache release];
[_onlineEntries release];[_onlineCategories release];[_onlineFrame release];[_onlinePNG release];[_onlineSelectedPath release];
[_previousPage release];[_onlineNotice release];
[_recentSnapshot release];
[NSObject cancelPreviousPerformRequestsWithTarget:self];[[NSNotificationCenter defaultCenter]removeObserver:self];
[_libraryTask cancel];[_libraryTask release];[_selectionTask cancel];[_selectionTask release];[_progressTimer invalidate];[_progressTimer release];
@@ -365,7 +382,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
_popover=[[NSPopover alloc]init];_popover.behavior=NSPopoverBehaviorSemitransient;_popover.animates=YES;_popover.delegate=self;_popover.contentSize=size;
NSViewController *controller=[[[NSViewController alloc]init]autorelease];controller.title=@"风格 LUT";controller.view=_root;_popover.contentViewController=controller;
[self layoutBrowser];
@try {[_popover showRelativeToRect:view.bounds ofView:view preferredEdge:NSRectEdgeMaxX];_visible=_popover.shown;[self refreshComparison];}
@try {[_popover showRelativeToRect:view.bounds ofView:view preferredEdge:NSRectEdgeMaxX];_visible=_popover.shown;[self startOnlinePreviews];[self refreshComparison];}
@catch(NSException *exception){[self finishClosing];}
}
- (BOOL)visible{return !_closed&&((_remoteMode||_detached)?_visible:_popover.shown);}
@@ -379,6 +396,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
parent.postsFrameChangedNotifications=YES;parent.postsBoundsChangedNotifications=YES;
for(NSNotificationName name in @[NSViewFrameDidChangeNotification,NSViewBoundsDidChangeNotification])[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(remoteParentGeometryChanged:) name:name object:parent];
[parent addSubview:_root];DYBrowserGeometrySample(_root,@"before-content-origin-alignment");[self fitRemoteParent];
[self startOnlinePreviews];
DYBrowserGeometrySample(_root,@"attached-before-sdk-reply");
// Attach synchronously: the SDK reads the first child before reply returns.
dispatch_async(dispatch_get_main_queue(),^{if(!_closed){[self configurePresentationWindow];[self refreshComparison];DYBrowserGeometrySample(_root,@"after-sdk-reply");}});
@@ -389,12 +407,12 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
_embedded=YES;_folderScroll.hasVerticalScroller=YES;_gridScroll.hasVerticalScroller=YES;_gridScroll.hasHorizontalScroller=NO;_gridScroll.scrollerStyle=NSScrollerStyleOverlay;[self showInRemoteParent:parent close:closeAction];_done.title=@"返回调整";
}
- (void)embedRecentInView:(NSView *)parent{
_compactRecent=YES;_embedded=YES;
_compactRecent=YES;_embedded=YES;_onlineMode=NO;
[_folder release];_folder=[DYBrowserRecentFolder copy];
_root.accessibilityLabel=@"最近使用 LUT 快捷入口";
_titleLabel.stringValue=@"最近使用";_titleLabel.font=[NSFont systemFontOfSize:11 weight:NSFontWeightSemibold];
[_layoutMenu selectItemAtIndex:0];_sizeSlider.doubleValue=120;
for(NSView *view in @[_sourceMenu,_previousPage,_onlineNotice,_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_hd,_comparePanel,_sizeLabel,_sizeSlider,_layoutMenu,_splitView])view.hidden=YES;
for(NSView *view in @[_previousPage,_onlineNotice,_search,_importFiles,_importFolder,_reveal,_refresh,_none,_done,_hd,_comparePanel,_sizeLabel,_sizeSlider,_layoutMenu,_splitView])view.hidden=YES;
[_root addSubview:_gridScroll];_gridScroll.hasHorizontalScroller=NO;_gridScroll.scrollerStyle=NSScrollerStyleOverlay;
[self showInRemoteParent:parent close:nil];[self rebuildGrid];[self refreshRecentSelection:_selectedPath];
}
@@ -512,7 +530,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
if(!small){_sizeLabel.frame=NSMakeRect(174,h-29,68,18);_sizeSlider.frame=NSMakeRect(246,h-31,100,20);_statusLabel.frame=NSMakeRect(444,h-29,MAX(0,w-540),18);}
}
NSRect browser=_splitView.frame,comparison=browser;
_sourceMenu.hidden=NO;_titleLabel.hidden=YES;_sourceMenu.frame=NSMakeRect(12,_embedded?6:10,145,26);
_titleLabel.hidden=NO;_titleLabel.frame=NSMakeRect(12,_embedded?8:12,145,20);
_countLabel.frame=NSMakeRect(165,_embedded?10:14,MAX(60,w-350),18);
_onlineNotice.hidden=!_onlineMode;_previousPage.hidden=!_onlineMode;
if(_onlineMode){
@@ -564,7 +582,6 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
}
- (void)layoutChanged:(id)sender{[NSUserDefaults.standardUserDefaults setInteger:_layoutMenu.indexOfSelectedItem forKey:DYBrowserPreference(DYBrowserLayoutPreference,_library)];[self layoutBrowser];}
- (void)resetThumbnailWork {
for(NSProgress *task in _onlineTransfers)[task cancel];[_onlineTransfers removeAllObjects];
_work.cancelled=YES;_work.owner=nil;[_work release];_work=[DYBrowserWork new];_work.owner=self;[_queuedPaths removeAllObjects];
}
- (void)updateVisibleTiles {
@@ -627,11 +644,12 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
[_selectionFrameTime release];_selectionFrameTime=nil;
// Online uploads retain the same pre-application reference as local previews.
// Only a new playhead time may replace it after applying a look.
if(_onlineMode){NSDictionary *snapshot=[frames copy];[_previewFrames release];_previewFrames=snapshot;return;}
if(_onlineMode){NSDictionary *snapshot=[frames copy];[_previewFrames release];_previewFrames=snapshot;if(_onlineStarted&&!_onlineFrame&&!_onlineFramePreparing)[self captureOnlineFrame];return;}
NSData *current=_previewFrames[currentQuality],*next=frames[nextQuality];
BOOL unchanged=sameSize&&[current isEqualToData:next];
NSDictionary *snapshot=[frames copy];
[_previewFrames release];_previewFrames=snapshot;
if(_onlineStarted&&!_onlineFrame&&!_onlineFramePreparing)[self captureOnlineFrame];
if(unchanged)return;
[self invalidatePreviewImages];
[self layoutBrowser];
@@ -639,11 +657,12 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
- (void)qualityChanged:(id)sender{
[NSUserDefaults.standardUserDefaults setBool:_hd.state==NSControlStateValueOn forKey:DYBrowserPreference(DYBrowserHDPreference,_library)];
[self invalidatePreviewImages];
if(_onlineMode){[_onlinePNG release];_onlinePNG=nil;[_onlineFrame release];_onlineFrame=nil;[self setStatus:@"画质已切换,请重新点击预览当前帧。"];}
if(_onlineMode)[self captureOnlineFrame];
[self layoutBrowser];
}
- (void)comparePositionChanged:(id)sender{_compareView.position=_compareSlider.doubleValue;}
- (NSDictionary *)previewResultForPath:(NSString *)path{
if([path hasPrefix:@"online:"])return [_onlineThumbnailCache objectForKey:path];
DYBrowserTile *tile=_tiles[path];
if(tile.previewGeneration==_previewGeneration){
if(tile.thumbnail)return @{@"image":tile.thumbnail};
@@ -700,10 +719,15 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
}
- (void)setStatus:(NSString *)status{_statusLabel.stringValue=status?:@"";_statusLabel.toolTip=status;}
- (void)rebuildFolders{
if(_onlineMode){NSMutableArray *paths=[NSMutableArray arrayWithObject:@"*"];[paths addObjectsFromArray:_onlineCategories?:@[]];if(![paths containsObject:_folder]){[_folder release];_folder=[@"*" copy];}[_folderPaths release];_folderPaths=[paths copy];[self updateVisibleFolders];return;}
NSMutableArray *paths=[NSMutableArray arrayWithObjects:DYBrowserRecentFolder,@"*",nil];NSMutableSet *seen=[NSMutableSet setWithArray:paths];
for(NSString *folder in _library.folders){NSString *top=folder.length?[folder componentsSeparatedByString:@"/"].firstObject:@"";if(![seen containsObject:top]){[paths addObject:top];[seen addObject:top];}}
if(![seen containsObject:_folder]){[_folder release];_folder=[@"*" copy];}
[paths addObject:DYBrowserOnlineFolder];[seen addObject:DYBrowserOnlineFolder];
for(NSString *category in _onlineCategories){NSString *path=[DYBrowserOnlineCategoryPrefix stringByAppendingString:category];[seen addObject:path];if(![_collapsedFolders containsObject:DYBrowserOnlineFolder])[paths addObject:path];}
for(NSString *folder in _library.folders){
[seen addObject:folder];BOOL hidden=NO;NSString *parent=folder.stringByDeletingLastPathComponent;
while(parent.length){if([_collapsedFolders containsObject:parent]){hidden=YES;break;}parent=parent.stringByDeletingLastPathComponent;}
if(!hidden)[paths addObject:folder];
}
if(![seen containsObject:_folder]&&!DYBrowserIsOnlineFolder(_folder)){[_folder release];_folder=[@"*" copy];}
[_folderPaths release];_folderPaths=[paths copy];[self updateVisibleFolders];
}
- (void)folderScrolled:(NSNotification *)notification{if(!_layingOut)[self updateVisibleFolders];}
@@ -714,8 +738,14 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
NSMutableArray *buttons=[NSMutableArray array];
for(NSUInteger i=first;i<end;i++){
NSString *path=_folderPaths[i];DYBrowserFolderButton *button=existing[path];
if(!button){button=[[[DYBrowserFolderButton alloc]initWithFrame:NSZeroRect]autorelease];button.bordered=NO;button.target=self;button.action=@selector(folderClicked:);button.identifier=path;
button.title=[path isEqual:DYBrowserRecentFolder]?@"最近使用":[path isEqualToString:@"*"]?@"全部 LUT":path.length?[@"▸ " stringByAppendingString:path]:@"未分类";button.toolTip=path.length?path:_library.rootURL.path;button.palette=_palette;button.accessibilityLabel=[@"LUT 文件夹:" stringByAppendingString:button.title];[_folderDocument addSubview:button];}
if(!button){button=[[[DYBrowserFolderButton alloc]initWithFrame:NSZeroRect]autorelease];button.bordered=NO;button.target=self;button.action=@selector(folderClicked:);button.identifier=path;button.palette=_palette;[_folderDocument addSubview:button];}
BOOL online=DYBrowserIsOnlineFolder(path),onlineRoot=[path isEqual:DYBrowserOnlineFolder];
button.title=onlineRoot?@"在线 LUT":online?[path substringFromIndex:DYBrowserOnlineCategoryPrefix.length]:[path isEqual:DYBrowserRecentFolder]?@"最近使用":[path isEqual:@"*"]?@"全部本地 LUT":[path isEqual:@"在线 LUT"]?@"已安装 LUT":path.length?path.lastPathComponent:@"未分类";
button.depth=online?(onlineRoot?0:1):path.length?MAX(0,(NSInteger)path.pathComponents.count-1):0;
button.branch=onlineRoot;
if(!online&&path.length)for(NSString *folder in _library.folders)if([folder hasPrefix:[path stringByAppendingString:@"/"]]){button.branch=YES;break;}
button.expanded=![_collapsedFolders containsObject:path];button.toolTip=online?button.title:path.length?path:_library.rootURL.path;
button.accessibilityLabel=[@"LUT 分类:" stringByAppendingString:button.title];button.accessibilityHelp=button.branch?@"点击箭头展开或折叠,点击名称选择此分类;左右方向键展开或折叠。":button.toolTip;
button.chosen=[path isEqualToString:_folder];button.frame=NSMakeRect(4,4+i*35,MAX(92,_folderScroll.contentSize.width-8),33);[button setNeedsDisplay:YES];[buttons addObject:button];
}
for(NSButton *button in _folderButtons)if(![buttons containsObject:button])[button removeFromSuperview];[_folderButtons setArray:buttons];
@@ -734,7 +764,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
_importFiles.enabled=YES;_importFolder.enabled=YES;_refresh.title=@"刷新";_done.title=_embedded?@"返回调整":@"完成";_done.toolTip=nil;
}
- (void)reloadLibrary:(id)sender{
if(_onlineMode){[self loadOnlineCatalog];return;}
if(_onlineMode&&_onlineStarted&&sender){[self captureOnlineFrame];[self loadOnlineCatalog];return;}
if(_libraryTask){[_libraryTask cancel];[self setStatus:@"正在取消…"];return;}
[self invalidatePreviewImages];NSUInteger generation=++_libraryGeneration;
NSProgress *task=[_library reloadAsync:^(NSError *error){
@@ -743,11 +773,19 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
}];[self beginLibraryTask:task];
}
- (void)folderClicked:(NSButton *)sender{
if(!sender.identifier)return;
if([sender isKindOfClass:DYBrowserFolderButton.class]&&[(DYBrowserFolderButton *)sender disclosureClicked]){
if([_collapsedFolders containsObject:sender.identifier])[_collapsedFolders removeObject:sender.identifier];else [_collapsedFolders addObject:sender.identifier];
[self rebuildFolders];[self layoutBrowser];return;
}
BOOL online=DYBrowserIsOnlineFolder(sender.identifier),changed=online!=_onlineMode;
if(changed){++_selectionGeneration;[_selectionTask cancel];[_selectionTask release];_selectionTask=nil;}
[_folder release];_folder=[sender.identifier copy];
if(_onlineMode){_onlinePage=1;[self loadOnlineCatalog];return;}
_onlineMode=online;[self updateSourceControls];
if(changed){_search.stringValue=@"";[_comparisonOriginal release];_comparisonOriginal=nil;[self resetThumbnailWork];}
[[NSUserDefaults standardUserDefaults]setObject:_folder forKey:DYBrowserPreference(DYBrowserFolderPreference,_library)];
for(DYBrowserFolderButton *button in _folderButtons){button.chosen=[button.identifier isEqualToString:_folder];[button setNeedsDisplay:YES];}
[self rebuildGrid];
if(online){_onlinePage=1;[self loadOnlineCatalog];}else{[self rebuildGrid];[self setStatus:@"单击缩略图应用 LUT"];}
}
- (void)searchChanged:(id)sender{if(_onlineMode){[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(debouncedOnlineSearch) object:nil];[self performSelector:@selector(debouncedOnlineSearch) withObject:nil afterDelay:.35];}else [self rebuildGrid];}
- (void)controlTextDidChange:(NSNotification *)notification{if(notification.object==_search)[self searchChanged:_search];}
@@ -774,7 +812,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
BOOL recent=[_folder isEqual:DYBrowserRecentFolder];NSArray *history=_recentSnapshot;
for(NSDictionary *entry in (_onlineMode?(_onlineEntries?:@[]):recent?[_library recentEntriesForPaths:history]:_library.entries)){
NSString *folder=entry[@"relativeFolder"]?:@"";
BOOL folderMatch=recent||[_folder isEqualToString:@"*"]||[folder isEqualToString:_folder]||(_folder.length&&[folder hasPrefix:[_folder stringByAppendingString:@"/"]]);
BOOL folderMatch=_onlineMode||recent||[_folder isEqualToString:@"*"]||[folder isEqualToString:_folder]||(_folder.length&&[folder hasPrefix:[_folder stringByAppendingString:@"/"]]);
if(folderMatch&&(!query.length||[entry[@"name"]localizedCaseInsensitiveContainsString:query]||[entry[@"relativePath"]localizedCaseInsensitiveContainsString:query]))[entries addObject:entry];
}
if(!recent&&!_onlineMode)[entries sortUsingComparator:^NSComparisonResult(NSDictionary *a,NSDictionary *b){NSUInteger i=[history indexOfObject:a[@"path"]],j=[history indexOfObject:b[@"path"]];if(i==j)return [a[@"relativePath"]localizedStandardCompare:b[@"relativePath"]];return i<j?NSOrderedAscending:NSOrderedDescending;}];
@@ -841,22 +879,24 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
if(![[NSFileManager defaultManager]createDirectoryAtURL:_library.rootURL withIntermediateDirectories:YES attributes:nil error:&error]){[self showImportError:error];return;}
if(![[NSWorkspace sharedWorkspace]openURL:_library.rootURL])[self setStatus:@"无法打开 LUT 文件夹"];
}
- (void)sourceChanged:(id)sender {
BOOL online=_sourceMenu.indexOfSelectedItem==1;if(online==_onlineMode||_compactRecent)return;
[self cancelOnlineWork];
++_selectionGeneration;[_selectionTask cancel];[_selectionTask release];_selectionTask=nil;
if(online){[_localFolder release];_localFolder=[_folder copy];[_folder release];_folder=[@"*" copy];_onlinePage=1;}
else {[_folder release];_folder=[(_localFolder?:@"*")copy];}
_onlineMode=online;_importFiles.title=online?@"预览当前帧":@"导入文件…";_importFolder.title=online?@"登录 / 权限":@"导入文件夹…";_reveal.title=online?@"下一页":@"打开 LUT 文件夹";
_importFiles.accessibilityLabel=online?@"在线预览当前帧":@"导入 LUT 文件";_importFolder.accessibilityLabel=online?@"主 APP 登录与在线 LUT 权限":@"导入 LUT 文件夹";
_reveal.enabled=YES;
_search.stringValue=@"";[self invalidatePreviewImages];[self rebuildFolders];[self rebuildGrid];
if(online)[self loadOnlineCatalog];else [self setStatus:@"单击缩略图应用 LUT"];
- (void)updateSourceControls {
_importFiles.title=_onlineMode?@"更新预览":@"导入文件…";_importFolder.title=_onlineMode?@"登录 / 权限":@"导入文件夹…";_reveal.title=_onlineMode?@"下一页":@"打开文件夹";
_importFiles.accessibilityLabel=_onlineMode?@"更新在线预览缓存帧":@"导入 LUT 文件";_importFolder.accessibilityLabel=_onlineMode?@"主 APP 登录与在线 LUT 权限":@"导入 LUT 文件夹";
_reveal.enabled=!_onlineMode||_onlinePage*60<_onlineTotal;
}
- (void)resetOnlinePreviewWork {
_onlineWork.cancelled=YES;_onlineWork.owner=nil;[_onlineWork release];_onlineWork=[DYBrowserWork new];_onlineWork.owner=self;
for(NSProgress *task in _onlineTransfers)[task cancel];[_onlineTransfers removeAllObjects];[_onlineQueuedPaths removeAllObjects];
}
- (void)startOnlinePreviews {
if(_onlineStarted||_closed||_compactRecent||!self.visible)return;
_onlineStarted=YES;[self captureOnlineFrame];[self loadOnlineCatalog];
}
- (void)cancelOnlineWork {
++_onlineCatalogGeneration;[_onlineCatalogTask cancel];[_onlineCatalogTask release];_onlineCatalogTask=nil;
for(NSProgress *task in _onlineTransfers)[task cancel];[_onlineTransfers removeAllObjects];
[_onlinePNG release];_onlinePNG=nil;[_onlineFrame release];_onlineFrame=nil;
[self resetOnlinePreviewWork];_onlineWork.cancelled=YES;_onlineWork.owner=nil;
++_onlineFrameGeneration;_onlineFramePreparing=NO;
[_onlinePNG release];_onlinePNG=nil;[_onlineFrame release];_onlineFrame=nil;[_onlineThumbnailCache removeAllObjects];
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(debouncedOnlineSearch) object:nil];
}
- (void)onlineIdentityChanged:(NSNotification *)notification {
@@ -865,22 +905,23 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
[self->_onlineEntries release];self->_onlineEntries=nil;[self->_onlineCategories release];self->_onlineCategories=nil;
[self->_onlineSelectedPath release];self->_onlineSelectedPath=nil;
[self invalidatePreviewImages];
if(self->_onlineMode){[self rebuildFolders];[self rebuildGrid];[self loadOnlineCatalog];}
[self rebuildFolders];[self rebuildGrid];if(self->_onlineStarted){[self captureOnlineFrame];[self loadOnlineCatalog];}
});
}
- (void)previousOnlinePage:(id)sender {if(_onlineMode&&_onlinePage>1){_onlinePage--;[self loadOnlineCatalog];}}
- (void)debouncedOnlineSearch {if(_onlineMode&&!_closed){_onlinePage=1;[self loadOnlineCatalog];}}
- (void)loadOnlineCatalog {
if(!_onlineMode||_closed)return;
if(!_onlineStarted||_closed)return;
NSUInteger generation=++_onlineCatalogGeneration;[_onlineCatalogTask cancel];[_onlineCatalogTask release];_onlineCatalogTask=nil;
[self setStatus:@"正在加载在线 LUT…"];_previousPage.enabled=NO;_reveal.enabled=NO;
NSDictionary *body=@{@"page":@(_onlinePage),@"category":[_folder isEqual:@"*"]?@"":_folder,@"search":_search.stringValue?:@""};
if(_onlineMode){[self setStatus:@"正在加载在线 LUT…"];_previousPage.enabled=NO;_reveal.enabled=NO;}
NSString *category=[_folder hasPrefix:DYBrowserOnlineCategoryPrefix]?[_folder substringFromIndex:DYBrowserOnlineCategoryPrefix.length]:@"";
NSDictionary *body=@{@"page":@(_onlineMode?_onlinePage:1),@"category":category,@"search":_onlineMode?(_search.stringValue?:@""):@""};
NSProgress *task=[DYOnlineLUTClient request:@"/dayu-color/v1/lut/catalog" body:body authenticated:YES completion:^(NSData *data,NSError *error){
if(self->_closed||!self->_onlineMode||generation!=self->_onlineCatalogGeneration)return;
if(self->_closed||generation!=self->_onlineCatalogGeneration)return;
[self->_onlineCatalogTask release];self->_onlineCatalogTask=nil;
NSDictionary *value=[DYOnlineLUTClient JSON:data error:&error];
if(error||![value[@"items"]isKindOfClass:NSArray.class]||![value[@"categories"]isKindOfClass:NSArray.class]){
[self->_onlineEntries release];self->_onlineEntries=nil;[self rebuildGrid];[self setStatus:error.localizedDescription?:@"在线目录格式无效。"];self->_emptyLabel.stringValue=error.localizedDescription?:@"请刷新在线目录。";return;
[self->_onlineEntries release];self->_onlineEntries=nil;[self updateSourceControls];if(self->_onlineMode){[self rebuildGrid];[self setStatus:error.localizedDescription?:@"在线目录格式无效。"];self->_emptyLabel.stringValue=error.localizedDescription?:@"请刷新在线目录。";}return;
}
NSMutableArray *entries=[NSMutableArray array],*categories=[NSMutableArray array];
for(id category in value[@"categories"])if([category isKindOfClass:NSString.class]&&[category length]<=191)[categories addObject:category];
@@ -890,8 +931,9 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
}
[self->_onlineEntries release];self->_onlineEntries=[entries copy];[self->_onlineCategories release];self->_onlineCategories=[categories copy];
self->_onlineTotal=[value[@"total"]isKindOfClass:NSNumber.class]?MAX(0,[value[@"total"]integerValue]):entries.count;
self->_previousPage.enabled=self->_onlinePage>1;self->_reveal.enabled=self->_onlinePage*60<self->_onlineTotal;
[self rebuildFolders];[self rebuildGrid];[self setStatus:@"点选下载并应用;预览当前帧可在线生成效果图。"];
self->_previousPage.enabled=self->_onlinePage>1;[self updateSourceControls];
[self rebuildFolders];if(self->_onlineMode){[self rebuildGrid];[self setStatus:@"自动加载在线预览;点击安装到本地分类并应用。"]; }else [self layoutBrowser];
[self generateOnlinePreviews];
}];
_onlineCatalogTask=[task retain];
}
@@ -899,42 +941,54 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
for(NSDictionary *entry in _onlineEntries)if([entry[@"path"]isEqual:path])return entry;return nil;
}
- (void)captureOnlineFrame {
if(!_onlineMode||_closed)return;
if(!_onlineStarted||_closed||_compactRecent)return;
NSString *quality=[self previewQualityForFrames:_previewFrames];NSData *pixels=_previewFrames[quality];NSValue *value=_previewFrames[[quality stringByAppendingString:@"Size"]];
NSSize size=value?value.sizeValue:NSZeroSize;
if(!pixels.length||size.width<1||size.height<1||pixels.length!=(NSUInteger)(size.width*size.height)*16){[self setStatus:@"暂无时间线帧,请先移动播放头或播放片段再重试。"];return;}
[self invalidatePreviewImages];[_onlinePNG release];_onlinePNG=nil;[_onlineFrame release];_onlineFrame=[_previewFrames copy];
DYBrowserWork *work=_work;[self setStatus:@"正在准备当前帧缩略图…"];
dispatch_async(_previewQueue,^{@autoreleasepool{
if(work.cancelled)return;NSError *error=nil;CGFloat scale=MIN(1.,sqrt(230400./(size.width*size.height)));
if(!pixels.length||size.width<1||size.height<1||pixels.length!=(NSUInteger)(size.width*size.height)*16){if(_onlineMode)[self setStatus:@"等待时间线缓存帧,收到后将自动预览。"];return;}
NSUInteger generation=++_onlineFrameGeneration;_onlineFramePreparing=YES;
[self resetOnlinePreviewWork];[_onlineThumbnailCache removeAllObjects];
[_onlinePNG release];_onlinePNG=nil;[_onlineFrame release];_onlineFrame=[_previewFrames copy];
if(_onlineMode){[self invalidatePreviewImages];for(DYBrowserTile *tile in _tiles.allValues){tile.thumbnail=nil;tile.failure=nil;tile.previewGeneration=0;[tile setNeedsDisplay:YES];}[_compareView setOriginal:nil styled:nil];_compareSlider.enabled=NO;}
DYBrowserWork *work=_onlineWork;if(_onlineMode)[self setStatus:@"正在准备当前缓存帧缩略图…"];
dispatch_async(dispatch_get_global_queue(QOS_CLASS_USER_INITIATED,0),^{@autoreleasepool{
if(work.cancelled)return;NSError *error=nil;
CGFloat scale=MIN(1.,MIN(640./MAX(size.width,size.height),sqrt(230400./(size.width*size.height))));
NSSize output=NSMakeSize(MAX(1,floor(size.width*scale)),MAX(1,floor(size.height*scale)));
NSImage *image=DYLUTThumbnail(nil,pixels,size.width,size.height,output,&error);
NSBitmapImageRep *bitmap=(NSBitmapImageRep *)image.representations.firstObject;
NSData *png=[bitmap isKindOfClass:NSBitmapImageRep.class]?[bitmap representationUsingType:NSBitmapImageFileTypePNG properties:@{}]:nil;
dispatch_async(dispatch_get_main_queue(),^{DYLUTBrowser *owner=work.owner;if(!owner||work.cancelled)return;
if(!png||png.length>1500000){[owner setStatus:error.localizedDescription?:@"当前帧缩略图无法用于在线预览。"];return;}
owner->_onlinePNG=[png copy];[owner setStatus:@"正在上传缩略图并生成在线效果预览…"];[owner generateVisibleThumbnails];[owner refreshComparison];
dispatch_async(dispatch_get_main_queue(),^{DYLUTBrowser *owner=work.owner;if(!owner||work.cancelled||generation!=owner->_onlineFrameGeneration)return;
owner->_onlineFramePreparing=NO;
if(!png||png.length>1500000){[owner->_onlineFrame release];owner->_onlineFrame=nil;if(owner->_onlineMode)[owner setStatus:error.localizedDescription?:@"当前帧缩略图无法用于在线预览。"];return;}
owner->_onlinePNG=[png copy];if(owner->_onlineMode)[owner setStatus:@"正在上传缓存帧并批量生成在线预览…"];
[owner generateOnlinePreviews];[owner layoutBrowser];[owner refreshComparison];
});
}});
}
- (void)generateOnlinePreviews {
if(!_onlinePNG||_closed||!_onlineStarted)return;
// Prioritize on-screen results, then preload the remainder of this page.
if(_onlineMode)for(NSDictionary *entry in _visibleEntries)if(_tiles[entry[@"path"]]&&![self previewResultForPath:entry[@"path"]])[self requestOnlinePreview:entry[@"path"]];
for(NSDictionary *entry in _onlineEntries)if(![self previewResultForPath:entry[@"path"]])[self requestOnlinePreview:entry[@"path"]];
}
- (void)requestOnlinePreview:(NSString *)path {
if(!_onlinePNG||!_work||[_queuedPaths containsObject:path]||_onlineTransfers.count>=2)return;
if(!_onlinePNG||!_onlineWork||_onlineWork.cancelled||[_onlineQueuedPaths containsObject:path]||[_onlineThumbnailCache objectForKey:path]||_onlineTransfers.count>=2)return;
NSDictionary *entry=[self onlineEntryForPath:path];if(!entry)return;
[_queuedPaths addObject:path];DYBrowserWork *work=_work;
[_onlineQueuedPaths addObject:path];DYBrowserWork *work=_onlineWork;
__block NSProgress *task=nil;
task=[DYOnlineLUTClient request:[NSString stringWithFormat:@"/dayu-color/v1/lut/%@/preview",entry[@"id"]] body:@{@"frame_png":[_onlinePNG base64EncodedStringWithOptions:0]} authenticated:YES completion:^(NSData *data,NSError *error){
DYLUTBrowser *owner=work.owner;if(!owner||work.cancelled)return;
if(task)[owner->_onlineTransfers removeObject:task];[owner->_queuedPaths removeObject:path];
if(task)[owner->_onlineTransfers removeObject:task];[owner->_onlineQueuedPaths removeObject:path];
NSImage *image=nil;
if(!error&&data.length>24&&!memcmp(data.bytes,"\x89PNG\r\n\x1a\n",8)){
uint32_t width=0,height=0;memcpy(&width,(const uint8_t *)data.bytes+16,4);memcpy(&height,(const uint8_t *)data.bytes+20,4);width=CFSwapInt32BigToHost(width);height=CFSwapInt32BigToHost(height);
if(width&&height&&width<=640&&height<=640&&(uint64_t)width*height<=230400)image=[[[NSImage alloc]initWithData:data]autorelease];
}
NSDictionary *result=image?@{@"image":image}:@{@"error":error.localizedDescription?:@"服务器未返回有效的预览图。"};
[owner->_thumbnailCache setObject:result forKey:path cost:image?data.length:128];
[owner->_onlineThumbnailCache setObject:result forKey:path cost:image?data.length:128];
DYBrowserTile *tile=owner->_tiles[path];if(tile)[owner displayPreviewResult:result inTile:tile];
[owner refreshComparison];[owner generateVisibleThumbnails];
if(error)[owner setStatus:error.localizedDescription];else [owner setStatus:@"在线预览已更新;点击 LUT 下载并应用。"];
[owner refreshComparison];[owner generateOnlinePreviews];
if(owner->_onlineMode){if(error)[owner setStatus:error.localizedDescription];else [owner setStatus:@"在线预览已更新;点击安装到本地分类并应用。"]; }
}];
if(task)[_onlineTransfers addObject:task];
}
@@ -950,6 +1004,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
self->_selectionTask=[[self->_library importOnlineData:data identifier:entry[@"id"] name:name category:entry[@"category"] checksum:entry[@"checksum"] completion:^(NSString *path,NSError *failure){
if(self->_closed||generation!=self->_selectionGeneration)return;[self->_selectionTask release];self->_selectionTask=nil;
if(failure||!path){[self setStatus:failure.localizedDescription?:@"LUT 保存失败。"];return;}
[self rebuildFolders];[self layoutBrowser];
void (^applied)(NSError *)=^(NSError *applyError){
if(self->_closed||generation!=self->_selectionGeneration)return;[self->_selectionTask release];self->_selectionTask=nil;
if(applyError){[self setStatus:applyError.localizedDescription];return;}
@@ -957,7 +1012,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
[self->_onlineSelectedPath release];self->_onlineSelectedPath=[onlinePath copy];
[self->_selectionFrameTime release];self->_selectionFrameTime=[self->_previewFrames[@"time"]retain];
for(DYBrowserTile *button in self->_tiles.allValues){button.chosen=[button.identifier isEqual:onlinePath];[button setNeedsDisplay:YES];}
[self refreshComparison];[self setStatus:[@"已下载并应用 " stringByAppendingString:name]];if(closeAfter)[self close];
[self refreshComparison];[self setStatus:[@"已安装到本地分类并应用:" stringByAppendingString:name]];if(closeAfter)[self close];
};
self->_selectionTask=[(self->_selection?self->_selection(path,applied):DYLUTPrepareAsync(path,applied))retain];
}]retain];
+2 -2
查看文件
@@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.22.0</string>
<string>1.22.1</string>
<key>CFBundleVersion</key>
<string>131</string>
<string>133</string>
<key>NSHumanReadableCopyright</key>
<string></string>
<key>PlugInKit</key>
@@ -261,7 +261,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
self.accessButton=DYButton(@"刷新权限",DYBlue(),NO,self,@selector(refreshOnlineAccount:));
self.logoutButton=DYButton(@"退出登录",DYSecondary(),NO,self,@selector(logoutOnlineAccount:));
DYSurface *accountCard=DYCard(DYBlue(),DYStack(@[DYHeading(@"person.crop.circle",@"大鱼账号 · 在线 LUT",DYBlue()),self.accountTitle,self.accountDetail,
DYLabel(@"有效会员,或已购买文章 14421 / 15792,即可浏览和下载全部已发布在线 LUT。\n在插件中点击“在线预览当前帧”会发送当前帧缩略图到 dayu.media;服务器仅在本次请求中处理,不保存预览帧。",12,NSFontWeightRegular,DYSecondary()),
DYLabel(@"有效会员,或已购买文章 14421 / 15792,即可浏览和下载全部已发布在线 LUT。\n打开插件的 LUT 浏览器时,会自动发送当前缓存帧缩略图到 dayu.media 并批量加载在线预览;服务器不保存预览帧。点击在线 LUT 后安装到本地分类,可离线使用。",12,NSFontWeightRegular,DYSecondary()),
DYStack(@[self.loginButton,self.accessButton,self.logoutButton],NSUserInterfaceLayoutOrientationHorizontal,8)],NSUserInterfaceLayoutOrientationVertical,12));
NSArray *features = @[
@[@"slider.horizontal.3",@"完整调色",@"精准还原,自由塑造",@"CST 色彩管理、光影与曲线\nHSL、色轮、蜘蛛盘与白平衡",DYBlue()],
@@ -291,7 +291,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
BOOL allowed=[value[@"allowed"]isKindOfClass:NSNumber.class]&&[value[@"allowed"]boolValue];
self.accountTitle.stringValue=allowed?@"在线 LUT 已开放":@"账号已登录,尚无在线 LUT 权限";
NSString *name=[value[@"username"]isKindOfClass:NSString.class]?value[@"username"]:@"大鱼用户";
self.accountDetail.stringValue=[NSString stringWithFormat:@"%@\n%@",name,allowed?@"已识别本机绑定账号。在 FCP 的 LUT 浏览器切换“在线 LUT”即可使用。":@"需要有效会员,或购买文章 14421 / 15792。购买后点击刷新权限。"];
self.accountDetail.stringValue=[NSString stringWithFormat:@"%@\n%@",name,allowed?@"已识别本机绑定账号。在 FCP 的 LUT 浏览器分类栏中展开“在线 LUT”即可使用。":@"需要有效会员,或购买文章 14421 / 15792。购买后点击刷新权限。"];
}
- (void)restoreBoundOnlineAccount {
NSUInteger generation=++self.accountGeneration;[self.accountTask cancel];
+2 -2
查看文件
@@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.22.0</string>
<string>1.22.1</string>
<key>CFBundleVersion</key>
<string>131</string>
<string>133</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
+20 -12
查看文件
@@ -1,23 +1,31 @@
# 大鱼调色开发交接
更新于 2026-11-11(Asia/Shanghai)。这是新对话的接手入口。历史设计和实现细节按需查阅专项交接,复现和交付证据以对应版本的报告为准。
更新于 2026-11-11(Asia/Shanghai)。当前入口;历史设计按需查阅专项记录。
## 1.22.0(131)在线 LUT
## 1.22.1(133):正式 APP 与 PKG 公证通过,Release 上传中
已接入主 APP 硬件 UUID 账号识别、微信登录回退、在线分类/搜索/分页、校验下载及手动当前帧在线预览。有效会员,或购买文章 **14421 / 15792 任意一个**的账号,可浏览全部已发布在线 LUT;每次请求由服务端复核设备绑定与权益。本地调色保持离线可用。点击“预览当前帧”才上传最长边 640 的 PNG 缩略图到 dayu.media,服务器内存处理,不保存帧;移动播放头不会自动上传。
打开 LUT 浏览器时自动发送当前缓存帧缩略图并批量生成当前页在线效果图;首次无帧自动补载,播放时不连续上传,可手动“更新预览”。在线与本地共用分类树,“在线 LUT”包含子分类,本地支持二级及更深目录的展开/折叠。点击在线 LUT 后校验、安装到本地对应分类并应用,重复文件复用。后台在线失败不影响本地操作。
两个 MU 后端文件已按 NAS 生产基线流程部署。44 项后端合约、46 项原生在线浏览器合约、40 项本地浏览器回归、6 项线上未授权检查和既有更新接口检查通过。最终正式 APP 的签名、票据、Gatekeeper、1,028 项正式安装检查、17 套模板及 PluginKit 唯一路径通过。
**当前唯一正式安装** `/Library/Plug-Ins/FxPlug/大鱼调色.app`,Release 1.22.1(133),主 ID `com.dayu.color`、服务 `com.dayu.color.XPC`,团队 B3W25FX5H5。APP 公证 `ae55bcd2-d131-4ef2-8733-405e28d92f7e` **Accepted**,票据、签名、Gatekeeper 和唯一 PluginKit 路径通过。1,028 项正式安装原生自检通过,17 套模板已核对。[正式安装](verification/Delivery1.22.1.json)
已从唯一正式路径启动 **1.22.0(131)**,APP 公证 `1e57ee70-d099-4942-91fd-29a2d5f47a44` Accepted;实际编译为独立远端检出的 `d979f8958caf36cc7b97ea838960c69f7fbb4d91`。主 APP 自动识别 macOS 硬件 UUID 绑定账号,退出保持退出,刷新恢复通过。FCP 12.4 独立合成色卡验证共享登录、1,233 个 LUT/17 分类、云端当前帧缩略图、下载应用、原图划像和 2:01→3:24 播放,宿主正常退出。主 APP 留在已登录可用状态。只上传合成色卡,未上传用户素材。真实接口另核对全部 21 页、搜索、分类与下载摘要。
FCP 12.4 从正式路径加载服务,观察到打开浏览器即自动出现合成色卡在线效果图;目录 1,233 项,在线子分类和本地二级目录共用侧栏。点击 online:1446 后确认安装到本地分类、应用及原图划像,短播放通过。[正式宿主验收](verification/HostUnifiedLUT1.22.1.json)。此前 Debug 已获用户“我已测试可行”确认;临时 Debug 例外结束,Debug 替换备份、旧 131 回滚、生成 Release APP/服务和公证 ZIP 已清理。用户 LUT 与既有合成验收库保留。[清理](verification/Cleanup1.22.1.json)。Motion 未复测。
现场发现 SQL 编号/大小以字符串输出导致空网格,已在后端修正,44 项 PHP 合约覆盖,并在正式 FCP 重新验收通过。新机未绑定时的微信 OAuth 首次扫码和 Motion 宿主未实测。130 的 APP/PKG 曾通过验证但未发行,现已被 131 取代。最终 PKG 已完成 Installer 签名、公证 `bfb54c49-b563-4420-9e9b-2319e1565420`、票据与 Gatekeeper 验证,20 项验包通过;大小 44557321 字节,SHA-256 `82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd`。Release 准备上传。
68 项在线/分类/导入合约、40 项本地浏览器回归及 Release 发布前 1,028 项检查通过。实际编译源码 `7f833757da243f2a4610c23c36ec278b44c80ad4`,独立 HTTPS 检出构建,921 个文件逐字节核对,[编译来源](verification/UnifiedLUTBuildSource133.json)。既有工程 Security 引用排序差异保留,未混入本轮提交。
[专项实现和生产映射](research/OnlineLUTIntegration-20261111.md) · [部署](verification/OnlineLUTDeployment.json) · [安装](verification/Delivery1.22.0.json) · [宿主范围](verification/HostOnlineLUT1.22.0.json) · [构建恢复](verification/OnlineLUTBuildRecovery.json)。127/128/129/130 为未发行候选,其诊断证据保留;最终 131 验证后已清理已知替换备份。工程文件既有的 Security 引用排序差异保留,不纳入本任务提交。站点文章和更新通道暂仍为 1.21.8(126),本轮没有改动它们。
### 公证上传与代理
用户明确授权“允许临时直连并恢复”。此前两种代理上传均在 S3 分片超时,已有编号不代表上传完成。仅对两个官方 Apple S3 上传地址临时直连,43,344,165 字节的原 Release ZIP 完整上传并 Accepted,未重编或重签。上传后原配置逐字节恢复并经原生热重载生效,临时例外消失、HTTP/HTTPS 原代理继续开启,私有备份清理;凭据及私有配置未入 Git。[上传与恢复](verification/UnifiedLUTNotaryResubmission133.json)。旧失败编号不再作为等待目标。
### 当前待办
已从验收后的正式 APP 通过 PKG 工坊生成 `/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg`,44,557,648 字节,SHA-256 `a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663`。PKG 公证 `b1f73787-263b-47d7-b126-68d858437594` Accepted,签名、票据、Gatekeeper、20项展开验包和普通用户载荷权限通过;本轮未再次执行 PKG 系统安装脚本。[验包](verification/Package1.22.1.json)。PKG 上传同样仅临时直连两个 Apple 地址,原始配置与系统代理状态已完整恢复,私有备份清理。[恢复记录](verification/PackageNotaryRoute1.22.1.json)
安装说明长行已改成相邻字符串以兼容本机 Python,AST与原脚本一致,未改 APP。下一步推送正式版本标签、上传 Git Release 并完整下载校验、独立远端恢复检出及最终交接。站点文章/更新通道仍为1.21.8(126),本轮无后端修改或部署。
## 接手与恢复
- 工程根:`/Volumes/备份/大鱼调色/大鱼调色`;主分支 `main`,远程 `https://dayu.media/git/dayu/dayu-color.git`。
- 正式编译和公证安装:`tools/deliver.py`;宿主验收后输入 `complete`。正式验收 APP 制包:`Packaging/build_pkg.py`,Release 发布:`Packaging/publish_release.py`。
- 后端:`Backend/` 为源码备份,本机专项工程 `/Users/mac/Downloads/dayumedia/dayu-color-beta`;NAS 仅生产部署,不在其上编译。生产相对路径与校验见专项记录及 `Backend/deploy_online_luts.py`。
- 继续测试时先在主 APP 自动识别硬件绑定账号,未绑定时微信登录,再在插件切换“在线 LUT”;手动预览当前帧后核对真实目录、下载和云端图像,新机 OAuth 首次扫码仍需真实用户确认,不能用硬件恢复验收代替。
- [恢复说明](RECOVERY.md) · [此前版本交接归档](research/HandoffHistory-20261111-before-online-release.md)。凭据、私钥和账号令牌留在钥匙串,不进入仓库。
- 工程 `/Volumes/备份/大鱼调色/大鱼调色`;远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。
- Release 构建、公证、固定路径安装用 `tools/deliver.py`;宿主验收后输入 `complete`。PKG 用 `Packaging/build_pkg.py`,Release 用 `Packaging/publish_release.py`。不要重发已 Accepted 的 APP。
- 主 APP 自动识别硬件绑定账号,未绑定时微信登录;新机首次扫码仍需真实用户完成。权限与本地安装不依赖另建后端。
- 后端 `Backend/` 为有范围备份;本机专项 `/Users/mac/Downloads/dayumedia/dayu-color-beta`,NAS 仅生产部署,不在其上编译。本轮未改。
- [恢复说明](RECOVERY.md) · [前一正式发行 131](research/OnlineLUTRelease131Handoff.md) · [早期交接](research/HandoffHistory-20261111-before-online-release.md)。私钥、证书、令牌、公证 profile 独立安全恢复,不进入仓库。