diff --git a/research/OnlineLUTIntegration-20261111.md b/research/OnlineLUTIntegration-20261111.md index b13de87..185b463 100644 --- a/research/OnlineLUTIntegration-20261111.md +++ b/research/OnlineLUTIntegration-20261111.md @@ -27,3 +27,5 @@ 部署与修正:两个新增生产文件已按映射部署并核对内容;线上 6 项未登录/伪造凭据检查通过,本地浏览器 40 项回归通过。127 候选 APP 已获 Apple Accepted 并完成票据验证,安装后的 CLI 检查期间停止交付,未进行用户界面验收或发布。保留 126 恢复 APP;127 的来源、公证和备份见 `verification/SupersededOnlineLUTBuild127.json`。补齐清除/本地选择时的在线选中状态复位,最终候选改为 1.22.0(128)。交付脚本安装后校验区在键盘中断时也执行回滚。 最终 UI 回归补充了在线比较标题使用 LUT 名称、来源切回本地时恢复打开文件夹按钮,以及清除和本地选择后的选中状态。128 候选在公证等待阶段停止,未安装;公证 ID 与来源见 `verification/SupersededOnlineLUTBuild128.json`,继续只读查询该提交,不重传相同产物。最终候选更新为 1.22.0(129)。 + +最终接入回归:44 项原生在线浏览器检查全部通过。比较区使用真实远程可见状态的隐藏视图验证,并明确检查 LUT 名称、清除状态、本地选中状态与打开文件夹按钮恢复;不显示未公证测试 APP。程序源码候选已冻结,接下来只进行正式签名、公证、安装、宿主与发行验收。 diff --git a/tools/verify_online_luts.mm b/tools/verify_online_luts.mm index e25739c..8e9aa04 100644 --- a/tools/verify_online_luts.mm +++ b/tools/verify_online_luts.mm @@ -27,7 +27,7 @@ static NSUInteger activePreviews=0,maxPreviews=0; 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)){ NSDate *end=[NSDate dateWithTimeIntervalSinceNow:15];while(!done()&&end.timeIntervalSinceNow>0)[[NSRunLoop mainRunLoop]runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:.01]]; - require(done(),@"asynchronous operation finished"); + if(!done())fprintf(stderr,"Last passed check: %s\n",[[checks.lastObject objectForKey:@"name"]UTF8String]);require(done(),@"asynchronous operation finished"); } static NSUInteger count(NSString *suffix){NSUInteger n=0;for(NSDictionary *r in requests)if([r[@"path"]hasSuffix:suffix])n++;return n;} static NSProgress *requestFixture(id cls,SEL sel,NSString *path,NSDictionary *body,BOOL authenticated,DYOnlineLUTReply reply){ @@ -69,7 +69,7 @@ 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"]; + 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:@"folderPaths"]count]==4,@"online categories include all and named categories"); diff --git a/verification/OnlineLUTNativeContracts.json b/verification/OnlineLUTNativeContracts.json index a918efb..229e873 100644 --- a/verification/OnlineLUTNativeContracts.json +++ b/verification/OnlineLUTNativeContracts.json @@ -1,6 +1,6 @@ { "scope" : "Isolated AppKit browser with simulated network replies; real Cube validation\/import; no user credentials, no production frame upload, no visible test app.", - "count" : 39, + "count" : 44, "pass" : true, "checks" : [ { @@ -123,6 +123,14 @@ "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 @@ -158,6 +166,18 @@ { "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 } ] } \ No newline at end of file diff --git a/开发交接.md b/开发交接.md index 6ae21e1..be81555 100644 --- a/开发交接.md +++ b/开发交接.md @@ -4,7 +4,7 @@ ## 2026-11-11 在线 LUT 下载可行性 -后续用户已要求实际接入在线分类、主 APP 登录、14421/15792 任一购买或会员权限,以及时间线帧在线效果预览。实现与生产路径见[专项记录](research/OnlineLUTIntegration-20261111.md),接入前基线为 `5fae1150f4b7b6087f5da8298b5ac3ad8916e529`。首个实现检查点已包含后端、主 APP 登录和浏览器接入;Release 编译、PHP/GD 权限渲染合约与 36 项原生在线浏览器检查通过。两个后端文件已部署,线上 6 项未授权检查及 40 项本地浏览器回归通过。最终候选为 1.22.0(129);127 公证安装后尚未完成 CLI 检查,已停止发行,126 恢复副本保留,详见专项记录。以下保留此前可行性结论。 +后续用户已要求实际接入在线分类、主 APP 登录、14421/15792 任一购买或会员权限,以及时间线帧在线效果预览。实现与生产路径见[专项记录](research/OnlineLUTIntegration-20261111.md),接入前基线为 `5fae1150f4b7b6087f5da8298b5ac3ad8916e529`。首个实现检查点已包含后端、主 APP 登录和浏览器接入;Release 编译、PHP/GD 权限渲染合约与 44 项原生在线浏览器检查通过。两个后端文件已部署,线上 6 项未授权检查及 40 项本地浏览器回归通过。最终候选为 1.22.0(129);127 公证安装后尚未完成 CLI 检查,已停止发行,126 恢复副本保留,详见专项记录。以下保留此前可行性结论。 用户询问 LUT 浏览器能否联网下载预置 LUT,随后明确关心 FxPlug4 插件独立界面本身是否能够联网。核对当前源码、正式安装元数据及 Apple 官方文档;正式版本仍为 **1.21.8(126)**。首轮接手提交 `f554b11e6c17aaf38a7ae136787cdbb3eb9d45da` 与远端 `main` 一致,可行性记录已保存为 `995ac745d05fa0f5f1bbd142ae4ef6af45e281df`。两轮均未修改功能、运行宿主或发布新版本。