Commit graph

751 commits

Author SHA1 Message Date
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
autofix-ci[bot] 0450422959
[autofix.ci] apply automated fixes 2023-07-20 08:05:17 +00: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 b39d931c08 fix: sound played twice in popup dialog 2023-07-19 13:44:26 +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 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
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
YiFang Xiao d9bf1d1a91 fix: website dictionary disable window.location 2023-07-13 18:57:22 +08:00
YiFang Xiao 499ac3c54c fix: forbidden window.location on website dictionary 2023-07-13 16:15:59 +08:00
xiaoyifang 2ed7990531
opt: pronounce audio rewrite (#922)
* opt: pronounce audio rewrite

* 🎨 apply clang-format changes

* fix:use javscript Map to hold the dictionary audio url

* Update mainwindow.cc

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-07-13 14:49:41 +08:00
YiFang Xiao 0dc0c015c7 opt: use seperate slob dictionary object to create the fulltext
🎨 apply clang-format changes
2023-07-12 21:14:57 +08:00
YiFang Xiao 40c890b5ca opt: boost slob fulltext speed
and reduce the impact to normal query when create slob fulltext index

🎨 apply clang-format changes
2023-07-12 20:57:02 +08:00
YiFang Xiao 3f968027b6 fix: warning about "Release of profile requested but WebEnginePage still not deleted"
fix #955
2023-07-12 14:36:49 +08:00
YiFang Xiao 26e7ab6baa Merge branch 'staged' of https://github.com/xiaoyifang/goldendict into staged 2023-07-12 10:25:18 +08:00
YiFang Xiao ad426ae4af fix: code smell 2023-07-12 10:23:49 +08:00
xiaoyifang 9c1413adea
Merge pull request #954 from xiaoyifang/fix/crash-restore-state
fix: a possible crash of restoreState() in linux with qt6.5.1
2023-07-12 10:00:49 +08:00
YiFang Xiao 80c30b3c54 style: code format 2023-07-12 09:50:55 +08:00
YiFang Xiao 0592d2060e fix: a possible crash of restoreState() in linux with qt6.5.1
fix #952
2023-07-11 21:38:50 +08:00
xiaoyifang fc7a67d788
Merge pull request #950 from xiaoyifang/fix/reg-unicode
fix: unicode regex option support
2023-07-10 09:45:22 +08:00
xiaoyifang 0daf6fb680
Merge pull request #946 from shenlebantongying/rm_direct_zstd
clean: remove zstd which is unused since the migration to libzim
2023-07-10 09:40:55 +08:00
shenleban tongying a5be5134c8
clean: remove zstd related code which is unused since the migration to
libzim
2023-07-09 20:44:21 -04:00
YiFang Xiao eb1963b170 fix: code smells 2023-07-09 18:18:40 +08:00
YiFang Xiao 568efee4c7 fix: unicode regex option support 2023-07-09 18:10:30 +08:00
xiaoyifang 86f9fa6c6d
Merge pull request #945 from xiaoyifang/fix/terminator
fix: terminator handler does not work as expected
2023-07-09 11:41:42 +08:00
YiFang Xiao 63f335fec6 fix: qt5 website output response as text/plain
fix #941
2023-07-09 11:25:49 +08:00
YiFang Xiao e85609ce42 fix: terminator handler does not work as expected
fix #887
2023-07-08 21:58:45 +08:00
YiFang Xiao 9b5437b82b fix: website encoding problem 2023-07-08 13:26:11 +08:00
xiaoyifang aeb98e2e57
Merge pull request #935 from xiaoyifang/fix/stardict-syn
opt: limit the number of stardict's extra synonym (from `.syn`) searching
2023-07-08 10:44:18 +08:00
YiFang Xiao 5ec1a66d91 fix: splash windows optimization 2023-07-08 08:59:42 +08:00
YiFang Xiao 9ca02a1e23 opt: stardict's findHeadwordsForSynonym method does not seem necessary
🎨 apply clang-format changes

🎨 apply clang-format changes
2023-07-08 00:25:30 +08:00
YiFang Xiao 764ebdde35 fix: sounddir dictionary sound file name
🎨 apply clang-format changes
2023-07-07 21:40:38 +08:00
YiFang Xiao 92fa182643 fix: save audio, add opus extension 2023-07-07 20:26:40 +08:00
YiFang Xiao 5290d0ceb9 fix: code smells
🎨 apply clang-format changes
2023-07-06 15:25:13 +08:00
YiFang Xiao 9bbb23e5d4 fix: when search hypen alone will result too much unnecessary result.
fix #928
2023-07-06 15:24:01 +08:00
YiFang Xiao cae258272f opt: refactor folding auto-generate file 2023-07-06 07:49:48 +08:00
xiaoyifang af9563ad56
Merge pull request #923 from shenlebantongying/staged
misc fts fix
2023-07-02 12:24:19 +08:00
shenleban tongying ec566c4a3b
misc fts fixes
* config fts.enablePosition is not updated
 * update preferences layout
2023-07-01 23:41:05 -04:00
xiaoyifang 759246a86f
Merge pull request #920 from xiaoyifang/fix/status-2
fix: possible crash when show()
2023-07-02 10:00:45 +08:00
YiFang Xiao 9ab59d8713 fix: possible crash when show() 2023-07-02 08:37:28 +08:00
shenleban tongying e419962abc
doc: update fts related strings 2023-07-01 12:05:15 -04:00
xiaoyifang 2621fd694d
Merge pull request #917 from xiaoyifang/fix/statusbar
fix: statusbar crash  at some rare conditions
2023-07-01 22:59:04 +08:00