Commit Graph

725 Commits

Author SHA1 Message Date
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
ema
2570429cdc Fix HelixViewer default height being too large
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-09-22 09:59:00 +08:00
Copilot
ad95955666 Add support for Telegram Sticker (.tgs) files (#1762)
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-09-22 04:57:56 +08:00
ema
120aa6c445 Add supported formats note for audio cover art
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-09-21 01:13:37 +08:00
ema
297e7ef092 Refactor cover art extraction logic to fix #1759 2025-09-21 00:52:07 +08:00
ema
e1c53b8691 Extract cover art will not cause the title to be lost #1759
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-09-21 00:13:39 +08:00
ema
0bca38e2bf Add .slnx extension to XML syntax highlighting
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-09-15 12:50:07 +08:00
ema
3cdf847f3d Fix NuGet package path issue for FreeTypeSharp
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-09-11 11:05:39 +08:00
samueljoh
ae05deea46 Add Swedish translation (#1755) 2025-09-11 11:01:23 +08:00
ema
c748f6d7e4 Update NuGet package versions in project files
This commit updates various NuGet package references to newer versions across multiple QuickLook plugin and main project .csproj files. These updates include dependencies such as WixToolset.Dtf.WindowsInstaller, UTF.Unknown, FreeTypeSharp, Microsoft.Web.WebView2, Magick.NET-Q8-AnyCPU, Google.Protobuf, MsgReader, HelixToolkit, bblanchon.PDFiumV8.Win32, Melanchall.DryWetMidi, WPF-UI.Violeta, and Lib.Harmony, ensuring the projects use the latest compatible releases.
2025-09-08 02:42:09 +08:00
ema
e0a2204e56 Add diff file syntax highlighting 2025-09-08 02:16:55 +08:00
ema
07debda5e4 feat: improve UI/UX of font loading 2025-09-08 01:14:01 +08:00
ema
21a3dd3d4b Fix the same previous issue in other plugins
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-08-15 02:17:50 +08:00
ema
ebb48366a0 Fix font file unicode name is not supported 2025-08-15 02:09:38 +08:00
ema
e12bb2201b Fix issue where font file stays locked #77 2025-08-15 02:01:59 +08:00
ema
14a5bea926 Code Cleanup
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-08-09 00:38:43 +08:00
ema
139cb873f2 Revert SVG default background to transparent
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-08-05 01:19:42 +08:00