比较提交
| 作者 | SHA1 | 提交日期 | |
|---|---|---|---|
|
|
46d7ff7bbc | ||
|
|
6541a4dd22 | ||
|
|
158829a418 | ||
|
|
6bc086ade0 | ||
|
|
7f833757da | ||
|
|
c7f6311506 | ||
|
|
da700d4e2f | ||
|
|
3524267800 | ||
|
|
31d1089264 | ||
|
|
d9de393f51 | ||
|
|
70348c4aef | ||
|
|
188553a613 | ||
|
|
8ef576b73d | ||
|
|
2ec2ee7ac5 | ||
|
|
d979f8958c | ||
|
|
4830f913c2 | ||
|
|
910b8c5c3e | ||
|
|
e1912f6cac | ||
|
|
22b23cf1e0 | ||
|
|
b98d92fad2 | ||
|
|
0631e8b6c3 | ||
|
|
5abe64481d | ||
|
|
42d130c811 | ||
|
|
f24c67907e | ||
|
|
a04c4a69ed | ||
|
|
a2a8624dc0 | ||
|
|
f7d0a80a2e | ||
|
|
5fae1150f4 | ||
|
|
995ac745d0 | ||
|
|
f554b11e6c | ||
|
|
76b7e7e8a3 |
没有与搜索条件相匹配的文件
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Deploy only the two reviewed online-LUT files from the scoped local workspace."""
|
||||
import json, os, shutil, subprocess
|
||||
from pathlib import Path
|
||||
from deploy import ROOT, LOCAL, NAS, STAMP, check_mount, deploy_file, sha, write_json
|
||||
|
||||
FILES=[Path('wp-content/mu-plugins/dayu-color-online-luts/renderer.php'),Path('wp-content/mu-plugins/dayu-color-online-luts.php')]
|
||||
|
||||
def main():
|
||||
mount=check_mount()
|
||||
contract=subprocess.run(['php',str(ROOT/'Backend/tests/online_luts.php')],capture_output=True,text=True,check=True)
|
||||
assert json.loads(contract.stdout)['pass']
|
||||
report=ROOT/'verification/OnlineLUTDeployment.json'
|
||||
previous=json.loads(report.read_text()) if report.exists() else {}
|
||||
old={entry['relativePath']:entry for entry in previous.get('files',[])}
|
||||
LOCAL.mkdir(parents=True,exist_ok=True);lock=LOCAL/'.deployment.lock';lock.mkdir()
|
||||
write_json(lock/'owner.json',dict(pid=os.getpid(),cwd=str(ROOT),started=STAMP))
|
||||
results=[]
|
||||
try:
|
||||
for relative in FILES:
|
||||
source=ROOT/'Backend'/relative;local=LOCAL/relative;target=NAS/relative
|
||||
subprocess.run(['php','-l',str(source)],check=True,capture_output=True)
|
||||
# Deploy only a remotely saved source checkpoint.
|
||||
tracked=subprocess.check_output(['git','show','HEAD:Backend/'+str(relative)],cwd=ROOT)
|
||||
assert tracked==source.read_bytes(),'Backend source is not committed'
|
||||
expected=old.get(str(relative),{}).get('sha256')
|
||||
if local.exists() and local.read_bytes()!=source.read_bytes():assert sha(local)==expected,'Local undeployed changes exist'
|
||||
local.parent.mkdir(parents=True,exist_ok=True);shutil.copyfile(source,local)
|
||||
result=deploy_file(local,target,allow_new=not expected,expected=expected)
|
||||
result['relativePath']=str(relative);result['readable']=os.access(target,os.R_OK);result['mode']=oct(target.stat().st_mode&0o777);results.append(result)
|
||||
write_json(report,dict(timestamp=STAMP,mount=mount,localProject=str(LOCAL),nasRoot=str(NAS),sourceCommit=subprocess.check_output(['git','rev-parse','HEAD'],cwd=ROOT,text=True).strip(),files=results))
|
||||
print(json.dumps(dict(deployed=len(results),report=str(report)),ensure_ascii=False))
|
||||
finally:
|
||||
shutil.rmtree(lock)
|
||||
if __name__=='__main__':main()
|
||||
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
// Isolated WordPress contract tests. Never load production configuration or user data.
|
||||
define('ABSPATH', __DIR__.'/'); define('ARRAY_A','ARRAY_A');
|
||||
class WP_Error { public $code,$message,$data; function __construct($c,$m,$d=array()){$this->code=$c;$this->message=$m;$this->data=$d;} }
|
||||
class WP_REST_Response { private $data; public $headers=array(); function __construct($d,$status=200){$this->data=$d;} function get_data(){return $this->data;} function header($k,$v){$this->headers[$k]=$v;} }
|
||||
class Request implements ArrayAccess {
|
||||
private $params,$headers;
|
||||
function __construct($p=array(),$token=''){$this->params=$p;$this->headers=array('authorization'=>$token?'Bearer '.$token:'');}
|
||||
function get_param($k){return $this->params[$k]??null;} function get_header($k){return $this->headers[$k]??'';} function get_body(){return json_encode($this->params);}
|
||||
function offsetExists($k):bool{return isset($this->params[$k]);} function offsetGet($k):mixed{return $this->get_param($k);} function offsetSet($k,$v):void{$this->params[$k]=$v;} function offsetUnset($k):void{unset($this->params[$k]);}
|
||||
}
|
||||
class WP_REST_Request extends Request {function __construct($method){parent::__construct();} function set_param($key,$value){$this[$key]=$value;}}
|
||||
class AuthBridge {function rest_check_access($request){if($request->get_param('token')!=='stub-valid-device-token')return new WP_Error('invalid','invalid',array('status'=>401));return array('success'=>true,'data'=>array('user_id'=>7));}}
|
||||
$GLOBALS['dayu_macos_app_auth']=new AuthBridge;
|
||||
$transients=array();$options=array();$meta=array();$purchase=array();$admin=false;$member=false;$bound=7;$rows=array();$checks=array();
|
||||
function add_action(...$a){} function add_filter(...$a){} function register_rest_route(...$a){} function wp_schedule_single_event(...$a){}
|
||||
function add_option($k,$v,...$a){global $options;if(isset($options[$k]))return false;$options[$k]=$v;return true;}
|
||||
function delete_option($k){global $options;unset($options[$k]);}
|
||||
function get_transient($k){global $transients;return $transients[$k]??false;} function set_transient($k,$v,$ttl){global $transients;$transients[$k]=$v;return true;} function delete_transient($k){global $transients;unset($transients[$k]);}
|
||||
function sanitize_key($v){return preg_replace('/[^a-z0-9_\-]/','',strtolower($v));} function sanitize_text_field($v){return trim(strip_tags($v));}
|
||||
function get_user_by($key,$id){return $id===7?(object)array('ID'=>7,'display_name'=>'测试用户'):false;}
|
||||
function get_user_meta($id,$key,$single){global $meta;return $meta[$key]??'';} function user_can($id,$cap){global $admin;return $admin;}
|
||||
function dayu_check_user_purchased_article($id,$post){global $purchase;return !empty($purchase[$post]);}
|
||||
function is_boosvip_status($id){global $member;return $member;}
|
||||
function is_wp_error($v){return $v instanceof WP_Error;}
|
||||
class DB {
|
||||
public $prefix='test_';
|
||||
function prepare($sql,...$args){if(count($args)===1&&is_array($args[0]))$args=$args[0];return array($sql,$args);}
|
||||
function get_var($q){global $bound;$sql=is_array($q)?$q[0]:$q;if(strpos($sql,'app_login_records')!==false)return $bound;if(strpos($sql,'COUNT(')!==false)return 1;return null;}
|
||||
function get_results($q,$mode=null){global $rows;return array_map(function($r){$row=(array)$r;$row['id']=(string)$row['id'];$row['file_size']=(string)$row['file_size'];return $row;},array_values(array_filter($rows,function($r){return $r->status==='published';})));}
|
||||
function get_col($q){return array('测试分类');} function esc_like($s){return addcslashes($s,'_%\\');}
|
||||
function get_row($q){global $rows;$id=$q[1][0];$row=$rows[$id]??null;return $row&&$row->status==='published'&&$row->material_type==='lut'?$row:null;}
|
||||
}
|
||||
$wpdb=new DB;
|
||||
require __DIR__.'/../wp-content/mu-plugins/dayu-color-online-luts.php';
|
||||
function check($pass,$name){global $checks;$checks[]=array('name'=>$name,'pass'=>(bool)$pass);if(!$pass){fwrite(STDERR,'FAIL '.$name."\n");exit(1);}}
|
||||
function denied($value,$status){return is_wp_error($value)&&($value->data['status']??0)===$status;}
|
||||
function body($value){return $value instanceof WP_REST_Response?$value->get_data():null;}
|
||||
check(!Dayu_Color_Online_LUTs::access(7),'ordinary account denied');
|
||||
foreach(array(14421,15792) as $post){$purchase=array($post=>true);check(Dayu_Color_Online_LUTs::access(7),'either individual purchase grants '.$post);}
|
||||
$purchase=array();$member=true;check(Dayu_Color_Online_LUTs::access(7),'active member allowed');$member=false;
|
||||
$meta=array('cao_user_type'=>'vip','cao_vip_end_time'=>'9999-09-09');check(Dayu_Color_Online_LUTs::access(7),'lifetime member allowed');
|
||||
$meta=array('cao_user_type'=>'vip','cao_vip_end_time'=>time()-1);check(!Dayu_Color_Online_LUTs::access(7),'expired member denied');
|
||||
$meta=array('cao_vip_type'=>'year','cao_vip_expire'=>time()+100);check(Dayu_Color_Online_LUTs::access(7),'legacy active membership supported');$meta=array();
|
||||
check(!Dayu_Color_Online_LUTs::access(8),'deleted user denied');
|
||||
$device='00000000-0000-0000-0000-000000000001';$key=str_repeat('a',40);$login='dayu_app_login_'.hash('sha256',$key);
|
||||
check(denied(Dayu_Color_Online_LUTs::device_login(new Request(array('device_uuid'=>$device))),400),'UUID alone cannot mint an online session');
|
||||
check(denied(Dayu_Color_Online_LUTs::device_login(new Request(array('device_uuid'=>$device,'login_token'=>str_repeat('x',30)))),401),'forged shared login token rejected');
|
||||
check(denied(Dayu_Color_Online_LUTs::device_login(new Request(array('device_uuid'=>'random-client-id','login_token'=>'stub-valid-device-token'))),400),'non-hardware UUID format rejected');
|
||||
$restored=body(Dayu_Color_Online_LUTs::device_login(new Request(array('device_uuid'=>$device,'login_token'=>'stub-valid-device-token'))));
|
||||
check(strlen($restored['token']??'')===64&&$restored['allowed']===false,'existing bound account restored without granting unpaid access');
|
||||
$bound=8;check(denied(Dayu_Color_Online_LUTs::device_login(new Request(array('device_uuid'=>$device,'login_token'=>'stub-valid-device-token'))),401),'shared login user must match current hardware binding');$bound=0;
|
||||
check(denied(Dayu_Color_Online_LUTs::device_login(new Request(array('device_uuid'=>$device,'login_token'=>'stub-valid-device-token'))),401),'unbound hardware cannot resume another account');$bound=7;
|
||||
check(body(Dayu_Color_Online_LUTs::logout(new Request(array(),$restored['token'])))['success']===true,'restored session can be revoked normally');
|
||||
$session=array('app_name'=>'DayuColor','device_uuid'=>$device,'expires_at'=>time()+120,'status'=>'pending','user_id'=>7);
|
||||
$transients[$login]=$session;
|
||||
check(body(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))))['status']==='pending','pending login cannot mint a credential');
|
||||
$transients[$login]['app_name']='FCPXSoundEffects';check(denied(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))),401),'another product login rejected');
|
||||
$transients[$login]=$session;$transients[$login]['status']='approved';
|
||||
$issued=Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device)));$token=body($issued)['token']??'';
|
||||
check(strlen($token)===64,'approved product login exchanges a random token');check($issued->headers['Cache-Control']==='no-store, private','credential responses cannot be cached');
|
||||
check(denied(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))),401),'one-time login replay rejected');
|
||||
check(denied(Dayu_Color_Online_LUTs::catalog(new Request()),401),'anonymous catalogue rejected');
|
||||
check(denied(Dayu_Color_Online_LUTs::download(new Request(array('id'=>1))),401),'anonymous file rejected');
|
||||
check(denied(Dayu_Color_Online_LUTs::preview(new Request(array('id'=>1))),401),'anonymous frame rejected before decoding');
|
||||
check(body(Dayu_Color_Online_LUTs::status(new Request(array(),$token)))['allowed']===false,'signed-in unpaid account has no online permission');
|
||||
check(denied(Dayu_Color_Online_LUTs::catalog(new Request(array(),$token)),403),'unpaid catalogue denied server-side');
|
||||
$purchase=array(15792=>true);
|
||||
check(body(Dayu_Color_Online_LUTs::status(new Request(array(),$token)))['allowed']===true,'new purchase is recognized without another login');
|
||||
$bound=8;check(denied(Dayu_Color_Online_LUTs::status(new Request(array(),$token)),401),'device rebind revokes previous session');$bound=7;
|
||||
$root=sys_get_temp_dir().'/dayu-color-lut-contract-'.bin2hex(random_bytes(8));mkdir($root);mkdir($root.'/materials');
|
||||
class Storage {public $root;function material_storage_root(){return $this->root;}}
|
||||
$storage=new Storage;$storage->root=$root;$GLOBALS['dayu_fcpx_sfx_api']=$storage;
|
||||
$cube="TITLE test\nLUT_3D_SIZE 2\n";for($z=0;$z<2;$z++)for($y=0;$y<2;$y++)for($x=0;$x<2;$x++)$cube.=(1-$x).' '.(1-$y).' '.(1-$z)."\n";
|
||||
$path=$root.'/materials/test.cube';file_put_contents($path,$cube);
|
||||
$rows[1]=(object)array('id'=>1,'title'=>'测试 LUT','category'=>'测试分类','file_size'=>strlen($cube),'checksum'=>hash('sha256',$cube),'material_type'=>'lut','status'=>'published','relative_path'=>'test.cube');
|
||||
$rows[2]=clone $rows[1];$rows[2]->id=2;$rows[2]->status='draft';
|
||||
check(count(body(Dayu_Color_Online_LUTs::catalog(new Request(array(),$token)))['items'])===1,'catalogue excludes private drafts');
|
||||
$serialized=body(Dayu_Color_Online_LUTs::catalog(new Request(array(),$token)))['items'][0];check(is_int($serialized['id'])&&is_int($serialized['file_size']),'SQL string identifiers and sizes serialize as JSON numbers for the native client');
|
||||
check(body(Dayu_Color_Online_LUTs::download(new Request(array('id'=>1),$token))) instanceof Dayu_Color_LUT_Binary,'authorized published LUT streams original bytes');
|
||||
check(denied(Dayu_Color_Online_LUTs::download(new Request(array('id'=>2),$token)),404),'private LUT cannot be downloaded by guessed ID');
|
||||
$rows[1]->relative_path='../outside.cube';file_put_contents($root.'/outside.cube',$cube);
|
||||
check(denied(Dayu_Color_Online_LUTs::download(new Request(array('id'=>1),$token)),503),'catalogue path traversal rejected');$rows[1]->relative_path='test.cube';
|
||||
$rows[1]->checksum=str_repeat('0',64);check(denied(Dayu_Color_Online_LUTs::download(new Request(array('id'=>1),$token)),503),'server rejects modified LUT bytes');$rows[1]->checksum=hash('sha256',$cube);
|
||||
$image=imagecreatetruecolor(3,2);imagesetpixel($image,0,0,0x204060);imagesetpixel($image,1,0,0xabcdef);ob_start();imagepng($image);$png=ob_get_clean();unset($image);
|
||||
$render=Dayu_Color_LUT_Renderer::render($path,$png);check(is_string($render),'renderer returns a PNG');$out=imagecreatefromstring($render);
|
||||
check(imagesx($out)===3&&imagesy($out)===2,'renderer preserves source aspect and size');check((imagecolorat($out,0,0)&0xffffff)===0xdfbf9f,'known inverse LUT transforms pixel values correctly');unset($out);
|
||||
$preview=body(Dayu_Color_Online_LUTs::preview(new Request(array('id'=>1,'frame_png'=>base64_encode($png)),$token)));check($preview instanceof Dayu_Color_LUT_Binary&&$preview->bytes()===$render,'authorized frame route returns the actual LUT effect');
|
||||
check(is_wp_error(Dayu_Color_LUT_Renderer::render($path,'invalid')),'malformed image rejected');
|
||||
$large=imagecreatetruecolor(641,1);ob_start();imagepng($large);$too_large=ob_get_clean();unset($large);check(is_wp_error(Dayu_Color_LUT_Renderer::render($path,$too_large)),'over-limit image rejected');
|
||||
file_put_contents($path,"LUT_3D_SIZE 2\n0 0 0\n");check(is_wp_error(Dayu_Color_LUT_Renderer::render($path,$png)),'truncated LUT rejected');
|
||||
file_put_contents($path,"\xff\xfe".iconv('UTF-8','UTF-16LE',$cube));check(is_string(Dayu_Color_LUT_Renderer::render($path,$png)),'UTF-16 BOM LUT supported');
|
||||
$purchase=array();check(denied(Dayu_Color_Online_LUTs::preview(new Request(array('id'=>1,'frame_png'=>base64_encode($png)),$token)),403),'permission revoked before another frame is processed');
|
||||
check(body(Dayu_Color_Online_LUTs::logout(new Request(array(),$token)))['success']===true,'logout invalidates server credential');check(denied(Dayu_Color_Online_LUTs::status(new Request(array(),$token)),401),'logged-out token cannot be reused');
|
||||
unlink($path);unlink($root.'/outside.cube');rmdir($root.'/materials');rmdir($root);
|
||||
$report=array('pass'=>true,'count'=>count($checks),'scope'=>'Isolated PHP/GD contracts; synthetic users, purchases and frames; no production credentials or account data.','checks'=>$checks);
|
||||
echo json_encode($report,JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE)."\n";
|
||||
@@ -0,0 +1,180 @@
|
||||
<?php
|
||||
/** Plugin Name: Dayu Color Online LUTs
|
||||
* Product-scoped sessions and access to the existing published LUT catalogue.
|
||||
*/
|
||||
if (!defined('ABSPATH')) { exit; }
|
||||
require_once __DIR__ . '/dayu-color-online-luts/renderer.php';
|
||||
|
||||
final class Dayu_Color_LUT_Binary {
|
||||
private $path;
|
||||
private $bytes;
|
||||
private $mime;
|
||||
public function __construct($path, $bytes, $mime) { $this->path=$path; $this->bytes=$bytes; $this->mime=$mime; }
|
||||
public function send() {
|
||||
header('Content-Type: ' . $this->mime);
|
||||
header('Cache-Control: no-store, private');
|
||||
header('X-Content-Type-Options: nosniff');
|
||||
header('Content-Length: ' . ($this->path ? filesize($this->path) : strlen($this->bytes)));
|
||||
if ($this->path) { readfile($this->path); } else { echo $this->bytes; }
|
||||
}
|
||||
public function bytes() { return $this->bytes; }
|
||||
}
|
||||
|
||||
final class Dayu_Color_Online_LUTs {
|
||||
const APP = 'DayuColor';
|
||||
const TTL = 2592000;
|
||||
public static function init() {
|
||||
add_action('rest_api_init', array(__CLASS__, 'routes'));
|
||||
add_filter('rest_pre_serve_request', array(__CLASS__, 'serve'), 10, 4);
|
||||
add_action('dayu_color_lut_consumed_cleanup', 'delete_option');
|
||||
}
|
||||
public static function routes() {
|
||||
foreach (array('session'=>'exchange', 'device'=>'device_login', 'status'=>'status', 'logout'=>'logout', 'catalog'=>'catalog', '(?P<id>\d+)/download'=>'download', '(?P<id>\d+)/preview'=>'preview') as $path=>$handler) {
|
||||
register_rest_route('dayu-color/v1', '/lut/' . $path, array('methods'=>'POST', 'callback'=>array(__CLASS__, $handler), 'permission_callback'=>'__return_true'));
|
||||
}
|
||||
}
|
||||
public static function serve($served, $result, $request, $server) {
|
||||
if (strpos($request->get_route(), '/dayu-color/v1/lut/') !== 0) { return $served; }
|
||||
$data=$result->get_data();
|
||||
if ($data instanceof Dayu_Color_LUT_Binary) { $data->send(); return true; }
|
||||
return $served;
|
||||
}
|
||||
private static function response($data) {
|
||||
$response=new WP_REST_Response($data, 200);
|
||||
$response->header('Cache-Control', 'no-store, private');
|
||||
return $response;
|
||||
}
|
||||
private static function error($code, $message, $status) { return new WP_Error('dayu_color_lut_' . $code, $message, array('status'=>$status)); }
|
||||
private static function device($value) {
|
||||
$value=strtoupper(trim((string)$value));
|
||||
return preg_match('/^[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12}$/D', $value) ? $value : '';
|
||||
}
|
||||
private static function bound_user($device) {
|
||||
global $wpdb;
|
||||
return intval($wpdb->get_var($wpdb->prepare("SELECT user_id FROM {$wpdb->prefix}app_login_records WHERE device_uuid=%s AND is_active=1 ORDER BY last_active DESC, id DESC LIMIT 1", $device)));
|
||||
}
|
||||
public static function access($user_id) {
|
||||
if (!$user_id || !get_user_by('ID', $user_id)) { return false; }
|
||||
if (user_can($user_id, 'manage_options')) { return true; }
|
||||
if (class_exists('CaoUser')) { $user=new CaoUser($user_id); if (method_exists($user, 'vip_status') && $user->vip_status()) { return true; } }
|
||||
if (function_exists('is_boosvip_status') && is_boosvip_status($user_id)) { return true; }
|
||||
$type=get_user_meta($user_id, 'cao_user_type', true);
|
||||
$end=get_user_meta($user_id, 'cao_vip_end_time', true);
|
||||
$until=is_numeric($end) ? intval($end) : strtotime((string)$end);
|
||||
if ($type === 'vip' && ($end === '9999-09-09' || ($until && $until > time()))) { return true; }
|
||||
if (get_user_meta($user_id, 'cao_vip_type', true) && intval(get_user_meta($user_id, 'cao_vip_expire', true)) > time()) { return true; }
|
||||
global $wpdb;
|
||||
foreach (array(14421, 15792) as $post) {
|
||||
if (function_exists('dayu_check_user_purchased_article') && dayu_check_user_purchased_article($user_id, $post)) { return true; }
|
||||
if ($wpdb->get_var($wpdb->prepare("SELECT id FROM {$wpdb->prefix}cao_paylog WHERE user_id=%d AND post_id=%d AND status=1 LIMIT 1", $user_id, $post))) { return true; }
|
||||
}
|
||||
return false;
|
||||
}
|
||||
public static function exchange($request) {
|
||||
$key=(string)$request->get_param('session_key'); $device=self::device($request->get_param('device_uuid'));
|
||||
if (!$device || !preg_match('/^[A-Za-z0-9_-]{32,80}$/D', $key)) { return self::error('login', '登录会话无效,请重新登录。', 400); }
|
||||
$transient='dayu_app_login_' . hash('sha256', $key); $session=get_transient($transient);
|
||||
if (!is_array($session) || intval($session['expires_at'] ?? 0) < time() || ($session['app_name'] ?? '') !== self::APP || !hash_equals((string)($session['device_uuid'] ?? ''), $device)) { return self::error('expired', '登录会话已过期,请重新登录。', 401); }
|
||||
if (($session['status'] ?? '') !== 'approved') { return self::response(array('status'=>sanitize_key($session['status'] ?? 'pending'), 'message'=>sanitize_text_field($session['message'] ?? '等待微信登录'))); }
|
||||
$user_id=intval($session['user_id'] ?? 0);
|
||||
if (!$user_id || self::bound_user($device) !== $user_id || !get_user_by('ID', $user_id)) { return self::error('binding', '账号绑定已变化,请重新登录。', 401); }
|
||||
// Atomic one-time exchange; add_option is unique in the shared DB, unlike get/set transient pairs.
|
||||
$once='dayu_color_lut_once_' . hash('sha256', $key);
|
||||
if (!add_option($once, time(), '', false)) { return self::error('used', '登录会话已使用,请重新登录。', 401); }
|
||||
delete_transient($transient);
|
||||
// Keep the marker past the original login lifetime, including concurrent poll requests.
|
||||
wp_schedule_single_event(time()+1200, 'dayu_color_lut_consumed_cleanup', array($once));
|
||||
return self::issue($user_id, $device);
|
||||
}
|
||||
private static function issue($user_id, $device) {
|
||||
$token=bin2hex(random_bytes(32)); $expires=time()+self::TTL;
|
||||
set_transient('dayu_color_lut_' . hash('sha256', $token), array('user_id'=>$user_id, 'device'=>$device, 'expires'=>$expires), self::TTL);
|
||||
return self::response(array('status'=>'approved', 'token'=>$token, 'expires_at'=>$expires, 'allowed'=>self::access($user_id), 'username'=>get_user_by('ID', $user_id)->display_name));
|
||||
}
|
||||
public static function device_login($request) {
|
||||
// Reuse the existing hardware-UUID login's JWT verification. Never accept
|
||||
// a submitted user ID or UUID alone as an online LUT session credential.
|
||||
$device=self::device($request->get_param('device_uuid'));
|
||||
$token=(string)$request->get_param('login_token');
|
||||
if (!$device || strlen($token)<20 || strlen($token)>8192) { return self::error('device_login', '设备登录凭据无效,请重新识别本机账号。', 400); }
|
||||
foreach (array('device'=>array($device,30), 'ip'=>array((string)($_SERVER['REMOTE_ADDR']??''),120)) as $scope=>$limit) {
|
||||
$key='dayu_color_lut_login_' . $scope . '_' . hash('sha256',$limit[0]) . '_' . intval(time()/600);
|
||||
$count=intval(get_transient($key));
|
||||
if ($count >= $limit[1]) { return self::error('rate', '设备验证过于频繁,请稍后重试。', 429); }
|
||||
set_transient($key,$count+1,600);
|
||||
}
|
||||
$auth=$GLOBALS['dayu_macos_app_auth']??null;
|
||||
if (!$auth || !is_callable(array($auth,'rest_check_access'))) { return self::error('auth_unavailable','账号服务暂不可用,请稍后重试。',503); }
|
||||
$proof=new WP_REST_Request('POST');
|
||||
foreach (array('token'=>$token,'device_uuid'=>$device,'app_name'=>self::APP,'article_id'=>14421,'allow_vip'=>1) as $key=>$value) { $proof->set_param($key,$value); }
|
||||
$verified=$auth->rest_check_access($proof);
|
||||
if (is_wp_error($verified)) { return self::error('device_login','本机账号验证已失效,请刷新或重新微信登录。',401); }
|
||||
$user_id=intval($verified['data']['user_id']??0);
|
||||
if (($verified['success']??false)!==true || !$user_id || self::bound_user($device)!==$user_id || !get_user_by('ID',$user_id)) { return self::error('binding','本机尚未绑定此账号,请在主 APP 重新登录。',401); }
|
||||
return self::issue($user_id,$device);
|
||||
}
|
||||
private static function authentication($request, $paid=true) {
|
||||
$header=trim((string)$request->get_header('authorization'));
|
||||
if (!preg_match('/^Bearer ([a-f0-9]{64})$/D', $header, $match)) { return self::error('login_required', '请先在大鱼调色主 APP 登录。', 401); }
|
||||
$key='dayu_color_lut_' . hash('sha256', $match[1]); $session=get_transient($key);
|
||||
if (!is_array($session) || intval($session['expires'] ?? 0)<time() || self::bound_user($session['device']) !== intval($session['user_id']) || !get_user_by('ID', intval($session['user_id']))) { return self::error('login_required', '登录已失效,请在主 APP 重新登录。', 401); }
|
||||
if ($paid && !self::access(intval($session['user_id']))) { return self::error('access_denied', '在线 LUT 需要有效会员,或已购买文章 14421 / 15792。', 403); }
|
||||
$session['key']=$key; return $session;
|
||||
}
|
||||
public static function status($request) {
|
||||
$session=self::authentication($request, false); if (is_wp_error($session)) { return $session; }
|
||||
return self::response(array('allowed'=>self::access($session['user_id']), 'username'=>get_user_by('ID', $session['user_id'])->display_name, 'expires_at'=>$session['expires'], 'renderer'=>function_exists('imagecreatefromstring')));
|
||||
}
|
||||
public static function logout($request) {
|
||||
$session=self::authentication($request, false); if (is_wp_error($session)) { return $session; }
|
||||
delete_transient($session['key']); return self::response(array('success'=>true));
|
||||
}
|
||||
public static function catalog($request) {
|
||||
$session=self::authentication($request); if (is_wp_error($session)) { return $session; }
|
||||
global $wpdb; $table=$wpdb->prefix . 'dayu_sfx_materials';
|
||||
$page=max(1, intval($request->get_param('page'))); $limit=60;
|
||||
$category=mb_substr(sanitize_text_field((string)$request->get_param('category')), 0, 191);
|
||||
$search=mb_substr(sanitize_text_field((string)$request->get_param('search')), 0, 100);
|
||||
$where="material_type='lut' AND status='published'"; $values=array();
|
||||
if ($category!=='') { $where.=' AND category=%s'; $values[]=$category; }
|
||||
if ($search!=='') { $where.=' AND (title LIKE %s OR category LIKE %s)'; $like='%'.$wpdb->esc_like($search).'%'; array_push($values, $like, $like); }
|
||||
$count="SELECT COUNT(*) FROM {$table} WHERE {$where}";
|
||||
$total=intval($wpdb->get_var($values ? $wpdb->prepare($count, $values) : $count));
|
||||
$rows=$wpdb->get_results($wpdb->prepare("SELECT id,title,category,file_size,checksum FROM {$table} WHERE {$where} ORDER BY title ASC,id ASC LIMIT %d OFFSET %d", array_merge($values, array($limit,($page-1)*$limit))), ARRAY_A);
|
||||
$categories=$wpdb->get_col("SELECT DISTINCT category FROM {$table} WHERE material_type='lut' AND status='published' AND category<>'' ORDER BY category ASC");
|
||||
$rows=(array)$rows; foreach ($rows as &$row) { $row['id']=intval($row['id']); $row['file_size']=intval($row['file_size']); } unset($row);
|
||||
return self::response(array('items'=>(array)$rows, 'categories'=>array_values((array)$categories), 'page'=>$page, 'total'=>$total, 'per_page'=>$limit));
|
||||
}
|
||||
private static function material($id) {
|
||||
global $wpdb;
|
||||
$row=$wpdb->get_row($wpdb->prepare("SELECT * FROM {$wpdb->prefix}dayu_sfx_materials WHERE id=%d AND material_type='lut' AND status='published'", intval($id)));
|
||||
if (!$row) { return self::error('missing', '此 LUT 已下架或不存在。', 404); }
|
||||
$api=$GLOBALS['dayu_fcpx_sfx_api'] ?? null;
|
||||
if (!$api || !method_exists($api, 'material_storage_root')) { return self::error('storage', '素材服务暂不可用。', 503); }
|
||||
$root=realpath($api->material_storage_root().'/materials');
|
||||
$path=$root ? realpath($root.'/'.ltrim($row->relative_path, '/\\')) : false;
|
||||
if (!$root || !$path || strpos($path, $root.DIRECTORY_SEPARATOR)!==0 || strtolower(pathinfo($path,PATHINFO_EXTENSION))!=='cube' || !is_file($path) || !is_readable($path) || filesize($path)>67108864 || !hash_equals(strtolower($row->checksum), hash_file('sha256',$path))) { return self::error('file', 'LUT 文件未通过完整性检查。', 503); }
|
||||
return $path;
|
||||
}
|
||||
public static function download($request) {
|
||||
$session=self::authentication($request); if (is_wp_error($session)) { return $session; }
|
||||
$path=self::material($request['id']); if (is_wp_error($path)) { return $path; }
|
||||
return self::response(new Dayu_Color_LUT_Binary($path, null, 'application/octet-stream'));
|
||||
}
|
||||
public static function preview($request) {
|
||||
$session=self::authentication($request); if (is_wp_error($session)) { return $session; }
|
||||
if (strlen($request->get_body())>2100000) { return self::error('frame_size', '预览帧过大。', 413); }
|
||||
$rate='dayu_color_lut_rate_' . $session['user_id'].'_'.intval(time()/60);
|
||||
$count=intval(get_transient($rate)); if ($count>=120) { return self::error('rate', '预览请求较多,请稍后刷新。', 429); }
|
||||
set_transient($rate, $count+1, 120);
|
||||
$path=self::material($request['id']); if (is_wp_error($path)) { return $path; }
|
||||
$encoded=$request->get_param('frame_png');
|
||||
if (!is_string($encoded) || strlen($encoded)>2000000) { return self::error('frame', '预览帧无效。', 400); }
|
||||
$bytes=base64_decode($encoded, true);
|
||||
if (!is_string($bytes) || strlen($bytes)>1500000) { return self::error('frame', '预览帧无效。', 400); }
|
||||
$result=Dayu_Color_LUT_Renderer::render($path, $bytes);
|
||||
if (is_wp_error($result)) { return $result; }
|
||||
return self::response(new Dayu_Color_LUT_Binary(null, $result, 'image/png'));
|
||||
}
|
||||
}
|
||||
Dayu_Color_Online_LUTs::init();
|
||||
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
if (!defined('ABSPATH')) { exit; }
|
||||
|
||||
/** Display-reference renderer. Uploaded PNGs and returned PNGs stay in request memory. */
|
||||
final class Dayu_Color_LUT_Renderer {
|
||||
private static function error($message) { return new WP_Error('dayu_color_lut_render', $message, array('status'=>422)); }
|
||||
public static function read_cube($path) {
|
||||
$text=file_get_contents($path);
|
||||
if (!is_string($text) || strlen($text)>67108864) { return self::error('无法读取 LUT。'); }
|
||||
foreach (array("\x00\x00\xfe\xff"=>'UTF-32BE', "\xff\xfe\x00\x00"=>'UTF-32LE', "\xfe\xff"=>'UTF-16BE', "\xff\xfe"=>'UTF-16LE') as $bom=>$encoding) {
|
||||
if (strncmp($text, $bom, strlen($bom))===0) { $text=iconv($encoding, 'UTF-8', substr($text,strlen($bom))); break; }
|
||||
}
|
||||
if (!is_string($text) || strpos($text,"\0")!==false) { return self::error('LUT 编码无效。'); }
|
||||
$text=preg_replace('/^\xEF\xBB\xBF/', '', $text);
|
||||
$n=0; $rows=0; $packed=''; $min=array(0,0,0); $max=array(1,1,1);
|
||||
$stream=fopen('php://memory', 'w+'); fwrite($stream,str_replace("\r","\n",$text)); rewind($stream); unset($text);
|
||||
while (($line=fgets($stream))!==false) {
|
||||
$line=trim(explode('#',$line,2)[0]); if ($line==='') { continue; }
|
||||
if (preg_match('/^LUT_3D_SIZE\s+(\d+)\s*$/D',$line,$m)) {
|
||||
if ($n || intval($m[1])<2 || intval($m[1])>128) { fclose($stream); return self::error('LUT 尺寸无效。'); }
|
||||
$n=intval($m[1]); continue;
|
||||
}
|
||||
if (preg_match('/^(DOMAIN_MIN|DOMAIN_MAX)\s+(.+)$/D',$line,$m)) {
|
||||
$parts=preg_split('/\s+/',trim($m[2]));
|
||||
if (count($parts)!==3 || count(array_filter($parts,'is_numeric'))!==3) { fclose($stream); return self::error('LUT DOMAIN 无效。'); }
|
||||
if ($m[1]==='DOMAIN_MIN') { $min=array_map('floatval',$parts); } else { $max=array_map('floatval',$parts); }
|
||||
continue;
|
||||
}
|
||||
if (preg_match('/^(TITLE|LUT_3D_INPUT_RANGE)(?:\s|$)/',$line)) { continue; }
|
||||
$parts=preg_split('/\s+/', $line);
|
||||
if (!$n || count($parts)!==3 || count(array_filter($parts,'is_numeric'))!==3 || $rows>=$n*$n*$n) { fclose($stream); return self::error('LUT 数据格式无效。'); }
|
||||
$rgb=array_map('floatval',$parts);
|
||||
foreach ($rgb as $v) { if (!is_finite($v)) { fclose($stream); return self::error('LUT 含无效数字。'); } }
|
||||
$packed.=pack('g3',$rgb[0],$rgb[1],$rgb[2]); $rows++;
|
||||
}
|
||||
fclose($stream);
|
||||
for ($c=0;$c<3;$c++) { if (!is_finite($min[$c]) || !is_finite($max[$c]) || $max[$c]<=$min[$c]) { return self::error('LUT DOMAIN 无效。'); } }
|
||||
if (!$n || $rows!==$n*$n*$n) { return self::error('LUT 数据不完整。'); }
|
||||
return array($n,$packed,$min,$max);
|
||||
}
|
||||
public static function sample($table, $rgb) {
|
||||
list($n,$packed,$min,$max)=$table; $index=array(); $fraction=array();
|
||||
for ($c=0;$c<3;$c++) {
|
||||
$s=max(0.,min(1.,($rgb[$c]-$min[$c])/($max[$c]-$min[$c])))*($n-1);
|
||||
$index[$c]=min($n-2,intval($s)); $fraction[$c]=$s-$index[$c];
|
||||
}
|
||||
$out=array(0.,0.,0.);
|
||||
for ($k=0;$k<8;$k++) {
|
||||
$x=$k&1; $y=($k>>1)&1; $z=($k>>2)&1;
|
||||
$offset=((($index[2]+$z)*$n+$index[1]+$y)*$n+$index[0]+$x)*12;
|
||||
$v=unpack('g3',$packed,$offset);
|
||||
$w=($x?$fraction[0]:1-$fraction[0])*($y?$fraction[1]:1-$fraction[1])*($z?$fraction[2]:1-$fraction[2]);
|
||||
for ($c=0;$c<3;$c++) { $out[$c]+=$v[$c+1]*$w; }
|
||||
}
|
||||
return $out;
|
||||
}
|
||||
public static function render($path, $bytes) {
|
||||
if (!function_exists('imagecreatefromstring')) { return self::error('服务器图像处理暂不可用。'); }
|
||||
$size=@getimagesizefromstring($bytes);
|
||||
if (!$size || $size[2]!==IMAGETYPE_PNG || $size[0]<1 || $size[1]<1 || max($size[0],$size[1])>640 || $size[0]*$size[1]>230400) { return self::error('请发送最长边不超过 640 像素的 PNG 预览帧。'); }
|
||||
$table=self::read_cube($path); if (is_wp_error($table)) { return $table; }
|
||||
$input=@imagecreatefromstring($bytes); if (!$input) { return self::error('无法解码预览帧。'); }
|
||||
$output=imagecreatetruecolor($size[0],$size[1]); imagealphablending($output,false); imagesavealpha($output,true);
|
||||
// Memoize repeated display pixels within this request only. No frame cache on disk or in WP.
|
||||
$memo=array();
|
||||
for ($y=0;$y<$size[1];$y++) { for ($x=0;$x<$size[0];$x++) {
|
||||
$pixel=imagecolorat($input,$x,$y);
|
||||
if (isset($memo[$pixel])) { $color=$memo[$pixel]; } else {
|
||||
$rgba=imagecolorsforindex($input,$pixel);
|
||||
$v=self::sample($table,array($rgba['red']/255,$rgba['green']/255,$rgba['blue']/255));
|
||||
$color=($rgba['alpha']<<24)|(intval(round(max(0,min(1,$v[0]))*255))<<16)|(intval(round(max(0,min(1,$v[1]))*255))<<8)|intval(round(max(0,min(1,$v[2]))*255));
|
||||
if (count($memo)<65536) { $memo[$pixel]=$color; }
|
||||
}
|
||||
imagesetpixel($output,$x,$y,$color);
|
||||
} }
|
||||
ob_start(); imagepng($output,null,3); $png=ob_get_clean();
|
||||
unset($input, $output);
|
||||
return $png;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
大鱼调色 1.22.0(131)增加在线 LUT 库。
|
||||
|
||||
- 主 APP 启动时使用 macOS 硬件 UUID 识别已绑定的大鱼账号,支持免扫码恢复;未绑定机器支持微信登录。提供刷新权限和退出登录,退出后不会立即自动重新登录。购买过文章 14421、15792 中任意一个,或当前为有效会员,即可使用全部已发布在线 LUT。
|
||||
- 插件 LUT 浏览器增加在线来源、分类、分页和搜索。点击 LUT 后下载并检查文件大小、SHA-256 和 Cube 内容,保存到本地库后应用;相同文件重复下载复用已有副本。
|
||||
- 点击“预览当前帧”会将当前时间线帧的 PNG 缩略图发送到 dayu.media,在服务器应用相应 LUT 并返回效果预览。最长边不超过 640 像素;不上传原始视频、文件路径或项目名称。服务器在请求内存中处理,不保存预览帧。移动播放头不会自动上传新帧,需要再次点击更新。
|
||||
- 在线预览为 8-bit 显示参考;实际调色仍使用下载后的本地 LUT 和原有浮点渲染流程。本地 LUT 导入与调色继续可离线使用。
|
||||
|
||||
适用于 Apple Silicon,macOS 14.6 或更高版本,Final Cut Pro / Motion。安装前请保存工作并正常退出 FCP、Motion 和大鱼调色主 APP。安装后打开主 APP 自动识别本机已绑定账号;未绑定时完成微信登录,再在插件 LUT 浏览器切换“在线 LUT”。
|
||||
|
||||
正式签名、公证、安装、宿主验收与安装包校验结果见本版本交付记录。
|
||||
|
||||
实际 APP 编译提交:`d979f8958caf36cc7b97ea838960c69f7fbb4d91`。APP 与安装包均完成 Developer ID 签名、Apple 公证和票据验证;FCP 12.4 合成时间线已验证硬件账号恢复、云端预览和下载应用。新机未绑定时的首次微信 OAuth 扫码及 Motion 宿主未实测。
|
||||
|
||||
安装包:`大鱼调色-1.22.0.pkg`,44557321 字节。
|
||||
|
||||
SHA-256:`82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd`。
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"title": "大鱼调色 1.21.8 公测版|多层调色与拖动优化",
|
||||
"content": "<!-- wp:paragraph -->\n<p>大鱼调色是适用于 Final Cut Pro 和 Motion 的原生 FxPlug 4 调色插件。1.21.8(构建 126)降低多层调色与蒙版混合的渲染耗时,改善曲线、一级白平衡轮和颜色分级轮的拖动响应。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>本文主下载已更新为 1.21.8(构建 126)。同一个 PKG 已包含“大鱼调色”整合效果和全部 16 个独立模块效果,以及所需的完整主 App,无需另外下载安装独立模块。</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>官方原始安装包不加密,不限制安装数量。</strong> 安装和使用无需登录、激活码或机器码。原始 PKG 可以原样转发,请保持安装包完整。禁止二次加密或加上一机一码后分发。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.8 多层调色与拖动优化</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>多层调色减少 GPU 等待。几何蒙版省去多余的色彩转换,羽化与部分覆盖继续按原方式混合。在 Apple M4 的插件单帧渲染测试中,4K 曝光加 HSL 蒙版由 87.7 毫秒降到 75.0 毫秒,一级 CST 加蒙版由 49.5 毫秒降到 42.8 毫秒。128 帧对照输出逐字节一致。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>从 1.21.6 升级后,蜘蛛盘、曲线、一级白平衡轮和颜色分级轮会合并拖动中的参数写入。松手提交最终值,每次拖动可一次撤销。曲线和两种色轮已在 Final Cut Pro 12.4 工作台验证。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.6 LUT 浏览器更新</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>点击已生成的缩略图时,右侧划像直接复用这张图,左侧原图和列表缩略图继续显示。移动播放头后,新预览在后台生成,就绪后再替换。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>缩略图和划像按源帧比例显示,竖屏、方形和宽画幅都能保留原构图。同一次打开期间,点选 LUT 时列表顺序保持稳定。重新打开浏览器后,最近成功应用的 LUT 会排到前面。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.3 高清 LUT 预览与划像对比</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>打开“风格 LUT”的缩略图浏览库,勾选底部的“高清预览”。缩略图从 640×360 源帧生成双倍像素图,重开浏览器时会记住此设置。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>选中一个 LUT 后,右侧大图显示同一帧。左侧是应用当前 LUT 前的画面,右侧是 100% LUT 效果。拖动分界线或下方滑杆,即可查看画面细节和颜色差异。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:image {\"id\":15919,\"sizeSlug\":\"full\",\"linkDestination\":\"media\"} -->\n<figure class=\"wp-block-image size-full\"><a href=\"https://dayu.media/wp-content/uploads/2026/11/1794138126-43434ffd5f06df6.png\"><img src=\"https://dayu.media/wp-content/uploads/2026/11/1794138126-43434ffd5f06df6.png\" alt=\"大鱼调色 LUT 浏览器。红色箭头标出高清预览,右侧显示原图与 LUT 的同帧划像对比。\" class=\"wp-image-15919\" width=\"2614\" height=\"1696\" /></a><figcaption class=\"wp-element-caption\">勾选底部“高清预览”,在右侧滑动比较原图与当前 LUT。点击图片可查看原尺寸。</figcaption></figure>\n<!-- /wp:image -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">马赛克目标蒙版追踪提速</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>Metal 将画面直接写入 Vision 可读的共享像素缓冲,省去每帧的 CPU 像素转换。Mac mini M4 在 Final Cut Pro 12.4 中使用同一段 4K 素材,从点击“正向跟踪”到界面确认保存轨迹,三次热态测试的中位数从 3.682 秒降至 3.217 秒,缩短 12.6%。两版的 285 个轨迹键及导出的 285 帧马赛克画面逐一一致。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.1 首开波形与人脸肤色保护优化</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>片尾暂停时,打开控制面板即可显示波形。</strong>在 Final Cut Pro 12.4 中,用 60p 素材和 25p 项目复测。停在片尾首次打开及同帧重开,亮度波形、RGB 分列、直方图和矢量图都自动显示,每种各有 57,600 个有效取样。两次打开都无需移动播放头或修改调色。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>开启人脸肤色保护后,减少轮廓计算。</strong>GPU 在实际脸部轮廓的外接范围内计算精细蒙版,保留眼、眉和嘴部的排除规则。下表是 Mac mini M4 上同一人像、开启人脸肤色保护的单帧渲染中位数。</p>\n<!-- /wp:paragraph --Line truncated
|
||||
"excerpt": "大鱼调色 1.21.8(构建 126)降低多层调色和蒙版混合的耗时,改善曲线、一级白平衡轮和颜色分级轮的拖动响应。已在 Final Cut Pro 12.4 验证拖动与一次撤销。",
|
||||
"resource": {
|
||||
"cao_downurl": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"cao_original_filename": "大鱼调色-1.21.8.pkg"
|
||||
},
|
||||
"seo": {
|
||||
"title": {
|
||||
"value": "大鱼调色 1.21.8 公测版|多层调色与拖动优化"
|
||||
},
|
||||
"description": {
|
||||
"value": "大鱼调色 1.21.8 适用于 Final Cut Pro 和 Motion,优化多层调色、蒙版混合及曲线与色轮拖动。已签名公证的 PKG 包含完整主 App、整合调色效果及 16 个独立模块。"
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -144,7 +144,7 @@ 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天。主 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")
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# 大鱼调色 1.22.1(133)
|
||||
|
||||
- 打开 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 项本地浏览器回归;正式 APP、宿主与安装包结果见该版本验证记录。
|
||||
+40
@@ -1,3 +1,43 @@
|
||||
# 2026-11-11 本地调试验收:1.22.1(133)
|
||||
|
||||
当前固定路径 `/Library/Plug-Ins/FxPlug/大鱼调色.app` 是用户明确授权的 **未公证 Debug 测试版**;用户已确认“我已测试可行”。实际编译节点 `7f833757da243f2a4610c23c36ec278b44c80ad4`,远程 `https://dayu.media/git/dayu/dayu-color.git` 的 main 历史可恢复。原 131 公证版保留于 `/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app`,勿在正式版验收前删除。
|
||||
|
||||
恢复本轮源码可克隆后 `git switch --detach 7f833757da243f2a4610c23c36ec278b44c80ad4`。68 项在线/分类及40项本地浏览器检查通过;133 Release 配置构建和1,028项发布前检查已通过,Debug已在FCP显示真实云端预览并获用户确认。继续本地调试用最新工具 `tools/local_debug.py --source <干净检出>`;普通正式交付继续用 `tools/deliver.py`。
|
||||
|
||||
原公证 `0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d` 尚待最终结果,不要重传。保留原 Release APP 与 ZIP,按 [原提交恢复参数](verification/UnifiedLUTNotaryResume133.json) 续查;Accepted 后再粘附和替换 Debug,完成宿主、PKG、Git Release及下载校验。正式版仍未发行;当前站点文章/更新通道为1.21.8(126)。
|
||||
|
||||
[当前交接](开发交接.md) · [Debug 安装](verification/DebugDelivery1.22.1.json) · [用户验收](verification/HostUnifiedLUTDebug1.22.1.json) · [实际编译源核对](verification/UnifiedLUTBuildSource133.json)。证书、私钥、账号与公证凭据独立安全恢复,不进 Git。测试结束后清理 Debug 例外产物和已不再需要的回滚副本。
|
||||
|
||||
---
|
||||
|
||||
# 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` 指向完整提交 `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。
|
||||
|
||||
APP 公证 `1e57ee70-d099-4942-91fd-29a2d5f47a44` Accepted,1,028 项正式安装自检、17 模板、签名、票据、Gatekeeper 和 PluginKit 通过。主 APP 以 macOS 硬件 UUID 自动恢复已有绑定,退出保持和刷新重登通过。FCP 12.4 合成色卡验证实际云端当前帧预览、分类、下载应用、划像及播放。44 项后端合约、46 项原生在线合约、40 项本地浏览器回归通过,生产全部 21 页/1,233 项及搜索分类核对通过。未绑定新机的微信 OAuth 首次扫码、Motion 未实测。
|
||||
|
||||
后端源码 `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,随机会话令牌与设备标识分开。
|
||||
|
||||
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),本轮未更改。
|
||||
|
||||
---
|
||||
|
||||
# 2026-11-09 多层调色性能更新 1.21.8(126)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。实际编译提交 `38e9fb25a21d7ba573f09093ea4ca45a79664cf5`。发行标签 `v1.21.8-render-fluidity-20261109` 指向 `ec81578b25753295ad6f03579136a7fa206a5d1f`。独立 HTTPS 检出逐字节核对编译节点 866 个、发行节点 871 个跟踪文件及 Git 完整性,构建输入一致,无 LFS 或子模块。[恢复核验](verification/Recovery1.21.8.json)
|
||||
|
||||
克隆后运行 `git switch --detach 38e9fb25a21d7ba573f09093ea4ca45a79664cf5` 恢复编译节点。使用 Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon 和锁定的 ColorManagement 依赖,运行 `tools/deliver.py`。正式位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`。团队 B3W25FX5H5 的证书、私钥和公证登录独立恢复。正式安装版通过 1,028 项原生自检及 FCP 12.4 三种控件的拖动、撤销和合成片段播放检查。[安装](verification/Delivery1.21.8.json) · [宿主](verification/HostRenderFluidity1.21.8.json)
|
||||
|
||||
从验收后的正式 APP 运行 `Packaging/build_pkg.py`。APP 公证 `c439ff82-db8e-44a9-83e4-68c62588a2de`,PKG 公证 `2aa1a8fa-d48f-45a5-8a56-9ac084d8c7b3`,均 Accepted。公测 Release **422** 附件 **68** 下载为 44529845 字节,SHA-256 `8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9`。草稿和发布后均完整下载核对。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.8-render-fluidity-20261109) · [验包](verification/Package1.21.8.json) · [下载核验](verification/Release1.21.8.json) · [开发交接](开发交接.md)
|
||||
|
||||
2026-11-09 已同步文章 15792 和公测在线更新。本机专项工程 `/Users/mac/Downloads/dayumedia/dayu-color-beta` 映射至 NAS 生产根 `/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media`。生产新增 `wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg`,替换同目录的 `beta.json`。原清单的同目录备份为 `/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta-202611091234.jsonbak`,已与原构建 124 清单逐字节核对。文章发布前回读留在本机受控工作目录,远端保存本次文章提交内容与核验记录。在线恢复遵循既有后端发布规则。[文章](https://dayu.media/15792/) · [文章内容](Packaging/article-1.21.8.json) · [文章核验](verification/Article1.21.8.json) · [在线更新核验](verification/BetaPublication1.21.8.json) · [后端说明](Backend/README.md)
|
||||
|
||||
---
|
||||
|
||||
# 2026-11-09 蜘蛛盘跟手优化 1.21.7(125)
|
||||
|
||||
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。编译提交 `5aae670f56201a17cffe6aff3624d1b8cfad2308`,发行标签 `v1.21.7-spider-fluidity-20261109` 指向 `039e567aaa563a36da5bbef90d0ccd4afd690183`。独立 HTTPS 检出逐字节核对编译节点 859 个、发行标签 864 个跟踪文件和 Git 完整性,构建输入一致,无 LFS 或子模块。[恢复核验](verification/Recovery1.21.7.json)
|
||||
|
||||
@@ -0,0 +1,406 @@
|
||||
# 在线 LUT 正式交付前的历史交接
|
||||
|
||||
以下保留此前版本记录;当前入口为 [开发交接](../开发交接.md)。
|
||||
|
||||
## 1.21.8(126)多层调色与检查器响应
|
||||
|
||||
2026-11-09。减少多层色彩管理的 GPU 提交和等待,预览取样随同当前批次编码,保留跨 CPU/GPU 边界的同步。宿主 ICC 配置未变化时复用解析结果,几何蒙版跳过色键转换,部分覆盖继续按原色彩空间混合。曲线、一级白平衡轮和颜色分级轮按显示节奏合并宿主参数写入,松手提交最后值并结束撤销组。
|
||||
|
||||
Apple M4 的 4K 渲染对照中,曝光加 HSL 几何蒙版约 87.7 → 75.0 毫秒,一级 CST 加蒙版约 49.5 → 42.8 毫秒,P3 CST 混合约 70.5 → 63.0 毫秒。1080p 曝光加 HSL 蒙版约 30.1 → 23.0 毫秒。16 组配置的 128 帧 RGBA16F 输出逐字节一致。首轮 1080p 胶片颗粒与晕光出现回退,已撤回该提交方式。数据覆盖插件渲染入口到 GPU 完成的耗时。[性能基准](verification/RenderFluidity1.21.8.json)
|
||||
|
||||
正式 **1.21.8(126)** 已从唯一 FxPlug 路径启动,使用独立 HTTPS 检出的编译提交 `38e9fb25a21d7ba573f09093ea4ca45a79664cf5`。APP 公证 `c439ff82-db8e-44a9-83e4-68c62588a2de` Accepted。签名、票据、Gatekeeper、PluginKit 唯一路径、1,028 项正式安装自检及 17 套模板通过。正式 Metal 库与测量版哈希一致。[安装](verification/Delivery1.21.8.json)
|
||||
|
||||
FCP 12.4 在独立 1080p/25p 色卡库中通过主控曲线、中间调色轮、一级白平衡轮的拖动和逐项一次撤销。一级白平衡松手读到 302.9°、5.6%,一次撤销后重开恢复 0°、0%。四种示波器各有 57,600 个有效样本,测试片段播放到 00:00:03:24。FCP 播放帧率、导出和 Motion 耗时未量化。[宿主验收](verification/HostRenderFluidity1.21.8.json)
|
||||
|
||||
正式 PKG 已签名、公证和粘附票据,公证 `2aa1a8fa-d48f-45a5-8a56-9ac084d8c7b3` Accepted。20 项展开验包和 192 条载荷权限检查通过。包大小 44529845 字节,SHA-256 `8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9`。[验包](verification/Package1.21.8.json)
|
||||
|
||||
公测 Release **422** 和附件 **68** 已发布,标签 `v1.21.8-render-fluidity-20261109` 指向 `ec81578b25753295ad6f03579136a7fa206a5d1f`。草稿和发布后的完整下载均通过大小与 SHA-256 校验。独立远端恢复核对编译节点 866 个、发行标签 871 个跟踪文件,构建输入一致。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.8-render-fluidity-20261109) · [下载核验](verification/Release1.21.8.json) · [恢复](verification/Recovery1.21.8.json)
|
||||
|
||||
**站点文章与在线更新已于 2026-11-09 同步到 1.21.8(126)。** 原文章 15792 的主下载、标题、摘要、版本说明和相关 SEO 已更新。价格 50 元、鱼粉会员免费,封面、历史图、安装说明和其余资源设置经回读一致。前台常规与新请求均通过检查。公测更新接口对构建 109、123、124、125 提供更新,对 126、127 返回无需更新。文章与更新通道分别完整下载,均与公测 Release 的 44,529,845 字节和 SHA-256 一致,签名、票据和 Gatekeeper 通过。[文章](https://dayu.media/15792/) · [文章核验](verification/Article1.21.8.json) · [更新通道核验](verification/BetaPublication1.21.8.json)
|
||||
|
||||
已清理验收资源库、基准可执行副本、构建 APP、旧版暂存、公证 ZIP、草稿下载、恢复检出及本轮线上下载副本。NAS 的旧更新清单已旁路备份并逐字节核验。工程文件既有的 Security 引用排序差异仍在工作区。后续若收到掉帧反馈,先记录宿主版本、帧尺寸、色彩管理模式和已启用的层,按单层和组合分别复现,再与本轮基准对照。
|
||||
|
||||
## 1.21.7(125)蜘蛛盘跟手优化
|
||||
|
||||
2026-11-09。仅分析 Color Finale 2.17.0(632)的 Color Warper。核对了本地网格编辑、位图复用、独立取样、当前节点读数更新和 GPU 查表路径。大鱼移植本地草稿与重活分离的方式,合并检查器/工作台拖动写入,松手补交最终位置并关闭撤销组。画布合并待处理网格,检查外部修改和目标时间。现有蜘蛛盘数学和预设数据结构继续使用。[取证与实现](research/ColorFinaleSpiderFluidity-20261109.md)
|
||||
|
||||
正式 **1.21.7(125)** 已在唯一 FxPlug 路径签名、公证、安装并启动,编译提交 `5aae670f56201a17cffe6aff3624d1b8cfad2308`。APP 公证 `0b71188e-188c-4c78-9087-28fa62a87a51` Accepted。1,022 项正式安装自检通过,含按住暂停实时写入、最后一笔补交、冲突保护和撤销组。17 套模板与 Metal 库哈希和 124 一致。[安装](verification/Delivery1.21.7.json)
|
||||
|
||||
M4 隔离检查器注入 120 个连续拖动事件,6×6 和 24×24 的宿主写入均为 120 → 1,最终网格逐字节一致。连续事件测试刻意不让出运行循环,真实拖动期间会按节奏写中间值。FCP 12.4 的 1080p/25p 合成色卡中,实际在工作台拖动主点 22 到 (0.4626, 0.1817),宿主撤销一次后重开读回 (0.4000, 0.3268)。检查器远程视图的坐标拖动未获确认,隔离测试覆盖该控件;没有量化 FCP 的端到端延迟和目标插件的对照帧率。[基准](verification/SpiderFluidity1.21.7.json) · [宿主](verification/HostSpiderFluidity1.21.7.json)
|
||||
|
||||
正式 PKG 已签名、公证、粘附票据,公证 `e9cab355-85bf-4a16-922b-a811aacb5b05` Accepted。20 项展开验包和 192 条载荷权限检查通过。包大小 44528083 字节,SHA-256 `e4d327d4a4fdbcb025e17dd6aa1e0e884c435392b70bcc2e7402d100c07a10ef`。[验包](verification/Package1.21.7.json)
|
||||
|
||||
公测 Release **421** 和附件 **67** 已发布,标签 `v1.21.7-spider-fluidity-20261109` 指向 `039e567aaa563a36da5bbef90d0ccd4afd690183`。草稿和发布后完整下载的字节数与 SHA-256 一致。独立远端恢复核对编译节点 859 个、发行标签 864 个跟踪文件和 Git 完整性。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.7-spider-fluidity-20261109) · [下载校验](verification/Release1.21.7.json) · [恢复](verification/Recovery1.21.7.json)
|
||||
|
||||
已清理临时验收库、生成 APP、旧版替换备份、公证 ZIP、基准执行副本、草稿下载与恢复检出。原工程文件的 Security 引用排序差异留在工作区。站点文章与主 APP 更新通道为 1.21.6(124)。
|
||||
|
||||
## 1.21.6(124)LUT 预览复用
|
||||
|
||||
2026-11-08。缩略图与右侧划像共用当前画质下的同一张 LUT 位图。点击已生成的缩略图后,等待宿主确认应用,划像左侧保留原图,右侧直接使用该缩略图。浏览器忽略参数更新期间的空快照,同一播放头位置沿用点选前的取样,避免某些色彩管理路径把新应用的 LUT 带入下一轮预览。移到新帧时后台生成新图,生成期间保留上一次完整画面。
|
||||
|
||||
正式 **1.21.6(124)** 已从唯一 FxPlug 路径启动,实际编译提交 `e0bd8342c0b2231028af64abd7b544b2be8f29d7`。APP 公证 `79da8471-e33a-4463-86e9-8c5c114b149b` Accepted,签名、票据、Gatekeeper、PluginKit、1018 项安装自检和 17 套模板通过。[安装](verification/Delivery1.21.6.json)
|
||||
|
||||
40 项隔离浏览器检查和异步载入回归通过。FCP 12.4 的 540×960/25p 合成项目中,同一帧连续点击三个已生成缩略图,均成功应用,前六张保持可用和原顺序,划像滑杆持续可用。空快照、同一时刻重渲染、下一帧更新和高清共享位图由隔离检查验证。已恢复测试前的浏览偏好并清理验收库。正式 PKG 已签名、公证和粘附票据,公证 `3ea27bc7-b29e-4fd9-8a3f-aabf25d7e200` Accepted。展开验包和 192 条载荷权限检查通过。包大小 44527921 字节,SHA-256 `c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6`。[验包](verification/Package1.21.6.json)[宿主与隔离检查](verification/HostLUTPreviewReuse1.21.6.json)
|
||||
|
||||
公测 Release **420** 和附件 **66** 已发布,标签 `v1.21.6-lut-preview-reuse-20261108` 指向 `3de998257d9f9e989093d58604c44a4eb1fb3fad`。草稿与发布后完整下载的大小和 SHA-256 一致。独立远端恢复核对编译节点 849 个、标签 853 个文件及 Git 完整性。已清理验收库、APP 生成副本、公证 ZIP、旧版暂存、草稿下载与恢复检出。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.6-lut-preview-reuse-20261108) · [下载校验](verification/Release1.21.6.json) · [恢复](verification/Recovery1.21.6.json)
|
||||
|
||||
**在线更新与文章已于 2026-11-08 同步到 1.21.6(124)。** 主 APP 公测通道从 1.19.0(109)升到构建 124。线上接口对构建 109 和 123 返回更新可用,对 124 和 125 返回无更新。覆盖清单前已在 NAS 原目录备份旧 `beta.json` 并逐字节核对。文章 15792 的主下载使用同一份更新 PKG,同步了标题、摘要、版本说明和受影响的 SEO。50 元与鱼粉会员免费规则、特色图片、历史图和安装说明回读一致。正常及新请求的前台均通过核验。两次完整下载均为 44,527,921 字节,SHA-256 与公测 Release 相同,签名、票据和 Gatekeeper 均通过。[文章](https://dayu.media/15792/) · [在线更新记录](verification/BetaPublication1.21.6.json) · [文章核验](verification/Article1.21.6.json)
|
||||
|
||||
## 2026-11-08 点选 LUT 时的预览闪黑排查
|
||||
|
||||
用户在正式 1.21.5(123)观察到缩略图与右侧划像同时闪一下,缩略图短暂显示生成提示。选择写入宿主 LUT 参数后,参数变化回调清空渲染器的预览缓存并通知界面。浏览器收到空快照时将可见缩略图置空,右侧划像也移除原图和应用 LUT 的图层。缩略图此时绘制「生成预览…」,划像只绘制黑底。宿主送出下一帧、后台完成位图后,两个区域重新显示。[参数回调](大鱼调色/Plugin/DYPlugIn.mm#L41) · [缓存失效](大鱼调色/Plugin/DYRenderer.mm#L270) · [浏览器更新](大鱼调色/Plugin/DYLUTBrowser.mm#L571)
|
||||
|
||||
用正式编译节点的浏览器源码和隔离 AppKit 测试,按点击、确认应用、空快照、新帧的顺序核对。两处都先有图,收到空快照时进入占位,新帧到达后恢复。37 项检查通过,其中 4 项覆盖本次过渡状态。结论覆盖浏览器的刷新顺序。本轮为原因排查。若继续修复,从浏览器保留上一组有效缩略图和划像入手,验证新位图就绪后替换、首次打开占位、连续切换以及帧尺寸变化。
|
||||
|
||||
## 1.21.5(123)LUT 帧比例与浏览顺序
|
||||
|
||||
2026-11-08。浏览器的标准与高清预览按宿主帧和像素宽高比取样,最长边分别为 320 与 640。网格、列表与划像使用带尺寸的同帧数据,完整显示画面。自动调色继续使用原 320×180 分析样本。完整浏览器打开时读取最近使用顺序,成功应用时保存历史并更新选中项,重开时按最新历史排序。已加入帧比例、像素行顺序和浏览会话排序回归检查。
|
||||
|
||||
正式 **1.21.5(123)** 已从唯一 FxPlug 路径启动,实际编译提交 `8ca33a78fd224d13fffb1092c704adfce6cda12b`。APP 公证 `5b1bf442-0460-44c9-9d99-9bcd18788c32` Accepted,签名、票据、Gatekeeper、PluginKit 路径、1018 项原生自检和 17 套模板核对通过。122 的正式自检发现一级调色有三处旧取帧调用,已回滚并在 123 补齐。[安装](verification/Delivery1.21.5.json)
|
||||
|
||||
FCP 12.4 使用独立 540×960/25p 合成片验收。高清网格与右侧原图完整保留竖屏画面。点击原第二个 LUT,选中状态和划像更新,前六项顺序不动。重开后它排到首位。列表、搜索、最近使用分类与其他帧比例由自动检查覆盖。验收库已清理,浏览偏好已恢复。用于 FCP 验收的插件服务和 Metal 库与最终公证 APP 逐字节一致。[FCP 与浏览器检查](verification/HostLUTBrowser1.21.5.json)
|
||||
|
||||
正式 PKG 已签名、公证和粘附票据,公证 `98ab3da4-515d-4b07-9692-9e357b130880` Accepted。展开验包和 192 条载荷权限检查通过。包大小 44527441 字节,SHA-256 `01e63b554ee236ca3bf3b8f1d85eeaf3cf9c933a03c0e3cb4fb5256aafa6cf72`。[验包](verification/Package1.21.5.json)
|
||||
|
||||
公测 Release **419** 和附件 **65** 已发布,标签 `v1.21.5-lut-browser-20261108` 指向 `5ab5e78255127cda92686f28b557f751e60e2082`。草稿与发布后均完整下载并核对大小和 SHA-256。独立远端恢复核对编译节点 843 个、标签 847 个文件及 Git 完整性。已清理验收资源库、APP 构建副本、旧版暂存、公证 ZIP、草稿下载及恢复检出。工程文件既有 Security 引用排序留在工作区。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.5-lut-browser-20261108) · [下载核验](verification/Release1.21.5.json) · [恢复](verification/Recovery1.21.5.json)
|
||||
|
||||
后续若收到变形反馈,先记录项目尺寸、片段像素宽高比和使用的预览布局,从正式版本复现。Motion 和非方形像素素材未在宿主实测。站点文章和主 APP 更新通道各自沿用其发布记录。
|
||||
|
||||
## 1.21.4(121)曲线直方图 Rec.709 电平
|
||||
|
||||
用户在 FCP 的 Rec.709 项目对照同帧 S-Log3 灰片,发现曲线背景分布偏左。本机正式 1.21.3 在同一工程的 00:00:02:24 复现。曲线背景曾直接分箱线性 RGB,约 50% 的 Rec.709 视频电平在线性域约为 0.26,旧图约 66/255。改为对已识别的线性 Rec.709 输出解除透明度预乘、逐通道进行 BT.709 编码再分箱。检查器和画布共用这份结果。其他色彩空间沿用原统计,亮度叠层、320×180 采样及 0–255 坐标保留。[统计入口](大鱼调色/Plugin/DYScopeSample.mm#L10) · [FxPlug 色彩空间](https://developer.apple.com/documentation/professional-video-applications/managing-color-space-and-gamut-in-plug-ins)
|
||||
|
||||
正式 **1.21.4(121)** 已从 `/Library/Plug-Ins/FxPlug/大鱼调色.app` 启动,编译提交 `7f2917393c89cdc8935b494106e09b2851378ec5`。APP 公证 `f587be58-4008-42a3-8261-050988eae9b8` Accepted,票据、Gatekeeper、PluginKit 唯一路径、1014 项安装版自检和 17 套模板检查通过。Metal 库与 51 个模板资源的哈希和 1.21.3 一致。[安装](verification/Delivery1.21.4.json)
|
||||
|
||||
FCP 12.4 在原素材 00:00:02:24 同帧验收,检查器报告 57,600 个 Rec.709 视频电平样本。按两图的 0–100% 横轴折算,主峰约 40–53%,高光小峰约 71%,与 FCP 同一区间。数值为截图估读。原片与效果参数仅作只读核对。旧安装备份、生成的 APP 和公证 ZIP 已按正式流程清理。HDR 和 Motion 的同帧对照未执行。[FCP 验收](verification/HostCurveHistogram1.21.4.json)
|
||||
|
||||
正式 PKG 已签名、公证及粘附票据,公证 `17666d78-e94e-4886-9c5d-a46d11f1b4cb` Accepted。20 项展开验包与 192 条载荷权限检查通过。包大小 44527149 字节,SHA-256 `eb0d4fd257a30705d3c4614f0bfca6d29b492199384fea8f2e6ccb7c50a674dc`。[验包](verification/Package1.21.4.json)
|
||||
|
||||
公测 Release **418** 和附件 **64** 已发布,标签 `v1.21.4-curve-histogram-20261108` 指向 `8ca30fa3cc1dc03eb34c70b4307b60dde0d77133`。草稿和发布后完整下载的大小与 SHA-256 一致。独立远端检出核对编译节点 837 个、标签 841 个跟踪文件及 Git 完整性。草稿下载和恢复副本已清理。站点文章基线见下方 1.21.3 记录,主 APP 更新通道沿用已有核验记录。工程文件原有的 Security 引用排序留在工作区。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.4-curve-histogram-20261108) · [发行核验](verification/Release1.21.4.json) · [恢复](verification/Recovery1.21.4.json)
|
||||
|
||||
若继续核对其他色彩空间,先按工程色彩空间和同帧信号定位差异,再测 HDR 或 Motion。当前验收覆盖标准 Rec.709 的 FCP 检查器和画布统计回归。
|
||||
|
||||
## 1.21.3(120)共享缓冲追踪与 LUT 对比预览
|
||||
|
||||
正式版从唯一插件路径启动,编译提交 `43364549327470291abd82ca1d0eded2becd1579`,APP 公证 `6f1e34d4-7d24-4a73-9a8b-af41e132d4ba` Accepted。1012 项原生自检、17 套模板、票据、Gatekeeper 与 PluginKit 唯一路径通过。Metal 直写 IOSurface 上的 BGRA 缓冲后交给 Vision。四组奇数宽高、不同图像原点与翻转的像素回归逐字节一致。其他普通蒙版和图章追踪仍使用各自现有输入。[安装](verification/Delivery1.21.3.json)
|
||||
|
||||
FCP 12.4 在 M4 的同一 4K 素材上,从点击正向追踪到界面确认完整写入,三次热态中位数由 3.682 降至 3.217 秒,缩短 12.6%。候选四轮各 285 帧均走共享缓冲。两版导出的 285 个轨迹键和全部马赛克参数一致。4K ProRes 422 LT 成片解码后 285 帧逐帧一致。[宿主验收](verification/HostVisionLUT1.21.3.json)
|
||||
|
||||
风格 LUT 浏览器右侧显示同帧划像,左侧为加载当前 LUT 前的画面,右侧预览 100% LUT。可从图上移动分界线或用底部滑杆。高清缩略图从 640×360 源帧生成双倍像素位图。FCP 已核对选中 LUT、画质切换与重开记忆、滑杆两端及画面分区变化。坐标自动化未能验证直接拖动图片,本次划像验收使用滑杆。原项目与素材不参与修改。
|
||||
|
||||
正式 PKG 已签名、公证并粘附票据。公证 `ba16473c-fcf2-4700-a7aa-df768d603724` Accepted,20 项展开验包通过,44527074 字节,SHA-256 `99872aee9e3e0a25ed17f3fb173b20b8549dd9473c6fccd3954dd09836213ff9`。[验包](verification/Package1.21.3.json)
|
||||
|
||||
公测 Release **417** 已发布。附件 **63** 在草稿和发布后均完整下载并核对字节数与 SHA-256。标签 `v1.21.3-vision-lut-20261108` 对应 `a1595caf30ddc2e629543adc735d9df752f35cc6`。独立恢复核对编译节点 829 个文件、发行节点 833 个文件和 Git 完整性。已清理本轮生成的 APP、旧版替换备份、公证 ZIP、验收资源库和导出副本、恢复检出和草稿下载。工程文件原有的 Security 引用排序差异已保留。[发行](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.3-vision-lut-20261108) · [附件](verification/Release1.21.3.json) · [恢复](verification/Recovery1.21.3.json)
|
||||
|
||||
|
||||
**文章 15792 已于 2026-11-08 更新为 1.21.3(120)。** 原文章主下载、标题、摘要和相关 SEO 已切换到新版。正文将用户提供的 2614×1696 截图(媒体附件 15919)放在高清 LUT 预览说明中,可点击查看原图。正文保留既有安装说明、历史图片与封面。前台普通与新请求均核验,50 元和鱼粉会员免费规则回读一致。站内 PKG 完整下载 44,527,074 字节,SHA-256 与公测 Release 一致,签名、票据和 Gatekeeper 通过。主 App 更新通道沿用既有配置。[文章](https://dayu.media/15792/) · [发布内容](Packaging/article-1.21.3.json) · [线上核验](verification/Article1.21.3.json)
|
||||
|
||||
## 1.21.2(119)局部马赛克与蒙版分析性能
|
||||
|
||||
2026-11-08。已核对正式 1.21.1(117)与大鱼远端基线。马赛克渲染只在色键使用颜色编码,钢笔路径在局部包围范围外跳过轮廓计算,反相与色阶仍照常应用。无人脸命中时跳过全帧马赛克通道。指定目标追踪沿用原 Vision 彩色输入,仅在有可对照的起始画面时需要整帧灰度;普通蒙版与图章保留灰度输入。
|
||||
|
||||
M4 的 4K 双钢笔马赛克中位数从 42.75 降到 13.84 ms,4K 目标追踪取图从 6.00 降到 3.54 ms。192 张输出及 24 张彩色追踪输入逐字节一致。Vision 的目标追踪自动选择与指定神经网络引擎在 285 帧实片三轮对照中轨迹一致,热态约 0.8 ms/帧。普通蒙版透视配准的主阶段只报告支持 CPU。[基准](verification/MosaicTracking1.21.2.json)
|
||||
|
||||
正式 **1.21.2(119)** 编译提交 `6a979f16a828e17284c8f04647c79ac65811d3dc`,APP 公证 `7344dd1a-62ba-4e82-8dc1-36cb220c4942` Accepted。唯一正式路径、票据、Gatekeeper、1010 项原生检查及 17 套模板通过。119 与性能基准使用的 118 Metal 库 SHA-256 一致。FCP 12.4 独立实片副本正向写入 27 键、双向写入 284 键,在 00:00:11:04 实看随动遮挡。118 曾在宿主返回无效时间时卡在首帧前的分析启动,已回滚。119 在调用宿主分析前拒绝无效时间并提示重新定位。已完成有效画面实片复测和无效时间原生回归。[安装](verification/Delivery1.21.2.json) · [宿主](verification/HostMosaicTracking1.21.2.json)
|
||||
|
||||
正式 PKG 公证 `add05c02-616e-471f-a53a-8aa7c230ef52` Accepted,20 项展开验包、票据与 Gatekeeper 通过。包 44509704 字节,SHA-256 `01ee76d2302d0d1fc54b1ff5a3397c386467324db5f391d0b5dfd48c1e93b9df`。本机通过独立正式 APP 验收。[验包](verification/Package1.21.2.json)
|
||||
|
||||
公测 Release **416** 的附件 **62** 已发布,草稿与发布后完整下载的大小和 SHA-256 一致。标签 `v1.21.2-mosaic-tracking-20261108` 指向 `b6f73ebb666e4f72567f54515d0efd138220f7f6`,独立检出验证 822 个编译节点文件和 826 个发行节点文件。生成 APP、旧版替换备份、公证 ZIP、验收副本、恢复检出和下载副本已清理。1.21.2 交付时站点文章 15792 仍为 1.21.1,主 APP 更新通道沿用既有记录。工程文件原有 Security 引用排序差异留在工作区。[发行](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.2-mosaic-tracking-20261108) · [附件](verification/Release1.21.2.json) · [恢复](verification/Recovery1.21.2.json)
|
||||
|
||||
接手若继续降低普通蒙版和图章追踪延迟,先分开计量宿主供图、Metal 预处理、CPU 灰度裁切和 Vision 透视配准。目标路径可对比由 Metal 写入 Vision 可读的共享像素缓冲区,验证每帧输入、关键帧、遮挡恢复和取消。当前 4K 数字分别覆盖渲染与预处理,未计量 FCP 端到端耗时或导出。
|
||||
|
||||
## 1.21.1(117)首次示波器与人脸肤色保护
|
||||
|
||||
正式安装在 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,编译提交 `98d80970e83e30e4883a76d8f740f2fca5d05e7c`,APP 公证 `eeda9002-5e87-4a33-83d3-9163a14283ba` Accepted。票据、Gatekeeper、PluginKit 唯一路径及 1008 项正式安装原生检查通过。FCP 12.4 已从正式路径启动插件服务。17 套模板检查通过。[安装](verification/Delivery1.21.1.json)
|
||||
|
||||
控制面板取本效果实例的最终输出。普通位置按一帧区间匹配,确认在排他出点时允许重用片尾最后一次输出。FCP 实测 60p 素材放在 25p 项目,停在 00:00:11:09。首次打开与同帧重开均从缓存 11.36 秒取样,四种示波器各有 57,600 个有效样本,无需移动播放头或改参数。115 和 116 在该回调中均收到素材帧长,未通过片尾验收,未发布。[宿主核验](verification/HostScopes1.21.1.json)
|
||||
|
||||
Metal 将脸部多边形运算限制在实际轮廓的外接范围,无覆盖的像素跳过五官排除权重,按需读取设备端路径。M4 对照同一公开人像的 12 帧,1080p 中位从 308.08 降至 13.47 ms,4K 从 1176.07 降至 22.22 ms。六组末帧 SHA-256 一致。数据覆盖肤色保护渲染。正式自检覆盖多人、无脸、上下原点、显示选区及马赛克遮挡;跟踪与马赛克耗时另计。[性能](verification/FacePreview1.21.1.json)
|
||||
|
||||
114、115、116 替换备份及 APP 构建副本已清理。PKG 公证 `dbddc544-aa94-4279-8f92-37597c264313` Accepted。20 项验包及 192 条载荷权限检查通过。安装包 44509639 字节,SHA-256 `bdc63a1b1030ccad6960031cb9f2ec8297aa90f8d4acce2057eb5ba7750a289b`。本机通过正式 APP 验收。[验包](verification/Package1.21.1.json)
|
||||
|
||||
公测 Release **415** 的附件 **61** 已发布,草稿和发布后完整下载的大小及 SHA-256 均一致。发行标签 `v1.21.1-scope-face-20261108` 指向 `ad4e5e7a823bb451f45755d0ab331f08f6211239`。独立远端检出逐一核对编译节点 812 个和发行节点 817 个文件,Git 完整性通过。下载和恢复副本已清理。[发行](verification/Release1.21.1.json) · [恢复](verification/Recovery1.21.1.json)。既有项目文件的 Security 引用排序留在工作区。
|
||||
|
||||
**文章 15792 已于 2026-11-08 更新为 1.21.1(117)。** 同一篇文章已更换主 PKG、标题、摘要与 SEO,新增 FCP 12.4 片尾首次打开和同帧重开的示波器验收,以及 M4 下 1080p/4K 人脸肤色保护的前后对照。已重新展开正式包核对主 App 和 17 个效果入口。线上完整下载 44,509,639 字节,SHA-256 与正式 Release 一致,签名、票据和 Gatekeeper 通过。正常与新请求的前台标题、SEO、表格、原图及代码区块均核验。50 元、鱼粉会员免费、分类、封面、历史内容和 FCPX 同步配置保留。主 App 更新通道沿用原状态。[文章](https://dayu.media/15792/) · [发布内容](Packaging/article-1.21.1.json) · [线上核验](verification/Article1.21.1.json)
|
||||
|
||||
## 2026-11-08 跨会话渲染缓存可行性
|
||||
|
||||
用户反馈 FCP 退出重开后,磁盘仍有渲染文件但片段重新渲染。已查本机 FxPlug SDK、Apple 文档及大鱼调色入口。公开接口由宿主请求渲染,插件可在渲染时回读自有文件,没有将外部文件注册为 FCP 渲染文件的接口。项目的蒙版跟踪已通过 FxAnalysisAPI 在后台接收逐帧输入,可用同一入口验证预计算,分析回调的输入需与常规渲染输入实测对照。[跟踪](大鱼调色/Plugin/DYToolHostMethods.inc.h#L178) · [渲染](大鱼调色/Plugin/DYPlugIn.mm#L85) · [Apple 文档](https://developer.apple.com/documentation/professional-video-applications/analyzing-media)
|
||||
|
||||
先用一段 4K 人像比较冷启动后重算、回读人脸轮廓或局部蒙版及回读整帧的耗时。用实际输入内容和该阶段依赖校验命中,覆盖上游效果、代理切换及画质变化,缺失或不匹配时回退原有渲染。整帧额外核对色彩空间、像素格式、分辨率、完整调色状态和外部 LUT 内容。未复现宿主缓存失效,未实现或测试插件磁盘缓存。
|
||||
|
||||
## 1.21.0(114)流畅性优化
|
||||
|
||||
按首帧、连续渲染和检查器刷新优化。Metal 管线首次使用才创建,中性画面跳过通用调色与查找纹理,保留原来的半精度透明度规则;无蒙版 CST 将解除预乘并入原转换内核。最终画面取样合并进输出命令并复用小缓冲,仍保留暂停帧的示波器样本。检查器复用本轮的宿主读参和工具文档,只在切换色彩管理模式时移动输出控件。胶片颗粒未参与时省去宿主帧时序查询。
|
||||
|
||||
正式 1.21.0(114)已在唯一 FxPlug 路径安装,编译提交 `90e512aabe72fff30046b4bf18d6a35f91c0c113`。APP 公证 `505ed5a4-7b32-49a2-8eef-70c7757a98b4` Accepted,正式版 1050 项原生检查通过,包括 21 组独立 CST 参考。FCP 12.4 的独立验收副本从 00:00:00:00 播到 00:00:11:09,检查器和工作区混合滑杆均写入 0.50 后复位至 1.00,四种示波器回读 57,600 个有效 sRGB 样本。首次打开时请求时间与缓存帧不一致,下一次实际渲染后显示;同帧重开、宿主撤销、拖动延迟、掉帧、Motion 与完整导出未确认。[安装](verification/Delivery1.21.0.json) · [宿主](verification/HostFluidity1.21.0.json)
|
||||
|
||||
M4 两组交错顺序的渲染加隐藏取样基准,1080p 中性 HSL 从 2.10–2.33 降到 1.39–1.62 ms,4K 加基础曝光从 19.15–19.69 降到 14.91–15.03 ms。4K 默认整合版中位数跨运行从 17.47–23.04 到 15.13–19.29 ms,存在重叠。每组的六个末帧及对应示波器样本均与 113 逐字节一致。默认整合版计算管线从 16 套降到 3 套。全尺寸中间纹理按帧释放,小型示波器缓冲按设备复用。[基准](verification/Fluidity1.21.0.json)
|
||||
|
||||
PKG 公证 `29d5f921-6cd4-48a4-856a-2632f9a85e2b` Accepted。20 项验包、192 条载荷权限、签名及票据检查通过,44508770 字节,SHA-256 `ec1a57f23bf369d7a7841848d71d8ab78a7c229cbb5abe1c502e9964f87dbbcb`。本机通过独立正式 APP 验收,未执行包内安装脚本。[验包](verification/Package1.21.0.json)
|
||||
|
||||
公测 Release **414** 的安装包附件 **60** 已发布,草稿和发布后均完整下载并核对字节数及 SHA-256。发行标签 `v1.21.0-fluidity-20261108` 指向 `3a5ead0ce07eb2ed3009490af316b9edec186c62`。独立远端检出核对编译节点 805 个文件、发行节点 810 个文件及 Git 完整性。旧替换 APP、公证 ZIP、构建 APP、草稿下载与恢复副本已清理。站点文章和主 APP 更新通道未参与本轮交付。[发行](verification/Release1.21.0.json) · [恢复](verification/Recovery1.21.0.json)
|
||||
|
||||
入口为 `DYRenderer.mm`、`DYGrade.metal`、`DYScopeCapture.inc.h`、`DYPlugIn.mm` 与 `DYInspector.mm`。用户有新卡顿反馈时,先记录宿主、分辨率、发生阶段和启用的实际工具,再用正式安装路径复测。既有工程文件的 Security 引用排序差异留在工作区。
|
||||
|
||||
## 2026-11-08 默认参数渲染排查
|
||||
|
||||
核对正式安装 1.20.2(113)、编译提交 `046411ba8b2c2bf8549601b2e5a080fd9dccd31b`。整合版、HSL、一级调色和 CST 独立效果的已安装模板、APP 内置模板和源码逐字节一致。整合模板没有额外工具层、LUT 或变形网格,默认执行 Sony S-Log3 / S-Gamut3.Cine 到 Gamma 2.4 / Rec.709 的 CST,自动色调映射开启。独立 HSL 的工具文档移除了一级调色。
|
||||
|
||||
- **模块执行**:`bypassNeutralTools` 跳过默认曲线、HSL、颜色分级、三原色、色阶和色彩平衡。空 LUT、零混合黑白、中性蜘蛛盘、通道混合器、胶片和畸变也不会因眼睛开启而各自运行。`DYToolIsNeutral` 过滤默认的独立工具层。本次对照均未触发 Vision 人脸检测。[渲染入口](大鱼调色/Plugin/DYRenderer.mm#L66) · [工具调度](大鱼调色/Plugin/DYToolRender.inc.h#L59)
|
||||
- **首帧准备**:首次创建设备资源会初始化 16 套计算管线,包括尚未使用的畸变、图章和胶片。融合渲染仍获取白平衡、HSL、分级三张查找纹理,每个新渲染器的中性状态也会创建 33³ 纹理。已确认准备工作存在,未单独计量各项耗时。[设备准备](大鱼调色/Plugin/DYRenderer.mm#L188) · [查找纹理](大鱼调色/Plugin/DYColorTables.mm#L229)
|
||||
- **每帧剩余工作**:整帧无有效调色时仍分配中间纹理,解除预乘并运行融合着色器,没有整帧直通。输出回调在示波器关闭时也同步读取 320×180 画面以保留同帧缓存,供工作区或蜘蛛盘打开时立即取样。[融合渲染](大鱼调色/Plugin/DYRenderer.mm#L248) · [输出取样](大鱼调色/Plugin/DYScopeCapture.inc.h#L83)
|
||||
|
||||
Mac mini M4 无界面基准复用正式 113 的 Release 对象和安装资源,按安装模板的参数与归档构造状态,用逐帧变化的 RGBA16Float 合成渐变,每组跳过首 5 帧,取 12 帧中位数。渲染与隐藏示波器读回分别计时。
|
||||
|
||||
| 对照 | 1080p 渲染 | 4K 渲染 |
|
||||
| --- | ---: | ---: |
|
||||
| 整合模板默认 | 5.12 ms | 16.42 ms |
|
||||
| 整合模板保留一级调色,其余眼睛关闭 | 4.62 ms | 16.30 ms |
|
||||
| 整合模板只关闭一级调色 | 1.72 ms | 4.71 ms |
|
||||
| 独立 HSL 默认 | 1.70 ms | 4.66 ms |
|
||||
| 仅用现有 GPU 图像复制函数 | 0.73 ms | 2.09 ms |
|
||||
|
||||
保留一级调色的两组在末帧逐像素一致。只关一级、独立 HSL 和复制对照的末帧与输入一致。整合默认状态隐藏示波器另耗约 0.68 ms(1080p)和 0.65 ms(4K)。正式安装服务的 980 项基础自检通过,覆盖默认状态无 Vision、无多边形蒙版管线和关闭示波器时缓存最后一帧。以上是渲染器及读回耗时,未测宿主参数桥、解码、播放调度、掉帧或交互延迟,也未操作用户工程。
|
||||
|
||||
本轮仅记录排查,未修改运行代码、模板或安装。接手优化时先以中性独立 HSL 验证整帧直通,并单独计量首帧管线准备与隐藏示波器取样。复核 HDR、负值、透明度、坐标原点以及同帧示波器取样,保留默认 CST 的实际输出。既有工程文件的 Security 引用排序差异留在工作区。
|
||||
|
||||
## 1.20.2(113)蜘蛛盘示波器
|
||||
|
||||
用户实看 1.20.0 后指出轨迹盖过控制网、肤色线与控制面板方向不同。1.20.1 将两处统一到同一份最终输出的色彩转换、Cb/Cr 取样、比例和肤色线方向。蜘蛛盘显示坐标同步投影,底层保留 HSV 网格和预设,拖动与方向键反向映射回原坐标。参照用户配图改为暗中性中心、平滑色相外圈、受限的轨迹透明度、灰色节点与深色描边。1.20.2 按用户追加反馈把网格前景线的白色不透明度由 55% 提至 72%,保留深色底描边。
|
||||
|
||||
新 FCP 整合效果、独立模板和新插入的肤色工具默认关闭保护。FCP 模板显式写入关闭值,注册默认保留历史开启值,兼容省略该参数的旧片段。Motion 直接添加原生滤镜沿用注册默认。显式开启时保护程度默认 60,仅保护人脸默认开启。
|
||||
|
||||
1.20.0(111)与 1.20.1(112)均为本轮正式签名公证的验收候选。1.20.1 安装后通过 1002 项原生检查,在 FCP 实片同帧并排核实两个矢量示波器方向及肤色保护关闭。两版均为本机验收候选。[111 实看](verification/HostSpiderScope1.20.0.json) · [112 实看](verification/HostSpiderScope1.20.1.json) · [112 安装](verification/Delivery1.20.1.json)。最终 **1.20.2(113)已公证安装并在 FCP 12.4 同帧实看**。1002 项原生检查通过,17 套模板静态校验通过。实际编译提交 `046411ba8b2c2bf8549601b2e5a080fd9dccd31b`,APP 公证 `e8c27c08-a78e-4be2-9adf-235e7bfad1f6` Accepted,固定插件路径 `/Library/Plug-Ins/FxPlug/大鱼调色.app`。同一帧确认网格提亮后仍能看清色度轨迹,两处肤色线均朝左上,检查器肤色保护为关闭。[实片核验](verification/HostSpiderScope1.20.2.json) · [安装](verification/Delivery1.20.2.json)。
|
||||
|
||||
正式 PKG 公证 `1a6834df-840f-47da-9ee8-be6a0a808fee` Accepted,20 项展开验包、票据、Gatekeeper 与 192 条载荷权限通过。包大小 44505420 字节,SHA-256 `8edd792c6a9be629263baee68c4c3e7b67221ffd1e995bd8c9ab1f753eefd2b4`。已独立安装正式 APP,本机验收未再次运行 PKG 安装脚本。[验包](verification/Package1.20.2.json)。Git Release **413** 的 PKG 附件 **59** 已发布,草稿浏览器及发布后均完整下载并核对大小和 SHA-256。标签 `v1.20.2-spider-scope-20261108` 指向 `bc9021271d5e4992a6a63011e4ff197812029ab3`。已独立从远端检出编译节点和发行标签,分别核对 798 与 802 个跟踪文件和 Git 完整性。[Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.20.2-spider-scope-20261108) · [发行核验](verification/Release1.20.2.json) · [恢复](verification/Recovery1.20.2.json)。
|
||||
|
||||
本轮两个未发布候选包、草稿下载副本、旧替换 APP、公证 ZIP 和恢复克隆已清理,保留正式包与用户原有历史发行包。[清理](verification/Cleanup1.20.2.json)。入口为 `大鱼调色/Plugin/DYSpiderScopeDrawing.h`、`DYScopeCapture.inc.h`、`DYViewerGraphics.inc.h` 和 `DYModel.mm`。既有工程文件的 Security 引用排序差异留在工作区。
|
||||
|
||||
## 1.19.1 交付基线(历史)
|
||||
|
||||
**1.19.1(110)已正式公证安装,完成本轮默认预览宿主验证,PKG 与 Git Release 已交付。** 实际编译提交 `3642a1dba6cbbc4423bd6928944e0e95d76d9cfa`,APP 公证 `c965f687-ab0b-442b-99e1-4b5013065f50` Accepted。固定路径仍为 `/Library/Plug-Ins/FxPlug/大鱼调色.app`;994 项正式安装原生检查、票据、Gatekeeper、唯一 PluginKit 路径通过。
|
||||
|
||||
修复“添加整合效果、未调参数,预览极卡”:空 LUT 默认强度与零混合黑白眼睛错误触发 Vision,随后无效的 `skinFaceOnly` 令整帧执行人脸多边形蒙版。现在按实际有效渲染参数决定检测和人脸蒙版;默认开关、预设、模板和调色算法不变。公开人像基准在 Apple M4 上,1080p 324.37 → 5.23 ms,4K 1248.90 → 16.99 ms;每组 14 次默认渲染不再调用人脸分析。该数字是渲染器耗时,不是宿主显示 FPS。[原因与范围](research/IdlePreview1.19.1.md) · [性能](verification/IdlePreview1.19.1.json)。
|
||||
|
||||
FCP 12.4 使用独立副本 `1.19.1 默认预览性能验收`,先复测恢复默认的旧效果,再移除并新加整合效果,两次播放到 00:00:11:09;真实渲染四秒采样均不含 `prepareFaceSupport`。基础曝光字段测试后恢复 0,默认三组展开恢复。未量化掉帧数、未确认宿主撤销、未重复导出或实片跟踪,不记这些项目为通过。[宿主记录](verification/HostIdlePreview1.19.1.json) · [安装](verification/Delivery1.19.1.json)。
|
||||
|
||||
发行标签 `v1.19.1-idle-preview-20261106` 指向 `6add6f29e357d37e94a8430d6963ec7f91993537`。PKG 公证 `5bf23d87-857d-48d9-856c-f6f05e97867b` Accepted,20 项展开验包和 192 条载荷权限检查通过;本机 APP 独立安装验收,未重复执行 PKG 系统安装脚本。包 44,488,264 字节,SHA-256 `7513be46cc86eb5df26401c9cb4368c8290d276cdcc478e5f16f727a1be4d647`。Release **404**/PKG **51**/符号 **52** 已发布,沿用公测标记和原仓库可见性;草稿附件经已登录浏览器下载,发布后再次完整下载,大小与 SHA-256 均一致。独立远端检出核对编译节点 778 个文件、标签 786 个文件,Git 完整性通过。
|
||||
|
||||
[Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.19.1-idle-preview-20261106) · [发行核验](verification/Release1.19.1.json) · [安装包](verification/Package1.19.1.json) · [符号](verification/Symbols1.19.1.json) · [恢复](verification/Recovery1.19.1.json)。本轮构建 APP、公证 ZIP、旧替换 APP、打包暂存、基准可执行文件、下载副本和恢复 clone 已清理;正式包、匹配符号、历史发行包、原素材及 QA 库保留。原始宿主采样仅留本机诊断缓存。[清理记录](verification/Cleanup1.19.1.json)。
|
||||
|
||||
**2026-11-06 文章更新补记:**按用户要求,已将[文章 15792](https://dayu.media/15792/)的主下载、标题、摘要、相关 SEO 和安装说明更新到 **1.19.1(110)**,补充默认预览卡顿修复,明确同一 PKG 已含整合效果与全部 16 个独立模块。再次展开正式包,核对 17 个可安装效果与 34 张预览图,共 51 个文件逐字节匹配项目及 APP 内资源;安装脚本目标为当前登录用户的 `Movies/Motion Templates.localized/Effects.localized/大鱼调色`。包内完整 APP 为 110,签名与票据通过,复用已发布正式包,未重新打包或执行系统安装。
|
||||
|
||||
文章保存回读、正常地址与新请求的前台标题/SEO/代码区块/全部模块名称/原图片均通过。网站主下载完整取得 44,488,264 字节,SHA-256 与上述 Release 包一致,签名、票据和 Gatekeeper 通过。价格 50 元、会员免费、封面、分类和原 FCPX 同步开关保留;付费资源直链未写入公开正文。发布正文保存在 [文章更新内容](Packaging/article-1.19.1.json),证据见 [文章核验](verification/Article1.19.1.json) 和 [包内模块清单](verification/PackageModules1.19.1.json)。本轮下载和展开副本已清理,原始回读仅留本机缓存。
|
||||
|
||||
**2026-11-06 独立模块配图补记:**用户提供的效果浏览器截图已原样加入同一文章,在 1.19.1 更新说明之后新增“新增独立模块示意”,附图注与替代文本。媒体附件 **15879**,原图 1364×748、384,718 字节,上传后下载 SHA-256 与原图一致;前台仅有一处新图,浏览器实看图像和图注正常。标题、SEO、封面、主下载、价格会员规则及原正文图片保持原样,本轮未重打 PKG。原图保存在 [独立模块示意图](Publishing/1.19.1/independent-modules.png),[文章内容](Packaging/article-1.19.1.json)已同步,证据见 [配图核验](verification/ArticleModuleImage1.19.1.json)。
|
||||
|
||||
接手重点:本次消除默认/无效状态的额外开销;真正启用调色时的人脸肤色保护仍用原逐帧检测和轮廓算法,其性能未优化。文章已为 1.19.1(110),含本次新增独立模块示意图;主 APP 更新通道仍为上次核对的 1.19.0(109),此次仅更新文章,未部署 NAS 后端或更新通道。既有 project.pbxproj 三处 Security 排序差异保留未提交。接手先核对本机 110、以上发行记录及用户真实工程播放反馈,勿用旧版发布记录替代。
|
||||
|
||||
## 1.19.0 交付基线(历史)
|
||||
|
||||
**1.19.0(109)已正式公证安装、通过宿主验收,PKG/Release/文章及更新通道已交付。** 实际编译提交 `867bcfbad3f566ced2170925e8eadd9414cc3b75`,APP 公证 `b83655db-23a9-4312-91e4-bfd697143e44` Accepted。全部正式跟踪改为 Apple Vision,APP 无 OpenCV 符号与资源。马赛克用对象外观跟踪;普通蒙版/钢笔及图章双区用局部图像配准。短时丢失最多预测 0.8 秒,确认回归后补齐,未确认尾部删除;旧工程需重新跟踪。979 项正式原生检查通过。FCP 验收副本 `1.19.0 Vision 全跟踪验收` 完成 285 帧,起点、6 秒与 11.36 秒实际马赛克覆盖头部,两种跟踪回调日志 main=0;面板关闭重开、参数修改/复位、普通蒙版反向单帧与撤销通过。未量化 UI 延迟,未重复完整实片图章或导出。[宿主证据](verification/HostVisionTracking1.19.0.json) · [算法比较](research/TrackingRecoveryCandidates.md)。
|
||||
|
||||
发行标签 `v1.19.0-vision-tracking-20261106` 指向 `a0178f994d71c19e95c70e23f9b056947b063b1c`。PKG 公证 `99abefcb-c1cb-4aff-8b85-8109eab00df9` Accepted,20 项验包与 192 条载荷权限通过,本轮 APP 独立安装,未重复运行系统 PKG 安装脚本。Release **403**/PKG **49**/符号 **50** 已发布,草稿和正式下载分别核对完整大小与哈希。包 44,486,766 字节,SHA-256 `0287d9e153463059730e99aade32a8b24cac19312e00d2450aa3c0819ae44745`;符号 3,472,206 字节,SHA-256 `401cb46a38838a5605b7a1cb6eb3cd5ee03a649a80c7cf6655741a57ec0deb31`。独立远端恢复核对编译节点 766 个文件、发行标签 771 个文件。文章 15792 与 beta 通道均为 1.19.0/109,站点两路完整包下载和票据通过,旧版提示更新/109 不提示更新;价格、会员、封面与既有图片保留。NAS `beta.json` 同目录旁路备份为 `beta-202611062006.jsonbak`,未修改后端 PHP。
|
||||
|
||||
[Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.19.0-vision-tracking-20261106) · [文章](https://dayu.media/15792/) · [发行记录](verification/Release1.19.0.json) · [站点记录](verification/Article1.19.0.json) · [更新通道](verification/BetaPublication1.19.0.json) · [清理记录](verification/Cleanup1.19.0.json)。本轮清理旧替换 APP、对照环境、用户素材派生帧、模型、候选符号、下载及恢复副本;保留原素材、QA 库、历史发行包。原工作区的 project.pbxproj 三处 Security 排序差异继续保留,未混入提交。
|
||||
|
||||
接手第一步核对正式 109 与以上报告;用户已有工程重新执行追踪后播放复核,优先收集真实复杂遮挡和多人交叉片段。不要把单段 285 帧通过推断为所有素材不偏移,也不要把原生图章回归当作本轮完整实片图章验收。
|
||||
|
||||
|
||||
107 为过渡候选未发布;108 全 Vision 候选公证后,FCP 菜单/浮动面板重开时插件 XPC 服务闪退,FCP 宿主仍运行。定位到 `DYColorWorkspace` 的 `_remoteParent` 借用指针在延后布局时已释放,109 改为持有至关闭,新增两项生命周期回归,正式面板重开未复现。[崩溃证据](verification/WorkspaceCrash108.json)。这不是对所有历史闪退原因的结论。
|
||||
|
||||
前一版本记录:**1.18.1(106)曾正式安装、发布 Git Release,并更新文章 15792 与主 APP 公测通道,现由 109 接替。** 实际编译提交 `1cc7f8edb2acb3cfc62bd72447c2956ad7a01601`;发行标签 `v1.18.1-tracking-ui-20261106` 指向 `5fe4b1933e015a906fab36b65dcbc45a0d6bee49`。APP 公证 `2c4e6cba-8178-4a50-9198-83e66be37add` Accepted。安装后 964 项原生检查通过,FCP 独立副本完成两轮 285 帧跟踪及模块/参数交互。
|
||||
|
||||
- 跟踪保留 OpenCV LK,Metal 灰度回读减少 75%,目标区域特征检测与金字塔复用减少 CPU 工作。同一 4K 片段算法计算 8.78 秒降至 1.31 秒(约 6.72 倍),轨迹逐帧一致;不含宿主供图、解码、预览与渲染,不等于全流程速度。
|
||||
- 界面减少完整参数重建、重复宿主读取及图层列表重建。未测 UI 延迟分位数,不宣称所有界面卡顿已根治。
|
||||
- 人脸转身仍有偏移,原版在同一离线输入上也存在;当前优化未改进精度。旧 Metal LK 实验在第 133 帧丢轨,已拒收,没有启用到正式路径。
|
||||
- 证据:[性能](verification/TrackingPerformance1.18.1.json) · [宿主验收范围](verification/HostTrackingUI1.18.1.json) · [实现与限制](research/TrackingMetal1.18.1.md)。继续处理时优先关注交互流畅与转身/遮挡精度,避免把渲染平均耗时当作 UI 延迟。
|
||||
- PKG 公证 `5b0f2573-e603-49a5-91b6-fa0582c8c782` Accepted,20 项展开及 198 条载荷权限检查通过,包内 APP 对应上述编译提交。本机未重复执行系统安装器脚本。正式 PKG 46,654,687 字节,SHA-256 `e149555c46cc6196eb12601196d70121d79b796be852f9a2e89688b20483a6b2`。
|
||||
- Release **402** 的 PKG 附件 **47** 与匹配 dSYM 附件 **48** 已发布,草稿及发布后均完整下载核对;[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.18.1-tracking-ui-20261106) · [发布记录](verification/Release1.18.1.json) · [符号](verification/Symbols1.18.1.json)。独立远端检出编译节点 739 个、标签 742 个文件,逐字节与 Git 完整性通过。[恢复](verification/Recovery1.18.1.json)
|
||||
- [文章 15792](https://dayu.media/15792/) 已绑定 1.18.1 主包并更新正文/SEO;价格、会员规则、封面、分类与原图保持。公开页和下载验票/哈希通过。beta 通道备份 `beta-202611061819.jsonbak`,105 提示更新、106 不重复提示,下载校验通过。[文章](verification/Article1.18.1.json) · [通道](verification/BetaPublication1.18.1.json)
|
||||
- 正式路径仍为 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,主 APP 常驻与自动诊断保留。原项目未改;FCP 当前打开独立副本 `1.18.1 追踪与界面验收`。前序 project.pbxproj 的三处 Security 引用排序继续留在工作区,未混入提交。
|
||||
- 本轮约 2.86 GB 临时灰度帧、基准可执行文件、下载副本和上传暂存已清理;生成 APP/公证 ZIP/旧版替换备份由正式交付流程清理,PluginKit 只有一个正式路径。保留正式发行包、符号和用户历史归档;不作全盘唯一副本承诺。[清理](verification/Cleanup1.18.1.json)
|
||||
|
||||
## 1.18.0 交付基线(历史)
|
||||
|
||||
**1.18.0(105)已正式安装、发布 Git Release,并上线主 APP 公测更新通道。** 本轮完成云端报告调查、取消主 APP 自动退出、增强可关闭的后台诊断。已验证真实卡顿调用栈到达云端;已有用户卡顿的具体算法根因仍待继续分析,不能宣称已根治。
|
||||
|
||||
| 项目 | 已核对状态 |
|
||||
| --- | --- |
|
||||
| 工程与源码 | `/Volumes/备份/大鱼调色/大鱼调色`,`main`,远程 `https://dayu.media/git/dayu/dayu-color.git`。实际编译 **`d0187695581fa3a8fe5c3cfa8a1bc6337425f5f6`**;发行标签 `v1.18.0-diagnostics-20261106` 指向 **`a03a056bff17daadce77128f767a08e98dc830dd`**。原有 project.pbxproj 三处 Security 引用排序保留未提交。 |
|
||||
| 正式安装 | **1.18.0(105)**,`/Library/Plug-Ins/FxPlug/大鱼调色.app`。APP 公证 `5a98cab1-23af-4034-abc9-0c9e7b1dc77d` Accepted,票据、Gatekeeper、唯一 PluginKit 路径通过;961 项原生回归、75 项离线诊断检查、FCP 12.4 加载及播放验收完成。[交付](verification/Delivery.json) · [实际范围](verification/Diagnostics1.18.0.json) |
|
||||
| Git Release | Release **401**,PKG 附件 **45**(46,620,783 字节,SHA-256 `4a52742a393ecaaa30f758d72c9e0ba68c606ed8e805316d48b9868068378a3f`),匹配 dSYM 附件 **46**。两附件均在草稿及发布后完整下载核验;保留公测标记及原仓库可见性。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.18.0-diagnostics-20261106) · [发布记录](verification/Release1.18.0.json) · [符号](verification/Symbols1.18.0.json) |
|
||||
| 云端诊断后端 | 仅更新 `wp-content/mu-plugins/dayu-color-beta.php`;生产旁路备份 `dayu-color-beta-202611061649.phpbak`,增加限定字段并分开展示上传版本/故障版本。27 项合同检查及线上 ACK/重试/隔离核验通过。[部署](verification/BetaBackendDeployment.json) · [线上检查](verification/BetaBackendLive.json) |
|
||||
| 更新通道与文章 | 主 APP beta 通道已从 1.12.0(79)更新到 **1.18.0(105)**,清单旁路备份 `beta-202611061726.jsonbak`;线上 PKG 完整下载大小与 SHA-256 一致,95 收到更新、105 不重复提示。文章 15792 已更新 **1.18.0(105)** 主下载、标题、SEO、自动诊断说明和 16 个独立效果查找位置;价格、会员规则与封面保留,全文及正式下载验票/哈希通过。[文章验证](verification/Article1.18.0.json)。[更新验证](verification/BetaPublication1.18.0.json) |
|
||||
| 包与清理 | PKG 公证 `8c4fa3f6-4866-429a-8750-8567f7db4766` Accepted;票据、Gatekeeper、20 项展开、198 条载荷权限检查及常驻主 APP 正常退出规则通过。本机从正式 APP 独立验收,未再次运行 PKG 系统安装脚本。当前正式包与符号 ZIP 位于项目上级“发行包”;本轮临时 APP/旧替换备份/采样原文/下载副本/恢复 clone 已清理。[验包](verification/Package.json) · [清理](verification/Cleanup1.18.0.json) |
|
||||
|
||||
## 1.18.0:报告结论、后台采集与待跟进
|
||||
|
||||
- **历史闪退**:云端 43 条崩溃摘要中 7 条属于本机开发测试;外部 36 条中 34 条是 1.10.0 通知回调对象生命周期故障,1.11.0 起的既有提交 `1c3e294ce991b0205969486c330dba57714aeacc` 已修复。上传版本 1.14.x 不等于崩溃实际版本。两条 1.7.4 dyld 旧摘要不足以判定原因。完整脱敏分析见 [调查记录](research/CloudDiagnostics1.18.0.md)。
|
||||
- **常驻与采集**:取消注册后的倒计时退出;关窗后台运行,菜单栏可重新打开、发送摘要或主动退出。每分钟扫描本产品 APP/XPC 的系统崩溃报告,记录实际版本、终止类别、UUID/偏移,排除 ASAN/原生自检;卡顿探针使用公共运行循环,限频对自身进程采样。渲染、状态构建、检视器、跟踪按分钟汇总,避免每帧上传。只提取允许的摘要,不传素材、LUT、预设、账号或原始系统报告,沿用诊断开关与 30 天保留。
|
||||
- **正式实测**:候选 104 的采样首次超时,未分发;105 移除采样前的符号预读并给后台解析 30 秒上限。受控 12 秒主 APP 卡顿已在云端捕获 `runDiagnosticsProbe → sleepForTimeInterval → nanosleep`,标记 verification。关闭诊断超过一分钟,待发清零且无新增上报;恢复原开启状态后主 APP 与 XPC 恢复发送。关窗后同一普通进程持续跨两轮分钟统计,不含测试启动参数;这是短时实测,不是长期压力测试。
|
||||
- **已经得到的新性能线索**:当前 3840×2160 素材的 28 次渲染平均 **601.4 ms**、最大 **1716.8 ms**;同期 41 次状态构建平均 **4.31 ms**、最大 **8.68 ms**。主要耗时落在渲染阶段,尚未细分到 GPU 等待、读回、具体算法或资源竞争,也不能直接换算为播放 FPS。本轮只建立诊断证据,没有顺带重写渲染器。
|
||||
- **刚才疑似本机闪退**:17:03/17:06 与本轮 Cmd-Q 退出时间一致,系统 `(0,0,0)`,无新增 FCP 崩溃报告;用户已确认可能为本轮正常退出。另有今天 10:30 的历史 FCP ProOSC 绘制中止、主线程重建检视器,报告不含大鱼栈,不能归因到本插件或此次诊断。[退出核对](verification/LocalHostExit1.18.0.json)。本产品自动上传范围不包含其他 APP 的完整崩溃报告;若 FCP 自身再次崩溃,仍需对应宿主 IPS 与插件时间线关联。
|
||||
- **恢复**:实际编译节点 724 个文件、发行标签 728 个文件独立远端检出并逐字节核对,Git 完整性通过;无 LFS/子模块,未重复第三方冷构建。符号 ZIP 与主 APP/XPC 二进制 UUID 精确匹配,已随 Release 保存。[恢复记录](verification/Recovery1.18.0.json) · [恢复步骤](RECOVERY.md)。
|
||||
|
||||
用户最新优先级(2026-11-06):先完成文章自动收集版更新(已完成),随后优先保证界面操作流畅;普通渲染速度可暂缓。新增要求:尝试用 Metal 加速马赛克跟踪。接手先核对 1.18.0(105)和新云端事件,区分 UI 主线程、逐帧供图、追踪算法、预览更新的耗时。处理用户崩溃时按 source_version/source_build 和 UUID 匹配符号,不用上传版本推断故障版本。以下为前序交付记录。
|
||||
|
||||
## 1.17.1 交付时基线(历史)
|
||||
|
||||
**1.17.1(103)已正式安装并完成 Git Release 交付。** 本轮按用户要求恢复检视器折叠与内部滚动,默认只展开一级调色、基础调整、蜘蛛盘;修复手绘蒙版跨宿主时间起点写回,马赛克改用轻量人脸框检测,并接入多个人脸/蒙版选择。用户要求代码接入后自行实测,真实运动多人、遮挡和流畅度尚未验收。
|
||||
|
||||
| 项目 | 已核对状态 |
|
||||
| --- | --- |
|
||||
| 工程与源码 | `/Volumes/备份/大鱼调色/大鱼调色`,`Wrapper Application` / Release;远程 `https://dayu.media/git/dayu/dayu-color.git`,`main`。实际编译提交 **`3b4c612edf99c0ef2b972b7305cd7ba44244a7c6`**。 |
|
||||
| 本机正式安装 | **1.17.1(103)**,`/Library/Plug-Ins/FxPlug/大鱼调色.app`。Developer ID 签名、APP 公证 `36ecb7e6-5cfc-4b85-8363-11272d880b18` Accepted、票据、Gatekeeper、唯一 PluginKit 路径、961 项原生自检及 FCP 12.4 加载/折叠滚动/菜单验证通过。[交付](verification/Delivery.json) · [宿主范围](verification/HostInspectorMosaic1.17.1.json) |
|
||||
| Git Release | `大鱼调色-1.17.1.pkg`,46,600,407 字节,SHA-256 `5c1240d9f262c977495016cd9c19bd55cc0e374fcf9f99128e8cb2231309d710`。标签 `v1.17.1-inspector-mosaic-20261106` 指向 **`7c0bfa5352f282bcec0aedf43be29af4432f2ba8`**。Release **400**/附件 **44** 已发布,保留公测标记与仓库可见性;草稿及发布后完整下载大小与哈希一致。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.17.1-inspector-mosaic-20261106) · [发布记录](verification/Release.json) · [验包](verification/Package.json) |
|
||||
| 站点及自动更新 | 本轮未操作。原文章 15792 主下载上次核对为 **1.14.4(95)**;主 APP 公测更新通道上次回读为 **1.12.0(79)**。[原文章](https://dayu.media/15792/) · [文章核验](verification/Article1.14.4.json) · [更新通道核验](verification/BetaPublication1.12.0.json) |
|
||||
| 环境与验收库 | Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+、FCP 12.4。固定缓存 `/Users/mac/Library/Caches/CodexBuilds/com.dayu.color`。QA 库 `fcp-qa/level-1.15.0/未命名.fcpbundle`,事件“大鱼调色1.17.0全链路与马赛克验收”。接手重新检查产品交付锁。 |
|
||||
|
||||
## 1.17.1:恢复折叠、手绘保存和指定人脸
|
||||
|
||||
- 检视器按窄宽测量默认三组与其余折叠标题,内部最大高度 3501 pt;默认无内部滚动,展开/追加超出容量才滚动。已保存的折叠状态继续读取,独立效果默认展开唯一根模块。FCP 外层仍保留首次分配的高度,内部视窗可缩短,较宽检视器末尾有预留空白;没有恢复失败的参数删除/重建方案。
|
||||
- 手绘草稿用 OSC 时钟保存几何,宿主 Action 时钟负责读取非动画文档与检查换帧。重绘时间不同不再丢掉草稿;真实输入换帧、Esc 和外部改动冲突仍取消。原生检查覆盖松手保存及安全回读;用户反馈的实鼠复位仍须在其问题素材复测。
|
||||
- 全部人脸模式改用长边 640 的 Vision 人脸框检测,独立同画面缓存,减少特征点开销。肤色保护原算法保留;本次没有同场景前后播放帧率基准,不能保证所有素材流畅。
|
||||
- 指定目标入口:开启“全部人脸 · 快速逐帧识别”→ 暂停目标画面 → 再开“局部马赛克”→“将本帧 N 张人脸转为可选跟踪蒙版”→ 勾选需要遮挡的人脸。在控制面板蒙版页逐个运行正向、反向或双向跟踪。每个框有稳定 UUID;生成后未跟踪前是静态,不是全片身份识别。矩形、椭圆和钢笔也能多选用于马赛克。
|
||||
- 961 项正式原生检查通过;双人测试使用 NASA 公有人像并排合成,取消一人后其像素变化为 0。16 个独立模板与整合模板静态检查通过。FCP 实窗看到初始三组、折叠标题、展开胶片和曲线产生内部滚动、收起后滚动条消失;本帧单人转换入口可用。[专项记录](research/InspectorMosaic1.17.1.md) · [回归](verification/InspectorMosaic1.17.1.json)
|
||||
- 编译节点 714 个文件、发行标签 718 个文件独立远端检出并逐一校验,差异仅为记录与模板模型来源哈希;无 LFS/子模块,未重复第三方冷构建。原有 project.pbxproj 三处 Security 引用排序保持未提交。[恢复](verification/Recovery1.17.1.json)
|
||||
- PKG 公证 `8e122236-9ca6-4d92-ad6a-b9c2411280e7` Accepted,票据、Gatekeeper、20 项展开检查和 198 条载荷权限检查通过;正式 APP 独立安装验收,本机未重复执行 PKG 系统脚本。本轮构建 APP、公证 ZIP、旧替换备份、包暂存、恢复 clone 和草稿下载副本已清理,保留正式包与用户历史包,交付锁已释放。[清理](verification/Cleanup1.17.1.json)
|
||||
|
||||
接手第一步核对 1.17.1(103),按用户实拍反馈复测手绘松手、目标脸选择、轨迹及播放耗时;不要把原生回调测试或静态人像验证当作真实多人运动验收。下方为历史记录。
|
||||
|
||||
## 1.17.0:独立缩略图、全展开检查器、输出层与马赛克
|
||||
|
||||
- **缩略图**:`tools/build_module_previews.swift` 生成 16 套有功能名称和对应图形的缩略图,640×360 / 240×135。`tools/template_payload.py` 使用独立资源路径;MOEF 与旧版逐字节一致,整合版保留品牌图。FCP 效果浏览器实见风格 LUT、肤色、黑白、基础调整的不同图形;全部图片由 [缩略图报告](template/verification/ModulePreviews.json)、安装哈希和模板静态检查覆盖。
|
||||
- **全部展开并测高**:`DYInspector.mm` 在返回视图前同步布局,按 280 pt 窄宽和各页签最大内容测量,预留颜色设置及输出卡片需要的高度。整合版显示全部未删除模块,独立效果仍仅显示其根模块;仅改变呈现,不修改参数、启用状态或旧折叠存档。模块标题用于选择,双击仍可还原,不再折叠。FCP 外层检查器可滚动,插件内部没有纵向 ScrollView。实测冷启动顶部与底部完整、追加一层镜头畸变后输出设置仍可达、独立 HSL 完整展示;未复现 101 的整片空白。
|
||||
- **高度边界**:FCP 12.4 仍会缓存初始高度,本版采用用户选定的初次全量测高,并未修复宿主动态高度接口。较宽检查器底部可能留有页签/模式的预留空间。已实测追加一层,不能承诺任意数量新层都可无限增长;大量追加超出初始容量时,重新选择片段重新测量。其余行为和覆盖范围见 [宿主报告](verification/HostUnified1.17.0.json)。
|
||||
- **V4 全链路**:在颜色设置显式选择“全链路 · 输出转换层”,输出默认末层并可上下移动。保留 nil/V2/V3,避免静默改变旧工程;原模板 custom dataValue 也保留兼容值。`DYUnifiedRender.inc.h` 按真实节点顺序执行,统一输入/输出和当前节点工作域,一级旁路不关闭全局转换,蒙版在 AP1 线性域混合,保留负值与超白残差,曝光按场景线性处理。创意 LUT、胶片和旧有界工具仍使用明确局部参考域/增量延拓,不宣称全部旧算法都已改写成场景线性。FCP 实测输出末层、上移至镜头之前和一次撤销恢复。
|
||||
- **局部马赛克**:OSC 网格按钮与检查器同名按钮使用同一菜单和写入桥,可选逐帧人脸、任意已绘制共享蒙版及方块大小;复用现有识别和蒙版轨迹。人脸区域包含眼睛、鼻子、嘴。FCP NASA 公有人像实测人脸覆盖和矩形来源切换,冷启动保存状态正确。运动轨迹插值、无蒙版旁路、区域外像素和空间工具共存由原生检查覆盖。本轮未完成运动视频实窗跟踪,也未取得自动 OSC 鼠标点击回调,不能说这些已有人手验收。空间马赛克需保存完整预设,不能完整导出 Cube。
|
||||
- **正式交付与恢复**:APP 公证 `6143097e-7a1b-4e95-9388-434e82acf3bc`,PKG 公证 `a9bba972-0743-469f-9869-13f94e1a1a83`,均 Accepted;票据、Gatekeeper、20 项验包和 198 条载荷权限检查通过。APP 独立正式安装并完成 FCP 验收,本轮未重复运行 PKG 安装脚本。编译节点 709 个文件、发行标签 711 个文件已独立远端检出核对;没有 LFS 指针/子模块,未重复冷构建第三方依赖。[恢复](verification/Recovery1.17.0.json) · [清理](verification/Cleanup1.17.0.json)。工作区原有 `project.pbxproj` 三处 Security 引用排序未提交、未改动。
|
||||
|
||||
### 候选 98—101 的历史结果
|
||||
|
||||
98 移除内滚动后 FCP 固定初始 406 pt;99 提前布局使首次完整,但折叠留下空白;100 即时隐藏/恢复参数标志未刷新宿主;101 动态参数重建/延时标志切换仍导致空白,切换片段才恢复。因此四个候选均未发布,回滚 97 后清理;950 项原生检查和公证通过没有替代宿主验收。候选 101 编译提交 `2c2af3695b6dbe661db7adf544a60c58766a4e73`,公证 `4e9e5a94-a707-4733-b75c-846445d02ebd`;[拒收与回滚](verification/RejectedBuild101.json)、[候选宿主报告](verification/HostUnified1.17.0-candidate101.json) 和 [研究记录](research/UnifiedPipeline1.17.0.md) 保留。用户随后明确选择全展开测高,102 已删除 `inspectorHeightChanged:` 参数重建及标志切换实验,当前没有待答的浮窗方案问题。
|
||||
|
||||
接手第一步核对正式 1.17.0(102)和本段记录;若继续优化大量追加层高度或 OSC 实鼠操作,直接使用正式路径版本及既有 QA 库复核。不要恢复已拒收的参数隐藏/重建路线。
|
||||
|
||||
## 1.16.0 畸变切换修复、保留参考线与全部独立模块
|
||||
|
||||
- 用户明确反馈“应用水平校正后畸变就没反应”。原逻辑在已有畸变面板打开、进入水平校正、再点击畸变时,会按普通开关关闭已有面板;现改为恢复畸变编辑。水平校正期间隐藏其他画布面板及其命中区域,结束后恢复。原生检查覆盖该顺序及两种空间变换同时渲染;正式 FCP 检视器实测校正后修改畸变 0→80,画面继续变化,冷重开保留。
|
||||
- 水平校正把两点、参考方向和角度写入完整工具文档。完成后线仍保留;拖动端点可二次修正,每次落位一次撤销,重新进入工具会恢复。画布显示 FCP 旋转角度、总缩放及增加百分比。新增“仅测量”保留线和结果、关闭插件的旋转放大,便于使用 FCP 原始变换;已有缩放应相乘,异比例、位移或裁剪需检查边缘。
|
||||
- 共 16 个独立 MOEF:一级调色、蜘蛛盘校色仪、基础调整、肤色保护、风格 LUT、HSL、曲线、颜色分级、三原色、色阶、黑白混色、色彩平衡、通道混合器、胶片模拟、镜头畸变修复、CST 色彩空间转换。每个保留屏幕工具、控制面板和追加模块,只发布自定界面;没有模板版权或网址发布项。CST 根模块隐藏一级调色参数并关闭根一级处理。原整合版、一级和 HSL 模板与 1.15.0 逐字节一致。
|
||||
- 新版本没有实现可移动输出转换层。现有 V3 会把一级调色和印片集中执行,部分后续算法也会裁切颜色;必须改为真实节点顺序并逐项定义工作域,才能可靠实现全栈宽色域、最后转 709。兼容和质量方案见 [分析](research/LevelingModules1.16.0.md)。
|
||||
- 922 项正式安装原生检查全部通过,16 个模板静态检查和独立远端恢复校验通过。FCP 自动指针点击没有进入 OSC 鼠标回调,故两点、拖线、参考线可见性和端点修改的实鼠验证仍待补充,不能把原生回调检查当成人手实测。接手打开独立验收库中的 `1.16.0 全独立模块`,镜头畸变片段已加载含参考线校正并设置畸变 80%;手动进入水平工具、拖线后切回畸变复核。4K→HD 的画质对照尚未实测。
|
||||
- APP 已正式安装;1.16.0 PKG 已签名公证、票据和 20 项验包通过。Release 398/附件 42 已发布,发布前后两次完整下载校验通过。编译节点 657 个文件、发行标签 660 个文件独立远端检出一致。已清理构建 APP、公证 ZIP、旧替换备份、验包暂存、恢复 clone 和浏览器下载副本。[恢复](verification/Recovery1.16.0.json) · [清理](verification/Cleanup1.16.0.json)。站点文章仍为 1.14.4,主 APP 更新通道仍为上次核对的 1.12.0。
|
||||
|
||||
## 1.15.0 深色默认、独立效果与水平校正
|
||||
|
||||
- 新用户默认深色,保存过的浅色选择会被读取。独立效果使用既有的 FxPlug 和工具文档,分别预置并展开一级调色、HSL 混色。整合版保持原路径、滤镜 UUID 和发布项。独立 `.moef` 只发布自定义检查器,模板无版权或网址发布项。三个效果随同一 PKG 安装。
|
||||
- 「水平校正」支持水平或垂直、两点或拖线。按实际画面宽高比计算旋转及覆盖四角的最小放大倍率。校正应用于完整效果输出,屏幕蒙版和图章位置按同一变换映射。校正状态随效果和完整预设保存,Cube 导出会提示改用完整预设。
|
||||
- FCP 12.4 独立验收库确认两个独立效果的初始模块、控制面板和继续添加模块,整合版原四组及混合仍可见。载入 −8° 校正预设后,合成网格拉平、画面覆盖四角,冷重开继续生效。两点、拖线、撤销、重置和 Esc 由 898 项正式原生自检中的 OSC 回调覆盖。自动实窗鼠标未进入 FCP 的 OSC,手动实机画线仍待复核。[验收范围](verification/HostLevel1.15.0.json)
|
||||
- 接手续测时可打开缓存中的独立资源库 `fcp-qa/level-1.15.0/未命名.fcpbundle`,选中 HSL 或一级调色片段,从画面右下角校正图标手动画线,复测保存与撤销。
|
||||
|
||||
## 1.14.4 安装权限和启动验签
|
||||
|
||||
- 94 版分发后,多名用户反馈“安装完整性验证失败”。用户提供的修复记录指出有四个不可读资源及一份放在 `/Applications` 的重复 App。94 正式 PKG 的 BOM 恰有四个 `root:wheel`、`0700` 文件,分别为外层 App 的 `Basis_balanceWheel.png` 和内置模板的 `large.png`、`small.png`、`大鱼调色.moef`。在原签名副本上模拟读权限丢失可复现严格验签的 `Permission denied`,修正为 `0644` 后通过,不需要重签。PKG 自身的载荷与脚本均指向固定 FxPlug 路径并禁用重定位。未获取受影响设备的诊断或确认重复副本来源。
|
||||
- 94 包中主 App 和插件服务的 Apple Developer ID 证书链均完整。单独使用系统信任根、排除用户钥匙串和联网,两条链均通过。开发机本轮复核的 94 App 是由交付脚本复制、当前用户持有的正式安装,能读取这些文件,未覆盖安装器改为 `root` 后的权限场景。
|
||||
- 95 版启动和注册检查两个可执行文件、Apple Developer ID 团队、签名标识、位置关系和版本一致性。全资源和嵌套框架扫描保留给下载更新包,签名改动、重签、缺失及混装对照检查通过。交付脚本将上述四个资源设为 `0644`,打包前检查实际 App,公证后检查最终 BOM。未发布的原始 95 候选经新权限门槛确认失败后重制,历史 94 包保留。第三方机器的新版安装结果仍需回访。
|
||||
- 原文 15792 已绑定附件 15865「大鱼调色-1.14.4.pkg」,在正文顶部提示验签修复并请遇到报错的用户重装。原标题和 SEO 继续描述 1.14.3 的跟踪更新,安装段已指向 1.14.4。正式下载目标取回 45,381,319 字节,与本地正式包逐字节一致,下载副本的公证票据验证通过。封面、分类、价格和会员规则回读一致。[站点验收](verification/Article1.14.4.json)
|
||||
|
||||
## 1.14.3 站点文章
|
||||
|
||||
- 在原文 15792 就地发布 1.14.3(94),更新版本介绍、安装说明、SEO、特色图片与站内主包。正文展示用户提交的 2046×1570 原图。1672×941 封面注明「不加密 · 不限制安装数量」。文章的历史界面图片、普通用户 50 元和鱼粉会员 0 元均经前台核验。
|
||||
- 文章主包下载名为「大鱼调色-1.14.3.pkg」,完整下载与公证发行包的字节数及 SHA-256 一致。发布输入与两张图片保存在 [1.14.3 发布目录](Publishing/1.14.3/),前后台和附件验证见 [站点验收](verification/Article1.14.3.json)。下次更新从文章 15792 的当前内容和资源字段回读开始。
|
||||
|
||||
## 1.14.3 图章稳定与逐帧跟踪预览
|
||||
|
||||
- `DYToolState.mm` 在连续分析段写入前,使用最多五帧的对称窗口平滑图章两侧坐标和对数缩放,起点与最后可信帧保持原值。Metal 跟踪渲染支持连续的亚像素取样,相对缩放经过 1 倍时连续过渡。取样跨出画面边缘时在最后一个像素内过渡。旧图章重新执行双向跟踪即可应用轨迹平滑。
|
||||
- 仿制图章和普通蒙版共用控制面板右侧的进度和同步预览。预览采用同一分析帧的画面与轮廓,图章显示青色取样和黄色覆盖,普通蒙版显示黄色轮廓。进度统计双向分析时的唯一帧数,进度条直接按比例绘制。自动分析期间时间线播放头停在起始位置,单帧跟踪仍按宿主时间映射移动播放头。
|
||||
- 在上次 257 帧 4K 轨迹离线回放中,取样中心二阶帧差 RMS 从 2.71 降到 0.95 像素,覆盖中心从 2.43 降到 0.92 像素。独立实拍副本中,图章和矩形蒙版均完成 190 帧跟踪,保存回读为连续 25 fps。94 版重跑验证了画面、轮廓和进度,51% 时条形填充与数值一致。验收覆盖本机 Final Cut Pro 12.4 与原生自检。[实拍验收](verification/HostTrackingPreview1.14.3.json)
|
||||
- 接续实拍反馈时,先在原问题片段重新跟踪旧图章,记录方向、首个异常时间码和取样区。若需复测,可使用本机验收库的独立副本。
|
||||
|
||||
## 1.14.0 图章取样与覆盖跟踪
|
||||
|
||||
- 用户在 1.13.4 的实拍工程中确认图章可落位、拖动,随后要求取样点和覆盖目标都参与跟踪并识别缩放。[1.13.4 实鼠确认](verification/HostCloneStampSave1.13.4.json)
|
||||
- 两个区域各自使用同一宿主源帧运行 OpenCV 分析。写入的每个轨迹键同时记录两点的位置与缩放。任一侧跟丢时,提交本次最后一段两侧均可信的连续轨迹。普通蒙版沿用原分析。旧图章单点轨迹仍按位移求值,可重新跟踪以获得双点数据。
|
||||
- 覆盖圈随覆盖区域缩放。渲染按取样区域和覆盖区域的相对缩放映射当前帧的源像素,两侧缩放相同时保留整数像素平移。调大或调小覆盖范围仍可独立操作。清除轨迹时将当前帧的图章外观保留为静态值。
|
||||
- 89 版在 FCP 12.4 实拍素材上完成正向和双向跟踪。双向导出得到 257 个连续双点键,并发现片尾一个原有自动键与最后的新键只差 6.33 毫秒。90 版按半帧识别同帧自动键,在分析范围边缘替换旧键,同时保留手工编辑和分析范围之外的轨迹。90 版在同一 4K 源帧上生成 257 个连续双点键,无旧键残留。最终帧横纵缩放分别约为取样 1.387 / 1.689 倍,覆盖 1.169 / 1.203 倍。两边各有独立的中心轨迹。[1.14.0 实拍与原生核验](verification/HostCloneTracking1.14.0.json)
|
||||
|
||||
## 1.13.1 等像素复制与取样十字拖动
|
||||
|
||||
- 选中图章后可拖动青色取样十字。拖动时更新标记,松手后换取样位置并形成一次撤销。Esc 取消,旧图章可直接编辑。源点调整适用于图章的全部帧,目标位置轨迹保持原样。
|
||||
- Metal 按整数像素偏移直接复制当前帧中的原像素,羽化只混合覆盖边缘。改变椭圆宽高只修改覆盖范围。画布和工作区移除图章旋转控件。跟踪继续用现有分析器求解运动,图章只应用中心位移。旧项目的轨迹键保留,历史缩放与旋转分量在图章求值时忽略。普通蒙版仍使用原有变换。
|
||||
- 入口为 `DYToolOSC.inc.h`、`DYToolCanvasEditing.inc.h`、`DYToolHostMethods.inc.h`、`DYToolState.mm` 和 `DYGrade.metal`。画布写回继续校验时间、图章 ID 和外部修改冲突。原生检查覆盖一次撤销、Esc 取消、拖动和调尺寸时保持跟踪键,以及实际 Metal 输出的等像素复制。
|
||||
|
||||
## 1.13.0 历史交付 · 画布响应与仿制图章
|
||||
|
||||
- 旧版工具栏重绘会清零并上传整张 CPU 位图。无蒙版、未进入图章取样时,新版只绘制工具栏和已打开面板所需的区域,并沿用宿主提供的透明画布。4K、2 倍缩放的空闲工具栏位图为 1000×134,约占 3840×2160 的 1.6%。蒙版与图章绘制仍可能使用整画布。
|
||||
- 工具文档复制改用内存深拷贝,已验证的不可变文档副本共享内容。每帧快照直接从选中的关键帧生成,不再绕一次序列化往返,也只为胶片层读取颗粒参数。M4 合成测试用四条各含 2400 个键的轨迹,40 次复制平均耗时从 18.018 ms 降到 10.949 ms。上述是局部测量,第三方反馈缺少触发动作、素材和工程,尚无法对同一场景前后复测。
|
||||
- 点击画布右下角仿制图章,点选取样中心,再拖出椭圆覆盖区。Esc 取消未保存操作。选中图章可直接在画布启动正向、反向或双向跟踪,也可在工作区选择图章,调整几何、强度和羽化、清除轨迹、旁路或删除。
|
||||
- 图章用现有共享蒙版文档和跟踪轨迹保存,使用独立标识,每次创建为一组撤销。取样位置和原取样尺寸固定,目标跟踪位移、缩放和旋转。Metal 从每帧同一源画面采样,在调色前处理预乘 RGBA,重叠图章按创建顺序合成。完整预设保留图章,启用图章时拒绝导出无法表达空间修改的 Cube。
|
||||
- 关键路径为 `DYToolOSC.inc.h`、`DYViewerControls.inc.h`、`DYToolHostMethods.inc.h`、`DYToolState.mm`、`DYManagedRender.inc.h` 和 `DYGrade.metal`。下一次排查卡顿时,先区分空闲画布、曲线拖动、工作区示波器和有蒙版的 4K 播放,再抓取对应场景的运行时间。
|
||||
|
||||
## 1.12.1 历史交付
|
||||
|
||||
- 检视器以紧凑高度打开,顶部按钮固定在参数滚动区外。80 版在接入宿主后强改视图高度,造成顶部裁切。81 版由 FCP 管理已挂载视图的空间,超出可用高度的模块在参数区内滚动。
|
||||
- 画布工具栏与曲线默认在右下。曲线顶部手柄可移动面板。松手后保留最终点位,等宿主写回后接续正式参数;保留时间和图层校验及一次手势一次撤销。
|
||||
- 画布与检视器的曲线直方图取样自当前效果的输出。画布按显示帧匹配,检视器接收效果输出更新。曲线直方图与工作区四宫格示波器各有显示用途,继续沿用各自的取样和色彩说明。
|
||||
- 画布新增白平衡吸管,复用基础调整的求解和参数写入;畸变修复使用枕形网格图标。独立图层被宿主拒绝写入时增加本机诊断 `dayu_tool_save_rejected`。
|
||||
|
||||
## 接手时的代码入口
|
||||
|
||||
下表中的文件位于 `大鱼调色/Plugin/`。
|
||||
|
||||
| 范围 | 入口 |
|
||||
| --- | --- |
|
||||
| 检视器高度、滚动和曲线刷新 | `DYInspector.mm` 的 `layout`、`curveOutputChanged:` |
|
||||
| 画布工具、曲线拖动和写回 | `DYViewerControls.inc.h`、`DYViewerParameterPanel.inc.h`、`DYViewerParameterBridge.inc.h` |
|
||||
| 效果输出取样与直方图 | `DYScopeCapture.inc.h`、`DYScopeSample.mm`、`DYHistogram.h` |
|
||||
| 画布白平衡与宿主写入诊断 | `DYPlugIn.mm`、`DYColorTables.h`、`DYToolState.mm` |
|
||||
| 工作区、共享蒙版与跟踪 | `DYColorWorkspace.mm`、`DYToolState.mm`、`DYToolOSC.inc.h`。共享蒙版以工具文档 schema 3 为编辑源,渲染展开副本只用于渲染。[工作区与跟踪专项交接](自定控件开发交接.md) |
|
||||
|
||||
## 验收与待跟进
|
||||
|
||||
- **86 版安装完整性加固。** `Shared/DYCodeIntegrity.m` 固定 Apple Developer ID Application、团队和签名标识,验证正在运行的代码及磁盘上的外层 APP、插件服务与签名资源。外层注册前拒绝改包并撤销此副本登记。XPC 在进入 FxPrincipal 前独立校验。更新器验签失败后取消本次运行的更新任务,停用检查、下载、安装,恢复须安装原包并重开。
|
||||
- **分发与边界。** 原始 PKG 允许原样转发,无机器码或账号授权。用户选择保留后端自动更新策略,由新版本在本地拒绝改包。对方若保留签名内件,只在外部加装控制,内件验签仍可通过。缺少倒卖样本,实际改法待确认。拒绝路径、旧包校验、原版更新及宿主画面均有独立记录。[完整性测试](verification/Integrity1.13.2.json)
|
||||
|
||||
- **85 版历史防护评估。** 1.13.1(85)的正式 APP `com.dayu.color` 与 FxPlug 服务 `com.dayu.color.XPC` 都由 `B3W25FX5H5` 的 Developer ID Application 签名。该版的外层 `AppDelegate.m` 在调用 `pluginkit -a` 前只检查组件元数据。插件 `Plugin/main.m` 直接进入 `FxPrincipal`,效果清单为静态登记。
|
||||
- **验签实测。** 用临时 Security.framework 探针对正式安装与独立副本执行静态签名校验,要求 Apple 签发的 Developer ID Application、指定 Team ID 和各自的签名标识。正式 APP 与服务均通过,错误标识、服务掉签、服务临时重签、Metal 资源被改及外层 APP 临时重签均被拒绝。仅重签外层时,原版内层服务单独校验仍通过。临时副本已清理。本轮未运行改包,也未获得倒卖样本,无法确认对方实际改动。
|
||||
|
||||
- **85 版像素复制与十字。** 正式安装的 864 项原生检查通过,实际 Metal 输出验证扩大覆盖只增加复制面积,重合像素逐值相同。FCP 12.4 独立项目副本读入 83 版图章,画布和工作区都只提供中心与尺寸控制,导出后原图章和 99 个轨迹键逐项一致。实窗自动拖动未产生宿主写入,十字拖动、一次撤销和 Esc 取消由正式安装版的原生回调覆盖。工作区“画面编辑”按钮仍沿用通用蒙版提示文字。[验收证据](verification/HostCloneSource1.13.1.json)
|
||||
|
||||
- **83 版图章与跟踪。** 安装后的 858 项原生检查通过。FCP 12.4 独立验收项目副本中已看到图标、取样十字、目标区及实际贴图。工作区触发真实正向跟踪,冷重开后导出的预设保留 99 个轨迹键,目标几何变化,取样坐标和尺寸一致。宿主测试通过载入验收预设创建图章。画布点击及拖选由原生 FxPlug 回调测试覆盖,自动鼠标输入没有进入实窗的 OSC 回调。[验收证据](verification/HostCloneStamp1.13.0.json)
|
||||
|
||||
- 正式 81 版通过 844 项原生检查。FCP 12.4 冷重开后,检视器顶部完整显示,曲线读到 57,600 个输出样本,原调色参数成功读回。同帧输出变更和检视器直方图刷新已通过原生检查。用户手动确认的是 80 版的画布曲线和实时直方图。[宿主验收](verification/HostCanvasInspector1.12.1.json)
|
||||
- **画布白平衡待实机复核。** 已验证取样入口分发、播放头改变后的写入保护、白平衡求解、色温和色调写入及一次撤销。下一次实机验收补做系统取样界面的点选和取消,核对取样后色温与色调的实际变化。[宿主验收范围](verification/HostCanvasInspector1.12.1.json)
|
||||
- **第三方 FCP 保存告警待反馈。** 本机内置 APFS 验收库未复现,退出重开读回正常。收到报错前的操作、时间、FCP 和插件版本、素材库位置后,再区分卷写入故障、素材库异常与特定插件写入触发;先保护原库与备份,复现在独立验收库进行。[保存告警排查](research/FinalCutSaveFailure-20261105.md)
|
||||
- 站点文章、自动更新通道和 Git Release 分别交付。接手通道更新时,以实时清单、正式包和对应的生产回滚记录为准。[更新部署说明](Backend/README.md)
|
||||
|
||||
## 继续工作
|
||||
|
||||
1. 核对 `git status --short --branch`、远端引用、正式安装版本与交付锁。先在独立 FCP 验收库重现用户本轮指定的问题,保留原工程和既有参数语义。
|
||||
2. 代码变更按 [RECOVERY.md](RECOVERY.md) 恢复和验收。常用入口为 `tools/checkpoint.py`、`tools/deliver.py` 与 `Packaging/build_pkg.py`;交付脚本等待宿主验收时,通过后才输入 `complete`。
|
||||
3. 按 [AGENTS.md](AGENTS.md) 在结束前更新本文并提交、推送、回读。
|
||||
|
||||
可复制到新对话:
|
||||
|
||||
> 在 `/Volumes/备份/大鱼调色/大鱼调色` 继续优化大鱼调色。先读项目 `AGENTS.md` 和 `开发交接.md`,以核实后的正式安装和验收记录为基线,按我接下来指定的内容修改。完成后更新交接文档。
|
||||
|
||||
## 任务记录
|
||||
|
||||
| 日期 | 任务 | 结果与接续 |
|
||||
| --- | --- | --- |
|
||||
| 2026-11-05 | 检视器、画布控件与保存告警排查 | 81 版正式安装并发布。80 版的画布反馈已复核,81 版修复检视器裁切与直方图刷新。剩余实机取样和第三方告警见上。 |
|
||||
| 2026-11-05 | 建立每次任务的交接流程 | 新建本入口及项目规则,为历史专项交接加指引。回读核对了正式安装 81、远程版本标签、站点文章及公测通道 79。本轮成果为项目文档。 |
|
||||
| 2026-11-05 | 画布响应与仿制图章 | 83 版正式安装,补齐图章渲染、现有跟踪复用及工作区编辑。性能局部测量、FCP 实帧和冷重开证据见本页,反馈场景待复现。 |
|
||||
| 2026-11-05 | 仿制图章等像素复制与取样十字拖动 | 加入源点拖动和撤销,复制改为整数像素平移,目标跟踪保留中心位移。 |
|
||||
| 2026-11-05 | 二次打包与重签防护评估 | 已核对注册和 XPC 启动入口,并用正式 85 版和改动副本验证候选验签规则。下一步可接入双入口校验并在正式安装版上复测 FCP。 |
|
||||
| 2026-11-05 | 防二次加密和重签 | 1.13.2(86)正式安装。注册、服务启动和更新入口加入验签,FCP 和安装包通过验收。公测 Release 393 已发布并完整下载核对,站点及自动更新策略沿用原配置。 |
|
||||
| 2026-11-05 | 更新 1.13.2 站点文章 | 在原文章 15792 更新正文、SEO 和主下载包,加入验签、原包转发规则、仿制图章与故障排查说明。原售价、会员权益、封面和历史图片均已回读,主包完整下载校验通过。公测自动更新通道回读为 1.12.0。 |
|
||||
| 2026-11-06 | 仿制图章松手消失和拖动回弹 | FCP 在同一次手势给出相差约 32 毫秒的绘制时间与参数写入时间。88 版将图章文档写入与几何时间分开,用户实拍确认可拖动。本机正式安装和 88 安装包已验收;接续实现取样与覆盖区域独立跟踪及缩放后再发 Release。 |
|
||||
| 2026-11-06 | 图章跳动闪烁与逐帧跟踪预览 | 1.14.3(94)正式安装和发布。图章与矩形蒙版实拍双向跟踪、轨迹回读、进度和取样连续性通过验收。 |
|
||||
| 2026-11-06 | 1.14.3 更新到站点文章 | 原文已发布新版本,绑定界面原图、新封面和 94 版主下载包。前台 SEO、原图与封面、商业字段和完整下载均已核验。 |
|
||||
| 2026-11-06 | 复核分发后的完整性失败 | 核实 94 包四个资源的落盘权限并复现严格验签失败。95 版修正权限、缩小启动检查范围并加入打包权限检查。现场证书链和宿主核验见上。 |
|
||||
| 2026-11-06 | 更新文章 15792 的正式包 | 原文章下载替换为 95 版,发布修复和重装提醒。前台和站内下载完整校验通过。 |
|
||||
| 2026-11-06 | 深色默认、独立效果与水平校正 | 1.15.0(96)已正式安装并发布,安装包完整下载校验通过。两款独立效果可添加模块。实窗手动画线待复核。 |
|
||||
@@ -0,0 +1,55 @@
|
||||
# 在线 LUT 接入(2026-11-11)
|
||||
|
||||
目标:主 APP 使用大鱼站微信登录;购买文章 14421、15792 任意一个或有效会员可访问全部已发布在线 LUT、分类、下载及当前时间线帧在线效果预览。普通本地调色不依赖登录。
|
||||
|
||||
参考 `FcpxSoundEffectsExtension` 的 `02c66da4a54dca9954dadb8dab7cc93005468935`:通用 `/dayu-app/v1/login/session` 微信会话、`dayu_sfx_materials` 表及现有私有素材存储。参考项目仅作只读使用,不复制其签名种子、不改变其权限或发布。
|
||||
|
||||
实现约定:
|
||||
|
||||
- 新建产品专用 MU 插件和 `/dayu-color/v1/lut/` 接口,复用现有账号、设备绑定与付款记录;所有在线素材操作均在服务器重新检查权限。
|
||||
- 微信批准的本产品一次性会话交换随机产品令牌;令牌保存到登录钥匙串,允许正式主 APP 与正式 FxPlug 服务读取。禁止把设备 UUID 或本地布尔值当作在线权限凭证。
|
||||
- 只列出已发布 LUT;其他用户的草稿和私有素材不公开。分类、分页、搜索与下载共用现有目录。
|
||||
- 浏览器由用户点击“在线预览当前帧”上传当前帧缩略图。只发送 PNG 像素,不发送视频、文件路径或项目名称;服务器内存处理并返回 PNG,禁止保存帧和记录请求正文。已选择帧冻结至下一次点击,避免播放期间连续上传。
|
||||
- 在线预览是显示参考;最终应用先下载并校验大小、SHA-256 和有效 Cube,仍走现有本地渲染流程。
|
||||
|
||||
生产基线:已验证 `192.168.31.21` 对应 SMB 共享,根目录可读写。新增的两个后端文件在生产和本地专项工程均不存在。既有网站和鉴权源只读核对,不改写共享登录组件。
|
||||
|
||||
`LOCAL_PROJECT=/Users/mac/Downloads/dayumedia/dayu-color-beta`;`NAS_ROOT=/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media`。仓库 `Backend/wp-content/mu-plugins/dayu-color-online-luts.php` 及 `Backend/wp-content/mu-plugins/dayu-color-online-luts/renderer.php` 分别映射到上述两处根目录下同相对路径。只部署这两个文件,覆盖前按原目录旁路备份并核对基线。
|
||||
|
||||
当前状态:接入前基线 `5fae1150f4b7b6087f5da8298b5ac3ad8916e529`,正式 1.21.8(126)。工程文件已有 Security 引用排序改动保留;本轮采用自动同步的 Shared 源文件,不需改写该工程文件。实现、测试与交付结果持续补充到本记录和开发交接。
|
||||
|
||||
## 实现检查点
|
||||
|
||||
已完成专用会话与权限接口、在线目录及内存 PNG 渲染器;主 APP 微信登录/权限卡片、共享钥匙串客户端、浏览器在线分类/分页/帧预览/下载应用及去重导入已接入。首次 Release 配置编译通过,PHP 合约检查通过。尚未部署后端、尚未运行正式新版、尚未公证或发布;下一步补充原生浏览器与导入检查,检查线上接口后进行正式交付。
|
||||
|
||||
第二阶段:PHP/GD 权限与渲染合约 36 项、原生 AppKit 在线浏览器与导入合约 36 项通过;原生测试模拟网络应答,未使用用户凭据或上传真实时间线帧。已从现有公开接口盘点 1,233 个发布 LUT 和 17 个分类。准备 1.22.0(127)正式交付,后台部署前检查点包含专用部署脚本及安装说明。
|
||||
|
||||
部署与修正:两个新增生产文件已按映射部署并核对内容;线上 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。程序源码候选已冻结,接下来只进行正式签名、公证、安装、宿主与发行验收。
|
||||
|
||||
129 候选已通过 Apple Accepted、票据/Gatekeeper、正式安装 1,028 项检查及 FCP 基本宿主验收:1080p/25p 合成项目、本地 LUT 缩略图、新来源菜单、未登录提示及片段播放正常,见 `verification/HostOnlineLUTBuild129.json`。微信会话创建成功,用户未确认;结束本次待确认登录并正常退出主 APP 与宿主,未发起用户帧上传。最终 130 补齐与本地一致的同帧应用前快照保护,以及在线按钮的无障碍名称;46 项原生检查通过。授权后的在线实测仍待用户微信确认。
|
||||
|
||||
## 最终正式安装 1.22.0(130)
|
||||
|
||||
编译提交 `0631e8b6c3aa6ef1cbcdb919d1267d9beeea7632`,APP 公证 `f5eb451e-5e1f-492e-99f8-289442229f3d` Accepted。正式路径的 1,028 项自检、签名、票据、Gatekeeper、17 模板和 PluginKit 路径核对通过。FCP 12.4 使用新插件服务进程 98402,在独立 1080p/25p 合成项目中验证本地预览、在线来源、未登录提示、辅助功能标签及 2:01→3:24 播放;正常退出。主 APP 130 已启动。用户尚未批准微信登录,真实授权目录/下载和云端预览留待扫码后验收;没有上传用户时间线帧。详见 [宿主报告](../verification/HostOnlineLUT1.22.0.json)。已知替换备份在最终验收后清理,正在制作正式 PKG 和 Release。
|
||||
|
||||
保存最终安装检查点时误以 `--help` 调用无参数保护的 checkpoint.py,产生 b98d92f 并包含工程既有 Security 引用排序差异;随后以新提交将工程文件恢复到本轮基线,同时把该差异原样保留为工作区未提交状态。脚本增加必填消息/路径和帮助保护,避免空路径触发全仓暂存。没有改写历史或实际编译输入。
|
||||
|
||||
## 硬件 UUID 账号恢复(用户补充)
|
||||
|
||||
用户反馈微信 OAuth 未确认,并说明现有后端按 macOS 硬件 UUID 免登录。已验证客户端 gethostuuid 与 IOPlatformUUID 一致;不生成随机设备号、不保存原始 UUID 到报告。既有 `app_device_login` 对本机识别成功。新增客户端启动恢复:通过该既有接口获取短期 JWT,仅在内存中交给 `/dayu-color/v1/lut/device`,服务端复用共享 `rest_check_access` 校验 JWT,并核对统一设备表的当前账号,兑换产品专用在线 LUT 会话。所有后续操作仍复核购买/会员权益和绑定。退出后停止自动恢复,点击刷新可重新识别。未绑定机器继续微信登录。43 项后端合约覆盖伪造 JWT、UUID 单独请求、绑定变更及退出。130 APP 和 PKG 验证完成但不发行,最终改为构建 131。
|
||||
|
||||
UUID 恢复的生产接口实测通过:识别本机已有绑定,复用共享 JWT 校验兑换产品会话,读取 17 分类/1,233 项,首项 885,038 字节下载的摘要和声明大小一致;16×9 合成色卡通过生产预览返回相同尺寸 PNG。测试会话均已退出,报告不含 UUID 原文、用户名和令牌。[恢复和下载](../verification/OnlineLUTHardwareLoginLive.json) · [合成帧云端预览](../verification/OnlineLUTServerPreviewLive.json)。这些尚不替代正式 131 主 APP 自动登录和 FCP 内取帧验收。
|
||||
|
||||
## 正式 131 完整链路验收
|
||||
|
||||
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 保留离线使用。
|
||||
@@ -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 保留供离线使用。
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Review selected paths before invoking. Never stages unrelated paths."""
|
||||
import pathlib,os,hashlib,json,subprocess,shutil,sys
|
||||
if len(sys.argv) < 3 or sys.argv[1] in ('--help', '-h'):
|
||||
print('Usage: checkpoint.py MESSAGE PATH [PATH ...]');sys.exit(0 if len(sys.argv)>1 and sys.argv[1] in ('--help','-h') else 2)
|
||||
root=pathlib.Path(__file__).resolve().parent.parent;remote='https://dayu.media/git/dayu/dayu-color.git';lock=pathlib.Path('/Users/mac/.codex/git-backup-locks')/(hashlib.sha256(remote.encode()).hexdigest()+'.lock')
|
||||
lock.parent.mkdir(parents=True,exist_ok=True);lock.mkdir();(lock/'owner.json').write_text(json.dumps(dict(PID=os.getpid(),cwd=str(root),remote=remote)))
|
||||
def run(*a):return subprocess.check_output(a,cwd=root,text=True).strip()
|
||||
|
||||
+69
-28
@@ -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,正式旧版未替换')
|
||||
@@ -137,7 +178,7 @@ def main():
|
||||
time.sleep(.25)
|
||||
else:raise RuntimeError('未从正式安装路径启动')
|
||||
template_hashes=install_templates()
|
||||
except Exception:
|
||||
except BaseException:
|
||||
failed=DEST.parent/('.dayu-color-failed-'+uuid.uuid4().hex+'.app');os.replace(DEST,failed)
|
||||
if old:os.replace(old,DEST);old=None
|
||||
raise
|
||||
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
@@ -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";
|
||||
|
||||
@@ -0,0 +1,145 @@
|
||||
#import <AppKit/AppKit.h>
|
||||
#import <CommonCrypto/CommonDigest.h>
|
||||
#import <objc/runtime.h>
|
||||
#import "../大鱼调色/Plugin/DYLUTLibrary.h"
|
||||
#import "../大鱼调色/Plugin/DYLUTBrowser.h"
|
||||
#import "../大鱼调色/Shared/DYOnlineLUT.h"
|
||||
#include <cmath>
|
||||
|
||||
@interface DYLUTBrowser (OnlineAcceptance)
|
||||
- (void)startOnlinePreviews;
|
||||
- (void)revealLibrary:(id)sender;
|
||||
- (void)previousOnlinePage:(id)sender;
|
||||
- (void)folderClicked:(id)sender;
|
||||
- (void)searchChanged:(id)sender;
|
||||
- (void)captureOnlineFrame;
|
||||
- (void)thumbnailClicked:(id)sender;
|
||||
- (void)clearSelection:(id)sender;
|
||||
- (void)rebuildGrid;
|
||||
- (void)layoutBrowser;
|
||||
- (void)refreshComparison;
|
||||
@end
|
||||
static NSMutableArray *checks,*requests;
|
||||
static NSData *cubeData,*renderPNG;
|
||||
static NSString *checksum;
|
||||
static BOOL paid=YES,badDownload=NO;
|
||||
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]];
|
||||
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){
|
||||
NSProgress *task=[NSProgress discreteProgressWithTotalUnitCount:1];
|
||||
[requests addObject:@{@"path":path,@"body":body?:@{},@"authenticated":@(authenticated)}];
|
||||
BOOL preview=[path hasSuffix:@"/preview"];if(preview){activePreviews++;maxPreviews=MAX(maxPreviews,activePreviews);}
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW,30*NSEC_PER_MSEC),dispatch_get_main_queue(),^{
|
||||
if(preview)activePreviews--;
|
||||
if(task.cancelled){reply(nil,[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorCancelled userInfo:nil]);return;}
|
||||
if(!paid){reply(nil,[NSError errorWithDomain:@"test" code:403 userInfo:@{NSLocalizedDescriptionKey:@"需要会员或购买权限"}]);return;}
|
||||
NSData *data=nil;
|
||||
if([path hasSuffix:@"/catalog"]){
|
||||
NSString *category=[body[@"category"]length]?body[@"category"]:@"胶片";NSUInteger page=[body[@"page"]unsignedIntegerValue];
|
||||
NSMutableArray *items=[NSMutableArray array];
|
||||
for(NSUInteger i=0;i<10;i++)[items addObject:@{@"id":@(1+(page-1)*60+i),@"title":[NSString stringWithFormat:@"测试胶片 %lu",(unsigned long)i],@"category":category,@"file_size":@(cubeData.length),@"checksum":checksum}];
|
||||
data=[NSJSONSerialization dataWithJSONObject:@{@"items":items,@"categories":@[@"胶片",@"婚礼",@"相机还原"],@"total":@1233,@"page":@(page)}options:0 error:nil];
|
||||
}else if([path hasSuffix:@"/download"])data=badDownload?[@"broken" dataUsingEncoding:NSUTF8StringEncoding]:cubeData;
|
||||
else if(preview)data=renderPNG;
|
||||
reply(data,nil);
|
||||
});return task;
|
||||
}
|
||||
int main(int argc,const char **argv){@autoreleasepool{
|
||||
if(argc!=2)return 2;checks=[NSMutableArray new];requests=[NSMutableArray new];
|
||||
NSMutableString *text=[NSMutableString stringWithString:@"TITLE test\nLUT_3D_SIZE 2\n"];
|
||||
for(int z=0;z<2;z++)for(int y=0;y<2;y++)for(int x=0;x<2;x++)[text appendFormat:@"%d %d %d\n",x,y,z];
|
||||
cubeData=[[text dataUsingEncoding:NSUTF8StringEncoding]retain];unsigned char bytes[32];CC_SHA256(cubeData.bytes,(CC_LONG)cubeData.length,bytes);NSMutableString *digest=[NSMutableString string];for(unsigned char b:bytes)[digest appendFormat:@"%02x",b];checksum=[digest copy];
|
||||
NSURL *root=[NSURL fileURLWithPath:[NSTemporaryDirectory()stringByAppendingPathComponent:[@"dayu-online-lut-" stringByAppendingString:NSUUID.UUID.UUIDString]]];
|
||||
DYLUTLibrary *library=[[DYLUTLibrary alloc]initWithRootURL:root];
|
||||
__block BOOL imported=NO;__block NSString *installed=nil;
|
||||
[library importOnlineData:cubeData identifier:@1 name:@"测试风格" category:@"../../胶片/风格" checksum:checksum completion:^(NSString *path,NSError *error){require(path&&!error,@"valid online LUT imports");installed=[path copy];imported=YES;}];pump(^{return imported;});
|
||||
require([installed hasPrefix:[library.rootURL.path stringByAppendingString:@"/"]]&&![installed.pathComponents containsObject:@".."],@"server names cannot escape local library");
|
||||
imported=NO;[library importOnlineData:cubeData identifier:@1 name:@"测试风格" category:@"../../胶片/风格" checksum:checksum completion:^(NSString *path,NSError *error){require([path isEqual:installed]&&!error,@"repeat online download reuses matching local file");imported=YES;}];pump(^{return imported;});require(library.entries.count==1,@"repeat imports do not create duplicate LUTs");
|
||||
imported=NO;[library importOnlineData:cubeData identifier:@2 name:@"损坏" category:@"胶片" checksum:[@"0" stringByPaddingToLength:64 withString:@"0" startingAtIndex:0] completion:^(NSString *path,NSError *error){require(!path&&error,@"checksum mismatch rejected before library changes");imported=YES;}];pump(^{return imported;});require(library.entries.count==1,@"existing local LUT preserved after rejected download");
|
||||
imported=NO;NSProgress *cancel=[library importOnlineData:cubeData identifier:@2 name:@"取消" category:@"胶片" checksum:checksum completion:^(NSString *path,NSError *error){require(!path&&error.code==NSUserCancelledError,@"cancelled online import reports cancellation");imported=YES;}];[cancel cancel];pump(^{return imported;});
|
||||
[NSApplication sharedApplication];[NSApp setActivationPolicy:NSApplicationActivationPolicyProhibited];
|
||||
method_setImplementation(class_getClassMethod(DYOnlineLUTClient.class,@selector(request:body:authenticated:completion:)),(IMP)requestFixture);
|
||||
NSMutableData *pixels=[NSMutableData dataWithLength:320*180*16];float *p=(float *)pixels.mutableBytes;for(NSUInteger i=0;i<320*180;i++){p[i*4]=.2;p[i*4+1]=.4;p[i*4+2]=.8;p[i*4+3]=1;}
|
||||
NSDictionary *frame=@{@"standard":pixels,@"standardSize":[NSValue valueWithSize:NSMakeSize(320,180)],@"time":@1};
|
||||
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");
|
||||
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;});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=@"@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;}
|
||||
require([upload[@"body"]allKeys].count==1&&[upload[@"body"][@"frame_png"]isKindOfClass:NSString.class],@"frame request sends image pixels without project paths or filenames");
|
||||
NSBitmapImageRep *uploaded=[NSBitmapImageRep imageRepWithData:[[[NSData alloc]initWithBase64EncodedString:upload[@"body"][@"frame_png"]options:0]autorelease]];require(uploaded.pixelsWide==320&&uploaded.pixelsHigh==180,@"uploaded frame preserves timeline aspect");
|
||||
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];
|
||||
[browser refreshComparison];pump(^{return [[[[browser valueForKey:@"compareStatus"]stringValue]description]isEqual:[tile valueForKey:@"displayName"]];});require([[[browser valueForKey:@"compareStatus"]stringValue]isEqual:[tile valueForKey:@"displayName"]],@"comparison displays LUT title without internal identifier");
|
||||
[browser clearSelection:nil];pump(^{return [browser valueForKey:@"selectionTask"]==nil;});require([browser valueForKey:@"onlineSelectedPath"]==nil&&[browser valueForKey:@"selectedPath"]==nil,@"clearing online LUT removes both local and online selection markers");
|
||||
[browser thumbnailClicked:tile];pump(^{return [browser valueForKey:@"selectionTask"]==nil;});
|
||||
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");
|
||||
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");
|
||||
// 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."};
|
||||
[[NSJSONSerialization dataWithJSONObject:report options:NSJSONWritingPrettyPrinted error:nil]writeToFile:[NSString stringWithUTF8String:argv[1]]atomically:YES];
|
||||
printf("PASS %lu checks\n",(unsigned long)checks.count);return 0;
|
||||
}}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"version": "1.21.8",
|
||||
"build": 126,
|
||||
"articleID": 15792,
|
||||
"url": "https://dayu.media/15792/",
|
||||
"title": "大鱼调色 1.21.8 公测版|多层调色与拖动优化",
|
||||
"status": "publish",
|
||||
"previousVersion": "1.21.6",
|
||||
"preservedFields": [
|
||||
"id",
|
||||
"url",
|
||||
"status",
|
||||
"author",
|
||||
"categories",
|
||||
"tags",
|
||||
"featured_media",
|
||||
"RiPro price, VIP rate and other resource settings",
|
||||
"historical images and install guide",
|
||||
"FCPX configuration",
|
||||
"SEO enabled states and keywords"
|
||||
],
|
||||
"resourceChangedKeys": [
|
||||
"cao_downurl",
|
||||
"cao_original_filename"
|
||||
],
|
||||
"originalFilename": "大鱼调色-1.21.8.pkg",
|
||||
"downloadURL": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"bytes": 44529845,
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"fullPackageDownloadVerified": true,
|
||||
"downloadStaplerValid": true,
|
||||
"downloadSignatureAndGatekeeperPassed": true,
|
||||
"samePackageAsUpdateChannel": true,
|
||||
"integratedEffectCount": 1,
|
||||
"independentModuleCount": 16,
|
||||
"frontend": [
|
||||
{
|
||||
"request": "normal",
|
||||
"status": 200,
|
||||
"titleMatch": true,
|
||||
"descriptionSingleAndExact": true,
|
||||
"keywordsSingleAndExact": true,
|
||||
"versionSectionPresent": true,
|
||||
"all17EffectsPresent": true,
|
||||
"originalImagesPresent": true,
|
||||
"codeBlockPresent": true,
|
||||
"priceAndMemberDisplayPresent": true,
|
||||
"mainPackageURLNotExposed": true
|
||||
},
|
||||
{
|
||||
"request": "fresh",
|
||||
"status": 200,
|
||||
"titleMatch": true,
|
||||
"descriptionSingleAndExact": true,
|
||||
"keywordsSingleAndExact": true,
|
||||
"versionSectionPresent": true,
|
||||
"all17EffectsPresent": true,
|
||||
"originalImagesPresent": true,
|
||||
"codeBlockPresent": true,
|
||||
"priceAndMemberDisplayPresent": true,
|
||||
"mainPackageURLNotExposed": true
|
||||
}
|
||||
],
|
||||
"bodyImageCount": 6,
|
||||
"idempotencyKey": "dayu-color-1218-build126-article15792-20261109",
|
||||
"checkedAt": "2026-11-09T12:35:29.288931+08:00"
|
||||
}
|
||||
@@ -1,55 +1,57 @@
|
||||
{
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"size": 44527921,
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"size": 44529845,
|
||||
"package": {
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"backup": null,
|
||||
"size": 44527921
|
||||
"size": 44529845
|
||||
},
|
||||
"manifest": {
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta.json",
|
||||
"sha256": "a88b413c185694f3f06261a72761811ed045b95cc54524d02ce64ef9db21beec",
|
||||
"backup": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta-202611082215.jsonbak",
|
||||
"size": 708
|
||||
"sha256": "4e947f6a20edf9895d81593f33a076eaf97bbd95c64d64497b367d1e0194ba41",
|
||||
"backup": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta-202611091234.jsonbak",
|
||||
"size": 716
|
||||
},
|
||||
"version": "1.21.6",
|
||||
"build": 124,
|
||||
"previousVersion": "1.19.0",
|
||||
"previousBuild": 109,
|
||||
"previousManifestSHA256": "4af4d18f6ecbe3c7444135e026a5e09b4520ae3728c798c667206ce871e9dc8e",
|
||||
"timestamp": "202611082215",
|
||||
"version": "1.21.8",
|
||||
"build": 126,
|
||||
"previousVersion": "1.21.6",
|
||||
"previousBuild": 124,
|
||||
"previousManifestSHA256": "a88b413c185694f3f06261a72761811ed045b95cc54524d02ce64ef9db21beec",
|
||||
"timestamp": "202611091234",
|
||||
"localProject": "/Users/mac/Downloads/dayumedia/dayu-color-beta",
|
||||
"productionRoot": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media",
|
||||
"packageRelativePath": "wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"packageRelativePath": "wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"manifestRelativePath": "wp-content/uploads/dayu-color-beta/updates/beta.json",
|
||||
"downloadURL": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"downloadURL": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"fullDownloadVerified": true,
|
||||
"downloadSignatureAndGatekeeperPassed": true,
|
||||
"downloadStaplerValid": true,
|
||||
"sourceCommit": "e0bd8342c0b2231028af64abd7b544b2be8f29d7",
|
||||
"packageNotaryID": "3ea27bc7-b29e-4fd9-8a3f-aabf25d7e200",
|
||||
"releaseTag": "v1.21.6-lut-preview-reuse-20261108",
|
||||
"endpointVerified": {
|
||||
"from109": true,
|
||||
"from123": true,
|
||||
"from124": false,
|
||||
"from125": false
|
||||
},
|
||||
"endpointBase": "https://dayu.media/wp-json/dayu-color/v1/update?bundle_id=com.dayu.color&channel=beta¤t_build=",
|
||||
"sourceCommit": "38e9fb25a21d7ba573f09093ea4ca45a79664cf5",
|
||||
"packageNotaryID": "2aa1a8fa-d48f-45a5-8a56-9ac084d8c7b3",
|
||||
"releaseTag": "v1.21.8-render-fluidity-20261109",
|
||||
"verifiedManifest": {
|
||||
"bundle_id": "com.dayu.color",
|
||||
"channel": "beta",
|
||||
"version": "1.21.6",
|
||||
"build": 124,
|
||||
"version": "1.21.8",
|
||||
"build": 126,
|
||||
"package_type": "pkg",
|
||||
"install_mode": "pkg_installer",
|
||||
"size": 44527921,
|
||||
"sha256": "c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6",
|
||||
"download_url": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-6-124.pkg",
|
||||
"size": 44529845,
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"download_url": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"minimum_system_version": "14.6",
|
||||
"notes": "LUT 浏览器按源帧比例显示。连续点选已生成的 LUT 时复用缩略图和划像,同一次打开期间保留列表顺序。移动播放头后在后台更新预览,新图就绪后替换。安装前请保存工作并正常退出 Final Cut Pro、Motion 和大鱼调色主 App。"
|
||||
"notes": "蜘蛛盘、曲线、一级白平衡轮和颜色分级轮拖动时合并参数写入,松手提交最终值,每次拖动可一次撤销。多层调色减少 GPU 等待,几何蒙版省去重复色彩转换。安装前请保存工作并正常退出 Final Cut Pro、Motion 和大鱼调色主 App。"
|
||||
},
|
||||
"backup": null
|
||||
"endpointBase": "https://dayu.media/wp-json/dayu-color/v1/update?bundle_id=com.dayu.color&channel=beta¤t_build=",
|
||||
"endpointVerified": {
|
||||
"from109": true,
|
||||
"from123": true,
|
||||
"from124": true,
|
||||
"from125": true,
|
||||
"from126": false,
|
||||
"from127": false
|
||||
},
|
||||
"checkedAt": "2026-11-09T12:35:08.067078+08:00"
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"size": 44529845,
|
||||
"package": {
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"backup": null,
|
||||
"size": 44529845
|
||||
},
|
||||
"manifest": {
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta.json",
|
||||
"sha256": "4e947f6a20edf9895d81593f33a076eaf97bbd95c64d64497b367d1e0194ba41",
|
||||
"backup": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/uploads/dayu-color-beta/updates/beta-202611091234.jsonbak",
|
||||
"size": 716
|
||||
},
|
||||
"version": "1.21.8",
|
||||
"build": 126,
|
||||
"previousVersion": "1.21.6",
|
||||
"previousBuild": 124,
|
||||
"previousManifestSHA256": "a88b413c185694f3f06261a72761811ed045b95cc54524d02ce64ef9db21beec",
|
||||
"timestamp": "202611091234",
|
||||
"localProject": "/Users/mac/Downloads/dayumedia/dayu-color-beta",
|
||||
"productionRoot": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media",
|
||||
"packageRelativePath": "wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"manifestRelativePath": "wp-content/uploads/dayu-color-beta/updates/beta.json",
|
||||
"downloadURL": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"fullDownloadVerified": true,
|
||||
"downloadSignatureAndGatekeeperPassed": true,
|
||||
"downloadStaplerValid": true,
|
||||
"sourceCommit": "38e9fb25a21d7ba573f09093ea4ca45a79664cf5",
|
||||
"packageNotaryID": "2aa1a8fa-d48f-45a5-8a56-9ac084d8c7b3",
|
||||
"releaseTag": "v1.21.8-render-fluidity-20261109",
|
||||
"verifiedManifest": {
|
||||
"bundle_id": "com.dayu.color",
|
||||
"channel": "beta",
|
||||
"version": "1.21.8",
|
||||
"build": 126,
|
||||
"package_type": "pkg",
|
||||
"install_mode": "pkg_installer",
|
||||
"size": 44529845,
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"download_url": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
|
||||
"minimum_system_version": "14.6",
|
||||
"notes": "蜘蛛盘、曲线、一级白平衡轮和颜色分级轮拖动时合并参数写入,松手提交最终值,每次拖动可一次撤销。多层调色减少 GPU 等待,几何蒙版省去重复色彩转换。安装前请保存工作并正常退出 Final Cut Pro、Motion 和大鱼调色主 App。"
|
||||
},
|
||||
"endpointBase": "https://dayu.media/wp-json/dayu-color/v1/update?bundle_id=com.dayu.color&channel=beta¤t_build=",
|
||||
"endpointVerified": {
|
||||
"from109": true,
|
||||
"from123": true,
|
||||
"from124": true,
|
||||
"from125": true,
|
||||
"from126": false,
|
||||
"from127": false
|
||||
},
|
||||
"checkedAt": "2026-11-09T12:35:08.067078+08:00"
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"version": "1.22.0",
|
||||
"build": 131,
|
||||
"removed": [
|
||||
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/online-lut-1.22.0",
|
||||
"/var/folders/7k/rzlzc30s5r3641f3qhbrw5xw0000gn/T/dayu-online-lut-6888F397-E039-4C0B-9AD8-8674F3A32FEA",
|
||||
"/var/folders/7k/rzlzc30s5r3641f3qhbrw5xw0000gn/T/dayu-online-lut-9C068077-7AD3-48D3-9172-B90807BE3992",
|
||||
"/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/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,
|
||||
"immediate129RollbackBackupRemoved": true,
|
||||
"finalApp": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"immediate130RollbackBackupRemoved": true,
|
||||
"retainedDownloadedLUT": "A validated online LUT downloaded by the formal browser is retained in the user LUT library for offline use.",
|
||||
"finalGeneratedAppAndLooseServiceAbsent": true
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"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": "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.",
|
||||
"userConfirmation": "我已测试可行",
|
||||
"hostObserved": "FCP shows 1233 online LUTs, populated effect thumbnails, original/styled comparison, unified sidebar and second-level local categories."
|
||||
}
|
||||
@@ -2,13 +2,13 @@
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.21.8",
|
||||
"build": "126",
|
||||
"version": "1.22.0",
|
||||
"build": "131",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "c439ff82-db8e-44a9-83e4-68c62588a2de",
|
||||
"notaryID": "1e57ee70-d099-4942-91fd-29a2d5f47a44",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "38e9fb25a21d7ba573f09093ea4ca45a79664cf5",
|
||||
"sourceCommit": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
|
||||
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
|
||||
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
|
||||
"installedTemplateSHA256": {
|
||||
@@ -65,5 +65,5 @@
|
||||
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
|
||||
},
|
||||
"shaderSHA256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
|
||||
"hostVerification": "verification/HostRenderFluidity1.21.8.json"
|
||||
"hostVerification": "verification/HostOnlineLUT1.22.0.json"
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.22.0",
|
||||
"build": "129",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "c8f3460d-e14a-4833-9491-2f52d11e55d0",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "5abe64481d4893859c0f785c55c280bd6a0ad2f8",
|
||||
"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/HostOnlineLUTBuild129.json"
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"status": "verified",
|
||||
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"bundleID": "com.dayu.color",
|
||||
"version": "1.22.0",
|
||||
"build": "131",
|
||||
"team": "B3W25FX5H5",
|
||||
"notaryID": "1e57ee70-d099-4942-91fd-29a2d5f47a44",
|
||||
"notaryStatus": "Accepted",
|
||||
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
|
||||
"sourceCommit": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
|
||||
"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/HostOnlineLUT1.22.0.json"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"macOSHardwareUUID": true,
|
||||
"gethostuuidMatchesIOPlatformUUID": true,
|
||||
"randomUUIDGenerated": false,
|
||||
"rawDeviceIDRecorded": false
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"version": "1.22.0",
|
||||
"build": 131,
|
||||
"sourceCommit": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
|
||||
"formalApp": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"notaryID": "1e57ee70-d099-4942-91fd-29a2d5f47a44",
|
||||
"host": "Final Cut Pro 12.4",
|
||||
"fixture": "1080p 25p 4-second synthetic chart; independent task-created library",
|
||||
"observed": {
|
||||
"mainAppAutomaticHardwareLogin": true,
|
||||
"hardwareUUIDMatchesIOPlatformUUID": true,
|
||||
"logoutRemainsSignedOut": true,
|
||||
"refreshRestoresBoundAccount": true,
|
||||
"sharedKeychainCredentialUsedByPlugin": true,
|
||||
"liveCategoryCount": 17,
|
||||
"liveCatalogueTotal": 1233,
|
||||
"liveCataloguePages": 21,
|
||||
"actualTimelineFrameOnlinePreview": true,
|
||||
"previewThumbnailsVisiblyChanged": true,
|
||||
"downloadAndApply": true,
|
||||
"selectedLUT": "01冰-",
|
||||
"selectedLUTID": 653,
|
||||
"comparisonShowsOriginalAndCloudResult": true,
|
||||
"inspectorAppliedLocalCube": true,
|
||||
"playheadFrom": "00:00:02:01",
|
||||
"playheadTo": "00:00:03:24",
|
||||
"hostQuitNormally": true,
|
||||
"mainAppLeftSignedIn": true
|
||||
},
|
||||
"notVerified": [
|
||||
"Fresh WeChat OAuth login on an unbound Mac",
|
||||
"Motion host"
|
||||
],
|
||||
"scope": "Actual signed notarized formal build131. Only a generated synthetic chart was uploaded, no user media/timeline. The production JSON-number serialization was corrected during this acceptance; 44 backend contracts now cover SQL string IDs/sizes."
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"version": "1.22.0",
|
||||
"build": 129,
|
||||
"sourceCommit": "5abe64481d4893859c0f785c55c280bd6a0ad2f8",
|
||||
"formalApp": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"notaryID": "c8f3460d-e14a-4833-9491-2f52d11e55d0",
|
||||
"host": "Final Cut Pro 12.4",
|
||||
"fixture": "1080p 25p 4-second synthetic chart, separate task-created library",
|
||||
"observed": {
|
||||
"inspectorVersion": "1.22.0",
|
||||
"localLUTPreviews": true,
|
||||
"sourceSelector": true,
|
||||
"onlineUnauthenticatedMessage": "请先在大鱼调色主 APP 登录。",
|
||||
"playheadFrom": "00:00:02:01",
|
||||
"playheadTo": "00:00:03:24",
|
||||
"formalXPCProcessPathConfirmed": true,
|
||||
"hostQuitNormally": true,
|
||||
"mainAppLoginSessionCreated": true,
|
||||
"loginPendingThenCancelledForFinalUpdate": true
|
||||
},
|
||||
"notVerified": [
|
||||
"User-approved WeChat login",
|
||||
"Authorized live catalogue/download",
|
||||
"Actual remote timeline preview"
|
||||
],
|
||||
"scope": "Real UI checks on signed notarized formal install; no timeline frame uploaded while logged out. Final build 130 retains these features and adds pre-application snapshot protection and accessibility labels."
|
||||
}
|
||||
@@ -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."
|
||||
}
|
||||
@@ -12,7 +12,7 @@
|
||||
"error": "未提供错误信息",
|
||||
"name": "runtime-directory",
|
||||
"pass": true,
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03"
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389"
|
||||
},
|
||||
{
|
||||
"descriptors": 285,
|
||||
@@ -1040,7 +1040,7 @@
|
||||
"error": "未提供错误信息",
|
||||
"name": "renderer-export-33cube",
|
||||
"pass": true,
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03/diagnostic-export.cube"
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/diagnostic-export.cube"
|
||||
},
|
||||
{
|
||||
"bytes": 1186074,
|
||||
@@ -1059,8 +1059,8 @@
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"heartbeats": 1,
|
||||
"maximumGapMS": 20.025375008117408,
|
||||
"heartbeats": 2,
|
||||
"maximumGapMS": 17.447791644372046,
|
||||
"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/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03/workspace-topbar.png",
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/workspace-topbar.png",
|
||||
"toolbarPixels": 3867
|
||||
},
|
||||
{
|
||||
@@ -1622,7 +1622,7 @@
|
||||
},
|
||||
{
|
||||
"name": "workspace-independent-style-fixture-inserted",
|
||||
"node": "3070A4B4-7EE2-4A3E-AB0A-D1B82F28C5B9",
|
||||
"node": "BCD3E99A-9451-422C-84B1-9E65198B0A4B",
|
||||
"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/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03/node.cube"
|
||||
"look0": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/node.cube"
|
||||
},
|
||||
"pass": true,
|
||||
"rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03/user-new.cube",
|
||||
"rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/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/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03/viewer-workspace.png"
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/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/0C5A4B17-97FD-4E72-B40F-0AC4747D8B03",
|
||||
"runtimePath": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389",
|
||||
"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."
|
||||
}
|
||||
@@ -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."
|
||||
}
|
||||
@@ -0,0 +1,183 @@
|
||||
{
|
||||
"pass": true,
|
||||
"count": 44,
|
||||
"scope": "Isolated PHP\/GD contracts; synthetic users, purchases and frames; no production credentials or account data.",
|
||||
"checks": [
|
||||
{
|
||||
"name": "ordinary account denied",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "either individual purchase grants 14421",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "either individual purchase grants 15792",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "active member allowed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "lifetime member allowed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "expired member denied",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "legacy active membership supported",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "deleted user denied",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "UUID alone cannot mint an online session",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "forged shared login token rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "non-hardware UUID format rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "existing bound account restored without granting unpaid access",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "shared login user must match current hardware binding",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "unbound hardware cannot resume another account",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "restored session can be revoked normally",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "pending login cannot mint a credential",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "another product login rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "approved product login exchanges a random token",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "credential responses cannot be cached",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "one-time login replay rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "anonymous catalogue rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "anonymous file rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "anonymous frame rejected before decoding",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "signed-in unpaid account has no online permission",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "unpaid catalogue denied server-side",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "new purchase is recognized without another login",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "device rebind revokes previous session",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "catalogue excludes private drafts",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "SQL string identifiers and sizes serialize as JSON numbers for the native client",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "authorized published LUT streams original bytes",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "private LUT cannot be downloaded by guessed ID",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "catalogue path traversal rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "server rejects modified LUT bytes",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "renderer returns a PNG",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "renderer preserves source aspect and size",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "known inverse LUT transforms pixel values correctly",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "authorized frame route returns the actual LUT effect",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "malformed image rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "over-limit image rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "truncated LUT rejected",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "UTF-16 BOM LUT supported",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "permission revoked before another frame is processed",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "logout invalidates server credential",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"name": "logged-out token cannot be reused",
|
||||
"pass": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"sourceCommit": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
|
||||
"independentHTTPSClone": true,
|
||||
"verifiedBuildInputFiles": 254,
|
||||
"committedProjectBaselineMatches": true,
|
||||
"version": "1.22.0",
|
||||
"build": "131",
|
||||
"scope": "Actual application, template and colour-management inputs match independent checkout. Existing unrelated project-reference ordering remains uncommitted in the working tree."
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"pagesVerified": 21,
|
||||
"uniquePublishedLUTs": 1233,
|
||||
"categoryCount": 17,
|
||||
"categoryFilterVerified": true,
|
||||
"titleSearchVerified": true,
|
||||
"scope": "Authorized production catalogue only; no account identifiers, tokens or media retained.",
|
||||
"nativeSchemaCompatibleItems": 1233,
|
||||
"numericIDsAndSizes": true,
|
||||
"postSerializationFixVerified": true
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"timestamp": "202611111955",
|
||||
"mount": "//dayu@192.168.31.21/dayumedia%20%28%E5%AD%98%E5%82%A8%E7%A9%BA%E9%97%B41%29 on /Volumes/dayumedia (存储空间1) (smbfs, nodev, nosuid, mounted by mac)",
|
||||
"localProject": "/Users/mac/Downloads/dayumedia/dayu-color-beta",
|
||||
"nasRoot": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media",
|
||||
"sourceCommit": "188553a61313674628d9faf6f9e2962b5cdebe42",
|
||||
"files": [
|
||||
{
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts/renderer.php",
|
||||
"sha256": "ad34c71fd35f20a6813099bceed662ddae5ed3c96c3bc3855a21853e4eadafce",
|
||||
"reused": true,
|
||||
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts/renderer.php",
|
||||
"readable": true,
|
||||
"mode": "0o700"
|
||||
},
|
||||
{
|
||||
"path": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts.php",
|
||||
"sha256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
|
||||
"backup": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts-202611111955.phpbak",
|
||||
"size": 14099,
|
||||
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
|
||||
"readable": true,
|
||||
"mode": "0o700"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/online-lut-1.22.0/大鱼调色_正式版验收.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,8 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"version": "1.12",
|
||||
"exactHostDTD": "/Applications/Final Cut Pro.app/Contents/Frameworks/Interchange.framework/Versions/A/Resources/FCPXMLv1_12.dtd",
|
||||
"syntheticChart": true,
|
||||
"mediaPresent": true,
|
||||
"scope": "Independent 1080p 25p 4-second fixture. No user timeline edited."
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"version": "1.22.0",
|
||||
"build": "131",
|
||||
"formalApp": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
|
||||
"PluginKit": "com.dayu.color.XPC(1.1)\t73A99BC8-6E03-4255-8B44-78B708BD87F3\t2026-11-11 11:50:47 +0000\t/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit\n (1 plug-in)",
|
||||
"productionFiles": [
|
||||
{
|
||||
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
|
||||
"sha256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
|
||||
"bytes": 14099
|
||||
},
|
||||
{
|
||||
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts/renderer.php",
|
||||
"sha256": "ad34c71fd35f20a6813099bceed662ddae5ed3c96c3bc3855a21853e4eadafce",
|
||||
"bytes": 5286
|
||||
}
|
||||
],
|
||||
"acceptedDownloadedLUT": {
|
||||
"bytes": 885038,
|
||||
"sha256": "a8620855cc994c67491e04733e04fb61da195fc7e87671e41d57fcd737b36e97",
|
||||
"retainedForOfflineUse": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"hardwareBindingRestored": true,
|
||||
"sharedLoginJWTVerified": true,
|
||||
"onlinePermissionAllowed": true,
|
||||
"catalogueCount": 1233,
|
||||
"categories": 17,
|
||||
"firstPageItems": 60,
|
||||
"downloadChecksumVerified": true,
|
||||
"downloadBytes": 885038,
|
||||
"scope": "Real existing hardware binding and authorized production endpoints; raw hardware UUID, account name and tokens excluded. No timeline frame uploaded in this check."
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"checkedAt": "2026-11-11T18:31:50.623564+08:00",
|
||||
"pass": true,
|
||||
"checks": [
|
||||
{
|
||||
"route": "status",
|
||||
"forgedToken": false,
|
||||
"status": 401,
|
||||
"code": "dayu_color_lut_login_required",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"route": "catalog",
|
||||
"forgedToken": false,
|
||||
"status": 401,
|
||||
"code": "dayu_color_lut_login_required",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"route": "1/download",
|
||||
"forgedToken": false,
|
||||
"status": 401,
|
||||
"code": "dayu_color_lut_login_required",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"route": "1/preview",
|
||||
"forgedToken": false,
|
||||
"status": 401,
|
||||
"code": "dayu_color_lut_login_required",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"route": "status",
|
||||
"forgedToken": true,
|
||||
"status": 401,
|
||||
"code": "dayu_color_lut_login_required",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"route": "session",
|
||||
"forgedToken": false,
|
||||
"status": 401,
|
||||
"code": "dayu_color_lut_expired",
|
||||
"pass": true
|
||||
},
|
||||
{
|
||||
"route": "existing beta update GET",
|
||||
"status": 200,
|
||||
"pass": true
|
||||
}
|
||||
],
|
||||
"scope": "Anonymous, invalid login and forged credential rejection only; authorized live catalogue, downloads and uploaded frames require a user-approved login.",
|
||||
"existingBetaRoutePreserved": true
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"scope" : "Isolated AppKit browser with simulated network replies; real Cube validation\/import; no user credentials, no production frame upload, no visible test app.",
|
||||
"count" : 46,
|
||||
"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" : "asynchronous operation finished",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "opening online categories does not upload a timeline frame",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "online preview accessibility label reflects its actual action",
|
||||
"pass" : true
|
||||
},
|
||||
{
|
||||
"name" : "online categories include all and named categories",
|
||||
"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" : "category filter is sent to the server",
|
||||
"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" : "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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"syntheticFrameOnly": true,
|
||||
"authenticatedProductionRender": true,
|
||||
"inputSize": [
|
||||
16,
|
||||
9
|
||||
],
|
||||
"outputSize": [
|
||||
16,
|
||||
9
|
||||
],
|
||||
"outputBytes": 401,
|
||||
"inputSHA256": "20a51929624a4813d6a4b2399ae8545c5d184fa54275919aa622d5ab8dd1e7c6",
|
||||
"outputSHA256": "0a4a326995020a5a1d63fe37fae2e123c25ac8b1548e984b88ff2a2696cb729b",
|
||||
"scope": "Real production renderer with a generated color gradient; no user timeline or media uploaded. Tokens and device ID excluded."
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg",
|
||||
"sha256": "14615d56b37694523f59da9dbe663f2bff26c1c86c4b70beb2a31e39da25ee5e",
|
||||
"bytes": 44556475,
|
||||
"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.0",
|
||||
"build": "130"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-hz9xqqre/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.55afa5d6-1fe1-4821-be1b-29edffcd0206/2E190A05-D017-44E4-9982-41508EF474EF/大鱼调色"
|
||||
}
|
||||
],
|
||||
"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:25:11 +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",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"createdDate": "2026-11-11T11:25:14.276Z",
|
||||
"message": "Successfully received submission info",
|
||||
"status": "Accepted",
|
||||
"name": "大鱼调色-1.22.0.pkg",
|
||||
"id": "5c424d14-b03e-4c9c-9a9a-b3645029f5e7"
|
||||
},
|
||||
"appCompiledSource": "0631e8b6c3aa6ef1cbcdb919d1267d9beeea7632",
|
||||
"appBuild": "130",
|
||||
"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/HostOnlineLUT1.22.0.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
+16
-16
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.21.8.pkg",
|
||||
"sha256": "8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9",
|
||||
"bytes": 44529845,
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg",
|
||||
"sha256": "82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd",
|
||||
"bytes": 44557321,
|
||||
"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.21.8",
|
||||
"build": "126"
|
||||
"version": "1.22.0",
|
||||
"build": "131"
|
||||
},
|
||||
{
|
||||
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-j75whllm/大鱼调色",
|
||||
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.352ae960-0a77-47a3-bc73-e2810e707206/102718B0-DDE5-4ED6-A34F-5E457B2C42BC/大鱼调色"
|
||||
"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/大鱼调色"
|
||||
}
|
||||
],
|
||||
"signature": "Package \"大鱼调色-1.21.8.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-09 04:15:54 +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.21.8.pkg: accepted\nsource=Notarized Developer ID",
|
||||
"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",
|
||||
"pass": true,
|
||||
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
|
||||
"notarization": {
|
||||
"id": "2aa1a8fa-d48f-45a5-8a56-9ac084d8c7b3",
|
||||
"status": "Accepted",
|
||||
"name": "大鱼调色-1.21.8.pkg",
|
||||
"message": "Successfully received submission info",
|
||||
"createdDate": "2026-11-09T04:15:55.958Z"
|
||||
"name": "大鱼调色-1.22.0.pkg",
|
||||
"createdDate": "2026-11-11T11:58:18.896Z",
|
||||
"id": "bfb54c49-b563-4420-9e9b-2319e1565420",
|
||||
"message": "Successfully received submission info"
|
||||
},
|
||||
"appCompiledSource": "38e9fb25a21d7ba573f09093ea4ca45a79664cf5",
|
||||
"appBuild": "126",
|
||||
"appCompiledSource": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
|
||||
"appBuild": "131",
|
||||
"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/HostRenderFluidity1.21.8.json",
|
||||
"installedAppHostAcceptance": "verification/HostOnlineLUT1.22.0.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg",
|
||||
"sha256": "82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd",
|
||||
"bytes": 44557321,
|
||||
"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.0",
|
||||
"build": "131"
|
||||
},
|
||||
{
|
||||
"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/大鱼调色"
|
||||
}
|
||||
],
|
||||
"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",
|
||||
"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"
|
||||
},
|
||||
"appCompiledSource": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
|
||||
"appBuild": "131",
|
||||
"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/HostOnlineLUT1.22.0.json",
|
||||
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"repository": "https://dayu.media/git/dayu/dayu-color.git",
|
||||
"branch": "main",
|
||||
"compiledCommit": "38e9fb25a21d7ba573f09093ea4ca45a79664cf5",
|
||||
"releaseTag": "v1.21.8-render-fluidity-20261109",
|
||||
"releaseCommit": "ec81578b25753295ad6f03579136a7fa206a5d1f",
|
||||
"compiledTrackedFilesChecked": 866,
|
||||
"releaseTrackedFilesChecked": 871,
|
||||
"gitFsckPassed": true,
|
||||
"releaseAndCompiledBuildInputsIdentical": true,
|
||||
"gitLFSRequired": false,
|
||||
"submodulesRequired": false,
|
||||
"method": "Independent HTTPS clone, detached checkouts, and every tracked file hashed against its Git blob ID."
|
||||
}
|
||||
@@ -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
-24
@@ -3,29 +3,16 @@
|
||||
"repository": "dayu/dayu-color",
|
||||
"repositoryID": 52,
|
||||
"private": false,
|
||||
"tag": "v1.21.7-spider-fluidity-20261109",
|
||||
"releaseCommit": "039e567aaa563a36da5bbef90d0ccd4afd690183",
|
||||
"releaseID": 421,
|
||||
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.7-spider-fluidity-20261109",
|
||||
"prerelease": true,
|
||||
"assetID": 67,
|
||||
"assetName": "大鱼调色-1.21.7.pkg",
|
||||
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.7-spider-fluidity-20261109/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.7.pkg",
|
||||
"bytes": 44528083,
|
||||
"sha256": "e4d327d4a4fdbcb025e17dd6aa1e0e884c435392b70bcc2e7402d100c07a10ef",
|
||||
"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.7.pkg",
|
||||
"sha256": "e4d327d4a4fdbcb025e17dd6aa1e0e884c435392b70bcc2e7402d100c07a10ef",
|
||||
"bytes": 44528083,
|
||||
"sourceURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.21.7-spider-fluidity-20261109/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.21.7.pkg",
|
||||
"releaseID": 421,
|
||||
"assetID": 67,
|
||||
"temporaryCopyRemoved": true
|
||||
},
|
||||
"version": "1.21.7",
|
||||
"build": 125,
|
||||
"appCompiledSource": "5aae670f56201a17cffe6aff3624d1b8cfad2308"
|
||||
"verification": "Authenticated full download SHA-256 and byte count, then release/asset read-back.",
|
||||
"credentialSource": "macOS Keychain: dayu-git-api"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"passResult": true,
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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,19 @@
|
||||
{
|
||||
"version": "1.22.0",
|
||||
"build": "127",
|
||||
"sourceCommit": "a04c4a69ed64a7954d47d363e1776ca4082382c4",
|
||||
"state": "superseded-before-user-interface-acceptance",
|
||||
"reason": "Online clear/local selection marker fix will ship in build 128; delivery interrupted during installed CLI checks.",
|
||||
"notarization": {
|
||||
"message": "Processing complete",
|
||||
"status": "Accepted",
|
||||
"id": "f9021989-1515-46bf-8b0e-beb3b6d6bab5"
|
||||
},
|
||||
"previousBackups": [
|
||||
{
|
||||
"path": "/Library/Plug-Ins/FxPlug/.dayu-color-previous-fab5a28e546845ccaa2d04848773912e.app",
|
||||
"version": "1.21.8",
|
||||
"build": "126"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"version": "1.22.0",
|
||||
"build": "128",
|
||||
"sourceCommit": "f24c67907e11c85a644e81e127327f9012b6b411",
|
||||
"state": "superseded-before-installation",
|
||||
"reason": "Source-switch reveal button and online comparison title correction; final candidate uses build 129.",
|
||||
"notarization": {
|
||||
"name": "notarization-submission.zip",
|
||||
"status": "In Progress",
|
||||
"id": "db0365b8-962b-407c-acdf-9487ae2e0d16",
|
||||
"createdDate": "2026-11-11T10:44:06.664Z"
|
||||
},
|
||||
"archiveSHA256": "5bcfaa1e594b968da14f1337162cf58346574a59ee081525540cc16f6e56bfce",
|
||||
"notarizationLatestInfo": {
|
||||
"status": "In Progress",
|
||||
"createdDate": "2026-11-11T10:44:06.664Z",
|
||||
"message": "Successfully received submission info",
|
||||
"id": "db0365b8-962b-407c-acdf-9487ae2e0d16",
|
||||
"name": "notarization-submission.zip"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"version": "1.22.0",
|
||||
"build": 130,
|
||||
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg",
|
||||
"notaryID": "5c424d14-b03e-4c9c-9a9a-b3645029f5e7",
|
||||
"notaryStatus": "Accepted",
|
||||
"submittedUTC": "2026-11-11T11:25:14.276Z",
|
||||
"instruction": "Query this existing submission; do not rebuild/reupload the same artifact. Only publish after Accepted and stapler/validation/package checks.",
|
||||
"superseded": true,
|
||||
"reason": "User requested existing hardware UUID account restoration before publication; build130 was not released.",
|
||||
"retainedTemporaryPackage": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/superseded-build130.pkg",
|
||||
"temporaryPackageRemovedAfterFinal131Validation": true
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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,13 @@
|
||||
{
|
||||
"version": "1.22.1",
|
||||
"build": 133,
|
||||
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
|
||||
"notaryID": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
|
||||
"notaryStatus": "In Progress",
|
||||
"waitCommandInterrupted": true,
|
||||
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
|
||||
"preflightPassed": true,
|
||||
"preflightChecks": 1028,
|
||||
"installed": false,
|
||||
"resume": "tools/deliver.py --resume-notary <notaryID> --submitted-zip-sha256 <submittedZIP_SHA256> --compiled-source <sourceCommit>"
|
||||
}
|
||||
+254
-29
@@ -1,5 +1,6 @@
|
||||
#import "DYLUTBrowser.h"
|
||||
#import "DYLUTLibrary.h"
|
||||
#import "../Shared/DYOnlineLUT.h"
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
@@ -21,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.
|
||||
@@ -96,6 +100,7 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
|
||||
@property BOOL doubleClicked;
|
||||
@property BOOL listLayout;
|
||||
@property BOOL shortcut;
|
||||
@property BOOL online;
|
||||
@end
|
||||
@implementation DYBrowserTile
|
||||
- (BOOL)isFlipped{return YES;}
|
||||
@@ -106,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];
|
||||
@@ -121,7 +126,7 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
|
||||
[NSGraphicsContext restoreGraphicsState];
|
||||
}else{
|
||||
[DYBrowserColor(_palette,@"background")setFill];NSRectFill(imageRect);
|
||||
NSString *message=_failure.length?@"无法预览":@"生成预览…";
|
||||
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];
|
||||
@@ -136,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;}
|
||||
@@ -143,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
|
||||
@@ -243,6 +255,21 @@ static NSRect DYBrowserTileImageRect(NSRect bounds,BOOL list) {
|
||||
NSUInteger _libraryGeneration,_selectionGeneration,_previewGeneration;
|
||||
NSInteger _columns;
|
||||
CGFloat _tileWidth,_tileHeight,_sidebarWidth;
|
||||
NSButton *_previousPage;
|
||||
NSTextField *_onlineNotice;
|
||||
BOOL _onlineMode;
|
||||
NSArray *_onlineEntries,*_onlineCategories;
|
||||
NSDictionary *_onlineFrame;
|
||||
NSData *_onlinePNG;
|
||||
NSString *_onlineSelectedPath;
|
||||
NSUInteger _onlinePage,_onlineTotal,_onlineCatalogGeneration;
|
||||
NSProgress *_onlineCatalogTask;
|
||||
NSMutableSet *_onlineTransfers;
|
||||
NSMutableSet *_collapsedFolders,*_onlineQueuedPaths;
|
||||
NSCache *_onlineThumbnailCache;
|
||||
DYBrowserWork *_onlineWork;
|
||||
BOOL _onlineStarted,_onlineFramePreparing;
|
||||
NSUInteger _onlineFrameGeneration;
|
||||
}
|
||||
@end
|
||||
|
||||
@@ -265,10 +292,16 @@ 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];
|
||||
_titleLabel=[BrowserLabel(@"LUT 浏览器",14)retain];_titleLabel.font=[NSFont systemFontOfSize:14 weight:NSFontWeightSemibold];
|
||||
_previousPage=[BrowserButton(@"上一页",self,@selector(previousOnlinePage:))retain];_previousPage.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];
|
||||
_sizeLabel=[BrowserLabel(@"缩略图大小",11)retain];
|
||||
@@ -312,16 +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,_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];
|
||||
_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];
|
||||
@@ -343,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);}
|
||||
@@ -357,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");}});
|
||||
@@ -367,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 @[_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];
|
||||
}
|
||||
@@ -451,6 +491,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
else [self finishClosing];
|
||||
}
|
||||
- (void)finishClosing{
|
||||
[self cancelOnlineWork];
|
||||
if(_closed)return;
|
||||
// The API owner's completion may release this controller synchronously.
|
||||
[self retain];
|
||||
@@ -489,6 +530,14 @@ 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;
|
||||
_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){
|
||||
_previousPage.frame=NSMakeRect(w-174,_embedded?5:9,76,27);_reveal.hidden=NO;_reveal.frame=NSMakeRect(w-94,_embedded?5:9,80,27);
|
||||
_onlineNotice.frame=NSMakeRect(12,NSMinY(browser)+2,MAX(1,w-24),20);
|
||||
browser.origin.y+=26;browser.size.height=MAX(1,browser.size.height-26);comparison=browser;
|
||||
}
|
||||
if(w>=620){
|
||||
CGFloat width=MIN(560,w*.42);
|
||||
browser.size.width=MAX(1,NSWidth(browser)-width-10);
|
||||
@@ -543,7 +592,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
NSMutableSet *wanted=[NSMutableSet set];BOOL changed=NO;
|
||||
for(NSUInteger i=first;i<end;i++){
|
||||
NSDictionary *entry=_visibleEntries[i];NSString *path=entry[@"path"];[wanted addObject:path];DYBrowserTile *tile=_tiles[path];
|
||||
if(!tile){tile=[[[DYBrowserTile alloc]initWithFrame:NSZeroRect]autorelease];tile.identifier=path;tile.displayName=entry[@"name"];tile.toolTip=entry[@"relativePath"]?:path;tile.palette=_palette;tile.chosen=[path isEqualToString:_selectedPath];tile.target=self;tile.action=@selector(thumbnailClicked:);tile.enabled=YES;[_gridDocument addSubview:tile];_tiles[path]=tile;changed=YES;}
|
||||
if(!tile){tile=[[[DYBrowserTile alloc]initWithFrame:NSZeroRect]autorelease];tile.identifier=path;tile.displayName=entry[@"name"];tile.toolTip=entry[@"relativePath"]?:path;tile.palette=_palette;tile.chosen=[path isEqualToString:_onlineMode?_onlineSelectedPath:_selectedPath];tile.online=_onlineMode;tile.target=self;tile.action=@selector(thumbnailClicked:);tile.enabled=YES;[_gridDocument addSubview:tile];_tiles[path]=tile;changed=YES;}
|
||||
tile.shortcut=_compactRecent;tile.listLayout=_layoutMenu.indexOfSelectedItem==1;tile.frame=NSMakeRect(7+(i%_columns)*(_tileWidth+10),8+(i/_columns)*step,_tileWidth,_tileHeight);
|
||||
}
|
||||
for(NSString *path in _tiles.allKeys)if(![wanted containsObject:path]){[_tiles[path]removeFromSuperview];[_tiles removeObjectForKey:path];changed=YES;}
|
||||
@@ -572,8 +621,9 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
return frames[@"high"]&&(high||!frames[@"standard"])?@"high":@"standard";
|
||||
}
|
||||
- (NSSize)previewSize {
|
||||
NSString *quality=[self previewQualityForFrames:_previewFrames];
|
||||
NSValue *size=_previewFrames[[quality stringByAppendingString:@"Size"]];
|
||||
NSDictionary *frames=_onlineMode&&_onlineFrame?_onlineFrame:_previewFrames;
|
||||
NSString *quality=[self previewQualityForFrames:frames];
|
||||
NSValue *size=frames[[quality stringByAppendingString:@"Size"]];
|
||||
return size?size.sizeValue:NSMakeSize(320,180);
|
||||
}
|
||||
- (void)invalidatePreviewImages {
|
||||
@@ -592,10 +642,14 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
// the browser's pre-click reference until the playhead moves.
|
||||
if(sameSize&&[_selectionFrameTime isEqual:frames[@"time"]])return;
|
||||
[_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;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];
|
||||
@@ -603,10 +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)[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};
|
||||
@@ -617,14 +673,16 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
- (void)displayPreviewResult:(NSDictionary *)result inTile:(DYBrowserTile *)tile{
|
||||
tile.previewGeneration=_previewGeneration;
|
||||
tile.thumbnail=result[@"image"];tile.failure=result[@"error"];
|
||||
tile.enabled=tile.thumbnail!=nil;
|
||||
tile.toolTip=tile.failure?:tile.identifier;
|
||||
tile.enabled=_onlineMode||tile.thumbnail!=nil;
|
||||
tile.toolTip=tile.failure?:(_onlineMode?tile.displayName:tile.identifier);
|
||||
[tile setNeedsDisplay:YES];
|
||||
}
|
||||
- (void)requestPreviewForPath:(NSString *)path comparison:(BOOL)comparison{
|
||||
if(_onlineMode&&[path hasPrefix:@"online:"]){[self requestOnlinePreview:path];return;}
|
||||
if(!_work||[_queuedPaths containsObject:path])return;
|
||||
[_queuedPaths addObject:path];
|
||||
NSData *frame=_previewFrames[[self previewQualityForFrames:_previewFrames]];
|
||||
NSDictionary *frames=_onlineMode&&_onlineFrame?_onlineFrame:_previewFrames;
|
||||
NSData *frame=frames[[self previewQualityForFrames:frames]];
|
||||
NSSize size=[self previewSize];
|
||||
DYBrowserWork *work=_work;
|
||||
dispatch_async(comparison?_compareQueue:_previewQueue,^{@autoreleasepool{
|
||||
@@ -646,7 +704,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
}
|
||||
- (void)refreshComparison{
|
||||
if(_closed||_compactRecent||!self.visible||!_previewFrames.count)return;
|
||||
NSString *path=_selectedPath;
|
||||
NSString *path=_onlineMode?_onlineSelectedPath:_selectedPath;
|
||||
NSDictionary *original=_comparisonOriginal,*styled=path.length?[self previewResultForPath:path]:nil;
|
||||
if(!original)[self requestPreviewForPath:@"" comparison:YES];
|
||||
if(path.length&&!styled)[self requestPreviewForPath:path comparison:YES];
|
||||
@@ -655,14 +713,21 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
NSImage *source=original[@"image"],*look=styled[@"image"];
|
||||
_compareSlider.enabled=source!=nil&&look!=nil;
|
||||
[_compareView setOriginal:source styled:look];
|
||||
_compareStatus.stringValue=path.length?(look?path.lastPathComponent.stringByDeletingPathExtension:@"无法预览当前 LUT"):@"选择一个 LUT 查看对比";
|
||||
NSString *name=_onlineMode?[self onlineEntryForPath:path][@"name"]:path.lastPathComponent.stringByDeletingPathExtension;
|
||||
_compareStatus.stringValue=path.length?(look?(name?:@"在线 LUT"):@"无法预览当前 LUT"):@"选择一个 LUT 查看对比";
|
||||
_compareStatus.toolTip=_compareStatus.stringValue;
|
||||
}
|
||||
- (void)setStatus:(NSString *)status{_statusLabel.stringValue=status?:@"";_statusLabel.toolTip=status;}
|
||||
- (void)rebuildFolders{
|
||||
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];}
|
||||
@@ -673,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];
|
||||
@@ -693,6 +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&&_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){
|
||||
@@ -701,13 +773,22 @@ 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];
|
||||
_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{[self rebuildGrid];}
|
||||
- (void)controlTextDidChange:(NSNotification *)notification{if(notification.object==_search)[self rebuildGrid];}
|
||||
- (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];}
|
||||
- (void)sizeChanged:(id)sender{
|
||||
[[NSUserDefaults standardUserDefaults]setDouble:_sizeSlider.doubleValue forKey:DYBrowserPreference(DYBrowserSizePreference,_library)];
|
||||
[self layoutBrowser];
|
||||
@@ -729,24 +810,27 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
for(NSView *tile in _tiles.allValues)[tile removeFromSuperview];[_tiles removeAllObjects];
|
||||
NSString *query=[_search.stringValue stringByTrimmingCharactersInSet:NSCharacterSet.whitespaceAndNewlineCharacterSet];NSMutableArray *entries=[NSMutableArray array];
|
||||
BOOL recent=[_folder isEqual:DYBrowserRecentFolder];NSArray *history=_recentSnapshot;
|
||||
for(NSDictionary *entry in (recent?[_library recentEntriesForPaths:history]:_library.entries)){
|
||||
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)[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;}];
|
||||
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;}];
|
||||
_emptyLabel.stringValue=recent?@"尚未使用 LUT。应用后,下次打开会显示最近使用记录。":@"此文件夹还没有 LUT。\n点“导入文件”或“导入文件夹”添加 .cube 文件。";
|
||||
[_visibleEntries release];_visibleEntries=[entries copy];_countLabel.stringValue=[NSString stringWithFormat:@"%lu 个 LUT",(unsigned long)entries.count];_emptyLabel.hidden=entries.count>0;
|
||||
if(_onlineMode){_countLabel.stringValue=[NSString stringWithFormat:@"%lu 个 · %lu/%lu 页",(unsigned long)_onlineTotal,(unsigned long)_onlinePage,(unsigned long)MAX(1,(_onlineTotal+59)/60)];_emptyLabel.stringValue=@"在线 LUT 暂未加载。\n请在主 APP 登录并刷新,或选择其他分类。";}
|
||||
[_gridScroll.contentView scrollToPoint:NSZeroPoint];[self layoutBrowser];[_gridScroll reflectScrolledClipView:_gridScroll.contentView];
|
||||
NSAccessibilityPostNotification(_gridDocument,NSAccessibilityLayoutChangedNotification);
|
||||
}
|
||||
- (void)thumbnailClicked:(DYBrowserTile *)sender{
|
||||
if(_onlineMode){[self applyOnlineTile:sender];return;}
|
||||
if(!sender.enabled||sender.failure.length)return;
|
||||
[_selectionTask cancel];[_selectionTask release];NSUInteger generation=++_selectionGeneration;
|
||||
NSString *path=sender.identifier,*name=sender.displayName;BOOL closeAfter=sender.doubleClicked&&!_compactRecent;[self setStatus:[@"正在载入 " stringByAppendingString:name]];
|
||||
void (^applied)(NSError *)=^(NSError *error){
|
||||
if(_closed||generation!=_selectionGeneration)return;[_selectionTask release];_selectionTask=nil;
|
||||
if(error){[self setStatus:error.localizedDescription];return;}
|
||||
[_onlineSelectedPath release];_onlineSelectedPath=nil;
|
||||
[_selectedPath release];_selectedPath=[path copy];[_library recordUsedPath:path];
|
||||
[_selectionFrameTime release];_selectionFrameTime=[_previewFrames[@"time"] retain];[self refreshComparison];
|
||||
for(DYBrowserTile *tile in _tiles.allValues){tile.chosen=[tile.identifier isEqualToString:path];[tile setNeedsDisplay:YES];}
|
||||
@@ -760,6 +844,7 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
void (^cleared)(NSError *)=^(NSError *error){
|
||||
if(_closed||generation!=_selectionGeneration)return;[_selectionTask release];_selectionTask=nil;
|
||||
if(error){[self setStatus:error.localizedDescription];return;}
|
||||
[_onlineSelectedPath release];_onlineSelectedPath=nil;
|
||||
[_selectedPath release];_selectedPath=nil;
|
||||
[_selectionFrameTime release];_selectionFrameTime=[_previewFrames[@"time"] retain];[self refreshComparison];
|
||||
for(DYBrowserTile *tile in _tiles.allValues){tile.chosen=NO;[tile setNeedsDisplay:YES];}
|
||||
@@ -786,11 +871,151 @@ static NSButton *BrowserButton(NSString *title,id target,SEL action){NSButton *b
|
||||
_importing=YES;NSModalResponse response=[panel runModal];_importing=NO;
|
||||
if(response==NSModalResponseOK&&!_closed)[self importSelectedURLs:panel.URLs];
|
||||
}
|
||||
- (void)importFiles:(id)sender{[self importPanelForFolders:NO];}
|
||||
- (void)importFolder:(id)sender{[self importPanelForFolders:YES];}
|
||||
- (void)importFiles:(id)sender{if(_onlineMode)[self captureOnlineFrame];else [self importPanelForFolders:NO];}
|
||||
- (void)importFolder:(id)sender{if(_onlineMode)[DYOnlineLUTClient openAccount];else [self importPanelForFolders:YES];}
|
||||
- (void)revealLibrary:(id)sender{
|
||||
if(_onlineMode){if(_onlinePage*60<_onlineTotal){_onlinePage++;[self loadOnlineCatalog];}return;}
|
||||
NSError *error=nil;
|
||||
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)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;
|
||||
[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 {
|
||||
dispatch_async(dispatch_get_main_queue(),^{
|
||||
if(self->_closed)return;[self cancelOnlineWork];
|
||||
[self->_onlineEntries release];self->_onlineEntries=nil;[self->_onlineCategories release];self->_onlineCategories=nil;
|
||||
[self->_onlineSelectedPath release];self->_onlineSelectedPath=nil;
|
||||
[self invalidatePreviewImages];
|
||||
[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(!_onlineStarted||_closed)return;
|
||||
NSUInteger generation=++_onlineCatalogGeneration;[_onlineCatalogTask cancel];[_onlineCatalogTask release];_onlineCatalogTask=nil;
|
||||
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||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 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];
|
||||
for(id item in value[@"items"]){
|
||||
if(![item isKindOfClass:NSDictionary.class]||![item[@"id"]isKindOfClass:NSNumber.class]||[item[@"id"]longLongValue]<=0||![item[@"title"]isKindOfClass:NSString.class]||![item[@"category"]isKindOfClass:NSString.class]||![item[@"checksum"]isKindOfClass:NSString.class]||[item[@"checksum"]length]!=64||![item[@"file_size"]isKindOfClass:NSNumber.class]||[item[@"file_size"]longLongValue]<=0||[item[@"file_size"]longLongValue]>64*1024*1024)continue;
|
||||
NSMutableDictionary *entry=[NSMutableDictionary dictionaryWithDictionary:item];entry[@"path"]=[@"online:" stringByAppendingString:[item[@"id"]stringValue]];entry[@"name"]=item[@"title"];entry[@"relativeFolder"]=item[@"category"];entry[@"relativePath"]=[item[@"category"]stringByAppendingPathComponent:item[@"title"]];[entries addObject:entry];
|
||||
}
|
||||
[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 updateSourceControls];
|
||||
[self rebuildFolders];if(self->_onlineMode){[self rebuildGrid];[self setStatus:@"自动加载在线预览;点击安装到本地分类并应用。"]; }else [self layoutBrowser];
|
||||
[self generateOnlinePreviews];
|
||||
}];
|
||||
_onlineCatalogTask=[task retain];
|
||||
}
|
||||
- (NSDictionary *)onlineEntryForPath:(NSString *)path {
|
||||
for(NSDictionary *entry in _onlineEntries)if([entry[@"path"]isEqual:path])return entry;return nil;
|
||||
}
|
||||
- (void)captureOnlineFrame {
|
||||
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){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||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||!_onlineWork||_onlineWork.cancelled||[_onlineQueuedPaths containsObject:path]||[_onlineThumbnailCache objectForKey:path]||_onlineTransfers.count>=2)return;
|
||||
NSDictionary *entry=[self onlineEntryForPath:path];if(!entry)return;
|
||||
[_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->_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->_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 generateOnlinePreviews];
|
||||
if(owner->_onlineMode){if(error)[owner setStatus:error.localizedDescription];else [owner setStatus:@"在线预览已更新;点击安装到本地分类并应用。"]; }
|
||||
}];
|
||||
if(task)[_onlineTransfers addObject:task];
|
||||
}
|
||||
- (void)applyOnlineTile:(DYBrowserTile *)tile {
|
||||
NSDictionary *entry=[self onlineEntryForPath:tile.identifier];if(!entry||_closed)return;
|
||||
[_selectionTask cancel];[_selectionTask release];_selectionTask=nil;NSUInteger generation=++_selectionGeneration;
|
||||
NSString *onlinePath=entry[@"path"],*name=entry[@"name"];BOOL closeAfter=tile.doubleClicked;
|
||||
[self setStatus:[@"正在下载 " stringByAppendingString:name]];
|
||||
NSProgress *download=[DYOnlineLUTClient request:[NSString stringWithFormat:@"/dayu-color/v1/lut/%@/download",entry[@"id"]] body:@{} authenticated:YES completion:^(NSData *data,NSError *error){
|
||||
if(self->_closed||generation!=self->_selectionGeneration)return;[self->_selectionTask release];self->_selectionTask=nil;
|
||||
if(error||data.length!=[entry[@"file_size"]unsignedLongLongValue]){[self setStatus:error.localizedDescription?:@"下载大小与在线清单不一致,请刷新后重试。"];return;}
|
||||
[self setStatus:@"正在校验并保存在线 LUT…"];
|
||||
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;}
|
||||
[self->_selectedPath release];self->_selectedPath=[path copy];[self->_library recordUsedPath:path];
|
||||
[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->_selectionTask=[(self->_selection?self->_selection(path,applied):DYLUTPrepareAsync(path,applied))retain];
|
||||
}]retain];
|
||||
}];_selectionTask=[download retain];
|
||||
}
|
||||
@end
|
||||
@@ -42,6 +42,7 @@ FOUNDATION_EXPORT NSImage * _Nullable DYLUTThumbnail(NSString * _Nullable path,
|
||||
NSSize outputSize, NSError * _Nullable * _Nullable error);
|
||||
|
||||
@interface DYLUTLibrary : NSObject
|
||||
- (NSProgress *)importOnlineData:(NSData *)data identifier:(NSNumber *)identifier name:(NSString *)name category:(NSString *)category checksum:(NSString *)checksum completion:(void (^)(NSString *,NSError *))completion;
|
||||
@property(nonatomic,readonly,copy) NSURL *rootURL;
|
||||
/// Each item has name (without extension), path, relativeFolder, relativePath.
|
||||
@property(nonatomic,readonly,copy) NSArray<NSDictionary<NSString *,NSString *> *> *entries;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#import "DYLUTLibrary.h"
|
||||
#import <CommonCrypto/CommonDigest.h>
|
||||
#include <algorithm>
|
||||
#include <charconv>
|
||||
#include <string_view>
|
||||
@@ -530,6 +531,46 @@ static BOOL DYLUTEnsureDirectory(NSURL *directory,NSURL *root,NSError **error) {
|
||||
NSProgress *progress=[NSProgress discreteProgressWithTotalUnitCount:-1];progress.localizedDescription=@"正在查找 LUT 文件…";NSArray *sources=[[urls copy]autorelease];
|
||||
dispatch_async(_fileQueue,^{@autoreleasepool{NSError *error=nil;NSArray *imported=[self importURLs:sources progress:progress error:&error];dispatch_async(dispatch_get_main_queue(),^{if(completion)completion(imported,error);});}});return progress;
|
||||
}
|
||||
- (NSProgress *)importOnlineData:(NSData *)data identifier:(NSNumber *)identifier name:(NSString *)name category:(NSString *)category checksum:(NSString *)checksum completion:(void (^)(NSString *,NSError *))completion {
|
||||
NSProgress *progress=[NSProgress progressWithTotalUnitCount:1];progress.localizedDescription=@"正在校验并保存在线 LUT…";
|
||||
dispatch_async(_fileQueue,^{@autoreleasepool{
|
||||
NSError *error=nil;NSString *saved=nil;
|
||||
@synchronized(self->_fileLock){
|
||||
auto safe=[](NSString *value)->NSString *{
|
||||
if(![value isKindOfClass:NSString.class])return @"未分类";
|
||||
NSCharacterSet *bad=[NSCharacterSet characterSetWithCharactersInString:@"/\\:\n\r\t"];
|
||||
NSString *text=[[[value componentsSeparatedByCharactersInSet:bad]componentsJoinedByString:@" "]stringByTrimmingCharactersInSet:NSCharacterSet.whitespaceAndNewlineCharacterSet];
|
||||
while([text hasPrefix:@"."])text=[text substringFromIndex:1];
|
||||
return text.length?[text substringToIndex:MIN((NSUInteger)60,text.length)]:@"未分类";
|
||||
};
|
||||
unsigned char digest[CC_SHA256_DIGEST_LENGTH];CC_SHA256(data.bytes,(CC_LONG)data.length,digest);NSMutableString *hash=[NSMutableString string];for(unsigned char byte:digest)[hash appendFormat:@"%02x",byte];
|
||||
if(!data.length||data.length>64*1024*1024||identifier.longLongValue<=0||![checksum isKindOfClass:NSString.class]||![hash isEqual:checksum.lowercaseString])DYLUTFail(&error,@"在线 LUT 大小或 SHA-256 校验失败");
|
||||
NSURL *directory=[self->_rootURL URLByAppendingPathComponent:[@"在线 LUT/" stringByAppendingString:safe(category)] isDirectory:YES];
|
||||
NSString *filename=[NSString stringWithFormat:@"%@-%@-%@.cube",identifier,safe(name),[hash substringToIndex:12]];
|
||||
NSURL *destination=[directory URLByAppendingPathComponent:filename];NSURL *temporary=nil;
|
||||
if(!error&&!DYLUTCancelled(progress,&error)&&DYLUTEnsureDirectory(directory,self->_rootURL,&error)){
|
||||
NSFileManager *fm=NSFileManager.defaultManager;
|
||||
if([fm fileExistsAtPath:destination.path]){
|
||||
BOOL directory=NO;NSData *existing=nil;
|
||||
if(DYLUTOrdinaryURL(destination,&directory,&error)&&!directory)existing=[NSData dataWithContentsOfURL:destination options:NSDataReadingMappedIfSafe error:&error];
|
||||
if(directory)DYLUTFail(&error,@"在线 LUT 目标应为普通文件");
|
||||
if(existing&&![existing isEqualToData:data])DYLUTFail(&error,@"同名在线 LUT 内容不同,已保留现有文件");
|
||||
}else{
|
||||
temporary=[directory URLByAppendingPathComponent:[@".online-" stringByAppendingString:NSUUID.UUID.UUIDString]];
|
||||
if([data writeToURL:temporary options:NSDataWritingWithoutOverwriting error:&error]){
|
||||
std::vector<float> values;NSUInteger n=0;
|
||||
if(DYLUTReadCancellable(temporary.path,values,n,progress,&error)&&!DYLUTCancelled(progress,&error))
|
||||
[fm moveItemAtURL:temporary toURL:destination error:&error];
|
||||
}
|
||||
}
|
||||
if(!error){std::vector<float> values;NSUInteger n=0;if(DYLUTReadCancellable(destination.path,values,n,progress,&error)&&[self reload:&error])saved=destination.path;}
|
||||
if(temporary)[fm removeItemAtURL:temporary error:nil];
|
||||
}
|
||||
}
|
||||
progress.completedUnitCount=1;
|
||||
dispatch_async(dispatch_get_main_queue(),^{if(completion)completion(saved,error);});
|
||||
}});return progress;
|
||||
}
|
||||
- (BOOL)isFavoritePath:(NSString *)path {@synchronized(self){return [_favoritePaths containsObject:path];}}
|
||||
- (BOOL)setFavorite:(BOOL)favorite forPath:(NSString *)path error:(NSError **)error {@synchronized(self){
|
||||
NSString *prefix=[_rootURL.path stringByAppendingString:@"/"];
|
||||
|
||||
+2
-2
@@ -17,9 +17,9 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>XPC!</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.21.8</string>
|
||||
<string>1.22.1</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>126</string>
|
||||
<string>133</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string></string>
|
||||
<key>PlugInKit</key>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
FOUNDATION_EXPORT NSString *const DYOnlineLUTIdentityChanged;
|
||||
typedef void (^DYOnlineLUTReply)(NSData *, NSError *);
|
||||
@interface DYOnlineLUTClient : NSObject
|
||||
+ (NSDictionary *)credential;
|
||||
+ (BOOL)saveCredential:(NSDictionary *)value error:(NSError **)error;
|
||||
+ (BOOL)clearCredential:(NSError **)error;
|
||||
+ (NSString *)deviceUUID;
|
||||
+ (NSProgress *)request:(NSString *)path body:(NSDictionary *)body authenticated:(BOOL)authenticated completion:(DYOnlineLUTReply)completion;
|
||||
+ (NSDictionary *)JSON:(NSData *)data error:(NSError **)error;
|
||||
+ (void)openAccount;
|
||||
@end
|
||||
@@ -0,0 +1,137 @@
|
||||
#import "DYOnlineLUT.h"
|
||||
#import <Security/Security.h>
|
||||
#include <uuid/uuid.h>
|
||||
#include <unistd.h>
|
||||
|
||||
NSString *const DYOnlineLUTIdentityChanged=@"com.dayu.color.online-lut.identity-changed";
|
||||
static NSString *const DYOnlineLUTService=@"com.dayu.color.online-lut.session";
|
||||
static NSError *DYOnlineError(NSInteger code,NSString *message) {
|
||||
return [NSError errorWithDomain:@"com.dayu.color.online-lut" code:code userInfo:@{NSLocalizedDescriptionKey:message?:@"在线 LUT 暂不可用"}];
|
||||
}
|
||||
static NSDictionary *DYOnlineKeyQuery(void) {
|
||||
return @{(id)kSecClass:(id)kSecClassGenericPassword,(id)kSecAttrService:DYOnlineLUTService,(id)kSecAttrAccount:@"DayuColor"};
|
||||
}
|
||||
|
||||
@interface DYOnlineLUTTransfer : NSObject <NSURLSessionDataDelegate> {
|
||||
NSMutableData *_data;
|
||||
NSURLSession *_session;
|
||||
NSURLSessionDataTask *_task;
|
||||
NSProgress *_progress;
|
||||
DYOnlineLUTReply _reply;
|
||||
NSHTTPURLResponse *_response;
|
||||
NSError *_failure;
|
||||
NSUInteger _limit;
|
||||
}
|
||||
- (NSProgress *)start:(NSURLRequest *)request limit:(NSUInteger)limit completion:(DYOnlineLUTReply)completion;
|
||||
@end
|
||||
@implementation DYOnlineLUTTransfer
|
||||
- (void)dealloc {
|
||||
[_data release];[_task release];[_session release];[_progress release];[_reply release];[_response release];[_failure release];[super dealloc];
|
||||
}
|
||||
- (NSProgress *)start:(NSURLRequest *)request limit:(NSUInteger)limit completion:(DYOnlineLUTReply)completion {
|
||||
_limit=limit;_data=[NSMutableData new];_reply=[completion copy];_progress=[[NSProgress progressWithTotalUnitCount:1]retain];
|
||||
NSURLSessionConfiguration *config=NSURLSessionConfiguration.ephemeralSessionConfiguration;
|
||||
config.timeoutIntervalForRequest=20;config.timeoutIntervalForResource=45;config.HTTPShouldSetCookies=NO;config.URLCache=nil;
|
||||
_session=[[NSURLSession sessionWithConfiguration:config delegate:self delegateQueue:nil]retain];
|
||||
_task=[[_session dataTaskWithRequest:request]retain];
|
||||
_progress.cancellationHandler=^{[self->_task cancel];};[_task resume];return _progress;
|
||||
}
|
||||
- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task willPerformHTTPRedirection:(NSHTTPURLResponse *)response newRequest:(NSURLRequest *)request completionHandler:(void (^)(NSURLRequest *))completion { completion(nil); }
|
||||
- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)task didReceiveResponse:(NSURLResponse *)response completionHandler:(void (^)(NSURLSessionResponseDisposition))completion {
|
||||
_response=[(NSHTTPURLResponse *)response retain];
|
||||
if(![response isKindOfClass:NSHTTPURLResponse.class]||response.expectedContentLength>(int64_t)_limit) {
|
||||
_failure=[DYOnlineError(413,@"服务器响应过大,已停止下载。")retain];completion(NSURLSessionResponseCancel);return;
|
||||
}
|
||||
completion(NSURLSessionResponseAllow);
|
||||
}
|
||||
- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)task didReceiveData:(NSData *)data {
|
||||
if(data.length>_limit-_data.length){_failure=[DYOnlineError(413,@"服务器响应超过限制。")retain];[task cancel];return;}
|
||||
[_data appendData:data];
|
||||
if(_response.expectedContentLength>0){_progress.totalUnitCount=_response.expectedContentLength;_progress.completedUnitCount=_data.length;}
|
||||
}
|
||||
- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error {
|
||||
NSError *failure=_failure?:error;
|
||||
if(!failure&&(_response.statusCode<200||_response.statusCode>=300)) {
|
||||
NSDictionary *value=[NSJSONSerialization JSONObjectWithData:_data options:0 error:nil];
|
||||
NSString *message=[value isKindOfClass:NSDictionary.class]&&[value[@"message"]isKindOfClass:NSString.class]?value[@"message"]:@"在线服务暂不可用,请稍后重试。";
|
||||
failure=DYOnlineError(_response.statusCode,message);
|
||||
}
|
||||
_progress.cancellationHandler=nil;_progress.completedUnitCount=_progress.totalUnitCount;
|
||||
NSData *bytes=failure?nil:[NSData dataWithData:_data];
|
||||
dispatch_async(dispatch_get_main_queue(),^{if(self->_reply)self->_reply(bytes,failure);});
|
||||
[_session finishTasksAndInvalidate];
|
||||
}
|
||||
@end
|
||||
|
||||
@implementation DYOnlineLUTClient
|
||||
+ (NSDictionary *)credential {
|
||||
NSMutableDictionary *query=[NSMutableDictionary dictionaryWithDictionary:DYOnlineKeyQuery()];
|
||||
query[(id)kSecReturnData]=@YES;query[(id)kSecMatchLimit]=(id)kSecMatchLimitOne;
|
||||
// Plugin windows never invoke a Keychain password dialog inside the host.
|
||||
if([NSBundle.mainBundle.bundleIdentifier isEqual:@"com.dayu.color.XPC"])query[(id)kSecUseAuthenticationUI]=(id)kSecUseAuthenticationUIFail;
|
||||
CFTypeRef result=NULL;OSStatus status=SecItemCopyMatching((CFDictionaryRef)query,&result);
|
||||
if(status!=errSecSuccess)return nil;
|
||||
NSData *data=[(NSData *)result autorelease];NSDictionary *value=[NSJSONSerialization JSONObjectWithData:data options:0 error:nil];
|
||||
if(![value isKindOfClass:NSDictionary.class]||![value[@"token"]isKindOfClass:NSString.class]||[value[@"token"]length]!=64||[value[@"token"]rangeOfString:@"^[a-f0-9]{64}$" options:NSRegularExpressionSearch].location==NSNotFound||![value[@"expires_at"]isKindOfClass:NSNumber.class]||[value[@"expires_at"]doubleValue]<=NSDate.date.timeIntervalSince1970)return nil;
|
||||
return value;
|
||||
}
|
||||
+ (BOOL)saveCredential:(NSDictionary *)value error:(NSError **)error {
|
||||
if(![value[@"token"]isKindOfClass:NSString.class]||[value[@"token"]length]!=64||[value[@"token"]rangeOfString:@"^[a-f0-9]{64}$" options:NSRegularExpressionSearch].location==NSNotFound||![value[@"expires_at"]isKindOfClass:NSNumber.class]||[value[@"expires_at"]doubleValue]<=NSDate.date.timeIntervalSince1970){if(error)*error=DYOnlineError(401,@"登录凭据无效。");return NO;}
|
||||
NSData *data=[NSJSONSerialization dataWithJSONObject:value options:0 error:error];if(!data)return NO;
|
||||
OSStatus status=SecItemUpdate((CFDictionaryRef)DYOnlineKeyQuery(),(CFDictionaryRef)@{(id)kSecValueData:data});
|
||||
if(status==errSecItemNotFound) {
|
||||
NSMutableDictionary *query=[NSMutableDictionary dictionaryWithDictionary:DYOnlineKeyQuery()];query[(id)kSecValueData]=data;query[(id)kSecAttrLabel]=@"大鱼调色在线 LUT 登录";
|
||||
NSMutableArray *trusted=[NSMutableArray array];
|
||||
for(NSString *path in @[@"/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/MacOS/大鱼调色",@"/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit/Contents/MacOS/大鱼调色 XPC Service"]){
|
||||
SecTrustedApplicationRef application=NULL;
|
||||
if(SecTrustedApplicationCreateFromPath(path.fileSystemRepresentation,&application)==errSecSuccess){[trusted addObject:(id)application];CFRelease(application);}
|
||||
}
|
||||
SecAccessRef access=NULL;
|
||||
if(trusted.count!=2||SecAccessCreate(CFSTR("大鱼调色在线 LUT"),(CFArrayRef)trusted,&access)!=errSecSuccess){if(error)*error=DYOnlineError(401,@"无法为正式插件配置登录钥匙串访问。");return NO;}
|
||||
query[(id)kSecAttrAccess]=(id)access;status=SecItemAdd((CFDictionaryRef)query,NULL);CFRelease(access);
|
||||
}
|
||||
if(status!=errSecSuccess){if(error)*error=DYOnlineError(status,@"无法保存登录钥匙串,请允许大鱼调色访问。");return NO;}
|
||||
[NSDistributedNotificationCenter.defaultCenter postNotificationName:DYOnlineLUTIdentityChanged object:nil userInfo:nil deliverImmediately:YES];return YES;
|
||||
}
|
||||
+ (BOOL)clearCredential:(NSError **)error {
|
||||
OSStatus status=SecItemDelete((CFDictionaryRef)DYOnlineKeyQuery());
|
||||
if(status!=errSecSuccess&&status!=errSecItemNotFound){if(error)*error=DYOnlineError(status,@"无法移除登录钥匙串凭据。");return NO;}
|
||||
[NSDistributedNotificationCenter.defaultCenter postNotificationName:DYOnlineLUTIdentityChanged object:nil userInfo:nil deliverImmediately:YES];return YES;
|
||||
}
|
||||
+ (NSString *)deviceUUID {
|
||||
// macOS hardware host UUID (verified equal to IOPlatformUUID), never uuid_generate/NSUUID.
|
||||
uuid_t uuid;struct timespec timeout={2,0};if(gethostuuid(uuid,&timeout)!=0)return nil;uuid_string_t text;uuid_unparse_upper(uuid,text);return [NSString stringWithUTF8String:text];
|
||||
}
|
||||
+ (NSDictionary *)JSON:(NSData *)data error:(NSError **)error {
|
||||
id value=data?[NSJSONSerialization JSONObjectWithData:data options:0 error:error]:nil;
|
||||
if(![value isKindOfClass:NSDictionary.class]){if(error&&!*error)*error=DYOnlineError(422,@"在线服务返回的数据无效。");return nil;}return value;
|
||||
}
|
||||
+ (NSProgress *)request:(NSString *)path body:(NSDictionary *)body authenticated:(BOOL)authenticated completion:(DYOnlineLUTReply)completion {
|
||||
BOOL login=[path isEqual:@"/dayu-app/v1/login/session"];
|
||||
BOOL deviceLogin=[path isEqual:@"/device-login"];
|
||||
if(!login&&!deviceLogin&&![path hasPrefix:@"/dayu-color/v1/lut/"]){if(completion)completion(nil,DYOnlineError(400,@"请求地址无效。"));return nil;}
|
||||
NSDictionary *credential=authenticated?[self credential]:nil;
|
||||
if(authenticated&&!credential){if(completion)completion(nil,DYOnlineError(401,@"请先在大鱼调色主 APP 登录。"));return nil;}
|
||||
NSMutableURLRequest *request=[NSMutableURLRequest requestWithURL:[NSURL URLWithString:deviceLogin?@"https://dayu.media/wp-admin/admin-ajax.php":[@"https://dayu.media/wp-json" stringByAppendingString:path]]];
|
||||
request.HTTPMethod=@"POST";request.cachePolicy=NSURLRequestReloadIgnoringLocalCacheData;
|
||||
[request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
|
||||
[request setValue:@"application/json, image/png, application/octet-stream" forHTTPHeaderField:@"Accept"];
|
||||
[request setValue:@"DayuColor-OnlineLUT/1.0" forHTTPHeaderField:@"User-Agent"];
|
||||
if(credential)[request setValue:[@"Bearer " stringByAppendingString:credential[@"token"]]forHTTPHeaderField:@"Authorization"];
|
||||
NSError *error=nil;request.HTTPBody=[NSJSONSerialization dataWithJSONObject:body?:@{} options:0 error:&error];
|
||||
if(deviceLogin){
|
||||
NSURLComponents *form=[[[NSURLComponents alloc]init]autorelease];
|
||||
form.queryItems=@[[NSURLQueryItem queryItemWithName:@"action" value:@"app_device_login"],[NSURLQueryItem queryItemWithName:@"device_uuid" value:body[@"device_uuid"]?:@""],[NSURLQueryItem queryItemWithName:@"app_name" value:@"DayuColor"],[NSURLQueryItem queryItemWithName:@"app_version" value:NSBundle.mainBundle.infoDictionary[@"CFBundleShortVersionString"]?:@""]];
|
||||
request.HTTPBody=[form.percentEncodedQuery dataUsingEncoding:NSUTF8StringEncoding];
|
||||
[request setValue:@"application/x-www-form-urlencoded;charset=UTF-8" forHTTPHeaderField:@"Content-Type"];
|
||||
}
|
||||
if(!request.HTTPBody){if(completion)completion(nil,error);return nil;}
|
||||
NSUInteger limit=[path hasSuffix:@"/download"]?64*1024*1024:2*1024*1024;
|
||||
DYOnlineLUTTransfer *transfer=[[[DYOnlineLUTTransfer alloc]init]autorelease];return [transfer start:request limit:limit completion:completion];
|
||||
}
|
||||
+ (void)openAccount {
|
||||
NSURL *url=[NSURL fileURLWithPath:@"/Library/Plug-Ins/FxPlug/大鱼调色.app"];
|
||||
NSWorkspaceOpenConfiguration *configuration=NSWorkspaceOpenConfiguration.configuration;configuration.arguments=@[@"--online-lut-account"];
|
||||
[NSWorkspace.sharedWorkspace openApplicationAtURL:url configuration:configuration completionHandler:nil];
|
||||
}
|
||||
@end
|
||||
@@ -2,6 +2,7 @@
|
||||
#import "DYBetaUpdater.h"
|
||||
#import "../Shared/DYBetaDiagnostics.h"
|
||||
#import "../Shared/DYCodeIntegrity.h"
|
||||
#import "../Shared/DYOnlineLUT.h"
|
||||
|
||||
static NSString *const DYPluginID = @"com.dayu.color.XPC";
|
||||
static NSString *const DYReleaseAddress = @"https://dayu.media";
|
||||
@@ -132,6 +133,13 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
|
||||
@property(retain) NSTimer *updateProgressTimer;
|
||||
@property BOOL updateCheckDone;
|
||||
@property BOOL integrityRejected;
|
||||
@property(assign) NSTextField *accountTitle,*accountDetail;
|
||||
@property(assign) DYActionButton *loginButton,*accessButton,*logoutButton;
|
||||
@property(retain) NSProgress *accountTask;
|
||||
@property(copy) NSString *loginSessionKey;
|
||||
@property(retain) NSTimer *loginTimer;
|
||||
@property NSUInteger accountGeneration;
|
||||
@property BOOL pollingLogin;
|
||||
@end
|
||||
|
||||
@implementation AppDelegate
|
||||
@@ -154,6 +162,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
|
||||
[NSWorkspace.sharedWorkspace.notificationCenter addObserver:self selector:@selector(accessibilityChanged:)
|
||||
name:NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification object:nil];
|
||||
[self.window makeKeyAndOrderFront:nil]; [self refreshDiagnostics:nil]; [self checkRegistration:nil]; [self.updater check];
|
||||
[self refreshOnlineAccount:nil];
|
||||
// Explicit QA opt-in on the signed, installed wrapper only. Never stalls the host.
|
||||
if([NSProcessInfo.processInfo.arguments containsObject:@"--diagnostics-probe"])
|
||||
[self performSelector:@selector(runDiagnosticsProbe) withObject:nil afterDelay:5];
|
||||
@@ -246,6 +255,14 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
|
||||
self.reportID,self.diagnosticDetail,self.sendSummaryButton],NSUserInterfaceLayoutOrientationVertical,10));
|
||||
NSStackView *beta=DYStack(@[updateCard,diagnosticCard],NSUserInterfaceLayoutOrientationHorizontal,14);
|
||||
[updateCard.heightAnchor constraintEqualToAnchor:diagnosticCard.heightAnchor].active=YES;
|
||||
self.accountTitle=DYLabel(@"在线 LUT",22,NSFontWeightSemibold,NSColor.whiteColor);
|
||||
self.accountDetail=DYLabel(@"在主 APP 登录后,即可在插件 LUT 浏览器中使用在线分类。",13,NSFontWeightRegular,DYSecondary());
|
||||
self.loginButton=DYButton(@"微信登录",DYBlue(),YES,self,@selector(loginOnlineAccount:));
|
||||
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打开插件的 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()],
|
||||
@[@"square.grid.2x2",@"LUT 与风格",@"灵感,所见即所得",@"LUT 缩略图浏览与实时预览\n快速收藏,管理常用风格",DYColor(.67,.59,1)],
|
||||
@@ -258,12 +275,101 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
|
||||
NSStackView *row2 = DYStack(@[cards[2],cards[3]],NSUserInterfaceLayoutOrientationHorizontal,14);
|
||||
[((NSView *)cards[0]).heightAnchor constraintEqualToAnchor:((NSView *)cards[1]).heightAnchor].active = YES;
|
||||
[((NSView *)cards[2]).heightAnchor constraintEqualToAnchor:((NSView *)cards[3]).heightAnchor].active = YES;
|
||||
NSStackView *content = DYStack(@[website,hero,top,beta,DYHeading(@"sparkles",@"一套工具,完成你的色彩表达",NSColor.whiteColor),row1,row2],NSUserInterfaceLayoutOrientationVertical,18);
|
||||
NSStackView *content = DYStack(@[website,hero,accountCard,top,beta,DYHeading(@"sparkles",@"一套工具,完成你的色彩表达",NSColor.whiteColor),row1,row2],NSUserInterfaceLayoutOrientationVertical,18);
|
||||
DYPin(content,document,30);
|
||||
for (NSView *view in content.arrangedSubviews) [view.widthAnchor constraintEqualToAnchor:content.widthAnchor].active = YES;
|
||||
[document.heightAnchor constraintGreaterThanOrEqualToAnchor:scroll.contentView.heightAnchor].active = YES;
|
||||
}
|
||||
|
||||
- (void)stopAccountLogin {
|
||||
self.accountGeneration++;[self.accountTask cancel];self.accountTask=nil;
|
||||
[self.loginTimer invalidate];self.loginTimer=nil;self.loginSessionKey=nil;self.pollingLogin=NO;
|
||||
self.loginButton.title=@"微信登录";self.loginButton.enabled=YES;self.accessButton.enabled=YES;
|
||||
}
|
||||
- (void)showOnlineAccount:(NSDictionary *)value {
|
||||
self.accessButton.enabled=YES;self.logoutButton.enabled=YES;
|
||||
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。购买后点击刷新权限。"];
|
||||
}
|
||||
- (void)restoreBoundOnlineAccount {
|
||||
NSUInteger generation=++self.accountGeneration;[self.accountTask cancel];
|
||||
NSString *device=[DYOnlineLUTClient deviceUUID];
|
||||
if(!device){self.accountTitle.stringValue=@"无法识别本机";self.accountDetail.stringValue=@"无法读取 macOS 硬件 UUID,请稍后重试。";return;}
|
||||
self.accountTitle.stringValue=@"正在识别本机已绑定的大鱼账号…";self.accessButton.enabled=NO;
|
||||
self.accountTask=[DYOnlineLUTClient request:@"/device-login" body:@{@"device_uuid":device} authenticated:NO completion:^(NSData *data,NSError *error){
|
||||
if(generation!=self.accountGeneration)return;self.accountTask=nil;self.accessButton.enabled=YES;
|
||||
NSDictionary *value=[DYOnlineLUTClient JSON:data error:&error];
|
||||
NSDictionary *identity=[value[@"data"]isKindOfClass:NSDictionary.class]?value[@"data"]:nil;
|
||||
NSString *token=[identity[@"token"]isKindOfClass:NSString.class]?identity[@"token"]:nil;
|
||||
if(error||![value[@"success"]boolValue]||!token.length){self.accountTitle.stringValue=@"尚未登录";self.accountDetail.stringValue=error.localizedDescription?:([identity[@"message"]isKindOfClass:NSString.class]?identity[@"message"]:@"本机尚未绑定账号,请点击微信登录。已绑定账号可点击刷新权限重试。");return;}
|
||||
self.accessButton.enabled=NO;
|
||||
self.accountTask=[DYOnlineLUTClient request:@"/dayu-color/v1/lut/device" body:@{@"device_uuid":device,@"login_token":token} authenticated:NO completion:^(NSData *bytes,NSError *failure){
|
||||
if(generation!=self.accountGeneration)return;self.accountTask=nil;self.accessButton.enabled=YES;
|
||||
NSDictionary *account=[DYOnlineLUTClient JSON:bytes error:&failure];
|
||||
if(failure||![DYOnlineLUTClient saveCredential:account error:&failure]){self.accountTitle.stringValue=@"暂时无法识别本机账号";self.accountDetail.stringValue=failure.localizedDescription?:@"请刷新权限,或重新微信登录。";return;}
|
||||
[self showOnlineAccount:account];
|
||||
}];
|
||||
}];
|
||||
}
|
||||
- (void)refreshOnlineAccount:(id)sender {
|
||||
if(self.loginSessionKey.length)return;
|
||||
if(sender)[NSUserDefaults.standardUserDefaults setBool:NO forKey:@"DYOnlineLUTAutomaticLoginDisabled"];
|
||||
NSUInteger generation=++self.accountGeneration;[self.accountTask cancel];
|
||||
self.logoutButton.enabled=[DYOnlineLUTClient credential]!=nil;
|
||||
if(!self.logoutButton.enabled){if(![NSUserDefaults.standardUserDefaults boolForKey:@"DYOnlineLUTAutomaticLoginDisabled"]){[self restoreBoundOnlineAccount];return;}self.accountTitle.stringValue=@"已退出登录";self.accountDetail.stringValue=@"点击刷新权限可识别本机已绑定账号,也可以重新微信登录。";return;}
|
||||
self.accountTitle.stringValue=@"正在验证在线 LUT 权限…";self.accessButton.enabled=NO;
|
||||
self.accountTask=[DYOnlineLUTClient request:@"/dayu-color/v1/lut/status" body:@{} authenticated:YES completion:^(NSData *data,NSError *error){
|
||||
if(generation!=self.accountGeneration)return;self.accountTask=nil;self.accessButton.enabled=YES;
|
||||
NSDictionary *value=[DYOnlineLUTClient JSON:data error:&error];
|
||||
if(error||!value){if(error.code==401){[DYOnlineLUTClient clearCredential:nil];[self restoreBoundOnlineAccount];return;}self.accountTitle.stringValue=@"暂时无法验证权限";self.accountDetail.stringValue=error.localizedDescription?:@"请稍后重试。";return;}
|
||||
[self showOnlineAccount:value];
|
||||
}];
|
||||
}
|
||||
- (void)loginOnlineAccount:(id)sender {
|
||||
if(self.loginSessionKey.length){[self stopAccountLogin];self.accountTitle.stringValue=@"登录已取消";self.accountDetail.stringValue=@"可以重新点击微信登录。";return;}
|
||||
[self stopAccountLogin];NSUInteger generation=self.accountGeneration;
|
||||
NSString *device=[DYOnlineLUTClient deviceUUID];
|
||||
if(!device){self.accountDetail.stringValue=@"无法读取本机身份,请稍后重试。";return;}
|
||||
self.loginButton.enabled=NO;self.accessButton.enabled=NO;self.accountTitle.stringValue=@"正在创建微信登录…";
|
||||
NSDictionary *info=NSBundle.mainBundle.infoDictionary;
|
||||
self.accountTask=[DYOnlineLUTClient request:@"/dayu-app/v1/login/session" body:@{@"device_uuid":device,@"app_name":@"DayuColor",@"client_bundle":@"com.dayu.color",@"client_version":info[@"CFBundleShortVersionString"]?:@"",@"client_build":info[@"CFBundleVersion"]?:@"",@"client_platform":@"macOS"} authenticated:NO completion:^(NSData *data,NSError *error){
|
||||
if(generation!=self.accountGeneration)return;self.accountTask=nil;
|
||||
NSDictionary *value=[DYOnlineLUTClient JSON:data error:&error];
|
||||
NSString *key=[value[@"session_key"]isKindOfClass:NSString.class]?value[@"session_key"]:nil;
|
||||
NSURL *url=[value[@"login_url"]isKindOfClass:NSString.class]?[NSURL URLWithString:value[@"login_url"]]:nil;
|
||||
if(error||key.length<32||![url.scheme isEqual:@"https"]||![url.host.lowercaseString isEqual:@"dayu.media"]||![url.path isEqual:@"/oauth/weixin"]){
|
||||
[self stopAccountLogin];self.accountTitle.stringValue=@"登录未完成";self.accountDetail.stringValue=error.localizedDescription?:@"登录服务返回的地址无效。";return;
|
||||
}
|
||||
self.loginSessionKey=key;self.accountTitle.stringValue=@"请在浏览器中完成微信登录";self.accountDetail.stringValue=@"完成扫码和账号确认后,这里会自动验证在线 LUT 权限。";
|
||||
self.loginButton.title=@"取消登录";self.loginButton.enabled=YES;
|
||||
if(![NSWorkspace.sharedWorkspace openURL:url]){[self stopAccountLogin];self.accountDetail.stringValue=@"无法打开浏览器,请重试。";return;}
|
||||
self.loginTimer=[NSTimer scheduledTimerWithTimeInterval:2 target:self selector:@selector(pollOnlineLogin:) userInfo:@{ @"started":NSDate.date } repeats:YES];
|
||||
}];
|
||||
}
|
||||
- (void)pollOnlineLogin:(NSTimer *)timer {
|
||||
if(self.pollingLogin||!self.loginSessionKey.length)return;
|
||||
if([timer.userInfo[@"started"]timeIntervalSinceNow]<-600){[self stopAccountLogin];self.accountDetail.stringValue=@"二维码已过期,请重新登录。";return;}
|
||||
NSUInteger generation=self.accountGeneration;self.pollingLogin=YES;
|
||||
self.accountTask=[DYOnlineLUTClient request:@"/dayu-color/v1/lut/session" body:@{@"session_key":self.loginSessionKey,@"device_uuid":[DYOnlineLUTClient deviceUUID]?:@""} authenticated:NO completion:^(NSData *data,NSError *error){
|
||||
if(generation!=self.accountGeneration)return;self.pollingLogin=NO;self.accountTask=nil;
|
||||
NSDictionary *value=[DYOnlineLUTClient JSON:data error:&error];
|
||||
if(error){if(error.code==401||error.code==400){[self stopAccountLogin];self.accountDetail.stringValue=error.localizedDescription;}return;}
|
||||
if(![value[@"status"]isEqual:@"approved"]){self.accountDetail.stringValue=[value[@"message"]isKindOfClass:NSString.class]?value[@"message"]:@"等待微信登录…";return;}
|
||||
if(![DYOnlineLUTClient saveCredential:value error:&error]){[self stopAccountLogin];self.accountDetail.stringValue=error.localizedDescription;return;}
|
||||
[NSUserDefaults.standardUserDefaults setBool:NO forKey:@"DYOnlineLUTAutomaticLoginDisabled"];[self stopAccountLogin];[self refreshOnlineAccount:nil];
|
||||
}];
|
||||
}
|
||||
- (void)logoutOnlineAccount:(id)sender {
|
||||
[self stopAccountLogin];NSUInteger generation=self.accountGeneration;
|
||||
self.accountTask=[DYOnlineLUTClient request:@"/dayu-color/v1/lut/logout" body:@{} authenticated:YES completion:^(NSData *data,NSError *error){
|
||||
if(generation!=self.accountGeneration)return;self.accountTask=nil;
|
||||
if(error&&error.code!=401){self.accountDetail.stringValue=@"暂时无法通知服务器退出,请联网后重试。";return;}
|
||||
NSError *local=nil;if(![DYOnlineLUTClient clearCredential:&local]){self.accountDetail.stringValue=local.localizedDescription;return;}[NSUserDefaults.standardUserDefaults setBool:YES forKey:@"DYOnlineLUTAutomaticLoginDisabled"];[self refreshOnlineAccount:nil];
|
||||
}];
|
||||
}
|
||||
|
||||
// PluginKit runs on a worker queue. Arguments are never interpreted as shell commands.
|
||||
- (NSDictionary *)runPluginKit:(NSArray *)arguments {
|
||||
NSTask *task = [[[NSTask alloc] init] autorelease]; task.executableURL = [NSURL fileURLWithPath:@"/usr/bin/pluginkit"]; task.arguments = arguments;
|
||||
@@ -501,6 +607,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
|
||||
- (void)accessibilityChanged:(NSNotification *)note { [self.window.contentView setNeedsDisplay:YES]; }
|
||||
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)app { return NO; }
|
||||
- (void)applicationWillTerminate:(NSNotification *)note {
|
||||
[self stopAccountLogin];
|
||||
self.terminating = YES;
|
||||
[NSStatusBar.systemStatusBar removeStatusItem:self.statusItem];
|
||||
self.updater.changed=nil; [self.updater cancel];DYBetaStop();
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.21.8</string>
|
||||
<string>1.22.1</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>126</string>
|
||||
<string>133</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
|
||||
@@ -1,402 +1,33 @@
|
||||
# 大鱼调色开发交接
|
||||
|
||||
更新于 2026-11-09(Asia/Shanghai)。这是新对话的接手入口。历史设计和实现细节按需查阅专项交接,复现和交付证据以对应版本的报告为准。
|
||||
更新于 2026-11-11(Asia/Shanghai)。这是新对话的接手入口。历史设计和实现细节按需查阅专项交接,复现和交付证据以对应版本的报告为准。
|
||||
|
||||
## 1.21.8(126)多层调色与检查器响应
|
||||
## 1.22.1(133)统一 LUT 浏览器:本地测试通过
|
||||
|
||||
2026-11-09。减少多层色彩管理的 GPU 提交和等待,预览取样随同当前批次编码,保留跨 CPU/GPU 边界的同步。宿主 ICC 配置未变化时复用解析结果,几何蒙版跳过色键转换,部分覆盖继续按原色彩空间混合。曲线、一级白平衡轮和颜色分级轮按显示节奏合并宿主参数写入,松手提交最后值并结束撤销组。
|
||||
用户已明确确认“我已测试可行”。本轮实现:打开浏览器时以当前缓存帧自动批量预载当前页在线效果图;在线和本地共用分类树,在线总分类列出子分类,本地支持二级及更深目录的展开/折叠;点击在线 LUT 校验下载后安装到本地对应分类并应用。首次无缓存帧时自动补载首帧,播放过程中不连续上传,保留“更新预览”。后台在线失败不影响本地操作。
|
||||
|
||||
Apple M4 的 4K 渲染对照中,曝光加 HSL 几何蒙版约 87.7 → 75.0 毫秒,一级 CST 加蒙版约 49.5 → 42.8 毫秒,P3 CST 混合约 70.5 → 63.0 毫秒。1080p 曝光加 HSL 蒙版约 30.1 → 23.0 毫秒。16 组配置的 128 帧 RGBA16F 输出逐字节一致。首轮 1080p 胶片颗粒与晕光出现回退,已撤回该提交方式。数据覆盖插件渲染入口到 GPU 完成的耗时。[性能基准](verification/RenderFluidity1.21.8.json)
|
||||
68 项在线/层级/导入合约、40 项本地浏览器回归通过。Release 编译及 1,028 项发布前检查通过。FCP 现场已观察到 1,233 项目录、已加载的合成色卡效果图、原图划像、统一侧栏及本地二级分类;用户随后确认测试可行。详见 [Debug 安装](verification/DebugDelivery1.22.1.json) 与 [现场及用户验收](verification/HostUnifiedLUTDebug1.22.1.json)。Motion 未复测。
|
||||
|
||||
正式 **1.21.8(126)** 已从唯一 FxPlug 路径启动,使用独立 HTTPS 检出的编译提交 `38e9fb25a21d7ba573f09093ea4ca45a79664cf5`。APP 公证 `c439ff82-db8e-44a9-83e4-68c62588a2de` Accepted。签名、票据、Gatekeeper、PluginKit 唯一路径、1,028 项正式安装自检及 17 套模板通过。正式 Metal 库与测量版哈希一致。[安装](verification/Delivery1.21.8.json)
|
||||
### 当前安装与授权例外
|
||||
|
||||
FCP 12.4 在独立 1080p/25p 色卡库中通过主控曲线、中间调色轮、一级白平衡轮的拖动和逐项一次撤销。一级白平衡松手读到 302.9°、5.6%,一次撤销后重开恢复 0°、0%。四种示波器各有 57,600 个有效样本,测试片段播放到 00:00:03:24。FCP 播放帧率、导出和 Motion 耗时未量化。[宿主验收](verification/HostRenderFluidity1.21.8.json)
|
||||
用户明确要求“公证卡住了就先 debug 模式本地测试”,因此固定位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app` 当前为 **Debug 配置 1.22.1(133),未公证**,已签名并由 FCP 从此路径运行,不能称为正式公证交付。调试 APP 带 `DYLocalDebugBuild=true` 标记;主 ID、团队、名称保持不变,生成的松散 Debug APP/服务已清理。用户可继续使用这个本地测试版本。
|
||||
|
||||
正式 PKG 已签名、公证和粘附票据,公证 `2aa1a8fa-d48f-45a5-8a56-9ac084d8c7b3` Accepted。20 项展开验包和 192 条载荷权限检查通过。包大小 44529845 字节,SHA-256 `8df87b7762f8a0d11b32e6947f5e4f3a358dce7e44505b20f8534b3a0e3e14b9`。[验包](verification/Package1.21.8.json)
|
||||
旧公证 1.22.0(131)的回滚副本:`/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app`。保留至正式 Release 安装验收完成;届时清理当前临时 Debug APP 和旧回滚副本,不保留额外安装。
|
||||
|
||||
公测标签 `v1.21.8-render-fluidity-20261109`。下一步核验草稿和发布后的完整下载,以及远端恢复。站点文章与主 APP 更新通道为 1.21.6(124)。
|
||||
### 原公证与正式发行
|
||||
|
||||
## 1.21.7(125)蜘蛛盘跟手优化
|
||||
APP 实际编译源码 `7f833757da243f2a4610c23c36ec278b44c80ad4`,从独立 HTTPS 干净检出构建,921 个跟踪文件逐字节核对。原提交 **`0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d`** 仍待最终结果;等待命令曾异常退出,之后已按同一编号查询,没有重传。132 为未安装、未发行的候选,诊断记录保留。
|
||||
|
||||
2026-11-09。仅分析 Color Finale 2.17.0(632)的 Color Warper。核对了本地网格编辑、位图复用、独立取样、当前节点读数更新和 GPU 查表路径。大鱼移植本地草稿与重活分离的方式,合并检查器/工作台拖动写入,松手补交最终位置并关闭撤销组。画布合并待处理网格,检查外部修改和目标时间。现有蜘蛛盘数学和预设数据结构继续使用。[取证与实现](research/ColorFinaleSpiderFluidity-20261109.md)
|
||||
Release APP 与原提交 ZIP 保留在 `/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/`。原 ZIP 摘要与恢复参数见 [恢复记录](verification/UnifiedLUTNotaryResume133.json)。`tools/deliver.py --resume-notary … --submitted-zip-sha256 … --compiled-source …` 会逐文件/符号链接核对已提交 APP,只查询原提交并在 Accepted 后粘附、安装,不重编或重签。恢复安装前需先正常退出当前 Debug 主 APP 与 FCP,保留用户内容;取得交付锁后继续,完成后清理 Debug 及已不再需要的 131 回滚。
|
||||
|
||||
正式 **1.21.7(125)** 已在唯一 FxPlug 路径签名、公证、安装并启动,编译提交 `5aae670f56201a17cffe6aff3624d1b8cfad2308`。APP 公证 `0b71188e-188c-4c78-9087-28fa62a87a51` Accepted。1,022 项正式安装自检通过,含按住暂停实时写入、最后一笔补交、冲突保护和撤销组。17 套模板与 Metal 库哈希和 124 一致。[安装](verification/Delivery1.21.7.json)
|
||||
**尚未完成:** 正式 APP 公证/票据、替换 Debug、Release 宿主验收、PKG 和 Git Release 下载核验。无后端部署。站点文章和更新通道仍为 1.21.8(126)。下一步先读取原公证最终状态,获 Accepted 后完成正式交付。源码及本地测试记录按 Git 保存;既有工程 Security 引用排序差异保留,未纳入本轮提交。
|
||||
|
||||
M4 隔离检查器注入 120 个连续拖动事件,6×6 和 24×24 的宿主写入均为 120 → 1,最终网格逐字节一致。连续事件测试刻意不让出运行循环,真实拖动期间会按节奏写中间值。FCP 12.4 的 1080p/25p 合成色卡中,实际在工作台拖动主点 22 到 (0.4626, 0.1817),宿主撤销一次后重开读回 (0.4000, 0.3268)。检查器远程视图的坐标拖动未获确认,隔离测试覆盖该控件;没有量化 FCP 的端到端延迟和目标插件的对照帧率。[基准](verification/SpiderFluidity1.21.7.json) · [宿主](verification/HostSpiderFluidity1.21.7.json)
|
||||
131 的既有正式发行见 [此前交接](research/OnlineLUTRelease131Handoff.md)、[发行](verification/Release1.22.0.json)、[恢复](verification/Recovery1.22.0.json)。
|
||||
|
||||
正式 PKG 已签名、公证、粘附票据,公证 `e9cab355-85bf-4a16-922b-a811aacb5b05` Accepted。20 项展开验包和 192 条载荷权限检查通过。包大小 44528083 字节,SHA-256 `e4d327d4a4fdbcb025e17dd6aa1e0e884c435392b70bcc2e7402d100c07a10ef`。[验包](verification/Package1.21.7.json)
|
||||
## 接手与恢复
|
||||
|
||||
公测 Release **421** 和附件 **67** 已发布,标签 `v1.21.7-spider-fluidity-20261109` 指向 `039e567aaa563a36da5bbef90d0ccd4afd690183`。草稿和发布后完整下载的字节数与 SHA-256 一致。独立远端恢复核对编译节点 859 个、发行标签 864 个跟踪文件和 Git 完整性。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.7-spider-fluidity-20261109) · [下载校验](verification/Release1.21.7.json) · [恢复](verification/Recovery1.21.7.json)
|
||||
|
||||
已清理临时验收库、生成 APP、旧版替换备份、公证 ZIP、基准执行副本、草稿下载与恢复检出。原工程文件的 Security 引用排序差异留在工作区。站点文章与主 APP 更新通道为 1.21.6(124)。
|
||||
|
||||
## 1.21.6(124)LUT 预览复用
|
||||
|
||||
2026-11-08。缩略图与右侧划像共用当前画质下的同一张 LUT 位图。点击已生成的缩略图后,等待宿主确认应用,划像左侧保留原图,右侧直接使用该缩略图。浏览器忽略参数更新期间的空快照,同一播放头位置沿用点选前的取样,避免某些色彩管理路径把新应用的 LUT 带入下一轮预览。移到新帧时后台生成新图,生成期间保留上一次完整画面。
|
||||
|
||||
正式 **1.21.6(124)** 已从唯一 FxPlug 路径启动,实际编译提交 `e0bd8342c0b2231028af64abd7b544b2be8f29d7`。APP 公证 `79da8471-e33a-4463-86e9-8c5c114b149b` Accepted,签名、票据、Gatekeeper、PluginKit、1018 项安装自检和 17 套模板通过。[安装](verification/Delivery1.21.6.json)
|
||||
|
||||
40 项隔离浏览器检查和异步载入回归通过。FCP 12.4 的 540×960/25p 合成项目中,同一帧连续点击三个已生成缩略图,均成功应用,前六张保持可用和原顺序,划像滑杆持续可用。空快照、同一时刻重渲染、下一帧更新和高清共享位图由隔离检查验证。已恢复测试前的浏览偏好并清理验收库。正式 PKG 已签名、公证和粘附票据,公证 `3ea27bc7-b29e-4fd9-8a3f-aabf25d7e200` Accepted。展开验包和 192 条载荷权限检查通过。包大小 44527921 字节,SHA-256 `c92082550720225d9ea7a0f8b0f7315f19a438d9c717ab637a476b6c678f0ad6`。[验包](verification/Package1.21.6.json)[宿主与隔离检查](verification/HostLUTPreviewReuse1.21.6.json)
|
||||
|
||||
公测 Release **420** 和附件 **66** 已发布,标签 `v1.21.6-lut-preview-reuse-20261108` 指向 `3de998257d9f9e989093d58604c44a4eb1fb3fad`。草稿与发布后完整下载的大小和 SHA-256 一致。独立远端恢复核对编译节点 849 个、标签 853 个文件及 Git 完整性。已清理验收库、APP 生成副本、公证 ZIP、旧版暂存、草稿下载与恢复检出。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.6-lut-preview-reuse-20261108) · [下载校验](verification/Release1.21.6.json) · [恢复](verification/Recovery1.21.6.json)
|
||||
|
||||
**在线更新与文章已于 2026-11-08 同步到 1.21.6(124)。** 主 APP 公测通道从 1.19.0(109)升到构建 124。线上接口对构建 109 和 123 返回更新可用,对 124 和 125 返回无更新。覆盖清单前已在 NAS 原目录备份旧 `beta.json` 并逐字节核对。文章 15792 的主下载使用同一份更新 PKG,同步了标题、摘要、版本说明和受影响的 SEO。50 元与鱼粉会员免费规则、特色图片、历史图和安装说明回读一致。正常及新请求的前台均通过核验。两次完整下载均为 44,527,921 字节,SHA-256 与公测 Release 相同,签名、票据和 Gatekeeper 均通过。[文章](https://dayu.media/15792/) · [在线更新记录](verification/BetaPublication1.21.6.json) · [文章核验](verification/Article1.21.6.json)
|
||||
|
||||
## 2026-11-08 点选 LUT 时的预览闪黑排查
|
||||
|
||||
用户在正式 1.21.5(123)观察到缩略图与右侧划像同时闪一下,缩略图短暂显示生成提示。选择写入宿主 LUT 参数后,参数变化回调清空渲染器的预览缓存并通知界面。浏览器收到空快照时将可见缩略图置空,右侧划像也移除原图和应用 LUT 的图层。缩略图此时绘制「生成预览…」,划像只绘制黑底。宿主送出下一帧、后台完成位图后,两个区域重新显示。[参数回调](大鱼调色/Plugin/DYPlugIn.mm#L41) · [缓存失效](大鱼调色/Plugin/DYRenderer.mm#L270) · [浏览器更新](大鱼调色/Plugin/DYLUTBrowser.mm#L571)
|
||||
|
||||
用正式编译节点的浏览器源码和隔离 AppKit 测试,按点击、确认应用、空快照、新帧的顺序核对。两处都先有图,收到空快照时进入占位,新帧到达后恢复。37 项检查通过,其中 4 项覆盖本次过渡状态。结论覆盖浏览器的刷新顺序。本轮为原因排查。若继续修复,从浏览器保留上一组有效缩略图和划像入手,验证新位图就绪后替换、首次打开占位、连续切换以及帧尺寸变化。
|
||||
|
||||
## 1.21.5(123)LUT 帧比例与浏览顺序
|
||||
|
||||
2026-11-08。浏览器的标准与高清预览按宿主帧和像素宽高比取样,最长边分别为 320 与 640。网格、列表与划像使用带尺寸的同帧数据,完整显示画面。自动调色继续使用原 320×180 分析样本。完整浏览器打开时读取最近使用顺序,成功应用时保存历史并更新选中项,重开时按最新历史排序。已加入帧比例、像素行顺序和浏览会话排序回归检查。
|
||||
|
||||
正式 **1.21.5(123)** 已从唯一 FxPlug 路径启动,实际编译提交 `8ca33a78fd224d13fffb1092c704adfce6cda12b`。APP 公证 `5b1bf442-0460-44c9-9d99-9bcd18788c32` Accepted,签名、票据、Gatekeeper、PluginKit 路径、1018 项原生自检和 17 套模板核对通过。122 的正式自检发现一级调色有三处旧取帧调用,已回滚并在 123 补齐。[安装](verification/Delivery1.21.5.json)
|
||||
|
||||
FCP 12.4 使用独立 540×960/25p 合成片验收。高清网格与右侧原图完整保留竖屏画面。点击原第二个 LUT,选中状态和划像更新,前六项顺序不动。重开后它排到首位。列表、搜索、最近使用分类与其他帧比例由自动检查覆盖。验收库已清理,浏览偏好已恢复。用于 FCP 验收的插件服务和 Metal 库与最终公证 APP 逐字节一致。[FCP 与浏览器检查](verification/HostLUTBrowser1.21.5.json)
|
||||
|
||||
正式 PKG 已签名、公证和粘附票据,公证 `98ab3da4-515d-4b07-9692-9e357b130880` Accepted。展开验包和 192 条载荷权限检查通过。包大小 44527441 字节,SHA-256 `01e63b554ee236ca3bf3b8f1d85eeaf3cf9c933a03c0e3cb4fb5256aafa6cf72`。[验包](verification/Package1.21.5.json)
|
||||
|
||||
公测 Release **419** 和附件 **65** 已发布,标签 `v1.21.5-lut-browser-20261108` 指向 `5ab5e78255127cda92686f28b557f751e60e2082`。草稿与发布后均完整下载并核对大小和 SHA-256。独立远端恢复核对编译节点 843 个、标签 847 个文件及 Git 完整性。已清理验收资源库、APP 构建副本、旧版暂存、公证 ZIP、草稿下载及恢复检出。工程文件既有 Security 引用排序留在工作区。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.5-lut-browser-20261108) · [下载核验](verification/Release1.21.5.json) · [恢复](verification/Recovery1.21.5.json)
|
||||
|
||||
后续若收到变形反馈,先记录项目尺寸、片段像素宽高比和使用的预览布局,从正式版本复现。Motion 和非方形像素素材未在宿主实测。站点文章和主 APP 更新通道各自沿用其发布记录。
|
||||
|
||||
## 1.21.4(121)曲线直方图 Rec.709 电平
|
||||
|
||||
用户在 FCP 的 Rec.709 项目对照同帧 S-Log3 灰片,发现曲线背景分布偏左。本机正式 1.21.3 在同一工程的 00:00:02:24 复现。曲线背景曾直接分箱线性 RGB,约 50% 的 Rec.709 视频电平在线性域约为 0.26,旧图约 66/255。改为对已识别的线性 Rec.709 输出解除透明度预乘、逐通道进行 BT.709 编码再分箱。检查器和画布共用这份结果。其他色彩空间沿用原统计,亮度叠层、320×180 采样及 0–255 坐标保留。[统计入口](大鱼调色/Plugin/DYScopeSample.mm#L10) · [FxPlug 色彩空间](https://developer.apple.com/documentation/professional-video-applications/managing-color-space-and-gamut-in-plug-ins)
|
||||
|
||||
正式 **1.21.4(121)** 已从 `/Library/Plug-Ins/FxPlug/大鱼调色.app` 启动,编译提交 `7f2917393c89cdc8935b494106e09b2851378ec5`。APP 公证 `f587be58-4008-42a3-8261-050988eae9b8` Accepted,票据、Gatekeeper、PluginKit 唯一路径、1014 项安装版自检和 17 套模板检查通过。Metal 库与 51 个模板资源的哈希和 1.21.3 一致。[安装](verification/Delivery1.21.4.json)
|
||||
|
||||
FCP 12.4 在原素材 00:00:02:24 同帧验收,检查器报告 57,600 个 Rec.709 视频电平样本。按两图的 0–100% 横轴折算,主峰约 40–53%,高光小峰约 71%,与 FCP 同一区间。数值为截图估读。原片与效果参数仅作只读核对。旧安装备份、生成的 APP 和公证 ZIP 已按正式流程清理。HDR 和 Motion 的同帧对照未执行。[FCP 验收](verification/HostCurveHistogram1.21.4.json)
|
||||
|
||||
正式 PKG 已签名、公证及粘附票据,公证 `17666d78-e94e-4886-9c5d-a46d11f1b4cb` Accepted。20 项展开验包与 192 条载荷权限检查通过。包大小 44527149 字节,SHA-256 `eb0d4fd257a30705d3c4614f0bfca6d29b492199384fea8f2e6ccb7c50a674dc`。[验包](verification/Package1.21.4.json)
|
||||
|
||||
公测 Release **418** 和附件 **64** 已发布,标签 `v1.21.4-curve-histogram-20261108` 指向 `8ca30fa3cc1dc03eb34c70b4307b60dde0d77133`。草稿和发布后完整下载的大小与 SHA-256 一致。独立远端检出核对编译节点 837 个、标签 841 个跟踪文件及 Git 完整性。草稿下载和恢复副本已清理。站点文章基线见下方 1.21.3 记录,主 APP 更新通道沿用已有核验记录。工程文件原有的 Security 引用排序留在工作区。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.4-curve-histogram-20261108) · [发行核验](verification/Release1.21.4.json) · [恢复](verification/Recovery1.21.4.json)
|
||||
|
||||
若继续核对其他色彩空间,先按工程色彩空间和同帧信号定位差异,再测 HDR 或 Motion。当前验收覆盖标准 Rec.709 的 FCP 检查器和画布统计回归。
|
||||
|
||||
## 1.21.3(120)共享缓冲追踪与 LUT 对比预览
|
||||
|
||||
正式版从唯一插件路径启动,编译提交 `43364549327470291abd82ca1d0eded2becd1579`,APP 公证 `6f1e34d4-7d24-4a73-9a8b-af41e132d4ba` Accepted。1012 项原生自检、17 套模板、票据、Gatekeeper 与 PluginKit 唯一路径通过。Metal 直写 IOSurface 上的 BGRA 缓冲后交给 Vision。四组奇数宽高、不同图像原点与翻转的像素回归逐字节一致。其他普通蒙版和图章追踪仍使用各自现有输入。[安装](verification/Delivery1.21.3.json)
|
||||
|
||||
FCP 12.4 在 M4 的同一 4K 素材上,从点击正向追踪到界面确认完整写入,三次热态中位数由 3.682 降至 3.217 秒,缩短 12.6%。候选四轮各 285 帧均走共享缓冲。两版导出的 285 个轨迹键和全部马赛克参数一致。4K ProRes 422 LT 成片解码后 285 帧逐帧一致。[宿主验收](verification/HostVisionLUT1.21.3.json)
|
||||
|
||||
风格 LUT 浏览器右侧显示同帧划像,左侧为加载当前 LUT 前的画面,右侧预览 100% LUT。可从图上移动分界线或用底部滑杆。高清缩略图从 640×360 源帧生成双倍像素位图。FCP 已核对选中 LUT、画质切换与重开记忆、滑杆两端及画面分区变化。坐标自动化未能验证直接拖动图片,本次划像验收使用滑杆。原项目与素材不参与修改。
|
||||
|
||||
正式 PKG 已签名、公证并粘附票据。公证 `ba16473c-fcf2-4700-a7aa-df768d603724` Accepted,20 项展开验包通过,44527074 字节,SHA-256 `99872aee9e3e0a25ed17f3fb173b20b8549dd9473c6fccd3954dd09836213ff9`。[验包](verification/Package1.21.3.json)
|
||||
|
||||
公测 Release **417** 已发布。附件 **63** 在草稿和发布后均完整下载并核对字节数与 SHA-256。标签 `v1.21.3-vision-lut-20261108` 对应 `a1595caf30ddc2e629543adc735d9df752f35cc6`。独立恢复核对编译节点 829 个文件、发行节点 833 个文件和 Git 完整性。已清理本轮生成的 APP、旧版替换备份、公证 ZIP、验收资源库和导出副本、恢复检出和草稿下载。工程文件原有的 Security 引用排序差异已保留。[发行](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.3-vision-lut-20261108) · [附件](verification/Release1.21.3.json) · [恢复](verification/Recovery1.21.3.json)
|
||||
|
||||
|
||||
**文章 15792 已于 2026-11-08 更新为 1.21.3(120)。** 原文章主下载、标题、摘要和相关 SEO 已切换到新版。正文将用户提供的 2614×1696 截图(媒体附件 15919)放在高清 LUT 预览说明中,可点击查看原图。正文保留既有安装说明、历史图片与封面。前台普通与新请求均核验,50 元和鱼粉会员免费规则回读一致。站内 PKG 完整下载 44,527,074 字节,SHA-256 与公测 Release 一致,签名、票据和 Gatekeeper 通过。主 App 更新通道沿用既有配置。[文章](https://dayu.media/15792/) · [发布内容](Packaging/article-1.21.3.json) · [线上核验](verification/Article1.21.3.json)
|
||||
|
||||
## 1.21.2(119)局部马赛克与蒙版分析性能
|
||||
|
||||
2026-11-08。已核对正式 1.21.1(117)与大鱼远端基线。马赛克渲染只在色键使用颜色编码,钢笔路径在局部包围范围外跳过轮廓计算,反相与色阶仍照常应用。无人脸命中时跳过全帧马赛克通道。指定目标追踪沿用原 Vision 彩色输入,仅在有可对照的起始画面时需要整帧灰度;普通蒙版与图章保留灰度输入。
|
||||
|
||||
M4 的 4K 双钢笔马赛克中位数从 42.75 降到 13.84 ms,4K 目标追踪取图从 6.00 降到 3.54 ms。192 张输出及 24 张彩色追踪输入逐字节一致。Vision 的目标追踪自动选择与指定神经网络引擎在 285 帧实片三轮对照中轨迹一致,热态约 0.8 ms/帧。普通蒙版透视配准的主阶段只报告支持 CPU。[基准](verification/MosaicTracking1.21.2.json)
|
||||
|
||||
正式 **1.21.2(119)** 编译提交 `6a979f16a828e17284c8f04647c79ac65811d3dc`,APP 公证 `7344dd1a-62ba-4e82-8dc1-36cb220c4942` Accepted。唯一正式路径、票据、Gatekeeper、1010 项原生检查及 17 套模板通过。119 与性能基准使用的 118 Metal 库 SHA-256 一致。FCP 12.4 独立实片副本正向写入 27 键、双向写入 284 键,在 00:00:11:04 实看随动遮挡。118 曾在宿主返回无效时间时卡在首帧前的分析启动,已回滚。119 在调用宿主分析前拒绝无效时间并提示重新定位。已完成有效画面实片复测和无效时间原生回归。[安装](verification/Delivery1.21.2.json) · [宿主](verification/HostMosaicTracking1.21.2.json)
|
||||
|
||||
正式 PKG 公证 `add05c02-616e-471f-a53a-8aa7c230ef52` Accepted,20 项展开验包、票据与 Gatekeeper 通过。包 44509704 字节,SHA-256 `01ee76d2302d0d1fc54b1ff5a3397c386467324db5f391d0b5dfd48c1e93b9df`。本机通过独立正式 APP 验收。[验包](verification/Package1.21.2.json)
|
||||
|
||||
公测 Release **416** 的附件 **62** 已发布,草稿与发布后完整下载的大小和 SHA-256 一致。标签 `v1.21.2-mosaic-tracking-20261108` 指向 `b6f73ebb666e4f72567f54515d0efd138220f7f6`,独立检出验证 822 个编译节点文件和 826 个发行节点文件。生成 APP、旧版替换备份、公证 ZIP、验收副本、恢复检出和下载副本已清理。1.21.2 交付时站点文章 15792 仍为 1.21.1,主 APP 更新通道沿用既有记录。工程文件原有 Security 引用排序差异留在工作区。[发行](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.21.2-mosaic-tracking-20261108) · [附件](verification/Release1.21.2.json) · [恢复](verification/Recovery1.21.2.json)
|
||||
|
||||
接手若继续降低普通蒙版和图章追踪延迟,先分开计量宿主供图、Metal 预处理、CPU 灰度裁切和 Vision 透视配准。目标路径可对比由 Metal 写入 Vision 可读的共享像素缓冲区,验证每帧输入、关键帧、遮挡恢复和取消。当前 4K 数字分别覆盖渲染与预处理,未计量 FCP 端到端耗时或导出。
|
||||
|
||||
## 1.21.1(117)首次示波器与人脸肤色保护
|
||||
|
||||
正式安装在 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,编译提交 `98d80970e83e30e4883a76d8f740f2fca5d05e7c`,APP 公证 `eeda9002-5e87-4a33-83d3-9163a14283ba` Accepted。票据、Gatekeeper、PluginKit 唯一路径及 1008 项正式安装原生检查通过。FCP 12.4 已从正式路径启动插件服务。17 套模板检查通过。[安装](verification/Delivery1.21.1.json)
|
||||
|
||||
控制面板取本效果实例的最终输出。普通位置按一帧区间匹配,确认在排他出点时允许重用片尾最后一次输出。FCP 实测 60p 素材放在 25p 项目,停在 00:00:11:09。首次打开与同帧重开均从缓存 11.36 秒取样,四种示波器各有 57,600 个有效样本,无需移动播放头或改参数。115 和 116 在该回调中均收到素材帧长,未通过片尾验收,未发布。[宿主核验](verification/HostScopes1.21.1.json)
|
||||
|
||||
Metal 将脸部多边形运算限制在实际轮廓的外接范围,无覆盖的像素跳过五官排除权重,按需读取设备端路径。M4 对照同一公开人像的 12 帧,1080p 中位从 308.08 降至 13.47 ms,4K 从 1176.07 降至 22.22 ms。六组末帧 SHA-256 一致。数据覆盖肤色保护渲染。正式自检覆盖多人、无脸、上下原点、显示选区及马赛克遮挡;跟踪与马赛克耗时另计。[性能](verification/FacePreview1.21.1.json)
|
||||
|
||||
114、115、116 替换备份及 APP 构建副本已清理。PKG 公证 `dbddc544-aa94-4279-8f92-37597c264313` Accepted。20 项验包及 192 条载荷权限检查通过。安装包 44509639 字节,SHA-256 `bdc63a1b1030ccad6960031cb9f2ec8297aa90f8d4acce2057eb5ba7750a289b`。本机通过正式 APP 验收。[验包](verification/Package1.21.1.json)
|
||||
|
||||
公测 Release **415** 的附件 **61** 已发布,草稿和发布后完整下载的大小及 SHA-256 均一致。发行标签 `v1.21.1-scope-face-20261108` 指向 `ad4e5e7a823bb451f45755d0ab331f08f6211239`。独立远端检出逐一核对编译节点 812 个和发行节点 817 个文件,Git 完整性通过。下载和恢复副本已清理。[发行](verification/Release1.21.1.json) · [恢复](verification/Recovery1.21.1.json)。既有项目文件的 Security 引用排序留在工作区。
|
||||
|
||||
**文章 15792 已于 2026-11-08 更新为 1.21.1(117)。** 同一篇文章已更换主 PKG、标题、摘要与 SEO,新增 FCP 12.4 片尾首次打开和同帧重开的示波器验收,以及 M4 下 1080p/4K 人脸肤色保护的前后对照。已重新展开正式包核对主 App 和 17 个效果入口。线上完整下载 44,509,639 字节,SHA-256 与正式 Release 一致,签名、票据和 Gatekeeper 通过。正常与新请求的前台标题、SEO、表格、原图及代码区块均核验。50 元、鱼粉会员免费、分类、封面、历史内容和 FCPX 同步配置保留。主 App 更新通道沿用原状态。[文章](https://dayu.media/15792/) · [发布内容](Packaging/article-1.21.1.json) · [线上核验](verification/Article1.21.1.json)
|
||||
|
||||
## 2026-11-08 跨会话渲染缓存可行性
|
||||
|
||||
用户反馈 FCP 退出重开后,磁盘仍有渲染文件但片段重新渲染。已查本机 FxPlug SDK、Apple 文档及大鱼调色入口。公开接口由宿主请求渲染,插件可在渲染时回读自有文件,没有将外部文件注册为 FCP 渲染文件的接口。项目的蒙版跟踪已通过 FxAnalysisAPI 在后台接收逐帧输入,可用同一入口验证预计算,分析回调的输入需与常规渲染输入实测对照。[跟踪](大鱼调色/Plugin/DYToolHostMethods.inc.h#L178) · [渲染](大鱼调色/Plugin/DYPlugIn.mm#L85) · [Apple 文档](https://developer.apple.com/documentation/professional-video-applications/analyzing-media)
|
||||
|
||||
先用一段 4K 人像比较冷启动后重算、回读人脸轮廓或局部蒙版及回读整帧的耗时。用实际输入内容和该阶段依赖校验命中,覆盖上游效果、代理切换及画质变化,缺失或不匹配时回退原有渲染。整帧额外核对色彩空间、像素格式、分辨率、完整调色状态和外部 LUT 内容。未复现宿主缓存失效,未实现或测试插件磁盘缓存。
|
||||
|
||||
## 1.21.0(114)流畅性优化
|
||||
|
||||
按首帧、连续渲染和检查器刷新优化。Metal 管线首次使用才创建,中性画面跳过通用调色与查找纹理,保留原来的半精度透明度规则;无蒙版 CST 将解除预乘并入原转换内核。最终画面取样合并进输出命令并复用小缓冲,仍保留暂停帧的示波器样本。检查器复用本轮的宿主读参和工具文档,只在切换色彩管理模式时移动输出控件。胶片颗粒未参与时省去宿主帧时序查询。
|
||||
|
||||
正式 1.21.0(114)已在唯一 FxPlug 路径安装,编译提交 `90e512aabe72fff30046b4bf18d6a35f91c0c113`。APP 公证 `505ed5a4-7b32-49a2-8eef-70c7757a98b4` Accepted,正式版 1050 项原生检查通过,包括 21 组独立 CST 参考。FCP 12.4 的独立验收副本从 00:00:00:00 播到 00:00:11:09,检查器和工作区混合滑杆均写入 0.50 后复位至 1.00,四种示波器回读 57,600 个有效 sRGB 样本。首次打开时请求时间与缓存帧不一致,下一次实际渲染后显示;同帧重开、宿主撤销、拖动延迟、掉帧、Motion 与完整导出未确认。[安装](verification/Delivery1.21.0.json) · [宿主](verification/HostFluidity1.21.0.json)
|
||||
|
||||
M4 两组交错顺序的渲染加隐藏取样基准,1080p 中性 HSL 从 2.10–2.33 降到 1.39–1.62 ms,4K 加基础曝光从 19.15–19.69 降到 14.91–15.03 ms。4K 默认整合版中位数跨运行从 17.47–23.04 到 15.13–19.29 ms,存在重叠。每组的六个末帧及对应示波器样本均与 113 逐字节一致。默认整合版计算管线从 16 套降到 3 套。全尺寸中间纹理按帧释放,小型示波器缓冲按设备复用。[基准](verification/Fluidity1.21.0.json)
|
||||
|
||||
PKG 公证 `29d5f921-6cd4-48a4-856a-2632f9a85e2b` Accepted。20 项验包、192 条载荷权限、签名及票据检查通过,44508770 字节,SHA-256 `ec1a57f23bf369d7a7841848d71d8ab78a7c229cbb5abe1c502e9964f87dbbcb`。本机通过独立正式 APP 验收,未执行包内安装脚本。[验包](verification/Package1.21.0.json)
|
||||
|
||||
公测 Release **414** 的安装包附件 **60** 已发布,草稿和发布后均完整下载并核对字节数及 SHA-256。发行标签 `v1.21.0-fluidity-20261108` 指向 `3a5ead0ce07eb2ed3009490af316b9edec186c62`。独立远端检出核对编译节点 805 个文件、发行节点 810 个文件及 Git 完整性。旧替换 APP、公证 ZIP、构建 APP、草稿下载与恢复副本已清理。站点文章和主 APP 更新通道未参与本轮交付。[发行](verification/Release1.21.0.json) · [恢复](verification/Recovery1.21.0.json)
|
||||
|
||||
入口为 `DYRenderer.mm`、`DYGrade.metal`、`DYScopeCapture.inc.h`、`DYPlugIn.mm` 与 `DYInspector.mm`。用户有新卡顿反馈时,先记录宿主、分辨率、发生阶段和启用的实际工具,再用正式安装路径复测。既有工程文件的 Security 引用排序差异留在工作区。
|
||||
|
||||
## 2026-11-08 默认参数渲染排查
|
||||
|
||||
核对正式安装 1.20.2(113)、编译提交 `046411ba8b2c2bf8549601b2e5a080fd9dccd31b`。整合版、HSL、一级调色和 CST 独立效果的已安装模板、APP 内置模板和源码逐字节一致。整合模板没有额外工具层、LUT 或变形网格,默认执行 Sony S-Log3 / S-Gamut3.Cine 到 Gamma 2.4 / Rec.709 的 CST,自动色调映射开启。独立 HSL 的工具文档移除了一级调色。
|
||||
|
||||
- **模块执行**:`bypassNeutralTools` 跳过默认曲线、HSL、颜色分级、三原色、色阶和色彩平衡。空 LUT、零混合黑白、中性蜘蛛盘、通道混合器、胶片和畸变也不会因眼睛开启而各自运行。`DYToolIsNeutral` 过滤默认的独立工具层。本次对照均未触发 Vision 人脸检测。[渲染入口](大鱼调色/Plugin/DYRenderer.mm#L66) · [工具调度](大鱼调色/Plugin/DYToolRender.inc.h#L59)
|
||||
- **首帧准备**:首次创建设备资源会初始化 16 套计算管线,包括尚未使用的畸变、图章和胶片。融合渲染仍获取白平衡、HSL、分级三张查找纹理,每个新渲染器的中性状态也会创建 33³ 纹理。已确认准备工作存在,未单独计量各项耗时。[设备准备](大鱼调色/Plugin/DYRenderer.mm#L188) · [查找纹理](大鱼调色/Plugin/DYColorTables.mm#L229)
|
||||
- **每帧剩余工作**:整帧无有效调色时仍分配中间纹理,解除预乘并运行融合着色器,没有整帧直通。输出回调在示波器关闭时也同步读取 320×180 画面以保留同帧缓存,供工作区或蜘蛛盘打开时立即取样。[融合渲染](大鱼调色/Plugin/DYRenderer.mm#L248) · [输出取样](大鱼调色/Plugin/DYScopeCapture.inc.h#L83)
|
||||
|
||||
Mac mini M4 无界面基准复用正式 113 的 Release 对象和安装资源,按安装模板的参数与归档构造状态,用逐帧变化的 RGBA16Float 合成渐变,每组跳过首 5 帧,取 12 帧中位数。渲染与隐藏示波器读回分别计时。
|
||||
|
||||
| 对照 | 1080p 渲染 | 4K 渲染 |
|
||||
| --- | ---: | ---: |
|
||||
| 整合模板默认 | 5.12 ms | 16.42 ms |
|
||||
| 整合模板保留一级调色,其余眼睛关闭 | 4.62 ms | 16.30 ms |
|
||||
| 整合模板只关闭一级调色 | 1.72 ms | 4.71 ms |
|
||||
| 独立 HSL 默认 | 1.70 ms | 4.66 ms |
|
||||
| 仅用现有 GPU 图像复制函数 | 0.73 ms | 2.09 ms |
|
||||
|
||||
保留一级调色的两组在末帧逐像素一致。只关一级、独立 HSL 和复制对照的末帧与输入一致。整合默认状态隐藏示波器另耗约 0.68 ms(1080p)和 0.65 ms(4K)。正式安装服务的 980 项基础自检通过,覆盖默认状态无 Vision、无多边形蒙版管线和关闭示波器时缓存最后一帧。以上是渲染器及读回耗时,未测宿主参数桥、解码、播放调度、掉帧或交互延迟,也未操作用户工程。
|
||||
|
||||
本轮仅记录排查,未修改运行代码、模板或安装。接手优化时先以中性独立 HSL 验证整帧直通,并单独计量首帧管线准备与隐藏示波器取样。复核 HDR、负值、透明度、坐标原点以及同帧示波器取样,保留默认 CST 的实际输出。既有工程文件的 Security 引用排序差异留在工作区。
|
||||
|
||||
## 1.20.2(113)蜘蛛盘示波器
|
||||
|
||||
用户实看 1.20.0 后指出轨迹盖过控制网、肤色线与控制面板方向不同。1.20.1 将两处统一到同一份最终输出的色彩转换、Cb/Cr 取样、比例和肤色线方向。蜘蛛盘显示坐标同步投影,底层保留 HSV 网格和预设,拖动与方向键反向映射回原坐标。参照用户配图改为暗中性中心、平滑色相外圈、受限的轨迹透明度、灰色节点与深色描边。1.20.2 按用户追加反馈把网格前景线的白色不透明度由 55% 提至 72%,保留深色底描边。
|
||||
|
||||
新 FCP 整合效果、独立模板和新插入的肤色工具默认关闭保护。FCP 模板显式写入关闭值,注册默认保留历史开启值,兼容省略该参数的旧片段。Motion 直接添加原生滤镜沿用注册默认。显式开启时保护程度默认 60,仅保护人脸默认开启。
|
||||
|
||||
1.20.0(111)与 1.20.1(112)均为本轮正式签名公证的验收候选。1.20.1 安装后通过 1002 项原生检查,在 FCP 实片同帧并排核实两个矢量示波器方向及肤色保护关闭。两版均为本机验收候选。[111 实看](verification/HostSpiderScope1.20.0.json) · [112 实看](verification/HostSpiderScope1.20.1.json) · [112 安装](verification/Delivery1.20.1.json)。最终 **1.20.2(113)已公证安装并在 FCP 12.4 同帧实看**。1002 项原生检查通过,17 套模板静态校验通过。实际编译提交 `046411ba8b2c2bf8549601b2e5a080fd9dccd31b`,APP 公证 `e8c27c08-a78e-4be2-9adf-235e7bfad1f6` Accepted,固定插件路径 `/Library/Plug-Ins/FxPlug/大鱼调色.app`。同一帧确认网格提亮后仍能看清色度轨迹,两处肤色线均朝左上,检查器肤色保护为关闭。[实片核验](verification/HostSpiderScope1.20.2.json) · [安装](verification/Delivery1.20.2.json)。
|
||||
|
||||
正式 PKG 公证 `1a6834df-840f-47da-9ee8-be6a0a808fee` Accepted,20 项展开验包、票据、Gatekeeper 与 192 条载荷权限通过。包大小 44505420 字节,SHA-256 `8edd792c6a9be629263baee68c4c3e7b67221ffd1e995bd8c9ab1f753eefd2b4`。已独立安装正式 APP,本机验收未再次运行 PKG 安装脚本。[验包](verification/Package1.20.2.json)。Git Release **413** 的 PKG 附件 **59** 已发布,草稿浏览器及发布后均完整下载并核对大小和 SHA-256。标签 `v1.20.2-spider-scope-20261108` 指向 `bc9021271d5e4992a6a63011e4ff197812029ab3`。已独立从远端检出编译节点和发行标签,分别核对 798 与 802 个跟踪文件和 Git 完整性。[Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.20.2-spider-scope-20261108) · [发行核验](verification/Release1.20.2.json) · [恢复](verification/Recovery1.20.2.json)。
|
||||
|
||||
本轮两个未发布候选包、草稿下载副本、旧替换 APP、公证 ZIP 和恢复克隆已清理,保留正式包与用户原有历史发行包。[清理](verification/Cleanup1.20.2.json)。入口为 `大鱼调色/Plugin/DYSpiderScopeDrawing.h`、`DYScopeCapture.inc.h`、`DYViewerGraphics.inc.h` 和 `DYModel.mm`。既有工程文件的 Security 引用排序差异留在工作区。
|
||||
|
||||
## 1.19.1 交付基线(历史)
|
||||
|
||||
**1.19.1(110)已正式公证安装,完成本轮默认预览宿主验证,PKG 与 Git Release 已交付。** 实际编译提交 `3642a1dba6cbbc4423bd6928944e0e95d76d9cfa`,APP 公证 `c965f687-ab0b-442b-99e1-4b5013065f50` Accepted。固定路径仍为 `/Library/Plug-Ins/FxPlug/大鱼调色.app`;994 项正式安装原生检查、票据、Gatekeeper、唯一 PluginKit 路径通过。
|
||||
|
||||
修复“添加整合效果、未调参数,预览极卡”:空 LUT 默认强度与零混合黑白眼睛错误触发 Vision,随后无效的 `skinFaceOnly` 令整帧执行人脸多边形蒙版。现在按实际有效渲染参数决定检测和人脸蒙版;默认开关、预设、模板和调色算法不变。公开人像基准在 Apple M4 上,1080p 324.37 → 5.23 ms,4K 1248.90 → 16.99 ms;每组 14 次默认渲染不再调用人脸分析。该数字是渲染器耗时,不是宿主显示 FPS。[原因与范围](research/IdlePreview1.19.1.md) · [性能](verification/IdlePreview1.19.1.json)。
|
||||
|
||||
FCP 12.4 使用独立副本 `1.19.1 默认预览性能验收`,先复测恢复默认的旧效果,再移除并新加整合效果,两次播放到 00:00:11:09;真实渲染四秒采样均不含 `prepareFaceSupport`。基础曝光字段测试后恢复 0,默认三组展开恢复。未量化掉帧数、未确认宿主撤销、未重复导出或实片跟踪,不记这些项目为通过。[宿主记录](verification/HostIdlePreview1.19.1.json) · [安装](verification/Delivery1.19.1.json)。
|
||||
|
||||
发行标签 `v1.19.1-idle-preview-20261106` 指向 `6add6f29e357d37e94a8430d6963ec7f91993537`。PKG 公证 `5bf23d87-857d-48d9-856c-f6f05e97867b` Accepted,20 项展开验包和 192 条载荷权限检查通过;本机 APP 独立安装验收,未重复执行 PKG 系统安装脚本。包 44,488,264 字节,SHA-256 `7513be46cc86eb5df26401c9cb4368c8290d276cdcc478e5f16f727a1be4d647`。Release **404**/PKG **51**/符号 **52** 已发布,沿用公测标记和原仓库可见性;草稿附件经已登录浏览器下载,发布后再次完整下载,大小与 SHA-256 均一致。独立远端检出核对编译节点 778 个文件、标签 786 个文件,Git 完整性通过。
|
||||
|
||||
[Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.19.1-idle-preview-20261106) · [发行核验](verification/Release1.19.1.json) · [安装包](verification/Package1.19.1.json) · [符号](verification/Symbols1.19.1.json) · [恢复](verification/Recovery1.19.1.json)。本轮构建 APP、公证 ZIP、旧替换 APP、打包暂存、基准可执行文件、下载副本和恢复 clone 已清理;正式包、匹配符号、历史发行包、原素材及 QA 库保留。原始宿主采样仅留本机诊断缓存。[清理记录](verification/Cleanup1.19.1.json)。
|
||||
|
||||
**2026-11-06 文章更新补记:**按用户要求,已将[文章 15792](https://dayu.media/15792/)的主下载、标题、摘要、相关 SEO 和安装说明更新到 **1.19.1(110)**,补充默认预览卡顿修复,明确同一 PKG 已含整合效果与全部 16 个独立模块。再次展开正式包,核对 17 个可安装效果与 34 张预览图,共 51 个文件逐字节匹配项目及 APP 内资源;安装脚本目标为当前登录用户的 `Movies/Motion Templates.localized/Effects.localized/大鱼调色`。包内完整 APP 为 110,签名与票据通过,复用已发布正式包,未重新打包或执行系统安装。
|
||||
|
||||
文章保存回读、正常地址与新请求的前台标题/SEO/代码区块/全部模块名称/原图片均通过。网站主下载完整取得 44,488,264 字节,SHA-256 与上述 Release 包一致,签名、票据和 Gatekeeper 通过。价格 50 元、会员免费、封面、分类和原 FCPX 同步开关保留;付费资源直链未写入公开正文。发布正文保存在 [文章更新内容](Packaging/article-1.19.1.json),证据见 [文章核验](verification/Article1.19.1.json) 和 [包内模块清单](verification/PackageModules1.19.1.json)。本轮下载和展开副本已清理,原始回读仅留本机缓存。
|
||||
|
||||
**2026-11-06 独立模块配图补记:**用户提供的效果浏览器截图已原样加入同一文章,在 1.19.1 更新说明之后新增“新增独立模块示意”,附图注与替代文本。媒体附件 **15879**,原图 1364×748、384,718 字节,上传后下载 SHA-256 与原图一致;前台仅有一处新图,浏览器实看图像和图注正常。标题、SEO、封面、主下载、价格会员规则及原正文图片保持原样,本轮未重打 PKG。原图保存在 [独立模块示意图](Publishing/1.19.1/independent-modules.png),[文章内容](Packaging/article-1.19.1.json)已同步,证据见 [配图核验](verification/ArticleModuleImage1.19.1.json)。
|
||||
|
||||
接手重点:本次消除默认/无效状态的额外开销;真正启用调色时的人脸肤色保护仍用原逐帧检测和轮廓算法,其性能未优化。文章已为 1.19.1(110),含本次新增独立模块示意图;主 APP 更新通道仍为上次核对的 1.19.0(109),此次仅更新文章,未部署 NAS 后端或更新通道。既有 project.pbxproj 三处 Security 排序差异保留未提交。接手先核对本机 110、以上发行记录及用户真实工程播放反馈,勿用旧版发布记录替代。
|
||||
|
||||
## 1.19.0 交付基线(历史)
|
||||
|
||||
**1.19.0(109)已正式公证安装、通过宿主验收,PKG/Release/文章及更新通道已交付。** 实际编译提交 `867bcfbad3f566ced2170925e8eadd9414cc3b75`,APP 公证 `b83655db-23a9-4312-91e4-bfd697143e44` Accepted。全部正式跟踪改为 Apple Vision,APP 无 OpenCV 符号与资源。马赛克用对象外观跟踪;普通蒙版/钢笔及图章双区用局部图像配准。短时丢失最多预测 0.8 秒,确认回归后补齐,未确认尾部删除;旧工程需重新跟踪。979 项正式原生检查通过。FCP 验收副本 `1.19.0 Vision 全跟踪验收` 完成 285 帧,起点、6 秒与 11.36 秒实际马赛克覆盖头部,两种跟踪回调日志 main=0;面板关闭重开、参数修改/复位、普通蒙版反向单帧与撤销通过。未量化 UI 延迟,未重复完整实片图章或导出。[宿主证据](verification/HostVisionTracking1.19.0.json) · [算法比较](research/TrackingRecoveryCandidates.md)。
|
||||
|
||||
发行标签 `v1.19.0-vision-tracking-20261106` 指向 `a0178f994d71c19e95c70e23f9b056947b063b1c`。PKG 公证 `99abefcb-c1cb-4aff-8b85-8109eab00df9` Accepted,20 项验包与 192 条载荷权限通过,本轮 APP 独立安装,未重复运行系统 PKG 安装脚本。Release **403**/PKG **49**/符号 **50** 已发布,草稿和正式下载分别核对完整大小与哈希。包 44,486,766 字节,SHA-256 `0287d9e153463059730e99aade32a8b24cac19312e00d2450aa3c0819ae44745`;符号 3,472,206 字节,SHA-256 `401cb46a38838a5605b7a1cb6eb3cd5ee03a649a80c7cf6655741a57ec0deb31`。独立远端恢复核对编译节点 766 个文件、发行标签 771 个文件。文章 15792 与 beta 通道均为 1.19.0/109,站点两路完整包下载和票据通过,旧版提示更新/109 不提示更新;价格、会员、封面与既有图片保留。NAS `beta.json` 同目录旁路备份为 `beta-202611062006.jsonbak`,未修改后端 PHP。
|
||||
|
||||
[Release](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.19.0-vision-tracking-20261106) · [文章](https://dayu.media/15792/) · [发行记录](verification/Release1.19.0.json) · [站点记录](verification/Article1.19.0.json) · [更新通道](verification/BetaPublication1.19.0.json) · [清理记录](verification/Cleanup1.19.0.json)。本轮清理旧替换 APP、对照环境、用户素材派生帧、模型、候选符号、下载及恢复副本;保留原素材、QA 库、历史发行包。原工作区的 project.pbxproj 三处 Security 排序差异继续保留,未混入提交。
|
||||
|
||||
接手第一步核对正式 109 与以上报告;用户已有工程重新执行追踪后播放复核,优先收集真实复杂遮挡和多人交叉片段。不要把单段 285 帧通过推断为所有素材不偏移,也不要把原生图章回归当作本轮完整实片图章验收。
|
||||
|
||||
|
||||
107 为过渡候选未发布;108 全 Vision 候选公证后,FCP 菜单/浮动面板重开时插件 XPC 服务闪退,FCP 宿主仍运行。定位到 `DYColorWorkspace` 的 `_remoteParent` 借用指针在延后布局时已释放,109 改为持有至关闭,新增两项生命周期回归,正式面板重开未复现。[崩溃证据](verification/WorkspaceCrash108.json)。这不是对所有历史闪退原因的结论。
|
||||
|
||||
前一版本记录:**1.18.1(106)曾正式安装、发布 Git Release,并更新文章 15792 与主 APP 公测通道,现由 109 接替。** 实际编译提交 `1cc7f8edb2acb3cfc62bd72447c2956ad7a01601`;发行标签 `v1.18.1-tracking-ui-20261106` 指向 `5fe4b1933e015a906fab36b65dcbc45a0d6bee49`。APP 公证 `2c4e6cba-8178-4a50-9198-83e66be37add` Accepted。安装后 964 项原生检查通过,FCP 独立副本完成两轮 285 帧跟踪及模块/参数交互。
|
||||
|
||||
- 跟踪保留 OpenCV LK,Metal 灰度回读减少 75%,目标区域特征检测与金字塔复用减少 CPU 工作。同一 4K 片段算法计算 8.78 秒降至 1.31 秒(约 6.72 倍),轨迹逐帧一致;不含宿主供图、解码、预览与渲染,不等于全流程速度。
|
||||
- 界面减少完整参数重建、重复宿主读取及图层列表重建。未测 UI 延迟分位数,不宣称所有界面卡顿已根治。
|
||||
- 人脸转身仍有偏移,原版在同一离线输入上也存在;当前优化未改进精度。旧 Metal LK 实验在第 133 帧丢轨,已拒收,没有启用到正式路径。
|
||||
- 证据:[性能](verification/TrackingPerformance1.18.1.json) · [宿主验收范围](verification/HostTrackingUI1.18.1.json) · [实现与限制](research/TrackingMetal1.18.1.md)。继续处理时优先关注交互流畅与转身/遮挡精度,避免把渲染平均耗时当作 UI 延迟。
|
||||
- PKG 公证 `5b0f2573-e603-49a5-91b6-fa0582c8c782` Accepted,20 项展开及 198 条载荷权限检查通过,包内 APP 对应上述编译提交。本机未重复执行系统安装器脚本。正式 PKG 46,654,687 字节,SHA-256 `e149555c46cc6196eb12601196d70121d79b796be852f9a2e89688b20483a6b2`。
|
||||
- Release **402** 的 PKG 附件 **47** 与匹配 dSYM 附件 **48** 已发布,草稿及发布后均完整下载核对;[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.18.1-tracking-ui-20261106) · [发布记录](verification/Release1.18.1.json) · [符号](verification/Symbols1.18.1.json)。独立远端检出编译节点 739 个、标签 742 个文件,逐字节与 Git 完整性通过。[恢复](verification/Recovery1.18.1.json)
|
||||
- [文章 15792](https://dayu.media/15792/) 已绑定 1.18.1 主包并更新正文/SEO;价格、会员规则、封面、分类与原图保持。公开页和下载验票/哈希通过。beta 通道备份 `beta-202611061819.jsonbak`,105 提示更新、106 不重复提示,下载校验通过。[文章](verification/Article1.18.1.json) · [通道](verification/BetaPublication1.18.1.json)
|
||||
- 正式路径仍为 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,主 APP 常驻与自动诊断保留。原项目未改;FCP 当前打开独立副本 `1.18.1 追踪与界面验收`。前序 project.pbxproj 的三处 Security 引用排序继续留在工作区,未混入提交。
|
||||
- 本轮约 2.86 GB 临时灰度帧、基准可执行文件、下载副本和上传暂存已清理;生成 APP/公证 ZIP/旧版替换备份由正式交付流程清理,PluginKit 只有一个正式路径。保留正式发行包、符号和用户历史归档;不作全盘唯一副本承诺。[清理](verification/Cleanup1.18.1.json)
|
||||
|
||||
## 1.18.0 交付基线(历史)
|
||||
|
||||
**1.18.0(105)已正式安装、发布 Git Release,并上线主 APP 公测更新通道。** 本轮完成云端报告调查、取消主 APP 自动退出、增强可关闭的后台诊断。已验证真实卡顿调用栈到达云端;已有用户卡顿的具体算法根因仍待继续分析,不能宣称已根治。
|
||||
|
||||
| 项目 | 已核对状态 |
|
||||
| --- | --- |
|
||||
| 工程与源码 | `/Volumes/备份/大鱼调色/大鱼调色`,`main`,远程 `https://dayu.media/git/dayu/dayu-color.git`。实际编译 **`d0187695581fa3a8fe5c3cfa8a1bc6337425f5f6`**;发行标签 `v1.18.0-diagnostics-20261106` 指向 **`a03a056bff17daadce77128f767a08e98dc830dd`**。原有 project.pbxproj 三处 Security 引用排序保留未提交。 |
|
||||
| 正式安装 | **1.18.0(105)**,`/Library/Plug-Ins/FxPlug/大鱼调色.app`。APP 公证 `5a98cab1-23af-4034-abc9-0c9e7b1dc77d` Accepted,票据、Gatekeeper、唯一 PluginKit 路径通过;961 项原生回归、75 项离线诊断检查、FCP 12.4 加载及播放验收完成。[交付](verification/Delivery.json) · [实际范围](verification/Diagnostics1.18.0.json) |
|
||||
| Git Release | Release **401**,PKG 附件 **45**(46,620,783 字节,SHA-256 `4a52742a393ecaaa30f758d72c9e0ba68c606ed8e805316d48b9868068378a3f`),匹配 dSYM 附件 **46**。两附件均在草稿及发布后完整下载核验;保留公测标记及原仓库可见性。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.18.0-diagnostics-20261106) · [发布记录](verification/Release1.18.0.json) · [符号](verification/Symbols1.18.0.json) |
|
||||
| 云端诊断后端 | 仅更新 `wp-content/mu-plugins/dayu-color-beta.php`;生产旁路备份 `dayu-color-beta-202611061649.phpbak`,增加限定字段并分开展示上传版本/故障版本。27 项合同检查及线上 ACK/重试/隔离核验通过。[部署](verification/BetaBackendDeployment.json) · [线上检查](verification/BetaBackendLive.json) |
|
||||
| 更新通道与文章 | 主 APP beta 通道已从 1.12.0(79)更新到 **1.18.0(105)**,清单旁路备份 `beta-202611061726.jsonbak`;线上 PKG 完整下载大小与 SHA-256 一致,95 收到更新、105 不重复提示。文章 15792 已更新 **1.18.0(105)** 主下载、标题、SEO、自动诊断说明和 16 个独立效果查找位置;价格、会员规则与封面保留,全文及正式下载验票/哈希通过。[文章验证](verification/Article1.18.0.json)。[更新验证](verification/BetaPublication1.18.0.json) |
|
||||
| 包与清理 | PKG 公证 `8c4fa3f6-4866-429a-8750-8567f7db4766` Accepted;票据、Gatekeeper、20 项展开、198 条载荷权限检查及常驻主 APP 正常退出规则通过。本机从正式 APP 独立验收,未再次运行 PKG 系统安装脚本。当前正式包与符号 ZIP 位于项目上级“发行包”;本轮临时 APP/旧替换备份/采样原文/下载副本/恢复 clone 已清理。[验包](verification/Package.json) · [清理](verification/Cleanup1.18.0.json) |
|
||||
|
||||
## 1.18.0:报告结论、后台采集与待跟进
|
||||
|
||||
- **历史闪退**:云端 43 条崩溃摘要中 7 条属于本机开发测试;外部 36 条中 34 条是 1.10.0 通知回调对象生命周期故障,1.11.0 起的既有提交 `1c3e294ce991b0205969486c330dba57714aeacc` 已修复。上传版本 1.14.x 不等于崩溃实际版本。两条 1.7.4 dyld 旧摘要不足以判定原因。完整脱敏分析见 [调查记录](research/CloudDiagnostics1.18.0.md)。
|
||||
- **常驻与采集**:取消注册后的倒计时退出;关窗后台运行,菜单栏可重新打开、发送摘要或主动退出。每分钟扫描本产品 APP/XPC 的系统崩溃报告,记录实际版本、终止类别、UUID/偏移,排除 ASAN/原生自检;卡顿探针使用公共运行循环,限频对自身进程采样。渲染、状态构建、检视器、跟踪按分钟汇总,避免每帧上传。只提取允许的摘要,不传素材、LUT、预设、账号或原始系统报告,沿用诊断开关与 30 天保留。
|
||||
- **正式实测**:候选 104 的采样首次超时,未分发;105 移除采样前的符号预读并给后台解析 30 秒上限。受控 12 秒主 APP 卡顿已在云端捕获 `runDiagnosticsProbe → sleepForTimeInterval → nanosleep`,标记 verification。关闭诊断超过一分钟,待发清零且无新增上报;恢复原开启状态后主 APP 与 XPC 恢复发送。关窗后同一普通进程持续跨两轮分钟统计,不含测试启动参数;这是短时实测,不是长期压力测试。
|
||||
- **已经得到的新性能线索**:当前 3840×2160 素材的 28 次渲染平均 **601.4 ms**、最大 **1716.8 ms**;同期 41 次状态构建平均 **4.31 ms**、最大 **8.68 ms**。主要耗时落在渲染阶段,尚未细分到 GPU 等待、读回、具体算法或资源竞争,也不能直接换算为播放 FPS。本轮只建立诊断证据,没有顺带重写渲染器。
|
||||
- **刚才疑似本机闪退**:17:03/17:06 与本轮 Cmd-Q 退出时间一致,系统 `(0,0,0)`,无新增 FCP 崩溃报告;用户已确认可能为本轮正常退出。另有今天 10:30 的历史 FCP ProOSC 绘制中止、主线程重建检视器,报告不含大鱼栈,不能归因到本插件或此次诊断。[退出核对](verification/LocalHostExit1.18.0.json)。本产品自动上传范围不包含其他 APP 的完整崩溃报告;若 FCP 自身再次崩溃,仍需对应宿主 IPS 与插件时间线关联。
|
||||
- **恢复**:实际编译节点 724 个文件、发行标签 728 个文件独立远端检出并逐字节核对,Git 完整性通过;无 LFS/子模块,未重复第三方冷构建。符号 ZIP 与主 APP/XPC 二进制 UUID 精确匹配,已随 Release 保存。[恢复记录](verification/Recovery1.18.0.json) · [恢复步骤](RECOVERY.md)。
|
||||
|
||||
用户最新优先级(2026-11-06):先完成文章自动收集版更新(已完成),随后优先保证界面操作流畅;普通渲染速度可暂缓。新增要求:尝试用 Metal 加速马赛克跟踪。接手先核对 1.18.0(105)和新云端事件,区分 UI 主线程、逐帧供图、追踪算法、预览更新的耗时。处理用户崩溃时按 source_version/source_build 和 UUID 匹配符号,不用上传版本推断故障版本。以下为前序交付记录。
|
||||
|
||||
## 1.17.1 交付时基线(历史)
|
||||
|
||||
**1.17.1(103)已正式安装并完成 Git Release 交付。** 本轮按用户要求恢复检视器折叠与内部滚动,默认只展开一级调色、基础调整、蜘蛛盘;修复手绘蒙版跨宿主时间起点写回,马赛克改用轻量人脸框检测,并接入多个人脸/蒙版选择。用户要求代码接入后自行实测,真实运动多人、遮挡和流畅度尚未验收。
|
||||
|
||||
| 项目 | 已核对状态 |
|
||||
| --- | --- |
|
||||
| 工程与源码 | `/Volumes/备份/大鱼调色/大鱼调色`,`Wrapper Application` / Release;远程 `https://dayu.media/git/dayu/dayu-color.git`,`main`。实际编译提交 **`3b4c612edf99c0ef2b972b7305cd7ba44244a7c6`**。 |
|
||||
| 本机正式安装 | **1.17.1(103)**,`/Library/Plug-Ins/FxPlug/大鱼调色.app`。Developer ID 签名、APP 公证 `36ecb7e6-5cfc-4b85-8363-11272d880b18` Accepted、票据、Gatekeeper、唯一 PluginKit 路径、961 项原生自检及 FCP 12.4 加载/折叠滚动/菜单验证通过。[交付](verification/Delivery.json) · [宿主范围](verification/HostInspectorMosaic1.17.1.json) |
|
||||
| Git Release | `大鱼调色-1.17.1.pkg`,46,600,407 字节,SHA-256 `5c1240d9f262c977495016cd9c19bd55cc0e374fcf9f99128e8cb2231309d710`。标签 `v1.17.1-inspector-mosaic-20261106` 指向 **`7c0bfa5352f282bcec0aedf43be29af4432f2ba8`**。Release **400**/附件 **44** 已发布,保留公测标记与仓库可见性;草稿及发布后完整下载大小与哈希一致。[发行页](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.17.1-inspector-mosaic-20261106) · [发布记录](verification/Release.json) · [验包](verification/Package.json) |
|
||||
| 站点及自动更新 | 本轮未操作。原文章 15792 主下载上次核对为 **1.14.4(95)**;主 APP 公测更新通道上次回读为 **1.12.0(79)**。[原文章](https://dayu.media/15792/) · [文章核验](verification/Article1.14.4.json) · [更新通道核验](verification/BetaPublication1.12.0.json) |
|
||||
| 环境与验收库 | Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+、FCP 12.4。固定缓存 `/Users/mac/Library/Caches/CodexBuilds/com.dayu.color`。QA 库 `fcp-qa/level-1.15.0/未命名.fcpbundle`,事件“大鱼调色1.17.0全链路与马赛克验收”。接手重新检查产品交付锁。 |
|
||||
|
||||
## 1.17.1:恢复折叠、手绘保存和指定人脸
|
||||
|
||||
- 检视器按窄宽测量默认三组与其余折叠标题,内部最大高度 3501 pt;默认无内部滚动,展开/追加超出容量才滚动。已保存的折叠状态继续读取,独立效果默认展开唯一根模块。FCP 外层仍保留首次分配的高度,内部视窗可缩短,较宽检视器末尾有预留空白;没有恢复失败的参数删除/重建方案。
|
||||
- 手绘草稿用 OSC 时钟保存几何,宿主 Action 时钟负责读取非动画文档与检查换帧。重绘时间不同不再丢掉草稿;真实输入换帧、Esc 和外部改动冲突仍取消。原生检查覆盖松手保存及安全回读;用户反馈的实鼠复位仍须在其问题素材复测。
|
||||
- 全部人脸模式改用长边 640 的 Vision 人脸框检测,独立同画面缓存,减少特征点开销。肤色保护原算法保留;本次没有同场景前后播放帧率基准,不能保证所有素材流畅。
|
||||
- 指定目标入口:开启“全部人脸 · 快速逐帧识别”→ 暂停目标画面 → 再开“局部马赛克”→“将本帧 N 张人脸转为可选跟踪蒙版”→ 勾选需要遮挡的人脸。在控制面板蒙版页逐个运行正向、反向或双向跟踪。每个框有稳定 UUID;生成后未跟踪前是静态,不是全片身份识别。矩形、椭圆和钢笔也能多选用于马赛克。
|
||||
- 961 项正式原生检查通过;双人测试使用 NASA 公有人像并排合成,取消一人后其像素变化为 0。16 个独立模板与整合模板静态检查通过。FCP 实窗看到初始三组、折叠标题、展开胶片和曲线产生内部滚动、收起后滚动条消失;本帧单人转换入口可用。[专项记录](research/InspectorMosaic1.17.1.md) · [回归](verification/InspectorMosaic1.17.1.json)
|
||||
- 编译节点 714 个文件、发行标签 718 个文件独立远端检出并逐一校验,差异仅为记录与模板模型来源哈希;无 LFS/子模块,未重复第三方冷构建。原有 project.pbxproj 三处 Security 引用排序保持未提交。[恢复](verification/Recovery1.17.1.json)
|
||||
- PKG 公证 `8e122236-9ca6-4d92-ad6a-b9c2411280e7` Accepted,票据、Gatekeeper、20 项展开检查和 198 条载荷权限检查通过;正式 APP 独立安装验收,本机未重复执行 PKG 系统脚本。本轮构建 APP、公证 ZIP、旧替换备份、包暂存、恢复 clone 和草稿下载副本已清理,保留正式包与用户历史包,交付锁已释放。[清理](verification/Cleanup1.17.1.json)
|
||||
|
||||
接手第一步核对 1.17.1(103),按用户实拍反馈复测手绘松手、目标脸选择、轨迹及播放耗时;不要把原生回调测试或静态人像验证当作真实多人运动验收。下方为历史记录。
|
||||
|
||||
## 1.17.0:独立缩略图、全展开检查器、输出层与马赛克
|
||||
|
||||
- **缩略图**:`tools/build_module_previews.swift` 生成 16 套有功能名称和对应图形的缩略图,640×360 / 240×135。`tools/template_payload.py` 使用独立资源路径;MOEF 与旧版逐字节一致,整合版保留品牌图。FCP 效果浏览器实见风格 LUT、肤色、黑白、基础调整的不同图形;全部图片由 [缩略图报告](template/verification/ModulePreviews.json)、安装哈希和模板静态检查覆盖。
|
||||
- **全部展开并测高**:`DYInspector.mm` 在返回视图前同步布局,按 280 pt 窄宽和各页签最大内容测量,预留颜色设置及输出卡片需要的高度。整合版显示全部未删除模块,独立效果仍仅显示其根模块;仅改变呈现,不修改参数、启用状态或旧折叠存档。模块标题用于选择,双击仍可还原,不再折叠。FCP 外层检查器可滚动,插件内部没有纵向 ScrollView。实测冷启动顶部与底部完整、追加一层镜头畸变后输出设置仍可达、独立 HSL 完整展示;未复现 101 的整片空白。
|
||||
- **高度边界**:FCP 12.4 仍会缓存初始高度,本版采用用户选定的初次全量测高,并未修复宿主动态高度接口。较宽检查器底部可能留有页签/模式的预留空间。已实测追加一层,不能承诺任意数量新层都可无限增长;大量追加超出初始容量时,重新选择片段重新测量。其余行为和覆盖范围见 [宿主报告](verification/HostUnified1.17.0.json)。
|
||||
- **V4 全链路**:在颜色设置显式选择“全链路 · 输出转换层”,输出默认末层并可上下移动。保留 nil/V2/V3,避免静默改变旧工程;原模板 custom dataValue 也保留兼容值。`DYUnifiedRender.inc.h` 按真实节点顺序执行,统一输入/输出和当前节点工作域,一级旁路不关闭全局转换,蒙版在 AP1 线性域混合,保留负值与超白残差,曝光按场景线性处理。创意 LUT、胶片和旧有界工具仍使用明确局部参考域/增量延拓,不宣称全部旧算法都已改写成场景线性。FCP 实测输出末层、上移至镜头之前和一次撤销恢复。
|
||||
- **局部马赛克**:OSC 网格按钮与检查器同名按钮使用同一菜单和写入桥,可选逐帧人脸、任意已绘制共享蒙版及方块大小;复用现有识别和蒙版轨迹。人脸区域包含眼睛、鼻子、嘴。FCP NASA 公有人像实测人脸覆盖和矩形来源切换,冷启动保存状态正确。运动轨迹插值、无蒙版旁路、区域外像素和空间工具共存由原生检查覆盖。本轮未完成运动视频实窗跟踪,也未取得自动 OSC 鼠标点击回调,不能说这些已有人手验收。空间马赛克需保存完整预设,不能完整导出 Cube。
|
||||
- **正式交付与恢复**:APP 公证 `6143097e-7a1b-4e95-9388-434e82acf3bc`,PKG 公证 `a9bba972-0743-469f-9869-13f94e1a1a83`,均 Accepted;票据、Gatekeeper、20 项验包和 198 条载荷权限检查通过。APP 独立正式安装并完成 FCP 验收,本轮未重复运行 PKG 安装脚本。编译节点 709 个文件、发行标签 711 个文件已独立远端检出核对;没有 LFS 指针/子模块,未重复冷构建第三方依赖。[恢复](verification/Recovery1.17.0.json) · [清理](verification/Cleanup1.17.0.json)。工作区原有 `project.pbxproj` 三处 Security 引用排序未提交、未改动。
|
||||
|
||||
### 候选 98—101 的历史结果
|
||||
|
||||
98 移除内滚动后 FCP 固定初始 406 pt;99 提前布局使首次完整,但折叠留下空白;100 即时隐藏/恢复参数标志未刷新宿主;101 动态参数重建/延时标志切换仍导致空白,切换片段才恢复。因此四个候选均未发布,回滚 97 后清理;950 项原生检查和公证通过没有替代宿主验收。候选 101 编译提交 `2c2af3695b6dbe661db7adf544a60c58766a4e73`,公证 `4e9e5a94-a707-4733-b75c-846445d02ebd`;[拒收与回滚](verification/RejectedBuild101.json)、[候选宿主报告](verification/HostUnified1.17.0-candidate101.json) 和 [研究记录](research/UnifiedPipeline1.17.0.md) 保留。用户随后明确选择全展开测高,102 已删除 `inspectorHeightChanged:` 参数重建及标志切换实验,当前没有待答的浮窗方案问题。
|
||||
|
||||
接手第一步核对正式 1.17.0(102)和本段记录;若继续优化大量追加层高度或 OSC 实鼠操作,直接使用正式路径版本及既有 QA 库复核。不要恢复已拒收的参数隐藏/重建路线。
|
||||
|
||||
## 1.16.0 畸变切换修复、保留参考线与全部独立模块
|
||||
|
||||
- 用户明确反馈“应用水平校正后畸变就没反应”。原逻辑在已有畸变面板打开、进入水平校正、再点击畸变时,会按普通开关关闭已有面板;现改为恢复畸变编辑。水平校正期间隐藏其他画布面板及其命中区域,结束后恢复。原生检查覆盖该顺序及两种空间变换同时渲染;正式 FCP 检视器实测校正后修改畸变 0→80,画面继续变化,冷重开保留。
|
||||
- 水平校正把两点、参考方向和角度写入完整工具文档。完成后线仍保留;拖动端点可二次修正,每次落位一次撤销,重新进入工具会恢复。画布显示 FCP 旋转角度、总缩放及增加百分比。新增“仅测量”保留线和结果、关闭插件的旋转放大,便于使用 FCP 原始变换;已有缩放应相乘,异比例、位移或裁剪需检查边缘。
|
||||
- 共 16 个独立 MOEF:一级调色、蜘蛛盘校色仪、基础调整、肤色保护、风格 LUT、HSL、曲线、颜色分级、三原色、色阶、黑白混色、色彩平衡、通道混合器、胶片模拟、镜头畸变修复、CST 色彩空间转换。每个保留屏幕工具、控制面板和追加模块,只发布自定界面;没有模板版权或网址发布项。CST 根模块隐藏一级调色参数并关闭根一级处理。原整合版、一级和 HSL 模板与 1.15.0 逐字节一致。
|
||||
- 新版本没有实现可移动输出转换层。现有 V3 会把一级调色和印片集中执行,部分后续算法也会裁切颜色;必须改为真实节点顺序并逐项定义工作域,才能可靠实现全栈宽色域、最后转 709。兼容和质量方案见 [分析](research/LevelingModules1.16.0.md)。
|
||||
- 922 项正式安装原生检查全部通过,16 个模板静态检查和独立远端恢复校验通过。FCP 自动指针点击没有进入 OSC 鼠标回调,故两点、拖线、参考线可见性和端点修改的实鼠验证仍待补充,不能把原生回调检查当成人手实测。接手打开独立验收库中的 `1.16.0 全独立模块`,镜头畸变片段已加载含参考线校正并设置畸变 80%;手动进入水平工具、拖线后切回畸变复核。4K→HD 的画质对照尚未实测。
|
||||
- APP 已正式安装;1.16.0 PKG 已签名公证、票据和 20 项验包通过。Release 398/附件 42 已发布,发布前后两次完整下载校验通过。编译节点 657 个文件、发行标签 660 个文件独立远端检出一致。已清理构建 APP、公证 ZIP、旧替换备份、验包暂存、恢复 clone 和浏览器下载副本。[恢复](verification/Recovery1.16.0.json) · [清理](verification/Cleanup1.16.0.json)。站点文章仍为 1.14.4,主 APP 更新通道仍为上次核对的 1.12.0。
|
||||
|
||||
## 1.15.0 深色默认、独立效果与水平校正
|
||||
|
||||
- 新用户默认深色,保存过的浅色选择会被读取。独立效果使用既有的 FxPlug 和工具文档,分别预置并展开一级调色、HSL 混色。整合版保持原路径、滤镜 UUID 和发布项。独立 `.moef` 只发布自定义检查器,模板无版权或网址发布项。三个效果随同一 PKG 安装。
|
||||
- 「水平校正」支持水平或垂直、两点或拖线。按实际画面宽高比计算旋转及覆盖四角的最小放大倍率。校正应用于完整效果输出,屏幕蒙版和图章位置按同一变换映射。校正状态随效果和完整预设保存,Cube 导出会提示改用完整预设。
|
||||
- FCP 12.4 独立验收库确认两个独立效果的初始模块、控制面板和继续添加模块,整合版原四组及混合仍可见。载入 −8° 校正预设后,合成网格拉平、画面覆盖四角,冷重开继续生效。两点、拖线、撤销、重置和 Esc 由 898 项正式原生自检中的 OSC 回调覆盖。自动实窗鼠标未进入 FCP 的 OSC,手动实机画线仍待复核。[验收范围](verification/HostLevel1.15.0.json)
|
||||
- 接手续测时可打开缓存中的独立资源库 `fcp-qa/level-1.15.0/未命名.fcpbundle`,选中 HSL 或一级调色片段,从画面右下角校正图标手动画线,复测保存与撤销。
|
||||
|
||||
## 1.14.4 安装权限和启动验签
|
||||
|
||||
- 94 版分发后,多名用户反馈“安装完整性验证失败”。用户提供的修复记录指出有四个不可读资源及一份放在 `/Applications` 的重复 App。94 正式 PKG 的 BOM 恰有四个 `root:wheel`、`0700` 文件,分别为外层 App 的 `Basis_balanceWheel.png` 和内置模板的 `large.png`、`small.png`、`大鱼调色.moef`。在原签名副本上模拟读权限丢失可复现严格验签的 `Permission denied`,修正为 `0644` 后通过,不需要重签。PKG 自身的载荷与脚本均指向固定 FxPlug 路径并禁用重定位。未获取受影响设备的诊断或确认重复副本来源。
|
||||
- 94 包中主 App 和插件服务的 Apple Developer ID 证书链均完整。单独使用系统信任根、排除用户钥匙串和联网,两条链均通过。开发机本轮复核的 94 App 是由交付脚本复制、当前用户持有的正式安装,能读取这些文件,未覆盖安装器改为 `root` 后的权限场景。
|
||||
- 95 版启动和注册检查两个可执行文件、Apple Developer ID 团队、签名标识、位置关系和版本一致性。全资源和嵌套框架扫描保留给下载更新包,签名改动、重签、缺失及混装对照检查通过。交付脚本将上述四个资源设为 `0644`,打包前检查实际 App,公证后检查最终 BOM。未发布的原始 95 候选经新权限门槛确认失败后重制,历史 94 包保留。第三方机器的新版安装结果仍需回访。
|
||||
- 原文 15792 已绑定附件 15865「大鱼调色-1.14.4.pkg」,在正文顶部提示验签修复并请遇到报错的用户重装。原标题和 SEO 继续描述 1.14.3 的跟踪更新,安装段已指向 1.14.4。正式下载目标取回 45,381,319 字节,与本地正式包逐字节一致,下载副本的公证票据验证通过。封面、分类、价格和会员规则回读一致。[站点验收](verification/Article1.14.4.json)
|
||||
|
||||
## 1.14.3 站点文章
|
||||
|
||||
- 在原文 15792 就地发布 1.14.3(94),更新版本介绍、安装说明、SEO、特色图片与站内主包。正文展示用户提交的 2046×1570 原图。1672×941 封面注明「不加密 · 不限制安装数量」。文章的历史界面图片、普通用户 50 元和鱼粉会员 0 元均经前台核验。
|
||||
- 文章主包下载名为「大鱼调色-1.14.3.pkg」,完整下载与公证发行包的字节数及 SHA-256 一致。发布输入与两张图片保存在 [1.14.3 发布目录](Publishing/1.14.3/),前后台和附件验证见 [站点验收](verification/Article1.14.3.json)。下次更新从文章 15792 的当前内容和资源字段回读开始。
|
||||
|
||||
## 1.14.3 图章稳定与逐帧跟踪预览
|
||||
|
||||
- `DYToolState.mm` 在连续分析段写入前,使用最多五帧的对称窗口平滑图章两侧坐标和对数缩放,起点与最后可信帧保持原值。Metal 跟踪渲染支持连续的亚像素取样,相对缩放经过 1 倍时连续过渡。取样跨出画面边缘时在最后一个像素内过渡。旧图章重新执行双向跟踪即可应用轨迹平滑。
|
||||
- 仿制图章和普通蒙版共用控制面板右侧的进度和同步预览。预览采用同一分析帧的画面与轮廓,图章显示青色取样和黄色覆盖,普通蒙版显示黄色轮廓。进度统计双向分析时的唯一帧数,进度条直接按比例绘制。自动分析期间时间线播放头停在起始位置,单帧跟踪仍按宿主时间映射移动播放头。
|
||||
- 在上次 257 帧 4K 轨迹离线回放中,取样中心二阶帧差 RMS 从 2.71 降到 0.95 像素,覆盖中心从 2.43 降到 0.92 像素。独立实拍副本中,图章和矩形蒙版均完成 190 帧跟踪,保存回读为连续 25 fps。94 版重跑验证了画面、轮廓和进度,51% 时条形填充与数值一致。验收覆盖本机 Final Cut Pro 12.4 与原生自检。[实拍验收](verification/HostTrackingPreview1.14.3.json)
|
||||
- 接续实拍反馈时,先在原问题片段重新跟踪旧图章,记录方向、首个异常时间码和取样区。若需复测,可使用本机验收库的独立副本。
|
||||
|
||||
## 1.14.0 图章取样与覆盖跟踪
|
||||
|
||||
- 用户在 1.13.4 的实拍工程中确认图章可落位、拖动,随后要求取样点和覆盖目标都参与跟踪并识别缩放。[1.13.4 实鼠确认](verification/HostCloneStampSave1.13.4.json)
|
||||
- 两个区域各自使用同一宿主源帧运行 OpenCV 分析。写入的每个轨迹键同时记录两点的位置与缩放。任一侧跟丢时,提交本次最后一段两侧均可信的连续轨迹。普通蒙版沿用原分析。旧图章单点轨迹仍按位移求值,可重新跟踪以获得双点数据。
|
||||
- 覆盖圈随覆盖区域缩放。渲染按取样区域和覆盖区域的相对缩放映射当前帧的源像素,两侧缩放相同时保留整数像素平移。调大或调小覆盖范围仍可独立操作。清除轨迹时将当前帧的图章外观保留为静态值。
|
||||
- 89 版在 FCP 12.4 实拍素材上完成正向和双向跟踪。双向导出得到 257 个连续双点键,并发现片尾一个原有自动键与最后的新键只差 6.33 毫秒。90 版按半帧识别同帧自动键,在分析范围边缘替换旧键,同时保留手工编辑和分析范围之外的轨迹。90 版在同一 4K 源帧上生成 257 个连续双点键,无旧键残留。最终帧横纵缩放分别约为取样 1.387 / 1.689 倍,覆盖 1.169 / 1.203 倍。两边各有独立的中心轨迹。[1.14.0 实拍与原生核验](verification/HostCloneTracking1.14.0.json)
|
||||
|
||||
## 1.13.1 等像素复制与取样十字拖动
|
||||
|
||||
- 选中图章后可拖动青色取样十字。拖动时更新标记,松手后换取样位置并形成一次撤销。Esc 取消,旧图章可直接编辑。源点调整适用于图章的全部帧,目标位置轨迹保持原样。
|
||||
- Metal 按整数像素偏移直接复制当前帧中的原像素,羽化只混合覆盖边缘。改变椭圆宽高只修改覆盖范围。画布和工作区移除图章旋转控件。跟踪继续用现有分析器求解运动,图章只应用中心位移。旧项目的轨迹键保留,历史缩放与旋转分量在图章求值时忽略。普通蒙版仍使用原有变换。
|
||||
- 入口为 `DYToolOSC.inc.h`、`DYToolCanvasEditing.inc.h`、`DYToolHostMethods.inc.h`、`DYToolState.mm` 和 `DYGrade.metal`。画布写回继续校验时间、图章 ID 和外部修改冲突。原生检查覆盖一次撤销、Esc 取消、拖动和调尺寸时保持跟踪键,以及实际 Metal 输出的等像素复制。
|
||||
|
||||
## 1.13.0 历史交付 · 画布响应与仿制图章
|
||||
|
||||
- 旧版工具栏重绘会清零并上传整张 CPU 位图。无蒙版、未进入图章取样时,新版只绘制工具栏和已打开面板所需的区域,并沿用宿主提供的透明画布。4K、2 倍缩放的空闲工具栏位图为 1000×134,约占 3840×2160 的 1.6%。蒙版与图章绘制仍可能使用整画布。
|
||||
- 工具文档复制改用内存深拷贝,已验证的不可变文档副本共享内容。每帧快照直接从选中的关键帧生成,不再绕一次序列化往返,也只为胶片层读取颗粒参数。M4 合成测试用四条各含 2400 个键的轨迹,40 次复制平均耗时从 18.018 ms 降到 10.949 ms。上述是局部测量,第三方反馈缺少触发动作、素材和工程,尚无法对同一场景前后复测。
|
||||
- 点击画布右下角仿制图章,点选取样中心,再拖出椭圆覆盖区。Esc 取消未保存操作。选中图章可直接在画布启动正向、反向或双向跟踪,也可在工作区选择图章,调整几何、强度和羽化、清除轨迹、旁路或删除。
|
||||
- 图章用现有共享蒙版文档和跟踪轨迹保存,使用独立标识,每次创建为一组撤销。取样位置和原取样尺寸固定,目标跟踪位移、缩放和旋转。Metal 从每帧同一源画面采样,在调色前处理预乘 RGBA,重叠图章按创建顺序合成。完整预设保留图章,启用图章时拒绝导出无法表达空间修改的 Cube。
|
||||
- 关键路径为 `DYToolOSC.inc.h`、`DYViewerControls.inc.h`、`DYToolHostMethods.inc.h`、`DYToolState.mm`、`DYManagedRender.inc.h` 和 `DYGrade.metal`。下一次排查卡顿时,先区分空闲画布、曲线拖动、工作区示波器和有蒙版的 4K 播放,再抓取对应场景的运行时间。
|
||||
|
||||
## 1.12.1 历史交付
|
||||
|
||||
- 检视器以紧凑高度打开,顶部按钮固定在参数滚动区外。80 版在接入宿主后强改视图高度,造成顶部裁切。81 版由 FCP 管理已挂载视图的空间,超出可用高度的模块在参数区内滚动。
|
||||
- 画布工具栏与曲线默认在右下。曲线顶部手柄可移动面板。松手后保留最终点位,等宿主写回后接续正式参数;保留时间和图层校验及一次手势一次撤销。
|
||||
- 画布与检视器的曲线直方图取样自当前效果的输出。画布按显示帧匹配,检视器接收效果输出更新。曲线直方图与工作区四宫格示波器各有显示用途,继续沿用各自的取样和色彩说明。
|
||||
- 画布新增白平衡吸管,复用基础调整的求解和参数写入;畸变修复使用枕形网格图标。独立图层被宿主拒绝写入时增加本机诊断 `dayu_tool_save_rejected`。
|
||||
|
||||
## 接手时的代码入口
|
||||
|
||||
下表中的文件位于 `大鱼调色/Plugin/`。
|
||||
|
||||
| 范围 | 入口 |
|
||||
| --- | --- |
|
||||
| 检视器高度、滚动和曲线刷新 | `DYInspector.mm` 的 `layout`、`curveOutputChanged:` |
|
||||
| 画布工具、曲线拖动和写回 | `DYViewerControls.inc.h`、`DYViewerParameterPanel.inc.h`、`DYViewerParameterBridge.inc.h` |
|
||||
| 效果输出取样与直方图 | `DYScopeCapture.inc.h`、`DYScopeSample.mm`、`DYHistogram.h` |
|
||||
| 画布白平衡与宿主写入诊断 | `DYPlugIn.mm`、`DYColorTables.h`、`DYToolState.mm` |
|
||||
| 工作区、共享蒙版与跟踪 | `DYColorWorkspace.mm`、`DYToolState.mm`、`DYToolOSC.inc.h`。共享蒙版以工具文档 schema 3 为编辑源,渲染展开副本只用于渲染。[工作区与跟踪专项交接](自定控件开发交接.md) |
|
||||
|
||||
## 验收与待跟进
|
||||
|
||||
- **86 版安装完整性加固。** `Shared/DYCodeIntegrity.m` 固定 Apple Developer ID Application、团队和签名标识,验证正在运行的代码及磁盘上的外层 APP、插件服务与签名资源。外层注册前拒绝改包并撤销此副本登记。XPC 在进入 FxPrincipal 前独立校验。更新器验签失败后取消本次运行的更新任务,停用检查、下载、安装,恢复须安装原包并重开。
|
||||
- **分发与边界。** 原始 PKG 允许原样转发,无机器码或账号授权。用户选择保留后端自动更新策略,由新版本在本地拒绝改包。对方若保留签名内件,只在外部加装控制,内件验签仍可通过。缺少倒卖样本,实际改法待确认。拒绝路径、旧包校验、原版更新及宿主画面均有独立记录。[完整性测试](verification/Integrity1.13.2.json)
|
||||
|
||||
- **85 版历史防护评估。** 1.13.1(85)的正式 APP `com.dayu.color` 与 FxPlug 服务 `com.dayu.color.XPC` 都由 `B3W25FX5H5` 的 Developer ID Application 签名。该版的外层 `AppDelegate.m` 在调用 `pluginkit -a` 前只检查组件元数据。插件 `Plugin/main.m` 直接进入 `FxPrincipal`,效果清单为静态登记。
|
||||
- **验签实测。** 用临时 Security.framework 探针对正式安装与独立副本执行静态签名校验,要求 Apple 签发的 Developer ID Application、指定 Team ID 和各自的签名标识。正式 APP 与服务均通过,错误标识、服务掉签、服务临时重签、Metal 资源被改及外层 APP 临时重签均被拒绝。仅重签外层时,原版内层服务单独校验仍通过。临时副本已清理。本轮未运行改包,也未获得倒卖样本,无法确认对方实际改动。
|
||||
|
||||
- **85 版像素复制与十字。** 正式安装的 864 项原生检查通过,实际 Metal 输出验证扩大覆盖只增加复制面积,重合像素逐值相同。FCP 12.4 独立项目副本读入 83 版图章,画布和工作区都只提供中心与尺寸控制,导出后原图章和 99 个轨迹键逐项一致。实窗自动拖动未产生宿主写入,十字拖动、一次撤销和 Esc 取消由正式安装版的原生回调覆盖。工作区“画面编辑”按钮仍沿用通用蒙版提示文字。[验收证据](verification/HostCloneSource1.13.1.json)
|
||||
|
||||
- **83 版图章与跟踪。** 安装后的 858 项原生检查通过。FCP 12.4 独立验收项目副本中已看到图标、取样十字、目标区及实际贴图。工作区触发真实正向跟踪,冷重开后导出的预设保留 99 个轨迹键,目标几何变化,取样坐标和尺寸一致。宿主测试通过载入验收预设创建图章。画布点击及拖选由原生 FxPlug 回调测试覆盖,自动鼠标输入没有进入实窗的 OSC 回调。[验收证据](verification/HostCloneStamp1.13.0.json)
|
||||
|
||||
- 正式 81 版通过 844 项原生检查。FCP 12.4 冷重开后,检视器顶部完整显示,曲线读到 57,600 个输出样本,原调色参数成功读回。同帧输出变更和检视器直方图刷新已通过原生检查。用户手动确认的是 80 版的画布曲线和实时直方图。[宿主验收](verification/HostCanvasInspector1.12.1.json)
|
||||
- **画布白平衡待实机复核。** 已验证取样入口分发、播放头改变后的写入保护、白平衡求解、色温和色调写入及一次撤销。下一次实机验收补做系统取样界面的点选和取消,核对取样后色温与色调的实际变化。[宿主验收范围](verification/HostCanvasInspector1.12.1.json)
|
||||
- **第三方 FCP 保存告警待反馈。** 本机内置 APFS 验收库未复现,退出重开读回正常。收到报错前的操作、时间、FCP 和插件版本、素材库位置后,再区分卷写入故障、素材库异常与特定插件写入触发;先保护原库与备份,复现在独立验收库进行。[保存告警排查](research/FinalCutSaveFailure-20261105.md)
|
||||
- 站点文章、自动更新通道和 Git Release 分别交付。接手通道更新时,以实时清单、正式包和对应的生产回滚记录为准。[更新部署说明](Backend/README.md)
|
||||
|
||||
## 继续工作
|
||||
|
||||
1. 核对 `git status --short --branch`、远端引用、正式安装版本与交付锁。先在独立 FCP 验收库重现用户本轮指定的问题,保留原工程和既有参数语义。
|
||||
2. 代码变更按 [RECOVERY.md](RECOVERY.md) 恢复和验收。常用入口为 `tools/checkpoint.py`、`tools/deliver.py` 与 `Packaging/build_pkg.py`;交付脚本等待宿主验收时,通过后才输入 `complete`。
|
||||
3. 按 [AGENTS.md](AGENTS.md) 在结束前更新本文并提交、推送、回读。
|
||||
|
||||
可复制到新对话:
|
||||
|
||||
> 在 `/Volumes/备份/大鱼调色/大鱼调色` 继续优化大鱼调色。先读项目 `AGENTS.md` 和 `开发交接.md`,以核实后的正式安装和验收记录为基线,按我接下来指定的内容修改。完成后更新交接文档。
|
||||
|
||||
## 任务记录
|
||||
|
||||
| 日期 | 任务 | 结果与接续 |
|
||||
| --- | --- | --- |
|
||||
| 2026-11-05 | 检视器、画布控件与保存告警排查 | 81 版正式安装并发布。80 版的画布反馈已复核,81 版修复检视器裁切与直方图刷新。剩余实机取样和第三方告警见上。 |
|
||||
| 2026-11-05 | 建立每次任务的交接流程 | 新建本入口及项目规则,为历史专项交接加指引。回读核对了正式安装 81、远程版本标签、站点文章及公测通道 79。本轮成果为项目文档。 |
|
||||
| 2026-11-05 | 画布响应与仿制图章 | 83 版正式安装,补齐图章渲染、现有跟踪复用及工作区编辑。性能局部测量、FCP 实帧和冷重开证据见本页,反馈场景待复现。 |
|
||||
| 2026-11-05 | 仿制图章等像素复制与取样十字拖动 | 加入源点拖动和撤销,复制改为整数像素平移,目标跟踪保留中心位移。 |
|
||||
| 2026-11-05 | 二次打包与重签防护评估 | 已核对注册和 XPC 启动入口,并用正式 85 版和改动副本验证候选验签规则。下一步可接入双入口校验并在正式安装版上复测 FCP。 |
|
||||
| 2026-11-05 | 防二次加密和重签 | 1.13.2(86)正式安装。注册、服务启动和更新入口加入验签,FCP 和安装包通过验收。公测 Release 393 已发布并完整下载核对,站点及自动更新策略沿用原配置。 |
|
||||
| 2026-11-05 | 更新 1.13.2 站点文章 | 在原文章 15792 更新正文、SEO 和主下载包,加入验签、原包转发规则、仿制图章与故障排查说明。原售价、会员权益、封面和历史图片均已回读,主包完整下载校验通过。公测自动更新通道回读为 1.12.0。 |
|
||||
| 2026-11-06 | 仿制图章松手消失和拖动回弹 | FCP 在同一次手势给出相差约 32 毫秒的绘制时间与参数写入时间。88 版将图章文档写入与几何时间分开,用户实拍确认可拖动。本机正式安装和 88 安装包已验收;接续实现取样与覆盖区域独立跟踪及缩放后再发 Release。 |
|
||||
| 2026-11-06 | 图章跳动闪烁与逐帧跟踪预览 | 1.14.3(94)正式安装和发布。图章与矩形蒙版实拍双向跟踪、轨迹回读、进度和取样连续性通过验收。 |
|
||||
| 2026-11-06 | 1.14.3 更新到站点文章 | 原文已发布新版本,绑定界面原图、新封面和 94 版主下载包。前台 SEO、原图与封面、商业字段和完整下载均已核验。 |
|
||||
| 2026-11-06 | 复核分发后的完整性失败 | 核实 94 包四个资源的落盘权限并复现严格验签失败。95 版修正权限、缩小启动检查范围并加入打包权限检查。现场证书链和宿主核验见上。 |
|
||||
| 2026-11-06 | 更新文章 15792 的正式包 | 原文章下载替换为 95 版,发布修复和重装提醒。前台和站内下载完整校验通过。 |
|
||||
| 2026-11-06 | 深色默认、独立效果与水平校正 | 1.15.0(96)已正式安装并发布,安装包完整下载校验通过。两款独立效果可添加模块。实窗手动画线待复核。 |
|
||||
- 工程根:`/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)。凭据、私钥和账号令牌留在钥匙串,不进入仓库。
|
||||
在新工单中引用
屏蔽一个用户