Commit graph

583 commits

Author SHA1 Message Date
YiFang Xiao 821cceef1d fix: log-to-file does not work in multithread 2023-05-14 07:32:01 +08:00
xiaoyifang 6e52ae601f opt: refactor log file write 2023-05-14 07:32:01 +08:00
YiFang Xiao 967926cee4 fix: press enter the article view does not get the focus
fix #660
2023-05-13 22:57:08 +08:00
YiFang Xiao 85f3e249f0 fix: remove code smell 2023-05-13 22:44:03 +08:00
YiFang Xiao dfd8112f76 fix: multi monitor issue
taken the changes from From 83020389c8
2023-05-13 22:44:03 +08:00
YiFang Xiao 3265912b28 fix: enable font antialias
fix #315
2023-05-13 14:37:49 +08:00
YiFang Xiao 837f8bcaf8 fix: code smell 2023-05-13 12:39:36 +08:00
YiFang Xiao 60d26e0e0f fix: the scanpopup found dictionaries mixed with mainwindows
fix #677
2023-05-13 12:39:36 +08:00
YiFang Xiao 301db81bd4 opt: move auto release guard to the variable
by this way, developer will have a more clear view about what will happen when released
2023-05-12 16:59:52 +08:00
YiFang Xiao be8331afa8 opt: inspector debug message changes 2023-05-12 16:59:52 +08:00
YiFang Xiao 91a5696361 opt: no need to throw warning when invoke RegisterHotKey 2023-05-12 16:59:52 +08:00
YiFang Xiao d1f5024b2b fix: add default value to js gdMakeArticleActive invoke 2023-05-12 09:20:19 +08:00
YiFang Xiao 3a24a43410 fix: when use arrow key in foundDictionaryPanel ,jump to the target dictionary 2023-05-11 18:43:02 +08:00
yifang xiao 2b72e14b55 fix: phrase send from scanpopup should not escape again
fix #626
2023-05-11 07:08:02 +08:00
yifang xiao b495a1006f opt: only enable highlight dictionary name on modern style 2023-05-09 12:32:09 +00:00
YiFang Xiao 9c22e7bb21 clean: remove useless comment 2023-05-09 06:16:41 +08:00
xiaoyifang f25bee96e5 fix:startdict parse html incorrect
stardict/xdxf use QDomDocument to parse the html. which result with incorrect html structure.
2023-05-09 06:16:41 +08:00
xiaoyifang c11cff46f0 opt:style changes 2023-05-09 06:16:41 +08:00
YiFang Xiao 482379e5c7 opt: the relative position will make the absolute position work as expected 2023-05-08 13:27:01 +08:00
xiaoyifang eee71f6cdf opt: remove unneccessary translation and QString conversion 2023-05-08 00:31:21 +08:00
xiaoyifang e8b5e8d19a opt : add padding to modern style 2023-05-07 16:54:15 +08:00
xiaoyifang ce8f5eeb7f fix:use a different socketname 2023-05-06 18:14:08 +08:00
xiaoyifang bbec4685f8 fix:epwing navigation reference to invalid position 2023-05-05 08:24:00 +08:00
xiaoyifang 2f22aa1580 fix:qtexttospeech crash when initialized 2023-05-03 08:59:45 +08:00
xiaoyifang 27f15f26ea opt: refactor code to conform to style 2023-05-02 15:53:41 +08:00
xiaoyifang c969418497 feat: add breakpad crash support 2023-05-02 15:53:41 +08:00
shenlebantongying 3dd0c83794 fix: other words chopped because url chopping doesn't check condition. 2023-05-02 12:59:48 +08:00
shenleban tongying 6bbb4d9971 feat(metadata): abstract metadata loader 2023-04-30 14:42:49 +08:00
xiaoyifang cce633b2cc opt:refactor an implict string conversion to a purposeful name
fix #586
2023-04-30 13:45:11 +08:00
xiaoyifang 42ac21af61 opt: enable pronounce button when audio is available
close #598
2023-04-30 12:01:27 +08:00
shenleban tongying ab54b72da4 fix: misc fix for auto groups by metadata.toml
* fix a crash when the type is not string
* update docs
2023-04-30 00:20:28 +08:00
xiaoyifang 94759ffb58 opt: add group by metadata
close #612
2023-04-29 20:43:27 +08:00
xiaoyifang 50cf0a948e fix:epwing narrow font display incorrectly
fix goldendict/goldendict#1244
2023-04-29 20:28:06 +08:00
shenleban tongying 70fd2d18f8 clean: use new Signal Slot syntax 2023-04-29 19:15:43 +08:00
shenleban tongying 6498bd4f17 clean: convert navPronounce connect to new syntax 2023-04-29 19:15:19 +08:00
xiaoyifang cfe1a1c8c0 opt: simple case folding 2023-04-29 18:21:42 +08:00
xiaoyifang b0f35b4f14 opt: replace Folding::normalizeWhitespace with QString::simplified 2023-04-29 18:21:42 +08:00
xiaoyifang b8d4d49f54 opt: Folding::trimWhiteSpace refactor
add a new method which accept QString .
modern c++ style format
2023-04-29 18:21:42 +08:00
xiaoyifang 93c3bdc007 opt:reduce string conversion 2023-04-29 18:21:42 +08:00
xiaoyifang e52e8e5195 opt:language does not display icon 2023-04-29 18:09:04 +08:00
xiaoyifang 325c3fb0bb opt: replace qthreadpool with qfuture
relate #515
2023-04-29 18:08:39 +08:00
xiaoyifang 28d33ed39f opt: relayout the preference language controls
fix #602
2023-04-29 11:23:14 +08:00
xiaoyifang 7f6409c05a opt:qtsingleapplication remove old code 2023-04-29 08:20:16 +08:00
xiaoyifang dbe04db7f5 opt: move fsencoding to utils.hh(.cc)
after multi refactor ,the fsencoding only left two methods and has nothing to do with encoding . Base on this condition  ,move the method to utils
2023-04-29 00:56:22 +08:00
shenleban tongying 933c8aea58 fix(scanpopup): preserve old group selection after editDictionaries
dialog
2023-04-29 00:55:56 +08:00
xiaoyifang ed4273e540 opt:refactor html:unescape method
close #579
2023-04-28 21:21:38 +08:00
shenleban tongying 3550362cac fix: add standard FindNext/Previous shortcuts to search panel
* Ctrl+G & Ctrl+Shift+G or F3 & Shift+F3 depends on platform.
2023-04-28 20:11:15 +08:00
xiaoyifang 2f6cb3c5d8 opt: replace wildcardtoregularexpression with qt builtin method
ref #502
2023-04-28 13:39:22 +08:00
xiaoyifang f84ddfc38c opt:refactor folding.cc methods with qt's builtin method
fix #592
2023-04-28 13:38:59 +08:00
shenleban tongying 9716acb2ee feat: add dict:// handler to linux
* Remove any thing before first occurance of ://
* so that user may add custom handler by just changing the .desktop file
2023-04-27 23:00:24 +08:00