Commit Graph

751 Commits

Author SHA1 Message Date
ema
36d2d44200 Add Compound File Binary (CFB) archive support
Introduces CompoundInfoPanel for viewing Compound File Binary archives (.cfb, .eif) in the ArchiveViewer plugin. Updates Plugin.cs to detect and use the new panel for these file types, enabling preview and information display for CFB-based archives.
2025-12-26 01:05:52 +08:00
ema
19805f06c5 Move archive viewer files to ArchiveFile namespace
Some checks failed
build / build (push) Has been cancelled
build / publish (push) Has been cancelled
Renamed and reorganized ArchiveViewer files into a new ArchiveFile subfolder and namespace for better code structure. Updated all relevant namespaces and references accordingly. Minor code cleanups were also applied, such as using collection initializers and default keyword.
2025-12-25 18:48:23 +08:00
ema
7073b132a9 Add FaceDatDecoder for EIF Face.dat parsing 2025-12-25 03:30:22 +08:00
ema
73f41e3509 Update NuGet package versions in project files
Bumped bblanchon.PDFiumV8.Win32 from 145.0.7568 to 145.0.7592 in the PDF viewer project and Melanchall.DryWetMidi from 8.0.2 to 8.0.3 in the video viewer project to include latest fixes and improvements.
2025-12-25 02:29:07 +08:00
ema
6d3a02bf85 Add comments to supported archive extensions list
Added descriptive comments to the list of supported archive file extensions in Plugin.cs for better clarity. Also included commented-out entries for compound file binary formats.
2025-12-25 02:26:22 +08:00
ema
75d519e2fb Add compound file magic header validation 2025-12-25 02:25:47 +08:00
ema
514135cefe Prepare to implement for Compound File Binary 2025-12-25 02:14:44 +08:00
ema
2e75f6e2fb Make converter classes sealed and simplify null checks
All converter classes are now sealed to prevent inheritance, improving clarity and potential performance. Null checks in Percent100 converters are simplified using the null-coalescing assignment operator.
2025-12-25 02:13:20 +08:00
ema
06694e0b16 Add password support for protected certificates
Some checks failed
build / build (push) Has been cancelled
build / publish (push) Has been cancelled
Introduces UI and logic to handle password-protected certificate files. The CertViewerControl now prompts for a password if needed, and attempts to reload the certificate with the provided password. Refactored certificate loading flow to support this feature.
2025-12-23 14:41:59 +08:00
ema
59f07a6cf3 Replace ListView with DataGrid in CertViewerControl
Swapped the ListView for a DataGrid to display certificate properties. The DataGrid is set to read-only, disables row headers, and uses explicit columns for improved presentation and usability.
2025-12-23 14:24:05 +08:00
ema
dba41ac890 Add certificate viewer plugin
Introduces QuickLook.Plugin.CertViewer for viewing certificate files (.pfx, .cer, .pem, etc.) in QuickLook. The plugin loads and displays certificate details or raw content, and is integrated into the solution and project files.
2025-12-23 14:15:52 +08:00
ema
cea937c0d6 Improve XML version attribute regex in XMLDetector
Updated the XMLDetector regex to support both single and double quotes in the XML version attribute, improving compatibility with different XML declaration styles.
Now supports:
<?xml version="1.0"?>
<?xml version='1.0'?>
2025-12-18 16:19:23 +08:00
ema
97ebb410fb Add .cnf extension to INI syntax highlighting
Some checks failed
build / build (push) Has been cancelled
build / publish (push) Has been cancelled
Updated both dark and light INI.xshd syntax definition files to include the .cnf extension, enabling proper syntax highlighting for .cnf files.
2025-12-12 02:29:25 +08:00
ema
d945cc914e Update Magick.NET-Q8-AnyCPU to version 14.10.0
https://github.com/QL-Win/QuickLook/security/dependabot/13
2025-12-12 02:19:43 +08:00
ema
85b1e9b024 Update NuGet package versions in plugin projects 2025-12-09 23:57:57 +08:00
ema
7211c2ebdd Update PowerShell syntax colors in dark theme
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
Changed the color values for Keywords2 and Keywords3 in the PowerShell.xshd dark theme file to use specific hex codes instead of named colors for improved consistency and appearance.
2025-12-05 13:40:57 +08:00
ema
76dfa34928 Update NuGet package versions in project files
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
Upgraded several NuGet dependencies across multiple csproj files, including Microsoft.Web.WebView2, Google.Protobuf, MsgReader, bblanchon.PDFiumV8.Win32, and Lib.Harmony. This ensures compatibility with the latest features and bug fixes from upstream packages.
2025-11-26 01:07:28 +08:00
Copilot
cbf3e566d9 Fix volume control exceeding limits during mouse wheel scroll (#1814)
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
* Fix mouse scroll volume adjustment by clamping value to valid range [0.0, 1.0]
2025-11-25 00:18:36 +08:00
ema
f41fb0a68e Fix warning ColorProfile reference in ImageMagickProvider
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
QuickLook\QuickLook.Plugin\QuickLook.Plugin.ImageViewer\AnimatedImage\Providers\ImageMagickProvider.cs(112,35,112,52): warning CS0618: 'ColorProfile.SRGB' is obsolete: 'This property will be removed in the next major release. Use ColorProfiles.SRGB instead.'

Revert "Fix wwarning ColorProfile reference in ImageMagickProvider"

This reverts commit 649fd3a892.

Reapply "Fix wwarning ColorProfile reference in ImageMagickProvider"

This reverts commit 5e9dea6af313ec03c40b1f4dcaa461643a02d4f2.
2025-11-21 00:38:01 +08:00
Copilot
1f96cf5745 Add Svelte syntax highlighting support (#1809) 2025-11-20 00:01:34 +08:00
ema
dc3da38c34 Add blocked file type handling to viewer
Updates the InsvBlocker plugin to mark files as blocked and sets a blocked message in the viewer window. The viewer now displays a message for blocked file types instead of attempting to preview them.
2025-11-17 04:17:00 +08:00
Copilot
f24cbab72a Add plugin to block .insv files for Insta360Studio compatibility (#1803) 2025-11-17 03:46:41 +08:00
ema
17b374b2e9 Keep TextViewer compatible with VS2022 2025-11-17 03:00:29 +08:00
ema
9ebc030f8b Improve TextViewerPanel UI and usability
Enabled touch gesture support, disabled automatic hyperlink detection, and visually hid the line number separator. Added context menu items for copy and select all, installed a custom element generator for long lines, and integrated the search panel for enhanced text navigation.
2025-11-17 02:55:24 +08:00
ema
9bcf9905d5 Update NuGet package versions in project files
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
Several .csproj files were updated to use newer versions of dependencies, including Newtonsoft.Json, Microsoft.Web.WebView2, Magick.NET-Q8-AnyCPU, Google.Protobuf, MsgReader, and bblanchon.PDFiumV8.Win32. This ensures compatibility with the latest features and bug fixes from these packages.
2025-10-30 02:42:30 +08:00
dependabot[bot]
65c832e430 Bump Magick.NET-Q8-AnyCPU from 14.8.2 to 14.9.0 (#1794)
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
---
updated-dependencies:
- dependency-name: Magick.NET-Q8-AnyCPU
  dependency-version: 14.9.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-29 21:26:05 +08:00
ema
5caaf749f7 Set _currentPath before file type check in View
Moved assignment of _currentPath to the start of the View method to ensure it is set before any file type-specific logic is executed. This improves consistency and prevents potential issues with path-dependent operations.
2025-10-29 21:25:30 +08:00
ema
a887ca3014 Refactor SvgImagePanel.MimeTypes to use base class methods 2025-10-14 23:52:11 +08:00
ema
5d3fd85238 Fix theme error in MediaInfoViewer plugin #1775 2025-10-14 23:28:08 +08:00
ema
6a6c411efb Refactor icon usage to use FontSymbols constants
Replaced hardcoded icon strings with FontSymbols constants in MoreMenu and converter classes for consistency and maintainability. Removed duplicate FontSymbols class from MidiPlayer and updated usages to reference QuickLook.Common.Controls.
2025-10-10 17:39:32 +08:00
ema
39ee2f6b00 Update Batch syntax highlighting colors
Adjusted colors for selection, caret, fold markers, markers, comments, labels, output, and keywords in the Batch.xshd file to improve readability and consistency with dark theme conventions.
2025-10-10 17:07:23 +08:00
ema
d2c80e1847 Rename Goovy.xshd to Groovy.xshd 2025-10-10 16:52:41 +08:00
ema
1095d2be68 Add dark theme syntax definition for HTML viewer
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
Introduces zzz-After-JavaScript-HTML.xshd, an XML-based syntax highlighting definition for HTML files in dark mode. This file configures colors, rules, and spans for improved readability in the text viewer plugin.
2025-10-08 02:00:41 +08:00
ema
432b3b033a Add cross-plugin 'Reopen as' menu for SVG and HTML
Introduces 'Reopen as source code' and 'Reopen as image preview' options in the MoreMenu for SVG and HTML files, enabling users to switch between ImageViewer and TextViewer plugins. Updates translation files to support new menu items in multiple languages and refactors related plugin code for extensibility.
2025-10-08 01:55:58 +08:00
ema
f7c029f127 Support Reopen as HTML preview #1690 2025-10-08 01:24:23 +08:00
ema
3e4052ae77 Rename 'View Source Code' to 'Reopen as Source Code'
Updated the menu item and translations to use 'Reopen as source code' instead of 'View source code' across all supported languages for consistency and clarity.
2025-10-08 00:44:33 +08:00
ema
28f93256e4 Order plugins by priority and ensure uniqueness
Changed plugin priority in MediaInfoViewer to int.MinValue. Updated ViewerWindow.Actions to display more menu items from plugins in order of priority and to avoid duplicate plugins by grouping by plugin name.
2025-10-08 00:31:54 +08:00
copilot-swe-agent[bot]
2af849ed81 Add IMoreMenu support to HtmlViewer with View Source Code option
Co-Authored-By: emako <24737061+emako@users.noreply.github.com>
2025-10-08 00:11:58 +08:00
ema
78843d8098 Fix long path handling issue in HtmlViewer #1643 2025-10-07 23:54:15 +08:00
ema
0d0c71407c Quote and prefix long paths when copying to clipboard
Paths copied to the clipboard are now quoted, and long paths (>= 260 characters) are prefixed with \\?\ to ensure compatibility. This improves reliability when handling long file paths.
2025-10-06 15:50:25 +08:00
ema
eadedb5758 Add comments of the supported archive extensions 2025-10-06 01:51:59 +08:00
ema
92aa47e32a Add .asar to supported archive extensions 2025-10-06 01:50:03 +08:00
ema
a112ea58ac Support VideoViewer error text wrapping
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-09-30 22:30:30 +08:00
ema
342f14ebd9 Add KrcDetector for .krc file support
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-09-28 03:04:44 +08:00
ema
0ba37f6425 Add .snupkg support to archive viewer
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
Included the .snupkg extension in the list of supported archive formats to allow viewing of symbol package files.
2025-09-27 03:37:53 +08:00
ema
ad1730cf4a Expand supported text file formats list
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
Added a comprehensive list of supported text and script file extensions to SUPPORTED_FORMATS.md, detailing various programming, configuration, and markup formats recognized by QuickLook.
2025-09-25 01:32:53 +08:00
ema
ba7658e5b8 Reformat Translations.config for consistent indentation 2025-09-25 00:22:26 +08:00
ema
bee13755cc Add translations for PDFViewer
Added password prompt translations for 20+ languages to Translations.config in PDFViewer plugin, improving localization for password-protected PDF files.
2025-09-25 00:21:44 +08:00
ema
ac5250b3eb Remove Translations.config for OfficeViewer 2025-09-25 00:18:16 +08:00
ema
4318646867 Add translations for HtmlViewer
Added localized WEBVIEW2_NOT_AVAILABLE messages for ca, he, hi, hu-HU, id-ID, mr, nb-NO, nl-NL, pt-BR, pt-PT, ru-RU, sk, tr-TR, and vi to improve international support in the HTML viewer plugin.
2025-09-25 00:14:03 +08:00