Commit graph

725 commits

Author SHA1 Message Date
YiFang Xiao 80c30b3c54 style: code format 2023-07-12 09:50:55 +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
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
YiFang Xiao e971d2be67 opt: dsl target url 2023-07-01 14:08:48 +08:00
YiFang Xiao 45a71d1fdf fix: tts only enable current locale
too many locale tts initialization cost too much time.
2023-06-28 10:59:39 +08:00
shenleban tongying fa27f32146
clean: unify how data added to dataRequestInstant 2023-06-24 17:36:10 -04:00
YiFang Xiao 8628a12e5f fix:dsl language parse issue
fix #902
2023-06-24 20:44:29 +08:00
xiaoyifang a878e725f2
fix: code smells in group widget (#901)
* fix: code smells in group widget

* 🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-24 15:30:20 +08:00
xiaoyifang 5d3f1a3e3d
Merge pull request #899 from shenlebantongying/datareq_append_str
clean: unify DataRequest string data appends
2023-06-24 14:28:01 +08:00
xiaoyifang 6a9ed739e8
Merge pull request #900 from shenlebantongying/xdxf_fix
feat: XDXF: distinguish `ex_orig` and `ex_tran`
2023-06-24 09:56:19 +08:00
shenleban tongying 48f2c94d0c
feat: XDXF: distinguish ex_orig and ex_tran
* this will make xdxf_ex_marked to inherit color, thus don't set it
to black.
2023-06-23 14:35:49 -04:00
shenleban tongying e06606ba3c
clean: unify DataRequest string data appends 2023-06-23 12:23:32 -04:00
YiFang Xiao 43c2cfdd65 fix: group widget null check 2023-06-23 09:28:35 +08:00
YiFang Xiao 2359352781 fix: editDictionaries tab interaction 2023-06-23 09:28:35 +08:00
YiFang Xiao aa94af4382 fix: fix double release pointer 2023-06-23 09:28:35 +08:00
YiFang Xiao 4d452e7a63 fix: tts null check 2023-06-23 09:28:35 +08:00
YiFang Xiao f909413caa fix: code smells 2023-06-23 09:28:35 +08:00
YiFang Xiao 0a9a053945 opt: enable breakpad on macos
action: add macos breakpad workflow

action: breakpad

action: breakpad

action: breakpad dmg

action: breakpad

action: macos breakpad action does not need to build automatically
2023-06-23 09:28:35 +08:00
YiFang Xiao 3b935e7660 fix: possible null object
refactor: group widget currentindex logic
2023-06-22 21:30:30 +08:00
xiaoyifang ef594117c3
opt: group widget remove all tabs (#892)
* opt: remove all group widget tabs

* 🎨 apply clang-format changes

* opt: does not elide text on tab name

* 🎨 apply clang-format changes

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-22 17:17:57 +08:00
xiaoyifang 04a58d6418
opt: dsl remove useless method and refactor langcodes logic (#889)
* opt: dsl remove useless method and refactor langcodes logic

* 🎨 apply clang-format changes

* opt: remove useless code

---------

Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-21 20:47:49 +08:00
xiaoyifang 93d475cc32
Merge pull request #882 from xiaoyifang/opt/unify-windows-icon
opt: unify windows icon
2023-06-20 13:43:25 +08:00
xiaoyifang a0d8c50a52
Merge pull request #881 from shenlebantongying/macOS_slot
fix: macOS missing slot warning
2023-06-20 09:54:40 +08:00
YiFang Xiao 7f0cb26cda opt: unify windows icon 2023-06-20 08:31:44 +08:00
shenleban tongying ffe88499bb fix: macOS missing slot warning 2023-06-19 20:17:58 -04:00
shenleban tongying 4432de9d50
clean: remove duplicated exCantReadFile definitions
Obviously, it is a result of copy-paste programming
2023-06-19 18:54:17 -04:00
shenleban tongying a76ef3dfdd
guard against null img for ZIM 2023-06-19 05:01:27 -04:00