Commit graph

5384 commits

Author SHA1 Message Date
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
xiaoyifang 82f0f841eb
Merge pull request #948 from xiaoyifang/fix/website-qt5
fix: qt5 website output response as text/plain
2023-07-09 11:30:52 +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
xiaoyifang d6a64bea7e
New Crowdin updates (#943)
* New translations Czech from Crowdin

* New translations Korean from Crowdin

* New translations Esperanto from Crowdin

* New translations Hindi from Crowdin

* New translations Albanian from Crowdin

* New translations Arabic, Saudi Arabia from Crowdin

* New translations French 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 German, Switzerland from Crowdin

* New translations Quechua from Crowdin

* New translations Aymara from Crowdin

* New translations Interlingue from Crowdin

* New translations Russian from Crowdin

* New translations Swedish from Crowdin

* New translations Persian 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 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 Spanish, Argentina from Crowdin

* New translations Spanish, Bolivia from Crowdin
2023-07-08 20:07:45 +08:00
xiaoyifang 23bc1422e9
Merge pull request #942 from xiaoyifang/fix/website-encoding
fix: website encoding problem
2023-07-08 20:07:12 +08:00
xiaoyifang f52e998524
Update how to use breadpad crash analysis.md 2023-07-08 13:54:52 +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
xiaoyifang 8103201789
Merge pull request #940 from xiaoyifang/fix/splash-windows
fix: splash windows optimization
2023-07-08 10:43:59 +08:00
YiFang Xiao 5ec1a66d91 fix: splash windows optimization 2023-07-08 08:59:42 +08:00
xiaoyifang 9e994260be
Merge pull request #938 from xiaoyifang/fix/audio-extension
fix: sounddir audio extension
2023-07-08 00:27:31 +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
xiaoyifang d9b81e7a68
Merge pull request #929 from xiaoyifang/fix/query-hypen
fix: when search hypen `-` alone will result too much unnecessary result.
2023-07-06 17:07:05 +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
xiaoyifang ff0a3a2e0e
Merge pull request #934 from shenlebantongying/staged
update documentation
2023-07-06 15:00:09 +08:00
shenleban tongying 65ebdf0e4c
doc: updates
* use repology.org to replace manually created linux package list [0]
* update debian/ubuntu dependencies (delete outdated fedora one)
* update all build doc to qt6
* add cmake flags info
* merge all build instructions into one
* add more ocr examples
* add links and fix dictionary formats info
* misc
2023-07-06 01:23:51 -04:00
xiaoyifang 94a2ce23ed
Merge pull request #933 from xiaoyifang/fix/folding-refactor
opt: refactor folding auto-generate file
2023-07-06 09:41:09 +08:00
YiFang Xiao cae258272f opt: refactor folding auto-generate file 2023-07-06 07:49:48 +08:00
xiaoyifang 07615d9d9b
New Crowdin updates (#932)
* New translations Chinese Simplified from Crowdin

* New translations Chinese Traditional 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 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 Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Tajik from Crowdin
2023-07-05 11:03:13 +08:00
xiaoyifang 7b5947a3a8
Merge pull request #924 from shenlebantongying/staged
docs: simplify unnecessary tech info in the release page
2023-07-02 17:51:11 +08:00
shenleban tongying 223d945f95
docs: simplify release page 2023-07-02 04:09:20 -04: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
YiFang Xiao d2fbacdd1a doc: add document about how to update crowdin.ts 2023-07-02 10:12:37 +08:00
xiaoyifang 4a17dff7a1
New Crowdin updates (#921)
* 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

* 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 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 Tajik from Crowdin

* New translations Quechua from Crowdin

* New translations Aymara from Crowdin

* New translations Turkmen from Crowdin
2023-07-02 10:02:57 +08: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 87cb5323be i18n: update translation files 2023-07-02 08:54:12 +08:00
YiFang Xiao 9ab59d8713 fix: possible crash when show() 2023-07-02 08:37:28 +08:00
xiaoyifang 7696f47a44
Merge pull request #919 from shenlebantongying/staged
doc: update fts related strings
2023-07-02 01:32:38 +08:00
shenleban tongying e419962abc
doc: update fts related strings 2023-07-01 12:05:15 -04:00
xiaoyifang c99c289e3c
New Crowdin updates (#918)
* New translations Czech from Crowdin

* New translations Korean 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 Russian from Crowdin

* New translations Chinese Simplified 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 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

* New translations Chinese Simplified from Crowdin

* New translations Chinese Traditional from Crowdin
2023-07-01 23:32:47 +08: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
xiaoyifang 8b88ea544e
opt: add fullindex position (#916)
* opt: enable fulltext with position info

* opt: add fulltext position support

* 🎨 apply clang-format changes

* i18n: update translation entries

* opt: default enablePosition=false

* opt: fulltext search highlight

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-07-01 22:39:43 +08:00
YiFang Xiao ed8072d78f fix: statusbar at some rare conditions crash
the stacktrace show the line is parentWidget().
avoid using this the parentWidget() method.
2023-07-01 22:33:58 +08:00
xiaoyifang beab8e8e39
Merge pull request #915 from xiaoyifang/opt/dsl-target
opt: dsl target url attribute
2023-07-01 17:55:55 +08:00
YiFang Xiao e971d2be67 opt: dsl target url 2023-07-01 14:08:48 +08:00