Commit Graph

897 Commits

Author SHA1 Message Date
ema
4ab015eea8 Fix CSV viewer not support formats other than UTF8
This may have the disadvantage of slowing down the startup speed of large CSV files.
2024-12-13 22:12:14 +08:00
ema
302aad41ea Merge InvokePluginPreview from emako/QuickLook 2024-12-13 15:35:15 +08:00
ema
a82a93d2d9 Auto resize PDF viewer window 2024-12-13 15:26:11 +08:00
ema
cb59a3d082 Support password-protected PDF #155 #765
QL will display a UI prompting for a password. Upon entering the correct password, the PDF file will be reopened.
2024-12-13 11:23:57 +08:00
ema
d09e9c48d8 Add a copy button to the image viewer #1399 2024-12-12 11:43:26 +08:00
ema
9f3014c20c Code Cleanup 2024-12-12 11:12:20 +08:00
ema
b4ac9332fe Support .qoi image #1432 2024-12-12 09:59:49 +08:00
ema
28ec7655f8 Code Cleanup 2024-12-12 01:21:18 +08:00
ema
c056438c58 Restore ScrollBarStyle 2024-12-09 00:31:38 +08:00
ema
fdd5707dba Fix Github Actions build for pull requests #1498
Need to verify later whether it is feasible
2024-12-08 21:17:02 +08:00
ema
485c477760 Merge .NET runtime startup and exception settings
- Added runtime overrides for path handling and long paths
- Included legacy exception and unhandled policy settings
- Updated supported runtime version to v4.6.2
2024-12-08 20:51:25 +08:00
ema
c940e0db1b Merge pull request #1497 from KamilDev/fix/archive-viewer
Fix ArchiveViewer
2024-12-08 20:42:47 +08:00
KamilDev
93441072f7 Fix ArchiveViewer
- Add bindingRedirect so that SharpCompress can find the correct version of `System.Runtime.CompilerServices.Unsafe`
2024-12-08 16:51:32 +11:00
ema
619f16bf88 Use fluent UI for ArchiveFileListView
TreeView style is from WPF-UI
2024-12-08 04:40:02 +08:00
ema
54fed86f2e Update the SharpCompress version and fix exception
Resolve the problem where the `get_IsEncrypted` method in older versions of SharpCompress would throw an error in certain scenarios.
2024-12-08 04:38:27 +08:00
ema
a3e0a58a3f Update dependent libs for VideoViewer 2024-12-08 04:23:01 +08:00
Kamil
92778e6dcf Implement Windows block detection and automatic fix (#1495)
* Implement Windows block detection

* Remove duplicate exception log

* Use proper exception HResult

* Implement automatic unblocking
2024-12-08 03:27:09 +08:00
ema
c879f2353a Use Segoe Fluent Icons 2024-12-07 22:48:17 +08:00
ema
3d66f6c7c9 Add formatter configuration 2024-12-07 06:52:35 +08:00
ema
4b9476e95a Fix CaptionButtonStyle FontFamily 2024-12-07 06:47:47 +08:00
ema
66d5c36cbc Reduce duplicate dependencies on publish files 2024-12-07 06:09:14 +08:00
ema
aa8e5d6355 Fix warning about size_t type 2024-12-07 06:05:39 +08:00
ema
df75e51b45 Remove deploy from .appveyor.yml
Use GitHub Action instead
2024-12-07 05:24:08 +08:00
ema
4166be0422 Fix AppVeyor describe the tag error 2024-12-07 04:59:12 +08:00
ema
77b5eb454e Reduce duplicate dependencies on publish files 2024-12-07 04:58:07 +08:00
ema
a480d5e08a Update .appveyor.yml 2024-12-07 04:21:30 +08:00
ema
a1647843b3 Merge pull request #1337 from mooflu/latest-build
Github action workflow to run a build for the latest version
2024-12-07 03:32:01 +08:00
ema
e63a9d2084 Synchronize the theme with UserPreferenceChanged
New class UxTheme and apply synchronize for
1. Windows System Menu
2. Tray Context Menu
3. WPF-UI Window
2024-12-07 02:22:50 +08:00
ema
4dff887ec1 Review and clean up codes 2024-12-07 00:51:46 +08:00
ema
9d24d0fbe6 Merge pull request #1494 from KamilDev/feature/modern-messagebox
Implement modern message box
2024-12-06 23:57:57 +08:00
KamilDev
0f0bf55296 Implement modern message box 2024-12-07 01:32:41 +11:00
ema
50276003f8 Mark markdown web files as linguist-vendored 2024-12-06 17:54:31 +08:00
ema
12aa8ea8ed Merge pull request #1398 from Dreamoochy/MultiCommander
Multi Commander support
2024-12-06 17:00:58 +08:00
ema
1a9dc33926 Add the tray menu to restart QuickLook #1448 2024-12-06 16:21:42 +08:00
ema
4a765300fd Security check OS version for SetPreferredAppMode 2024-12-06 15:58:08 +08:00
ema
27e62e7e3f Merge pull request #1491 from KamilDev/feature/add-open-data-folder-to-tray
Adds "Open Data Folder" option and dark mode support to tray menu.
2024-12-06 15:15:57 +08:00
KamilDev
569f787c15 Adds "Open Data Folder" option and dark mode support to tray menu. 2024-12-06 15:48:38 +11:00
ema
fc150febcb Support markdown file ext with .mdown #1349 2024-12-06 12:35:59 +08:00
ema
72d3c3187b Support markdown viewer fallback folder #508 2024-12-06 12:31:51 +08:00
ema
9f3126b63f Fix BindingExpression return invalid type
Detail error:
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='<null>' BindingExpression:Path=; DataItem='GlassLayer' (Name='glassLayer'); target element is 'VisualBrush' (HashCode=2881685); target property is 'Viewbox' (type 'Rect')
2024-12-06 10:07:09 +08:00
ema
06e796ac0b Merge pull request #1490 from KamilDev/feature/improve-markdown-viewer
Improved MarkdownViewer
2024-12-06 10:02:20 +08:00
KamilDev
ec62cb4238 Add update mechanism to MarkdownViewer resources, move link opening behavior to WebpagePanel 2024-12-06 01:48:58 +11:00
KamilDev
cf7b6ad46f Improved MarkdownViewer
#### Features
- Uses the latest [github-markdown.css](https://github.com/sindresorhus/github-markdown-css/blob/main/github-markdown.css) file that contains styling support for both dark and light mode.
- Table of Contents has an improved design, and:
	- The width can be resized.
	- TOC headings are automatically highlighted to help track your position in the file.
- Improved fullscreen layout based on Github.com behavior.
- External links clicked will open in default browser instead of doing nothing.
- Uses [markdownItAnchor](https://github.com/valeriangalliat/markdown-it-anchor) to allow heading anchor links in the file to work.
- Uses [highlight.js](https://github.com/highlightjs/highlight.js) to provide syntax highlighting to codeblocks.
#### Changes
- Made changes to allow the `md2html.html` file to use relative file imports for better maintainability.
- MarkdownViewer can now easily be customized by users by modifying files in `<Quicklook data folder>/QuickLook.Plugin.MarkdownViewer/`
- Caching and `localStorage` is now supported thanks to these changes.
- Prevent default behavior of spacebar scrolling the page, while we use spacebar to dismiss the preview.
- Sets `WebView` `DefaultBackgroundColor` to prevent white flash in dark mode. After the page has loaded, sets `DefaultBackgroundColor` back to white to have the expected default behavior on HTML pages that don't specify any background color.
#### Clean up
- Removed the need for `jQuery`.
- Removed old polyfill code.
2024-12-04 22:16:21 +11:00
ema
a5c3d5b143 Restore AssemblyInfo 2024-12-04 16:53:51 +08:00
ema
e8327e50c4 Fix preview HEIC #1470 2024-12-04 00:20:04 +08:00
ema
3e367da060 Merge pull request #1469 from shanto/fix-everything
Fix for Everything v1.5(a). Also supports v1.4 side by side.
2024-12-03 18:12:14 +08:00
ema
d79a3425e9 Merge pull request #1397 from Clausinho/patch-1
add scoop installation route
2024-12-03 17:23:16 +08:00
ema
9edf99fe88 Fix WiX error in new compilation 2024-12-02 22:34:36 +08:00
ema
507b157a40 Convert to .NET SDK type csproj 2024-11-30 17:00:22 +08:00
Shaan
6c800b1379 Fix for Everything v1.5(a) and later. Supports both v1.4 and v1.5. Turning off alpha_instance is no longer necessary. Also fixes a bug which crashes QuickLook when the path returned by client program is quoted. 2024-09-24 23:39:50 +06:00