Commit graph

5786 commits

Author SHA1 Message Date
xiaoyifang 93ca284bad
opt: refactor code (#1657)
* opt: refactor code

* [autofix.ci] apply automated fixes

* opt: refactor code

* opt: refactor code

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-10 13:47:53 +08:00
shenleban tongying c42a79c7d4 opt: retire qmake build 2024-07-09 23:41:36 -04:00
xiaoyifang 8ae6a50f41
Update developer.md 2024-07-10 10:57:39 +08:00
xiaoyifang 490c73df38
Update developer.md 2024-07-10 10:47:05 +08:00
xiaoyifang d0965eb06e
Update developer.md 2024-07-10 10:46:16 +08:00
shenleban tongying ea8bc6056b actions: revert windows PR check from vcpkg to winlibs 2024-07-09 16:40:49 -04:00
shenleban tongying 53e09217c3
set same build type of windows RP check and release 2024-07-09 15:06:15 -04:00
shenleban tongying 287e608174 revise github workflows 2024-07-09 14:43:51 -04:00
xiaoyifang dcf4ff3dea
Merge pull request #1653 from xiaoyifang/opt/remove-unused
opt: remove unused code
2024-07-09 08:20:12 +08:00
shenlebantongying 61e1be9517 feat: switch Windows release build to CMake + vcpkg 2024-07-08 12:23:23 -04:00
xiaoyifang 7669316bcd
opt: do not show dictionary menu when set the dictionary count=0 (#1652)
* opt: do not show dictionary menu when set the dictionary count=0

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-08 17:51:51 +08:00
Xiao Yi Fang 9eece8db28 opt: remove unused code 2024-07-08 17:51:10 +08:00
xiaoyifang 6486e7b57c
opt: unicode direction (#1646)
* opt: unicode direction

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-06 21:57:40 +08:00
xiaoyifang c4fa9b44e5
fix: set shortcut context (#1644)
* fix: work around to fix ctrl+F in macos popup
2024-07-06 21:57:18 +08:00
xiaoyifang 456f7f1aaf
New Crowdin updates (#1647)
* New translations French from Crowdin

* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

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

* New translations Lithuanian from Crowdin

* New translations Macedonian from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Russian from Crowdin

* New translations Slovak from Crowdin

* New translations Albanian from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Swedish from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Persian from Crowdin

* New translations Spanish, Argentina from Crowdin

* New translations Hindi from Crowdin

* New translations Esperanto 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 Arabic, Saudi Arabia from Crowdin

* New translations Turkmen from Crowdin
2024-07-06 21:56:42 +08:00
xiaoyifang 6cb7be70ec
Merge pull request #1645 from xiaoyifang/opt/rtl-layout
opt: layout according to the language
2024-07-06 17:56:53 +08:00
xiaoyifang 5780bdbbb1
fix: status bar position (#1643)
* fix: statusbar rarely will be blocked by the webview.
---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-06 13:23:22 +08:00
YiFang Xiao 0721a58c01 opt: layout according to the language 2024-07-06 10:51:40 +08:00
xiaoyifang 297795a654
fix: refresh webview when changed darkreader mode (#1641)
* fix: refresh webview when changed darkreader mode

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-05 10:55:08 +08:00
xiaoyifang 66dd9b98f2
New Crowdin updates (#1639)
* New translations French from Crowdin

* New translations Spanish from Crowdin

* New translations Belarusian from Crowdin

* New translations Bulgarian from Crowdin

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

* New translations Lithuanian from Crowdin

* New translations Macedonian from Crowdin

* New translations Dutch from Crowdin

* New translations Polish from Crowdin

* New translations Portuguese from Crowdin

* New translations Russian from Crowdin

* New translations Slovak from Crowdin

* New translations Albanian from Crowdin

* New translations Serbian (Cyrillic) from Crowdin

* New translations Swedish from Crowdin

* New translations Turkish from Crowdin

* New translations Ukrainian from Crowdin

* New translations Chinese Simplified from Crowdin

* New translations Chinese Traditional from Crowdin

* New translations Vietnamese from Crowdin

* New translations Portuguese, Brazilian from Crowdin

* New translations Persian from Crowdin

* New translations Spanish, Argentina from Crowdin

* New translations Hindi from Crowdin

* New translations Esperanto from Crowdin

* New translations Lojban 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 Arabic, Saudi Arabia from Crowdin

* New translations Turkmen from Crowdin

* New translations Interlingue from Crowdin
2024-07-05 08:44:52 +08:00
xiaoyifang 922b7c39c6
opt: popup focus (#1635)
* opt: windows title

* opt: popup focus

* opt: windows title

* [autofix.ci] apply automated fixes

* opt: popup articleview setting

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-05 08:44:36 +08:00
xiaoyifang 7252e7b86e
fix: darkreader mode refresh (#1638)
* fix: refresh webview when changed darkreader mode
2024-07-05 08:44:03 +08:00
YiFang Xiao 1b75278130 i18n: update translations 2024-07-04 22:43:41 +08:00
Xiao Yi Fang ca4d59b306 fix: mdx title should be respected 2024-07-04 16:27:42 +08:00
Xiao Yi Fang 2053511856 opt: remove explict RTL elide mode settings of text layout 2024-07-03 20:21:47 +08:00
xiaoyifang 932b88f743
opt: dictionarygroup refactor in articleview (#1625)
* opt: refactor dictionary logic to seperate class


---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-03 15:16:53 +08:00
shenlebantongying fe2aa0638e feat: breakpad support for cmake/vcpkg build 2024-07-03 11:29:45 +08:00
Xiao Yi Fang b0fb5d2f87 remove debug log 2024-07-03 11:29:29 +08:00
Xiao Yi Fang 89daa70b6b Revert "clean: remove useless code and refactor"
This reverts commit 3a46dd290b.

the changes is not exactly the same.
close the last tab will cause the windows to create a new blank tab which will fall into infinite loop
2024-07-03 11:29:29 +08:00
Xiao Yi Fang 8b67a9bd7e opt: macos add qt6.6.3 release 2024-07-03 11:00:37 +08:00
xiaoyifang ddb9203e34
fix: full text search navigation panel (#1623)
* fix: full text search navigation panel

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-01 22:51:57 +08:00
xiaoyifang d30de48fa8
opt: suppress url title (#1619)
* opt: suppress url title

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-27 18:01:15 +08:00
xiaoyifang 08a952205c
opt: remove address sort function as fts indexing does not need this anymore (#1620) 2024-06-27 18:00:31 +08:00
xiaoyifang 585866f92a
fix: fts search ,highlight mark (#1621)
* fix:mark the searched terms

* fix:mark the searched terms

* fix:mark the searched terms
2024-06-27 18:00:06 +08:00
xiaoyifang 15cb327bbd
opt: rewrite keymodifier (#1614)
* opt: rewrite keyboardstate.cc


---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-26 15:58:42 +08:00
xiaoyifang c4caec7d68
opt: headwords dialog (#1600)
* opt: headword dialog optimization

Changes:

- when the headword count < 500000(arbitrary number) ,load all at once.
- opt: remove unused signal
-  headword dialog ui add max filter results


---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-25 15:24:33 +08:00
xiaoyifang fba8fd2263
Merge pull request #1613 from xiaoyifang/opt/remove-too-old
remove Q_WS_QWS macro
2024-06-24 21:18:47 +08:00
Xiao Yi Fang 9db7b04dd0 remove Q_WS_QWS macro 2024-06-24 16:05:41 +08:00
xiaoyifang c82db14ea7
opt: respect maxResult parameter (#1611)
* opt: respect maxResult parameter

* opt: respect maxResult parameter

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-24 13:33:47 +08:00
YiFang Xiao 2b9d17251b fix: articleview mainwindow ,fulltextsearch remove QRegExp 2024-06-23 12:47:41 +08:00
YiFang Xiao 76f9e82a31 fix: dictheadword remove QRegExp 2024-06-23 12:47:41 +08:00
Xiao Yi Fang 6d863d9770 opt: stardict replace QRegExp with QRegularExpression 2024-06-23 12:47:41 +08:00
autofix-ci[bot] fd94f31209 [autofix.ci] apply automated fixes 2024-06-23 12:47:41 +08:00
Xiao Yi Fang a3d7c89563 opt: hunspell replace QRegExp with QRegularExpression 2024-06-23 12:47:41 +08:00
Xiao Yi Fang ff6424a291 opt: xdxf replace QRegExp with QRegularExpression 2024-06-23 12:47:41 +08:00
Xiao Yi Fang f87156d265 opt: stardict replace QRegExp with QRegularExpression 2024-06-23 12:47:41 +08:00
Xiao Yi Fang 2b8e46a03a opt: remove unused qregexp 2024-06-23 12:47:41 +08:00
Xiao Yi Fang 0bd6a6083c opt: remove unused qregexp 2024-06-23 12:47:41 +08:00
shenleban tongying 17ff4a3eff
Merge pull request #1608 from GD-fix/staged
feature: Update xdxf.cc to support "dict.bmp" icons
2024-06-22 05:20:47 -04:00
shenleban tongying e8186a5645
update XDXF doc 2024-06-22 05:13:04 -04:00