Commit graph

4944 commits

Author SHA1 Message Date
YiFang Xiao 2bceadd745 doc: update fulltext search image 2023-07-26 17:25:01 +08:00
YiFang Xiao 6f36ac897e action: macos find previous tag 2023-07-26 15:24:50 +08:00
xiaoyifang 17cd445607
feat: customize dictionary's fullindex option with metadata.toml (#1000)
* feat: customize dictionary's fullindex option with metadata.toml

* [autofix.ci] apply automated fixes

* feat: display fulltext status in the dictionary info dialog

* [autofix.ci] apply automated fixes

* doc: add document about how to enable dictionary's fullindex feature

* Update src/metadata.cc

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update src/ui/dictinfo.ui

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/mkdocs.yml

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* add images

* feat: show fulltext search status in dictionary info dialog

* Update dictinfo.cc

* [autofix.ci] apply automated fixes

* ui: change layout

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2023-07-26 10:03:20 +08:00
xiaoyifang d3e6018401
fix: wikipedia open blank page in edge browser (#1003)
* fix: wikipedia open blank page in edge browser

* [autofix.ci] apply automated fixes

---------

Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-25 23:55:41 +08:00
shenleban tongying f9b1d3fa92
fix typo of app id 2023-07-25 08:04:49 -04:00
YiFang Xiao ca92abbe9c action:bump alpha version to 23.07.25 2023-07-25 13:36:42 +08:00
shenleban tongying 32ed2e0052
Update io.github.xiayifang.goldendict_ng.metainfo.xml 2023-07-24 15:41:19 -04:00
xiaoyifang 4a796994dc
Merge pull request #998 from shenlebantongying/flatpak2
Another various changes required by Flatpak
2023-07-24 20:26:11 +08:00
shenleban tongying 53d82f97ca
Another various changes required by Flatpak 2023-07-24 06:58:56 -04:00
xiaoyifang 6f0050f792
Merge pull request #997 from shenlebantongying/flatpak
Changes required by Flatpak
2023-07-24 17:28:35 +08:00
shenleban tongying 60d9854240
Various changes required by Flatpak packaging 2023-07-24 05:14:49 -04:00
xiaoyifang 1d67184d21
Update manage_groups.md 2023-07-23 14:18:49 +08:00
xiaoyifang 40c169336d
Merge pull request #993 from shenlebantongying/fix_appstream
fix: use png file for appstream's metainfo.xml
2023-07-22 18:48:47 +08:00
shenleban tongying d9c13f2064
fix: use png file for appstream's metainfo.xml 2023-07-22 06:10:55 -04:00
shenleban tongying a4542d8b6c
fix: a few build problems about zim/slob ,epwing (#992)
* fix: a few build problems

* slob should not depends on MAKE_ZIM_SUPPORT
* cmake failed to build when WITH_EPWING disabled.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-22 13:50:57 +08:00
YiFang Xiao d25e054a93 opt: replace program dictionary icon 2023-07-21 15:53:53 +08:00
xiaoyifang f9e9c0dab0
Merge pull request #991 from xiaoyifang/opt/sounddir
opt: replace sounddir dictionary icon
2023-07-21 14:38:04 +08:00
YiFang Xiao 0b087e40f1 opt: replace lsa dictionary icon and zipsound icon 2023-07-21 14:34:09 +08:00
YiFang Xiao 46d62ebf8c opt: replace sounddir dictionary icon 2023-07-21 14:10:40 +08:00
xiaoyifang e5f91f6a3e
feat: use parallel thread to create the fts (#980)
* feat: use parallel thread to create the fts

* [autofix.ci] apply automated fixes

* feat: use parallel thread to create the fts

* feat: add an option to control the thread count when create the fulltext

* [autofix.ci] apply automated fixes

* feat: set default parallel thread count to half the cpu numbers

* feat: initialize the default parallel threads to 1/3 of cpu cores

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-20 22:50:32 +08:00
xiaoyifang df4bc68248
fix: [regression]scanpopup right context menu lost dictionary list (#989)
* fix: [regression]scanpopup right context menu lost dictionary list

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-20 22:49:37 +08:00
shenleban tongying 8471029770
feat: use "Fusion" style on macOS by default and add option to switch between styles on Linux & macOS (#986)
* feat: use "Fusion" style on macOS by default and add option to switch between styles on Linux & macOS

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* feat: use "Fusion" style on macOS by default and add option to switch between styles on Linux & macOS

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-20 20:10:44 +08:00
xiaoyifang dc3df92a7e
Merge pull request #988 from shenlebantongying/FORMAT-WORLD
clean: reformat everything and add `.git-blame-ignore-revs`
2023-07-20 17:40:32 +08:00
autofix-ci[bot] 0450422959
[autofix.ci] apply automated fixes 2023-07-20 08:05:17 +00:00
shenleban tongying 6e6b3d8876
clean: add .git-blame-ignore-revs 2023-07-20 04:04:02 -04:00
shenleban tongying b5349478cf
clean: reformat everything
The next commit will add `.git-blame-ignore-revs`

https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
2023-07-20 04:02:22 -04:00
YiFang Xiao f97bfc039f action: clang format 2023-07-19 21:13:40 +08:00
xiaoyifang fc1b01bd6e
Merge pull request #985 from xiaoyifang/fix/double-pronounce
fix: sound played twice in popup dialog
2023-07-19 15:02:12 +08:00
YiFang Xiao b39d931c08 fix: sound played twice in popup dialog 2023-07-19 13:44:26 +08:00
xiaoyifang e3288d4ab9
New Crowdin updates (#984)
* New translations German from Crowdin

* New translations German from Crowdin
2023-07-19 08:19:31 +08:00
YiFang Xiao 7c9fee4620 github: update bug template 2023-07-18 14:32:38 +08:00
xiaoyifang dc09f21008
Merge pull request #983 from shenlebantongying/autogroup_website
fix: website/program should not appears in "AutoGroupByFolder"
2023-07-18 13:10:37 +08:00
shenleban tongying 1180f8bc32
fix: website/program should not appears in "AutoGroupByFolder" 2023-07-17 23:27:46 -04:00
xiaoyifang b3d9d79816
fix: pronounce the first dictionary audio if availabe (#981)
* fix: pronounce the first dictionary audio if availabe

fix #978

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-18 07:57:02 +08:00
xiaoyifang 5f2a1981c0
Update bug_report.md 2023-07-18 07:56:21 +08:00
xiaoyifang d8a0367eeb
Update bug_report_cn.md 2023-07-18 07:54:59 +08:00
xiaoyifang 55fef3e231
opt: use qcache to hold mdx css file (#970)
* opt: use qcache to hold mdx css file

* 🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-07-17 21:51:56 +08:00
xiaoyifang ec06124acb
feat: sync group widget with tab (one group per tab) (#976)
* feat: sync group widget with tab

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-17 08:24:02 +08:00
xiaoyifang 900f0b62b2
New Crowdin updates (#977)
* New translations Russian from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Czech from Crowdin

* New translations Korean from Crowdin

* New translations Esperanto from Crowdin

* New translations Lojban from Crowdin

* New translations Hindi from Crowdin

* New translations Lithuanian from Crowdin

* New translations Albanian from Crowdin

* New translations Arabic, Saudi Arabia from Crowdin

* New translations Swedish from Crowdin

* New translations Macedonian from Crowdin

* New translations Persian from Crowdin

* New translations French from Crowdin

* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

* New translations German from Crowdin

* New translations Greek from Crowdin

* New translations Finnish from Crowdin

* New translations Italian from Crowdin

* New translations Japanese from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Slovak from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Spanish, Argentina from Crowdin

* New translations German, Switzerland from Crowdin

* New translations Spanish, Bolivia from Crowdin

* New translations Tajik from Crowdin

* New translations Quechua from Crowdin

* New translations Aymara from Crowdin

* New translations Turkmen from Crowdin

* New translations Interlingue from Crowdin

* New translations Russian from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Czech from Crowdin

* New translations Korean from Crowdin

* New translations Esperanto from Crowdin

* New translations Hindi from Crowdin

* New translations Lithuanian from Crowdin

* New translations Albanian from Crowdin

* New translations Swedish from Crowdin

* New translations Macedonian from Crowdin

* New translations Persian from Crowdin

* New translations French from Crowdin

* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

* New translations German from Crowdin

* New translations Greek from Crowdin

* New translations Finnish from Crowdin

* New translations Italian from Crowdin

* New translations Japanese from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Slovak from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Tajik from Crowdin

* New translations Turkmen from Crowdin
2023-07-16 20:35:20 +08:00
shenleban tongying 4be457ba2d opt: rewrite release check
* check 1 time per day on startup and no more
* use github's release api instead of scraping the html page
2023-07-16 20:32:11 +08:00
xiaoyifang ce8b8a60bb
feat: add font customization (#973)
* action: auto clang format changes

action: clang-format

* feat: add separator tab to configure the font family for the web engine.

feat: custom fonts

feat: add custom font

i18n: update crowdin translation files

* [autofix.ci] apply automated fixes

* feat: add notice about the font customization

* feat: adjust interface layout

* i18n: update transaltion source

* fix: code smells

* feat: custom font layout adjustment

* i18n: update translation items

* feat: adjust layout of custom fonts

* i18n: new

* feat: adjust layout

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-16 18:54:07 +08:00
autofix-ci[bot] 534d8c2e96 [autofix.ci] apply automated fixes (attempt 2/3)
[autofix.ci] apply automated fixes
2023-07-15 14:04:52 +08:00
YiFang Xiao bfba6e1f67 action: use autofix.ci to format code
opt: ignore clang-format on style/js files

action: prettier ignore file
2023-07-15 14:04:52 +08:00
YiFang Xiao 119a5ccb6c fix: treat unknown dsl tags as text 2023-07-15 13:27:12 +08:00
YiFang Xiao 7037694ebc fix: code smell 2023-07-14 22:31:29 +08:00
YiFang Xiao 08454602c2 opt: add open index folder to dict info dialog 2023-07-14 22:31:29 +08:00
xiaoyifang 21d9203940
Update how to build ffmpeg for visual studio.md 2023-07-14 14:44:33 +08:00
xiaoyifang 792492cf02
Update how to build ffmpeg for visual studio.md 2023-07-14 14:38:48 +08:00
xiaoyifang 35d710ace5
Update how to build ffmpeg for visual studio.md 2023-07-13 21:17:30 +08:00
YiFang Xiao d9bf1d1a91 fix: website dictionary disable window.location 2023-07-13 18:57:22 +08:00