Commit graph

4472 commits

Author SHA1 Message Date
shenleban tongying dfc5d701ea fix(autoGroupByFolder): prepend upper level folder name when two
groups share same name but in different folder
2023-04-26 20:46:07 +08:00
shenleban tongying 867f6a2d82 docs: update linux package links 2023-04-26 14:02:11 +08:00
xiaoyifang a82ce2a86f opt: use unified cache dir
seperate the persistentstoragepath with cachepath
2023-04-26 07:45:48 +08:00
xiaoyifang 04260c1fbe fix: can not remove favorite word in popup
this bug was existed for a long time
2023-04-25 23:07:22 +08:00
xiaoyifang 1da5614d34
Merge pull request #507 from xiaoyifang/fix/issue-502-wstring
opt: Sorting through the use of strings
2023-04-25 23:06:35 +08:00
xiaoyifang 7261151eb6
Merge branch 'staged' into fix/issue-502-wstring 2023-04-25 22:33:47 +08:00
xiaoyifang 19889bfa9b opt:add a statusbar notification when finshed save article
fix #554
2023-04-25 22:22:30 +08:00
xiaoyifang a9d797ec42
Update README.md 2023-04-25 09:42:54 +08:00
xiaoyifang 3a52323f29 remove unnecessary string conversion 2023-04-25 08:28:40 +08:00
xiaoyifang f6a3fc205c
New Crowdin updates (#557)
* New translations zh_CN.ts (Slovak)

* New translations zh_CN.ts (Albanian)

* New translations zh_CN.ts (Swedish)

* New translations zh_CN.ts (Turkish)

* New translations zh_CN.ts (Ukrainian)

* New translations zh_CN.ts (Vietnamese)

* New translations zh_CN.ts (Spanish, Argentina)

* New translations zh_CN.ts (Spanish, Bolivia)

* New translations zh_CN.ts (Tajik)

* New translations zh_CN.ts (Turkmen)

* New translations zh_CN.ts (French)

* New translations zh_CN.ts (Spanish)

* New translations zh_CN.ts (Bulgarian)

* New translations zh_CN.ts (Czech)

* New translations zh_CN.ts (German)

* New translations zh_CN.ts (Greek)

* New translations zh_CN.ts (Finnish)

* New translations zh_CN.ts (Italian)

* New translations zh_CN.ts (Japanese)

* New translations zh_CN.ts (Korean)

* New translations zh_CN.ts (Lithuanian)

* New translations zh_CN.ts (Macedonian)

* New translations zh_CN.ts (Dutch)

* New translations zh_CN.ts (Polish)

* New translations zh_CN.ts (Portuguese)

* New translations zh_CN.ts (Russian)

* New translations zh_CN.ts (Serbian (Cyrillic))

* New translations zh_CN.ts (Chinese Simplified)

* New translations zh_CN.ts (Chinese Traditional)

* New translations zh_CN.ts (Portuguese, Brazilian)

* New translations zh_CN.ts (Persian)

* New translations zh_CN.ts (Hindi)

* New translations zh_CN.ts (German, Switzerland)

* New translations zh_CN.ts (Quechua)
2023-04-24 18:23:35 +08:00
xiaoyifang 130044b092 fix:clang-tidy warning 2023-04-24 15:55:32 +08:00
Xiao YiFang b68a70caa6 refactor wstring toWString
ref #506
2023-04-24 15:55:24 +08:00
Xiao YiFang c2f856c074 opt: Sorting through the use of strings
there are many string conversion in the system .some of them can be avoided .
2023-04-24 15:11:40 +08:00
xiaoyifang cb67c465a3 opt: use QTextStream to generate the BOM
when export headwords to file
2023-04-23 21:20:40 +08:00
xiaoyifang 084175f56f fix: code smell 2023-04-23 21:20:40 +08:00
xiaoyifang 11ea4bc799 opt: remove country.cc(.hh)
this file is only used in forvo functionality.  As country flag is about to removed in future PR.
remove these two files first
2023-04-23 13:45:11 +08:00
xiaoyifang 34652421be fix: refactor language.cc implementation
fix #535
2023-04-23 13:45:11 +08:00
xiaoyifang 8c415cb9a6 fix: code smell and format 2023-04-23 13:45:11 +08:00
xiaoyifang a810a56d0c opt: performance improve headword filter 2023-04-23 13:38:43 +08:00
xiaoyifang 21bab62263 fix : code smell 2023-04-23 13:38:43 +08:00
xiaoyifang 72fca59a92 fix: headword dialog filter and export
the wildcard and regex filter does not work as expected.

fix #556
2023-04-23 13:38:43 +08:00
shenleban tongying d0ae253c27 docs: various updates
* isolate Help related code into help.hh
* update website & README.md
2023-04-22 18:21:14 +08:00
YiFang Xiao d61dfaa8f3 fix: change contain-intrinsic-size to contain-intrinsic-height with auto value 2023-04-21 21:28:36 +08:00
shenleban tongying a8c898192f feat(group): Auto Grouping by Dict' Containning Folder 2023-04-21 15:38:09 +08:00
Xiao YiFang 1798025d0b opt: when in darkmode ,make the current article more significant
fix #493
2023-04-21 12:09:12 +08:00
xiaoyifang a5d6505765
fix: rename qt_*.ts in locale to distinguish between normal locale la… (#543)
* fix: rename qt_*.ts in locale to distinguish between normal locale language files.

also put qtwebengine_zh_CN.ts here to avoid windows script copying.

fix #533

* Update Readme.md
2023-04-21 09:36:26 +08:00
shenleban tongying 1a3bae3329 cleanup(css): remove 1x1 pixel <img> hack
When the code was written, there is no way to specify img's src, so
the 1x1 blank.png is a dummy img to be replaced.
2023-04-20 19:53:34 +08:00
shenleban tongying 3f3ba6eee1 refactor: reduce dependency on mainwindow.hh
* editdictionaries.cc and dictheadwords.cc doesn't actually need it
* fulltextsearch has a useless static_cast
2023-04-20 19:53:17 +08:00
Xiao YiFang 11e8a1b67d fix: ui resource file location has changed 2023-04-20 16:22:10 +08:00
Xiao YiFang 3cca0fa651 fix: interface language display in elide mode
fix #534
2023-04-20 16:22:10 +08:00
shenleban tongying fcbb5ae8a2 feat(singleApp): remove private QLockFile implementation
* QLockFile is part of Qt since 5.1
2023-04-20 16:21:05 +08:00
xiaoyifang 664d6b1483 opt: give a min-height to the last dictionary
fix #536
2023-04-20 12:43:35 +08:00
xiaoyifang a3331ef874 Update .gitignore 2023-04-20 07:24:39 +08:00
Xiao YiFang 003ac047a2 i18n: update zh_CN.ts 2023-04-19 22:33:31 +08:00
Xiao YiFang 92cb1c1157 clean: remove unused options.ui file
fix #541
2023-04-19 22:02:17 +08:00
shenleban tongying 747ebf3a82 feat(cmake): various updates
* recursive file including
* with xapian
* use iconv
* feature summary
2023-04-18 17:38:48 +08:00
shenleban tongying 5c5db459b5 feat(cli): implement --toggle-scan-popup command line option 2023-04-18 17:36:42 +08:00
shenleban tongying 30fcaae433 feat(cli): skip commandline parsing when no args 2023-04-18 17:36:42 +08:00
Xiao YiFang 14c4366839 fix: when input word in translateline and press Enter
can not type word directly again.

fix:#185
2023-04-18 16:08:32 +08:00
Xiao YiFang 75b0a92be7 fix: remove unused windowsstyle.cc(.hh)
fix #512
2023-04-18 16:04:54 +08:00
xiaoyifang 0fd1319013 Update Crowdin configuration file 2023-04-18 15:34:37 +08:00
xiaoyifang 9786120a6f
Merge pull request #519 from xiaoyifang/fix/issue-516
clean: remove gdappstyle file
2023-04-18 14:47:47 +08:00
xiaoyifang 59d7a37bff Update Crowdin configuration file 2023-04-18 14:29:02 +08:00
Xiao YiFang e6cd18e1b3 clean: remove gdappstyle file
fix #516
2023-04-18 10:31:39 +08:00
xiaoyifang 57e5e707c2
Merge pull request #520 from shenlebantongying/work/recrusive_qmake_build
Restructure Source Tree
2023-04-18 10:21:46 +08:00
shenleban tongying 9589a67789
refactor: move more files into /src/common/ 2023-04-17 21:35:15 -04:00
shenleban tongying 088e34a763
refactor: move scripts.qrc into /src/scripts 2023-04-17 21:26:05 -04:00
shenleban tongying 31e888eaf7
fix: remove unused CHANGES.md and conanfile.txt 2023-04-17 21:09:46 -04:00
shenleban tongying bb566013b6
fix: qmake build 2023-04-17 21:06:59 -04:00
shenleban tongying 59969277d1
refactor: move macOS info.plist to /redist/ 2023-04-17 20:55:32 -04:00