Commit graph

3615 commits

Author SHA1 Message Date
ngn999 823baf135f make all macOS dependencies universal in maclibs/
* ffmpeg 5.0.1 build with: ./configure  --disable-programs --disable-swscale --disable-avdevice --disable-avfilter --enable-shared  --disable-xlib
* arm64 libraries build on my M1 Macbook Pro, and x86_64 build on github action
* Qt6.2 produce an uniserval binary, so delete macos-m1.yml.
* add Ad-Hoc code sign
2022-04-22 01:00:48 +08:00
xiaoyifang f6b3ba4ed7 change tts dictionary icon 2022-04-22 00:24:50 +08:00
xiaoyifang 4efbf6f166 optimize: invalid link should not pass to qt backend 2022-04-21 23:14:20 +08:00
xiaoyifang 43cf764d57 supplement some zh_CN translation 2022-04-21 23:14:20 +08:00
xiaoyifang f6c588ee7e fix: collapse function does not work expectedly.
the website dictionaries do not collapse as it will always treated as 0 .
the normal dictionaries html size is not correct calculated due to a qt bug https://bugreports.qt.io/browse/QTBUG-102757
2022-04-21 23:14:19 +08:00
xiaoyifang 43b2006d72 fix: in qt6.3 the devtools have a function called "Switch devtools to chinese" if the current system language is Chinese.
when click the button ,the actual request devtools:// was blocked by WebUrlRequestInterceptor
2022-04-20 20:25:27 +08:00
xiaoyifang ac7a70cea1 optimize log message with block request. 2022-04-20 00:40:41 +08:00
xiaoyifang eaf76fbcb6 clean code:remove useless code
the maximumwindowssize was only set value in the ~MainWindows() which means
it can not be saved into the config file.
2022-04-19 22:22:03 +08:00
xiaoyifang c7f7fde5e4 add qt6.2.4 as backup 2022-04-19 19:58:50 +08:00
xiaoyifang fc0b33181c clean code:remove mdx runnable 2022-04-18 22:23:48 +08:00
xiaoyifang c34bde252e fix:warning output should not print as address. 2022-04-18 22:21:42 +08:00
xiaoyifang 4d83fc567a bump staged version to 22.4.19-alpha 2022-04-18 22:15:07 +08:00
xiaoyifang d6810a89bd bump qt version to qt6.3 2022-04-18 20:23:28 +08:00
YiFang Xiao 376f0f1c62 fix: qt6.2 iframe can not access gdlookup built-in javascript
it throw CORS exception in the devtool console  windows.
2022-04-17 22:28:14 +08:00
YiFang Xiao 15702d860b fix:head lazy load 2022-04-17 21:05:57 +08:00
xiaoyifang 473c61724f add lazy loading to headwords dialog 2022-04-17 21:05:57 +08:00
YiFang Xiao 0ea3ad0149 fix:if the applciation has a very large icon ,the application will crash 2022-04-17 20:37:36 +08:00
YiFang Xiao a4c1e2793a feature:webp auto scale to reduce the size 2022-04-17 19:15:55 +08:00
YiFang Xiao 8bbcb72081 github: windows add qt6.3 support 2022-04-17 16:50:50 +08:00
YiFang Xiao c02d369690 add howto about github action's qt versions 2022-04-17 16:48:43 +08:00
xiaoyifang 86aa0b1ba4 clean code:remove dead code 2022-04-17 16:07:56 +08:00
xiaoyifang 8458bb9c0e
Update How to use ocr together with GoldenDict.md 2022-04-17 09:11:10 +08:00
xiaoyifang ad7242deae fix id replacement should consider the javascript reference also 2022-04-16 20:30:46 +08:00
xiaoyifang fcf0fec3ff fix: change html unescape to Html::unescape 2022-04-16 19:34:12 +08:00
xiaoyifang bd58c6c37d fix:qt6.2 QDomDocument attribute parse behaviour has changed
https://bugreports.qt.io/browse/QTBUG-102612

https://doc.qt.io/qt-6/xml-changes-qt6.html
Attribute values will be normalized. For example, <tag attr=" a \n b " /> is equivalent to <tag attr="a b"/>.
2022-04-16 18:26:58 +08:00
xiaoyifang 400d263e40 fix:mdx compact html ,the end close tag error
some mdx entry item has such item
`1`abc.jpg\r\n\u0000
when replaced with predefined tags. will result in
<a href="abc.jpg\r\n\u0000">****
2022-04-16 15:15:24 +08:00
xiaoyifang 03898a2123 disabled mac m1 for now,will be open when github offers sillicon version 2022-04-16 11:15:57 +08:00
ngn999 fe253fa5f0 update ffmpeg version in install_tool_name 2022-04-16 10:15:41 +08:00
xiaoyifang cf9c657f37 add version check ,high dpi support 2022-04-15 21:06:50 +08:00
xiaoyifang ed55ad0f56
Merge pull request #48 from ngn999/staged
libao: static link libmacosx.so plugin, fix #46
2022-04-15 10:06:43 +08:00
ngn999 bbc664bc6c libao: static link libmacosx.so plugin, fix #46
libao.dylib is universal library now
2022-04-15 09:50:40 +08:00
xiaoyifang 2864fdfe7f clean code:remove qt4 comment and remove old configure file 2022-04-15 08:19:22 +08:00
xiaoyifang 225d90b895 icon changed to transparent background 2022-04-14 23:32:03 +08:00
xiaoyifang b242a5b89c add request attribute
add followredirect and prefercache
2022-04-14 22:45:34 +08:00
xiaoyifang 9779b1d723 update wikitionary icon 2022-04-14 08:08:00 +08:00
xiaoyifang 753f07d3fd optimize:move getHostBase method to utils 2022-04-14 00:24:13 +08:00
xiaoyifang 0759259b76 Revert "optimize: for loop optimize"
This reverts commit 0e238c26fb.
2022-04-13 23:29:36 +08:00
xiaoyifang 2e6cf12d78 clean code: clang-tidy warning
.arg(A).arg(B) to .arg(A,B)
2022-04-11 19:10:40 +08:00
xiaoyifang 70b2f8f7d5 fix:unclosed tag caused the following dictionaries can not render correctly
<div/> was deemed as a start div tag ,same as <div>,which cause the following dictionaries can not rendered correctly
2022-04-10 20:40:09 +08:00
xiaoyifang 30ce781e6a Revert "improve:handle invalid tag soup improvement, related to old issue #271"
This reverts commit 37d22bc412.
2022-04-10 20:07:00 +08:00
xiaoyifang d12f070ee6
Merge pull request #45 from ngn999/staged
we can upload Apple Silicon version manually
2022-04-10 16:30:34 +08:00
ngn999 41eb472597 we can upload Apple Silicon version manually 2022-04-10 11:41:39 +08:00
xiaoyifang db04e69ca5 .gitignore add .qtc_clangd excluded folder 2022-04-10 09:36:03 +08:00
xiaoyifang 658af8525e fix:QSemphaore changes 2022-04-10 09:33:55 +08:00
xiaoyifang 6712e6cf96 github:tagname 2022-04-09 18:04:38 +08:00
xiaoyifang 9a565d583a
Merge pull request #43 from ngn999/staged
fix macOS package problem; it's a workaround, waiting for macdeploy fix
2022-04-09 17:38:49 +08:00
xiaoyifang 506c573c03 optimize:remove QSemphore in mdx dictionary 2022-04-09 15:41:33 +08:00
ngn999 e2425616a1 fix macOS package problem; it's a workaround, waiting for macdeploy fix 2022-04-09 15:38:31 +08:00
xiaoyifang 9f47332851 github:fix tag name error 2022-04-09 13:44:00 +08:00
xiaoyifang 92873418a6 Revert "fix: some zim dictionary can not parse correctly"
This reverts commit 7dae5186ab.
2022-04-08 23:21:29 +08:00