Commit graph

4432 commits

Author SHA1 Message Date
Xiao YiFang 54a4a052a5 fix:code smell 2023-04-10 22:41:33 +08:00
Xiao YiFang 6dee7cf1e9 remove resize event code
this part of changes is from https://github.com/xiaoyifang/goldendict/pull/415#discussion_r1145639728
2023-04-10 22:41:33 +08:00
YiFang Xiao bb1e0de74a update CaseFolding.txt and generate inc_case_folding.hh 2023-04-10 22:40:57 +08:00
Xiao YiFang 7402dcdd6a clean:remove std::wstring
std::wstring is not a proper implemention on Windows, will face cross platform issues
2023-04-10 22:02:43 +08:00
shenleban tongying 880bf4813b feat: display exception name when unhandled exception got thrown 2023-04-10 14:10:57 +08:00
Xiao YiFang 21fa719c03 style: minor css changes 2023-04-09 19:41:41 +08:00
Xiao YiFang 8ca51e95c7 style:lingoes style dictionary name minor change
remove dictionary name's css border
2023-04-09 18:58:08 +08:00
Xiao YiFang c472b2cb71 fix:code smell 2023-04-09 12:42:32 +08:00
Xiao YiFang 1996af61a6 fix: mdx dictionary entry://#hashtag navigation 2023-04-09 12:42:32 +08:00
Xiao YiFang c2e2b3a849 fix:display dictionary info in the dictionary tab as html 2023-04-09 12:10:17 +08:00
xiaoyifang 15219eeb72 add repository notes in the Readme.md 2023-04-08 14:52:41 +08:00
Xiao YiFang 4ffff72698 epwing:replace qthreadpool with qtconcurrent 2023-04-08 14:25:57 +08:00
Xiao YiFang f69f248c00 fix: code smell 2023-04-08 14:25:57 +08:00
Xiao YiFang c527588209 epwing: add Synonym search 2023-04-08 14:25:57 +08:00
xiaoyifang 7ef4a5dc64 clean code:remove useless code in js 2023-04-07 22:23:51 +08:00
xiaoyifang 16cc44c552 action:windows add more arch support 2023-04-07 22:23:50 +08:00
shenleban tongying b4ea2ef3db feat: reimplement command line with QCommandLineParser 2023-04-06 13:43:02 +08:00
xiaoyifang c8003b5408 action:add windows latest action 2023-04-06 10:21:25 +08:00
GenjiFujimoto 16943ccab1 Add ankicard link and button
make selectedText const

add a new keyboard shortcut: ctrl+shift+n to make a card

if word is empty, warn and exit

rename

return after ankisearch

remove temp vars

change the anki action's text depending on selected text

reformat article maker

the anki button is shown under the heading

revert to the previous way of constructing gddictname

to reduce size of the diff
2023-04-06 09:06:57 +08:00
Xiao YiFang 25daf37f65 action:on linux ,the xapian package name may need to change accordingly 2023-04-04 09:30:38 +08:00
xiaoyifang 58a1f9b17f fix: iframe encoding error on certain website dictionaries 2023-04-03 17:49:34 +08:00
xiaoyifang 51b46ca057 action:macos xapian support 2023-04-03 11:47:53 +08:00
Xiao YiFang c59a29b747 bump alpha version 2023-04-03 07:33:54 +08:00
Xiao YiFang 25f101f112 action:add ubuntu xapian release 2023-04-03 07:33:54 +08:00
xiaoyifang 96c7a1285f
Update formats.html
update document for formats
2023-04-01 13:57:26 +08:00
xiaoyifang e6e9fe19d1
Update README.md 2023-04-01 13:53:12 +08:00
Xiao YiFang 6e984feb38 set Origin header 2023-04-01 09:15:07 +08:00
xiaoyifang cf26b33bde
Update issue-translator.yml 2023-03-31 18:16:06 +08:00
shenleban tongying eeff42581d cleanup: compress all svg files
for name in (fd --extension svg --max-depth 1)
    scour -i $name -o (pwd)/out/$name --strip-xml-prolog --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata  --remove-descriptions --remove-titles --indent=none
end
2023-03-31 09:21:58 +08:00
Xiao YiFang 5ea4e8dce7 action:ubuntu can not found speechd
action:ubuntu can not found speechd
2023-03-30 14:41:40 +08:00
xiaoyifang 8349295b00 fix: rewrite atEnd function
take the code from vedgy's webengine port
2023-03-30 14:41:39 +08:00
Xiao YiFang 9437579d24 use nonblock datarequest 2023-03-29 23:16:17 +08:00
Xiao YiFang c91cd84bb7 when add the tts engine,disable it in the availabe engine list 2023-03-29 23:16:01 +08:00
Xiao YiFang 2407cf2a88 use QTextToSpeech module to play tts.
fix code smells
2023-03-29 23:16:01 +08:00
Xiao YiFang e0831bf36c action:add texttospeech module 2023-03-29 23:16:01 +08:00
Ren Tatsumoto 7f36e89a1b update translations 2023-03-29 22:37:42 +08:00
xiaoyifang 6e73c8e4e8 Update README.md 2023-03-29 08:59:13 +08:00
xiaoyifang 16bdf2ac6c fix: when in dark reader mode, the transparent image has a very bad display 2023-03-28 17:18:08 +08:00
shenleban tongying f9cd4eb9e8 fix: adjust clang-format to reflect the reality 2023-03-27 18:36:04 +08:00
xiaoyifang 83f299bbc3 fix: a possible bug
at rare conditions ,  the for loop will continue to run until the request is canceled.
2023-03-27 13:14:47 +08:00
Xiao YiFang e84b5aa861 feature:webengineprofile use non off record profile 2023-03-27 12:29:13 +08:00
Xiao YiFang da406e1e02 fix:remove code smell 2023-03-27 12:23:48 +08:00
Xiao YiFang 6abdaab5d3 fix: mdx file not found exception 2023-03-27 12:23:48 +08:00
xiaoyifang 91d539b105
Update issue-translator.yml 2023-03-26 08:17:41 +08:00
Xiao YiFang 0ae8caefac add help documents
taken from https://github.com/Abs62/goldendict-help
2023-03-26 00:13:19 +08:00
xiaoyifang e2e2b10b0f
Update issue templates 2023-03-25 15:04:46 +08:00
Ren Tatsumoto 7fc2d64cd8
give external programs access to translateLine via %GDSEARCH% (#417)
* give external programs access to translateLine via %GDSEARCH%

* remove code smell

* reformat with clang-format

* update translations

* don't write to stdin of an external program if GDSEARCH is set

* update ui docs
2023-03-24 19:52:38 +08:00
xiaoyifang 75593e4487
Update issue-translator.yml 2023-03-24 16:36:35 +08:00
Ren Tatsumoto 3173a13493 replace magic number 2023-03-23 07:58:48 +08:00
Ren Tatsumoto 94fefe8ce9 use raw string in post template 2023-03-23 07:58:48 +08:00