Commit Graph

741 Commits

Author SHA1 Message Date
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
ema
9b72f6a3da Add translations for FontViewer
Added localized SAMPLE_TEXT entries for various languages including Arabic, Catalan, Greek, Spanish, French, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Marathi, Norwegian, Dutch, Polish, Brazilian Portuguese, European Portuguese, Russian, Slovak, Turkish, Ukrainian, and Vietnamese to improve font preview support.
2025-09-25 00:04:52 +08:00
ema
13dc9c4f61 Reformat Translations.config for consistent indentation 2025-09-25 00:04:30 +08:00
ema
aaf4c4cfb5 Add translations for ELFViewer
Added support for multiple languages in the Translations.config file for ELFViewer, including Arabic, Catalan, Greek, Spanish, French, Hebrew, Hindi, Hungarian, Indonesian, Italian, Marathi, Norwegian, Dutch, Polish, Portuguese, Russian, Slovak, Turkish, Ukrainian, and Vietnamese. This enhances localization for key labels such as Total Size, Format, Format Profile, and Name.
2025-09-24 23:59:38 +08:00
ema
47b664ada4 Add translations for CLSIDViewer
Added localized strings for recycle bin actions and messages in various languages including Arabic, Catalan, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Marathi, Norwegian, Dutch, Polish, Brazilian Portuguese, European Portuguese, Russian, Slovak, Turkish, Ukrainian, and Vietnamese.
2025-09-24 23:58:31 +08:00
ema
fe96f9c3dd Add translations for AppViewer
Added new language sections to Translations.config for Arabic (ar), Hungarian (hu-HU), Slovak (sk), and Indonesian (id-ID), providing localized strings for product and app metadata fields.
2025-09-24 23:57:39 +08:00
ema
1fa31d0983 Add 'Copy' and 'Select All' translations for more languages
Added 'Editor_Copy' and 'Editor_SelectAll' translations for Arabic, Catalan, Norwegian, Dutch, Polish, Portuguese, Russian, Turkish, Vietnamese, Marathi, Hindi, Hebrew, Hungarian, Indonesian, and Slovak to improve localization coverage.
2025-09-24 23:55:18 +08:00
ema
894c1c1a89 Add and update translations for PEViewer
Expanded Translations.config with additional languages and updated some existing translations for 'Total Size', 'File Version', and 'Product Version'. Also corrected the Traditional Chinese translation for 'Total Size'.
2025-09-24 23:51:49 +08:00
ema
701d20fe7a Add translations for 'Show Media Info' menu item 2025-09-24 23:49:54 +08:00
ema
4fa57b70ba Refactor MoreMenuProvider into Plugin partial class 2025-09-24 23:37:29 +08:00
ema
2317fad8e3 Support MediaInfoViewer in more menu 2025-09-24 23:34:07 +08:00