Commit Graph

394 Commits

Author SHA1 Message Date
ema 32a1d709a5 Support .icns image #1480 2024-12-15 05:42:35 +08:00
ema cd35e05461 Fix multiple covers check method 2024-12-15 04:07:45 +08:00
ema 09bd9bc1f9 Audio player support lyric (.lrc) #1506
Use lyric parser from https://github.com/lemutec/LyricStudio
2024-12-15 04:00:05 +08:00
ema 31075e48e1 Fix error on audio with multiple covers 2024-12-15 02:42:32 +08:00
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 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 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
ema 66d5c36cbc Reduce duplicate dependencies on publish files 2024-12-07 06:09:14 +08:00
ema 77b5eb454e Reduce duplicate dependencies on publish files 2024-12-07 04:58:07 +08:00
ema 4dff887ec1 Review and clean up codes 2024-12-07 00:51:46 +08:00
ema 50276003f8 Mark markdown web files as linguist-vendored 2024-12-06 17:54:31 +08: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 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 507b157a40 Convert to .NET SDK type csproj 2024-11-30 17:00:22 +08:00
BackThePortal e2f1fddb09 Add .ino extension to C++ syntax highlighting (#1415) 2024-04-11 12:25:55 +02:00
Anton Trofymenko 96cbc31979 Ukrainian Word-for-word machine translation has been replaced with semantic translation. (#1392) 2024-02-13 12:51:53 +01:00
Alexander Eder 1d566c942d Fix colors from previous commit 2023-07-28 10:35:35 +02:00
Alexander Eder a74f5bd289 CSV: Change background from green to blue
Fixes #638
2023-07-27 16:39:53 +02:00
NickMihal 71c8e51d1f Greek translation (#1256)
* Add Greek language

* Add Greek language

* Add Greek language
2023-03-25 20:18:43 +08:00
MonOcean 5c9072acfc Update for commic archive file types. (#1276)
Comic book archive is not a distinct file format. It is a filename extension naming convention.
The filename extension indicates the archive type used:
.cb7 → 7z
.cbr → RAR
.cbt → TAR
.cbz → ZIP
2023-03-25 20:17:32 +08:00
Frank Becker 47540eef95 In Textviewer when OS is in dark mode and AllowDarkTheme is enabled in config file use dark background and light text (no syntax highlighting). (#1238)
With AllowDarkTheme disabled (default) use light background and light mode syntax highlighting.
2022-12-12 15:45:25 +01:00
Frank Becker 7f7d9805f1 Fix gimp xcf file extension check (#1229) 2022-11-30 10:39:36 +01:00
Frank Becker 35450bd561 Upgrade Magick.NET to latest (#1230) 2022-11-30 10:39:23 +01:00
Frank Becker b417664dd7 Handle multi-layer gimp xcf files. (#1224) 2022-11-29 23:36:06 +01:00
Paddy Xu dea3d05660 Merge branch 'master' of github.com:QL-Win/QuickLook 2022-11-23 20:38:56 +01:00
Paddy Xu 7b5b01a7b4 Fix textviewer highlighting 2022-11-23 20:38:53 +01:00
Alexander Eder 0ee6e3621b Experimental support for gimp (.xcf extension) 2022-11-17 13:13:52 +01:00
Samuel Carreira 437d47ed05 TSV file extension support (#1185)
if there are more file extensions to support maybe makes sense to readapt the code to iterate over a regex.
2022-11-08 19:58:20 +01:00
Piteriuz 95492fdd80 Update Polish translation (#1097) 2022-03-07 09:53:54 +01:00
SomeDeveloping e8524dced5 Update French translation (#1083)
Update French strings
2022-03-03 17:16:11 +01:00
Paddy 660dc88001 #1080: dark theme support for the text viewer 2022-02-20 18:55:28 +01:00
Paddy 22c08f62fa Fix #329: respect monitor ICC 2022-02-13 15:01:32 +01:00
Paddy b39a58f1b9 rename 2022-02-13 12:21:06 +01:00
Paddy Xu ef51c459ab Fix #1055: do not apply white background in ImageMagick 2021-12-02 18:04:28 +01:00
Paddy Xu f726841d99 update deps 2021-11-15 23:52:02 +01:00
Habib Mahdi eaa918079c Add Arabic translation (#972)
* Add Arabic translation

* Add Arabic translation

* Add Arabic translation
2021-09-18 19:07:57 +02:00
Paddy Xu cbaf636173 set syntax highlighting limit to 512KB 2021-07-06 21:19:52 +02:00
Paddy Xu 4a476aff4b refresh packages 2021-07-06 21:11:11 +02:00