Commit graph

4347 commits

Author SHA1 Message Date
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
shenleban tongying 7127539f29
refactor: move remaining C files into /src/ 2023-04-17 20:52:05 -04:00
shenleban tongying 491fbbfd87
refactor: move flags into /icons/ 2023-04-17 20:44:50 -04:00
shenleban tongying 03af31c6fc
refactor: move common/base/utils into /src/common/ 2023-04-17 20:41:47 -04:00
shenleban tongying b602bc0e9f fix(qmake): macOS build 2023-04-17 20:00:36 -04:00
shenleban tongying 0fbfb1f36c
refactor: move runtime scripts and flags into /src/ 2023-04-17 19:49:52 -04:00
shenleban tongying 8b8ad5d23d
refactor: move all ui related files to /src/ui/ 2023-04-17 19:11:58 -04:00
shenleban tongying 94293f1ccc
refactor: move DICT dictd and mdict parser to /src/dict/ 2023-04-17 18:51:08 -04:00
shenleban tongying b1828a4f9b
refactor: move epwing files to src/dict 2023-04-17 18:36:29 -04:00
shenleban tongying 49d852087d
fix: linux qmake build 2023-04-17 18:18:28 -04:00
shenleban tongying 697b2f9cd1
refactor: move left over .cc/.hh files to src/ 2023-04-17 17:56:55 -04:00
shenleban tongying 129345613e
refactor: Move all .cc/.hh files to src/ 2023-04-17 17:17:36 -04:00
shenleban tongying 7feb883408
refactor: move all dictionary parsers to /src/dict/
If a file contains `makeDictionaries` then it belongs to there
2023-04-17 16:55:34 -04:00
shenleban tongying 2f9f09bb9f
refactor: unify source extensions to .cc and .hh 2023-04-17 16:17:03 -04:00
shenleban tongying 20230542d6
refactor: move none c++ source files into src/ 2023-04-17 13:40:05 -04:00
YiFang Xiao cfff9cd026 rename repository name
and changes some corresponding goldendict reference.
related #489
2023-04-18 01:13:02 +08:00
shenleban tongying 3ff6b6a8ee feat(help): replace QtHelp with website
* Nobody wants to update .qch files
2023-04-17 14:40:29 +08:00
shenleban tongying ca6deac59b feat(website): initial proper website 2023-04-17 07:12:04 +08:00
Xiao YiFang 9d3c76cf48 fix: remove unused files
#502
remove sapi.hh
remove processwrapper.cc(hh)
2023-04-16 18:09:12 +08:00
Xiao YiFang 59327959a8 clean: qtextcodec is going to be deprecated
The convert function is limited compared to iconv
qtextcodec can not cover the common usage of goldendict .
the test can be deleted.
2023-04-16 15:04:09 +08:00
shenleban tongying cd40bfa7d3 feat: remove LibTIFF dependency
* Qt already have built-in support for them
* remove qmake option no_extra_tiff_handler
2023-04-16 13:01:26 +08:00
Xiao YiFang bcca3e7ec2 fix: findEndOfCloseDiv does not work as always
if the start div is <div> ,the actual result will has an extra html closed tags .
2023-04-16 11:46:26 +08:00
Xiao YiFang ec1ba5b0f0 action: change windows-latest to windows-2022 to have a more meaningful name 2023-04-16 09:14:59 +08:00
Xiao YiFang a840a99e5c clean: replace the string with rawstring
replace some html make section with rawstring to achieve a more clear readability
2023-04-16 00:24:11 +08:00
Xiao YiFang 9fe2e136da clean: remove code smell 2023-04-16 00:23:51 +08:00
Xiao YiFang 2a7892836e feat: session collapsable feature support
when enabled , user's manual collapsed dictionary will remain collapsed in the successive search until user expand the dictionary again.
2023-04-16 00:23:51 +08:00