Skip to content

Releases: andychao217/FileCompare

FileCompare v0.7.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 08:16

✨ 核心新增特性 (v0.7.0)

  • 🎨 全新 Fluent Design 单文件安装器 (WinCompare-Setup.exe):
    • 彻底淘汰旧版 WiX MSI,采用基于 WPF-UI 打造的纯原生 Win11 Fluent Design 单文件安装向导(圆角、Acrylic 亚克力材质与平滑过渡动画)。
    • 智能识别旧版原位升级:启动自动探测旧版软件安装路径,支持一键「覆盖更新」,保留用户配置与快捷方式。
    • 动态系统主题与强调色联动:自动拉取 Windows 本地个性化 Accent 强调色,支持实时切换跟随浅色/深色主题。
    • 安装/卸载双入口部署:安装目录同时内置 Setup.exe(维护修复)与 Uninstall.exe(支持无残留延时自清理卸载)。
  • ⚡ 命令行静默安装支持 (Silent / Unattended Mode):
    • 支持企业批量下发、CI/CD 自动化部署及 WinGet / Scoop / Chocolatey 包管理器:
      • Setup.exe --silent 或 /S:后台全自动静默安装。
      • Setup.exe --dir="D:\\CustomPath" 或 /D="D:\\CustomPath":自定义安装目录。
      • Setup.exe --uninstall --silent:后台静默卸载。
    • 返回 Windows 标准进程退出码(0 成功,非 0 失败),并通过 P/Invoke AttachConsole 向父终端实时输出进度与错误信息。
  • 📑 跨平台 PDF 结构化与像素级视觉比对 (PixelDiff):
    • 原生零依赖 PDF 解析:流式解析 FlateDecode 解压、ToUnicode CMap 字符映射转换、按 Y 坐标自适应行基线(Baseline Grouping)聚类。
    • 双模比对引擎 (Token Text & PixelDiff):精准识别文本 Token 差异,并提供像素级视觉比对与差异遮罩蒙版(Mask Overlay)。
    • 专业比对视图模式:支持并排对比(Side-by-Side)与透视叠加(Overlay)模式,配有透明度滑块与双向像素同步滚动。
    • 格式智能自检测与离线报告:文本对比中拖入/打开 PDF 自动提示切换至 PDF 模式;支持一键导出双端一致的自包含 HTML 独立审查报告。
  • ✍️ 原位文本即时编辑与 Minimap 防抖稳定化:
    • 双端原位文本行编辑:支持在文本差分视图中直接编辑,回车(Enter)智能拆分新行,退格(Backspace)智能合并前行。
    • 防抖差分重算与集合细粒度同步:Windows 统一 250ms 防抖差分异步重算,避免打字卡顿,通过原位集合更新刷新行高亮。
    • 缩略图视口稳定化:彻底消除拖拽与缩放时的 Minimap 视口抖动循环(Jitter Loop),平稳随主视口同步。
    • 快捷键完善:支持标准剪贴板快捷键(Ctrl+C/V/X/A),禁用拼写检查波浪线,提供专业编辑器级输入手感。
  • 📁 文件夹层级树形展开/折叠与滚动持久化:
    • 层级树深度缩进与平滑动画:双端支持多级目录深度缩进展示,配备平滑旋转动画的 Chevron 折叠/展开切换图标。
    • 全局快捷操作:工具栏支持一键「全部展开 (Expand All)」与「全部折叠 (Collapse All)」。
    • 滚动视口平稳与状态持久化:Windows 采用细粒度 ObservableCollection 原位插入/移除机制杜绝跳动,重新应用过滤规则时保留 ScrollViewer 垂直滚动位移。
  • 🚀 流水线整合与构建提速:
    • 统一打包脚本 package_win.ps1,一行命令即可输出 Portable ZIP 与 Fluent Setup 安装包。
    • GitHub Actions 自动化发布流程接入单文件安装器,移除 WiX 工具链,大幅提升 CI/CD 构建效率。

✨ Key Features (v0.7.0)

  • 🎨 Brand-New Fluent Design Single-File Installer (WinCompare-Setup.exe):
    • Completely replaces legacy WiX MSI with a modern, native Windows 11 Fluent Design single-file installer powered by WPF-UI (Acrylic material, rounded geometry, and fluid expand/collapse animations).
    • Intelligent In-Place Upgrade: Automatically detects previous installation directories from registry across HKCU/HKLM for seamless 1-click in-place upgrades.
    • Dynamic System Theme & Accent Color Sync: Automatically synchronizes with Windows personalization accent colors and system light/dark theme switches in real time.
    • Dual Maintenance & Uninstaller Deployment: Deploys both Setup.exe (maintenance) and Uninstall.exe (deferred clean self-deletion) into the installation root.
  • ⚡ Silent / Unattended CLI Automation (WinGet / CI/CD Ready):
    • Full support for automated deployments, enterprise policies, and package managers (WinGet, Scoop, Chocolatey):
      • Setup.exe --silent or /S: Zero-UI background installation.
      • Setup.exe --dir="D:\\CustomPath" or /D="D:\\CustomPath": Custom installation destination.
      • Setup.exe --uninstall --silent: Completely silent uninstallation.
    • Standard Windows process exit codes (0 for success, non-zero for failure) with real-time console progress output via AttachConsole.
  • 📑 Cross-Platform PDF Structured & Pixel Visual Diff (PixelDiff):
    • Zero-Dependency Native PDF Parsing: Stream parsing with FlateDecode, ToUnicode CMap character mapping, and Y-coordinate adaptive baseline grouping.
    • Dual Diff Engine (Token Text & PixelDiff): High-precision token-level text diff alongside pixel-perfect visual difference rendering with mask overlays.
    • Professional Viewing Modes: Side-by-side and overlay blend modes with opacity slider and pixel-synchronized dual scrolling.
    • Format Auto-Detection & Offline Reports: Dragging/opening PDF files in text diff triggers an automatic switch prompt; export standalone, self-contained HTML inspection reports with a single click.
  • ✍️ In-Place Text Editing & Stable Minimap Viewport:
    • In-Place Line Editing: Edit text directly inside diff editors across macOS and Windows; split lines on Enter and merge on Backspace.
    • Debounced Diff Recalculation: 250ms asynchronous debounced recalculation with fine-grained collection updates to eliminate typing latency.
    • Stable Minimap Viewport: Eliminates drag and resize jitter loops for rock-solid minimap tracking.
    • Enhanced Shortcuts: Standard clipboard shortcuts (Ctrl+C, Ctrl+V, Ctrl+X, Ctrl+A) and suppressed spellcheck squiggles for code-editor responsiveness.
  • 📁 Folder Hierarchical Tree Expand/Collapse & Persistent Scroll:
    • Tree Hierarchy with Smooth Chevron Animations: Visual depth indentation with rotating chevron toggles across macOS and Windows.
    • Global Toolbar Controls: One-click "Expand All" and "Collapse All" actions.
    • Smooth Viewport & Persistent Scroll Offset: In-place ObservableCollection item updates prevent scroll jumps on Windows, preserving ScrollViewer vertical scroll position across filter reapplications.
  • 🚀 Unified Packaging & Streamlined CI/CD:
    • Unified package_win.ps1 produces portable ZIP archives and the Fluent Setup package in a single pass.
    • GitHub Actions automated releases now upload WinCompare-<Version>-Setup-x64.exe directly, completely removing obsolete WiX dependencies for faster CI/CD turnaround.

✨ 主な新機能 (v0.7.0)

  • 🎨 新世代 Fluent Design 単一ファイルインストーラー (WinCompare-Setup.exe):
    • 従来の WiX MSI を完全に刷新し、WPF-UI を採用した洗練された Windows 11 Fluent Design インストーラー(Acrylic 透過素材、丸角、スムーズなアニメーション)を導入。
    • 旧バージョンの自動検出と上書き更新: 既存のインストールパスを自動認識し、設定やショートカットを維持したままワンクリックで「上書き更新」が可能。
    • システムアクセントカラーとテーマの連動: Windows 本体の個人用設定アクセントカラーおよびライト/ダークテーマに自動追従。
    • デュアルエントリー展開: インストール先に Setup.exe(メンテナンス用)と Uninstall.exe(遅延自己削除クリーンアップ付き)を自動配置。
  • ⚡ サイレント/無人コマンドラインインストール対応 (WinGet / CI/CD):
    • 企業の自動展開や WinGet、Scoop、Chocolatey パッケージマネージャーに対応:
      • Setup.exe --silent または /S: バックグラウンドでの完全サイレントインストール。
      • Setup.exe --dir="D:\\CustomPath": インストール先のカスタム指定。
      • Setup.exe --uninstall --silent: サイレント完全アンインストール。
    • Windows 標準の終了コード(成功時 0、失敗時 非0)を返し、親ターミナルへリアルタイムで進捗状況を出力。
  • 📑 クロスプラットフォーム PDF 構造化&ピクセル視覚差分 (PixelDiff):
    • ゼロ依存ネイティブ PDF 解析: FlateDecode 解凍、ToUnicode CMap 文字マッピング、Y座標適応型ベースライン行クラスタリングを搭載。
    • デュアル差分エンジン (Token Text & PixelDiff): 高精度なトークン単位テキスト差分と、視覚差分マスクレイヤー(Mask Overlay)によるピクセル比較。
    • 多彩な表示モード: 並列表示(Side-by-Side)および重畳表示(Overlay、不透明度スライダー・同期スクロール付き)。
    • フォーマット自動検出&独立 HTML レポート: テキスト比較への PDF 投入時に自動切替を促し、ワンクリックで単体 HTML 検査レポートを出力可能。
  • ✍️ テキストインプレース直接編集&防振ミニマップ:
    • インプレース行編集: 差分エディタ上で直接編集が可能。Enter で改行分割、Backspace で前行統合をスマートに処理。
    • デバウンス差分再計算: 250ms 非同期デバウンス再計算と細粒度コレクション更新により、入力の引っかかりを排除。
    • 防振ミニマップビューポート: リサイズやドラッグ時のジッター(小刻みな振動ループ)を完全解消。
    • ショートカット強化: Ctrl+C/V/X/A のクリップボード操作を完備し、スペルチェック波線を抑制して快適な編集体験を提供。
  • 📁 フォルダ階層ツリー展開・折りたたみ&スクロール位置保持:
    • 階層インデントと回転アニメーション: ディレクトリの深さに応じたインデントと、スムーズに回転する Chevron アイコンを両OSに搭載。
    • 一括ツールバー操作: 「すべて展開 (Expand All)」および「すべて折りたたみ (Collapse All)」をワンクリックで実行。
    • スクロールジャンプ防止と位置保持: Windows で細粒度 ObservableCollection 原位更新を採用してちらつきを防止し、フィルタ再適用時も ScrollViewer の縦スクロール位置を正確に維持。
  • 🚀 統合ビルドスクリプトと CI/CD の高速化:
    • package_win.ps1 を統合し、ポータブル ZIP と Fluent Setup を一括ビルド。
    • GitHub Actions から不要な WiX 依存関係を排除し、ビルドと Release 配布を高速化。

FileCompare v0.6.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 10:03

✨ 核心新增特性

  • 🎉 WinCompare (Windows 11 原生版) 重磅发布:
    • 基于微软官方 WinUI 3 (Windows App SDK) 深度构建,采用原生 Fluent Design System(Mica 云母材质、圆角几何、Snap Layouts 贴靠布局与 Cascadia Code 字体)。
    • 底层复用高性能 Rust 核心(diff-core、excel-diff-core、fs-scanner),与 macOS 版实现 100% 算法一致性与处理性能。
  • 📊 全端五大核心比对与合并模式:
    • 文本与代码精细对比:行级与内联字符级精准追踪,支持差异块左右一键采纳。
    • Excel 表格全要素比对:多工作表切换、像素级双向同步网格、主键 Hash Join 对齐与浮点容差过滤。
    • Word 文档高保真比对:段落富文本样式流、内嵌原生表格网格差异、多媒体指纹 SHA-256 比对与标题大纲。
    • 文件夹秒级对比与双向同步:时间戳/大小极速扫描与 CRC32 深度校验,提供 Dry-Run 演练预览。
    • Git 三向冲突合并 (3-Way Merge):直观对比 Local vs Base vs Remote,智能自动合并不冲突代码,一键解决冲突。
  • 🤖 端侧与云端双模 AI 智能助手:
    • 支持 Google Gemma 3 本地端侧离线大模型推理,数据 100% 留存本地;同时兼容 DeepSeek、OpenAI 与局域网 Ollama。
    • 一键提炼「修改核心意图」、生成结构化变更清单并输出规范化 Conventional Commit 提交信息。
  • 📦 WiX 原生 Windows 安装向导与终端集成:
    • 提供全新 WiX v4/v5 安装向导(.msi),自动创建桌面快捷方式、开始菜单项并向系统注册 PATH 环境变量。
    • 终端输入 wincmp 即可全局调用,开箱即用支持 git difftool 与 git mergetool。
  • 🔄 双平台统一持续发布流水线 (CI/CD):
    • GitHub Actions 支持 macOS(Universal Binary 2)与 Windows(x64)并行构建。
    • 同一个 Release 中同时提供:MacCompare-*.dmg、MacCompare-*-macos.zip、mcdiff-*.tar.gz、WinCompare-*-Setup.msi、WinCompare-*-windows-x64.zip 与 wincmp-*.zip。
    • 双端在线检查更新模块精准对齐,智能匹配各自平台的更新包与多语言 Release Notes。

🐛 性能修复与优化

  • 解决 Parallels Desktop / VMware 虚拟机网络共享盘(Z:\)下运行 WinUI 3 报 0xC0000006 闪退问题,提供本地增量同步运行机制。
  • 优化 WiX 安装包构建流水线,加入本地临时磁盘高速缓存机制,解决虚拟机网络盘压缩 CAB 缓慢停滞问题。
  • 剔除生产发布包中的 PDB 调试符号,大幅缩减安装包体积并加快启动速度。

✨ Key Features

  • 🎉 WinCompare (Windows 11 Native Edition) Official Launch:
    • Deeply crafted using Microsoft's official WinUI 3 (Windows App SDK) with full Fluent Design System adoption (Mica material, rounded geometry, Snap Layouts, and Cascadia Code typography).
    • Powered by the shared high-performance Rust core (diff-core, excel-diff-core, fs-scanner), achieving 100% feature and algorithm parity with macOS.
  • 📊 5 Core Comparison & Merge Engines Across All Platforms:
    • Text & Code Comparison: Fine-grained line & character inline diffs with 1-click side-by-side chunk adoption.
    • Excel Spreadsheet Diff: Multi-sheet navigation, pixel-perfect synchronized grid, primary key Hash Join alignment, and numeric tolerance filtering.
    • Word Document Diff: High-fidelity paragraph styling, native table cell diffs, multimedia SHA-256 fingerprinting, and heading outlines.
    • Folder Fast Diff & Sync: Timestamp/size quick checks, deep CRC32 verification, and rule-based bidirectional sync with safe Dry-Run previews.
    • Git 3-Way Merge: Visual conflict resolution across Local vs. Base vs. Remote with smart auto-merge of non-conflicting sections.
  • 🤖 Dual-Mode AI Assistant (Local Offline & Cloud API):
    • Supports 100% on-device offline Google Gemma 3 inference, with seamless compatibility for DeepSeek, OpenAI, and local Ollama endpoints.
    • 1-click synthesis of core change intent summaries, bulleted modification lists, and standardized Conventional Commit messages.
  • 📦 WiX Native MSI Installer & Global CLI Integration:
    • Brand-new WiX v4/v5 installer wizard (.msi) creating Desktop shortcuts, Start Menu entries, and automatic system PATH registration.
    • Built-in wincmp terminal utility ready for git difftool and git mergetool anywhere in your console.
  • 🔄 Unified Multi-Platform Release Pipeline (CI/CD):
    • GitHub Actions runs macOS (Universal Binary 2) and Windows (x64) builds in parallel.
    • Unified multi-asset releases providing: DMG, macOS Zip, mcdiff tarball, WiX MSI installer, Windows portable Zip, and wincmp Zip.
    • Cross-platform in-app update checkers with intelligent asset resolution and locale-aware release notes display.

🐛 Improvements & Fixes

  • Add local VM staging synchronization to prevent 0xC0000006 (STATUS_IN_PAGE_ERROR) crashes when running WinUI 3 over VMware / Parallels shared folders (Z:\).
  • Optimize WiX packaging with a local disk caching strategy, eliminating CAB compression stalls over network drives.
  • Strip PDB debug symbols from production releases, significantly shrinking bundle size and improving startup performance.

✨ 主な新機能

  • 🎉 WinCompare (Windows 11 ネイティブ版) 正式リリース:
    • マイクロソフト公式 WinUI 3 (Windows App SDK) をベースに、Fluent Design System(Mica マテリアル、角丸、Snap Layouts、Cascadia Code フォント)を完全採用。
    • 共通の高性能 Rust コア(diff-core、excel-diff-core、fs-scanner)を統合し、macOS 版と 100% 同等の精度と処理速度を実現。
  • 📊 全プラットフォーム共通の 5 大比較・マージモード:
    • テキスト・コード差分:行単位およびインライン文字単位の高精度差分検出とワンクリック差分反映。
    • Excel 表計算ファイル比較:マルチシート切替、ピクセル完全同期グリッド、主キー Hash Join 整列、数値許容誤差設定。
    • Word ドキュメント比較:リッチテキストスタイル流、ネイティブ表差分、マルチメディア SHA-256 フィンガープリント、見出しアウトライン。
    • フォルダ高速比較・同期:タイムスタンプ/サイズ判定、CRC32 ハッシュ検証、Dry-Run プレビュー付き双方向同期。
    • Git 3方向マージ (3-Way Merge):Local vs Base vs Remote の直感的な衝突解決と非競合箇所の自動マージ。
  • 🤖 デュアルモード AI アシスタント(オンデバイス&クラウド):
    • Google Gemma 3 オフライン推論に対応し、DeepSeek、OpenAI、Ollama とも柔軟に連携。
    • 変更意図のワンクリック要約、重要ポイント箇条書き、および Conventional Commit メッセージ自動生成。
  • 📦 WiX ネイティブ MSI インストーラーと CLI 統合:
    • デスクトップ/スタートメニューのショートカット作成とシステム PATH 自動登録を備えた WiX v4/v5 インストーラー(.msi)。
    • git difftool や git mergetool で即座に利用できる wincmp ターミナルコマンド。
  • 🔄 統一 CI/CD パイプラインとマルチアセット配布:
    • macOS(Universal Binary 2)と Windows(x64)を GitHub Actions で並列ビルド。
    • DMG、便携 Zip、WiX MSI、wincmp CLI などの全プラットフォーム資産を単一 Release に一括公開。
    • システム言語に応じたリリースノート表示と各 OS 向けパッケージのシームレスな自動更新。

🐛 改善と不具合修正

  • 仮想マシン(Parallels / VMware)の共有フォルダ(Z:\)における WinUI 3 の 0xC0000006 ページエラークラッシュを解消するローカル同期機構を導入。
  • WiX パッケージングにローカルディスクバッファを導入し、仮想共有ドライブでの CAB 圧縮遅延を完全解消。
  • プロダクションパッケージから PDB デバッグシンボルを除去し、配布サイズの大幅削減と起動速度の向上を実現。

MacCompare v0.5.0

Choose a tag to compare

@github-actions github-actions released this 11 Sep 05:49

✨ 新增特性

  • AI 智能双模式引擎:
    • 集成 Google Gemma 3 (1B/4B) 本地离线大模型推理,数据 100% 留存本地,断网可用。
    • 支持自定义 Ollama 与兼容 OpenAI 规范的云端大模型 API。
  • AI 改动意图总结与 Commit 生成:
    • 一键智能生成单句核心意图、结构化差异点分析以及标准化 Conventional Commit 提交建议。
  • 就地热更新(微信/Sparkle 同款体验):
    • 支持应用内流式下载、macOS 原生 ditto 自动解压与一键重启覆盖,无需浏览器往返。
    • 智能多语言 Release Notes 感知(自动识别并呈现中、英、日更新日志)。
  • Homebrew 官方专属源上线:
    • 现已支持终端一行命令直接安装与自动软链接 CLI:brew install andychao217/tap/maccompare。
  • 多形态发布资产:
    • GitHub Releases 同时提供 DMG 安装包、便携 .zip 免安装包以及独立 mcdiff 终端 CLI 归档。
  • Excel & Word 比对性能飞跃:
    • 深度优化超大数据表多线程比对引擎与 DOCX 复杂嵌套表格/媒体感知。

🐛 问题修复与优化

  • 优化设置面板 API 配置字段的自适应排版。
  • 升级全流程自动化 CI/CD 构建、Rust 缓存加速与双架构通用二进制(Universal Binary 2)支持。

✨ Key Features

  • Dual-Mode AI Engine:
    • Integrate local offline Google Gemma 3 (1B/4B) on-device inference for 100% privacy and zero code leaks.
    • Support custom Ollama and OpenAI-compatible cloud LLM endpoints.
  • AI Change Intent Summary & Conventional Commits:
    • One-click synthesis of primary change intent, bulleted difference points, and Conventional Commit messages.
  • In-App Seamless Auto-Update:
    • WeChat/Sparkle-inspired 4-stage update: streamed progress download, auto-extraction via ditto, and one-click relaunch.
    • Multi-language release notes auto-sensing based on system locale.
  • Official Homebrew Tap Released:
    • Install via a single terminal command: brew install andychao217/tap/maccompare.
  • Multi-Asset Release Packages:
    • Releases now include DMG installer, portable .zip bundle, and standalone mcdiff CLI archive.
  • High-Performance Excel & Word Diff:
    • Multithreaded Rust-accelerated diffing for massive Excel spreadsheets and structured DOCX files.

🐛 Bug Fixes & Improvements

  • Improve Settings layout and responsive UI styling.
  • Upgrade CI/CD workflows with Rust caching and Universal Binary 2 dual-arch packaging.

✨ 主な新機能

  • デュアルモード AI エンジン:
    • Google Gemma 3 (1B/4B) によるローカルオフライン推论に対応し、プライバシーを完全保護。
    • カスタム Ollama および OpenAI 互換のクラウド API をサポート。
  • AI 変更意図の要約と Commit 生成:
    • ワンクリックでコアな変更意図、重要ポイント、および Conventional Commit メッセージを自動生成。
  • シームレスなアプリ内自動更新:
    • ストリーミングダウンロード、自動展開、ワンクリック再起動による原地アップデート。
    • システム言語に応じた多言語リリースノートの自動表示。
  • 公式 Homebrew Tap を公開:
    • ターミナルから1行でインストール可能:brew install andychao217/tap/maccompare。
  • マルチアセット配布:
    • DMG インストーラー、ポータブル .zip、および単体 mcdiff CLI アーカイブを同時提供。
  • Excel & Word 比較の高速化:
    • 大規模 Excel シートおよび Word ドキュメントの高速・高精度な構造化差分検出。

🐛 不具合修正・改善

  • 設定画面のレイアウトとレスポンシブ表示を最適化。
  • CI/CD パイプラインを Rust キャッシュおよび Universal Binary 2 対応にアップグレード。

MacCompare v0.3.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 06:58

Full Changelog: v0.2.0...v0.3.0

MacCompare v0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Aug 09:33

Full Changelog: v0.1.1...v0.2.0

MacCompare v0.1.1

Choose a tag to compare

@github-actions github-actions released this 20 Aug 03:51

MacCompare v0.1.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 03:42