Commit Graph

770 Commits

Author SHA1 Message Date
ema
5bb9c792ff Add PKCS#7 extensions to supported file types
Added '.p7s' and '.pkcs7' to the list of well-known certificate-related extensions in the CertViewer plugin to support PKCS#7 detached signature files.
2026-01-12 10:19:34 +08:00
ema
c64885485d Make all Plugin classes sealed
Changed all Plugin classes and PluginManager to be sealed, preventing further inheritance. This improves code safety and clarifies the intended usage of these classes.
2026-01-08 01:06:37 +08:00
ema
bb621f28d5 Make Plugin class sealed and update file extension list
Marked the Plugin class as sealed to prevent inheritance. Commented out several file extensions in the WellKnownExtensions set, likely to restrict the plugin to more common certificate file types.
2026-01-08 01:04:24 +08:00
ema
160b06620e Redesign CertViewer UI and enhance certificate details
Replaces the inline password panel with a centered overlay for password-protected certificates and updates the main content styling with card-like borders. The certificate details tab now displays more comprehensive information, including subject/issuer name info, public key details, and extensions. Improves user experience and provides richer certificate metadata.
2026-01-08 00:58:42 +08:00
ema
f995317854 Add comments to certificate file extensions
Added descriptive comments to each file extension in the WellKnownExtensions set to clarify the type and usage of each supported certificate-related file.
2026-01-08 00:26:42 +08:00
ema
9a6c6cce45 Fix tags not displayed due to empty cover art #1845 2026-01-06 03:24:17 +08:00
ema
d1383e512e Add support for embedded lyrics in music file #1847 2026-01-06 03:12:07 +08:00
ema
a6210e177b Update copyright year to 2026 2026-01-06 02:24:42 +08:00
ema
adc2b0b094 Remove UTF-8 BOM before JSON detection
Added logic to strip the UTF-8 BOM character from the start of the text before performing JSON format detection. This ensures that files with a BOM are correctly identified as JSON.
2026-01-05 13:37:01 +08:00
ema
352192ad41 Update nuget.png resource image
Replaces the existing nuget.png image in the AppViewer resources with a new version.
2026-01-05 10:26:02 +08:00
ema
21aec2e02f Update Magick.NET and PDFiumV8 package versions
Bumped Magick.NET-Q8-AnyCPU to 14.10.1 in ImageViewer and bblanchon.PDFiumV8.Win32 to 145.0.7606 in PdfViewer to include latest fixes and improvements.
2026-01-05 03:19:36 +08:00
ema
67538cf319 Add support for .ddeb Debian debug symbol packages
Extended the plugin to recognize and handle .ddeb files (Debian Debug Symbol Packages) alongside .deb files. Updated SUPPORTED_FORMATS.md and relevant code sections to treat .ddeb files similarly to .deb files.
2026-01-04 23:07:56 +08:00
ema
964d800c52 Change nuget.png image to filled type 2026-01-04 22:54:29 +08:00
ema
30b9f4cdf7 Add nuget.png resource to AppViewer 2025-12-30 13:58:32 +08:00
ema
3f3de0efc2 Improve YAML highlighting and support .clang-format
Added support for .clang-format files to YAML highlighting definitions. Enhanced syntax highlighting to color YAML document separators (---, ...) and their comments distinctly in both dark and light themes. Fixed a potential exception when handling lines without a colon.
2025-12-27 01:46:39 +08:00
ema
1e094ebdbd Add restart button after plugin installation #1823 2025-12-27 01:09:05 +08:00
ema
995e6ccc16 Update translations to use 'sticker' instead of 'emoticon'
Replaces references to 'emoticon' or similar terms with 'sticker' in the MW_ExtractToDirectory_EIFOrderFaceDat translation key across multiple languages for consistency and clarity.
2025-12-26 23:48:47 +08:00
ema
b385fa7439 Add EIF archive extraction with Face.dat ordering
Introduced EifExtractor to support extracting QQ EIF emoji archives, reordering images based on Face.dat metadata. Updated CompoundFileExtractor with in-memory extraction, enhanced the plugin menu and extraction workflow to prompt for Face.dat ordering, and added translations for the new prompt in Translations.config.
2025-12-26 23:46:29 +08:00
ema
e7559f3900 Add CFB extract to directory menu 2025-12-26 02:23:17 +08:00
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